@anywayseo/tools 5.11.0 → 6.1.0
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.
- package/dist/components/game-demo/index.d.ts +2 -6
- package/dist/components/index.cjs +3 -3
- package/dist/components/index.mjs +3 -3
- package/dist/components/seo/href-langs/index.d.ts +8 -0
- package/dist/components/seo/index.d.ts +3 -2
- package/dist/components/seo/json-ld/index.d.ts +7 -0
- package/dist/components/seo/types.d.ts +4 -3
- package/dist/components/seo/utils.d.ts +1 -0
- package/dist/components/{strapi-component → strapi-content-renderer/strapi-component}/external-image/index.d.ts +1 -1
- package/dist/components/{strapi-component → strapi-content-renderer/strapi-component}/index.d.ts +1 -1
- package/dist/components/{strapi-component → strapi-content-renderer/strapi-component}/rich-text/index.d.ts +2 -1
- package/dist/components/{strapi-component → strapi-content-renderer/strapi-component}/utils.d.ts +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/i18n/index.cjs +24 -12
- package/dist/i18n/index.mjs +24 -12
- package/dist/i18n/resources/bn/index.d.ts +331 -0
- package/dist/i18n/resources/cs/index.d.ts +331 -0
- package/dist/i18n/resources/el/index.d.ts +331 -0
- package/dist/i18n/resources/hu/index.d.ts +331 -0
- package/dist/i18n/resources/nb/index.d.ts +331 -0
- package/dist/i18n/resources/nl/index.d.ts +331 -0
- package/dist/i18n/resources/pl/index.d.ts +331 -0
- package/dist/i18n/resources/ro/index.d.ts +331 -0
- package/dist/i18n/resources/sr/index.d.ts +331 -0
- package/dist/i18n/resources/sv/index.d.ts +331 -0
- package/dist/i18n/resources/tr/index.d.ts +331 -0
- package/dist/i18n/resources/uz/index.d.ts +331 -0
- package/dist/{index-DqMBmwe5.mjs → index-2sU4ya6z.mjs} +5 -6
- package/dist/{index-B6wLLS6t.mjs → index-B5WurBlm.mjs} +2 -2
- package/dist/{index-Ca9tsjT8.js → index-BAxlqkw0.js} +2 -2
- package/dist/{index-CG7F6SYt.mjs → index-BBU_vIrY.mjs} +68 -30
- package/dist/{index-C1kr7Vd-.mjs → index-BS5T9Il4.mjs} +1 -1
- package/dist/{index-RzByAgHO.mjs → index-C6A-3gBz.mjs} +4577 -432
- package/dist/{index-hGzNO4AL.js → index-C93pA9Jv.js} +69 -31
- package/dist/{index-C3n63_nP.js → index-CAjUjAgI.js} +1 -1
- package/dist/{index-CBRFCYhV.js → index-CMLDQbgR.js} +4577 -432
- package/dist/{index-DSP348cK.mjs → index-CQC6DRGf.mjs} +1 -1
- package/dist/index-CnVcCa5O.js +151 -0
- package/dist/index-CoNbTY7l.mjs +152 -0
- package/dist/{index-CVv755RW.js → index-CuIVcnIS.js} +1 -1
- package/dist/{index-DhhGhwm2.js → index-CxuOu0E2.js} +5 -6
- package/dist/{index-D-jM-cHx.js → index-DAPaiozu.js} +2 -2
- package/dist/index-MnQnVvsM.mjs +198 -0
- package/dist/index-P_fDAJVz.js +197 -0
- package/dist/{index-CPbWQKoT.mjs → index-TcBorTSf.mjs} +2 -2
- package/dist/index.cjs +20 -9
- package/dist/index.mjs +31 -20
- package/dist/layout/header/locale-switcher/icons/bangladesh/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/belgium/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/canada/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/czechia/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/greece/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/hungary/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/index.d.ts +20 -1
- package/dist/layout/header/locale-switcher/icons/india/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/morocco/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/netherlands/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/nigeria/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/norway/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/poland/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/romania/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/serbia/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/south-africa/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/sweden/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/switzerland/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/turkey/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/uzbekistan/index.d.ts +2 -0
- package/dist/layout/index.cjs +396 -52
- package/dist/layout/index.mjs +396 -52
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.mjs +2 -2
- package/dist/providers/site-provider/index.d.ts +2 -1
- package/dist/types/api/index.d.ts +2 -16
- package/dist/types/api/strapi-navigation.d.ts +16 -0
- package/dist/types/api/strapi-page.d.ts +46 -0
- package/dist/types/components/game-demo/index.d.ts +5 -0
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/content/seo/index.d.ts +38 -1
- package/dist/types/i18n/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/json-ld/index.d.ts +162 -0
- package/dist/types/site/index.d.ts +9 -4
- package/dist/utils/api/index.d.ts +4 -2
- package/dist/utils/api/strapi-guards.d.ts +5 -0
- package/dist/utils/api/strapi-navigation.d.ts +2 -0
- package/dist/utils/api/strapi-seo.d.ts +13 -0
- package/dist/utils/index.cjs +14 -3
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.mjs +25 -14
- package/dist/utils/json-ld/index.d.ts +70 -0
- package/dist/utils/navigation/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/strapi-content-renderer/utils.d.ts +0 -2
- package/dist/index-Ba_pXx_e.js +0 -97
- package/dist/index-BeJTy4iY.mjs +0 -26
- package/dist/index-BfITsKAr.js +0 -25
- package/dist/index-CJANSiM5.mjs +0 -98
- package/dist/types/components/strapi-component/index.d.ts +0 -5
- package/dist/types/page/index.d.ts +0 -7
package/dist/layout/index.mjs
CHANGED
|
@@ -2,17 +2,17 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { Box, Divider, AbsoluteCenter, useColorModeValue, Text, SimpleGrid, Flex, Menu, MenuButton, Button, HStack, Icon, MenuList, MenuItem, Popover, PopoverTrigger, PopoverContent, List, ListItem, Stack, Collapse, useDisclosure, IconButton, Heading } from "@chakra-ui/react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import "@mdx-js/react";
|
|
5
|
-
import { L as Link, a as useSiteContext, u as usePageContext } from "../index-
|
|
5
|
+
import { L as Link, a as useSiteContext, u as usePageContext } from "../index-B5WurBlm.mjs";
|
|
6
6
|
import "../index-BJRvnR8Q.mjs";
|
|
7
|
-
import "../index-
|
|
7
|
+
import "../index-C6A-3gBz.mjs";
|
|
8
8
|
import { ChevronDownIcon, ChevronRightIcon, CloseIcon, HamburgerIcon, ChevronUpIcon } from "@chakra-ui/icons";
|
|
9
9
|
import "react-medium-image-zoom";
|
|
10
10
|
import { useMemo, forwardRef, useState, useEffect } from "react";
|
|
11
|
-
import { a as Container, c as Logo, d as SocialNetworks, L as LinkButton } from "../index-
|
|
11
|
+
import { a as Container, c as Logo, d as SocialNetworks, L as LinkButton } from "../index-2sU4ya6z.mjs";
|
|
12
12
|
import "i18next";
|
|
13
13
|
import "react-markdown";
|
|
14
14
|
import { g as getCurrentYear } from "../index-BPthShL-.mjs";
|
|
15
|
-
import { b as buildPath } from "../index-
|
|
15
|
+
import { b as buildPath } from "../index-CQC6DRGf.mjs";
|
|
16
16
|
const Content = ({ children }) => {
|
|
17
17
|
return /* @__PURE__ */ jsx(Box, { as: "section", py: 4, children: /* @__PURE__ */ jsx(Container, { children }) });
|
|
18
18
|
};
|
|
@@ -23,11 +23,11 @@ const Brand$1 = ({ brand }) => {
|
|
|
23
23
|
] });
|
|
24
24
|
};
|
|
25
25
|
const Copyright = () => {
|
|
26
|
-
const { metadata } = useSiteContext();
|
|
26
|
+
const { metadata, localization } = useSiteContext();
|
|
27
27
|
const { t } = useTranslation("footer");
|
|
28
28
|
const siteName = metadata.name;
|
|
29
|
-
const
|
|
30
|
-
return /* @__PURE__ */ jsx(Text, { as: "small", colorScheme: "gray", display: "flex", align: "center", justifyContent: "center", children: t("copyright", { year: getCurrentYear(
|
|
29
|
+
const defaultLocale = localization.defaultLocale.code;
|
|
30
|
+
return /* @__PURE__ */ jsx(Text, { as: "small", colorScheme: "gray", display: "flex", align: "center", justifyContent: "center", children: t("copyright", { year: getCurrentYear(defaultLocale), siteName }) });
|
|
31
31
|
};
|
|
32
32
|
const Disclaimer = () => {
|
|
33
33
|
const { metadata } = useSiteContext();
|
|
@@ -114,6 +114,25 @@ const ArgentinaIcon = (props) => {
|
|
|
114
114
|
] })
|
|
115
115
|
] });
|
|
116
116
|
};
|
|
117
|
+
const BangladeshIcon = (props) => {
|
|
118
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
119
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsBd0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
120
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsBd0)", children: [
|
|
121
|
+
/* @__PURE__ */ jsx("path", { fill: "#496e2d", d: "M0 0h512v512H0z" }),
|
|
122
|
+
/* @__PURE__ */ jsx("circle", { cx: "200.3", cy: "256", r: "111.3", fill: "#d80027" })
|
|
123
|
+
] })
|
|
124
|
+
] });
|
|
125
|
+
};
|
|
126
|
+
const BelgiumIcon = (props) => {
|
|
127
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
128
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsBe0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
129
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsBe0)", children: [
|
|
130
|
+
/* @__PURE__ */ jsx("path", { fill: "#333", d: "M0 0h167l38.2 252.6L167 512H0z" }),
|
|
131
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M345 0h167v512H345l-36.7-256z" }),
|
|
132
|
+
/* @__PURE__ */ jsx("path", { fill: "#ffda44", d: "M167 0h178v512H167z" })
|
|
133
|
+
] })
|
|
134
|
+
] });
|
|
135
|
+
};
|
|
117
136
|
const BoliviaIcon = (props) => {
|
|
118
137
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
119
138
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsBo0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -157,6 +176,22 @@ const BulgariaIcon = (props) => {
|
|
|
157
176
|
] })
|
|
158
177
|
] });
|
|
159
178
|
};
|
|
179
|
+
const CanadaIcon = (props) => {
|
|
180
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
181
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsCa0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
182
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsCa0)", children: [
|
|
183
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M0 0v512h144l112-64l112 64h144V0H368L256 64L144 0Z" }),
|
|
184
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M144 0h224v512H144Z" }),
|
|
185
|
+
/* @__PURE__ */ jsx(
|
|
186
|
+
"path",
|
|
187
|
+
{
|
|
188
|
+
fill: "#d80027",
|
|
189
|
+
d: "m301 289l44-22l-22-11v-22l-45 22l23-44h-23l-22-34l-22 33h-23l23 45l-45-22v22l-22 11l45 22l-12 23h45v33h22v-33h45z"
|
|
190
|
+
}
|
|
191
|
+
)
|
|
192
|
+
] })
|
|
193
|
+
] });
|
|
194
|
+
};
|
|
160
195
|
const ChileIcon = (props) => {
|
|
161
196
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
162
197
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsCl0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -193,6 +228,16 @@ const CostaRicaIcon = (props) => {
|
|
|
193
228
|
] })
|
|
194
229
|
] });
|
|
195
230
|
};
|
|
231
|
+
const CzechiaIcon = (props) => {
|
|
232
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
233
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsCz0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
234
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsCz0)", children: [
|
|
235
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M0 0h512v256l-265 45.2z" }),
|
|
236
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M210 256h302v256H0z" }),
|
|
237
|
+
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "M0 0v512l256-256z" })
|
|
238
|
+
] })
|
|
239
|
+
] });
|
|
240
|
+
};
|
|
196
241
|
const DenmarkIcon = (props) => {
|
|
197
242
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
198
243
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsDk0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -311,6 +356,27 @@ const GlobeIcon = (props) => {
|
|
|
311
356
|
}
|
|
312
357
|
) });
|
|
313
358
|
};
|
|
359
|
+
const GreeceIcon = (props) => {
|
|
360
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
361
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsGr0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
362
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsGr0)", children: [
|
|
363
|
+
/* @__PURE__ */ jsx(
|
|
364
|
+
"path",
|
|
365
|
+
{
|
|
366
|
+
fill: "#0052b4",
|
|
367
|
+
d: "M0 0h99l29 32l28-32h356v57l-32 28l32 29v57l-32 28l32 29v57l-32 28l32 28v57l-32 29l32 28v57H0v-57l32-28l-32-29v-56l32-29l-32-28V171l32-29l-32-28Z"
|
|
368
|
+
}
|
|
369
|
+
),
|
|
370
|
+
/* @__PURE__ */ jsx(
|
|
371
|
+
"path",
|
|
372
|
+
{
|
|
373
|
+
fill: "#eee",
|
|
374
|
+
d: "M99 0v114H0v57h99v114H0v57h512v-57H156V171h100v-57H156V0Zm157 57v57h256V57Zm0 114v57h256v-57ZM0 398v57h512v-57z"
|
|
375
|
+
}
|
|
376
|
+
)
|
|
377
|
+
] })
|
|
378
|
+
] });
|
|
379
|
+
};
|
|
314
380
|
const GuatemalaIcon = (props) => {
|
|
315
381
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
316
382
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsGt0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -369,6 +435,29 @@ const HondurasIcon = (props) => {
|
|
|
369
435
|
] })
|
|
370
436
|
] });
|
|
371
437
|
};
|
|
438
|
+
const HungaryIcon = (props) => {
|
|
439
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
440
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsHu0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
441
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsHu0)", children: [
|
|
442
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "m0 167l253.8-19.3L512 167v178l-254.9 32.3L0 345z" }),
|
|
443
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M0 0h512v167H0z" }),
|
|
444
|
+
/* @__PURE__ */ jsx("path", { fill: "#6da544", d: "M0 345h512v167H0z" })
|
|
445
|
+
] })
|
|
446
|
+
] });
|
|
447
|
+
};
|
|
448
|
+
const IndiaIcon = (props) => {
|
|
449
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
450
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsIn0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
451
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsIn0)", children: [
|
|
452
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "m0 160l256-32l256 32v192l-256 32L0 352z" }),
|
|
453
|
+
/* @__PURE__ */ jsx("path", { fill: "#ff9811", d: "M0 0h512v160H0Z" }),
|
|
454
|
+
/* @__PURE__ */ jsx("path", { fill: "#6da544", d: "M0 352h512v160H0Z" }),
|
|
455
|
+
/* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "72", fill: "#0052b4" }),
|
|
456
|
+
/* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "48", fill: "#eee" }),
|
|
457
|
+
/* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "24", fill: "#0052b4" })
|
|
458
|
+
] })
|
|
459
|
+
] });
|
|
460
|
+
};
|
|
372
461
|
const ItalyIcon = (props) => {
|
|
373
462
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
374
463
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsIt0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -420,6 +509,31 @@ const MexicoIcon = (props) => {
|
|
|
420
509
|
] })
|
|
421
510
|
] });
|
|
422
511
|
};
|
|
512
|
+
const MoroccoIcon = (props) => {
|
|
513
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
514
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsMa0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
515
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsMa0)", children: [
|
|
516
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M0 0h512v512H0z" }),
|
|
517
|
+
/* @__PURE__ */ jsx(
|
|
518
|
+
"path",
|
|
519
|
+
{
|
|
520
|
+
fill: "#496e2d",
|
|
521
|
+
d: "M407.3 210H291.7L256 100.3L220.3 210H104.7l93.5 68l-35.7 109.8L256 320l93.5 68l-35.7-110zm-183 59.5l12.2-37.1h39l12.1 37.1l-31.6 23l-31.6-23zm44-59.4h-24.6l12.3-37.9zm38.3 45.7l-7.7-23.4h39.9zM213 232.4l-7.7 23.4l-32.2-23.4zm-8.3 97.3l12.3-38l20 14.5zm70.1-23.4l20-14.5l12.3 37.9z"
|
|
522
|
+
}
|
|
523
|
+
)
|
|
524
|
+
] })
|
|
525
|
+
] });
|
|
526
|
+
};
|
|
527
|
+
const NetherlandsIcon = (props) => {
|
|
528
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
529
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsNl0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
530
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsNl0)", children: [
|
|
531
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "m0 167l253.8-19.3L512 167v178l-254.9 32.3L0 345z" }),
|
|
532
|
+
/* @__PURE__ */ jsx("path", { fill: "#a2001d", d: "M0 0h512v167H0z" }),
|
|
533
|
+
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "M0 345h512v167H0z" })
|
|
534
|
+
] })
|
|
535
|
+
] });
|
|
536
|
+
};
|
|
423
537
|
const NicaraguaIcon = (props) => {
|
|
424
538
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
425
539
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsNi0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -439,6 +553,37 @@ const NicaraguaIcon = (props) => {
|
|
|
439
553
|
] })
|
|
440
554
|
] });
|
|
441
555
|
};
|
|
556
|
+
const NigeriaIcon = (props) => {
|
|
557
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
558
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsNg0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
559
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsNg0)", children: [
|
|
560
|
+
/* @__PURE__ */ jsx("path", { fill: "#6da544", d: "M0 0v512h160l96-64l96 64h160V0H352l-96 64l-96-64Z" }),
|
|
561
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M160 0h192v512H160Z" })
|
|
562
|
+
] })
|
|
563
|
+
] });
|
|
564
|
+
};
|
|
565
|
+
const NorwayIcon = (props) => {
|
|
566
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
567
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsNo0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
568
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsNo0)", children: [
|
|
569
|
+
/* @__PURE__ */ jsx(
|
|
570
|
+
"path",
|
|
571
|
+
{
|
|
572
|
+
fill: "#d80027",
|
|
573
|
+
d: "M0 0h100.2l66.1 53.5L233.7 0H512v189.3L466.3 257l45.7 65.8V512H233.7l-68-50.7l-65.5 50.7H0V322.8l51.4-68.5l-51.4-65z"
|
|
574
|
+
}
|
|
575
|
+
),
|
|
576
|
+
/* @__PURE__ */ jsx(
|
|
577
|
+
"path",
|
|
578
|
+
{
|
|
579
|
+
fill: "#eee",
|
|
580
|
+
d: "M100.2 0v189.3H0v33.4l24.6 33L0 289.5v33.4h100.2V512h33.4l30.6-26.3l36.1 26.3h33.4V322.8H512v-33.4l-24.6-33.7l24.6-33v-33.4H233.7V0h-33.4l-33.8 25.3L133.6 0z"
|
|
581
|
+
}
|
|
582
|
+
),
|
|
583
|
+
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "M133.6 0v222.7H0v66.7h133.6V512h66.7V289.4H512v-66.7H200.3V0z" })
|
|
584
|
+
] })
|
|
585
|
+
] });
|
|
586
|
+
};
|
|
442
587
|
const PanamaIcon = (props) => {
|
|
443
588
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
444
589
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsPa0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -496,6 +641,35 @@ const PeruIcon = (props) => {
|
|
|
496
641
|
] })
|
|
497
642
|
] });
|
|
498
643
|
};
|
|
644
|
+
const PolandIcon = (props) => {
|
|
645
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
646
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsPl0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
647
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsPl0)", children: [
|
|
648
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "m0 256l256.4-44.3L512 256v256H0z" }),
|
|
649
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M0 0h512v256H0z" })
|
|
650
|
+
] })
|
|
651
|
+
] });
|
|
652
|
+
};
|
|
653
|
+
const RomaniaIcon = (props) => {
|
|
654
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
655
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsRo0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
656
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsRo0)", children: [
|
|
657
|
+
/* @__PURE__ */ jsx("path", { fill: "#ffda44", d: "M167 0h178l25.9 252.3L345 512H167l-29.8-253.4z" }),
|
|
658
|
+
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "M0 0h167v512H0z" }),
|
|
659
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M345 0h167v512H345z" })
|
|
660
|
+
] })
|
|
661
|
+
] });
|
|
662
|
+
};
|
|
663
|
+
const RussiaIcon = (props) => {
|
|
664
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
665
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsRu0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
666
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsRu0)", children: [
|
|
667
|
+
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "M512 170v172l-256 32L0 342V170l256-32z" }),
|
|
668
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M512 0v170H0V0Z" }),
|
|
669
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M512 342v170H0V342Z" })
|
|
670
|
+
] })
|
|
671
|
+
] });
|
|
672
|
+
};
|
|
499
673
|
const SalvadorIcon = (props) => {
|
|
500
674
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
501
675
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsSv0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -514,13 +688,41 @@ const SalvadorIcon = (props) => {
|
|
|
514
688
|
] })
|
|
515
689
|
] });
|
|
516
690
|
};
|
|
517
|
-
const
|
|
691
|
+
const SerbiaIcon = (props) => {
|
|
518
692
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
519
|
-
/* @__PURE__ */ jsx("mask", { id: "
|
|
520
|
-
/* @__PURE__ */ jsxs("g", { mask: "url(#
|
|
521
|
-
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "
|
|
522
|
-
/* @__PURE__ */ jsx("path", { fill: "#
|
|
523
|
-
/* @__PURE__ */ jsx("path", { fill: "#
|
|
693
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsRs0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
694
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsRs0)", children: [
|
|
695
|
+
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "m0 167l253.8-19.3L512 167v178l-254.9 32.3L0 345z" }),
|
|
696
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M0 0h512v167H0z" }),
|
|
697
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M0 345h512v167H0z" }),
|
|
698
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M66.2 144.7v127.7c0 72.6 94.9 95 94.9 95s94.9-22.4 94.9-95V144.7z" }),
|
|
699
|
+
/* @__PURE__ */ jsx(
|
|
700
|
+
"path",
|
|
701
|
+
{
|
|
702
|
+
fill: "#ffda44",
|
|
703
|
+
d: "M105.4 167h111.4v-44.6l-22.3 11.2l-33.4-33.4l-33.4 33.4l-22.3-11.2zm128.3 123.2l-72.3-72.4L89 290.2l23.7 23.6l48.7-48.7l48.7 48.7z"
|
|
704
|
+
}
|
|
705
|
+
),
|
|
706
|
+
/* @__PURE__ */ jsx(
|
|
707
|
+
"path",
|
|
708
|
+
{
|
|
709
|
+
fill: "#eee",
|
|
710
|
+
d: "M233.7 222.6H200a22.1 22.1 0 0 0 3-11.1a22.3 22.3 0 0 0-42-10.5a22.3 22.3 0 0 0-41.9 10.5a22.1 22.1 0 0 0 3 11.1H89a23 23 0 0 0 23 22.3h-.7c0 12.3 10 22.2 22.3 22.2c0 11 7.8 20 18.1 21.9l-17.5 39.6a72.1 72.1 0 0 0 27.2 5.3a72.1 72.1 0 0 0 27.2-5.3L171.1 289c10.3-2 18.1-11 18.1-21.9c12.3 0 22.3-10 22.3-22.2h-.8a23 23 0 0 0 23-22.3"
|
|
711
|
+
}
|
|
712
|
+
)
|
|
713
|
+
] })
|
|
714
|
+
] });
|
|
715
|
+
};
|
|
716
|
+
const SouthAfricaIcon = (props) => {
|
|
717
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
718
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsZa0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
719
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsZa0)", children: [
|
|
720
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "m0 0l192 256L0 512h47l465-189v-34l-32-33l32-33v-34L47 0Z" }),
|
|
721
|
+
/* @__PURE__ */ jsx("path", { fill: "#333", d: "M0 142v228l140-114z" }),
|
|
722
|
+
/* @__PURE__ */ jsx("path", { fill: "#ffda44", d: "M192 256L0 95v47l114 114L0 370v47z" }),
|
|
723
|
+
/* @__PURE__ */ jsx("path", { fill: "#6da544", d: "M512 223H223L0 0v94l161 162L0 418v94l223-223h289z" }),
|
|
724
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M512 0H47l189 189h276z" }),
|
|
725
|
+
/* @__PURE__ */ jsx("path", { fill: "#0052b4", d: "M512 512H47l189-189h276z" })
|
|
524
726
|
] })
|
|
525
727
|
] });
|
|
526
728
|
};
|
|
@@ -584,6 +786,42 @@ const SpainIcon = (props) => {
|
|
|
584
786
|
] })
|
|
585
787
|
] });
|
|
586
788
|
};
|
|
789
|
+
const SwedenIcon = (props) => {
|
|
790
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
791
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsSe0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
792
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsSe0)", children: [
|
|
793
|
+
/* @__PURE__ */ jsx(
|
|
794
|
+
"path",
|
|
795
|
+
{
|
|
796
|
+
fill: "#0052b4",
|
|
797
|
+
d: "M0 0h133.6l35.3 16.7L200.3 0H512v222.6l-22.6 31.7l22.6 35.1V512H200.3l-32-19.8l-34.7 19.8H0V289.4l22.1-33.3L0 222.6z"
|
|
798
|
+
}
|
|
799
|
+
),
|
|
800
|
+
/* @__PURE__ */ jsx("path", { fill: "#ffda44", d: "M133.6 0v222.6H0v66.8h133.6V512h66.7V289.4H512v-66.8H200.3V0z" })
|
|
801
|
+
] })
|
|
802
|
+
] });
|
|
803
|
+
};
|
|
804
|
+
const SwitzerlandIcon = (props) => {
|
|
805
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
806
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsCh0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
807
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsCh0)", children: [
|
|
808
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M0 0h512v512H0z" }),
|
|
809
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M389.6 211.5h-89v-89h-89.1v89h-89v89h89v89h89v-89h89z" })
|
|
810
|
+
] })
|
|
811
|
+
] });
|
|
812
|
+
};
|
|
813
|
+
const TurkeyIcon = (props) => {
|
|
814
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
815
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsTr0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
816
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsTr0)", children: [
|
|
817
|
+
/* @__PURE__ */ jsx("path", { fill: "#d80027", d: "M0 0h512v512H0z" }),
|
|
818
|
+
/* @__PURE__ */ jsxs("g", { fill: "#eee", children: [
|
|
819
|
+
/* @__PURE__ */ jsx("path", { d: "m350 182l33 46l54-18l-33 46l33 46l-54-18l-33 46v-57l-54-17l54-18z" }),
|
|
820
|
+
/* @__PURE__ */ jsx("path", { d: "M260 370a114 114 0 1 1 54-215a141 141 0 1 0 0 202c-17 9-35 13-54 13" })
|
|
821
|
+
] })
|
|
822
|
+
] })
|
|
823
|
+
] });
|
|
824
|
+
};
|
|
587
825
|
const UruguayIcon = (props) => {
|
|
588
826
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
589
827
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsUy0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -613,6 +851,30 @@ const UruguayIcon = (props) => {
|
|
|
613
851
|
] })
|
|
614
852
|
] });
|
|
615
853
|
};
|
|
854
|
+
const UzbekistanIcon = (props) => {
|
|
855
|
+
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
856
|
+
/* @__PURE__ */ jsx("mask", { id: "circleFlagsUz0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
857
|
+
/* @__PURE__ */ jsxs("g", { mask: "url(#circleFlagsUz0)", children: [
|
|
858
|
+
/* @__PURE__ */ jsx(
|
|
859
|
+
"path",
|
|
860
|
+
{
|
|
861
|
+
fill: "#d80027",
|
|
862
|
+
d: "m0 178l254.2-22L512 178v22.3l-40.2 54.1l40.2 57.3V334l-254 23.4L0 334v-22.3l36.7-59.4l-36.7-52z"
|
|
863
|
+
}
|
|
864
|
+
),
|
|
865
|
+
/* @__PURE__ */ jsx("path", { fill: "#338af3", d: "M0 0h512v178H0z" }),
|
|
866
|
+
/* @__PURE__ */ jsx("path", { fill: "#eee", d: "M0 200.3h512v111.4H0z" }),
|
|
867
|
+
/* @__PURE__ */ jsx("path", { fill: "#6da544", d: "M0 334h512v178H0z" }),
|
|
868
|
+
/* @__PURE__ */ jsx(
|
|
869
|
+
"path",
|
|
870
|
+
{
|
|
871
|
+
fill: "#eee",
|
|
872
|
+
d: "M117.2 105.7a50 50 0 0 1 39.3-48.9a50.2 50.2 0 0 0-10.7-1.1a50 50 0 1 0 10.7 99c-22.5-5-39.3-25-39.3-49m69 22.8l3.3 10.4h11l-9 6.5l3.5 10.4l-9-6.4l-8.7 6.4l3.4-10.4l-9-6.5h11zm35 0l3.4 10.4h11l-9 6.5l3.4 10.4l-8.8-6.4l-9 6.4l3.5-10.4l-9-6.5h11zm35 0l3.4 10.4h11l-9 6.5l3.5 10.4l-9-6.4l-8.8 6.4l3.4-10.4l-9-6.5h11zm35 0l3.4 10.4h11l-9 6.5l3.5 10.4l-9-6.4l-8.8 6.4l3.4-10.4l-9-6.5h11zm35 0l3.4 10.4h11l-9 6.5l3.5 10.4l-9-6.4l-8.8 6.4l3.4-10.4l-8.8-6.5h11zm-105-36.4l3.4 10.4h11l-9 6.5l3.4 10.4l-8.8-6.5l-9 6.5l3.5-10.4l-9-6.5h11zm35 0l3.4 10.4h11l-9 6.5l3.5 10.4l-9-6.5l-8.8 6.5l3.4-10.4l-9-6.5h11zm35 0l3.4 10.4h11l-9 6.5l3.5 10.4l-9-6.5l-8.8 6.5l3.4-10.4l-9-6.5h11zm35 0l3.4 10.4h11l-9 6.5l3.5 10.4l-9-6.5l-8.8 6.5l3.4-10.4l-8.8-6.5h11zm-70-36.4l3.4 10.4h11l-9 6.4l3.6 10.5l-9-6.5l-8.8 6.5l3.4-10.5l-9-6.4h11zm35 0l3.4 10.4h11l-9 6.4l3.6 10.5l-9-6.5l-8.8 6.5l3.4-10.5l-9-6.4h11zm35 0l3.4 10.4h11l-9 6.4l3.6 10.5l-9-6.5l-8.8 6.5l3.4-10.5l-8.8-6.4h11z"
|
|
873
|
+
}
|
|
874
|
+
)
|
|
875
|
+
] })
|
|
876
|
+
] });
|
|
877
|
+
};
|
|
616
878
|
const VenezuelaIcon = (props) => {
|
|
617
879
|
return /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", width: "1em", height: "1em", ...props, children: [
|
|
618
880
|
/* @__PURE__ */ jsx("mask", { id: "circleFlagsVe0", children: /* @__PURE__ */ jsx("circle", { cx: "256", cy: "256", r: "256", fill: "#fff" }) }),
|
|
@@ -633,6 +895,23 @@ const VenezuelaIcon = (props) => {
|
|
|
633
895
|
function getMappedIcon(code) {
|
|
634
896
|
let icon = GlobeIcon;
|
|
635
897
|
switch (code) {
|
|
898
|
+
case "es-AR":
|
|
899
|
+
icon = ArgentinaIcon;
|
|
900
|
+
break;
|
|
901
|
+
case "bn":
|
|
902
|
+
case "bn-BD":
|
|
903
|
+
case "en-BD":
|
|
904
|
+
icon = BangladeshIcon;
|
|
905
|
+
break;
|
|
906
|
+
case "nl-BE":
|
|
907
|
+
case "en-BE":
|
|
908
|
+
case "fr-BE":
|
|
909
|
+
case "de-BE":
|
|
910
|
+
icon = BelgiumIcon;
|
|
911
|
+
break;
|
|
912
|
+
case "es-BO":
|
|
913
|
+
icon = BoliviaIcon;
|
|
914
|
+
break;
|
|
636
915
|
case "pt-BR":
|
|
637
916
|
icon = BrazilIcon;
|
|
638
917
|
break;
|
|
@@ -640,20 +919,9 @@ function getMappedIcon(code) {
|
|
|
640
919
|
case "bg-BG":
|
|
641
920
|
icon = BulgariaIcon;
|
|
642
921
|
break;
|
|
643
|
-
case "
|
|
644
|
-
case "
|
|
645
|
-
|
|
646
|
-
icon = DenmarkIcon;
|
|
647
|
-
break;
|
|
648
|
-
case "es":
|
|
649
|
-
case "es-ES":
|
|
650
|
-
icon = SpainIcon;
|
|
651
|
-
break;
|
|
652
|
-
case "es-AR":
|
|
653
|
-
icon = ArgentinaIcon;
|
|
654
|
-
break;
|
|
655
|
-
case "es-BO":
|
|
656
|
-
icon = BoliviaIcon;
|
|
922
|
+
case "en-CA":
|
|
923
|
+
case "fr-CA":
|
|
924
|
+
icon = CanadaIcon;
|
|
657
925
|
break;
|
|
658
926
|
case "es-CL":
|
|
659
927
|
icon = ChileIcon;
|
|
@@ -664,12 +932,44 @@ function getMappedIcon(code) {
|
|
|
664
932
|
case "es-CR":
|
|
665
933
|
icon = CostaRicaIcon;
|
|
666
934
|
break;
|
|
935
|
+
case "cs":
|
|
936
|
+
case "cs-CZ":
|
|
937
|
+
icon = CzechiaIcon;
|
|
938
|
+
break;
|
|
939
|
+
case "da":
|
|
940
|
+
case "da-DK":
|
|
941
|
+
case "en-DK":
|
|
942
|
+
icon = DenmarkIcon;
|
|
943
|
+
break;
|
|
667
944
|
case "es-DO":
|
|
668
945
|
icon = DominicanRepublicIcon;
|
|
669
946
|
break;
|
|
670
947
|
case "es-EC":
|
|
671
948
|
icon = EcuadorIcon;
|
|
672
949
|
break;
|
|
950
|
+
case "fi":
|
|
951
|
+
case "fi-FI":
|
|
952
|
+
case "sv-FI":
|
|
953
|
+
case "en-FI":
|
|
954
|
+
icon = FinlandIcon;
|
|
955
|
+
break;
|
|
956
|
+
case "fr":
|
|
957
|
+
case "fr-FR":
|
|
958
|
+
icon = FranceIcon;
|
|
959
|
+
break;
|
|
960
|
+
case "ka":
|
|
961
|
+
case "ka-GE":
|
|
962
|
+
icon = GeorgiaIcon;
|
|
963
|
+
break;
|
|
964
|
+
case "de":
|
|
965
|
+
case "de-DE":
|
|
966
|
+
case "en-DE":
|
|
967
|
+
icon = GermanyIcon;
|
|
968
|
+
break;
|
|
969
|
+
case "el":
|
|
970
|
+
case "el-GR":
|
|
971
|
+
icon = GreeceIcon;
|
|
972
|
+
break;
|
|
673
973
|
case "es-GT":
|
|
674
974
|
icon = GuatemalaIcon;
|
|
675
975
|
break;
|
|
@@ -679,12 +979,39 @@ function getMappedIcon(code) {
|
|
|
679
979
|
case "es-HN":
|
|
680
980
|
icon = HondurasIcon;
|
|
681
981
|
break;
|
|
982
|
+
case "hu":
|
|
983
|
+
case "hu-HU":
|
|
984
|
+
icon = HungaryIcon;
|
|
985
|
+
break;
|
|
986
|
+
case "en-IN":
|
|
987
|
+
icon = IndiaIcon;
|
|
988
|
+
break;
|
|
989
|
+
case "it":
|
|
990
|
+
case "it-IT":
|
|
991
|
+
icon = ItalyIcon;
|
|
992
|
+
break;
|
|
682
993
|
case "es-MX":
|
|
683
994
|
icon = MexicoIcon;
|
|
684
995
|
break;
|
|
996
|
+
case "fr-MA":
|
|
997
|
+
icon = MoroccoIcon;
|
|
998
|
+
break;
|
|
999
|
+
case "nl":
|
|
1000
|
+
case "nl-NL":
|
|
1001
|
+
case "en-NL":
|
|
1002
|
+
icon = NetherlandsIcon;
|
|
1003
|
+
break;
|
|
685
1004
|
case "es-NI":
|
|
686
1005
|
icon = NicaraguaIcon;
|
|
687
1006
|
break;
|
|
1007
|
+
case "en-NG":
|
|
1008
|
+
icon = NigeriaIcon;
|
|
1009
|
+
break;
|
|
1010
|
+
case "nb":
|
|
1011
|
+
case "nb-NO":
|
|
1012
|
+
case "en-NO":
|
|
1013
|
+
icon = NorwayIcon;
|
|
1014
|
+
break;
|
|
688
1015
|
case "es-PA":
|
|
689
1016
|
icon = PanamaIcon;
|
|
690
1017
|
break;
|
|
@@ -694,41 +1021,58 @@ function getMappedIcon(code) {
|
|
|
694
1021
|
case "es-PE":
|
|
695
1022
|
icon = PeruIcon;
|
|
696
1023
|
break;
|
|
1024
|
+
case "pl":
|
|
1025
|
+
case "pl-PL":
|
|
1026
|
+
icon = PolandIcon;
|
|
1027
|
+
break;
|
|
1028
|
+
case "ro":
|
|
1029
|
+
case "ro-RO":
|
|
1030
|
+
icon = RomaniaIcon;
|
|
1031
|
+
break;
|
|
1032
|
+
case "ru":
|
|
1033
|
+
case "ru-RU":
|
|
1034
|
+
icon = RussiaIcon;
|
|
1035
|
+
break;
|
|
697
1036
|
case "es-SV":
|
|
698
1037
|
icon = SalvadorIcon;
|
|
699
1038
|
break;
|
|
700
|
-
case "
|
|
701
|
-
|
|
1039
|
+
case "sr":
|
|
1040
|
+
case "sr-RS":
|
|
1041
|
+
icon = SerbiaIcon;
|
|
702
1042
|
break;
|
|
703
|
-
case "
|
|
704
|
-
icon =
|
|
1043
|
+
case "en-ZA":
|
|
1044
|
+
icon = SouthAfricaIcon;
|
|
705
1045
|
break;
|
|
706
|
-
case "
|
|
707
|
-
case "
|
|
708
|
-
|
|
709
|
-
case "en-FI":
|
|
710
|
-
icon = FinlandIcon;
|
|
1046
|
+
case "es":
|
|
1047
|
+
case "es-ES":
|
|
1048
|
+
icon = SpainIcon;
|
|
711
1049
|
break;
|
|
712
|
-
case "
|
|
713
|
-
case "
|
|
714
|
-
|
|
1050
|
+
case "sv-SE":
|
|
1051
|
+
case "en-SE":
|
|
1052
|
+
case "de-SE":
|
|
1053
|
+
case "fr-SE":
|
|
1054
|
+
icon = SwedenIcon;
|
|
715
1055
|
break;
|
|
716
|
-
case "
|
|
717
|
-
case "
|
|
718
|
-
|
|
1056
|
+
case "en-CH":
|
|
1057
|
+
case "fr-CH":
|
|
1058
|
+
case "de-CH":
|
|
1059
|
+
case "it-CH":
|
|
1060
|
+
icon = SwitzerlandIcon;
|
|
719
1061
|
break;
|
|
720
|
-
case "
|
|
721
|
-
case "
|
|
722
|
-
|
|
723
|
-
icon = GermanyIcon;
|
|
1062
|
+
case "tr":
|
|
1063
|
+
case "tr-TR":
|
|
1064
|
+
icon = TurkeyIcon;
|
|
724
1065
|
break;
|
|
725
|
-
case "
|
|
726
|
-
|
|
727
|
-
icon = ItalyIcon;
|
|
1066
|
+
case "es-UY":
|
|
1067
|
+
icon = UruguayIcon;
|
|
728
1068
|
break;
|
|
729
|
-
case "
|
|
730
|
-
case "
|
|
731
|
-
|
|
1069
|
+
case "uz":
|
|
1070
|
+
case "uz-UZ":
|
|
1071
|
+
case "ru-UZ":
|
|
1072
|
+
icon = UzbekistanIcon;
|
|
1073
|
+
break;
|
|
1074
|
+
case "es-VE":
|
|
1075
|
+
icon = VenezuelaIcon;
|
|
732
1076
|
break;
|
|
733
1077
|
case "en":
|
|
734
1078
|
default:
|
package/dist/providers/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
4
|
-
const index$1 = require("../index-
|
|
3
|
+
const index = require("../index-BAxlqkw0.js");
|
|
4
|
+
const index$1 = require("../index-DAPaiozu.js");
|
|
5
5
|
exports.MdxProvider = index.MdxProvider;
|
|
6
6
|
exports.PageProvider = index$1.PageProvider;
|
|
7
7
|
exports.SiteProvider = index$1.SiteProvider;
|
package/dist/providers/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import { ISiteConfig, ISiteLocalization, ISiteMetadata, ISiteNavigation } from '../../types';
|
|
2
|
+
import { ISiteConfig, ISiteLocalization, ISiteLogo, ISiteMetadata, ISiteNavigation } from '../../types';
|
|
3
3
|
interface ISiteContext {
|
|
4
4
|
metadata: ISiteMetadata;
|
|
5
|
+
logo: ISiteLogo;
|
|
5
6
|
navigation: ISiteNavigation;
|
|
6
7
|
localization: ISiteLocalization;
|
|
7
8
|
config: ISiteConfig;
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
export interface IStrapiNavigationGroup {
|
|
5
|
-
readonly locale: string | null;
|
|
6
|
-
readonly slug: string | null;
|
|
7
|
-
readonly items: ReadonlyArray<IStrapiNavigationItem | null> | null;
|
|
8
|
-
}
|
|
9
|
-
export interface IStrapiNavigationItem {
|
|
10
|
-
readonly type: string | null;
|
|
11
|
-
readonly title: string | null;
|
|
12
|
-
readonly slug: string | null;
|
|
13
|
-
readonly path: string | null;
|
|
14
|
-
readonly items: ReadonlyArray<IStrapiNavigationItem | null> | null;
|
|
15
|
-
readonly menuAttached?: boolean | null;
|
|
16
|
-
}
|
|
1
|
+
export * from './strapi-navigation';
|
|
2
|
+
export * from './strapi-page';
|