{
  "version": 3,
  "sources": ["ssg:https://asset.29cm.co.kr/contents/framer/types/product-curation.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/ExhibitionProductCuration/ExhibitionProductCuration.constants.js", "ssg:https://asset.29cm.co.kr/contents/framer/apis/category-collection/ProductCollection.types.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/collection/ButtonLayout/ButtonSkeleton.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/collection/ButtonLayout/ButtonLayout.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Grid/Root.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Grid/Root.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Grid/Item.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Grid/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/collection/ProductsLayout/ProductSkeleton.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/collection/ProductsLayout/ProductsLayout.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/collection/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordCollectionButton/KeywordCollectionButton.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Tabs/Root.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Tabs/Root.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Tabs/Gradient.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Tabs/List.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Tabs/Panel.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Tabs/Trigger.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Tabs/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordCollectionTags/KeywordCollectionTags.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordProducts/KeywordProducts.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordCollection.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordProducts/KeywordProducts.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchCollectionProducts.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordProducts/KeywordProducts.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useLazyFetchCollection.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/KeywordCollection/KeywordCollection.js", "ssg:https://asset.29cm.co.kr/contents/framer/apis/category-collection/ProductCollection.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchCategoryCollection.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/LargeCategories/LargeCategories.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/MediumCategories/MediumCategories.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/CategoryProducts/CategoryProducts.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/CategoryCollection.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/CategoryProductsProvider/CategoryProductsProvider.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/CategoryProductsProvider/CategoryProductsProvider.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/CategoryProducts/CategoryProducts.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/CategoryCollectionButton/CategoryCollectionButton.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/CategoryCollection/CategoryCollection.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/ProductCuration/ProductCuration.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/ExhibitionProductCuration/ExhibitionProductCuration.js", "ssg:https://framerusercontent.com/modules/k7V9m2arNVlw4WU1lrBg/dLqmtGqvahTNJkOrPys0/ProductCurationExhibition.js"],
  "sourcesContent": ["var CollectionType = /* @__PURE__ */ ((CollectionType2) => {\n  CollectionType2[\"KEYWORD\"] = \"keyword\";\n  CollectionType2[\"CATEGORY\"] = \"category\";\n  return CollectionType2;\n})(CollectionType || {});\nvar ButtonTheme = /* @__PURE__ */ ((ButtonTheme2) => {\n  ButtonTheme2[\"LINE\"] = \"line\";\n  ButtonTheme2[\"DARK\"] = \"dark\";\n  ButtonTheme2[\"WHITE\"] = \"white\";\n  return ButtonTheme2;\n})(ButtonTheme || {});\nvar ButtonStyle = /* @__PURE__ */ ((ButtonStyle2) => {\n  ButtonStyle2[\"FILL\"] = \"fill\";\n  ButtonStyle2[\"FIT\"] = \"fit\";\n  return ButtonStyle2;\n})(ButtonStyle || {});\nvar Breakpoint = /* @__PURE__ */ ((Breakpoint2) => {\n  Breakpoint2[Breakpoint2[\"DESKTOP\"] = 0] = \"DESKTOP\";\n  Breakpoint2[Breakpoint2[\"TABLET\"] = 1] = \"TABLET\";\n  Breakpoint2[Breakpoint2[\"MOBILE\"] = 2] = \"MOBILE\";\n  return Breakpoint2;\n})(Breakpoint || {});\nvar LayoutType = /* @__PURE__ */ ((LayoutType2) => {\n  LayoutType2[\"CARD_3x3\"] = \"CARD_3x3\";\n  LayoutType2[\"CARD_6x2\"] = \"CARD_6x2\";\n  LayoutType2[\"BAR_1x2_Responsive\"] = \"BAR_1x2_Responsive\";\n  LayoutType2[\"BAR_1x4_Responsive\"] = \"BAR_1x4_Responsive\";\n  LayoutType2[\"BAR_1x6_Responsive\"] = \"BAR_1x6_Responsive\";\n  return LayoutType2;\n})(LayoutType || {});\nexport {\n  Breakpoint,\n  ButtonStyle,\n  ButtonTheme,\n  CollectionType,\n  LayoutType\n};\n", "import { ProductCardType } from \"../../@shared/ProductCard/ProductCard.types.js\";\nimport { LayoutType } from \"../../../types/product-curation.js\";\nconst PRODUCT_GROUP_MIN_WIDTH = 280;\nconst layoutOptionsByLayoutType = {\n  [LayoutType.CARD_3x3]: {\n    type: ProductCardType.CARD,\n    isResponsive: false,\n    count: 9,\n    column: 3,\n    row: 3,\n    minWidth: 0,\n    hasBrandName: true,\n    hasBadges: false\n  },\n  [LayoutType.CARD_6x2]: {\n    type: ProductCardType.CARD,\n    isResponsive: false,\n    count: 12,\n    column: 6,\n    row: 2,\n    minWidth: 0,\n    hasBrandName: true,\n    hasBadges: false\n  },\n  [LayoutType.BAR_1x2_Responsive]: {\n    type: ProductCardType.BAR,\n    isResponsive: true,\n    count: 2,\n    column: 1,\n    row: 2,\n    minWidth: PRODUCT_GROUP_MIN_WIDTH,\n    hasBrandName: true,\n    hasBadges: true\n  },\n  [LayoutType.BAR_1x4_Responsive]: {\n    type: ProductCardType.BAR,\n    isResponsive: true,\n    count: 4,\n    column: 1,\n    row: 4,\n    minWidth: PRODUCT_GROUP_MIN_WIDTH,\n    hasBrandName: true,\n    hasBadges: true\n  },\n  [LayoutType.BAR_1x6_Responsive]: {\n    type: ProductCardType.BAR,\n    isResponsive: true,\n    count: 6,\n    column: 1,\n    row: 6,\n    minWidth: PRODUCT_GROUP_MIN_WIDTH,\n    hasBrandName: true,\n    hasBadges: true\n  }\n};\nexport {\n  layoutOptionsByLayoutType\n};\n", "var EnvironmentType = /* @__PURE__ */ ((EnvironmentType2) => {\n  EnvironmentType2[\"LIVE\"] = \"live\";\n  EnvironmentType2[\"QA\"] = \"qa\";\n  EnvironmentType2[\"DEV\"] = \"dev\";\n  return EnvironmentType2;\n})(EnvironmentType || {});\nvar SortOptions = /* @__PURE__ */ ((SortOptions2) => {\n  SortOptions2[\"EXHIBITION\"] = \"EXHIBITION\";\n  SortOptions2[\"RECOMMEND\"] = \"RECOMMEND\";\n  return SortOptions2;\n})(SortOptions || {});\nexport {\n  EnvironmentType,\n  SortOptions\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { Skeleton } from \"../../Skeleton/Skeleton.js\";\nconst ButtonSkeleton = () => {\n  return /* @__PURE__ */ jsx(Skeleton, { style: skeletonStyle });\n};\nconst skeletonStyle = {\n  width: \"100%\",\n  borderRadius: \"4px\",\n  height: \"52px\"\n};\nexport {\n  ButtonSkeleton\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { ButtonSkeleton } from \"./ButtonSkeleton.js\";\nimport { Breakpoint } from \"../../../../types/product-curation.js\";\nconst ButtonLayout = ({\n  breakpoint,\n  isHide = false,\n  isLoading = false,\n  children,\n  ...rest\n}) => {\n  if (isHide) {\n    return null;\n  }\n  const buttonLayoutStyle = {\n    ...baseButtonLayoutStyle,\n    ...buttonLayoutStyleByBreakPoint[breakpoint]\n  };\n  return /* @__PURE__ */ jsx(\"div\", { style: buttonLayoutStyle, ...rest, children: isLoading ? /* @__PURE__ */ jsx(ButtonSkeleton, {}) : children });\n};\nconst baseButtonLayoutStyle = {\n  display: \"flex\",\n  justifyContent: \"center\",\n  alignSelf: \"center\",\n  width: \"100%\"\n};\nconst buttonLayoutStyleByBreakPoint = {\n  [Breakpoint.DESKTOP]: {\n    marginTop: \"64px\",\n    padding: 0\n  },\n  [Breakpoint.TABLET]: {\n    marginTop: \"64px\",\n    padding: 0\n  },\n  [Breakpoint.MOBILE]: {\n    marginTop: \"32px\",\n    padding: \"0px 20px\"\n  }\n};\nexport {\n  ButtonLayout\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nconst GridContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  column = 0,\n  columnGap = 0,\n  rowGap = 0,\n  ...rest\n}, ref) => {\n  const value = {\n    columnGap,\n    rowGap,\n    column\n  };\n  return /* @__PURE__ */ jsx(GridContext.Provider, { value, children: /* @__PURE__ */ jsx(\"ul\", { ref, style: {\n    ...containerResetStyle,\n    ...containerStyle,\n    ...style,\n    columnGap,\n    rowGap\n  }, ...rest, children }) });\n});\nconst containerResetStyle = {\n  padding: 0,\n  margin: 0,\n  listStyle: \"none\"\n};\nconst containerStyle = {\n  display: \"flex\",\n  flexWrap: \"wrap\"\n};\nexport {\n  GridContext,\n  Root\n};\n", "import { useContext } from \"react\";\nimport { GridContext } from \"./Root.js\";\nconst useGridContext = () => {\n  const context = useContext(GridContext);\n  if (!context) {\n    throw new Error(\"useGridContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useGridContext\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useGridContext } from \"./Root.hooks.js\";\nconst Item = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    column,\n    columnGap\n  } = useGridContext();\n  const width = calculateResponsiveWidth(column, columnGap);\n  return /* @__PURE__ */ jsx(\"li\", { ref, style: {\n    ...containerResetStyle,\n    ...style,\n    width\n  }, ...rest, children });\n});\nconst containerResetStyle = {\n  display: \"block\"\n};\nconst calculateResponsiveWidth = (column, columnGap) => {\n  return `calc(${100 / column}% - ${(column - 1) * columnGap / column}px)`;\n};\nexport {\n  Item\n};\n", "import { Root } from \"./Root.js\";\nimport { Item } from \"./Item.js\";\nconst Grid = {\n  Root,\n  Item\n};\nexport {\n  Grid\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { ProductCardType } from \"../../ProductCard/ProductCard.types.js\";\nimport { Skeleton } from \"../../Skeleton/Skeleton.js\";\nconst ProductSkeleton = ({\n  layoutOptions\n}) => {\n  return /* @__PURE__ */ jsxs(\n    \"div\",\n    {\n      style: itemLayoutStyle(layoutOptions.type, layoutOptions.column),\n      children: [\n        /* @__PURE__ */ jsx(Skeleton, { style: imageStyle(layoutOptions.type) }),\n        /* @__PURE__ */ jsxs(\"div\", { style: textSkeletonLayoutStyle, children: [\n          /* @__PURE__ */ jsx(Skeleton, { style: textSkeletonStyle(\"60%\", \"13px\") }),\n          /* @__PURE__ */ jsx(Skeleton, { style: textSkeletonStyle(\"80%\", \"14px\") }),\n          /* @__PURE__ */ jsx(Skeleton, { style: textSkeletonStyle(\"50%\", \"17px\") })\n        ] })\n      ]\n    }\n  );\n};\nconst itemLayoutStyle = (type, column) => ({\n  display: \"flex\",\n  gap: \"10px\",\n  width: \"100%\",\n  margin: \"0 auto\",\n  ...itemLayoutStyleByType(column)[type]\n});\nconst itemLayoutStyleByType = (column) => ({\n  [ProductCardType.BAR]: {\n    flexDirection: \"row\",\n    alignItems: \"center\"\n  },\n  [ProductCardType.CARD]: {\n    flexDirection: \"column\",\n    flex: `1 0 calc(${100 / column}% - 20px)`\n  },\n  [ProductCardType.CARD_DETAILED]: {\n    flexDirection: \"column\",\n    flex: `1 0 calc(${100 / column}% - 20px)`\n  }\n});\nconst imageStyle = (type) => ({\n  color: \"transparent\",\n  background: \"linear-gradient(-90deg, #dee2e6, #f0f0f0, #dee2e6, #f0f0f0)\",\n  backgroundSize: \"400%\",\n  ...imageStyleByType[type]\n});\nconst imageStyleByType = {\n  [ProductCardType.BAR]: {\n    width: \"80px\",\n    height: \"80px\"\n  },\n  [ProductCardType.CARD]: {\n    width: \"100%\",\n    aspectRatio: \"1 / 1\"\n  },\n  [ProductCardType.CARD_DETAILED]: {\n    width: \"100%\",\n    aspectRatio: \"1 / 1\"\n  }\n};\nconst textSkeletonLayoutStyle = {\n  flex: \"1\",\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: \"5px\"\n};\nconst textSkeletonStyle = (width, height) => ({\n  color: \"transparent\",\n  borderRadius: \"6px\",\n  background: \"linear-gradient(-90deg, #dee2e6, #f0f0f0, #dee2e6, #f0f0f0)\",\n  backgroundSize: \"400%\",\n  width,\n  height\n});\nexport {\n  ProductSkeleton\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { Grid } from \"../../Grid/index.js\";\nimport { Breakpoint } from \"../../../../types/product-curation.js\";\nimport { ProductSkeleton } from \"./ProductSkeleton.js\";\nimport { ComponentName } from \"../../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../../styles/createWithStyle.js\";\nimport { css } from \"../../../../styles/css.js\";\nimport { ProductCardType } from \"../../ProductCard/ProductCard.types.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.CurationProducts, {\n  responsive: css`\n    & {\n      @media (max-width: 614px) {\n        grid-template-columns: repeat(2, 1fr) !important;\n      }\n    }\n  `\n});\nconst ProductsLayout = ({\n  layoutOptions,\n  breakpoint,\n  list,\n  isLoading = false,\n  totalCount = layoutOptions.count,\n  children\n}) => {\n  const skeletonCount = totalCount - list.length;\n  const productListResponsiveStyle = {\n    ...baseProductListResponsiveStyle(layoutOptions.minWidth),\n    ...productListResponsiveStyleByBreakpoint[breakpoint]\n  };\n  const productListResponsiveClassName = layoutOptions.type === ProductCardType.CARD ? classNames.responsive : void 0;\n  if (layoutOptions.isResponsive) {\n    return /* @__PURE__ */ jsxs(\"div\", { style: productListResponsiveStyle, className: productListResponsiveClassName, children: [\n      list.map((item, index) => children(item, index)),\n      isLoading ? Array.from({\n        length: skeletonCount\n      }).map((_, index) => (\n        // eslint-disable-next-line react/no-array-index-key\n        /* @__PURE__ */ jsx(ProductSkeleton, { layoutOptions }, index)\n      )) : null\n    ] });\n  }\n  const productListStyle = productListStyleByBreakpoint[breakpoint];\n  const columnGap = Number(productListStyle.columnGap) || 0;\n  const rowGap = Number(productListStyle.rowGap) || 0;\n  return /* @__PURE__ */ jsxs(Grid.Root, { style: productListStyle, column: layoutOptions.column, columnGap, rowGap, children: [\n    list.map((item, index) => (\n      // eslint-disable-next-line react/no-array-index-key\n      /* @__PURE__ */ jsx(Grid.Item, { children: children(item, index) }, index)\n    )),\n    isLoading ? Array.from({\n      length: skeletonCount\n    }).map((_, index) => (\n      // eslint-disable-next-line react/no-array-index-key\n      /* @__PURE__ */ jsx(Grid.Item, { children: /* @__PURE__ */ jsx(ProductSkeleton, { layoutOptions }) }, index)\n    )) : null\n  ] });\n};\nconst Default = withStyle(ProductsLayout);\nconst baseProductListResponsiveStyle = (minWidth) => ({\n  display: \"grid\",\n  gridTemplateColumns: `repeat(auto-fill, minmax(${minWidth}px, 1fr)`\n});\nconst productListResponsiveStyleByBreakpoint = {\n  [Breakpoint.DESKTOP]: {\n    gap: 20,\n    padding: 0\n  },\n  [Breakpoint.TABLET]: {\n    gap: 20,\n    padding: 0\n  },\n  [Breakpoint.MOBILE]: {\n    gap: 8,\n    padding: \"0px 20px\"\n  }\n};\nconst productListStyleByBreakpoint = {\n  [Breakpoint.DESKTOP]: {\n    columnGap: 20,\n    rowGap: 20,\n    padding: 0\n  },\n  [Breakpoint.TABLET]: {\n    columnGap: 20,\n    rowGap: 20,\n    padding: 0\n  },\n  [Breakpoint.MOBILE]: {\n    columnGap: 8,\n    rowGap: 16,\n    padding: \"0px 20px\"\n  }\n};\nexport {\n  Default as ProductsLayout\n};\n", "import { ButtonLayout } from \"./ButtonLayout/ButtonLayout.js\";\nimport { ProductsLayout as Default } from \"./ProductsLayout/ProductsLayout.js\";\nconst Collection = {\n  ButtonLayout,\n  ProductsLayout: Default\n};\nexport {\n  Collection\n};\n", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Button as Default } from \"../../../@shared/Button/Button.js\";\nimport { useNavigatePage } from \"../../../../hooks/useNavigatePage.js\";\nimport { Collection } from \"../../../@shared/collection/index.js\";\nimport { useDownloadCoupons } from \"../../../../hooks/useDownloadCoupons.js\";\nimport { CouponType } from \"../../../../types/models/coupon.js\";\nimport { ButtonTheme, ButtonStyle } from \"../../../../types/product-curation.js\";\nimport { useTrackClickButtonContentEvent } from \"../../../../hooks/events/useTrackClickButtonContentEvent.js\";\nconst DEFAULT_SHOW_MORE_BUTTON_TEXT = \"\uD14D\uC2A4\uD2B8 \uD544\uB4DC \uC785\uB825\";\nconst KeywordCollectionButton = ({\n  hasButton,\n  button,\n  buttonStyle,\n  collectionId,\n  productGroupId,\n  isDevMode,\n  breakpoint,\n  coupon,\n  couponButton,\n  displayCoupon,\n  componentId,\n  trackEvent\n}) => {\n  const {\n    trackClickButtonContentEvent\n  } = useTrackClickButtonContentEvent();\n  const environmentPrefix = isDevMode ? \"dev-\" : \"\";\n  const collectionUrl = `https://${environmentPrefix}content.29cm.co.kr/collection/${collectionId}?product_group=${productGroupId}`;\n  const navigateCollectionPage = useNavigatePage(collectionUrl);\n  const {\n    download\n  } = useDownloadCoupons(CouponType.NORMAL, coupon == null ? void 0 : coupon.discountType);\n  const shouldRenderMoreButton = hasButton;\n  const shouldRenderCouponButton = coupon !== void 0 && displayCoupon;\n  const buttonVariant = (button == null ? void 0 : button.theme) === ButtonTheme.DARK ? \"primary\" : (button == null ? void 0 : button.theme) === ButtonTheme.LINE ? \"secondary\" : \"tertiary\";\n  const isButtonFill = buttonStyle === ButtonStyle.FILL;\n  const renderedButtonText = (button == null ? void 0 : button.text) || DEFAULT_SHOW_MORE_BUTTON_TEXT;\n  const renderedCouponButtonText = (couponButton == null ? void 0 : couponButton.text) || (coupon == null ? void 0 : coupon.couponName);\n  const handleShowMoreButton = () => {\n    trackEvent({\n      component_type: \"more\"\n    });\n    trackClickButtonContentEvent(componentId, {\n      button_type: \"more\",\n      button_value: renderedButtonText\n    });\n    navigateCollectionPage();\n  };\n  const handleClickCoupon = () => {\n    if (!coupon) {\n      return;\n    }\n    download([coupon.id]);\n    trackEvent({\n      component_type: \"coupon\"\n    });\n  };\n  return /* @__PURE__ */ jsx(Collection.ButtonLayout, { breakpoint, isHide: !shouldRenderMoreButton && !shouldRenderCouponButton, children: /* @__PURE__ */ jsxs(\"div\", { style: buttonContainer(isButtonFill), children: [\n    shouldRenderCouponButton ? /* @__PURE__ */ jsx(Default, { ...couponButton, postfixIcon: \"download\", prefixIcon: void 0, fill: true, onClick: handleClickCoupon, children: renderedCouponButtonText }) : null,\n    shouldRenderMoreButton ? /* @__PURE__ */ jsx(Default, { variant: buttonVariant, fill: true, postfixIcon: \"chevronRight\", onClick: handleShowMoreButton, children: renderedButtonText }) : null\n  ] }) });\n};\nconst buttonContainer = (isButtonFill) => ({\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: 16,\n  width: `${isButtonFill ? \"100%\" : \"auto\"}`,\n  margin: \"0 auto\"\n});\nexport {\n  KeywordCollectionButton\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef, useRef, useState, useLayoutEffect, useEffect } from \"react\";\nconst TabsContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  defaultValue,\n  value,\n  scrollSnapAlign = \"center\",\n  onValueChange,\n  ...rest\n}, ref) => {\n  const refs = useRef(/* @__PURE__ */ new Map());\n  const [firstValue] = refs.current.keys();\n  const [currentValue, setCurrentValue] = useState(defaultValue ?? value ?? firstValue);\n  const listRef = useRef(null);\n  const scrollToCenter = (incoming, smooth = true) => {\n    const triggerEl = refs.current.get(incoming);\n    if (listRef.current === null || triggerEl === void 0) {\n      return;\n    }\n    const left = scrollSnapAlign === \"left\" ? triggerEl.offsetLeft : getCenterPosition(listRef.current, triggerEl);\n    listRef.current.scroll({\n      behavior: smooth ? \"smooth\" : \"auto\",\n      left\n    });\n  };\n  const move = (next) => {\n    onValueChange == null ? void 0 : onValueChange(next);\n    setCurrentValue(next);\n    scrollToCenter(next);\n  };\n  useLayoutEffect(() => {\n    if (defaultValue) {\n      scrollToCenter(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    move\n  };\n  return /* @__PURE__ */ jsx(TabsContext.Provider, { value: context, children: /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...style,\n    ...containerStyle\n  }, children }) });\n});\nconst getCenterPosition = (list, item) => {\n  return item.offsetLeft - (list.clientWidth - item.clientWidth) / 2;\n};\nconst containerStyle = {\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nexport {\n  Root,\n  TabsContext\n};\n", "import { useContext } from \"react\";\nimport { TabsContext } from \"./Root.js\";\nconst useTabsContext = () => {\n  const context = useContext(TabsContext);\n  if (!context) {\n    throw new Error(\"useTabsContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useTabsContext\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { useScroll, useTransform, motion } from \"framer-motion\";\nimport { useTabsContext } from \"./Root.hooks.js\";\nimport { forwardRef, useEffect } from \"react\";\nconst Gradient = forwardRef(({\n  style,\n  theme = \"light\",\n  ...props\n}, ref) => {\n  const {\n    listRef\n  } = useTabsContext();\n  const {\n    scrollXProgress\n  } = useScroll({\n    container: listRef\n  });\n  const opacity = useTransform(scrollXProgress, [0.9, 1], [1, 0]);\n  useEffect(() => {\n    const container = listRef.current;\n    if (container === null) {\n      return;\n    }\n    opacity.set(container.scrollWidth > container.clientWidth ? 1 : 0);\n  }, []);\n  return /* @__PURE__ */ jsx(motion.div, { ref, ...props, style: {\n    ...gradientStyle,\n    ...gradientStyleByTheme[theme],\n    opacity,\n    ...style\n  } });\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", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nimport { useTabsContext } from \"./Root.hooks.js\";\nimport { withCSS } from \"framer\";\nconst COMPONENT_NAME = \"tabs-list\";\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  scrollPadding,\n  ...rest\n}, ref) => {\n  const {\n    listRef\n  } = useTabsContext();\n  return /* @__PURE__ */ jsx(\"ul\", { ref: mergeRefs([ref, listRef]), ...rest, className: `${COMPONENT_NAME}-container`, style: {\n    ...containerResetStyle,\n    ...containerStyle,\n    ...style,\n    gap,\n    scrollPaddingLeft: scrollPadding ?? gap,\n    scrollPaddingRight: scrollPadding ?? gap\n  }, children });\n}), css);\nconst containerResetStyle = {\n  padding: 0,\n  margin: 0\n};\nconst containerStyle = {\n  position: \"relative\",\n  zIndex: 8,\n  display: \"flex\",\n  overflowX: \"scroll\",\n  scrollSnapType: \"x mandatory\",\n  WebkitScrollSnapType: \"x mandatory\",\n  msOverflowStyle: \"none\",\n  scrollbarWidth: \"none\"\n};\nexport {\n  List\n};\n", "import { useTabsContext } from \"./Root.hooks.js\";\nconst Panel = ({\n  children,\n  value\n}) => {\n  const {\n    currentValue\n  } = useTabsContext();\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 { useTabsContext } 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  } = useTabsContext();\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(\"li\", { 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 Tabs = {\n  Root,\n  List,\n  Trigger,\n  Panel,\n  Gradient\n};\nexport {\n  Tabs\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { Tabs } from \"../../../@shared/Tabs/index.js\";\nimport { Tag } from \"../../../@shared/Tag/Tag.js\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nimport { Breakpoint } from \"../../../../types/product-curation.js\";\nimport { useCollectionProductGroupList } from \"./KeywordCollectionTags.hooks.js\";\nimport { useTrackClickTagContentEvent } from \"../../../../hooks/events/useTrackClickTagContentEvent.js\";\nconst KeywordCollectionTags = ({\n  hasTags,\n  productGroupList,\n  componentId,\n  trackEvent,\n  breakpoint,\n  children\n}) => {\n  const {\n    trackClickTagContentEvent\n  } = useTrackClickTagContentEvent();\n  const {\n    collectionProductGroupList,\n    initialCollectionProductGroupId,\n    eventTagType\n  } = useCollectionProductGroupList(productGroupList);\n  const handleTagClick = (title, productGroupId, position) => () => {\n    trackEvent({\n      component_type: \"tag\",\n      tag_type: eventTagType,\n      tag_name: title,\n      tag_value: String(productGroupId),\n      position: String(position)\n    });\n    trackClickTagContentEvent(componentId, {\n      tag_type: eventTagType,\n      tag_value: title\n    });\n  };\n  const tabsListStyle = tabsListStyleByBreakpoint[breakpoint];\n  const hasProductGroupList = collectionProductGroupList.length > 0;\n  const isHideTags = collectionProductGroupList.length <= 1 || !hasTags;\n  return /* @__PURE__ */ jsxs(Tabs.Root, { value: initialCollectionProductGroupId, children: [\n    !hasProductGroupList ? /* @__PURE__ */ jsx(\"div\", { style: tabsListStyle, children: /* @__PURE__ */ jsx(Skeleton, { style: skeletonStyle }) }) : !isHideTags ? /* @__PURE__ */ jsx(Tabs.List, { scrollPadding: 20, gap: 8, style: tabsListStyle, children: collectionProductGroupList.map(({\n      title,\n      productGroupId\n    }, index) => /* @__PURE__ */ jsx(Tabs.Trigger, { value: productGroupId, onClick: handleTagClick(title, productGroupId, index + 1), children: (active) => /* @__PURE__ */ jsx(Tag, { active, children: title }) }, productGroupId)) }) : null,\n    !hasProductGroupList ? children() : null,\n    collectionProductGroupList.map(({\n      productGroupId,\n      sort\n    }) => {\n      return /* @__PURE__ */ jsx(Tabs.Panel, { value: productGroupId, children: children(productGroupId, sort) }, productGroupId);\n    })\n  ] });\n};\nconst tabsListStyleByBreakpoint = {\n  [Breakpoint.DESKTOP]: {\n    marginBottom: \"24px\",\n    padding: 0\n  },\n  [Breakpoint.TABLET]: {\n    marginBottom: \"24px\",\n    padding: 0\n  },\n  [Breakpoint.MOBILE]: {\n    marginBottom: \"16px\",\n    padding: \"0 20px\"\n  }\n};\nconst skeletonStyle = {\n  width: \"80%\",\n  height: 28,\n  borderRadius: 20\n};\nexport {\n  KeywordCollectionTags\n};\n", "const toDisplayProductList = (productList, displayCount) => {\n  return shiftSoldoutProductsToLast(productList).slice(0, displayCount);\n};\nconst shiftSoldoutProductsToLast = (productList) => {\n  return [...productList].sort((x, y) => {\n    if (x.isSoldOut && !y.isSoldOut) {\n      return 1;\n    } else if (!x.isSoldOut && y.isSoldOut) {\n      return -1;\n    } else {\n      return 0;\n    }\n  });\n};\nexport {\n  toDisplayProductList\n};\n", "import { useMemo } from \"react\";\nimport { useSendProductIds } from \"../../../hooks/product/useSendProductIds.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 \"../../../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 \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react/jsx-runtime\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"../../../constants/snowplow/snowplowSchema.js\";\nimport { toDisplayProductList } from \"./KeywordProducts/KeywordProducts.utils.js\";\nimport { useFetchCoupons } from \"../../../hooks/fetchers/useFetchCoupons.js\";\nconst useSendCollectionProductIdList = (shouldSendProductIdList, productGroupList, displayCount) => {\n  const productIdList = useMemo(() => {\n    if (!shouldSendProductIdList) {\n      return [];\n    }\n    return productGroupList.flatMap((productGroup) => toDisplayProductList(productGroup.productList, displayCount).map((product) => product.productId));\n  }, [displayCount, productGroupList, shouldSendProductIdList]);\n  useSendProductIds(productIdList.join(\",\"));\n};\nconst useKeywordCollectionCoupon = (couponId, isDevMode) => {\n  const enabled = couponId != null;\n  const {\n    isLoading,\n    error,\n    data,\n    ...rest\n  } = useFetchCoupons([couponId], enabled, isDevMode);\n  const hasError = error !== void 0;\n  const isPending = isLoading || hasError || !enabled;\n  return {\n    isPending,\n    coupon: data == null ? void 0 : data.data[0],\n    error,\n    ...rest\n  };\n};\nexport {\n  useKeywordCollectionCoupon,\n  useSendCollectionProductIdList\n};\n", "import { useMemo } from \"react\";\nconst useProductGroupById = (productGroupList, productGroupId) => {\n  return useMemo(() => productGroupList.find((productGroup) => productGroup.productGroupId === productGroupId), [productGroupId, productGroupList]);\n};\nexport {\n  useProductGroupById\n};\n", "import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { collectionApi } from \"../../apis/collection/CollectionApiService.js\";\nconst KEYWORD_COLLECTION_PRODUCTS_FETCHER_KEY = \"keyword-collection-products\";\nconst useFetchCollectionProducts = ({\n  collectionId,\n  isDevMode,\n  isShuffled,\n  productGroupId,\n  sort\n}) => {\n  const isEnabled = !isShuffled && productGroupId !== void 0 && sort !== void 0;\n  const {\n    data,\n    isLoading,\n    error\n  } = useSWR(() => isEnabled ? [KEYWORD_COLLECTION_PRODUCTS_FETCHER_KEY, collectionId, productGroupId, sort, isDevMode] : null, () => collectionApi.getCollectionProducts({\n    collectionId,\n    productGroupId,\n    sort,\n    isDevMode\n  }), {\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n  const hasError = error !== void 0;\n  const isPending = isLoading || hasError || !isEnabled;\n  return {\n    sortedCollectionProducts: data ?? [],\n    isPending\n  };\n};\nexport {\n  useFetchCollectionProducts\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { ProductCard } from \"../../../@shared/ProductCard/ProductCard.js\";\nimport { Collection } from \"../../../@shared/collection/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 \"../../../../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 \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useProductGroupHeart } from \"../../../../hooks/product/useProductGroupHeart.js\";\nimport \"../../../../constants/snowplow/snowplowSchema.js\";\nimport { toDisplayProductList } from \"./KeywordProducts.utils.js\";\nimport { useProductGroupById } from \"./KeywordProducts.hooks.js\";\nimport { useFetchCollectionProducts } from \"../../../../hooks/fetchers/useFetchCollectionProducts.js\";\nconst KeywordProducts = ({\n  productGroupId,\n  collectionId,\n  sort,\n  isDevMode,\n  productGroupList,\n  layoutOptions,\n  breakpoint,\n  componentId\n}) => {\n  const productGroup = useProductGroupById(productGroupList, productGroupId);\n  const {\n    sortedCollectionProducts,\n    isPending\n  } = useFetchCollectionProducts({\n    collectionId,\n    isDevMode,\n    isShuffled: layoutOptions.needShuffle,\n    productGroupId,\n    sort\n  });\n  const collectionProducts = useMemo(() => layoutOptions.needShuffle ? (productGroup == null ? void 0 : productGroup.productList) ?? [] : sortedCollectionProducts, [layoutOptions.needShuffle, productGroup == null ? void 0 : productGroup.productList, sortedCollectionProducts]);\n  const count = layoutOptions.isResponsive ? layoutOptions.count : layoutOptions.column * layoutOptions.row;\n  const products = useMemo(() => toDisplayProductList(collectionProducts, count), [count, collectionProducts]);\n  const {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  } = useProductGroupHeart();\n  const extraEventProperties = useMemo(() => ({\n    component: componentId,\n    product_curation_no: collectionId,\n    product_curation_type: \"keyword_collection\"\n  }), [collectionId, componentId]);\n  const hasProductGroupId = productGroupId !== void 0;\n  const isLoading = isPending || !hasProductGroupId;\n  return /* @__PURE__ */ jsx(Collection.ProductsLayout, { list: products, layoutOptions, totalCount: count, breakpoint, isLoading, children: (item, index) => /* @__PURE__ */ jsx(ProductCard, { type: layoutOptions.type, isHeartOn: isHeartOn(item.productId), positionNo: index + 1, hasRank: layoutOptions.hasRank, hasBrandName: layoutOptions.hasBrandName, hasBadges: layoutOptions.hasBadges, product: item, onHeartOn: handleHeartOn, onHeartOff: handleHeartOff, eventProperties: {\n    product: item,\n    isProductGroup: true,\n    componentName: componentId,\n    positionNo: index + 1,\n    maxPositionNo: products.length\n  }, extraEventProperties }) });\n};\nexport {\n  KeywordProducts\n};\n", "import { collectionApi } from \"../../apis/collection/CollectionApiService.js\";\nimport { useLazySWR } from \"../swr/useLazySWR.js\";\nconst KEYWORD_COLLECTION_FETCHER_KEY = \"keyword-collection\";\nconst useLazyFetchCollection = (collectionId, needShuffle, isDevMode) => {\n  const enabled = Boolean(collectionId);\n  const {\n    data,\n    isLoading,\n    error,\n    fetch\n  } = useLazySWR(enabled ? [KEYWORD_COLLECTION_FETCHER_KEY, collectionId, isDevMode] : null, () => collectionApi.getCollection(collectionId, needShuffle, isDevMode), {\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n  const hasError = error !== void 0;\n  const isPending = isLoading || hasError || !enabled;\n  return {\n    collection: data == null ? void 0 : data.data,\n    isPending,\n    fetch\n  };\n};\nexport {\n  useLazyFetchCollection\n};\n", "import { jsx, jsxs, Fragment } from \"react/jsx-runtime\";\nimport { forwardRef, useRef, useEffect } from \"react\";\nimport { useInView } from \"framer-motion\";\nimport { conditional } from \"../../../utils/function.js\";\nimport { KeywordCollectionButton } from \"./KeywordCollectionButton/KeywordCollectionButton.js\";\nimport { KeywordCollectionTags } from \"./KeywordCollectionTags/KeywordCollectionTags.js\";\nimport { useTrackViewComponent, useTrackClickComponent } from \"../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport { useKeywordCollectionCoupon, useSendCollectionProductIdList } from \"./KeywordCollection.hooks.js\";\nimport { KeywordProducts } from \"./KeywordProducts/KeywordProducts.js\";\nimport { useLazyFetchCollection } from \"../../../hooks/fetchers/useLazyFetchCollection.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"framer\";\nimport { mergeRefs } from \"../../../utils/react/mergeRefs.js\";\nconst DEFAULT_COMPONENT_NAME = \"KeywordCollection\";\nconst KeywordCollection = forwardRef(({\n  collectionId,\n  hasTags = true,\n  displayCoupon,\n  layoutOptions,\n  breakpoint,\n  hasButton,\n  button,\n  couponButton,\n  buttonStyle,\n  isDevMode = false,\n  shouldSendProductIdList = true,\n  componentId\n}, forwardedRef) => {\n  const ref = useRef(null);\n  const isInView = useInView(ref, {\n    margin: \"200px 0px\",\n    once: true\n  });\n  const isEventInView = useInView(ref, {\n    amount: 0.5\n  });\n  const {\n    trackViewComponent\n  } = useTrackViewComponent();\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  const trackEvent = (extraProperties) => {\n    trackClickComponent(componentId, extraProperties);\n  };\n  const {\n    collection,\n    fetch\n  } = useLazyFetchCollection(collectionId, layoutOptions.needShuffle, isDevMode);\n  const {\n    coupon\n  } = useKeywordCollectionCoupon(collection == null ? void 0 : collection.couponId, isDevMode);\n  const {\n    productGroupList = []\n  } = collection ?? {};\n  useSendCollectionProductIdList(shouldSendProductIdList, productGroupList, layoutOptions.column * layoutOptions.row);\n  useEffect(() => {\n    if (isInView) {\n      fetch();\n    }\n  }, [fetch, isInView]);\n  useEffect(\n    () => {\n      conditional(isEventInView, () => trackViewComponent(componentId))();\n    },\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [isEventInView]\n  );\n  return /* @__PURE__ */ jsx(\"div\", { ref: mergeRefs([forwardedRef, ref]), style: layoutStyle, children: /* @__PURE__ */ jsx(KeywordCollectionTags, { hasTags, productGroupList, trackEvent, breakpoint, componentId: componentId || DEFAULT_COMPONENT_NAME, children: (productGroupId, sort) => /* @__PURE__ */ jsxs(Fragment, { children: [\n    /* @__PURE__ */ jsx(KeywordProducts, { collectionId, productGroupId, sort, isDevMode, productGroupList, layoutOptions, componentId: componentId || DEFAULT_COMPONENT_NAME, breakpoint }),\n    /* @__PURE__ */ jsx(KeywordCollectionButton, { hasButton, button, buttonStyle, collectionId, productGroupId, isDevMode, breakpoint, coupon, couponButton, displayCoupon, componentId: componentId || DEFAULT_COMPONENT_NAME, trackEvent })\n  ] }) }) });\n});\nconst layoutStyle = {\n  width: \"100%\"\n};\nexport {\n  KeywordCollection\n};\n", "import { GENERAL_ERROR } from \"../../constants/error.js\";\nimport { EnvironmentType } from \"./ProductCollection.types.js\";\nimport { env, environments } from \"../../config/index.js\";\nclass CategoryCollectionApiService {\n  async getCategories(productGroupId, environment) {\n    const baseUrl = environment === EnvironmentType.LIVE ? env.api.content : environment === EnvironmentType.DEV ? environments.development.api.content : environments.qa.api.content;\n    const response = await fetch(`${baseUrl}/api/v4/framers/product-groups/${productGroupId}/categories`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => res);\n    if (response.result === \"FAIL\" || response.data === null) {\n      throw new Error(response.message ?? GENERAL_ERROR);\n    }\n    return response;\n  }\n  async getCategoryProducts(productGroupId, searchParams, environment) {\n    const baseUrl = environment === EnvironmentType.LIVE ? env.api.content : environment === EnvironmentType.DEV ? environments.development.api.content : environments.qa.api.content;\n    const response = await fetch(`${baseUrl}/api/v4/framers/product-groups/${productGroupId}/products?${searchParams}`, {\n      credentials: \"include\"\n    }).then((res) => res.json()).then((res) => res);\n    if (response.result === \"FAIL\" || response.data === null) {\n      throw new Error(response.message ?? GENERAL_ERROR);\n    }\n    return response;\n  }\n}\nconst productCollectionApi = new CategoryCollectionApiService();\nexport {\n  productCollectionApi\n};\n", "import useSWRInfinite from \"../../node_modules/swr/infinite/dist/index.js\";\nimport { productCollectionApi } from \"../../apis/category-collection/ProductCollection.js\";\nimport useSWR from \"../../node_modules/swr/core/dist/index.js\";\nconst PRODUCT_COLLECTION_FETCHER_KEY = \"product-collection\";\nconst useFetchCategories = (productGroupId, enabled, environment) => {\n  const {\n    data,\n    isLoading,\n    error\n  } = useSWR(enabled ? [PRODUCT_COLLECTION_FETCHER_KEY, productGroupId, environment] : null, () => productCollectionApi.getCategories(productGroupId, environment), {\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n  const hasError = error !== void 0;\n  const isPending = isLoading || hasError || !enabled;\n  return {\n    categories: (data == null ? void 0 : data.data) ?? [],\n    isPending\n  };\n};\nconst getKey = (searchParams, enabled) => (pageIndex, previousPageData) => {\n  if (!enabled) {\n    return null;\n  }\n  if (previousPageData && previousPageData.data.hasNext === false) {\n    return null;\n  }\n  return `&${searchParams}&page=${pageIndex + 1}`;\n};\nconst useFetchProducts = (productGroupId, searchParams, enabled, environment) => {\n  const {\n    data,\n    isLoading,\n    error,\n    size,\n    isValidating,\n    setSize\n  } = useSWRInfinite(getKey(searchParams, enabled), (key) => {\n    return productCollectionApi.getCategoryProducts(productGroupId, key, environment);\n  }, {\n    keepPreviousData: true,\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false\n  });\n  const hasError = error !== void 0;\n  const isPending = isLoading || hasError || !enabled || isValidating;\n  const hasNext = data == null ? void 0 : data[data.length - 1].data.hasNext;\n  return {\n    products: (data == null ? void 0 : data.flatMap(({\n      data: response\n    }) => response.resultList)) ?? [],\n    isPending,\n    size,\n    hasNext,\n    setSize\n  };\n};\nexport {\n  useFetchCategories,\n  useFetchProducts\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { Tabs } from \"../../../@shared/Tabs/index.js\";\nimport { useTrackClickComponent } from \"../../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport { useFetchCategories } from \"../../../../hooks/fetchers/useFetchCategoryCollection.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nimport { Breakpoint } from \"../../../../types/product-curation.js\";\nimport { useTrackClickTagContentEvent } from \"../../../../hooks/events/useTrackClickTagContentEvent.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nconst LargeCategories = ({\n  productGroupId,\n  isInView,\n  environment,\n  componentId,\n  breakpoint,\n  children\n}) => {\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  const {\n    trackClickTagContentEvent\n  } = useTrackClickTagContentEvent();\n  const {\n    categories,\n    isPending\n  } = useFetchCategories(productGroupId, isInView, environment);\n  const firstCategory = head(categories);\n  const isRejectedProductGroupId = !isPending && categories.length === 0;\n  const handleCategoryClick = (position, categoryName, categoryCode) => () => {\n    trackClickComponent(componentId, {\n      component_type: \"tag\",\n      tag_type: \"category\",\n      tag_type_detail: \"large\",\n      tag_name: categoryName,\n      tag_value: String(categoryCode),\n      position\n    });\n    trackClickTagContentEvent(componentId, {\n      tag_type: \"category\",\n      tag_value: categoryName\n    });\n  };\n  const tabsListStyle = {\n    ...baseTabsListStyle,\n    ...tabsListStyleByBreakPoint[breakpoint]\n  };\n  const tabsListGap = Number(tabsListStyle.gap);\n  const tabsListSkeletonStyle = {\n    ...baseTabsListSkeletonStyle,\n    ...tabsListSkeletonStyleByBreakPoint[breakpoint]\n  };\n  const categoryNameStyle = {\n    ...baseCategoryNameStyle,\n    ...categoryNameStyleByBreakPoint[breakpoint]\n  };\n  return /* @__PURE__ */ jsxs(Tabs.Root, { value: firstCategory == null ? void 0 : firstCategory.categoryCode, children: [\n    /* @__PURE__ */ jsx(Tabs.List, { scrollPadding: 20, gap: tabsListGap, style: tabsListStyle, children: isPending || isRejectedProductGroupId ? /* @__PURE__ */ jsx(Skeleton, { style: tabsListSkeletonStyle }) : categories.map((category, index) => /* @__PURE__ */ jsx(Tabs.Trigger, { value: category.categoryCode, onClick: handleCategoryClick(index + 1, category.categoryName, category.categoryCode), children: (active) => /* @__PURE__ */ jsx(\"span\", { style: {\n      ...categoryNameStyle,\n      ...active ? activeCategoryNameStyle : {}\n    }, children: category.categoryName }) }, category.categoryCode)) }),\n    isPending || isRejectedProductGroupId ? children() : categories.map((largeCategory) => /* @__PURE__ */ jsx(Tabs.Panel, { value: largeCategory.categoryCode, children: children(largeCategory) }, largeCategory.categoryCode))\n  ] });\n};\nconst baseTabsListStyle = {\n  marginBottom: \"16px\"\n};\nconst tabsListStyleByBreakPoint = {\n  [Breakpoint.DESKTOP]: {\n    gap: 16,\n    padding: 0\n  },\n  [Breakpoint.TABLET]: {\n    gap: 16,\n    padding: 0\n  },\n  [Breakpoint.MOBILE]: {\n    gap: 10,\n    padding: \"0 20px\"\n  }\n};\nconst baseCategoryNameStyle = {\n  color: \"#A0A0A0\",\n  paddingBottom: \"8px\",\n  borderBottom: \"1.8px solid transparent\"\n};\nconst categoryNameStyleByBreakPoint = {\n  [Breakpoint.DESKTOP]: {\n    ...typography(22, 500, \"1.2em\")\n  },\n  [Breakpoint.TABLET]: {\n    ...typography(22, 500, \"1.2em\")\n  },\n  [Breakpoint.MOBILE]: {\n    ...typography(16, 500, \"1.2em\")\n  }\n};\nconst baseTabsListSkeletonStyle = {\n  width: \"70%\",\n  height: 28,\n  borderRadius: 20\n};\nconst tabsListSkeletonStyleByBreakPoint = {\n  [Breakpoint.DESKTOP]: {\n    height: 34\n  },\n  [Breakpoint.TABLET]: {\n    height: 34\n  },\n  [Breakpoint.MOBILE]: {\n    height: 28\n  }\n};\nconst activeCategoryNameStyle = {\n  color: \"#000000\",\n  borderBottom: \"1.8px solid #000000\"\n};\nexport {\n  LargeCategories\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { Tabs } from \"../../../@shared/Tabs/index.js\";\nimport { Tag } from \"../../../@shared/Tag/Tag.js\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nimport { useTrackClickComponent } from \"../../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport { Breakpoint } from \"../../../../types/product-curation.js\";\nimport { useTrackClickTagContentEvent } from \"../../../../hooks/events/useTrackClickTagContentEvent.js\";\nconst ALL_CATEGORY_NAME = \"\uC804\uCCB4\";\nconst ALL_CATEGORY_CODE = -1;\nconst MediumCategories = ({\n  children,\n  largeCategory,\n  componentId,\n  breakpoint\n}) => {\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  const {\n    trackClickTagContentEvent\n  } = useTrackClickTagContentEvent();\n  const mediumCategories = [{\n    categoryName: ALL_CATEGORY_NAME,\n    categoryCode: ALL_CATEGORY_CODE\n  }, ...(largeCategory == null ? void 0 : largeCategory.subCategoryList) ?? []];\n  const isPending = largeCategory === void 0;\n  const handleCategoryClick = (position, categoryName, categoryCode) => () => {\n    trackClickComponent(componentId, {\n      component_type: \"tag\",\n      tag_type: \"category\",\n      tag_type_detail: \"medium\",\n      tag_name: categoryName,\n      tag_value: String(categoryCode),\n      position\n    });\n    trackClickTagContentEvent(componentId, {\n      tag_type: \"category\",\n      tag_value: categoryName\n    });\n  };\n  const tabsListStyle = tabsListStyleByBreakPoint[breakpoint];\n  return /* @__PURE__ */ jsxs(Tabs.Root, { defaultValue: ALL_CATEGORY_CODE, children: [\n    /* @__PURE__ */ jsx(Tabs.List, { scrollPadding: 20, gap: 8, style: tabsListStyle, children: isPending ? /* @__PURE__ */ jsx(Skeleton, { style: skeletonStyle }) : mediumCategories.map((mediumCategory, index) => /* @__PURE__ */ jsx(Tabs.Trigger, { value: mediumCategory.categoryCode, onClick: handleCategoryClick(index + 1, mediumCategory.categoryName, mediumCategory.categoryCode), children: (active) => /* @__PURE__ */ jsx(Tag, { active, children: mediumCategory.categoryName }) }, mediumCategory.categoryCode)) }),\n    mediumCategories.map((mediumCategory) => /* @__PURE__ */ jsx(Tabs.Panel, { value: mediumCategory.categoryCode, children: children(largeCategory == null ? void 0 : largeCategory.categoryCode, mediumCategory.categoryCode, largeCategory == null ? void 0 : largeCategory.categoryName) }, mediumCategory.categoryCode))\n  ] });\n};\nconst tabsListStyleByBreakPoint = {\n  [Breakpoint.DESKTOP]: {\n    marginBottom: \"24px\",\n    padding: 0\n  },\n  [Breakpoint.TABLET]: {\n    marginBottom: \"24px\",\n    padding: 0\n  },\n  [Breakpoint.MOBILE]: {\n    marginBottom: \"16px\",\n    padding: \"0 20px\"\n  }\n};\nconst skeletonStyle = {\n  width: \"80%\",\n  height: 28,\n  borderRadius: 20\n};\nexport {\n  MediumCategories\n};\n", "const formatProduct = (product) => {\n  var _a;\n  return {\n    frontBrand: {\n      frontBrandId: product.frontBrandId,\n      nameKor: product.frontBrandNameKor,\n      nameEng: product.frontBrandNameEng\n    },\n    frontCategories: (_a = product.searchFrontCategoryList) == null ? void 0 : _a.map((category) => ({\n      largeCategoryCode: category.categoryLargeCode,\n      largeCategoryName: category.categoryLargeName,\n      mediumCategoryCode: category.categoryMediumCode,\n      mediumCategoryName: category.categoryMediumName,\n      smallCategoryCode: category.categorySmallCode,\n      smallCategoryName: category.categorySmallName\n    })),\n    productId: product.productId,\n    productName: product.productName,\n    subjectDescriptions: product.subjectDescriptions,\n    imageUrl: product.imageUrl,\n    consumerPrice: product.consumerPrice,\n    lastSalePrice: product.lastSalePrice,\n    lastSalePercent: product.lastSalePercent,\n    heartCount: product.heartCount,\n    heartOn: product.heartOn,\n    reviewCount: product.reviewCount,\n    reviewAveragePoint: product.reviewAveragePoint,\n    isCoupon: product.searchSale.coupon,\n    isFreeShipping: product.freeShipping,\n    isNew: product.newProperty,\n    isSoldOut: product.soldOut\n  };\n};\nexport {\n  formatProduct\n};\n", "import { EnvironmentType } from \"../../../apis/category-collection/ProductCollection.types.js\";\nimport { isWebview } from \"../../../utils/device.js\";\nconst getCategoryProductsPageUrl = (categoryCode, largeCategoryName, facet, environment) => {\n  const environmentPrefix = environment === EnvironmentType.LIVE ? \"\" : environment === EnvironmentType.DEV ? \"dev-\" : \"qa-\";\n  const shouldUseDeepLink = isWebview() && categoryCode.medium !== -1;\n  const {\n    extraFacets\n  } = getExtraFacetsObject(facet);\n  if (shouldUseDeepLink) {\n    const searchParams = new URLSearchParams({\n      category_large_code: categoryCode.large.toString(),\n      category_medium_code: categoryCode.medium.toString(),\n      extraFacets\n    });\n    return `app29cm://shop/category/list?${searchParams.toString()}`;\n  }\n  const categoryQueryObject = getCategoryQueryObject(categoryCode, true);\n  const categoryUrl = new URL(`https://${environmentPrefix}shop.29cm.co.kr/category/list`);\n  if (isWebview()) {\n    const categorySearchParams2 = new URLSearchParams({\n      ...categoryQueryObject,\n      \"29cm_title\": encodeKoreaString(largeCategoryName),\n      \"extraFacets\": encodeKoreaString(extraFacets)\n    });\n    categoryUrl.search = categorySearchParams2.toString();\n    return `app29cm://web/${categoryUrl.toString()}`;\n  }\n  const categorySearchParams = new URLSearchParams({\n    ...categoryQueryObject,\n    extraFacets\n  });\n  categoryUrl.search = categorySearchParams.toString();\n  return categoryUrl.toString();\n};\nconst getCategoryProductAPISearchParams = (categoryCode, size, sort) => {\n  const categoryQueryObject = getCategoryQueryObject(categoryCode);\n  const optionsQueryObject = getOptionsQueryObject(size, sort);\n  return new URLSearchParams({\n    ...categoryQueryObject,\n    ...optionsQueryObject\n  }).toString();\n};\nconst getOptionsQueryObject = (size, sort) => {\n  return {\n    size: String(size),\n    sort\n  };\n};\nconst getExtraFacetsObject = (facet) => {\n  return {\n    extraFacets: facet\n  };\n};\nconst getCategoryQueryObject = (categoryCode, needReactWebview) => {\n  if (needReactWebview && isWebview()) {\n    ({\n      category_large_code: String(categoryCode.large),\n      category_medium_code: String(categoryCode.medium)\n    });\n    if (categoryCode.medium === -1)\n      ;\n  }\n  const categoryQueryObject = {\n    categoryLargeCode: String(categoryCode.large),\n    categoryMediumCode: String(categoryCode.medium)\n  };\n  if (categoryCode.medium === -1) {\n    delete categoryQueryObject.categoryMediumCode;\n  }\n  return categoryQueryObject;\n};\nconst hasKoreaChar = (string) => {\n  const korean = /[\u3131-\u314E|\u314F-\u3163|\uAC00-\uD7A3]/;\n  return korean.test(string);\n};\nconst encodeKoreaString = (string) => {\n  if (hasKoreaChar(string)) {\n    return encodeURIComponent(string);\n  }\n  return string;\n};\nexport {\n  getCategoryProductAPISearchParams,\n  getCategoryProductsPageUrl\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { createContext } from \"react\";\nimport { useFetchProducts } from \"../../../../hooks/fetchers/useFetchCategoryCollection.js\";\nimport { getCategoryProductAPISearchParams } from \"../CategoryCollection.utils.js\";\nconst CategoryProductsContext = createContext(null);\nconst CategoryProductsActionContext = createContext(null);\nconst CategoryProductsProvider = ({\n  productGroupId,\n  layoutOption,\n  sortOption,\n  categoryCode,\n  largeCategoryName,\n  environment,\n  children\n}) => {\n  const enabledFetchProducts = categoryCode.large !== void 0;\n  const {\n    products,\n    size,\n    isPending,\n    hasNext,\n    setSize\n  } = useFetchProducts(productGroupId, getCategoryProductAPISearchParams(categoryCode, layoutOption.count, sortOption), enabledFetchProducts, environment);\n  const defaultCategoryProductsValue = {\n    products: products.length > 100 ? products.slice(0, 100) : products,\n    categoryCode,\n    largeCategoryName: largeCategoryName ?? \"\",\n    size,\n    isPending,\n    hasNext\n  };\n  const defaultCategoryProductsActionValue = {\n    expandProducts: () => {\n      setSize(size + 1);\n    }\n  };\n  return /* @__PURE__ */ jsx(CategoryProductsContext.Provider, { value: defaultCategoryProductsValue, children: /* @__PURE__ */ jsx(CategoryProductsActionContext.Provider, { value: defaultCategoryProductsActionValue, children }) });\n};\nexport {\n  CategoryProductsActionContext,\n  CategoryProductsContext,\n  CategoryProductsProvider\n};\n", "import { useContext } from \"react\";\nimport { CategoryProductsContext, CategoryProductsActionContext } from \"./CategoryProductsProvider.js\";\nconst useCategoryProducts = () => {\n  const context = useContext(CategoryProductsContext);\n  if (!context) {\n    throw new Error(\"useCategoryProducts should be used within CategoryProductsProvider\");\n  }\n  return context;\n};\nconst useCategoryProductsAction = () => {\n  const context = useContext(CategoryProductsActionContext);\n  if (!context) {\n    throw new Error(\"useCategoryProductsAction should be used within CategoryProductsProvider\");\n  }\n  return context;\n};\nexport {\n  useCategoryProducts,\n  useCategoryProductsAction\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../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 \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { useProductGroupHeart } from \"../../../../hooks/product/useProductGroupHeart.js\";\nimport \"../../../../constants/snowplow/snowplowSchema.js\";\nimport { ProductCard } from \"../../../@shared/ProductCard/ProductCard.js\";\nimport { Collection } from \"../../../@shared/collection/index.js\";\nimport { formatProduct } from \"./CategoryProducts.utils.js\";\nimport { useCategoryProducts } from \"../CategoryProductsProvider/CategoryProductsProvider.hooks.js\";\nconst CategoryProducts = ({\n  sortOption,\n  layoutOptions,\n  breakpoint,\n  componentId\n}) => {\n  const {\n    isHeartOn,\n    handleHeartOn,\n    handleHeartOff\n  } = useProductGroupHeart();\n  const {\n    products,\n    size,\n    isPending\n  } = useCategoryProducts();\n  const totalCount = layoutOptions.isResponsive ? layoutOptions.count * size : layoutOptions.column * layoutOptions.row * size;\n  const extraEventProperties = {\n    component: componentId,\n    product_curation_type: sortOption.toLowerCase()\n  };\n  if (!isPending && products.length === 0) {\n    return /* @__PURE__ */ jsx(\"div\", { style: {\n      fontSize: 14,\n      color: \"#999\",\n      textAlign: \"center\",\n      padding: \"80px 0\",\n      fontWeight: 600\n    }, children: \"\uCE74\uD14C\uACE0\uB9AC\uC5D0 \uB4F1\uB85D\uB41C \uC0C1\uD488\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.\" });\n  }\n  return /* @__PURE__ */ jsx(Collection.ProductsLayout, { list: products, layoutOptions, isLoading: isPending, totalCount, breakpoint, children: (item, index) => /* @__PURE__ */ jsx(ProductCard, { type: layoutOptions.type, positionNo: index + 1, hasRank: layoutOptions.hasRank, hasBrandName: layoutOptions.hasBrandName, hasBadges: layoutOptions.hasBadges, product: formatProduct(item), isHeartOn: isHeartOn(item.productId), onHeartOn: handleHeartOn, onHeartOff: handleHeartOff, eventProperties: {\n    product: formatProduct(item),\n    isProductGroup: true,\n    componentName: componentId,\n    positionNo: index + 1,\n    maxPositionNo: products.length\n  }, extraEventProperties }, item.productId) });\n};\nexport {\n  CategoryProducts\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { SortOptions } from \"../../../../apis/category-collection/ProductCollection.types.js\";\nimport { Button as Default } from \"../../../@shared/Button/Button.js\";\nimport { useTrackClickComponent } from \"../../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport { ButtonTheme, ButtonStyle } from \"../../../../types/product-curation.js\";\nimport { useCategoryProducts, useCategoryProductsAction } from \"../CategoryProductsProvider/CategoryProductsProvider.hooks.js\";\nimport { getCategoryProductsPageUrl } from \"../CategoryCollection.utils.js\";\nimport { Collection } from \"../../../@shared/collection/index.js\";\nimport { useTrackClickButtonContentEvent } from \"../../../../hooks/events/useTrackClickButtonContentEvent.js\";\nconst CategoryCollectionButton = ({\n  button,\n  sortOption,\n  facet,\n  environment,\n  componentId,\n  breakpoint\n}) => {\n  const {\n    trackClickComponent\n  } = useTrackClickComponent();\n  const {\n    trackClickButtonContentEvent\n  } = useTrackClickButtonContentEvent();\n  const {\n    products,\n    categoryCode,\n    largeCategoryName,\n    isPending,\n    hasNext\n  } = useCategoryProducts();\n  const {\n    expandProducts\n  } = useCategoryProductsAction();\n  const pageUrl = getCategoryProductsPageUrl(categoryCode, largeCategoryName, facet, environment);\n  const buttonVariant = button.theme === ButtonTheme.DARK ? \"primary\" : button.theme === ButtonTheme.LINE ? \"secondary\" : \"tertiary\";\n  const isButtonFill = Boolean(button.style === ButtonStyle.FILL);\n  const buttonIcon = sortOption === SortOptions.EXHIBITION ? \"chevronDown\" : \"chevronRight\";\n  const buttonText = button.text === \"\" ? \"\uD14D\uC2A4\uD2B8 \uD544\uB4DC \uC785\uB825\" : button.text;\n  const isHide = !isPending && (products.length === 0 || products.length >= 100 || !hasNext);\n  const handleClickButton = () => {\n    if (categoryCode.large === void 0) {\n      return;\n    }\n    trackClickComponent(componentId, {\n      component_type: \"more\"\n    });\n    trackClickButtonContentEvent(componentId, {\n      button_type: \"more\",\n      button_value: buttonText\n    });\n    if (sortOption === SortOptions.EXHIBITION) {\n      expandProducts();\n      return;\n    }\n    if (pageUrl.includes(\"app29cm://\")) {\n      location.href = pageUrl;\n    } else {\n      window.open(pageUrl, \"_blank\");\n    }\n  };\n  return /* @__PURE__ */ jsx(Collection.ButtonLayout, { isLoading: isPending, isHide, breakpoint, children: /* @__PURE__ */ jsx(Default, { variant: buttonVariant, fill: isButtonFill, postfixIcon: buttonIcon, onClick: handleClickButton, children: buttonText }) });\n};\nexport {\n  CategoryCollectionButton\n};\n", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { useRef, useEffect } from \"react\";\nimport { useInView } from \"framer\";\nimport { useTrackViewComponent } from \"../../canvas/ComponentEventTracker/ComponentEventTracker.hooks.event.js\";\nimport { conditional } from \"../../../utils/function.js\";\nimport { LargeCategories } from \"./LargeCategories/LargeCategories.js\";\nimport { MediumCategories } from \"./MediumCategories/MediumCategories.js\";\nimport { CategoryProducts } from \"./CategoryProducts/CategoryProducts.js\";\nimport { CategoryCollectionButton } from \"./CategoryCollectionButton/CategoryCollectionButton.js\";\nimport { CategoryProductsProvider } from \"./CategoryProductsProvider/CategoryProductsProvider.js\";\nconst DEFAULT_COMPONENT_NAME = \"CategoryCollection\";\nconst CategoryCollection = ({\n  productGroupId,\n  sortOption,\n  button,\n  layoutOptions,\n  breakpoint,\n  facet,\n  environment,\n  componentId\n}) => {\n  const ref = useRef(null);\n  const isInView = useInView(ref, {\n    margin: \"200px 0px\",\n    once: true\n  });\n  const isEventInView = useInView(ref, {\n    amount: 0.5\n  });\n  const {\n    trackViewComponent\n  } = useTrackViewComponent();\n  useEffect(\n    () => conditional(isEventInView, () => trackViewComponent(componentId))(),\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n    [isEventInView]\n  );\n  return /* @__PURE__ */ jsx(\"div\", { style: layoutStyle, ref, children: /* @__PURE__ */ jsx(LargeCategories, { productGroupId, isInView, environment, componentId: componentId || DEFAULT_COMPONENT_NAME, breakpoint, children: (largeCategory) => /* @__PURE__ */ jsx(MediumCategories, { largeCategory, componentId: componentId || DEFAULT_COMPONENT_NAME, breakpoint, children: (largeCategoryCode, mediumCategoryCode, largeCategoryName) => /* @__PURE__ */ jsxs(CategoryProductsProvider, { productGroupId, layoutOption: layoutOptions, sortOption, environment, categoryCode: {\n    large: largeCategoryCode,\n    medium: mediumCategoryCode\n  }, largeCategoryName, children: [\n    /* @__PURE__ */ jsx(CategoryProducts, { sortOption, layoutOptions, componentId: componentId || DEFAULT_COMPONENT_NAME, breakpoint }),\n    /* @__PURE__ */ jsx(CategoryCollectionButton, { button, sortOption, facet, environment, componentId: componentId || DEFAULT_COMPONENT_NAME, breakpoint })\n  ] }) }) }) });\n};\nconst layoutStyle = {\n  width: \"100%\"\n};\nexport {\n  CategoryCollection\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { KeywordCollection } from \"../KeywordCollection/KeywordCollection.js\";\nimport { CategoryCollection } from \"../CategoryCollection/CategoryCollection.js\";\nimport { CollectionType } from \"../../../types/product-curation.js\";\nconst ProductCuration = ({\n  collectionId,\n  collectionType,\n  ...rest\n}) => {\n  if (collectionType === CollectionType.KEYWORD) {\n    return /* @__PURE__ */ jsx(KeywordCollection, { ...rest, collectionId, shouldSendProductIdList: false });\n  }\n  return /* @__PURE__ */ jsx(CategoryCollection, { ...rest, productGroupId: collectionId });\n};\nexport {\n  ProductCuration\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { layoutOptionsByLayoutType } from \"./ExhibitionProductCuration.constants.js\";\nimport { SortOptions } from \"../../../apis/category-collection/ProductCollection.types.js\";\nimport { ButtonVariant, ButtonTheme } from \"../../@shared/Button/Button.types.js\";\nimport { CollectionType, LayoutType, Breakpoint } from \"../../../types/product-curation.js\";\nimport { ProductCuration } from \"../ProductCuration/ProductCuration.js\";\nconst ExhibitionProductCuration = ({\n  layoutType,\n  needShuffle,\n  hasRank,\n  ...rest\n}) => {\n  const options = layoutOptionsByLayoutType[layoutType];\n  const layoutOptions = {\n    needShuffle,\n    hasRank,\n    ...options\n  };\n  return /* @__PURE__ */ jsx(ProductCuration, { ...rest, layoutOptions });\n};\naddPropertyControls(ExhibitionProductCuration, {\n  collectionType: {\n    type: ControlType.Enum,\n    title: \"\uCEEC\uB809\uC158 \uC720\uD615\",\n    options: [CollectionType.KEYWORD, CollectionType.CATEGORY],\n    optionTitles: [\"\uD0A4\uC6CC\uB4DC \uCEEC\uB809\uC158\", \"\uCE74\uD14C\uACE0\uB9AC \uCEEC\uB809\uC158\"]\n  },\n  collectionId: {\n    type: ControlType.String,\n    title: \"\uCEEC\uB809\uC158 \uC544\uC774\uB514\",\n    placeholder: \"1152\"\n  },\n  facet: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.CATEGORY,\n    type: ControlType.String,\n    title: \"\uAE30\uD68D\uC804 \uC774\uB984\",\n    placeholder: \"\uC774\uAD7F\uC704\uD06C\",\n    description: \"2depth \uB79C\uB529\uC5D0 \uD544\uC694\uD55C \uAC12\",\n    defaultValue: \"\"\n  },\n  componentId: {\n    type: ControlType.String,\n    title: \"\uCEF4\uD3EC\uB10C\uD2B8 ID\",\n    description: \"\uC774\uBCA4\uD2B8 \uC218\uC9D1 \uC2DC\uC5D0 \uC0C1\uD488 \uBAA8\uB4C8\uC744 \uAD6C\uBD84\uD558\uAE30 \uC704\uD55C \uAC12\\nex. 29welcoming\",\n    defaultValue: \"\"\n  },\n  sortOption: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.CATEGORY,\n    title: \"\uC0C1\uD488 \uC815\uB82C\",\n    type: ControlType.Enum,\n    defaultValue: \"\uB7AD\uD0B9\uC21C\",\n    options: [SortOptions.EXHIBITION, SortOptions.RECOMMEND],\n    optionTitles: [\"\uB7AD\uD0B9\uC21C\", \"\uCD94\uCC9C\uC21C\"]\n  },\n  layoutType: {\n    type: ControlType.Enum,\n    title: \"\uB808\uC774\uC544\uC6C3 \uC720\uD615\",\n    options: [LayoutType.CARD_3x3, LayoutType.CARD_6x2, LayoutType.BAR_1x2_Responsive, LayoutType.BAR_1x4_Responsive, LayoutType.BAR_1x6_Responsive],\n    optionTitles: [\"CARD 3x3\", \"CARD 6x2\", \"BAR 1x2 Responsive\", \"BAR 1x4 Responsive\", \"BAR 1x6 Responsive\"]\n  },\n  breakpoint: {\n    type: ControlType.Enum,\n    title: \"\uBD84\uAE30\uC810\",\n    options: [Breakpoint.DESKTOP, Breakpoint.TABLET, Breakpoint.MOBILE],\n    optionTitles: [\"PC\", \"Tablet\", \"Mobile\"],\n    displaySegmentedControl: true\n  },\n  needShuffle: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.KEYWORD,\n    title: \"\uC0C1\uD488 \uC154\uD50C\",\n    type: ControlType.Boolean,\n    defaultValue: false,\n    description: \"Yes\uC778 \uACBD\uC6B0 CMS \uC815\uB82C \uC635\uC158\uC744 \uBB34\uC2DC\uD558\uACE0 \uC154\uD50C\uB429\uB2C8\uB2E4.\\nNo\uC778 \uACBD\uC6B0 CMS \uC815\uB82C \uC635\uC158\uC5D0 \uB530\uB77C \uC0C1\uD488\uC774 \uC815\uB82C\uB429\uB2C8\uB2E4.\"\n  },\n  hasRank: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.KEYWORD,\n    title: \"\uB7AD\uD06C \uB178\uCD9C\",\n    type: ControlType.Boolean,\n    defaultValue: false\n  },\n  hasButton: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.KEYWORD,\n    title: \"\uB354\uBCF4\uAE30 \uBC84\uD2BC \uB178\uCD9C\",\n    type: ControlType.Boolean,\n    defaultValue: true\n  },\n  button: {\n    hidden: ({\n      collectionType,\n      hasButton\n    }) => collectionType === CollectionType.KEYWORD && !hasButton,\n    type: ControlType.Object,\n    title: \"\uB354\uBCF4\uAE30 \uBC84\uD2BC\",\n    controls: {\n      text: {\n        title: \"\uD14D\uC2A4\uD2B8\",\n        type: ControlType.String,\n        placeholder: \"\uD14D\uC2A4\uD2B8 \uD544\uB4DC \uC785\uB825\"\n      },\n      theme: {\n        title: \"\uD14C\uB9C8\",\n        type: ControlType.Enum,\n        defaultValue: \"line\",\n        options: [\"line\", \"dark\", \"white\"],\n        optionTitles: [\"Line\", \"Dark\", \"white\"]\n      },\n      style: {\n        hidden: (_, {\n          collectionType\n        }) => collectionType === CollectionType.KEYWORD,\n        title: \"\uC2A4\uD0C0\uC77C\",\n        type: ControlType.Enum,\n        defaultValue: \"line\",\n        options: [\"fill\", \"fit\"],\n        optionTitles: [\"FILL\", \"FIT\"]\n      }\n    }\n  },\n  displayCoupon: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.KEYWORD,\n    title: \"\uCFE0\uD3F0 \uBC84\uD2BC \uB178\uCD9C\",\n    type: ControlType.Boolean,\n    defaultValue: false,\n    description: \"\uD0A4\uC6CC\uB4DC \uCEEC\uB809\uC158\uC5D0 \uCFE0\uD3F0\uC774 \uC788\uB294 \uACBD\uC6B0 \uCFE0\uD3F0 \uBC84\uD2BC\uC744 \uB178\uCD9C\uD569\uB2C8\uB2E4.\"\n  },\n  couponButton: {\n    hidden: ({\n      collectionType,\n      displayCoupon\n    }) => collectionType !== CollectionType.KEYWORD || !displayCoupon,\n    type: ControlType.Object,\n    title: \"\uCFE0\uD3F0 \uBC84\uD2BC\",\n    controls: {\n      text: {\n        title: \"\uD14D\uC2A4\uD2B8\",\n        type: ControlType.String,\n        placeholder: \"\uD14D\uC2A4\uD2B8 \uD544\uB4DC \uC785\uB825\"\n      },\n      variant: {\n        type: ControlType.Enum,\n        title: \"\uBCC0\uD615\",\n        options: [ButtonVariant.PRIMARY, ButtonVariant.SECONDARY, ButtonVariant.TERTIARY],\n        optionTitles: [\"primary\", \"secondary\", \"tertiary\"]\n      },\n      theme: {\n        type: ControlType.Enum,\n        title: \"\uD14C\uB9C8\",\n        options: [ButtonTheme.LIGHT, ButtonTheme.DARK],\n        optionTitles: [\"light\", \"dark\"],\n        defaultValue: ButtonTheme.LIGHT,\n        displaySegmentedControl: true\n      }\n    }\n  },\n  buttonStyle: {\n    hidden: ({\n      collectionType,\n      hasButton,\n      displayCoupon\n    }) => collectionType !== CollectionType.KEYWORD || !(hasButton || displayCoupon),\n    title: \"\uBC84\uD2BC \uC2A4\uD0C0\uC77C\",\n    type: ControlType.Enum,\n    defaultValue: \"line\",\n    options: [\"fill\", \"fit\"],\n    optionTitles: [\"FILL\", \"FIT\"]\n  },\n  isDevMode: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.KEYWORD,\n    type: ControlType.Boolean,\n    title: \"DEV \uBAA8\uB4DC\",\n    defaultValue: false,\n    description: \"DEV \uD658\uACBD\uC5D0\uC11C \uD14C\uC2A4\uD2B8\uB97C \uD558\uAE30 \uC704\uD55C \uAC12\uC785\uB2C8\uB2E4.\"\n  },\n  environment: {\n    hidden: ({\n      collectionType\n    }) => collectionType !== CollectionType.CATEGORY,\n    title: \"\uD658\uACBD\",\n    type: ControlType.Enum,\n    defaultValue: \"live\",\n    options: [\"live\", \"qa\", \"dev\"],\n    optionTitles: [\"live\", \"qa\", \"dev\"]\n  }\n});\nexport {\n  ExhibitionProductCuration\n};\n", "import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{ExhibitionProductCuration as BaseExhibitionProductCuration}from\"https://asset.29cm.co.kr/contents/framer/components/systems/ExhibitionProductCuration/index.js\";import{CollectionType,Breakpoint,LayoutType}from\"https://asset.29cm.co.kr/contents/framer/types/product-curation.js\";import{SortOptions}from\"https://asset.29cm.co.kr/contents/framer/apis/category-collection/ProductCollection.types.js\";import{ButtonTheme,ButtonVariant}from\"https://asset.29cm.co.kr/contents/framer/components/@shared/Button/Button.types.js\";export default function ExhibitionProductCuration(props){const{collectionType,sortOption}=props;const hasRank=collectionType===CollectionType.KEYWORD?props.hasRank:sortOption===SortOptions.EXHIBITION?true:false;return /*#__PURE__*/_jsx(BaseExhibitionProductCuration,{...props,hasRank:hasRank});}ExhibitionProductCuration.displayName=\"ProductCuration_\uAE30\uD68D\uC804\";addPropertyControls(ExhibitionProductCuration,{collectionType:{type:ControlType.Enum,title:\"\uCEEC\uB809\uC158 \uC720\uD615\",options:[CollectionType.KEYWORD,CollectionType.CATEGORY],optionTitles:[\"\uD0A4\uC6CC\uB4DC \uCEEC\uB809\uC158\",\"\uCE74\uD14C\uACE0\uB9AC \uCEEC\uB809\uC158\"]},collectionId:{type:ControlType.String,title:\"\uCEEC\uB809\uC158 \uC544\uC774\uB514\",placeholder:\"1152\"},facet:{hidden:({collectionType})=>collectionType!==CollectionType.CATEGORY,type:ControlType.String,title:\"\uAE30\uD68D\uC804 \uC774\uB984\",placeholder:\"\uC774\uAD7F\uC704\uD06C\",description:\"2depth \uB79C\uB529\uC5D0 \uD544\uC694\uD55C \uAC12\",defaultValue:\"\"},componentId:{type:ControlType.String,title:\"\uCEF4\uD3EC\uB10C\uD2B8 ID\",description:\"\uC774\uBCA4\uD2B8 \uC218\uC9D1 \uC2DC\uC5D0 \uC0C1\uD488 \uBAA8\uB4C8\uC744 \uAD6C\uBD84\uD558\uAE30 \uC704\uD55C \uAC12\\nex. 29welcoming\",defaultValue:\"\"},sortOption:{hidden:({collectionType})=>collectionType!==CollectionType.CATEGORY,title:\"\uC0C1\uD488 \uC815\uB82C\",type:ControlType.Enum,defaultValue:\"\uB7AD\uD0B9\uC21C\",options:[SortOptions.EXHIBITION,SortOptions.RECOMMEND],optionTitles:[\"\uB7AD\uD0B9\uC21C\",\"\uCD94\uCC9C\uC21C\"]},layoutType:{type:ControlType.Enum,title:\"\uB808\uC774\uC544\uC6C3 \uC720\uD615\",options:[LayoutType.CARD_3x3,LayoutType.CARD_6x2,LayoutType.BAR_1x2_Responsive,LayoutType.BAR_1x4_Responsive,LayoutType.BAR_1x6_Responsive],optionTitles:[\"CARD 3x3\",\"CARD 6x2\",\"BAR 1x2 Responsive\",\"BAR 1x4 Responsive\",\"BAR 1x6 Responsive\"],defaultValue:LayoutType.CARD_6x2},breakpoint:{type:ControlType.Enum,title:\"\uBD84\uAE30\uC810\",options:[Breakpoint.DESKTOP,Breakpoint.TABLET,Breakpoint.MOBILE],optionTitles:[\"PC\",\"Tablet\",\"Mobile\"],displaySegmentedControl:true},needShuffle:{hidden:({collectionType})=>collectionType!==CollectionType.KEYWORD,title:\"\uC0C1\uD488 \uC154\uD50C\",type:ControlType.Boolean,defaultValue:false,description:\"Yes\uC778 \uACBD\uC6B0 CMS \uC815\uB82C \uC635\uC158\uC744 \uBB34\uC2DC\uD558\uACE0 \uC154\uD50C\uB429\uB2C8\uB2E4.\\nNo\uC778 \uACBD\uC6B0 CMS \uC815\uB82C \uC635\uC158\uC5D0 \uB530\uB77C \uC0C1\uD488\uC774 \uC815\uB82C\uB429\uB2C8\uB2E4.\"},hasRank:{hidden:({collectionType})=>collectionType!==CollectionType.KEYWORD,title:\"\uB7AD\uD06C \uB178\uCD9C\",type:ControlType.Boolean,defaultValue:false},hasButton:{hidden:({collectionType})=>collectionType!==CollectionType.KEYWORD,title:\"\uB354\uBCF4\uAE30 \uBC84\uD2BC \uB178\uCD9C\",type:ControlType.Boolean,defaultValue:true},button:{hidden:({collectionType,hasButton})=>collectionType===CollectionType.KEYWORD&&!hasButton,type:ControlType.Object,title:\"\uB354\uBCF4\uAE30 \uBC84\uD2BC\",controls:{text:{title:\"\uD14D\uC2A4\uD2B8\",type:ControlType.String,placeholder:\"\uD14D\uC2A4\uD2B8 \uD544\uB4DC \uC785\uB825\"},theme:{title:\"\uD14C\uB9C8\",type:ControlType.Enum,defaultValue:\"line\",options:[\"line\",\"dark\",\"white\"],optionTitles:[\"Line\",\"Dark\",\"white\"]},style:{hidden:(_,{collectionType})=>collectionType===CollectionType.KEYWORD,title:\"\uC2A4\uD0C0\uC77C\",type:ControlType.Enum,defaultValue:\"line\",options:[\"fill\",\"fit\"],optionTitles:[\"FILL\",\"FIT\"]}}},displayCoupon:{hidden:({collectionType})=>collectionType!==CollectionType.KEYWORD,title:\"\uCFE0\uD3F0 \uBC84\uD2BC \uB178\uCD9C\",type:ControlType.Boolean,defaultValue:false,description:\"\uD0A4\uC6CC\uB4DC \uCEEC\uB809\uC158\uC5D0 \uCFE0\uD3F0\uC774 \uC788\uB294 \uACBD\uC6B0 \uCFE0\uD3F0 \uBC84\uD2BC\uC744 \uB178\uCD9C\uD569\uB2C8\uB2E4.\"},couponButton:{hidden:({collectionType,displayCoupon})=>collectionType!==CollectionType.KEYWORD||!displayCoupon,type:ControlType.Object,title:\"\uCFE0\uD3F0 \uBC84\uD2BC\",controls:{text:{title:\"\uD14D\uC2A4\uD2B8\",type:ControlType.String,placeholder:\"\uD14D\uC2A4\uD2B8 \uD544\uB4DC \uC785\uB825\"},variant:{type:ControlType.Enum,title:\"\uBCC0\uD615\",options:[ButtonVariant.PRIMARY,ButtonVariant.SECONDARY,ButtonVariant.TERTIARY],optionTitles:[\"primary\",\"secondary\",\"tertiary\"]},theme:{type:ControlType.Enum,title:\"\uD14C\uB9C8\",options:[ButtonTheme.LIGHT,ButtonTheme.DARK],optionTitles:[\"light\",\"dark\"],defaultValue:ButtonTheme.LIGHT,displaySegmentedControl:true}}},buttonStyle:{hidden:({collectionType,hasButton,displayCoupon})=>collectionType!==CollectionType.KEYWORD||!(hasButton||displayCoupon),title:\"\uBC84\uD2BC \uC2A4\uD0C0\uC77C\",type:ControlType.Enum,defaultValue:\"line\",options:[\"fill\",\"fit\"],optionTitles:[\"FILL\",\"FIT\"]},isDevMode:{hidden:({collectionType})=>collectionType!==CollectionType.KEYWORD,type:ControlType.Boolean,title:\"DEV \uBAA8\uB4DC\",defaultValue:false,description:\"DEV \uD658\uACBD\uC5D0\uC11C \uD14C\uC2A4\uD2B8\uB97C \uD558\uAE30 \uC704\uD55C \uAC12\uC785\uB2C8\uB2E4.\"},environment:{hidden:({collectionType})=>collectionType!==CollectionType.CATEGORY,title:\"\uD658\uACBD\",type:ControlType.Enum,defaultValue:\"live\",options:[\"live\",\"qa\",\"dev\"],optionTitles:[\"live\",\"qa\",\"dev\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ExhibitionProductCuration\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProductCurationExhibition.map"],
  "mappings": "08BAAA,IAAIA,GAAmCC,IACrCA,EAAgB,QAAa,UAC7BA,EAAgB,SAAc,WACvBA,IACND,GAAkB,CAAC,CAAC,EACn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AS,KAAKL,EAAY,KAAK,aAAa,OAAO,QAAQ,CAAC,OAAO,KAAK,EAAE,aAAa,CAAC,OAAO,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,eAAAP,CAAc,IAAIA,IAAiBG,EAAe,QAAQ,KAAKI,EAAY,QAAQ,MAAM,mBAAS,aAAa,GAAM,YAAY,2GAA2B,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,eAAAP,CAAc,IAAIA,IAAiBG,EAAe,SAAS,MAAM,eAAK,KAAKI,EAAY,KAAK,aAAa,OAAO,QAAQ,CAAC,OAAO,KAAK,KAAK,EAAE,aAAa,CAAC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC",
  "names": ["CollectionType", "CollectionType2", "ButtonTheme", "ButtonTheme2", "ButtonStyle", "ButtonStyle2", "Breakpoint", "Breakpoint2", "LayoutType", "LayoutType2", "PRODUCT_GROUP_MIN_WIDTH", "layoutOptionsByLayoutType", "LayoutType", "ProductCardType", "EnvironmentType", "EnvironmentType2", "SortOptions", "SortOptions2", "ButtonSkeleton", "p", "Skeleton", "skeletonStyle", "ButtonLayout", "breakpoint", "isHide", "isLoading", "children", "rest", "buttonLayoutStyle", "baseButtonLayoutStyle", "buttonLayoutStyleByBreakPoint", "p", "ButtonSkeleton", "Breakpoint", "GridContext", "z", "Root", "Y", "children", "style", "column", "columnGap", "rowGap", "rest", "ref", "value", "p", "containerResetStyle", "containerStyle", "useGridContext", "context", "re", "GridContext", "Item", "Y", "children", "style", "rest", "ref", "column", "columnGap", "useGridContext", "width", "calculateResponsiveWidth", "p", "containerResetStyle", "Grid", "Root", "Item", "ProductSkeleton", "layoutOptions", "u", "itemLayoutStyle", "p", "Skeleton", "imageStyle", "textSkeletonLayoutStyle", "textSkeletonStyle", "type", "column", "itemLayoutStyleByType", "ProductCardType", "imageStyleByType", "width", "height", "classNames", "withStyle", "createWithStyle", "ComponentName", "css", "ProductsLayout", "layoutOptions", "breakpoint", "list", "isLoading", "totalCount", "children", "skeletonCount", "productListResponsiveStyle", "baseProductListResponsiveStyle", "productListResponsiveStyleByBreakpoint", "productListResponsiveClassName", "ProductCardType", "u", "item", "index", "_", "p", "ProductSkeleton", "productListStyle", "productListStyleByBreakpoint", "columnGap", "rowGap", "Grid", "Default", "minWidth", "Breakpoint", "Collection", "ButtonLayout", "Default", "DEFAULT_SHOW_MORE_BUTTON_TEXT", "KeywordCollectionButton", "hasButton", "button", "buttonStyle", "collectionId", "productGroupId", "isDevMode", "breakpoint", "coupon", "couponButton", "displayCoupon", "componentId", "trackEvent", "trackClickButtonContentEvent", "useTrackClickButtonContentEvent", "collectionUrl", "navigateCollectionPage", "useNavigatePage", "download", "useDownloadCoupons", "CouponType", "shouldRenderMoreButton", "shouldRenderCouponButton", "buttonVariant", "ButtonTheme", "isButtonFill", "ButtonStyle", "renderedButtonText", "renderedCouponButtonText", "handleShowMoreButton", "handleClickCoupon", "p", "Collection", "u", "buttonContainer", "Default", "TabsContext", "z", "Root", "Y", "children", "style", "defaultValue", "value", "scrollSnapAlign", "onValueChange", "rest", "ref", "refs", "pe", "firstValue", "currentValue", "setCurrentValue", "ye", "listRef", "scrollToCenter", "incoming", "smooth", "triggerEl", "left", "getCenterPosition", "move", "next", "fe", "ue", "context", "p", "containerStyle", "list", "item", "useTabsContext", "context", "re", "TabsContext", "Gradient", "Y", "style", "theme", "props", "ref", "listRef", "useTabsContext", "scrollXProgress", "useScroll", "opacity", "useTransform", "ue", "container", "p", "motion", "gradientStyle", "gradientStyleByTheme", "COMPONENT_NAME", "css", "List", "withCSS", "Y", "children", "style", "gap", "scrollPadding", "rest", "ref", "listRef", "useTabsContext", "p", "mergeRefs", "containerResetStyle", "containerStyle", "Panel", "children", "value", "currentValue", "useTabsContext", "Trigger", "Y", "children", "style", "value", "onClick", "rest", "ref", "refs", "currentValue", "move", "useTabsContext", "isCurrent", "register", "incoming", "element", "handleClick", "e", "playHaptic", "p", "mergeRefs", "containerStyle", "isFunction", "Tabs", "Root", "List", "Trigger", "Panel", "Gradient", "KeywordCollectionTags", "hasTags", "productGroupList", "componentId", "trackEvent", "breakpoint", "children", "trackClickTagContentEvent", "useTrackClickTagContentEvent", "collectionProductGroupList", "initialCollectionProductGroupId", "eventTagType", "useCollectionProductGroupList", "handleTagClick", "title", "productGroupId", "position", "tabsListStyle", "tabsListStyleByBreakpoint", "hasProductGroupList", "isHideTags", "u", "Tabs", "p", "index", "active", "Tag", "Skeleton", "skeletonStyle", "sort", "Breakpoint", "toDisplayProductList", "productList", "displayCount", "shiftSoldoutProductsToLast", "x", "y", "useSendCollectionProductIdList", "shouldSendProductIdList", "productGroupList", "displayCount", "productIdList", "se", "productGroup", "toDisplayProductList", "product", "useSendProductIds", "useKeywordCollectionCoupon", "couponId", "isDevMode", "enabled", "isLoading", "error", "data", "rest", "useFetchCoupons", "useProductGroupById", "productGroupList", "productGroupId", "se", "productGroup", "KEYWORD_COLLECTION_PRODUCTS_FETCHER_KEY", "useFetchCollectionProducts", "collectionId", "isDevMode", "isShuffled", "productGroupId", "sort", "isEnabled", "data", "isLoading", "error", "useSWR", "collectionApi", "KeywordProducts", "productGroupId", "collectionId", "sort", "isDevMode", "productGroupList", "layoutOptions", "breakpoint", "componentId", "productGroup", "useProductGroupById", "sortedCollectionProducts", "isPending", "useFetchCollectionProducts", "collectionProducts", "se", "count", "products", "toDisplayProductList", "isHeartOn", "handleHeartOn", "handleHeartOff", "useProductGroupHeart", "extraEventProperties", "isLoading", "p", "Collection", "item", "index", "ProductCard", "KEYWORD_COLLECTION_FETCHER_KEY", "useLazyFetchCollection", "collectionId", "needShuffle", "isDevMode", "enabled", "data", "isLoading", "error", "fetch", "useLazySWR", "collectionApi", "isPending", "DEFAULT_COMPONENT_NAME", "KeywordCollection", "Y", "collectionId", "hasTags", "displayCoupon", "layoutOptions", "breakpoint", "hasButton", "button", "couponButton", "buttonStyle", "isDevMode", "shouldSendProductIdList", "componentId", "forwardedRef", "ref", "pe", "isInView", "useInView", "isEventInView", "trackViewComponent", "useTrackViewComponent", "trackClickComponent", "useTrackClickComponent", "trackEvent", "extraProperties", "collection", "fetch", "useLazyFetchCollection", "coupon", "useKeywordCollectionCoupon", "productGroupList", "useSendCollectionProductIdList", "ue", "conditional", "p", "mergeRefs", "layoutStyle", "KeywordCollectionTags", "productGroupId", "sort", "u", "l", "KeywordProducts", "KeywordCollectionButton", "CategoryCollectionApiService", "productGroupId", "environment", "baseUrl", "EnvironmentType", "env", "environments", "response", "res", "GENERAL_ERROR", "searchParams", "productCollectionApi", "PRODUCT_COLLECTION_FETCHER_KEY", "useFetchCategories", "productGroupId", "enabled", "environment", "data", "isLoading", "error", "useSWR", "productCollectionApi", "isPending", "getKey", "searchParams", "pageIndex", "previousPageData", "useFetchProducts", "size", "isValidating", "setSize", "useSWRInfinite", "key", "hasNext", "response", "LargeCategories", "productGroupId", "isInView", "environment", "componentId", "breakpoint", "children", "trackClickComponent", "useTrackClickComponent", "trackClickTagContentEvent", "useTrackClickTagContentEvent", "categories", "isPending", "useFetchCategories", "firstCategory", "head", "isRejectedProductGroupId", "handleCategoryClick", "position", "categoryName", "categoryCode", "tabsListStyle", "baseTabsListStyle", "tabsListStyleByBreakPoint", "tabsListGap", "tabsListSkeletonStyle", "baseTabsListSkeletonStyle", "tabsListSkeletonStyleByBreakPoint", "categoryNameStyle", "baseCategoryNameStyle", "categoryNameStyleByBreakPoint", "u", "Tabs", "p", "Skeleton", "category", "index", "active", "activeCategoryNameStyle", "largeCategory", "Breakpoint", "typography", "ALL_CATEGORY_NAME", "ALL_CATEGORY_CODE", "MediumCategories", "children", "largeCategory", "componentId", "breakpoint", "trackClickComponent", "useTrackClickComponent", "trackClickTagContentEvent", "useTrackClickTagContentEvent", "mediumCategories", "isPending", "handleCategoryClick", "position", "categoryName", "categoryCode", "tabsListStyle", "tabsListStyleByBreakPoint", "u", "Tabs", "p", "Skeleton", "skeletonStyle", "mediumCategory", "index", "active", "Tag", "Breakpoint", "formatProduct", "product", "_a", "category", "getCategoryProductsPageUrl", "categoryCode", "largeCategoryName", "facet", "environment", "environmentPrefix", "EnvironmentType", "shouldUseDeepLink", "isWebview", "extraFacets", "getExtraFacetsObject", "categoryQueryObject", "getCategoryQueryObject", "categoryUrl", "categorySearchParams2", "encodeKoreaString", "categorySearchParams", "getCategoryProductAPISearchParams", "size", "sort", "optionsQueryObject", "getOptionsQueryObject", "needReactWebview", "hasKoreaChar", "string", "CategoryProductsContext", "z", "CategoryProductsActionContext", "CategoryProductsProvider", "productGroupId", "layoutOption", "sortOption", "categoryCode", "largeCategoryName", "environment", "children", "enabledFetchProducts", "products", "size", "isPending", "hasNext", "setSize", "useFetchProducts", "getCategoryProductAPISearchParams", "defaultCategoryProductsValue", "defaultCategoryProductsActionValue", "p", "useCategoryProducts", "context", "re", "CategoryProductsContext", "useCategoryProductsAction", "CategoryProductsActionContext", "CategoryProducts", "sortOption", "layoutOptions", "breakpoint", "componentId", "isHeartOn", "handleHeartOn", "handleHeartOff", "useProductGroupHeart", "products", "size", "isPending", "useCategoryProducts", "totalCount", "extraEventProperties", "p", "Collection", "item", "index", "ProductCard", "formatProduct", "CategoryCollectionButton", "button", "sortOption", "facet", "environment", "componentId", "breakpoint", "trackClickComponent", "useTrackClickComponent", "trackClickButtonContentEvent", "useTrackClickButtonContentEvent", "products", "categoryCode", "largeCategoryName", "isPending", "hasNext", "useCategoryProducts", "expandProducts", "useCategoryProductsAction", "pageUrl", "getCategoryProductsPageUrl", "buttonVariant", "ButtonTheme", "isButtonFill", "ButtonStyle", "buttonIcon", "SortOptions", "buttonText", "isHide", "handleClickButton", "window", "p", "Collection", "Default", "DEFAULT_COMPONENT_NAME", "CategoryCollection", "productGroupId", "sortOption", "button", "layoutOptions", "breakpoint", "facet", "environment", "componentId", "ref", "pe", "isInView", "useInView", "isEventInView", "trackViewComponent", "useTrackViewComponent", "ue", "conditional", "p", "layoutStyle", "LargeCategories", "largeCategory", "MediumCategories", "largeCategoryCode", "mediumCategoryCode", "largeCategoryName", "u", "CategoryProductsProvider", "CategoryProducts", "CategoryCollectionButton", "ProductCuration", "collectionId", "collectionType", "rest", "CollectionType", "p", "KeywordCollection", "CategoryCollection", "ExhibitionProductCuration", "layoutType", "needShuffle", "hasRank", "rest", "options", "layoutOptionsByLayoutType", "layoutOptions", "p", "ProductCuration", "addPropertyControls", "ControlType", "CollectionType", "collectionType", "SortOptions", "LayoutType", "Breakpoint", "hasButton", "_", "displayCoupon", "ButtonVariant", "ButtonTheme", "ExhibitionProductCuration", "props", "collectionType", "sortOption", "hasRank", "CollectionType", "SortOptions", "p", "addPropertyControls", "ControlType", "LayoutType", "Breakpoint", "hasButton", "_", "displayCoupon", "ButtonVariant", "ButtonTheme"]
}
