{"version":3,"sources":["webpack:///./app/javascript/checkout_application_v3/ui-kit/components/Typography/Typography.tsx","webpack:///./app/javascript/checkout_application_v3/ui-kit/colors/colors.ts","webpack:///./app/javascript/checkout_application_v3/ui-kit/components/HorizontalRule/HorizontalRule.tsx","webpack:///./app/javascript/checkout_application_v3/components/common/SubHeader/SubHeader.tsx","webpack:///./app/javascript/checkout_application_v3/ui-kit/components/IconButton/IconButton.tsx","webpack:///./app/javascript/checkout_application_v3/components/common/Logo/Logo.tsx","webpack:///./app/javascript/checkout_application_v3/components/common/Footer/Footer.tsx","webpack:///./app/javascript/checkout_application_v3/components/common/AppLayout/AppLayout.tsx","webpack:///./app/javascript/checkout_application_v3/components/common/SelectLanguage/SelectLanguage.tsx","webpack:///./app/javascript/checkout_application_v3/components/common/ReturnsLayout/ReturnsLayout.tsx","webpack:///./app/javascript/checkout_application_v3/hooks/useDetectTranslationMismatch/useDetectTranslationMismatch.ts","webpack:///./app/javascript/checkout_application_v3/ui-kit/components/Select/Select.util.ts","webpack:///./app/javascript/checkout_application_v3/ui-kit/components/Select/Select.tsx","webpack:///./app/javascript/checkout_application_v3/ui-kit/icons/Back.tsx","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_en.png","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_de.png","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_fr.png","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_es_spanish.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_pt_portuguese.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_it_italian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_pl_polish.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_nl_dutch.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_da_danish.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_fi_finnish.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_el_greek.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_ca_catalan.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_sv_swedish.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_cs_czech.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_et_estonian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_hu_hungarian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_lt_lithuanian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_lv_latvian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_sk_slovak.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_sl_slovenian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_bg_bulgarian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_ga_irish.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_hr_croatian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_uk_ukrainian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_mt_maltese.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_ro_romanian.svg","webpack:///./app/javascript/checkout_application_v3/assets/images/flag_ru_russian.svg"],"names":["Typography","_ref","children","size","weight","_ref$element","element","TypographyComponent","className","_ref$disabled","disabled","_ref$onClick","onClick","emptyCallback","props","_objectWithoutProperties","_excluded","React","createElement","Object","assign","cx","concat","grey","errorRed","HorizontalRule","_ref$className","SubHeader","title","subTitle","_ref$hasBackBtn","hasBackBtn","_ref$onBackBtnClick","onBackBtnClick","_ref$isBackBtnDisable","isBackBtnDisabled","Fragment","IconButton","variant","BackIcon","_ref$variant","_ref$size","isCircle","circle","Logo","viewBox","version","width","height","xmlns","id","transform","d","FooterLinks","imprintUrl","privacyPolicyUrl","t","useTranslation","window","open","Footer","hasAtLeastOneUrl","AppLayout","languageMap","en","flag","flagEN","text","de","flagDE","fr","flagFR","es","flagES","pt","flagPT","it","flagIT","pl","flagPL","nl","flagNL","da","flagDA","fi","flagFI","el","flagEL","ca","flagCA","sv","flagSV","cs","flagCS","et","flagET","hu","flagHU","lt","flagLT","lv","flagLV","sk","flagSK","sl","flagSL","bg","flagBG","ga","flagGA","hr","flagHR","uk","flagUK","mt","flagMT","ro","flagRO","ru","flagRU","LanguageLabel","languageName","languageCode","_ref2","src","alt","SelectLanguage","_ref3","selected","_ref3$merchantLanguag","merchantLanguages","onChange","languagesOptions","map","merchantLanguage","value","langCode","label","langName","Select","options","ReturnsLayout","renderFooter","addLogoLink","_useLanguageContext","useLanguageContext","language","changeLanguage","logoUrl","useThemeContext","_useMerchantSettingsC2","useMerchantSettingsContext","data","shopUrl","viewSettings","merchant","hasMoreThanOneLanguage","length","useDetectTranslationMismatch","getCustomStyles","primaryColor","control","styles","isFocused","_objectSpread","minHeight","borderColor","borderRadius","singleValue","color","fontSize","fontWeight","option","isDisabled","isSelected","textAlign","dropdownIndicator","indicatorSeparator","display","_ref$options","_ref$defaultOption","defaultOption","_ref$isSearchable","isSearchable","_ref$placeholder","placeholder","selectedOption","useMemo","_options$find","find","ReactSelect","defaultValue","theme","colors","primary25","primary50","primary","_ref$color","fill","stroke","strokeWidth","strokeLinecap","strokeLinejoin","module","exports"],"mappings":"wmBAgBO,IAAMA,EAAkC,SAAHC,GASrC,IARLC,EAAQD,EAARC,SACAC,EAAIF,EAAJE,KACAC,EAAMH,EAANG,OAAMC,EAAAJ,EACNK,QAASC,OAAmB,IAAAF,EAAG,OAAMA,EACrCG,EAASP,EAATO,UAASC,EAAAR,EACTS,gBAAQ,IAAAD,GAAQA,EAAAE,EAAAV,EAChBW,eAAO,IAAAD,EAAGE,IAAaF,EACpBG,EAAKC,EAAAd,EAAAe,GAER,OACEC,IAAAC,cAACX,EAAmBY,OAAAC,OAAA,CAClBR,QAASA,EACTJ,UAAWa,IAAGb,EAAU,MAADc,OAAQnB,EAAI,QAAAmB,OAAOlB,GAAU,CAClD,aAAcM,KAEZI,GAEHZ,EAGP,C,oCCrCA,oEAAO,IAAMqB,EAA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,EAAOC,QAAU,IAA0B,kG,uBCA3CD,EAAOC,QAAU,IAA0B,gG,uBCA3CD,EAAOC,QAAU,IAA0B,kG,uBCA3CD,EAAOC,QAAU,IAA0B,kG,uBCA3CD,EAAOC,QAAU,IAA0B,gG,uBCA3CD,EAAOC,QAAU,IAA0B,mG,uBCA3CD,EAAOC,QAAU,IAA0B,oG,uBCA3CD,EAAOC,QAAU,IAA0B,qG,uBCA3CD,EAAOC,QAAU,IAA0B,kG,uBCA3CD,EAAOC,QAAU,IAA0B,iG,uBCA3CD,EAAOC,QAAU,IAA0B,oG,uBCA3CD,EAAOC,QAAU,IAA0B,oG,uBCA3CD,EAAOC,QAAU,IAA0B,gG,uBCA3CD,EAAOC,QAAU,IAA0B,mG,uBCA3CD,EAAOC,QAAU,IAA0B,oG,uBCA3CD,EAAOC,QAAU,IAA0B,kG,uBCA3CD,EAAOC,QAAU,IAA0B,mG,uBCA3CD,EAAOC,QAAU,IAA0B,kG","file":"js/2-cbd7e512b1e1138862aa.chunk.js","sourcesContent":["import React, { FC } from \"react\";\nimport cx from \"classnames\";\n\nimport { emptyCallback } from \"~/util/emptyCallback\";\n\nimport { FontSize, FontWeight, TypographyElement } from \"./Typography.types\";\n\nexport type TypographyProps = {\n  size: FontSize;\n  weight: FontWeight;\n  element?: TypographyElement;\n  className?: string;\n  disabled?: boolean;\n  onClick?: () => void;\n};\n\nexport const Typography: FC<TypographyProps> = ({\n  children,\n  size,\n  weight,\n  element: TypographyComponent = \"span\",\n  className,\n  disabled = false,\n  onClick = emptyCallback,\n  ...props\n}) => {\n  return (\n    <TypographyComponent\n      onClick={onClick}\n      className={cx(className, `fs-${size} fw-${weight}`, {\n        \"opacity-50\": disabled,\n      })}\n      {...props}\n    >\n      {children}\n    </TypographyComponent>\n  );\n};\n","export const grey = {\n  0: \"#ffffff\",\n  50: \"#fafafa\",\n  95: \"#f2f2f2\",\n  100: \"#f4f4f5\",\n  200: \"#e4e4e7\",\n  300: \"#d4d4d8\",\n  400: \"#a1a1aa\",\n  500: \"#71717a\",\n  600: \"#52525b\",\n  700: \"#3f3f46\",\n  800: \"#27272a\",\n  900: \"#18181b\",\n};\n\nexport const errorRed = \"#EB5757\";\nexport const greenLight = \"#E6FBEF\";\n","import React, { FC } from \"react\";\nimport cx from \"classnames\";\n\nexport type HorizontalRuleProps = {\n  className?: string;\n};\n\nexport const HorizontalRule: FC<HorizontalRuleProps> = ({\n  className = \"my-6\",\n}) => {\n  return <hr className={cx(\"grey-100-bg opacity-100\", className)} />;\n};\n","import React, { FC } from \"react\";\nimport cx from \"classnames\";\n\nimport { IconButton } from \"~/ui-kit/components/IconButton/IconButton\";\nimport { BackIcon } from \"~/ui-kit/icons/Back\";\nimport { HorizontalRule } from \"~/ui-kit/components/HorizontalRule/HorizontalRule\";\nimport { Typography } from \"~/ui-kit/components/Typography/Typography\";\nimport { emptyCallback } from \"~/util/emptyCallback\";\n\nimport \"./SubHeader.scss\";\n\nexport type SubHeaderProps = {\n  title: string;\n  subTitle?: string;\n  hasBackBtn?: boolean;\n  onBackBtnClick?: () => void;\n  isBackBtnDisabled?: boolean;\n};\n\nexport const SubHeader: FC<SubHeaderProps> = ({\n  title,\n  subTitle,\n  hasBackBtn = false,\n  onBackBtnClick = emptyCallback,\n  isBackBtnDisabled = false,\n}) => {\n  return (\n    <>\n      <div\n        className={cx({ \"d-flex align-items-center\": hasBackBtn }, \"px-3 pb-3\")}\n      >\n        {hasBackBtn ? (\n          <IconButton\n            onClick={onBackBtnClick}\n            variant=\"secondary\"\n            size=\"md\"\n            className=\"me-2 p-0\"\n            disabled={isBackBtnDisabled}\n          >\n            <BackIcon />\n          </IconButton>\n        ) : null}\n\n        <div className=\"d-flex flex-column align-items-center w-100\">\n          <Typography\n            className=\"grey-900-c text-center sub-header-title\"\n            size=\"xl\"\n            weight=\"bd\"\n          >\n            {title}\n          </Typography>\n          {subTitle ? (\n            <Typography\n              className=\"grey-500-c text-center\"\n              size=\"sm\"\n              weight=\"rg\"\n            >\n              {subTitle}\n            </Typography>\n          ) : null}\n        </div>\n      </div>\n      <HorizontalRule className=\"mt-3 mb-0\" />\n    </>\n  );\n};\n","import React, { FC } from \"react\";\nimport cx from \"classnames\";\n\nimport { ButtonVariant } from \"../Button/Button.types\";\n\nimport \"./IconButton.scss\";\n\nexport type IconButtonProps = {\n  onClick?: () => void;\n  variant?: ButtonVariant;\n  size: string;\n  disabled?: boolean;\n  className?: string;\n  isCircle?: boolean;\n};\n\nexport const IconButton: FC<IconButtonProps> = ({\n  onClick,\n  variant = \"primary\",\n  size = \"md\",\n  disabled,\n  className,\n  children,\n  isCircle,\n}) => {\n  return (\n    <button\n      className={cx(\n        { circle: isCircle, disabled },\n        \"button-base icon-button-base\",\n        variant,\n        size,\n        className\n      )}\n      disabled={disabled}\n      onClick={onClick}\n    >\n      {children}\n    </button>\n  );\n};\n","import React from \"react\";\n\nexport const Logo = () => {\n  return (\n    <svg\n      viewBox=\"0 0 69.999999 12.02997\"\n      version=\"1.1\"\n      width=\"70\"\n      height=\"12.02997\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <g\n        className=\"cls-2\"\n        clip-path=\"url(#clippath)\"\n        id=\"g27\"\n        transform=\"matrix(0.05119354,0,0,0.05119354,0,-5.119354e-4)\"\n      >\n        <g id=\"g25\">\n          <path\n            d=\"m 280.94,228.84 -23.7,-54.65 h -12.95 v 54.65 H 181.11 V 7.74 h 80.87 c 53.38,0 85.91,31.91 85.91,83.07 0,28.74 -11.37,52.43 -31.27,66.97 l 32.22,71.07 h -67.9 z M 244.29,52.59 v 76.76 h 10.43 c 18.95,0 29.06,-13.9 29.06,-38.53 0,-24.63 -10.43,-38.22 -28.74,-38.22 H 244.3 Z\"\n            id=\"path9\"\n          />\n          <path\n            d=\"M 362.65,228.84 V 7.74 h 123.19 v 47.69 h -60.01 v 40.12 h 60.01 v 46.12 h -60.01 v 39.48 h 60.01 v 47.69 z\"\n            id=\"path11\"\n          />\n          <path\n            d=\"M 539.07,228.84 V 55.44 H 498.32 V 7.74 h 144.67 v 47.69 h -40.75 v 173.41 h -63.18 z\"\n            id=\"path13\"\n          />\n          <path\n            d=\"M 655.49,153.36 V 7.74 h 63.49 v 144.67 c 0,18.01 8.21,28.42 21.48,28.42 13.27,0 21.48,-10.43 21.48,-28.42 V 7.74 h 63.49 v 145.62 c 0,52.43 -30.96,81.49 -84.97,81.49 -54.01,0 -84.97,-29.37 -84.97,-81.49 z\"\n            id=\"path15\"\n          />\n          <path\n            d=\"m 941.01,228.84 -23.7,-54.65 h -12.95 v 54.65 H 841.18 V 7.74 h 80.87 c 53.38,0 85.92,31.91 85.92,83.07 0,28.74 -11.38,52.43 -31.27,66.97 l 32.22,71.07 H 941.01 Z M 904.37,52.59 v 76.76 h 10.43 c 18.96,0 29.05,-13.9 29.05,-38.53 0,-24.63 -10.43,-38.22 -28.74,-38.22 h -10.75 z\"\n            id=\"path17\"\n          />\n          <path\n            d=\"M 1022.73,228.84 V 7.74 h 57.18 l 53.7,119.4 V 7.74 h 57.8 v 221.11 h -57.17 l -53.38,-116.87 v 116.87 h -58.13 z\"\n            id=\"path19\"\n          />\n          <path\n            d=\"m 1325.99,101.08 -35.7,-16.42 c -14.53,-7.27 -21.79,-12.63 -21.79,-23.69 0,-10.11 6.01,-16.42 16.11,-16.42 11.36,0 18,8.21 18.32,25.27 l 59.69,11.03 V 69.82 c 0,-45.17 -27.16,-69.81 -76.13,-69.81 -48.97,0 -77.38,25.58 -77.38,66.02 0,31.91 16.11,52.43 48.33,66.65 l 29.69,12.95 c 13.58,6.32 19.59,12.63 19.59,23.69 0,11.06 -6.64,17.69 -17.06,17.69 -13.27,0 -21.16,-10.11 -21.16,-29.06 l -61.59,-11.59 v 11.59 c 0,49.91 30.32,77.07 81.8,77.07 47.7,0 78.65,-26.22 78.65,-70.12 0,-29.69 -12.63,-49.91 -41.38,-63.8 h 0.01 z\"\n            id=\"path21\"\n          />\n          <path\n            d=\"m 134.65,119.78 -40.8,18.42 c 5.93,5.4 13.7,15.34 13.7,24.09 0,17 -8.5,26.15 -23.54,26.15 -15.04,0 -23.87,-9.15 -23.87,-26.15 0,-14.45 8.17,-22.66 19.93,-28.14 0.34,-0.15 0.68,-0.32 1.04,-0.48 l -0.02,-0.05 6.81,-3.08 c 7.12,-3.26 16.33,-7.44 25.55,-11.54 l 22.03,-9.95 C 150.52,100.84 163.43,85.87 163.43,61.6 163.45,22.37 130.12,0.79 84.02,0.79 c -46.1,0 -79.77,21.57 -79.77,60.8 0,19.82 11.29,36.71 25.86,45.5 L 72.29,88.05 C 67.62,83.17 63.11,74.36 63.11,66.5 c 0,-13.74 7.2,-22.89 20.92,-22.89 13.72,0 20.59,9.15 20.59,22.89 0,11.31 -4.79,19.15 -15.54,24.25 -8.4,3.99 -19.18,8.77 -31.4,14.24 l -20.11,9.08 C 17.36,123.41 0,140.23 0,169.16 c 0,40.87 31.71,65.06 84.02,65.06 52.31,0 84.02,-24.2 84.02,-65.06 0,-21.35 -17.3,-40.44 -33.39,-49.38 z\"\n            id=\"path23\"\n          />\n        </g>\n      </g>\n    </svg>\n  );\n};\n","import React, { FC } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport cx from \"classnames\";\n\nimport { Logo } from \"~/components/common/Logo/Logo\";\nimport { Typography } from \"~/ui-kit/components/Typography/Typography\";\n\nimport \"./Footer.scss\";\n\ntype FooterLinksProps = {\n  imprintUrl?: string;\n  privacyPolicyUrl?: string;\n};\n\nconst FooterLinks: FC<FooterLinksProps> = ({\n  imprintUrl,\n  privacyPolicyUrl,\n}) => {\n  const { t } = useTranslation();\n  return (\n    <>\n      {imprintUrl ? (\n        <Typography\n          size={\"sm\"}\n          weight={\"md\"}\n          className=\"grey-400-c me-4 cursor-pointer\"\n          onClick={() => window.open(imprintUrl)}\n        >\n          {t(\"backend:imprint\")}\n        </Typography>\n      ) : null}\n      {privacyPolicyUrl ? (\n        <Typography\n          size={\"sm\"}\n          weight={\"md\"}\n          className=\"grey-400-c cursor-pointer\"\n          onClick={() => window.open(privacyPolicyUrl)}\n        >\n          {t(\"backend:privacy_policy\")}\n        </Typography>\n      ) : null}\n    </>\n  );\n};\n\nexport const Footer: FC = () => {\n  const { t } = useTranslation();\n  const imprintUrl = t(\"backend:imprint_url\");\n  const privacyPolicyUrl = t(\"backend:privacy_policy_url\");\n  const hasAtLeastOneUrl = imprintUrl || privacyPolicyUrl;\n  return (\n    <div\n      className={cx(\"footer-wrapper container-fluid\", {\n        \"footer-wrapper-mobile-height\": hasAtLeastOneUrl,\n      })}\n    >\n      <div className=\"row h-100\">\n        {/* Desktop footer links section */}\n        <div className=\"d-none d-md-flex col-md-4 align-items-center\">\n          <FooterLinks\n            imprintUrl={imprintUrl}\n            privacyPolicyUrl={privacyPolicyUrl}\n          />\n        </div>\n        <div className=\"col-12 col-md-4 d-flex justify-content-center align-items-center\">\n          <Typography size={\"sm\"} weight={\"rg\"} className=\"grey-400-c me-3\">\n            {t(\"powered_by\")}\n          </Typography>\n          <Logo />\n        </div>\n        {/* Mobile responsive footer links section */}\n        {hasAtLeastOneUrl ? (\n          <>\n            <div className=\"d-flex d-md-none col-12 justify-content-center align-items-center\">\n              <FooterLinks\n                imprintUrl={imprintUrl}\n                privacyPolicyUrl={privacyPolicyUrl}\n              />\n            </div>\n            <div className=\"d-none d-md-flex col-md-4\"></div>\n          </>\n        ) : null}\n      </div>\n    </div>\n  );\n};\n","import React, { FC } from \"react\";\nimport cx from \"classnames\";\n\nimport { Footer } from \"~/components/common/Footer/Footer\";\n\nimport \"./AppLayout.scss\";\n\nexport type AppLayoutSize = \"sm\" | \"md\" | \"lg\" | \"xl\";\n\nexport type AppLayoutProps = {\n  name?: string;\n  size?: AppLayoutSize;\n};\n\nexport const AppLayout: FC<AppLayoutProps> = ({ children, size = \"md\" }) => {\n  return (\n    <div className=\"app-wrapper w-100 d-flex flex-column justify-content-between\">\n      <div className=\"d-flex justify-content-center py-4 px-4\">\n        <div className={cx(\"app-layout\", size)}>{children}</div>\n      </div>\n      <Footer />\n    </div>\n  );\n};\n","import React, { FC } from \"react\";\n\nimport { Select } from \"~/ui-kit/components/Select/Select\";\nimport { LocaleCodes } from \"~/common/types/common\";\nimport { MerchantLanguage } from \"~/common/types/merchant\";\n\nimport flagEN from \"~/assets/images/flag_en.png\";\nimport flagDE from \"~/assets/images/flag_de.png\";\nimport flagFR from \"~/assets/images/flag_fr.png\";\nimport flagES from \"~/assets/images/flag_es_spanish.svg\";\nimport flagPT from \"~/assets/images/flag_pt_portuguese.svg\";\nimport flagIT from \"~/assets/images/flag_it_italian.svg\";\nimport flagPL from \"~/assets/images/flag_pl_polish.svg\";\nimport flagNL from \"~/assets/images/flag_nl_dutch.svg\";\nimport flagDA from \"~/assets/images/flag_da_danish.svg\";\nimport flagFI from \"~/assets/images/flag_fi_finnish.svg\";\nimport flagEL from \"~/assets/images/flag_el_greek.svg\";\nimport flagCA from \"~/assets/images/flag_ca_catalan.svg\";\nimport flagSV from \"~/assets/images/flag_sv_swedish.svg\";\nimport flagCS from \"~/assets/images/flag_cs_czech.svg\";\nimport flagET from \"~/assets/images/flag_et_estonian.svg\";\nimport flagHU from \"~/assets/images/flag_hu_hungarian.svg\";\nimport flagLT from \"~/assets/images/flag_lt_lithuanian.svg\";\nimport flagLV from \"~/assets/images/flag_lv_latvian.svg\";\nimport flagSK from \"~/assets/images/flag_sk_slovak.svg\";\nimport flagSL from \"~/assets/images/flag_sl_slovenian.svg\";\nimport flagBG from \"~/assets/images/flag_bg_bulgarian.svg\";\nimport flagGA from \"~/assets/images/flag_ga_irish.svg\";\nimport flagHR from \"~/assets/images/flag_hr_croatian.svg\";\nimport flagUK from \"~/assets/images/flag_uk_ukrainian.svg\";\nimport flagMT from \"~/assets/images/flag_mt_maltese.svg\";\nimport flagRO from \"~/assets/images/flag_ro_romanian.svg\";\nimport flagRU from \"~/assets/images/flag_ru_russian.svg\";\n\nimport \"./SelectLanguage.css\";\n\nconst languageMap = {\n  en: {\n    flag: flagEN,\n    text: \"English\",\n  },\n  de: {\n    flag: flagDE,\n    text: \"Deutsch\",\n  },\n  fr: {\n    flag: flagFR,\n    text: \"Français\",\n  },\n  es: {\n    flag: flagES,\n    text: \"Spanish\",\n  },\n  pt: {\n    flag: flagPT,\n    text: \"Portuguese\",\n  },\n  it: {\n    flag: flagIT,\n    text: \"Italian\",\n  },\n  pl: {\n    flag: flagPL,\n    text: \"Polish\",\n  },\n  nl: {\n    flag: flagNL,\n    text: \"Dutch\",\n  },\n  da: {\n    flag: flagDA,\n    text: \"Danish\",\n  },\n  fi: {\n    flag: flagFI,\n    text: \"Finnish\",\n  },\n  el: {\n    flag: flagEL,\n    text: \"Greek\",\n  },\n  ca: {\n    flag: flagCA,\n    text: \"Catalan\",\n  },\n  sv: {\n    flag: flagSV,\n    text: \"Swedish\",\n  },\n  cs: {\n    flag: flagCS,\n    text: \"Czech\",\n  },\n  et: {\n    flag: flagET,\n    text: \"Estonian\",\n  },\n  hu: {\n    flag: flagHU,\n    text: \"Hungarian\",\n  },\n  lt: {\n    flag: flagLT,\n    text: \"Lithuanian\",\n  },\n  lv: {\n    flag: flagLV,\n    text: \"Latvian\",\n  },\n  sk: {\n    flag: flagSK,\n    text: \"Slovak\",\n  },\n  sl: {\n    flag: flagSL,\n    text: \"Slovenian\",\n  },\n  bg: {\n    flag: flagBG,\n    text: \"Bulgarian\",\n  },\n  ga: {\n    flag: flagGA,\n    text: \"Irish\",\n  },\n  hr: {\n    flag: flagHR,\n    text: \"Croatian\",\n  },\n  uk: {\n    flag: flagUK,\n    text: \"Ukrainian\",\n  },\n  mt: {\n    flag: flagMT,\n    text: \"Maltese\",\n  },\n  ro: {\n    flag: flagRO,\n    text: \"Romanian\",\n  },\n  ru: {\n    flag: flagRU,\n    text: \"Russian\",\n  },\n};\n\nconst LanguageLabel = ({ languageName, languageCode }) => {\n  const { flag, text } = languageMap[languageCode] || {};\n  return (\n    <div className=\"d-flex align-items-center\">\n      {flag ? (\n        <img\n          className=\"rounded-circle select-language-flag me-2\"\n          src={flag}\n          alt={text}\n        />\n      ) : (\n        <div className=\"select-language-flag me-2\"></div>\n      )}\n      {languageName}\n    </div>\n  );\n};\n\nexport type SelectLanguageProps = {\n  selected: LocaleCodes;\n  merchantLanguages: MerchantLanguage[];\n  onChange: (language: LocaleCodes) => void;\n};\n\nexport const SelectLanguage: FC<SelectLanguageProps> = ({\n  selected,\n  merchantLanguages = [],\n  onChange,\n}) => {\n  const languagesOptions = merchantLanguages.map((merchantLanguage) => ({\n    value: merchantLanguage.langCode,\n    label: (\n      <LanguageLabel\n        languageName={merchantLanguage.langName}\n        languageCode={merchantLanguage.langCode}\n      />\n    ),\n  }));\n  return (\n    <Select options={languagesOptions} value={selected} onChange={onChange} />\n  );\n};\n","import React, { FC } from \"react\";\nimport cx from \"classnames\";\n\nimport { useLanguageContext } from \"~/context/LanguageContext/LanguageContext\";\nimport { SelectLanguage } from \"../SelectLanguage/SelectLanguage\";\nimport { useMerchantSettingsContext } from \"~/context/MerchantSettingsContext/MerchantSettingsContext\";\nimport { HorizontalRule } from \"~/ui-kit/components/HorizontalRule/HorizontalRule\";\nimport { useThemeContext } from \"~/context/ThemeContext/ThemeContext\";\nimport { emptyCallback } from \"~/util/emptyCallback\";\n\nimport \"./ReturnsLayout.scss\";\n\nexport type ReturnsLayoutProps = {\n  className?: string;\n  renderFooter?: () => JSX.Element;\n  addLogoLink?: boolean;\n};\n\nexport const ReturnsLayout: FC<ReturnsLayoutProps> = ({\n  children,\n  className = \"\",\n  renderFooter,\n  addLogoLink,\n}) => {\n  const { language, changeLanguage } = useLanguageContext();\n  const { logoUrl } = useThemeContext();\n  const {\n    data: {\n      viewSettings: { shopUrl },\n      merchant: { merchantLanguages },\n    },\n  } = useMerchantSettingsContext();\n\n  const hasMoreThanOneLanguage = (merchantLanguages ?? []).length > 1;\n  return (\n    <div className={cx(\"card\", className)}>\n      <div className=\"card-header border-0 bg-transparent border-light\">\n        <div className=\"d-flex flex-column px-2\">\n          <div className=\"d-flex justify-content-between align-items-center py-2\">\n            <div\n              className=\"header-logo-container cursor-pointer\"\n              onClick={\n                addLogoLink && shopUrl\n                  ? () => window.open(shopUrl)\n                  : emptyCallback\n              }\n            >\n              <img className=\"header-logo\" src={logoUrl} />\n            </div>\n            <div className=\"header-language-container\">\n              {hasMoreThanOneLanguage ? (\n                <SelectLanguage\n                  merchantLanguages={merchantLanguages}\n                  onChange={changeLanguage}\n                  selected={language}\n                />\n              ) : null}\n            </div>\n          </div>\n          <HorizontalRule className=\"px-2\" />\n        </div>\n      </div>\n      <div className=\"card-body p-0\">{children}</div>\n      {renderFooter ? (\n        <div className={cx(\"card-footer bg-transparent border-light\")}>\n          {renderFooter()}\n        </div>\n      ) : null}\n    </div>\n  );\n};\n","import { useDetectI18nextMismatchOnDropdownChange } from \"~/hooks/useDetectTranslationMismatch/hooks/useDetectI18nextMismatchOnDropdownChange\";\nimport { useDetectTranslationMismatchOnMerchantLanguageChange } from \"~/hooks/useDetectTranslationMismatch/hooks/useDetectTranslationMismatchOnMerchantLanguageChange\";\n\nexport const useDetectTranslationMismatch = (isLoading = false) => {\n  // useDetectTranslationMismatchOnMerchantLanguageChange(isLoading);\n  // useDetectI18nextMismatchOnDropdownChange(isLoading);\n};\n","import { GroupBase, StylesConfig } from \"react-select\";\n\nimport { grey } from \"~/ui-kit/colors/colors\";\n\nimport { SelectOption } from \"./Select.types\";\n\n// TODO: Use variables instead of hard-coded values for font size and font weight\nexport const getCustomStyles = ({\n  primaryColor,\n}): StylesConfig<SelectOption, false, GroupBase<SelectOption>> => ({\n  control: (styles, { isFocused }) => ({\n    ...styles,\n    minHeight: \"2.5rem\",\n    borderColor: isFocused ? primaryColor : grey[200],\n    borderRadius: \"0.5rem\",\n    \"&:hover\": {\n      borderColor: grey[500],\n    },\n  }),\n  singleValue: (styles) => ({\n    ...styles,\n    color: grey[800],\n    fontSize: \"0.875rem\",\n    fontWeight: 500,\n  }),\n  option: (styles, { data: { isDisabled }, isSelected }) => ({\n    ...styles,\n    fontSize: \"0.875rem\",\n    fontWeight: 500,\n    textAlign: \"left\",\n    color: isSelected ? \"white\" : isDisabled ? grey[400] : grey[800],\n    \"&:active\": {\n      color: \"white\",\n    },\n  }),\n  dropdownIndicator: (styles) => ({\n    ...styles,\n    color: grey[500],\n    \":hover\": {\n      borderColor: grey[500],\n    },\n  }),\n  indicatorSeparator: () => ({\n    display: \"none\",\n  }),\n});\n","import React, { FC, useMemo } from \"react\";\nimport ReactSelect from \"react-select\";\n\nimport { useThemeContext } from \"~/context/ThemeContext/ThemeContext\";\nimport { grey } from \"~/ui-kit/colors/colors\";\n\nimport { SelectOption } from \"./Select.types\";\nimport { getCustomStyles } from \"./Select.util\";\n\nexport type SelectProps = {\n  options: SelectOption[];\n  onChange: (value: string) => void;\n  value: string;\n  defaultOption?: SelectOption;\n  isSearchable?: boolean;\n  placeholder?: string;\n};\n\nexport const Select: FC<SelectProps> = ({\n  options = [],\n  onChange,\n  defaultOption = null,\n  value,\n  isSearchable = false,\n  placeholder = \"\",\n  ...props\n}) => {\n  const selectedOption = useMemo(\n    () => options.find((option) => option.value === value) ?? null,\n    [value, options]\n  );\n  const { primaryColor } = useThemeContext();\n  return (\n    <ReactSelect\n      {...props}\n      defaultValue={defaultOption}\n      options={options}\n      onChange={({ value }) => {\n        onChange(value);\n      }}\n      isSearchable={isSearchable}\n      value={selectedOption}\n      styles={getCustomStyles({ primaryColor })}\n      // TODO: Consider setting lighter versions of primaryColor25\n      // Instead of using grey\n      theme={(theme) => ({\n        ...theme,\n        colors: {\n          ...theme.colors,\n          primary25: grey[200],\n          primary50: primaryColor,\n          primary: primaryColor,\n        },\n      })}\n      placeholder={placeholder}\n    />\n  );\n};\n","import React, { FC } from \"react\";\n\nimport { SVGIconComponentProps } from \"~/common/types/common\";\nimport { grey } from \"../colors/colors\";\n\nexport const BackIcon: FC<SVGIconComponentProps> = ({\n  color = grey[800],\n  className,\n  size = \"24\",\n}) => {\n  return (\n    <svg\n      width={size}\n      height={size}\n      viewBox={`0 0 ${size} ${size}`}\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      className={className}\n    >\n      <path\n        d=\"M13.25 8.75L9.75 12L13.25 15.25\"\n        stroke={color}\n        strokeWidth=\"1.5\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      />\n    </svg>\n  );\n};\n","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_en-c14d3d192e28b2ada8af93c49a3d1feb.png\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_de-e424dc526edf461cba43c507f1c3b0b4.png\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_fr-50b890f04cad7a20759575adcfa28d78.png\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_es_spanish-37c5897bf25b273cc2a36d67bb9f25ef.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_pt_portuguese-5681b94c0f2ec6559357587ba22b729f.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_it_italian-febcc1b18059405d2a1b169a335888f5.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_pl_polish-cd835d05865e496ff6b868655a4c8856.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_nl_dutch-c0bdb1a8a77eb133c4b7b4d4391d5ad4.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_da_danish-90f7d12042a18708f7ed68f9984c6ee1.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_fi_finnish-aed885cc7a38b534b2b69bc5ca939979.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_el_greek-f4f1efd04d192aac3cbe69e75c994783.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_ca_catalan-9d52c0a552153cf8823845c3d9fab569.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_sv_swedish-3dc09b9e96cefa2fa42b7a31d16a5288.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_cs_czech-f7d5fa0258940e2c3ac9bb2c2ec57633.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_et_estonian-7a473bb4c3d94cc9ca51d0909b2a423d.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_hu_hungarian-cb329e885950a7c054075d78aa6f1364.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_lt_lithuanian-1d07a8b84f27401d15e2578801e366a5.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_lv_latvian-884e7f97a321e3dda41076bbaef04f81.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_sk_slovak-10df93d5bbac5915911a1ca01f9c6288.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_sl_slovenian-ddb0cfd809bf281ba59eb6b8bf93b555.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_bg_bulgarian-0717abbc6df210a43c5d26cd34be00c4.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_ga_irish-9e3414e898f1a07d0bea10fed8d85084.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_hr_croatian-4bce8db161605e54a341368b0b9dfd73.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_uk_ukrainian-af1d11dab17044ee2036a635e89196cd.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_mt_maltese-eabd0a9654e283afd8e2cb653a388e1a.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_ro_romanian-6d757067ccc276327b1b444f1f3789cc.svg\";","module.exports = __webpack_public_path__ + \"media/checkout_application_v3/assets/images/flag_ru_russian-c789ea20a0f569d9d6a92d6d34f452a1.svg\";"],"sourceRoot":""}