{"version":3,"sources":["../src/components/Skeleton/Skeleton.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { SkeletonProps } from './Skeleton.types';\nimport { useSkeleton, useSkeletonContextValues } from './useSkeleton';\nimport { renderSkeleton } from './renderSkeleton';\n\n/**\n * A skeleton component for loading placeholders.\n */\nexport const Skeleton = React.forwardRef<HTMLDivElement, SkeletonProps>((props, ref) => {\n  const state = useSkeleton(props, ref);\n  const contextValues = useSkeletonContextValues(state);\n\n  return renderSkeleton(state, contextValues);\n});\n\nSkeleton.displayName = 'Skeleton';\n"],"names":["Skeleton","React","forwardRef","props","ref","state","useSkeleton","contextValues","useSkeletonContextValues","renderSkeleton","displayName"],"mappings":"AAAA;;;;;+BAUaA;;;eAAAA;;;;iEARU;6BAE+B;gCACvB;AAKxB,MAAMA,yBAAWC,OAAMC,UAAU,CAAgC,CAACC,OAAOC;IAC9E,MAAMC,QAAQC,IAAAA,wBAAW,EAACH,OAAOC;IACjC,MAAMG,gBAAgBC,IAAAA,qCAAwB,EAACH;IAE/C,OAAOI,IAAAA,8BAAc,EAACJ,OAAOE;AAC/B;AAEAP,SAASU,WAAW,GAAG"}