{"version":3,"file":"shared.BFBQF0AS.mjs","names":["i","r","o","y","e","l","u","x","a","p","c","f","t","s","n","g","index","cache","classNames","i","mix","k","isLength","isNumber","colors","_","s","M","y","R","v","q","j","b$1","u","Z","e","b","ce","N","F","U","C","W","m","S","g$1","p","A","x","O","$","w","h$1","a","f","K","r","n","g","t","o","c","i","z","J","l","l$1","u$1","d","L","a$1","k","P","D","H","I","te","x$1","le","r","l","d","e","a","p","x","r","e","n","o","t","i","l","e","e","e","e$1","l","r","e","i","t","o","r","n","h","n","s","e","o","i","p","x","n","i","s","e","t","o","g","le","a","j","r","i","o","a","p","e","lazy","i","g","memo","s","l","useMemo","a$1","j","v","forwardRef","r","t","c","Suspense","W","g","R","forwardRef","n","b","e","m$1","x","u","c","h","i","s","l","a","y","f","v$1","r","w","o","p","v","u","g","h","c","m$1","a","r","s","l","d","n","i","o","x","e","R","s","e","index","n","n","e","t","e","g","B","memo","forwardRef","r","e$1","s","o","t","m$1","a","i","n","e","l","z","k","t","o","r","l","i","c","m$1","u","d","a","x","p","N","g","n$1","n","s","s$1","B","N","g","y","forwardRef","s","t","c","u","d","i","f","o","n","m$1","l","a","r","p","k","i","e","t","c","n","n","x","l","e","o","a","r","t","i","d","g","u","s","e","j","a$1","t","l","m$1","c","n","v","a","x","g","m$1","a","p","e","o","r","l","b","j$1","y","I","v","u","D","k","f","c","h","z","i$1","R","i","j","S","w","B","s","n","z","g","o","r","i","m$1","a","c","d","u","x","f","e","p","useCallback","l","s$22","w","B","s","s$1","n","s$2","H","g","R","forwardRef","a","d","m$1","e","f","u","s","i","t","c","r","p","I","g","P","o","r","a","t","l","c","m$1","d","u","x","i","p","j","N","z","s$1","n","s","B","g","k","forwardRef","i","s","e","c","r","n","l","f","t","m$1","p","u","P$1","x","A","j","v","a","d","C","P","w","g","o","r","i","m$1","c","d","u","a","x","f","j","e","p","useCallback","l","s$22","B","y","s","s$1","n","s$2","b","g","z","forwardRef","a","i","d","o","s","f","u","c","t","m$1","l","e","n","r","g","a","s","e","useState","o","t","e","t","g","l","a","s","c","i","l","s","t","d","g","k","forwardRef","o","m$1","e","a","forwardRef","a$1","e","r","o","s","m$1","l","c","p","f","x","a","i","j","n","y","t","u","t$1","v","isValidElement","k","r","t","v","g","B","memo","forwardRef","i","n","e","r$1","c","u","o","l","r","i","g","memo","t","a","n","useCallback","r","o","B","B","memo","forwardRef","e","r$1","l","t","m$1","n","o","u","p","N","d","h$1","g","z","c","a$1","r","v","a","S","F","i$1","i","j","R","useReducer","useRef","useState","useCallback","useState","e","container","styles","e","container","styles","transition","y","styles","n","memo","useState","styles","index","e","container","styles","Fragment","styles","useMemo","now","style","e","container","styles","e","container","text","styles","Children","styles","index","e","i","message","css","React__default$1","isString","o","head","add","styles","index","isObject","classNames","toString","e","forwardRef","offset","buttonStyle","style","fill","forwardRef","useState","Children","styles","e","container","styles","styles","style","e","container","styles","styles","ShareIcon","i","r","o","g","a","s","n","w","r","e","m$1","n","s$1","t$1","a$1","s","t","v","React__default","_","k","forwardRef","a$12","o$1","l","u","I","f","i","j","a","N","o","x","y","x","v","computePosition","platform","i","x","y","getWindow","isElement","isHTMLElement","isShadowRoot","getComputedStyle","e","css","css","getComputedStyle","isHTMLElement","isElement","x","$","y","getWindow","cache","a","b","length","i","keys","useLatestRef","React.useRef","useFloating","React.useState","React.useCallback","React.useMemo","x","y","index","useLayoutEffect","x","e","a","b","i","container","i","React.useState","l","isElement","useRef","n","container","React.useMemo","root","React.useRef","React.useCallback","content","location","React.Fragment","e","useLayoutEffect","useEffect","React","React.useContext","a","g","r","g","a","i","n","createContext","S","useContext","e","R","s","o","r","e$1","i","t","S","a","useMemo","l","c","e","m","d","n","l","g","a","r","L","forwardRef","x","r","a","c","t","o","s","u","j","p","f","y","l$1","n","R","e","l","d","v","i","forwardRef","style","containerStyle","ReactDOM__default","styles","content","i","dialog","message","i","format","message","text","e","useIsomorphicLayoutEffect","useLayoutEffect","useEffect","useRef","useCallback","s","s","useRef","useMemo","useMemo","dialog","createWebShareData","useCallback","useState","R","L","useCallback","style","useState","useMemo","a","b","useMemo","re","i","patterns","MILLISECONDS_IN_HOUR","MILLISECONDS_IN_MINUTE","offset","getTimezoneOffsetInMilliseconds","toDate","offset","getTimezoneOffsetInMilliseconds","toDate","d","useCallback","useSyncExternalStore","useMemo","e","useCallback","useState","useMemo","styles","useCallback","Fragment","matches","useState","isMobile","useState","Fragment","buttonStyle","style","ShareIcon","__defProp","__defNormalProp","__publicField","handlers","useRef","useCallback","withStyle","classNames","button","useRef","forwardRef","containerStyle","style","forwardRef","useState","count","useRef","count","button","index","r","e","n","e","o","t","s","i","c","a","l","useMemo","r","L","e$1","t","i","r","s","S","n","useMemo","l","o","e","c","n","g","r","a","L","forwardRef","l","d","f","u","t","i$1","x","p","y","j","o","n","r","L$1","n$1","h","s","m$1","i","__defProp","__defNormalProp","__publicField","useState","Fragment","L","e","content","useState","i","lock","e","useMemo","childrenContainer","useRef","useState","useCallback","message","useCallback","useState","Fragment","R","useState","isWebview","useCallback","Fragment","R","isMobile","useState","useRef","Fragment","buttonStyle","style","e","childrenContainer","css","useStyles","useState","styles","style","css","isTabView","isWebview","isIos","e","css","useRef","useState","Fragment","createPortal","styles","css","TabBarItem","withStyle","hash","classNames","transition","withStyle","useRef","useState","useMemo","hash","getAbsoluteOffsetTop","index","classNames","style","TabBarItem","e","text","styles","progress","_","style","styles","e","container","styles","styles","style","r","g","b","withStyle","hash","classNames","useMemo","useCurrentUser","q","getAbsoluteOffsetTop","clamp","useState","useRef","useMeasure","useMemo","useCallback","index","hash","style","defaultOptions","defaultOptions","defaultOptions","offset","delimiter","localize","formatLong","format","count","index","index","defaultOptions","React__default","useRef","useMemo","style","y","k","z","R","now","e","useRef","useRef","useCallback","bottom","createContext","forwardRef","useRef","style","useContext","forwardRef","e","length","index","index","index","index","length","entries","hasOwnProperty","symToStringTag","e","nativeObjectToString","objectProto","objectToString","objectToString","funcTag","funcToString","e","objectProto","hasOwnProperty","Map","HASH_UNDEFINED","hasOwnProperty","hasOwnProperty","HASH_UNDEFINED","index","length","entries","Map","index","length","entries","Map","entries","Uint8Array","objectProto","argsTag","hasOwnProperty","propertyIsEnumerable","MAX_SAFE_INTEGER","freeExports","freeModule","argsTag","arrayTag","boolTag","dateTag","errorTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","weakMapTag","arrayBufferTag","dataViewTag","e","index","n","length","length","hasOwnProperty","hasOwnProperty","index","length","index","length","offset","Set","WeakMap","mapTag","objectTag","setTag","dataViewTag","Map","Set","WeakMap","containerStyles","emptyStateStyle","useRef","init","useMemo","useMemo","useMemo","containerStyle","content","M","o","s","c","i","n","e$1","S","l","useMemo","a","t","e","r","m","F","r","g","a","k","q","forwardRef","c","m$1","o","r$1","n","a","p","x","u","f","y","l","g","i","s","M","e","r","h","j","R","forwardRef","useRef","timeoutId","q","useState","Fragment","e","animate","styles","styles","content","x","y","index","useRef","index","symbolTag","index","length","index","length","cache","COMPARE_PARTIAL_FLAG","index","COMPARE_UNORDERED_FLAG","index","index","Uint8Array","COMPARE_PARTIAL_FLAG","symbolProto","COMPARE_PARTIAL_FLAG","index","hasOwnProperty","getTag","x","y","useRef","useCallback","handleScroll","style","getSourceParams","useRef","useRef","useCallback","bottom","useCallback","useRef","handleScroll","useCallback","e","useRef","useRef","useTrackScrollContent","useRef","getViewportBottomPosition","getScrollDirection","handleScroll","useCallback","Fragment","useRef","useCallback","toIntegerString","handleScroll","Fragment","useState","toDate","now","text","useState","isMobile","containerStyle","closeButtonStyle","DEBUG_BUILD","isErrorEvent","isString","WINDOW","isString","c","k","i","console","DEBUG_BUILD","max","i","e","delimiter","isString","patterns","keys","crypto","_","c","message","e","performance","message","withScope","e","a","b","p","i","frame","e","e","message","isErrorEvent","keys","index","i","isString","matches","i","frame","b","wrap","isFunction","wrapper","e","match","DEBUG_BUILD","e","offset","e","e","message","env","count","DEBUG_BUILD","isError","message","addHandler","handlers","instrumented","e","triggerHandlers","WINDOW","WINDOW","triggerHandlers","handlers","e","WINDOW","isString","e","WINDOW","e","WINDOW","match","e","INTEGRATION_NAME","wrap","e","INTEGRATION_NAME","e","e","isString","INTEGRATION_NAME","i","INTEGRATION_NAME","frame","add","now","DEBUG_BUILD","WINDOW","document","e","e","DEBUG_BUILD","_shouldDropEvent","message","i","frame","INTEGRATION_NAME","INTEGRATION_NAME","i","k","e","DEBUG_BUILD","a","b","shouldAttachHeaders","WINDOW","WINDOW","po","e","WINDOW","WINDOW","WINDOW","po","po","po","e","b","a","i","WINDOW","WINDOW","po","entries","po","WINDOW","WINDOW","e","index","WINDOW","e","_","message","performance","entries","WINDOW","navigator","index","DEBUG_BUILD","e","Fragment","useState","l","a","r","t","o","n","i","r","t","e","u","d","M","a","h.useContext","p","i","n","h.useMemo","D","o","W","N","f","s","b","k","H","R","S","j","G","P","m","I","h.useRef","L","h.useId","c","l","useState","useState","cycleOrder","serializationHash","variantClassNames","Transition","React.useContext","transition","React.useMemo","React.Fragment","getProps","createLayoutDependency","variants","React.useRef","React.useId","classNames","style","SVG","RichText","useMemo","SrcType","style","v","useRef","useCallback","animate","getProps","useRef","isSafari","useMemo","useCallback","progress","e","useState","y","variants","React.useContext","transition","React.useMemo","React.useRef","React.useId","classNames","style","RichText","React.Fragment","SVG","Bootstrap","_Fragment","BaseBootstrap","AppInstallBanner","WebGNB","HeroBanner","e","t","u","a","s","n","o","r","c","t","e","i","n","r","n","e","t","o","n","e","t","a","n","e","r","t","s","o","c","i","h","u","d","f","l","g","m","p","M","n","e","t","o","a","i","s","r","A","c","l","f","u","d","O","g","m","q","j","x","V","se","b","isCanvas","Children","useRef","useMemo","useState","useCallback","isRTL","startTransition","transition","index","offset","i","containerStyle","style","min","max","Dot","bottom","buttonStyle","dotStyle","index","length","index","length","deburrLetter","index","useRef","getLayoutVariant","e","index"],"sources":["https:/asset.29cm.co.kr/contents/framer/utils/event-properties/content.js","https:/asset.29cm.co.kr/contents/framer/components/canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/component-id.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tailwind-variants/dist/chunk-JXBJZR5A.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tailwind-merge/dist/bundle-mjs.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tailwind-variants/dist/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/color.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/radius.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/screens.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/space.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/_virtual/_commonjsHelpers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/_virtual/default-theme.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.5.0/node_modules/tailwindcss/defaultTheme.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/typography.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/zIndex.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind/theme.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/configs/tailwind-variants/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/loader.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Icon/Icon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCardInfo.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/icon/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/utils/mapIconName.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/utils/normalizeImageBadges.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Badge/Badge.styles.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Badge/Badge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactPreuserProductCard/CompactPreuserCardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactPreuserProductCard/CompactPreuserProductCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/utils/src/numbers/commaizeNumber.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ColorChip.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/OptionFee.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCardInfo.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactProductCard/CompactCardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/CompactProductCard/CompactProductCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/CardPreview.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCard.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCard.styles.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/hooks/usePressedState.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Icon/Icon.types.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/IconButton/IconButton.variant.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Spinner/Spinner.types.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Spinner/Spinner.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/IconButton/IconButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/packages/contexts/common/utils/src/numbers/unitizeNumber.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/LikeCountButton/LikeCountButton.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCardPostfix.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCard.js","https:/asset.29cm.co.kr/contents/framer/hooks/useVisibilityAwareTimer.js","https:/asset.29cm.co.kr/contents/framer/hooks/usePageVisibility.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingNumber.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingValue.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingValue.js","https:/asset.29cm.co.kr/contents/framer/components/systems/RollingNumber/RollingNumber.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Countdown/Countdown.module.css.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/getRoundingMethod.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInMilliseconds.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInSeconds.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Countdown/Countdown.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Expandable/Expandable.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Placeholder/Placeholder.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Placeholder/Placeholder.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Button/Button.types.js","https:/asset.29cm.co.kr/contents/framer/_virtual/index3.js","https:/asset.29cm.co.kr/contents/framer/node_modules/styled-jsx/dist/index/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/styled-jsx/style.js","https:/asset.29cm.co.kr/contents/framer/styles/colors.js","https:/asset.29cm.co.kr/contents/framer/utils/clsx.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Spinner/Spinner.types.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Spinner/Spinner.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Button/Button.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Expandable/Expandable.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ScrollProgressBar/ScrollProgressBar.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ScrollProgressBar/ScrollProgressBar.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FixedScrollProgressBar/FixedScrollProgressBar.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FixedScrollProgressBar/FixedScrollProgressBar.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareIcon.js","https:/asset.29cm.co.kr/contents/framer/hooks/useBottomSheet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Button/Button.variant.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Button/Button.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/core/dist/floating-ui.core.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/dom/dist/floating-ui.dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/aria-hidden/dist/es2015/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/tabbable/dist/index.esm.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/styles/layer.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/styles/dialog.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/contexts/RulerStackContext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/contexts/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.js","https:/asset.29cm.co.kr/contents/framer/components/ruler/Badge/Badge.constants.js","https:/asset.29cm.co.kr/contents/framer/components/ruler/Badge/Badge.utils.js","https:/asset.29cm.co.kr/contents/framer/components/ruler/Badge/Badge.js","https:/asset.29cm.co.kr/contents/framer/utils/image/getImageUrl.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/PreviewCard.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/RadioIndicator.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Portal/Portal.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Dialog/Dialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Dialog/Dialog.js","https:/asset.29cm.co.kr/contents/framer/node_modules/zustand/esm/shallow.js","https:/asset.29cm.co.kr/contents/framer/containers/DialogContainer/DialogContainer.hooks.js","https:/asset.29cm.co.kr/contents/framer/containers/DialogContainer/DialogContainer.js","https:/asset.29cm.co.kr/contents/framer/utils/sendAppSchemeMessage.js","https:/asset.29cm.co.kr/contents/framer/hooks/useDialog.js","https:/asset.29cm.co.kr/contents/framer/hooks/useToast.js","https:/asset.29cm.co.kr/contents/framer/apis/onelink/OnelinkAPIService.js","https:/asset.29cm.co.kr/contents/framer/utils/share/appshare.js","https:/asset.29cm.co.kr/contents/framer/node_modules/toggle-selection/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/copy-to-clipboard/index.js","https:/asset.29cm.co.kr/contents/framer/utils/share/webshare.js","https:/asset.29cm.co.kr/contents/framer/utils/share/isShareInternalLinkAvailable.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchRewardKey.js","https:/asset.29cm.co.kr/contents/framer/libs/services/kakao/KakaoService.js","https:/asset.29cm.co.kr/contents/framer/constants/eventName.js","https:/asset.29cm.co.kr/contents/framer/constants/snowplow/snowplowSchema.js","https:/asset.29cm.co.kr/contents/framer/hooks/react/useIsomorphicLayoutEffect.js","https:/asset.29cm.co.kr/contents/framer/hooks/useEventCallback.js","https:/asset.29cm.co.kr/contents/framer/utils/getSeriesPath.js","https:/asset.29cm.co.kr/contents/framer/hooks/snowplow/useTrackSnowplowEvent.utils.js","https:/asset.29cm.co.kr/contents/framer/utils/getSearchParamsObject.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/addAdCodeToProperties.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/addExperimentDataProperties.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/subTab.js","https:/asset.29cm.co.kr/contents/framer/hooks/snowplow/useTrackSnowplowEvent.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.fashionWeekBonusPolicy.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/ShareTypeSelector.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/ShareTypeSelectorView.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareTypeSelector/ShareTypeSelectorBottomSheet.hooks.js","https:/asset.29cm.co.kr/contents/framer/styles/getStyle.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/factory/createBreakpoint.js","https:/asset.29cm.co.kr/contents/framer/styles/createUseStyle.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@date-fns/utc/date/mini.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@date-fns/utc/date/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/toDate/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js","https:/asset.29cm.co.kr/contents/framer/utils/createUTCDate.js","https:/asset.29cm.co.kr/contents/framer/utils/storage/local-storage.js","https:/asset.29cm.co.kr/contents/framer/hooks/useLocalStorage.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.js","https:/asset.29cm.co.kr/contents/framer/hooks/useScriptInjection.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareSection/kakao-script-injector/KakaoScriptInjector.js","https:/asset.29cm.co.kr/contents/framer/hooks/useMediaQuery.js","https:/asset.29cm.co.kr/contents/framer/hooks/useIsMobileDevice.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js","https:/asset.29cm.co.kr/contents/framer/utils/filterMap.js","https:/asset.29cm.co.kr/contents/framer/utils/splitToNumberArray.js","https:/asset.29cm.co.kr/contents/framer/utils/event-emitter/event-emitter.js","https:/asset.29cm.co.kr/contents/framer/utils/event-emitter/product-event-emitter.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useSendProductIds.js","https:/asset.29cm.co.kr/contents/framer/apis/product/ProductApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchHeartProductList.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useProductGroupHeart.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.types.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/Products.type.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/ProductsLayout/ProductsLayout.js","https:/asset.29cm.co.kr/contents/framer/hooks/events/useTrackClickButtonContentEvent.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/ExpandButton/ExpandButton.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Intersection/Intersection.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Skeleton/Skeleton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/ProductLoading/ProductLoading.js","https:/asset.29cm.co.kr/contents/framer/apis/framer/FramerApiService.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchProductList.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/Products.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/Products/Products.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/utils/generateUUID.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/hooks/useEffectDisableScroll.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.hooks.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.js","https:/asset.29cm.co.kr/contents/framer/containers/AlertDialogContainer/AlertDialogContainer.js","https:/asset.29cm.co.kr/contents/framer/hooks/useRedirectLoginDialog.js","https:/asset.29cm.co.kr/contents/framer/hooks/useShowSelectionEntryPoint.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/HeartIcon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isPast.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.utils.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/product.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/head.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInHours.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useEvent.js","https:/asset.29cm.co.kr/contents/framer/hooks/product/useProductHeart.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/global-scene-stack/global-scene-stack.types.js","https:/asset.29cm.co.kr/contents/framer/hooks/stores/global-scene-stack/global-scene-stack.store.js","https:/asset.29cm.co.kr/contents/framer/node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js","https:/asset.29cm.co.kr/contents/framer/hooks/useBodyScrollLock.js","https:/asset.29cm.co.kr/contents/framer/hooks/useGlobalSceneStack.js","https:/asset.29cm.co.kr/contents/framer/hooks/useTargetAppVersion.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/bottom-sheets/BottomSheet/BottomSheet.js","https:/asset.29cm.co.kr/contents/framer/hooks/useDeviceInfo.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareButton.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareButton.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareIcon.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchTasteSharingActiveProgram.js","https:/asset.29cm.co.kr/contents/framer/hooks/mutations/useRewardVisitMutation.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/hooks/useRewardVisitErrorHandler.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/hooks/useRemoveRewardKey.js","https:/asset.29cm.co.kr/contents/framer/hooks/useIsMounted.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/tooltip/LoginTooltip.js","https:/asset.29cm.co.kr/contents/framer/hooks/useIsWebview.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/hooks/useNavigateToEventHub.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/tooltip/MileageTooltip.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/tooltip/Tooltip.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useMyRewards.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/utils/getMileageText.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ReferralEventRewardHandler/ReferralEventRewardHandler.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ShareButton/ShareButton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitView/ResponsiveSplitView.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitView/styles.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitView/ResponsiveSplitView.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBar/TabBarItem.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBar/TabBar.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TimeProgressBar/TimeProgressBar.module.css.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInMinutes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfDay.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInCalendarDays.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TimeProgressBar/TimeProgressBar.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ViewportContainer/ViewportContainer.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ViewportContainer/ViewportContainer.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/TabBarV3.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/TabBarItem.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useCategoryNewBuyerCoupons.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/useTabBarSegments.js","https:/asset.29cm.co.kr/contents/framer/components/systems/TabBarV3/TabBarV3.js","https:/asset.29cm.co.kr/contents/framer/utils/moloco-tracker.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.styles.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/differenceInDays.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/defaultOptions.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/constructFrom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getDayOfYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfISOWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getISOWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfISOWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getISOWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/startOfWeekYear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/getWeek.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/addLeadingZeros.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/format/lightFormatters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/format/formatters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/format/longFormatters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/_lib/protectedTokens.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/formatDistance.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildFormatLongFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/formatLong.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/formatRelative.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildLocalizeFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/localize.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildMatchFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US/_lib/match.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/locale/en-US.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/format.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCard/ProductCard.js","https:/asset.29cm.co.kr/contents/framer/hooks/useReceiveMessage.js","https:/asset.29cm.co.kr/contents/framer/hooks/useUpdatedRef.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWindowEventListener.js","https:/asset.29cm.co.kr/contents/framer/hooks/useInViewport.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/Root.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/Target.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/EventTrigger/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/isAfter.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/addDays.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/addMonths.js","https:/asset.29cm.co.kr/contents/framer/types/models/coupon.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/eq.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_assocIndexOf.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_listCacheSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_ListCache.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_freeGlobal.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_root.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Symbol.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getRawTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_objectToString.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseGetTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isFunction.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_coreJsData.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isMasked.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_toSource.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsNative.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getValue.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getNative.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Map.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nativeCreate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hashSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Hash.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheClear.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isKeyable.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getMapData.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheDelete.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapCacheSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_MapCache.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_stackSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Stack.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Uint8Array.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_overArg.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isPrototype.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isObjectLike.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsArguments.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArguments.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isLength.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArrayLike.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/stubFalse.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isBuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsTypedArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseUnary.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nodeUtil.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isTypedArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseTimes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isIndex.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayLikeKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nativeKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/keys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayFilter.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/stubArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getSymbols.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayPush.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseGetAllKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getAllKeys.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_DataView.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Promise.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_Set.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_WeakMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getTag.js","https:/framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js","https:/framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js","https:/framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js","https:/framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js","https:/framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js","https:/framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js","https:/framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js","https:/framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js","https:/framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js","https:/framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js","https:/framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js","https:/framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js","https:/framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js","https:/framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js","https:/framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js","https:/framer.com/m/framer/default-utils.js@^0.45.0","https:/asset.29cm.co.kr/contents/framer/components/systems/FloatingShareButton/FloatingShareButton.js","https:/asset.29cm.co.kr/contents/framer/containers/BottomSheetContainer/BottomSheetContainer.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/UIManager.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.hooks.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.style.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/AppCompatBottomSheet.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/ui.js","https:/asset.29cm.co.kr/contents/framer/containers/UIContainer/UIContainer.js","https:/asset.29cm.co.kr/contents/framer/containers/ToastContainer/ToastContainer.module.css.js","https:/asset.29cm.co.kr/contents/framer/containers/ToastContainer/ToastContainer.js","https:/asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchFramerContentIdCollection.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.constants.js","https:/asset.29cm.co.kr/contents/framer/utils/deduplicate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/usePrevious.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/now.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_trimmedEndIndex.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseTrim.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isSymbol.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/toNumber.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/debounce.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_setCacheAdd.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_setCacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_SetCache.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arraySome.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cacheHas.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_equalArrays.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_mapToArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_setToArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_equalByTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_equalObjects.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsEqualDeep.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsEqual.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isEqual.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.hooks.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/reward.js","https:/asset.29cm.co.kr/contents/framer/utils/event-properties/parseViewAttribution.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/hooks/useOverHalfInView.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWindowScrollEndEventListener.js","https:/asset.29cm.co.kr/contents/framer/hooks/useWindowScrollStartEventListener.js","https:/asset.29cm.co.kr/contents/framer/hooks/useElementsRefById.js","https:/asset.29cm.co.kr/contents/framer/node_modules/react-use/esm/useInterval.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/advanced-reading-index-tracker/AdvancedReadingIndexTracker.hooks.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/advanced-reading-index-tracker/AdvancedReadingIndexTracker.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/reading-index-tracker/ReadingIndexTracker.hooks.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/reading-index-tracker/ReadingIndexTracker.js","https:/asset.29cm.co.kr/contents/framer/utils/analytics/firebase.js","https:/asset.29cm.co.kr/contents/framer/hooks/analytics/braze/useInitBrazeCDN.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js","https:/asset.29cm.co.kr/contents/framer/utils/date-helpers/createUTCFromKST.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/CampaignBanner.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/Title.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/CampaignBanner.hooks.event.js","https:/asset.29cm.co.kr/contents/framer/node_modules/date-fns/add.js","https:/asset.29cm.co.kr/contents/framer/components/systems/CampaignBanner/CampaignBanner.js","https:/asset.29cm.co.kr/contents/framer/constants/sentry.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/debug-build.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/is.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/worldwide.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/browser.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/version.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/carrier.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/logger.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/string.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/object.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/misc.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/syncpromise.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/time.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/session.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/merge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/spanOnScope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/propagationContext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/scope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/defaultScopes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/asyncContext/index.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/currentScopes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/stacktrace.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/normalize.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/eventbuilder.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/constants.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/eventProcessors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/debug-ids.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/semanticAttributes.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/spanstatus.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/baggage.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/tracing.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/spanUtils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/applyScopeDataToEvent.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/prepareEvent.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/exports.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/helpers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/api.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/dsn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/envelope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/envelope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integration.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/eventUtils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/transactionEvent.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/clientreport.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/client.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/logs/envelope.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/logs/exports.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/ipAddress.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/env.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/client.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/debug-build.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/handlers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/console.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/types.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/instrument/dom.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/supports.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/fetch.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/breadcrumbs.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/url.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/severity.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/breadcrumb-log-level.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/breadcrumbs.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/browserapierrors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/browsersession.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/globalError.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/instrument/globalUnhandledRejection.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/globalhandlers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/httpcontext.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/aggregate-errors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/integrations/linkederrors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/stack-parsers.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/promisebuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils-hoist/ratelimit.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/transports/base.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/transports/fetch.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/sdk.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integrations/eventFilters.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integrations/functiontostring.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/integrations/dedupe.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/sdk.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/backgroundtab.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/linkedTraces.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/logSpans.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/sampling.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/measurement.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/sentrySpan.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/trace.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/utils/traceData.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/fetch.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/bindReporter.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/generateUniqueID.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getNavigationEntry.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getActivationStart.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/initMetric.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/observe.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/onHidden.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/runOnce.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/getVisibilityWatcher.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/whenActivated.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onFCP.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getCLS.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getFID.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/polyfills/interactionCountPolyfill.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/interactions.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/lib/whenIdle.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getINP.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/getLCP.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/web-vitals/onTTFB.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/instrument.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/utils.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/request.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/errors.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/cls.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/browserMetrics.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry-internal/browser-utils/build/esm/metrics/inp.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/core/build/esm/tracing/idleSpan.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@sentry/browser/build/npm/esm/tracing/browserTracingIntegration.js","https:/asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.js","https:/asset.29cm.co.kr/contents/framer/hooks/useAppInstallBannerVisibility.js","https:/asset.29cm.co.kr/contents/framer/hooks/useInitializeNaverEp.js","https:/framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/zdn5ZLCHnFZkH6Ccx1mf/WithLazyRender.js","https:/framerusercontent.com/modules/I9ht8jBctZPguy6Qpt3k/80nWBjrnJFW0OScYfNAq/S9Dp38YA7.js","https:/framer.com/m/WebGNB-JO9I.js@80nWBjrnJFW0OScYfNAq","https:/framerusercontent.com/modules/ssKC8GEyZlkclfUGHZyl/gNceh1KRgTXQeqQBanCM/WithAppInstallBanner.js","https:/framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/eBrIazCWGkDFwPLmboSh/WithLazyRender.js","https:/framerusercontent.com/modules/mFtD9hXCAxZQTFQaZ4zU/fflPj6Y0Jus27koQKuvo/BlNtXYaR7.js","https:/framer.com/m/AppInstallBanner-X61X.js@fflPj6Y0Jus27koQKuvo","https:/framerusercontent.com/modules/DyldKav0OOAWR3bCAlhK/8c3l9FzyOlGpbPncYhfc/nullstate.js","https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/IQXqjAGXltPKLdfjcdtf/AdYVRfUvx2HLE5qL3Xfw/Logo.js","https:/framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/TbXI1XaZFNevVKcgIt7G/isMotionValue.js","https:/framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/V4SPg9g59hF1vFH3ZTF0/useAutoMotionValue.js","https:/framer.com/m/framer/useAutoMotionValue.js@^0.3.0","https:/framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/0jtlswBvrookcx7EpjBD/Video.js","https:/framerusercontent.com/modules/fJRNYRZQGLBX4YACgYdl/FPpfmWGuWkaGvvOrXms8/FadeInOut.js","https:/framerusercontent.com/modules/QY4tN3egvv4KYUbynXBs/2SxLPQguTLcxRLtMlKhD/HeroBannerBlur.js","https:/framerusercontent.com/modules/aaRHInB5Hb8uvFjxVMtg/4mHBDtH2gTLemCxxmPRx/sXEZN54Hy.js","https:/framer.com/m/HeroBanner-2wn4.js@4mHBDtH2gTLemCxxmPRx","https:/framerusercontent.com/modules/SJt6X3sESKF8jfod5SiW/59mQHygyjkGhRYLnsiIN/Bootstrap.js","https:/ga.jspm.io/npm:@motionone/utils@10.14.0/dist/index.es.js","https:/ga.jspm.io/npm:@motionone/easing@10.12.0/dist/index.es.js","https:/ga.jspm.io/npm:@motionone/animation@10.12.0/dist/index.es.js","https:/ga.jspm.io/npm:tslib@2.4.0/tslib.es6.js","https:/ga.jspm.io/npm:hey-listen@1.0.8/dist/index.js","https:/ga.jspm.io/npm:@motionone/generators@10.12.0/dist/index.es.js","https:/ga.jspm.io/npm:@motionone/dom@10.12.0/dist/index.es.js","https:/framerusercontent.com/modules/zvkTOpMSuRzRhLzZZIwG/yCImoe7N6FDrwtjU8MPe/SlideShow.js","https:/asset.29cm.co.kr/contents/framer/types/product.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ProductGroupItem/__mocks__/ProductGroupItem.mocks.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayReduce.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_basePropertyOf.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_deburrLetter.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseToString.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/toString.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/deburr.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_asciiWords.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_hasUnicodeWord.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_unicodeWords.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/words.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_createCompounder.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/kebabCase.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ProductGroupItem/ProductGroupItem.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ProductGroupItem/ProductGroupItem.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ProductGroupItem/ProductGroupItemLoading.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ProductGroup/ProductGroup.module.css.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ProductGroup/ProductGroup.js","https:/asset.29cm.co.kr/contents/framer/components/systems/ProductGroup/index.js"],"sourcesContent":["import { useContentStore } from \"../../hooks/stores/content/content.store.js\";\nimport { isTabView } from \"../custom-tab/isTabView.js\";\nconst createContentEventProperties = () => {\n  const {\n    summary\n  } = useContentStore.getState();\n  const {\n    title,\n    contentId,\n    series\n  } = summary;\n  return {\n    content_no: contentId,\n    content_title: title,\n    source: series,\n    curr_screen: isTabView() ? \"home_main\" : \"content\",\n    format_type: \"FRAMER\"\n  };\n};\nexport {\n  createContentEventProperties\n};\n","import { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { createContentEventProperties } from \"../../../utils/event-properties/content.js\";\nconst useTrackClickComponent = () => {\n  const {\n    trackAmplitude,\n    trackFirebase\n  } = useAnalytics();\n  const trackClickComponent = (component, extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      component,\n      ...extra\n    };\n    trackAmplitude(\"click_component_content\", properties);\n    trackFirebase(\"click_component_content\", properties);\n  };\n  return {\n    trackClickComponent\n  };\n};\nconst useTrackViewComponent = () => {\n  const {\n    trackAmplitude,\n    trackFirebase\n  } = useAnalytics();\n  const trackViewComponent = (component, extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      component,\n      ...extra\n    };\n    trackAmplitude(\"view_component_content\", properties);\n    trackFirebase(\"view_component_content\", properties);\n  };\n  return {\n    trackViewComponent\n  };\n};\nexport {\n  useTrackClickComponent,\n  useTrackViewComponent\n};\n","import { ControlType } from \"framer\";\nconst COMPONENT_ID_PROPS = {\n  componentId: {\n    type: ControlType.String,\n    title: \"컴포넌트 ID\",\n    description: \"이벤트 수집 시에 모듈을 구분하기 위한 값\\nex. 29welcoming\",\n    defaultValue: \"\"\n  }\n};\nexport {\n  COMPONENT_ID_PROPS\n};\n","var l = (e) => typeof e == \"boolean\" ? `${e}` : e === 0 ? \"0\" : e, u = (e) => !e || typeof e != \"object\" || Object.keys(e).length === 0, x = (e, o) => JSON.stringify(e) === JSON.stringify(o);\nfunction i(e, o) {\n  e.forEach(function(r) {\n    Array.isArray(r) ? i(r, o) : o.push(r);\n  });\n}\nfunction y(e) {\n  let o = [];\n  return i(e, o), o;\n}\nvar a = (...e) => y(e).filter(Boolean), p = (e, o) => {\n  let r = {}, c = Object.keys(e), f = Object.keys(o);\n  for (let t of c)\n    if (f.includes(t)) {\n      let s = e[t], n = o[t];\n      typeof s == \"object\" && typeof n == \"object\" ? r[t] = p(s, n) : Array.isArray(s) || Array.isArray(n) ? r[t] = a(n, s) : r[t] = n + \" \" + s;\n    } else\n      r[t] = e[t];\n  for (let t of f)\n    c.includes(t) || (r[t] = o[t]);\n  return r;\n}, g = (e) => !e || typeof e != \"string\" ? e : e.replace(/\\s+/g, \" \").trim();\nexport {\n  l as a,\n  u as b,\n  x as c,\n  y as e,\n  a as f,\n  p as g,\n  g as h\n};\n","const CLASS_PART_SEPARATOR = \"-\";\nconst createClassGroupUtils = (config) => {\n  const classMap = createClassMap(config);\n  const {\n    conflictingClassGroups,\n    conflictingClassGroupModifiers\n  } = config;\n  const getClassGroupId = (className) => {\n    const classParts = className.split(CLASS_PART_SEPARATOR);\n    if (classParts[0] === \"\" && classParts.length !== 1) {\n      classParts.shift();\n    }\n    return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);\n  };\n  const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {\n    const conflicts = conflictingClassGroups[classGroupId] || [];\n    if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {\n      return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];\n    }\n    return conflicts;\n  };\n  return {\n    getClassGroupId,\n    getConflictingClassGroupIds\n  };\n};\nconst getGroupRecursive = (classParts, classPartObject) => {\n  var _a;\n  if (classParts.length === 0) {\n    return classPartObject.classGroupId;\n  }\n  const currentClassPart = classParts[0];\n  const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);\n  const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;\n  if (classGroupFromNextClassPart) {\n    return classGroupFromNextClassPart;\n  }\n  if (classPartObject.validators.length === 0) {\n    return void 0;\n  }\n  const classRest = classParts.join(CLASS_PART_SEPARATOR);\n  return (_a = classPartObject.validators.find(({\n    validator\n  }) => validator(classRest))) == null ? void 0 : _a.classGroupId;\n};\nconst arbitraryPropertyRegex = /^\\[(.+)\\]$/;\nconst getGroupIdForArbitraryProperty = (className) => {\n  if (arbitraryPropertyRegex.test(className)) {\n    const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];\n    const property = arbitraryPropertyClassName == null ? void 0 : arbitraryPropertyClassName.substring(0, arbitraryPropertyClassName.indexOf(\":\"));\n    if (property) {\n      return \"arbitrary..\" + property;\n    }\n  }\n};\nconst createClassMap = (config) => {\n  const {\n    theme,\n    prefix\n  } = config;\n  const classMap = {\n    nextPart: /* @__PURE__ */ new Map(),\n    validators: []\n  };\n  const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);\n  prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {\n    processClassesRecursively(classGroup, classMap, classGroupId, theme);\n  });\n  return classMap;\n};\nconst processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {\n  classGroup.forEach((classDefinition) => {\n    if (typeof classDefinition === \"string\") {\n      const classPartObjectToEdit = classDefinition === \"\" ? classPartObject : getPart(classPartObject, classDefinition);\n      classPartObjectToEdit.classGroupId = classGroupId;\n      return;\n    }\n    if (typeof classDefinition === \"function\") {\n      if (isThemeGetter(classDefinition)) {\n        processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);\n        return;\n      }\n      classPartObject.validators.push({\n        validator: classDefinition,\n        classGroupId\n      });\n      return;\n    }\n    Object.entries(classDefinition).forEach(([key, classGroup2]) => {\n      processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);\n    });\n  });\n};\nconst getPart = (classPartObject, path) => {\n  let currentClassPartObject = classPartObject;\n  path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {\n    if (!currentClassPartObject.nextPart.has(pathPart)) {\n      currentClassPartObject.nextPart.set(pathPart, {\n        nextPart: /* @__PURE__ */ new Map(),\n        validators: []\n      });\n    }\n    currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);\n  });\n  return currentClassPartObject;\n};\nconst isThemeGetter = (func) => func.isThemeGetter;\nconst getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {\n  if (!prefix) {\n    return classGroupEntries;\n  }\n  return classGroupEntries.map(([classGroupId, classGroup]) => {\n    const prefixedClassGroup = classGroup.map((classDefinition) => {\n      if (typeof classDefinition === \"string\") {\n        return prefix + classDefinition;\n      }\n      if (typeof classDefinition === \"object\") {\n        return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));\n      }\n      return classDefinition;\n    });\n    return [classGroupId, prefixedClassGroup];\n  });\n};\nconst createLruCache = (maxCacheSize) => {\n  if (maxCacheSize < 1) {\n    return {\n      get: () => void 0,\n      set: () => {\n      }\n    };\n  }\n  let cacheSize = 0;\n  let cache = /* @__PURE__ */ new Map();\n  let previousCache = /* @__PURE__ */ new Map();\n  const update = (key, value) => {\n    cache.set(key, value);\n    cacheSize++;\n    if (cacheSize > maxCacheSize) {\n      cacheSize = 0;\n      previousCache = cache;\n      cache = /* @__PURE__ */ new Map();\n    }\n  };\n  return {\n    get(key) {\n      let value = cache.get(key);\n      if (value !== void 0) {\n        return value;\n      }\n      if ((value = previousCache.get(key)) !== void 0) {\n        update(key, value);\n        return value;\n      }\n    },\n    set(key, value) {\n      if (cache.has(key)) {\n        cache.set(key, value);\n      } else {\n        update(key, value);\n      }\n    }\n  };\n};\nconst IMPORTANT_MODIFIER = \"!\";\nconst createParseClassName = (config) => {\n  const {\n    separator,\n    experimentalParseClassName\n  } = config;\n  const isSeparatorSingleCharacter = separator.length === 1;\n  const firstSeparatorCharacter = separator[0];\n  const separatorLength = separator.length;\n  const parseClassName = (className) => {\n    const modifiers = [];\n    let bracketDepth = 0;\n    let modifierStart = 0;\n    let postfixModifierPosition;\n    for (let index = 0; index < className.length; index++) {\n      let currentCharacter = className[index];\n      if (bracketDepth === 0) {\n        if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {\n          modifiers.push(className.slice(modifierStart, index));\n          modifierStart = index + separatorLength;\n          continue;\n        }\n        if (currentCharacter === \"/\") {\n          postfixModifierPosition = index;\n          continue;\n        }\n      }\n      if (currentCharacter === \"[\") {\n        bracketDepth++;\n      } else if (currentCharacter === \"]\") {\n        bracketDepth--;\n      }\n    }\n    const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);\n    const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);\n    const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;\n    const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;\n    return {\n      modifiers,\n      hasImportantModifier,\n      baseClassName,\n      maybePostfixModifierPosition\n    };\n  };\n  if (experimentalParseClassName) {\n    return (className) => experimentalParseClassName({\n      className,\n      parseClassName\n    });\n  }\n  return parseClassName;\n};\nconst sortModifiers = (modifiers) => {\n  if (modifiers.length <= 1) {\n    return modifiers;\n  }\n  const sortedModifiers = [];\n  let unsortedModifiers = [];\n  modifiers.forEach((modifier) => {\n    const isArbitraryVariant = modifier[0] === \"[\";\n    if (isArbitraryVariant) {\n      sortedModifiers.push(...unsortedModifiers.sort(), modifier);\n      unsortedModifiers = [];\n    } else {\n      unsortedModifiers.push(modifier);\n    }\n  });\n  sortedModifiers.push(...unsortedModifiers.sort());\n  return sortedModifiers;\n};\nconst createConfigUtils = (config) => ({\n  cache: createLruCache(config.cacheSize),\n  parseClassName: createParseClassName(config),\n  ...createClassGroupUtils(config)\n});\nconst SPLIT_CLASSES_REGEX = /\\s+/;\nconst mergeClassList = (classList, configUtils) => {\n  const {\n    parseClassName,\n    getClassGroupId,\n    getConflictingClassGroupIds\n  } = configUtils;\n  const classGroupsInConflict = [];\n  const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);\n  let result = \"\";\n  for (let index = classNames.length - 1; index >= 0; index -= 1) {\n    const originalClassName = classNames[index];\n    const {\n      modifiers,\n      hasImportantModifier,\n      baseClassName,\n      maybePostfixModifierPosition\n    } = parseClassName(originalClassName);\n    let hasPostfixModifier = Boolean(maybePostfixModifierPosition);\n    let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);\n    if (!classGroupId) {\n      if (!hasPostfixModifier) {\n        result = originalClassName + (result.length > 0 ? \" \" + result : result);\n        continue;\n      }\n      classGroupId = getClassGroupId(baseClassName);\n      if (!classGroupId) {\n        result = originalClassName + (result.length > 0 ? \" \" + result : result);\n        continue;\n      }\n      hasPostfixModifier = false;\n    }\n    const variantModifier = sortModifiers(modifiers).join(\":\");\n    const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;\n    const classId = modifierId + classGroupId;\n    if (classGroupsInConflict.includes(classId)) {\n      continue;\n    }\n    classGroupsInConflict.push(classId);\n    const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);\n    for (let i = 0; i < conflictGroups.length; ++i) {\n      const group = conflictGroups[i];\n      classGroupsInConflict.push(modifierId + group);\n    }\n    result = originalClassName + (result.length > 0 ? \" \" + result : result);\n  }\n  return result;\n};\nfunction twJoin() {\n  let index = 0;\n  let argument;\n  let resolvedValue;\n  let string = \"\";\n  while (index < arguments.length) {\n    if (argument = arguments[index++]) {\n      if (resolvedValue = toValue(argument)) {\n        string && (string += \" \");\n        string += resolvedValue;\n      }\n    }\n  }\n  return string;\n}\nconst toValue = (mix) => {\n  if (typeof mix === \"string\") {\n    return mix;\n  }\n  let resolvedValue;\n  let string = \"\";\n  for (let k = 0; k < mix.length; k++) {\n    if (mix[k]) {\n      if (resolvedValue = toValue(mix[k])) {\n        string && (string += \" \");\n        string += resolvedValue;\n      }\n    }\n  }\n  return string;\n};\nfunction createTailwindMerge(createConfigFirst, ...createConfigRest) {\n  let configUtils;\n  let cacheGet;\n  let cacheSet;\n  let functionToCall = initTailwindMerge;\n  function initTailwindMerge(classList) {\n    const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());\n    configUtils = createConfigUtils(config);\n    cacheGet = configUtils.cache.get;\n    cacheSet = configUtils.cache.set;\n    functionToCall = tailwindMerge;\n    return tailwindMerge(classList);\n  }\n  function tailwindMerge(classList) {\n    const cachedResult = cacheGet(classList);\n    if (cachedResult) {\n      return cachedResult;\n    }\n    const result = mergeClassList(classList, configUtils);\n    cacheSet(classList, result);\n    return result;\n  }\n  return function callTailwindMerge() {\n    return functionToCall(twJoin.apply(null, arguments));\n  };\n}\nconst fromTheme = (key) => {\n  const themeGetter = (theme) => theme[key] || [];\n  themeGetter.isThemeGetter = true;\n  return themeGetter;\n};\nconst arbitraryValueRegex = /^\\[(?:([a-z-]+):)?(.+)\\]$/i;\nconst fractionRegex = /^\\d+\\/\\d+$/;\nconst stringLengths = /* @__PURE__ */ new Set([\"px\", \"full\", \"screen\"]);\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/;\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/;\nconst colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\\(.+\\)$/;\nconst shadowRegex = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/;\nconst imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/;\nconst isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);\nconst isArbitraryLength = (value) => getIsArbitraryValue(value, \"length\", isLengthOnly);\nconst isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));\nconst isArbitraryNumber = (value) => getIsArbitraryValue(value, \"number\", isNumber);\nconst isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));\nconst isPercent = (value) => value.endsWith(\"%\") && isNumber(value.slice(0, -1));\nconst isArbitraryValue = (value) => arbitraryValueRegex.test(value);\nconst isTshirtSize = (value) => tshirtUnitRegex.test(value);\nconst sizeLabels = /* @__PURE__ */ new Set([\"length\", \"size\", \"percentage\"]);\nconst isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);\nconst isArbitraryPosition = (value) => getIsArbitraryValue(value, \"position\", isNever);\nconst imageLabels = /* @__PURE__ */ new Set([\"image\", \"url\"]);\nconst isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);\nconst isArbitraryShadow = (value) => getIsArbitraryValue(value, \"\", isShadow);\nconst isAny = () => true;\nconst getIsArbitraryValue = (value, label, testValue) => {\n  const result = arbitraryValueRegex.exec(value);\n  if (result) {\n    if (result[1]) {\n      return typeof label === \"string\" ? result[1] === label : label.has(result[1]);\n    }\n    return testValue(result[2]);\n  }\n  return false;\n};\nconst isLengthOnly = (value) => (\n  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\n  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.\n  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\n  lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)\n);\nconst isNever = () => false;\nconst isShadow = (value) => shadowRegex.test(value);\nconst isImage = (value) => imageRegex.test(value);\nconst getDefaultConfig = () => {\n  const colors = fromTheme(\"colors\");\n  const spacing = fromTheme(\"spacing\");\n  const blur = fromTheme(\"blur\");\n  const brightness = fromTheme(\"brightness\");\n  const borderColor = fromTheme(\"borderColor\");\n  const borderRadius = fromTheme(\"borderRadius\");\n  const borderSpacing = fromTheme(\"borderSpacing\");\n  const borderWidth = fromTheme(\"borderWidth\");\n  const contrast = fromTheme(\"contrast\");\n  const grayscale = fromTheme(\"grayscale\");\n  const hueRotate = fromTheme(\"hueRotate\");\n  const invert = fromTheme(\"invert\");\n  const gap = fromTheme(\"gap\");\n  const gradientColorStops = fromTheme(\"gradientColorStops\");\n  const gradientColorStopPositions = fromTheme(\"gradientColorStopPositions\");\n  const inset = fromTheme(\"inset\");\n  const margin = fromTheme(\"margin\");\n  const opacity = fromTheme(\"opacity\");\n  const padding = fromTheme(\"padding\");\n  const saturate = fromTheme(\"saturate\");\n  const scale = fromTheme(\"scale\");\n  const sepia = fromTheme(\"sepia\");\n  const skew = fromTheme(\"skew\");\n  const space = fromTheme(\"space\");\n  const translate = fromTheme(\"translate\");\n  const getOverscroll = () => [\"auto\", \"contain\", \"none\"];\n  const getOverflow = () => [\"auto\", \"hidden\", \"clip\", \"visible\", \"scroll\"];\n  const getSpacingWithAutoAndArbitrary = () => [\"auto\", isArbitraryValue, spacing];\n  const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];\n  const getLengthWithEmptyAndArbitrary = () => [\"\", isLength, isArbitraryLength];\n  const getNumberWithAutoAndArbitrary = () => [\"auto\", isNumber, isArbitraryValue];\n  const getPositions = () => [\"bottom\", \"center\", \"left\", \"left-bottom\", \"left-top\", \"right\", \"right-bottom\", \"right-top\", \"top\"];\n  const getLineStyles = () => [\"solid\", \"dashed\", \"dotted\", \"double\", \"none\"];\n  const getBlendModes = () => [\"normal\", \"multiply\", \"screen\", \"overlay\", \"darken\", \"lighten\", \"color-dodge\", \"color-burn\", \"hard-light\", \"soft-light\", \"difference\", \"exclusion\", \"hue\", \"saturation\", \"color\", \"luminosity\"];\n  const getAlign = () => [\"start\", \"end\", \"center\", \"between\", \"around\", \"evenly\", \"stretch\"];\n  const getZeroAndEmpty = () => [\"\", \"0\", isArbitraryValue];\n  const getBreaks = () => [\"auto\", \"avoid\", \"all\", \"avoid-page\", \"page\", \"left\", \"right\", \"column\"];\n  const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];\n  return {\n    cacheSize: 500,\n    separator: \":\",\n    theme: {\n      colors: [isAny],\n      spacing: [isLength, isArbitraryLength],\n      blur: [\"none\", \"\", isTshirtSize, isArbitraryValue],\n      brightness: getNumberAndArbitrary(),\n      borderColor: [colors],\n      borderRadius: [\"none\", \"\", \"full\", isTshirtSize, isArbitraryValue],\n      borderSpacing: getSpacingWithArbitrary(),\n      borderWidth: getLengthWithEmptyAndArbitrary(),\n      contrast: getNumberAndArbitrary(),\n      grayscale: getZeroAndEmpty(),\n      hueRotate: getNumberAndArbitrary(),\n      invert: getZeroAndEmpty(),\n      gap: getSpacingWithArbitrary(),\n      gradientColorStops: [colors],\n      gradientColorStopPositions: [isPercent, isArbitraryLength],\n      inset: getSpacingWithAutoAndArbitrary(),\n      margin: getSpacingWithAutoAndArbitrary(),\n      opacity: getNumberAndArbitrary(),\n      padding: getSpacingWithArbitrary(),\n      saturate: getNumberAndArbitrary(),\n      scale: getNumberAndArbitrary(),\n      sepia: getZeroAndEmpty(),\n      skew: getNumberAndArbitrary(),\n      space: getSpacingWithArbitrary(),\n      translate: getSpacingWithArbitrary()\n    },\n    classGroups: {\n      // Layout\n      /**\n       * Aspect Ratio\n       * @see https://tailwindcss.com/docs/aspect-ratio\n       */\n      aspect: [{\n        aspect: [\"auto\", \"square\", \"video\", isArbitraryValue]\n      }],\n      /**\n       * Container\n       * @see https://tailwindcss.com/docs/container\n       */\n      container: [\"container\"],\n      /**\n       * Columns\n       * @see https://tailwindcss.com/docs/columns\n       */\n      columns: [{\n        columns: [isTshirtSize]\n      }],\n      /**\n       * Break After\n       * @see https://tailwindcss.com/docs/break-after\n       */\n      \"break-after\": [{\n        \"break-after\": getBreaks()\n      }],\n      /**\n       * Break Before\n       * @see https://tailwindcss.com/docs/break-before\n       */\n      \"break-before\": [{\n        \"break-before\": getBreaks()\n      }],\n      /**\n       * Break Inside\n       * @see https://tailwindcss.com/docs/break-inside\n       */\n      \"break-inside\": [{\n        \"break-inside\": [\"auto\", \"avoid\", \"avoid-page\", \"avoid-column\"]\n      }],\n      /**\n       * Box Decoration Break\n       * @see https://tailwindcss.com/docs/box-decoration-break\n       */\n      \"box-decoration\": [{\n        \"box-decoration\": [\"slice\", \"clone\"]\n      }],\n      /**\n       * Box Sizing\n       * @see https://tailwindcss.com/docs/box-sizing\n       */\n      box: [{\n        box: [\"border\", \"content\"]\n      }],\n      /**\n       * Display\n       * @see https://tailwindcss.com/docs/display\n       */\n      display: [\"block\", \"inline-block\", \"inline\", \"flex\", \"inline-flex\", \"table\", \"inline-table\", \"table-caption\", \"table-cell\", \"table-column\", \"table-column-group\", \"table-footer-group\", \"table-header-group\", \"table-row-group\", \"table-row\", \"flow-root\", \"grid\", \"inline-grid\", \"contents\", \"list-item\", \"hidden\"],\n      /**\n       * Floats\n       * @see https://tailwindcss.com/docs/float\n       */\n      float: [{\n        float: [\"right\", \"left\", \"none\", \"start\", \"end\"]\n      }],\n      /**\n       * Clear\n       * @see https://tailwindcss.com/docs/clear\n       */\n      clear: [{\n        clear: [\"left\", \"right\", \"both\", \"none\", \"start\", \"end\"]\n      }],\n      /**\n       * Isolation\n       * @see https://tailwindcss.com/docs/isolation\n       */\n      isolation: [\"isolate\", \"isolation-auto\"],\n      /**\n       * Object Fit\n       * @see https://tailwindcss.com/docs/object-fit\n       */\n      \"object-fit\": [{\n        object: [\"contain\", \"cover\", \"fill\", \"none\", \"scale-down\"]\n      }],\n      /**\n       * Object Position\n       * @see https://tailwindcss.com/docs/object-position\n       */\n      \"object-position\": [{\n        object: [...getPositions(), isArbitraryValue]\n      }],\n      /**\n       * Overflow\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      overflow: [{\n        overflow: getOverflow()\n      }],\n      /**\n       * Overflow X\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      \"overflow-x\": [{\n        \"overflow-x\": getOverflow()\n      }],\n      /**\n       * Overflow Y\n       * @see https://tailwindcss.com/docs/overflow\n       */\n      \"overflow-y\": [{\n        \"overflow-y\": getOverflow()\n      }],\n      /**\n       * Overscroll Behavior\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      overscroll: [{\n        overscroll: getOverscroll()\n      }],\n      /**\n       * Overscroll Behavior X\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      \"overscroll-x\": [{\n        \"overscroll-x\": getOverscroll()\n      }],\n      /**\n       * Overscroll Behavior Y\n       * @see https://tailwindcss.com/docs/overscroll-behavior\n       */\n      \"overscroll-y\": [{\n        \"overscroll-y\": getOverscroll()\n      }],\n      /**\n       * Position\n       * @see https://tailwindcss.com/docs/position\n       */\n      position: [\"static\", \"fixed\", \"absolute\", \"relative\", \"sticky\"],\n      /**\n       * Top / Right / Bottom / Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      inset: [{\n        inset: [inset]\n      }],\n      /**\n       * Right / Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      \"inset-x\": [{\n        \"inset-x\": [inset]\n      }],\n      /**\n       * Top / Bottom\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      \"inset-y\": [{\n        \"inset-y\": [inset]\n      }],\n      /**\n       * Start\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      start: [{\n        start: [inset]\n      }],\n      /**\n       * End\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      end: [{\n        end: [inset]\n      }],\n      /**\n       * Top\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      top: [{\n        top: [inset]\n      }],\n      /**\n       * Right\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      right: [{\n        right: [inset]\n      }],\n      /**\n       * Bottom\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      bottom: [{\n        bottom: [inset]\n      }],\n      /**\n       * Left\n       * @see https://tailwindcss.com/docs/top-right-bottom-left\n       */\n      left: [{\n        left: [inset]\n      }],\n      /**\n       * Visibility\n       * @see https://tailwindcss.com/docs/visibility\n       */\n      visibility: [\"visible\", \"invisible\", \"collapse\"],\n      /**\n       * Z-Index\n       * @see https://tailwindcss.com/docs/z-index\n       */\n      z: [{\n        z: [\"auto\", isInteger, isArbitraryValue]\n      }],\n      // Flexbox and Grid\n      /**\n       * Flex Basis\n       * @see https://tailwindcss.com/docs/flex-basis\n       */\n      basis: [{\n        basis: getSpacingWithAutoAndArbitrary()\n      }],\n      /**\n       * Flex Direction\n       * @see https://tailwindcss.com/docs/flex-direction\n       */\n      \"flex-direction\": [{\n        flex: [\"row\", \"row-reverse\", \"col\", \"col-reverse\"]\n      }],\n      /**\n       * Flex Wrap\n       * @see https://tailwindcss.com/docs/flex-wrap\n       */\n      \"flex-wrap\": [{\n        flex: [\"wrap\", \"wrap-reverse\", \"nowrap\"]\n      }],\n      /**\n       * Flex\n       * @see https://tailwindcss.com/docs/flex\n       */\n      flex: [{\n        flex: [\"1\", \"auto\", \"initial\", \"none\", isArbitraryValue]\n      }],\n      /**\n       * Flex Grow\n       * @see https://tailwindcss.com/docs/flex-grow\n       */\n      grow: [{\n        grow: getZeroAndEmpty()\n      }],\n      /**\n       * Flex Shrink\n       * @see https://tailwindcss.com/docs/flex-shrink\n       */\n      shrink: [{\n        shrink: getZeroAndEmpty()\n      }],\n      /**\n       * Order\n       * @see https://tailwindcss.com/docs/order\n       */\n      order: [{\n        order: [\"first\", \"last\", \"none\", isInteger, isArbitraryValue]\n      }],\n      /**\n       * Grid Template Columns\n       * @see https://tailwindcss.com/docs/grid-template-columns\n       */\n      \"grid-cols\": [{\n        \"grid-cols\": [isAny]\n      }],\n      /**\n       * Grid Column Start / End\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      \"col-start-end\": [{\n        col: [\"auto\", {\n          span: [\"full\", isInteger, isArbitraryValue]\n        }, isArbitraryValue]\n      }],\n      /**\n       * Grid Column Start\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      \"col-start\": [{\n        \"col-start\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Column End\n       * @see https://tailwindcss.com/docs/grid-column\n       */\n      \"col-end\": [{\n        \"col-end\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Template Rows\n       * @see https://tailwindcss.com/docs/grid-template-rows\n       */\n      \"grid-rows\": [{\n        \"grid-rows\": [isAny]\n      }],\n      /**\n       * Grid Row Start / End\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      \"row-start-end\": [{\n        row: [\"auto\", {\n          span: [isInteger, isArbitraryValue]\n        }, isArbitraryValue]\n      }],\n      /**\n       * Grid Row Start\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      \"row-start\": [{\n        \"row-start\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Row End\n       * @see https://tailwindcss.com/docs/grid-row\n       */\n      \"row-end\": [{\n        \"row-end\": getNumberWithAutoAndArbitrary()\n      }],\n      /**\n       * Grid Auto Flow\n       * @see https://tailwindcss.com/docs/grid-auto-flow\n       */\n      \"grid-flow\": [{\n        \"grid-flow\": [\"row\", \"col\", \"dense\", \"row-dense\", \"col-dense\"]\n      }],\n      /**\n       * Grid Auto Columns\n       * @see https://tailwindcss.com/docs/grid-auto-columns\n       */\n      \"auto-cols\": [{\n        \"auto-cols\": [\"auto\", \"min\", \"max\", \"fr\", isArbitraryValue]\n      }],\n      /**\n       * Grid Auto Rows\n       * @see https://tailwindcss.com/docs/grid-auto-rows\n       */\n      \"auto-rows\": [{\n        \"auto-rows\": [\"auto\", \"min\", \"max\", \"fr\", isArbitraryValue]\n      }],\n      /**\n       * Gap\n       * @see https://tailwindcss.com/docs/gap\n       */\n      gap: [{\n        gap: [gap]\n      }],\n      /**\n       * Gap X\n       * @see https://tailwindcss.com/docs/gap\n       */\n      \"gap-x\": [{\n        \"gap-x\": [gap]\n      }],\n      /**\n       * Gap Y\n       * @see https://tailwindcss.com/docs/gap\n       */\n      \"gap-y\": [{\n        \"gap-y\": [gap]\n      }],\n      /**\n       * Justify Content\n       * @see https://tailwindcss.com/docs/justify-content\n       */\n      \"justify-content\": [{\n        justify: [\"normal\", ...getAlign()]\n      }],\n      /**\n       * Justify Items\n       * @see https://tailwindcss.com/docs/justify-items\n       */\n      \"justify-items\": [{\n        \"justify-items\": [\"start\", \"end\", \"center\", \"stretch\"]\n      }],\n      /**\n       * Justify Self\n       * @see https://tailwindcss.com/docs/justify-self\n       */\n      \"justify-self\": [{\n        \"justify-self\": [\"auto\", \"start\", \"end\", \"center\", \"stretch\"]\n      }],\n      /**\n       * Align Content\n       * @see https://tailwindcss.com/docs/align-content\n       */\n      \"align-content\": [{\n        content: [\"normal\", ...getAlign(), \"baseline\"]\n      }],\n      /**\n       * Align Items\n       * @see https://tailwindcss.com/docs/align-items\n       */\n      \"align-items\": [{\n        items: [\"start\", \"end\", \"center\", \"baseline\", \"stretch\"]\n      }],\n      /**\n       * Align Self\n       * @see https://tailwindcss.com/docs/align-self\n       */\n      \"align-self\": [{\n        self: [\"auto\", \"start\", \"end\", \"center\", \"stretch\", \"baseline\"]\n      }],\n      /**\n       * Place Content\n       * @see https://tailwindcss.com/docs/place-content\n       */\n      \"place-content\": [{\n        \"place-content\": [...getAlign(), \"baseline\"]\n      }],\n      /**\n       * Place Items\n       * @see https://tailwindcss.com/docs/place-items\n       */\n      \"place-items\": [{\n        \"place-items\": [\"start\", \"end\", \"center\", \"baseline\", \"stretch\"]\n      }],\n      /**\n       * Place Self\n       * @see https://tailwindcss.com/docs/place-self\n       */\n      \"place-self\": [{\n        \"place-self\": [\"auto\", \"start\", \"end\", \"center\", \"stretch\"]\n      }],\n      // Spacing\n      /**\n       * Padding\n       * @see https://tailwindcss.com/docs/padding\n       */\n      p: [{\n        p: [padding]\n      }],\n      /**\n       * Padding X\n       * @see https://tailwindcss.com/docs/padding\n       */\n      px: [{\n        px: [padding]\n      }],\n      /**\n       * Padding Y\n       * @see https://tailwindcss.com/docs/padding\n       */\n      py: [{\n        py: [padding]\n      }],\n      /**\n       * Padding Start\n       * @see https://tailwindcss.com/docs/padding\n       */\n      ps: [{\n        ps: [padding]\n      }],\n      /**\n       * Padding End\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pe: [{\n        pe: [padding]\n      }],\n      /**\n       * Padding Top\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pt: [{\n        pt: [padding]\n      }],\n      /**\n       * Padding Right\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pr: [{\n        pr: [padding]\n      }],\n      /**\n       * Padding Bottom\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pb: [{\n        pb: [padding]\n      }],\n      /**\n       * Padding Left\n       * @see https://tailwindcss.com/docs/padding\n       */\n      pl: [{\n        pl: [padding]\n      }],\n      /**\n       * Margin\n       * @see https://tailwindcss.com/docs/margin\n       */\n      m: [{\n        m: [margin]\n      }],\n      /**\n       * Margin X\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mx: [{\n        mx: [margin]\n      }],\n      /**\n       * Margin Y\n       * @see https://tailwindcss.com/docs/margin\n       */\n      my: [{\n        my: [margin]\n      }],\n      /**\n       * Margin Start\n       * @see https://tailwindcss.com/docs/margin\n       */\n      ms: [{\n        ms: [margin]\n      }],\n      /**\n       * Margin End\n       * @see https://tailwindcss.com/docs/margin\n       */\n      me: [{\n        me: [margin]\n      }],\n      /**\n       * Margin Top\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mt: [{\n        mt: [margin]\n      }],\n      /**\n       * Margin Right\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mr: [{\n        mr: [margin]\n      }],\n      /**\n       * Margin Bottom\n       * @see https://tailwindcss.com/docs/margin\n       */\n      mb: [{\n        mb: [margin]\n      }],\n      /**\n       * Margin Left\n       * @see https://tailwindcss.com/docs/margin\n       */\n      ml: [{\n        ml: [margin]\n      }],\n      /**\n       * Space Between X\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-x\": [{\n        \"space-x\": [space]\n      }],\n      /**\n       * Space Between X Reverse\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-x-reverse\": [\"space-x-reverse\"],\n      /**\n       * Space Between Y\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-y\": [{\n        \"space-y\": [space]\n      }],\n      /**\n       * Space Between Y Reverse\n       * @see https://tailwindcss.com/docs/space\n       */\n      \"space-y-reverse\": [\"space-y-reverse\"],\n      // Sizing\n      /**\n       * Width\n       * @see https://tailwindcss.com/docs/width\n       */\n      w: [{\n        w: [\"auto\", \"min\", \"max\", \"fit\", \"svw\", \"lvw\", \"dvw\", isArbitraryValue, spacing]\n      }],\n      /**\n       * Min-Width\n       * @see https://tailwindcss.com/docs/min-width\n       */\n      \"min-w\": [{\n        \"min-w\": [isArbitraryValue, spacing, \"min\", \"max\", \"fit\"]\n      }],\n      /**\n       * Max-Width\n       * @see https://tailwindcss.com/docs/max-width\n       */\n      \"max-w\": [{\n        \"max-w\": [isArbitraryValue, spacing, \"none\", \"full\", \"min\", \"max\", \"fit\", \"prose\", {\n          screen: [isTshirtSize]\n        }, isTshirtSize]\n      }],\n      /**\n       * Height\n       * @see https://tailwindcss.com/docs/height\n       */\n      h: [{\n        h: [isArbitraryValue, spacing, \"auto\", \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\n      }],\n      /**\n       * Min-Height\n       * @see https://tailwindcss.com/docs/min-height\n       */\n      \"min-h\": [{\n        \"min-h\": [isArbitraryValue, spacing, \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\n      }],\n      /**\n       * Max-Height\n       * @see https://tailwindcss.com/docs/max-height\n       */\n      \"max-h\": [{\n        \"max-h\": [isArbitraryValue, spacing, \"min\", \"max\", \"fit\", \"svh\", \"lvh\", \"dvh\"]\n      }],\n      /**\n       * Size\n       * @see https://tailwindcss.com/docs/size\n       */\n      size: [{\n        size: [isArbitraryValue, spacing, \"auto\", \"min\", \"max\", \"fit\"]\n      }],\n      // Typography\n      /**\n       * Font Size\n       * @see https://tailwindcss.com/docs/font-size\n       */\n      \"font-size\": [{\n        text: [\"base\", isTshirtSize, isArbitraryLength]\n      }],\n      /**\n       * Font Smoothing\n       * @see https://tailwindcss.com/docs/font-smoothing\n       */\n      \"font-smoothing\": [\"antialiased\", \"subpixel-antialiased\"],\n      /**\n       * Font Style\n       * @see https://tailwindcss.com/docs/font-style\n       */\n      \"font-style\": [\"italic\", \"not-italic\"],\n      /**\n       * Font Weight\n       * @see https://tailwindcss.com/docs/font-weight\n       */\n      \"font-weight\": [{\n        font: [\"thin\", \"extralight\", \"light\", \"normal\", \"medium\", \"semibold\", \"bold\", \"extrabold\", \"black\", isArbitraryNumber]\n      }],\n      /**\n       * Font Family\n       * @see https://tailwindcss.com/docs/font-family\n       */\n      \"font-family\": [{\n        font: [isAny]\n      }],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-normal\": [\"normal-nums\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-ordinal\": [\"ordinal\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-slashed-zero\": [\"slashed-zero\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-figure\": [\"lining-nums\", \"oldstyle-nums\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-spacing\": [\"proportional-nums\", \"tabular-nums\"],\n      /**\n       * Font Variant Numeric\n       * @see https://tailwindcss.com/docs/font-variant-numeric\n       */\n      \"fvn-fraction\": [\"diagonal-fractions\", \"stacked-fractions\"],\n      /**\n       * Letter Spacing\n       * @see https://tailwindcss.com/docs/letter-spacing\n       */\n      tracking: [{\n        tracking: [\"tighter\", \"tight\", \"normal\", \"wide\", \"wider\", \"widest\", isArbitraryValue]\n      }],\n      /**\n       * Line Clamp\n       * @see https://tailwindcss.com/docs/line-clamp\n       */\n      \"line-clamp\": [{\n        \"line-clamp\": [\"none\", isNumber, isArbitraryNumber]\n      }],\n      /**\n       * Line Height\n       * @see https://tailwindcss.com/docs/line-height\n       */\n      leading: [{\n        leading: [\"none\", \"tight\", \"snug\", \"normal\", \"relaxed\", \"loose\", isLength, isArbitraryValue]\n      }],\n      /**\n       * List Style Image\n       * @see https://tailwindcss.com/docs/list-style-image\n       */\n      \"list-image\": [{\n        \"list-image\": [\"none\", isArbitraryValue]\n      }],\n      /**\n       * List Style Type\n       * @see https://tailwindcss.com/docs/list-style-type\n       */\n      \"list-style-type\": [{\n        list: [\"none\", \"disc\", \"decimal\", isArbitraryValue]\n      }],\n      /**\n       * List Style Position\n       * @see https://tailwindcss.com/docs/list-style-position\n       */\n      \"list-style-position\": [{\n        list: [\"inside\", \"outside\"]\n      }],\n      /**\n       * Placeholder Color\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/placeholder-color\n       */\n      \"placeholder-color\": [{\n        placeholder: [colors]\n      }],\n      /**\n       * Placeholder Opacity\n       * @see https://tailwindcss.com/docs/placeholder-opacity\n       */\n      \"placeholder-opacity\": [{\n        \"placeholder-opacity\": [opacity]\n      }],\n      /**\n       * Text Alignment\n       * @see https://tailwindcss.com/docs/text-align\n       */\n      \"text-alignment\": [{\n        text: [\"left\", \"center\", \"right\", \"justify\", \"start\", \"end\"]\n      }],\n      /**\n       * Text Color\n       * @see https://tailwindcss.com/docs/text-color\n       */\n      \"text-color\": [{\n        text: [colors]\n      }],\n      /**\n       * Text Opacity\n       * @see https://tailwindcss.com/docs/text-opacity\n       */\n      \"text-opacity\": [{\n        \"text-opacity\": [opacity]\n      }],\n      /**\n       * Text Decoration\n       * @see https://tailwindcss.com/docs/text-decoration\n       */\n      \"text-decoration\": [\"underline\", \"overline\", \"line-through\", \"no-underline\"],\n      /**\n       * Text Decoration Style\n       * @see https://tailwindcss.com/docs/text-decoration-style\n       */\n      \"text-decoration-style\": [{\n        decoration: [...getLineStyles(), \"wavy\"]\n      }],\n      /**\n       * Text Decoration Thickness\n       * @see https://tailwindcss.com/docs/text-decoration-thickness\n       */\n      \"text-decoration-thickness\": [{\n        decoration: [\"auto\", \"from-font\", isLength, isArbitraryLength]\n      }],\n      /**\n       * Text Underline Offset\n       * @see https://tailwindcss.com/docs/text-underline-offset\n       */\n      \"underline-offset\": [{\n        \"underline-offset\": [\"auto\", isLength, isArbitraryValue]\n      }],\n      /**\n       * Text Decoration Color\n       * @see https://tailwindcss.com/docs/text-decoration-color\n       */\n      \"text-decoration-color\": [{\n        decoration: [colors]\n      }],\n      /**\n       * Text Transform\n       * @see https://tailwindcss.com/docs/text-transform\n       */\n      \"text-transform\": [\"uppercase\", \"lowercase\", \"capitalize\", \"normal-case\"],\n      /**\n       * Text Overflow\n       * @see https://tailwindcss.com/docs/text-overflow\n       */\n      \"text-overflow\": [\"truncate\", \"text-ellipsis\", \"text-clip\"],\n      /**\n       * Text Wrap\n       * @see https://tailwindcss.com/docs/text-wrap\n       */\n      \"text-wrap\": [{\n        text: [\"wrap\", \"nowrap\", \"balance\", \"pretty\"]\n      }],\n      /**\n       * Text Indent\n       * @see https://tailwindcss.com/docs/text-indent\n       */\n      indent: [{\n        indent: getSpacingWithArbitrary()\n      }],\n      /**\n       * Vertical Alignment\n       * @see https://tailwindcss.com/docs/vertical-align\n       */\n      \"vertical-align\": [{\n        align: [\"baseline\", \"top\", \"middle\", \"bottom\", \"text-top\", \"text-bottom\", \"sub\", \"super\", isArbitraryValue]\n      }],\n      /**\n       * Whitespace\n       * @see https://tailwindcss.com/docs/whitespace\n       */\n      whitespace: [{\n        whitespace: [\"normal\", \"nowrap\", \"pre\", \"pre-line\", \"pre-wrap\", \"break-spaces\"]\n      }],\n      /**\n       * Word Break\n       * @see https://tailwindcss.com/docs/word-break\n       */\n      break: [{\n        break: [\"normal\", \"words\", \"all\", \"keep\"]\n      }],\n      /**\n       * Hyphens\n       * @see https://tailwindcss.com/docs/hyphens\n       */\n      hyphens: [{\n        hyphens: [\"none\", \"manual\", \"auto\"]\n      }],\n      /**\n       * Content\n       * @see https://tailwindcss.com/docs/content\n       */\n      content: [{\n        content: [\"none\", isArbitraryValue]\n      }],\n      // Backgrounds\n      /**\n       * Background Attachment\n       * @see https://tailwindcss.com/docs/background-attachment\n       */\n      \"bg-attachment\": [{\n        bg: [\"fixed\", \"local\", \"scroll\"]\n      }],\n      /**\n       * Background Clip\n       * @see https://tailwindcss.com/docs/background-clip\n       */\n      \"bg-clip\": [{\n        \"bg-clip\": [\"border\", \"padding\", \"content\", \"text\"]\n      }],\n      /**\n       * Background Opacity\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/background-opacity\n       */\n      \"bg-opacity\": [{\n        \"bg-opacity\": [opacity]\n      }],\n      /**\n       * Background Origin\n       * @see https://tailwindcss.com/docs/background-origin\n       */\n      \"bg-origin\": [{\n        \"bg-origin\": [\"border\", \"padding\", \"content\"]\n      }],\n      /**\n       * Background Position\n       * @see https://tailwindcss.com/docs/background-position\n       */\n      \"bg-position\": [{\n        bg: [...getPositions(), isArbitraryPosition]\n      }],\n      /**\n       * Background Repeat\n       * @see https://tailwindcss.com/docs/background-repeat\n       */\n      \"bg-repeat\": [{\n        bg: [\"no-repeat\", {\n          repeat: [\"\", \"x\", \"y\", \"round\", \"space\"]\n        }]\n      }],\n      /**\n       * Background Size\n       * @see https://tailwindcss.com/docs/background-size\n       */\n      \"bg-size\": [{\n        bg: [\"auto\", \"cover\", \"contain\", isArbitrarySize]\n      }],\n      /**\n       * Background Image\n       * @see https://tailwindcss.com/docs/background-image\n       */\n      \"bg-image\": [{\n        bg: [\"none\", {\n          \"gradient-to\": [\"t\", \"tr\", \"r\", \"br\", \"b\", \"bl\", \"l\", \"tl\"]\n        }, isArbitraryImage]\n      }],\n      /**\n       * Background Color\n       * @see https://tailwindcss.com/docs/background-color\n       */\n      \"bg-color\": [{\n        bg: [colors]\n      }],\n      /**\n       * Gradient Color Stops From Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-from-pos\": [{\n        from: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops Via Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-via-pos\": [{\n        via: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops To Position\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-to-pos\": [{\n        to: [gradientColorStopPositions]\n      }],\n      /**\n       * Gradient Color Stops From\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-from\": [{\n        from: [gradientColorStops]\n      }],\n      /**\n       * Gradient Color Stops Via\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-via\": [{\n        via: [gradientColorStops]\n      }],\n      /**\n       * Gradient Color Stops To\n       * @see https://tailwindcss.com/docs/gradient-color-stops\n       */\n      \"gradient-to\": [{\n        to: [gradientColorStops]\n      }],\n      // Borders\n      /**\n       * Border Radius\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      rounded: [{\n        rounded: [borderRadius]\n      }],\n      /**\n       * Border Radius Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-s\": [{\n        \"rounded-s\": [borderRadius]\n      }],\n      /**\n       * Border Radius End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-e\": [{\n        \"rounded-e\": [borderRadius]\n      }],\n      /**\n       * Border Radius Top\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-t\": [{\n        \"rounded-t\": [borderRadius]\n      }],\n      /**\n       * Border Radius Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-r\": [{\n        \"rounded-r\": [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-b\": [{\n        \"rounded-b\": [borderRadius]\n      }],\n      /**\n       * Border Radius Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-l\": [{\n        \"rounded-l\": [borderRadius]\n      }],\n      /**\n       * Border Radius Start Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-ss\": [{\n        \"rounded-ss\": [borderRadius]\n      }],\n      /**\n       * Border Radius Start End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-se\": [{\n        \"rounded-se\": [borderRadius]\n      }],\n      /**\n       * Border Radius End End\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-ee\": [{\n        \"rounded-ee\": [borderRadius]\n      }],\n      /**\n       * Border Radius End Start\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-es\": [{\n        \"rounded-es\": [borderRadius]\n      }],\n      /**\n       * Border Radius Top Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-tl\": [{\n        \"rounded-tl\": [borderRadius]\n      }],\n      /**\n       * Border Radius Top Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-tr\": [{\n        \"rounded-tr\": [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom Right\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-br\": [{\n        \"rounded-br\": [borderRadius]\n      }],\n      /**\n       * Border Radius Bottom Left\n       * @see https://tailwindcss.com/docs/border-radius\n       */\n      \"rounded-bl\": [{\n        \"rounded-bl\": [borderRadius]\n      }],\n      /**\n       * Border Width\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w\": [{\n        border: [borderWidth]\n      }],\n      /**\n       * Border Width X\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-x\": [{\n        \"border-x\": [borderWidth]\n      }],\n      /**\n       * Border Width Y\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-y\": [{\n        \"border-y\": [borderWidth]\n      }],\n      /**\n       * Border Width Start\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-s\": [{\n        \"border-s\": [borderWidth]\n      }],\n      /**\n       * Border Width End\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-e\": [{\n        \"border-e\": [borderWidth]\n      }],\n      /**\n       * Border Width Top\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-t\": [{\n        \"border-t\": [borderWidth]\n      }],\n      /**\n       * Border Width Right\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-r\": [{\n        \"border-r\": [borderWidth]\n      }],\n      /**\n       * Border Width Bottom\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-b\": [{\n        \"border-b\": [borderWidth]\n      }],\n      /**\n       * Border Width Left\n       * @see https://tailwindcss.com/docs/border-width\n       */\n      \"border-w-l\": [{\n        \"border-l\": [borderWidth]\n      }],\n      /**\n       * Border Opacity\n       * @see https://tailwindcss.com/docs/border-opacity\n       */\n      \"border-opacity\": [{\n        \"border-opacity\": [opacity]\n      }],\n      /**\n       * Border Style\n       * @see https://tailwindcss.com/docs/border-style\n       */\n      \"border-style\": [{\n        border: [...getLineStyles(), \"hidden\"]\n      }],\n      /**\n       * Divide Width X\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-x\": [{\n        \"divide-x\": [borderWidth]\n      }],\n      /**\n       * Divide Width X Reverse\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-x-reverse\": [\"divide-x-reverse\"],\n      /**\n       * Divide Width Y\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-y\": [{\n        \"divide-y\": [borderWidth]\n      }],\n      /**\n       * Divide Width Y Reverse\n       * @see https://tailwindcss.com/docs/divide-width\n       */\n      \"divide-y-reverse\": [\"divide-y-reverse\"],\n      /**\n       * Divide Opacity\n       * @see https://tailwindcss.com/docs/divide-opacity\n       */\n      \"divide-opacity\": [{\n        \"divide-opacity\": [opacity]\n      }],\n      /**\n       * Divide Style\n       * @see https://tailwindcss.com/docs/divide-style\n       */\n      \"divide-style\": [{\n        divide: getLineStyles()\n      }],\n      /**\n       * Border Color\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color\": [{\n        border: [borderColor]\n      }],\n      /**\n       * Border Color X\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-x\": [{\n        \"border-x\": [borderColor]\n      }],\n      /**\n       * Border Color Y\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-y\": [{\n        \"border-y\": [borderColor]\n      }],\n      /**\n       * Border Color S\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-s\": [{\n        \"border-s\": [borderColor]\n      }],\n      /**\n       * Border Color E\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-e\": [{\n        \"border-e\": [borderColor]\n      }],\n      /**\n       * Border Color Top\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-t\": [{\n        \"border-t\": [borderColor]\n      }],\n      /**\n       * Border Color Right\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-r\": [{\n        \"border-r\": [borderColor]\n      }],\n      /**\n       * Border Color Bottom\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-b\": [{\n        \"border-b\": [borderColor]\n      }],\n      /**\n       * Border Color Left\n       * @see https://tailwindcss.com/docs/border-color\n       */\n      \"border-color-l\": [{\n        \"border-l\": [borderColor]\n      }],\n      /**\n       * Divide Color\n       * @see https://tailwindcss.com/docs/divide-color\n       */\n      \"divide-color\": [{\n        divide: [borderColor]\n      }],\n      /**\n       * Outline Style\n       * @see https://tailwindcss.com/docs/outline-style\n       */\n      \"outline-style\": [{\n        outline: [\"\", ...getLineStyles()]\n      }],\n      /**\n       * Outline Offset\n       * @see https://tailwindcss.com/docs/outline-offset\n       */\n      \"outline-offset\": [{\n        \"outline-offset\": [isLength, isArbitraryValue]\n      }],\n      /**\n       * Outline Width\n       * @see https://tailwindcss.com/docs/outline-width\n       */\n      \"outline-w\": [{\n        outline: [isLength, isArbitraryLength]\n      }],\n      /**\n       * Outline Color\n       * @see https://tailwindcss.com/docs/outline-color\n       */\n      \"outline-color\": [{\n        outline: [colors]\n      }],\n      /**\n       * Ring Width\n       * @see https://tailwindcss.com/docs/ring-width\n       */\n      \"ring-w\": [{\n        ring: getLengthWithEmptyAndArbitrary()\n      }],\n      /**\n       * Ring Width Inset\n       * @see https://tailwindcss.com/docs/ring-width\n       */\n      \"ring-w-inset\": [\"ring-inset\"],\n      /**\n       * Ring Color\n       * @see https://tailwindcss.com/docs/ring-color\n       */\n      \"ring-color\": [{\n        ring: [colors]\n      }],\n      /**\n       * Ring Opacity\n       * @see https://tailwindcss.com/docs/ring-opacity\n       */\n      \"ring-opacity\": [{\n        \"ring-opacity\": [opacity]\n      }],\n      /**\n       * Ring Offset Width\n       * @see https://tailwindcss.com/docs/ring-offset-width\n       */\n      \"ring-offset-w\": [{\n        \"ring-offset\": [isLength, isArbitraryLength]\n      }],\n      /**\n       * Ring Offset Color\n       * @see https://tailwindcss.com/docs/ring-offset-color\n       */\n      \"ring-offset-color\": [{\n        \"ring-offset\": [colors]\n      }],\n      // Effects\n      /**\n       * Box Shadow\n       * @see https://tailwindcss.com/docs/box-shadow\n       */\n      shadow: [{\n        shadow: [\"\", \"inner\", \"none\", isTshirtSize, isArbitraryShadow]\n      }],\n      /**\n       * Box Shadow Color\n       * @see https://tailwindcss.com/docs/box-shadow-color\n       */\n      \"shadow-color\": [{\n        shadow: [isAny]\n      }],\n      /**\n       * Opacity\n       * @see https://tailwindcss.com/docs/opacity\n       */\n      opacity: [{\n        opacity: [opacity]\n      }],\n      /**\n       * Mix Blend Mode\n       * @see https://tailwindcss.com/docs/mix-blend-mode\n       */\n      \"mix-blend\": [{\n        \"mix-blend\": [...getBlendModes(), \"plus-lighter\", \"plus-darker\"]\n      }],\n      /**\n       * Background Blend Mode\n       * @see https://tailwindcss.com/docs/background-blend-mode\n       */\n      \"bg-blend\": [{\n        \"bg-blend\": getBlendModes()\n      }],\n      // Filters\n      /**\n       * Filter\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/filter\n       */\n      filter: [{\n        filter: [\"\", \"none\"]\n      }],\n      /**\n       * Blur\n       * @see https://tailwindcss.com/docs/blur\n       */\n      blur: [{\n        blur: [blur]\n      }],\n      /**\n       * Brightness\n       * @see https://tailwindcss.com/docs/brightness\n       */\n      brightness: [{\n        brightness: [brightness]\n      }],\n      /**\n       * Contrast\n       * @see https://tailwindcss.com/docs/contrast\n       */\n      contrast: [{\n        contrast: [contrast]\n      }],\n      /**\n       * Drop Shadow\n       * @see https://tailwindcss.com/docs/drop-shadow\n       */\n      \"drop-shadow\": [{\n        \"drop-shadow\": [\"\", \"none\", isTshirtSize, isArbitraryValue]\n      }],\n      /**\n       * Grayscale\n       * @see https://tailwindcss.com/docs/grayscale\n       */\n      grayscale: [{\n        grayscale: [grayscale]\n      }],\n      /**\n       * Hue Rotate\n       * @see https://tailwindcss.com/docs/hue-rotate\n       */\n      \"hue-rotate\": [{\n        \"hue-rotate\": [hueRotate]\n      }],\n      /**\n       * Invert\n       * @see https://tailwindcss.com/docs/invert\n       */\n      invert: [{\n        invert: [invert]\n      }],\n      /**\n       * Saturate\n       * @see https://tailwindcss.com/docs/saturate\n       */\n      saturate: [{\n        saturate: [saturate]\n      }],\n      /**\n       * Sepia\n       * @see https://tailwindcss.com/docs/sepia\n       */\n      sepia: [{\n        sepia: [sepia]\n      }],\n      /**\n       * Backdrop Filter\n       * @deprecated since Tailwind CSS v3.0.0\n       * @see https://tailwindcss.com/docs/backdrop-filter\n       */\n      \"backdrop-filter\": [{\n        \"backdrop-filter\": [\"\", \"none\"]\n      }],\n      /**\n       * Backdrop Blur\n       * @see https://tailwindcss.com/docs/backdrop-blur\n       */\n      \"backdrop-blur\": [{\n        \"backdrop-blur\": [blur]\n      }],\n      /**\n       * Backdrop Brightness\n       * @see https://tailwindcss.com/docs/backdrop-brightness\n       */\n      \"backdrop-brightness\": [{\n        \"backdrop-brightness\": [brightness]\n      }],\n      /**\n       * Backdrop Contrast\n       * @see https://tailwindcss.com/docs/backdrop-contrast\n       */\n      \"backdrop-contrast\": [{\n        \"backdrop-contrast\": [contrast]\n      }],\n      /**\n       * Backdrop Grayscale\n       * @see https://tailwindcss.com/docs/backdrop-grayscale\n       */\n      \"backdrop-grayscale\": [{\n        \"backdrop-grayscale\": [grayscale]\n      }],\n      /**\n       * Backdrop Hue Rotate\n       * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n       */\n      \"backdrop-hue-rotate\": [{\n        \"backdrop-hue-rotate\": [hueRotate]\n      }],\n      /**\n       * Backdrop Invert\n       * @see https://tailwindcss.com/docs/backdrop-invert\n       */\n      \"backdrop-invert\": [{\n        \"backdrop-invert\": [invert]\n      }],\n      /**\n       * Backdrop Opacity\n       * @see https://tailwindcss.com/docs/backdrop-opacity\n       */\n      \"backdrop-opacity\": [{\n        \"backdrop-opacity\": [opacity]\n      }],\n      /**\n       * Backdrop Saturate\n       * @see https://tailwindcss.com/docs/backdrop-saturate\n       */\n      \"backdrop-saturate\": [{\n        \"backdrop-saturate\": [saturate]\n      }],\n      /**\n       * Backdrop Sepia\n       * @see https://tailwindcss.com/docs/backdrop-sepia\n       */\n      \"backdrop-sepia\": [{\n        \"backdrop-sepia\": [sepia]\n      }],\n      // Tables\n      /**\n       * Border Collapse\n       * @see https://tailwindcss.com/docs/border-collapse\n       */\n      \"border-collapse\": [{\n        border: [\"collapse\", \"separate\"]\n      }],\n      /**\n       * Border Spacing\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      \"border-spacing\": [{\n        \"border-spacing\": [borderSpacing]\n      }],\n      /**\n       * Border Spacing X\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      \"border-spacing-x\": [{\n        \"border-spacing-x\": [borderSpacing]\n      }],\n      /**\n       * Border Spacing Y\n       * @see https://tailwindcss.com/docs/border-spacing\n       */\n      \"border-spacing-y\": [{\n        \"border-spacing-y\": [borderSpacing]\n      }],\n      /**\n       * Table Layout\n       * @see https://tailwindcss.com/docs/table-layout\n       */\n      \"table-layout\": [{\n        table: [\"auto\", \"fixed\"]\n      }],\n      /**\n       * Caption Side\n       * @see https://tailwindcss.com/docs/caption-side\n       */\n      caption: [{\n        caption: [\"top\", \"bottom\"]\n      }],\n      // Transitions and Animation\n      /**\n       * Tranisition Property\n       * @see https://tailwindcss.com/docs/transition-property\n       */\n      transition: [{\n        transition: [\"none\", \"all\", \"\", \"colors\", \"opacity\", \"shadow\", \"transform\", isArbitraryValue]\n      }],\n      /**\n       * Transition Duration\n       * @see https://tailwindcss.com/docs/transition-duration\n       */\n      duration: [{\n        duration: getNumberAndArbitrary()\n      }],\n      /**\n       * Transition Timing Function\n       * @see https://tailwindcss.com/docs/transition-timing-function\n       */\n      ease: [{\n        ease: [\"linear\", \"in\", \"out\", \"in-out\", isArbitraryValue]\n      }],\n      /**\n       * Transition Delay\n       * @see https://tailwindcss.com/docs/transition-delay\n       */\n      delay: [{\n        delay: getNumberAndArbitrary()\n      }],\n      /**\n       * Animation\n       * @see https://tailwindcss.com/docs/animation\n       */\n      animate: [{\n        animate: [\"none\", \"spin\", \"ping\", \"pulse\", \"bounce\", isArbitraryValue]\n      }],\n      // Transforms\n      /**\n       * Transform\n       * @see https://tailwindcss.com/docs/transform\n       */\n      transform: [{\n        transform: [\"\", \"gpu\", \"none\"]\n      }],\n      /**\n       * Scale\n       * @see https://tailwindcss.com/docs/scale\n       */\n      scale: [{\n        scale: [scale]\n      }],\n      /**\n       * Scale X\n       * @see https://tailwindcss.com/docs/scale\n       */\n      \"scale-x\": [{\n        \"scale-x\": [scale]\n      }],\n      /**\n       * Scale Y\n       * @see https://tailwindcss.com/docs/scale\n       */\n      \"scale-y\": [{\n        \"scale-y\": [scale]\n      }],\n      /**\n       * Rotate\n       * @see https://tailwindcss.com/docs/rotate\n       */\n      rotate: [{\n        rotate: [isInteger, isArbitraryValue]\n      }],\n      /**\n       * Translate X\n       * @see https://tailwindcss.com/docs/translate\n       */\n      \"translate-x\": [{\n        \"translate-x\": [translate]\n      }],\n      /**\n       * Translate Y\n       * @see https://tailwindcss.com/docs/translate\n       */\n      \"translate-y\": [{\n        \"translate-y\": [translate]\n      }],\n      /**\n       * Skew X\n       * @see https://tailwindcss.com/docs/skew\n       */\n      \"skew-x\": [{\n        \"skew-x\": [skew]\n      }],\n      /**\n       * Skew Y\n       * @see https://tailwindcss.com/docs/skew\n       */\n      \"skew-y\": [{\n        \"skew-y\": [skew]\n      }],\n      /**\n       * Transform Origin\n       * @see https://tailwindcss.com/docs/transform-origin\n       */\n      \"transform-origin\": [{\n        origin: [\"center\", \"top\", \"top-right\", \"right\", \"bottom-right\", \"bottom\", \"bottom-left\", \"left\", \"top-left\", isArbitraryValue]\n      }],\n      // Interactivity\n      /**\n       * Accent Color\n       * @see https://tailwindcss.com/docs/accent-color\n       */\n      accent: [{\n        accent: [\"auto\", colors]\n      }],\n      /**\n       * Appearance\n       * @see https://tailwindcss.com/docs/appearance\n       */\n      appearance: [{\n        appearance: [\"none\", \"auto\"]\n      }],\n      /**\n       * Cursor\n       * @see https://tailwindcss.com/docs/cursor\n       */\n      cursor: [{\n        cursor: [\"auto\", \"default\", \"pointer\", \"wait\", \"text\", \"move\", \"help\", \"not-allowed\", \"none\", \"context-menu\", \"progress\", \"cell\", \"crosshair\", \"vertical-text\", \"alias\", \"copy\", \"no-drop\", \"grab\", \"grabbing\", \"all-scroll\", \"col-resize\", \"row-resize\", \"n-resize\", \"e-resize\", \"s-resize\", \"w-resize\", \"ne-resize\", \"nw-resize\", \"se-resize\", \"sw-resize\", \"ew-resize\", \"ns-resize\", \"nesw-resize\", \"nwse-resize\", \"zoom-in\", \"zoom-out\", isArbitraryValue]\n      }],\n      /**\n       * Caret Color\n       * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n       */\n      \"caret-color\": [{\n        caret: [colors]\n      }],\n      /**\n       * Pointer Events\n       * @see https://tailwindcss.com/docs/pointer-events\n       */\n      \"pointer-events\": [{\n        \"pointer-events\": [\"none\", \"auto\"]\n      }],\n      /**\n       * Resize\n       * @see https://tailwindcss.com/docs/resize\n       */\n      resize: [{\n        resize: [\"none\", \"y\", \"x\", \"\"]\n      }],\n      /**\n       * Scroll Behavior\n       * @see https://tailwindcss.com/docs/scroll-behavior\n       */\n      \"scroll-behavior\": [{\n        scroll: [\"auto\", \"smooth\"]\n      }],\n      /**\n       * Scroll Margin\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-m\": [{\n        \"scroll-m\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin X\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mx\": [{\n        \"scroll-mx\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Y\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-my\": [{\n        \"scroll-my\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Start\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-ms\": [{\n        \"scroll-ms\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin End\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-me\": [{\n        \"scroll-me\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Top\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mt\": [{\n        \"scroll-mt\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Right\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mr\": [{\n        \"scroll-mr\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Bottom\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-mb\": [{\n        \"scroll-mb\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Margin Left\n       * @see https://tailwindcss.com/docs/scroll-margin\n       */\n      \"scroll-ml\": [{\n        \"scroll-ml\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-p\": [{\n        \"scroll-p\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding X\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-px\": [{\n        \"scroll-px\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Y\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-py\": [{\n        \"scroll-py\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Start\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-ps\": [{\n        \"scroll-ps\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding End\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pe\": [{\n        \"scroll-pe\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Top\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pt\": [{\n        \"scroll-pt\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Right\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pr\": [{\n        \"scroll-pr\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Bottom\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pb\": [{\n        \"scroll-pb\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Padding Left\n       * @see https://tailwindcss.com/docs/scroll-padding\n       */\n      \"scroll-pl\": [{\n        \"scroll-pl\": getSpacingWithArbitrary()\n      }],\n      /**\n       * Scroll Snap Align\n       * @see https://tailwindcss.com/docs/scroll-snap-align\n       */\n      \"snap-align\": [{\n        snap: [\"start\", \"end\", \"center\", \"align-none\"]\n      }],\n      /**\n       * Scroll Snap Stop\n       * @see https://tailwindcss.com/docs/scroll-snap-stop\n       */\n      \"snap-stop\": [{\n        snap: [\"normal\", \"always\"]\n      }],\n      /**\n       * Scroll Snap Type\n       * @see https://tailwindcss.com/docs/scroll-snap-type\n       */\n      \"snap-type\": [{\n        snap: [\"none\", \"x\", \"y\", \"both\"]\n      }],\n      /**\n       * Scroll Snap Type Strictness\n       * @see https://tailwindcss.com/docs/scroll-snap-type\n       */\n      \"snap-strictness\": [{\n        snap: [\"mandatory\", \"proximity\"]\n      }],\n      /**\n       * Touch Action\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      touch: [{\n        touch: [\"auto\", \"none\", \"manipulation\"]\n      }],\n      /**\n       * Touch Action X\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      \"touch-x\": [{\n        \"touch-pan\": [\"x\", \"left\", \"right\"]\n      }],\n      /**\n       * Touch Action Y\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      \"touch-y\": [{\n        \"touch-pan\": [\"y\", \"up\", \"down\"]\n      }],\n      /**\n       * Touch Action Pinch Zoom\n       * @see https://tailwindcss.com/docs/touch-action\n       */\n      \"touch-pz\": [\"touch-pinch-zoom\"],\n      /**\n       * User Select\n       * @see https://tailwindcss.com/docs/user-select\n       */\n      select: [{\n        select: [\"none\", \"text\", \"all\", \"auto\"]\n      }],\n      /**\n       * Will Change\n       * @see https://tailwindcss.com/docs/will-change\n       */\n      \"will-change\": [{\n        \"will-change\": [\"auto\", \"scroll\", \"contents\", \"transform\", isArbitraryValue]\n      }],\n      // SVG\n      /**\n       * Fill\n       * @see https://tailwindcss.com/docs/fill\n       */\n      fill: [{\n        fill: [colors, \"none\"]\n      }],\n      /**\n       * Stroke Width\n       * @see https://tailwindcss.com/docs/stroke-width\n       */\n      \"stroke-w\": [{\n        stroke: [isLength, isArbitraryLength, isArbitraryNumber]\n      }],\n      /**\n       * Stroke\n       * @see https://tailwindcss.com/docs/stroke\n       */\n      stroke: [{\n        stroke: [colors, \"none\"]\n      }],\n      // Accessibility\n      /**\n       * Screen Readers\n       * @see https://tailwindcss.com/docs/screen-readers\n       */\n      sr: [\"sr-only\", \"not-sr-only\"],\n      /**\n       * Forced Color Adjust\n       * @see https://tailwindcss.com/docs/forced-color-adjust\n       */\n      \"forced-color-adjust\": [{\n        \"forced-color-adjust\": [\"auto\", \"none\"]\n      }]\n    },\n    conflictingClassGroups: {\n      overflow: [\"overflow-x\", \"overflow-y\"],\n      overscroll: [\"overscroll-x\", \"overscroll-y\"],\n      inset: [\"inset-x\", \"inset-y\", \"start\", \"end\", \"top\", \"right\", \"bottom\", \"left\"],\n      \"inset-x\": [\"right\", \"left\"],\n      \"inset-y\": [\"top\", \"bottom\"],\n      flex: [\"basis\", \"grow\", \"shrink\"],\n      gap: [\"gap-x\", \"gap-y\"],\n      p: [\"px\", \"py\", \"ps\", \"pe\", \"pt\", \"pr\", \"pb\", \"pl\"],\n      px: [\"pr\", \"pl\"],\n      py: [\"pt\", \"pb\"],\n      m: [\"mx\", \"my\", \"ms\", \"me\", \"mt\", \"mr\", \"mb\", \"ml\"],\n      mx: [\"mr\", \"ml\"],\n      my: [\"mt\", \"mb\"],\n      size: [\"w\", \"h\"],\n      \"font-size\": [\"leading\"],\n      \"fvn-normal\": [\"fvn-ordinal\", \"fvn-slashed-zero\", \"fvn-figure\", \"fvn-spacing\", \"fvn-fraction\"],\n      \"fvn-ordinal\": [\"fvn-normal\"],\n      \"fvn-slashed-zero\": [\"fvn-normal\"],\n      \"fvn-figure\": [\"fvn-normal\"],\n      \"fvn-spacing\": [\"fvn-normal\"],\n      \"fvn-fraction\": [\"fvn-normal\"],\n      \"line-clamp\": [\"display\", \"overflow\"],\n      rounded: [\"rounded-s\", \"rounded-e\", \"rounded-t\", \"rounded-r\", \"rounded-b\", \"rounded-l\", \"rounded-ss\", \"rounded-se\", \"rounded-ee\", \"rounded-es\", \"rounded-tl\", \"rounded-tr\", \"rounded-br\", \"rounded-bl\"],\n      \"rounded-s\": [\"rounded-ss\", \"rounded-es\"],\n      \"rounded-e\": [\"rounded-se\", \"rounded-ee\"],\n      \"rounded-t\": [\"rounded-tl\", \"rounded-tr\"],\n      \"rounded-r\": [\"rounded-tr\", \"rounded-br\"],\n      \"rounded-b\": [\"rounded-br\", \"rounded-bl\"],\n      \"rounded-l\": [\"rounded-tl\", \"rounded-bl\"],\n      \"border-spacing\": [\"border-spacing-x\", \"border-spacing-y\"],\n      \"border-w\": [\"border-w-s\", \"border-w-e\", \"border-w-t\", \"border-w-r\", \"border-w-b\", \"border-w-l\"],\n      \"border-w-x\": [\"border-w-r\", \"border-w-l\"],\n      \"border-w-y\": [\"border-w-t\", \"border-w-b\"],\n      \"border-color\": [\"border-color-s\", \"border-color-e\", \"border-color-t\", \"border-color-r\", \"border-color-b\", \"border-color-l\"],\n      \"border-color-x\": [\"border-color-r\", \"border-color-l\"],\n      \"border-color-y\": [\"border-color-t\", \"border-color-b\"],\n      \"scroll-m\": [\"scroll-mx\", \"scroll-my\", \"scroll-ms\", \"scroll-me\", \"scroll-mt\", \"scroll-mr\", \"scroll-mb\", \"scroll-ml\"],\n      \"scroll-mx\": [\"scroll-mr\", \"scroll-ml\"],\n      \"scroll-my\": [\"scroll-mt\", \"scroll-mb\"],\n      \"scroll-p\": [\"scroll-px\", \"scroll-py\", \"scroll-ps\", \"scroll-pe\", \"scroll-pt\", \"scroll-pr\", \"scroll-pb\", \"scroll-pl\"],\n      \"scroll-px\": [\"scroll-pr\", \"scroll-pl\"],\n      \"scroll-py\": [\"scroll-pt\", \"scroll-pb\"],\n      touch: [\"touch-x\", \"touch-y\", \"touch-pz\"],\n      \"touch-x\": [\"touch\"],\n      \"touch-y\": [\"touch\"],\n      \"touch-pz\": [\"touch\"]\n    },\n    conflictingClassGroupModifiers: {\n      \"font-size\": [\"leading\"]\n    }\n  };\n};\nconst mergeConfigs = (baseConfig, {\n  cacheSize,\n  prefix,\n  separator,\n  experimentalParseClassName,\n  extend = {},\n  override = {}\n}) => {\n  overrideProperty(baseConfig, \"cacheSize\", cacheSize);\n  overrideProperty(baseConfig, \"prefix\", prefix);\n  overrideProperty(baseConfig, \"separator\", separator);\n  overrideProperty(baseConfig, \"experimentalParseClassName\", experimentalParseClassName);\n  for (const configKey in override) {\n    overrideConfigProperties(baseConfig[configKey], override[configKey]);\n  }\n  for (const key in extend) {\n    mergeConfigProperties(baseConfig[key], extend[key]);\n  }\n  return baseConfig;\n};\nconst overrideProperty = (baseObject, overrideKey, overrideValue) => {\n  if (overrideValue !== void 0) {\n    baseObject[overrideKey] = overrideValue;\n  }\n};\nconst overrideConfigProperties = (baseObject, overrideObject) => {\n  if (overrideObject) {\n    for (const key in overrideObject) {\n      overrideProperty(baseObject, key, overrideObject[key]);\n    }\n  }\n};\nconst mergeConfigProperties = (baseObject, mergeObject) => {\n  if (mergeObject) {\n    for (const key in mergeObject) {\n      const mergeValue = mergeObject[key];\n      if (mergeValue !== void 0) {\n        baseObject[key] = (baseObject[key] || []).concat(mergeValue);\n      }\n    }\n  }\n};\nconst extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === \"function\" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);\nconst twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);\nexport {\n  createTailwindMerge,\n  extendTailwindMerge,\n  fromTheme,\n  getDefaultConfig,\n  mergeConfigs,\n  twJoin,\n  twMerge\n};\n","import { b as u, g as p, e as y, c as x, f as a, h as g, a as l } from \"./chunk-JXBJZR5A.js\";\nimport { twMerge, extendTailwindMerge } from \"../../tailwind-merge/dist/bundle-mjs.js\";\nvar ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, _ = (s) => s || void 0, M = (...s) => _(y(s).filter(Boolean).join(\" \")), R = null, v = {}, q = false, j = (...s) => (b$1) => b$1.twMerge ? ((!R || q) && (q = false, R = u(v) ? twMerge : extendTailwindMerge({ ...v, extend: { theme: v.theme, classGroups: v.classGroups, conflictingClassGroupModifiers: v.conflictingClassGroupModifiers, conflictingClassGroups: v.conflictingClassGroups, ...v.extend } })), _(R(M(s)))) : M(s), Z = (s, b) => {\n  for (let e in b)\n    s.hasOwnProperty(e) ? s[e] = M(s[e], b[e]) : s[e] = b[e];\n  return s;\n}, ce = (s, b$1) => {\n  let { extend: e = null, slots: N = {}, variants: F = {}, compoundVariants: U = [], compoundSlots: C = [], defaultVariants: W = {} } = s, m = { ...ie, ...b$1 }, S = e != null && e.base ? M(e.base, s == null ? void 0 : s.base) : s == null ? void 0 : s.base, g$1 = e != null && e.variants && !u(e.variants) ? p(F, e.variants) : F, A = e != null && e.defaultVariants && !u(e.defaultVariants) ? { ...e.defaultVariants, ...W } : W;\n  !u(m.twMergeConfig) && !x(m.twMergeConfig, v) && (q = true, v = m.twMergeConfig);\n  let O = u(e == null ? void 0 : e.slots), $ = u(N) ? {} : { base: M(s == null ? void 0 : s.base, O && (e == null ? void 0 : e.base)), ...N }, w = O ? $ : Z({ ...e == null ? void 0 : e.slots }, u($) ? { base: s == null ? void 0 : s.base } : $), h$1 = u(e == null ? void 0 : e.compoundVariants) ? U : a(e == null ? void 0 : e.compoundVariants, U), V = (f) => {\n    if (u(g$1) && u(N) && O)\n      return j(S, f == null ? void 0 : f.class, f == null ? void 0 : f.className)(m);\n    if (h$1 && !Array.isArray(h$1))\n      throw new TypeError(`The \"compoundVariants\" prop must be an array. Received: ${typeof h$1}`);\n    if (C && !Array.isArray(C))\n      throw new TypeError(`The \"compoundSlots\" prop must be an array. Received: ${typeof C}`);\n    let K = (t, n, a2 = [], i) => {\n      let r = a2;\n      if (typeof n == \"string\")\n        r = r.concat(g(n).split(\" \").map((o) => `${t}:${o}`));\n      else if (Array.isArray(n))\n        r = r.concat(n.reduce((o, c) => o.concat(`${t}:${c}`), []));\n      else if (typeof n == \"object\" && typeof i == \"string\") {\n        for (let o in n)\n          if (n.hasOwnProperty(o) && o === i) {\n            let c = n[o];\n            if (c && typeof c == \"string\") {\n              let l2 = g(c);\n              r[i] ? r[i] = r[i].concat(l2.split(\" \").map((u2) => `${t}:${u2}`)) : r[i] = l2.split(\" \").map((u2) => `${t}:${u2}`);\n            } else\n              Array.isArray(c) && c.length > 0 && (r[i] = c.reduce((l2, u2) => l2.concat(`${t}:${u2}`), []));\n          }\n      }\n      return r;\n    }, z = (t, n = g$1, a$1 = null, i = null) => {\n      var J;\n      let r = n[t];\n      if (!r || u(r))\n        return null;\n      let o = (J = i == null ? void 0 : i[t]) != null ? J : f == null ? void 0 : f[t];\n      if (o === null)\n        return null;\n      let c = l(o), l$1 = Array.isArray(m.responsiveVariants) && m.responsiveVariants.length > 0 || m.responsiveVariants === true, u$1 = A == null ? void 0 : A[t], d = [];\n      if (typeof c == \"object\" && l$1)\n        for (let [T, L] of Object.entries(c)) {\n          let ne = r[L];\n          if (T === \"initial\") {\n            u$1 = L;\n            continue;\n          }\n          Array.isArray(m.responsiveVariants) && !m.responsiveVariants.includes(T) || (d = K(T, ne, d, a$1));\n        }\n      let ae = c != null && typeof c != \"object\" ? c : l(u$1), k = r[ae || \"false\"];\n      return typeof d == \"object\" && typeof a$1 == \"string\" && d[a$1] ? Z(d, k) : d.length > 0 ? (d.push(k), d) : k;\n    }, P = () => g$1 ? Object.keys(g$1).map((t) => z(t, g$1)) : null, p2 = (t, n) => {\n      if (!g$1 || typeof g$1 != \"object\")\n        return null;\n      let a2 = new Array();\n      for (let i in g$1) {\n        let r = z(i, g$1, t, n), o = t === \"base\" && typeof r == \"string\" ? r : r && r[t];\n        o && (a2[a2.length] = o);\n      }\n      return a2;\n    }, D = {};\n    for (let t in f)\n      f[t] !== void 0 && (D[t] = f[t]);\n    let H = (t, n) => {\n      var i;\n      let a2 = typeof (f == null ? void 0 : f[t]) == \"object\" ? { [t]: (i = f[t]) == null ? void 0 : i.initial } : {};\n      return { ...A, ...D, ...a2, ...n };\n    }, I = (t = [], n) => {\n      let a2 = [];\n      for (let { class: i, className: r, ...o } of t) {\n        let c = true;\n        for (let [l2, u2] of Object.entries(o)) {\n          let d = H(l2, n);\n          if (Array.isArray(u2)) {\n            if (!u2.includes(d[l2])) {\n              c = false;\n              break;\n            }\n          } else if (d[l2] !== u2) {\n            c = false;\n            break;\n          }\n        }\n        c && (i && a2.push(i), r && a2.push(r));\n      }\n      return a2;\n    }, ee = (t) => {\n      let n = I(h$1, t);\n      if (!Array.isArray(n))\n        return n;\n      let a2 = {};\n      for (let i of n)\n        if (typeof i == \"string\" && (a2.base = j(a2.base, i)(m)), typeof i == \"object\")\n          for (let [r, o] of Object.entries(i))\n            a2[r] = j(a2[r], o)(m);\n      return a2;\n    }, te = (t) => {\n      if (C.length < 1)\n        return null;\n      let n = {};\n      for (let { slots: a2 = [], class: i, className: r, ...o } of C) {\n        if (!u(o)) {\n          let c = true;\n          for (let l2 of Object.keys(o)) {\n            let u2 = H(l2, t)[l2];\n            if (u2 === void 0 || (Array.isArray(o[l2]) ? !o[l2].includes(u2) : o[l2] !== u2)) {\n              c = false;\n              break;\n            }\n          }\n          if (!c)\n            continue;\n        }\n        for (let c of a2)\n          n[c] = n[c] || [], n[c].push([i, r]);\n      }\n      return n;\n    };\n    if (!u(N) || !O) {\n      let t = {};\n      if (typeof w == \"object\" && !u(w))\n        for (let n of Object.keys(w))\n          t[n] = (a2) => {\n            var i, r;\n            return j(w[n], p2(n, a2), ((i = ee(a2)) != null ? i : [])[n], ((r = te(a2)) != null ? r : [])[n], a2 == null ? void 0 : a2.class, a2 == null ? void 0 : a2.className)(m);\n          };\n      return t;\n    }\n    return j(S, P(), I(h$1), f == null ? void 0 : f.class, f == null ? void 0 : f.className)(m);\n  }, x$1 = () => {\n    if (!(!g$1 || typeof g$1 != \"object\"))\n      return Object.keys(g$1);\n  };\n  return V.variantKeys = x$1(), V.extend = e, V.base = S, V.slots = w, V.variants = g$1, V.defaultVariants = A, V.compoundSlots = C, V.compoundVariants = h$1, V;\n}, le = (s) => (b, e) => ce(b, e ? p(s, e) : s);\nexport {\n  j as cn,\n  M as cnBase,\n  le as createTV,\n  ie as defaultConfig,\n  ce as tv,\n  _ as voidEmpty\n};\n","const r = {\n  transparent: \"transparent\",\n  \"blue-100\": { DEFAULT: \"#ebf1ff\", light: \"#ebf1ff\", dark: \"#000033\" },\n  \"blue-200\": { DEFAULT: \"#b8cdff\", light: \"#b8cdff\", dark: \"#01058b\" },\n  \"blue-300\": { DEFAULT: \"#86a5ff\", light: \"#86a5ff\", dark: \"#0510be\" },\n  \"blue-400\": { DEFAULT: \"#5b7fff\", light: \"#5b7fff\", dark: \"#0e22dd\" },\n  \"blue-500\": { DEFAULT: \"#375fff\", light: \"#375fff\", dark: \"#1e3cf2\" },\n  \"blue-600\": { DEFAULT: \"#203ff6\", light: \"#203ff6\", dark: \"#375fff\" },\n  \"blue-700\": { DEFAULT: \"#1025e5\", light: \"#1025e5\", dark: \"#5f83ff\" },\n  \"blue-800\": { DEFAULT: \"#0611bd\", light: \"#0611bd\", dark: \"#8dabff\" },\n  \"blue-900\": { DEFAULT: \"#010474\", light: \"#010474\", dark: \"#bdd1ff\" },\n  \"blue-950\": { DEFAULT: \"#000033\", light: \"#000033\", dark: \"#ebf1ff\" },\n  \"blue-alpha-200\": { DEFAULT: \"#345fff14\", light: \"#345fff14\", dark: \"#bdd1ff14\" },\n  \"blue-alpha-300\": { DEFAULT: \"#345fff29\", light: \"#345fff29\", dark: \"#bdd1ff29\" },\n  \"blue-alpha-400\": { DEFAULT: \"#345fff3d\", light: \"#345fff3d\", dark: \"#bdd1ff3d\" },\n  \"gray-00\": { DEFAULT: \"#ffffff\", light: \"#ffffff\", dark: \"#000000\" },\n  \"gray-100\": { DEFAULT: \"#f4f4f4\", light: \"#f4f4f4\", dark: \"#19191A\" },\n  \"gray-200\": { DEFAULT: \"#e4e4e4\", light: \"#e4e4e4\", dark: \"#27272A\" },\n  \"gray-300\": { DEFAULT: \"#c4c4c4\", light: \"#c4c4c4\", dark: \"#303033\" },\n  \"gray-400\": { DEFAULT: \"#a0a0a0\", light: \"#a0a0a0\", dark: \"#474747\" },\n  \"gray-500\": { DEFAULT: \"#5d5d5d\", light: \"#5d5d5d\", dark: \"#5d5d5d\" },\n  \"gray-600\": { DEFAULT: \"#474747\", light: \"#474747\", dark: \"#a0a0a0\" },\n  \"gray-700\": { DEFAULT: \"#303033\", light: \"#303033\", dark: \"#c4c4c4\" },\n  \"gray-800\": { DEFAULT: \"#27272A\", light: \"#27272A\", dark: \"#e4e4e4\" },\n  \"gray-900\": { DEFAULT: \"#19191A\", light: \"#19191A\", dark: \"#f4f4f4\" },\n  \"gray-950\": { DEFAULT: \"#000000\", light: \"#000000\", dark: \"#ffffff\" },\n  \"gray-alpha-200\": { DEFAULT: \"#5d5d5d14\", light: \"#5d5d5d14\", dark: \"#f4f4f414\" },\n  // NOTE: #5D5D5D · 8% (light), #F4F4F4 · 8% (dark) - semantic/fill/tertiary\n  // #5D5D5D · 16%\n  \"gray-alpha-300\": { DEFAULT: \"#5d5d5d29\", light: \"#5d5d5d29\", dark: \"#a0a0a029\" },\n  \"gray-alpha-400\": { DEFAULT: \"#5d5d5d3d\", light: \"#5d5d5d3d\", dark: \"#a0a0a03d\" },\n  // NOTE: #5D5D5D 40%\n  \"gray-alpha-500\": {\n    DEFAULT: \"rgba(93, 93, 93, 0.4)\",\n    light: \"rgba(93, 93, 93, 0.4)\",\n    dark: \"rgba(93, 93, 93, 0.4)\"\n  },\n  // NOTE: #5D5D5D 52%\n  \"gray-alpha-600\": {\n    DEFAULT: \"rgba(93, 93, 93, 0.52)\",\n    light: \"rgba(93, 93, 93, 0.52)\",\n    dark: \"rgba(93, 93, 93, 0.52)\"\n  },\n  // NOTE: #5D5D5D 64%\n  \"gray-alpha-700\": {\n    DEFAULT: \"rgba(93, 93, 93, 0.64)\",\n    light: \"rgba(93, 93, 93, 0.64)\",\n    dark: \"rgba(93, 93, 93, 0.64)\"\n  },\n  // NOTE: #5D5D5D 80%\n  \"gray-alpha-800\": {\n    DEFAULT: \"rgba(93, 93, 93, 0.8)\",\n    light: \"rgba(93, 93, 93, 0.8)\",\n    dark: \"rgba(93, 93, 93, 0.8)\"\n  },\n  \"green-100\": { DEFAULT: \"#eefee6\", light: \"#eefee6\", dark: \"#1b2e11\" },\n  \"green-200\": { DEFAULT: \"#c2eeb2\", light: \"#c2eeb2\", dark: \"#234a15\" },\n  \"green-300\": { DEFAULT: \"#81dc71\", light: \"#81dc71\", dark: \"#246616\" },\n  \"green-400\": { DEFAULT: \"#3fcb3c\", light: \"#3fcb3c\", dark: \"#1e8214\" },\n  \"green-500\": { DEFAULT: \"#12ba23\", light: \"#12ba23\", dark: \"#129e14\" },\n  \"green-600\": { DEFAULT: \"#139e14\", light: \"#139e14\", dark: \"#12ba23\" },\n  \"green-700\": { DEFAULT: \"#1e8215\", light: \"#1e8215\", dark: \"#42cb3e\" },\n  \"green-800\": { DEFAULT: \"#246616\", light: \"#246616\", dark: \"#85dd76\" },\n  \"green-900\": { DEFAULT: \"#234a15\", light: \"#234a15\", dark: \"#c5eeb6\" },\n  \"green-950\": { DEFAULT: \"#1b2e11\", light: \"#1b2e11\", dark: \"#EEFEE6\" },\n  \"green-alpha-200\": { DEFAULT: \"#12ba2314\", light: \"#12ba2314\", dark: \"#85dd7614\" },\n  \"green-alpha-300\": { DEFAULT: \"#12ba2329\", light: \"#12ba2329\", dark: \"#85dd7629\" },\n  \"green-alpha-400\": { DEFAULT: \"#12ba233d\", light: \"#12ba233d\", dark: \"#85dd763d\" },\n  \"red-100\": { DEFAULT: \"#ffefeb\", light: \"#ffefeb\", dark: \"#2e1608\" },\n  \"red-200\": { DEFAULT: \"#ffbfaa\", light: \"#ffbfaa\", dark: \"#582509\" },\n  \"red-300\": { DEFAULT: \"#ff916c\", light: \"#ff916c\", dark: \"#822f07\" },\n  \"red-400\": { DEFAULT: \"#ff6933\", light: \"#ff6933\", dark: \"#ab3703\" },\n  \"red-500\": { DEFAULT: \"#ff4800\", light: \"#ff4800\", dark: \"#d53e00\" },\n  \"red-600\": { DEFAULT: \"#d53f00\", light: \"#d53f00\", dark: \"#ff4800\" },\n  \"red-700\": { DEFAULT: \"#ab3803\", light: \"#ab3803\", dark: \"#ff6c37\" },\n  \"red-800:\": { DEFAULT: \"#823107\", light: \"#823107\", dark: \"#ff9672\" },\n  \"red-900:\": { DEFAULT: \"#582609\", light: \"#582609\", dark: \"#ffc3b0\" },\n  \"red-950:\": { DEFAULT: \"#2e1608\", light: \"#2e1608\", dark: \"#ffefeb\" },\n  \"red-alpha-200\": { DEFAULT: \"#ff480014\", light: \"#ff480014\", dark: \"#ffc3b014\" },\n  \"red-alpha-300\": { DEFAULT: \"#ff480029\", light: \"#ff480029\", dark: \"#ffc3b029\" },\n  \"red-alpha-400\": { DEFAULT: \"#ff48003d\", light: \"#ff48003d\", dark: \"#ffc3b03d\" },\n  \"yellow-100:\": { DEFAULT: \"#fff7f0\", light: \"#fff7f0\", dark: \"#1a130c\" },\n  \"yellow-200\": { DEFAULT: \"#ffdfb9\", light: \"#ffdfb9\", dark: \"#47341c\" },\n  \"yellow-300\": { DEFAULT: \"#ffc97f\", light: \"#ffc97f\", dark: \"#755323\" },\n  \"yellow-400\": { DEFAULT: \"#ffb741\", light: \"#ffb741\", dark: \"#a37122\" },\n  \"yellow-500\": { DEFAULT: \"#ffa800\", light: \"#ffa800\", dark: \"#d18d17\" },\n  \"yellow-600\": { DEFAULT: \"#d18d16\", light: \"#d18d16\", dark: \"#ffa800\" },\n  \"yellow-700\": { DEFAULT: \"#a37021\", light: \"#a37021\", dark: \"#ffb741\" },\n  \"yellow-800\": { DEFAULT: \"#755322\", light: \"#755322\", dark: \"#ffc97f\" },\n  \"yellow-900\": { DEFAULT: \"#47341b\", light: \"#47341b\", dark: \"#ffdfb9\" },\n  \"yellow-950\": { DEFAULT: \"#19130c\", light: \"#19130c\", dark: \"#fff7f0\" },\n  // NOTE: #FF4800 8%\n  \"orange-red-alpha-200\": {\n    DEFAULT: \"rgba(255, 72, 0, 0.08)\",\n    light: \"rgba(255, 72, 0, 0.08)\",\n    dark: \"rgba(255, 72, 0, 0.08)\"\n  },\n  // NOTE: #FF4800 16%\n  \"orange-red-alpha-300\": {\n    DEFAULT: \"rgba(255, 72, 0, 0.16)\",\n    light: \"rgba(255, 72, 0, 0.16)\",\n    dark: \"rgba(255, 72, 0, 0.16)\"\n  },\n  // NOTE: #FF4800 24%\n  \"orange-red-alpha-400\": {\n    DEFAULT: \"rgba(255, 72, 0, 0.24)\",\n    light: \"rgba(255, 72, 0, 0.24)\",\n    dark: \"rgba(255, 72, 0, 0.24)\"\n  },\n  // NOTE: #CC1414 8%\n  \"deep-red-alpha-200\": {\n    DEFAULT: \"rgba(204, 20, 20, 0.08)\",\n    light: \"rgba(204, 20, 20, 0.08)\",\n    dark: \"rgba(204, 20, 20, 0.08)\"\n  },\n  // NOTE: #CC1414 16%\n  \"deep-red-alpha-300\": {\n    DEFAULT: \"rgba(204, 20, 20, 0.16)\",\n    light: \"rgba(204, 20, 20, 0.16)\",\n    dark: \"rgba(204, 20, 20, 0.16)\"\n  },\n  // NOTE: #CC1414 24%\n  \"deep-red-alpha-400\": {\n    DEFAULT: \"rgba(204, 20, 20, 0.24)\",\n    light: \"rgba(204, 20, 20, 0.24)\",\n    dark: \"rgba(204, 20, 20, 0.24)\"\n  },\n  \"deep-red-100\": { DEFAULT: \"#FFE6E6\", light: \"#FFE6E6\", dark: \"#FFE6E6\" },\n  \"deep-red-200\": { DEFAULT: \"#F2A9A9\", light: \"#F2A9A9\", dark: \"#F2A9A9\" },\n  \"deep-red-300\": { DEFAULT: \"#E67373\", light: \"#E67373\", dark: \"#E67373\" },\n  \"deep-red-400\": { DEFAULT: \"#D94141\", light: \"#D94141\", dark: \"#D94141\" },\n  \"deep-red-500\": { DEFAULT: \"#CC1414\", light: \"#CC1414\", dark: \"#CC1414\" },\n  \"deep-red-600\": { DEFAULT: \"#AD0700\", light: \"#AD0700\", dark: \"#AD0700\" },\n  \"deep-red-700\": { DEFAULT: \"#8F0B00\", light: \"#8F0B00\", dark: \"#8F0B00\" },\n  \"deep-red-800\": { DEFAULT: \"#700D00\", light: \"#700D00\", dark: \"#700D00\" },\n  \"deep-red-900\": { DEFAULT: \"#520D00\", light: \"#520D00\", dark: \"#520D00\" },\n  \"deep-red-950\": { DEFAULT: \"#330A00\", light: \"#330A00\", dark: \"#330A00\" },\n  \"orange-red-100\": { DEFAULT: \"#FFEFEB\", light: \"#FFEFEB\", dark: \"#FFEFEB\" },\n  \"orange-red-200\": { DEFAULT: \"#FFBFAA\", light: \"#FFBFAA\", dark: \"#FFBFAA\" },\n  \"orange-red-300\": { DEFAULT: \"#FF916C\", light: \"#FF916C\", dark: \"#FF916C\" },\n  \"orange-red-400\": { DEFAULT: \"#FF6933\", light: \"#FF6933\", dark: \"#FF6933\" },\n  \"orange-red-500\": { DEFAULT: \"#FF4800\", light: \"#FF4800\", dark: \"#FF4800\" },\n  \"orange-red-600\": { DEFAULT: \"#D53F00\", light: \"#D53F00\", dark: \"#D53F00\" },\n  \"orange-red-700\": { DEFAULT: \"#AB3803\", light: \"#AB3803\", dark: \"#AB3803\" },\n  \"orange-red-800\": { DEFAULT: \"#823107\", light: \"#823107\", dark: \"#823107\" },\n  \"orange-red-900\": { DEFAULT: \"#582609\", light: \"#582609\", dark: \"#582609\" },\n  \"orange-red-950\": { DEFAULT: \"#2E1608\", light: \"#2E1608\", dark: \"#2E1608\" }\n}, l = {\n  black: \"#000000\",\n  white: \"#ffffff\",\n  \"white-alpha-200\": \"#FFFFFF20\",\n  \"white-alpha-500\": \"#FFFFFF80\",\n  \"white-alpha-900\": \"#FFFFFFe6\",\n  \"black-alpha-200\": \"#00000020\",\n  \"black-alpha-500\": \"#00000080\",\n  \"black-alpha-900\": \"#000000e6\"\n}, d = {\n  ...l,\n  inherit: \"inherit\",\n  transparent: \"transparent\",\n  \"on-black\": l.black,\n  \"on-black-hover\": l[\"black-alpha-900\"],\n  \"on-black-pressed\": l[\"black-alpha-900\"],\n  \"on-white\": l.white,\n  \"on-white-hover\": l[\"white-alpha-900\"],\n  \"on-white-pressed\": l[\"white-alpha-900\"],\n  \"interactive-low\": r[\"blue-alpha-200\"],\n  interactive: r[\"blue-500\"],\n  \"interactive-hover\": r[\"blue-400\"],\n  \"interactive-pressed\": r[\"blue-400\"],\n  negative: r[\"deep-red-500\"],\n  \"negative-hover\": r[\"deep-red-400\"],\n  \"negative-pressed\": r[\"deep-red-400\"],\n  \"negative-low\": r[\"deep-red-alpha-200\"],\n  \"accent-low\": r[\"orange-red-alpha-200\"],\n  accent: r[\"orange-red-500\"],\n  \"positive-low\": r[\"green-alpha-200\"],\n  positive: r[\"green-500\"],\n  \"positive-hover\": r[\"green-400\"],\n  \"positive-pressed\": r[\"green-400\"]\n}, e = {\n  colors: { ...r, ...d },\n  borderColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    line: a(\"colors.gray-300\"),\n    divider: a(\"colors.gray-alpha-300\"),\n    \"divider-strong\": a(\"colors.gray-950\"),\n    \"line-hover\": a(\"colors.gray-alpha-400\"),\n    \"line-pressed\": a(\"colors.gray-alpha-400\"),\n    \"line-selected\": a(\"colors.gray-950\"),\n    \"line-disabled\": a(\"colors.gray-alpha-200\")\n  }),\n  outlineColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    \"line-hover\": a(\"colors.gray-400\"),\n    \"line-pressed\": a(\"colors.gray-400\"),\n    \"line-selected\": a(\"colors.gray-950\"),\n    \"line-disabled\": a(\"colors.gray-100\")\n  }),\n  divideColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    default: a(\"colors.gray-100\"),\n    line: a(\"colors.gray-100\"),\n    strong: a(\"colors.gray-950\")\n  }),\n  backgroundColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    low: a(\"colors.gray-100\"),\n    default: a(\"colors.gray-00\"),\n    \"default-black\": a(\"colors.gray-950\"),\n    primary: a(\"colors.gray-950\"),\n    \"primary-hover\": a(\"colors.gray-800\"),\n    \"primary-pressed\": a(\"colors.gray-800\"),\n    secondary: a(\"colors.gray-700\"),\n    tertiary: a(\"colors.gray-alpha-200\"),\n    \"fill-tertiary\": a(\"colors.gray-alpha-200\"),\n    silent: a(\"colors.gray-00\"),\n    \"silent-hover\": a(\"colors.gray-100\"),\n    \"silent-pressed\": a(\"colors.gray-100\"),\n    \"surface-contents\": a(\"colors.gray-100\"),\n    \"surface-floating\": a(\"colors.gray-950\"),\n    \"surface-dialog\": a(\"colors.gray-00\"),\n    \"surface-sheet\": a(\"colors.gray-00\"),\n    \"surface-black\": a(\"colors.gray-00\"),\n    disabled: a(\"colors.gray-100\"),\n    dimmed: a(\"colors.black-alpha-500\"),\n    \"blur-ultrathin\": \"rgba(191, 191, 191, 0.44)\",\n    \"blur-ultrathin-black\": \"rgba(93, 88, 81, 0.66)\",\n    // NOTE: text color 토큰임에도 불구하고 bg 용으로 사용되는 Edge 케이스 대응 색상 - (eg. Radio)\n    divider: a(\"colors.gray-alpha-300\"),\n    \"text-on-color\": a(\"colors.gray-00\"),\n    \"text-disabled\": a(\"colors.gray-alpha-500\"),\n    \"semantic-text-primary\": a(\"colors.gray-950\")\n  }),\n  textColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    primary: a(\"colors.gray-950\"),\n    \"primary-hover\": a(\"colors.gray-600\"),\n    \"primary-pressed\": a(\"colors.gray-600\"),\n    secondary: a(\"colors.gray-600\"),\n    \"secondary-hover\": a(\"colors.gray-500\"),\n    \"secondary-pressed\": a(\"colors.gray-500\"),\n    tertiary: a(\"colors.gray-alpha-700\"),\n    \"tertiary-hover\": a(\"colors.gray-alpha-800\"),\n    \"tertiary-pressed\": a(\"colors.gray-alpha-800\"),\n    disabled: a(\"colors.gray-alpha-500\"),\n    \"on-color\": a(\"colors.gray-00\")\n  }),\n  accentColor: ({ theme: a }) => ({\n    ...a(\"colors\"),\n    low: a(\"colors.red-alpha-200\"),\n    default: a(\"colors.red-500\")\n  })\n};\nexport {\n  e as colorTheme,\n  r as scaleToken\n};\n","const p = {\n  0: \"0px\",\n  2: \"2px\",\n  4: \"4px\",\n  6: \"6px\",\n  8: \"8px\",\n  16: \"16px\",\n  20: \"20px\",\n  full: \"9999px\"\n};\nexport {\n  p as radiusTheme\n};\n","const x = {\n  /**\n   * NOTE:(신다혜) - 29CM 반응형 토큰 의사 결정 레퍼런스 문서 참고\n   * @see {@link https://29responsive-test.netlify.app/}\n   */\n  md: \"541px\",\n  lg: \"1025px\",\n  xl: \"1280px\",\n  xxl: \"2560px\"\n};\nexport {\n  x as screensTheme\n};\n","const r = (n) => {\n  const e = n / 16;\n  return e % 1 === 0 ? `${e}rem` : `${e.toFixed(3)}rem`;\n}, o = (n) => Array.from({ length: n / 2 + 1 }, (e, t) => t * 2).reduce(\n  (e, t) => (e[t] = r(t), e),\n  {}\n);\nconst c = {\n  inherit: \"inherit\",\n  full: \"100%\",\n  screen: \"100vw\",\n  min: \"min-content\",\n  max: \"max-content\",\n  fit: \"fit-content\",\n  auto: \"auto\",\n  \"1/7\": \"14.285714%\"\n}, i = { ...c, ...o(2560) };\nexport {\n  i as spaceTheme\n};\n","function l(e) {\n  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nexport {\n  l as getDefaultExportFromCjs\n};\n","var e = {};\nexport {\n  e as __exports\n};\n","import { getDefaultExportFromCjs as l$1 } from \"../../../../../_virtual/_commonjsHelpers.js\";\nimport { __exports as e$1 } from \"../../../../../_virtual/default-theme.js\";\nlet e = e$1;\nvar l = (e.__esModule ? e : { default: e }).default;\nconst r = /* @__PURE__ */ l$1(l);\nexport {\n  r as default\n};\n","import r from \"../../../node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.5.0/node_modules/tailwindcss/defaultTheme.js\";\nconst e = {\n  \"font-size-25\": \"10px\",\n  \"font-size-50\": \"11px\",\n  \"font-size-75\": \"12px\",\n  \"font-size-100\": \"13px\",\n  \"font-size-125\": \"14px\",\n  \"font-size-150\": \"15px\",\n  \"font-size-200\": \"16px\",\n  \"font-size-250\": \"18px\",\n  \"font-size-300\": \"20px\",\n  \"font-size-350\": \"22px\",\n  \"font-size-400\": \"24px\",\n  \"font-size-500\": \"28px\",\n  \"font-size-550\": \"30px\",\n  \"font-size-600\": \"32px\",\n  \"font-size-1000\": \"48px\"\n}, i = {\n  \"thin-100\": \"100\",\n  \"extraLight-200\": \"200\",\n  \"light-300\": \"300\",\n  \"regular-400\": \"400\",\n  \"medium-500\": \"500\",\n  \"semibold-600\": \"600\",\n  \"bold-700\": \"700\",\n  \"extraBold-800\": \"800\"\n}, t = {\n  \"line-height-1\": \"100%\",\n  \"line-height-2\": \"120%\",\n  \"line-height-3\": \"136%\",\n  \"line-height-4\": \"140%\",\n  \"line-height-5\": \"150%\",\n  \"line-height-6\": \"160%\"\n};\nvar n, h;\nconst o = {\n  fontSize: {\n    \"title-xxl\": [\n      e[\"font-size-550\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-xxl-medium\": [\n      e[\"font-size-550\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-xxl-bold\": [\n      e[\"font-size-550\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-xl\": [\n      e[\"font-size-500\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-xl-medium\": [\n      e[\"font-size-500\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-xl-bold\": [\n      e[\"font-size-500\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-l\": [\n      e[\"font-size-400\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-l-medium\": [\n      e[\"font-size-400\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-l-bold\": [\n      e[\"font-size-400\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-m\": [\n      e[\"font-size-350\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-m-medium\": [\n      e[\"font-size-350\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-m-bold\": [\n      e[\"font-size-350\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-s\": [\n      e[\"font-size-300\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-s-medium\": [\n      e[\"font-size-300\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-s-bold\": [\n      e[\"font-size-300\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"title-xs\": [\n      e[\"font-size-250\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"title-xs-medium\": [\n      e[\"font-size-250\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"title-xs-bold\": [\n      e[\"font-size-250\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    xxl: [\n      e[\"font-size-200\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xxl-medium\": [\n      e[\"font-size-200\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"xxl-bold\": [\n      e[\"font-size-200\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    xl: [\n      e[\"font-size-150\"],\n      {\n        lineHeight: t[\"line-height-5\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xl-medium\": [\n      e[\"font-size-150\"],\n      {\n        lineHeight: t[\"line-height-5\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"xl-bold\": [\n      e[\"font-size-150\"],\n      {\n        lineHeight: t[\"line-height-5\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    l: [\n      e[\"font-size-125\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"l-medium\": [\n      e[\"font-size-125\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"l-bold\": [\n      e[\"font-size-125\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    m: [\n      e[\"font-size-100\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"m-medium\": [\n      e[\"font-size-100\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"m-bold\": [\n      e[\"font-size-100\"],\n      {\n        lineHeight: t[\"line-height-4\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    s: [\n      e[\"font-size-75\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"s-medium\": [\n      e[\"font-size-75\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"s-bold\": [\n      e[\"font-size-75\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    \"xs-medium\": [\n      e[\"font-size-50\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    xs: [\n      e[\"font-size-50\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xs-bold\": [\n      e[\"font-size-50\"],\n      {\n        lineHeight: t[\"line-height-3\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ],\n    xxs: [\n      e[\"font-size-25\"],\n      {\n        lineHeight: t[\"line-height-2\"],\n        fontWeight: i[\"regular-400\"]\n      }\n    ],\n    \"xxs-medium\": [\n      e[\"font-size-25\"],\n      {\n        lineHeight: t[\"line-height-2\"],\n        fontWeight: i[\"medium-500\"]\n      }\n    ],\n    \"xxs-bold\": [\n      e[\"font-size-25\"],\n      {\n        lineHeight: t[\"line-height-2\"],\n        fontWeight: i[\"bold-700\"]\n      }\n    ]\n  },\n  fontFamily: {\n    // 기본 폰트(sans)로 pretendard로 설정\n    sans: [\"var(--font-pretendard)\", ...((h = (n = r) == null ? void 0 : n.fontFamily) == null ? void 0 : h.sans) ?? \"sans-serif\"],\n    \"pretendard-with-ios-fallback\": [\"var(--font-pretendard-with-ios-fallback)\"]\n  }\n};\nexport {\n  o as fontTheme\n};\n","const n = {\n  popup: \"3000\",\n  mask: \"1000\",\n  // NOTE: Numbering 된 zIndex는 RulerContext를 통해서만 사용합니다.\n  // TODO:(신다혜) Layer.css를 통해 별도 variable 관리가 필요합니다. Theme에서 제거 예정입니다.\n  \"popup-1\": \"4000\",\n  \"popup-2\": \"5000\",\n  \"popup-3\": \"6000\",\n  \"popup-4\": \"7000\",\n  \"popup-5\": \"8000\",\n  \"mask-1\": \"3500\",\n  \"mask-2\": \"4500\",\n  \"mask-3\": \"5500\",\n  \"mask-4\": \"6500\",\n  \"mask-5\": \"7500\",\n  // NOTE:\n  /**\n   * NOTE: snackbar는 Floating되는 UI중 가장 상위 레이어에 위치하므로, 별도로 Stack을 관리하고 최상단에 위치합니다.\n   * @see @{@link https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index/25461690#25461690}\n   */\n  snackbar: \"2147483647\",\n  navigation: \"200\",\n  \"content-1\": \"20\",\n  \"content-2\": \"40\",\n  \"content-3\": \"60\",\n  \"content-4\": \"80\",\n  \"content-5\": \"100\",\n  \"content-6\": \"120\",\n  \"content-7\": \"140\",\n  \"content-8\": \"160\",\n  \"content-9\": \"180\"\n};\nexport {\n  n as zIndexTheme\n};\n","import { colorTheme as e } from \"./color.js\";\nimport { radiusTheme as p } from \"./radius.js\";\nimport { screensTheme as x } from \"./screens.js\";\nimport { spaceTheme as i } from \"./space.js\";\nimport { fontTheme as o } from \"./typography.js\";\nimport { zIndexTheme as n } from \"./zIndex.js\";\nconst s = {\n  ...e,\n  fontSize: o.fontSize,\n  spacing: i,\n  // TODO:(신다혜) : maxWidth를 다른 방식으로 핸들링하도록 수정 필요함\n  maxWidth: i,\n  borderRadius: p,\n  borderWidth: {\n    DEFAULT: \"1px\",\n    0: \"0\",\n    2: \"2px\",\n    4: \"4px\",\n    6: \"6px\",\n    8: \"8px\"\n  },\n  screens: x,\n  zIndex: n,\n  extend: {\n    fontFamily: o.fontFamily,\n    dropShadow: {\n      100: \"0px 0px 2px rgba(0, 0, 0, 0.28)\"\n    }\n  }\n};\nexport {\n  s as theme\n};\n","import { createTV as le, cn as j, defaultConfig as ie } from \"../../../../../../tailwind-variants/dist/index.js\";\nimport { theme as s } from \"../tailwind/theme.js\";\nvar e;\nconst i = {\n  classGroups: {\n    \"font-size\": [...Object.keys(((e = s) == null ? void 0 : e.fontSize) ?? {}).map((t) => `text-${t}`)]\n  }\n}, o = {\n  ...ie,\n  twMergeConfig: i\n}, g = le(o), a = (...t) => j(t)(o);\nexport {\n  a as cn,\n  g as tv\n};\n","const r = {\n  AppleIcon: () => import(\"./components/IcApple.js\"),\n  ArrayBoldIcon: () => import(\"./components/IcArrayBold.js\"),\n  ArrayBoldFillIcon: () => import(\"./components/IcArrayBoldFill.js\"),\n  ArrayRegularIcon: () => import(\"./components/IcArrayRegular.js\"),\n  ArrowLeftBoldIcon: () => import(\"./components/IcArrowLeftBold.js\"),\n  ArrowLeftBoldFillIcon: () => import(\"./components/IcArrowLeftBoldFill.js\"),\n  ArrowLeftLightIcon: () => import(\"./components/IcArrowLeftLight.js\"),\n  ArrowLeftRegularIcon: () => import(\"./components/IcArrowLeftRegular.js\"),\n  ArrowRightBoldIcon: () => import(\"./components/IcArrowRightBold.js\"),\n  ArrowRightBoldFillIcon: () => import(\"./components/IcArrowRightBoldFill.js\"),\n  ArrowRightLightIcon: () => import(\"./components/IcArrowRightLight.js\"),\n  ArrowRightRegularIcon: () => import(\"./components/IcArrowRightRegular.js\"),\n  BagBoldIcon: () => import(\"./components/IcBagBold.js\"),\n  BagBoldFillIcon: () => import(\"./components/IcBagBoldFill.js\"),\n  BagLightIcon: () => import(\"./components/IcBagLight.js\"),\n  BagRegularIcon: () => import(\"./components/IcBagRegular.js\"),\n  BarsBoldIcon: () => import(\"./components/IcBarsBold.js\"),\n  BarsBoldFillIcon: () => import(\"./components/IcBarsBoldFill.js\"),\n  BarsLightIcon: () => import(\"./components/IcBarsLight.js\"),\n  BarsRegularIcon: () => import(\"./components/IcBarsRegular.js\"),\n  BellBoldIcon: () => import(\"./components/IcBellBold.js\"),\n  BellBoldFillIcon: () => import(\"./components/IcBellBoldFill.js\"),\n  BellLightIcon: () => import(\"./components/IcBellLight.js\"),\n  BellRegularIcon: () => import(\"./components/IcBellRegular.js\"),\n  BelloffBoldIcon: () => import(\"./components/IcBelloffBold.js\"),\n  BelloffBoldFillIcon: () => import(\"./components/IcBelloffBoldFill.js\"),\n  BelloffLightIcon: () => import(\"./components/IcBelloffLight.js\"),\n  BelloffRegularIcon: () => import(\"./components/IcBelloffRegular.js\"),\n  BoxBoldIcon: () => import(\"./components/IcBoxBold.js\"),\n  BoxBoldFillIcon: () => import(\"./components/IcBoxBoldFill.js\"),\n  BoxLightIcon: () => import(\"./components/IcBoxLight.js\"),\n  BoxRegularIcon: () => import(\"./components/IcBoxRegular.js\"),\n  CameraBoldIcon: () => import(\"./components/IcCameraBold.js\"),\n  CameraBoldFillIcon: () => import(\"./components/IcCameraBoldFill.js\"),\n  CameraLightIcon: () => import(\"./components/IcCameraLight.js\"),\n  CameraRegularIcon: () => import(\"./components/IcCameraRegular.js\"),\n  CategoryBoldIcon: () => import(\"./components/IcCategoryBold.js\"),\n  CategoryBoldFillIcon: () => import(\"./components/IcCategoryBoldFill.js\"),\n  CategoryRegularIcon: () => import(\"./components/IcCategoryRegular.js\"),\n  CautionBoldIcon: () => import(\"./components/IcCautionBold.js\"),\n  CautionBoldFillIcon: () => import(\"./components/IcCautionBoldFill.js\"),\n  CautionLightIcon: () => import(\"./components/IcCautionLight.js\"),\n  CautionRegularIcon: () => import(\"./components/IcCautionRegular.js\"),\n  CheckBoldIcon: () => import(\"./components/IcCheckBold.js\"),\n  CheckBoldFillIcon: () => import(\"./components/IcCheckBoldFill.js\"),\n  CheckCalendarBoldIcon: () => import(\"./components/IcCheckCalendarBold.js\"),\n  CheckCalendarBoldFillIcon: () => import(\"./components/IcCheckCalendarBoldFill.js\"),\n  CheckCalendarLightIcon: () => import(\"./components/IcCheckCalendarLight.js\"),\n  CheckCalendarRegularIcon: () => import(\"./components/IcCheckCalendarRegular.js\"),\n  CheckCircleBoldIcon: () => import(\"./components/IcCheckCircleBold.js\"),\n  CheckCircleBoldFillIcon: () => import(\"./components/IcCheckCircleBoldFill.js\"),\n  CheckCircleLightIcon: () => import(\"./components/IcCheckCircleLight.js\"),\n  CheckCircleRegularIcon: () => import(\"./components/IcCheckCircleRegular.js\"),\n  CheckLightIcon: () => import(\"./components/IcCheckLight.js\"),\n  CheckRegularIcon: () => import(\"./components/IcCheckRegular.js\"),\n  ChevronDownBoldIcon: () => import(\"./components/IcChevronDownBold.js\"),\n  ChevronDownBoldFillIcon: () => import(\"./components/IcChevronDownBoldFill.js\"),\n  ChevronDownLightIcon: () => import(\"./components/IcChevronDownLight.js\"),\n  ChevronDownRegularIcon: () => import(\"./components/IcChevronDownRegular.js\"),\n  ChevronLeftBoldIcon: () => import(\"./components/IcChevronLeftBold.js\"),\n  ChevronLeftBoldFillIcon: () => import(\"./components/IcChevronLeftBoldFill.js\"),\n  ChevronLeftLightIcon: () => import(\"./components/IcChevronLeftLight.js\"),\n  ChevronLeftRegularIcon: () => import(\"./components/IcChevronLeftRegular.js\"),\n  ChevronRightBoldIcon: () => import(\"./components/IcChevronRightBold.js\"),\n  ChevronRightBoldFillIcon: () => import(\"./components/IcChevronRightBoldFill.js\"),\n  ChevronRightLightIcon: () => import(\"./components/IcChevronRightLight.js\"),\n  ChevronRightRegularIcon: () => import(\"./components/IcChevronRightRegular.js\"),\n  ChevronUpBoldIcon: () => import(\"./components/IcChevronUpBold.js\"),\n  ChevronUpBoldFillIcon: () => import(\"./components/IcChevronUpBoldFill.js\"),\n  ChevronUpLightIcon: () => import(\"./components/IcChevronUpLight.js\"),\n  ChevronUpRegularIcon: () => import(\"./components/IcChevronUpRegular.js\"),\n  ClockBoldIcon: () => import(\"./components/IcClockBold.js\"),\n  ClockBoldFillIcon: () => import(\"./components/IcClockBoldFill.js\"),\n  ClockLightIcon: () => import(\"./components/IcClockLight.js\"),\n  ClockRegularIcon: () => import(\"./components/IcClockRegular.js\"),\n  CloseBoldIcon: () => import(\"./components/IcCloseBold.js\"),\n  CloseBoldFillIcon: () => import(\"./components/IcCloseBoldFill.js\"),\n  CloseLightIcon: () => import(\"./components/IcCloseLight.js\"),\n  CloseRegularIcon: () => import(\"./components/IcCloseRegular.js\"),\n  CommentBoldIcon: () => import(\"./components/IcCommentBold.js\"),\n  CommentBoldFillIcon: () => import(\"./components/IcCommentBoldFill.js\"),\n  CommentLightIcon: () => import(\"./components/IcCommentLight.js\"),\n  CommentRegularIcon: () => import(\"./components/IcCommentRegular.js\"),\n  CouponBoldIcon: () => import(\"./components/IcCouponBold.js\"),\n  CouponBoldFillIcon: () => import(\"./components/IcCouponBoldFill.js\"),\n  CouponLightIcon: () => import(\"./components/IcCouponLight.js\"),\n  CouponRegularIcon: () => import(\"./components/IcCouponRegular.js\"),\n  DeliveryBoldIcon: () => import(\"./components/IcDeliveryBold.js\"),\n  DeliveryBoldFillIcon: () => import(\"./components/IcDeliveryBoldFill.js\"),\n  DeliveryLightIcon: () => import(\"./components/IcDeliveryLight.js\"),\n  DeliveryRegularIcon: () => import(\"./components/IcDeliveryRegular.js\"),\n  DisclosureOffBoldIcon: () => import(\"./components/IcDisclosureOffBold.js\"),\n  DisclosureOffBoldFillIcon: () => import(\"./components/IcDisclosureOffBoldFill.js\"),\n  DisclosureOffLightIcon: () => import(\"./components/IcDisclosureOffLight.js\"),\n  DisclosureOffRegularIcon: () => import(\"./components/IcDisclosureOffRegular.js\"),\n  DisclosureOnBoldIcon: () => import(\"./components/IcDisclosureOnBold.js\"),\n  DisclosureOnBoldFillIcon: () => import(\"./components/IcDisclosureOnBoldFill.js\"),\n  DisclosureOnLightIcon: () => import(\"./components/IcDisclosureOnLight.js\"),\n  DisclosureOnRegularIcon: () => import(\"./components/IcDisclosureOnRegular.js\"),\n  DocumentBoldIcon: () => import(\"./components/IcDocumentBold.js\"),\n  DocumentBoldFillIcon: () => import(\"./components/IcDocumentBoldFill.js\"),\n  DocumentLightIcon: () => import(\"./components/IcDocumentLight.js\"),\n  DocumentRegularIcon: () => import(\"./components/IcDocumentRegular.js\"),\n  DownloadBoldIcon: () => import(\"./components/IcDownloadBold.js\"),\n  DownloadBoldFillIcon: () => import(\"./components/IcDownloadBoldFill.js\"),\n  DownloadLightIcon: () => import(\"./components/IcDownloadLight.js\"),\n  DownloadRegularIcon: () => import(\"./components/IcDownloadRegular.js\"),\n  EnlargementBoldIcon: () => import(\"./components/IcEnlargementBold.js\"),\n  EnlargementBoldFillIcon: () => import(\"./components/IcEnlargementBoldFill.js\"),\n  EnlargementLightIcon: () => import(\"./components/IcEnlargementLight.js\"),\n  EnlargementRegularIcon: () => import(\"./components/IcEnlargementRegular.js\"),\n  EyeOffBoldIcon: () => import(\"./components/IcEyeOffBold.js\"),\n  EyeOffBoldFillIcon: () => import(\"./components/IcEyeOffBoldFill.js\"),\n  EyeOffLightIcon: () => import(\"./components/IcEyeOffLight.js\"),\n  EyeOffRegularIcon: () => import(\"./components/IcEyeOffRegular.js\"),\n  EyeOnBoldIcon: () => import(\"./components/IcEyeOnBold.js\"),\n  EyeOnBoldFillIcon: () => import(\"./components/IcEyeOnBoldFill.js\"),\n  EyeOnLightIcon: () => import(\"./components/IcEyeOnLight.js\"),\n  EyeOnRegularIcon: () => import(\"./components/IcEyeOnRegular.js\"),\n  FacebookIcon: () => import(\"./components/IcFacebook.js\"),\n  FilterBoldIcon: () => import(\"./components/IcFilterBold.js\"),\n  FilterBoldFillIcon: () => import(\"./components/IcFilterBoldFill.js\"),\n  FilterDotBoldIcon: () => import(\"./components/IcFilterDotBold.js\"),\n  FilterDotBoldFillIcon: () => import(\"./components/IcFilterDotBoldFill.js\"),\n  FilterDotLightIcon: () => import(\"./components/IcFilterDotLight.js\"),\n  FilterDotRegularIcon: () => import(\"./components/IcFilterDotRegular.js\"),\n  FilterLightIcon: () => import(\"./components/IcFilterLight.js\"),\n  FilterRegularIcon: () => import(\"./components/IcFilterRegular.js\"),\n  FoldChevronLeftBoldIcon: () => import(\"./components/IcFoldChevronLeftBold.js\"),\n  FoldChevronLeftBoldFillIcon: () => import(\"./components/IcFoldChevronLeftBoldFill.js\"),\n  FoldChevronLeftLightIcon: () => import(\"./components/IcFoldChevronLeftLight.js\"),\n  FoldChevronLeftRegularIcon: () => import(\"./components/IcFoldChevronLeftRegular.js\"),\n  FoldChevronRightBoldIcon: () => import(\"./components/IcFoldChevronRightBold.js\"),\n  FoldChevronRightBoldFillIcon: () => import(\"./components/IcFoldChevronRightBoldFill.js\"),\n  FoldChevronRightLightIcon: () => import(\"./components/IcFoldChevronRightLight.js\"),\n  FoldChevronRightRegularIcon: () => import(\"./components/IcFoldChevronRightRegular.js\"),\n  FulfillmentLogoIcon: () => import(\"./components/IcFulfillmentLogo.js\"),\n  GiftBoldIcon: () => import(\"./components/IcGiftBold.js\"),\n  GiftBoldFillIcon: () => import(\"./components/IcGiftBoldFill.js\"),\n  GiftLightIcon: () => import(\"./components/IcGiftLight.js\"),\n  GiftRegularIcon: () => import(\"./components/IcGiftRegular.js\"),\n  GithubIcon: () => import(\"./components/IcGithub.js\"),\n  GoogleIcon: () => import(\"./components/IcGoogle.js\"),\n  HangerBoldIcon: () => import(\"./components/IcHangerBold.js\"),\n  HangerBoldFillIcon: () => import(\"./components/IcHangerBoldFill.js\"),\n  HangerLightIcon: () => import(\"./components/IcHangerLight.js\"),\n  HangerRegularIcon: () => import(\"./components/IcHangerRegular.js\"),\n  HeartBoldIcon: () => import(\"./components/IcHeartBold.js\"),\n  HeartBoldFillIcon: () => import(\"./components/IcHeartBoldFill.js\"),\n  HeartLightIcon: () => import(\"./components/IcHeartLight.js\"),\n  HeartRegularIcon: () => import(\"./components/IcHeartRegular.js\"),\n  HomeBoldIcon: () => import(\"./components/IcHomeBold.js\"),\n  HomeBoldFillIcon: () => import(\"./components/IcHomeBoldFill.js\"),\n  HomeLightIcon: () => import(\"./components/IcHomeLight.js\"),\n  HomeRegularIcon: () => import(\"./components/IcHomeRegular.js\"),\n  HouseBoldIcon: () => import(\"./components/IcHouseBold.js\"),\n  HouseBoldFillIcon: () => import(\"./components/IcHouseBoldFill.js\"),\n  HouseLightIcon: () => import(\"./components/IcHouseLight.js\"),\n  HouseRegularIcon: () => import(\"./components/IcHouseRegular.js\"),\n  InfoCircleBoldIcon: () => import(\"./components/IcInfoCircleBold.js\"),\n  InfoCircleBoldFillIcon: () => import(\"./components/IcInfoCircleBoldFill.js\"),\n  InfoCircleLightIcon: () => import(\"./components/IcInfoCircleLight.js\"),\n  InfoCircleRegularIcon: () => import(\"./components/IcInfoCircleRegular.js\"),\n  InstagramIcon: () => import(\"./components/IcInstagram.js\"),\n  KakaoIcon: () => import(\"./components/IcKakao.js\"),\n  LawBoldIcon: () => import(\"./components/IcLawBold.js\"),\n  LawBoldFillIcon: () => import(\"./components/IcLawBoldFill.js\"),\n  LawLightIcon: () => import(\"./components/IcLawLight.js\"),\n  LawRegularIcon: () => import(\"./components/IcLawRegular.js\"),\n  LetterBoldIcon: () => import(\"./components/IcLetterBold.js\"),\n  LetterFillIcon: () => import(\"./components/IcLetterFill.js\"),\n  LetterLightIcon: () => import(\"./components/IcLetterLight.js\"),\n  LetterRegularIcon: () => import(\"./components/IcLetterRegular.js\"),\n  LockBoldIcon: () => import(\"./components/IcLockBold.js\"),\n  LockBoldFillIcon: () => import(\"./components/IcLockBoldFill.js\"),\n  LockRegularIcon: () => import(\"./components/IcLockRegular.js\"),\n  LockoffBoldIcon: () => import(\"./components/IcLockoffBold.js\"),\n  LockoffBoldFillIcon: () => import(\"./components/IcLockoffBoldFill.js\"),\n  LockoffRegularIcon: () => import(\"./components/IcLockoffRegular.js\"),\n  MilIcon: () => import(\"./components/IcMil.js\"),\n  MinusBoldIcon: () => import(\"./components/IcMinusBold.js\"),\n  MinusBoldFillIcon: () => import(\"./components/IcMinusBoldFill.js\"),\n  MinusLightIcon: () => import(\"./components/IcMinusLight.js\"),\n  MinusRegularIcon: () => import(\"./components/IcMinusRegular.js\"),\n  MuteIcon: () => import(\"./components/IcMute.js\"),\n  MyBoldIcon: () => import(\"./components/IcMyBold.js\"),\n  MyBoldFillIcon: () => import(\"./components/IcMyBoldFill.js\"),\n  MyLightIcon: () => import(\"./components/IcMyLight.js\"),\n  MyRegularIcon: () => import(\"./components/IcMyRegular.js\"),\n  NaverIcon: () => import(\"./components/IcNaver.js\"),\n  PencilBoldIcon: () => import(\"./components/IcPencilBold.js\"),\n  PencilBoldFillIcon: () => import(\"./components/IcPencilBoldFill.js\"),\n  PencilLightIcon: () => import(\"./components/IcPencilLight.js\"),\n  PencilRegularIcon: () => import(\"./components/IcPencilRegular.js\"),\n  PictureBoldIcon: () => import(\"./components/IcPictureBold.js\"),\n  PictureBoldFillIcon: () => import(\"./components/IcPictureBoldFill.js\"),\n  PictureLightIcon: () => import(\"./components/IcPictureLight.js\"),\n  PictureRegularIcon: () => import(\"./components/IcPictureRegular.js\"),\n  PlayIcon: () => import(\"./components/IcPlay.js\"),\n  PlusBoldIcon: () => import(\"./components/IcPlusBold.js\"),\n  PlusBoldFillIcon: () => import(\"./components/IcPlusBoldFill.js\"),\n  PlusLightIcon: () => import(\"./components/IcPlusLight.js\"),\n  PlusRegularIcon: () => import(\"./components/IcPlusRegular.js\"),\n  QuestionBoldIcon: () => import(\"./components/IcQuestionBold.js\"),\n  QuestionBoldFillIcon: () => import(\"./components/IcQuestionBoldFill.js\"),\n  QuestionLightIcon: () => import(\"./components/IcQuestionLight.js\"),\n  QuestionRegularIcon: () => import(\"./components/IcQuestionRegular.js\"),\n  RedoBoldIcon: () => import(\"./components/IcRedoBold.js\"),\n  RedoBoldFillIcon: () => import(\"./components/IcRedoBoldFill.js\"),\n  RedoLightIcon: () => import(\"./components/IcRedoLight.js\"),\n  RedoRegularIcon: () => import(\"./components/IcRedoRegular.js\"),\n  RemoveBoldIcon: () => import(\"./components/IcRemoveBold.js\"),\n  RemoveBoldFillIcon: () => import(\"./components/IcRemoveBoldFill.js\"),\n  RemoveLightIcon: () => import(\"./components/IcRemoveLight.js\"),\n  RemoveRegularIcon: () => import(\"./components/IcRemoveRegular.js\"),\n  ScrapBoldIcon: () => import(\"./components/IcScrapBold.js\"),\n  ScrapBoldFillIcon: () => import(\"./components/IcScrapBoldFill.js\"),\n  ScrapLightIcon: () => import(\"./components/IcScrapLight.js\"),\n  ScrapRegularIcon: () => import(\"./components/IcScrapRegular.js\"),\n  SearchBoldIcon: () => import(\"./components/IcSearchBold.js\"),\n  SearchBoldFillIcon: () => import(\"./components/IcSearchBoldFill.js\"),\n  SearchLightIcon: () => import(\"./components/IcSearchLight.js\"),\n  SearchListBoldIcon: () => import(\"./components/IcSearchListBold.js\"),\n  SearchListBoldFillIcon: () => import(\"./components/IcSearchListBoldFill.js\"),\n  SearchListLightIcon: () => import(\"./components/IcSearchListLight.js\"),\n  SearchListRegularIcon: () => import(\"./components/IcSearchListRegular.js\"),\n  SearchRegularIcon: () => import(\"./components/IcSearchRegular.js\"),\n  SettingBoldIcon: () => import(\"./components/IcSettingBold.js\"),\n  SettingBoldFillIcon: () => import(\"./components/IcSettingBoldFill.js\"),\n  SettingLightIcon: () => import(\"./components/IcSettingLight.js\"),\n  SettingRegularIcon: () => import(\"./components/IcSettingRegular.js\"),\n  ShareBoldIcon: () => import(\"./components/IcShareBold.js\"),\n  ShareBoldFillIcon: () => import(\"./components/IcShareBoldFill.js\"),\n  ShareLightIcon: () => import(\"./components/IcShareLight.js\"),\n  ShareRegularIcon: () => import(\"./components/IcShareRegular.js\"),\n  SocialAppleIcon: () => import(\"./components/IcSocialApple.js\"),\n  SocialGoogleIcon: () => import(\"./components/IcSocialGoogle.js\"),\n  SocialInstagramIcon: () => import(\"./components/IcSocialInstagram.js\"),\n  SocialYoutubeIcon: () => import(\"./components/IcSocialYoutube.js\"),\n  SpaceBoldIcon: () => import(\"./components/IcSpaceBold.js\"),\n  SpaceBoldFillIcon: () => import(\"./components/IcSpaceBoldFill.js\"),\n  SpaceLightIcon: () => import(\"./components/IcSpaceLight.js\"),\n  SpaceRegularIcon: () => import(\"./components/IcSpaceRegular.js\"),\n  StarBoldIcon: () => import(\"./components/IcStarBold.js\"),\n  StarBoldFillIcon: () => import(\"./components/IcStarBoldFill.js\"),\n  StarHalfBoldIcon: () => import(\"./components/IcStarHalfBold.js\"),\n  StarHalfBoldFillIcon: () => import(\"./components/IcStarHalfBoldFill.js\"),\n  StarHalfLightIcon: () => import(\"./components/IcStarHalfLight.js\"),\n  StarHalfRegularIcon: () => import(\"./components/IcStarHalfRegular.js\"),\n  StarLightIcon: () => import(\"./components/IcStarLight.js\"),\n  StarRegularIcon: () => import(\"./components/IcStarRegular.js\"),\n  ThreeGridBoldIcon: () => import(\"./components/IcThreeGridBold.js\"),\n  ThreeGridBoldFillIcon: () => import(\"./components/IcThreeGridBoldFill.js\"),\n  ThreeGridLightIcon: () => import(\"./components/IcThreeGridLight.js\"),\n  ThreeGridRegularIcon: () => import(\"./components/IcThreeGridRegular.js\"),\n  TrashBoldIcon: () => import(\"./components/IcTrashBold.js\"),\n  TrashBoldFillIcon: () => import(\"./components/IcTrashBoldFill.js\"),\n  TrashLightIcon: () => import(\"./components/IcTrashLight.js\"),\n  TrashRegularIcon: () => import(\"./components/IcTrashRegular.js\"),\n  TwoGridBoldIcon: () => import(\"./components/IcTwoGridBold.js\"),\n  TwoGridBoldFillIcon: () => import(\"./components/IcTwoGridBoldFill.js\"),\n  TwoGridLightIcon: () => import(\"./components/IcTwoGridLight.js\"),\n  TwoGridRegularIcon: () => import(\"./components/IcTwoGridRegular.js\"),\n  VolumeIcon: () => import(\"./components/IcVolume.js\"),\n  WonIcon: () => import(\"./components/IcWon.js\"),\n  WonBoldIcon: () => import(\"./components/IcWonBold.js\"),\n  WonBoldFillIcon: () => import(\"./components/IcWonBoldFill.js\"),\n  WonLightIcon: () => import(\"./components/IcWonLight.js\"),\n  WonRegularIcon: () => import(\"./components/IcWonRegular.js\"),\n  YoutubeIcon: () => import(\"./components/IcYoutube.js\")\n}, i = (o) => r[o];\nexport {\n  i as loadIcon\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { cn as a$1, tv as g$1 } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { loadIcon as i } from \"../../packages/contexts/common/icon/loader.js\";\nimport { memo, useMemo, forwardRef, Suspense, lazy } from \"react\";\nconst a = /* @__PURE__ */ new Map(), p = (e) => (a.has(e) || a.set(e, lazy(i(e))), a.get(e)), g = memo(\n  ({ icon: e, className: s = \"block\" }) => {\n    const l = useMemo(() => p(e), [e]);\n    return /* @__PURE__ */ m.jsx(\n      l,\n      {\n        className: a$1(\"h-full w-full align-[unset]\", s),\n        style: { color: \"inherit\", backgroundColor: \"inherit\" }\n      }\n    );\n  },\n  (e, s) => e.icon === s.icon\n), j = g$1({\n  base: \"inline-block\",\n  variants: {\n    size: {\n      xSmall: \"h-12 w-12\",\n      small: \"h-14 w-14\",\n      medium: \"h-16 w-16\",\n      large: \"h-18 w-18\",\n      xLarge: \"h-20 w-20\"\n    }\n  }\n}), v = memo(\n  forwardRef(\n    ({ icon: e, size: s, className: l, svgClass: r, ...t }, c) => {\n      const i2 = j({ size: s, className: l });\n      return /* @__PURE__ */ m.jsx(\"div\", { ...t, className: i2, ref: c, children: /* @__PURE__ */ m.jsx(Suspense, { fallback: /* @__PURE__ */ m.jsx(\"div\", { className: \"h-full w-full\" }), children: /* @__PURE__ */ m.jsx(g, { icon: e, className: r }) }) });\n    }\n  )\n);\nexport {\n  v as Icon\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nconst W = g({\n  slots: {\n    button: \"inline-block align-middle focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-interactive\",\n    icon: \"inline-block shrink-0 grow-0 bg-transparent align-middle first:mr-2 last:ml-2\",\n    label: \"align-middle\"\n  },\n  variants: {\n    priority: {\n      primary: {},\n      secondary: {},\n      tertiary: {}\n    },\n    size: {\n      xSmall: {\n        button: \"text-s\",\n        label: \"text-s\",\n        icon: \"w-12 text-s\"\n      },\n      small: {\n        button: \"text-l-medium\",\n        label: \"text-l-medium\",\n        icon: \"w-14 text-l-medium\"\n      },\n      medium: {\n        button: \"text-xxl-medium\",\n        label: \"text-xxl-medium\",\n        icon: \"w-16 text-xxl-medium\"\n      },\n      large: {\n        button: \"text-title-xs-medium\",\n        label: \"text-title-xs-medium\",\n        icon: \"w-18 text-title-xs-medium first:mr-4 last:ml-2\"\n      }\n    },\n    // NOTE: compoundVariants 에서 `size` 마다 다르게 설정을 합니다.\n    isBold: {\n      true: {}\n    },\n    isUnderline: {\n      true: {\n        label: \"border-b\"\n      }\n    },\n    isWhite: {\n      true: {\n        button: \"text-on-white [&:not(:disabled)]:hover:text-on-white-hover [&:not(:disabled)]:active:text-on-white-pressed\"\n      }\n    },\n    disabled: {\n      true: {\n        button: \"text-disabled\"\n      }\n    },\n    theme: {\n      light: {},\n      dark: {}\n    }\n  },\n  compoundVariants: [\n    {\n      size: \"xSmall\",\n      isBold: true,\n      class: {\n        button: \"text-s-bold\",\n        label: \"text-s-bold\"\n      }\n    },\n    {\n      size: \"small\",\n      isBold: true,\n      class: {\n        button: \"text-l-bold\",\n        label: \"text-l-bold\"\n      }\n    },\n    {\n      size: \"medium\",\n      isBold: true,\n      class: {\n        button: \"text-xxl-bold\",\n        label: \"text-xxl-bold\"\n      }\n    },\n    {\n      size: \"large\",\n      isBold: true,\n      class: {\n        button: \"text-title-xs-bold\",\n        label: \"text-title-xs-bold\"\n      }\n    },\n    {\n      priority: \"primary\",\n      theme: \"light\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-primary [&:not(:disabled)]:hover:text-primary-hover [&:not(:disabled)]:active:text-primary-pressed\"\n      }\n    },\n    {\n      priority: \"primary\",\n      theme: \"dark\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-primary-dark\"\n      }\n    },\n    {\n      priority: \"secondary\",\n      theme: \"light\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-secondary [&:not(:disabled)]:hover:text-secondary-hover [&:not(:disabled)]:active:text-secondary-pressed\"\n      }\n    },\n    {\n      priority: \"secondary\",\n      theme: \"dark\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-secondary-dark\"\n      }\n    },\n    {\n      priority: \"tertiary\",\n      theme: \"light\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-tertiary [&:not(:disabled)]:hover:text-tertiary-hover [&:not(:disabled)]:active:text-tertiary-pressed\"\n      }\n    },\n    {\n      priority: \"tertiary\",\n      theme: \"dark\",\n      isWhite: false,\n      disabled: false,\n      class: {\n        button: \"text-tertiary-dark\"\n      }\n    }\n  ]\n}), R = forwardRef(\n  ({\n    label: n,\n    priority: b = \"primary\",\n    size: e = \"medium\",\n    theme: m$1 = \"light\",\n    isBold: x,\n    isUnderline: u,\n    isWhite: c = false,\n    disabled: h = false,\n    prefixIcon: i,\n    postfixIcon: s,\n    onClick: l,\n    href: a = \"\",\n    className: y,\n    ...f\n  }, p) => {\n    const {\n      button: v$1,\n      icon: r,\n      label: g2\n    } = W({\n      priority: b,\n      size: e,\n      theme: m$1,\n      isBold: x,\n      isUnderline: u,\n      isWhite: c,\n      disabled: h\n    }), w = (o) => {\n      a || o.preventDefault(), l == null || l(o);\n    };\n    return /* @__PURE__ */ m.jsxs(\"a\", { ref: p, className: v$1({ className: y }), href: a, ...f, onClick: w, role: \"button\", children: [\n      i ? /* @__PURE__ */ m.jsx(v, { icon: i, size: e, className: r() }) : null,\n      /* @__PURE__ */ m.jsx(\"span\", { className: g2(), children: n }),\n      s ? /* @__PURE__ */ m.jsx(v, { icon: s, size: e, className: r() }) : null\n    ] });\n  }\n);\nexport {\n  R as TextButton\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { TextButton as R } from \"../TextButton/TextButton.js\";\nconst u = g({\n  slots: {\n    base: \"space-y-12 text-on-color-dark\",\n    header: \"space-y-6\",\n    requiredInfo: \"mr-10 space-y-2\",\n    brandName: \"mb-2 flex items-center gap-2 align-baseline\",\n    itemName: \"mb-6 line-clamp-2 text-s\",\n    timeText: \"text-l-bold text-primary\"\n  },\n  variants: {\n    hasPadding: {\n      true: \"mx-10\"\n    },\n    size: {\n      small: {\n        base: \"space-y-8\",\n        header: \"space-y-6\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-xs-bold\",\n        itemName: \"mb-2 line-clamp-2 text-s\",\n        timeText: \"text-l-bold\"\n      },\n      medium: {\n        base: \"space-y-10\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-m-bold\",\n        itemName: \"mb-6 line-clamp-2 text-l\",\n        timeText: \"text-xxl-bold\"\n      },\n      compact: {\n        base: \"space-y-8 text-on-color-dark\",\n        header: \"space-y-4\",\n        requiredInfo: \"mr-8 space-y-2\",\n        brandName: \"mb-2 w-full text-xs-bold\",\n        itemName: \"line-clamp-1 break-all text-s\",\n        timeText: \"text-m-bold\"\n      }\n    },\n    theme: {\n      light: {\n        itemName: \"text-[#474747]\",\n        timeText: \"text-primary\"\n      },\n      dark: {\n        itemName: \"text-[#A0A0A0]\",\n        timeText: \"text-on-color\"\n      }\n    }\n  },\n  defaultVariants: {\n    size: \"small\",\n    theme: \"light\"\n  }\n}), h = ({\n  itemName: c,\n  brandName: m$1,\n  timeText: a,\n  onClickBrandName: r,\n  size: s = \"small\",\n  theme: l = \"light\",\n  hasPadding: d,\n  href: n,\n  brandHref: i,\n  target: o,\n  onClick: x\n}) => {\n  const e = u({\n    size: s,\n    hasPadding: d,\n    theme: l\n  });\n  return /* @__PURE__ */ m.jsx(\"div\", { className: e.base(), children: /* @__PURE__ */ m.jsxs(\"div\", { className: e.header(), children: [\n    /* @__PURE__ */ m.jsxs(\"div\", { className: e.requiredInfo(), children: [\n      m$1 ? /* @__PURE__ */ m.jsx(\n        R,\n        {\n          priority: \"primary\",\n          size: \"xSmall\",\n          isBold: true,\n          onClick: r,\n          label: m$1,\n          postfixIcon: s !== \"compact\" && (i || r) ? \"ChevronRightBoldIcon\" : void 0,\n          href: i,\n          target: o,\n          className: e.brandName({\n            className: \"[&>span]:truncate\"\n          }),\n          theme: l\n        }\n      ) : null,\n      /* @__PURE__ */ m.jsx(\"a\", { className: e.itemName(), href: n, target: o, onClick: x, children: c }),\n      s !== \"compact\" && a && /* @__PURE__ */ m.jsx(\"div\", { className: e.timeText(), children: a })\n    ] }),\n    s === \"compact\" && a && /* @__PURE__ */ m.jsx(\"div\", { className: e.timeText(), children: a })\n  ] }) });\n}, I = h;\nexport {\n  I as default,\n  u as preuserProductCardInfo\n};\n","import { default as default2 } from \"./components/IcApple.js\";\nimport { default as default3 } from \"./components/IcArrayBoldFill.js\";\nimport { default as default4 } from \"./components/IcArrayBold.js\";\nimport { default as default5 } from \"./components/IcArrayRegular.js\";\nimport { default as default6 } from \"./components/IcArrowLeftBoldFill.js\";\nimport { default as default7 } from \"./components/IcArrowLeftBold.js\";\nimport { default as default8 } from \"./components/IcArrowLeftLight.js\";\nimport { default as default9 } from \"./components/IcArrowLeftRegular.js\";\nimport { default as default10 } from \"./components/IcArrowRightBoldFill.js\";\nimport { default as default11 } from \"./components/IcArrowRightBold.js\";\nimport { default as default12 } from \"./components/IcArrowRightLight.js\";\nimport { default as default13 } from \"./components/IcArrowRightRegular.js\";\nimport { default as default14 } from \"./components/IcBagBoldFill.js\";\nimport { default as default15 } from \"./components/IcBagBold.js\";\nimport { default as default16 } from \"./components/IcBagRegular.js\";\nimport { default as default17 } from \"./components/IcBarsBoldFill.js\";\nimport { default as default18 } from \"./components/IcBarsBold.js\";\nimport { default as default19 } from \"./components/IcBarsLight.js\";\nimport { default as default20 } from \"./components/IcBarsRegular.js\";\nimport { default as default21 } from \"./components/IcBellBoldFill.js\";\nimport { default as default22 } from \"./components/IcBellBold.js\";\nimport { default as default23 } from \"./components/IcBellLight.js\";\nimport { default as default24 } from \"./components/IcBellRegular.js\";\nimport { default as default25 } from \"./components/IcBelloffBoldFill.js\";\nimport { default as default26 } from \"./components/IcBelloffBold.js\";\nimport { default as default27 } from \"./components/IcBelloffLight.js\";\nimport { default as default28 } from \"./components/IcBelloffRegular.js\";\nimport { default as default29 } from \"./components/IcBoxBoldFill.js\";\nimport { default as default30 } from \"./components/IcBoxBold.js\";\nimport { default as default31 } from \"./components/IcBoxLight.js\";\nimport { default as default32 } from \"./components/IcBoxRegular.js\";\nimport { default as default33 } from \"./components/IcCameraBoldFill.js\";\nimport { default as default34 } from \"./components/IcCameraBold.js\";\nimport { default as default35 } from \"./components/IcCameraLight.js\";\nimport { default as default36 } from \"./components/IcCameraRegular.js\";\nimport { default as default37 } from \"./components/IcCategoryBoldFill.js\";\nimport { default as default38 } from \"./components/IcCategoryBold.js\";\nimport { default as default39 } from \"./components/IcCategoryRegular.js\";\nimport { default as default40 } from \"./components/IcCautionBoldFill.js\";\nimport { default as default41 } from \"./components/IcCautionBold.js\";\nimport { default as default42 } from \"./components/IcCautionLight.js\";\nimport { default as default43 } from \"./components/IcCautionRegular.js\";\nimport { default as default44 } from \"./components/IcCheckBoldFill.js\";\nimport { default as default45 } from \"./components/IcCheckBold.js\";\nimport { default as default46 } from \"./components/IcCheckCalendarBoldFill.js\";\nimport { default as default47 } from \"./components/IcCheckCalendarBold.js\";\nimport { default as default48 } from \"./components/IcCheckCalendarLight.js\";\nimport { default as default49 } from \"./components/IcCheckCalendarRegular.js\";\nimport { default as default50 } from \"./components/IcCheckCircleBoldFill.js\";\nimport { default as default51 } from \"./components/IcCheckCircleBold.js\";\nimport { default as default52 } from \"./components/IcCheckCircleLight.js\";\nimport { default as default53 } from \"./components/IcCheckCircleRegular.js\";\nimport { default as default54 } from \"./components/IcCheckLight.js\";\nimport { default as default55 } from \"./components/IcCheckRegular.js\";\nimport { default as default56 } from \"./components/IcChevronDownBoldFill.js\";\nimport { default as default57 } from \"./components/IcChevronDownBold.js\";\nimport { default as default58 } from \"./components/IcChevronDownLight.js\";\nimport { default as default59 } from \"./components/IcChevronDownRegular.js\";\nimport { default as default60 } from \"./components/IcChevronLeftBoldFill.js\";\nimport { default as default61 } from \"./components/IcChevronLeftBold.js\";\nimport { default as default62 } from \"./components/IcChevronLeftLight.js\";\nimport { default as default63 } from \"./components/IcChevronLeftRegular.js\";\nimport { default as default64 } from \"./components/IcChevronRightBoldFill.js\";\nimport { default as default65 } from \"./components/IcChevronRightBold.js\";\nimport { default as default66 } from \"./components/IcChevronRightLight.js\";\nimport { default as default67 } from \"./components/IcChevronRightRegular.js\";\nimport { default as default68 } from \"./components/IcChevronUpBoldFill.js\";\nimport { default as default69 } from \"./components/IcChevronUpBold.js\";\nimport { default as default70 } from \"./components/IcChevronUpLight.js\";\nimport { default as default71 } from \"./components/IcChevronUpRegular.js\";\nimport { default as default72 } from \"./components/IcClockBoldFill.js\";\nimport { default as default73 } from \"./components/IcClockBold.js\";\nimport { default as default74 } from \"./components/IcClockLight.js\";\nimport { default as default75 } from \"./components/IcClockRegular.js\";\nimport { default as default76 } from \"./components/IcCloseBoldFill.js\";\nimport { default as default77 } from \"./components/IcCloseBold.js\";\nimport { default as default78 } from \"./components/IcCloseLight.js\";\nimport { default as default79 } from \"./components/IcCloseRegular.js\";\nimport { default as default80 } from \"./components/IcCommentBoldFill.js\";\nimport { default as default81 } from \"./components/IcCommentBold.js\";\nimport { default as default82 } from \"./components/IcCommentLight.js\";\nimport { default as default83 } from \"./components/IcCommentRegular.js\";\nimport { default as default84 } from \"./components/IcCouponBoldFill.js\";\nimport { default as default85 } from \"./components/IcCouponBold.js\";\nimport { default as default86 } from \"./components/IcCouponLight.js\";\nimport { default as default87 } from \"./components/IcCouponRegular.js\";\nimport { default as default88 } from \"./components/IcDeliveryBoldFill.js\";\nimport { default as default89 } from \"./components/IcDeliveryBold.js\";\nimport { default as default90 } from \"./components/IcDeliveryLight.js\";\nimport { default as default91 } from \"./components/IcDeliveryRegular.js\";\nimport { default as default92 } from \"./components/IcDisclosureOffBoldFill.js\";\nimport { default as default93 } from \"./components/IcDisclosureOffBold.js\";\nimport { default as default94 } from \"./components/IcDisclosureOffLight.js\";\nimport { default as default95 } from \"./components/IcDisclosureOffRegular.js\";\nimport { default as default96 } from \"./components/IcDisclosureOnBoldFill.js\";\nimport { default as default97 } from \"./components/IcDisclosureOnBold.js\";\nimport { default as default98 } from \"./components/IcDisclosureOnLight.js\";\nimport { default as default99 } from \"./components/IcDisclosureOnRegular.js\";\nimport { default as default100 } from \"./components/IcDocumentBoldFill.js\";\nimport { default as default101 } from \"./components/IcDocumentBold.js\";\nimport { default as default102 } from \"./components/IcDocumentLight.js\";\nimport { default as default103 } from \"./components/IcDocumentRegular.js\";\nimport { default as default104 } from \"./components/IcDownloadBoldFill.js\";\nimport { default as default105 } from \"./components/IcDownloadBold.js\";\nimport { default as default106 } from \"./components/IcDownloadLight.js\";\nimport { default as default107 } from \"./components/IcDownloadRegular.js\";\nimport { default as default108 } from \"./components/IcEnlargementBoldFill.js\";\nimport { default as default109 } from \"./components/IcEnlargementBold.js\";\nimport { default as default110 } from \"./components/IcEnlargementLight.js\";\nimport { default as default111 } from \"./components/IcEnlargementRegular.js\";\nimport { default as default112 } from \"./components/IcEyeOffBoldFill.js\";\nimport { default as default113 } from \"./components/IcEyeOffBold.js\";\nimport { default as default114 } from \"./components/IcEyeOffLight.js\";\nimport { default as default115 } from \"./components/IcEyeOffRegular.js\";\nimport { default as default116 } from \"./components/IcEyeOnBoldFill.js\";\nimport { default as default117 } from \"./components/IcEyeOnBold.js\";\nimport { default as default118 } from \"./components/IcEyeOnLight.js\";\nimport { default as default119 } from \"./components/IcEyeOnRegular.js\";\nimport { default as default120 } from \"./components/IcFacebook.js\";\nimport { default as default121 } from \"./components/IcFilterBoldFill.js\";\nimport { default as default122 } from \"./components/IcFilterBold.js\";\nimport { default as default123 } from \"./components/IcFilterDotBoldFill.js\";\nimport { default as default124 } from \"./components/IcFilterDotBold.js\";\nimport { default as default125 } from \"./components/IcFilterDotLight.js\";\nimport { default as default126 } from \"./components/IcFilterDotRegular.js\";\nimport { default as default127 } from \"./components/IcFilterLight.js\";\nimport { default as default128 } from \"./components/IcFilterRegular.js\";\nimport { default as default129 } from \"./components/IcFoldChevronLeftBoldFill.js\";\nimport { default as default130 } from \"./components/IcFoldChevronLeftBold.js\";\nimport { default as default131 } from \"./components/IcFoldChevronLeftLight.js\";\nimport { default as default132 } from \"./components/IcFoldChevronLeftRegular.js\";\nimport { default as default133 } from \"./components/IcFoldChevronRightBoldFill.js\";\nimport { default as default134 } from \"./components/IcFoldChevronRightBold.js\";\nimport { default as default135 } from \"./components/IcFoldChevronRightLight.js\";\nimport { default as default136 } from \"./components/IcFoldChevronRightRegular.js\";\nimport { default as default137 } from \"./components/IcFulfillmentLogo.js\";\nimport { default as default138 } from \"./components/IcGiftBoldFill.js\";\nimport { default as default139 } from \"./components/IcGiftBold.js\";\nimport { default as default140 } from \"./components/IcGiftLight.js\";\nimport { default as default141 } from \"./components/IcGiftRegular.js\";\nimport { default as default142 } from \"./components/IcGithub.js\";\nimport { default as default143 } from \"./components/IcGoogle.js\";\nimport { default as default144 } from \"./components/IcHangerBoldFill.js\";\nimport { default as default145 } from \"./components/IcHangerBold.js\";\nimport { default as default146 } from \"./components/IcHangerLight.js\";\nimport { default as default147 } from \"./components/IcHangerRegular.js\";\nimport { default as default148 } from \"./components/IcHeartBoldFill.js\";\nimport { default as default149 } from \"./components/IcHeartBold.js\";\nimport { default as default150 } from \"./components/IcHeartRegular.js\";\nimport { default as default151 } from \"./components/IcHomeBoldFill.js\";\nimport { default as default152 } from \"./components/IcHomeBold.js\";\nimport { default as default153 } from \"./components/IcHomeLight.js\";\nimport { default as default154 } from \"./components/IcHomeRegular.js\";\nimport { default as default155 } from \"./components/IcHouseBoldFill.js\";\nimport { default as default156 } from \"./components/IcHouseBold.js\";\nimport { default as default157 } from \"./components/IcHouseRegular.js\";\nimport { default as default158 } from \"./components/IcInfoCircleBoldFill.js\";\nimport { default as default159 } from \"./components/IcInfoCircleBold.js\";\nimport { default as default160 } from \"./components/IcInfoCircleLight.js\";\nimport { default as default161 } from \"./components/IcInfoCircleRegular.js\";\nimport { default as default162 } from \"./components/IcInstagram.js\";\nimport { default as default163 } from \"./components/IcKakao.js\";\nimport { default as default164 } from \"./components/IcLawBoldFill.js\";\nimport { default as default165 } from \"./components/IcLawBold.js\";\nimport { default as default166 } from \"./components/IcLawLight.js\";\nimport { default as default167 } from \"./components/IcLawRegular.js\";\nimport { default as default168 } from \"./components/IcLetterBold.js\";\nimport { default as default169 } from \"./components/IcLetterFill.js\";\nimport { default as default170 } from \"./components/IcLetterLight.js\";\nimport { default as default171 } from \"./components/IcLetterRegular.js\";\nimport { default as default172 } from \"./components/IcLockBoldFill.js\";\nimport { default as default173 } from \"./components/IcLockBold.js\";\nimport { default as default174 } from \"./components/IcLockRegular.js\";\nimport { default as default175 } from \"./components/IcLockoffBoldFill.js\";\nimport { default as default176 } from \"./components/IcLockoffBold.js\";\nimport { default as default177 } from \"./components/IcLockoffRegular.js\";\nimport { default as default178 } from \"./components/IcMil.js\";\nimport { default as default179 } from \"./components/IcMinusBoldFill.js\";\nimport { default as default180 } from \"./components/IcMinusBold.js\";\nimport { default as default181 } from \"./components/IcMinusLight.js\";\nimport { default as default182 } from \"./components/IcMinusRegular.js\";\nimport { default as default183 } from \"./components/IcMute.js\";\nimport { default as default184 } from \"./components/IcMyBoldFill.js\";\nimport { default as default185 } from \"./components/IcMyBold.js\";\nimport { default as default186 } from \"./components/IcMyRegular.js\";\nimport { default as default187 } from \"./components/IcNaver.js\";\nimport { default as default188 } from \"./components/IcPencilBoldFill.js\";\nimport { default as default189 } from \"./components/IcPencilBold.js\";\nimport { default as default190 } from \"./components/IcPencilLight.js\";\nimport { default as default191 } from \"./components/IcPencilRegular.js\";\nimport { default as default192 } from \"./components/IcPictureBoldFill.js\";\nimport { default as default193 } from \"./components/IcPictureBold.js\";\nimport { default as default194 } from \"./components/IcPictureLight.js\";\nimport { default as default195 } from \"./components/IcPictureRegular.js\";\nimport { default as default196 } from \"./components/IcPlay.js\";\nimport { default as default197 } from \"./components/IcPlusBoldFill.js\";\nimport { default as default198 } from \"./components/IcPlusBold.js\";\nimport { default as default199 } from \"./components/IcPlusLight.js\";\nimport { default as default200 } from \"./components/IcPlusRegular.js\";\nimport { default as default201 } from \"./components/IcQuestionBoldFill.js\";\nimport { default as default202 } from \"./components/IcQuestionBold.js\";\nimport { default as default203 } from \"./components/IcQuestionLight.js\";\nimport { default as default204 } from \"./components/IcQuestionRegular.js\";\nimport { default as default205 } from \"./components/IcRedoBoldFill.js\";\nimport { default as default206 } from \"./components/IcRedoBold.js\";\nimport { default as default207 } from \"./components/IcRedoLight.js\";\nimport { default as default208 } from \"./components/IcRedoRegular.js\";\nimport { default as default209 } from \"./components/IcRemoveBoldFill.js\";\nimport { default as default210 } from \"./components/IcRemoveBold.js\";\nimport { default as default211 } from \"./components/IcRemoveLight.js\";\nimport { default as default212 } from \"./components/IcRemoveRegular.js\";\nimport { default as default213 } from \"./components/IcScrapBoldFill.js\";\nimport { default as default214 } from \"./components/IcScrapBold.js\";\nimport { default as default215 } from \"./components/IcScrapLight.js\";\nimport { default as default216 } from \"./components/IcScrapRegular.js\";\nimport { default as default217 } from \"./components/IcSearchBoldFill.js\";\nimport { default as default218 } from \"./components/IcSearchBold.js\";\nimport { default as default219 } from \"./components/IcSearchListBoldFill.js\";\nimport { default as default220 } from \"./components/IcSearchListBold.js\";\nimport { default as default221 } from \"./components/IcSearchListLight.js\";\nimport { default as default222 } from \"./components/IcSearchListRegular.js\";\nimport { default as default223 } from \"./components/IcSearchRegular.js\";\nimport { default as default224 } from \"./components/IcSettingBoldFill.js\";\nimport { default as default225 } from \"./components/IcSettingBold.js\";\nimport { default as default226 } from \"./components/IcSettingLight.js\";\nimport { default as default227 } from \"./components/IcSettingRegular.js\";\nimport { default as default228 } from \"./components/IcShareBoldFill.js\";\nimport { default as default229 } from \"./components/IcShareBold.js\";\nimport { default as default230 } from \"./components/IcShareLight.js\";\nimport { default as default231 } from \"./components/IcShareRegular.js\";\nimport { default as default232 } from \"./components/IcSocialApple.js\";\nimport { default as default233 } from \"./components/IcSocialGoogle.js\";\nimport { default as default234 } from \"./components/IcSocialInstagram.js\";\nimport { default as default235 } from \"./components/IcSocialYoutube.js\";\nimport { default as default236 } from \"./components/IcSpaceBoldFill.js\";\nimport { default as default237 } from \"./components/IcSpaceBold.js\";\nimport { default as default238 } from \"./components/IcSpaceLight.js\";\nimport { default as default239 } from \"./components/IcSpaceRegular.js\";\nimport { default as default240 } from \"./components/IcStarBoldFill.js\";\nimport { default as default241 } from \"./components/IcStarBold.js\";\nimport { default as default242 } from \"./components/IcStarHalfBoldFill.js\";\nimport { default as default243 } from \"./components/IcStarHalfBold.js\";\nimport { default as default244 } from \"./components/IcStarHalfLight.js\";\nimport { default as default245 } from \"./components/IcStarHalfRegular.js\";\nimport { default as default246 } from \"./components/IcStarLight.js\";\nimport { default as default247 } from \"./components/IcStarRegular.js\";\nimport { default as default248 } from \"./components/IcThreeGridBoldFill.js\";\nimport { default as default249 } from \"./components/IcThreeGridBold.js\";\nimport { default as default250 } from \"./components/IcThreeGridLight.js\";\nimport { default as default251 } from \"./components/IcThreeGridRegular.js\";\nimport { default as default252 } from \"./components/IcTrashBoldFill.js\";\nimport { default as default253 } from \"./components/IcTrashBold.js\";\nimport { default as default254 } from \"./components/IcTrashLight.js\";\nimport { default as default255 } from \"./components/IcTrashRegular.js\";\nimport { default as default256 } from \"./components/IcTwoGridBoldFill.js\";\nimport { default as default257 } from \"./components/IcTwoGridBold.js\";\nimport { default as default258 } from \"./components/IcTwoGridLight.js\";\nimport { default as default259 } from \"./components/IcTwoGridRegular.js\";\nimport { default as default260 } from \"./components/IcVolume.js\";\nimport { default as default261 } from \"./components/IcWonBoldFill.js\";\nimport { default as default262 } from \"./components/IcWonBold.js\";\nimport { default as default263 } from \"./components/IcWonLight.js\";\nimport { default as default264 } from \"./components/IcWonRegular.js\";\nimport { default as default265 } from \"./components/IcWon.js\";\nimport { default as default266 } from \"./components/IcYoutube.js\";\nexport {\n  default2 as AppleIcon,\n  default3 as ArrayBoldFillIcon,\n  default4 as ArrayBoldIcon,\n  default5 as ArrayRegularIcon,\n  default6 as ArrowLeftBoldFillIcon,\n  default7 as ArrowLeftBoldIcon,\n  default8 as ArrowLeftLightIcon,\n  default9 as ArrowLeftRegularIcon,\n  default10 as ArrowRightBoldFillIcon,\n  default11 as ArrowRightBoldIcon,\n  default12 as ArrowRightLightIcon,\n  default13 as ArrowRightRegularIcon,\n  default14 as BagBoldFillIcon,\n  default15 as BagBoldIcon,\n  default16 as BagRegularIcon,\n  default17 as BarsBoldFillIcon,\n  default18 as BarsBoldIcon,\n  default19 as BarsLightIcon,\n  default20 as BarsRegularIcon,\n  default21 as BellBoldFillIcon,\n  default22 as BellBoldIcon,\n  default23 as BellLightIcon,\n  default24 as BellRegularIcon,\n  default25 as BelloffBoldFillIcon,\n  default26 as BelloffBoldIcon,\n  default27 as BelloffLightIcon,\n  default28 as BelloffRegularIcon,\n  default29 as BoxBoldFillIcon,\n  default30 as BoxBoldIcon,\n  default31 as BoxLightIcon,\n  default32 as BoxRegularIcon,\n  default33 as CameraBoldFillIcon,\n  default34 as CameraBoldIcon,\n  default35 as CameraLightIcon,\n  default36 as CameraRegularIcon,\n  default37 as CategoryBoldFillIcon,\n  default38 as CategoryBoldIcon,\n  default39 as CategoryRegularIcon,\n  default40 as CautionBoldFillIcon,\n  default41 as CautionBoldIcon,\n  default42 as CautionLightIcon,\n  default43 as CautionRegularIcon,\n  default44 as CheckBoldFillIcon,\n  default45 as CheckBoldIcon,\n  default46 as CheckCalendarBoldFillIcon,\n  default47 as CheckCalendarBoldIcon,\n  default48 as CheckCalendarLightIcon,\n  default49 as CheckCalendarRegularIcon,\n  default50 as CheckCircleBoldFillIcon,\n  default51 as CheckCircleBoldIcon,\n  default52 as CheckCircleLightIcon,\n  default53 as CheckCircleRegularIcon,\n  default54 as CheckLightIcon,\n  default55 as CheckRegularIcon,\n  default56 as ChevronDownBoldFillIcon,\n  default57 as ChevronDownBoldIcon,\n  default58 as ChevronDownLightIcon,\n  default59 as ChevronDownRegularIcon,\n  default60 as ChevronLeftBoldFillIcon,\n  default61 as ChevronLeftBoldIcon,\n  default62 as ChevronLeftLightIcon,\n  default63 as ChevronLeftRegularIcon,\n  default64 as ChevronRightBoldFillIcon,\n  default65 as ChevronRightBoldIcon,\n  default66 as ChevronRightLightIcon,\n  default67 as ChevronRightRegularIcon,\n  default68 as ChevronUpBoldFillIcon,\n  default69 as ChevronUpBoldIcon,\n  default70 as ChevronUpLightIcon,\n  default71 as ChevronUpRegularIcon,\n  default72 as ClockBoldFillIcon,\n  default73 as ClockBoldIcon,\n  default74 as ClockLightIcon,\n  default75 as ClockRegularIcon,\n  default76 as CloseBoldFillIcon,\n  default77 as CloseBoldIcon,\n  default78 as CloseLightIcon,\n  default79 as CloseRegularIcon,\n  default80 as CommentBoldFillIcon,\n  default81 as CommentBoldIcon,\n  default82 as CommentLightIcon,\n  default83 as CommentRegularIcon,\n  default84 as CouponBoldFillIcon,\n  default85 as CouponBoldIcon,\n  default86 as CouponLightIcon,\n  default87 as CouponRegularIcon,\n  default88 as DeliveryBoldFillIcon,\n  default89 as DeliveryBoldIcon,\n  default90 as DeliveryLightIcon,\n  default91 as DeliveryRegularIcon,\n  default92 as DisclosureOffBoldFillIcon,\n  default93 as DisclosureOffBoldIcon,\n  default94 as DisclosureOffLightIcon,\n  default95 as DisclosureOffRegularIcon,\n  default96 as DisclosureOnBoldFillIcon,\n  default97 as DisclosureOnBoldIcon,\n  default98 as DisclosureOnLightIcon,\n  default99 as DisclosureOnRegularIcon,\n  default100 as DocumentBoldFillIcon,\n  default101 as DocumentBoldIcon,\n  default102 as DocumentLightIcon,\n  default103 as DocumentRegularIcon,\n  default104 as DownloadBoldFillIcon,\n  default105 as DownloadBoldIcon,\n  default106 as DownloadLightIcon,\n  default107 as DownloadRegularIcon,\n  default108 as EnlargementBoldFillIcon,\n  default109 as EnlargementBoldIcon,\n  default110 as EnlargementLightIcon,\n  default111 as EnlargementRegularIcon,\n  default112 as EyeOffBoldFillIcon,\n  default113 as EyeOffBoldIcon,\n  default114 as EyeOffLightIcon,\n  default115 as EyeOffRegularIcon,\n  default116 as EyeOnBoldFillIcon,\n  default117 as EyeOnBoldIcon,\n  default118 as EyeOnLightIcon,\n  default119 as EyeOnRegularIcon,\n  default120 as FacebookIcon,\n  default121 as FilterBoldFillIcon,\n  default122 as FilterBoldIcon,\n  default123 as FilterDotBoldFillIcon,\n  default124 as FilterDotBoldIcon,\n  default125 as FilterDotLightIcon,\n  default126 as FilterDotRegularIcon,\n  default127 as FilterLightIcon,\n  default128 as FilterRegularIcon,\n  default129 as FoldChevronLeftBoldFillIcon,\n  default130 as FoldChevronLeftBoldIcon,\n  default131 as FoldChevronLeftLightIcon,\n  default132 as FoldChevronLeftRegularIcon,\n  default133 as FoldChevronRightBoldFillIcon,\n  default134 as FoldChevronRightBoldIcon,\n  default135 as FoldChevronRightLightIcon,\n  default136 as FoldChevronRightRegularIcon,\n  default137 as FulfillmentLogoIcon,\n  default138 as GiftBoldFillIcon,\n  default139 as GiftBoldIcon,\n  default140 as GiftLightIcon,\n  default141 as GiftRegularIcon,\n  default142 as GithubIcon,\n  default143 as GoogleIcon,\n  default144 as HangerBoldFillIcon,\n  default145 as HangerBoldIcon,\n  default146 as HangerLightIcon,\n  default147 as HangerRegularIcon,\n  default148 as HeartBoldFillIcon,\n  default149 as HeartBoldIcon,\n  default150 as HeartRegularIcon,\n  default151 as HomeBoldFillIcon,\n  default152 as HomeBoldIcon,\n  default153 as HomeLightIcon,\n  default154 as HomeRegularIcon,\n  default155 as HouseBoldFillIcon,\n  default156 as HouseBoldIcon,\n  default157 as HouseRegularIcon,\n  default158 as InfoCircleBoldFillIcon,\n  default159 as InfoCircleBoldIcon,\n  default160 as InfoCircleLightIcon,\n  default161 as InfoCircleRegularIcon,\n  default162 as InstagramIcon,\n  default163 as KakaoIcon,\n  default164 as LawBoldFillIcon,\n  default165 as LawBoldIcon,\n  default166 as LawLightIcon,\n  default167 as LawRegularIcon,\n  default168 as LetterBoldIcon,\n  default169 as LetterFillIcon,\n  default170 as LetterLightIcon,\n  default171 as LetterRegularIcon,\n  default172 as LockBoldFillIcon,\n  default173 as LockBoldIcon,\n  default174 as LockRegularIcon,\n  default175 as LockoffBoldFillIcon,\n  default176 as LockoffBoldIcon,\n  default177 as LockoffRegularIcon,\n  default178 as MilIcon,\n  default179 as MinusBoldFillIcon,\n  default180 as MinusBoldIcon,\n  default181 as MinusLightIcon,\n  default182 as MinusRegularIcon,\n  default183 as MuteIcon,\n  default184 as MyBoldFillIcon,\n  default185 as MyBoldIcon,\n  default186 as MyRegularIcon,\n  default187 as NaverIcon,\n  default188 as PencilBoldFillIcon,\n  default189 as PencilBoldIcon,\n  default190 as PencilLightIcon,\n  default191 as PencilRegularIcon,\n  default192 as PictureBoldFillIcon,\n  default193 as PictureBoldIcon,\n  default194 as PictureLightIcon,\n  default195 as PictureRegularIcon,\n  default196 as PlayIcon,\n  default197 as PlusBoldFillIcon,\n  default198 as PlusBoldIcon,\n  default199 as PlusLightIcon,\n  default200 as PlusRegularIcon,\n  default201 as QuestionBoldFillIcon,\n  default202 as QuestionBoldIcon,\n  default203 as QuestionLightIcon,\n  default204 as QuestionRegularIcon,\n  default205 as RedoBoldFillIcon,\n  default206 as RedoBoldIcon,\n  default207 as RedoLightIcon,\n  default208 as RedoRegularIcon,\n  default209 as RemoveBoldFillIcon,\n  default210 as RemoveBoldIcon,\n  default211 as RemoveLightIcon,\n  default212 as RemoveRegularIcon,\n  default213 as ScrapBoldFillIcon,\n  default214 as ScrapBoldIcon,\n  default215 as ScrapLightIcon,\n  default216 as ScrapRegularIcon,\n  default217 as SearchBoldFillIcon,\n  default218 as SearchBoldIcon,\n  default219 as SearchListBoldFillIcon,\n  default220 as SearchListBoldIcon,\n  default221 as SearchListLightIcon,\n  default222 as SearchListRegularIcon,\n  default223 as SearchRegularIcon,\n  default224 as SettingBoldFillIcon,\n  default225 as SettingBoldIcon,\n  default226 as SettingLightIcon,\n  default227 as SettingRegularIcon,\n  default228 as ShareBoldFillIcon,\n  default229 as ShareBoldIcon,\n  default230 as ShareLightIcon,\n  default231 as ShareRegularIcon,\n  default232 as SocialAppleIcon,\n  default233 as SocialGoogleIcon,\n  default234 as SocialInstagramIcon,\n  default235 as SocialYoutubeIcon,\n  default236 as SpaceBoldFillIcon,\n  default237 as SpaceBoldIcon,\n  default238 as SpaceLightIcon,\n  default239 as SpaceRegularIcon,\n  default240 as StarBoldFillIcon,\n  default241 as StarBoldIcon,\n  default242 as StarHalfBoldFillIcon,\n  default243 as StarHalfBoldIcon,\n  default244 as StarHalfLightIcon,\n  default245 as StarHalfRegularIcon,\n  default246 as StarLightIcon,\n  default247 as StarRegularIcon,\n  default248 as ThreeGridBoldFillIcon,\n  default249 as ThreeGridBoldIcon,\n  default250 as ThreeGridLightIcon,\n  default251 as ThreeGridRegularIcon,\n  default252 as TrashBoldFillIcon,\n  default253 as TrashBoldIcon,\n  default254 as TrashLightIcon,\n  default255 as TrashRegularIcon,\n  default256 as TwoGridBoldFillIcon,\n  default257 as TwoGridBoldIcon,\n  default258 as TwoGridLightIcon,\n  default259 as TwoGridRegularIcon,\n  default260 as VolumeIcon,\n  default261 as WonBoldFillIcon,\n  default262 as WonBoldIcon,\n  default265 as WonIcon,\n  default263 as WonLightIcon,\n  default264 as WonRegularIcon,\n  default266 as YoutubeIcon\n};\n","import * as index from \"../packages/contexts/common/icon/index.js\";\nconst s = (e) => {\n  if (!e)\n    return null;\n  const t = `${e.replace(/^ic-/, \"\").split(\"-\").map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join(\"\")}BoldIcon`;\n  return index[t] || null;\n};\nexport {\n  s as mapIconName\n};\n","const n = (e) => e.map((t) => typeof t == \"string\" ? { text: t, iconId: null } : t);\nexport {\n  n as normalizeImageBadges\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst e = g({\n  base: \"inline-block align-baseline\",\n  variants: {\n    size: {\n      small: \"min-w-[16px] rounded-2 px-6 py-2 text-xxs-medium\",\n      medium: \"min-w-[24px] rounded-2 px-8 py-4 text-s-medium\"\n    },\n    priority: {\n      primary: \"\",\n      secondary: \"\",\n      tertiary: \"\",\n      information: \"\",\n      negative: \"\",\n      accent: \"\"\n    },\n    theme: {\n      light: \"\",\n      dark: \"\"\n    },\n    isBlur: {\n      true: \"bg-[#5D5D5D80] text-on-color backdrop-blur-[5px]\"\n    }\n  },\n  compoundVariants: [\n    {\n      priority: \"primary\",\n      theme: \"light\",\n      isBlur: false,\n      class: \"bg-primary text-on-color\"\n    },\n    {\n      priority: \"primary\",\n      theme: \"dark\",\n      isBlur: false,\n      class: \"bg-primary-dark text-on-color-dark\"\n    },\n    {\n      priority: \"secondary\",\n      theme: \"light\",\n      isBlur: false,\n      class: \"bg-tertiary text-secondary\"\n    },\n    {\n      priority: \"secondary\",\n      theme: \"dark\",\n      isBlur: false,\n      // NOTE:(김홍동) bg-tertiary-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n      class: \"bg-[#19191a] text-secondary-dark\"\n    },\n    {\n      priority: \"tertiary\",\n      theme: \"light\",\n      isBlur: false,\n      class: \"bg-fill-tertiary text-tertiary\"\n    },\n    {\n      priority: \"tertiary\",\n      theme: \"dark\",\n      isBlur: false,\n      class: \"bg-fill-tertiary-dark text-tertiary-dark\"\n    },\n    {\n      priority: \"information\",\n      theme: \"light\",\n      isBlur: false,\n      class: \"bg-interactive-low text-interactive\"\n    },\n    {\n      priority: \"information\",\n      theme: \"dark\",\n      isBlur: false,\n      class: \"bg-interactive-low-dark text-interactive-dark\"\n    },\n    {\n      priority: \"negative\",\n      theme: \"light\",\n      isBlur: false,\n      class: \"bg-accent-low text-negative\"\n    },\n    {\n      priority: \"negative\",\n      theme: \"dark\",\n      isBlur: false,\n      class: \"bg-accent-low-dark text-negative-dark\"\n    },\n    {\n      priority: \"accent\",\n      theme: \"light\",\n      isBlur: false,\n      class: \"bg-accent-low text-accent\"\n    },\n    {\n      priority: \"accent\",\n      theme: \"dark\",\n      isBlur: false,\n      class: \"bg-accent-low-dark text-accent-dark\"\n    }\n  ],\n  defaultVariants: {\n    theme: \"light\",\n    priority: \"primary\",\n    isBlur: false\n  }\n});\nexport {\n  e as badge\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { forwardRef, memo } from \"react\";\nimport { badge as e } from \"./Badge.styles.js\";\nconst g = forwardRef(\n  ({ children: r, className: e$1, name: s, size: o = \"small\", theme: t = \"light\", isBlur: m$1, priority: a = \"primary\", ...i }, l) => {\n    const n = e({ size: o, theme: t, priority: a, isBlur: m$1, className: e$1 });\n    return /* @__PURE__ */ m.jsxs(\"div\", { ...i, className: n, ref: l, children: [\n      r,\n      s\n    ] });\n  }\n), B = memo(g);\nexport {\n  B as Badge\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g$1 } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { mapIconName as s } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as B } from \"../Badge/Badge.js\";\nconst z = g$1({\n  base: \"z-content-1 h-full w-full rounded-0 object-cover\",\n  variants: {\n    isRounded: {\n      true: \"rounded-2\"\n    }\n  }\n}), k = ({\n  imgUrl: t,\n  itemName: o,\n  imageBadge: n2,\n  href: s2,\n  target: r,\n  onClick: l,\n  rank: i,\n  isRounded: c,\n  theme: m$1 = \"light\",\n  isEnded: u = false,\n  renderImage: d = ({ className: a, src: x, alt: p }) => /* @__PURE__ */ m.jsx(\"img\", { className: a, src: x, loading: \"lazy\", alt: p })\n}) => {\n  const a = i !== void 0;\n  return /* @__PURE__ */ m.jsxs(\"a\", { className: \"relative inline-block h-fit\", href: s2, target: r, onClick: l, children: [\n    a ? /* @__PURE__ */ m.jsx(N, { rank: i }) : null,\n    /* @__PURE__ */ m.jsxs(\"div\", { className: `relative aspect-square ${u ? \"opacity-40\" : \"\"}`, children: [\n      d({\n        className: z({ isRounded: c }),\n        src: t,\n        alt: o\n      }),\n      n2 && /* @__PURE__ */ m.jsx(g, { badges: n2, theme: m$1 })\n    ] })\n  ] });\n}, N = ({ rank: t }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute z-content-2 inline-flex h-24 w-24 items-center justify-center bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-s-medium text-on-white\", children: t }) }), g = ({\n  badges: t,\n  theme: o\n}) => {\n  if (!t)\n    return null;\n  const n$1 = n(t);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-6 left-6 z-content-1 space-x-2\", children: n$1.map((s$1) => {\n    const r = s(s$1.iconId);\n    return /* @__PURE__ */ m.jsx(\n      B,\n      {\n        size: \"small\",\n        priority: \"primary\",\n        theme: o,\n        className: \"flex items-center gap-2\",\n        name: s$1.text,\n        children: r ? /* @__PURE__ */ m.jsx(r, { size: 12 }) : null\n      },\n      `${s$1.text}-${s$1.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  k as CompactPreuserCardPreview,\n  z as compactPreuserImage\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport I from \"../PreuserProductCard/PreuserProductCardInfo.js\";\nimport { CompactPreuserCardPreview as k } from \"./CompactPreuserCardPreview.js\";\nconst N = g({\n  base: \"mb-16 flex w-full flex-col space-y-8 rounded-4\"\n}), y = forwardRef(\n  ({\n    imgUrl: s,\n    onClick: t,\n    onBrandClick: c,\n    imageBadge: u,\n    className: d,\n    renderImage: i,\n    rank: f,\n    href: o,\n    brandHref: n,\n    hasPadding: m$1,\n    isEnded: l,\n    theme: a,\n    ...r\n  }, p) => /* @__PURE__ */ m.jsxs(\n    \"div\",\n    {\n      className: N({\n        className: d\n      }),\n      ref: p,\n      role: \"button\",\n      children: [\n        /* @__PURE__ */ m.jsx(\n          k,\n          {\n            rank: f,\n            imgUrl: s,\n            imageBadge: u,\n            renderImage: i,\n            href: o,\n            onClick: t,\n            isRounded: !m$1,\n            target: r.target,\n            itemName: r.itemName,\n            theme: a,\n            isEnded: l\n          }\n        ),\n        /* @__PURE__ */ m.jsx(\n          I,\n          {\n            ...r,\n            onClick: t,\n            onClickBrandName: c,\n            href: o,\n            brandHref: n,\n            size: \"compact\",\n            hasPadding: m$1,\n            theme: a\n          }\n        )\n      ]\n    }\n  )\n);\nexport {\n  y as CompactPreuserProductCard,\n  N as compactPreuserProductCard\n};\n","const i = (t) => {\n  const e = String(t), c = e.indexOf(\".\"), n = /(\\d)(?=(\\d\\d\\d)+(?!\\d))/g;\n  return c > -1 ? e.slice(0, c).replace(n, \"$1,\") + e.slice(c) : e.replace(n, \"$1,\");\n};\nexport {\n  i as commaizeNumber\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nconst n = 5, x = ({ colorChipInfo: l }) => {\n  const { colors: e = [], itemCountWithoutColor: o = 0 } = l ?? {};\n  if (e.length === 0)\n    return null;\n  const a = e.slice(0, n), r = Math.max(0, e.length - n) + o;\n  return /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex items-center gap-8\", children: [\n    a.map(({ code: t, name: i }) => /* @__PURE__ */ m.jsx(\n      \"span\",\n      {\n        className: \"h-10 w-10 flex-shrink-0 rounded-[0.5rem] border border-black-alpha-200\",\n        style: { backgroundColor: t },\n        children: /* @__PURE__ */ m.jsx(\"span\", { className: \"sr-only\", children: i })\n      },\n      t\n    )),\n    r > 0 && /* @__PURE__ */ m.jsxs(\"span\", { className: \"text-xxs text-tertiary\", children: [\n      \"+\",\n      r\n    ] })\n  ] });\n};\nexport {\n  x as ColorChip\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g, cn as a } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nconst d = g({\n  slots: {\n    wrapper: \"inline-flex items-center gap-2 align-middle\",\n    text: \"\"\n  },\n  variants: {\n    isLast: {\n      true: {\n        wrapper: \"min-w-0 flex-1\",\n        text: \"min-w-0 truncate\"\n      },\n      false: {\n        wrapper: \"shrink-0\",\n        text: \"shrink-0\"\n      }\n    }\n  }\n}), u = (e) => {\n  const s = {\n    \"ic-delivery\": \"DeliveryBoldFillIcon\"\n  };\n  return s[e] ? s[e] : \"DeliveryBoldFillIcon\";\n}, j = ({ optionFees: e, className: s }) => {\n  if (!e || e.length === 0)\n    return null;\n  const a$1 = e.map(({ text: t, prefixIcon: l }, n) => {\n    const i = n === e.length - 1, { wrapper: m$1, text: c } = d({ isLast: i });\n    return /* @__PURE__ */ m.jsxs(\"span\", { className: m$1(), children: [\n      l && /* @__PURE__ */ m.jsx(\n        v,\n        {\n          icon: u(l),\n          size: \"xSmall\",\n          className: \"h-[13px] w-[13px] shrink-0 align-middle\"\n        }\n      ),\n      /* @__PURE__ */ m.jsx(\"span\", { className: c(), children: t })\n    ] }, `${n}-${t}`);\n  }).reduce((t, l, n) => [\n    ...t,\n    n > 0 && /* @__PURE__ */ m.jsx(\n      \"span\",\n      {\n        className: \"mx-[3px] inline-block h-[1.5px] w-[1.5px] shrink-0 rounded-full bg-gray-300 align-middle\"\n      },\n      `separator-${n}-${e[n].text}`\n    ),\n    l\n  ], []);\n  return /* @__PURE__ */ m.jsx(\n    \"div\",\n    {\n      className: a(\"flex min-w-0 items-center overflow-hidden text-s text-tertiary\", s),\n      title: e.map((t) => t.text).join(\" \"),\n      children: a$1\n    }\n  );\n};\nexport {\n  j as OptionFees\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport s from \"../../packages/contexts/common/icon/components/IcHeartBoldFill.js\";\nimport n from \"../../packages/contexts/common/icon/components/IcStarBoldFill.js\";\nimport { commaizeNumber as i } from \"../../packages/contexts/common/utils/src/numbers/commaizeNumber.js\";\nimport { ColorChip as x$1 } from \"./ColorChip.js\";\nimport { OptionFees as j } from \"./OptionFee.js\";\nimport { TextButton as R } from \"../TextButton/TextButton.js\";\nimport { Badge as B } from \"../Badge/Badge.js\";\nconst x = g({\n  slots: {\n    base: \"space-y-12 text-on-color-dark\",\n    header: \"space-y-6\",\n    requiredInfo: \"mr-10 space-y-2\",\n    brandName: \"mb-2 flex items-center gap-2 align-baseline\",\n    productName: \"mb-6 text-s\",\n    priceInfo: \"flex items-center gap-2\",\n    discount: \"text-l-bold\",\n    metaDataGroup: \"block space-y-8 text-tertiary\",\n    metaData: \"flex flex-wrap gap-2\",\n    amountText: \"\"\n  },\n  variants: {\n    productNameLineClamp: {\n      1: {\n        productName: \"line-clamp-1 break-all\"\n      },\n      2: {\n        productName: \"line-clamp-2 break-all\"\n      }\n    },\n    hasPadding: {\n      true: \"mx-10\"\n    },\n    size: {\n      small: {\n        base: \"space-y-8\",\n        header: \"space-y-6\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-xs-bold\",\n        productName: \"mb-2 text-s\",\n        priceInfo: \"flex gap-2 text-l-bold\",\n        metaDataGroup: \"space-y-8\",\n        amountText: \"text-xxs-medium\"\n      },\n      medium: {\n        base: \"space-y-10\",\n        requiredInfo: \"mr-20 space-y-2\",\n        brandName: \"mb-2 text-m-bold\",\n        productName: \"mb-6 text-l\",\n        priceInfo: \"flex gap-2 text-xxl-bold\",\n        metaDataGroup: \"space-y-8\",\n        amountText: \"text-xs-medium\"\n      },\n      compact: {\n        base: \"space-y-8 text-on-color-dark\",\n        header: \"space-y-4\",\n        requiredInfo: \"mr-8 space-y-2\",\n        brandName: \"mb-2 w-full text-xs-bold\",\n        productName: \"break-all text-s\",\n        priceInfo: \"flex gap-2 text-m-bold\",\n        discount: \"text-m-bold\",\n        metaDataGroup: \"space-y-8 text-xxs-medium\"\n      }\n    },\n    theme: {\n      light: {\n        productName: \"text-primary\",\n        discount: \"text-accent\",\n        priceInfo: \"text-primary\",\n        amountText: \"text-tertiary\"\n      },\n      dark: {\n        productName: \"text-primary-dark\",\n        discount: \"text-accent-dark\",\n        priceInfo: \"text-primary-dark\",\n        // NOTE:(김홍동) text-tertiary-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n        amountText: \"text-[#474747]\"\n      }\n    },\n    soldOut: {\n      true: {}\n    }\n  },\n  compoundVariants: [\n    {\n      soldOut: true,\n      theme: \"light\",\n      class: {\n        discount: \"text-disabled\",\n        priceInfo: \"text-disabled\"\n      }\n    },\n    {\n      soldOut: true,\n      theme: \"dark\",\n      class: {\n        // NOTE:(김홍동) text-disabled-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n        discount: \"text-[#303033]\",\n        priceInfo: \"text-[#303033]\"\n      }\n    }\n  ],\n  defaultVariants: {\n    size: \"small\",\n    theme: \"light\",\n    soldOut: false\n  }\n}), Li = ({\n  discount: m$1,\n  price: a,\n  brandName: p,\n  onClickBrandName: e,\n  size: o = \"small\",\n  theme: r = \"light\",\n  productName: l,\n  likeAmount: b,\n  reviewAmount: j$1,\n  badges: y,\n  hasPadding: I,\n  productNameLineClamp: v = 1,\n  soldOut: u = false,\n  showMeta: g2 = true,\n  showMetaGroup: D = true,\n  reviewRate: k,\n  brandHref: f,\n  productHref: c,\n  target: s2,\n  freeShippingBadge: h,\n  optionFees: T,\n  colorChipInfo: z,\n  onClick: n2\n}) => {\n  const i$1 = x({\n    size: o,\n    hasPadding: I,\n    productNameLineClamp: v,\n    soldOut: u,\n    theme: r\n  });\n  return /* @__PURE__ */ m.jsx(\"div\", { className: i$1.base(), children: /* @__PURE__ */ m.jsxs(\"div\", { className: i$1.header(), children: [\n    /* @__PURE__ */ m.jsx(x$1, { colorChipInfo: z }),\n    /* @__PURE__ */ m.jsxs(\"div\", { className: i$1.requiredInfo(), children: [\n      p ? /* @__PURE__ */ m.jsx(\n        R,\n        {\n          priority: \"primary\",\n          size: \"xSmall\",\n          isBold: true,\n          onClick: e,\n          label: p,\n          postfixIcon: o !== \"compact\" && (f || e) ? \"ChevronRightBoldIcon\" : void 0,\n          href: f,\n          target: s2,\n          className: i$1.brandName({\n            // TODO:(신다혜) - 디자인 플랫폼에 TextButton 관련 추가 스펙 확인하기\n            className: \"[&>span]:truncate\"\n          }),\n          theme: r\n        }\n      ) : null,\n      /* @__PURE__ */ m.jsx(\"a\", { className: i$1.productName(), onClick: n2, href: c, target: s2, children: l })\n    ] }),\n    /* @__PURE__ */ m.jsxs(\"a\", { onClick: n2, href: c, target: s2, className: \"gap-[3px]\", children: [\n      /* @__PURE__ */ m.jsxs(\"div\", { className: i$1.priceInfo(), children: [\n        m$1 ? /* @__PURE__ */ m.jsxs(\"p\", { className: i$1.discount(), children: [\n          m$1,\n          \"%\"\n        ] }) : null,\n        /* @__PURE__ */ m.jsx(\"p\", { children: i(a) })\n      ] }),\n      /* @__PURE__ */ m.jsx(j, { optionFees: T })\n    ] }),\n    D && /* @__PURE__ */ m.jsxs(\"a\", { onClick: n2, href: c, target: s2, className: i$1.metaDataGroup(), children: [\n      /* @__PURE__ */ m.jsxs(\"div\", { className: \"space-y-10\", children: [\n        /* @__PURE__ */ m.jsx(S, { badges: y, soldOut: u, theme: r }),\n        h && /* @__PURE__ */ m.jsx(\"div\", { className: \"flex\", children: h })\n      ] }),\n      g2 && /* @__PURE__ */ m.jsx(\n        w,\n        {\n          likeAmount: b,\n          reviewAmount: j$1,\n          reviewRate: k,\n          size: o,\n          theme: r\n        }\n      )\n    ] })\n  ] }) });\n}, S = ({\n  badges: m$1,\n  soldOut: a,\n  theme: p = \"light\",\n  text: e = \"품절\"\n}) => {\n  const o = x();\n  return !m$1 || m$1.length === 0 ? null : a ? /* @__PURE__ */ m.jsx(\"div\", { className: o.metaData(), children: /* @__PURE__ */ m.jsx(B, { size: \"small\", priority: \"tertiary\", theme: p, children: e }) }) : /* @__PURE__ */ m.jsx(\"div\", { className: o.metaData(), children: m$1.map(({ name: r, priority: l = \"secondary\" }) => /* @__PURE__ */ m.jsx(B, { size: \"small\", theme: p, priority: l, children: r }, r)) });\n}, w = ({\n  likeAmount: m$1 = 0,\n  reviewAmount: a = 0,\n  reviewRate: p = 0,\n  size: e,\n  theme: o\n}) => {\n  const r = x({\n    size: e,\n    theme: o\n  });\n  return /* @__PURE__ */ m.jsxs(\"div\", { className: r.metaData(), children: [\n    /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex items-center gap-2\", children: [\n      /* @__PURE__ */ m.jsx(s, { size: 12 }),\n      /* @__PURE__ */ m.jsx(\"span\", { className: r.amountText(), children: i(m$1) })\n    ] }),\n    /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex items-center gap-2\", children: [\n      /* @__PURE__ */ m.jsx(n, { size: 12 }),\n      /* @__PURE__ */ m.jsxs(\"span\", { className: r.amountText(), children: [\n        p,\n        \" (\",\n        i(a),\n        \")\"\n      ] })\n    ] })\n  ] });\n};\nexport {\n  w as AmountMetaData,\n  S as BadgeGroup,\n  Li as default,\n  x as productCardInfo\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport s from \"../../packages/contexts/common/icon/components/IcHeartBoldFill.js\";\nimport s$1 from \"../../packages/contexts/common/icon/components/IcHeartBold.js\";\nimport { useCallback } from \"react\";\nimport { mapIconName as s$2 } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as B$1 } from \"../Badge/Badge.js\";\nconst z = g({\n  base: \"h-full w-full rounded-0 object-cover\",\n  variants: {\n    isRounded: {\n      true: \"rounded-2\"\n    }\n  }\n}), Pm = ({\n  onHeart: o = false,\n  onHeartClick: r,\n  imgUrl: i,\n  extraBadge: m$1,\n  imageBadge: a,\n  productHref: c,\n  target: d,\n  onClick: u,\n  rank: n2,\n  isRounded: x,\n  renderImage: f = ({ className: e, src: s2, alt: p }) => /* @__PURE__ */ m.jsx(\"img\", { className: e, src: s2, loading: \"lazy\", alt: p })\n}) => {\n  const e = useCallback(\n    (l) => {\n      l.preventDefault(), l.stopPropagation(), r == null || r();\n    },\n    [r]\n  ), s$22 = n2 !== void 0, p = [...m$1 ? [m$1] : [], ...a || []].filter(Boolean);\n  return /* @__PURE__ */ m.jsxs(\"a\", { className: \"relative inline-block h-fit\", href: c, target: d, onClick: u, children: [\n    /* @__PURE__ */ m.jsx(\"div\", { className: \"relative aspect-square\", children: f({\n      className: z({ isRounded: x }),\n      src: i\n    }) }),\n    s$22 ? /* @__PURE__ */ m.jsx(w, { rank: n2 }) : null,\n    /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute inset-x-0 bottom-0\", children: p && /* @__PURE__ */ m.jsx(B, { badges: p }) }),\n    /* @__PURE__ */ m.jsx(\"button\", { className: \"absolute right-10 top-10 drop-shadow-100\", onClick: e, children: o ? /* @__PURE__ */ m.jsx(s, { className: \"text-accent\", size: 24 }) : /* @__PURE__ */ m.jsx(s$1, { className: \"text-on-white\", size: 24 }) })\n  ] });\n}, w = ({ rank: o }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute inline-flex h-24 w-24 items-center justify-center bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-s-medium text-on-white\", children: o }) }), B = ({ badges: o }) => {\n  if (!o)\n    return null;\n  const r = n(o);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-6 left-6 space-x-2\", children: r.map((i) => {\n    const m$1 = s$2(i.iconId);\n    return /* @__PURE__ */ m.jsx(\n      B$1,\n      {\n        size: \"small\",\n        priority: \"primary\",\n        name: i.text,\n        className: \"flex items-center gap-2\",\n        children: m$1 ? /* @__PURE__ */ m.jsx(m$1, { size: 12 }) : null\n      },\n      `${i.text}-${i.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  Pm as CompactCardPreview,\n  z as image\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport Li from \"../ProductCard/ProductCardInfo.js\";\nimport { CompactCardPreview as Pm } from \"./CompactCardPreview.js\";\nconst H = g({\n  base: \"mb-16 flex w-full flex-col space-y-8 rounded-4\"\n}), R = forwardRef(\n  ({ imgUrl: a, onHeart: d, onHeartClick: m$1, onClick: e, extraBadge: f, className: u, renderImage: s, rank: i, href: t, hasPadding: c, ...r }, p) => /* @__PURE__ */ m.jsxs(\"div\", { className: H({ className: u }), ref: p, role: \"button\", children: [\n    /* @__PURE__ */ m.jsx(\n      Pm,\n      {\n        rank: i,\n        imgUrl: a,\n        onHeart: d,\n        onHeartClick: m$1,\n        extraBadge: f,\n        renderImage: s,\n        productHref: r.productHref ?? t,\n        onClick: e,\n        isRounded: !c,\n        target: r.target\n      }\n    ),\n    /* @__PURE__ */ m.jsx(\n      Li,\n      {\n        ...r,\n        onClick: e,\n        productHref: r.productHref ?? t,\n        brandHref: r.productHref ?? t,\n        size: \"compact\",\n        productNameLineClamp: 1,\n        showMeta: false,\n        hasPadding: c\n      }\n    )\n  ] })\n);\nexport {\n  R as CompactProductCard,\n  H as compactProductCard\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { mapIconName as s } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as B } from \"../Badge/Badge.js\";\nconst I = g({\n  base: \"h-full w-full rounded-0 object-cover\",\n  variants: {\n    isRounded: {\n      true: \"rounded-2\"\n    }\n  }\n}), P = ({\n  imgUrl: s2,\n  itemName: o,\n  imageBadge: r,\n  href: a,\n  target: t,\n  onClick: n2,\n  rank: l,\n  isRounded: c,\n  theme: m$1 = \"light\",\n  size: d = \"small\",\n  isEnded: u = false,\n  renderImage: x = ({ className: i, src: p, alt: j }) => /* @__PURE__ */ m.jsx(\"img\", { className: i, src: p, loading: \"lazy\", alt: j })\n}) => {\n  const i = l !== void 0;\n  return /* @__PURE__ */ m.jsxs(\"a\", { href: a, target: t, onClick: n2, children: [\n    i ? /* @__PURE__ */ m.jsx(N, { rank: l }) : null,\n    /* @__PURE__ */ m.jsxs(\"div\", { className: `relative aspect-square ${u ? \"opacity-40\" : \"\"}`, children: [\n      x({\n        className: I({ isRounded: c }),\n        src: s2,\n        alt: o\n      }),\n      r && /* @__PURE__ */ m.jsx(z, { badges: r, theme: m$1, size: d })\n    ] })\n  ] });\n}, N = ({ rank: s2 }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute z-content-1 inline-flex h-24 w-24 items-center justify-center rounded-0 bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-s-medium text-on-white\", children: s2 }) }), z = ({\n  badges: s$1,\n  theme: o,\n  size: r = \"small\"\n}) => {\n  if (!s$1)\n    return null;\n  const a = n(s$1);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-10 left-10 z-content-1 space-x-2\", children: a.map((t) => {\n    const n2 = s(t.iconId);\n    return /* @__PURE__ */ m.jsx(\n      B,\n      {\n        size: r,\n        priority: \"primary\",\n        theme: o,\n        name: t.text,\n        className: \"flex items-center gap-2\",\n        children: n2 ? /* @__PURE__ */ m.jsx(n2, { size: 12 }) : null\n      },\n      `${t.text}-${t.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  P as PreuserProductCardPreview,\n  I as preuserImage\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport I from \"./PreuserProductCardInfo.js\";\nimport { PreuserProductCardPreview as P } from \"./PreuserProductCardPreview.js\";\nconst E = g({\n  variants: {\n    size: {\n      small: \"mb-20 space-y-12\",\n      medium: \"mb-40 space-y-12\"\n    }\n  },\n  defaultVariants: {\n    size: \"small\"\n  }\n}), k = forwardRef(\n  ({\n    imgUrl: i,\n    itemName: s,\n    onClick: e,\n    onBrandClick: c,\n    size: r,\n    imageBadge: n,\n    className: l,\n    renderImage: f,\n    target: t = \"_self\",\n    hasPadding: m$1,\n    rank: p,\n    href: u,\n    brandHref: P$1,\n    brandName: x,\n    recruitEndAt: A,\n    isEnded: j,\n    timeText: v,\n    theme: a,\n    ...d\n  }, C) => /* @__PURE__ */ m.jsxs(\n    \"div\",\n    {\n      className: E({\n        size: r,\n        className: l\n      }),\n      ref: C,\n      role: \"button\",\n      children: [\n        /* @__PURE__ */ m.jsx(\n          P,\n          {\n            imgUrl: i,\n            itemName: s,\n            onClick: e,\n            imageBadge: n,\n            renderImage: f,\n            target: t,\n            isRounded: !m$1,\n            rank: p,\n            href: u,\n            theme: a,\n            size: r,\n            isEnded: j,\n            ...d\n          }\n        ),\n        /* @__PURE__ */ m.jsx(\n          I,\n          {\n            itemName: s,\n            onClick: e,\n            onClickBrandName: c,\n            size: r,\n            target: t,\n            hasPadding: m$1,\n            brandName: x,\n            brandHref: P$1,\n            href: u,\n            timeText: v,\n            theme: a,\n            ...d\n          }\n        )\n      ]\n    }\n  )\n);\nexport {\n  k as PreuserProductCard,\n  E as preuserProductCard\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport s from \"../../packages/contexts/common/icon/components/IcHeartBoldFill.js\";\nimport s$1 from \"../../packages/contexts/common/icon/components/IcHeartBold.js\";\nimport { useCallback } from \"react\";\nimport { mapIconName as s$2 } from \"../../utils/mapIconName.js\";\nimport { normalizeImageBadges as n } from \"../../utils/normalizeImageBadges.js\";\nimport { Badge as B$1 } from \"../Badge/Badge.js\";\nconst w = g({\n  base: \"h-full w-full rounded-0 object-cover\",\n  variants: {\n    isRounded: {\n      true: \"rounded-2\"\n    }\n  }\n}), Sm = ({\n  onHeart: o = false,\n  onHeartClick: r,\n  imgUrl: i,\n  extraBadge: m$1,\n  imageBadge: n2,\n  productHref: c,\n  target: d,\n  onClick: u,\n  rank: a,\n  isRounded: x,\n  hasLiked: f = true,\n  renderImage: j = ({ className: e, src: s2, alt: p }) => /* @__PURE__ */ m.jsx(\"img\", { className: e, src: s2, loading: \"lazy\", alt: p })\n}) => {\n  const e = useCallback(\n    (l) => {\n      l.preventDefault(), l.stopPropagation(), r == null || r();\n    },\n    [r]\n  ), s$22 = a !== void 0, p = [...m$1 ? [m$1] : [], ...n2 || []].filter(Boolean);\n  return /* @__PURE__ */ m.jsxs(\"a\", { href: c, target: d, onClick: u, children: [\n    s$22 ? /* @__PURE__ */ m.jsx(B, { rank: a }) : null,\n    /* @__PURE__ */ m.jsxs(\"div\", { className: \"relative aspect-square\", children: [\n      j({\n        className: w({ isRounded: x }),\n        src: i\n      }),\n      /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute inset-x-0 bottom-0\", children: p && /* @__PURE__ */ m.jsx(y, { badges: p }) }),\n      f && /* @__PURE__ */ m.jsx(\"button\", { className: \"absolute bottom-10 right-10 drop-shadow-100\", onClick: e, children: o ? /* @__PURE__ */ m.jsx(s, { className: \"text-accent\", size: 24 }) : /* @__PURE__ */ m.jsx(s$1, { className: \"text-on-white\", size: 24 }) })\n    ] })\n  ] });\n}, B = ({ rank: o }) => /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute z-content-1 inline-flex h-24 w-24 items-center justify-center rounded-0 bg-on-black\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"text-s-medium text-on-white\", children: o }) }), y = ({ badges: o }) => {\n  if (!o)\n    return null;\n  const r = n(o);\n  return /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute bottom-10 left-10 space-x-2\", children: r.map((i) => {\n    const m$1 = s$2(i.iconId);\n    return /* @__PURE__ */ m.jsx(\n      B$1,\n      {\n        size: \"medium\",\n        priority: \"primary\",\n        name: i.text,\n        className: \"flex items-center gap-2\",\n        children: m$1 ? /* @__PURE__ */ m.jsx(m$1, { size: 12 }) : null\n      },\n      `${i.text}-${i.iconId || \"no-icon\"}`\n    );\n  }) });\n};\nexport {\n  Sm as Preview,\n  w as image\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport { Preview as Sm } from \"./CardPreview.js\";\nimport Li from \"./ProductCardInfo.js\";\nconst b = g({\n  variants: {\n    size: {\n      small: \"mb-20 space-y-12\",\n      medium: \"mb-40 space-y-12\"\n    }\n  },\n  defaultVariants: {\n    size: \"small\"\n  }\n}), z = forwardRef(\n  ({\n    imgUrl: a,\n    onHeart: i,\n    onHeartClick: d,\n    onClick: o,\n    size: s,\n    extraBadge: f,\n    className: u,\n    renderImage: c,\n    target: t = \"_self\",\n    hasPadding: m$1,\n    rank: l,\n    ...e\n  }, n) => /* @__PURE__ */ m.jsxs(\"div\", { className: b({ size: s, className: u }), ref: n, role: \"button\", children: [\n    /* @__PURE__ */ m.jsx(\n      Sm,\n      {\n        imgUrl: a,\n        onHeart: i,\n        onClick: o,\n        onHeartClick: d,\n        extraBadge: f,\n        renderImage: c,\n        target: t,\n        isRounded: !m$1,\n        rank: l,\n        ...e\n      }\n    ),\n    /* @__PURE__ */ m.jsx(Li, { onClick: o, size: s, target: t, hasPadding: m$1, ...e })\n  ] })\n);\nexport {\n  z as ProductCard,\n  b as productCard\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst r = g({\n  slots: {\n    base: \"flex min-w-[212px] items-stretch gap-8\",\n    image: \"relative aspect-square flex-none overflow-hidden border border-solid border-divider\",\n    brandName: \"w-full truncate text-xs-bold\",\n    productName: \"w-full truncate text-s\",\n    discount: \"\",\n    priceInfo: \"\"\n  },\n  variants: {\n    size: {\n      small: {\n        base: \"h-56\",\n        image: \"w-56 rounded-2\"\n      },\n      medium: {\n        base: \"h-80\",\n        image: \"w-80 rounded-4\"\n      }\n    },\n    theme: {\n      light: {\n        brandName: \"text-primary\",\n        productName: \"text-primary\",\n        image: \"border-divider\"\n      },\n      dark: {\n        // NOTE:(윤해용) text-primary-dark 토큰이 존재하지 않으므로 직접 색상 지정\n        brandName: \"text-[#ffffff]\",\n        productName: \"text-[#ffffff]\",\n        image: \"border-none\"\n      }\n    },\n    soldOut: {\n      true: {},\n      false: {}\n    }\n  },\n  compoundVariants: [\n    {\n      soldOut: true,\n      theme: \"light\",\n      class: {\n        discount: \"text-disabled\",\n        priceInfo: \"text-disabled\"\n      }\n    },\n    {\n      soldOut: true,\n      theme: \"dark\",\n      class: {\n        // NOTE:(김홍동) text-disabled-dark 색상이 프레이머에 적용된 dark 색상과 다르기에 커스텀 색상을 적용.\n        discount: \"text-[#303033]\",\n        priceInfo: \"text-[#303033]\"\n      }\n    },\n    {\n      soldOut: false,\n      theme: \"light\",\n      class: {\n        discount: \"text-accent\",\n        priceInfo: \"text-primary\"\n      }\n    },\n    {\n      soldOut: false,\n      theme: \"dark\",\n      class: {\n        // NOTE:(윤해용) 토큰이 존재하지 않음\n        discount: \"text-[#FF4800]\",\n        priceInfo: \"text-[#ffffff]\"\n      }\n    }\n  ],\n  defaultVariants: {\n    size: \"small\",\n    theme: \"light\",\n    soldOut: false\n  }\n});\nexport {\n  r as productHorizontalCardInfo\n};\n","import { useState } from \"react\";\nconst a = (o = false) => {\n  const [s, e] = useState(false);\n  return {\n    isPressed: s,\n    pressEvents: o ? {} : {\n      onMouseDown: () => e(true),\n      onMouseUp: () => e(false),\n      onMouseLeave: () => e(false),\n      onTouchStart: () => e(true),\n      onTouchEnd: () => e(false),\n      onTouchCancel: () => e(false)\n    },\n    \"data-pressed\": s\n  };\n};\nexport {\n  a as usePressedState\n};\n","const t = (e) => e ? typeof e == \"string\" : false;\nexport {\n  t as isIconName\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst t = g({\n  slots: {\n    button: \"relative flex flex-row items-center justify-center gap-2 rounded-2 focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-interactive\",\n    icon: \"shrink-0 grow-0\",\n    // NOTE: icon will inherit color and bg\n    spinner: \"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center rounded-2\"\n  },\n  variants: {\n    priority: {\n      primary: {\n        button: \"bg-primary text-on-color [@media(hover:hover)and(pointer:fine)]:hover:bg-primary-hover focus:bg-primary data-[pressed=true]:bg-primary-pressed\",\n        spinner: \"bg-primary\"\n      },\n      secondary: {\n        button: \"border border-line bg-silent text-primary [@media(hover:hover)and(pointer:fine)]:hover:bg-silent-hover [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover data-[pressed=true]:bg-silent-pressed data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-silent\"\n      },\n      tertiary: {\n        button: \"bg-tertiary text-primary [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-tertiary\"\n      }\n    },\n    size: {\n      xSmall: {\n        button: \"h-28 w-28 rounded-2 p-6\",\n        icon: \"h-16 w-16\",\n        spinner: \"rounded-2\"\n      },\n      small: {\n        button: \"h-36 w-36 rounded-2 p-8\",\n        icon: \"h-20 w-20\",\n        spinner: \"rounded-2\"\n      },\n      medium: {\n        button: \"h-44 w-44 rounded-4 p-12\",\n        icon: \"h-22 w-22\",\n        spinner: \"rounded-4\"\n      },\n      large: {\n        button: \"h-52 w-52 rounded-4 p-14\",\n        icon: \"h-24 w-24\",\n        spinner: \"rounded-4\"\n      }\n    },\n    isWhite: {\n      true: {\n        button: \"bg-on-white text-primary visited:bg-on-white [@media(hover:hover)and(pointer:fine)]:hover:bg-on-white [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover focus:bg-on-white data-[pressed=true]:bg-on-white data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-on-white\"\n      }\n    },\n    transparent: {\n      true: {\n        button: \"bg-transparent text-primary [@media(hover:hover)and(pointer:fine)]:hover:bg-transparent [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover focus:bg-transparent focus:text-primary-hover data-[pressed=true]:bg-transparent data-[pressed=true]:text-primary-pressed\",\n        spinner: \"bg-transparent [@media(hover:hover)and(pointer:fine)]:hover:bg-transparent focus:bg-transparent data-[pressed=true]:bg-transparent\"\n      }\n    },\n    disabled: {\n      true: {\n        button: \"bg-disabled text-disabled [@media(hover:hover)and(pointer:fine)]:hover:bg-disabled [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:bg-disabled focus:text-disabled data-[pressed=true]:bg-disabled data-[pressed=true]:text-disabled cursor-not-allowed\"\n      }\n    }\n  },\n  compoundVariants: [\n    {\n      isWhite: true,\n      transparent: true,\n      disabled: false,\n      class: {\n        button: \"text-on-color [@media(hover:hover)and(pointer:fine)]:hover:text-on-color focus:text-on-color data-[pressed=true]:text-on-color\"\n      }\n    },\n    {\n      transparent: true,\n      disabled: true,\n      class: {\n        button: \"bg-transparent text-disabled [@media(hover:hover)and(pointer:fine)]:hover:bg-transparent [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:bg-transparent focus:text-disabled data-[pressed=true]:bg-transparent data-[pressed=true]:text-disabled\"\n      }\n    },\n    {\n      isWhite: true,\n      transparent: false,\n      disabled: true,\n      class: {\n        button: \"bg-on-white\"\n      }\n    }\n  ],\n  defaultVariants: {\n    disabled: false,\n    transparent: false\n  }\n});\nexport {\n  t as iconButtonVariant\n};\n","var l = /* @__PURE__ */ ((a) => (a[a.small = 16] = \"small\", a[a.medium = 20] = \"medium\", a[a.xLarge = 42] = \"xLarge\", a))(l || {}), s = /* @__PURE__ */ ((a) => (a[a.small = 3] = \"small\", a[a.medium = 4] = \"medium\", a[a.xLarge = 6] = \"xLarge\", a))(s || {});\nexport {\n  l as SpinnerSizeEnum,\n  s as SpinnerStrokeEnum\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { forwardRef } from \"react\";\nimport { SpinnerSizeEnum as l, SpinnerStrokeEnum as s } from \"./Spinner.types.js\";\nconst c = (i) => {\n  switch (i) {\n    case \"xLarge\":\n      return {\n        size: l.xLarge,\n        stroke: s.xLarge\n      };\n    case \"large\":\n    case \"medium\":\n      return {\n        size: l.medium,\n        stroke: s.medium\n      };\n    case \"small\":\n    case \"xSmall\":\n      return {\n        size: l.small,\n        stroke: s.small\n      };\n    default:\n      return {\n        size: l.medium,\n        stroke: s.medium\n      };\n  }\n}, t = 50, d = g({\n  base: \"ruler-spinner\",\n  variants: {\n    pending: {\n      true: \"pending\"\n    }\n  }\n}), k = forwardRef(\n  ({ size: i = \"medium\", onColor: o = false, isPending: m$1 = true }, a) => {\n    const l2 = d({ pending: m$1 }), e = c(i);\n    return /* @__PURE__ */ m.jsx(\n      \"svg\",\n      {\n        ref: a,\n        className: l2,\n        xmlns: \"http://www.w3.org/2000/svg\",\n        width: e.size,\n        height: e.size,\n        viewBox: `-${e.size / 2} -${e.size / 2} ${e.size} ${e.size}`,\n        style: { \"--path-length\": t },\n        children: /* @__PURE__ */ m.jsx(\n          \"circle\",\n          {\n            r: Math.floor(e.size / 2 - e.stroke / 2),\n            strokeWidth: e.stroke,\n            fill: \"none\",\n            pathLength: t,\n            className: o ? \"ruler-spinner-on-color\" : \"ruler-spinner-normal\"\n          }\n        )\n      }\n    );\n  }\n);\nexport {\n  k as Spinner,\n  d as spinnerVariant\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { forwardRef, isValidElement } from \"react\";\nimport { usePressedState as a } from \"../../hooks/usePressedState.js\";\nimport { isIconName as t$1 } from \"../Icon/Icon.types.js\";\nimport { iconButtonVariant as t } from \"./IconButton.variant.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nimport { Spinner as k } from \"../Spinner/Spinner.js\";\nconst b = forwardRef(\n  ({ priority: a$1 = \"primary\", size: e = \"medium\", disabled: r, pending: o, icon: s, transparent: m$1, isWhite: l, className: c, ...p }, u) => {\n    const { pressEvents: f, \"data-pressed\": x } = a(r || o), i = m$1 ? \"primary\" : a$1, {\n      button: j,\n      icon: n,\n      spinner: y\n    } = t({\n      size: e,\n      priority: i,\n      disabled: r,\n      transparent: m$1,\n      isWhite: l\n    });\n    return /* @__PURE__ */ m.jsxs(\n      \"button\",\n      {\n        ref: u,\n        ...p,\n        ...f,\n        \"data-pressed\": x,\n        className: j({ className: c }),\n        disabled: r || o,\n        children: [\n          t$1(s) && (!(m$1 && o) || r) ? /* @__PURE__ */ m.jsx(v, { icon: s, className: n() }) : null,\n          isValidElement(s) && !(m$1 && o) ? /* @__PURE__ */ m.jsx(\"span\", { className: n(), children: s }) : null,\n          !r && o ? /* @__PURE__ */ m.jsx(\"div\", { className: y(), children: /* @__PURE__ */ m.jsx(k, { size: e, onColor: i === \"primary\" }) }) : null\n        ]\n      }\n    );\n  }\n);\nexport {\n  b as IconButton\n};\n","const r = (t) => t >= 1e6 ? `${Math.floor(t / 1e6)}M` : t >= 1e3 ? `${Math.floor(t / 1e3)}K` : `${t}`;\nexport {\n  r as unitizeNumber\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { unitizeNumber as r } from \"../../packages/contexts/common/utils/src/numbers/unitizeNumber.js\";\nimport { forwardRef, memo } from \"react\";\nimport { Icon as v$1 } from \"../Icon/Icon.js\";\nconst v = g({\n  slots: {\n    layout: \"group m-0 flex h-[52px] min-h-[52px] w-[52px] min-w-[52px] flex-col items-center justify-center rounded-4 border-none outline-none focus-visible:border focus-visible:border-solid focus-visible:border-interactive\",\n    icon: \"h-24 w-24 transition duration-150 ease-in-out group-active:h-[22px] group-active:min-h-[22px] group-active:w-[22px] group-active:min-w-[22px]\",\n    count: \"w-full truncate text-s-medium\"\n  },\n  variants: {\n    priority: {\n      default: {\n        layout: \"text-tertiary\",\n        icon: \"[&>g>*]:group-hover:fill-tertiary-hover [&>g>*]:group-active:fill-tertiary-pressed\",\n        count: \"group-hover:text-tertiary-hover group-active:text-tertiary-pressed\"\n      },\n      white: {\n        layout: \"text-on-color\",\n        icon: \"[&>g>*]:group-hover:fill-on-color-hover [&>g>*]:group-active:fill-on-color-pressed\",\n        count: \"group-hover:text-on-color-hover group-active:text-on-color-pressed\"\n      }\n    },\n    on: {\n      true: {\n        icon: \"text-accent\"\n      }\n    }\n  }\n}), f = forwardRef(\n  ({ className: i, count: n, on: e, priority: r$1, onClick: c, ...u }, l) => {\n    const o = v({ priority: r$1 });\n    return /* @__PURE__ */ m.jsxs(\"button\", { ref: l, className: o.layout({ class: i }), onClick: c, ...u, children: [\n      /* @__PURE__ */ m.jsx(\n        v$1,\n        {\n          className: o.icon({ on: e }),\n          icon: e ? \"HeartBoldFillIcon\" : \"HeartRegularIcon\",\n          color: r$1 === \"default\" ? \"text-tertiary\" : \"text-on-color\"\n        }\n      ),\n      /* @__PURE__ */ m.jsx(\"p\", { className: o.count(), children: r(n) })\n    ] });\n  }\n), B = memo(f);\nexport {\n  B as LikeCountButton\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { memo, useCallback } from \"react\";\nimport { IconButton as b } from \"../IconButton/IconButton.js\";\nimport { LikeCountButton as B } from \"../LikeCountButton/LikeCountButton.js\";\nconst i = g({\n  variants: {\n    type: {\n      likeCountButton: \"m-auto\",\n      iconButton: \"h-[44px] min-h-[44px] w-[44px] min-w-[44px]\"\n    }\n  },\n  defaultVariants: {\n    type: \"likeCountButton\"\n  }\n}), h = memo(({ postfix: t, theme: a }) => {\n  const n = useCallback(\n    (o) => {\n      var r;\n      o.preventDefault(), o.stopPropagation(), (r = t.onClick) == null || r.call(t);\n    },\n    [t]\n  );\n  return t.type === \"likeCountButton\" ? /* @__PURE__ */ m.jsx(\n    B,\n    {\n      className: i({ type: t.type }),\n      priority: a === \"light\" ? \"default\" : \"white\",\n      on: t.onHeart,\n      onClick: n,\n      count: t.likeAmount\n    }\n  ) : /* @__PURE__ */ m.jsx(\"div\", { className: \"flex items-center\", children: /* @__PURE__ */ m.jsx(\n    b,\n    {\n      className: i({ type: t.type }),\n      icon: t.icon,\n      priority: \"secondary\",\n      size: \"medium\",\n      onClick: n,\n      transparent: true\n    }\n  ) });\n});\nexport {\n  h as ProductHorizontalCardPostfix\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { cn as a } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { commaizeNumber as i } from \"../../packages/contexts/common/utils/src/numbers/commaizeNumber.js\";\nimport { forwardRef, memo } from \"react\";\nimport { OptionFees as j } from \"../ProductCard/OptionFee.js\";\nimport { productHorizontalCardInfo as r } from \"./ProductHorizontalCard.styles.js\";\nimport { ProductHorizontalCardPostfix as h } from \"./ProductHorizontalCardPostfix.js\";\nimport { Badge as B$1 } from \"../Badge/Badge.js\";\nconst B = 54, H = forwardRef(\n  ({\n    className: e,\n    imgUrl: r$1,\n    brandName: l,\n    productName: t,\n    price: m$1,\n    discount: i2,\n    postfix: n,\n    extraBadge: o,\n    imageBadge: u,\n    onClick: p,\n    soldOut: j2,\n    size: N = \"small\",\n    theme: d = \"light\",\n    optionFees: h$1,\n    badges: g,\n    renderImage: z = ({ className: a2, src: c }) => /* @__PURE__ */ m.jsx(\"img\", { className: a2, src: c, loading: \"lazy\" })\n  }, v) => {\n    const a$1 = r({\n      size: N,\n      theme: d\n    }), c = [...o ? [o] : [], ...u || []].filter(Boolean);\n    return /* @__PURE__ */ m.jsxs(\"div\", { ref: v, className: a(a$1.base(), e), onClick: p, role: \"button\", children: [\n      /* @__PURE__ */ m.jsxs(\"div\", { className: a$1.image(), children: [\n        c ? /* @__PURE__ */ m.jsx(S, { badges: c }) : null,\n        z({\n          className: \"absolute left-0 top-0 h-full w-full object-cover\",\n          src: r$1,\n          imageSize: B\n        })\n      ] }),\n      /* @__PURE__ */ m.jsx(\"div\", { className: \"flex min-w-0 flex-1 items-center\", children: /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex min-w-0 flex-col items-start gap-2\", children: [\n        l ? /* @__PURE__ */ m.jsx(\"p\", { className: a$1.brandName(), children: l }) : null,\n        t ? /* @__PURE__ */ m.jsx(\"p\", { className: a$1.productName(), children: t }) : null,\n        /* @__PURE__ */ m.jsx(\n          F,\n          {\n            price: m$1,\n            soldOut: j2,\n            discount: i2,\n            optionFees: h$1,\n            badges: g,\n            theme: d\n          }\n        )\n      ] }) }),\n      n ? /* @__PURE__ */ m.jsx(h, { postfix: n, theme: d }) : null\n    ] });\n  }\n), O = memo(H), F = ({\n  discount: e,\n  price: r$1,\n  optionFees: l,\n  soldOut: t,\n  badges: m$1,\n  theme: i$1\n}) => {\n  const n = r({\n    theme: i$1,\n    soldOut: t\n  }), o = r$1 != null;\n  return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [\n    /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex items-center gap-[3px]\", children: [\n      /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex content-baseline items-center gap-2 text-s-bold\", children: [\n        e ? /* @__PURE__ */ m.jsxs(\"p\", { className: n.discount(), children: [\n          e,\n          \"%\"\n        ] }) : null,\n        o ? /* @__PURE__ */ m.jsx(\"p\", { className: n.priceInfo(), children: i(r$1) }) : null\n      ] }),\n      /* @__PURE__ */ m.jsx(j, { optionFees: l })\n    ] }),\n    /* @__PURE__ */ m.jsx(R, { badges: m$1, soldOut: t, theme: i$1 })\n  ] });\n}, R = ({\n  badges: e,\n  soldOut: r2,\n  theme: l = \"light\"\n}) => !e || e.length === 0 ? null : r2 ? /* @__PURE__ */ m.jsx(\n  B$1,\n  {\n    size: \"small\",\n    priority: \"tertiary\",\n    theme: l,\n    className: l === \"dark\" ? \"text-[#a0a0a0]\" : \"text-[#474747]\",\n    children: \"일시품절\"\n  }\n) : /* @__PURE__ */ m.jsx(\"div\", { className: \"flex flex-wrap items-center gap-4\", children: e.map((t) => /* @__PURE__ */ m.jsx(B$1, { size: \"small\", theme: l, ...t }, t.name)) }), S = ({ badges: e }) => e ? /* @__PURE__ */ m.jsx(m.Fragment, { children: e.map((r2) => /* @__PURE__ */ m.jsx(B$1, { priority: \"primary\", className: \"absolute bottom-0 left-0 z-content-1 rounded-0\", size: \"small\", children: r2 }, r2)) }) : null;\nexport {\n  R as BadgeGroup,\n  O as ProductHorizontalCard\n};\n","import { useReducer, useRef, useState, useCallback, useEffect } from \"react\";\nconst timerReducer = (state, action) => {\n  switch (action.type) {\n    case \"TICK\":\n      return {\n        now: /* @__PURE__ */ new Date(),\n        tick: state.tick + 1\n      };\n    default:\n      return state;\n  }\n};\nconst useVisibilityAwareTimer = (interval = 1e3) => {\n  const [state, dispatch] = useReducer(timerReducer, {\n    now: /* @__PURE__ */ new Date(),\n    tick: 0\n  });\n  const intervalIdRef = useRef(null);\n  const [isVisible, setIsVisible] = useState(false);\n  const startTimer = useCallback(() => {\n    if (intervalIdRef.current !== null) {\n      return;\n    }\n    intervalIdRef.current = setInterval(() => {\n      dispatch({\n        type: \"TICK\"\n      });\n    }, interval);\n  }, [interval]);\n  const stopTimer = useCallback(() => {\n    if (intervalIdRef.current !== null) {\n      clearInterval(intervalIdRef.current);\n      intervalIdRef.current = null;\n    }\n  }, []);\n  useEffect(() => {\n    const handleVisibilityChange = () => {\n      setIsVisible(document.visibilityState === \"visible\");\n    };\n    document.addEventListener(\"visibilitychange\", handleVisibilityChange);\n    return () => {\n      document.removeEventListener(\"visibilitychange\", handleVisibilityChange);\n    };\n  }, []);\n  useEffect(() => {\n    setIsVisible(document.visibilityState === \"visible\");\n  }, []);\n  useEffect(() => {\n    if (isVisible) {\n      startTimer();\n    } else {\n      stopTimer();\n    }\n    return () => {\n      stopTimer();\n    };\n  }, [isVisible, startTimer, stopTimer]);\n  return state;\n};\nexport {\n  useVisibilityAwareTimer\n};\n","import { useState, useEffect } from \"react\";\nconst usePageVisibility = () => {\n  const [visibility, setVisibility] = useState(true);\n  useEffect(() => {\n    const handler = () => {\n      setVisibility(!document.hidden);\n    };\n    document.addEventListener(\"visibilitychange\", handler);\n    return () => document.removeEventListener(\"visibilitychange\", handler);\n  }, []);\n  return visibility;\n};\nexport {\n  usePageVisibility\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1cc5q_1 {\\n  font-family:\\n    'Pretendard Bold',\\n    Pretendard,\\n    -apple-system,\\n    BlinkMacSystemFont,\\n    system-ui,\\n    Roboto,\\n    'Helvetica Neue',\\n    'Segoe UI',\\n    'Apple SD Gothic Neo',\\n    'Noto Sans KR',\\n    'Malgun Gothic',\\n    'Apple Color Emoji',\\n    'Segoe UI Emoji',\\n    'Segoe UI Symbol',\\n    sans-serif;\\n  font-feature-settings: 'tnum';\\n  font-variant-numeric: tabular-nums;\\n  line-height: 1;\\n  height: 1em;\\n  overflow: hidden;\\n  white-space: pre;\\n\\n  display: inline-flex;\\n  align-items: center;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1cc5q_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1ck4i_1 {\\n  height: 100%;\\n\\n  display: inline-flex;\\n  justify-content: flex-end;\\n  flex-direction: column;\\n}\\n\\n._presentation_1ck4i_9 {\\n  user-select: none;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1ck4i_1\";\nconst presentation = \"_presentation_1ck4i_9\";\nconst styles = {\n  container,\n  presentation\n};\nexport {\n  container,\n  styles as default,\n  presentation\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport styles from \"./RollingValue.module.css.js\";\nconst numbers = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0];\nconst transition = {\n  type: \"spring\",\n  stiffness: 800,\n  damping: 60,\n  mass: 1\n};\nconst RollingValue = ({\n  isInitial,\n  value\n}) => {\n  const y = `${value * 100}%`;\n  return /* @__PURE__ */ jsx(motion.div, { className: styles.container, variants: {\n    show: {\n      y,\n      width: \"auto\",\n      opacity: 1\n    },\n    exit: {\n      y,\n      width: 0,\n      opacity: 0\n    }\n  }, initial: isInitial ? \"show\" : \"exit\", animate: \"show\", exit: \"exit\", transition, children: numbers.map((n) => /* @__PURE__ */ jsx(\"span\", { role: value !== n ? \"presentation\" : void 0, className: value !== n ? styles.presentation : void 0, children: n }, n)) });\n};\nexport {\n  RollingValue\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { AnimatePresence } from \"framer-motion\";\nimport { memo, useState } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport { useEffectOnce } from \"../../../hooks/react/useEffectOnce.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { usePageVisibility } from \"../../../hooks/usePageVisibility.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport styles from \"./RollingNumber.module.css.js\";\nimport { RollingValue } from \"./RollingValue.js\";\nfunction padNumber(value, padSize) {\n  return `${value}`.padStart(padSize, \"0\");\n}\nconst RollingNumber = memo(({\n  value,\n  padSize = 0,\n  style\n}) => {\n  const [isInitial, setIsInitial] = useState(true);\n  const pageVisibility = usePageVisibility();\n  useEffectOnce(() => {\n    if (!isCanvas()) {\n      setIsInitial(false);\n    }\n  });\n  const digits = padNumber(value, padSize).split(\"\").map((token) => Number(token));\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, style, children: /* @__PURE__ */ jsx(AnimatePresence, { children: digits.map((digit, index) => /* @__PURE__ */ jsx(\n    RollingValue,\n    {\n      isInitial,\n      value: digit\n    },\n    digits.length - index\n  )) }, `${pageVisibility}`) });\n});\nexport {\n  RollingNumber\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_hompy_1 {\\n  font-family:\\n    'Pretendard Bold',\\n    Pretendard,\\n    -apple-system,\\n    BlinkMacSystemFont,\\n    system-ui,\\n    Roboto,\\n    'Helvetica Neue',\\n    'Segoe UI',\\n    'Apple SD Gothic Neo',\\n    'Noto Sans KR',\\n    'Malgun Gothic',\\n    'Apple Color Emoji',\\n    'Segoe UI Emoji',\\n    'Segoe UI Symbol',\\n    sans-serif;\\n  line-height: 1;\\n  white-space: pre;\\n\\n  display: flex;\\n  align-items: center;\\n}\\n\\n._delimiter_hompy_25 {\\n  transform: translateY(-0.1em);\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_hompy_1\";\nconst delimiter = \"_delimiter_hompy_25\";\nconst styles = {\n  container,\n  delimiter\n};\nexport {\n  container,\n  styles as default,\n  delimiter\n};\n","function getRoundingMethod(method) {\n  return (number) => {\n    const round = method ? Math[method] : Math.trunc;\n    const result = round(number);\n    return result === 0 ? 0 : result;\n  };\n}\nexport {\n  getRoundingMethod\n};\n","import { toDate } from \"./toDate.js\";\nfunction differenceInMilliseconds(dateLeft, dateRight) {\n  return +toDate(dateLeft) - +toDate(dateRight);\n}\nexport {\n  differenceInMilliseconds as default,\n  differenceInMilliseconds\n};\n","import { getRoundingMethod } from \"./_lib/getRoundingMethod.js\";\nimport { differenceInMilliseconds } from \"./differenceInMilliseconds.js\";\nfunction differenceInSeconds(dateLeft, dateRight, options) {\n  const diff = differenceInMilliseconds(dateLeft, dateRight) / 1e3;\n  return getRoundingMethod(options == null ? void 0 : options.roundingMethod)(diff);\n}\nexport {\n  differenceInSeconds as default,\n  differenceInSeconds\n};\n","import { jsx, jsxs, Fragment } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useMemo } from \"react\";\nimport { useVisibilityAwareTimer } from \"../../../hooks/useVisibilityAwareTimer.js\";\nimport { RollingNumber } from \"../RollingNumber/RollingNumber.js\";\nimport styles from \"./Countdown.module.css.js\";\nimport { differenceInSeconds } from \"../../../node_modules/date-fns/differenceInSeconds.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nfunction renderDateNumbers({\n  diff,\n  dateDisplayFormat,\n  postfixSpacing\n}) {\n  const days = Math.floor(diff / (24 * 60 * 60));\n  if (days === 0) {\n    return null;\n  }\n  switch (dateDisplayFormat) {\n    case \"'D'-D\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        \"D-\",\n        /* @__PURE__ */ jsx(RollingNumber, { value: days }),\n        postfixSpacing && /* @__PURE__ */ jsx(\"span\", { children: \" \" })\n      ] });\n    case \"D일\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        /* @__PURE__ */ jsx(RollingNumber, { value: days }),\n        postfixSpacing ? \"일 \" : \"일\"\n      ] });\n    default:\n      return null;\n  }\n}\nfunction renderTimeNumbers({\n  diff,\n  timeDisplayFormat\n}) {\n  const hours = Math.floor(diff / (60 * 60)) % 24;\n  const minutes = Math.floor(diff / 60) % 60;\n  const seconds = diff % 60;\n  switch (timeDisplayFormat) {\n    case \"H:mm:ss\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        /* @__PURE__ */ jsx(RollingNumber, { value: hours }),\n        /* @__PURE__ */ jsx(\"span\", { className: styles.delimiter, children: \":\" }),\n        /* @__PURE__ */ jsx(RollingNumber, { value: minutes, padSize: 2 }),\n        /* @__PURE__ */ jsx(\"span\", { className: styles.delimiter, children: \":\" }),\n        /* @__PURE__ */ jsx(RollingNumber, { value: seconds, padSize: 2 })\n      ] });\n    case \"H시간 m분 s초\":\n      return /* @__PURE__ */ jsxs(Fragment, { children: [\n        /* @__PURE__ */ jsx(RollingNumber, { value: hours }),\n        \"시간 \",\n        /* @__PURE__ */ jsx(RollingNumber, { value: minutes }),\n        \"분 \",\n        /* @__PURE__ */ jsx(RollingNumber, { value: seconds }),\n        \"초\"\n      ] });\n    default:\n      return null;\n  }\n}\nfunction renderNumbers({\n  diff,\n  dateDisplayFormat,\n  timeDisplayFormat\n}) {\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    renderDateNumbers({\n      diff,\n      dateDisplayFormat,\n      postfixSpacing: timeDisplayFormat !== \"none\"\n    }),\n    renderTimeNumbers({\n      diff,\n      timeDisplayFormat\n    })\n  ] });\n}\nconst Countdown = ({\n  style,\n  dateDisplayFormat,\n  timeDisplayFormat,\n  targetDateString,\n  targetTimeString,\n  fontSize,\n  color\n}) => {\n  const {\n    now\n  } = useVisibilityAwareTimer();\n  const targetDate = useMemo(() => parseISO(`${targetDateString.slice(0, 10)}T${targetTimeString}+09:00`), [targetDateString, targetTimeString]);\n  const diff = Math.max(0, differenceInSeconds(targetDate, now));\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, style: {\n    ...style,\n    fontSize,\n    color,\n    height: fontSize\n  }, children: renderNumbers({\n    diff,\n    dateDisplayFormat,\n    timeDisplayFormat\n  }) });\n};\naddPropertyControls(Countdown, {\n  targetDateString: {\n    title: \"날짜\",\n    type: ControlType.Date,\n    defaultValue: \"2024-02-25\"\n  },\n  targetTimeString: {\n    title: \"시간\",\n    description: \"예: 13:00:00 (시:분:초)\",\n    type: ControlType.String,\n    placeholder: \"13:00:00\",\n    defaultValue: \"00:00:00\"\n  },\n  dateDisplayFormat: {\n    title: \"날짜 표기\",\n    description: \"D-0 인 경우 표시되지 않습니다\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [\"'D'-D\", \"D일\", \"none\"],\n    optionTitles: [\"D-3\", \"3일\", \"없음\"],\n    defaultValue: \"h시간 m분 s초\"\n  },\n  timeDisplayFormat: {\n    title: \"시간 표기\",\n    type: ControlType.Enum,\n    options: [\"H:mm:ss\", \"H시간 m분 s초\", \"none\"],\n    optionTitles: [\"7:21:58\", \"7시간 21분 58초\", \"없음\"],\n    defaultValue: \"h시간 m분 s초\"\n  },\n  fontSize: {\n    title: \"크기 (px)\",\n    type: ControlType.Number,\n    defaultValue: 54\n  },\n  color: {\n    title: \"색상\",\n    type: ControlType.Color,\n    defaultValue: \"rgba(0,0,0,1)\"\n  }\n});\nexport {\n  Countdown\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1uy8b_1 {\\n  position: relative;\\n  width: 100%;\\n  height: auto;\\n}\\n\\n._wrapper_1uy8b_7 {\\n  width: 100%;\\n}\\n\\n._wrapper_1uy8b_7 > div {\\n  width: 100% !important;\\n}\\n\\n._bottom_1uy8b_15 {\\n  position: absolute;\\n  top: auto;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n\\n  width: 100%;\\n\\n  display: flex;\\n  justify-content: center;\\n  align-items: center;\\n}\\n\\n._buttonContainer_1uy8b_29 {\\n  position: absolute;\\n  left: 50%;\\n  z-index: 2;\\n\\n  width: 92%;\\n\\n  transform: translateX(-50%);\\n}\\n\\n._gradient_1uy8b_39 {\\n  position: relative;\\n  z-index: 1;\\n\\n  width: 100%;\\n  height: 320px;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1uy8b_1\";\nconst wrapper = \"_wrapper_1uy8b_7\";\nconst bottom = \"_bottom_1uy8b_15\";\nconst buttonContainer = \"_buttonContainer_1uy8b_29\";\nconst gradient = \"_gradient_1uy8b_39\";\nconst styles = {\n  container,\n  wrapper,\n  bottom,\n  buttonContainer,\n  gradient\n};\nexport {\n  bottom,\n  buttonContainer,\n  container,\n  styles as default,\n  gradient,\n  wrapper\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_1p21o_1 {\\n  width: 100%;\\n  height: 140px;\\n  min-width: min-content;\\n\\n  display: flex;\\n  align-items: center;\\n  justify-content: center;\\n\\n  padding: 16px 26px;\\n\\n  background-color: #375fff33;\\n}\\n\\n._text_1p21o_15 {\\n  font-size: 18px;\\n  font-family:\\n    'Pretendard Medium',\\n    Pretendard Medium Placeholder,\\n    Pretendard,\\n    -apple-system,\\n    BlinkMacSystemFont,\\n    system-ui,\\n    Roboto,\\n    'Helvetica Neue',\\n    'Segoe UI',\\n    'Apple SD Gothic Neo',\\n    'Noto Sans KR',\\n    'Malgun Gothic',\\n    'Apple Color Emoji',\\n    'Segoe UI Emoji',\\n    'Segoe UI Symbol',\\n    sans-serif;\\n  line-height: 1.6em;\\n  text-align: center;\\n  color: #375fff;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_1p21o_1\";\nconst text = \"_text_1p21o_15\";\nconst styles = {\n  container,\n  text\n};\nexport {\n  container,\n  styles as default,\n  text\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport styles from \"./Placeholder.module.css.js\";\nimport { Children } from \"react\";\nconst Placeholder = ({\n  children\n}) => {\n  if (!isCanvas()) {\n    return null;\n  }\n  const hasChildren = Children.count(children) > 0;\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, children: /* @__PURE__ */ jsx(\"p\", { className: styles.text, children: hasChildren ? children : \"요소를 연결해 주세요\" }) });\n};\nexport {\n  Placeholder\n};\n","var ButtonTheme = /* @__PURE__ */ ((ButtonTheme2) => {\n  ButtonTheme2[\"LIGHT\"] = \"light\";\n  ButtonTheme2[\"DARK\"] = \"dark\";\n  return ButtonTheme2;\n})(ButtonTheme || {});\nvar ButtonVariant = /* @__PURE__ */ ((ButtonVariant2) => {\n  ButtonVariant2[\"PRIMARY\"] = \"primary\";\n  ButtonVariant2[\"SECONDARY\"] = \"secondary\";\n  ButtonVariant2[\"TERTIARY\"] = \"tertiary\";\n  ButtonVariant2[\"CUSTOM\"] = \"custom\";\n  ButtonVariant2[\"DISABLED\"] = \"disabled\";\n  return ButtonVariant2;\n})(ButtonVariant || {});\nvar ButtonSize = /* @__PURE__ */ ((ButtonSize2) => {\n  ButtonSize2[\"LARGE\"] = \"large\";\n  ButtonSize2[\"MEDIUM\"] = \"medium\";\n  ButtonSize2[\"SMALL\"] = \"small\";\n  ButtonSize2[\"X_SMALL\"] = \"xSmall\";\n  return ButtonSize2;\n})(ButtonSize || {});\nvar UrlType = /* @__PURE__ */ ((UrlType2) => {\n  UrlType2[\"DEFAULT\"] = \"default\";\n  UrlType2[\"ONELINK\"] = \"onelink\";\n  return UrlType2;\n})(UrlType || {});\nexport {\n  ButtonSize,\n  ButtonTheme,\n  ButtonVariant,\n  UrlType\n};\n","var index = {};\nexport {\n  index as __exports\n};\n","import process$1 from \"../../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { __exports as index } from \"../../../../_virtual/index3.js\";\nimport React__default$1 from \"react\";\nvar React = React__default$1;\nfunction _interopDefaultLegacy(e) {\n  return e && typeof e === \"object\" && \"default\" in e ? e : { \"default\": e };\n}\nvar React__default = /* @__PURE__ */ _interopDefaultLegacy(React);\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor)\n      descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps)\n    _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps)\n    _defineProperties(Constructor, staticProps);\n  return Constructor;\n}\nvar isProd = typeof process$1 !== \"undefined\" && process$1.env && process$1.env.NODE_ENV === \"production\";\nvar isString = function(o) {\n  return Object.prototype.toString.call(o) === \"[object String]\";\n};\nvar StyleSheet = /* @__PURE__ */ function() {\n  function StyleSheet2(param) {\n    var ref = param === void 0 ? {} : param, _name = ref.name, name = _name === void 0 ? \"stylesheet\" : _name, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? isProd : _optimizeForSpeed;\n    invariant$1(isString(name), \"`name` must be a string\");\n    this._name = name;\n    this._deletedRulePlaceholder = \"#\" + name + \"-deleted-rule____{}\";\n    invariant$1(typeof optimizeForSpeed === \"boolean\", \"`optimizeForSpeed` must be a boolean\");\n    this._optimizeForSpeed = optimizeForSpeed;\n    this._serverSheet = void 0;\n    this._tags = [];\n    this._injected = false;\n    this._rulesCount = 0;\n    var node = typeof window !== \"undefined\" && document.querySelector('meta[property=\"csp-nonce\"]');\n    this._nonce = node ? node.getAttribute(\"content\") : null;\n  }\n  var _proto = StyleSheet2.prototype;\n  _proto.setOptimizeForSpeed = function setOptimizeForSpeed(bool) {\n    invariant$1(typeof bool === \"boolean\", \"`setOptimizeForSpeed` accepts a boolean\");\n    invariant$1(this._rulesCount === 0, \"optimizeForSpeed cannot be when rules have already been inserted\");\n    this.flush();\n    this._optimizeForSpeed = bool;\n    this.inject();\n  };\n  _proto.isOptimizeForSpeed = function isOptimizeForSpeed() {\n    return this._optimizeForSpeed;\n  };\n  _proto.inject = function inject() {\n    var _this = this;\n    invariant$1(!this._injected, \"sheet already injected\");\n    this._injected = true;\n    if (typeof window !== \"undefined\" && this._optimizeForSpeed) {\n      this._tags[0] = this.makeStyleTag(this._name);\n      this._optimizeForSpeed = \"insertRule\" in this.getSheet();\n      if (!this._optimizeForSpeed) {\n        if (!isProd) {\n          console.warn(\"StyleSheet: optimizeForSpeed mode not supported falling back to standard mode.\");\n        }\n        this.flush();\n        this._injected = true;\n      }\n      return;\n    }\n    this._serverSheet = {\n      cssRules: [],\n      insertRule: function(rule, index2) {\n        if (typeof index2 === \"number\") {\n          _this._serverSheet.cssRules[index2] = {\n            cssText: rule\n          };\n        } else {\n          _this._serverSheet.cssRules.push({\n            cssText: rule\n          });\n        }\n        return index2;\n      },\n      deleteRule: function(index2) {\n        _this._serverSheet.cssRules[index2] = null;\n      }\n    };\n  };\n  _proto.getSheetForTag = function getSheetForTag(tag) {\n    if (tag.sheet) {\n      return tag.sheet;\n    }\n    for (var i = 0; i < document.styleSheets.length; i++) {\n      if (document.styleSheets[i].ownerNode === tag) {\n        return document.styleSheets[i];\n      }\n    }\n  };\n  _proto.getSheet = function getSheet() {\n    return this.getSheetForTag(this._tags[this._tags.length - 1]);\n  };\n  _proto.insertRule = function insertRule(rule, index2) {\n    invariant$1(isString(rule), \"`insertRule` accepts only strings\");\n    if (typeof window === \"undefined\") {\n      if (typeof index2 !== \"number\") {\n        index2 = this._serverSheet.cssRules.length;\n      }\n      this._serverSheet.insertRule(rule, index2);\n      return this._rulesCount++;\n    }\n    if (this._optimizeForSpeed) {\n      var sheet = this.getSheet();\n      if (typeof index2 !== \"number\") {\n        index2 = sheet.cssRules.length;\n      }\n      try {\n        sheet.insertRule(rule, index2);\n      } catch (error) {\n        if (!isProd) {\n          console.warn(\"StyleSheet: illegal rule: \\n\\n\" + rule + \"\\n\\nSee https://stackoverflow.com/q/20007992 for more info\");\n        }\n        return -1;\n      }\n    } else {\n      var insertionPoint = this._tags[index2];\n      this._tags.push(this.makeStyleTag(this._name, rule, insertionPoint));\n    }\n    return this._rulesCount++;\n  };\n  _proto.replaceRule = function replaceRule(index2, rule) {\n    if (this._optimizeForSpeed || typeof window === \"undefined\") {\n      var sheet = typeof window !== \"undefined\" ? this.getSheet() : this._serverSheet;\n      if (!rule.trim()) {\n        rule = this._deletedRulePlaceholder;\n      }\n      if (!sheet.cssRules[index2]) {\n        return index2;\n      }\n      sheet.deleteRule(index2);\n      try {\n        sheet.insertRule(rule, index2);\n      } catch (error) {\n        if (!isProd) {\n          console.warn(\"StyleSheet: illegal rule: \\n\\n\" + rule + \"\\n\\nSee https://stackoverflow.com/q/20007992 for more info\");\n        }\n        sheet.insertRule(this._deletedRulePlaceholder, index2);\n      }\n    } else {\n      var tag = this._tags[index2];\n      invariant$1(tag, \"old rule at index `\" + index2 + \"` not found\");\n      tag.textContent = rule;\n    }\n    return index2;\n  };\n  _proto.deleteRule = function deleteRule(index2) {\n    if (typeof window === \"undefined\") {\n      this._serverSheet.deleteRule(index2);\n      return;\n    }\n    if (this._optimizeForSpeed) {\n      this.replaceRule(index2, \"\");\n    } else {\n      var tag = this._tags[index2];\n      invariant$1(tag, \"rule at index `\" + index2 + \"` not found\");\n      tag.parentNode.removeChild(tag);\n      this._tags[index2] = null;\n    }\n  };\n  _proto.flush = function flush() {\n    this._injected = false;\n    this._rulesCount = 0;\n    if (typeof window !== \"undefined\") {\n      this._tags.forEach(function(tag) {\n        return tag && tag.parentNode.removeChild(tag);\n      });\n      this._tags = [];\n    } else {\n      this._serverSheet.cssRules = [];\n    }\n  };\n  _proto.cssRules = function cssRules() {\n    var _this = this;\n    if (typeof window === \"undefined\") {\n      return this._serverSheet.cssRules;\n    }\n    return this._tags.reduce(function(rules, tag) {\n      if (tag) {\n        rules = rules.concat(Array.prototype.map.call(_this.getSheetForTag(tag).cssRules, function(rule) {\n          return rule.cssText === _this._deletedRulePlaceholder ? null : rule;\n        }));\n      } else {\n        rules.push(null);\n      }\n      return rules;\n    }, []);\n  };\n  _proto.makeStyleTag = function makeStyleTag(name, cssString, relativeToTag) {\n    if (cssString) {\n      invariant$1(isString(cssString), \"makeStyleTag accepts only strings as second parameter\");\n    }\n    var tag = document.createElement(\"style\");\n    if (this._nonce)\n      tag.setAttribute(\"nonce\", this._nonce);\n    tag.type = \"text/css\";\n    tag.setAttribute(\"data-\" + name, \"\");\n    if (cssString) {\n      tag.appendChild(document.createTextNode(cssString));\n    }\n    var head = document.head || document.getElementsByTagName(\"head\")[0];\n    if (relativeToTag) {\n      head.insertBefore(tag, relativeToTag);\n    } else {\n      head.appendChild(tag);\n    }\n    return tag;\n  };\n  _createClass(StyleSheet2, [\n    {\n      key: \"length\",\n      get: function get() {\n        return this._rulesCount;\n      }\n    }\n  ]);\n  return StyleSheet2;\n}();\nfunction invariant$1(condition, message) {\n  if (!condition) {\n    throw new Error(\"StyleSheet: \" + message + \".\");\n  }\n}\nfunction hash(str) {\n  var _$hash = 5381, i = str.length;\n  while (i) {\n    _$hash = _$hash * 33 ^ str.charCodeAt(--i);\n  }\n  return _$hash >>> 0;\n}\nvar stringHash = hash;\nvar sanitize = function(rule) {\n  return rule.replace(/\\/style/gi, \"\\\\/style\");\n};\nvar cache = {};\nfunction computeId(baseId, props) {\n  if (!props) {\n    return \"jsx-\" + baseId;\n  }\n  var propsToString = String(props);\n  var key = baseId + propsToString;\n  if (!cache[key]) {\n    cache[key] = \"jsx-\" + stringHash(baseId + \"-\" + propsToString);\n  }\n  return cache[key];\n}\nfunction computeSelector(id, css) {\n  var selectoPlaceholderRegexp = /__jsx-style-dynamic-selector/g;\n  if (typeof window === \"undefined\") {\n    css = sanitize(css);\n  }\n  var idcss = id + css;\n  if (!cache[idcss]) {\n    cache[idcss] = css.replace(selectoPlaceholderRegexp, id);\n  }\n  return cache[idcss];\n}\nfunction mapRulesToStyle(cssRules, options) {\n  if (options === void 0)\n    options = {};\n  return cssRules.map(function(args) {\n    var id = args[0];\n    var css = args[1];\n    return /* @__PURE__ */ React__default[\"default\"].createElement(\"style\", {\n      id: \"__\" + id,\n      // Avoid warnings upon render with a key\n      key: \"__\" + id,\n      nonce: options.nonce ? options.nonce : void 0,\n      dangerouslySetInnerHTML: {\n        __html: css\n      }\n    });\n  });\n}\nvar StyleSheetRegistry = /* @__PURE__ */ function() {\n  function StyleSheetRegistry2(param) {\n    var ref = param === void 0 ? {} : param, _styleSheet = ref.styleSheet, styleSheet = _styleSheet === void 0 ? null : _styleSheet, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === void 0 ? false : _optimizeForSpeed;\n    this._sheet = styleSheet || new StyleSheet({\n      name: \"styled-jsx\",\n      optimizeForSpeed\n    });\n    this._sheet.inject();\n    if (styleSheet && typeof optimizeForSpeed === \"boolean\") {\n      this._sheet.setOptimizeForSpeed(optimizeForSpeed);\n      this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();\n    }\n    this._fromServer = void 0;\n    this._indices = {};\n    this._instancesCounts = {};\n  }\n  var _proto = StyleSheetRegistry2.prototype;\n  _proto.add = function add(props) {\n    var _this = this;\n    if (void 0 === this._optimizeForSpeed) {\n      this._optimizeForSpeed = Array.isArray(props.children);\n      this._sheet.setOptimizeForSpeed(this._optimizeForSpeed);\n      this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();\n    }\n    if (typeof window !== \"undefined\" && !this._fromServer) {\n      this._fromServer = this.selectFromServer();\n      this._instancesCounts = Object.keys(this._fromServer).reduce(function(acc, tagName) {\n        acc[tagName] = 0;\n        return acc;\n      }, {});\n    }\n    var ref = this.getIdAndRules(props), styleId = ref.styleId, rules = ref.rules;\n    if (styleId in this._instancesCounts) {\n      this._instancesCounts[styleId] += 1;\n      return;\n    }\n    var indices = rules.map(function(rule) {\n      return _this._sheet.insertRule(rule);\n    }).filter(function(index2) {\n      return index2 !== -1;\n    });\n    this._indices[styleId] = indices;\n    this._instancesCounts[styleId] = 1;\n  };\n  _proto.remove = function remove(props) {\n    var _this = this;\n    var styleId = this.getIdAndRules(props).styleId;\n    invariant(styleId in this._instancesCounts, \"styleId: `\" + styleId + \"` not found\");\n    this._instancesCounts[styleId] -= 1;\n    if (this._instancesCounts[styleId] < 1) {\n      var tagFromServer = this._fromServer && this._fromServer[styleId];\n      if (tagFromServer) {\n        tagFromServer.parentNode.removeChild(tagFromServer);\n        delete this._fromServer[styleId];\n      } else {\n        this._indices[styleId].forEach(function(index2) {\n          return _this._sheet.deleteRule(index2);\n        });\n        delete this._indices[styleId];\n      }\n      delete this._instancesCounts[styleId];\n    }\n  };\n  _proto.update = function update(props, nextProps) {\n    this.add(nextProps);\n    this.remove(props);\n  };\n  _proto.flush = function flush() {\n    this._sheet.flush();\n    this._sheet.inject();\n    this._fromServer = void 0;\n    this._indices = {};\n    this._instancesCounts = {};\n  };\n  _proto.cssRules = function cssRules() {\n    var _this = this;\n    var fromServer = this._fromServer ? Object.keys(this._fromServer).map(function(styleId) {\n      return [\n        styleId,\n        _this._fromServer[styleId]\n      ];\n    }) : [];\n    var cssRules2 = this._sheet.cssRules();\n    return fromServer.concat(Object.keys(this._indices).map(function(styleId) {\n      return [\n        styleId,\n        _this._indices[styleId].map(function(index2) {\n          return cssRules2[index2].cssText;\n        }).join(_this._optimizeForSpeed ? \"\" : \"\\n\")\n      ];\n    }).filter(function(rule) {\n      return Boolean(rule[1]);\n    }));\n  };\n  _proto.styles = function styles(options) {\n    return mapRulesToStyle(this.cssRules(), options);\n  };\n  _proto.getIdAndRules = function getIdAndRules(props) {\n    var css = props.children, dynamic = props.dynamic, id = props.id;\n    if (dynamic) {\n      var styleId = computeId(id, dynamic);\n      return {\n        styleId,\n        rules: Array.isArray(css) ? css.map(function(rule) {\n          return computeSelector(styleId, rule);\n        }) : [\n          computeSelector(styleId, css)\n        ]\n      };\n    }\n    return {\n      styleId: computeId(id),\n      rules: Array.isArray(css) ? css : [\n        css\n      ]\n    };\n  };\n  _proto.selectFromServer = function selectFromServer() {\n    var elements = Array.prototype.slice.call(document.querySelectorAll('[id^=\"__jsx-\"]'));\n    return elements.reduce(function(acc, element) {\n      var id = element.id.slice(2);\n      acc[id] = element;\n      return acc;\n    }, {});\n  };\n  return StyleSheetRegistry2;\n}();\nfunction invariant(condition, message) {\n  if (!condition) {\n    throw new Error(\"StyleSheetRegistry: \" + message + \".\");\n  }\n}\nvar StyleSheetContext = /* @__PURE__ */ React.createContext(null);\nStyleSheetContext.displayName = \"StyleSheetContext\";\nfunction createStyleRegistry() {\n  return new StyleSheetRegistry();\n}\nfunction StyleRegistry(param) {\n  var configuredRegistry = param.registry, children = param.children;\n  var rootRegistry = React.useContext(StyleSheetContext);\n  var ref = React.useState(function() {\n    return rootRegistry || configuredRegistry || createStyleRegistry();\n  }), registry = ref[0];\n  return /* @__PURE__ */ React__default[\"default\"].createElement(StyleSheetContext.Provider, {\n    value: registry\n  }, children);\n}\nfunction useStyleRegistry() {\n  return React.useContext(StyleSheetContext);\n}\nvar useInsertionEffect = React__default[\"default\"].useInsertionEffect || React__default[\"default\"].useLayoutEffect;\nvar defaultRegistry = typeof window !== \"undefined\" ? createStyleRegistry() : void 0;\nfunction JSXStyle(props) {\n  var registry = defaultRegistry ? defaultRegistry : useStyleRegistry();\n  if (!registry) {\n    return null;\n  }\n  if (typeof window === \"undefined\") {\n    registry.add(props);\n    return null;\n  }\n  useInsertionEffect(function() {\n    registry.add(props);\n    return function() {\n      registry.remove(props);\n    };\n  }, [\n    props.id,\n    String(props.dynamic)\n  ]);\n  return null;\n}\nJSXStyle.dynamic = function(info) {\n  return info.map(function(tagInfo) {\n    var baseId = tagInfo[0];\n    var props = tagInfo[1];\n    return computeId(baseId, props);\n  }).join(\" \");\n};\nindex.StyleRegistry = StyleRegistry;\nindex.createStyleRegistry = createStyleRegistry;\nindex.style = JSXStyle;\nindex.useStyleRegistry = useStyleRegistry;\nexport {\n  index as default\n};\n","import { getDefaultExportFromCjs } from \"../../_virtual/_commonjsHelpers.js\";\nimport \"./dist/index/index.js\";\nimport { __exports as index } from \"../../_virtual/index3.js\";\nvar style = index.style;\nconst _JSXStyle = /* @__PURE__ */ getDefaultExportFromCjs(style);\nexport {\n  _JSXStyle as default\n};\n","const colors = {\n  transparent: \"transparent\",\n  gray00: \"#ffffff\",\n  // NOTE: rgba(255,255,255,0.9) 토큰\n  gray00Alpha90: \"rgba(255, 255, 255, 0.9)\",\n  gray100: \"#f4f4f4\",\n  gray300: \"#c4c4c4\",\n  gray400: \"#a0a0a0\",\n  gray600: \"#474747\",\n  gray700: \"#303033\",\n  gray800: \"#27272a\",\n  gray900: \"#19191a\",\n  gray950: \"#000000\",\n  gray950Alpha10: \"rgba(0, 0, 0, 0.1)\",\n  red500: \"#ff4800\",\n  // NOTE: PreviewCard 등에서 사용하는 연한 블루 배경\n  blue100: \"#d6e4ff\",\n  blue500: \"#375fff\",\n  borderDivider: \"#5D5D5D14\"\n};\nexport {\n  colors\n};\n","const isObject = (object) => {\n  return typeof object === \"object\" && object !== null && !Array.isArray(object);\n};\nconst clsx = (...inputs) => {\n  const classNames = [];\n  inputs.forEach((input) => {\n    if (isObject(input)) {\n      Object.entries(input).forEach(([key, value]) => {\n        if (value) {\n          classNames.push(key);\n        }\n      });\n      return;\n    }\n    if (input) {\n      classNames.push(input);\n    }\n  });\n  return toString(classNames);\n};\nconst toString = (inputs) => inputs.join(\" \").trim();\nexport {\n  clsx\n};\n","var SpinnerSizeEnum = /* @__PURE__ */ ((SpinnerSizeEnum2) => {\n  SpinnerSizeEnum2[SpinnerSizeEnum2[\"small\"] = 16] = \"small\";\n  SpinnerSizeEnum2[SpinnerSizeEnum2[\"medium\"] = 20] = \"medium\";\n  SpinnerSizeEnum2[SpinnerSizeEnum2[\"xLarge\"] = 42] = \"xLarge\";\n  return SpinnerSizeEnum2;\n})(SpinnerSizeEnum || {});\nvar SpinnerStrokeEnum = /* @__PURE__ */ ((SpinnerStrokeEnum2) => {\n  SpinnerStrokeEnum2[SpinnerStrokeEnum2[\"small\"] = 3] = \"small\";\n  SpinnerStrokeEnum2[SpinnerStrokeEnum2[\"medium\"] = 4] = \"medium\";\n  SpinnerStrokeEnum2[SpinnerStrokeEnum2[\"xLarge\"] = 6] = \"xLarge\";\n  return SpinnerStrokeEnum2;\n})(SpinnerStrokeEnum || {});\nexport {\n  SpinnerSizeEnum,\n  SpinnerStrokeEnum\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"/* --path-length 50 by default */\\n.ruler-spinner {\\n  stroke-dasharray: var(--path-length);\\n  stroke-dashoffset: 0;\\n  rotate: -90deg;\\n\\n  &.pending {\\n    stroke-dashoffset: var(--path-length);\\n    animation: ruler-spinner 1.6s ease-in-out infinite;\\n  }\\n\\n  > circle.ruler-spinner-normal {\\n    stroke: #000000;\\n    opacity: 0.16;\\n  }\\n\\n  > circle.ruler-spinner-on-color {\\n    stroke: #f4f4f4;\\n  }\\n}\\n\\n@keyframes ruler-spinner {\\n  0% {\\n    stroke-dashoffset: var(--path-length);\\n  }\\n  50% {\\n    stroke-dashoffset: 0;\\n  }\\n  100% {\\n    stroke-dashoffset: calc(var(--path-length) * -1px);\\n  }\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nimport { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { SpinnerSizeEnum, SpinnerStrokeEnum } from \"./Spinner.types.js\";\n\nimport { clsx } from \"../../../utils/clsx.js\";\nconst getSpinnerDimension = (size) => {\n  switch (size) {\n    case \"xLarge\":\n      return {\n        size: SpinnerSizeEnum.xLarge,\n        stroke: SpinnerStrokeEnum.xLarge\n      };\n    case \"large\":\n    case \"medium\":\n      return {\n        size: SpinnerSizeEnum.medium,\n        stroke: SpinnerStrokeEnum.medium\n      };\n    case \"small\":\n    case \"xSmall\":\n      return {\n        size: SpinnerSizeEnum.small,\n        stroke: SpinnerStrokeEnum.small\n      };\n    default:\n      return {\n        size: SpinnerSizeEnum.medium,\n        stroke: SpinnerStrokeEnum.medium\n      };\n  }\n};\nconst PATH_LENGTH = 50;\nconst Spinner = forwardRef(({\n  size = \"medium\",\n  onColor = false,\n  isPending = true\n}, ref) => {\n  const sizeDimension = getSpinnerDimension(size);\n  return /* @__PURE__ */ jsx(\"svg\", { ref, className: clsx(\"ruler-spinner\", isPending ? \"pending\" : void 0), xmlns: \"http://www.w3.org/2000/svg\", width: sizeDimension.size, height: sizeDimension.size, viewBox: `-${sizeDimension.size / 2} -${sizeDimension.size / 2} ${sizeDimension.size} ${sizeDimension.size}`, style: {\n    \"--path-length\": PATH_LENGTH\n  }, children: /* @__PURE__ */ jsx(\"circle\", { r: Math.floor(sizeDimension.size / 2 - sizeDimension.stroke / 2), strokeWidth: sizeDimension.stroke, fill: \"none\", pathLength: PATH_LENGTH, className: onColor ? \"ruler-spinner-on-color\" : \"ruler-spinner-normal\" }) });\n});\nexport {\n  Spinner\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport _JSXStyle from \"../../../node_modules/styled-jsx/style.js\";\nimport { forwardRef } from \"react\";\nimport { colors } from \"../../../styles/colors.js\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { clsx } from \"../../../utils/clsx.js\";\nimport { definedOnly } from \"../../../utils/definedOnly.js\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport { Spinner } from \"../Spinner/Spinner.js\";\nimport { ButtonVariant } from \"./Button.types.js\";\nconst ButtonSpinner = ({\n  variant,\n  size,\n  style\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { style, children: /* @__PURE__ */ jsx(Spinner, { size, onColor: variant === \"primary\" }) });\n};\nconst Button = ({\n  children,\n  style,\n  className,\n  as,\n  theme = \"light\",\n  size = \"medium\",\n  prefixIcon,\n  postfixIcon,\n  fill = false,\n  variant,\n  backgroundColor,\n  color,\n  tabAnimation = false,\n  pending,\n  overrideDisabledBackgroundColor,\n  overrideDisabledColor,\n  ...rest\n}, ref) => {\n  const Component = as ?? \"button\";\n  const isCustom = variant === ButtonVariant.CUSTOM;\n  const hasOverrideDisabledStyle = rest.disabled && (overrideDisabledBackgroundColor || overrideDisabledColor);\n  const variantStyle = buttonStyleByVariant[rest.disabled && !hasOverrideDisabledStyle ? \"disabled\" : variant];\n  const getOverrideBackgroundColor = () => {\n    if (isCustom) {\n      return backgroundColor;\n    }\n    if (hasOverrideDisabledStyle) {\n      return overrideDisabledBackgroundColor;\n    }\n    return void 0;\n  };\n  const getOverrideColor = () => {\n    if (isCustom) {\n      return color;\n    }\n    if (hasOverrideDisabledStyle) {\n      return overrideDisabledColor;\n    }\n    return void 0;\n  };\n  const customVariantStyle = definedOnly({\n    backgroundColor: getOverrideBackgroundColor(),\n    color: getOverrideColor()\n  });\n  const padding = paddingBySize[size];\n  const offset = offsetBySize[size];\n  const buttonStyle = {\n    ...style,\n    ...baseButtonStyle,\n    ...buttonStyleBySize[size],\n    ...variantStyle[theme],\n    ...customVariantStyle,\n    padding: `${padding.y}px ${padding.x - (postfixIcon ? offset : 0)}px ${padding.y}px ${padding.x - (prefixIcon ? offset : 0)}px`,\n    width: fill ? \"100%\" : \"auto\"\n  };\n  const buttonSpinnerStyle = {\n    ...baseButtonSpinnerStyle,\n    ...buttonStyleBySize[size],\n    ...variantStyle[theme],\n    ...customVariantStyle\n  };\n  const reshapedProps = {\n    ...rest,\n    href: rest.disabled ? void 0 : rest.href,\n    onClick: rest.disabled ? void 0 : rest.onClick\n  };\n  return /* @__PURE__ */ jsxs(Component, { ref, ...reshapedProps, style: buttonStyle, className: clsx(className, button.className), \"data-on-tab-variant-theme\": tabAnimation === true ? `${variant}-${theme}` : void 0, children: [\n    prefixIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(prefixIcon), fill: getIconFill(prefixIcon), size: iconSizeByButtonSize[size], color: buttonStyle.color, weight: \"bold\" }) : null,\n    /* @__PURE__ */ jsx(\"div\", { style: contentStyle, children }),\n    postfixIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(postfixIcon), fill: getIconFill(postfixIcon), size: iconSizeByButtonSize[size], color: buttonStyle.color, weight: \"bold\" }) : null,\n    !rest.disabled && pending ? /* @__PURE__ */ jsx(ButtonSpinner, { style: buttonSpinnerStyle, variant, size }) : null,\n    button.styles\n  ] });\n};\nconst getIconType = (icon) => typeof icon === \"string\" ? icon : icon.type;\nconst getIconFill = (icon) => typeof icon === \"string\" ? void 0 : icon.fill;\nconst baseButtonStyle = {\n  position: \"relative\",\n  height: \"auto\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"pointer\",\n  // reset button element css\n  textDecoration: \"none\",\n  outline: \"none\",\n  border: \"none\",\n  boxSizing: \"border-box\"\n};\nconst baseButtonSpinnerStyle = {\n  position: \"absolute\",\n  inset: 0,\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"default\"\n};\nconst offsetBySize = {\n  large: 4,\n  medium: 6,\n  small: 2,\n  xSmall: 2\n};\nconst paddingBySize = {\n  large: {\n    x: 20,\n    y: 12\n  },\n  medium: {\n    x: 18,\n    y: 12\n  },\n  small: {\n    x: 12,\n    y: 10\n  },\n  xSmall: {\n    x: 8,\n    y: 6\n  }\n};\nconst buttonStyleBySize = {\n  large: {\n    minWidth: 88,\n    borderRadius: 4,\n    gap: \"6px\",\n    ...typography(14, 700, 1.4)\n  },\n  medium: {\n    minWidth: 84,\n    borderRadius: 4,\n    gap: \"6px\",\n    ...typography(14, 700, 1.4)\n  },\n  small: {\n    minWidth: 66,\n    borderRadius: 2,\n    gap: \"6px\",\n    ...typography(12, 500, 1.36)\n  },\n  xSmall: {\n    minWidth: 60,\n    borderRadius: 2,\n    gap: \"2px\",\n    ...typography(11, 400, 1.36)\n  }\n};\nconst buttonStyleByVariant = {\n  primary: {\n    light: {\n      backgroundColor: \"#000\",\n      color: \"#fff\"\n    },\n    dark: {\n      backgroundColor: \"#fff\",\n      color: \"#000\"\n    }\n  },\n  secondary: {\n    light: {\n      backgroundColor: \"transparent\",\n      color: \"#000\",\n      border: \"1px solid #a0a0a0\"\n    },\n    dark: {\n      backgroundColor: \"transparent\",\n      color: \"#fff\",\n      border: \"1px solid #a0a0a0\"\n    }\n  },\n  tertiary: {\n    light: {\n      backgroundColor: \"#f4f4f4\",\n      color: \"#000\"\n    },\n    dark: {\n      backgroundColor: \"#19191a\",\n      color: \"#fff\"\n    }\n  },\n  custom: {\n    light: {\n      backgroundColor: \"#000\",\n      color: \"#fff\"\n    },\n    dark: {\n      backgroundColor: \"#fff\",\n      color: \"#000\"\n    }\n  },\n  disabled: {\n    light: {\n      backgroundColor: colors.gray100,\n      color: \"#c4c4c4\",\n      cursor: \"not-allowed\"\n    },\n    dark: {\n      backgroundColor: \"#f4f4f414\",\n      color: \"#f4f4f48a\",\n      cursor: \"not-allowed\"\n    }\n  }\n};\nconst iconSizeByButtonSize = {\n  large: 18,\n  medium: 16,\n  small: 14,\n  xSmall: 12\n};\nconst contentStyle = {\n  display: \"flex\",\n  alignItems: \"center\"\n};\nconst button = {\n  styles: /* @__PURE__ */ jsx(_JSXStyle, { id: \"3389951048\", children: [\"button.jsx-3389951048{-webkit-transition:all ease-out;transition:all ease-out;}\", `button[data-on-tab-variant-theme='secondary-light'].jsx-3389951048:active{background-color:${buttonStyleByVariant.primary.light.backgroundColor} !important;color:${buttonStyleByVariant.primary.light.color} !important;border:1px solid ${buttonStyleByVariant.primary.light.backgroundColor} !important;}`, `button[data-on-tab-variant-theme='secondary-dark'].jsx-3389951048:active{background-color:${buttonStyleByVariant.primary.dark.backgroundColor} !important;color:${buttonStyleByVariant.primary.dark.color} !important;border:1px solid ${buttonStyleByVariant.primary.dark.backgroundColor} !important;}`] }),\n  className: \"jsx-3389951048\"\n};\nconst Default = forwardRef(Button);\nexport {\n  Default as Button\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useState, Children } from \"react\";\nimport styles from \"./Expandable.module.css.js\";\nimport { useTrackClickComponent } from \"../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport { Placeholder } from \"../../@shared/Placeholder/Placeholder.js\";\nimport { ButtonTheme } from \"../../@shared/Button/Button.types.js\";\nimport { Button as Default } from \"../../@shared/Button/Button.js\";\nconst TRIGGER_BUTTON_COMPONENT_NAME = \"ReadMoreButton\";\nconst Expandable = ({\n  children,\n  maxHeight,\n  gradientColor,\n  buttonTheme,\n  buttonText,\n  buttonBottomGap\n}) => {\n  const [isExpanded, setIsExpanded] = useState(false);\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  const hasButtonText = buttonText.length > 0;\n  const handleClick = () => {\n    setIsExpanded(true);\n    trackClickComponent(TRIGGER_BUTTON_COMPONENT_NAME);\n  };\n  if (!children || Children.count(children) === 0) {\n    return /* @__PURE__ */ jsx(Placeholder, {});\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { className: styles.container, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: styles.wrapper, style: {\n      maxHeight: isExpanded ? \"none\" : maxHeight,\n      overflow: isExpanded ? \"visible\" : \"hidden\"\n    }, children }),\n    isExpanded ? null : /* @__PURE__ */ jsxs(\"div\", { className: styles.bottom, children: [\n      hasButtonText ? /* @__PURE__ */ jsx(\"div\", { className: styles.buttonContainer, style: {\n        bottom: buttonBottomGap\n      }, children: /* @__PURE__ */ jsx(Default, { variant: \"primary\", theme: buttonTheme === ButtonTheme.DARK ? \"light\" : \"dark\", fill: true, postfixIcon: \"chevronDown\", onClick: handleClick, children: buttonText }) }) : null,\n      /* @__PURE__ */ jsx(\"div\", { className: styles.gradient, style: {\n        background: `linear-gradient(rgba(255, 255, 255, 0) 0%, ${gradientColor} 60%)`\n      } })\n    ] })\n  ] });\n};\naddPropertyControls(Expandable, {\n  maxHeight: {\n    title: \"확장 전 영역 최대 높이\",\n    type: ControlType.Number,\n    defaultValue: 0,\n    min: 0,\n    unit: \"px\",\n    displayStepper: true\n  },\n  gradientColor: {\n    title: \"그라디언트 색상\",\n    type: ControlType.Color,\n    defaultValue: \"rgb(255, 255, 255)\"\n  },\n  buttonText: {\n    title: \"더보기 버튼 텍스트\",\n    type: ControlType.String\n  },\n  buttonTheme: {\n    title: \"버튼 색상\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [ButtonTheme.DARK, ButtonTheme.LIGHT],\n    optionTitles: [\"dark\", \"light\"],\n    defaultValue: \"dark\"\n  },\n  buttonBottomGap: {\n    title: \"버튼 하단 간격\",\n    type: ControlType.Number,\n    defaultValue: 50,\n    min: 0,\n    unit: \"px\",\n    displayStepper: true\n  },\n  children: {\n    title: \"본문 컴포넌트\",\n    type: ControlType.ComponentInstance\n  }\n});\nexport {\n  Expandable\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_xza14_1 {\\n  width: 100%;\\n  background-color: transparent;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_xza14_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useScroll, useSpring, useTransform, motion } from \"framer-motion\";\nimport styles from \"./ScrollProgressBar.module.css.js\";\nimport { clsx } from \"../../../utils/clsx.js\";\nconst ScrollProgressBar = ({\n  className,\n  weight,\n  style\n}) => {\n  const {\n    scrollYProgress\n  } = useScroll();\n  const springScrollYProgress = useSpring(scrollYProgress, {\n    bounce: 0\n  });\n  const progressBarX = useTransform(springScrollYProgress, [0, 1], [\"-100%\", \"0%\"]);\n  return /* @__PURE__ */ jsx(\"div\", { className: clsx(styles.container, className), style: {\n    height: weight,\n    ...style\n  }, children: /* @__PURE__ */ jsx(motion.div, { style: {\n    width: \"100%\",\n    height: \"100%\",\n    backgroundColor: \"#ff4800\",\n    x: progressBarX\n  } }) });\n};\nexport {\n  ScrollProgressBar\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_txw59_1 {\\n  position: fixed;\\n  top: 0;\\n  left: 0;\\n  z-index: 20;\\n  background-color: #000;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_txw59_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { ScrollProgressBar } from \"../ScrollProgressBar/ScrollProgressBar.js\";\nimport styles from \"./FixedScrollProgressBar.module.css.js\";\nconst FixedScrollProgressBar = ({\n  weight\n}) => {\n  return /* @__PURE__ */ jsx(ScrollProgressBar, { className: styles.container, weight });\n};\naddPropertyControls(FixedScrollProgressBar, {\n  weight: {\n    title: \"프로그래스바 굵기\",\n    type: ControlType.Number,\n    unit: \"px\",\n    defaultValue: 4,\n    min: 0,\n    displayStepper: true\n  }\n});\nexport {\n  FixedScrollProgressBar\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst ShareIcon = ({\n  className,\n  stroke = \"#000\",\n  strokeWidth = 1.9,\n  size = 20\n}) => {\n  return /* @__PURE__ */ jsx(\"svg\", { className, style: {\n    marginRight: \"2px\"\n  }, xmlns: \"http://www.w3.org/2000/svg\", width: size, height: size, viewBox: \"0 0 20 22\", children: /* @__PURE__ */ jsx(\"g\", { fill: \"none\", fillRule: \"evenodd\", stroke, strokeWidth, children: /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 15.402a3 3 0 1 1-3 5.196 3 3 0 0 1 3-5.196zM13.578 16.725l-7.179-4.5M6.598 9.5a3 3 0 1 0-5.196 3 3 3 0 0 0 5.196-3zM17.5 6.597A3 3 0 1 0 14.5 1.402 3 3 0 0 0 17.5 6.597zM13 5.5L6.678 9.616\" }) }) });\n};\nexport {\n  ShareIcon\n};\n","import { useBottomSheetStore } from \"./stores/bottom-sheet/bottom-sheet.store.js\";\nconst useBottomSheet = () => {\n  const {\n    bottomSheet\n  } = useBottomSheetStore();\n  const show = (params) => {\n    bottomSheet.show(params);\n  };\n  const hide = () => {\n    bottomSheet.hide();\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  useBottomSheet\n};\n","import { tv as g, cn as a } from \"../../packages/configs/tailwind-variants/index.js\";\nconst i = \"bg-disabled [@media(hover:hover)and(pointer:fine)]:hover:bg-disabled focus:bg-disabled data-[pressed=true]:bg-disabled text-disabled [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:text-disabled data-[pressed=true]:text-disabled cursor-not-allowed\", r = \"text-disabled [@media(hover:hover)and(pointer:fine)]:hover:text-disabled focus:text-disabled data-[pressed=true]:text-disabled\", o = g({\n  base: \"relative flex flex-row items-center justify-center gap-2 rounded-2 focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-interactive\",\n  variants: {\n    size: {\n      xSmall: \"h-28 min-w-[60px] rounded-2 px-10 py-6 text-xs font-normal [&:has(.postfix-icon)]:pr-8 [&:has(.prefix-icon)]:pl-8\",\n      small: \"h-36 min-w-[66px] rounded-2 px-12 py-10 text-s font-medium [&:has(.postfix-icon)]:pr-8 [&:has(.prefix-icon)]:pl-8\",\n      medium: \"h-44 min-w-[84px] rounded-4 px-18 py-12 text-l font-bold [&:has(.postfix-icon)]:pr-12 [&:has(.prefix-icon)]:pl-12\",\n      large: \"h-52 min-w-[88px] rounded-4 px-20 py-16 text-l font-bold [&:has(.postfix-icon)]:pr-16 [&:has(.prefix-icon)]:pl-16\"\n    },\n    priority: {\n      primary: \"bg-primary text-on-color focus:bg-primary data-[pressed=true]:bg-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-primary-hover\",\n      secondary: \"border border-solid border-line bg-silent text-primary data-[pressed=true]:bg-silent-pressed data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-silent-hover [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      tertiary: \"bg-tertiary text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      negative: \"bg-negative text-on-color focus:bg-negative data-[pressed=true]:bg-negative-pressed [@media(hover:hover)and(pointer:fine)]:hover:bg-negative-hover\"\n    },\n    disabled: {\n      true: a(i, r)\n    },\n    stretch: {\n      true: \"flex-1\"\n    }\n  },\n  defaultVariants: {\n    priority: \"primary\",\n    size: \"medium\",\n    disabled: false,\n    stretch: false\n  }\n}), s = g({\n  base: \"shrink-0 grow-0 bg-transparent\",\n  variants: {\n    size: {\n      xSmall: \"h-12 w-12\",\n      small: \"h-14 w-14\",\n      medium: \"h-16 w-16\",\n      large: \"h-18 w-18\"\n    },\n    priority: {\n      primary: \"text-on-color\",\n      secondary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      tertiary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      negative: \"text-on-color\"\n    },\n    disabled: {\n      true: r\n    },\n    pending: {\n      true: \"invisible\"\n    }\n  }\n}), d = g({\n  base: \"absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center rounded-2\",\n  variants: {\n    size: {\n      xSmall: \"rounded-2\",\n      small: \"rounded-2\",\n      medium: \"rounded-4\",\n      large: \"rounded-4\"\n    },\n    priority: {\n      primary: \"bg-primary\",\n      secondary: \"bg-silent\",\n      tertiary: \"bg-tertiary\",\n      negative: \"bg-negative\"\n    },\n    pending: {\n      true: \"invisible\"\n    }\n  }\n}), n = g({\n  base: \"overflow-hidden text-ellipsis whitespace-nowrap bg-transparent\",\n  defaultVariants: {\n    size: \"medium\",\n    priority: \"primary\"\n  },\n  variants: {\n    size: {\n      xSmall: \"ml-0\",\n      small: \"ml-0\",\n      medium: \"ml-2\",\n      large: \"ml-2\"\n    },\n    priority: {\n      primary: \"text-on-color\",\n      secondary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      tertiary: \"text-primary data-[pressed=true]:text-primary-pressed [@media(hover:hover)and(pointer:fine)]:hover:text-primary-hover\",\n      negative: \"text-on-color\"\n    },\n    disabled: {\n      true: r\n    },\n    pending: {\n      true: \"invisible\"\n    }\n  }\n});\nexport {\n  o as buttonVariant,\n  s as iconVariant,\n  n as labelVariant,\n  d as spinnerVariant\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { cn as a$1 } from \"../../packages/configs/tailwind-variants/index.js\";\nimport React__default, { forwardRef } from \"react\";\nimport { usePressedState as a } from \"../../hooks/usePressedState.js\";\nimport { isIconName as t } from \"../Icon/Icon.types.js\";\nimport { buttonVariant as o, labelVariant as n, iconVariant as s, spinnerVariant as d } from \"./Button.variant.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nimport { Spinner as k } from \"../Spinner/Spinner.js\";\nconst w = ({\n  label: s2,\n  size: t2,\n  priority: r,\n  disabled: e,\n  pending: a2\n}) => {\n  const m$1 = n({ size: t2, priority: r, disabled: e, pending: a2 });\n  return s2 ? /* @__PURE__ */ m.jsx(\"span\", { className: m$1, children: s2 }) : null;\n}, c = ({\n  icon: s$1,\n  size: t$1,\n  priority: r,\n  disabled: e,\n  pending: a2,\n  isPrefix: m$1\n}) => {\n  const o2 = a$1(\n    s({ size: t$1, priority: r, disabled: e, pending: a2 }),\n    m$1 ? \"prefix-icon\" : \"postfix-icon\"\n  );\n  if (t(s$1))\n    return /* @__PURE__ */ m.jsx(v, { icon: s$1, className: o2 });\n  if (React__default.isValidElement(s$1))\n    return /* @__PURE__ */ m.jsx(\"span\", { className: o2, children: /* @__PURE__ */ m.jsx(\"span\", { className: \"inline-flex h-full w-full items-center justify-center\", children: s$1 }) });\n}, _ = ({ priority: s2, size: t2, pending: r }) => {\n  const e = d({ priority: s2, size: t2, pending: r });\n  return /* @__PURE__ */ m.jsx(\"div\", { className: e, children: /* @__PURE__ */ m.jsx(k, { size: t2, onColor: s2 === \"primary\" || s2 === \"negative\" }) });\n}, H = forwardRef(\n  ({\n    className: s2,\n    priority: t2 = \"primary\",\n    size: r = \"medium\",\n    disabled: e,\n    pending: a$12,\n    label: m$1,\n    prefixIcon: o$1,\n    postfixIcon: l,\n    stretch: u,\n    children: I,\n    ...f\n  }, x) => {\n    const { pressEvents: i, \"data-pressed\": j } = a(e || a$12), N = o({\n      size: r,\n      priority: t2,\n      disabled: e,\n      stretch: u,\n      className: s2\n    });\n    return /* @__PURE__ */ m.jsxs(\n      \"button\",\n      {\n        ref: x,\n        ...f,\n        ...i,\n        \"data-pressed\": j,\n        className: N,\n        disabled: e || a$12,\n        children: [\n          o$1 ? /* @__PURE__ */ m.jsx(\n            c,\n            {\n              icon: o$1,\n              size: r,\n              priority: t2,\n              disabled: e,\n              pending: a$12,\n              isPrefix: true\n            }\n          ) : null,\n          /* @__PURE__ */ m.jsx(w, { label: m$1, size: r, priority: t2, disabled: e, pending: a$12 }),\n          l ? /* @__PURE__ */ m.jsx(\n            c,\n            {\n              icon: l,\n              size: r,\n              priority: t2,\n              disabled: e,\n              pending: a$12,\n              isPrefix: false\n            }\n          ) : null,\n          !e && a$12 ? /* @__PURE__ */ m.jsx(_, { priority: t2, size: r }) : null\n        ]\n      }\n    );\n  }\n);\nexport {\n  H as Button\n};\n","const min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = (v) => ({\n  x: v,\n  y: v\n});\nconst oppositeSideMap = {\n  left: \"right\",\n  right: \"left\",\n  bottom: \"top\",\n  top: \"bottom\"\n};\nconst oppositeAlignmentMap = {\n  start: \"end\",\n  end: \"start\"\n};\nfunction clamp(start, value, end) {\n  return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n  return typeof value === \"function\" ? value(param) : value;\n}\nfunction getSide(placement) {\n  return placement.split(\"-\")[0];\n}\nfunction getAlignment(placement) {\n  return placement.split(\"-\")[1];\n}\nfunction getOppositeAxis(axis) {\n  return axis === \"x\" ? \"y\" : \"x\";\n}\nfunction getAxisLength(axis) {\n  return axis === \"y\" ? \"height\" : \"width\";\n}\nfunction getSideAxis(placement) {\n  return [\"top\", \"bottom\"].includes(getSide(placement)) ? \"y\" : \"x\";\n}\nfunction getAlignmentAxis(placement) {\n  return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n  if (rtl === void 0) {\n    rtl = false;\n  }\n  const alignment = getAlignment(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const length = getAxisLength(alignmentAxis);\n  let mainAlignmentSide = alignmentAxis === \"x\" ? alignment === (rtl ? \"end\" : \"start\") ? \"right\" : \"left\" : alignment === \"start\" ? \"bottom\" : \"top\";\n  if (rects.reference[length] > rects.floating[length]) {\n    mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n  }\n  return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n  const oppositePlacement = getOppositePlacement(placement);\n  return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n  return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n  const lr = [\"left\", \"right\"];\n  const rl = [\"right\", \"left\"];\n  const tb = [\"top\", \"bottom\"];\n  const bt = [\"bottom\", \"top\"];\n  switch (side) {\n    case \"top\":\n    case \"bottom\":\n      if (rtl)\n        return isStart ? rl : lr;\n      return isStart ? lr : rl;\n    case \"left\":\n    case \"right\":\n      return isStart ? tb : bt;\n    default:\n      return [];\n  }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n  const alignment = getAlignment(placement);\n  let list = getSideList(getSide(placement), direction === \"start\", rtl);\n  if (alignment) {\n    list = list.map((side) => side + \"-\" + alignment);\n    if (flipAlignment) {\n      list = list.concat(list.map(getOppositeAlignmentPlacement));\n    }\n  }\n  return list;\n}\nfunction getOppositePlacement(placement) {\n  return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n  return {\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0,\n    ...padding\n  };\n}\nfunction getPaddingObject(padding) {\n  return typeof padding !== \"number\" ? expandPaddingObject(padding) : {\n    top: padding,\n    right: padding,\n    bottom: padding,\n    left: padding\n  };\n}\nfunction rectToClientRect(rect) {\n  const {\n    x,\n    y,\n    width,\n    height\n  } = rect;\n  return {\n    width,\n    height,\n    top: y,\n    left: x,\n    right: x + width,\n    bottom: y + height,\n    x,\n    y\n  };\n}\nexport {\n  clamp,\n  createCoords,\n  evaluate,\n  expandPaddingObject,\n  floor,\n  getAlignment,\n  getAlignmentAxis,\n  getAlignmentSides,\n  getAxisLength,\n  getExpandedPlacements,\n  getOppositeAlignmentPlacement,\n  getOppositeAxis,\n  getOppositeAxisPlacements,\n  getOppositePlacement,\n  getPaddingObject,\n  getSide,\n  getSideAxis,\n  max,\n  min,\n  rectToClientRect,\n  round\n};\n","import { evaluate, getSide, getSideAxis, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, getAlignmentSides, getAlignmentAxis, getAlignment, getPaddingObject, rectToClientRect, getAxisLength, min, clamp } from \"../../utils/dist/floating-ui.utils.js\";\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n  let {\n    reference,\n    floating\n  } = _ref;\n  const sideAxis = getSideAxis(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const alignLength = getAxisLength(alignmentAxis);\n  const side = getSide(placement);\n  const isVertical = sideAxis === \"y\";\n  const commonX = reference.x + reference.width / 2 - floating.width / 2;\n  const commonY = reference.y + reference.height / 2 - floating.height / 2;\n  const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n  let coords;\n  switch (side) {\n    case \"top\":\n      coords = {\n        x: commonX,\n        y: reference.y - floating.height\n      };\n      break;\n    case \"bottom\":\n      coords = {\n        x: commonX,\n        y: reference.y + reference.height\n      };\n      break;\n    case \"right\":\n      coords = {\n        x: reference.x + reference.width,\n        y: commonY\n      };\n      break;\n    case \"left\":\n      coords = {\n        x: reference.x - floating.width,\n        y: commonY\n      };\n      break;\n    default:\n      coords = {\n        x: reference.x,\n        y: reference.y\n      };\n  }\n  switch (getAlignment(placement)) {\n    case \"start\":\n      coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n    case \"end\":\n      coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n  }\n  return coords;\n}\nconst computePosition = async (reference, floating, config) => {\n  const {\n    placement = \"bottom\",\n    strategy = \"absolute\",\n    middleware = [],\n    platform\n  } = config;\n  const validMiddleware = middleware.filter(Boolean);\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n  let rects = await platform.getElementRects({\n    reference,\n    floating,\n    strategy\n  });\n  let {\n    x,\n    y\n  } = computeCoordsFromPlacement(rects, placement, rtl);\n  let statefulPlacement = placement;\n  let middlewareData = {};\n  let resetCount = 0;\n  for (let i = 0; i < validMiddleware.length; i++) {\n    const {\n      name,\n      fn\n    } = validMiddleware[i];\n    const {\n      x: nextX,\n      y: nextY,\n      data,\n      reset\n    } = await fn({\n      x,\n      y,\n      initialPlacement: placement,\n      placement: statefulPlacement,\n      strategy,\n      middlewareData,\n      rects,\n      platform,\n      elements: {\n        reference,\n        floating\n      }\n    });\n    x = nextX != null ? nextX : x;\n    y = nextY != null ? nextY : y;\n    middlewareData = {\n      ...middlewareData,\n      [name]: {\n        ...middlewareData[name],\n        ...data\n      }\n    };\n    if (reset && resetCount <= 50) {\n      resetCount++;\n      if (typeof reset === \"object\") {\n        if (reset.placement) {\n          statefulPlacement = reset.placement;\n        }\n        if (reset.rects) {\n          rects = reset.rects === true ? await platform.getElementRects({\n            reference,\n            floating,\n            strategy\n          }) : reset.rects;\n        }\n        ({\n          x,\n          y\n        } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n      }\n      i = -1;\n    }\n  }\n  return {\n    x,\n    y,\n    placement: statefulPlacement,\n    strategy,\n    middlewareData\n  };\n};\nasync function detectOverflow(state, options) {\n  var _await$platform$isEle;\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    x,\n    y,\n    platform,\n    rects,\n    elements,\n    strategy\n  } = state;\n  const {\n    boundary = \"clippingAncestors\",\n    rootBoundary = \"viewport\",\n    elementContext = \"floating\",\n    altBoundary = false,\n    padding = 0\n  } = evaluate(options, state);\n  const paddingObject = getPaddingObject(padding);\n  const altContext = elementContext === \"floating\" ? \"reference\" : \"floating\";\n  const element = elements[altBoundary ? altContext : elementContext];\n  const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n    element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),\n    boundary,\n    rootBoundary,\n    strategy\n  }));\n  const rect = elementContext === \"floating\" ? {\n    x,\n    y,\n    width: rects.floating.width,\n    height: rects.floating.height\n  } : rects.reference;\n  const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n  const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) ? await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {\n    x: 1,\n    y: 1\n  } : {\n    x: 1,\n    y: 1\n  };\n  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  }) : rect);\n  return {\n    top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n    bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n    left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n    right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n  };\n}\nconst arrow = (options) => ({\n  name: \"arrow\",\n  options,\n  async fn(state) {\n    const {\n      x,\n      y,\n      placement,\n      rects,\n      platform,\n      elements,\n      middlewareData\n    } = state;\n    const {\n      element,\n      padding = 0\n    } = evaluate(options, state) || {};\n    if (element == null) {\n      return {};\n    }\n    const paddingObject = getPaddingObject(padding);\n    const coords = {\n      x,\n      y\n    };\n    const axis = getAlignmentAxis(placement);\n    const length = getAxisLength(axis);\n    const arrowDimensions = await platform.getDimensions(element);\n    const isYAxis = axis === \"y\";\n    const minProp = isYAxis ? \"top\" : \"left\";\n    const maxProp = isYAxis ? \"bottom\" : \"right\";\n    const clientProp = isYAxis ? \"clientHeight\" : \"clientWidth\";\n    const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n    const startDiff = coords[axis] - rects.reference[axis];\n    const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n    let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n    if (!clientSize || !await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent))) {\n      clientSize = elements.floating[clientProp] || rects.floating[length];\n    }\n    const centerToReference = endDiff / 2 - startDiff / 2;\n    const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n    const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n    const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n    const min$1 = minPadding;\n    const max = clientSize - arrowDimensions[length] - maxPadding;\n    const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n    const offset2 = clamp(min$1, center, max);\n    const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset2 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n    const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n    return {\n      [axis]: coords[axis] + alignmentOffset,\n      data: {\n        [axis]: offset2,\n        centerOffset: center - offset2 - alignmentOffset,\n        ...shouldAddOffset && {\n          alignmentOffset\n        }\n      },\n      reset: shouldAddOffset\n    };\n  }\n});\nconst flip = function(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: \"flip\",\n    options,\n    async fn(state) {\n      var _middlewareData$arrow, _middlewareData$flip;\n      const {\n        placement,\n        middlewareData,\n        rects,\n        initialPlacement,\n        platform,\n        elements\n      } = state;\n      const {\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = true,\n        fallbackPlacements: specifiedFallbackPlacements,\n        fallbackStrategy = \"bestFit\",\n        fallbackAxisSideDirection = \"none\",\n        flipAlignment = true,\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      const side = getSide(placement);\n      const initialSideAxis = getSideAxis(initialPlacement);\n      const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n      const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n      const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n      const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== \"none\";\n      if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n        fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n      }\n      const placements = [initialPlacement, ...fallbackPlacements];\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const overflows = [];\n      let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n      if (checkMainAxis) {\n        overflows.push(overflow[side]);\n      }\n      if (checkCrossAxis) {\n        const sides = getAlignmentSides(placement, rects, rtl);\n        overflows.push(overflow[sides[0]], overflow[sides[1]]);\n      }\n      overflowsData = [...overflowsData, {\n        placement,\n        overflows\n      }];\n      if (!overflows.every((side2) => side2 <= 0)) {\n        var _middlewareData$flip2, _overflowsData$filter;\n        const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n        const nextPlacement = placements[nextIndex];\n        if (nextPlacement) {\n          const ignoreCrossAxisOverflow = checkCrossAxis === \"alignment\" ? initialSideAxis !== getSideAxis(nextPlacement) : false;\n          if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis\n          // overflows the main axis.\n          overflowsData.every((d) => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) {\n            return {\n              data: {\n                index: nextIndex,\n                overflows: overflowsData\n              },\n              reset: {\n                placement: nextPlacement\n              }\n            };\n          }\n        }\n        let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n        if (!resetPlacement) {\n          switch (fallbackStrategy) {\n            case \"bestFit\": {\n              var _overflowsData$filter2;\n              const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {\n                if (hasFallbackAxisSideDirection) {\n                  const currentSideAxis = getSideAxis(d.placement);\n                  return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal\n                  // reading directions favoring greater width.\n                  currentSideAxis === \"y\";\n                }\n                return true;\n              }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n              if (placement2) {\n                resetPlacement = placement2;\n              }\n              break;\n            }\n            case \"initialPlacement\":\n              resetPlacement = initialPlacement;\n              break;\n          }\n        }\n        if (placement !== resetPlacement) {\n          return {\n            reset: {\n              placement: resetPlacement\n            }\n          };\n        }\n      }\n      return {};\n    }\n  };\n};\nasync function convertValueToCoords(state, options) {\n  const {\n    placement,\n    platform,\n    elements\n  } = state;\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n  const side = getSide(placement);\n  const alignment = getAlignment(placement);\n  const isVertical = getSideAxis(placement) === \"y\";\n  const mainAxisMulti = [\"left\", \"top\"].includes(side) ? -1 : 1;\n  const crossAxisMulti = rtl && isVertical ? -1 : 1;\n  const rawValue = evaluate(options, state);\n  let {\n    mainAxis,\n    crossAxis,\n    alignmentAxis\n  } = typeof rawValue === \"number\" ? {\n    mainAxis: rawValue,\n    crossAxis: 0,\n    alignmentAxis: null\n  } : {\n    mainAxis: rawValue.mainAxis || 0,\n    crossAxis: rawValue.crossAxis || 0,\n    alignmentAxis: rawValue.alignmentAxis\n  };\n  if (alignment && typeof alignmentAxis === \"number\") {\n    crossAxis = alignment === \"end\" ? alignmentAxis * -1 : alignmentAxis;\n  }\n  return isVertical ? {\n    x: crossAxis * crossAxisMulti,\n    y: mainAxis * mainAxisMulti\n  } : {\n    x: mainAxis * mainAxisMulti,\n    y: crossAxis * crossAxisMulti\n  };\n}\nconst offset = function(options) {\n  if (options === void 0) {\n    options = 0;\n  }\n  return {\n    name: \"offset\",\n    options,\n    async fn(state) {\n      var _middlewareData$offse, _middlewareData$arrow;\n      const {\n        x,\n        y,\n        placement,\n        middlewareData\n      } = state;\n      const diffCoords = await convertValueToCoords(state, options);\n      if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      return {\n        x: x + diffCoords.x,\n        y: y + diffCoords.y,\n        data: {\n          ...diffCoords,\n          placement\n        }\n      };\n    }\n  };\n};\nexport {\n  arrow,\n  computePosition,\n  detectOverflow,\n  flip,\n  offset,\n  rectToClientRect\n};\n","function hasWindow() {\n  return typeof window !== \"undefined\";\n}\nfunction getNodeName(node) {\n  if (isNode(node)) {\n    return (node.nodeName || \"\").toLowerCase();\n  }\n  return \"#document\";\n}\nfunction getWindow(node) {\n  var _node$ownerDocument;\n  return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n  var _ref;\n  return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n  if (!hasWindow() || typeof ShadowRoot === \"undefined\") {\n    return false;\n  }\n  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n  const {\n    overflow,\n    overflowX,\n    overflowY,\n    display\n  } = getComputedStyle(element);\n  return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && ![\"inline\", \"contents\"].includes(display);\n}\nfunction isTableElement(element) {\n  return [\"table\", \"td\", \"th\"].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n  return [\":popover-open\", \":modal\"].some((selector) => {\n    try {\n      return element.matches(selector);\n    } catch (e) {\n      return false;\n    }\n  });\n}\nfunction isContainingBlock(elementOrCss) {\n  const webkit = isWebKit();\n  const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n  return [\"transform\", \"translate\", \"scale\", \"rotate\", \"perspective\"].some((value) => css[value] ? css[value] !== \"none\" : false) || (css.containerType ? css.containerType !== \"normal\" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== \"none\" : false) || !webkit && (css.filter ? css.filter !== \"none\" : false) || [\"transform\", \"translate\", \"scale\", \"rotate\", \"perspective\", \"filter\"].some((value) => (css.willChange || \"\").includes(value)) || [\"paint\", \"layout\", \"strict\", \"content\"].some((value) => (css.contain || \"\").includes(value));\n}\nfunction getContainingBlock(element) {\n  let currentNode = getParentNode(element);\n  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    if (isContainingBlock(currentNode)) {\n      return currentNode;\n    } else if (isTopLayer(currentNode)) {\n      return null;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  return null;\n}\nfunction isWebKit() {\n  if (typeof CSS === \"undefined\" || !CSS.supports)\n    return false;\n  return CSS.supports(\"-webkit-backdrop-filter\", \"none\");\n}\nfunction isLastTraversableNode(node) {\n  return [\"html\", \"body\", \"#document\"].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n  return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n  if (isElement(element)) {\n    return {\n      scrollLeft: element.scrollLeft,\n      scrollTop: element.scrollTop\n    };\n  }\n  return {\n    scrollLeft: element.scrollX,\n    scrollTop: element.scrollY\n  };\n}\nfunction getParentNode(node) {\n  if (getNodeName(node) === \"html\") {\n    return node;\n  }\n  const result = (\n    // Step into the shadow DOM of the parent of a slotted node.\n    node.assignedSlot || // DOM Element detected.\n    node.parentNode || // ShadowRoot detected.\n    isShadowRoot(node) && node.host || // Fallback.\n    getDocumentElement(node)\n  );\n  return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n  const parentNode = getParentNode(node);\n  if (isLastTraversableNode(parentNode)) {\n    return node.ownerDocument ? node.ownerDocument.body : node.body;\n  }\n  if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n    return parentNode;\n  }\n  return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n  var _node$ownerDocument2;\n  if (list === void 0) {\n    list = [];\n  }\n  if (traverseIframes === void 0) {\n    traverseIframes = true;\n  }\n  const scrollableAncestor = getNearestOverflowAncestor(node);\n  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n  const win = getWindow(scrollableAncestor);\n  if (isBody) {\n    const frameElement = getFrameElement(win);\n    return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n  }\n  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\nexport {\n  getComputedStyle,\n  getContainingBlock,\n  getDocumentElement,\n  getFrameElement,\n  getNearestOverflowAncestor,\n  getNodeName,\n  getNodeScroll,\n  getOverflowAncestors,\n  getParentNode,\n  getWindow,\n  isContainingBlock,\n  isElement,\n  isHTMLElement,\n  isLastTraversableNode,\n  isNode,\n  isOverflowElement,\n  isShadowRoot,\n  isTableElement,\n  isTopLayer,\n  isWebKit\n};\n","import { offset as offset$1, flip as flip$1, computePosition as computePosition$1, arrow as arrow$1 } from \"../../core/dist/floating-ui.core.js\";\nimport { createCoords, round, rectToClientRect, max, min, floor } from \"../../utils/dist/floating-ui.utils.js\";\nimport { getDocumentElement, isElement, getOverflowAncestors, isHTMLElement, getWindow, getFrameElement, getComputedStyle, isTopLayer, getNodeName, isOverflowElement, getNodeScroll, getParentNode, isLastTraversableNode, isTableElement, isContainingBlock, getContainingBlock, isWebKit } from \"../../utils/dist/floating-ui.utils.dom.js\";\nfunction getCssDimensions(element) {\n  const css = getComputedStyle(element);\n  let width = parseFloat(css.width) || 0;\n  let height = parseFloat(css.height) || 0;\n  const hasOffset = isHTMLElement(element);\n  const offsetWidth = hasOffset ? element.offsetWidth : width;\n  const offsetHeight = hasOffset ? element.offsetHeight : height;\n  const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n  if (shouldFallback) {\n    width = offsetWidth;\n    height = offsetHeight;\n  }\n  return {\n    width,\n    height,\n    $: shouldFallback\n  };\n}\nfunction unwrapElement(element) {\n  return !isElement(element) ? element.contextElement : element;\n}\nfunction getScale(element) {\n  const domElement = unwrapElement(element);\n  if (!isHTMLElement(domElement)) {\n    return createCoords(1);\n  }\n  const rect = domElement.getBoundingClientRect();\n  const {\n    width,\n    height,\n    $\n  } = getCssDimensions(domElement);\n  let x = ($ ? round(rect.width) : rect.width) / width;\n  let y = ($ ? round(rect.height) : rect.height) / height;\n  if (!x || !Number.isFinite(x)) {\n    x = 1;\n  }\n  if (!y || !Number.isFinite(y)) {\n    y = 1;\n  }\n  return {\n    x,\n    y\n  };\n}\nconst noOffsets = /* @__PURE__ */ createCoords(0);\nfunction getVisualOffsets(element) {\n  const win = getWindow(element);\n  if (!isWebKit() || !win.visualViewport) {\n    return noOffsets;\n  }\n  return {\n    x: win.visualViewport.offsetLeft,\n    y: win.visualViewport.offsetTop\n  };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n  if (isFixed === void 0) {\n    isFixed = false;\n  }\n  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n    return false;\n  }\n  return isFixed;\n}\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n  if (includeScale === void 0) {\n    includeScale = false;\n  }\n  if (isFixedStrategy === void 0) {\n    isFixedStrategy = false;\n  }\n  const clientRect = element.getBoundingClientRect();\n  const domElement = unwrapElement(element);\n  let scale = createCoords(1);\n  if (includeScale) {\n    if (offsetParent) {\n      if (isElement(offsetParent)) {\n        scale = getScale(offsetParent);\n      }\n    } else {\n      scale = getScale(element);\n    }\n  }\n  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n  let x = (clientRect.left + visualOffsets.x) / scale.x;\n  let y = (clientRect.top + visualOffsets.y) / scale.y;\n  let width = clientRect.width / scale.x;\n  let height = clientRect.height / scale.y;\n  if (domElement) {\n    const win = getWindow(domElement);\n    const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n    let currentWin = win;\n    let currentIFrame = getFrameElement(currentWin);\n    while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n      const iframeScale = getScale(currentIFrame);\n      const iframeRect = currentIFrame.getBoundingClientRect();\n      const css = getComputedStyle(currentIFrame);\n      const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n      const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n      x *= iframeScale.x;\n      y *= iframeScale.y;\n      width *= iframeScale.x;\n      height *= iframeScale.y;\n      x += left;\n      y += top;\n      currentWin = getWindow(currentIFrame);\n      currentIFrame = getFrameElement(currentWin);\n    }\n  }\n  return rectToClientRect({\n    width,\n    height,\n    x,\n    y\n  });\n}\nfunction getWindowScrollBarX(element, rect) {\n  const leftScroll = getNodeScroll(element).scrollLeft;\n  if (!rect) {\n    return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n  }\n  return rect.left + leftScroll;\n}\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n  if (ignoreScrollbarX === void 0) {\n    ignoreScrollbarX = false;\n  }\n  const htmlRect = documentElement.getBoundingClientRect();\n  const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (\n    // RTL <body> scrollbar.\n    getWindowScrollBarX(documentElement, htmlRect)\n  ));\n  const y = htmlRect.top + scroll.scrollTop;\n  return {\n    x,\n    y\n  };\n}\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n  let {\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  } = _ref;\n  const isFixed = strategy === \"fixed\";\n  const documentElement = getDocumentElement(offsetParent);\n  const topLayer = elements ? isTopLayer(elements.floating) : false;\n  if (offsetParent === documentElement || topLayer && isFixed) {\n    return rect;\n  }\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  let scale = createCoords(1);\n  const offsets = createCoords(0);\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== \"body\" || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isHTMLElement(offsetParent)) {\n      const offsetRect = getBoundingClientRect(offsetParent);\n      scale = getScale(offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    }\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n  return {\n    width: rect.width * scale.x,\n    height: rect.height * scale.y,\n    x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n    y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n  };\n}\nfunction getClientRects(element) {\n  return Array.from(element.getClientRects());\n}\nfunction getDocumentRect(element) {\n  const html = getDocumentElement(element);\n  const scroll = getNodeScroll(element);\n  const body = element.ownerDocument.body;\n  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n  let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n  const y = -scroll.scrollTop;\n  if (getComputedStyle(body).direction === \"rtl\") {\n    x += max(html.clientWidth, body.clientWidth) - width;\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getViewportRect(element, strategy) {\n  const win = getWindow(element);\n  const html = getDocumentElement(element);\n  const visualViewport = win.visualViewport;\n  let width = html.clientWidth;\n  let height = html.clientHeight;\n  let x = 0;\n  let y = 0;\n  if (visualViewport) {\n    width = visualViewport.width;\n    height = visualViewport.height;\n    const visualViewportBased = isWebKit();\n    if (!visualViewportBased || visualViewportBased && strategy === \"fixed\") {\n      x = visualViewport.offsetLeft;\n      y = visualViewport.offsetTop;\n    }\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getInnerBoundingClientRect(element, strategy) {\n  const clientRect = getBoundingClientRect(element, true, strategy === \"fixed\");\n  const top = clientRect.top + element.clientTop;\n  const left = clientRect.left + element.clientLeft;\n  const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n  const width = element.clientWidth * scale.x;\n  const height = element.clientHeight * scale.y;\n  const x = left * scale.x;\n  const y = top * scale.y;\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n  let rect;\n  if (clippingAncestor === \"viewport\") {\n    rect = getViewportRect(element, strategy);\n  } else if (clippingAncestor === \"document\") {\n    rect = getDocumentRect(getDocumentElement(element));\n  } else if (isElement(clippingAncestor)) {\n    rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n  } else {\n    const visualOffsets = getVisualOffsets(element);\n    rect = {\n      x: clippingAncestor.x - visualOffsets.x,\n      y: clippingAncestor.y - visualOffsets.y,\n      width: clippingAncestor.width,\n      height: clippingAncestor.height\n    };\n  }\n  return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n  const parentNode = getParentNode(element);\n  if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n    return false;\n  }\n  return getComputedStyle(parentNode).position === \"fixed\" || hasFixedPositionAncestor(parentNode, stopNode);\n}\nfunction getClippingElementAncestors(element, cache) {\n  const cachedResult = cache.get(element);\n  if (cachedResult) {\n    return cachedResult;\n  }\n  let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== \"body\");\n  let currentContainingBlockComputedStyle = null;\n  const elementIsFixed = getComputedStyle(element).position === \"fixed\";\n  let currentNode = elementIsFixed ? getParentNode(element) : element;\n  while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    const computedStyle = getComputedStyle(currentNode);\n    const currentNodeIsContaining = isContainingBlock(currentNode);\n    if (!currentNodeIsContaining && computedStyle.position === \"fixed\") {\n      currentContainingBlockComputedStyle = null;\n    }\n    const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === \"static\" && !!currentContainingBlockComputedStyle && [\"absolute\", \"fixed\"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n    if (shouldDropCurrentNode) {\n      result = result.filter((ancestor) => ancestor !== currentNode);\n    } else {\n      currentContainingBlockComputedStyle = computedStyle;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  cache.set(element, result);\n  return result;\n}\nfunction getClippingRect(_ref) {\n  let {\n    element,\n    boundary,\n    rootBoundary,\n    strategy\n  } = _ref;\n  const elementClippingAncestors = boundary === \"clippingAncestors\" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n  const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n  const firstClippingAncestor = clippingAncestors[0];\n  const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n    const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n    accRect.top = max(rect.top, accRect.top);\n    accRect.right = min(rect.right, accRect.right);\n    accRect.bottom = min(rect.bottom, accRect.bottom);\n    accRect.left = max(rect.left, accRect.left);\n    return accRect;\n  }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n  return {\n    width: clippingRect.right - clippingRect.left,\n    height: clippingRect.bottom - clippingRect.top,\n    x: clippingRect.left,\n    y: clippingRect.top\n  };\n}\nfunction getDimensions(element) {\n  const {\n    width,\n    height\n  } = getCssDimensions(element);\n  return {\n    width,\n    height\n  };\n}\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  const documentElement = getDocumentElement(offsetParent);\n  const isFixed = strategy === \"fixed\";\n  const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  const offsets = createCoords(0);\n  function setLeftRTLScrollbarOffset() {\n    offsets.x = getWindowScrollBarX(documentElement);\n  }\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== \"body\" || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isOffsetParentAnElement) {\n      const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    } else if (documentElement) {\n      setLeftRTLScrollbarOffset();\n    }\n  }\n  if (isFixed && !isOffsetParentAnElement && documentElement) {\n    setLeftRTLScrollbarOffset();\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n  const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n  return {\n    x,\n    y,\n    width: rect.width,\n    height: rect.height\n  };\n}\nfunction isStaticPositioned(element) {\n  return getComputedStyle(element).position === \"static\";\n}\nfunction getTrueOffsetParent(element, polyfill) {\n  if (!isHTMLElement(element) || getComputedStyle(element).position === \"fixed\") {\n    return null;\n  }\n  if (polyfill) {\n    return polyfill(element);\n  }\n  let rawOffsetParent = element.offsetParent;\n  if (getDocumentElement(element) === rawOffsetParent) {\n    rawOffsetParent = rawOffsetParent.ownerDocument.body;\n  }\n  return rawOffsetParent;\n}\nfunction getOffsetParent(element, polyfill) {\n  const win = getWindow(element);\n  if (isTopLayer(element)) {\n    return win;\n  }\n  if (!isHTMLElement(element)) {\n    let svgOffsetParent = getParentNode(element);\n    while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n      if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n        return svgOffsetParent;\n      }\n      svgOffsetParent = getParentNode(svgOffsetParent);\n    }\n    return win;\n  }\n  let offsetParent = getTrueOffsetParent(element, polyfill);\n  while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n    offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n  }\n  if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n    return win;\n  }\n  return offsetParent || getContainingBlock(element) || win;\n}\nconst getElementRects = async function(data) {\n  const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n  const getDimensionsFn = this.getDimensions;\n  const floatingDimensions = await getDimensionsFn(data.floating);\n  return {\n    reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n    floating: {\n      x: 0,\n      y: 0,\n      width: floatingDimensions.width,\n      height: floatingDimensions.height\n    }\n  };\n};\nfunction isRTL(element) {\n  return getComputedStyle(element).direction === \"rtl\";\n}\nconst platform = {\n  convertOffsetParentRelativeRectToViewportRelativeRect,\n  getDocumentElement,\n  getClippingRect,\n  getOffsetParent,\n  getElementRects,\n  getClientRects,\n  getDimensions,\n  getScale,\n  isElement,\n  isRTL\n};\nfunction rectsAreEqual(a, b) {\n  return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\nfunction observeMove(element, onMove) {\n  let io = null;\n  let timeoutId;\n  const root = getDocumentElement(element);\n  function cleanup() {\n    var _io;\n    clearTimeout(timeoutId);\n    (_io = io) == null || _io.disconnect();\n    io = null;\n  }\n  function refresh(skip, threshold) {\n    if (skip === void 0) {\n      skip = false;\n    }\n    if (threshold === void 0) {\n      threshold = 1;\n    }\n    cleanup();\n    const elementRectForRootMargin = element.getBoundingClientRect();\n    const {\n      left,\n      top,\n      width,\n      height\n    } = elementRectForRootMargin;\n    if (!skip) {\n      onMove();\n    }\n    if (!width || !height) {\n      return;\n    }\n    const insetTop = floor(top);\n    const insetRight = floor(root.clientWidth - (left + width));\n    const insetBottom = floor(root.clientHeight - (top + height));\n    const insetLeft = floor(left);\n    const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n    const options = {\n      rootMargin,\n      threshold: max(0, min(1, threshold)) || 1\n    };\n    let isFirstUpdate = true;\n    function handleObserve(entries) {\n      const ratio = entries[0].intersectionRatio;\n      if (ratio !== threshold) {\n        if (!isFirstUpdate) {\n          return refresh();\n        }\n        if (!ratio) {\n          timeoutId = setTimeout(() => {\n            refresh(false, 1e-7);\n          }, 1e3);\n        } else {\n          refresh(false, ratio);\n        }\n      }\n      if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n        refresh();\n      }\n      isFirstUpdate = false;\n    }\n    try {\n      io = new IntersectionObserver(handleObserve, {\n        ...options,\n        // Handle <iframe>s\n        root: root.ownerDocument\n      });\n    } catch (_e) {\n      io = new IntersectionObserver(handleObserve, options);\n    }\n    io.observe(element);\n  }\n  refresh(true);\n  return cleanup;\n}\nfunction autoUpdate(reference, floating, update, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    ancestorScroll = true,\n    ancestorResize = true,\n    elementResize = typeof ResizeObserver === \"function\",\n    layoutShift = typeof IntersectionObserver === \"function\",\n    animationFrame = false\n  } = options;\n  const referenceEl = unwrapElement(reference);\n  const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];\n  ancestors.forEach((ancestor) => {\n    ancestorScroll && ancestor.addEventListener(\"scroll\", update, {\n      passive: true\n    });\n    ancestorResize && ancestor.addEventListener(\"resize\", update);\n  });\n  const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n  let reobserveFrame = -1;\n  let resizeObserver = null;\n  if (elementResize) {\n    resizeObserver = new ResizeObserver((_ref) => {\n      let [firstEntry] = _ref;\n      if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n        resizeObserver.unobserve(floating);\n        cancelAnimationFrame(reobserveFrame);\n        reobserveFrame = requestAnimationFrame(() => {\n          var _resizeObserver;\n          (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n        });\n      }\n      update();\n    });\n    if (referenceEl && !animationFrame) {\n      resizeObserver.observe(referenceEl);\n    }\n    resizeObserver.observe(floating);\n  }\n  let frameId;\n  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n  if (animationFrame) {\n    frameLoop();\n  }\n  function frameLoop() {\n    const nextRefRect = getBoundingClientRect(reference);\n    if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n      update();\n    }\n    prevRefRect = nextRefRect;\n    frameId = requestAnimationFrame(frameLoop);\n  }\n  update();\n  return () => {\n    var _resizeObserver2;\n    ancestors.forEach((ancestor) => {\n      ancestorScroll && ancestor.removeEventListener(\"scroll\", update);\n      ancestorResize && ancestor.removeEventListener(\"resize\", update);\n    });\n    cleanupIo == null || cleanupIo();\n    (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n    resizeObserver = null;\n    if (animationFrame) {\n      cancelAnimationFrame(frameId);\n    }\n  };\n}\nconst offset = offset$1;\nconst flip = flip$1;\nconst arrow = arrow$1;\nconst computePosition = (reference, floating, options) => {\n  const cache = /* @__PURE__ */ new Map();\n  const mergedOptions = {\n    platform,\n    ...options\n  };\n  const platformWithCache = {\n    ...mergedOptions.platform,\n    _c: cache\n  };\n  return computePosition$1(reference, floating, {\n    ...mergedOptions,\n    platform: platformWithCache\n  });\n};\nexport {\n  arrow,\n  autoUpdate,\n  computePosition,\n  flip,\n  getOverflowAncestors,\n  offset,\n  platform\n};\n","import { computePosition, offset as offset$1, flip as flip$1, arrow as arrow$2 } from \"../../dom/dist/floating-ui.dom.js\";\nimport { autoUpdate, platform } from \"../../dom/dist/floating-ui.dom.js\";\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"react\";\nimport * as ReactDOM from \"react-dom\";\nvar isClient = typeof document !== \"undefined\";\nvar noop = function noop2() {\n};\nvar index = isClient ? useLayoutEffect : noop;\nfunction deepEqual(a, b) {\n  if (a === b) {\n    return true;\n  }\n  if (typeof a !== typeof b) {\n    return false;\n  }\n  if (typeof a === \"function\" && a.toString() === b.toString()) {\n    return true;\n  }\n  let length;\n  let i;\n  let keys;\n  if (a && b && typeof a === \"object\") {\n    if (Array.isArray(a)) {\n      length = a.length;\n      if (length !== b.length)\n        return false;\n      for (i = length; i-- !== 0; ) {\n        if (!deepEqual(a[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    keys = Object.keys(a);\n    length = keys.length;\n    if (length !== Object.keys(b).length) {\n      return false;\n    }\n    for (i = length; i-- !== 0; ) {\n      if (!{}.hasOwnProperty.call(b, keys[i])) {\n        return false;\n      }\n    }\n    for (i = length; i-- !== 0; ) {\n      const key = keys[i];\n      if (key === \"_owner\" && a.$$typeof) {\n        continue;\n      }\n      if (!deepEqual(a[key], b[key])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  return a !== a && b !== b;\n}\nfunction getDPR(element) {\n  if (typeof window === \"undefined\") {\n    return 1;\n  }\n  const win = element.ownerDocument.defaultView || window;\n  return win.devicePixelRatio || 1;\n}\nfunction roundByDPR(element, value) {\n  const dpr = getDPR(element);\n  return Math.round(value * dpr) / dpr;\n}\nfunction useLatestRef(value) {\n  const ref = React.useRef(value);\n  index(() => {\n    ref.current = value;\n  });\n  return ref;\n}\nfunction useFloating(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    placement = \"bottom\",\n    strategy = \"absolute\",\n    middleware = [],\n    platform: platform2,\n    elements: {\n      reference: externalReference,\n      floating: externalFloating\n    } = {},\n    transform = true,\n    whileElementsMounted,\n    open\n  } = options;\n  const [data, setData] = React.useState({\n    x: 0,\n    y: 0,\n    strategy,\n    placement,\n    middlewareData: {},\n    isPositioned: false\n  });\n  const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n  if (!deepEqual(latestMiddleware, middleware)) {\n    setLatestMiddleware(middleware);\n  }\n  const [_reference, _setReference] = React.useState(null);\n  const [_floating, _setFloating] = React.useState(null);\n  const setReference = React.useCallback((node) => {\n    if (node !== referenceRef.current) {\n      referenceRef.current = node;\n      _setReference(node);\n    }\n  }, []);\n  const setFloating = React.useCallback((node) => {\n    if (node !== floatingRef.current) {\n      floatingRef.current = node;\n      _setFloating(node);\n    }\n  }, []);\n  const referenceEl = externalReference || _reference;\n  const floatingEl = externalFloating || _floating;\n  const referenceRef = React.useRef(null);\n  const floatingRef = React.useRef(null);\n  const dataRef = React.useRef(data);\n  const hasWhileElementsMounted = whileElementsMounted != null;\n  const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n  const platformRef = useLatestRef(platform2);\n  const openRef = useLatestRef(open);\n  const update = React.useCallback(() => {\n    if (!referenceRef.current || !floatingRef.current) {\n      return;\n    }\n    const config = {\n      placement,\n      strategy,\n      middleware: latestMiddleware\n    };\n    if (platformRef.current) {\n      config.platform = platformRef.current;\n    }\n    computePosition(referenceRef.current, floatingRef.current, config).then((data2) => {\n      const fullData = {\n        ...data2,\n        // The floating element's position may be recomputed while it's closed\n        // but still mounted (such as when transitioning out). To ensure\n        // `isPositioned` will be `false` initially on the next open, avoid\n        // setting it to `true` when `open === false` (must be specified).\n        isPositioned: openRef.current !== false\n      };\n      if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n        dataRef.current = fullData;\n        ReactDOM.flushSync(() => {\n          setData(fullData);\n        });\n      }\n    });\n  }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n  index(() => {\n    if (open === false && dataRef.current.isPositioned) {\n      dataRef.current.isPositioned = false;\n      setData((data2) => ({\n        ...data2,\n        isPositioned: false\n      }));\n    }\n  }, [open]);\n  const isMountedRef = React.useRef(false);\n  index(() => {\n    isMountedRef.current = true;\n    return () => {\n      isMountedRef.current = false;\n    };\n  }, []);\n  index(() => {\n    if (referenceEl)\n      referenceRef.current = referenceEl;\n    if (floatingEl)\n      floatingRef.current = floatingEl;\n    if (referenceEl && floatingEl) {\n      if (whileElementsMountedRef.current) {\n        return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n      }\n      update();\n    }\n  }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n  const refs = React.useMemo(() => ({\n    reference: referenceRef,\n    floating: floatingRef,\n    setReference,\n    setFloating\n  }), [setReference, setFloating]);\n  const elements = React.useMemo(() => ({\n    reference: referenceEl,\n    floating: floatingEl\n  }), [referenceEl, floatingEl]);\n  const floatingStyles = React.useMemo(() => {\n    const initialStyles = {\n      position: strategy,\n      left: 0,\n      top: 0\n    };\n    if (!elements.floating) {\n      return initialStyles;\n    }\n    const x = roundByDPR(elements.floating, data.x);\n    const y = roundByDPR(elements.floating, data.y);\n    if (transform) {\n      return {\n        ...initialStyles,\n        transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n        ...getDPR(elements.floating) >= 1.5 && {\n          willChange: \"transform\"\n        }\n      };\n    }\n    return {\n      position: strategy,\n      left: x,\n      top: y\n    };\n  }, [strategy, transform, elements.floating, data.x, data.y]);\n  return React.useMemo(() => ({\n    ...data,\n    update,\n    refs,\n    elements,\n    floatingStyles\n  }), [data, update, refs, elements, floatingStyles]);\n}\nconst arrow$1 = (options) => {\n  function isRef(value) {\n    return {}.hasOwnProperty.call(value, \"current\");\n  }\n  return {\n    name: \"arrow\",\n    options,\n    fn(state) {\n      const {\n        element,\n        padding\n      } = typeof options === \"function\" ? options(state) : options;\n      if (element && isRef(element)) {\n        if (element.current != null) {\n          return arrow$2({\n            element: element.current,\n            padding\n          }).fn(state);\n        }\n        return {};\n      }\n      if (element) {\n        return arrow$2({\n          element,\n          padding\n        }).fn(state);\n      }\n      return {};\n    }\n  };\n};\nconst offset = (options, deps) => ({\n  ...offset$1(options),\n  options: [options, deps]\n});\nconst flip = (options, deps) => ({\n  ...flip$1(options),\n  options: [options, deps]\n});\nconst arrow = (options, deps) => ({\n  ...arrow$1(options),\n  options: [options, deps]\n});\nexport {\n  arrow,\n  autoUpdate,\n  computePosition,\n  flip,\n  offset,\n  platform,\n  useFloating\n};\n","var getDefaultParent = function(originalTarget) {\n  if (typeof document === \"undefined\") {\n    return null;\n  }\n  var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n  return sampleTarget.ownerDocument.body;\n};\nvar counterMap = /* @__PURE__ */ new WeakMap();\nvar uncontrolledNodes = /* @__PURE__ */ new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function(node) {\n  return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function(parent, targets) {\n  return targets.map(function(target) {\n    if (parent.contains(target)) {\n      return target;\n    }\n    var correctedTarget = unwrapHost(target);\n    if (correctedTarget && parent.contains(correctedTarget)) {\n      return correctedTarget;\n    }\n    console.error(\"aria-hidden\", target, \"in not contained inside\", parent, \". Doing nothing\");\n    return null;\n  }).filter(function(x) {\n    return Boolean(x);\n  });\n};\nvar applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {\n  var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n  if (!markerMap[markerName]) {\n    markerMap[markerName] = /* @__PURE__ */ new WeakMap();\n  }\n  var markerCounter = markerMap[markerName];\n  var hiddenNodes = [];\n  var elementsToKeep = /* @__PURE__ */ new Set();\n  var elementsToStop = new Set(targets);\n  var keep = function(el) {\n    if (!el || elementsToKeep.has(el)) {\n      return;\n    }\n    elementsToKeep.add(el);\n    keep(el.parentNode);\n  };\n  targets.forEach(keep);\n  var deep = function(parent) {\n    if (!parent || elementsToStop.has(parent)) {\n      return;\n    }\n    Array.prototype.forEach.call(parent.children, function(node) {\n      if (elementsToKeep.has(node)) {\n        deep(node);\n      } else {\n        try {\n          var attr = node.getAttribute(controlAttribute);\n          var alreadyHidden = attr !== null && attr !== \"false\";\n          var counterValue = (counterMap.get(node) || 0) + 1;\n          var markerValue = (markerCounter.get(node) || 0) + 1;\n          counterMap.set(node, counterValue);\n          markerCounter.set(node, markerValue);\n          hiddenNodes.push(node);\n          if (counterValue === 1 && alreadyHidden) {\n            uncontrolledNodes.set(node, true);\n          }\n          if (markerValue === 1) {\n            node.setAttribute(markerName, \"true\");\n          }\n          if (!alreadyHidden) {\n            node.setAttribute(controlAttribute, \"true\");\n          }\n        } catch (e) {\n          console.error(\"aria-hidden: cannot operate on \", node, e);\n        }\n      }\n    });\n  };\n  deep(parentNode);\n  elementsToKeep.clear();\n  lockCount++;\n  return function() {\n    hiddenNodes.forEach(function(node) {\n      var counterValue = counterMap.get(node) - 1;\n      var markerValue = markerCounter.get(node) - 1;\n      counterMap.set(node, counterValue);\n      markerCounter.set(node, markerValue);\n      if (!counterValue) {\n        if (!uncontrolledNodes.has(node)) {\n          node.removeAttribute(controlAttribute);\n        }\n        uncontrolledNodes.delete(node);\n      }\n      if (!markerValue) {\n        node.removeAttribute(markerName);\n      }\n    });\n    lockCount--;\n    if (!lockCount) {\n      counterMap = /* @__PURE__ */ new WeakMap();\n      counterMap = /* @__PURE__ */ new WeakMap();\n      uncontrolledNodes = /* @__PURE__ */ new WeakMap();\n      markerMap = {};\n    }\n  };\n};\nvar hideOthers = function(originalTarget, parentNode, markerName) {\n  if (markerName === void 0) {\n    markerName = \"data-aria-hidden\";\n  }\n  var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n  var activeParentNode = parentNode || getDefaultParent(originalTarget);\n  if (!activeParentNode) {\n    return function() {\n      return null;\n    };\n  }\n  targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll(\"[aria-live], script\")));\n  return applyAttributeToOthers(targets, activeParentNode, markerName, \"aria-hidden\");\n};\nexport {\n  hideOthers\n};\n","/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\nvar candidateSelectors = [\"input:not([inert])\", \"select:not([inert])\", \"textarea:not([inert])\", \"a[href]:not([inert])\", \"button:not([inert])\", \"[tabindex]:not(slot):not([inert])\", \"audio[controls]:not([inert])\", \"video[controls]:not([inert])\", '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', \"details>summary:first-of-type:not([inert])\", \"details:not([inert])\"];\nvar candidateSelector = /* @__PURE__ */ candidateSelectors.join(\",\");\nvar NoElement = typeof Element === \"undefined\";\nvar matches = NoElement ? function() {\n} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function(element) {\n  var _element$getRootNode;\n  return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function(element) {\n  return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\nvar isInert = function isInert2(node, lookUp) {\n  var _node$getAttribute;\n  if (lookUp === void 0) {\n    lookUp = true;\n  }\n  var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, \"inert\");\n  var inert = inertAtt === \"\" || inertAtt === \"true\";\n  var result = inert || lookUp && node && isInert2(node.parentNode);\n  return result;\n};\nvar isContentEditable = function isContentEditable2(node) {\n  var _node$getAttribute2;\n  var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, \"contenteditable\");\n  return attValue === \"\" || attValue === \"true\";\n};\nvar getCandidates = function getCandidates2(el, includeContainer, filter) {\n  if (isInert(el)) {\n    return [];\n  }\n  var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n  if (includeContainer && matches.call(el, candidateSelector)) {\n    candidates.unshift(el);\n  }\n  candidates = candidates.filter(filter);\n  return candidates;\n};\nvar getCandidatesIteratively = function getCandidatesIteratively2(elements, includeContainer, options) {\n  var candidates = [];\n  var elementsToCheck = Array.from(elements);\n  while (elementsToCheck.length) {\n    var element = elementsToCheck.shift();\n    if (isInert(element, false)) {\n      continue;\n    }\n    if (element.tagName === \"SLOT\") {\n      var assigned = element.assignedElements();\n      var content = assigned.length ? assigned : element.children;\n      var nestedCandidates = getCandidatesIteratively2(content, true, options);\n      if (options.flatten) {\n        candidates.push.apply(candidates, nestedCandidates);\n      } else {\n        candidates.push({\n          scopeParent: element,\n          candidates: nestedCandidates\n        });\n      }\n    } else {\n      var validCandidate = matches.call(element, candidateSelector);\n      if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n        candidates.push(element);\n      }\n      var shadowRoot = element.shadowRoot || // check for an undisclosed shadow\n      typeof options.getShadowRoot === \"function\" && options.getShadowRoot(element);\n      var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n      if (shadowRoot && validShadowRoot) {\n        var _nestedCandidates = getCandidatesIteratively2(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n        if (options.flatten) {\n          candidates.push.apply(candidates, _nestedCandidates);\n        } else {\n          candidates.push({\n            scopeParent: element,\n            candidates: _nestedCandidates\n          });\n        }\n      } else {\n        elementsToCheck.unshift.apply(elementsToCheck, element.children);\n      }\n    }\n  }\n  return candidates;\n};\nvar hasTabIndex = function hasTabIndex2(node) {\n  return !isNaN(parseInt(node.getAttribute(\"tabindex\"), 10));\n};\nvar getTabIndex = function getTabIndex2(node) {\n  if (!node) {\n    throw new Error(\"No node provided\");\n  }\n  if (node.tabIndex < 0) {\n    if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n      return 0;\n    }\n  }\n  return node.tabIndex;\n};\nvar getSortOrderTabIndex = function getSortOrderTabIndex2(node, isScope) {\n  var tabIndex = getTabIndex(node);\n  if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n    return 0;\n  }\n  return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables2(a, b) {\n  return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput2(node) {\n  return node.tagName === \"INPUT\";\n};\nvar isHiddenInput = function isHiddenInput2(node) {\n  return isInput(node) && node.type === \"hidden\";\n};\nvar isDetailsWithSummary = function isDetailsWithSummary2(node) {\n  var r = node.tagName === \"DETAILS\" && Array.prototype.slice.apply(node.children).some(function(child) {\n    return child.tagName === \"SUMMARY\";\n  });\n  return r;\n};\nvar getCheckedRadio = function getCheckedRadio2(nodes, form) {\n  for (var i = 0; i < nodes.length; i++) {\n    if (nodes[i].checked && nodes[i].form === form) {\n      return nodes[i];\n    }\n  }\n};\nvar isTabbableRadio = function isTabbableRadio2(node) {\n  if (!node.name) {\n    return true;\n  }\n  var radioScope = node.form || getRootNode(node);\n  var queryRadios = function queryRadios2(name) {\n    return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n  };\n  var radioSet;\n  if (typeof window !== \"undefined\" && typeof window.CSS !== \"undefined\" && typeof window.CSS.escape === \"function\") {\n    radioSet = queryRadios(window.CSS.escape(node.name));\n  } else {\n    try {\n      radioSet = queryRadios(node.name);\n    } catch (err) {\n      console.error(\"Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s\", err.message);\n      return false;\n    }\n  }\n  var checked = getCheckedRadio(radioSet, node.form);\n  return !checked || checked === node;\n};\nvar isRadio = function isRadio2(node) {\n  return isInput(node) && node.type === \"radio\";\n};\nvar isNonTabbableRadio = function isNonTabbableRadio2(node) {\n  return isRadio(node) && !isTabbableRadio(node);\n};\nvar isNodeAttached = function isNodeAttached2(node) {\n  var _nodeRoot;\n  var nodeRoot = node && getRootNode(node);\n  var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n  var attached = false;\n  if (nodeRoot && nodeRoot !== node) {\n    var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n    attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n    while (!attached && nodeRootHost) {\n      var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n      nodeRoot = getRootNode(nodeRootHost);\n      nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n      attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n    }\n  }\n  return attached;\n};\nvar isZeroArea = function isZeroArea2(node) {\n  var _node$getBoundingClie = node.getBoundingClientRect(), width = _node$getBoundingClie.width, height = _node$getBoundingClie.height;\n  return width === 0 && height === 0;\n};\nvar isHidden = function isHidden2(node, _ref) {\n  var displayCheck = _ref.displayCheck, getShadowRoot = _ref.getShadowRoot;\n  if (getComputedStyle(node).visibility === \"hidden\") {\n    return true;\n  }\n  var isDirectSummary = matches.call(node, \"details>summary:first-of-type\");\n  var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n  if (matches.call(nodeUnderDetails, \"details:not([open]) *\")) {\n    return true;\n  }\n  if (!displayCheck || displayCheck === \"full\" || displayCheck === \"legacy-full\") {\n    if (typeof getShadowRoot === \"function\") {\n      var originalNode = node;\n      while (node) {\n        var parentElement = node.parentElement;\n        var rootNode = getRootNode(node);\n        if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true) {\n          return isZeroArea(node);\n        } else if (node.assignedSlot) {\n          node = node.assignedSlot;\n        } else if (!parentElement && rootNode !== node.ownerDocument) {\n          node = rootNode.host;\n        } else {\n          node = parentElement;\n        }\n      }\n      node = originalNode;\n    }\n    if (isNodeAttached(node)) {\n      return !node.getClientRects().length;\n    }\n    if (displayCheck !== \"legacy-full\") {\n      return true;\n    }\n  } else if (displayCheck === \"non-zero-area\") {\n    return isZeroArea(node);\n  }\n  return false;\n};\nvar isDisabledFromFieldset = function isDisabledFromFieldset2(node) {\n  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n    var parentNode = node.parentElement;\n    while (parentNode) {\n      if (parentNode.tagName === \"FIELDSET\" && parentNode.disabled) {\n        for (var i = 0; i < parentNode.children.length; i++) {\n          var child = parentNode.children.item(i);\n          if (child.tagName === \"LEGEND\") {\n            return matches.call(parentNode, \"fieldset[disabled] *\") ? true : !child.contains(node);\n          }\n        }\n        return true;\n      }\n      parentNode = parentNode.parentElement;\n    }\n  }\n  return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable2(options, node) {\n  if (node.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor\n  //  because we're limited in the type of selectors we can use in JSDom (see related\n  //  note related to `candidateSelectors`)\n  isInert(node) || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus\n  isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n    return false;\n  }\n  return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable2(options, node) {\n  if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n    return false;\n  }\n  return true;\n};\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable2(shadowHostNode) {\n  var tabIndex = parseInt(shadowHostNode.getAttribute(\"tabindex\"), 10);\n  if (isNaN(tabIndex) || tabIndex >= 0) {\n    return true;\n  }\n  return false;\n};\nvar sortByOrder = function sortByOrder2(candidates) {\n  var regularTabbables = [];\n  var orderedTabbables = [];\n  candidates.forEach(function(item, i) {\n    var isScope = !!item.scopeParent;\n    var element = isScope ? item.scopeParent : item;\n    var candidateTabindex = getSortOrderTabIndex(element, isScope);\n    var elements = isScope ? sortByOrder2(item.candidates) : element;\n    if (candidateTabindex === 0) {\n      isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n    } else {\n      orderedTabbables.push({\n        documentOrder: i,\n        tabIndex: candidateTabindex,\n        item,\n        isScope,\n        content: elements\n      });\n    }\n  });\n  return orderedTabbables.sort(sortOrderedTabbables).reduce(function(acc, sortable) {\n    sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n    return acc;\n  }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable2(container, options) {\n  options = options || {};\n  var candidates;\n  if (options.getShadowRoot) {\n    candidates = getCandidatesIteratively([container], options.includeContainer, {\n      filter: isNodeMatchingSelectorTabbable.bind(null, options),\n      flatten: false,\n      getShadowRoot: options.getShadowRoot,\n      shadowRootFilter: isValidShadowRootTabbable\n    });\n  } else {\n    candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n  }\n  return sortByOrder(candidates);\n};\nexport {\n  getTabIndex,\n  tabbable\n};\n","import process$1 from \"../../../vite-plugin-node-polyfills/shims/process/dist/index.js\";\nimport { useFloating as useFloating$1 } from \"../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js\";\nimport { arrow, flip, offset } from \"../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js\";\nimport * as React from \"react\";\nimport { useLayoutEffect, useEffect, useRef } from \"react\";\nimport { hideOthers } from \"../../../aria-hidden/dist/es2015/index.js\";\nimport { tabbable } from \"../../../tabbable/dist/index.esm.js\";\nimport { createPortal } from \"react-dom\";\nimport { platform } from \"../node_modules/@floating-ui/dom/dist/floating-ui.dom.js\";\nimport { autoUpdate, computePosition } from \"../node_modules/@floating-ui/dom/dist/floating-ui.dom.js\";\nimport { getOverflowAncestors } from \"../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js\";\nfunction _extends() {\n  _extends = Object.assign || function(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i];\n      for (var key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n    return target;\n  };\n  return _extends.apply(this, arguments);\n}\nvar index = typeof document !== \"undefined\" ? useLayoutEffect : useEffect;\nlet serverHandoffComplete = false;\nlet count = 0;\nconst genId = () => \"floating-ui-\" + count++;\nfunction useFloatingId() {\n  const [id, setId] = React.useState(() => serverHandoffComplete ? genId() : void 0);\n  index(() => {\n    if (id == null) {\n      setId(genId());\n    }\n  }, []);\n  React.useEffect(() => {\n    if (!serverHandoffComplete) {\n      serverHandoffComplete = true;\n    }\n  }, []);\n  return id;\n}\nconst useReactId = React[/* @__PURE__ */ \"useId\".toString()];\nconst useId = useReactId || useFloatingId;\nconst FloatingArrow = /* @__PURE__ */ React.forwardRef(function FloatingArrow2(_ref, ref) {\n  let {\n    context: {\n      placement,\n      elements: {\n        floating\n      },\n      middlewareData: {\n        arrow: arrow2\n      }\n    },\n    width = 14,\n    height = 7,\n    tipRadius = 0,\n    strokeWidth = 0,\n    staticOffset,\n    stroke,\n    d,\n    style: {\n      transform,\n      ...restStyle\n    } = {},\n    ...rest\n  } = _ref;\n  if (process$1.env.NODE_ENV !== \"production\") {\n    if (!ref) {\n      console.warn(\"Floating UI: The `ref` prop is required for the `FloatingArrow`\", \"component.\");\n    }\n  }\n  strokeWidth *= 2;\n  const halfStrokeWidth = strokeWidth / 2;\n  const svgX = width / 2 * (tipRadius / -8 + 1);\n  const svgY = height / 2 * tipRadius / 4;\n  const [side, alignment] = placement.split(\"-\");\n  const isRTL = floating ? platform.isRTL(floating) : false;\n  const isCustomShape = !!d;\n  const isVerticalSide = side === \"top\" || side === \"bottom\";\n  const yOffsetProp = staticOffset && alignment === \"end\" ? \"bottom\" : \"top\";\n  let xOffsetProp = staticOffset && alignment === \"end\" ? \"right\" : \"left\";\n  if (staticOffset && isRTL) {\n    xOffsetProp = alignment === \"end\" ? \"left\" : \"right\";\n  }\n  const arrowOffsetY = isCustomShape ? 0 : halfStrokeWidth;\n  const arrowX = (arrow2 == null ? void 0 : arrow2.x) != null ? staticOffset || arrow2.x : \"\";\n  const arrowY = (arrow2 == null ? void 0 : arrow2.y) != null ? staticOffset || arrow2.y + arrowOffsetY : \"\";\n  const dValue = d || \"M0,0\" + (\" H\" + width) + (\" L\" + (width - svgX) + \",\" + (height - svgY)) + (\" Q\" + width / 2 + \",\" + height + \" \" + svgX + \",\" + (height - svgY)) + \" Z\";\n  const rotation = {\n    top: isCustomShape ? \"rotate(180deg)\" : \"\",\n    left: isCustomShape ? \"rotate(90deg)\" : \"rotate(-90deg)\",\n    bottom: isCustomShape ? \"\" : \"rotate(180deg)\",\n    right: isCustomShape ? \"rotate(-90deg)\" : \"rotate(90deg)\"\n  }[side];\n  const clipPathId = useId();\n  return /* @__PURE__ */ React.createElement(\"svg\", _extends({}, rest, {\n    // @ts-ignore\n    suppressHydrationWarning: true,\n    \"aria-hidden\": true,\n    ref,\n    width: isCustomShape ? width : width + strokeWidth,\n    height: width,\n    viewBox: \"0 0 \" + width + \" \" + (height > width ? height : width),\n    style: {\n      position: \"absolute\",\n      pointerEvents: \"none\",\n      [xOffsetProp]: arrowX,\n      [yOffsetProp]: arrowY,\n      [side]: isVerticalSide || isCustomShape ? \"100%\" : \"calc(100% - \" + strokeWidth / 2 + \"px)\",\n      transform: \"\" + rotation + (transform != null ? transform : \"\"),\n      ...restStyle\n    }\n  }), strokeWidth > 0 && /* @__PURE__ */ React.createElement(\"path\", {\n    clipPath: \"url(#\" + clipPathId + \")\",\n    fill: \"none\",\n    stroke,\n    strokeWidth: strokeWidth + (d ? 0 : 1),\n    d: dValue\n  }), /* @__PURE__ */ React.createElement(\"path\", {\n    stroke: strokeWidth && !d ? rest.fill : \"none\",\n    d: dValue\n  }), /* @__PURE__ */ React.createElement(\"clipPath\", {\n    id: clipPathId\n  }, /* @__PURE__ */ React.createElement(\"rect\", {\n    x: -halfStrokeWidth,\n    y: halfStrokeWidth * (isCustomShape ? -1 : 1),\n    width: width + strokeWidth,\n    height: width\n  })));\n});\nfunction createPubSub() {\n  const map = /* @__PURE__ */ new Map();\n  return {\n    emit(event, data) {\n      var _map$get;\n      (_map$get = map.get(event)) == null ? void 0 : _map$get.forEach((handler) => handler(data));\n    },\n    on(event, listener) {\n      map.set(event, [...map.get(event) || [], listener]);\n    },\n    off(event, listener) {\n      var _map$get2;\n      map.set(event, ((_map$get2 = map.get(event)) == null ? void 0 : _map$get2.filter((l) => l !== listener)) || []);\n    }\n  };\n}\nconst FloatingNodeContext = /* @__PURE__ */ React.createContext(null);\nconst FloatingTreeContext = /* @__PURE__ */ React.createContext(null);\nconst useFloatingParentNodeId = () => {\n  var _React$useContext;\n  return ((_React$useContext = React.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;\n};\nconst useFloatingTree = () => React.useContext(FloatingTreeContext);\nfunction getDocument(node) {\n  return (node == null ? void 0 : node.ownerDocument) || document;\n}\nfunction getPlatform() {\n  const uaData = navigator.userAgentData;\n  if (uaData != null && uaData.platform) {\n    return uaData.platform;\n  }\n  return navigator.platform;\n}\nfunction getUserAgent() {\n  const uaData = navigator.userAgentData;\n  if (uaData && Array.isArray(uaData.brands)) {\n    return uaData.brands.map((_ref) => {\n      let {\n        brand,\n        version\n      } = _ref;\n      return brand + \"/\" + version;\n    }).join(\" \");\n  }\n  return navigator.userAgent;\n}\nfunction getWindow(value) {\n  return getDocument(value).defaultView || window;\n}\nfunction isElement(value) {\n  return value ? value instanceof getWindow(value).Element : false;\n}\nfunction isHTMLElement(value) {\n  return value ? value instanceof getWindow(value).HTMLElement : false;\n}\nfunction isShadowRoot(node) {\n  if (typeof ShadowRoot === \"undefined\") {\n    return false;\n  }\n  const OwnElement = getWindow(node).ShadowRoot;\n  return node instanceof OwnElement || node instanceof ShadowRoot;\n}\nfunction isVirtualClick(event) {\n  if (event.mozInputSource === 0 && event.isTrusted) {\n    return true;\n  }\n  const androidRe = /Android/i;\n  if ((androidRe.test(getPlatform()) || androidRe.test(getUserAgent())) && event.pointerType) {\n    return event.type === \"click\" && event.buttons === 1;\n  }\n  return event.detail === 0 && !event.pointerType;\n}\nfunction isVirtualPointerEvent(event) {\n  return event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType !== \"mouse\" || // iOS VoiceOver returns 0.333• for width/height.\n  event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0;\n}\nfunction isSafari() {\n  return /apple/i.test(navigator.vendor);\n}\nfunction isMouseLikePointerType(pointerType, strict) {\n  const values = [\"mouse\", \"pen\"];\n  if (!strict) {\n    values.push(\"\", void 0);\n  }\n  return values.includes(pointerType);\n}\nfunction contains(parent, child) {\n  if (!parent || !child) {\n    return false;\n  }\n  const rootNode = child.getRootNode && child.getRootNode();\n  if (parent.contains(child)) {\n    return true;\n  }\n  if (rootNode && isShadowRoot(rootNode)) {\n    let next = child;\n    while (next) {\n      if (parent === next) {\n        return true;\n      }\n      next = next.parentNode || next.host;\n    }\n  }\n  return false;\n}\nfunction useLatestRef(value) {\n  const ref = useRef(value);\n  index(() => {\n    ref.current = value;\n  });\n  return ref;\n}\nconst safePolygonIdentifier = \"data-floating-ui-safe-polygon\";\nfunction getDelay(value, prop, pointerType) {\n  if (pointerType && !isMouseLikePointerType(pointerType)) {\n    return 0;\n  }\n  if (typeof value === \"number\") {\n    return value;\n  }\n  return value == null ? void 0 : value[prop];\n}\nfunction useHover(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    dataRef,\n    events,\n    elements: {\n      domReference,\n      floating\n    },\n    refs\n  } = context;\n  const {\n    enabled = true,\n    delay = 0,\n    handleClose = null,\n    mouseOnly = false,\n    restMs = 0,\n    move = true\n  } = props;\n  const tree = useFloatingTree();\n  const parentId = useFloatingParentNodeId();\n  const handleCloseRef = useLatestRef(handleClose);\n  const delayRef = useLatestRef(delay);\n  const pointerTypeRef = React.useRef();\n  const timeoutRef = React.useRef();\n  const handlerRef = React.useRef();\n  const restTimeoutRef = React.useRef();\n  const blockMouseMoveRef = React.useRef(true);\n  const performedPointerEventsMutationRef = React.useRef(false);\n  const unbindMouseMoveRef = React.useRef(() => {\n  });\n  const isHoverOpen = React.useCallback(() => {\n    var _dataRef$current$open;\n    const type = (_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type;\n    return (type == null ? void 0 : type.includes(\"mouse\")) && type !== \"mousedown\";\n  }, [dataRef]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    function onDismiss() {\n      clearTimeout(timeoutRef.current);\n      clearTimeout(restTimeoutRef.current);\n      blockMouseMoveRef.current = true;\n    }\n    events.on(\"dismiss\", onDismiss);\n    return () => {\n      events.off(\"dismiss\", onDismiss);\n    };\n  }, [enabled, events]);\n  React.useEffect(() => {\n    if (!enabled || !handleCloseRef.current || !open) {\n      return;\n    }\n    function onLeave() {\n      if (isHoverOpen()) {\n        onOpenChange(false);\n      }\n    }\n    const html = getDocument(floating).documentElement;\n    html.addEventListener(\"mouseleave\", onLeave);\n    return () => {\n      html.removeEventListener(\"mouseleave\", onLeave);\n    };\n  }, [floating, open, onOpenChange, enabled, handleCloseRef, dataRef, isHoverOpen]);\n  const closeWithDelay = React.useCallback(function(runElseBranch) {\n    if (runElseBranch === void 0) {\n      runElseBranch = true;\n    }\n    const closeDelay = getDelay(delayRef.current, \"close\", pointerTypeRef.current);\n    if (closeDelay && !handlerRef.current) {\n      clearTimeout(timeoutRef.current);\n      timeoutRef.current = setTimeout(() => onOpenChange(false), closeDelay);\n    } else if (runElseBranch) {\n      clearTimeout(timeoutRef.current);\n      onOpenChange(false);\n    }\n  }, [delayRef, onOpenChange]);\n  const cleanupMouseMoveHandler = React.useCallback(() => {\n    unbindMouseMoveRef.current();\n    handlerRef.current = void 0;\n  }, []);\n  const clearPointerEvents = React.useCallback(() => {\n    if (performedPointerEventsMutationRef.current) {\n      const body = getDocument(refs.floating.current).body;\n      body.style.pointerEvents = \"\";\n      body.removeAttribute(safePolygonIdentifier);\n      performedPointerEventsMutationRef.current = false;\n    }\n  }, [refs]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    function isClickLikeOpenEvent() {\n      return dataRef.current.openEvent ? [\"click\", \"mousedown\"].includes(dataRef.current.openEvent.type) : false;\n    }\n    function onMouseEnter(event) {\n      clearTimeout(timeoutRef.current);\n      blockMouseMoveRef.current = false;\n      if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || restMs > 0 && getDelay(delayRef.current, \"open\") === 0) {\n        return;\n      }\n      dataRef.current.openEvent = event;\n      const openDelay = getDelay(delayRef.current, \"open\", pointerTypeRef.current);\n      if (openDelay) {\n        timeoutRef.current = setTimeout(() => {\n          onOpenChange(true);\n        }, openDelay);\n      } else {\n        onOpenChange(true);\n      }\n    }\n    function onMouseLeave(event) {\n      if (isClickLikeOpenEvent()) {\n        return;\n      }\n      unbindMouseMoveRef.current();\n      const doc = getDocument(floating);\n      clearTimeout(restTimeoutRef.current);\n      if (handleCloseRef.current) {\n        if (!open) {\n          clearTimeout(timeoutRef.current);\n        }\n        handlerRef.current = handleCloseRef.current({\n          ...context,\n          tree,\n          x: event.clientX,\n          y: event.clientY,\n          onClose() {\n            clearPointerEvents();\n            cleanupMouseMoveHandler();\n            closeWithDelay();\n          }\n        });\n        const handler = handlerRef.current;\n        doc.addEventListener(\"mousemove\", handler);\n        unbindMouseMoveRef.current = () => {\n          doc.removeEventListener(\"mousemove\", handler);\n        };\n        return;\n      }\n      const shouldClose = pointerTypeRef.current === \"touch\" ? !contains(floating, event.relatedTarget) : true;\n      if (shouldClose) {\n        closeWithDelay();\n      }\n    }\n    function onScrollMouseLeave(event) {\n      if (isClickLikeOpenEvent()) {\n        return;\n      }\n      handleCloseRef.current == null ? void 0 : handleCloseRef.current({\n        ...context,\n        tree,\n        x: event.clientX,\n        y: event.clientY,\n        onClose() {\n          clearPointerEvents();\n          cleanupMouseMoveHandler();\n          closeWithDelay();\n        }\n      })(event);\n    }\n    if (isElement(domReference)) {\n      const ref = domReference;\n      open && ref.addEventListener(\"mouseleave\", onScrollMouseLeave);\n      floating == null ? void 0 : floating.addEventListener(\"mouseleave\", onScrollMouseLeave);\n      move && ref.addEventListener(\"mousemove\", onMouseEnter, {\n        once: true\n      });\n      ref.addEventListener(\"mouseenter\", onMouseEnter);\n      ref.addEventListener(\"mouseleave\", onMouseLeave);\n      return () => {\n        open && ref.removeEventListener(\"mouseleave\", onScrollMouseLeave);\n        floating == null ? void 0 : floating.removeEventListener(\"mouseleave\", onScrollMouseLeave);\n        move && ref.removeEventListener(\"mousemove\", onMouseEnter);\n        ref.removeEventListener(\"mouseenter\", onMouseEnter);\n        ref.removeEventListener(\"mouseleave\", onMouseLeave);\n      };\n    }\n  }, [domReference, floating, enabled, context, mouseOnly, restMs, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, tree, delayRef, handleCloseRef, dataRef]);\n  index(() => {\n    var _handleCloseRef$curre;\n    if (!enabled) {\n      return;\n    }\n    if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && _handleCloseRef$curre.__options.blockPointerEvents && isHoverOpen()) {\n      const body = getDocument(floating).body;\n      body.setAttribute(safePolygonIdentifier, \"\");\n      body.style.pointerEvents = \"none\";\n      performedPointerEventsMutationRef.current = true;\n      if (isElement(domReference) && floating) {\n        var _tree$nodesRef$curren, _tree$nodesRef$curren2;\n        const ref = domReference;\n        const parentFloating = tree == null ? void 0 : (_tree$nodesRef$curren = tree.nodesRef.current.find((node) => node.id === parentId)) == null ? void 0 : (_tree$nodesRef$curren2 = _tree$nodesRef$curren.context) == null ? void 0 : _tree$nodesRef$curren2.elements.floating;\n        if (parentFloating) {\n          parentFloating.style.pointerEvents = \"\";\n        }\n        ref.style.pointerEvents = \"auto\";\n        floating.style.pointerEvents = \"auto\";\n        return () => {\n          ref.style.pointerEvents = \"\";\n          floating.style.pointerEvents = \"\";\n        };\n      }\n    }\n  }, [enabled, open, parentId, floating, domReference, tree, handleCloseRef, dataRef, isHoverOpen]);\n  index(() => {\n    if (!open) {\n      pointerTypeRef.current = void 0;\n      cleanupMouseMoveHandler();\n      clearPointerEvents();\n    }\n  }, [open, cleanupMouseMoveHandler, clearPointerEvents]);\n  React.useEffect(() => {\n    return () => {\n      cleanupMouseMoveHandler();\n      clearTimeout(timeoutRef.current);\n      clearTimeout(restTimeoutRef.current);\n      clearPointerEvents();\n    };\n  }, [enabled, cleanupMouseMoveHandler, clearPointerEvents]);\n  return React.useMemo(() => {\n    if (!enabled) {\n      return {};\n    }\n    function setPointerRef(event) {\n      pointerTypeRef.current = event.pointerType;\n    }\n    return {\n      reference: {\n        onPointerDown: setPointerRef,\n        onPointerEnter: setPointerRef,\n        onMouseMove() {\n          if (open || restMs === 0) {\n            return;\n          }\n          clearTimeout(restTimeoutRef.current);\n          restTimeoutRef.current = setTimeout(() => {\n            if (!blockMouseMoveRef.current) {\n              onOpenChange(true);\n            }\n          }, restMs);\n        }\n      },\n      floating: {\n        onMouseEnter() {\n          clearTimeout(timeoutRef.current);\n        },\n        onMouseLeave() {\n          events.emit(\"dismiss\", {\n            type: \"mouseLeave\",\n            data: {\n              returnFocus: false\n            }\n          });\n          closeWithDelay(false);\n        }\n      }\n    };\n  }, [events, enabled, restMs, open, onOpenChange, closeWithDelay]);\n}\nfunction activeElement(doc) {\n  let activeElement2 = doc.activeElement;\n  while (((_activeElement = activeElement2) == null ? void 0 : (_activeElement$shadow = _activeElement.shadowRoot) == null ? void 0 : _activeElement$shadow.activeElement) != null) {\n    var _activeElement, _activeElement$shadow;\n    activeElement2 = activeElement2.shadowRoot.activeElement;\n  }\n  return activeElement2;\n}\nlet rafId = 0;\nfunction enqueueFocus(el, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    preventScroll = false,\n    cancelPrevious = true,\n    sync = false\n  } = options;\n  cancelPrevious && cancelAnimationFrame(rafId);\n  const exec = () => el == null ? void 0 : el.focus({\n    preventScroll\n  });\n  if (sync) {\n    exec();\n  } else {\n    rafId = requestAnimationFrame(exec);\n  }\n}\nfunction getAncestors(nodes, id) {\n  var _nodes$find;\n  let allAncestors = [];\n  let currentParentId = (_nodes$find = nodes.find((node) => node.id === id)) == null ? void 0 : _nodes$find.parentId;\n  while (currentParentId) {\n    const currentNode = nodes.find((node) => node.id === currentParentId);\n    currentParentId = currentNode == null ? void 0 : currentNode.parentId;\n    if (currentNode) {\n      allAncestors = allAncestors.concat(currentNode);\n    }\n  }\n  return allAncestors;\n}\nfunction getChildren(nodes, id) {\n  let allChildren = nodes.filter((node) => {\n    var _node$context;\n    return node.parentId === id && ((_node$context = node.context) == null ? void 0 : _node$context.open);\n  });\n  let currentChildren = allChildren;\n  while (currentChildren.length) {\n    currentChildren = nodes.filter((node) => {\n      var _currentChildren;\n      return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some((n) => {\n        var _node$context2;\n        return node.parentId === n.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);\n      });\n    });\n    allChildren = allChildren.concat(currentChildren);\n  }\n  return allChildren;\n}\nfunction getTarget(event) {\n  if (\"composedPath\" in event) {\n    return event.composedPath()[0];\n  }\n  return event.target;\n}\nconst TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nfunction isTypeableElement(element) {\n  return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nfunction stopEvent(event) {\n  event.preventDefault();\n  event.stopPropagation();\n}\nconst getTabbableOptions = () => ({\n  getShadowRoot: true,\n  displayCheck: (\n    // JSDOM does not support the `tabbable` library. To solve this we can\n    // check if `ResizeObserver` is a real function (not polyfilled), which\n    // determines if the current environment is JSDOM-like.\n    typeof ResizeObserver === \"function\" && ResizeObserver.toString().includes(\"[native code]\") ? \"full\" : \"none\"\n  )\n});\nfunction getTabbableIn(container, direction) {\n  const allTabbable = tabbable(container, getTabbableOptions());\n  if (direction === \"prev\") {\n    allTabbable.reverse();\n  }\n  const activeIndex = allTabbable.indexOf(activeElement(getDocument(container)));\n  const nextTabbableElements = allTabbable.slice(activeIndex + 1);\n  return nextTabbableElements[0];\n}\nfunction getNextTabbable() {\n  return getTabbableIn(document.body, \"next\");\n}\nfunction getPreviousTabbable() {\n  return getTabbableIn(document.body, \"prev\");\n}\nfunction isOutsideEvent(event, container) {\n  const containerElement = container || event.currentTarget;\n  const relatedTarget = event.relatedTarget;\n  return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nfunction disableFocusInside(container) {\n  const tabbableElements = tabbable(container, getTabbableOptions());\n  tabbableElements.forEach((element) => {\n    element.dataset.tabindex = element.getAttribute(\"tabindex\") || \"\";\n    element.setAttribute(\"tabindex\", \"-1\");\n  });\n}\nfunction enableFocusInside(container) {\n  const elements = container.querySelectorAll(\"[data-tabindex]\");\n  elements.forEach((element) => {\n    const tabindex = element.dataset.tabindex;\n    delete element.dataset.tabindex;\n    if (tabindex) {\n      element.setAttribute(\"tabindex\", tabindex);\n    } else {\n      element.removeAttribute(\"tabindex\");\n    }\n  });\n}\nconst HIDDEN_STYLES = {\n  border: 0,\n  clip: \"rect(0 0 0 0)\",\n  height: \"1px\",\n  margin: \"-1px\",\n  overflow: \"hidden\",\n  padding: 0,\n  position: \"fixed\",\n  whiteSpace: \"nowrap\",\n  width: \"1px\",\n  top: 0,\n  left: 0\n};\nlet timeoutId;\nfunction setActiveElementOnTab(event) {\n  if (event.key === \"Tab\") {\n    event.target;\n    clearTimeout(timeoutId);\n  }\n}\nconst FocusGuard = /* @__PURE__ */ React.forwardRef(function FocusGuard2(props, ref) {\n  const [role, setRole] = React.useState();\n  index(() => {\n    if (isSafari()) {\n      setRole(\"button\");\n    }\n    document.addEventListener(\"keydown\", setActiveElementOnTab);\n    return () => {\n      document.removeEventListener(\"keydown\", setActiveElementOnTab);\n    };\n  }, []);\n  return /* @__PURE__ */ React.createElement(\"span\", _extends({}, props, {\n    ref,\n    tabIndex: 0,\n    role,\n    \"aria-hidden\": role ? void 0 : true,\n    \"data-floating-ui-focus-guard\": \"\",\n    style: HIDDEN_STYLES\n  }));\n});\nconst PortalContext = /* @__PURE__ */ React.createContext(null);\nfunction useFloatingPortalNode(_temp) {\n  let {\n    id,\n    root\n  } = _temp === void 0 ? {} : _temp;\n  const [portalNode, setPortalNode] = React.useState(null);\n  const uniqueId = useId();\n  const portalContext = usePortalContext();\n  const data = React.useMemo(() => ({\n    id,\n    root,\n    portalContext,\n    uniqueId\n  }), [id, root, portalContext, uniqueId]);\n  const dataRef = React.useRef();\n  index(() => {\n    return () => {\n      portalNode == null ? void 0 : portalNode.remove();\n    };\n  }, [portalNode, data]);\n  index(() => {\n    if (dataRef.current === data)\n      return;\n    dataRef.current = data;\n    const {\n      id: id2,\n      root: root2,\n      portalContext: portalContext2,\n      uniqueId: uniqueId2\n    } = data;\n    const existingIdRoot = id2 ? document.getElementById(id2) : null;\n    const attr = \"data-floating-ui-portal\";\n    if (existingIdRoot) {\n      const subRoot = document.createElement(\"div\");\n      subRoot.id = uniqueId2;\n      subRoot.setAttribute(attr, \"\");\n      existingIdRoot.appendChild(subRoot);\n      setPortalNode(subRoot);\n    } else {\n      let container = (portalContext2 == null ? void 0 : portalContext2.portalNode) || root2 || document.body;\n      let idWrapper = null;\n      if (id2) {\n        idWrapper = document.createElement(\"div\");\n        idWrapper.id = id2;\n        container.appendChild(idWrapper);\n      }\n      const subRoot = document.createElement(\"div\");\n      subRoot.id = uniqueId2;\n      subRoot.setAttribute(attr, \"\");\n      container = idWrapper || container;\n      container.appendChild(subRoot);\n      setPortalNode(subRoot);\n    }\n  }, [data]);\n  return portalNode;\n}\nfunction FloatingPortal(_ref) {\n  let {\n    children,\n    id,\n    root = null,\n    preserveTabOrder = true\n  } = _ref;\n  const portalNode = useFloatingPortalNode({\n    id,\n    root\n  });\n  const [focusManagerState, setFocusManagerState] = React.useState(null);\n  const beforeOutsideRef = React.useRef(null);\n  const afterOutsideRef = React.useRef(null);\n  const beforeInsideRef = React.useRef(null);\n  const afterInsideRef = React.useRef(null);\n  const shouldRenderGuards = (\n    // The FocusManager and therefore floating element are currently open/\n    // rendered.\n    !!focusManagerState && // Guards are only for non-modal focus management.\n    !focusManagerState.modal && // Don't render if unmount is transitioning.\n    focusManagerState.open && preserveTabOrder && !!(root || portalNode)\n  );\n  React.useEffect(() => {\n    if (!portalNode || !preserveTabOrder || focusManagerState != null && focusManagerState.modal) {\n      return;\n    }\n    function onFocus(event) {\n      if (portalNode && isOutsideEvent(event)) {\n        const focusing = event.type === \"focusin\";\n        const manageFocus = focusing ? enableFocusInside : disableFocusInside;\n        manageFocus(portalNode);\n      }\n    }\n    portalNode.addEventListener(\"focusin\", onFocus, true);\n    portalNode.addEventListener(\"focusout\", onFocus, true);\n    return () => {\n      portalNode.removeEventListener(\"focusin\", onFocus, true);\n      portalNode.removeEventListener(\"focusout\", onFocus, true);\n    };\n  }, [portalNode, preserveTabOrder, focusManagerState == null ? void 0 : focusManagerState.modal]);\n  return /* @__PURE__ */ React.createElement(PortalContext.Provider, {\n    value: React.useMemo(() => ({\n      preserveTabOrder,\n      beforeOutsideRef,\n      afterOutsideRef,\n      beforeInsideRef,\n      afterInsideRef,\n      portalNode,\n      setFocusManagerState\n    }), [preserveTabOrder, portalNode])\n  }, shouldRenderGuards && portalNode && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"outside\",\n    ref: beforeOutsideRef,\n    onFocus: (event) => {\n      if (isOutsideEvent(event, portalNode)) {\n        var _beforeInsideRef$curr;\n        (_beforeInsideRef$curr = beforeInsideRef.current) == null ? void 0 : _beforeInsideRef$curr.focus();\n      } else {\n        const prevTabbable = getPreviousTabbable() || (focusManagerState == null ? void 0 : focusManagerState.refs.domReference.current);\n        prevTabbable == null ? void 0 : prevTabbable.focus();\n      }\n    }\n  }), shouldRenderGuards && portalNode && /* @__PURE__ */ React.createElement(\"span\", {\n    \"aria-owns\": portalNode.id,\n    style: HIDDEN_STYLES\n  }), portalNode && /* @__PURE__ */ createPortal(children, portalNode), shouldRenderGuards && portalNode && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"outside\",\n    ref: afterOutsideRef,\n    onFocus: (event) => {\n      if (isOutsideEvent(event, portalNode)) {\n        var _afterInsideRef$curre;\n        (_afterInsideRef$curre = afterInsideRef.current) == null ? void 0 : _afterInsideRef$curre.focus();\n      } else {\n        const nextTabbable = getNextTabbable() || (focusManagerState == null ? void 0 : focusManagerState.refs.domReference.current);\n        nextTabbable == null ? void 0 : nextTabbable.focus();\n        (focusManagerState == null ? void 0 : focusManagerState.closeOnFocusOut) && (focusManagerState == null ? void 0 : focusManagerState.onOpenChange(false));\n      }\n    }\n  }));\n}\nconst usePortalContext = () => React.useContext(PortalContext);\nconst VisuallyHiddenDismiss = /* @__PURE__ */ React.forwardRef(function VisuallyHiddenDismiss2(props, ref) {\n  return /* @__PURE__ */ React.createElement(\"button\", _extends({}, props, {\n    type: \"button\",\n    ref,\n    tabIndex: -1,\n    style: HIDDEN_STYLES\n  }));\n});\nfunction FloatingFocusManager(props) {\n  const {\n    context,\n    children,\n    order = [\"content\"],\n    guards = true,\n    initialFocus = 0,\n    returnFocus = true,\n    modal = true,\n    visuallyHiddenDismiss = false,\n    closeOnFocusOut = true\n  } = props;\n  const {\n    open,\n    refs,\n    nodeId,\n    onOpenChange,\n    events,\n    dataRef,\n    elements: {\n      domReference,\n      floating\n    }\n  } = context;\n  const orderRef = useLatestRef(order);\n  const initialFocusRef = useLatestRef(initialFocus);\n  const returnFocusRef = useLatestRef(returnFocus);\n  const tree = useFloatingTree();\n  const portalContext = usePortalContext();\n  const ignoreInitialFocus = typeof initialFocus === \"number\" && initialFocus < 0;\n  const startDismissButtonRef = React.useRef(null);\n  const endDismissButtonRef = React.useRef(null);\n  const preventReturnFocusRef = React.useRef(false);\n  const previouslyFocusedElementRef = React.useRef(null);\n  const isPointerDownRef = React.useRef(false);\n  const isInsidePortal = portalContext != null;\n  const isTypeableCombobox = domReference && domReference.getAttribute(\"role\") === \"combobox\" && isTypeableElement(domReference);\n  const getTabbableContent = React.useCallback(function(container) {\n    if (container === void 0) {\n      container = floating;\n    }\n    return container ? tabbable(container, getTabbableOptions()) : [];\n  }, [floating]);\n  const getTabbableElements = React.useCallback((container) => {\n    const content = getTabbableContent(container);\n    return orderRef.current.map((type) => {\n      if (domReference && type === \"reference\") {\n        return domReference;\n      }\n      if (floating && type === \"floating\") {\n        return floating;\n      }\n      return content;\n    }).filter(Boolean).flat();\n  }, [domReference, floating, orderRef, getTabbableContent]);\n  React.useEffect(() => {\n    if (!modal) {\n      return;\n    }\n    function onKeyDown(event) {\n      if (event.key === \"Tab\") {\n        if (contains(floating, activeElement(getDocument(floating))) && getTabbableContent().length === 0 && !isTypeableCombobox) {\n          stopEvent(event);\n        }\n        const els = getTabbableElements();\n        const target = getTarget(event);\n        if (orderRef.current[0] === \"reference\" && target === domReference) {\n          stopEvent(event);\n          if (event.shiftKey) {\n            enqueueFocus(els[els.length - 1]);\n          } else {\n            enqueueFocus(els[1]);\n          }\n        }\n        if (orderRef.current[1] === \"floating\" && target === floating && event.shiftKey) {\n          stopEvent(event);\n          enqueueFocus(els[0]);\n        }\n      }\n    }\n    const doc = getDocument(floating);\n    doc.addEventListener(\"keydown\", onKeyDown);\n    return () => {\n      doc.removeEventListener(\"keydown\", onKeyDown);\n    };\n  }, [domReference, floating, modal, orderRef, refs, isTypeableCombobox, getTabbableContent, getTabbableElements]);\n  React.useEffect(() => {\n    if (!closeOnFocusOut) {\n      return;\n    }\n    function handlePointerDown() {\n      isPointerDownRef.current = true;\n      setTimeout(() => {\n        isPointerDownRef.current = false;\n      });\n    }\n    function handleFocusOutside(event) {\n      const relatedTarget = event.relatedTarget;\n      queueMicrotask(() => {\n        const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext == null ? void 0 : portalContext.portalNode, relatedTarget) || relatedTarget != null && relatedTarget.hasAttribute(\"data-floating-ui-focus-guard\") || tree && (getChildren(tree.nodesRef.current, nodeId).find((node) => {\n          var _node$context, _node$context2;\n          return contains((_node$context = node.context) == null ? void 0 : _node$context.elements.floating, relatedTarget) || contains((_node$context2 = node.context) == null ? void 0 : _node$context2.elements.domReference, relatedTarget);\n        }) || getAncestors(tree.nodesRef.current, nodeId).find((node) => {\n          var _node$context3, _node$context4;\n          return ((_node$context3 = node.context) == null ? void 0 : _node$context3.elements.floating) === relatedTarget || ((_node$context4 = node.context) == null ? void 0 : _node$context4.elements.domReference) === relatedTarget;\n        })));\n        if (relatedTarget && movedToUnrelatedNode && !isPointerDownRef.current && // Fix React 18 Strict Mode returnFocus due to double rendering.\n        relatedTarget !== previouslyFocusedElementRef.current) {\n          preventReturnFocusRef.current = true;\n          onOpenChange(false);\n        }\n      });\n    }\n    if (floating && isHTMLElement(domReference)) {\n      domReference.addEventListener(\"focusout\", handleFocusOutside);\n      domReference.addEventListener(\"pointerdown\", handlePointerDown);\n      !modal && floating.addEventListener(\"focusout\", handleFocusOutside);\n      return () => {\n        domReference.removeEventListener(\"focusout\", handleFocusOutside);\n        domReference.removeEventListener(\"pointerdown\", handlePointerDown);\n        !modal && floating.removeEventListener(\"focusout\", handleFocusOutside);\n      };\n    }\n  }, [domReference, floating, modal, nodeId, tree, portalContext, onOpenChange, closeOnFocusOut]);\n  React.useEffect(() => {\n    var _portalContext$portal;\n    const portalNodes = Array.from((portalContext == null ? void 0 : (_portalContext$portal = portalContext.portalNode) == null ? void 0 : _portalContext$portal.querySelectorAll(\"[data-floating-ui-portal]\")) || []);\n    function getDismissButtons() {\n      return [startDismissButtonRef.current, endDismissButtonRef.current].filter(Boolean);\n    }\n    if (floating && modal) {\n      const insideNodes = [floating, ...portalNodes, ...getDismissButtons()];\n      const cleanup = hideOthers(orderRef.current.includes(\"reference\") || isTypeableCombobox ? insideNodes.concat(domReference || []) : insideNodes);\n      return () => {\n        cleanup();\n      };\n    }\n  }, [domReference, floating, modal, orderRef, portalContext, isTypeableCombobox]);\n  React.useEffect(() => {\n    if (modal && !guards && floating) {\n      const tabIndexValues = [];\n      const options = getTabbableOptions();\n      const allTabbable = tabbable(getDocument(floating).body, options);\n      const floatingTabbable = getTabbableElements();\n      const elements = allTabbable.filter((el) => !floatingTabbable.includes(el));\n      elements.forEach((el, i) => {\n        tabIndexValues[i] = el.getAttribute(\"tabindex\");\n        el.setAttribute(\"tabindex\", \"-1\");\n      });\n      return () => {\n        elements.forEach((el, i) => {\n          const value = tabIndexValues[i];\n          if (value == null) {\n            el.removeAttribute(\"tabindex\");\n          } else {\n            el.setAttribute(\"tabindex\", value);\n          }\n        });\n      };\n    }\n  }, [floating, modal, guards, getTabbableElements]);\n  index(() => {\n    if (!floating)\n      return;\n    const doc = getDocument(floating);\n    const previouslyFocusedElement = activeElement(doc);\n    queueMicrotask(() => {\n      const focusableElements = getTabbableElements(floating);\n      const initialFocusValue = initialFocusRef.current;\n      const elToFocus = (typeof initialFocusValue === \"number\" ? focusableElements[initialFocusValue] : initialFocusValue.current) || floating;\n      const focusAlreadyInsideFloatingEl = contains(floating, previouslyFocusedElement);\n      if (!ignoreInitialFocus && !focusAlreadyInsideFloatingEl && open) {\n        enqueueFocus(elToFocus, {\n          preventScroll: elToFocus === floating\n        });\n      }\n    });\n  }, [open, floating, ignoreInitialFocus, getTabbableElements, initialFocusRef]);\n  index(() => {\n    if (!floating)\n      return;\n    let preventReturnFocusScroll = false;\n    const doc = getDocument(floating);\n    const previouslyFocusedElement = activeElement(doc);\n    const contextData = dataRef.current;\n    previouslyFocusedElementRef.current = previouslyFocusedElement;\n    function onDismiss(payload) {\n      if (payload.type === \"escapeKey\" && refs.domReference.current) {\n        previouslyFocusedElementRef.current = refs.domReference.current;\n      }\n      if ([\"referencePress\", \"escapeKey\"].includes(payload.type)) {\n        return;\n      }\n      const returnFocus2 = payload.data.returnFocus;\n      if (typeof returnFocus2 === \"object\") {\n        preventReturnFocusRef.current = false;\n        preventReturnFocusScroll = returnFocus2.preventScroll;\n      } else {\n        preventReturnFocusRef.current = !returnFocus2;\n      }\n    }\n    events.on(\"dismiss\", onDismiss);\n    return () => {\n      events.off(\"dismiss\", onDismiss);\n      const activeEl = activeElement(doc);\n      const shouldFocusReference = contains(floating, activeEl) || tree && getChildren(tree.nodesRef.current, nodeId).some((node) => {\n        var _node$context5;\n        return contains((_node$context5 = node.context) == null ? void 0 : _node$context5.elements.floating, activeEl);\n      }) || contextData.openEvent && [\"click\", \"mousedown\"].includes(contextData.openEvent.type);\n      if (shouldFocusReference && refs.domReference.current) {\n        previouslyFocusedElementRef.current = refs.domReference.current;\n      }\n      if (\n        // eslint-disable-next-line react-hooks/exhaustive-deps\n        returnFocusRef.current && isHTMLElement(previouslyFocusedElementRef.current) && !preventReturnFocusRef.current\n      ) {\n        enqueueFocus(previouslyFocusedElementRef.current, {\n          // When dismissing nested floating elements, by the time the rAF has\n          // executed, the menus will all have been unmounted. When they try\n          // to get focused, the calls get ignored — leaving the root\n          // reference focused as desired.\n          cancelPrevious: false,\n          preventScroll: preventReturnFocusScroll\n        });\n      }\n    };\n  }, [floating, returnFocusRef, dataRef, refs, events, tree, nodeId]);\n  index(() => {\n    if (!portalContext)\n      return;\n    portalContext.setFocusManagerState({\n      ...context,\n      modal,\n      closeOnFocusOut,\n      open\n    });\n    return () => {\n      portalContext.setFocusManagerState(null);\n    };\n  }, [portalContext, modal, open, closeOnFocusOut, context]);\n  index(() => {\n    if (floating && typeof MutationObserver === \"function\") {\n      const handleMutation = () => {\n        const tabIndex = floating.getAttribute(\"tabindex\");\n        if (orderRef.current.includes(\"floating\") || activeElement(getDocument(floating)) !== refs.domReference.current && getTabbableContent().length === 0) {\n          if (tabIndex !== \"0\") {\n            floating.setAttribute(\"tabindex\", \"0\");\n          }\n        } else if (tabIndex !== \"-1\") {\n          floating.setAttribute(\"tabindex\", \"-1\");\n        }\n      };\n      handleMutation();\n      const observer = new MutationObserver(handleMutation);\n      observer.observe(floating, {\n        childList: true,\n        subtree: true,\n        attributes: true\n      });\n      return () => {\n        observer.disconnect();\n      };\n    }\n  }, [floating, refs, orderRef, getTabbableContent]);\n  function renderDismissButton(location) {\n    return visuallyHiddenDismiss && modal ? /* @__PURE__ */ React.createElement(VisuallyHiddenDismiss, {\n      ref: location === \"start\" ? startDismissButtonRef : endDismissButtonRef,\n      onClick: () => onOpenChange(false)\n    }, typeof visuallyHiddenDismiss === \"string\" ? visuallyHiddenDismiss : \"Dismiss\") : null;\n  }\n  const shouldRenderGuards = guards && !isTypeableCombobox && (isInsidePortal || modal);\n  return /* @__PURE__ */ React.createElement(React.Fragment, null, shouldRenderGuards && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"inside\",\n    ref: portalContext == null ? void 0 : portalContext.beforeInsideRef,\n    onFocus: (event) => {\n      if (modal) {\n        const els = getTabbableElements();\n        enqueueFocus(order[0] === \"reference\" ? els[0] : els[els.length - 1]);\n      } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n        preventReturnFocusRef.current = false;\n        if (isOutsideEvent(event, portalContext.portalNode)) {\n          const nextTabbable = getNextTabbable() || domReference;\n          nextTabbable == null ? void 0 : nextTabbable.focus();\n        } else {\n          var _portalContext$before;\n          (_portalContext$before = portalContext.beforeOutsideRef.current) == null ? void 0 : _portalContext$before.focus();\n        }\n      }\n    }\n  }), !isTypeableCombobox && renderDismissButton(\"start\"), children, renderDismissButton(\"end\"), shouldRenderGuards && /* @__PURE__ */ React.createElement(FocusGuard, {\n    \"data-type\": \"inside\",\n    ref: portalContext == null ? void 0 : portalContext.afterInsideRef,\n    onFocus: (event) => {\n      if (modal) {\n        enqueueFocus(getTabbableElements()[0]);\n      } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n        if (closeOnFocusOut) {\n          preventReturnFocusRef.current = true;\n        }\n        if (isOutsideEvent(event, portalContext.portalNode)) {\n          const prevTabbable = getPreviousTabbable() || domReference;\n          prevTabbable == null ? void 0 : prevTabbable.focus();\n        } else {\n          var _portalContext$afterO;\n          (_portalContext$afterO = portalContext.afterOutsideRef.current) == null ? void 0 : _portalContext$afterO.focus();\n        }\n      }\n    }\n  }));\n}\nfunction isButtonTarget(event) {\n  return isHTMLElement(event.target) && event.target.tagName === \"BUTTON\";\n}\nfunction isSpaceIgnored(element) {\n  return isTypeableElement(element);\n}\nfunction useClick(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    dataRef,\n    elements: {\n      domReference\n    }\n  } = context;\n  const {\n    enabled = true,\n    event: eventOption = \"click\",\n    toggle = true,\n    ignoreMouse = false,\n    keyboardHandlers = true\n  } = props;\n  const pointerTypeRef = React.useRef();\n  const didKeyDownRef = React.useRef(false);\n  return React.useMemo(() => {\n    if (!enabled)\n      return {};\n    return {\n      reference: {\n        onPointerDown(event) {\n          pointerTypeRef.current = event.pointerType;\n        },\n        onMouseDown(event) {\n          if (event.button !== 0) {\n            return;\n          }\n          if (isMouseLikePointerType(pointerTypeRef.current, true) && ignoreMouse) {\n            return;\n          }\n          if (eventOption === \"click\") {\n            return;\n          }\n          if (open) {\n            if (toggle && (dataRef.current.openEvent ? dataRef.current.openEvent.type === \"mousedown\" : true)) {\n              onOpenChange(false);\n            }\n          } else {\n            event.preventDefault();\n            onOpenChange(true);\n          }\n          dataRef.current.openEvent = event.nativeEvent;\n        },\n        onClick(event) {\n          if (eventOption === \"mousedown\" && pointerTypeRef.current) {\n            pointerTypeRef.current = void 0;\n            return;\n          }\n          if (isMouseLikePointerType(pointerTypeRef.current, true) && ignoreMouse) {\n            return;\n          }\n          if (open) {\n            if (toggle && (dataRef.current.openEvent ? dataRef.current.openEvent.type === \"click\" : true)) {\n              onOpenChange(false);\n            }\n          } else {\n            onOpenChange(true);\n          }\n          dataRef.current.openEvent = event.nativeEvent;\n        },\n        onKeyDown(event) {\n          pointerTypeRef.current = void 0;\n          if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event)) {\n            return;\n          }\n          if (event.key === \" \" && !isSpaceIgnored(domReference)) {\n            event.preventDefault();\n            didKeyDownRef.current = true;\n          }\n          if (event.key === \"Enter\") {\n            if (open) {\n              if (toggle) {\n                onOpenChange(false);\n              }\n            } else {\n              onOpenChange(true);\n            }\n          }\n        },\n        onKeyUp(event) {\n          if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event) || isSpaceIgnored(domReference)) {\n            return;\n          }\n          if (event.key === \" \" && didKeyDownRef.current) {\n            didKeyDownRef.current = false;\n            if (open) {\n              if (toggle) {\n                onOpenChange(false);\n              }\n            } else {\n              onOpenChange(true);\n            }\n          }\n        }\n      }\n    };\n  }, [enabled, dataRef, eventOption, ignoreMouse, keyboardHandlers, domReference, toggle, open, onOpenChange]);\n}\nconst useInsertionEffect = React[/* @__PURE__ */ \"useInsertionEffect\".toString()];\nconst useSafeInsertionEffect = useInsertionEffect || ((fn) => fn());\nfunction useEvent(callback) {\n  const ref = React.useRef(() => {\n    if (process$1.env.NODE_ENV !== \"production\") {\n      throw new Error(\"Cannot call an event handler while rendering.\");\n    }\n  });\n  useSafeInsertionEffect(() => {\n    ref.current = callback;\n  });\n  return React.useCallback(function() {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    return ref.current == null ? void 0 : ref.current(...args);\n  }, []);\n}\nfunction isEventTargetWithin(event, node) {\n  if (node == null) {\n    return false;\n  }\n  if (\"composedPath\" in event) {\n    return event.composedPath().includes(node);\n  }\n  const e = event;\n  return e.target != null && node.contains(e.target);\n}\nconst bubbleHandlerKeys = {\n  pointerdown: \"onPointerDown\",\n  mousedown: \"onMouseDown\",\n  click: \"onClick\"\n};\nconst captureHandlerKeys = {\n  pointerdown: \"onPointerDownCapture\",\n  mousedown: \"onMouseDownCapture\",\n  click: \"onClickCapture\"\n};\nconst normalizeBubblesProp = (bubbles) => {\n  var _bubbles$escapeKey, _bubbles$outsidePress;\n  return {\n    escapeKeyBubbles: typeof bubbles === \"boolean\" ? bubbles : (_bubbles$escapeKey = bubbles == null ? void 0 : bubbles.escapeKey) != null ? _bubbles$escapeKey : false,\n    outsidePressBubbles: typeof bubbles === \"boolean\" ? bubbles : (_bubbles$outsidePress = bubbles == null ? void 0 : bubbles.outsidePress) != null ? _bubbles$outsidePress : true\n  };\n};\nfunction useDismiss(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    events,\n    nodeId,\n    elements: {\n      reference,\n      domReference,\n      floating\n    },\n    dataRef\n  } = context;\n  const {\n    enabled = true,\n    escapeKey = true,\n    outsidePress: unstable_outsidePress = true,\n    outsidePressEvent = \"pointerdown\",\n    referencePress = false,\n    referencePressEvent = \"pointerdown\",\n    ancestorScroll = false,\n    bubbles\n  } = props;\n  const tree = useFloatingTree();\n  const nested = useFloatingParentNodeId() != null;\n  const outsidePressFn = useEvent(typeof unstable_outsidePress === \"function\" ? unstable_outsidePress : () => false);\n  const outsidePress = typeof unstable_outsidePress === \"function\" ? outsidePressFn : unstable_outsidePress;\n  const insideReactTreeRef = React.useRef(false);\n  const {\n    escapeKeyBubbles,\n    outsidePressBubbles\n  } = normalizeBubblesProp(bubbles);\n  const closeOnEscapeKeyDown = useEvent((event) => {\n    if (!open || !enabled || !escapeKey || event.key !== \"Escape\") {\n      return;\n    }\n    const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n    if (!escapeKeyBubbles) {\n      event.stopPropagation();\n      if (children.length > 0) {\n        let shouldDismiss = true;\n        children.forEach((child) => {\n          var _child$context;\n          if ((_child$context = child.context) != null && _child$context.open && !child.context.dataRef.current.__escapeKeyBubbles) {\n            shouldDismiss = false;\n            return;\n          }\n        });\n        if (!shouldDismiss) {\n          return;\n        }\n      }\n    }\n    events.emit(\"dismiss\", {\n      type: \"escapeKey\",\n      data: {\n        returnFocus: {\n          preventScroll: false\n        }\n      }\n    });\n    onOpenChange(false);\n  });\n  const closeOnPressOutside = useEvent((event) => {\n    const insideReactTree = insideReactTreeRef.current;\n    insideReactTreeRef.current = false;\n    if (insideReactTree) {\n      return;\n    }\n    if (typeof outsidePress === \"function\" && !outsidePress(event)) {\n      return;\n    }\n    const target = getTarget(event);\n    if (isHTMLElement(target) && floating) {\n      const canScrollX = target.clientWidth > 0 && target.scrollWidth > target.clientWidth;\n      const canScrollY = target.clientHeight > 0 && target.scrollHeight > target.clientHeight;\n      let xCond = canScrollY && event.offsetX > target.clientWidth;\n      if (canScrollY) {\n        const isRTL = getWindow(floating).getComputedStyle(target).direction === \"rtl\";\n        if (isRTL) {\n          xCond = event.offsetX <= target.offsetWidth - target.clientWidth;\n        }\n      }\n      if (xCond || canScrollX && event.offsetY > target.clientHeight) {\n        return;\n      }\n    }\n    const targetIsInsideChildren = tree && getChildren(tree.nodesRef.current, nodeId).some((node) => {\n      var _node$context;\n      return isEventTargetWithin(event, (_node$context = node.context) == null ? void 0 : _node$context.elements.floating);\n    });\n    if (isEventTargetWithin(event, floating) || isEventTargetWithin(event, domReference) || targetIsInsideChildren) {\n      return;\n    }\n    const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n    if (children.length > 0) {\n      let shouldDismiss = true;\n      children.forEach((child) => {\n        var _child$context2;\n        if ((_child$context2 = child.context) != null && _child$context2.open && !child.context.dataRef.current.__outsidePressBubbles) {\n          shouldDismiss = false;\n          return;\n        }\n      });\n      if (!shouldDismiss) {\n        return;\n      }\n    }\n    events.emit(\"dismiss\", {\n      type: \"outsidePress\",\n      data: {\n        returnFocus: nested ? {\n          preventScroll: true\n        } : isVirtualClick(event) || isVirtualPointerEvent(event)\n      }\n    });\n    onOpenChange(false);\n  });\n  React.useEffect(() => {\n    if (!open || !enabled) {\n      return;\n    }\n    dataRef.current.__escapeKeyBubbles = escapeKeyBubbles;\n    dataRef.current.__outsidePressBubbles = outsidePressBubbles;\n    function onScroll() {\n      onOpenChange(false);\n    }\n    const doc = getDocument(floating);\n    escapeKey && doc.addEventListener(\"keydown\", closeOnEscapeKeyDown);\n    outsidePress && doc.addEventListener(outsidePressEvent, closeOnPressOutside);\n    let ancestors = [];\n    if (ancestorScroll) {\n      if (isElement(domReference)) {\n        ancestors = getOverflowAncestors(domReference);\n      }\n      if (isElement(floating)) {\n        ancestors = ancestors.concat(getOverflowAncestors(floating));\n      }\n      if (!isElement(reference) && reference && reference.contextElement) {\n        ancestors = ancestors.concat(getOverflowAncestors(reference.contextElement));\n      }\n    }\n    ancestors = ancestors.filter((ancestor) => {\n      var _doc$defaultView;\n      return ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport);\n    });\n    ancestors.forEach((ancestor) => {\n      ancestor.addEventListener(\"scroll\", onScroll, {\n        passive: true\n      });\n    });\n    return () => {\n      escapeKey && doc.removeEventListener(\"keydown\", closeOnEscapeKeyDown);\n      outsidePress && doc.removeEventListener(outsidePressEvent, closeOnPressOutside);\n      ancestors.forEach((ancestor) => {\n        ancestor.removeEventListener(\"scroll\", onScroll);\n      });\n    };\n  }, [dataRef, floating, domReference, reference, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, closeOnPressOutside]);\n  React.useEffect(() => {\n    insideReactTreeRef.current = false;\n  }, [outsidePress, outsidePressEvent]);\n  return React.useMemo(() => {\n    if (!enabled) {\n      return {};\n    }\n    return {\n      reference: {\n        onKeyDown: closeOnEscapeKeyDown,\n        [bubbleHandlerKeys[referencePressEvent]]: () => {\n          if (referencePress) {\n            events.emit(\"dismiss\", {\n              type: \"referencePress\",\n              data: {\n                returnFocus: false\n              }\n            });\n            onOpenChange(false);\n          }\n        }\n      },\n      floating: {\n        onKeyDown: closeOnEscapeKeyDown,\n        [captureHandlerKeys[outsidePressEvent]]: () => {\n          insideReactTreeRef.current = true;\n        }\n      }\n    };\n  }, [enabled, events, referencePress, outsidePressEvent, referencePressEvent, onOpenChange, closeOnEscapeKeyDown]);\n}\nfunction useFocus(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    onOpenChange,\n    dataRef,\n    events,\n    refs,\n    elements: {\n      floating,\n      domReference\n    }\n  } = context;\n  const {\n    enabled = true,\n    keyboardOnly = true\n  } = props;\n  const pointerTypeRef = React.useRef(\"\");\n  const blockFocusRef = React.useRef(false);\n  const timeoutRef = React.useRef();\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    const doc = getDocument(floating);\n    const win = doc.defaultView || window;\n    function onBlur() {\n      if (!open && isHTMLElement(domReference) && domReference === activeElement(getDocument(domReference))) {\n        blockFocusRef.current = true;\n      }\n    }\n    win.addEventListener(\"blur\", onBlur);\n    return () => {\n      win.removeEventListener(\"blur\", onBlur);\n    };\n  }, [floating, domReference, open, enabled]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    function onDismiss(payload) {\n      if (payload.type === \"referencePress\" || payload.type === \"escapeKey\") {\n        blockFocusRef.current = true;\n      }\n    }\n    events.on(\"dismiss\", onDismiss);\n    return () => {\n      events.off(\"dismiss\", onDismiss);\n    };\n  }, [events, enabled]);\n  React.useEffect(() => {\n    return () => {\n      clearTimeout(timeoutRef.current);\n    };\n  }, []);\n  return React.useMemo(() => {\n    if (!enabled) {\n      return {};\n    }\n    return {\n      reference: {\n        onPointerDown(_ref) {\n          let {\n            pointerType\n          } = _ref;\n          pointerTypeRef.current = pointerType;\n          blockFocusRef.current = !!(pointerType && keyboardOnly);\n        },\n        onMouseLeave() {\n          blockFocusRef.current = false;\n        },\n        onFocus(event) {\n          var _dataRef$current$open;\n          if (blockFocusRef.current) {\n            return;\n          }\n          if (event.type === \"focus\" && ((_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type) === \"mousedown\" && dataRef.current.openEvent && isEventTargetWithin(dataRef.current.openEvent, domReference)) {\n            return;\n          }\n          dataRef.current.openEvent = event.nativeEvent;\n          onOpenChange(true);\n        },\n        onBlur(event) {\n          blockFocusRef.current = false;\n          const relatedTarget = event.relatedTarget;\n          const movedToFocusGuard = isElement(relatedTarget) && relatedTarget.hasAttribute(\"data-floating-ui-focus-guard\") && relatedTarget.getAttribute(\"data-type\") === \"outside\";\n          timeoutRef.current = setTimeout(() => {\n            if (contains(refs.floating.current, relatedTarget) || contains(domReference, relatedTarget) || movedToFocusGuard) {\n              return;\n            }\n            onOpenChange(false);\n          });\n        }\n      }\n    };\n  }, [enabled, keyboardOnly, domReference, refs, dataRef, onOpenChange]);\n}\nfunction useMergeRefs(refs) {\n  return React.useMemo(() => {\n    if (refs.every((ref) => ref == null)) {\n      return null;\n    }\n    return (value) => {\n      refs.forEach((ref) => {\n        if (typeof ref === \"function\") {\n          ref(value);\n        } else if (ref != null) {\n          ref.current = value;\n        }\n      });\n    };\n  }, refs);\n}\nfunction useRole(context, props) {\n  if (props === void 0) {\n    props = {};\n  }\n  const {\n    open,\n    floatingId\n  } = context;\n  const {\n    enabled = true,\n    role = \"dialog\"\n  } = props;\n  const referenceId = useId();\n  return React.useMemo(() => {\n    const floatingProps = {\n      id: floatingId,\n      role\n    };\n    if (!enabled) {\n      return {};\n    }\n    if (role === \"tooltip\") {\n      return {\n        reference: {\n          \"aria-describedby\": open ? floatingId : void 0\n        },\n        floating: floatingProps\n      };\n    }\n    return {\n      reference: {\n        \"aria-expanded\": open ? \"true\" : \"false\",\n        \"aria-haspopup\": role === \"alertdialog\" ? \"dialog\" : role,\n        \"aria-controls\": open ? floatingId : void 0,\n        ...role === \"listbox\" && {\n          role: \"combobox\"\n        },\n        ...role === \"menu\" && {\n          id: referenceId\n        }\n      },\n      floating: {\n        ...floatingProps,\n        ...role === \"menu\" && {\n          \"aria-labelledby\": referenceId\n        }\n      }\n    };\n  }, [enabled, role, open, floatingId, referenceId]);\n}\nfunction useFloating(options) {\n  var _options$elements;\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    open = false,\n    onOpenChange: unstable_onOpenChange,\n    nodeId\n  } = options;\n  const [_domReference, setDomReference] = React.useState(null);\n  const domReference = ((_options$elements = options.elements) == null ? void 0 : _options$elements.reference) || _domReference;\n  const position = useFloating$1(options);\n  const tree = useFloatingTree();\n  const onOpenChange = useEvent(unstable_onOpenChange);\n  const domReferenceRef = React.useRef(null);\n  const dataRef = React.useRef({});\n  const events = React.useState(() => createPubSub())[0];\n  const floatingId = useId();\n  const setPositionReference = React.useCallback((node) => {\n    const positionReference = isElement(node) ? {\n      getBoundingClientRect: () => node.getBoundingClientRect(),\n      contextElement: node\n    } : node;\n    position.refs.setReference(positionReference);\n  }, [position.refs]);\n  const setReference = React.useCallback((node) => {\n    if (isElement(node) || node === null) {\n      domReferenceRef.current = node;\n      setDomReference(node);\n    }\n    if (isElement(position.refs.reference.current) || position.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to\n    // `null` to support `positionReference` + an unstable `reference`\n    // callback ref.\n    node !== null && !isElement(node)) {\n      position.refs.setReference(node);\n    }\n  }, [position.refs]);\n  const refs = React.useMemo(() => ({\n    ...position.refs,\n    setReference,\n    setPositionReference,\n    domReference: domReferenceRef\n  }), [position.refs, setReference, setPositionReference]);\n  const elements = React.useMemo(() => ({\n    ...position.elements,\n    domReference\n  }), [position.elements, domReference]);\n  const context = React.useMemo(() => ({\n    ...position,\n    refs,\n    elements,\n    dataRef,\n    nodeId,\n    floatingId,\n    events,\n    open,\n    onOpenChange\n  }), [position, nodeId, floatingId, events, open, onOpenChange, refs, elements]);\n  index(() => {\n    const node = tree == null ? void 0 : tree.nodesRef.current.find((node2) => node2.id === nodeId);\n    if (node) {\n      node.context = context;\n    }\n  });\n  return React.useMemo(() => ({\n    ...position,\n    context,\n    refs,\n    elements\n  }), [position, refs, elements, context]);\n}\nfunction mergeProps(userProps, propsList, elementKey) {\n  const map = /* @__PURE__ */ new Map();\n  return {\n    ...elementKey === \"floating\" && {\n      tabIndex: -1\n    },\n    ...userProps,\n    ...propsList.map((value) => value ? value[elementKey] : null).concat(userProps).reduce((acc, props) => {\n      if (!props) {\n        return acc;\n      }\n      Object.entries(props).forEach((_ref) => {\n        let [key, value] = _ref;\n        if (key.indexOf(\"on\") === 0) {\n          if (!map.has(key)) {\n            map.set(key, []);\n          }\n          if (typeof value === \"function\") {\n            var _map$get;\n            (_map$get = map.get(key)) == null ? void 0 : _map$get.push(value);\n            acc[key] = function() {\n              var _map$get2;\n              for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n                args[_key] = arguments[_key];\n              }\n              return (_map$get2 = map.get(key)) == null ? void 0 : _map$get2.map((fn) => fn(...args)).find((val) => val !== void 0);\n            };\n          }\n        } else {\n          acc[key] = value;\n        }\n      });\n      return acc;\n    }, {})\n  };\n}\nfunction useInteractions(propsList) {\n  if (propsList === void 0) {\n    propsList = [];\n  }\n  const deps = propsList;\n  const getReferenceProps = React.useCallback(\n    (userProps) => mergeProps(userProps, propsList, \"reference\"),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    deps\n  );\n  const getFloatingProps = React.useCallback(\n    (userProps) => mergeProps(userProps, propsList, \"floating\"),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    deps\n  );\n  const getItemProps = React.useCallback(\n    (userProps) => mergeProps(userProps, propsList, \"item\"),\n    // Granularly check for `item` changes, because the `getItemProps` getter\n    // should be as referentially stable as possible since it may be passed as\n    // a prop to many components. All `item` key values must therefore be\n    // memoized.\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    propsList.map((key) => key == null ? void 0 : key.item)\n  );\n  return React.useMemo(() => ({\n    getReferenceProps,\n    getFloatingProps,\n    getItemProps\n  }), [getReferenceProps, getFloatingProps, getItemProps]);\n}\nexport {\n  FloatingArrow,\n  FloatingFocusManager,\n  FloatingPortal,\n  arrow,\n  autoUpdate,\n  computePosition,\n  flip,\n  getOverflowAncestors,\n  offset,\n  platform,\n  useClick,\n  useDismiss,\n  useFloating,\n  useFloatingParentNodeId,\n  useFloatingPortalNode,\n  useFloatingTree,\n  useFocus,\n  useHover,\n  useId,\n  useInteractions,\n  useMergeRefs,\n  useRole\n};\n","import { tv as g } from \"../packages/configs/tailwind-variants/index.js\";\nconst a = g({\n  variants: {\n    stackLayer: {\n      0: {\n        overlay: \"z-mask\",\n        container: \"z-popup\",\n        layout: \"z-popup\"\n      },\n      1: {\n        overlay: \"z-mask-1\",\n        container: \"z-popup-1\",\n        layout: \"z-popup-1\"\n      },\n      2: {\n        overlay: \"z-mask-2\",\n        container: \"z-popup-2\",\n        layout: \"z-popup-2\"\n      },\n      3: {\n        overlay: \"z-mask-3\",\n        container: \"z-popup-3\",\n        layout: \"z-popup-3\"\n      },\n      4: {\n        overlay: \"z-mask-4\",\n        container: \"z-popup-4\",\n        layout: \"z-popup-4\"\n      },\n      5: {\n        overlay: \"z-mask-5\",\n        container: \"z-popup-5\",\n        layout: \"z-popup-5\"\n      }\n    }\n  }\n});\nexport {\n  a as layer\n};\n","import { tv as g } from \"../packages/configs/tailwind-variants/index.js\";\nimport { layer as a } from \"./layer.style.js\";\nconst r = g({\n  slots: {\n    layout: \"fixed inset-0 z-mask flex items-center justify-center\",\n    container: \"z-popup mx-20 mb-[max(env(safe-area-inset-bottom),0px)] w-full max-w-460 overflow-hidden rounded-8 bg-white\",\n    overlay: \"fixed left-0 top-0 z-mask h-screen w-screen touch-none overscroll-none bg-dimmed\"\n  },\n  extend: a\n}), i = {\n  negative: \"negative\",\n  default: \"primary\"\n};\nexport {\n  i as PriorityByTone,\n  r as dialog\n};\n","import { createContext, useContext } from \"react\";\nconst n = createContext(null), S = () => {\n  const t = useContext(n);\n  return t || {\n    state: { stack: [] },\n    dispatch: () => {\n    }\n  };\n};\nexport {\n  S as useRulerStack\n};\n","const e = {\n  FullScreenDialog: \"ruler_full-screen-dialog\",\n  Dialog: \"ruler_dialog\",\n  AlertDialog: \"ruler_alert-dialog\",\n  BottomSheet: \"ruler_bottom-sheet\",\n  SnackBar: \"ruler_snack-bar\"\n};\nexport {\n  e as COMPONENT_ID\n};\n","import { useFloating, useClick, useRole, useDismiss, useInteractions } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { useMemo } from \"react\";\nimport { useRulerStack as S } from \"../../contexts/RulerStackContext.js\";\nimport { COMPONENT_ID as e } from \"../../contexts/constants.js\";\nfunction R({ open: s, onOpenChange: o, overlayEnabled: r = true }) {\n  const e$1 = useFloating({\n    open: s,\n    onOpenChange: o\n  }), i = e$1.context, { state: t } = S(), a = useMemo(() => {\n    var l;\n    const c = (t == null ? void 0 : t.stack) ?? [];\n    return c.length > 0 && ((l = c[c.length - 1]) == null ? void 0 : l.id) === e.Dialog ? r : false;\n  }, [t, r]), m = useClick(i), d = useRole(i, { role: \"dialog\" }), f = useDismiss(i, {\n    outsidePressEvent: \"mousedown\",\n    enabled: a\n  }), n = useInteractions([m, f, d]);\n  return useMemo(\n    () => ({\n      open: s,\n      setOpen: o,\n      ...n,\n      ...e$1\n    }),\n    [s, o, n, e$1]\n  );\n}\nexport {\n  R as useDialog\n};\n","import { tv as g, cn as a } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { dialog as r } from \"../../styles/dialog.style.js\";\nconst l = g({\n  slots: {\n    title: \"whitespace-pre-wrap break-words pb-8 text-left text-title-m-bold\",\n    container: a(r.slots.container, \"relative w-full px-20 py-24\"),\n    description: \"whitespace-pre-wrap pb-16 text-left text-xxl\",\n    buttonContainer: \"flex flex-1 items-center justify-between gap-8 pt-16\",\n    button: \"h-52 flex-1 rounded-b-0 rounded-t-0 border-0\",\n    closeButton: \"absolute right-10 top-12 p-10\"\n  },\n  variants: {\n    dismissable: {\n      true: {\n        title: \"pr-50\",\n        description: \"pr-50\"\n      }\n    }\n  },\n  extend: r\n});\nexport {\n  l as style\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { FloatingPortal, FloatingFocusManager } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { forwardRef } from \"react\";\nimport { PriorityByTone as i } from \"../../styles/dialog.style.js\";\nimport { useDialog as R } from \"./Dialog.hooks.js\";\nimport { style as l } from \"./Dialog.style.js\";\nimport { Button as H } from \"../Button/Button.js\";\nimport { Icon as v } from \"../Icon/Icon.js\";\nimport { TextButton as R$1 } from \"../TextButton/TextButton.js\";\nconst L = forwardRef(function(l$1, d) {\n  const {\n    id: x,\n    title: r,\n    description: a,\n    dismissable: c = true,\n    primaryAction: t,\n    secondaryAction: o,\n    tertiaryAction: s,\n    onOpenChange: u,\n    tone: j = \"default\",\n    className: p,\n    containerClassName: f,\n    stackLayer: y = 0\n  } = l$1, n = R(l$1), e = l({ dismissable: c, stackLayer: y });\n  return n.open ? /* @__PURE__ */ m.jsxs(FloatingPortal, { id: x, children: [\n    /* @__PURE__ */ m.jsx(\"div\", { className: e.overlay() }),\n    /* @__PURE__ */ m.jsx(FloatingFocusManager, { context: n.context, children: /* @__PURE__ */ m.jsx(\"div\", { className: e.layout({ className: p }), children: /* @__PURE__ */ m.jsxs(\n      \"div\",\n      {\n        ref: d,\n        className: e.container({ className: f }),\n        ...n.getFloatingProps(),\n        children: [\n          c && /* @__PURE__ */ m.jsx(\"button\", { className: e.closeButton(), onClick: () => u(false), children: /* @__PURE__ */ m.jsx(v, { icon: \"CloseRegularIcon\", size: \"large\" }) }),\n          r && /* @__PURE__ */ m.jsx(\"h2\", { className: e.title(), children: r }),\n          a && /* @__PURE__ */ m.jsx(\"p\", { className: e.description(), children: a }),\n          /* @__PURE__ */ m.jsx(\"div\", { children: l$1.children }),\n          /* @__PURE__ */ m.jsxs(\"div\", { className: e.buttonContainer(), children: [\n            /* @__PURE__ */ m.jsx(\"div\", { children: s && /* @__PURE__ */ m.jsx(\n              R$1,\n              {\n                priority: \"tertiary\",\n                size: \"small\",\n                onClick: s.onClick,\n                label: s.label\n              }\n            ) }),\n            /* @__PURE__ */ m.jsxs(\"div\", { className: \"flex justify-end gap-8\", children: [\n              o && /* @__PURE__ */ m.jsx(\n                H,\n                {\n                  ...o,\n                  priority: \"secondary\",\n                  size: \"medium\",\n                  onClick: o.onClick,\n                  label: o.label\n                }\n              ),\n              /* @__PURE__ */ m.jsx(\n                H,\n                {\n                  ...t,\n                  priority: i[j],\n                  size: \"medium\",\n                  onClick: t.onClick,\n                  label: t.label\n                }\n              )\n            ] })\n          ] })\n        ]\n      }\n    ) }) })\n  ] }) : null;\n});\nexport {\n  L as Dialog\n};\n","import \"react/jsx-runtime\";\nimport { plus } from \"../../@shared/Icon/assets/plus.js\";\nimport { heart } from \"../../@shared/Icon/assets/heart.js\";\nimport { bell } from \"../../@shared/Icon/assets/bell.js\";\nimport { gift } from \"../../@shared/Icon/assets/gift.js\";\nimport { share } from \"../../@shared/Icon/assets/share.js\";\nimport { scrap } from \"../../@shared/Icon/assets/scrap.js\";\nimport { lock } from \"../../@shared/Icon/assets/lock.js\";\nimport { lockOff } from \"../../@shared/Icon/assets/lockOff.js\";\nconst UNSET_COLOR = {\n  backgroundColor: \"#000000\",\n  color: \"#FFFFFF\"\n};\nconst prefixIconAssets = {\n  plus,\n  scrap,\n  lock,\n  lockOff,\n  heart,\n  bell,\n  gift,\n  share\n};\nconst BADGE_PREFIX_ICON_OPTIONS = Object.keys(prefixIconAssets);\nexport {\n  BADGE_PREFIX_ICON_OPTIONS,\n  UNSET_COLOR\n};\n","const getBadgeBackgroundColor = (backgroundColor, isBlur) => {\n  if (typeof backgroundColor === \"string\") {\n    return backgroundColor;\n  }\n  if (isBlur) {\n    return backgroundColor.hasBlur;\n  }\n  return backgroundColor.default;\n};\nconst getBadgeTextColor = (color, isBlur) => {\n  if (typeof color === \"string\") {\n    return color;\n  }\n  if (isBlur) {\n    return color.hasBlur;\n  }\n  return color.default;\n};\nexport {\n  getBadgeBackgroundColor,\n  getBadgeTextColor\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Icon } from \"../../@shared/Icon/Icon.js\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { UNSET_COLOR } from \"./Badge.constants.js\";\nimport { getBadgeBackgroundColor, getBadgeTextColor } from \"./Badge.utils.js\";\nconst Badge = forwardRef(({\n  variant = \"system\",\n  priority = \"primary\",\n  tone = \"default\",\n  size = \"small\",\n  isWhite = false,\n  isBlur = false,\n  prefixIcon,\n  label = \"Label\",\n  customBackgroundColor = \"#000000\",\n  customTextColor = \"#FFFFFF\",\n  style,\n  ...rest\n}, ref) => {\n  var _a;\n  const theme = isWhite ? \"light\" : \"dark\";\n  const customizedBadgeColor = {\n    backgroundColor: customBackgroundColor,\n    color: customTextColor\n  };\n  const configuredBadgeColors = ((_a = badgeStyleByVariant[priority][tone]) == null ? void 0 : _a[theme]) ?? UNSET_COLOR;\n  const {\n    backgroundColor,\n    color\n  } = variant === \"custom\" ? customizedBadgeColor : configuredBadgeColors;\n  const badgeBackgroundColor = getBadgeBackgroundColor(backgroundColor, isBlur);\n  const badgeTextColor = getBadgeTextColor(color, isBlur);\n  const badgePadding = prefixIcon ? badgeStyleBySize[size].padding.withPrefixIcon : badgeStyleBySize[size].padding.default;\n  const badgeStyle = {\n    ...baseBadgeStyle,\n    ...badgeStyleBySize[size],\n    padding: badgePadding,\n    backgroundColor: badgeBackgroundColor,\n    color: badgeTextColor\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...badgeStyle,\n    ...style\n  }, ref, ...rest, children: [\n    prefixIcon ? /* @__PURE__ */ jsx(Icon, { type: prefixIcon, fill: true, size: iconSizeByBadgeSize[size], color: badgeTextColor, weight: \"bold\" }) : null,\n    /* @__PURE__ */ jsx(\"span\", { children: label })\n  ] });\n});\nconst baseBadgeStyle = {\n  display: \"flex\",\n  gap: \"2px\",\n  justifyContent: \"center\",\n  alignItems: \"center\",\n  borderRadius: \"2px\",\n  whiteSpace: \"nowrap\"\n};\nconst badgeStyleBySize = {\n  medium: {\n    ...typography(12, 500, \"16.32px\"),\n    padding: {\n      default: \"4px 8px\",\n      withPrefixIcon: \"4px 8px 4px 6px\"\n    }\n  },\n  small: {\n    ...typography(10, 500, \"12px\"),\n    padding: {\n      default: \"2px 6px\",\n      withPrefixIcon: \"2px 6px 2px 4px\"\n    }\n  }\n};\nconst badgeStyleByVariant = {\n  primary: {\n    default: {\n      light: {\n        backgroundColor: \"#FFFFFF\",\n        color: \"#000000\"\n      },\n      dark: {\n        backgroundColor: \"#000000\",\n        color: \"#FFFFFF\"\n      }\n    },\n    information: {\n      dark: {\n        backgroundColor: \"#375FFF\",\n        color: \"#FFFFFF\"\n      }\n    },\n    positive: {\n      dark: {\n        backgroundColor: \"#12BA23\",\n        color: \"#FFFFFF\"\n      }\n    },\n    negative: {\n      dark: {\n        backgroundColor: \"#D53F00\",\n        color: \"#FFFFFF\"\n      }\n    }\n  },\n  secondary: {\n    default: {\n      dark: {\n        backgroundColor: {\n          default: \"#F4F4F4\",\n          hasBlur: \"#5D5D5D80\"\n        },\n        color: {\n          default: \"#474747\",\n          hasBlur: \"#FFFFFF\"\n        }\n      }\n    },\n    information: {\n      dark: {\n        backgroundColor: \"#345FFF14\",\n        color: \"#375FFF\"\n      }\n    },\n    positive: {\n      dark: {\n        backgroundColor: \"#16BA2214\",\n        color: \"#12BA23\"\n      }\n    },\n    negative: {\n      dark: {\n        backgroundColor: \"#FF480014\",\n        color: \"#D53F00\"\n      }\n    }\n  },\n  tertiary: {\n    default: {\n      dark: {\n        backgroundColor: \"#F4F4F4\",\n        color: \"#A0A0A0\"\n      }\n    }\n  }\n};\nconst iconSizeByBadgeSize = {\n  medium: 12,\n  small: 10\n};\nexport {\n  Badge\n};\n","const getImageUrl = (pathname) => {\n  return pathname.includes(\"https://\") ? pathname : `https://img.29cm.co.kr/${trimLeftSlash(pathname)}`;\n};\nconst trimLeftSlash = (str = \"\") => `${str}`.replace(/^\\/+/g, \"\").replace(/\\/+$/g, \"/\");\nexport {\n  getImageUrl\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useContentStore } from \"../../../../hooks/stores/content/content.store.js\";\nimport { getImageUrl } from \"../../../../utils/image/getImageUrl.js\";\nimport { colors } from \"../../../../styles/colors.js\";\nconst FALLBACK_IMAGE_URL = \"https://img.29cm.co.kr/mall/og_image.png\";\nconst PreviewCard = () => {\n  var _a, _b;\n  const summary = useContentStore((state) => state.summary);\n  const posterImageUrl = ((_a = summary.mobilePoster) == null ? void 0 : _a.src) ?? FALLBACK_IMAGE_URL;\n  return /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsx(\"div\", { style: glowStyle }),\n    /* @__PURE__ */ jsxs(\"div\", { style: previewRowStyle, children: [\n      /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"64\", height: \"62\", viewBox: \"0 0 64 62\", fill: \"none\", style: leftIconStyle, children: [\n        /* @__PURE__ */ jsx(\"path\", { d: \"M6.10352e-05 22.8113C6.10352e-05 10.213 10.0498 0 22.4469 0H41.5532C53.9503 0 64.0001 10.213 64.0001 22.8113C64.0001 35.4097 53.9503 45.6226 41.5532 45.6226H22.4469C10.0498 45.6226 6.10352e-05 35.4097 6.10352e-05 22.8113Z\", fill: \"white\" }),\n        /* @__PURE__ */ jsx(\"path\", { d: \"M28.3154 47.2311C28.3154 50.7038 25.5452 53.5189 22.1281 53.5189C18.711 53.5189 15.9408 50.7038 15.9408 47.2311C15.9408 43.7585 18.711 40.9434 22.1281 40.9434C25.5452 40.9434 28.3154 43.7585 28.3154 47.2311Z\", fill: \"white\" }),\n        /* @__PURE__ */ jsx(\"path\", { d: \"M18.5308 58.783C18.5308 60.5597 16.9847 62 15.0775 62C13.1703 62 11.6241 60.5597 11.6241 58.783C11.6241 57.0063 13.1703 55.566 15.0775 55.566C16.9847 55.566 18.5308 57.0063 18.5308 58.783Z\", fill: \"white\" }),\n        /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M24.7574 14.1931C24.445 14.3179 24 14.4802 23.6983 14.5874C22.9806 14.8425 21.4704 16.1255 20.891 16.9726C20.1887 17.9993 19.7639 20.9275 20.1404 22.1455C20.258 22.526 20.4007 23.0556 20.4576 23.3225C20.8205 25.0274 24.8236 29.523 27.7213 31.4797C28.1094 31.7416 28.5885 32.0883 28.786 32.2501C29.4563 32.7987 31.6588 34 31.9943 34C32.3299 34 34.5324 32.7987 35.2026 32.2501C35.4002 32.0883 35.8829 31.743 36.2753 31.4826C36.6678 31.2223 37.1265 30.87 37.2946 30.6997C37.4628 30.5294 37.9215 30.1786 38.3139 29.9202C39.3333 29 39.3333 29 39.9505 28.3701C40.2265 27.9964 40.7739 27.3726 41.1669 26.9841C44.5349 23.6539 44.9662 18.5398 42.1047 15.865C41.1074 14.933 40.8677 14.7844 39.7087 14.381C36.9891 13.4344 34.5854 14.2502 32.453 16.8436L31.9943 17.4014L31.5357 16.8436C30.9689 16.1543 30.169 15.3488 29.7168 15.012C28.6584 14.2238 25.8441 13.759 24.7574 14.1931Z\", fill: colors.red500 })\n      ] }),\n      /* @__PURE__ */ jsx(\"div\", { style: thumbnailFrameStyle, children: /* @__PURE__ */ jsx(\"img\", { style: thumbnailImageStyle, src: getImageUrl(posterImageUrl), alt: ((_b = summary.mobilePoster) == null ? void 0 : _b.alt) ?? \"콘텐츠 썸네일 이미지\" }) })\n    ] }),\n    /* @__PURE__ */ jsxs(\"div\", { style: bubbleRowStyle, children: [\n      /* @__PURE__ */ jsx(\"div\", { style: bubbleTextStyle, children: \"요즘 눈여겨보고 있는 콘텐츠예요.\" }),\n      /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"15\", height: \"15\", viewBox: \"0 0 15 15\", fill: \"none\", style: bubbleTailStyle, children: /* @__PURE__ */ jsx(\"path\", { d: \"M10.4545 9.26471C10.9104 11.9193 13.4848 14.4118 15 15C9.18182 15 5.45455 13.0882 4.54545 11.9118L0 13.2353L0.454545 0H10V1.76471V3.52941V3.97059C10 4.85294 10 6.61765 10.4545 9.26471Z\", fill: \"white\" }) })\n    ] })\n  ] });\n};\nconst containerStyle = {\n  position: \"relative\",\n  display: \"flex\",\n  flexDirection: \"column\",\n  alignItems: \"center\",\n  gap: 10,\n  overflow: \"hidden\",\n  borderRadius: 20,\n  border: `1px solid ${colors.borderDivider}`,\n  backgroundColor: colors.gray100,\n  paddingLeft: 12,\n  paddingRight: 12,\n  paddingBottom: 12,\n  paddingTop: 11,\n  backdropFilter: \"blur(8px)\"\n};\nconst glowStyle = {\n  position: \"absolute\",\n  left: 0,\n  top: 0,\n  height: 270,\n  width: \"100%\",\n  borderRadius: 9999,\n  backgroundColor: colors.blue100,\n  filter: \"blur(60px)\",\n  zIndex: 0\n};\nconst previewRowStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  zIndex: 1\n};\nconst leftIconStyle = {\n  marginRight: -20,\n  zIndex: 10\n};\nconst thumbnailFrameStyle = {\n  width: 124,\n  height: 124,\n  transform: \"rotate(4deg)\",\n  borderRadius: 16,\n  border: `1px solid ${colors.borderDivider}`,\n  backgroundColor: colors.gray00Alpha90,\n  padding: 4,\n  boxSizing: \"border-box\",\n  zIndex: 1\n};\nconst thumbnailImageStyle = {\n  width: \"100%\",\n  height: \"100%\",\n  borderRadius: 16,\n  objectFit: \"cover\",\n  display: \"block\"\n};\nconst bubbleRowStyle = {\n  display: \"flex\",\n  alignItems: \"flex-end\",\n  width: \"100%\",\n  zIndex: 1\n};\nconst bubbleTextStyle = {\n  marginRight: -10,\n  width: \"100%\",\n  borderRadius: 12,\n  backgroundColor: colors.gray00,\n  paddingLeft: 14,\n  paddingRight: 14,\n  paddingTop: 8,\n  paddingBottom: 9,\n  textAlign: \"center\",\n  fontSize: 13,\n  fontWeight: 400,\n  color: \"#474747\",\n  opacity: 0.9,\n  boxSizing: \"border-box\"\n};\nconst bubbleTailStyle = {\n  opacity: 0.9,\n  flexShrink: 0\n};\nexport {\n  PreviewCard\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport \"react\";\nimport \"framer\";\nimport { colors } from \"../../../../styles/colors.js\";\nconst RadioIndicator = ({\n  selected\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    display: \"flex\",\n    width: 22,\n    height: 22,\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    borderRadius: \"9999px\",\n    borderWidth: 2,\n    borderStyle: \"solid\",\n    borderColor: selected ? colors.gray950 : colors.gray300,\n    backgroundColor: selected ? colors.gray950 : \"transparent\"\n  }, \"aria-hidden\": \"true\", children: selected ? /* @__PURE__ */ jsx(\"div\", { style: {\n    width: 10,\n    height: 10,\n    borderRadius: \"9999px\",\n    backgroundColor: colors.gray00\n  } }) : null });\n};\nexport {\n  RadioIndicator\n};\n","import ReactDOM__default from \"react-dom\";\nconst Portal = ({\n  children\n}) => {\n  return ReactDOM__default.createPortal(children, document.body);\n};\nexport {\n  Portal\n};\n","import { useEffect } from \"react\";\nconst usePreventBodyScroll = (open) => {\n  const {\n    body\n  } = document;\n  const {\n    pageYOffset\n  } = window;\n  useEffect(() => {\n    if (!open) {\n      return;\n    }\n    body.style.position = \"fixed\";\n    body.style.top = `-${pageYOffset}px`;\n    body.style.left = \"0\";\n    body.style.right = \"0\";\n    return () => {\n      body.style.removeProperty(\"position\");\n      body.style.removeProperty(\"top\");\n      body.style.removeProperty(\"left\");\n      body.style.removeProperty(\"right\");\n      window.scrollTo(0, pageYOffset);\n    };\n  }, [open]);\n};\nexport {\n  usePreventBodyScroll\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Portal } from \"../../@shared/Portal/Portal.js\";\nimport { usePreventBodyScroll } from \"./Dialog.hooks.js\";\nimport styles from \"./Dialog.module.css.js\";\nimport { motion } from \"framer-motion\";\nconst Dialog = ({\n  open,\n  title,\n  content,\n  primaryButtonText = \"확인\",\n  secondaryButtonText,\n  responsiveFullSize = false,\n  hideButtons = false,\n  onPrimaryButtonClick,\n  onSecondaryButtonClick,\n  onClose\n}) => {\n  usePreventBodyScroll(open);\n  if (!open) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(\"div\", { className: styles.container, children: /* @__PURE__ */ jsxs(\"div\", { className: styles.wrapper, children: [\n    /* @__PURE__ */ jsx(motion.div, { className: styles.overlay, onTap: onClose }),\n    /* @__PURE__ */ jsxs(\"div\", { className: styles.frame, \"data-responsive-full-size\": responsiveFullSize, children: [\n      /* @__PURE__ */ jsxs(\"div\", { className: styles.body, \"data-responsive-full-size\": responsiveFullSize, children: [\n        title ? /* @__PURE__ */ jsx(\"div\", { className: styles.title, children: title }) : null,\n        /* @__PURE__ */ jsx(\"div\", { className: styles.content, children: content })\n      ] }),\n      hideButtons ? null : /* @__PURE__ */ jsxs(\"div\", { className: styles.buttonArea, children: [\n        secondaryButtonText ? /* @__PURE__ */ jsx(\"button\", { className: `${styles.button} ${styles.secondary}`, type: \"button\", onClick: onSecondaryButtonClick, children: secondaryButtonText }) : null,\n        /* @__PURE__ */ jsx(\"button\", { className: `${styles.button} ${styles.primary}`, type: \"button\", onClick: onPrimaryButtonClick, children: primaryButtonText })\n      ] })\n    ] })\n  ] }) }) });\n};\nexport {\n  Dialog\n};\n","var define_import_meta_env_default = { BASE_URL: \"/\", MODE: \"production\", DEV: false, PROD: true, SSR: false };\nfunction shallow$1(objA, objB) {\n  if (Object.is(objA, objB)) {\n    return true;\n  }\n  if (typeof objA !== \"object\" || objA === null || typeof objB !== \"object\" || objB === null) {\n    return false;\n  }\n  if (objA instanceof Map && objB instanceof Map) {\n    if (objA.size !== objB.size)\n      return false;\n    for (const [key, value] of objA) {\n      if (!Object.is(value, objB.get(key))) {\n        return false;\n      }\n    }\n    return true;\n  }\n  if (objA instanceof Set && objB instanceof Set) {\n    if (objA.size !== objB.size)\n      return false;\n    for (const value of objA) {\n      if (!objB.has(value)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  const keysA = Object.keys(objA);\n  if (keysA.length !== Object.keys(objB).length) {\n    return false;\n  }\n  for (let i = 0; i < keysA.length; i++) {\n    if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !Object.is(objA[keysA[i]], objB[keysA[i]])) {\n      return false;\n    }\n  }\n  return true;\n}\nvar shallow = (objA, objB) => {\n  if ((define_import_meta_env_default ? \"production\" : void 0) !== \"production\") {\n    console.warn(\n      \"[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`.\"\n    );\n  }\n  return shallow$1(objA, objB);\n};\nexport {\n  shallow as default,\n  shallow$1 as shallow\n};\n","import { useEffect } from \"react\";\nimport { useDialogStore } from \"../../hooks/stores/dialog/dialog.store.js\";\nimport shallow from \"../../node_modules/zustand/esm/shallow.js\";\nimport { emitter, Events } from \"./DialogContainer.emitter.js\";\nconst useDialogEventEmitter = () => {\n  const [dispatchInit, dispatchShow, dispatchHide, dispatchRemove] = useDialogStore((state) => [state.dispatchInit, state.dispatchShow, state.dispatchHide, state.dispatchRemove], shallow);\n  useEffect(() => {\n    emitter.on(Events.SHOW, (dialog) => {\n      dispatchInit(dialog);\n      dispatchShow(dialog.id);\n    });\n    emitter.on(Events.HIDE, (id) => {\n      dispatchHide(id);\n      dispatchRemove(id);\n    });\n    return () => {\n      emitter.off();\n    };\n  }, []);\n};\nconst toDialogEventEmitterParams = ({\n  id,\n  ...restProps\n}) => {\n  return {\n    ...restProps,\n    id: id ?? Math.random().toString(36).substr(2, 10),\n    open: false\n  };\n};\nexport {\n  toDialogEventEmitterParams,\n  useDialogEventEmitter\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useDialogStore } from \"../../hooks/stores/dialog/dialog.store.js\";\nimport { Dialog } from \"../../components/systems/Dialog/Dialog.js\";\nimport { emitter, Events } from \"./DialogContainer.emitter.js\";\nimport { useDialogEventEmitter, toDialogEventEmitterParams } from \"./DialogContainer.hooks.js\";\nconst DialogContainer = () => {\n  const dialogs = useDialogStore((state) => state.dialogs);\n  useDialogEventEmitter();\n  return dialogs.map(({\n    id,\n    ...rest\n  }) => /* @__PURE__ */ jsx(Dialog, { ...rest }, id));\n};\nconst dialog = {\n  /**\n   * @deprecated '~containers/AlertDialogContainer'의 alertDialog.show()를 대신 사용하세요\n   */\n  show(params) {\n    emitter.emit(Events.SHOW, toDialogEventEmitterParams(params));\n  },\n  /**\n   * @deprecated '~containers/AlertDialogContainer'의 alertDialog.hide()를 대신 사용하세요\n   */\n  hide(id) {\n    emitter.emit(Events.HIDE, id);\n  }\n};\nexport {\n  DialogContainer,\n  dialog\n};\n","import { isWebview } from \"./device.js\";\nconst sendAppSchemeMessage = (key, message) => {\n  var _a;\n  if (!isWebview()) {\n    return;\n  }\n  let url = \"app29cm://webappif/\";\n  if (key) {\n    url += key;\n  }\n  if (message) {\n    url += `?${message}`;\n  }\n  let iframe = document.createElement(\"iframe\");\n  iframe.setAttribute(\"src\", url);\n  document.documentElement.appendChild(iframe);\n  (_a = iframe.parentNode) == null ? void 0 : _a.removeChild(iframe);\n  iframe = null;\n};\nexport {\n  sendAppSchemeMessage\n};\n","import { dialog } from \"../containers/DialogContainer/DialogContainer.js\";\nimport { isTabView } from \"../utils/custom-tab/isTabView.js\";\nimport { sendAppSchemeMessage } from \"../utils/sendAppSchemeMessage.js\";\nconst useDialog = () => {\n  const show = (params) => {\n    const {\n      id = Math.random().toString(36).substr(2, 10),\n      needInAppLayer = true,\n      closeOnPrimaryButtonClick = true,\n      closeOnSecondaryButtonClick = true\n    } = params;\n    if (needInAppLayer && !isTabView()) {\n      sendAppSchemeMessage(\"layerDidOpen\");\n    }\n    dialog.show({\n      ...params,\n      id,\n      onClose: () => {\n        var _a;\n        (_a = params.onClose) == null ? void 0 : _a.call(params);\n        hide(id, needInAppLayer);\n      },\n      onPrimaryButtonClick: () => {\n        var _a;\n        (_a = params.onPrimaryButtonClick) == null ? void 0 : _a.call(params);\n        if (closeOnPrimaryButtonClick) {\n          hide(id, needInAppLayer);\n        }\n      },\n      onSecondaryButtonClick: () => {\n        var _a;\n        (_a = params.onSecondaryButtonClick) == null ? void 0 : _a.call(params);\n        if (closeOnSecondaryButtonClick) {\n          hide(id, needInAppLayer);\n        }\n      }\n    });\n    return id;\n  };\n  const hide = (id, needInAppLayerClose = true) => {\n    dialog.hide(id);\n    if (needInAppLayerClose && !isTabView()) {\n      sendAppSchemeMessage(\"layerDidClose\");\n    }\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  useDialog\n};\n","import { useToastStore } from \"./stores/toast/toast.store.js\";\nconst useToast = () => {\n  const {\n    toast\n  } = useToastStore();\n  const show = ({\n    disableAutoClose = false,\n    ...otherProps\n  }) => {\n    setTimeout(() => {\n      toast.show(otherProps);\n    });\n    if (!disableAutoClose) {\n      setTimeout(toast.hide, 2500);\n    }\n  };\n  const hide = () => {\n    toast.hide();\n  };\n  return {\n    show,\n    hide\n  };\n};\nexport {\n  useToast\n};\n","import { env } from \"../../config/index.js\";\nconst createLegacyOneLink = (params) => {\n  const body = {\n    domain: \"content\",\n    ...params\n  };\n  const options = {\n    method: \"POST\",\n    headers: {\n      \"Content-Type\": \"application/json\",\n      \"accept\": \"application/json\"\n    },\n    body: JSON.stringify(body)\n  };\n  return fetch(`${env.workspace.content}/api/onelink`, options).then((res) => res.json());\n};\nconst createOneLink = (params) => {\n  const options = {\n    method: \"POST\",\n    headers: {\n      \"Content-Type\": \"application/json\",\n      \"accept\": \"application/json\"\n    },\n    body: JSON.stringify(params),\n    credentials: \"include\"\n  };\n  return fetch(`${env.workspace.home}/api/onelink`, options).then((res) => res.json());\n};\nconst onelinkApi = {\n  createLegacyOneLink,\n  createOneLink\n};\nexport {\n  onelinkApi\n};\n","import { postMessage } from \"../postMessage.js\";\nconst appShare = (data) => {\n  const nativeShareParams = {\n    link: data.url,\n    message: data.title ?? data.text\n  };\n  postMessage(\"shareInternalLink\", nativeShareParams);\n};\nexport {\n  appShare\n};\n","var toggleSelection = function() {\n  var selection = document.getSelection();\n  if (!selection.rangeCount) {\n    return function() {\n    };\n  }\n  var active = document.activeElement;\n  var ranges = [];\n  for (var i = 0; i < selection.rangeCount; i++) {\n    ranges.push(selection.getRangeAt(i));\n  }\n  switch (active.tagName.toUpperCase()) {\n    case \"INPUT\":\n    case \"TEXTAREA\":\n      active.blur();\n      break;\n    default:\n      active = null;\n      break;\n  }\n  selection.removeAllRanges();\n  return function() {\n    selection.type === \"Caret\" && selection.removeAllRanges();\n    if (!selection.rangeCount) {\n      ranges.forEach(function(range) {\n        selection.addRange(range);\n      });\n    }\n    active && active.focus();\n  };\n};\nexport {\n  toggleSelection as t\n};\n","import { getDefaultExportFromCjs } from \"../../_virtual/_commonjsHelpers.js\";\nimport { t as toggleSelection } from \"../toggle-selection/index.js\";\nvar deselectCurrent = toggleSelection;\nvar clipboardToIE11Formatting = {\n  \"text/plain\": \"Text\",\n  \"text/html\": \"Url\",\n  \"default\": \"Text\"\n};\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\nfunction format(message) {\n  var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n  return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\nfunction copy(text, options) {\n  var debug, message, reselectPrevious, range, selection, mark, success = false;\n  if (!options) {\n    options = {};\n  }\n  debug = options.debug || false;\n  try {\n    reselectPrevious = deselectCurrent();\n    range = document.createRange();\n    selection = document.getSelection();\n    mark = document.createElement(\"span\");\n    mark.textContent = text;\n    mark.ariaHidden = \"true\";\n    mark.style.all = \"unset\";\n    mark.style.position = \"fixed\";\n    mark.style.top = 0;\n    mark.style.clip = \"rect(0, 0, 0, 0)\";\n    mark.style.whiteSpace = \"pre\";\n    mark.style.webkitUserSelect = \"text\";\n    mark.style.MozUserSelect = \"text\";\n    mark.style.msUserSelect = \"text\";\n    mark.style.userSelect = \"text\";\n    mark.addEventListener(\"copy\", function(e) {\n      e.stopPropagation();\n      if (options.format) {\n        e.preventDefault();\n        if (typeof e.clipboardData === \"undefined\") {\n          debug && console.warn(\"unable to use e.clipboardData\");\n          debug && console.warn(\"trying IE specific stuff\");\n          window.clipboardData.clearData();\n          var format2 = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"];\n          window.clipboardData.setData(format2, text);\n        } else {\n          e.clipboardData.clearData();\n          e.clipboardData.setData(options.format, text);\n        }\n      }\n      if (options.onCopy) {\n        e.preventDefault();\n        options.onCopy(e.clipboardData);\n      }\n    });\n    document.body.appendChild(mark);\n    range.selectNodeContents(mark);\n    selection.addRange(range);\n    var successful = document.execCommand(\"copy\");\n    if (!successful) {\n      throw new Error(\"copy command was unsuccessful\");\n    }\n    success = true;\n  } catch (err) {\n    debug && console.error(\"unable to copy using execCommand: \", err);\n    debug && console.warn(\"trying IE specific stuff\");\n    try {\n      window.clipboardData.setData(options.format || \"text\", text);\n      options.onCopy && options.onCopy(window.clipboardData);\n      success = true;\n    } catch (err2) {\n      debug && console.error(\"unable to copy using clipboardData: \", err2);\n      debug && console.error(\"falling back to prompt\");\n      message = format(\"message\" in options ? options.message : defaultMessage);\n      window.prompt(message, text);\n    }\n  } finally {\n    if (selection) {\n      if (typeof selection.removeRange == \"function\") {\n        selection.removeRange(range);\n      } else {\n        selection.removeAllRanges();\n      }\n    }\n    if (mark) {\n      document.body.removeChild(mark);\n    }\n    reselectPrevious();\n  }\n  return success;\n}\nvar copyToClipboard = copy;\nconst copy$1 = /* @__PURE__ */ getDefaultExportFromCjs(copyToClipboard);\nexport {\n  copy$1 as default\n};\n","import copy from \"../../node_modules/copy-to-clipboard/index.js\";\nimport { isMobile } from \"../device.js\";\nconst webShare = (data, onSuccess) => {\n  if (isMobile() && window.navigator.share) {\n    window.navigator.share(data);\n    return;\n  }\n  copy(data.url);\n  onSuccess == null ? void 0 : onSuccess();\n};\nexport {\n  webShare\n};\n","import { isAvailableBuildNumber } from \"../device.js\";\nconst IOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER = 758;\nconst AOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER = 536;\nconst isShareInternalLinkAvailable = () => {\n  return isAvailableBuildNumber(AOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER, IOS_INTERNAL_LINK_AVAILABLE_BUILD_NUMBER);\n};\nexport {\n  isShareInternalLinkAvailable\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { tasteSharingApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst REWARD_KEY_FETCHER_KEY = \"reward-key\";\nconst useFetchRewardKey = ({\n  enabled,\n  rewardProgramKey\n}) => {\n  var _a, _b;\n  const response = useSWR(enabled && rewardProgramKey ? [REWARD_KEY_FETCHER_KEY, rewardProgramKey] : null, () => tasteSharingApi.createRewardKey({\n    rewardProgramKey\n  }), {\n    onError: (error) => {\n      console.error(\"[useFetchRewardKey] Failed to fetch reward key:\", error);\n    }\n  });\n  return {\n    ...response,\n    rewardKey: (_b = (_a = response.data) == null ? void 0 : _a.data) == null ? void 0 : _b.rewardKey,\n    isLoading: response.isLoading || !enabled\n  };\n};\nexport {\n  useFetchRewardKey\n};\n","const isKakaoInstanceAvailable = () => {\n  const kakaoInstance = getKakaoInstance();\n  return kakaoInstance !== void 0;\n};\nconst getKakaoInstance = () => {\n  return window.Kakao;\n};\nexport {\n  getKakaoInstance,\n  isKakaoInstanceAvailable\n};\n","const LOG_CLICK_EVENT = {\n  CLICK_CONTENT: \"click_content\",\n  CLICK_BRAND: \"click_brand\",\n  CLICK_DOWNLOAD_COUPON: \"click_download_coupon\",\n  CLICK_ITEM: \"click_item\",\n  CLICK_ITEM_CONTENT: \"click_item_content\",\n  CLICK_TAG_CONTENT: \"click_tag_content\",\n  CLICK_BUTTON_CONTENT: \"click_button_content\",\n  CLICK_BUTTON: \"click_button\",\n  CLICK_BANNER: \"click_banner\",\n  CLICK_AD_INFO_AGREE: \"click_ad_info_agree\"\n};\nconst LOG_LIKE_EVENT = {\n  LIKE_ITEM: \"like_item\",\n  UNLIKE_ITEM: \"unlike_item\"\n};\nconst LOG_IMP_EVENT = {\n  IMPRESSION_ITEM: \"impression_item\",\n  IMPRESSION_CONTENT: \"impression_content\",\n  IMPRESSION_ITEMSET: \"impression_itemset\",\n  IMPRESSION_POPUP: \"impression_popup\"\n};\nconst LOG_VIEW_EVENT = {\n  VIEW_CONTENT: \"view_content\",\n  VIEW_BANNER: \"view_banner\",\n  VIEW_PAGE: \"view_page\",\n  VIEW_AD_INFO_AGREE: \"view_ad_info_agree\",\n  VIEW_ATTRIBUTION: \"view_attribution\"\n};\nexport {\n  LOG_CLICK_EVENT,\n  LOG_IMP_EVENT,\n  LOG_LIKE_EVENT,\n  LOG_VIEW_EVENT\n};\n","import { env } from \"../../config/index.js\";\nimport { LOG_VIEW_EVENT, LOG_CLICK_EVENT, LOG_IMP_EVENT, LOG_LIKE_EVENT } from \"../eventName.js\";\nconst SNOWPLOW_SCHEMA_BY_ENV = {\n  development: {\n    [LOG_VIEW_EVENT.VIEW_PAGE]: \"iglu:com.29cm/view_page/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BRAND]: \"iglu:com.29cm/click_brand/jsonschema/3-0-0\",\n    [LOG_CLICK_EVENT.CLICK_DOWNLOAD_COUPON]: \"iglu:com.29cm/click_download_coupon/jsonschema/1-0-1\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEM]: \"iglu:com.29cm/impression_item/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_CONTENT]: \"iglu:com.29cm/impression_content/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEMSET]: \"iglu:com.29cm/impression_itemset/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_ITEM]: \"iglu:com.29cm/click_item/jsonschema/2-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_POPUP]: \"iglu:com.29cm/impression_popup/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_TAG_CONTENT]: \"iglu:com.29cm/click_tag_content/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON_CONTENT]: \"iglu:com.29cm/click_button_content/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON]: \"iglu:com.29cm/click_button/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BANNER]: \"iglu:com.29cm/click_banner/jsonschema/1-0-3\",\n    [LOG_LIKE_EVENT.LIKE_ITEM]: \"iglu:com.29cm/like_item/jsonschema/1-0-2\",\n    [LOG_LIKE_EVENT.UNLIKE_ITEM]: \"iglu:com.29cm/unlike_item/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_CONTENT]: \"iglu:com.29cm/view_content/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_BANNER]: \"iglu:com.29cm/view_banner/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_CONTENT]: \"iglu:com.29cm/click_content/jsonschema/2-0-0\",\n    [LOG_VIEW_EVENT.VIEW_ATTRIBUTION]: \"iglu:com.29cm/view_attribution/jsonschema/1-0-0\"\n  },\n  qa: {\n    [LOG_VIEW_EVENT.VIEW_PAGE]: \"iglu:com.29cm/view_page/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BRAND]: \"iglu:com.29cm/click_brand/jsonschema/3-0-0\",\n    [LOG_CLICK_EVENT.CLICK_DOWNLOAD_COUPON]: \"iglu:com.29cm/click_download_coupon/jsonschema/1-0-1\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEM]: \"iglu:com.29cm/impression_item/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_CONTENT]: \"iglu:com.29cm/impression_content/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEMSET]: \"iglu:com.29cm/impression_itemset/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_POPUP]: \"iglu:com.29cm/impression_popup/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_ITEM]: \"iglu:com.29cm/click_item/jsonschema/2-0-0\",\n    [LOG_CLICK_EVENT.CLICK_TAG_CONTENT]: \"iglu:com.29cm/click_tag_content/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON_CONTENT]: \"iglu:com.29cm/click_button_content/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON]: \"iglu:com.29cm/click_button/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BANNER]: \"iglu:com.29cm/click_banner/jsonschema/1-0-3\",\n    [LOG_LIKE_EVENT.LIKE_ITEM]: \"iglu:com.29cm/like_item/jsonschema/1-0-2\",\n    [LOG_LIKE_EVENT.UNLIKE_ITEM]: \"iglu:com.29cm/unlike_item/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_CONTENT]: \"iglu:com.29cm/view_content/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_BANNER]: \"iglu:com.29cm/view_banner/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_CONTENT]: \"iglu:com.29cm/click_content/jsonschema/2-0-0\",\n    [LOG_VIEW_EVENT.VIEW_ATTRIBUTION]: \"iglu:com.29cm/view_attribution/jsonschema/1-0-0\"\n  },\n  production: {\n    [LOG_VIEW_EVENT.VIEW_PAGE]: \"iglu:com.29cm/view_page/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BRAND]: \"iglu:com.29cm/click_brand/jsonschema/3-0-0\",\n    [LOG_CLICK_EVENT.CLICK_DOWNLOAD_COUPON]: \"iglu:com.29cm/click_download_coupon/jsonschema/1-0-1\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEM]: \"iglu:com.29cm/impression_item/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_CONTENT]: \"iglu:com.29cm/impression_content/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_ITEMSET]: \"iglu:com.29cm/impression_itemset/jsonschema/1-0-0\",\n    [LOG_IMP_EVENT.IMPRESSION_POPUP]: \"iglu:com.29cm/impression_popup/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_ITEM]: \"iglu:com.29cm/click_item/jsonschema/2-0-0\",\n    [LOG_CLICK_EVENT.CLICK_TAG_CONTENT]: \"iglu:com.29cm/click_tag_content/jsonschema/1-0-0\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON_CONTENT]: \"iglu:com.29cm/click_button_content/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BUTTON]: \"iglu:com.29cm/click_button/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_BANNER]: \"iglu:com.29cm/click_banner/jsonschema/1-0-3\",\n    [LOG_LIKE_EVENT.LIKE_ITEM]: \"iglu:com.29cm/like_item/jsonschema/1-0-2\",\n    [LOG_LIKE_EVENT.UNLIKE_ITEM]: \"iglu:com.29cm/unlike_item/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_CONTENT]: \"iglu:com.29cm/view_content/jsonschema/1-0-1\",\n    [LOG_VIEW_EVENT.VIEW_BANNER]: \"iglu:com.29cm/view_banner/jsonschema/1-0-1\",\n    [LOG_CLICK_EVENT.CLICK_CONTENT]: \"iglu:com.29cm/click_content/jsonschema/2-0-0\",\n    [LOG_VIEW_EVENT.VIEW_ATTRIBUTION]: \"iglu:com.29cm/view_attribution/jsonschema/1-0-0\"\n  }\n};\nconst SNOWPLOW_SCHEMA = SNOWPLOW_SCHEMA_BY_ENV[env.name];\nexport {\n  SNOWPLOW_SCHEMA\n};\n","import { useLayoutEffect, useEffect } from \"react\";\nimport { isServer } from \"../../utils/context.js\";\nconst useIsomorphicLayoutEffect = isServer() ? useLayoutEffect : useEffect;\nexport {\n  useIsomorphicLayoutEffect\n};\n","import { useRef, useCallback } from \"react\";\nimport { useIsomorphicLayoutEffect } from \"./react/useIsomorphicLayoutEffect.js\";\nfunction useEventCallback(fn) {\n  const ref = useRef(() => {\n    throw new Error(\"Cannot call an event handler while rendering.\");\n  });\n  useIsomorphicLayoutEffect(() => {\n    ref.current = fn;\n  }, [fn]);\n  return useCallback((...args) => ref.current(...args), [ref]);\n}\nexport {\n  useEventCallback\n};\n","const getSeriesPath = () => {\n  return window.location.pathname.replace(/^\\/([^/]+)\\/.*$/, \"$1\").replace(/-/g, \"_\");\n};\nexport {\n  getSeriesPath\n};\n","import { getSeriesPath } from \"../../utils/getSeriesPath.js\";\nimport { isTabView } from \"../../utils/custom-tab/isTabView.js\";\nconst makeContentsProps = (summary) => {\n  if (summary.onSiteContentId === void 0) {\n    return;\n  }\n  return {\n    on_site_content_id: summary.onSiteContentId ?? -1,\n    content_no: Number(summary.contentId),\n    content_title: summary.title,\n    content_type: getSeriesPath(),\n    format_type: \"framer\"\n  };\n};\nconst makeScreenProps = () => ({\n  current_screen: isTabView() ? \"home_main\" : \"content\"\n});\nconst makeTabProps = () => ({\n  home_tab: isTabView() ? \"web\" : null\n});\nconst makePageProps = () => ({\n  page_name: isTabView() ? \"home_main\" : \"content\"\n});\nexport {\n  makeContentsProps,\n  makePageProps,\n  makeScreenProps,\n  makeTabProps\n};\n","import \"../hooks/stores/content/content.store.js\";\nimport { isClient } from \"./context.js\";\nimport \"./event-properties/source.js\";\nimport \"framer\";\nimport \"react\";\nconst getSearchParamsObject = () => {\n  return isClient() ? Object.fromEntries(new URLSearchParams(window.location.search)) : {};\n};\nexport {\n  getSearchParamsObject\n};\n","import { getSearchParamsObject } from \"../getSearchParamsObject.js\";\nconst AD_CODE_ENABLED_SCHEMAS = [\"view_page\"];\nconst addAdCodeToProperties = (schema, properties = {}) => {\n  const shouldAddAdCode = AD_CODE_ENABLED_SCHEMAS.some((enabledSchema) => schema.includes(enabledSchema));\n  if (!shouldAddAdCode) {\n    return properties;\n  }\n  const adCode = getSearchParamsObject().ad_code;\n  return adCode ? {\n    ...properties,\n    ad_code: adCode\n  } : properties;\n};\nexport {\n  addAdCodeToProperties\n};\n","import { getSearchParamsObject } from \"../getSearchParamsObject.js\";\nconst EXPERIMENT_DATA_ENABLED_SCHEMAS = [\"view_page\", \"impression_content\", \"click_content\", \"impression_item\", \"click_item\", \"click_button\"];\nconst addExperimentDataProperties = (schema, properties = {}) => {\n  const shouldAdd = EXPERIMENT_DATA_ENABLED_SCHEMAS.some((s) => schema.includes(s));\n  if (!shouldAdd) {\n    return properties;\n  }\n  const bucket = getSearchParamsObject().bucket;\n  if (!bucket) {\n    return properties;\n  }\n  return {\n    ...properties,\n    experiment_data: {\n      bucket\n    }\n  };\n};\nexport {\n  addExperimentDataProperties\n};\n","import { getSearchParamsObject } from \"../getSearchParamsObject.js\";\nconst DEFAULT_SUBTAB_POSITION = 1;\nconst SUBTAB_ENABLED_SCHEMAS = [\"view_page\", \"impression_content\", \"click_content\", \"impression_item\", \"click_item\", \"click_button\"];\nconst addSubTabProperties = (schema, properties = {}) => {\n  const shouldAdd = SUBTAB_ENABLED_SCHEMAS.some((s) => schema.includes(s));\n  if (!shouldAdd) {\n    return properties;\n  }\n  const params = getSearchParamsObject();\n  const subtabPosition = params.subtab_position !== void 0 ? Number(params.subtab_position) : DEFAULT_SUBTAB_POSITION;\n  return {\n    ...properties,\n    subtab_position: subtabPosition\n  };\n};\nexport {\n  addSubTabProperties\n};\n","import { useRef, useMemo, useEffect } from \"react\";\nimport { SNOWPLOW_SCHEMA } from \"../../constants/snowplow/snowplowSchema.js\";\nimport { useAnalytics } from \"../analytics/useAnalytics.js\";\nimport { useContentStore } from \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport { useEventCallback } from \"../useEventCallback.js\";\nimport { makeContentsProps, makeScreenProps, makeTabProps, makePageProps } from \"./useTrackSnowplowEvent.utils.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { addAdCodeToProperties } from \"../../utils/event-properties/addAdCodeToProperties.js\";\nimport { addExperimentDataProperties } from \"../../utils/event-properties/addExperimentDataProperties.js\";\nimport { addSubTabProperties } from \"../../utils/event-properties/subTab.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport \"framer\";\nconst contextPropsSelectorMap = {\n  impression_content: ({\n    contentsProps,\n    pageProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...tabProps,\n    ...pageProps\n  }),\n  click_content: ({\n    pageProps\n  }) => ({\n    ...pageProps\n  }),\n  view_page: ({\n    contentsProps,\n    pageProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    ...tabProps\n  }),\n  click_brand: ({\n    contentsProps,\n    screenProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    format_type: contentsProps.format_type,\n    ...screenProps\n  }),\n  click_download_coupon: ({\n    contentsProps,\n    screenProps\n  }) => ({\n    content_title: contentsProps.content_title,\n    on_site_content_id: contentsProps.on_site_content_id,\n    ...screenProps\n  }),\n  impression_item: ({\n    pageProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    // NOTE: (김홍동) 웹의 경우 \"web\"으로 값을 받습니다.\n    home_tab: \"web\",\n    // NOTE: (김홍동) 현재 프레이머는 섹션 판단이 어려워 개선 전까지 임의 값 1로 적재 합니다.\n    position: -1\n  }),\n  click_item: ({\n    pageProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    // NOTE: (김홍동) 웹의 경우 \"web\"으로 값을 받습니다.\n    home_tab: \"web\",\n    // NOTE: (김홍동) 현재 프레이머는 섹션 판단이 어려워 개선 전까지 임의 값 1로 적재 합니다.\n    position: -1\n  }),\n  click_tag_content: ({\n    contentsProps,\n    screenProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    format_type: contentsProps.format_type,\n    ...screenProps\n  }),\n  click_button_content: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    format_type: contentsProps.format_type,\n    ...screenProps,\n    ...tabProps\n  }),\n  click_button: ({\n    pageProps,\n    tabProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    ...tabProps\n  }),\n  like_item: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    ...screenProps,\n    ...tabProps\n  }),\n  unlike_item: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    ...screenProps,\n    ...tabProps\n  }),\n  view_content: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    ...contentsProps,\n    ...screenProps,\n    ...tabProps,\n    // NOTE: (한지원) 현재 프레이머는 섹션 판단이 어려워 개선 전까지 임의 값 1로 적재 합니다.\n    position: 1\n  }),\n  view_banner: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    ...screenProps,\n    ...tabProps\n  }),\n  click_banner: ({\n    contentsProps,\n    screenProps,\n    tabProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    content_type: contentsProps.content_type,\n    content_title: contentsProps.content_title,\n    ...screenProps,\n    ...tabProps\n  }),\n  impression_itemset: ({\n    pageProps,\n    tabProps,\n    contentsProps\n  }) => ({\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...tabProps,\n    ...pageProps\n  }),\n  impression_popup: ({\n    pageProps,\n    contentsProps,\n    tabProps\n  }) => ({\n    position: -1,\n    // NOTE: 순서 미존재 -1로 적재\n    on_site_content_id: contentsProps.on_site_content_id,\n    content_no: contentsProps.content_no,\n    format_type: contentsProps.format_type,\n    ...pageProps,\n    ...tabProps\n  }),\n  view_attribution: ({\n    dynamicAttributes\n  }) => ({\n    ...dynamicAttributes\n  })\n};\nconst useTrackSnowplowEvent = () => {\n  const pendingList = useRef([]);\n  const {\n    trackSnowplow\n  } = useAnalytics();\n  const summary = useContentStore((state) => state.summary);\n  const {\n    contentsProps,\n    screenProps,\n    tabProps,\n    pageProps\n  } = useMemo(() => ({\n    contentsProps: makeContentsProps(summary),\n    screenProps: makeScreenProps(),\n    tabProps: makeTabProps(),\n    pageProps: makePageProps()\n  }), [summary]);\n  const trackSnowplowEvent = useEventCallback((eventName, additionalProps) => {\n    if (isCanvas()) {\n      return;\n    }\n    if (contentsProps === void 0) {\n      pendingList.current.push([eventName, additionalProps]);\n      return;\n    }\n    const contextPropsSelector = contextPropsSelectorMap[eventName];\n    const contextProps = contextPropsSelector({\n      contentsProps,\n      screenProps,\n      tabProps,\n      pageProps\n    });\n    const mergedProps = {\n      ...contextProps,\n      ...additionalProps\n    };\n    const eventsRequiringSectionName = [\"click_content\", \"impression_content\", \"impression_item\", \"click_item\", \"click_tag_content\", \"click_button\", \"impression_itemset\", \"impression_popup\"];\n    const isInvalidValue = (value) => !value || value === \"undefined\" || value === \"null\";\n    if (eventsRequiringSectionName.includes(eventName)) {\n      if (\"section_name\" in mergedProps && isInvalidValue(mergedProps.section_name)) {\n        mergedProps.section_name = \"unknown_section\";\n      }\n      if (\"section_title\" in mergedProps && isInvalidValue(mergedProps.section_title)) {\n        mergedProps.section_title = \"unknown_section\";\n      }\n    }\n    const adCodeEnhancedProperties = addAdCodeToProperties(SNOWPLOW_SCHEMA[eventName], mergedProps);\n    const subTabEnhancedProperties = addSubTabProperties(SNOWPLOW_SCHEMA[eventName], adCodeEnhancedProperties);\n    const enhancedProperties = addExperimentDataProperties(SNOWPLOW_SCHEMA[eventName], subTabEnhancedProperties);\n    trackSnowplow(SNOWPLOW_SCHEMA[eventName], enhancedProperties);\n  });\n  useEffect(() => {\n    if (contentsProps === void 0) {\n      return;\n    }\n    pendingList.current.forEach(([eventName, props]) => {\n      trackSnowplowEvent(eventName, props);\n    });\n    pendingList.current = [];\n  }, [contentsProps, trackSnowplowEvent]);\n  return trackSnowplowEvent;\n};\nexport {\n  useTrackSnowplowEvent\n};\n","import { env } from \"../../../../config/index.js\";\nconst BONUS_MILEAGE_AMOUNT = 3900;\nconst FASHION_WEEK_REWARD_PROGRAM_KEY = {\n  production: \"RP_TVlr3KvX8ikWkUyKvYUgOagHP2eus3vH\",\n  qa: \"RP_XXBfmS0L3q4L7ur8N867LVsEnJhA7xMN\"\n};\nconst getFashionWeekBonusMileageAmount = (rewardProgramKey) => {\n  const fashionWeekRewardProgramKey = env.name === \"production\" ? FASHION_WEEK_REWARD_PROGRAM_KEY.production : FASHION_WEEK_REWARD_PROGRAM_KEY.qa;\n  const shouldApplyFashionWeekBonus = rewardProgramKey != null && rewardProgramKey === fashionWeekRewardProgramKey;\n  return shouldApplyFashionWeekBonus ? BONUS_MILEAGE_AMOUNT : 0;\n};\nexport {\n  getFashionWeekBonusMileageAmount\n};\n","import { useMemo, useCallback } from \"react\";\nimport { useDialog } from \"../../../../hooks/useDialog.js\";\nimport { useToast } from \"../../../../hooks/useToast.js\";\nimport { useContentStore } from \"../../../../hooks/stores/content/content.store.js\";\nimport { onelinkApi } from \"../../../../apis/onelink/OnelinkAPIService.js\";\nimport { appShare } from \"../../../../utils/share/appshare.js\";\nimport { webShare } from \"../../../../utils/share/webshare.js\";\nimport { isWebview } from \"../../../../utils/device.js\";\nimport { isShareInternalLinkAvailable } from \"../../../../utils/share/isShareInternalLinkAvailable.js\";\nimport { removeQueryString } from \"../../../../utils/location.js\";\nimport { useFetchRewardKey } from \"../../../../hooks/fetchers/useFetchRewardKey.js\";\nimport { getImageUrl } from \"../../../../utils/image/getImageUrl.js\";\nimport { isKakaoInstanceAvailable, getKakaoInstance } from \"../../../../libs/services/kakao/KakaoService.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport \"framer\";\nimport { postMessage } from \"../../../../utils/postMessage.js\";\nimport { useCurrentUser } from \"../../../../hooks/useCurrentUser.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { env } from \"../../../../config/index.js\";\nimport { getFashionWeekBonusMileageAmount } from \"../../FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.fashionWeekBonusPolicy.js\";\nconst useTasteSharingShareContent = ({\n  rewardProgramKey,\n  sharerMileageRewardsByAction,\n  participantMileageRewardsByAction\n}) => {\n  const {\n    sharerTotalMileageAmount,\n    participantTotalMileageAmount\n  } = useMemo(() => {\n    const sharerTotal = sharerMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n    const participantTotal = participantMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n    const bonusMileageAmount = getFashionWeekBonusMileageAmount(rewardProgramKey);\n    return {\n      sharerTotalMileageAmount: sharerTotal + bonusMileageAmount,\n      participantTotalMileageAmount: participantTotal + bonusMileageAmount\n    };\n  }, [participantMileageRewardsByAction, rewardProgramKey, sharerMileageRewardsByAction]);\n  const {\n    title,\n    description\n  } = useMemo(() => {\n    const descriptionText = sharerTotalMileageAmount === participantTotalMileageAmount ? `내가 공유한 링크로 콘텐츠를 확인하면,\n나도 친구도 최대 ${sharerTotalMileageAmount.toLocaleString()}원 적립받을 수 있어요` : `내가 공유한 링크로 콘텐츠를 확인하면,\n나는 최대 ${sharerTotalMileageAmount.toLocaleString()}원, 친구는 ${participantTotalMileageAmount.toLocaleString()}원까지 적립받을 수 있어요`;\n    return {\n      title: \"콘텐츠 공유하기\",\n      description: descriptionText\n    };\n  }, [participantTotalMileageAmount, sharerTotalMileageAmount]);\n  return {\n    title,\n    description\n  };\n};\nconst FALLBACK_OG_IMAGE_URL = \"https://img.29cm.co.kr/mall/og_image.png\";\nconst useShareContent = ({\n  rewardProgramKey,\n  enabledFetchRewardKey = false\n}) => {\n  var _a;\n  const toast = useToast();\n  const dialog = useDialog();\n  const user = useCurrentUser();\n  const summary = useContentStore((state) => state.summary);\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const ogImageUrl = ((_a = summary.mobilePoster) == null ? void 0 : _a.src) ?? FALLBACK_OG_IMAGE_URL;\n  const enabledRewardKey = enabledFetchRewardKey && Boolean(rewardProgramKey) && user.logged;\n  const {\n    rewardKey,\n    isLoading: isFetchingRewardKey\n  } = useFetchRewardKey({\n    enabled: enabledRewardKey,\n    rewardProgramKey\n  });\n  const baseShareUrl = removeQueryString(window.location.href);\n  const {\n    appPath,\n    pathname\n  } = useMemo(() => extractUrlComponents(baseShareUrl), [baseShareUrl]);\n  const createWebShareData = useCallback((url) => {\n    return {\n      title: summary.title,\n      url\n    };\n  }, [summary.title]);\n  const executePlatformShare = useCallback((url) => {\n    const data = createWebShareData(url);\n    if (isShareInternalLinkAvailable()) {\n      appShare(data);\n      return;\n    }\n    webShare(data, () => toast.show({\n      content: \"클립보드에 복사되었습니다.\"\n    }));\n  }, [createWebShareData, toast]);\n  const getShareableOnelinkUrl = useCallback(async (inComingRewardKey) => {\n    if (!inComingRewardKey) {\n      return createShareOnelink(appPath, pathname, {\n        af_og_title: \"눈여겨보고 있는 콘텐츠인데 어때요?\",\n        af_og_description: `새로운 취향과 혜택 가득한 ${summary.title}`,\n        af_og_image: getImageUrl(ogImageUrl)\n      });\n    }\n    return createShareOnelink(appPath, `${pathname}?reward_key=${inComingRewardKey}`, {\n      af_og_title: \"내가 끌린 취향을 공유해요\",\n      af_og_description: \"친구가 공유한 콘텐츠를 확인하고 적립금도 받아보세요.\",\n      af_og_image: getImageUrl(ogImageUrl)\n    });\n  }, [appPath, pathname, ogImageUrl, summary.title]);\n  const handleKakaoShareError = useCallback(() => {\n    dialog.show({\n      content: \"카카오톡 공유를 실패했습니다.\\n잠시 후 다시 시도해주세요.\"\n    });\n  }, [dialog]);\n  const share = useCallback(async (params) => {\n    const commonImageUrl = getImageUrl(ogImageUrl);\n    const shareWithoutReward = async () => {\n      try {\n        const url = await getShareableOnelinkUrl();\n        if (params.channel === \"link\") {\n          executePlatformShare(url);\n          return;\n        }\n        shareKakaoTalk({\n          title: \"눈여겨보고 있는 콘텐츠인데 어때요?\",\n          description: `새로운 취향과 혜택 가득한 ${summary.title}`,\n          imageUrl: commonImageUrl,\n          linkUrl: url,\n          buttonTitle: \"콘텐츠 보러가기\"\n        }, handleKakaoShareError);\n      } catch (error) {\n        toast.show({\n          content: \"공유 URL 생성에 실패했습니다.\"\n        });\n      }\n    };\n    const shareWithReward = async () => {\n      if (!rewardKey) {\n        toast.show({\n          content: \"리워드 공유 준비 중입니다.\\n잠시 후 다시 시도해주세요.\"\n        });\n        return;\n      }\n      try {\n        const url = await getShareableOnelinkUrl(rewardKey);\n        if (params.channel === \"link\") {\n          executePlatformShare(url);\n          return;\n        }\n        shareKakaoTalk({\n          title: \"내가 끌린 취향을 공유해요\",\n          description: \"친구가 공유한 콘텐츠를 확인하고\\n적립금도 받아보세요.\",\n          imageUrl: commonImageUrl,\n          linkUrl: url,\n          buttonTitle: \"콘텐츠 확인하고 적립금 받기\"\n        }, handleKakaoShareError);\n      } catch (error) {\n        toast.show({\n          content: \"리워드 공유 링크 생성에 실패했습니다.\"\n        });\n      }\n    };\n    if (params.withRewardKey) {\n      trackSnowplowEvent(\"click_button\", {\n        section_name: \"ShareButton\",\n        section_title: \"ShareButton\",\n        position: -1,\n        button_id: \"share_content\",\n        button_name: params.channel === \"link\" ? \"링크 공유하기\" : \"카톡으로 공유하기\",\n        option_name: \"event_share\",\n        reward_program_key: rewardProgramKey,\n        reward_key: rewardKey\n      });\n      await shareWithReward();\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      section_name: \"ShareButton\",\n      section_title: \"ShareButton\",\n      position: -1,\n      button_id: \"share_content\",\n      button_name: params.channel === \"link\" ? \"링크 공유하기\" : \"카톡으로 공유하기\",\n      option_name: \"normal_share\"\n    });\n    await shareWithoutReward();\n  }, [executePlatformShare, getShareableOnelinkUrl, handleKakaoShareError, rewardKey, rewardProgramKey, trackSnowplowEvent, ogImageUrl, toast, summary.title]);\n  return {\n    rewardKey,\n    isLoading: isFetchingRewardKey,\n    share\n  };\n};\nconst shareKakaoTalk = (options, onFail) => {\n  if (isWebview()) {\n    postMessage(\"shareKakaoMessage\", {\n      template: \"FEED\",\n      title: options.title,\n      description: options.description,\n      imageUrl: options.imageUrl,\n      firstButtonTitle: options.buttonTitle,\n      firstButtonWebLink: options.linkUrl,\n      firstButtonMobileWebLink: options.linkUrl,\n      defaultWebLink: options.linkUrl,\n      defaultMobileWebLink: options.linkUrl\n    });\n    return;\n  }\n  if (!isKakaoInstanceAvailable()) {\n    onFail == null ? void 0 : onFail();\n    return;\n  }\n  const kakaoInstance = getKakaoInstance();\n  kakaoInstance == null ? void 0 : kakaoInstance.Link.sendDefault({\n    objectType: \"feed\",\n    content: {\n      imageUrl: options.imageUrl,\n      title: options.title,\n      description: options.description,\n      link: {\n        mobileWebUrl: options.linkUrl\n      }\n    },\n    buttons: [{\n      title: options.buttonTitle,\n      link: {\n        mobileWebUrl: options.linkUrl\n      }\n    }],\n    installTalk: true\n  });\n};\nconst SOURCE_TASTE_SHARING_SHARE = \"29cm_taste_sharing_share\";\nconst createShareOnelink = async (appPath, pathname, openGraphOptions) => {\n  try {\n    const response = await onelinkApi.createOneLink({\n      appPath,\n      pathname,\n      openWebInsteadStore: true,\n      options: {\n        is_retargeting: true,\n        af_click_lookback: \"7d\",\n        pid: SOURCE_TASTE_SHARING_SHARE,\n        utm_source: SOURCE_TASTE_SHARING_SHARE,\n        ...(openGraphOptions == null ? void 0 : openGraphOptions.af_og_title) && {\n          af_og_title: openGraphOptions.af_og_title\n        },\n        ...(openGraphOptions == null ? void 0 : openGraphOptions.af_og_description) && {\n          af_og_description: openGraphOptions.af_og_description\n        },\n        ...(openGraphOptions == null ? void 0 : openGraphOptions.af_og_image) && {\n          af_og_image: openGraphOptions.af_og_image\n        }\n      }\n    });\n    return response.link;\n  } catch (error) {\n    console.error(\"[createShareOnelink] Failed to create OneLink:\", error);\n    return new URL(pathname, appPath).toString();\n  }\n};\nconst extractUrlComponents = (url) => {\n  const urlObj = new URL(url);\n  return {\n    appPath: env.workspace.legacy.home,\n    pathname: urlObj.pathname\n  };\n};\nexport {\n  useShareContent,\n  useTasteSharingShareContent\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { Button as H } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/Button/Button.js\";\nimport { Dialog as L } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.js\";\nimport { TextButton as R } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js\";\nimport { Badge } from \"../../../ruler/Badge/Badge.js\";\nimport { env } from \"../../../../config/index.js\";\nimport \"framer\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { colors } from \"../../../../styles/colors.js\";\nimport { PreviewCard } from \"./PreviewCard.js\";\nimport { RadioIndicator } from \"./RadioIndicator.js\";\nimport { useTasteSharingShareContent, useShareContent } from \"./ShareTypeSelector.hooks.js\";\nimport { isTabView } from \"../../../../utils/custom-tab/isTabView.js\";\nconst ShareTypeSelectorView = (props) => {\n  const [withRewardKey, setWithRewardKey] = useState(true);\n  const {\n    rewardProgramKey,\n    sharerMileageRewardsByAction,\n    participantMileageRewardsByAction\n  } = props.tasteSharingProgramData;\n  const {\n    title,\n    description\n  } = useTasteSharingShareContent({\n    rewardProgramKey,\n    sharerMileageRewardsByAction,\n    participantMileageRewardsByAction\n  });\n  const enabledFetchRewardKey = props.presentation === \"bottomSheet\" ? true : props.open;\n  const {\n    isLoading,\n    share\n  } = useShareContent({\n    rewardProgramKey,\n    enabledFetchRewardKey\n  });\n  const requestClose = () => {\n    if (props.presentation === \"bottomSheet\") {\n      props.onRequestClose();\n      return;\n    }\n    props.onOpenChange(false);\n  };\n  const shareContent = (channel) => {\n    if (isLoading) {\n      return;\n    }\n    share({\n      channel,\n      withRewardKey\n    });\n    requestClose();\n  };\n  const selectorContent = /* @__PURE__ */ jsxs(\"div\", { style: radioGroupStyleByPresentation[props.presentation], role: \"radiogroup\", \"aria-label\": \"공유 타입 선택\", children: [\n    /* @__PURE__ */ jsxs(\"div\", { style: optionCardContainerStyle(withRewardKey), children: [\n      /* @__PURE__ */ jsx(\"button\", { type: \"button\", style: optionCardOverlayButtonStyle, \"aria-label\": \"내 취향 소개하고 적립금 받기 선택\", \"aria-checked\": withRewardKey, role: \"radio\", onClick: () => setWithRewardKey(true) }),\n      /* @__PURE__ */ jsxs(\"div\", { style: optionCardBodyStyle, children: [\n        /* @__PURE__ */ jsxs(\"div\", { style: optionCardHeaderRowStyle, children: [\n          /* @__PURE__ */ jsx(RadioIndicator, { selected: withRewardKey }),\n          /* @__PURE__ */ jsxs(\"label\", { htmlFor: \"reward\", style: optionCardLabelStyle(withRewardKey), children: [\n            /* @__PURE__ */ jsx(\"span\", { children: \"내 취향 소개하고 적립금 받기\" }),\n            /* @__PURE__ */ jsx(Badge, { variant: \"custom\", label: \"EVENT\", customBackgroundColor: \"#FF480014\", customTextColor: colors.red500 })\n          ] })\n        ] }),\n        /* @__PURE__ */ jsx(\"div\", { style: optionCardDescriptionWrapperStyle, children: /* @__PURE__ */ jsx(\"p\", { style: optionCardDescriptionStyle, children: description }) }),\n        !isTabView() && /* @__PURE__ */ jsx(\"div\", { style: optionCardPreviewWrapperStyle, children: /* @__PURE__ */ jsx(PreviewCard, {}) })\n      ] }),\n      /* @__PURE__ */ jsx(\"div\", { style: optionCardActionWrapperStyle, children: /* @__PURE__ */ jsx(R, { type: \"a\", label: \"혜택 자세히 보기\", size: \"xSmall\", priority: \"secondary\", postfixIcon: \"ChevronRightRegularIcon\", href: `${env.workspace.shop}/store/invite/taste-share/${rewardProgramKey}`, target: \"_blank\", rel: \"noopener noreferrer\" }) })\n    ] }),\n    /* @__PURE__ */ jsxs(\"div\", { style: optionCardContainerStyle(!withRewardKey), children: [\n      /* @__PURE__ */ jsx(\"button\", { type: \"button\", style: optionCardOverlayButtonStyle, \"aria-label\": \"그냥 공유하기 선택\", \"aria-checked\": !withRewardKey, role: \"radio\", onClick: () => setWithRewardKey(false) }),\n      /* @__PURE__ */ jsx(\"div\", { style: optionCardBodyStyle, children: /* @__PURE__ */ jsxs(\"div\", { style: optionCardHeaderRowStyle, children: [\n        /* @__PURE__ */ jsx(RadioIndicator, { selected: !withRewardKey }),\n        /* @__PURE__ */ jsx(\"label\", { htmlFor: \"normal\", style: optionCardLabelStyle(!withRewardKey), children: /* @__PURE__ */ jsx(\"span\", { children: \"그냥 공유하기\" }) })\n      ] }) })\n    ] })\n  ] });\n  if (props.presentation === \"bottomSheet\") {\n    return /* @__PURE__ */ jsxs(\"div\", { style: bottomSheetContainerStyle, children: [\n      /* @__PURE__ */ jsx(\"h2\", { style: bottomSheetTitleStyle, children: title }),\n      selectorContent,\n      /* @__PURE__ */ jsxs(\"div\", { style: bottomSheetButtonRowStyle, children: [\n        /* @__PURE__ */ jsx(H, { label: \"링크 공유하기\", type: \"button\", priority: \"secondary\", size: \"large\", onClick: () => shareContent(\"link\"), className: \"w-full\" }),\n        /* @__PURE__ */ jsx(H, { label: \"카톡으로 공유하기\", type: \"button\", priority: \"primary\", size: \"large\", onClick: () => shareContent(\"kakao\"), className: \"w-full\" })\n      ] })\n    ] });\n  }\n  return /* @__PURE__ */ jsx(L, { open: props.open, onOpenChange: props.onOpenChange, title, description: \"\", primaryAction: {\n    label: \"링크 복사하기\",\n    onClick: () => {\n      shareContent(\"link\");\n    }\n  }, secondaryAction: {\n    label: \"다음에 하기\",\n    onClick: props.onClose\n  }, children: /* @__PURE__ */ jsx(\"div\", { style: dialogContainerStyle, children: selectorContent }) });\n};\nconst dialogContainerStyle = {\n  paddingTop: 8\n};\nconst radioGroupStyleByPresentation = {\n  bottomSheet: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: 6\n  },\n  dialog: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: 12\n  }\n};\nconst bottomSheetContainerStyle = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: 12,\n  paddingTop: 6,\n  paddingLeft: 16,\n  paddingRight: 16,\n  paddingBottom: \"calc(env(safe-area-inset-bottom) + 12px)\"\n};\nconst bottomSheetTitleStyle = {\n  ...typography(18, 700, 1.36)\n};\nconst bottomSheetButtonRowStyle = {\n  display: \"flex\",\n  gap: 8,\n  width: \"100%\",\n  marginTop: 12\n};\nconst optionCardContainerStyle = (selected) => ({\n  position: \"relative\",\n  borderRadius: 4,\n  border: `1px solid ${selected ? colors.gray950 : colors.borderDivider}`,\n  padding: \"14px 16px\",\n  backgroundColor: colors.gray00\n});\nconst optionCardOverlayButtonStyle = {\n  position: \"absolute\",\n  inset: 0,\n  borderRadius: 4,\n  border: 0,\n  background: \"transparent\",\n  cursor: \"pointer\"\n};\nconst optionCardBodyStyle = {\n  position: \"relative\",\n  zIndex: 1,\n  pointerEvents: \"none\"\n};\nconst optionCardHeaderRowStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: 8\n};\nconst optionCardLabelStyle = (selected) => ({\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: 6,\n  fontSize: 16,\n  fontWeight: selected ? 600 : 400,\n  lineHeight: \"28px\",\n  color: selected ? colors.gray950 : colors.gray600\n});\nconst optionCardDescriptionWrapperStyle = {\n  marginTop: 2,\n  paddingLeft: 32\n};\nconst optionCardDescriptionStyle = {\n  whiteSpace: \"pre-line\",\n  fontSize: 14,\n  fontWeight: 400,\n  lineHeight: \"20px\",\n  color: colors.gray600,\n  margin: 0\n};\nconst optionCardPreviewWrapperStyle = {\n  paddingLeft: 32,\n  paddingTop: 14\n};\nconst optionCardActionWrapperStyle = {\n  position: \"relative\",\n  zIndex: 2,\n  pointerEvents: \"auto\",\n  paddingLeft: 32,\n  paddingTop: 14\n};\nexport {\n  ShareTypeSelectorView\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useCallback } from \"react\";\nimport { useBottomSheet } from \"../../../../hooks/useBottomSheet.js\";\nimport { ShareTypeSelectorView } from \"./ShareTypeSelectorView.js\";\nconst useShareTypeSelectorBottomSheet = () => {\n  const bottomSheet = useBottomSheet();\n  const show = useCallback(({\n    tasteSharingProgramData\n  }) => {\n    bottomSheet.show({\n      content: /* @__PURE__ */ jsx(ShareTypeSelectorView, { presentation: \"bottomSheet\", tasteSharingProgramData, onRequestClose: bottomSheet.hide }),\n      detent: \"content-height\",\n      onClose: bottomSheet.hide\n    });\n  }, [bottomSheet]);\n  return {\n    show,\n    hide: bottomSheet.hide\n  };\n};\nexport {\n  useShareTypeSelectorBottomSheet\n};\n","function getStyle(style, breakpoint) {\n  if (breakpoint === void 0) {\n    return style.base ?? {};\n  }\n  return {\n    ...style.base,\n    ...style[breakpoint]\n  };\n}\nexport {\n  getStyle\n};\n","import { useState, useEffect, useMemo } from \"react\";\nimport { isBrowser, on, off } from \"../misc/util.js\";\nvar createBreakpoint = function(breakpoints) {\n  if (breakpoints === void 0) {\n    breakpoints = { laptopL: 1440, laptop: 1024, tablet: 768 };\n  }\n  return function() {\n    var _a = useState(isBrowser ? window.innerWidth : 0), screen = _a[0], setScreen = _a[1];\n    useEffect(function() {\n      var setSideScreen = function() {\n        setScreen(window.innerWidth);\n      };\n      setSideScreen();\n      on(window, \"resize\", setSideScreen);\n      return function() {\n        off(window, \"resize\", setSideScreen);\n      };\n    });\n    var sortedBreakpoints = useMemo(function() {\n      return Object.entries(breakpoints).sort(function(a, b) {\n        return a[1] >= b[1] ? 1 : -1;\n      });\n    }, [breakpoints]);\n    var result = sortedBreakpoints.reduce(function(acc, _a2) {\n      var name = _a2[0], width = _a2[1];\n      if (screen >= width) {\n        return name;\n      } else {\n        return acc;\n      }\n    }, sortedBreakpoints[0][0]);\n    return result;\n  };\n};\nexport {\n  createBreakpoint as default\n};\n","import { useMemo } from \"react\";\nimport { getStyle } from \"./getStyle.js\";\nimport createBreakpoint from \"../node_modules/react-use/esm/factory/createBreakpoint.js\";\nconst createUseStyles = (breakpoints) => (responsiveStyles) => {\n  const useBreakpoint = createBreakpoint(breakpoints);\n  return (overriddenBreakpoint) => {\n    const viewportBreakpoint = useBreakpoint();\n    const breakpoint = overriddenBreakpoint ?? viewportBreakpoint;\n    const styles = useMemo(() => Object.fromEntries(Object.entries(responsiveStyles).map(([name, responsiveStyle]) => [name, getStyle(responsiveStyle, breakpoint)])), [breakpoint]);\n    return {\n      breakpoint,\n      styles\n    };\n  };\n};\nexport {\n  createUseStyles\n};\n","class UTCDateMini extends Date {\n  constructor() {\n    super();\n    this.setTime(\n      arguments.length === 0 ? (\n        // Enables Sinon's fake timers that override the constructor\n        Date.now()\n      ) : arguments.length === 1 ? typeof arguments[0] === \"string\" ? +new Date(arguments[0]) : arguments[0] : Date.UTC(...arguments)\n    );\n  }\n  getTimezoneOffset() {\n    return 0;\n  }\n}\nconst re = /^(get|set)(?!UTC)/;\nObject.getOwnPropertyNames(Date.prototype).forEach((method) => {\n  if (re.test(method)) {\n    const utcMethod = Date.prototype[method.replace(re, \"$1UTC\")];\n    if (utcMethod)\n      UTCDateMini.prototype[method] = utcMethod;\n  }\n});\nexport {\n  UTCDateMini\n};\n","import { UTCDateMini } from \"./mini.js\";\nclass UTCDate extends UTCDateMini {\n  toString() {\n    const date = this.toDateString();\n    const time = this.toTimeString();\n    return `${date} ${time}`;\n  }\n  toDateString() {\n    const weekday = weekdayFormat.format(this);\n    const date = dateFormat.format(this);\n    const year = this.getFullYear();\n    return `${weekday} ${date} ${year}`;\n  }\n  toTimeString() {\n    const time = timeFormat.format(this);\n    return `${time} GMT+0000 (Coordinated Universal Time)`;\n  }\n  toLocaleString(locales, options) {\n    return Date.prototype.toLocaleString.call(this, locales, {\n      timeZone: \"UTC\",\n      ...options\n    });\n  }\n  toLocaleDateString(locales, options) {\n    return Date.prototype.toLocaleDateString.call(this, locales, {\n      timeZone: \"UTC\",\n      ...options\n    });\n  }\n  toLocaleTimeString(locales, options) {\n    return Date.prototype.toLocaleTimeString.call(this, locales, {\n      timeZone: \"UTC\",\n      ...options\n    });\n  }\n}\nvar weekdayFormat = new Intl.DateTimeFormat(\"en-US\", {\n  weekday: \"short\",\n  timeZone: \"UTC\"\n});\nvar dateFormat = new Intl.DateTimeFormat(\"en-US\", {\n  month: \"short\",\n  day: \"numeric\",\n  timeZone: \"UTC\"\n});\nvar timeFormat = new Intl.DateTimeFormat(\"en-GB\", {\n  hour12: false,\n  hour: \"numeric\",\n  minute: \"numeric\",\n  second: \"numeric\",\n  timeZone: \"UTC\"\n});\nexport {\n  UTCDate\n};\n","function tzTokenizeDate(date, timeZone) {\n  const dtf = getDateTimeFormat(timeZone);\n  return \"formatToParts\" in dtf ? partsOffset(dtf, date) : hackyOffset(dtf, date);\n}\nconst typeToPos = {\n  year: 0,\n  month: 1,\n  day: 2,\n  hour: 3,\n  minute: 4,\n  second: 5\n};\nfunction partsOffset(dtf, date) {\n  try {\n    const formatted = dtf.formatToParts(date);\n    const filled = [];\n    for (let i = 0; i < formatted.length; i++) {\n      const pos = typeToPos[formatted[i].type];\n      if (pos !== void 0) {\n        filled[pos] = parseInt(formatted[i].value, 10);\n      }\n    }\n    return filled;\n  } catch (error) {\n    if (error instanceof RangeError) {\n      return [NaN];\n    }\n    throw error;\n  }\n}\nfunction hackyOffset(dtf, date) {\n  const formatted = dtf.format(date);\n  const parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted);\n  return [\n    parseInt(parsed[3], 10),\n    parseInt(parsed[1], 10),\n    parseInt(parsed[2], 10),\n    parseInt(parsed[4], 10),\n    parseInt(parsed[5], 10),\n    parseInt(parsed[6], 10)\n  ];\n}\nconst dtfCache = {};\nfunction getDateTimeFormat(timeZone) {\n  if (!dtfCache[timeZone]) {\n    const testDateFormatted = new Intl.DateTimeFormat(\"en-US\", {\n      hourCycle: \"h23\",\n      timeZone: \"America/New_York\",\n      year: \"numeric\",\n      month: \"2-digit\",\n      day: \"2-digit\",\n      hour: \"2-digit\",\n      minute: \"2-digit\",\n      second: \"2-digit\"\n    }).format(/* @__PURE__ */ new Date(\"2014-06-25T04:00:00.123Z\"));\n    const hourCycleSupported = testDateFormatted === \"06/25/2014, 00:00:00\" || testDateFormatted === \"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00\";\n    dtfCache[timeZone] = hourCycleSupported ? new Intl.DateTimeFormat(\"en-US\", {\n      hourCycle: \"h23\",\n      timeZone,\n      year: \"numeric\",\n      month: \"numeric\",\n      day: \"2-digit\",\n      hour: \"2-digit\",\n      minute: \"2-digit\",\n      second: \"2-digit\"\n    }) : new Intl.DateTimeFormat(\"en-US\", {\n      hour12: false,\n      timeZone,\n      year: \"numeric\",\n      month: \"numeric\",\n      day: \"2-digit\",\n      hour: \"2-digit\",\n      minute: \"2-digit\",\n      second: \"2-digit\"\n    });\n  }\n  return dtfCache[timeZone];\n}\nexport {\n  tzTokenizeDate\n};\n","function newDateUTC(fullYear, month, day, hour, minute, second, millisecond) {\n  const utcDate = /* @__PURE__ */ new Date(0);\n  utcDate.setUTCFullYear(fullYear, month, day);\n  utcDate.setUTCHours(hour, minute, second, millisecond);\n  return utcDate;\n}\nexport {\n  newDateUTC\n};\n","import { tzTokenizeDate } from \"../tzTokenizeDate/index.js\";\nimport { newDateUTC } from \"../newDateUTC/index.js\";\nconst MILLISECONDS_IN_HOUR = 36e5;\nconst MILLISECONDS_IN_MINUTE = 6e4;\nconst patterns = {\n  timezone: /([Z+-].*)$/,\n  timezoneZ: /^(Z)$/,\n  timezoneHH: /^([+-]\\d{2})$/,\n  timezoneHHMM: /^([+-])(\\d{2}):?(\\d{2})$/\n};\nfunction tzParseTimezone(timezoneString, date, isUtcDate) {\n  if (!timezoneString) {\n    return 0;\n  }\n  let token = patterns.timezoneZ.exec(timezoneString);\n  if (token) {\n    return 0;\n  }\n  let hours;\n  let absoluteOffset;\n  token = patterns.timezoneHH.exec(timezoneString);\n  if (token) {\n    hours = parseInt(token[1], 10);\n    if (!validateTimezone(hours)) {\n      return NaN;\n    }\n    return -(hours * MILLISECONDS_IN_HOUR);\n  }\n  token = patterns.timezoneHHMM.exec(timezoneString);\n  if (token) {\n    hours = parseInt(token[2], 10);\n    const minutes = parseInt(token[3], 10);\n    if (!validateTimezone(hours, minutes)) {\n      return NaN;\n    }\n    absoluteOffset = Math.abs(hours) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n    return token[1] === \"+\" ? -absoluteOffset : absoluteOffset;\n  }\n  if (isValidTimezoneIANAString(timezoneString)) {\n    date = new Date(date || Date.now());\n    const utcDate = isUtcDate ? date : toUtcDate(date);\n    const offset = calcOffset(utcDate, timezoneString);\n    const fixedOffset = isUtcDate ? offset : fixOffset(date, offset, timezoneString);\n    return -fixedOffset;\n  }\n  return NaN;\n}\nfunction toUtcDate(date) {\n  return newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n}\nfunction calcOffset(date, timezoneString) {\n  const tokens = tzTokenizeDate(date, timezoneString);\n  const asUTC = newDateUTC(tokens[0], tokens[1] - 1, tokens[2], tokens[3] % 24, tokens[4], tokens[5], 0).getTime();\n  let asTS = date.getTime();\n  const over = asTS % 1e3;\n  asTS -= over >= 0 ? over : 1e3 + over;\n  return asUTC - asTS;\n}\nfunction fixOffset(date, offset, timezoneString) {\n  const localTS = date.getTime();\n  let utcGuess = localTS - offset;\n  const o2 = calcOffset(new Date(utcGuess), timezoneString);\n  if (offset === o2) {\n    return offset;\n  }\n  utcGuess -= o2 - offset;\n  const o3 = calcOffset(new Date(utcGuess), timezoneString);\n  if (o2 === o3) {\n    return o2;\n  }\n  return Math.max(o2, o3);\n}\nfunction validateTimezone(hours, minutes) {\n  return -23 <= hours && hours <= 23 && (minutes == null || 0 <= minutes && minutes <= 59);\n}\nconst validIANATimezoneCache = {};\nfunction isValidTimezoneIANAString(timeZoneString) {\n  if (validIANATimezoneCache[timeZoneString])\n    return true;\n  try {\n    new Intl.DateTimeFormat(void 0, { timeZone: timeZoneString });\n    validIANATimezoneCache[timeZoneString] = true;\n    return true;\n  } catch (error) {\n    return false;\n  }\n}\nexport {\n  tzParseTimezone\n};\n","function getTimezoneOffsetInMilliseconds(date) {\n  const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n  utcDate.setUTCFullYear(date.getFullYear());\n  return +date - +utcDate;\n}\nexport {\n  getTimezoneOffsetInMilliseconds\n};\n","const tzPattern = /(Z|[+-]\\d{2}(?::?\\d{2})?| UTC| [a-zA-Z]+\\/[a-zA-Z_]+(?:\\/[a-zA-Z_]+)?)$/;\nexport {\n  tzPattern\n};\n","import { getTimezoneOffsetInMilliseconds } from \"../_lib/getTimezoneOffsetInMilliseconds/index.js\";\nimport { tzParseTimezone } from \"../_lib/tzParseTimezone/index.js\";\nimport { tzPattern } from \"../_lib/tzPattern/index.js\";\nconst MILLISECONDS_IN_HOUR = 36e5;\nconst MILLISECONDS_IN_MINUTE = 6e4;\nconst DEFAULT_ADDITIONAL_DIGITS = 2;\nconst patterns = {\n  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,\n  datePattern: /^([0-9W+-]+)(.*)/,\n  plainTime: /:/,\n  // year tokens\n  YY: /^(\\d{2})$/,\n  YYY: [\n    /^([+-]\\d{2})$/,\n    // 0 additional digits\n    /^([+-]\\d{3})$/,\n    // 1 additional digit\n    /^([+-]\\d{4})$/\n    // 2 additional digits\n  ],\n  YYYY: /^(\\d{4})/,\n  YYYYY: [\n    /^([+-]\\d{4})/,\n    // 0 additional digits\n    /^([+-]\\d{5})/,\n    // 1 additional digit\n    /^([+-]\\d{6})/\n    // 2 additional digits\n  ],\n  // date tokens\n  MM: /^-(\\d{2})$/,\n  DDD: /^-?(\\d{3})$/,\n  MMDD: /^-?(\\d{2})-?(\\d{2})$/,\n  Www: /^-?W(\\d{2})$/,\n  WwwD: /^-?W(\\d{2})-?(\\d{1})$/,\n  HH: /^(\\d{2}([.,]\\d*)?)$/,\n  HHMM: /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n  HHMMSS: /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n  // time zone tokens (to identify the presence of a tz)\n  timeZone: tzPattern\n};\nfunction toDate(argument, options = {}) {\n  if (arguments.length < 1) {\n    throw new TypeError(\"1 argument required, but only \" + arguments.length + \" present\");\n  }\n  if (argument === null) {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n  const additionalDigits = options.additionalDigits == null ? DEFAULT_ADDITIONAL_DIGITS : Number(options.additionalDigits);\n  if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n    throw new RangeError(\"additionalDigits must be 0, 1 or 2\");\n  }\n  if (argument instanceof Date || typeof argument === \"object\" && Object.prototype.toString.call(argument) === \"[object Date]\") {\n    return new Date(argument.getTime());\n  } else if (typeof argument === \"number\" || Object.prototype.toString.call(argument) === \"[object Number]\") {\n    return new Date(argument);\n  } else if (!(Object.prototype.toString.call(argument) === \"[object String]\")) {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n  const dateStrings = splitDateString(argument);\n  const { year, restDateString } = parseYear(dateStrings.date, additionalDigits);\n  const date = parseDate(restDateString, year);\n  if (date === null || isNaN(date.getTime())) {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n  if (date) {\n    const timestamp = date.getTime();\n    let time = 0;\n    let offset;\n    if (dateStrings.time) {\n      time = parseTime(dateStrings.time);\n      if (time === null || isNaN(time)) {\n        return /* @__PURE__ */ new Date(NaN);\n      }\n    }\n    if (dateStrings.timeZone || options.timeZone) {\n      offset = tzParseTimezone(dateStrings.timeZone || options.timeZone, new Date(timestamp + time));\n      if (isNaN(offset)) {\n        return /* @__PURE__ */ new Date(NaN);\n      }\n    } else {\n      offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time));\n      offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time + offset));\n    }\n    return new Date(timestamp + time + offset);\n  } else {\n    return /* @__PURE__ */ new Date(NaN);\n  }\n}\nfunction splitDateString(dateString) {\n  const dateStrings = {};\n  let parts = patterns.dateTimePattern.exec(dateString);\n  let timeString;\n  if (!parts) {\n    parts = patterns.datePattern.exec(dateString);\n    if (parts) {\n      dateStrings.date = parts[1];\n      timeString = parts[2];\n    } else {\n      dateStrings.date = null;\n      timeString = dateString;\n    }\n  } else {\n    dateStrings.date = parts[1];\n    timeString = parts[3];\n  }\n  if (timeString) {\n    const token = patterns.timeZone.exec(timeString);\n    if (token) {\n      dateStrings.time = timeString.replace(token[1], \"\");\n      dateStrings.timeZone = token[1].trim();\n    } else {\n      dateStrings.time = timeString;\n    }\n  }\n  return dateStrings;\n}\nfunction parseYear(dateString, additionalDigits) {\n  if (dateString) {\n    const patternYYY = patterns.YYY[additionalDigits];\n    const patternYYYYY = patterns.YYYYY[additionalDigits];\n    let token = patterns.YYYY.exec(dateString) || patternYYYYY.exec(dateString);\n    if (token) {\n      const yearString = token[1];\n      return {\n        year: parseInt(yearString, 10),\n        restDateString: dateString.slice(yearString.length)\n      };\n    }\n    token = patterns.YY.exec(dateString) || patternYYY.exec(dateString);\n    if (token) {\n      const centuryString = token[1];\n      return {\n        year: parseInt(centuryString, 10) * 100,\n        restDateString: dateString.slice(centuryString.length)\n      };\n    }\n  }\n  return {\n    year: null\n  };\n}\nfunction parseDate(dateString, year) {\n  if (year === null) {\n    return null;\n  }\n  let date;\n  let month;\n  let week;\n  if (!dateString || !dateString.length) {\n    date = /* @__PURE__ */ new Date(0);\n    date.setUTCFullYear(year);\n    return date;\n  }\n  let token = patterns.MM.exec(dateString);\n  if (token) {\n    date = /* @__PURE__ */ new Date(0);\n    month = parseInt(token[1], 10) - 1;\n    if (!validateDate(year, month)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    date.setUTCFullYear(year, month);\n    return date;\n  }\n  token = patterns.DDD.exec(dateString);\n  if (token) {\n    date = /* @__PURE__ */ new Date(0);\n    const dayOfYear = parseInt(token[1], 10);\n    if (!validateDayOfYearDate(year, dayOfYear)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    date.setUTCFullYear(year, 0, dayOfYear);\n    return date;\n  }\n  token = patterns.MMDD.exec(dateString);\n  if (token) {\n    date = /* @__PURE__ */ new Date(0);\n    month = parseInt(token[1], 10) - 1;\n    const day = parseInt(token[2], 10);\n    if (!validateDate(year, month, day)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    date.setUTCFullYear(year, month, day);\n    return date;\n  }\n  token = patterns.Www.exec(dateString);\n  if (token) {\n    week = parseInt(token[1], 10) - 1;\n    if (!validateWeekDate(week)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    return dayOfISOWeekYear(year, week);\n  }\n  token = patterns.WwwD.exec(dateString);\n  if (token) {\n    week = parseInt(token[1], 10) - 1;\n    const dayOfWeek = parseInt(token[2], 10) - 1;\n    if (!validateWeekDate(week, dayOfWeek)) {\n      return /* @__PURE__ */ new Date(NaN);\n    }\n    return dayOfISOWeekYear(year, week, dayOfWeek);\n  }\n  return null;\n}\nfunction parseTime(timeString) {\n  let hours;\n  let minutes;\n  let token = patterns.HH.exec(timeString);\n  if (token) {\n    hours = parseFloat(token[1].replace(\",\", \".\"));\n    if (!validateTime(hours)) {\n      return NaN;\n    }\n    return hours % 24 * MILLISECONDS_IN_HOUR;\n  }\n  token = patterns.HHMM.exec(timeString);\n  if (token) {\n    hours = parseInt(token[1], 10);\n    minutes = parseFloat(token[2].replace(\",\", \".\"));\n    if (!validateTime(hours, minutes)) {\n      return NaN;\n    }\n    return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n  }\n  token = patterns.HHMMSS.exec(timeString);\n  if (token) {\n    hours = parseInt(token[1], 10);\n    minutes = parseInt(token[2], 10);\n    const seconds = parseFloat(token[3].replace(\",\", \".\"));\n    if (!validateTime(hours, minutes, seconds)) {\n      return NaN;\n    }\n    return hours % 24 * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1e3;\n  }\n  return null;\n}\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n  week = week || 0;\n  day = day || 0;\n  const date = /* @__PURE__ */ new Date(0);\n  date.setUTCFullYear(isoWeekYear, 0, 4);\n  const fourthOfJanuaryDay = date.getUTCDay() || 7;\n  const diff = week * 7 + day + 1 - fourthOfJanuaryDay;\n  date.setUTCDate(date.getUTCDate() + diff);\n  return date;\n}\nconst DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nconst DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nfunction isLeapYearIndex(year) {\n  return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\nfunction validateDate(year, month, date) {\n  if (month < 0 || month > 11) {\n    return false;\n  }\n  if (date != null) {\n    if (date < 1) {\n      return false;\n    }\n    const isLeapYear = isLeapYearIndex(year);\n    if (isLeapYear && date > DAYS_IN_MONTH_LEAP_YEAR[month]) {\n      return false;\n    }\n    if (!isLeapYear && date > DAYS_IN_MONTH[month]) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction validateDayOfYearDate(year, dayOfYear) {\n  if (dayOfYear < 1) {\n    return false;\n  }\n  const isLeapYear = isLeapYearIndex(year);\n  if (isLeapYear && dayOfYear > 366) {\n    return false;\n  }\n  if (!isLeapYear && dayOfYear > 365) {\n    return false;\n  }\n  return true;\n}\nfunction validateWeekDate(week, day) {\n  if (week < 0 || week > 52) {\n    return false;\n  }\n  if (day != null && (day < 0 || day > 6)) {\n    return false;\n  }\n  return true;\n}\nfunction validateTime(hours, minutes, seconds) {\n  if (hours < 0 || hours >= 25) {\n    return false;\n  }\n  if (minutes != null && (minutes < 0 || minutes >= 60)) {\n    return false;\n  }\n  if (seconds != null && (seconds < 0 || seconds >= 60)) {\n    return false;\n  }\n  return true;\n}\nexport {\n  toDate\n};\n","import { tzParseTimezone } from \"../_lib/tzParseTimezone/index.js\";\nimport { toDate } from \"../toDate/index.js\";\nfunction toZonedTime(date, timeZone, options) {\n  date = toDate(date, options);\n  const offsetMilliseconds = tzParseTimezone(timeZone, date, true);\n  const d = new Date(date.getTime() - offsetMilliseconds);\n  const resultDate = /* @__PURE__ */ new Date(0);\n  resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());\n  resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());\n  return resultDate;\n}\nexport {\n  toZonedTime\n};\n","import { UTCDate } from \"../node_modules/@date-fns/utc/date/index.js\";\nimport { toZonedTime } from \"../node_modules/date-fns-tz/dist/esm/toZonedTime/index.js\";\nconst createKRTimeZoneDate = (date) => {\n  const utcDate = date ? new UTCDate(date) : new UTCDate();\n  return toZonedTime(utcDate, \"Asia/Seoul\");\n};\nexport {\n  createKRTimeZoneDate\n};\n","import { createKRTimeZoneDate } from \"../createUTCDate.js\";\nclass LocalStorage {\n  getStoredValue(key) {\n    const stored = window.localStorage.getItem(key);\n    if (!stored) {\n      return;\n    }\n    return JSON.parse(stored);\n  }\n  get(key, initial) {\n    try {\n      const stored = this.getStoredValue(key);\n      if (!stored) {\n        return initial;\n      }\n      const now = createKRTimeZoneDate();\n      if (now.getTime() > stored.expiry) {\n        window.localStorage.removeItem(key);\n        return initial;\n      }\n      return stored.value;\n    } catch (error) {\n      return initial;\n    }\n  }\n  set(key, value, options) {\n    const {\n      ttl = 0,\n      preserveTTL = false\n    } = options ?? {};\n    const stored = this.getStoredValue(key);\n    let expiry;\n    if (!stored || !preserveTTL) {\n      expiry = createKRTimeZoneDate().getTime() + ttl;\n    } else {\n      expiry = stored.expiry;\n    }\n    window.localStorage.setItem(key, JSON.stringify({\n      value,\n      expiry\n    }));\n  }\n}\nconst localStorage = new LocalStorage();\nexport {\n  localStorage\n};\n","import { useCallback, useSyncExternalStore, useMemo } from \"react\";\nimport { localStorage } from \"../utils/storage/local-storage.js\";\nconst CUSTOM_STORAGE_EVENT_NAME = \"syncStorage\";\nconst dispatchSyncStorageEvent = (key) => {\n  const event = new Event(CUSTOM_STORAGE_EVENT_NAME);\n  event.storageKey = key;\n  window.dispatchEvent(event);\n};\nconst createStorageKeyMatchListener = (key, listener) => (e) => {\n  if (e.storageKey === key) {\n    listener();\n  }\n};\nfunction useLocalStorage(key, initialValue, options) {\n  const getSnapshot = useCallback(() => {\n    if (typeof window === \"undefined\") {\n      return JSON.stringify(initialValue);\n    }\n    const value2 = localStorage.get(key, initialValue) ?? initialValue;\n    return JSON.stringify(value2);\n  }, [key, initialValue]);\n  const getServerSnapshot = useCallback(() => {\n    return JSON.stringify(initialValue);\n  }, [initialValue]);\n  const subscribe = useCallback((listener) => {\n    const storageKeyMatchListener = createStorageKeyMatchListener(key, listener);\n    window.addEventListener(CUSTOM_STORAGE_EVENT_NAME, storageKeyMatchListener);\n    return () => {\n      window.removeEventListener(CUSTOM_STORAGE_EVENT_NAME, storageKeyMatchListener);\n    };\n  }, [key]);\n  const setStorage = useCallback((newValue, setOptions) => {\n    const mergedOptions = setOptions ?? options;\n    localStorage.set(key, newValue, mergedOptions);\n    dispatchSyncStorageEvent(key);\n  }, [key, options]);\n  const removeStorage = useCallback(() => {\n    if (typeof window === \"undefined\") {\n      return;\n    }\n    window.localStorage.removeItem(key);\n    dispatchSyncStorageEvent(key);\n  }, [key]);\n  const store = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n  const value = useMemo(() => {\n    try {\n      return JSON.parse(store);\n    } catch {\n      return initialValue;\n    }\n  }, [initialValue, store]);\n  return {\n    value,\n    set: setStorage,\n    remove: removeStorage\n  };\n}\nexport {\n  useLocalStorage\n};\n","import { useLocalStorage } from \"../../../../hooks/useLocalStorage.js\";\nimport { useCallback, useState, useEffect } from \"react\";\nconst DISMISS_PREFIX = \"tasteShareHelpTooltipHide\";\nconst OLD_DISMISS_KEYS = [`${DISMISS_PREFIX}:content`];\nconst [OLD_DISMISS_KEY] = OLD_DISMISS_KEYS;\nconst PERMANENT_TTL_MS = 100 * 365 * 24 * 60 * 60 * 1e3;\nconst useTasteShareHelpTooltipDismiss = ({\n  rewardProgramKey\n}) => {\n  const {\n    value: storedRewardProgramKey,\n    set\n  } = useLocalStorage(DISMISS_PREFIX, null);\n  const {\n    value: storedLegacyRewardProgramKey\n  } = useLocalStorage(OLD_DISMISS_KEY, null);\n  const isProgramDismissed = useCallback((programKey) => {\n    if (!programKey) {\n      return true;\n    }\n    return [storedRewardProgramKey, storedLegacyRewardProgramKey].some((storedKey) => (storedKey ?? null) === programKey);\n  }, [storedLegacyRewardProgramKey, storedRewardProgramKey]);\n  const [isDismissed, setIsDismissed] = useState(() => isProgramDismissed(rewardProgramKey));\n  useEffect(() => {\n    setIsDismissed(isProgramDismissed(rewardProgramKey));\n  }, [isProgramDismissed, rewardProgramKey]);\n  const dismiss = useCallback(() => {\n    if (!rewardProgramKey) {\n      return;\n    }\n    set(rewardProgramKey, {\n      ttl: PERMANENT_TTL_MS\n    });\n    setIsDismissed(true);\n    if (typeof window !== \"undefined\") {\n      OLD_DISMISS_KEYS.forEach((key) => window.localStorage.removeItem(key));\n    }\n  }, [rewardProgramKey, set]);\n  return {\n    isDismissed,\n    dismiss\n  };\n};\nexport {\n  useTasteShareHelpTooltipDismiss\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { createUseStyles } from \"../../../../styles/createUseStyle.js\";\nimport \"framer\";\nimport { useTasteShareHelpTooltipDismiss } from \"./TasteShareHelpTooltip.hooks.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport { useGlobalLayoutStore } from \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { getFashionWeekBonusMileageAmount } from \"./TasteShareHelpTooltip.fashionWeekBonusPolicy.js\";\nconst createUseStylesForResponsiveSplitView = createUseStyles({\n  [\"split-view\"]: 780,\n  [\"split-view-small\"]: 615,\n  [\"unified-view\"]: 0\n});\nconst useResponsiveSplitViewStyles = createUseStylesForResponsiveSplitView({\n  tooltipContainer: {\n    \"base\": {\n      right: 20\n    },\n    \"unified-view\": {\n      right: 0\n    }\n  }\n});\nconst TasteShareHelpTooltip = ({\n  rewardProgramKey,\n  sharerMileageRewardsByAction\n}) => {\n  const {\n    isDismissed,\n    dismiss\n  } = useTasteShareHelpTooltipDismiss({\n    rewardProgramKey\n  });\n  const {\n    styles\n  } = useResponsiveSplitViewStyles();\n  const globalLayout = useGlobalLayoutStore((state) => state.globalLayout);\n  const isResponsiveSplitView = globalLayout === \"responsive-split-view\";\n  const totalMileageAmount = useMemo(() => {\n    const baseMileageAmount = sharerMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n    const bonusMileageAmount = getFashionWeekBonusMileageAmount(rewardProgramKey);\n    return baseMileageAmount + bonusMileageAmount;\n  }, [rewardProgramKey, sharerMileageRewardsByAction]);\n  if (isDismissed) {\n    return null;\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...tooltipContainerStyle,\n    ...isResponsiveSplitView ? styles.tooltipContainer : {}\n  }, children: [\n    /* @__PURE__ */ jsxs(\"span\", { style: tooltipTextStyle, children: [\n      \"콘텐츠 공유하고 최대 \",\n      totalMileageAmount.toLocaleString(),\n      \"원 적립받기\"\n    ] }),\n    /* @__PURE__ */ jsx(\"button\", { type: \"button\", onClick: dismiss, style: closeButtonStyle, \"aria-label\": \"툴팁 닫기\", children: /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\", viewBox: \"0 0 16 16\", fill: \"none\", children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6663 8.00065C14.6663 4.31875 11.6816 1.33398 7.99967 1.33398C4.31785 1.33407 1.33301 4.31881 1.33301 8.00065C1.33301 11.6825 4.31785 14.6672 7.99967 14.6673C11.6816 14.6673 14.6663 11.6825 14.6663 8.00065ZM5.74799 4.99458C5.86459 5.01127 5.97763 5.05888 6.07389 5.13737L6.12467 5.18294L7.99967 7.05794L9.87467 5.18294L9.92546 5.13737C10.0213 5.05921 10.1338 5.01168 10.2498 4.99479L10.2632 4.98147L10.2734 4.99178C10.4673 4.97058 10.6687 5.03428 10.8174 5.18294C10.9663 5.33188 11.03 5.53367 11.0084 5.72785L11.0168 5.73627L11.006 5.74707C10.9896 5.86434 10.9419 5.97809 10.863 6.07487L10.8174 6.12565L8.94238 8.00065L10.8174 9.87565L10.863 9.92578C10.9396 10.0198 10.9869 10.1298 11.0046 10.2435L11.0171 10.256L11.0076 10.2654C11.0317 10.4621 10.9683 10.6674 10.8174 10.8184C10.6667 10.969 10.4618 11.0324 10.2654 11.0087L10.2634 11.0108L10.2607 11.0081C10.1405 10.9928 10.0238 10.9447 9.9248 10.8639L9.87467 10.8184L7.99967 8.94336L6.12467 10.8184L6.07454 10.8639C5.97517 10.945 5.85783 10.9931 5.73712 11.0083L5.72416 11.0213L5.71375 11.0108C5.52359 11.028 5.32747 10.9638 5.18197 10.8184C5.03625 10.6726 4.97213 10.4761 4.98958 10.2856L4.97046 10.2665L4.99503 10.2419C5.01296 10.1287 5.06008 10.0193 5.13639 9.92578L5.18197 9.87565L7.05697 8.00065L5.18197 6.12565L5.13639 6.07487C5.05784 5.97854 5.01023 5.86538 4.99359 5.74867L4.97067 5.72578L4.989 5.70742C4.97401 5.5196 5.03831 5.32666 5.18197 5.18294C5.32544 5.03947 5.51798 4.97514 5.70551 4.98987L5.72436 4.97099L5.74799 4.99458Z\", fill: \"#FFFFFF\", fillOpacity: \"0.38\" }) }) }),\n    /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"10\", height: \"6\", viewBox: \"0 0 10 6\", fill: \"none\", style: arrowStyle, \"aria-hidden\": \"true\", children: /* @__PURE__ */ jsx(\"path\", { d: \"M0 0L4.23178 5.07813C4.63157 5.55789 5.36843 5.55789 5.76822 5.07813L10 0L0 0Z\", fill: \"#1F1F1F\" }) })\n  ] });\n};\nconst tooltipContainerStyle = {\n  position: \"absolute\",\n  bottom: \"100%\",\n  right: 0,\n  marginBottom: 11,\n  zIndex: 3001,\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"space-between\",\n  gap: 8,\n  borderRadius: 4,\n  backgroundColor: \"#1F1F1F\",\n  padding: 8,\n  color: \"#FFFFFF\",\n  fontSize: 13,\n  fontWeight: 500,\n  lineHeight: \"20px\",\n  whiteSpace: \"nowrap\",\n  minWidth: \"max-content\"\n};\nconst tooltipTextStyle = {\n  flex: 1\n};\nconst closeButtonStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  flexShrink: 0,\n  cursor: \"pointer\",\n  padding: 0\n};\nconst arrowStyle = {\n  position: \"absolute\",\n  bottom: -5,\n  right: 16,\n  zIndex: 3001\n};\nexport {\n  TasteShareHelpTooltip\n};\n","import { useEffect } from \"react\";\nconst useScriptInjection = ({\n  scriptId,\n  scriptSrc,\n  scriptContent,\n  onLoad\n}) => {\n  useEffect(() => {\n    const scriptExist = document.getElementById(scriptId);\n    if (scriptExist) {\n      onLoad == null ? void 0 : onLoad();\n      return;\n    }\n    const script = document.createElement(\"script\");\n    script.id = scriptId;\n    if (scriptSrc !== void 0) {\n      script.src = scriptSrc;\n    }\n    if (scriptContent !== void 0) {\n      script.innerHTML = scriptContent;\n    }\n    if (onLoad !== void 0) {\n      script.onload = onLoad;\n    }\n    document.body.appendChild(script);\n    return () => {\n      document.body.removeChild(script);\n    };\n  }, [scriptId, scriptContent, onLoad, scriptSrc]);\n};\nexport {\n  useScriptInjection\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useCallback } from \"react\";\nimport { env } from \"../../../../config/index.js\";\nimport { useScriptInjection } from \"../../../../hooks/useScriptInjection.js\";\nimport { getKakaoInstance } from \"../../../../libs/services/kakao/KakaoService.js\";\nconst KAKAO_WEB_SDK_SCRIPT_ID = \"kakao-sdk-script\";\nconst KAKAO_WEB_SDK_SCRIPT_URL = \"https://developers.kakao.com/sdk/js/kakao.min.js\";\nconst KakaoWebSdkScriptInjector = () => {\n  const handleLoad = useCallback(() => {\n    const kakaoInstance = getKakaoInstance();\n    if (kakaoInstance !== void 0 && !kakaoInstance.isInitialized()) {\n      kakaoInstance.cleanup();\n      kakaoInstance.init(env.sdk.kakao.clientId);\n    }\n  }, []);\n  useScriptInjection({\n    scriptId: KAKAO_WEB_SDK_SCRIPT_ID,\n    scriptSrc: KAKAO_WEB_SDK_SCRIPT_URL,\n    onLoad: handleLoad\n  });\n  return /* @__PURE__ */ jsx(Fragment, {});\n};\nexport {\n  KakaoWebSdkScriptInjector\n};\n","import { useState, useEffect } from \"react\";\nconst getMatches = (query) => {\n  if (typeof window !== \"undefined\") {\n    return window.matchMedia(query).matches;\n  }\n  return false;\n};\nfunction useMediaQuery(query, initial = false) {\n  const [matches, setMatches] = useState(initial);\n  const handleChange = () => {\n    setMatches(getMatches(query));\n  };\n  useEffect(() => {\n    const matchMedia = window.matchMedia(query);\n    handleChange();\n    if (matchMedia.addEventListener) {\n      matchMedia.addEventListener(\"change\", handleChange);\n      return () => {\n        matchMedia.removeEventListener(\"change\", handleChange);\n      };\n    }\n    matchMedia.addListener(handleChange);\n    return () => {\n      matchMedia.removeListener(handleChange);\n    };\n  }, [query]);\n  return matches;\n}\nexport {\n  useMediaQuery\n};\n","import { isMobile } from \"../utils/device.js\";\nimport { useMediaQuery } from \"./useMediaQuery.js\";\nconst mobileMediaQuery = `screen and (max-width: 540px)`;\nconst useIsMobileDevice = () => {\n  const isMobileMediaQuery = useMediaQuery(mobileMediaQuery);\n  const isMobileDevice = isMobile() || isMobileMediaQuery;\n  return isMobileDevice;\n};\nexport {\n  useIsMobileDevice\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { ShareIcon } from \"./ShareIcon.js\";\nimport { useShareTypeSelectorBottomSheet } from \"./ShareTypeSelector/ShareTypeSelectorBottomSheet.hooks.js\";\nimport { TasteShareHelpTooltip } from \"../FloatingShareButton/TasteShareHelpTooltip/TasteShareHelpTooltip.js\";\nimport \"framer\";\nimport { colors } from \"../../../styles/colors.js\";\nimport { KakaoWebSdkScriptInjector } from \"../ShareSection/kakao-script-injector/KakaoScriptInjector.js\";\nimport { useIsMobileDevice } from \"../../../hooks/useIsMobileDevice.js\";\nimport { ShareTypeSelectorView } from \"./ShareTypeSelector/ShareTypeSelectorView.js\";\nconst ShareButtonWithReferralEvent = ({\n  style,\n  tasteSharingProgramData\n}) => {\n  const {\n    rewardProgramKey,\n    sharerMileageRewardsByAction\n  } = tasteSharingProgramData;\n  const isMobile = useIsMobileDevice();\n  const shareTypeSelectorBottomSheet = useShareTypeSelectorBottomSheet();\n  const [isShareTypeSelectorOpen, setIsShareTypeSelectorOpen] = useState(false);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(KakaoWebSdkScriptInjector, {}),\n    /* @__PURE__ */ jsx(TasteShareHelpTooltip, { rewardProgramKey, sharerMileageRewardsByAction }),\n    /* @__PURE__ */ jsx(\"button\", { style: {\n      ...buttonStyle,\n      ...style\n    }, type: \"button\", onClick: () => {\n      if (isMobile) {\n        shareTypeSelectorBottomSheet.show({\n          tasteSharingProgramData\n        });\n        return;\n      }\n      setIsShareTypeSelectorOpen(true);\n    }, children: /* @__PURE__ */ jsx(ShareIcon, {}) }),\n    !isMobile && /* @__PURE__ */ jsx(ShareTypeSelectorView, { presentation: \"dialog\", open: isShareTypeSelectorOpen, onOpenChange: setIsShareTypeSelectorOpen, onClose: () => setIsShareTypeSelectorOpen(false), tasteSharingProgramData })\n  ] });\n};\nconst buttonStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  width: 42,\n  height: 42,\n  backgroundColor: colors.gray00,\n  borderRadius: \"50%\",\n  border: `1px solid ${colors.borderDivider}`,\n  outline: \"none\",\n  cursor: \"pointer\"\n};\nexport {\n  ShareButtonWithReferralEvent\n};\n","const filterMap = (array, predicate, map) => {\n  return array.reduce((prev, curr) => {\n    if (predicate(curr)) {\n      prev.push(map(curr));\n    }\n    return prev;\n  }, []);\n};\nexport {\n  filterMap\n};\n","import { filterMap } from \"./filterMap.js\";\nconst splitToNumberArray = (value) => {\n  return filterMap(value.split(\",\"), canParseToNumber, parseToNumber);\n};\nconst canParseToNumber = (value) => {\n  return Boolean(value.trim()) && !Number.isNaN(Number(value));\n};\nconst parseToNumber = (value) => {\n  return Number(value.trim());\n};\nexport {\n  splitToNumberArray\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass EventEmitter {\n  constructor() {\n    __publicField(this, \"events\", /* @__PURE__ */ new Map());\n    __publicField(this, \"queue\", /* @__PURE__ */ new Map());\n  }\n  has(event) {\n    return this.events.has(event);\n  }\n  on(event, callback) {\n    if (!this.has(event)) {\n      this.events.set(event, /* @__PURE__ */ new Set());\n    }\n    const args = this.queue.get(event);\n    if (args) {\n      callback(...args);\n      this.queue.delete(event);\n    }\n    const handlers = this.events.get(event);\n    handlers == null ? void 0 : handlers.add(callback);\n    return () => {\n      handlers == null ? void 0 : handlers.delete(callback);\n    };\n  }\n  emit(event, ...args) {\n    var _a;\n    if (!this.has(event)) {\n      this.queue.set(event, args);\n      return;\n    }\n    (_a = this.events.get(event)) == null ? void 0 : _a.forEach((callback) => callback(...args));\n  }\n}\nexport {\n  EventEmitter\n};\n","import { EventEmitter } from \"./event-emitter.js\";\nvar ProductEvent = /* @__PURE__ */ ((ProductEvent2) => {\n  ProductEvent2[ProductEvent2[\"SYNC_IDS\"] = 0] = \"SYNC_IDS\";\n  return ProductEvent2;\n})(ProductEvent || {});\nconst productEmitter = new EventEmitter();\nexport {\n  ProductEvent,\n  productEmitter\n};\n","import { useRef, useEffect } from \"react\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../config/index.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport { useContentStore } from \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../utils/redirectLogin.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { splitToNumberArray } from \"../../utils/splitToNumberArray.js\";\nimport { productEmitter, ProductEvent } from \"../../utils/event-emitter/product-event-emitter.js\";\nconst useSendProductIds = (productIdsString) => {\n  const dispatchAppendProductIds = useContentStore((state) => state.dispatchAppendProductIds);\n  const latest = useRef(productIdsString);\n  const send = () => {\n    dispatchAppendProductIds(splitToNumberArray(latest.current));\n  };\n  useEffect(() => {\n    latest.current = productIdsString;\n  }, [productIdsString]);\n  useEffect(() => {\n    if (!isCanvas()) {\n      return;\n    }\n    return productEmitter.on(ProductEvent.SYNC_IDS, send);\n  }, []);\n};\nexport {\n  useSendProductIds\n};\n","import { env } from \"../../config/index.js\";\nclass ProductApiService {\n  async getHeartProductList() {\n    return fetch(`${env.api.apihub}/heart/product/items/`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((data) => data);\n  }\n  async toggleHeart(productNo, action) {\n    fetch(`${env.api.apihub}/heart/product/${productNo}/${action}`, {\n      credentials: \"include\"\n    });\n  }\n}\nconst productApi = new ProductApiService();\nexport {\n  productApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { productApi } from \"../../apis/product/ProductApiService.js\";\nconst HEART_PRODUCT_LIST_FETCHER_KEY = \"heart-list\";\nconst useFetchHeartProductList = ({\n  enabled = true\n} = {}) => {\n  const shouldFetch = enabled;\n  const {\n    data: heartList,\n    mutate\n  } = useSWR(shouldFetch ? HEART_PRODUCT_LIST_FETCHER_KEY : null, () => productApi.getHeartProductList(), {\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n  return {\n    heartList: heartList ?? [],\n    mutate\n  };\n};\nexport {\n  HEART_PRODUCT_LIST_FETCHER_KEY,\n  useFetchHeartProductList\n};\n","import { isContentOrigin } from \"../../utils/location.js\";\nimport { useCallback } from \"react\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nimport \"framer\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../config/index.js\";\nimport { useFetchHeartProductList } from \"../fetchers/useFetchHeartProductList.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../utils/redirectLogin.js\";\nimport \"../../utils/event-properties/source.js\";\nconst useProductGroupHeart = () => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    heartList,\n    mutate: mutateHeartList\n  } = useFetchHeartProductList({\n    enabled: isContentOrigin() && logged\n  });\n  const isHeartOn = (productNo) => {\n    if (!Array.isArray(heartList)) {\n      return \"OFF\";\n    }\n    return heartList.includes(productNo) ? \"ON\" : \"OFF\";\n  };\n  const handleHeartOn = useCallback(\n    (productNo) => {\n      mutateHeartList([...heartList, productNo], {\n        revalidate: false\n      });\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [heartList]\n  );\n  const handleHeartOff = useCallback(\n    (productNo) => {\n      mutateHeartList(heartList.filter((heartProductId) => heartProductId != productNo), {\n        revalidate: false\n      });\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [heartList]\n  );\n  return {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  };\n};\nexport {\n  useProductGroupHeart\n};\n","var ProductCardType = /* @__PURE__ */ ((ProductCardType2) => {\n  ProductCardType2[\"CARD\"] = \"card\";\n  ProductCardType2[\"BAR\"] = \"bar\";\n  ProductCardType2[\"CARD_DETAILED\"] = \"card-detailed\";\n  return ProductCardType2;\n})(ProductCardType || {});\nexport {\n  ProductCardType\n};\n","var ProductsType = /* @__PURE__ */ ((ProductsType2) => {\n  ProductsType2[ProductsType2[\"PRODUCTS_NUMBERS\"] = 0] = \"PRODUCTS_NUMBERS\";\n  return ProductsType2;\n})(ProductsType || {});\nvar Breakpoint = /* @__PURE__ */ ((Breakpoint2) => {\n  Breakpoint2[Breakpoint2[\"DESKTOP\"] = 0] = \"DESKTOP\";\n  Breakpoint2[Breakpoint2[\"TABLET\"] = 1] = \"TABLET\";\n  Breakpoint2[Breakpoint2[\"MOBILE\"] = 2] = \"MOBILE\";\n  return Breakpoint2;\n})(Breakpoint || {});\nexport {\n  Breakpoint,\n  ProductsType\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Breakpoint } from \"../Products.type.js\";\nimport { ComponentName } from \"../../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../../styles/createWithStyle.js\";\nimport { css } from \"../../../../styles/css.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.ProductsLayout, {\n  responsive: css`\n    & {\n      @media (max-width: 614px) {\n        grid-template-columns: repeat(2, 1fr) !important;\n      }\n    }\n  `\n});\nconst ProductsLayout = withStyle(({\n  layout,\n  breakpoint,\n  children\n}) => {\n  const isCanvasMobileResponsive = isCanvas() && breakpoint === Breakpoint.MOBILE;\n  const layoutStyle = {\n    ...layoutBaseStyle,\n    ...layoutStyleByLayout(layout, isCanvasMobileResponsive),\n    ...layoutStyleByBreakpoint[breakpoint]\n  };\n  const layoutClassName = layout.isResponsive ? classNames.responsive : void 0;\n  return /* @__PURE__ */ jsx(\"ul\", { style: layoutStyle, className: layoutClassName, children });\n});\nconst layoutBaseStyle = {\n  width: \"100%\",\n  display: \"grid\",\n  overflow: \"hidden\",\n  margin: 0,\n  padding: 0\n};\nconst layoutStyleByLayout = (layout, isCanvasMobileResponsive) => !layout.isResponsive ? {\n  gridTemplateColumns: `repeat(${layout.column}, minmax(100px, 1fr))`\n} : isCanvasMobileResponsive ? {\n  gridTemplateColumns: `repeat(2, minmax(100px, 1fr))`\n} : {\n  gridTemplateColumns: `repeat(auto-fill, minmax(185px, 1fr))`\n};\nconst layoutStyleByBreakpoint = {\n  [Breakpoint.DESKTOP]: {\n    columnGap: 20,\n    rowGap: 20\n  },\n  [Breakpoint.TABLET]: {\n    columnGap: 20,\n    rowGap: 20\n  },\n  [Breakpoint.MOBILE]: {\n    columnGap: 8,\n    rowGap: 16,\n    padding: \"0px 20px\"\n  }\n};\nexport {\n  ProductsLayout\n};\n","import { useTrackSnowplowEvent } from \"../snowplow/useTrackSnowplowEvent.js\";\nimport { definedOnly } from \"../../utils/definedOnly.js\";\nconst useTrackClickButtonContentEvent = () => {\n  const tackSnowplowEvent = useTrackSnowplowEvent();\n  const trackClickButtonContentEvent = (component, buttonProps) => {\n    tackSnowplowEvent(\"click_button_content\", {\n      section_name: component,\n      // NOTE: (김홍동) 컴포넌트의 순서를 알 수 없기 때문에 현재는 1로 대응(데이터 팀과 언라인 완료)\n      position: 1,\n      ...definedOnly(buttonProps)\n    });\n  };\n  return {\n    trackClickButtonContentEvent\n  };\n};\nexport {\n  useTrackClickButtonContentEvent\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Breakpoint } from \"../Products.type.js\";\nimport { Button as Default } from \"../../../@shared/Button/Button.js\";\nimport { useTrackClickButtonContentEvent } from \"../../../../hooks/events/useTrackClickButtonContentEvent.js\";\nconst ExpandButton = ({\n  button,\n  buttonText,\n  breakpoint,\n  componentName,\n  expand\n}) => {\n  const {\n    trackClickButtonContentEvent\n  } = useTrackClickButtonContentEvent();\n  const handleClickExpandButton = () => {\n    expand();\n    trackClickButtonContentEvent(componentName, {\n      button_type: \"more\",\n      button_value: buttonText\n    });\n  };\n  const buttonLayoutStyle = {\n    ...baseButtonLayoutStyle,\n    ...buttonLayoutStyleByBreakpoint[breakpoint]\n  };\n  return /* @__PURE__ */ jsx(\"div\", { style: buttonLayoutStyle, children: /* @__PURE__ */ jsx(Default, { ...button, postfixIcon: button.hasIcon ? \"chevronDown\" : void 0, prefixIcon: void 0, onClick: handleClickExpandButton, children: buttonText }) });\n};\nconst baseButtonLayoutStyle = {\n  gridColumn: \"1/-1\",\n  display: \"flex\",\n  justifyContent: \"center\"\n};\nconst buttonLayoutStyleByBreakpoint = {\n  [Breakpoint.DESKTOP]: {\n    marginTop: \"42px\"\n  },\n  [Breakpoint.TABLET]: {\n    marginTop: \"42px\"\n  },\n  [Breakpoint.MOBILE]: {\n    marginTop: \"16px\"\n  }\n};\nexport {\n  ExpandButton\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useRef, useEffect } from \"react\";\nimport { useInView } from \"framer-motion\";\nconst Intersection = ({\n  threshold,\n  once,\n  margin,\n  children,\n  onView,\n  ...rest\n}) => {\n  const ref = useRef(null);\n  const isInView = useInView(ref, {\n    amount: threshold,\n    once,\n    margin\n  });\n  useEffect(() => {\n    if (!isInView) {\n      return;\n    }\n    onView == null ? void 0 : onView();\n  }, [isInView]);\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, children });\n};\nexport {\n  Intersection\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Skeleton = forwardRef(({\n  style\n}, ref) => {\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...containerStyle,\n    ...style\n  } });\n});\nconst containerStyle = {\n  background: \"#dee2e6\"\n};\nexport {\n  Skeleton\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nconst ProductLoading = forwardRef((_, ref) => {\n  return /* @__PURE__ */ jsxs(\"li\", { style: productLayoutStyle, ref, children: [\n    /* @__PURE__ */ jsx(Skeleton, { style: imageStyle }),\n    /* @__PURE__ */ jsxs(\"div\", { style: textSkeletonLayoutStyle, children: [\n      /* @__PURE__ */ jsx(Skeleton, { style: textSkeletonStyle(\"60%\", \"13px\") }),\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...textSkeletonStyle(\"80%\", \"12px\"),\n        marginTop: 4\n      } }),\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...textSkeletonStyle(\"50%\", \"17px\"),\n        marginTop: 4\n      } }),\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...textSkeletonStyle(\"30%\", \"16px\"),\n        marginTop: 6\n      } })\n    ] })\n  ] });\n});\nconst productLayoutStyle = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: \"10px\",\n  width: \"100%\",\n  margin: \"0 auto\"\n};\nconst imageStyle = {\n  color: \"transparent\",\n  borderRadius: \"2px\",\n  background: \"linear-gradient(-90deg, #dee2e6, #f0f0f0, #dee2e6, #f0f0f0)\",\n  backgroundSize: \"400%\",\n  width: \"100%\",\n  aspectRatio: \"1 / 1\"\n};\nconst textSkeletonLayoutStyle = {\n  flex: \"1\",\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nconst textSkeletonStyle = (width, height) => ({\n  color: \"transparent\",\n  borderRadius: \"6px\",\n  background: \"linear-gradient(-90deg, #dee2e6, #f0f0f0, #dee2e6, #f0f0f0)\",\n  backgroundSize: \"400%\",\n  width,\n  height\n});\nexport {\n  ProductLoading\n};\n","import { env } from \"../../config/index.js\";\nclass FramerApiService {\n  async getFramerProductList(productIdList) {\n    return fetch(`${env.api.content}/api/v4/framers/items?itemIdList=${productIdList.join(\",\")}`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => res.data);\n  }\n  async getFramerProductListV2(productIdList) {\n    return fetch(`${env.api.content}/api/v4/framers/products?productIdList=${productIdList.join(\",\")}`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => res.data);\n  }\n  async getFramerContentIdCollection(framerMappingId) {\n    return fetch(`${env.api.content}/api/v4/framers/${framerMappingId}`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => res.data);\n  }\n}\nconst formatFramerProduct2Product = (framerProduct) => {\n  if (!framerProduct) {\n    return;\n  }\n  return {\n    frontBrand: {\n      frontBrandId: framerProduct.frontBrandNo,\n      nameKor: framerProduct.frontBrandNameKor,\n      nameEng: framerProduct.frontBrandNameEng\n    },\n    productId: framerProduct.itemNo,\n    productName: framerProduct.itemName,\n    subjectDescriptions: framerProduct.subjectDescriptions,\n    imageUrl: framerProduct.imageUrl,\n    consumerPrice: framerProduct.consumerPrice,\n    lastSalePrice: framerProduct.lastSalePrice,\n    lastSalePercent: framerProduct.lastSalePercent,\n    heartCount: framerProduct.heartCount,\n    heartOn: false,\n    reviewAveragePoint: framerProduct.reviewAveragePoint,\n    reviewCount: framerProduct.reviewCount,\n    isCoupon: framerProduct.isCoupon,\n    isFreeShipping: framerProduct.isFreeShipping,\n    isNew: framerProduct.isNew,\n    isSoldOut: framerProduct.isSoldOut,\n    frontCategories: framerProduct.categoryCodeList.map((item) => ({\n      largeCategoryCode: item.largeCategoryCode,\n      mediumCategoryCode: item.mediumCategoryCode,\n      smallCategoryCode: item.smallCategoryCode\n    }))\n  };\n};\nconst framerApi = new FramerApiService();\nexport {\n  formatFramerProduct2Product,\n  framerApi\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { framerApi } from \"../../apis/framer/FramerApiService.js\";\nconst PRODUCT_LIST_FETCHER_QUERY_KEY = \"product-list\";\nconst useFetchProductList = (productIdList, isInView = true, extraQueryKey = []) => {\n  const hasProductIdList = productIdList.length > 0;\n  const enabled = isInView && hasProductIdList;\n  const {\n    data: productList,\n    mutate,\n    isLoading\n  } = useSWR(enabled ? [PRODUCT_LIST_FETCHER_QUERY_KEY, productIdList, ...extraQueryKey] : null, () => framerApi.getFramerProductList(productIdList), {\n    revalidateOnFocus: false\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    productList: productList ?? [],\n    mutate\n  };\n};\nconst useFetchProductListV2 = (productIdList, isInView = true, extraQueryKey = []) => {\n  const hasProductIdList = productIdList.length > 0;\n  const enabled = isInView && hasProductIdList;\n  const {\n    data: productList,\n    mutate,\n    isLoading\n  } = useSWR(enabled ? [PRODUCT_LIST_FETCHER_QUERY_KEY, productIdList, ...extraQueryKey] : null, () => framerApi.getFramerProductListV2(productIdList), {\n    revalidateOnFocus: false\n  });\n  return {\n    isLoading: isLoading || !enabled,\n    productList: productList ?? [],\n    mutate\n  };\n};\nexport {\n  PRODUCT_LIST_FETCHER_QUERY_KEY,\n  useFetchProductList,\n  useFetchProductListV2\n};\n","import { useState, useEffect } from \"react\";\nimport { useFetchProductListV2 } from \"../../../hooks/fetchers/useFetchProductList.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nconst SAFE_PRODUCTS_RATE = 1.2;\nconst useProducts = (productIdList, count, isInView) => {\n  const [products, setProducts] = useState([]);\n  const [page, setPage] = useState(0);\n  const [isLastPage, setIsLastPage] = useState(false);\n  const [startIndex, setStartIndex] = useState(0);\n  const lastIndex = startIndex + Math.floor(count * SAFE_PRODUCTS_RATE);\n  const {\n    isLoading,\n    productList\n  } = useFetchProductListV2(\n    productIdList.slice(startIndex, lastIndex),\n    isInView,\n    // ! 캔버스일 때, 상품 수가 달라질 경우 fetching을 다시 하여 상품을 갱신합니다. 이는 43~49번째 줄과 연관있습니다.\n    isCanvas() ? [count] : []\n  );\n  const appendedProductList = productList.slice(0, count);\n  const getNextStartIndex = () => {\n    if (appendedProductList.length === 0) {\n      return lastIndex + 1;\n    }\n    const lastProductId = appendedProductList[appendedProductList.length - 1].productId;\n    return productIdList.findIndex((id) => id === lastProductId) + 1;\n  };\n  const updateNextStartIndex = () => {\n    if (isLastPage) {\n      return;\n    }\n    setPage((prev) => prev + 1);\n    setStartIndex(getNextStartIndex());\n  };\n  useEffect(() => {\n    setProducts([]);\n    setStartIndex(0);\n    setPage(0);\n    setIsLastPage(false);\n  }, [count, productIdList.join(\",\")]);\n  useEffect(() => {\n    if (isLoading) {\n      return;\n    }\n    if (productIdList.length <= getNextStartIndex()) {\n      setIsLastPage(true);\n    }\n    setProducts((prev) => [...prev, ...appendedProductList]);\n  }, [isLoading, productList]);\n  return {\n    isLoading,\n    products,\n    isLastPage,\n    page,\n    updateNextStartIndex\n  };\n};\nexport {\n  useProducts\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useSendProductIds } from \"../../../hooks/product/useSendProductIds.js\";\nimport { useProductGroupHeart } from \"../../../hooks/product/useProductGroupHeart.js\";\nimport { useRef } from \"react\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport { addPropertyControls, ControlType, useInView } from \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { ProductCardType } from \"../../@shared/ProductCard/ProductCard.types.js\";\nimport \"../../../constants/snowplow/snowplowSchema.js\";\nimport { ProductCard } from \"../../@shared/ProductCard/ProductCard.js\";\nimport { ButtonVariant, ButtonTheme, ButtonSize } from \"../../@shared/Button/Button.types.js\";\nimport { ProductsType, Breakpoint } from \"./Products.type.js\";\nimport { ProductsLayout } from \"./ProductsLayout/ProductsLayout.js\";\nimport { ExpandButton } from \"./ExpandButton/ExpandButton.js\";\nimport { Intersection } from \"../../@shared/Intersection/Intersection.js\";\nimport \"../../@shared/Icon/Icon.js\";\nimport { ProductLoading } from \"./ProductLoading/ProductLoading.js\";\nimport { useProducts } from \"./Products.hooks.js\";\nimport { splitToNumberArray } from \"../../../utils/splitToNumberArray.js\";\nconst PRODUCTS_PER_REQUEST = 20;\nconst ProductsInner = ({\n  layout,\n  breakpoint,\n  productIdList: productIdListString = \"\",\n  hasButton,\n  button,\n  name = \"Products\"\n}) => {\n  const ref = useRef(null);\n  const isRenderButton = hasButton && !layout.isResponsive;\n  const productIdListArray = [...new Set(splitToNumberArray(productIdListString))];\n  const count = !isRenderButton ? Math.min(productIdListArray.length, PRODUCTS_PER_REQUEST) : layout.column * layout.row;\n  const isInView = useInView(ref, {\n    once: true,\n    margin: \"200px 0px\"\n  });\n  const {\n    isLoading,\n    products,\n    isLastPage,\n    page,\n    updateNextStartIndex\n  } = useProducts(productIdListArray, count, isInView);\n  const shouldRenderSkeleton = products.length === 0 || isLoading;\n  const shouldRenderButton = isRenderButton && button && page <= 1 && !isLastPage && !isLoading;\n  const shouldRenderIntersection = (!isRenderButton || page >= 2) && !isLastPage && !isLoading;\n  const buttonText = (button == null ? void 0 : button.texts[page]) ?? \"\";\n  const {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  } = useProductGroupHeart();\n  const maxPositionNo = productIdListArray.length - 1;\n  useSendProductIds(productIdListArray.join(\",\"));\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    width: \"100%\"\n  }, children: /* @__PURE__ */ jsxs(ProductsLayout, { layout, breakpoint, children: [\n    products.map((product, index) => {\n      return /* @__PURE__ */ jsx(ProductCard, { type: ProductCardType.CARD, product, hasBadges: true, isHeartOn: isHeartOn(product.productId), onHeartOn: handleHeartOn, onHeartOff: handleHeartOff, eventProperties: {\n        product,\n        isProductGroup: true,\n        componentName: name,\n        positionNo: index + 1,\n        maxPositionNo\n      } }, product.productId);\n    }),\n    shouldRenderSkeleton ? (\n      // eslint-disable-next-line react/no-array-index-key\n      Array.from({\n        length: count\n      }).map((_, index) => /* @__PURE__ */ jsx(ProductLoading, {}, index))\n    ) : null,\n    shouldRenderButton ? /* @__PURE__ */ jsx(ExpandButton, { button, buttonText, breakpoint, expand: updateNextStartIndex, componentName: name }) : null,\n    shouldRenderIntersection ? /* @__PURE__ */ jsx(Intersection, { onView: updateNextStartIndex, margin: \"200px 0px\" }) : null\n  ] }) });\n};\nconst Products = (props) => {\n  return /* @__PURE__ */ jsx(ProductsInner, { ...props }, props.productIdList);\n};\naddPropertyControls(Products, {\n  productsType: {\n    title: \"상품 목록 유형\",\n    type: ControlType.Enum,\n    options: [ProductsType.PRODUCTS_NUMBERS],\n    optionTitles: [\"상품 번호\"]\n  },\n  productIdList: {\n    title: \"상품 번호\",\n    type: ControlType.String,\n    hidden: ({\n      productsType\n    }) => productsType !== ProductsType.PRODUCTS_NUMBERS\n  },\n  breakpoint: {\n    type: ControlType.Enum,\n    title: \"분기점\",\n    options: [Breakpoint.DESKTOP, Breakpoint.TABLET, Breakpoint.MOBILE],\n    optionTitles: [\"PC\", \"Tablet\", \"Mobile\"],\n    displaySegmentedControl: true\n  },\n  layout: {\n    title: \"레이아웃\",\n    type: ControlType.Object,\n    controls: {\n      isResponsive: {\n        type: ControlType.Boolean,\n        title: \"반응형\",\n        defaultValue: false\n      },\n      column: {\n        type: ControlType.Number,\n        title: \"column\",\n        defaultValue: 6,\n        min: 1,\n        max: 6,\n        hidden: ({\n          isResponsive\n        }) => isResponsive\n      },\n      row: {\n        type: ControlType.Number,\n        title: \"row\",\n        defaultValue: 4,\n        min: 1,\n        max: 50,\n        hidden: ({\n          isResponsive\n        }, {\n          hasButton\n        }) => isResponsive || !hasButton\n      }\n    }\n  },\n  hasButton: {\n    type: ControlType.Boolean,\n    title: \"더보기 버튼 유무\",\n    defaultValue: false,\n    hidden: ({\n      layout\n    }) => !!(layout == null ? void 0 : layout.isResponsive)\n  },\n  button: {\n    title: \"더보기 버튼\",\n    type: ControlType.Object,\n    description: \"상품 개수에 따라 자동으로 더보기 버튼이 생성됩니다.\",\n    hidden: ({\n      hasButton,\n      layout\n    }) => !hasButton || !!(layout == null ? void 0 : layout.isResponsive),\n    controls: {\n      variant: {\n        type: ControlType.Enum,\n        title: \"변형\",\n        options: [ButtonVariant.PRIMARY, ButtonVariant.SECONDARY, ButtonVariant.TERTIARY],\n        optionTitles: [\"primary\", \"secondary\", \"tertiary\"]\n      },\n      theme: {\n        type: ControlType.Enum,\n        title: \"테마\",\n        options: [ButtonTheme.LIGHT, ButtonTheme.DARK],\n        optionTitles: [\"light\", \"dark\"],\n        defaultValue: ButtonTheme.LIGHT,\n        displaySegmentedControl: true\n      },\n      size: {\n        type: ControlType.Enum,\n        title: \"크기\",\n        options: [ButtonSize.LARGE, ButtonSize.MEDIUM, ButtonSize.SMALL],\n        optionTitles: [\"large\", \"medium\", \"small\"],\n        defaultValue: ButtonSize.MEDIUM\n      },\n      fill: {\n        type: ControlType.Boolean,\n        title: \"채우기\",\n        defaultValue: false\n      },\n      texts: {\n        type: ControlType.Array,\n        title: \"버튼 타이틀\",\n        defaultValue: [\"첫 번째 버튼\", \"두 번째 버튼\"],\n        control: {\n          type: ControlType.String\n        }\n      },\n      hasIcon: {\n        type: ControlType.Boolean,\n        title: \"아이콘 유무\",\n        defaultValue: false\n      }\n    }\n  }\n});\nexport {\n  PRODUCTS_PER_REQUEST,\n  Products\n};\n","const r = () => `10000000-1000-4000-8000-${1e11}`.replace(\n  /[018]/g,\n  (e) => (Number(e) ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> Number(e) / 4).toString(16)\n);\nexport {\n  r as generateUUID\n};\n","import { useMemo, useEffect } from \"react\";\nimport { generateUUID as r } from \"../utils/generateUUID.js\";\nconst n = \"disable-scroll\", e = \"disableScrollInstances\", o = (s) => {\n  const t = s.dataset[e];\n  return t ? t.split(\",\") : [];\n}, i = (s, t) => {\n  t.length > 0 ? s.dataset[e] = t.join(\",\") : delete s.dataset[e];\n}, A = (s, t) => {\n  const c = o(s);\n  c.push(t), i(s, c), s.classList.contains(n) || s.classList.add(n);\n}, a = (s, t) => {\n  const r2 = o(s).filter((l) => l !== t);\n  i(s, r2), o(s).length === 0 && s.classList.remove(n);\n}, S = (s) => {\n  const t = useMemo(() => r(), []);\n  useEffect(() => {\n    const c = document.body;\n    if (c) {\n      if (s)\n        A(c, t);\n      else {\n        a(c, t);\n        return;\n      }\n      return () => {\n        a(c, t);\n      };\n    }\n  }, [s, t]);\n};\nexport {\n  S as useEffectDisableScroll\n};\n","import { useFloating, useClick, useDismiss, useInteractions } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { useMemo } from \"react\";\nimport { useRulerStack as S } from \"../../contexts/RulerStackContext.js\";\nimport { COMPONENT_ID as e } from \"../../contexts/constants.js\";\nfunction L({ open: e$1, onOpenChange: t }) {\n  const i = useFloating({\n    open: e$1,\n    onOpenChange: t\n  }), r = i.context, { state: s } = S(), n = useMemo(() => {\n    var l;\n    const o = (s == null ? void 0 : s.stack) ?? [];\n    return o.length > 0 && ((l = o[o.length - 1]) == null ? void 0 : l.id) === e.AlertDialog;\n  }, [s]), u = useClick(r, {\n    enabled: t == null\n  }), m = useDismiss(r, { enabled: n, outsidePress: false }), c = useInteractions([u, m]);\n  return useMemo(\n    () => ({\n      open: e$1,\n      setOpen: t,\n      ...c,\n      ...i\n    }),\n    [e$1, t, c, i]\n  );\n}\nexport {\n  L as useAlertDialog\n};\n","import { tv as g, cn as a } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { dialog as r } from \"../../styles/dialog.style.js\";\nconst n = g({\n  extend: r,\n  slots: {\n    container: a(r.slots.container, \"pt-40\"),\n    title: \"whitespace-pre-wrap break-words px-20 pb-10 text-center text-title-s-bold\",\n    description: \"whitespace-pre-wrap px-20 text-center text-xl\",\n    buttonContainer: \"flex justify-between gap-8 px-20 pb-20 pt-32\",\n    button: \"h-52 w-full\"\n  }\n});\nexport {\n  n as style\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { FloatingPortal, FloatingFocusManager } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { forwardRef } from \"react\";\nimport { useEffectDisableScroll as S } from \"../../hooks/useEffectDisableScroll.js\";\nimport { PriorityByTone as i } from \"../../styles/dialog.style.js\";\nimport { useAlertDialog as L$1 } from \"./AlertDialog.hooks.js\";\nimport { style as n } from \"./AlertDialog.style.js\";\nimport { Button as H } from \"../Button/Button.js\";\nconst L = forwardRef(function({ ...l }, m$1) {\n  const {\n    id: d,\n    title: f,\n    description: u,\n    primaryAction: t,\n    secondaryAction: i$1,\n    tone: x = \"default\",\n    containerClassName: p,\n    stackLayer: y,\n    closeOnPrimaryAction: j = true\n  } = l, o = n({ stackLayer: y }), r = L$1(l), n$1 = (a, s) => (h) => {\n    a == null || a(h), j !== false && s === \"primary\" && l.onOpenChange(false), s === \"secondary\" && l.onOpenChange(false);\n  };\n  return S(r.open), r.open ? /* @__PURE__ */ m.jsxs(FloatingPortal, { id: d, children: [\n    /* @__PURE__ */ m.jsx(\"div\", { className: o.overlay() }),\n    /* @__PURE__ */ m.jsx(FloatingFocusManager, { context: r.context, children: /* @__PURE__ */ m.jsx(\"div\", { className: o.layout(), children: /* @__PURE__ */ m.jsxs(\"div\", { ref: m$1, className: o.container({ className: p }), children: [\n      /* @__PURE__ */ m.jsx(\"h2\", { className: o.title(), children: f }),\n      /* @__PURE__ */ m.jsx(\"div\", { className: o.description(), children: u }),\n      /* @__PURE__ */ m.jsxs(\"div\", { className: o.buttonContainer(), children: [\n        i$1 && /* @__PURE__ */ m.jsx(\n          H,\n          {\n            priority: \"secondary\",\n            className: o.button(),\n            onClick: n$1(i$1 == null ? void 0 : i$1.onClick, \"secondary\"),\n            label: i$1.label\n          }\n        ),\n        /* @__PURE__ */ m.jsx(\n          H,\n          {\n            priority: i[x],\n            className: o.button(),\n            onClick: n$1(t.onClick, \"primary\"),\n            label: t.label\n          }\n        )\n      ] })\n    ] }) }) })\n  ] }) : null;\n});\nexport {\n  L as AlertDialog\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nimport { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useState, useEffect } from \"react\";\nimport { AlertDialog as L } from \"../../node_modules/@29cm/ruler-ui/dist/components/AlertDialog/AlertDialog.js\";\nclass AlertDialogManager {\n  constructor() {\n    __publicField(this, \"alerts\", []);\n    __publicField(this, \"listeners\", /* @__PURE__ */ new Set());\n  }\n  subscribe(listener) {\n    this.listeners.add(listener);\n    return () => {\n      this.listeners.delete(listener);\n    };\n  }\n  show(params) {\n    const id = params.id || Math.random().toString(36).substr(2, 10);\n    const {\n      onOpenChange,\n      ...alertProps\n    } = params;\n    const newAlert = {\n      ...alertProps,\n      id,\n      open: true,\n      onOpenChange: onOpenChange || (() => {\n      })\n    };\n    this.alerts = [...this.alerts, newAlert];\n    this.notify();\n    return id;\n  }\n  hide(id) {\n    this.alerts = this.alerts.filter((alert) => alert.id !== id);\n    this.notify();\n  }\n  notify() {\n    this.listeners.forEach((listener) => listener(this.alerts));\n  }\n}\nconst manager = new AlertDialogManager();\nconst AlertDialogContainer = () => {\n  const [alerts, setAlerts] = useState([]);\n  useEffect(() => {\n    return manager.subscribe(setAlerts);\n  }, []);\n  const handleHide = (id) => {\n    manager.hide(id);\n  };\n  return /* @__PURE__ */ jsx(Fragment, { children: alerts.map((alert) => /* @__PURE__ */ jsx(L, { ...alert, open: true, onOpenChange: (open) => {\n    var _a;\n    (_a = alert.onOpenChange) == null ? void 0 : _a.call(alert, open);\n    if (!open) {\n      handleHide(alert.id);\n    }\n  }, primaryAction: alert.primaryAction ? {\n    ...alert.primaryAction,\n    onClick: (e) => {\n      var _a, _b;\n      (_b = (_a = alert.primaryAction) == null ? void 0 : _a.onClick) == null ? void 0 : _b.call(_a, e);\n      if (alert.closeOnPrimaryAction !== false) {\n        handleHide(alert.id);\n      }\n    }\n  } : {\n    label: \"확인\",\n    onClick: () => handleHide(alert.id)\n  }, secondaryAction: alert.secondaryAction ? {\n    ...alert.secondaryAction,\n    onClick: (e) => {\n      var _a, _b;\n      (_b = (_a = alert.secondaryAction) == null ? void 0 : _a.onClick) == null ? void 0 : _b.call(_a, e);\n      if (alert.closeOnSecondaryAction !== false) {\n        handleHide(alert.id);\n      }\n    }\n  } : void 0 }, alert.id)) });\n};\nconst alertDialog = {\n  show: (params) => manager.show(params),\n  hide: (id) => manager.hide(id)\n};\nexport {\n  AlertDialogContainer,\n  alertDialog\n};\n","import { redirectLogin } from \"../utils/redirectLogin.js\";\nimport { alertDialog } from \"../containers/AlertDialogContainer/AlertDialogContainer.js\";\nconst useRedirectLoginDialog = () => {\n  const showRedirectLoginDialog = (content) => alertDialog.show({\n    title: content ?? \"로그인이 필요합니다. 로그인 하시겠습니까?\",\n    description: \"\",\n    primaryAction: {\n      label: \"확인\",\n      onClick: () => {\n        redirectLogin();\n      }\n    },\n    secondaryAction: {\n      label: \"취소\"\n    }\n  });\n  return {\n    showRedirectLoginDialog\n  };\n};\nexport {\n  useRedirectLoginDialog\n};\n","import { postMessage } from \"../utils/postMessage.js\";\nimport { getImageUrl } from \"../utils/image/getImageUrl.js\";\nconst REQUEST_TYPE = \"showSelectionEntryPoint\";\nconst useShowSelectionEntryPoint = () => {\n  const showSelectionEntryPoint = ({\n    productId,\n    imageUrl,\n    toastTheme = \"dark\",\n    currentScreen = \"view_component_content\"\n  }) => {\n    postMessage(REQUEST_TYPE, {\n      productImageURL: getImageUrl(imageUrl),\n      productID: productId,\n      toastTheme,\n      currentScreen\n    });\n  };\n  return {\n    showSelectionEntryPoint\n  };\n};\nexport {\n  useShowSelectionEntryPoint\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nvar HeartType = /* @__PURE__ */ ((HeartType2) => {\n  HeartType2[\"FILL\"] = \"fill\";\n  HeartType2[\"OUTLINE_SHADOW\"] = \"outlineShadow\";\n  HeartType2[\"OUTLINE_NONE_SHADOW\"] = \"outlineNoneShadow\";\n  return HeartType2;\n})(HeartType || {});\nconst HeartIcon = ({\n  type,\n  size = 24,\n  color = \"#fff\",\n  ...rest\n}) => {\n  if (type === \"fill\") {\n    return /* @__PURE__ */ jsx(\"svg\", { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...rest, children: /* @__PURE__ */ jsx(\"g\", { id: \"weight=bold, fill=true\", children: /* @__PURE__ */ jsx(\"path\", { id: \"vector\", fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M12.0001 6.41677C11.1926 4.696 9.48906 3.5 7.5 3.5C4.72132 3.5 2.5 5.83496 2.5 8.672C2.5 9.79894 2.96136 10.8146 3.39443 11.5251C3.61364 11.8847 3.83255 12.1775 3.99731 12.3812C4.07986 12.4832 4.14931 12.5635 4.19906 12.6193C4.22395 12.6472 4.24396 12.669 4.25826 12.6844L4.27534 12.7025L4.2805 12.708L4.28219 12.7097L12 20.7207L19.7169 12.7106L19.7178 12.7097L19.7195 12.708L19.7246 12.7026L19.7417 12.6844C19.756 12.669 19.776 12.6472 19.8009 12.6193C19.8507 12.5635 19.9201 12.4832 20.0027 12.3812C20.1674 12.1775 20.3864 11.8847 20.6056 11.5251C21.0386 10.8146 21.5 9.79895 21.5 8.672C21.5 5.83395 19.2786 3.5 16.5 3.5C14.5111 3.5 12.8077 4.69631 12.0001 6.41677Z\", fill: color }) }) });\n  }\n  if (type === \"outlineNoneShadow\") {\n    return /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: size, height: size, viewBox: \"0 0 21 21\", ...rest, children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.74992 4.25008C4.9239 4.25008 3.41659 5.79291 3.41659 7.72675C3.41659 8.44802 3.71659 9.1397 4.04017 9.67057C4.19973 9.93234 4.35954 10.1461 4.47892 10.2936C4.53846 10.3673 4.58754 10.4239 4.62094 10.4614C4.63763 10.4801 4.65037 10.4939 4.65851 10.5027L4.66716 10.5119L4.66839 10.5132L10.4999 16.5662L16.3309 10.5137L16.3327 10.5119L16.3413 10.5027C16.3495 10.4939 16.3622 10.4801 16.3789 10.4614C16.4123 10.4239 16.4614 10.3673 16.5209 10.2936C16.6403 10.1461 16.8001 9.93234 16.9597 9.67057C17.2832 9.1397 17.5833 8.44802 17.5833 7.72675C17.5833 5.79218 16.076 4.25008 14.2499 4.25008C12.4239 4.25008 10.9166 5.79291 10.9166 7.72675H10.0833C10.0833 5.79218 8.57599 4.25008 6.74992 4.25008ZM10.5 5.84739C9.82707 4.41342 8.40747 3.41675 6.74992 3.41675C4.43435 3.41675 2.58325 5.36254 2.58325 7.72675C2.58325 8.66587 2.96772 9.51223 3.32861 10.1043C3.51128 10.404 3.69371 10.648 3.83101 10.8177C3.8998 10.9028 3.95767 10.9697 3.99914 11.0162C4.01988 11.0394 4.03655 11.0576 4.04847 11.0704L4.0627 11.0855L4.067 11.09L4.06841 11.0915L10.4999 17.7673L16.9307 11.0923L16.9314 11.0915L16.9328 11.09L16.9371 11.0855L16.9514 11.0704C16.9633 11.0576 16.9799 11.0394 17.0007 11.0162C17.0421 10.9697 17.1 10.9028 17.1688 10.8177C17.3061 10.648 17.4885 10.404 17.6712 10.1043C18.0321 9.51223 18.4166 8.66587 18.4166 7.72675C18.4166 5.3617 16.5654 3.41675 14.2499 3.41675C12.5925 3.41675 11.173 4.41368 10.5 5.84739Z\", fill: color }) });\n  }\n  return /* @__PURE__ */ jsxs(\"svg\", { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", ...rest, children: [\n    /* @__PURE__ */ jsx(\"g\", { filter: \"url(#a)\", children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M7.5 4.8c-2.015 0-3.7 1.706-3.7 3.872 0 .787.33 1.561.704 2.176a6.68 6.68 0 0 0 .706.95l.008.01h.001L12 18.848l6.78-7.038.002-.001.008-.01.04-.044a6.688 6.688 0 0 0 .665-.905c.375-.616.705-1.39.705-2.177 0-2.166-1.685-3.872-3.7-3.872s-3.7 1.706-3.7 3.872h-1.6C11.2 6.506 9.515 4.8 7.5 4.8Zm4.5.982C11.07 4.238 9.412 3.2 7.5 3.2c-2.955 0-5.3 2.48-5.3 5.472 0 1.205.492 2.277.938 3.01a8.271 8.271 0 0 0 .837 1.137l.064.07.019.02.006.006.002.003L12 21.153l7.933-8.234v-.001l.003-.002.006-.007.02-.02.063-.07a8.28 8.28 0 0 0 .837-1.138c.446-.732.938-1.804.938-3.009 0-2.993-2.345-5.472-5.3-5.472-1.912 0-3.569 1.038-4.5 2.582Z\", fill: color }) }),\n    /* @__PURE__ */ jsx(\"defs\", { children: /* @__PURE__ */ jsxs(\"filter\", { id: \"a\", x: \".2\", y: \"1.2\", width: \"23.6\", height: \"21.953\", filterUnits: \"userSpaceOnUse\", colorInterpolationFilters: \"sRGB\", children: [\n      /* @__PURE__ */ jsx(\"feFlood\", { floodOpacity: \"0\", result: \"BackgroundImageFix\" }),\n      /* @__PURE__ */ jsx(\"feColorMatrix\", { in: \"SourceAlpha\", values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\", result: \"hardAlpha\" }),\n      /* @__PURE__ */ jsx(\"feOffset\", {}),\n      /* @__PURE__ */ jsx(\"feGaussianBlur\", { stdDeviation: \"1\" }),\n      /* @__PURE__ */ jsx(\"feComposite\", { in2: \"hardAlpha\", operator: \"out\" }),\n      /* @__PURE__ */ jsx(\"feColorMatrix\", { values: \"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.28 0\" }),\n      /* @__PURE__ */ jsx(\"feBlend\", { in2: \"BackgroundImageFix\", result: \"effect1_dropShadow_8463_207\" }),\n      /* @__PURE__ */ jsx(\"feBlend\", { in: \"SourceGraphic\", in2: \"effect1_dropShadow_8463_207\", result: \"shape\" })\n    ] }) })\n  ] });\n};\nexport {\n  HeartIcon,\n  HeartType\n};\n","import { toDate } from \"./toDate.js\";\nfunction isPast(date) {\n  return +toDate(date) < Date.now();\n}\nexport {\n  isPast as default,\n  isPast\n};\n","import { HeartType } from \"./HeartIcon.js\";\nimport { ProductCardType } from \"./ProductCard.types.js\";\nimport { entries } from \"../../../utils/entries.js\";\nimport { isPast } from \"../../../node_modules/date-fns/isPast.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nconst getHeartIconType = (isHeartOn, type) => {\n  if (isHeartOn === \"ON\") {\n    return HeartType.FILL;\n  }\n  if (type === ProductCardType.CARD || type === ProductCardType.CARD_DETAILED) {\n    return HeartType.OUTLINE_SHADOW;\n  }\n  return HeartType.OUTLINE_NONE_SHADOW;\n};\nconst getHeartIconColor = (isHeartOn, type) => {\n  if (isHeartOn === \"ON\") {\n    return \"#ff4801\";\n  }\n  if (type === ProductCardType.CARD || type === ProductCardType.CARD_DETAILED) {\n    return \"#fff\";\n  }\n  return \"#474747\";\n};\nconst getProductBadges = (product, type) => {\n  const {\n    isCoupon,\n    isFreeShipping,\n    isNew,\n    isSoldOut\n  } = product;\n  const badges = entries({\n    isCoupon,\n    isFreeShipping,\n    isNew,\n    isSoldOut\n  }).filter(([, condition]) => condition);\n  if (type === ProductCardType.BAR && badges.map(([value]) => value).includes(\"isSoldOut\")) {\n    return [[\"isSoldOut\", true]];\n  }\n  return badges;\n};\nconst getRulerProductBadges = (product, type) => {\n  const baseBadges = getProductBadges(product, type);\n  const badgeValue = {\n    isCoupon: {\n      name: \"쿠폰\",\n      type: \"secondary\"\n    },\n    isFreeShipping: {\n      name: \"무료배송\",\n      type: \"secondary\"\n    },\n    isNew: {\n      name: \"신상품\",\n      type: \"secondary\"\n    },\n    isSoldOut: {\n      name: \"일시품절\",\n      type: \"tertiary\"\n    }\n  };\n  return baseBadges.map(([value]) => ({\n    name: badgeValue[value].name,\n    priority: badgeValue[value].type\n  }));\n};\nconst isPreuserRecruitEnded = (recruitEndAt) => {\n  if (!recruitEndAt) {\n    return true;\n  }\n  const endDate = parseISO(recruitEndAt);\n  return isPast(endDate);\n};\nexport {\n  getHeartIconColor,\n  getHeartIconType,\n  getProductBadges,\n  getRulerProductBadges,\n  isPreuserRecruitEnded\n};\n","const createProductEventProperties = (product) => ({\n  brand_name: product.frontBrand.nameKor,\n  brand_no: String(product.frontBrand.frontBrandId),\n  item_name: product.productName,\n  item_no: String(product.productId),\n  like_count: String(product.heartCount),\n  price: product.lastSalePrice,\n  sold_out: product.isSoldOut,\n  discount_rate: product.lastSalePercent\n});\nexport {\n  createProductEventProperties\n};\n","function head(array) {\n  return array && array.length ? array[0] : void 0;\n}\nexport {\n  head as default\n};\n","import { getRoundingMethod } from \"./_lib/getRoundingMethod.js\";\nimport { millisecondsInHour } from \"./constants.js\";\nimport { differenceInMilliseconds } from \"./differenceInMilliseconds.js\";\nfunction differenceInHours(dateLeft, dateRight, options) {\n  const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInHour;\n  return getRoundingMethod(options == null ? void 0 : options.roundingMethod)(diff);\n}\nexport {\n  differenceInHours as default,\n  differenceInHours\n};\n","import { isPreuserRecruitEnded } from \"../../components/@shared/ProductCard/ProductCard.utils.js\";\nimport { useAnalytics } from \"../analytics/useAnalytics.js\";\nimport { useTrackSnowplowEvent } from \"../snowplow/useTrackSnowplowEvent.js\";\nimport { createContentEventProperties } from \"../../utils/event-properties/content.js\";\nimport { createProductEventProperties } from \"../../utils/event-properties/product.js\";\nimport head from \"../../node_modules/lodash-es/head.js\";\nimport { differenceInHours } from \"../../node_modules/date-fns/differenceInHours.js\";\nconst useTrackClickProduct = ({\n  product,\n  isProductGroup,\n  componentName,\n  positionNo,\n  maxPositionNo,\n  tagValue\n}) => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const trackClickProduct = (extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      ...createProductEventProperties(product),\n      is_product_group: isProductGroup.toString(),\n      component: componentName,\n      position_no: positionNo ? `${positionNo}` : void 0,\n      max_position_no: maxPositionNo ? `${maxPositionNo}` : void 0,\n      ...extra\n    };\n    const snowplowProperties = createSnowplowProductEventProperties(product, componentName, positionNo ?? 1);\n    trackSnowplowEvent(\"click_item\", {\n      ...snowplowProperties,\n      item_position: positionNo ?? 1,\n      tag_value: tagValue\n    });\n    trackFirebase(\"click_item_content\", properties);\n    trackAmplitude(\"click_item\", properties);\n  };\n  const trackClickPreuserProduct = () => {\n    trackSnowplowEvent(\"click_content\", {\n      ...createSnowplowPreuserEventProperties(product, componentName, positionNo ?? 1),\n      position: -1\n    });\n  };\n  return {\n    trackClickProduct,\n    trackClickPreuserProduct\n  };\n};\nconst useTrackViewProduct = ({\n  product,\n  isProductGroup,\n  componentName,\n  positionNo,\n  maxPositionNo\n}) => {\n  const {\n    trackFirebase\n  } = useAnalytics();\n  const trackViewProduct = (extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      ...createProductEventProperties(product),\n      is_product_group: isProductGroup.toString(),\n      component: componentName,\n      position_no: positionNo ? `${positionNo}` : void 0,\n      max_position_no: maxPositionNo ? `${maxPositionNo}` : void 0,\n      ...extra\n    };\n    trackFirebase(\"view_item_content\", properties);\n  };\n  return {\n    trackViewProduct\n  };\n};\nconst useTrackImpProduct = ({\n  product,\n  isProductGroup,\n  componentName,\n  positionNo,\n  maxPositionNo,\n  tagValue\n}) => {\n  const {\n    trackFirebase\n  } = useAnalytics();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const trackImpProduct = (extra = {}) => {\n    const properties = {\n      ...createContentEventProperties(),\n      ...createProductEventProperties(product),\n      is_product_group: isProductGroup.toString(),\n      component: componentName,\n      position_no: positionNo ? `${positionNo}` : void 0,\n      max_position_no: maxPositionNo ? `${maxPositionNo}` : void 0,\n      ...extra\n    };\n    const snowplowProperties = createSnowplowProductEventProperties(product, componentName, positionNo ?? 1);\n    trackSnowplowEvent(\"impression_item\", {\n      ...snowplowProperties,\n      item_position: positionNo ?? 1,\n      tag_value: tagValue\n    });\n    trackFirebase(\"imp_item_content\", properties);\n  };\n  const trackImpPreuserProduct = () => {\n    trackSnowplowEvent(\"impression_content\", {\n      ...createSnowplowPreuserEventProperties(product, componentName, positionNo ?? 1),\n      position: -1\n    });\n  };\n  return {\n    trackImpProduct,\n    trackImpPreuserProduct\n  };\n};\nconst useTrackClickProductHeart = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const trackClickProductHeartOn = (product, extra = {}) => {\n    const properties = {\n      ...createProductEventProperties(product),\n      ...extra\n    };\n    trackSnowplowEvent(\"like_item\", createSnowplowLikeEventProperties(product));\n    trackAmplitude(\"like_item\", properties);\n    trackFirebase(\"like_item\", properties);\n  };\n  const trackClickProductHeartOff = (product, extra = {}) => {\n    const properties = {\n      item_no: product.productId,\n      ...extra\n    };\n    trackSnowplowEvent(\"unlike_item\", createSnowplowLikeEventProperties(product));\n    trackAmplitude(\"unlike_item\", properties);\n    trackFirebase(\"unlike_item\", properties);\n  };\n  return {\n    trackClickProductHeartOn,\n    trackClickProductHeartOff\n  };\n};\nconst createSnowplowProductEventProperties = (product, componentName, positionNo) => {\n  const category = head(product.frontCategories);\n  return {\n    section_name: componentName,\n    section_title: componentName,\n    is_soldout: product.isSoldOut,\n    discount_rate: product.lastSalePercent,\n    price: product.lastSalePrice,\n    item_position: positionNo,\n    brand_no: product.frontBrand.frontBrandId,\n    brand_name: product.frontBrand.nameKor,\n    item_no: product.productId,\n    item_name: product.productName,\n    large_category_no: category == null ? void 0 : category.largeCategoryCode,\n    large_category_name: category == null ? void 0 : category.largeCategoryName,\n    middle_category_no: category == null ? void 0 : category.mediumCategoryCode,\n    middle_category_name: category == null ? void 0 : category.mediumCategoryName,\n    small_category_no: category == null ? void 0 : category.smallCategoryCode,\n    small_category_name: category == null ? void 0 : category.smallCategoryName\n  };\n};\nconst createSnowplowLikeEventProperties = (product) => ({\n  item_no: product.productId,\n  item_name: product.productName,\n  brand_no: product.frontBrand.frontBrandId,\n  brand_name: product.frontBrand.nameKor,\n  price: product.lastSalePrice,\n  is_soldout: product.isSoldOut\n});\nconst createSnowplowPreuserEventProperties = (product, componentName, positionNo) => {\n  const remainingHours = differenceInHours(new Date(product.recruitEndAt ?? \"\"), /* @__PURE__ */ new Date());\n  return {\n    section_name: componentName,\n    section_title: componentName,\n    layout_id: product.preuserEventKey,\n    item_no: product.productId,\n    item_name: product.productName,\n    brand_no: product.frontBrand.frontBrandId,\n    brand_name: product.frontBrand.nameKor,\n    layout_position: positionNo,\n    is_open: !isPreuserRecruitEnded(product.recruitEndAt),\n    remaining_hours: remainingHours < 0 ? null : remainingHours\n  };\n};\nexport {\n  useTrackClickProduct,\n  useTrackClickProductHeart,\n  useTrackImpProduct,\n  useTrackViewProduct\n};\n","import { useState } from \"react\";\nimport { productApi } from \"../../apis/product/ProductApiService.js\";\nimport { sendAppSchemeMessage } from \"../../utils/sendAppSchemeMessage.js\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../useCurrentUser.js\";\nimport \"framer\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../config/index.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../stores/content/content.store.js\";\nimport \"../stores/dialog/dialog.store.js\";\nimport \"../stores/global-layout/global-layout.store.js\";\nimport \"../stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { useRedirectLoginDialog } from \"../useRedirectLoginDialog.js\";\nimport { useShowSelectionEntryPoint } from \"../useShowSelectionEntryPoint.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { useTrackClickProductHeart } from \"./useEvent.js\";\nconst useProductHeart = (product, isHeartOn, onHeartOn, onHeartOff, extraEventTrackingProperties = {}) => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    showRedirectLoginDialog\n  } = useRedirectLoginDialog();\n  const {\n    showSelectionEntryPoint\n  } = useShowSelectionEntryPoint();\n  const {\n    trackClickProductHeartOn,\n    trackClickProductHeartOff\n  } = useTrackClickProductHeart();\n  const [heartCount, setHeartCount] = useState(product.heartCount);\n  const handleLikeOn = () => {\n    onHeartOn(product.productId);\n    setHeartCount((prev) => prev + 1);\n    trackClickProductHeartOn(product, extraEventTrackingProperties);\n    showSelectionEntryPoint(product);\n    sendAppSchemeMessage(\"heart/set\", `type=product&item_no=${product.productId}&set=1`);\n  };\n  const handleLikeOff = () => {\n    onHeartOff(product.productId);\n    setHeartCount((prev) => prev - 1);\n    trackClickProductHeartOff(product, extraEventTrackingProperties);\n    sendAppSchemeMessage(\"heart/set\", `type=product&item_no=${product.productId}&set=0`);\n  };\n  const handleToggleLike = async () => {\n    if (!logged) {\n      showRedirectLoginDialog();\n      return;\n    }\n    const isPrevHeartOff = isHeartOn === \"OFF\";\n    const action = isPrevHeartOff ? \"set\" : \"unset\";\n    try {\n      await productApi.toggleHeart(product.productId, action);\n      if (isPrevHeartOff) {\n        handleLikeOn();\n      } else {\n        handleLikeOff();\n      }\n    } catch (err) {\n      console.error(err);\n    }\n  };\n  return {\n    heartCount,\n    handleToggleLike\n  };\n};\nexport {\n  useProductHeart\n};\n","var Scene = /* @__PURE__ */ ((Scene2) => {\n  Scene2[\"MAIN\"] = \"MAIN\";\n  Scene2[\"BOTTOM_SHEET\"] = \"BOTTOM_SHEET\";\n  return Scene2;\n})(Scene || {});\nexport {\n  Scene\n};\n","import { create } from \"../../../node_modules/zustand/esm/index.js\";\nimport { Scene } from \"./global-scene-stack.types.js\";\nconst initialState = {\n  sceneStack: [Scene.MAIN]\n};\nconst useGlobalSceneStackStore = create((set) => ({\n  ...initialState,\n  dispatchPushSceneStack: (scene) => set(({\n    sceneStack\n  }) => ({\n    sceneStack: [...sceneStack, scene]\n  })),\n  dispatchPopSceneStack: () => set(({\n    sceneStack\n  }) => {\n    const copied = [...sceneStack];\n    copied.pop();\n    return {\n      sceneStack: copied\n    };\n  })\n}));\nexport {\n  useGlobalSceneStackStore\n};\n","function _toConsumableArray(arr) {\n  if (Array.isArray(arr)) {\n    for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n      arr2[i] = arr[i];\n    }\n    return arr2;\n  } else {\n    return Array.from(arr);\n  }\n}\nvar hasPassiveEvents = false;\nif (typeof window !== \"undefined\") {\n  var passiveTestOptions = {\n    get passive() {\n      hasPassiveEvents = true;\n      return void 0;\n    }\n  };\n  window.addEventListener(\"testPassive\", null, passiveTestOptions);\n  window.removeEventListener(\"testPassive\", null, passiveTestOptions);\n}\nvar isIosDevice = typeof window !== \"undefined\" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === \"MacIntel\" && window.navigator.maxTouchPoints > 1);\nvar locks = [];\nvar documentListenerAdded = false;\nvar initialClientY = -1;\nvar previousBodyOverflowSetting = void 0;\nvar previousBodyPaddingRight = void 0;\nvar allowTouchMove = function allowTouchMove2(el) {\n  return locks.some(function(lock) {\n    if (lock.options.allowTouchMove && lock.options.allowTouchMove(el)) {\n      return true;\n    }\n    return false;\n  });\n};\nvar preventDefault = function preventDefault2(rawEvent) {\n  var e = rawEvent || window.event;\n  if (allowTouchMove(e.target)) {\n    return true;\n  }\n  if (e.touches.length > 1)\n    return true;\n  if (e.preventDefault)\n    e.preventDefault();\n  return false;\n};\nvar setOverflowHidden = function setOverflowHidden2(options) {\n  if (previousBodyPaddingRight === void 0) {\n    var _reserveScrollBarGap = !!options && options.reserveScrollBarGap === true;\n    var scrollBarGap = window.innerWidth - document.documentElement.clientWidth;\n    if (_reserveScrollBarGap && scrollBarGap > 0) {\n      previousBodyPaddingRight = document.body.style.paddingRight;\n      document.body.style.paddingRight = scrollBarGap + \"px\";\n    }\n  }\n  if (previousBodyOverflowSetting === void 0) {\n    previousBodyOverflowSetting = document.body.style.overflow;\n    document.body.style.overflow = \"hidden\";\n  }\n};\nvar restoreOverflowSetting = function restoreOverflowSetting2() {\n  if (previousBodyPaddingRight !== void 0) {\n    document.body.style.paddingRight = previousBodyPaddingRight;\n    previousBodyPaddingRight = void 0;\n  }\n  if (previousBodyOverflowSetting !== void 0) {\n    document.body.style.overflow = previousBodyOverflowSetting;\n    previousBodyOverflowSetting = void 0;\n  }\n};\nvar isTargetElementTotallyScrolled = function isTargetElementTotallyScrolled2(targetElement) {\n  return targetElement ? targetElement.scrollHeight - targetElement.scrollTop <= targetElement.clientHeight : false;\n};\nvar handleScroll = function handleScroll2(event, targetElement) {\n  var clientY = event.targetTouches[0].clientY - initialClientY;\n  if (allowTouchMove(event.target)) {\n    return false;\n  }\n  if (targetElement && targetElement.scrollTop === 0 && clientY > 0) {\n    return preventDefault(event);\n  }\n  if (isTargetElementTotallyScrolled(targetElement) && clientY < 0) {\n    return preventDefault(event);\n  }\n  event.stopPropagation();\n  return true;\n};\nvar disableBodyScroll = function disableBodyScroll2(targetElement, options) {\n  if (!targetElement) {\n    console.error(\"disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.\");\n    return;\n  }\n  if (locks.some(function(lock2) {\n    return lock2.targetElement === targetElement;\n  })) {\n    return;\n  }\n  var lock = {\n    targetElement,\n    options: options || {}\n  };\n  locks = [].concat(_toConsumableArray(locks), [lock]);\n  if (isIosDevice) {\n    targetElement.ontouchstart = function(event) {\n      if (event.targetTouches.length === 1) {\n        initialClientY = event.targetTouches[0].clientY;\n      }\n    };\n    targetElement.ontouchmove = function(event) {\n      if (event.targetTouches.length === 1) {\n        handleScroll(event, targetElement);\n      }\n    };\n    if (!documentListenerAdded) {\n      document.addEventListener(\"touchmove\", preventDefault, hasPassiveEvents ? { passive: false } : void 0);\n      documentListenerAdded = true;\n    }\n  } else {\n    setOverflowHidden(options);\n  }\n};\nvar enableBodyScroll = function enableBodyScroll2(targetElement) {\n  if (!targetElement) {\n    console.error(\"enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.\");\n    return;\n  }\n  locks = locks.filter(function(lock) {\n    return lock.targetElement !== targetElement;\n  });\n  if (isIosDevice) {\n    targetElement.ontouchstart = null;\n    targetElement.ontouchmove = null;\n    if (documentListenerAdded && locks.length === 0) {\n      document.removeEventListener(\"touchmove\", preventDefault, hasPassiveEvents ? { passive: false } : void 0);\n      documentListenerAdded = false;\n    }\n  } else if (!locks.length) {\n    restoreOverflowSetting();\n  }\n};\nexport {\n  disableBodyScroll,\n  enableBodyScroll\n};\n","import { disableBodyScroll, enableBodyScroll } from \"../node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js\";\nimport { useIsomorphicLayoutEffect } from \"framer-motion\";\nfunction useBodyScrollLock(isLocked, targetElementRef) {\n  useIsomorphicLayoutEffect(() => {\n    const targetElement = targetElementRef.current;\n    if (isLocked && targetElement !== null) {\n      disableBodyScroll(targetElement);\n      return () => enableBodyScroll(targetElement);\n    }\n  }, [isLocked, targetElementRef]);\n}\nexport {\n  useBodyScrollLock\n};\n","import { useEffect } from \"react\";\nimport { useGlobalSceneStackStore } from \"./stores/global-scene-stack/global-scene-stack.store.js\";\nimport { shallow as shallow$1 } from \"../node_modules/zustand/esm/shallow.js\";\nconst useGlobalSceneStack = (isOpen, scene) => {\n  const [dispatchPushSceneStack, dispatchPopSceneStack] = useGlobalSceneStackStore((state) => [state.dispatchPushSceneStack, state.dispatchPopSceneStack], shallow$1);\n  useEffect(() => {\n    if (isOpen) {\n      dispatchPushSceneStack(scene);\n      return () => dispatchPopSceneStack();\n    }\n  }, [isOpen, scene, dispatchPushSceneStack, dispatchPopSceneStack]);\n};\nexport {\n  useGlobalSceneStack\n};\n","import { useMemo } from \"react\";\nimport { getAppBuildNumber, isIos, isAndroid } from \"../utils/device.js\";\nconst useTargetAppVersion = ({\n  minIosVersion,\n  minAndroidVersion,\n  maxIosVersion,\n  maxAndroidVersion\n}) => {\n  const isTargetAppVersion = useMemo(() => {\n    const buildNumber = getAppBuildNumber();\n    const isAdhocVersion = isIos() && Number.isNaN(buildNumber);\n    if (isAdhocVersion) {\n      return true;\n    }\n    if (isIos()) {\n      const canCheckIosVersion = minIosVersion || maxIosVersion;\n      const min = minIosVersion ?? -1;\n      const max = maxIosVersion ?? Infinity;\n      const isTargetIosVersion = buildNumber >= min && buildNumber <= max;\n      return canCheckIosVersion ? isTargetIosVersion : false;\n    }\n    if (isAndroid()) {\n      const canCheckAndroidVersion = minAndroidVersion || maxAndroidVersion;\n      const min = minAndroidVersion ?? -1;\n      const max = maxAndroidVersion ?? Infinity;\n      const isTargetAndroidVersion = buildNumber >= min && buildNumber <= max;\n      return canCheckAndroidVersion ? isTargetAndroidVersion : false;\n    }\n    return false;\n  }, [maxAndroidVersion, maxIosVersion, minAndroidVersion, minIosVersion]);\n  return {\n    isTargetAppVersion\n  };\n};\nexport {\n  useTargetAppVersion\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useDragControls, MotionConfig, motion } from \"framer-motion\";\nimport { useRef } from \"react\";\nimport \"../../../../hooks/stores/global-scene-stack/global-scene-stack.store.js\";\nimport { Scene } from \"../../../../hooks/stores/global-scene-stack/global-scene-stack.types.js\";\nimport { useBodyScrollLock } from \"../../../../hooks/useBodyScrollLock.js\";\nimport { useGlobalSceneStack } from \"../../../../hooks/useGlobalSceneStack.js\";\nimport { useTargetAppVersion } from \"../../../../hooks/useTargetAppVersion.js\";\nimport { getStyle } from \"../../../../styles/getStyle.js\";\nimport \"framer\";\nimport { isTabView } from \"../../../../utils/custom-tab/isTabView.js\";\nconst overlayStyles = {\n  base: {\n    position: \"fixed\",\n    top: 0,\n    left: 0,\n    right: 0,\n    bottom: 0,\n    backgroundColor: \"rgba(0, 0, 0, 0.8)\",\n    zIndex: 999,\n    cursor: \"pointer\"\n  }\n};\nconst contentStyles = (detent) => ({\n  base: {\n    position: \"fixed\",\n    left: 0,\n    right: 0,\n    bottom: 0,\n    height: detent === \"full-height\" ? \"calc(100% - 40px)\" : \"auto\",\n    borderRadius: \"20px 20px 0 0\",\n    boxShadow: \"0px -2px 5px rgba(0, 0, 0, 0.6)\",\n    backgroundColor: \"#ffffff\",\n    overflow: \"hidden\",\n    zIndex: 3100,\n    display: \"flex\",\n    flexDirection: \"column\"\n  }\n});\nconst handlebarContainerStyles = {\n  base: {\n    cursor: \"grab\",\n    position: \"sticky\",\n    top: 0,\n    backgroundColor: \"#ffffff\",\n    zIndex: 100,\n    /* 터치스크린 드래그 제스처 지원 */\n    /* https://www.framer.com/motion/use-drag-controls/#touch-support */\n    touchAction: \"none\",\n    display: \"flex\",\n    alignItems: \"center\",\n    justifyContent: \"center\",\n    height: 24\n  }\n};\nconst handlebarStyles = {\n  base: {\n    backgroundColor: \"#e4e4e4\",\n    width: 40,\n    height: 4,\n    borderRadius: 2\n  }\n};\nconst childrenContainer = {\n  base: {\n    flex: 1,\n    overflow: \"auto\"\n  }\n};\nconst transitionIn = {\n  type: \"spring\",\n  stiffness: 800,\n  damping: 60,\n  mass: 1\n};\nconst transitionOut = {\n  type: \"spring\",\n  stiffness: 1200,\n  damping: 60,\n  mass: 1\n};\nconst BottomSheet = ({\n  isOpen,\n  onClose,\n  children,\n  detent = \"full-height\",\n  draggable = true,\n  closeOnOverlayClick = true\n}) => {\n  const contentRef = useRef(null);\n  const dragControls = useDragControls();\n  useBodyScrollLock(isOpen, contentRef);\n  useGlobalSceneStack(isOpen, Scene.BOTTOM_SHEET);\n  const {\n    isTargetAppVersion\n  } = useTargetAppVersion({\n    minIosVersion: 1417,\n    maxIosVersion: 1426\n  });\n  return /* @__PURE__ */ jsxs(MotionConfig, { transition: isOpen ? transitionIn : transitionOut, children: [\n    /* @__PURE__ */ jsx(motion.div, { style: getStyle(overlayStyles), onClick: closeOnOverlayClick ? () => onClose() : void 0, variants: {\n      open: {\n        opacity: 1,\n        pointerEvents: \"initial\"\n      },\n      close: {\n        opacity: 0,\n        pointerEvents: \"none\"\n      }\n    }, initial: \"close\", animate: isOpen ? \"open\" : \"close\" }),\n    /* @__PURE__ */ jsxs(motion.div, { style: getStyle(contentStyles(detent)), variants: {\n      open: {\n        y: \"0%\"\n      },\n      close: {\n        y: \"105%\"\n      }\n    }, initial: \"close\", animate: isOpen ? \"open\" : \"close\", drag: draggable ? \"y\" : false, dragListener: false, dragControls, dragConstraints: {\n      top: 0\n    }, dragElastic: 0.1, dragSnapToOrigin: true, onDragEnd: (_, info) => {\n      if (info.offset.y > 200) {\n        onClose();\n      }\n    }, children: [\n      /* @__PURE__ */ jsx(\"div\", { style: getStyle(handlebarContainerStyles), onPointerDown: (event) => dragControls.start(event), children: /* @__PURE__ */ jsx(\"div\", { style: getStyle(handlebarStyles) }) }),\n      /* @__PURE__ */ jsxs(\"div\", { ref: contentRef, style: getStyle(childrenContainer), children: [\n        children,\n        isTargetAppVersion && isTabView() && /* @__PURE__ */ jsx(\"div\", { style: {\n          height: 86\n        } })\n      ] })\n    ] })\n  ] });\n};\nexport {\n  BottomSheet\n};\n","import { useState, useEffect } from \"react\";\nimport { isTabView } from \"../utils/custom-tab/isTabView.js\";\nimport { isMobile, isWebview, isIos, isAndroid } from \"../utils/device.js\";\nconst useDeviceInfo = () => {\n  const [isMobile$1, setIsMobile] = useState(false);\n  const [isWebview$1, setIsWebview] = useState(false);\n  const [isIos$1, setIsIos] = useState(false);\n  const [isAndroid$1, setIsAndroid] = useState(false);\n  const [isTabView$1, setIsTabView] = useState(false);\n  useEffect(() => {\n    setIsMobile(isMobile());\n    setIsWebview(isWebview());\n    setIsIos(isIos());\n    setIsAndroid(isAndroid());\n    setIsTabView(isTabView());\n  }, []);\n  return {\n    isMobile: isMobile$1,\n    isWebview: isWebview$1,\n    isIos: isIos$1,\n    isAndroid: isAndroid$1,\n    isTabView: isTabView$1\n  };\n};\nexport {\n  useDeviceInfo\n};\n","import { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { createContentEventProperties } from \"../../../utils/event-properties/content.js\";\nconst useTrackShareContent = () => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const trackShareContent = () => {\n    const properties = createContentEventProperties();\n    trackFirebase(\"share_content\", properties);\n    trackAmplitude(\"share_content\", properties);\n  };\n  return {\n    trackShareContent\n  };\n};\nexport {\n  useTrackShareContent\n};\n","import { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nimport { useToast } from \"../../../hooks/useToast.js\";\nimport { removeQueryString } from \"../../../utils/location.js\";\nimport { useTrackShareContent } from \"./ShareButton.hooks.event.js\";\nimport { appShare } from \"../../../utils/share/appshare.js\";\nimport { webShare } from \"../../../utils/share/webshare.js\";\nimport { isShareInternalLinkAvailable } from \"../../../utils/share/isShareInternalLinkAvailable.js\";\nconst useShareButton = () => {\n  const toast = useToast();\n  const {\n    trackShareContent\n  } = useTrackShareContent();\n  const handleClick = () => {\n    const data = createWebShareData();\n    trackShareContent();\n    if (isShareInternalLinkAvailable()) {\n      appShare(data);\n      return;\n    }\n    webShare(data, () => toast.show({\n      content: \"클립보드에 복사되었습니다.\"\n    }));\n  };\n  return {\n    handleClick\n  };\n};\nconst createWebShareData = () => {\n  const {\n    summary\n  } = useContentStore.getState();\n  return {\n    title: summary.title,\n    url: removeQueryString(window.location.href)\n  };\n};\nexport {\n  useShareButton\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst ShareIcon = ({\n  className,\n  stroke = \"#000\",\n  strokeWidth = 1.9,\n  size = 20\n}) => {\n  return /* @__PURE__ */ jsx(\"svg\", { className, style: {\n    marginRight: \"2px\"\n  }, xmlns: \"http://www.w3.org/2000/svg\", width: size, height: size, viewBox: \"0 0 20 22\", children: /* @__PURE__ */ jsx(\"g\", { fill: \"none\", fillRule: \"evenodd\", stroke, strokeWidth, children: /* @__PURE__ */ jsx(\"path\", { d: \"M17.5 15.402a3 3 0 1 1-3 5.196 3 3 0 0 1 3-5.196zM13.578 16.725l-7.179-4.5M6.598 9.5a3 3 0 1 0-5.196 3 3 3 0 0 0 5.196-3zM17.5 6.597A3 3 0 1 0 14.5 1.402 3 3 0 0 0 17.5 6.597zM13 5.5L6.678 9.616\" }) }) });\n};\nexport {\n  ShareIcon\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { tasteSharingApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst TASTE_SHARING_ACTIVE_PROGRAM_FETCHER_KEY = \"taste-sharing-active-program\";\nconst useFetchTasteSharingActiveProgram = ({\n  enabled = true\n}) => {\n  var _a;\n  const response = useSWR(enabled ? TASTE_SHARING_ACTIVE_PROGRAM_FETCHER_KEY : null, () => tasteSharingApi.getActiveProgram());\n  return {\n    tasteSharingProgramData: ((_a = response.data) == null ? void 0 : _a.data) ?? null,\n    isLoading: response.isLoading\n  };\n};\nexport {\n  useFetchTasteSharingActiveProgram\n};\n","import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { rewardVisitApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst REWARD_VISIT_MUTATION_KEY = \"reward-visit\";\nconst postRewardVisit = (_key, {\n  arg\n}) => rewardVisitApi.rewardVisit({\n  rewardKey: arg.rewardKey\n});\nconst useRewardVisitMutation = () => {\n  const {\n    trigger,\n    isMutating\n  } = useSWRMutation(REWARD_VISIT_MUTATION_KEY, postRewardVisit);\n  return {\n    trigger,\n    isLoading: isMutating\n  };\n};\nexport {\n  REWARD_VISIT_MUTATION_KEY,\n  useRewardVisitMutation\n};\n","import { useCallback } from \"react\";\nimport { env } from \"../../../../config/index.js\";\nimport { alertDialog } from \"../../../../containers/AlertDialogContainer/AlertDialogContainer.js\";\nimport { navigate } from \"../../../../utils/navigate.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nconst useRewardVisitErrorHandler = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const navigateToEventDetail = useCallback((rewardProgramKey) => {\n    if (!rewardProgramKey) {\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"more\",\n      button_name: \"이벤트 자세히 보기\",\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n    navigate(`${env.workspace.shop}/store/invite/taste-share/${rewardProgramKey}`);\n  }, [trackSnowplowEvent]);\n  const clickClose = useCallback((buttonName) => {\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"close\",\n      button_name: buttonName,\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n  }, [trackSnowplowEvent]);\n  const handleRewardVisitError = useCallback((errorCode, message, rewardProgramKey) => {\n    if (errorCode === \"ALREADY_RECEIVE_REWARD\") {\n      alertDialog.show({\n        title: \"이미 적립금을 받으셨어요.\",\n        description: \"소개하고 싶은 상품·브랜드·콘텐츠를 직접\\n공유하면 추가 적립금을 받을 수 있어요.\",\n        primaryAction: {\n          label: \"이벤트 자세히 보기\",\n          onClick: () => navigateToEventDetail(rewardProgramKey)\n        },\n        secondaryAction: {\n          label: \"닫기\",\n          onClick: () => clickClose(\"닫기\")\n        }\n      });\n      return;\n    }\n    if (errorCode === \"NOT_ACTIVE_REWARD_PROGRAM\") {\n      if (rewardProgramKey) {\n        alertDialog.show({\n          title: \"이벤트 링크가 만료되었어요.\",\n          description: \"진행 중인 이벤트 확인 후 다시 참여해 주세요.\",\n          primaryAction: {\n            label: \"이벤트 자세히 보기\",\n            onClick: () => navigateToEventDetail(rewardProgramKey)\n          },\n          secondaryAction: {\n            label: \"닫기\",\n            onClick: () => clickClose(\"닫기\")\n          }\n        });\n        return;\n      }\n      alertDialog.show({\n        title: \"이벤트가 종료되었어요.\",\n        description: null,\n        primaryAction: {\n          label: \"확인\",\n          onClick: () => clickClose(\"확인\")\n        }\n      });\n      return;\n    }\n    if (errorCode === \"DUPLICATE_SHARER_PARTICIPANT\") {\n      return;\n    }\n    alertDialog.show({\n      title: \"오류가 발생했습니다\",\n      description: message ?? \"보상 지급에 실패했습니다.\",\n      primaryAction: {\n        label: \"확인\",\n        onClick: () => clickClose(\"확인\")\n      }\n    });\n  }, [navigateToEventDetail, clickClose]);\n  return {\n    handleRewardVisitError\n  };\n};\nexport {\n  useRewardVisitErrorHandler\n};\n","import { useCallback } from \"react\";\nconst useRemoveRewardKey = () => {\n  const removeRewardKey = useCallback(() => {\n    if (typeof window === \"undefined\") {\n      return;\n    }\n    const url = new URL(window.location.href);\n    url.searchParams.delete(\"reward_key\");\n    window.history.replaceState(null, \"\", url.toString());\n  }, []);\n  return {\n    removeRewardKey\n  };\n};\nexport {\n  useRemoveRewardKey\n};\n","import { useState, useEffect } from \"react\";\nconst useIsMounted = () => {\n  const [isMounted, setIsMounted] = useState(false);\n  useEffect(() => {\n    setIsMounted(true);\n  }, []);\n  return isMounted;\n};\nexport {\n  useIsMounted\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { TextButton as R } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js\";\nimport { useEffect } from \"react\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { redirectLoginWithParams } from \"../../../../utils/redirectLogin.js\";\nconst LoginCallout = ({\n  participantMileageRewardsByAction,\n  rewardProgramKey,\n  rewardKey\n}) => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const totalMileageAmount = participantMileageRewardsByAction.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n  const navigateToLoginWithRedirectUrl = () => {\n    if (!rewardKey) {\n      return;\n    }\n    const params = new URLSearchParams({\n      taste_share_redirect_uri: document.location.href,\n      reward_key: rewardKey\n    });\n    redirectLoginWithParams(params);\n  };\n  useEffect(() => {\n    trackSnowplowEvent(\"impression_popup\", {\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      popup_id: \"reward_signup\"\n    });\n  }, []);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    rewardProgramKey ? /* @__PURE__ */ jsxs(\"span\", { className: \"text-m-bold text-on-white\", children: [\n      \"적립금을 받으려면 로그인이 필요해요.\",\n      /* @__PURE__ */ jsx(\"br\", {}),\n      \"첫 가입 시\",\n      \" \",\n      /* @__PURE__ */ jsxs(\"span\", { style: {\n        color: \"#FF6933\"\n      }, children: [\n        \"웰컴 쿠폰과 적립금 \",\n        totalMileageAmount.toLocaleString(),\n        \"원\"\n      ] }),\n      \"을 추가로 받을 수 있어요.\"\n    ] }) : /* @__PURE__ */ jsxs(\"span\", { className: \"text-m-bold text-on-white\", children: [\n      \"아쉽게도 취향 소개 이벤트는 종료되었어요.\",\n      /* @__PURE__ */ jsx(\"br\", {}),\n      \"지금 첫 가입하시면 \",\n      /* @__PURE__ */ jsx(\"span\", { style: {\n        color: \"#FF6933\"\n      }, children: \"웰컴 쿠폰\" }),\n      \"을 받을 수 있어요.\"\n    ] }),\n    /* @__PURE__ */ jsx(R, { label: \"로그인∙가입하기\", priority: \"secondary\", size: \"xSmall\", postfixIcon: \"ChevronRightLightIcon\", isWhite: true, onClick: navigateToLoginWithRedirectUrl })\n  ] });\n};\nexport {\n  LoginCallout\n};\n","import { useState, useEffect } from \"react\";\nimport \"./stores/content/content.store.js\";\nimport \"../utils/event-properties/source.js\";\nimport \"framer\";\nimport { isWebview } from \"../utils/device.js\";\nfunction useIsWebview() {\n  const [isWebView, setIsWebView] = useState(false);\n  useEffect(() => {\n    setIsWebView(isWebview());\n  }, []);\n  return isWebView;\n}\nexport {\n  useIsWebview\n};\n","import { useCallback } from \"react\";\nimport { env } from \"../../../../config/index.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useIsWebview } from \"../../../../hooks/useIsWebview.js\";\nconst useNavigateToEventHub = () => {\n  const isWebview = useIsWebview();\n  const navigateToEventHub = useCallback((rewardProgramKey) => {\n    if (!rewardProgramKey) {\n      return;\n    }\n    const pathname = `${env.workspace.shop}/store/invite/taste-share/${rewardProgramKey}`;\n    if (isWebview) {\n      globalThis.location.href = `app29cm://web/${pathname}`;\n      return;\n    }\n    globalThis.location.href = pathname;\n  }, [isWebview]);\n  return {\n    navigateToEventHub\n  };\n};\nexport {\n  useNavigateToEventHub\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { TextButton as R } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/TextButton/TextButton.js\";\nimport { useEffect } from \"react\";\nimport \"../../../../config/index.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { useNavigateToEventHub } from \"../hooks/useNavigateToEventHub.js\";\nconst MileageRewardCallout = ({\n  mileageText,\n  rewardProgramKey\n}) => {\n  const {\n    navigateToEventHub\n  } = useNavigateToEventHub();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const handleClickViewRewardDetails = () => {\n    navigateToEventHub(rewardProgramKey);\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"more\",\n      button_name: \"혜택 자세히 보기\",\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n  };\n  useEffect(() => {\n    trackSnowplowEvent(\"impression_popup\", {\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      popup_id: \"reward_success\"\n    });\n  }, []);\n  if (!mileageText) {\n    return null;\n  }\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"span\", { className: \"text-m-bold text-on-white\", children: mileageText }),\n    /* @__PURE__ */ jsx(R, { label: \"혜택 자세히 보기\", priority: \"secondary\", size: \"xSmall\", postfixIcon: \"ChevronRightLightIcon\", isWhite: true, onClick: handleClickViewRewardDetails })\n  ] });\n};\nexport {\n  MileageRewardCallout\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../apis/preuser/PreuserApiService.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { useIsMobileDevice } from \"../../../../hooks/useIsMobileDevice.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nconst CloseButton = ({\n  onClose\n}) => /* @__PURE__ */ jsx(\"button\", { type: \"button\", onClick: onClose, className: \"absolute right-0 top-0\", \"aria-label\": \"툴팁 닫기\", children: /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\", viewBox: \"0 0 16 16\", fill: \"none\", children: /* @__PURE__ */ jsx(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M14.6663 8.00065C14.6663 4.31875 11.6816 1.33398 7.99967 1.33398C4.31785 1.33407 1.33301 4.31881 1.33301 8.00065C1.33301 11.6825 4.31785 14.6672 7.99967 14.6673C11.6816 14.6673 14.6663 11.6825 14.6663 8.00065ZM5.74799 4.99458C5.86459 5.01127 5.97763 5.05888 6.07389 5.13737L6.12467 5.18294L7.99967 7.05794L9.87467 5.18294L9.92546 5.13737C10.0213 5.05921 10.1338 5.01168 10.2498 4.99479L10.2632 4.98147L10.2734 4.99178C10.4673 4.97058 10.6687 5.03428 10.8174 5.18294C10.9663 5.33188 11.03 5.53367 11.0084 5.72785L11.0168 5.73627L11.006 5.74707C10.9896 5.86434 10.9419 5.97809 10.863 6.07487L10.8174 6.12565L8.94238 8.00065L10.8174 9.87565L10.863 9.92578C10.9396 10.0198 10.9869 10.1298 11.0046 10.2435L11.0171 10.256L11.0076 10.2654C11.0317 10.4621 10.9683 10.6674 10.8174 10.8184C10.6667 10.969 10.4618 11.0324 10.2654 11.0087L10.2634 11.0108L10.2607 11.0081C10.1405 10.9928 10.0238 10.9447 9.9248 10.8639L9.87467 10.8184L7.99967 8.94336L6.12467 10.8184L6.07454 10.8639C5.97517 10.945 5.85783 10.9931 5.73712 11.0083L5.72416 11.0213L5.71375 11.0108C5.52359 11.028 5.32747 10.9638 5.18197 10.8184C5.03625 10.6726 4.97213 10.4761 4.98958 10.2856L4.97046 10.2665L4.99503 10.2419C5.01296 10.1287 5.06008 10.0193 5.13639 9.92578L5.18197 9.87565L7.05697 8.00065L5.18197 6.12565L5.13639 6.07487C5.05784 5.97854 5.01023 5.86538 4.99359 5.74867L4.97067 5.72578L4.989 5.70742C4.97401 5.5196 5.03831 5.32666 5.18197 5.18294C5.32544 5.03947 5.51798 4.97514 5.70551 4.98987L5.72436 4.97099L5.74799 4.99458Z\", fill: \"white\", fillOpacity: \"0.5\" }) }) });\nconst Tooltip = ({\n  children,\n  onClose\n}) => {\n  const isMobile = useIsMobileDevice();\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    zIndex: 4e3,\n    bottom: `calc(env(safe-area-inset-bottom) + ${isMobile ? \"12px\" : \"80px\"})`,\n    maxWidth: isMobile ? \"100%\" : \"370px\"\n  }, className: \"fixed bottom-[calc(var(--safe-area-inset-bottom)_+80px)] left-10 right-10 mx-auto rounded-4 bg-primary p-12\", children: /* @__PURE__ */ jsxs(\"div\", { className: \"relative flex flex-col justify-between gap-2\", children: [\n    children,\n    /* @__PURE__ */ jsx(CloseButton, { onClose })\n  ] }) });\n};\nexport {\n  Tooltip\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { tasteSharingApi } from \"../../apis/taste-sharing/TasteSharingApiService.js\";\nconst MY_REWARDS_FETCHER_KEY = \"my-rewards\";\nconst useMyRewards = ({\n  rewardProgramKey,\n  enabled\n}) => {\n  var _a, _b;\n  const response = useSWR(enabled && rewardProgramKey ? [MY_REWARDS_FETCHER_KEY, rewardProgramKey] : null, () => tasteSharingApi.getMyRewards(rewardProgramKey));\n  const mileageRewards = ((_b = (_a = response.data) == null ? void 0 : _a.data) == null ? void 0 : _b.mileageRewards) ?? [];\n  return {\n    mileageRewards\n  };\n};\nexport {\n  useMyRewards\n};\n","const getMileageText = (mileageRewards) => {\n  if (mileageRewards.length === 0) {\n    return null;\n  }\n  const hasVisit = mileageRewards.some((reward) => reward.participantAction === \"VISIT\");\n  const hasSignUp = mileageRewards.some((reward) => reward.participantAction === \"SIGN_UP\");\n  if (hasVisit && hasSignUp) {\n    const totalAmount2 = mileageRewards.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n    return `소개 링크로 가입+방문 완료! 적립금 ${totalAmount2.toLocaleString()}원 넣어드렸어요.`;\n  }\n  if (hasVisit) {\n    const visitReward = mileageRewards.find((reward) => reward.participantAction === \"VISIT\");\n    const amount = (visitReward == null ? void 0 : visitReward.mileageAmount) ?? 0;\n    return `소개 링크로 방문 완료! 적립금 ${amount.toLocaleString()}원 넣어드렸어요.`;\n  }\n  if (hasSignUp) {\n    const signUpReward = mileageRewards.find((reward) => reward.participantAction === \"SIGN_UP\");\n    const amount = (signUpReward == null ? void 0 : signUpReward.mileageAmount) ?? 0;\n    return `소개 링크로 가입 완료! 적립금 ${amount.toLocaleString()}원 넣어드렸어요.`;\n  }\n  const totalAmount = mileageRewards.reduce((sum, reward) => sum + reward.mileageAmount, 0);\n  return `소개 링크로 적립금 ${totalAmount.toLocaleString()}원 넣어드렸어요.`;\n};\nexport {\n  getMileageText\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useState, useRef, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport \"framer\";\nimport { getQueryParams } from \"../../../utils/location.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchTasteSharingActiveProgram } from \"../../../hooks/fetchers/useFetchTasteSharingActiveProgram.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport { useRewardVisitMutation } from \"../../../hooks/mutations/useRewardVisitMutation.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useRewardVisitErrorHandler } from \"./hooks/useRewardVisitErrorHandler.js\";\nimport { useRemoveRewardKey } from \"./hooks/useRemoveRewardKey.js\";\nimport { useIsMounted } from \"../../../hooks/useIsMounted.js\";\nimport { LoginCallout } from \"./tooltip/LoginTooltip.js\";\nimport { MileageRewardCallout } from \"./tooltip/MileageTooltip.js\";\nimport { Tooltip } from \"./tooltip/Tooltip.js\";\nimport { useMyRewards } from \"../../../hooks/fetchers/useMyRewards.js\";\nimport { getMileageText } from \"./utils/getMileageText.js\";\nimport { useTrackSnowplowEvent } from \"../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nconst ReferralEventRewardHandlerInner = ({\n  rewardKey,\n  tasteSharingProgramData,\n  isLoadingTasteSharingProgram\n}) => {\n  const {\n    rewardProgramKey,\n    participantMileageRewardsByAction\n  } = tasteSharingProgramData ?? {\n    rewardProgramKey: null,\n    participantMileageRewardsByAction: []\n  };\n  const {\n    logged\n  } = useCurrentUser();\n  const isMounted = useIsMounted();\n  const {\n    trigger,\n    isLoading\n  } = useRewardVisitMutation();\n  const {\n    handleRewardVisitError\n  } = useRewardVisitErrorHandler();\n  const {\n    removeRewardKey\n  } = useRemoveRewardKey();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const [tooltip, setTooltip] = useState(null);\n  const [isRewardVisitSuccess, setIsRewardVisitSuccess] = useState(false);\n  const {\n    mileageRewards\n  } = useMyRewards({\n    rewardProgramKey,\n    enabled: isRewardVisitSuccess\n  });\n  const processedRef = useRef(false);\n  useEffect(() => {\n    if (!isMounted) {\n      return;\n    }\n    if (!logged && !!rewardKey) {\n      setTooltip(\"login\");\n    }\n  }, [isMounted, logged, rewardKey]);\n  useEffect(() => {\n    if (!rewardKey) {\n      return;\n    }\n    if (processedRef.current || isLoading || isLoadingTasteSharingProgram || !logged) {\n      return;\n    }\n    processedRef.current = true;\n    const processRewardVisit = async () => {\n      try {\n        const result = await trigger({\n          rewardKey\n        });\n        if (result.result === \"SUCCESS\") {\n          setIsRewardVisitSuccess(true);\n          setTooltip(\"mileage\");\n        } else {\n          trackSnowplowEvent(\"impression_popup\", {\n            section_name: \"RewardAlert\",\n            section_title: \"RewardAlert\",\n            popup_id: \"reward_failure\"\n          });\n          handleRewardVisitError(result.errorCode, result.message, rewardProgramKey);\n        }\n      } catch (error) {\n        handleRewardVisitError(null, \"일시적인 오류가 발생했습니다. 잠시 후 다시 시도해주세요.\", rewardProgramKey);\n      } finally {\n        removeRewardKey();\n      }\n    };\n    processRewardVisit();\n  }, [handleRewardVisitError, isLoading, isLoadingTasteSharingProgram, logged, rewardKey, rewardProgramKey, trigger, removeRewardKey, trackSnowplowEvent]);\n  const clickCloseTooltip = () => {\n    setTooltip(null);\n    trackSnowplowEvent(\"click_button\", {\n      button_id: \"close\",\n      button_name: \"닫기\",\n      section_name: \"RewardAlert\",\n      section_title: \"RewardAlert\",\n      position: -1\n    });\n  };\n  if (tooltip === \"login\") {\n    return /* @__PURE__ */ jsx(Tooltip, { onClose: clickCloseTooltip, children: /* @__PURE__ */ jsx(LoginCallout, { participantMileageRewardsByAction, rewardProgramKey, rewardKey }) });\n  }\n  if (tooltip === \"mileage\") {\n    return /* @__PURE__ */ jsx(Tooltip, { onClose: clickCloseTooltip, children: /* @__PURE__ */ jsx(MileageRewardCallout, { rewardProgramKey, mileageText: getMileageText(mileageRewards) }) });\n  }\n  return null;\n};\nconst ReferralEventRewardHandler = () => {\n  const query = getQueryParams();\n  const rewardKey = query.reward_key ?? null;\n  const {\n    tasteSharingProgramData,\n    isLoading\n  } = useFetchTasteSharingActiveProgram({\n    enabled: !!rewardKey\n  });\n  if (!rewardKey && !tasteSharingProgramData) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(ReferralEventRewardHandlerInner, { rewardKey, tasteSharingProgramData, isLoadingTasteSharingProgram: isLoading });\n};\nexport {\n  ReferralEventRewardHandler\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { useShareButton } from \"./ShareButton.hooks.js\";\nimport { ShareIcon } from \"./ShareIcon.js\";\nimport { ShareButtonWithReferralEvent } from \"../ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js\";\nimport { ReferralEventRewardHandler } from \"../ReferralEventRewardHandler/ReferralEventRewardHandler.js\";\nimport \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchTasteSharingActiveProgram } from \"../../../hooks/fetchers/useFetchTasteSharingActiveProgram.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nconst ShareButton = ({\n  style\n}) => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    tasteSharingProgramData\n  } = useFetchTasteSharingActiveProgram({\n    enabled: logged\n  });\n  const {\n    handleClick\n  } = useShareButton();\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(ReferralEventRewardHandler, {}),\n    tasteSharingProgramData ? /* @__PURE__ */ jsx(ShareButtonWithReferralEvent, { tasteSharingProgramData, style }) : /* @__PURE__ */ jsx(\"button\", { style: {\n      ...buttonStyle,\n      ...style\n    }, type: \"button\", onClick: handleClick, children: /* @__PURE__ */ jsx(ShareIcon, {}) })\n  ] });\n};\nconst buttonStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  width: 42,\n  height: 42,\n  backgroundColor: \"#fff\",\n  borderRadius: \"50%\",\n  border: \"1px solid rgba(0, 0, 0, 0.08)\",\n  outline: \"none\",\n  cursor: \"pointer\"\n};\nexport {\n  ShareButton\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._childrenContainer_czkfq_1 > div {\\n  width: 100% !important;\\n}\\n\\n.hide-scroll-bar {\\n  -ms-overflow-style: none !important; /* Internet Explorer 10+ */\\n  scrollbar-width: none !important; /* Firefox */\\n}\\n\\n.hide-scroll-bar::-webkit-scrollbar {\\n  display: none !important; /* Safari and Chrome */\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst childrenContainer = \"_childrenContainer_czkfq_1\";\nconst css = {\n  childrenContainer\n};\nexport {\n  childrenContainer,\n  css as default\n};\n","import { createUseStyles } from \"../../../styles/createUseStyle.js\";\nconst createUseStylesForResponsiveSplitView = createUseStyles({\n  [\"split-view\"]: 780,\n  [\"split-view-small\"]: 615,\n  [\"unified-view\"]: 0\n});\nexport {\n  createUseStylesForResponsiveSplitView\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useSpring, useTransform, motion } from \"framer-motion\";\nimport { useState, useEffect } from \"react\";\nimport { BottomSheet } from \"../../@shared/bottom-sheets/BottomSheet/BottomSheet.js\";\nimport { useTrackClickComponent } from \"../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport { useGlobalLayoutStore } from \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useDeviceInfo } from \"../../../hooks/useDeviceInfo.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport { ShareButton } from \"../ShareButton/ShareButton.js\";\nimport css from \"./ResponsiveSplitView.module.css.js\";\nimport { createUseStylesForResponsiveSplitView } from \"./styles.js\";\nimport { Button as Default } from \"../../@shared/Button/Button.js\";\nconst useStyles = createUseStylesForResponsiveSplitView({\n  container: {\n    \"base\": {\n      minHeight: 400,\n      display: \"flex\"\n    },\n    \"unified-view\": {\n      height: \"auto\",\n      maxWidth: 615\n    }\n  },\n  mainContent: {\n    \"split-view\": {\n      width: 540\n    },\n    \"split-view-small\": {\n      flex: 1\n    }\n  },\n  sideContent: {\n    \"base\": {\n      position: \"sticky\",\n      top: 0,\n      backgroundColor: \"#ffffff\",\n      height: \"100vh\",\n      overflow: \"auto\"\n    },\n    \"split-view\": {\n      flex: 1\n    },\n    \"split-view-small\": {\n      width: 240\n    }\n  },\n  progressBarContainer: {\n    \"base\": {\n      position: \"fixed\",\n      top: 0,\n      left: 0,\n      width: \"\",\n      height: 2,\n      zIndex: 20,\n      backgroundColor: \"transparent\"\n    },\n    \"split-view\": {\n      width: 540\n    },\n    \"split-view-small\": {\n      width: \"calc(100% - 240px)\"\n    }\n  },\n  progressBar: {\n    base: {\n      width: \"100%\",\n      height: \"100%\",\n      backgroundColor: \"#FF4800\"\n    }\n  },\n  bottomSheetButtonContainer: {\n    base: {\n      position: \"fixed\",\n      right: \"calc(env(safe-area-inset-right) + 20px)\",\n      bottom: \"calc(env(safe-area-inset-bottom) + 12px)\",\n      left: \"calc(env(safe-area-inset-left) + 20px)\",\n      zIndex: 3e3,\n      display: \"flex\",\n      flexDirection: \"column\",\n      gap: 20\n    }\n  },\n  shareButtonContainer: {\n    \"base\": {\n      position: \"fixed\",\n      bottom: 20,\n      zIndex: 3e3,\n      paddingRight: 20\n    },\n    \"split-view\": {\n      right: \"calc(100% - 540px)\"\n    },\n    \"split-view-small\": {\n      right: 240\n    }\n  }\n});\nconst BASE_INSET_BOTTOM = 12;\nconst SAFE_AREA_INSET_BOTTOM = 35;\nconst ResponsiveSplitView = ({\n  style,\n  mainContent,\n  sideContent,\n  isCustomBottomSheetButton,\n  buttonTitle,\n  buttonTheme,\n  customBottomSheetButton,\n  buttonVisibilityThresholdVh\n}) => {\n  const {\n    breakpoint,\n    styles\n  } = useStyles();\n  const [isSideDrawerOpen, setIsSideDrawerOpen] = useState(false);\n  const isSplitView = breakpoint !== \"unified-view\";\n  const {\n    dispatchSetGlobalLayout\n  } = useGlobalLayoutStore();\n  const {\n    isWebview,\n    isTabView,\n    isIos\n  } = useDeviceInfo();\n  const {\n    scrollY,\n    scrollYProgress\n  } = useScroll();\n  const springScrollYProgress = useSpring(scrollYProgress, {\n    bounce: 0\n  });\n  const progressBarX = useTransform(springScrollYProgress, [0, 1], [\"-100%\", \"0%\"]);\n  const [isButtonVisble, setIsButtonVisible] = useState(false);\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  useEffect(() => {\n    scrollY.on(\"change\", (value) => {\n      setIsButtonVisible(value >= ((window == null ? void 0 : window.innerHeight) ?? 900) * buttonVisibilityThresholdVh / 100);\n    });\n  }, [buttonVisibilityThresholdVh, scrollY]);\n  useEffect(() => {\n    dispatchSetGlobalLayout(\"responsive-split-view\");\n    return () => dispatchSetGlobalLayout(\"default\");\n  }, [dispatchSetGlobalLayout]);\n  useEffect(() => {\n    if (breakpoint === \"split-view\" || breakpoint === \"split-view-small\") {\n      document.documentElement.classList.add(\"hide-scroll-bar\");\n      document.body.classList.add(\"hide-scroll-bar\");\n      return () => {\n        document.documentElement.classList.remove(\"hide-scroll-bar\");\n        document.body.classList.remove(\"hide-scroll-bar\");\n      };\n    }\n  }, [breakpoint]);\n  if (isSplitView) {\n    return /* @__PURE__ */ jsxs(\"div\", { style: {\n      ...styles.container,\n      width: style == null ? void 0 : style.width,\n      // NOTE: 반응형으로 다른 높이를 적용하기 위해 height는 코드에서 관리한다\n      height: isCanvas() ? 900 : void 0\n    }, children: [\n      /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, style: styles.mainContent, children: mainContent }),\n      /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, style: styles.sideContent, children: sideContent }),\n      isCanvas() ? null : /* @__PURE__ */ jsx(\"div\", { style: styles.progressBarContainer, children: /* @__PURE__ */ jsx(motion.div, { style: {\n        ...styles.progressBar,\n        x: progressBarX\n      } }) }),\n      /* @__PURE__ */ jsx(\"div\", { style: styles.shareButtonContainer, children: /* @__PURE__ */ jsx(ShareButton, {}) })\n    ] });\n  }\n  const toggleBottomSheet = () => {\n    trackClickComponent(\"BottomSheetButton\");\n    setIsSideDrawerOpen((isOpen) => !isOpen);\n  };\n  const getBottom = () => {\n    if (isTabView) {\n      return BASE_INSET_BOTTOM;\n    }\n    if (isWebview && isIos) {\n      return SAFE_AREA_INSET_BOTTOM + BASE_INSET_BOTTOM;\n    }\n    return `calc(env(safe-area-inset-bottom) + ${BASE_INSET_BOTTOM}px)`;\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...styles.container,\n    width: style == null ? void 0 : style.width\n    // NOTE: 반응형으로 다른 높이를 적용하기 위해 height는 코드에서 관리한다\n  }, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, children: mainContent }),\n    /* @__PURE__ */ jsxs(motion.div, { style: {\n      ...styles.bottomSheetButtonContainer,\n      bottom: getBottom()\n    }, initial: {\n      opacity: 0\n    }, animate: {\n      opacity: isButtonVisble ? 1 : 0,\n      pointerEvents: isButtonVisble ? void 0 : \"none\"\n    }, children: [\n      /* @__PURE__ */ jsx(ShareButton, { style: {\n        alignSelf: \"flex-end\"\n      } }),\n      isCustomBottomSheetButton ? /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, onClick: toggleBottomSheet, children: customBottomSheetButton }) : /* @__PURE__ */ jsx(motion.div, { onClick: toggleBottomSheet, initial: {\n        boxShadow: \"1px 1px 8px rgba(0, 0, 0, 0.3)\"\n      }, whileHover: {\n        y: -1,\n        boxShadow: \"2px 2px 12px rgba(0, 0, 0, 0.5)\"\n      }, whileTap: {\n        y: 0\n      }, children: /* @__PURE__ */ jsx(Default, { variant: \"primary\", theme: buttonTheme === \"dark\" ? \"light\" : \"dark\", fill: true, size: \"small\", children: buttonTitle }) })\n    ] }),\n    /* @__PURE__ */ jsx(BottomSheet, { isOpen: isSideDrawerOpen, onClose: () => setIsSideDrawerOpen(false), children: /* @__PURE__ */ jsx(\"div\", { className: css.childrenContainer, children: sideContent }) })\n  ] });\n};\naddPropertyControls(ResponsiveSplitView, {\n  mainContent: {\n    title: \"메인 콘텐츠\",\n    type: ControlType.ComponentInstance\n  },\n  sideContent: {\n    title: \"사이드 콘텐츠\",\n    type: ControlType.ComponentInstance\n  },\n  isCustomBottomSheetButton: {\n    title: \"모바일 버튼\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [false, true],\n    optionTitles: [\"기본\", \"커스텀\"],\n    defaultValue: false\n  },\n  buttonTitle: {\n    title: \"버튼 텍스트\",\n    type: ControlType.String,\n    defaultValue: \"텍스트를 입력해 주세요.\",\n    hidden: (props) => props.isCustomBottomSheetButton === true\n  },\n  buttonTheme: {\n    title: \"버튼 색상\",\n    type: ControlType.Enum,\n    displaySegmentedControl: true,\n    options: [\"dark\", \"light\"],\n    optionTitles: [\"검은색\", \"하얀색\"],\n    defaultValue: \"dark\",\n    hidden: (props) => props.isCustomBottomSheetButton === true\n  },\n  customBottomSheetButton: {\n    title: \"커스텀 버튼 프레임\",\n    type: ControlType.ComponentInstance,\n    hidden: (props) => (props.isCustomBottomSheetButton ?? false) === false\n  },\n  buttonVisibilityThresholdVh: {\n    title: \"버튼 등장 시점\",\n    type: ControlType.Number,\n    displayStepper: true,\n    defaultValue: 300,\n    unit: \"vh\"\n  }\n});\nexport {\n  ResponsiveSplitView\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._childrenContainer_754pp_1 {\\n  display: flex;\\n  align-items: center;\\n  justify-content: center;\\n}\\n\\n/* 아래 스타일들은 유튜브 비디오 컴포넌트의 비율을 커스텀하기 위한 스타일입니다. */\\n\\n._childrenContainer_754pp_1 > div {\\n  position: relative;\\n  width: 100% !important;\\n  height: 0 !important;\\n  padding-bottom: min(90vh, 150%); /* aspect-ratio: 2/3 */\\n}\\n\\n._childrenContainer_754pp_1 article {\\n  position: absolute !important;\\n  top: 0;\\n  left: 0;\\n  width: 100% !important;\\n  height: 100% !important;\\n}\\n\\n._childrenContainer_754pp_1 iframe {\\n  width: 100% !important;\\n  height: 100% !important;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst childrenContainer = \"_childrenContainer_754pp_1\";\nconst css = {\n  childrenContainer\n};\nexport {\n  childrenContainer,\n  css as default\n};\n","import { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useRef, useState } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useEffectOnce } from \"../../../hooks/react/useEffectOnce.js\";\nimport { useBodyScrollLock } from \"../../../hooks/useBodyScrollLock.js\";\nimport { createUseStylesForResponsiveSplitView } from \"../ResponsiveSplitView/styles.js\";\nimport css from \"./ResponsiveSplitViewOverlayButton.module.css.js\";\nconst useStyles = createUseStylesForResponsiveSplitView({\n  overlay: {\n    \"base\": {\n      position: \"fixed\",\n      top: 0,\n      left: 0,\n      backgroundColor: \"rgba(0,0,0,0.8)\",\n      zIndex: 6e3\n    },\n    \"split-view\": {\n      width: 540,\n      height: \"100vh\"\n    },\n    \"split-view-small\": {\n      width: \"calc(100% - 240px)\",\n      height: \"100vh\"\n    },\n    \"unified-view\": {\n      width: \"100vw\",\n      height: \"100vh\"\n    }\n  }\n});\nconst ResponsiveSplitViewOverlayButton = ({\n  style,\n  buttonElement,\n  overlayElement\n}) => {\n  const overlayRef = useRef(null);\n  const {\n    styles\n  } = useStyles();\n  const [isOpen, setIsOpen] = useState(false);\n  const [isRendered, setIsRendered] = useState(false);\n  useEffectOnce(() => setIsRendered(true));\n  useBodyScrollLock(isRendered && isOpen, overlayRef);\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(\"div\", { style, onClick: () => setIsOpen(true), children: buttonElement }),\n    isRendered && createPortal(isOpen && /* @__PURE__ */ jsx(\"div\", { ref: overlayRef, style: styles.overlay, className: css.childrenContainer, onClick: (event) => {\n      if (event.target === event.currentTarget) {\n        setIsOpen(false);\n      }\n    }, children: overlayElement }), document == null ? void 0 : document.body)\n  ] });\n};\naddPropertyControls(ResponsiveSplitViewOverlayButton, {\n  buttonElement: {\n    title: \"버튼 프레임\",\n    type: ControlType.ComponentInstance\n  },\n  overlayElement: {\n    title: \"오버레이 프레임\",\n    type: ControlType.ComponentInstance\n  }\n});\nexport {\n  ResponsiveSplitViewOverlayButton\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBarItem, {\n  container: css`\n    & {\n      position: relative;\n      flex: 1 0 auto;\n      text-decoration: none;\n    }\n  `,\n  label: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      padding: 0 12px;\n\n      height: 100%;\n      transition: color 250ms ease-in-out;\n    }\n  `,\n  indicator: css`\n    & {\n      position: absolute;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      height: 2px;\n      background-color: white;\n    }\n  `\n});\nconst TabBarItem = withStyle(({\n  id,\n  layoutId,\n  item,\n  selected,\n  onClick\n}) => {\n  const hash = `#${item.sectionId}`;\n  return /* @__PURE__ */ jsxs(\"a\", { className: classNames.container, id, href: hash, onClick: (event) => {\n    event.preventDefault();\n    history.replaceState(\"\", \"\", hash);\n    onClick(item);\n  }, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.label, style: {\n      color: selected ? \"#ffffff\" : \"#474747\"\n    }, children: item.label }),\n    selected && /* @__PURE__ */ jsx(motion.div, { className: classNames.indicator, layoutId, layout: true })\n  ] });\n});\nexport {\n  TabBarItem\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useMotionValueEvent, animate, MotionConfig, motion } from \"framer-motion\";\nimport { useRef, useState, useMemo, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport { useEffectOnce } from \"../../../hooks/react/useEffectOnce.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { useTrackClickTabBarContentEvent } from \"./TabBar.hooks.event.js\";\nimport { useTabBarContext } from \"./TabBarContext.js\";\nimport { TabBarItem } from \"./TabBarItem.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBar, {\n  wrapper: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      background-color: #000000;\n    }\n  `,\n  container: css`\n    & {\n      ${typographyCSS(14, 700, 1.3)}\n      letter-spacing: 0.02;\n      position: relative;\n      display: flex;\n      gap: 10px;\n      height: 50px;\n      width: 100%;\n      overflow: auto;\n      background-color: #000000;\n\n      /* Hide scrollbar for IE, Edge and Firefox */\n      -ms-overflow-style: none;\n      scrollbar-width: none;\n\n      @media (min-width: 540px) {\n        ${typographyCSS(16, 700, 1.4)}\n      }\n    }\n\n    /* Hide scrollbar for Chrome, Safari and Opera */\n    &::-webkit-scrollbar {\n      display: none;\n    }\n  `,\n  containerSmTypography: css`\n    ${typographyCSS(14, 700, 1.3)}\n  `\n});\nconst transition = {\n  type: \"spring\",\n  bounce: 0\n};\nconst TabBar = withStyle(({\n  style,\n  items,\n  padding = 0,\n  isMixed = false,\n  paddingTop = padding,\n  paddingRight = padding,\n  paddingBottom = padding,\n  paddingLeft = padding,\n  toggleMaxWidth = false,\n  maxWidth = 1114,\n  tabBarHeight = 50,\n  useSmallTypography = false\n}) => {\n  const containerRef = useRef(null);\n  const {\n    selectedIndex,\n    onSelectedIndexChange\n  } = useTabBarContext();\n  const [isInitialTabReady, setIsInitialTabReady] = useState(false);\n  const sectionElementsRef = useRef();\n  const {\n    scrollY\n  } = useScroll();\n  const {\n    trackClickTabBarContentEvent\n  } = useTrackClickTabBarContentEvent();\n  const uniqueId = useMemo(() => items.map((item) => item.sectionId).join(\"-\"), [items]);\n  useEffectOnce(() => {\n    const [hash] = window.location.hash.split(\"?\");\n    const initialItemIndex = items.findIndex((item) => `#${item.sectionId}` === hash);\n    if (initialItemIndex < 0) {\n      setIsInitialTabReady(true);\n      return;\n    }\n    setTimeout(() => {\n      setIsInitialTabReady(true);\n      requestAnimationFrame(() => {\n        selectItem(initialItemIndex, {\n          tabBarAnimation: false\n        });\n        scrollToSectionByIndex(initialItemIndex);\n      });\n    }, 500);\n  });\n  useEffect(() => {\n    if (!isInitialTabReady) {\n      return;\n    }\n    if (sectionElementsRef.current !== void 0) {\n      return;\n    }\n    sectionElementsRef.current = items.map((item) => document.getElementById(item.sectionId));\n  }, [isInitialTabReady]);\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (!isInitialTabReady) {\n      return;\n    }\n    const clientHeight = (document.documentElement.clientHeight ?? 0) * 0.3;\n    const elementOffsetTops = [...(sectionElementsRef.current ?? []).map((element) => element ? getAbsoluteOffsetTop(element) : 0), Infinity];\n    const foundIndex = Math.max(-1, elementOffsetTops.findIndex((offsetY) => latest + tabBarHeight + clientHeight <= offsetY) - 1);\n    if (foundIndex !== selectedIndex) {\n      selectItem(foundIndex);\n    }\n  });\n  const getItemIdForIndex = (index) => `tab-bar__${uniqueId}__${index}`;\n  const selectItem = (index, {\n    tabBarAnimation = true\n  } = {}) => {\n    onSelectedIndexChange(index);\n    focusTabByIndex(index, tabBarAnimation);\n  };\n  const scrollToSectionByIndex = (index) => {\n    var _a;\n    const element = ((_a = sectionElementsRef.current) == null ? void 0 : _a[index]) ?? void 0;\n    if (element !== void 0) {\n      window.scrollTo({\n        top: getAbsoluteOffsetTop(element) - tabBarHeight\n      });\n    }\n  };\n  const focusTabByIndex = (index, withAnimation) => {\n    const itemElement = document.getElementById(getItemIdForIndex(index));\n    const containerElement = containerRef.current;\n    if (itemElement === null || containerElement === null) {\n      return;\n    }\n    const centerPosition = itemElement.offsetLeft - containerElement.offsetWidth / 2 + itemElement.offsetWidth / 2;\n    if (!withAnimation) {\n      containerElement.scrollTo({\n        left: centerPosition\n      });\n      return;\n    }\n    animate(containerElement.scrollLeft, centerPosition, {\n      ...transition,\n      onUpdate: (latest) => {\n        containerElement.scrollTo({\n          left: latest\n        });\n      }\n    });\n  };\n  const handleClick = (index, item) => () => {\n    scrollToSectionByIndex(index);\n    trackClickTabBarContentEvent(index + 1, item);\n  };\n  const tabBarPadding = isMixed ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : `${padding}px`;\n  const tabBarMaxWidth = toggleMaxWidth ? `${maxWidth}px` : void 0;\n  return /* @__PURE__ */ jsx(MotionConfig, { transition, children: /* @__PURE__ */ jsx(\"div\", { className: classNames.wrapper, style: {\n    ...style,\n    height: tabBarHeight\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: `${classNames.container} ${useSmallTypography ? classNames.containerSmTypography : \"\"}`, ref: containerRef, layout: true, layoutRoot: true, style: {\n    padding: tabBarPadding,\n    maxWidth: tabBarMaxWidth\n  }, children: items.map((item, index) => /* @__PURE__ */ jsx(\n    TabBarItem,\n    {\n      id: getItemIdForIndex(index),\n      layoutId: uniqueId,\n      item,\n      selected: Math.max(0, selectedIndex) === index,\n      onClick: handleClick(index, item)\n    },\n    index\n  )) }) }) });\n});\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\naddPropertyControls(TabBar, {\n  items: {\n    title: \"탭\",\n    type: ControlType.Array,\n    control: {\n      type: ControlType.Object,\n      controls: {\n        label: {\n          title: \"탭 이름\",\n          type: ControlType.String,\n          defaultValue: \"탭\"\n        },\n        sectionId: {\n          title: \"스크롤 섹션 ID\",\n          type: ControlType.String\n        }\n      }\n    },\n    defaultValue: [{\n      label: \"Chapter 1\",\n      sectionId: \"chapter1\"\n    }, {\n      label: \"Chapter 2\",\n      sectionId: \"chapter2\"\n    }, {\n      label: \"Chapter 3\",\n      sectionId: \"chapter3\"\n    }]\n  },\n  padding: {\n    type: ControlType.FusedNumber,\n    title: \"Padding\",\n    defaultValue: 0,\n    toggleKey: \"isMixed\",\n    toggleTitles: [\"All\", \"Individual\"],\n    valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n    valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n    min: 0\n  },\n  toggleMaxWidth: {\n    type: ControlType.Boolean,\n    title: \"MaxWidth\",\n    enabledTitle: \"SET\",\n    disabledTitle: \"UNSET\",\n    defaultValue: false\n  },\n  maxWidth: {\n    type: ControlType.Number,\n    defaultValue: 1114,\n    min: 50,\n    unit: \"px\",\n    step: 1,\n    displayStepper: true,\n    hidden(props) {\n      return props.toggleMaxWidth === false;\n    }\n  }\n});\nexport {\n  TabBar\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._bar_1sd3d_1 {\\n  height: 6px;\\n}\\n\\n._text_1sd3d_5 {\\n  font-size: 16px;\\n}\\n\\n@media (max-width: 1023px) {\\n  ._bar_1sd3d_1 {\\n    height: 2px;\\n  }\\n\\n  ._text_1sd3d_5 {\\n    font-size: 12px;\\n  }\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst bar = \"_bar_1sd3d_1\";\nconst text = \"_text_1sd3d_5\";\nconst styles = {\n  bar,\n  text\n};\nexport {\n  bar,\n  styles as default,\n  text\n};\n","import { getRoundingMethod } from \"./_lib/getRoundingMethod.js\";\nimport { millisecondsInMinute } from \"./constants.js\";\nimport { differenceInMilliseconds } from \"./differenceInMilliseconds.js\";\nfunction differenceInMinutes(dateLeft, dateRight, options) {\n  const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;\n  return getRoundingMethod(options == null ? void 0 : options.roundingMethod)(diff);\n}\nexport {\n  differenceInMinutes as default,\n  differenceInMinutes\n};\n","import { toDate } from \"./toDate.js\";\nfunction startOfDay(date) {\n  const _date = toDate(date);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\nexport {\n  startOfDay as default,\n  startOfDay\n};\n","import { toDate } from \"../toDate.js\";\nfunction getTimezoneOffsetInMilliseconds(date) {\n  const _date = toDate(date);\n  const utcDate = new Date(\n    Date.UTC(\n      _date.getFullYear(),\n      _date.getMonth(),\n      _date.getDate(),\n      _date.getHours(),\n      _date.getMinutes(),\n      _date.getSeconds(),\n      _date.getMilliseconds()\n    )\n  );\n  utcDate.setUTCFullYear(_date.getFullYear());\n  return +date - +utcDate;\n}\nexport {\n  getTimezoneOffsetInMilliseconds\n};\n","import { millisecondsInDay } from \"./constants.js\";\nimport { startOfDay } from \"./startOfDay.js\";\nimport { getTimezoneOffsetInMilliseconds } from \"./_lib/getTimezoneOffsetInMilliseconds.js\";\nfunction differenceInCalendarDays(dateLeft, dateRight) {\n  const startOfDayLeft = startOfDay(dateLeft);\n  const startOfDayRight = startOfDay(dateRight);\n  const timestampLeft = +startOfDayLeft - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n  const timestampRight = +startOfDayRight - getTimezoneOffsetInMilliseconds(startOfDayRight);\n  return Math.round((timestampLeft - timestampRight) / millisecondsInDay);\n}\nexport {\n  differenceInCalendarDays as default,\n  differenceInCalendarDays\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport styles from \"./TimeProgressBar.module.css.js\";\nimport { differenceInMinutes } from \"../../../node_modules/date-fns/differenceInMinutes.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nimport { differenceInCalendarDays } from \"../../../node_modules/date-fns/differenceInCalendarDays.js\";\nconst TimeProgressBar = ({\n  style = {},\n  startDateString,\n  startTimeString,\n  endDateString,\n  endTimeString,\n  isDDayEnabled,\n  backgroundColor,\n  fillColor,\n  textColor\n}) => {\n  const startDate = parseISO(`${startDateString.slice(0, 10)}T${startTimeString}+09:00`);\n  const endDate = parseISO(`${endDateString.slice(0, 10)}T${endTimeString}+09:00`);\n  const today = /* @__PURE__ */ new Date();\n  const duration = Math.max(1, differenceInMinutes(endDate, startDate));\n  const remainder = Math.max(0, differenceInMinutes(endDate, today));\n  const progress = Math.max(5, (1 - remainder / duration) * 100);\n  const remainderDays = Math.max(0, differenceInCalendarDays(endDate, today));\n  const {\n    height: _,\n    ...styleWithoutHeight\n  } = style;\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...styleWithoutHeight\n  }, children: [\n    isDDayEnabled && /* @__PURE__ */ jsx(\"div\", { style: {\n      transform: `translateX(${Math.min(95, progress)}%)`,\n      marginBottom: 11\n    }, children: /* @__PURE__ */ jsxs(\"div\", { className: styles.text, style: {\n      display: \"inline-block\",\n      transform: \"translateX(-50%)\",\n      fontFamily: `'Pretendard Bold', 'Pretendard Bold Placeholder', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue',\n    'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji',\n    'Segoe UI Symbol', sans-serif`,\n      fontWeight: 700,\n      lineHeight: 1.2,\n      backgroundColor: fillColor,\n      color: textColor,\n      padding: \"4px 6px\"\n    }, children: [\n      \"D-\",\n      remainderDays === 0 ? \"DAY\" : remainderDays,\n      /* @__PURE__ */ jsx(\"div\", { style: {\n        position: \"absolute\",\n        top: \"100%\",\n        left: \"50%\",\n        transform: \"translateX(-50%)\",\n        width: 0,\n        height: 0,\n        borderLeft: \"5px solid transparent\",\n        borderRight: \"5px solid transparent\",\n        borderTop: `5px solid ${fillColor}`\n      } })\n    ] }) }),\n    /* @__PURE__ */ jsx(\"div\", { style: {\n      overflow: \"hidden\",\n      backgroundColor\n    }, children: /* @__PURE__ */ jsx(\"div\", { className: styles.bar, style: {\n      backgroundColor: fillColor,\n      transform: `translateX(${-100 + progress}%)`\n    } }) })\n  ] });\n};\naddPropertyControls(TimeProgressBar, {\n  startDateString: {\n    title: \"시작 날짜\",\n    type: ControlType.Date,\n    defaultValue: \"2024-01-25\"\n  },\n  startTimeString: {\n    title: \"시작 시간\",\n    description: \"예: 13:00:00 (시:분:초)\",\n    type: ControlType.String,\n    placeholder: \"13:00:00\",\n    defaultValue: \"00:00:00\"\n  },\n  endDateString: {\n    title: \"종료 날짜\",\n    type: ControlType.Date,\n    defaultValue: \"2024-02-25\"\n  },\n  endTimeString: {\n    title: \"종료 시간\",\n    description: \"예: 13:00:00 (시:분:초)\",\n    type: ControlType.String,\n    placeholder: \"13:00:00\",\n    defaultValue: \"00:00:00\"\n  },\n  isDDayEnabled: {\n    title: \"디데이 표시\",\n    type: ControlType.Boolean,\n    enabledTitle: \"표시\",\n    disabledTitle: \"숨김\",\n    defaultValue: false\n  },\n  backgroundColor: {\n    title: \"배경 색상\",\n    type: ControlType.Color,\n    defaultValue: \"#F4F4F4\"\n  },\n  fillColor: {\n    title: \"바 색상\",\n    type: ControlType.Color,\n    defaultValue: \"#FF4800\"\n  },\n  textColor: {\n    title: \"텍스트 색상\",\n    type: ControlType.Color,\n    defaultValue: \"#FFFFFF\",\n    hidden: (props) => !props.isDDayEnabled\n  }\n});\nexport {\n  TimeProgressBar\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_12171_1 > div {\\n  width: 100% !important;\\n  height: 100% !important;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_12171_1\";\nconst styles = {\n  container\n};\nexport {\n  container,\n  styles as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport styles from \"./ViewportContainer.module.css.js\";\nconst ViewportContainer = ({\n  style,\n  viewportHeight,\n  children\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { className: styles.container, style: {\n    width: style == null ? void 0 : style.width,\n    height: isCanvas() ? 9 * viewportHeight : `${viewportHeight}vh`\n  }, children });\n};\naddPropertyControls(ViewportContainer, {\n  viewportHeight: {\n    title: \"vh\",\n    type: ControlType.Number,\n    unit: \"vh\",\n    defaultValue: 100\n  },\n  children: {\n    type: ControlType.ComponentInstance\n  }\n});\nexport {\n  ViewportContainer\n};\n","import \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nimport \"react\";\nconst toRGBA = (color, opacity) => {\n  const matched = color.match(/\\d+/g);\n  if (!matched) {\n    return color;\n  }\n  const [r, g, b] = matched;\n  return `rgba(${r}, ${g}, ${b}, ${opacity})`;\n};\nconst shouldShowTabItem = (item, segmentState, logged) => {\n  if (isCanvas() || isFramerPreview()) {\n    return true;\n  }\n  if (!item.segment || item.segment.length === 0) {\n    return true;\n  }\n  if (item.segment.some((segment) => segment.type === \"\")) {\n    return true;\n  }\n  return item.segment.every((segment) => {\n    switch (segment.type) {\n      case \"login\":\n        return segmentState.isLogin;\n      case \"guest\":\n        return segmentState.guest;\n      case \"newBuyer\":\n        return !logged ? true : segmentState.isNewBuyer;\n      case \"categoryNewBuyerProduct\":\n        if (segment.groupId) {\n          return !logged ? true : segmentState.categoryNewBuyerStates[segment.groupId] ?? false;\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerStates).some(Boolean);\n      case \"categoryNewBuyerCoupon\":\n        if (segment.couponId) {\n          if (!logged) {\n            return true;\n          }\n          const parsedCouponIds = segment.couponId.split(\",\").map((id) => id.trim()).filter(Boolean);\n          return parsedCouponIds.some((id) => segmentState.categoryNewBuyerCouponStates[id] ?? false);\n        }\n        return !logged ? true : Object.values(segmentState.categoryNewBuyerCouponStates).some(Boolean);\n      case \"gender\": {\n        if (!segment.gender) {\n          return false;\n        }\n        return !logged ? true : segmentState.userGender !== null && segmentState.userGender === segment.gender;\n      }\n      default:\n        return true;\n    }\n  });\n};\nconst filterVisibleTabItems = (items, segmentState, logged) => {\n  return items.filter((item) => shouldShowTabItem(item, segmentState, logged));\n};\nexport {\n  filterVisibleTabItems,\n  shouldShowTabItem,\n  toRGBA\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { motion } from \"framer-motion\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { toRGBA } from \"./TabBarV3.utils.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBarItem, {\n  container: css`\n    & {\n      position: relative;\n      flex: 1 0 auto;\n      text-decoration: none;\n      cursor: pointer;\n      outline: none;\n\n      &:focus-visible {\n        outline: 2px solid #007aff;\n        outline-offset: -2px;\n      }\n    }\n  `,\n  label: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      padding: 0 12px;\n      height: 100%;\n      transition: color 250ms ease-in-out;\n    }\n  `,\n  indicator: css`\n    & {\n      position: absolute;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      height: 2px;\n    }\n  `\n});\nconst TabBarItem = withStyle(({\n  id,\n  layoutId,\n  item,\n  selected,\n  color,\n  onClick,\n  tabIndex = 0\n}) => {\n  const hash = `#${item.sectionId}`;\n  const handleKeyDown = (event) => {\n    if (event.key === \"Enter\" || event.key === \" \") {\n      event.preventDefault();\n      history.replaceState(\"\", \"\", hash);\n      onClick(item);\n    }\n  };\n  const handleClick = (event) => {\n    event.preventDefault();\n    history.replaceState(\"\", \"\", hash);\n    onClick(item);\n  };\n  return /* @__PURE__ */ jsxs(\"a\", { className: classNames.container, id, href: hash, role: \"tab\", \"aria-selected\": selected, \"aria-controls\": item.sectionId, tabIndex: selected ? tabIndex : -1, onClick: handleClick, onKeyDown: handleKeyDown, children: [\n    /* @__PURE__ */ jsx(\"div\", { className: classNames.label, style: {\n      color: selected ? color : toRGBA(color, 0.5)\n    }, children: item.label }),\n    selected && /* @__PURE__ */ jsx(motion.div, { className: classNames.indicator, style: {\n      backgroundColor: color\n    }, layoutId, layout: true, \"aria-hidden\": \"true\" })\n  ] });\n});\nexport {\n  TabBarItem\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { categoryFirstOrderApi } from \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nconst CATEGORY_COUPON_FIRST_ORDER_SEGMENT_LIST_FETCHER_KEY = \"category-coupon-first-order-segment-list\";\nconst useCategoryNewBuyerCoupons = (couponIds) => {\n  return useSWR(couponIds.length > 0 ? [CATEGORY_COUPON_FIRST_ORDER_SEGMENT_LIST_FETCHER_KEY, ...couponIds] : null, () => categoryFirstOrderApi.getCategoryCouponFirstOrderableList(couponIds));\n};\nexport {\n  useCategoryNewBuyerCoupons\n};\n","import { useMemo } from \"react\";\nimport { useCurrentUser } from \"../../../hooks/code-overrides/useCurrentUser.js\";\nimport { useUserFirstOrderSegment } from \"../../../hooks/code-overrides/useUserTargetSegment.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { useCategoryNewBuyerCoupons } from \"../../../hooks/fetchers/useCategoryNewBuyerCoupons.js\";\nimport { useCategoryNewBuyerProduct } from \"../../../hooks/fetchers/useCategoryNewBuyerProduct.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport { isFramerPreview } from \"../../../utils/framer/isFramerPreview.js\";\nconst extractRequiredSegments = (items) => {\n  const segments = /* @__PURE__ */ new Set();\n  const groupIds = /* @__PURE__ */ new Set();\n  const couponIds = /* @__PURE__ */ new Set();\n  items.forEach((item) => {\n    var _a;\n    (_a = item.segment) == null ? void 0 : _a.forEach((seg) => {\n      segments.add(seg.type);\n      if (seg.type === \"categoryNewBuyerProduct\" && seg.groupId) {\n        groupIds.add(seg.groupId);\n      }\n      if (seg.type === \"categoryNewBuyerCoupon\" && seg.couponId) {\n        seg.couponId.split(\",\").map((id) => id.trim()).filter(Boolean).forEach((id) => couponIds.add(id));\n      }\n    });\n  });\n  return {\n    segments,\n    groupIds,\n    couponIds\n  };\n};\nconst createCanvasSegmentState = (groupIds, couponIds) => {\n  const categoryNewBuyerStates = {};\n  groupIds.forEach((groupId) => {\n    categoryNewBuyerStates[groupId] = true;\n  });\n  const categoryNewBuyerCouponStates = {};\n  couponIds.forEach((couponId) => {\n    categoryNewBuyerCouponStates[couponId] = true;\n  });\n  return {\n    isLogin: true,\n    guest: true,\n    isNewBuyer: true,\n    categoryNewBuyerStates,\n    categoryNewBuyerCouponStates,\n    userGender: null\n  };\n};\nconst createRealSegmentState = (logged, userGender, userSegmentData, categoryQueries, couponListData, groupIds, couponIds) => {\n  var _a, _b;\n  const categoryNewBuyerStates = {};\n  if (logged) {\n    categoryQueries.forEach(({\n      groupId,\n      data\n    }) => {\n      var _a2;\n      categoryNewBuyerStates[groupId] = ((_a2 = data == null ? void 0 : data.data) == null ? void 0 : _a2.isOrderable) ?? false;\n    });\n  } else {\n    groupIds.forEach((groupId) => {\n      categoryNewBuyerStates[groupId] = false;\n    });\n  }\n  const categoryNewBuyerCouponStates = {};\n  if (logged) {\n    couponIds.forEach((couponId) => {\n      categoryNewBuyerCouponStates[couponId] = false;\n    });\n    (_a = couponListData == null ? void 0 : couponListData.data) == null ? void 0 : _a.forEach(({\n      couponId,\n      isOrderable\n    }) => {\n      categoryNewBuyerCouponStates[String(couponId)] = isOrderable;\n    });\n  } else {\n    couponIds.forEach((couponId) => {\n      categoryNewBuyerCouponStates[couponId] = false;\n    });\n  }\n  return {\n    isLogin: logged,\n    guest: !logged,\n    isNewBuyer: logged ? ((_b = userSegmentData == null ? void 0 : userSegmentData.data) == null ? void 0 : _b.isFirstOrder) ?? false : false,\n    categoryNewBuyerStates,\n    categoryNewBuyerCouponStates,\n    userGender: userGender ?? null\n  };\n};\nconst useTabBarSegments = (items) => {\n  const requiredSegments = useMemo(() => extractRequiredSegments(items), [items]);\n  const {\n    logged,\n    gender: userGender\n  } = useCurrentUser();\n  const needsUserSegment = requiredSegments.segments.has(\"login\") || requiredSegments.segments.has(\"guest\") || requiredSegments.segments.has(\"newBuyer\");\n  const {\n    data: userSegmentData,\n    isLoading: isUserSegmentLoading\n  } = useUserFirstOrderSegment(needsUserSegment && logged);\n  const needsCategoryNewBuyerProduct = requiredSegments.segments.has(\"categoryNewBuyerProduct\") && logged;\n  const groupIdsToQuery = needsCategoryNewBuyerProduct ? Array.from(requiredSegments.groupIds) : [];\n  const needsCategoryNewBuyerCoupon = requiredSegments.segments.has(\"categoryNewBuyerCoupon\") && logged;\n  const couponIdsToQuery = useMemo(() => needsCategoryNewBuyerCoupon ? Array.from(requiredSegments.couponIds).map(Number) : [], [needsCategoryNewBuyerCoupon, requiredSegments.couponIds]);\n  const categoryQueries = groupIdsToQuery.map((groupId) => {\n    const {\n      data,\n      isLoading: isCategoryNewBuyerProductLoading\n    } = useCategoryNewBuyerProduct(groupId);\n    return {\n      groupId,\n      data,\n      isLoading: isCategoryNewBuyerProductLoading\n    };\n  });\n  const {\n    data: couponListData,\n    isLoading: isCouponListLoading\n  } = useCategoryNewBuyerCoupons(couponIdsToQuery);\n  const allCategoryQueries = Array.from(requiredSegments.groupIds).map((groupId) => {\n    const existingQuery = categoryQueries.find((q) => q.groupId === groupId);\n    return existingQuery || {\n      groupId,\n      data: void 0,\n      isLoading: false\n    };\n  });\n  const segmentState = useMemo(() => {\n    if (isFramerPreview()) {\n      return createCanvasSegmentState(requiredSegments.groupIds, requiredSegments.couponIds);\n    }\n    return createRealSegmentState(logged, userGender, userSegmentData, allCategoryQueries, couponListData, requiredSegments.groupIds, requiredSegments.couponIds);\n  }, [logged, userGender, userSegmentData, allCategoryQueries, couponListData, requiredSegments.groupIds, requiredSegments.couponIds]);\n  const isLoading = useMemo(() => {\n    const userLoading = needsUserSegment && logged && isUserSegmentLoading;\n    const categoryNewBuyerProductLoading = needsCategoryNewBuyerProduct && categoryQueries.some(({\n      isLoading: isCategoryNewBuyerProductLoading\n    }) => isCategoryNewBuyerProductLoading);\n    const categoryNewBuyerCouponLoading = needsCategoryNewBuyerCoupon && isCouponListLoading;\n    return userLoading || categoryNewBuyerProductLoading || categoryNewBuyerCouponLoading;\n  }, [needsUserSegment, logged, isUserSegmentLoading, needsCategoryNewBuyerProduct, needsCategoryNewBuyerCoupon, categoryQueries, isCouponListLoading]);\n  return {\n    segmentState,\n    isLoading\n  };\n};\nexport {\n  useTabBarSegments\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useScroll, useMotionValue, animate, useMotionValueEvent, MotionConfig, motion } from \"framer-motion\";\nimport { useState, useRef, useMemo, useCallback, useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../hooks/useCurrentUser.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nimport { typographyCSS } from \"../../../styles/typography.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nimport { useTrackClickTabBarContentEvent } from \"../TabBar/TabBar.hooks.event.js\";\nimport { useTabBarContext } from \"../TabBar/TabBarContext.js\";\nimport { TabBarItem } from \"./TabBarItem.js\";\nimport { filterVisibleTabItems, toRGBA } from \"./TabBarV3.utils.js\";\nimport { useTabBarSegments } from \"./useTabBarSegments.js\";\nimport useMeasure from \"../../../node_modules/react-use/esm/useMeasure.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.TabBar, {\n  wrapper: css`\n    & {\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n  `,\n  container: css`\n    & {\n      ${typographyCSS(14, 700, 1.3)}\n      letter-spacing: 0.02;\n      position: relative;\n      display: flex;\n      gap: 10px;\n      height: 50px;\n      width: 100%;\n      overflow: auto;\n\n      /* Hide scrollbar for IE, Edge and Firefox */\n      -ms-overflow-style: none;\n      scrollbar-width: none;\n\n      @media (min-width: 540px) {\n        ${typographyCSS(16, 700, 1.4)}\n      }\n    }\n\n    /* Hide scrollbar for Chrome, Safari and Opera */\n    &::-webkit-scrollbar {\n      display: none;\n    }\n  `,\n  containerSmTypography: css`\n    ${typographyCSS(14, 700, 1.3)}\n  `\n});\nconst transition = {\n  type: \"spring\",\n  bounce: 0\n};\nconst backgroundColorByTheme = {\n  default: \"rgb(0,0,0)\",\n  negative: \"rgb(255, 255, 255)\"\n};\nconst textColorByTheme = {\n  default: \"rgb(255, 255, 255)\",\n  negative: \"rgb(0,0,0)\"\n};\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\nconst clamp = (value, lower, upper) => {\n  return Math.min(upper, Math.max(lower, value));\n};\nconst TabBarV3 = withStyle(({\n  style,\n  theme,\n  fadeInOut,\n  items,\n  padding = 0,\n  isMixed = false,\n  paddingTop = padding,\n  paddingRight = padding,\n  paddingBottom = padding,\n  paddingLeft = padding,\n  toggleMaxWidth = false,\n  maxWidth = 1114,\n  tabBarHeight = 50,\n  useSmallTypography = false\n}) => {\n  const {\n    selectedIndex,\n    onSelectedIndexChange\n  } = useTabBarContext();\n  const {\n    scrollY\n  } = useScroll();\n  const {\n    segmentState,\n    isLoading: isSegmentLoading\n  } = useTabBarSegments(items);\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    trackClickTabBarContentEvent\n  } = useTrackClickTabBarContentEvent();\n  const [isInitialTabReady, setIsInitialTabReady] = useState(false);\n  const [hasProcessedInitialHash, setHasProcessedInitialHash] = useState(false);\n  const wrapperRef = useRef(null);\n  const containerRef = useRef(null);\n  const sectionElementsRef = useRef();\n  const [ref, {\n    width: tabBarWidth\n  }] = useMeasure();\n  const couponIdExceedsLimit = useMemo(() => {\n    if (!isCanvas()) {\n      return false;\n    }\n    return items.some((item) => {\n      var _a;\n      return (_a = item.segment) == null ? void 0 : _a.some((seg) => {\n        if (seg.type !== \"categoryNewBuyerCoupon\" || !seg.couponId) {\n          return false;\n        }\n        const ids = seg.couponId.split(\",\").map((id) => id.trim()).filter(Boolean);\n        return ids.length > 10;\n      });\n    });\n  }, [items]);\n  const visibleItems = useMemo(() => {\n    if (isSegmentLoading) {\n      return items;\n    }\n    return filterVisibleTabItems(items, segmentState, logged);\n  }, [items, segmentState, isSegmentLoading, logged]);\n  const initialBackgroundColor = backgroundColorByTheme[theme];\n  const initialTextColor = textColorByTheme[theme];\n  const stableBackgroundColor = useMemo(() => toRGBA(initialBackgroundColor, fadeInOut ? 0 : 1), [initialBackgroundColor, fadeInOut]);\n  const position = useMotionValue(\"relative\");\n  const backgroundColor = useMotionValue(stableBackgroundColor);\n  const uniqueId = useMemo(() => items.map((item) => item.sectionId).join(\"-\"), [items]);\n  const indicatorLayoutId = `indicator-${uniqueId}`;\n  const getItemIdForIndex = useCallback((index) => `tab-bar__${uniqueId}__${index}`, [uniqueId]);\n  const focusTabByIndex = useCallback((index, withAnimation) => {\n    const itemElement = document.getElementById(getItemIdForIndex(index));\n    const containerElement = containerRef.current;\n    if (itemElement === null || containerElement === null) {\n      return;\n    }\n    const centerPosition = itemElement.offsetLeft - containerElement.offsetWidth / 2 + itemElement.offsetWidth / 2;\n    if (!withAnimation) {\n      containerElement.scrollTo({\n        left: centerPosition\n      });\n      return;\n    }\n    animate(containerElement.scrollLeft, centerPosition, {\n      ...transition,\n      onUpdate: (latest) => {\n        containerElement.scrollTo({\n          left: latest\n        });\n      }\n    });\n  }, [getItemIdForIndex]);\n  const selectItem = useCallback((index, {\n    tabBarAnimation = true\n  } = {}) => {\n    onSelectedIndexChange(index);\n    focusTabByIndex(index, tabBarAnimation);\n  }, [onSelectedIndexChange, focusTabByIndex]);\n  const scrollToSectionByIndex = useCallback((index) => {\n    var _a;\n    const element = (_a = sectionElementsRef.current) == null ? void 0 : _a[index];\n    if (!element) {\n      return;\n    }\n    try {\n      const rect = element.getBoundingClientRect();\n      const scrollTop = rect.top + window.scrollY - tabBarHeight;\n      if (scrollTop < 0) {\n        window.scrollTo({\n          top: 0\n        });\n        return;\n      }\n      const maxScroll = document.documentElement.scrollHeight - window.innerHeight;\n      if (scrollTop > maxScroll) {\n        window.scrollTo({\n          top: maxScroll\n        });\n        return;\n      }\n      window.scrollTo({\n        top: scrollTop\n      });\n    } catch {\n      return;\n    }\n  }, [tabBarHeight]);\n  const updateSectionElements = useCallback(() => {\n    if (isSegmentLoading || visibleItems.length === 0) {\n      return;\n    }\n    requestAnimationFrame(() => {\n      sectionElementsRef.current = visibleItems.map((item) => document.getElementById(item.sectionId));\n    });\n  }, [visibleItems, isSegmentLoading]);\n  useEffect(() => {\n    updateSectionElements();\n  }, [updateSectionElements]);\n  useEffect(() => {\n    backgroundColor.set(stableBackgroundColor);\n  }, [backgroundColor, stableBackgroundColor]);\n  useEffect(() => {\n    if (hasProcessedInitialHash) {\n      return;\n    }\n    const hash = window.location.hash;\n    if (!hash) {\n      setHasProcessedInitialHash(true);\n      setIsInitialTabReady(true);\n      return;\n    }\n    const targetId = hash.replace(\"#\", \"\");\n    let retryCount = 0;\n    let isUserInteracted = false;\n    const MAX_RETRIES = 30;\n    const scrollToHash = () => {\n      if (isUserInteracted) {\n        return;\n      }\n      const element = document.getElementById(targetId);\n      if (element) {\n        const rect = element.getBoundingClientRect();\n        const scrollTop = rect.top + window.scrollY - tabBarHeight;\n        window.scrollTo({\n          top: Math.max(0, scrollTop),\n          behavior: \"instant\"\n        });\n        const itemIndex = visibleItems.findIndex((item) => item.sectionId === targetId);\n        if (itemIndex >= 0) {\n          selectItem(itemIndex, {\n            tabBarAnimation: false\n          });\n        }\n      }\n    };\n    const handleUserInteraction = () => {\n      if (isUserInteracted) {\n        return;\n      }\n      isUserInteracted = true;\n      observer.disconnect();\n      clearTimeout(initialTimeout);\n      clearTimeout(forceCleanup);\n      setHasProcessedInitialHash(true);\n      setIsInitialTabReady(true);\n    };\n    const observer = new MutationObserver(() => {\n      if (isUserInteracted) {\n        observer.disconnect();\n        return;\n      }\n      if (retryCount++ < MAX_RETRIES) {\n        scrollToHash();\n      } else {\n        observer.disconnect();\n        setHasProcessedInitialHash(true);\n        setIsInitialTabReady(true);\n      }\n    });\n    observer.observe(document.body, {\n      childList: true,\n      subtree: true\n    });\n    const initialTimeout = setTimeout(() => {\n      scrollToHash();\n    }, 500);\n    window.addEventListener(\"wheel\", handleUserInteraction, {\n      passive: true\n    });\n    window.addEventListener(\"touchstart\", handleUserInteraction, {\n      passive: true\n    });\n    window.addEventListener(\"touchmove\", handleUserInteraction, {\n      passive: true\n    });\n    window.addEventListener(\"mousedown\", handleUserInteraction);\n    const forceCleanup = setTimeout(() => {\n      observer.disconnect();\n      setHasProcessedInitialHash(true);\n      setIsInitialTabReady(true);\n    }, 1e4);\n    return () => {\n      clearTimeout(initialTimeout);\n      clearTimeout(forceCleanup);\n      observer.disconnect();\n      window.removeEventListener(\"wheel\", handleUserInteraction);\n      window.removeEventListener(\"touchstart\", handleUserInteraction);\n      window.removeEventListener(\"touchmove\", handleUserInteraction);\n      window.removeEventListener(\"mousedown\", handleUserInteraction);\n    };\n  }, [hasProcessedInitialHash, visibleItems, tabBarHeight, selectItem]);\n  useEffect(() => {\n    const hash = window.location.hash;\n    if (hash) {\n      return;\n    }\n    if (hasProcessedInitialHash || isSegmentLoading || visibleItems.length === 0) {\n      return;\n    }\n    const [hashFromUrl] = window.location.hash.split(\"?\");\n    const initialItemIndex = visibleItems.findIndex((item) => `#${item.sectionId}` === hashFromUrl);\n    setHasProcessedInitialHash(true);\n    if (initialItemIndex >= 0) {\n      requestAnimationFrame(() => {\n        selectItem(initialItemIndex, {\n          tabBarAnimation: false\n        });\n      });\n    }\n    setIsInitialTabReady(true);\n  }, [hasProcessedInitialHash, isSegmentLoading, visibleItems, selectItem]);\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (wrapperRef.current === null) {\n      return;\n    }\n    const top = getAbsoluteOffsetTop(wrapperRef.current);\n    const isPassed = latest >= top;\n    const opacity = fadeInOut ? clamp((latest - top) / tabBarHeight, 0, 1) : 1;\n    backgroundColor.set(toRGBA(initialBackgroundColor, opacity));\n    position.set(isPassed ? \"fixed\" : \"relative\");\n  });\n  useMotionValueEvent(scrollY, \"change\", (latest) => {\n    if (!isInitialTabReady) {\n      return;\n    }\n    const clientHeight = (document.documentElement.clientHeight ?? 0) * 0.3;\n    const elementOffsetTops = [...(sectionElementsRef.current ?? []).map((element) => element ? getAbsoluteOffsetTop(element) : 0), Infinity];\n    const foundIndex = Math.max(-1, elementOffsetTops.findIndex((offsetY) => latest + tabBarHeight + clientHeight <= offsetY) - 1);\n    if (foundIndex !== selectedIndex) {\n      selectItem(foundIndex);\n    }\n  });\n  const handleClick = useCallback((index, item) => () => {\n    playHaptic(\"rigid\");\n    scrollToSectionByIndex(index);\n    trackClickTabBarContentEvent(index + 1, item);\n  }, [scrollToSectionByIndex, trackClickTabBarContentEvent]);\n  const handleKeyDown = useCallback((event) => {\n    const currentIndex = selectedIndex;\n    let newIndex = currentIndex;\n    switch (event.key) {\n      case \"ArrowLeft\":\n        newIndex = Math.max(0, currentIndex - 1);\n        break;\n      case \"ArrowRight\":\n        newIndex = Math.min(visibleItems.length - 1, currentIndex + 1);\n        break;\n      case \"Home\":\n        newIndex = 0;\n        break;\n      case \"End\":\n        newIndex = visibleItems.length - 1;\n        break;\n      default:\n        return;\n    }\n    if (newIndex !== currentIndex) {\n      event.preventDefault();\n      selectItem(newIndex);\n      scrollToSectionByIndex(newIndex);\n    }\n  }, [selectedIndex, visibleItems.length, selectItem, scrollToSectionByIndex]);\n  const tabBarPadding = isMixed ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : `${padding}px`;\n  const tabBarMaxWidth = toggleMaxWidth ? `${maxWidth}px` : void 0;\n  if (couponIdExceedsLimit) {\n    return /* @__PURE__ */ jsx(\"div\", { style: {\n      padding: \"12px 16px\",\n      backgroundColor: \"#fee2e2\",\n      color: \"#dc2626\",\n      fontSize: \"13px\",\n      fontWeight: 600,\n      borderRadius: \"8px\",\n      textAlign: \"center\"\n    }, children: \"쿠폰 ID는 최대 10개까지 입력할 수 있습니다.\" });\n  }\n  return /* @__PURE__ */ jsx(MotionConfig, { transition, children: /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([wrapperRef, ref]), style: {\n    height: tabBarHeight\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: classNames.wrapper, style: {\n    ...style,\n    width: tabBarWidth || \"100%\",\n    height: tabBarHeight,\n    position,\n    zIndex: 20,\n    top: 0,\n    left: 0,\n    right: 0,\n    backgroundColor\n  }, children: /* @__PURE__ */ jsx(motion.div, { className: `${classNames.container} ${useSmallTypography ? classNames.containerSmTypography : \"\"}`, ref: containerRef, layout: true, layoutRoot: true, role: \"tablist\", \"aria-orientation\": \"horizontal\", onKeyDown: handleKeyDown, style: {\n    padding: tabBarPadding,\n    maxWidth: tabBarMaxWidth,\n    backgroundColor\n  }, children: useMemo(() => visibleItems.map((item, index) => /* @__PURE__ */ jsx(TabBarItem, { id: getItemIdForIndex(index), layoutId: indicatorLayoutId, item, selected: Math.max(0, selectedIndex) === index, color: initialTextColor, onClick: handleClick(index, item), tabIndex: selectedIndex === index ? 0 : -1 }, item.sectionId)), [visibleItems, getItemIdForIndex, indicatorLayoutId, selectedIndex, initialTextColor, handleClick]) }) }) }) });\n});\naddPropertyControls(TabBarV3, {\n  theme: {\n    type: ControlType.Enum,\n    title: \"테마\",\n    options: [\"default\", \"negative\"],\n    optionTitles: [\"기본\", \"반전\"],\n    defaultValue: \"default\",\n    displaySegmentedControl: true\n  },\n  fadeInOut: {\n    type: ControlType.Boolean,\n    title: \"배경색 페이드 인/아웃\",\n    description: \"활성화 시 탭바가 상단에 붙은 상태로 스크롤되면 배경색의 투명도가 서서히 증감합니다.\",\n    defaultValue: false\n  },\n  items: {\n    title: \"탭\",\n    type: ControlType.Array,\n    control: {\n      type: ControlType.Object,\n      controls: {\n        label: {\n          title: \"탭 이름\",\n          type: ControlType.String,\n          defaultValue: \"탭\"\n        },\n        sectionId: {\n          title: \"스크롤 섹션 ID\",\n          type: ControlType.String\n        },\n        segment: {\n          title: \"세그먼트\",\n          type: ControlType.Array,\n          description: \"세그먼트 조건에 맞는 탭만 표시됩니다.\",\n          control: {\n            type: ControlType.Object,\n            controls: {\n              type: {\n                type: ControlType.Enum,\n                title: \"타입\",\n                options: [\"login\", \"guest\", \"newBuyer\", \"categoryNewBuyerProduct\", \"categoryNewBuyerCoupon\", \"gender\"],\n                optionTitles: [\"로그인\", \"미로그인\", \"생애 첫구매\", \"카테고리 첫구매 상품\", \"카테고리 첫구매 쿠폰\", \"성별\"],\n                defaultValue: \"\"\n              },\n              groupId: {\n                hidden: ({\n                  type\n                }) => type !== \"categoryNewBuyerProduct\",\n                type: ControlType.String,\n                title: \"그룹 ID\",\n                description: \"categoryNewBuyerProduct 타입일 때 사용할 그룹 ID\",\n                defaultValue: \"\"\n              },\n              couponId: {\n                hidden: ({\n                  type\n                }) => type !== \"categoryNewBuyerCoupon\",\n                type: ControlType.String,\n                title: \"쿠폰 IDs\",\n                description: \"최대 10개, 복수 id를 , 로 구분해서 입력\",\n                defaultValue: \"\"\n              },\n              gender: {\n                hidden: ({\n                  type\n                }) => type !== \"gender\",\n                type: ControlType.Enum,\n                title: \"성별\",\n                description: \"선택한 성별의 유저에게만 노출됩니다. 미로그인 유저에게는 항상 노출됩니다.\",\n                options: [\"M\", \"F\"],\n                optionTitles: [\"남성\", \"여성\"],\n                defaultValue: \"M\"\n              }\n            }\n          }\n        }\n      }\n    },\n    defaultValue: [{\n      label: \"Chapter 1\",\n      sectionId: \"chapter1\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 2\",\n      sectionId: \"chapter2\",\n      segment: [{\n        type: \"\"\n      }]\n    }, {\n      label: \"Chapter 3\",\n      sectionId: \"chapter3\",\n      segment: [{\n        type: \"\"\n      }]\n    }]\n  },\n  padding: {\n    type: ControlType.FusedNumber,\n    title: \"Padding\",\n    defaultValue: 0,\n    toggleKey: \"isMixed\",\n    toggleTitles: [\"All\", \"Individual\"],\n    valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n    valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n    min: 0\n  },\n  toggleMaxWidth: {\n    type: ControlType.Boolean,\n    title: \"MaxWidth\",\n    enabledTitle: \"SET\",\n    disabledTitle: \"UNSET\",\n    defaultValue: false\n  },\n  maxWidth: {\n    type: ControlType.Number,\n    defaultValue: 1114,\n    min: 50,\n    unit: \"px\",\n    step: 1,\n    displayStepper: true,\n    hidden(props) {\n      return props.toggleMaxWidth === false;\n    }\n  }\n});\nexport {\n  TabBarV3\n};\n","const callMolocoTracker = (trackerUrl) => {\n  if (!trackerUrl) {\n    return;\n  }\n  fetch(trackerUrl, {\n    method: \"GET\",\n    cache: \"no-store\",\n    mode: \"no-cors\"\n  }).catch(() => {\n  });\n};\nexport {\n  callMolocoTracker\n};\n","import { useInView } from \"framer-motion\";\nimport { useEffect } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"framer\";\nimport { conditional } from \"../../../utils/function.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../providers/ThemeProvider/ThemeProvider.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useTrackClickProduct, useTrackViewProduct, useTrackImpProduct } from \"../../../hooks/product/useEvent.js\";\nimport { callMolocoTracker } from \"../../../utils/moloco-tracker.js\";\nconst useTrackProductEvents = ({\n  ref,\n  eventProperties,\n  extraEventProperties,\n  variant\n}) => {\n  var _a, _b, _c, _d, _e, _f;\n  const {\n    trackClickProduct,\n    trackClickPreuserProduct\n  } = useTrackClickProduct(eventProperties);\n  const {\n    trackViewProduct\n  } = useTrackViewProduct(eventProperties);\n  const {\n    trackImpProduct,\n    trackImpPreuserProduct\n  } = useTrackImpProduct(eventProperties);\n  const molocoImpressionUrl = (_c = (_b = (_a = eventProperties.product.itemEvent) == null ? void 0 : _a.impression) == null ? void 0 : _b.moloco) == null ? void 0 : _c.trackerUrl;\n  const molocoClickUrl = (_f = (_e = (_d = eventProperties.product.itemEvent) == null ? void 0 : _d.onClick) == null ? void 0 : _e.moloco) == null ? void 0 : _f.trackerUrl;\n  const isInView = useInView(ref, {\n    amount: 0.5\n  });\n  const isAllInView = useInView(ref, {\n    amount: 0.99\n  });\n  const trackClickProductEvent = () => {\n    conditional(!isInView, () => trackViewProduct(extraEventProperties))();\n    conditional(!isAllInView, () => trackImpProduct(extraEventProperties))();\n    trackClickProduct(extraEventProperties);\n    callMolocoTracker(molocoClickUrl);\n  };\n  const trackClickPreuserProductEvent = () => {\n    conditional(!isInView, () => trackViewProduct(extraEventProperties))();\n    conditional(!isAllInView, () => trackImpPreuserProduct())();\n    trackClickPreuserProduct();\n  };\n  useEffect(() => conditional(isInView, () => trackViewProduct(extraEventProperties))(), [isInView]);\n  useEffect(\n    () => conditional(isAllInView, () => {\n      if (variant === \"preuser\") {\n        trackImpPreuserProduct();\n      } else {\n        trackImpProduct(extraEventProperties);\n      }\n      callMolocoTracker(molocoImpressionUrl);\n    })(),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [isAllInView, variant]\n  );\n  return {\n    trackClickProductEvent,\n    trackClickPreuserProductEvent\n  };\n};\nexport {\n  useTrackProductEvents\n};\n","const commonStyle = {\n  productContainer: {\n    justifySelf: \"start\",\n    flex: \"1\",\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: \"6px\"\n  },\n  productName: {\n    fontFamily: \"'Pretendard Regular', 'Pretendard Regular Placeholder', sans-serif\",\n    fontSize: \"12px\",\n    lineHeight: \"1.2em\"\n  },\n  productTitleWrapper: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: \"2px\"\n  },\n  ellipsis: {\n    overflow: \"hidden\",\n    display: \"-webkit-box\",\n    wordWrap: \"break-word\",\n    wordBreak: \"break-all\",\n    whiteSpace: \"normal\",\n    WebkitBoxOrient: \"vertical\",\n    WebkitLineClamp: 1\n  }\n};\nconst commonStyleByTheme = {\n  light: {\n    brandName: {\n      base: {\n        color: \"#000000\"\n      }\n    },\n    productName: {\n      base: {\n        color: \"#000000\"\n      }\n    },\n    salePercent: {\n      base: {\n        color: \"#ff4800\"\n      },\n      soldout: {\n        color: \"#c4c4c4\"\n      }\n    },\n    price: {\n      base: {\n        color: \"#000000\"\n      },\n      soldout: {\n        color: \"#c4c4c4\"\n      }\n    }\n  },\n  dark: {\n    brandName: {\n      base: {\n        color: \"#ffffff\"\n      }\n    },\n    productName: {\n      base: {\n        color: \"#ffffff\"\n      }\n    },\n    salePercent: {\n      base: {\n        color: \"#d53e00\"\n      },\n      soldout: {\n        color: \"#303033\"\n      }\n    },\n    price: {\n      base: {\n        color: \"#ffffff\"\n      },\n      soldout: {\n        color: \"#303033\"\n      }\n    }\n  }\n};\nconst barStyle = {\n  layout: {\n    display: \"flex\",\n    flexDirection: \"row\",\n    alignItems: \"center\",\n    gap: \"8px\",\n    width: \"100%\",\n    cursor: \"pointer\"\n  },\n  heartContainer: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    alignItems: \"center\",\n    width: \"42px\"\n  },\n  heartCount: {\n    small: {\n      fontSize: \"11px\",\n      color: \"#474747\"\n    },\n    medium: {\n      fontSize: \"12px\",\n      color: \"#474747\"\n    }\n  },\n  heartIcon: {\n    justifySelf: \"flex-end\"\n  },\n  preview: {\n    small: {\n      position: \"relative\",\n      width: \"56px\",\n      height: \"56px\",\n      aspectRatio: \"1 / 1\"\n    },\n    medium: {\n      position: \"relative\",\n      width: \"80px\",\n      height: \"80px\",\n      aspectRatio: \"1 / 1\"\n    }\n  },\n  productSaleWrapper: {\n    display: \"flex\",\n    gap: \"2px\",\n    marginTop: \"2px\",\n    fontSize: \"13px\",\n    fontFamily: \"'Pretendard Bold', 'Pretendard Bold Placeholder', sans-serif\",\n    lineHeight: \"1.2em\"\n  }\n};\nconst cardStyle = {\n  layout: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: \"10px\",\n    width: \"100%\",\n    cursor: \"pointer\"\n  },\n  preview: {\n    position: \"relative\",\n    maxWidth: \"100%\",\n    maxHeight: \"100%\",\n    aspectRatio: \"1 / 1\"\n  },\n  heartIcon: {\n    position: \"absolute\",\n    top: \"7px\",\n    right: \"7px\"\n  },\n  heartClickArea: {\n    position: \"absolute\",\n    top: \"0px\",\n    right: \"0px\",\n    width: \"38px\",\n    height: \"38px\"\n  },\n  productSaleWrapper: {\n    display: \"flex\",\n    gap: \"2px\",\n    marginTop: \"4px\",\n    fontSize: \"14px\",\n    fontFamily: \"'Pretendard Bold', 'Pretendard Bold Placeholder', sans-serif\",\n    lineHeight: \"1.2em\"\n  }\n};\nexport {\n  barStyle,\n  cardStyle,\n  commonStyle,\n  commonStyleByTheme\n};\n","import { differenceInCalendarDays } from \"./differenceInCalendarDays.js\";\nimport { toDate } from \"./toDate.js\";\nfunction differenceInDays(dateLeft, dateRight) {\n  const _dateLeft = toDate(dateLeft);\n  const _dateRight = toDate(dateRight);\n  const sign = compareLocalAsc(_dateLeft, _dateRight);\n  const difference = Math.abs(differenceInCalendarDays(_dateLeft, _dateRight));\n  _dateLeft.setDate(_dateLeft.getDate() - sign * difference);\n  const isLastDayNotFull = Number(\n    compareLocalAsc(_dateLeft, _dateRight) === -sign\n  );\n  const result = sign * (difference - isLastDayNotFull);\n  return result === 0 ? 0 : result;\n}\nfunction compareLocalAsc(dateLeft, dateRight) {\n  const diff = dateLeft.getFullYear() - dateRight.getFullYear() || dateLeft.getMonth() - dateRight.getMonth() || dateLeft.getDate() - dateRight.getDate() || dateLeft.getHours() - dateRight.getHours() || dateLeft.getMinutes() - dateRight.getMinutes() || dateLeft.getSeconds() - dateRight.getSeconds() || dateLeft.getMilliseconds() - dateRight.getMilliseconds();\n  if (diff < 0) {\n    return -1;\n  } else if (diff > 0) {\n    return 1;\n  } else {\n    return diff;\n  }\n}\nexport {\n  differenceInDays as default,\n  differenceInDays\n};\n","let defaultOptions = {};\nfunction getDefaultOptions() {\n  return defaultOptions;\n}\nexport {\n  getDefaultOptions\n};\n","function constructFrom(date, value) {\n  if (date instanceof Date) {\n    return new date.constructor(value);\n  } else {\n    return new Date(value);\n  }\n}\nexport {\n  constructFrom,\n  constructFrom as default\n};\n","import { toDate } from \"./toDate.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction startOfYear(date) {\n  const cleanDate = toDate(date);\n  const _date = constructFrom(date, 0);\n  _date.setFullYear(cleanDate.getFullYear(), 0, 1);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\nexport {\n  startOfYear as default,\n  startOfYear\n};\n","import { differenceInCalendarDays } from \"./differenceInCalendarDays.js\";\nimport { startOfYear } from \"./startOfYear.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getDayOfYear(date) {\n  const _date = toDate(date);\n  const diff = differenceInCalendarDays(_date, startOfYear(_date));\n  const dayOfYear = diff + 1;\n  return dayOfYear;\n}\nexport {\n  getDayOfYear as default,\n  getDayOfYear\n};\n","import { toDate } from \"./toDate.js\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nfunction startOfWeek(date, options) {\n  var _a, _b, _c, _d;\n  const defaultOptions = getDefaultOptions();\n  const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.weekStartsOn) ?? defaultOptions.weekStartsOn ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.weekStartsOn) ?? 0;\n  const _date = toDate(date);\n  const day = _date.getDay();\n  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n  _date.setDate(_date.getDate() - diff);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\nexport {\n  startOfWeek as default,\n  startOfWeek\n};\n","import { startOfWeek } from \"./startOfWeek.js\";\nfunction startOfISOWeek(date) {\n  return startOfWeek(date, { weekStartsOn: 1 });\n}\nexport {\n  startOfISOWeek as default,\n  startOfISOWeek\n};\n","import { constructFrom } from \"./constructFrom.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getISOWeekYear(date) {\n  const _date = toDate(date);\n  const year = _date.getFullYear();\n  const fourthOfJanuaryOfNextYear = constructFrom(date, 0);\n  fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n  fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n  const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n  const fourthOfJanuaryOfThisYear = constructFrom(date, 0);\n  fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n  fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n  const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n  if (_date.getTime() >= startOfNextYear.getTime()) {\n    return year + 1;\n  } else if (_date.getTime() >= startOfThisYear.getTime()) {\n    return year;\n  } else {\n    return year - 1;\n  }\n}\nexport {\n  getISOWeekYear as default,\n  getISOWeekYear\n};\n","import { getISOWeekYear } from \"./getISOWeekYear.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction startOfISOWeekYear(date) {\n  const year = getISOWeekYear(date);\n  const fourthOfJanuary = constructFrom(date, 0);\n  fourthOfJanuary.setFullYear(year, 0, 4);\n  fourthOfJanuary.setHours(0, 0, 0, 0);\n  return startOfISOWeek(fourthOfJanuary);\n}\nexport {\n  startOfISOWeekYear as default,\n  startOfISOWeekYear\n};\n","import { millisecondsInWeek } from \"./constants.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { startOfISOWeekYear } from \"./startOfISOWeekYear.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getISOWeek(date) {\n  const _date = toDate(date);\n  const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);\n  return Math.round(diff / millisecondsInWeek) + 1;\n}\nexport {\n  getISOWeek as default,\n  getISOWeek\n};\n","import { constructFrom } from \"./constructFrom.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { toDate } from \"./toDate.js\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nfunction getWeekYear(date, options) {\n  var _a, _b, _c, _d;\n  const _date = toDate(date);\n  const year = _date.getFullYear();\n  const defaultOptions = getDefaultOptions();\n  const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions.firstWeekContainsDate ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;\n  const firstWeekOfNextYear = constructFrom(date, 0);\n  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n  firstWeekOfNextYear.setHours(0, 0, 0, 0);\n  const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n  const firstWeekOfThisYear = constructFrom(date, 0);\n  firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n  firstWeekOfThisYear.setHours(0, 0, 0, 0);\n  const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n  if (_date.getTime() >= startOfNextYear.getTime()) {\n    return year + 1;\n  } else if (_date.getTime() >= startOfThisYear.getTime()) {\n    return year;\n  } else {\n    return year - 1;\n  }\n}\nexport {\n  getWeekYear as default,\n  getWeekYear\n};\n","import { constructFrom } from \"./constructFrom.js\";\nimport { getWeekYear } from \"./getWeekYear.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nfunction startOfWeekYear(date, options) {\n  var _a, _b, _c, _d;\n  const defaultOptions = getDefaultOptions();\n  const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions.firstWeekContainsDate ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;\n  const year = getWeekYear(date, options);\n  const firstWeek = constructFrom(date, 0);\n  firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n  firstWeek.setHours(0, 0, 0, 0);\n  const _date = startOfWeek(firstWeek, options);\n  return _date;\n}\nexport {\n  startOfWeekYear as default,\n  startOfWeekYear\n};\n","import { millisecondsInWeek } from \"./constants.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { startOfWeekYear } from \"./startOfWeekYear.js\";\nimport { toDate } from \"./toDate.js\";\nfunction getWeek(date, options) {\n  const _date = toDate(date);\n  const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options);\n  return Math.round(diff / millisecondsInWeek) + 1;\n}\nexport {\n  getWeek as default,\n  getWeek\n};\n","function addLeadingZeros(number, targetLength) {\n  const sign = number < 0 ? \"-\" : \"\";\n  const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n  return sign + output;\n}\nexport {\n  addLeadingZeros\n};\n","import { addLeadingZeros } from \"../addLeadingZeros.js\";\nconst lightFormatters = {\n  // Year\n  y(date, token) {\n    const signedYear = date.getFullYear();\n    const year = signedYear > 0 ? signedYear : 1 - signedYear;\n    return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n  },\n  // Month\n  M(date, token) {\n    const month = date.getMonth();\n    return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n  },\n  // Day of the month\n  d(date, token) {\n    return addLeadingZeros(date.getDate(), token.length);\n  },\n  // AM or PM\n  a(date, token) {\n    const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n    switch (token) {\n      case \"a\":\n      case \"aa\":\n        return dayPeriodEnumValue.toUpperCase();\n      case \"aaa\":\n        return dayPeriodEnumValue;\n      case \"aaaaa\":\n        return dayPeriodEnumValue[0];\n      case \"aaaa\":\n      default:\n        return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n    }\n  },\n  // Hour [1-12]\n  h(date, token) {\n    return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n  },\n  // Hour [0-23]\n  H(date, token) {\n    return addLeadingZeros(date.getHours(), token.length);\n  },\n  // Minute\n  m(date, token) {\n    return addLeadingZeros(date.getMinutes(), token.length);\n  },\n  // Second\n  s(date, token) {\n    return addLeadingZeros(date.getSeconds(), token.length);\n  },\n  // Fraction of second\n  S(date, token) {\n    const numberOfDigits = token.length;\n    const milliseconds = date.getMilliseconds();\n    const fractionalSeconds = Math.trunc(\n      milliseconds * Math.pow(10, numberOfDigits - 3)\n    );\n    return addLeadingZeros(fractionalSeconds, token.length);\n  }\n};\nexport {\n  lightFormatters\n};\n","import { getDayOfYear } from \"../../getDayOfYear.js\";\nimport { getISOWeek } from \"../../getISOWeek.js\";\nimport { getISOWeekYear } from \"../../getISOWeekYear.js\";\nimport { getWeek } from \"../../getWeek.js\";\nimport { getWeekYear } from \"../../getWeekYear.js\";\nimport { addLeadingZeros } from \"../addLeadingZeros.js\";\nimport { lightFormatters } from \"./lightFormatters.js\";\nconst dayPeriodEnum = {\n  am: \"am\",\n  pm: \"pm\",\n  midnight: \"midnight\",\n  noon: \"noon\",\n  morning: \"morning\",\n  afternoon: \"afternoon\",\n  evening: \"evening\",\n  night: \"night\"\n};\nconst formatters = {\n  // Era\n  G: function(date, token, localize) {\n    const era = date.getFullYear() > 0 ? 1 : 0;\n    switch (token) {\n      case \"G\":\n      case \"GG\":\n      case \"GGG\":\n        return localize.era(era, { width: \"abbreviated\" });\n      case \"GGGGG\":\n        return localize.era(era, { width: \"narrow\" });\n      case \"GGGG\":\n      default:\n        return localize.era(era, { width: \"wide\" });\n    }\n  },\n  // Year\n  y: function(date, token, localize) {\n    if (token === \"yo\") {\n      const signedYear = date.getFullYear();\n      const year = signedYear > 0 ? signedYear : 1 - signedYear;\n      return localize.ordinalNumber(year, { unit: \"year\" });\n    }\n    return lightFormatters.y(date, token);\n  },\n  // Local week-numbering year\n  Y: function(date, token, localize, options) {\n    const signedWeekYear = getWeekYear(date, options);\n    const weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;\n    if (token === \"YY\") {\n      const twoDigitYear = weekYear % 100;\n      return addLeadingZeros(twoDigitYear, 2);\n    }\n    if (token === \"Yo\") {\n      return localize.ordinalNumber(weekYear, { unit: \"year\" });\n    }\n    return addLeadingZeros(weekYear, token.length);\n  },\n  // ISO week-numbering year\n  R: function(date, token) {\n    const isoWeekYear = getISOWeekYear(date);\n    return addLeadingZeros(isoWeekYear, token.length);\n  },\n  // Extended year. This is a single number designating the year of this calendar system.\n  // The main difference between `y` and `u` localizers are B.C. years:\n  // | Year | `y` | `u` |\n  // |------|-----|-----|\n  // | AC 1 |   1 |   1 |\n  // | BC 1 |   1 |   0 |\n  // | BC 2 |   2 |  -1 |\n  // Also `yy` always returns the last two digits of a year,\n  // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n  u: function(date, token) {\n    const year = date.getFullYear();\n    return addLeadingZeros(year, token.length);\n  },\n  // Quarter\n  Q: function(date, token, localize) {\n    const quarter = Math.ceil((date.getMonth() + 1) / 3);\n    switch (token) {\n      case \"Q\":\n        return String(quarter);\n      case \"QQ\":\n        return addLeadingZeros(quarter, 2);\n      case \"Qo\":\n        return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n      case \"QQQ\":\n        return localize.quarter(quarter, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"QQQQQ\":\n        return localize.quarter(quarter, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"QQQQ\":\n      default:\n        return localize.quarter(quarter, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Stand-alone quarter\n  q: function(date, token, localize) {\n    const quarter = Math.ceil((date.getMonth() + 1) / 3);\n    switch (token) {\n      case \"q\":\n        return String(quarter);\n      case \"qq\":\n        return addLeadingZeros(quarter, 2);\n      case \"qo\":\n        return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n      case \"qqq\":\n        return localize.quarter(quarter, {\n          width: \"abbreviated\",\n          context: \"standalone\"\n        });\n      case \"qqqqq\":\n        return localize.quarter(quarter, {\n          width: \"narrow\",\n          context: \"standalone\"\n        });\n      case \"qqqq\":\n      default:\n        return localize.quarter(quarter, {\n          width: \"wide\",\n          context: \"standalone\"\n        });\n    }\n  },\n  // Month\n  M: function(date, token, localize) {\n    const month = date.getMonth();\n    switch (token) {\n      case \"M\":\n      case \"MM\":\n        return lightFormatters.M(date, token);\n      case \"Mo\":\n        return localize.ordinalNumber(month + 1, { unit: \"month\" });\n      case \"MMM\":\n        return localize.month(month, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"MMMMM\":\n        return localize.month(month, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"MMMM\":\n      default:\n        return localize.month(month, { width: \"wide\", context: \"formatting\" });\n    }\n  },\n  // Stand-alone month\n  L: function(date, token, localize) {\n    const month = date.getMonth();\n    switch (token) {\n      case \"L\":\n        return String(month + 1);\n      case \"LL\":\n        return addLeadingZeros(month + 1, 2);\n      case \"Lo\":\n        return localize.ordinalNumber(month + 1, { unit: \"month\" });\n      case \"LLL\":\n        return localize.month(month, {\n          width: \"abbreviated\",\n          context: \"standalone\"\n        });\n      case \"LLLLL\":\n        return localize.month(month, {\n          width: \"narrow\",\n          context: \"standalone\"\n        });\n      case \"LLLL\":\n      default:\n        return localize.month(month, { width: \"wide\", context: \"standalone\" });\n    }\n  },\n  // Local week of year\n  w: function(date, token, localize, options) {\n    const week = getWeek(date, options);\n    if (token === \"wo\") {\n      return localize.ordinalNumber(week, { unit: \"week\" });\n    }\n    return addLeadingZeros(week, token.length);\n  },\n  // ISO week of year\n  I: function(date, token, localize) {\n    const isoWeek = getISOWeek(date);\n    if (token === \"Io\") {\n      return localize.ordinalNumber(isoWeek, { unit: \"week\" });\n    }\n    return addLeadingZeros(isoWeek, token.length);\n  },\n  // Day of the month\n  d: function(date, token, localize) {\n    if (token === \"do\") {\n      return localize.ordinalNumber(date.getDate(), { unit: \"date\" });\n    }\n    return lightFormatters.d(date, token);\n  },\n  // Day of year\n  D: function(date, token, localize) {\n    const dayOfYear = getDayOfYear(date);\n    if (token === \"Do\") {\n      return localize.ordinalNumber(dayOfYear, { unit: \"dayOfYear\" });\n    }\n    return addLeadingZeros(dayOfYear, token.length);\n  },\n  // Day of week\n  E: function(date, token, localize) {\n    const dayOfWeek = date.getDay();\n    switch (token) {\n      case \"E\":\n      case \"EE\":\n      case \"EEE\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"EEEEE\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"EEEEEE\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\"\n        });\n      case \"EEEE\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Local day of week\n  e: function(date, token, localize, options) {\n    const dayOfWeek = date.getDay();\n    const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n    switch (token) {\n      case \"e\":\n        return String(localDayOfWeek);\n      case \"ee\":\n        return addLeadingZeros(localDayOfWeek, 2);\n      case \"eo\":\n        return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n      case \"eee\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"eeeee\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"eeeeee\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\"\n        });\n      case \"eeee\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Stand-alone local day of week\n  c: function(date, token, localize, options) {\n    const dayOfWeek = date.getDay();\n    const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n    switch (token) {\n      case \"c\":\n        return String(localDayOfWeek);\n      case \"cc\":\n        return addLeadingZeros(localDayOfWeek, token.length);\n      case \"co\":\n        return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n      case \"ccc\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"standalone\"\n        });\n      case \"ccccc\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"standalone\"\n        });\n      case \"cccccc\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"standalone\"\n        });\n      case \"cccc\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"standalone\"\n        });\n    }\n  },\n  // ISO day of week\n  i: function(date, token, localize) {\n    const dayOfWeek = date.getDay();\n    const isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n    switch (token) {\n      case \"i\":\n        return String(isoDayOfWeek);\n      case \"ii\":\n        return addLeadingZeros(isoDayOfWeek, token.length);\n      case \"io\":\n        return localize.ordinalNumber(isoDayOfWeek, { unit: \"day\" });\n      case \"iii\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"iiiii\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"iiiiii\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\"\n        });\n      case \"iiii\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // AM or PM\n  a: function(date, token, localize) {\n    const hours = date.getHours();\n    const dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n    switch (token) {\n      case \"a\":\n      case \"aa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"aaa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        }).toLowerCase();\n      case \"aaaaa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"aaaa\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // AM, PM, midnight, noon\n  b: function(date, token, localize) {\n    const hours = date.getHours();\n    let dayPeriodEnumValue;\n    if (hours === 12) {\n      dayPeriodEnumValue = dayPeriodEnum.noon;\n    } else if (hours === 0) {\n      dayPeriodEnumValue = dayPeriodEnum.midnight;\n    } else {\n      dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n    }\n    switch (token) {\n      case \"b\":\n      case \"bb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"bbb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        }).toLowerCase();\n      case \"bbbbb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"bbbb\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // in the morning, in the afternoon, in the evening, at night\n  B: function(date, token, localize) {\n    const hours = date.getHours();\n    let dayPeriodEnumValue;\n    if (hours >= 17) {\n      dayPeriodEnumValue = dayPeriodEnum.evening;\n    } else if (hours >= 12) {\n      dayPeriodEnumValue = dayPeriodEnum.afternoon;\n    } else if (hours >= 4) {\n      dayPeriodEnumValue = dayPeriodEnum.morning;\n    } else {\n      dayPeriodEnumValue = dayPeriodEnum.night;\n    }\n    switch (token) {\n      case \"B\":\n      case \"BB\":\n      case \"BBB\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\"\n        });\n      case \"BBBBB\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\"\n        });\n      case \"BBBB\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\"\n        });\n    }\n  },\n  // Hour [1-12]\n  h: function(date, token, localize) {\n    if (token === \"ho\") {\n      let hours = date.getHours() % 12;\n      if (hours === 0)\n        hours = 12;\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n    return lightFormatters.h(date, token);\n  },\n  // Hour [0-23]\n  H: function(date, token, localize) {\n    if (token === \"Ho\") {\n      return localize.ordinalNumber(date.getHours(), { unit: \"hour\" });\n    }\n    return lightFormatters.H(date, token);\n  },\n  // Hour [0-11]\n  K: function(date, token, localize) {\n    const hours = date.getHours() % 12;\n    if (token === \"Ko\") {\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n    return addLeadingZeros(hours, token.length);\n  },\n  // Hour [1-24]\n  k: function(date, token, localize) {\n    let hours = date.getHours();\n    if (hours === 0)\n      hours = 24;\n    if (token === \"ko\") {\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n    return addLeadingZeros(hours, token.length);\n  },\n  // Minute\n  m: function(date, token, localize) {\n    if (token === \"mo\") {\n      return localize.ordinalNumber(date.getMinutes(), { unit: \"minute\" });\n    }\n    return lightFormatters.m(date, token);\n  },\n  // Second\n  s: function(date, token, localize) {\n    if (token === \"so\") {\n      return localize.ordinalNumber(date.getSeconds(), { unit: \"second\" });\n    }\n    return lightFormatters.s(date, token);\n  },\n  // Fraction of second\n  S: function(date, token) {\n    return lightFormatters.S(date, token);\n  },\n  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n  X: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    if (timezoneOffset === 0) {\n      return \"Z\";\n    }\n    switch (token) {\n      case \"X\":\n        return formatTimezoneWithOptionalMinutes(timezoneOffset);\n      case \"XXXX\":\n      case \"XX\":\n        return formatTimezone(timezoneOffset);\n      case \"XXXXX\":\n      case \"XXX\":\n      default:\n        return formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n  x: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    switch (token) {\n      case \"x\":\n        return formatTimezoneWithOptionalMinutes(timezoneOffset);\n      case \"xxxx\":\n      case \"xx\":\n        return formatTimezone(timezoneOffset);\n      case \"xxxxx\":\n      case \"xxx\":\n      default:\n        return formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Timezone (GMT)\n  O: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    switch (token) {\n      case \"O\":\n      case \"OO\":\n      case \"OOO\":\n        return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n      case \"OOOO\":\n      default:\n        return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Timezone (specific non-location)\n  z: function(date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n    switch (token) {\n      case \"z\":\n      case \"zz\":\n      case \"zzz\":\n        return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n      case \"zzzz\":\n      default:\n        return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n    }\n  },\n  // Seconds timestamp\n  t: function(date, token, _localize) {\n    const timestamp = Math.trunc(date.getTime() / 1e3);\n    return addLeadingZeros(timestamp, token.length);\n  },\n  // Milliseconds timestamp\n  T: function(date, token, _localize) {\n    const timestamp = date.getTime();\n    return addLeadingZeros(timestamp, token.length);\n  }\n};\nfunction formatTimezoneShort(offset, delimiter = \"\") {\n  const sign = offset > 0 ? \"-\" : \"+\";\n  const absOffset = Math.abs(offset);\n  const hours = Math.trunc(absOffset / 60);\n  const minutes = absOffset % 60;\n  if (minutes === 0) {\n    return sign + String(hours);\n  }\n  return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\nfunction formatTimezoneWithOptionalMinutes(offset, delimiter) {\n  if (offset % 60 === 0) {\n    const sign = offset > 0 ? \"-\" : \"+\";\n    return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n  }\n  return formatTimezone(offset, delimiter);\n}\nfunction formatTimezone(offset, delimiter = \"\") {\n  const sign = offset > 0 ? \"-\" : \"+\";\n  const absOffset = Math.abs(offset);\n  const hours = addLeadingZeros(Math.trunc(absOffset / 60), 2);\n  const minutes = addLeadingZeros(absOffset % 60, 2);\n  return sign + hours + delimiter + minutes;\n}\nexport {\n  formatters\n};\n","const dateLongFormatter = (pattern, formatLong) => {\n  switch (pattern) {\n    case \"P\":\n      return formatLong.date({ width: \"short\" });\n    case \"PP\":\n      return formatLong.date({ width: \"medium\" });\n    case \"PPP\":\n      return formatLong.date({ width: \"long\" });\n    case \"PPPP\":\n    default:\n      return formatLong.date({ width: \"full\" });\n  }\n};\nconst timeLongFormatter = (pattern, formatLong) => {\n  switch (pattern) {\n    case \"p\":\n      return formatLong.time({ width: \"short\" });\n    case \"pp\":\n      return formatLong.time({ width: \"medium\" });\n    case \"ppp\":\n      return formatLong.time({ width: \"long\" });\n    case \"pppp\":\n    default:\n      return formatLong.time({ width: \"full\" });\n  }\n};\nconst dateTimeLongFormatter = (pattern, formatLong) => {\n  const matchResult = pattern.match(/(P+)(p+)?/) || [];\n  const datePattern = matchResult[1];\n  const timePattern = matchResult[2];\n  if (!timePattern) {\n    return dateLongFormatter(pattern, formatLong);\n  }\n  let dateTimeFormat;\n  switch (datePattern) {\n    case \"P\":\n      dateTimeFormat = formatLong.dateTime({ width: \"short\" });\n      break;\n    case \"PP\":\n      dateTimeFormat = formatLong.dateTime({ width: \"medium\" });\n      break;\n    case \"PPP\":\n      dateTimeFormat = formatLong.dateTime({ width: \"long\" });\n      break;\n    case \"PPPP\":\n    default:\n      dateTimeFormat = formatLong.dateTime({ width: \"full\" });\n      break;\n  }\n  return dateTimeFormat.replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong)).replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong));\n};\nconst longFormatters = {\n  p: timeLongFormatter,\n  P: dateTimeLongFormatter\n};\nexport {\n  longFormatters\n};\n","const dayOfYearTokenRE = /^D+$/;\nconst weekYearTokenRE = /^Y+$/;\nconst throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\nfunction isProtectedDayOfYearToken(token) {\n  return dayOfYearTokenRE.test(token);\n}\nfunction isProtectedWeekYearToken(token) {\n  return weekYearTokenRE.test(token);\n}\nfunction warnOrThrowProtectedError(token, format, input) {\n  const _message = message(token, format, input);\n  console.warn(_message);\n  if (throwTokens.includes(token))\n    throw new RangeError(_message);\n}\nfunction message(token, format, input) {\n  const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n  return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n}\nexport {\n  isProtectedDayOfYearToken,\n  isProtectedWeekYearToken,\n  warnOrThrowProtectedError\n};\n","const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"less than a second\",\n    other: \"less than {{count}} seconds\"\n  },\n  xSeconds: {\n    one: \"1 second\",\n    other: \"{{count}} seconds\"\n  },\n  halfAMinute: \"half a minute\",\n  lessThanXMinutes: {\n    one: \"less than a minute\",\n    other: \"less than {{count}} minutes\"\n  },\n  xMinutes: {\n    one: \"1 minute\",\n    other: \"{{count}} minutes\"\n  },\n  aboutXHours: {\n    one: \"about 1 hour\",\n    other: \"about {{count}} hours\"\n  },\n  xHours: {\n    one: \"1 hour\",\n    other: \"{{count}} hours\"\n  },\n  xDays: {\n    one: \"1 day\",\n    other: \"{{count}} days\"\n  },\n  aboutXWeeks: {\n    one: \"about 1 week\",\n    other: \"about {{count}} weeks\"\n  },\n  xWeeks: {\n    one: \"1 week\",\n    other: \"{{count}} weeks\"\n  },\n  aboutXMonths: {\n    one: \"about 1 month\",\n    other: \"about {{count}} months\"\n  },\n  xMonths: {\n    one: \"1 month\",\n    other: \"{{count}} months\"\n  },\n  aboutXYears: {\n    one: \"about 1 year\",\n    other: \"about {{count}} years\"\n  },\n  xYears: {\n    one: \"1 year\",\n    other: \"{{count}} years\"\n  },\n  overXYears: {\n    one: \"over 1 year\",\n    other: \"over {{count}} years\"\n  },\n  almostXYears: {\n    one: \"almost 1 year\",\n    other: \"almost {{count}} years\"\n  }\n};\nconst formatDistance = (token, count, options) => {\n  let result;\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", count.toString());\n  }\n  if (options == null ? void 0 : options.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"in \" + result;\n    } else {\n      return result + \" ago\";\n    }\n  }\n  return result;\n};\nexport {\n  formatDistance\n};\n","function buildFormatLongFn(args) {\n  return (options = {}) => {\n    const width = options.width ? String(options.width) : args.defaultWidth;\n    const format = args.formats[width] || args.formats[args.defaultWidth];\n    return format;\n  };\n}\nexport {\n  buildFormatLongFn\n};\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\nconst dateFormats = {\n  full: \"EEEE, MMMM do, y\",\n  long: \"MMMM do, y\",\n  medium: \"MMM d, y\",\n  short: \"MM/dd/yyyy\"\n};\nconst timeFormats = {\n  full: \"h:mm:ss a zzzz\",\n  long: \"h:mm:ss a z\",\n  medium: \"h:mm:ss a\",\n  short: \"h:mm a\"\n};\nconst dateTimeFormats = {\n  full: \"{{date}} 'at' {{time}}\",\n  long: \"{{date}} 'at' {{time}}\",\n  medium: \"{{date}}, {{time}}\",\n  short: \"{{date}}, {{time}}\"\n};\nconst formatLong = {\n  date: buildFormatLongFn({\n    formats: dateFormats,\n    defaultWidth: \"full\"\n  }),\n  time: buildFormatLongFn({\n    formats: timeFormats,\n    defaultWidth: \"full\"\n  }),\n  dateTime: buildFormatLongFn({\n    formats: dateTimeFormats,\n    defaultWidth: \"full\"\n  })\n};\nexport {\n  formatLong\n};\n","const formatRelativeLocale = {\n  lastWeek: \"'last' eeee 'at' p\",\n  yesterday: \"'yesterday at' p\",\n  today: \"'today at' p\",\n  tomorrow: \"'tomorrow at' p\",\n  nextWeek: \"eeee 'at' p\",\n  other: \"P\"\n};\nconst formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];\nexport {\n  formatRelative\n};\n","function buildLocalizeFn(args) {\n  return (value, options) => {\n    const context = (options == null ? void 0 : options.context) ? String(options.context) : \"standalone\";\n    let valuesArray;\n    if (context === \"formatting\" && args.formattingValues) {\n      const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n      const width = (options == null ? void 0 : options.width) ? String(options.width) : defaultWidth;\n      valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n    } else {\n      const defaultWidth = args.defaultWidth;\n      const width = (options == null ? void 0 : options.width) ? String(options.width) : args.defaultWidth;\n      valuesArray = args.values[width] || args.values[defaultWidth];\n    }\n    const index = args.argumentCallback ? args.argumentCallback(value) : value;\n    return valuesArray[index];\n  };\n}\nexport {\n  buildLocalizeFn\n};\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\nconst eraValues = {\n  narrow: [\"B\", \"A\"],\n  abbreviated: [\"BC\", \"AD\"],\n  wide: [\"Before Christ\", \"Anno Domini\"]\n};\nconst quarterValues = {\n  narrow: [\"1\", \"2\", \"3\", \"4\"],\n  abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n  wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"]\n};\nconst monthValues = {\n  narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n  abbreviated: [\n    \"Jan\",\n    \"Feb\",\n    \"Mar\",\n    \"Apr\",\n    \"May\",\n    \"Jun\",\n    \"Jul\",\n    \"Aug\",\n    \"Sep\",\n    \"Oct\",\n    \"Nov\",\n    \"Dec\"\n  ],\n  wide: [\n    \"January\",\n    \"February\",\n    \"March\",\n    \"April\",\n    \"May\",\n    \"June\",\n    \"July\",\n    \"August\",\n    \"September\",\n    \"October\",\n    \"November\",\n    \"December\"\n  ]\n};\nconst dayValues = {\n  narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n  short: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n  abbreviated: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n  wide: [\n    \"Sunday\",\n    \"Monday\",\n    \"Tuesday\",\n    \"Wednesday\",\n    \"Thursday\",\n    \"Friday\",\n    \"Saturday\"\n  ]\n};\nconst dayPeriodValues = {\n  narrow: {\n    am: \"a\",\n    pm: \"p\",\n    midnight: \"mi\",\n    noon: \"n\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\"\n  },\n  abbreviated: {\n    am: \"AM\",\n    pm: \"PM\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\"\n  },\n  wide: {\n    am: \"a.m.\",\n    pm: \"p.m.\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\"\n  }\n};\nconst formattingDayPeriodValues = {\n  narrow: {\n    am: \"a\",\n    pm: \"p\",\n    midnight: \"mi\",\n    noon: \"n\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\"\n  },\n  abbreviated: {\n    am: \"AM\",\n    pm: \"PM\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\"\n  },\n  wide: {\n    am: \"a.m.\",\n    pm: \"p.m.\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\"\n  }\n};\nconst ordinalNumber = (dirtyNumber, _options) => {\n  const number = Number(dirtyNumber);\n  const rem100 = number % 100;\n  if (rem100 > 20 || rem100 < 10) {\n    switch (rem100 % 10) {\n      case 1:\n        return number + \"st\";\n      case 2:\n        return number + \"nd\";\n      case 3:\n        return number + \"rd\";\n    }\n  }\n  return number + \"th\";\n};\nconst localize = {\n  ordinalNumber,\n  era: buildLocalizeFn({\n    values: eraValues,\n    defaultWidth: \"wide\"\n  }),\n  quarter: buildLocalizeFn({\n    values: quarterValues,\n    defaultWidth: \"wide\",\n    argumentCallback: (quarter) => quarter - 1\n  }),\n  month: buildLocalizeFn({\n    values: monthValues,\n    defaultWidth: \"wide\"\n  }),\n  day: buildLocalizeFn({\n    values: dayValues,\n    defaultWidth: \"wide\"\n  }),\n  dayPeriod: buildLocalizeFn({\n    values: dayPeriodValues,\n    defaultWidth: \"wide\",\n    formattingValues: formattingDayPeriodValues,\n    defaultFormattingWidth: \"wide\"\n  })\n};\nexport {\n  localize\n};\n","function buildMatchFn(args) {\n  return (string, options = {}) => {\n    const width = options.width;\n    const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n    const matchResult = string.match(matchPattern);\n    if (!matchResult) {\n      return null;\n    }\n    const matchedString = matchResult[0];\n    const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n    const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : (\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n      findKey(parsePatterns, (pattern) => pattern.test(matchedString))\n    );\n    let value;\n    value = args.valueCallback ? args.valueCallback(key) : key;\n    value = options.valueCallback ? (\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n      options.valueCallback(value)\n    ) : value;\n    const rest = string.slice(matchedString.length);\n    return { value, rest };\n  };\n}\nfunction findKey(object, predicate) {\n  for (const key in object) {\n    if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n      return key;\n    }\n  }\n  return void 0;\n}\nfunction findIndex(array, predicate) {\n  for (let key = 0; key < array.length; key++) {\n    if (predicate(array[key])) {\n      return key;\n    }\n  }\n  return void 0;\n}\nexport {\n  buildMatchFn\n};\n","function buildMatchPatternFn(args) {\n  return (string, options = {}) => {\n    const matchResult = string.match(args.matchPattern);\n    if (!matchResult)\n      return null;\n    const matchedString = matchResult[0];\n    const parseResult = string.match(args.parsePattern);\n    if (!parseResult)\n      return null;\n    let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n    value = options.valueCallback ? options.valueCallback(value) : value;\n    const rest = string.slice(matchedString.length);\n    return { value, rest };\n  };\n}\nexport {\n  buildMatchPatternFn\n};\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\nconst matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\nconst matchEraPatterns = {\n  narrow: /^(b|a)/i,\n  abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n  wide: /^(before christ|before common era|anno domini|common era)/i\n};\nconst parseEraPatterns = {\n  any: [/^b/i, /^(a|c)/i]\n};\nconst matchQuarterPatterns = {\n  narrow: /^[1234]/i,\n  abbreviated: /^q[1234]/i,\n  wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nconst parseQuarterPatterns = {\n  any: [/1/i, /2/i, /3/i, /4/i]\n};\nconst matchMonthPatterns = {\n  narrow: /^[jfmasond]/i,\n  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nconst parseMonthPatterns = {\n  narrow: [\n    /^j/i,\n    /^f/i,\n    /^m/i,\n    /^a/i,\n    /^m/i,\n    /^j/i,\n    /^j/i,\n    /^a/i,\n    /^s/i,\n    /^o/i,\n    /^n/i,\n    /^d/i\n  ],\n  any: [\n    /^ja/i,\n    /^f/i,\n    /^mar/i,\n    /^ap/i,\n    /^may/i,\n    /^jun/i,\n    /^jul/i,\n    /^au/i,\n    /^s/i,\n    /^o/i,\n    /^n/i,\n    /^d/i\n  ]\n};\nconst matchDayPatterns = {\n  narrow: /^[smtwf]/i,\n  short: /^(su|mo|tu|we|th|fr|sa)/i,\n  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nconst parseDayPatterns = {\n  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nconst matchDayPeriodPatterns = {\n  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n  any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nconst parseDayPeriodPatterns = {\n  any: {\n    am: /^a/i,\n    pm: /^p/i,\n    midnight: /^mi/i,\n    noon: /^no/i,\n    morning: /morning/i,\n    afternoon: /afternoon/i,\n    evening: /evening/i,\n    night: /night/i\n  }\n};\nconst match = {\n  ordinalNumber: buildMatchPatternFn({\n    matchPattern: matchOrdinalNumberPattern,\n    parsePattern: parseOrdinalNumberPattern,\n    valueCallback: (value) => parseInt(value, 10)\n  }),\n  era: buildMatchFn({\n    matchPatterns: matchEraPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseEraPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  quarter: buildMatchFn({\n    matchPatterns: matchQuarterPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseQuarterPatterns,\n    defaultParseWidth: \"any\",\n    valueCallback: (index) => index + 1\n  }),\n  month: buildMatchFn({\n    matchPatterns: matchMonthPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseMonthPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  day: buildMatchFn({\n    matchPatterns: matchDayPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseDayPatterns,\n    defaultParseWidth: \"any\"\n  }),\n  dayPeriod: buildMatchFn({\n    matchPatterns: matchDayPeriodPatterns,\n    defaultMatchWidth: \"any\",\n    parsePatterns: parseDayPeriodPatterns,\n    defaultParseWidth: \"any\"\n  })\n};\nexport {\n  match\n};\n","import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\nconst enUS = {\n  code: \"en-US\",\n  formatDistance,\n  formatLong,\n  formatRelative,\n  localize,\n  match,\n  options: {\n    weekStartsOn: 0,\n    firstWeekContainsDate: 1\n  }\n};\nexport {\n  enUS as default,\n  enUS\n};\n","import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { formatters } from \"./_lib/format/formatters.js\";\nimport { longFormatters } from \"./_lib/format/longFormatters.js\";\nimport { isProtectedWeekYearToken, isProtectedDayOfYearToken, warnOrThrowProtectedError } from \"./_lib/protectedTokens.js\";\nimport { isValid } from \"./isValid.js\";\nimport { toDate } from \"./toDate.js\";\nimport { enUS } from \"./locale/en-US.js\";\nconst formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nconst longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nconst escapedStringRegExp = /^'([^]*?)'?$/;\nconst doubleQuoteRegExp = /''/g;\nconst unescapedLatinCharacterRegExp = /[a-zA-Z]/;\nfunction format(date, formatStr, options) {\n  var _a, _b, _c, _d, _e, _f, _g, _h;\n  const defaultOptions = getDefaultOptions();\n  const locale = (options == null ? void 0 : options.locale) ?? defaultOptions.locale ?? enUS;\n  const firstWeekContainsDate = (options == null ? void 0 : options.firstWeekContainsDate) ?? ((_b = (_a = options == null ? void 0 : options.locale) == null ? void 0 : _a.options) == null ? void 0 : _b.firstWeekContainsDate) ?? defaultOptions.firstWeekContainsDate ?? ((_d = (_c = defaultOptions.locale) == null ? void 0 : _c.options) == null ? void 0 : _d.firstWeekContainsDate) ?? 1;\n  const weekStartsOn = (options == null ? void 0 : options.weekStartsOn) ?? ((_f = (_e = options == null ? void 0 : options.locale) == null ? void 0 : _e.options) == null ? void 0 : _f.weekStartsOn) ?? defaultOptions.weekStartsOn ?? ((_h = (_g = defaultOptions.locale) == null ? void 0 : _g.options) == null ? void 0 : _h.weekStartsOn) ?? 0;\n  const originalDate = toDate(date);\n  if (!isValid(originalDate)) {\n    throw new RangeError(\"Invalid time value\");\n  }\n  let parts = formatStr.match(longFormattingTokensRegExp).map((substring) => {\n    const firstCharacter = substring[0];\n    if (firstCharacter === \"p\" || firstCharacter === \"P\") {\n      const longFormatter = longFormatters[firstCharacter];\n      return longFormatter(substring, locale.formatLong);\n    }\n    return substring;\n  }).join(\"\").match(formattingTokensRegExp).map((substring) => {\n    if (substring === \"''\") {\n      return { isToken: false, value: \"'\" };\n    }\n    const firstCharacter = substring[0];\n    if (firstCharacter === \"'\") {\n      return { isToken: false, value: cleanEscapedString(substring) };\n    }\n    if (formatters[firstCharacter]) {\n      return { isToken: true, value: substring };\n    }\n    if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n      throw new RangeError(\n        \"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\"\n      );\n    }\n    return { isToken: false, value: substring };\n  });\n  if (locale.localize.preprocessor) {\n    parts = locale.localize.preprocessor(originalDate, parts);\n  }\n  const formatterOptions = {\n    firstWeekContainsDate,\n    weekStartsOn,\n    locale\n  };\n  return parts.map((part) => {\n    if (!part.isToken)\n      return part.value;\n    const token = part.value;\n    if (!(options == null ? void 0 : options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token) || !(options == null ? void 0 : options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {\n      warnOrThrowProtectedError(token, formatStr, String(date));\n    }\n    const formatter = formatters[token[0]];\n    return formatter(originalDate, token, locale.localize, formatterOptions);\n  }).join(\"\");\n}\nfunction cleanEscapedString(input) {\n  const matched = input.match(escapedStringRegExp);\n  if (!matched) {\n    return input;\n  }\n  return matched[1].replace(doubleQuoteRegExp, \"'\");\n}\nexport {\n  format as default,\n  format,\n  format as formatDate,\n  formatters,\n  longFormatters\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { CompactPreuserProductCard as y } from \"../../../node_modules/@29cm/ruler-ui/dist/components/CompactPreuserProductCard/CompactPreuserProductCard.js\";\nimport { CompactProductCard as R } from \"../../../node_modules/@29cm/ruler-ui/dist/components/CompactProductCard/CompactProductCard.js\";\nimport { PreuserProductCard as k } from \"../../../node_modules/@29cm/ruler-ui/dist/components/PreuserProductCard/PreuserProductCard.js\";\nimport { ProductCard as z } from \"../../../node_modules/@29cm/ruler-ui/dist/components/ProductCard/ProductCard.js\";\nimport { ProductHorizontalCard as O } from \"../../../node_modules/@29cm/ruler-ui/dist/components/ProductHorizontalCard/ProductHorizontalCard.js\";\nimport React__default, { useRef, useMemo } from \"react\";\nimport { Countdown } from \"../../systems/Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../systems/Expandable/Expandable.js\";\nimport \"../../systems/FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { isWebview } from \"../../../utils/device.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { env } from \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../systems/ShareButtonWithReferralEvent/ShareButtonWithReferralEvent.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../providers/ThemeProvider/ThemeProvider.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useTrackSnowplowEvent } from \"../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport \"../../systems/Products/Products.js\";\nimport { useProductHeart } from \"../../../hooks/product/useProductHeart.js\";\nimport { getProductBadges, getRulerProductBadges, isPreuserRecruitEnded } from \"./ProductCard.utils.js\";\nimport \"../../systems/ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../../systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport \"../../systems/RollingNumber/RollingNumber.js\";\nimport \"../../systems/TabBar/TabBar.js\";\nimport \"../../systems/TimeProgressBar/TimeProgressBar.js\";\nimport \"../../systems/ViewportContainer/ViewportContainer.js\";\nimport \"../../systems/TabBarV2/TabBarV2.js\";\nimport \"../../systems/TabBarV3/TabBarV3.js\";\nimport { useTrackProductEvents } from \"./ProductCard.hooks.event.js\";\nimport { cardStyle, barStyle } from \"./ProductCard.styles.js\";\nimport { ProductCardType } from \"./ProductCard.types.js\";\nimport { differenceInDays } from \"../../../node_modules/date-fns/differenceInDays.js\";\nimport { parseISO } from \"../../../node_modules/date-fns/parseISO.js\";\nimport { isPast } from \"../../../node_modules/date-fns/isPast.js\";\nimport { formatDate as format } from \"../../../node_modules/date-fns/format.js\";\nconst ProductCard = React__default.memo(({\n  style,\n  type = ProductCardType.CARD,\n  variant = \"default\",\n  isHeartOn = \"OFF\",\n  positionNo = 0,\n  hasRank = false,\n  hasName = true,\n  hasBrandName = true,\n  hasBadges = true,\n  hasHeart = true,\n  hasSoldOutBadge = true,\n  product,\n  onHeartOn,\n  onHeartOff,\n  eventProperties,\n  extraEventProperties = {},\n  size = \"medium\",\n  theme = \"light\"\n}) => {\n  var _a;\n  const ref = useRef(null);\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const {\n    heartCount,\n    handleToggleLike\n  } = useProductHeart(product, isHeartOn, onHeartOn, onHeartOff, extraEventProperties);\n  const {\n    trackClickProductEvent,\n    trackClickPreuserProductEvent\n  } = useTrackProductEvents({\n    ref,\n    eventProperties,\n    extraEventProperties,\n    variant\n  });\n  const handleBrandNameClick = (event) => {\n    event.stopPropagation();\n    trackClickProductEvent();\n    trackSnowplowEvent(\"click_brand\", {\n      brand_no: product.frontBrand.frontBrandId,\n      brand_name: product.frontBrand.nameKor\n    });\n  };\n  const handleHeartClick = () => {\n    handleToggleLike();\n  };\n  const brandHomeUrl = `${env.workspace.shop}/brand/${(_a = product == null ? void 0 : product.frontBrand) == null ? void 0 : _a.frontBrandId}`;\n  const badges = useMemo(() => getProductBadges(product, type), [product, type]);\n  const rulerBadges = useMemo(() => getRulerProductBadges(product, type), [product, type]);\n  const shouldRenderBadges = useMemo(() => {\n    if (hasSoldOutBadge && type === ProductCardType.BAR && badges.map(([value]) => value).includes(\"isSoldOut\")) {\n      return true;\n    }\n    return hasBadges && badges.length > 0;\n  }, [type, hasBadges, badges, hasSoldOutBadge]);\n  const horizontalCardPostfix = hasHeart ? {\n    type: \"likeCountButton\",\n    onHeart: isHeartOn === \"ON\",\n    likeAmount: heartCount,\n    onClick: handleHeartClick\n  } : void 0;\n  const imgUrl = product.imageUrl.includes(\"https://\") ? product.imageUrl : `https://img.29cm.co.kr/${product.imageUrl}`;\n  const queryParams = `?width=400&format=webp`;\n  const imgFullUrl = `${imgUrl}${queryParams}`;\n  const productHref = isWebview() ? `app29cm://product/${product.productId}` : `${env.workspace.product}/catalog/${product.productId}`;\n  if (variant === \"preuser\") {\n    const isEnded = isPreuserRecruitEnded(product.recruitEndAt);\n    const preuserHref = isWebview() ? `app29cm://web/${env.workspace.legacy.home}/preuser/event/${product.preuserEventKey}` : `${env.workspace.legacy.home}/preuser/event/${product.preuserEventKey}`;\n    return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n      ...cardStyle.layout,\n      paddingBottom: 16,\n      ...style\n    }, children: /* @__PURE__ */ jsx(\"a\", { href: preuserHref, target: \"_blank\", rel: \"noreferrer\", onClick: trackClickPreuserProductEvent, children: type === ProductCardType.CARD ? /* @__PURE__ */ jsx(\"div\", { style: {\n      position: \"relative\"\n    }, children: /* @__PURE__ */ jsx(y, { className: \"mb-0 pb-0\", imgUrl: imgFullUrl, itemName: hasName ? product.productName : \"\", brandName: hasBrandName ? product.frontBrand.nameKor : void 0, brandHref: brandHomeUrl, href: preuserHref, imageBadge: [`${product.totalWinnerLimit}명 모집 중`], isEnded, timeText: timeTextComponent(product.recruitEndAt, type), target: \"_blank\", theme }) }) : /* @__PURE__ */ jsx(\"div\", { style: {\n      position: \"relative\"\n    }, children: /* @__PURE__ */ jsx(\n      k,\n      {\n        className: \"mb-0 pb-0\",\n        imgUrl: imgFullUrl,\n        itemName: hasName ? product.productName : \"\",\n        brandName: hasBrandName ? product.frontBrand.nameKor : void 0,\n        brandHref: brandHomeUrl,\n        href: preuserHref,\n        imageBadge: [`${product.totalWinnerLimit}명 모집 중`],\n        isEnded,\n        timeText: timeTextComponent(product.recruitEndAt, type),\n        target: \"_blank\",\n        theme,\n        ...size && {\n          size\n        }\n      }\n    ) }) }) });\n  }\n  if (type === ProductCardType.BAR) {\n    return /* @__PURE__ */ jsx(\"a\", { href: productHref, target: \"_blank\", rel: \"noreferrer\", onClick: trackClickProductEvent, style: {\n      width: \"100%\",\n      overflow: \"hidden\"\n    }, children: /* @__PURE__ */ jsx(\"div\", { ref, style: {\n      ...barStyle.layout,\n      ...style\n    }, children: /* @__PURE__ */ jsx(O, { className: \"mb-0 w-full\", imgUrl: imgFullUrl, productName: hasName ? product.productName : \"\", price: product.lastSalePrice, postfix: horizontalCardPostfix, brandName: hasBrandName ? product.frontBrand.nameKor : void 0, discount: product.lastSalePercent, soldOut: product.isSoldOut, theme, size }) }) });\n  }\n  if (type === ProductCardType.CARD_DETAILED) {\n    return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n      ...cardStyle.layout,\n      paddingBottom: size === \"medium\" ? shouldRenderBadges ? 40 : 62 : 20,\n      ...style\n    }, children: /* @__PURE__ */ jsx(z, { className: \"mb-0\", imgUrl: imgFullUrl, productName: hasName ? product.productName : \"\", price: product.lastSalePrice, onHeart: isHeartOn === \"ON\", brandName: hasBrandName ? product.frontBrand.nameKor : void 0, discount: product.lastSalePercent, rank: hasRank ? positionNo : void 0, badges: shouldRenderBadges ? rulerBadges : void 0, productHref, soldOut: product.isSoldOut, brandHref: brandHomeUrl, target: \"_blank\", likeAmount: heartCount, reviewAmount: product.reviewCount, reviewRate: product.reviewAveragePoint, onClickBrandName: handleBrandNameClick, onClick: trackClickProductEvent, onHeartClick: handleHeartClick, size, theme }) });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...cardStyle.layout,\n    paddingBottom: 16,\n    ...style\n  }, children: /* @__PURE__ */ jsx(R, { className: \"mb-0 pb-0\", imgUrl: imgFullUrl, productName: hasName ? product.productName : \"\", price: product.lastSalePrice, onHeart: isHeartOn === \"ON\", brandName: hasBrandName ? product.frontBrand.nameKor : void 0, discount: product.lastSalePercent, rank: hasRank ? positionNo : void 0, badges: shouldRenderBadges ? rulerBadges : void 0, productHref, target: \"_blank\", onClick: trackClickProductEvent, soldOut: product.isSoldOut, onHeartClick: handleHeartClick, theme }) });\n});\nconst timeTextComponent = (recruitEndAt, type) => {\n  if (!recruitEndAt) {\n    return /* @__PURE__ */ jsx(\"span\", { children: \"모집 종료\" });\n  }\n  const targetDate = parseISO(recruitEndAt);\n  const now = /* @__PURE__ */ new Date();\n  if (isPast(targetDate)) {\n    return /* @__PURE__ */ jsx(\"span\", { children: \"모집 종료\" });\n  }\n  const diffDays = differenceInDays(targetDate, now);\n  const targetDateString = format(targetDate, \"yyyy-MM-dd\");\n  const targetTimeString = format(targetDate, \"HH:mm:ss\");\n  if (diffDays <= 1) {\n    return /* @__PURE__ */ jsx(\"span\", { className: \"flex items-center gap-2\", children: /* @__PURE__ */ jsx(Countdown, { dateDisplayFormat: \"none\", timeDisplayFormat: \"H:mm:ss\", targetDateString, targetTimeString, fontSize: type === ProductCardType.CARD ? 13 : 16, color: \"inherit\" }) });\n  }\n  return /* @__PURE__ */ jsxs(\"span\", { className: \"flex items-center gap-2\", children: [\n    /* @__PURE__ */ jsx(Countdown, { dateDisplayFormat: \"D일\", timeDisplayFormat: \"none\", targetDateString, targetTimeString, fontSize: type === ProductCardType.CARD ? 13 : 16, color: \"inherit\" }),\n    /* @__PURE__ */ jsx(\"span\", { children: \"남음\" })\n  ] });\n};\nexport {\n  ProductCard\n};\n","import { useEffect } from \"react\";\nimport { useEventCallback } from \"./useEventCallback.js\";\nconst useReceiveMessage = (type, _callback) => {\n  const callback = useEventCallback(_callback);\n  useEffect(() => {\n    const handleCallback = (e) => {\n      if (e.data.type !== type) {\n        return;\n      }\n      callback(e.data.payload);\n    };\n    window.addEventListener(\"message\", handleCallback, false);\n    return () => {\n      window.removeEventListener(\"message\", handleCallback, false);\n    };\n  }, [type, callback]);\n};\nexport {\n  useReceiveMessage\n};\n","import { useRef, useEffect } from \"react\";\nconst useUpdatedRef = (value) => {\n  const ref = useRef(value);\n  useEffect(() => {\n    ref.current = value;\n  }, [value]);\n  return ref;\n};\nexport {\n  useUpdatedRef\n};\n","import { useEffect } from \"react\";\nconst useWindowEventListener = (type, listener) => {\n  useEffect(() => {\n    window.addEventListener(type, listener);\n    return () => window.removeEventListener(type, listener);\n  }, [type, listener]);\n};\nexport {\n  useWindowEventListener\n};\n","import { useRef, useCallback } from \"react\";\nimport { useUpdatedRef } from \"./useUpdatedRef.js\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nconst useInViewport = (callback) => {\n  const ref = useRef(null);\n  const prevIsInViewport = useRef(false);\n  const updatedCallback = useUpdatedRef(callback);\n  const handleScroll = useCallback(() => {\n    if (ref.current === null) {\n      return;\n    }\n    const isInViewport = getIsInViewport(ref.current);\n    if (isInViewport !== prevIsInViewport.current) {\n      updatedCallback.current(isInViewport);\n    }\n    prevIsInViewport.current = isInViewport;\n  }, []);\n  useWindowEventListener(\"scroll\", handleScroll);\n  return ref;\n};\nconst getIsInViewport = (element) => {\n  const {\n    offsetHeight\n  } = element;\n  const top = getAbsoluteOffsetTop(element);\n  const bottom = top + offsetHeight;\n  const isElementInViewport = window.scrollY <= top && bottom <= window.scrollY + window.innerHeight;\n  const isViewportInElement = top <= window.scrollY && window.scrollY + window.innerHeight <= bottom;\n  return isViewportInElement || isElementInViewport;\n};\nconst getAbsoluteOffsetTop = (element) => {\n  return Math.round(element.getBoundingClientRect().top + window.scrollY);\n};\nexport {\n  useInViewport\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef, useRef } from \"react\";\nimport { useInViewport } from \"../../../hooks/useInViewport.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"framer\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nconst EventTriggerContext = createContext({\n  isViewportEntered: () => false,\n  canTriggerFallbackImpression: () => false,\n  setCanTriggerFallbackImpression: () => {\n  },\n  types: [],\n  onImpression: void 0\n});\nconst Root = forwardRef(({\n  children,\n  className,\n  style,\n  types,\n  onImpression\n}, ref) => {\n  const isViewportEntered = useRef(false);\n  const canTriggerFallbackImpression = useRef(true);\n  const observeViewport = types.includes(\"impression\");\n  const handleViewportEnter = () => {\n    if (canTriggerFallbackImpression.current) {\n      onImpression == null ? void 0 : onImpression();\n    }\n    isViewportEntered.current = true;\n    canTriggerFallbackImpression.current = false;\n  };\n  const handleViewportLeave = () => {\n    isViewportEntered.current = false;\n    canTriggerFallbackImpression.current = true;\n  };\n  const containerRef = useInViewport((isInViewport) => {\n    if (!observeViewport) {\n      return;\n    }\n    if (isInViewport) {\n      handleViewportEnter();\n    } else {\n      handleViewportLeave();\n    }\n  });\n  return /* @__PURE__ */ jsx(EventTriggerContext.Provider, { value: {\n    isViewportEntered: () => isViewportEntered.current,\n    canTriggerFallbackImpression: () => canTriggerFallbackImpression.current,\n    setCanTriggerFallbackImpression: (next) => canTriggerFallbackImpression.current = next,\n    types,\n    onImpression\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([containerRef, ref]), className, style: {\n    width: \"100%\",\n    ...style\n  }, children }) });\n});\nexport {\n  EventTriggerContext,\n  Root\n};\n","import { useContext } from \"react\";\nimport { EventTriggerContext } from \"./Root.js\";\nconst useEventTriggerContext = () => useContext(EventTriggerContext);\nexport {\n  useEventTriggerContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useEventTriggerContext } from \"./Root.hooks.js\";\nconst Target = forwardRef(({\n  children,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    isViewportEntered,\n    canTriggerFallbackImpression,\n    setCanTriggerFallbackImpression,\n    types,\n    onImpression\n  } = useEventTriggerContext();\n  const handleClick = (e) => {\n    onClick == null ? void 0 : onClick(e);\n    const shouldTriggerFallbackImpression = types.includes(\"impression\") && !isViewportEntered() && canTriggerFallbackImpression();\n    if (shouldTriggerFallbackImpression) {\n      onImpression == null ? void 0 : onImpression();\n      setCanTriggerFallbackImpression(false);\n    }\n  };\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, onClick: handleClick, children });\n});\nexport {\n  Target\n};\n","import { Root } from \"./Root.js\";\nimport { Target } from \"./Target.js\";\nconst EventTrigger = {\n  Root,\n  Target\n};\nexport {\n  EventTrigger\n};\n","import { toDate } from \"./toDate.js\";\nfunction isAfter(date, dateToCompare) {\n  const _date = toDate(date);\n  const _dateToCompare = toDate(dateToCompare);\n  return _date.getTime() > _dateToCompare.getTime();\n}\nexport {\n  isAfter as default,\n  isAfter\n};\n","import { toDate } from \"./toDate.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction addDays(date, amount) {\n  const _date = toDate(date);\n  if (isNaN(amount))\n    return constructFrom(date, NaN);\n  if (!amount) {\n    return _date;\n  }\n  _date.setDate(_date.getDate() + amount);\n  return _date;\n}\nexport {\n  addDays,\n  addDays as default\n};\n","import { toDate } from \"./toDate.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nfunction addMonths(date, amount) {\n  const _date = toDate(date);\n  if (isNaN(amount))\n    return constructFrom(date, NaN);\n  if (!amount) {\n    return _date;\n  }\n  const dayOfMonth = _date.getDate();\n  const endOfDesiredMonth = constructFrom(date, _date.getTime());\n  endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);\n  const daysInMonth = endOfDesiredMonth.getDate();\n  if (dayOfMonth >= daysInMonth) {\n    return endOfDesiredMonth;\n  } else {\n    _date.setFullYear(\n      endOfDesiredMonth.getFullYear(),\n      endOfDesiredMonth.getMonth(),\n      dayOfMonth\n    );\n    return _date;\n  }\n}\nexport {\n  addMonths,\n  addMonths as default\n};\n","var CouponType = /* @__PURE__ */ ((CouponType2) => {\n  CouponType2[CouponType2[\"NORMAL\"] = 0] = \"NORMAL\";\n  CouponType2[CouponType2[\"LIMITED\"] = 1] = \"LIMITED\";\n  CouponType2[CouponType2[\"RANDOM\"] = 2] = \"RANDOM\";\n  return CouponType2;\n})(CouponType || {});\nvar CouponDiscountType = /* @__PURE__ */ ((CouponDiscountType2) => {\n  CouponDiscountType2[CouponDiscountType2[\"RATE\"] = 0] = \"RATE\";\n  CouponDiscountType2[CouponDiscountType2[\"AMOUNT\"] = 1] = \"AMOUNT\";\n  return CouponDiscountType2;\n})(CouponDiscountType || {});\nvar DiscountType = /* @__PURE__ */ ((DiscountType2) => {\n  DiscountType2[\"FIXED_RATE\"] = \"FIXED_RATE\";\n  DiscountType2[\"FIXED_PRICE\"] = \"FIXED_PRICE\";\n  return DiscountType2;\n})(DiscountType || {});\nvar AvailableDayType = /* @__PURE__ */ ((AvailableDayType2) => {\n  AvailableDayType2[\"RANGE\"] = \"RANGE\";\n  AvailableDayType2[\"DAY\"] = \"DAY\";\n  AvailableDayType2[\"NONE\"] = \"NONE\";\n  return AvailableDayType2;\n})(AvailableDayType || {});\nvar KindType = /* @__PURE__ */ ((KindType2) => {\n  KindType2[\"PRODUCT\"] = \"PRODUCT\";\n  KindType2[\"CART\"] = \"CART\";\n  return KindType2;\n})(KindType || {});\nexport {\n  AvailableDayType,\n  CouponDiscountType,\n  CouponType,\n  DiscountType,\n  KindType\n};\n","function listCacheClear() {\n  this.__data__ = [];\n  this.size = 0;\n}\nexport {\n  listCacheClear as default\n};\n","function eq(value, other) {\n  return value === other || value !== value && other !== other;\n}\nexport {\n  eq as default\n};\n","import eq from \"./eq.js\";\nfunction assocIndexOf(array, key) {\n  var length = array.length;\n  while (length--) {\n    if (eq(array[length][0], key)) {\n      return length;\n    }\n  }\n  return -1;\n}\nexport {\n  assocIndexOf as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nvar arrayProto = Array.prototype;\nvar splice = arrayProto.splice;\nfunction listCacheDelete(key) {\n  var data = this.__data__, index = assocIndexOf(data, key);\n  if (index < 0) {\n    return false;\n  }\n  var lastIndex = data.length - 1;\n  if (index == lastIndex) {\n    data.pop();\n  } else {\n    splice.call(data, index, 1);\n  }\n  --this.size;\n  return true;\n}\nexport {\n  listCacheDelete as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nfunction listCacheGet(key) {\n  var data = this.__data__, index = assocIndexOf(data, key);\n  return index < 0 ? void 0 : data[index][1];\n}\nexport {\n  listCacheGet as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nfunction listCacheHas(key) {\n  return assocIndexOf(this.__data__, key) > -1;\n}\nexport {\n  listCacheHas as default\n};\n","import assocIndexOf from \"./_assocIndexOf.js\";\nfunction listCacheSet(key, value) {\n  var data = this.__data__, index = assocIndexOf(data, key);\n  if (index < 0) {\n    ++this.size;\n    data.push([key, value]);\n  } else {\n    data[index][1] = value;\n  }\n  return this;\n}\nexport {\n  listCacheSet as default\n};\n","import listCacheClear from \"./_listCacheClear.js\";\nimport listCacheDelete from \"./_listCacheDelete.js\";\nimport listCacheGet from \"./_listCacheGet.js\";\nimport listCacheHas from \"./_listCacheHas.js\";\nimport listCacheSet from \"./_listCacheSet.js\";\nfunction ListCache(entries) {\n  var index = -1, length = entries == null ? 0 : entries.length;\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\nListCache.prototype.clear = listCacheClear;\nListCache.prototype[\"delete\"] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\nexport {\n  ListCache as default\n};\n","import ListCache from \"./_ListCache.js\";\nfunction stackClear() {\n  this.__data__ = new ListCache();\n  this.size = 0;\n}\nexport {\n  stackClear as default\n};\n","function stackDelete(key) {\n  var data = this.__data__, result = data[\"delete\"](key);\n  this.size = data.size;\n  return result;\n}\nexport {\n  stackDelete as default\n};\n","function stackGet(key) {\n  return this.__data__.get(key);\n}\nexport {\n  stackGet as default\n};\n","function stackHas(key) {\n  return this.__data__.has(key);\n}\nexport {\n  stackHas as default\n};\n","import global from \"../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nvar freeGlobal = typeof global == \"object\" && global && global.Object === Object && global;\nexport {\n  freeGlobal as default\n};\n","import freeGlobal from \"./_freeGlobal.js\";\nvar freeSelf = typeof self == \"object\" && self && self.Object === Object && self;\nvar root = freeGlobal || freeSelf || Function(\"return this\")();\nexport {\n  root as default\n};\n","import root from \"./_root.js\";\nvar Symbol$1 = root.Symbol;\nexport {\n  Symbol$1 as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar nativeObjectToString = objectProto.toString;\nvar symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;\nfunction getRawTag(value) {\n  var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];\n  try {\n    value[symToStringTag] = void 0;\n    var unmasked = true;\n  } catch (e) {\n  }\n  var result = nativeObjectToString.call(value);\n  if (unmasked) {\n    if (isOwn) {\n      value[symToStringTag] = tag;\n    } else {\n      delete value[symToStringTag];\n    }\n  }\n  return result;\n}\nexport {\n  getRawTag as default\n};\n","var objectProto = Object.prototype;\nvar nativeObjectToString = objectProto.toString;\nfunction objectToString(value) {\n  return nativeObjectToString.call(value);\n}\nexport {\n  objectToString as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nimport getRawTag from \"./_getRawTag.js\";\nimport objectToString from \"./_objectToString.js\";\nvar nullTag = \"[object Null]\", undefinedTag = \"[object Undefined]\";\nvar symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;\nfunction baseGetTag(value) {\n  if (value == null) {\n    return value === void 0 ? undefinedTag : nullTag;\n  }\n  return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);\n}\nexport {\n  baseGetTag as default\n};\n","function isObject(value) {\n  var type = typeof value;\n  return value != null && (type == \"object\" || type == \"function\");\n}\nexport {\n  isObject as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isObject from \"./isObject.js\";\nvar asyncTag = \"[object AsyncFunction]\", funcTag = \"[object Function]\", genTag = \"[object GeneratorFunction]\", proxyTag = \"[object Proxy]\";\nfunction isFunction(value) {\n  if (!isObject(value)) {\n    return false;\n  }\n  var tag = baseGetTag(value);\n  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\nexport {\n  isFunction as default\n};\n","import root from \"./_root.js\";\nvar coreJsData = root[\"__core-js_shared__\"];\nexport {\n  coreJsData as default\n};\n","import coreJsData from \"./_coreJsData.js\";\nvar maskSrcKey = function() {\n  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || \"\");\n  return uid ? \"Symbol(src)_1.\" + uid : \"\";\n}();\nfunction isMasked(func) {\n  return !!maskSrcKey && maskSrcKey in func;\n}\nexport {\n  isMasked as default\n};\n","var funcProto = Function.prototype;\nvar funcToString = funcProto.toString;\nfunction toSource(func) {\n  if (func != null) {\n    try {\n      return funcToString.call(func);\n    } catch (e) {\n    }\n    try {\n      return func + \"\";\n    } catch (e) {\n    }\n  }\n  return \"\";\n}\nexport {\n  toSource as default\n};\n","import isFunction from \"./isFunction.js\";\nimport isMasked from \"./_isMasked.js\";\nimport isObject from \"./isObject.js\";\nimport toSource from \"./_toSource.js\";\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\nvar funcProto = Function.prototype, objectProto = Object.prototype;\nvar funcToString = funcProto.toString;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar reIsNative = RegExp(\n  \"^\" + funcToString.call(hasOwnProperty).replace(reRegExpChar, \"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, \"$1.*?\") + \"$\"\n);\nfunction baseIsNative(value) {\n  if (!isObject(value) || isMasked(value)) {\n    return false;\n  }\n  var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n  return pattern.test(toSource(value));\n}\nexport {\n  baseIsNative as default\n};\n","function getValue(object, key) {\n  return object == null ? void 0 : object[key];\n}\nexport {\n  getValue as default\n};\n","import baseIsNative from \"./_baseIsNative.js\";\nimport getValue from \"./_getValue.js\";\nfunction getNative(object, key) {\n  var value = getValue(object, key);\n  return baseIsNative(value) ? value : void 0;\n}\nexport {\n  getNative as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar Map = getNative(root, \"Map\");\nexport {\n  Map as default\n};\n","import getNative from \"./_getNative.js\";\nvar nativeCreate = getNative(Object, \"create\");\nexport {\n  nativeCreate as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nfunction hashClear() {\n  this.__data__ = nativeCreate ? nativeCreate(null) : {};\n  this.size = 0;\n}\nexport {\n  hashClear as default\n};\n","function hashDelete(key) {\n  var result = this.has(key) && delete this.__data__[key];\n  this.size -= result ? 1 : 0;\n  return result;\n}\nexport {\n  hashDelete as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nvar HASH_UNDEFINED = \"__lodash_hash_undefined__\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction hashGet(key) {\n  var data = this.__data__;\n  if (nativeCreate) {\n    var result = data[key];\n    return result === HASH_UNDEFINED ? void 0 : result;\n  }\n  return hasOwnProperty.call(data, key) ? data[key] : void 0;\n}\nexport {\n  hashGet as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction hashHas(key) {\n  var data = this.__data__;\n  return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);\n}\nexport {\n  hashHas as default\n};\n","import nativeCreate from \"./_nativeCreate.js\";\nvar HASH_UNDEFINED = \"__lodash_hash_undefined__\";\nfunction hashSet(key, value) {\n  var data = this.__data__;\n  this.size += this.has(key) ? 0 : 1;\n  data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;\n  return this;\n}\nexport {\n  hashSet as default\n};\n","import hashClear from \"./_hashClear.js\";\nimport hashDelete from \"./_hashDelete.js\";\nimport hashGet from \"./_hashGet.js\";\nimport hashHas from \"./_hashHas.js\";\nimport hashSet from \"./_hashSet.js\";\nfunction Hash(entries) {\n  var index = -1, length = entries == null ? 0 : entries.length;\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\nHash.prototype.clear = hashClear;\nHash.prototype[\"delete\"] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\nexport {\n  Hash as default\n};\n","import Hash from \"./_Hash.js\";\nimport ListCache from \"./_ListCache.js\";\nimport Map from \"./_Map.js\";\nfunction mapCacheClear() {\n  this.size = 0;\n  this.__data__ = {\n    \"hash\": new Hash(),\n    \"map\": new (Map || ListCache)(),\n    \"string\": new Hash()\n  };\n}\nexport {\n  mapCacheClear as default\n};\n","function isKeyable(value) {\n  var type = typeof value;\n  return type == \"string\" || type == \"number\" || type == \"symbol\" || type == \"boolean\" ? value !== \"__proto__\" : value === null;\n}\nexport {\n  isKeyable as default\n};\n","import isKeyable from \"./_isKeyable.js\";\nfunction getMapData(map, key) {\n  var data = map.__data__;\n  return isKeyable(key) ? data[typeof key == \"string\" ? \"string\" : \"hash\"] : data.map;\n}\nexport {\n  getMapData as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheDelete(key) {\n  var result = getMapData(this, key)[\"delete\"](key);\n  this.size -= result ? 1 : 0;\n  return result;\n}\nexport {\n  mapCacheDelete as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheGet(key) {\n  return getMapData(this, key).get(key);\n}\nexport {\n  mapCacheGet as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheHas(key) {\n  return getMapData(this, key).has(key);\n}\nexport {\n  mapCacheHas as default\n};\n","import getMapData from \"./_getMapData.js\";\nfunction mapCacheSet(key, value) {\n  var data = getMapData(this, key), size = data.size;\n  data.set(key, value);\n  this.size += data.size == size ? 0 : 1;\n  return this;\n}\nexport {\n  mapCacheSet as default\n};\n","import mapCacheClear from \"./_mapCacheClear.js\";\nimport mapCacheDelete from \"./_mapCacheDelete.js\";\nimport mapCacheGet from \"./_mapCacheGet.js\";\nimport mapCacheHas from \"./_mapCacheHas.js\";\nimport mapCacheSet from \"./_mapCacheSet.js\";\nfunction MapCache(entries) {\n  var index = -1, length = entries == null ? 0 : entries.length;\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype[\"delete\"] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\nexport {\n  MapCache as default\n};\n","import ListCache from \"./_ListCache.js\";\nimport Map from \"./_Map.js\";\nimport MapCache from \"./_MapCache.js\";\nvar LARGE_ARRAY_SIZE = 200;\nfunction stackSet(key, value) {\n  var data = this.__data__;\n  if (data instanceof ListCache) {\n    var pairs = data.__data__;\n    if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {\n      pairs.push([key, value]);\n      this.size = ++data.size;\n      return this;\n    }\n    data = this.__data__ = new MapCache(pairs);\n  }\n  data.set(key, value);\n  this.size = data.size;\n  return this;\n}\nexport {\n  stackSet as default\n};\n","import ListCache from \"./_ListCache.js\";\nimport stackClear from \"./_stackClear.js\";\nimport stackDelete from \"./_stackDelete.js\";\nimport stackGet from \"./_stackGet.js\";\nimport stackHas from \"./_stackHas.js\";\nimport stackSet from \"./_stackSet.js\";\nfunction Stack(entries) {\n  var data = this.__data__ = new ListCache(entries);\n  this.size = data.size;\n}\nStack.prototype.clear = stackClear;\nStack.prototype[\"delete\"] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\nexport {\n  Stack as default\n};\n","import root from \"./_root.js\";\nvar Uint8Array = root.Uint8Array;\nexport {\n  Uint8Array as default\n};\n","function overArg(func, transform) {\n  return function(arg) {\n    return func(transform(arg));\n  };\n}\nexport {\n  overArg as default\n};\n","var objectProto = Object.prototype;\nfunction isPrototype(value) {\n  var Ctor = value && value.constructor, proto = typeof Ctor == \"function\" && Ctor.prototype || objectProto;\n  return value === proto;\n}\nexport {\n  isPrototype as default\n};\n","function isObjectLike(value) {\n  return value != null && typeof value == \"object\";\n}\nexport {\n  isObjectLike as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar argsTag = \"[object Arguments]\";\nfunction baseIsArguments(value) {\n  return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\nexport {\n  baseIsArguments as default\n};\n","import baseIsArguments from \"./_baseIsArguments.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\nvar isArguments = baseIsArguments(/* @__PURE__ */ function() {\n  return arguments;\n}()) ? baseIsArguments : function(value) {\n  return isObjectLike(value) && hasOwnProperty.call(value, \"callee\") && !propertyIsEnumerable.call(value, \"callee\");\n};\nexport {\n  isArguments as default\n};\n","var isArray = Array.isArray;\nexport {\n  isArray as default\n};\n","var MAX_SAFE_INTEGER = 9007199254740991;\nfunction isLength(value) {\n  return typeof value == \"number\" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\nexport {\n  isLength as default\n};\n","import isFunction from \"./isFunction.js\";\nimport isLength from \"./isLength.js\";\nfunction isArrayLike(value) {\n  return value != null && isLength(value.length) && !isFunction(value);\n}\nexport {\n  isArrayLike as default\n};\n","function stubFalse() {\n  return false;\n}\nexport {\n  stubFalse as default\n};\n","import root from \"./_root.js\";\nimport stubFalse from \"./stubFalse.js\";\nvar freeExports = typeof exports == \"object\" && exports && !exports.nodeType && exports;\nvar freeModule = freeExports && typeof module == \"object\" && module && !module.nodeType && module;\nvar moduleExports = freeModule && freeModule.exports === freeExports;\nvar Buffer = moduleExports ? root.Buffer : void 0;\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;\nvar isBuffer = nativeIsBuffer || stubFalse;\nexport {\n  isBuffer as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isLength from \"./isLength.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar argsTag = \"[object Arguments]\", arrayTag = \"[object Array]\", boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", errorTag = \"[object Error]\", funcTag = \"[object Function]\", mapTag = \"[object Map]\", numberTag = \"[object Number]\", objectTag = \"[object Object]\", regexpTag = \"[object RegExp]\", setTag = \"[object Set]\", stringTag = \"[object String]\", weakMapTag = \"[object WeakMap]\";\nvar arrayBufferTag = \"[object ArrayBuffer]\", dataViewTag = \"[object DataView]\", float32Tag = \"[object Float32Array]\", float64Tag = \"[object Float64Array]\", int8Tag = \"[object Int8Array]\", int16Tag = \"[object Int16Array]\", int32Tag = \"[object Int32Array]\", uint8Tag = \"[object Uint8Array]\", uint8ClampedTag = \"[object Uint8ClampedArray]\", uint16Tag = \"[object Uint16Array]\", uint32Tag = \"[object Uint32Array]\";\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\nfunction baseIsTypedArray(value) {\n  return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\nexport {\n  baseIsTypedArray as default\n};\n","function baseUnary(func) {\n  return function(value) {\n    return func(value);\n  };\n}\nexport {\n  baseUnary as default\n};\n","import freeGlobal from \"./_freeGlobal.js\";\nvar freeExports = typeof exports == \"object\" && exports && !exports.nodeType && exports;\nvar freeModule = freeExports && typeof module == \"object\" && module && !module.nodeType && module;\nvar moduleExports = freeModule && freeModule.exports === freeExports;\nvar freeProcess = moduleExports && freeGlobal.process;\nvar nodeUtil = function() {\n  try {\n    var types = freeModule && freeModule.require && freeModule.require(\"util\").types;\n    if (types) {\n      return types;\n    }\n    return freeProcess && freeProcess.binding && freeProcess.binding(\"util\");\n  } catch (e) {\n  }\n}();\nexport {\n  nodeUtil as default\n};\n","import baseIsTypedArray from \"./_baseIsTypedArray.js\";\nimport baseUnary from \"./_baseUnary.js\";\nimport nodeUtil from \"./_nodeUtil.js\";\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\nexport {\n  isTypedArray as default\n};\n","function baseTimes(n, iteratee) {\n  var index = -1, result = Array(n);\n  while (++index < n) {\n    result[index] = iteratee(index);\n  }\n  return result;\n}\nexport {\n  baseTimes as default\n};\n","var MAX_SAFE_INTEGER = 9007199254740991;\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\nfunction isIndex(value, length) {\n  var type = typeof value;\n  length = length == null ? MAX_SAFE_INTEGER : length;\n  return !!length && (type == \"number\" || type != \"symbol\" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);\n}\nexport {\n  isIndex as default\n};\n","import baseTimes from \"./_baseTimes.js\";\nimport isArguments from \"./isArguments.js\";\nimport isArray from \"./isArray.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isIndex from \"./_isIndex.js\";\nimport isTypedArray from \"./isTypedArray.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction arrayLikeKeys(value, inherited) {\n  var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;\n  for (var key in value) {\n    if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.\n    (key == \"length\" || // Node.js 0.10 has enumerable non-index properties on buffers.\n    isBuff && (key == \"offset\" || key == \"parent\") || // PhantomJS 2 has enumerable non-index properties on typed arrays.\n    isType && (key == \"buffer\" || key == \"byteLength\" || key == \"byteOffset\") || // Skip index properties.\n    isIndex(key, length)))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  arrayLikeKeys as default\n};\n","import overArg from \"./_overArg.js\";\nvar nativeKeys = overArg(Object.keys, Object);\nexport {\n  nativeKeys as default\n};\n","import isPrototype from \"./_isPrototype.js\";\nimport nativeKeys from \"./_nativeKeys.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction baseKeys(object) {\n  if (!isPrototype(object)) {\n    return nativeKeys(object);\n  }\n  var result = [];\n  for (var key in Object(object)) {\n    if (hasOwnProperty.call(object, key) && key != \"constructor\") {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  baseKeys as default\n};\n","import arrayLikeKeys from \"./_arrayLikeKeys.js\";\nimport baseKeys from \"./_baseKeys.js\";\nimport isArrayLike from \"./isArrayLike.js\";\nfunction keys(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\nexport {\n  keys as default\n};\n","function arrayFilter(array, predicate) {\n  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];\n  while (++index < length) {\n    var value = array[index];\n    if (predicate(value, index, array)) {\n      result[resIndex++] = value;\n    }\n  }\n  return result;\n}\nexport {\n  arrayFilter as default\n};\n","function stubArray() {\n  return [];\n}\nexport {\n  stubArray as default\n};\n","import arrayFilter from \"./_arrayFilter.js\";\nimport stubArray from \"./stubArray.js\";\nvar objectProto = Object.prototype;\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n  if (object == null) {\n    return [];\n  }\n  object = Object(object);\n  return arrayFilter(nativeGetSymbols(object), function(symbol) {\n    return propertyIsEnumerable.call(object, symbol);\n  });\n};\nexport {\n  getSymbols as default\n};\n","function arrayPush(array, values) {\n  var index = -1, length = values.length, offset = array.length;\n  while (++index < length) {\n    array[offset + index] = values[index];\n  }\n  return array;\n}\nexport {\n  arrayPush as default\n};\n","import arrayPush from \"./_arrayPush.js\";\nimport isArray from \"./isArray.js\";\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n  var result = keysFunc(object);\n  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\nexport {\n  baseGetAllKeys as default\n};\n","import baseGetAllKeys from \"./_baseGetAllKeys.js\";\nimport getSymbols from \"./_getSymbols.js\";\nimport keys from \"./keys.js\";\nfunction getAllKeys(object) {\n  return baseGetAllKeys(object, keys, getSymbols);\n}\nexport {\n  getAllKeys as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar DataView = getNative(root, \"DataView\");\nexport {\n  DataView as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar Promise$1 = getNative(root, \"Promise\");\nexport {\n  Promise$1 as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar Set = getNative(root, \"Set\");\nexport {\n  Set as default\n};\n","import getNative from \"./_getNative.js\";\nimport root from \"./_root.js\";\nvar WeakMap = getNative(root, \"WeakMap\");\nexport {\n  WeakMap as default\n};\n","import DataView from \"./_DataView.js\";\nimport Map from \"./_Map.js\";\nimport Promise$1 from \"./_Promise.js\";\nimport Set from \"./_Set.js\";\nimport WeakMap from \"./_WeakMap.js\";\nimport baseGetTag from \"./_baseGetTag.js\";\nimport toSource from \"./_toSource.js\";\nvar mapTag = \"[object Map]\", objectTag = \"[object Object]\", promiseTag = \"[object Promise]\", setTag = \"[object Set]\", weakMapTag = \"[object WeakMap]\";\nvar dataViewTag = \"[object DataView]\";\nvar dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);\nvar getTag = baseGetTag;\nif (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n  getTag = function(value) {\n    var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : \"\";\n    if (ctorString) {\n      switch (ctorString) {\n        case dataViewCtorString:\n          return dataViewTag;\n        case mapCtorString:\n          return mapTag;\n        case promiseCtorString:\n          return promiseTag;\n        case setCtorString:\n          return setTag;\n        case weakMapCtorString:\n          return weakMapTag;\n      }\n    }\n    return result;\n  };\n}\nconst getTag$1 = getTag;\nexport {\n  getTag$1 as default\n};\n","import { ControlType } from \"framer\";\nexport const fontStack = `\"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"`;\nexport const containerStyles = {\n    position: \"relative\",\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(136, 85, 255, 0.3)\",\n    color: \"#85F\",\n    border: \"1px dashed #85F\",\n    flexDirection: \"column\"\n};\nexport const defaultEvents = {\n    onClick: {\n        type: ControlType.EventHandler\n    },\n    onMouseEnter: {\n        type: ControlType.EventHandler\n    },\n    onMouseLeave: {\n        type: ControlType.EventHandler\n    }\n};\nexport const fontSizeOptions = {\n    type: ControlType.Number,\n    title: \"Font Size\",\n    min: 2,\n    max: 200,\n    step: 1,\n    displayStepper: true\n};\nexport const fontControls = {\n    font: {\n        type: ControlType.Boolean,\n        title: \"Font\",\n        defaultValue: false,\n        disabledTitle: \"Default\",\n        enabledTitle: \"Custom\"\n    },\n    fontFamily: {\n        type: ControlType.String,\n        title: \"Family\",\n        placeholder: \"Inter\",\n        hidden: ({ font  })=>!font\n    },\n    fontWeight: {\n        type: ControlType.Enum,\n        title: \"Weight\",\n        options: [\n            100,\n            200,\n            300,\n            400,\n            500,\n            600,\n            700,\n            800,\n            900\n        ],\n        optionTitles: [\n            \"Thin\",\n            \"Extra-light\",\n            \"Light\",\n            \"Regular\",\n            \"Medium\",\n            \"Semi-bold\",\n            \"Bold\",\n            \"Extra-bold\",\n            \"Black\", \n        ],\n        hidden: ({ font  })=>!font\n    }\n};\n// @TODO check if we're missing anything here — there doesn't seem to be a reliable browser API for this\nexport const localeOptions = {\n    af: \"Afrikaans\",\n    sq: \"Albanian\",\n    an: \"Aragonese\",\n    ar: \"Arabic (Standard)\",\n    \"ar-dz\": \"Arabic (Algeria)\",\n    \"ar-bh\": \"Arabic (Bahrain)\",\n    \"ar-eg\": \"Arabic (Egypt)\",\n    \"ar-iq\": \"Arabic (Iraq)\",\n    \"ar-jo\": \"Arabic (Jordan)\",\n    \"ar-kw\": \"Arabic (Kuwait)\",\n    \"ar-lb\": \"Arabic (Lebanon)\",\n    \"ar-ly\": \"Arabic (Libya)\",\n    \"ar-ma\": \"Arabic (Morocco)\",\n    \"ar-om\": \"Arabic (Oman)\",\n    \"ar-qa\": \"Arabic (Qatar)\",\n    \"ar-sa\": \"Arabic (Saudi Arabia)\",\n    \"ar-sy\": \"Arabic (Syria)\",\n    \"ar-tn\": \"Arabic (Tunisia)\",\n    \"ar-ae\": \"Arabic (U.A.E.)\",\n    \"ar-ye\": \"Arabic (Yemen)\",\n    hy: \"Armenian\",\n    as: \"Assamese\",\n    ast: \"Asturian\",\n    az: \"Azerbaijani\",\n    eu: \"Basque\",\n    bg: \"Bulgarian\",\n    be: \"Belarusian\",\n    bn: \"Bengali\",\n    bs: \"Bosnian\",\n    br: \"Breton\",\n    my: \"Burmese\",\n    ca: \"Catalan\",\n    ch: \"Chamorro\",\n    ce: \"Chechen\",\n    zh: \"Chinese\",\n    \"zh-hk\": \"Chinese (Hong Kong)\",\n    \"zh-cn\": \"Chinese (PRC)\",\n    \"zh-sg\": \"Chinese (Singapore)\",\n    \"zh-tw\": \"Chinese (Taiwan)\",\n    cv: \"Chuvash\",\n    co: \"Corsican\",\n    cr: \"Cree\",\n    hr: \"Croatian\",\n    cs: \"Czech\",\n    da: \"Danish\",\n    nl: \"Dutch (Standard)\",\n    \"nl-be\": \"Dutch (Belgian)\",\n    en: \"English\",\n    \"en-au\": \"English (Australia)\",\n    \"en-bz\": \"English (Belize)\",\n    \"en-ca\": \"English (Canada)\",\n    \"en-ie\": \"English (Ireland)\",\n    \"en-jm\": \"English (Jamaica)\",\n    \"en-nz\": \"English (New Zealand)\",\n    \"en-ph\": \"English (Philippines)\",\n    \"en-za\": \"English (South Africa)\",\n    \"en-tt\": \"English (Trinidad & Tobago)\",\n    \"en-gb\": \"English (United Kingdom)\",\n    \"en-us\": \"English (United States)\",\n    \"en-zw\": \"English (Zimbabwe)\",\n    eo: \"Esperanto\",\n    et: \"Estonian\",\n    fo: \"Faeroese\",\n    fa: \"Farsi\",\n    fj: \"Fijian\",\n    fi: \"Finnish\",\n    fr: \"French (Standard)\",\n    \"fr-be\": \"French (Belgium)\",\n    \"fr-ca\": \"French (Canada)\",\n    \"fr-fr\": \"French (France)\",\n    \"fr-lu\": \"French (Luxembourg)\",\n    \"fr-mc\": \"French (Monaco)\",\n    \"fr-ch\": \"French (Switzerland)\",\n    fy: \"Frisian\",\n    fur: \"Friulian\",\n    gd: \"Gaelic (Scots)\",\n    \"gd-ie\": \"Gaelic (Irish)\",\n    gl: \"Galacian\",\n    ka: \"Georgian\",\n    de: \"German (Standard)\",\n    \"de-at\": \"German (Austria)\",\n    \"de-de\": \"German (Germany)\",\n    \"de-li\": \"German (Liechtenstein)\",\n    \"de-lu\": \"German (Luxembourg)\",\n    \"de-ch\": \"German (Switzerland)\",\n    el: \"Greek\",\n    gu: \"Gujurati\",\n    ht: \"Haitian\",\n    he: \"Hebrew\",\n    hi: \"Hindi\",\n    hu: \"Hungarian\",\n    is: \"Icelandic\",\n    id: \"Indonesian\",\n    iu: \"Inuktitut\",\n    ga: \"Irish\",\n    it: \"Italian (Standard)\",\n    \"it-ch\": \"Italian (Switzerland)\",\n    ja: \"Japanese\",\n    kn: \"Kannada\",\n    ks: \"Kashmiri\",\n    kk: \"Kazakh\",\n    km: \"Khmer\",\n    ky: \"Kirghiz\",\n    tlh: \"Klingon\",\n    ko: \"Korean\",\n    \"ko-kp\": \"Korean (North Korea)\",\n    \"ko-kr\": \"Korean (South Korea)\",\n    la: \"Latin\",\n    lv: \"Latvian\",\n    lt: \"Lithuanian\",\n    lb: \"Luxembourgish\",\n    mk: \"FYRO Macedonian\",\n    ms: \"Malay\",\n    ml: \"Malayalam\",\n    mt: \"Maltese\",\n    mi: \"Maori\",\n    mr: \"Marathi\",\n    mo: \"Moldavian\",\n    nv: \"Navajo\",\n    ng: \"Ndonga\",\n    ne: \"Nepali\",\n    no: \"Norwegian\",\n    nb: \"Norwegian (Bokmal)\",\n    nn: \"Norwegian (Nynorsk)\",\n    oc: \"Occitan\",\n    or: \"Oriya\",\n    om: \"Oromo\",\n    \"fa-ir\": \"Persian/Iran\",\n    pl: \"Polish\",\n    pt: \"Portuguese\",\n    \"pt-br\": \"Portuguese (Brazil)\",\n    pa: \"Punjabi\",\n    \"pa-in\": \"Punjabi (India)\",\n    \"pa-pk\": \"Punjabi (Pakistan)\",\n    qu: \"Quechua\",\n    rm: \"Rhaeto-Romanic\",\n    ro: \"Romanian\",\n    \"ro-mo\": \"Romanian (Moldavia)\",\n    ru: \"Russian\",\n    \"ru-mo\": \"Russian (Moldavia)\",\n    sz: \"Sami (Lappish)\",\n    sg: \"Sango\",\n    sa: \"Sanskrit\",\n    sc: \"Sardinian\",\n    sd: \"Sindhi\",\n    si: \"Singhalese\",\n    sr: \"Serbian\",\n    sk: \"Slovak\",\n    sl: \"Slovenian\",\n    so: \"Somani\",\n    sb: \"Sorbian\",\n    es: \"Spanish\",\n    \"es-ar\": \"Spanish (Argentina)\",\n    \"es-bo\": \"Spanish (Bolivia)\",\n    \"es-cl\": \"Spanish (Chile)\",\n    \"es-co\": \"Spanish (Colombia)\",\n    \"es-cr\": \"Spanish (Costa Rica)\",\n    \"es-do\": \"Spanish (Dominican Republic)\",\n    \"es-ec\": \"Spanish (Ecuador)\",\n    \"es-sv\": \"Spanish (El Salvador)\",\n    \"es-gt\": \"Spanish (Guatemala)\",\n    \"es-hn\": \"Spanish (Honduras)\",\n    \"es-mx\": \"Spanish (Mexico)\",\n    \"es-ni\": \"Spanish (Nicaragua)\",\n    \"es-pa\": \"Spanish (Panama)\",\n    \"es-py\": \"Spanish (Paraguay)\",\n    \"es-pe\": \"Spanish (Peru)\",\n    \"es-pr\": \"Spanish (Puerto Rico)\",\n    \"es-es\": \"Spanish (Spain)\",\n    \"es-uy\": \"Spanish (Uruguay)\",\n    \"es-ve\": \"Spanish (Venezuela)\",\n    sx: \"Sutu\",\n    sw: \"Swahili\",\n    sv: \"Swedish\",\n    \"sv-fi\": \"Swedish (Finland)\",\n    \"sv-sv\": \"Swedish (Sweden)\",\n    ta: \"Tamil\",\n    tt: \"Tatar\",\n    te: \"Teluga\",\n    th: \"Thai\",\n    tig: \"Tigre\",\n    ts: \"Tsonga\",\n    tn: \"Tswana\",\n    tr: \"Turkish\",\n    tk: \"Turkmen\",\n    uk: \"Ukrainian\",\n    hsb: \"Upper Sorbian\",\n    ur: \"Urdu\",\n    ve: \"Venda\",\n    vi: \"Vietnamese\",\n    vo: \"Volapuk\",\n    wa: \"Walloon\",\n    cy: \"Welsh\",\n    xh: \"Xhosa\",\n    ji: \"Yiddish\",\n    zu: \"Zulu\"\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./constants.map","import { useIsInCurrentNavigationTarget } from \"framer\";\nimport { useEffect } from \"react\";\nexport function useOnEnter(onEnter, enabled) {\n    return useOnSpecificTargetChange(true, onEnter, enabled);\n}\nexport function useOnExit(onExit, enabled) {\n    return useOnSpecificTargetChange(false, onExit, enabled);\n}\nfunction useOnSpecificTargetChange(goal, callback, enabled = true) {\n    const isInTarget = useIsInCurrentNavigationTarget();\n    useEffect(()=>{\n        if (enabled && isInTarget === goal) callback();\n    }, [\n        isInTarget\n    ]);\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useOnEnter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnNavigationTargetChange.map","import { useRef } from \"react\";\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */ export function useConstant(init) {\n    const ref = useRef(null);\n    if (ref.current === null) {\n        ref.current = init();\n    }\n    return ref.current;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useConstant.map","import { Color } from \"framer\";\nexport function colorFromToken(color) {\n    if (color.startsWith(\"var(--token-\")) return \"rgb\" + color.split(\") /*\")[0].split(\", rgb\")[1];\n    return color;\n}\nexport function colorTokentoValue(color) {\n    return Color(colorFromToken(color)).toValue();\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"colorFromToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./colorFromToken.map","import { MotionValue } from \"framer\";\nexport const isMotionValue = (v)=>v instanceof MotionValue\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isMotionValue.map","import * as React from \"react\";\nconst letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\nconst l = ()=>letters[Math.floor(Math.random() * letters.length)]\n;\nexport const randomID = ()=>l() + l() + l() + l() + l() + l() + l() + l() + l()\n;\nfunction createUniqueClass(suffix) {\n    return `framer-${suffix}-${randomID()}`;\n}\nexport function useUniqueClassName(suffix, deps) {\n    const [className, setClassName] = React.useState(createUniqueClass(suffix));\n    React.useEffect(()=>{\n        setClassName(createUniqueClass(suffix));\n    }, [\n        suffix,\n        ...deps\n    ]);\n    return className;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useUniqueClassName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useUniqueClassName.map","import { ControlType } from \"framer\";\n// I realize this only applies to select right now\n// but we can work on it in here\nexport function getVariantControls(Component, variant, additionalControls = {\n}) {\n    return {\n        [`${variant}TextColor`]: {\n            type: ControlType.Color,\n            title: \"Text Color\",\n            defaultValue: Component.defaultProps[`${variant}TextColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}IconColor`]: {\n            type: ControlType.Color,\n            title: \"Icon Color\",\n            defaultValue: Component.defaultProps[`${variant}IconColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BackgroundColor`]: {\n            type: ControlType.Color,\n            title: \"Bg Color\",\n            defaultValue: Component.defaultProps[`${variant}BackgroundColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderColor`]: {\n            type: ControlType.Color,\n            title: \"Border Color\",\n            defaultValue: Component.defaultProps[`${variant}BorderColor`],\n            hidden: (props)=>props.variant !== variant\n        },\n        [`${variant}BorderWidth`]: {\n            type: ControlType.Number,\n            title: \" \",\n            min: 0,\n            max: 5,\n            displayStepper: true,\n            defaultValue: Component.defaultProps[`${variant}BorderWidth`],\n            hidden: (props)=>props.variant !== variant\n        },\n        ...additionalControls\n    };\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"getVariantControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./variantUtils.map","import { useMemo } from \"react\";\nexport const isBrowserSafari = ()=>{\n    if (typeof navigator !== `undefined`) {\n        const userAgent = navigator.userAgent.toLowerCase();\n        const isSafari = (userAgent.indexOf(\"safari\") > -1 || userAgent.indexOf(\"framermobile\") > -1 || userAgent.indexOf(\"framerx\") > -1) && userAgent.indexOf(\"chrome\") < 0;\n        return isSafari;\n    } else return false;\n};\nexport const useIsBrowserSafari = ()=>useMemo(()=>isBrowserSafari()\n    , [])\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./isBrowser.map","import { useEffect } from \"react\";\n//@ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\nexport function useOnChange(value, callback) {\n    useEffect(()=>// @ts-ignore this should be detected as a MV :shrug:\n        isMotionValue(value) ? value.onChange(callback) : undefined\n    );\n}\nexport function useMultiOnChange(values, handler) {\n    useEffect(()=>{\n        const subscriptions = values.map((value)=>value.onChange(handler)\n        );\n        return ()=>subscriptions.forEach((unsubscribe)=>unsubscribe()\n            )\n        ;\n    });\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"Subscriber\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useOnChange.map","import { useCallback, useEffect, useRef } from \"react\";\nimport { motionValue, animate, RenderTarget } from \"framer\";\n// @ts-ignore\nimport { isMotionValue } from \"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";\n// @ts-ignore\nimport { useConstant } from \"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";\nexport function useAutoMotionValue(inputValue, options) {\n    var ref;\n    // Put options on a local ref\n    // Might wanna just memo instead but it works for now\n    const optionsRef = useRef(options);\n    const animation = useRef();\n    const didInitialMount = useRef(false);\n    const isOnCanvas = RenderTarget.current() === RenderTarget.canvas;\n    // in-progress - trying to figure out effect hooks\n    const onChangeDeps = (options === null || options === void 0 ? void 0 : options.onChangeDeps) ? options.onChangeDeps : [];\n    // Memoize the onChange handler\n    const onChange = useCallback(options === null || options === void 0 ? void 0 : options.onChange, [\n        ...onChangeDeps, \n    ]);\n    // Optionally scale the value from props\n    const transformer = useCallback((value)=>((ref = optionsRef.current) === null || ref === void 0 ? void 0 : ref.transform) ? optionsRef.current.transform(value) : value\n    , []);\n    // Create new MotionValue from inputValue\n    const value = useConstant(()=>isMotionValue(inputValue) ? inputValue : motionValue(transformer(inputValue))\n    );\n    // Setting value from prop change\n    useEffect(()=>{\n        if (!isMotionValue(inputValue) && didInitialMount.current) {\n            var ref1, ref2;\n            const newValue = transformer(inputValue);\n            (ref1 = animation.current) === null || ref1 === void 0 ? void 0 : ref1.stop();\n            // Call change callback\n            if (onChange) onChange(newValue, value);\n            // Trigger animation to new value\n            if (((ref2 = optionsRef.current) === null || ref2 === void 0 ? void 0 : ref2.animate) && !isOnCanvas) {\n                var ref3;\n                // @ts-ignore\n                animation.current = animate(value, newValue, (ref3 = optionsRef.current) === null || ref3 === void 0 ? void 0 : ref3.transition);\n            } else {\n                value.set(newValue);\n            }\n        }\n        didInitialMount.current = true;\n    }, [\n        inputValue,\n        ...onChangeDeps\n    ]);\n    return value;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useAutoMotionValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","// @ts-ignore\nimport{fontStore}from\"framer\";import{useEffect}from\"react\";import{fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";const fontWeights={100:\"Thin\",200:\"Extra-light\",300:\"Light\",400:\"Regular\",500:\"Medium\",600:\"Semi-bold\",700:\"Bold\",800:\"Extra-bold\",900:\"Black\"};export function useFontControls(props){const{fontFamily=\"Inter\",fontSize=16,fontWeight=400,font=false}=props;const fontWeightName=fontWeights[fontWeight];const customFontStack=`\"${fontFamily} ${fontWeightName}\", \"${fontFamily}\", ${fontStack}`;const fontFamilyStyle=fontFamily?{fontSize,fontWeight,fontFamily:customFontStack}:{fontSize,fontWeight};const fetchCustomFonts=async()=>{await fontStore.loadWebFontsFromSelectors([`CUSTOM;${fontFamily}`,`CUSTOM;${fontFamily} ${fontWeightName}`,`GF;${fontFamily}-${fontWeightName.toLowerCase()}`,]).catch(e=>console.error(e));};useEffect(()=>{if(font)fetchCustomFonts();},[font,fontFamily,fontWeight]);return fontFamilyStyle;}\nexport const __FramerMetadata__ = {\"exports\":{\"useFontControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useFontControls.map","import { useMemo } from \"react\";\nimport { RenderTarget } from \"framer\";\nexport function useRenderTarget() {\n    const currentRenderTarget = useMemo(()=>RenderTarget.current()\n    , []);\n    return currentRenderTarget;\n}\nexport function useIsInPreview() {\n    const inPreview = useMemo(()=>RenderTarget.current() === RenderTarget.preview\n    , []);\n    return inPreview;\n}\nexport function useIsOnCanvas() {\n    const onCanvas = useMemo(()=>RenderTarget.current() === RenderTarget.canvas\n    , []);\n    return onCanvas;\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useIsInPreview\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useRenderTarget.map","import * as React from \"react\";\nexport function useControlledState(value) {\n    const [controlledValue, setValue] = React.useState(value);\n    React.useEffect(()=>{\n        setValue(value);\n    }, [\n        value\n    ]);\n    return [\n        controlledValue,\n        setValue\n    ];\n}\n\nexport const __FramerMetadata__ = {\"exports\":{\"useControlledState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./useControlledState.map","import { useMemo } from \"react\";\nimport { ControlType } from \"framer\";\nexport function useRadius(props) {\n    const { borderRadius , isMixedBorderRadius , topLeftRadius , topRightRadius , bottomRightRadius , bottomLeftRadius ,  } = props;\n    const radiusValue = useMemo(()=>isMixedBorderRadius ? `${topLeftRadius}px ${topRightRadius}px ${bottomRightRadius}px ${bottomLeftRadius}px` : `${borderRadius}px`\n    , [\n        borderRadius,\n        isMixedBorderRadius,\n        topLeftRadius,\n        topRightRadius,\n        bottomRightRadius,\n        bottomLeftRadius, \n    ]);\n    return radiusValue;\n}\nexport const borderRadiusControl = {\n    borderRadius: {\n        title: \"Radius\",\n        type: ControlType.FusedNumber,\n        toggleKey: \"isMixedBorderRadius\",\n        toggleTitles: [\n            \"Radius\",\n            \"Radius per corner\"\n        ],\n        valueKeys: [\n            \"topLeftRadius\",\n            \"topRightRadius\",\n            \"bottomRightRadius\",\n            \"bottomLeftRadius\", \n        ],\n        valueLabels: [\n            \"TL\",\n            \"TR\",\n            \"BR\",\n            \"BL\"\n        ],\n        min: 0\n    }\n};\nexport function usePadding(props) {\n    const { padding , paddingPerSide , paddingTop , paddingRight , paddingBottom , paddingLeft ,  } = props;\n    const paddingValue = useMemo(()=>paddingPerSide ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : padding\n    , [\n        padding,\n        paddingPerSide,\n        paddingTop,\n        paddingRight,\n        paddingBottom,\n        paddingLeft, \n    ]);\n    return paddingValue;\n}\nexport const paddingControl = {\n    padding: {\n        type: ControlType.FusedNumber,\n        toggleKey: \"paddingPerSide\",\n        toggleTitles: [\n            \"Padding\",\n            \"Padding per side\"\n        ],\n        valueKeys: [\n            \"paddingTop\",\n            \"paddingRight\",\n            \"paddingBottom\",\n            \"paddingLeft\", \n        ],\n        valueLabels: [\n            \"T\",\n            \"R\",\n            \"B\",\n            \"L\"\n        ],\n        min: 0,\n        title: \"Padding\"\n    }\n};\n\nexport const __FramerMetadata__ = {\"exports\":{\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RadiusProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PaddingProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./propUtils.map","import{defaultEvents,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack}from\"https://framerusercontent.com/modules/VTUDdizacRHpwbkOamr7/AykinQJbgwl92LvMGZwu/constants.js\";import{useOnEnter,useOnExit}from\"https://framerusercontent.com/modules/D4TWeLfcxT6Tysr2BlYg/iZjmqdxVx1EOiM3k1FaW/useOnNavigationTargetChange.js\";import{useConstant}from\"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";import{colorTokentoValue,colorFromToken}from\"https://framerusercontent.com/modules/D2Lz5CmnNVPZFFiZXalt/QaCzPbriZBfXWZIIycFI/colorFromToken.js\";import{isMotionValue}from\"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/5fbRLvOpxZC0JOXugvwm/isMotionValue.js\";import{useUniqueClassName,randomID}from\"https://framerusercontent.com/modules/xDiQsqBGXzmMsv7AlEVy/uhunpMiNsbXxzjlXsg1y/useUniqueClassName.js\";import{getVariantControls}from\"https://framerusercontent.com/modules/ETACN5BJyFTSo0VVDJfu/NHRqowOiXkF9UwOzczF7/variantUtils.js\";import{useIsBrowserSafari}from\"https://framerusercontent.com/modules/eMBrwoqQK7h6mEeGQUH8/GuplvPJVjmxpk9zqOTcb/isBrowser.js\";import{useMultiOnChange,useOnChange}from\"https://framerusercontent.com/modules/v9AWX2URmiYsHf7GbctE/XxKAZ9KlhWqf5x1JMyyF/useOnChange.js\";import{mstoMinAndSec,secondsToMinutes}from\"https://framerusercontent.com/modules/4zHZnO5JojN1PrIbu2jm/revv9QCWpkh8lPzi2jje/time.js\";import{useAutoMotionValue}from\"https://framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/fSIr3AOAYbGlfSPgXpYu/useAutoMotionValue.js\";import{useFontControls}from\"https://framerusercontent.com/modules/cuQH4dmpDnV8YK1mSgQX/KqRXqunFjE6ufhpc7ZRu/useFontControls.js\";import{useRenderTarget,useIsInPreview,useIsOnCanvas}from\"https://framerusercontent.com/modules/afBE9Yx1W6bY5q32qPxe/m3q7puE2tbo1S2C0s0CT/useRenderTarget.js\";import{useControlledState}from\"https://framerusercontent.com/modules/zGkoP8tPDCkoBzMdt5uq/0zFSjxIYliHxrQQnryFX/useControlledState.js\";import{usePadding,useRadius,paddingControl,borderRadiusControl}from\"https://framerusercontent.com/modules/5SM58HxZHxjjv7aLMOgQ/WXz9i6mVki0bBCrKdqB3/propUtils.js\";import{detectAutoSizingAxis}from\"https://framerusercontent.com/modules/8CkHAZatUz1UR8jNTcfD/HwbnIAZlUmQ2oTpcLkaH/detectAutoSizingAxis.js\";export{useOnEnter,useOnExit,defaultEvents,isMotionValue,colorFromToken,colorTokentoValue,localeOptions,fontControls,fontSizeOptions,emptyStateStyle,containerStyles,fontStack,useUniqueClassName,getVariantControls,useIsBrowserSafari,randomID,useConstant,useMultiOnChange,useOnChange,usePadding,useRadius,paddingControl,borderRadiusControl,mstoMinAndSec,useFontControls,secondsToMinutes,useAutoMotionValue,useRenderTarget,useIsInPreview,useControlledState,detectAutoSizingAxis,useIsOnCanvas,};\nexport const __FramerMetadata__ = {\"exports\":{\"useConstant\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useUniqueClassName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useMultiOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnChange\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsOnCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnExit\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontSizeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorTokentoValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRadius\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getVariantControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"colorFromToken\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePadding\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fontStack\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useControlledState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFontControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAutoMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsInPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsBrowserSafari\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"detectAutoSizingAxis\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderRadiusControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"mstoMinAndSec\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localeOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useOnEnter\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"secondsToMinutes\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRenderTarget\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"paddingControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}","/*\n * index (framer/default-utils@0.45.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\"\n","import { jsx } from \"react/jsx-runtime\";\nimport { shallow as shallow$1 } from \"../../../node_modules/zustand/esm/shallow.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport { useGlobalLayoutStore } from \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { ShareButton } from \"../ShareButton/ShareButton.js\";\nimport { isServer } from \"../../../utils/context.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"framer\";\nimport \"react\";\nconst FloatingShareButton = () => {\n  const [globalLayout, naturalInset] = useGlobalLayoutStore((state) => [state.globalLayout, state.naturalInset], shallow$1);\n  if (isServer()) {\n    return null;\n  }\n  if (globalLayout === \"responsive-split-view\") {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { style: {\n    ...containerStyle,\n    right: `calc(env(safe-area-inset-right) + ${Math.max(12, naturalInset.right)}px)`,\n    bottom: `calc(env(safe-area-inset-bottom) + ${Math.max(12, naturalInset.bottom)}px)`\n  }, children: /* @__PURE__ */ jsx(ShareButton, {}) });\n};\nconst containerStyle = {\n  position: \"fixed\",\n  zIndex: 3e3\n};\nexport {\n  FloatingShareButton\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { BottomSheet } from \"../../components/@shared/bottom-sheets/BottomSheet/BottomSheet.js\";\nimport { useBottomSheetStore } from \"../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../hooks/stores/global-scene-stack/global-scene-stack.store.js\";\nimport { Scene } from \"../../hooks/stores/global-scene-stack/global-scene-stack.types.js\";\nimport { useBottomSheet } from \"../../hooks/useBottomSheet.js\";\nimport { useGlobalSceneStack } from \"../../hooks/useGlobalSceneStack.js\";\nconst BottomSheetContainer = () => {\n  const {\n    isOpen,\n    content,\n    detent,\n    onClose\n  } = useBottomSheetStore();\n  const bottomSheet = useBottomSheet();\n  useGlobalSceneStack(isOpen, Scene.BOTTOM_SHEET);\n  const handleClose = () => {\n    onClose == null ? void 0 : onClose();\n    bottomSheet.hide();\n  };\n  return /* @__PURE__ */ jsx(BottomSheet, { isOpen, onClose: handleClose, detent, children: content });\n};\nexport {\n  BottomSheetContainer\n};\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n  __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n  return value;\n};\nclass UIManager {\n  constructor() {\n    __publicField(this, \"items\", []);\n    __publicField(this, \"listeners\", /* @__PURE__ */ new Set());\n  }\n  subscribe(listener) {\n    this.listeners.add(listener);\n    return () => {\n      this.listeners.delete(listener);\n    };\n  }\n  showComponent(component, props, options = {}) {\n    const id = options.id || Math.random().toString(36).substr(2, 10);\n    const newItem = {\n      id,\n      component,\n      props\n    };\n    this.items = [...this.items, newItem];\n    this.notify();\n    return id;\n  }\n  hide(id) {\n    this.items = this.items.filter((item) => item.id !== id);\n    this.notify();\n  }\n  notify() {\n    this.listeners.forEach((listener) => listener(this.items));\n  }\n}\nconst uiManager = new UIManager();\nexport {\n  uiManager\n};\n","import { useFloating, useClick, useDismiss, useInteractions } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { useMemo } from \"react\";\nimport { useRulerStack as S } from \"../../contexts/RulerStackContext.js\";\nimport { COMPONENT_ID as e } from \"../../contexts/constants.js\";\nconst F = 80;\nfunction M({ open: o, onOpenChange: s, overlayEnabled: c = true }) {\n  const i = useFloating({\n    open: o,\n    onOpenChange: s\n  }), n = i.context, { state: e$1 } = S(), l = useMemo(() => {\n    var a;\n    const t = (e$1 == null ? void 0 : e$1.stack) ?? [];\n    return t.length === 0 || t.length > 0 && ((a = t[t.length - 1]) == null ? void 0 : a.id) === e.BottomSheet ? c : false;\n  }, [e$1, c]), S$1 = useClick(n), d = useDismiss(n, {\n    outsidePressEvent: \"mousedown\",\n    enabled: l\n  }), r = useInteractions([S$1, d]), m = (t, u) => {\n    u.offset.y > F && s(false);\n  };\n  return useMemo(\n    () => ({\n      open: o,\n      setOpen: s,\n      handleDragEnd: m,\n      ...r,\n      ...i\n    }),\n    [o, s, m, r, i]\n  );\n}\nexport {\n  M as useBottomSheet\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { layer as a } from \"../../styles/layer.style.js\";\nconst r = g({\n  slots: {\n    overlay: \"fixed left-0 top-0 z-mask h-screen w-screen touch-none overscroll-none bg-dimmed\",\n    container: \"fixed bottom-0 left-0 right-0 z-popup flex max-h-[calc(100dvh-20px)] w-full flex-col overflow-visible rounded-t-20 bg-white pb-[max(env(safe-area-inset-bottom),12px)] pt-24\",\n    content: \"flex\",\n    resizeIndicator: \"absolute top-6 grid h-6 w-36 flex-1 cursor-pointer rounded-[2.5px] bg-gray-200 align-baseline\",\n    title: \"whitespace-pre-wrap break-words px-20 pb-8 pr-40 text-left text-title-m-bold\",\n    description: \"whitespace-pre-wrap px-20 pb-16 text-left text-xxl\",\n    buttonContainer: \"flex w-full justify-between gap-8 px-20\",\n    button: \"h-52 w-full\",\n    closeButton: \"absolute right-10 top-12 p-10\",\n    childrenContainer: \"\"\n  },\n  variants: {\n    isFullHeight: {\n      true: {\n        container: \"h-[100dvh] max-h-[100dvh]\"\n      }\n    },\n    slotPosition: {\n      top: {\n        content: \"flex-col-reverse\"\n      },\n      bottom: {\n        content: \"flex-col\"\n      }\n    },\n    isScrollable: {\n      true: {\n        childrenContainer: \"overflow-y-auto\"\n      }\n    }\n  },\n  defaultVariants: {\n    isFullHeight: false,\n    slotPosition: \"bottom\",\n    isScrollable: false\n  },\n  extend: a\n});\nexport {\n  r as style\n};\n","import { j as m } from \"../../node_modules/.pnpm/react@18.3.0/node_modules/react/jsx-runtime.js\";\nimport { FloatingPortal } from \"../../../../../@floating-ui/react/dist/floating-ui.react.esm.js\";\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { forwardRef } from \"react\";\nimport { useEffectDisableScroll as S } from \"../../hooks/useEffectDisableScroll.js\";\nimport { useBottomSheet as M } from \"./BottomSheet.hooks.js\";\nimport { style as r } from \"./BottomSheet.style.js\";\nimport { Button as H } from \"../Button/Button.js\";\nimport { TextButton as R } from \"../TextButton/TextButton.js\";\nconst P = {\n  hidden: { y: \"100%\" },\n  visible: { y: 0 },\n  exit: { y: \"100%\" }\n}, k = { type: \"spring\", stiffness: 400, damping: 50 }, q = forwardRef(\n  function(i, h) {\n    var c, m$1;\n    const {\n      title: o,\n      description: r$1,\n      primaryAction: n,\n      secondaryAction: a,\n      tertiaryAction: p,\n      slotPosition: x = \"bottom\",\n      id: u = \"bottom-sheet\",\n      isFullHeight: f,\n      stackLayer: y,\n      isDragEnabled: l = true,\n      isScrollable: g = false\n    } = i, s = M(i), e = r({ isFullHeight: f, slotPosition: x, stackLayer: y, isScrollable: g });\n    return S(s.open), /* @__PURE__ */ m.jsx(AnimatePresence, { children: s.open && /* @__PURE__ */ m.jsxs(FloatingPortal, { id: u, children: [\n      /* @__PURE__ */ m.jsx(\"div\", { className: e.overlay() }),\n      /* @__PURE__ */ m.jsxs(\n        motion.div,\n        {\n          ...s.getFloatingProps(),\n          drag: \"y\",\n          ref: h,\n          transition: k,\n          className: e.container(),\n          variants: P,\n          initial: [\"hidden\"],\n          animate: \"visible\",\n          exit: \"exit\",\n          dragConstraints: { top: 0 },\n          dragElastic: false,\n          onDragEnd: s.handleDragEnd,\n          dragSnapToOrigin: true,\n          onClick: (j) => j.stopPropagation(),\n          dragListener: l,\n          children: [\n            l && /* @__PURE__ */ m.jsx(\"div\", { className: \"absolute top-6 grid w-full place-items-center\", children: /* @__PURE__ */ m.jsx(\"div\", { className: \"h-6 w-36 rounded-[2.5px] bg-gray-200\" }) }),\n            /* @__PURE__ */ m.jsxs(\"div\", { className: e.content(), children: [\n              /* @__PURE__ */ m.jsxs(\"div\", { children: [\n                o && /* @__PURE__ */ m.jsx(\"h2\", { className: e.title(), children: o }),\n                r$1 && /* @__PURE__ */ m.jsx(\"p\", { className: e.description(), children: r$1 })\n              ] }),\n              /* @__PURE__ */ m.jsx(\"div\", { className: e.childrenContainer(), children: i.children })\n            ] }),\n            /* @__PURE__ */ m.jsxs(\"div\", { className: \"mt-auto\", children: [\n              n && /* @__PURE__ */ m.jsxs(\"div\", { className: e.buttonContainer(), children: [\n                a && /* @__PURE__ */ m.jsx(\n                  H,\n                  {\n                    ...a,\n                    priority: \"secondary\",\n                    size: \"medium\",\n                    className: e.button()\n                  }\n                ),\n                /* @__PURE__ */ m.jsx(H, { ...n, priority: \"primary\", size: \"medium\", className: e.button() })\n              ] }),\n              p && /* @__PURE__ */ m.jsx(\n                R,\n                {\n                  className: \"flex w-full justify-center pt-10\",\n                  priority: \"secondary\",\n                  size: \"small\",\n                  onClick: (c = i.tertiaryAction) == null ? void 0 : c.onClick,\n                  label: (m$1 = i.tertiaryAction) == null ? void 0 : m$1.label,\n                  isBold: true\n                }\n              )\n            ] })\n          ]\n        }\n      )\n    ] }) });\n  }\n);\nexport {\n  q as BottomSheet\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useRef, useEffect } from \"react\";\nimport { BottomSheet as q } from \"../../node_modules/@29cm/ruler-ui/dist/components/BottomSheet/BottomSheet.js\";\nimport { mergeRefs } from \"../../utils/react/mergeRefs.js\";\nimport { useTargetAppVersion } from \"../../hooks/useTargetAppVersion.js\";\nimport { isTabView } from \"../../utils/custom-tab/isTabView.js\";\nconst AppCompatBottomSheet = forwardRef(({\n  children,\n  ...props\n}, ref) => {\n  const innerRef = useRef(null);\n  const {\n    isTargetAppVersion\n  } = useTargetAppVersion({\n    minIosVersion: 1417,\n    maxIosVersion: 1426\n  });\n  useEffect(() => {\n    if (!isTargetAppVersion || !isTabView() || !props.open) {\n      return;\n    }\n    let currentElement = null;\n    let originalPaddingBottom = \"\";\n    const timeoutId = setTimeout(() => {\n      if (!innerRef.current) {\n        return;\n      }\n      currentElement = innerRef.current;\n      originalPaddingBottom = currentElement.style.paddingBottom;\n      currentElement.style.paddingBottom = \"98px\";\n    }, 0);\n    return () => {\n      clearTimeout(timeoutId);\n      if (currentElement) {\n        currentElement.style.paddingBottom = originalPaddingBottom;\n      }\n    };\n  }, [isTargetAppVersion, props.open]);\n  return /* @__PURE__ */ jsx(q, { ref: mergeRefs([ref, innerRef]), ...props, children });\n});\nexport {\n  AppCompatBottomSheet\n};\n","import { Dialog as L } from \"../../node_modules/@29cm/ruler-ui/dist/components/Dialog/Dialog.js\";\nimport { uiManager } from \"./UIManager.js\";\nimport { AppCompatBottomSheet } from \"./AppCompatBottomSheet.js\";\nconst ui = {\n  /**\n   * 간단한 다이얼로그 - 자동으로 열림/닫힘 처리됨\n   * @example ui.showDialog({ title: '확인', primaryAction: { label: '확인' } })\n   */\n  showDialog: (props, options = {}) => {\n    const id = options.id || Math.random().toString(36).substr(2, 10);\n    return uiManager.showComponent(L, {\n      ...props,\n      open: true,\n      onOpenChange: (open) => {\n        var _a;\n        if (!open) {\n          (_a = options.onClose) == null ? void 0 : _a.call(options);\n          uiManager.hide(id);\n        }\n      }\n    }, {\n      id\n    });\n  },\n  /**\n   * 간단한 바텀시트 - 자동으로 열림/닫힘 처리됨\n   * @example ui.showBottomSheet({ title: '확인', primaryAction: { label: '확인' } })\n   */\n  showBottomSheet: (props, options = {}) => {\n    const id = options.id || Math.random().toString(36).substr(2, 10);\n    return uiManager.showComponent(AppCompatBottomSheet, {\n      ...props,\n      open: true,\n      onOpenChange: (open) => {\n        var _a;\n        if (!open) {\n          (_a = options.onClose) == null ? void 0 : _a.call(options);\n          uiManager.hide(id);\n        }\n      }\n    }, {\n      id\n    });\n  },\n  /**\n   * 복잡한 컴포넌트 - onClose 직접 처리 필요\n   * @example ui.showComponent(MyDialog, { onClose: () => ui.hide(id) })\n   */\n  showComponent: (component, props, options = {}) => uiManager.showComponent(component, props, options),\n  /**\n   * 컴포넌트 제거\n   * @example ui.hide('dialog-id')\n   */\n  hide: (id) => uiManager.hide(id)\n};\nexport {\n  ui\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useState, useEffect } from \"react\";\nimport { uiManager } from \"./UIManager.js\";\nimport { ui } from \"./ui.js\";\nconst UIContainer = () => {\n  const [items, setItems] = useState([]);\n  useEffect(() => {\n    return uiManager.subscribe(setItems);\n  }, []);\n  return /* @__PURE__ */ jsx(Fragment, { children: items.map((item) => {\n    const Component = item.component;\n    return /* @__PURE__ */ jsx(Component, { ...item.props }, item.id);\n  }) });\n};\nexport {\n  UIContainer,\n  ui\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._container_14jhu_1 {\\n  position: fixed;\\n  top: auto;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n\\n  width: 100%;\\n  padding: 0 16px calc(env(safe-area-inset-bottom) + 16px);\\n  z-index: 5001;\\n}\\n\\n._animate_14jhu_13 {\\n  display: flex;\\n  align-items: center;\\n  width: 100%;\\n  background-color: transparent;\\n}\\n\\n._content_14jhu_20 {\\n  display: flex;\\n  justify-content: flex-start;\\n  align-items: center;\\n\\n  padding: 14px 20px;\\n\\n  width: 100%;\\n  min-height: 48px;\\n  border-radius: 2px;\\n  background-color: rgba(0, 0, 0, 0.9);\\n  color: #fff;\\n}\\n\\n._text_14jhu_34 {\\n  width: 100%;\\n  font-weight: 400;\\n  font-size: 14px;\\n  line-height: 20px;\\n  color: #fff;\\n  text-align: start;\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst container = \"_container_14jhu_1\";\nconst animate = \"_animate_14jhu_13\";\nconst content = \"_content_14jhu_20\";\nconst text = \"_text_14jhu_34\";\nconst styles = {\n  container,\n  animate,\n  content,\n  text\n};\nexport {\n  animate,\n  container,\n  content,\n  styles as default,\n  text\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { useToastStore } from \"../../hooks/stores/toast/toast.store.js\";\nimport styles from \"./ToastContainer.module.css.js\";\nconst ToastContainer = () => {\n  const {\n    isOpen,\n    content\n  } = useToastStore();\n  return /* @__PURE__ */ jsx(AnimatePresence, { children: isOpen ? /* @__PURE__ */ jsx(\"div\", { className: styles.container, children: /* @__PURE__ */ jsx(motion.div, { className: styles.animate, transition: {\n    transitionease: \"easeOut\"\n  }, variants, initial: \"initial\", animate: \"animate\", exit: \"exit\", children: /* @__PURE__ */ jsx(\"div\", { className: styles.content, children: /* @__PURE__ */ jsx(\"div\", { className: styles.text, children: content }) }) }) }) : null });\n};\nconst variants = {\n  initial: {\n    opacity: 1,\n    y: 150\n  },\n  animate: {\n    opacity: 1,\n    y: 0\n  },\n  exit: {\n    opacity: 0,\n    y: 0,\n    transition: {\n      duration: 0.3\n    }\n  }\n};\nexport {\n  ToastContainer\n};\n","import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { framerApi } from \"../../apis/framer/FramerApiService.js\";\nconst FRAMER_CONTENT_ID_COLLECTION_FETCHER_KEY = \"framer-content-id-collection\";\nconst useFetchFramerContentIdCollection = ({\n  contentId,\n  enabled = true\n}) => {\n  const shouldFetch = enabled;\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(shouldFetch ? FRAMER_CONTENT_ID_COLLECTION_FETCHER_KEY : null, () => framerApi.getFramerContentIdCollection(contentId), {\n    revalidateOnFocus: false\n  });\n  return {\n    ...rest,\n    isLoading: isLoading || !enabled\n  };\n};\nexport {\n  FRAMER_CONTENT_ID_COLLECTION_FETCHER_KEY,\n  useFetchFramerContentIdCollection\n};\n","const MESSAGE_TYPE = {\n  /**\n   * 익스텐션에서 메타데이터를 요청할 때의 메세지 타입 (Extension -> Bootstrap)\n   */\n  REQUEST_METADATA: \"requestMetadata\",\n  /**\n   * 익스텐션에 메타데이터를 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  RESPONSE_METADATA: \"responseMetadata\",\n  /**\n   * 메타데이터의 초기화 / 변경 등으로 익스텐션이 메타데이터를 클린업 할 수 있도록 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  METADATA_INIT: \"metadataInit\",\n  /**\n   * 메타데이터가 업데이트 된 시점을 익스텐션이 알 수 있도록 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  METADATA_UPDATED: \"metadataUpdated\",\n  /**\n   * 익스텐션에서 콘텐츠 아이디를 요청할 때의 메세지 타입 (Extension -> Bootstrap)\n   */\n  REQUEST_CONTENT_ID: \"requestContentId\",\n  /**\n   * 익스텐션에 콘텐츠 아이디를 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  RESPONSE_CONTENT_ID: \"responseContentId\",\n  /**\n   * 익스텐션에서 추가 메타데이터를 요청할 때의 메세지 타입 (Extension -> Bootstrap)\n   * (ex. 상품 번호 목록)\n   */\n  REQUEST_ADDITIONAL_METADATA: \"requestAdditionalMetadata\",\n  /**\n   * 익스텐션에 추가 메타데이터를 전달할 때의 메세지 타입 (Bootstrap -> Extension)\n   */\n  RESPONSE_ADDITIONAL_METADATA: \"responseAdditionalMetadata\"\n};\nexport {\n  MESSAGE_TYPE\n};\n","const deduplicate = (duplicates, predicate) => {\n  return duplicates.filter((x, index, array) => array.findIndex((y) => predicate(x, y)) === index);\n};\nexport {\n  deduplicate\n};\n","import { useRef, useEffect } from \"react\";\nfunction usePrevious(state) {\n  var ref = useRef();\n  useEffect(function() {\n    ref.current = state;\n  });\n  return ref.current;\n}\nexport {\n  usePrevious as default\n};\n","import root from \"./_root.js\";\nvar now = function() {\n  return root.Date.now();\n};\nexport {\n  now as default\n};\n","var reWhitespace = /\\s/;\nfunction trimmedEndIndex(string) {\n  var index = string.length;\n  while (index-- && reWhitespace.test(string.charAt(index))) {\n  }\n  return index;\n}\nexport {\n  trimmedEndIndex as default\n};\n","import trimmedEndIndex from \"./_trimmedEndIndex.js\";\nvar reTrimStart = /^\\s+/;\nfunction baseTrim(string) {\n  return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, \"\") : string;\n}\nexport {\n  baseTrim as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar symbolTag = \"[object Symbol]\";\nfunction isSymbol(value) {\n  return typeof value == \"symbol\" || isObjectLike(value) && baseGetTag(value) == symbolTag;\n}\nexport {\n  isSymbol as default\n};\n","import baseTrim from \"./_baseTrim.js\";\nimport isObject from \"./isObject.js\";\nimport isSymbol from \"./isSymbol.js\";\nvar NAN = 0 / 0;\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\nvar reIsBinary = /^0b[01]+$/i;\nvar reIsOctal = /^0o[0-7]+$/i;\nvar freeParseInt = parseInt;\nfunction toNumber(value) {\n  if (typeof value == \"number\") {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == \"function\" ? value.valueOf() : value;\n    value = isObject(other) ? other + \"\" : other;\n  }\n  if (typeof value != \"string\") {\n    return value === 0 ? value : +value;\n  }\n  value = baseTrim(value);\n  var isBinary = reIsBinary.test(value);\n  return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n}\nexport {\n  toNumber as default\n};\n","import isObject from \"./isObject.js\";\nimport now from \"./now.js\";\nimport toNumber from \"./toNumber.js\";\nvar FUNC_ERROR_TEXT = \"Expected a function\";\nvar nativeMax = Math.max, nativeMin = Math.min;\nfunction debounce(func, wait, options) {\n  var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;\n  if (typeof func != \"function\") {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = \"maxWait\" in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = \"trailing\" in options ? !!options.trailing : trailing;\n  }\n  function invokeFunc(time) {\n    var args = lastArgs, thisArg = lastThis;\n    lastArgs = lastThis = void 0;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n  function leadingEdge(time) {\n    lastInvokeTime = time;\n    timerId = setTimeout(timerExpired, wait);\n    return leading ? invokeFunc(time) : result;\n  }\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;\n    return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;\n  }\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;\n    return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n  }\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n  function trailingEdge(time) {\n    timerId = void 0;\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = void 0;\n    return result;\n  }\n  function cancel() {\n    if (timerId !== void 0) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = void 0;\n  }\n  function flush() {\n    return timerId === void 0 ? result : trailingEdge(now());\n  }\n  function debounced() {\n    var time = now(), isInvoking = shouldInvoke(time);\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n    if (isInvoking) {\n      if (timerId === void 0) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        clearTimeout(timerId);\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === void 0) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\nexport {\n  debounce as default\n};\n","var HASH_UNDEFINED = \"__lodash_hash_undefined__\";\nfunction setCacheAdd(value) {\n  this.__data__.set(value, HASH_UNDEFINED);\n  return this;\n}\nexport {\n  setCacheAdd as default\n};\n","function setCacheHas(value) {\n  return this.__data__.has(value);\n}\nexport {\n  setCacheHas as default\n};\n","import MapCache from \"./_MapCache.js\";\nimport setCacheAdd from \"./_setCacheAdd.js\";\nimport setCacheHas from \"./_setCacheHas.js\";\nfunction SetCache(values) {\n  var index = -1, length = values == null ? 0 : values.length;\n  this.__data__ = new MapCache();\n  while (++index < length) {\n    this.add(values[index]);\n  }\n}\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\nexport {\n  SetCache as default\n};\n","function arraySome(array, predicate) {\n  var index = -1, length = array == null ? 0 : array.length;\n  while (++index < length) {\n    if (predicate(array[index], index, array)) {\n      return true;\n    }\n  }\n  return false;\n}\nexport {\n  arraySome as default\n};\n","function cacheHas(cache, key) {\n  return cache.has(key);\n}\nexport {\n  cacheHas as default\n};\n","import SetCache from \"./_SetCache.js\";\nimport arraySome from \"./_arraySome.js\";\nimport cacheHas from \"./_cacheHas.js\";\nvar COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n  var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;\n  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n    return false;\n  }\n  var arrStacked = stack.get(array);\n  var othStacked = stack.get(other);\n  if (arrStacked && othStacked) {\n    return arrStacked == other && othStacked == array;\n  }\n  var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : void 0;\n  stack.set(array, other);\n  stack.set(other, array);\n  while (++index < arrLength) {\n    var arrValue = array[index], othValue = other[index];\n    if (customizer) {\n      var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);\n    }\n    if (compared !== void 0) {\n      if (compared) {\n        continue;\n      }\n      result = false;\n      break;\n    }\n    if (seen) {\n      if (!arraySome(other, function(othValue2, othIndex) {\n        if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {\n          return seen.push(othIndex);\n        }\n      })) {\n        result = false;\n        break;\n      }\n    } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n      result = false;\n      break;\n    }\n  }\n  stack[\"delete\"](array);\n  stack[\"delete\"](other);\n  return result;\n}\nexport {\n  equalArrays as default\n};\n","function mapToArray(map) {\n  var index = -1, result = Array(map.size);\n  map.forEach(function(value, key) {\n    result[++index] = [key, value];\n  });\n  return result;\n}\nexport {\n  mapToArray as default\n};\n","function setToArray(set) {\n  var index = -1, result = Array(set.size);\n  set.forEach(function(value) {\n    result[++index] = value;\n  });\n  return result;\n}\nexport {\n  setToArray as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nimport Uint8Array from \"./_Uint8Array.js\";\nimport eq from \"./eq.js\";\nimport equalArrays from \"./_equalArrays.js\";\nimport mapToArray from \"./_mapToArray.js\";\nimport setToArray from \"./_setToArray.js\";\nvar COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;\nvar boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", errorTag = \"[object Error]\", mapTag = \"[object Map]\", numberTag = \"[object Number]\", regexpTag = \"[object RegExp]\", setTag = \"[object Set]\", stringTag = \"[object String]\", symbolTag = \"[object Symbol]\";\nvar arrayBufferTag = \"[object ArrayBuffer]\", dataViewTag = \"[object DataView]\";\nvar symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n  switch (tag) {\n    case dataViewTag:\n      if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {\n        return false;\n      }\n      object = object.buffer;\n      other = other.buffer;\n    case arrayBufferTag:\n      if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n        return false;\n      }\n      return true;\n    case boolTag:\n    case dateTag:\n    case numberTag:\n      return eq(+object, +other);\n    case errorTag:\n      return object.name == other.name && object.message == other.message;\n    case regexpTag:\n    case stringTag:\n      return object == other + \"\";\n    case mapTag:\n      var convert = mapToArray;\n    case setTag:\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n      convert || (convert = setToArray);\n      if (object.size != other.size && !isPartial) {\n        return false;\n      }\n      var stacked = stack.get(object);\n      if (stacked) {\n        return stacked == other;\n      }\n      bitmask |= COMPARE_UNORDERED_FLAG;\n      stack.set(object, other);\n      var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n      stack[\"delete\"](object);\n      return result;\n    case symbolTag:\n      if (symbolValueOf) {\n        return symbolValueOf.call(object) == symbolValueOf.call(other);\n      }\n  }\n  return false;\n}\nexport {\n  equalByTag as default\n};\n","import getAllKeys from \"./_getAllKeys.js\";\nvar COMPARE_PARTIAL_FLAG = 1;\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n  var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;\n  if (objLength != othLength && !isPartial) {\n    return false;\n  }\n  var index = objLength;\n  while (index--) {\n    var key = objProps[index];\n    if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n      return false;\n    }\n  }\n  var objStacked = stack.get(object);\n  var othStacked = stack.get(other);\n  if (objStacked && othStacked) {\n    return objStacked == other && othStacked == object;\n  }\n  var result = true;\n  stack.set(object, other);\n  stack.set(other, object);\n  var skipCtor = isPartial;\n  while (++index < objLength) {\n    key = objProps[index];\n    var objValue = object[key], othValue = other[key];\n    if (customizer) {\n      var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);\n    }\n    if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {\n      result = false;\n      break;\n    }\n    skipCtor || (skipCtor = key == \"constructor\");\n  }\n  if (result && !skipCtor) {\n    var objCtor = object.constructor, othCtor = other.constructor;\n    if (objCtor != othCtor && (\"constructor\" in object && \"constructor\" in other) && !(typeof objCtor == \"function\" && objCtor instanceof objCtor && typeof othCtor == \"function\" && othCtor instanceof othCtor)) {\n      result = false;\n    }\n  }\n  stack[\"delete\"](object);\n  stack[\"delete\"](other);\n  return result;\n}\nexport {\n  equalObjects as default\n};\n","import Stack from \"./_Stack.js\";\nimport equalArrays from \"./_equalArrays.js\";\nimport equalByTag from \"./_equalByTag.js\";\nimport equalObjects from \"./_equalObjects.js\";\nimport getTag from \"./_getTag.js\";\nimport isArray from \"./isArray.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isTypedArray from \"./isTypedArray.js\";\nvar COMPARE_PARTIAL_FLAG = 1;\nvar argsTag = \"[object Arguments]\", arrayTag = \"[object Array]\", objectTag = \"[object Object]\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n  var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);\n  objTag = objTag == argsTag ? objectTag : objTag;\n  othTag = othTag == argsTag ? objectTag : othTag;\n  var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;\n  if (isSameTag && isBuffer(object)) {\n    if (!isBuffer(other)) {\n      return false;\n    }\n    objIsArr = true;\n    objIsObj = false;\n  }\n  if (isSameTag && !objIsObj) {\n    stack || (stack = new Stack());\n    return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n  }\n  if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n    var objIsWrapped = objIsObj && hasOwnProperty.call(object, \"__wrapped__\"), othIsWrapped = othIsObj && hasOwnProperty.call(other, \"__wrapped__\");\n    if (objIsWrapped || othIsWrapped) {\n      var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;\n      stack || (stack = new Stack());\n      return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n    }\n  }\n  if (!isSameTag) {\n    return false;\n  }\n  stack || (stack = new Stack());\n  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\nexport {\n  baseIsEqualDeep as default\n};\n","import baseIsEqualDeep from \"./_baseIsEqualDeep.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n  if (value === other) {\n    return true;\n  }\n  if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {\n    return value !== value && other !== other;\n  }\n  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\nexport {\n  baseIsEqual as default\n};\n","import baseIsEqual from \"./_baseIsEqual.js\";\nfunction isEqual(value, other) {\n  return baseIsEqual(value, other);\n}\nexport {\n  isEqual as default\n};\n","import { useRef, useEffect, useCallback } from \"react\";\nimport { useContentStore } from \"../../hooks/stores/content/content.store.js\";\nimport { useReceiveMessage } from \"../../hooks/useReceiveMessage.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport { getSeriesPath } from \"../../utils/getSeriesPath.js\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport { useFetchFramerContentIdCollection } from \"../../hooks/fetchers/useFetchFramerContentIdCollection.js\";\nimport \"../../config/index.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../apis/preuser/PreuserApiService.js\";\nimport \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../hooks/stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { shallow as shallow$1 } from \"../../node_modules/zustand/esm/shallow.js\";\nimport \"../../utils/redirectLogin.js\";\nimport \"../../utils/event-properties/source.js\";\nimport { MESSAGE_TYPE } from \"./Bootstrap.constants.js\";\nimport { productEmitter, ProductEvent } from \"../../utils/event-emitter/product-event-emitter.js\";\nimport { deduplicate } from \"../../utils/deduplicate.js\";\nimport usePrevious from \"../../node_modules/react-use/esm/usePrevious.js\";\nimport debounce from \"../../node_modules/lodash-es/debounce.js\";\nimport isEqual from \"../../node_modules/lodash-es/isEqual.js\";\nimport useIsomorphicLayoutEffect from \"../../node_modules/react-use/esm/useIsomorphicLayoutEffect.js\";\nconst collectProductIds = () => {\n  return new Promise((resolve) => {\n    if (!productEmitter.has(ProductEvent.SYNC_IDS)) {\n      return resolve([]);\n    }\n    const debounced = debounce((productIds) => resolve(productIds), 500);\n    const unsubscribe = useContentStore.subscribe((state) => state.productIds, debounced);\n    useContentStore.getState().dispatchInitProductIds();\n    productEmitter.emit(ProductEvent.SYNC_IDS);\n    unsubscribe();\n  });\n};\nconst collectVideoUrls = () => {\n  const urls = Array.from(document.querySelectorAll(\"video\")).map((element) => element.src);\n  return deduplicate(urls, (x, y) => x === y);\n};\nconst useSendAdditionalMetadata = () => {\n  useReceiveMessage(MESSAGE_TYPE.REQUEST_ADDITIONAL_METADATA, async () => {\n    if (!isCanvas()) {\n      return;\n    }\n    const productIds = await collectProductIds();\n    const videoUrls = collectVideoUrls();\n    const additional = {\n      productIdList: productIds,\n      videoUrlList: videoUrls\n    };\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.RESPONSE_ADDITIONAL_METADATA,\n      payload: additional\n    }, \"*\");\n  });\n};\nconst useSendMetadata = (metadata) => {\n  useReceiveMessage(MESSAGE_TYPE.REQUEST_METADATA, () => {\n    if (!isCanvas()) {\n      return;\n    }\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.RESPONSE_METADATA,\n      payload: metadata\n    }, \"*\");\n  });\n};\nconst useSendMetadataStatus = (metadata) => {\n  const isMounted = useRef(true);\n  const prevMetadata = usePrevious(metadata);\n  useEffect(() => {\n    if (!isCanvas()) {\n      return;\n    }\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.METADATA_INIT,\n      payload: metadata\n    }, \"*\");\n  }, [metadata]);\n  const sendMetadataStatus = (incoming) => {\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.METADATA_UPDATED,\n      payload: incoming\n    }, \"*\");\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.METADATA_INIT,\n      payload: incoming\n    }, \"*\");\n  };\n  const debounced = useCallback(debounce(sendMetadataStatus, 300), []);\n  useEffect(() => {\n    if (isMounted.current) {\n      isMounted.current = false;\n      return;\n    }\n    if (!isCanvas()) {\n      return;\n    }\n    if (isEqual(prevMetadata, metadata)) {\n      return;\n    }\n    debounced(metadata);\n  }, [metadata]);\n};\nconst useSendContentId = (contentId) => {\n  useReceiveMessage(MESSAGE_TYPE.REQUEST_CONTENT_ID, () => {\n    if (!isCanvas()) {\n      return;\n    }\n    window.parent.postMessage({\n      type: MESSAGE_TYPE.RESPONSE_CONTENT_ID,\n      payload: contentId\n    }, \"*\");\n  });\n};\nconst useInitializeContentSummary = ({\n  title,\n  contentId,\n  mobilePoster\n}) => {\n  const [dispatchSetSummary, dispatchInitSummary] = useContentStore((state) => [state.dispatchSetSummary, state.dispatchInitSummary], shallow$1);\n  const {\n    data\n  } = useFetchFramerContentIdCollection({\n    contentId,\n    enabled: !!contentId && contentId !== \"\"\n  });\n  const onSiteContentId = data == null ? void 0 : data.onSiteContentId;\n  useEffect(() => {\n    dispatchSetSummary({\n      title,\n      contentId,\n      series: getSeriesPath(),\n      onSiteContentId,\n      mobilePoster\n    });\n  }, [title, contentId, onSiteContentId, mobilePoster]);\n  useEffect(() => () => dispatchInitSummary(), []);\n};\nconst useIsOrganicScroll = () => {\n  const isDragging = useRef(false);\n  const isScrolling = useRef(false);\n  useEffect(() => {\n    const handleTouchMove = () => {\n      isDragging.current = true;\n    };\n    const handleTouchEnd = () => {\n      if (isScrolling.current) {\n        return;\n      }\n      isDragging.current = false;\n    };\n    const handleScroll = () => {\n      isScrolling.current = true;\n      debouncedHandleScrollEnd();\n    };\n    const debouncedHandleScrollEnd = debounce(() => {\n      isDragging.current = false;\n      isScrolling.current = false;\n    }, 300);\n    window.addEventListener(\"touchmove\", handleTouchMove);\n    window.addEventListener(\"touchend\", handleTouchEnd);\n    window.addEventListener(\"scroll\", handleScroll);\n    return () => {\n      window.removeEventListener(\"touchmove\", handleTouchMove);\n      window.removeEventListener(\"touchend\", handleTouchEnd);\n      window.removeEventListener(\"scroll\", handleScroll);\n    };\n  }, []);\n  return {\n    isOrganicScroll: isDragging\n  };\n};\nconst stringToNumber = (value) => {\n  if (!value) {\n    return void 0;\n  }\n  const parsed = Number(value);\n  return Number.isNaN(parsed) ? void 0 : parsed;\n};\nconst FONT_FAMILY_OUTPUT_URL = \"https://d13fzx7h5ezopb.cloudfront.net/fonts/font2.css\";\nconst FONT_FAMILY_OUTPUT_ID = \"font-family-output\";\nconst FONT_FAMILY_VARIABLE_SCRIPT_ID = \"font-family-variable\";\nconst useInjectFontCSS = () => {\n  const injectFontCSS = () => {\n    const isExistFontCSSScript = document.getElementById(FONT_FAMILY_OUTPUT_ID) !== null;\n    if (!isExistFontCSSScript) {\n      const link = document.createElement(\"link\");\n      link.id = FONT_FAMILY_OUTPUT_ID;\n      link.rel = \"stylesheet\";\n      link.href = new URL(FONT_FAMILY_OUTPUT_URL).href;\n      document.head.appendChild(link);\n    }\n  };\n  const injectFontVariableScript = () => {\n    const isExistFontVariableScript = document.getElementById(FONT_FAMILY_VARIABLE_SCRIPT_ID) !== null;\n    if (!isExistFontVariableScript) {\n      const style = document.createElement(\"style\");\n      style.id = FONT_FAMILY_VARIABLE_SCRIPT_ID;\n      style.textContent = `:root { --font-pretendard: 'Pretendard Variable'; } body { font-family: var(--font-pretendard); }`;\n      document.head.appendChild(style);\n    }\n  };\n  useIsomorphicLayoutEffect(() => {\n    injectFontCSS();\n    injectFontVariableScript();\n  }, []);\n};\nexport {\n  stringToNumber,\n  useInitializeContentSummary,\n  useInjectFontCSS,\n  useIsOrganicScroll,\n  useSendAdditionalMetadata,\n  useSendContentId,\n  useSendMetadata,\n  useSendMetadataStatus\n};\n","import { getQueryParams } from \"../location.js\";\nconst REWARD_KEY_MAPPING = {\n  reward_key: \"rewardKey\",\n  rewardKey: \"rewardKey\",\n  reward_program_key: \"rewardProgramKey\",\n  rewardProgramKey: \"rewardProgramKey\",\n  reward_entry_type: \"rewardEntryType\",\n  rewardEntryType: \"rewardEntryType\"\n};\nconst getRewardParams = () => {\n  const query = getQueryParams();\n  return Object.keys(query).reduce((newParams, key) => {\n    const rewardKey = Object.keys(REWARD_KEY_MAPPING).find((rewardParam) => REWARD_KEY_MAPPING[rewardParam] === key || rewardParam === key);\n    if (rewardKey) {\n      return {\n        ...newParams,\n        [rewardKey]: query[key]\n      };\n    }\n    return newParams;\n  }, {});\n};\nexport {\n  getRewardParams\n};\n","function parseViewAttribution(value) {\n  const normalizedValue = Array.isArray(value) ? value[0] : value;\n  if (!normalizedValue) {\n    return {};\n  }\n  const result = {};\n  const pairs = normalizedValue.split(\",\");\n  for (const pair of pairs) {\n    try {\n      const [key, ...valueParts] = pair.split(\":\");\n      if (key && valueParts.length > 0) {\n        const joinedValue = valueParts.join(\":\");\n        const numericValue = Number(joinedValue);\n        if (!isNaN(numericValue) && isFinite(numericValue)) {\n          result[key.trim()] = numericValue;\n        } else {\n          result[key.trim()] = joinedValue.trim();\n        }\n      }\n    } catch (error) {\n      continue;\n    }\n  }\n  return result;\n}\nfunction mergeUtmParams(properties, utmParams) {\n  const {\n    utm_campaign,\n    n_campaign_type\n  } = utmParams;\n  return {\n    ...properties,\n    ...utm_campaign && {\n      utm_campaign\n    },\n    ...n_campaign_type && {\n      n_campaign_type\n    }\n  };\n}\nexport {\n  mergeUtmParams,\n  parseViewAttribution\n};\n","import { useEffect, useRef } from \"react\";\nimport { useAnalytics } from \"../../hooks/analytics/useAnalytics.js\";\nimport { getSourceParams } from \"../../utils/event-properties/source.js\";\nimport { isTabView } from \"../../utils/custom-tab/isTabView.js\";\nimport { getSeriesPath } from \"../../utils/getSeriesPath.js\";\nimport { useTrackSnowplowEvent } from \"../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { getRewardParams } from \"../../utils/event-properties/reward.js\";\nimport \"../../hooks/stores/content/content.store.js\";\nimport { parseViewAttribution, mergeUtmParams } from \"../../utils/event-properties/parseViewAttribution.js\";\nimport \"framer\";\nimport { getQueryParams } from \"../../utils/location.js\";\nconst useTrackVisitContent = ({\n  contentId,\n  title\n}, isInitBraze) => {\n  const {\n    trackFirebase,\n    trackAmplitude,\n    trackWebBraze,\n    trackWebviewBraze\n  } = useAnalytics();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  useEffect(() => {\n    const sourceParams = getSourceParams();\n    const rewardParams = getRewardParams();\n    const extraProperties = {\n      curr_screen: \"home_main\",\n      current_screen: \"home_main\"\n    };\n    const extraSnowplowProperties = {\n      ...rewardParams,\n      link_value: `${window.location.origin}${window.location.pathname}`\n    };\n    const properties = {\n      content_no: contentId,\n      content_title: title,\n      type: getSeriesPath(),\n      format_type: \"FRAMER\",\n      ...isTabView() ? extraProperties : {},\n      ...sourceParams\n    };\n    trackAmplitude(\"visit_content\", properties);\n    trackFirebase(\"visit_content\", properties);\n    trackSnowplowEvent(\"view_page\", extraSnowplowProperties);\n  }, []);\n  useEffect(() => {\n    if (!isInitBraze) {\n      return;\n    }\n    const brazeProperties = {\n      type: \"framer\",\n      content_no: contentId,\n      content_title: title\n    };\n    trackWebBraze(\"visit_content\", brazeProperties);\n    trackWebviewBraze(\"visit_content\", brazeProperties);\n  }, [isInitBraze]);\n};\nconst useTrackViewAttribution = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const query = getQueryParams();\n  const hasTrackedRef = useRef(false);\n  useEffect(() => {\n    if (hasTrackedRef.current) {\n      return;\n    }\n    if (query.view_attribution === void 0) {\n      return;\n    }\n    const viewAttributionProperties = parseViewAttribution(query.view_attribution);\n    const mergedProperties = mergeUtmParams(viewAttributionProperties, {\n      utm_campaign: typeof query.utm_campaign === \"string\" ? query.utm_campaign : void 0,\n      n_campaign_type: typeof query.n_campaign_type === \"string\" ? query.n_campaign_type : void 0\n    });\n    trackSnowplowEvent(\"view_attribution\", mergedProperties);\n    hasTrackedRef.current = true;\n  }, [query.n_campaign_type, query.utm_campaign, query.view_attribution, trackSnowplowEvent]);\n};\nexport {\n  useTrackViewAttribution,\n  useTrackVisitContent\n};\n","import { useRef, useCallback } from \"react\";\nimport { useUpdatedRef } from \"./useUpdatedRef.js\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nconst useOverHalfInView = (elementsRef, callback) => {\n  const prevIsInView = useRef(false);\n  const updatedCallback = useUpdatedRef(callback);\n  const handleScroll = useCallback(() => {\n    if (elementsRef.current === null) {\n      return;\n    }\n    const isInView = elementsRef.current.some((element) => isOverHalfInView(element));\n    if (isInView !== prevIsInView.current) {\n      updatedCallback.current(isInView);\n    }\n    prevIsInView.current = isInView;\n  }, []);\n  useWindowEventListener(\"scroll\", handleScroll);\n};\nconst isOverHalfInView = (element) => {\n  const {\n    offsetTop,\n    offsetHeight\n  } = element;\n  const threshold = window.scrollY + window.innerHeight / 2;\n  const bottom = offsetTop + offsetHeight;\n  return offsetTop <= threshold && threshold <= bottom;\n};\nexport {\n  useOverHalfInView\n};\n","import { useCallback } from \"react\";\nimport debounce from \"../node_modules/lodash-es/debounce.js\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nconst SCROLL_END_DEBOUNCE_MS = 300;\nconst useWindowScrollEndEventListener = (listener) => {\n  const handleScrollEnd = useCallback(debounce(listener, SCROLL_END_DEBOUNCE_MS), [listener]);\n  useWindowEventListener(\"scroll\", handleScrollEnd);\n};\nexport {\n  useWindowScrollEndEventListener\n};\n","import { useRef, useCallback } from \"react\";\nimport { useWindowEventListener } from \"./useWindowEventListener.js\";\nimport { useWindowScrollEndEventListener } from \"./useWindowScrollEndEventListener.js\";\nimport { useUpdatedRef } from \"./useUpdatedRef.js\";\nconst useWindowScrollStartEventListener = (listener) => {\n  const isExecuted = useRef(false);\n  const updatedListener = useUpdatedRef(listener);\n  const handleScroll = useCallback((e) => {\n    if (isExecuted.current) {\n      return;\n    }\n    updatedListener.current(e);\n    isExecuted.current = true;\n  }, []);\n  const handleScrollEnd = useCallback(() => {\n    isExecuted.current = false;\n  }, []);\n  useWindowEventListener(\"scroll\", handleScroll);\n  useWindowScrollEndEventListener(handleScrollEnd);\n};\nexport {\n  useWindowScrollStartEventListener\n};\n","import { useRef, useEffect } from \"react\";\nconst useElementsRefById = (elementIds) => {\n  const elementsRef = useRef([]);\n  useEffect(() => {\n    elementsRef.current = elementIds.reduce((prev, curr) => {\n      const element = document.getElementById(curr);\n      if (element) {\n        prev.push(element);\n      }\n      return prev;\n    }, []);\n  }, [elementIds]);\n  return elementsRef;\n};\nexport {\n  useElementsRefById\n};\n","import { useRef, useEffect } from \"react\";\nvar useInterval = function(callback, delay) {\n  var savedCallback = useRef(function() {\n  });\n  useEffect(function() {\n    savedCallback.current = callback;\n  });\n  useEffect(function() {\n    if (delay !== null) {\n      var interval_1 = setInterval(function() {\n        return savedCallback.current();\n      }, delay || 0);\n      return function() {\n        return clearInterval(interval_1);\n      };\n    }\n    return void 0;\n  }, [delay]);\n};\nexport {\n  useInterval as default\n};\n","import { useRef, useEffect, useCallback } from \"react\";\nimport { useIsOrganicScroll } from \"../Bootstrap.hooks.js\";\nimport { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { useOverHalfInView } from \"../../../hooks/useOverHalfInView.js\";\nimport { useWindowScrollStartEventListener } from \"../../../hooks/useWindowScrollStartEventListener.js\";\nimport { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nimport { useElementsRefById } from \"../../../hooks/useElementsRefById.js\";\nimport { useReceiveMessage } from \"../../../hooks/useReceiveMessage.js\";\nimport { isCanvas } from \"../../../utils/framer/isCanvas.js\";\nimport \"framer\";\nimport { useGlobalSceneStackStore } from \"../../../hooks/stores/global-scene-stack/global-scene-stack.store.js\";\nimport { Scene } from \"../../../hooks/stores/global-scene-stack/global-scene-stack.types.js\";\nimport useInterval from \"../../../node_modules/react-use/esm/useInterval.js\";\nimport debounce from \"../../../node_modules/lodash-es/debounce.js\";\nconst TRACK_PING_CONTENT_DELAY = 3e3;\nconst useTrackPingContent = (canTrackPingContentEvent) => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  useInterval(() => {\n    if (!canTrackPingContentEvent()) {\n      return;\n    }\n    const {\n      summary: {\n        contentId\n      }\n    } = useContentStore.getState();\n    const properties = {\n      content_no: contentId,\n      format_type: \"FRAMER\"\n    };\n    trackAmplitude(\"ping_content\", properties);\n    trackFirebase(\"ping_content\", properties);\n  }, TRACK_PING_CONTENT_DELAY);\n};\nconst useTrackScrollContent = (canTrackScrollContentEvent) => {\n  const prevScrollTop = useRef(0);\n  const prevScrollTime = useRef(Date.now());\n  const {\n    isOrganicScroll\n  } = useIsOrganicScroll();\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const updateScrollTop = () => {\n    prevScrollTop.current = window.scrollY;\n  };\n  const updateScrollTime = () => prevScrollTime.current = Date.now();\n  const getProperties = () => {\n    const {\n      scrollY\n    } = window;\n    const viewportWidth = window.innerWidth;\n    const viewportBottomPosition = getViewportBottomPosition(scrollY, window.innerHeight);\n    const scrollDirection = getScrollDirection(prevScrollTop.current, scrollY);\n    const scrollTimeElapsedMs = Date.now() - prevScrollTime.current;\n    const {\n      summary: {\n        title,\n        series,\n        contentId\n      }\n    } = useContentStore.getState();\n    return {\n      viewport_width: toIntegerString(viewportWidth),\n      min: toIntegerString(scrollY),\n      max: toIntegerString(viewportBottomPosition),\n      time_elapsed_ms: `${scrollTimeElapsedMs}`,\n      direction: scrollDirection,\n      content_no: contentId,\n      content_title: title,\n      source: series,\n      format_type: \"FRAMER\",\n      is_organic: isOrganicScroll.current.toString()\n    };\n  };\n  useEffect(() => {\n    const handleScroll = () => {\n      debouncedTrackScrollContent(isOrganicScroll.current);\n    };\n    const debouncedTrackScrollContent = debounce((isOrganic) => {\n      if (!canTrackScrollContentEvent()) {\n        return;\n      }\n      const properties = {\n        ...getProperties(),\n        is_organic: isOrganic.toString()\n      };\n      trackAmplitude(\"scroll_content\", properties);\n      trackFirebase(\"scroll_content\", properties);\n      updateScrollTop();\n      updateScrollTime();\n    }, 300);\n    window.addEventListener(\"scroll\", handleScroll);\n    return () => {\n      window.removeEventListener(\"scroll\", handleScroll);\n    };\n  }, []);\n};\nconst useCanTrackReadingIndexEvents = (excludeSectionIds) => {\n  const {\n    isScrolledInExcludedSection,\n    isExcludedSectionInView\n  } = useIsExcludedSectionInView(excludeSectionIds);\n  const isWebviewLayerOpen = useIsWebviewLayerOpen();\n  const isMainScene = () => {\n    const {\n      sceneStack\n    } = useGlobalSceneStackStore.getState();\n    return sceneStack[sceneStack.length - 1] === Scene.MAIN;\n  };\n  const canTrackScrollContentEvent = () => {\n    return !isWebviewLayerOpen() && isMainScene() && !isScrolledInExcludedSection();\n  };\n  const canTrackPingContentEvent = () => {\n    return !isCanvas() && !isWebviewLayerOpen() && isMainScene() && !isExcludedSectionInView();\n  };\n  return {\n    canTrackScrollContentEvent,\n    canTrackPingContentEvent\n  };\n};\nconst useIsWebviewLayerOpen = () => {\n  const isWindowFocused = useRef(true);\n  const isWebviewLayerOpen = () => !isWindowFocused.current;\n  const handleReceiveMessage = useCallback((payload) => {\n    isWindowFocused.current = JSON.parse(payload.value.toString());\n  }, []);\n  useReceiveMessage(\"isWindowFocused\", handleReceiveMessage);\n  return isWebviewLayerOpen;\n};\nconst useIsExcludedSectionInView = (excludeSectionIds) => {\n  const prevIsInView = useRef(false);\n  const isInView = useRef(false);\n  const elements = useElementsRefById(excludeSectionIds);\n  useOverHalfInView(elements, (incoming) => {\n    isInView.current = incoming;\n  });\n  useWindowScrollStartEventListener(() => {\n    prevIsInView.current = isInView.current;\n  });\n  const isScrolledInExcludedSection = () => {\n    return prevIsInView.current && isInView.current;\n  };\n  const isExcludedSectionInView = () => isInView.current;\n  return {\n    isScrolledInExcludedSection,\n    isExcludedSectionInView\n  };\n};\nconst toIntegerString = (number) => `${Math.round(number)}`;\nconst getViewportBottomPosition = (scrollY, innerHeight) => {\n  return scrollY + innerHeight;\n};\nconst getScrollDirection = (prevScrollPosition, nextScrollPosition) => {\n  return prevScrollPosition < nextScrollPosition ? \"down\" : \"up\";\n};\nexport {\n  useCanTrackReadingIndexEvents,\n  useIsExcludedSectionInView,\n  useIsWebviewLayerOpen,\n  useTrackPingContent,\n  useTrackScrollContent\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useCanTrackReadingIndexEvents, useTrackPingContent, useTrackScrollContent } from \"./AdvancedReadingIndexTracker.hooks.js\";\nconst AdvancedReadingIndexTracker = ({\n  excludeSectionIds\n}) => {\n  const {\n    canTrackPingContentEvent,\n    canTrackScrollContentEvent\n  } = useCanTrackReadingIndexEvents(excludeSectionIds);\n  useTrackPingContent(canTrackPingContentEvent);\n  useTrackScrollContent(canTrackScrollContentEvent);\n  return /* @__PURE__ */ jsx(Fragment, {});\n};\nexport {\n  AdvancedReadingIndexTracker\n};\n","import { useRef, useCallback, useEffect } from \"react\";\nimport { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useIsOrganicScroll } from \"../Bootstrap.hooks.js\";\nimport { useReceiveMessage } from \"../../../hooks/useReceiveMessage.js\";\nimport debounce from \"../../../node_modules/lodash-es/debounce.js\";\nconst useTrackStayContent = () => {\n  const prevFocusTime = useRef(Date.now());\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const handleReceiveMessage = useCallback((payload) => {\n    const updateFocusTime = (latestFocusTime) => {\n      prevFocusTime.current = latestFocusTime;\n    };\n    const currentTime = Date.now();\n    const isWindowFocused = payload.value.toString();\n    if (isWindowFocused === \"true\") {\n      updateFocusTime(currentTime);\n      return;\n    }\n    const {\n      summary: {\n        title,\n        series,\n        contentId\n      }\n    } = useContentStore.getState();\n    const properties = {\n      time_elapsed_ms: `${currentTime - prevFocusTime.current}`,\n      content_no: contentId,\n      content_title: title,\n      source: series,\n      format_type: \"FRAMER\"\n    };\n    trackAmplitude(\"stay_content\", properties);\n    trackFirebase(\"stay_content\", properties);\n  }, []);\n  useReceiveMessage(\"isWindowFocused\", handleReceiveMessage);\n};\nconst useTrackScrollContent = () => {\n  const prevScrollTop = useRef(0);\n  const prevScrollTime = useRef(Date.now());\n  const {\n    isOrganicScroll\n  } = useIsOrganicScroll();\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  useEffect(() => {\n    const updateScrollTop = () => {\n      prevScrollTop.current = window.scrollY;\n    };\n    const updateScrollTime = (latestScrollTime) => {\n      prevScrollTime.current = latestScrollTime;\n    };\n    const toIntegerString = (number) => `${Math.round(number)}`;\n    const handleScroll = () => {\n      debouncedTrackScrollContent(isOrganicScroll.current);\n    };\n    const debouncedTrackScrollContent = debounce((isOrganic) => {\n      const {\n        scrollY\n      } = window;\n      const viewportWidth = window.innerWidth;\n      const viewportBottomPosition = getViewportBottomPosition(scrollY, window.innerHeight);\n      const scrollDirection = getScrollDirection(prevScrollTop.current, scrollY);\n      const scrollTime = Date.now();\n      const scrollTimeElapsedMs = scrollTime - prevScrollTime.current;\n      const {\n        summary: {\n          title,\n          series,\n          contentId\n        }\n      } = useContentStore.getState();\n      const properties = {\n        viewport_width: toIntegerString(viewportWidth),\n        min: toIntegerString(scrollY),\n        max: toIntegerString(viewportBottomPosition),\n        time_elapsed_ms: `${scrollTimeElapsedMs}`,\n        direction: scrollDirection,\n        content_no: contentId,\n        content_title: title,\n        source: series,\n        format_type: \"FRAMER\",\n        is_organic: isOrganic.toString()\n      };\n      trackAmplitude(\"scroll_content\", properties);\n      trackFirebase(\"scroll_content\", properties);\n      updateScrollTop();\n      updateScrollTime(scrollTime);\n    }, 300);\n    window.addEventListener(\"scroll\", handleScroll);\n    return () => {\n      window.removeEventListener(\"scroll\", handleScroll);\n    };\n  }, []);\n};\nconst getViewportBottomPosition = (scrollY, innerHeight) => {\n  return scrollY + innerHeight;\n};\nconst getScrollDirection = (prevScrollPosition, nextScrollPosition) => {\n  return prevScrollPosition < nextScrollPosition ? \"down\" : \"up\";\n};\nexport {\n  useTrackScrollContent,\n  useTrackStayContent\n};\n","import { jsx, Fragment } from \"react/jsx-runtime\";\nimport { useTrackScrollContent, useTrackStayContent } from \"./ReadingIndexTracker.hooks.js\";\nconst ReadingIndexTracker = () => {\n  useTrackScrollContent();\n  useTrackStayContent();\n  return /* @__PURE__ */ jsx(Fragment, {});\n};\nexport {\n  ReadingIndexTracker\n};\n","import \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { initializeApp } from \"../../node_modules/@firebase/app/dist/esm/index.esm2017.js\";\nconst initFirebase = ({\n  appName,\n  options\n}) => initializeApp(options, appName);\nexport {\n  initFirebase\n};\n","import { useState, useEffect } from \"react\";\nimport { isMobile, isWebview } from \"../../../utils/device.js\";\nimport { env } from \"../../../config/index.js\";\nimport { UserService } from \"../../../libs/services/user/UserService.js\";\nimport { getBrazeInstance } from \"../../../utils/analytics/braze/web/brazeInstance.js\";\nconst INIT_PARAMETER = {\n  KEY: env.sdk.braze.apiKey,\n  OPTIONS: {\n    baseUrl: env.sdk.braze.endPoint,\n    enableLogging: env.name !== \"production\",\n    allowUserSuppliedJavascript: true\n  }\n};\nconst BRAZE_SCRIPT_ID = \"braze\";\nconst BRAZE_SCRIPT_SRC = \"https://js.appboycdn.com/web-sdk/5.4/braze.min.js\";\nconst useInitBrazeCDN = () => {\n  const [isInitBraze, setIsInitBraze] = useState(false);\n  useEffect(() => {\n    loadBrazeScript().then(() => {\n      brazeInit();\n      setIsInitBraze(true);\n    }).catch((error) => console.error(error));\n  }, []);\n  return {\n    isInitBraze\n  };\n};\nfunction loadBrazeScript() {\n  return new Promise((resolve, reject) => {\n    const scriptExist = document.getElementById(BRAZE_SCRIPT_ID);\n    if (scriptExist) {\n      resolve(void 0);\n      return;\n    }\n    const script = document.createElement(\"script\");\n    script.id = BRAZE_SCRIPT_ID;\n    script.src = BRAZE_SCRIPT_SRC;\n    script.onload = () => {\n      resolve(\"Script loaded successfully\");\n    };\n    script.onerror = () => {\n      reject(new Error(\"Braze script failed to load\"));\n    };\n    document.body.appendChild(script);\n  });\n}\nconst brazeInit = () => {\n  const braze = getBrazeInstance();\n  if (!braze) {\n    return;\n  }\n  braze.initialize(INIT_PARAMETER.KEY, INIT_PARAMETER.OPTIONS);\n  const userService = new UserService();\n  const user = userService.getUserFromCookies();\n  if (user.no) {\n    braze.changeUser(user.no);\n  }\n  if (isMobile() && !isWebview()) {\n    braze.automaticallyShowInAppMessages();\n  }\n  braze.openSession();\n};\nexport {\n  useInitBrazeCDN\n};\n","import { toDate } from \"../toDate/index.js\";\nimport { tzPattern } from \"../_lib/tzPattern/index.js\";\nimport { tzParseTimezone } from \"../_lib/tzParseTimezone/index.js\";\nimport { newDateUTC } from \"../_lib/newDateUTC/index.js\";\nfunction fromZonedTime(date, timeZone, options) {\n  if (typeof date === \"string\" && !date.match(tzPattern)) {\n    return toDate(date, { ...options, timeZone });\n  }\n  date = toDate(date, options);\n  const utc = newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()).getTime();\n  const offsetMilliseconds = tzParseTimezone(timeZone, new Date(utc));\n  return new Date(utc + offsetMilliseconds);\n}\nexport {\n  fromZonedTime\n};\n","import { fromZonedTime } from \"../../node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js\";\nconst createUTCFromKST = (date) => {\n  return fromZonedTime(date, \"Asia/Seoul\");\n};\nexport {\n  createUTCFromKST\n};\n","import { createUTCFromKST } from \"../../../utils/date-helpers/createUTCFromKST.js\";\nimport { isAfter } from \"../../../node_modules/date-fns/isAfter.js\";\nimport { isBefore } from \"../../../node_modules/date-fns/isBefore.js\";\nconst CAMPAIGN_SCHEDULE = {\n  TEASING: {\n    startKST: \"2025-06-01 10:00\",\n    endKST: \"2025-06-04 18:59\"\n  },\n  MAIN: {\n    startKST: \"2025-06-04 19:00\",\n    endKST: \"2025-06-13 23:59\"\n  },\n  LAST_DAY: {\n    startKST: \"2025-06-14 00:00\",\n    endKST: \"2025-06-14 23:59\"\n  }\n};\nconst getCampaignPhaseStatus = () => {\n  const now = /* @__PURE__ */ new Date();\n  const teasingStart = createUTCFromKST(CAMPAIGN_SCHEDULE.TEASING.startKST);\n  const teasingEnd = createUTCFromKST(CAMPAIGN_SCHEDULE.TEASING.endKST);\n  const mainStart = createUTCFromKST(CAMPAIGN_SCHEDULE.MAIN.startKST);\n  const mainEnd = createUTCFromKST(CAMPAIGN_SCHEDULE.MAIN.endKST);\n  const lastDayStart = createUTCFromKST(CAMPAIGN_SCHEDULE.LAST_DAY.startKST);\n  const lastDayEnd = createUTCFromKST(CAMPAIGN_SCHEDULE.LAST_DAY.endKST);\n  return {\n    isDuringTeasingPeriod: isAfter(now, teasingStart) && isBefore(now, teasingEnd),\n    isDuringInitialMainPeriod: isAfter(now, mainStart) && isBefore(now, mainEnd),\n    isFinalDayOnMainPeriod: isAfter(now, lastDayStart) && isBefore(now, lastDayEnd),\n    isDuringFullMainPeriod: isAfter(now, mainStart) && isBefore(now, lastDayEnd)\n  };\n};\nexport {\n  getCampaignPhaseStatus\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { typography } from \"../../../styles/typography.js\";\nconst Title = ({\n  strongText,\n  text\n}) => {\n  return /* @__PURE__ */ jsxs(\"h1\", { style: titleStyle, children: [\n    /* @__PURE__ */ jsx(\"span\", { style: strongTitleStyle, children: strongText }),\n    text\n  ] });\n};\nconst titleStyle = {\n  ...typography(14, 400, 1.4),\n  color: \"#FFFFFFE6\"\n};\nconst strongTitleStyle = {\n  ...typography(14, 700, 1.4),\n  color: \"#FF4800\"\n};\nexport {\n  Title\n};\n","import { useTrackSnowplowEvent } from \"../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nconst useTrackCampaignBanner = () => {\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const eventProperties = {\n    section_name: \"29week_temp_banner\",\n    position: -1\n  };\n  const trackClickContent = (title) => {\n    trackSnowplowEvent(\"click_content\", {\n      ...eventProperties,\n      section_title: title\n    });\n  };\n  const trackImpressionContent = (title) => {\n    trackSnowplowEvent(\"impression_content\", {\n      ...eventProperties,\n      section_title: title\n    });\n  };\n  return {\n    trackClickContent,\n    trackImpressionContent\n  };\n};\nexport {\n  useTrackCampaignBanner\n};\n","import { addDays } from \"./addDays.js\";\nimport { addMonths } from \"./addMonths.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { toDate } from \"./toDate.js\";\nfunction add(date, duration) {\n  const {\n    years = 0,\n    months = 0,\n    weeks = 0,\n    days = 0,\n    hours = 0,\n    minutes = 0,\n    seconds = 0\n  } = duration;\n  const _date = toDate(date);\n  const dateWithMonths = months || years ? addMonths(_date, months + years * 12) : _date;\n  const dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths;\n  const minutesToAdd = minutes + hours * 60;\n  const secondsToAdd = seconds + minutesToAdd * 60;\n  const msToAdd = secondsToAdd * 1e3;\n  const finalDate = constructFrom(date, dateWithDays.getTime() + msToAdd);\n  return finalDate;\n}\nexport {\n  add,\n  add as default\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { env } from \"../../../config/index.js\";\nimport { getCampaignPhaseStatus } from \"./CampaignBanner.utils.js\";\nimport { useIsMounted } from \"../../../hooks/useIsMounted.js\";\nimport { getImageUrl } from \"../../../utils/image/getImageUrl.js\";\nimport { Intersection } from \"../../@shared/Intersection/Intersection.js\";\nimport \"react-dom\";\nimport { Icon } from \"../../@shared/Icon/Icon.js\";\nimport api from \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport { Title } from \"./Title.js\";\nimport { isWebview } from \"../../../utils/device.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport { useIsMobileDevice } from \"../../../hooks/useIsMobileDevice.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useTrackCampaignBanner } from \"./CampaignBanner.hooks.event.js\";\nimport { add } from \"../../../node_modules/date-fns/add.js\";\nconst CAMPAIGN_IMAGE_PATH = \"/next-edition/2025/05/21/ff710328ef114111ab09bc74914edd89_20250521141720.png\";\nconst CAMPAIGN_BANNER_VISIBILITY_COOKIE_KEY = \"campaign_banner_visibility\";\nconst CLOSE_COOKIE_VALUE = \"closed\";\nconst COOKIE_OPTIONS = {\n  expires: add(/* @__PURE__ */ new Date(), {\n    days: 1\n  }),\n  domain: \".29cm.co.kr\",\n  path: \"/\"\n};\nconst CAMPAIGN_NAME = \"이구위크\";\nconst TEXT = {\n  TEASING: \" 카드 게임하고 경품 받기\",\n  MAIN: \" 최애 브랜드 단 하루 29%\",\n  LAST_DAY: \" 최대 혜택 오늘이 마지막!\"\n};\nconst CampaignBanner = ({\n  hidden\n}) => {\n  const [isActive, setIsActive] = useState(true);\n  const isMounted = useIsMounted();\n  const isMobile = useIsMobileDevice();\n  const {\n    trackClickContent,\n    trackImpressionContent\n  } = useTrackCampaignBanner();\n  const containerStyle = {\n    position: \"relative\",\n    width: \"100%\",\n    display: \"flex\",\n    alignItems: \"center\",\n    background: \"#000000\",\n    padding: \"5px 16px 5px 16px\",\n    justifyContent: isMobile ? \"normal\" : \"center\"\n  };\n  const closeButtonStyle = {\n    position: \"absolute\",\n    right: isMobile ? \"16px\" : \"40px\",\n    top: \"50%\",\n    transform: \"translateY(-50%)\"\n  };\n  const campaignBannerVisibilityValue = api.get(CAMPAIGN_BANNER_VISIBILITY_COOKIE_KEY);\n  const setCookies = () => {\n    api.set(CAMPAIGN_BANNER_VISIBILITY_COOKIE_KEY, CLOSE_COOKIE_VALUE, COOKIE_OPTIONS);\n  };\n  const {\n    isDuringTeasingPeriod,\n    isDuringInitialMainPeriod,\n    isFinalDayOnMainPeriod,\n    isDuringFullMainPeriod\n  } = getCampaignPhaseStatus();\n  const isDuringCampaign = isDuringTeasingPeriod || isDuringFullMainPeriod;\n  const getText = () => {\n    if (isDuringTeasingPeriod) {\n      return TEXT.TEASING;\n    }\n    if (isDuringInitialMainPeriod) {\n      return TEXT.MAIN;\n    }\n    if (isFinalDayOnMainPeriod) {\n      return TEXT.LAST_DAY;\n    }\n    return \"\";\n  };\n  const subTitle = getText();\n  if (!isMounted || hidden || !isDuringCampaign || !isActive || campaignBannerVisibilityValue === CLOSE_COOKIE_VALUE) {\n    return null;\n  }\n  const handleClose = () => {\n    setIsActive(false);\n    setCookies();\n  };\n  const handleClick = () => {\n    const campaignUrl = `${env.workspace.content}/campaign/2025/06/29week`;\n    trackClickContent(CAMPAIGN_NAME + subTitle);\n    if (isDuringTeasingPeriod) {\n      document.location.href = `${campaignUrl}/teasing`;\n      return;\n    }\n    document.location.href = campaignUrl;\n  };\n  if (isWebview()) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(Intersection, { threshold: 0.99, onView: () => {\n    trackImpressionContent(CAMPAIGN_NAME + subTitle);\n  }, children: /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsxs(\"button\", { type: \"button\", style: {\n      display: \"flex\",\n      alignItems: \"center\",\n      gap: \"8px\",\n      ...buttonStyle\n    }, onClick: handleClick, children: [\n      /* @__PURE__ */ jsx(\"img\", { style: {\n        borderRadius: \"2px\"\n      }, src: getImageUrl(CAMPAIGN_IMAGE_PATH), alt: \"\", width: 40, height: 40 }),\n      /* @__PURE__ */ jsx(Title, { strongText: CAMPAIGN_NAME, text: subTitle }),\n      /* @__PURE__ */ jsx(\"span\", { children: /* @__PURE__ */ jsx(Icon, { type: \"chevronRight\", weight: \"bold\", size: 18, color: \"#fff\" }) })\n    ] }),\n    /* @__PURE__ */ jsx(\"button\", { type: \"button\", style: {\n      ...closeButtonStyle,\n      ...buttonStyle\n    }, onClick: handleClose, children: /* @__PURE__ */ jsx(Icon, { type: \"close\", weight: \"bold\", size: 18, color: \"#fff\" }) })\n  ] }) });\n};\nconst buttonStyle = {\n  cursor: \"pointer\",\n  background: \"transparent\",\n  borderWidth: 0,\n  outline: \"none\",\n  padding: 0\n};\nexport {\n  CampaignBanner\n};\n","const SENTRY_DSN = \"https://c000ce3b976952a3aa10ac1385b08a66@o4509014776086528.ingest.us.sentry.io/4509320742699009\";\nexport {\n  SENTRY_DSN\n};\n","const DEBUG_BUILD = typeof __SENTRY_DEBUG__ === \"undefined\" || __SENTRY_DEBUG__;\nexport {\n  DEBUG_BUILD\n};\n","const objectToString = Object.prototype.toString;\nfunction isError(wat) {\n  switch (objectToString.call(wat)) {\n    case \"[object Error]\":\n    case \"[object Exception]\":\n    case \"[object DOMException]\":\n    case \"[object WebAssembly.Exception]\":\n      return true;\n    default:\n      return isInstanceOf(wat, Error);\n  }\n}\nfunction isBuiltin(wat, className) {\n  return objectToString.call(wat) === `[object ${className}]`;\n}\nfunction isErrorEvent(wat) {\n  return isBuiltin(wat, \"ErrorEvent\");\n}\nfunction isDOMError(wat) {\n  return isBuiltin(wat, \"DOMError\");\n}\nfunction isDOMException(wat) {\n  return isBuiltin(wat, \"DOMException\");\n}\nfunction isString(wat) {\n  return isBuiltin(wat, \"String\");\n}\nfunction isParameterizedString(wat) {\n  return typeof wat === \"object\" && wat !== null && \"__sentry_template_string__\" in wat && \"__sentry_template_values__\" in wat;\n}\nfunction isPrimitive(wat) {\n  return wat === null || isParameterizedString(wat) || typeof wat !== \"object\" && typeof wat !== \"function\";\n}\nfunction isPlainObject(wat) {\n  return isBuiltin(wat, \"Object\");\n}\nfunction isEvent(wat) {\n  return typeof Event !== \"undefined\" && isInstanceOf(wat, Event);\n}\nfunction isElement(wat) {\n  return typeof Element !== \"undefined\" && isInstanceOf(wat, Element);\n}\nfunction isRegExp(wat) {\n  return isBuiltin(wat, \"RegExp\");\n}\nfunction isThenable(wat) {\n  return Boolean((wat == null ? void 0 : wat.then) && typeof wat.then === \"function\");\n}\nfunction isSyntheticEvent(wat) {\n  return isPlainObject(wat) && \"nativeEvent\" in wat && \"preventDefault\" in wat && \"stopPropagation\" in wat;\n}\nfunction isInstanceOf(wat, base) {\n  try {\n    return wat instanceof base;\n  } catch (_e) {\n    return false;\n  }\n}\nfunction isVueViewModel(wat) {\n  return !!(typeof wat === \"object\" && wat !== null && (wat.__isVue || wat._isVue));\n}\nfunction isRequest(request) {\n  return typeof Request !== \"undefined\" && isInstanceOf(request, Request);\n}\nexport {\n  isDOMError,\n  isDOMException,\n  isElement,\n  isError,\n  isErrorEvent,\n  isEvent,\n  isInstanceOf,\n  isParameterizedString,\n  isPlainObject,\n  isPrimitive,\n  isRegExp,\n  isRequest,\n  isString,\n  isSyntheticEvent,\n  isThenable,\n  isVueViewModel\n};\n","const GLOBAL_OBJ = globalThis;\nexport {\n  GLOBAL_OBJ\n};\n","import { isString } from \"./is.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nconst WINDOW = GLOBAL_OBJ;\nconst DEFAULT_MAX_STRING_LENGTH = 80;\nfunction htmlTreeAsString(elem, options = {}) {\n  if (!elem) {\n    return \"<unknown>\";\n  }\n  try {\n    let currentElem = elem;\n    const MAX_TRAVERSE_HEIGHT = 5;\n    const out = [];\n    let height = 0;\n    let len = 0;\n    const separator = \" > \";\n    const sepLength = separator.length;\n    let nextStr;\n    const keyAttrs = Array.isArray(options) ? options : options.keyAttrs;\n    const maxStringLength = !Array.isArray(options) && options.maxStringLength || DEFAULT_MAX_STRING_LENGTH;\n    while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n      nextStr = _htmlElementAsString(currentElem, keyAttrs);\n      if (nextStr === \"html\" || height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength) {\n        break;\n      }\n      out.push(nextStr);\n      len += nextStr.length;\n      currentElem = currentElem.parentNode;\n    }\n    return out.reverse().join(separator);\n  } catch (_oO) {\n    return \"<unknown>\";\n  }\n}\nfunction _htmlElementAsString(el, keyAttrs) {\n  const elem = el;\n  const out = [];\n  if (!(elem == null ? void 0 : elem.tagName)) {\n    return \"\";\n  }\n  if (WINDOW.HTMLElement) {\n    if (elem instanceof HTMLElement && elem.dataset) {\n      if (elem.dataset[\"sentryComponent\"]) {\n        return elem.dataset[\"sentryComponent\"];\n      }\n      if (elem.dataset[\"sentryElement\"]) {\n        return elem.dataset[\"sentryElement\"];\n      }\n    }\n  }\n  out.push(elem.tagName.toLowerCase());\n  const keyAttrPairs = (keyAttrs == null ? void 0 : keyAttrs.length) ? keyAttrs.filter((keyAttr) => elem.getAttribute(keyAttr)).map((keyAttr) => [keyAttr, elem.getAttribute(keyAttr)]) : null;\n  if (keyAttrPairs == null ? void 0 : keyAttrPairs.length) {\n    keyAttrPairs.forEach((keyAttrPair) => {\n      out.push(`[${keyAttrPair[0]}=\"${keyAttrPair[1]}\"]`);\n    });\n  } else {\n    if (elem.id) {\n      out.push(`#${elem.id}`);\n    }\n    const className = elem.className;\n    if (className && isString(className)) {\n      const classes = className.split(/\\s+/);\n      for (const c of classes) {\n        out.push(`.${c}`);\n      }\n    }\n  }\n  const allowedAttrs = [\"aria-label\", \"type\", \"name\", \"title\", \"alt\"];\n  for (const k of allowedAttrs) {\n    const attr = elem.getAttribute(k);\n    if (attr) {\n      out.push(`[${k}=\"${attr}\"]`);\n    }\n  }\n  return out.join(\"\");\n}\nfunction getLocationHref() {\n  try {\n    return WINDOW.document.location.href;\n  } catch (oO) {\n    return \"\";\n  }\n}\nfunction getComponentName(elem) {\n  if (!WINDOW.HTMLElement) {\n    return null;\n  }\n  let currentElem = elem;\n  const MAX_TRAVERSE_HEIGHT = 5;\n  for (let i = 0; i < MAX_TRAVERSE_HEIGHT; i++) {\n    if (!currentElem) {\n      return null;\n    }\n    if (currentElem instanceof HTMLElement) {\n      if (currentElem.dataset[\"sentryComponent\"]) {\n        return currentElem.dataset[\"sentryComponent\"];\n      }\n      if (currentElem.dataset[\"sentryElement\"]) {\n        return currentElem.dataset[\"sentryElement\"];\n      }\n    }\n    currentElem = currentElem.parentNode;\n  }\n  return null;\n}\nexport {\n  getComponentName,\n  getLocationHref,\n  htmlTreeAsString\n};\n","const SDK_VERSION = \"9.19.0\";\nexport {\n  SDK_VERSION\n};\n","import { SDK_VERSION } from \"./utils-hoist/version.js\";\nimport { GLOBAL_OBJ } from \"./utils-hoist/worldwide.js\";\nfunction getMainCarrier() {\n  getSentryCarrier(GLOBAL_OBJ);\n  return GLOBAL_OBJ;\n}\nfunction getSentryCarrier(carrier) {\n  const __SENTRY__ = carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n  __SENTRY__.version = __SENTRY__.version || SDK_VERSION;\n  return __SENTRY__[SDK_VERSION] = __SENTRY__[SDK_VERSION] || {};\n}\nfunction getGlobalSingleton(name, creator, obj = GLOBAL_OBJ) {\n  const __SENTRY__ = obj.__SENTRY__ = obj.__SENTRY__ || {};\n  const carrier = __SENTRY__[SDK_VERSION] = __SENTRY__[SDK_VERSION] || {};\n  return carrier[name] || (carrier[name] = creator());\n}\nexport {\n  getGlobalSingleton,\n  getMainCarrier,\n  getSentryCarrier\n};\n","import { getGlobalSingleton } from \"../carrier.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nconst PREFIX = \"Sentry Logger \";\nconst CONSOLE_LEVELS = [\n  \"debug\",\n  \"info\",\n  \"warn\",\n  \"error\",\n  \"log\",\n  \"assert\",\n  \"trace\"\n];\nconst originalConsoleMethods = {};\nfunction consoleSandbox(callback) {\n  if (!(\"console\" in GLOBAL_OBJ)) {\n    return callback();\n  }\n  const console = GLOBAL_OBJ.console;\n  const wrappedFuncs = {};\n  const wrappedLevels = Object.keys(originalConsoleMethods);\n  wrappedLevels.forEach((level) => {\n    const originalConsoleMethod = originalConsoleMethods[level];\n    wrappedFuncs[level] = console[level];\n    console[level] = originalConsoleMethod;\n  });\n  try {\n    return callback();\n  } finally {\n    wrappedLevels.forEach((level) => {\n      console[level] = wrappedFuncs[level];\n    });\n  }\n}\nfunction makeLogger() {\n  let enabled = false;\n  const logger2 = {\n    enable: () => {\n      enabled = true;\n    },\n    disable: () => {\n      enabled = false;\n    },\n    isEnabled: () => enabled\n  };\n  if (DEBUG_BUILD) {\n    CONSOLE_LEVELS.forEach((name) => {\n      logger2[name] = (...args) => {\n        if (enabled) {\n          consoleSandbox(() => {\n            GLOBAL_OBJ.console[name](`${PREFIX}[${name}]:`, ...args);\n          });\n        }\n      };\n    });\n  } else {\n    CONSOLE_LEVELS.forEach((name) => {\n      logger2[name] = () => void 0;\n    });\n  }\n  return logger2;\n}\nconst logger = getGlobalSingleton(\"logger\", makeLogger);\nexport {\n  CONSOLE_LEVELS,\n  consoleSandbox,\n  logger,\n  originalConsoleMethods\n};\n","import { isString, isRegExp, isVueViewModel } from \"./is.js\";\nfunction truncate(str, max = 0) {\n  if (typeof str !== \"string\" || max === 0) {\n    return str;\n  }\n  return str.length <= max ? str : `${str.slice(0, max)}...`;\n}\nfunction safeJoin(input, delimiter) {\n  if (!Array.isArray(input)) {\n    return \"\";\n  }\n  const output = [];\n  for (let i = 0; i < input.length; i++) {\n    const value = input[i];\n    try {\n      if (isVueViewModel(value)) {\n        output.push(\"[VueViewModel]\");\n      } else {\n        output.push(String(value));\n      }\n    } catch (e) {\n      output.push(\"[value cannot be serialized]\");\n    }\n  }\n  return output.join(delimiter);\n}\nfunction isMatchingPattern(value, pattern, requireExactStringMatch = false) {\n  if (!isString(value)) {\n    return false;\n  }\n  if (isRegExp(pattern)) {\n    return pattern.test(value);\n  }\n  if (isString(pattern)) {\n    return requireExactStringMatch ? value === pattern : value.includes(pattern);\n  }\n  return false;\n}\nfunction stringMatchesSomePattern(testString, patterns = [], requireExactStringMatch = false) {\n  return patterns.some((pattern) => isMatchingPattern(testString, pattern, requireExactStringMatch));\n}\nexport {\n  isMatchingPattern,\n  safeJoin,\n  stringMatchesSomePattern,\n  truncate\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { htmlTreeAsString } from \"./browser.js\";\nimport { isError, isEvent, isInstanceOf, isElement } from \"./is.js\";\nimport { logger } from \"./logger.js\";\nimport { truncate } from \"./string.js\";\nfunction fill(source, name, replacementFactory) {\n  if (!(name in source)) {\n    return;\n  }\n  const original = source[name];\n  if (typeof original !== \"function\") {\n    return;\n  }\n  const wrapped = replacementFactory(original);\n  if (typeof wrapped === \"function\") {\n    markFunctionWrapped(wrapped, original);\n  }\n  try {\n    source[name] = wrapped;\n  } catch {\n    DEBUG_BUILD && logger.log(`Failed to replace method \"${name}\" in object`, source);\n  }\n}\nfunction addNonEnumerableProperty(obj, name, value) {\n  try {\n    Object.defineProperty(obj, name, {\n      // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n      value,\n      writable: true,\n      configurable: true\n    });\n  } catch (o_O) {\n    DEBUG_BUILD && logger.log(`Failed to add non-enumerable property \"${name}\" to object`, obj);\n  }\n}\nfunction markFunctionWrapped(wrapped, original) {\n  try {\n    const proto = original.prototype || {};\n    wrapped.prototype = original.prototype = proto;\n    addNonEnumerableProperty(wrapped, \"__sentry_original__\", original);\n  } catch (o_O) {\n  }\n}\nfunction getOriginalFunction(func) {\n  return func.__sentry_original__;\n}\nfunction convertToPlainObject(value) {\n  if (isError(value)) {\n    return {\n      message: value.message,\n      name: value.name,\n      stack: value.stack,\n      ...getOwnProperties(value)\n    };\n  } else if (isEvent(value)) {\n    const newObj = {\n      type: value.type,\n      target: serializeEventTarget(value.target),\n      currentTarget: serializeEventTarget(value.currentTarget),\n      ...getOwnProperties(value)\n    };\n    if (typeof CustomEvent !== \"undefined\" && isInstanceOf(value, CustomEvent)) {\n      newObj.detail = value.detail;\n    }\n    return newObj;\n  } else {\n    return value;\n  }\n}\nfunction serializeEventTarget(target) {\n  try {\n    return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n  } catch (_oO) {\n    return \"<unknown>\";\n  }\n}\nfunction getOwnProperties(obj) {\n  if (typeof obj === \"object\" && obj !== null) {\n    const extractedProps = {};\n    for (const property in obj) {\n      if (Object.prototype.hasOwnProperty.call(obj, property)) {\n        extractedProps[property] = obj[property];\n      }\n    }\n    return extractedProps;\n  } else {\n    return {};\n  }\n}\nfunction extractExceptionKeysForMessage(exception, maxLength = 40) {\n  const keys = Object.keys(convertToPlainObject(exception));\n  keys.sort();\n  const firstKey = keys[0];\n  if (!firstKey) {\n    return \"[object has no keys]\";\n  }\n  if (firstKey.length >= maxLength) {\n    return truncate(firstKey, maxLength);\n  }\n  for (let includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n    const serialized = keys.slice(0, includedKeys).join(\", \");\n    if (serialized.length > maxLength) {\n      continue;\n    }\n    if (includedKeys === keys.length) {\n      return serialized;\n    }\n    return truncate(serialized, maxLength);\n  }\n  return \"\";\n}\nexport {\n  addNonEnumerableProperty,\n  convertToPlainObject,\n  extractExceptionKeysForMessage,\n  fill,\n  getOriginalFunction,\n  markFunctionWrapped\n};\n","import { addNonEnumerableProperty } from \"./object.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nfunction getCrypto() {\n  const gbl = GLOBAL_OBJ;\n  return gbl.crypto || gbl.msCrypto;\n}\nfunction uuid4(crypto = getCrypto()) {\n  let getRandomByte = () => Math.random() * 16;\n  try {\n    if (crypto == null ? void 0 : crypto.randomUUID) {\n      return crypto.randomUUID().replace(/-/g, \"\");\n    }\n    if (crypto == null ? void 0 : crypto.getRandomValues) {\n      getRandomByte = () => {\n        const typedArray = new Uint8Array(1);\n        crypto.getRandomValues(typedArray);\n        return typedArray[0];\n      };\n    }\n  } catch (_) {\n  }\n  return (\"10000000100040008000\" + 1e11).replace(\n    /[018]/g,\n    (c) => (\n      // eslint-disable-next-line no-bitwise\n      (c ^ (getRandomByte() & 15) >> c / 4).toString(16)\n    )\n  );\n}\nfunction getFirstException(event) {\n  var _a, _b;\n  return (_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b[0];\n}\nfunction getEventDescription(event) {\n  const { message, event_id: eventId } = event;\n  if (message) {\n    return message;\n  }\n  const firstException = getFirstException(event);\n  if (firstException) {\n    if (firstException.type && firstException.value) {\n      return `${firstException.type}: ${firstException.value}`;\n    }\n    return firstException.type || firstException.value || eventId || \"<unknown>\";\n  }\n  return eventId || \"<unknown>\";\n}\nfunction addExceptionTypeValue(event, value, type) {\n  const exception = event.exception = event.exception || {};\n  const values = exception.values = exception.values || [];\n  const firstException = values[0] = values[0] || {};\n  if (!firstException.value) {\n    firstException.value = value || \"\";\n  }\n  if (!firstException.type) {\n    firstException.type = type || \"Error\";\n  }\n}\nfunction addExceptionMechanism(event, newMechanism) {\n  const firstException = getFirstException(event);\n  if (!firstException) {\n    return;\n  }\n  const defaultMechanism = { type: \"generic\", handled: true };\n  const currentMechanism = firstException.mechanism;\n  firstException.mechanism = { ...defaultMechanism, ...currentMechanism, ...newMechanism };\n  if (newMechanism && \"data\" in newMechanism) {\n    const mergedData = { ...currentMechanism == null ? void 0 : currentMechanism.data, ...newMechanism.data };\n    firstException.mechanism.data = mergedData;\n  }\n}\nfunction checkOrSetAlreadyCaught(exception) {\n  if (isAlreadyCaptured(exception)) {\n    return true;\n  }\n  try {\n    addNonEnumerableProperty(exception, \"__sentry_captured__\", true);\n  } catch (err) {\n  }\n  return false;\n}\nfunction isAlreadyCaptured(exception) {\n  try {\n    return exception.__sentry_captured__;\n  } catch {\n  }\n}\nexport {\n  addExceptionMechanism,\n  addExceptionTypeValue,\n  checkOrSetAlreadyCaught,\n  getEventDescription,\n  uuid4\n};\n","import { isThenable } from \"./is.js\";\nvar States;\n(function(States2) {\n  const PENDING = 0;\n  States2[States2[\"PENDING\"] = PENDING] = \"PENDING\";\n  const RESOLVED = 1;\n  States2[States2[\"RESOLVED\"] = RESOLVED] = \"RESOLVED\";\n  const REJECTED = 2;\n  States2[States2[\"REJECTED\"] = REJECTED] = \"REJECTED\";\n})(States || (States = {}));\nfunction resolvedSyncPromise(value) {\n  return new SyncPromise((resolve) => {\n    resolve(value);\n  });\n}\nfunction rejectedSyncPromise(reason) {\n  return new SyncPromise((_, reject) => {\n    reject(reason);\n  });\n}\nclass SyncPromise {\n  constructor(executor) {\n    this._state = States.PENDING;\n    this._handlers = [];\n    this._runExecutor(executor);\n  }\n  /** @inheritdoc */\n  then(onfulfilled, onrejected) {\n    return new SyncPromise((resolve, reject) => {\n      this._handlers.push([\n        false,\n        (result) => {\n          if (!onfulfilled) {\n            resolve(result);\n          } else {\n            try {\n              resolve(onfulfilled(result));\n            } catch (e) {\n              reject(e);\n            }\n          }\n        },\n        (reason) => {\n          if (!onrejected) {\n            reject(reason);\n          } else {\n            try {\n              resolve(onrejected(reason));\n            } catch (e) {\n              reject(e);\n            }\n          }\n        }\n      ]);\n      this._executeHandlers();\n    });\n  }\n  /** @inheritdoc */\n  catch(onrejected) {\n    return this.then((val) => val, onrejected);\n  }\n  /** @inheritdoc */\n  finally(onfinally) {\n    return new SyncPromise((resolve, reject) => {\n      let val;\n      let isRejected;\n      return this.then(\n        (value) => {\n          isRejected = false;\n          val = value;\n          if (onfinally) {\n            onfinally();\n          }\n        },\n        (reason) => {\n          isRejected = true;\n          val = reason;\n          if (onfinally) {\n            onfinally();\n          }\n        }\n      ).then(() => {\n        if (isRejected) {\n          reject(val);\n          return;\n        }\n        resolve(val);\n      });\n    });\n  }\n  /** Excute the resolve/reject handlers. */\n  _executeHandlers() {\n    if (this._state === States.PENDING) {\n      return;\n    }\n    const cachedHandlers = this._handlers.slice();\n    this._handlers = [];\n    cachedHandlers.forEach((handler) => {\n      if (handler[0]) {\n        return;\n      }\n      if (this._state === States.RESOLVED) {\n        handler[1](this._value);\n      }\n      if (this._state === States.REJECTED) {\n        handler[2](this._value);\n      }\n      handler[0] = true;\n    });\n  }\n  /** Run the executor for the SyncPromise. */\n  _runExecutor(executor) {\n    const setResult = (state, value) => {\n      if (this._state !== States.PENDING) {\n        return;\n      }\n      if (isThenable(value)) {\n        void value.then(resolve, reject);\n        return;\n      }\n      this._state = state;\n      this._value = value;\n      this._executeHandlers();\n    };\n    const resolve = (value) => {\n      setResult(States.RESOLVED, value);\n    };\n    const reject = (reason) => {\n      setResult(States.REJECTED, reason);\n    };\n    try {\n      executor(resolve, reject);\n    } catch (e) {\n      reject(e);\n    }\n  }\n}\nexport {\n  SyncPromise,\n  rejectedSyncPromise,\n  resolvedSyncPromise\n};\n","import { GLOBAL_OBJ } from \"./worldwide.js\";\nconst ONE_SECOND_IN_MS = 1e3;\nfunction dateTimestampInSeconds() {\n  return Date.now() / ONE_SECOND_IN_MS;\n}\nfunction createUnixTimestampInSecondsFunc() {\n  const { performance } = GLOBAL_OBJ;\n  if (!(performance == null ? void 0 : performance.now)) {\n    return dateTimestampInSeconds;\n  }\n  const approxStartingTimeOrigin = Date.now() - performance.now();\n  const timeOrigin = performance.timeOrigin == void 0 ? approxStartingTimeOrigin : performance.timeOrigin;\n  return () => {\n    return (timeOrigin + performance.now()) / ONE_SECOND_IN_MS;\n  };\n}\nconst timestampInSeconds = createUnixTimestampInSecondsFunc();\nlet cachedTimeOrigin;\nfunction getBrowserTimeOrigin() {\n  var _a;\n  const { performance } = GLOBAL_OBJ;\n  if (!(performance == null ? void 0 : performance.now)) {\n    return [void 0, \"none\"];\n  }\n  const threshold = 3600 * 1e3;\n  const performanceNow = performance.now();\n  const dateNow = Date.now();\n  const timeOriginDelta = performance.timeOrigin ? Math.abs(performance.timeOrigin + performanceNow - dateNow) : threshold;\n  const timeOriginIsReliable = timeOriginDelta < threshold;\n  const navigationStart = (_a = performance.timing) == null ? void 0 : _a.navigationStart;\n  const hasNavigationStart = typeof navigationStart === \"number\";\n  const navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n  const navigationStartIsReliable = navigationStartDelta < threshold;\n  if (timeOriginIsReliable || navigationStartIsReliable) {\n    if (timeOriginDelta <= navigationStartDelta) {\n      return [performance.timeOrigin, \"timeOrigin\"];\n    } else {\n      return [navigationStart, \"navigationStart\"];\n    }\n  }\n  return [dateNow, \"dateNow\"];\n}\nfunction browserPerformanceTimeOrigin() {\n  if (!cachedTimeOrigin) {\n    cachedTimeOrigin = getBrowserTimeOrigin();\n  }\n  return cachedTimeOrigin[0];\n}\nexport {\n  browserPerformanceTimeOrigin,\n  dateTimestampInSeconds,\n  timestampInSeconds\n};\n","import { uuid4 } from \"./utils-hoist/misc.js\";\nimport { timestampInSeconds } from \"./utils-hoist/time.js\";\nfunction makeSession(context) {\n  const startingTime = timestampInSeconds();\n  const session = {\n    sid: uuid4(),\n    init: true,\n    timestamp: startingTime,\n    started: startingTime,\n    duration: 0,\n    status: \"ok\",\n    errors: 0,\n    ignoreDuration: false,\n    toJSON: () => sessionToJSON(session)\n  };\n  if (context) {\n    updateSession(session, context);\n  }\n  return session;\n}\nfunction updateSession(session, context = {}) {\n  if (context.user) {\n    if (!session.ipAddress && context.user.ip_address) {\n      session.ipAddress = context.user.ip_address;\n    }\n    if (!session.did && !context.did) {\n      session.did = context.user.id || context.user.email || context.user.username;\n    }\n  }\n  session.timestamp = context.timestamp || timestampInSeconds();\n  if (context.abnormal_mechanism) {\n    session.abnormal_mechanism = context.abnormal_mechanism;\n  }\n  if (context.ignoreDuration) {\n    session.ignoreDuration = context.ignoreDuration;\n  }\n  if (context.sid) {\n    session.sid = context.sid.length === 32 ? context.sid : uuid4();\n  }\n  if (context.init !== void 0) {\n    session.init = context.init;\n  }\n  if (!session.did && context.did) {\n    session.did = `${context.did}`;\n  }\n  if (typeof context.started === \"number\") {\n    session.started = context.started;\n  }\n  if (session.ignoreDuration) {\n    session.duration = void 0;\n  } else if (typeof context.duration === \"number\") {\n    session.duration = context.duration;\n  } else {\n    const duration = session.timestamp - session.started;\n    session.duration = duration >= 0 ? duration : 0;\n  }\n  if (context.release) {\n    session.release = context.release;\n  }\n  if (context.environment) {\n    session.environment = context.environment;\n  }\n  if (!session.ipAddress && context.ipAddress) {\n    session.ipAddress = context.ipAddress;\n  }\n  if (!session.userAgent && context.userAgent) {\n    session.userAgent = context.userAgent;\n  }\n  if (typeof context.errors === \"number\") {\n    session.errors = context.errors;\n  }\n  if (context.status) {\n    session.status = context.status;\n  }\n}\nfunction closeSession(session, status) {\n  let context = {};\n  if (status) {\n    context = { status };\n  } else if (session.status === \"ok\") {\n    context = { status: \"exited\" };\n  }\n  updateSession(session, context);\n}\nfunction sessionToJSON(session) {\n  return {\n    sid: `${session.sid}`,\n    init: session.init,\n    // Make sure that sec is converted to ms for date constructor\n    started: new Date(session.started * 1e3).toISOString(),\n    timestamp: new Date(session.timestamp * 1e3).toISOString(),\n    status: session.status,\n    errors: session.errors,\n    did: typeof session.did === \"number\" || typeof session.did === \"string\" ? `${session.did}` : void 0,\n    duration: session.duration,\n    abnormal_mechanism: session.abnormal_mechanism,\n    attrs: {\n      release: session.release,\n      environment: session.environment,\n      ip_address: session.ipAddress,\n      user_agent: session.userAgent\n    }\n  };\n}\nexport {\n  closeSession,\n  makeSession,\n  updateSession\n};\n","function merge(initialObj, mergeObj, levels = 2) {\n  if (!mergeObj || typeof mergeObj !== \"object\" || levels <= 0) {\n    return mergeObj;\n  }\n  if (initialObj && Object.keys(mergeObj).length === 0) {\n    return initialObj;\n  }\n  const output = { ...initialObj };\n  for (const key in mergeObj) {\n    if (Object.prototype.hasOwnProperty.call(mergeObj, key)) {\n      output[key] = merge(output[key], mergeObj[key], levels - 1);\n    }\n  }\n  return output;\n}\nexport {\n  merge\n};\n","import { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nconst SCOPE_SPAN_FIELD = \"_sentrySpan\";\nfunction _setSpanForScope(scope, span) {\n  if (span) {\n    addNonEnumerableProperty(scope, SCOPE_SPAN_FIELD, span);\n  } else {\n    delete scope[SCOPE_SPAN_FIELD];\n  }\n}\nfunction _getSpanForScope(scope) {\n  return scope[SCOPE_SPAN_FIELD];\n}\nexport {\n  _getSpanForScope,\n  _setSpanForScope\n};\n","import { uuid4 } from \"./misc.js\";\nfunction generateTraceId() {\n  return uuid4();\n}\nfunction generateSpanId() {\n  return uuid4().substring(16);\n}\nexport {\n  generateSpanId,\n  generateTraceId\n};\n","import { updateSession } from \"./session.js\";\nimport { merge } from \"./utils/merge.js\";\nimport { _setSpanForScope, _getSpanForScope } from \"./utils/spanOnScope.js\";\nimport { isPlainObject } from \"./utils-hoist/is.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nimport { uuid4 } from \"./utils-hoist/misc.js\";\nimport { generateTraceId } from \"./utils-hoist/propagationContext.js\";\nimport { truncate } from \"./utils-hoist/string.js\";\nimport { dateTimestampInSeconds } from \"./utils-hoist/time.js\";\nconst DEFAULT_MAX_BREADCRUMBS = 100;\nclass Scope {\n  /** Flag if notifying is happening. */\n  /** Callback for client to receive scope changes. */\n  /** Callback list that will be called during event processing. */\n  /** Array of breadcrumbs. */\n  /** User */\n  /** Tags */\n  /** Extra */\n  /** Contexts */\n  /** Attachments */\n  /** Propagation Context for distributed tracing */\n  /**\n   * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n   * sent to Sentry\n   */\n  /** Fingerprint */\n  /** Severity */\n  /**\n   * Transaction Name\n   *\n   * IMPORTANT: The transaction name on the scope has nothing to do with root spans/transaction objects.\n   * It's purpose is to assign a transaction to the scope that's added to non-transaction events.\n   */\n  /** Session */\n  /** The client on this scope */\n  /** Contains the last event id of a captured event.  */\n  // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.\n  constructor() {\n    this._notifyingListeners = false;\n    this._scopeListeners = [];\n    this._eventProcessors = [];\n    this._breadcrumbs = [];\n    this._attachments = [];\n    this._user = {};\n    this._tags = {};\n    this._extra = {};\n    this._contexts = {};\n    this._sdkProcessingMetadata = {};\n    this._propagationContext = {\n      traceId: generateTraceId(),\n      sampleRand: Math.random()\n    };\n  }\n  /**\n   * Clone all data from this scope into a new scope.\n   */\n  clone() {\n    const newScope = new Scope();\n    newScope._breadcrumbs = [...this._breadcrumbs];\n    newScope._tags = { ...this._tags };\n    newScope._extra = { ...this._extra };\n    newScope._contexts = { ...this._contexts };\n    if (this._contexts.flags) {\n      newScope._contexts.flags = {\n        values: [...this._contexts.flags.values]\n      };\n    }\n    newScope._user = this._user;\n    newScope._level = this._level;\n    newScope._session = this._session;\n    newScope._transactionName = this._transactionName;\n    newScope._fingerprint = this._fingerprint;\n    newScope._eventProcessors = [...this._eventProcessors];\n    newScope._attachments = [...this._attachments];\n    newScope._sdkProcessingMetadata = { ...this._sdkProcessingMetadata };\n    newScope._propagationContext = { ...this._propagationContext };\n    newScope._client = this._client;\n    newScope._lastEventId = this._lastEventId;\n    _setSpanForScope(newScope, _getSpanForScope(this));\n    return newScope;\n  }\n  /**\n   * Update the client assigned to this scope.\n   * Note that not every scope will have a client assigned - isolation scopes & the global scope will generally not have a client,\n   * as well as manually created scopes.\n   */\n  setClient(client) {\n    this._client = client;\n  }\n  /**\n   * Set the ID of the last captured error event.\n   * This is generally only captured on the isolation scope.\n   */\n  setLastEventId(lastEventId) {\n    this._lastEventId = lastEventId;\n  }\n  /**\n   * Get the client assigned to this scope.\n   */\n  getClient() {\n    return this._client;\n  }\n  /**\n   * Get the ID of the last captured error event.\n   * This is generally only available on the isolation scope.\n   */\n  lastEventId() {\n    return this._lastEventId;\n  }\n  /**\n   * @inheritDoc\n   */\n  addScopeListener(callback) {\n    this._scopeListeners.push(callback);\n  }\n  /**\n   * Add an event processor that will be called before an event is sent.\n   */\n  addEventProcessor(callback) {\n    this._eventProcessors.push(callback);\n    return this;\n  }\n  /**\n   * Set the user for this scope.\n   * Set to `null` to unset the user.\n   */\n  setUser(user) {\n    this._user = user || {\n      email: void 0,\n      id: void 0,\n      ip_address: void 0,\n      username: void 0\n    };\n    if (this._session) {\n      updateSession(this._session, { user });\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Get the user from this scope.\n   */\n  getUser() {\n    return this._user;\n  }\n  /**\n   * Set an object that will be merged into existing tags on the scope,\n   * and will be sent as tags data with the event.\n   */\n  setTags(tags) {\n    this._tags = {\n      ...this._tags,\n      ...tags\n    };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set a single tag that will be sent as tags data with the event.\n   */\n  setTag(key, value) {\n    this._tags = { ...this._tags, [key]: value };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set an object that will be merged into existing extra on the scope,\n   * and will be sent as extra data with the event.\n   */\n  setExtras(extras) {\n    this._extra = {\n      ...this._extra,\n      ...extras\n    };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set a single key:value extra entry that will be sent as extra data with the event.\n   */\n  setExtra(key, extra) {\n    this._extra = { ...this._extra, [key]: extra };\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets the fingerprint on the scope to send with the events.\n   * @param {string[]} fingerprint Fingerprint to group events in Sentry.\n   */\n  setFingerprint(fingerprint) {\n    this._fingerprint = fingerprint;\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets the level on the scope for future events.\n   */\n  setLevel(level) {\n    this._level = level;\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets the transaction name on the scope so that the name of e.g. taken server route or\n   * the page location is attached to future events.\n   *\n   * IMPORTANT: Calling this function does NOT change the name of the currently active\n   * root span. If you want to change the name of the active root span, use\n   * `Sentry.updateSpanName(rootSpan, 'new name')` instead.\n   *\n   * By default, the SDK updates the scope's transaction name automatically on sensible\n   * occasions, such as a page navigation or when handling a new request on the server.\n   */\n  setTransactionName(name) {\n    this._transactionName = name;\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Sets context data with the given name.\n   * Data passed as context will be normalized. You can also pass `null` to unset the context.\n   * Note that context data will not be merged - calling `setContext` will overwrite an existing context with the same key.\n   */\n  setContext(key, context) {\n    if (context === null) {\n      delete this._contexts[key];\n    } else {\n      this._contexts[key] = context;\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Set the session for the scope.\n   */\n  setSession(session) {\n    if (!session) {\n      delete this._session;\n    } else {\n      this._session = session;\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Get the session from the scope.\n   */\n  getSession() {\n    return this._session;\n  }\n  /**\n   * Updates the scope with provided data. Can work in three variations:\n   * - plain object containing updatable attributes\n   * - Scope instance that'll extract the attributes from\n   * - callback function that'll receive the current scope as an argument and allow for modifications\n   */\n  update(captureContext) {\n    if (!captureContext) {\n      return this;\n    }\n    const scopeToMerge = typeof captureContext === \"function\" ? captureContext(this) : captureContext;\n    const scopeInstance = scopeToMerge instanceof Scope ? scopeToMerge.getScopeData() : isPlainObject(scopeToMerge) ? captureContext : void 0;\n    const { tags, extra, user, contexts, level, fingerprint = [], propagationContext } = scopeInstance || {};\n    this._tags = { ...this._tags, ...tags };\n    this._extra = { ...this._extra, ...extra };\n    this._contexts = { ...this._contexts, ...contexts };\n    if (user && Object.keys(user).length) {\n      this._user = user;\n    }\n    if (level) {\n      this._level = level;\n    }\n    if (fingerprint.length) {\n      this._fingerprint = fingerprint;\n    }\n    if (propagationContext) {\n      this._propagationContext = propagationContext;\n    }\n    return this;\n  }\n  /**\n   * Clears the current scope and resets its properties.\n   * Note: The client will not be cleared.\n   */\n  clear() {\n    this._breadcrumbs = [];\n    this._tags = {};\n    this._extra = {};\n    this._user = {};\n    this._contexts = {};\n    this._level = void 0;\n    this._transactionName = void 0;\n    this._fingerprint = void 0;\n    this._session = void 0;\n    _setSpanForScope(this, void 0);\n    this._attachments = [];\n    this.setPropagationContext({ traceId: generateTraceId(), sampleRand: Math.random() });\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Adds a breadcrumb to the scope.\n   * By default, the last 100 breadcrumbs are kept.\n   */\n  addBreadcrumb(breadcrumb, maxBreadcrumbs) {\n    var _a;\n    const maxCrumbs = typeof maxBreadcrumbs === \"number\" ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS;\n    if (maxCrumbs <= 0) {\n      return this;\n    }\n    const mergedBreadcrumb = {\n      timestamp: dateTimestampInSeconds(),\n      ...breadcrumb,\n      // Breadcrumb messages can theoretically be infinitely large and they're held in memory so we truncate them not to leak (too much) memory\n      message: breadcrumb.message ? truncate(breadcrumb.message, 2048) : breadcrumb.message\n    };\n    this._breadcrumbs.push(mergedBreadcrumb);\n    if (this._breadcrumbs.length > maxCrumbs) {\n      this._breadcrumbs = this._breadcrumbs.slice(-maxCrumbs);\n      (_a = this._client) == null ? void 0 : _a.recordDroppedEvent(\"buffer_overflow\", \"log_item\");\n    }\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Get the last breadcrumb of the scope.\n   */\n  getLastBreadcrumb() {\n    return this._breadcrumbs[this._breadcrumbs.length - 1];\n  }\n  /**\n   * Clear all breadcrumbs from the scope.\n   */\n  clearBreadcrumbs() {\n    this._breadcrumbs = [];\n    this._notifyScopeListeners();\n    return this;\n  }\n  /**\n   * Add an attachment to the scope.\n   */\n  addAttachment(attachment) {\n    this._attachments.push(attachment);\n    return this;\n  }\n  /**\n   * Clear all attachments from the scope.\n   */\n  clearAttachments() {\n    this._attachments = [];\n    return this;\n  }\n  /**\n   * Get the data of this scope, which should be applied to an event during processing.\n   */\n  getScopeData() {\n    return {\n      breadcrumbs: this._breadcrumbs,\n      attachments: this._attachments,\n      contexts: this._contexts,\n      tags: this._tags,\n      extra: this._extra,\n      user: this._user,\n      level: this._level,\n      fingerprint: this._fingerprint || [],\n      eventProcessors: this._eventProcessors,\n      propagationContext: this._propagationContext,\n      sdkProcessingMetadata: this._sdkProcessingMetadata,\n      transactionName: this._transactionName,\n      span: _getSpanForScope(this)\n    };\n  }\n  /**\n   * Add data which will be accessible during event processing but won't get sent to Sentry.\n   */\n  setSDKProcessingMetadata(newData) {\n    this._sdkProcessingMetadata = merge(this._sdkProcessingMetadata, newData, 2);\n    return this;\n  }\n  /**\n   * Add propagation context to the scope, used for distributed tracing\n   */\n  setPropagationContext(context) {\n    this._propagationContext = context;\n    return this;\n  }\n  /**\n   * Get propagation context from the scope, used for distributed tracing\n   */\n  getPropagationContext() {\n    return this._propagationContext;\n  }\n  /**\n   * Capture an exception for this scope.\n   *\n   * @returns {string} The id of the captured Sentry event.\n   */\n  captureException(exception, hint) {\n    const eventId = (hint == null ? void 0 : hint.event_id) || uuid4();\n    if (!this._client) {\n      logger.warn(\"No client configured on scope - will not capture exception!\");\n      return eventId;\n    }\n    const syntheticException = new Error(\"Sentry syntheticException\");\n    this._client.captureException(\n      exception,\n      {\n        originalException: exception,\n        syntheticException,\n        ...hint,\n        event_id: eventId\n      },\n      this\n    );\n    return eventId;\n  }\n  /**\n   * Capture a message for this scope.\n   *\n   * @returns {string} The id of the captured message.\n   */\n  captureMessage(message, level, hint) {\n    const eventId = (hint == null ? void 0 : hint.event_id) || uuid4();\n    if (!this._client) {\n      logger.warn(\"No client configured on scope - will not capture message!\");\n      return eventId;\n    }\n    const syntheticException = new Error(message);\n    this._client.captureMessage(\n      message,\n      level,\n      {\n        originalException: message,\n        syntheticException,\n        ...hint,\n        event_id: eventId\n      },\n      this\n    );\n    return eventId;\n  }\n  /**\n   * Capture a Sentry event for this scope.\n   *\n   * @returns {string} The id of the captured event.\n   */\n  captureEvent(event, hint) {\n    const eventId = (hint == null ? void 0 : hint.event_id) || uuid4();\n    if (!this._client) {\n      logger.warn(\"No client configured on scope - will not capture event!\");\n      return eventId;\n    }\n    this._client.captureEvent(event, { ...hint, event_id: eventId }, this);\n    return eventId;\n  }\n  /**\n   * This will be called on every set call.\n   */\n  _notifyScopeListeners() {\n    if (!this._notifyingListeners) {\n      this._notifyingListeners = true;\n      this._scopeListeners.forEach((callback) => {\n        callback(this);\n      });\n      this._notifyingListeners = false;\n    }\n  }\n}\nexport {\n  Scope\n};\n","import { getGlobalSingleton } from \"./carrier.js\";\nimport { Scope } from \"./scope.js\";\nfunction getDefaultCurrentScope() {\n  return getGlobalSingleton(\"defaultCurrentScope\", () => new Scope());\n}\nfunction getDefaultIsolationScope() {\n  return getGlobalSingleton(\"defaultIsolationScope\", () => new Scope());\n}\nexport {\n  getDefaultCurrentScope,\n  getDefaultIsolationScope\n};\n","import { getDefaultCurrentScope, getDefaultIsolationScope } from \"../defaultScopes.js\";\nimport { Scope } from \"../scope.js\";\nimport { isThenable } from \"../utils-hoist/is.js\";\nimport { getMainCarrier, getSentryCarrier } from \"../carrier.js\";\nclass AsyncContextStack {\n  constructor(scope, isolationScope) {\n    let assignedScope;\n    if (!scope) {\n      assignedScope = new Scope();\n    } else {\n      assignedScope = scope;\n    }\n    let assignedIsolationScope;\n    if (!isolationScope) {\n      assignedIsolationScope = new Scope();\n    } else {\n      assignedIsolationScope = isolationScope;\n    }\n    this._stack = [{ scope: assignedScope }];\n    this._isolationScope = assignedIsolationScope;\n  }\n  /**\n   * Fork a scope for the stack.\n   */\n  withScope(callback) {\n    const scope = this._pushScope();\n    let maybePromiseResult;\n    try {\n      maybePromiseResult = callback(scope);\n    } catch (e) {\n      this._popScope();\n      throw e;\n    }\n    if (isThenable(maybePromiseResult)) {\n      return maybePromiseResult.then(\n        (res) => {\n          this._popScope();\n          return res;\n        },\n        (e) => {\n          this._popScope();\n          throw e;\n        }\n      );\n    }\n    this._popScope();\n    return maybePromiseResult;\n  }\n  /**\n   * Get the client of the stack.\n   */\n  getClient() {\n    return this.getStackTop().client;\n  }\n  /**\n   * Returns the scope of the top stack.\n   */\n  getScope() {\n    return this.getStackTop().scope;\n  }\n  /**\n   * Get the isolation scope for the stack.\n   */\n  getIsolationScope() {\n    return this._isolationScope;\n  }\n  /**\n   * Returns the topmost scope layer in the order domain > local > process.\n   */\n  getStackTop() {\n    return this._stack[this._stack.length - 1];\n  }\n  /**\n   * Push a scope to the stack.\n   */\n  _pushScope() {\n    const scope = this.getScope().clone();\n    this._stack.push({\n      client: this.getClient(),\n      scope\n    });\n    return scope;\n  }\n  /**\n   * Pop a scope from the stack.\n   */\n  _popScope() {\n    if (this._stack.length <= 1)\n      return false;\n    return !!this._stack.pop();\n  }\n}\nfunction getAsyncContextStack() {\n  const registry = getMainCarrier();\n  const sentry = getSentryCarrier(registry);\n  return sentry.stack = sentry.stack || new AsyncContextStack(getDefaultCurrentScope(), getDefaultIsolationScope());\n}\nfunction withScope(callback) {\n  return getAsyncContextStack().withScope(callback);\n}\nfunction withSetScope(scope, callback) {\n  const stack = getAsyncContextStack();\n  return stack.withScope(() => {\n    stack.getStackTop().scope = scope;\n    return callback(scope);\n  });\n}\nfunction withIsolationScope(callback) {\n  return getAsyncContextStack().withScope(() => {\n    return callback(getAsyncContextStack().getIsolationScope());\n  });\n}\nfunction getStackAsyncContextStrategy() {\n  return {\n    withIsolationScope,\n    withScope,\n    withSetScope,\n    withSetIsolationScope: (_isolationScope, callback) => {\n      return withIsolationScope(callback);\n    },\n    getCurrentScope: () => getAsyncContextStack().getScope(),\n    getIsolationScope: () => getAsyncContextStack().getIsolationScope()\n  };\n}\nexport {\n  AsyncContextStack,\n  getStackAsyncContextStrategy\n};\n","import { getSentryCarrier } from \"../carrier.js\";\nimport { getStackAsyncContextStrategy } from \"./stackStrategy.js\";\nfunction getAsyncContextStrategy(carrier) {\n  const sentry = getSentryCarrier(carrier);\n  if (sentry.acs) {\n    return sentry.acs;\n  }\n  return getStackAsyncContextStrategy();\n}\nexport {\n  getAsyncContextStrategy\n};\n","import { getAsyncContextStrategy } from \"./asyncContext/index.js\";\nimport { getMainCarrier, getGlobalSingleton } from \"./carrier.js\";\nimport { Scope } from \"./scope.js\";\nimport { generateSpanId } from \"./utils-hoist/propagationContext.js\";\nfunction getCurrentScope() {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  return acs.getCurrentScope();\n}\nfunction getIsolationScope() {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  return acs.getIsolationScope();\n}\nfunction getGlobalScope() {\n  return getGlobalSingleton(\"globalScope\", () => new Scope());\n}\nfunction withScope(...rest) {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  if (rest.length === 2) {\n    const [scope, callback] = rest;\n    if (!scope) {\n      return acs.withScope(callback);\n    }\n    return acs.withSetScope(scope, callback);\n  }\n  return acs.withScope(rest[0]);\n}\nfunction getClient() {\n  return getCurrentScope().getClient();\n}\nfunction getTraceContextFromScope(scope) {\n  const propagationContext = scope.getPropagationContext();\n  const { traceId, parentSpanId, propagationSpanId } = propagationContext;\n  const traceContext = {\n    trace_id: traceId,\n    span_id: propagationSpanId || generateSpanId()\n  };\n  if (parentSpanId) {\n    traceContext.parent_span_id = parentSpanId;\n  }\n  return traceContext;\n}\nexport {\n  getClient,\n  getCurrentScope,\n  getGlobalScope,\n  getIsolationScope,\n  getTraceContextFromScope,\n  withScope\n};\n","const STACKTRACE_FRAME_LIMIT = 50;\nconst UNKNOWN_FUNCTION = \"?\";\nconst WEBPACK_ERROR_REGEXP = /\\(error: (.*)\\)/;\nconst STRIP_FRAME_REGEXP = /captureMessage|captureException/;\nfunction createStackParser(...parsers) {\n  const sortedParsers = parsers.sort((a, b) => a[0] - b[0]).map((p) => p[1]);\n  return (stack, skipFirstLines = 0, framesToPop = 0) => {\n    const frames = [];\n    const lines = stack.split(\"\\n\");\n    for (let i = skipFirstLines; i < lines.length; i++) {\n      const line = lines[i];\n      if (line.length > 1024) {\n        continue;\n      }\n      const cleanedLine = WEBPACK_ERROR_REGEXP.test(line) ? line.replace(WEBPACK_ERROR_REGEXP, \"$1\") : line;\n      if (cleanedLine.match(/\\S*Error: /)) {\n        continue;\n      }\n      for (const parser of sortedParsers) {\n        const frame = parser(cleanedLine);\n        if (frame) {\n          frames.push(frame);\n          break;\n        }\n      }\n      if (frames.length >= STACKTRACE_FRAME_LIMIT + framesToPop) {\n        break;\n      }\n    }\n    return stripSentryFramesAndReverse(frames.slice(framesToPop));\n  };\n}\nfunction stackParserFromStackParserOptions(stackParser) {\n  if (Array.isArray(stackParser)) {\n    return createStackParser(...stackParser);\n  }\n  return stackParser;\n}\nfunction stripSentryFramesAndReverse(stack) {\n  if (!stack.length) {\n    return [];\n  }\n  const localStack = Array.from(stack);\n  if (/sentryWrapped/.test(getLastStackFrame(localStack).function || \"\")) {\n    localStack.pop();\n  }\n  localStack.reverse();\n  if (STRIP_FRAME_REGEXP.test(getLastStackFrame(localStack).function || \"\")) {\n    localStack.pop();\n    if (STRIP_FRAME_REGEXP.test(getLastStackFrame(localStack).function || \"\")) {\n      localStack.pop();\n    }\n  }\n  return localStack.slice(0, STACKTRACE_FRAME_LIMIT).map((frame) => ({\n    ...frame,\n    filename: frame.filename || getLastStackFrame(localStack).filename,\n    function: frame.function || UNKNOWN_FUNCTION\n  }));\n}\nfunction getLastStackFrame(arr) {\n  return arr[arr.length - 1] || {};\n}\nconst defaultFunctionName = \"<anonymous>\";\nfunction getFunctionName(fn) {\n  try {\n    if (!fn || typeof fn !== \"function\") {\n      return defaultFunctionName;\n    }\n    return fn.name || defaultFunctionName;\n  } catch (e) {\n    return defaultFunctionName;\n  }\n}\nfunction getFramesFromEvent(event) {\n  const exception = event.exception;\n  if (exception) {\n    const frames = [];\n    try {\n      exception.values.forEach((value) => {\n        if (value.stacktrace.frames) {\n          frames.push(...value.stacktrace.frames);\n        }\n      });\n      return frames;\n    } catch (_oO) {\n      return void 0;\n    }\n  }\n  return void 0;\n}\nexport {\n  UNKNOWN_FUNCTION,\n  createStackParser,\n  getFramesFromEvent,\n  getFunctionName,\n  stackParserFromStackParserOptions,\n  stripSentryFramesAndReverse\n};\n","import global from \"../../../../../vite-plugin-node-polyfills/shims/global/dist/index.js\";\nimport { isVueViewModel, isSyntheticEvent } from \"./is.js\";\nimport { convertToPlainObject } from \"./object.js\";\nimport { getFunctionName } from \"./stacktrace.js\";\nfunction normalize(input, depth = 100, maxProperties = Infinity) {\n  try {\n    return visit(\"\", input, depth, maxProperties);\n  } catch (err) {\n    return { ERROR: `**non-serializable** (${err})` };\n  }\n}\nfunction normalizeToSize(object, depth = 3, maxSize = 100 * 1024) {\n  const normalized = normalize(object, depth);\n  if (jsonSize(normalized) > maxSize) {\n    return normalizeToSize(object, depth - 1, maxSize);\n  }\n  return normalized;\n}\nfunction visit(key, value, depth = Infinity, maxProperties = Infinity, memo = memoBuilder()) {\n  const [memoize, unmemoize] = memo;\n  if (value == null || // this matches null and undefined -> eqeq not eqeqeq\n  [\"boolean\", \"string\"].includes(typeof value) || typeof value === \"number\" && Number.isFinite(value)) {\n    return value;\n  }\n  const stringified = stringifyValue(key, value);\n  if (!stringified.startsWith(\"[object \")) {\n    return stringified;\n  }\n  if (value[\"__sentry_skip_normalization__\"]) {\n    return value;\n  }\n  const remainingDepth = typeof value[\"__sentry_override_normalization_depth__\"] === \"number\" ? value[\"__sentry_override_normalization_depth__\"] : depth;\n  if (remainingDepth === 0) {\n    return stringified.replace(\"object \", \"\");\n  }\n  if (memoize(value)) {\n    return \"[Circular ~]\";\n  }\n  const valueWithToJSON = value;\n  if (valueWithToJSON && typeof valueWithToJSON.toJSON === \"function\") {\n    try {\n      const jsonValue = valueWithToJSON.toJSON();\n      return visit(\"\", jsonValue, remainingDepth - 1, maxProperties, memo);\n    } catch (err) {\n    }\n  }\n  const normalized = Array.isArray(value) ? [] : {};\n  let numAdded = 0;\n  const visitable = convertToPlainObject(value);\n  for (const visitKey in visitable) {\n    if (!Object.prototype.hasOwnProperty.call(visitable, visitKey)) {\n      continue;\n    }\n    if (numAdded >= maxProperties) {\n      normalized[visitKey] = \"[MaxProperties ~]\";\n      break;\n    }\n    const visitValue = visitable[visitKey];\n    normalized[visitKey] = visit(visitKey, visitValue, remainingDepth - 1, maxProperties, memo);\n    numAdded++;\n  }\n  unmemoize(value);\n  return normalized;\n}\nfunction stringifyValue(key, value) {\n  try {\n    if (key === \"domain\" && value && typeof value === \"object\" && value._events) {\n      return \"[Domain]\";\n    }\n    if (key === \"domainEmitter\") {\n      return \"[DomainEmitter]\";\n    }\n    if (typeof global !== \"undefined\" && value === global) {\n      return \"[Global]\";\n    }\n    if (typeof window !== \"undefined\" && value === window) {\n      return \"[Window]\";\n    }\n    if (typeof document !== \"undefined\" && value === document) {\n      return \"[Document]\";\n    }\n    if (isVueViewModel(value)) {\n      return \"[VueViewModel]\";\n    }\n    if (isSyntheticEvent(value)) {\n      return \"[SyntheticEvent]\";\n    }\n    if (typeof value === \"number\" && !Number.isFinite(value)) {\n      return `[${value}]`;\n    }\n    if (typeof value === \"function\") {\n      return `[Function: ${getFunctionName(value)}]`;\n    }\n    if (typeof value === \"symbol\") {\n      return `[${String(value)}]`;\n    }\n    if (typeof value === \"bigint\") {\n      return `[BigInt: ${String(value)}]`;\n    }\n    const objName = getConstructorName(value);\n    if (/^HTML(\\w*)Element$/.test(objName)) {\n      return `[HTMLElement: ${objName}]`;\n    }\n    return `[object ${objName}]`;\n  } catch (err) {\n    return `**non-serializable** (${err})`;\n  }\n}\nfunction getConstructorName(value) {\n  const prototype = Object.getPrototypeOf(value);\n  return (prototype == null ? void 0 : prototype.constructor) ? prototype.constructor.name : \"null prototype\";\n}\nfunction utf8Length(value) {\n  return ~-encodeURI(value).split(/%..|./).length;\n}\nfunction jsonSize(value) {\n  return utf8Length(JSON.stringify(value));\n}\nfunction memoBuilder() {\n  const inner = /* @__PURE__ */ new WeakSet();\n  function memoize(obj) {\n    if (inner.has(obj)) {\n      return true;\n    }\n    inner.add(obj);\n    return false;\n  }\n  function unmemoize(obj) {\n    inner.delete(obj);\n  }\n  return [memoize, unmemoize];\n}\nexport {\n  normalize,\n  normalizeToSize\n};\n","import { addExceptionMechanism, addExceptionTypeValue } from \"../../../../core/build/esm/utils-hoist/misc.js\";\nimport { resolvedSyncPromise } from \"../../../../core/build/esm/utils-hoist/syncpromise.js\";\nimport { isErrorEvent, isDOMError, isDOMException, isError, isPlainObject, isEvent, isParameterizedString } from \"../../../../core/build/esm/utils-hoist/is.js\";\nimport { getClient } from \"../../../../core/build/esm/currentScopes.js\";\nimport { normalizeToSize } from \"../../../../core/build/esm/utils-hoist/normalize.js\";\nimport { extractExceptionKeysForMessage } from \"../../../../core/build/esm/utils-hoist/object.js\";\nfunction exceptionFromError(stackParser, ex) {\n  const frames = parseStackFrames(stackParser, ex);\n  const exception = {\n    type: extractType(ex),\n    value: extractMessage(ex)\n  };\n  if (frames.length) {\n    exception.stacktrace = { frames };\n  }\n  if (exception.type === void 0 && exception.value === \"\") {\n    exception.value = \"Unrecoverable error caught\";\n  }\n  return exception;\n}\nfunction eventFromPlainObject(stackParser, exception, syntheticException, isUnhandledRejection) {\n  const client = getClient();\n  const normalizeDepth = client == null ? void 0 : client.getOptions().normalizeDepth;\n  const errorFromProp = getErrorPropertyFromObject(exception);\n  const extra = {\n    __serialized__: normalizeToSize(exception, normalizeDepth)\n  };\n  if (errorFromProp) {\n    return {\n      exception: {\n        values: [exceptionFromError(stackParser, errorFromProp)]\n      },\n      extra\n    };\n  }\n  const event = {\n    exception: {\n      values: [\n        {\n          type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? \"UnhandledRejection\" : \"Error\",\n          value: getNonErrorObjectExceptionValue(exception, { isUnhandledRejection })\n        }\n      ]\n    },\n    extra\n  };\n  if (syntheticException) {\n    const frames = parseStackFrames(stackParser, syntheticException);\n    if (frames.length) {\n      event.exception.values[0].stacktrace = { frames };\n    }\n  }\n  return event;\n}\nfunction eventFromError(stackParser, ex) {\n  return {\n    exception: {\n      values: [exceptionFromError(stackParser, ex)]\n    }\n  };\n}\nfunction parseStackFrames(stackParser, ex) {\n  const stacktrace = ex.stacktrace || ex.stack || \"\";\n  const skipLines = getSkipFirstStackStringLines(ex);\n  const framesToPop = getPopFirstTopFrames(ex);\n  try {\n    return stackParser(stacktrace, skipLines, framesToPop);\n  } catch (e) {\n  }\n  return [];\n}\nconst reactMinifiedRegexp = /Minified React error #\\d+;/i;\nfunction getSkipFirstStackStringLines(ex) {\n  if (ex && reactMinifiedRegexp.test(ex.message)) {\n    return 1;\n  }\n  return 0;\n}\nfunction getPopFirstTopFrames(ex) {\n  if (typeof ex.framesToPop === \"number\") {\n    return ex.framesToPop;\n  }\n  return 0;\n}\nfunction isWebAssemblyException(exception) {\n  if (typeof WebAssembly !== \"undefined\" && typeof WebAssembly.Exception !== \"undefined\") {\n    return exception instanceof WebAssembly.Exception;\n  } else {\n    return false;\n  }\n}\nfunction extractType(ex) {\n  const name = ex == null ? void 0 : ex.name;\n  if (!name && isWebAssemblyException(ex)) {\n    const hasTypeInMessage = ex.message && Array.isArray(ex.message) && ex.message.length == 2;\n    return hasTypeInMessage ? ex.message[0] : \"WebAssembly.Exception\";\n  }\n  return name;\n}\nfunction extractMessage(ex) {\n  const message = ex == null ? void 0 : ex.message;\n  if (isWebAssemblyException(ex)) {\n    if (Array.isArray(ex.message) && ex.message.length == 2) {\n      return ex.message[1];\n    }\n    return \"wasm exception\";\n  }\n  if (!message) {\n    return \"No error message\";\n  }\n  if (message.error && typeof message.error.message === \"string\") {\n    return message.error.message;\n  }\n  return message;\n}\nfunction eventFromException(stackParser, exception, hint, attachStacktrace) {\n  const syntheticException = (hint == null ? void 0 : hint.syntheticException) || void 0;\n  const event = eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace);\n  addExceptionMechanism(event);\n  event.level = \"error\";\n  if (hint == null ? void 0 : hint.event_id) {\n    event.event_id = hint.event_id;\n  }\n  return resolvedSyncPromise(event);\n}\nfunction eventFromMessage(stackParser, message, level = \"info\", hint, attachStacktrace) {\n  const syntheticException = (hint == null ? void 0 : hint.syntheticException) || void 0;\n  const event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n  event.level = level;\n  if (hint == null ? void 0 : hint.event_id) {\n    event.event_id = hint.event_id;\n  }\n  return resolvedSyncPromise(event);\n}\nfunction eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace, isUnhandledRejection) {\n  let event;\n  if (isErrorEvent(exception) && exception.error) {\n    const errorEvent = exception;\n    return eventFromError(stackParser, errorEvent.error);\n  }\n  if (isDOMError(exception) || isDOMException(exception)) {\n    const domException = exception;\n    if (\"stack\" in exception) {\n      event = eventFromError(stackParser, exception);\n    } else {\n      const name = domException.name || (isDOMError(domException) ? \"DOMError\" : \"DOMException\");\n      const message = domException.message ? `${name}: ${domException.message}` : name;\n      event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n      addExceptionTypeValue(event, message);\n    }\n    if (\"code\" in domException) {\n      event.tags = { ...event.tags, \"DOMException.code\": `${domException.code}` };\n    }\n    return event;\n  }\n  if (isError(exception)) {\n    return eventFromError(stackParser, exception);\n  }\n  if (isPlainObject(exception) || isEvent(exception)) {\n    const objectException = exception;\n    event = eventFromPlainObject(stackParser, objectException, syntheticException, isUnhandledRejection);\n    addExceptionMechanism(event, {\n      synthetic: true\n    });\n    return event;\n  }\n  event = eventFromString(stackParser, exception, syntheticException, attachStacktrace);\n  addExceptionTypeValue(event, `${exception}`, void 0);\n  addExceptionMechanism(event, {\n    synthetic: true\n  });\n  return event;\n}\nfunction eventFromString(stackParser, message, syntheticException, attachStacktrace) {\n  const event = {};\n  if (attachStacktrace && syntheticException) {\n    const frames = parseStackFrames(stackParser, syntheticException);\n    if (frames.length) {\n      event.exception = {\n        values: [{ value: message, stacktrace: { frames } }]\n      };\n    }\n    addExceptionMechanism(event, { synthetic: true });\n  }\n  if (isParameterizedString(message)) {\n    const { __sentry_template_string__, __sentry_template_values__ } = message;\n    event.logentry = {\n      message: __sentry_template_string__,\n      params: __sentry_template_values__\n    };\n    return event;\n  }\n  event.message = message;\n  return event;\n}\nfunction getNonErrorObjectExceptionValue(exception, { isUnhandledRejection }) {\n  const keys = extractExceptionKeysForMessage(exception);\n  const captureType = isUnhandledRejection ? \"promise rejection\" : \"exception\";\n  if (isErrorEvent(exception)) {\n    return `Event \\`ErrorEvent\\` captured as ${captureType} with message \\`${exception.message}\\``;\n  }\n  if (isEvent(exception)) {\n    const className = getObjectClassName(exception);\n    return `Event \\`${className}\\` (type=${exception.type}) captured as ${captureType}`;\n  }\n  return `Object captured as ${captureType} with keys: ${keys}`;\n}\nfunction getObjectClassName(obj) {\n  try {\n    const prototype = Object.getPrototypeOf(obj);\n    return prototype ? prototype.constructor.name : void 0;\n  } catch (e) {\n  }\n}\nfunction getErrorPropertyFromObject(obj) {\n  for (const prop in obj) {\n    if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n      const value = obj[prop];\n      if (value instanceof Error) {\n        return value;\n      }\n    }\n  }\n  return void 0;\n}\nexport {\n  eventFromException,\n  eventFromMessage,\n  eventFromUnknownInput,\n  exceptionFromError,\n  extractMessage,\n  extractType\n};\n","const DEFAULT_ENVIRONMENT = \"production\";\nexport {\n  DEFAULT_ENVIRONMENT\n};\n","import { DEBUG_BUILD } from \"./debug-build.js\";\nimport { isThenable } from \"./utils-hoist/is.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nimport { SyncPromise } from \"./utils-hoist/syncpromise.js\";\nfunction notifyEventProcessors(processors, event, hint, index = 0) {\n  return new SyncPromise((resolve, reject) => {\n    const processor = processors[index];\n    if (event === null || typeof processor !== \"function\") {\n      resolve(event);\n    } else {\n      const result = processor({ ...event }, hint);\n      DEBUG_BUILD && processor.id && result === null && logger.log(`Event processor \"${processor.id}\" dropped event`);\n      if (isThenable(result)) {\n        void result.then((final) => notifyEventProcessors(processors, final, hint, index + 1).then(resolve)).then(null, reject);\n      } else {\n        void notifyEventProcessors(processors, result, hint, index + 1).then(resolve).then(null, reject);\n      }\n    }\n  });\n}\nexport {\n  notifyEventProcessors\n};\n","import { GLOBAL_OBJ } from \"./worldwide.js\";\nlet parsedStackResults;\nlet lastKeysCount;\nlet cachedFilenameDebugIds;\nfunction getFilenameToDebugIdMap(stackParser) {\n  const debugIdMap = GLOBAL_OBJ._sentryDebugIds;\n  if (!debugIdMap) {\n    return {};\n  }\n  const debugIdKeys = Object.keys(debugIdMap);\n  if (cachedFilenameDebugIds && debugIdKeys.length === lastKeysCount) {\n    return cachedFilenameDebugIds;\n  }\n  lastKeysCount = debugIdKeys.length;\n  cachedFilenameDebugIds = debugIdKeys.reduce((acc, stackKey) => {\n    if (!parsedStackResults) {\n      parsedStackResults = {};\n    }\n    const result = parsedStackResults[stackKey];\n    if (result) {\n      acc[result[0]] = result[1];\n    } else {\n      const parsedStack = stackParser(stackKey);\n      for (let i = parsedStack.length - 1; i >= 0; i--) {\n        const stackFrame = parsedStack[i];\n        const filename = stackFrame == null ? void 0 : stackFrame.filename;\n        const debugId = debugIdMap[stackKey];\n        if (filename && debugId) {\n          acc[filename] = debugId;\n          parsedStackResults[stackKey] = [filename, debugId];\n          break;\n        }\n      }\n    }\n    return acc;\n  }, {});\n  return cachedFilenameDebugIds;\n}\nexport {\n  getFilenameToDebugIdMap\n};\n","const SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = \"sentry.source\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = \"sentry.sample_rate\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE = \"sentry.previous_trace_sample_rate\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_OP = \"sentry.op\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = \"sentry.origin\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON = \"sentry.idle_span_finish_reason\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT = \"sentry.measurement_unit\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE = \"sentry.measurement_value\";\nconst SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME = \"sentry.custom_span_name\";\nconst SEMANTIC_ATTRIBUTE_PROFILE_ID = \"sentry.profile_id\";\nconst SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME = \"sentry.exclusive_time\";\nconst SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE = \"sentry.link.type\";\nexport {\n  SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME,\n  SEMANTIC_ATTRIBUTE_PROFILE_ID,\n  SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME,\n  SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,\n  SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT,\n  SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE,\n  SEMANTIC_ATTRIBUTE_SENTRY_OP,\n  SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,\n  SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE,\n  SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,\n  SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,\n  SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE\n};\n","import { getClient } from \"../currentScopes.js\";\nfunction hasSpansEnabled(maybeOptions) {\n  var _a;\n  if (typeof __SENTRY_TRACING__ === \"boolean\" && !__SENTRY_TRACING__) {\n    return false;\n  }\n  const options = maybeOptions || ((_a = getClient()) == null ? void 0 : _a.getOptions());\n  return !!options && // Note: This check is `!= null`, meaning \"nullish\". `0` is not \"nullish\", `undefined` and `null` are. (This comment was brought to you by 15 minutes of questioning life)\n  (options.tracesSampleRate != null || !!options.tracesSampler);\n}\nexport {\n  hasSpansEnabled\n};\n","const SPAN_STATUS_UNSET = 0;\nconst SPAN_STATUS_OK = 1;\nconst SPAN_STATUS_ERROR = 2;\nfunction getSpanStatusFromHttpCode(httpStatus) {\n  if (httpStatus < 400 && httpStatus >= 100) {\n    return { code: SPAN_STATUS_OK };\n  }\n  if (httpStatus >= 400 && httpStatus < 500) {\n    switch (httpStatus) {\n      case 401:\n        return { code: SPAN_STATUS_ERROR, message: \"unauthenticated\" };\n      case 403:\n        return { code: SPAN_STATUS_ERROR, message: \"permission_denied\" };\n      case 404:\n        return { code: SPAN_STATUS_ERROR, message: \"not_found\" };\n      case 409:\n        return { code: SPAN_STATUS_ERROR, message: \"already_exists\" };\n      case 413:\n        return { code: SPAN_STATUS_ERROR, message: \"failed_precondition\" };\n      case 429:\n        return { code: SPAN_STATUS_ERROR, message: \"resource_exhausted\" };\n      case 499:\n        return { code: SPAN_STATUS_ERROR, message: \"cancelled\" };\n      default:\n        return { code: SPAN_STATUS_ERROR, message: \"invalid_argument\" };\n    }\n  }\n  if (httpStatus >= 500 && httpStatus < 600) {\n    switch (httpStatus) {\n      case 501:\n        return { code: SPAN_STATUS_ERROR, message: \"unimplemented\" };\n      case 503:\n        return { code: SPAN_STATUS_ERROR, message: \"unavailable\" };\n      case 504:\n        return { code: SPAN_STATUS_ERROR, message: \"deadline_exceeded\" };\n      default:\n        return { code: SPAN_STATUS_ERROR, message: \"internal_error\" };\n    }\n  }\n  return { code: SPAN_STATUS_ERROR, message: \"unknown_error\" };\n}\nfunction setHttpStatus(span, httpStatus) {\n  span.setAttribute(\"http.response.status_code\", httpStatus);\n  const spanStatus = getSpanStatusFromHttpCode(httpStatus);\n  if (spanStatus.message !== \"unknown_error\") {\n    span.setStatus(spanStatus);\n  }\n}\nexport {\n  SPAN_STATUS_ERROR,\n  SPAN_STATUS_OK,\n  SPAN_STATUS_UNSET,\n  getSpanStatusFromHttpCode,\n  setHttpStatus\n};\n","import { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nconst SCOPE_ON_START_SPAN_FIELD = \"_sentryScope\";\nconst ISOLATION_SCOPE_ON_START_SPAN_FIELD = \"_sentryIsolationScope\";\nfunction setCapturedScopesOnSpan(span, scope, isolationScope) {\n  if (span) {\n    addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, isolationScope);\n    addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);\n  }\n}\nfunction getCapturedScopesOnSpan(span) {\n  return {\n    scope: span[SCOPE_ON_START_SPAN_FIELD],\n    isolationScope: span[ISOLATION_SCOPE_ON_START_SPAN_FIELD]\n  };\n}\nexport {\n  getCapturedScopesOnSpan,\n  setCapturedScopesOnSpan\n};\n","function parseSampleRate(sampleRate) {\n  if (typeof sampleRate === \"boolean\") {\n    return Number(sampleRate);\n  }\n  const rate = typeof sampleRate === \"string\" ? parseFloat(sampleRate) : sampleRate;\n  if (typeof rate !== \"number\" || isNaN(rate) || rate < 0 || rate > 1) {\n    return void 0;\n  }\n  return rate;\n}\nexport {\n  parseSampleRate\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { isString } from \"./is.js\";\nimport { logger } from \"./logger.js\";\nconst SENTRY_BAGGAGE_KEY_PREFIX = \"sentry-\";\nconst SENTRY_BAGGAGE_KEY_PREFIX_REGEX = /^sentry-/;\nconst MAX_BAGGAGE_STRING_LENGTH = 8192;\nfunction baggageHeaderToDynamicSamplingContext(baggageHeader) {\n  const baggageObject = parseBaggageHeader(baggageHeader);\n  if (!baggageObject) {\n    return void 0;\n  }\n  const dynamicSamplingContext = Object.entries(baggageObject).reduce((acc, [key, value]) => {\n    if (key.match(SENTRY_BAGGAGE_KEY_PREFIX_REGEX)) {\n      const nonPrefixedKey = key.slice(SENTRY_BAGGAGE_KEY_PREFIX.length);\n      acc[nonPrefixedKey] = value;\n    }\n    return acc;\n  }, {});\n  if (Object.keys(dynamicSamplingContext).length > 0) {\n    return dynamicSamplingContext;\n  } else {\n    return void 0;\n  }\n}\nfunction dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext) {\n  if (!dynamicSamplingContext) {\n    return void 0;\n  }\n  const sentryPrefixedDSC = Object.entries(dynamicSamplingContext).reduce(\n    (acc, [dscKey, dscValue]) => {\n      if (dscValue) {\n        acc[`${SENTRY_BAGGAGE_KEY_PREFIX}${dscKey}`] = dscValue;\n      }\n      return acc;\n    },\n    {}\n  );\n  return objectToBaggageHeader(sentryPrefixedDSC);\n}\nfunction parseBaggageHeader(baggageHeader) {\n  if (!baggageHeader || !isString(baggageHeader) && !Array.isArray(baggageHeader)) {\n    return void 0;\n  }\n  if (Array.isArray(baggageHeader)) {\n    return baggageHeader.reduce((acc, curr) => {\n      const currBaggageObject = baggageHeaderToObject(curr);\n      Object.entries(currBaggageObject).forEach(([key, value]) => {\n        acc[key] = value;\n      });\n      return acc;\n    }, {});\n  }\n  return baggageHeaderToObject(baggageHeader);\n}\nfunction baggageHeaderToObject(baggageHeader) {\n  return baggageHeader.split(\",\").map(\n    (baggageEntry) => baggageEntry.split(\"=\").map((keyOrValue) => {\n      try {\n        return decodeURIComponent(keyOrValue.trim());\n      } catch {\n        return;\n      }\n    })\n  ).reduce((acc, [key, value]) => {\n    if (key && value) {\n      acc[key] = value;\n    }\n    return acc;\n  }, {});\n}\nfunction objectToBaggageHeader(object) {\n  if (Object.keys(object).length === 0) {\n    return void 0;\n  }\n  return Object.entries(object).reduce((baggageHeader, [objectKey, objectValue], currentIndex) => {\n    const baggageEntry = `${encodeURIComponent(objectKey)}=${encodeURIComponent(objectValue)}`;\n    const newBaggageHeader = currentIndex === 0 ? baggageEntry : `${baggageHeader},${baggageEntry}`;\n    if (newBaggageHeader.length > MAX_BAGGAGE_STRING_LENGTH) {\n      DEBUG_BUILD && logger.warn(\n        `Not adding key: ${objectKey} with val: ${objectValue} to baggage header due to exceeding baggage size limits.`\n      );\n      return baggageHeader;\n    } else {\n      return newBaggageHeader;\n    }\n  }, \"\");\n}\nexport {\n  MAX_BAGGAGE_STRING_LENGTH,\n  SENTRY_BAGGAGE_KEY_PREFIX,\n  SENTRY_BAGGAGE_KEY_PREFIX_REGEX,\n  baggageHeaderToDynamicSamplingContext,\n  dynamicSamplingContextToSentryBaggageHeader,\n  objectToBaggageHeader,\n  parseBaggageHeader\n};\n","import { parseSampleRate } from \"../utils/parseSampleRate.js\";\nimport { baggageHeaderToDynamicSamplingContext } from \"./baggage.js\";\nimport { generateTraceId, generateSpanId } from \"./propagationContext.js\";\nconst TRACEPARENT_REGEXP = new RegExp(\n  \"^[ \\\\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\\\t]*$\"\n  // whitespace\n);\nfunction extractTraceparentData(traceparent) {\n  if (!traceparent) {\n    return void 0;\n  }\n  const matches = traceparent.match(TRACEPARENT_REGEXP);\n  if (!matches) {\n    return void 0;\n  }\n  let parentSampled;\n  if (matches[3] === \"1\") {\n    parentSampled = true;\n  } else if (matches[3] === \"0\") {\n    parentSampled = false;\n  }\n  return {\n    traceId: matches[1],\n    parentSampled,\n    parentSpanId: matches[2]\n  };\n}\nfunction propagationContextFromHeaders(sentryTrace, baggage) {\n  const traceparentData = extractTraceparentData(sentryTrace);\n  const dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n  if (!(traceparentData == null ? void 0 : traceparentData.traceId)) {\n    return {\n      traceId: generateTraceId(),\n      sampleRand: Math.random()\n    };\n  }\n  const sampleRand = getSampleRandFromTraceparentAndDsc(traceparentData, dynamicSamplingContext);\n  if (dynamicSamplingContext) {\n    dynamicSamplingContext.sample_rand = sampleRand.toString();\n  }\n  const { traceId, parentSpanId, parentSampled } = traceparentData;\n  return {\n    traceId,\n    parentSpanId,\n    sampled: parentSampled,\n    dsc: dynamicSamplingContext || {},\n    // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n    sampleRand\n  };\n}\nfunction generateSentryTraceHeader(traceId = generateTraceId(), spanId = generateSpanId(), sampled) {\n  let sampledString = \"\";\n  if (sampled !== void 0) {\n    sampledString = sampled ? \"-1\" : \"-0\";\n  }\n  return `${traceId}-${spanId}${sampledString}`;\n}\nfunction getSampleRandFromTraceparentAndDsc(traceparentData, dsc) {\n  const parsedSampleRand = parseSampleRate(dsc == null ? void 0 : dsc.sample_rand);\n  if (parsedSampleRand !== void 0) {\n    return parsedSampleRand;\n  }\n  const parsedSampleRate = parseSampleRate(dsc == null ? void 0 : dsc.sample_rate);\n  if (parsedSampleRate && (traceparentData == null ? void 0 : traceparentData.parentSampled) !== void 0) {\n    return traceparentData.parentSampled ? (\n      // Returns a sample rand with positive sampling decision [0, sampleRate)\n      Math.random() * parsedSampleRate\n    ) : (\n      // Returns a sample rand with negative sampling decision [sampleRate, 1)\n      parsedSampleRate + Math.random() * (1 - parsedSampleRate)\n    );\n  } else {\n    return Math.random();\n  }\n}\nexport {\n  TRACEPARENT_REGEXP,\n  extractTraceparentData,\n  generateSentryTraceHeader,\n  propagationContextFromHeaders\n};\n","import { getAsyncContextStrategy } from \"../asyncContext/index.js\";\nimport { getMainCarrier } from \"../carrier.js\";\nimport { getCurrentScope } from \"../currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from \"../semanticAttributes.js\";\nimport { SPAN_STATUS_UNSET, SPAN_STATUS_OK } from \"../tracing/spanstatus.js\";\nimport { getCapturedScopesOnSpan } from \"../tracing/utils.js\";\nimport { consoleSandbox } from \"../utils-hoist/logger.js\";\nimport { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nimport { generateSpanId } from \"../utils-hoist/propagationContext.js\";\nimport { timestampInSeconds } from \"../utils-hoist/time.js\";\nimport { generateSentryTraceHeader } from \"../utils-hoist/tracing.js\";\nimport { _getSpanForScope } from \"./spanOnScope.js\";\nconst TRACE_FLAG_NONE = 0;\nconst TRACE_FLAG_SAMPLED = 1;\nlet hasShownSpanDropWarning = false;\nfunction spanToTransactionTraceContext(span) {\n  const { spanId: span_id, traceId: trace_id } = span.spanContext();\n  const { data, op, parent_span_id, status, origin, links } = spanToJSON(span);\n  return {\n    parent_span_id,\n    span_id,\n    trace_id,\n    data,\n    op,\n    status,\n    origin,\n    links\n  };\n}\nfunction spanToTraceContext(span) {\n  const { spanId, traceId: trace_id, isRemote } = span.spanContext();\n  const parent_span_id = isRemote ? spanId : spanToJSON(span).parent_span_id;\n  const scope = getCapturedScopesOnSpan(span).scope;\n  const span_id = isRemote ? (scope == null ? void 0 : scope.getPropagationContext().propagationSpanId) || generateSpanId() : spanId;\n  return {\n    parent_span_id,\n    span_id,\n    trace_id\n  };\n}\nfunction spanToTraceHeader(span) {\n  const { traceId, spanId } = span.spanContext();\n  const sampled = spanIsSampled(span);\n  return generateSentryTraceHeader(traceId, spanId, sampled);\n}\nfunction convertSpanLinksForEnvelope(links) {\n  if (links && links.length > 0) {\n    return links.map(({ context: { spanId, traceId, traceFlags, ...restContext }, attributes }) => ({\n      span_id: spanId,\n      trace_id: traceId,\n      sampled: traceFlags === TRACE_FLAG_SAMPLED,\n      attributes,\n      ...restContext\n    }));\n  } else {\n    return void 0;\n  }\n}\nfunction spanTimeInputToSeconds(input) {\n  if (typeof input === \"number\") {\n    return ensureTimestampInSeconds(input);\n  }\n  if (Array.isArray(input)) {\n    return input[0] + input[1] / 1e9;\n  }\n  if (input instanceof Date) {\n    return ensureTimestampInSeconds(input.getTime());\n  }\n  return timestampInSeconds();\n}\nfunction ensureTimestampInSeconds(timestamp) {\n  const isMs = timestamp > 9999999999;\n  return isMs ? timestamp / 1e3 : timestamp;\n}\nfunction spanToJSON(span) {\n  var _a;\n  if (spanIsSentrySpan(span)) {\n    return span.getSpanJSON();\n  }\n  const { spanId: span_id, traceId: trace_id } = span.spanContext();\n  if (spanIsOpenTelemetrySdkTraceBaseSpan(span)) {\n    const { attributes, startTime, name, endTime, status, links } = span;\n    const parentSpanId = \"parentSpanId\" in span ? span.parentSpanId : \"parentSpanContext\" in span ? (_a = span.parentSpanContext) == null ? void 0 : _a.spanId : void 0;\n    return {\n      span_id,\n      trace_id,\n      data: attributes,\n      description: name,\n      parent_span_id: parentSpanId,\n      start_timestamp: spanTimeInputToSeconds(startTime),\n      // This is [0,0] by default in OTEL, in which case we want to interpret this as no end time\n      timestamp: spanTimeInputToSeconds(endTime) || void 0,\n      status: getStatusMessage(status),\n      op: attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP],\n      origin: attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],\n      links: convertSpanLinksForEnvelope(links)\n    };\n  }\n  return {\n    span_id,\n    trace_id,\n    start_timestamp: 0,\n    data: {}\n  };\n}\nfunction spanIsOpenTelemetrySdkTraceBaseSpan(span) {\n  const castSpan = span;\n  return !!castSpan.attributes && !!castSpan.startTime && !!castSpan.name && !!castSpan.endTime && !!castSpan.status;\n}\nfunction spanIsSentrySpan(span) {\n  return typeof span.getSpanJSON === \"function\";\n}\nfunction spanIsSampled(span) {\n  const { traceFlags } = span.spanContext();\n  return traceFlags === TRACE_FLAG_SAMPLED;\n}\nfunction getStatusMessage(status) {\n  if (!status || status.code === SPAN_STATUS_UNSET) {\n    return void 0;\n  }\n  if (status.code === SPAN_STATUS_OK) {\n    return \"ok\";\n  }\n  return status.message || \"unknown_error\";\n}\nconst CHILD_SPANS_FIELD = \"_sentryChildSpans\";\nconst ROOT_SPAN_FIELD = \"_sentryRootSpan\";\nfunction addChildSpanToSpan(span, childSpan) {\n  const rootSpan = span[ROOT_SPAN_FIELD] || span;\n  addNonEnumerableProperty(childSpan, ROOT_SPAN_FIELD, rootSpan);\n  if (span[CHILD_SPANS_FIELD]) {\n    span[CHILD_SPANS_FIELD].add(childSpan);\n  } else {\n    addNonEnumerableProperty(span, CHILD_SPANS_FIELD, /* @__PURE__ */ new Set([childSpan]));\n  }\n}\nfunction removeChildSpanFromSpan(span, childSpan) {\n  if (span[CHILD_SPANS_FIELD]) {\n    span[CHILD_SPANS_FIELD].delete(childSpan);\n  }\n}\nfunction getSpanDescendants(span) {\n  const resultSet = /* @__PURE__ */ new Set();\n  function addSpanChildren(span2) {\n    if (resultSet.has(span2)) {\n      return;\n    } else if (spanIsSampled(span2)) {\n      resultSet.add(span2);\n      const childSpans = span2[CHILD_SPANS_FIELD] ? Array.from(span2[CHILD_SPANS_FIELD]) : [];\n      for (const childSpan of childSpans) {\n        addSpanChildren(childSpan);\n      }\n    }\n  }\n  addSpanChildren(span);\n  return Array.from(resultSet);\n}\nfunction getRootSpan(span) {\n  return span[ROOT_SPAN_FIELD] || span;\n}\nfunction getActiveSpan() {\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  if (acs.getActiveSpan) {\n    return acs.getActiveSpan();\n  }\n  return _getSpanForScope(getCurrentScope());\n}\nfunction showSpanDropWarning() {\n  if (!hasShownSpanDropWarning) {\n    consoleSandbox(() => {\n      console.warn(\n        \"[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.\"\n      );\n    });\n    hasShownSpanDropWarning = true;\n  }\n}\nexport {\n  TRACE_FLAG_NONE,\n  TRACE_FLAG_SAMPLED,\n  addChildSpanToSpan,\n  convertSpanLinksForEnvelope,\n  getActiveSpan,\n  getRootSpan,\n  getSpanDescendants,\n  getStatusMessage,\n  removeChildSpanFromSpan,\n  showSpanDropWarning,\n  spanIsSampled,\n  spanTimeInputToSeconds,\n  spanToJSON,\n  spanToTraceContext,\n  spanToTraceHeader,\n  spanToTransactionTraceContext\n};\n","import { DEFAULT_ENVIRONMENT } from \"../constants.js\";\nimport { getClient } from \"../currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from \"../semanticAttributes.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { getRootSpan, spanToJSON, spanIsSampled } from \"../utils/spanUtils.js\";\nimport { baggageHeaderToDynamicSamplingContext } from \"../utils-hoist/baggage.js\";\nimport { addNonEnumerableProperty } from \"../utils-hoist/object.js\";\nimport { getCapturedScopesOnSpan } from \"./utils.js\";\nconst FROZEN_DSC_FIELD = \"_frozenDsc\";\nfunction freezeDscOnSpan(span, dsc) {\n  const spanWithMaybeDsc = span;\n  addNonEnumerableProperty(spanWithMaybeDsc, FROZEN_DSC_FIELD, dsc);\n}\nfunction getDynamicSamplingContextFromClient(trace_id, client) {\n  const options = client.getOptions();\n  const { publicKey: public_key } = client.getDsn() || {};\n  const dsc = {\n    environment: options.environment || DEFAULT_ENVIRONMENT,\n    release: options.release,\n    public_key,\n    trace_id\n  };\n  client.emit(\"createDsc\", dsc);\n  return dsc;\n}\nfunction getDynamicSamplingContextFromScope(client, scope) {\n  const propagationContext = scope.getPropagationContext();\n  return propagationContext.dsc || getDynamicSamplingContextFromClient(propagationContext.traceId, client);\n}\nfunction getDynamicSamplingContextFromSpan(span) {\n  var _a;\n  const client = getClient();\n  if (!client) {\n    return {};\n  }\n  const rootSpan = getRootSpan(span);\n  const rootSpanJson = spanToJSON(rootSpan);\n  const rootSpanAttributes = rootSpanJson.data;\n  const traceState = rootSpan.spanContext().traceState;\n  const rootSpanSampleRate = (traceState == null ? void 0 : traceState.get(\"sentry.sample_rate\")) ?? rootSpanAttributes[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE] ?? rootSpanAttributes[SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];\n  function applyLocalSampleRateToDsc(dsc2) {\n    if (typeof rootSpanSampleRate === \"number\" || typeof rootSpanSampleRate === \"string\") {\n      dsc2.sample_rate = `${rootSpanSampleRate}`;\n    }\n    return dsc2;\n  }\n  const frozenDsc = rootSpan[FROZEN_DSC_FIELD];\n  if (frozenDsc) {\n    return applyLocalSampleRateToDsc(frozenDsc);\n  }\n  const traceStateDsc = traceState == null ? void 0 : traceState.get(\"sentry.dsc\");\n  const dscOnTraceState = traceStateDsc && baggageHeaderToDynamicSamplingContext(traceStateDsc);\n  if (dscOnTraceState) {\n    return applyLocalSampleRateToDsc(dscOnTraceState);\n  }\n  const dsc = getDynamicSamplingContextFromClient(span.spanContext().traceId, client);\n  const source = rootSpanAttributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n  const name = rootSpanJson.description;\n  if (source !== \"url\" && name) {\n    dsc.transaction = name;\n  }\n  if (hasSpansEnabled()) {\n    dsc.sampled = String(spanIsSampled(rootSpan));\n    dsc.sample_rand = // In OTEL we store the sample rand on the trace state because we cannot access scopes for NonRecordingSpans\n    // The Sentry OTEL SpanSampler takes care of writing the sample rand on the root span\n    (traceState == null ? void 0 : traceState.get(\"sentry.sample_rand\")) ?? // On all other platforms we can actually get the scopes from a root span (we use this as a fallback)\n    ((_a = getCapturedScopesOnSpan(rootSpan).scope) == null ? void 0 : _a.getPropagationContext().sampleRand.toString());\n  }\n  applyLocalSampleRateToDsc(dsc);\n  client.emit(\"createDsc\", dsc, rootSpan);\n  return dsc;\n}\nexport {\n  freezeDscOnSpan,\n  getDynamicSamplingContextFromClient,\n  getDynamicSamplingContextFromScope,\n  getDynamicSamplingContextFromSpan\n};\n","import { getDynamicSamplingContextFromSpan } from \"../tracing/dynamicSamplingContext.js\";\nimport { merge } from \"./merge.js\";\nimport { spanToTraceContext, getRootSpan, spanToJSON } from \"./spanUtils.js\";\nfunction applyScopeDataToEvent(event, data) {\n  const { fingerprint, span, breadcrumbs, sdkProcessingMetadata } = data;\n  applyDataToEvent(event, data);\n  if (span) {\n    applySpanToEvent(event, span);\n  }\n  applyFingerprintToEvent(event, fingerprint);\n  applyBreadcrumbsToEvent(event, breadcrumbs);\n  applySdkMetadataToEvent(event, sdkProcessingMetadata);\n}\nfunction mergeScopeData(data, mergeData) {\n  const {\n    extra,\n    tags,\n    user,\n    contexts,\n    level,\n    sdkProcessingMetadata,\n    breadcrumbs,\n    fingerprint,\n    eventProcessors,\n    attachments,\n    propagationContext,\n    transactionName,\n    span\n  } = mergeData;\n  mergeAndOverwriteScopeData(data, \"extra\", extra);\n  mergeAndOverwriteScopeData(data, \"tags\", tags);\n  mergeAndOverwriteScopeData(data, \"user\", user);\n  mergeAndOverwriteScopeData(data, \"contexts\", contexts);\n  data.sdkProcessingMetadata = merge(data.sdkProcessingMetadata, sdkProcessingMetadata, 2);\n  if (level) {\n    data.level = level;\n  }\n  if (transactionName) {\n    data.transactionName = transactionName;\n  }\n  if (span) {\n    data.span = span;\n  }\n  if (breadcrumbs.length) {\n    data.breadcrumbs = [...data.breadcrumbs, ...breadcrumbs];\n  }\n  if (fingerprint.length) {\n    data.fingerprint = [...data.fingerprint, ...fingerprint];\n  }\n  if (eventProcessors.length) {\n    data.eventProcessors = [...data.eventProcessors, ...eventProcessors];\n  }\n  if (attachments.length) {\n    data.attachments = [...data.attachments, ...attachments];\n  }\n  data.propagationContext = { ...data.propagationContext, ...propagationContext };\n}\nfunction mergeAndOverwriteScopeData(data, prop, mergeVal) {\n  data[prop] = merge(data[prop], mergeVal, 1);\n}\nfunction applyDataToEvent(event, data) {\n  const { extra, tags, user, contexts, level, transactionName } = data;\n  if (Object.keys(extra).length) {\n    event.extra = { ...extra, ...event.extra };\n  }\n  if (Object.keys(tags).length) {\n    event.tags = { ...tags, ...event.tags };\n  }\n  if (Object.keys(user).length) {\n    event.user = { ...user, ...event.user };\n  }\n  if (Object.keys(contexts).length) {\n    event.contexts = { ...contexts, ...event.contexts };\n  }\n  if (level) {\n    event.level = level;\n  }\n  if (transactionName && event.type !== \"transaction\") {\n    event.transaction = transactionName;\n  }\n}\nfunction applyBreadcrumbsToEvent(event, breadcrumbs) {\n  const mergedBreadcrumbs = [...event.breadcrumbs || [], ...breadcrumbs];\n  event.breadcrumbs = mergedBreadcrumbs.length ? mergedBreadcrumbs : void 0;\n}\nfunction applySdkMetadataToEvent(event, sdkProcessingMetadata) {\n  event.sdkProcessingMetadata = {\n    ...event.sdkProcessingMetadata,\n    ...sdkProcessingMetadata\n  };\n}\nfunction applySpanToEvent(event, span) {\n  event.contexts = {\n    trace: spanToTraceContext(span),\n    ...event.contexts\n  };\n  event.sdkProcessingMetadata = {\n    dynamicSamplingContext: getDynamicSamplingContextFromSpan(span),\n    ...event.sdkProcessingMetadata\n  };\n  const rootSpan = getRootSpan(span);\n  const transactionName = spanToJSON(rootSpan).description;\n  if (transactionName && !event.transaction && event.type === \"transaction\") {\n    event.transaction = transactionName;\n  }\n}\nfunction applyFingerprintToEvent(event, fingerprint) {\n  event.fingerprint = event.fingerprint ? Array.isArray(event.fingerprint) ? event.fingerprint : [event.fingerprint] : [];\n  if (fingerprint) {\n    event.fingerprint = event.fingerprint.concat(fingerprint);\n  }\n  if (!event.fingerprint.length) {\n    delete event.fingerprint;\n  }\n}\nexport {\n  applyScopeDataToEvent,\n  mergeAndOverwriteScopeData,\n  mergeScopeData\n};\n","import { DEFAULT_ENVIRONMENT } from \"../constants.js\";\nimport { getGlobalScope } from \"../currentScopes.js\";\nimport { notifyEventProcessors } from \"../eventProcessors.js\";\nimport { Scope } from \"../scope.js\";\nimport { getFilenameToDebugIdMap } from \"../utils-hoist/debug-ids.js\";\nimport { uuid4, addExceptionMechanism } from \"../utils-hoist/misc.js\";\nimport { normalize } from \"../utils-hoist/normalize.js\";\nimport { truncate } from \"../utils-hoist/string.js\";\nimport { dateTimestampInSeconds } from \"../utils-hoist/time.js\";\nimport { mergeScopeData, applyScopeDataToEvent } from \"./applyScopeDataToEvent.js\";\nfunction prepareEvent(options, event, hint, scope, client, isolationScope) {\n  const { normalizeDepth = 3, normalizeMaxBreadth = 1e3 } = options;\n  const prepared = {\n    ...event,\n    event_id: event.event_id || hint.event_id || uuid4(),\n    timestamp: event.timestamp || dateTimestampInSeconds()\n  };\n  const integrations = hint.integrations || options.integrations.map((i) => i.name);\n  applyClientOptions(prepared, options);\n  applyIntegrationsMetadata(prepared, integrations);\n  if (client) {\n    client.emit(\"applyFrameMetadata\", event);\n  }\n  if (event.type === void 0) {\n    applyDebugIds(prepared, options.stackParser);\n  }\n  const finalScope = getFinalScope(scope, hint.captureContext);\n  if (hint.mechanism) {\n    addExceptionMechanism(prepared, hint.mechanism);\n  }\n  const clientEventProcessors = client ? client.getEventProcessors() : [];\n  const data = getGlobalScope().getScopeData();\n  if (isolationScope) {\n    const isolationData = isolationScope.getScopeData();\n    mergeScopeData(data, isolationData);\n  }\n  if (finalScope) {\n    const finalScopeData = finalScope.getScopeData();\n    mergeScopeData(data, finalScopeData);\n  }\n  const attachments = [...hint.attachments || [], ...data.attachments];\n  if (attachments.length) {\n    hint.attachments = attachments;\n  }\n  applyScopeDataToEvent(prepared, data);\n  const eventProcessors = [\n    ...clientEventProcessors,\n    // Run scope event processors _after_ all other processors\n    ...data.eventProcessors\n  ];\n  const result = notifyEventProcessors(eventProcessors, prepared, hint);\n  return result.then((evt) => {\n    if (evt) {\n      applyDebugMeta(evt);\n    }\n    if (typeof normalizeDepth === \"number\" && normalizeDepth > 0) {\n      return normalizeEvent(evt, normalizeDepth, normalizeMaxBreadth);\n    }\n    return evt;\n  });\n}\nfunction applyClientOptions(event, options) {\n  const { environment, release, dist, maxValueLength = 250 } = options;\n  event.environment = event.environment || environment || DEFAULT_ENVIRONMENT;\n  if (!event.release && release) {\n    event.release = release;\n  }\n  if (!event.dist && dist) {\n    event.dist = dist;\n  }\n  const request = event.request;\n  if (request == null ? void 0 : request.url) {\n    request.url = truncate(request.url, maxValueLength);\n  }\n}\nfunction applyDebugIds(event, stackParser) {\n  var _a, _b;\n  const filenameDebugIdMap = getFilenameToDebugIdMap(stackParser);\n  (_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b.forEach((exception) => {\n    var _a2, _b2;\n    (_b2 = (_a2 = exception.stacktrace) == null ? void 0 : _a2.frames) == null ? void 0 : _b2.forEach((frame) => {\n      if (frame.filename) {\n        frame.debug_id = filenameDebugIdMap[frame.filename];\n      }\n    });\n  });\n}\nfunction applyDebugMeta(event) {\n  var _a, _b;\n  const filenameDebugIdMap = {};\n  (_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b.forEach((exception) => {\n    var _a2, _b2;\n    (_b2 = (_a2 = exception.stacktrace) == null ? void 0 : _a2.frames) == null ? void 0 : _b2.forEach((frame) => {\n      if (frame.debug_id) {\n        if (frame.abs_path) {\n          filenameDebugIdMap[frame.abs_path] = frame.debug_id;\n        } else if (frame.filename) {\n          filenameDebugIdMap[frame.filename] = frame.debug_id;\n        }\n        delete frame.debug_id;\n      }\n    });\n  });\n  if (Object.keys(filenameDebugIdMap).length === 0) {\n    return;\n  }\n  event.debug_meta = event.debug_meta || {};\n  event.debug_meta.images = event.debug_meta.images || [];\n  const images = event.debug_meta.images;\n  Object.entries(filenameDebugIdMap).forEach(([filename, debug_id]) => {\n    images.push({\n      type: \"sourcemap\",\n      code_file: filename,\n      debug_id\n    });\n  });\n}\nfunction applyIntegrationsMetadata(event, integrationNames) {\n  if (integrationNames.length > 0) {\n    event.sdk = event.sdk || {};\n    event.sdk.integrations = [...event.sdk.integrations || [], ...integrationNames];\n  }\n}\nfunction normalizeEvent(event, depth, maxBreadth) {\n  var _a, _b;\n  if (!event) {\n    return null;\n  }\n  const normalized = {\n    ...event,\n    ...event.breadcrumbs && {\n      breadcrumbs: event.breadcrumbs.map((b) => ({\n        ...b,\n        ...b.data && {\n          data: normalize(b.data, depth, maxBreadth)\n        }\n      }))\n    },\n    ...event.user && {\n      user: normalize(event.user, depth, maxBreadth)\n    },\n    ...event.contexts && {\n      contexts: normalize(event.contexts, depth, maxBreadth)\n    },\n    ...event.extra && {\n      extra: normalize(event.extra, depth, maxBreadth)\n    }\n  };\n  if (((_a = event.contexts) == null ? void 0 : _a.trace) && normalized.contexts) {\n    normalized.contexts.trace = event.contexts.trace;\n    if (event.contexts.trace.data) {\n      normalized.contexts.trace.data = normalize(event.contexts.trace.data, depth, maxBreadth);\n    }\n  }\n  if (event.spans) {\n    normalized.spans = event.spans.map((span) => {\n      return {\n        ...span,\n        ...span.data && {\n          data: normalize(span.data, depth, maxBreadth)\n        }\n      };\n    });\n  }\n  if (((_b = event.contexts) == null ? void 0 : _b.flags) && normalized.contexts) {\n    normalized.contexts.flags = normalize(event.contexts.flags, 3, maxBreadth);\n  }\n  return normalized;\n}\nfunction getFinalScope(scope, captureContext) {\n  if (!captureContext) {\n    return scope;\n  }\n  const finalScope = scope ? scope.clone() : new Scope();\n  finalScope.update(captureContext);\n  return finalScope;\n}\nfunction parseEventHintOrCaptureContext(hint) {\n  if (!hint) {\n    return void 0;\n  }\n  if (hintIsScopeOrFunction(hint)) {\n    return { captureContext: hint };\n  }\n  if (hintIsScopeContext(hint)) {\n    return {\n      captureContext: hint\n    };\n  }\n  return hint;\n}\nfunction hintIsScopeOrFunction(hint) {\n  return hint instanceof Scope || typeof hint === \"function\";\n}\nconst captureContextKeys = [\n  \"user\",\n  \"level\",\n  \"extra\",\n  \"contexts\",\n  \"tags\",\n  \"fingerprint\",\n  \"propagationContext\"\n];\nfunction hintIsScopeContext(hint) {\n  return Object.keys(hint).some((key) => captureContextKeys.includes(key));\n}\nexport {\n  applyClientOptions,\n  applyDebugIds,\n  applyDebugMeta,\n  parseEventHintOrCaptureContext,\n  prepareEvent\n};\n","import { getCurrentScope, getClient, getIsolationScope } from \"./currentScopes.js\";\nimport { makeSession, updateSession, closeSession } from \"./session.js\";\nimport { parseEventHintOrCaptureContext } from \"./utils/prepareEvent.js\";\nimport { GLOBAL_OBJ } from \"./utils-hoist/worldwide.js\";\nfunction captureException(exception, hint) {\n  return getCurrentScope().captureException(exception, parseEventHintOrCaptureContext(hint));\n}\nfunction captureEvent(event, hint) {\n  return getCurrentScope().captureEvent(event, hint);\n}\nfunction isEnabled() {\n  const client = getClient();\n  return (client == null ? void 0 : client.getOptions().enabled) !== false && !!(client == null ? void 0 : client.getTransport());\n}\nfunction startSession(context) {\n  const isolationScope = getIsolationScope();\n  const currentScope = getCurrentScope();\n  const { userAgent } = GLOBAL_OBJ.navigator || {};\n  const session = makeSession({\n    user: currentScope.getUser() || isolationScope.getUser(),\n    ...userAgent && { userAgent },\n    ...context\n  });\n  const currentSession = isolationScope.getSession();\n  if ((currentSession == null ? void 0 : currentSession.status) === \"ok\") {\n    updateSession(currentSession, { status: \"exited\" });\n  }\n  endSession();\n  isolationScope.setSession(session);\n  return session;\n}\nfunction endSession() {\n  const isolationScope = getIsolationScope();\n  const currentScope = getCurrentScope();\n  const session = currentScope.getSession() || isolationScope.getSession();\n  if (session) {\n    closeSession(session);\n  }\n  _sendSessionUpdate();\n  isolationScope.setSession();\n}\nfunction _sendSessionUpdate() {\n  const isolationScope = getIsolationScope();\n  const client = getClient();\n  const session = isolationScope.getSession();\n  if (session && client) {\n    client.captureSession(session);\n  }\n}\nfunction captureSession(end = false) {\n  if (end) {\n    endSession();\n    return;\n  }\n  _sendSessionUpdate();\n}\nexport {\n  captureEvent,\n  captureException,\n  captureSession,\n  endSession,\n  isEnabled,\n  startSession\n};\n","import { GLOBAL_OBJ } from \"../../../../core/build/esm/utils-hoist/worldwide.js\";\nimport { getOriginalFunction, markFunctionWrapped, addNonEnumerableProperty } from \"../../../../core/build/esm/utils-hoist/object.js\";\nimport { withScope } from \"../../../../core/build/esm/currentScopes.js\";\nimport { addExceptionTypeValue, addExceptionMechanism } from \"../../../../core/build/esm/utils-hoist/misc.js\";\nimport { captureException } from \"../../../../core/build/esm/exports.js\";\nconst WINDOW = GLOBAL_OBJ;\nlet ignoreOnError = 0;\nfunction shouldIgnoreOnError() {\n  return ignoreOnError > 0;\n}\nfunction ignoreNextOnError() {\n  ignoreOnError++;\n  setTimeout(() => {\n    ignoreOnError--;\n  });\n}\nfunction wrap(fn, options = {}) {\n  function isFunction(fn2) {\n    return typeof fn2 === \"function\";\n  }\n  if (!isFunction(fn)) {\n    return fn;\n  }\n  try {\n    const wrapper = fn.__sentry_wrapped__;\n    if (wrapper) {\n      if (typeof wrapper === \"function\") {\n        return wrapper;\n      } else {\n        return fn;\n      }\n    }\n    if (getOriginalFunction(fn)) {\n      return fn;\n    }\n  } catch (e) {\n    return fn;\n  }\n  const sentryWrapped = function(...args) {\n    try {\n      const wrappedArguments = args.map((arg) => wrap(arg, options));\n      return fn.apply(this, wrappedArguments);\n    } catch (ex) {\n      ignoreNextOnError();\n      withScope((scope) => {\n        scope.addEventProcessor((event) => {\n          if (options.mechanism) {\n            addExceptionTypeValue(event, void 0, void 0);\n            addExceptionMechanism(event, options.mechanism);\n          }\n          event.extra = {\n            ...event.extra,\n            arguments: args\n          };\n          return event;\n        });\n        captureException(ex);\n      });\n      throw ex;\n    }\n  };\n  try {\n    for (const property in fn) {\n      if (Object.prototype.hasOwnProperty.call(fn, property)) {\n        sentryWrapped[property] = fn[property];\n      }\n    }\n  } catch {\n  }\n  markFunctionWrapped(sentryWrapped, fn);\n  addNonEnumerableProperty(fn, \"__sentry_wrapped__\", sentryWrapped);\n  try {\n    const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, \"name\");\n    if (descriptor.configurable) {\n      Object.defineProperty(sentryWrapped, \"name\", {\n        get() {\n          return fn.name;\n        }\n      });\n    }\n  } catch {\n  }\n  return sentryWrapped;\n}\nexport {\n  WINDOW,\n  ignoreNextOnError,\n  shouldIgnoreOnError,\n  wrap\n};\n","const SENTRY_API_VERSION = \"7\";\nfunction getBaseApiEndpoint(dsn) {\n  const protocol = dsn.protocol ? `${dsn.protocol}:` : \"\";\n  const port = dsn.port ? `:${dsn.port}` : \"\";\n  return `${protocol}//${dsn.host}${port}${dsn.path ? `/${dsn.path}` : \"\"}/api/`;\n}\nfunction _getIngestEndpoint(dsn) {\n  return `${getBaseApiEndpoint(dsn)}${dsn.projectId}/envelope/`;\n}\nfunction _encodedAuth(dsn, sdkInfo) {\n  const params = {\n    sentry_version: SENTRY_API_VERSION\n  };\n  if (dsn.publicKey) {\n    params.sentry_key = dsn.publicKey;\n  }\n  if (sdkInfo) {\n    params.sentry_client = `${sdkInfo.name}/${sdkInfo.version}`;\n  }\n  return new URLSearchParams(params).toString();\n}\nfunction getEnvelopeEndpointWithUrlEncodedAuth(dsn, tunnel, sdkInfo) {\n  return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, sdkInfo)}`;\n}\nexport {\n  getEnvelopeEndpointWithUrlEncodedAuth\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { consoleSandbox, logger } from \"./logger.js\";\nconst DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+)?)?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\nfunction isValidProtocol(protocol) {\n  return protocol === \"http\" || protocol === \"https\";\n}\nfunction dsnToString(dsn, withPassword = false) {\n  const { host, path, pass, port, projectId, protocol, publicKey } = dsn;\n  return `${protocol}://${publicKey}${withPassword && pass ? `:${pass}` : \"\"}@${host}${port ? `:${port}` : \"\"}/${path ? `${path}/` : path}${projectId}`;\n}\nfunction dsnFromString(str) {\n  const match = DSN_REGEX.exec(str);\n  if (!match) {\n    consoleSandbox(() => {\n      console.error(`Invalid Sentry Dsn: ${str}`);\n    });\n    return void 0;\n  }\n  const [protocol, publicKey, pass = \"\", host = \"\", port = \"\", lastPath = \"\"] = match.slice(1);\n  let path = \"\";\n  let projectId = lastPath;\n  const split = projectId.split(\"/\");\n  if (split.length > 1) {\n    path = split.slice(0, -1).join(\"/\");\n    projectId = split.pop();\n  }\n  if (projectId) {\n    const projectMatch = projectId.match(/^\\d+/);\n    if (projectMatch) {\n      projectId = projectMatch[0];\n    }\n  }\n  return dsnFromComponents({ host, pass, path, projectId, port, protocol, publicKey });\n}\nfunction dsnFromComponents(components) {\n  return {\n    protocol: components.protocol,\n    publicKey: components.publicKey || \"\",\n    pass: components.pass || \"\",\n    host: components.host,\n    port: components.port || \"\",\n    path: components.path || \"\",\n    projectId: components.projectId\n  };\n}\nfunction validateDsn(dsn) {\n  if (!DEBUG_BUILD) {\n    return true;\n  }\n  const { port, projectId, protocol } = dsn;\n  const requiredComponents = [\"protocol\", \"publicKey\", \"host\", \"projectId\"];\n  const hasMissingRequiredComponent = requiredComponents.find((component) => {\n    if (!dsn[component]) {\n      logger.error(`Invalid Sentry Dsn: ${component} missing`);\n      return true;\n    }\n    return false;\n  });\n  if (hasMissingRequiredComponent) {\n    return false;\n  }\n  if (!projectId.match(/^\\d+$/)) {\n    logger.error(`Invalid Sentry Dsn: Invalid projectId ${projectId}`);\n    return false;\n  }\n  if (!isValidProtocol(protocol)) {\n    logger.error(`Invalid Sentry Dsn: Invalid protocol ${protocol}`);\n    return false;\n  }\n  if (port && isNaN(parseInt(port, 10))) {\n    logger.error(`Invalid Sentry Dsn: Invalid port ${port}`);\n    return false;\n  }\n  return true;\n}\nfunction makeDsn(from) {\n  const components = typeof from === \"string\" ? dsnFromString(from) : dsnFromComponents(from);\n  if (!components || !validateDsn(components)) {\n    return void 0;\n  }\n  return components;\n}\nexport {\n  dsnFromString,\n  dsnToString,\n  makeDsn\n};\n","import { getSentryCarrier } from \"../carrier.js\";\nimport { dsnToString } from \"./dsn.js\";\nimport { normalize } from \"./normalize.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nfunction createEnvelope(headers, items = []) {\n  return [headers, items];\n}\nfunction addItemToEnvelope(envelope, newItem) {\n  const [headers, items] = envelope;\n  return [headers, [...items, newItem]];\n}\nfunction forEachEnvelopeItem(envelope, callback) {\n  const envelopeItems = envelope[1];\n  for (const envelopeItem of envelopeItems) {\n    const envelopeItemType = envelopeItem[0].type;\n    const result = callback(envelopeItem, envelopeItemType);\n    if (result) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction encodeUTF8(input) {\n  const carrier = getSentryCarrier(GLOBAL_OBJ);\n  return carrier.encodePolyfill ? carrier.encodePolyfill(input) : new TextEncoder().encode(input);\n}\nfunction serializeEnvelope(envelope) {\n  const [envHeaders, items] = envelope;\n  let parts = JSON.stringify(envHeaders);\n  function append(next) {\n    if (typeof parts === \"string\") {\n      parts = typeof next === \"string\" ? parts + next : [encodeUTF8(parts), next];\n    } else {\n      parts.push(typeof next === \"string\" ? encodeUTF8(next) : next);\n    }\n  }\n  for (const item of items) {\n    const [itemHeaders, payload] = item;\n    append(`\n${JSON.stringify(itemHeaders)}\n`);\n    if (typeof payload === \"string\" || payload instanceof Uint8Array) {\n      append(payload);\n    } else {\n      let stringifiedPayload;\n      try {\n        stringifiedPayload = JSON.stringify(payload);\n      } catch (e) {\n        stringifiedPayload = JSON.stringify(normalize(payload));\n      }\n      append(stringifiedPayload);\n    }\n  }\n  return typeof parts === \"string\" ? parts : concatBuffers(parts);\n}\nfunction concatBuffers(buffers) {\n  const totalLength = buffers.reduce((acc, buf) => acc + buf.length, 0);\n  const merged = new Uint8Array(totalLength);\n  let offset = 0;\n  for (const buffer of buffers) {\n    merged.set(buffer, offset);\n    offset += buffer.length;\n  }\n  return merged;\n}\nfunction createSpanEnvelopeItem(spanJson) {\n  const spanHeaders = {\n    type: \"span\"\n  };\n  return [spanHeaders, spanJson];\n}\nfunction createAttachmentEnvelopeItem(attachment) {\n  const buffer = typeof attachment.data === \"string\" ? encodeUTF8(attachment.data) : attachment.data;\n  return [\n    {\n      type: \"attachment\",\n      length: buffer.length,\n      filename: attachment.filename,\n      content_type: attachment.contentType,\n      attachment_type: attachment.attachmentType\n    },\n    buffer\n  ];\n}\nconst ITEM_TYPE_TO_DATA_CATEGORY_MAP = {\n  session: \"session\",\n  sessions: \"session\",\n  attachment: \"attachment\",\n  transaction: \"transaction\",\n  event: \"error\",\n  client_report: \"internal\",\n  user_report: \"default\",\n  profile: \"profile\",\n  profile_chunk: \"profile\",\n  replay_event: \"replay\",\n  replay_recording: \"replay\",\n  check_in: \"monitor\",\n  feedback: \"feedback\",\n  span: \"span\",\n  raw_security: \"security\",\n  log: \"log_item\"\n};\nfunction envelopeItemTypeToDataCategory(type) {\n  return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];\n}\nfunction getSdkMetadataForEnvelopeHeader(metadataOrEvent) {\n  if (!(metadataOrEvent == null ? void 0 : metadataOrEvent.sdk)) {\n    return;\n  }\n  const { name, version } = metadataOrEvent.sdk;\n  return { name, version };\n}\nfunction createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn) {\n  var _a;\n  const dynamicSamplingContext = (_a = event.sdkProcessingMetadata) == null ? void 0 : _a.dynamicSamplingContext;\n  return {\n    event_id: event.event_id,\n    sent_at: (/* @__PURE__ */ new Date()).toISOString(),\n    ...sdkInfo && { sdk: sdkInfo },\n    ...!!tunnel && dsn && { dsn: dsnToString(dsn) },\n    ...dynamicSamplingContext && {\n      trace: dynamicSamplingContext\n    }\n  };\n}\nexport {\n  addItemToEnvelope,\n  createAttachmentEnvelopeItem,\n  createEnvelope,\n  createEventEnvelopeHeaders,\n  createSpanEnvelopeItem,\n  envelopeItemTypeToDataCategory,\n  forEachEnvelopeItem,\n  getSdkMetadataForEnvelopeHeader,\n  serializeEnvelope\n};\n","import { getDynamicSamplingContextFromSpan } from \"./tracing/dynamicSamplingContext.js\";\nimport { spanToJSON, showSpanDropWarning } from \"./utils/spanUtils.js\";\nimport { dsnToString } from \"./utils-hoist/dsn.js\";\nimport { getSdkMetadataForEnvelopeHeader, createEnvelope, createEventEnvelopeHeaders, createSpanEnvelopeItem } from \"./utils-hoist/envelope.js\";\nfunction enhanceEventWithSdkInfo(event, sdkInfo) {\n  if (!sdkInfo) {\n    return event;\n  }\n  event.sdk = event.sdk || {};\n  event.sdk.name = event.sdk.name || sdkInfo.name;\n  event.sdk.version = event.sdk.version || sdkInfo.version;\n  event.sdk.integrations = [...event.sdk.integrations || [], ...sdkInfo.integrations || []];\n  event.sdk.packages = [...event.sdk.packages || [], ...sdkInfo.packages || []];\n  return event;\n}\nfunction createSessionEnvelope(session, dsn, metadata, tunnel) {\n  const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n  const envelopeHeaders = {\n    sent_at: (/* @__PURE__ */ new Date()).toISOString(),\n    ...sdkInfo && { sdk: sdkInfo },\n    ...!!tunnel && dsn && { dsn: dsnToString(dsn) }\n  };\n  const envelopeItem = \"aggregates\" in session ? [{ type: \"sessions\" }, session] : [{ type: \"session\" }, session.toJSON()];\n  return createEnvelope(envelopeHeaders, [envelopeItem]);\n}\nfunction createEventEnvelope(event, dsn, metadata, tunnel) {\n  const sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n  const eventType = event.type && event.type !== \"replay_event\" ? event.type : \"event\";\n  enhanceEventWithSdkInfo(event, metadata == null ? void 0 : metadata.sdk);\n  const envelopeHeaders = createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn);\n  delete event.sdkProcessingMetadata;\n  const eventItem = [{ type: eventType }, event];\n  return createEnvelope(envelopeHeaders, [eventItem]);\n}\nfunction createSpanEnvelope(spans, client) {\n  function dscHasRequiredProps(dsc2) {\n    return !!dsc2.trace_id && !!dsc2.public_key;\n  }\n  const dsc = getDynamicSamplingContextFromSpan(spans[0]);\n  const dsn = client == null ? void 0 : client.getDsn();\n  const tunnel = client == null ? void 0 : client.getOptions().tunnel;\n  const headers = {\n    sent_at: (/* @__PURE__ */ new Date()).toISOString(),\n    ...dscHasRequiredProps(dsc) && { trace: dsc },\n    ...!!tunnel && dsn && { dsn: dsnToString(dsn) }\n  };\n  const beforeSendSpan = client == null ? void 0 : client.getOptions().beforeSendSpan;\n  const convertToSpanJSON = beforeSendSpan ? (span) => {\n    const spanJson = spanToJSON(span);\n    const processedSpan = beforeSendSpan(spanJson);\n    if (!processedSpan) {\n      showSpanDropWarning();\n      return spanJson;\n    }\n    return processedSpan;\n  } : spanToJSON;\n  const items = [];\n  for (const span of spans) {\n    const spanJson = convertToSpanJSON(span);\n    if (spanJson) {\n      items.push(createSpanEnvelopeItem(spanJson));\n    }\n  }\n  return createEnvelope(headers, items);\n}\nexport {\n  createEventEnvelope,\n  createSessionEnvelope,\n  createSpanEnvelope\n};\n","import { DEBUG_BUILD } from \"./debug-build.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nconst installedIntegrations = [];\nfunction filterDuplicates(integrations) {\n  const integrationsByName = {};\n  integrations.forEach((currentInstance) => {\n    const { name } = currentInstance;\n    const existingInstance = integrationsByName[name];\n    if (existingInstance && !existingInstance.isDefaultInstance && currentInstance.isDefaultInstance) {\n      return;\n    }\n    integrationsByName[name] = currentInstance;\n  });\n  return Object.values(integrationsByName);\n}\nfunction getIntegrationsToSetup(options) {\n  const defaultIntegrations = options.defaultIntegrations || [];\n  const userIntegrations = options.integrations;\n  defaultIntegrations.forEach((integration) => {\n    integration.isDefaultInstance = true;\n  });\n  let integrations;\n  if (Array.isArray(userIntegrations)) {\n    integrations = [...defaultIntegrations, ...userIntegrations];\n  } else if (typeof userIntegrations === \"function\") {\n    const resolvedUserIntegrations = userIntegrations(defaultIntegrations);\n    integrations = Array.isArray(resolvedUserIntegrations) ? resolvedUserIntegrations : [resolvedUserIntegrations];\n  } else {\n    integrations = defaultIntegrations;\n  }\n  return filterDuplicates(integrations);\n}\nfunction setupIntegrations(client, integrations) {\n  const integrationIndex = {};\n  integrations.forEach((integration) => {\n    if (integration) {\n      setupIntegration(client, integration, integrationIndex);\n    }\n  });\n  return integrationIndex;\n}\nfunction afterSetupIntegrations(client, integrations) {\n  for (const integration of integrations) {\n    if (integration == null ? void 0 : integration.afterAllSetup) {\n      integration.afterAllSetup(client);\n    }\n  }\n}\nfunction setupIntegration(client, integration, integrationIndex) {\n  if (integrationIndex[integration.name]) {\n    DEBUG_BUILD && logger.log(`Integration skipped because it was already installed: ${integration.name}`);\n    return;\n  }\n  integrationIndex[integration.name] = integration;\n  if (installedIntegrations.indexOf(integration.name) === -1 && typeof integration.setupOnce === \"function\") {\n    integration.setupOnce();\n    installedIntegrations.push(integration.name);\n  }\n  if (integration.setup && typeof integration.setup === \"function\") {\n    integration.setup(client);\n  }\n  if (typeof integration.preprocessEvent === \"function\") {\n    const callback = integration.preprocessEvent.bind(integration);\n    client.on(\"preprocessEvent\", (event, hint) => callback(event, hint, client));\n  }\n  if (typeof integration.processEvent === \"function\") {\n    const callback = integration.processEvent.bind(integration);\n    const processor = Object.assign((event, hint) => callback(event, hint, client), {\n      id: integration.name\n    });\n    client.addEventProcessor(processor);\n  }\n  DEBUG_BUILD && logger.log(`Integration installed: ${integration.name}`);\n}\nfunction defineIntegration(fn) {\n  return fn;\n}\nexport {\n  afterSetupIntegrations,\n  defineIntegration,\n  getIntegrationsToSetup,\n  installedIntegrations,\n  setupIntegration,\n  setupIntegrations\n};\n","function getPossibleEventMessages(event) {\n  const possibleMessages = [];\n  if (event.message) {\n    possibleMessages.push(event.message);\n  }\n  try {\n    const lastException = event.exception.values[event.exception.values.length - 1];\n    if (lastException == null ? void 0 : lastException.value) {\n      possibleMessages.push(lastException.value);\n      if (lastException.type) {\n        possibleMessages.push(`${lastException.type}: ${lastException.value}`);\n      }\n    }\n  } catch (e) {\n  }\n  return possibleMessages;\n}\nexport {\n  getPossibleEventMessages\n};\n","import { SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME } from \"../semanticAttributes.js\";\nfunction convertTransactionEventToSpanJson(event) {\n  var _a;\n  const { trace_id, parent_span_id, span_id, status, origin, data, op } = ((_a = event.contexts) == null ? void 0 : _a.trace) ?? {};\n  return {\n    data: data ?? {},\n    description: event.transaction,\n    op,\n    parent_span_id,\n    span_id: span_id ?? \"\",\n    start_timestamp: event.start_timestamp ?? 0,\n    status,\n    timestamp: event.timestamp,\n    trace_id: trace_id ?? \"\",\n    origin,\n    profile_id: data == null ? void 0 : data[SEMANTIC_ATTRIBUTE_PROFILE_ID],\n    exclusive_time: data == null ? void 0 : data[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],\n    measurements: event.measurements,\n    is_segment: true\n  };\n}\nfunction convertSpanJsonToTransactionEvent(span) {\n  return {\n    type: \"transaction\",\n    timestamp: span.timestamp,\n    start_timestamp: span.start_timestamp,\n    transaction: span.description,\n    contexts: {\n      trace: {\n        trace_id: span.trace_id,\n        span_id: span.span_id,\n        parent_span_id: span.parent_span_id,\n        op: span.op,\n        status: span.status,\n        origin: span.origin,\n        data: {\n          ...span.data,\n          ...span.profile_id && { [SEMANTIC_ATTRIBUTE_PROFILE_ID]: span.profile_id },\n          ...span.exclusive_time && { [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: span.exclusive_time }\n        }\n      }\n    },\n    measurements: span.measurements\n  };\n}\nexport {\n  convertSpanJsonToTransactionEvent,\n  convertTransactionEventToSpanJson\n};\n","import { createEnvelope } from \"./envelope.js\";\nimport { dateTimestampInSeconds } from \"./time.js\";\nfunction createClientReportEnvelope(discarded_events, dsn, timestamp) {\n  const clientReportItem = [\n    { type: \"client_report\" },\n    {\n      timestamp: timestamp || dateTimestampInSeconds(),\n      discarded_events\n    }\n  ];\n  return createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);\n}\nexport {\n  createClientReportEnvelope\n};\n","import { getEnvelopeEndpointWithUrlEncodedAuth } from \"./api.js\";\nimport { DEFAULT_ENVIRONMENT } from \"./constants.js\";\nimport { getTraceContextFromScope, getCurrentScope, getIsolationScope } from \"./currentScopes.js\";\nimport { DEBUG_BUILD } from \"./debug-build.js\";\nimport { createEventEnvelope, createSessionEnvelope } from \"./envelope.js\";\nimport { setupIntegration, afterSetupIntegrations, setupIntegrations } from \"./integration.js\";\nimport { updateSession } from \"./session.js\";\nimport { getDynamicSamplingContextFromScope } from \"./tracing/dynamicSamplingContext.js\";\nimport { getPossibleEventMessages } from \"./utils/eventUtils.js\";\nimport { merge } from \"./utils/merge.js\";\nimport { parseSampleRate } from \"./utils/parseSampleRate.js\";\nimport { prepareEvent } from \"./utils/prepareEvent.js\";\nimport { showSpanDropWarning } from \"./utils/spanUtils.js\";\nimport { convertTransactionEventToSpanJson, convertSpanJsonToTransactionEvent } from \"./utils/transactionEvent.js\";\nimport { createClientReportEnvelope } from \"./utils-hoist/clientreport.js\";\nimport { makeDsn, dsnToString } from \"./utils-hoist/dsn.js\";\nimport { addItemToEnvelope, createAttachmentEnvelopeItem } from \"./utils-hoist/envelope.js\";\nimport { isPrimitive, isThenable, isPlainObject, isParameterizedString } from \"./utils-hoist/is.js\";\nimport { logger } from \"./utils-hoist/logger.js\";\nimport { uuid4, checkOrSetAlreadyCaught } from \"./utils-hoist/misc.js\";\nimport { resolvedSyncPromise, SyncPromise, rejectedSyncPromise } from \"./utils-hoist/syncpromise.js\";\nconst ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\nconst MISSING_RELEASE_FOR_SESSION_ERROR = \"Discarded session because of missing or non-string release\";\nconst INTERNAL_ERROR_SYMBOL = Symbol.for(\"SentryInternalError\");\nconst DO_NOT_SEND_EVENT_SYMBOL = Symbol.for(\"SentryDoNotSendEventError\");\nfunction _makeInternalError(message) {\n  return {\n    message,\n    [INTERNAL_ERROR_SYMBOL]: true\n  };\n}\nfunction _makeDoNotSendEventError(message) {\n  return {\n    message,\n    [DO_NOT_SEND_EVENT_SYMBOL]: true\n  };\n}\nfunction _isInternalError(error) {\n  return !!error && typeof error === \"object\" && INTERNAL_ERROR_SYMBOL in error;\n}\nfunction _isDoNotSendEventError(error) {\n  return !!error && typeof error === \"object\" && DO_NOT_SEND_EVENT_SYMBOL in error;\n}\nclass Client {\n  /** Options passed to the SDK. */\n  /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n  /** Array of set up integrations. */\n  /** Number of calls being processed */\n  /** Holds flushable  */\n  // eslint-disable-next-line @typescript-eslint/ban-types\n  /**\n   * Initializes this client instance.\n   *\n   * @param options Options for the client.\n   */\n  constructor(options) {\n    this._options = options;\n    this._integrations = {};\n    this._numProcessing = 0;\n    this._outcomes = {};\n    this._hooks = {};\n    this._eventProcessors = [];\n    if (options.dsn) {\n      this._dsn = makeDsn(options.dsn);\n    } else {\n      DEBUG_BUILD && logger.warn(\"No DSN provided, client will not send events.\");\n    }\n    if (this._dsn) {\n      const url = getEnvelopeEndpointWithUrlEncodedAuth(\n        this._dsn,\n        options.tunnel,\n        options._metadata ? options._metadata.sdk : void 0\n      );\n      this._transport = options.transport({\n        tunnel: this._options.tunnel,\n        recordDroppedEvent: this.recordDroppedEvent.bind(this),\n        ...options.transportOptions,\n        url\n      });\n    }\n  }\n  /**\n   * Captures an exception event and sends it to Sentry.\n   *\n   * Unlike `captureException` exported from every SDK, this method requires that you pass it the current scope.\n   */\n  captureException(exception, hint, scope) {\n    const eventId = uuid4();\n    if (checkOrSetAlreadyCaught(exception)) {\n      DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n      return eventId;\n    }\n    const hintWithEventId = {\n      event_id: eventId,\n      ...hint\n    };\n    this._process(\n      this.eventFromException(exception, hintWithEventId).then(\n        (event) => this._captureEvent(event, hintWithEventId, scope)\n      )\n    );\n    return hintWithEventId.event_id;\n  }\n  /**\n   * Captures a message event and sends it to Sentry.\n   *\n   * Unlike `captureMessage` exported from every SDK, this method requires that you pass it the current scope.\n   */\n  captureMessage(message, level, hint, currentScope) {\n    const hintWithEventId = {\n      event_id: uuid4(),\n      ...hint\n    };\n    const eventMessage = isParameterizedString(message) ? message : String(message);\n    const promisedEvent = isPrimitive(message) ? this.eventFromMessage(eventMessage, level, hintWithEventId) : this.eventFromException(message, hintWithEventId);\n    this._process(promisedEvent.then((event) => this._captureEvent(event, hintWithEventId, currentScope)));\n    return hintWithEventId.event_id;\n  }\n  /**\n   * Captures a manually created event and sends it to Sentry.\n   *\n   * Unlike `captureEvent` exported from every SDK, this method requires that you pass it the current scope.\n   */\n  captureEvent(event, hint, currentScope) {\n    const eventId = uuid4();\n    if ((hint == null ? void 0 : hint.originalException) && checkOrSetAlreadyCaught(hint.originalException)) {\n      DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n      return eventId;\n    }\n    const hintWithEventId = {\n      event_id: eventId,\n      ...hint\n    };\n    const sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n    const capturedSpanScope = sdkProcessingMetadata.capturedSpanScope;\n    const capturedSpanIsolationScope = sdkProcessingMetadata.capturedSpanIsolationScope;\n    this._process(\n      this._captureEvent(event, hintWithEventId, capturedSpanScope || currentScope, capturedSpanIsolationScope)\n    );\n    return hintWithEventId.event_id;\n  }\n  /**\n   * Captures a session.\n   */\n  captureSession(session) {\n    this.sendSession(session);\n    updateSession(session, { init: false });\n  }\n  /**\n   * Create a cron monitor check in and send it to Sentry. This method is not available on all clients.\n   *\n   * @param checkIn An object that describes a check in.\n   * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n   * to create a monitor automatically when sending a check in.\n   * @param scope An optional scope containing event metadata.\n   * @returns A string representing the id of the check in.\n   */\n  /**\n   * Get the current Dsn.\n   */\n  getDsn() {\n    return this._dsn;\n  }\n  /**\n   * Get the current options.\n   */\n  getOptions() {\n    return this._options;\n  }\n  /**\n   * Get the SDK metadata.\n   * @see SdkMetadata\n   */\n  getSdkMetadata() {\n    return this._options._metadata;\n  }\n  /**\n   * Returns the transport that is used by the client.\n   * Please note that the transport gets lazy initialized so it will only be there once the first event has been sent.\n   */\n  getTransport() {\n    return this._transport;\n  }\n  /**\n   * Wait for all events to be sent or the timeout to expire, whichever comes first.\n   *\n   * @param timeout Maximum time in ms the client should wait for events to be flushed. Omitting this parameter will\n   *   cause the client to wait until all events are sent before resolving the promise.\n   * @returns A promise that will resolve with `true` if all events are sent before the timeout, or `false` if there are\n   * still events in the queue when the timeout is reached.\n   */\n  flush(timeout) {\n    const transport = this._transport;\n    if (transport) {\n      this.emit(\"flush\");\n      return this._isClientDoneProcessing(timeout).then((clientFinished) => {\n        return transport.flush(timeout).then((transportFlushed) => clientFinished && transportFlushed);\n      });\n    } else {\n      return resolvedSyncPromise(true);\n    }\n  }\n  /**\n   * Flush the event queue and set the client to `enabled = false`. See {@link Client.flush}.\n   *\n   * @param {number} timeout Maximum time in ms the client should wait before shutting down. Omitting this parameter will cause\n   *   the client to wait until all events are sent before disabling itself.\n   * @returns {Promise<boolean>} A promise which resolves to `true` if the flush completes successfully before the timeout, or `false` if\n   * it doesn't.\n   */\n  close(timeout) {\n    return this.flush(timeout).then((result) => {\n      this.getOptions().enabled = false;\n      this.emit(\"close\");\n      return result;\n    });\n  }\n  /**\n   * Get all installed event processors.\n   */\n  getEventProcessors() {\n    return this._eventProcessors;\n  }\n  /**\n   * Adds an event processor that applies to any event processed by this client.\n   */\n  addEventProcessor(eventProcessor) {\n    this._eventProcessors.push(eventProcessor);\n  }\n  /**\n   * Initialize this client.\n   * Call this after the client was set on a scope.\n   */\n  init() {\n    if (this._isEnabled() || // Force integrations to be setup even if no DSN was set when we have\n    // Spotlight enabled. This is particularly important for browser as we\n    // don't support the `spotlight` option there and rely on the users\n    // adding the `spotlightBrowserIntegration()` to their integrations which\n    // wouldn't get initialized with the check below when there's no DSN set.\n    this._options.integrations.some(({ name }) => name.startsWith(\"Spotlight\"))) {\n      this._setupIntegrations();\n    }\n  }\n  /**\n   * Gets an installed integration by its name.\n   *\n   * @returns {Integration|undefined} The installed integration or `undefined` if no integration with that `name` was installed.\n   */\n  getIntegrationByName(integrationName) {\n    return this._integrations[integrationName];\n  }\n  /**\n   * Add an integration to the client.\n   * This can be used to e.g. lazy load integrations.\n   * In most cases, this should not be necessary,\n   * and you're better off just passing the integrations via `integrations: []` at initialization time.\n   * However, if you find the need to conditionally load & add an integration, you can use `addIntegration` to do so.\n   */\n  addIntegration(integration) {\n    const isAlreadyInstalled = this._integrations[integration.name];\n    setupIntegration(this, integration, this._integrations);\n    if (!isAlreadyInstalled) {\n      afterSetupIntegrations(this, [integration]);\n    }\n  }\n  /**\n   * Send a fully prepared event to Sentry.\n   */\n  sendEvent(event, hint = {}) {\n    this.emit(\"beforeSendEvent\", event, hint);\n    let env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);\n    for (const attachment of hint.attachments || []) {\n      env = addItemToEnvelope(env, createAttachmentEnvelopeItem(attachment));\n    }\n    const promise = this.sendEnvelope(env);\n    if (promise) {\n      promise.then((sendResponse) => this.emit(\"afterSendEvent\", event, sendResponse), null);\n    }\n  }\n  /**\n   * Send a session or session aggregrates to Sentry.\n   */\n  sendSession(session) {\n    const { release: clientReleaseOption, environment: clientEnvironmentOption = DEFAULT_ENVIRONMENT } = this._options;\n    if (\"aggregates\" in session) {\n      const sessionAttrs = session.attrs || {};\n      if (!sessionAttrs.release && !clientReleaseOption) {\n        DEBUG_BUILD && logger.warn(MISSING_RELEASE_FOR_SESSION_ERROR);\n        return;\n      }\n      sessionAttrs.release = sessionAttrs.release || clientReleaseOption;\n      sessionAttrs.environment = sessionAttrs.environment || clientEnvironmentOption;\n      session.attrs = sessionAttrs;\n    } else {\n      if (!session.release && !clientReleaseOption) {\n        DEBUG_BUILD && logger.warn(MISSING_RELEASE_FOR_SESSION_ERROR);\n        return;\n      }\n      session.release = session.release || clientReleaseOption;\n      session.environment = session.environment || clientEnvironmentOption;\n    }\n    this.emit(\"beforeSendSession\", session);\n    const env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel);\n    this.sendEnvelope(env);\n  }\n  /**\n   * Record on the client that an event got dropped (ie, an event that will not be sent to Sentry).\n   */\n  recordDroppedEvent(reason, category, count = 1) {\n    if (this._options.sendClientReports) {\n      const key = `${reason}:${category}`;\n      DEBUG_BUILD && logger.log(`Recording outcome: \"${key}\"${count > 1 ? ` (${count} times)` : \"\"}`);\n      this._outcomes[key] = (this._outcomes[key] || 0) + count;\n    }\n  }\n  /* eslint-disable @typescript-eslint/unified-signatures */\n  /**\n   * Register a callback for whenever a span is started.\n   * Receives the span as argument.\n   * @returns {() => void} A function that, when executed, removes the registered callback.\n   */\n  /**\n   * Register a hook on this client.\n   */\n  on(hook, callback) {\n    const hooks = this._hooks[hook] = this._hooks[hook] || [];\n    hooks.push(callback);\n    return () => {\n      const cbIndex = hooks.indexOf(callback);\n      if (cbIndex > -1) {\n        hooks.splice(cbIndex, 1);\n      }\n    };\n  }\n  /** Fire a hook whenever a span starts. */\n  /**\n   * Emit a hook that was previously registered via `on()`.\n   */\n  emit(hook, ...rest) {\n    const callbacks = this._hooks[hook];\n    if (callbacks) {\n      callbacks.forEach((callback) => callback(...rest));\n    }\n  }\n  /**\n   * Send an envelope to Sentry.\n   */\n  sendEnvelope(envelope) {\n    this.emit(\"beforeEnvelope\", envelope);\n    if (this._isEnabled() && this._transport) {\n      return this._transport.send(envelope).then(null, (reason) => {\n        DEBUG_BUILD && logger.error(\"Error while sending envelope:\", reason);\n        return reason;\n      });\n    }\n    DEBUG_BUILD && logger.error(\"Transport disabled\");\n    return resolvedSyncPromise({});\n  }\n  /* eslint-enable @typescript-eslint/unified-signatures */\n  /** Setup integrations for this client. */\n  _setupIntegrations() {\n    const { integrations } = this._options;\n    this._integrations = setupIntegrations(this, integrations);\n    afterSetupIntegrations(this, integrations);\n  }\n  /** Updates existing session based on the provided event */\n  _updateSessionFromEvent(session, event) {\n    var _a;\n    let crashed = event.level === \"fatal\";\n    let errored = false;\n    const exceptions = (_a = event.exception) == null ? void 0 : _a.values;\n    if (exceptions) {\n      errored = true;\n      for (const ex of exceptions) {\n        const mechanism = ex.mechanism;\n        if ((mechanism == null ? void 0 : mechanism.handled) === false) {\n          crashed = true;\n          break;\n        }\n      }\n    }\n    const sessionNonTerminal = session.status === \"ok\";\n    const shouldUpdateAndSend = sessionNonTerminal && session.errors === 0 || sessionNonTerminal && crashed;\n    if (shouldUpdateAndSend) {\n      updateSession(session, {\n        ...crashed && { status: \"crashed\" },\n        errors: session.errors || Number(errored || crashed)\n      });\n      this.captureSession(session);\n    }\n  }\n  /**\n   * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n   * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n   *\n   * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n   * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n   * `true`.\n   * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n   * `false` otherwise\n   */\n  _isClientDoneProcessing(timeout) {\n    return new SyncPromise((resolve) => {\n      let ticked = 0;\n      const tick = 1;\n      const interval = setInterval(() => {\n        if (this._numProcessing == 0) {\n          clearInterval(interval);\n          resolve(true);\n        } else {\n          ticked += tick;\n          if (timeout && ticked >= timeout) {\n            clearInterval(interval);\n            resolve(false);\n          }\n        }\n      }, tick);\n    });\n  }\n  /** Determines whether this SDK is enabled and a transport is present. */\n  _isEnabled() {\n    return this.getOptions().enabled !== false && this._transport !== void 0;\n  }\n  /**\n   * Adds common information to events.\n   *\n   * The information includes release and environment from `options`,\n   * breadcrumbs and context (extra, tags and user) from the scope.\n   *\n   * Information that is already present in the event is never overwritten. For\n   * nested objects, such as the context, keys are merged.\n   *\n   * @param event The original event.\n   * @param hint May contain additional information about the original exception.\n   * @param currentScope A scope containing event metadata.\n   * @returns A new event with more information.\n   */\n  _prepareEvent(event, hint, currentScope, isolationScope) {\n    const options = this.getOptions();\n    const integrations = Object.keys(this._integrations);\n    if (!hint.integrations && (integrations == null ? void 0 : integrations.length)) {\n      hint.integrations = integrations;\n    }\n    this.emit(\"preprocessEvent\", event, hint);\n    if (!event.type) {\n      isolationScope.setLastEventId(event.event_id || hint.event_id);\n    }\n    return prepareEvent(options, event, hint, currentScope, this, isolationScope).then((evt) => {\n      if (evt === null) {\n        return evt;\n      }\n      this.emit(\"postprocessEvent\", evt, hint);\n      evt.contexts = {\n        trace: getTraceContextFromScope(currentScope),\n        ...evt.contexts\n      };\n      const dynamicSamplingContext = getDynamicSamplingContextFromScope(this, currentScope);\n      evt.sdkProcessingMetadata = {\n        dynamicSamplingContext,\n        ...evt.sdkProcessingMetadata\n      };\n      return evt;\n    });\n  }\n  /**\n   * Processes the event and logs an error in case of rejection\n   * @param event\n   * @param hint\n   * @param scope\n   */\n  _captureEvent(event, hint = {}, currentScope = getCurrentScope(), isolationScope = getIsolationScope()) {\n    if (DEBUG_BUILD && isErrorEvent(event)) {\n      logger.log(`Captured error event \\`${getPossibleEventMessages(event)[0] || \"<unknown>\"}\\``);\n    }\n    return this._processEvent(event, hint, currentScope, isolationScope).then(\n      (finalEvent) => {\n        return finalEvent.event_id;\n      },\n      (reason) => {\n        if (DEBUG_BUILD) {\n          if (_isDoNotSendEventError(reason)) {\n            logger.log(reason.message);\n          } else if (_isInternalError(reason)) {\n            logger.warn(reason.message);\n          } else {\n            logger.warn(reason);\n          }\n        }\n        return void 0;\n      }\n    );\n  }\n  /**\n   * Processes an event (either error or message) and sends it to Sentry.\n   *\n   * This also adds breadcrumbs and context information to the event. However,\n   * platform specific meta data (such as the User's IP address) must be added\n   * by the SDK implementor.\n   *\n   *\n   * @param event The event to send to Sentry.\n   * @param hint May contain additional information about the original exception.\n   * @param currentScope A scope containing event metadata.\n   * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n   */\n  _processEvent(event, hint, currentScope, isolationScope) {\n    const options = this.getOptions();\n    const { sampleRate } = options;\n    const isTransaction = isTransactionEvent(event);\n    const isError = isErrorEvent(event);\n    const eventType = event.type || \"error\";\n    const beforeSendLabel = `before send for type \\`${eventType}\\``;\n    const parsedSampleRate = typeof sampleRate === \"undefined\" ? void 0 : parseSampleRate(sampleRate);\n    if (isError && typeof parsedSampleRate === \"number\" && Math.random() > parsedSampleRate) {\n      this.recordDroppedEvent(\"sample_rate\", \"error\");\n      return rejectedSyncPromise(\n        _makeDoNotSendEventError(\n          `Discarding event because it's not included in the random sample (sampling rate = ${sampleRate})`\n        )\n      );\n    }\n    const dataCategory = eventType === \"replay_event\" ? \"replay\" : eventType;\n    return this._prepareEvent(event, hint, currentScope, isolationScope).then((prepared) => {\n      if (prepared === null) {\n        this.recordDroppedEvent(\"event_processor\", dataCategory);\n        throw _makeDoNotSendEventError(\"An event processor returned `null`, will not send event.\");\n      }\n      const isInternalException = hint.data && hint.data.__sentry__ === true;\n      if (isInternalException) {\n        return prepared;\n      }\n      const result = processBeforeSend(this, options, prepared, hint);\n      return _validateBeforeSendResult(result, beforeSendLabel);\n    }).then((processedEvent) => {\n      var _a;\n      if (processedEvent === null) {\n        this.recordDroppedEvent(\"before_send\", dataCategory);\n        if (isTransaction) {\n          const spans = event.spans || [];\n          const spanCount = 1 + spans.length;\n          this.recordDroppedEvent(\"before_send\", \"span\", spanCount);\n        }\n        throw _makeDoNotSendEventError(`${beforeSendLabel} returned \\`null\\`, will not send event.`);\n      }\n      const session = currentScope.getSession() || isolationScope.getSession();\n      if (isError && session) {\n        this._updateSessionFromEvent(session, processedEvent);\n      }\n      if (isTransaction) {\n        const spanCountBefore = ((_a = processedEvent.sdkProcessingMetadata) == null ? void 0 : _a.spanCountBeforeProcessing) || 0;\n        const spanCountAfter = processedEvent.spans ? processedEvent.spans.length : 0;\n        const droppedSpanCount = spanCountBefore - spanCountAfter;\n        if (droppedSpanCount > 0) {\n          this.recordDroppedEvent(\"before_send\", \"span\", droppedSpanCount);\n        }\n      }\n      const transactionInfo = processedEvent.transaction_info;\n      if (isTransaction && transactionInfo && processedEvent.transaction !== event.transaction) {\n        const source = \"custom\";\n        processedEvent.transaction_info = {\n          ...transactionInfo,\n          source\n        };\n      }\n      this.sendEvent(processedEvent, hint);\n      return processedEvent;\n    }).then(null, (reason) => {\n      if (_isDoNotSendEventError(reason) || _isInternalError(reason)) {\n        throw reason;\n      }\n      this.captureException(reason, {\n        data: {\n          __sentry__: true\n        },\n        originalException: reason\n      });\n      throw _makeInternalError(\n        `Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${reason}`\n      );\n    });\n  }\n  /**\n   * Occupies the client with processing and event\n   */\n  _process(promise) {\n    this._numProcessing++;\n    void promise.then(\n      (value) => {\n        this._numProcessing--;\n        return value;\n      },\n      (reason) => {\n        this._numProcessing--;\n        return reason;\n      }\n    );\n  }\n  /**\n   * Clears outcomes on this client and returns them.\n   */\n  _clearOutcomes() {\n    const outcomes = this._outcomes;\n    this._outcomes = {};\n    return Object.entries(outcomes).map(([key, quantity]) => {\n      const [reason, category] = key.split(\":\");\n      return {\n        reason,\n        category,\n        quantity\n      };\n    });\n  }\n  /**\n   * Sends client reports as an envelope.\n   */\n  _flushOutcomes() {\n    DEBUG_BUILD && logger.log(\"Flushing outcomes...\");\n    const outcomes = this._clearOutcomes();\n    if (outcomes.length === 0) {\n      DEBUG_BUILD && logger.log(\"No outcomes to send\");\n      return;\n    }\n    if (!this._dsn) {\n      DEBUG_BUILD && logger.log(\"No dsn provided, will not send outcomes\");\n      return;\n    }\n    DEBUG_BUILD && logger.log(\"Sending outcomes:\", outcomes);\n    const envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn));\n    this.sendEnvelope(envelope);\n  }\n  /**\n   * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n   */\n}\nfunction _validateBeforeSendResult(beforeSendResult, beforeSendLabel) {\n  const invalidValueError = `${beforeSendLabel} must return \\`null\\` or a valid event.`;\n  if (isThenable(beforeSendResult)) {\n    return beforeSendResult.then(\n      (event) => {\n        if (!isPlainObject(event) && event !== null) {\n          throw _makeInternalError(invalidValueError);\n        }\n        return event;\n      },\n      (e) => {\n        throw _makeInternalError(`${beforeSendLabel} rejected with ${e}`);\n      }\n    );\n  } else if (!isPlainObject(beforeSendResult) && beforeSendResult !== null) {\n    throw _makeInternalError(invalidValueError);\n  }\n  return beforeSendResult;\n}\nfunction processBeforeSend(client, options, event, hint) {\n  const { beforeSend, beforeSendTransaction, beforeSendSpan } = options;\n  let processedEvent = event;\n  if (isErrorEvent(processedEvent) && beforeSend) {\n    return beforeSend(processedEvent, hint);\n  }\n  if (isTransactionEvent(processedEvent)) {\n    if (beforeSendSpan) {\n      const processedRootSpanJson = beforeSendSpan(convertTransactionEventToSpanJson(processedEvent));\n      if (!processedRootSpanJson) {\n        showSpanDropWarning();\n      } else {\n        processedEvent = merge(event, convertSpanJsonToTransactionEvent(processedRootSpanJson));\n      }\n      if (processedEvent.spans) {\n        const processedSpans = [];\n        for (const span of processedEvent.spans) {\n          const processedSpan = beforeSendSpan(span);\n          if (!processedSpan) {\n            showSpanDropWarning();\n            processedSpans.push(span);\n          } else {\n            processedSpans.push(processedSpan);\n          }\n        }\n        processedEvent.spans = processedSpans;\n      }\n    }\n    if (beforeSendTransaction) {\n      if (processedEvent.spans) {\n        const spanCountBefore = processedEvent.spans.length;\n        processedEvent.sdkProcessingMetadata = {\n          ...event.sdkProcessingMetadata,\n          spanCountBeforeProcessing: spanCountBefore\n        };\n      }\n      return beforeSendTransaction(processedEvent, hint);\n    }\n  }\n  return processedEvent;\n}\nfunction isErrorEvent(event) {\n  return event.type === void 0;\n}\nfunction isTransactionEvent(event) {\n  return event.type === \"transaction\";\n}\nexport {\n  Client\n};\n","import { SDK_VERSION } from \"../utils-hoist/version.js\";\nfunction applySdkMetadata(options, name, names = [name], source = \"npm\") {\n  const metadata = options._metadata || {};\n  if (!metadata.sdk) {\n    metadata.sdk = {\n      name: `sentry.javascript.${name}`,\n      packages: names.map((name2) => ({\n        name: `${source}:@sentry/${name2}`,\n        version: SDK_VERSION\n      })),\n      version: SDK_VERSION\n    };\n  }\n  options._metadata = metadata;\n}\nexport {\n  applySdkMetadata\n};\n","import { dsnToString } from \"../utils-hoist/dsn.js\";\nimport { createEnvelope } from \"../utils-hoist/envelope.js\";\nfunction createLogContainerEnvelopeItem(items) {\n  return [\n    {\n      type: \"log\",\n      item_count: items.length,\n      content_type: \"application/vnd.sentry.items.log+json\"\n    },\n    {\n      items\n    }\n  ];\n}\nfunction createLogEnvelope(logs, metadata, tunnel, dsn) {\n  const headers = {};\n  if (metadata == null ? void 0 : metadata.sdk) {\n    headers.sdk = {\n      name: metadata.sdk.name,\n      version: metadata.sdk.version\n    };\n  }\n  if (!!tunnel && !!dsn) {\n    headers.dsn = dsnToString(dsn);\n  }\n  return createEnvelope(headers, [createLogContainerEnvelopeItem(logs)]);\n}\nexport {\n  createLogContainerEnvelopeItem,\n  createLogEnvelope\n};\n","import { GLOBAL_OBJ } from \"../utils-hoist/worldwide.js\";\nimport { createLogEnvelope } from \"./envelope.js\";\nGLOBAL_OBJ._sentryClientToLogBufferMap = /* @__PURE__ */ new WeakMap();\nfunction _INTERNAL_flushLogsBuffer(client, maybeLogBuffer) {\n  var _a;\n  const logBuffer = maybeLogBuffer ?? _INTERNAL_getLogBuffer(client) ?? [];\n  if (logBuffer.length === 0) {\n    return;\n  }\n  const clientOptions = client.getOptions();\n  const envelope = createLogEnvelope(logBuffer, clientOptions._metadata, clientOptions.tunnel, client.getDsn());\n  (_a = GLOBAL_OBJ._sentryClientToLogBufferMap) == null ? void 0 : _a.set(client, []);\n  client.emit(\"flushLogs\");\n  client.sendEnvelope(envelope);\n}\nfunction _INTERNAL_getLogBuffer(client) {\n  var _a;\n  return (_a = GLOBAL_OBJ._sentryClientToLogBufferMap) == null ? void 0 : _a.get(client);\n}\nexport {\n  _INTERNAL_flushLogsBuffer,\n  _INTERNAL_getLogBuffer\n};\n","function addAutoIpAddressToUser(objWithMaybeUser) {\n  var _a;\n  if (((_a = objWithMaybeUser.user) == null ? void 0 : _a.ip_address) === void 0) {\n    objWithMaybeUser.user = {\n      ...objWithMaybeUser.user,\n      ip_address: \"{{auto}}\"\n    };\n  }\n}\nfunction addAutoIpAddressToSession(session) {\n  var _a;\n  if (\"aggregates\" in session) {\n    if (((_a = session.attrs) == null ? void 0 : _a[\"ip_address\"]) === void 0) {\n      session.attrs = {\n        ...session.attrs,\n        ip_address: \"{{auto}}\"\n      };\n    }\n  } else {\n    if (session.ipAddress === void 0) {\n      session.ipAddress = \"{{auto}}\";\n    }\n  }\n}\nexport {\n  addAutoIpAddressToSession,\n  addAutoIpAddressToUser\n};\n","function getSDKSource() {\n  return \"npm\";\n}\nexport {\n  getSDKSource\n};\n","import { eventFromException, eventFromMessage } from \"./eventbuilder.js\";\nimport { WINDOW } from \"./helpers.js\";\nimport { Client } from \"../../../../core/build/esm/client.js\";\nimport { applySdkMetadata } from \"../../../../core/build/esm/utils/sdkMetadata.js\";\nimport { _INTERNAL_flushLogsBuffer } from \"../../../../core/build/esm/logs/exports.js\";\nimport { addAutoIpAddressToUser, addAutoIpAddressToSession } from \"../../../../core/build/esm/utils/ipAddress.js\";\nimport { getSDKSource } from \"../../../../core/build/esm/utils-hoist/env.js\";\nconst DEFAULT_FLUSH_INTERVAL = 5e3;\nclass BrowserClient extends Client {\n  /**\n   * Creates a new Browser SDK instance.\n   *\n   * @param options Configuration options for this SDK.\n   */\n  constructor(options) {\n    const opts = {\n      // We default this to true, as it is the safer scenario\n      parentSpanIsAlwaysRootSpan: true,\n      ...options\n    };\n    const sdkSource = WINDOW.SENTRY_SDK_SOURCE || getSDKSource();\n    applySdkMetadata(opts, \"browser\", [\"browser\"], sdkSource);\n    super(opts);\n    const client = this;\n    const { sendDefaultPii, _experiments } = client._options;\n    const enableLogs = _experiments == null ? void 0 : _experiments.enableLogs;\n    if (opts.sendClientReports && WINDOW.document) {\n      WINDOW.document.addEventListener(\"visibilitychange\", () => {\n        if (WINDOW.document.visibilityState === \"hidden\") {\n          this._flushOutcomes();\n          if (enableLogs) {\n            _INTERNAL_flushLogsBuffer(client);\n          }\n        }\n      });\n    }\n    if (enableLogs) {\n      client.on(\"flush\", () => {\n        _INTERNAL_flushLogsBuffer(client);\n      });\n      client.on(\"afterCaptureLog\", () => {\n        if (client._logFlushIdleTimeout) {\n          clearTimeout(client._logFlushIdleTimeout);\n        }\n        client._logFlushIdleTimeout = setTimeout(() => {\n          _INTERNAL_flushLogsBuffer(client);\n        }, DEFAULT_FLUSH_INTERVAL);\n      });\n    }\n    if (sendDefaultPii) {\n      client.on(\"postprocessEvent\", addAutoIpAddressToUser);\n      client.on(\"beforeSendSession\", addAutoIpAddressToSession);\n    }\n  }\n  /**\n   * @inheritDoc\n   */\n  eventFromException(exception, hint) {\n    return eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);\n  }\n  /**\n   * @inheritDoc\n   */\n  eventFromMessage(message, level = \"info\", hint) {\n    return eventFromMessage(this._options.stackParser, message, level, hint, this._options.attachStacktrace);\n  }\n  /**\n   * @inheritDoc\n   */\n  _prepareEvent(event, hint, currentScope, isolationScope) {\n    event.platform = event.platform || \"javascript\";\n    return super._prepareEvent(event, hint, currentScope, isolationScope);\n  }\n}\nexport {\n  BrowserClient\n};\n","const DEBUG_BUILD = typeof __SENTRY_DEBUG__ === \"undefined\" || __SENTRY_DEBUG__;\nexport {\n  DEBUG_BUILD\n};\n","import { DEBUG_BUILD } from \"../../debug-build.js\";\nimport { logger } from \"../logger.js\";\nimport { getFunctionName } from \"../stacktrace.js\";\nconst handlers = {};\nconst instrumented = {};\nfunction addHandler(type, handler) {\n  handlers[type] = handlers[type] || [];\n  handlers[type].push(handler);\n}\nfunction maybeInstrument(type, instrumentFn) {\n  if (!instrumented[type]) {\n    instrumented[type] = true;\n    try {\n      instrumentFn();\n    } catch (e) {\n      DEBUG_BUILD && logger.error(`Error while instrumenting ${type}`, e);\n    }\n  }\n}\nfunction triggerHandlers(type, data) {\n  const typeHandlers = type && handlers[type];\n  if (!typeHandlers) {\n    return;\n  }\n  for (const handler of typeHandlers) {\n    try {\n      handler(data);\n    } catch (e) {\n      DEBUG_BUILD && logger.error(\n        `Error while triggering instrumentation handler.\nType: ${type}\nName: ${getFunctionName(handler)}\nError:`,\n        e\n      );\n    }\n  }\n}\nexport {\n  addHandler,\n  maybeInstrument,\n  triggerHandlers\n};\n","import { CONSOLE_LEVELS, originalConsoleMethods } from \"../logger.js\";\nimport { fill } from \"../object.js\";\nimport { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nfunction addConsoleInstrumentationHandler(handler) {\n  const type = \"console\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentConsole);\n}\nfunction instrumentConsole() {\n  if (!(\"console\" in GLOBAL_OBJ)) {\n    return;\n  }\n  CONSOLE_LEVELS.forEach(function(level) {\n    if (!(level in GLOBAL_OBJ.console)) {\n      return;\n    }\n    fill(GLOBAL_OBJ.console, level, function(originalConsoleMethod) {\n      originalConsoleMethods[level] = originalConsoleMethod;\n      return function(...args) {\n        const handlerData = { args, level };\n        triggerHandlers(\"console\", handlerData);\n        const log = originalConsoleMethods[level];\n        log == null ? void 0 : log.apply(GLOBAL_OBJ.console, args);\n      };\n    });\n  });\n}\nexport {\n  addConsoleInstrumentationHandler\n};\n","import { GLOBAL_OBJ } from \"../../../../@sentry/core/build/esm/utils-hoist/worldwide.js\";\nconst WINDOW = GLOBAL_OBJ;\nexport {\n  WINDOW\n};\n","import { WINDOW } from \"../types.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"../../../../../@sentry/core/build/esm/utils-hoist/instrument/handlers.js\";\nimport { fill, addNonEnumerableProperty } from \"../../../../../@sentry/core/build/esm/utils-hoist/object.js\";\nimport { uuid4 } from \"../../../../../@sentry/core/build/esm/utils-hoist/misc.js\";\nconst DEBOUNCE_DURATION = 1e3;\nlet debounceTimerID;\nlet lastCapturedEventType;\nlet lastCapturedEventTargetId;\nfunction addClickKeypressInstrumentationHandler(handler) {\n  const type = \"dom\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentDOM);\n}\nfunction instrumentDOM() {\n  if (!WINDOW.document) {\n    return;\n  }\n  const triggerDOMHandler = triggerHandlers.bind(null, \"dom\");\n  const globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n  WINDOW.document.addEventListener(\"click\", globalDOMEventHandler, false);\n  WINDOW.document.addEventListener(\"keypress\", globalDOMEventHandler, false);\n  [\"EventTarget\", \"Node\"].forEach((target) => {\n    var _a, _b;\n    const globalObject = WINDOW;\n    const proto = (_a = globalObject[target]) == null ? void 0 : _a.prototype;\n    if (!((_b = proto == null ? void 0 : proto.hasOwnProperty) == null ? void 0 : _b.call(proto, \"addEventListener\"))) {\n      return;\n    }\n    fill(proto, \"addEventListener\", function(originalAddEventListener) {\n      return function(type, listener, options) {\n        if (type === \"click\" || type == \"keypress\") {\n          try {\n            const handlers = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {};\n            const handlerForType = handlers[type] = handlers[type] || { refCount: 0 };\n            if (!handlerForType.handler) {\n              const handler = makeDOMEventHandler(triggerDOMHandler);\n              handlerForType.handler = handler;\n              originalAddEventListener.call(this, type, handler, options);\n            }\n            handlerForType.refCount++;\n          } catch (e) {\n          }\n        }\n        return originalAddEventListener.call(this, type, listener, options);\n      };\n    });\n    fill(\n      proto,\n      \"removeEventListener\",\n      function(originalRemoveEventListener) {\n        return function(type, listener, options) {\n          if (type === \"click\" || type == \"keypress\") {\n            try {\n              const handlers = this.__sentry_instrumentation_handlers__ || {};\n              const handlerForType = handlers[type];\n              if (handlerForType) {\n                handlerForType.refCount--;\n                if (handlerForType.refCount <= 0) {\n                  originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n                  handlerForType.handler = void 0;\n                  delete handlers[type];\n                }\n                if (Object.keys(handlers).length === 0) {\n                  delete this.__sentry_instrumentation_handlers__;\n                }\n              }\n            } catch (e) {\n            }\n          }\n          return originalRemoveEventListener.call(this, type, listener, options);\n        };\n      }\n    );\n  });\n}\nfunction isSimilarToLastCapturedEvent(event) {\n  if (event.type !== lastCapturedEventType) {\n    return false;\n  }\n  try {\n    if (!event.target || event.target._sentryId !== lastCapturedEventTargetId) {\n      return false;\n    }\n  } catch (e) {\n  }\n  return true;\n}\nfunction shouldSkipDOMEvent(eventType, target) {\n  if (eventType !== \"keypress\") {\n    return false;\n  }\n  if (!(target == null ? void 0 : target.tagName)) {\n    return true;\n  }\n  if (target.tagName === \"INPUT\" || target.tagName === \"TEXTAREA\" || target.isContentEditable) {\n    return false;\n  }\n  return true;\n}\nfunction makeDOMEventHandler(handler, globalListener = false) {\n  return (event) => {\n    if (!event || event[\"_sentryCaptured\"]) {\n      return;\n    }\n    const target = getEventTarget(event);\n    if (shouldSkipDOMEvent(event.type, target)) {\n      return;\n    }\n    addNonEnumerableProperty(event, \"_sentryCaptured\", true);\n    if (target && !target._sentryId) {\n      addNonEnumerableProperty(target, \"_sentryId\", uuid4());\n    }\n    const name = event.type === \"keypress\" ? \"input\" : event.type;\n    if (!isSimilarToLastCapturedEvent(event)) {\n      const handlerData = { event, name, global: globalListener };\n      handler(handlerData);\n      lastCapturedEventType = event.type;\n      lastCapturedEventTargetId = target ? target._sentryId : void 0;\n    }\n    clearTimeout(debounceTimerID);\n    debounceTimerID = WINDOW.setTimeout(() => {\n      lastCapturedEventTargetId = void 0;\n      lastCapturedEventType = void 0;\n    }, DEBOUNCE_DURATION);\n  };\n}\nfunction getEventTarget(event) {\n  try {\n    return event.target;\n  } catch (e) {\n    return null;\n  }\n}\nexport {\n  addClickKeypressInstrumentationHandler,\n  instrumentDOM\n};\n","import { WINDOW } from \"../types.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"../../../../../@sentry/core/build/esm/utils-hoist/instrument/handlers.js\";\nimport { timestampInSeconds } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { isString } from \"../../../../../@sentry/core/build/esm/utils-hoist/is.js\";\nconst SENTRY_XHR_DATA_KEY = \"__sentry_xhr_v3__\";\nfunction addXhrInstrumentationHandler(handler) {\n  const type = \"xhr\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentXHR);\n}\nfunction instrumentXHR() {\n  if (!WINDOW.XMLHttpRequest) {\n    return;\n  }\n  const xhrproto = XMLHttpRequest.prototype;\n  xhrproto.open = new Proxy(xhrproto.open, {\n    apply(originalOpen, xhrOpenThisArg, xhrOpenArgArray) {\n      const virtualError = new Error();\n      const startTimestamp = timestampInSeconds() * 1e3;\n      const method = isString(xhrOpenArgArray[0]) ? xhrOpenArgArray[0].toUpperCase() : void 0;\n      const url = parseXhrUrlArg(xhrOpenArgArray[1]);\n      if (!method || !url) {\n        return originalOpen.apply(xhrOpenThisArg, xhrOpenArgArray);\n      }\n      xhrOpenThisArg[SENTRY_XHR_DATA_KEY] = {\n        method,\n        url,\n        request_headers: {}\n      };\n      if (method === \"POST\" && url.match(/sentry_key/)) {\n        xhrOpenThisArg.__sentry_own_request__ = true;\n      }\n      const onreadystatechangeHandler = () => {\n        const xhrInfo = xhrOpenThisArg[SENTRY_XHR_DATA_KEY];\n        if (!xhrInfo) {\n          return;\n        }\n        if (xhrOpenThisArg.readyState === 4) {\n          try {\n            xhrInfo.status_code = xhrOpenThisArg.status;\n          } catch (e) {\n          }\n          const handlerData = {\n            endTimestamp: timestampInSeconds() * 1e3,\n            startTimestamp,\n            xhr: xhrOpenThisArg,\n            virtualError\n          };\n          triggerHandlers(\"xhr\", handlerData);\n        }\n      };\n      if (\"onreadystatechange\" in xhrOpenThisArg && typeof xhrOpenThisArg.onreadystatechange === \"function\") {\n        xhrOpenThisArg.onreadystatechange = new Proxy(xhrOpenThisArg.onreadystatechange, {\n          apply(originalOnreadystatechange, onreadystatechangeThisArg, onreadystatechangeArgArray) {\n            onreadystatechangeHandler();\n            return originalOnreadystatechange.apply(onreadystatechangeThisArg, onreadystatechangeArgArray);\n          }\n        });\n      } else {\n        xhrOpenThisArg.addEventListener(\"readystatechange\", onreadystatechangeHandler);\n      }\n      xhrOpenThisArg.setRequestHeader = new Proxy(xhrOpenThisArg.setRequestHeader, {\n        apply(originalSetRequestHeader, setRequestHeaderThisArg, setRequestHeaderArgArray) {\n          const [header, value] = setRequestHeaderArgArray;\n          const xhrInfo = setRequestHeaderThisArg[SENTRY_XHR_DATA_KEY];\n          if (xhrInfo && isString(header) && isString(value)) {\n            xhrInfo.request_headers[header.toLowerCase()] = value;\n          }\n          return originalSetRequestHeader.apply(setRequestHeaderThisArg, setRequestHeaderArgArray);\n        }\n      });\n      return originalOpen.apply(xhrOpenThisArg, xhrOpenArgArray);\n    }\n  });\n  xhrproto.send = new Proxy(xhrproto.send, {\n    apply(originalSend, sendThisArg, sendArgArray) {\n      const sentryXhrData = sendThisArg[SENTRY_XHR_DATA_KEY];\n      if (!sentryXhrData) {\n        return originalSend.apply(sendThisArg, sendArgArray);\n      }\n      if (sendArgArray[0] !== void 0) {\n        sentryXhrData.body = sendArgArray[0];\n      }\n      const handlerData = {\n        startTimestamp: timestampInSeconds() * 1e3,\n        xhr: sendThisArg\n      };\n      triggerHandlers(\"xhr\", handlerData);\n      return originalSend.apply(sendThisArg, sendArgArray);\n    }\n  });\n}\nfunction parseXhrUrlArg(url) {\n  if (isString(url)) {\n    return url;\n  }\n  try {\n    return url.toString();\n  } catch {\n  }\n  return void 0;\n}\nexport {\n  SENTRY_XHR_DATA_KEY,\n  addXhrInstrumentationHandler,\n  instrumentXHR\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { logger } from \"./logger.js\";\nimport { GLOBAL_OBJ } from \"./worldwide.js\";\nconst WINDOW = GLOBAL_OBJ;\nfunction supportsHistory() {\n  return \"history\" in WINDOW && !!WINDOW.history;\n}\nfunction supportsFetch() {\n  if (!(\"fetch\" in WINDOW)) {\n    return false;\n  }\n  try {\n    new Headers();\n    new Request(\"http://www.example.com\");\n    new Response();\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nfunction isNativeFunction(func) {\n  return func && /^function\\s+\\w+\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\nfunction supportsNativeFetch() {\n  var _a;\n  if (typeof EdgeRuntime === \"string\") {\n    return true;\n  }\n  if (!supportsFetch()) {\n    return false;\n  }\n  if (isNativeFunction(WINDOW.fetch)) {\n    return true;\n  }\n  let result = false;\n  const doc = WINDOW.document;\n  if (doc && typeof doc.createElement === \"function\") {\n    try {\n      const sandbox = doc.createElement(\"iframe\");\n      sandbox.hidden = true;\n      doc.head.appendChild(sandbox);\n      if ((_a = sandbox.contentWindow) == null ? void 0 : _a.fetch) {\n        result = isNativeFunction(sandbox.contentWindow.fetch);\n      }\n      doc.head.removeChild(sandbox);\n    } catch (err) {\n      DEBUG_BUILD && logger.warn(\"Could not create sandbox iframe for pure fetch check, bailing to window.fetch: \", err);\n    }\n  }\n  return result;\n}\nexport {\n  isNativeFunction,\n  supportsFetch,\n  supportsHistory,\n  supportsNativeFetch\n};\n","import { isError, isRequest } from \"../is.js\";\nimport { fill, addNonEnumerableProperty } from \"../object.js\";\nimport { supportsNativeFetch } from \"../supports.js\";\nimport { timestampInSeconds } from \"../time.js\";\nimport { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nfunction addFetchInstrumentationHandler(handler, skipNativeFetchCheck) {\n  const type = \"fetch\";\n  addHandler(type, handler);\n  maybeInstrument(type, () => instrumentFetch(void 0, skipNativeFetchCheck));\n}\nfunction addFetchEndInstrumentationHandler(handler) {\n  const type = \"fetch-body-resolved\";\n  addHandler(type, handler);\n  maybeInstrument(type, () => instrumentFetch(streamHandler));\n}\nfunction instrumentFetch(onFetchResolved, skipNativeFetchCheck = false) {\n  if (skipNativeFetchCheck && !supportsNativeFetch()) {\n    return;\n  }\n  fill(GLOBAL_OBJ, \"fetch\", function(originalFetch) {\n    return function(...args) {\n      const virtualError = new Error();\n      const { method, url } = parseFetchArgs(args);\n      const handlerData = {\n        args,\n        fetchData: {\n          method,\n          url\n        },\n        startTimestamp: timestampInSeconds() * 1e3,\n        // // Adding the error to be able to fingerprint the failed fetch event in HttpClient instrumentation\n        virtualError,\n        headers: getHeadersFromFetchArgs(args)\n      };\n      if (!onFetchResolved) {\n        triggerHandlers(\"fetch\", {\n          ...handlerData\n        });\n      }\n      return originalFetch.apply(GLOBAL_OBJ, args).then(\n        async (response) => {\n          if (onFetchResolved) {\n            onFetchResolved(response);\n          } else {\n            triggerHandlers(\"fetch\", {\n              ...handlerData,\n              endTimestamp: timestampInSeconds() * 1e3,\n              response\n            });\n          }\n          return response;\n        },\n        (error) => {\n          triggerHandlers(\"fetch\", {\n            ...handlerData,\n            endTimestamp: timestampInSeconds() * 1e3,\n            error\n          });\n          if (isError(error) && error.stack === void 0) {\n            error.stack = virtualError.stack;\n            addNonEnumerableProperty(error, \"framesToPop\", 1);\n          }\n          if (error instanceof TypeError && (error.message === \"Failed to fetch\" || error.message === \"Load failed\" || error.message === \"NetworkError when attempting to fetch resource.\")) {\n            try {\n              const url2 = new URL(handlerData.fetchData.url);\n              error.message = `${error.message} (${url2.host})`;\n            } catch {\n            }\n          }\n          throw error;\n        }\n      );\n    };\n  });\n}\nasync function resolveResponse(res, onFinishedResolving) {\n  if (res == null ? void 0 : res.body) {\n    const body = res.body;\n    const responseReader = body.getReader();\n    const maxFetchDurationTimeout = setTimeout(\n      () => {\n        body.cancel().then(null, () => {\n        });\n      },\n      90 * 1e3\n      // 90s\n    );\n    let readingActive = true;\n    while (readingActive) {\n      let chunkTimeout;\n      try {\n        chunkTimeout = setTimeout(() => {\n          body.cancel().then(null, () => {\n          });\n        }, 5e3);\n        const { done } = await responseReader.read();\n        clearTimeout(chunkTimeout);\n        if (done) {\n          onFinishedResolving();\n          readingActive = false;\n        }\n      } catch (error) {\n        readingActive = false;\n      } finally {\n        clearTimeout(chunkTimeout);\n      }\n    }\n    clearTimeout(maxFetchDurationTimeout);\n    responseReader.releaseLock();\n    body.cancel().then(null, () => {\n    });\n  }\n}\nfunction streamHandler(response) {\n  let clonedResponseForResolving;\n  try {\n    clonedResponseForResolving = response.clone();\n  } catch {\n    return;\n  }\n  resolveResponse(clonedResponseForResolving, () => {\n    triggerHandlers(\"fetch-body-resolved\", {\n      endTimestamp: timestampInSeconds() * 1e3,\n      response\n    });\n  });\n}\nfunction hasProp(obj, prop) {\n  return !!obj && typeof obj === \"object\" && !!obj[prop];\n}\nfunction getUrlFromResource(resource) {\n  if (typeof resource === \"string\") {\n    return resource;\n  }\n  if (!resource) {\n    return \"\";\n  }\n  if (hasProp(resource, \"url\")) {\n    return resource.url;\n  }\n  if (resource.toString) {\n    return resource.toString();\n  }\n  return \"\";\n}\nfunction parseFetchArgs(fetchArgs) {\n  if (fetchArgs.length === 0) {\n    return { method: \"GET\", url: \"\" };\n  }\n  if (fetchArgs.length === 2) {\n    const [url, options] = fetchArgs;\n    return {\n      url: getUrlFromResource(url),\n      method: hasProp(options, \"method\") ? String(options.method).toUpperCase() : \"GET\"\n    };\n  }\n  const arg = fetchArgs[0];\n  return {\n    url: getUrlFromResource(arg),\n    method: hasProp(arg, \"method\") ? String(arg.method).toUpperCase() : \"GET\"\n  };\n}\nfunction getHeadersFromFetchArgs(fetchArgs) {\n  const [requestArgument, optionsArgument] = fetchArgs;\n  try {\n    if (typeof optionsArgument === \"object\" && optionsArgument !== null && \"headers\" in optionsArgument && optionsArgument.headers) {\n      return new Headers(optionsArgument.headers);\n    }\n    if (isRequest(requestArgument)) {\n      return new Headers(requestArgument.headers);\n    }\n  } catch {\n  }\n  return;\n}\nexport {\n  addFetchEndInstrumentationHandler,\n  addFetchInstrumentationHandler,\n  parseFetchArgs\n};\n","import { WINDOW } from \"../types.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"../../../../../@sentry/core/build/esm/utils-hoist/instrument/handlers.js\";\nimport { supportsHistory } from \"../../../../../@sentry/core/build/esm/utils-hoist/supports.js\";\nimport { fill } from \"../../../../../@sentry/core/build/esm/utils-hoist/object.js\";\nlet lastHref;\nfunction addHistoryInstrumentationHandler(handler) {\n  const type = \"history\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentHistory);\n}\nfunction instrumentHistory() {\n  WINDOW.addEventListener(\"popstate\", () => {\n    const to = WINDOW.location.href;\n    const from = lastHref;\n    lastHref = to;\n    if (from === to) {\n      return;\n    }\n    const handlerData = { from, to };\n    triggerHandlers(\"history\", handlerData);\n  });\n  if (!supportsHistory()) {\n    return;\n  }\n  function historyReplacementFunction(originalHistoryFunction) {\n    return function(...args) {\n      const url = args.length > 2 ? args[2] : void 0;\n      if (url) {\n        const from = lastHref;\n        const to = String(url);\n        lastHref = to;\n        if (from === to) {\n          return originalHistoryFunction.apply(this, args);\n        }\n        const handlerData = { from, to };\n        triggerHandlers(\"history\", handlerData);\n      }\n      return originalHistoryFunction.apply(this, args);\n    };\n  }\n  fill(WINDOW.history, \"pushState\", historyReplacementFunction);\n  fill(WINDOW.history, \"replaceState\", historyReplacementFunction);\n}\nexport {\n  addHistoryInstrumentationHandler,\n  instrumentHistory\n};\n","import { getClient, getIsolationScope } from \"./currentScopes.js\";\nimport { consoleSandbox } from \"./utils-hoist/logger.js\";\nimport { dateTimestampInSeconds } from \"./utils-hoist/time.js\";\nconst DEFAULT_BREADCRUMBS = 100;\nfunction addBreadcrumb(breadcrumb, hint) {\n  const client = getClient();\n  const isolationScope = getIsolationScope();\n  if (!client)\n    return;\n  const { beforeBreadcrumb = null, maxBreadcrumbs = DEFAULT_BREADCRUMBS } = client.getOptions();\n  if (maxBreadcrumbs <= 0)\n    return;\n  const timestamp = dateTimestampInSeconds();\n  const mergedBreadcrumb = { timestamp, ...breadcrumb };\n  const finalBreadcrumb = beforeBreadcrumb ? consoleSandbox(() => beforeBreadcrumb(mergedBreadcrumb, hint)) : mergedBreadcrumb;\n  if (finalBreadcrumb === null)\n    return;\n  if (client.emit) {\n    client.emit(\"beforeAddBreadcrumb\", finalBreadcrumb, hint);\n  }\n  isolationScope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n}\nexport {\n  addBreadcrumb\n};\n","const DEFAULT_BASE_URL = \"thismessage:/\";\nfunction isURLObjectRelative(url) {\n  return \"isRelative\" in url;\n}\nfunction parseStringToURLObject(url, urlBase) {\n  const isRelative = url.indexOf(\"://\") <= 0 && url.indexOf(\"//\") !== 0;\n  const base = urlBase ?? (isRelative ? DEFAULT_BASE_URL : void 0);\n  try {\n    if (\"canParse\" in URL && !URL.canParse(url, base)) {\n      return void 0;\n    }\n    const fullUrlObject = new URL(url, base);\n    if (isRelative) {\n      return {\n        isRelative,\n        pathname: fullUrlObject.pathname,\n        search: fullUrlObject.search,\n        hash: fullUrlObject.hash\n      };\n    }\n    return fullUrlObject;\n  } catch {\n  }\n  return void 0;\n}\nfunction getSanitizedUrlStringFromUrlObject(url) {\n  if (isURLObjectRelative(url)) {\n    return url.pathname;\n  }\n  const newUrl = new URL(url);\n  newUrl.search = \"\";\n  newUrl.hash = \"\";\n  if ([\"80\", \"443\"].includes(newUrl.port)) {\n    newUrl.port = \"\";\n  }\n  if (newUrl.password) {\n    newUrl.password = \"%filtered%\";\n  }\n  if (newUrl.username) {\n    newUrl.username = \"%filtered%\";\n  }\n  return newUrl.toString();\n}\nfunction parseUrl(url) {\n  if (!url) {\n    return {};\n  }\n  const match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n  if (!match) {\n    return {};\n  }\n  const query = match[6] || \"\";\n  const fragment = match[8] || \"\";\n  return {\n    host: match[4],\n    path: match[5],\n    protocol: match[2],\n    search: query,\n    hash: fragment,\n    relative: match[5] + query + fragment\n    // everything minus origin\n  };\n}\nfunction stripUrlQueryAndFragment(urlPath) {\n  return urlPath.split(/[?#]/, 1)[0];\n}\nexport {\n  getSanitizedUrlStringFromUrlObject,\n  isURLObjectRelative,\n  parseStringToURLObject,\n  parseUrl,\n  stripUrlQueryAndFragment\n};\n","function severityLevelFromString(level) {\n  return level === \"warn\" ? \"warning\" : [\"fatal\", \"error\", \"warning\", \"log\", \"info\", \"debug\"].includes(level) ? level : \"log\";\n}\nexport {\n  severityLevelFromString\n};\n","function getBreadcrumbLogLevelFromHttpStatusCode(statusCode) {\n  if (statusCode === void 0) {\n    return void 0;\n  } else if (statusCode >= 400 && statusCode < 500) {\n    return \"warning\";\n  } else if (statusCode >= 500) {\n    return \"error\";\n  } else {\n    return void 0;\n  }\n}\nexport {\n  getBreadcrumbLogLevelFromHttpStatusCode\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { addConsoleInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/console.js\";\nimport { addClickKeypressInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/dom.js\";\nimport { addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/xhr.js\";\nimport { addFetchInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/fetch.js\";\nimport { addHistoryInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/history.js\";\nimport { getClient } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { addBreadcrumb } from \"../../../../../core/build/esm/breadcrumbs.js\";\nimport { getEventDescription } from \"../../../../../core/build/esm/utils-hoist/misc.js\";\nimport { parseUrl } from \"../../../../../core/build/esm/utils-hoist/url.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { htmlTreeAsString, getComponentName } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { severityLevelFromString } from \"../../../../../core/build/esm/utils-hoist/severity.js\";\nimport { safeJoin } from \"../../../../../core/build/esm/utils-hoist/string.js\";\nimport { getBreadcrumbLogLevelFromHttpStatusCode } from \"../../../../../core/build/esm/utils-hoist/breadcrumb-log-level.js\";\nconst MAX_ALLOWED_STRING_LENGTH = 1024;\nconst INTEGRATION_NAME = \"Breadcrumbs\";\nconst _breadcrumbsIntegration = (options = {}) => {\n  const _options = {\n    console: true,\n    dom: true,\n    fetch: true,\n    history: true,\n    sentry: true,\n    xhr: true,\n    ...options\n  };\n  return {\n    name: INTEGRATION_NAME,\n    setup(client) {\n      if (_options.console) {\n        addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));\n      }\n      if (_options.dom) {\n        addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(client, _options.dom));\n      }\n      if (_options.xhr) {\n        addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(client));\n      }\n      if (_options.fetch) {\n        addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(client));\n      }\n      if (_options.history) {\n        addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(client));\n      }\n      if (_options.sentry) {\n        client.on(\"beforeSendEvent\", _getSentryBreadcrumbHandler(client));\n      }\n    }\n  };\n};\nconst breadcrumbsIntegration = defineIntegration(_breadcrumbsIntegration);\nfunction _getSentryBreadcrumbHandler(client) {\n  return function addSentryBreadcrumb(event) {\n    if (getClient() !== client) {\n      return;\n    }\n    addBreadcrumb(\n      {\n        category: `sentry.${event.type === \"transaction\" ? \"transaction\" : \"event\"}`,\n        event_id: event.event_id,\n        level: event.level,\n        message: getEventDescription(event)\n      },\n      {\n        event\n      }\n    );\n  };\n}\nfunction _getDomBreadcrumbHandler(client, dom) {\n  return function _innerDomBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    let target;\n    let componentName;\n    let keyAttrs = typeof dom === \"object\" ? dom.serializeAttribute : void 0;\n    let maxStringLength = typeof dom === \"object\" && typeof dom.maxStringLength === \"number\" ? dom.maxStringLength : void 0;\n    if (maxStringLength && maxStringLength > MAX_ALLOWED_STRING_LENGTH) {\n      DEBUG_BUILD && logger.warn(\n        `\\`dom.maxStringLength\\` cannot exceed ${MAX_ALLOWED_STRING_LENGTH}, but a value of ${maxStringLength} was configured. Sentry will use ${MAX_ALLOWED_STRING_LENGTH} instead.`\n      );\n      maxStringLength = MAX_ALLOWED_STRING_LENGTH;\n    }\n    if (typeof keyAttrs === \"string\") {\n      keyAttrs = [keyAttrs];\n    }\n    try {\n      const event = handlerData.event;\n      const element = _isEvent(event) ? event.target : event;\n      target = htmlTreeAsString(element, { keyAttrs, maxStringLength });\n      componentName = getComponentName(element);\n    } catch (e) {\n      target = \"<unknown>\";\n    }\n    if (target.length === 0) {\n      return;\n    }\n    const breadcrumb = {\n      category: `ui.${handlerData.name}`,\n      message: target\n    };\n    if (componentName) {\n      breadcrumb.data = { \"ui.component_name\": componentName };\n    }\n    addBreadcrumb(breadcrumb, {\n      event: handlerData.event,\n      name: handlerData.name,\n      global: handlerData.global\n    });\n  };\n}\nfunction _getConsoleBreadcrumbHandler(client) {\n  return function _consoleBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    const breadcrumb = {\n      category: \"console\",\n      data: {\n        arguments: handlerData.args,\n        logger: \"console\"\n      },\n      level: severityLevelFromString(handlerData.level),\n      message: safeJoin(handlerData.args, \" \")\n    };\n    if (handlerData.level === \"assert\") {\n      if (handlerData.args[0] === false) {\n        breadcrumb.message = `Assertion failed: ${safeJoin(handlerData.args.slice(1), \" \") || \"console.assert\"}`;\n        breadcrumb.data.arguments = handlerData.args.slice(1);\n      } else {\n        return;\n      }\n    }\n    addBreadcrumb(breadcrumb, {\n      input: handlerData.args,\n      level: handlerData.level\n    });\n  };\n}\nfunction _getXhrBreadcrumbHandler(client) {\n  return function _xhrBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    const { startTimestamp, endTimestamp } = handlerData;\n    const sentryXhrData = handlerData.xhr[SENTRY_XHR_DATA_KEY];\n    if (!startTimestamp || !endTimestamp || !sentryXhrData) {\n      return;\n    }\n    const { method, url, status_code, body } = sentryXhrData;\n    const data = {\n      method,\n      url,\n      status_code\n    };\n    const hint = {\n      xhr: handlerData.xhr,\n      input: body,\n      startTimestamp,\n      endTimestamp\n    };\n    const breadcrumb = {\n      category: \"xhr\",\n      data,\n      type: \"http\",\n      level: getBreadcrumbLogLevelFromHttpStatusCode(status_code)\n    };\n    client.emit(\"beforeOutgoingRequestBreadcrumb\", breadcrumb, hint);\n    addBreadcrumb(breadcrumb, hint);\n  };\n}\nfunction _getFetchBreadcrumbHandler(client) {\n  return function _fetchBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    const { startTimestamp, endTimestamp } = handlerData;\n    if (!endTimestamp) {\n      return;\n    }\n    if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === \"POST\") {\n      return;\n    }\n    ({\n      method: handlerData.fetchData.method,\n      url: handlerData.fetchData.url\n    });\n    if (handlerData.error) {\n      const data = handlerData.fetchData;\n      const hint = {\n        data: handlerData.error,\n        input: handlerData.args,\n        startTimestamp,\n        endTimestamp\n      };\n      const breadcrumb = {\n        category: \"fetch\",\n        data,\n        level: \"error\",\n        type: \"http\"\n      };\n      client.emit(\"beforeOutgoingRequestBreadcrumb\", breadcrumb, hint);\n      addBreadcrumb(breadcrumb, hint);\n    } else {\n      const response = handlerData.response;\n      const data = {\n        ...handlerData.fetchData,\n        status_code: response == null ? void 0 : response.status\n      };\n      handlerData.fetchData.request_body_size;\n      handlerData.fetchData.response_body_size;\n      response == null ? void 0 : response.status;\n      const hint = {\n        input: handlerData.args,\n        response,\n        startTimestamp,\n        endTimestamp\n      };\n      const breadcrumb = {\n        category: \"fetch\",\n        data,\n        type: \"http\",\n        level: getBreadcrumbLogLevelFromHttpStatusCode(data.status_code)\n      };\n      client.emit(\"beforeOutgoingRequestBreadcrumb\", breadcrumb, hint);\n      addBreadcrumb(breadcrumb, hint);\n    }\n  };\n}\nfunction _getHistoryBreadcrumbHandler(client) {\n  return function _historyBreadcrumb(handlerData) {\n    if (getClient() !== client) {\n      return;\n    }\n    let from = handlerData.from;\n    let to = handlerData.to;\n    const parsedLoc = parseUrl(WINDOW.location.href);\n    let parsedFrom = from ? parseUrl(from) : void 0;\n    const parsedTo = parseUrl(to);\n    if (!(parsedFrom == null ? void 0 : parsedFrom.path)) {\n      parsedFrom = parsedLoc;\n    }\n    if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n      to = parsedTo.relative;\n    }\n    if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n      from = parsedFrom.relative;\n    }\n    addBreadcrumb({\n      category: \"navigation\",\n      data: {\n        from,\n        to\n      }\n    });\n  };\n}\nfunction _isEvent(event) {\n  return !!event && !!event.target;\n}\nexport {\n  breadcrumbsIntegration\n};\n","import { WINDOW, wrap } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { fill, getOriginalFunction } from \"../../../../../core/build/esm/utils-hoist/object.js\";\nimport { getFunctionName } from \"../../../../../core/build/esm/utils-hoist/stacktrace.js\";\nconst DEFAULT_EVENT_TARGET = [\n  \"EventTarget\",\n  \"Window\",\n  \"Node\",\n  \"ApplicationCache\",\n  \"AudioTrackList\",\n  \"BroadcastChannel\",\n  \"ChannelMergerNode\",\n  \"CryptoOperation\",\n  \"EventSource\",\n  \"FileReader\",\n  \"HTMLUnknownElement\",\n  \"IDBDatabase\",\n  \"IDBRequest\",\n  \"IDBTransaction\",\n  \"KeyOperation\",\n  \"MediaController\",\n  \"MessagePort\",\n  \"ModalWindow\",\n  \"Notification\",\n  \"SVGElementInstance\",\n  \"Screen\",\n  \"SharedWorker\",\n  \"TextTrack\",\n  \"TextTrackCue\",\n  \"TextTrackList\",\n  \"WebSocket\",\n  \"WebSocketWorker\",\n  \"Worker\",\n  \"XMLHttpRequest\",\n  \"XMLHttpRequestEventTarget\",\n  \"XMLHttpRequestUpload\"\n];\nconst INTEGRATION_NAME = \"BrowserApiErrors\";\nconst _browserApiErrorsIntegration = (options = {}) => {\n  const _options = {\n    XMLHttpRequest: true,\n    eventTarget: true,\n    requestAnimationFrame: true,\n    setInterval: true,\n    setTimeout: true,\n    ...options\n  };\n  return {\n    name: INTEGRATION_NAME,\n    // TODO: This currently only works for the first client this is setup\n    // We may want to adjust this to check for client etc.\n    setupOnce() {\n      if (_options.setTimeout) {\n        fill(WINDOW, \"setTimeout\", _wrapTimeFunction);\n      }\n      if (_options.setInterval) {\n        fill(WINDOW, \"setInterval\", _wrapTimeFunction);\n      }\n      if (_options.requestAnimationFrame) {\n        fill(WINDOW, \"requestAnimationFrame\", _wrapRAF);\n      }\n      if (_options.XMLHttpRequest && \"XMLHttpRequest\" in WINDOW) {\n        fill(XMLHttpRequest.prototype, \"send\", _wrapXHR);\n      }\n      const eventTargetOption = _options.eventTarget;\n      if (eventTargetOption) {\n        const eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n        eventTarget.forEach(_wrapEventTarget);\n      }\n    }\n  };\n};\nconst browserApiErrorsIntegration = defineIntegration(_browserApiErrorsIntegration);\nfunction _wrapTimeFunction(original) {\n  return function(...args) {\n    const originalCallback = args[0];\n    args[0] = wrap(originalCallback, {\n      mechanism: {\n        data: { function: getFunctionName(original) },\n        handled: false,\n        type: \"instrument\"\n      }\n    });\n    return original.apply(this, args);\n  };\n}\nfunction _wrapRAF(original) {\n  return function(callback) {\n    return original.apply(this, [\n      wrap(callback, {\n        mechanism: {\n          data: {\n            function: \"requestAnimationFrame\",\n            handler: getFunctionName(original)\n          },\n          handled: false,\n          type: \"instrument\"\n        }\n      })\n    ]);\n  };\n}\nfunction _wrapXHR(originalSend) {\n  return function(...args) {\n    const xhr = this;\n    const xmlHttpRequestProps = [\"onload\", \"onerror\", \"onprogress\", \"onreadystatechange\"];\n    xmlHttpRequestProps.forEach((prop) => {\n      if (prop in xhr && typeof xhr[prop] === \"function\") {\n        fill(xhr, prop, function(original) {\n          const wrapOptions = {\n            mechanism: {\n              data: {\n                function: prop,\n                handler: getFunctionName(original)\n              },\n              handled: false,\n              type: \"instrument\"\n            }\n          };\n          const originalFunction = getOriginalFunction(original);\n          if (originalFunction) {\n            wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n          }\n          return wrap(original, wrapOptions);\n        });\n      }\n    });\n    return originalSend.apply(this, args);\n  };\n}\nfunction _wrapEventTarget(target) {\n  var _a, _b;\n  const globalObject = WINDOW;\n  const proto = (_a = globalObject[target]) == null ? void 0 : _a.prototype;\n  if (!((_b = proto == null ? void 0 : proto.hasOwnProperty) == null ? void 0 : _b.call(proto, \"addEventListener\"))) {\n    return;\n  }\n  fill(proto, \"addEventListener\", function(original) {\n    return function(eventName, fn, options) {\n      try {\n        if (isEventListenerObject(fn)) {\n          fn.handleEvent = wrap(fn.handleEvent, {\n            mechanism: {\n              data: {\n                function: \"handleEvent\",\n                handler: getFunctionName(fn),\n                target\n              },\n              handled: false,\n              type: \"instrument\"\n            }\n          });\n        }\n      } catch {\n      }\n      return original.apply(this, [\n        eventName,\n        wrap(fn, {\n          mechanism: {\n            data: {\n              function: \"addEventListener\",\n              handler: getFunctionName(fn),\n              target\n            },\n            handled: false,\n            type: \"instrument\"\n          }\n        }),\n        options\n      ]);\n    };\n  });\n  fill(proto, \"removeEventListener\", function(originalRemoveEventListener) {\n    return function(eventName, fn, options) {\n      try {\n        const originalEventHandler = fn.__sentry_wrapped__;\n        if (originalEventHandler) {\n          originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n        }\n      } catch (e) {\n      }\n      return originalRemoveEventListener.call(this, eventName, fn, options);\n    };\n  });\n}\nfunction isEventListenerObject(obj) {\n  return typeof obj.handleEvent === \"function\";\n}\nexport {\n  browserApiErrorsIntegration\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { startSession, captureSession } from \"../../../../../core/build/esm/exports.js\";\nimport { addHistoryInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/history.js\";\nconst browserSessionIntegration = defineIntegration(() => {\n  return {\n    name: \"BrowserSession\",\n    setupOnce() {\n      if (typeof WINDOW.document === \"undefined\") {\n        DEBUG_BUILD && logger.warn(\"Using the `browserSessionIntegration` in non-browser environments is not supported.\");\n        return;\n      }\n      startSession({ ignoreDuration: true });\n      captureSession();\n      addHistoryInstrumentationHandler(({ from, to }) => {\n        if (from !== void 0 && from !== to) {\n          startSession({ ignoreDuration: true });\n          captureSession();\n        }\n      });\n    }\n  };\n});\nexport {\n  browserSessionIntegration\n};\n","import { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nlet _oldOnErrorHandler = null;\nfunction addGlobalErrorInstrumentationHandler(handler) {\n  const type = \"error\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentError);\n}\nfunction instrumentError() {\n  _oldOnErrorHandler = GLOBAL_OBJ.onerror;\n  GLOBAL_OBJ.onerror = function(msg, url, line, column, error) {\n    const handlerData = {\n      column,\n      error,\n      line,\n      msg,\n      url\n    };\n    triggerHandlers(\"error\", handlerData);\n    if (_oldOnErrorHandler) {\n      return _oldOnErrorHandler.apply(this, arguments);\n    }\n    return false;\n  };\n  GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;\n}\nexport {\n  addGlobalErrorInstrumentationHandler\n};\n","import { GLOBAL_OBJ } from \"../worldwide.js\";\nimport { addHandler, maybeInstrument, triggerHandlers } from \"./handlers.js\";\nlet _oldOnUnhandledRejectionHandler = null;\nfunction addGlobalUnhandledRejectionInstrumentationHandler(handler) {\n  const type = \"unhandledrejection\";\n  addHandler(type, handler);\n  maybeInstrument(type, instrumentUnhandledRejection);\n}\nfunction instrumentUnhandledRejection() {\n  _oldOnUnhandledRejectionHandler = GLOBAL_OBJ.onunhandledrejection;\n  GLOBAL_OBJ.onunhandledrejection = function(e) {\n    const handlerData = e;\n    triggerHandlers(\"unhandledrejection\", handlerData);\n    if (_oldOnUnhandledRejectionHandler) {\n      return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n    }\n    return true;\n  };\n  GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;\n}\nexport {\n  addGlobalUnhandledRejectionInstrumentationHandler\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { eventFromUnknownInput } from \"../eventbuilder.js\";\nimport { shouldIgnoreOnError } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { addGlobalErrorInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/globalError.js\";\nimport { getClient } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { captureEvent } from \"../../../../../core/build/esm/exports.js\";\nimport { addGlobalUnhandledRejectionInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/globalUnhandledRejection.js\";\nimport { isPrimitive, isString } from \"../../../../../core/build/esm/utils-hoist/is.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { UNKNOWN_FUNCTION } from \"../../../../../core/build/esm/utils-hoist/stacktrace.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nconst INTEGRATION_NAME = \"GlobalHandlers\";\nconst _globalHandlersIntegration = (options = {}) => {\n  const _options = {\n    onerror: true,\n    onunhandledrejection: true,\n    ...options\n  };\n  return {\n    name: INTEGRATION_NAME,\n    setupOnce() {\n      Error.stackTraceLimit = 50;\n    },\n    setup(client) {\n      if (_options.onerror) {\n        _installGlobalOnErrorHandler(client);\n        globalHandlerLog(\"onerror\");\n      }\n      if (_options.onunhandledrejection) {\n        _installGlobalOnUnhandledRejectionHandler(client);\n        globalHandlerLog(\"onunhandledrejection\");\n      }\n    }\n  };\n};\nconst globalHandlersIntegration = defineIntegration(_globalHandlersIntegration);\nfunction _installGlobalOnErrorHandler(client) {\n  addGlobalErrorInstrumentationHandler((data) => {\n    const { stackParser, attachStacktrace } = getOptions();\n    if (getClient() !== client || shouldIgnoreOnError()) {\n      return;\n    }\n    const { msg, url, line, column, error } = data;\n    const event = _enhanceEventWithInitialFrame(\n      eventFromUnknownInput(stackParser, error || msg, void 0, attachStacktrace, false),\n      url,\n      line,\n      column\n    );\n    event.level = \"error\";\n    captureEvent(event, {\n      originalException: error,\n      mechanism: {\n        handled: false,\n        type: \"onerror\"\n      }\n    });\n  });\n}\nfunction _installGlobalOnUnhandledRejectionHandler(client) {\n  addGlobalUnhandledRejectionInstrumentationHandler((e) => {\n    const { stackParser, attachStacktrace } = getOptions();\n    if (getClient() !== client || shouldIgnoreOnError()) {\n      return;\n    }\n    const error = _getUnhandledRejectionError(e);\n    const event = isPrimitive(error) ? _eventFromRejectionWithPrimitive(error) : eventFromUnknownInput(stackParser, error, void 0, attachStacktrace, true);\n    event.level = \"error\";\n    captureEvent(event, {\n      originalException: error,\n      mechanism: {\n        handled: false,\n        type: \"onunhandledrejection\"\n      }\n    });\n  });\n}\nfunction _getUnhandledRejectionError(error) {\n  if (isPrimitive(error)) {\n    return error;\n  }\n  try {\n    if (\"reason\" in error) {\n      return error.reason;\n    }\n    if (\"detail\" in error && \"reason\" in error.detail) {\n      return error.detail.reason;\n    }\n  } catch {\n  }\n  return error;\n}\nfunction _eventFromRejectionWithPrimitive(reason) {\n  return {\n    exception: {\n      values: [\n        {\n          type: \"UnhandledRejection\",\n          // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n          value: `Non-Error promise rejection captured with value: ${String(reason)}`\n        }\n      ]\n    }\n  };\n}\nfunction _enhanceEventWithInitialFrame(event, url, line, column) {\n  const e = event.exception = event.exception || {};\n  const ev = e.values = e.values || [];\n  const ev0 = ev[0] = ev[0] || {};\n  const ev0s = ev0.stacktrace = ev0.stacktrace || {};\n  const ev0sf = ev0s.frames = ev0s.frames || [];\n  const colno = column;\n  const lineno = line;\n  const filename = isString(url) && url.length > 0 ? url : getLocationHref();\n  if (ev0sf.length === 0) {\n    ev0sf.push({\n      colno,\n      filename,\n      function: UNKNOWN_FUNCTION,\n      in_app: true,\n      lineno\n    });\n  }\n  return event;\n}\nfunction globalHandlerLog(type) {\n  DEBUG_BUILD && logger.log(`Global Handler attached: ${type}`);\n}\nfunction getOptions() {\n  const client = getClient();\n  const options = (client == null ? void 0 : client.getOptions()) || {\n    stackParser: () => [],\n    attachStacktrace: false\n  };\n  return options;\n}\nexport {\n  globalHandlersIntegration\n};\n","import { WINDOW } from \"../helpers.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nconst httpContextIntegration = defineIntegration(() => {\n  return {\n    name: \"HttpContext\",\n    preprocessEvent(event) {\n      var _a, _b;\n      if (!WINDOW.navigator && !WINDOW.location && !WINDOW.document) {\n        return;\n      }\n      const url = ((_a = event.request) == null ? void 0 : _a.url) || getLocationHref();\n      const { referrer } = WINDOW.document || {};\n      const { userAgent } = WINDOW.navigator || {};\n      const headers = {\n        ...(_b = event.request) == null ? void 0 : _b.headers,\n        ...referrer && { Referer: referrer },\n        ...userAgent && { \"User-Agent\": userAgent }\n      };\n      const request = {\n        ...event.request,\n        ...url && { url },\n        headers\n      };\n      event.request = request;\n    }\n  };\n});\nexport {\n  httpContextIntegration\n};\n","import { isInstanceOf } from \"./is.js\";\nfunction applyAggregateErrorsToEvent(exceptionFromErrorImplementation, parser, key, limit, event, hint) {\n  var _a;\n  if (!((_a = event.exception) == null ? void 0 : _a.values) || !hint || !isInstanceOf(hint.originalException, Error)) {\n    return;\n  }\n  const originalException = event.exception.values.length > 0 ? event.exception.values[event.exception.values.length - 1] : void 0;\n  if (originalException) {\n    event.exception.values = aggregateExceptionsFromError(\n      exceptionFromErrorImplementation,\n      parser,\n      limit,\n      hint.originalException,\n      key,\n      event.exception.values,\n      originalException,\n      0\n    );\n  }\n}\nfunction aggregateExceptionsFromError(exceptionFromErrorImplementation, parser, limit, error, key, prevExceptions, exception, exceptionId) {\n  if (prevExceptions.length >= limit + 1) {\n    return prevExceptions;\n  }\n  let newExceptions = [...prevExceptions];\n  if (isInstanceOf(error[key], Error)) {\n    applyExceptionGroupFieldsForParentException(exception, exceptionId);\n    const newException = exceptionFromErrorImplementation(parser, error[key]);\n    const newExceptionId = newExceptions.length;\n    applyExceptionGroupFieldsForChildException(newException, key, newExceptionId, exceptionId);\n    newExceptions = aggregateExceptionsFromError(\n      exceptionFromErrorImplementation,\n      parser,\n      limit,\n      error[key],\n      key,\n      [newException, ...newExceptions],\n      newException,\n      newExceptionId\n    );\n  }\n  if (Array.isArray(error.errors)) {\n    error.errors.forEach((childError, i) => {\n      if (isInstanceOf(childError, Error)) {\n        applyExceptionGroupFieldsForParentException(exception, exceptionId);\n        const newException = exceptionFromErrorImplementation(parser, childError);\n        const newExceptionId = newExceptions.length;\n        applyExceptionGroupFieldsForChildException(newException, `errors[${i}]`, newExceptionId, exceptionId);\n        newExceptions = aggregateExceptionsFromError(\n          exceptionFromErrorImplementation,\n          parser,\n          limit,\n          childError,\n          key,\n          [newException, ...newExceptions],\n          newException,\n          newExceptionId\n        );\n      }\n    });\n  }\n  return newExceptions;\n}\nfunction applyExceptionGroupFieldsForParentException(exception, exceptionId) {\n  exception.mechanism = exception.mechanism || { type: \"generic\", handled: true };\n  exception.mechanism = {\n    ...exception.mechanism,\n    ...exception.type === \"AggregateError\" && { is_exception_group: true },\n    exception_id: exceptionId\n  };\n}\nfunction applyExceptionGroupFieldsForChildException(exception, source, exceptionId, parentId) {\n  exception.mechanism = exception.mechanism || { type: \"generic\", handled: true };\n  exception.mechanism = {\n    ...exception.mechanism,\n    type: \"chained\",\n    source,\n    exception_id: exceptionId,\n    parent_id: parentId\n  };\n}\nexport {\n  applyAggregateErrorsToEvent\n};\n","import { exceptionFromError } from \"../eventbuilder.js\";\nimport { defineIntegration } from \"../../../../../core/build/esm/integration.js\";\nimport { applyAggregateErrorsToEvent } from \"../../../../../core/build/esm/utils-hoist/aggregate-errors.js\";\nconst DEFAULT_KEY = \"cause\";\nconst DEFAULT_LIMIT = 5;\nconst INTEGRATION_NAME = \"LinkedErrors\";\nconst _linkedErrorsIntegration = (options = {}) => {\n  const limit = options.limit || DEFAULT_LIMIT;\n  const key = options.key || DEFAULT_KEY;\n  return {\n    name: INTEGRATION_NAME,\n    preprocessEvent(event, hint, client) {\n      const options2 = client.getOptions();\n      applyAggregateErrorsToEvent(\n        // This differs from the LinkedErrors integration in core by using a different exceptionFromError function\n        exceptionFromError,\n        options2.stackParser,\n        key,\n        limit,\n        event,\n        hint\n      );\n    }\n  };\n};\nconst linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\nexport {\n  linkedErrorsIntegration\n};\n","import { createStackParser, UNKNOWN_FUNCTION } from \"../../../../core/build/esm/utils-hoist/stacktrace.js\";\nconst CHROME_PRIORITY = 30;\nconst GECKO_PRIORITY = 50;\nfunction createFrame(filename, func, lineno, colno) {\n  const frame = {\n    filename,\n    function: func === \"<anonymous>\" ? UNKNOWN_FUNCTION : func,\n    in_app: true\n    // All browser frames are considered in_app\n  };\n  if (lineno !== void 0) {\n    frame.lineno = lineno;\n  }\n  if (colno !== void 0) {\n    frame.colno = colno;\n  }\n  return frame;\n}\nconst chromeRegexNoFnName = /^\\s*at (\\S+?)(?::(\\d+))(?::(\\d+))\\s*$/i;\nconst chromeRegex = /^\\s*at (?:(.+?\\)(?: \\[.+\\])?|.*?) ?\\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nconst chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\nconst chromeStackParserFn = (line) => {\n  const noFnParts = chromeRegexNoFnName.exec(line);\n  if (noFnParts) {\n    const [, filename, line2, col] = noFnParts;\n    return createFrame(filename, UNKNOWN_FUNCTION, +line2, +col);\n  }\n  const parts = chromeRegex.exec(line);\n  if (parts) {\n    const isEval = parts[2] && parts[2].indexOf(\"eval\") === 0;\n    if (isEval) {\n      const subMatch = chromeEvalRegex.exec(parts[2]);\n      if (subMatch) {\n        parts[2] = subMatch[1];\n        parts[3] = subMatch[2];\n        parts[4] = subMatch[3];\n      }\n    }\n    const [func, filename] = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]);\n    return createFrame(filename, func, parts[3] ? +parts[3] : void 0, parts[4] ? +parts[4] : void 0);\n  }\n  return;\n};\nconst chromeStackLineParser = [CHROME_PRIORITY, chromeStackParserFn];\nconst geckoREgex = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:[-a-z]+)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nconst geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\nconst gecko = (line) => {\n  const parts = geckoREgex.exec(line);\n  if (parts) {\n    const isEval = parts[3] && parts[3].indexOf(\" > eval\") > -1;\n    if (isEval) {\n      const subMatch = geckoEvalRegex.exec(parts[3]);\n      if (subMatch) {\n        parts[1] = parts[1] || \"eval\";\n        parts[3] = subMatch[1];\n        parts[4] = subMatch[2];\n        parts[5] = \"\";\n      }\n    }\n    let filename = parts[3];\n    let func = parts[1] || UNKNOWN_FUNCTION;\n    [func, filename] = extractSafariExtensionDetails(func, filename);\n    return createFrame(filename, func, parts[4] ? +parts[4] : void 0, parts[5] ? +parts[5] : void 0);\n  }\n  return;\n};\nconst geckoStackLineParser = [GECKO_PRIORITY, gecko];\nconst defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser];\nconst defaultStackParser = createStackParser(...defaultStackLineParsers);\nconst extractSafariExtensionDetails = (func, filename) => {\n  const isSafariExtension = func.indexOf(\"safari-extension\") !== -1;\n  const isSafariWebExtension = func.indexOf(\"safari-web-extension\") !== -1;\n  return isSafariExtension || isSafariWebExtension ? [\n    func.indexOf(\"@\") !== -1 ? func.split(\"@\")[0] : UNKNOWN_FUNCTION,\n    isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`\n  ] : [func, filename];\n};\nexport {\n  chromeStackLineParser,\n  defaultStackLineParsers,\n  defaultStackParser,\n  geckoStackLineParser\n};\n","import { rejectedSyncPromise, SyncPromise, resolvedSyncPromise } from \"./syncpromise.js\";\nconst SENTRY_BUFFER_FULL_ERROR = Symbol.for(\"SentryBufferFullError\");\nfunction makePromiseBuffer(limit) {\n  const buffer = [];\n  function isReady() {\n    return limit === void 0 || buffer.length < limit;\n  }\n  function remove(task) {\n    return buffer.splice(buffer.indexOf(task), 1)[0] || Promise.resolve(void 0);\n  }\n  function add(taskProducer) {\n    if (!isReady()) {\n      return rejectedSyncPromise(SENTRY_BUFFER_FULL_ERROR);\n    }\n    const task = taskProducer();\n    if (buffer.indexOf(task) === -1) {\n      buffer.push(task);\n    }\n    void task.then(() => remove(task)).then(\n      null,\n      () => remove(task).then(null, () => {\n      })\n    );\n    return task;\n  }\n  function drain(timeout) {\n    return new SyncPromise((resolve, reject) => {\n      let counter = buffer.length;\n      if (!counter) {\n        return resolve(true);\n      }\n      const capturedSetTimeout = setTimeout(() => {\n        if (timeout && timeout > 0) {\n          resolve(false);\n        }\n      }, timeout);\n      buffer.forEach((item) => {\n        void resolvedSyncPromise(item).then(() => {\n          if (!--counter) {\n            clearTimeout(capturedSetTimeout);\n            resolve(true);\n          }\n        }, reject);\n      });\n    });\n  }\n  return {\n    $: buffer,\n    add,\n    drain\n  };\n}\nexport {\n  SENTRY_BUFFER_FULL_ERROR,\n  makePromiseBuffer\n};\n","const DEFAULT_RETRY_AFTER = 60 * 1e3;\nfunction parseRetryAfterHeader(header, now = Date.now()) {\n  const headerDelay = parseInt(`${header}`, 10);\n  if (!isNaN(headerDelay)) {\n    return headerDelay * 1e3;\n  }\n  const headerDate = Date.parse(`${header}`);\n  if (!isNaN(headerDate)) {\n    return headerDate - now;\n  }\n  return DEFAULT_RETRY_AFTER;\n}\nfunction disabledUntil(limits, dataCategory) {\n  return limits[dataCategory] || limits.all || 0;\n}\nfunction isRateLimited(limits, dataCategory, now = Date.now()) {\n  return disabledUntil(limits, dataCategory) > now;\n}\nfunction updateRateLimits(limits, { statusCode, headers }, now = Date.now()) {\n  const updatedRateLimits = {\n    ...limits\n  };\n  const rateLimitHeader = headers == null ? void 0 : headers[\"x-sentry-rate-limits\"];\n  const retryAfterHeader = headers == null ? void 0 : headers[\"retry-after\"];\n  if (rateLimitHeader) {\n    for (const limit of rateLimitHeader.trim().split(\",\")) {\n      const [retryAfter, categories, , , namespaces] = limit.split(\":\", 5);\n      const headerDelay = parseInt(retryAfter, 10);\n      const delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1e3;\n      if (!categories) {\n        updatedRateLimits.all = now + delay;\n      } else {\n        for (const category of categories.split(\";\")) {\n          if (category === \"metric_bucket\") {\n            if (!namespaces || namespaces.split(\";\").includes(\"custom\")) {\n              updatedRateLimits[category] = now + delay;\n            }\n          } else {\n            updatedRateLimits[category] = now + delay;\n          }\n        }\n      }\n    }\n  } else if (retryAfterHeader) {\n    updatedRateLimits.all = now + parseRetryAfterHeader(retryAfterHeader, now);\n  } else if (statusCode === 429) {\n    updatedRateLimits.all = now + 60 * 1e3;\n  }\n  return updatedRateLimits;\n}\nexport {\n  DEFAULT_RETRY_AFTER,\n  disabledUntil,\n  isRateLimited,\n  parseRetryAfterHeader,\n  updateRateLimits\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { forEachEnvelopeItem, createEnvelope, envelopeItemTypeToDataCategory, serializeEnvelope } from \"../utils-hoist/envelope.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { makePromiseBuffer, SENTRY_BUFFER_FULL_ERROR } from \"../utils-hoist/promisebuffer.js\";\nimport { isRateLimited, updateRateLimits } from \"../utils-hoist/ratelimit.js\";\nimport { resolvedSyncPromise } from \"../utils-hoist/syncpromise.js\";\nconst DEFAULT_TRANSPORT_BUFFER_SIZE = 64;\nfunction createTransport(options, makeRequest, buffer = makePromiseBuffer(\n  options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE\n)) {\n  let rateLimits = {};\n  const flush = (timeout) => buffer.drain(timeout);\n  function send(envelope) {\n    const filteredEnvelopeItems = [];\n    forEachEnvelopeItem(envelope, (item, type) => {\n      const dataCategory = envelopeItemTypeToDataCategory(type);\n      if (isRateLimited(rateLimits, dataCategory)) {\n        options.recordDroppedEvent(\"ratelimit_backoff\", dataCategory);\n      } else {\n        filteredEnvelopeItems.push(item);\n      }\n    });\n    if (filteredEnvelopeItems.length === 0) {\n      return resolvedSyncPromise({});\n    }\n    const filteredEnvelope = createEnvelope(envelope[0], filteredEnvelopeItems);\n    const recordEnvelopeLoss = (reason) => {\n      forEachEnvelopeItem(filteredEnvelope, (item, type) => {\n        options.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type));\n      });\n    };\n    const requestTask = () => makeRequest({ body: serializeEnvelope(filteredEnvelope) }).then(\n      (response) => {\n        if (response.statusCode !== void 0 && (response.statusCode < 200 || response.statusCode >= 300)) {\n          DEBUG_BUILD && logger.warn(`Sentry responded with status code ${response.statusCode} to sent event.`);\n        }\n        rateLimits = updateRateLimits(rateLimits, response);\n        return response;\n      },\n      (error) => {\n        recordEnvelopeLoss(\"network_error\");\n        DEBUG_BUILD && logger.error(\"Encountered error running transport request:\", error);\n        throw error;\n      }\n    );\n    return buffer.add(requestTask).then(\n      (result) => result,\n      (error) => {\n        if (error === SENTRY_BUFFER_FULL_ERROR) {\n          DEBUG_BUILD && logger.error(\"Skipped sending event because buffer is full.\");\n          recordEnvelopeLoss(\"queue_overflow\");\n          return resolvedSyncPromise({});\n        } else {\n          throw error;\n        }\n      }\n    );\n  }\n  return {\n    send,\n    flush\n  };\n}\nexport {\n  DEFAULT_TRANSPORT_BUFFER_SIZE,\n  createTransport\n};\n","const DEBUG_BUILD = typeof __SENTRY_DEBUG__ === \"undefined\" || __SENTRY_DEBUG__;\nexport {\n  DEBUG_BUILD\n};\n","import { DEBUG_BUILD } from \"./debug-build.js\";\nimport { WINDOW } from \"./types.js\";\nimport { isNativeFunction } from \"../../../../@sentry/core/build/esm/utils-hoist/supports.js\";\nimport { logger } from \"../../../../@sentry/core/build/esm/utils-hoist/logger.js\";\nconst cachedImplementations = {};\nfunction getNativeImplementation(name) {\n  const cached = cachedImplementations[name];\n  if (cached) {\n    return cached;\n  }\n  let impl = WINDOW[name];\n  if (isNativeFunction(impl)) {\n    return cachedImplementations[name] = impl.bind(WINDOW);\n  }\n  const document = WINDOW.document;\n  if (document && typeof document.createElement === \"function\") {\n    try {\n      const sandbox = document.createElement(\"iframe\");\n      sandbox.hidden = true;\n      document.head.appendChild(sandbox);\n      const contentWindow = sandbox.contentWindow;\n      if (contentWindow == null ? void 0 : contentWindow[name]) {\n        impl = contentWindow[name];\n      }\n      document.head.removeChild(sandbox);\n    } catch (e) {\n      DEBUG_BUILD && logger.warn(`Could not create sandbox iframe for ${name} check, bailing to window.${name}: `, e);\n    }\n  }\n  if (!impl) {\n    return impl;\n  }\n  return cachedImplementations[name] = impl.bind(WINDOW);\n}\nfunction clearCachedImplementation(name) {\n  cachedImplementations[name] = void 0;\n}\nexport {\n  clearCachedImplementation,\n  getNativeImplementation\n};\n","import { createTransport } from \"../../../../../core/build/esm/transports/base.js\";\nimport { getNativeImplementation, clearCachedImplementation } from \"../../../../../../@sentry-internal/browser-utils/build/esm/getNativeImplementation.js\";\nimport { rejectedSyncPromise } from \"../../../../../core/build/esm/utils-hoist/syncpromise.js\";\nfunction makeFetchTransport(options, nativeFetch = getNativeImplementation(\"fetch\")) {\n  let pendingBodySize = 0;\n  let pendingCount = 0;\n  function makeRequest(request) {\n    const requestSize = request.body.length;\n    pendingBodySize += requestSize;\n    pendingCount++;\n    const requestOptions = {\n      body: request.body,\n      method: \"POST\",\n      referrerPolicy: \"strict-origin\",\n      headers: options.headers,\n      // Outgoing requests are usually cancelled when navigating to a different page, causing a \"TypeError: Failed to\n      // fetch\" error and sending a \"network_error\" client-outcome - in Chrome, the request status shows \"(cancelled)\".\n      // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're\n      // frequently sending events right before the user is switching pages (eg. when finishing navigation transactions).\n      // Gotchas:\n      // - `keepalive` isn't supported by Firefox\n      // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch):\n      //   If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.\n      //   We will therefore only activate the flag when we're below that limit.\n      // There is also a limit of requests that can be open at the same time, so we also limit this to 15\n      // See https://github.com/getsentry/sentry-javascript/pull/7553 for details\n      keepalive: pendingBodySize <= 6e4 && pendingCount < 15,\n      ...options.fetchOptions\n    };\n    if (!nativeFetch) {\n      clearCachedImplementation(\"fetch\");\n      return rejectedSyncPromise(\"No fetch implementation available\");\n    }\n    try {\n      return nativeFetch(options.url, requestOptions).then((response) => {\n        pendingBodySize -= requestSize;\n        pendingCount--;\n        return {\n          statusCode: response.status,\n          headers: {\n            \"x-sentry-rate-limits\": response.headers.get(\"X-Sentry-Rate-Limits\"),\n            \"retry-after\": response.headers.get(\"Retry-After\")\n          }\n        };\n      });\n    } catch (e) {\n      clearCachedImplementation(\"fetch\");\n      pendingBodySize -= requestSize;\n      pendingCount--;\n      return rejectedSyncPromise(e);\n    }\n  }\n  return createTransport(options, makeRequest);\n}\nexport {\n  makeFetchTransport\n};\n","import { getCurrentScope } from \"./currentScopes.js\";\nimport { DEBUG_BUILD } from \"./debug-build.js\";\nimport { logger, consoleSandbox } from \"./utils-hoist/logger.js\";\nfunction initAndBind(clientClass, options) {\n  if (options.debug === true) {\n    if (DEBUG_BUILD) {\n      logger.enable();\n    } else {\n      consoleSandbox(() => {\n        console.warn(\"[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.\");\n      });\n    }\n  }\n  const scope = getCurrentScope();\n  scope.update(options.initialScope);\n  const client = new clientClass(options);\n  setCurrentClient(client);\n  client.init();\n  return client;\n}\nfunction setCurrentClient(client) {\n  getCurrentScope().setClient(client);\n}\nexport {\n  initAndBind,\n  setCurrentClient\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { defineIntegration } from \"../integration.js\";\nimport { getPossibleEventMessages } from \"../utils/eventUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getEventDescription } from \"../utils-hoist/misc.js\";\nimport { stringMatchesSomePattern } from \"../utils-hoist/string.js\";\nconst DEFAULT_IGNORE_ERRORS = [\n  /^Script error\\.?$/,\n  /^Javascript error: Script error\\.? on line 0$/,\n  /^ResizeObserver loop completed with undelivered notifications.$/,\n  // The browser logs this when a ResizeObserver handler takes a bit longer. Usually this is not an actual issue though. It indicates slowness.\n  /^Cannot redefine property: googletag$/,\n  // This is thrown when google tag manager is used in combination with an ad blocker\n  /^Can't find variable: gmo$/,\n  // Error from Google Search App https://issuetracker.google.com/issues/396043331\n  /^undefined is not an object \\(evaluating 'a\\.[A-Z]'\\)$/,\n  // Random error that happens but not actionable or noticeable to end-users.\n  `can't redefine non-configurable property \"solana\"`,\n  // Probably a browser extension or custom browser (Brave) throwing this error\n  \"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)\",\n  // Error thrown by GTM, seemingly not affecting end-users\n  \"Can't find variable: _AutofillCallbackHandler\",\n  // Unactionable error in instagram webview https://developers.facebook.com/community/threads/320013549791141/\n  /^Non-Error promise rejection captured with value: Object Not Found Matching Id:\\d+, MethodName:simulateEvent, ParamCount:\\d+$/,\n  // unactionable error from CEFSharp, a .NET library that embeds chromium in .NET apps\n  /^Java exception was raised during method invocation$/\n  // error from Facebook Mobile browser (https://github.com/getsentry/sentry-javascript/issues/15065)\n];\nconst INTEGRATION_NAME = \"EventFilters\";\nconst eventFiltersIntegration = defineIntegration((options = {}) => {\n  let mergedOptions;\n  return {\n    name: INTEGRATION_NAME,\n    setup(client) {\n      const clientOptions = client.getOptions();\n      mergedOptions = _mergeOptions(options, clientOptions);\n    },\n    processEvent(event, _hint, client) {\n      if (!mergedOptions) {\n        const clientOptions = client.getOptions();\n        mergedOptions = _mergeOptions(options, clientOptions);\n      }\n      return _shouldDropEvent(event, mergedOptions) ? null : event;\n    }\n  };\n});\nconst inboundFiltersIntegration = defineIntegration((options = {}) => {\n  return {\n    ...eventFiltersIntegration(options),\n    name: \"InboundFilters\"\n  };\n});\nfunction _mergeOptions(internalOptions = {}, clientOptions = {}) {\n  return {\n    allowUrls: [...internalOptions.allowUrls || [], ...clientOptions.allowUrls || []],\n    denyUrls: [...internalOptions.denyUrls || [], ...clientOptions.denyUrls || []],\n    ignoreErrors: [\n      ...internalOptions.ignoreErrors || [],\n      ...clientOptions.ignoreErrors || [],\n      ...internalOptions.disableErrorDefaults ? [] : DEFAULT_IGNORE_ERRORS\n    ],\n    ignoreTransactions: [...internalOptions.ignoreTransactions || [], ...clientOptions.ignoreTransactions || []]\n  };\n}\nfunction _shouldDropEvent(event, options) {\n  if (!event.type) {\n    if (_isIgnoredError(event, options.ignoreErrors)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to being matched by \\`ignoreErrors\\` option.\nEvent: ${getEventDescription(event)}`\n      );\n      return true;\n    }\n    if (_isUselessError(event)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${getEventDescription(\n          event\n        )}`\n      );\n      return true;\n    }\n    if (_isDeniedUrl(event, options.denyUrls)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to being matched by \\`denyUrls\\` option.\nEvent: ${getEventDescription(\n          event\n        )}.\nUrl: ${_getEventFilterUrl(event)}`\n      );\n      return true;\n    }\n    if (!_isAllowedUrl(event, options.allowUrls)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to not being matched by \\`allowUrls\\` option.\nEvent: ${getEventDescription(\n          event\n        )}.\nUrl: ${_getEventFilterUrl(event)}`\n      );\n      return true;\n    }\n  } else if (event.type === \"transaction\") {\n    if (_isIgnoredTransaction(event, options.ignoreTransactions)) {\n      DEBUG_BUILD && logger.warn(\n        `Event dropped due to being matched by \\`ignoreTransactions\\` option.\nEvent: ${getEventDescription(event)}`\n      );\n      return true;\n    }\n  }\n  return false;\n}\nfunction _isIgnoredError(event, ignoreErrors) {\n  if (!(ignoreErrors == null ? void 0 : ignoreErrors.length)) {\n    return false;\n  }\n  return getPossibleEventMessages(event).some((message) => stringMatchesSomePattern(message, ignoreErrors));\n}\nfunction _isIgnoredTransaction(event, ignoreTransactions) {\n  if (!(ignoreTransactions == null ? void 0 : ignoreTransactions.length)) {\n    return false;\n  }\n  const name = event.transaction;\n  return name ? stringMatchesSomePattern(name, ignoreTransactions) : false;\n}\nfunction _isDeniedUrl(event, denyUrls) {\n  if (!(denyUrls == null ? void 0 : denyUrls.length)) {\n    return false;\n  }\n  const url = _getEventFilterUrl(event);\n  return !url ? false : stringMatchesSomePattern(url, denyUrls);\n}\nfunction _isAllowedUrl(event, allowUrls) {\n  if (!(allowUrls == null ? void 0 : allowUrls.length)) {\n    return true;\n  }\n  const url = _getEventFilterUrl(event);\n  return !url ? true : stringMatchesSomePattern(url, allowUrls);\n}\nfunction _getLastValidUrl(frames = []) {\n  for (let i = frames.length - 1; i >= 0; i--) {\n    const frame = frames[i];\n    if (frame && frame.filename !== \"<anonymous>\" && frame.filename !== \"[native code]\") {\n      return frame.filename || null;\n    }\n  }\n  return null;\n}\nfunction _getEventFilterUrl(event) {\n  var _a, _b;\n  try {\n    const rootException = [...((_a = event.exception) == null ? void 0 : _a.values) ?? []].reverse().find((value) => {\n      var _a2, _b2, _c;\n      return ((_a2 = value.mechanism) == null ? void 0 : _a2.parent_id) === void 0 && ((_c = (_b2 = value.stacktrace) == null ? void 0 : _b2.frames) == null ? void 0 : _c.length);\n    });\n    const frames = (_b = rootException == null ? void 0 : rootException.stacktrace) == null ? void 0 : _b.frames;\n    return frames ? _getLastValidUrl(frames) : null;\n  } catch (oO) {\n    DEBUG_BUILD && logger.error(`Cannot extract url for event ${getEventDescription(event)}`);\n    return null;\n  }\n}\nfunction _isUselessError(event) {\n  var _a, _b;\n  if (!((_b = (_a = event.exception) == null ? void 0 : _a.values) == null ? void 0 : _b.length)) {\n    return false;\n  }\n  return (\n    // No top-level message\n    !event.message && // There are no exception values that have a stacktrace, a non-generic-Error type or value\n    !event.exception.values.some((value) => value.stacktrace || value.type && value.type !== \"Error\" || value.value)\n  );\n}\nexport {\n  eventFiltersIntegration,\n  inboundFiltersIntegration\n};\n","import { getClient } from \"../currentScopes.js\";\nimport { defineIntegration } from \"../integration.js\";\nimport { getOriginalFunction } from \"../utils-hoist/object.js\";\nlet originalFunctionToString;\nconst INTEGRATION_NAME = \"FunctionToString\";\nconst SETUP_CLIENTS = /* @__PURE__ */ new WeakMap();\nconst _functionToStringIntegration = () => {\n  return {\n    name: INTEGRATION_NAME,\n    setupOnce() {\n      originalFunctionToString = Function.prototype.toString;\n      try {\n        Function.prototype.toString = function(...args) {\n          const originalFunction = getOriginalFunction(this);\n          const context = SETUP_CLIENTS.has(getClient()) && originalFunction !== void 0 ? originalFunction : this;\n          return originalFunctionToString.apply(context, args);\n        };\n      } catch {\n      }\n    },\n    setup(client) {\n      SETUP_CLIENTS.set(client, true);\n    }\n  };\n};\nconst functionToStringIntegration = defineIntegration(_functionToStringIntegration);\nexport {\n  functionToStringIntegration\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { defineIntegration } from \"../integration.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getFramesFromEvent } from \"../utils-hoist/stacktrace.js\";\nconst INTEGRATION_NAME = \"Dedupe\";\nconst _dedupeIntegration = () => {\n  let previousEvent;\n  return {\n    name: INTEGRATION_NAME,\n    processEvent(currentEvent) {\n      if (currentEvent.type) {\n        return currentEvent;\n      }\n      try {\n        if (_shouldDropEvent(currentEvent, previousEvent)) {\n          DEBUG_BUILD && logger.warn(\"Event dropped due to being a duplicate of previously captured event.\");\n          return null;\n        }\n      } catch (_oO) {\n      }\n      return previousEvent = currentEvent;\n    }\n  };\n};\nconst dedupeIntegration = defineIntegration(_dedupeIntegration);\nfunction _shouldDropEvent(currentEvent, previousEvent) {\n  if (!previousEvent) {\n    return false;\n  }\n  if (_isSameMessageEvent(currentEvent, previousEvent)) {\n    return true;\n  }\n  if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n    return true;\n  }\n  return false;\n}\nfunction _isSameMessageEvent(currentEvent, previousEvent) {\n  const currentMessage = currentEvent.message;\n  const previousMessage = previousEvent.message;\n  if (!currentMessage && !previousMessage) {\n    return false;\n  }\n  if (currentMessage && !previousMessage || !currentMessage && previousMessage) {\n    return false;\n  }\n  if (currentMessage !== previousMessage) {\n    return false;\n  }\n  if (!_isSameFingerprint(currentEvent, previousEvent)) {\n    return false;\n  }\n  if (!_isSameStacktrace(currentEvent, previousEvent)) {\n    return false;\n  }\n  return true;\n}\nfunction _isSameExceptionEvent(currentEvent, previousEvent) {\n  const previousException = _getExceptionFromEvent(previousEvent);\n  const currentException = _getExceptionFromEvent(currentEvent);\n  if (!previousException || !currentException) {\n    return false;\n  }\n  if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n    return false;\n  }\n  if (!_isSameFingerprint(currentEvent, previousEvent)) {\n    return false;\n  }\n  if (!_isSameStacktrace(currentEvent, previousEvent)) {\n    return false;\n  }\n  return true;\n}\nfunction _isSameStacktrace(currentEvent, previousEvent) {\n  let currentFrames = getFramesFromEvent(currentEvent);\n  let previousFrames = getFramesFromEvent(previousEvent);\n  if (!currentFrames && !previousFrames) {\n    return true;\n  }\n  if (currentFrames && !previousFrames || !currentFrames && previousFrames) {\n    return false;\n  }\n  currentFrames = currentFrames;\n  previousFrames = previousFrames;\n  if (previousFrames.length !== currentFrames.length) {\n    return false;\n  }\n  for (let i = 0; i < previousFrames.length; i++) {\n    const frameA = previousFrames[i];\n    const frameB = currentFrames[i];\n    if (frameA.filename !== frameB.filename || frameA.lineno !== frameB.lineno || frameA.colno !== frameB.colno || frameA.function !== frameB.function) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction _isSameFingerprint(currentEvent, previousEvent) {\n  let currentFingerprint = currentEvent.fingerprint;\n  let previousFingerprint = previousEvent.fingerprint;\n  if (!currentFingerprint && !previousFingerprint) {\n    return true;\n  }\n  if (currentFingerprint && !previousFingerprint || !currentFingerprint && previousFingerprint) {\n    return false;\n  }\n  currentFingerprint = currentFingerprint;\n  previousFingerprint = previousFingerprint;\n  try {\n    return !!(currentFingerprint.join(\"\") === previousFingerprint.join(\"\"));\n  } catch (_oO) {\n    return false;\n  }\n}\nfunction _getExceptionFromEvent(event) {\n  var _a;\n  return ((_a = event.exception) == null ? void 0 : _a.values) && event.exception.values[0];\n}\nexport {\n  _shouldDropEvent,\n  dedupeIntegration\n};\n","import { BrowserClient } from \"./client.js\";\nimport { DEBUG_BUILD } from \"./debug-build.js\";\nimport { WINDOW } from \"./helpers.js\";\nimport { breadcrumbsIntegration } from \"./integrations/breadcrumbs.js\";\nimport { browserApiErrorsIntegration } from \"./integrations/browserapierrors.js\";\nimport { browserSessionIntegration } from \"./integrations/browsersession.js\";\nimport { globalHandlersIntegration } from \"./integrations/globalhandlers.js\";\nimport { httpContextIntegration } from \"./integrations/httpcontext.js\";\nimport { linkedErrorsIntegration } from \"./integrations/linkederrors.js\";\nimport { defaultStackParser } from \"./stack-parsers.js\";\nimport { makeFetchTransport } from \"./transports/fetch.js\";\nimport { consoleSandbox, logger } from \"../../../../core/build/esm/utils-hoist/logger.js\";\nimport { supportsFetch } from \"../../../../core/build/esm/utils-hoist/supports.js\";\nimport { stackParserFromStackParserOptions } from \"../../../../core/build/esm/utils-hoist/stacktrace.js\";\nimport { getIntegrationsToSetup } from \"../../../../core/build/esm/integration.js\";\nimport { initAndBind } from \"../../../../core/build/esm/sdk.js\";\nimport { getLocationHref } from \"../../../../core/build/esm/utils-hoist/browser.js\";\nimport { inboundFiltersIntegration } from \"../../../../core/build/esm/integrations/eventFilters.js\";\nimport { functionToStringIntegration } from \"../../../../core/build/esm/integrations/functiontostring.js\";\nimport { dedupeIntegration } from \"../../../../core/build/esm/integrations/dedupe.js\";\nfunction getDefaultIntegrations(_options) {\n  return [\n    // TODO(v10): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`\n    // eslint-disable-next-line deprecation/deprecation\n    inboundFiltersIntegration(),\n    functionToStringIntegration(),\n    browserApiErrorsIntegration(),\n    breadcrumbsIntegration(),\n    globalHandlersIntegration(),\n    linkedErrorsIntegration(),\n    dedupeIntegration(),\n    httpContextIntegration(),\n    browserSessionIntegration()\n  ];\n}\nfunction applyDefaultOptions(optionsArg = {}) {\n  var _a;\n  const defaultOptions = {\n    defaultIntegrations: getDefaultIntegrations(),\n    release: typeof __SENTRY_RELEASE__ === \"string\" ? __SENTRY_RELEASE__ : (_a = WINDOW.SENTRY_RELEASE) == null ? void 0 : _a.id,\n    // This supports the variable that sentry-webpack-plugin injects\n    sendClientReports: true\n  };\n  return {\n    ...defaultOptions,\n    ...dropTopLevelUndefinedKeys(optionsArg)\n  };\n}\nfunction dropTopLevelUndefinedKeys(obj) {\n  const mutatetedObj = {};\n  for (const k of Object.getOwnPropertyNames(obj)) {\n    const key = k;\n    if (obj[key] !== void 0) {\n      mutatetedObj[key] = obj[key];\n    }\n  }\n  return mutatetedObj;\n}\nfunction shouldShowBrowserExtensionError() {\n  var _a;\n  const windowWithMaybeExtension = typeof WINDOW.window !== \"undefined\" && WINDOW;\n  if (!windowWithMaybeExtension) {\n    return false;\n  }\n  const extensionKey = windowWithMaybeExtension.chrome ? \"chrome\" : \"browser\";\n  const extensionObject = windowWithMaybeExtension[extensionKey];\n  const runtimeId = (_a = extensionObject == null ? void 0 : extensionObject.runtime) == null ? void 0 : _a.id;\n  const href = getLocationHref() || \"\";\n  const extensionProtocols = [\"chrome-extension:\", \"moz-extension:\", \"ms-browser-extension:\", \"safari-web-extension:\"];\n  const isDedicatedExtensionPage = !!runtimeId && WINDOW === WINDOW.top && extensionProtocols.some((protocol) => href.startsWith(`${protocol}//`));\n  const isNWjs = typeof windowWithMaybeExtension.nw !== \"undefined\";\n  return !!runtimeId && !isDedicatedExtensionPage && !isNWjs;\n}\nfunction init(browserOptions = {}) {\n  const options = applyDefaultOptions(browserOptions);\n  if (!options.skipBrowserExtensionCheck && shouldShowBrowserExtensionError()) {\n    if (DEBUG_BUILD) {\n      consoleSandbox(() => {\n        console.error(\n          \"[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/\"\n        );\n      });\n    }\n    return;\n  }\n  if (DEBUG_BUILD && !supportsFetch()) {\n    logger.warn(\n      \"No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.\"\n    );\n  }\n  const clientOptions = {\n    ...options,\n    stackParser: stackParserFromStackParserOptions(options.stackParser || defaultStackParser),\n    integrations: getIntegrationsToSetup(options),\n    transport: options.transport || makeFetchTransport\n  };\n  return initAndBind(BrowserClient, clientOptions);\n}\nexport {\n  applyDefaultOptions,\n  getDefaultIntegrations,\n  init\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { getActiveSpan, getRootSpan, spanToJSON } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { SPAN_STATUS_ERROR } from \"../../../../../core/build/esm/tracing/spanstatus.js\";\nfunction registerBackgroundTabDetection() {\n  if (WINDOW.document) {\n    WINDOW.document.addEventListener(\"visibilitychange\", () => {\n      const activeSpan = getActiveSpan();\n      if (!activeSpan) {\n        return;\n      }\n      const rootSpan = getRootSpan(activeSpan);\n      if (WINDOW.document.hidden && rootSpan) {\n        const cancelledStatus = \"cancelled\";\n        const { op, status } = spanToJSON(rootSpan);\n        if (DEBUG_BUILD) {\n          logger.log(`[Tracing] Transaction: ${cancelledStatus} -> since tab moved to the background, op: ${op}`);\n        }\n        if (!status) {\n          rootSpan.setStatus({ code: SPAN_STATUS_ERROR, message: cancelledStatus });\n        }\n        rootSpan.setAttribute(\"sentry.cancellation_reason\", \"document.hidden\");\n        rootSpan.end();\n      }\n    });\n  } else {\n    DEBUG_BUILD && logger.warn(\"[Tracing] Could not set up background tab detection due to lack of global document\");\n  }\n}\nexport {\n  registerBackgroundTabDetection\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { getRootSpan, spanToJSON } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { getCurrentScope } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE, SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from \"../../../../../core/build/esm/semanticAttributes.js\";\nimport { logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nconst PREVIOUS_TRACE_MAX_DURATION = 3600;\nconst PREVIOUS_TRACE_KEY = \"sentry_previous_trace\";\nconst PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE = \"sentry.previous_trace\";\nfunction linkTraces(client, {\n  linkPreviousTrace,\n  consistentTraceSampling\n}) {\n  const useSessionStorage = linkPreviousTrace === \"session-storage\";\n  let inMemoryPreviousTraceInfo = useSessionStorage ? getPreviousTraceFromSessionStorage() : void 0;\n  client.on(\"spanStart\", (span) => {\n    if (getRootSpan(span) !== span) {\n      return;\n    }\n    const oldPropagationContext = getCurrentScope().getPropagationContext();\n    inMemoryPreviousTraceInfo = addPreviousTraceSpanLink(inMemoryPreviousTraceInfo, span, oldPropagationContext);\n    if (useSessionStorage) {\n      storePreviousTraceInSessionStorage(inMemoryPreviousTraceInfo);\n    }\n  });\n  let isFirstTraceOnPageload = true;\n  if (consistentTraceSampling) {\n    client.on(\"beforeSampling\", (mutableSamplingContextData) => {\n      if (!inMemoryPreviousTraceInfo) {\n        return;\n      }\n      const scope = getCurrentScope();\n      const currentPropagationContext = scope.getPropagationContext();\n      if (isFirstTraceOnPageload && currentPropagationContext.parentSpanId) {\n        isFirstTraceOnPageload = false;\n        return;\n      }\n      scope.setPropagationContext({\n        ...currentPropagationContext,\n        dsc: {\n          ...currentPropagationContext.dsc,\n          sample_rate: String(inMemoryPreviousTraceInfo.sampleRate),\n          sampled: String(spanContextSampled(inMemoryPreviousTraceInfo.spanContext))\n        },\n        sampleRand: inMemoryPreviousTraceInfo.sampleRand\n      });\n      mutableSamplingContextData.parentSampled = spanContextSampled(inMemoryPreviousTraceInfo.spanContext);\n      mutableSamplingContextData.parentSampleRate = inMemoryPreviousTraceInfo.sampleRate;\n      mutableSamplingContextData.spanAttributes = {\n        ...mutableSamplingContextData.spanAttributes,\n        [SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]: inMemoryPreviousTraceInfo.sampleRate\n      };\n    });\n  }\n}\nfunction addPreviousTraceSpanLink(previousTraceInfo, span, oldPropagationContext) {\n  const spanJson = spanToJSON(span);\n  function getSampleRate() {\n    var _a, _b;\n    try {\n      return Number((_a = oldPropagationContext.dsc) == null ? void 0 : _a.sample_rate) ?? Number((_b = spanJson.data) == null ? void 0 : _b[SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]);\n    } catch {\n      return 0;\n    }\n  }\n  const updatedPreviousTraceInfo = {\n    spanContext: span.spanContext(),\n    startTimestamp: spanJson.start_timestamp,\n    sampleRate: getSampleRate(),\n    sampleRand: oldPropagationContext.sampleRand\n  };\n  if (!previousTraceInfo) {\n    return updatedPreviousTraceInfo;\n  }\n  const previousTraceSpanCtx = previousTraceInfo.spanContext;\n  if (previousTraceSpanCtx.traceId === spanJson.trace_id) {\n    return previousTraceInfo;\n  }\n  if (Date.now() / 1e3 - previousTraceInfo.startTimestamp <= PREVIOUS_TRACE_MAX_DURATION) {\n    if (DEBUG_BUILD) {\n      logger.info(\n        `Adding previous_trace ${previousTraceSpanCtx} link to span ${{\n          op: spanJson.op,\n          ...span.spanContext()\n        }}`\n      );\n    }\n    span.addLink({\n      context: previousTraceSpanCtx,\n      attributes: {\n        [SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]: \"previous_trace\"\n      }\n    });\n    span.setAttribute(\n      PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE,\n      `${previousTraceSpanCtx.traceId}-${previousTraceSpanCtx.spanId}-${spanContextSampled(previousTraceSpanCtx) ? 1 : 0}`\n    );\n  }\n  return updatedPreviousTraceInfo;\n}\nfunction storePreviousTraceInSessionStorage(previousTraceInfo) {\n  try {\n    WINDOW.sessionStorage.setItem(PREVIOUS_TRACE_KEY, JSON.stringify(previousTraceInfo));\n  } catch (e) {\n    DEBUG_BUILD && logger.warn(\"Could not store previous trace in sessionStorage\", e);\n  }\n}\nfunction getPreviousTraceFromSessionStorage() {\n  var _a;\n  try {\n    const previousTraceInfo = (_a = WINDOW.sessionStorage) == null ? void 0 : _a.getItem(PREVIOUS_TRACE_KEY);\n    return JSON.parse(previousTraceInfo);\n  } catch (e) {\n    return void 0;\n  }\n}\nfunction spanContextSampled(ctx) {\n  return ctx.traceFlags === 1;\n}\nexport {\n  PREVIOUS_TRACE_KEY,\n  PREVIOUS_TRACE_MAX_DURATION,\n  PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE,\n  addPreviousTraceSpanLink,\n  getPreviousTraceFromSessionStorage,\n  linkTraces,\n  spanContextSampled,\n  storePreviousTraceInSessionStorage\n};\n","import { TRACE_FLAG_NONE } from \"../utils/spanUtils.js\";\nimport { generateTraceId, generateSpanId } from \"../utils-hoist/propagationContext.js\";\nclass SentryNonRecordingSpan {\n  constructor(spanContext = {}) {\n    this._traceId = spanContext.traceId || generateTraceId();\n    this._spanId = spanContext.spanId || generateSpanId();\n  }\n  /** @inheritdoc */\n  spanContext() {\n    return {\n      spanId: this._spanId,\n      traceId: this._traceId,\n      traceFlags: TRACE_FLAG_NONE\n    };\n  }\n  /** @inheritdoc */\n  // eslint-disable-next-line @typescript-eslint/no-empty-function\n  end(_timestamp) {\n  }\n  /** @inheritdoc */\n  setAttribute(_key, _value) {\n    return this;\n  }\n  /** @inheritdoc */\n  setAttributes(_values) {\n    return this;\n  }\n  /** @inheritdoc */\n  setStatus(_status) {\n    return this;\n  }\n  /** @inheritdoc */\n  updateName(_name) {\n    return this;\n  }\n  /** @inheritdoc */\n  isRecording() {\n    return false;\n  }\n  /** @inheritdoc */\n  addEvent(_name, _attributesOrStartTime, _startTime) {\n    return this;\n  }\n  /** @inheritDoc */\n  addLink(_link) {\n    return this;\n  }\n  /** @inheritDoc */\n  addLinks(_links) {\n    return this;\n  }\n  /**\n   * This should generally not be used,\n   * but we need it for being compliant with the OTEL Span interface.\n   *\n   * @hidden\n   * @internal\n   */\n  recordException(_exception, _time) {\n  }\n}\nexport {\n  SentryNonRecordingSpan\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { spanToJSON, spanIsSampled, getRootSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nfunction logSpanStart(span) {\n  if (!DEBUG_BUILD)\n    return;\n  const { description = \"< unknown name >\", op = \"< unknown op >\", parent_span_id: parentSpanId } = spanToJSON(span);\n  const { spanId } = span.spanContext();\n  const sampled = spanIsSampled(span);\n  const rootSpan = getRootSpan(span);\n  const isRootSpan = rootSpan === span;\n  const header = `[Tracing] Starting ${sampled ? \"sampled\" : \"unsampled\"} ${isRootSpan ? \"root \" : \"\"}span`;\n  const infoParts = [`op: ${op}`, `name: ${description}`, `ID: ${spanId}`];\n  if (parentSpanId) {\n    infoParts.push(`parent ID: ${parentSpanId}`);\n  }\n  if (!isRootSpan) {\n    const { op: op2, description: description2 } = spanToJSON(rootSpan);\n    infoParts.push(`root ID: ${rootSpan.spanContext().spanId}`);\n    if (op2) {\n      infoParts.push(`root op: ${op2}`);\n    }\n    if (description2) {\n      infoParts.push(`root description: ${description2}`);\n    }\n  }\n  logger.log(`${header}\n  ${infoParts.join(\"\\n  \")}`);\n}\nfunction logSpanEnd(span) {\n  if (!DEBUG_BUILD)\n    return;\n  const { description = \"< unknown name >\", op = \"< unknown op >\" } = spanToJSON(span);\n  const { spanId } = span.spanContext();\n  const rootSpan = getRootSpan(span);\n  const isRootSpan = rootSpan === span;\n  const msg = `[Tracing] Finishing \"${op}\" ${isRootSpan ? \"root \" : \"\"}span \"${description}\" with ID ${spanId}`;\n  logger.log(msg);\n}\nexport {\n  logSpanEnd,\n  logSpanStart\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { parseSampleRate } from \"../utils/parseSampleRate.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nfunction sampleSpan(options, samplingContext, sampleRand) {\n  if (!hasSpansEnabled(options)) {\n    return [false];\n  }\n  let localSampleRateWasApplied = void 0;\n  let sampleRate;\n  if (typeof options.tracesSampler === \"function\") {\n    sampleRate = options.tracesSampler({\n      ...samplingContext,\n      inheritOrSampleWith: (fallbackSampleRate) => {\n        if (typeof samplingContext.parentSampleRate === \"number\") {\n          return samplingContext.parentSampleRate;\n        }\n        if (typeof samplingContext.parentSampled === \"boolean\") {\n          return Number(samplingContext.parentSampled);\n        }\n        return fallbackSampleRate;\n      }\n    });\n    localSampleRateWasApplied = true;\n  } else if (samplingContext.parentSampled !== void 0) {\n    sampleRate = samplingContext.parentSampled;\n  } else if (typeof options.tracesSampleRate !== \"undefined\") {\n    sampleRate = options.tracesSampleRate;\n    localSampleRateWasApplied = true;\n  }\n  const parsedSampleRate = parseSampleRate(sampleRate);\n  if (parsedSampleRate === void 0) {\n    DEBUG_BUILD && logger.warn(\n      `[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(\n        sampleRate\n      )} of type ${JSON.stringify(typeof sampleRate)}.`\n    );\n    return [false];\n  }\n  if (!parsedSampleRate) {\n    DEBUG_BUILD && logger.log(\n      `[Tracing] Discarding transaction because ${typeof options.tracesSampler === \"function\" ? \"tracesSampler returned 0 or false\" : \"a negative sampling decision was inherited or tracesSampleRate is set to 0\"}`\n    );\n    return [false, parsedSampleRate, localSampleRateWasApplied];\n  }\n  const shouldSample = sampleRand < parsedSampleRate;\n  if (!shouldSample) {\n    DEBUG_BUILD && logger.log(\n      `[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(\n        sampleRate\n      )})`\n    );\n  }\n  return [shouldSample, parsedSampleRate, localSampleRateWasApplied];\n}\nexport {\n  sampleSpan\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT } from \"../semanticAttributes.js\";\nimport { getRootSpan, getActiveSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nfunction setMeasurement(name, value, unit, activeSpan = getActiveSpan()) {\n  const rootSpan = activeSpan && getRootSpan(activeSpan);\n  if (rootSpan) {\n    DEBUG_BUILD && logger.log(`[Measurement] Setting measurement on root span: ${name} = ${value} ${unit}`);\n    rootSpan.addEvent(name, {\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: value,\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: unit\n    });\n  }\n}\nfunction timedEventsToMeasurements(events) {\n  if (!events || events.length === 0) {\n    return void 0;\n  }\n  const measurements = {};\n  events.forEach((event) => {\n    const attributes = event.attributes || {};\n    const unit = attributes[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT];\n    const value = attributes[SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];\n    if (typeof unit === \"string\" && typeof value === \"number\") {\n      measurements[event.name] = { value, unit };\n    }\n  });\n  return measurements;\n}\nexport {\n  setMeasurement,\n  timedEventsToMeasurements\n};\n","import { getClient, getCurrentScope } from \"../currentScopes.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { createSpanEnvelope } from \"../envelope.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_PROFILE_ID, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME } from \"../semanticAttributes.js\";\nimport { TRACE_FLAG_SAMPLED, TRACE_FLAG_NONE, spanTimeInputToSeconds, getStatusMessage, getRootSpan, convertSpanLinksForEnvelope, spanToJSON, getSpanDescendants, spanToTransactionTraceContext } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { generateTraceId, generateSpanId } from \"../utils-hoist/propagationContext.js\";\nimport { timestampInSeconds } from \"../utils-hoist/time.js\";\nimport { getDynamicSamplingContextFromSpan } from \"./dynamicSamplingContext.js\";\nimport { logSpanEnd } from \"./logSpans.js\";\nimport { timedEventsToMeasurements } from \"./measurement.js\";\nimport { getCapturedScopesOnSpan } from \"./utils.js\";\nconst MAX_SPAN_COUNT = 1e3;\nclass SentrySpan {\n  /** Epoch timestamp in seconds when the span started. */\n  /** Epoch timestamp in seconds when the span ended. */\n  /** Internal keeper of the status */\n  /** The timed events added to this span. */\n  /** if true, treat span as a standalone span (not part of a transaction) */\n  /**\n   * You should never call the constructor manually, always use `Sentry.startSpan()`\n   * or other span methods.\n   * @internal\n   * @hideconstructor\n   * @hidden\n   */\n  constructor(spanContext = {}) {\n    this._traceId = spanContext.traceId || generateTraceId();\n    this._spanId = spanContext.spanId || generateSpanId();\n    this._startTime = spanContext.startTimestamp || timestampInSeconds();\n    this._links = spanContext.links;\n    this._attributes = {};\n    this.setAttributes({\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"manual\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_OP]: spanContext.op,\n      ...spanContext.attributes\n    });\n    this._name = spanContext.name;\n    if (spanContext.parentSpanId) {\n      this._parentSpanId = spanContext.parentSpanId;\n    }\n    if (\"sampled\" in spanContext) {\n      this._sampled = spanContext.sampled;\n    }\n    if (spanContext.endTimestamp) {\n      this._endTime = spanContext.endTimestamp;\n    }\n    this._events = [];\n    this._isStandaloneSpan = spanContext.isStandalone;\n    if (this._endTime) {\n      this._onSpanEnded();\n    }\n  }\n  /** @inheritDoc */\n  addLink(link) {\n    if (this._links) {\n      this._links.push(link);\n    } else {\n      this._links = [link];\n    }\n    return this;\n  }\n  /** @inheritDoc */\n  addLinks(links) {\n    if (this._links) {\n      this._links.push(...links);\n    } else {\n      this._links = links;\n    }\n    return this;\n  }\n  /**\n   * This should generally not be used,\n   * but it is needed for being compliant with the OTEL Span interface.\n   *\n   * @hidden\n   * @internal\n   */\n  recordException(_exception, _time) {\n  }\n  /** @inheritdoc */\n  spanContext() {\n    const { _spanId: spanId, _traceId: traceId, _sampled: sampled } = this;\n    return {\n      spanId,\n      traceId,\n      traceFlags: sampled ? TRACE_FLAG_SAMPLED : TRACE_FLAG_NONE\n    };\n  }\n  /** @inheritdoc */\n  setAttribute(key, value) {\n    if (value === void 0) {\n      delete this._attributes[key];\n    } else {\n      this._attributes[key] = value;\n    }\n    return this;\n  }\n  /** @inheritdoc */\n  setAttributes(attributes) {\n    Object.keys(attributes).forEach((key) => this.setAttribute(key, attributes[key]));\n    return this;\n  }\n  /**\n   * This should generally not be used,\n   * but we need it for browser tracing where we want to adjust the start time afterwards.\n   * USE THIS WITH CAUTION!\n   *\n   * @hidden\n   * @internal\n   */\n  updateStartTime(timeInput) {\n    this._startTime = spanTimeInputToSeconds(timeInput);\n  }\n  /**\n   * @inheritDoc\n   */\n  setStatus(value) {\n    this._status = value;\n    return this;\n  }\n  /**\n   * @inheritDoc\n   */\n  updateName(name) {\n    this._name = name;\n    this.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, \"custom\");\n    return this;\n  }\n  /** @inheritdoc */\n  end(endTimestamp) {\n    if (this._endTime) {\n      return;\n    }\n    this._endTime = spanTimeInputToSeconds(endTimestamp);\n    logSpanEnd(this);\n    this._onSpanEnded();\n  }\n  /**\n   * Get JSON representation of this span.\n   *\n   * @hidden\n   * @internal This method is purely for internal purposes and should not be used outside\n   * of SDK code. If you need to get a JSON representation of a span,\n   * use `spanToJSON(span)` instead.\n   */\n  getSpanJSON() {\n    return {\n      data: this._attributes,\n      description: this._name,\n      op: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP],\n      parent_span_id: this._parentSpanId,\n      span_id: this._spanId,\n      start_timestamp: this._startTime,\n      status: getStatusMessage(this._status),\n      timestamp: this._endTime,\n      trace_id: this._traceId,\n      origin: this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],\n      profile_id: this._attributes[SEMANTIC_ATTRIBUTE_PROFILE_ID],\n      exclusive_time: this._attributes[SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],\n      measurements: timedEventsToMeasurements(this._events),\n      is_segment: this._isStandaloneSpan && getRootSpan(this) === this || void 0,\n      segment_id: this._isStandaloneSpan ? getRootSpan(this).spanContext().spanId : void 0,\n      links: convertSpanLinksForEnvelope(this._links)\n    };\n  }\n  /** @inheritdoc */\n  isRecording() {\n    return !this._endTime && !!this._sampled;\n  }\n  /**\n   * @inheritdoc\n   */\n  addEvent(name, attributesOrStartTime, startTime) {\n    DEBUG_BUILD && logger.log(\"[Tracing] Adding an event to span:\", name);\n    const time = isSpanTimeInput(attributesOrStartTime) ? attributesOrStartTime : startTime || timestampInSeconds();\n    const attributes = isSpanTimeInput(attributesOrStartTime) ? {} : attributesOrStartTime || {};\n    const event = {\n      name,\n      time: spanTimeInputToSeconds(time),\n      attributes\n    };\n    this._events.push(event);\n    return this;\n  }\n  /**\n   * This method should generally not be used,\n   * but for now we need a way to publicly check if the `_isStandaloneSpan` flag is set.\n   * USE THIS WITH CAUTION!\n   * @internal\n   * @hidden\n   * @experimental\n   */\n  isStandaloneSpan() {\n    return !!this._isStandaloneSpan;\n  }\n  /** Emit `spanEnd` when the span is ended. */\n  _onSpanEnded() {\n    const client = getClient();\n    if (client) {\n      client.emit(\"spanEnd\", this);\n    }\n    const isSegmentSpan = this._isStandaloneSpan || this === getRootSpan(this);\n    if (!isSegmentSpan) {\n      return;\n    }\n    if (this._isStandaloneSpan) {\n      if (this._sampled) {\n        sendSpanEnvelope(createSpanEnvelope([this], client));\n      } else {\n        DEBUG_BUILD && logger.log(\"[Tracing] Discarding standalone span because its trace was not chosen to be sampled.\");\n        if (client) {\n          client.recordDroppedEvent(\"sample_rate\", \"span\");\n        }\n      }\n      return;\n    }\n    const transactionEvent = this._convertSpanToTransaction();\n    if (transactionEvent) {\n      const scope = getCapturedScopesOnSpan(this).scope || getCurrentScope();\n      scope.captureEvent(transactionEvent);\n    }\n  }\n  /**\n   * Finish the transaction & prepare the event to send to Sentry.\n   */\n  _convertSpanToTransaction() {\n    if (!isFullFinishedSpan(spanToJSON(this))) {\n      return void 0;\n    }\n    if (!this._name) {\n      DEBUG_BUILD && logger.warn(\"Transaction has no name, falling back to `<unlabeled transaction>`.\");\n      this._name = \"<unlabeled transaction>\";\n    }\n    const { scope: capturedSpanScope, isolationScope: capturedSpanIsolationScope } = getCapturedScopesOnSpan(this);\n    if (this._sampled !== true) {\n      return void 0;\n    }\n    const finishedSpans = getSpanDescendants(this).filter((span) => span !== this && !isStandaloneSpan(span));\n    const spans = finishedSpans.map((span) => spanToJSON(span)).filter(isFullFinishedSpan);\n    const source = this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n    delete this._attributes[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];\n    spans.forEach((span) => {\n      delete span.data[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];\n    });\n    const transaction = {\n      contexts: {\n        trace: spanToTransactionTraceContext(this)\n      },\n      spans: (\n        // spans.sort() mutates the array, but `spans` is already a copy so we can safely do this here\n        // we do not use spans anymore after this point\n        spans.length > MAX_SPAN_COUNT ? spans.sort((a, b) => a.start_timestamp - b.start_timestamp).slice(0, MAX_SPAN_COUNT) : spans\n      ),\n      start_timestamp: this._startTime,\n      timestamp: this._endTime,\n      transaction: this._name,\n      type: \"transaction\",\n      sdkProcessingMetadata: {\n        capturedSpanScope,\n        capturedSpanIsolationScope,\n        dynamicSamplingContext: getDynamicSamplingContextFromSpan(this)\n      },\n      ...source && {\n        transaction_info: {\n          source\n        }\n      }\n    };\n    const measurements = timedEventsToMeasurements(this._events);\n    const hasMeasurements = measurements && Object.keys(measurements).length;\n    if (hasMeasurements) {\n      DEBUG_BUILD && logger.log(\n        \"[Measurements] Adding measurements to transaction event\",\n        JSON.stringify(measurements, void 0, 2)\n      );\n      transaction.measurements = measurements;\n    }\n    return transaction;\n  }\n}\nfunction isSpanTimeInput(value) {\n  return value && typeof value === \"number\" || value instanceof Date || Array.isArray(value);\n}\nfunction isFullFinishedSpan(input) {\n  return !!input.start_timestamp && !!input.timestamp && !!input.span_id && !!input.trace_id;\n}\nfunction isStandaloneSpan(span) {\n  return span instanceof SentrySpan && span.isStandaloneSpan();\n}\nfunction sendSpanEnvelope(envelope) {\n  const client = getClient();\n  if (!client) {\n    return;\n  }\n  const spanItems = envelope[1];\n  if (!spanItems || spanItems.length === 0) {\n    client.recordDroppedEvent(\"before_send\", \"span\");\n    return;\n  }\n  client.sendEnvelope(envelope);\n}\nexport {\n  SentrySpan\n};\n","import { getAsyncContextStrategy } from \"../asyncContext/index.js\";\nimport { getMainCarrier } from \"../carrier.js\";\nimport { withScope, getCurrentScope, getIsolationScope, getClient } from \"../currentScopes.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE } from \"../semanticAttributes.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { parseSampleRate } from \"../utils/parseSampleRate.js\";\nimport { _setSpanForScope, _getSpanForScope } from \"../utils/spanOnScope.js\";\nimport { addChildSpanToSpan, spanIsSampled, spanTimeInputToSeconds, getRootSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getDynamicSamplingContextFromSpan, freezeDscOnSpan } from \"./dynamicSamplingContext.js\";\nimport { logSpanStart } from \"./logSpans.js\";\nimport { sampleSpan } from \"./sampling.js\";\nimport { SentryNonRecordingSpan } from \"./sentryNonRecordingSpan.js\";\nimport { SentrySpan } from \"./sentrySpan.js\";\nimport { setCapturedScopesOnSpan } from \"./utils.js\";\nconst SUPPRESS_TRACING_KEY = \"__SENTRY_SUPPRESS_TRACING__\";\nfunction startInactiveSpan(options) {\n  const acs = getAcs();\n  if (acs.startInactiveSpan) {\n    return acs.startInactiveSpan(options);\n  }\n  const spanArguments = parseSentrySpanArguments(options);\n  const { forceTransaction, parentSpan: customParentSpan } = options;\n  const wrapper = options.scope ? (callback) => withScope(options.scope, callback) : customParentSpan !== void 0 ? (callback) => withActiveSpan(customParentSpan, callback) : (callback) => callback();\n  return wrapper(() => {\n    const scope = getCurrentScope();\n    const parentSpan = getParentSpan(scope);\n    const shouldSkipSpan = options.onlyIfParent && !parentSpan;\n    if (shouldSkipSpan) {\n      return new SentryNonRecordingSpan();\n    }\n    return createChildOrRootSpan({\n      parentSpan,\n      spanArguments,\n      forceTransaction,\n      scope\n    });\n  });\n}\nfunction withActiveSpan(span, callback) {\n  const acs = getAcs();\n  if (acs.withActiveSpan) {\n    return acs.withActiveSpan(span, callback);\n  }\n  return withScope((scope) => {\n    _setSpanForScope(scope, span || void 0);\n    return callback(scope);\n  });\n}\nfunction createChildOrRootSpan({\n  parentSpan,\n  spanArguments,\n  forceTransaction,\n  scope\n}) {\n  if (!hasSpansEnabled()) {\n    const span2 = new SentryNonRecordingSpan();\n    if (forceTransaction || !parentSpan) {\n      const dsc = {\n        sampled: \"false\",\n        sample_rate: \"0\",\n        transaction: spanArguments.name,\n        ...getDynamicSamplingContextFromSpan(span2)\n      };\n      freezeDscOnSpan(span2, dsc);\n    }\n    return span2;\n  }\n  const isolationScope = getIsolationScope();\n  let span;\n  if (parentSpan && !forceTransaction) {\n    span = _startChildSpan(parentSpan, scope, spanArguments);\n    addChildSpanToSpan(parentSpan, span);\n  } else if (parentSpan) {\n    const dsc = getDynamicSamplingContextFromSpan(parentSpan);\n    const { traceId, spanId: parentSpanId } = parentSpan.spanContext();\n    const parentSampled = spanIsSampled(parentSpan);\n    span = _startRootSpan(\n      {\n        traceId,\n        parentSpanId,\n        ...spanArguments\n      },\n      scope,\n      parentSampled\n    );\n    freezeDscOnSpan(span, dsc);\n  } else {\n    const {\n      traceId,\n      dsc,\n      parentSpanId,\n      sampled: parentSampled\n    } = {\n      ...isolationScope.getPropagationContext(),\n      ...scope.getPropagationContext()\n    };\n    span = _startRootSpan(\n      {\n        traceId,\n        parentSpanId,\n        ...spanArguments\n      },\n      scope,\n      parentSampled\n    );\n    if (dsc) {\n      freezeDscOnSpan(span, dsc);\n    }\n  }\n  logSpanStart(span);\n  setCapturedScopesOnSpan(span, scope, isolationScope);\n  return span;\n}\nfunction parseSentrySpanArguments(options) {\n  const exp = options.experimental || {};\n  const initialCtx = {\n    isStandalone: exp.standalone,\n    ...options\n  };\n  if (options.startTime) {\n    const ctx = { ...initialCtx };\n    ctx.startTimestamp = spanTimeInputToSeconds(options.startTime);\n    delete ctx.startTime;\n    return ctx;\n  }\n  return initialCtx;\n}\nfunction getAcs() {\n  const carrier = getMainCarrier();\n  return getAsyncContextStrategy(carrier);\n}\nfunction _startRootSpan(spanArguments, scope, parentSampled) {\n  var _a;\n  const client = getClient();\n  const options = (client == null ? void 0 : client.getOptions()) || {};\n  const { name = \"\" } = spanArguments;\n  const mutableSpanSamplingData = { spanAttributes: { ...spanArguments.attributes }, spanName: name, parentSampled };\n  client == null ? void 0 : client.emit(\"beforeSampling\", mutableSpanSamplingData, { decision: false });\n  const finalParentSampled = mutableSpanSamplingData.parentSampled ?? parentSampled;\n  const finalAttributes = mutableSpanSamplingData.spanAttributes;\n  const currentPropagationContext = scope.getPropagationContext();\n  const [sampled, sampleRate, localSampleRateWasApplied] = scope.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY] ? [false] : sampleSpan(\n    options,\n    {\n      name,\n      parentSampled: finalParentSampled,\n      attributes: finalAttributes,\n      parentSampleRate: parseSampleRate((_a = currentPropagationContext.dsc) == null ? void 0 : _a.sample_rate)\n    },\n    currentPropagationContext.sampleRand\n  );\n  const rootSpan = new SentrySpan({\n    ...spanArguments,\n    attributes: {\n      [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: \"custom\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: sampleRate !== void 0 && localSampleRateWasApplied ? sampleRate : void 0,\n      ...finalAttributes\n    },\n    sampled\n  });\n  if (!sampled && client) {\n    DEBUG_BUILD && logger.log(\"[Tracing] Discarding root span because its trace was not chosen to be sampled.\");\n    client.recordDroppedEvent(\"sample_rate\", \"transaction\");\n  }\n  if (client) {\n    client.emit(\"spanStart\", rootSpan);\n  }\n  return rootSpan;\n}\nfunction _startChildSpan(parentSpan, scope, spanArguments) {\n  const { spanId, traceId } = parentSpan.spanContext();\n  const sampled = scope.getScopeData().sdkProcessingMetadata[SUPPRESS_TRACING_KEY] ? false : spanIsSampled(parentSpan);\n  const childSpan = sampled ? new SentrySpan({\n    ...spanArguments,\n    parentSpanId: spanId,\n    traceId,\n    sampled\n  }) : new SentryNonRecordingSpan({ traceId });\n  addChildSpanToSpan(parentSpan, childSpan);\n  const client = getClient();\n  if (client) {\n    client.emit(\"spanStart\", childSpan);\n    if (spanArguments.endTimestamp) {\n      client.emit(\"spanEnd\", childSpan);\n    }\n  }\n  return childSpan;\n}\nfunction getParentSpan(scope) {\n  const span = _getSpanForScope(scope);\n  if (!span) {\n    return void 0;\n  }\n  const client = getClient();\n  const options = client ? client.getOptions() : {};\n  if (options.parentSpanIsAlwaysRootSpan) {\n    return getRootSpan(span);\n  }\n  return span;\n}\nexport {\n  startInactiveSpan,\n  withActiveSpan\n};\n","import { getAsyncContextStrategy } from \"../asyncContext/index.js\";\nimport { getMainCarrier } from \"../carrier.js\";\nimport { getClient, getCurrentScope } from \"../currentScopes.js\";\nimport { isEnabled } from \"../exports.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { getActiveSpan, spanToTraceHeader } from \"./spanUtils.js\";\nimport { getDynamicSamplingContextFromSpan, getDynamicSamplingContextFromScope } from \"../tracing/dynamicSamplingContext.js\";\nimport { TRACEPARENT_REGEXP, generateSentryTraceHeader } from \"../utils-hoist/tracing.js\";\nimport { dynamicSamplingContextToSentryBaggageHeader } from \"../utils-hoist/baggage.js\";\nfunction getTraceData(options = {}) {\n  const client = getClient();\n  if (!isEnabled() || !client) {\n    return {};\n  }\n  const carrier = getMainCarrier();\n  const acs = getAsyncContextStrategy(carrier);\n  if (acs.getTraceData) {\n    return acs.getTraceData(options);\n  }\n  const scope = getCurrentScope();\n  const span = options.span || getActiveSpan();\n  const sentryTrace = span ? spanToTraceHeader(span) : scopeToTraceHeader(scope);\n  const dsc = span ? getDynamicSamplingContextFromSpan(span) : getDynamicSamplingContextFromScope(client, scope);\n  const baggage = dynamicSamplingContextToSentryBaggageHeader(dsc);\n  const isValidSentryTraceHeader = TRACEPARENT_REGEXP.test(sentryTrace);\n  if (!isValidSentryTraceHeader) {\n    logger.warn(\"Invalid sentry-trace data. Cannot generate trace data\");\n    return {};\n  }\n  return {\n    \"sentry-trace\": sentryTrace,\n    baggage\n  };\n}\nfunction scopeToTraceHeader(scope) {\n  const { traceId, sampled, propagationSpanId } = scope.getPropagationContext();\n  return generateSentryTraceHeader(traceId, propagationSpanId, sampled);\n}\nexport {\n  getTraceData\n};\n","import { getClient } from \"./currentScopes.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP } from \"./semanticAttributes.js\";\nimport { isRequest, isInstanceOf } from \"./utils-hoist/is.js\";\nimport { hasSpansEnabled } from \"./utils/hasSpansEnabled.js\";\nimport { getActiveSpan } from \"./utils/spanUtils.js\";\nimport { SENTRY_BAGGAGE_KEY_PREFIX } from \"./utils-hoist/baggage.js\";\nimport { SentryNonRecordingSpan } from \"./tracing/sentryNonRecordingSpan.js\";\nimport { setHttpStatus, SPAN_STATUS_ERROR } from \"./tracing/spanstatus.js\";\nimport { startInactiveSpan } from \"./tracing/trace.js\";\nimport { getTraceData } from \"./utils/traceData.js\";\nimport { parseStringToURLObject, getSanitizedUrlStringFromUrlObject, isURLObjectRelative } from \"./utils-hoist/url.js\";\nfunction instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeaders, spans, spanOrigin = \"auto.http.browser\") {\n  if (!handlerData.fetchData) {\n    return void 0;\n  }\n  const { method, url } = handlerData.fetchData;\n  const shouldCreateSpanResult = hasSpansEnabled() && shouldCreateSpan(url);\n  if (handlerData.endTimestamp && shouldCreateSpanResult) {\n    const spanId = handlerData.fetchData.__span;\n    if (!spanId)\n      return;\n    const span2 = spans[spanId];\n    if (span2) {\n      endSpan(span2, handlerData);\n      delete spans[spanId];\n    }\n    return void 0;\n  }\n  const hasParent = !!getActiveSpan();\n  const span = shouldCreateSpanResult && hasParent ? startInactiveSpan(getSpanStartOptions(url, method, spanOrigin)) : new SentryNonRecordingSpan();\n  handlerData.fetchData.__span = span.spanContext().spanId;\n  spans[span.spanContext().spanId] = span;\n  if (shouldAttachHeaders(handlerData.fetchData.url)) {\n    const request = handlerData.args[0];\n    const options = handlerData.args[1] || {};\n    const headers = _addTracingHeadersToFetchRequest(\n      request,\n      options,\n      // If performance is disabled (TWP) or there's no active root span (pageload/navigation/interaction),\n      // we do not want to use the span as base for the trace headers,\n      // which means that the headers will be generated from the scope and the sampling decision is deferred\n      hasSpansEnabled() && hasParent ? span : void 0\n    );\n    if (headers) {\n      handlerData.args[1] = options;\n      options.headers = headers;\n    }\n  }\n  const client = getClient();\n  if (client) {\n    const fetchHint = {\n      input: handlerData.args,\n      response: handlerData.response,\n      startTimestamp: handlerData.startTimestamp,\n      endTimestamp: handlerData.endTimestamp\n    };\n    client.emit(\"beforeOutgoingRequestSpan\", span, fetchHint);\n  }\n  return span;\n}\nfunction _addTracingHeadersToFetchRequest(request, fetchOptionsObj, span) {\n  const traceHeaders = getTraceData({ span });\n  const sentryTrace = traceHeaders[\"sentry-trace\"];\n  const baggage = traceHeaders.baggage;\n  if (!sentryTrace) {\n    return void 0;\n  }\n  const originalHeaders = fetchOptionsObj.headers || (isRequest(request) ? request.headers : void 0);\n  if (!originalHeaders) {\n    return { ...traceHeaders };\n  } else if (isHeaders(originalHeaders)) {\n    const newHeaders = new Headers(originalHeaders);\n    if (!newHeaders.get(\"sentry-trace\")) {\n      newHeaders.set(\"sentry-trace\", sentryTrace);\n    }\n    if (baggage) {\n      const prevBaggageHeader = newHeaders.get(\"baggage\");\n      if (!prevBaggageHeader) {\n        newHeaders.set(\"baggage\", baggage);\n      } else if (!baggageHeaderHasSentryBaggageValues(prevBaggageHeader)) {\n        newHeaders.set(\"baggage\", `${prevBaggageHeader},${baggage}`);\n      }\n    }\n    return newHeaders;\n  } else if (Array.isArray(originalHeaders)) {\n    const newHeaders = [...originalHeaders];\n    if (!originalHeaders.find((header) => header[0] === \"sentry-trace\")) {\n      newHeaders.push([\"sentry-trace\", sentryTrace]);\n    }\n    const prevBaggageHeaderWithSentryValues = originalHeaders.find(\n      (header) => header[0] === \"baggage\" && baggageHeaderHasSentryBaggageValues(header[1])\n    );\n    if (baggage && !prevBaggageHeaderWithSentryValues) {\n      newHeaders.push([\"baggage\", baggage]);\n    }\n    return newHeaders;\n  } else {\n    const existingSentryTraceHeader = \"sentry-trace\" in originalHeaders ? originalHeaders[\"sentry-trace\"] : void 0;\n    const existingBaggageHeader = \"baggage\" in originalHeaders ? originalHeaders.baggage : void 0;\n    const newBaggageHeaders = existingBaggageHeader ? Array.isArray(existingBaggageHeader) ? [...existingBaggageHeader] : [existingBaggageHeader] : [];\n    const prevBaggageHeaderWithSentryValues = existingBaggageHeader && (Array.isArray(existingBaggageHeader) ? existingBaggageHeader.find((headerItem) => baggageHeaderHasSentryBaggageValues(headerItem)) : baggageHeaderHasSentryBaggageValues(existingBaggageHeader));\n    if (baggage && !prevBaggageHeaderWithSentryValues) {\n      newBaggageHeaders.push(baggage);\n    }\n    return {\n      ...originalHeaders,\n      \"sentry-trace\": existingSentryTraceHeader ?? sentryTrace,\n      baggage: newBaggageHeaders.length > 0 ? newBaggageHeaders.join(\",\") : void 0\n    };\n  }\n}\nfunction endSpan(span, handlerData) {\n  var _a;\n  if (handlerData.response) {\n    setHttpStatus(span, handlerData.response.status);\n    const contentLength = ((_a = handlerData.response) == null ? void 0 : _a.headers) && handlerData.response.headers.get(\"content-length\");\n    if (contentLength) {\n      const contentLengthNum = parseInt(contentLength);\n      if (contentLengthNum > 0) {\n        span.setAttribute(\"http.response_content_length\", contentLengthNum);\n      }\n    }\n  } else if (handlerData.error) {\n    span.setStatus({ code: SPAN_STATUS_ERROR, message: \"internal_error\" });\n  }\n  span.end();\n}\nfunction baggageHeaderHasSentryBaggageValues(baggageHeader) {\n  return baggageHeader.split(\",\").some((baggageEntry) => baggageEntry.trim().startsWith(SENTRY_BAGGAGE_KEY_PREFIX));\n}\nfunction isHeaders(headers) {\n  return typeof Headers !== \"undefined\" && isInstanceOf(headers, Headers);\n}\nfunction getSpanStartOptions(url, method, spanOrigin) {\n  const parsedUrl = parseStringToURLObject(url);\n  return {\n    name: parsedUrl ? `${method} ${getSanitizedUrlStringFromUrlObject(parsedUrl)}` : method,\n    attributes: getFetchSpanAttributes(url, parsedUrl, method, spanOrigin)\n  };\n}\nfunction getFetchSpanAttributes(url, parsedUrl, method, spanOrigin) {\n  const attributes = {\n    url,\n    type: \"fetch\",\n    \"http.method\": method,\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanOrigin,\n    [SEMANTIC_ATTRIBUTE_SENTRY_OP]: \"http.client\"\n  };\n  if (parsedUrl) {\n    if (!isURLObjectRelative(parsedUrl)) {\n      attributes[\"http.url\"] = parsedUrl.href;\n      attributes[\"server.address\"] = parsedUrl.host;\n    }\n    if (parsedUrl.search) {\n      attributes[\"http.query\"] = parsedUrl.search;\n    }\n    if (parsedUrl.hash) {\n      attributes[\"http.fragment\"] = parsedUrl.hash;\n    }\n  }\n  return attributes;\n}\nexport {\n  _addTracingHeadersToFetchRequest,\n  instrumentFetchRequest\n};\n","const getRating = (value, thresholds) => {\n  if (value > thresholds[1]) {\n    return \"poor\";\n  }\n  if (value > thresholds[0]) {\n    return \"needs-improvement\";\n  }\n  return \"good\";\n};\nconst bindReporter = (callback, metric, thresholds, reportAllChanges) => {\n  let prevValue;\n  let delta;\n  return (forceReport) => {\n    if (metric.value >= 0) {\n      if (forceReport || reportAllChanges) {\n        delta = metric.value - (prevValue || 0);\n        if (delta || prevValue === void 0) {\n          prevValue = metric.value;\n          metric.delta = delta;\n          metric.rating = getRating(metric.value, thresholds);\n          callback(metric);\n        }\n      }\n    }\n  };\n};\nexport {\n  bindReporter\n};\n","const generateUniqueID = () => {\n  return `v4-${Date.now()}-${Math.floor(Math.random() * (9e12 - 1)) + 1e12}`;\n};\nexport {\n  generateUniqueID\n};\n","import { WINDOW } from \"../../../types.js\";\nconst getNavigationEntry = (checkResponseStart = true) => {\n  var _a, _b;\n  const navigationEntry = (_b = (_a = WINDOW.performance) == null ? void 0 : _a.getEntriesByType) == null ? void 0 : _b.call(_a, \"navigation\")[0];\n  if (\n    // sentry-specific change:\n    // We don't want to check for responseStart for our own use of `getNavigationEntry`\n    !checkResponseStart || navigationEntry && navigationEntry.responseStart > 0 && navigationEntry.responseStart < performance.now()\n  ) {\n    return navigationEntry;\n  }\n};\nexport {\n  getNavigationEntry\n};\n","import { getNavigationEntry } from \"./getNavigationEntry.js\";\nconst getActivationStart = () => {\n  const navEntry = getNavigationEntry();\n  return (navEntry == null ? void 0 : navEntry.activationStart) || 0;\n};\nexport {\n  getActivationStart\n};\n","import { WINDOW } from \"../../../types.js\";\nimport { generateUniqueID } from \"./generateUniqueID.js\";\nimport { getActivationStart } from \"./getActivationStart.js\";\nimport { getNavigationEntry } from \"./getNavigationEntry.js\";\nconst initMetric = (name, value) => {\n  var _a, _b;\n  const navEntry = getNavigationEntry();\n  let navigationType = \"navigate\";\n  if (navEntry) {\n    if (((_a = WINDOW.document) == null ? void 0 : _a.prerendering) || getActivationStart() > 0) {\n      navigationType = \"prerender\";\n    } else if ((_b = WINDOW.document) == null ? void 0 : _b.wasDiscarded) {\n      navigationType = \"restore\";\n    } else if (navEntry.type) {\n      navigationType = navEntry.type.replace(/_/g, \"-\");\n    }\n  }\n  const entries = [];\n  return {\n    name,\n    value: typeof value === \"undefined\" ? -1 : value,\n    rating: \"good\",\n    // If needed, will be updated when reported. `const` to keep the type from widening to `string`.\n    delta: 0,\n    entries,\n    id: generateUniqueID(),\n    navigationType\n  };\n};\nexport {\n  initMetric\n};\n","const observe = (type, callback, opts) => {\n  try {\n    if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n      const po = new PerformanceObserver((list) => {\n        Promise.resolve().then(() => {\n          callback(list.getEntries());\n        });\n      });\n      po.observe(\n        Object.assign(\n          {\n            type,\n            buffered: true\n          },\n          opts || {}\n        )\n      );\n      return po;\n    }\n  } catch (e) {\n  }\n  return;\n};\nexport {\n  observe\n};\n","import { WINDOW } from \"../../../types.js\";\nconst onHidden = (cb) => {\n  const onHiddenOrPageHide = (event) => {\n    var _a;\n    if (event.type === \"pagehide\" || ((_a = WINDOW.document) == null ? void 0 : _a.visibilityState) === \"hidden\") {\n      cb(event);\n    }\n  };\n  if (WINDOW.document) {\n    addEventListener(\"visibilitychange\", onHiddenOrPageHide, true);\n    addEventListener(\"pagehide\", onHiddenOrPageHide, true);\n  }\n};\nexport {\n  onHidden\n};\n","const runOnce = (cb) => {\n  let called = false;\n  return () => {\n    if (!called) {\n      cb();\n      called = true;\n    }\n  };\n};\nexport {\n  runOnce\n};\n","import { WINDOW } from \"../../../types.js\";\nlet firstHiddenTime = -1;\nconst initHiddenTime = () => {\n  return WINDOW.document.visibilityState === \"hidden\" && !WINDOW.document.prerendering ? 0 : Infinity;\n};\nconst onVisibilityUpdate = (event) => {\n  if (WINDOW.document.visibilityState === \"hidden\" && firstHiddenTime > -1) {\n    firstHiddenTime = event.type === \"visibilitychange\" ? event.timeStamp : 0;\n    removeChangeListeners();\n  }\n};\nconst addChangeListeners = () => {\n  addEventListener(\"visibilitychange\", onVisibilityUpdate, true);\n  addEventListener(\"prerenderingchange\", onVisibilityUpdate, true);\n};\nconst removeChangeListeners = () => {\n  removeEventListener(\"visibilitychange\", onVisibilityUpdate, true);\n  removeEventListener(\"prerenderingchange\", onVisibilityUpdate, true);\n};\nconst getVisibilityWatcher = () => {\n  if (WINDOW.document && firstHiddenTime < 0) {\n    firstHiddenTime = initHiddenTime();\n    addChangeListeners();\n  }\n  return {\n    get firstHiddenTime() {\n      return firstHiddenTime;\n    }\n  };\n};\nexport {\n  getVisibilityWatcher\n};\n","import { WINDOW } from \"../../../types.js\";\nconst whenActivated = (callback) => {\n  var _a;\n  if ((_a = WINDOW.document) == null ? void 0 : _a.prerendering) {\n    addEventListener(\"prerenderingchange\", () => callback(), true);\n  } else {\n    callback();\n  }\n};\nexport {\n  whenActivated\n};\n","import { bindReporter } from \"./lib/bindReporter.js\";\nimport { getActivationStart } from \"./lib/getActivationStart.js\";\nimport { getVisibilityWatcher } from \"./lib/getVisibilityWatcher.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nconst FCPThresholds = [1800, 3e3];\nconst onFCP = (onReport, opts = {}) => {\n  whenActivated(() => {\n    const visibilityWatcher = getVisibilityWatcher();\n    const metric = initMetric(\"FCP\");\n    let report;\n    const handleEntries = (entries) => {\n      entries.forEach((entry) => {\n        if (entry.name === \"first-contentful-paint\") {\n          po.disconnect();\n          if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n            metric.value = Math.max(entry.startTime - getActivationStart(), 0);\n            metric.entries.push(entry);\n            report(true);\n          }\n        }\n      });\n    };\n    const po = observe(\"paint\", handleEntries);\n    if (po) {\n      report = bindReporter(onReport, metric, FCPThresholds, opts.reportAllChanges);\n    }\n  });\n};\nexport {\n  FCPThresholds,\n  onFCP\n};\n","import { bindReporter } from \"./lib/bindReporter.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { runOnce } from \"./lib/runOnce.js\";\nimport { onFCP } from \"./onFCP.js\";\nconst CLSThresholds = [0.1, 0.25];\nconst onCLS = (onReport, opts = {}) => {\n  onFCP(\n    runOnce(() => {\n      const metric = initMetric(\"CLS\", 0);\n      let report;\n      let sessionValue = 0;\n      let sessionEntries = [];\n      const handleEntries = (entries) => {\n        entries.forEach((entry) => {\n          if (!entry.hadRecentInput) {\n            const firstSessionEntry = sessionEntries[0];\n            const lastSessionEntry = sessionEntries[sessionEntries.length - 1];\n            if (sessionValue && firstSessionEntry && lastSessionEntry && entry.startTime - lastSessionEntry.startTime < 1e3 && entry.startTime - firstSessionEntry.startTime < 5e3) {\n              sessionValue += entry.value;\n              sessionEntries.push(entry);\n            } else {\n              sessionValue = entry.value;\n              sessionEntries = [entry];\n            }\n          }\n        });\n        if (sessionValue > metric.value) {\n          metric.value = sessionValue;\n          metric.entries = sessionEntries;\n          report();\n        }\n      };\n      const po = observe(\"layout-shift\", handleEntries);\n      if (po) {\n        report = bindReporter(onReport, metric, CLSThresholds, opts.reportAllChanges);\n        onHidden(() => {\n          handleEntries(po.takeRecords());\n          report(true);\n        });\n        setTimeout(report, 0);\n      }\n    })\n  );\n};\nexport {\n  CLSThresholds,\n  onCLS\n};\n","import { bindReporter } from \"./lib/bindReporter.js\";\nimport { getVisibilityWatcher } from \"./lib/getVisibilityWatcher.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { runOnce } from \"./lib/runOnce.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nconst FIDThresholds = [100, 300];\nconst onFID = (onReport, opts = {}) => {\n  whenActivated(() => {\n    const visibilityWatcher = getVisibilityWatcher();\n    const metric = initMetric(\"FID\");\n    let report;\n    const handleEntry = (entry) => {\n      if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n        metric.value = entry.processingStart - entry.startTime;\n        metric.entries.push(entry);\n        report(true);\n      }\n    };\n    const handleEntries = (entries) => {\n      entries.forEach(handleEntry);\n    };\n    const po = observe(\"first-input\", handleEntries);\n    report = bindReporter(onReport, metric, FIDThresholds, opts.reportAllChanges);\n    if (po) {\n      onHidden(\n        runOnce(() => {\n          handleEntries(po.takeRecords());\n          po.disconnect();\n        })\n      );\n    }\n  });\n};\nexport {\n  FIDThresholds,\n  onFID\n};\n","import { observe } from \"../observe.js\";\nlet interactionCountEstimate = 0;\nlet minKnownInteractionId = Infinity;\nlet maxKnownInteractionId = 0;\nconst updateEstimate = (entries) => {\n  entries.forEach((e) => {\n    if (e.interactionId) {\n      minKnownInteractionId = Math.min(minKnownInteractionId, e.interactionId);\n      maxKnownInteractionId = Math.max(maxKnownInteractionId, e.interactionId);\n      interactionCountEstimate = maxKnownInteractionId ? (maxKnownInteractionId - minKnownInteractionId) / 7 + 1 : 0;\n    }\n  });\n};\nlet po;\nconst getInteractionCount = () => {\n  return po ? interactionCountEstimate : performance.interactionCount || 0;\n};\nconst initInteractionCountPolyfill = () => {\n  if (\"interactionCount\" in performance || po)\n    return;\n  po = observe(\"event\", updateEstimate, {\n    type: \"event\",\n    buffered: true,\n    durationThreshold: 0\n  });\n};\nexport {\n  getInteractionCount,\n  initInteractionCountPolyfill\n};\n","import { getInteractionCount } from \"./polyfills/interactionCountPolyfill.js\";\nconst longestInteractionList = [];\nconst longestInteractionMap = /* @__PURE__ */ new Map();\nconst DEFAULT_DURATION_THRESHOLD = 40;\nlet prevInteractionCount = 0;\nconst getInteractionCountForNavigation = () => {\n  return getInteractionCount() - prevInteractionCount;\n};\nconst estimateP98LongestInteraction = () => {\n  const candidateInteractionIndex = Math.min(\n    longestInteractionList.length - 1,\n    Math.floor(getInteractionCountForNavigation() / 50)\n  );\n  return longestInteractionList[candidateInteractionIndex];\n};\nconst MAX_INTERACTIONS_TO_CONSIDER = 10;\nconst entryPreProcessingCallbacks = [];\nconst processInteractionEntry = (entry) => {\n  var _a;\n  entryPreProcessingCallbacks.forEach((cb) => cb(entry));\n  if (!(entry.interactionId || entry.entryType === \"first-input\"))\n    return;\n  const minLongestInteraction = longestInteractionList[longestInteractionList.length - 1];\n  const existingInteraction = longestInteractionMap.get(entry.interactionId);\n  if (existingInteraction || longestInteractionList.length < MAX_INTERACTIONS_TO_CONSIDER || minLongestInteraction && entry.duration > minLongestInteraction.latency) {\n    if (existingInteraction) {\n      if (entry.duration > existingInteraction.latency) {\n        existingInteraction.entries = [entry];\n        existingInteraction.latency = entry.duration;\n      } else if (entry.duration === existingInteraction.latency && entry.startTime === ((_a = existingInteraction.entries[0]) == null ? void 0 : _a.startTime)) {\n        existingInteraction.entries.push(entry);\n      }\n    } else {\n      const interaction = {\n        id: entry.interactionId,\n        latency: entry.duration,\n        entries: [entry]\n      };\n      longestInteractionMap.set(interaction.id, interaction);\n      longestInteractionList.push(interaction);\n    }\n    longestInteractionList.sort((a, b) => b.latency - a.latency);\n    if (longestInteractionList.length > MAX_INTERACTIONS_TO_CONSIDER) {\n      longestInteractionList.splice(MAX_INTERACTIONS_TO_CONSIDER).forEach((i) => longestInteractionMap.delete(i.id));\n    }\n  }\n};\nexport {\n  DEFAULT_DURATION_THRESHOLD,\n  entryPreProcessingCallbacks,\n  estimateP98LongestInteraction,\n  longestInteractionList,\n  longestInteractionMap,\n  processInteractionEntry\n};\n","import { WINDOW } from \"../../../types.js\";\nimport { onHidden } from \"./onHidden.js\";\nimport { runOnce } from \"./runOnce.js\";\nconst whenIdle = (cb) => {\n  var _a;\n  const rIC = WINDOW.requestIdleCallback || WINDOW.setTimeout;\n  let handle = -1;\n  cb = runOnce(cb);\n  if (((_a = WINDOW.document) == null ? void 0 : _a.visibilityState) === \"hidden\") {\n    cb();\n  } else {\n    handle = rIC(cb);\n    onHidden(cb);\n  }\n  return handle;\n};\nexport {\n  whenIdle\n};\n","import { WINDOW } from \"../../types.js\";\nimport { bindReporter } from \"./lib/bindReporter.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { DEFAULT_DURATION_THRESHOLD, processInteractionEntry, estimateP98LongestInteraction } from \"./lib/interactions.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { initInteractionCountPolyfill } from \"./lib/polyfills/interactionCountPolyfill.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nimport { whenIdle } from \"./lib/whenIdle.js\";\nconst INPThresholds = [200, 500];\nconst onINP = (onReport, opts = {}) => {\n  if (!(\"PerformanceEventTiming\" in WINDOW && \"interactionId\" in PerformanceEventTiming.prototype)) {\n    return;\n  }\n  whenActivated(() => {\n    initInteractionCountPolyfill();\n    const metric = initMetric(\"INP\");\n    let report;\n    const handleEntries = (entries) => {\n      whenIdle(() => {\n        entries.forEach(processInteractionEntry);\n        const inp = estimateP98LongestInteraction();\n        if (inp && inp.latency !== metric.value) {\n          metric.value = inp.latency;\n          metric.entries = inp.entries;\n          report();\n        }\n      });\n    };\n    const po = observe(\"event\", handleEntries, {\n      // Event Timing entries have their durations rounded to the nearest 8ms,\n      // so a duration of 40ms would be any event that spans 2.5 or more frames\n      // at 60Hz. This threshold is chosen to strike a balance between usefulness\n      // and performance. Running this callback for any interaction that spans\n      // just one or two frames is likely not worth the insight that could be\n      // gained.\n      durationThreshold: opts.durationThreshold != null ? opts.durationThreshold : DEFAULT_DURATION_THRESHOLD\n    });\n    report = bindReporter(onReport, metric, INPThresholds, opts.reportAllChanges);\n    if (po) {\n      po.observe({ type: \"first-input\", buffered: true });\n      onHidden(() => {\n        handleEntries(po.takeRecords());\n        report(true);\n      });\n    }\n  });\n};\nexport {\n  INPThresholds,\n  onINP\n};\n","import { WINDOW } from \"../../types.js\";\nimport { bindReporter } from \"./lib/bindReporter.js\";\nimport { getActivationStart } from \"./lib/getActivationStart.js\";\nimport { getVisibilityWatcher } from \"./lib/getVisibilityWatcher.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { observe } from \"./lib/observe.js\";\nimport { onHidden } from \"./lib/onHidden.js\";\nimport { runOnce } from \"./lib/runOnce.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nimport { whenIdle } from \"./lib/whenIdle.js\";\nconst LCPThresholds = [2500, 4e3];\nconst reportedMetricIDs = {};\nconst onLCP = (onReport, opts = {}) => {\n  whenActivated(() => {\n    const visibilityWatcher = getVisibilityWatcher();\n    const metric = initMetric(\"LCP\");\n    let report;\n    const handleEntries = (entries) => {\n      if (!opts.reportAllChanges) {\n        entries = entries.slice(-1);\n      }\n      entries.forEach((entry) => {\n        if (entry.startTime < visibilityWatcher.firstHiddenTime) {\n          metric.value = Math.max(entry.startTime - getActivationStart(), 0);\n          metric.entries = [entry];\n          report();\n        }\n      });\n    };\n    const po = observe(\"largest-contentful-paint\", handleEntries);\n    if (po) {\n      report = bindReporter(onReport, metric, LCPThresholds, opts.reportAllChanges);\n      const stopListening = runOnce(() => {\n        if (!reportedMetricIDs[metric.id]) {\n          handleEntries(po.takeRecords());\n          po.disconnect();\n          reportedMetricIDs[metric.id] = true;\n          report(true);\n        }\n      });\n      [\"keydown\", \"click\"].forEach((type) => {\n        if (WINDOW.document) {\n          addEventListener(type, () => whenIdle(stopListening), {\n            once: true,\n            capture: true\n          });\n        }\n      });\n      onHidden(stopListening);\n    }\n  });\n};\nexport {\n  LCPThresholds,\n  onLCP\n};\n","import { WINDOW } from \"../../types.js\";\nimport { bindReporter } from \"./lib/bindReporter.js\";\nimport { getActivationStart } from \"./lib/getActivationStart.js\";\nimport { getNavigationEntry } from \"./lib/getNavigationEntry.js\";\nimport { initMetric } from \"./lib/initMetric.js\";\nimport { whenActivated } from \"./lib/whenActivated.js\";\nconst TTFBThresholds = [800, 1800];\nconst whenReady = (callback) => {\n  var _a, _b;\n  if ((_a = WINDOW.document) == null ? void 0 : _a.prerendering) {\n    whenActivated(() => whenReady(callback));\n  } else if (((_b = WINDOW.document) == null ? void 0 : _b.readyState) !== \"complete\") {\n    addEventListener(\"load\", () => whenReady(callback), true);\n  } else {\n    setTimeout(callback, 0);\n  }\n};\nconst onTTFB = (onReport, opts = {}) => {\n  const metric = initMetric(\"TTFB\");\n  const report = bindReporter(onReport, metric, TTFBThresholds, opts.reportAllChanges);\n  whenReady(() => {\n    const navigationEntry = getNavigationEntry();\n    if (navigationEntry) {\n      metric.value = Math.max(navigationEntry.responseStart - getActivationStart(), 0);\n      metric.entries = [navigationEntry];\n      report(true);\n    }\n  });\n};\nexport {\n  TTFBThresholds,\n  onTTFB\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { onCLS } from \"./web-vitals/getCLS.js\";\nimport { onFID } from \"./web-vitals/getFID.js\";\nimport { onINP } from \"./web-vitals/getINP.js\";\nimport { onLCP } from \"./web-vitals/getLCP.js\";\nimport { observe } from \"./web-vitals/lib/observe.js\";\nimport { onTTFB } from \"./web-vitals/onTTFB.js\";\nimport { logger } from \"../../../../../@sentry/core/build/esm/utils-hoist/logger.js\";\nimport { getFunctionName } from \"../../../../../@sentry/core/build/esm/utils-hoist/stacktrace.js\";\nconst handlers = {};\nconst instrumented = {};\nlet _previousCls;\nlet _previousFid;\nlet _previousLcp;\nlet _previousTtfb;\nlet _previousInp;\nfunction addClsInstrumentationHandler(callback, stopOnCallback = false) {\n  return addMetricObserver(\"cls\", callback, instrumentCls, _previousCls, stopOnCallback);\n}\nfunction addLcpInstrumentationHandler(callback, stopOnCallback = false) {\n  return addMetricObserver(\"lcp\", callback, instrumentLcp, _previousLcp, stopOnCallback);\n}\nfunction addFidInstrumentationHandler(callback) {\n  return addMetricObserver(\"fid\", callback, instrumentFid, _previousFid);\n}\nfunction addTtfbInstrumentationHandler(callback) {\n  return addMetricObserver(\"ttfb\", callback, instrumentTtfb, _previousTtfb);\n}\nfunction addInpInstrumentationHandler(callback) {\n  return addMetricObserver(\"inp\", callback, instrumentInp, _previousInp);\n}\nfunction addPerformanceInstrumentationHandler(type, callback) {\n  addHandler(type, callback);\n  if (!instrumented[type]) {\n    instrumentPerformanceObserver(type);\n    instrumented[type] = true;\n  }\n  return getCleanupCallback(type, callback);\n}\nfunction triggerHandlers(type, data) {\n  const typeHandlers = handlers[type];\n  if (!(typeHandlers == null ? void 0 : typeHandlers.length)) {\n    return;\n  }\n  for (const handler of typeHandlers) {\n    try {\n      handler(data);\n    } catch (e) {\n      DEBUG_BUILD && logger.error(\n        `Error while triggering instrumentation handler.\nType: ${type}\nName: ${getFunctionName(handler)}\nError:`,\n        e\n      );\n    }\n  }\n}\nfunction instrumentCls() {\n  return onCLS(\n    (metric) => {\n      triggerHandlers(\"cls\", {\n        metric\n      });\n      _previousCls = metric;\n    },\n    // We want the callback to be called whenever the CLS value updates.\n    // By default, the callback is only called when the tab goes to the background.\n    { reportAllChanges: true }\n  );\n}\nfunction instrumentFid() {\n  return onFID((metric) => {\n    triggerHandlers(\"fid\", {\n      metric\n    });\n    _previousFid = metric;\n  });\n}\nfunction instrumentLcp() {\n  return onLCP(\n    (metric) => {\n      triggerHandlers(\"lcp\", {\n        metric\n      });\n      _previousLcp = metric;\n    },\n    // We want the callback to be called whenever the LCP value updates.\n    // By default, the callback is only called when the tab goes to the background.\n    { reportAllChanges: true }\n  );\n}\nfunction instrumentTtfb() {\n  return onTTFB((metric) => {\n    triggerHandlers(\"ttfb\", {\n      metric\n    });\n    _previousTtfb = metric;\n  });\n}\nfunction instrumentInp() {\n  return onINP((metric) => {\n    triggerHandlers(\"inp\", {\n      metric\n    });\n    _previousInp = metric;\n  });\n}\nfunction addMetricObserver(type, callback, instrumentFn, previousValue, stopOnCallback = false) {\n  addHandler(type, callback);\n  let stopListening;\n  if (!instrumented[type]) {\n    stopListening = instrumentFn();\n    instrumented[type] = true;\n  }\n  if (previousValue) {\n    callback({ metric: previousValue });\n  }\n  return getCleanupCallback(type, callback, stopOnCallback ? stopListening : void 0);\n}\nfunction instrumentPerformanceObserver(type) {\n  const options = {};\n  if (type === \"event\") {\n    options.durationThreshold = 0;\n  }\n  observe(\n    type,\n    (entries) => {\n      triggerHandlers(type, { entries });\n    },\n    options\n  );\n}\nfunction addHandler(type, handler) {\n  handlers[type] = handlers[type] || [];\n  handlers[type].push(handler);\n}\nfunction getCleanupCallback(type, callback, stopListening) {\n  return () => {\n    if (stopListening) {\n      stopListening();\n    }\n    const typeHandlers = handlers[type];\n    if (!typeHandlers) {\n      return;\n    }\n    const index = typeHandlers.indexOf(callback);\n    if (index !== -1) {\n      typeHandlers.splice(index, 1);\n    }\n  };\n}\nfunction isPerformanceEventTiming(entry) {\n  return \"duration\" in entry;\n}\nexport {\n  addClsInstrumentationHandler,\n  addFidInstrumentationHandler,\n  addInpInstrumentationHandler,\n  addLcpInstrumentationHandler,\n  addPerformanceInstrumentationHandler,\n  addTtfbInstrumentationHandler,\n  isPerformanceEventTiming\n};\n","import { WINDOW } from \"../types.js\";\nimport { spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { withActiveSpan, startInactiveSpan } from \"../../../../../@sentry/core/build/esm/tracing/trace.js\";\nimport { getClient, getCurrentScope } from \"../../../../../@sentry/core/build/esm/currentScopes.js\";\nfunction isMeasurementValue(value) {\n  return typeof value === \"number\" && isFinite(value);\n}\nfunction startAndEndSpan(parentSpan, startTimeInSeconds, endTime, { ...ctx }) {\n  const parentStartTime = spanToJSON(parentSpan).start_timestamp;\n  if (parentStartTime && parentStartTime > startTimeInSeconds) {\n    if (typeof parentSpan.updateStartTime === \"function\") {\n      parentSpan.updateStartTime(startTimeInSeconds);\n    }\n  }\n  return withActiveSpan(parentSpan, () => {\n    const span = startInactiveSpan({\n      startTime: startTimeInSeconds,\n      ...ctx\n    });\n    if (span) {\n      span.end(endTime);\n    }\n    return span;\n  });\n}\nfunction startStandaloneWebVitalSpan(options) {\n  var _a;\n  const client = getClient();\n  if (!client) {\n    return;\n  }\n  const { name, transaction, attributes: passedAttributes, startTime } = options;\n  const { release, environment, sendDefaultPii } = client.getOptions();\n  const replay = client.getIntegrationByName(\"Replay\");\n  const replayId = replay == null ? void 0 : replay.getReplayId();\n  const scope = getCurrentScope();\n  const user = scope.getUser();\n  const userDisplay = user !== void 0 ? user.email || user.id || user.ip_address : void 0;\n  let profileId;\n  try {\n    profileId = scope.getScopeData().contexts.profile.profile_id;\n  } catch {\n  }\n  const attributes = {\n    release,\n    environment,\n    user: userDisplay || void 0,\n    profile_id: profileId || void 0,\n    replay_id: replayId || void 0,\n    transaction,\n    // Web vital score calculation relies on the user agent to account for different\n    // browsers setting different thresholds for what is considered a good/meh/bad value.\n    // For example: Chrome vs. Chrome Mobile\n    \"user_agent.original\": (_a = WINDOW.navigator) == null ? void 0 : _a.userAgent,\n    // This tells Sentry to infer the IP address from the request\n    \"client.address\": sendDefaultPii ? \"{{auto}}\" : void 0,\n    ...passedAttributes\n  };\n  return startInactiveSpan({\n    name,\n    attributes,\n    startTime,\n    experimental: {\n      standalone: true\n    }\n  });\n}\nfunction getBrowserPerformanceAPI() {\n  return WINDOW.addEventListener && WINDOW.performance;\n}\nfunction msToSec(time) {\n  return time / 1e3;\n}\nfunction extractNetworkProtocol(nextHopProtocol) {\n  let name = \"unknown\";\n  let version = \"unknown\";\n  let _name = \"\";\n  for (const char of nextHopProtocol) {\n    if (char === \"/\") {\n      [name, version] = nextHopProtocol.split(\"/\");\n      break;\n    }\n    if (!isNaN(Number(char))) {\n      name = _name === \"h\" ? \"http\" : _name;\n      version = nextHopProtocol.split(_name)[1];\n      break;\n    }\n    _name += char;\n  }\n  if (_name === nextHopProtocol) {\n    name = _name;\n  }\n  return { name, version };\n}\nexport {\n  extractNetworkProtocol,\n  getBrowserPerformanceAPI,\n  isMeasurementValue,\n  msToSec,\n  startAndEndSpan,\n  startStandaloneWebVitalSpan\n};\n","import { WINDOW } from \"../helpers.js\";\nimport { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler } from \"../../../../../core/build/esm/utils-hoist/instrument/fetch.js\";\nimport { addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/xhr.js\";\nimport { instrumentFetchRequest } from \"../../../../../core/build/esm/fetch.js\";\nimport { parseUrl, stripUrlQueryAndFragment } from \"../../../../../core/build/esm/utils-hoist/url.js\";\nimport { spanToJSON, getActiveSpan } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { addPerformanceInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/instrument.js\";\nimport { hasSpansEnabled } from \"../../../../../core/build/esm/utils/hasSpansEnabled.js\";\nimport { setHttpStatus } from \"../../../../../core/build/esm/tracing/spanstatus.js\";\nimport { startInactiveSpan } from \"../../../../../core/build/esm/tracing/trace.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP } from \"../../../../../core/build/esm/semanticAttributes.js\";\nimport { SentryNonRecordingSpan } from \"../../../../../core/build/esm/tracing/sentryNonRecordingSpan.js\";\nimport { getClient } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { getTraceData } from \"../../../../../core/build/esm/utils/traceData.js\";\nimport { extractNetworkProtocol } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/utils.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../core/build/esm/utils-hoist/time.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { stringMatchesSomePattern } from \"../../../../../core/build/esm/utils-hoist/string.js\";\nconst responseToSpanId = /* @__PURE__ */ new WeakMap();\nconst spanIdToEndTimestamp = /* @__PURE__ */ new Map();\nconst defaultRequestInstrumentationOptions = {\n  traceFetch: true,\n  traceXHR: true,\n  enableHTTPTimings: true,\n  trackFetchStreamPerformance: false\n};\nfunction instrumentOutgoingRequests(client, _options) {\n  const {\n    traceFetch,\n    traceXHR,\n    trackFetchStreamPerformance,\n    shouldCreateSpanForRequest,\n    enableHTTPTimings,\n    tracePropagationTargets,\n    onRequestSpanStart\n  } = {\n    ...defaultRequestInstrumentationOptions,\n    ..._options\n  };\n  const shouldCreateSpan = typeof shouldCreateSpanForRequest === \"function\" ? shouldCreateSpanForRequest : (_) => true;\n  const shouldAttachHeadersWithTargets = (url) => shouldAttachHeaders(url, tracePropagationTargets);\n  const spans = {};\n  if (traceFetch) {\n    client.addEventProcessor((event) => {\n      if (event.type === \"transaction\" && event.spans) {\n        event.spans.forEach((span) => {\n          if (span.op === \"http.client\") {\n            const updatedTimestamp = spanIdToEndTimestamp.get(span.span_id);\n            if (updatedTimestamp) {\n              span.timestamp = updatedTimestamp / 1e3;\n              spanIdToEndTimestamp.delete(span.span_id);\n            }\n          }\n        });\n      }\n      return event;\n    });\n    if (trackFetchStreamPerformance) {\n      addFetchEndInstrumentationHandler((handlerData) => {\n        if (handlerData.response) {\n          const span = responseToSpanId.get(handlerData.response);\n          if (span && handlerData.endTimestamp) {\n            spanIdToEndTimestamp.set(span, handlerData.endTimestamp);\n          }\n        }\n      });\n    }\n    addFetchInstrumentationHandler((handlerData) => {\n      const createdSpan = instrumentFetchRequest(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n      if (handlerData.response && handlerData.fetchData.__span) {\n        responseToSpanId.set(handlerData.response, handlerData.fetchData.__span);\n      }\n      if (createdSpan) {\n        const fullUrl = getFullURL(handlerData.fetchData.url);\n        const host = fullUrl ? parseUrl(fullUrl).host : void 0;\n        createdSpan.setAttributes({\n          \"http.url\": fullUrl,\n          \"server.address\": host\n        });\n        if (enableHTTPTimings) {\n          addHTTPTimings(createdSpan);\n        }\n        onRequestSpanStart == null ? void 0 : onRequestSpanStart(createdSpan, { headers: handlerData.headers });\n      }\n    });\n  }\n  if (traceXHR) {\n    addXhrInstrumentationHandler((handlerData) => {\n      var _a;\n      const createdSpan = xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeadersWithTargets, spans);\n      if (createdSpan) {\n        if (enableHTTPTimings) {\n          addHTTPTimings(createdSpan);\n        }\n        let headers;\n        try {\n          headers = new Headers((_a = handlerData.xhr.__sentry_xhr_v3__) == null ? void 0 : _a.request_headers);\n        } catch {\n        }\n        onRequestSpanStart == null ? void 0 : onRequestSpanStart(createdSpan, { headers });\n      }\n    });\n  }\n}\nfunction isPerformanceResourceTiming(entry) {\n  return entry.entryType === \"resource\" && \"initiatorType\" in entry && typeof entry.nextHopProtocol === \"string\" && (entry.initiatorType === \"fetch\" || entry.initiatorType === \"xmlhttprequest\");\n}\nfunction addHTTPTimings(span) {\n  const { url } = spanToJSON(span).data;\n  if (!url || typeof url !== \"string\") {\n    return;\n  }\n  const cleanup = addPerformanceInstrumentationHandler(\"resource\", ({ entries }) => {\n    entries.forEach((entry) => {\n      if (isPerformanceResourceTiming(entry) && entry.name.endsWith(url)) {\n        const spanData = resourceTimingEntryToSpanData(entry);\n        spanData.forEach((data) => span.setAttribute(...data));\n        setTimeout(cleanup);\n      }\n    });\n  });\n}\nfunction getAbsoluteTime(time = 0) {\n  return ((browserPerformanceTimeOrigin() || performance.timeOrigin) + time) / 1e3;\n}\nfunction resourceTimingEntryToSpanData(resourceTiming) {\n  const { name, version } = extractNetworkProtocol(resourceTiming.nextHopProtocol);\n  const timingSpanData = [];\n  timingSpanData.push([\"network.protocol.version\", version], [\"network.protocol.name\", name]);\n  if (!browserPerformanceTimeOrigin()) {\n    return timingSpanData;\n  }\n  return [\n    ...timingSpanData,\n    [\"http.request.redirect_start\", getAbsoluteTime(resourceTiming.redirectStart)],\n    [\"http.request.fetch_start\", getAbsoluteTime(resourceTiming.fetchStart)],\n    [\"http.request.domain_lookup_start\", getAbsoluteTime(resourceTiming.domainLookupStart)],\n    [\"http.request.domain_lookup_end\", getAbsoluteTime(resourceTiming.domainLookupEnd)],\n    [\"http.request.connect_start\", getAbsoluteTime(resourceTiming.connectStart)],\n    [\"http.request.secure_connection_start\", getAbsoluteTime(resourceTiming.secureConnectionStart)],\n    [\"http.request.connection_end\", getAbsoluteTime(resourceTiming.connectEnd)],\n    [\"http.request.request_start\", getAbsoluteTime(resourceTiming.requestStart)],\n    [\"http.request.response_start\", getAbsoluteTime(resourceTiming.responseStart)],\n    [\"http.request.response_end\", getAbsoluteTime(resourceTiming.responseEnd)]\n  ];\n}\nfunction shouldAttachHeaders(targetUrl, tracePropagationTargets) {\n  const href = getLocationHref();\n  if (!href) {\n    const isRelativeSameOriginRequest = !!targetUrl.match(/^\\/(?!\\/)/);\n    if (!tracePropagationTargets) {\n      return isRelativeSameOriginRequest;\n    } else {\n      return stringMatchesSomePattern(targetUrl, tracePropagationTargets);\n    }\n  } else {\n    let resolvedUrl;\n    let currentOrigin;\n    try {\n      resolvedUrl = new URL(targetUrl, href);\n      currentOrigin = new URL(href).origin;\n    } catch (e) {\n      return false;\n    }\n    const isSameOriginRequest = resolvedUrl.origin === currentOrigin;\n    if (!tracePropagationTargets) {\n      return isSameOriginRequest;\n    } else {\n      return stringMatchesSomePattern(resolvedUrl.toString(), tracePropagationTargets) || isSameOriginRequest && stringMatchesSomePattern(resolvedUrl.pathname, tracePropagationTargets);\n    }\n  }\n}\nfunction xhrCallback(handlerData, shouldCreateSpan, shouldAttachHeaders2, spans) {\n  const xhr = handlerData.xhr;\n  const sentryXhrData = xhr == null ? void 0 : xhr[SENTRY_XHR_DATA_KEY];\n  if (!xhr || xhr.__sentry_own_request__ || !sentryXhrData) {\n    return void 0;\n  }\n  const { url, method } = sentryXhrData;\n  const shouldCreateSpanResult = hasSpansEnabled() && shouldCreateSpan(url);\n  if (handlerData.endTimestamp && shouldCreateSpanResult) {\n    const spanId = xhr.__sentry_xhr_span_id__;\n    if (!spanId)\n      return;\n    const span2 = spans[spanId];\n    if (span2 && sentryXhrData.status_code !== void 0) {\n      setHttpStatus(span2, sentryXhrData.status_code);\n      span2.end();\n      delete spans[spanId];\n    }\n    return void 0;\n  }\n  const fullUrl = getFullURL(url);\n  const parsedUrl = fullUrl ? parseUrl(fullUrl) : parseUrl(url);\n  const urlForSpanName = stripUrlQueryAndFragment(url);\n  const hasParent = !!getActiveSpan();\n  const span = shouldCreateSpanResult && hasParent ? startInactiveSpan({\n    name: `${method} ${urlForSpanName}`,\n    attributes: {\n      url,\n      type: \"xhr\",\n      \"http.method\": method,\n      \"http.url\": fullUrl,\n      \"server.address\": parsedUrl == null ? void 0 : parsedUrl.host,\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.http.browser\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_OP]: \"http.client\",\n      ...(parsedUrl == null ? void 0 : parsedUrl.search) && { \"http.query\": parsedUrl == null ? void 0 : parsedUrl.search },\n      ...(parsedUrl == null ? void 0 : parsedUrl.hash) && { \"http.fragment\": parsedUrl == null ? void 0 : parsedUrl.hash }\n    }\n  }) : new SentryNonRecordingSpan();\n  xhr.__sentry_xhr_span_id__ = span.spanContext().spanId;\n  spans[xhr.__sentry_xhr_span_id__] = span;\n  if (shouldAttachHeaders2(url)) {\n    addTracingHeadersToXhrRequest(\n      xhr,\n      // If performance is disabled (TWP) or there's no active root span (pageload/navigation/interaction),\n      // we do not want to use the span as base for the trace headers,\n      // which means that the headers will be generated from the scope and the sampling decision is deferred\n      hasSpansEnabled() && hasParent ? span : void 0\n    );\n  }\n  const client = getClient();\n  if (client) {\n    client.emit(\"beforeOutgoingRequestSpan\", span, handlerData);\n  }\n  return span;\n}\nfunction addTracingHeadersToXhrRequest(xhr, span) {\n  const { \"sentry-trace\": sentryTrace, baggage } = getTraceData({ span });\n  if (sentryTrace) {\n    setHeaderOnXhr(xhr, sentryTrace, baggage);\n  }\n}\nfunction setHeaderOnXhr(xhr, sentryTraceHeader, sentryBaggageHeader) {\n  var _a;\n  const originalHeaders = (_a = xhr.__sentry_xhr_v3__) == null ? void 0 : _a.request_headers;\n  if (originalHeaders == null ? void 0 : originalHeaders[\"sentry-trace\"]) {\n    return;\n  }\n  try {\n    xhr.setRequestHeader(\"sentry-trace\", sentryTraceHeader);\n    if (sentryBaggageHeader) {\n      const originalBaggageHeader = originalHeaders == null ? void 0 : originalHeaders[\"baggage\"];\n      if (!originalBaggageHeader || !baggageHeaderHasSentryValues(originalBaggageHeader)) {\n        xhr.setRequestHeader(\"baggage\", sentryBaggageHeader);\n      }\n    }\n  } catch (_) {\n  }\n}\nfunction baggageHeaderHasSentryValues(baggageHeader) {\n  return baggageHeader.split(\",\").some((value) => value.trim().startsWith(\"sentry-\"));\n}\nfunction getFullURL(url) {\n  try {\n    const parsed = new URL(url, WINDOW.location.origin);\n    return parsed.href;\n  } catch {\n    return void 0;\n  }\n}\nexport {\n  defaultRequestInstrumentationOptions,\n  instrumentOutgoingRequests,\n  shouldAttachHeaders,\n  xhrCallback\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { getActiveSpan, getRootSpan } from \"../utils/spanUtils.js\";\nimport { addGlobalErrorInstrumentationHandler } from \"../utils-hoist/instrument/globalError.js\";\nimport { addGlobalUnhandledRejectionInstrumentationHandler } from \"../utils-hoist/instrument/globalUnhandledRejection.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { SPAN_STATUS_ERROR } from \"./spanstatus.js\";\nlet errorsInstrumented = false;\nfunction registerSpanErrorInstrumentation() {\n  if (errorsInstrumented) {\n    return;\n  }\n  errorsInstrumented = true;\n  addGlobalErrorInstrumentationHandler(errorCallback);\n  addGlobalUnhandledRejectionInstrumentationHandler(errorCallback);\n}\nfunction errorCallback() {\n  const activeSpan = getActiveSpan();\n  const rootSpan = activeSpan && getRootSpan(activeSpan);\n  if (rootSpan) {\n    const message = \"internal_error\";\n    DEBUG_BUILD && logger.log(`[Tracing] Root span: ${message} -> Global error occurred`);\n    rootSpan.setStatus({ code: SPAN_STATUS_ERROR, message });\n  }\n}\nerrorCallback.tag = \"sentry_tracingErrorCallback\";\nexport {\n  registerSpanErrorInstrumentation\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { addClsInstrumentationHandler } from \"./instrument.js\";\nimport { msToSec, startStandaloneWebVitalSpan } from \"./utils.js\";\nimport { onHidden } from \"./web-vitals/lib/onHidden.js\";\nimport { getClient, getCurrentScope } from \"../../../../../@sentry/core/build/esm/currentScopes.js\";\nimport { getActiveSpan, getRootSpan, spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { logger } from \"../../../../../@sentry/core/build/esm/utils-hoist/logger.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { htmlTreeAsString } from \"../../../../../@sentry/core/build/esm/utils-hoist/browser.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from \"../../../../../@sentry/core/build/esm/semanticAttributes.js\";\nfunction trackClsAsStandaloneSpan() {\n  let standaloneCLsValue = 0;\n  let standaloneClsEntry;\n  let pageloadSpanId;\n  if (!supportsLayoutShift()) {\n    return;\n  }\n  let sentSpan = false;\n  function _collectClsOnce() {\n    if (sentSpan) {\n      return;\n    }\n    sentSpan = true;\n    if (pageloadSpanId) {\n      sendStandaloneClsSpan(standaloneCLsValue, standaloneClsEntry, pageloadSpanId);\n    }\n    cleanupClsHandler();\n  }\n  const cleanupClsHandler = addClsInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    standaloneCLsValue = metric.value;\n    standaloneClsEntry = entry;\n  }, true);\n  onHidden(() => {\n    _collectClsOnce();\n  });\n  setTimeout(() => {\n    const client = getClient();\n    if (!client) {\n      return;\n    }\n    const unsubscribeStartNavigation = client.on(\"startNavigationSpan\", () => {\n      _collectClsOnce();\n      unsubscribeStartNavigation == null ? void 0 : unsubscribeStartNavigation();\n    });\n    const activeSpan = getActiveSpan();\n    if (activeSpan) {\n      const rootSpan = getRootSpan(activeSpan);\n      const spanJSON = spanToJSON(rootSpan);\n      if (spanJSON.op === \"pageload\") {\n        pageloadSpanId = rootSpan.spanContext().spanId;\n      }\n    }\n  }, 0);\n}\nfunction sendStandaloneClsSpan(clsValue, entry, pageloadSpanId) {\n  var _a;\n  DEBUG_BUILD && logger.log(`Sending CLS span (${clsValue})`);\n  const startTime = msToSec((browserPerformanceTimeOrigin() || 0) + ((entry == null ? void 0 : entry.startTime) || 0));\n  const routeName = getCurrentScope().getScopeData().transactionName;\n  const name = entry ? htmlTreeAsString((_a = entry.sources[0]) == null ? void 0 : _a.node) : \"Layout shift\";\n  const attributes = {\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.http.browser.cls\",\n    [SEMANTIC_ATTRIBUTE_SENTRY_OP]: \"ui.webvital.cls\",\n    [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: (entry == null ? void 0 : entry.duration) || 0,\n    // attach the pageload span id to the CLS span so that we can link them in the UI\n    \"sentry.pageload.span_id\": pageloadSpanId\n  };\n  const span = startStandaloneWebVitalSpan({\n    name,\n    transaction: routeName,\n    attributes,\n    startTime\n  });\n  if (span) {\n    span.addEvent(\"cls\", {\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: \"\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: clsValue\n    });\n    span.end(startTime);\n  }\n}\nfunction supportsLayoutShift() {\n  try {\n    return PerformanceObserver.supportedEntryTypes.includes(\"layout-shift\");\n  } catch {\n    return false;\n  }\n}\nexport {\n  trackClsAsStandaloneSpan\n};\n","import { WINDOW } from \"../types.js\";\nimport { trackClsAsStandaloneSpan } from \"./cls.js\";\nimport { addPerformanceInstrumentationHandler, addClsInstrumentationHandler, addLcpInstrumentationHandler, addFidInstrumentationHandler, addTtfbInstrumentationHandler } from \"./instrument.js\";\nimport { msToSec, startAndEndSpan, getBrowserPerformanceAPI, extractNetworkProtocol, isMeasurementValue } from \"./utils.js\";\nimport { getActivationStart } from \"./web-vitals/lib/getActivationStart.js\";\nimport { getNavigationEntry } from \"./web-vitals/lib/getNavigationEntry.js\";\nimport { getVisibilityWatcher } from \"./web-vitals/lib/getVisibilityWatcher.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { getActiveSpan, spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from \"../../../../../@sentry/core/build/esm/semanticAttributes.js\";\nimport { htmlTreeAsString, getComponentName } from \"../../../../../@sentry/core/build/esm/utils-hoist/browser.js\";\nimport { setMeasurement } from \"../../../../../@sentry/core/build/esm/tracing/measurement.js\";\nimport { parseUrl } from \"../../../../../@sentry/core/build/esm/utils-hoist/url.js\";\nconst MAX_INT_AS_BYTES = 2147483647;\nlet _performanceCursor = 0;\nlet _measurements = {};\nlet _lcpEntry;\nlet _clsEntry;\nfunction startTrackingWebVitals({ recordClsStandaloneSpans }) {\n  const performance = getBrowserPerformanceAPI();\n  if (performance && browserPerformanceTimeOrigin()) {\n    if (performance.mark) {\n      WINDOW.performance.mark(\"sentry-tracing-init\");\n    }\n    const fidCleanupCallback = _trackFID();\n    const lcpCleanupCallback = _trackLCP();\n    const ttfbCleanupCallback = _trackTtfb();\n    const clsCleanupCallback = recordClsStandaloneSpans ? trackClsAsStandaloneSpan() : _trackCLS();\n    return () => {\n      fidCleanupCallback();\n      lcpCleanupCallback();\n      ttfbCleanupCallback();\n      clsCleanupCallback == null ? void 0 : clsCleanupCallback();\n    };\n  }\n  return () => void 0;\n}\nfunction startTrackingLongTasks() {\n  addPerformanceInstrumentationHandler(\"longtask\", ({ entries }) => {\n    const parent = getActiveSpan();\n    if (!parent) {\n      return;\n    }\n    const { op: parentOp, start_timestamp: parentStartTimestamp } = spanToJSON(parent);\n    for (const entry of entries) {\n      const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n      const duration = msToSec(entry.duration);\n      if (parentOp === \"navigation\" && parentStartTimestamp && startTime < parentStartTimestamp) {\n        continue;\n      }\n      startAndEndSpan(parent, startTime, startTime + duration, {\n        name: \"Main UI thread blocked\",\n        op: \"ui.long-task\",\n        attributes: {\n          [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n        }\n      });\n    }\n  });\n}\nfunction startTrackingLongAnimationFrames() {\n  const observer = new PerformanceObserver((list) => {\n    const parent = getActiveSpan();\n    if (!parent) {\n      return;\n    }\n    for (const entry of list.getEntries()) {\n      if (!entry.scripts[0]) {\n        continue;\n      }\n      const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n      const { start_timestamp: parentStartTimestamp, op: parentOp } = spanToJSON(parent);\n      if (parentOp === \"navigation\" && parentStartTimestamp && startTime < parentStartTimestamp) {\n        continue;\n      }\n      const duration = msToSec(entry.duration);\n      const attributes = {\n        [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n      };\n      const initialScript = entry.scripts[0];\n      const { invoker, invokerType, sourceURL, sourceFunctionName, sourceCharPosition } = initialScript;\n      attributes[\"browser.script.invoker\"] = invoker;\n      attributes[\"browser.script.invoker_type\"] = invokerType;\n      if (sourceURL) {\n        attributes[\"code.filepath\"] = sourceURL;\n      }\n      if (sourceFunctionName) {\n        attributes[\"code.function\"] = sourceFunctionName;\n      }\n      if (sourceCharPosition !== -1) {\n        attributes[\"browser.script.source_char_position\"] = sourceCharPosition;\n      }\n      startAndEndSpan(parent, startTime, startTime + duration, {\n        name: \"Main UI thread blocked\",\n        op: \"ui.long-animation-frame\",\n        attributes\n      });\n    }\n  });\n  observer.observe({ type: \"long-animation-frame\", buffered: true });\n}\nfunction startTrackingInteractions() {\n  addPerformanceInstrumentationHandler(\"event\", ({ entries }) => {\n    const parent = getActiveSpan();\n    if (!parent) {\n      return;\n    }\n    for (const entry of entries) {\n      if (entry.name === \"click\") {\n        const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n        const duration = msToSec(entry.duration);\n        const spanOptions = {\n          name: htmlTreeAsString(entry.target),\n          op: `ui.interaction.${entry.name}`,\n          startTime,\n          attributes: {\n            [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n          }\n        };\n        const componentName = getComponentName(entry.target);\n        if (componentName) {\n          spanOptions.attributes[\"ui.component_name\"] = componentName;\n        }\n        startAndEndSpan(parent, startTime, startTime + duration, spanOptions);\n      }\n    }\n  });\n}\nfunction _trackCLS() {\n  return addClsInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    _measurements[\"cls\"] = { value: metric.value, unit: \"\" };\n    _clsEntry = entry;\n  }, true);\n}\nfunction _trackLCP() {\n  return addLcpInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    _measurements[\"lcp\"] = { value: metric.value, unit: \"millisecond\" };\n    _lcpEntry = entry;\n  }, true);\n}\nfunction _trackFID() {\n  return addFidInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    const timeOrigin = msToSec(browserPerformanceTimeOrigin());\n    const startTime = msToSec(entry.startTime);\n    _measurements[\"fid\"] = { value: metric.value, unit: \"millisecond\" };\n    _measurements[\"mark.fid\"] = { value: timeOrigin + startTime, unit: \"second\" };\n  });\n}\nfunction _trackTtfb() {\n  return addTtfbInstrumentationHandler(({ metric }) => {\n    const entry = metric.entries[metric.entries.length - 1];\n    if (!entry) {\n      return;\n    }\n    _measurements[\"ttfb\"] = { value: metric.value, unit: \"millisecond\" };\n  });\n}\nfunction addPerformanceEntries(span, options) {\n  const performance = getBrowserPerformanceAPI();\n  const origin = browserPerformanceTimeOrigin();\n  if (!(performance == null ? void 0 : performance.getEntries) || !origin) {\n    return;\n  }\n  const timeOrigin = msToSec(origin);\n  const performanceEntries = performance.getEntries();\n  const { op, start_timestamp: transactionStartTime } = spanToJSON(span);\n  performanceEntries.slice(_performanceCursor).forEach((entry) => {\n    const startTime = msToSec(entry.startTime);\n    const duration = msToSec(\n      // Inexplicably, Chrome sometimes emits a negative duration. We need to work around this.\n      // There is a SO post attempting to explain this, but it leaves one with open questions: https://stackoverflow.com/questions/23191918/peformance-getentries-and-negative-duration-display\n      // The way we clamp the value is probably not accurate, since we have observed this happen for things that may take a while to load, like for example the replay worker.\n      // TODO: Investigate why this happens and how to properly mitigate. For now, this is a workaround to prevent transactions being dropped due to negative duration spans.\n      Math.max(0, entry.duration)\n    );\n    if (op === \"navigation\" && transactionStartTime && timeOrigin + startTime < transactionStartTime) {\n      return;\n    }\n    switch (entry.entryType) {\n      case \"navigation\": {\n        _addNavigationSpans(span, entry, timeOrigin);\n        break;\n      }\n      case \"mark\":\n      case \"paint\":\n      case \"measure\": {\n        _addMeasureSpans(span, entry, startTime, duration, timeOrigin);\n        const firstHidden = getVisibilityWatcher();\n        const shouldRecord = entry.startTime < firstHidden.firstHiddenTime;\n        if (entry.name === \"first-paint\" && shouldRecord) {\n          _measurements[\"fp\"] = { value: entry.startTime, unit: \"millisecond\" };\n        }\n        if (entry.name === \"first-contentful-paint\" && shouldRecord) {\n          _measurements[\"fcp\"] = { value: entry.startTime, unit: \"millisecond\" };\n        }\n        break;\n      }\n      case \"resource\": {\n        _addResourceSpans(span, entry, entry.name, startTime, duration, timeOrigin);\n        break;\n      }\n    }\n  });\n  _performanceCursor = Math.max(performanceEntries.length - 1, 0);\n  _trackNavigator(span);\n  if (op === \"pageload\") {\n    _addTtfbRequestTimeToMeasurements(_measurements);\n    const fidMark = _measurements[\"mark.fid\"];\n    if (fidMark && _measurements[\"fid\"]) {\n      startAndEndSpan(span, fidMark.value, fidMark.value + msToSec(_measurements[\"fid\"].value), {\n        name: \"first input delay\",\n        op: \"ui.action\",\n        attributes: {\n          [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n        }\n      });\n      delete _measurements[\"mark.fid\"];\n    }\n    if (!(\"fcp\" in _measurements) || !options.recordClsOnPageloadSpan) {\n      delete _measurements.cls;\n    }\n    Object.entries(_measurements).forEach(([measurementName, measurement]) => {\n      setMeasurement(measurementName, measurement.value, measurement.unit);\n    });\n    span.setAttribute(\"performance.timeOrigin\", timeOrigin);\n    span.setAttribute(\"performance.activationStart\", getActivationStart());\n    _setWebVitalAttributes(span);\n  }\n  _lcpEntry = void 0;\n  _clsEntry = void 0;\n  _measurements = {};\n}\nfunction _addMeasureSpans(span, entry, startTime, duration, timeOrigin) {\n  const navEntry = getNavigationEntry(false);\n  const requestTime = msToSec(navEntry ? navEntry.requestStart : 0);\n  const measureStartTimestamp = timeOrigin + Math.max(startTime, requestTime);\n  const startTimeStamp = timeOrigin + startTime;\n  const measureEndTimestamp = startTimeStamp + duration;\n  const attributes = {\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.resource.browser.metrics\"\n  };\n  if (measureStartTimestamp !== startTimeStamp) {\n    attributes[\"sentry.browser.measure_happened_before_request\"] = true;\n    attributes[\"sentry.browser.measure_start_time\"] = measureStartTimestamp;\n  }\n  if (measureStartTimestamp <= measureEndTimestamp) {\n    startAndEndSpan(span, measureStartTimestamp, measureEndTimestamp, {\n      name: entry.name,\n      op: entry.entryType,\n      attributes\n    });\n  }\n}\nfunction _addNavigationSpans(span, entry, timeOrigin) {\n  [\"unloadEvent\", \"redirect\", \"domContentLoadedEvent\", \"loadEvent\", \"connect\"].forEach((event) => {\n    _addPerformanceNavigationTiming(span, entry, event, timeOrigin);\n  });\n  _addPerformanceNavigationTiming(span, entry, \"secureConnection\", timeOrigin, \"TLS/SSL\");\n  _addPerformanceNavigationTiming(span, entry, \"fetch\", timeOrigin, \"cache\");\n  _addPerformanceNavigationTiming(span, entry, \"domainLookup\", timeOrigin, \"DNS\");\n  _addRequest(span, entry, timeOrigin);\n}\nfunction _addPerformanceNavigationTiming(span, entry, event, timeOrigin, name = event) {\n  const eventEnd = _getEndPropertyNameForNavigationTiming(event);\n  const end = entry[eventEnd];\n  const start = entry[`${event}Start`];\n  if (!start || !end) {\n    return;\n  }\n  startAndEndSpan(span, timeOrigin + msToSec(start), timeOrigin + msToSec(end), {\n    op: `browser.${name}`,\n    name: entry.name,\n    attributes: {\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\",\n      ...event === \"redirect\" && entry.redirectCount != null ? { \"http.redirect_count\": entry.redirectCount } : {}\n    }\n  });\n}\nfunction _getEndPropertyNameForNavigationTiming(event) {\n  if (event === \"secureConnection\") {\n    return \"connectEnd\";\n  }\n  if (event === \"fetch\") {\n    return \"domainLookupStart\";\n  }\n  return `${event}End`;\n}\nfunction _addRequest(span, entry, timeOrigin) {\n  const requestStartTimestamp = timeOrigin + msToSec(entry.requestStart);\n  const responseEndTimestamp = timeOrigin + msToSec(entry.responseEnd);\n  const responseStartTimestamp = timeOrigin + msToSec(entry.responseStart);\n  if (entry.responseEnd) {\n    startAndEndSpan(span, requestStartTimestamp, responseEndTimestamp, {\n      op: \"browser.request\",\n      name: entry.name,\n      attributes: {\n        [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n      }\n    });\n    startAndEndSpan(span, responseStartTimestamp, responseEndTimestamp, {\n      op: \"browser.response\",\n      name: entry.name,\n      attributes: {\n        [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.ui.browser.metrics\"\n      }\n    });\n  }\n}\nfunction _addResourceSpans(span, entry, resourceUrl, startTime, duration, timeOrigin) {\n  if (entry.initiatorType === \"xmlhttprequest\" || entry.initiatorType === \"fetch\") {\n    return;\n  }\n  const parsedUrl = parseUrl(resourceUrl);\n  const attributes = {\n    [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.resource.browser.metrics\"\n  };\n  setResourceEntrySizeData(attributes, entry, \"transferSize\", \"http.response_transfer_size\");\n  setResourceEntrySizeData(attributes, entry, \"encodedBodySize\", \"http.response_content_length\");\n  setResourceEntrySizeData(attributes, entry, \"decodedBodySize\", \"http.decoded_response_content_length\");\n  const deliveryType = entry.deliveryType;\n  if (deliveryType != null) {\n    attributes[\"http.response_delivery_type\"] = deliveryType;\n  }\n  const renderBlockingStatus = entry.renderBlockingStatus;\n  if (renderBlockingStatus) {\n    attributes[\"resource.render_blocking_status\"] = renderBlockingStatus;\n  }\n  if (parsedUrl.protocol) {\n    attributes[\"url.scheme\"] = parsedUrl.protocol.split(\":\").pop();\n  }\n  if (parsedUrl.host) {\n    attributes[\"server.address\"] = parsedUrl.host;\n  }\n  attributes[\"url.same_origin\"] = resourceUrl.includes(WINDOW.location.origin);\n  const { name, version } = extractNetworkProtocol(entry.nextHopProtocol);\n  attributes[\"network.protocol.name\"] = name;\n  attributes[\"network.protocol.version\"] = version;\n  const startTimestamp = timeOrigin + startTime;\n  const endTimestamp = startTimestamp + duration;\n  startAndEndSpan(span, startTimestamp, endTimestamp, {\n    name: resourceUrl.replace(WINDOW.location.origin, \"\"),\n    op: entry.initiatorType ? `resource.${entry.initiatorType}` : \"resource.other\",\n    attributes\n  });\n}\nfunction _trackNavigator(span) {\n  const navigator = WINDOW.navigator;\n  if (!navigator) {\n    return;\n  }\n  const connection = navigator.connection;\n  if (connection) {\n    if (connection.effectiveType) {\n      span.setAttribute(\"effectiveConnectionType\", connection.effectiveType);\n    }\n    if (connection.type) {\n      span.setAttribute(\"connectionType\", connection.type);\n    }\n    if (isMeasurementValue(connection.rtt)) {\n      _measurements[\"connection.rtt\"] = { value: connection.rtt, unit: \"millisecond\" };\n    }\n  }\n  if (isMeasurementValue(navigator.deviceMemory)) {\n    span.setAttribute(\"deviceMemory\", `${navigator.deviceMemory} GB`);\n  }\n  if (isMeasurementValue(navigator.hardwareConcurrency)) {\n    span.setAttribute(\"hardwareConcurrency\", String(navigator.hardwareConcurrency));\n  }\n}\nfunction _setWebVitalAttributes(span) {\n  if (_lcpEntry) {\n    if (_lcpEntry.element) {\n      span.setAttribute(\"lcp.element\", htmlTreeAsString(_lcpEntry.element));\n    }\n    if (_lcpEntry.id) {\n      span.setAttribute(\"lcp.id\", _lcpEntry.id);\n    }\n    if (_lcpEntry.url) {\n      span.setAttribute(\"lcp.url\", _lcpEntry.url.trim().slice(0, 200));\n    }\n    if (_lcpEntry.loadTime != null) {\n      span.setAttribute(\"lcp.loadTime\", _lcpEntry.loadTime);\n    }\n    if (_lcpEntry.renderTime != null) {\n      span.setAttribute(\"lcp.renderTime\", _lcpEntry.renderTime);\n    }\n    span.setAttribute(\"lcp.size\", _lcpEntry.size);\n  }\n  if (_clsEntry == null ? void 0 : _clsEntry.sources) {\n    _clsEntry.sources.forEach(\n      (source, index) => span.setAttribute(`cls.source.${index + 1}`, htmlTreeAsString(source.node))\n    );\n  }\n}\nfunction setResourceEntrySizeData(attributes, entry, key, dataKey) {\n  const entryVal = entry[key];\n  if (entryVal != null && entryVal < MAX_INT_AS_BYTES) {\n    attributes[dataKey] = entryVal;\n  }\n}\nfunction _addTtfbRequestTimeToMeasurements(_measurements2) {\n  const navEntry = getNavigationEntry(false);\n  if (!navEntry) {\n    return;\n  }\n  const { responseStart, requestStart } = navEntry;\n  if (requestStart <= responseStart) {\n    _measurements2[\"ttfb.requestTime\"] = {\n      value: responseStart - requestStart,\n      unit: \"millisecond\"\n    };\n  }\n}\nexport {\n  _addMeasureSpans,\n  _addNavigationSpans,\n  _addResourceSpans,\n  addPerformanceEntries,\n  startTrackingInteractions,\n  startTrackingLongAnimationFrames,\n  startTrackingLongTasks,\n  startTrackingWebVitals\n};\n","import { addInpInstrumentationHandler, addPerformanceInstrumentationHandler, isPerformanceEventTiming } from \"./instrument.js\";\nimport { getBrowserPerformanceAPI, msToSec, startStandaloneWebVitalSpan } from \"./utils.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../@sentry/core/build/esm/utils-hoist/time.js\";\nimport { getActiveSpan, getRootSpan, spanToJSON } from \"../../../../../@sentry/core/build/esm/utils/spanUtils.js\";\nimport { getCurrentScope } from \"../../../../../@sentry/core/build/esm/currentScopes.js\";\nimport { htmlTreeAsString } from \"../../../../../@sentry/core/build/esm/utils-hoist/browser.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE } from \"../../../../../@sentry/core/build/esm/semanticAttributes.js\";\nconst LAST_INTERACTIONS = [];\nconst INTERACTIONS_SPAN_MAP = /* @__PURE__ */ new Map();\nfunction startTrackingINP() {\n  const performance = getBrowserPerformanceAPI();\n  if (performance && browserPerformanceTimeOrigin()) {\n    const inpCallback = _trackINP();\n    return () => {\n      inpCallback();\n    };\n  }\n  return () => void 0;\n}\nconst INP_ENTRY_MAP = {\n  click: \"click\",\n  pointerdown: \"click\",\n  pointerup: \"click\",\n  mousedown: \"click\",\n  mouseup: \"click\",\n  touchstart: \"click\",\n  touchend: \"click\",\n  mouseover: \"hover\",\n  mouseout: \"hover\",\n  mouseenter: \"hover\",\n  mouseleave: \"hover\",\n  pointerover: \"hover\",\n  pointerout: \"hover\",\n  pointerenter: \"hover\",\n  pointerleave: \"hover\",\n  dragstart: \"drag\",\n  dragend: \"drag\",\n  drag: \"drag\",\n  dragenter: \"drag\",\n  dragleave: \"drag\",\n  dragover: \"drag\",\n  drop: \"drag\",\n  keydown: \"press\",\n  keyup: \"press\",\n  keypress: \"press\",\n  input: \"press\"\n};\nfunction _trackINP() {\n  return addInpInstrumentationHandler(({ metric }) => {\n    if (metric.value == void 0) {\n      return;\n    }\n    const entry = metric.entries.find((entry2) => entry2.duration === metric.value && INP_ENTRY_MAP[entry2.name]);\n    if (!entry) {\n      return;\n    }\n    const { interactionId } = entry;\n    const interactionType = INP_ENTRY_MAP[entry.name];\n    const startTime = msToSec(browserPerformanceTimeOrigin() + entry.startTime);\n    const duration = msToSec(metric.value);\n    const activeSpan = getActiveSpan();\n    const rootSpan = activeSpan ? getRootSpan(activeSpan) : void 0;\n    const cachedSpan = interactionId != null ? INTERACTIONS_SPAN_MAP.get(interactionId) : void 0;\n    const spanToUse = cachedSpan || rootSpan;\n    const routeName = spanToUse ? spanToJSON(spanToUse).description : getCurrentScope().getScopeData().transactionName;\n    const name = htmlTreeAsString(entry.target);\n    const attributes = {\n      [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.http.browser.inp\",\n      [SEMANTIC_ATTRIBUTE_SENTRY_OP]: `ui.interaction.${interactionType}`,\n      [SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]: entry.duration\n    };\n    const span = startStandaloneWebVitalSpan({\n      name,\n      transaction: routeName,\n      attributes,\n      startTime\n    });\n    if (span) {\n      span.addEvent(\"inp\", {\n        [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]: \"millisecond\",\n        [SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]: metric.value\n      });\n      span.end(startTime + duration);\n    }\n  });\n}\nfunction registerInpInteractionListener() {\n  const handleEntries = ({ entries }) => {\n    const activeSpan = getActiveSpan();\n    const activeRootSpan = activeSpan && getRootSpan(activeSpan);\n    entries.forEach((entry) => {\n      if (!isPerformanceEventTiming(entry) || !activeRootSpan) {\n        return;\n      }\n      const interactionId = entry.interactionId;\n      if (interactionId == null) {\n        return;\n      }\n      if (INTERACTIONS_SPAN_MAP.has(interactionId)) {\n        return;\n      }\n      if (LAST_INTERACTIONS.length > 10) {\n        const last = LAST_INTERACTIONS.shift();\n        INTERACTIONS_SPAN_MAP.delete(last);\n      }\n      LAST_INTERACTIONS.push(interactionId);\n      INTERACTIONS_SPAN_MAP.set(interactionId, activeRootSpan);\n    });\n  };\n  addPerformanceInstrumentationHandler(\"event\", handleEntries);\n  addPerformanceInstrumentationHandler(\"first-input\", handleEntries);\n}\nexport {\n  registerInpInteractionListener,\n  startTrackingINP\n};\n","import { getClient, getCurrentScope } from \"../currentScopes.js\";\nimport { DEBUG_BUILD } from \"../debug-build.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON } from \"../semanticAttributes.js\";\nimport { hasSpansEnabled } from \"../utils/hasSpansEnabled.js\";\nimport { _setSpanForScope } from \"../utils/spanOnScope.js\";\nimport { getActiveSpan, spanTimeInputToSeconds, getSpanDescendants, spanToJSON, removeChildSpanFromSpan } from \"../utils/spanUtils.js\";\nimport { logger } from \"../utils-hoist/logger.js\";\nimport { timestampInSeconds } from \"../utils-hoist/time.js\";\nimport { getDynamicSamplingContextFromSpan, freezeDscOnSpan } from \"./dynamicSamplingContext.js\";\nimport { SentryNonRecordingSpan } from \"./sentryNonRecordingSpan.js\";\nimport { SPAN_STATUS_ERROR } from \"./spanstatus.js\";\nimport { startInactiveSpan } from \"./trace.js\";\nconst TRACING_DEFAULTS = {\n  idleTimeout: 1e3,\n  finalTimeout: 3e4,\n  childSpanTimeout: 15e3\n};\nconst FINISH_REASON_HEARTBEAT_FAILED = \"heartbeatFailed\";\nconst FINISH_REASON_IDLE_TIMEOUT = \"idleTimeout\";\nconst FINISH_REASON_FINAL_TIMEOUT = \"finalTimeout\";\nconst FINISH_REASON_EXTERNAL_FINISH = \"externalFinish\";\nfunction startIdleSpan(startSpanOptions, options = {}) {\n  const activities = /* @__PURE__ */ new Map();\n  let _finished = false;\n  let _idleTimeoutID;\n  let _finishReason = FINISH_REASON_EXTERNAL_FINISH;\n  let _autoFinishAllowed = !options.disableAutoFinish;\n  const _cleanupHooks = [];\n  const {\n    idleTimeout = TRACING_DEFAULTS.idleTimeout,\n    finalTimeout = TRACING_DEFAULTS.finalTimeout,\n    childSpanTimeout = TRACING_DEFAULTS.childSpanTimeout,\n    beforeSpanEnd\n  } = options;\n  const client = getClient();\n  if (!client || !hasSpansEnabled()) {\n    const span2 = new SentryNonRecordingSpan();\n    const dsc = {\n      sample_rate: \"0\",\n      sampled: \"false\",\n      ...getDynamicSamplingContextFromSpan(span2)\n    };\n    freezeDscOnSpan(span2, dsc);\n    return span2;\n  }\n  const scope = getCurrentScope();\n  const previousActiveSpan = getActiveSpan();\n  const span = _startIdleSpan(startSpanOptions);\n  span.end = new Proxy(span.end, {\n    apply(target, thisArg, args) {\n      if (beforeSpanEnd) {\n        beforeSpanEnd(span);\n      }\n      if (thisArg instanceof SentryNonRecordingSpan) {\n        return;\n      }\n      const [definedEndTimestamp, ...rest] = args;\n      const timestamp = definedEndTimestamp || timestampInSeconds();\n      const spanEndTimestamp = spanTimeInputToSeconds(timestamp);\n      const spans = getSpanDescendants(span).filter((child) => child !== span);\n      if (!spans.length) {\n        onIdleSpanEnded(spanEndTimestamp);\n        return Reflect.apply(target, thisArg, [spanEndTimestamp, ...rest]);\n      }\n      const childEndTimestamps = spans.map((span2) => spanToJSON(span2).timestamp).filter((timestamp2) => !!timestamp2);\n      const latestSpanEndTimestamp = childEndTimestamps.length ? Math.max(...childEndTimestamps) : void 0;\n      const spanStartTimestamp = spanToJSON(span).start_timestamp;\n      const endTimestamp = Math.min(\n        spanStartTimestamp ? spanStartTimestamp + finalTimeout / 1e3 : Infinity,\n        Math.max(spanStartTimestamp || -Infinity, Math.min(spanEndTimestamp, latestSpanEndTimestamp || Infinity))\n      );\n      onIdleSpanEnded(endTimestamp);\n      return Reflect.apply(target, thisArg, [endTimestamp, ...rest]);\n    }\n  });\n  function _cancelIdleTimeout() {\n    if (_idleTimeoutID) {\n      clearTimeout(_idleTimeoutID);\n      _idleTimeoutID = void 0;\n    }\n  }\n  function _restartIdleTimeout(endTimestamp) {\n    _cancelIdleTimeout();\n    _idleTimeoutID = setTimeout(() => {\n      if (!_finished && activities.size === 0 && _autoFinishAllowed) {\n        _finishReason = FINISH_REASON_IDLE_TIMEOUT;\n        span.end(endTimestamp);\n      }\n    }, idleTimeout);\n  }\n  function _restartChildSpanTimeout(endTimestamp) {\n    _idleTimeoutID = setTimeout(() => {\n      if (!_finished && _autoFinishAllowed) {\n        _finishReason = FINISH_REASON_HEARTBEAT_FAILED;\n        span.end(endTimestamp);\n      }\n    }, childSpanTimeout);\n  }\n  function _pushActivity(spanId) {\n    _cancelIdleTimeout();\n    activities.set(spanId, true);\n    const endTimestamp = timestampInSeconds();\n    _restartChildSpanTimeout(endTimestamp + childSpanTimeout / 1e3);\n  }\n  function _popActivity(spanId) {\n    if (activities.has(spanId)) {\n      activities.delete(spanId);\n    }\n    if (activities.size === 0) {\n      const endTimestamp = timestampInSeconds();\n      _restartIdleTimeout(endTimestamp + idleTimeout / 1e3);\n    }\n  }\n  function onIdleSpanEnded(endTimestamp) {\n    _finished = true;\n    activities.clear();\n    _cleanupHooks.forEach((cleanup) => cleanup());\n    _setSpanForScope(scope, previousActiveSpan);\n    const spanJSON = spanToJSON(span);\n    const { start_timestamp: startTimestamp } = spanJSON;\n    if (!startTimestamp) {\n      return;\n    }\n    const attributes = spanJSON.data;\n    if (!attributes[SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]) {\n      span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, _finishReason);\n    }\n    logger.log(`[Tracing] Idle span \"${spanJSON.op}\" finished`);\n    const childSpans = getSpanDescendants(span).filter((child) => child !== span);\n    let discardedSpans = 0;\n    childSpans.forEach((childSpan) => {\n      if (childSpan.isRecording()) {\n        childSpan.setStatus({ code: SPAN_STATUS_ERROR, message: \"cancelled\" });\n        childSpan.end(endTimestamp);\n        DEBUG_BUILD && logger.log(\"[Tracing] Cancelling span since span ended early\", JSON.stringify(childSpan, void 0, 2));\n      }\n      const childSpanJSON = spanToJSON(childSpan);\n      const { timestamp: childEndTimestamp = 0, start_timestamp: childStartTimestamp = 0 } = childSpanJSON;\n      const spanStartedBeforeIdleSpanEnd = childStartTimestamp <= endTimestamp;\n      const timeoutWithMarginOfError = (finalTimeout + idleTimeout) / 1e3;\n      const spanEndedBeforeFinalTimeout = childEndTimestamp - childStartTimestamp <= timeoutWithMarginOfError;\n      if (DEBUG_BUILD) {\n        const stringifiedSpan = JSON.stringify(childSpan, void 0, 2);\n        if (!spanStartedBeforeIdleSpanEnd) {\n          logger.log(\"[Tracing] Discarding span since it happened after idle span was finished\", stringifiedSpan);\n        } else if (!spanEndedBeforeFinalTimeout) {\n          logger.log(\"[Tracing] Discarding span since it finished after idle span final timeout\", stringifiedSpan);\n        }\n      }\n      if (!spanEndedBeforeFinalTimeout || !spanStartedBeforeIdleSpanEnd) {\n        removeChildSpanFromSpan(span, childSpan);\n        discardedSpans++;\n      }\n    });\n    if (discardedSpans > 0) {\n      span.setAttribute(\"sentry.idle_span_discarded_spans\", discardedSpans);\n    }\n  }\n  _cleanupHooks.push(\n    client.on(\"spanStart\", (startedSpan) => {\n      if (_finished || startedSpan === span || !!spanToJSON(startedSpan).timestamp) {\n        return;\n      }\n      const allSpans = getSpanDescendants(span);\n      if (allSpans.includes(startedSpan)) {\n        _pushActivity(startedSpan.spanContext().spanId);\n      }\n    })\n  );\n  _cleanupHooks.push(\n    client.on(\"spanEnd\", (endedSpan) => {\n      if (_finished) {\n        return;\n      }\n      _popActivity(endedSpan.spanContext().spanId);\n    })\n  );\n  _cleanupHooks.push(\n    client.on(\"idleSpanEnableAutoFinish\", (spanToAllowAutoFinish) => {\n      if (spanToAllowAutoFinish === span) {\n        _autoFinishAllowed = true;\n        _restartIdleTimeout();\n        if (activities.size) {\n          _restartChildSpanTimeout();\n        }\n      }\n    })\n  );\n  if (!options.disableAutoFinish) {\n    _restartIdleTimeout();\n  }\n  setTimeout(() => {\n    if (!_finished) {\n      span.setStatus({ code: SPAN_STATUS_ERROR, message: \"deadline_exceeded\" });\n      _finishReason = FINISH_REASON_FINAL_TIMEOUT;\n      span.end();\n    }\n  }, finalTimeout);\n  return span;\n}\nfunction _startIdleSpan(options) {\n  const span = startInactiveSpan(options);\n  _setSpanForScope(getCurrentScope(), span);\n  DEBUG_BUILD && logger.log(\"[Tracing] Started span is an idle span\");\n  return span;\n}\nexport {\n  TRACING_DEFAULTS,\n  startIdleSpan\n};\n","import { DEBUG_BUILD } from \"../debug-build.js\";\nimport { WINDOW } from \"../helpers.js\";\nimport { registerBackgroundTabDetection } from \"./backgroundtab.js\";\nimport { linkTraces } from \"./linkedTraces.js\";\nimport { instrumentOutgoingRequests, defaultRequestInstrumentationOptions } from \"./request.js\";\nimport { consoleSandbox, logger } from \"../../../../../core/build/esm/utils-hoist/logger.js\";\nimport { registerSpanErrorInstrumentation } from \"../../../../../core/build/esm/tracing/errors.js\";\nimport { startTrackingWebVitals, startTrackingLongAnimationFrames, startTrackingLongTasks, startTrackingInteractions, addPerformanceEntries } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/browserMetrics.js\";\nimport { startTrackingINP, registerInpInteractionListener } from \"../../../../../../@sentry-internal/browser-utils/build/esm/metrics/inp.js\";\nimport { GLOBAL_OBJ } from \"../../../../../core/build/esm/utils-hoist/worldwide.js\";\nimport { getLocationHref } from \"../../../../../core/build/esm/utils-hoist/browser.js\";\nimport { getClient, getIsolationScope, getCurrentScope } from \"../../../../../core/build/esm/currentScopes.js\";\nimport { generateTraceId } from \"../../../../../core/build/esm/utils-hoist/propagationContext.js\";\nimport { propagationContextFromHeaders } from \"../../../../../core/build/esm/utils-hoist/tracing.js\";\nimport { browserPerformanceTimeOrigin } from \"../../../../../core/build/esm/utils-hoist/time.js\";\nimport { addHistoryInstrumentationHandler } from \"../../../../../../@sentry-internal/browser-utils/build/esm/instrument/history.js\";\nimport { TRACING_DEFAULTS, startIdleSpan } from \"../../../../../core/build/esm/tracing/idleSpan.js\";\nimport { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from \"../../../../../core/build/esm/semanticAttributes.js\";\nimport { spanToJSON, spanIsSampled } from \"../../../../../core/build/esm/utils/spanUtils.js\";\nimport { addNonEnumerableProperty } from \"../../../../../core/build/esm/utils-hoist/object.js\";\nimport { getDynamicSamplingContextFromSpan } from \"../../../../../core/build/esm/tracing/dynamicSamplingContext.js\";\nconst BROWSER_TRACING_INTEGRATION_ID = \"BrowserTracing\";\nconst DEFAULT_BROWSER_TRACING_OPTIONS = {\n  ...TRACING_DEFAULTS,\n  instrumentNavigation: true,\n  instrumentPageLoad: true,\n  markBackgroundSpan: true,\n  enableLongTask: true,\n  enableLongAnimationFrame: true,\n  enableInp: true,\n  linkPreviousTrace: \"in-memory\",\n  consistentTraceSampling: false,\n  _experiments: {},\n  ...defaultRequestInstrumentationOptions\n};\nlet _hasBeenInitialized = false;\nconst browserTracingIntegration = (_options = {}) => {\n  if (_hasBeenInitialized) {\n    consoleSandbox(() => {\n      console.warn(\"Multiple browserTracingIntegration instances are not supported.\");\n    });\n  }\n  _hasBeenInitialized = true;\n  const optionalWindowDocument = WINDOW.document;\n  registerSpanErrorInstrumentation();\n  const {\n    enableInp,\n    enableLongTask,\n    enableLongAnimationFrame,\n    _experiments: { enableInteractions, enableStandaloneClsSpans },\n    beforeStartSpan,\n    idleTimeout,\n    finalTimeout,\n    childSpanTimeout,\n    markBackgroundSpan,\n    traceFetch,\n    traceXHR,\n    trackFetchStreamPerformance,\n    shouldCreateSpanForRequest,\n    enableHTTPTimings,\n    instrumentPageLoad,\n    instrumentNavigation,\n    linkPreviousTrace,\n    consistentTraceSampling,\n    onRequestSpanStart\n  } = {\n    ...DEFAULT_BROWSER_TRACING_OPTIONS,\n    ..._options\n  };\n  const _collectWebVitals = startTrackingWebVitals({ recordClsStandaloneSpans: enableStandaloneClsSpans || false });\n  if (enableInp) {\n    startTrackingINP();\n  }\n  if (enableLongAnimationFrame && GLOBAL_OBJ.PerformanceObserver && PerformanceObserver.supportedEntryTypes && PerformanceObserver.supportedEntryTypes.includes(\"long-animation-frame\")) {\n    startTrackingLongAnimationFrames();\n  } else if (enableLongTask) {\n    startTrackingLongTasks();\n  }\n  if (enableInteractions) {\n    startTrackingInteractions();\n  }\n  const latestRoute = {\n    name: void 0,\n    source: void 0\n  };\n  function _createRouteSpan(client, startSpanOptions) {\n    const isPageloadTransaction = startSpanOptions.op === \"pageload\";\n    const finalStartSpanOptions = beforeStartSpan ? beforeStartSpan(startSpanOptions) : startSpanOptions;\n    const attributes = finalStartSpanOptions.attributes || {};\n    if (startSpanOptions.name !== finalStartSpanOptions.name) {\n      attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE] = \"custom\";\n      finalStartSpanOptions.attributes = attributes;\n    }\n    latestRoute.name = finalStartSpanOptions.name;\n    latestRoute.source = attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n    const idleSpan = startIdleSpan(finalStartSpanOptions, {\n      idleTimeout,\n      finalTimeout,\n      childSpanTimeout,\n      // should wait for finish signal if it's a pageload transaction\n      disableAutoFinish: isPageloadTransaction,\n      beforeSpanEnd: (span) => {\n        _collectWebVitals();\n        addPerformanceEntries(span, { recordClsOnPageloadSpan: !enableStandaloneClsSpans });\n        setActiveIdleSpan(client, void 0);\n        const scope = getCurrentScope();\n        const oldPropagationContext = scope.getPropagationContext();\n        scope.setPropagationContext({\n          ...oldPropagationContext,\n          traceId: idleSpan.spanContext().traceId,\n          sampled: spanIsSampled(idleSpan),\n          dsc: getDynamicSamplingContextFromSpan(span)\n        });\n      }\n    });\n    setActiveIdleSpan(client, idleSpan);\n    function emitFinish() {\n      if (optionalWindowDocument && [\"interactive\", \"complete\"].includes(optionalWindowDocument.readyState)) {\n        client.emit(\"idleSpanEnableAutoFinish\", idleSpan);\n      }\n    }\n    if (isPageloadTransaction && optionalWindowDocument) {\n      optionalWindowDocument.addEventListener(\"readystatechange\", () => {\n        emitFinish();\n      });\n      emitFinish();\n    }\n  }\n  return {\n    name: BROWSER_TRACING_INTEGRATION_ID,\n    afterAllSetup(client) {\n      let startingUrl = getLocationHref();\n      function maybeEndActiveSpan() {\n        const activeSpan = getActiveIdleSpan(client);\n        if (activeSpan && !spanToJSON(activeSpan).timestamp) {\n          DEBUG_BUILD && logger.log(`[Tracing] Finishing current active span with op: ${spanToJSON(activeSpan).op}`);\n          activeSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, \"cancelled\");\n          activeSpan.end();\n        }\n      }\n      client.on(\"startNavigationSpan\", (startSpanOptions) => {\n        if (getClient() !== client) {\n          return;\n        }\n        maybeEndActiveSpan();\n        getIsolationScope().setPropagationContext({ traceId: generateTraceId(), sampleRand: Math.random() });\n        getCurrentScope().setPropagationContext({ traceId: generateTraceId(), sampleRand: Math.random() });\n        _createRouteSpan(client, {\n          op: \"navigation\",\n          ...startSpanOptions\n        });\n      });\n      client.on(\"startPageLoadSpan\", (startSpanOptions, traceOptions = {}) => {\n        if (getClient() !== client) {\n          return;\n        }\n        maybeEndActiveSpan();\n        const sentryTrace = traceOptions.sentryTrace || getMetaContent(\"sentry-trace\");\n        const baggage = traceOptions.baggage || getMetaContent(\"baggage\");\n        const propagationContext = propagationContextFromHeaders(sentryTrace, baggage);\n        getCurrentScope().setPropagationContext(propagationContext);\n        _createRouteSpan(client, {\n          op: \"pageload\",\n          ...startSpanOptions\n        });\n      });\n      if (linkPreviousTrace !== \"off\") {\n        linkTraces(client, { linkPreviousTrace, consistentTraceSampling });\n      }\n      if (WINDOW.location) {\n        if (instrumentPageLoad) {\n          const origin = browserPerformanceTimeOrigin();\n          startBrowserTracingPageLoadSpan(client, {\n            name: WINDOW.location.pathname,\n            // pageload should always start at timeOrigin (and needs to be in s, not ms)\n            startTime: origin ? origin / 1e3 : void 0,\n            attributes: {\n              [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: \"url\",\n              [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.pageload.browser\"\n            }\n          });\n        }\n        if (instrumentNavigation) {\n          addHistoryInstrumentationHandler(({ to, from }) => {\n            if (from === void 0 && (startingUrl == null ? void 0 : startingUrl.indexOf(to)) !== -1) {\n              startingUrl = void 0;\n              return;\n            }\n            if (from !== to) {\n              startingUrl = void 0;\n              startBrowserTracingNavigationSpan(client, {\n                name: WINDOW.location.pathname,\n                attributes: {\n                  [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: \"url\",\n                  [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: \"auto.navigation.browser\"\n                }\n              });\n            }\n          });\n        }\n      }\n      if (markBackgroundSpan) {\n        registerBackgroundTabDetection();\n      }\n      if (enableInteractions) {\n        registerInteractionListener(client, idleTimeout, finalTimeout, childSpanTimeout, latestRoute);\n      }\n      if (enableInp) {\n        registerInpInteractionListener();\n      }\n      instrumentOutgoingRequests(client, {\n        traceFetch,\n        traceXHR,\n        trackFetchStreamPerformance,\n        tracePropagationTargets: client.getOptions().tracePropagationTargets,\n        shouldCreateSpanForRequest,\n        enableHTTPTimings,\n        onRequestSpanStart\n      });\n    }\n  };\n};\nfunction startBrowserTracingPageLoadSpan(client, spanOptions, traceOptions) {\n  client.emit(\"startPageLoadSpan\", spanOptions, traceOptions);\n  getCurrentScope().setTransactionName(spanOptions.name);\n  return getActiveIdleSpan(client);\n}\nfunction startBrowserTracingNavigationSpan(client, spanOptions) {\n  client.emit(\"startNavigationSpan\", spanOptions);\n  getCurrentScope().setTransactionName(spanOptions.name);\n  return getActiveIdleSpan(client);\n}\nfunction getMetaContent(metaName) {\n  const optionalWindowDocument = WINDOW.document;\n  const metaTag = optionalWindowDocument == null ? void 0 : optionalWindowDocument.querySelector(`meta[name=${metaName}]`);\n  return (metaTag == null ? void 0 : metaTag.getAttribute(\"content\")) || void 0;\n}\nfunction registerInteractionListener(client, idleTimeout, finalTimeout, childSpanTimeout, latestRoute) {\n  const optionalWindowDocument = WINDOW.document;\n  let inflightInteractionSpan;\n  const registerInteractionTransaction = () => {\n    const op = \"ui.action.click\";\n    const activeIdleSpan = getActiveIdleSpan(client);\n    if (activeIdleSpan) {\n      const currentRootSpanOp = spanToJSON(activeIdleSpan).op;\n      if ([\"navigation\", \"pageload\"].includes(currentRootSpanOp)) {\n        DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} span because a pageload or navigation span is in progress.`);\n        return void 0;\n      }\n    }\n    if (inflightInteractionSpan) {\n      inflightInteractionSpan.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON, \"interactionInterrupted\");\n      inflightInteractionSpan.end();\n      inflightInteractionSpan = void 0;\n    }\n    if (!latestRoute.name) {\n      DEBUG_BUILD && logger.warn(`[Tracing] Did not create ${op} transaction because _latestRouteName is missing.`);\n      return void 0;\n    }\n    inflightInteractionSpan = startIdleSpan(\n      {\n        name: latestRoute.name,\n        op,\n        attributes: {\n          [SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: latestRoute.source || \"url\"\n        }\n      },\n      {\n        idleTimeout,\n        finalTimeout,\n        childSpanTimeout\n      }\n    );\n  };\n  if (optionalWindowDocument) {\n    addEventListener(\"click\", registerInteractionTransaction, { once: false, capture: true });\n  }\n}\nconst ACTIVE_IDLE_SPAN_PROPERTY = \"_sentry_idleSpan\";\nfunction getActiveIdleSpan(client) {\n  return client[ACTIVE_IDLE_SPAN_PROPERTY];\n}\nfunction setActiveIdleSpan(client, span) {\n  addNonEnumerableProperty(client, ACTIVE_IDLE_SPAN_PROPERTY, span);\n}\nexport {\n  BROWSER_TRACING_INTEGRATION_ID,\n  browserTracingIntegration,\n  getMetaContent,\n  startBrowserTracingNavigationSpan,\n  startBrowserTracingPageLoadSpan\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(`*, ::before, ::after {\n  --tw-border-spacing-x: 0;\n  --tw-border-spacing-y: 0;\n  --tw-translate-x: 0;\n  --tw-translate-y: 0;\n  --tw-rotate: 0;\n  --tw-skew-x: 0;\n  --tw-skew-y: 0;\n  --tw-scale-x: 1;\n  --tw-scale-y: 1;\n  --tw-pan-x:  ;\n  --tw-pan-y:  ;\n  --tw-pinch-zoom:  ;\n  --tw-scroll-snap-strictness: proximity;\n  --tw-gradient-from-position:  ;\n  --tw-gradient-via-position:  ;\n  --tw-gradient-to-position:  ;\n  --tw-ordinal:  ;\n  --tw-slashed-zero:  ;\n  --tw-numeric-figure:  ;\n  --tw-numeric-spacing:  ;\n  --tw-numeric-fraction:  ;\n  --tw-ring-inset:  ;\n  --tw-ring-offset-width: 0px;\n  --tw-ring-offset-color: #fff;\n  --tw-ring-color: rgb(59 130 246 / 0.5);\n  --tw-ring-offset-shadow: 0 0 #0000;\n  --tw-ring-shadow: 0 0 #0000;\n  --tw-shadow: 0 0 #0000;\n  --tw-shadow-colored: 0 0 #0000;\n  --tw-blur:  ;\n  --tw-brightness:  ;\n  --tw-contrast:  ;\n  --tw-grayscale:  ;\n  --tw-hue-rotate:  ;\n  --tw-invert:  ;\n  --tw-saturate:  ;\n  --tw-sepia:  ;\n  --tw-drop-shadow:  ;\n  --tw-backdrop-blur:  ;\n  --tw-backdrop-brightness:  ;\n  --tw-backdrop-contrast:  ;\n  --tw-backdrop-grayscale:  ;\n  --tw-backdrop-hue-rotate:  ;\n  --tw-backdrop-invert:  ;\n  --tw-backdrop-opacity:  ;\n  --tw-backdrop-saturate:  ;\n  --tw-backdrop-sepia:  ;\n  --tw-contain-size:  ;\n  --tw-contain-layout:  ;\n  --tw-contain-paint:  ;\n  --tw-contain-style:  ;\n}\n\n::backdrop {\n  --tw-border-spacing-x: 0;\n  --tw-border-spacing-y: 0;\n  --tw-translate-x: 0;\n  --tw-translate-y: 0;\n  --tw-rotate: 0;\n  --tw-skew-x: 0;\n  --tw-skew-y: 0;\n  --tw-scale-x: 1;\n  --tw-scale-y: 1;\n  --tw-pan-x:  ;\n  --tw-pan-y:  ;\n  --tw-pinch-zoom:  ;\n  --tw-scroll-snap-strictness: proximity;\n  --tw-gradient-from-position:  ;\n  --tw-gradient-via-position:  ;\n  --tw-gradient-to-position:  ;\n  --tw-ordinal:  ;\n  --tw-slashed-zero:  ;\n  --tw-numeric-figure:  ;\n  --tw-numeric-spacing:  ;\n  --tw-numeric-fraction:  ;\n  --tw-ring-inset:  ;\n  --tw-ring-offset-width: 0px;\n  --tw-ring-offset-color: #fff;\n  --tw-ring-color: rgb(59 130 246 / 0.5);\n  --tw-ring-offset-shadow: 0 0 #0000;\n  --tw-ring-shadow: 0 0 #0000;\n  --tw-shadow: 0 0 #0000;\n  --tw-shadow-colored: 0 0 #0000;\n  --tw-blur:  ;\n  --tw-brightness:  ;\n  --tw-contrast:  ;\n  --tw-grayscale:  ;\n  --tw-hue-rotate:  ;\n  --tw-invert:  ;\n  --tw-saturate:  ;\n  --tw-sepia:  ;\n  --tw-drop-shadow:  ;\n  --tw-backdrop-blur:  ;\n  --tw-backdrop-brightness:  ;\n  --tw-backdrop-contrast:  ;\n  --tw-backdrop-grayscale:  ;\n  --tw-backdrop-hue-rotate:  ;\n  --tw-backdrop-invert:  ;\n  --tw-backdrop-opacity:  ;\n  --tw-backdrop-saturate:  ;\n  --tw-backdrop-sepia:  ;\n  --tw-contain-size:  ;\n  --tw-contain-layout:  ;\n  --tw-contain-paint:  ;\n  --tw-contain-style:  ;\n}\n\n/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*/\n\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n  box-sizing: border-box;\n  /* 1 */\n  border-width: 0;\n  /* 2 */\n  border-style: solid;\n  /* 2 */\n  border-color: currentColor;\n  /* 2 */\n}\n\n::before,\n::after {\n  --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured \\`sans\\` font-family by default.\n5. Use the user's configured \\`sans\\` font-feature-settings by default.\n6. Use the user's configured \\`sans\\` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n  line-height: 1.5;\n  /* 1 */\n  -webkit-text-size-adjust: 100%;\n  /* 2 */\n  -moz-tab-size: 4;\n  /* 3 */\n  tab-size: 4;\n  /* 3 */\n  font-family: var(--font-pretendard), ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n  /* 4 */\n  font-feature-settings: normal;\n  /* 5 */\n  font-variation-settings: normal;\n  /* 6 */\n  -webkit-tap-highlight-color: transparent;\n  /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from \\`html\\` so users can set them as a class directly on the \\`html\\` element.\n*/\n\nbody {\n  margin: 0;\n  /* 1 */\n  line-height: inherit;\n  /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n  height: 0;\n  /* 1 */\n  color: inherit;\n  /* 2 */\n  border-top-width: 1px;\n  /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n  -webkit-text-decoration: underline dotted;\n          text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  font-size: inherit;\n  font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n  color: inherit;\n  text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n  font-weight: bolder;\n}\n\n/*\n1. Use the user's configured \\`mono\\` font-family by default.\n2. Use the user's configured \\`mono\\` font-feature-settings by default.\n3. Use the user's configured \\`mono\\` font-variation-settings by default.\n4. Correct the odd \\`em\\` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n  /* 1 */\n  font-feature-settings: normal;\n  /* 2 */\n  font-variation-settings: normal;\n  /* 3 */\n  font-size: 1em;\n  /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n  font-size: 80%;\n}\n\n/*\nPrevent \\`sub\\` and \\`sup\\` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n  font-size: 75%;\n  line-height: 0;\n  position: relative;\n  vertical-align: baseline;\n}\n\nsub {\n  bottom: -0.25em;\n}\n\nsup {\n  top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n  text-indent: 0;\n  /* 1 */\n  border-color: inherit;\n  /* 2 */\n  border-collapse: collapse;\n  /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n  font-family: inherit;\n  /* 1 */\n  font-feature-settings: inherit;\n  /* 1 */\n  font-variation-settings: inherit;\n  /* 1 */\n  font-size: 100%;\n  /* 1 */\n  font-weight: inherit;\n  /* 1 */\n  line-height: inherit;\n  /* 1 */\n  letter-spacing: inherit;\n  /* 1 */\n  color: inherit;\n  /* 1 */\n  margin: 0;\n  /* 2 */\n  padding: 0;\n  /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n  text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n  -webkit-appearance: button;\n  /* 1 */\n  background-color: transparent;\n  /* 2 */\n  background-image: none;\n  /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n  outline: auto;\n}\n\n/*\nRemove the additional \\`:invalid\\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n  box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n  vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n  height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n  -webkit-appearance: textfield;\n  /* 1 */\n  outline-offset: -2px;\n  /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to \\`inherit\\` in Safari.\n*/\n\n::-webkit-file-upload-button {\n  -webkit-appearance: button;\n  /* 1 */\n  font: inherit;\n  /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n  display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n  margin: 0;\n}\n\nfieldset {\n  margin: 0;\n  padding: 0;\n}\n\nlegend {\n  padding: 0;\n}\n\nol,\nul,\nmenu {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n\ndialog {\n  padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n  resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n  opacity: 1;\n  /* 1 */\n  color: #9ca3af;\n  /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n  opacity: 1;\n  /* 1 */\n  color: #9ca3af;\n  /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n  cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n:disabled {\n  cursor: default;\n}\n\n/*\n1. Make replaced elements \\`display: block\\` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add \\`vertical-align: middle\\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n   This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n  display: block;\n  /* 1 */\n  vertical-align: middle;\n  /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n  max-width: 100%;\n  height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n\n[hidden]:where(:not([hidden=\"until-found\"])) {\n  display: none;\n}\n\nhtml {\n  font-family:\n      'Pretendard Variable',\n      Pretendard,\n      -apple-system,\n      BlinkMacSystemFont;\n}\n\n.\\\\!container {\n  width: 100% !important;\n}\n\n.container {\n  width: 100%;\n}\n\n@media (min-width: 541px) {\n  .\\\\!container {\n    max-width: 541px !important;\n  }\n\n  .container {\n    max-width: 541px;\n  }\n}\n\n@media (min-width: 1025px) {\n  .\\\\!container {\n    max-width: 1025px !important;\n  }\n\n  .container {\n    max-width: 1025px;\n  }\n}\n\n@media (min-width: 1280px) {\n  .\\\\!container {\n    max-width: 1280px !important;\n  }\n\n  .container {\n    max-width: 1280px;\n  }\n}\n\n@media (min-width: 2560px) {\n  .\\\\!container {\n    max-width: 2560px !important;\n  }\n\n  .container {\n    max-width: 2560px;\n  }\n}\n\n.sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.pointer-events-none {\n  pointer-events: none;\n}\n\n.visible {\n  visibility: visible;\n}\n\n.invisible {\n  visibility: hidden;\n}\n\n.fixed {\n  position: fixed;\n}\n\n.absolute {\n  position: absolute;\n}\n\n.relative {\n  position: relative;\n}\n\n.inset-0 {\n  inset: 0rem;\n}\n\n.inset-x-0 {\n  left: 0rem;\n  right: 0rem;\n}\n\n.bottom-0 {\n  bottom: 0rem;\n}\n\n.bottom-10 {\n  bottom: 0.625rem;\n}\n\n.bottom-6 {\n  bottom: 0.375rem;\n}\n\n.bottom-\\\\[env\\\\(safe-area-inset-bottom\\\\)\\\\] {\n  bottom: env(safe-area-inset-bottom);\n}\n\n.left-0 {\n  left: 0rem;\n}\n\n.left-1\\\\/2 {\n  left: 50%;\n}\n\n.left-10 {\n  left: 0.625rem;\n}\n\n.left-2 {\n  left: 0.125rem;\n}\n\n.left-4 {\n  left: 0.250rem;\n}\n\n.left-6 {\n  left: 0.375rem;\n}\n\n.right-0 {\n  right: 0rem;\n}\n\n.right-10 {\n  right: 0.625rem;\n}\n\n.right-6 {\n  right: 0.375rem;\n}\n\n.top-0 {\n  top: 0rem;\n}\n\n.top-1\\\\/2 {\n  top: 50%;\n}\n\n.top-10 {\n  top: 0.625rem;\n}\n\n.top-12 {\n  top: 0.750rem;\n}\n\n.top-2 {\n  top: 0.125rem;\n}\n\n.top-6 {\n  top: 0.375rem;\n}\n\n.-z-content-1 {\n  z-index: -20;\n}\n\n.z-\\\\[0\\\\] {\n  z-index: 0;\n}\n\n.z-\\\\[1\\\\] {\n  z-index: 1;\n}\n\n.z-content-1 {\n  z-index: 20;\n}\n\n.z-content-2 {\n  z-index: 40;\n}\n\n.z-mask {\n  z-index: 1000;\n}\n\n.z-mask-1 {\n  z-index: 3500;\n}\n\n.z-mask-2 {\n  z-index: 4500;\n}\n\n.z-mask-3 {\n  z-index: 5500;\n}\n\n.z-mask-4 {\n  z-index: 6500;\n}\n\n.z-mask-5 {\n  z-index: 7500;\n}\n\n.z-popup {\n  z-index: 3000;\n}\n\n.z-popup-1 {\n  z-index: 4000;\n}\n\n.z-popup-2 {\n  z-index: 5000;\n}\n\n.z-popup-3 {\n  z-index: 6000;\n}\n\n.z-popup-4 {\n  z-index: 7000;\n}\n\n.z-popup-5 {\n  z-index: 8000;\n}\n\n.z-snackbar {\n  z-index: 2147483647;\n}\n\n.float-right {\n  float: right;\n}\n\n.m-0 {\n  margin: 0rem;\n}\n\n.m-auto {\n  margin: auto;\n}\n\n.-my-14 {\n  margin-top: -0.875rem;\n  margin-bottom: -0.875rem;\n}\n\n.mx-10 {\n  margin-left: 0.625rem;\n  margin-right: 0.625rem;\n}\n\n.mx-18 {\n  margin-left: 1.125rem;\n  margin-right: 1.125rem;\n}\n\n.mx-2 {\n  margin-left: 0.125rem;\n  margin-right: 0.125rem;\n}\n\n.mx-20 {\n  margin-left: 1.250rem;\n  margin-right: 1.250rem;\n}\n\n.mx-4 {\n  margin-left: 0.250rem;\n  margin-right: 0.250rem;\n}\n\n.mx-\\\\[3px\\\\] {\n  margin-left: 3px;\n  margin-right: 3px;\n}\n\n.mx-auto {\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.my-12 {\n  margin-top: 0.750rem;\n  margin-bottom: 0.750rem;\n}\n\n.my-4 {\n  margin-top: 0.250rem;\n  margin-bottom: 0.250rem;\n}\n\n.-ml-12 {\n  margin-left: -0.750rem;\n}\n\n.-ml-16 {\n  margin-left: -1rem;\n}\n\n.-ml-20 {\n  margin-left: -1.250rem;\n}\n\n.-mr-16 {\n  margin-right: -1rem;\n}\n\n.-mr-2 {\n  margin-right: -0.125rem;\n}\n\n.-mt-12 {\n  margin-top: -0.750rem;\n}\n\n.-mt-20 {\n  margin-top: -1.250rem;\n}\n\n.mb-10 {\n  margin-bottom: 0.625rem;\n}\n\n.mb-12 {\n  margin-bottom: 0.750rem;\n}\n\n.mb-16 {\n  margin-bottom: 1rem;\n}\n\n.mb-2 {\n  margin-bottom: 0.125rem;\n}\n\n.mb-20 {\n  margin-bottom: 1.250rem;\n}\n\n.mb-40 {\n  margin-bottom: 2.500rem;\n}\n\n.mb-56 {\n  margin-bottom: 3.500rem;\n}\n\n.mb-6 {\n  margin-bottom: 0.375rem;\n}\n\n.mb-\\\\[max\\\\(env\\\\(safe-area-inset-bottom\\\\)\\\\2c 0px\\\\)\\\\] {\n  margin-bottom: max(env(safe-area-inset-bottom),0px);\n}\n\n.ml-0 {\n  margin-left: 0rem;\n}\n\n.ml-2 {\n  margin-left: 0.125rem;\n}\n\n.ml-\\\\[calc\\\\(2ch\\\\+4px\\\\)\\\\] {\n  margin-left: calc(2ch + 4px);\n}\n\n.ml-\\\\[calc\\\\(4ch\\\\+4px\\\\)\\\\] {\n  margin-left: calc(4ch + 4px);\n}\n\n.mr-10 {\n  margin-right: 0.625rem;\n}\n\n.mr-2 {\n  margin-right: 0.125rem;\n}\n\n.mr-20 {\n  margin-right: 1.250rem;\n}\n\n.mr-6 {\n  margin-right: 0.375rem;\n}\n\n.mr-8 {\n  margin-right: 0.500rem;\n}\n\n.mt-20 {\n  margin-top: 1.250rem;\n}\n\n.mt-200 {\n  margin-top: 12.500rem;\n}\n\n.mt-4 {\n  margin-top: 0.250rem;\n}\n\n.mt-60 {\n  margin-top: 3.750rem;\n}\n\n.mt-8 {\n  margin-top: 0.500rem;\n}\n\n.mt-auto {\n  margin-top: auto;\n}\n\n.line-clamp-1 {\n  overflow: hidden;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  -webkit-line-clamp: 1;\n}\n\n.line-clamp-2 {\n  overflow: hidden;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  -webkit-line-clamp: 2;\n}\n\n.block {\n  display: block;\n}\n\n.inline-block {\n  display: inline-block;\n}\n\n.inline {\n  display: inline;\n}\n\n.flex {\n  display: flex;\n}\n\n.inline-flex {\n  display: inline-flex;\n}\n\n.grid {\n  display: grid;\n}\n\n.hidden {\n  display: none;\n}\n\n.aspect-square {\n  aspect-ratio: 1 / 1;\n}\n\n.h-0 {\n  height: 0rem;\n}\n\n.h-10 {\n  height: 0.625rem;\n}\n\n.h-100 {\n  height: 6.250rem;\n}\n\n.h-12 {\n  height: 0.750rem;\n}\n\n.h-14 {\n  height: 0.875rem;\n}\n\n.h-16 {\n  height: 1rem;\n}\n\n.h-18 {\n  height: 1.125rem;\n}\n\n.h-2 {\n  height: 0.125rem;\n}\n\n.h-20 {\n  height: 1.250rem;\n}\n\n.h-200 {\n  height: 12.500rem;\n}\n\n.h-2000 {\n  height: 125rem;\n}\n\n.h-22 {\n  height: 1.375rem;\n}\n\n.h-24 {\n  height: 1.500rem;\n}\n\n.h-28 {\n  height: 1.750rem;\n}\n\n.h-36 {\n  height: 2.250rem;\n}\n\n.h-40 {\n  height: 2.500rem;\n}\n\n.h-44 {\n  height: 2.750rem;\n}\n\n.h-48 {\n  height: 3rem;\n}\n\n.h-52 {\n  height: 3.250rem;\n}\n\n.h-56 {\n  height: 3.500rem;\n}\n\n.h-6 {\n  height: 0.375rem;\n}\n\n.h-72 {\n  height: 4.500rem;\n}\n\n.h-8 {\n  height: 0.500rem;\n}\n\n.h-80 {\n  height: 5rem;\n}\n\n.h-92 {\n  height: 5.750rem;\n}\n\n.h-\\\\[1\\\\.5px\\\\] {\n  height: 1.5px;\n}\n\n.h-\\\\[100dvh\\\\] {\n  height: 100dvh;\n}\n\n.h-\\\\[13px\\\\] {\n  height: 13px;\n}\n\n.h-\\\\[20ch\\\\] {\n  height: 20ch;\n}\n\n.h-\\\\[300px\\\\] {\n  height: 300px;\n}\n\n.h-\\\\[44px\\\\] {\n  height: 44px;\n}\n\n.h-\\\\[52px\\\\] {\n  height: 52px;\n}\n\n.h-\\\\[inherit\\\\] {\n  height: inherit;\n}\n\n.h-fit {\n  height: -moz-fit-content;\n  height: fit-content;\n}\n\n.h-full {\n  height: 100%;\n}\n\n.h-screen {\n  height: 100vh;\n}\n\n.max-h-\\\\[100dvh\\\\] {\n  max-height: 100dvh;\n}\n\n.max-h-\\\\[calc\\\\(100dvh-20px\\\\)\\\\] {\n  max-height: calc(100dvh - 20px);\n}\n\n.max-h-full {\n  max-height: 100%;\n}\n\n.min-h-20 {\n  min-height: 1.250rem;\n}\n\n.min-h-\\\\[1ch\\\\] {\n  min-height: 1ch;\n}\n\n.min-h-\\\\[44px\\\\] {\n  min-height: 44px;\n}\n\n.min-h-\\\\[52px\\\\] {\n  min-height: 52px;\n}\n\n.w-0 {\n  width: 0rem;\n}\n\n.w-1\\\\/2 {\n  width: 50%;\n}\n\n.w-1\\\\/4 {\n  width: 25%;\n}\n\n.w-1\\\\/7 {\n  width: 14.285714%;\n}\n\n.w-10 {\n  width: 0.625rem;\n}\n\n.w-100 {\n  width: 6.250rem;\n}\n\n.w-12 {\n  width: 0.750rem;\n}\n\n.w-14 {\n  width: 0.875rem;\n}\n\n.w-150 {\n  width: 9.375rem;\n}\n\n.w-16 {\n  width: 1rem;\n}\n\n.w-170 {\n  width: 10.625rem;\n}\n\n.w-18 {\n  width: 1.125rem;\n}\n\n.w-2 {\n  width: 0.125rem;\n}\n\n.w-20 {\n  width: 1.250rem;\n}\n\n.w-200 {\n  width: 12.500rem;\n}\n\n.w-22 {\n  width: 1.375rem;\n}\n\n.w-24 {\n  width: 1.500rem;\n}\n\n.w-28 {\n  width: 1.750rem;\n}\n\n.w-300 {\n  width: 18.750rem;\n}\n\n.w-36 {\n  width: 2.250rem;\n}\n\n.w-38 {\n  width: 2.375rem;\n}\n\n.w-40 {\n  width: 2.500rem;\n}\n\n.w-400 {\n  width: 25rem;\n}\n\n.w-44 {\n  width: 2.750rem;\n}\n\n.w-52 {\n  width: 3.250rem;\n}\n\n.w-56 {\n  width: 3.500rem;\n}\n\n.w-8 {\n  width: 0.500rem;\n}\n\n.w-80 {\n  width: 5rem;\n}\n\n.w-\\\\[1\\\\.5px\\\\] {\n  width: 1.5px;\n}\n\n.w-\\\\[13px\\\\] {\n  width: 13px;\n}\n\n.w-\\\\[16px\\\\] {\n  width: 16px;\n}\n\n.w-\\\\[20px\\\\] {\n  width: 20px;\n}\n\n.w-\\\\[295px\\\\] {\n  width: 295px;\n}\n\n.w-\\\\[36px\\\\] {\n  width: 36px;\n}\n\n.w-\\\\[390px\\\\] {\n  width: 390px;\n}\n\n.w-\\\\[44px\\\\] {\n  width: 44px;\n}\n\n.w-\\\\[52px\\\\] {\n  width: 52px;\n}\n\n.w-\\\\[6\\\\.5ch\\\\] {\n  width: 6.5ch;\n}\n\n.w-\\\\[calc\\\\(100\\\\%-8px\\\\)\\\\] {\n  width: calc(100% - 8px);\n}\n\n.w-\\\\[inherit\\\\] {\n  width: inherit;\n}\n\n.w-full {\n  width: 100%;\n}\n\n.w-screen {\n  width: 100vw;\n}\n\n.min-w-0 {\n  min-width: 0rem;\n}\n\n.min-w-20 {\n  min-width: 1.250rem;\n}\n\n.min-w-\\\\[16px\\\\] {\n  min-width: 16px;\n}\n\n.min-w-\\\\[212px\\\\] {\n  min-width: 212px;\n}\n\n.min-w-\\\\[24px\\\\] {\n  min-width: 24px;\n}\n\n.min-w-\\\\[2ch\\\\] {\n  min-width: 2ch;\n}\n\n.min-w-\\\\[335px\\\\] {\n  min-width: 335px;\n}\n\n.min-w-\\\\[44px\\\\] {\n  min-width: 44px;\n}\n\n.min-w-\\\\[52px\\\\] {\n  min-width: 52px;\n}\n\n.min-w-\\\\[600px\\\\] {\n  min-width: 600px;\n}\n\n.min-w-\\\\[60px\\\\] {\n  min-width: 60px;\n}\n\n.min-w-\\\\[66px\\\\] {\n  min-width: 66px;\n}\n\n.min-w-\\\\[84px\\\\] {\n  min-width: 84px;\n}\n\n.min-w-\\\\[88px\\\\] {\n  min-width: 88px;\n}\n\n.min-w-min {\n  min-width: -moz-min-content;\n  min-width: min-content;\n}\n\n.max-w-120 {\n  max-width: 7.500rem;\n}\n\n.max-w-460 {\n  max-width: 28.750rem;\n}\n\n.max-w-700 {\n  max-width: 43.750rem;\n}\n\n.max-w-\\\\[100px\\\\] {\n  max-width: 100px;\n}\n\n.max-w-\\\\[400px\\\\] {\n  max-width: 400px;\n}\n\n.max-w-\\\\[480px\\\\] {\n  max-width: 480px;\n}\n\n.max-w-full {\n  max-width: 100%;\n}\n\n.flex-1 {\n  flex: 1 1 0%;\n}\n\n.flex-none {\n  flex: none;\n}\n\n.flex-shrink-0 {\n  flex-shrink: 0;\n}\n\n.shrink-0 {\n  flex-shrink: 0;\n}\n\n.flex-grow {\n  flex-grow: 1;\n}\n\n.grow {\n  flex-grow: 1;\n}\n\n.grow-0 {\n  flex-grow: 0;\n}\n\n.translate-x-0 {\n  --tw-translate-x: 0rem;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.translate-x-16 {\n  --tw-translate-x: 1rem;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rotate-0 {\n  --tw-rotate: 0deg;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.rotate-180 {\n  --tw-rotate: 180deg;\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.transform {\n  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.cursor-grab {\n  cursor: grab;\n}\n\n.cursor-not-allowed {\n  cursor: not-allowed;\n}\n\n.cursor-pointer {\n  cursor: pointer;\n}\n\n.touch-none {\n  touch-action: none;\n}\n\n.select-none {\n  -webkit-user-select: none;\n     -moz-user-select: none;\n          user-select: none;\n}\n\n.resize-none {\n  resize: none;\n}\n\n.list-none {\n  list-style-type: none;\n}\n\n.auto-cols-fr {\n  grid-auto-columns: minmax(0, 1fr);\n}\n\n.grid-flow-row {\n  grid-auto-flow: row;\n}\n\n.grid-flow-col {\n  grid-auto-flow: column;\n}\n\n.grid-cols-1 {\n  grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n\n.grid-cols-2 {\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n.grid-cols-3 {\n  grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.grid-cols-4 {\n  grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.grid-rows-\\\\[0fr\\\\] {\n  grid-template-rows: 0fr;\n}\n\n.grid-rows-\\\\[1fr\\\\] {\n  grid-template-rows: 1fr;\n}\n\n.flex-row {\n  flex-direction: row;\n}\n\n.flex-row-reverse {\n  flex-direction: row-reverse;\n}\n\n.flex-col {\n  flex-direction: column;\n}\n\n.flex-col-reverse {\n  flex-direction: column-reverse;\n}\n\n.flex-wrap {\n  flex-wrap: wrap;\n}\n\n.place-items-start {\n  place-items: start;\n}\n\n.place-items-center {\n  place-items: center;\n}\n\n.place-items-stretch {\n  place-items: stretch;\n}\n\n.content-start {\n  align-content: flex-start;\n}\n\n.content-between {\n  align-content: space-between;\n}\n\n.content-baseline {\n  align-content: baseline;\n}\n\n.items-start {\n  align-items: flex-start;\n}\n\n.items-end {\n  align-items: flex-end;\n}\n\n.items-center {\n  align-items: center;\n}\n\n.items-stretch {\n  align-items: stretch;\n}\n\n.justify-start {\n  justify-content: flex-start;\n}\n\n.justify-end {\n  justify-content: flex-end;\n}\n\n.justify-center {\n  justify-content: center;\n}\n\n.justify-between {\n  justify-content: space-between;\n}\n\n.justify-around {\n  justify-content: space-around;\n}\n\n.justify-evenly {\n  justify-content: space-evenly;\n}\n\n.gap-0 {\n  gap: 0rem;\n}\n\n.gap-10 {\n  gap: 0.625rem;\n}\n\n.gap-12 {\n  gap: 0.750rem;\n}\n\n.gap-16 {\n  gap: 1rem;\n}\n\n.gap-2 {\n  gap: 0.125rem;\n}\n\n.gap-20 {\n  gap: 1.250rem;\n}\n\n.gap-30 {\n  gap: 1.875rem;\n}\n\n.gap-4 {\n  gap: 0.250rem;\n}\n\n.gap-40 {\n  gap: 2.500rem;\n}\n\n.gap-6 {\n  gap: 0.375rem;\n}\n\n.gap-8 {\n  gap: 0.500rem;\n}\n\n.gap-\\\\[3px\\\\] {\n  gap: 3px;\n}\n\n.gap-x-10 {\n  -moz-column-gap: 0.625rem;\n       column-gap: 0.625rem;\n}\n\n.gap-x-16 {\n  -moz-column-gap: 1rem;\n       column-gap: 1rem;\n}\n\n.gap-y-10 {\n  row-gap: 0.625rem;\n}\n\n.gap-y-16 {\n  row-gap: 1rem;\n}\n\n.space-x-2 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-x-reverse: 0;\n  margin-right: calc(0.125rem * var(--tw-space-x-reverse));\n  margin-left: calc(0.125rem * calc(1 - var(--tw-space-x-reverse)));\n}\n\n.space-x-4 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-x-reverse: 0;\n  margin-right: calc(0.250rem * var(--tw-space-x-reverse));\n  margin-left: calc(0.250rem * calc(1 - var(--tw-space-x-reverse)));\n}\n\n.space-y-10 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));\n}\n\n.space-y-12 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.750rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.750rem * var(--tw-space-y-reverse));\n}\n\n.space-y-2 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));\n}\n\n.space-y-30 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(1.875rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(1.875rem * var(--tw-space-y-reverse));\n}\n\n.space-y-4 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.250rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.250rem * var(--tw-space-y-reverse));\n}\n\n.space-y-6 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));\n}\n\n.space-y-8 > :not([hidden]) ~ :not([hidden]) {\n  --tw-space-y-reverse: 0;\n  margin-top: calc(0.500rem * calc(1 - var(--tw-space-y-reverse)));\n  margin-bottom: calc(0.500rem * var(--tw-space-y-reverse));\n}\n\n.divide-y-2 > :not([hidden]) ~ :not([hidden]) {\n  --tw-divide-y-reverse: 0;\n  border-top-width: calc(2px * calc(1 - var(--tw-divide-y-reverse)));\n  border-bottom-width: calc(2px * var(--tw-divide-y-reverse));\n}\n\n.self-start {\n  align-self: flex-start;\n}\n\n.self-center {\n  align-self: center;\n}\n\n.justify-self-end {\n  justify-self: end;\n}\n\n.overflow-hidden {\n  overflow: hidden;\n}\n\n.overflow-clip {\n  overflow: clip;\n}\n\n.overflow-visible {\n  overflow: visible;\n}\n\n.overflow-x-auto {\n  overflow-x: auto;\n}\n\n.overflow-y-auto {\n  overflow-y: auto;\n}\n\n.overscroll-none {\n  overscroll-behavior: none;\n}\n\n.truncate {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.text-ellipsis {\n  text-overflow: ellipsis;\n}\n\n.whitespace-nowrap {\n  white-space: nowrap;\n}\n\n.whitespace-pre {\n  white-space: pre;\n}\n\n.whitespace-pre-wrap {\n  white-space: pre-wrap;\n}\n\n.break-normal {\n  overflow-wrap: normal;\n  word-break: normal;\n}\n\n.break-words {\n  overflow-wrap: break-word;\n}\n\n.break-all {\n  word-break: break-all;\n}\n\n.break-keep {\n  word-break: keep-all;\n}\n\n.rounded-0 {\n  border-radius: 0px;\n}\n\n.rounded-2 {\n  border-radius: 2px;\n}\n\n.rounded-4 {\n  border-radius: 4px;\n}\n\n.rounded-6 {\n  border-radius: 6px;\n}\n\n.rounded-8 {\n  border-radius: 8px;\n}\n\n.rounded-\\\\[0\\\\.5rem\\\\] {\n  border-radius: 0.5rem;\n}\n\n.rounded-\\\\[2\\\\.5px\\\\] {\n  border-radius: 2.5px;\n}\n\n.rounded-full {\n  border-radius: 9999px;\n}\n\n.rounded-b-0 {\n  border-bottom-right-radius: 0px;\n  border-bottom-left-radius: 0px;\n}\n\n.rounded-l-2 {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n\n.rounded-t-0 {\n  border-top-left-radius: 0px;\n  border-top-right-radius: 0px;\n}\n\n.rounded-t-20 {\n  border-top-left-radius: 20px;\n  border-top-right-radius: 20px;\n}\n\n.border {\n  border-width: 1px;\n}\n\n.border-0 {\n  border-width: 0;\n}\n\n.border-2 {\n  border-width: 2px;\n}\n\n.border-4 {\n  border-width: 4px;\n}\n\n.border-6 {\n  border-width: 6px;\n}\n\n.border-b {\n  border-bottom-width: 1px;\n}\n\n.border-l {\n  border-left-width: 1px;\n}\n\n.border-t {\n  border-top-width: 1px;\n}\n\n.border-solid {\n  border-style: solid;\n}\n\n.border-dashed {\n  border-style: dashed;\n}\n\n.border-none {\n  border-style: none;\n}\n\n.border-black-alpha-200 {\n  border-color: #00000020;\n}\n\n.border-divider {\n  border-color: #5d5d5d29;\n}\n\n.border-gray-200 {\n  --tw-border-opacity: 1;\n  border-color: rgb(228 228 228 / var(--tw-border-opacity, 1));\n}\n\n.border-gray-400 {\n  --tw-border-opacity: 1;\n  border-color: rgb(160 160 160 / var(--tw-border-opacity, 1));\n}\n\n.border-line {\n  --tw-border-opacity: 1;\n  border-color: rgb(196 196 196 / var(--tw-border-opacity, 1));\n}\n\n.border-line-disabled {\n  border-color: #5d5d5d14;\n}\n\n.border-line-selected {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.border-negative {\n  --tw-border-opacity: 1;\n  border-color: rgb(204 20 20 / var(--tw-border-opacity, 1));\n}\n\n.border-on-black {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.bg-\\\\[\\\\#19191a\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(25 25 26 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[\\\\#3d3d3d\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(61 61 61 / var(--tw-bg-opacity, 1));\n}\n\n.bg-\\\\[\\\\#5D5D5D80\\\\] {\n  background-color: #5D5D5D80;\n}\n\n.bg-\\\\[\\\\#FFA229\\\\] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 162 41 / var(--tw-bg-opacity, 1));\n}\n\n.bg-accent-low {\n  background-color: rgba(255, 72, 0, 0.08);\n}\n\n.bg-accent-low-dark {\n  background-color: rgba(255, 72, 0, 0.08);\n}\n\n.bg-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-blue-100 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(235 241 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-blue-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(184 205 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-blue-300 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(134 165 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-dimmed {\n  background-color: #00000080;\n}\n\n.bg-disabled {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.bg-fill-tertiary {\n  background-color: #5d5d5d14;\n}\n\n.bg-fill-tertiary-dark {\n  background-color: #f4f4f414;\n}\n\n.bg-gray-100 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(228 228 228 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-300 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(196 196 196 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-400 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(160 160 160 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gray-500 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(93 93 93 / var(--tw-bg-opacity, 1));\n}\n\n.bg-green-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(194 238 178 / var(--tw-bg-opacity, 1));\n}\n\n.bg-inherit {\n  background-color: inherit;\n}\n\n.bg-interactive-low {\n  background-color: #345fff14;\n}\n\n.bg-interactive-low-dark {\n  background-color: #bdd1ff14;\n}\n\n.bg-low {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.bg-negative {\n  --tw-bg-opacity: 1;\n  background-color: rgb(204 20 20 / var(--tw-bg-opacity, 1));\n}\n\n.bg-on-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-on-white {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-positive-low {\n  background-color: #12ba2314;\n}\n\n.bg-primary {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.bg-primary-dark {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-red-100 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 239 235 / var(--tw-bg-opacity, 1));\n}\n\n.bg-red-200 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 191 170 / var(--tw-bg-opacity, 1));\n}\n\n.bg-silent {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-surface-contents {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.bg-tertiary {\n  background-color: #5d5d5d14;\n}\n\n.bg-tertiary-dark {\n  background-color: #f4f4f414;\n}\n\n.bg-text-disabled {\n  background-color: rgba(93, 93, 93, 0.4);\n}\n\n.bg-text-on-color {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-transparent {\n  background-color: transparent;\n}\n\n.bg-white {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.bg-yellow-300 {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 201 127 / var(--tw-bg-opacity, 1));\n}\n\n.bg-gradient-to-b {\n  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));\n}\n\n.from-\\\\[\\\\#759ab3\\\\] {\n  --tw-gradient-from: #759ab3 var(--tw-gradient-from-position);\n  --tw-gradient-to: rgb(117 154 179 / 0) var(--tw-gradient-to-position);\n  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.from-10\\\\% {\n  --tw-gradient-from-position: 10%;\n}\n\n.to-\\\\[\\\\#d4ccc2\\\\] {\n  --tw-gradient-to: #d4ccc2 var(--tw-gradient-to-position);\n}\n\n.fill-black {\n  fill: #000000;\n}\n\n.fill-inherit {\n  fill: inherit;\n}\n\n.fill-white {\n  fill: #ffffff;\n}\n\n.object-cover {\n  object-fit: cover;\n}\n\n.p-0 {\n  padding: 0rem;\n}\n\n.p-10 {\n  padding: 0.625rem;\n}\n\n.p-12 {\n  padding: 0.750rem;\n}\n\n.p-14 {\n  padding: 0.875rem;\n}\n\n.p-16 {\n  padding: 1rem;\n}\n\n.p-2 {\n  padding: 0.125rem;\n}\n\n.p-20 {\n  padding: 1.250rem;\n}\n\n.p-4 {\n  padding: 0.250rem;\n}\n\n.p-6 {\n  padding: 0.375rem;\n}\n\n.p-8 {\n  padding: 0.500rem;\n}\n\n.px-10 {\n  padding-left: 0.625rem;\n  padding-right: 0.625rem;\n}\n\n.px-12 {\n  padding-left: 0.750rem;\n  padding-right: 0.750rem;\n}\n\n.px-14 {\n  padding-left: 0.875rem;\n  padding-right: 0.875rem;\n}\n\n.px-16 {\n  padding-left: 1rem;\n  padding-right: 1rem;\n}\n\n.px-18 {\n  padding-left: 1.125rem;\n  padding-right: 1.125rem;\n}\n\n.px-20 {\n  padding-left: 1.250rem;\n  padding-right: 1.250rem;\n}\n\n.px-6 {\n  padding-left: 0.375rem;\n  padding-right: 0.375rem;\n}\n\n.px-8 {\n  padding-left: 0.500rem;\n  padding-right: 0.500rem;\n}\n\n.py-0 {\n  padding-top: 0rem;\n  padding-bottom: 0rem;\n}\n\n.py-10 {\n  padding-top: 0.625rem;\n  padding-bottom: 0.625rem;\n}\n\n.py-100 {\n  padding-top: 6.250rem;\n  padding-bottom: 6.250rem;\n}\n\n.py-12 {\n  padding-top: 0.750rem;\n  padding-bottom: 0.750rem;\n}\n\n.py-14 {\n  padding-top: 0.875rem;\n  padding-bottom: 0.875rem;\n}\n\n.py-16 {\n  padding-top: 1rem;\n  padding-bottom: 1rem;\n}\n\n.py-2 {\n  padding-top: 0.125rem;\n  padding-bottom: 0.125rem;\n}\n\n.py-24 {\n  padding-top: 1.500rem;\n  padding-bottom: 1.500rem;\n}\n\n.py-4 {\n  padding-top: 0.250rem;\n  padding-bottom: 0.250rem;\n}\n\n.py-50 {\n  padding-top: 3.125rem;\n  padding-bottom: 3.125rem;\n}\n\n.py-6 {\n  padding-top: 0.375rem;\n  padding-bottom: 0.375rem;\n}\n\n.py-8 {\n  padding-top: 0.500rem;\n  padding-bottom: 0.500rem;\n}\n\n.pb-10 {\n  padding-bottom: 0.625rem;\n}\n\n.pb-16 {\n  padding-bottom: 1rem;\n}\n\n.pb-20 {\n  padding-bottom: 1.250rem;\n}\n\n.pb-4 {\n  padding-bottom: 0.250rem;\n}\n\n.pb-8 {\n  padding-bottom: 0.500rem;\n}\n\n.pb-\\\\[max\\\\(env\\\\(safe-area-inset-bottom\\\\)\\\\2c 12px\\\\)\\\\] {\n  padding-bottom: max(env(safe-area-inset-bottom),12px);\n}\n\n.pl-10 {\n  padding-left: 0.625rem;\n}\n\n.pl-12 {\n  padding-left: 0.750rem;\n}\n\n.pl-20 {\n  padding-left: 1.250rem;\n}\n\n.pl-8 {\n  padding-left: 0.500rem;\n}\n\n.pr-16 {\n  padding-right: 1rem;\n}\n\n.pr-30 {\n  padding-right: 1.875rem;\n}\n\n.pr-40 {\n  padding-right: 2.500rem;\n}\n\n.pr-50 {\n  padding-right: 3.125rem;\n}\n\n.pr-6 {\n  padding-right: 0.375rem;\n}\n\n.pr-8 {\n  padding-right: 0.500rem;\n}\n\n.pr-\\\\[calc\\\\(1ch\\\\+4px\\\\)\\\\] {\n  padding-right: calc(1ch + 4px);\n}\n\n.pt-10 {\n  padding-top: 0.625rem;\n}\n\n.pt-16 {\n  padding-top: 1rem;\n}\n\n.pt-24 {\n  padding-top: 1.500rem;\n}\n\n.pt-32 {\n  padding-top: 2rem;\n}\n\n.pt-40 {\n  padding-top: 2.500rem;\n}\n\n.text-left {\n  text-align: left;\n}\n\n.text-center {\n  text-align: center;\n}\n\n.text-right {\n  text-align: right;\n}\n\n.align-baseline {\n  vertical-align: baseline;\n}\n\n.align-middle {\n  vertical-align: middle;\n}\n\n.align-\\\\[unset\\\\] {\n  vertical-align: unset;\n}\n\n.text-l {\n  font-size: 14px;\n  line-height: 140%;\n  font-weight: 400;\n}\n\n.text-l-bold {\n  font-size: 14px;\n  line-height: 140%;\n  font-weight: 700;\n}\n\n.text-l-medium {\n  font-size: 14px;\n  line-height: 140%;\n  font-weight: 500;\n}\n\n.text-m {\n  font-size: 13px;\n  line-height: 140%;\n  font-weight: 400;\n}\n\n.text-m-bold {\n  font-size: 13px;\n  line-height: 140%;\n  font-weight: 700;\n}\n\n.text-m-medium {\n  font-size: 13px;\n  line-height: 140%;\n  font-weight: 500;\n}\n\n.text-s {\n  font-size: 12px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-s-bold {\n  font-size: 12px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-s-medium {\n  font-size: 12px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-title-m-bold {\n  font-size: 22px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-title-s-bold {\n  font-size: 20px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-title-s-medium {\n  font-size: 20px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-title-xs {\n  font-size: 18px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-title-xs-bold {\n  font-size: 18px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-title-xs-medium {\n  font-size: 18px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-title-xxl {\n  font-size: 30px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-xl {\n  font-size: 15px;\n  line-height: 150%;\n  font-weight: 400;\n}\n\n.text-xl-bold {\n  font-size: 15px;\n  line-height: 150%;\n  font-weight: 700;\n}\n\n.text-xs {\n  font-size: 11px;\n  line-height: 136%;\n  font-weight: 400;\n}\n\n.text-xs-bold {\n  font-size: 11px;\n  line-height: 136%;\n  font-weight: 700;\n}\n\n.text-xs-medium {\n  font-size: 11px;\n  line-height: 136%;\n  font-weight: 500;\n}\n\n.text-xxl {\n  font-size: 16px;\n  line-height: 140%;\n  font-weight: 400;\n}\n\n.text-xxl-bold {\n  font-size: 16px;\n  line-height: 140%;\n  font-weight: 700;\n}\n\n.text-xxl-medium {\n  font-size: 16px;\n  line-height: 140%;\n  font-weight: 500;\n}\n\n.text-xxs {\n  font-size: 10px;\n  line-height: 120%;\n  font-weight: 400;\n}\n\n.text-xxs-bold {\n  font-size: 10px;\n  line-height: 120%;\n  font-weight: 700;\n}\n\n.text-xxs-medium {\n  font-size: 10px;\n  line-height: 120%;\n  font-weight: 500;\n}\n\n.font-bold {\n  font-weight: 700;\n}\n\n.font-medium {\n  font-weight: 500;\n}\n\n.font-normal {\n  font-weight: 400;\n}\n\n.italic {\n  font-style: italic;\n}\n\n.tabular-nums {\n  --tw-numeric-spacing: tabular-nums;\n  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n.text-\\\\[\\\\#303033\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(48 48 51 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#474747\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#A0A0A0\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(160 160 160 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#FF4800\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#a0a0a0\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(160 160 160 / var(--tw-text-opacity, 1));\n}\n\n.text-\\\\[\\\\#ffffff\\\\] {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-accent {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.text-accent-dark {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.text-black-alpha-500 {\n  color: #00000080;\n}\n\n.text-blue-600 {\n  --tw-text-opacity: 1;\n  color: rgb(32 63 246 / var(--tw-text-opacity, 1));\n}\n\n.text-disabled {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.text-disabled-dark {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.text-gray-400 {\n  --tw-text-opacity: 1;\n  color: rgb(160 160 160 / var(--tw-text-opacity, 1));\n}\n\n.text-gray-500 {\n  --tw-text-opacity: 1;\n  color: rgb(93 93 93 / var(--tw-text-opacity, 1));\n}\n\n.text-gray-alpha-500-light {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.text-green-300 {\n  --tw-text-opacity: 1;\n  color: rgb(129 220 113 / var(--tw-text-opacity, 1));\n}\n\n.text-interactive {\n  --tw-text-opacity: 1;\n  color: rgb(55 95 255 / var(--tw-text-opacity, 1));\n}\n\n.text-interactive-dark {\n  --tw-text-opacity: 1;\n  color: rgb(30 60 242 / var(--tw-text-opacity, 1));\n}\n\n.text-negative {\n  --tw-text-opacity: 1;\n  color: rgb(204 20 20 / var(--tw-text-opacity, 1));\n}\n\n.text-negative-dark {\n  --tw-text-opacity: 1;\n  color: rgb(204 20 20 / var(--tw-text-opacity, 1));\n}\n\n.text-on-black {\n  --tw-text-opacity: 1;\n  color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n\n.text-on-color {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-on-color-dark {\n  --tw-text-opacity: 1;\n  color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n\n.text-on-white {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-positive {\n  --tw-text-opacity: 1;\n  color: rgb(18 186 35 / var(--tw-text-opacity, 1));\n}\n\n.text-primary {\n  --tw-text-opacity: 1;\n  color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n\n.text-primary-dark {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-secondary {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.text-secondary-dark {\n  --tw-text-opacity: 1;\n  color: rgb(160 160 160 / var(--tw-text-opacity, 1));\n}\n\n.text-tertiary {\n  color: rgba(93, 93, 93, 0.64);\n}\n\n.text-tertiary-dark {\n  color: rgba(93, 93, 93, 0.64);\n}\n\n.text-tertiary-pressed {\n  color: rgba(93, 93, 93, 0.8);\n}\n\n.text-white {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.text-opacity-50 {\n  --tw-text-opacity: 0.5;\n}\n\n.underline {\n  -webkit-text-decoration-line: underline;\n          text-decoration-line: underline;\n}\n\n.underline-offset-2 {\n  text-underline-offset: 2px;\n}\n\n.opacity-40 {\n  opacity: 0.4;\n}\n\n.opacity-\\\\[0\\\\.64\\\\] {\n  opacity: 0.64;\n}\n\n.opacity-\\\\[40\\\\%\\\\] {\n  opacity: 40%;\n}\n\n.outline-none {\n  outline: 2px solid transparent;\n  outline-offset: 2px;\n}\n\n.outline {\n  outline-style: solid;\n}\n\n.drop-shadow-100 {\n  --tw-drop-shadow: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.28));\n  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.drop-shadow-\\\\[0_2px_12px_rgba\\\\(0\\\\2c 0\\\\2c 0\\\\2c 0\\\\.1\\\\)\\\\] {\n  --tw-drop-shadow: drop-shadow(0 2px 12px rgba(0,0,0,0.1));\n  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.filter {\n  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.backdrop-blur-\\\\[5px\\\\] {\n  --tw-backdrop-blur: blur(5px);\n  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n.transition {\n  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-\\\\[grid-template-rows\\\\] {\n  transition-property: grid-template-rows;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-\\\\[padding\\\\] {\n  transition-property: padding;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-\\\\[width\\\\] {\n  transition-property: width;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-colors {\n  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.transition-transform {\n  transition-property: transform;\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n  transition-duration: 150ms;\n}\n\n.duration-150 {\n  transition-duration: 150ms;\n}\n\n.duration-200 {\n  transition-duration: 200ms;\n}\n\n.duration-300 {\n  transition-duration: 300ms;\n}\n\n.ease-in-out {\n  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.\\\\[-webkit-tap-highlight-color\\\\:transparent\\\\] {\n  -webkit-tap-highlight-color: transparent;\n}\n\n.scrollbar-hide::-webkit-scrollbar {\n  display: none;\n}\n\n/* useBodyScrollLock.ts에서 body overflow를 제어하기 위한 클래스 */\n\nbody.disable-scroll {\n  overflow: hidden;\n}\n\n/**\n * nextjs의 [문서](https://nextjs.org/docs/app/building-your-application/styling#external-stylesheets)에서\n * \\`<link rel=\"stylesheet\" />\\` 방식을 사용하지 않도록 가이드하기 때문에, 폰트 관련 스타일을 globals.css에 추가하게 되었다.\n */\n\n/**\n * TODO: dynamic subset을 위한 스타일의 길이가 길기 때문에, 매번 새로 불리지 않고 캐싱 되도록 동작하는지 확인하고 만약 적절히 캐싱되지 않는다면 구현을 변경한다.\n */\n\n/* 공통 폰트 사용을 위한 글로벌 변수 */\n\n:root {\n  --font-pretendard: 'Pretendard Variable';\n  --font-pretendard-with-ios-fallback: var(--font-pretendard), -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',\n    NanumBarunGothic, '나눔바른고딕', 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;\n}\n\n/* Pretendard Variable - dynamic subset */\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.0.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+f9ca-fa0b, U+ff03-ff05, U+ff07, U+ff0a-ff0b, U+ff0d-ff19, U+ff1b, U+ff1d, U+ff20-ff5b, U+ff5d,\n    U+ffe0-ffe3, U+ffe5-ffe6;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.1.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d723-d728, U+d72a-d733, U+d735-d748, U+d74a-d74f, U+d752-d753, U+d755-d757, U+d75a-d75f, U+d762-d764,\n    U+d766-d768, U+d76a-d76b, U+d76d-d76f, U+d771-d787, U+d789-d78b, U+d78d-d78f, U+d791-d797, U+d79a, U+d79c,\n    U+d79e-d7a3, U+f900-f909, U+f90b-f92e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.2.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d679-d68b, U+d68e-d69e, U+d6a0, U+d6a2-d6a7, U+d6a9-d6c3, U+d6c6-d6c7, U+d6c9-d6cb, U+d6cd-d6d3,\n    U+d6d5-d6d6, U+d6d8-d6e3, U+d6e5-d6e7, U+d6e9-d6fb, U+d6fd-d717, U+d719-d71f, U+d721-d722;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.3.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d5bc-d5c7, U+d5ca-d5cb, U+d5cd-d5cf, U+d5d1-d5d7, U+d5d9-d5da, U+d5dc, U+d5de-d5e3, U+d5e6-d5e7,\n    U+d5e9-d5eb, U+d5ed-d5f6, U+d5f8, U+d5fa-d5ff, U+d602-d603, U+d605-d607, U+d609-d60f, U+d612-d613, U+d616-d61b,\n    U+d61d-d637, U+d63a-d63b, U+d63d-d63f, U+d641-d647, U+d64a-d64c, U+d64e-d653, U+d656-d657, U+d659-d65b, U+d65d-d666,\n    U+d668, U+d66a-d678;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.4.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d507, U+d509-d50b, U+d50d-d513, U+d515-d53b, U+d53e-d53f, U+d541-d543, U+d545-d54c, U+d54e, U+d550,\n    U+d552-d557, U+d55a-d55b, U+d55d-d55f, U+d561-d564, U+d566-d567, U+d56a, U+d56c, U+d56e-d573, U+d576-d577,\n    U+d579-d583, U+d585-d586, U+d58a-d5a4, U+d5a6-d5bb;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.5.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d464-d477, U+d47a-d47b, U+d47d-d47f, U+d481-d487, U+d489-d48a, U+d48c, U+d48e-d4e7, U+d4e9-d503,\n    U+d505-d506;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.6.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d3bf-d3c7, U+d3ca-d3cf, U+d3d1-d3eb, U+d3ee-d3ef, U+d3f1-d3f3, U+d3f5-d3fb, U+d3fd-d400, U+d402-d45b,\n    U+d45d-d463;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.7.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d2ff, U+d302-d304, U+d306-d30b, U+d30f, U+d311-d313, U+d315-d31b, U+d31e, U+d322-d324, U+d326-d327,\n    U+d32a-d32b, U+d32d-d32f, U+d331-d337, U+d339-d33c, U+d33e-d37b, U+d37e-d37f, U+d381-d383, U+d385-d38b, U+d38e-d390,\n    U+d392-d397, U+d39a-d39b, U+d39d-d39f, U+d3a1-d3a7, U+d3a9-d3aa, U+d3ac, U+d3ae-d3b3, U+d3b5-d3b7, U+d3b9-d3bb,\n    U+d3bd-d3be;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.8.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d257-d27f, U+d281-d29b, U+d29d-d29f, U+d2a1-d2ab, U+d2ad-d2b7, U+d2ba-d2bb, U+d2bd-d2bf, U+d2c1-d2c7,\n    U+d2c9-d2ef, U+d2f2-d2f3, U+d2f5-d2f7, U+d2f9-d2fe;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.9.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d1b4, U+d1b6-d1f3, U+d1f5-d22b, U+d22e-d22f, U+d231-d233, U+d235-d23b, U+d23d-d240, U+d242-d256;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.10.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d105-d12f, U+d132-d133, U+d135-d137, U+d139-d13f, U+d141-d142, U+d144, U+d146-d14b, U+d14e-d14f,\n    U+d151-d153, U+d155-d15b, U+d15e-d187, U+d189-d19f, U+d1a2-d1a3, U+d1a5-d1a7, U+d1a9-d1af, U+d1b2-d1b3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.11.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d04b-d04f, U+d051-d057, U+d059-d06b, U+d06d-d06f, U+d071-d073, U+d075-d07b, U+d07e-d0a3, U+d0a6-d0a7,\n    U+d0a9-d0ab, U+d0ad-d0b3, U+d0b6, U+d0b8, U+d0ba-d0bf, U+d0c2-d0c3, U+d0c5-d0c7, U+d0c9-d0cf, U+d0d2, U+d0d6-d0db,\n    U+d0de-d0df, U+d0e1-d0e3, U+d0e5-d0eb, U+d0ee-d0f0, U+d0f2-d104;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.12.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cfa2-cfc3, U+cfc5-cfdf, U+cfe2-cfe3, U+cfe5-cfe7, U+cfe9-cff4, U+cff6-cffb, U+cffd-cfff, U+d001-d003,\n    U+d005-d017, U+d019-d033, U+d036-d037, U+d039-d03b, U+d03d-d04a;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.13.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cef0-cef3, U+cef6, U+cef9-ceff, U+cf01-cf03, U+cf05-cf07, U+cf09-cf0f, U+cf11-cf12, U+cf14-cf1b,\n    U+cf1d-cf1f, U+cf21-cf2f, U+cf31-cf53, U+cf56-cf57, U+cf59-cf5b, U+cf5d-cf63, U+cf66, U+cf68, U+cf6a-cf6f,\n    U+cf71-cf84, U+cf86-cf8b, U+cf8d-cfa1;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.14.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ce3c-ce57, U+ce5a-ce5b, U+ce5d-ce5f, U+ce61-ce67, U+ce6a, U+ce6c, U+ce6e-ce73, U+ce76-ce77,\n    U+ce79-ce7b, U+ce7d-ce83, U+ce85-ce88, U+ce8a-ce8f, U+ce91-ce93, U+ce95-ce97, U+ce99-ce9f, U+cea2, U+cea4-ceab,\n    U+cead-cee3, U+cee6-cee7, U+cee9-ceeb, U+ceed-ceef;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.15.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cd92-cd93, U+cd96-cd97, U+cd99-cd9b, U+cd9d-cda3, U+cda6-cda8, U+cdaa-cdaf, U+cdb1-cdc3, U+cdc5-cdcb,\n    U+cdcd-cde7, U+cde9-ce03, U+ce05-ce1f, U+ce22-ce34, U+ce36-ce3b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.16.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ccef-cd07, U+cd0a-cd0b, U+cd0d-cd1a, U+cd1c, U+cd1e-cd2b, U+cd2d-cd5b, U+cd5d-cd77, U+cd79-cd91;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.17.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cc3f-cc43, U+cc46-cc47, U+cc49-cc4b, U+cc4d-cc53, U+cc55-cc58, U+cc5a-cc5f, U+cc61-cc97, U+cc9a-cc9b,\n    U+cc9d-cc9f, U+cca1-cca7, U+ccaa, U+ccac, U+ccae-ccb3, U+ccb6-ccb7, U+ccb9-ccbb, U+ccbd-cccf, U+ccd1-cce3,\n    U+cce5-ccee;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.18.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+cb91-cbd3, U+cbd5-cbe3, U+cbe5-cc0b, U+cc0e-cc0f, U+cc11-cc13, U+cc15-cc1b, U+cc1d-cc20, U+cc23-cc27,\n    U+cc2a-cc2b, U+cc2d, U+cc2f, U+cc31-cc37, U+cc3a, U+cc3c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.19.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+caf4-cb47, U+cb4a-cb90;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.20.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ca4a-ca4b, U+ca4e-ca4f, U+ca51-ca53, U+ca55-ca5b, U+ca5d-ca60, U+ca62-ca83, U+ca85-cabb, U+cabe-cabf,\n    U+cac1-cac3, U+cac5-cacb, U+cacd-cad0, U+cad2, U+cad4-cad8, U+cada-caf3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.21.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c996-c997, U+c99a-c99c, U+c99e-c9bf, U+c9c2-c9c3, U+c9c5-c9c7, U+c9c9-c9cf, U+c9d2, U+c9d4,\n    U+c9d7-c9d8, U+c9db, U+c9de-c9df, U+c9e1-c9e3, U+c9e5-c9e6, U+c9e8-c9eb, U+c9ee-c9f0, U+c9f2-c9f7, U+c9f9-ca0b,\n    U+ca0d-ca28, U+ca2a-ca49;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.22.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c8e9-c8f4, U+c8f6-c8fb, U+c8fe-c8ff, U+c901-c903, U+c905-c90b, U+c90e-c910, U+c912-c917, U+c919-c92b,\n    U+c92d-c94f, U+c951-c953, U+c955-c96b, U+c96d-c973, U+c975-c987, U+c98a-c98b, U+c98d-c98f, U+c991-c995;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.23.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c841-c84b, U+c84d-c86f, U+c872-c873, U+c875-c877, U+c879-c87f, U+c882-c884, U+c887-c88a, U+c88d-c8c3,\n    U+c8c5-c8df, U+c8e1-c8e8;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.24.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c779-c77b, U+c77e-c782, U+c786, U+c78b, U+c78d, U+c78f, U+c792-c793, U+c795, U+c797, U+c799-c79f,\n    U+c7a2, U+c7a7-c7ab, U+c7ae-c7bb, U+c7bd-c7c0, U+c7c2-c7c7, U+c7c9-c7dc, U+c7de-c7ff, U+c802-c803, U+c805-c807,\n    U+c809, U+c80b-c80f, U+c812, U+c814, U+c817-c81b, U+c81e-c81f, U+c821-c823, U+c825-c82e, U+c830-c837, U+c839-c83b,\n    U+c83d-c840;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.25.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c6bb-c6bf, U+c6c2, U+c6c4, U+c6c6-c6cb, U+c6ce-c6cf, U+c6d1-c6d3, U+c6d5-c6db, U+c6dd-c6df,\n    U+c6e1-c6e7, U+c6e9-c6eb, U+c6ed-c6ef, U+c6f1-c6f8, U+c6fa-c703, U+c705-c707, U+c709-c70b, U+c70d-c716, U+c718,\n    U+c71a-c71f, U+c722-c723, U+c725-c727, U+c729-c734, U+c736-c73b, U+c73e-c73f, U+c741-c743, U+c745-c74b, U+c74e-c750,\n    U+c752-c757, U+c759-c773, U+c776-c777;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.26.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c5f5-c5fb, U+c5fe, U+c602-c605, U+c607, U+c609-c60f, U+c611-c61a, U+c61c-c623, U+c626-c627,\n    U+c629-c62b, U+c62d, U+c62f-c632, U+c636, U+c638, U+c63a-c63f, U+c642-c643, U+c645-c647, U+c649-c652, U+c656-c65b,\n    U+c65d-c65f, U+c661-c663, U+c665-c677, U+c679-c67b, U+c67d-c693, U+c696-c697, U+c699-c69b, U+c69d-c6a3, U+c6a6,\n    U+c6a8, U+c6aa-c6af, U+c6b2-c6b3, U+c6b5-c6b7, U+c6b9-c6ba;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.27.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c517-c527, U+c52a-c52b, U+c52d-c52f, U+c531-c538, U+c53a, U+c53c, U+c53e-c543, U+c546-c547, U+c54b,\n    U+c54d-c552, U+c556, U+c55a-c55b, U+c55d, U+c55f, U+c562-c563, U+c565-c567, U+c569-c56f, U+c572, U+c574, U+c576-c57b,\n    U+c57e-c57f, U+c581-c583, U+c585-c586, U+c588-c58b, U+c58e, U+c590, U+c592-c596, U+c599-c5b3, U+c5b6-c5b7, U+c5ba,\n    U+c5be-c5c3, U+c5ca-c5cb, U+c5cd, U+c5cf, U+c5d2-c5d3, U+c5d5-c5d7, U+c5d9-c5df, U+c5e1-c5e2, U+c5e4, U+c5e6-c5eb,\n    U+c5ef, U+c5f1-c5f3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.28.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c475-c4ef, U+c4f2-c4f3, U+c4f5-c4f7, U+c4f9-c4ff, U+c502-c50b, U+c50d-c516;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.29.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c3d0-c3d7, U+c3da-c3db, U+c3dd-c3de, U+c3e1-c3ec, U+c3ee-c3f3, U+c3f5-c42b, U+c42d-c463, U+c466-c474;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.30.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c32b-c367, U+c36a-c36b, U+c36d-c36f, U+c371-c377, U+c37a-c37b, U+c37e-c383, U+c385-c387, U+c389-c3cf;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.31.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c26a-c26b, U+c26d-c26f, U+c271-c273, U+c275-c27b, U+c27e-c287, U+c289-c28f, U+c291-c297, U+c299-c29a,\n    U+c29c-c2a3, U+c2a5-c2a7, U+c2a9-c2ab, U+c2ad-c2b3, U+c2b6, U+c2b8, U+c2ba-c2bb, U+c2bd-c2db, U+c2de-c2df,\n    U+c2e1-c2e2, U+c2e5-c2ea, U+c2ee, U+c2f0, U+c2f2-c2f5, U+c2f7, U+c2fa-c2fb, U+c2fd-c2ff, U+c301-c307, U+c309-c30c,\n    U+c30e-c312, U+c315-c323, U+c325-c328, U+c32a;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.32.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c1bc-c1c3, U+c1c5-c1df, U+c1e1-c1fb, U+c1fd-c203, U+c205-c20c, U+c20e, U+c210-c217, U+c21a-c21b,\n    U+c21d-c21e, U+c221-c227, U+c229-c22a, U+c22c, U+c22e, U+c230, U+c233-c24f, U+c251-c257, U+c259-c269;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.33.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c101-c11b, U+c11f, U+c121-c123, U+c125-c12b, U+c12e, U+c132-c137, U+c13a-c13b, U+c13d-c13f,\n    U+c141-c147, U+c14a, U+c14c-c153, U+c155-c157, U+c159-c15b, U+c15d-c166, U+c169-c16f, U+c171-c177, U+c179-c18b,\n    U+c18e-c18f, U+c191-c193, U+c195-c19b, U+c19d-c19e, U+c1a0, U+c1a2-c1a4, U+c1a6-c1bb;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.34.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+c049-c057, U+c059-c05b, U+c05d-c05f, U+c061-c067, U+c069-c08f, U+c091-c0ab, U+c0ae-c0af, U+c0b1-c0b3,\n    U+c0b5, U+c0b7-c0bb, U+c0be, U+c0c2-c0c7, U+c0ca-c0cb, U+c0cd-c0cf, U+c0d1-c0d7, U+c0d9-c0da, U+c0dc, U+c0de-c0e3,\n    U+c0e5-c0eb, U+c0ed-c0f3, U+c0f6, U+c0f8, U+c0fa-c0ff;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.35.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bfa7-bfaf, U+bfb1-bfc4, U+bfc6-bfcb, U+bfce-bfcf, U+bfd1-bfd3, U+bfd5-bfdb, U+bfdd-c048;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.36.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bf07, U+bf09-bf3f, U+bf41-bf4f, U+bf52-bf54, U+bf56-bfa6;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.37.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+be56, U+be58, U+be5c-be5f, U+be62-be63, U+be65-be67, U+be69-be74, U+be76-be7b, U+be7e-be7f,\n    U+be81-be8e, U+be90, U+be92-bea7, U+bea9-becf, U+bed2-bed3, U+bed5-bed6, U+bed9-bee3, U+bee6-bf06;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.38.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bdb0-bdd3, U+bdd5-bdef, U+bdf1-be0b, U+be0d-be0f, U+be11-be13, U+be15-be43, U+be46-be47, U+be49-be4b,\n    U+be4d-be53;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.39.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bd03, U+bd06, U+bd08, U+bd0a-bd0f, U+bd11-bd22, U+bd25-bd47, U+bd49-bd58, U+bd5a-bd7f, U+bd82-bd83,\n    U+bd85-bd87, U+bd8a-bd8f, U+bd91-bd92, U+bd94, U+bd96-bd98, U+bd9a-bdaf;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.40.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bc4e-bc83, U+bc86-bc87, U+bc89-bc8b, U+bc8d-bc93, U+bc96, U+bc98, U+bc9b-bc9f, U+bca2-bca3,\n    U+bca5-bca7, U+bca9-bcb2, U+bcb4-bcbb, U+bcbe-bcbf, U+bcc1-bcc3, U+bcc5-bccc, U+bcce-bcd0, U+bcd2-bcd4, U+bcd6-bcf3,\n    U+bcf7, U+bcf9-bcfb, U+bcfd-bd02;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.41.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bb90-bba3, U+bba5-bbab, U+bbad-bbbf, U+bbc1-bbf7, U+bbfa-bbfb, U+bbfd-bbfe, U+bc01-bc07, U+bc09-bc0a,\n    U+bc0e, U+bc10, U+bc12-bc13, U+bc17, U+bc19-bc1a, U+bc1e, U+bc20-bc23, U+bc26, U+bc28, U+bc2a-bc2c, U+bc2e-bc2f,\n    U+bc32-bc33, U+bc35-bc37, U+bc39-bc3f, U+bc41-bc42, U+bc44, U+bc46-bc48, U+bc4a-bc4d;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.42.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+bae6-bafb, U+bafd-bb17, U+bb19-bb33, U+bb37, U+bb39-bb3a, U+bb3d-bb43, U+bb45-bb46, U+bb48,\n    U+bb4a-bb4f, U+bb51-bb53, U+bb55-bb57, U+bb59-bb62, U+bb64-bb8f;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.43.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ba30-ba37, U+ba3a-ba3b, U+ba3d-ba3f, U+ba41-ba47, U+ba49-ba4a, U+ba4c, U+ba4e-ba53, U+ba56-ba57,\n    U+ba59-ba5b, U+ba5d-ba63, U+ba65-ba66, U+ba68-ba6f, U+ba71-ba73, U+ba75-ba77, U+ba79-ba84, U+ba86, U+ba88-baa7,\n    U+baaa, U+baad-baaf, U+bab1-bab7, U+baba, U+babc, U+babe-bae5;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.44.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b96e-b973, U+b976-b977, U+b979-b97b, U+b97d-b983, U+b986, U+b988, U+b98a-b98d, U+b98f-b9ab,\n    U+b9ae-b9af, U+b9b1-b9b3, U+b9b5-b9bb, U+b9be, U+b9c0, U+b9c2-b9c7, U+b9ca-b9cb, U+b9cd, U+b9d2-b9d7, U+b9da, U+b9dc,\n    U+b9df-b9e0, U+b9e2, U+b9e6-b9e7, U+b9e9-b9f3, U+b9f6, U+b9f8, U+b9fb-ba2f;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.45.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b8bf-b8cb, U+b8cd-b8e0, U+b8e2-b8e7, U+b8ea-b8eb, U+b8ed-b8ef, U+b8f1-b8f7, U+b8fa, U+b8fc,\n    U+b8fe-b903, U+b905-b917, U+b919-b91f, U+b921-b93b, U+b93d-b957, U+b95a-b95b, U+b95d-b95f, U+b961-b967, U+b969-b96c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.46.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b80d-b80f, U+b811-b817, U+b81a, U+b81c-b823, U+b826-b827, U+b829-b82b, U+b82d-b833, U+b836,\n    U+b83a-b83f, U+b841-b85b, U+b85e-b85f, U+b861-b863, U+b865-b86b, U+b86e, U+b870, U+b872-b8af, U+b8b1-b8be;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.47.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b74d-b75f, U+b761-b763, U+b765-b774, U+b776-b77b, U+b77e-b77f, U+b781-b783, U+b785-b78b, U+b78e,\n    U+b792-b796, U+b79a-b79b, U+b79d-b7a7, U+b7aa, U+b7ae-b7b3, U+b7b6-b7c8, U+b7ca-b7eb, U+b7ee-b7ef, U+b7f1-b7f3,\n    U+b7f5-b7fb, U+b7fe, U+b802-b806, U+b80a-b80b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.48.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b6a7-b6aa, U+b6ac-b6b0, U+b6b2-b6ef, U+b6f1-b727, U+b72a-b72b, U+b72d-b72e, U+b731-b737, U+b739-b73a,\n    U+b73c-b743, U+b745-b74c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.49.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b605-b60f, U+b612-b617, U+b619-b624, U+b626-b69b, U+b69e-b6a3, U+b6a5-b6a6;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.50.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b55f, U+b562-b583, U+b585-b59f, U+b5a2-b5a3, U+b5a5-b5a7, U+b5a9-b5b2, U+b5b5-b5ba, U+b5bd-b604;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.51.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b4a5-b4b6, U+b4b8-b4bf, U+b4c1-b4c7, U+b4c9-b4db, U+b4de-b4df, U+b4e1-b4e2, U+b4e5-b4eb, U+b4ee,\n    U+b4f0, U+b4f2-b513, U+b516-b517, U+b519-b51a, U+b51d-b523, U+b526, U+b528, U+b52b-b52f, U+b532-b533, U+b535-b537,\n    U+b539-b53f, U+b541-b544, U+b546-b54b, U+b54d-b54f, U+b551-b55b, U+b55d-b55e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.52.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b3f8-b3fb, U+b3fd-b40f, U+b411-b417, U+b419-b41b, U+b41d-b41f, U+b421-b427, U+b42a-b42b, U+b42d-b44f,\n    U+b452-b453, U+b455-b457, U+b459-b45f, U+b462-b464, U+b466-b46b, U+b46d-b47f, U+b481-b4a3;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.53.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b342-b353, U+b356-b357, U+b359-b35b, U+b35d-b35e, U+b360-b363, U+b366, U+b368, U+b36a-b36d, U+b36f,\n    U+b372-b373, U+b375-b377, U+b379-b37f, U+b381-b382, U+b384, U+b386-b38b, U+b38d-b3c3, U+b3c6-b3c7, U+b3c9-b3ca,\n    U+b3cd-b3d3, U+b3d6, U+b3d8, U+b3da-b3f7;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.54.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b27c-b283, U+b285-b28f, U+b292-b293, U+b295-b297, U+b29a-b29f, U+b2a1-b2a4, U+b2a7-b2a9, U+b2ab,\n    U+b2ad-b2c7, U+b2ca-b2cb, U+b2cd-b2cf, U+b2d1-b2d7, U+b2da, U+b2dc, U+b2de-b2e3, U+b2e7, U+b2e9-b2ea, U+b2ef-b2f3,\n    U+b2f6, U+b2f8, U+b2fa-b2fb, U+b2fd-b2fe, U+b302-b303, U+b305-b307, U+b309-b30f, U+b312, U+b316-b31b, U+b31d-b341;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.55.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b1d6-b1e7, U+b1e9-b1fc, U+b1fe-b203, U+b206-b207, U+b209-b20b, U+b20d-b213, U+b216-b21f, U+b221-b257,\n    U+b259-b273, U+b275-b27b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.56.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b120-b122, U+b126-b127, U+b129-b12b, U+b12d-b133, U+b136, U+b138, U+b13a-b13f, U+b142-b143,\n    U+b145-b14f, U+b151-b153, U+b156-b157, U+b159-b177, U+b17a-b17b, U+b17d-b17f, U+b181-b187, U+b189-b18c, U+b18e-b191,\n    U+b195-b1a7, U+b1a9-b1cb, U+b1cd-b1d5;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.57.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b05f-b07b, U+b07e-b07f, U+b081-b083, U+b085-b08b, U+b08d-b097, U+b09b, U+b09d-b09f, U+b0a2-b0a7,\n    U+b0aa, U+b0b0, U+b0b2, U+b0b6-b0b7, U+b0b9-b0bb, U+b0bd-b0c3, U+b0c6-b0c7, U+b0ca-b0cf, U+b0d1-b0df, U+b0e1-b0e4,\n    U+b0e6-b107, U+b10a-b10b, U+b10d-b10f, U+b111-b112, U+b114-b117, U+b119-b11a, U+b11c-b11f;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.58.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+afac-afb7, U+afba-afbb, U+afbd-afbf, U+afc1-afc6, U+afca-afcc, U+afce-afd3, U+afd5-afe7, U+afe9-afef,\n    U+aff1-b00b, U+b00d-b00f, U+b011-b013, U+b015-b01b, U+b01d-b027, U+b029-b043, U+b045-b047, U+b049, U+b04b,\n    U+b04d-b052, U+b055-b056, U+b058-b05c, U+b05e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.59.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+af03-af07, U+af09-af2b, U+af2e-af33, U+af35-af3b, U+af3e-af40, U+af44-af47, U+af4a-af5c, U+af5e-af63,\n    U+af65-af7f, U+af81-afab;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.60.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ae56-ae5b, U+ae5e-ae60, U+ae62-ae64, U+ae66-ae67, U+ae69-ae6b, U+ae6d-ae83, U+ae85-aebb, U+aebf,\n    U+aec1-aec3, U+aec5-aecb, U+aece, U+aed0, U+aed2-aed7, U+aed9-aef3, U+aef5-af02;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.61.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ad9c-ada3, U+ada5-adbf, U+adc1-adc3, U+adc5-adc7, U+adc9-add2, U+add4-addb, U+addd-addf, U+ade1-ade3,\n    U+ade5-adf7, U+adfa-adfb, U+adfd-adff, U+ae02-ae07, U+ae0a, U+ae0c, U+ae0e-ae13, U+ae15-ae2f, U+ae31-ae33,\n    U+ae35-ae37, U+ae39-ae3f, U+ae42, U+ae44, U+ae46-ae49, U+ae4b, U+ae4f, U+ae51-ae53, U+ae55;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.62.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ace2-ace3, U+ace5-ace6, U+ace9-acef, U+acf2, U+acf4, U+acf7-acfb, U+acfe-acff, U+ad01-ad03,\n    U+ad05-ad0b, U+ad0d-ad10, U+ad12-ad1b, U+ad1d-ad33, U+ad35-ad48, U+ad4a-ad4f, U+ad51-ad6b, U+ad6e-ad6f, U+ad71-ad72,\n    U+ad77-ad7c, U+ad7e, U+ad80, U+ad82-ad87, U+ad89-ad8b, U+ad8d-ad8f, U+ad91-ad9b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.63.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ac25-ac2c, U+ac2e, U+ac30, U+ac32-ac37, U+ac39-ac3f, U+ac41-ac4c, U+ac4e-ac6f, U+ac72-ac73,\n    U+ac75-ac76, U+ac79-ac7f, U+ac82, U+ac84-ac88, U+ac8a-ac8b, U+ac8d-ac8f, U+ac91-ac93, U+ac95-ac9b, U+ac9d-ac9e,\n    U+aca1-aca7, U+acab, U+acad-acaf, U+acb1-acb7, U+acba-acbb, U+acbe-acc0, U+acc2-acc3, U+acc5-acdf;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.64.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+99df, U+99ed, U+99f1, U+99ff, U+9a01, U+9a08, U+9a0e-9a0f, U+9a19, U+9a2b, U+9a30, U+9a36-9a37,\n    U+9a40, U+9a43, U+9a45, U+9a4d, U+9a55, U+9a57, U+9a5a-9a5b, U+9a5f, U+9a62, U+9a65, U+9a69-9a6a, U+9aa8, U+9ab8,\n    U+9ad3, U+9ae5, U+9aee, U+9b1a, U+9b27, U+9b2a, U+9b31, U+9b3c, U+9b41-9b45, U+9b4f, U+9b54, U+9b5a, U+9b6f, U+9b8e,\n    U+9b91, U+9b9f, U+9bab, U+9bae, U+9bc9, U+9bd6, U+9be4, U+9be8, U+9c0d, U+9c10, U+9c12, U+9c15, U+9c25, U+9c32,\n    U+9c3b, U+9c47, U+9c49, U+9c57, U+9ce5, U+9ce7, U+9ce9, U+9cf3-9cf4, U+9cf6, U+9d09, U+9d1b, U+9d26, U+9d28, U+9d3b,\n    U+9d51, U+9d5d, U+9d60-9d61, U+9d6c, U+9d72, U+9da9, U+9daf, U+9db4, U+9dc4, U+9dd7, U+9df2, U+9df8-9dfa, U+9e1a,\n    U+9e1e, U+9e75, U+9e79, U+9e7d, U+9e7f, U+9e92-9e93, U+9e97, U+9e9d, U+9e9f, U+9ea5, U+9eb4-9eb5, U+9ebb, U+9ebe,\n    U+9ec3, U+9ecd-9ece, U+9ed4, U+9ed8, U+9edb-9edc, U+9ede, U+9ee8, U+9ef4, U+9f07-9f08, U+9f0e, U+9f13, U+9f20,\n    U+9f3b, U+9f4a-9f4b, U+9f4e, U+9f52, U+9f5f, U+9f61, U+9f67, U+9f6a, U+9f6c, U+9f77, U+9f8d, U+9f90, U+9f95, U+9f9c,\n    U+ac02-ac03, U+ac05-ac06, U+ac09-ac0f, U+ac17-ac18, U+ac1b, U+ac1e-ac1f, U+ac21-ac23;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.65.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+338c-339c, U+339f-33a0, U+33a2-33cb, U+33cf-33d0, U+33d3, U+33d6, U+33d8, U+33db-33dd, U+4e01, U+4e03,\n    U+4e07-4e08, U+4e11, U+4e14-4e15, U+4e18-4e19, U+4e1e, U+4e32, U+4e38-4e39, U+4e42-4e43, U+4e45, U+4e4d-4e4f, U+4e56,\n    U+4e58-4e59, U+4e5d-4e5e, U+4e6b, U+4e6d, U+4e73, U+4e76-4e77, U+4e7e, U+4e82, U+4e86, U+4e88, U+4e8e, U+4e90-4e92,\n    U+4e94-4e95, U+4e98, U+4e9b, U+4e9e, U+4ea1-4ea2, U+4ea4-4ea6, U+4ea8, U+4eab, U+4ead-4eae, U+4eb6, U+4ec0-4ec1,\n    U+4ec4, U+4ec7, U+4ecb, U+4ecd, U+4ed4-4ed5, U+4ed7-4ed9, U+4edd, U+4edf, U+4ee4, U+4ef0, U+4ef2, U+4ef6-4ef7,\n    U+4efb, U+4f01, U+4f09, U+4f0b, U+4f0d-4f11, U+4f2f, U+4f34, U+4f36, U+4f38, U+4f3a, U+4f3c-4f3d;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.66.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+3136, U+3138, U+313a-3140, U+3143-3144, U+3150, U+3152, U+3154-3156, U+3158-315b, U+315d-315f, U+3162,\n    U+3164-318c, U+318e, U+3200-321b, U+3231, U+3239, U+3251-325a, U+3260-327b, U+327e-327f, U+328a-3290, U+3294, U+329e,\n    U+32a5, U+3380-3384, U+3388-338b;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.67.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2f7d, U+2f7f-2f8b, U+2f8e-2f90, U+2f92-2f97, U+2f99-2fa0, U+2fa2-2fa3, U+2fa5-2fa9, U+2fac-2fb1,\n    U+2fb3-2fbc, U+2fc1-2fca, U+2fcd-2fd4, U+3003, U+3012-3019, U+301c, U+301e-3020, U+3036, U+3041, U+3043, U+3045,\n    U+3047, U+3049, U+304e, U+3050, U+3052, U+3056, U+305a, U+305c, U+305e, U+3062, U+3065, U+306c, U+3070-307d, U+3080,\n    U+3085, U+3087, U+308e, U+3090-3091, U+30a1, U+30a5, U+30a9, U+30ae, U+30b1-30b2, U+30b4, U+30b6, U+30bc-30be,\n    U+30c2, U+30c5, U+30cc, U+30d2, U+30d4, U+30d8-30dd, U+30e4, U+30e6, U+30e8, U+30ee, U+30f0-30f2, U+30f4-30f6,\n    U+3133, U+3135;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.68.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2541-254b, U+25a4-25a9, U+25b1, U+25b5, U+25b9, U+25bf, U+25c1, U+25c3, U+25c9-25ca, U+25cc, U+25ce,\n    U+25d0-25d1, U+25e6, U+25ef, U+260f, U+261d, U+261f, U+262f, U+2660, U+2664, U+2667-2669, U+266d, U+266f, U+2716,\n    U+271a, U+273d, U+2756, U+2776-277f, U+278a-2793, U+2963, U+2965, U+2ac5-2ac6, U+2acb-2acc, U+2f00, U+2f04, U+2f06,\n    U+2f08, U+2f0a-2f0b, U+2f11-2f12, U+2f14, U+2f17-2f18, U+2f1c-2f1d, U+2f1f-2f20, U+2f23-2f26, U+2f28-2f29, U+2f2b,\n    U+2f2d, U+2f2f-2f32, U+2f38, U+2f3c-2f40, U+2f42-2f4c, U+2f4f-2f52, U+2f54-2f58, U+2f5a-2f66, U+2f69-2f70,\n    U+2f72-2f76, U+2f78, U+2f7a-2f7c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.69.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2479-2487, U+249c-24d1, U+24d3-24d7, U+24d9-24e9, U+24eb-24f4, U+2500-2501, U+2503, U+250c-2513,\n    U+2515-2516, U+2518-2540;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.70.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+215b-215e, U+2162-2169, U+2170-2179, U+2195-2199, U+21b0-21b4, U+21bc, U+21c0, U+21c4-21c5, U+21cd,\n    U+21cf-21d4, U+21e0-21e3, U+21e6-21e9, U+2200, U+2202-2203, U+2206-2209, U+220b-220c, U+220f, U+2211, U+2213, U+221a,\n    U+221d-2220, U+2222, U+2225-2227, U+2229-222c, U+222e, U+2234-2237, U+223d, U+2243, U+2245, U+2248, U+2250-2253,\n    U+225a, U+2260-2262, U+2264-2267, U+226a-226b, U+226e-2273, U+2276-2277, U+2279-227b, U+2280-2287, U+228a-228b,\n    U+2295-2297, U+22a3-22a5, U+22bb-22bc, U+22ce-22cf, U+22da-22db, U+22ee-22ef, U+2306, U+2312, U+2314, U+2467-2478;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.71.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+81-82, U+84, U+a2-a5, U+a7-a8, U+aa, U+ac, U+b1-b3, U+b6, U+b8-ba, U+bc-be, U+c0, U+c2, U+c6-cb,\n    U+ce-d0, U+d4, U+d8-d9, U+db-dc, U+de-df, U+e6, U+eb, U+ee-f0, U+f4, U+f7-f9, U+fb, U+fe-ff, U+111, U+126-127,\n    U+132-133, U+138, U+13f-142, U+149-14b, U+152-153, U+166-167, U+2bc, U+2c7, U+2d0, U+2d8-2d9, U+2db-2dd, U+391-394,\n    U+396-3a1, U+3a3-3a9, U+3b2-3b6, U+3b8, U+3bc, U+3be-3c1, U+3c3-3c9, U+2010, U+2015-2016, U+2018-2019, U+201b,\n    U+201f-2021, U+2025, U+2030, U+2033-2036, U+203c, U+203e, U+2042, U+2074, U+207a-207f, U+2081-2084, U+2109, U+2113,\n    U+2116, U+2121, U+2126, U+212b, U+2153-2154;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.72.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+e8, U+2da, U+2160, U+2194, U+3054, U+3058, U+306d, U+3086, U+308d, U+30ac, U+30bb, U+30c4,\n    U+30cd-30ce, U+30e2, U+3132, U+3146, U+3149, U+339d, U+4e3b, U+4f0a, U+4fdd, U+4fe1, U+5409, U+540c, U+5834,\n    U+592a-592b, U+5b9a, U+5dde, U+5e0c, U+5e73, U+5f0f, U+60f3, U+653f, U+661f, U+662f, U+667a, U+683c, U+6b4c, U+6c11,\n    U+767c, U+76ee, U+76f4, U+77f3, U+79d1, U+7a7a, U+7b2c, U+7d22, U+8207, U+8a00, U+8a71, U+9280, U+9580, U+958b,\n    U+96c6, U+9762, U+98df, U+9ed1, U+ac2d, U+adc8, U+add3, U+af48, U+b014, U+b134-b135, U+b158, U+b2aa, U+b35f, U+b6a4,\n    U+b9cf, U+bb63, U+bd23, U+be91, U+c29b, U+c3f4, U+c42c, U+c55c, U+c573, U+c58f, U+c78c, U+c7dd, U+c8f5, U+cad1,\n    U+cc48, U+cf10, U+cf20, U+d03c, U+d07d, U+d2a0, U+d30e, U+d38d, U+d3a8, U+d3c8, U+d5e5, U+d5f9, U+d6e4, U+f90a,\n    U+ff02, U+ff1c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.73.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+3b1, U+2466, U+25a1, U+25a3, U+261c, U+3008-3009, U+305b, U+305d, U+3069, U+30a7, U+30ba, U+30cf,\n    U+30ef, U+3151, U+3157, U+4e4b, U+4e5f, U+4e8c, U+4eca, U+4ed6, U+4f5b, U+50cf, U+5149, U+5165, U+5171, U+5229,\n    U+529b, U+5316, U+539f, U+53f2, U+571f, U+5728, U+58eb, U+591c, U+5b78, U+5c11, U+5c55, U+5ddd, U+5e02, U+5fb7,\n    U+60c5, U+610f, U+611f, U+6625, U+66f8, U+6797, U+679c, U+682a, U+6d2a, U+706b, U+7406, U+767b, U+76f8, U+77e5,\n    U+7acb, U+898b, U+8a69, U+8def, U+8fd1, U+901a, U+90e8, U+91cd, U+975e, U+ae14, U+ae6c, U+aec0, U+afc7, U+afc9,\n    U+b01c, U+b028, U+b308, U+b311, U+b314, U+b31c, U+b524, U+b560, U+b764, U+b920, U+b9e3, U+bd48, U+be7d, U+c0db,\n    U+c231, U+c270, U+c2e3, U+c37d, U+c3ed, U+c530, U+c6a5, U+c6dc, U+c7a4, U+c954, U+c974, U+d000, U+d565, U+d667,\n    U+d6c5, U+d79d, U+ff1e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.74.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+131, U+2032, U+2465, U+2642, U+3048, U+3051, U+3083-3084, U+308f, U+30c0, U+30d1, U+30d3, U+30d6,\n    U+30df, U+30e7, U+3153, U+4e16, U+4e8b, U+4ee5, U+5206, U+52a0, U+52d5, U+53e4, U+53ef, U+54c1, U+57ce, U+597d,\n    U+5b8c, U+5ea6, U+5f8c, U+5f97, U+6210, U+6240, U+624b, U+6728, U+6bd4, U+7236, U+7269, U+7279, U+738b, U+7528,\n    U+7530, U+767e, U+798f, U+8005, U+8a18, U+90fd, U+91cc, U+9577, U+9593, U+98a8, U+ac20, U+acf6, U+ad90, U+af5d,\n    U+af80, U+afcd, U+aff0, U+b0a1, U+b0b5, U+b1fd, U+b2fc, U+b380, U+b51b, U+b584, U+b5b3, U+b8fd, U+b93c, U+b9f4,\n    U+bb44, U+bc08, U+bc27, U+bc49, U+be55, U+be64, U+bfb0, U+bfc5, U+c178, U+c21f, U+c314, U+c4f1, U+c58d, U+c664,\n    U+c698, U+c6a7, U+c6c1, U+c9ed, U+cac0, U+cacc, U+cad9, U+ccb5, U+cdcc, U+d0e4, U+d143, U+d320, U+d330, U+d54d,\n    U+ff06, U+ff1f, U+ff5e;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.75.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b4, U+20a9, U+20ac, U+2190, U+24d8, U+2502, U+2514, U+2592, U+25c7-25c8, U+2663, U+3060, U+3064,\n    U+3081, U+3088, U+30a3, U+30a6, U+30aa, U+30b5, U+30c7, U+30ca-30cb, U+30d0, U+30e3, U+30e5, U+339e, U+4e09, U+4eac,\n    U+4f5c, U+5167-5168, U+516c, U+51fa, U+5408, U+540d, U+591a, U+5b57, U+6211, U+65b9, U+660e, U+6642, U+6700, U+6b63,\n    U+6e2f, U+7063, U+7532, U+793e, U+81ea, U+8272, U+82b1, U+897f, U+8eca, U+91ce, U+ac38, U+ad76, U+ae84, U+aecc,\n    U+b07d, U+b0b1, U+b215, U+b2a0, U+b310, U+b3d7, U+b52a, U+b618, U+b775, U+b797, U+bcd5, U+bd59, U+be80, U+bea8,\n    U+bed1, U+bee4-bee5, U+c060, U+c2ef, U+c329, U+c3dc, U+c597, U+c5bd, U+c5e5, U+c69c, U+c9d6, U+ca29, U+ca5c, U+ca84,\n    U+cc39, U+cc3b, U+ce89, U+cee5, U+cf65, U+cf85, U+d058, U+d145, U+d22d, U+d325, U+d37d, U+d3ad, U+d769, U+ff0c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.76.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2161, U+2228, U+2299, U+2464, U+2517, U+2640, U+3042, U+304a, U+3053, U+3061, U+307f, U+3082, U+308c,\n    U+3092, U+30a8, U+30ab, U+30ad, U+30b0, U+30b3, U+30b7, U+30c1, U+30c6, U+30c9, U+30d5, U+30d7, U+30de, U+30e0-30e1,\n    U+30ec-30ed, U+4e0b, U+4e0d, U+4ee3, U+53f0, U+548c, U+5b89, U+5bb6, U+5c0f, U+611b, U+6771, U+6aa2, U+6bcd, U+6c34,\n    U+6cd5, U+6d77, U+767d, U+795e, U+8ecd, U+9999, U+9ad8, U+ac07, U+ac1a, U+ac40, U+ad0c, U+ad88, U+ada4, U+ae01,\n    U+ae65, U+aebd, U+aec4, U+afe8, U+b139, U+b205, U+b383, U+b38c, U+b42c, U+b461, U+b55c, U+b78f, U+b8fb, U+b9f7,\n    U+bafc, U+bc99, U+bed8, U+bfcd, U+c0bf, U+c0f9, U+c167, U+c204, U+c20f, U+c22f, U+c258, U+c298, U+c2bc, U+c388,\n    U+c501, U+c50c, U+c5b9, U+c5ce, U+c641, U+c648, U+c73d, U+ca50, U+ca61, U+cc4c, U+ceac, U+d0d4, U+d5f7, U+d6d7,\n    U+ff1a;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.77.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2103, U+2463, U+25c6, U+25cb, U+266c, U+3001, U+300a, U+3046, U+304c-304d, U+304f, U+3055, U+3059,\n    U+3063, U+3066-3068, U+306f, U+3089, U+30b8, U+30bf, U+314f, U+4e0a, U+570b, U+5730, U+5916, U+5929, U+5c71, U+5e74,\n    U+5fc3, U+601d, U+6027, U+63d0, U+6709, U+6734, U+751f, U+7684, U+82f1, U+9053, U+91d1, U+97f3, U+ac2f, U+ac4d,\n    U+adc4, U+ade4, U+ae41, U+ae4d-ae4e, U+aed1, U+afb9, U+b0e0, U+b299, U+b365, U+b46c, U+b480, U+b4c8, U+b7b4, U+b819,\n    U+b918, U+baab, U+bab9, U+be8f, U+bed7, U+c0ec, U+c19f, U+c1a5, U+c3d9, U+c464, U+c53d, U+c553, U+c570, U+c5cc,\n    U+c633, U+c6a4, U+c7a3, U+c7a6, U+c886, U+c9d9-c9da, U+c9ec, U+ca0c, U+cc21, U+cd1b, U+cd78, U+cdc4, U+cef8, U+cfe4,\n    U+d0a5, U+d0b5, U+d0ec, U+d15d, U+d188, U+d23c, U+d2ac, U+d729, U+d79b, U+ff01, U+ff08-ff09, U+ff5c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.78.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2039-203a, U+223c, U+25b3, U+25b7, U+25bd, U+25cf, U+266a, U+3002, U+300b, U+304b, U+3057, U+305f,\n    U+306a-306b, U+307e, U+308a-308b, U+3093, U+30a2, U+30af, U+30b9, U+30c3, U+30c8, U+30e9-30eb, U+33a1, U+4e00,\n    U+524d, U+5357, U+5b50, U+7121, U+884c, U+9751, U+ac94, U+aebe, U+aecd, U+af08, U+af41, U+af49, U+b010, U+b053,\n    U+b109, U+b11b, U+b128, U+b154, U+b291, U+b2e6, U+b301, U+b385, U+b525, U+b5b4, U+b729, U+b72f, U+b738, U+b7ff,\n    U+b837, U+b975, U+ba67, U+bb47, U+bc1f, U+bd90, U+bfd4, U+c27c, U+c324, U+c379, U+c3e0, U+c465, U+c53b, U+c58c,\n    U+c610, U+c653, U+c6cd, U+c813, U+c82f, U+c999, U+c9e0, U+cac4, U+cad3, U+cbd4, U+cc10, U+cc22, U+ccb8, U+ccbc,\n    U+cda5, U+ce84, U+cea3, U+cf67, U+cfe1, U+d241, U+d30d, U+d31c, U+d391, U+d401, U+d479, U+d5c9, U+d5db, U+d649,\n    U+d6d4;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.79.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+b0, U+e9, U+2193, U+2462, U+260e, U+261e, U+300e-300f, U+3044, U+30a4, U+30fb-30fc, U+314d, U+5973,\n    U+6545, U+6708, U+7537, U+ac89, U+ac9c, U+acc1, U+ad04, U+ad75, U+ad7d, U+ae45, U+ae61, U+af42, U+b0ab, U+b0af,\n    U+b0b3, U+b12c, U+b194, U+b1a8, U+b220, U+b258, U+b284, U+b2ff, U+b315, U+b371, U+b3d4-b3d5, U+b460, U+b527, U+b534,\n    U+b810, U+b818, U+b98e, U+ba55, U+bbac, U+bc0b, U+bc40, U+bca1, U+bccd, U+bd93, U+be54, U+be5a, U+bf08, U+bf50,\n    U+bf55, U+bfdc, U+c0c0, U+c0d0, U+c0f4, U+c100, U+c11e, U+c170, U+c20d, U+c274, U+c290, U+c308, U+c369, U+c539,\n    U+c587, U+c5ff, U+c6ec, U+c70c, U+c7ad, U+c7c8, U+c83c, U+c881, U+cb48, U+cc60, U+ce69, U+ce6b, U+ce75, U+cf04,\n    U+cf08, U+cf55, U+cf70, U+cffc, U+d0b7, U+d1a8, U+d2c8, U+d384, U+d47c, U+d48b, U+d5dd, U+d5e8, U+d720, U+d759,\n    U+f981;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.80.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+e0, U+e2, U+395, U+3b7, U+3ba, U+2460-2461, U+25a0, U+3010-3011, U+306e, U+30f3, U+314a, U+314c,\n    U+5927, U+65b0, U+7e41, U+97d3, U+9ad4, U+ad49, U+ae0b, U+ae0d, U+ae43, U+ae5d, U+aecf, U+af3c, U+af64, U+afd4,\n    U+b080, U+b084, U+b0c5, U+b10c, U+b1e8, U+b2ac, U+b36e, U+b451, U+b515, U+b540, U+b561, U+b6ab, U+b6b1, U+b72c,\n    U+b730, U+b744, U+b800, U+b8ec, U+b8f0, U+b904, U+b968, U+b96d, U+b987, U+b9d9, U+bb36, U+bb49, U+bc2d, U+bc43,\n    U+bcf6, U+bd89, U+be57, U+be61, U+bed4, U+c090, U+c130, U+c148, U+c19c, U+c2f9, U+c36c, U+c37c, U+c384, U+c3df,\n    U+c575, U+c584, U+c660, U+c719, U+c816, U+ca4d, U+ca54, U+cabc, U+cb49, U+cc14, U+cff5, U+d004, U+d038, U+d0b4,\n    U+d0d3, U+d0e0, U+d0ed, U+d131, U+d1b0, U+d31f, U+d33d, U+d3a0, U+d3ab, U+d514, U+d584, U+d6a1, U+d6cc, U+d749,\n    U+d760, U+d799;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.81.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+24, U+60, U+3b9, U+3bb, U+3bd, U+2191, U+2606, U+300c-300d, U+3131, U+3134, U+3139, U+3141-3142,\n    U+3148, U+3161, U+3163, U+321c, U+4eba, U+5317, U+ac31, U+ac77, U+ac9f, U+acb9, U+acf0-acf1, U+acfd, U+ad73, U+af3d,\n    U+b00c, U+b04a, U+b057, U+b0c4, U+b188, U+b1cc, U+b214, U+b2db, U+b2ee, U+b304, U+b4ed, U+b518, U+b5bc, U+b625,\n    U+b69c-b69d, U+b7ac, U+b801, U+b86c, U+b959, U+b95c, U+b985, U+ba48, U+bb58, U+bc0c, U+bc38, U+bc85, U+bc9a, U+bf40,\n    U+c068, U+c0bd, U+c0cc, U+c12f, U+c149, U+c1e0, U+c22b, U+c22d, U+c250, U+c2fc, U+c300, U+c313, U+c370, U+c3d8,\n    U+c557, U+c580, U+c5e3, U+c62e, U+c634, U+c6f0, U+c74d, U+c783, U+c78e, U+c796, U+c7bc, U+c92c, U+ca4c, U+cc1c,\n    U+cc54, U+cc59, U+ce04, U+cf30, U+cfc4, U+d140, U+d321, U+d38c, U+d399, U+d54f, U+d587, U+d5d0, U+d6e8, U+d770;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.82.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d7, U+ea, U+fc, U+2192, U+25bc, U+3000, U+3137, U+3145, U+315c, U+7f8e, U+ac13, U+ac71, U+ac90,\n    U+acb8, U+ace7, U+ad7f, U+ae50, U+aef4, U+af34, U+afbc, U+b048, U+b09a, U+b0ad, U+b0bc, U+b113, U+b125, U+b141,\n    U+b20c, U+b2d9, U+b2ed, U+b367, U+b369, U+b374, U+b3cb, U+b4ec, U+b611, U+b760, U+b81b, U+b834, U+b8b0, U+b8e1,\n    U+b989, U+b9d1, U+b9e1, U+b9fa, U+ba4d, U+ba78, U+bb35, U+bb54, U+bbf9, U+bc11, U+bcb3, U+bd05, U+bd95, U+bdd4,\n    U+be10, U+bed0, U+bf51, U+c0d8, U+c232, U+c2b7, U+c2eb, U+c378, U+c500, U+c52c, U+c549, U+c568, U+c598, U+c5c9,\n    U+c61b, U+c639, U+c67c, U+c717, U+c78a, U+c80a, U+c90c-c90d, U+c950, U+c9e7, U+cbe4, U+cca9, U+cce4, U+cdb0, U+ce78,\n    U+ce94, U+ce98, U+cf8c, U+d018, U+d034, U+d0f1, U+d1b1, U+d280, U+d2f8, U+d338, U+d380, U+d3b4, U+d610, U+d69f,\n    U+d6fc, U+d758;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.83.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+e7, U+2022, U+203b, U+25c0, U+2605, U+2661, U+3147, U+318d, U+672c, U+8a9e, U+acaa, U+acbc, U+ad1c,\n    U+ae4a, U+ae5c, U+b044, U+b054, U+b0c8-b0c9, U+b2a6, U+b2d0, U+b35c, U+b364, U+b428, U+b454, U+b465, U+b4b7, U+b4e3,\n    U+b51c, U+b5a1, U+b784, U+b790, U+b7ab, U+b7f4, U+b82c, U+b835, U+b8e9, U+b8f8, U+b9d8, U+b9f9, U+ba5c, U+ba64,\n    U+babd, U+bb18, U+bb3b, U+bbff, U+bc0d, U+bc45, U+bc97, U+bcbc, U+be45, U+be75, U+be7c, U+bfcc, U+c0b6, U+c0f7,\n    U+c14b, U+c2b4, U+c30d, U+c4f8, U+c5bb, U+c5d1, U+c5e0, U+c5ee, U+c5fd, U+c606, U+c6c5, U+c6e0, U+c708, U+c81d,\n    U+c820, U+c824, U+c878, U+c918, U+c96c, U+c9e4, U+c9f1, U+cc2e, U+cd09, U+cea1, U+cef5, U+cef7, U+cf64, U+cf69,\n    U+cfe8, U+d035, U+d0ac, U+d230, U+d234, U+d2f4, U+d31d, U+d575, U+d578, U+d608, U+d614, U+d718, U+d751, U+d761,\n    U+d78c, U+d790;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.84.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+2665, U+3160, U+4e2d, U+6587, U+65e5, U+ac12, U+ac14, U+ac16, U+ac81, U+ad34, U+ade0, U+ae54, U+aebc,\n    U+af2c, U+afc0, U+afc8, U+b04c, U+b08c, U+b099, U+b0a9, U+b0ac, U+b0ae, U+b0b8, U+b123, U+b179, U+b2e5, U+b2f7,\n    U+b4c0, U+b531, U+b538, U+b545, U+b550, U+b5a8, U+b6f0, U+b728, U+b73b, U+b7ad, U+b7ed, U+b809, U+b864, U+b86d,\n    U+b871, U+b9bf, U+b9f5, U+ba40, U+ba4b, U+ba58, U+ba87, U+baac, U+bbc0, U+bc16, U+bc34, U+bd07, U+bd99, U+be59,\n    U+bfd0, U+c058, U+c0e4, U+c0f5, U+c12d, U+c139, U+c228, U+c529, U+c5c7, U+c635, U+c637, U+c735, U+c77d, U+c787,\n    U+c789, U+c8c4, U+c989, U+c98c, U+c9d0, U+c9d3, U+cc0c, U+cc99, U+cd0c, U+cd2c, U+cd98, U+cda4, U+ce59, U+ce60,\n    U+ce6d, U+cea0, U+d0d0-d0d1, U+d0d5, U+d14d, U+d1a4, U+d29c, U+d2f1, U+d301, U+d39c, U+d3bc, U+d4e8, U+d540, U+d5ec,\n    U+d640, U+d750;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.85.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+5e, U+25b2, U+25b6, U+314e, U+ac24, U+ace1, U+ace4, U+ae68, U+af2d, U+b0d0, U+b0e5, U+b150, U+b155,\n    U+b193, U+b2c9, U+b2dd, U+b3c8, U+b3fc, U+b410, U+b458, U+b4dd, U+b5a0, U+b5a4, U+b5bb, U+b7b5, U+b838, U+b840,\n    U+b86f, U+b8f9, U+b960, U+b9e5, U+bab8, U+bb50, U+bc1d, U+bc24-bc25, U+bca8, U+bcbd, U+bd04, U+bd10, U+bd24, U+be48,\n    U+be5b, U+be68, U+c05c, U+c12c, U+c140, U+c15c, U+c168, U+c194, U+c219, U+c27d, U+c2a8, U+c2f1, U+c2f8, U+c368,\n    U+c554-c555, U+c559, U+c564, U+c5d8, U+c5fc, U+c625, U+c65c, U+c6b1, U+c728, U+c794, U+c84c, U+c88c, U+c8e0, U+c8fd,\n    U+c998, U+c9dd, U+cc0d, U+cc30, U+ceec, U+cf13, U+cf1c, U+cf5c, U+d050, U+d07c, U+d0a8, U+d134, U+d138, U+d154,\n    U+d1f4, U+d2bc, U+d329, U+d32c, U+d3d0, U+d3f4, U+d3fc, U+d56b, U+d5cc, U+d600-d601, U+d639, U+d6c8, U+d754, U+d765;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.86.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+3c-3d, U+2026, U+24d2, U+314b, U+ac11, U+acf3, U+ad74, U+ad81, U+adf9, U+ae34, U+af43, U+afb8, U+b05d,\n    U+b07c, U+b110, U+b118, U+b17c, U+b180, U+b18d, U+b192, U+b2cc, U+b355, U+b378, U+b4a4, U+b4ef, U+b78d, U+b799,\n    U+b7a9, U+b7fd, U+b807, U+b80c, U+b839, U+b9b4, U+b9db, U+ba3c, U+bab0, U+bba4, U+bc94, U+be4c, U+c154, U+c1c4,\n    U+c26c, U+c2ac, U+c2ed, U+c4f4, U+c55e, U+c561, U+c571, U+c5b5, U+c5c4, U+c654-c655, U+c695, U+c6e8, U+c6f9, U+c724,\n    U+c751, U+c775, U+c7a0, U+c7c1, U+c874, U+c880, U+c9d5, U+c9f8, U+cabd, U+cc29, U+cc2c, U+cca8, U+ccab, U+ccd0,\n    U+ce21, U+ce35, U+ce7c, U+ce90, U+cee8, U+cef4, U+cfe0, U+d070, U+d0b9, U+d0c1, U+d0c4, U+d0c8, U+d15c, U+d1a1,\n    U+d2c0, U+d300, U+d314, U+d3ed, U+d478, U+d480, U+d48d, U+d508, U+d53d, U+d5e4, U+d611, U+d61c, U+d68d, U+d6a8,\n    U+d798;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.87.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+23, U+25, U+5f, U+a9, U+ac08, U+ac78, U+aca8, U+acac, U+ace8, U+ad70, U+adc0, U+addc, U+b137, U+b140,\n    U+b208, U+b290, U+b2f5, U+b3c5, U+b3cc, U+b420, U+b429, U+b529, U+b530, U+b77d, U+b79c, U+b7a8, U+b7c9, U+b7f0,\n    U+b7fc, U+b828, U+b860, U+b9ad, U+b9c1, U+b9c9, U+b9dd-b9de, U+b9e8, U+ba38-ba39, U+babb, U+bc00, U+bc8c, U+bca0,\n    U+bca4, U+bcd1, U+bcfc, U+bd09, U+bdf0, U+be60, U+c0ad, U+c0b4, U+c0bc, U+c190, U+c1fc, U+c220, U+c288, U+c2b9,\n    U+c2f6, U+c528, U+c545, U+c558, U+c5bc, U+c5d4, U+c600, U+c644, U+c6c0, U+c6c3, U+c721, U+c798, U+c7a1, U+c811,\n    U+c838, U+c871, U+c904, U+c990, U+c9dc, U+cc38, U+cc44, U+cca0, U+cd1d, U+cd95, U+cda9, U+ce5c, U+cf00, U+cf58,\n    U+d150, U+d22c, U+d305, U+d328, U+d37c, U+d3f0, U+d551, U+d5a5, U+d5c8, U+d5d8, U+d63c, U+d64d, U+d669, U+d734,\n    U+d76c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.88.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+26, U+2b, U+3e, U+40, U+7e, U+ac01, U+ac19, U+ac1d, U+aca0, U+aca9, U+acb0, U+ad8c, U+ae09, U+ae38,\n    U+ae40, U+aed8, U+b09c, U+b0a0, U+b108, U+b204, U+b298, U+b2d8, U+b2eb-b2ec, U+b2f4, U+b313, U+b358, U+b450, U+b4e0,\n    U+b54c, U+b610, U+b780, U+b78c, U+b791, U+b8e8, U+b958, U+b974, U+b984, U+b9b0, U+b9bc-b9bd, U+b9ce, U+ba70, U+bbfc,\n    U+bc0f, U+bc15, U+bc1b, U+bc31, U+bc95, U+bcc0, U+bcc4, U+bd81, U+bd88, U+c0c8, U+c11d, U+c13c, U+c158, U+c18d,\n    U+c1a1, U+c21c, U+c4f0, U+c54a, U+c560, U+c5b8, U+c5c8, U+c5f4, U+c628, U+c62c, U+c678, U+c6cc, U+c808, U+c810,\n    U+c885, U+c88b, U+c900, U+c988, U+c99d, U+c9c8, U+cc3d-cc3e, U+cc45, U+cd08, U+ce20, U+cee4, U+d074, U+d0a4, U+d0dd,\n    U+d2b9, U+d3b8, U+d3c9, U+d488, U+d544, U+d559, U+d56d, U+d588, U+d615, U+d648, U+d655, U+d658, U+d65c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.89.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+d, U+7c, U+ac10, U+ac15, U+ac74, U+ac80, U+ac83, U+acc4, U+ad11, U+ad50, U+ad6d, U+adfc, U+ae00,\n    U+ae08, U+ae4c, U+b0a8, U+b124, U+b144, U+b178, U+b274, U+b2a5, U+b2e8, U+b2f9, U+b354, U+b370, U+b418, U+b41c,\n    U+b4f1, U+b514, U+b798, U+b808, U+b824-b825, U+b8cc, U+b978, U+b9d0, U+b9e4, U+baa9, U+bb3c, U+bc18, U+bc1c, U+bc30,\n    U+bc84, U+bcf5, U+bcf8, U+bd84, U+be0c, U+be14, U+c0b0, U+c0c9, U+c0dd, U+c124, U+c2dd, U+c2e4, U+c2ec, U+c54c,\n    U+c57c-c57d, U+c591, U+c5c5-c5c6, U+c5ed, U+c608, U+c640, U+c6b8, U+c6d4, U+c784, U+c7ac, U+c800-c801, U+c9c1,\n    U+c9d1, U+cc28, U+cc98, U+cc9c, U+ccad, U+cd5c, U+cd94, U+cd9c, U+cde8, U+ce68, U+cf54, U+d0dc, U+d14c, U+d1a0,\n    U+d1b5, U+d2f0, U+d30c, U+d310, U+d398, U+d45c, U+d50c, U+d53c, U+d560, U+d568, U+d589, U+d604, U+d6c4, U+d788;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.90.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+ac04, U+ac1c, U+ac70, U+ac8c, U+acbd, U+acf5, U+acfc, U+ad00, U+ad6c, U+adf8, U+b098, U+b0b4, U+b294,\n    U+b2c8, U+b300, U+b3c4, U+b3d9, U+b4dc, U+b4e4, U+b77c, U+b7ec, U+b85d, U+b97c, U+b9c8, U+b9cc, U+ba54, U+ba74,\n    U+ba85, U+baa8, U+bb34, U+bb38, U+bbf8, U+bc14, U+bc29, U+bc88, U+bcf4, U+bd80, U+be44, U+c0c1, U+c11c, U+c120,\n    U+c131, U+c138, U+c18c, U+c218, U+c2b5, U+c2e0, U+c544, U+c548, U+c5b4, U+c5d0, U+c5ec, U+c5f0, U+c601, U+c624,\n    U+c694, U+c6a9, U+c6b0, U+c6b4, U+c6d0, U+c704, U+c720, U+c73c, U+c740, U+c744, U+c74c, U+c758, U+c77c, U+c785,\n    U+c788, U+c790-c791, U+c7a5, U+c804, U+c815, U+c81c, U+c870, U+c8fc, U+c911, U+c9c4, U+ccb4, U+ce58, U+ce74, U+d06c,\n    U+d0c0, U+d130, U+d2b8, U+d3ec, U+d504, U+d55c, U+d569, U+d574, U+d638, U+d654, U+d68c;\n}\n\n@font-face {\n  font-family: 'Pretendard Variable';\n\n  font-style: normal;\n\n  font-display: swap;\n\n  font-weight: 45 920;\n\n  src: url(//d13fzx7h5ezopb.cloudfront.net/fonts/pretendard/PretendardVariable.subset.91.woff2)\n    format('woff2-variations');\n\n  unicode-range: U+20-22, U+27-2a, U+2c-39, U+3a-3b, U+3f, U+41-4e, U+4f-5d, U+61-7b, U+7d, U+a0-a1, U+ab, U+ad-ae, U+b7,\n    U+bb, U+bf, U+2013-2014, U+201c-201d, U+2122, U+ac00, U+ace0, U+ae30, U+b2e4, U+b85c, U+b9ac, U+c0ac, U+c2a4, U+c2dc,\n    U+c774, U+c778, U+c9c0, U+d558;\n}\n\n.after\\\\:text-accent::after {\n  content: var(--tw-content);\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.after\\\\:content-\\\\[\\\\'\\\\*\\\\'\\\\]::after {\n  --tw-content: '*';\n  content: var(--tw-content);\n}\n\n.first\\\\:mr-2:first-child {\n  margin-right: 0.125rem;\n}\n\n.first\\\\:mr-4:first-child {\n  margin-right: 0.250rem;\n}\n\n.last\\\\:ml-2:last-child {\n  margin-left: 0.125rem;\n}\n\n.visited\\\\:bg-on-white:visited {\n  background-color: rgb(255 255 255 );\n}\n\n.focus-within\\\\:border-line-selected:focus-within {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.hover\\\\:border-4:hover {\n  border-width: 4px;\n}\n\n.hover\\\\:border-6:hover {\n  border-width: 6px;\n}\n\n.hover\\\\:border-line-disabled:hover {\n  border-color: #5d5d5d14;\n}\n\n.hover\\\\:border-line-hover:hover {\n  border-color: #5d5d5d3d;\n}\n\n.hover\\\\:bg-disabled:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.hover\\\\:bg-primary-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1));\n}\n\n.hover\\\\:bg-silent-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.hover\\\\:text-disabled:hover {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.hover\\\\:text-on-white-hover:hover {\n  color: #FFFFFFe6;\n}\n\n.hover\\\\:text-primary-hover:hover {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.hover\\\\:text-secondary-hover:hover {\n  --tw-text-opacity: 1;\n  color: rgb(93 93 93 / var(--tw-text-opacity, 1));\n}\n\n.hover\\\\:text-tertiary-hover:hover {\n  color: rgba(93, 93, 93, 0.8);\n}\n\n.focus\\\\:bg-disabled:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-negative:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(204 20 20 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-on-white:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-primary:focus {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.focus\\\\:bg-transparent:focus {\n  background-color: transparent;\n}\n\n.focus\\\\:text-disabled:focus {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.focus\\\\:text-on-color:focus {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.focus\\\\:text-primary-hover:focus {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.focus-visible\\\\:rounded-4:focus-visible {\n  border-radius: 4px;\n}\n\n.focus-visible\\\\:rounded-full:focus-visible {\n  border-radius: 9999px;\n}\n\n.focus-visible\\\\:border:focus-visible {\n  border-width: 1px;\n}\n\n.focus-visible\\\\:border-solid:focus-visible {\n  border-style: solid;\n}\n\n.focus-visible\\\\:border-interactive:focus-visible {\n  --tw-border-opacity: 1;\n  border-color: rgb(55 95 255 / var(--tw-border-opacity, 1));\n}\n\n.focus-visible\\\\:border-line-selected:focus-visible {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.focus-visible\\\\:outline-none:focus-visible {\n  outline: 2px solid transparent;\n  outline-offset: 2px;\n}\n\n.focus-visible\\\\:outline:focus-visible {\n  outline-style: solid;\n}\n\n.focus-visible\\\\:outline-1:focus-visible {\n  outline-width: 1px;\n}\n\n.focus-visible\\\\:outline-2:focus-visible {\n  outline-width: 2px;\n}\n\n.focus-visible\\\\:-outline-offset-2:focus-visible {\n  outline-offset: -2px;\n}\n\n.focus-visible\\\\:outline-offset-0:focus-visible {\n  outline-offset: 0px;\n}\n\n.focus-visible\\\\:outline-offset-1:focus-visible {\n  outline-offset: 1px;\n}\n\n.focus-visible\\\\:outline-offset-2:focus-visible {\n  outline-offset: 2px;\n}\n\n.focus-visible\\\\:outline-offset-4:focus-visible {\n  outline-offset: 4px;\n}\n\n.focus-visible\\\\:outline-offset-8:focus-visible {\n  outline-offset: 8px;\n}\n\n.focus-visible\\\\:outline-interactive:focus-visible {\n  outline-color: #375fff;\n}\n\n.focus-visible\\\\:outline-line-selected:focus-visible {\n  outline-color: #000000;\n}\n\n.focus-visible\\\\:outline-negative:focus-visible {\n  outline-color: #CC1414;\n}\n\n.active\\\\:bg-silent-pressed:active {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.active\\\\:text-disabled:active {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.active\\\\:text-on-white-pressed:active {\n  color: #FFFFFFe6;\n}\n\n.active\\\\:text-primary-pressed:active {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.active\\\\:text-secondary-pressed:active {\n  --tw-text-opacity: 1;\n  color: rgb(93 93 93 / var(--tw-text-opacity, 1));\n}\n\n.disabled\\\\:pointer-events-none:disabled {\n  pointer-events: none;\n}\n\n.disabled\\\\:cursor-not-allowed:disabled {\n  cursor: not-allowed;\n}\n\n.disabled\\\\:text-disabled:disabled {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.group:hover .group-hover\\\\:text-tertiary-hover {\n  color: rgba(93, 93, 93, 0.8);\n}\n\n.group:active .group-active\\\\:h-\\\\[22px\\\\] {\n  height: 22px;\n}\n\n.group:active .group-active\\\\:min-h-\\\\[22px\\\\] {\n  min-height: 22px;\n}\n\n.group:active .group-active\\\\:w-\\\\[22px\\\\] {\n  width: 22px;\n}\n\n.group:active .group-active\\\\:min-w-\\\\[22px\\\\] {\n  min-width: 22px;\n}\n\n.group:active .group-active\\\\:text-tertiary-pressed {\n  color: rgba(93, 93, 93, 0.8);\n}\n\n.peer:checked ~ .peer-checked\\\\:border-line-disabled {\n  border-color: #5d5d5d14;\n}\n\n.peer:checked ~ .peer-checked\\\\:border-on-black {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:border-on-black-hover {\n  border-color: #000000e6;\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-interactive {\n  --tw-bg-opacity: 1;\n  background-color: rgb(55 95 255 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-on-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-on-black-hover {\n  background-color: #000000e6;\n}\n\n.peer:checked ~ .peer-checked\\\\:bg-silent {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked ~ .peer-checked\\\\:hover\\\\:bg-silent-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:border-line-disabled {\n  border-color: #5d5d5d14;\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:border-on-black {\n  --tw-border-opacity: 1;\n  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:border-on-black-hover {\n  border-color: #000000e6;\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:bg-on-black {\n  --tw-bg-opacity: 1;\n  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:bg-on-black-hover {\n  background-color: #000000e6;\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:bg-silent {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.peer:indeterminate ~ .peer-indeterminate\\\\:hover\\\\:bg-silent-hover:hover {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.peer:focus ~ .peer-focus\\\\:outline-none {\n  outline: 2px solid transparent;\n  outline-offset: 2px;\n}\n\n.peer:disabled ~ .peer-disabled\\\\:cursor-not-allowed {\n  cursor: not-allowed;\n}\n\n.peer:disabled ~ .peer-disabled\\\\:bg-disabled {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.peer:checked:disabled ~ .peer-checked\\\\:peer-disabled\\\\:bg-disabled {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-disabled[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-negative-pressed[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(217 65 65 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-on-white[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-primary-pressed[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-silent-pressed[data-pressed=\"true\"] {\n  --tw-bg-opacity: 1;\n  background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:bg-transparent[data-pressed=\"true\"] {\n  background-color: transparent;\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:text-disabled[data-pressed=\"true\"] {\n  color: rgba(93, 93, 93, 0.4);\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:text-on-color[data-pressed=\"true\"] {\n  --tw-text-opacity: 1;\n  color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\\\[pressed\\\\=true\\\\]\\\\:text-primary-pressed[data-pressed=\"true\"] {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.data-\\\\[state\\\\=open\\\\]\\\\:text-green-300[data-state=\"open\"] {\n  --tw-text-opacity: 1;\n  color: rgb(129 220 113 / var(--tw-text-opacity, 1));\n}\n\n@media (pointer: coarse) {\n  .touchable\\\\:bg-green-500 {\n    --tw-bg-opacity: 1;\n    background-color: rgb(18 186 35 / var(--tw-bg-opacity, 1));\n  }\n}\n\n@media ((min-width: 1025px) and (pointer: fine)) or (min-width: 1280px) {\n  .desktop\\\\:sr-only {\n    position: absolute;\n    width: 1px;\n    height: 1px;\n    padding: 0;\n    margin: -1px;\n    overflow: hidden;\n    clip: rect(0, 0, 0, 0);\n    white-space: nowrap;\n    border-width: 0;\n  }\n\n  .desktop\\\\:not-sr-only {\n    position: static;\n    width: auto;\n    height: auto;\n    padding: 0;\n    margin: 0;\n    overflow: visible;\n    clip: auto;\n    white-space: normal;\n  }\n\n  .desktop\\\\:static {\n    position: static;\n  }\n\n  .desktop\\\\:grid-cols-2 {\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-4 {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-5 {\n    grid-template-columns: repeat(5, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-6 {\n    grid-template-columns: repeat(6, minmax(0, 1fr));\n  }\n\n  .desktop\\\\:grid-cols-8 {\n    grid-template-columns: repeat(8, minmax(0, 1fr));\n  }\n}\n\n@media (min-width: 390px) {\n  .min-\\\\[390px\\\\]\\\\:grid-cols-3 {\n    grid-template-columns: repeat(3, minmax(0, 1fr));\n  }\n}\n\n@media (min-width: 541px) {\n  .md\\\\:grid-cols-4 {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n  }\n}\n\n@media (min-width: 1025px) {\n  .lg\\\\:max-w-1280 {\n    max-width: 80rem;\n  }\n\n  .lg\\\\:grid-cols-4 {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n  }\n\n  .lg\\\\:grid-cols-5 {\n    grid-template-columns: repeat(5, minmax(0, 1fr));\n  }\n\n  @media (pointer: coarse) {\n    .lg\\\\:touchable\\\\:max-w-700 {\n      max-width: 43.750rem;\n    }\n\n    .lg\\\\:touchable\\\\:grid-cols-3 {\n      grid-template-columns: repeat(3, minmax(0, 1fr));\n    }\n  }\n}\n\n@media (min-width: 1280px) {\n  .xl\\\\:max-w-1280 {\n    max-width: 80rem;\n  }\n\n  .xl\\\\:grid-cols-5 {\n    grid-template-columns: repeat(5, minmax(0, 1fr));\n  }\n\n  .xl\\\\:grid-cols-6 {\n    grid-template-columns: repeat(6, minmax(0, 1fr));\n  }\n\n  .xl\\\\:grid-cols-8 {\n    grid-template-columns: repeat(8, minmax(0, 1fr));\n  }\n\n  .xl\\\\:px-50 {\n    padding-left: 3.125rem;\n    padding-right: 3.125rem;\n  }\n}\n\n@media (min-width: 2560px) {\n  .xxl\\\\:max-w-2560 {\n    max-width: 160rem;\n  }\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.postfix-icon\\\\)\\\\]\\\\:pr-12:has(.postfix-icon) {\n  padding-right: 0.750rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.postfix-icon\\\\)\\\\]\\\\:pr-16:has(.postfix-icon) {\n  padding-right: 1rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.postfix-icon\\\\)\\\\]\\\\:pr-8:has(.postfix-icon) {\n  padding-right: 0.500rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.prefix-icon\\\\)\\\\]\\\\:pl-12:has(.prefix-icon) {\n  padding-left: 0.750rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.prefix-icon\\\\)\\\\]\\\\:pl-16:has(.prefix-icon) {\n  padding-left: 1rem;\n}\n\n.\\\\[\\\\&\\\\:has\\\\(\\\\.prefix-icon\\\\)\\\\]\\\\:pl-8:has(.prefix-icon) {\n  padding-left: 0.500rem;\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-on-white-hover:hover:not(:disabled) {\n  color: #FFFFFFe6;\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-primary-hover:hover:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-secondary-hover:hover:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(93 93 93 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:hover\\\\:text-tertiary-hover:hover:not(:disabled) {\n  color: rgba(93, 93, 93, 0.8);\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-on-white-pressed:active:not(:disabled) {\n  color: #FFFFFFe6;\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-primary-pressed:active:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-secondary-pressed:active:not(:disabled) {\n  --tw-text-opacity: 1;\n  color: rgb(93 93 93 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\:not\\\\(\\\\:disabled\\\\)\\\\]\\\\:active\\\\:text-tertiary-pressed:active:not(:disabled) {\n  color: rgba(93, 93, 93, 0.8);\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:block>* {\n  display: block;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:h-14>* {\n  height: 0.875rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:h-24>* {\n  height: 1.500rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:w-14>* {\n  width: 0.875rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:w-24>* {\n  width: 1.500rem;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:align-middle>* {\n  vertical-align: middle;\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-accent>* {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-gray-100>* {\n  --tw-text-opacity: 1;\n  color: rgb(244 244 244 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-gray-400>* {\n  --tw-text-opacity: 1;\n  color: rgb(160 160 160 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>\\\\*\\\\]\\\\:text-primary>* {\n  --tw-text-opacity: 1;\n  color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:aspect-\\\\[5\\\\/4\\\\]>img {\n  aspect-ratio: 5/4;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:aspect-square>img {\n  aspect-ratio: 1 / 1;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:rounded-2>img {\n  border-radius: 2px;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:rounded-full>img {\n  border-radius: 9999px;\n}\n\n.\\\\[\\\\&\\\\>img\\\\]\\\\:object-cover>img {\n  object-fit: cover;\n}\n\n.\\\\[\\\\&\\\\>span\\\\]\\\\:truncate>span {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.\\\\[\\\\&_\\\\*\\\\]\\\\:cursor-not-allowed * {\n  cursor: not-allowed;\n}\n\n.\\\\[\\\\&_div\\\\]\\\\:text-accent div {\n  --tw-text-opacity: 1;\n  color: rgb(255 72 0 / var(--tw-text-opacity, 1));\n}\n\n@media(hover:hover)and(pointer:fine) {\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:bg-silent-hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:text-primary-hover {\n    --tw-text-opacity: 1;\n    color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-disabled:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-negative-hover:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(217 65 65 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-on-white:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-primary-hover:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(39 39 42 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-silent-hover:hover {\n    --tw-bg-opacity: 1;\n    background-color: rgb(244 244 244 / var(--tw-bg-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:bg-transparent:hover {\n    background-color: transparent;\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-disabled:hover {\n    color: rgba(93, 93, 93, 0.4);\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-on-color:hover {\n    --tw-text-opacity: 1;\n    color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n  }\n\n  .\\\\[\\\\@media\\\\(hover\\\\:hover\\\\)and\\\\(pointer\\\\:fine\\\\)\\\\]\\\\:hover\\\\:text-primary-hover:hover {\n    --tw-text-opacity: 1;\n    color: rgb(71 71 71 / var(--tw-text-opacity, 1));\n  }\n}`));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nimport { jsxs, Fragment, jsx } from \"react/jsx-runtime\";\nimport snowplow from \"../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"react\";\nimport \"../../components/systems/Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"../../components/systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../components/systems/Expandable/Expandable.js\";\nimport \"../../components/systems/FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport { FloatingShareButton } from \"../../components/systems/FloatingShareButton/FloatingShareButton.js\";\nimport \"../../components/systems/Products/Products.js\";\nimport { env } from \"../../config/index.js\";\nimport { isWebview } from \"../../utils/device.js\";\nimport \"../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../node_modules/swr/core/dist/index.js\";\nimport \"../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../apis/taste-sharing/TasteSharingApiService.js\";\nimport { useFetchUserInfo } from \"../../hooks/fetchers/useFetchUserInfo.js\";\nimport { FIREBASE_CONFIG } from \"../../constants/firebase.js\";\nimport { isCanvas } from \"../../utils/framer/isCanvas.js\";\nimport { isFramerPreview } from \"../../utils/framer/isFramerPreview.js\";\nimport \"../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../hooks/stores/content/content.store.js\";\nimport \"../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../hooks/stores/toast/toast.store.js\";\nimport \"../../components/@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../components/@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport { DialogContainer } from \"../../containers/DialogContainer/DialogContainer.js\";\nimport \"../../utils/redirectLogin.js\";\nimport { AlertDialogContainer } from \"../../containers/AlertDialogContainer/AlertDialogContainer.js\";\nimport \"../../utils/event-properties/source.js\";\nimport \"../../constants/snowplow/snowplowSchema.js\";\nimport \"../../components/systems/ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../../components/systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport \"../../components/systems/RollingNumber/RollingNumber.js\";\nimport \"../../components/systems/TabBar/TabBar.js\";\nimport \"../../components/systems/TimeProgressBar/TimeProgressBar.js\";\nimport \"../../components/systems/ViewportContainer/ViewportContainer.js\";\nimport \"../../components/systems/TabBarV2/TabBarV2.js\";\nimport \"../../components/systems/TabBarV3/TabBarV3.js\";\nimport { BottomSheetContainer } from \"../../containers/BottomSheetContainer/BottomSheetContainer.js\";\nimport { UIContainer } from \"../../containers/UIContainer/UIContainer.js\";\nimport { ToastContainer } from \"../../containers/ToastContainer/ToastContainer.js\";\nimport { useSendMetadata, useSendAdditionalMetadata, useSendContentId, useSendMetadataStatus, useInitializeContentSummary, useInjectFontCSS, stringToNumber } from \"./Bootstrap.hooks.js\";\nimport { useTrackVisitContent, useTrackViewAttribution } from \"./Bootstrap.hooks.event.js\";\nimport { AdvancedReadingIndexTracker } from \"./advanced-reading-index-tracker/AdvancedReadingIndexTracker.js\";\nimport { ReadingIndexTracker } from \"./reading-index-tracker/ReadingIndexTracker.js\";\nimport { initFirebase } from \"../../utils/analytics/firebase.js\";\nimport { withCSS } from \"framer\";\nimport { useInitBrazeCDN } from \"../../hooks/analytics/braze/useInitBrazeCDN.js\";\nimport { CampaignBanner } from \"../../components/systems/CampaignBanner/CampaignBanner.js\";\nimport { getCampaignPhaseStatus } from \"../../components/systems/CampaignBanner/CampaignBanner.utils.js\";\nimport { SENTRY_DSN } from \"../../constants/sentry.js\";\n\nimport { init } from \"../../node_modules/@sentry/browser/build/npm/esm/sdk.js\";\nimport { browserTracingIntegration } from \"../../node_modules/@sentry/browser/build/npm/esm/tracing/browserTracingIntegration.js\";\nsnowplow.init({\n  debug: false,\n  trackerId: \"web\",\n  appId: \"29cm\",\n  postPath: \"/api/track\",\n  platform: \"web\",\n  collectUrl: env.api.collector,\n  discoverRootDomain: true\n});\nif (!isWebview()) {\n  initFirebase(FIREBASE_CONFIG);\n}\nconst webviewGlobalCSS = [`\n  body {\n    user-select: none;\n    \n    -webkit-overflow-scrolling: touch;\n    -webkit-tap-highlight-color: transparent;\n    -webkit-touch-callout: none;\n  }\n  `];\nconst primaryPageContentIds = [\"4030\", \"4031\", \"4245\", \"4267\", \"4263\", \"4254\"];\nconst Bootstrap = withCSS(({\n  children,\n  useAdvancedReadingIndexTracking,\n  excludeSectionIds,\n  contentId,\n  metadata,\n  hideShareButton = false\n}) => {\n  useSendMetadata(metadata);\n  useSendAdditionalMetadata();\n  useSendContentId(stringToNumber(contentId));\n  useSendMetadataStatus(metadata);\n  const contentSummary = {\n    contentId,\n    title: metadata.title,\n    mobilePoster: metadata.mobilePoster\n  };\n  const {\n    isInitBraze\n  } = useInitBrazeCDN();\n  useInitializeContentSummary(contentSummary);\n  useTrackVisitContent(contentSummary, isInitBraze);\n  useTrackViewAttribution();\n  useFetchUserInfo();\n  if (primaryPageContentIds.includes(contentId)) {\n    init({\n      dsn: SENTRY_DSN,\n      integrations: [browserTracingIntegration()],\n      environment: env.name,\n      enabled: !isFramerPreview() && !isCanvas(),\n      tracesSampleRate: 0,\n      sampleRate: env.name === \"production\" ? 0.01 : 1,\n      ignoreErrors: [\"Cannot read properties of null (reading 'setAttribute')\", \"Cannot read properties of null (reading 'removeAttribute')\", \"null is not an object (evaluating 'u.current.setAttribute')\", \"null is not an object (evaluating 'u.current.removeAttribute')\", \"UnknownError: Database deleted by request of the user\", \"Load failed (firebaseinstallations.googleapis.com)\", \"undefined is not an object (evaluating 'e.createObjectStore')\", \"Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.\"]\n    });\n  }\n  const shouldRenderContainers = !isCanvas();\n  const {\n    isDuringTeasingPeriod,\n    isDuringFullMainPeriod\n  } = getCampaignPhaseStatus();\n  const isDuringCampaign = isDuringTeasingPeriod || isDuringFullMainPeriod;\n  useInjectFontCSS();\n  return /* @__PURE__ */ jsxs(Fragment, { children: [\n    shouldRenderContainers ? /* @__PURE__ */ jsxs(Fragment, { children: [\n      /* @__PURE__ */ jsx(ToastContainer, {}),\n      /* @__PURE__ */ jsx(DialogContainer, {}),\n      /* @__PURE__ */ jsx(AlertDialogContainer, {}),\n      /* @__PURE__ */ jsx(UIContainer, {}),\n      /* @__PURE__ */ jsx(BottomSheetContainer, {})\n    ] }) : null,\n    hideShareButton ? null : /* @__PURE__ */ jsx(FloatingShareButton, {}),\n    children,\n    useAdvancedReadingIndexTracking ? /* @__PURE__ */ jsx(AdvancedReadingIndexTracker, { excludeSectionIds }) : /* @__PURE__ */ jsx(ReadingIndexTracker, {}),\n    isDuringCampaign ? /* @__PURE__ */ jsx(CampaignBanner, {}) : null\n  ] });\n}, isWebview() ? webviewGlobalCSS : []);\nexport {\n  Bootstrap\n};\n","import { useState, useEffect } from \"react\";\nimport api from \"../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../components/systems/CampaignBanner/CampaignBanner.js\";\nimport { getCampaignPhaseStatus } from \"../components/systems/CampaignBanner/CampaignBanner.utils.js\";\nconst HIDE_APP_INSTALL_COOKIE_KEY = \"no_app_install\";\nconst HIDE_APP_INSTALL_COOKIE_VALUE = \"1\";\nconst useAppInstallBannerVisibility = () => {\n  const [hidden, setHidden] = useState(true);\n  useEffect(() => {\n    const {\n      isDuringTeasingPeriod,\n      isDuringFullMainPeriod\n    } = getCampaignPhaseStatus();\n    const isDuringCampaign = isDuringTeasingPeriod || isDuringFullMainPeriod;\n    if (isDuringCampaign) {\n      setHidden(true);\n      return;\n    }\n    const value = api.get(HIDE_APP_INSTALL_COOKIE_KEY);\n    setHidden(value === HIDE_APP_INSTALL_COOKIE_VALUE);\n  }, []);\n  const hide = (seconds) => {\n    const expiryDate = new Date((/* @__PURE__ */ new Date()).getTime() + seconds * 1e3);\n    api.set(HIDE_APP_INSTALL_COOKIE_KEY, HIDE_APP_INSTALL_COOKIE_VALUE, {\n      path: \"/\",\n      domain: \".29cm.co.kr\",\n      expires: expiryDate\n    });\n    setHidden(true);\n  };\n  return {\n    hidden,\n    hide\n  };\n};\nexport {\n  useAppInstallBannerVisibility\n};\n","import api from \"../node_modules/js-cookie/dist/js.cookie.js\";\nimport { useEffect } from \"react\";\nconst NAVER_EP_COOKIE_KEY = \"naverEp\";\nconst NAVER_EP_COOKIE_EXPIRY = 600;\nconst useInitializeNaverEp = (onInit) => {\n  useEffect(() => {\n    const naverEp = retrieveNaverEp();\n    if (!naverEp) {\n      return;\n    }\n    api.set(NAVER_EP_COOKIE_KEY, naverEp, {\n      domain: \".29cm.co.kr\",\n      path: \"/\",\n      expires: new Date((/* @__PURE__ */ new Date()).getTime() + NAVER_EP_COOKIE_EXPIRY * 1e3)\n    });\n    onInit == null ? void 0 : onInit();\n  });\n};\nconst retrieveNaverEp = () => {\n  const searchParams = retrieveSearchParams();\n  const naverCode = searchParams.get(\"naver_code\");\n  const naverCampaignType = Number(searchParams.get(\"n_campaign_type\") ?? 0);\n  if (naverCampaignType === 2) {\n    return \"naver_shopping_keyword\";\n  }\n  if (naverCode) {\n    return naverCode;\n  }\n  return api.get(NAVER_EP_COOKIE_KEY);\n};\nconst retrieveSearchParams = () => new URLSearchParams(window.location.search);\nexport {\n  useInitializeNaverEp\n};\n","import{jsx as e}from\"react/jsx-runtime\";import{useEffect as t,useState as r,forwardRef as n}from\"react\";import{isWebview as o,isMobile as s}from\"https://asset.29cm.co.kr/contents/framer/utils/device.js\";export function withMobileWebLazyRender(i){return /*#__PURE__*/n((n,l)=>{let[a,m]=r(!1);return t(()=>{!o()&&s()&&m(!0);},[]),/*#__PURE__*/e(i,{...n,ref:l,style:{...n.style,display:a?\"\":\"none\"}});});}export function withDesktopLazyRender(o){return /*#__PURE__*/n((n,i)=>{let[l,a]=r(!1);return t(()=>{s()||a(!0);},[]),/*#__PURE__*/e(o,{...n,ref:i,style:{...n.style,display:l?\"\":\"none\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDesktopLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withDesktopLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobileWebLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withMobileWebLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithLazyRender.map","// Generated by Framer (19eed98)\nimport{jsx as e,jsxs as r}from\"react/jsx-runtime\";import{addFonts as t,addPropertyControls as a,ControlType as i,cx as n,Image as o,Link as l,useLocaleInfo as s,useVariantState as m,withCSS as f}from\"framer\";import{LayoutGroup as c,motion as d,MotionConfigContext as p}from\"framer-motion\";import*as h from\"react\";import{withDesktopLazyRender as u}from\"https://framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/zdn5ZLCHnFZkH6Ccx1mf/WithLazyRender.js\";let x=u(d.nav),g=[\"Wzfm7hzMG\",\"csr6hDuSM\"],b=\"framer-Q9c6i\",v={csr6hDuSM:\"framer-v-14dov9i\",Wzfm7hzMG:\"framer-v-1lbx091\"};function w(e,...r){let t={};return null==r||r.forEach(r=>r&&Object.assign(t,e[r])),t;}let y={default:{damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"}},z=e=>!e,M=({value:r,children:t})=>{let a=h.useContext(p),i=null!=r?r:a.transition,n=h.useMemo(()=>({...a,transition:i}),[JSON.stringify(i)]);return /*#__PURE__*/e(p.Provider,{value:n,children:t});},D={Dark:\"csr6hDuSM\",Light:\"Wzfm7hzMG\"},Q=({height:e,id:r,isMobile:t,width:a,...i})=>{var n,o;return{...i,variant:null!==(o=null!==(n=D[i.variant])&&void 0!==n?n:i.variant)&&void 0!==o?o:\"Wzfm7hzMG\",w2lPcauNX:null!=t?t:i.w2lPcauNX};},W=(e,r)=>r.join(\"-\")+e.layoutDependency,k=/*#__PURE__*/h.forwardRef(function(t,a){let{activeLocale:i}=s(),{style:f,className:p,layoutId:u,variant:b,w2lPcauNX:D,...k}=Q(t),{baseVariant:H,classNames:N,gestureVariant:R,setGestureState:S,setVariant:j,transition:G,variants:P}=m({cycleOrder:g,defaultVariant:\"Wzfm7hzMG\",transitions:y,variant:b,variantClassNames:v}),I=W(t,P),T=h.useRef(null),L=h.useId();return /*#__PURE__*/e(c,{id:null!=u?u:L,children:/*#__PURE__*/e(d.div,{initial:b,animate:P,onHoverStart:()=>S({isHovered:!0}),onHoverEnd:()=>S({isHovered:!1}),onTapStart:()=>S({isPressed:!0}),onTap:()=>S({isPressed:!1}),onTapCancel:()=>S({isPressed:!1}),className:n(\"framer-Q9c6i\",...[],N),style:{display:\"contents\"},children:/*#__PURE__*/e(M,{value:G,children:/*#__PURE__*/e(x,{...k,className:n(\"framer-1lbx091\",p),\"data-framer-name\":\"Light\",layoutDependency:I,layoutId:\"Wzfm7hzMG\",ref:null!=a?a:T,style:{...f},...w({csr6hDuSM:{\"data-framer-name\":\"Dark\"}},H,R),children:/*#__PURE__*/e(l,{href:\"https://29cm.co.kr/home/\",openInNewTab:!0,children:/*#__PURE__*/r(d.a,{className:\"framer-1wzu016 framer-1xsir05\",\"data-framer-name\":\"Home\",layoutDependency:I,layoutId:\"ZK3Genk5j\",children:[z(D)&&/*#__PURE__*/e(o,{background:{alt:\"\",fit:\"fit\",intrinsicHeight:75,intrinsicWidth:300,pixelHeight:75,pixelWidth:300,src:\"https://framerusercontent.com/images/RF2rXMWHMDRgIRK40f2hk5metVs.svg\"},className:\"framer-1tcueu2\",\"data-framer-name\":\"DesktopLogo\",layoutDependency:I,layoutId:\"qTXwS_JMu\",...w({csr6hDuSM:{background:{alt:\"\",fit:\"fit\",intrinsicHeight:75,intrinsicWidth:300,pixelHeight:75,pixelWidth:300,src:\"https://framerusercontent.com/images/vCTh3iffjkqQWJZRb24dYPzkK70.svg\"}}},H,R)}),D&&/*#__PURE__*/e(o,{background:{alt:\"\",fit:\"fit\",intrinsicHeight:75,intrinsicWidth:300,pixelHeight:75,pixelWidth:300,src:\"https://framerusercontent.com/images/RF2rXMWHMDRgIRK40f2hk5metVs.svg\"},className:\"framer-1b4wchm\",\"data-framer-name\":\"MobileLogo\",layoutDependency:I,layoutId:\"DEVxTueC3\"})]})})})})})});}),H=['.framer-Q9c6i [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Q9c6i .framer-1xsir05 { display: block; }\",\".framer-Q9c6i .framer-1lbx091 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 40px; height: 50px; justify-content: flex-start; padding: 0px 50px 0px 50px; position: relative; width: 1920px; }\",\".framer-Q9c6i .framer-1wzu016 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 100%; justify-content: center; overflow: visible; padding: 0px 0px 0px 0px; position: relative; text-decoration: none; width: 120px; }\",\".framer-Q9c6i .framer-1tcueu2 { aspect-ratio: 3.92 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 18px); overflow: visible; position: relative; width: 71px; }\",\".framer-Q9c6i .framer-1b4wchm { aspect-ratio: 3.92 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 12px); overflow: visible; position: relative; width: 47px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-Q9c6i .framer-1lbx091, .framer-Q9c6i .framer-1wzu016 { gap: 0px; } .framer-Q9c6i .framer-1lbx091 > * { margin: 0px; margin-left: calc(40px / 2); margin-right: calc(40px / 2); } .framer-Q9c6i .framer-1lbx091 > :first-child { margin-left: 0px; } .framer-Q9c6i .framer-1lbx091 > :last-child { margin-right: 0px; } .framer-Q9c6i .framer-1wzu016 > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-Q9c6i .framer-1wzu016 > :first-child { margin-top: 0px; } .framer-Q9c6i .framer-1wzu016 > :last-child { margin-bottom: 0px; } }\"],N=f(k,H,\"framer-Q9c6i\");export default N;N.displayName=\"WebGNB\",N.defaultProps={height:50,width:1920},a(N,{variant:{options:[\"Wzfm7hzMG\",\"csr6hDuSM\"],optionTitles:[\"Light\",\"Dark\"],title:\"Variant\",type:i.Enum},w2lPcauNX:{defaultValue:!1,title:\"isMobile\",type:i.Boolean}}),t(N,[]);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerS9Dp38YA7\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"false\",\"framerVariables\":\"{\\\"w2lPcauNX\\\":\\\"isMobile\\\"}\",\"framerIntrinsicHeight\":\"50\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"csr6hDuSM\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"1920\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/*\n * WebGNB\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/I9ht8jBctZPguy6Qpt3k/80nWBjrnJFW0OScYfNAq/S9Dp38YA7.js\"\nexport { default } from \"https://framerusercontent.com/modules/I9ht8jBctZPguy6Qpt3k/80nWBjrnJFW0OScYfNAq/S9Dp38YA7.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function withAppInstallLink(Component){return props=>{const[href,setHref]=useState(\"\");useEffect(()=>{const url=new URL(location.href);url.hash=\"\";const utmSource=url.searchParams.get(\"utm_source\")||\"install_mowebtoapp\";const utmCampaign=url.searchParams.get(\"utm_campaign\")||\"\";const utmContent=url.searchParams.get(\"utm_content\")||\"\";// 네이버 쇼핑 검색 타고 모웹으로 랜딩 될 시 네이버 측에서 앱 다운로드하는 배너 삭제해달라고 요청.\nif(utmCampaign===\"conversion_navershopping\")return;const href=`https://29cm.onelink.me/1080201211?pid=29cm_mowebtoapp&c=${utmSource}&af_adset=${utmCampaign}&af_ad=${utmContent}&is_retargeting=true&af_click_lookback=7d&af_dp=app29cm://web/${encodeURIComponent(location.href)}&deep_link_value=app29cm://web/${encodeURIComponent(location.href)}&af_web_dp=${encodeURIComponent(location.href)}`;setHref(href);return()=>{};},[]);return /*#__PURE__*/_jsx(\"a\",{href:href,target:\"_blank\",style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withAppInstallLink\":{\"type\":\"reactHoc\",\"name\":\"withAppInstallLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithAppInstallBanner.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState,forwardRef}from\"react\";import{isWebview,isMobile}from\"https://asset.29cm.co.kr/contents/framer/utils/device.js\";export function withMobileWebLazyRender(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isReady,setIsReady]=useState(false);useEffect(()=>{if(!isWebview()&&isMobile()){setIsReady(true);}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,display:isReady?\"\":\"none\"}});});}export function withDesktopLazyRender(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isReady,setIsReady]=useState(false);useEffect(()=>{if(!isMobile()){setIsReady(true);}},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,display:isReady?\"\":\"none\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDesktopLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withDesktopLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobileWebLazyRender\":{\"type\":\"reactHoc\",\"name\":\"withMobileWebLazyRender\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithLazyRender.map","// Generated by Framer (e1877f1)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,Link,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{withAppInstallLink}from\"https://framerusercontent.com/modules/ssKC8GEyZlkclfUGHZyl/gNceh1KRgTXQeqQBanCM/WithAppInstallBanner.js\";import{withMobileWebLazyRender}from\"https://framerusercontent.com/modules/y7oaWiZbkQVWph54vUZd/eBrIazCWGkDFwPLmboSh/WithLazyRender.js\";const MotionDivWithAppInstallLink=withAppInstallLink(motion.div);const MotionDivWithMobileWebLazyRender=withMobileWebLazyRender(motion.div);const cycleOrder=[\"SWvxS_8i8\"];const serializationHash=\"framer-NV0QX\";const variantClassNames={SWvxS_8i8:\"framer-v-1mcero2\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"SWvxS_8i8\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(MotionDivWithMobileWebLazyRender,{...restProps,className:cx(serializationHash,...sharedStyleClassNames,\"framer-1mcero2\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"SWvxS_8i8\",onHoverEnd:()=>setGestureState({isHovered:false}),onHoverStart:()=>setGestureState({isHovered:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),onTapStart:()=>setGestureState({isPressed:true}),ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"rgb(255, 255, 255)\",...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1gg8t3l\",\"data-border\":true,\"data-framer-name\":\"Container\",layoutDependency:layoutDependency,layoutId:\"HKeWGJU_2\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(255, 255, 255, 0.2)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",backgroundColor:\"rgb(0, 0, 0)\"},children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-z0ak33\",\"data-framer-name\":\"Layout\",layoutDependency:layoutDependency,layoutId:\"jnIP34yPv\",children:[/*#__PURE__*/_jsx(Link,{href:\"https://www.29cm.co.kr\",openInNewTab:true,children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-vlzf4n framer-16ufk7a\",\"data-framer-name\":\"Logo\",layoutDependency:layoutDependency,layoutId:\"lpWlrpe4S\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-iuto0z\",\"data-framer-name\":\"logotype\",fill:\"black\",intrinsicHeight:16,intrinsicWidth:60,layoutDependency:layoutDependency,layoutId:\"X29rOrFtd\",svg:'<svg width=\"60\" height=\"16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M18.332.56c-2.732 0-4.946 2.147-4.946 4.795 0 2.581 2.159 4.674 4.822 4.674.115 0 .225-.014.335-.029.053-.007.105-.014.159-.019l-3.708 5.237h2.43l5.06-7.319a4.472 4.472 0 0 0 .794-2.544c0-2.648-2.214-4.795-4.946-4.795Zm0 7.756a2.96 2.96 0 1 1 0-5.922 2.96 2.96 0 0 1 0 5.922Z\" fill=\"#fff\"/><path d=\"M39.444 4.058a5.63 5.63 0 0 0-3.993-1.664 5.663 5.663 0 0 0-5.656 5.656 5.663 5.663 0 0 0 5.656 5.656c1.56 0 2.97-.639 3.993-1.664l1.346 1.346a7.681 7.681 0 0 1-5.339 2.15c-4.214 0-7.642-3.36-7.642-7.488 0-4.129 3.428-7.488 7.642-7.488 2.08 0 3.96.825 5.339 2.15l-1.346 1.346Zm13.288 3.865L57.717.881h2.184V15.22h-1.988V3.906l-5.18 7.494-5.182-7.494V15.22h-1.987V.88h2.183l4.985 7.042ZM4.546.56c2.51 0 4.544 1.97 4.544 4.396a4.142 4.142 0 0 1-1.14 2.855l-5.304 5.574H9.09v1.834H.001v-1.834l6.443-6.773c.425-.447.662-1.04.662-1.656a2.561 2.561 0 1 0-5.12 0H0C0 2.53 2.035.56 4.546.56Z\" fill=\"#fff\"/></svg>',withExternalLayout:true})})}),/*#__PURE__*/_jsx(MotionDivWithAppInstallLink,{className:\"framer-1sl5nzj\",\"data-framer-name\":\"Button\",layoutDependency:layoutDependency,layoutId:\"YOogUwg_r\",style:{backgroundColor:\"rgb(255, 72, 0)\",borderBottomLeftRadius:999,borderBottomRightRadius:999,borderTopLeftRadius:999,borderTopRightRadius:999},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"11px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"29CM 앱 설치하고 15% 할인받기\"})}),className:\"framer-orwnb2\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"Tw_k1faAy\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-NV0QX.framer-16ufk7a, .framer-NV0QX .framer-16ufk7a { display: block; }\",\".framer-NV0QX.framer-1mcero2 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 50px; justify-content: center; padding: 0px; position: relative; width: 457px; }\",\".framer-NV0QX .framer-1gg8t3l { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 1px; justify-content: center; padding: 0px 12px 0px 12px; position: relative; width: 100%; }\",\".framer-NV0QX .framer-z0ak33 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-NV0QX .framer-vlzf4n { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 29px; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; text-decoration: none; width: 1px; }\",\".framer-NV0QX .framer-iuto0z { aspect-ratio: 3.75 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 14px); position: relative; width: 52px; }\",\".framer-NV0QX .framer-1sl5nzj { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 24px; justify-content: center; overflow: visible; padding: 0px 12px 0px 12px; position: relative; width: auto; }\",\".framer-NV0QX .framer-orwnb2 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-NV0QX.framer-1mcero2, .framer-NV0QX .framer-1gg8t3l, .framer-NV0QX .framer-vlzf4n, .framer-NV0QX .framer-1sl5nzj { gap: 0px; } .framer-NV0QX.framer-1mcero2 > *, .framer-NV0QX .framer-1sl5nzj > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-NV0QX.framer-1mcero2 > :first-child, .framer-NV0QX .framer-1sl5nzj > :first-child { margin-top: 0px; } .framer-NV0QX.framer-1mcero2 > :last-child, .framer-NV0QX .framer-1sl5nzj > :last-child { margin-bottom: 0px; } .framer-NV0QX .framer-1gg8t3l > * { margin: 0px; margin-left: calc(0px / 2); margin-right: calc(0px / 2); } .framer-NV0QX .framer-1gg8t3l > :first-child, .framer-NV0QX .framer-vlzf4n > :first-child { margin-left: 0px; } .framer-NV0QX .framer-1gg8t3l > :last-child, .framer-NV0QX .framer-vlzf4n > :last-child { margin-right: 0px; } .framer-NV0QX .framer-vlzf4n > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } }\",'.framer-NV0QX[data-border=\"true\"]::after, .framer-NV0QX [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 50\n * @framerIntrinsicWidth 457\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerBlNtXYaR7=withCSS(Component,css,\"framer-NV0QX\");export default FramerBlNtXYaR7;FramerBlNtXYaR7.displayName=\"AppInstallBanner\";FramerBlNtXYaR7.defaultProps={height:50,width:457};addFonts(FramerBlNtXYaR7,[{explicitInter:true,fonts:[{family:\"Pretendard Bold\",source:\"custom\",url:\"https://framerusercontent.com/assets/crzkHU25cJonwO6VK1IAv8AG9g.woff2\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerBlNtXYaR7\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"50\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"457\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlNtXYaR7.map","/*\n * AppInstallBanner\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/mFtD9hXCAxZQTFQaZ4zU/fflPj6Y0Jus27koQKuvo/BlNtXYaR7.js\"\nexport { default } from \"https://framerusercontent.com/modules/mFtD9hXCAxZQTFQaZ4zU/fflPj6Y0Jus27koQKuvo/BlNtXYaR7.js\"\n","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as React from \"react\";\nexport const containerStyles = {\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nconst nullIconStyle = {\n    minWidth: \"10px\",\n    minHeight: \"10px\",\n    maxWidth: \"20px\",\n    maxHeight: \"20px\",\n    width: \"60%\",\n    height: \"60%\"\n};\nconst emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(149, 149, 149, 0.1)\",\n    border: \"1px dashed rgba(149, 149, 149, 0.15)\",\n    color: \"#a5a5a5\",\n    flexDirection: \"column\"\n};\nexport const NullState = /*#__PURE__*/ React.forwardRef((_, ref)=>{\n    return(/*#__PURE__*/ _jsx(\"div\", {\n        style: emptyStateStyle,\n        ref: ref\n    }));\n}) /*\n\n<svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                viewBox=\"0 0 30 30\"\n                style={nullIconStyle}\n            >\n                <path\n                    d=\"M 12.857 0 C 19.958 0 25.714 5.756 25.714 12.857 C 25.714 19.958 19.958 25.714 12.857 25.714 C 5.756 25.714 0 19.958 0 12.857 C 0 5.756 5.756 0 12.857 0 Z\"\n                    fill=\"#FFFFFF\"\n                ></path>\n                <path\n                    d=\"M 20.357 20.357 L 27.857 27.857\"\n                    fill=\"transparent\"\n                    strokeWidth=\"4.28\"\n                    stroke=\"#FFFFFF\"\n                    strokeLinecap=\"round\"\n                ></path>\n                <g transform=\"translate(9.643 6.429)\">\n                    <path\n                        d=\"M 3.214 12.857 L 3.214 12.857\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.75\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                    ></path>\n                    <path\n                        d=\"M 0 3.214 C 0 1.004 1.843 0 3.214 0 C 4.586 0 6.429 0.603 6.429 3.214 C 6.429 5.826 3.214 5.913 3.214 7.232 C 3.214 8.552 3.214 8.571 3.214 8.571\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.22\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                        strokeLinejoin=\"round\"\n                    ></path>\n                </g>\n            </svg>\n            */ ;\n\nexport const __FramerMetadata__ = {\"exports\":{\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NullState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./nullstate.map","/*\n * nullstate (framer/icon-nullstate@0.7.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/DyldKav0OOAWR3bCAlhK/8c3l9FzyOlGpbPncYhfc/nullstate.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{NullState}from\"https://framer.com/m/framer/icon-nullstate.js@0.7.0\";var SrcType;(function(SrcType){SrcType[\"Upload\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const baseUrl=\"https://logo.clearbit.com/\";const getLogoUrl=company=>{if(!company)return null;return company.includes(\".\")?`${baseUrl}${company}?size=500`:`${baseUrl}${company}.com?size=500`;};/**\n * @framerIntrinsicWidth 64\n * @framerIntrinsicHeight 64\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export default function Logo(props){const{company,radius,isSearch,srcType,srcUrl,srcFile,style}=props;const logoURL=useMemo(()=>{if(isSearch)return getLogoUrl(company);if(srcType===SrcType.Upload)return srcFile;if(srcType===SrcType.Url)return srcUrl;return null;},[company,isSearch,srcType,srcUrl,srcFile]);const isOnCanvas=RenderTarget.current()===RenderTarget.canvas;const emptyState=isOnCanvas?/*#__PURE__*/ _jsx(NullState,{}):null;return logoURL?/*#__PURE__*/ _jsx(\"img\",{src:logoURL,style:{...baseStyles,...style,borderRadius:radius},alt:\"Logo\"}):emptyState;};Logo.defaultProps={company:\"Framer\",radius:100,width:64,height:64,isSearch:true};const baseStyles={position:\"absolute\",left:0,right:0,top:0,bottom:0,width:\"100%\",height:\"100%\"};addPropertyControls(Logo,{isSearch:{type:ControlType.Boolean,title:\"Type\",disabledTitle:\"Custom\",enabledTitle:\"Search\"},srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[SrcType.Url,SrcType.Upload],hidden:({isSearch})=>isSearch},srcUrl:{type:ControlType.String,title:\" \",placeholder:\"../example.jpg\",hidden:({srcType,isSearch})=>srcType===SrcType.Upload||isSearch},srcFile:{type:ControlType.File,title:\" \",allowedFileTypes:[\"jpg\",\"png\",\"jpeg\",\"tiff\",\"gif\"],hidden:({srcType,isSearch})=>srcType===SrcType.Url||isSearch},company:{type:ControlType.String,title:\"Company\",placeholder:\"Github, Apple...\",hidden:({isSearch})=>!isSearch},radius:{type:ControlType.Number,min:0,max:100,title:\"Radius\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Logo\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"64\",\"framerIntrinsicHeight\":\"64\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Logo.map","import{MotionValue}from\"framer\";// Basic MotionValue check\nexport const isMotionValue=v=>v instanceof MotionValue;\nexport const __FramerMetadata__ = {\"exports\":{\"isMotionValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./isMotionValue.map","import{useCallback,useEffect,useRef}from\"react\";import{motionValue,animate,RenderTarget}from\"framer\";import{isMotionValue}from\"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/TbXI1XaZFNevVKcgIt7G/isMotionValue.js\";import{useConstant}from\"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";export function useAutoMotionValue(inputValue,options){// Put options on a local ref\n// Might wanna just memo instead but it works for now\nconst optionsRef=useRef(options);const animation=useRef();const didInitialMount=useRef(false);const isOnCanvas=RenderTarget.current()===RenderTarget.canvas;// in-progress - trying to figure out effect hooks\nconst onChangeDeps=(options===null||options===void 0?void 0:options.onChangeDeps)?options.onChangeDeps:[];// Memoize the onChange handler\nconst onChange=useCallback(options===null||options===void 0?void 0:options.onChange,[...onChangeDeps,]);// Optionally scale the value from props\nconst transformer=useCallback(value=>{var ref;return((ref=optionsRef.current)===null||ref===void 0?void 0:ref.transform)?optionsRef.current.transform(value):value;},[]);// Create new MotionValue from inputValue\nconst value1=useConstant(()=>isMotionValue(inputValue)?inputValue:motionValue(transformer(inputValue)));// Setting value from prop change\nuseEffect(()=>{if(!isMotionValue(inputValue)&&didInitialMount.current){var ref,ref1;const newValue=transformer(inputValue);(ref=animation.current)===null||ref===void 0?void 0:ref.stop();// Call change callback\nif(onChange)onChange(newValue,value1);// Trigger animation to new value\nif(((ref1=optionsRef.current)===null||ref1===void 0?void 0:ref1.animate)&&!isOnCanvas){var ref2;// @ts-ignore\nanimation.current=animate(value1,newValue,(ref2=optionsRef.current)===null||ref2===void 0?void 0:ref2.transition);}else{value1.set(newValue);}}didInitialMount.current=true;},[inputValue,...onChangeDeps]);return value1;}\nexport const __FramerMetadata__ = {\"exports\":{\"useAutoMotionValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useAutoMotionValue.map","/*\n * useAutoMotionValue (framer/useAutoMotionValue@0.3.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/kNDwabfjDEb3vUxkQlZS/V4SPg9g59hF1vFH3ZTF0/useAutoMotionValue.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{useMotionValueEvent}from\"framer-motion\";import{useRef,useEffect,useMemo,useCallback,memo}from\"react\";import{ControlType,addPropertyControls,useIsInCurrentNavigationTarget}from\"framer\";import{useOnEnter,useOnExit,defaultEvents,useIsOnCanvas,useIsBrowserSafari,useRadius,borderRadiusControl}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{useAutoMotionValue}from\"https://framer.com/m/framer/useAutoMotionValue.js@^0.3.0\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */ export function Video(props){const newProps=getProps(props);return /*#__PURE__*/ _jsx(VideoMemo,{...newProps});}/**\n * For the useEffect hook to change progress of the video on state change.\n * It was causing the video to restart on hydration\n */ let isMountedAndReadyForProgressChanges=false;const VideoMemo=/*#__PURE__*/ memo(function VideoInner(props){const{srcType,srcFile,srcUrl,playing,canvasPlay,muted,playsinline,controls,progress,objectFit,backgroundColor,radius,topLeft,topRight,bottomRight,bottomLeft,isMixed,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,poster,restartOnEnter,posterEnabled,startTime:startTimeProp,volume,loop}=props;const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const videoRef=useRef();const isSafari=useIsBrowserSafari();const requestingPlay=useRef(false);const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const borderRadius=useRadius(props);// Video elements behave oddly at 100% duration\nconst startTime=useMemo(()=>startTimeProp===100?99.9:startTimeProp,[startTimeProp]);const shouldPlay=!isOnCanvas||canvasPlay;const autoPlay=useMemo(()=>playing,[]);const isMuted=useMemo(()=>isOnCanvas?true:muted,[isOnCanvas,muted]);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const isPlaying=videoRef.current.currentTime>0&&videoRef.current.onplaying&&!videoRef.current.paused&&!videoRef.current.ended&&videoRef.current.readyState>videoRef.current.HAVE_CURRENT_DATA;if(!isPlaying&&videoRef.current&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;videoRef.current.play().catch(e=>{}) // It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();},[]);// Pause/play via props\nuseEffect(()=>{if(playing&&shouldPlay)play();else pause();},[playing,canvasPlay]);// Change progress via prop\nuseEffect(()=>{if(isMountedAndReadyForProgressChanges)setProgress(startTime*.01);else isMountedAndReadyForProgressChanges=true;},[startTime,srcFile,srcUrl]);const videoProgress=useAutoMotionValue(progress,{transform:value=>value*.01,onChange:newValue=>{setProgress(newValue);}});// Allow scrubbing with MotionValue\nuseMotionValueEvent(videoProgress,\"change\",latest=>{if(!isOnCanvas)setProgress(latest);});// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{let fragment=\"\";// if (\n//     startTime > 0 &&\n//     videoRef.current &&\n//     !isNaN(videoRef.current.duration) &&\n//     !isOnCanvas\n// ) {\n//     console.log(startTime, videoRef.current.duration)\n//     fragment = `#t=${startTime * videoRef.current.duration}`\n// }\nif(srcType===SrcType.Url)return srcUrl+fragment;if(srcType===SrcType.Video)return srcFile+fragment;},[srcType,srcFile,srcUrl,startTime]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoPlay){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=volume/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{if(videoRef.current&&videoRef.current.currentTime<.3)setProgress(startTime*.01);if(shouldPlay&&videoRef.current&&autoPlay)play();};return /*#__PURE__*/ _jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>{return onSeeked===null||onSeeked===void 0?void 0:onSeeked(e);},onPause:e=>{return onPause===null||onPause===void 0?void 0:onPause(e);},onPlay:e=>{return onPlay===null||onPlay===void 0?void 0:onPlay(e);},onEnded:e=>{return onEnd===null||onEnd===void 0?void 0:onEnd(e);},autoPlay:autoPlay&&shouldPlay,poster:posterEnabled?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isMuted,playsInline:playsinline,style:{cursor:!!onClick?\"pointer\":\"auto\",width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}});});Video.displayName=\"Video\";Video.defaultProps={srcType:SrcType.Url,srcUrl:\"https://assets.mixkit.co/videos/preview/mixkit-ice-cream-glass-of-red-soda-5094-small.mp4\",srcFile:\"\",posterEnabled:false,controls:false,autoPlay:true,canvasPlay:false,loop:true,muted:true,playsinline:true,restartOnEnter:false,objectFit:ObjectFitType.Cover,backgroundColor:\"rgba(0,0,0,0)\",radius:0,volume:25,startTime:0};addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[SrcType.Url,SrcType.Video]},srcUrl:{type:ControlType.String,title:\" \",placeholder:\"../example.mp4\",hidden(props){return props.srcType===SrcType.Video;},description:\"Hosted video file URL. For Youtube, use the Youtube component.\"},srcFile:{type:ControlType.File,title:\" \",allowedFileTypes:[\"mp4\"],hidden(props){return props.srcType===SrcType.Url;}},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\"},posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\"},poster:{type:ControlType.Image,title:\" \",hidden:({posterEnabled})=>!posterEnabled},backgroundColor:{type:ControlType.Color,title:\"Background\"},...borderRadiusControl,startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:.1,unit:\"%\"},loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:[ObjectFitType.Cover,ObjectFitType.Fill,ObjectFitType.Contain,ObjectFitType.ScaleDown,ObjectFitType.None,]},canvasPlay:{type:ControlType.Boolean,title:\"On Canvas\",enabledTitle:\"Play\",disabledTitle:\"Pause\",hidden(props){return props.autoPlay===false;}},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\ncontrols:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\"},volume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\",\"framerIntrinsicHeight\":\"112\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function FadeInOut(Component){return props=>{const[isVisible,setIsVisible]=useState(true);useEffect(()=>{const interval=setInterval(()=>{setIsVisible(prevVisible=>!prevVisible);},1e3);return()=>clearInterval(interval);},[]);return /*#__PURE__*/ _jsx(Component,{...props,style:{...props.style,opacity:isVisible?1:0,transition:\"opacity 0.8s linear\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"FadeInOut\":{\"type\":\"reactHoc\",\"name\":\"FadeInOut\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FadeInOut.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useScroll,useTransform,useSpring,useMotionTemplate,easeIn}from\"framer-motion\";export function withHeroBannerImage(Component){return props=>{const{scrollY}=useScroll();const y=useTransform(scrollY,[0,1e3],[0,900],{ease:easeIn});return /*#__PURE__*/_jsx(Component,{...props,style:{y}});};}export function withHeroBannerBlur(Component){return props=>{const{scrollY}=useScroll();const springY=useSpring(scrollY);const saturate=useTransform(springY,value=>Math.max(190+value*-.32,0));const blur=useTransform(springY,value=>value*.32+60);const backdropFilter=useMotionTemplate`saturate(${saturate}%) blur(${blur}px)`;return /*#__PURE__*/_jsx(Component,{...props,style:{maskImage:`linear-gradient(to bottom,transparent,rgba(0,0,0,.068) 3.3%,rgba(0,0,0,.145) 5.9%,rgba(0,0,0,.227) 8.1%,rgba(0,0,0,.313) 10.1%,rgba(0,0,0,.401) 12.1%,rgba(0,0,0,.49) 14.6%,rgba(0,0,0,.578) 17.7%,rgba(0,0,0,.661) 21.8%,rgba(0,0,0,.74) 27.1%,rgba(0,0,0,.812) 33.9%,rgba(0,0,0,.875) 42.4%,rgba(0,0,0,.927) 53%,rgba(0,0,0,.966) 66%,rgba(0,0,0,.991) 81.5%,rgba(0,0,0,.991) 100%)`,WebkitMaskImage:`linear-gradient(to bottom,transparent,rgba(0,0,0,.068) 3.3%,rgba(0,0,0,.145) 5.9%,rgba(0,0,0,.227) 8.1%,rgba(0,0,0,.313) 10.1%,rgba(0,0,0,.401) 12.1%,rgba(0,0,0,.49) 14.6%,rgba(0,0,0,.578) 17.7%,rgba(0,0,0,.661) 21.8%,rgba(0,0,0,.74) 27.1%,rgba(0,0,0,.812) 33.9%,rgba(0,0,0,.875) 42.4%,rgba(0,0,0,.927) 53%,rgba(0,0,0,.966) 66%,rgba(0,0,0,.991) 81.5%,rgba(0,0,0,.991) 100%)`,backgroundColor:\"rgba(40,40,40,.5)\",WebkitBackdropFilter:backdropFilter,backdropFilter}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHeroBannerImage\":{\"type\":\"reactHoc\",\"name\":\"withHeroBannerImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroBannerBlur\":{\"type\":\"reactHoc\",\"name\":\"withHeroBannerBlur\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroBannerBlur.map","// Generated by Framer (4d5c76d)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,RichText,SVG,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import Logo from\"https://framerusercontent.com/modules/IQXqjAGXltPKLdfjcdtf/AdYVRfUvx2HLE5qL3Xfw/Logo.js\";import{Video}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/0jtlswBvrookcx7EpjBD/Video.js\";import{FadeInOut}from\"https://framerusercontent.com/modules/fJRNYRZQGLBX4YACgYdl/FPpfmWGuWkaGvvOrXms8/FadeInOut.js\";import{withHeroBannerBlur,withHeroBannerImage}from\"https://framerusercontent.com/modules/QY4tN3egvv4KYUbynXBs/2SxLPQguTLcxRLtMlKhD/HeroBannerBlur.js\";const VideoFonts=getFonts(Video);const VideoWithHeroBannerImage=withHeroBannerImage(Video);const MotionDivWithHeroBannerBlur=withHeroBannerBlur(motion.div);const LogoFonts=getFonts(Logo);const MotionDivFadeInOut=FadeInOut(motion.div);const cycleOrder=[\"kp8MZzCMm\",\"agcndxlJx\"];const serializationHash=\"framer-qkFHY\";const variantClassNames={agcndxlJx:\"framer-v-3qpg2x\",kp8MZzCMm:\"framer-v-f0z3vb\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transitions={agcndxlJx:{damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"},default:{delay:.2,duration:.6,ease:[.44,0,.56,1],type:\"tween\"}};const toImageSrc=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value.src;}return typeof value===\"string\"?value:undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={DesktopHeroBanner:\"kp8MZzCMm\",MobileHeroBanner:\"agcndxlJx\"};const getProps=({description,desktopMainVideoURL,desktopPoster,height,id,logo,mobileMainVideoURL,mobilePoster,promotions,title,width,...props})=>{var _ref,_ref1,_ref2,_ref3,_humanReadableVariantMap_props_variant,_ref4;return{...props,AWK_gyual:(_ref=promotions!==null&&promotions!==void 0?promotions:props.AWK_gyual)!==null&&_ref!==void 0?_ref:\"프로모션 텍스트\",EHnH0b2mU:logo!==null&&logo!==void 0?logo:props.EHnH0b2mU,gCfdNGMzO:(_ref1=title!==null&&title!==void 0?title:props.gCfdNGMzO)!==null&&_ref1!==void 0?_ref1:\"콘텐츠 제목\",gFDr8y3Br:mobilePoster!==null&&mobilePoster!==void 0?mobilePoster:props.gFDr8y3Br,IB66QfGh1:desktopMainVideoURL!==null&&desktopMainVideoURL!==void 0?desktopMainVideoURL:props.IB66QfGh1,ixl5vkaCb:(_ref2=description!==null&&description!==void 0?description:props.ixl5vkaCb)!==null&&_ref2!==void 0?_ref2:\"콘텐츠 설명\",QT2shsp_E:(_ref3=mobileMainVideoURL!==null&&mobileMainVideoURL!==void 0?mobileMainVideoURL:props.QT2shsp_E)!==null&&_ref3!==void 0?_ref3:'\"\"',variant:(_ref4=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref4!==void 0?_ref4:\"kp8MZzCMm\",VFui_42jF:desktopPoster!==null&&desktopPoster!==void 0?desktopPoster:props.VFui_42jF};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,gCfdNGMzO,ixl5vkaCb,AWK_gyual,EHnH0b2mU,IB66QfGh1,QT2shsp_E,VFui_42jF,gFDr8y3Br,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"kp8MZzCMm\",transitions,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const isDisplayed=()=>{if(baseVariant===\"agcndxlJx\")return true;return false;};const isDisplayed1=()=>{if(baseVariant===\"agcndxlJx\")return false;return true;};const defaultLayoutId=React.useId();const sharedStyleClassNames=[];return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Transition,{value:transition,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,animate:variants,className:cx(serializationHash,...sharedStyleClassNames,\"framer-f0z3vb\",className,classNames),\"data-framer-name\":\"DesktopHeroBanner\",initial:variant,layoutDependency:layoutDependency,layoutId:\"kp8MZzCMm\",onHoverEnd:()=>setGestureState({isHovered:false}),onHoverStart:()=>setGestureState({isHovered:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),onTapStart:()=>setGestureState({isPressed:true}),ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"rgb(0, 0, 0)\",...style},...addPropertyOverrides({agcndxlJx:{\"data-framer-name\":\"MobileHeroBanner\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1hic9oq\",layoutDependency:layoutDependency,layoutId:\"wid6CbJom\",children:[isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-gl3wyb-container\",layoutDependency:layoutDependency,layoutId:\"vnB1GHnLE-container\",children:/*#__PURE__*/_jsx(VideoWithHeroBannerImage,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,canvasPlay:true,controls:false,height:\"100%\",id:\"vnB1GHnLE\",isMixedBorderRadius:false,layoutId:\"vnB1GHnLE\",loop:true,muted:true,objectFit:\"cover\",playing:true,poster:toImageSrc(gFDr8y3Br),posterEnabled:true,srcType:\"URL\",srcUrl:QT2shsp_E,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})}),/*#__PURE__*/_jsx(MotionDivWithHeroBannerBlur,{className:\"framer-1gq24gy\",\"data-framer-name\":\"Blur\",layoutDependency:layoutDependency,layoutId:\"jtQnfVCOO\"}),isDisplayed()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-uvlafr\",\"data-framer-name\":\"MobileHeroBanner\",layoutDependency:layoutDependency,layoutId:\"DhfUdeMcc\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-muhzw1\",\"data-framer-name\":\"HeroBannerTop\",layoutDependency:layoutDependency,layoutId:\"SizaxMpIi\"}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-qpltuj\",\"data-framer-name\":\"HeroBannerInfo\",layoutDependency:layoutDependency,layoutId:\"QPC5Drr_i\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-i9lysm\",\"data-framer-name\":\"HeroBannerInfoContents\",layoutDependency:layoutDependency,layoutId:\"Mj652hQqG\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1vj874g\",\"data-framer-name\":\"text-box\",layoutDependency:layoutDependency,layoutId:\"CFMOMZvkz\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Ep. 19 혼자만의 쉼이 필요한 날에는\"})}),className:\"framer-1xyp4yg\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"M5b6CVL5x\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:gCfdNGMzO,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-letter-spacing\":\"-0.02em\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:[\"일상 속 모험을 즐기는 사람들을 위한 \",/*#__PURE__*/_jsx(motion.span,{style:{\"--framer-text-color\":\"var(--extracted-1w3ko1f, rgb(0, 0, 0))\"},children:/*#__PURE__*/_jsx(motion.br,{})}),\"물건을 소개합니다.\"]})}),className:\"framer-z63gzf\",fonts:[\"CUSTOM;Pretendard Regular\"],layoutDependency:layoutDependency,layoutId:\"GRHdKwR2g\",style:{\"--extracted-1w3ko1f\":\"rgb(0, 0, 0)\",\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"12px\"},verticalAlignment:\"top\",withExternalLayout:true})]})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-143kxlk\",\"data-framer-name\":\"HeroBannerTopLogoBox\",layoutDependency:layoutDependency,layoutId:\"hy8UR7ut7\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-pz1tfp-container\",layoutDependency:layoutDependency,layoutId:\"qlZItwCe0-container\",children:/*#__PURE__*/_jsx(Logo,{company:\"Framer\",height:\"100%\",id:\"qlZItwCe0\",isSearch:false,layoutId:\"qlZItwCe0\",radius:0,srcType:\"URL\",srcUrl:EHnH0b2mU,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})]}),/*#__PURE__*/_jsx(MotionDivFadeInOut,{className:\"framer-1mm0j0x\",\"data-framer-name\":\"DownArrowIcon\",layoutDependency:layoutDependency,layoutId:\"MIJ1BHP9y\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-lvitj\",\"data-framer-name\":\"graphic\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"v72ZDeOTi\",opacity:1,style:{backgroundColor:\"rgba(0, 0, 0, 0)\"},svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 21 21\"><path d=\"M 12.728 0 L 12.728 12.728 L 0 12.728\" transform=\"translate(4.136 4.136) rotate(45 6.364 6.364)\" fill=\"transparent\" stroke-width=\"1.99\" stroke=\"hsl(0, 0%, 100%)\"></path></svg>',svgContentId:1351218148,withExternalLayout:true})})]})]}),isDisplayed1()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-n7fhb6\",layoutDependency:layoutDependency,layoutId:\"ig5d3AxJa\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-vtvcdq-container\",layoutDependency:layoutDependency,layoutId:\"AnxSBbgdM-container\",children:/*#__PURE__*/_jsx(VideoWithHeroBannerImage,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,canvasPlay:true,controls:false,height:\"100%\",id:\"AnxSBbgdM\",isMixedBorderRadius:false,layoutId:\"AnxSBbgdM\",loop:true,muted:true,objectFit:\"cover\",playing:true,poster:toImageSrc(VFui_42jF),posterEnabled:true,srcType:\"URL\",srcUrl:IB66QfGh1,startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})}),/*#__PURE__*/_jsx(MotionDivWithHeroBannerBlur,{className:\"framer-5hq1ii\",\"data-framer-name\":\"Blur\",layoutDependency:layoutDependency,layoutId:\"iFyb3xaG1\"}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-3unpr6\",\"data-framer-name\":\"DesktopHeroBanner\",layoutDependency:layoutDependency,layoutId:\"nQcUzOaAF\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-17qsdg2\",\"data-framer-name\":\"HeroBannerTop\",layoutDependency:layoutDependency,layoutId:\"MHEAnKqy8\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-zkiday\",\"data-framer-name\":\"HeroBannerTopLogoBox\",layoutDependency:layoutDependency,layoutId:\"h57J7Ker4\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-16gsc7t-container\",layoutDependency:layoutDependency,layoutId:\"kgyEOG0Od-container\",children:/*#__PURE__*/_jsx(Logo,{company:\"Framer\",height:\"100%\",id:\"kgyEOG0Od\",isSearch:false,layoutId:\"kgyEOG0Od\",radius:0,srcType:\"URL\",srcUrl:EHnH0b2mU,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-feu7la\",\"data-framer-name\":\"HeroBannerInfo\",layoutDependency:layoutDependency,layoutId:\"bJcdOPVuD\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-jtsixh\",\"data-framer-name\":\"HeroBannerInfoContents\",layoutDependency:layoutDependency,layoutId:\"q1dTHJJ8E\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-13fimv6\",\"data-framer-name\":\"text-box\",layoutDependency:layoutDependency,layoutId:\"XI5nfFx4o\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Ep. 19 혼자만의 쉼이 필요한 날에는\"})}),className:\"framer-194gogu\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"j22cnTI8Y\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:gCfdNGMzO,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"콘텐츠 설명\"})}),className:\"framer-vp8ijw\",fonts:[\"CUSTOM;Pretendard Regular\"],layoutDependency:layoutDependency,layoutId:\"ljxxLPzx6\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:ixl5vkaCb,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"20px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(255, 255, 255, 0.6))\"},children:\"프로모션 텍스트\"})}),className:\"framer-1q95fb\",fonts:[\"CUSTOM;Pretendard Regular\"],layoutDependency:layoutDependency,layoutId:\"ce_hrbqFC\",style:{\"--extracted-r6o4lv\":\"rgba(255, 255, 255, 0.6)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:AWK_gyual,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(MotionDivFadeInOut,{className:\"framer-249j77\",\"data-framer-name\":\"DownArrowIcon\",layoutDependency:layoutDependency,layoutId:\"Yob4WAI4o\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1sdbsti\",\"data-framer-name\":\"graphic\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"leUI8W8Cz\",opacity:1,style:{backgroundColor:\"rgba(0, 0, 0, 0)\"},svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 21 21\"><path d=\"M 12.728 0 L 12.728 12.728 L 0 12.728\" transform=\"translate(4.136 4.136) rotate(45 6.364 6.364)\" fill=\"transparent\" stroke-width=\"1.99\" stroke=\"hsl(0, 0%, 100%)\"></path></svg>',svgContentId:1351218148,withExternalLayout:true})})]})]})]})]})})});});const css=['.framer-qkFHY[data-border=\"true\"]::after, .framer-qkFHY [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-qkFHY.framer-1rfoglq, .framer-qkFHY .framer-1rfoglq { display: block; }\",\".framer-qkFHY.framer-f0z3vb { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 1330px; justify-content: center; padding: 0px 0px 0px 0px; position: relative; width: 1920px; }\",\".framer-qkFHY .framer-1hic9oq, .framer-qkFHY .framer-n7fhb6 { flex: 1 0 0px; height: 100%; overflow: visible; position: relative; width: 1px; }\",\".framer-qkFHY .framer-gl3wyb-container { flex: none; height: 100%; left: calc(50.00000000000002% - 100% / 2); position: absolute; top: calc(50.00000000000002% - 100% / 2); width: 100%; z-index: 0; }\",\".framer-qkFHY .framer-1gq24gy, .framer-qkFHY .framer-5hq1ii { bottom: 0px; flex: none; height: 40%; left: calc(50.00000000000002% - 100% / 2); overflow: visible; position: absolute; width: 100%; }\",\".framer-qkFHY .framer-uvlafr { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 100%; justify-content: flex-end; left: 0px; overflow: hidden; padding: 40px 0px 40px 0px; position: absolute; top: 0px; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-muhzw1 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 100%; justify-content: flex-start; left: calc(50.00000000000002% - 100% / 2); overflow: hidden; padding: 0px 0px 0px 0px; position: absolute; top: calc(50.00000000000002% - 100% / 2); width: 100%; z-index: 3; }\",\".framer-qkFHY .framer-qpltuj { align-content: flex-end; align-items: flex-end; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 30px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-i9lysm { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-1vj874g { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-1xyp4yg, .framer-qkFHY .framer-z63gzf, .framer-qkFHY .framer-194gogu, .framer-qkFHY .framer-vp8ijw, .framer-qkFHY .framer-1q95fb { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-qkFHY .framer-143kxlk { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-pz1tfp-container { flex: none; height: 130px; position: relative; width: 226px; }\",\".framer-qkFHY .framer-1mm0j0x { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: flex-end; overflow: visible; padding: 0px 0px 0px 0px; position: relative; width: 40px; z-index: 1; }\",\".framer-qkFHY .framer-lvitj, .framer-qkFHY .framer-1sdbsti { flex: none; height: 21px; position: relative; width: 21px; }\",\".framer-qkFHY .framer-vtvcdq-container { flex: none; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%; z-index: 0; }\",\".framer-qkFHY .framer-3unpr6 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 73%; justify-content: center; left: calc(50.00000000000002% - min(1515px, 88%) / 2); max-width: 1515px; overflow: visible; padding: 0px 0px 0px 0px; position: absolute; top: calc(48.10000000000002% - 73.05% / 2); width: 88%; }\",\".framer-qkFHY .framer-17qsdg2 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 20px; height: 50%; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-zkiday { align-content: center; align-items: center; display: flex; flex: 0.5 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 1px; }\",\".framer-qkFHY .framer-16gsc7t-container { flex: none; height: 188px; position: relative; width: 326px; }\",\".framer-qkFHY .framer-feu7la { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 26px; height: 50%; justify-content: flex-end; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; z-index: 1; }\",\".framer-qkFHY .framer-jtsixh { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 30px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 100%; }\",\".framer-qkFHY .framer-13fimv6 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 74px; justify-content: center; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 438px; }\",\".framer-qkFHY .framer-249j77 { align-content: center; align-items: center; aspect-ratio: 1 / 1; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: var(--framer-aspect-ratio-supported, 40px); justify-content: flex-end; overflow: visible; padding: 0px 0px 0px 0px; position: relative; width: 40px; z-index: 1; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-qkFHY.framer-f0z3vb, .framer-qkFHY .framer-uvlafr, .framer-qkFHY .framer-muhzw1, .framer-qkFHY .framer-qpltuj, .framer-qkFHY .framer-i9lysm, .framer-qkFHY .framer-1vj874g, .framer-qkFHY .framer-143kxlk, .framer-qkFHY .framer-1mm0j0x, .framer-qkFHY .framer-3unpr6, .framer-qkFHY .framer-17qsdg2, .framer-qkFHY .framer-zkiday, .framer-qkFHY .framer-feu7la, .framer-qkFHY .framer-jtsixh, .framer-qkFHY .framer-13fimv6, .framer-qkFHY .framer-249j77 { gap: 0px; } .framer-qkFHY.framer-f0z3vb > *, .framer-qkFHY .framer-143kxlk > *, .framer-qkFHY .framer-zkiday > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-qkFHY.framer-f0z3vb > :first-child, .framer-qkFHY .framer-143kxlk > :first-child, .framer-qkFHY .framer-17qsdg2 > :first-child, .framer-qkFHY .framer-zkiday > :first-child { margin-left: 0px; } .framer-qkFHY.framer-f0z3vb > :last-child, .framer-qkFHY .framer-143kxlk > :last-child, .framer-qkFHY .framer-17qsdg2 > :last-child, .framer-qkFHY .framer-zkiday > :last-child { margin-right: 0px; } .framer-qkFHY .framer-uvlafr > *, .framer-qkFHY .framer-muhzw1 > *, .framer-qkFHY .framer-3unpr6 > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-qkFHY .framer-uvlafr > :first-child, .framer-qkFHY .framer-muhzw1 > :first-child, .framer-qkFHY .framer-qpltuj > :first-child, .framer-qkFHY .framer-i9lysm > :first-child, .framer-qkFHY .framer-1vj874g > :first-child, .framer-qkFHY .framer-1mm0j0x > :first-child, .framer-qkFHY .framer-3unpr6 > :first-child, .framer-qkFHY .framer-feu7la > :first-child, .framer-qkFHY .framer-jtsixh > :first-child, .framer-qkFHY .framer-13fimv6 > :first-child, .framer-qkFHY .framer-249j77 > :first-child { margin-top: 0px; } .framer-qkFHY .framer-uvlafr > :last-child, .framer-qkFHY .framer-muhzw1 > :last-child, .framer-qkFHY .framer-qpltuj > :last-child, .framer-qkFHY .framer-i9lysm > :last-child, .framer-qkFHY .framer-1vj874g > :last-child, .framer-qkFHY .framer-1mm0j0x > :last-child, .framer-qkFHY .framer-3unpr6 > :last-child, .framer-qkFHY .framer-feu7la > :last-child, .framer-qkFHY .framer-jtsixh > :last-child, .framer-qkFHY .framer-13fimv6 > :last-child, .framer-qkFHY .framer-249j77 > :last-child { margin-bottom: 0px; } .framer-qkFHY .framer-qpltuj > *, .framer-qkFHY .framer-jtsixh > * { margin: 0px; margin-bottom: calc(30px / 2); margin-top: calc(30px / 2); } .framer-qkFHY .framer-i9lysm > * { margin: 0px; margin-bottom: calc(20px / 2); margin-top: calc(20px / 2); } .framer-qkFHY .framer-1vj874g > *, .framer-qkFHY .framer-1mm0j0x > *, .framer-qkFHY .framer-13fimv6 > *, .framer-qkFHY .framer-249j77 > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-qkFHY .framer-17qsdg2 > * { margin: 0px; margin-left: calc(20px / 2); margin-right: calc(20px / 2); } .framer-qkFHY .framer-feu7la > * { margin: 0px; margin-bottom: calc(26px / 2); margin-top: calc(26px / 2); } }\",\".framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb { flex-direction: column; height: 784px; justify-content: flex-end; width: 390px; }\",\".framer-qkFHY.framer-v-3qpg2x .framer-1hic9oq { height: 1px; width: 100%; }\",\".framer-qkFHY.framer-v-3qpg2x .framer-i9lysm { order: 1; }\",\".framer-qkFHY.framer-v-3qpg2x .framer-143kxlk { order: 0; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb { gap: 0px; } .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb > :first-child { margin-top: 0px; } .framer-qkFHY.framer-v-3qpg2x.framer-f0z3vb > :last-child { margin-bottom: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1330\n * @framerIntrinsicWidth 1920\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"agcndxlJx\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"gCfdNGMzO\":\"title\",\"ixl5vkaCb\":\"description\",\"AWK_gyual\":\"promotions\",\"EHnH0b2mU\":\"logo\",\"IB66QfGh1\":\"desktopMainVideoURL\",\"QT2shsp_E\":\"mobileMainVideoURL\",\"VFui_42jF\":\"desktopPoster\",\"gFDr8y3Br\":\"mobilePoster\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n */const FramersXEZN54Hy=withCSS(Component,css,\"framer-qkFHY\");export default FramersXEZN54Hy;FramersXEZN54Hy.displayName=\"HeroBanner\";FramersXEZN54Hy.defaultProps={height:1330,width:1920};addPropertyControls(FramersXEZN54Hy,{variant:{options:[\"kp8MZzCMm\",\"agcndxlJx\"],optionTitles:[\"DesktopHeroBanner\",\"MobileHeroBanner\"],title:\"Variant\",type:ControlType.Enum},gCfdNGMzO:{defaultValue:\"콘텐츠 제목\",placeholder:\"콘텐츠 제목\",title:\"title\",type:ControlType.String},ixl5vkaCb:{defaultValue:\"콘텐츠 설명\",displayTextArea:true,placeholder:\"콘텐츠 설명\",title:\"description\",type:ControlType.String},AWK_gyual:{defaultValue:\"프로모션 텍스트\",placeholder:\"프로모션 텍스트\",title:\"promotions\",type:ControlType.String},EHnH0b2mU:{defaultValue:\"\",placeholder:\"로고 URL\",title:\"logo\",type:ControlType.String},IB66QfGh1:{defaultValue:\"\",placeholder:\"데스크탑 비디오 URL\",title:\"desktopMainVideoURL\",type:ControlType.String},QT2shsp_E:{defaultValue:'\"\"',placeholder:\"모바일 비디오 URL\",title:\"mobileMainVideoURL\",type:ControlType.String},VFui_42jF:{title:\"desktopPoster\",type:ControlType.ResponsiveImage},gFDr8y3Br:{title:\"mobilePoster\",type:ControlType.ResponsiveImage}});addFonts(FramersXEZN54Hy,[{family:\"Pretendard Bold\",url:\"https://framerusercontent.com/assets/crzkHU25cJonwO6VK1IAv8AG9g.woff2\"},{family:\"Pretendard Regular\",url:\"https://framerusercontent.com/assets/Rs6Z4930tvYq1KEhYJKErYwTPE.woff2\"},...VideoFonts,...LogoFonts]);\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramersXEZN54Hy\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"gCfdNGMzO\\\":\\\"title\\\",\\\"ixl5vkaCb\\\":\\\"description\\\",\\\"AWK_gyual\\\":\\\"promotions\\\",\\\"EHnH0b2mU\\\":\\\"logo\\\",\\\"IB66QfGh1\\\":\\\"desktopMainVideoURL\\\",\\\"QT2shsp_E\\\":\\\"mobileMainVideoURL\\\",\\\"VFui_42jF\\\":\\\"desktopPoster\\\",\\\"gFDr8y3Br\\\":\\\"mobilePoster\\\"}\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"1920\",\"framerIntrinsicHeight\":\"1330\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"agcndxlJx\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./sXEZN54Hy.map","/*\n * HeroBanner\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/aaRHInB5Hb8uvFjxVMtg/4mHBDtH2gTLemCxxmPRx/sXEZN54Hy.js\"\nexport { default } from \"https://framerusercontent.com/modules/aaRHInB5Hb8uvFjxVMtg/4mHBDtH2gTLemCxxmPRx/sXEZN54Hy.js\"\n","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsOnFramerCanvas}from\"framer\";import{Bootstrap as BaseBootstrap}from\"https://asset.29cm.co.kr/contents/framer/core/Bootstrap/Bootstrap.js\";import{useAppInstallBannerVisibility}from\"https://asset.29cm.co.kr/contents/framer/hooks/useAppInstallBannerVisibility.js\";import{useInitializeNaverEp}from\"https://asset.29cm.co.kr/contents/framer/hooks/useInitializeNaverEp.js\";import WebGNB from\"https://framer.com/m/WebGNB-JO9I.js@80nWBjrnJFW0OScYfNAq\";import AppInstallBanner from\"https://framer.com/m/AppInstallBanner-X61X.js@fflPj6Y0Jus27koQKuvo\";import HeroBanner from\"https://framer.com/m/HeroBanner-2wn4.js@4mHBDtH2gTLemCxxmPRx\";const APP_INSTALL_HIDE_DURATION=1800// 30분 (초 단위)\n;/**\n * @framerSupportedLayoutWidth fixed\n * @framerDisableUnlink\n */export default function Bootstrap(props){var _metadata_logo;const{gnb,metadata}=props;const isOnFramerCanvas=useIsOnFramerCanvas();const{hidden,hide}=useAppInstallBannerVisibility();useInitializeNaverEp(()=>hide(APP_INSTALL_HIDE_DURATION));var _metadata_logo_src;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(BaseBootstrap,{sendMetadata:isOnFramerCanvas,...props,metadata:{...metadata,displayEndAt:metadata.hasDisplayEndAt===true?metadata.displayEndAt:{date:undefined,hours:0,minutes:0,seconds:0}}}),!isOnFramerCanvas?/*#__PURE__*/_jsxs(_Fragment,{children:[hidden?null:/*#__PURE__*/_jsx(AppInstallBanner,{style:{position:\"relative\",zIndex:\"1000\",width:\"100%\"}}),gnb.visible?/*#__PURE__*/_jsx(WebGNB,{variant:props.gnb.theme,style:{width:\"100%\",position:\"absolute\",top:0,left:0,zIndex:2}}):null]}):null,props.heroBanner.visible?/*#__PURE__*/_jsx(HeroBanner,{...metadata,logo:(_metadata_logo_src=(_metadata_logo=metadata.logo)===null||_metadata_logo===void 0?void 0:_metadata_logo.src)!==null&&_metadata_logo_src!==void 0?_metadata_logo_src:\"\",style:props.style,variant:props.heroBanner.layout}):null]});}addPropertyControls(Bootstrap,{contentId:{type:ControlType.String,description:\"콘텐츠 아이디\"},gnb:{type:ControlType.Object,controls:{theme:{type:ControlType.Enum,title:\"GNB 테마\",defaultValue:\"Light\",options:[\"Light\",\"Dark\"]},visible:{type:ControlType.Boolean,title:\"GNB 유무\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"}}},useAdvancedReadingIndexTracking:{type:ControlType.Boolean,title:\"정독지수 측정 개선 적용 여부\",description:\"실험 기능이므로, 콘텐츠 스쿼드 구성원과 논의 후 활성화해 주세요.\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},excludeSectionIds:{type:ControlType.Array,title:\"정독지수 제외할 스크롤 섹션 ID\",control:{type:ControlType.String,title:\"스크롤 섹션 ID\"},hidden(props){return props.useAdvancedReadingIndexTracking===false;}},heroBanner:{type:ControlType.Object,description:\"HeroBanner 제어\",controls:{visible:{type:ControlType.Boolean,enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false,description:\"노출 여부\"},layout:{type:ControlType.Enum,defaultValue:\"DesktopHeroBanner\",options:[\"DesktopHeroBanner\",\"MobileHeroBanner\"],optionTitles:[\"데스크탑\",\"모바일\"],description:\"레이아웃\"}}},hideShareButton:{title:\"기본 공유하기 버튼 숨김 여부\",type:ControlType.Boolean,enabledTitle:\"숨김\",disabledTitle:\"노출\",defaultValue:false},metadata:{type:ControlType.Object,description:\"콘텐츠 메타데이터\",controls:{title:{type:ControlType.String,description:\"콘텐츠 제목 (필수)\"},description:{type:ControlType.String,description:\"콘텐츠 설명 (필수)\"},promotions:{type:ControlType.String,description:\"콘텐츠 프로모션\"},logo:{type:ControlType.ResponsiveImage,description:\"콘텐츠 로고\"},desktopPoster:{type:ControlType.ResponsiveImage,description:\"PC 커버 이미지 (필수)\"},mobilePoster:{type:ControlType.ResponsiveImage,description:\"모바일 커버 이미지 (필수)\"},desktopMainVideoURL:{type:ControlType.String,description:\"PC 메인 비디오 URL\"},mobileMainVideoURL:{type:ControlType.String,description:\"모바일 메인 비디오 URL\"},hasDisplayEndAt:{type:ControlType.Boolean,title:\"노출 종료일시 유무\",description:\"비활성화 시 메타데이터에서 노출 종료일이 제외됩니다.\",defaultValue:true},displayStartAt:{type:ControlType.Object,description:\"콘텐츠 노출 시작일시 (필수)\",controls:{date:{type:ControlType.Date,description:\"날짜\"},hours:{type:ControlType.Number,defaultValue:0,min:0,max:23,unit:\"시\",step:1,displayStepper:true,description:\"시\"},minutes:{type:ControlType.Number,defaultValue:0,min:0,max:59,unit:\"분\",step:1,displayStepper:true,description:\"분\"}}},displayEndAt:{hidden:({hasDisplayEndAt})=>hasDisplayEndAt===false,type:ControlType.Object,description:\"콘텐츠 노출 종료일시\",controls:{date:{type:ControlType.Date,description:\"날짜\"},hours:{type:ControlType.Number,defaultValue:0,min:0,max:23,unit:\"시\",step:1,displayStepper:true,description:\"시\"},minutes:{type:ControlType.Number,defaultValue:0,min:0,max:59,unit:\"분\",step:1,displayStepper:true,description:\"분\"}}}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Bootstrap\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Bootstrap.map","function addUniqueItem(t,e){-1===t.indexOf(e)&&t.push(e)}function removeItem(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const clamp=(t,e,n)=>Math.min(Math.max(n,t),e);const t={duration:.3,delay:0,endDelay:0,repeat:0,easing:\"ease\"};const isNumber=t=>\"number\"===typeof t;const isEasingList=t=>Array.isArray(t)&&!isNumber(t[0]);const wrap=(t,e,n)=>{const o=e-t;return((n-t)%o+o)%o+t};function getEasingForSegment(t,e){return isEasingList(t)?t[wrap(0,t.length,e)]:t}const mix=(t,e,n)=>-n*t+n*e+t;const noop=()=>{};const noopReturn=t=>t;const progress=(t,e,n)=>e-t===0?1:(n-t)/(e-t);function fillOffset(t,e){const n=t[t.length-1];for(let o=1;o<=e;o++){const s=progress(0,e,o);t.push(mix(n,1,s))}}function defaultOffset(t){const e=[0];fillOffset(e,t-1);return e}function interpolate(t,e=defaultOffset(t.length),n=noopReturn){const o=t.length;const s=o-e.length;s>0&&fillOffset(e,s);return s=>{let f=0;for(;f<o-2;f++)if(s<e[f+1])break;let r=clamp(0,1,progress(e[f],e[f+1],s));const c=getEasingForSegment(n,f);r=c(r);return mix(t[f],t[f+1],r)}}const isCubicBezier=t=>Array.isArray(t)&&isNumber(t[0]);const isEasingGenerator=t=>\"object\"===typeof t&&Boolean(t.createAnimation);const isFunction=t=>\"function\"===typeof t;const isString=t=>\"string\"===typeof t;const e={ms:t=>1e3*t,s:t=>t/1e3};\n/*\n  Convert velocity into velocity per second\n\n  @param [number]: Unit per frame\n  @param [number]: Frame duration in ms\n*/function velocityPerSecond(t,e){return e?t*(1e3/e):0}export{addUniqueItem,clamp,defaultOffset,t as defaults,fillOffset,getEasingForSegment,interpolate,isCubicBezier,isEasingGenerator,isEasingList,isFunction,isNumber,isString,mix,noop,noopReturn,progress,removeItem,e as time,velocityPerSecond,wrap};\n\n//# sourceMappingURL=index.es.js.map","import{noopReturn as t,clamp as n}from\"@motionone/utils\";const calcBezier=(t,n,e)=>(((1-3*e+3*n)*t+(3*e-6*n))*t+3*n)*t;const e=1e-7;const i=12;function binarySubdivide(t,n,o,r,c){let u;let a;let s=0;do{a=n+(o-n)/2;u=calcBezier(a,r,c)-t;u>0?o=a:n=a}while(Math.abs(u)>e&&++s<i);return a}function cubicBezier(n,e,i,o){if(n===e&&i===o)return t;const getTForX=t=>binarySubdivide(t,0,1,n,i);return t=>0===t||1===t?t:calcBezier(getTForX(t),e,o)}const steps=(t,e=\"end\")=>i=>{i=\"end\"===e?Math.min(i,.999):Math.max(i,.001);const o=i*t;const r=\"end\"===e?Math.floor(o):Math.ceil(o);return n(0,1,r/t)};export{cubicBezier,steps};\n\n//# sourceMappingURL=index.es.js.map","import{noopReturn as t,defaults as i,isEasingGenerator as e,isEasingList as s,interpolate as a}from\"@motionone/utils\";import{cubicBezier as n,steps as r}from\"@motionone/easing\";const o={ease:n(.25,.1,.25,1),\"ease-in\":n(.42,0,1,1),\"ease-in-out\":n(.42,0,.58,1),\"ease-out\":n(0,0,.58,1)};const h=/\\((.*?)\\)/;function getEasingFunction(i){if(\"function\"===typeof i)return i;if(Array.isArray(i))return n(...i);if(o[i])return o[i];if(i.startsWith(\"steps\")){const t=h.exec(i);if(t){const i=t[1].split(\",\");return r(parseFloat(i[0]),i[1].trim())}}return t}class Animation{constructor(n,r=[0,1],{easing:o,duration:h=i.duration,delay:u=i.delay,endDelay:l=i.endDelay,repeat:m=i.repeat,offset:c,direction:p=\"normal\"}={}){this.startTime=null;this.rate=1;this.t=0;this.cancelTimestamp=null;this.easing=t;this.duration=0;this.totalDuration=0;this.repeat=0;this.playState=\"idle\";this.finished=new Promise(((t,i)=>{this.resolve=t;this.reject=i}));o=o||i.easing;if(e(o)){const t=o.createAnimation(r,(()=>\"0\"),true);o=t.easing;void 0!==t.keyframes&&(r=t.keyframes);void 0!==t.duration&&(h=t.duration)}this.repeat=m;this.easing=s(o)?t:getEasingFunction(o);this.updateDuration(h);const d=a(r,c,s(o)?o.map(getEasingFunction):t);this.tick=t=>{var i;u=u;let e=0;e=void 0!==this.pauseTime?this.pauseTime:(t-this.startTime)*this.rate;this.t=e;e/=1e3;e=Math.max(e-u,0);\"finished\"===this.playState&&void 0===this.pauseTime&&(e=this.totalDuration);const s=e/this.duration;let a=Math.floor(s);let r=s%1;!r&&s>=1&&(r=1);1===r&&a--;const o=a%2;(\"reverse\"===p||\"alternate\"===p&&o||\"alternate-reverse\"===p&&!o)&&(r=1-r);const h=e>=this.totalDuration?1:Math.min(r,1);const m=d(this.easing(h));n(m);const c=void 0===this.pauseTime&&(\"finished\"===this.playState||e>=this.totalDuration+l);if(c){this.playState=\"finished\";null===(i=this.resolve)||void 0===i?void 0:i.call(this,m)}else\"idle\"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))};this.play()}play(){const t=performance.now();this.playState=\"running\";void 0!==this.pauseTime?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t);this.cancelTimestamp=this.startTime;this.pauseTime=void 0;this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState=\"paused\";this.pauseTime=this.t}finish(){this.playState=\"finished\";this.tick(0)}stop(){var t;this.playState=\"idle\";void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId);null===(t=this.reject)||void 0===t?void 0:t.call(this,false)}cancel(){this.stop();this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t;this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){void 0!==this.pauseTime||0===this.rate?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}export{Animation,getEasingFunction};\n\n//# sourceMappingURL=index.es.js.map","var extendStatics=function(e,t){extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])};return extendStatics(e,t)};function __extends(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Class extends value \"+String(t)+\" is not a constructor or null\");extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var __assign=function(){__assign=Object.assign||function __assign(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e};return __assign.apply(this,arguments)};function __rest(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function __decorate(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if(\"object\"===typeof Reflect&&\"function\"===typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function __param(e,t){return function(r,n){t(r,n,e)}}function __metadata(e,t){if(\"object\"===typeof Reflect&&\"function\"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n.throw(e))}catch(e){o(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))}function __generator(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:verb(0),throw:verb(1),return:verb(2)},\"function\"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function verb(e){return function(t){return step([e,t])}}function step(a){if(r)throw new TypeError(\"Generator is already executing.\");while(i)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;(n=0,o)&&(a=[2&a[0],o.value]);switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}o[2]&&i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:true}}}var e=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:true,get:function(){return t[r]}});Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r);e[n]=t[r]};function __exportStar(t,r){for(var n in t)\"default\"===n||Object.prototype.hasOwnProperty.call(r,n)||e(r,t,n)}function __values(e){var t=\"function\"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&\"number\"===typeof e.length)return{next:function(){e&&n>=e.length&&(e=void 0);return{value:e&&e[n++],done:!e}}};throw new TypeError(t?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function __read(e,t){var r=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{while((void 0===t||t-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}\n/** @deprecated */function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}\n/** @deprecated */function __spreadArrays(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,c=a.length;i<c;i++,o++)n[o]=a[i];return n}function __spreadArray(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)if(n||!(o in t)){n||(n=Array.prototype.slice.call(t,0,o));n[o]=t[o]}return e.concat(n||Array.prototype.slice.call(t))}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(e,t,r){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var n,o=r.apply(e,t||[]),a=[];return n={},verb(\"next\"),verb(\"throw\"),verb(\"return\"),n[Symbol.asyncIterator]=function(){return this},n;function verb(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||resume(e,t)}))})}function resume(e,t){try{step(o[e](t))}catch(e){settle(a[0][3],e)}}function step(e){e.value instanceof __await?Promise.resolve(e.value.v).then(fulfill,reject):settle(a[0][2],e)}function fulfill(e){resume(\"next\",e)}function reject(e){resume(\"throw\",e)}function settle(e,t){(e(t),a.shift(),a.length)&&resume(a[0][0],a[0][1])}}function __asyncDelegator(e){var t,r;return t={},verb(\"next\"),verb(\"throw\",(function(e){throw e})),verb(\"return\"),t[Symbol.iterator]=function(){return this},t;function verb(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:\"return\"===n}:o?o(t):t}:o}}function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=\"function\"===typeof __values?__values(e):e[Symbol.iterator](),t={},verb(\"next\"),verb(\"throw\"),verb(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function verb(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){t=e[r](t),settle(n,o,t.done,t.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}}function __makeTemplateObject(e,t){Object.defineProperty?Object.defineProperty(e,\"raw\",{value:t}):e.raw=t;return e}var t=Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:true,value:t})}:function(e,t){e.default=t};function __importStar(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var o in r)\"default\"!==o&&Object.prototype.hasOwnProperty.call(r,o)&&e(n,r,o);t(n,r);return n}function __importDefault(e){return e&&e.__esModule?e:{default:e}}function __classPrivateFieldGet(e,t,r,n){if(\"a\"===r&&!n)throw new TypeError(\"Private accessor was defined without a getter\");if(\"function\"===typeof t?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return\"m\"===r?n:\"a\"===r?n.call(e):n?n.value:t.get(e)}function __classPrivateFieldSet(e,t,r,n,o){if(\"m\"===n)throw new TypeError(\"Private method is not writable\");if(\"a\"===n&&!o)throw new TypeError(\"Private accessor was defined without a setter\");if(\"function\"===typeof t?e!==t||!o:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return\"a\"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function __classPrivateFieldIn(e,t){if(null===t||\"object\"!==typeof t&&\"function\"!==typeof t)throw new TypeError(\"Cannot use 'in' operator on non-object\");return\"function\"===typeof e?t===e:e.has(t)}export{__assign,__asyncDelegator,__asyncGenerator,__asyncValues,__await,__awaiter,__classPrivateFieldGet,__classPrivateFieldIn,__classPrivateFieldSet,e as __createBinding,__decorate,__exportStar,__extends,__generator,__importDefault,__importStar,__makeTemplateObject,__metadata,__param,__read,__rest,__spread,__spreadArray,__spreadArrays,__values};\n\n//# sourceMappingURL=tslib.es6.js.map","var n={};Object.defineProperty(n,\"__esModule\",{value:true});n.warning=function(){};n.invariant=function(){};const e=n.__esModule,t=n.warning,r=n.invariant;export default n;export{e as __esModule,r as invariant,t as warning};\n\n//# sourceMappingURL=index.js.map","import{velocityPerSecond as e,time as t}from\"@motionone/utils\";const s=5;function calcGeneratorVelocity(t,n,r){const a=Math.max(n-s,0);return e(r-t(a),n-a)}const n={stiffness:100,damping:10,mass:1};const calcDampingRatio=(e=n.stiffness,t=n.damping,s=n.mass)=>t/(2*Math.sqrt(e*s));function hasReachedTarget(e,t,s){return e<t&&s>=t||e>t&&s<=t}const spring=({stiffness:e=n.stiffness,damping:s=n.damping,mass:r=n.mass,from:a=0,to:o=1,velocity:c=0,restSpeed:i=2,restDistance:h=.5}={})=>{c=c?t.s(c):0;const u={done:false,hasReachedTarget:false,current:a,target:o};const d=o-a;const f=Math.sqrt(e/r)/1e3;const l=calcDampingRatio(e,s,r);let g;if(l<1){const e=f*Math.sqrt(1-l*l);g=t=>o-Math.exp(-l*f*t)*((l*f*d-c)/e*Math.sin(e*t)+d*Math.cos(e*t))}else g=e=>o-Math.exp(-f*e)*(d+(f*d-c)*e);return e=>{u.current=g(e);const t=0===e?c:calcGeneratorVelocity(g,e,u.current);const s=Math.abs(t)<=i;const n=Math.abs(o-u.current)<=h;u.done=s&&n;u.hasReachedTarget=hasReachedTarget(a,o,u.current);return u}};const glide=({from:e=0,velocity:s=0,power:n=.8,decay:r=.325,bounceDamping:a,bounceStiffness:o,changeTarget:c,min:i,max:h,restDistance:u=.5,restSpeed:d})=>{r=t.ms(r);const f={hasReachedTarget:false,done:false,current:e,target:e};const isOutOfBounds=e=>void 0!==i&&e<i||void 0!==h&&e>h;const nearestBoundary=e=>void 0===i?h:void 0===h||Math.abs(i-e)<Math.abs(h-e)?i:h;let l=n*s;const g=e+l;const m=void 0===c?g:c(g);f.target=m;m!==g&&(l=m-e);const calcDelta=e=>-l*Math.exp(-e/r);const calcLatest=e=>m+calcDelta(e);const applyFriction=e=>{const t=calcDelta(e);const s=calcLatest(e);f.done=Math.abs(t)<=u;f.current=f.done?m:s};let p;let M;const checkCatchBoundary=e=>{if(isOutOfBounds(f.current)){p=e;M=spring({from:f.current,to:nearestBoundary(f.current),velocity:calcGeneratorVelocity(calcLatest,e,f.current),damping:a,stiffness:o,restDistance:u,restSpeed:d})}};checkCatchBoundary(0);return e=>{let t=false;if(!M&&void 0===p){t=true;applyFriction(e);checkCatchBoundary(e)}if(void 0!==p&&e>p){f.hasReachedTarget=true;return M(e-p)}f.hasReachedTarget=false;!t&&applyFriction(e);return f}};const r=10;const a=1e4;function pregenerateKeyframes(e){let t;let s=r;let n=e(0);const o=[n.current];while(!n.done&&s<a){n=e(s);o.push(n.done?n.target:n.current);void 0===t&&n.hasReachedTarget&&(t=s);s+=r}const c=s-r;1===o.length&&o.push(n.current);return{keyframes:o,duration:c/1e3,overshootDuration:(null!==t&&void 0!==t?t:c)/1e3}}export{calcGeneratorVelocity,glide,pregenerateKeyframes,spring};\n\n//# sourceMappingURL=index.es.js.map","import{MotionValue as e}from\"@motionone/types\";import{noopReturn as t,addUniqueItem as n,isCubicBezier as o,defaults as i,isEasingGenerator as s,isNumber as r,time as a,isEasingList as c,noop as l,removeItem as f,mix as u,getEasingForSegment as d,isString as g,defaultOffset as m,fillOffset as h,progress as p,velocityPerSecond as v,interpolate as y}from\"@motionone/utils\";import{Animation as w,getEasingFunction as E}from\"@motionone/animation\";import{__rest as b}from\"tslib\";import{invariant as S}from\"hey-listen\";import{pregenerateKeyframes as A,calcGeneratorVelocity as O,spring as x,glide as V}from\"@motionone/generators\";const z=new WeakMap;function getAnimationData(e){z.has(e)||z.set(e,{transforms:[],values:new Map});return z.get(e)}function getMotionValue(t,n){t.has(n)||t.set(n,new e);return t.get(n)}const W=[\"\",\"X\",\"Y\",\"Z\"];const L=[\"translate\",\"scale\",\"rotate\",\"skew\"];const T={x:\"translateX\",y:\"translateY\",z:\"translateZ\"};const D={syntax:\"<angle>\",initialValue:\"0deg\",toDefaultUnit:e=>e+\"deg\"};const M={translate:{syntax:\"<length-percentage>\",initialValue:\"0px\",toDefaultUnit:e=>e+\"px\"},rotate:D,scale:{syntax:\"<number>\",initialValue:1,toDefaultUnit:t},skew:D};const k=new Map;const asTransformCssVar=e=>`--motion-${e}`;const B=[\"x\",\"y\",\"z\"];L.forEach((e=>{W.forEach((t=>{B.push(e+t);k.set(asTransformCssVar(e+t),M[e])}))}));const compareTransformOrder=(e,t)=>B.indexOf(e)-B.indexOf(t);const j=new Set(B);const isTransform=e=>j.has(e);const addTransformToElement=(e,t)=>{T[t]&&(t=T[t]);const{transforms:o}=getAnimationData(e);n(o,t);e.style.transform=buildTransformTemplate(o)};const buildTransformTemplate=e=>e.sort(compareTransformOrder).reduce(transformListToString,\"\").trim();const transformListToString=(e,t)=>`${e} ${t}(var(${asTransformCssVar(t)}))`;const isCssVar=e=>e.startsWith(\"--\");const P=new Set;function registerCssVariable(e){if(!P.has(e)){P.add(e);try{const{syntax:t,initialValue:n}=k.has(e)?k.get(e):{};CSS.registerProperty({name:e,inherits:false,syntax:t,initialValue:n})}catch(e){}}}const convertEasing=e=>o(e)?cubicBezierAsString(e):e;const cubicBezierAsString=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`;const testAnimation=e=>document.createElement(\"div\").animate(e,{duration:.001});const C={cssRegisterProperty:()=>\"undefined\"!==typeof CSS&&Object.hasOwnProperty.call(CSS,\"registerProperty\"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,\"animate\"),partialKeyframes:()=>{try{testAnimation({opacity:[1]})}catch(e){return false}return true},finished:()=>Boolean(testAnimation({opacity:[0,1]}).finished)};const $={};const R={};for(const e in C)R[e]=()=>{void 0===$[e]&&($[e]=C[e]());return $[e]};function hydrateKeyframes(e,t){for(let n=0;n<e.length;n++)null===e[n]&&(e[n]=n?e[n-1]:t());return e}const keyframesList=e=>Array.isArray(e)?e:[e];function getStyleName(e){T[e]&&(e=T[e]);return isTransform(e)?asTransformCssVar(e):e}const H={get:(e,t)=>{t=getStyleName(t);let n=isCssVar(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&0!==n){const e=k.get(t);e&&(n=e.initialValue)}return n},set:(e,t,n)=>{t=getStyleName(t);isCssVar(t)?e.style.setProperty(t,n):e.style[t]=n}};function stopAnimation(e,t=true){if(e&&\"finished\"!==e.playState)try{if(e.stop)e.stop();else{t&&e.commitStyles();e.cancel()}}catch(e){}}function getDevToolsRecord(){return window.__MOTION_DEV_TOOLS_RECORD}function animateStyle(e,t,n,o={}){const f=getDevToolsRecord();const u=false!==o.record&&f;let d;let{duration:g=i.duration,delay:m=i.delay,endDelay:h=i.endDelay,repeat:p=i.repeat,easing:v=i.easing,direction:y,offset:E,allowWebkitAcceleration:b=false}=o;const S=getAnimationData(e);let A=R.waapi();const O=isTransform(t);O&&addTransformToElement(e,t);const x=getStyleName(t);const V=getMotionValue(S.values,x);const z=k.get(x);stopAnimation(V.animation,!(s(v)&&V.generator)&&false!==o.record);return()=>{const readInitialValue=()=>{var t,n;return null!==(n=null!==(t=H.get(e,x))&&void 0!==t?t:null===z||void 0===z?void 0:z.initialValue)&&void 0!==n?n:0};let i=hydrateKeyframes(keyframesList(n),readInitialValue);if(s(v)){const e=v.createAnimation(i,readInitialValue,O,x,V);v=e.easing;void 0!==e.keyframes&&(i=e.keyframes);void 0!==e.duration&&(g=e.duration)}isCssVar(x)&&(R.cssRegisterProperty()?registerCssVariable(x):A=false);if(A){z&&(i=i.map((e=>r(e)?z.toDefaultUnit(e):e)));1!==i.length||R.partialKeyframes()&&!u||i.unshift(readInitialValue());const t={delay:a.ms(m),duration:a.ms(g),endDelay:a.ms(h),easing:c(v)?void 0:convertEasing(v),direction:y,iterations:p+1,fill:\"both\"};d=e.animate({[x]:i,offset:E,easing:c(v)?v.map(convertEasing):void 0},t);d.finished||(d.finished=new Promise(((e,t)=>{d.onfinish=e;d.oncancel=t})));const n=i[i.length-1];d.finished.then((()=>{H.set(e,x,n);d.cancel()})).catch(l);b||(d.playbackRate=1.000001)}else if(O){i=i.map((e=>\"string\"===typeof e?parseFloat(e):e));1===i.length&&i.unshift(parseFloat(readInitialValue()));const render=t=>{z&&(t=z.toDefaultUnit(t));H.set(e,x,t)};d=new w(render,i,Object.assign(Object.assign({},o),{duration:g,easing:v}))}else{const t=i[i.length-1];H.set(e,x,z&&r(t)?z.toDefaultUnit(t):t)}u&&f(e,t,i,{duration:g,delay:m,easing:v,repeat:p,offset:E},\"motion-one\");V.setAnimation(d);return d}}const getOptions=(e,t)=>e[t]?Object.assign(Object.assign({},e),e[t]):Object.assign({},e);function resolveElements(e,t){var n;if(\"string\"===typeof e)if(t){null!==(n=t[e])&&void 0!==n?n:t[e]=document.querySelectorAll(e);e=t[e]}else e=document.querySelectorAll(e);else e instanceof Element&&(e=[e]);return Array.from(e||[])}const createAnimation=e=>e();const withControls=(e,t,n=i.duration)=>new Proxy({animations:e.map(createAnimation).filter(Boolean),duration:n,options:t},I);const getActiveAnimation=e=>e.animations[0];const I={get:(e,t)=>{const n=getActiveAnimation(e);switch(t){case\"duration\":return e.duration;case\"currentTime\":return a.s((null===n||void 0===n?void 0:n[t])||0);case\"playbackRate\":case\"playState\":return null===n||void 0===n?void 0:n[t];case\"finished\":e.finished||(e.finished=Promise.all(e.animations.map(selectFinished)).catch(l));return e.finished;case\"stop\":return()=>{e.animations.forEach((e=>stopAnimation(e)))};case\"forEachNative\":return t=>{e.animations.forEach((n=>t(n,e)))};default:return\"undefined\"===typeof(null===n||void 0===n?void 0:n[t])?void 0:()=>e.animations.forEach((e=>e[t]()))}},set:(e,t,n)=>{switch(t){case\"currentTime\":n=a.ms(n);case\"currentTime\":case\"playbackRate\":for(let o=0;o<e.animations.length;o++)e.animations[o][t]=n;return true}return false}};const selectFinished=e=>e.finished;function stagger(e=.1,{start:t=0,from:n=0,easing:o}={}){return(i,s)=>{const a=r(n)?n:getFromIndex(n,s);const c=Math.abs(a-i);let l=e*c;if(o){const t=s*e;const n=E(o);l=n(l/t)*t}return t+l}}function getFromIndex(e,t){if(\"first\"===e)return 0;{const n=t-1;return\"last\"===e?n:n/2}}function resolveOption(e,t,n){return\"function\"===typeof e?e(t,n):e}function animate(e,t,n={}){e=resolveElements(e);const o=e.length;const i=[];for(let s=0;s<o;s++){const r=e[s];for(const e in t){const a=getOptions(n,e);a.delay=resolveOption(a.delay,s,o);const c=animateStyle(r,e,t[e],a);i.push(c)}}return withControls(i,n,n.duration)}function calcNextTime(e,t,n,o){var i;return r(t)?t:t.startsWith(\"-\")||t.startsWith(\"+\")?Math.max(0,e+parseFloat(t)):\"<\"===t?n:null!==(i=o.get(t))&&void 0!==i?i:e}function eraseKeyframes(e,t,n){for(let o=0;o<e.length;o++){const i=e[o];if(i.at>t&&i.at<n){f(e,i);o--}}}function addKeyframes(e,t,n,o,i,s){eraseKeyframes(e,i,s);for(let r=0;r<t.length;r++)e.push({value:t[r],at:u(i,s,o[r]),easing:d(n,r)})}function compareByTime(e,t){return e.at===t.at?null===e.value?1:-1:e.at-t.at}function timeline(e,t={}){var n;const o=createAnimationsFromTimeline(e,t);const i=o.map((e=>animateStyle(...e))).filter(Boolean);return withControls(i,t,null===(n=o[0])||void 0===n?void 0:n[3].duration)}function createAnimationsFromTimeline(e,t={}){var{defaultOptions:n={}}=t,o=b(t,[\"defaultOptions\"]);const r=[];const a=new Map;const c={};const l=new Map;let f=0;let u=0;let d=0;for(let t=0;t<e.length;t++){const o=e[t];if(g(o)){l.set(o,u);continue}if(!Array.isArray(o)){l.set(o.name,calcNextTime(u,o.at,f,l));continue}const[r,p,v={}]=o;void 0!==v.at&&(u=calcNextTime(u,v.at,f,l));let y=0;const w=resolveElements(r,c);const E=w.length;for(let e=0;e<E;e++){const t=w[e];const o=getElementSequence(t,a);for(const t in p){const r=getValueSequence(t,o);let a=keyframesList(p[t]);const c=getOptions(v,t);let{duration:l=n.duration||i.duration,easing:f=n.easing||i.easing}=c;if(s(f)){const e=isTransform(t);S(2===a.length||!e,\"spring must be provided 2 keyframes within timeline\");const n=f.createAnimation(a,(()=>\"0\"),e);f=n.easing;void 0!==n.keyframes&&(a=n.keyframes);void 0!==n.duration&&(l=n.duration)}const g=resolveOption(v.delay,e,E)||0;const w=u+g;const b=w+l;let{offset:A=m(a.length)}=c;1===A.length&&0===A[0]&&(A[1]=1);const O=length-a.length;O>0&&h(A,O);1===a.length&&a.unshift(null);addKeyframes(r,a,f,A,w,b);y=Math.max(g+l,y);d=Math.max(b,d)}}f=u;u+=y}a.forEach(((e,t)=>{for(const s in e){const a=e[s];a.sort(compareByTime);const c=[];const l=[];const f=[];for(let e=0;e<a.length;e++){const{at:t,value:n,easing:o}=a[e];c.push(n);l.push(p(0,d,t));f.push(o||i.easing)}if(0!==l[0]){l.unshift(0);c.unshift(c[0]);f.unshift(\"linear\")}if(1!==l[l.length-1]){l.push(1);c.push(null)}r.push([t,s,c,Object.assign(Object.assign(Object.assign({},n),{duration:d,easing:f,offset:l}),o)])}}));return r}function getElementSequence(e,t){!t.has(e)&&t.set(e,{});return t.get(e)}function getValueSequence(e,t){t[e]||(t[e]=[]);return t[e]}function createGeneratorEasing(e){const t=new WeakMap;return(n={})=>{const o=new Map;const getGenerator=(t=0,i=100,s=0,r=false)=>{const a=`${t}-${i}-${s}-${r}`;o.has(a)||o.set(a,e(Object.assign({from:t,to:i,velocity:s,restSpeed:r?.05:2,restDistance:r?.01:.5},n)));return o.get(a)};const getKeyframes=e=>{t.has(e)||t.set(e,A(e));return t.get(e)};return{createAnimation:(e,t,n,o,i)=>{var s,r;let a;const c=e.length;let l=n&&c<=2&&e.every(isNumberOrNull);if(l){const n=e[c-1];const l=1===c?null:e[0];let f=0;let u=0;const d=null===i||void 0===i?void 0:i.generator;if(d){const{animation:t,generatorStartTime:n}=i;const o=(null===t||void 0===t?void 0:t.startTime)||n||0;const r=(null===t||void 0===t?void 0:t.currentTime)||performance.now()-o;const a=d(r).current;u=null!==(s=l)&&void 0!==s?s:a;(1===c||2===c&&null===e[0])&&(f=O((e=>d(e).current),r,a))}else u=null!==(r=l)&&void 0!==r?r:parseFloat(t());const g=getGenerator(u,n,f,null===o||void 0===o?void 0:o.includes(\"scale\"));const m=getKeyframes(g);a=Object.assign(Object.assign({},m),{easing:\"linear\"});if(i){i.generator=g;i.generatorStartTime=performance.now()}}else{const e=getKeyframes(getGenerator(0,100));a={easing:\"ease\",duration:e.overshootDuration}}return a}}}}const isNumberOrNull=e=>\"string\"!==typeof e;const N=createGeneratorEasing(x);const F=createGeneratorEasing(V);const U={any:0,all:1};function inView$1(e,t,{root:n,margin:o,amount:i=\"any\"}={}){if(\"undefined\"===typeof IntersectionObserver)return()=>{};const s=resolveElements(e);const r=new WeakMap;const onIntersectionChange=e=>{e.forEach((e=>{const n=r.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);\"function\"===typeof n?r.set(e.target,n):a.unobserve(e.target)}else if(n){n(e);r.delete(e.target)}}))};const a=new IntersectionObserver(onIntersectionChange,{root:n,rootMargin:o,threshold:\"number\"===typeof i?i:U[i]});s.forEach((e=>a.observe(e)));return()=>a.disconnect()}const q=new WeakMap;let K;function getElementSize(e,t){if(t){const{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&\"getBBox\"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function notifyTarget({target:e,contentRect:t,borderBoxSize:n}){var o;null===(o=q.get(e))||void 0===o?void 0:o.forEach((o=>{o({target:e,contentSize:t,get size(){return getElementSize(e,n)}})}))}function notifyAll(e){e.forEach(notifyTarget)}function createResizeObserver(){\"undefined\"!==typeof ResizeObserver&&(K=new ResizeObserver(notifyAll))}function resizeElement(e,t){K||createResizeObserver();const n=resolveElements(e);n.forEach((e=>{let n=q.get(e);if(!n){n=new Set;q.set(e,n)}n.add(t);null===K||void 0===K?void 0:K.observe(e)}));return()=>{n.forEach((e=>{const n=q.get(e);null===n||void 0===n?void 0:n.delete(t);(null===n||void 0===n?void 0:n.size)||(null===K||void 0===K?void 0:K.unobserve(e))}))}}const G=new Set;let _;function createWindowResizeHandler(){_=()=>{const e={width:window.innerWidth,height:window.innerHeight};const t={target:window,size:e,contentSize:e};G.forEach((e=>e(t)))};window.addEventListener(\"resize\",_)}function resizeWindow(e){G.add(e);_||createWindowResizeHandler();return()=>{G.delete(e);!G.size&&_&&(_=void 0)}}function resize(e,t){return\"function\"===typeof e?resizeWindow(e):resizeElement(e,t)}const Z=50;const createAxisInfo=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0});const createScrollInfo=()=>({time:0,x:createAxisInfo(),y:createAxisInfo()});const X={x:{length:\"Width\",position:\"Left\"},y:{length:\"Height\",position:\"Top\"}};function updateAxisInfo(e,t,n,o){const i=n[t];const{length:s,position:r}=X[t];const a=i.current;const c=n.time;i.current=e[\"scroll\"+r];i.scrollLength=e[\"scroll\"+s]-e[\"client\"+s];i.offset.length=0;i.offset[0]=0;i.offset[1]=i.scrollLength;i.progress=p(0,i.scrollLength,i.current);const l=o-c;i.velocity=l>Z?0:v(i.current-a,l)}function updateScrollInfo(e,t,n){updateAxisInfo(e,\"x\",t,n);updateAxisInfo(e,\"y\",t,n);t.time=n}function calcInset(e,t){let n={x:0,y:0};let o=e;while(o&&o!==t)if(o instanceof HTMLElement){n.x+=o.offsetLeft;n.y+=o.offsetTop;o=o.offsetParent}else if(o instanceof SVGGraphicsElement&&\"getBBox\"in o){const{top:e,left:t}=o.getBBox();n.x+=t;n.y+=e;while(o&&\"svg\"!==o.tagName)o=o.parentNode}return n}const Y={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};const J={start:0,center:.5,end:1};function resolveEdge(e,t,n=0){let o=0;void 0!==J[e]&&(e=J[e]);if(g(e)){const t=parseFloat(e);e.endsWith(\"px\")?o=t:e.endsWith(\"%\")?e=t/100:e.endsWith(\"vw\")?o=t/100*document.documentElement.clientWidth:e.endsWith(\"vh\")?o=t/100*document.documentElement.clientHeight:e=t}r(e)&&(o=t*e);return n+o}const Q=[0,0];function resolveOffset(e,t,n,o){let i=Array.isArray(e)?e:Q;let s=0;let a=0;if(r(e))i=[e,e];else if(g(e)){e=e.trim();i=e.includes(\" \")?e.split(\" \"):[e,J[e]?e:\"0\"]}s=resolveEdge(i[0],n,o);a=resolveEdge(i[1],t);return s-a}const ee={x:0,y:0};function resolveOffsets(e,t,n){let{offset:o=Y.All}=n;const{target:i=e,axis:s=\"y\"}=n;const r=\"y\"===s?\"height\":\"width\";const a=i!==e?calcInset(i,e):ee;const c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:i.clientWidth,height:i.clientHeight};const l={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let f=!t[s].interpolate;const u=o.length;for(let e=0;e<u;e++){const n=resolveOffset(o[e],l[r],c[r],a[s]);f||n===t[s].interpolatorOffsets[e]||(f=true);t[s].offset[e]=n}if(f){t[s].interpolate=y(m(u),t[s].offset);t[s].interpolatorOffsets=[...t[s].offset]}t[s].progress=t[s].interpolate(t[s].current)}function measure(e,t=e,n){n.x.targetOffset=0;n.y.targetOffset=0;if(t!==e){let o=t;while(o&&o!=e){n.x.targetOffset+=o.offsetLeft;n.y.targetOffset+=o.offsetTop;o=o.offsetParent}}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth;n.y.targetLength=t===e?t.scrollHeight:t.clientHeight;n.x.containerLength=e.clientWidth;n.y.containerLength=e.clientHeight}function createOnScrollHandler(e,t,n,o={}){const i=o.axis||\"y\";return{measure:()=>measure(e,o.target,n),update:t=>{updateScrollInfo(e,n,t);(o.offset||o.target)&&resolveOffsets(e,n,o)},notify:\"function\"===typeof t?()=>t(n):scrubAnimation(t,n[i])}}function scrubAnimation(e,n){e.pause();e.forEachNative(((e,{easing:n})=>{var o,i;if(e.updateDuration){n||(e.easing=t);e.updateDuration(1)}else{const t={duration:1e3};n||(t.easing=\"linear\");null===(i=null===(o=e.effect)||void 0===o?void 0:o.updateTiming)||void 0===i?void 0:i.call(o,t)}}));return()=>{e.currentTime=n.progress}}const te=new WeakMap;const ne=new WeakMap;const oe=new WeakMap;const getEventTarget=e=>e===document.documentElement?window:e;function scroll(e,t={}){var{container:n=document.documentElement}=t,o=b(t,[\"container\"]);let i=oe.get(n);if(!i){i=new Set;oe.set(n,i)}const s=createScrollInfo();const r=createOnScrollHandler(n,e,s,o);i.add(r);if(!te.has(n)){const listener=()=>{const e=performance.now();for(const e of i)e.measure();for(const t of i)t.update(e);for(const e of i)e.notify()};te.set(n,listener);const e=getEventTarget(n);window.addEventListener(\"resize\",listener,{passive:true});n!==document.documentElement&&ne.set(n,resize(n,listener));e.addEventListener(\"scroll\",listener,{passive:true})}const a=te.get(n);const c=requestAnimationFrame(a);return()=>{var t;\"function\"!==typeof e&&e.stop();cancelAnimationFrame(c);const o=oe.get(n);if(!o)return;o.delete(r);if(o.size)return;const i=te.get(n);te.delete(n);if(i){getEventTarget(n).removeEventListener(\"scroll\",i);null===(t=ne.get(n))||void 0===t?void 0:t();window.removeEventListener(\"resize\",i)}}}function hasChanged(e,t){return typeof e!==typeof t||(Array.isArray(e)&&Array.isArray(t)?!shallowCompare(e,t):e!==t)}function shallowCompare(e,t){const n=t.length;if(n!==e.length)return false;for(let o=0;o<n;o++)if(t[o]!==e[o])return false;return true}function isVariant(e){return\"object\"===typeof e}function resolveVariant(e,t){return isVariant(e)?e:e&&t?t[e]:void 0}let ie;function processScheduledAnimations(){if(!ie)return;const e=ie.sort(compareByDepth).map(fireAnimateUpdates);e.forEach(fireNext);e.forEach(fireNext);ie=void 0}function scheduleAnimation(e){if(ie)n(ie,e);else{ie=[e];requestAnimationFrame(processScheduledAnimations)}}function unscheduleAnimation(e){ie&&f(ie,e)}const compareByDepth=(e,t)=>e.getDepth()-t.getDepth();const fireAnimateUpdates=e=>e.animateUpdates();const fireNext=e=>e.next();const motionEvent=(e,t)=>new CustomEvent(e,{detail:{target:t}});function dispatchPointerEvent(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEvent:n}}))}function dispatchViewEvent(e,t,n){e.dispatchEvent(new CustomEvent(t,{detail:{originalEntry:n}}))}const se={isActive:e=>Boolean(e.inView),subscribe:(e,{enable:t,disable:n},{inViewOptions:o={}})=>{const{once:i}=o,s=b(o,[\"once\"]);return inView$1(e,(o=>{t();dispatchViewEvent(e,\"viewenter\",o);if(!i)return t=>{n();dispatchViewEvent(e,\"viewleave\",t)}}),s)}};const mouseEvent=(e,t,n)=>o=>{if(!o.pointerType||\"mouse\"===o.pointerType){n();dispatchPointerEvent(e,t,o)}};const re={isActive:e=>Boolean(e.hover),subscribe:(e,{enable:t,disable:n})=>{const o=mouseEvent(e,\"hoverstart\",t);const i=mouseEvent(e,\"hoverend\",n);e.addEventListener(\"pointerenter\",o);e.addEventListener(\"pointerleave\",i);return()=>{e.removeEventListener(\"pointerenter\",o);e.removeEventListener(\"pointerleave\",i)}}};const ae={isActive:e=>Boolean(e.press),subscribe:(e,{enable:t,disable:n})=>{const onPointerUp=t=>{n();dispatchPointerEvent(e,\"pressend\",t);window.removeEventListener(\"pointerup\",onPointerUp)};const onPointerDown=n=>{t();dispatchPointerEvent(e,\"pressstart\",n);window.addEventListener(\"pointerup\",onPointerUp)};e.addEventListener(\"pointerdown\",onPointerDown);return()=>{e.removeEventListener(\"pointerdown\",onPointerDown);window.removeEventListener(\"pointerup\",onPointerUp)}}};const ce={inView:se,hover:re,press:ae};const le=[\"initial\",\"animate\",...Object.keys(ce),\"exit\"];const fe=new WeakMap;function createMotionState(e={},t){let n;let o=t?t.getDepth()+1:0;const i={initial:true,animate:true};const s={};const r={};for(const n of le)r[n]=\"string\"===typeof e[n]?e[n]:null===t||void 0===t?void 0:t.getContext()[n];const a=false===e.initial?\"animate\":\"initial\";let c=resolveVariant(e[a]||r[a],e.variants)||{},f=b(c,[\"transition\"]);const u=Object.assign({},f);function*animateUpdates(){var t,o;const s=f;f={};const r={};for(const n of le){if(!i[n])continue;const s=resolveVariant(e[n]);if(s)for(const n in s)if(\"transition\"!==n){f[n]=s[n];r[n]=getOptions(null!==(o=null!==(t=s.transition)&&void 0!==t?t:e.transition)&&void 0!==o?o:{},n)}}const a=new Set([...Object.keys(f),...Object.keys(s)]);const c=[];a.forEach((e=>{var t;void 0===f[e]&&(f[e]=u[e]);if(hasChanged(s[e],f[e])){null!==(t=u[e])&&void 0!==t?t:u[e]=H.get(n,e);c.push(animateStyle(n,e,f[e],r[e]))}}));yield;const d=c.map((e=>e())).filter(Boolean);if(!d.length)return;const g=f;n.dispatchEvent(motionEvent(\"motionstart\",g));Promise.all(d.map((e=>e.finished))).then((()=>{n.dispatchEvent(motionEvent(\"motioncomplete\",g))})).catch(l)}const setGesture=(e,t)=>()=>{i[e]=t;scheduleAnimation(d)};const updateGestureSubscriptions=()=>{for(const t in ce){const o=ce[t].isActive(e);const i=s[t];if(o&&!i)s[t]=ce[t].subscribe(n,{enable:setGesture(t,true),disable:setGesture(t,false)},e);else if(!o&&i){i();delete s[t]}}};const d={update:t=>{if(n){e=t;updateGestureSubscriptions();scheduleAnimation(d)}},setActive:(e,t)=>{if(n){i[e]=t;scheduleAnimation(d)}},animateUpdates:animateUpdates,getDepth:()=>o,getTarget:()=>f,getOptions:()=>e,getContext:()=>r,mount:e=>{S(Boolean(e),\"Animation state must be mounted with valid Element\");n=e;fe.set(n,d);updateGestureSubscriptions();return()=>{fe.delete(n);unscheduleAnimation(d);for(const e in s)s[e]()}},isMounted:()=>Boolean(n)};return d}function createStyles(e){const t={};const n=[];for(let o in e){const i=e[o];if(isTransform(o)){T[o]&&(o=T[o]);n.push(o);o=asTransformCssVar(o)}let s=Array.isArray(i)?i[0]:i;const a=k.get(o);a&&(s=r(i)?a.toDefaultUnit(i):i);t[o]=s}n.length&&(t.transform=buildTransformTemplate(n));return t}const camelLetterToPipeLetter=e=>`-${e.toLowerCase()}`;const camelToPipeCase=e=>e.replace(/[A-Z]/g,camelLetterToPipeLetter);function createStyleString(e={}){const t=createStyles(e);let n=\"\";for(const e in t){n+=e.startsWith(\"--\")?e:camelToPipeCase(e);n+=`: ${t[e]}; `}return n}export{Y as ScrollOffset,animate,animateStyle,createMotionState,createStyleString,createStyles,getAnimationData,getStyleName,F as glide,inView$1 as inView,fe as mountedStates,resize,scroll,N as spring,stagger,H as style,timeline,withControls};\n\n//# sourceMappingURL=index.es.js.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{resize}from\"@motionone/dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{animate,LayoutGroup,mix,motion,frame,useInView,useMotionValue,useTransform,wrap,usePageInView}from\"framer-motion\";import{Children,cloneElement,forwardRef,memo,startTransition,useCallback,useEffect,useLayoutEffect,useMemo,useRef,useState}from\"react\";function awaitRefCallback(element,controller){let refCallbackResolve;// we need to listen to the ref setter, so let's override `current` - we can do that, because we don't use React's `useRef` hook for those refs.\nlet current=element.current;Object.defineProperty(element,\"current\",{get(){return current;},set(node){current=node;if(node===null){// React calls with null when the element is unmounted\n// we abort here so that the promise isn't left around in case the ref is never set\ncontroller.abort();return;}refCallbackResolve?.(node);},configurable:true});// no need to create a promise if current already exists\nif(current)return current;const refCallbackPromise=new Promise((resolve,reject)=>{refCallbackResolve=resolve;controller.signal.addEventListener(\"abort\",reject);}).catch(()=>{});return refCallbackPromise;}// Using opacity: 0.001 instead of 0 as an LCP hack. (opacity: 0.001 is still 0\n// to a human eye but makes Google think the elements are visible)\nconst OPACITY_0=.001;/**\n *\n * SLIDESHOW\n * V2 with Drag\n * By Benjamin and Matt\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Slideshow(props){/**\n     * Properties\n     */const{slots=[],startFrom,direction,effectsOptions,autoPlayControl,dragControl,alignment,gap,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft,itemAmount,fadeOptions,intervalControl,transitionControl,arrowOptions,borderRadius,progressOptions,style}=props;const{effectsOpacity,effectsScale,effectsRotate,effectsPerspective,effectsHover,playOffscreen}=effectsOptions;const{fadeContent,overflow,fadeWidth,fadeInset,fadeAlpha}=fadeOptions;const{showMouseControls,arrowSize,arrowRadius,arrowFill,leftArrow,rightArrow,arrowShouldSpace=true,arrowShouldFadeIn=false,arrowPosition,arrowPadding,arrowGap,arrowPaddingTop,arrowPaddingRight,arrowPaddingBottom,arrowPaddingLeft}=arrowOptions;const{showProgressDots,dotSize,dotsInset,dotsRadius,dotsPadding,dotsGap,dotsFill,dotsBackground,dotsActiveOpacity,dotsOpacity,dotsBlur}=progressOptions;const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;/**\n     * Checks\n     */const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Remove empty slots (such as hidden layers)\nconst filteredSlots=slots.filter(Boolean);const amountChildren=Children.count(filteredSlots);const hasChildren=amountChildren>0;/**\n     * Empty state for Canvas\n     */if(!hasChildren){return /*#__PURE__*/_jsxs(\"section\",{style:placeholderStyles,children:[/*#__PURE__*/_jsx(\"div\",{style:emojiStyles,children:\"⭐️\"}),/*#__PURE__*/_jsx(\"p\",{style:titleStyles,children:\"Connect to Content\"}),/*#__PURE__*/_jsx(\"p\",{style:subtitleStyles,children:\"Add layers or components to make infinite auto-playing slideshows.\"})]});}/**\n     * Refs, State\n     */const parentRef=useRef(null);const childrenRef=useMemo(()=>{return[{current:null},{current:null}];// when the slots change, generate new array\n},[filteredSlots]);const timeoutRef=useRef(undefined);const[size,setSize]=useState({parent:null,children:null,item:null,itemWidth:null,itemHeight:null,viewportLength:null});const writingDirection=useWritingDirection();const resolvedDirection=getSlideshowResolvedDirection(direction,writingDirection);const isHorizontal=resolvedDirection===\"left\"||resolvedDirection===\"right\";const isInverted=resolvedDirection===\"right\"||resolvedDirection===\"bottom\";const rtlDirectionModifier=isHorizontal&&writingDirection===\"rtl\"?-1:1;/* For pausing on hover */const[isHovering,setIsHovering]=useState(false);const[shouldPlayOnHover,setShouldPlayOnHover]=useState(autoPlayControl);/* For cursor updates */const[isMouseDown,setIsMouseDown]=useState(false);/* Check if resizing */const[isResizing,setIsResizing]=useState(false);/**\n     * Array for children\n     */let dupedChildren=[];let duplicateBy=4;if(isCanvas){duplicateBy=1;}/**\n     * Measure parent, child, items\n     */const measure=useCallback(()=>{if(!parentRef.current)return;// Might be RTL but executing before writingDirection is set so derive from positions of elements\nconst isRTL=isHorizontal&&childrenRef[0].current&&childrenRef[1].current&&childrenRef[1].current.offsetLeft<childrenRef[0].current.offsetLeft;const firstChild=isRTL?childrenRef[1].current:childrenRef[0].current;const lastChild=isRTL?childrenRef[0].current:childrenRef[1].current;const parentLength=isHorizontal?parentRef.current.offsetWidth:parentRef.current.offsetHeight;const start=firstChild?isHorizontal?firstChild.offsetLeft:firstChild.offsetTop:0;const end=lastChild?isHorizontal?lastChild.offsetLeft+lastChild.offsetWidth:lastChild.offsetTop+lastChild.offsetHeight:0;const childrenLength=end-start+gap;const itemSize=firstChild?isHorizontal?firstChild.offsetWidth:firstChild.offsetHeight:0;const itemWidth=firstChild?firstChild.offsetWidth:0;const itemHeight=firstChild?firstChild.offsetHeight:0;const viewportLength=isHorizontal?Math.max(document.documentElement.clientWidth||0,window.innerWidth||0,parentRef.current.offsetWidth):Math.max(document.documentElement.clientHeight||0,window.innerHeight||0,parentRef.current.offsetHeight);setSize({parent:parentLength,children:childrenLength,item:itemSize,itemWidth,itemHeight,viewportLength});},[]);const scheduleMeasure=useCallback(async()=>{const controller=new AbortController;/**\n         * The elements in the set are refs of children. If they're wrapped in Suspense, they could mount later than the parent.\n         * Thus, we wait for each ref to be set step by step if required.\n         */const[firstChild,lastChild]=childrenRef;if(!isCanvas&&(!firstChild.current||!lastChild.current))try{await Promise.all([awaitRefCallback(firstChild,controller),amountChildren>1?awaitRefCallback(lastChild,controller):true]);}catch{controller.abort();}frame.read(measure,false,true);},[measure]);/**\n     * Add refs to all children\n     * Added itemAmount for resizing\n     */useLayoutEffect(()=>{scheduleMeasure();},[itemAmount]);/**\n     * Track whether this is the initial resize event. By default this will fire on mount,\n     * which we do in the useEffect. We should only fire it on subsequent resizes.\n     */const initialResize=useRef(true);useEffect(()=>{return resize(parentRef.current,({contentSize})=>{if(!initialResize.current&&(contentSize.width||contentSize.height)){scheduleMeasure();startTransition(()=>setIsResizing(true));}initialResize.current=false;});},[]);useEffect(()=>{if(isResizing){const timer=setTimeout(()=>startTransition(()=>setIsResizing(false)),500);return()=>clearTimeout(timer);}},[isResizing]);/**\n     * Animation, pagination\n     */const totalItems=filteredSlots?.length;const childrenSize=isCanvas?0:size?.children;const itemWithGap=size?.item+gap;const itemOffset=startFrom*itemWithGap;const[currentItem,setCurrentItem]=useState(startFrom+totalItems);const[isDragging,setIsDragging]=useState(false);if(isCanvas){if(currentItem!==startFrom){setCurrentItem(startFrom);}}/* Check for browser window visibility *//* Otherwise, it will re-play all the item increments */const visibilityRef=useRef(null);const isInView=useInView(visibilityRef);const isVisible=usePageInView()&&isInView;const factor=isInverted?1:-1;/* The x and y values to start from */const xOrY=useMotionValue(childrenSize);/* For canvas only. Using xOrY is slower upon page switching */const canvasPosition=isHorizontal?-startFrom*(size?.itemWidth+gap):-startFrom*(size?.itemHeight+gap);/* Calculate the new value to animate to */const newPosition=()=>factor*currentItem*itemWithGap;/* Wrapped values for infinite looping *//* Instead of 0 to a negative full duplicated row, we start with an offset */const wrappedValue=!isCanvas?useTransform(xOrY,value=>{const wrapped=wrap(-childrenSize*rtlDirectionModifier,-childrenSize*rtlDirectionModifier*2,value*rtlDirectionModifier);return isNaN(wrapped)?0:wrapped;}):0;/* Convert the current item to a wrapping index for dots */const wrappedIndex=wrap(0,totalItems,currentItem);const wrappedIndexInverted=wrap(0,-totalItems,currentItem);/* Update x or y with the provided starting point *//* The subtraction of a full row of children is for overflow */useLayoutEffect(()=>{if(size?.children===null)return;/* Initial measure */// if (initialResize.current) {\n//     xOrY.set((childrenSize + itemOffset) * factor)\n// }\n/* Subsequent resizes */if(!initialResize.current&&isResizing){xOrY.set(newPosition());}},[size,childrenSize,factor,itemOffset,currentItem,itemWithGap,isResizing]);/**\n     * Page item methods\n     * Switching, deltas, autoplaying\n     *//* Next and previous function, animates the X */const switchPages=()=>{if(isCanvas||!hasChildren||!size.parent||isDragging)return;if(xOrY.get()!==newPosition()){animate(xOrY,newPosition(),transitionControl);}if(autoPlayControl&&shouldPlayOnHover&&(playOffscreen||isVisible)){timeoutRef.current=setTimeout(()=>{startTransition(()=>setCurrentItem(item=>item+1*rtlDirectionModifier));switchPages();},intervalControl*1e3);}};/* Page navigation functions */const setDelta=(delta,transition=false)=>{if(!isInverted){if(transition)startTransition(()=>setCurrentItem(item=>item+delta));else setCurrentItem(item=>item+delta);}else{if(transition)startTransition(()=>setCurrentItem(item=>item-delta));else setCurrentItem(item=>item-delta);}};const setPage=index=>{const currentItemWrapped=wrap(0,totalItems,currentItem);const currentItemWrappedInvert=wrap(0,-totalItems,currentItem);const goto=index-currentItemWrapped;const gotoInverted=index-Math.abs(currentItemWrappedInvert);if(!isInverted){startTransition(()=>setCurrentItem(item=>item+goto));}else{startTransition(()=>setCurrentItem(item=>item-gotoInverted));}};/**\n     * Drag\n     */const handleDragStart=()=>{startTransition(()=>setIsDragging(true));};const handleDragEnd=(event,{offset,velocity})=>{startTransition(()=>setIsDragging(false));const offsetXorY=isHorizontal?offset.x:offset.y;const velocityThreshold=200// Based on testing, can be tweaked or could be 0\n;const velocityXorY=isHorizontal?velocity.x:velocity.y;const isHalfOfNext=offsetXorY<-size.item/2;const isHalfOfPrev=offsetXorY>size.item/2;/* In case you drag more than 1 item left or right */const normalizedOffset=Math.abs(offsetXorY);const itemDelta=Math.round(normalizedOffset/size.item);/* Minimum delta is 1 to initiate a page switch *//* For velocity use only */const itemDeltaFromOne=itemDelta===0?1:itemDelta;/* For quick flicks, even with low offsets */if(velocityXorY>velocityThreshold){setDelta(-itemDeltaFromOne*rtlDirectionModifier,true);}else if(velocityXorY<-velocityThreshold){setDelta(itemDeltaFromOne*rtlDirectionModifier,true);}else{/* For dragging over half of the current item with 0 velocity */if(isHalfOfNext){setDelta(itemDelta*rtlDirectionModifier,true);}if(isHalfOfPrev){setDelta(-itemDelta*rtlDirectionModifier,true);}}};/* Kickstart the auto-playing once we have all the children */useEffect(()=>{if(!isVisible||isResizing||amountChildren<=1)return;switchPages();return()=>timeoutRef.current&&clearTimeout(timeoutRef.current);},[dupedChildren,isVisible,isResizing]);/* Create copies of our children to create a perfect loop */let childCounter=0;/**\n     * Sizing\n     * */const columnOrRowValue=`calc(${100/itemAmount}% - ${gap}px + ${gap/itemAmount}px)`;/**\n     * Nested array to create duplicates of the children for infinite looping\n     * These are wrapped around, and start at a full \"page\" worth of offset\n     * as defined above.\n     */for(let index=0;index<duplicateBy;index++){dupedChildren=dupedChildren.concat(Children.map(filteredSlots,(child,childIndex)=>{let ref;if(index===0){if(childIndex===0){ref=childrenRef[0];}else if(childIndex===filteredSlots.length-1){ref=childrenRef[1];}}return /*#__PURE__*/_jsx(Slide,{ref:ref,slideKey:index+childIndex+\"lg\",index:index,width:isHorizontal?itemAmount>1?columnOrRowValue:\"100%\":\"100%\",height:!isHorizontal?itemAmount>1?columnOrRowValue:\"100%\":\"100%\",size:size,child:child,numChildren:filteredSlots?.length,wrappedValue:wrappedValue,childCounter:childCounter++,gap:gap,isCanvas:isCanvas,isHorizontal:isHorizontal,effectsOpacity:effectsOpacity,effectsScale:effectsScale,effectsRotate:effectsRotate,directionModifier:rtlDirectionModifier,children:index+childIndex},index+childIndex+\"lg\");}));}/**\n     * Fades with masks\n     */const fadeDirection=isHorizontal?\"to right\":\"to bottom\";const fadeWidthStart=fadeWidth/2;const fadeWidthEnd=100-fadeWidth/2;const fadeInsetStart=clamp(fadeInset,0,fadeWidthStart);const fadeInsetEnd=100-fadeInset;const fadeMask=`linear-gradient(${fadeDirection}, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetStart}%, rgba(0, 0, 0, 1) ${fadeWidthStart}%, rgba(0, 0, 0, 1) ${fadeWidthEnd}%, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetEnd}%)`;/**\n     * Dots\n     */const dots=[];const dotsBlurStyle={};if(showProgressDots){for(let i=0;i<filteredSlots?.length;i++){dots.push(/*#__PURE__*/_jsx(Dot,{dotStyle:{...dotStyle,width:dotSize,height:dotSize,backgroundColor:dotsFill},buttonStyle:baseButtonStyles,selectedOpacity:dotsActiveOpacity,opacity:dotsOpacity,onClick:()=>setPage(i),wrappedIndex:wrappedIndex,wrappedIndexInverted:wrappedIndexInverted,total:totalItems,index:i,gap:dotsGap,padding:dotsPadding,isHorizontal:isHorizontal,isInverted:isInverted},i));}if(dotsBlur>0){dotsBlurStyle.backdropFilter=dotsBlurStyle.WebkitBackdropFilter=`blur(${dotsBlur}px)`;}}const dragProps=dragControl?{drag:isHorizontal?\"x\":\"y\",onDragStart:handleDragStart,onDragEnd:handleDragEnd,dragDirectionLock:true,values:{x:writingDirection===\"rtl\"?-xOrY:xOrY,y:xOrY},dragMomentum:false}:{};const arrowHasTop=arrowPosition===\"top-left\"||arrowPosition===\"top-mid\"||arrowPosition===\"top-right\";const arrowHasBottom=arrowPosition===\"bottom-left\"||arrowPosition===\"bottom-mid\"||arrowPosition===\"bottom-right\";const arrowHasLeft=arrowPosition===\"top-left\"||arrowPosition===\"bottom-left\";const arrowHasRight=arrowPosition===\"top-right\"||arrowPosition===\"bottom-right\";const arrowHasMid=arrowPosition===\"top-mid\"||arrowPosition===\"bottom-mid\"||arrowPosition===\"auto\";const leftArrowSrc=leftArrow||\"https://framerusercontent.com/images/6tTbkXggWgQCAJ4DO2QEdXXmgM.svg?arrow=left\";const rightArrowSrc=rightArrow||\"https://framerusercontent.com/images/11KSGbIZoRSg4pjdnUoif6MKHI.svg?arrow=right\";return /*#__PURE__*/_jsxs(\"section\",{style:{...containerStyle,padding:paddingValue,WebkitMaskImage:fadeContent?fadeMask:undefined,maskImage:fadeContent?fadeMask:undefined,opacity:size?.item!==null?1:OPACITY_0,userSelect:\"none\"},onMouseEnter:()=>{setIsHovering(true);if(!effectsHover)setShouldPlayOnHover(false);},onMouseLeave:()=>{setIsHovering(false);if(!effectsHover)setShouldPlayOnHover(true);},onMouseDown:event=>{// Preventdefault fixes the cursor switching to text on drag on safari\nevent.preventDefault();startTransition(()=>setIsMouseDown(true));},onMouseUp:()=>startTransition(()=>setIsMouseDown(false)),ref:visibilityRef,children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",margin:0,padding:\"inherit\",position:\"absolute\",inset:0,overflow:overflow?\"visible\":\"hidden\",borderRadius:borderRadius,userSelect:\"none\",perspective:isCanvas?\"none\":effectsPerspective},children:/*#__PURE__*/_jsx(motion.ul,{ref:parentRef,...dragProps,style:{...containerStyle,gap:gap,placeItems:alignment,x:isHorizontal?isCanvas?canvasPosition:wrappedValue:0,y:!isHorizontal?isCanvas?canvasPosition:wrappedValue:0,flexDirection:isHorizontal?\"row\":\"column\",transformStyle:effectsRotate!==0&&!isCanvas?\"preserve-3d\":undefined,cursor:dragControl?isMouseDown?\"grabbing\":\"grab\":\"auto\",userSelect:\"none\",...style},children:dupedChildren})}),/*#__PURE__*/_jsxs(\"fieldset\",{style:{...controlsStyles},\"aria-label\":\"Slideshow pagination controls\",className:\"framer--slideshow-controls\",children:[/*#__PURE__*/_jsxs(motion.div,{style:{position:\"absolute\",display:\"flex\",flexDirection:isHorizontal?\"row\":\"column\",justifyContent:arrowShouldSpace?\"space-between\":\"center\",gap:arrowShouldSpace?\"unset\":arrowGap,opacity:arrowShouldFadeIn?OPACITY_0:1,alignItems:\"center\",inset:arrowPadding,top:arrowShouldSpace?arrowPadding:arrowHasTop?arrowPaddingTop:\"unset\",left:arrowShouldSpace?arrowPadding:arrowHasLeft?arrowPaddingLeft:arrowHasMid?0:\"unset\",right:arrowShouldSpace?arrowPadding:arrowHasRight?arrowPaddingRight:arrowHasMid?0:\"unset\",bottom:arrowShouldSpace?arrowPadding:arrowHasBottom?arrowPaddingBottom:\"unset\"},animate:arrowShouldFadeIn&&{opacity:isHovering?1:OPACITY_0},transition:transitionControl,children:[/*#__PURE__*/_jsx(motion.button,{type:\"button\",style:{...baseButtonStyles,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!isHorizontal?90:0,display:showMouseControls?\"block\":\"none\",pointerEvents:\"auto\"},onClick:()=>setDelta(-1,true),\"aria-label\":\"Previous\",whileTap:{scale:.9},transition:{duration:.15},children:/*#__PURE__*/_jsx(\"img\",{decoding:\"async\",width:arrowSize,height:arrowSize,src:isHorizontal&&writingDirection===\"rtl\"?rightArrowSrc:leftArrowSrc,alt:\"Back Arrow\"})}),/*#__PURE__*/_jsx(motion.button,{type:\"button\",style:{...baseButtonStyles,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!isHorizontal?90:0,display:showMouseControls?\"block\":\"none\",pointerEvents:\"auto\"},onClick:()=>setDelta(1,true),\"aria-label\":\"Next\",whileTap:{scale:.9},transition:{duration:.15},children:/*#__PURE__*/_jsx(\"img\",{decoding:\"async\",width:arrowSize,height:arrowSize,src:isHorizontal&&writingDirection===\"rtl\"?leftArrowSrc:rightArrowSrc,alt:\"Next Arrow\"})})]}),dots.length>1?/*#__PURE__*/_jsx(\"div\",{style:{...dotsContainerStyle,left:isHorizontal?\"50%\":dotsInset,top:!isHorizontal?\"50%\":\"unset\",transform:isHorizontal?\"translateX(-50%)\":\"translateY(-50%)\",flexDirection:isHorizontal?\"row\":\"column\",bottom:isHorizontal?dotsInset:\"unset\",borderRadius:dotsRadius,backgroundColor:dotsBackground,userSelect:\"none\",...dotsBlurStyle},children:dots}):null]})]});}/* Default Properties */Slideshow.defaultProps={direction:\"left\",dragControl:false,startFrom:0,itemAmount:1,infinity:true,gap:10,padding:10,autoPlayControl:true,effectsOptions:{effectsOpacity:1,effectsScale:1,effectsRotate:0,effectsPerspective:1200,effectsHover:true,playOffscreen:false},transitionControl:{type:\"spring\",stiffness:200,damping:40},fadeOptions:{fadeContent:false,overflow:false,fadeWidth:25,fadeAlpha:0,fadeInset:0},arrowOptions:{showMouseControls:true,arrowShouldFadeIn:false,arrowShouldSpace:true,arrowFill:\"rgba(0,0,0,0.2)\",arrowSize:40},progressOptions:{showProgressDots:true}};/* Property Controls */addPropertyControls(Slideshow,{slots:{type:ControlType.Array,title:\"Content\",control:{type:ControlType.ComponentInstance}},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"left\",\"right\",\"top\",\"bottom\"],optionIcons:[\"direction-left\",\"direction-right\",\"direction-up\",\"direction-down\"],optionTitles:[\"Left\",\"Right\",\"Top\",\"Bottom\"],displaySegmentedControl:true,defaultValue:Slideshow.defaultProps.direction},autoPlayControl:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:true},intervalControl:{type:ControlType.Number,title:\"Interval\",defaultValue:1.5,min:.5,max:10,step:.1,displayStepper:true,unit:\"s\",hidden:props=>!props.autoPlayControl},dragControl:{type:ControlType.Boolean,title:\"Draggable\",defaultValue:false},startFrom:{type:ControlType.Number,title:\"Current\",min:0,max:10,displayStepper:true,defaultValue:Slideshow.defaultProps.startFrom},effectsOptions:{type:ControlType.Object,title:\"Effects\",controls:{effectsOpacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsOpacity,min:0,max:1,step:.01,displayStepper:true},effectsScale:{type:ControlType.Number,title:\"Scale\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsScale,min:0,max:1,step:.01,displayStepper:true},effectsPerspective:{type:ControlType.Number,title:\"Perspective\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsPerspective,min:200,max:2e3,step:1},effectsRotate:{type:ControlType.Number,title:\"Rotate\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsRotate,min:-180,max:180,step:1},effectsHover:{type:ControlType.Boolean,title:\"On Hover\",enabledTitle:\"Play\",disabledTitle:\"Pause\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsHover},playOffscreen:{type:ControlType.Boolean,title:\"Offscreen\",enabledTitle:\"Play\",disabledTitle:\"Pause\",defaultValue:Slideshow.defaultProps.effectsOptions.playOffscreen}}},alignment:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionIcons:{direction:{right:[\"align-top\",\"align-middle\",\"align-bottom\"],left:[\"align-top\",\"align-middle\",\"align-bottom\"],top:[\"align-left\",\"align-center\",\"align-right\"],bottom:[\"align-left\",\"align-center\",\"align-right\"]}},defaultValue:\"center\",displaySegmentedControl:true},itemAmount:{type:ControlType.Number,title:\"Items\",min:1,max:10,displayStepper:true,defaultValue:Slideshow.defaultProps.itemAmount},gap:{type:ControlType.Number,title:\"Gap\",min:0},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],defaultValue:0,valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},borderRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,displayStepper:true,defaultValue:0},transitionControl:{type:ControlType.Transition,defaultValue:Slideshow.defaultProps.transitionControl,title:\"Transition\"},fadeOptions:{type:ControlType.Object,title:\"Clipping\",controls:{fadeContent:{type:ControlType.Boolean,title:\"Fade\",defaultValue:false},overflow:{type:ControlType.Boolean,title:\"Overflow\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false,hidden(props){return props.fadeContent===true;}},fadeWidth:{type:ControlType.Number,title:\"Width\",defaultValue:25,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeInset:{type:ControlType.Number,title:\"Inset\",defaultValue:0,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeAlpha:{type:ControlType.Number,title:\"Opacity\",defaultValue:0,min:0,max:1,step:.05,hidden(props){return props.fadeContent===false;}}}},arrowOptions:{type:ControlType.Object,title:\"Arrows\",controls:{showMouseControls:{type:ControlType.Boolean,title:\"Show\",defaultValue:Slideshow.defaultProps.arrowOptions.showMouseControls},arrowFill:{type:ControlType.Color,title:\"Fill\",hidden:props=>!props.showMouseControls,defaultValue:Slideshow.defaultProps.arrowOptions.arrowFill},leftArrow:{type:ControlType.Image,title:\"Previous\",hidden:props=>!props.showMouseControls},rightArrow:{type:ControlType.Image,title:\"Next\",hidden:props=>!props.showMouseControls},arrowSize:{type:ControlType.Number,title:\"Size\",min:0,max:200,displayStepper:true,defaultValue:Slideshow.defaultProps.arrowOptions.arrowSize,hidden:props=>!props.showMouseControls},arrowRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,defaultValue:40,hidden:props=>!props.showMouseControls},arrowShouldFadeIn:{type:ControlType.Boolean,title:\"Fade In\",defaultValue:false,hidden:props=>!props.showMouseControls},arrowShouldSpace:{type:ControlType.Boolean,title:\"Distance\",enabledTitle:\"Space\",disabledTitle:\"Group\",defaultValue:Slideshow.defaultProps.arrowOptions.arrowShouldSpace,hidden:props=>!props.showMouseControls},arrowPosition:{type:ControlType.Enum,title:\"Position\",options:[\"auto\",\"top-left\",\"top-mid\",\"top-right\",\"bottom-left\",\"bottom-mid\",\"bottom-right\"],optionTitles:[\"Center\",\"Top Left\",\"Top Middle\",\"Top Right\",\"Bottom Left\",\"Bottom Middle\",\"Bottom Right\"],hidden:props=>!props.showMouseControls||props.arrowShouldSpace},arrowPadding:{type:ControlType.Number,title:\"Inset\",min:-100,max:100,defaultValue:20,displayStepper:true,hidden:props=>!props.showMouseControls||!props.arrowShouldSpace},arrowPaddingTop:{type:ControlType.Number,title:\"Top\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"bottom-mid\"||props.arrowPosition===\"bottom-left\"||props.arrowPosition===\"bottom-right\"},arrowPaddingBottom:{type:ControlType.Number,title:\"Bottom\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"top-left\"||props.arrowPosition===\"top-right\"},arrowPaddingRight:{type:ControlType.Number,title:\"Right\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-left\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"bottom-left\"||props.arrowPosition===\"bottom-mid\"},arrowPaddingLeft:{type:ControlType.Number,title:\"Left\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-right\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"bottom-right\"||props.arrowPosition===\"bottom-mid\"},arrowGap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace}}},progressOptions:{type:ControlType.Object,title:\"Dots\",controls:{showProgressDots:{type:ControlType.Boolean,title:\"Show\",defaultValue:false},dotSize:{type:ControlType.Number,title:\"Size\",min:1,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsInset:{type:ControlType.Number,title:\"Inset\",min:-100,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsGap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsPadding:{type:ControlType.Number,title:\"Padding\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsFill:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#fff\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBackground:{type:ControlType.Color,title:\"Backdrop\",defaultValue:\"rgba(0,0,0,0.2)\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:200,defaultValue:50,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsOpacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:1,defaultValue:.5,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsActiveOpacity:{type:ControlType.Number,title:\"Current\",min:0,max:1,defaultValue:1,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBlur:{type:ControlType.Number,title:\"Blur\",min:0,max:50,defaultValue:0,step:1,hidden:props=>!props.showProgressDots||props.showScrollbar}}}});/* Placeholder Styles */const containerStyle={display:\"flex\",flexDirection:\"row\",width:\"100%\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\",placeItems:\"center\",margin:0,padding:0,listStyleType:\"none\",textIndent:\"none\"};/* Component Styles */const placeholderStyles={display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",color:\"#96F\",background:\"rgba(136, 85, 255, 0.1)\",fontSize:11,overflow:\"hidden\",padding:\"20px 20px 30px 20px\"};const emojiStyles={fontSize:32,marginBottom:10};const titleStyles={margin:0,marginBottom:10,fontWeight:600,textAlign:\"center\"};const subtitleStyles={margin:0,opacity:.7,maxWidth:180,lineHeight:1.5,textAlign:\"center\"};/* Control Styles */const baseButtonStyles={border:\"none\",display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",background:\"transparent\",cursor:\"pointer\",margin:0,padding:0};const controlsStyles={display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",position:\"absolute\",pointerEvents:\"none\",userSelect:\"none\",top:0,left:0,right:0,bottom:0,border:0,padding:0,margin:0};/* Clamp function, used for fadeInset */const clamp=(num,min,max)=>Math.min(Math.max(num,min),max);/* Slide Component */const Slide=/*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Component(props,ref){const{slideKey,width,height,child,size,gap,wrappedValue,numChildren,childCounter,isCanvas,effects,effectsOpacity,effectsScale,effectsRotate,isHorizontal,isLast,index,/** 1 or -1 depending on if horizontal and rtl writing direction */directionModifier}=props;const fallbackRef=useRef();/**\n         * Unique offsets + scroll range [0, 1, 1, 0]\n         */const childOffset=(size?.item+gap)*childCounter;const scrollRange=[-size?.item,0,size?.parent-size?.item+gap,size?.parent].map(val=>val-childOffset*directionModifier);/**\n         * Effects\n         */const rotateY=!isCanvas&&useTransform(wrappedValue,scrollRange,[-effectsRotate,0,0,effectsRotate]);const rotateX=!isCanvas&&useTransform(wrappedValue,scrollRange,[effectsRotate,0,0,-effectsRotate]);const opacity=!isCanvas&&useTransform(wrappedValue,scrollRange,[effectsOpacity,1,1,effectsOpacity]);const scale=!isCanvas&&useTransform(wrappedValue,scrollRange,[effectsScale,1,1,effectsScale]);const originXorY=!isCanvas&&useTransform(wrappedValue,scrollRange,[1,1,0,0]);const isVisible=!isCanvas&&useTransform(wrappedValue,latest=>latest>=scrollRange[1]&&latest<=scrollRange[2]);useEffect(()=>{if(!isVisible)return;function manageVisibility(visible){const node=ref?.current??fallbackRef.current;if(!node)return;// for a11y: Manage tabIndex on focusable descendants & aria-hidden on the parent.\nif(visible){node.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.dataset.origTabIndex;if(orig)el.tabIndex=orig;else el.removeAttribute(\"tabIndex\");});}else{node.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.getAttribute(\"tabIndex\");if(orig)el.dataset.origTabIndex=orig;el.tabIndex=-1;});}node.setAttribute(\"aria-hidden\",!visible);}manageVisibility(isVisible);return isVisible.on(\"change\",visible=>{manageVisibility(visible);});},[]);const visibility=isCanvas?\"visible\":useTransform(wrappedValue,[scrollRange[0]-size.viewportLength,mix(scrollRange[1],scrollRange[2],.5),scrollRange[3]+size.viewportLength],[\"hidden\",\"visible\",\"hidden\"]);const key=slideKey+\"child\";return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",id:key,children:/*#__PURE__*/_jsx(\"li\",{style:{display:\"contents\"},children:/*#__PURE__*/cloneElement(child,{ref:ref??fallbackRef,key,style:{...child.props?.style,flexShrink:0,userSelect:\"none\",width,height,opacity:opacity,scale:scale,originX:isHorizontal?originXorY:.5,originY:!isHorizontal?originXorY:.5,rotateY:isHorizontal?rotateY:0,rotateX:!isHorizontal?rotateX:0,visibility},layoutId:child.props.layoutId?child.props.layoutId+\"-original-\"+index:undefined})})});}));const Dot=/*#__PURE__*/memo(function Dot({selectedOpacity,opacity,total,index,wrappedIndex,wrappedIndexInverted,dotStyle,buttonStyle,gap,padding,isHorizontal,isInverted,...props}){/* Check active item *//* Go 0—1—2—3—4—5—0 */let isSelected=wrappedIndex===index;/* Go 0—5—4—3—2—1—0—5 instead when inverted */if(isInverted){isSelected=Math.abs(wrappedIndexInverted)===index;}const inlinePadding=gap/2;const top=!isHorizontal&&index>0?inlinePadding:padding;const bottom=!isHorizontal&&index!==total-1?inlinePadding:padding;const right=isHorizontal&&index!==total-1?inlinePadding:padding;const left=isHorizontal&&index>0?inlinePadding:padding;return /*#__PURE__*/_jsx(\"button\",{\"aria-label\":`Scroll to page ${index+1}`,type:\"button\",...props,style:{...buttonStyle,padding:`${top}px ${right}px ${bottom}px ${left}px`},children:/*#__PURE__*/_jsx(motion.div,{style:{...dotStyle},initial:false,animate:{opacity:isSelected?selectedOpacity:opacity},transition:{duration:.3}})});});/* Dot Styles */const dotsContainerStyle={display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",position:\"absolute\",pointerEvents:\"auto\"};const dotStyle={borderRadius:\"50%\",background:\"white\",cursor:\"pointer\",border:\"none\",placeContent:\"center\",placeItems:\"center\",padding:0};function useWritingDirection(){const[writingDirection,setWritingDirection]=useState(\"ltr\");// must be done this way to ensure that there isn't a mismatch with SSG\n// which leads to button images not updating for the real writing direction\nuseEffect(()=>{if(window?.document?.documentElement?.dir===\"rtl\"){setWritingDirection(\"rtl\");}},[]);return writingDirection;}function getSlideshowResolvedDirection(direction,writingDirection){if(writingDirection!==\"rtl\")return direction;if(direction===\"left\")return\"right\";if(direction===\"right\")return\"left\";return direction;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Slideshow\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"200\",\"framerIntrinsicWidth\":\"400\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerDisableUnlink\":\"*\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SlideShow.map","var LayoutOption = /* @__PURE__ */ ((LayoutOption2) => {\n  LayoutOption2[\"None\"] = \"None\";\n  LayoutOption2[\"MobileMarginType\"] = \"MobileMarginType\";\n  LayoutOption2[\"MobileFullType\"] = \"MobileFullType\";\n  LayoutOption2[\"PCMarginType\"] = \"PCMarginType\";\n  LayoutOption2[\"CardMobileMargin\"] = \"CardMobileMargin\";\n  LayoutOption2[\"CardMobileFull\"] = \"CardMobileFull\";\n  LayoutOption2[\"CardDesktop\"] = \"CardDesktop\";\n  LayoutOption2[\"BarMobile\"] = \"BarMobile\";\n  LayoutOption2[\"BarDesktop\"] = \"BarDesktop\";\n  LayoutOption2[\"Responsive\"] = \"Responsive\";\n  return LayoutOption2;\n})(LayoutOption || {});\nexport {\n  LayoutOption\n};\n","const DEFAULT_IMAGE_URL = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABUCAMAAAAiXkCJAAAATlBMVEX09PT19PT09fT09PX09PPz9PT08/T19PX09fX19fTz9PX09fP19PP08/X18/Tz9fT08/Pz9PP19fPz8/Xz8/Pz9fXz8/T19fX18/Xz9fMQwB7GAAACuElEQVR4nO1WWZLsIAyTbeyEbJ3p2e9/0SfTJ/Crmj+6UgmNSABZMoYB6Ivzfn0q3g3bE4g1WnbtUseBN6jeskKy3fOOtjRArvUUPms4Agvg0A/RjX2dfwQaHZazmpdxWbWxryEfwu8DSzPfo6vJrXWcn7a2q127uSseB+wQjrO4oWJlHBY7tjgB5ffF1BZ3nKFQrsWdL9Zwbn/FTpobV/tJXj0b4BquX8GuRxXn5j0YfFk3IeE5csQRQs6vM5mp4by4/GzdCB+q4rLZ49YerzeLuJNXkTt1xXn8NX/Ejxgp2TmoiOf+yYl1NtsSQxbAk2LL6c7BTw3fEJosG/VJxpUPxaZKcpPgMp4wjgzSHjhV3EhzKnXYoAcFW8MRT5Jgg80ck6PXLvqBIzW6rWU8n5EeFwoql/7AO75ogZ8hgTKeS1+9raZbk9uUWlKGL/VFgb2CWsSTAgbnoM0f6F/00dAVF0+rkvwqPkSapv426om6pxfGb/Em8KuKZ6wsF942TnkurZNea6SZV+uNdNfwTGQ4U54y+Ex9Piy1esTKhE6uqniq097oTKL0OwXAneSOxJ9MwmWc58obOhPGdizbSQPQ5HypxeuQKOP8UQZ2kRnO1PxSBu5wCTTTYPyqODPEsTJyj+WSVZrSTMKUrAf6gztjhi7i6G6ZQe7k85VKzoWe4oxnRizKuLGdx7Wr55mzsJ+iID3KE1K4sSqeyragqCIVS4UtknXASEMavyNbVfCUPC2JZJUQyTY6QAlH2/2kA6o4k9hLjzsnHGfjyCKZ4DmGA/4HF7pyTMLHmVY33jxH5TlUw9G+BJ/sXTblAMeWWS3LjTw50qNFHN/MEJnId72s5dHKnXAvZJyRk/AyPuvDWR/O+nDWh7M+nPXhrA9nfTjrw1kfzvpw1oezPpz14awPZ334B/XhP7ZNXfxTYvLsAAAAAElFTkSuQmCC\";\nconst productGroupItemMock = {\n  id: 0,\n  title: \"\",\n  isNew: false,\n  isFreeShipping: false,\n  isSoldOut: false,\n  isCoupon: false,\n  hasBadge: false,\n  image: DEFAULT_IMAGE_URL,\n  consumerPrice: \"\",\n  lastSalePrice: \"0\",\n  lastSalePercent: \"\",\n  frontBrandNo: 0,\n  likeCount: \"0\",\n  reviewAveragePoint: \"0\",\n  reviewCount: \"0\",\n  productLink: \"\",\n  brandLink: \"\",\n  frontBrandNameEng: \"\",\n  frontBrandNameKor: \"\"\n};\nexport {\n  productGroupItemMock\n};\n","function arrayReduce(array, iteratee, accumulator, initAccum) {\n  var index = -1, length = array == null ? 0 : array.length;\n  if (initAccum && length) {\n    accumulator = array[++index];\n  }\n  while (++index < length) {\n    accumulator = iteratee(accumulator, array[index], index, array);\n  }\n  return accumulator;\n}\nexport {\n  arrayReduce as default\n};\n","function basePropertyOf(object) {\n  return function(key) {\n    return object == null ? void 0 : object[key];\n  };\n}\nexport {\n  basePropertyOf as default\n};\n","import basePropertyOf from \"./_basePropertyOf.js\";\nvar deburredLetters = {\n  // Latin-1 Supplement block.\n  \"À\": \"A\",\n  \"Á\": \"A\",\n  \"Â\": \"A\",\n  \"Ã\": \"A\",\n  \"Ä\": \"A\",\n  \"Å\": \"A\",\n  \"à\": \"a\",\n  \"á\": \"a\",\n  \"â\": \"a\",\n  \"ã\": \"a\",\n  \"ä\": \"a\",\n  \"å\": \"a\",\n  \"Ç\": \"C\",\n  \"ç\": \"c\",\n  \"Ð\": \"D\",\n  \"ð\": \"d\",\n  \"È\": \"E\",\n  \"É\": \"E\",\n  \"Ê\": \"E\",\n  \"Ë\": \"E\",\n  \"è\": \"e\",\n  \"é\": \"e\",\n  \"ê\": \"e\",\n  \"ë\": \"e\",\n  \"Ì\": \"I\",\n  \"Í\": \"I\",\n  \"Î\": \"I\",\n  \"Ï\": \"I\",\n  \"ì\": \"i\",\n  \"í\": \"i\",\n  \"î\": \"i\",\n  \"ï\": \"i\",\n  \"Ñ\": \"N\",\n  \"ñ\": \"n\",\n  \"Ò\": \"O\",\n  \"Ó\": \"O\",\n  \"Ô\": \"O\",\n  \"Õ\": \"O\",\n  \"Ö\": \"O\",\n  \"Ø\": \"O\",\n  \"ò\": \"o\",\n  \"ó\": \"o\",\n  \"ô\": \"o\",\n  \"õ\": \"o\",\n  \"ö\": \"o\",\n  \"ø\": \"o\",\n  \"Ù\": \"U\",\n  \"Ú\": \"U\",\n  \"Û\": \"U\",\n  \"Ü\": \"U\",\n  \"ù\": \"u\",\n  \"ú\": \"u\",\n  \"û\": \"u\",\n  \"ü\": \"u\",\n  \"Ý\": \"Y\",\n  \"ý\": \"y\",\n  \"ÿ\": \"y\",\n  \"Æ\": \"Ae\",\n  \"æ\": \"ae\",\n  \"Þ\": \"Th\",\n  \"þ\": \"th\",\n  \"ß\": \"ss\",\n  // Latin Extended-A block.\n  \"Ā\": \"A\",\n  \"Ă\": \"A\",\n  \"Ą\": \"A\",\n  \"ā\": \"a\",\n  \"ă\": \"a\",\n  \"ą\": \"a\",\n  \"Ć\": \"C\",\n  \"Ĉ\": \"C\",\n  \"Ċ\": \"C\",\n  \"Č\": \"C\",\n  \"ć\": \"c\",\n  \"ĉ\": \"c\",\n  \"ċ\": \"c\",\n  \"č\": \"c\",\n  \"Ď\": \"D\",\n  \"Đ\": \"D\",\n  \"ď\": \"d\",\n  \"đ\": \"d\",\n  \"Ē\": \"E\",\n  \"Ĕ\": \"E\",\n  \"Ė\": \"E\",\n  \"Ę\": \"E\",\n  \"Ě\": \"E\",\n  \"ē\": \"e\",\n  \"ĕ\": \"e\",\n  \"ė\": \"e\",\n  \"ę\": \"e\",\n  \"ě\": \"e\",\n  \"Ĝ\": \"G\",\n  \"Ğ\": \"G\",\n  \"Ġ\": \"G\",\n  \"Ģ\": \"G\",\n  \"ĝ\": \"g\",\n  \"ğ\": \"g\",\n  \"ġ\": \"g\",\n  \"ģ\": \"g\",\n  \"Ĥ\": \"H\",\n  \"Ħ\": \"H\",\n  \"ĥ\": \"h\",\n  \"ħ\": \"h\",\n  \"Ĩ\": \"I\",\n  \"Ī\": \"I\",\n  \"Ĭ\": \"I\",\n  \"Į\": \"I\",\n  \"İ\": \"I\",\n  \"ĩ\": \"i\",\n  \"ī\": \"i\",\n  \"ĭ\": \"i\",\n  \"į\": \"i\",\n  \"ı\": \"i\",\n  \"Ĵ\": \"J\",\n  \"ĵ\": \"j\",\n  \"Ķ\": \"K\",\n  \"ķ\": \"k\",\n  \"ĸ\": \"k\",\n  \"Ĺ\": \"L\",\n  \"Ļ\": \"L\",\n  \"Ľ\": \"L\",\n  \"Ŀ\": \"L\",\n  \"Ł\": \"L\",\n  \"ĺ\": \"l\",\n  \"ļ\": \"l\",\n  \"ľ\": \"l\",\n  \"ŀ\": \"l\",\n  \"ł\": \"l\",\n  \"Ń\": \"N\",\n  \"Ņ\": \"N\",\n  \"Ň\": \"N\",\n  \"Ŋ\": \"N\",\n  \"ń\": \"n\",\n  \"ņ\": \"n\",\n  \"ň\": \"n\",\n  \"ŋ\": \"n\",\n  \"Ō\": \"O\",\n  \"Ŏ\": \"O\",\n  \"Ő\": \"O\",\n  \"ō\": \"o\",\n  \"ŏ\": \"o\",\n  \"ő\": \"o\",\n  \"Ŕ\": \"R\",\n  \"Ŗ\": \"R\",\n  \"Ř\": \"R\",\n  \"ŕ\": \"r\",\n  \"ŗ\": \"r\",\n  \"ř\": \"r\",\n  \"Ś\": \"S\",\n  \"Ŝ\": \"S\",\n  \"Ş\": \"S\",\n  \"Š\": \"S\",\n  \"ś\": \"s\",\n  \"ŝ\": \"s\",\n  \"ş\": \"s\",\n  \"š\": \"s\",\n  \"Ţ\": \"T\",\n  \"Ť\": \"T\",\n  \"Ŧ\": \"T\",\n  \"ţ\": \"t\",\n  \"ť\": \"t\",\n  \"ŧ\": \"t\",\n  \"Ũ\": \"U\",\n  \"Ū\": \"U\",\n  \"Ŭ\": \"U\",\n  \"Ů\": \"U\",\n  \"Ű\": \"U\",\n  \"Ų\": \"U\",\n  \"ũ\": \"u\",\n  \"ū\": \"u\",\n  \"ŭ\": \"u\",\n  \"ů\": \"u\",\n  \"ű\": \"u\",\n  \"ų\": \"u\",\n  \"Ŵ\": \"W\",\n  \"ŵ\": \"w\",\n  \"Ŷ\": \"Y\",\n  \"ŷ\": \"y\",\n  \"Ÿ\": \"Y\",\n  \"Ź\": \"Z\",\n  \"Ż\": \"Z\",\n  \"Ž\": \"Z\",\n  \"ź\": \"z\",\n  \"ż\": \"z\",\n  \"ž\": \"z\",\n  \"Ĳ\": \"IJ\",\n  \"ĳ\": \"ij\",\n  \"Œ\": \"Oe\",\n  \"œ\": \"oe\",\n  \"ŉ\": \"'n\",\n  \"ſ\": \"s\"\n};\nvar deburrLetter = basePropertyOf(deburredLetters);\nconst deburrLetter$1 = deburrLetter;\nexport {\n  deburrLetter$1 as default\n};\n","function arrayMap(array, iteratee) {\n  var index = -1, length = array == null ? 0 : array.length, result = Array(length);\n  while (++index < length) {\n    result[index] = iteratee(array[index], index, array);\n  }\n  return result;\n}\nexport {\n  arrayMap as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nimport arrayMap from \"./_arrayMap.js\";\nimport isArray from \"./isArray.js\";\nimport isSymbol from \"./isSymbol.js\";\nvar INFINITY = 1 / 0;\nvar symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;\nfunction baseToString(value) {\n  if (typeof value == \"string\") {\n    return value;\n  }\n  if (isArray(value)) {\n    return arrayMap(value, baseToString) + \"\";\n  }\n  if (isSymbol(value)) {\n    return symbolToString ? symbolToString.call(value) : \"\";\n  }\n  var result = value + \"\";\n  return result == \"0\" && 1 / value == -INFINITY ? \"-0\" : result;\n}\nexport {\n  baseToString as default\n};\n","import baseToString from \"./_baseToString.js\";\nfunction toString(value) {\n  return value == null ? \"\" : baseToString(value);\n}\nexport {\n  toString as default\n};\n","import deburrLetter from \"./_deburrLetter.js\";\nimport toString from \"./toString.js\";\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\nvar rsComboMarksRange = \"\\\\u0300-\\\\u036f\", reComboHalfMarksRange = \"\\\\ufe20-\\\\ufe2f\", rsComboSymbolsRange = \"\\\\u20d0-\\\\u20ff\", rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;\nvar rsCombo = \"[\" + rsComboRange + \"]\";\nvar reComboMark = RegExp(rsCombo, \"g\");\nfunction deburr(string) {\n  string = toString(string);\n  return string && string.replace(reLatin, deburrLetter).replace(reComboMark, \"\");\n}\nexport {\n  deburr as default\n};\n","var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\nfunction asciiWords(string) {\n  return string.match(reAsciiWord) || [];\n}\nexport {\n  asciiWords as default\n};\n","var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\nfunction hasUnicodeWord(string) {\n  return reHasUnicodeWord.test(string);\n}\nexport {\n  hasUnicodeWord as default\n};\n","var rsAstralRange = \"\\\\ud800-\\\\udfff\", rsComboMarksRange = \"\\\\u0300-\\\\u036f\", reComboHalfMarksRange = \"\\\\ufe20-\\\\ufe2f\", rsComboSymbolsRange = \"\\\\u20d0-\\\\u20ff\", rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, rsDingbatRange = \"\\\\u2700-\\\\u27bf\", rsLowerRange = \"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\", rsMathOpRange = \"\\\\xac\\\\xb1\\\\xd7\\\\xf7\", rsNonCharRange = \"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\", rsPunctuationRange = \"\\\\u2000-\\\\u206f\", rsSpaceRange = \" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\", rsUpperRange = \"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\", rsVarRange = \"\\\\ufe0e\\\\ufe0f\", rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\nvar rsApos = \"['’]\", rsBreak = \"[\" + rsBreakRange + \"]\", rsCombo = \"[\" + rsComboRange + \"]\", rsDigits = \"\\\\d+\", rsDingbat = \"[\" + rsDingbatRange + \"]\", rsLower = \"[\" + rsLowerRange + \"]\", rsMisc = \"[^\" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + \"]\", rsFitz = \"\\\\ud83c[\\\\udffb-\\\\udfff]\", rsModifier = \"(?:\" + rsCombo + \"|\" + rsFitz + \")\", rsNonAstral = \"[^\" + rsAstralRange + \"]\", rsRegional = \"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\", rsSurrPair = \"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\", rsUpper = \"[\" + rsUpperRange + \"]\", rsZWJ = \"\\\\u200d\";\nvar rsMiscLower = \"(?:\" + rsLower + \"|\" + rsMisc + \")\", rsMiscUpper = \"(?:\" + rsUpper + \"|\" + rsMisc + \")\", rsOptContrLower = \"(?:\" + rsApos + \"(?:d|ll|m|re|s|t|ve))?\", rsOptContrUpper = \"(?:\" + rsApos + \"(?:D|LL|M|RE|S|T|VE))?\", reOptMod = rsModifier + \"?\", rsOptVar = \"[\" + rsVarRange + \"]?\", rsOptJoin = \"(?:\" + rsZWJ + \"(?:\" + [rsNonAstral, rsRegional, rsSurrPair].join(\"|\") + \")\" + rsOptVar + reOptMod + \")*\", rsOrdLower = \"\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])\", rsOrdUpper = \"\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])\", rsSeq = rsOptVar + reOptMod + rsOptJoin, rsEmoji = \"(?:\" + [rsDingbat, rsRegional, rsSurrPair].join(\"|\") + \")\" + rsSeq;\nvar reUnicodeWord = RegExp([\n  rsUpper + \"?\" + rsLower + \"+\" + rsOptContrLower + \"(?=\" + [rsBreak, rsUpper, \"$\"].join(\"|\") + \")\",\n  rsMiscUpper + \"+\" + rsOptContrUpper + \"(?=\" + [rsBreak, rsUpper + rsMiscLower, \"$\"].join(\"|\") + \")\",\n  rsUpper + \"?\" + rsMiscLower + \"+\" + rsOptContrLower,\n  rsUpper + \"+\" + rsOptContrUpper,\n  rsOrdUpper,\n  rsOrdLower,\n  rsDigits,\n  rsEmoji\n].join(\"|\"), \"g\");\nfunction unicodeWords(string) {\n  return string.match(reUnicodeWord) || [];\n}\nexport {\n  unicodeWords as default\n};\n","import asciiWords from \"./_asciiWords.js\";\nimport hasUnicodeWord from \"./_hasUnicodeWord.js\";\nimport toString from \"./toString.js\";\nimport unicodeWords from \"./_unicodeWords.js\";\nfunction words(string, pattern, guard) {\n  string = toString(string);\n  pattern = guard ? void 0 : pattern;\n  if (pattern === void 0) {\n    return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n  }\n  return string.match(pattern) || [];\n}\nexport {\n  words as default\n};\n","import arrayReduce from \"./_arrayReduce.js\";\nimport deburr from \"./deburr.js\";\nimport words from \"./words.js\";\nvar rsApos = \"['’]\";\nvar reApos = RegExp(rsApos, \"g\");\nfunction createCompounder(callback) {\n  return function(string) {\n    return arrayReduce(words(deburr(string).replace(reApos, \"\")), callback, \"\");\n  };\n}\nexport {\n  createCompounder as default\n};\n","import createCompounder from \"./_createCompounder.js\";\nvar kebabCase = createCompounder(function(result, word, index) {\n  return result + (index ? \"-\" : \"\") + word.toLowerCase();\n});\nexport {\n  kebabCase as default\n};\n","import { LayoutOption } from \"../../../types/product.js\";\nimport { productGroupItemMock } from \"./__mocks__/ProductGroupItem.mocks.js\";\nimport kebabCase from \"../../../node_modules/lodash-es/kebabCase.js\";\nconst formatProduct = (isDesktop, product) => {\n  const {\n    isNew,\n    isFreeShipping,\n    isSoldOut,\n    isCoupon\n  } = product;\n  const hasBadge = isNew || isFreeShipping || isSoldOut || isCoupon;\n  return {\n    id: product.itemNo,\n    title: createProductName(product.subjectDescriptions, product.itemName),\n    isNew,\n    isFreeShipping,\n    isSoldOut,\n    isCoupon,\n    hasBadge,\n    image: `https://img.29cm.co.kr${product.imageUrl}?q=75&width=${isDesktop ? 720 : 480}`,\n    consumerPrice: product.consumerPrice.toLocaleString(),\n    lastSalePrice: product.lastSalePrice.toLocaleString(),\n    lastSalePercent: `${product.lastSalePercent}%`,\n    frontBrandNo: product.frontBrandNo,\n    likeCount: product.heartCount.toString(),\n    reviewAveragePoint: product.reviewAveragePoint.toString(),\n    reviewCount: product.reviewCount > 0 ? `(${product.reviewCount})` : \"\",\n    productLink: createProductLink(product.itemNo),\n    brandLink: `https://shop.29cm.co.kr/brand/${product.frontBrandNo}`,\n    frontBrandNameKor: product.frontBrandNameKor,\n    frontBrandNameEng: product.frontBrandNameEng\n  };\n};\nconst createProductLink = (itemNo) => {\n  const queryParams = createProductLinkQueryParams();\n  return `https://product.29cm.co.kr/catalog/${itemNo}${queryParams}`;\n};\nconst createProductLinkQueryParams = () => {\n  const params = [];\n  const source = getSourceParams();\n  if (source) {\n    params.push(`source=${source}`);\n  }\n  return params.length ? `?${params.join(\"&\")}` : \"\";\n};\nconst getSourceParams = () => {\n  const searchParams = new URL(document.location.href).searchParams;\n  const source = searchParams.get(\"source\");\n  return source;\n};\nconst createProductName = (subjectDescriptions, itemName) => subjectDescriptions.length > 0 ? `${subjectDescriptions.join(\" \")}_${itemName}` : itemName;\nconst getLayoutVariant = (layout) => {\n  switch (true) {\n    case layout === LayoutOption.PCMarginType:\n    case layout === LayoutOption.MobileMarginType:\n    case layout === LayoutOption.MobileFullType:\n      return kebabCase(layout);\n    default:\n      return layout;\n  }\n};\nconst formatLoadingProduct = (productId) => {\n  return {\n    ...productGroupItemMock,\n    id: productId,\n    title: \"Loading...\"\n  };\n};\nexport {\n  createProductName,\n  formatLoadingProduct,\n  formatProduct,\n  getLayoutVariant\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useInView } from \"framer-motion\";\nimport { useRef, useEffect } from \"react\";\nimport { formatFramerProduct2Product } from \"../../../apis/framer/FramerApiService.js\";\nimport { conditional } from \"../../../utils/function.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../config/index.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport { useProductHeart } from \"../../../hooks/product/useProductHeart.js\";\nimport { useTrackClickProduct, useTrackViewProduct, useTrackImpProduct } from \"../../../hooks/product/useEvent.js\";\nimport { LayoutOption } from \"../../../types/product.js\";\nimport { formatProduct } from \"./ProductGroupItem.utils.js\";\nimport kebabCase from \"../../../node_modules/lodash-es/kebabCase.js\";\nconst ProductGroupItem = ({\n  layout,\n  isHeartOn,\n  product,\n  componentName,\n  positionNo,\n  maxPositionNo,\n  renderer,\n  onHeartOn,\n  onHeartOff\n}) => {\n  const convertedProduct = formatFramerProduct2Product(product);\n  const eventProperties = {\n    product: convertedProduct,\n    isProductGroup: true,\n    componentName,\n    positionNo,\n    maxPositionNo\n  };\n  const {\n    trackClickProduct\n  } = useTrackClickProduct(eventProperties);\n  const {\n    trackViewProduct\n  } = useTrackViewProduct(eventProperties);\n  const {\n    trackImpProduct\n  } = useTrackImpProduct(eventProperties);\n  const ref = useRef(null);\n  const isInView = useInView(ref, {\n    amount: 0.5\n  });\n  const isAllInView = useInView(ref, {\n    amount: 1\n  });\n  useEffect(() => conditional(isInView, trackViewProduct)(), [isInView]);\n  useEffect(() => conditional(isAllInView, trackImpProduct)(), [isAllInView]);\n  const handleProductClick = () => {\n    conditional(!isInView, trackViewProduct)();\n    conditional(!isAllInView, trackImpProduct)();\n    trackClickProduct();\n  };\n  const {\n    heartCount,\n    handleToggleLike\n  } = useProductHeart(convertedProduct, isHeartOn, onHeartOn, onHeartOff);\n  const isDesktop = layout === LayoutOption.PCMarginType;\n  const formattedProduct = formatProduct(isDesktop, {\n    ...product,\n    heartCount\n  });\n  return /* @__PURE__ */ jsx(\"div\", { ref, children: renderer({\n    ...formattedProduct,\n    isHeartOn,\n    variant: getLayoutVariant(layout),\n    onToggleLike: handleToggleLike,\n    onProductNameClick: handleProductClick,\n    onProductImageClick: handleProductClick\n  }) });\n};\nconst getLayoutVariant = (layout) => {\n  switch (true) {\n    case layout === LayoutOption.PCMarginType:\n    case layout === LayoutOption.MobileMarginType:\n    case layout === LayoutOption.MobileFullType:\n      return kebabCase(layout);\n    default:\n      return layout;\n  }\n};\nexport {\n  ProductGroupItem\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { formatLoadingProduct, getLayoutVariant } from \"./ProductGroupItem.utils.js\";\nconst ProductGroupItemLoading = ({\n  productId,\n  layout,\n  renderer\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { children: renderer({\n    ...formatLoadingProduct(productId),\n    variant: getLayoutVariant(layout),\n    isHeartOn: \"OFF\"\n  }) });\n};\nexport {\n  ProductGroupItemLoading\n};\n","(function() {\n  \"use strict\";\n  try {\n    if (typeof document != \"undefined\") {\n      var elementStyle = document.createElement(\"style\");\n      elementStyle.appendChild(document.createTextNode(\"._grid_zdupy_1 {\\n  display: grid;\\n  overflow: hidden;\\n}\\n\\n._mobileFull_zdupy_6 {\\n  grid-template-columns: repeat(2, 1fr);\\n  gap: 40px 0px;\\n}\\n\\n._mobileMargin_zdupy_11 {\\n  grid-template-columns: repeat(2, 1fr);\\n  gap: 40px 7px;\\n}\\n\\n._desktopMargin_zdupy_16 {\\n  grid-template-columns: repeat(4, 1fr);\\n  gap: 40px 20px;\\n}\\n\\n._cardMobileMargin_zdupy_21 {\\n  gap: 40px 7px;\\n}\\n\\n._cardMobileFull_zdupy_25 {\\n  gap: 40px 0px;\\n}\\n\\n._cardDesktop_zdupy_29 {\\n  gap: 40px 20px;\\n}\\n\\n._barMobile_zdupy_33 {\\n  gap: 10px 21px;\\n}\\n\\n._barDesktop_zdupy_37 {\\n  gap: 20px 12px;\\n}\\n\\n._responsive_zdupy_41 {\\n  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));\\n  gap: 40px 20px;\\n}\\n\\n@media (max-width: 614px) {\\n  ._responsive_zdupy_41 {\\n    grid-template-columns: repeat(2, 1fr);\\n    gap: 40px 7px;\\n  }\\n}\"));\n      document.head.appendChild(elementStyle);\n    }\n  } catch (e) {\n    console.error(\"vite-plugin-css-injected-by-js\", e);\n  }\n})();\nconst grid = \"_grid_zdupy_1\";\nconst mobileFull = \"_mobileFull_zdupy_6\";\nconst mobileMargin = \"_mobileMargin_zdupy_11\";\nconst desktopMargin = \"_desktopMargin_zdupy_16\";\nconst cardMobileMargin = \"_cardMobileMargin_zdupy_21\";\nconst cardMobileFull = \"_cardMobileFull_zdupy_25\";\nconst cardDesktop = \"_cardDesktop_zdupy_29\";\nconst barMobile = \"_barMobile_zdupy_33\";\nconst barDesktop = \"_barDesktop_zdupy_37\";\nconst responsive = \"_responsive_zdupy_41\";\nconst styles = {\n  grid,\n  mobileFull,\n  mobileMargin,\n  desktopMargin,\n  cardMobileMargin,\n  cardMobileFull,\n  cardDesktop,\n  barMobile,\n  barDesktop,\n  responsive\n};\nexport {\n  barDesktop,\n  barMobile,\n  cardDesktop,\n  cardMobileFull,\n  cardMobileMargin,\n  styles as default,\n  desktopMargin,\n  grid,\n  mobileFull,\n  mobileMargin,\n  responsive\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useFetchProductList } from \"../../../hooks/fetchers/useFetchProductList.js\";\nimport { useSendProductIds } from \"../../../hooks/product/useSendProductIds.js\";\nimport { useProductGroupHeart } from \"../../../hooks/product/useProductGroupHeart.js\";\nimport \"react\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../apis/taste-sharing/TasteSharingApiService.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../apis/preuser/PreuserApiService.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"../../../constants/snowplow/snowplowSchema.js\";\nimport { LayoutOption } from \"../../../types/product.js\";\nimport { ProductGroupItem } from \"../ProductGroupItem/ProductGroupItem.js\";\nimport { ProductGroupItemLoading } from \"../ProductGroupItem/ProductGroupItemLoading.js\";\nimport styles from \"./ProductGroup.module.css.js\";\nimport { splitToNumberArray } from \"../../../utils/splitToNumberArray.js\";\nconst ProductGroup = ({\n  itemIdList = \"\",\n  layout = LayoutOption.MobileFullType,\n  column,\n  name = \"ProductGroup\",\n  renderer\n}) => {\n  const productIdList = splitToNumberArray(itemIdList);\n  const {\n    isLoading,\n    productList\n  } = useFetchProductList(productIdList);\n  const {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  } = useProductGroupHeart();\n  useSendProductIds(itemIdList);\n  return /* @__PURE__ */ jsxs(\"div\", { className: containerClassName(layout), style: layout !== LayoutOption.Responsive ? containerStyle(column) : void 0, children: [\n    isLoading ? productIdList.map((productId) => {\n      return /* @__PURE__ */ jsx(ProductGroupItemLoading, { productId, layout, renderer }, productId);\n    }) : null,\n    productList.map((product, index) => {\n      const positionNo = index + 1;\n      const maxPositionNo = productList.length;\n      return /* @__PURE__ */ jsx(ProductGroupItem, { layout, isHeartOn: isHeartOn(product.itemNo), product, componentName: name, positionNo, maxPositionNo, renderer, onHeartOn: handleHeartOn, onHeartOff: handleHeartOff }, product.itemNo);\n    })\n  ] });\n};\nconst containerClassName = (layout) => {\n  switch (true) {\n    case layout === LayoutOption.MobileFullType:\n      return `${styles.grid} ${styles.mobileFull}`;\n    case layout === LayoutOption.MobileMarginType:\n      return `${styles.grid} ${styles.mobileMargin}`;\n    case layout === LayoutOption.PCMarginType:\n      return `${styles.grid} ${styles.desktopMargin}`;\n    case layout === LayoutOption.CardMobileMargin:\n      return `${styles.grid} ${styles.cardMobileMargin}`;\n    case layout === LayoutOption.CardMobileFull:\n      return `${styles.grid} ${styles.cardMobileFull}`;\n    case layout === LayoutOption.CardDesktop:\n      return `${styles.grid} ${styles.cardDesktop}`;\n    case layout === LayoutOption.BarMobile:\n      return `${styles.grid} ${styles.barMobile}`;\n    case layout === LayoutOption.BarDesktop:\n      return `${styles.grid} ${styles.barDesktop}`;\n    case layout === LayoutOption.Responsive:\n      return `${styles.grid} ${styles.responsive}`;\n    default:\n      return \"\";\n  }\n};\nconst containerStyle = (column) => column ? {\n  gridTemplateColumns: `repeat(${column}, 1fr)`\n} : void 0;\nexport {\n  ProductGroup\n};\n","import { ProductGroup } from \"./ProductGroup.js\";\nexport {\n  ProductGroup\n};\n"],"x_google_ignoreList":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,56,57,58,65,66,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,105,113,114,135,137,138,139,140,141,142,143,144,145,176,177,178,179,180,185,188,189,194,225,226,227,228,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,278,279,280,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,377,378,379,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,416,423,428,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,590,591,592,593,594,595,596,597,598,599,600,601,602],"mappings":"myNAA8E,KACvB,CACjD,OAAqC,CACzC,GAAM,CACJ,WACE,GAAgB,UAAU,CACxB,CACJ,QACA,YACA,UACE,EACJ,MAAO,CACL,WAAY,EACZ,cAAe,EACf,OAAQ,EACR,YAAa,IAAW,CAAG,YAAc,UACzC,YAAa,SACd,0BCjBqE,KACkB,CACpF,OAA+B,CACnC,GAAM,CACJ,iBACA,iBACE,IAAc,CAUlB,MAAO,CACL,qBAV2B,EAAW,EAAQ,EAAE,GAAK,CACrD,IAAM,EAAa,CACjB,GAAG,IAA8B,CACjC,YACA,GAAG,EACJ,CACD,EAAe,0BAA2B,EAAW,CACrD,EAAc,0BAA2B,EAAW,EAIrD,EAEG,OAA8B,CAClC,GAAM,CACJ,iBACA,iBACE,IAAc,CAUlB,MAAO,CACL,oBAV0B,EAAW,EAAQ,EAAE,GAAK,CACpD,IAAM,EAAa,CACjB,GAAG,IAA8B,CACjC,YACA,GA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,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,kBAAmB,CACjBD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,gBAAiB,CACfD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,UAAW,CACTD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,iBAAkB,CAChBD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,eAAgB,CACdD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,UAAW,CACTD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,iBAAkB,CAChBD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,eAAgB,CACdD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,UAAW,CACTD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,iBAAkB,CAChBD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,eAAgB,CACdD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,WAAY,CACVD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,kBAAmB,CACjBD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,gBAAiB,CACfD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,IAAK,CACHD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,aAAc,CACZD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,WAAY,CACVD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,GAAI,CACFD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,YAAa,CACXD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,UAAW,CACTD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,EAAG,CACDD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,WAAY,CACVD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,SAAU,CACRD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,EAAG,CACDD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,WAAY,CACVD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,SAAU,CACRD,EAAE,iBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,EAAG,CACDD,EAAE,gBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,WAAY,CACVD,EAAE,gBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,SAAU,CACRD,EAAE,gBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,YACf,CACF,CACD,YAAa,CACXD,EAAE,gBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,cACf,CACF,CACD,GAAI,CACFD,EAAE,gBACF,CACE,WAAYE,EAAE,iBACd,WAAYD,EAAE,eACf,CACF,CACD,UAAW,CACTD,EAAE,gBACF,CACE,WAAYE,EAA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ACP,CACD,MAAO,CACL,OAAQ,uBACR,MAAO,uBACP,KAAM,iDACP,CACF,CAED,OAAQ,CACN,KAAM,EAAE,CACT,CACD,YAAa,CACX,KAAM,CACJ,MAAO,WACR,CACF,CACD,QAAS,CACP,KAAM,CACJ,OAAQ,6GACT,CACF,CACD,SAAU,CACR,KAAM,CACJ,OAAQ,gBACT,CACF,CACD,MAAO,CACL,MAAO,EAAE,CACT,KAAM,EAAE,CACT,CACF,CACD,iBAAkB,CAChB,CACE,KAAM,SACN,OAAQ,GACR,MAAO,CACL,OAAQ,cACR,MAAO,cACR,CACF,CACD,CACE,KAAM,QACN,OAAQ,GACR,MAAO,CACL,OAAQ,cACR,MAAO,cACR,CACF,CACD,CACE,KAAM,SACN,OAAQ,GACR,MAAO,CACL,OAAQ,gBACR,MAAO,gBACR,CACF,CACD,CACE,KAAM,QACN,OAAQ,GACR,MAAO,CACL,OAAQ,qBACR,MAAO,qBACR,CACF,CACD,CACE,SAAU,UACV,MAAO,QACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,0GACT,CACF,CACD,CACE,SAAU,UACV,MAAO,OACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,oBACT,CACF,CACD,CACE,SAAU,YACV,MAAO,QACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,gHACT,CACF,CACD,CACE,SAAU,YACV,MAAO,OACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,sBACT,CACF,CACD,CACE,SAAU,WACV,MAAO,QACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,6GACT,CACF,CACD,CACE,SAAU,WACV,MAAO,OACP,QAAS,GACT,SAAU,GACV,MAAO,CACL,OAAQ,qBACT,CACF,CACF,CACF,CAAC,CAAEC,GAAIC,GACL,CACC,MAAOC,EACP,SAAUC,EAAI,UACd,KAAMC,EAAI,SACV,MAAOC,EAAM,QACb,OAAQC,EACR,YAAaC,EACb,QAASC,EAAI,GACb,SAAUC,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ACJ,KACC,KACE,KACC,KACJ,KACC,KACE,KACI,KACJ,KACC,KACE,KACH,KACJ,KACC,KACE,KACI,KACJ,KACC,KACE,KACG,KACJ,KACG,KACA,KACJ,KACC,KACE,KACD,KACJ,KACY,KACJ,KACC,KACE,KACD,KACJ,KACC,KACE,KACR,KACE,KACO,KACJ,KACC,KACE,KACC,KACJ,KACC,KACE,KACE,KACJ,KACC,KACE,KACF,KACJ,KACC,KACE,KACH,KACJ,KACC,KACE,KACC,KACJ,KACC,KACE,KACG,KACJ,KACC,KACE,KACA,KACJ,KACC,KACE,KACG,KACJ,KACC,KACE,KACM,KACJ,KACC,KACE,KACA,KACJ,KACC,KACE,KACF,KACJ,KACC,KACE,KACC,KACJ,KACC,KACE,KACI,KACJ,KACC,KACE,KACJ,KACJ,KACC,KACE,KACA,KACJ,KACC,KACE,KACJ,KACM,KACJ,KACO,KACJ,KACC,KACE,KACL,KACE,KACU,KACJ,KACC,KACE,KACE,KACJ,KACC,KACE,KACR,KACH,KACJ,KACC,KACE,KACL,KACA,KACQ,KACJ,KACC,KACE,KACA,KACJ,KACG,KACA,KACJ,KACC,KACE,KACE,KACJ,KACG,KACM,KACJ,KACC,KACE,KACR,KACJ,KACM,KACJ,KACC,KACE,KACA,KACA,KACC,KACE,KACD,KACJ,KACG,KACI,KACJ,KACG,KACX,KACU,KACJ,KACC,KACE,KACR,KACM,KACJ,KACG,KACJ,KACS,KACJ,KACC,KACE,KACE,KACJ,KACC,KACE,KACV,KACQ,KACJ,KACC,KACE,KACK,KACJ,KACC,KACE,KACH,KACJ,KACC,KACE,KACG,KACJ,KACC,KACE,KACA,KACJ,KACC,KACE,KACE,KACJ,KACQ,KACJ,KACC,KACE,KACJ,KACE,KACJ,KACC,KACE,KACD,KACJ,KACC,KACE,KACD,KACC,KACG,KACF,KACA,KACJ,KACC,KACE,KACA,KACJ,KACQ,KACJ,KACC,KACE,KACN,KACE,KACM,KACJ,KACC,KACE,KACH,KACJ,KACC,KACE,KACG,KACJ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AK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KAEL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL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