{"version":3,"file":"TextButton.rENSAakv.mjs","names":["createContext","Root","forwardRef","useRef","useState","containerStyle","useContext","Gradient","forwardRef","useState","css","List","forwardRef","useState","containerStyle","Panel","forwardRef","containerStyle","isFunction","createContext","Root","forwardRef","useContext","containerStyle","Fragment","Default","forwardRef","a$1","useCallback","useMemo","a","forwardRef","t","p","forwardRef","baseStyleByTheme","Item","forwardRef","Fragment","Default","createContext","useRef","useContext","Default","forwardRef","useContext","containerStyle","forwardRef","useRef","useState","containerStyle","Default","wrapperResetStyle","wrapperStyle","wrapperStyleByBreakpoint","listStyle","withStyle","forwardRef","Default","classNames","wrapperStyleByBreakpoint","createContext","Root","forwardRef","List","entries","getPrototype","objectTag","getPrototype","hasOwnProperty","hasOwnProperty","getPrototype","arrayBufferTag","boolTag","dateTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","mapTag","numberTag","stringTag","regexpTag","setTag","symbolTag","getTag","mapTag","getTag","setTag","CLONE_DEEP_FLAG","CLONE_SYMBOLS_FLAG","getTag","slice","forwardRef","containerStyle","useRef","Default","forwardRef","Default","containerStyle","createContext","forwardRef","containerStyle","containerStyleByPriority","forwardRef","containerStyle","containerStyleByBreakpoint","forwardRef","useMemo","containerStyle","useRef","useContext","forwardRef","contentStyle","forwardRef","skeletonStyle","skeletonStyleByPriority","skeletonStyleByTheme","containerStyle","textColor","forwardRef","containerStyle","containerStyleByPriority","forwardRef","containerStyle","forwardRef","containerStyle","forwardRef","forwardRef"],"sources":["https:/asset.29cm.co.kr/contents/framer/utils/getRestScrollWidth.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Root.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Gradient.js","https:/asset.29cm.co.kr/contents/framer/utils/closest.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/List.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Panel.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/Trigger.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/DraggableTabs/index.js","https:/asset.29cm.co.kr/contents/framer/styles/breakpoint.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Root.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/List.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Tag/Tag.styles.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Tag/useTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/@29cm/ruler-ui/dist/components/Tag/ToggleTag/ToggleTag.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/TagSkeleton/TagSkeleton.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Item.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Panels.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/Panel.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Tags/index.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/IntersectionProvider/IntersectionProvider.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/IntersectionProvider/IntersectionProvider.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/SectionLayout/SectionLayout.js","https:/asset.29cm.co.kr/contents/framer/libs/property-controls/breakpoint.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/layouts/Grid.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/ArrowIcon/ArrowIcon.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/HorizontalList.js","https:/asset.29cm.co.kr/contents/framer/utils/isLast.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/noop.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Item.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/VerticalList.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Root.js","https:/asset.29cm.co.kr/contents/framer/utils/fromEntries.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_assignMergeValue.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_createBaseFor.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseFor.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneBuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneArrayBuffer.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneTypedArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copyArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseCreate.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getPrototype.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_initCloneObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isArrayLikeObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isPlainObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_safeGet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copyObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_nativeKeysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseKeysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/keysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/toPlainObject.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseMergeDeep.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseMerge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseRest.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_isIterateeCall.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_createAssigner.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/merge.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_arrayEach.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseAssign.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseAssignIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copySymbols.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getSymbolsIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_copySymbolsIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_getAllKeysIn.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_initCloneArray.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneDataView.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneRegExp.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_cloneSymbol.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_initCloneByTag.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isMap.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseIsSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/isSet.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/_baseClone.js","https:/asset.29cm.co.kr/contents/framer/node_modules/lodash-es/cloneDeep.js","https:/asset.29cm.co.kr/contents/framer/utils/createSlices.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/ProductCardSkeleton/ProductCardSkeleton.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/Lazy/Lazy.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Card.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/index.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Products/Root.utils.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Root.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Root.constants.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Image.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Video.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Root.hooks.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Content.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Title.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Description.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Action.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Gradient.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/Body.js","https:/asset.29cm.co.kr/contents/framer/components/systems/curations/Headline/index.js","https:/asset.29cm.co.kr/contents/framer/components/@shared/TextButton/TextButton.js"],"sourcesContent":["const getRestScrollWidth = (element) => {\n  const {\n    scrollWidth = 0,\n    offsetWidth = 0\n  } = element ?? {};\n  return scrollWidth - offsetWidth;\n};\nexport {\n  getRestScrollWidth\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useMotionValue, clamp, animate } from \"framer-motion\";\nimport { createContext, forwardRef, useRef, useState, useLayoutEffect, useEffect } from \"react\";\nimport { getRestScrollWidth } from \"../../../utils/getRestScrollWidth.js\";\nconst DraggableTabsContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  defaultValue,\n  value,\n  dragPaddingLeft = 0,\n  dragPaddingRight = 0,\n  onValueChange,\n  ...rest\n}, ref) => {\n  const refs = useRef(/* @__PURE__ */ new Map());\n  const listRef = useRef(null);\n  const [firstValue] = refs.current.keys();\n  const [currentValue, setCurrentValue] = useState(defaultValue ?? value ?? firstValue);\n  const listX = useMotionValue(0);\n  const focusTo = (incoming, smooth = true) => {\n    const item = refs.current.get(incoming);\n    if (item === void 0) {\n      return;\n    }\n    const threshold = getRestScrollWidth(listRef.current);\n    const finalX = -clamp(0, threshold, item.offsetLeft - dragPaddingLeft);\n    if (smooth) {\n      animate(listX, finalX, {\n        type: \"spring\",\n        stiffness: 400,\n        damping: 50\n      });\n    } else {\n      listX.set(finalX);\n    }\n  };\n  const move = (next) => {\n    onValueChange == null ? void 0 : onValueChange(next);\n    setCurrentValue(next);\n    focusTo(next);\n  };\n  useLayoutEffect(() => {\n    if (defaultValue) {\n      focusTo(defaultValue, false);\n    }\n  }, []);\n  useEffect(() => {\n    if (value) {\n      move(value);\n    }\n  }, [value]);\n  const context = {\n    refs,\n    listRef,\n    currentValue,\n    listX,\n    dragPaddingLeft,\n    dragPaddingRight,\n    move\n  };\n  return /* @__PURE__ */ jsx(DraggableTabsContext.Provider, { value: context, children: /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...style,\n    ...containerStyle\n  }, children }) });\n});\nconst containerStyle = {\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nexport {\n  DraggableTabsContext,\n  Root\n};\n","import { useContext } from \"react\";\nimport { DraggableTabsContext } from \"./Root.js\";\nconst useDraggableTabsContext = () => {\n  const context = useContext(DraggableTabsContext);\n  if (!context) {\n    throw new Error(\"useDraggableTabsContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useDraggableTabsContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useTransform, motion, useMotionValue, useMotionValueEvent } from \"framer-motion\";\nimport { useDraggableTabsContext } from \"./Root.hooks.js\";\nimport { forwardRef, useState, useEffect } from \"react\";\nimport { getRestScrollWidth } from \"../../../utils/getRestScrollWidth.js\";\nconst Gradient = forwardRef(({\n  style,\n  theme = \"light\",\n  ...props\n}, ref) => {\n  const {\n    listRef\n  } = useDraggableTabsContext();\n  const xProgress = useListXProgress();\n  const opacity = useTransform(xProgress, [0.95, 1], [1, 0]);\n  const [hidden, setHidden] = useState(true);\n  useEffect(() => {\n    const container = listRef.current;\n    if (container === null) {\n      return;\n    }\n    setHidden(container.scrollWidth <= container.clientWidth);\n  }, []);\n  return /* @__PURE__ */ jsx(motion.div, { ref, ...props, style: {\n    ...gradientStyle,\n    ...gradientStyleByTheme[theme],\n    opacity: hidden ? 0 : opacity,\n    ...style\n  } });\n});\nconst useListXProgress = () => {\n  const {\n    listX,\n    listRef\n  } = useDraggableTabsContext();\n  const xProgress = useMotionValue(0);\n  useMotionValueEvent(listX, \"change\", (latest) => {\n    xProgress.set(-latest / getRestScrollWidth(listRef.current));\n  });\n  return xProgress;\n};\nconst gradientStyle = {\n  position: \"absolute\",\n  zIndex: 8,\n  inset: \"0 0 0 auto\",\n  pointerEvents: \"none\",\n  width: 60\n};\nconst gradientStyleByTheme = {\n  light: {\n    background: \"linear-gradient(270deg, #ffffff 0%, rgba(0, 0, 0, 0) 100%)\"\n  },\n  dark: {\n    background: \"linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0) 100%)\"\n  }\n};\nexport {\n  Gradient\n};\n","const closest = (array, target) => {\n  return array.reduce((prev, curr) => Math.abs(curr - target) < Math.abs(prev - target) ? curr : prev, 0);\n};\nexport {\n  closest\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useState, useLayoutEffect, useEffect } from \"react\";\nimport { withCSS } from \"framer\";\nimport { motion, clamp, animate } from \"framer-motion\";\nimport { closest } from \"../../../utils/closest.js\";\nimport { getRestScrollWidth } from \"../../../utils/getRestScrollWidth.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { useDraggableTabsContext } from \"./Root.hooks.js\";\nconst COMPONENT_NAME = \"tabs-list\";\nconst INITIAL_DAMPING = 0.4;\nconst css = [`\n    .${COMPONENT_NAME}-container::-webkit-scrollbar {\n      display: none;\n    }\n  `];\nconst List = withCSS(forwardRef(({\n  children,\n  style,\n  gap = 0,\n  damping = INITIAL_DAMPING,\n  ...rest\n}, ref) => {\n  const {\n    listRef,\n    refs,\n    listX,\n    dragPaddingLeft,\n    dragPaddingRight\n  } = useDraggableTabsContext();\n  const [constraints, setConstraints] = useState({\n    left: 0,\n    right: 0\n  });\n  const updateConstraints = () => {\n    if (!listRef.current) {\n      return;\n    }\n    const maxScroll = getRestScrollWidth(listRef.current);\n    const newLeft = -maxScroll;\n    setConstraints((prev) => {\n      if (prev.left === newLeft) {\n        return prev;\n      }\n      return {\n        left: newLeft,\n        right: 0\n      };\n    });\n  };\n  const getChildrenPositions = () => {\n    return Array.from(refs.current.values()).map((element) => element.offsetLeft);\n  };\n  const handleDragEnd = (_, {\n    velocity\n  }) => {\n    const destinationX = listX.get() + velocity.x * damping;\n    const closestX = closest(getChildrenPositions(), -destinationX);\n    const threshold = getRestScrollWidth(listRef.current);\n    const finalX = -clamp(0, threshold, closestX - dragPaddingLeft);\n    animate(listX, finalX, {\n      type: \"spring\",\n      stiffness: 200,\n      damping: 50\n    });\n  };\n  useLayoutEffect(() => {\n    updateConstraints();\n  }, []);\n  useEffect(() => {\n    const container = listRef.current;\n    if (!container) {\n      return;\n    }\n    const resizeObserver = new ResizeObserver(() => {\n      updateConstraints();\n    });\n    resizeObserver.observe(container);\n    return () => {\n      resizeObserver.disconnect();\n    };\n  }, []);\n  return /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([ref, listRef]), className: `${COMPONENT_NAME}-container`, style: {\n    ...containerStyle,\n    ...style\n  }, ...rest, children: /* @__PURE__ */ jsx(motion.div, { style: {\n    ...listStyle,\n    x: listX,\n    gap,\n    paddingLeft: dragPaddingLeft,\n    paddingRight: dragPaddingRight\n  }, drag: \"x\", dragElastic: 0.1, dragConstraints: constraints, dragPropagation: false, onDragEnd: handleDragEnd, whileDrag: {\n    pointerEvents: \"none\"\n  }, children }) });\n}), css);\nconst containerStyle = {\n  position: \"relative\",\n  zIndex: 8,\n  width: \"100%\",\n  overflow: \"hidden\",\n  msOverflowStyle: \"none\",\n  scrollbarWidth: \"none\",\n  cursor: \"grab\"\n};\nconst listStyle = {\n  display: \"inline-flex\",\n  minWidth: \"100%\"\n};\nexport {\n  List\n};\n","import { useDraggableTabsContext } from \"./Root.hooks.js\";\nconst Panel = ({\n  children,\n  value\n}) => {\n  const {\n    currentValue\n  } = useDraggableTabsContext();\n  const isCurrent = value === currentValue;\n  return isCurrent ? children : null;\n};\nexport {\n  Panel\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useDraggableTabsContext } from \"./Root.hooks.js\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { isFunction } from \"../../../utils/function.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nconst Trigger = forwardRef(({\n  children,\n  style,\n  value,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    refs,\n    currentValue,\n    move\n  } = useDraggableTabsContext();\n  const isCurrent = value === currentValue;\n  const register = (incoming) => (element) => {\n    refs.current.set(incoming, element);\n  };\n  const handleClick = (e) => {\n    onClick == null ? void 0 : onClick(e);\n    move(value);\n    playHaptic(\"rigid\");\n  };\n  return /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([ref, register(value)]), style: {\n    ...containerStyle,\n    ...style\n  }, ...rest, onClick: handleClick, children: isFunction(children) ? children(isCurrent) : children });\n});\nconst containerStyle = {\n  position: \"relative\",\n  display: \"flex\",\n  flex: \"0 0 auto\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"pointer\",\n  scrollSnapAlign: \"start\"\n};\nexport {\n  Trigger\n};\n","import { Gradient } from \"./Gradient.js\";\nimport { List } from \"./List.js\";\nimport { Panel } from \"./Panel.js\";\nimport { Root } from \"./Root.js\";\nimport { Trigger } from \"./Trigger.js\";\nconst DraggableTabs = {\n  Root,\n  List,\n  Trigger,\n  Panel,\n  Gradient\n};\nexport {\n  DraggableTabs\n};\n","var Breakpoint = /* @__PURE__ */ ((Breakpoint2) => {\n  Breakpoint2[\"DESKTOP\"] = \"desktop\";\n  Breakpoint2[\"TABLET\"] = \"tablet\";\n  Breakpoint2[\"MOBILE\"] = \"mobile\";\n  return Breakpoint2;\n})(Breakpoint || {});\nexport {\n  Breakpoint\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/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 \"../../../../config/index.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 { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 { Breakpoint } from \"../../../../styles/breakpoint.js\";\nconst TagsContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  loading = false,\n  defaultValue,\n  value,\n  dragPaddingLeft,\n  dragPaddingRight,\n  onValueChange\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const sidePadding = sidePaddingByBreakpoint[breakpoint];\n  return /* @__PURE__ */ jsx(TagsContext.Provider, { value: {\n    loading\n  }, children: /* @__PURE__ */ jsx(DraggableTabs.Root, { ref, defaultValue, value, dragPaddingLeft: dragPaddingLeft ?? sidePadding, dragPaddingRight: dragPaddingRight ?? sidePadding, onValueChange, children }) });\n});\nconst sidePaddingByBreakpoint = {\n  [Breakpoint.DESKTOP]: 0,\n  [Breakpoint.TABLET]: 20,\n  [Breakpoint.MOBILE]: 20\n};\nexport {\n  Root,\n  TagsContext\n};\n","import { useContext } from \"react\";\nimport { TagsContext } from \"./Root.js\";\nconst useTagsContext = () => {\n  const context = useContext(TagsContext);\n  if (!context) {\n    throw new Error(\"useTagsContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useTagsContext\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef, Fragment } from \"react\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/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 \"../../../../config/index.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 { useTheme } from \"../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 { Breakpoint } from \"../../../../styles/breakpoint.js\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nconst LIST_GAP = 6;\nconst SKELETONS_PER_PENDING = 3;\nconst List = ({\n  style,\n  children,\n  list\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  const {\n    loading\n  } = useTagsContext();\n  const pending = loading && list.length === 0;\n  const shouldRenderGradient = !pending && breakpoint !== Breakpoint.MOBILE;\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...containerStyle,\n    ...style\n  }, children: [\n    /* @__PURE__ */ jsxs(DraggableTabs.List, { ref, gap: LIST_GAP, children: [\n      list.map((item, index) => (\n        // eslint-disable-next-line react/no-array-index-key\n        /* @__PURE__ */ jsx(Fragment, { children: children({\n          index,\n          pending,\n          item\n        }) }, index)\n      )),\n      pending ? Array.from({\n        length: SKELETONS_PER_PENDING\n      }).map((_, index) => (\n        // eslint-disable-next-line react/no-array-index-key\n        /* @__PURE__ */ jsx(Fragment, { children: children({\n          index,\n          pending\n        }) }, index)\n      )) : null\n    ] }),\n    shouldRenderGradient ? /* @__PURE__ */ jsx(DraggableTabs.Gradient, { theme }) : null\n  ] });\n};\nconst Default = forwardRef(List);\nconst containerStyle = {\n  position: \"relative\",\n  width: \"100%\",\n  marginBottom: 16,\n  overflow: \"hidden\"\n};\nexport {\n  Default as List\n};\n","import { tv as g } from \"../../packages/configs/tailwind-variants/index.js\";\nconst t = g({\n  base: \"focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-1 focus-visible:outline-interactive\"\n}), a = g({\n  slots: {\n    base: [t(), \"inline-flex cursor-pointer items-center justify-center rounded-full px-14 py-6\"],\n    label: \"text-m-medium\"\n  },\n  variants: {\n    active: {\n      true: {},\n      false: {}\n    },\n    theme: {\n      light: {\n        label: \"hover:text-primary-hover  active:text-primary-pressed\"\n      },\n      dark: {}\n    },\n    disabled: {\n      true: {\n        base: \"cursor-not-allowed bg-disabled [&_*]:cursor-not-allowed\",\n        label: \"text-disabled hover:text-disabled active:text-disabled\",\n        icon: \"text-disabled\"\n      }\n    }\n  },\n  compoundVariants: [\n    {\n      active: true,\n      disabled: false,\n      theme: \"light\",\n      class: {\n        base: \"pressed:bg-primary-pressed bg-primary text-on-color hover:bg-primary-hover\",\n        label: \"text-on-color hover:text-on-white-hover active:text-on-white-pressed\"\n      }\n    },\n    {\n      active: true,\n      disabled: false,\n      theme: \"dark\",\n      class: {\n        base: \"pressed:bg-primary-pressed bg-[#3d3d3d] text-on-color\",\n        label: \"text-on-color\"\n      }\n    },\n    {\n      active: false,\n      disabled: false,\n      theme: \"light\",\n      class: {\n        base: \"bg-tertiary text-secondary\",\n        label: \"text-secondary hover:text-secondary-hover active:text-secondary-pressed\"\n      }\n    },\n    {\n      active: false,\n      disabled: false,\n      theme: \"dark\",\n      class: {\n        base: \"bg-[#19191a] text-secondary-dark\",\n        label: \"text-secondary-dark\"\n      }\n    }\n  ],\n  defaultVariants: {\n    disabled: false\n  }\n});\nexport {\n  t as baseFocusVisible,\n  a as baseTag\n};\n","import { cn as a } from \"../../packages/configs/tailwind-variants/index.js\";\nimport { useCallback, useMemo } from \"react\";\nconst C = (o) => {\n  const { disabled: s, onClick: e, className: a$1, bgClass: c } = o, l = useCallback(() => {\n    !s && e && e();\n  }, [s, e]), n = useMemo(() => a(s ? \"\" : c, a$1), [s, c]);\n  return {\n    handleClick: l,\n    className: n\n  };\n};\nexport {\n  C as useTag\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 { baseTag as a } from \"../Tag.styles.js\";\nimport { useTag as C } from \"../useTag.js\";\nconst N = g({\n  extend: a\n}), d = forwardRef(\n  ({ className: t, active: e = false, theme: a2 = \"light\", disabled: s, onClick: r, children: m$1, bgClass: l, ...c }, n) => {\n    const { base: g2, label: i } = N({ active: e, theme: a2, disabled: s }), { handleClick: p, className: f } = C({ disabled: s, onClick: r, bgClass: l, className: t });\n    return /* @__PURE__ */ m.jsx(\n      \"button\",\n      {\n        ...c,\n        ref: n,\n        className: g2({ className: f }),\n        onClick: p,\n        disabled: s,\n        children: /* @__PURE__ */ m.jsx(\"span\", { className: i(), children: m$1 })\n      }\n    );\n  }\n);\nexport {\n  d as ToggleTag\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Skeleton } from \"../Skeleton/Skeleton.js\";\nconst TagSkeleton = forwardRef(({\n  theme = \"light\"\n}, ref) => {\n  return /* @__PURE__ */ jsx(Skeleton, { ref, style: {\n    width: 73,\n    height: \"29px\",\n    borderRadius: 20,\n    ...baseStyleByTheme[theme]\n  } });\n});\nconst baseStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nexport {\n  TagSkeleton\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/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 \"../../../../config/index.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 { useTheme } from \"../../../../hooks/useTheme.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 { ToggleTag as d } from \"../../../../node_modules/@29cm/ruler-ui/dist/components/Tag/ToggleTag/ToggleTag.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nimport { TagSkeleton } from \"../../../@shared/TagSkeleton/TagSkeleton.js\";\nconst Item = forwardRef(({\n  children,\n  value,\n  onClick\n}, ref) => {\n  const {\n    loading\n  } = useTagsContext();\n  const theme = useTheme();\n  if (loading) {\n    return /* @__PURE__ */ jsx(TagSkeleton, { theme });\n  }\n  return /* @__PURE__ */ jsx(DraggableTabs.Trigger, { ref, value, onClick, children: (active) => /* @__PURE__ */ jsx(d, { active, theme, className: \"whitespace-nowrap\", children }) });\n});\nexport {\n  Item\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Fragment } from \"react\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nconst Panels = ({\n  children,\n  list\n}) => {\n  const {\n    loading\n  } = useTagsContext();\n  const pending = loading && list.length === 0;\n  if (pending) {\n    return children({\n      index: 0,\n      pending\n    });\n  }\n  return list.map((item, index) => (\n    // eslint-disable-next-line react/no-array-index-key\n    /* @__PURE__ */ jsx(Fragment, { children: children({\n      index,\n      pending,\n      item\n    }) }, index)\n  ));\n};\nexport {\n  Panels\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { DraggableTabs } from \"../../../@shared/DraggableTabs/index.js\";\nimport { useTagsContext } from \"./Root.hooks.js\";\nconst Panel = ({\n  children,\n  value\n}) => {\n  const {\n    loading\n  } = useTagsContext();\n  if (loading) {\n    return children;\n  }\n  return /* @__PURE__ */ jsx(DraggableTabs.Panel, { value, children });\n};\nexport {\n  Panel\n};\n","import { Root } from \"./Root.js\";\nimport { List as Default } from \"./List.js\";\nimport { Item } from \"./Item.js\";\nimport { Panels } from \"./Panels.js\";\nimport { Panel } from \"./Panel.js\";\nconst Tags = {\n  Root,\n  List: Default,\n  Item,\n  Panels,\n  Panel\n};\nexport {\n  Tags\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useInView } from \"framer-motion\";\nimport { createContext, useRef } from \"react\";\nconst IntersectionContext = createContext({\n  isInView: false\n});\nconst IntersectionProvider = ({\n  children,\n  ...rest\n}) => {\n  const ref = useRef(null);\n  const isInView = useInView(ref, rest);\n  return /* @__PURE__ */ jsx(IntersectionContext.Provider, { value: {\n    isInView\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    width: \"100%\"\n  }, children }) });\n};\nexport {\n  IntersectionContext,\n  IntersectionProvider\n};\n","import { useContext } from \"react\";\nimport { IntersectionContext } from \"./IntersectionProvider.js\";\nconst useIntersectionContext = () => {\n  return useContext(IntersectionContext);\n};\nexport {\n  useIntersectionContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { BreakpointProvider } from \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"react\";\nimport { ThemeProvider } from \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport { IntersectionProvider } from \"../IntersectionProvider/IntersectionProvider.js\";\nimport \"framer-motion\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { SWRConfig } from \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../apis/user-segment/CategoryFirstOrderApiService.js\";\nimport \"../../../../config/index.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 \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { EventTrackingProvider } from \"../EventTrackingProvider/EventTrackingProvider.js\";\nimport \"../../../../constants/snowplow/snowplowSchema.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 { SegmentProvider } from \"../../../@shared/providers/SegmentProvider/SegmentProvider.js\";\nconst SectionLayout = ({\n  children,\n  theme = \"light\",\n  breakpoint = \"mobile\",\n  componentId,\n  intersectionOptions,\n  segment\n}) => {\n  return /* @__PURE__ */ jsx(ThemeProvider, { theme, children: /* @__PURE__ */ jsx(BreakpointProvider, { breakpoint, children: /* @__PURE__ */ jsx(IntersectionProvider, { once: true, margin: \"200px 0px\", ...intersectionOptions, children: /* @__PURE__ */ jsx(EventTrackingProvider, { componentId, children: /* @__PURE__ */ jsx(SWRConfig, { value: {\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false,\n    errorRetryCount: 1\n  }, children: /* @__PURE__ */ jsx(SegmentProvider, { segment, children }) }) }) }) }) });\n};\nexport {\n  SectionLayout\n};\n","import { ControlType } from \"framer\";\nimport { Breakpoint } from \"../../styles/breakpoint.js\";\nconst BREAKPOINT_CONTROLS = {\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};\nexport {\n  BREAKPOINT_CONTROLS\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Grid = ({\n  as,\n  children,\n  style,\n  row,\n  column,\n  ...rest\n}, ref) => {\n  const Element = as ?? \"div\";\n  return /* @__PURE__ */ jsx(Element, { ...rest, ref, style: {\n    display: \"grid\",\n    rowGap: row == null ? void 0 : row.gap,\n    columnGap: column == null ? void 0 : column.gap,\n    gridAutoRows: row == null ? void 0 : row.width,\n    gridAutoColumns: column == null ? void 0 : column.width,\n    ...(column == null ? void 0 : column.count) !== void 0 ? verticalGridStyle(column.count, column.minWidth ?? 0) : void 0,\n    ...(row == null ? void 0 : row.count) !== void 0 ? horizontalGridStyle(row.count, row.minWidth ?? 0) : void 0,\n    ...style\n  }, children });\n};\nconst toPixel = (value) => {\n  if (typeof value === \"number\") {\n    return `${value}px`;\n  }\n  return value.includes(\"px\") ? value : `${value}px`;\n};\nconst verticalGridStyle = (count, minWidth) => ({\n  // NOTE(임규민): minmax 를 사용하지 않으면 특정 웹뷰 환경에서 크기가 맞지 않는 문제가 있음.\n  gridTemplateColumns: `repeat(${count === \"auto\" ? \"auto-fill\" : count}, minmax(${toPixel(minWidth)}, 1fr))`,\n  gridAutoFlow: \"row\"\n});\nconst horizontalGridStyle = (count, minWidth) => ({\n  // NOTE(임규민): minmax 를 사용하지 않으면 특정 웹뷰 환경에서 크기가 맞지 않는 문제가 있음.\n  gridTemplateRows: `repeat(${count === \"auto\" ? \"auto-fill\" : count}, minmax(${toPixel(minWidth)}, auto))`,\n  gridAutoRows: \"min-content\",\n  gridAutoFlow: \"column\"\n});\nconst Default = forwardRef(Grid);\nexport {\n  Default as Grid\n};\n","import { useContext } from \"react\";\nimport { ProductsContext } from \"./Root.js\";\nconst useProductsContext = () => {\n  const context = useContext(ProductsContext);\n  if (!context) {\n    throw new Error(\"useProductsContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useProductsContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nconst ArrowIcon = ({\n  color,\n  style,\n  ...rest\n}) => {\n  return /* @__PURE__ */ jsx(\"div\", { ...rest, style: {\n    ...containerStyle,\n    ...style\n  }, children: /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"12\", height: \"30\", viewBox: \"0 0 12 30\", fill: \"none\", children: /* @__PURE__ */ jsx(\"path\", { d: \"M1 1L11 15L1 29\", stroke: color, strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\" }) }) });\n};\nconst containerStyle = {\n  width: 50,\n  height: 50,\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\"\n};\nexport {\n  ArrowIcon\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useRef, useState, useEffect } from \"react\";\nimport { Grid as Default } from \"../../../@shared/layouts/Grid.js\";\nimport { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.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 \"../../../../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 { useTheme } from \"../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 { mergeRefs } from \"../../../../utils/react/mergeRefs.js\";\nimport { useProductsContext } from \"./Root.hooks.js\";\nimport { ArrowIcon } from \"../ArrowIcon/ArrowIcon.js\";\nconst NAVIGATOR_SIZE = 50;\nconst HorizontalList = forwardRef(({\n  style,\n  listStyle,\n  children,\n  options,\n  pagination = false,\n  padding\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  const {\n    pending,\n    initialHasNext\n  } = useProductsContext();\n  const gridRef = useRef(null);\n  const isScrolling = useRef(false);\n  const {\n    card,\n    row,\n    column,\n    navigator\n  } = options;\n  const {\n    type = ProductCardType.CARD\n  } = card ?? {};\n  const [hasPrevious, setHasPrevious] = useState(false);\n  const [hasNext, setHasNext] = useState(initialHasNext);\n  const inset = (column == null ? void 0 : column.gap) ?? 0;\n  const isBarType = type === ProductCardType.BAR;\n  const applyScrollSnap = isBarType && breakpoint !== \"desktop\";\n  const shouldRenderNavigator = pagination && navigator;\n  const scrollTo = (direction) => {\n    if (isScrolling.current || pending) {\n      return;\n    }\n    const container = gridRef.current;\n    if (container === null) {\n      return;\n    }\n    const position = getScrollPosition(container, inset, direction);\n    const hasRemainingNextOffset = position < Math.ceil(container.scrollWidth - container.clientWidth);\n    const hasRemainingPrevOffset = position > 0;\n    setHasNext(hasRemainingNextOffset || initialHasNext);\n    setHasPrevious(hasRemainingPrevOffset);\n    isScrolling.current = true;\n    container.scroll({\n      behavior: \"smooth\",\n      left: position\n    });\n    setTimeout(() => {\n      isScrolling.current = false;\n    }, 700);\n  };\n  const handlePreviousClick = () => {\n    if (hasPrevious) {\n      scrollTo(\"previous\");\n    }\n  };\n  const handleNextClick = () => {\n    if (hasNext) {\n      scrollTo(\"next\");\n    }\n  };\n  useEffect(() => {\n    if (pending) {\n      return;\n    }\n    const container = gridRef.current;\n    if (container === null) {\n      return;\n    }\n    setHasNext(container.scrollWidth > container.clientWidth || initialHasNext);\n  }, [pending]);\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    ...containerStyle,\n    ...style\n  }, children: [\n    shouldRenderNavigator ? /* @__PURE__ */ jsx(ArrowIcon, { style: {\n      ...baseNavigatorStyle,\n      ...leftNavigatorStyle\n    }, color: hasPrevious ? iconColorByTheme[theme] : disabledIconColorByTheme[theme], onClick: handlePreviousClick }) : null,\n    /* @__PURE__ */ jsx(Default, { ref: mergeRefs([ref, gridRef]), style: {\n      ...wrapperResetStyle,\n      ...wrapperStyle,\n      ...wrapperStyleByBreakpoint[breakpoint],\n      overflowX: navigator ? \"hidden\" : \"scroll\",\n      overflowY: \"hidden\",\n      scrollSnapType: applyScrollSnap ? \"x mandatory\" : \"none\",\n      WebkitScrollSnapType: applyScrollSnap ? \"x mandatory\" : \"none\",\n      ...padding ? {\n        padding: `${padding.top ?? 0}px ${padding.right ?? 0}px ${padding.bottom ?? 0}px ${padding.left ?? 0}px`,\n        scrollPaddingLeft: padding.left ?? 0,\n        scrollPaddingRight: padding.right ?? 0\n      } : void 0,\n      ...listStyle\n    }, row, column, children }),\n    shouldRenderNavigator ? /* @__PURE__ */ jsx(ArrowIcon, { style: {\n      ...baseNavigatorStyle,\n      ...rightNavigatorStyle\n    }, color: hasNext ? iconColorByTheme[theme] : disabledIconColorByTheme[theme], onClick: handleNextClick }) : null\n  ] });\n});\nconst getScrollPosition = (container, inset, direction) => {\n  const offset = container.clientWidth + inset;\n  return Math.ceil(container.scrollLeft + (direction === \"previous\" ? -offset : offset));\n};\nconst containerStyle = {\n  position: \"relative\",\n  width: \"100%\"\n};\nconst iconColorByTheme = {\n  light: \"#000\",\n  dark: \"#fff\"\n};\nconst disabledIconColorByTheme = {\n  light: \"#a0a0a0\",\n  dark: \"#474747\"\n};\nconst baseNavigatorStyle = {\n  position: \"absolute\",\n  top: \"50%\",\n  cursor: \"pointer\"\n};\nconst leftNavigatorStyle = {\n  left: `-${NAVIGATOR_SIZE}px`,\n  transform: \"translateY(-50%) rotate(180deg)\"\n};\nconst rightNavigatorStyle = {\n  right: `-${NAVIGATOR_SIZE}px`,\n  transform: \"translateY(-50%)\"\n};\nconst wrapperResetStyle = {\n  padding: 0,\n  margin: 0\n};\nconst wrapperStyle = {\n  padding: \"0 20px\",\n  msOverflowStyle: \"none\",\n  scrollbarWidth: \"none\"\n};\nconst wrapperStyleByBreakpoint = {\n  mobile: {\n    padding: \"0 20px\",\n    scrollPaddingLeft: 20,\n    scrollPaddingRight: 20\n  },\n  tablet: {\n    padding: \"0 20px\",\n    scrollPaddingLeft: 20,\n    scrollPaddingRight: 20\n  },\n  desktop: {\n    padding: 0\n  }\n};\nexport {\n  HorizontalList\n};\n","const isLast = (list, index) => list.length - 1 === index;\nexport {\n  isLast\n};\n","function noop() {\n}\nexport {\n  noop as default\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { Intersection } from \"../../../@shared/Intersection/Intersection.js\";\nimport \"react-dom\";\nimport \"../../../@shared/Icon/Icon.js\";\nimport { useProductsContext } from \"./Root.hooks.js\";\nimport { isLast } from \"../../../../utils/isLast.js\";\nimport noop from \"../../../../node_modules/lodash-es/noop.js\";\nconst Item = ({\n  children,\n  index,\n  onLastItemView = noop\n}) => {\n  const {\n    products,\n    initialHasNext\n  } = useProductsContext();\n  if (isLast(products, index) && initialHasNext) {\n    return /* @__PURE__ */ jsx(Intersection, { style: itemStyle, margin: \"200px\", onView: onLastItemView, children });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { style: itemStyle, children });\n};\nconst itemStyle = {\n  scrollSnapAlign: \"start\",\n  boxSizing: \"border-box\"\n};\nexport {\n  Item\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Grid as Default } from \"../../../@shared/layouts/Grid.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.js\";\nimport { ComponentName } from \"../../../../styles/ComponentName.js\";\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\";\nimport { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.ProductsVerticalList, {\n  container: css`\n    &[data-card-type='card'],\n    &[data-card-type='card-detailed'] {\n      @media (max-width: 614px) {\n        grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;\n      }\n    }\n\n    &[data-card-type='bar'] {\n      @media (max-width: 614px) {\n        grid-template-columns: repeat(1, minmax(100px, 1fr)) !important;\n      }\n    }\n  `\n});\nconst VerticalList = withStyle(forwardRef(({\n  style,\n  children,\n  options,\n  padding\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    row,\n    column,\n    card\n  } = options;\n  const {\n    type = ProductCardType.CARD\n  } = card ?? {};\n  const isAutoColumn = (column == null ? void 0 : column.count) === \"auto\";\n  const shouldApplyCanvasStyle = isAutoColumn && isCanvas() && breakpoint === \"mobile\";\n  return /* @__PURE__ */ jsx(Default, { ref, className: isAutoColumn ? classNames.container : void 0, style: {\n    ...wrapperResetStyle,\n    ...wrapperStyleByBreakpoint[breakpoint],\n    ...shouldApplyCanvasStyle ? wrapperMobileCanvasStyle[type] : void 0,\n    ...padding ? {\n      padding: `${padding.top ?? 0}px ${padding.right ?? 0}px ${padding.bottom ?? 0}px ${padding.left ?? 0}px`\n    } : void 0,\n    ...style\n  }, row, column, \"data-card-type\": type, children });\n}));\nconst wrapperResetStyle = {\n  padding: 0,\n  margin: 0\n};\nconst wrapperMobileCanvasStyle = {\n  [ProductCardType.CARD]: {\n    gridTemplateColumns: \"repeat(2, minmax(100px, 1fr))\"\n  },\n  [ProductCardType.CARD_DETAILED]: {\n    gridTemplateColumns: \"repeat(2, minmax(100px, 1fr))\"\n  },\n  [ProductCardType.BAR]: {\n    gridTemplateColumns: \"repeat(1, minmax(100px, 1fr))\"\n  }\n};\nconst wrapperStyleByBreakpoint = {\n  mobile: {\n    padding: \"0 20px\"\n  },\n  tablet: {\n    padding: \"0 20px\"\n  },\n  desktop: {\n    padding: 0\n  }\n};\nexport {\n  VerticalList\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nimport { useProductGroupHeart } from \"../../../../hooks/product/useProductGroupHeart.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 \"../../../../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 { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 { HorizontalList } from \"./HorizontalList.js\";\nimport { Item } from \"./Item.js\";\nimport { VerticalList } from \"./VerticalList.js\";\nimport { PRODUCTS_PER_REQUEST } from \"../../Products/Products.js\";\nconst ProductsContext = createContext(null);\nconst Root = forwardRef(({\n  style,\n  listStyle,\n  padding,\n  children,\n  products: _products,\n  loading = false,\n  options: responsiveOptions,\n  hasNext: initialHasNext = false,\n  onLastItemView\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  } = useProductGroupHeart();\n  const options = responsiveOptions[breakpoint];\n  const {\n    direction = \"horizontal\",\n    card = {},\n    row,\n    column\n  } = options;\n  const rowCount = (row == null ? void 0 : row.count) === \"auto\" ? 0 : (row == null ? void 0 : row.count) ?? 0;\n  const columnCount = (column == null ? void 0 : column.count) === \"auto\" ? 0 : (column == null ? void 0 : column.count) ?? 0;\n  const displayCount = getDisplayCount(options);\n  const products = slice(_products, rowCount * columnCount);\n  const pagination = displayCount < products.length || initialHasNext;\n  const pending = loading && products.length === 0;\n  const List = direction === \"horizontal\" ? HorizontalList : VerticalList;\n  const handleLastItemView = () => {\n    if (loading) {\n      return;\n    }\n    onLastItemView == null ? void 0 : onLastItemView();\n  };\n  return /* @__PURE__ */ jsx(ProductsContext.Provider, { value: {\n    card,\n    products,\n    pending,\n    initialHasNext,\n    isHeartOn,\n    onHeartOn: handleHeartOn,\n    onHeartOff: handleHeartOff\n  }, children: /* @__PURE__ */ jsxs(List, { ref, style, listStyle, options, pagination, padding, children: [\n    products.map((product, index) => /* @__PURE__ */ jsx(Item, { index, onLastItemView: handleLastItemView, children: children({\n      index,\n      product,\n      pending\n    }) }, product.productId)),\n    pending ? Array.from({\n      length: displayCount\n    }, (_, index) => /* @__PURE__ */ jsx(Item, { index, children: children({\n      index,\n      pending\n    }) }, index)) : null\n  ] }) });\n});\nconst getDisplayCount = (options) => {\n  const {\n    direction,\n    column,\n    row\n  } = options;\n  const {\n    displayCount: columnDisplayCount = 0,\n    count: columnCount = 0\n  } = column ?? {};\n  const {\n    displayCount: rowDisplayCount = 0,\n    count: rowCount = 0\n  } = row ?? {};\n  const isAutoRow = rowCount === \"auto\";\n  const isAutoColumn = columnCount === \"auto\";\n  if (direction === \"horizontal\") {\n    return columnDisplayCount * (isAutoRow ? 0 : rowCount);\n  }\n  if (direction === \"vertical\" && isAutoColumn) {\n    return PRODUCTS_PER_REQUEST;\n  }\n  return rowDisplayCount * (isAutoColumn ? 0 : columnCount);\n};\nconst slice = (list, count) => {\n  return count > 0 ? list.slice(0, count) : list;\n};\nexport {\n  ProductsContext,\n  Root\n};\n","const fromEntries = (entries) => {\n  return Object.fromEntries(entries);\n};\nexport {\n  fromEntries\n};\n","import baseAssignValue from \"./_baseAssignValue.js\";\nimport eq from \"./eq.js\";\nfunction assignMergeValue(object, key, value) {\n  if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {\n    baseAssignValue(object, key, value);\n  }\n}\nexport {\n  assignMergeValue as default\n};\n","function createBaseFor(fromRight) {\n  return function(object, iteratee, keysFunc) {\n    var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;\n    while (length--) {\n      var key = props[fromRight ? length : ++index];\n      if (iteratee(iterable[key], key, iterable) === false) {\n        break;\n      }\n    }\n    return object;\n  };\n}\nexport {\n  createBaseFor as default\n};\n","import createBaseFor from \"./_createBaseFor.js\";\nvar baseFor = createBaseFor();\nexport {\n  baseFor as default\n};\n","import root from \"./_root.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, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;\nfunction cloneBuffer(buffer, isDeep) {\n  if (isDeep) {\n    return buffer.slice();\n  }\n  var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n  buffer.copy(result);\n  return result;\n}\nexport {\n  cloneBuffer as default\n};\n","import Uint8Array from \"./_Uint8Array.js\";\nfunction cloneArrayBuffer(arrayBuffer) {\n  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n  new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n  return result;\n}\nexport {\n  cloneArrayBuffer as default\n};\n","import cloneArrayBuffer from \"./_cloneArrayBuffer.js\";\nfunction cloneTypedArray(typedArray, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\nexport {\n  cloneTypedArray as default\n};\n","function copyArray(source, array) {\n  var index = -1, length = source.length;\n  array || (array = Array(length));\n  while (++index < length) {\n    array[index] = source[index];\n  }\n  return array;\n}\nexport {\n  copyArray as default\n};\n","import isObject from \"./isObject.js\";\nvar objectCreate = Object.create;\nvar baseCreate = /* @__PURE__ */ function() {\n  function object() {\n  }\n  return function(proto) {\n    if (!isObject(proto)) {\n      return {};\n    }\n    if (objectCreate) {\n      return objectCreate(proto);\n    }\n    object.prototype = proto;\n    var result = new object();\n    object.prototype = void 0;\n    return result;\n  };\n}();\nexport {\n  baseCreate as default\n};\n","import overArg from \"./_overArg.js\";\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\nconst getPrototype$1 = getPrototype;\nexport {\n  getPrototype$1 as default\n};\n","import baseCreate from \"./_baseCreate.js\";\nimport getPrototype from \"./_getPrototype.js\";\nimport isPrototype from \"./_isPrototype.js\";\nfunction initCloneObject(object) {\n  return typeof object.constructor == \"function\" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};\n}\nexport {\n  initCloneObject as default\n};\n","import isArrayLike from \"./isArrayLike.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nfunction isArrayLikeObject(value) {\n  return isObjectLike(value) && isArrayLike(value);\n}\nexport {\n  isArrayLikeObject as default\n};\n","import baseGetTag from \"./_baseGetTag.js\";\nimport getPrototype from \"./_getPrototype.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar objectTag = \"[object Object]\";\nvar funcProto = Function.prototype, objectProto = Object.prototype;\nvar funcToString = funcProto.toString;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nvar objectCtorString = funcToString.call(Object);\nfunction isPlainObject(value) {\n  if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n    return false;\n  }\n  var proto = getPrototype(value);\n  if (proto === null) {\n    return true;\n  }\n  var Ctor = hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n  return typeof Ctor == \"function\" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;\n}\nexport {\n  isPlainObject as default\n};\n","function safeGet(object, key) {\n  if (key === \"constructor\" && typeof object[key] === \"function\") {\n    return;\n  }\n  if (key == \"__proto__\") {\n    return;\n  }\n  return object[key];\n}\nexport {\n  safeGet as default\n};\n","import assignValue from \"./_assignValue.js\";\nimport baseAssignValue from \"./_baseAssignValue.js\";\nfunction copyObject(source, props, object, customizer) {\n  var isNew = !object;\n  object || (object = {});\n  var index = -1, length = props.length;\n  while (++index < length) {\n    var key = props[index];\n    var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;\n    if (newValue === void 0) {\n      newValue = source[key];\n    }\n    if (isNew) {\n      baseAssignValue(object, key, newValue);\n    } else {\n      assignValue(object, key, newValue);\n    }\n  }\n  return object;\n}\nexport {\n  copyObject as default\n};\n","function nativeKeysIn(object) {\n  var result = [];\n  if (object != null) {\n    for (var key in Object(object)) {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  nativeKeysIn as default\n};\n","import isObject from \"./isObject.js\";\nimport isPrototype from \"./_isPrototype.js\";\nimport nativeKeysIn from \"./_nativeKeysIn.js\";\nvar objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction baseKeysIn(object) {\n  if (!isObject(object)) {\n    return nativeKeysIn(object);\n  }\n  var isProto = isPrototype(object), result = [];\n  for (var key in object) {\n    if (!(key == \"constructor\" && (isProto || !hasOwnProperty.call(object, key)))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\nexport {\n  baseKeysIn as default\n};\n","import arrayLikeKeys from \"./_arrayLikeKeys.js\";\nimport baseKeysIn from \"./_baseKeysIn.js\";\nimport isArrayLike from \"./isArrayLike.js\";\nfunction keysIn(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\nexport {\n  keysIn as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport keysIn from \"./keysIn.js\";\nfunction toPlainObject(value) {\n  return copyObject(value, keysIn(value));\n}\nexport {\n  toPlainObject as default\n};\n","import assignMergeValue from \"./_assignMergeValue.js\";\nimport cloneBuffer from \"./_cloneBuffer.js\";\nimport cloneTypedArray from \"./_cloneTypedArray.js\";\nimport copyArray from \"./_copyArray.js\";\nimport initCloneObject from \"./_initCloneObject.js\";\nimport isArguments from \"./isArguments.js\";\nimport isArray from \"./isArray.js\";\nimport isArrayLikeObject from \"./isArrayLikeObject.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isFunction from \"./isFunction.js\";\nimport isObject from \"./isObject.js\";\nimport isPlainObject from \"./isPlainObject.js\";\nimport isTypedArray from \"./isTypedArray.js\";\nimport safeGet from \"./_safeGet.js\";\nimport toPlainObject from \"./toPlainObject.js\";\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n  var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);\n  if (stacked) {\n    assignMergeValue(object, key, stacked);\n    return;\n  }\n  var newValue = customizer ? customizer(objValue, srcValue, key + \"\", object, source, stack) : void 0;\n  var isCommon = newValue === void 0;\n  if (isCommon) {\n    var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n    newValue = srcValue;\n    if (isArr || isBuff || isTyped) {\n      if (isArray(objValue)) {\n        newValue = objValue;\n      } else if (isArrayLikeObject(objValue)) {\n        newValue = copyArray(objValue);\n      } else if (isBuff) {\n        isCommon = false;\n        newValue = cloneBuffer(srcValue, true);\n      } else if (isTyped) {\n        isCommon = false;\n        newValue = cloneTypedArray(srcValue, true);\n      } else {\n        newValue = [];\n      }\n    } else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n      newValue = objValue;\n      if (isArguments(objValue)) {\n        newValue = toPlainObject(objValue);\n      } else if (!isObject(objValue) || isFunction(objValue)) {\n        newValue = initCloneObject(srcValue);\n      }\n    } else {\n      isCommon = false;\n    }\n  }\n  if (isCommon) {\n    stack.set(srcValue, newValue);\n    mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n    stack[\"delete\"](srcValue);\n  }\n  assignMergeValue(object, key, newValue);\n}\nexport {\n  baseMergeDeep as default\n};\n","import Stack from \"./_Stack.js\";\nimport assignMergeValue from \"./_assignMergeValue.js\";\nimport baseFor from \"./_baseFor.js\";\nimport baseMergeDeep from \"./_baseMergeDeep.js\";\nimport isObject from \"./isObject.js\";\nimport keysIn from \"./keysIn.js\";\nimport safeGet from \"./_safeGet.js\";\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n  if (object === source) {\n    return;\n  }\n  baseFor(source, function(srcValue, key) {\n    stack || (stack = new Stack());\n    if (isObject(srcValue)) {\n      baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n    } else {\n      var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + \"\", object, source, stack) : void 0;\n      if (newValue === void 0) {\n        newValue = srcValue;\n      }\n      assignMergeValue(object, key, newValue);\n    }\n  }, keysIn);\n}\nexport {\n  baseMerge as default\n};\n","import identity from \"./identity.js\";\nimport overRest from \"./_overRest.js\";\nimport setToString from \"./_setToString.js\";\nfunction baseRest(func, start) {\n  return setToString(overRest(func, start, identity), func + \"\");\n}\nexport {\n  baseRest as default\n};\n","import eq from \"./eq.js\";\nimport isArrayLike from \"./isArrayLike.js\";\nimport isIndex from \"./_isIndex.js\";\nimport isObject from \"./isObject.js\";\nfunction isIterateeCall(value, index, object) {\n  if (!isObject(object)) {\n    return false;\n  }\n  var type = typeof index;\n  if (type == \"number\" ? isArrayLike(object) && isIndex(index, object.length) : type == \"string\" && index in object) {\n    return eq(object[index], value);\n  }\n  return false;\n}\nexport {\n  isIterateeCall as default\n};\n","import baseRest from \"./_baseRest.js\";\nimport isIterateeCall from \"./_isIterateeCall.js\";\nfunction createAssigner(assigner) {\n  return baseRest(function(object, sources) {\n    var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;\n    customizer = assigner.length > 3 && typeof customizer == \"function\" ? (length--, customizer) : void 0;\n    if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n      customizer = length < 3 ? void 0 : customizer;\n      length = 1;\n    }\n    object = Object(object);\n    while (++index < length) {\n      var source = sources[index];\n      if (source) {\n        assigner(object, source, index, customizer);\n      }\n    }\n    return object;\n  });\n}\nexport {\n  createAssigner as default\n};\n","import baseMerge from \"./_baseMerge.js\";\nimport createAssigner from \"./_createAssigner.js\";\nvar merge = createAssigner(function(object, source, srcIndex) {\n  baseMerge(object, source, srcIndex);\n});\nexport {\n  merge as default\n};\n","function arrayEach(array, iteratee) {\n  var index = -1, length = array == null ? 0 : array.length;\n  while (++index < length) {\n    if (iteratee(array[index], index, array) === false) {\n      break;\n    }\n  }\n  return array;\n}\nexport {\n  arrayEach as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport keys from \"./keys.js\";\nfunction baseAssign(object, source) {\n  return object && copyObject(source, keys(source), object);\n}\nexport {\n  baseAssign as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport keysIn from \"./keysIn.js\";\nfunction baseAssignIn(object, source) {\n  return object && copyObject(source, keysIn(source), object);\n}\nexport {\n  baseAssignIn as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport getSymbols from \"./_getSymbols.js\";\nfunction copySymbols(source, object) {\n  return copyObject(source, getSymbols(source), object);\n}\nexport {\n  copySymbols as default\n};\n","import arrayPush from \"./_arrayPush.js\";\nimport getPrototype from \"./_getPrototype.js\";\nimport getSymbols from \"./_getSymbols.js\";\nimport stubArray from \"./stubArray.js\";\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n  var result = [];\n  while (object) {\n    arrayPush(result, getSymbols(object));\n    object = getPrototype(object);\n  }\n  return result;\n};\nexport {\n  getSymbolsIn as default\n};\n","import copyObject from \"./_copyObject.js\";\nimport getSymbolsIn from \"./_getSymbolsIn.js\";\nfunction copySymbolsIn(source, object) {\n  return copyObject(source, getSymbolsIn(source), object);\n}\nexport {\n  copySymbolsIn as default\n};\n","import baseGetAllKeys from \"./_baseGetAllKeys.js\";\nimport getSymbolsIn from \"./_getSymbolsIn.js\";\nimport keysIn from \"./keysIn.js\";\nfunction getAllKeysIn(object) {\n  return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\nexport {\n  getAllKeysIn as default\n};\n","var objectProto = Object.prototype;\nvar hasOwnProperty = objectProto.hasOwnProperty;\nfunction initCloneArray(array) {\n  var length = array.length, result = new array.constructor(length);\n  if (length && typeof array[0] == \"string\" && hasOwnProperty.call(array, \"index\")) {\n    result.index = array.index;\n    result.input = array.input;\n  }\n  return result;\n}\nexport {\n  initCloneArray as default\n};\n","import cloneArrayBuffer from \"./_cloneArrayBuffer.js\";\nfunction cloneDataView(dataView, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\nexport {\n  cloneDataView as default\n};\n","var reFlags = /\\w*$/;\nfunction cloneRegExp(regexp) {\n  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n  result.lastIndex = regexp.lastIndex;\n  return result;\n}\nexport {\n  cloneRegExp as default\n};\n","import Symbol$1 from \"./_Symbol.js\";\nvar symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;\nfunction cloneSymbol(symbol) {\n  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\nexport {\n  cloneSymbol as default\n};\n","import cloneArrayBuffer from \"./_cloneArrayBuffer.js\";\nimport cloneDataView from \"./_cloneDataView.js\";\nimport cloneRegExp from \"./_cloneRegExp.js\";\nimport cloneSymbol from \"./_cloneSymbol.js\";\nimport cloneTypedArray from \"./_cloneTypedArray.js\";\nvar boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", 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]\", 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]\";\nfunction initCloneByTag(object, tag, isDeep) {\n  var Ctor = object.constructor;\n  switch (tag) {\n    case arrayBufferTag:\n      return cloneArrayBuffer(object);\n    case boolTag:\n    case dateTag:\n      return new Ctor(+object);\n    case dataViewTag:\n      return cloneDataView(object, isDeep);\n    case float32Tag:\n    case float64Tag:\n    case int8Tag:\n    case int16Tag:\n    case int32Tag:\n    case uint8Tag:\n    case uint8ClampedTag:\n    case uint16Tag:\n    case uint32Tag:\n      return cloneTypedArray(object, isDeep);\n    case mapTag:\n      return new Ctor();\n    case numberTag:\n    case stringTag:\n      return new Ctor(object);\n    case regexpTag:\n      return cloneRegExp(object);\n    case setTag:\n      return new Ctor();\n    case symbolTag:\n      return cloneSymbol(object);\n  }\n}\nexport {\n  initCloneByTag as default\n};\n","import getTag from \"./_getTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar mapTag = \"[object Map]\";\nfunction baseIsMap(value) {\n  return isObjectLike(value) && getTag(value) == mapTag;\n}\nexport {\n  baseIsMap as default\n};\n","import baseIsMap from \"./_baseIsMap.js\";\nimport baseUnary from \"./_baseUnary.js\";\nimport nodeUtil from \"./_nodeUtil.js\";\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\nexport {\n  isMap as default\n};\n","import getTag from \"./_getTag.js\";\nimport isObjectLike from \"./isObjectLike.js\";\nvar setTag = \"[object Set]\";\nfunction baseIsSet(value) {\n  return isObjectLike(value) && getTag(value) == setTag;\n}\nexport {\n  baseIsSet as default\n};\n","import baseIsSet from \"./_baseIsSet.js\";\nimport baseUnary from \"./_baseUnary.js\";\nimport nodeUtil from \"./_nodeUtil.js\";\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\nexport {\n  isSet as default\n};\n","import Stack from \"./_Stack.js\";\nimport arrayEach from \"./_arrayEach.js\";\nimport assignValue from \"./_assignValue.js\";\nimport baseAssign from \"./_baseAssign.js\";\nimport baseAssignIn from \"./_baseAssignIn.js\";\nimport cloneBuffer from \"./_cloneBuffer.js\";\nimport copyArray from \"./_copyArray.js\";\nimport copySymbols from \"./_copySymbols.js\";\nimport copySymbolsIn from \"./_copySymbolsIn.js\";\nimport getAllKeys from \"./_getAllKeys.js\";\nimport getAllKeysIn from \"./_getAllKeysIn.js\";\nimport getTag from \"./_getTag.js\";\nimport initCloneArray from \"./_initCloneArray.js\";\nimport initCloneByTag from \"./_initCloneByTag.js\";\nimport initCloneObject from \"./_initCloneObject.js\";\nimport isArray from \"./isArray.js\";\nimport isBuffer from \"./isBuffer.js\";\nimport isMap from \"./isMap.js\";\nimport isObject from \"./isObject.js\";\nimport isSet from \"./isSet.js\";\nimport keys from \"./keys.js\";\nimport keysIn from \"./keysIn.js\";\nvar CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;\nvar argsTag = \"[object Arguments]\", arrayTag = \"[object Array]\", boolTag = \"[object Boolean]\", dateTag = \"[object Date]\", errorTag = \"[object Error]\", funcTag = \"[object Function]\", genTag = \"[object GeneratorFunction]\", mapTag = \"[object Map]\", numberTag = \"[object Number]\", objectTag = \"[object Object]\", regexpTag = \"[object RegExp]\", setTag = \"[object Set]\", stringTag = \"[object String]\", symbolTag = \"[object Symbol]\", 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 cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n  var result, isDeep = bitmask & CLONE_DEEP_FLAG, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG;\n  if (customizer) {\n    result = object ? customizer(value, key, object, stack) : customizer(value);\n  }\n  if (result !== void 0) {\n    return result;\n  }\n  if (!isObject(value)) {\n    return value;\n  }\n  var isArr = isArray(value);\n  if (isArr) {\n    result = initCloneArray(value);\n    if (!isDeep) {\n      return copyArray(value, result);\n    }\n  } else {\n    var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;\n    if (isBuffer(value)) {\n      return cloneBuffer(value, isDeep);\n    }\n    if (tag == objectTag || tag == argsTag || isFunc && !object) {\n      result = isFlat || isFunc ? {} : initCloneObject(value);\n      if (!isDeep) {\n        return isFlat ? copySymbolsIn(value, baseAssignIn(result, value)) : copySymbols(value, baseAssign(result, value));\n      }\n    } else {\n      if (!cloneableTags[tag]) {\n        return object ? value : {};\n      }\n      result = initCloneByTag(value, tag, isDeep);\n    }\n  }\n  stack || (stack = new Stack());\n  var stacked = stack.get(value);\n  if (stacked) {\n    return stacked;\n  }\n  stack.set(value, result);\n  if (isSet(value)) {\n    value.forEach(function(subValue) {\n      result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n    });\n  } else if (isMap(value)) {\n    value.forEach(function(subValue, key2) {\n      result.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));\n    });\n  }\n  var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;\n  var props = isArr ? void 0 : keysFunc(value);\n  arrayEach(props || value, function(subValue, key2) {\n    if (props) {\n      key2 = subValue;\n      subValue = value[key2];\n    }\n    assignValue(result, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));\n  });\n  return result;\n}\nexport {\n  baseClone as default\n};\n","import baseClone from \"./_baseClone.js\";\nvar CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;\nfunction cloneDeep(value) {\n  return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\nexport {\n  cloneDeep as default\n};\n","import { fromEntries } from \"./fromEntries.js\";\nimport { entries } from \"./entries.js\";\nimport merge from \"../node_modules/lodash-es/merge.js\";\nimport cloneDeep from \"../node_modules/lodash-es/cloneDeep.js\";\nconst mergeBase = (base = {}, source = {}) => {\n  return merge(cloneDeep(base), source);\n};\nconst createSlices = (slices) => {\n  const {\n    base,\n    ...rest\n  } = slices;\n  return fromEntries(entries(rest).map(([name, slice]) => [name, mergeBase(base, slice)]));\n};\nexport {\n  createSlices\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { ProductCardType } from \"../ProductCard/ProductCard.types.js\";\nimport { Skeleton } from \"../Skeleton/Skeleton.js\";\nimport { createSlices } from \"../../../utils/createSlices.js\";\nconst ProductCardSkeleton = forwardRef(({\n  style,\n  type = ProductCardType.CARD,\n  theme = \"light\",\n  size = \"medium\",\n  hasName = true,\n  hasBrandName = true,\n  hasBadges = true,\n  ...rest\n}, ref) => {\n  const styles = stylesByType[type][size];\n  return /* @__PURE__ */ jsxs(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...styles == null ? void 0 : styles.container,\n    ...style\n  }, children: [\n    /* @__PURE__ */ jsx(Skeleton, { style: {\n      ...styles == null ? void 0 : styles.image,\n      ...baseStyleByTheme[theme],\n      borderRadius: 2\n    } }),\n    /* @__PURE__ */ jsxs(\"div\", { style: summaryStyle, children: [\n      hasBrandName ? /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...styles == null ? void 0 : styles.brandName,\n        ...baseStyleByTheme[theme],\n        borderRadius: 6\n      } }) : null,\n      hasName ? /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...styles == null ? void 0 : styles.name,\n        ...baseStyleByTheme[theme],\n        borderRadius: 6\n      } }) : null,\n      /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...styles == null ? void 0 : styles.price,\n        ...baseStyleByTheme[theme],\n        borderRadius: 6\n      } }),\n      hasBadges ? /* @__PURE__ */ jsx(Skeleton, { style: {\n        ...styles == null ? void 0 : styles.badge,\n        ...baseStyleByTheme[theme],\n        borderRadius: 6\n      } }) : null\n    ] })\n  ] });\n});\nconst baseStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nconst containerStyle = {\n  display: \"flex\",\n  gap: \"10px\",\n  width: \"100%\",\n  margin: \"0 auto\"\n};\nconst summaryStyle = {\n  flex: \"1\",\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nconst barStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"row\",\n      alignItems: \"center\",\n      gap: 8\n    },\n    brandName: {\n      width: \"60%\",\n      height: 11\n    },\n    name: {\n      width: \"80%\",\n      height: 13,\n      marginTop: 5\n    },\n    price: {\n      width: \"50%\",\n      height: 16,\n      marginTop: 5\n    },\n    badge: {\n      width: \"20%\",\n      height: 16,\n      marginTop: 6\n    }\n  },\n  small: {\n    image: {\n      width: 56,\n      height: 56\n    }\n  },\n  medium: {\n    image: {\n      width: 80,\n      height: 80\n    }\n  }\n});\nconst cardStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"column\",\n      gap: 10,\n      paddingBottom: 16\n    },\n    image: {\n      width: \"100%\",\n      aspectRatio: \"1 / 1\"\n    },\n    brandName: {\n      width: \"60%\",\n      height: 16.31\n    },\n    name: {\n      width: \"80%\",\n      height: 16.31,\n      marginTop: 4\n    },\n    price: {\n      width: \"50%\",\n      height: 15.2,\n      marginTop: 4\n    },\n    badge: {\n      width: \"20%\",\n      height: 13,\n      marginTop: 4\n    }\n  },\n  small: {},\n  medium: {}\n});\nconst cardDetailedStyles = createSlices({\n  base: {\n    container: {\n      flexDirection: \"column\",\n      gap: 14\n    },\n    image: {\n      width: \"100%\",\n      aspectRatio: \"1 / 1\"\n    },\n    brandName: {\n      width: \"60%\",\n      height: 16.31\n    },\n    name: {\n      width: \"80%\",\n      height: 19.59,\n      marginTop: 4\n    },\n    price: {\n      width: \"50%\",\n      height: 22.41,\n      marginTop: 6\n    },\n    badge: {\n      width: \"20%\",\n      height: 16,\n      marginTop: 6\n    }\n  },\n  small: {\n    container: {\n      paddingBottom: 44\n    }\n  },\n  medium: {\n    container: {\n      paddingBottom: 69\n    }\n  }\n});\nconst stylesByType = {\n  [ProductCardType.BAR]: barStyles,\n  [ProductCardType.CARD]: cardStyles,\n  [ProductCardType.CARD_DETAILED]: cardDetailedStyles\n};\nexport {\n  ProductCardSkeleton\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { useInView } from \"framer-motion\";\nimport { forwardRef, useRef } from \"react\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nconst Lazy = ({\n  as,\n  children,\n  fallback,\n  margin,\n  ...rest\n}, ref) => {\n  const elementRef = useRef(null);\n  const isIntersecting = useInView(elementRef, {\n    margin,\n    once: true\n  });\n  const Component = as ?? \"div\";\n  if (!isIntersecting) {\n    return /* @__PURE__ */ jsx(Component, { ref: mergeRefs([ref, elementRef]), ...rest, children: fallback });\n  }\n  return /* @__PURE__ */ jsx(Component, { ref: mergeRefs([ref, elementRef]), ...rest, children });\n};\nconst Default = forwardRef(Lazy);\nexport {\n  Default as Lazy\n};\n","import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { ProductCard } from \"../../../@shared/ProductCard/ProductCard.js\";\nimport { useProductsContext } from \"./Root.hooks.js\";\nimport { ProductCardSkeleton } from \"../../../@shared/ProductCardSkeleton/ProductCardSkeleton.js\";\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 \"../../../../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 { useTheme } from \"../../../../hooks/useTheme.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 { Lazy as Default } from \"../../../@shared/Lazy/Lazy.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { ProductCardType } from \"../../../@shared/ProductCard/ProductCard.types.js\";\nconst Card = ({\n  index,\n  componentName,\n  eventProperties,\n  variant,\n  ...rest\n}) => {\n  const theme = useTheme();\n  const {\n    products,\n    card,\n    pending,\n    isHeartOn,\n    onHeartOn,\n    onHeartOff\n  } = useProductsContext();\n  const product = products[index];\n  const isBarType = card.type === ProductCardType.BAR;\n  const isCardType = card.type === ProductCardType.CARD || card.type === ProductCardType.CARD_DETAILED;\n  const hideBarTypeRank = !isBarType || !card.hasRank;\n  const hideCardTypeRank = !isCardType || !card.hasRank;\n  const position = index + 1;\n  if (pending) {\n    return /* @__PURE__ */ jsx(ProductRank, { hidden: hideBarTypeRank, position, children: /* @__PURE__ */ jsx(ProductCardSkeleton, { theme, ...card, style: rest.style }) });\n  }\n  return /* @__PURE__ */ jsx(Default, { margin: \"0px 200px\", fallback: /* @__PURE__ */ jsx(ProductRank, { hidden: hideBarTypeRank, position, children: /* @__PURE__ */ jsx(ProductCardSkeleton, { theme, ...card, style: rest.style }) }), children: /* @__PURE__ */ jsx(ProductRank, { hidden: hideBarTypeRank, position, children: /* @__PURE__ */ jsx(ProductCard, { ...rest, ...card, hasRank: !hideCardTypeRank, theme, product, positionNo: position, variant, isHeartOn: isHeartOn(product.productId), onHeartOn, onHeartOff, eventProperties: {\n    product,\n    isProductGroup: true,\n    componentName,\n    positionNo: position,\n    ...eventProperties\n  } }) }) });\n};\nconst ProductRank = ({\n  children,\n  hidden = false,\n  position\n}) => {\n  const theme = useTheme();\n  if (hidden) {\n    return children;\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsx(\"div\", { style: rankAreaStyle, children: /* @__PURE__ */ jsx(\"div\", { style: {\n      ...typography(16, 700),\n      ...rankTextStyleByTheme[theme]\n    }, children: position }) }),\n    children\n  ] });\n};\nconst containerStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: \"12px\"\n};\nconst rankAreaStyle = {\n  minWidth: 40,\n  height: \"100%\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\"\n};\nconst rankTextStyleByTheme = {\n  light: {\n    color: \"#000\"\n  },\n  dark: {\n    color: \"#fff\"\n  }\n};\nexport {\n  Card\n};\n","import { Root } from \"./Root.js\";\nimport { Card } from \"./Card.js\";\nconst Products = {\n  Root,\n  Card\n};\nexport {\n  Products\n};\n","import { entries } from \"../../../../utils/entries.js\";\nimport merge from \"../../../../node_modules/lodash-es/merge.js\";\nimport cloneDeep from \"../../../../node_modules/lodash-es/cloneDeep.js\";\nconst createOptionTemplate = (options) => {\n  const {\n    base,\n    mobile = {},\n    tablet = {},\n    desktop = {}\n  } = options;\n  return Object.fromEntries(entries({\n    mobile,\n    tablet,\n    desktop\n  }).map(([key, value]) => [key, merge(cloneDeep(base), value)]));\n};\nconst getResponsiveWidth = (gap, column = 1, inset = 0) => {\n  return `calc((100% - ${gap * Math.max(column - 1, 1) + inset}px) / ${column})`;\n};\nexport {\n  createOptionTemplate,\n  getResponsiveWidth\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nconst HeadlineContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  priority = \"primary\",\n  loading = false,\n  ...rest\n}, ref) => {\n  return /* @__PURE__ */ jsx(HeadlineContext.Provider, { value: {\n    priority,\n    loading\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByPriority[priority],\n    ...style\n  }, children }) });\n});\nconst containerStyle = {\n  position: \"relative\",\n  width: \"100%\"\n};\nconst containerStyleByPriority = {\n  primary: {\n    paddingTop: 16\n  },\n  secondary: {\n    paddingTop: 12\n  },\n  tertiary: {\n    paddingTop: 0\n  }\n};\nexport {\n  HeadlineContext,\n  Root\n};\n","const HEADLINE_MEDIA_MAX_WIDTH = 1080;\nexport {\n  HEADLINE_MEDIA_MAX_WIDTH\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { mediaBuilder } from \"../../../../utils/mediaBuilder.js\";\nimport { HEADLINE_MEDIA_MAX_WIDTH } from \"./Root.constants.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 \"../../../../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 { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 SRC_SET_WIDTHS = [540, 1024, 1440];\nconst Image = forwardRef(({\n  source,\n  lazy = true\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  if (!source) {\n    return null;\n  }\n  const result = mediaBuilder(source).setFormat(\"auto\").setQuality(90);\n  return /* @__PURE__ */ jsx(\"img\", { ref, style: {\n    ...containerStyle,\n    ...containerStyleByBreakpoint[breakpoint]\n  }, loading: lazy ? \"lazy\" : \"eager\", sizes: \"100vw\", srcSet: result.getSrcSet(...SRC_SET_WIDTHS), src: result.getSrc(), alt: \"\", \"data-headline-media\": \"true\" });\n});\nconst containerStyle = {\n  width: \"100%\",\n  maxWidth: HEADLINE_MEDIA_MAX_WIDTH,\n  objectFit: \"cover\"\n};\nconst containerStyleByBreakpoint = {\n  desktop: {\n    aspectRatio: \"3 / 1\"\n  },\n  tablet: {\n    aspectRatio: \"16 / 9\"\n  },\n  mobile: {\n    aspectRatio: \"16 / 9\"\n  }\n};\nexport {\n  Image\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef, useMemo, useRef } from \"react\";\nimport { useInView } from \"framer-motion\";\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 \"../../../../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 { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 { useVideoVisibility } from \"../../../../hooks/useVideoVisibility.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { mergeRefs } from \"../../../../utils/react/mergeRefs.js\";\nimport { querify } from \"../../../../utils/querify.js\";\nimport { HEADLINE_MEDIA_MAX_WIDTH } from \"./Root.constants.js\";\nconst VideoInner = forwardRef(({\n  poster,\n  source,\n  sourceWebm\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    videoRef\n  } = useVideoVisibility();\n  const query = useMemo(() => querify({\n    width: posterWidthByBreakpoint[breakpoint],\n    q: 90\n  }), [breakpoint]);\n  const media = mediaByBreakpoint[breakpoint];\n  return /* @__PURE__ */ jsxs(\"video\", { ref: mergeRefs([ref, videoRef]), style: {\n    ...containerStyle,\n    ...containerStyleByBreakpoint[breakpoint]\n  }, poster: poster !== void 0 ? `${poster}?${query}` : void 0, autoPlay: true, playsInline: true, muted: true, loop: true, \"data-headline-media\": \"true\", children: [\n    sourceWebm ? /* @__PURE__ */ jsx(\"source\", { type: \"video/webm\", src: sourceWebm, media }) : null,\n    /* @__PURE__ */ jsx(\"source\", { type: \"video/mp4\", src: source, media })\n  ] });\n});\nconst Video = forwardRef(({\n  poster,\n  source,\n  sourceWebm,\n  lazy = true\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const fallbackRef = useRef(null);\n  const isInView = useInView(fallbackRef, {\n    margin: \"400px 0px\",\n    once: true\n  });\n  if (!source) {\n    return null;\n  }\n  if (lazy && !isInView) {\n    return /* @__PURE__ */ jsx(\"div\", { ref: fallbackRef, style: {\n      ...containerStyle,\n      ...containerStyleByBreakpoint[breakpoint]\n    }, \"data-headline-media\": \"true\" });\n  }\n  return /* @__PURE__ */ jsx(VideoInner, { ref, poster, source, sourceWebm });\n});\nconst containerStyle = {\n  width: \"100%\",\n  maxWidth: HEADLINE_MEDIA_MAX_WIDTH,\n  objectFit: \"cover\"\n};\nconst containerStyleByBreakpoint = {\n  desktop: {\n    aspectRatio: \"3 / 1\"\n  },\n  tablet: {\n    aspectRatio: \"16 / 9\"\n  },\n  mobile: {\n    aspectRatio: \"16 / 9\"\n  }\n};\nconst posterWidthByBreakpoint = {\n  desktop: void 0,\n  tablet: 1440,\n  mobile: 1024\n};\nconst mediaByBreakpoint = {\n  desktop: \"(min-width: 1025px)\",\n  tablet: \"(min-width: 541px)\",\n  mobile: void 0\n};\nexport {\n  Video\n};\n","import { useContext } from \"react\";\nimport { HeadlineContext } from \"./Root.js\";\nconst useHeadlineContext = () => {\n  const context = useContext(HeadlineContext);\n  if (!context) {\n    throw new Error(\"useHeadlineContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useHeadlineContext\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } 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 \"../../../../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 { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 { useHeadlineContext } from \"./Root.hooks.js\";\nimport { ComponentName } from \"../../../../styles/ComponentName.js\";\nimport { createWithStyle } from \"../../../../styles/createWithStyle.js\";\nimport { css } from \"../../../../styles/css.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.HeadlineContent, {\n  container: css`\n    position: relative;\n\n    /* NOTE(임규민): data-headline-media 속성을 가진 요소가 형제로 존재하는 경우에만 스타일 적용 */\n    &:where([data-headline-media='true'], [data-headline-media='true'] + *) {\n      position: absolute;\n      inset: auto 0 0;\n    }\n\n    &:where([data-headline-media='true'], [data-headline-media='true'] + *) > * {\n      padding-top: 40px !important;\n    }\n\n    &:where([data-headline-media='true'], [data-headline-media='true'] + *) > *[data-breakpoint='desktop'] {\n      padding-right: 32px !important;\n    }\n  `\n});\nconst Content = withStyle(forwardRef(({\n  children,\n  style,\n  contentStyle: _contentStyle,\n  emptyTitle,\n  ...rest\n}, ref) => {\n  const breakpoint = useBreakpoint();\n  const {\n    priority\n  } = useHeadlineContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, className: classNames.container, children: /* @__PURE__ */ jsx(\"div\", { style: {\n    ...wrapperStyle,\n    ...wrapperStyleByBreakpoint[breakpoint],\n    ...wrapperStyleByPriority[priority],\n    ...style\n  }, \"data-breakpoint\": breakpoint, children: /* @__PURE__ */ jsx(\"div\", { style: {\n    ...contentStyle,\n    ...contentStyleByPriority[priority],\n    ...priority === \"primary\" && emptyTitle === true ? {\n      gap: 0\n    } : {},\n    ..._contentStyle\n  }, children }) }) });\n}));\nconst wrapperStyle = {\n  position: \"relative\"\n};\nconst wrapperStyleByBreakpoint = {\n  desktop: {\n    paddingRight: 0,\n    paddingLeft: 0\n  },\n  tablet: {\n    paddingRight: 20,\n    paddingLeft: 20\n  },\n  mobile: {\n    paddingRight: 20,\n    paddingLeft: 20\n  }\n};\nconst wrapperStyleByPriority = {\n  primary: {\n    paddingBottom: 16\n  },\n  secondary: {\n    paddingBottom: 20\n  },\n  tertiary: {\n    paddingBottom: 16\n  }\n};\nconst contentStyle = {\n  display: \"flex\"\n};\nconst contentStyleByPriority = {\n  primary: {\n    flexDirection: \"column\",\n    gap: 4\n  },\n  secondary: {\n    minHeight: 40,\n    flexDirection: \"row\",\n    alignItems: \"center\",\n    gap: 16\n  },\n  tertiary: {\n    flexDirection: \"row\",\n    alignItems: \"center\",\n    gap: 16\n  }\n};\nexport {\n  Content\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"framer\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { useHeadlineContext } from \"./Root.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 \"../../../../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 \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport { useBreakpoint } from \"../../../../hooks/useBreakpoint.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 { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nconst Title = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    priority,\n    loading\n  } = useHeadlineContext();\n  const breakpoint = useBreakpoint();\n  const theme = useTheme();\n  if (loading) {\n    return /* @__PURE__ */ jsx(Skeleton, { style: {\n      ...skeletonStyle,\n      ...skeletonStyleByPriority[priority][breakpoint],\n      ...skeletonStyleByTheme[theme]\n    } });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...textStyle[priority][breakpoint],\n    ...textColor[theme],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  width: \"100%\",\n  whiteSpace: \"pre-wrap\",\n  color: \"#ffffff\"\n};\nconst skeletonStyle = {\n  width: \"40%\",\n  borderRadius: 6\n};\nconst skeletonStyleByPriority = {\n  primary: {\n    desktop: {\n      height: 42\n    },\n    tablet: {\n      height: 30.8\n    },\n    mobile: {\n      height: 30.8\n    }\n  },\n  secondary: {\n    desktop: {\n      height: 21\n    },\n    tablet: {\n      height: 21\n    },\n    mobile: {\n      height: 21\n    }\n  },\n  tertiary: {\n    desktop: {\n      height: 19.59\n    },\n    tablet: {\n      height: 19.59\n    },\n    mobile: {\n      height: 19.59\n    }\n  }\n};\nconst skeletonStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nconst textColor = {\n  light: {\n    color: \"#000000\"\n  },\n  dark: {\n    color: \"#ffffff\"\n  }\n};\nconst textStyle = {\n  primary: {\n    desktop: typography(30, 700),\n    tablet: typography(22, 700),\n    mobile: typography(22, 700)\n  },\n  secondary: {\n    desktop: typography(15, 700),\n    tablet: typography(15, 700),\n    mobile: typography(15, 700)\n  },\n  tertiary: {\n    desktop: typography(14, 700),\n    tablet: typography(14, 700),\n    mobile: typography(14, 700)\n  }\n};\nexport {\n  Title\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } 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 \"../../../../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 { useTheme } from \"../../../../hooks/useTheme.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 { typography } from \"../../../../styles/typography.js\";\nimport { useHeadlineContext } from \"./Root.hooks.js\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nconst Description = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    priority,\n    loading\n  } = useHeadlineContext();\n  const theme = useTheme();\n  if (!children) {\n    return null;\n  }\n  if (loading) {\n    return /* @__PURE__ */ jsx(Skeleton, { style: {\n      ...skeletonStyle,\n      ...skeletonStyleByPriority[priority],\n      ...skeletonStyleByTheme[theme]\n    } });\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByPriority[priority],\n    ...textColor[theme],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  width: \"100%\",\n  whiteSpace: \"pre-wrap\"\n};\nconst skeletonStyle = {\n  width: \"36%\",\n  borderRadius: 6\n};\nconst skeletonStyleByPriority = {\n  primary: {\n    height: 21\n  },\n  secondary: {\n    height: 16.8\n  },\n  tertiary: {\n    height: 16.8\n  }\n};\nconst skeletonStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nconst containerStyleByPriority = {\n  primary: {\n    ...typography(15, 400)\n  },\n  secondary: {\n    ...typography(12, 400)\n  },\n  // NOTE:(김홍동) tertiary에서 Description 사용케이스가 아직 없어 secondary와 동일하게 가져갑니다.\n  tertiary: {\n    ...typography(12, 400)\n  }\n};\nconst textColor = {\n  light: {\n    color: \"#474747\"\n  },\n  dark: {\n    color: \"#a0a0a0\"\n  }\n};\nexport {\n  Description\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Action = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  if (!children) {\n    return null;\n  }\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  minWidth: \"fit-content\",\n  display: \"flex\",\n  alignItems: \"center\"\n};\nexport {\n  Action\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } 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 \"../../../../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 { useTheme } from \"../../../../hooks/useTheme.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 Gradient = forwardRef(({\n  style,\n  ...rest\n}, ref) => {\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByTheme[theme],\n    ...style\n  } });\n});\nconst containerStyle = {\n  position: \"absolute\",\n  inset: 0,\n  zIndex: 0,\n  width: \"100%\"\n};\nconst containerStyleByTheme = {\n  light: {\n    background: \"linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.60) 46%, #fff 90%)\"\n  },\n  dark: {\n    background: \"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 46%, #000 90%)\"\n  }\n};\nexport {\n  Gradient\n};\n","import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useHeadlineContext } from \"./Root.hooks.js\";\nconst Body = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    priority\n  } = useHeadlineContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByPriority[priority],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  width: \"100%\",\n  display: \"flex\"\n};\nconst containerStyleByPriority = {\n  primary: {\n    flexDirection: \"row\",\n    gap: 16\n  },\n  secondary: {\n    flexDirection: \"column\"\n  },\n  tertiary: {\n    flexDirection: \"column\"\n  }\n};\nexport {\n  Body\n};\n","import { Root } from \"./Root.js\";\nimport { Image } from \"./Image.js\";\nimport { Video } from \"./Video.js\";\nimport { Content } from \"./Content.js\";\nimport { Title } from \"./Title.js\";\nimport { Description } from \"./Description.js\";\nimport { Action } from \"./Action.js\";\nimport { Gradient } from \"./Gradient.js\";\nimport { Body } from \"./Body.js\";\nconst Headline = {\n  Root,\n  Image,\n  Video,\n  Content,\n  Body,\n  Title,\n  Description,\n  Action,\n  Gradient\n};\nexport {\n  Headline\n};\n","import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport { typography } from \"../../../styles/typography.js\";\nconst TextButton = ({\n  children,\n  style,\n  as,\n  theme = \"light\",\n  size = \"medium\",\n  prefixIcon,\n  postfixIcon,\n  variant,\n  backgroundColor,\n  color,\n  isUnderlined = false,\n  ...rest\n}, ref) => {\n  const Component = as ?? \"button\";\n  const variantStyle = textButtonStyleByVariant[rest.disabled ? \"disabled\" : variant];\n  const textButtonStyle = {\n    ...style,\n    ...baseTextButtonStyle,\n    ...textButtonStyleBySize[size],\n    ...variantStyle[theme],\n    ...isUnderlined && {\n      textDecoration: \"underline\"\n    }\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: textButtonStyle, children: [\n    prefixIcon ? /* @__PURE__ */ jsx(Icon, { type: getIconType(prefixIcon), fill: getIconFill(prefixIcon), size: iconSizeByButtonSize[size], color: textButtonStyle.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: textButtonStyle.color, weight: \"bold\" }) : null\n  ] });\n};\nconst getIconType = (icon) => typeof icon === \"string\" ? icon : icon.type;\nconst getIconFill = (icon) => typeof icon === \"string\" ? void 0 : icon.fill;\nconst baseTextButtonStyle = {\n  minWidth: \"fit-content\",\n  height: \"auto\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"pointer\",\n  // reset button element css\n  backgroundColor: \"transparent\",\n  textDecoration: \"none\",\n  padding: 0,\n  outline: \"none\",\n  border: \"none\",\n  boxSizing: \"border-box\"\n};\nconst textButtonStyleBySize = {\n  large: {\n    gap: \"4px\",\n    ...typography(18, 600, 1.2)\n  },\n  medium: {\n    gap: \"4px\",\n    ...typography(16, 600, 1.2)\n  },\n  small: {\n    gap: \"2px\",\n    ...typography(14, 600, 1.2)\n  },\n  xSmall: {\n    gap: \"2px\",\n    ...typography(12, 700, 1.36)\n  }\n};\nconst textButtonStyleByVariant = {\n  primary: {\n    light: {\n      color: \"#000\"\n    },\n    dark: {\n      color: \"#fff\"\n    }\n  },\n  secondary: {\n    light: {\n      color: \"#474747\"\n    },\n    dark: {\n      color: \"#a0a0a0\"\n    }\n  },\n  tertiary: {\n    light: {\n      color: \"#a0a0a0\"\n    },\n    dark: {\n      color: \"#474747\"\n    }\n  },\n  disabled: {\n    light: {\n      color: \"#c4c4c4\",\n      cursor: \"not-allowed\"\n    },\n    dark: {\n      color: \"#303033\",\n      cursor: \"not-allowed\"\n    }\n  }\n};\nconst iconSizeByButtonSize = {\n  large: 20,\n  medium: 18,\n  small: 16,\n  xSmall: 12\n};\nconst contentStyle = {\n  display: \"flex\",\n  alignItems: \"center\"\n};\nconst Default = forwardRef(TextButton);\nexport {\n  Default as TextButton\n};\n"],"x_google_ignoreList":[13,14,15,30,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76],"mappings":"msDAAM,GAAsB,GAAY,CACtC,GAAM,CACJ,cAAc,EACd,cAAc,GACZ,GAAW,EAAE,CACjB,OAAO,EAAc,6BCLiB,IACuB,IACiC,KACtB,CACpE,GAAuBA,EAAc,KAAK,CAC1CC,GAAOC,GAAY,CACvB,WACA,QACA,eACA,QACA,kBAAkB,EAClB,mBAAmB,EACnB,gBACA,GAAG,GACF,IAAQ,CACT,IAAM,EAAOC,EAAuB,IAAI,IAAM,CACxC,EAAUA,EAAO,KAAK,CACtB,CAAC,GAAc,EAAK,QAAQ,MAAM,CAClC,CAAC,EAAc,GAAmBC,EAAS,GAAgB,GAAS,EAAW,CAC/E,EAAQ,EAAe,EAAE,C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