{
  "version": 3,
  "sources": ["ssg:https://asset.29cm.co.kr/contents/framer/utils/error/error.js", "ssg:https://asset.29cm.co.kr/contents/framer/node_modules/map-obj/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/node_modules/camelcase/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/node_modules/quick-lru/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/node_modules/camelcase-keys/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/apis/coupon/CouponApiService.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchCoupons.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/Coupon.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/Coupon.types.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/mutations/useDownloadCouponsMutation.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/canvas/CouponDownloadCTA/CouponDownloadCTA.constants.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/mutations/useDownloadRandomCouponMutation.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/useDownloadCoupons.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/Coupon.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/utils/isFulfilled.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchIsAllLimitedCouponIssued.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponCountdown/CouponCountdown.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponBackground/CouponBackground.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Root.variants.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Root.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Root.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Button.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Discount.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Divider.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Summary.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/Title.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponLayout/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/canvas/CouponDownloadCTA/CouponDownloadCTA.hooks.event.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/LiveCampaignBanner/LiveCampaignStatusText/LiveCampaignStatusText.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponContent/CouponContent.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponContent/CouponContent.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/RandomDiscountValue/RandomDiscountValue.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponContent/CouponContent.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponNotice/CouponNotice.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponNotice/CouponNotice.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/CouponSkeleton/CouponSkeleton.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/Coupon.js", "ssg:https://framerusercontent.com/modules/hwVvrtY6jYAjyBCi2nlX/dERCvrzQ6yC8r9osMueR/Coupon.js", "ssg:https://framerusercontent.com/modules/HuWLH2EjLfXYfncGrI1L/EhlZnzHKVF4fZqkDDNeV/etfVDLnnk.js"],
  "sourcesContent": ["const parseErrorMessage = (err, fallbackMessage) => {\n  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;\n  const error = err;\n  const errors = error == null ? void 0 : error.errors;\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_a = errors == null ? void 0 : errors.detail) == null ? void 0 : _a[0]) === \"string\") {\n    return errors.detail[0] || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_c = (_b = errors == null ? void 0 : errors.detail) == null ? void 0 : _b[0]) == null ? void 0 : _c.warning) === \"string\") {\n    return errors.detail[0].warning || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_f = (_e = (_d = errors == null ? void 0 : errors.detail) == null ? void 0 : _d[0]) == null ? void 0 : _e.warning) == null ? void 0 : _f[0]) === \"string\") {\n    return errors.detail[0].warning[0] || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_h = (_g = errors == null ? void 0 : errors.detail) == null ? void 0 : _g[0]) == null ? void 0 : _h.message) === \"string\") {\n    return errors.detail[0].message || fallbackMessage;\n  }\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_k = (_j = (_i = errors == null ? void 0 : errors.detail) == null ? void 0 : _i[0]) == null ? void 0 : _j.message) == null ? void 0 : _k[0]) === \"string\") {\n    return errors.detail[0].message[0] || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_l = errors == null ? void 0 : errors.detail) == null ? void 0 : _l.warning) === \"string\") {\n    return errors.detail.warning || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_n = (_m = errors == null ? void 0 : errors.detail) == null ? void 0 : _m.warning) == null ? void 0 : _n[0]) === \"string\") {\n    return errors.detail.warning[0] || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_o = errors == null ? void 0 : errors.detail) == null ? void 0 : _o.message) === \"string\") {\n    return errors.detail.message || fallbackMessage;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && typeof ((_q = (_p = errors == null ? void 0 : errors.detail) == null ? void 0 : _p.message) == null ? void 0 : _q[0]) === \"string\") {\n    return errors.detail.message[0] || fallbackMessage;\n  }\n  if (error == null ? void 0 : error.message) {\n    return error.message;\n  }\n  const message = (errors == null ? void 0 : errors.message) ?? fallbackMessage;\n  if (message) {\n    return message;\n  }\n  return \"\";\n};\nconst parseDirectionCode = (err) => {\n  var _a, _b, _c;\n  const error = err;\n  const errors = error == null ? void 0 : error.errors;\n  if (isArrayErrorDetail(errors == null ? void 0 : errors.detail) && errors && Array.isArray((_b = (_a = errors == null ? void 0 : errors.detail) == null ? void 0 : _a[0]) == null ? void 0 : _b.direction_code)) {\n    return errors.detail[0].direction_code;\n  }\n  if (isErrorDetail(errors == null ? void 0 : errors.detail) && errors && Array.isArray((_c = errors == null ? void 0 : errors.detail) == null ? void 0 : _c.direction_code)) {\n    return errors.detail.direction_code;\n  }\n  return null;\n};\nconst isArrayErrorDetail = (detail) => {\n  return Array.isArray(detail);\n};\nconst isErrorDetail = (detail) => {\n  return typeof detail === \"object\" && detail !== null && !(\"length\" in detail);\n};\nexport {\n  parseDirectionCode,\n  parseErrorMessage\n};\n", "const isObject = (value) => typeof value === \"object\" && value !== null;\nconst isObjectCustom = (value) => isObject(value) && !(value instanceof RegExp) && !(value instanceof Error) && !(value instanceof Date);\nconst mapObjectSkip = Symbol(\"mapObjectSkip\");\nconst _mapObject = (object, mapper, options, isSeen = /* @__PURE__ */ new WeakMap()) => {\n  options = {\n    deep: false,\n    target: {},\n    ...options\n  };\n  if (isSeen.has(object)) {\n    return isSeen.get(object);\n  }\n  isSeen.set(object, options.target);\n  const { target } = options;\n  delete options.target;\n  const mapArray = (array) => array.map((element) => isObjectCustom(element) ? _mapObject(element, mapper, options, isSeen) : element);\n  if (Array.isArray(object)) {\n    return mapArray(object);\n  }\n  for (const [key, value] of Object.entries(object)) {\n    const mapResult = mapper(key, value, object);\n    if (mapResult === mapObjectSkip) {\n      continue;\n    }\n    let [newKey, newValue, { shouldRecurse = true } = {}] = mapResult;\n    if (newKey === \"__proto__\") {\n      continue;\n    }\n    if (options.deep && shouldRecurse && isObjectCustom(newValue)) {\n      newValue = Array.isArray(newValue) ? mapArray(newValue) : _mapObject(newValue, mapper, options, isSeen);\n    }\n    target[newKey] = newValue;\n  }\n  return target;\n};\nfunction mapObject(object, mapper, options) {\n  if (!isObject(object)) {\n    throw new TypeError(`Expected an object, got \\`${object}\\` (${typeof object})`);\n  }\n  return _mapObject(object, mapper, options);\n}\nexport {\n  mapObject as default,\n  mapObjectSkip\n};\n", "const UPPERCASE = /[\\p{Lu}]/u;\nconst LOWERCASE = /[\\p{Ll}]/u;\nconst LEADING_CAPITAL = /^[\\p{Lu}](?![\\p{Lu}])/gu;\nconst IDENTIFIER = /([\\p{Alpha}\\p{N}_]|$)/u;\nconst SEPARATORS = /[_.\\- ]+/;\nconst LEADING_SEPARATORS = new RegExp(\"^\" + SEPARATORS.source);\nconst SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, \"gu\");\nconst NUMBERS_AND_IDENTIFIER = new RegExp(\"\\\\d+\" + IDENTIFIER.source, \"gu\");\nconst preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {\n  let isLastCharLower = false;\n  let isLastCharUpper = false;\n  let isLastLastCharUpper = false;\n  let isLastLastCharPreserved = false;\n  for (let index = 0; index < string.length; index++) {\n    const character = string[index];\n    isLastLastCharPreserved = index > 2 ? string[index - 3] === \"-\" : true;\n    if (isLastCharLower && UPPERCASE.test(character)) {\n      string = string.slice(0, index) + \"-\" + string.slice(index);\n      isLastCharLower = false;\n      isLastLastCharUpper = isLastCharUpper;\n      isLastCharUpper = true;\n      index++;\n    } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2)) {\n      string = string.slice(0, index - 1) + \"-\" + string.slice(index - 1);\n      isLastLastCharUpper = isLastCharUpper;\n      isLastCharUpper = false;\n      isLastCharLower = true;\n    } else {\n      isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character;\n      isLastLastCharUpper = isLastCharUpper;\n      isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character;\n    }\n  }\n  return string;\n};\nconst preserveConsecutiveUppercase = (input, toLowerCase) => {\n  LEADING_CAPITAL.lastIndex = 0;\n  return input.replaceAll(LEADING_CAPITAL, (match) => toLowerCase(match));\n};\nconst postProcess = (input, toUpperCase) => {\n  SEPARATORS_AND_IDENTIFIER.lastIndex = 0;\n  NUMBERS_AND_IDENTIFIER.lastIndex = 0;\n  return input.replaceAll(NUMBERS_AND_IDENTIFIER, (match, pattern, offset) => [\"_\", \"-\"].includes(input.charAt(offset + match.length)) ? match : toUpperCase(match)).replaceAll(SEPARATORS_AND_IDENTIFIER, (_, identifier) => toUpperCase(identifier));\n};\nfunction camelCase(input, options) {\n  if (!(typeof input === \"string\" || Array.isArray(input))) {\n    throw new TypeError(\"Expected the input to be `string | string[]`\");\n  }\n  options = {\n    pascalCase: false,\n    preserveConsecutiveUppercase: false,\n    ...options\n  };\n  if (Array.isArray(input)) {\n    input = input.map((x) => x.trim()).filter((x) => x.length).join(\"-\");\n  } else {\n    input = input.trim();\n  }\n  if (input.length === 0) {\n    return \"\";\n  }\n  const toLowerCase = options.locale === false ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale);\n  const toUpperCase = options.locale === false ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale);\n  if (input.length === 1) {\n    if (SEPARATORS.test(input)) {\n      return \"\";\n    }\n    return options.pascalCase ? toUpperCase(input) : toLowerCase(input);\n  }\n  const hasUpperCase = input !== toLowerCase(input);\n  if (hasUpperCase) {\n    input = preserveCamelCase(input, toLowerCase, toUpperCase, options.preserveConsecutiveUppercase);\n  }\n  input = input.replace(LEADING_SEPARATORS, \"\");\n  input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input);\n  if (options.pascalCase) {\n    input = toUpperCase(input.charAt(0)) + input.slice(1);\n  }\n  return postProcess(input, toUpperCase);\n}\nexport {\n  camelCase as default\n};\n", "class QuickLRU extends Map {\n  constructor(options = {}) {\n    super();\n    if (!(options.maxSize && options.maxSize > 0)) {\n      throw new TypeError(\"`maxSize` must be a number greater than 0\");\n    }\n    if (typeof options.maxAge === \"number\" && options.maxAge === 0) {\n      throw new TypeError(\"`maxAge` must be a number greater than 0\");\n    }\n    this.maxSize = options.maxSize;\n    this.maxAge = options.maxAge || Number.POSITIVE_INFINITY;\n    this.onEviction = options.onEviction;\n    this.cache = /* @__PURE__ */ new Map();\n    this.oldCache = /* @__PURE__ */ new Map();\n    this._size = 0;\n  }\n  // TODO: Use private class methods when targeting Node.js 16.\n  _emitEvictions(cache) {\n    if (typeof this.onEviction !== \"function\") {\n      return;\n    }\n    for (const [key, item] of cache) {\n      this.onEviction(key, item.value);\n    }\n  }\n  _deleteIfExpired(key, item) {\n    if (typeof item.expiry === \"number\" && item.expiry <= Date.now()) {\n      if (typeof this.onEviction === \"function\") {\n        this.onEviction(key, item.value);\n      }\n      return this.delete(key);\n    }\n    return false;\n  }\n  _getOrDeleteIfExpired(key, item) {\n    const deleted = this._deleteIfExpired(key, item);\n    if (deleted === false) {\n      return item.value;\n    }\n  }\n  _getItemValue(key, item) {\n    return item.expiry ? this._getOrDeleteIfExpired(key, item) : item.value;\n  }\n  _peek(key, cache) {\n    const item = cache.get(key);\n    return this._getItemValue(key, item);\n  }\n  _set(key, value) {\n    this.cache.set(key, value);\n    this._size++;\n    if (this._size >= this.maxSize) {\n      this._size = 0;\n      this._emitEvictions(this.oldCache);\n      this.oldCache = this.cache;\n      this.cache = /* @__PURE__ */ new Map();\n    }\n  }\n  _moveToRecent(key, item) {\n    this.oldCache.delete(key);\n    this._set(key, item);\n  }\n  *_entriesAscending() {\n    for (const item of this.oldCache) {\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield item;\n        }\n      }\n    }\n    for (const item of this.cache) {\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield item;\n      }\n    }\n  }\n  get(key) {\n    if (this.cache.has(key)) {\n      const item = this.cache.get(key);\n      return this._getItemValue(key, item);\n    }\n    if (this.oldCache.has(key)) {\n      const item = this.oldCache.get(key);\n      if (this._deleteIfExpired(key, item) === false) {\n        this._moveToRecent(key, item);\n        return item.value;\n      }\n    }\n  }\n  set(key, value, { maxAge = this.maxAge } = {}) {\n    const expiry = typeof maxAge === \"number\" && maxAge !== Number.POSITIVE_INFINITY ? Date.now() + maxAge : void 0;\n    if (this.cache.has(key)) {\n      this.cache.set(key, {\n        value,\n        expiry\n      });\n    } else {\n      this._set(key, { value, expiry });\n    }\n    return this;\n  }\n  has(key) {\n    if (this.cache.has(key)) {\n      return !this._deleteIfExpired(key, this.cache.get(key));\n    }\n    if (this.oldCache.has(key)) {\n      return !this._deleteIfExpired(key, this.oldCache.get(key));\n    }\n    return false;\n  }\n  peek(key) {\n    if (this.cache.has(key)) {\n      return this._peek(key, this.cache);\n    }\n    if (this.oldCache.has(key)) {\n      return this._peek(key, this.oldCache);\n    }\n  }\n  delete(key) {\n    const deleted = this.cache.delete(key);\n    if (deleted) {\n      this._size--;\n    }\n    return this.oldCache.delete(key) || deleted;\n  }\n  clear() {\n    this.cache.clear();\n    this.oldCache.clear();\n    this._size = 0;\n  }\n  resize(newSize) {\n    if (!(newSize && newSize > 0)) {\n      throw new TypeError(\"`maxSize` must be a number greater than 0\");\n    }\n    const items = [...this._entriesAscending()];\n    const removeCount = items.length - newSize;\n    if (removeCount < 0) {\n      this.cache = new Map(items);\n      this.oldCache = /* @__PURE__ */ new Map();\n      this._size = items.length;\n    } else {\n      if (removeCount > 0) {\n        this._emitEvictions(items.slice(0, removeCount));\n      }\n      this.oldCache = new Map(items.slice(removeCount));\n      this.cache = /* @__PURE__ */ new Map();\n      this._size = 0;\n    }\n    this.maxSize = newSize;\n  }\n  *keys() {\n    for (const [key] of this) {\n      yield key;\n    }\n  }\n  *values() {\n    for (const [, value] of this) {\n      yield value;\n    }\n  }\n  *[Symbol.iterator]() {\n    for (const item of this.cache) {\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield [key, value.value];\n      }\n    }\n    for (const item of this.oldCache) {\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield [key, value.value];\n        }\n      }\n    }\n  }\n  *entriesDescending() {\n    let items = [...this.cache];\n    for (let i = items.length - 1; i >= 0; --i) {\n      const item = items[i];\n      const [key, value] = item;\n      const deleted = this._deleteIfExpired(key, value);\n      if (deleted === false) {\n        yield [key, value.value];\n      }\n    }\n    items = [...this.oldCache];\n    for (let i = items.length - 1; i >= 0; --i) {\n      const item = items[i];\n      const [key, value] = item;\n      if (!this.cache.has(key)) {\n        const deleted = this._deleteIfExpired(key, value);\n        if (deleted === false) {\n          yield [key, value.value];\n        }\n      }\n    }\n  }\n  *entriesAscending() {\n    for (const [key, value] of this._entriesAscending()) {\n      yield [key, value.value];\n    }\n  }\n  get size() {\n    if (!this._size) {\n      return this.oldCache.size;\n    }\n    let oldCacheSize = 0;\n    for (const key of this.oldCache.keys()) {\n      if (!this.cache.has(key)) {\n        oldCacheSize++;\n      }\n    }\n    return Math.min(this._size + oldCacheSize, this.maxSize);\n  }\n  entries() {\n    return this.entriesAscending();\n  }\n  forEach(callbackFunction, thisArgument = this) {\n    for (const [key, value] of this.entriesAscending()) {\n      callbackFunction.call(thisArgument, value, key, this);\n    }\n  }\n  get [Symbol.toStringTag]() {\n    return JSON.stringify([...this.entriesAscending()]);\n  }\n}\nexport {\n  QuickLRU as default\n};\n", "import mapObject from \"../map-obj/index.js\";\nimport camelCase from \"../camelcase/index.js\";\nimport QuickLRU from \"../quick-lru/index.js\";\nconst has = (array, key) => array.some((element) => {\n  if (typeof element === \"string\") {\n    return element === key;\n  }\n  element.lastIndex = 0;\n  return element.test(key);\n});\nconst cache = new QuickLRU({ maxSize: 1e5 });\nconst isObject = (value) => typeof value === \"object\" && value !== null && !(value instanceof RegExp) && !(value instanceof Error) && !(value instanceof Date);\nconst transform = (input, options = {}) => {\n  if (!isObject(input)) {\n    return input;\n  }\n  const {\n    exclude,\n    pascalCase = false,\n    stopPaths,\n    deep = false,\n    preserveConsecutiveUppercase = false\n  } = options;\n  const stopPathsSet = new Set(stopPaths);\n  const makeMapper = (parentPath) => (key, value) => {\n    if (deep && isObject(value)) {\n      const path = parentPath === void 0 ? key : `${parentPath}.${key}`;\n      if (!stopPathsSet.has(path)) {\n        value = mapObject(value, makeMapper(path));\n      }\n    }\n    if (!(exclude && has(exclude, key))) {\n      const cacheKey = pascalCase ? `${key}_` : key;\n      if (cache.has(cacheKey)) {\n        key = cache.get(cacheKey);\n      } else {\n        const returnValue = camelCase(key, { pascalCase, locale: false, preserveConsecutiveUppercase });\n        if (key.length < 100) {\n          cache.set(cacheKey, returnValue);\n        }\n        key = returnValue;\n      }\n    }\n    return [key, value];\n  };\n  return mapObject(input, makeMapper(void 0));\n};\nfunction camelcaseKeys(input, options) {\n  if (Array.isArray(input)) {\n    return Object.keys(input).map((key) => transform(input[key], options));\n  }\n  return transform(input, options);\n}\nexport {\n  camelcaseKeys as default\n};\n", "import { parseErrorMessage, parseDirectionCode } from \"../../utils/error/error.js\";\nimport { GENERAL_ERROR } from \"../../constants/error.js\";\nimport camelcaseKeys from \"../../node_modules/camelcase-keys/index.js\";\nimport { environments, env } from \"../../config/index.js\";\nconst COUPONS_PER_REQUEST = 50;\nclass CouponApiService {\n  async getCoupons(couponIdList, isDevMode = false) {\n    const slicedCouponIdList = couponIdList.slice(0, COUPONS_PER_REQUEST);\n    const baseUrl = isDevMode ? environments.development.api.content : env.api.content;\n    const response = await fetch(`${baseUrl}/api/v4/framers/proxy/promotion-api/api/v1/coupon?couponIdList=${slicedCouponIdList.join(\",\")}`).then((res) => res.json()).then((res) => camelcaseKeys(res, {\n      deep: true\n    }));\n    if (response.result === \"FAIL\" || response.data === null) {\n      throw new Error(response.message ?? GENERAL_ERROR);\n    }\n    return response;\n  }\n  async downloadCouponBulk(couponNoList) {\n    return fetch(`${env.api.promotion}/api/v4/coupons/download:bulk`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        couponList: couponNoList.map((couponId) => ({\n          couponId,\n          downloadCount: 1\n        }))\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  async downloadCoupon(couponNo, downloadCount) {\n    return fetch(`${env.api.promotion}/api/v4/coupons/download`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        couponId: couponNo,\n        downloadCount\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  async downloadLimitedCoupons(couponNoList) {\n    const promises = couponNoList.map(async (couponId) => {\n      return fetch(`${env.api.promotion}/api/v4/coupons/download:limited`, {\n        method: \"POST\",\n        body: JSON.stringify({\n          couponId\n        }),\n        headers: {\n          \"Content-Type\": \"application/json\",\n          \"accept\": \"application/json\"\n        },\n        credentials: \"include\"\n      }).then((res) => res.json());\n    });\n    const [response] = await Promise.all(promises);\n    return response;\n  }\n  async downloadRandomCoupon() {\n    return fetch(`${env.api.promotion}/api/v1/random-coupon/${env.name === \"qa\" ? \"issue-test\" : \"issue\"}`, {\n      method: \"POST\",\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    }).then((res) => res.json());\n  }\n  async getMaxIssueCount(couponId) {\n    const result = await fetch(`${env.api.promotion}/api/v4/coupons/max-issue-count/${couponId}`);\n    const response = await result.json();\n    if (response.result === \"FAIL\" || response.data === null) {\n      throw new Error(response.errorCode ?? GENERAL_ERROR);\n    }\n    return response;\n  }\n  async getDownloadableCouponSummaries(couponIdList, userId) {\n    const result = await fetch(`${env.api.promotion}/api/v4/coupons/downloadable?userId=${userId}`, {\n      method: \"POST\",\n      body: JSON.stringify({\n        couponIdList\n      }),\n      headers: {\n        \"Content-Type\": \"application/json\",\n        \"accept\": \"application/json\"\n      },\n      credentials: \"include\"\n    });\n    const response = await result.json();\n    if (response.result === \"FAIL\" || response.data === null) {\n      throw new Error(response.errorCode ?? GENERAL_ERROR);\n    }\n    return response.data.downloadableCouponInfoList;\n  }\n  parseDownloadCouponError(error, fallbackMessage) {\n    const message = parseErrorMessage(error, fallbackMessage) ?? \"\";\n    const directionCode = parseDirectionCode(error);\n    const isAuthError = (directionCode == null ? void 0 : directionCode[0]) === \"auth\";\n    return {\n      message,\n      callbackUrl: isAuthError ? \"/mypage/edit/info\" : void 0\n    };\n  }\n}\nconst couponApi = new CouponApiService();\nexport {\n  couponApi\n};\n", "import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nconst COUPONS_FETCHER_KEY = \"@coupon/coupons\";\nconst useFetchCoupons = (couponIdList, enabled = true, isDevMode = false) => {\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [COUPONS_FETCHER_KEY, couponIdList] : null, () => couponApi.getCoupons(couponIdList, isDevMode), {\n    errorRetryCount: 2,\n    errorRetryInterval: 5e3,\n    revalidateIfStale: false,\n    revalidateOnFocus: false,\n    revalidateOnReconnect: false,\n    keepPreviousData: true\n  });\n  return {\n    ...rest,\n    isLoading: isLoading || !enabled\n  };\n};\nexport {\n  useFetchCoupons\n};\n", "import { useFetchCoupons } from \"../../../hooks/fetchers/useFetchCoupons.js\";\nconst useCoupons = (couponIdList) => {\n  const enabled = couponIdList.length > 0;\n  const {\n    isLoading,\n    error,\n    data,\n    ...rest\n  } = useFetchCoupons(couponIdList, enabled);\n  const hasError = error !== void 0;\n  const isPending = isLoading || hasError || !enabled;\n  return {\n    isPending,\n    coupons: (data == null ? void 0 : data.data) ?? [],\n    error,\n    ...rest\n  };\n};\nexport {\n  useCoupons\n};\n", "var CouponVariantType = /* @__PURE__ */ ((CouponVariantType2) => {\n  CouponVariantType2[CouponVariantType2[\"BLACK\"] = 0] = \"BLACK\";\n  CouponVariantType2[CouponVariantType2[\"WHITE\"] = 1] = \"WHITE\";\n  CouponVariantType2[CouponVariantType2[\"ORANGE\"] = 2] = \"ORANGE\";\n  CouponVariantType2[CouponVariantType2[\"BLUE\"] = 3] = \"BLUE\";\n  CouponVariantType2[CouponVariantType2[\"NONE\"] = 4] = \"NONE\";\n  return CouponVariantType2;\n})(CouponVariantType || {});\nvar CouponThemeType = /* @__PURE__ */ ((CouponThemeType2) => {\n  CouponThemeType2[\"LIGHT\"] = \"light\";\n  CouponThemeType2[\"DARK\"] = \"dark\";\n  return CouponThemeType2;\n})(CouponThemeType || {});\nvar CouponUpdateType = /* @__PURE__ */ ((CouponUpdateType2) => {\n  CouponUpdateType2[CouponUpdateType2[\"NORMAL\"] = 0] = \"NORMAL\";\n  CouponUpdateType2[CouponUpdateType2[\"DAILY\"] = 1] = \"DAILY\";\n  return CouponUpdateType2;\n})(CouponUpdateType || {});\nexport {\n  CouponThemeType,\n  CouponUpdateType,\n  CouponVariantType\n};\n", "import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nconst COUPON_MULTI_ISSUE_FETCHER_KEY = \"coupon-multi-issue\";\nconst downloadCoupons = (_key, {\n  arg\n}) => {\n  const {\n    couponIds,\n    downloadCount\n  } = arg;\n  const [couponId] = couponIds;\n  return couponIds.length > 1 ? couponApi.downloadCouponBulk(couponIds) : couponApi.downloadCoupon(couponId, downloadCount);\n};\nconst downloadLimitedCoupons = (_key, {\n  arg\n}) => {\n  return couponApi.downloadLimitedCoupons(arg.couponIds);\n};\nconst useDownloadCouponsMutation = ({\n  isLimited = false,\n  enabled = true,\n  onError,\n  onSuccess\n} = {}) => {\n  return useSWRMutation(enabled ? COUPON_MULTI_ISSUE_FETCHER_KEY : null, isLimited ? downloadLimitedCoupons : downloadCoupons, {\n    onError,\n    onSuccess\n  });\n};\nexport {\n  COUPON_MULTI_ISSUE_FETCHER_KEY,\n  useDownloadCouponsMutation\n};\n", "const DOWNLOAD_COUPON_MESSAGES = {\n  SUCCESS: \"\uCFE0\uD3F0\uC744 \uBC1B\uC558\uC5B4\uC694.\\n\uBC1B\uC740 \uCFE0\uD3F0\uC740 \uB9C8\uC774\uD398\uC774\uC9C0\uC5D0\uC11C \uD655\uC778\uD558\uC138\uC694.\",\n  BULK_SUCCESS: \"\uCFE0\uD3F0\uC744 \uBAA8\uB450 \uBC1B\uC558\uC5B4\uC694.\\n\uBC1B\uC740 \uCFE0\uD3F0\uC740 \uB9C8\uC774\uD398\uC774\uC9C0\uC5D0\uC11C \uD655\uC778\uD558\uC138\uC694.\",\n  LOADING: \"\uCFE0\uD3F0 \uBC1C\uAE09\uC744 \uC2DC\uB3C4\uD558\uACE0 \uC788\uC5B4\uC694. \uC7A0\uC2DC \uAE30\uB2E4\uB824\uC8FC\uC138\uC694.\\n\uC2E0\uCCAD \uC21C\uC11C\uB300\uB85C \uCC98\uB9AC\uB418\uBA70 \uC2E0\uCCAD\uB7C9\uC774 \uB9CE\uC740 \uACBD\uC6B0 \uCFE0\uD3F0\uC774 \uC18C\uC9C4\uB420 \uC218 \uC788\uC5B4\uC694\",\n  NEED_IDENTIFICATION: \"\uCFE0\uD3F0 \uBC1C\uAE09\uC744 \uC704\uD574 \uBCF8\uC778\uD655\uC778\uC774 \uD544\uC694\uD574\uC694.\",\n  FAILED_SOME_COUPON_DOWNLOAD: \"\uCFE0\uD3F0\uC744 \uBAA8\uB450 \uBC1B\uC558\uC5B4\uC694. \uBC1B\uC740 \uCFE0\uD3F0\uC740 MY>\uCFE0\uD3F0\uD568\uC5D0\uC11C \uD655\uC778\uD558\uC138\uC694.\",\n  FAILED_COUPON_DOWNLOAD: \"\uCFE0\uD3F0\uC744 \uBAA8\uB450 \uBC1B\uC558\uC5B4\uC694. \uBC1B\uC740 \uCFE0\uD3F0\uC740 MY>\uCFE0\uD3F0\uD568\uC5D0\uC11C \uD655\uC778\uD558\uC138\uC694.\",\n  NOT_FOUND_USER_ID: \"\uB85C\uADF8\uC778\uC774 \uD544\uC694\uD574\uC694.\",\n  GENERAL_ERROR: \"\uCFE0\uD3F0 \uBC1C\uAE09\uC5D0 \uC2E4\uD328\uD588\uC5B4\uC694.\"\n};\nexport {\n  DOWNLOAD_COUPON_MESSAGES\n};\n", "import useSWRMutation from \"../../node_modules/swr/mutation/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nconst DOWNLOAD_RANDOM_COUPON_MUTATION_KEY = \"@coupon/download-random-coupon\";\nconst useDownloadRandomCouponMutation = ({\n  enabled = true,\n  onError,\n  onSuccess\n} = {}) => {\n  return useSWRMutation(enabled ? DOWNLOAD_RANDOM_COUPON_MUTATION_KEY : null, () => couponApi.downloadRandomCoupon(), {\n    onError,\n    onSuccess\n  });\n};\nexport {\n  DOWNLOAD_RANDOM_COUPON_MUTATION_KEY,\n  useDownloadRandomCouponMutation\n};\n", "import { useCurrentUser } from \"./useCurrentUser.js\";\nimport { useRedirectLoginDialog } from \"./useRedirectLoginDialog.js\";\nimport { useDownloadCouponsMutation } from \"./mutations/useDownloadCouponsMutation.js\";\nimport \"../node_modules/swr/mutation/dist/index.js\";\nimport \"../config/index.js\";\nimport { useDialog } from \"./useDialog.js\";\nimport { isContentOrigin } from \"../utils/location.js\";\nimport { DOWNLOAD_COUPON_MESSAGES } from \"../components/canvas/CouponDownloadCTA/CouponDownloadCTA.constants.js\";\nimport { useDownloadRandomCouponMutation } from \"./mutations/useDownloadRandomCouponMutation.js\";\nimport { CouponType, DiscountType } from \"../types/models/coupon.js\";\nimport { useTrackSnowplowEvent } from \"./snowplow/useTrackSnowplowEvent.js\";\nconst useDownloadCoupons = (couponType = CouponType.NORMAL, discountType = DiscountType.FIXED_RATE, handleCouponDownloadSuccess) => {\n  const {\n    logged\n  } = useCurrentUser();\n  const {\n    showRedirectLoginDialog\n  } = useRedirectLoginDialog();\n  const isValidOrigin = isContentOrigin();\n  const dialog = useDialog();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const {\n    trigger: downloadCoupons,\n    isMutating: isLoading\n  } = useDownloadCouponsMutation({\n    isLimited: couponType === CouponType.LIMITED,\n    enabled: isValidOrigin\n  });\n  const {\n    trigger: downloadRandomCoupon,\n    isMutating: isRandomCouponLoading\n  } = useDownloadRandomCouponMutation({\n    enabled: isValidOrigin\n  });\n  const handleSuccess = (couponNoList) => (response) => {\n    if ((response == null ? void 0 : response.result) === \"FAIL\") {\n      dialog.show({\n        content: getErrorMessage(response.errorCode, response.message)\n      });\n      return;\n    }\n    if (isRandomCouponResponse(couponType, response)) {\n      trackSnowplowEvent(\"click_download_coupon\", {\n        coupon_no_list: `${response.data.couponId}`\n      });\n    } else {\n      trackSnowplowEvent(\"click_download_coupon\", {\n        coupon_no_list: couponNoList.join(\",\")\n      });\n    }\n    handleCouponDownloadSuccess == null ? void 0 : handleCouponDownloadSuccess();\n    dialog.show({\n      content: getSuccessMessage(response, discountType)\n    });\n  };\n  const validate = () => {\n    if (!isValidOrigin) {\n      return false;\n    }\n    if (!logged) {\n      showRedirectLoginDialog();\n      return false;\n    }\n    if (isLoading || isRandomCouponLoading) {\n      dialog.show({\n        content: DOWNLOAD_COUPON_MESSAGES.LOADING\n      });\n      return false;\n    }\n    return true;\n  };\n  const download = async (couponNoList = [], downloadCount = 1, skipValidation = false) => {\n    if (!skipValidation && !validate()) {\n      return;\n    }\n    if (couponType === CouponType.NORMAL || couponType === CouponType.LIMITED) {\n      await downloadCoupons({\n        couponIds: couponNoList,\n        downloadCount\n      }, {\n        onSuccess: handleSuccess(couponNoList)\n      });\n      return;\n    }\n    if (couponType === CouponType.RANDOM) {\n      await downloadRandomCoupon(void 0, {\n        onSuccess: handleSuccess(couponNoList)\n      });\n      return;\n    }\n  };\n  return {\n    validate,\n    download\n  };\n};\nconst getSuccessMessage = (response, discountType) => {\n  const {\n    data\n  } = response;\n  const isBulk = data && \"downloadSummaryList\" in data;\n  const isRandom = data && \"couponId\" in data;\n  if (isRandom) {\n    return createRandomCouponSuccessMessage(data.discountValue)[discountType];\n  }\n  return isBulk ? DOWNLOAD_COUPON_MESSAGES.BULK_SUCCESS : DOWNLOAD_COUPON_MESSAGES.SUCCESS;\n};\nconst createRandomCouponSuccessMessage = (discountValue) => ({\n  [DiscountType.FIXED_PRICE]: `${discountValue.toLocaleString(\"ko-KR\")}\uC6D0 \uCFE0\uD3F0\uC5D0 \uB2F9\uCCA8\uB410\uC5B4\uC694.\n\uBC1B\uC740 \uCFE0\uD3F0\uC740 \uB9C8\uC774\uD398\uC774\uC9C0\uC5D0\uC11C \uD655\uC778\uD558\uC138\uC694.`,\n  [DiscountType.FIXED_RATE]: `${discountValue}% \uCFE0\uD3F0\uC5D0 \uB2F9\uCCA8\uB410\uC5B4\uC694.\n\uBC1B\uC740 \uCFE0\uD3F0\uC740 \uB9C8\uC774\uD398\uC774\uC9C0\uC5D0\uC11C \uD655\uC778\uD558\uC138\uC694.`\n});\nconst getErrorMessage = (errorCode, errorMessage) => {\n  switch (errorCode) {\n    case \"FAILED_SOME_COUPON_DOWNLOAD\":\n      return DOWNLOAD_COUPON_MESSAGES.FAILED_SOME_COUPON_DOWNLOAD;\n    case \"FAILED_COUPON_DOWNLOAD\":\n      return DOWNLOAD_COUPON_MESSAGES.FAILED_COUPON_DOWNLOAD;\n    case \"NOT_FOUND_USER_ID\":\n      return DOWNLOAD_COUPON_MESSAGES.NOT_FOUND_USER_ID;\n    default:\n      return errorMessage || DOWNLOAD_COUPON_MESSAGES.GENERAL_ERROR;\n  }\n};\nconst toCouponNos = (couponNosStr) => {\n  return couponNosStr.split(\",\").map((item) => Number(item.trim()));\n};\nconst isRandomCouponResponse = (couponType, response) => {\n  var _a;\n  return couponType === CouponType.RANDOM && ((_a = response.data) == null ? void 0 : _a.couponId) !== void 0;\n};\nexport {\n  toCouponNos,\n  useDownloadCoupons\n};\n", "import head from \"../../../node_modules/lodash-es/head.js\";\nimport { DiscountType } from \"../../../types/models/coupon.js\";\nimport { toCouponNos } from \"../../../hooks/useDownloadCoupons.js\";\nimport { CouponUpdateType } from \"./Coupon.types.js\";\nconst reshapeProps = (props) => {\n  const {\n    theme: variant,\n    backgroundColor,\n    textColor,\n    couponIdListString,\n    dailyCouponOptions,\n    ...rest\n  } = props;\n  return {\n    ...rest,\n    couponIdListString: couponIdListString ?? \"\",\n    dailyCouponOptions: dailyCouponOptions ?? [],\n    variant: {\n      type: variant,\n      backgroundColor,\n      textColor,\n      dividerColor: halveOpacity(textColor),\n      iconColor: textColor\n    }\n  };\n};\nconst getHeadCouponIdList = (couponUpdateType, couponIdListString = \"\", dailyCouponOptions = []) => {\n  if (couponUpdateType === CouponUpdateType.NORMAL) {\n    return shallowUnique(toCouponNos(couponIdListString));\n  }\n  const couponIdList = dailyCouponOptions.reduce((acc, curr) => {\n    const headCouponIdList = head(curr.dailyCouponIdList);\n    acc.push(...toCouponNos(headCouponIdList ?? \"\"));\n    return acc;\n  }, []);\n  return shallowUnique(couponIdList);\n};\nconst getMaxDiscountValue = (coupons) => {\n  return Math.max(...coupons.map((coupon) => coupon.discountValue));\n};\nconst getAllDiscountValues = (coupons) => {\n  return coupons.map((coupon) => coupon.discountValue);\n};\nconst composeWithUnitByType = (discountType, discountValue) => {\n  switch (discountType) {\n    case DiscountType.FIXED_RATE:\n      return composeWithUnit(discountValue, \"%\");\n    case DiscountType.FIXED_PRICE:\n      return composeWithUnit(discountValue, \"\uC6D0\");\n  }\n};\nconst composeWithUnit = (discountValue, unit) => {\n  return `${discountValue.toLocaleString(\"ko-KR\")}${unit}`;\n};\nconst shallowUnique = (arr) => Array.from(new Set(arr));\nconst halveOpacity = (color) => {\n  const matched = color.match(/\\d+/g);\n  if (!matched) {\n    return color;\n  }\n  const [r, g, b, a] = matched;\n  return `rgba(${r}, ${g}, ${b}, ${a ? Number(a) / 2 : 0.5})`;\n};\nexport {\n  composeWithUnit,\n  composeWithUnitByType,\n  getAllDiscountValues,\n  getHeadCouponIdList,\n  getMaxDiscountValue,\n  reshapeProps\n};\n", "const isFulfilled = (value) => {\n  return value.status === \"fulfilled\";\n};\nexport {\n  isFulfilled\n};\n", "import { GENERAL_ERROR } from \"../../constants/error.js\";\nimport useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nimport { isFulfilled } from \"../../utils/isFulfilled.js\";\nconst COUPON_MAX_ISSUE_COUNT_FETCHER_KEY = \"@coupon/max-issue-count\";\nconst getIsAllLimitedCouponIssued = async (couponIdList) => {\n  const promises = couponIdList.map((couponId) => couponApi.getMaxIssueCount(couponId));\n  const results = await Promise.allSettled(promises);\n  const isSomeRejected = results.some((result) => result.status === \"rejected\");\n  if (isSomeRejected) {\n    throw new Error(GENERAL_ERROR);\n  }\n  return results.filter(isFulfilled).every((result) => {\n    var _a;\n    return !((_a = result.value.data) == null ? void 0 : _a.withinMaxIssueCount);\n  });\n};\nconst useFetchIsAllLimitedCouponIssued = (isLimited, couponIdList) => {\n  const hasCouponIdList = couponIdList.length > 0;\n  const enabled = isLimited && hasCouponIdList;\n  const {\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [COUPON_MAX_ISSUE_COUNT_FETCHER_KEY, couponIdList] : null, () => getIsAllLimitedCouponIssued(couponIdList), {\n    errorRetryCount: 2,\n    errorRetryInterval: 1e3 * 5\n  });\n  return {\n    ...rest,\n    isLoading: isLoading || !enabled\n  };\n};\nexport {\n  COUPON_MAX_ISSUE_COUNT_FETCHER_KEY,\n  useFetchIsAllLimitedCouponIssued\n};\n", "import { jsxs } from \"react/jsx-runtime\";\nimport { createKRTimeZoneDate } from \"../../../../utils/createUTCDate.js\";\nimport { differenceInHours } from \"../../../../node_modules/date-fns/differenceInHours.js\";\nconst CLOSED_MESSAGE = \"\uB2E4\uC74C\uC5D0 \uB2E4\uC2DC \uB9CC\uB098\uC694.\";\nconst CouponCountdown = ({\n  nextShouldUpdateAt\n}) => {\n  const isClosed = nextShouldUpdateAt === void 0;\n  if (isClosed) {\n    return CLOSED_MESSAGE;\n  }\n  const now = createKRTimeZoneDate();\n  const hours = Math.max(0, differenceInHours(nextShouldUpdateAt, now));\n  return /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    \"\uB2E4\uC74C \uCFE0\uD3F0\uAE4C\uC9C0 \",\n    hours,\n    \"\uC2DC\uAC04\"\n  ] });\n};\nconst containerStyle = {\n  fontSize: \"14px\",\n  fontWeight: 500,\n  fontFamily: `'Pretendard SemiBold', Pretendard -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue',\n  'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji',\n  'Segoe UI Symbol', sans-serif`,\n  lineHeight: \"1.2em\",\n  color: \"inherit\",\n  marginTop: 8\n};\nexport {\n  CouponCountdown\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nconst CouponBackground = ({\n  color = \"rgb(0, 0, 0)\"\n}) => {\n  return /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"10\", height: \"100\", children: /* @__PURE__ */ jsx(\"path\", { d: \"M 0 0 L 10 0 L 10 100 L 0 100 L 0 57 C 3.866 57 7 53.866 7 50 C 7 46.134 3.866 43 0 43 Z\", fill: color }) }),\n    /* @__PURE__ */ jsx(\"div\", { style: {\n      ...solidStyle,\n      backgroundColor: color\n    } }),\n    /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"10\", height: \"100\", style: {\n      transform: \"scaleX(-1)\"\n    }, children: /* @__PURE__ */ jsx(\"path\", { d: \"M 0 0 L 10 0 L 10 100 L 0 100 L 0 57 C 3.866 57 7 53.866 7 50 C 7 46.134 3.866 43 0 43 Z\", fill: color }) })\n  ] });\n};\nconst containerStyle = {\n  position: \"absolute\",\n  top: 0,\n  right: 0,\n  bottom: 0,\n  left: 0,\n  width: \"100%\",\n  height: \"100%\",\n  display: \"flex\",\n  justifyContent: \"space-between\"\n};\nconst solidStyle = {\n  width: \"100%\",\n  height: \"100%\",\n  flex: 1\n};\nexport {\n  CouponBackground\n};\n", "import { CouponVariantType } from \"../Coupon.types.js\";\nconst DISABLED_COLORS = {\n  backgroundColor: \"#f4f4f4\",\n  textColor: \"#a0a0a0\",\n  dividerColor: \"#c4c4c4\",\n  iconColor: \"#c4c4c4\"\n};\nconst COLORS_BY_VARIANT = {\n  [CouponVariantType.BLACK]: {\n    backgroundColor: \"#000\",\n    textColor: \"#fff\",\n    dividerColor: \"rgba(160, 160, 160, 0.5)\",\n    iconColor: \"#fff\"\n  },\n  [CouponVariantType.WHITE]: {\n    backgroundColor: \"#fff\",\n    textColor: \"#000\",\n    dividerColor: \"rgb(71, 71, 71)\",\n    iconColor: \"#000\"\n  },\n  [CouponVariantType.BLUE]: {\n    backgroundColor: \"#375fff\",\n    textColor: \"#fff\",\n    dividerColor: \"rgba(255, 255, 255, 0.6)\",\n    iconColor: \"#fff\"\n  },\n  [CouponVariantType.ORANGE]: {\n    backgroundColor: \"#ff4800\",\n    textColor: \"#fff\",\n    dividerColor: \"rgba(255, 255, 255, 0.6)\",\n    iconColor: \"#fff\"\n  }\n};\nexport {\n  COLORS_BY_VARIANT,\n  DISABLED_COLORS\n};\n", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from \"react\";\nimport { CouponBackground } from \"../CouponBackground/CouponBackground.js\";\nimport { CouponVariantType } from \"../Coupon.types.js\";\nimport { DISABLED_COLORS, COLORS_BY_VARIANT } from \"./Root.variants.js\";\nconst CouponLayoutContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  disabled = false,\n  ...rest\n}, ref) => {\n  const {\n    backgroundColor,\n    textColor,\n    dividerColor,\n    iconColor\n  } = getColorsByVariant(rest, disabled);\n  const value = {\n    disabled,\n    textColor,\n    dividerColor,\n    iconColor\n  };\n  return /* @__PURE__ */ jsx(CouponLayoutContext.Provider, { value, children: /* @__PURE__ */ jsxs(\"div\", { ref, style: {\n    ...style,\n    ...containerStyle\n  }, ...rest, children: [\n    /* @__PURE__ */ jsx(\"div\", { style: contentStyle, children }),\n    /* @__PURE__ */ jsx(CouponBackground, { color: backgroundColor })\n  ] }) });\n});\nconst getColorsByVariant = (variant, disabled) => {\n  if (disabled) {\n    return DISABLED_COLORS;\n  }\n  if (variant.type === CouponVariantType.NONE) {\n    return variant;\n  }\n  return COLORS_BY_VARIANT[variant.type];\n};\nconst containerStyle = {\n  position: \"relative\",\n  width: \"100%\",\n  height: \"100px\",\n  display: \"flex\",\n  color: \"#fff\"\n};\nconst contentStyle = {\n  zIndex: 1,\n  width: \"100%\",\n  height: \"100%\",\n  display: \"flex\",\n  alignItems: \"center\",\n  flex: 1,\n  color: \"inherit\"\n};\nexport {\n  CouponLayoutContext,\n  Root\n};\n", "import { useContext } from \"react\";\nimport { CouponLayoutContext } from \"./Root.js\";\nconst useCouponLayoutContext = () => {\n  const context = useContext(CouponLayoutContext);\n  if (!context) {\n    throw new Error(\"useCouponLayoutContext should be used within Root\");\n  }\n  return context;\n};\nexport {\n  useCouponLayoutContext\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Icon } from \"../../../@shared/Icon/Icon.js\";\nimport { useCouponLayoutContext } from \"./Root.hooks.js\";\nconst Button = forwardRef(({\n  style,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    disabled,\n    iconColor\n  } = useCouponLayoutContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...style,\n    ...containerStyle,\n    cursor: disabled ? \"not-allowed\" : \"pointer\"\n  }, onClick: disabled ? void 0 : onClick, ...rest, children: /* @__PURE__ */ jsx(Icon, { type: \"download\", size: 34, color: iconColor }) });\n});\nconst containerStyle = {\n  width: \"100px\",\n  height: \"100%\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  cursor: \"pointer\"\n};\nexport {\n  Button\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useCouponLayoutContext } from \"./Root.hooks.js\";\nconst Discount = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    disabled,\n    textColor\n  } = useCouponLayoutContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...containerStyle,\n    color: textColor,\n    ...style\n  }, ...rest, children: disabled ? \"\uC120\uCC29\uC21C \uB9C8\uAC10\" : children });\n});\nconst containerStyle = {\n  margin: 0,\n  padding: 0,\n  fontSize: \"34px\",\n  fontFamily: `'Pretendard Medium', Pretendard -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue',\n  'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji',\n  'Segoe UI Symbol', sans-serif`,\n  lineHeight: \"1.4em\"\n};\nexport {\n  Discount\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useCouponLayoutContext } from \"./Root.hooks.js\";\nconst Divider = forwardRef(({\n  style,\n  ...rest\n}, ref) => {\n  const {\n    dividerColor\n  } = useCouponLayoutContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...style,\n    ...containerStyle,\n    backgroundColor: dividerColor\n  }, ...rest });\n});\nconst containerStyle = {\n  width: \"1px\",\n  height: \"80px\"\n};\nexport {\n  Divider\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Summary = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...style,\n    ...containerStyle\n  }, ...rest, children });\n});\nconst containerStyle = {\n  width: \"100%\",\n  height: \"100%\",\n  display: \"flex\",\n  flex: 1,\n  flexDirection: \"column\",\n  alignItems: \"flex-start\",\n  justifyContent: \"center\",\n  padding: \"0 30px\",\n  color: \"inherit\"\n};\nexport {\n  Summary\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { useCouponLayoutContext } from \"./Root.hooks.js\";\nconst Title = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    textColor\n  } = useCouponLayoutContext();\n  return /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...style,\n    ...containerStyle,\n    color: textColor\n  }, ...rest, children: children || \"\uD14D\uC2A4\uD2B8\" });\n});\nconst containerStyle = {\n  margin: \"8px 0 0 0\",\n  padding: 0,\n  fontSize: \"14px\",\n  fontFamily: `'Pretendard SemiBold', Pretendard -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue',\n  'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji',\n  'Segoe UI Symbol', sans-serif`,\n  lineHeight: \"1.2em\"\n};\nexport {\n  Title\n};\n", "import { Button } from \"./Button.js\";\nimport { Discount } from \"./Discount.js\";\nimport { Divider } from \"./Divider.js\";\nimport { Root } from \"./Root.js\";\nimport { Summary } from \"./Summary.js\";\nimport { Title } from \"./Title.js\";\nconst CouponLayout = {\n  Root,\n  Summary,\n  Title,\n  Discount,\n  Divider,\n  Button\n};\nexport {\n  CouponLayout\n};\n", "import { useAnalytics } from \"../../../hooks/analytics/useAnalytics.js\";\nimport { useContentStore } from \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nconst useTrackClickCouponDownloadCTA = () => {\n  const {\n    trackFirebase,\n    trackAmplitude\n  } = useAnalytics();\n  const {\n    summary\n  } = useContentStore.getState();\n  const {\n    contentId,\n    series\n  } = summary;\n  const trackClickCouponDownloadCTA = () => {\n    const properties = {\n      curr_screen: series,\n      content_no: contentId,\n      content_format: \"FRAMER\",\n      component: \"download_coupon\"\n    };\n    trackFirebase(\"click_button\", properties);\n    trackAmplitude(\"click_button\", properties);\n  };\n  return {\n    trackClickCouponDownloadCTA\n  };\n};\nexport {\n  useTrackClickCouponDownloadCTA\n};\n", "import { millisecondsToMinutes } from \"../../../../utils/date-helpers/millisecondsToMinutes.js\";\nimport { millisecondsToSeconds } from \"../../../../utils/date-helpers/millisecondsToSeconds.js\";\nimport { padZero } from \"../../../../utils/date-helpers/padZero.js\";\nconst MS_IN_SECOND = 1e3;\nconst MS_IN_MINUTE = MS_IN_SECOND * 60;\nconst formatLiveCountdown = (milliseconds) => {\n  const converters = [millisecondsToMinutes, millisecondsToSeconds];\n  const [minutes, seconds] = converters.map((converter) => converter(milliseconds));\n  const lastMinuteCountDown = seconds > 0 ? `${padZero(seconds)}\uCD08 \uD6C4 LIVE \uC2DC\uC791` : \"LIVE \uC2DC\uC791\";\n  return minutes > 0 ? `${padZero(minutes)}\uBD84 ${padZero(seconds)}\uCD08 \uD6C4 LIVE \uC2DC\uC791` : lastMinuteCountDown;\n};\nexport {\n  MS_IN_MINUTE,\n  MS_IN_SECOND,\n  formatLiveCountdown\n};\n", "import { CouponUpdateType } from \"../Coupon.types.js\";\nimport { toCouponNos } from \"../../../../hooks/useDownloadCoupons.js\";\nimport { createKRTimeZoneDate } from \"../../../../utils/createUTCDate.js\";\nimport { isAbove } from \"../../../../utils/date.js\";\nimport { isWithinInterval } from \"../../../../node_modules/date-fns/isWithinInterval.js\";\nimport { differenceInCalendarDays } from \"../../../../node_modules/date-fns/differenceInCalendarDays.js\";\nconst toSchedule = (options) => sortScheduleAscending(toCouponSchedule(options));\nconst findCurrentScheduleItemEntry = (schedule) => {\n  const now = createKRTimeZoneDate();\n  const scheduleIndex = schedule.findIndex((item, index) => {\n    const {\n      shouldUpdateAt\n    } = item;\n    const next = schedule[index + 1];\n    const hasNext = next !== void 0;\n    const isWithin = hasNext && isWithinInterval(now, {\n      start: shouldUpdateAt,\n      end: next.shouldUpdateAt\n    });\n    const isLast = !hasNext && isAbove(now, shouldUpdateAt);\n    return isWithin || isLast;\n  });\n  return [schedule[scheduleIndex], schedule[scheduleIndex + 1]];\n};\nconst sortScheduleAscending = (schedule) => {\n  return [...schedule].sort((x, y) => x.shouldUpdateAt.getTime() - y.shouldUpdateAt.getTime());\n};\nconst toCouponSchedule = (options) => {\n  return options.flatMap((option) => {\n    const {\n      dailyCouponIdList,\n      repeatSchedule\n    } = option;\n    const {\n      startAt,\n      endAt,\n      repeatAt\n    } = repeatSchedule;\n    if (!startAt || !endAt) {\n      return [];\n    }\n    const diff = differenceInCalendarDays(endAt, startAt);\n    return Array.from({\n      length: diff + 1\n    }, (_, index) => {\n      const {\n        hours,\n        minutes,\n        seconds\n      } = repeatAt;\n      const date = createKRTimeZoneDate(startAt);\n      date.setDate(date.getDate() + index);\n      date.setHours(hours, minutes, seconds);\n      return {\n        shouldUpdateAt: date,\n        couponIdList: dailyCouponIdList[index]\n      };\n    });\n  });\n};\nconst getCouponIdList = (couponUpdateType, scheduleItemEntry, couponIdListString) => {\n  if (couponUpdateType === CouponUpdateType.NORMAL) {\n    return toCouponNos(couponIdListString ?? \"\");\n  }\n  const [current] = scheduleItemEntry;\n  return toCouponNos((current == null ? void 0 : current.couponIdList) ?? \"\");\n};\nexport {\n  findCurrentScheduleItemEntry,\n  getCouponIdList,\n  toSchedule\n};\n", "import { useDownloadCoupons } from \"../../../../hooks/useDownloadCoupons.js\";\nimport { CouponUpdateType } from \"../Coupon.types.js\";\nimport { useTrackClickCouponDownloadCTA } from \"../../../canvas/CouponDownloadCTA/CouponDownloadCTA.hooks.event.js\";\nimport { MS_IN_SECOND } from \"../../LiveCampaignBanner/LiveCampaignStatusText/LiveCampaignStatusText.utils.js\";\nimport { useMemo, useState } from \"react\";\nimport { getCouponIdList, toSchedule, findCurrentScheduleItemEntry } from \"./CouponContent.utils.js\";\nimport useInterval from \"../../../../node_modules/react-use/esm/useInterval.js\";\nconst useCouponDownloadButtonClick = (couponType, discountType, couponIdList) => {\n  const {\n    download: downloadCoupons\n  } = useDownloadCoupons(couponType, discountType);\n  const {\n    trackClickCouponDownloadCTA\n  } = useTrackClickCouponDownloadCTA();\n  const handleClick = () => {\n    trackClickCouponDownloadCTA();\n    downloadCoupons(couponIdList);\n  };\n  return handleClick;\n};\nconst useScheduledCouponIdList = (couponUpdateType, couponIdListString, dailyCouponOptions) => {\n  const scheduleItemEntry = useCurrentScheduleItemEntry(couponUpdateType, dailyCouponOptions);\n  const couponIdList = getCouponIdList(couponUpdateType, scheduleItemEntry, couponIdListString);\n  const [, nextScheduleItem] = scheduleItemEntry;\n  return {\n    couponIdList,\n    nextShouldUpdateAt: nextScheduleItem == null ? void 0 : nextScheduleItem.shouldUpdateAt\n  };\n};\nconst useCurrentScheduleItemEntry = (couponUpdateType, dailyCouponOptions) => {\n  const schedule = useMemo(() => toSchedule(dailyCouponOptions), [dailyCouponOptions]);\n  const init = () => {\n    if (couponUpdateType === CouponUpdateType.NORMAL) {\n      return [];\n    }\n    return findCurrentScheduleItemEntry(schedule);\n  };\n  const [scheduleItemEntry, setScheduleItemEntry] = useState(init());\n  useInterval(() => {\n    if (couponUpdateType === CouponUpdateType.NORMAL) {\n      return;\n    }\n    setScheduleItemEntry(findCurrentScheduleItemEntry(schedule));\n  }, MS_IN_SECOND);\n  return scheduleItemEntry;\n};\nexport {\n  useCouponDownloadButtonClick,\n  useCurrentScheduleItemEntry,\n  useScheduledCouponIdList\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { DiscountType } from \"../../../types/models/coupon.js\";\nimport \"../Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"../Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../Expandable/Expandable.js\";\nimport \"../FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../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 \"../Products/Products.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nimport \"../../../constants/snowplow/snowplowSchema.js\";\nimport \"../ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport { RollingNumber } from \"../RollingNumber/RollingNumber.js\";\nimport \"../TabBar/TabBar.js\";\nimport \"../TimeProgressBar/TimeProgressBar.js\";\nimport \"../ViewportContainer/ViewportContainer.js\";\nimport useInterval from \"../../../node_modules/react-use/esm/useInterval.js\";\nconst RandomDiscountValue = ({\n  discountType,\n  discountValues\n}) => {\n  const [index, setIndex] = useState(0);\n  useInterval(() => {\n    setIndex((index + 1) % discountValues.length);\n  }, 800);\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    display: \"flex\",\n    alignItems: \"center\"\n  }, children: [\n    /* @__PURE__ */ jsx(RollingNumber, { value: discountValues[index] ?? 0 }),\n    discountType === DiscountType.FIXED_RATE ? \"%\" : \"\uC6D0\"\n  ] });\n};\nexport {\n  RandomDiscountValue\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useFetchIsAllLimitedCouponIssued } from \"../../../../hooks/fetchers/useFetchIsAllLimitedCouponIssued.js\";\nimport { CouponType } from \"../../../../types/models/coupon.js\";\nimport { composeWithUnitByType } from \"../Coupon.utils.js\";\nimport { CouponCountdown } from \"../CouponCountdown/CouponCountdown.js\";\nimport { CouponLayout } from \"../CouponLayout/index.js\";\nimport { useScheduledCouponIdList, useCouponDownloadButtonClick } from \"./CouponContent.hooks.js\";\nimport { RandomDiscountValue } from \"../../RandomDiscountValue/RandomDiscountValue.js\";\nconst CouponContent = ({\n  variant,\n  text,\n  discountType,\n  discountValues,\n  maxDiscountValue,\n  couponType,\n  couponUpdateType,\n  couponIdListString,\n  dailyCouponOptions\n}) => {\n  const isLimited = couponType === CouponType.LIMITED;\n  const {\n    couponIdList,\n    nextShouldUpdateAt\n  } = useScheduledCouponIdList(couponUpdateType, couponIdListString, dailyCouponOptions);\n  const handleClick = useCouponDownloadButtonClick(couponType, discountType, couponIdList);\n  const {\n    isLoading,\n    data: isAllLimitedCouponIssued\n  } = useFetchIsAllLimitedCouponIssued(isLimited, couponIdList);\n  const disabled = !isLoading && isAllLimitedCouponIssued;\n  const isRandom = couponType === CouponType.RANDOM;\n  const hasTitle = disabled || text.length > 0;\n  return /* @__PURE__ */ jsxs(CouponLayout.Root, { ...variant, disabled, children: [\n    /* @__PURE__ */ jsxs(CouponLayout.Summary, { children: [\n      hasTitle && (disabled ? /* @__PURE__ */ jsx(CouponCountdown, { nextShouldUpdateAt }) : /* @__PURE__ */ jsx(CouponLayout.Title, { children: text })),\n      /* @__PURE__ */ jsx(CouponLayout.Discount, { style: {\n        fontSize: hasTitle ? 34 : 40\n      }, children: isRandom ? /* @__PURE__ */ jsx(RandomDiscountValue, { discountType, discountValues }) : composeWithUnitByType(discountType, maxDiscountValue) })\n    ] }),\n    /* @__PURE__ */ jsx(CouponLayout.Divider, {}),\n    /* @__PURE__ */ jsx(CouponLayout.Button, { onClick: handleClick })\n  ] });\n};\nexport {\n  CouponContent\n};\n", "import { CouponType, DiscountType, AvailableDayType } from \"../../../../types/models/coupon.js\";\nimport { deduplicate } from \"../../../../utils/deduplicate.js\";\nimport { composeWithUnit, composeWithUnitByType } from \"../Coupon.utils.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nimport { parseISO } from \"../../../../node_modules/date-fns/parseISO.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nconst DATE_FORMAT = \"yyyy/MM/dd HH:mm\";\nconst HOURS_IN_DAY = 24;\nconst getCouponNotices = (couponType, coupons) => {\n  const coupon = head(coupons);\n  if (!coupon) {\n    return [];\n  }\n  const formattedAvailablePeriod = formatAvailablePeriod(coupon);\n  const formattedMaxDiscountPrice = formatMaxDiscountPrice(couponType, sortCouponsByDiscountValueAscending(coupons));\n  const maxIssueCountNotice = createMaxIssueCountNotice(coupon.personMaxIssueCount);\n  if (couponType === CouponType.RANDOM) {\n    return getRandomCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice);\n  }\n  if (coupon.discountType === DiscountType.FIXED_RATE) {\n    return getRateCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice, maxIssueCountNotice);\n  }\n  return getAmountCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice, maxIssueCountNotice);\n};\nconst createMaxIssueCountNotice = (maxIssueCount) => {\n  if (!maxIssueCount) {\n    return \"\";\n  }\n  const hasMaxIssueCount = maxIssueCount > 0;\n  if (!hasMaxIssueCount) {\n    return \"\uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uAE30\uAC04 \uC911\uBCF5 \uBC1C\uAE09 \uAC00\uB2A5\uD569\uB2C8\uB2E4.\";\n  }\n  return `\uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uAE30\uAC04 \uB3D9\uC548 \uD558\uB098\uC758 ID \uB2F9 ${maxIssueCount}\uD68C \uBC1C\uAE09 \uBC0F \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`;\n};\nconst formatMaxDiscountPrice = (couponType, coupons) => {\n  const hasMaxDiscountPrice = coupons.some((coupon2) => coupon2.maxDiscountPrice > 0);\n  if (!hasMaxDiscountPrice) {\n    return \"\uC81C\uD55C \uC5C6\uC74C\";\n  }\n  const [coupon] = coupons;\n  if (couponType === CouponType.RANDOM) {\n    return formatRandomCouponMaxDiscountPrice(coupons);\n  }\n  if (coupon.discountType === DiscountType.FIXED_PRICE) {\n    return formatAmountCouponMaxDiscountPrice(coupons);\n  }\n  return formatRateCouponMaxDiscountPrice(coupons);\n};\nconst formatRateCouponMaxDiscountPrice = (coupons) => {\n  return `${composeWithUnit(getMaxDiscountPrice(coupons), \"\uC6D0\")}`;\n};\nconst formatAmountCouponMaxDiscountPrice = (coupons) => {\n  const uniquified = uniquifyCouponsByMinPayAmount(coupons);\n  const formatted = uniquified.reduce((acc, curr) => {\n    const {\n      maxDiscountPrice,\n      minPayAmount\n    } = curr;\n    acc.push(`${composeWithUnit(minPayAmount, \"\uC6D0\")} \uC774\uC0C1 \uAD6C\uB9E4 \uC2DC ${composeWithUnit(maxDiscountPrice, \"\uC6D0\")} \uD560\uC778`);\n    return acc;\n  }, []);\n  return formatted.join(\", \");\n};\nconst formatRandomCouponMaxDiscountPrice = (coupons) => {\n  const uniquified = uniquifyCouponsByDiscountValue(coupons);\n  const formatted = uniquified.reduce((acc, curr) => {\n    const {\n      discountType,\n      discountValue,\n      maxDiscountPrice\n    } = curr;\n    acc.push(`${composeWithUnitByType(discountType, discountValue)} \uCFE0\uD3F0 ${composeWithUnit(maxDiscountPrice, \"\uC6D0\")} \uD560\uC778`);\n    return acc;\n  }, []);\n  return formatted.join(\", \");\n};\nconst formatAvailablePeriod = (coupon) => {\n  if (coupon.useAvailableDayType === AvailableDayType.DAY) {\n    return `\uCFE0\uD3F0 \uBC1C\uAE09 \uD6C4 ${coupon.couponUseAfterDay * HOURS_IN_DAY}\uC2DC\uAC04 \uC774\uB0B4`;\n  }\n  if (coupon.useAvailableDayType === AvailableDayType.RANGE) {\n    const availableStartAt = parseISO(coupon.couponUseStartAt);\n    const availableEndAt = parseISO(coupon.couponUseEndAt);\n    return `${format(availableStartAt, DATE_FORMAT)} - ${format(availableEndAt, DATE_FORMAT)}`;\n  }\n  return \"\uC5C6\uC74C\";\n};\nconst uniquifyCouponsByDiscountValue = (coupons) => {\n  return deduplicate(coupons, (x, y) => x.discountValue === y.discountValue && x.maxDiscountPrice === y.maxDiscountPrice);\n};\nconst uniquifyCouponsByMinPayAmount = (coupons) => {\n  return deduplicate(coupons, (x, y) => x.minPayAmount === y.minPayAmount && x.maxDiscountPrice === y.maxDiscountPrice);\n};\nconst sortCouponsByDiscountValueAscending = (coupons) => {\n  return [...coupons].sort((x, y) => x.discountValue - y.discountValue);\n};\nconst getMaxDiscountPrice = (coupons) => {\n  return Math.max(...coupons.map((coupon) => coupon.maxDiscountPrice));\n};\nconst getRandomCouponNotices = (availablePeriod, maxDiscountPrice) => [`\uCFE0\uD3F0 \uC0AC\uC6A9 \uAE30\uAC04 : ${availablePeriod}`, `\uCFE0\uD3F0 \uCD5C\uB300 \uD560\uC778 \uAE08\uC561 : ${maxDiscountPrice}`, `\uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCFE0\uD3F0\uC740 'MY PAGE > \uC0AC\uC6A9 \uAC00\uB2A5 \uCFE0\uD3F0'\uC5D0\uC11C \uD655\uC778 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uCFE0\uD3F0\uC744 \uC0AC\uC6A9\uD55C \uC774\uB825\uC774 \uC788\uB294 \uACBD\uC6B0 \uCFE0\uD3F0\uC740 \uBCF4\uC774\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.`, `\uCFE0\uD3F0 \uC18C\uBA78, \uBC1C\uAE09 \uC911\uB2E8, \uC0AC\uC6A9 \uC644\uB8CC\uB41C \uCFE0\uD3F0\uC740 \uAD6C\uB9E4 \uCDE8\uC18C \uC2DC \uBCC4\uB3C4 \uC7AC\uBC1C\uAE09\uC774 \uBD88\uAC00\uD569\uB2C8\uB2E4.`, `\uBE0C\uB79C\uB4DC \uC815\uCC45\uC5D0 \uB530\uB77C \uC77C\uBD80 \uC0C1\uD488 \uCFE0\uD3F0 \uC801\uC6A9\uC774 \uBD88\uAC00\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`];\nconst getRateCouponNotices = (availablePeriod, maxDiscountPrice, maxIssueCountNotice) => [`\uCFE0\uD3F0 \uC0AC\uC6A9 \uAE30\uAC04 : ${availablePeriod}`, `\uCFE0\uD3F0 \uCD5C\uB300 \uD560\uC778 \uAE08\uC561 : ${maxDiscountPrice}`, maxIssueCountNotice, `\uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCFE0\uD3F0\uC740 'MY PAGE > \uC0AC\uC6A9 \uAC00\uB2A5 \uCFE0\uD3F0'\uC5D0\uC11C \uD655\uC778 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uD574\uB2F9 \uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uCC38\uC5EC \uC0C1\uD488 \uB300\uC0C1\uC73C\uB85C\uB9CC \uC801\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uCFE0\uD3F0 \uC801\uC6A9 \uAC00\uB2A5 \uC0C1\uD488\uC740 \uC218\uC2DC\uB85C \uBCC0\uACBD\uB418\uBA70, \uC77C\uBD80 \uD488\uBAA9\uC5D0 \uD55C\uD558\uC5EC \uCFE0\uD3F0 \uC801\uC6A9\uC774 \uC81C\uD55C\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`, `\uBE0C\uB79C\uB4DC \uC7AC\uACE0 \uC0AC\uC815\uC5D0 \uB530\uB77C \uD488\uC808\uC774\uB098 \uD658\uBD88 \uC548\uB0B4\uB97C \uBC1B\uAC8C \uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`];\nconst getAmountCouponNotices = (availablePeriod, maxDiscountPrice, maxIssueCountNotice) => [`\uCFE0\uD3F0 \uC0AC\uC6A9 \uAE30\uAC04 : ${availablePeriod}`, `\uCFE0\uD3F0 \uCD5C\uB300 \uD560\uC778 \uAE08\uC561 : ${maxDiscountPrice}`, maxIssueCountNotice, `\uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCFE0\uD3F0\uC740 'MY PAGE > \uC0AC\uC6A9 \uAC00\uB2A5 \uCFE0\uD3F0'\uC5D0\uC11C \uD655\uC778 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uD574\uB2F9 \uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uCC38\uC5EC \uC0C1\uD488 \uB300\uC0C1\uC73C\uB85C\uB9CC \uC801\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uCFE0\uD3F0 \uC801\uC6A9 \uAC00\uB2A5 \uC0C1\uD488\uC740 \uC218\uC2DC\uB85C \uBCC0\uACBD\uB418\uBA70, \uC77C\uBD80 \uD488\uBAA9\uC5D0 \uD55C\uD558\uC5EC \uCFE0\uD3F0 \uC801\uC6A9\uC774 \uC81C\uD55C\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`, `\uBE0C\uB79C\uB4DC \uC7AC\uACE0 \uC0AC\uC815\uC5D0 \uB530\uB77C \uD488\uC808\uC774\uB098 \uD658\uBD88 \uC548\uB0B4\uB97C \uBC1B\uAC8C \uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`];\nexport {\n  getCouponNotices\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { getCouponNotices } from \"./CouponNotice.utils.js\";\nimport { FoldableList } from \"../../../@shared/FoldableList/index.js\";\nimport { useMemo } from \"react\";\nconst CouponNotice = ({\n  theme,\n  couponType,\n  coupons,\n  additionalNotices\n}) => {\n  const notices = useMemo(() => [...getCouponNotices(couponType, coupons), ...additionalNotices], [couponType, coupons, additionalNotices]);\n  return /* @__PURE__ */ jsxs(FoldableList.Root, { theme, children: [\n    /* @__PURE__ */ jsx(FoldableList.Trigger, { children: \"\uCFE0\uD3F0 \uC720\uC758 \uC0AC\uD56D\" }),\n    /* @__PURE__ */ jsx(FoldableList.Content, { children: notices.filter((notice) => notice !== \"\").map((notice, index) => (\n      // eslint-disable-next-line react/no-array-index-key\n      /* @__PURE__ */ jsx(FoldableList.Item, { children: notice }, index)\n    )) })\n  ] });\n};\nexport {\n  CouponNotice\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { Skeleton } from \"../../../@shared/Skeleton/Skeleton.js\";\nconst CouponSkeleton = () => {\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    display: \"flex\",\n    flexDirection: \"column\",\n    gap: \"10px\"\n  }, children: [\n    /* @__PURE__ */ jsx(Skeleton, { style: {\n      width: \"100%\",\n      height: 100,\n      borderRadius: 4\n    } }),\n    /* @__PURE__ */ jsx(Skeleton, { style: {\n      width: 100,\n      height: 22.4,\n      borderRadius: 4\n    } })\n  ] });\n};\nexport {\n  CouponSkeleton\n};\n", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { useMemo } from \"react\";\nimport { CouponType } from \"../../../types/models/coupon.js\";\nimport { useCoupons } from \"./Coupon.hooks.js\";\nimport { CouponVariantType, CouponThemeType, CouponUpdateType } from \"./Coupon.types.js\";\nimport { getHeadCouponIdList, getAllDiscountValues, getMaxDiscountValue, reshapeProps } from \"./Coupon.utils.js\";\nimport { CouponContent } from \"./CouponContent/CouponContent.js\";\nimport { CouponNotice } from \"./CouponNotice/CouponNotice.js\";\nimport { CouponSkeleton } from \"./CouponSkeleton/CouponSkeleton.js\";\nimport head from \"../../../node_modules/lodash-es/head.js\";\nconst Coupon = (props) => {\n  const {\n    noticeTheme: theme,\n    couponType,\n    couponUpdateType,\n    couponIdListString,\n    dailyCouponOptions,\n    additionalNotices\n  } = props;\n  const couponIdList = useMemo(() => getHeadCouponIdList(couponUpdateType, couponIdListString, dailyCouponOptions), [couponUpdateType, couponIdListString, dailyCouponOptions]);\n  const {\n    isPending,\n    coupons\n  } = useCoupons(couponIdList);\n  const coupon = head(coupons);\n  if (isPending || !coupon) {\n    return /* @__PURE__ */ jsx(CouponSkeleton, {});\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { style: containerStyle, children: [\n    /* @__PURE__ */ jsx(CouponContent, { discountType: coupon.discountType, discountValues: getAllDiscountValues(coupons), maxDiscountValue: getMaxDiscountValue(coupons), ...reshapeProps(props) }),\n    /* @__PURE__ */ jsx(CouponNotice, { theme, couponType, coupons, additionalNotices })\n  ] });\n};\nconst containerStyle = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: \"10px\"\n};\naddPropertyControls(Coupon, {\n  // NOTE: variant \uAC00 \uC62C\uBC14\uB978 \uD45C\uD604\uC774\uB098 \uAE30\uC874\uC5D0 \uC774\uBBF8 theme \uC73C\uB85C \uC815\uC758\uD558\uC5EC, \uD558\uC704\uD638\uD658\uC131 \uC720\uC9C0\uB97C \uC704\uD574 \uC0AC\uC6A9\uCC98\uC5D0\uC11C\uB9CC variant \uB85C \uB124\uC774\uBC0D\uD569\uB2C8\uB2E4. (V2 \uAD6C\uD604 \uC2DC \uBCC0\uACBD \uC608\uC815)\n  theme: {\n    type: ControlType.Enum,\n    title: \"\uBCC0\uD615\",\n    options: [CouponVariantType.BLACK, CouponVariantType.WHITE, CouponVariantType.ORANGE, CouponVariantType.BLUE, CouponVariantType.NONE],\n    optionTitles: [\"Black\", \"White\", \"Orange\", \"Blue\", \"\uC9C1\uC811 \uC120\uD0DD\"]\n  },\n  // NOTE: theme \uC774 \uC62C\uBC14\uB978 \uD45C\uD604\uC774\uB098 \uAE30\uC874\uC5D0 theme \uC73C\uB85C \uC815\uC758\uB41C \uC635\uC158\uC774 \uC874\uC7AC\uD558\uC5EC, \uD558\uC704\uD638\uD658\uC131 \uC720\uC9C0\uB97C \uC704\uD574 \uC0AC\uC6A9\uCC98\uC5D0\uC11C\uB9CC theme \uC73C\uB85C \uB124\uC774\uBC0D\uD569\uB2C8\uB2E4. (V2 \uAD6C\uD604 \uC2DC \uBCC0\uACBD \uC608\uC815)\n  noticeTheme: {\n    type: ControlType.Enum,\n    title: \"\uD14C\uB9C8\",\n    options: [CouponThemeType.LIGHT, CouponThemeType.DARK],\n    optionTitles: [\"light\", \"dark\"]\n  },\n  backgroundColor: {\n    hidden: ({\n      theme\n    }) => theme !== CouponVariantType.NONE,\n    type: ControlType.Color,\n    title: \"\uBC30\uACBD \uC0C9\uC0C1\",\n    defaultValue: \"rgba(0, 0, 0, 1)\"\n  },\n  textColor: {\n    hidden: ({\n      theme\n    }) => theme !== CouponVariantType.NONE,\n    type: ControlType.Color,\n    title: \"\uD14D\uC2A4\uD2B8 \uC0C9\uC0C1\",\n    defaultValue: \"rgba(255, 255, 255, 1)\"\n  },\n  text: {\n    type: ControlType.String,\n    title: \"\uD14D\uC2A4\uD2B8\",\n    placeholder: \"\uD14D\uC2A4\uD2B8 \uC785\uB825\"\n  },\n  couponType: {\n    type: ControlType.Enum,\n    title: \"\uCFE0\uD3F0 \uC720\uD615\",\n    description: \"\uB79C\uB364 \uCFE0\uD3F0\uC740 \uCFE0\uD3F0 \uBC88\uD638 \uC5C6\uC774 \uB2F9\uC77C\uC5D0 \uBC1C\uAE09 \uAC00\uB2A5\uD55C \uCFE0\uD3F0\uC774 \uBC1C\uAE09\uB429\uB2C8\uB2E4.\",\n    options: [CouponType.NORMAL, CouponType.LIMITED, CouponType.RANDOM],\n    optionTitles: [\"\uC77C\uBC18\", \"\uC120\uCC29\uC21C\", \"\uB79C\uB364\"],\n    displaySegmentedControl: true\n  },\n  couponUpdateType: {\n    hidden: ({\n      couponType\n    }) => couponType === CouponType.RANDOM,\n    type: ControlType.Enum,\n    title: \"\uCFE0\uD3F0 \uAC31\uC2E0 \uC720\uD615\",\n    options: [CouponUpdateType.NORMAL, CouponUpdateType.DAILY],\n    optionTitles: [\"\uACE0\uC815\", \"\uC77C\uC790\uBCC4\"],\n    displaySegmentedControl: true\n  },\n  couponIdListString: {\n    hidden: ({\n      couponUpdateType\n    }) => couponUpdateType !== CouponUpdateType.NORMAL,\n    type: ControlType.String,\n    title: \"\uCFE0\uD3F0 \uBC88\uD638 \uBAA9\uB85D\",\n    description: \"\uCF64\uB9C8(,)\uB85C \uAD6C\uBD84\uD558\uC5EC \uC785\uB825\uD569\uB2C8\uB2E4. ex) 99501, 99533\\n\uB79C\uB364 \uCFE0\uD3F0\uC758 \uACBD\uC6B0 \uC720\uC758\uC0AC\uD56D \uBB38\uAD6C \uC790\uB3D9\uD654\uB97C \uC704\uD574 \uCCAB\uB0A0\uC5D0 \uD574\uB2F9\uD558\uB294 \uCFE0\uD3F0\uBC88\uD638 \uBAA9\uB85D\uC744 \uC785\uB825\uD574 \uC8FC\uC138\uC694.\"\n  },\n  dailyCouponOptions: {\n    hidden: ({\n      couponUpdateType,\n      couponType\n    }) => couponUpdateType !== CouponUpdateType.DAILY || couponType === CouponType.RANDOM,\n    type: ControlType.Array,\n    title: \"\uC77C\uC790\uBCC4 \uCFE0\uD3F0 \uC124\uC815 \uBAA9\uB85D\",\n    control: {\n      type: ControlType.Object,\n      controls: {\n        dailyCouponIdList: {\n          type: ControlType.Array,\n          title: \"\uCFE0\uD3F0 \uBC88\uD638 \uBAA9\uB85D\",\n          description: \"\uC77C\uC790\uBCC4 \uCFE0\uD3F0 \uBC88\uD638 \uBAA9\uB85D\uC744 \uC785\uB825\uD569\uB2C8\uB2E4.\\n\uD558\uB098\uC758 \uCFE0\uD3F0 \uBC88\uD638 \uBAA9\uB85D\uB2F9 \uD558\uB098\uC758 \uB0A0\uC9DC\uC5D0 \uC5F0\uACB0\uB429\uB2C8\uB2E4.\",\n          control: {\n            type: ControlType.String,\n            title: \"\uCFE0\uD3F0 \uBC88\uD638 \uBAA9\uB85D\"\n          }\n        },\n        repeatSchedule: {\n          type: ControlType.Object,\n          title: \"\uBC18\uBCF5 \uC77C\uC815\",\n          controls: {\n            startAt: {\n              type: ControlType.Date,\n              title: \"\uC2DC\uC791\uC77C\",\n              description: \"\uBC18\uBCF5 \uC77C\uC815\uC774 \uC2DC\uC791\uB418\uB294 \uB0A0\uC9DC\uB97C \uC785\uB825\uD569\uB2C8\uB2E4.\"\n            },\n            endAt: {\n              type: ControlType.Date,\n              title: \"\uC885\uB8CC\uC77C\",\n              description: \"\uBC18\uBCF5 \uC77C\uC815\uC774 \uC885\uB8CC\uB418\uB294 \uB0A0\uC9DC\uB97C \uC785\uB825\uD569\uB2C8\uB2E4.\"\n            },\n            repeatAt: {\n              type: ControlType.Object,\n              title: \"\uBC18\uBCF5 \uC2DC\uC791 \uC2DC\uAC04\",\n              description: \"\uC77C\uC815\uC774 \uB9E4\uC77C \uBC18\uBCF5\uB418\uB294 \uC2DC\uAC04\uC744 \uC785\uB825\uD569\uB2C8\uB2E4.\\nex) 10\uC2DC 0\uBD84 0\uCD08 \uC785\uB825 -> \uB9E4\uC77C \uC624\uC804 10\uC2DC\uC5D0 \uCFE0\uD3F0\uBC88\uD638 \uBCC0\uACBD\",\n              controls: {\n                hours: {\n                  type: ControlType.Number,\n                  title: \"\uC2DC\",\n                  defaultValue: 0,\n                  min: 0,\n                  max: 23,\n                  unit: \"\uC2DC\",\n                  step: 1,\n                  displayStepper: true\n                },\n                minutes: {\n                  type: ControlType.Number,\n                  title: \"\uBD84\",\n                  defaultValue: 0,\n                  min: 0,\n                  max: 59,\n                  unit: \"\uBD84\",\n                  step: 1,\n                  displayStepper: true\n                },\n                seconds: {\n                  type: ControlType.Number,\n                  title: \"\uCD08\",\n                  defaultValue: 0,\n                  min: 0,\n                  max: 59,\n                  unit: \"\uCD08\",\n                  step: 1,\n                  displayStepper: true\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  },\n  additionalNotices: {\n    type: ControlType.Array,\n    title: \"\uCD94\uAC00 \uC720\uC758\uC0AC\uD56D\",\n    description: \"\uC720\uC758\uC0AC\uD56D \uBB38\uAD6C\uB97C \uCD94\uAC00\uD574\uC57C \uD558\uB294 \uACBD\uC6B0 \uC785\uB825\uD574 \uC8FC\uC138\uC694.\",\n    control: {\n      type: ControlType.String,\n      title: \"\uB0B4\uC6A9\",\n      placeholder: \"\uB0B4\uC6A9 \uC785\uB825\"\n    }\n  }\n});\nexport {\n  Coupon\n};\n", "import{Coupon}from\"https://asset.29cm.co.kr/contents/framer/components/systems/Coupon/Coupon.js\";// import { Coupon } from \"https://asset.29cm.co.kr/contents/framer/dev/components/systems/Coupon/Coupon.js\"\n// import { Coupon } from \"http://localhost:4173/components/systems/Coupon/Coupon.js\"\nCoupon.displayName=\"Coupon\";/**\n * @framerDisableUnlink\n */export default Coupon;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Coupon\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Coupon.map", "// Generated by Framer (ff6f0b6)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import Coupon from\"https://framerusercontent.com/modules/hwVvrtY6jYAjyBCi2nlX/dERCvrzQ6yC8r9osMueR/Coupon.js\";const CouponFonts=getFonts(Coupon);const CouponControls=getPropertyControls(Coupon);const cycleOrder=[\"GZHfJqkAF\",\"btJV4MzKR\",\"HNTDu154q\",\"Rgs8WdXc6\"];const serializationHash=\"framer-CAUNP\";const variantClassNames={btJV4MzKR:\"framer-v-1p6bxqo\",GZHfJqkAF:\"framer-v-1ncom7f\",HNTDu154q:\"framer-v-15gsdug\",Rgs8WdXc6:\"framer-v-1i7szbz\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableEnumMap={};const humanReadableEnumMap1={dark:\"dark\",light:\"light\"};const humanReadableVariantMap={\"Big desktop\":\"btJV4MzKR\",Desktop:\"GZHfJqkAF\",Phone:\"Rgs8WdXc6\",Tablet:\"HNTDu154q\"};const getProps=({_,_1,_10,_11,_12,_13,_14,_15,_16,_17,_18,_19,_2,_3,_4,_5,_6,_7,_8,_9,height,id,width,...props})=>{return{...props,a2bqIXEBi:humanReadableEnumMap[_16]??_16??props.a2bqIXEBi,ba4o173I8:_9??props.ba4o173I8??\"rgb(0, 0, 0)\",bbUUHmSHH:humanReadableEnumMap[_11]??_11??props.bbUUHmSHH??4,CmHYNLsPm:_??props.CmHYNLsPm??\"rgb(255, 255, 255)\",fUWnZ_AiT:_7??props.fUWnZ_AiT??\"rgb(0, 0, 0)\",HTbZ_AR4q:_8??props.HTbZ_AR4q??\"2024. 11. 18.  -  12. 1.\",jlb5dNtRJ:_5??props.jlb5dNtRJ??\"rgb(0, 0, 0)\",LIUnV5MNp:_6??props.LIUnV5MNp??\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\",MTLqaVOVw:humanReadableEnumMap1[_12]??_12??props.MTLqaVOVw??\"dark\",Nu2OiKx0X:_10??props.Nu2OiKx0X??true,QshiM1uD_:_19??props.QshiM1uD_??\"60px 20px 60px 20px\",RRxJnxgyt:_15??props.RRxJnxgyt??\"29 \uC2A4\uD0C0\uC77C \uB808\uC2DC\uD53C Ep.30\",rwrGEjweo:_1??props.rwrGEjweo??\"Ep.30\",UwRSo4zGW:_13??props.UwRSo4zGW??\"rgb(0, 0, 0)\",variant:humanReadableVariantMap[props.variant]??props.variant??\"GZHfJqkAF\",vdBr2k8KW:_4??props.vdBr2k8KW??\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\",VIQIykujB:humanReadableEnumMap[_17]??_17??props.VIQIykujB,x2MmjfJIi:_3??props.x2MmjfJIi??true,YFz8StvXs:_18??props.YFz8StvXs??\"150866\",yr3Gpoiip:_14??props.yr3Gpoiip??\"rgb(255, 255, 255)\",zDlrEVgIh:_2??props.zDlrEVgIh??\"rgb(0, 0, 0)\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,CmHYNLsPm,rwrGEjweo,zDlrEVgIh,x2MmjfJIi,vdBr2k8KW,jlb5dNtRJ,LIUnV5MNp,fUWnZ_AiT,HTbZ_AR4q,ba4o173I8,Nu2OiKx0X,bbUUHmSHH,MTLqaVOVw,UwRSo4zGW,yr3Gpoiip,RRxJnxgyt,a2bqIXEBi,VIQIykujB,YFz8StvXs,QshiM1uD_,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"GZHfJqkAF\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1ncom7f\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"GZHfJqkAF\",ref:ref??ref1,style:{\"--193deo\":numberToPixelString(QshiM1uD_),backgroundColor:CmHYNLsPm,...style},...addPropertyOverrides({btJV4MzKR:{\"data-framer-name\":\"Big desktop\"},HNTDu154q:{\"data-framer-name\":\"Tablet\"},Rgs8WdXc6:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-18i5laz\",layoutDependency:layoutDependency,layoutId:\"jjZ0bhLtU\",children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1lg689s\",\"data-framer-name\":\"IntroHeader\",layoutDependency:layoutDependency,layoutId:\"aZ9bGnera\",children:[x2MmjfJIi&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h1,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-letter-spacing\":\"0.05em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-gdpscs, var(--variable-reference-zDlrEVgIh-etfVDLnnk))\"},children:\"Ep.30\"})}),className:\"framer-15r9j7e\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"B5m4jUUqx\",style:{\"--extracted-gdpscs\":\"var(--variable-reference-zDlrEVgIh-etfVDLnnk)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-zDlrEVgIh-etfVDLnnk\":zDlrEVgIh},text:rwrGEjweo,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h6,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgTWVkaXVt\",\"--framer-font-family\":'\"Pretendard Medium\", \"Pretendard Medium Placeholder\", sans-serif',\"--framer-font-size\":\"28px\",\"--framer-line-height\":\"1.35em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-1w1cjl5, var(--variable-reference-jlb5dNtRJ-etfVDLnnk))\"},children:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\"})}),className:\"framer-w8oidl\",fonts:[\"CUSTOM;Pretendard Medium\"],layoutDependency:layoutDependency,layoutId:\"Hs2DOXHIS\",style:{\"--extracted-1w1cjl5\":\"var(--variable-reference-jlb5dNtRJ-etfVDLnnk)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-jlb5dNtRJ-etfVDLnnk\":jlb5dNtRJ},text:vdBr2k8KW,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({Rgs8WdXc6:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h6,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgTWVkaXVt\",\"--framer-font-family\":'\"Pretendard Medium\", \"Pretendard Medium Placeholder\", sans-serif',\"--framer-font-size\":\"26px\",\"--framer-line-height\":\"1.35em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-1w1cjl5, var(--variable-reference-jlb5dNtRJ-etfVDLnnk))\"},children:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\"})})}},baseVariant,gestureVariant)})]}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-190dfh3\",\"data-framer-name\":\"IntroDescription\",layoutDependency:layoutDependency,layoutId:\"AMuclXSRE\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgTWVkaXVt\",\"--framer-font-family\":'\"Pretendard Medium\", \"Pretendard Medium Placeholder\", sans-serif',\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-fUWnZ_AiT-etfVDLnnk))\"},children:\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\"})}),className:\"framer-1tg0ysz\",fonts:[\"CUSTOM;Pretendard Medium\"],layoutDependency:layoutDependency,layoutId:\"tKhb6L6TH\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-fUWnZ_AiT-etfVDLnnk)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-fUWnZ_AiT-etfVDLnnk\":fUWnZ_AiT},text:LIUnV5MNp,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgTWVkaXVt\",\"--framer-font-family\":'\"Pretendard Medium\", \"Pretendard Medium Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-line-height\":\"1.5em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-ba4o173I8-etfVDLnnk))\"},children:\"2024. 11. 18.  -  12. 1.\"})}),className:\"framer-9zm0d1\",fonts:[\"CUSTOM;Pretendard Medium\"],layoutDependency:layoutDependency,layoutId:\"vFcRawKBx\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-ba4o173I8-etfVDLnnk)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-ba4o173I8-etfVDLnnk\":ba4o173I8},text:HTbZ_AR4q,verticalAlignment:\"top\",withExternalLayout:true})]})]}),Nu2OiKx0X&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-smhfj\",\"data-framer-name\":\"Coupon\",layoutDependency:layoutDependency,layoutId:\"iB8NQVSgB\",children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1sx3vhh-container\",layoutDependency:layoutDependency,layoutId:\"gG6T0Yc4P-container\",children:/*#__PURE__*/_jsx(Coupon,{additionalNotices:[\"\"],backgroundColor:UwRSo4zGW,couponIdListString:YFz8StvXs,couponType:a2bqIXEBi,couponUpdateType:VIQIykujB,dailyCouponOptions:[],height:\"100%\",id:\"gG6T0Yc4P\",layoutId:\"gG6T0Yc4P\",noticeTheme:MTLqaVOVw,style:{maxWidth:\"100%\",width:\"100%\"},text:RRxJnxgyt,textColor:yr3Gpoiip,theme:bbUUHmSHH,width:\"100%\"})})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-CAUNP.framer-1uut8wz, .framer-CAUNP .framer-1uut8wz { display: block; }\",\".framer-CAUNP.framer-1ncom7f { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 40px; height: min-content; justify-content: flex-start; overflow: hidden; padding: var(--193deo); position: relative; width: 1440px; }\",\".framer-CAUNP .framer-18i5laz { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-CAUNP .framer-1lg689s { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 14px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-CAUNP .framer-15r9j7e { flex: none; height: auto; overflow: visible; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-CAUNP .framer-w8oidl { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-CAUNP .framer-190dfh3 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 1160px; }\",\".framer-CAUNP .framer-1tg0ysz { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 60%; word-break: break-word; word-wrap: break-word; }\",\".framer-CAUNP .framer-9zm0d1 { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 1160px; word-break: break-word; word-wrap: break-word; }\",\".framer-CAUNP .framer-smhfj { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-CAUNP .framer-1sx3vhh-container { flex: none; height: auto; max-width: 500px; position: relative; width: 500px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-CAUNP.framer-1ncom7f, .framer-CAUNP .framer-18i5laz, .framer-CAUNP .framer-1lg689s, .framer-CAUNP .framer-190dfh3, .framer-CAUNP .framer-smhfj { gap: 0px; } .framer-CAUNP.framer-1ncom7f > * { margin: 0px; margin-bottom: calc(40px / 2); margin-top: calc(40px / 2); } .framer-CAUNP.framer-1ncom7f > :first-child, .framer-CAUNP .framer-18i5laz > :first-child, .framer-CAUNP .framer-1lg689s > :first-child, .framer-CAUNP .framer-190dfh3 > :first-child, .framer-CAUNP .framer-smhfj > :first-child { margin-top: 0px; } .framer-CAUNP.framer-1ncom7f > :last-child, .framer-CAUNP .framer-18i5laz > :last-child, .framer-CAUNP .framer-1lg689s > :last-child, .framer-CAUNP .framer-190dfh3 > :last-child, .framer-CAUNP .framer-smhfj > :last-child { margin-bottom: 0px; } .framer-CAUNP .framer-18i5laz > *, .framer-CAUNP .framer-190dfh3 > * { margin: 0px; margin-bottom: calc(20px / 2); margin-top: calc(20px / 2); } .framer-CAUNP .framer-1lg689s > * { margin: 0px; margin-bottom: calc(14px / 2); margin-top: calc(14px / 2); } .framer-CAUNP .framer-smhfj > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } }\",\".framer-CAUNP.framer-v-1p6bxqo.framer-1ncom7f { width: 1920px; }\",\".framer-CAUNP.framer-v-15gsdug.framer-1ncom7f { width: 1024px; }\",\".framer-CAUNP.framer-v-1i7szbz.framer-1ncom7f { gap: 30px; width: 390px; }\",\".framer-CAUNP.framer-v-1i7szbz .framer-18i5laz { gap: 15px; }\",\".framer-CAUNP.framer-v-1i7szbz .framer-190dfh3 { gap: 15px; width: 100%; }\",\".framer-CAUNP.framer-v-1i7szbz .framer-1tg0ysz, .framer-CAUNP.framer-v-1i7szbz .framer-1sx3vhh-container { width: 100%; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-CAUNP.framer-v-1i7szbz.framer-1ncom7f, .framer-CAUNP.framer-v-1i7szbz .framer-18i5laz, .framer-CAUNP.framer-v-1i7szbz .framer-190dfh3 { gap: 0px; } .framer-CAUNP.framer-v-1i7szbz.framer-1ncom7f > * { margin: 0px; margin-bottom: calc(30px / 2); margin-top: calc(30px / 2); } .framer-CAUNP.framer-v-1i7szbz.framer-1ncom7f > :first-child, .framer-CAUNP.framer-v-1i7szbz .framer-18i5laz > :first-child, .framer-CAUNP.framer-v-1i7szbz .framer-190dfh3 > :first-child { margin-top: 0px; } .framer-CAUNP.framer-v-1i7szbz.framer-1ncom7f > :last-child, .framer-CAUNP.framer-v-1i7szbz .framer-18i5laz > :last-child, .framer-CAUNP.framer-v-1i7szbz .framer-190dfh3 > :last-child { margin-bottom: 0px; } .framer-CAUNP.framer-v-1i7szbz .framer-18i5laz > *, .framer-CAUNP.framer-v-1i7szbz .framer-190dfh3 > * { margin: 0px; margin-bottom: calc(15px / 2); margin-top: calc(15px / 2); } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 472\n * @framerIntrinsicWidth 1440\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"btJV4MzKR\":{\"layout\":[\"fixed\",\"auto\"]},\"HNTDu154q\":{\"layout\":[\"fixed\",\"auto\"]},\"Rgs8WdXc6\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"CmHYNLsPm\":\"_\",\"rwrGEjweo\":\"_1\",\"zDlrEVgIh\":\"_2\",\"x2MmjfJIi\":\"_3\",\"vdBr2k8KW\":\"_4\",\"jlb5dNtRJ\":\"_5\",\"LIUnV5MNp\":\"_6\",\"fUWnZ_AiT\":\"_7\",\"HTbZ_AR4q\":\"_8\",\"ba4o173I8\":\"_9\",\"Nu2OiKx0X\":\"_10\",\"bbUUHmSHH\":\"_11\",\"MTLqaVOVw\":\"_12\",\"UwRSo4zGW\":\"_13\",\"yr3Gpoiip\":\"_14\",\"RRxJnxgyt\":\"_15\",\"a2bqIXEBi\":\"_16\",\"VIQIykujB\":\"_17\",\"YFz8StvXs\":\"_18\",\"QshiM1uD_\":\"_19\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FrameretfVDLnnk=withCSS(Component,css,\"framer-CAUNP\");export default FrameretfVDLnnk;FrameretfVDLnnk.displayName=\"Intro\";FrameretfVDLnnk.defaultProps={height:472,width:1440};addPropertyControls(FrameretfVDLnnk,{variant:{options:[\"GZHfJqkAF\",\"btJV4MzKR\",\"HNTDu154q\",\"Rgs8WdXc6\"],optionTitles:[\"Desktop\",\"Big desktop\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},CmHYNLsPm:{defaultValue:\"rgb(255, 255, 255)\",title:\"\uBC30\uACBD \uC0C9\uC0C1\",type:ControlType.Color},rwrGEjweo:{defaultValue:\"Ep.30\",displayTextArea:false,title:\"\uC5D0\uD53C\uC18C\uB4DC\",type:ControlType.String},zDlrEVgIh:{defaultValue:\"rgb(0, 0, 0)\",title:\"\uC5D0\uD53C\uC18C\uB4DC \uD14D\uC2A4\uD2B8 \uC0C9\uC0C1\",type:ControlType.Color},x2MmjfJIi:{defaultValue:true,title:\"\uC5D0\uD53C\uC18C\uB4DC \uBE44\uC838\uBE14\",type:ControlType.Boolean},vdBr2k8KW:{defaultValue:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\",displayTextArea:false,title:\"\uD0C0\uC774\uD2C0\",type:ControlType.String},jlb5dNtRJ:{defaultValue:\"rgb(0, 0, 0)\",title:\"\uD0C0\uC774\uD2C0 \uD14D\uC2A4\uD2B8 \uC0C9\uC0C1\",type:ControlType.Color},LIUnV5MNp:{defaultValue:\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\",displayTextArea:true,title:\"\uC124\uBA85\",type:ControlType.String},fUWnZ_AiT:{defaultValue:\"rgb(0, 0, 0)\",title:\"\uC124\uBA85 \uD14D\uC2A4\uD2B8 \uC0C9\uC0C1\",type:ControlType.Color},HTbZ_AR4q:{defaultValue:\"2024. 11. 18.  -  12. 1.\",displayTextArea:false,title:\"\uB0A0\uC9DC\",type:ControlType.String},ba4o173I8:{defaultValue:\"rgb(0, 0, 0)\",title:\"\uB0A0\uC9DC \uD14D\uC2A4\uD2B8 \uC0C9\uC0C1\",type:ControlType.Color},Nu2OiKx0X:{defaultValue:true,title:\"\uCFE0\uD3F0 \uBE44\uC838\uBE14\",type:ControlType.Boolean},bbUUHmSHH:CouponControls?.[\"theme\"]&&{...CouponControls[\"theme\"],defaultValue:4,description:undefined,hidden:undefined,title:\"\uCFE0\uD3F0 \uBCC0\uD615\"},MTLqaVOVw:CouponControls?.[\"noticeTheme\"]&&{...CouponControls[\"noticeTheme\"],defaultValue:\"dark\",description:undefined,hidden:undefined,title:\"\uCFE0\uD3F0 \uD14C\uB9C8\"},UwRSo4zGW:{defaultValue:\"rgb(0, 0, 0)\",title:\"\uCFE0\uD3F0 \uC0C9\uC0C1\",type:ControlType.Color},yr3Gpoiip:{defaultValue:\"rgb(255, 255, 255)\",title:\"\uCFE0\uD3F0 \uD14D\uC2A4\uD2B8 \uC0C9\uC0C1\",type:ControlType.Color},RRxJnxgyt:{defaultValue:\"29 \uC2A4\uD0C0\uC77C \uB808\uC2DC\uD53C Ep.30\",placeholder:\"\uD14D\uC2A4\uD2B8 \uC785\uB825\",title:\"\uCFE0\uD3F0 \uD14D\uC2A4\uD2B8\",type:ControlType.String},a2bqIXEBi:CouponControls?.[\"couponType\"]&&{...CouponControls[\"couponType\"],defaultValue:0,description:undefined,hidden:undefined,title:\"\uCFE0\uD3F0 \uC720\uD615\"},VIQIykujB:CouponControls?.[\"couponUpdateType\"]&&{...CouponControls[\"couponUpdateType\"],defaultValue:0,description:undefined,hidden:undefined,title:\"\uCFE0\uD3F0 \uAC31\uC2E0 \uC720\uD615\"},YFz8StvXs:{defaultValue:\"150866\",title:\"\uCFE0\uD3F0 \uBC88\uD638 \uBAA9\uB85D\",type:ControlType.String},QshiM1uD_:{defaultValue:\"60px 20px 60px 20px\",title:\"\uD328\uB529\",type:ControlType.Padding}});addFonts(FrameretfVDLnnk,[{explicitInter:true,fonts:[{family:\"Pretendard Bold\",source:\"custom\",url:\"https://framerusercontent.com/assets/TDgt4wnSbW6ssMiUHMKSTjZfpQ.woff2\"},{family:\"Pretendard Medium\",source:\"custom\",url:\"https://framerusercontent.com/assets/Zz1SyNcAE05UfirXmAdWGcSx5I.woff2\"}]},...CouponFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameretfVDLnnk\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"btJV4MzKR\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"HNTDu154q\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"Rgs8WdXc6\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"CmHYNLsPm\\\":\\\"_\\\",\\\"rwrGEjweo\\\":\\\"_1\\\",\\\"zDlrEVgIh\\\":\\\"_2\\\",\\\"x2MmjfJIi\\\":\\\"_3\\\",\\\"vdBr2k8KW\\\":\\\"_4\\\",\\\"jlb5dNtRJ\\\":\\\"_5\\\",\\\"LIUnV5MNp\\\":\\\"_6\\\",\\\"fUWnZ_AiT\\\":\\\"_7\\\",\\\"HTbZ_AR4q\\\":\\\"_8\\\",\\\"ba4o173I8\\\":\\\"_9\\\",\\\"Nu2OiKx0X\\\":\\\"_10\\\",\\\"bbUUHmSHH\\\":\\\"_11\\\",\\\"MTLqaVOVw\\\":\\\"_12\\\",\\\"UwRSo4zGW\\\":\\\"_13\\\",\\\"yr3Gpoiip\\\":\\\"_14\\\",\\\"RRxJnxgyt\\\":\\\"_15\\\",\\\"a2bqIXEBi\\\":\\\"_16\\\",\\\"VIQIykujB\\\":\\\"_17\\\",\\\"YFz8StvXs\\\":\\\"_18\\\",\\\"QshiM1uD_\\\":\\\"_19\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"472\",\"framerIntrinsicWidth\":\"1440\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./etfVDLnnk.map"],
  "mappings": "8nBAAA,IAAMA,GAAoB,CAACC,EAAKC,IAAoB,CAClD,IAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC,EAAIC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Aa,eAAe,MAAM,4BAAQ,KAAK+G,EAAY,KAAK,EAAE,UAAU,CAAC,aAAa,qBAAqB,MAAM,+CAAY,KAAKA,EAAY,KAAK,EAAE,UAAU,CAAC,aAAa,iDAAmB,YAAY,kCAAS,MAAM,kCAAS,KAAKA,EAAY,MAAM,EAAE,UAAU/G,GAAiB,YAAe,CAAC,GAAGA,EAAe,WAAc,aAAa,EAAE,YAAY,OAAU,OAAO,OAAU,MAAM,2BAAO,EAAE,UAAUA,GAAiB,kBAAqB,CAAC,GAAGA,EAAe,iBAAoB,aAAa,EAAE,YAAY,OAAU,OAAO,OAAU,MAAM,wCAAU,EAAE,UAAU,CAAC,aAAa,SAAS,MAAM,yCAAW,KAAK+G,EAAY,MAAM,EAAE,UAAU,CAAC,aAAa,sBAAsB,MAAM,eAAK,KAAKA,EAAY,OAAO,CAAC,CAAC,EAAEC,GAASL,EAAgB,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,kBAAkB,OAAO,SAAS,IAAI,uEAAuE,EAAE,CAAC,OAAO,oBAAoB,OAAO,SAAS,IAAI,uEAAuE,CAAC,CAAC,EAAE,GAAG9G,EAAW,EAAE,CAAC,6BAA6B,EAAI,CAAC",
  "names": ["parseErrorMessage", "err", "fallbackMessage", "_a", "_b", "_c", "_d", "_e", "_f", "_g", "_h", "_i", "_j", "_k", "_l", "_m", "_n", "_o", "_p", "_q", "error", "errors", "isArrayErrorDetail", "isErrorDetail", "message", "parseDirectionCode", "detail", "isObject", "value", "isObjectCustom", "mapObjectSkip", "_mapObject", "object", "mapper", "options", "isSeen", "target", "mapArray", "array", "element", "key", "mapResult", "newKey", "newValue", "shouldRecurse", "mapObject", "UPPERCASE", "LOWERCASE", "LEADING_CAPITAL", "IDENTIFIER", "SEPARATORS", "LEADING_SEPARATORS", "SEPARATORS_AND_IDENTIFIER", "NUMBERS_AND_IDENTIFIER", "preserveCamelCase", "string", "toLowerCase", "toUpperCase", "preserveConsecutiveUppercase2", "isLastCharLower", "isLastCharUpper", "isLastLastCharUpper", "isLastLastCharPreserved", "index", "character", "preserveConsecutiveUppercase", "input", "match", "postProcess", "pattern", "offset", "_", "identifier", "camelCase", "options", "x", "QuickLRU", "options", "cache", "key", "item", "value", "maxAge", "expiry", "deleted", "newSize", "items", "removeCount", "i", "oldCacheSize", "callbackFunction", "thisArgument", "has", "array", "key", "element", "cache", "QuickLRU", "isObject", "value", "transform", "input", "options", "exclude", "pascalCase", "stopPaths", "deep", "preserveConsecutiveUppercase", "stopPathsSet", "makeMapper", "parentPath", "path", "mapObject", "cacheKey", "returnValue", "camelCase", "camelcaseKeys", "COUPONS_PER_REQUEST", "CouponApiService", "couponIdList", "isDevMode", "slicedCouponIdList", "baseUrl", "environments", "env", "response", "res", "camelcaseKeys", "GENERAL_ERROR", "couponNoList", "couponId", "couponNo", "downloadCount", "promises", "userId", "error", "fallbackMessage", "message", "parseErrorMessage", "directionCode", "parseDirectionCode", "isAuthError", "couponApi", "COUPONS_FETCHER_KEY", "useFetchCoupons", "couponIdList", "enabled", "isDevMode", "isLoading", "rest", "useSWR", "couponApi", "useCoupons", "couponIdList", "enabled", "isLoading", "error", "data", "rest", "useFetchCoupons", "CouponVariantType", "CouponVariantType2", "CouponThemeType", "CouponThemeType2", "CouponUpdateType", "CouponUpdateType2", "COUPON_MULTI_ISSUE_FETCHER_KEY", "downloadCoupons", "_key", "arg", "couponIds", "downloadCount", "couponId", "couponApi", "downloadLimitedCoupons", "useDownloadCouponsMutation", "isLimited", "enabled", "onError", "onSuccess", "useSWRMutation", "DOWNLOAD_COUPON_MESSAGES", "DOWNLOAD_RANDOM_COUPON_MUTATION_KEY", "useDownloadRandomCouponMutation", "enabled", "onError", "onSuccess", "useSWRMutation", "couponApi", "useDownloadCoupons", "couponType", "CouponType", "discountType", "DiscountType", "handleCouponDownloadSuccess", "logged", "useCurrentUser", "showRedirectLoginDialog", "useRedirectLoginDialog", "isValidOrigin", "isContentOrigin", "dialog", "useDialog", "trackSnowplowEvent", "useTrackSnowplowEvent", "downloadCoupons", "isLoading", "useDownloadCouponsMutation", "downloadRandomCoupon", "isRandomCouponLoading", "useDownloadRandomCouponMutation", "handleSuccess", "couponNoList", "response", "getErrorMessage", "isRandomCouponResponse", "getSuccessMessage", "validate", "DOWNLOAD_COUPON_MESSAGES", "downloadCount", "skipValidation", "data", "isBulk", "createRandomCouponSuccessMessage", "discountValue", "errorCode", "errorMessage", "toCouponNos", "couponNosStr", "item", "_a", "reshapeProps", "props", "variant", "backgroundColor", "textColor", "couponIdListString", "dailyCouponOptions", "rest", "halveOpacity", "getHeadCouponIdList", "couponUpdateType", "CouponUpdateType", "shallowUnique", "toCouponNos", "couponIdList", "acc", "curr", "headCouponIdList", "head", "getMaxDiscountValue", "coupons", "coupon", "getAllDiscountValues", "composeWithUnitByType", "discountType", "discountValue", "DiscountType", "composeWithUnit", "unit", "arr", "color", "matched", "g", "b", "a", "isFulfilled", "value", "COUPON_MAX_ISSUE_COUNT_FETCHER_KEY", "getIsAllLimitedCouponIssued", "couponIdList", "promises", "couponId", "couponApi", "results", "result", "GENERAL_ERROR", "isFulfilled", "_a", "useFetchIsAllLimitedCouponIssued", "isLimited", "hasCouponIdList", "enabled", "isLoading", "rest", "useSWR", "CLOSED_MESSAGE", "CouponCountdown", "nextShouldUpdateAt", "now", "createKRTimeZoneDate", "hours", "differenceInHours", "u", "containerStyle", "CouponBackground", "color", "u", "containerStyle", "p", "solidStyle", "DISABLED_COLORS", "COLORS_BY_VARIANT", "CouponVariantType", "CouponLayoutContext", "z", "Root", "Y", "children", "style", "disabled", "rest", "ref", "backgroundColor", "textColor", "dividerColor", "iconColor", "getColorsByVariant", "value", "p", "u", "containerStyle", "contentStyle", "CouponBackground", "variant", "DISABLED_COLORS", "CouponVariantType", "COLORS_BY_VARIANT", "useCouponLayoutContext", "context", "re", "CouponLayoutContext", "Button", "Y", "style", "onClick", "rest", "ref", "disabled", "iconColor", "useCouponLayoutContext", "p", "containerStyle", "Icon", "Discount", "Y", "children", "style", "rest", "ref", "disabled", "textColor", "useCouponLayoutContext", "p", "containerStyle", "Divider", "Y", "style", "rest", "ref", "dividerColor", "useCouponLayoutContext", "p", "containerStyle", "Summary", "Y", "children", "style", "rest", "ref", "p", "containerStyle", "Title", "Y", "children", "style", "rest", "ref", "textColor", "useCouponLayoutContext", "p", "containerStyle", "CouponLayout", "Root", "Summary", "Title", "Discount", "Divider", "Button", "useTrackClickCouponDownloadCTA", "trackFirebase", "trackAmplitude", "useAnalytics", "summary", "useContentStore", "contentId", "series", "properties", "MS_IN_SECOND", "MS_IN_MINUTE", "toSchedule", "options", "sortScheduleAscending", "toCouponSchedule", "findCurrentScheduleItemEntry", "schedule", "now", "createKRTimeZoneDate", "scheduleIndex", "item", "index", "shouldUpdateAt", "next", "hasNext", "isWithin", "isWithinInterval", "isLast", "isAbove", "x", "y", "option", "dailyCouponIdList", "repeatSchedule", "startAt", "endAt", "repeatAt", "diff", "differenceInCalendarDays", "_", "hours", "minutes", "seconds", "date", "getCouponIdList", "couponUpdateType", "scheduleItemEntry", "couponIdListString", "CouponUpdateType", "toCouponNos", "current", "useCouponDownloadButtonClick", "couponType", "discountType", "couponIdList", "downloadCoupons", "useDownloadCoupons", "trackClickCouponDownloadCTA", "useTrackClickCouponDownloadCTA", "useScheduledCouponIdList", "couponUpdateType", "couponIdListString", "dailyCouponOptions", "scheduleItemEntry", "useCurrentScheduleItemEntry", "getCouponIdList", "nextScheduleItem", "schedule", "se", "toSchedule", "init", "CouponUpdateType", "findCurrentScheduleItemEntry", "setScheduleItemEntry", "ye", "useInterval", "MS_IN_SECOND", "RandomDiscountValue", "discountType", "discountValues", "index", "setIndex", "ye", "useInterval", "u", "p", "RollingNumber", "DiscountType", "CouponContent", "variant", "text", "discountType", "discountValues", "maxDiscountValue", "couponType", "couponUpdateType", "couponIdListString", "dailyCouponOptions", "isLimited", "CouponType", "couponIdList", "nextShouldUpdateAt", "useScheduledCouponIdList", "handleClick", "useCouponDownloadButtonClick", "isLoading", "isAllLimitedCouponIssued", "useFetchIsAllLimitedCouponIssued", "disabled", "isRandom", "hasTitle", "u", "CouponLayout", "p", "CouponCountdown", "RandomDiscountValue", "composeWithUnitByType", "DATE_FORMAT", "HOURS_IN_DAY", "getCouponNotices", "couponType", "coupons", "coupon", "head", "formattedAvailablePeriod", "formatAvailablePeriod", "formattedMaxDiscountPrice", "formatMaxDiscountPrice", "sortCouponsByDiscountValueAscending", "maxIssueCountNotice", "createMaxIssueCountNotice", "CouponType", "getRandomCouponNotices", "DiscountType", "getRateCouponNotices", "getAmountCouponNotices", "maxIssueCount", "coupon2", "formatRandomCouponMaxDiscountPrice", "formatAmountCouponMaxDiscountPrice", "formatRateCouponMaxDiscountPrice", "composeWithUnit", "getMaxDiscountPrice", "uniquifyCouponsByMinPayAmount", "acc", "curr", "maxDiscountPrice", "minPayAmount", "uniquifyCouponsByDiscountValue", "discountType", "discountValue", "composeWithUnitByType", "AvailableDayType", "availableStartAt", "parseISO", "availableEndAt", "format", "deduplicate", "x", "y", "availablePeriod", "CouponNotice", "theme", "couponType", "coupons", "additionalNotices", "notices", "se", "getCouponNotices", "u", "FoldableList", "p", "notice", "index", "CouponSkeleton", "u", "p", "Skeleton", "Coupon", "props", "theme", "couponType", "couponUpdateType", "couponIdListString", "dailyCouponOptions", "additionalNotices", "couponIdList", "se", "getHeadCouponIdList", "isPending", "coupons", "useCoupons", "coupon", "head", "p", "CouponSkeleton", "u", "containerStyle", "CouponContent", "getAllDiscountValues", "getMaxDiscountValue", "reshapeProps", "CouponNotice", "addPropertyControls", "ControlType", "CouponVariantType", "CouponThemeType", "CouponType", "CouponUpdateType", "Coupon", "Coupon_default", "CouponFonts", "getFonts", "Coupon_default", "CouponControls", "getPropertyControls", "cycleOrder", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "numberToPixelString", "value", "transition1", "Transition", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "motion", "x", "humanReadableEnumMap", "humanReadableEnumMap1", "humanReadableVariantMap", "getProps", "_", "_1", "_10", "_11", "_12", "_13", "_14", "_15", "_16", "_17", "_18", "_19", "_2", "_3", "_4", "_5", "_6", "_7", "_8", "_9", "height", "id", "width", "props", "createLayoutDependency", "Component", "Y", "ref", "activeLocale", "setLocale", "useLocaleInfo", "style", "className", "layoutId", "CmHYNLsPm", "rwrGEjweo", "zDlrEVgIh", "x2MmjfJIi", "vdBr2k8KW", "jlb5dNtRJ", "LIUnV5MNp", "fUWnZ_AiT", "HTbZ_AR4q", "ba4o173I8", "Nu2OiKx0X", "bbUUHmSHH", "MTLqaVOVw", "UwRSo4zGW", "yr3Gpoiip", "RRxJnxgyt", "a2bqIXEBi", "VIQIykujB", "YFz8StvXs", "QshiM1uD_", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "scopingClassNames", "cx", "ref1", "pe", "defaultLayoutId", "ae", "componentViewport", "useComponentViewport", "LayoutGroup", "u", "RichText2", "ComponentViewportProvider", "css", "FrameretfVDLnnk", "withCSS", "etfVDLnnk_default", "addPropertyControls", "ControlType", "addFonts"]
}
