{"version":3,"file":"lottie2.mjs","sources":["../../../../../../packages/components/lottie/src/lottie.vue"],"sourcesContent":["<template>\n  <!-- <lottie-player\n    autoplay\n    loop\n    :src=\"src\"\n    :style=\"computedStyle\"\n    :class=\"[ns.b()]\"\n    data-test-name=\"lottie\"\n    data-test-variant=\"\"\n    data-test-state=\"\"\n  /> -->\n  <div>Deprecated component</div>\n</template>\n\n<script lang=\"ts\" setup>\n// import { computed } from 'vue'\n// import { isClient } from '@vueuse/core'\n// import { isNumber } from '@bigin/utils'\n// import { useNamespace } from '@bigin/hooks'\n// import { lottieProps } from './lottie'\n\n// isClient && import('@lottiefiles/lottie-player')\n\ndefineOptions({\n  name: 'BLottie',\n})\n\n// const props = defineProps(lottieProps)\n// const ns = useNamespace('lottie')\n// const computedStyle = computed(() => {\n//   const style = {} as { width?: string; height?: string }\n\n//   if (isNumber(props.width) && props.width > 0) style.width = `${props.width}px`\n//   if (isNumber(props.height) && props.height > 0)\n//     style.width = `${props.height}px`\n\n//   return style\n// })\n</script>\n"],"names":[],"mappings":";;;;mCAuBc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AACR,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;"}