@medusajs/dashboard 2.12.3-snapshot-20251217081413 → 2.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/add-locales-GGNZCABB.mjs +81 -0
  2. package/dist/app.css +10 -0
  3. package/dist/app.js +483 -374
  4. package/dist/app.mjs +1 -1
  5. package/dist/{store-add-locales-I4GX3KAY.mjs → chunk-IKTGFXWR.mjs} +1 -66
  6. package/dist/{chunk-FJR3D6EM.mjs → chunk-LWYKUORZ.mjs} +14 -11
  7. package/dist/en.json +1 -2
  8. package/dist/{product-attributes-S535VXSC.mjs → product-attributes-STD47BGC.mjs} +1 -1
  9. package/dist/{product-create-DKBLOS3M.mjs → product-create-LVGWVQAT.mjs} +1 -1
  10. package/dist/{product-detail-D2PJ64Q3.mjs → product-detail-OYVHJH3D.mjs} +1 -1
  11. package/dist/{product-edit-K6CAQD5H.mjs → product-edit-3SIUUIW4.mjs} +1 -1
  12. package/dist/{product-organization-IQFN54D2.mjs → product-organization-3PQ45C4B.mjs} +1 -1
  13. package/dist/store-add-locales-GWCGIXHU.mjs +81 -0
  14. package/dist/{translation-list-KSM4QA3K.mjs → translation-list-FK7XYLHX.mjs} +182 -109
  15. package/package.json +9 -9
  16. package/src/dashboard-app/routes/get-route.map.tsx +4 -0
  17. package/src/i18n/translations/en.json +1 -2
  18. package/src/i18n/translations/es.json +1 -1
  19. package/src/routes/translations/add-locales/add-locales.tsx +29 -0
  20. package/src/routes/translations/add-locales/index.tsx +1 -0
  21. package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +41 -16
  22. package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +5 -1
  23. package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +144 -103
package/dist/app.js CHANGED
@@ -11893,7 +11893,6 @@ var init_en = __esm({
11893
11893
  manage: "Manage translations",
11894
11894
  manageLocales: "Manage locales"
11895
11895
  },
11896
- title: "Translation domains",
11897
11896
  subtitle: "Manage translations of your data in Medusa",
11898
11897
  list: {
11899
11898
  metrics: "{{translated}} of {{total}} fields translated"
@@ -11917,7 +11916,7 @@ var init_en = __esm({
11917
11916
  completion: {
11918
11917
  heading: "Translated fields",
11919
11918
  translated: "Translated",
11920
- toTranslate: "To be translated",
11919
+ toTranslate: "Missing",
11921
11920
  footer: "Languages"
11922
11921
  }
11923
11922
  },
@@ -15149,7 +15148,7 @@ var init_es = __esm({
15149
15148
  completion: {
15150
15149
  heading: "Textos traducidos",
15151
15150
  translated: "Traducidos",
15152
- toTranslate: "Por traducir",
15151
+ toTranslate: "Faltantes",
15153
15152
  footer: "Idiomas"
15154
15153
  }
15155
15154
  },
@@ -190748,8 +190747,9 @@ var init_active_locales_section = __esm({
190748
190747
  }) => {
190749
190748
  const { t: t5 } = (0, import_react_i18next483.useTranslation)();
190750
190749
  const navigate = (0, import_react_router_dom245.useNavigate)();
190750
+ const [isHovered, setIsHovered] = (0, import_react304.useState)(false);
190751
190751
  const handleManageLocales = (0, import_react304.useCallback)(() => {
190752
- navigate("/settings/store/locales");
190752
+ navigate("/settings/translations/add-locales");
190753
190753
  }, [navigate]);
190754
190754
  const renderLocales = (0, import_react304.useCallback)(() => {
190755
190755
  const maxLocalesToDetail = 2;
@@ -190764,13 +190764,28 @@ var init_active_locales_section = __esm({
190764
190764
  /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.Heading, { level: "h2", children: t5("translations.activeLocales.heading") }),
190765
190765
  /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.IconButton, { variant: "transparent", onClick: handleManageLocales, children: /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_icons174.PencilSquare, {}) })
190766
190766
  ] }),
190767
- /* @__PURE__ */ (0, import_jsx_runtime686.jsx)("div", { className: "px-1 pb-1", children: hasLocales ? /* @__PURE__ */ (0, import_jsx_runtime686.jsxs)(import_ui450.Container, { className: "bg-ui-bg-component flex items-center gap-x-4 px-6 py-2", children: [
190768
- /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(IconAvatar, { children: /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_icons174.Language, {}) }),
190769
- /* @__PURE__ */ (0, import_jsx_runtime686.jsxs)("div", { className: "flex flex-col", children: [
190770
- /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.Text, { size: "small", weight: "plus", children: t5("translations.activeLocales.subtitle") }),
190771
- /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.Text, { className: "text-ui-fg-subtle", size: "small", children: renderLocales() })
190772
- ] })
190773
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.InlineTip, { label: "Tip", children: t5("translations.activeLocales.noLocalesTip") }) })
190767
+ /* @__PURE__ */ (0, import_jsx_runtime686.jsx)("div", { className: "px-1 pb-1", children: hasLocales ? /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(
190768
+ import_ui450.Tooltip,
190769
+ {
190770
+ open: isHovered,
190771
+ content: /* @__PURE__ */ (0, import_jsx_runtime686.jsx)("div", { className: "flex flex-col gap-y-1 p-1", children: locales.map((locale) => /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.Text, { size: "small", weight: "plus", children: locale.name }, locale.code)) }),
190772
+ children: /* @__PURE__ */ (0, import_jsx_runtime686.jsxs)(
190773
+ import_ui450.Container,
190774
+ {
190775
+ className: "bg-ui-bg-component border-r-1 flex items-center gap-x-4 px-[19px] py-2",
190776
+ onMouseEnter: () => setIsHovered(true),
190777
+ onMouseLeave: () => setIsHovered(false),
190778
+ children: [
190779
+ /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(IconAvatar, { className: "border-ui-border-base border", children: /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_icons174.Language, {}) }),
190780
+ /* @__PURE__ */ (0, import_jsx_runtime686.jsxs)("div", { className: "flex flex-col", children: [
190781
+ /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.Text, { size: "small", weight: "plus", children: t5("translations.activeLocales.subtitle") }),
190782
+ /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.Text, { className: "text-ui-fg-subtle", size: "small", children: renderLocales() })
190783
+ ] })
190784
+ ]
190785
+ }
190786
+ )
190787
+ }
190788
+ ) : /* @__PURE__ */ (0, import_jsx_runtime686.jsx)(import_ui450.InlineTip, { label: "Tip", children: t5("translations.activeLocales.noLocalesTip") }) })
190774
190789
  ] });
190775
190790
  };
190776
190791
  }
@@ -190804,7 +190819,15 @@ var init_translation_list_section = __esm({
190804
190819
  import_react_router_dom246.Link,
190805
190820
  {
190806
190821
  to: `/settings/translations/edit?reference=${entity.reference}`,
190807
- children: /* @__PURE__ */ (0, import_jsx_runtime687.jsx)(import_ui451.Button, { variant: "secondary", size: "small", disabled: !hasLocales, children: "Edit" })
190822
+ children: /* @__PURE__ */ (0, import_jsx_runtime687.jsx)(
190823
+ import_ui451.Button,
190824
+ {
190825
+ variant: "secondary",
190826
+ size: "small",
190827
+ disabled: !hasLocales || !entity.totalCount,
190828
+ children: "Edit"
190829
+ }
190830
+ )
190808
190831
  }
190809
190832
  )
190810
190833
  ]
@@ -190892,7 +190915,8 @@ var init_translations_completion_section = __esm({
190892
190915
  className: "mr-0.5 h-full rounded-sm transition-all",
190893
190916
  style: {
190894
190917
  width: `${percentage}%`,
190895
- backgroundColor: "var(--bg-interactive)"
190918
+ backgroundColor: "var(--tag-blue-icon)",
190919
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)"
190896
190920
  }
190897
190921
  }
190898
190922
  ),
@@ -190901,8 +190925,8 @@ var init_translations_completion_section = __esm({
190901
190925
  {
190902
190926
  className: "h-full flex-1 rounded-sm",
190903
190927
  style: {
190904
- backgroundColor: "var(--bg-interactive)",
190905
- opacity: 0.3
190928
+ backgroundColor: "var(--tag-blue-border)",
190929
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)"
190906
190930
  }
190907
190931
  }
190908
190932
  )
@@ -190911,8 +190935,8 @@ var init_translations_completion_section = __esm({
190911
190935
  {
190912
190936
  className: "h-full w-full rounded-sm",
190913
190937
  style: {
190914
- backgroundColor: "var(--bg-interactive)",
190915
- opacity: 0.3
190938
+ backgroundColor: "var(--tag-blue-border)",
190939
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)"
190916
190940
  }
190917
190941
  }
190918
190942
  ) }),
@@ -190928,117 +190952,158 @@ var init_translations_completion_section = __esm({
190928
190952
  ] })
190929
190953
  ] })
190930
190954
  ] }),
190931
- localeStats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "border-ui-border-strong flex flex-col gap-y-3 border-t border-dashed px-6 pb-6 pt-4", children: [
190932
- /* @__PURE__ */ (0, import_jsx_runtime688.jsx)("div", { className: "flex h-32 w-full items-end gap-1", children: localeStats.map((locale) => {
190933
- const heightPercent = locale.total / maxTotal * 100;
190934
- const translatedPercent = locale.total > 0 ? locale.translated / locale.total * 100 : 0;
190935
- return /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190936
- import_ui452.Tooltip,
190937
- {
190938
- open: hoveredLocale === locale.code,
190939
- content: /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex flex-col gap-y-1 p-1", children: [
190940
- /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(import_ui452.Text, { size: "small", weight: "plus", children: locale.name }),
190941
- /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex items-center justify-between", children: [
190942
- /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex items-center gap-x-2", children: [
190955
+ localeStats.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)(import_jsx_runtime688.Fragment, { children: [
190956
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(import_ui452.Divider, { variant: "dashed" }),
190957
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex flex-col gap-y-3 px-6 pb-6 pt-4", children: [
190958
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)("div", { className: "flex h-32 w-full items-end gap-1", children: localeStats.map((locale) => {
190959
+ const heightPercent = locale.total / maxTotal * 100;
190960
+ const translatedPercent = locale.total > 0 ? locale.translated / locale.total * 100 : 0;
190961
+ return /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190962
+ import_ui452.Tooltip,
190963
+ {
190964
+ open: hoveredLocale === locale.code,
190965
+ content: /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex min-w-[150px] flex-col gap-y-1 p-1", children: [
190966
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(import_ui452.Text, { size: "small", weight: "plus", children: locale.name }),
190967
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex items-center justify-between", children: [
190968
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex items-center gap-x-2", children: [
190969
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190970
+ "div",
190971
+ {
190972
+ className: "h-2 w-2 rounded-full",
190973
+ style: {
190974
+ backgroundColor: "var(--tag-blue-icon)",
190975
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)"
190976
+ }
190977
+ }
190978
+ ),
190979
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190980
+ import_ui452.Text,
190981
+ {
190982
+ size: "small",
190983
+ weight: "plus",
190984
+ className: "text-ui-fg-base",
190985
+ children: t5("translations.completion.translated")
190986
+ }
190987
+ )
190988
+ ] }),
190943
190989
  /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190944
- "div",
190990
+ import_ui452.Text,
190945
190991
  {
190946
- className: "h-2 w-2 rounded-full",
190947
- style: { backgroundColor: "var(--bg-interactive)" }
190992
+ size: "small",
190993
+ weight: "plus",
190994
+ className: "text-ui-fg-base",
190995
+ children: locale.translated
190948
190996
  }
190949
- ),
190997
+ )
190998
+ ] }),
190999
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex items-center justify-between", children: [
191000
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex items-center gap-x-2", children: [
191001
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191002
+ "div",
191003
+ {
191004
+ className: "h-2 w-2 rounded-full",
191005
+ style: {
191006
+ backgroundColor: "var(--tag-blue-border)",
191007
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)"
191008
+ }
191009
+ }
191010
+ ),
191011
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191012
+ import_ui452.Text,
191013
+ {
191014
+ size: "small",
191015
+ weight: "plus",
191016
+ className: "text-ui-fg-base",
191017
+ children: t5("translations.completion.toTranslate")
191018
+ }
191019
+ )
191020
+ ] }),
190950
191021
  /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190951
