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A4B,UAAY,yBAAyB,QAAU,uBAAuB,mBAAqB,kCAAkC,iBAAmB,gCAAgC,UAAY,yBAAyB,aAAe,4BAA4B,UAAY,yBAAyB,YAAc,2BAA2B,WAAa,0BAA0B,MAAQ,qBAAqB,eAAiB,8BAA8B,IAAM,mBAAmB,SAAW,wBAAwB,cAAgB,6BAA6B,gBAAkB,+BAA+B,WAAa,0BAA0B,SAAW,wBAAwB,mBAAqB,kCAAkC,SAAW,wBAAwB,KAAO,oBAAoB,wBAA0B,uCAAuC,eAAiB,8BAA8B,sBAAwB,qCAAqC,gBAAkB,+BAA+B,cAAgB,6BAA6B,OAAS,sBAAsB,eAAiB,8BAA8B,uBAAyB,sCAAsC,kBAAoB,iCAAiC,oBAAsB,mCAAmC,SAAW,wBAAwB,sBAAwB,qCAAqC,WAAa,0BAA0B,aAAe,4BAA4B,WAAa,0BAA0B,iBAAmB,gCAAgC,qBAAuB,oCAAoC,eAAiB,8BAA8B,cAAgB,6BAA6B,iBAAmB,gCAAgC,WAAa,0BAA0B,qBAAuB,oCAAoC,gBAAkB,+BAA+B,kBAAoB,iCAAiC,eAAiB,8BAA8B,qBAAuB,oCAAoC,iCAAmC,gDAAgD,sBAAwB,qCAAqC,eAAiB,8BAA8B,qBAAuB","sources":["webpack://_N_E/./src/images/icons/checkbox_gray.svg","webpack://_N_E/./src/images/icons/checkbox_soldout.svg","webpack://_N_E/./src/images/icons/X_424242.svg","webpack://_N_E/./src/common/apiConverter.js","webpack://_N_E/./src/components/rangebar/CouponDiscountGaugeBar.js","webpack://_N_E/./src/components/sections/TextBanner.js","webpack://_N_E/./src/components/sections/curation/ProductBasedCurationListSection.js","webpack://_N_E/./src/common/locale_utils.js","webpack://_N_E/./src/pages/store/pouch.js","webpack://_N_E/./src/components/rangebar/CouponDiscountGaugeBar.module.scss","webpack://_N_E/./src/components/sections/TextBanner.module.scss","webpack://_N_E/./src/components/sections/curation/ProductBasedCurationListSection.module.scss","webpack://_N_E/./src/pages/store/pouch.module.scss"],"sourcesContent":["var _path, _path2, _path3;\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nvar SvgCheckboxGray = function SvgCheckboxGray(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#fff\",\n d: \"M4 4h16v16H4z\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 1v14h14V5H5Z\",\n fill: \"#BDBDBD\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"m16.768 9.64-5 6a1 1 0 0 1-1.475.067l-3-3 1.414-1.414 2.226 2.226 4.299-5.16 1.536 1.281Z\",\n fill: \"#BDBDBD\"\n })));\n};\n\nexport default SvgCheckboxGray;","var _path, _path2;\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nvar SvgCheckboxSoldout = function SvgCheckboxSoldout(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#DBDBDB\",\n fillOpacity: 0.3,\n d: \"M4 4h16v16H4z\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M3 4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm2 1v14h14V5H5Z\",\n fill: \"#DBDBDB\"\n })));\n};\n\nexport default SvgCheckboxSoldout;","var _path;\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport * as React from \"react\";\n\nvar SvgX424242 = function SvgX424242(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 20,\n height: 20,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M14.714 6.465 11.178 10l3.536 3.536-1.178 1.178L10 11.18l-3.536 3.535-1.178-1.178L8.821 10 5.286 6.465l1.178-1.179L10 8.822l3.536-3.536 1.178 1.179Z\",\n fill: \"#424242\"\n })));\n};\n\nexport default SvgX424242;","export const couponMoldTypeToText = (couponMoldType) => {\n if (couponMoldType === 'FIX') {\n return '원'\n } else {\n return '%'\n }\n};\n","import styles from \"components/rangebar/CouponDiscountGaugeBar.module.scss\";\nimport {couponMoldTypeToText} from \"common/apiConverter\";\nimport {leftTimestampToText} from \"common/timeConverter\";\nimport {useContext, useEffect, useState} from \"react\";\nimport {numberWithComma} from \"common/utils\";\n\nimport dynamic from 'next/dynamic'\nimport {LinearProgress} from \"@material-ui/core\";\nimport UserContext from \"context/AuthContext\";\nimport classNames from \"classnames\";\n\nconst Odometer = dynamic(import('react-odometerjs'), {\n ssr: false,\n loading: () => 0\n});\n\n\nconst CouponDiscountGaugeBar = (props) => {\n const {nextAvailableCoupon, bestAvailableCoupon, isPriceLoading, locale} = props;\n const [isInitialized, setIsInitialized] = useState(false);\n const [odometerValue, setOdometerValue] = useState(1234);\n const user = useContext(UserContext).user;\n\n\n useEffect(() => {\n if (nextAvailableCoupon) {\n setOdometerValue(nextAvailableCoupon.min_amount - nextAvailableCoupon.total_price);\n }\n }, []);\n\n useEffect(() => {\n if (nextAvailableCoupon) {\n setOdometerValue(nextAvailableCoupon.min_amount - nextAvailableCoupon.total_price);\n }\n }, [nextAvailableCoupon]);\n\n useEffect(() => {\n setIsInitialized(true);\n }, [isPriceLoading]);\n\n const progress = nextAvailableCoupon ? (nextAvailableCoupon.total_price / nextAvailableCoupon.min_amount) * 100 : 100;\n\n const expiringCoupon = nextAvailableCoupon || bestAvailableCoupon;\n const isCouponDueShown = expiringCoupon ? expiringCoupon.expires_at * 1000 - Date.now() < 1000 * 60 * 60 * 24 * 31 : false;\n\n return (\n <>\n {\n isInitialized && locale === 'ko' &&\n <>\n \n {\n user\n ?\n (\n nextAvailableCoupon\n ?\n <>\n 원 더 담으면 \n {numberWithComma(nextAvailableCoupon.amount)}{couponMoldTypeToText(nextAvailableCoupon.type)} 할인\n \n :\n bestAvailableCoupon\n ?\n {numberWithComma(bestAvailableCoupon.amount)}{couponMoldTypeToText(bestAvailableCoupon.type)} 쿠폰 사용 가능\n : <>\n )\n :\n \n 로그인하고 쿠폰 할인 받으세요!\n \n }\n \n {\n user\n ?\n <>\n \n {\n isCouponDueShown\n ? `쿠폰이 ${leftTimestampToText(Date.now(), expiringCoupon.expires_at * 1000)} 뒤에 사라져요`\n : '쿠폰이 만료되기 전에 주문하세요!'\n }\n \n = 100 && styles.progressBarDone)}\n />\n \n :\n <>\n {\n !user &&\n \n 25,000원 상당의 쿠폰팩 증정\n \n }\n \n }\n \n }\n \n )\n};\n\nexport default CouponDiscountGaugeBar;\n","import styles from \"components/sections/TextBanner.module.scss\";\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\";\nimport classNames from \"classnames\";\nimport {useEffect, useRef} from \"react\";\nimport {Swiper, SwiperSlide} from \"swiper/react\";\nimport SwiperCore, {Autoplay, Navigation, Pagination} from \"swiper\";\nimport 'swiper/css';\nimport \"swiper/css/pagination\";\nimport \"swiper/css/navigation\";\nimport Link from \"next/link\";\nimport {swiperCustomAnimation} from \"common/utils\";\n\n\nSwiperCore.use([Navigation, Pagination, Autoplay]);\n\nconst BannerContent = ({banner}) => {\n return (\n <>\n
\n {banner.text}\n
\n \n )\n}\n\n\nexport default function TextBanner(props) {\n const {banners, onClick} = props;\n\n const prevRef = useRef(null);\n const nextRef = useRef(null);\n\n const swiperRef = useRef();\n const swipedRef = useRef(0);\n\n const onTouchEnd = (swiper) => {\n swipedRef.current = Date.now();\n };\n\n const onSlideChange = (swiper) => {\n if (Date.now() - swipedRef.current < 1000) {\n typeof mixpanel !== 'undefined' && mixpanel.track(\n 'MainPageMainBannerSwipe',\n {\n activeIndex: swiper.activeIndex,\n nextBannerName: banners[swiper.activeIndex]?.text,\n }\n );\n }\n }\n\n const timerRef = useRef(null);\n\n const swiperAutoPlay = () => {\n if (banners && banners.length <= 1) return;\n if (timerRef.current) clearTimeout(timerRef.current);\n timerRef.current = setTimeout(() => {\n if (swiperRef.current?.swiper) {\n swiperRef.current.swiper.slideNext();\n }\n swiperAutoPlay();\n }, 3000);\n }\n\n const stopAutoPlay = () => {\n if (timerRef.current) clearTimeout(timerRef.current);\n }\n\n const resumeAutoPlay = () => {\n swiperAutoPlay();\n }\n\n useEffect(() => {\n swiperAutoPlay();\n }, []);\n\n useEffect(() => {\n if (!swiperRef.current) return;\n swiperRef.current.addEventListener('mouseenter', stopAutoPlay);\n swiperRef.current.addEventListener('mouseleave', resumeAutoPlay);\n return () => {\n swiperRef.current.removeEventListener('mouseenter', stopAutoPlay);\n swiperRef.current.removeEventListener('mouseleave', resumeAutoPlay);\n }\n }, [swiperRef.current]);\n\n return (\n
\n
\n {\n banners && banners.length > 0 ?\n 1)}\n onSetTranslate={swiperCustomAnimation}\n onInit={(swiper) => {\n swiper.params.navigation.prevEl = prevRef.current;\n swiper.params.navigation.nextEl = nextRef.current;\n swiper.navigation.init();\n swiper.navigation.update();\n }}\n onSlideChangeTransitionEnd={(swiper) => {\n swiperAutoPlay();\n }}\n spaceBetween={0}\n slidesPerView={1}\n threshold={20}\n onSlideChange={onSlideChange}\n onTouchEnd={onTouchEnd}\n >\n {\n banners.map((banner, idx) => {\n return (\n \n {\n banner.link ?\n \n onClick(banner, idx)}>\n \n \n :\n
onClick(banner, idx)}>\n \n
\n }\n
\n )\n })\n }\n \n :\n
\n }\n
\n
\n )\n}\n","import {useEffect, useState} from \"react\";\nimport {Axios} from \"api\";\nimport {shuffle} from \"common/utils\";\nimport {captureException, captureMessage} from \"@sentry/nextjs\";\nimport styles from \"components/sections/curation/ProductBasedCurationListSection.module.scss\";\nimport {CurationSection} from \"components/sections/curation/CurationSection\";\nimport classNames from \"classnames\";\n\n\nexport const ProductBasedCurationListSection = (props) => {\n const {curationKey, location, productOptionIds, isInitialized, onPouchAdd, isAddToPouchVisible, isFoldable} = props;\n const [isLoading, setIsLoading] = useState(false);\n const [curations, setCurations] = useState([]);\n\n useEffect(() => {\n if (!isInitialized) return;\n fetchCuration();\n }, [productOptionIds, isInitialized]);\n\n const handlePouchAdd = (product) => {\n typeof mixpanel !== 'undefined' && mixpanel.track(\n 'ProductBasedCurationListSectionPouchAddButtonClick',\n {\n curationKey,\n location,\n productId: product.id,\n productName: product.name,\n }\n );\n onPouchAdd();\n };\n\n\n const fetchCuration = async () => {\n if (isLoading) {\n return;\n }\n try {\n setIsLoading(true);\n const data = {\n 'option_ids': productOptionIds,\n 'exclude_ids': productOptionIds,\n }\n const res = await Axios.post(`v1/curation/product/${curationKey}/`, data);\n console.log('fetchCuration', res.data, data);\n if (res.status < 400) {\n const originalCurationIds = curations.map((curation) => {\n return curation.id;\n });\n const newCurations = res.data.curations.filter(\n (curation) => {\n return !originalCurationIds.includes(curation.id)\n }\n );\n if (newCurations.length > 0) {\n const curations = shuffle(res.data.curations);\n setCurations(curations);\n }\n } else {\n captureMessage(JSON.stringify(res.data));\n }\n } catch (e) {\n captureException(e);\n } finally {\n setIsLoading(false);\n }\n };\n\n return (\n
\n {\n curations.map((curation, idx) => {\n return (\n <>\n 0}\n />\n
\n \n )\n })\n }\n
\n\n )\n}\n","\n\nexport const localeToCurrency = (args) => {\n switch (args) {\n case \"en\":\n return \"USD\";\n case \"ko\":\n return \"KRW\";\n }\n\n return '';\n}\n","\n import __i18nConfig from '@next-translate-root/i18n'\n import __loadNamespaces from 'next-translate/loadNamespaces'\n import utilStyles from \"styles/utils.module.scss\";\nimport styles from \"pages/store/pouch.module.scss\";\nimport classNames from \"classnames\";\nimport { useContext, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Axios } from \"api\";\nimport CheckBoxChecked from \"images/icons/checkbox_checked.svg\";\nimport CheckBoxUnchecked from \"images/icons/checkbox_gray.svg\";\nimport CheckBoxSoldOut from \"images/icons/checkbox_soldout.svg\";\nimport CloseIcon from \"images/icons/X_424242.svg\";\nimport Image from \"next/image\";\nimport { customConfirm, formattedPrice, numberWithComma, throttle } from \"common/utils\";\nimport Loading from \"components/Loading\";\nimport Link from \"next/link\";\nimport { getCreatorProductRoute, productsRoute, storeRoute } from \"common/const\";\nimport Modal from \"components/Modal\";\nimport FullButton from \"components/buttons/FullButton\";\nimport OptionSelectionDropDown from \"components/dropdown/OptionSelectionDropDown\";\nimport { useRouter } from \"next/router\";\nimport UserContext from \"context/AuthContext\";\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\nimport ScrollContext from \"context/ScrollContext\";\nimport { captureException, captureMessage } from \"@sentry/nextjs\";\nimport { removeLocalReferralInfo, setLocalReferralInfo } from \"common/referral\";\nimport NewQuantitySelector from \"components/buttons/NewQuantitySelector\";\nimport PouchContext from \"context/PouchContext\";\nimport { toast } from \"react-toastify\";\nimport LoadingDot from \"components/LoadingDot\";\nimport TitleBar from \"components/layout/TitleBar\";\nimport ToastContext from \"context/ToastContext\";\nimport CouponDiscountGaugeBar from \"components/rangebar/CouponDiscountGaugeBar\";\nimport { redirectToLogin } from \"common/redirect\";\nimport Layout from \"components/layout/layout\";\nimport ModalContext from \"context/ModalContext\";\nimport useTimer from \"hooks/useTimer\";\nimport TextBanner from \"components/sections/TextBanner\";\nimport { ProductBasedCurationListSection } from \"components/sections/curation/ProductBasedCurationListSection\";\nimport { order } from \"api/store/orders\";\nimport useTranslation from \"next-translate/useTranslation\";\nimport Trans from \"next-translate/Trans\";\nimport { localeToCurrency } from \"common/locale_utils\";\nconst PouchItemCard = (props) => {\n const { item, currency, changeItem, deleteItem, isLoading, toggleItemSelection, selectedItems, openModal, syncCountTrigger, priceInfo, isPriceLoading } = props;\n const [isLiked, setIsLiked] = useState(false);\n const router = useRouter();\n const referralIdToNickname = props.referralIdToNickname || {};\n const { openAppInstallModal } = useContext(ModalContext);\n const { t } = useTranslation('store-pouch');\n useEffect(() => {\n if (t.toLocaleString() === 'ko') {\n openAppInstallModal(true);\n }\n }, []);\n const increaseOptionCount = (diff) => {\n const pouchId = item.id;\n const count = item.count + diff;\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchOptionCountChangeByButton', {\n optionId: item.option.id,\n count: count,\n increase: diff > 0\n });\n changeItem(pouchId, null, count, item.referral_id, item.referral_post_id);\n };\n const deleteOption = () => {\n const pouchId = item.id;\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchOptionDelete', {\n optionId: item.option.id\n });\n deleteItem(pouchId);\n };\n const setCount = (count) => {\n const pouchId = item.id;\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchOptionCountChangeByInput', {\n optionId: item.option.id,\n count: count\n });\n changeItem(pouchId, null, count, item.referral_id, item.referral_post_id);\n };\n const isSoldOut = item.option.is_sold_out;\n const onProductClick = () => {\n if (item) {\n const productId = item.option.product.id;\n removeLocalReferralInfo(productId);\n if (item.referral_id) {\n setLocalReferralInfo(productId, item.referral_id, item.referral_post_id);\n }\n }\n };\n const productLink = (item.option.product.override_link ?\n (item.option.product.override_link) :\n (!!item.referral_id ?\n `${getCreatorProductRoute(item.referral_id, item.option.product.id)}` :\n `${productsRoute}/${item.option.product.id}`));\n const onOptionChangeClick = () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchOptionChangeModalOpen');\n openModal();\n };\n const handlePouchToggle = () => {\n if (isSoldOut) {\n return;\n }\n toggleItemSelection(item);\n };\n const discountedPrice = priceInfo.option_id_to_discount_info[item.option.id]?.discounted_price || item.option.discounted_price;\n const discountRate = priceInfo.option_id_to_discount_info[item.option.id]?.discount_rate || item.option.discount_rate;\n return (
\n
\n
\n {!!selectedItems[item.id] ?\n \n :\n (!isSoldOut ?\n \n :\n )}\n
\n
\n \n
\n {item.referral_id && (item.referral_id in referralIdToNickname) &&\n #{referralIdToNickname[item.referral_id]}}\n \n \n {item.option.product.name}\n \n \n
\n {item.option.name}\n {((!Boolean(item.option.product.product_option_group_list) || item.option.product.product_option_group_list.length === 0) && item.option.product.options.length > 1) &&\n \n {t('PouchItemCard.optionChange')}\n }\n
\n
\n
\n
{\n }}>\n \n
\n
\n
\n
\n
\n increaseOptionCount(-1)} onPlus={() => increaseOptionCount(1)} setCount={setCount} syncCountTrigger={syncCountTrigger}/>\n
\n
\n {isPriceLoading\n ?\n
\n \n
\n :\n <>\n {item.option.price !== discountedPrice &&\n
\n \n {t('PouchItemCard.price', { price: formattedPrice(item.option.price * item.count, currency) + t(`common:currency.${currency}`) })}\n \n
}\n
\n {Boolean(discountRate) && discountRate > 0 &&\n \n {discountRate}%\n }\n ,\n \n ]} values={{\n price: formattedPrice(discountedPrice * item.count, currency),\n currency: t(`common:currency.${currency}`)\n }}/>\n
\n }\n
\n
\n
\n
);\n};\nconst EmptyPouchItemCard = (props) => {\n const isMobile = useMediaQuery(`(max-width:${utilStyles.breakpointMobile})`);\n const { t } = useTranslation('store-pouch');\n return (
\n {isMobile &&
}\n
\n
\n {t('EmptyPouchItemCard.emptyText')}\n \n {t('EmptyPouchItemCard.storeButton')}\n \n
\n
\n
);\n};\nexport const deleteLocalPouchItems = (pouchContext, ordNum) => {\n const targetIds = JSON.parse(window.sessionStorage.getItem(`checkout_requested_pouch_item_ids_${ordNum}`)) || [];\n const pouchItems = JSON.parse(window.localStorage.getItem(`pouch_items`)) || [];\n const finalItems = pouchItems.filter(x => !targetIds.includes(x.id));\n pouchContext.setPouchItems(finalItems);\n window.sessionStorage.removeItem(`checkout_requested_pouch_item_ids_${ordNum}`);\n};\nconst OptionChangeModalContent = (props) => {\n const { pouchItem, close, changeItem } = props;\n // const [options, setOptions] = useState([]);\n const [selectedOption, setSelectedOption] = useState(null);\n const [isExpanded, setIsExpanded] = useState(false);\n const isMobile = useMediaQuery(`(max-width:${utilStyles.breakpointMobile})`);\n const { t } = useTranslation('store-pouch');\n if (!pouchItem)\n return
;\n const onOptionChangeSelect = (e) => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchOptionChangeSelect');\n console.log('onOptionChangeSelect', e);\n setSelectedOption(e);\n };\n const onOptionChangeConfirm = async () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchOptionChangeConfirm');\n if (!selectedOption) {\n toast.info(t('OptionChangeModalContent.selectOption'));\n }\n else {\n await changeItem(pouchItem.id, selectedOption, null, pouchItem.referral_id, pouchItem.referral_post_id);\n close();\n }\n };\n const onOptionChangeCancel = () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchOptionChangeCancel');\n close();\n };\n return (
\n {!isMobile && {t('OptionChangeModalContent.modalTitle')}}\n \n
\n
\n \n
\n
\n \n
\n
\n
);\n};\nconst _Pouch = (props) => {\n const [pouchItems, setPouchItems] = useState([]);\n const [announcements, setAnnouncements] = useState([]);\n const [isLoading, setIsLoading] = useState(false);\n const [isPriceLoading, setIsPriceLoading] = useState(false);\n const [initialized, setInitialized] = useState(false);\n const [selectedItems, setSelectedItems] = useState({});\n const isInitializedRef = useRef(false);\n const [targetItem, setTargetItem] = useState(null);\n const [error, setError] = useState(false);\n const modalContext = useContext(ModalContext);\n const { openCouponModal, closeModal, isModalOpenable, couponModalInfo, openCouponModalByIdentifier } = modalContext;\n const { t } = useTranslation('store-pouch');\n const modalAlreadyOpen = useRef(false);\n const selectedModalRef = useRef(null);\n useEffect(() => {\n if (!couponModalInfo)\n return;\n if (pouchItems.length === 0)\n return;\n const location = typeof window === 'undefined' ? null : window.location.pathname;\n const existingProductIds = new Set(pouchItems.map(e => e.option.product.id));\n const modals = couponModalInfo.modal_list.filter(modal => modal.pathname_whitelist.includes(location));\n for (const modal of modals) {\n const targetProductIds = modal.pouch_target_product_ids;\n if (targetProductIds && targetProductIds.length > 0) {\n if (targetProductIds.filter(e => existingProductIds.has(e)).length === 0) {\n continue;\n }\n }\n if (!isModalOpenable(modal)) {\n continue;\n }\n if (modalAlreadyOpen.current) {\n continue;\n }\n selectedModalRef.current = modal;\n openCouponModal(modal);\n modalAlreadyOpen.current = true;\n break;\n }\n }, [pouchItems, couponModalInfo]);\n const { user, fetchUser } = useContext(UserContext);\n const pouchContext = useContext(PouchContext);\n const router = useRouter();\n const locale = router.locale;\n const [selectedItemPriceInfo, setSelectedItemPriceInfo] = useState({\n total_price: 0,\n total_discounted_price: 0,\n option_id_to_discount_info: {},\n next_available_coupons: [],\n delivery_fee: 0\n });\n const totalPrice = useMemo(() => {\n return selectedItemPriceInfo.total_price;\n }, [selectedItemPriceInfo]);\n const totalDiscountPrice = useMemo(() => {\n return selectedItemPriceInfo.total_discounted_price;\n }, [selectedItemPriceInfo]);\n const currency = useMemo(() => {\n return selectedItemPriceInfo.currency;\n }, [selectedItemPriceInfo]);\n const shippingFee = useMemo(() => {\n return selectedItemPriceInfo.delivery_fee;\n }, [selectedItemPriceInfo]);\n const shippingFeeText = useMemo(() => {\n if (shippingFee === 0) {\n return t('Pouch.freeShipping');\n }\n return '+' + formattedPrice(shippingFee, selectedItemPriceInfo.currency) + t(`common:currency.${currency}`);\n }, [selectedItemPriceInfo]);\n const taxPrice = useMemo(() => {\n if (Boolean(selectedItemPriceInfo?.total_tax_price)) {\n return selectedItemPriceInfo.total_tax_price;\n }\n return 0;\n }, [selectedItemPriceInfo]);\n const disabled = totalPrice <= 0 || isLoading || isPriceLoading;\n const maxOpensAtTimestamp = pouchItems.filter(e => e.id in selectedItems).reduce((acc, cur) => {\n const opensAtTimestamp = cur.option.product.opens_at_timestamp;\n if (opensAtTimestamp) {\n return Math.max(acc, opensAtTimestamp);\n }\n return acc;\n }, 0);\n const { timeString } = useTimer(maxOpensAtTimestamp);\n const purchaseButtonText = useMemo(() => {\n return user\n ? t('Pouch.order', { price: !disabled ? numberWithComma(totalDiscountPrice) : '' })\n : t('Pouch.loginToOrder');\n }, [user, disabled, totalDiscountPrice, t]);\n const initialize = async () => {\n const prevPouchItemIds = pouchItems.map(x => x.id);\n if (user) {\n setIsLoading(true);\n try {\n const res = await Axios.get('v2/store/pouch/');\n console.log('initialize', res.data);\n if (res.status < 400) {\n const pouchInfo = res.data;\n const fetchedPouchItems = pouchInfo.pouch_items;\n if (isInitializedRef.current) {\n const newItems = fetchedPouchItems.filter(x => !prevPouchItemIds.includes(x.id));\n if (newItems.length > 0) {\n setSelectedItems(prev => {\n const newSelectedItems = { ...prev };\n for (const item of newItems) {\n newSelectedItems[item.id] = 1;\n }\n return newSelectedItems;\n });\n }\n return;\n }\n isInitializedRef.current = true;\n const newSelectedItems = {};\n for (const item of fetchedPouchItems) {\n if (!item.option.is_sold_out) {\n newSelectedItems[item.id] = 1;\n }\n }\n setAnnouncements(pouchInfo.announcements);\n setPouchItems(fetchedPouchItems);\n setSelectedItems(newSelectedItems);\n }\n else {\n setError(true);\n }\n }\n catch (e) {\n captureException(e);\n setError(false);\n }\n finally {\n setIsLoading(false);\n setInitialized(true);\n isInitializedRef.current = true;\n }\n }\n else {\n setIsLoading(true);\n const pseudoPouchItems = JSON.parse(window.localStorage.getItem('pouch_items')) || [];\n const options = pseudoPouchItems.map(e => {\n return { option_id: e.option_id, referral_id: e.referral_id };\n });\n try {\n const res = await Axios.post('v1/store/get-options/', { options });\n if (res.status < 400) {\n const optionIdToOptionDict = {};\n for (const option of res.data) {\n optionIdToOptionDict[option.id] = option;\n }\n const newPouchItems = pseudoPouchItems.map(e => Object.assign(JSON.parse(JSON.stringify(e)), { option: optionIdToOptionDict[e.option_id] })).filter(e => !!e.option);\n const newSelectedItems = {};\n const newItems = newPouchItems.filter(x => !prevPouchItemIds.includes(x.id));\n if (!isInitializedRef.current) {\n for (const item of pseudoPouchItems) {\n const option = optionIdToOptionDict[item.option_id];\n if (option && !option.is_sold_out) {\n newSelectedItems[item.id] = 1;\n }\n }\n }\n isInitializedRef.current = true;\n for (const item of newItems) {\n newSelectedItems[item.id] = 1;\n }\n setPouchItems(newPouchItems);\n setSelectedItems(newSelectedItems);\n }\n else {\n setError(true);\n }\n }\n catch (e) {\n captureException(e);\n setError(false);\n }\n finally {\n setIsLoading(false);\n setInitialized(true);\n isInitializedRef.current = true;\n }\n }\n };\n useEffect(async () => {\n if (user === undefined) {\n return;\n }\n initialize();\n }, [user]);\n const [referralIdToNickname, setReferralIdToNickname] = useState({});\n useEffect(async () => {\n try {\n const res = await Axios.post('v1/palette/get-creator-nickname/', {\n referral_ids: pouchItems.filter(x => x.referral_id).map(x => x.referral_id)\n });\n if (res.status < 400) {\n setReferralIdToNickname(res.data.referral_id_to_nickname);\n return;\n }\n }\n catch (e) {\n captureException(e);\n }\n finally {\n }\n setReferralIdToNickname({});\n }, [pouchItems]);\n const [syncCountTrigger, setSyncCountTrigger] = useState({});\n const pouchItemsBrandNameGroup = useMemo(() => {\n const pouchGroup = {};\n for (const item of pouchItems) {\n const brand_name = item.option.product.brand_name;\n if (pouchGroup[brand_name] === undefined) {\n pouchGroup[brand_name] = [];\n }\n pouchGroup[brand_name].push(item);\n }\n return pouchGroup;\n }, [pouchItems]);\n const changeItem = async (pouchId, option, count, referralId, referralPostId) => {\n if (user) {\n try {\n setIsLoading(true);\n const loggingData = {\n pouch_id: pouchId,\n target_option_id: !!option ? option.id : null,\n count: count,\n referral_id: referralId,\n referral_post_id: referralPostId\n };\n typeof mixpanel !== 'undefined' && mixpanel.track('ChangePouchItem', loggingData);\n const res = await Axios.patch(`v1/store/pouch/${pouchId}/`, {\n option_id: !!option ? option.id : null,\n count: count,\n referral_id: referralId,\n referral_post_id: referralPostId\n });\n if (res.status < 400) {\n const prevItem = res.data.prev;\n const currItem = res.data.changed;\n setPouchItems((prevItems) => {\n const newPouchItems = [...prevItems].filter(pitem => {\n return (pitem.id !== prevItem.id) && (pitem.id !== currItem.id);\n });\n newPouchItems.push(currItem);\n newPouchItems.sort((a, b) => b.id - a.id);\n return newPouchItems;\n });\n setSelectedItems(oldItems => {\n return Object.fromEntries(Object.entries(oldItems).map(([k, v]) => {\n if (parseInt(k) === prevItem.id || parseInt(k) === currItem.id) {\n return [currItem.id, 1];\n }\n return [k, v];\n }));\n });\n fetchUser();\n }\n else {\n toast.info(t('Pouch.temporaryError'));\n }\n setSyncCountTrigger(Object());\n }\n catch (e) {\n captureException(e);\n toast.info(t('Pouch.temporaryError'));\n }\n finally {\n setIsLoading(false);\n }\n }\n else {\n const pseudoPouchItems = JSON.parse(window.localStorage.getItem('pouch_items'));\n if (!!option && !Boolean(option?.product?.opens_at_timestamp)) {\n const product = pouchItems.filter(e => e.id === pouchId).map(e => e.option.product)[0];\n option = Object.assign(JSON.parse(JSON.stringify(option)), { product: product });\n }\n if (count) {\n const newPseudoPouchItems = pseudoPouchItems.map(e => e.id === pouchId ? Object.assign({}, JSON.parse(JSON.stringify(e)), { count: count }) : e);\n pouchContext.setPouchItems(newPseudoPouchItems);\n setPouchItems(oldItems => {\n return oldItems.map(e => {\n if (e.id === pouchId) {\n e.count = count;\n }\n return e;\n });\n });\n }\n else {\n if (pseudoPouchItems.filter(e => e.option_id === option.id).length > 0) {\n const previousItem = pseudoPouchItems.filter(e => e.id === pouchId)[0];\n const currentItem = pseudoPouchItems.filter(e => e.option_id === option.id)[0];\n if (currentItem.id === previousItem.id) {\n return;\n }\n const newPseudoPouchItems = pseudoPouchItems.filter(e => e.option_id !== option.id).map(e => e.id === pouchId ? Object.assign(JSON.parse(JSON.stringify(e)), {\n option_id: option.id,\n count: previousItem.count + currentItem.count\n }) : e);\n pouchContext.setPouchItems(newPseudoPouchItems);\n setPouchItems(oldItems => {\n return oldItems.filter(e => e.option.id !== option.id).map(e => e.id === pouchId ? Object.assign(JSON.parse(JSON.stringify(e)), {\n option: option,\n count: previousItem.count + currentItem.count\n }) : e);\n });\n }\n else {\n const newPseudoPouchItems = pseudoPouchItems.map(e => e.id === pouchId ? Object.assign(JSON.parse(JSON.stringify(e)), { option_id: option.id }) : e);\n pouchContext.setPouchItems(newPseudoPouchItems);\n setPouchItems(oldItems => {\n return oldItems.map(e => e.id === pouchId ? Object.assign(JSON.parse(JSON.stringify(e)), { option: option }) : e);\n });\n }\n }\n setSyncCountTrigger(Object());\n }\n };\n useEffect(() => {\n if (!isInitializedRef.current) {\n return;\n }\n updatePriceInfo();\n }, [selectedItems, syncCountTrigger]);\n const { currentCouponModalRef } = useContext(ModalContext);\n useEffect(() => {\n updatePriceInfo();\n }, [currentCouponModalRef.current]);\n const updatePriceInfo = async () => {\n setIsPriceLoading(true);\n const selectedPouchItems = pouchItems.filter(e => selectedItems[e.id]);\n await fetchPriceInfo(selectedPouchItems, (res) => setSelectedItemPriceInfo(res));\n setIsPriceLoading(false);\n };\n const fetchPriceInfo = async (items, cb) => {\n try {\n const option_count_list = [];\n for (let pouchItem of items) {\n option_count_list.push({\n option_id: pouchItem.option.id,\n count: pouchItem.count,\n referral_id: pouchItem.referral_id\n });\n }\n const res = await Axios.post('v1/store/price/', {\n light_option_count_with_seller_list: option_count_list,\n should_fetch_next_available_coupons: true\n });\n if (res.status < 400) {\n console.log('res, ', res.data);\n cb(res.data);\n }\n else {\n captureMessage(JSON.stringify(res.data));\n }\n }\n catch (e) {\n captureException(e);\n return null;\n }\n finally {\n }\n };\n const validatePurchase = () => {\n if (timeString) {\n toastContext.closeAndOpenToast(t('Pouch.notOpenYet'));\n return false;\n }\n return true;\n };\n const checkOut = async (isGift) => {\n if (!validatePurchase()) {\n return;\n }\n const payCurrency = localeToCurrency(router.locale);\n const selectedPouchItems = pouchItems.filter(e => selectedItems[e.id]);\n const data = !!user ?\n {\n pouch_ids: selectedPouchItems.map(e => e.id),\n is_gift: !!isGift,\n currency: payCurrency\n }\n :\n {\n checkout_items: selectedPouchItems.map(e => {\n return {\n option_id: e.option.id, count: e.count, referral_id: e.referral_id,\n reservation_time: null\n };\n }),\n is_gift: !!isGift,\n currency: payCurrency\n };\n const totalCount = selectedPouchItems.reduce((acc, curr) => acc + curr.count, 0);\n const totalUniqueOptionCount = selectedPouchItems.length;\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchCheckout', {\n totalCount,\n totalPrice: totalDiscountPrice,\n totalUniqueOptionCount,\n isGift: isGift\n });\n setIsLoading(true);\n try {\n const res = await order(data);\n if (res.status < 400) {\n const ordNum = res.data.order_number;\n window.sessionStorage.setItem(`checkout_requested_pouch_items_${ordNum}`, JSON.stringify(selectedPouchItems));\n router.push(`/store/orders/${ordNum}/checkout`);\n }\n else {\n captureMessage(JSON.stringify(res.data));\n toast.info(res.data.display_message || t('Pouch.temporaryError'));\n }\n console.log(res);\n }\n catch (e) {\n captureException(e);\n toast.info(t('Pouch.temporaryError'));\n }\n finally {\n setIsLoading(false);\n }\n };\n const handleLoginAndCheckout = () => {\n if (!user) {\n redirectToLogin(router, true);\n }\n else {\n checkOut(false);\n }\n };\n const deleteItem = async (pouchId) => {\n const filteredOptions = pouchItems.filter(e => e.id === pouchId);\n const option = (filteredOptions && filteredOptions.length > 0) ? filteredOptions[0].option : null;\n const isOptionGroupExists = option && option.product.product_option_group_list && option.product.product_option_group_list.length > 0;\n customConfirm(isOptionGroupExists ? t('Pouch.deleteConfirmWithOptions') : t('Pouch.deleteConfirm2'), t('Pouch.delete'), t('Pouch.cancel'), () => {\n deleteItemConfirm(pouchId);\n }, () => {\n });\n };\n const deleteItemConfirm = async (pouchId) => {\n if (user) {\n try {\n setIsLoading(true);\n const res = await Axios.delete(`v1/store/pouch/${pouchId}/`);\n console.log('res', res);\n if (res.status < 400) {\n const deletedItemIds = res.data.deleted_pouch_ids || [parseInt(pouchId)];\n setPouchItems(oldItems => oldItems.filter(e => !deletedItemIds.includes(e.id)));\n setSelectedItems(oldItems => {\n return Object.fromEntries(Object.entries(oldItems).filter(([k, v]) => !deletedItemIds.includes(parseInt(k))));\n });\n fetchUser();\n }\n else {\n toast.info(t('Pouch.temporaryError'));\n }\n }\n catch (e) {\n captureException(e);\n toast.info(t('Pouch.temporaryError'));\n }\n finally {\n setIsLoading(false);\n }\n }\n else {\n const pseudoPouchItems = JSON.parse(window.localStorage.getItem('pouch_items'));\n const newPseudoPouchItems = pseudoPouchItems.filter(e => e.id !== pouchId);\n pouchContext.setPouchItems(newPseudoPouchItems);\n setPouchItems(oldItems => {\n return oldItems.filter(e => e.id !== pouchId);\n });\n setSelectedItems(oldItems => {\n return Object.fromEntries(Object.entries(oldItems).filter(([k, v]) => k.toString() !== pouchId.toString()));\n });\n }\n };\n const deleteItemsById = async (targetIds) => {\n if (user) {\n try {\n setIsLoading(true);\n const res = await Axios.delete('v1/store/pouch/', { data: { ids: targetIds } });\n if (res.status < 400) {\n const ids = res.data;\n setPouchItems(oldItems => oldItems.filter(e => !ids.includes(e.id)));\n setSelectedItems(oldItems => {\n return Object.fromEntries(Object.entries(oldItems).filter(([k, v]) => !ids.includes(parseInt(k))));\n });\n fetchUser();\n }\n else {\n toast.info(t('Pouch.temporaryError'));\n }\n }\n catch (e) {\n captureException(e);\n toast.info(t('Pouch.temporaryError'));\n }\n finally {\n setIsLoading(false);\n }\n }\n else {\n const pseudoPouchItems = JSON.parse(window.localStorage.getItem('pouch_items'));\n const newPseudoPouchItems = pseudoPouchItems.filter(e => !targetIds.map(el => el.toString()).includes(e.id.toString()));\n pouchContext.setPouchItems(newPseudoPouchItems);\n setPouchItems(oldItems => {\n return oldItems.filter(e => !targetIds.map(e => e.toString()).includes(e.id.toString()));\n });\n setSelectedItems(oldItems => {\n return Object.fromEntries(Object.entries(oldItems).filter(([k, v]) => !targetIds.map(e => e.toString()).includes(k)));\n });\n }\n };\n const toggleItemSelection = (pouchItem) => {\n console.log('toggleItemSelection', pouchItem);\n if (selectedItems[pouchItem.id]) {\n setSelectedItems(oldItems => {\n const newObj = JSON.parse(JSON.stringify(oldItems));\n delete newObj[pouchItem.id];\n return newObj;\n });\n }\n else {\n setSelectedItems(oldItems => {\n const newObj = JSON.parse(JSON.stringify(oldItems));\n newObj[pouchItem.id] = 1;\n return newObj;\n });\n }\n };\n const toggleAllItems = () => {\n let selectAll = true;\n if (Object.keys(selectedItems).length === pouchItems.filter(e => !e.option.is_sold_out).length && pouchItems.length > 0) {\n setSelectedItems({});\n selectAll = false;\n }\n else {\n const allIdDict = {};\n for (const item of pouchItems) {\n if (!item.option.is_sold_out) {\n allIdDict[item.id] = 1;\n }\n }\n setSelectedItems(allIdDict);\n }\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchToggleAllItemsClick', {\n selectAll\n });\n };\n const isMobile = useMediaQuery(`(max-width:${utilStyles.breakpointMobile})`);\n const { shouldHideNavBar } = useContext(ScrollContext);\n const onDeleteSoldOutItemsClick = () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchDeleteSoldOutItemsClick');\n deleteItemsById(pouchItems.filter(e => e.option.is_sold_out).map(e => e.id));\n };\n const onDeleteSelectedItemsClick = () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchDeleteSelectedItemsClick');\n deleteItemsById(Object.keys(selectedItems));\n };\n const toastContext = useContext(ToastContext);\n const handleChangeOptionModalOpen = (pouchItem) => {\n toastContext.closeToast();\n setTargetItem(pouchItem);\n };\n const nextAvailableCoupon = selectedItemPriceInfo.next_available_coupons[0];\n const bestAvailableCoupon = selectedItemPriceInfo.best_available_coupon;\n const buttonRef = useRef(null);\n useEffect(() => {\n const handleScroll = throttle((e) => {\n if (buttonRef.current) {\n buttonRef.current.classList.toggle(styles.shadow, buttonRef.current.offsetTop - window.scrollY > 500);\n }\n }, 100);\n window.addEventListener('scroll', handleScroll, true);\n return () => {\n window.removeEventListener('scroll', handleScroll, true);\n };\n }, []);\n const handleGoToStoreButtonClick = () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchEmptyGoToStoreButtonClick');\n };\n const handleDisabledButtonClick = () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchUnselectedButtonClick');\n toastContext.closeToast();\n const toastId = toast.info(totalPrice <= 0 ? t('Pouch.selectProduct') : t('Pouch.loading'));\n toastContext.registerToast(toastId);\n };\n const handleDisabledGiftButtonClick = () => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchUnselectedGiftButtonClick');\n toastContext.closeToast();\n const toastId = toast.info(totalPrice <= 0 ? t('Pouch.selectProduct') : t('Pouch.loading'));\n toastContext.registerToast(toastId);\n };\n const handleAnnouncementClick = (announcement, idx) => {\n typeof mixpanel !== 'undefined' && mixpanel.track('PouchAnnouncementClick', {\n text: announcement.text,\n link: announcement.link,\n modal_identifier: announcement.modal_identifier,\n idx\n });\n if (announcement.modal_identifier) {\n openCouponModalByIdentifier(announcement.modal_identifier);\n return;\n }\n if (announcement.link) {\n router.push(announcement.link);\n }\n };\n return (<>\n setTargetItem(null)}>\n setTargetItem(null)} changeItem={changeItem}/>\n \n
\n
\n router.back()}/>\n
\n {locale === 'ko' ?\n (announcements && announcements.length > 0) ?\n :\n
\n {t('Pouch.freeShipping')}\n
:
}\n
\n
\n
\n {isLoading && !initialized ?\n \n :\n pouchItems.length > 0\n ?\n <>\n
\n
\n {Object.keys(selectedItems).length === pouchItems.filter(e => !e.option.is_sold_out).length && Object.keys(selectedItems).length > 0\n ?\n \n :\n }\n \n {t('Pouch.selectAll', { selectedCount: Object.keys(selectedItems).length, totalCount: pouchItems.length })}\n \n
\n {\n customConfirm(t(\"Pouch.deleteConfirm3\"), t('Pouch.delete'), t('Pouch.cancel'), onDeleteSelectedItemsClick, () => {\n });\n }}>{t('Pouch.deleteSelected')}\n
\n {Object.entries(pouchItemsBrandNameGroup).map(([brandName, items]) => {\n return (
\n
\n
\n {brandName}\n
\n {items.map(e => {\n return ( handleChangeOptionModalOpen(e)} toggleItemSelection={toggleItemSelection} selectedItems={selectedItems} changeItem={changeItem} deleteItem={deleteItem} isLoading={isLoading || isPriceLoading} syncCountTrigger={syncCountTrigger} referralIdToNickname={referralIdToNickname} priceInfo={selectedItemPriceInfo} isPriceLoading={isPriceLoading}/>);\n })}\n
);\n })}\n \n :\n
\n {t('Pouch.emptyPouch')}\n \n \n \n {t('Pouch.goToStore')}\n \n \n \n
}\n
\n
\n {\n isInitializedRef.current = false;\n initialize();\n }} curationKey=\"pouch\" location=\"pouch\" isInitialized={isInitializedRef.current} productOptionIds={pouchItems.map(e => e.option.id)} isAddToPouchVisible isFoldable/>\n {pouchItems.length > 0 &&\n <>\n {t('Pouch.orderAmount')}\n
\n
\n {isPriceLoading\n ? \n :\n <>\n
\n {t('Pouch.totalProductPrice')}\n
\n , ]}/>\n
\n
\n
\n {t('Pouch.discountAmount')}\n
\n , ]}/>\n
\n
\n {taxPrice > 0 &&\n
\n {t('Pouch.tax')}\n
\n ,\n ]}/>\n
\n
}\n
\n {t('Pouch.shippingFee')}\n
\n \n {shippingFeeText}\n \n
\n
\n
\n {t('Pouch.totalPaymentAmount')}\n
\n , ]}/>\n
\n
\n {locale === 'ko' &&\n
\n \n ]}/>\n \n
}\n }\n
\n
\n
\n {Boolean(timeString) &&\n
\n ]} values={{ timeString }}/>\n
}\n
\n {(Boolean(nextAvailableCoupon) || Boolean(bestAvailableCoupon) || user === null) &&\n }\n
\n {user === null ?\n
\n checkOut(false)} white={!disabled} lightWhite={disabled}>\n {t('Pouch.nonMemberOrder')}\n \n
\n :\n (locale === 'ko' &&\n
\n checkOut(true)} fontSize={16} white={!disabled} lightWhite={disabled}>\n {t('Pouch.gift')}\n \n
)}\n \n
\n
\n
\n }\n
\n );\n};\nconst Pouch = (props) => {\n return (<>\n <_Pouch />\n );\n};\nconst WrappedPouch = (props) => {\n return (\n \n );\n};\nexport default WrappedPouch;\n\n async function __Next_Translate__getStaticProps__195d139bd06__(ctx) {\n \n return {\n \n \n props: {\n \n ...(await __loadNamespaces({\n ...ctx,\n ...__i18nConfig,\n pathname: '/store/pouch',\n loaderName: 'getStaticProps',\n loadLocaleFrom: __i18nConfig && __i18nConfig.loadLocaleFrom || ((l, n) => import(`@next-translate-root/locales/${l}/${n}`).then(m => m.default)),\n }))\n }\n }\n }\n export { __Next_Translate__getStaticProps__195d139bd06__ as getStaticProps }\n ","// extracted by mini-css-extract-plugin\nmodule.exports = {\"brand\":\"#ffa0cc\",\"typo1\":\"#9e9e9e\",\"typo3\":\"#424242\",\"breakpointMobile\":\"999999px\",\"breakpointTablet\":\"999999px\",\"breakpointDesktop\":\"999999px\",\"topBarHeight\":\"80px\",\"mobilStoreNavBarHeight\":\"40px\",\"topPadding\":\"40px\",\"topBannerHeight\":\"40px\",\"topTabBarHeight\":\"56px\",\"layoutLeftPaddingNew\":\"16px\",\"layoutRightPaddingNew\":\"16px\",\"heading2Xl\":\"CouponDiscountGaugeBar_heading2Xl__h2ew9\",\"headingXl\":\"CouponDiscountGaugeBar_headingXl__r_cZq\",\"headingLg\":\"CouponDiscountGaugeBar_headingLg__tAs0r\",\"headingMd\":\"CouponDiscountGaugeBar_headingMd__dMF_V\",\"borderCircle\":\"CouponDiscountGaugeBar_borderCircle__jNOJM\",\"colorInherit\":\"CouponDiscountGaugeBar_colorInherit__h9cwS\",\"padding1px\":\"CouponDiscountGaugeBar_padding1px__qY6Ej\",\"list\":\"CouponDiscountGaugeBar_list__trgAu\",\"listItem\":\"CouponDiscountGaugeBar_listItem__AtMvH\",\"lightText\":\"CouponDiscountGaugeBar_lightText__EHfnb\",\"testButton\":\"CouponDiscountGaugeBar_testButton__iK6u5\",\"testProduct\":\"CouponDiscountGaugeBar_testProduct__AFN6r\",\"cursorPointer\":\"CouponDiscountGaugeBar_cursorPointer__TT_IN\",\"cursorUnset\":\"CouponDiscountGaugeBar_cursorUnset__gW1jg\",\"block\":\"CouponDiscountGaugeBar_block__4weyr\",\"inlineBlock\":\"CouponDiscountGaugeBar_inlineBlock__g6YLe\",\"fullWidth\":\"CouponDiscountGaugeBar_fullWidth__VZbVr\",\"fullFlex\":\"CouponDiscountGaugeBar_fullFlex__bMy_6\",\"verticalMiddle\":\"CouponDiscountGaugeBar_verticalMiddle__Dz3ZN\",\"justifyContentStart\":\"CouponDiscountGaugeBar_justifyContentStart__LX0qw\",\"justifyContentCenter\":\"CouponDiscountGaugeBar_justifyContentCenter__U20pu\",\"justifyContentSpaceBetween\":\"CouponDiscountGaugeBar_justifyContentSpaceBetween__uB0OB\",\"justifyContentEnd\":\"CouponDiscountGaugeBar_justifyContentEnd__7s2MG\",\"alignItemsCenter\":\"CouponDiscountGaugeBar_alignItemsCenter__X03WX\",\"socialIcon\":\"CouponDiscountGaugeBar_socialIcon__j6MgH\",\"alignItemsStart\":\"CouponDiscountGaugeBar_alignItemsStart__uC5X1\",\"alignItemsEnd\":\"CouponDiscountGaugeBar_alignItemsEnd__vrTxH\",\"rootContainer\":\"CouponDiscountGaugeBar_rootContainer__Ih4uR\",\"flexRow\":\"CouponDiscountGaugeBar_flexRow__wRtHu\",\"flexCol\":\"CouponDiscountGaugeBar_flexCol__cfPWT\",\"flexFit\":\"CouponDiscountGaugeBar_flexFit__Iu8e8\",\"container\":\"CouponDiscountGaugeBar_container__Cqe29\",\"relative\":\"CouponDiscountGaugeBar_relative__T2ywY\",\"absolute\":\"CouponDiscountGaugeBar_absolute__VdPSL\",\"displayNone\":\"CouponDiscountGaugeBar_displayNone__PDIDS\",\"square\":\"CouponDiscountGaugeBar_square__4s0hc\",\"noBorderRadius\":\"CouponDiscountGaugeBar_noBorderRadius__7SJeX\",\"no-select\":\"CouponDiscountGaugeBar_no-select__f7M_D\",\"borderUnderLine\":\"CouponDiscountGaugeBar_borderUnderLine__gNdR3\",\"borderLine2\":\"CouponDiscountGaugeBar_borderLine2__ck4oU\",\"borderUnderLineThick\":\"CouponDiscountGaugeBar_borderUnderLineThick__G6YB_\",\"mobileBorder\":\"CouponDiscountGaugeBar_mobileBorder__X7guN\",\"tableBorderUnderLine\":\"CouponDiscountGaugeBar_tableBorderUnderLine__aeywI\",\"txtTitle\":\"CouponDiscountGaugeBar_txtTitle__oAf1H\",\"bold\":\"CouponDiscountGaugeBar_bold__t1eRV\",\"semiBold\":\"CouponDiscountGaugeBar_semiBold__ZNdi1\",\"txtIndent\":\"CouponDiscountGaugeBar_txtIndent__x2Qmr\",\"txtSmallTitle\":\"CouponDiscountGaugeBar_txtSmallTitle__0CDrs\",\"txtSubTitle\":\"CouponDiscountGaugeBar_txtSubTitle__CkWnA\",\"txtPlain\":\"CouponDiscountGaugeBar_txtPlain__HAQGb\",\"bullet\":\"CouponDiscountGaugeBar_bullet__AUSfz\",\"invisible\":\"CouponDiscountGaugeBar_invisible__sBrbG\",\"pageTitle\":\"CouponDiscountGaugeBar_pageTitle__Pywbw\",\"sidePadding\":\"CouponDiscountGaugeBar_sidePadding__2XYvj\",\"newSidePadding\":\"CouponDiscountGaugeBar_newSidePadding__hPm2d\",\"whiteBackground\":\"CouponDiscountGaugeBar_whiteBackground__qO787\",\"sideMargin\":\"CouponDiscountGaugeBar_sideMargin__TGRhl\",\"fullHeight\":\"CouponDiscountGaugeBar_fullHeight__qUt1y\",\"containerElevated\":\"CouponDiscountGaugeBar_containerElevated__KdnDY\",\"noLineHeight\":\"CouponDiscountGaugeBar_noLineHeight__CLotr\",\"noMargin\":\"CouponDiscountGaugeBar_noMargin__GqNEm\",\"fullLineHeight\":\"CouponDiscountGaugeBar_fullLineHeight__kc_W_\",\"mainTitle\":\"CouponDiscountGaugeBar_mainTitle__4BdP3\",\"hideScrollbar\":\"CouponDiscountGaugeBar_hideScrollbar__97wgd\",\"brandColorText\":\"CouponDiscountGaugeBar_brandColorText__2iigL\",\"hide\":\"CouponDiscountGaugeBar_hide__3P6U0\",\"pageContainer\":\"CouponDiscountGaugeBar_pageContainer__oE7qL\",\"transparent\":\"CouponDiscountGaugeBar_transparent__wnYo1\",\"textAlignCenter\":\"CouponDiscountGaugeBar_textAlignCenter__Tct6w\",\"topSticky\":\"CouponDiscountGaugeBar_topSticky__X3BdW\",\"topFixed\":\"CouponDiscountGaugeBar_topFixed__PC0Df\",\"stickBottom\":\"CouponDiscountGaugeBar_stickBottom__JSKrt\",\"transparentButton\":\"CouponDiscountGaugeBar_transparentButton__Q1usg\",\"transparentChildButton\":\"CouponDiscountGaugeBar_transparentChildButton__RaX5B\",\"medium\":\"CouponDiscountGaugeBar_medium__55sFA\",\"errorText\":\"CouponDiscountGaugeBar_errorText__C0RqZ\",\"discountDetail\":\"CouponDiscountGaugeBar_discountDetail__Du9X_\",\"discountDetailEmphasis\":\"CouponDiscountGaugeBar_discountDetailEmphasis__rtdmL\",\"discountEmphasis\":\"CouponDiscountGaugeBar_discountEmphasis__uNi9n\",\"progressBar\":\"CouponDiscountGaugeBar_progressBar__zTAW_\",\"progressBarDone\":\"CouponDiscountGaugeBar_progressBarDone__oN_wy\",\"discountDetailMargin\":\"CouponDiscountGaugeBar_discountDetailMargin__djJnb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"brand\":\"#ffa0cc\",\"typo1\":\"#9e9e9e\",\"typo3\":\"#424242\",\"breakpointMobile\":\"999999px\",\"breakpointTablet\":\"999999px\",\"breakpointDesktop\":\"999999px\",\"topBarHeight\":\"80px\",\"mobilStoreNavBarHeight\":\"40px\",\"topPadding\":\"40px\",\"topBannerHeight\":\"40px\",\"topTabBarHeight\":\"56px\",\"layoutLeftPaddingNew\":\"16px\",\"layoutRightPaddingNew\":\"16px\",\"heading2Xl\":\"TextBanner_heading2Xl__rfWX7\",\"headingXl\":\"TextBanner_headingXl__mJnmY\",\"headingLg\":\"TextBanner_headingLg__0SLjm\",\"headingMd\":\"TextBanner_headingMd_____Oa\",\"borderCircle\":\"TextBanner_borderCircle__bhWtJ\",\"colorInherit\":\"TextBanner_colorInherit__aEQAG\",\"padding1px\":\"TextBanner_padding1px___wGHr\",\"list\":\"TextBanner_list__HYhZI\",\"listItem\":\"TextBanner_listItem__if_rh\",\"lightText\":\"TextBanner_lightText__gK_Rt\",\"testButton\":\"TextBanner_testButton__rJaTf\",\"testProduct\":\"TextBanner_testProduct__jCrRG\",\"cursorPointer\":\"TextBanner_cursorPointer___Ex8X\",\"cursorUnset\":\"TextBanner_cursorUnset__Gv6xd\",\"block\":\"TextBanner_block__MxTir\",\"inlineBlock\":\"TextBanner_inlineBlock__o52U_\",\"fullWidth\":\"TextBanner_fullWidth__0oZn1\",\"fullFlex\":\"TextBanner_fullFlex__D_xZV\",\"verticalMiddle\":\"TextBanner_verticalMiddle__79ubS\",\"justifyContentStart\":\"TextBanner_justifyContentStart__U5SKd\",\"justifyContentCenter\":\"TextBanner_justifyContentCenter__laf_Z\",\"justifyContentSpaceBetween\":\"TextBanner_justifyContentSpaceBetween__qmLd6\",\"justifyContentEnd\":\"TextBanner_justifyContentEnd__g2tuK\",\"alignItemsCenter\":\"TextBanner_alignItemsCenter__Wc1mj\",\"socialIcon\":\"TextBanner_socialIcon__nn0Hr\",\"alignItemsStart\":\"TextBanner_alignItemsStart__IA89J\",\"alignItemsEnd\":\"TextBanner_alignItemsEnd__FvbDy\",\"rootContainer\":\"TextBanner_rootContainer__DWt0a\",\"flexRow\":\"TextBanner_flexRow__Oon36\",\"flexCol\":\"TextBanner_flexCol__NiqIt\",\"flexFit\":\"TextBanner_flexFit__aIET_\",\"container\":\"TextBanner_container__cxo_Y\",\"relative\":\"TextBanner_relative__no6_V\",\"absolute\":\"TextBanner_absolute__7pfIV\",\"displayNone\":\"TextBanner_displayNone__ESJOH\",\"square\":\"TextBanner_square__3Vywb\",\"noBorderRadius\":\"TextBanner_noBorderRadius__fJ7LG\",\"no-select\":\"TextBanner_no-select__N6HPi\",\"borderUnderLine\":\"TextBanner_borderUnderLine__vAsbi\",\"borderLine2\":\"TextBanner_borderLine2__Zflxm\",\"borderUnderLineThick\":\"TextBanner_borderUnderLineThick__wrfhb\",\"mobileBorder\":\"TextBanner_mobileBorder__9bGyt\",\"tableBorderUnderLine\":\"TextBanner_tableBorderUnderLine__vaTso\",\"txtTitle\":\"TextBanner_txtTitle__FTPyg\",\"bold\":\"TextBanner_bold__kODjP\",\"semiBold\":\"TextBanner_semiBold__gJjJw\",\"txtIndent\":\"TextBanner_txtIndent__yB91L\",\"txtSmallTitle\":\"TextBanner_txtSmallTitle__GaT0o\",\"txtSubTitle\":\"TextBanner_txtSubTitle__koU7T\",\"txtPlain\":\"TextBanner_txtPlain__ZnSxt\",\"bullet\":\"TextBanner_bullet__4C5sR\",\"invisible\":\"TextBanner_invisible__B3wZM\",\"pageTitle\":\"TextBanner_pageTitle__NB8fR\",\"sidePadding\":\"TextBanner_sidePadding__Pj1U6\",\"newSidePadding\":\"TextBanner_newSidePadding__t1hcK\",\"whiteBackground\":\"TextBanner_whiteBackground__uT6rc\",\"sideMargin\":\"TextBanner_sideMargin__45vHj\",\"fullHeight\":\"TextBanner_fullHeight__txe3U\",\"containerElevated\":\"TextBanner_containerElevated__D1qWy\",\"noLineHeight\":\"TextBanner_noLineHeight__Gxv_H\",\"noMargin\":\"TextBanner_noMargin__6JQ_l\",\"fullLineHeight\":\"TextBanner_fullLineHeight__DKFpI\",\"mainTitle\":\"TextBanner_mainTitle__Hf_UV\",\"hideScrollbar\":\"TextBanner_hideScrollbar__MbcyH\",\"brandColorText\":\"TextBanner_brandColorText__nHsZa\",\"hide\":\"TextBanner_hide__k6gLf\",\"pageContainer\":\"TextBanner_pageContainer__6Ss4a\",\"transparent\":\"TextBanner_transparent__HY1qJ\",\"textAlignCenter\":\"TextBanner_textAlignCenter__M_QBV\",\"topSticky\":\"TextBanner_topSticky__awVHY\",\"topFixed\":\"TextBanner_topFixed__xdRg3\",\"stickBottom\":\"TextBanner_stickBottom__9_HME\",\"transparentButton\":\"TextBanner_transparentButton__HiyZb\",\"transparentChildButton\":\"TextBanner_transparentChildButton__T1Dz0\",\"medium\":\"TextBanner_medium__zm7lS\",\"errorText\":\"TextBanner_errorText__ZH1bM\",\"root\":\"TextBanner_root__EuMKr\",\"textContainer\":\"TextBanner_textContainer__U2R8V\",\"swiperWrapper\":\"TextBanner_swiperWrapper__oREW4\",\"swiper\":\"TextBanner_swiper___R_Tw\",\"bannerItem\":\"TextBanner_bannerItem__uPkl_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"brand\":\"#ffa0cc\",\"typo1\":\"#9e9e9e\",\"typo3\":\"#424242\",\"breakpointMobile\":\"999999px\",\"breakpointTablet\":\"999999px\",\"breakpointDesktop\":\"999999px\",\"topBarHeight\":\"80px\",\"mobilStoreNavBarHeight\":\"40px\",\"topPadding\":\"40px\",\"topBannerHeight\":\"40px\",\"topTabBarHeight\":\"56px\",\"layoutLeftPaddingNew\":\"16px\",\"layoutRightPaddingNew\":\"16px\",\"heading2Xl\":\"ProductBasedCurationListSection_heading2Xl__I6nC9\",\"headingXl\":\"ProductBasedCurationListSection_headingXl__wEr8_\",\"headingLg\":\"ProductBasedCurationListSection_headingLg__g5rPR\",\"headingMd\":\"ProductBasedCurationListSection_headingMd__xR99S\",\"borderCircle\":\"ProductBasedCurationListSection_borderCircle__iFdhj\",\"colorInherit\":\"ProductBasedCurationListSection_colorInherit__mKOuC\",\"padding1px\":\"ProductBasedCurationListSection_padding1px__xAQun\",\"list\":\"ProductBasedCurationListSection_list__OYkQc\",\"listItem\":\"ProductBasedCurationListSection_listItem__N7tw5\",\"lightText\":\"ProductBasedCurationListSection_lightText__WlDtC\",\"testButton\":\"ProductBasedCurationListSection_testButton___yGJi\",\"testProduct\":\"ProductBasedCurationListSection_testProduct___K88y\",\"cursorPointer\":\"ProductBasedCurationListSection_cursorPointer__IKEAw\",\"cursorUnset\":\"ProductBasedCurationListSection_cursorUnset__kllfZ\",\"block\":\"ProductBasedCurationListSection_block__twROc\",\"inlineBlock\":\"ProductBasedCurationListSection_inlineBlock__qLYW_\",\"fullWidth\":\"ProductBasedCurationListSection_fullWidth__ItrNM\",\"fullFlex\":\"ProductBasedCurationListSection_fullFlex__3SMNM\",\"verticalMiddle\":\"ProductBasedCurationListSection_verticalMiddle__WuNx_\",\"justifyContentStart\":\"ProductBasedCurationListSection_justifyContentStart__EUB_V\",\"justifyContentCenter\":\"ProductBasedCurationListSection_justifyContentCenter__pkbYo\",\"justifyContentSpaceBetween\":\"ProductBasedCurationListSection_justifyContentSpaceBetween__ByUmD\",\"justifyContentEnd\":\"ProductBasedCurationListSection_justifyContentEnd__ZAtCy\",\"alignItemsCenter\":\"ProductBasedCurationListSection_alignItemsCenter__BDwWu\",\"socialIcon\":\"ProductBasedCurationListSection_socialIcon__YTxhe\",\"alignItemsStart\":\"ProductBasedCurationListSection_alignItemsStart__2mwT3\",\"alignItemsEnd\":\"ProductBasedCurationListSection_alignItemsEnd__DlE4O\",\"rootContainer\":\"ProductBasedCurationListSection_rootContainer__xgx7M\",\"flexRow\":\"ProductBasedCurationListSection_flexRow__6n7ha\",\"flexCol\":\"ProductBasedCurationListSection_flexCol__ZQwmv\",\"flexFit\":\"ProductBasedCurationListSection_flexFit__rM1Jq\",\"container\":\"ProductBasedCurationListSection_container__5yoTP\",\"relative\":\"ProductBasedCurationListSection_relative__IVCNR\",\"absolute\":\"ProductBasedCurationListSection_absolute___WYiy\",\"displayNone\":\"ProductBasedCurationListSection_displayNone__Rw9Ib\",\"square\":\"ProductBasedCurationListSection_square__prC8j\",\"noBorderRadius\":\"ProductBasedCurationListSection_noBorderRadius__eh2Gg\",\"no-select\":\"ProductBasedCurationListSection_no-select__62u4D\",\"borderUnderLine\":\"ProductBasedCurationListSection_borderUnderLine__Y_nzH\",\"borderLine2\":\"ProductBasedCurationListSection_borderLine2__12zlC\",\"borderUnderLineThick\":\"ProductBasedCurationListSection_borderUnderLineThick__MLb4S\",\"mobileBorder\":\"ProductBasedCurationListSection_mobileBorder__vWZYM\",\"tableBorderUnderLine\":\"ProductBasedCurationListSection_tableBorderUnderLine__Jg4Yl\",\"txtTitle\":\"ProductBasedCurationListSection_txtTitle__CTgKo\",\"bold\":\"ProductBasedCurationListSection_bold__sIHJz\",\"semiBold\":\"ProductBasedCurationListSection_semiBold__XM6RU\",\"txtIndent\":\"ProductBasedCurationListSection_txtIndent__7IgEt\",\"txtSmallTitle\":\"ProductBasedCurationListSection_txtSmallTitle__Wdvqa\",\"txtSubTitle\":\"ProductBasedCurationListSection_txtSubTitle__mPV26\",\"txtPlain\":\"ProductBasedCurationListSection_txtPlain__mVixy\",\"bullet\":\"ProductBasedCurationListSection_bullet___zOfr\",\"invisible\":\"ProductBasedCurationListSection_invisible__LRKw7\",\"pageTitle\":\"ProductBasedCurationListSection_pageTitle___CQs6\",\"sidePadding\":\"ProductBasedCurationListSection_sidePadding__DIuLT\",\"newSidePadding\":\"ProductBasedCurationListSection_newSidePadding__6MTSd\",\"whiteBackground\":\"ProductBasedCurationListSection_whiteBackground__VmYvv\",\"sideMargin\":\"ProductBasedCurationListSection_sideMargin__hcQFv\",\"fullHeight\":\"ProductBasedCurationListSection_fullHeight__YEeu7\",\"containerElevated\":\"ProductBasedCurationListSection_containerElevated__RLXuE\",\"noLineHeight\":\"ProductBasedCurationListSection_noLineHeight__XC5tI\",\"noMargin\":\"ProductBasedCurationListSection_noMargin__U3nz8\",\"fullLineHeight\":\"ProductBasedCurationListSection_fullLineHeight__veUc3\",\"mainTitle\":\"ProductBasedCurationListSection_mainTitle__9CPa5\",\"hideScrollbar\":\"ProductBasedCurationListSection_hideScrollbar__IY64E\",\"brandColorText\":\"ProductBasedCurationListSection_brandColorText__uQAyd\",\"hide\":\"ProductBasedCurationListSection_hide__bAYgb\",\"pageContainer\":\"ProductBasedCurationListSection_pageContainer__jTQcG\",\"transparent\":\"ProductBasedCurationListSection_transparent__qNpFY\",\"textAlignCenter\":\"ProductBasedCurationListSection_textAlignCenter__bRXUn\",\"topSticky\":\"ProductBasedCurationListSection_topSticky__V5oCo\",\"topFixed\":\"ProductBasedCurationListSection_topFixed__XdsxU\",\"stickBottom\":\"ProductBasedCurationListSection_stickBottom__A6aqK\",\"transparentButton\":\"ProductBasedCurationListSection_transparentButton__VH6_H\",\"transparentChildButton\":\"ProductBasedCurationListSection_transparentChildButton__aiYU7\",\"medium\":\"ProductBasedCurationListSection_medium__ikgBB\",\"errorText\":\"ProductBasedCurationListSection_errorText__rEPH4\",\"curationListContainer\":\"ProductBasedCurationListSection_curationListContainer__84nwv\",\"curationBorder\":\"ProductBasedCurationListSection_curationBorder__A09Kf\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"brand\":\"pouch_brand__OnFYn\",\"typo1\":\"#9e9e9e\",\"typo3\":\"#424242\",\"breakpointMobile\":\"999999px\",\"breakpointTablet\":\"999999px\",\"breakpointDesktop\":\"999999px\",\"topBarHeight\":\"80px\",\"mobilStoreNavBarHeight\":\"40px\",\"topPadding\":\"40px\",\"topBannerHeight\":\"40px\",\"topTabBarHeight\":\"56px\",\"layoutLeftPaddingNew\":\"16px\",\"layoutRightPaddingNew\":\"16px\",\"heading2Xl\":\"pouch_heading2Xl__9GMLp\",\"headingXl\":\"pouch_headingXl__i46rA\",\"headingLg\":\"pouch_headingLg__DIRiq\",\"headingMd\":\"pouch_headingMd__wjW3w\",\"borderCircle\":\"pouch_borderCircle__CKG2p\",\"colorInherit\":\"pouch_colorInherit__EQX5t\",\"padding1px\":\"pouch_padding1px__IvE1c\",\"list\":\"pouch_list__IRqGu\",\"listItem\":\"pouch_listItem__2XBhi\",\"lightText\":\"pouch_lightText__1Ousk\",\"testButton\":\"pouch_testButton__tOx2W\",\"testProduct\":\"pouch_testProduct__2geVq\",\"cursorPointer\":\"pouch_cursorPointer__YjmcO\",\"selectorButton\":\"pouch_selectorButton__Yrpz4\",\"orderButton\":\"pouch_orderButton__F2_2v\",\"deleteText\":\"pouch_deleteText__RvCkg\",\"likeIcon\":\"pouch_likeIcon__2DtBi\",\"changeOption\":\"pouch_changeOption__2_gnX\",\"cursorUnset\":\"pouch_cursorUnset__FOQfH\",\"block\":\"pouch_block__bZ6rI\",\"inlineBlock\":\"pouch_inlineBlock__6256o\",\"fullWidth\":\"pouch_fullWidth__XSfGK\",\"fullFlex\":\"pouch_fullFlex__9D1Qp\",\"verticalMiddle\":\"pouch_verticalMiddle__82Zgk\",\"justifyContentStart\":\"pouch_justifyContentStart__YLgsF\",\"justifyContentCenter\":\"pouch_justifyContentCenter___y_lL\",\"emptyPouch\":\"pouch_emptyPouch___Hsse\",\"soldOut\":\"pouch_soldOut__kGZME\",\"emptyContainer\":\"pouch_emptyContainer__1rHL5\",\"justifyContentSpaceBetween\":\"pouch_justifyContentSpaceBetween__nECzc\",\"totalPriceContainer\":\"pouch_totalPriceContainer__KDo1o\",\"filterBar\":\"pouch_filterBar__xdIcx\",\"titleBar\":\"pouch_titleBar__X2LHK\",\"justifyContentEnd\":\"pouch_justifyContentEnd__GeZyu\",\"closeWrapper\":\"pouch_closeWrapper__wCx9B\",\"bonusContainer\":\"pouch_bonusContainer__B7OPA\",\"alignItemsCenter\":\"pouch_alignItemsCenter__g4jbT\",\"socialIcon\":\"pouch_socialIcon__KNPtJ\",\"alignItemsStart\":\"pouch_alignItemsStart__umSbo\",\"alignItemsEnd\":\"pouch_alignItemsEnd__zE_IY\",\"rootContainer\":\"pouch_rootContainer__vjMCJ\",\"flexRow\":\"pouch_flexRow__HqZeH\",\"cardPriceContainer\":\"pouch_cardPriceContainer__9fwmN\",\"cardContentContainer\":\"pouch_cardContentContainer__wOnWV\",\"listCardWrapper\":\"pouch_listCardWrapper__pOmsc\",\"body\":\"pouch_body__gvIXt\",\"flexCol\":\"pouch_flexCol__DRpDu\",\"productListContainer\":\"pouch_productListContainer__TRuLP\",\"flexFit\":\"pouch_flexFit__ptYBA\",\"container\":\"pouch_container__TldsR\",\"relative\":\"pouch_relative__arYdp\",\"absolute\":\"pouch_absolute__HB5_2\",\"displayNone\":\"pouch_displayNone__RQtZ6\",\"square\":\"pouch_square__m6__p\",\"noBorderRadius\":\"pouch_noBorderRadius__QcL6j\",\"no-select\":\"pouch_no-select__vpkhb\",\"borderUnderLine\":\"pouch_borderUnderLine__VPxCa\",\"borderLine2\":\"pouch_borderLine2__Y0Xwy\",\"borderUnderLineThick\":\"pouch_borderUnderLineThick__NkGVp\",\"mobileBorder\":\"pouch_mobileBorder__ehlM7\",\"tableBorderUnderLine\":\"pouch_tableBorderUnderLine__6ckyu\",\"txtTitle\":\"pouch_txtTitle__rCq_k\",\"bold\":\"pouch_bold__RgV70\",\"semiBold\":\"pouch_semiBold__GpIMl\",\"txtIndent\":\"pouch_txtIndent__xPy1t\",\"txtSmallTitle\":\"pouch_txtSmallTitle__PjGhD\",\"txtSubTitle\":\"pouch_txtSubTitle__k3yWc\",\"txtPlain\":\"pouch_txtPlain__ednkx\",\"bullet\":\"pouch_bullet__AhDIu\",\"invisible\":\"pouch_invisible__9vHbZ\",\"pageTitle\":\"pouch_pageTitle__8sbfQ\",\"sidePadding\":\"pouch_sidePadding__uHxJ0\",\"newSidePadding\":\"pouch_newSidePadding__3Ml_w\",\"whiteBackground\":\"pouch_whiteBackground__KHQLt\",\"sideMargin\":\"pouch_sideMargin__qSy8Z\",\"fullHeight\":\"pouch_fullHeight__Fys80\",\"containerElevated\":\"pouch_containerElevated__TpOMg\",\"noLineHeight\":\"pouch_noLineHeight__eoukv\",\"noMargin\":\"pouch_noMargin__Dli60\",\"fullLineHeight\":\"pouch_fullLineHeight__vZyEP\",\"mainTitle\":\"pouch_mainTitle__g1eoN\",\"hideScrollbar\":\"pouch_hideScrollbar__cXNEq\",\"brandColorText\":\"pouch_brandColorText__Wjhyj\",\"hide\":\"pouch_hide__W_Xcv\",\"pageContainer\":\"pouch_pageContainer__TTTLu\",\"transparent\":\"pouch_transparent__IoZD2\",\"textAlignCenter\":\"pouch_textAlignCenter__qtdHI\",\"topSticky\":\"pouch_topSticky__2zGQR\",\"topFixed\":\"pouch_topFixed__MLyOm\",\"stickBottom\":\"pouch_stickBottom__Bnn1I\",\"transparentButton\":\"pouch_transparentButton__jmOKJ\",\"transparentChildButton\":\"pouch_transparentChildButton__8IFK9\",\"medium\":\"pouch_medium__kY1sz\",\"errorText\":\"pouch_errorText__j2Poq\",\"header\":\"pouch_header__6xyMk\",\"listingSection\":\"pouch_listingSection__z1JqN\",\"announcement\":\"pouch_announcement__NQxTW\",\"priceSection\":\"pouch_priceSection__02Fs1\",\"orderInfoContainer\":\"pouch_orderInfoContainer__9XkWF\",\"listCardContainer\":\"pouch_listCardContainer__ZYQwO\",\"close\":\"pouch_close__UIXPb\",\"checkboxWrapper\":\"pouch_checkboxWrapper__89U_v\",\"checkBox\":\"pouch_checkBox__fxlKT\",\"infoContainer\":\"pouch_infoContainer__ghzt_\",\"imageWrapper\":\"pouch_imageWrapper__iJjEZ\",\"nameContainer\":\"pouch_nameContainer__GcZge\",\"priceContainer\":\"pouch_priceContainer__U1ft1\",\"sellerName\":\"pouch_sellerName__Z9WMi\",\"productName\":\"pouch_productName__LCDXM\",\"optionName\":\"pouch_optionName__wlvEQ\",\"pipe\":\"pouch_pipe__F196_\",\"freeDelivery\":\"pouch_freeDelivery__4tIE9\",\"discountRate\":\"pouch_discountRate__AN0Ys\",\"cardPrice\":\"pouch_cardPrice__71JbO\",\"cardWon\":\"pouch_cardWon__XNqDm\",\"priceInfoContainer\":\"pouch_priceInfoContainer__vZvt8\",\"priceInfoWrapper\":\"pouch_priceInfoWrapper__8VsN7\",\"selectAll\":\"pouch_selectAll__z003v\",\"emptyWrapper\":\"pouch_emptyWrapper__igGjJ\",\"emptyText\":\"pouch_emptyText__Y2Onh\",\"storeButton\":\"pouch_storeButton__FWpO2\",\"orderTitle\":\"pouch_orderTitle__7NOX7\",\"price\":\"pouch_price__WUjM6\",\"priceHighlight\":\"pouch_priceHighlight__KQ_gx\",\"won\":\"pouch_won__7WN5B\",\"orderRow\":\"pouch_orderRow__KYEYA\",\"orderSubTitle\":\"pouch_orderSubTitle__yybBU\",\"totalPriceTitle\":\"pouch_totalPriceTitle__sVJXa\",\"totalPrice\":\"pouch_totalPrice__MEEnS\",\"totalWon\":\"pouch_totalWon__t0kQm\",\"productListWrapper\":\"pouch_productListWrapper__JxeL6\",\"spinIcon\":\"pouch_spinIcon__rnN5q\",\"spin\":\"pouch_spin__vqUHI\",\"recommendedProductTitle\":\"pouch_recommendedProductTitle__obwHg\",\"arrowRightIcon\":\"pouch_arrowRightIcon__ud96B\",\"stickyButtonContainer\":\"pouch_stickyButtonContainer__k8BB2\",\"buttonContainer\":\"pouch_buttonContainer__g6a1o\",\"buttonWrapper\":\"pouch_buttonWrapper__PRWyo\",\"shadow\":\"pouch_shadow__HsWAS\",\"discountDetail\":\"pouch_discountDetail__cIWg9\",\"discountDetailEmphasis\":\"pouch_discountDetailEmphasis__fNmPR\",\"activeOrderButton\":\"pouch_activeOrderButton__1jOvX\",\"disabledOrderButton\":\"pouch_disabledOrderButton__zCKac\",\"elevated\":\"pouch_elevated__uFrJP\",\"modalContentContainer\":\"pouch_modalContentContainer__K8fib\",\"modalTitle\":\"pouch_modalTitle__wEB0M\",\"selectorText\":\"pouch_selectorText__jnRVV\",\"finalCount\":\"pouch_finalCount__VvKr7\",\"soldOutFontColor\":\"pouch_soldOutFontColor__XK0y6\",\"originalPriceWrapper\":\"pouch_originalPriceWrapper__Ow9F_\",\"loadingWrapper\":\"pouch_loadingWrapper__w__U_\",\"originalPrice\":\"pouch_originalPrice__Yc3uB\",\"discountEmphasis\":\"pouch_discountEmphasis__bDPq_\",\"buttonText\":\"pouch_buttonText__iYfrT\",\"nonMemberOrderButton\":\"pouch_nonMemberOrderButton__gHgD5\",\"giftOrderButton\":\"pouch_giftOrderButton__NaSN4\",\"longerOrderButton\":\"pouch_longerOrderButton__GoHsl\",\"emptyPouchText\":\"pouch_emptyPouchText__EPA5i\",\"emptyPouchButtonText\":\"pouch_emptyPouchButtonText__ikmoa\",\"emptyPouchGoToStoreButtonWrapper\":\"pouch_emptyPouchGoToStoreButtonWrapper__fYfh9\",\"purchaseInfoContainer\":\"pouch_purchaseInfoContainer__sTVFs\",\"openTimePrefix\":\"pouch_openTimePrefix__NnRXR\",\"modalButtonContainer\":\"pouch_modalButtonContainer__XhO2U\"};"],"names":["_path","_path2","_path3","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","props","width","height","fill","xmlns","d","fillRule","clipRule","fillOpacity","couponMoldTypeToText","couponMoldType","Odometer","dynamic","ssr","loading","nextAvailableCoupon","bestAvailableCoupon","isPriceLoading","locale","useState","isInitialized","setIsInitialized","odometerValue","setOdometerValue","user","useContext","UserContext","useEffect","min_amount","total_price","progress","expiringCoupon","isCouponDueShown","expires_at","Date","now","className","styles","value","numberWithComma","amount","type","leftTimestampToText","LinearProgress","variant","classNames","SwiperCore","Navigation","Pagination","Autoplay","BannerContent","banner","text","TextBanner","banners","onClick","prevRef","useRef","nextRef","swiperRef","swipedRef","timerRef","swiperAutoPlay","current","clearTimeout","setTimeout","swiper","slideNext","stopAutoPlay","resumeAutoPlay","addEventListener","removeEventListener","ref","loop","onSetTranslate","swiperCustomAnimation","onInit","params","navigation","prevEl","nextEl","init","update","onSlideChangeTransitionEnd","spaceBetween","slidesPerView","threshold","onSlideChange","mixpanel","track","activeIndex","nextBannerName","onTouchEnd","map","idx","link","href","ProductBasedCurationListSection","curationKey","location","productOptionIds","onPouchAdd","isAddToPouchVisible","isFoldable","isLoading","setIsLoading","curations","setCurations","fetchCuration","handlePouchAdd","product","productId","id","productName","name","data","Axios","res","console","log","status","originalCurationIds","curation","filter","includes","shuffle","captureMessage","JSON","stringify","captureException","CurationSection","curationIdx","isFoldedFromStart","title","localeToCurrency","args","PouchItemCard","item","currency","changeItem","deleteItem","toggleItemSelection","selectedItems","openModal","syncCountTrigger","priceInfo","referralIdToNickname","useRouter","openAppInstallModal","ModalContext","t","useTranslation","toLocaleString","increaseOptionCount","diff","pouchId","count","optionId","option","increase","referral_id","referral_post_id","isSoldOut","is_sold_out","onProductClick","removeLocalReferralInfo","setLocalReferralInfo","productLink","override_link","getCreatorProductRoute","productsRoute","discountedPrice","option_id_to_discount_info","discounted_price","discountRate","discount_rate","viewBox","unoptimized","src","thumbnail_url","layout","objectFit","undefined","Boolean","product_option_group_list","options","utilStyles","NewQuantitySelector","disabled","dark","fontSize","onMinus","onPlus","setCount","LoadingDot","price","formattedPrice","Trans","i18nKey","components","values","deleteLocalPouchItems","pouchContext","ordNum","targetIds","parse","window","sessionStorage","getItem","finalItems","localStorage","x","setPouchItems","removeItem","OptionChangeModalContent","pouchItem","close","selectedOption","setSelectedOption","isExpanded","setIsExpanded","isMobile","useMediaQuery","onOptionChangeConfirm","toast","OptionSelectionDropDown","small","basePrice","leaf_options","e","isMultipleSelectNotAllowed","selectedOptions","style","marginTop","flex","FullButton","light","_Pouch","pouchItems","announcements","setAnnouncements","setIsPriceLoading","initialized","setInitialized","setSelectedItems","isInitializedRef","targetItem","setTargetItem","setError","modalContext","openCouponModal","isModalOpenable","closeModal","couponModalInfo","openCouponModalByIdentifier","modalAlreadyOpen","selectedModalRef","pathname","existingProductIds","Set","modals","modal_list","modal","pathname_whitelist","targetProductIds","pouch_target_product_ids","has","fetchUser","PouchContext","router","total_discounted_price","next_available_coupons","delivery_fee","selectedItemPriceInfo","setSelectedItemPriceInfo","totalPrice","useMemo","totalDiscountPrice","shippingFee","shippingFeeText","taxPrice","total_tax_price","maxOpensAtTimestamp","reduce","acc","cur","opensAtTimestamp","opens_at_timestamp","Math","max","timeString","useTimer","purchaseButtonText","initialize","prevPouchItemIds","pouchInfo","fetchedPouchItems","pouch_items","newItems","prev","newSelectedItems","pseudoPouchItems","option_id","optionIdToOptionDict","newPouchItems","setReferralIdToNickname","referral_ids","referral_id_to_nickname","setSyncCountTrigger","pouchItemsBrandNameGroup","pouchGroup","brand_name","push","referralId","referralPostId","loggingData","pouch_id","target_option_id","prevItem","currItem","changed","prevItems","pitem","sort","a","b","oldItems","fromEntries","entries","k","v","parseInt","newPseudoPouchItems","previousItem","currentItem","updatePriceInfo","currentCouponModalRef","selectedPouchItems","fetchPriceInfo","items","cb","option_count_list","light_option_count_with_seller_list","should_fetch_next_available_coupons","checkOut","isGift","toastContext","closeAndOpenToast","payCurrency","pouch_ids","is_gift","checkout_items","reservation_time","totalCount","curr","totalUniqueOptionCount","order","order_number","setItem","display_message","filteredOptions","isOptionGroupExists","customConfirm","deleteItemConfirm","deletedItemIds","deleted_pouch_ids","toString","deleteItemsById","ids","el","newObj","shouldHideNavBar","ScrollContext","onDeleteSelectedItemsClick","keys","ToastContext","best_available_coupon","buttonRef","handleScroll","throttle","classList","toggle","offsetTop","scrollY","handleDisabledButtonClick","closeToast","toastId","registerToast","Modal","isOpen","showOverflow","bottom","TitleBar","isBack","back","announcement","modal_identifier","Loading","marginBottom","selectAll","allIdDict","selectedCount","brandName","storeRoute","bonus","round","white","lightWhite","redirectToLogin","Pouch","isTopBannerHidden","module","exports"],"sourceRoot":""}