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A,CACC1M,UAAWA,EACXmF,MAAOA,EACPC,OAAQA,EACRlE,QAASA,EACTmE,QAAQ,YACRhF,KAAK,OACL6E,MAAM,6B,UAEN,SAACyH,OAAAA,CACCrH,SAAS,UACTE,SAAS,UACTD,EAAE,6cACFlF,KAAMA,KAId,C","sources":["webpack://_N_E/./src/components/Header/SideMenu.tsx","webpack://_N_E/./src/components/Header/Header.tsx","webpack://_N_E/./src/components/Icon/svgs/edit_circle_x.svg","webpack://_N_E/./src/components/Icon/svgs/edit_circle_x_fill.svg","webpack://_N_E/./src/components/Icon/svgs/menu_close_fill.svg","webpack://_N_E/./src/components/Icon/svgs/menu_close_lg.svg","webpack://_N_E/./src/components/Icon/svgs/menu_hamburger.svg","webpack://_N_E/./src/components/LinkIntl/LinkIntl.tsx","webpack://_N_E/./src/components/Button/Button.tsx","webpack://_N_E/./src/components/Divider/Divider.tsx","webpack://_N_E/./src/components/Error/Error.tsx","webpack://_N_E/./src/components/Label/Label.tsx","webpack://_N_E/./src/components/Input/BaseInput.tsx","webpack://_N_E/./src/components/Input/TextArea.tsx","webpack://_N_E/./src/components/Input/index.ts","webpack://_N_E/./src/components/utils/tw-merge.tsx","webpack://_N_E/./src/config/i18n/provider.tsx","webpack://_N_E/./src/constants/common.const.ts","webpack://_N_E/./src/hooks/useScrollPosition.ts","webpack://_N_E/./src/stories/icons/svg/DataIdLogo.tsx","webpack://_N_E/./src/stories/icons/svg/EditCircleCheckFill.tsx","webpack://_N_E/./src/stories/icons/svg/NavigationGlobe.tsx","webpack://_N_E/./src/stories/icons/svg/WarningCircleWarningFill.tsx"],"sourcesContent":["import { usePathname } from 'next/navigation'\nimport { type MouseEvent } from 'react'\n\nimport { cn } from '@/components'\n\nimport { MenuCloseLg } from '@/components/Icon'\n\nimport type { Language } from '@/interfaces/common.type'\n\nimport { languageList } from '@/constants/common.const'\n\nimport LinkIntl from '../LinkIntl/LinkIntl'\n\nimport { useDictionary } from '@/config/i18n/provider'\nimport { DataIdLogo, NavigationGlobe } from '@/stories/icons'\n\nexport default function SideMenu({ open, onClose }: { open: boolean; onClose: () => void }) {\n  const tCustom = useDictionary('custom')\n  const tHomepage = useDictionary('homepage')\n\n  const pathname = usePathname()\n  const locale = pathname.split('/')[1]\n\n  const handleSigninClick = (event: MouseEvent<HTMLAnchorElement>) => {\n    event.preventDefault()\n    // const domain = process.env.NEXT_PUBLIC_DATA_ID_URL?.replace('https://', '') ?? ''\n    // const userType = getCookie('USER_TYPE', { domain })\n    // window.open(`${DATA_ID_URL}/lobby/signin?locale=${locale}&userType=${userType}`)\n  }\n\n  return (\n    <>\n      <section\n        className={cn(\n          'fixed w-full translate-x-[100%] mobile:h-[calc(100%-6.4rem)] mobile:top-[6.4rem] h-[calc(100%-8.6rem)] top-[8.6rem] left-0 bg-ui_06 duration-[320ms] transition-all ease-out flex flex-col px-[1.6rem]',\n          {\n            'translate-x-0': open,\n            'translate-x-[100%]': !open,\n          },\n        )}\n      >\n        {/* <div className='text-white flex gap-y-[2rem] flex-col display_03 mt-[6rem]'>\n          <LinkIntl locale={locale as Language} href='/explorer/professionals'>\n            {tHomepage['discoverProfessionalListTitle']}\n          </LinkIntl>\n          <LinkIntl locale={locale as Language} href='/explorer/business'>\n            {tHomepage['discoverBusinessListTitle']}\n          </LinkIntl>\n          <LinkIntl locale={locale as Language} href='/explorer/creator'>\n            {tCustom['discoverCreatorListTitle']}\n          </LinkIntl>\n        </div> */}\n\n        <div className='mt-auto mb-[4rem] flex gap-[3.2rem] flex-col'>\n          {/* <span className='body_03m text-white flex gap-x-[0.6rem] items-center'>\n            <User className='[&>path]:fill-white' />\n            <Link\n              locale={locale as Language}\n              href={`${DATA_ID_URL}/lobby/signin`}\n              target='_blank'\n              onClick={handleSigninClick}\n            >\n              <span>{tHomepage['gnbButtonLogin']}</span>\n            </Link>\n          </span> */}\n          <div>\n            <span className='flex body_03m gap-x-[0.6rem]'>\n              <span className='w-[2.4rem] h-[2.4rem]'>\n                <NavigationGlobe fill='white' />\n              </span>\n              <span>\n                {languageList.map((item, index) => {\n                  return (\n                    <span key={item.key}>\n                      <LinkIntl\n                        className={locale === item.key ? 'text-white' : 'text-white_140'}\n                        href={`${pathname}?locale=${item.key}`}\n                        locale={item.key as Language}\n                      >\n                        {(item.key ?? '').toString().toUpperCase()}\n                      </LinkIntl>\n                      {index < languageList.length - 1 && (\n                        <span className='px-[1.6rem] text-white_140'>|</span>\n                      )}\n                    </span>\n                  )\n                })}\n              </span>\n            </span>\n          </div>\n        </div>\n      </section>\n\n      <div\n        className={cn(\n          'fixed mobile:min-h-[6.4rem] min-h-[8.6rem] left-0 top-0 w-full bg-ui_06 px-16 flex py-[1.2rem] items-center justify-between',\n          {\n            hidden: !open,\n          },\n        )}\n      >\n        <span className='flex items-center justify-start'>\n          <LinkIntl href='/' locale={locale as Language}>\n            <DataIdLogo className='mobile:w-[8.6rem] w-[14rem]' />\n          </LinkIntl>\n        </span>\n\n        <div className='flex items-center'>\n          {/* <LinkIntl href='/explorer' locale={locale as Language}>\n            <Button\n              type='white'\n              className={cn(\n                'transition-all hover:opacity-70 caption_02m h-[4rem]',\n                'mobile:h-[4rem] mobile:px-[1.6rem] mobile:caption_02m',\n                'pc:body_03m pc:h-[4.8rem] pc:px-[3.2rem]',\n                'tablet:body_01m tablet:h-[3.6rem] tablet:px-[2.4rem]',\n              )}\n              size={'small'}\n            >\n              {tHomepage['gnbButtonCreate']}\n            </Button>\n          </LinkIntl> */}\n\n          <span onClick={onClose} className='py-8 pl-[0.9rem] cursor-pointer'>\n            <MenuCloseLg className='[&>path]:fill-white' />\n          </span>\n        </div>\n      </div>\n    </>\n  )\n}\n","'use client'\n\nimport type { CSSProperties, MouseEvent } from 'react'\n\nimport { motion } from 'framer-motion'\nimport { usePathname, useSearchParams } from 'next/navigation'\nimport { useEffect, useMemo, useRef, useState } from 'react'\n\nimport useScrollPosition from '@/hooks/useScrollPosition'\n\nimport type { Language } from '@/interfaces/common.type'\n\nimport { languageList } from '@/constants/common.const'\n\nimport { MenuHamburger } from '../Icon'\nimport LinkIntl from '../LinkIntl/LinkIntl'\nimport { cn } from '../utils'\n\nimport SideMenu from './SideMenu'\n\nimport { useDictionary } from '@/config/i18n/provider'\nimport { DataIdLogo, NavigationGlobe } from '@/stories/icons'\n\nexport type HeaderTheme = 'blue' | 'grey' | 'purple' | 'black'\n\nexport interface HeaderProps {\n  theme?: HeaderTheme\n  style?: CSSProperties\n  className?: string\n  locale?: string\n  defaultScrollThemeChange?: boolean\n}\n\nexport default function Header({\n  theme = 'blue',\n  style,\n  className = '',\n  locale,\n  defaultScrollThemeChange = true,\n}: HeaderProps) {\n  const tHomepage = useDictionary('homepage')\n  const tCustom = useDictionary('custom')\n\n  // const { locale } = useParams() ?? { locale: 'en' }\n  const pathname = usePathname()\n  const { scrollPosition } = useScrollPosition()\n  const searchParams = useSearchParams()\n  const localeSearchParam = searchParams.get('locale')\n\n  const [themeState, setThemeState] = useState<HeaderTheme>(theme)\n  const [isShow, setIsShow] = useState(false)\n  const [isOpenSideMenu, setIsOpenSideMenu] = useState(localeSearchParam !== null)\n\n  const isShowRef = useRef(false)\n  const isModalClickRef = useRef(false)\n\n  const handleSigninClick = (event: MouseEvent<HTMLAnchorElement>) => {\n    event.preventDefault()\n\n    // const domain = process.env.NEXT_PUBLIC_DATA_ID_URL?.replace('https://', '') ?? ''\n    // const userType = getCookie('USER_TYPE', { domain })\n    // window.open(`${DATA_ID_URL}/lobby/signin?locale=${locale}&userType=${userType}`)\n  }\n\n  const themeConfig = useMemo(() => {\n    let headerBackground = 'bg-blue_900'\n    let dataIdLogoFill = '#ffffff'\n    let loginButtonType = 'tertiary'\n    let loginButtonClassName = 'text-white'\n    let createButtonType = 'white'\n    let explorerTextColor = 'text-white'\n\n    if (themeState === 'grey') {\n      headerBackground = 'bg-[#eeeeee]'\n      dataIdLogoFill = '#222222'\n      loginButtonType = 'secondary'\n      loginButtonClassName = 'text-text_01'\n      createButtonType = 'secondary'\n      explorerTextColor = 'text-black'\n    }\n    if (themeState === 'black') {\n      headerBackground = 'bg-black'\n      loginButtonClassName += ' border-white'\n    }\n    if (themeState === 'purple') {\n      headerBackground = 'bg-purple_500'\n    }\n\n    return {\n      headerBackground,\n      dataIdLogoFill,\n      loginButtonType,\n      loginButtonClassName,\n      createButtonType,\n      explorerTextColor,\n    }\n  }, [themeState, scrollPosition])\n\n  useEffect(() => {\n    const handleWindowClick = () => {\n      if (isShowRef && !isModalClickRef.current) {\n        setIsShow(() => false)\n      }\n    }\n\n    window.addEventListener('click', handleWindowClick)\n\n    return () => {\n      window.removeEventListener('click', handleWindowClick)\n    }\n  }, [])\n\n  useEffect(() => {\n    isShowRef.current = isShow\n  }, [isShow])\n\n  useEffect(() => {\n    if (defaultScrollThemeChange && scrollPosition > 0) {\n      setThemeState('black')\n    } else {\n      setThemeState(theme)\n    }\n  }, [defaultScrollThemeChange, scrollPosition, theme])\n\n  return (\n    <div className='relative'>\n      <motion.header\n        className={cn(\n          'text-[#111] pc:min-h-[8.6rem] min-h-[6.4rem] tablet:px-[1.6rem] mobile:px-[1.6rem] mobile:py-[1.2rem] transition-all px-[4.8rem] py-[1.9rem] z-50 w-full fixed top-0 left-0 flex justify-between items-center',\n          themeConfig.headerBackground,\n          {\n            'shadow-card_01': scrollPosition > 0,\n          },\n          className,\n        )}\n        style={style}\n      >\n        <span className='flex items-center justify-start gap-x-[2rem]'>\n          <LinkIntl href='/' locale={locale as Language}>\n            <DataIdLogo className='mobile:w-[8.6rem] w-[14rem]' fill={themeConfig.dataIdLogoFill} />\n          </LinkIntl>\n        </span>\n\n        <div\n          className={cn(\n            'mobile:hidden tablet:hidden flex gap-x-[8rem] subhead_05b',\n            themeConfig.explorerTextColor,\n          )}\n        >\n          {/* <span>\n            <LinkIntl href='/explorer/professionals' locale={locale as Language}>\n              {tHomepage['discoverProfessionalListTitle']}\n            </LinkIntl>\n          </span>\n\n          <span>\n            <LinkIntl href='/explorer/business' locale={locale as Language}>\n              {tHomepage['discoverBusinessListTitle']}\n            </LinkIntl>\n          </span>\n\n          <span>\n            <LinkIntl href='/explorer/creator' locale={locale as Language}>\n              {tCustom['discoverCreatorListTitle']}\n            </LinkIntl>\n          </span> */}\n        </div>\n\n        <span className='flex font-Lato font-normal items-center justify-start gap-x-[0.9rem]'>\n          {/* <LinkIntl\n            className='mobile:hidden'\n            href={`${DATA_ID_URL}/lobby/signin`}\n            locale={locale as Language}\n            target='_blank'\n            onClick={handleSigninClick}\n          >\n            <Button\n              type={themeConfig.loginButtonType as ButtonType}\n              className={cn(\n                'transition-all hover:opacity-70 rounded-[0.8rem] bg-transparent mobile:caption_02m',\n                'mobile:h-[4rem] mobile:px-[1.6rem] mobile:caption_02m',\n                'pc:body_03m pc:h-[4.8rem] pc:px-[3.2rem]',\n                'tablet:body_01m tablet:h-[3.6rem] tablet:px-[2.4rem]',\n                themeConfig.loginButtonClassName,\n              )}\n              outlined\n            >\n              {tHomepage['gnbButtonLogin']}\n            </Button>\n          </LinkIntl> */}\n\n          {/* <LinkIntl href='/explorer' locale={locale as Language}>\n            <Button\n              type={themeConfig.createButtonType as ButtonType}\n              className={cn(\n                'transition-all hover:opacity-70 mobile:caption_02m',\n                'mobile:h-[4rem] mobile:px-[1.6rem] mobile:caption_02m',\n                'pc:body_03m pc:h-[4.8rem] pc:px-[3.2rem]',\n                'tablet:body_01m tablet:h-[3.6rem] tablet:px-[2.4rem]',\n              )}\n            >\n              {tHomepage['gnbButtonCreate']}\n            </Button>\n          </LinkIntl> */}\n\n          <div\n            id='navigation-globe'\n            className='mobile:hidden mobile:ml-[-0.4rem] cursor-pointer select-none'\n            onClick={() => {\n              setIsShow(!isShow)\n              isModalClickRef.current = true\n\n              setTimeout(() => {\n                isModalClickRef.current = false\n              }, 50)\n            }}\n            onMouseEnter={() => setIsShow(true)}\n          >\n            <div\n              className={cn(\n                'w-full flex hover:opacity-70 rounded-full transition-all gap-x-[0.6rem] justify-center items-center text-white mobile:p-[0.8rem] px-[2rem] py-[1.2rem]',\n                {\n                  'text-text_01': themeState === 'grey',\n                  'text-text_01 bg-ui_white_press': themeState === 'grey' && isShow,\n                  'text-white hover:bg-black': themeState === 'blue',\n                  'text-white bg-black': themeState === 'blue' && isShow,\n                },\n              )}\n            >\n              <NavigationGlobe fill={themeState === 'grey' ? '#222222' : 'white'} />\n\n              <span className='body_01m mobile:hidden'>\n                {(locale ?? '').toString().toUpperCase()}\n              </span>\n            </div>\n          </div>\n\n          <div className='pc:hidden'>\n            <span className='cursor-pointer' onClick={() => setIsOpenSideMenu((open) => !open)}>\n              <MenuHamburger className={themeState !== 'grey' ? '[&>path]:fill-white' : ''} />\n            </span>\n\n            <SideMenu open={isOpenSideMenu} onClose={() => setIsOpenSideMenu(false)} />\n          </div>\n        </span>\n\n        {isShow && (\n          <div\n            className='fixed border border-solid border-ui_03 large:top-[8.4rem] mobile:top-[6.4rem] large:right-[1.6rem] mobile:right-[1.6rem] z-[9999] rounded-[1.6rem] bg-white py-[0.8rem]'\n            onClick={() => {\n              isModalClickRef.current = true\n\n              setTimeout(() => {\n                isModalClickRef.current = false\n              }, 50)\n            }}\n            onMouseEnter={() => setIsShow(true)}\n            onMouseLeave={() => setIsShow(false)}\n          >\n            <div className='flex flex-col'>\n              {languageList.map((item) => {\n                const pathnameWithoutLocale = pathname.split('/').slice(2).join('/')\n\n                return (\n                  <LinkIntl\n                    className={cn(\n                      'px-[2rem] py-[1.2rem] rounded-[0.7rem] transition-all hover:bg-ui_03',\n                    )}\n                    key={item.key}\n                    href={`/${pathnameWithoutLocale}`}\n                    locale={item.key as Language}\n                    onClick={() => {\n                      const htmlElement = document.documentElement\n                      htmlElement.setAttribute('lang', item.key)\n\n                      // setCookie(COOKIE_KEY.LOCALE_COOKIE_KEY, item.key)\n                      setIsShow(false)\n                    }}\n                  >\n                    <p>{item.language}</p>\n                    <p>{item.origin}</p>\n                  </LinkIntl>\n                )\n              })}\n            </div>\n          </div>\n        )}\n      </motion.header>\n    </div>\n  )\n}\n","var _path, _path2, _path3;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgEditCircleX = function SvgEditCircleX(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"2.4rem\",\n    height: \"2.4rem\",\n    fill: \"none\",\n    viewBox: \"0 0 24 24\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"currentColor\",\n    fillRule: \"evenodd\",\n    d: \"M12 3.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5ZM2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Z\",\n    clipRule: \"evenodd\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"currentColor\",\n    fillRule: \"evenodd\",\n    d: \"M8.47 8.47a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1-1.06 1.06l-6-6a.75.75 0 0 1 0-1.06Z\",\n    clipRule: \"evenodd\"\n  })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"currentColor\",\n    fillRule: \"evenodd\",\n    d: \"M15.53 8.47a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 0 1-1.06-1.06l6-6a.75.75 0 0 1 1.06 0Z\",\n    clipRule: \"evenodd\"\n  })));\n};\nexport default SvgEditCircleX;","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgEditCircleXFill = function SvgEditCircleXFill(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"2.4rem\",\n    height: \"2.4rem\",\n    fill: \"none\",\n    viewBox: \"0 0 24 24\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"currentColor\",\n    fillRule: \"evenodd\",\n    d: \"M12 2.25c-5.39 0-9.75 4.37-9.75 9.75s4.36 9.75 9.75 9.75 9.75-4.37 9.75-9.75S17.39 2.25 12 2.25Zm3.53 12.22c.29.29.29.77 0 1.06-.29.29-.77.29-1.06 0L12 13.06l-2.47 2.47c-.29.29-.77.29-1.06 0a.754.754 0 0 1 0-1.06L10.94 12 8.47 9.53a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0L12 10.94l2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L13.06 12l2.47 2.47Z\",\n    clipRule: \"evenodd\"\n  })));\n};\nexport default SvgEditCircleXFill;","var _circle, _path, _path2;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgMenuCloseFill = function SvgMenuCloseFill(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"2.4rem\",\n    height: \"2.4rem\",\n    fill: \"none\",\n    viewBox: \"0 0 24 24\"\n  }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n    cx: 12,\n    cy: 12,\n    r: 12,\n    fill: \"currentColor\"\n  })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"#fff\",\n    fillRule: \"evenodd\",\n    d: \"M7.764 7.764a.9.9 0 0 1 1.272 0l7.2 7.2a.9.9 0 1 1-1.272 1.272l-7.2-7.2a.9.9 0 0 1 0-1.272Z\",\n    clipRule: \"evenodd\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"#fff\",\n    fillRule: \"evenodd\",\n    d: \"M16.236 7.764a.9.9 0 0 1 0 1.272l-7.2 7.2a.9.9 0 1 1-1.272-1.272l7.2-7.2a.9.9 0 0 1 1.272 0Z\",\n    clipRule: \"evenodd\"\n  })));\n};\nexport default SvgMenuCloseFill;","var _path, _path2;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgMenuCloseLg = function SvgMenuCloseLg(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"2.4rem\",\n    height: \"2.4rem\",\n    fill: \"none\",\n    viewBox: \"0 0 24 24\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"currentColor\",\n    fillRule: \"evenodd\",\n    d: \"M5.47 5.47a.75.75 0 0 1 1.06 0l12 12a.75.75 0 1 1-1.06 1.06l-12-12a.75.75 0 0 1 0-1.06Z\",\n    clipRule: \"evenodd\"\n  })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"currentColor\",\n    fillRule: \"evenodd\",\n    d: \"M18.53 5.47a.75.75 0 0 1 0 1.06l-12 12a.75.75 0 0 1-1.06-1.06l12-12a.75.75 0 0 1 1.06 0Z\",\n    clipRule: \"evenodd\"\n  })));\n};\nexport default SvgMenuCloseLg;","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgMenuHamburger = function SvgMenuHamburger(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"2.4rem\",\n    height: \"2.4rem\",\n    fill: \"none\",\n    viewBox: \"0 0 24 24\"\n  }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"currentColor\",\n    fillRule: \"evenodd\",\n    d: \"M3.25 18a.75.75 0 0 1 .75-.75h16a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Zm0-6a.75.75 0 0 1 .75-.75h16a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Zm0-6A.75.75 0 0 1 4 5.25h16a.75.75 0 0 1 0 1.5H4A.75.75 0 0 1 3.25 6Z\",\n    clipRule: \"evenodd\"\n  })));\n};\nexport default SvgMenuHamburger;","import type { LinkProps } from 'next/link'\n\nimport Link from 'next/link'\nimport React, { useMemo } from 'react'\n\nimport type { Language } from '@/interfaces/common.type'\n\ntype LinkIntlProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps> &\n  LinkProps & {\n    children?: React.ReactNode\n  } & React.RefAttributes<HTMLAnchorElement> & {\n    locale?: Language\n  }\n\nconst LANGUAGE_LIST = ['ko', 'en', 'id']\n\nexport default function LinkIntl(props: LinkIntlProps) {\n  const { locale, ...linkProps } = props\n\n  const href = useMemo(() => {\n    const url = props.href.toString()\n    const existLocale = LANGUAGE_LIST.some(\n      (lang) => url.startsWith(lang) || url.startsWith(`/${lang}`),\n    )\n    let nextUrl = props.href\n\n    if (existLocale) {\n      nextUrl = `/${url.split('/').slice(2).join('/')}`\n    }\n\n    return `/${locale ?? 'en'}${nextUrl}`\n  }, [locale, props.href])\n\n  return <Link {...linkProps} href={href} />\n}\n","import { cva } from 'class-variance-authority'\n\nimport { cn } from '../utils'\n\nimport type { ButtonProps } from './Button.types'\n\nconst button = cva('w-full rounded-full', {\n  variants: {\n    type: {\n      primary: '',\n      secondary: '',\n      tertiary: '',\n      white: '',\n    },\n    size: {\n      small: 'caption_02m h-[3.2rem] px-[1.6rem]',\n      medium: 'body_01m h-[3.6rem] px-[2.4rem]',\n      large: 'body_03m h-[4.8rem] px-[3.2rem]',\n    },\n    outlined: {\n      true: '',\n      false: '',\n    },\n    disabled: {\n      true: '',\n      false: '',\n    },\n    block: {\n      true: 'w-full',\n    },\n    prefix: { true: 'inline-flex items-center' },\n    suffix: { true: 'inline-flex items-center' },\n  },\n  compoundVariants: [\n    {\n      type: 'primary',\n      outlined: false,\n      disabled: false,\n      className: 'bg-primary text-white',\n    },\n    {\n      type: 'primary',\n      outlined: true,\n      disabled: true,\n      className: 'border-[0.1rem] border-solid border-ui_02 bg-white text-text_disable',\n    },\n    {\n      type: 'primary',\n      outlined: false,\n      disabled: true,\n      className: 'bg-ui_04 text-white',\n    },\n    {\n      type: 'primary',\n      outlined: true,\n      disabled: false,\n      className: 'border-[0.1rem] border-solid border-blue_400 bg-white text-primary',\n    },\n    {\n      type: 'secondary',\n      outlined: false,\n      disabled: false,\n      className: 'bg-secondary text-white',\n    },\n    {\n      type: 'secondary',\n      outlined: true,\n      disabled: true,\n      className: 'border-[0.1rem] border-solid border-ui_02 bg-white text-text_disable',\n    },\n    {\n      type: 'secondary',\n      outlined: false,\n      disabled: true,\n      className: 'bg-ui_02 text-text_disable',\n    },\n    {\n      type: 'secondary',\n      outlined: true,\n      disabled: false,\n      className: 'border-[0.1rem] border-solid border-secondary bg-white text-secondary',\n    },\n    {\n      type: 'tertiary',\n      outlined: false,\n      disabled: false,\n      className: 'bg-tertiary text-white',\n    },\n    {\n      type: 'white',\n      outlined: false,\n      disabled: false,\n      className: 'text_text_01 bg-white',\n    },\n    {\n      type: 'secondary',\n      outlined: true,\n      disabled: true,\n      className: 'border-[0.1rem] border-solid border-ui_02 bg-white text-text_disable',\n    },\n    {\n      type: 'secondary',\n      outlined: false,\n      disabled: true,\n      className: 'bg-ui_02 text-text_disable',\n    },\n    {\n      type: 'secondary',\n      outlined: true,\n      disabled: false,\n      className: 'border-[0.1rem] border-solid border-secondary bg-white text-secondary',\n    },\n    {\n      type: 'tertiary',\n      outlined: true,\n      disabled: true,\n      className: 'bg-white100 border-[0.1rem] border-ui_02 text-text_disable',\n    },\n    {\n      type: 'tertiary',\n      outlined: false,\n      disabled: true,\n      className: 'bg-ui_02 text-text_disable',\n    },\n    {\n      type: 'tertiary',\n      outlined: true,\n      disabled: false,\n      className: 'border-[0.1rem] border-solid border-ui_03 bg-transparent text-secondary',\n    },\n    {\n      type: 'white',\n      outlined: false,\n      disabled: false,\n      className: 'text_text_01 bg-white',\n    },\n    {\n      type: 'white',\n      outlined: true,\n      disabled: true,\n      className: 'border-[0.1rem] border-solid border-white bg-black text-white opacity-40',\n    },\n    {\n      type: 'white',\n      outlined: false,\n      disabled: true,\n      className: 'text_text_01 bg-white opacity-40',\n    },\n    {\n      type: 'white',\n      outlined: true,\n      disabled: false,\n      className: 'border-white_100 border-[0.1rem] border-solid bg-black text-white',\n    },\n    {\n      type: 'white',\n      outlined: true,\n      disabled: false,\n      className: 'border-white_100 border-[0.1rem] border-solid bg-black text-white',\n    },\n    {\n      size: 'large',\n      prefix: true,\n      className: 'gap-x-[0.8rem] pl-[2.4rem] pr-[3.2rem]',\n    },\n    {\n      size: 'medium',\n      prefix: true,\n      className: 'gap-x-[0.4rem] pl-[1.6rem] pr-[2.4rem]',\n    },\n    {\n      size: 'small',\n      prefix: true,\n      className: ' gap-x-[0.4rem] pl-[1.2rem] pr-[1.6rem]',\n    },\n    {\n      size: 'large',\n      suffix: true,\n      className: 'gap-x-[0.8rem] pl-[3.2rem] pr-[2.4rem]',\n    },\n    {\n      size: 'medium',\n      suffix: true,\n      className: 'gap-x-[0.4rem] pl-[2.4rem] pr-[1.6rem]',\n    },\n    {\n      size: 'small',\n      suffix: true,\n      className: 'gap-x-[0.4rem] pl-[1.6rem] pr-[1.2rem]',\n    },\n  ],\n  defaultVariants: {\n    type: 'primary',\n    size: 'large',\n    outlined: false,\n    disabled: false,\n  },\n})\n\nexport function Button({\n  children,\n  className,\n  type,\n  disabled,\n  outlined,\n  size,\n  prefix,\n  suffix,\n  block = false,\n  htmlType = 'button',\n  ...props\n}: ButtonProps) {\n  return (\n    <button\n      type={htmlType}\n      className={cn(\n        button({ type, size, outlined, disabled, prefix: !!prefix, suffix: !!suffix, block }),\n        className,\n      )}\n      {...props}\n      disabled={disabled}\n    >\n      {prefix}\n      {children}\n      {suffix}\n    </button>\n  )\n}\n","import classNames from 'clsx'\n\nimport type { ComponentCommonProps } from '@/stories/interface/common.interface'\n\nexport interface DividerProps extends ComponentCommonProps {\n  orientation?: 'horizontal' | 'vertical'\n}\n\nexport default function Divider({ className, orientation = 'horizontal', style }: DividerProps) {\n  return (\n    <div\n      className={classNames(\n        {\n          'h-[0.1rem] w-full': orientation === 'horizontal',\n          'h-full w-[0.1rem]': orientation === 'vertical',\n        },\n        'bg-[rgba(0,0,0,0.2)]',\n        className,\n      )}\n      style={style}\n    />\n  )\n}\n","import type { PropsWithChildren } from 'react'\n\nimport clsx from 'clsx'\n\ninterface ErrorProps {\n  message?: string\n  className?: string\n}\n\nexport default function Error({ message, className }: PropsWithChildren<ErrorProps>) {\n  return <span className={clsx('caption_02r px-[0.8rem] text-error', className)}>{message}</span>\n}\n","import type { PropsWithChildren } from 'react'\n\nimport clsx from 'clsx'\n\ninterface LabelProps {\n  className?: string\n  required?: boolean\n  htmlFor?: string\n}\nexport default function Label({\n  className,\n  required,\n  htmlFor,\n  children,\n}: PropsWithChildren<LabelProps>) {\n  return (\n    <label\n      {...(Boolean(htmlFor) && { htmlFor })}\n      className={clsx('body_03m text-text_01', className)}\n    >\n      {children} {required && <span className='text-primary'>*</span>}\n    </label>\n  )\n}\n","'use client'\n\nimport type { ChangeEvent, ElementRef, ForwardedRef, MouseEvent } from 'react'\n\nimport { cva } from 'class-variance-authority'\nimport { forwardRef, useRef } from 'react'\n\nimport { Error } from '../Error'\nimport { EditCircleXFill } from '../Icon'\nimport { Label } from '../Label'\nimport { cn } from '../utils'\n\nimport type { InputProps } from './Input.type'\n\nconst addonInput = cva(\n  `body_02r flex h-[4.8rem] w-full items-center justify-between rounded border-[0.15rem] border-transparent bg-ui_01\n    px-[1.2rem] text-ui_06 outline-0 placeholder:text-text_disable\n    focus-within:border-ui_06\n    `,\n  {\n    variants: {\n      isAddonString: {\n        true: 'gap-[1.6rem]',\n        false: 'gap-[1.6rem]',\n      },\n      error: {\n        true: '!border-error',\n      },\n      disabled: {\n        true: ['bg-ui_03 text-text_disable'],\n      },\n      readOnly: {\n        true: 'pointer-events-none bg-ui_03 text-text_02',\n      },\n    },\n  },\n)\n\nfunction BaseInput(\n  {\n    addonAfter,\n    allowClear,\n    disabled,\n    className,\n    inputWrapperClassName,\n    addBeforeClassName,\n    addAfterClassName,\n    error,\n    readOnly,\n    label,\n    required,\n    addonBefore,\n    ...props\n  }: InputProps,\n  ref: ForwardedRef<HTMLInputElement>,\n) {\n  const inputRef = useRef<ElementRef<'input'> | null>(null)\n  const inputWrapperRef = useRef<ElementRef<'div'>>(null)\n  const isAddonString = typeof addonAfter === 'string'\n\n  const canClear = !readOnly && allowClear\n\n  const handleClear = (e: MouseEvent<HTMLButtonElement>) => {\n    // 참고) https://github.com/react-component/input/blob/master/src/utils/commonUtils.ts\n    if (inputRef.current) {\n      const currentTarget = inputRef.current.cloneNode(true) as HTMLInputElement\n      const event = Object.create(e, {\n        target: { value: currentTarget },\n        currentTarget: { value: currentTarget },\n      })\n\n      inputRef.current.value = ''\n      inputRef.current.focus()\n      props.onChange?.(event as ChangeEvent<HTMLInputElement>)\n    }\n  }\n\n  return (\n    <div className='flex flex-col'>\n      {label && (\n        <Label htmlFor={`input_${props.name}`} className='mb-[0.8rem]' required={required}>\n          {label}\n        </Label>\n      )}\n\n      <div\n        className={cn(\n          addonInput({ isAddonString, error: !!error, disabled, readOnly }),\n          inputWrapperClassName,\n        )}\n        ref={inputWrapperRef}\n      >\n        <div className={addBeforeClassName}>{addonBefore}</div>\n\n        <input\n          {...props}\n          /**\n           * React hook form 에서 ref 접근을 위한 코드\n           */\n          ref={(node) => {\n            inputRef.current = node\n            if (typeof ref === 'function') {\n              ref(node)\n            } else if (ref) {\n              ref.current = node\n            }\n          }}\n          id={`input_${props.name}`}\n          className={cn('peer flex-1 bg-transparent outline-0', className)}\n          disabled={disabled}\n          readOnly={readOnly}\n        />\n\n        {canClear && (\n          <button\n            type='button'\n            onClick={handleClear}\n            tabIndex={-1}\n            className='text-black_120 peer-placeholder-shown:hidden'\n          >\n            <EditCircleXFill />\n          </button>\n        )}\n\n        <div className={addAfterClassName}>{addonAfter}</div>\n      </div>\n\n      {typeof error === 'string' && <Error message={error} className='mt-[0.4rem]' />}\n    </div>\n  )\n}\n\nexport default forwardRef(BaseInput)\n","'use client'\n\nimport { cva } from 'class-variance-authority'\nimport clsx from 'clsx'\nimport isString from 'lodash/isString'\nimport { forwardRef, useRef, useState, type ChangeEvent, type FocusEvent } from 'react'\n\nimport { Error } from '../Error'\nimport { Label } from '../Label'\n\nimport type { TextAreaProps } from './Input.type'\n\nfunction TextArea(\n  {\n    showCount,\n    maxLength,\n    error,\n    readOnly,\n    disabled,\n    label,\n    required,\n    textAreaClassName,\n    ...props\n  }: TextAreaProps,\n  ref: any,\n) {\n  const [focused, setFocused] = useState(false)\n  const [value, setValue] = useState(props.value || '')\n  const visibleCount = showCount && !!maxLength\n  const textareaRef = useRef<HTMLTextAreaElement | null>(null)\n\n  const textarea = cva(\n    `\n    body_02r flex h-[12.6rem] flex-col justify-between gap-[1.2rem] rounded border-[0.15rem] border-[transparent]\n    bg-ui_01 p-[1.2rem]\n    placeholder:text-text_disable\n    `,\n    {\n      variants: {\n        visibleCount: {\n          true: 'h-[15.8rem]',\n        },\n        focused: {\n          true: ['border-ui_06'],\n        },\n        error: {\n          true: ['!border-error'],\n        },\n        disabled: {\n          true: ['bg-ui_03 text-text_disable'],\n        },\n        readOnly: {\n          true: 'bg-ui_03 text-text_02',\n        },\n      },\n      compoundVariants: [\n        {\n          readOnly: true,\n          focused: true,\n          className: '!border-[transparent]',\n        },\n      ],\n    },\n  )\n\n  const handleChange = (e: ChangeEvent<HTMLTextAreaElement>) => {\n    if (props.value === undefined) {\n      setValue(e.target.value)\n    }\n\n    props.onChange?.(e)\n  }\n\n  const handleFocus = (e: FocusEvent<HTMLTextAreaElement>) => {\n    setFocused(true)\n    props.onFocus?.(e)\n  }\n\n  const handleBlur = (e: FocusEvent<HTMLTextAreaElement>) => {\n    setFocused(false)\n    props.onBlur?.(e)\n  }\n\n  return (\n    <span className='flex flex-col'>\n      {label && (\n        <Label htmlFor={`textarea_${props.name}`} className='mb-[0.8rem]' required={required}>\n          {label}\n        </Label>\n      )}\n\n      <span\n        className={clsx(\n          textarea({ visibleCount, focused, readOnly, disabled, error: !!error }),\n          textAreaClassName,\n        )}\n      >\n        <textarea\n          ref={(node) => {\n            textareaRef.current = node\n            if (typeof ref === 'function') {\n              ref(node)\n            } else if (ref) {\n              ref.current = node\n            }\n          }}\n          id={`textarea_${props.name}`}\n          className='flex-1 resize-none bg-[transparent] outline-0'\n          disabled={disabled}\n          readOnly={readOnly}\n          {...props}\n          value={value}\n          onFocus={handleFocus}\n          onBlur={handleBlur}\n          onChange={handleChange}\n        />\n\n        {visibleCount && (\n          <span className='text-right'>\n            <span className='body_01r'>{String(value).length.toLocaleString()}</span>{' '}\n            <span className='body_01r text-text_disable'>/ {maxLength.toLocaleString()}</span>\n          </span>\n        )}\n      </span>\n\n      {isString(error) && <Error message={error} className='mt-[0.4rem]' />}\n    </span>\n  )\n}\n\nexport default forwardRef(TextArea)\n","import type { ForwardRefExoticComponent, RefAttributes } from 'react'\n\nimport BaseInput from './BaseInput'\nimport TextArea from './TextArea'\n\nimport type { InputProps } from './Input.type'\n\ntype CompoundedComponent = ForwardRefExoticComponent<\n  InputProps & RefAttributes<HTMLInputElement>\n> & {\n  TextArea: typeof TextArea\n}\n\nconst Input = BaseInput as CompoundedComponent\n\nInput.TextArea = TextArea\n\nexport { Input }\n","import clsx from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nimport type { ClassValue } from 'clsx'\n\nexport const cn = (...inputs: ClassValue[]) => {\n  return twMerge(clsx(inputs))\n}\n","'use client'\n\nimport React, { useContext } from 'react'\n\nimport type CustomDictionary from '@/config/i18n/dictionaries/custom/en.json'\nimport type HomepageDictionary from '@/config/i18n/dictionaries/homepage/en.json'\n\nexport type DictionaryGroup = 'homepage' | 'custom'\nexport type HomepageDictionaryType = typeof HomepageDictionary\nexport type CustomDictionaryType = typeof CustomDictionary\nexport type DictionaryType = CustomDictionaryType | HomepageDictionaryType\n\ntype SelectedDictionaryType<T extends DictionaryGroup> = T extends 'homepage'\n  ? HomepageDictionaryType\n  : T extends 'custom'\n  ? CustomDictionaryType\n  : never\n\ninterface DictionaryGroupType {\n  homepage: HomepageDictionaryType\n  custom: CustomDictionaryType\n}\n\ntype DictionaryProviderProps = {\n  children: React.ReactNode\n  dictionary: {\n    [group in DictionaryGroup]: DictionaryGroupType[group]\n  }\n}\n\nconst DictionaryContext = React.createContext({})\n\nexport function DictionaryProvider({ children, dictionary }: DictionaryProviderProps) {\n  return <DictionaryContext.Provider value={dictionary}>{children}</DictionaryContext.Provider>\n}\n\nconst warning = () =>\n  // eslint-disable-next-line no-console\n  console.warn(`\n    클라이언트 컴포넌트에서 다국어 처리를 하기 위해서는...\n\n      1. 서버 컴포넌트에서 getOnboardingDictionary를 호출해서 dictionary 데이터를 가져옵니다.\n      2. 클라이언트 컴포넌트 상위에 DictionaryProvider를 작성합니다.\n\n    위 작업을 통해서 클라이언트 컴포넌트에서도 dictionary 데이터를 가져올 수 있습니다.\n    `)\n\nexport const useDictionary = <T extends DictionaryGroup>(type: T) => {\n  const context = useContext(DictionaryContext) as DictionaryProviderProps['dictionary']\n  const selectedDictionary = context[type]\n  const isValidContext = Object.keys(selectedDictionary).length > 0\n\n  if (!isValidContext) {\n    warning()\n  }\n\n  return selectedDictionary as SelectedDictionaryType<T>\n}\n","export const SUPPORT_LANGUAGES = ['en', 'ko', 'id']\n\nexport const BLUR_IMAGE_URL =\n  'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkMAYAADkANVKH3ScAAAAASUVORK5CYII='\n\nexport const languageList = [\n  {\n    key: 'ko',\n    language: '한국어',\n    origin: 'Korean',\n  },\n  {\n    key: 'en',\n    language: 'English',\n    origin: 'United States',\n  },\n  {\n    key: 'id',\n    language: 'Bahasa Indonesia',\n    origin: 'Indonesian',\n  },\n]\n\nexport type FilterType = {\n  key: string\n  filter: string\n  shape: FilterShape\n}\nexport type FilterShape = 'circle' | 'square'\n\nexport const creatorFilterList: FilterType[] = [\n  {\n    key: 'FEATURED',\n    filter: 'Featured',\n    shape: 'circle',\n  },\n  {\n    key: 'POPULAR',\n    filter: 'Popular',\n    shape: 'square',\n  },\n  { key: 'NEW', filter: 'New', shape: 'circle' },\n  {\n    key: 'ALL',\n    filter: 'ALL',\n    shape: 'square',\n  },\n]\n\nexport const WORKER_FILTER_LIST: FilterType[] = [\n  { key: 'NEW', filter: 'New', shape: 'circle' },\n  {\n    key: 'ALL',\n    filter: 'ALL',\n    shape: 'square',\n  },\n]\n","'use client'\n\nimport { useEffect, useState } from 'react'\nimport { useIsMounted } from 'usehooks-ts'\n\nexport default function useScrollPosition() {\n  const isMounted = useIsMounted()\n\n  const [scrollPosition, setScrollPosition] = useState<number>(0)\n\n  const scrollToTop = (behavior: 'auto' | 'smooth' | undefined = undefined) => {\n    window.scrollTo({\n      top: 0,\n      behavior,\n    })\n  }\n\n  useEffect(() => {\n    const updatePosition = () => {\n      let nextScrollPosition = 0\n      if (window.scrollY > 0) {\n        nextScrollPosition = window.scrollY\n      }\n      if (document.body.scrollTop > 0) {\n        nextScrollPosition = document.body.scrollTop\n      }\n\n      setScrollPosition(nextScrollPosition)\n    }\n\n    if (isMounted()) {\n      updatePosition()\n    }\n\n    window.addEventListener('scroll', updatePosition)\n    document.body.addEventListener('scroll', updatePosition)\n\n    return () => {\n      window.removeEventListener('scroll', updatePosition)\n    }\n  }, [isMounted])\n\n  return { scrollPosition, scrollToTop }\n}\n","import type { IconProps } from '@/interfaces/stories.type'\n\nexport default function DataIdLogo({\n  className,\n  width = '156',\n  height = '34',\n  fill = 'white',\n  onClick,\n}: IconProps) {\n  return (\n    <svg\n      width={width}\n      height={height}\n      className={className}\n      onClick={onClick}\n      viewBox='0 0 156 34'\n      fill='none'\n      xmlns='http://www.w3.org/2000/svg'\n    >\n      <path\n        d='M26.257 0.679688H5.94495C2.66109 0.679688 0 3.34078 0 6.62464V27.3737C0 30.6575 2.66109 33.3186 5.94495 33.3186H26.259C29.5429 33.3186 32.204 30.6575 32.204 27.3737V6.62464C32.204 3.34078 29.5429 0.679688 26.259 0.679688H26.257ZM21.0989 25.7149C19.4936 26.7034 17.647 27.2274 15.7629 27.2274H8.5586C8.13551 27.2274 7.79348 26.8853 7.79348 26.4622C7.79348 26.0392 8.13551 25.6971 8.5586 25.6971H15.7629C17.3643 25.6971 18.9321 25.2523 20.2982 24.4121C20.6581 24.1906 21.1286 24.3033 21.35 24.6631C21.5715 25.023 21.4588 25.4935 21.0989 25.7149ZM8.56848 14.4695H14.2604C14.6518 14.4695 15.0176 14.5249 15.3458 14.6356C15.6898 14.7503 15.9942 14.9223 16.2513 15.1437C16.5182 15.375 16.7238 15.6538 16.8641 15.9681C17.0045 16.2825 17.0757 16.6285 17.0757 16.9962C17.0757 17.3639 17.0045 17.7099 16.8661 18.0242C16.7238 18.3445 16.5182 18.6213 16.2552 18.8506C15.9982 19.0721 15.6937 19.2441 15.3458 19.3587C15.0156 19.4675 14.6499 19.5228 14.2604 19.5228H8.62977C8.20669 19.5228 7.86268 19.1788 7.86268 18.7557C7.86268 18.3327 8.20669 17.9887 8.62977 17.9887H14.2604C14.4877 17.9887 14.6894 17.959 14.8634 17.9017C15.0176 17.8503 15.1481 17.7791 15.2489 17.6921C15.3418 17.611 15.413 17.5142 15.4624 17.4035C15.5138 17.2868 15.5415 17.1484 15.5415 16.9962C15.5415 16.844 15.5158 16.7075 15.4644 16.5929C15.415 16.4822 15.3418 16.3853 15.2449 16.3003C15.1421 16.2113 15.0116 16.1381 14.8574 16.0887C14.6874 16.0314 14.4858 16.0017 14.2604 16.0017H8.56848C8.1454 16.0017 7.80139 15.6577 7.80139 15.2346C7.80139 14.8116 8.1454 14.4676 8.56848 14.4676V14.4695ZM7.83698 11.3794C7.83698 10.9287 8.20273 10.5629 8.65349 10.5629H15.2351C15.931 10.5629 16.617 10.6756 17.2734 10.895C18.2125 11.2114 19.0804 11.7511 19.7842 12.4569C20.1025 12.7752 20.1025 13.2932 19.7842 13.6115C19.63 13.7657 19.4244 13.8507 19.2069 13.8507C18.9895 13.8507 18.7838 13.7657 18.6296 13.6115C18.1018 13.0836 17.4533 12.6803 16.7534 12.445C16.2651 12.2809 15.755 12.1979 15.2351 12.1979H8.65349C8.20273 12.1979 7.83698 11.8322 7.83698 11.3814V11.3794ZM21.5655 18.1547C21.0041 21.2132 18.343 23.4334 15.2351 23.4334H8.65349C8.20273 23.4334 7.83698 23.0677 7.83698 22.6169C7.83698 22.1661 8.20273 21.8004 8.65349 21.8004H15.2351C17.5541 21.8004 19.541 20.1436 19.9602 17.8601C20.0116 17.5774 20.0393 17.2868 20.0393 16.9982C20.0393 16.5948 19.9879 16.1915 19.887 15.8021C19.7743 15.3651 20.0373 14.9203 20.4722 14.8056C20.6838 14.7503 20.9032 14.7819 21.091 14.8926C21.2789 15.0033 21.4133 15.1813 21.4667 15.3908C21.6011 15.9128 21.6703 16.4525 21.6703 16.9962C21.6703 17.3837 21.6347 17.7732 21.5655 18.1528V18.1547ZM23.7146 23.4156C23.5643 23.6015 23.3429 23.6983 23.1195 23.6983C22.9514 23.6983 22.7794 23.643 22.6391 23.5283C22.3109 23.2634 22.2595 22.781 22.5264 22.4528C23.7759 20.9107 24.4619 18.9732 24.4619 16.9982C24.4619 14.687 23.5564 12.5083 21.9115 10.8614C20.9586 9.90652 19.7842 9.17502 18.515 8.74996C17.6292 8.45142 16.704 8.30117 15.7629 8.30117H8.5586C8.13551 8.30117 7.79348 7.95914 7.79348 7.53606C7.79348 7.11297 8.13551 6.77094 8.5586 6.77094H15.7629C16.8701 6.77094 17.9594 6.94887 19.0013 7.29881C20.492 7.80098 21.872 8.65901 22.993 9.77999C24.9265 11.7155 25.9901 14.2797 25.9901 16.9982C25.9901 19.3212 25.1815 21.6007 23.7126 23.4156H23.7146Z'\n        fill={fill}\n      />\n      <path\n        d='M44.2041 27.4852V6.34581C44.2041 5.55458 44.9355 4.91406 45.8398 4.91406H52.0366C55.4431 4.91406 57.4799 5.56566 59.0845 6.69821C62.0988 8.82367 63.3931 12.5959 63.3931 16.9177C63.3931 21.2396 62.101 25.0118 59.0845 27.1372C57.4799 28.2698 55.4431 28.9191 52.0366 28.9191H45.8398C44.9377 28.9191 44.2041 28.2786 44.2041 27.4874V27.4852ZM50.862 24.7325C53.3686 24.7325 54.5433 24.6704 55.6382 24.0144C58.1049 22.545 58.4972 18.9523 58.4972 17.0795C58.4972 15.2067 58.1049 11.6118 55.6382 10.1446C54.5411 9.48857 53.3664 9.42651 50.862 9.42651H49.428C49.2485 9.42651 49.1 9.54398 49.1 9.68804V24.4754C49.1 24.6195 49.2463 24.7369 49.428 24.7369H50.862V24.7325Z'\n        fill={fill}\n      />\n      <path\n        d='M80.5119 27.8952L79.2442 24.1518C79.2021 24.0299 79.0757 23.9479 78.9317 23.9479H70.452C70.3079 23.9479 70.1794 24.0321 70.1395 24.1518L68.8717 27.8952C68.6656 28.5025 68.0273 28.9191 67.3048 28.9191H66.0548C64.9511 28.9191 64.1643 27.9794 64.4945 27.0574L72.081 5.91584C72.296 5.31965 72.9276 4.91406 73.6413 4.91406H75.9396C76.6533 4.91406 77.2849 5.31965 77.4999 5.91584L85.0864 27.0574C85.4167 27.9794 84.6299 28.9191 83.5261 28.9191H82.0789C81.3541 28.9191 80.718 28.5025 80.5119 27.8952ZM76.0416 14.6704L74.9644 11.7581C74.8669 11.4966 74.4325 11.4988 74.3394 11.7603L73.3 14.6704L71.5114 19.6682C71.4471 19.8477 71.6045 20.0294 71.8239 20.0294H77.5177C77.7371 20.0294 77.8944 19.8477 77.8302 19.6682L76.0416 14.6704Z'\n        fill={fill}\n      />\n      <path\n        d='M90.4833 28.799V8.96726C90.4833 8.8099 90.337 8.68135 90.1552 8.68135H85.0688C84.1667 8.68135 83.4331 8.04083 83.4331 7.2496V6.51378C83.4331 5.72255 84.1645 5.08203 85.0688 5.08203H100.791C101.693 5.08203 102.427 5.72255 102.427 6.51378V7.2496C102.427 8.04083 101.696 8.68135 100.791 8.68135H95.7049C95.5254 8.68135 95.3769 8.8099 95.3769 8.96726V28.799C95.3769 28.9564 95.2306 29.0849 95.0489 29.0849H90.8068C90.6273 29.0849 90.4788 28.9564 90.4788 28.799H90.4833Z'\n        fill={fill}\n      />\n      <path\n        d='M129.152 5.07422H130.776C131.678 5.07422 132.412 5.71031 132.412 6.4971V27.4946C132.412 28.2792 131.681 28.9175 130.776 28.9175H129.152C128.25 28.9175 127.516 28.2814 127.516 27.4946V6.4971C127.516 5.71252 128.247 5.07422 129.152 5.07422Z'\n        fill={fill}\n      />\n      <path\n        d='M116.013 28.0554L114.746 24.312C114.704 24.1901 114.577 24.1081 114.433 24.1081H105.953C105.809 24.1081 105.681 24.1923 105.641 24.312L104.373 28.0554C104.167 28.6626 103.529 29.0793 102.806 29.0793H101.556C100.453 29.0793 99.6657 28.1396 99.996 27.2176L107.582 6.076C107.797 5.47981 108.429 5.07422 109.143 5.07422H111.441C112.155 5.07422 112.786 5.47981 113.001 6.076L120.588 27.2176C120.918 28.1396 120.131 29.0793 119.028 29.0793H117.58C116.856 29.0793 116.22 28.6626 116.013 28.0554ZM111.543 14.6532L110.466 11.7343C110.368 11.4728 109.934 11.4728 109.841 11.7365L108.801 14.6532L107.013 19.6621C106.949 19.8416 107.106 20.0256 107.325 20.0256H113.019C113.239 20.0256 113.396 19.8439 113.332 19.6621L111.543 14.6532Z'\n        fill={fill}\n      />\n      <path\n        d='M136.774 27.4852V6.34581C136.774 5.55458 137.505 4.91406 138.409 4.91406H144.606C148.013 4.91406 150.05 5.56566 151.654 6.69821C154.668 8.82367 155.963 12.5959 155.963 16.9177C155.963 21.2396 154.671 25.0118 151.654 27.1372C150.05 28.2698 148.013 28.9191 144.606 28.9191H138.409C137.507 28.9191 136.774 28.2786 136.774 27.4874V27.4852ZM143.432 24.7325C145.938 24.7325 147.113 24.6704 148.208 24.0144C150.675 22.545 151.067 18.9523 151.067 17.0795C151.067 15.2067 150.675 11.6118 148.208 10.1446C147.111 9.48857 145.936 9.42651 143.432 9.42651H141.998C141.818 9.42651 141.67 9.54398 141.67 9.68804V24.4754C141.67 24.6195 141.816 24.7369 141.998 24.7369H143.432V24.7325Z'\n        fill={fill}\n      />\n    </svg>\n  )\n}\n","import type { IconProps } from '@/interfaces/stories.type'\n\nexport default function EditCircleCheckFill({\n  className,\n  height = '32',\n  width = '32',\n  fill = '#325AE1',\n  onClick,\n}: IconProps) {\n  return (\n    <svg\n      className={className}\n      width={width}\n      height={height}\n      onClick={onClick}\n      viewBox='0 0 32 32'\n      fill='none'\n      xmlns='http://www.w3.org/2000/svg'\n    >\n      <path\n        fillRule='evenodd'\n        clipRule='evenodd'\n        d='M3 16C3 8.8203 8.8203 3 16 3C23.1797 3 29 8.8203 29 16C29 23.1797 23.1797 29 16 29C8.8203 29 3 23.1797 3 16ZM22.0308 14.05C22.4266 13.6648 22.4352 13.0317 22.05 12.6359C21.6648 12.2401 21.0317 12.2315 20.6359 12.6167L14.4816 18.6057L11.363 15.5805C10.9665 15.1959 10.3334 15.2055 9.9489 15.6019C9.56435 15.9983 9.57397 16.6314 9.97038 17.016L13.7864 20.7178C14.1747 21.0945 14.7923 21.094 15.1801 20.7167L22.0308 14.05Z'\n        fill={fill}\n      />\n    </svg>\n  )\n}\n","import type { IconProps } from '@/interfaces/stories.type'\n\nexport default function NavigationGlobe({\n  className,\n  height = '24',\n  width = '24',\n  fill = 'white',\n  onClick,\n}: IconProps) {\n  return (\n    <svg\n      className={className}\n      width={width}\n      height={height}\n      onClick={onClick}\n      viewBox='0 0 24 24'\n      fill='none'\n      xmlns='http://www.w3.org/2000/svg'\n    >\n      <path\n        fillRule='evenodd'\n        clipRule='evenodd'\n        d='M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12Z'\n        fill={fill}\n      />\n      <path\n        fillRule='evenodd'\n        clipRule='evenodd'\n        d='M2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H21C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75H3C2.58579 12.75 2.25 12.4142 2.25 12Z'\n        fill={fill}\n      />\n      <path\n        fillRule='evenodd'\n        clipRule='evenodd'\n        d='M10.5902 5.87321C10.079 7.4067 9.75 9.5729 9.75 12C9.75 14.4271 10.079 16.5933 10.5902 18.1268C10.8471 18.8975 11.1364 19.467 11.4213 19.8285C11.7129 20.1985 11.9141 20.25 12 20.25C12.0859 20.25 12.2871 20.1985 12.5787 19.8285C12.8636 19.467 13.1529 18.8975 13.4098 18.1268C13.921 16.5933 14.25 14.4271 14.25 12C14.25 9.5729 13.921 7.4067 13.4098 5.87321C13.1529 5.10255 12.8636 4.53298 12.5787 4.1715C12.2871 3.80155 12.0859 3.75 12 3.75C11.9141 3.75 11.7129 3.80155 11.4213 4.1715C11.1364 4.53298 10.8471 5.10255 10.5902 5.87321ZM10.2432 3.24303C10.6695 2.70213 11.2575 2.25 12 2.25C12.7425 2.25 13.3305 2.70213 13.7568 3.24303C14.1897 3.79239 14.5468 4.54085 14.8328 5.39887C15.4075 7.12274 15.75 9.45654 15.75 12C15.75 14.5435 15.4075 16.8773 14.8328 18.6011C14.5468 19.4591 14.1897 20.2076 13.7568 20.757C13.3305 21.2979 12.7425 21.75 12 21.75C11.2575 21.75 10.6695 21.2979 10.2432 20.757C9.81026 20.2076 9.45317 19.4591 9.16717 18.6011C8.59254 16.8773 8.25 14.5435 8.25 12C8.25 9.45654 8.59254 7.12274 9.16717 5.39887C9.45317 4.54085 9.81026 3.79239 10.2432 3.24303Z'\n        fill={fill}\n      />\n    </svg>\n  )\n}\n","import type { IconProps } from '@/interfaces/stories.type'\n\nexport default function WarningCircleWarningFill({\n  className,\n  width = '25',\n  height = '24',\n  fill = '#E63737',\n  onClick,\n}: IconProps) {\n  return (\n    <svg\n      className={className}\n      width={width}\n      height={height}\n      onClick={onClick}\n      viewBox='0 0 25 24'\n      fill='none'\n      xmlns='http://www.w3.org/2000/svg'\n    >\n      <path\n        fillRule='evenodd'\n        clipRule='evenodd'\n        d='M12.5 2.25C7.12 2.25 2.75 6.61 2.75 12C2.75 17.39 7.12 21.75 12.5 21.75C17.88 21.75 22.25 17.39 22.25 12C22.25 6.61 17.88 2.25 12.5 2.25ZM11.75 8.45C11.75 8.04 12.09 7.7 12.5 7.7C12.91 7.7 13.25 8.04 13.25 8.45V12.45C13.25 12.86 12.91 13.2 12.5 13.2C12.09 13.2 11.75 12.86 11.75 12.45V8.45ZM13.3 15.55C13.3 15.96 12.96 16.3 12.55 16.3H12.45C12.04 16.3 11.7 15.96 11.7 15.55V15.45C11.7 15.04 12.04 14.7 12.45 14.7H12.55C12.96 14.7 13.3 15.04 13.3 15.45V15.55Z'\n        fill={fill}\n      />\n    </svg>\n  )\n}\n"],"names":["SideMenu","open","onClose","useDictionary","pathname","usePathname","locale","split","section","className","cn","div","span","NavigationGlobe","fill","languageList","map","item","index","LinkIntl","key","href","toString","toUpperCase","length","hidden","DataIdLogo","onClick","MenuCloseLg","Header","theme","style","defaultScrollThemeChange","scrollPosition","useScrollPosition","localeSearchParam","useSearchParams","get","themeState","setThemeState","useState","isShow","setIsShow","isOpenSideMenu","setIsOpenSideMenu","isShowRef","useRef","isModalClickRef","themeConfig","useMemo","headerBackground","dataIdLogoFill","loginButtonType","loginButtonClassName","createButtonType","explorerTextColor","useEffect","handleWindowClick","current","window","addEventListener","removeEventListener","motion","header","id","setTimeout","onMouseEnter","MenuHamburger","onMouseLeave","pathnameWithoutLocale","slice","join","document","documentElement","setAttribute","p","language","origin","Object","assign","bind","target","i","arguments","source","prototype","hasOwnProperty","call","apply","this","props","xmlns","width","height","viewBox","fillRule","d","clipRule","LANGUAGE_LIST","linkProps","url","existLocale","some","lang","startsWith","nextUrl","Link","button","cva","variants","type","primary","secondary","tertiary","white","size","small","medium","large","outlined","true","false","disabled","block","prefix","suffix","compoundVariants","defaultVariants","Button","children","htmlType","Divider","orientation","classNames","Error","message","clsx","Label","required","htmlFor","label","Boolean","addonInput","isAddonString","error","readOnly","BaseInput","ref","addonAfter","allowClear","inputWrapperClassName","addBeforeClassName","addAfterClassName","addonBefore","inputRef","inputWrapperRef","canClear","name","input","node","e","currentTarget","cloneNode","event","create","value","focus","onChange","tabIndex","EditCircleXFill","forwardRef","TextArea","showCount","maxLength","textAreaClassName","focused","setFocused","setValue","visibleCount","textareaRef","textarea","onFocus","onBlur","undefined","String","toLocaleString","isString","Input","inputs","twMerge","DictionaryContext","React","DictionaryProvider","dictionary","Provider","selectedDictionary","useContext","keys","BLUR_IMAGE_URL","isMounted","useIsMounted","setScrollPosition","updatePosition","nextScrollPosition","scrollY","body","scrollTop","scrollToTop","behavior","scrollTo","top","svg","path","EditCircleCheckFill","WarningCircleWarningFill"],"sourceRoot":""}