191022
  import_ui452.Text,
190952
191023
  {
190953
191024
  size: "small",
190954
191025
  weight: "plus",
190955
- className: "text-ui-fg-subtle",
190956
- children: t5("translations.completion.translated")
191026
+ className: "text-ui-fg-base",
191027
+ children: locale.toTranslate
190957
191028
  }
190958
191029
  )
190959
- ] }),
190960
- /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(import_ui452.Text, { size: "small", weight: "plus", children: locale.translated })
191030
+ ] })
190961
191031
  ] }),
190962
- /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)("div", { className: "flex items-center gap-x-2", children: [
190963
- /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190964
- "div",
190965
- {
190966
- className: "h-2 w-2 rounded-full",
190967
- style: {
190968
- backgroundColor: "var(--bg-interactive)",
190969
- opacity: 0.3
190970
- }
190971
- }
190972
- ),
190973
- /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190974
- import_ui452.Text,
190975
- {
190976
- size: "small",
190977
- weight: "plus",
190978
- className: "text-ui-fg-subtle",
190979
- children: t5("translations.completion.toTranslate")
190980
- }
190981
- ),
190982
- /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(import_ui452.Text, { size: "small", weight: "plus", children: locale.toTranslate })
190983
- ] })
190984
- ] }),
190985
- children: /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)(
190986
- "div",
190987
- {
190988
- className: "flex min-w-2 flex-1 flex-col justify-end overflow-hidden rounded-t-sm transition-opacity",
190989
- style: { height: `${heightPercent}%` },
190990
- onMouseEnter: () => setHoveredLocale(locale.code),
190991
- onMouseLeave: () => setHoveredLocale(null),
190992
- children: [
190993
- /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191032
+ children: /* @__PURE__ */ (0, import_jsx_runtime688.jsx)("div", { className: "flex h-full flex-1 items-end justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191033
+ "div",
191034
+ {
191035
+ className: "flex w-full min-w-2 max-w-[96px] flex-col justify-end overflow-hidden rounded-t-sm transition-opacity",
191036
+ style: { height: `${heightPercent}%` },
191037
+ onMouseEnter: () => setHoveredLocale(locale.code),
191038
+ onMouseLeave: () => setHoveredLocale(null),
191039
+ children: translatedPercent === 0 ? /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
190994
191040
  "div",
190995
191041
  {
190996
- className: "w-full rounded-t-sm",
191042
+ className: "w-full rounded-sm",
190997
191043
  style: {
190998
- height: `${100 - translatedPercent}%`,
190999
- backgroundColor: "var(--bg-interactive)",
191000
- opacity: 0.3,
191001
- minHeight: locale.toTranslate > 0 ? "2px" : "0"
191044
+ height: "100%",
191045
+ backgroundColor: "var(--tag-neutral-bg)",
191046
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)"
191002
191047
  }
191003
191048
  }
191004
- ),
191005
- translatedPercent > 0 && /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191006
- "div",
191007
- {
191008
- className: "mt-0.5 w-full rounded-sm",
191009
- style: {
191010
- height: `${translatedPercent}%`,
191011
- backgroundColor: "var(--bg-interactive)",
191012
- minHeight: locale.translated > 0 ? "2px" : "0"
191049
+ ) : /* @__PURE__ */ (0, import_jsx_runtime688.jsxs)(import_jsx_runtime688.Fragment, { children: [
191050
+ /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191051
+ "div",
191052
+ {
191053
+ className: "w-full rounded-sm",
191054
+ style: {
191055
+ height: `${100 - translatedPercent}%`,
191056
+ backgroundColor: "var(--tag-blue-border)",
191057
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)",
191058
+ minHeight: locale.toTranslate > 0 ? "2px" : "0"
191059
+ }
191013
191060
  }
191014
- }
191015
- )
191016
- ]
191061
+ ),
191062
+ translatedPercent > 0 && /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191063
+ "div",
191064
+ {
191065
+ className: "mt-0.5 w-full rounded-sm",
191066
+ style: {
191067
+ height: `${translatedPercent}%`,
191068
+ backgroundColor: "var(--tag-blue-icon)",
191069
+ boxShadow: "inset 0 0 0 0.5px var(--alpha-250)",
191070
+ minHeight: locale.translated > 0 ? "2px" : "0"
191071
+ }
191072
+ }
191073
+ )
191074
+ ] })
191075
+ }
191076
+ ) })
191077
+ },
191078
+ locale.code
191079
+ );
191080
+ }) }),
191081
+ localeStatsCount < 9 && /* @__PURE__ */ (0, import_jsx_runtime688.jsx)("div", { className: "flex w-full gap-1", children: localeStats.map((locale) => /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191082
+ "div",
191083
+ {
191084
+ className: "flex flex-1 items-center justify-center",
191085
+ children: /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191086
+ import_ui452.Text,
191087
+ {
191088
+ size: "xsmall",
191089
+ weight: "plus",
191090
+ className: "text-ui-fg-subtle min-w-2 whitespace-normal break-words text-center leading-tight",
191091
+ children: localeStatsCount < 6 ? locale.name : locale.code
191017
191092
  }
191018
191093
  )
191019
191094
  },
191020
191095
  locale.code
191021
- );
191022
- }) }),
191023
- localeStatsCount < 9 && /* @__PURE__ */ (0, import_jsx_runtime688.jsx)("div", { className: "flex w-full gap-1", children: localeStats.map((locale) => /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191024
- import_ui452.Text,
191025
- {
191026
- size: "xsmall",
191027
- weight: "plus",
191028
- className: "text-ui-fg-subtle min-w-2 flex-1 whitespace-normal break-words text-center leading-tight",
191029
- children: localeStatsCount < 6 ? locale.name : locale.code
191030
- },
191031
- locale.code
191032
- )) }),
191033
- localeStatsCount > 9 && /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191034
- import_ui452.Text,
191035
- {
191036
- weight: "plus",
191037
- size: "xsmall",
191038
- className: "text-ui-fg-subtle text-center",
191039
- children: t5("translations.completion.footer")
191040
- }
191041
- )
191096
+ )) }),
191097
+ localeStatsCount > 9 && /* @__PURE__ */ (0, import_jsx_runtime688.jsx)(
191098
+ import_ui452.Text,
191099
+ {
191100
+ weight: "plus",
191101
+ size: "xsmall",
191102
+ className: "text-ui-fg-subtle text-center",
191103
+ children: t5("translations.completion.footer")
191104
+ }
191105
+ )
191106
+ ] })
191042
191107
  ] })
191043
191108
  ] });
191044
191109
  };
@@ -191831,15 +191896,55 @@ var init_translations_edit2 = __esm({
191831
191896
  }
191832
191897
  });
191833
191898
 
191899
+ // src/routes/translations/add-locales/add-locales.tsx
191900
+ var import_react_router_dom248, import_jsx_runtime692, TranslationsAddLocales;
191901
+ var init_add_locales = __esm({
191902
+ "src/routes/translations/add-locales/add-locales.tsx"() {
191903
+ "use strict";
191904
+ init_route_focus_modal2();
191905
+ init_api();
191906
+ init_feature_flag_provider();
191907
+ import_react_router_dom248 = require("react-router-dom");
191908
+ init_add_locales_form();
191909
+ import_jsx_runtime692 = require("react/jsx-runtime");
191910
+ TranslationsAddLocales = () => {
191911
+ const isEnabled = useFeatureFlag("translation");
191912
+ const navigate = (0, import_react_router_dom248.useNavigate)();
191913
+ if (!isEnabled) {
191914
+ navigate(-1);
191915
+ return null;
191916
+ }
191917
+ const { store, isPending, isError, error } = useStore();
191918
+ const ready = !!store && !isPending;
191919
+ if (isError) {
191920
+ throw error;
191921
+ }
191922
+ return /* @__PURE__ */ (0, import_jsx_runtime692.jsx)(RouteFocusModal, { children: ready && /* @__PURE__ */ (0, import_jsx_runtime692.jsx)(AddLocalesForm, { store }) });
191923
+ };
191924
+ }
191925
+ });
191926
+
191927
+ // src/routes/translations/add-locales/index.tsx
191928
+ var add_locales_exports = {};
191929
+ __export(add_locales_exports, {
191930
+ Component: () => TranslationsAddLocales
191931
+ });
191932
+ var init_add_locales2 = __esm({
191933
+ "src/routes/translations/add-locales/index.tsx"() {
191934
+ "use strict";
191935
+ init_add_locales();
191936
+ }
191937
+ });
191938
+
191834
191939
  // src/components/common/logo-box/avatar-box.tsx
191835
191940
  function AvatarBox({ checked }) {
191836
- return /* @__PURE__ */ (0, import_jsx_runtime692.jsxs)(
191941
+ return /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)(
191837
191942
  IconAvatar,
191838
191943
  {
191839
191944
  size: "xlarge",
191840
191945
  className: "bg-ui-button-neutral shadow-buttons-neutral after:button-neutral-gradient relative mb-4 flex h-[50px] w-[50px] items-center justify-center rounded-xl after:inset-0 after:content-['']",
191841
191946
  children: [
191842
- checked && /* @__PURE__ */ (0, import_jsx_runtime692.jsx)(
191947
+ checked && /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
191843
191948
  import_react309.motion.div,
191844
191949
  {
191845
191950
  className: "absolute -right-[5px] -top-1 flex size-5 items-center justify-center rounded-full border-[0.5px] border-[rgba(3,7,18,0.2)] bg-[#3B82F6] bg-gradient-to-b from-white/0 to-white/20 shadow-[0px_1px_2px_0px_rgba(3,7,18,0.12),0px_1px_2px_0px_rgba(255,255,255,0.10)_inset,0px_-1px_5px_0px_rgba(255,255,255,0.10)_inset,0px_0px_0px_0px_rgba(3,7,18,0.06)_inset]",
@@ -191850,7 +191955,7 @@ function AvatarBox({ checked }) {
191850
191955
  delay: 0.8,
191851
191956
  ease: [0, 0.71, 0.2, 1.01]
191852
191957
  },
191853
- children: /* @__PURE__ */ (0, import_jsx_runtime692.jsx)(
191958
+ children: /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
191854
191959
  "svg",
191855
191960
  {
191856
191961
  xmlns: "http://www.w3.org/2000/svg",
@@ -191858,7 +191963,7 @@ function AvatarBox({ checked }) {
191858
191963
  height: "20",
191859
191964
  viewBox: "0 0 20 20",
191860
191965
  fill: "none",
191861
- children: /* @__PURE__ */ (0, import_jsx_runtime692.jsx)(
191966
+ children: /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
191862
191967
  import_react309.motion.path,
191863
191968
  {
191864
191969
  d: "M5.8335 10.4167L9.16683 13.75L14.1668 6.25",
@@ -191880,7 +191985,7 @@ function AvatarBox({ checked }) {
191880
191985
  )
191881
191986
  }
191882
191987
  ),
191883
- /* @__PURE__ */ (0, import_jsx_runtime692.jsxs)(
191988
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)(
191884
191989
  "svg",
191885
191990
  {
191886
191991
  className: "rounded-[10px]",
@@ -191888,8 +191993,8 @@ function AvatarBox({ checked }) {
191888
191993
  fill: "none",
191889
191994
  xmlns: "http://www.w3.org/2000/svg",
191890
191995
  children: [
191891
- /* @__PURE__ */ (0, import_jsx_runtime692.jsx)("rect", { width: "400", height: "400", fill: "#18181B" }),
191892
- /* @__PURE__ */ (0, import_jsx_runtime692.jsx)(
191996
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("rect", { width: "400", height: "400", fill: "#18181B" }),
191997
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
191893
191998
  "path",
191894
191999
  {
191895
192000
  d: "M238.088 51.1218L238.089 51.1223L310.605 92.8101C334.028 106.308 348.526 131.32 347.868 157.953L347.867 157.966V157.978V241.688C347.867 268.68 333.687 293.362 310.271 306.856L310.269 306.858L237.754 348.878C214.336 362.374 185.643 362.374 162.225 348.878L89.7127 306.859C66.6206 293.361 52.1113 268.674 52.1113 241.688V157.978C52.1113 131.326 66.6211 106.307 89.7088 92.8093C89.7101 92.8085 89.7114 92.8078 89.7127 92.807L162.556 51.1233L162.559 51.1218C185.977 37.6261 214.67 37.6261 238.088 51.1218ZM124.634 200C124.634 241.576 158.502 275.372 200.156 275.372C242.142 275.372 276.013 241.578 276.013 200C276.013 158.419 241.805 124.628 200.156 124.628C158.502 124.628 124.634 158.424 124.634 200Z",
@@ -191898,8 +192003,8 @@ function AvatarBox({ checked }) {
191898
192003
  strokeWidth: "2"
191899
192004
  }
191900
192005
  ),
191901
- /* @__PURE__ */ (0, import_jsx_runtime692.jsxs)("defs", { children: [
191902
- /* @__PURE__ */ (0, import_jsx_runtime692.jsxs)(
192006
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)("defs", { children: [
192007
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)(
191903
192008
  "linearGradient",
191904
192009
  {
191905
192010
  id: "paint0_linear_11869_12671",
@@ -191909,12 +192014,12 @@ function AvatarBox({ checked }) {
191909
192014
  y2: "360",
191910
192015
  gradientUnits: "userSpaceOnUse",
191911
192016
  children: [
191912
- /* @__PURE__ */ (0, import_jsx_runtime692.jsx)("stop", { stopColor: "white" }),
191913
- /* @__PURE__ */ (0, import_jsx_runtime692.jsx)("stop", { offset: "1", stopColor: "white", stopOpacity: "0.7" })
192017
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("stop", { stopColor: "white" }),
192018
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("stop", { offset: "1", stopColor: "white", stopOpacity: "0.7" })
191914
192019
  ]
191915
192020
  }
191916
192021
  ),
191917
- /* @__PURE__ */ (0, import_jsx_runtime692.jsxs)(
192022
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)(
191918
192023
  "linearGradient",
191919
192024
  {
191920
192025
  id: "paint1_linear_11869_12671",
@@ -191924,8 +192029,8 @@ function AvatarBox({ checked }) {
191924
192029
  y2: "360",
191925
192030
  gradientUnits: "userSpaceOnUse",
191926
192031
  children: [
191927
- /* @__PURE__ */ (0, import_jsx_runtime692.jsx)("stop", { stopColor: "white", stopOpacity: "0" }),
191928
- /* @__PURE__ */ (0, import_jsx_runtime692.jsx)("stop", { offset: "1", stopColor: "white", stopOpacity: "0.7" })
192032
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("stop", { stopColor: "white", stopOpacity: "0" }),
192033
+ /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("stop", { offset: "1", stopColor: "white", stopOpacity: "0.7" })
191929
192034
  ]
191930
192035
  }
191931
192036
  )
@@ -191937,18 +192042,18 @@ function AvatarBox({ checked }) {
191937
192042
  }
191938
192043
  );
191939
192044
  }
191940
- var import_react309, import_jsx_runtime692;
192045
+ var import_react309, import_jsx_runtime693;
191941
192046
  var init_avatar_box = __esm({
191942
192047
  "src/components/common/logo-box/avatar-box.tsx"() {
191943
192048
  "use strict";
191944
192049
  import_react309 = require("motion/react");
191945
192050
  init_icon_avatar2();
191946
- import_jsx_runtime692 = require("react/jsx-runtime");
192051
+ import_jsx_runtime693 = require("react/jsx-runtime");
191947
192052
  }
191948
192053
  });
191949
192054
 
191950
192055
  // src/routes/login/login.tsx
191951
- var import_zod168, import_ui455, import_react_hook_form146, import_react_i18next488, import_react_router_dom248, z64, import_jsx_runtime693, LoginSchema, Login;
192056
+ var import_zod168, import_ui455, import_react_hook_form146, import_react_i18next488, import_react_router_dom249, z64, import_jsx_runtime694, LoginSchema, Login;
191952
192057
  var init_login = __esm({
191953
192058
  "src/routes/login/login.tsx"() {
191954
192059
  "use strict";
@@ -191956,22 +192061,22 @@ var init_login = __esm({
191956
192061
  import_ui455 = require("@medusajs/ui");
191957
192062
  import_react_hook_form146 = require("react-hook-form");
191958
192063
  import_react_i18next488 = require("react-i18next");
191959
- import_react_router_dom248 = require("react-router-dom");
192064
+ import_react_router_dom249 = require("react-router-dom");
191960
192065
  z64 = __toESM(require("zod"));
191961
192066
  init_form2();
191962
192067
  init_avatar_box();
191963
192068
  init_api();
191964
192069
  init_is_fetch_error();
191965
192070
  init_extension_provider2();
191966
- import_jsx_runtime693 = require("react/jsx-runtime");
192071
+ import_jsx_runtime694 = require("react/jsx-runtime");
191967
192072
  LoginSchema = z64.object({
191968
192073
  email: z64.string().email(),
191969
192074
  password: z64.string()
191970
192075
  });
191971
192076
  Login = () => {
191972
192077
  const { t: t5 } = (0, import_react_i18next488.useTranslation)();
191973
- const location = (0, import_react_router_dom248.useLocation)();
191974
- const navigate = (0, import_react_router_dom248.useNavigate)();
192078
+ const location = (0, import_react_router_dom249.useLocation)();
192079
+ const navigate = (0, import_react_router_dom249.useNavigate)();
191975
192080
  const { getWidgets } = useExtension();
191976
192081
  const from = location.state?.from?.pathname || "/orders";
191977
192082
  const form = (0, import_react_hook_form146.useForm)({
@@ -192012,30 +192117,30 @@ var init_login = __esm({
192012
192117
  });
192013
192118
  const serverError = form.formState.errors?.root?.serverError?.message;
192014
192119
  const validationError = form.formState.errors.email?.message || form.formState.errors.password?.message;
192015
- return /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("div", { className: "bg-ui-bg-subtle flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)("div", { className: "m-4 flex w-full max-w-[280px] flex-col items-center", children: [
192016
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(AvatarBox, {}),
192017
- /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)("div", { className: "mb-4 flex flex-col items-center", children: [
192018
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(import_ui455.Heading, { children: t5("login.title") }),
192019
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(import_ui455.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("login.hint") })
192120
+ return /* @__PURE__ */ (0, import_jsx_runtime694.jsx)("div", { className: "bg-ui-bg-subtle flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime694.jsxs)("div", { className: "m-4 flex w-full max-w-[280px] flex-col items-center", children: [
192121
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(AvatarBox, {}),
192122
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsxs)("div", { className: "mb-4 flex flex-col items-center", children: [
192123
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(import_ui455.Heading, { children: t5("login.title") }),
192124
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(import_ui455.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("login.hint") })
192020
192125
  ] }),
192021
- /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)("div", { className: "flex w-full flex-col gap-y-3", children: [
192126
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsxs)("div", { className: "flex w-full flex-col gap-y-3", children: [
192022
192127
  getWidgets("login.before").map((Component5, i) => {
192023
- return /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(Component5, {}, i);
192128
+ return /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(Component5, {}, i);
192024
192129
  }),
192025
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)(
192130
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime694.jsxs)(
192026
192131
  "form",
192027
192132
  {
192028
192133
  onSubmit: handleSubmit,
192029
192134
  className: "flex w-full flex-col gap-y-6",
192030
192135
  children: [
192031
- /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)("div", { className: "flex flex-col gap-y-1", children: [
192032
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
192136
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsxs)("div", { className: "flex flex-col gap-y-1", children: [
192137
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192033
192138
  Form.Field,
192034
192139
  {
192035
192140
  control: form.control,
192036
192141
  name: "email",
192037
192142
  render: ({ field }) => {
192038
- return /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
192143
+ return /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192039
192144
  import_ui455.Input,
192040
192145
  {
192041
192146
  autoComplete: "email",
@@ -192047,15 +192152,15 @@ var init_login = __esm({
192047
192152
  }
192048
192153
  }
192049
192154
  ),
192050
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
192155
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192051
192156
  Form.Field,
192052
192157
  {
192053
192158
  control: form.control,
192054
192159
  name: "password",
192055
192160
  render: ({ field }) => {
192056
- return /* @__PURE__ */ (0, import_jsx_runtime693.jsxs)(Form.Item, { children: [
192057
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(Form.Label, {}),
192058
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
192161
+ return /* @__PURE__ */ (0, import_jsx_runtime694.jsxs)(Form.Item, { children: [
192162
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(Form.Label, {}),
192163
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192059
192164
  import_ui455.Input,
192060
192165
  {
192061
192166
  type: "password",
@@ -192070,8 +192175,8 @@ var init_login = __esm({
192070
192175
  }
192071
192176
  )
192072
192177
  ] }),
192073
- validationError && /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("div", { className: "text-center", children: /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(import_ui455.Hint, { className: "inline-flex", variant: "error", children: validationError }) }),
192074
- serverError && /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
192178
+ validationError && /* @__PURE__ */ (0, import_jsx_runtime694.jsx)("div", { className: "text-center", children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(import_ui455.Hint, { className: "inline-flex", variant: "error", children: validationError }) }),
192179
+ serverError && /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192075
192180
  import_ui455.Alert,
192076
192181
  {
192077
192182
  className: "bg-ui-bg-base items-center p-2",
@@ -192080,21 +192185,21 @@ var init_login = __esm({
192080
192185
  children: serverError
192081
192186
  }
192082
192187
  ),
192083
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(import_ui455.Button, { className: "w-full", type: "submit", isLoading: isPending, children: t5("actions.continueWithEmail") })
192188
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(import_ui455.Button, { className: "w-full", type: "submit", isLoading: isPending, children: t5("actions.continueWithEmail") })
192084
192189
  ]
192085
192190
  }
192086
192191
  ) }),
192087
192192
  getWidgets("login.after").map((Component5, i) => {
192088
- return /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(Component5, {}, i);
192193
+ return /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(Component5, {}, i);
192089
192194
  })
192090
192195
  ] }),
192091
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)("span", { className: "text-ui-fg-muted txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
192196
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)("span", { className: "text-ui-fg-muted txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192092
192197
  import_react_i18next488.Trans,
192093
192198
  {
192094
192199
  i18nKey: "login.forgotPassword",
192095
192200
  components: [
192096
- /* @__PURE__ */ (0, import_jsx_runtime693.jsx)(
192097
- import_react_router_dom248.Link,
192201
+ /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192202
+ import_react_router_dom249.Link,
192098
192203
  {
192099
192204
  to: "/reset-password",
192100
192205
  className: "text-ui-fg-interactive transition-fg hover:text-ui-fg-interactive-hover focus-visible:text-ui-fg-interactive-hover font-medium outline-none"
@@ -192122,13 +192227,13 @@ var init_login2 = __esm({
192122
192227
  });
192123
192228
 
192124
192229
  // src/components/common/logo-box/logo-box.tsx
192125
- var import_ui456, import_react310, import_jsx_runtime694, LogoBox;
192230
+ var import_ui456, import_react310, import_jsx_runtime695, LogoBox;
192126
192231
  var init_logo_box = __esm({
192127
192232
  "src/components/common/logo-box/logo-box.tsx"() {
192128
192233
  "use strict";
192129
192234
  import_ui456 = require("@medusajs/ui");
192130
192235
  import_react310 = require("motion/react");
192131
- import_jsx_runtime694 = require("react/jsx-runtime");
192236
+ import_jsx_runtime695 = require("react/jsx-runtime");
192132
192237
  LogoBox = ({
192133
192238
  className,
192134
192239
  checked,
@@ -192143,7 +192248,7 @@ var init_logo_box = __esm({
192143
192248
  ease: [0.1, 0.8, 0.2, 1.01]
192144
192249
  }
192145
192250
  }) => {
192146
- return /* @__PURE__ */ (0, import_jsx_runtime694.jsxs)(
192251
+ return /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)(
192147
192252
  "div",
192148
192253
  {
192149
192254
  className: (0, import_ui456.clx)(
@@ -192152,14 +192257,14 @@ var init_logo_box = __esm({
192152
192257
  className
192153
192258
  ),
192154
192259
  children: [
192155
- checked && /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192260
+ checked && /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192156
192261
  import_react310.motion.div,
192157
192262
  {
192158
192263
  className: "size-5 absolute -right-[5px] -top-1 flex items-center justify-center rounded-full border-[0.5px] border-[rgba(3,7,18,0.2)] bg-[#3B82F6] bg-gradient-to-b from-white/0 to-white/20 shadow-[0px_1px_2px_0px_rgba(3,7,18,0.12),0px_1px_2px_0px_rgba(255,255,255,0.10)_inset,0px_-1px_5px_0px_rgba(255,255,255,0.10)_inset,0px_0px_0px_0px_rgba(3,7,18,0.06)_inset]",
192159
192264
  initial: { opacity: 0, scale: 0.5 },
192160
192265
  animate: { opacity: 1, scale: 1 },
192161
192266
  transition: containerTransition,
192162
- children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192267
+ children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192163
192268
  "svg",
192164
192269
  {
192165
192270
  xmlns: "http://www.w3.org/2000/svg",
@@ -192167,7 +192272,7 @@ var init_logo_box = __esm({
192167
192272
  height: "20",
192168
192273
  viewBox: "0 0 20 20",
192169
192274
  fill: "none",
192170
- children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192275
+ children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192171
192276
  import_react310.motion.path,
192172
192277
  {
192173
192278
  d: "M5.8335 10.4167L9.16683 13.75L14.1668 6.25",
@@ -192184,7 +192289,7 @@ var init_logo_box = __esm({
192184
192289
  )
192185
192290
  }
192186
192291
  ),
192187
- /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192292
+ /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192188
192293
  "svg",
192189
192294
  {
192190
192295
  width: "36",
@@ -192192,7 +192297,7 @@ var init_logo_box = __esm({
192192
192297
  viewBox: "0 0 36 38",
192193
192298
  fill: "none",
192194
192299
  xmlns: "http://www.w3.org/2000/svg",
192195
- children: /* @__PURE__ */ (0, import_jsx_runtime694.jsx)(
192300
+ children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192196
192301
  "path",
192197
192302
  {
192198
192303
  d: "M30.85 6.16832L22.2453 1.21782C19.4299 -0.405941 15.9801 -0.405941 13.1648 1.21782L4.52043 6.16832C1.74473 7.79208 0 10.802 0 14.0099V23.9505C0 27.198 1.74473 30.1683 4.52043 31.7921L13.1251 36.7822C15.9405 38.4059 19.3903 38.4059 22.2056 36.7822L30.8103 31.7921C33.6257 30.1683 35.3307 27.198 35.3307 23.9505V14.0099C35.41 10.802 33.6653 7.79208 30.85 6.16832ZM17.6852 27.8317C12.8079 27.8317 8.8426 23.8713 8.8426 19C8.8426 14.1287 12.8079 10.1683 17.6852 10.1683C22.5625 10.1683 26.5674 14.1287 26.5674 19C26.5674 23.8713 22.6022 27.8317 17.6852 27.8317Z",
@@ -192218,7 +192323,7 @@ var init_logo_box2 = __esm({
192218
192323
  });
192219
192324
 
192220
192325
  // src/routes/reset-password/reset-password.tsx
192221
- var import_zod169, import_ui457, import_react_hook_form147, import_react_i18next489, import_react_router_dom249, z65, import_react311, import_react_jwt, import_jsx_runtime695, ResetPasswordInstructionsSchema, ResetPasswordSchema, ResetPasswordTokenSchema, validateDecodedResetPasswordToken, InvalidResetToken, ChooseNewPassword, ResetPassword;
192326
+ var import_zod169, import_ui457, import_react_hook_form147, import_react_i18next489, import_react_router_dom250, z65, import_react311, import_react_jwt, import_jsx_runtime696, ResetPasswordInstructionsSchema, ResetPasswordSchema, ResetPasswordTokenSchema, validateDecodedResetPasswordToken, InvalidResetToken, ChooseNewPassword, ResetPassword;
192222
192327
  var init_reset_password = __esm({
192223
192328
  "src/routes/reset-password/reset-password.tsx"() {
192224
192329
  "use strict";
@@ -192226,7 +192331,7 @@ var init_reset_password = __esm({
192226
192331
  import_ui457 = require("@medusajs/ui");
192227
192332
  import_react_hook_form147 = require("react-hook-form");
192228
192333
  import_react_i18next489 = require("react-i18next");
192229
- import_react_router_dom249 = require("react-router-dom");
192334
+ import_react_router_dom250 = require("react-router-dom");
192230
192335
  z65 = __toESM(require("zod"));
192231
192336
  import_react311 = require("react");
192232
192337
  import_react_jwt = require("react-jwt");
@@ -192234,7 +192339,7 @@ var init_reset_password = __esm({
192234
192339
  init_logo_box2();
192235
192340
  init_i18n2();
192236
192341
  init_auth();
192237
- import_jsx_runtime695 = require("react/jsx-runtime");
192342
+ import_jsx_runtime696 = require("react/jsx-runtime");
192238
192343
  ResetPasswordInstructionsSchema = z65.object({
192239
192344
  email: z65.string().email()
192240
192345
  });
@@ -192261,14 +192366,14 @@ var init_reset_password = __esm({
192261
192366
  };
192262
192367
  InvalidResetToken = () => {
192263
192368
  const { t: t5 } = (0, import_react_i18next489.useTranslation)();
192264
- const navigate = (0, import_react_router_dom249.useNavigate)();
192265
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("div", { className: "bg-ui-bg-base flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "m-4 flex w-full max-w-[300px] flex-col items-center", children: [
192266
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(LogoBox, { className: "mb-4" }),
192267
- /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "mb-6 flex flex-col items-center", children: [
192268
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Heading, { children: t5("resetPassword.invalidLinkTitle") }),
192269
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("resetPassword.invalidLinkHint") })
192369
+ const navigate = (0, import_react_router_dom250.useNavigate)();
192370
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "bg-ui-bg-base flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "m-4 flex w-full max-w-[300px] flex-col items-center", children: [
192371
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(LogoBox, { className: "mb-4" }),
192372
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "mb-6 flex flex-col items-center", children: [
192373
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Heading, { children: t5("resetPassword.invalidLinkTitle") }),
192374
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("resetPassword.invalidLinkHint") })
192270
192375
  ] }),
192271
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("div", { className: "flex w-full flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192376
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "flex w-full flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192272
192377
  import_ui457.Button,
192273
192378
  {
192274
192379
  onClick: () => navigate("/reset-password", { replace: true }),
@@ -192277,13 +192382,13 @@ var init_reset_password = __esm({
192277
192382
  children: t5("resetPassword.goToResetPassword")
192278
192383
  }
192279
192384
  ) }),
192280
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("span", { className: "txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192385
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("span", { className: "txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192281
192386
  import_react_i18next489.Trans,
192282
192387
  {
192283
192388
  i18nKey: "resetPassword.backToLogin",
192284
192389
  components: [
192285
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192286
- import_react_router_dom249.Link,
192390
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192391
+ import_react_router_dom250.Link,
192287
192392
  {
192288
192393
  to: "/login",
192289
192394
  className: "text-ui-fg-interactive transition-fg hover:text-ui-fg-interactive-hover focus-visible:text-ui-fg-interactive-hover outline-none"
@@ -192329,30 +192434,30 @@ var init_reset_password = __esm({
192329
192434
  );
192330
192435
  });
192331
192436
  if (!isValidResetPasswordToken) {
192332
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(InvalidResetToken, {});
192437
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(InvalidResetToken, {});
192333
192438
  }
192334
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("div", { className: "bg-ui-bg-subtle flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "m-4 flex w-full max-w-[280px] flex-col items-center", children: [
192335
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(LogoBox, { className: "mb-4" }),
192336
- /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "mb-6 flex flex-col items-center", children: [
192337
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Heading, { children: t5("resetPassword.resetPassword") }),
192338
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("resetPassword.newPasswordHint") })
192439
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "bg-ui-bg-subtle flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "m-4 flex w-full max-w-[280px] flex-col items-center", children: [
192440
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(LogoBox, { className: "mb-4" }),
192441
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "mb-6 flex flex-col items-center", children: [
192442
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Heading, { children: t5("resetPassword.resetPassword") }),
192443
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("resetPassword.newPasswordHint") })
192339
192444
  ] }),
192340
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("div", { className: "flex w-full flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)(
192445
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "flex w-full flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)(
192341
192446
  "form",
192342
192447
  {
192343
192448
  onSubmit: handleSubmit,
192344
192449
  className: "flex w-full flex-col gap-y-6",
192345
192450
  children: [
192346
- /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "flex flex-col gap-y-4", children: [
192347
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Input, { type: "email", disabled: true, value: invite?.entity_id }),
192348
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192451
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex flex-col gap-y-4", children: [
192452
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Input, { type: "email", disabled: true, value: invite?.entity_id }),
192453
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192349
192454
  Form.Field,
192350
192455
  {
192351
192456
  control: form.control,
192352
192457
  name: "password",
192353
192458
  render: ({ field }) => {
192354
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)(Form.Item, { children: [
192355
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192459
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)(Form.Item, { children: [
192460
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192356
192461
  import_ui457.Input,
192357
192462
  {
192358
192463
  autoComplete: "new-password",
@@ -192361,19 +192466,19 @@ var init_reset_password = __esm({
192361
192466
  placeholder: t5("resetPassword.newPassword")
192362
192467
  }
192363
192468
  ) }),
192364
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form.ErrorMessage, {})
192469
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.ErrorMessage, {})
192365
192470
  ] });
192366
192471
  }
192367
192472
  }
192368
192473
  ),
192369
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192474
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192370
192475
  Form.Field,
192371
192476
  {
192372
192477
  control: form.control,
192373
192478
  name: "repeat_password",
192374
192479
  render: ({ field }) => {
192375
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)(Form.Item, { children: [
192376
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192480
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)(Form.Item, { children: [
192481
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192377
192482
  import_ui457.Input,
192378
192483
  {
192379
192484
  autoComplete: "off",
@@ -192382,27 +192487,27 @@ var init_reset_password = __esm({
192382
192487
  placeholder: t5("resetPassword.repeatNewPassword")
192383
192488
  }
192384
192489
  ) }),
192385
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form.ErrorMessage, {})
192490
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.ErrorMessage, {})
192386
192491
  ] });
192387
192492
  }
192388
192493
  }
192389
192494
  )
192390
192495
  ] }),
192391
- showAlert && /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Alert, { dismissible: true, variant: "success", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "flex flex-col", children: [
192392
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("span", { className: "text-ui-fg-base mb-1", children: t5("resetPassword.successfulResetTitle") }),
192393
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("span", { children: t5("resetPassword.successfulReset") })
192496
+ showAlert && /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Alert, { dismissible: true, variant: "success", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex flex-col", children: [
192497
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("span", { className: "text-ui-fg-base mb-1", children: t5("resetPassword.successfulResetTitle") }),
192498
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("span", { children: t5("resetPassword.successfulReset") })
192394
192499
  ] }) }),
192395
- !showAlert && /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Button, { className: "w-full", type: "submit", isLoading: isPending, children: t5("resetPassword.resetPassword") })
192500
+ !showAlert && /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Button, { className: "w-full", type: "submit", isLoading: isPending, children: t5("resetPassword.resetPassword") })
192396
192501
  ]
192397
192502
  }
192398
192503
  ) }) }),
192399
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("span", { className: "txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192504
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("span", { className: "txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192400
192505
  import_react_i18next489.Trans,
192401
192506
  {
192402
192507
  i18nKey: "resetPassword.backToLogin",
192403
192508
  components: [
192404
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192405
- import_react_router_dom249.Link,
192509
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192510
+ import_react_router_dom250.Link,
192406
192511
  {
192407
192512
  to: "/login",
192408
192513
  className: "text-ui-fg-base transition-fg hover:text-ui-fg-base-hover focus-visible:text-ui-fg-base-hover outline-none"
@@ -192416,7 +192521,7 @@ var init_reset_password = __esm({
192416
192521
  };
192417
192522
  ResetPassword = () => {
192418
192523
  const { t: t5 } = (0, import_react_i18next489.useTranslation)();
192419
- const [searchParams] = (0, import_react_router_dom249.useSearchParams)();
192524
+ const [searchParams] = (0, import_react_router_dom250.useSearchParams)();
192420
192525
  const [showAlert, setShowAlert] = (0, import_react311.useState)(false);
192421
192526
  const token = searchParams.get("token");
192422
192527
  const form = (0, import_react_hook_form147.useForm)({
@@ -192443,28 +192548,28 @@ var init_reset_password = __esm({
192443
192548
  );
192444
192549
  });
192445
192550
  if (token) {
192446
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(ChooseNewPassword, { token });
192551
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(ChooseNewPassword, { token });
192447
192552
  }
192448
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("div", { className: "bg-ui-bg-base flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "m-4 flex w-full max-w-[300px] flex-col items-center", children: [
192449
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(LogoBox, { className: "mb-4" }),
192450
- /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "mb-4 flex flex-col items-center", children: [
192451
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Heading, { children: t5("resetPassword.resetPassword") }),
192452
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("resetPassword.hint") })
192553
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "bg-ui-bg-base flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "m-4 flex w-full max-w-[300px] flex-col items-center", children: [
192554
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(LogoBox, { className: "mb-4" }),
192555
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "mb-4 flex flex-col items-center", children: [
192556
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Heading, { children: t5("resetPassword.resetPassword") }),
192557
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("resetPassword.hint") })
192453
192558
  ] }),
192454
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("div", { className: "flex w-full flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)(
192559
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "flex w-full flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)(
192455
192560
  "form",
192456
192561
  {
192457
192562
  onSubmit: handleSubmit,
192458
192563
  className: "flex w-full flex-col gap-y-6",
192459
192564
  children: [
192460
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("div", { className: "mt-4 flex flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192565
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "mt-4 flex flex-col gap-y-3", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192461
192566
  Form.Field,
192462
192567
  {
192463
192568
  control: form.control,
192464
192569
  name: "email",
192465
192570
  render: ({ field }) => {
192466
- return /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)(Form.Item, { children: [
192467
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192571
+ return /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)(Form.Item, { children: [
192572
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192468
192573
  import_ui457.Input,
192469
192574
  {
192470
192575
  autoComplete: "email",
@@ -192472,26 +192577,26 @@ var init_reset_password = __esm({
192472
192577
  placeholder: t5("fields.email")
192473
192578
  }
192474
192579
  ) }),
192475
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(Form.ErrorMessage, {})
192580
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.ErrorMessage, {})
192476
192581
  ] });
192477
192582
  }
192478
192583
  }
192479
192584
  ) }),
192480
- showAlert && /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Alert, { dismissible: true, variant: "success", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsxs)("div", { className: "flex flex-col", children: [
192481
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("span", { className: "text-ui-fg-base mb-1", children: t5("resetPassword.successfulRequestTitle") }),
192482
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("span", { children: t5("resetPassword.successfulRequest") })
192585
+ showAlert && /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Alert, { dismissible: true, variant: "success", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex flex-col", children: [
192586
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("span", { className: "text-ui-fg-base mb-1", children: t5("resetPassword.successfulRequestTitle") }),
192587
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("span", { children: t5("resetPassword.successfulRequest") })
192483
192588
  ] }) }),
192484
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(import_ui457.Button, { className: "w-full", type: "submit", isLoading: isPending, children: t5("resetPassword.sendResetInstructions") })
192589
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui457.Button, { className: "w-full", type: "submit", isLoading: isPending, children: t5("resetPassword.sendResetInstructions") })
192485
192590
  ]
192486
192591
  }
192487
192592
  ) }) }),
192488
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)("span", { className: "txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192593
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("span", { className: "txt-small my-6", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192489
192594
  import_react_i18next489.Trans,
192490
192595
  {
192491
192596
  i18nKey: "resetPassword.backToLogin",
192492
192597
  components: [
192493
- /* @__PURE__ */ (0, import_jsx_runtime695.jsx)(
192494
- import_react_router_dom249.Link,
192598
+ /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192599
+ import_react_router_dom250.Link,
192495
192600
  {
192496
192601
  to: "/login",
192497
192602
  className: "text-ui-fg-base transition-fg hover:text-ui-fg-base-hover focus-visible:text-ui-fg-base-hover outline-none"
@@ -192519,7 +192624,7 @@ var init_reset_password2 = __esm({
192519
192624
  });
192520
192625
 
192521
192626
  // src/routes/invite/invite.tsx
192522
- var import_zod170, import_ui458, import_i18next8, import_react312, import_react313, import_react_hook_form148, import_react_i18next490, import_react_jwt2, import_react_router_dom250, z66, import_jsx_runtime696, CreateAccountSchema, Invite, LoginLink, InvalidView, CreateView, SuccessView, InviteSchema, validateDecodedInvite;
192627
+ var import_zod170, import_ui458, import_i18next8, import_react312, import_react313, import_react_hook_form148, import_react_i18next490, import_react_jwt2, import_react_router_dom251, z66, import_jsx_runtime697, CreateAccountSchema, Invite, LoginLink, InvalidView, CreateView, SuccessView, InviteSchema, validateDecodedInvite;
192523
192628
  var init_invite = __esm({
192524
192629
  "src/routes/invite/invite.tsx"() {
192525
192630
  "use strict";
@@ -192531,14 +192636,14 @@ var init_invite = __esm({
192531
192636
  import_react_hook_form148 = require("react-hook-form");
192532
192637
  import_react_i18next490 = require("react-i18next");
192533
192638
  import_react_jwt2 = require("react-jwt");
192534
- import_react_router_dom250 = require("react-router-dom");
192639
+ import_react_router_dom251 = require("react-router-dom");
192535
192640
  z66 = __toESM(require("zod"));
192536
192641
  init_form2();
192537
192642
  init_avatar_box();
192538
192643
  init_auth();
192539
192644
  init_invites();
192540
192645
  init_is_fetch_error();
192541
- import_jsx_runtime696 = require("react/jsx-runtime");
192646
+ import_jsx_runtime697 = require("react/jsx-runtime");
192542
192647
  CreateAccountSchema = z66.object({
192543
192648
  email: z66.string().email(),
192544
192649
  first_name: z66.string().min(1),
@@ -192555,14 +192660,14 @@ var init_invite = __esm({
192555
192660
  }
192556
192661
  });
192557
192662
  Invite = () => {
192558
- const [searchParams] = (0, import_react_router_dom250.useSearchParams)();
192663
+ const [searchParams] = (0, import_react_router_dom251.useSearchParams)();
192559
192664
  const [success, setSuccess] = (0, import_react313.useState)(false);
192560
192665
  const token = searchParams.get("token");
192561
192666
  const invite = token ? (0, import_react_jwt2.decodeToken)(token) : null;
192562
192667
  const isValidInvite = invite && validateDecodedInvite(invite);
192563
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "bg-ui-bg-subtle relative flex min-h-dvh w-dvw items-center justify-center p-4", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex w-full max-w-[360px] flex-col items-center", children: [
192564
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(AvatarBox, { checked: success }),
192565
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "max-h-[557px] w-full will-change-contents", children: isValidInvite ? /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_react312.AnimatePresence, { children: !success ? /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192668
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsx)("div", { className: "bg-ui-bg-subtle relative flex min-h-dvh w-dvw items-center justify-center p-4", children: /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex w-full max-w-[360px] flex-col items-center", children: [
192669
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(AvatarBox, { checked: success }),
192670
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)("div", { className: "max-h-[557px] w-full will-change-contents", children: isValidInvite ? /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_react312.AnimatePresence, { children: !success ? /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192566
192671
  import_react312.motion.div,
192567
192672
  {
192568
192673
  initial: false,
@@ -192580,7 +192685,7 @@ var init_invite = __esm({
192580
192685
  ease: [0, 0.71, 0.2, 1.01]
192581
192686
  },
192582
192687
  className: "w-full will-change-transform",
192583
- children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192688
+ children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192584
192689
  import_react312.motion.div,
192585
192690
  {
192586
192691
  initial: false,
@@ -192597,7 +192702,7 @@ var init_invite = __esm({
192597
192702
  delay: 0,
192598
192703
  ease: [0, 0.71, 0.2, 1.01]
192599
192704
  },
192600
- children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192705
+ children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192601
192706
  CreateView,
192602
192707
  {
192603
192708
  onSuccess: () => setSuccess(true),
@@ -192610,7 +192715,7 @@ var init_invite = __esm({
192610
192715
  )
192611
192716
  },
192612
192717
  "create-account"
192613
- ) : /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192718
+ ) : /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192614
192719
  import_react312.motion.div,
192615
192720
  {
192616
192721
  initial: {
@@ -192627,18 +192732,18 @@ var init_invite = __esm({
192627
192732
  ease: [0, 0.71, 0.2, 1.01]
192628
192733
  },
192629
192734
  className: "w-full",
192630
- children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(SuccessView, {})
192735
+ children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(SuccessView, {})
192631
192736
  },
192632
192737
  "success-view"
192633
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(InvalidView, {}) })
192738
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(InvalidView, {}) })
192634
192739
  ] }) });
192635
192740
  };
192636
192741
  LoginLink = () => {
192637
192742
  const { t: t5 } = (0, import_react_i18next490.useTranslation)();
192638
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex w-full flex-col items-center", children: [
192639
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "my-6 h-px w-full border-b border-dotted" }),
192640
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192641
- import_react_router_dom250.Link,
192743
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex w-full flex-col items-center", children: [
192744
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)("div", { className: "my-6 h-px w-full border-b border-dotted" }),
192745
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192746
+ import_react_router_dom251.Link,
192642
192747
  {
192643
192748
  to: "/login",
192644
192749
  className: "txt-small text-ui-fg-base transition-fg hover:text-ui-fg-base-hover focus-visible:text-ui-fg-base-hover font-medium outline-none",
@@ -192650,12 +192755,12 @@ var init_invite = __esm({
192650
192755
  };
192651
192756
  InvalidView = () => {
192652
192757
  const { t: t5 } = (0, import_react_i18next490.useTranslation)();
192653
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex flex-col items-center", children: [
192654
- /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex flex-col items-center gap-y-1", children: [
192655
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Heading, { children: t5("invite.invalidTokenTitle") }),
192656
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("invite.invalidTokenHint") })
192758
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex flex-col items-center", children: [
192759
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex flex-col items-center gap-y-1", children: [
192760
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Heading, { children: t5("invite.invalidTokenTitle") }),
192761
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("invite.invalidTokenHint") })
192657
192762
  ] }),
192658
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(LoginLink, {})
192763
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(LoginLink, {})
192659
192764
  ] });
192660
192765
  };
192661
192766
  CreateView = ({
@@ -192665,7 +192770,7 @@ var init_invite = __esm({
192665
192770
  }) => {
192666
192771
  const { t: t5 } = (0, import_react_i18next490.useTranslation)();
192667
192772
  const [invalid, setInvalid] = (0, import_react313.useState)(false);
192668
- const [params2] = (0, import_react_router_dom250.useSearchParams)();
192773
+ const [params2] = (0, import_react_router_dom251.useSearchParams)();
192669
192774
  const isFirstRun = params2.get("first_run") === "true";
192670
192775
  const form = (0, import_react_hook_form148.useForm)({
192671
192776
  resolver: (0, import_zod170.zodResolver)(CreateAccountSchema),
@@ -192713,20 +192818,20 @@ var init_invite = __esm({
192713
192818
  });
192714
192819
  const serverError = form.formState.errors.root?.message;
192715
192820
  const validationError = form.formState.errors.email?.message || form.formState.errors.password?.message || form.formState.errors.repeat_password?.message || form.formState.errors.first_name?.message || form.formState.errors.last_name?.message;
192716
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex w-full flex-col items-center", children: [
192717
- /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "mb-4 flex flex-col items-center", children: [
192718
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Heading, { children: t5("invite.title") }),
192719
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("invite.hint") })
192821
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex w-full flex-col items-center", children: [
192822
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "mb-4 flex flex-col items-center", children: [
192823
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Heading, { children: t5("invite.title") }),
192824
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("invite.hint") })
192720
192825
  ] }),
192721
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("form", { onSubmit: handleSubmit, className: "flex w-full flex-col gap-y-6", children: [
192722
- /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
192723
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192826
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form, { ...form, children: /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("form", { onSubmit: handleSubmit, className: "flex w-full flex-col gap-y-6", children: [
192827
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
192828
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192724
192829
  Form.Field,
192725
192830
  {
192726
192831
  control: form.control,
192727
192832
  name: "email",
192728
192833
  render: ({ field }) => {
192729
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192834
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192730
192835
  import_ui458.Input,
192731
192836
  {
192732
192837
  autoComplete: "off",
@@ -192738,13 +192843,13 @@ var init_invite = __esm({
192738
192843
  }
192739
192844
  }
192740
192845
  ),
192741
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192846
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192742
192847
  Form.Field,
192743
192848
  {
192744
192849
  control: form.control,
192745
192850
  name: "first_name",
192746
192851
  render: ({ field }) => {
192747
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192852
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192748
192853
  import_ui458.Input,
192749
192854
  {
192750
192855
  autoComplete: "given-name",
@@ -192756,13 +192861,13 @@ var init_invite = __esm({
192756
192861
  }
192757
192862
  }
192758
192863
  ),
192759
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192864
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192760
192865
  Form.Field,
192761
192866
  {
192762
192867
  control: form.control,
192763
192868
  name: "last_name",
192764
192869
  render: ({ field }) => {
192765
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192870
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192766
192871
  import_ui458.Input,
192767
192872
  {
192768
192873
  autoComplete: "family-name",
@@ -192774,13 +192879,13 @@ var init_invite = __esm({
192774
192879
  }
192775
192880
  }
192776
192881
  ),
192777
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192882
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192778
192883
  Form.Field,
192779
192884
  {
192780
192885
  control: form.control,
192781
192886
  name: "password",
192782
192887
  render: ({ field }) => {
192783
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192888
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192784
192889
  import_ui458.Input,
192785
192890
  {
192786
192891
  autoComplete: "new-password",
@@ -192793,13 +192898,13 @@ var init_invite = __esm({
192793
192898
  }
192794
192899
  }
192795
192900
  ),
192796
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192901
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192797
192902
  Form.Field,
192798
192903
  {
192799
192904
  control: form.control,
192800
192905
  name: "repeat_password",
192801
192906
  render: ({ field }) => {
192802
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192907
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192803
192908
  import_ui458.Input,
192804
192909
  {
192805
192910
  autoComplete: "off",
@@ -192812,8 +192917,8 @@ var init_invite = __esm({
192812
192917
  }
192813
192918
  }
192814
192919
  ),
192815
- validationError && /* @__PURE__ */ (0, import_jsx_runtime696.jsx)("div", { className: "mt-6 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Hint, { className: "inline-flex", variant: "error", children: validationError }) }),
192816
- serverError && /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192920
+ validationError && /* @__PURE__ */ (0, import_jsx_runtime697.jsx)("div", { className: "mt-6 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Hint, { className: "inline-flex", variant: "error", children: validationError }) }),
192921
+ serverError && /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192817
192922
  import_ui458.Alert,
192818
192923
  {
192819
192924
  className: "bg-ui-bg-base items-center p-2",
@@ -192823,7 +192928,7 @@ var init_invite = __esm({
192823
192928
  }
192824
192929
  )
192825
192930
  ] }),
192826
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192931
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192827
192932
  import_ui458.Button,
192828
192933
  {
192829
192934
  className: "w-full",
@@ -192834,19 +192939,19 @@ var init_invite = __esm({
192834
192939
  }
192835
192940
  )
192836
192941
  ] }) }),
192837
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(LoginLink, {})
192942
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(LoginLink, {})
192838
192943
  ] });
192839
192944
  };
192840
192945
  SuccessView = () => {
192841
192946
  const { t: t5 } = (0, import_react_i18next490.useTranslation)();
192842
- return /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex w-full flex-col items-center gap-y-6", children: [
192843
- /* @__PURE__ */ (0, import_jsx_runtime696.jsxs)("div", { className: "flex flex-col items-center gap-y-1", children: [
192844
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Heading, { className: "text-center", children: t5("invite.successTitle") }),
192845
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("invite.successHint") })
192947
+ return /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex w-full flex-col items-center gap-y-6", children: [
192948
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex flex-col items-center gap-y-1", children: [
192949
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Heading, { className: "text-center", children: t5("invite.successTitle") }),
192950
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t5("invite.successHint") })
192846
192951
  ] }),
192847
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_ui458.Button, { variant: "secondary", asChild: true, className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(import_react_router_dom250.Link, { to: "/login", replace: true, children: t5("invite.successAction") }) }),
192848
- /* @__PURE__ */ (0, import_jsx_runtime696.jsx)(
192849
- import_react_router_dom250.Link,
192952
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui458.Button, { variant: "secondary", asChild: true, className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_react_router_dom251.Link, { to: "/login", replace: true, children: t5("invite.successAction") }) }),
192953
+ /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
192954
+ import_react_router_dom251.Link,
192850
192955
  {
192851
192956
  to: "/login",
192852
192957
  className: "txt-small text-ui-fg-base transition-fg hover:text-ui-fg-base-hover focus-visible:text-ui-fg-base-hover font-medium outline-none",
@@ -192881,25 +192986,25 @@ var init_invite2 = __esm({
192881
192986
  });
192882
192987
 
192883
192988
  // src/routes/no-match/no-match.tsx
192884
- var import_icons175, import_ui459, import_react_i18next491, import_react_router_dom251, import_jsx_runtime697, NoMatch;
192989
+ var import_icons175, import_ui459, import_react_i18next491, import_react_router_dom252, import_jsx_runtime698, NoMatch;
192885
192990
  var init_no_match = __esm({
192886
192991
  "src/routes/no-match/no-match.tsx"() {
192887
192992
  "use strict";
192888
192993
  import_icons175 = require("@medusajs/icons");
192889
192994
  import_ui459 = require("@medusajs/ui");
192890
192995
  import_react_i18next491 = require("react-i18next");
192891
- import_react_router_dom251 = require("react-router-dom");
192892
- import_jsx_runtime697 = require("react/jsx-runtime");
192996
+ import_react_router_dom252 = require("react-router-dom");
192997
+ import_jsx_runtime698 = require("react/jsx-runtime");
192893
192998
  NoMatch = () => {
192894
192999
  const { t: t5 } = (0, import_react_i18next491.useTranslation)();
192895
193000
  const title = t5("errorBoundary.notFoundTitle");
192896
193001
  const message = t5("errorBoundary.noMatchMessage");
192897
- return /* @__PURE__ */ (0, import_jsx_runtime697.jsx)("div", { className: "flex size-full min-h-screen items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex flex-col items-center gap-y-6", children: [
192898
- /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
192899
- /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_icons175.ExclamationCircle, {}),
192900
- /* @__PURE__ */ (0, import_jsx_runtime697.jsxs)("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
192901
- /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui459.Text, { size: "small", leading: "compact", weight: "plus", children: title }),
192902
- /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(
193002
+ return /* @__PURE__ */ (0, import_jsx_runtime698.jsx)("div", { className: "flex size-full min-h-screen items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime698.jsxs)("div", { className: "flex flex-col items-center gap-y-6", children: [
193003
+ /* @__PURE__ */ (0, import_jsx_runtime698.jsxs)("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
193004
+ /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_icons175.ExclamationCircle, {}),
193005
+ /* @__PURE__ */ (0, import_jsx_runtime698.jsxs)("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
193006
+ /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_ui459.Text, { size: "small", leading: "compact", weight: "plus", children: title }),
193007
+ /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(
192903
193008
  import_ui459.Text,
192904
193009
  {
192905
193010
  size: "small",
@@ -192909,7 +193014,7 @@ var init_no_match = __esm({
192909
193014
  )
192910
193015
  ] })
192911
193016
  ] }),
192912
- /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_ui459.Button, { asChild: true, size: "small", variant: "secondary", children: /* @__PURE__ */ (0, import_jsx_runtime697.jsx)(import_react_router_dom251.Link, { to: "/", children: t5("errorBoundary.backToDashboard") }) })
193017
+ /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_ui459.Button, { asChild: true, size: "small", variant: "secondary", children: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Link, { to: "/", children: t5("errorBoundary.backToDashboard") }) })
192913
193018
  ] }) });
192914
193019
  };
192915
193020
  }
@@ -192934,20 +193039,20 @@ function getRouteMap({
192934
193039
  }) {
192935
193040
  return [
192936
193041
  {
192937
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ProtectedRoute, {}),
192938
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193042
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ProtectedRoute, {}),
193043
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
192939
193044
  children: [
192940
193045
  {
192941
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(MainLayout, {}),
193046
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(MainLayout, {}),
192942
193047
  children: [
192943
193048
  {
192944
193049
  path: "/",
192945
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193050
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
192946
193051
  lazy: () => Promise.resolve().then(() => (init_home2(), home_exports))
192947
193052
  },
192948
193053
  {
192949
193054
  path: "/products",
192950
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193055
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
192951
193056
  handle: {
192952
193057
  breadcrumb: () => (0, import_i18next9.t)("products.domain")
192953
193058
  },
@@ -192972,14 +193077,14 @@ function getRouteMap({
192972
193077
  },
192973
193078
  {
192974
193079
  path: ":id",
192975
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193080
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
192976
193081
  lazy: async () => {
192977
193082
  const { Breadcrumb, loader } = await Promise.resolve().then(() => (init_product_detail2(), product_detail_exports));
192978
193083
  return {
192979
- Component: import_react_router_dom252.Outlet,
193084
+ Component: import_react_router_dom253.Outlet,
192980
193085
  loader,
192981
193086
  handle: {
192982
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193087
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
192983
193088
  }
192984
193089
  };
192985
193090
  },
@@ -193054,7 +193159,7 @@ function getRouteMap({
193054
193159
  Component: Component5,
193055
193160
  loader,
193056
193161
  handle: {
193057
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193162
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193058
193163
  }
193059
193164
  };
193060
193165
  },
@@ -193087,7 +193192,7 @@ function getRouteMap({
193087
193192
  },
193088
193193
  {
193089
193194
  path: "/categories",
193090
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193195
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193091
193196
  handle: {
193092
193197
  breadcrumb: () => (0, import_i18next9.t)("categories.domain")
193093
193198
  },
@@ -193114,7 +193219,7 @@ function getRouteMap({
193114
193219
  Component: Component5,
193115
193220
  loader,
193116
193221
  handle: {
193117
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193222
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193118
193223
  }
193119
193224
  };
193120
193225
  },
@@ -193141,7 +193246,7 @@ function getRouteMap({
193141
193246
  },
193142
193247
  {
193143
193248
  path: "/orders",
193144
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193249
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193145
193250
  handle: {
193146
193251
  breadcrumb: () => (0, import_i18next9.t)("orders.domain")
193147
193252
  },
@@ -193164,7 +193269,7 @@ function getRouteMap({
193164
193269
  Component: Component5,
193165
193270
  loader,
193166
193271
  handle: {
193167
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193272
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193168
193273
  }
193169
193274
  };
193170
193275
  },
@@ -193231,7 +193336,7 @@ function getRouteMap({
193231
193336
  },
193232
193337
  {
193233
193338
  path: "/promotions",
193234
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193339
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193235
193340
  handle: {
193236
193341
  breadcrumb: () => (0, import_i18next9.t)("promotions.domain")
193237
193342
  },
@@ -193252,7 +193357,7 @@ function getRouteMap({
193252
193357
  Component: Component5,
193253
193358
  loader,
193254
193359
  handle: {
193255
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193360
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193256
193361
  }
193257
193362
  };
193258
193363
  },
@@ -193275,7 +193380,7 @@ function getRouteMap({
193275
193380
  },
193276
193381
  {
193277
193382
  path: "/campaigns",
193278
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193383
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193279
193384
  handle: {
193280
193385
  breadcrumb: () => (0, import_i18next9.t)("campaigns.domain")
193281
193386
  },
@@ -193297,7 +193402,7 @@ function getRouteMap({
193297
193402
  Component: Component5,
193298
193403
  loader,
193299
193404
  handle: {
193300
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193405
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193301
193406
  }
193302
193407
  };
193303
193408
  },
@@ -193324,7 +193429,7 @@ function getRouteMap({
193324
193429
  },
193325
193430
  {
193326
193431
  path: "/collections",
193327
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193432
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193328
193433
  handle: {
193329
193434
  breadcrumb: () => (0, import_i18next9.t)("collections.domain")
193330
193435
  },
@@ -193347,7 +193452,7 @@ function getRouteMap({
193347
193452
  Component: Component5,
193348
193453
  loader,
193349
193454
  handle: {
193350
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193455
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193351
193456
  }
193352
193457
  };
193353
193458
  },
@@ -193370,7 +193475,7 @@ function getRouteMap({
193370
193475
  },
193371
193476
  {
193372
193477
  path: "/price-lists",
193373
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193478
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193374
193479
  handle: {
193375
193480
  breadcrumb: () => (0, import_i18next9.t)("priceLists.domain")
193376
193481
  },
@@ -193393,7 +193498,7 @@ function getRouteMap({
193393
193498
  Component: Component5,
193394
193499
  loader,
193395
193500
  handle: {
193396
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193501
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193397
193502
  }
193398
193503
  };
193399
193504
  },
@@ -193420,7 +193525,7 @@ function getRouteMap({
193420
193525
  },
193421
193526
  {
193422
193527
  path: "/customers",
193423
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193528
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193424
193529
  handle: {
193425
193530
  breadcrumb: () => (0, import_i18next9.t)("customers.domain")
193426
193531
  },
@@ -193443,7 +193548,7 @@ function getRouteMap({
193443
193548
  Component: Component5,
193444
193549
  loader,
193445
193550
  handle: {
193446
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193551
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193447
193552
  }
193448
193553
  };
193449
193554
  },
@@ -193474,7 +193579,7 @@ function getRouteMap({
193474
193579
  },
193475
193580
  {
193476
193581
  path: "/customer-groups",
193477
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193582
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193478
193583
  handle: {
193479
193584
  breadcrumb: () => (0, import_i18next9.t)("customerGroups.domain")
193480
193585
  },
@@ -193497,7 +193602,7 @@ function getRouteMap({
193497
193602
  Component: Component5,
193498
193603
  loader,
193499
193604
  handle: {
193500
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193605
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193501
193606
  }
193502
193607
  };
193503
193608
  },
@@ -193520,7 +193625,7 @@ function getRouteMap({
193520
193625
  },
193521
193626
  {
193522
193627
  path: "/reservations",
193523
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193628
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193524
193629
  handle: {
193525
193630
  breadcrumb: () => (0, import_i18next9.t)("reservations.domain")
193526
193631
  },
@@ -193543,7 +193648,7 @@ function getRouteMap({
193543
193648
  Component: Component5,
193544
193649
  loader,
193545
193650
  handle: {
193546
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193651
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193547
193652
  }
193548
193653
  };
193549
193654
  },
@@ -193562,7 +193667,7 @@ function getRouteMap({
193562
193667
  },
193563
193668
  {
193564
193669
  path: "/inventory",
193565
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193670
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193566
193671
  handle: {
193567
193672
  breadcrumb: () => (0, import_i18next9.t)("inventory.domain")
193568
193673
  },
@@ -193589,7 +193694,7 @@ function getRouteMap({
193589
193694
  Component: Component5,
193590
193695
  loader,
193591
193696
  handle: {
193592
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193697
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193593
193698
  }
193594
193699
  };
193595
193700
  },
@@ -193624,24 +193729,24 @@ function getRouteMap({
193624
193729
  ]
193625
193730
  },
193626
193731
  {
193627
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ProtectedRoute, {}),
193628
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193732
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ProtectedRoute, {}),
193733
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193629
193734
  children: [
193630
193735
  {
193631
193736
  path: "/settings",
193632
193737
  handle: {
193633
193738
  breadcrumb: () => (0, import_i18next9.t)("app.nav.settings.header")
193634
193739
  },
193635
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(SettingsLayout, {}),
193740
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(SettingsLayout, {}),
193636
193741
  children: [
193637
193742
  {
193638
193743
  index: true,
193639
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193744
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193640
193745
  lazy: () => Promise.resolve().then(() => (init_settings2(), settings_exports))
193641
193746
  },
193642
193747
  {
193643
193748
  path: "profile",
193644
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193749
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193645
193750
  lazy: () => Promise.resolve().then(() => (init_profile_detail2(), profile_detail_exports)),
193646
193751
  handle: {
193647
193752
  breadcrumb: () => (0, import_i18next9.t)("profile.domain")
@@ -193655,8 +193760,8 @@ function getRouteMap({
193655
193760
  },
193656
193761
  {
193657
193762
  path: "regions",
193658
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193659
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
193763
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193764
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
193660
193765
  handle: {
193661
193766
  breadcrumb: () => (0, import_i18next9.t)("regions.domain")
193662
193767
  },
@@ -193679,7 +193784,7 @@ function getRouteMap({
193679
193784
  Component: Component5,
193680
193785
  loader,
193681
193786
  handle: {
193682
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193787
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193683
193788
  }
193684
193789
  };
193685
193790
  },
@@ -193702,7 +193807,7 @@ function getRouteMap({
193702
193807
  },
193703
193808
  {
193704
193809
  path: "store",
193705
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193810
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193706
193811
  lazy: () => Promise.resolve().then(() => (init_store_detail2(), store_detail_exports)),
193707
193812
  handle: {
193708
193813
  breadcrumb: () => (0, import_i18next9.t)("store.domain")
@@ -193728,8 +193833,8 @@ function getRouteMap({
193728
193833
  },
193729
193834
  {
193730
193835
  path: "users",
193731
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193732
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
193836
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193837
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
193733
193838
  handle: {
193734
193839
  breadcrumb: () => (0, import_i18next9.t)("users.domain")
193735
193840
  },
@@ -193752,7 +193857,7 @@ function getRouteMap({
193752
193857
  Component: Component5,
193753
193858
  loader,
193754
193859
  handle: {
193755
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193860
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193756
193861
  }
193757
193862
  };
193758
193863
  },
@@ -193771,8 +193876,8 @@ function getRouteMap({
193771
193876
  },
193772
193877
  {
193773
193878
  path: "sales-channels",
193774
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193775
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
193879
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193880
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
193776
193881
  handle: {
193777
193882
  breadcrumb: () => (0, import_i18next9.t)("salesChannels.domain")
193778
193883
  },
@@ -193795,7 +193900,7 @@ function getRouteMap({
193795
193900
  Component: Component5,
193796
193901
  loader,
193797
193902
  handle: {
193798
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193903
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193799
193904
  }
193800
193905
  };
193801
193906
  },
@@ -193818,8 +193923,8 @@ function getRouteMap({
193818
193923
  },
193819
193924
  {
193820
193925
  path: "locations",
193821
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193822
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
193926
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193927
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
193823
193928
  handle: {
193824
193929
  breadcrumb: () => (0, import_i18next9.t)("locations.domain")
193825
193930
  },
@@ -193834,7 +193939,7 @@ function getRouteMap({
193834
193939
  },
193835
193940
  {
193836
193941
  path: "shipping-profiles",
193837
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
193942
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
193838
193943
  handle: {
193839
193944
  breadcrumb: () => (0, import_i18next9.t)("shippingProfile.domain")
193840
193945
  },
@@ -193857,7 +193962,7 @@ function getRouteMap({
193857
193962
  Component: Component5,
193858
193963
  loader,
193859
193964
  handle: {
193860
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
193965
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193861
193966
  }
193862
193967
  };
193863
193968
  },
@@ -193872,8 +193977,8 @@ function getRouteMap({
193872
193977
  },
193873
193978
  {
193874
193979
  path: "shipping-option-types",
193875
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193876
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
193980
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
193981
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
193877
193982
  handle: {
193878
193983
  breadcrumb: () => (0, import_i18next9.t)("shippingOptionTypes.domain")
193879
193984
  },
@@ -193896,7 +194001,7 @@ function getRouteMap({
193896
194001
  Component: Component5,
193897
194002
  loader,
193898
194003
  handle: {
193899
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194004
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193900
194005
  }
193901
194006
  };
193902
194007
  },
@@ -193917,7 +194022,7 @@ function getRouteMap({
193917
194022
  Component: Component5,
193918
194023
  loader,
193919
194024
  handle: {
193920
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194025
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
193921
194026
  }
193922
194027
  };
193923
194028
  },
@@ -193984,8 +194089,8 @@ function getRouteMap({
193984
194089
  },
193985
194090
  {
193986
194091
  path: "product-tags",
193987
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
193988
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194092
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
194093
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
193989
194094
  handle: {
193990
194095
  breadcrumb: () => (0, import_i18next9.t)("productTags.domain")
193991
194096
  },
@@ -194008,7 +194113,7 @@ function getRouteMap({
194008
194113
  Component: Component5,
194009
194114
  loader,
194010
194115
  handle: {
194011
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194116
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
194012
194117
  }
194013
194118
  };
194014
194119
  },
@@ -194027,8 +194132,8 @@ function getRouteMap({
194027
194132
  },
194028
194133
  {
194029
194134
  path: "workflows",
194030
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
194031
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194135
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
194136
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194032
194137
  handle: {
194033
194138
  breadcrumb: () => (0, import_i18next9.t)("workflowExecutions.domain")
194034
194139
  },
@@ -194045,7 +194150,7 @@ function getRouteMap({
194045
194150
  Component: Component5,
194046
194151
  loader,
194047
194152
  handle: {
194048
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194153
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
194049
194154
  }
194050
194155
  };
194051
194156
  }
@@ -194054,8 +194159,8 @@ function getRouteMap({
194054
194159
  },
194055
194160
  {
194056
194161
  path: "product-types",
194057
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
194058
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194162
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
194163
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194059
194164
  handle: {
194060
194165
  breadcrumb: () => (0, import_i18next9.t)("productTypes.domain")
194061
194166
  },
@@ -194078,7 +194183,7 @@ function getRouteMap({
194078
194183
  Component: Component5,
194079
194184
  loader,
194080
194185
  handle: {
194081
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194186
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
194082
194187
  }
194083
194188
  };
194084
194189
  },
@@ -194097,14 +194202,14 @@ function getRouteMap({
194097
194202
  },
194098
194203
  {
194099
194204
  path: "publishable-api-keys",
194100
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194205
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194101
194206
  handle: {
194102
194207
  breadcrumb: () => (0, import_i18next9.t)("apiKeyManagement.domain.publishable")
194103
194208
  },
194104
194209
  children: [
194105
194210
  {
194106
194211
  path: "",
194107
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194212
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194108
194213
  children: [
194109
194214
  {
194110
194215
  path: "",
@@ -194126,7 +194231,7 @@ function getRouteMap({
194126
194231
  Component: Component5,
194127
194232
  loader,
194128
194233
  handle: {
194129
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194234
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
194130
194235
  }
194131
194236
  };
194132
194237
  },
@@ -194145,14 +194250,14 @@ function getRouteMap({
194145
194250
  },
194146
194251
  {
194147
194252
  path: "secret-api-keys",
194148
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194253
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194149
194254
  handle: {
194150
194255
  breadcrumb: () => (0, import_i18next9.t)("apiKeyManagement.domain.secret")
194151
194256
  },
194152
194257
  children: [
194153
194258
  {
194154
194259
  path: "",
194155
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194260
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194156
194261
  children: [
194157
194262
  {
194158
194263
  path: "",
@@ -194174,7 +194279,7 @@ function getRouteMap({
194174
194279
  Component: Component5,
194175
194280
  loader,
194176
194281
  handle: {
194177
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194282
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
194178
194283
  }
194179
194284
  };
194180
194285
  },
@@ -194189,7 +194294,7 @@ function getRouteMap({
194189
194294
  },
194190
194295
  {
194191
194296
  path: "tax-regions",
194192
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194297
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194193
194298
  handle: {
194194
194299
  breadcrumb: () => (0, import_i18next9.t)("taxRegions.domain")
194195
194300
  },
@@ -194206,10 +194311,10 @@ function getRouteMap({
194206
194311
  },
194207
194312
  {
194208
194313
  path: ":id",
194209
- Component: import_react_router_dom252.Outlet,
194314
+ Component: import_react_router_dom253.Outlet,
194210
194315
  loader: taxRegionLoader,
194211
194316
  handle: {
194212
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(TaxRegionDetailBreadcrumb, { ...match })
194317
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(TaxRegionDetailBreadcrumb, { ...match })
194213
194318
  },
194214
194319
  children: [
194215
194320
  {
@@ -194255,7 +194360,7 @@ function getRouteMap({
194255
194360
  Component: Component5,
194256
194361
  loader,
194257
194362
  handle: {
194258
- breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(Breadcrumb, { ...match })
194363
+ breadcrumb: (match) => /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Breadcrumb, { ...match })
194259
194364
  }
194260
194365
  };
194261
194366
  },
@@ -194284,7 +194389,7 @@ function getRouteMap({
194284
194389
  },
194285
194390
  {
194286
194391
  path: "return-reasons",
194287
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194392
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194288
194393
  handle: {
194289
194394
  breadcrumb: () => (0, import_i18next9.t)("returnReasons.domain")
194290
194395
  },
@@ -194312,7 +194417,7 @@ function getRouteMap({
194312
194417
  },
194313
194418
  {
194314
194419
  path: "refund-reasons",
194315
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(import_react_router_dom252.Outlet, {}),
194420
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.Outlet, {}),
194316
194421
  handle: {
194317
194422
  breadcrumb: () => (0, import_i18next9.t)("refundReasons.domain")
194318
194423
  },
@@ -194340,7 +194445,7 @@ function getRouteMap({
194340
194445
  },
194341
194446
  {
194342
194447
  path: "translations",
194343
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
194448
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
194344
194449
  handle: {
194345
194450
  breadcrumb: () => (0, import_i18next9.t)("translations.domain")
194346
194451
  },
@@ -194352,6 +194457,10 @@ function getRouteMap({
194352
194457
  {
194353
194458
  path: "edit",
194354
194459
  lazy: () => Promise.resolve().then(() => (init_translations_edit2(), translations_edit_exports))
194460
+ },
194461
+ {
194462
+ path: "add-locales",
194463
+ lazy: () => Promise.resolve().then(() => (init_add_locales2(), add_locales_exports))
194355
194464
  }
194356
194465
  ]
194357
194466
  },
@@ -194361,10 +194470,10 @@ function getRouteMap({
194361
194470
  ]
194362
194471
  },
194363
194472
  {
194364
- element: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(PublicLayout, {}),
194473
+ element: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(PublicLayout, {}),
194365
194474
  children: [
194366
194475
  {
194367
- errorElement: /* @__PURE__ */ (0, import_jsx_runtime698.jsx)(ErrorBoundary, {}),
194476
+ errorElement: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(ErrorBoundary, {}),
194368
194477
  children: [
194369
194478
  {
194370
194479
  path: "/login",
@@ -194388,12 +194497,12 @@ function getRouteMap({
194388
194497
  }
194389
194498
  ];
194390
194499
  }
194391
- var import_i18next9, import_react_router_dom252, import_jsx_runtime698;
194500
+ var import_i18next9, import_react_router_dom253, import_jsx_runtime699;
194392
194501
  var init_get_route_map = __esm({
194393
194502
  "src/dashboard-app/routes/get-route.map.tsx"() {
194394
194503
  "use strict";
194395
194504
  import_i18next9 = require("i18next");
194396
- import_react_router_dom252 = require("react-router-dom");
194505
+ import_react_router_dom253 = require("react-router-dom");
194397
194506
  init_protected_route2();
194398
194507
  init_main_layout2();
194399
194508
  init_public_layout2();
@@ -194401,7 +194510,7 @@ var init_get_route_map = __esm({
194401
194510
  init_error_boundary2();
194402
194511
  init_breadcrumb();
194403
194512
  init_loader();
194404
- import_jsx_runtime698 = require("react/jsx-runtime");
194513
+ import_jsx_runtime699 = require("react/jsx-runtime");
194405
194514
  }
194406
194515
  });
194407
194516
 
@@ -194565,18 +194674,18 @@ var init_sort_menu_items_by_rank = __esm({
194565
194674
  });
194566
194675
 
194567
194676
  // src/dashboard-app/dashboard-app.tsx
194568
- var import_admin_shared, import_react_router_dom253, import_jsx_runtime699, OPTIONAL_LAST_SEGMENT_MATCH, DashboardApp;
194677
+ var import_admin_shared, import_react_router_dom254, import_jsx_runtime700, OPTIONAL_LAST_SEGMENT_MATCH, DashboardApp;
194569
194678
  var init_dashboard_app = __esm({
194570
194679
  "src/dashboard-app/dashboard-app.tsx"() {
194571
194680
  "use strict";
194572
194681
  import_admin_shared = require("@medusajs/admin-shared");
194573
- import_react_router_dom253 = require("react-router-dom");
194682
+ import_react_router_dom254 = require("react-router-dom");
194574
194683
  init_providers2();
194575
194684
  init_translations();
194576
194685
  init_get_route_map();
194577
194686
  init_utils14();
194578
194687
  init_sort_menu_items_by_rank();
194579
- import_jsx_runtime699 = require("react/jsx-runtime");
194688
+ import_jsx_runtime700 = require("react/jsx-runtime");
194580
194689
  OPTIONAL_LAST_SEGMENT_MATCH = /\/([^\/])+\?$/;
194581
194690
  DashboardApp = class {
194582
194691
  constructor({ plugins }) {
@@ -194682,7 +194791,7 @@ var init_dashboard_app = __esm({
194682
194791
  const navItem = {
194683
194792
  label: item.label,
194684
194793
  to: item.path,
194685
- icon: item.icon ? /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(item.icon, {}) : void 0,
194794
+ icon: item.icon ? /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(item.icon, {}) : void 0,
194686
194795
  items: [],
194687
194796
  nested: item.nested,
194688
194797
  rank: item.rank,
@@ -194889,10 +194998,10 @@ var init_dashboard_app = __esm({
194889
194998
  settingsRoutes: this.settingsRoutes,
194890
194999
  coreRoutes: this.coreRoutes
194891
195000
  });
194892
- const router = (0, import_react_router_dom253.createBrowserRouter)(routes, {
195001
+ const router = (0, import_react_router_dom254.createBrowserRouter)(routes, {
194893
195002
  basename: __BASE__ || "/"
194894
195003
  });
194895
- return /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(Providers, { api: this.api, children: /* @__PURE__ */ (0, import_jsx_runtime699.jsx)(import_react_router_dom253.RouterProvider, { router }) });
195004
+ return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(Providers, { api: this.api, children: /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(import_react_router_dom254.RouterProvider, { router }) });
194896
195005
  }
194897
195006
  };
194898
195007
  }
@@ -194938,7 +195047,7 @@ function getFieldLabel(field) {
194938
195047
  }
194939
195048
  return field.name.split("_").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
194940
195049
  }
194941
- var import_ui460, import_react_i18next492, import_jsx_runtime700, FormExtensionZone, FormExtensionField, FormExtensionFieldComponent;
195050
+ var import_ui460, import_react_i18next492, import_jsx_runtime701, FormExtensionZone, FormExtensionField, FormExtensionFieldComponent;
194942
195051
  var init_form_extension_zone = __esm({
194943
195052
  "src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx"() {
194944
195053
  "use strict";
@@ -194946,9 +195055,9 @@ var init_form_extension_zone = __esm({
194946
195055
  import_react_i18next492 = require("react-i18next");
194947
195056
  init_form2();
194948
195057
  init_utils15();
194949
- import_jsx_runtime700 = require("react/jsx-runtime");
195058
+ import_jsx_runtime701 = require("react/jsx-runtime");
194950
195059
  FormExtensionZone = ({ fields, form }) => {
194951
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)("div", { children: fields.map((field, index) => /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(FormExtensionField, { field, form }, index)) });
195060
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)("div", { children: fields.map((field, index) => /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(FormExtensionField, { field, form }, index)) });
194952
195061
  };
194953
195062
  FormExtensionField = ({ field, form }) => {
194954
195063
  const label = getFieldLabel(field);
@@ -194957,16 +195066,16 @@ var init_form_extension_zone = __esm({
194957
195066
  const Component5 = field.Component;
194958
195067
  const type = getFieldType(field.validation);
194959
195068
  const { control } = form;
194960
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(
195069
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(
194961
195070
  Form.Field,
194962
195071
  {
194963
195072
  control,
194964
195073
  name: `additional_data.${field.name}`,
194965
195074
  render: ({ field: field2 }) => {
194966
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsxs)(Form.Item, { children: [
194967
- /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(Form.Label, { children: label }),
194968
- description && /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(Form.Hint, { children: description }),
194969
- /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(
195075
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsxs)(Form.Item, { children: [
195076
+ /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(Form.Label, { children: label }),
195077
+ description && /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(Form.Hint, { children: description }),
195078
+ /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(Form.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(
194970
195079
  FormExtensionFieldComponent,
194971
195080
  {
194972
195081
  field: field2,
@@ -194975,7 +195084,7 @@ var init_form_extension_zone = __esm({
194975
195084
  placeholder
194976
195085
  }
194977
195086
  ) }),
194978
- /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(Form.ErrorMessage, {})
195087
+ /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(Form.ErrorMessage, {})
194979
195088
  ] });
194980
195089
  }
194981
195090
  }
@@ -194990,20 +195099,20 @@ var init_form_extension_zone = __esm({
194990
195099
  const { t: t5 } = (0, import_react_i18next492.useTranslation)();
194991
195100
  if (component) {
194992
195101
  const Component5 = component;
194993
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(Component5, { ...field, placeholder });
195102
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(Component5, { ...field, placeholder });
194994
195103
  }
194995
195104
  switch (type) {
194996
195105
  case "text": {
194997
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(import_ui460.Input, { ...field, placeholder });
195106
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(import_ui460.Input, { ...field, placeholder });
194998
195107
  }
194999
195108
  case "number": {
195000
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(import_ui460.Input, { ...field, placeholder, type: "number" });
195109
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(import_ui460.Input, { ...field, placeholder, type: "number" });
195001
195110
  }
195002
195111
  case "boolean": {
195003
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(import_ui460.Switch, { className: "rtl:rotate-180", dir: "ltr", ...field });
195112
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(import_ui460.Switch, { className: "rtl:rotate-180", dir: "ltr", ...field });
195004
195113
  }
195005
195114
  default: {
195006
- return /* @__PURE__ */ (0, import_jsx_runtime700.jsx)(import_ui460.InlineTip, { variant: "warning", label: t5("general.warning"), children: "The field type does not support rendering a fallback component. Please provide a component prop." });
195115
+ return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)(import_ui460.InlineTip, { variant: "warning", label: t5("general.warning"), children: "The field type does not support rendering a fallback component. Please provide a component prop." });
195007
195116
  }
195008
195117
  }
195009
195118
  };
@@ -195070,7 +195179,7 @@ var import_i18n6 = __toESM(require("virtual:medusa/i18n"));
195070
195179
  var import_menu_items = __toESM(require("virtual:medusa/menu-items"));
195071
195180
  var import_routes = __toESM(require("virtual:medusa/routes"));
195072
195181
  var import_widgets = __toESM(require("virtual:medusa/widgets"));
195073
- var import_jsx_runtime701 = require("react/jsx-runtime");
195182
+ var import_jsx_runtime702 = require("react/jsx-runtime");
195074
195183
  var localPlugin = {
195075
195184
  widgetModule: import_widgets.default,
195076
195185
  routeModule: import_routes.default,
@@ -195083,6 +195192,6 @@ function App({ plugins = [] }) {
195083
195192
  const app = new DashboardApp({
195084
195193
  plugins: [localPlugin, ...plugins]
195085
195194
  });
195086
- return /* @__PURE__ */ (0, import_jsx_runtime701.jsx)("div", { children: app.render() });
195195
+ return /* @__PURE__ */ (0, import_jsx_runtime702.jsx)("div", { children: app.render() });
195087
195196
  }
195088
195197
  var app_default = App;