@datatechsolutions/ui 2.8.8 → 2.8.9
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/{workflow → astrlabe}/graph-node.js +6 -6
- package/dist/{workflow → astrlabe}/graph-node.mjs +2 -2
- package/dist/{workflow → astrlabe}/index.d.mts +17 -4
- package/dist/{workflow → astrlabe}/index.d.ts +17 -4
- package/dist/{workflow → astrlabe}/index.js +139 -137
- package/dist/astrlabe/index.js.map +1 -0
- package/dist/{workflow → astrlabe}/index.mjs +13 -11
- package/dist/astrlabe/index.mjs.map +1 -0
- package/dist/{workflow → astrlabe}/utils.js +7 -7
- package/dist/{workflow → astrlabe}/utils.mjs +2 -2
- package/dist/{workflow → astrlabe}/workflow-canvas.d.mts +1 -1
- package/dist/{workflow → astrlabe}/workflow-canvas.d.ts +1 -1
- package/dist/{workflow → astrlabe}/workflow-canvas.js +6 -6
- package/dist/astrlabe/workflow-canvas.mjs +11 -0
- package/dist/{workflow → astrlabe}/workflow-preview-canvas.js.map +1 -1
- package/dist/{workflow → astrlabe}/workflow-preview-canvas.mjs.map +1 -1
- package/dist/{chunk-GXCWMPW5.js → chunk-2GTIYAXX.js} +3390 -670
- package/dist/chunk-2GTIYAXX.js.map +1 -0
- package/dist/{chunk-SHKRLL36.mjs → chunk-2X3BZNSE.mjs} +3234 -667
- package/dist/chunk-2X3BZNSE.mjs.map +1 -0
- package/dist/{chunk-E42PD4X6.js → chunk-3GE3MBUZ.js} +3 -3
- package/dist/{chunk-E42PD4X6.js.map → chunk-3GE3MBUZ.js.map} +1 -1
- package/dist/chunk-55H6WZQP.js +5 -0
- package/dist/{chunk-2HUN5ZXT.js.map → chunk-55H6WZQP.js.map} +1 -1
- package/dist/{chunk-BTJP5QCD.mjs → chunk-AM2TTPYM.mjs} +4 -4
- package/dist/{chunk-BTJP5QCD.mjs.map → chunk-AM2TTPYM.mjs.map} +1 -1
- package/dist/{chunk-55S2KOTZ.mjs → chunk-BLNXRUC4.mjs} +3 -3
- package/dist/{chunk-55S2KOTZ.mjs.map → chunk-BLNXRUC4.mjs.map} +1 -1
- package/dist/{chunk-ULPKAD4A.js → chunk-DFR6CMJH.js} +4 -4
- package/dist/{chunk-ULPKAD4A.js.map → chunk-DFR6CMJH.js.map} +1 -1
- package/dist/{chunk-D3INPADN.mjs → chunk-EOU3POSF.mjs} +422 -7
- package/dist/chunk-EOU3POSF.mjs.map +1 -0
- package/dist/chunk-JB6RNAD2.mjs +4 -0
- package/dist/{chunk-A3B3A43Y.mjs.map → chunk-JB6RNAD2.mjs.map} +1 -1
- package/dist/{chunk-UBCSCLUW.mjs → chunk-OZNTQROP.mjs} +3 -3
- package/dist/{chunk-UBCSCLUW.mjs.map → chunk-OZNTQROP.mjs.map} +1 -1
- package/dist/{chunk-NJ6PBGQM.js → chunk-P4YYEM4B.js} +3 -3
- package/dist/{chunk-NJ6PBGQM.js.map → chunk-P4YYEM4B.js.map} +1 -1
- package/dist/{chunk-Y2KJSGXS.js → chunk-ZN2F2VHX.js} +481 -66
- package/dist/chunk-ZN2F2VHX.js.map +1 -0
- package/dist/index.d.mts +342 -3
- package/dist/index.d.ts +342 -3
- package/dist/index.js +1194 -570
- package/dist/index.mjs +2 -2
- package/dist/{workflow-canvas-CVkbfTQu.d.ts → workflow-canvas-CGeuIgBQ.d.ts} +1 -1
- package/dist/{workflow-canvas-B3k03HVM.d.mts → workflow-canvas-at3LMbkg.d.mts} +1 -1
- package/package.json +25 -25
- package/dist/chunk-2HUN5ZXT.js +0 -5
- package/dist/chunk-A3B3A43Y.mjs +0 -4
- package/dist/chunk-D3INPADN.mjs.map +0 -1
- package/dist/chunk-GXCWMPW5.js.map +0 -1
- package/dist/chunk-SHKRLL36.mjs.map +0 -1
- package/dist/chunk-Y2KJSGXS.js.map +0 -1
- package/dist/workflow/index.js.map +0 -1
- package/dist/workflow/index.mjs.map +0 -1
- package/dist/workflow/workflow-canvas.mjs +0 -11
- /package/dist/{workflow → astrlabe}/contracts.d.mts +0 -0
- /package/dist/{workflow → astrlabe}/contracts.d.ts +0 -0
- /package/dist/{workflow → astrlabe}/contracts.js +0 -0
- /package/dist/{workflow → astrlabe}/contracts.js.map +0 -0
- /package/dist/{workflow → astrlabe}/contracts.mjs +0 -0
- /package/dist/{workflow → astrlabe}/contracts.mjs.map +0 -0
- /package/dist/{workflow → astrlabe}/graph-node.d.mts +0 -0
- /package/dist/{workflow → astrlabe}/graph-node.d.ts +0 -0
- /package/dist/{workflow → astrlabe}/graph-node.js.map +0 -0
- /package/dist/{workflow → astrlabe}/graph-node.mjs.map +0 -0
- /package/dist/{workflow → astrlabe}/utils.d.mts +0 -0
- /package/dist/{workflow → astrlabe}/utils.d.ts +0 -0
- /package/dist/{workflow → astrlabe}/utils.js.map +0 -0
- /package/dist/{workflow → astrlabe}/utils.mjs.map +0 -0
- /package/dist/{workflow → astrlabe}/workflow-canvas.js.map +0 -0
- /package/dist/{workflow → astrlabe}/workflow-canvas.mjs.map +0 -0
- /package/dist/{workflow → astrlabe}/workflow-preview-canvas.d.mts +0 -0
- /package/dist/{workflow → astrlabe}/workflow-preview-canvas.d.ts +0 -0
- /package/dist/{workflow → astrlabe}/workflow-preview-canvas.js +0 -0
- /package/dist/{workflow → astrlabe}/workflow-preview-canvas.mjs +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
|
|
4
5
|
var chunkUZ3CMNUJ_js = require('./chunk-UZ3CMNUJ.js');
|
|
5
6
|
var chunkYXN2K77G_js = require('./chunk-YXN2K77G.js');
|
|
6
|
-
var chunkS7KHTUHA_js = require('./chunk-S7KHTUHA.js');
|
|
7
7
|
var Headless6 = require('@headlessui/react');
|
|
8
8
|
var clsx = require('clsx');
|
|
9
9
|
var React12 = require('react');
|
|
@@ -19,7 +19,6 @@ var solid$1 = require('@heroicons/react/24/solid');
|
|
|
19
19
|
var reactTransitionProgress = require('react-transition-progress');
|
|
20
20
|
var lucideReact = require('lucide-react');
|
|
21
21
|
var d3Geo = require('d3-geo');
|
|
22
|
-
var i18n = require('@datatechsolutions/shared-domain/i18n');
|
|
23
22
|
var TabsPrimitive = require('@radix-ui/react-tabs');
|
|
24
23
|
var ProgressPrimitive = require('@radix-ui/react-progress');
|
|
25
24
|
var zustand = require('zustand');
|
|
@@ -9802,6 +9801,7 @@ function BrandedLoader({
|
|
|
9802
9801
|
gradient = "from-indigo-500 to-purple-600",
|
|
9803
9802
|
accentRing = "ring-indigo-500/30",
|
|
9804
9803
|
compact = false,
|
|
9804
|
+
rawIcon = false,
|
|
9805
9805
|
className
|
|
9806
9806
|
}) {
|
|
9807
9807
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -9835,19 +9835,25 @@ function BrandedLoader({
|
|
|
9835
9835
|
style: { animationDuration: "1.5s" }
|
|
9836
9836
|
}
|
|
9837
9837
|
),
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
{
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9838
|
+
rawIcon ? (
|
|
9839
|
+
/* Raw icon — SVG with its own background, no gradient overlay */
|
|
9840
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-24 w-24 rounded-[20px] shadow-lg shadow-black/20 overflow-hidden [&_img]:!h-full [&_img]:!w-full [&_img]:object-cover", children: icon })
|
|
9841
|
+
) : (
|
|
9842
|
+
/* Icon container with gradient background */
|
|
9843
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9844
|
+
"div",
|
|
9845
|
+
{
|
|
9846
|
+
className: clsx__default.default(
|
|
9847
|
+
"relative flex h-24 w-24 items-center justify-center rounded-[20px]",
|
|
9848
|
+
`bg-gradient-to-br ${gradient}`,
|
|
9849
|
+
"shadow-lg shadow-black/20"
|
|
9850
|
+
),
|
|
9851
|
+
children: [
|
|
9852
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[18px] bg-[linear-gradient(145deg,rgba(255,255,255,0.35)_0%,rgba(255,255,255,0.08)_45%,rgba(255,255,255,0)_100%)]" }),
|
|
9853
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-12 w-12 text-white drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)] [&_img]:!h-full [&_img]:!w-full [&_img]:object-contain", children: icon })
|
|
9854
|
+
]
|
|
9855
|
+
}
|
|
9856
|
+
)
|
|
9851
9857
|
)
|
|
9852
9858
|
] }),
|
|
9853
9859
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12034,7 +12040,7 @@ function GeoMapCanvasInner({
|
|
|
12034
12040
|
getMarkerSize,
|
|
12035
12041
|
getFontSize,
|
|
12036
12042
|
geoJsonUrl,
|
|
12037
|
-
regionPropertyKey = "
|
|
12043
|
+
regionPropertyKey = "code",
|
|
12038
12044
|
projectionType = "mercator",
|
|
12039
12045
|
ariaLabel = "Interactive map"
|
|
12040
12046
|
}, ref) {
|
|
@@ -12197,7 +12203,14 @@ function GeoMapCanvasInner({
|
|
|
12197
12203
|
onRegionClick(regionCode);
|
|
12198
12204
|
}
|
|
12199
12205
|
},
|
|
12200
|
-
fill: hasItems ? isHovered ? regionColor : isActive ? regionColor : lighterColors.get(regionCode) || getLighterColor(regionColor) :
|
|
12206
|
+
fill: hasItems ? isHovered ? regionColor : isActive ? regionColor : lighterColors.get(regionCode) || getLighterColor(regionColor) : (() => {
|
|
12207
|
+
const c2 = regionColorMap.get(regionCode);
|
|
12208
|
+
if (!c2 || !c2.startsWith("#") || c2.length < 7) return MAP_DEFAULT_STATE_COLOR;
|
|
12209
|
+
const r3 = parseInt(c2.slice(1, 3), 16);
|
|
12210
|
+
const g3 = parseInt(c2.slice(3, 5), 16);
|
|
12211
|
+
const b2 = parseInt(c2.slice(5, 7), 16);
|
|
12212
|
+
return `rgba(${r3}, ${g3}, ${b2}, 0.10)`;
|
|
12213
|
+
})(),
|
|
12201
12214
|
stroke: isActive ? "#fff" : isDimmed ? "rgba(148, 163, 184, 0.2)" : "rgba(255, 255, 255, 0.4)",
|
|
12202
12215
|
strokeWidth: (isActive ? 2.5 : 0.5) / zoom,
|
|
12203
12216
|
filter: isActive ? "url(#glow-active)" : isDimmed ? "url(#inactive-dim)" : void 0,
|
|
@@ -12382,11 +12395,16 @@ function InteractiveGeoMapInner({
|
|
|
12382
12395
|
const mapState = useGeoMapState(mapStateOptions);
|
|
12383
12396
|
const regionColorMap = React12.useMemo(() => {
|
|
12384
12397
|
const colorMap2 = /* @__PURE__ */ new Map();
|
|
12398
|
+
for (const code of Object.keys(regionCoordinates)) {
|
|
12399
|
+
colorMap2.set(code, getRegionColor(code));
|
|
12400
|
+
}
|
|
12385
12401
|
mapState.regionGroups.forEach((regionData) => {
|
|
12386
|
-
colorMap2.
|
|
12402
|
+
if (!colorMap2.has(regionData.code)) {
|
|
12403
|
+
colorMap2.set(regionData.code, getRegionColor(regionData.code));
|
|
12404
|
+
}
|
|
12387
12405
|
});
|
|
12388
12406
|
return colorMap2;
|
|
12389
|
-
}, [mapState.regionGroups, getRegionColor]);
|
|
12407
|
+
}, [regionCoordinates, mapState.regionGroups, getRegionColor]);
|
|
12390
12408
|
const handleRegionClick = (code) => {
|
|
12391
12409
|
onRegionToggle?.(code);
|
|
12392
12410
|
};
|
|
@@ -12711,6 +12729,27 @@ function EntityDrawer({
|
|
|
12711
12729
|
] })
|
|
12712
12730
|
] });
|
|
12713
12731
|
}
|
|
12732
|
+
|
|
12733
|
+
// src/lib/locale-flags.ts
|
|
12734
|
+
var flag_br = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20height%3D%22800px%22%20width%3D%22800px%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C512H116.099C52.082%2C512%2C0%2C459.918%2C0%2C395.901V116.099C0%2C52.082%2C52.082%2C0%2C116.099%2C0h279.803%0A%09C459.918%2C0%2C512%2C52.082%2C512%2C116.099v279.803C512%2C459.918%2C459.918%2C512%2C395.901%2C512z%20M116.099%2C14.573%0A%09c-55.981%2C0-101.526%2C45.544-101.526%2C101.526v279.803c0%2C55.981%2C45.544%2C101.526%2C101.526%2C101.526h279.803%0A%09c55.981%2C0%2C101.526-45.545%2C101.526-101.526V116.099c0-55.981-45.545-101.526-101.526-101.526%0A%09C395.902%2C14.573%2C116.099%2C14.573%2C116.099%2C14.573z%22%2F%3E%0A%3Cpolygon%20style%3D%22fill%3A%23FFE000%3B%22%20points%3D%22256%2C374.81%2051.502%2C256%20256%2C137.19%20460.498%2C256%20%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C382.097c-1.265%2C0-2.529-0.328-3.66-0.986L47.842%2C262.301c-2.245-1.305-3.626-3.705-3.626-6.301%0A%09s1.381-4.996%2C3.626-6.301l204.498-118.81c2.264-1.315%2C5.057-1.315%2C7.321%2C0l204.498%2C118.81c2.245%2C1.305%2C3.626%2C3.705%2C3.626%2C6.301%0A%09c0%2C2.596-1.381%2C4.996-3.626%2C6.301l-32.303%2C18.767c-3.48%2C2.02-7.939%2C0.841-9.961-2.64c-2.021-3.479-0.84-7.939%2C2.64-9.961%0A%09L445.993%2C256L256%2C145.617L66.007%2C256L256%2C366.383l139.861-81.258c3.478-2.021%2C7.938-0.841%2C9.961%2C2.64%0A%09c2.021%2C3.479%2C0.84%2C7.939-2.64%2C9.961L259.66%2C381.111C258.529%2C381.768%2C257.265%2C382.097%2C256%2C382.097z%22%2F%3E%0A%3Ccircle%20style%3D%22fill%3A%23103B9B%3B%22%20cx%3D%22256%22%20cy%3D%22256%22%20r%3D%2267.47%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M316.265%2C293.777c-2.7%2C0-5.294-1.507-6.556-4.097c-10.094-20.712-27.403-36.941-48.741-45.697%0A%09c-21.334-8.755-45.052-9.367-66.782-1.72c-3.794%2C1.333-7.955-0.659-9.292-4.455c-1.335-3.796%2C0.659-7.956%2C4.455-9.292%0A%09c25.106-8.835%2C52.506-8.129%2C77.152%2C1.986c24.649%2C10.116%2C44.646%2C28.865%2C56.308%2C52.796c1.763%2C3.617%2C0.259%2C7.979-3.359%2C9.742%0A%09C318.423%2C293.54%2C317.336%2C293.777%2C316.265%2C293.777z%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C330.753c-41.219%2C0-74.753-33.534-74.753-74.753s33.534-74.753%2C74.753-74.753s74.753%2C33.534%2C74.753%2C74.753%0A%09S297.219%2C330.753%2C256%2C330.753z%20M256%2C195.82c-33.183%2C0-60.18%2C26.997-60.18%2C60.18s26.997%2C60.18%2C60.18%2C60.18s60.18-26.997%2C60.18-60.18%0A%09S289.183%2C195.82%2C256%2C195.82z%22%2F%3E%0A%3C%2Fsvg%3E";
|
|
12735
|
+
var flag_us = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512.001%20512.001%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.1%0A%09C504.714%2C56.004%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Crect%20x%3D%227.286%22%20y%3D%22338.901%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%2255.26%22%2F%3E%0A%09%3Crect%20x%3D%22225.79%22%20y%3D%22228.361%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22278.92%22%20height%3D%2255.28%22%2F%3E%0A%09%3Crect%20x%3D%22236.17%22%20y%3D%22117.831%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22268.55%22%20height%3D%2255.26%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M116.099%2C504.715h279.803c40.628%2C0%2C76.05-22.27%2C94.739-55.264H21.36%0A%09%09C40.049%2C482.445%2C75.471%2C504.715%2C116.099%2C504.715z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M490.64%2C62.552c-18.689-32.995-54.111-55.264-94.739-55.264H225.79v55.264H490.64z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M335.041%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v167.541h327.755L335.041%2C7.287%0A%09L335.041%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M497.341%2C59.688c-0.199-0.465-0.447-0.902-0.734-1.311C476.551%2C23.521%2C438.921%2C0.001%2C395.901%2C0.001H116.099%0A%09C52.082%2C0.001%2C0%2C52.083%2C0%2C116.1v279.803c0%2C20.462%2C5.328%2C39.7%2C14.659%2C56.412c0.199%2C0.464%2C0.447%2C0.902%2C0.734%2C1.311%0A%09C35.449%2C488.481%2C73.079%2C512%2C116.099%2C512h279.803c43.02%2C0%2C80.65-23.52%2C100.706-58.376c0.287-0.409%2C0.535-0.846%2C0.734-1.311%0A%09c9.331-16.712%2C14.659-35.95%2C14.659-56.412V116.1C512%2C95.638%2C506.672%2C76.4%2C497.341%2C59.688z%20M438.39%2C386.883%0A%09c-4.024%2C0-7.286%2C3.262-7.286%2C7.287s3.262%2C7.286%2C7.286%2C7.286h58.883c-0.791%2C14.595-4.676%2C28.38-11.013%2C40.708H25.74%0A%09c-6.337-12.328-10.222-26.113-11.013-40.708h390.501c4.024%2C0%2C7.286-3.262%2C7.286-7.286c0-4.025-3.262-7.287-7.286-7.287H14.573%0A%09v-40.692h482.854v40.692L438.39%2C386.883L438.39%2C386.883z%20M497.273%2C110.546H342.328V69.838H486.26%0A%09C492.597%2C82.166%2C496.482%2C95.951%2C497.273%2C110.546z%20M389.101%2C180.383h108.326v40.691H342.328v-40.691h19.156%0A%09c4.024%2C0%2C7.286-3.262%2C7.286-7.287c0-4.025-3.262-7.286-7.286-7.286h-19.156v-40.692h155.099v40.692H389.101%0A%09c-4.024%2C0-7.287%2C3.262-7.287%2C7.286C381.814%2C177.121%2C385.076%2C180.383%2C389.101%2C180.383z%20M342.328%2C235.647h155.099v40.708H342.328%0A%09V235.647z%20M497.427%2C290.928v40.691H14.573v-40.691H497.427z%20M477.132%2C55.265H342.328V14.574h53.574%0A%09C429.082%2C14.574%2C458.594%2C30.575%2C477.132%2C55.265z%20M116.099%2C14.574h211.656v261.781H14.573V116.1%0A%09C14.573%2C60.119%2C60.117%2C14.574%2C116.099%2C14.574z%20M395.901%2C497.428H116.099c-33.181%2C0-62.693-16.001-81.231-40.691h442.264%0A%09C458.594%2C481.427%2C429.082%2C497.428%2C395.901%2C497.428z%22%2F%3E%0A%3C%2Fsvg%3E";
|
|
12736
|
+
var flag_es = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22131.64%22%20style%3D%22fill%3A%23FFE000%3B%22%20width%3D%22497.43%22%20height%3D%22248.71%22%2F%3E%0A%3Cg%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v15.545h497.427v-15.545%0A%09%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-15.545H7.286V395.901z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v8.258H14.573v-8.258C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-8.258h390.655c4.024%2C0%2C7.286-3.262%2C7.286-7.287s-3.262-7.286-7.286-7.286%0A%09H14.573V138.93h482.854v234.14H438.39c-4.024%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.287%2C7.286%2C7.287h59.037v8.258%0A%09C497.427%2C451.883%2C451.883%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
|
|
12737
|
+
var flag_fr = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.287%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M116.099%2C7.287C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.287H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.981%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.545%2C101.526-101.526%2C101.526H346.19V156.515c0-4.024-3.262-7.286-7.286-7.286c-4.025%2C0-7.287%2C3.262-7.287%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.287%2C7.286s7.286-3.262%2C7.286-7.286V14.573h49.711%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
|
|
12738
|
+
var flag_de = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22173.1%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%22165.81%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFE000%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-56.997H7.286V395.901z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23333333%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v56.997h497.427v-56.997%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v49.71H14.573v-49.71C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-49.71h390.655c4.025%2C0%2C7.286-3.262%2C7.286-7.286s-3.262-7.286-7.286-7.286%0A%09H14.573V180.382h482.854v151.236H438.39c-4.025%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.286%2C7.286%2C7.286h59.037v49.71%0A%09C497.427%2C451.883%2C451.882%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
|
|
12739
|
+
var flag_it = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.286%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M116.099%2C7.286C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.286H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.286h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.982%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.544%2C101.526-101.526%2C101.526h-49.71V156.515c0-4.024-3.262-7.286-7.287-7.286c-4.024%2C0-7.286%2C3.262-7.286%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.286%2C7.286c4.024%2C0%2C7.287-3.262%2C7.287-7.286V14.573h49.71%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
|
|
12740
|
+
var LOCALE_FLAGS = {
|
|
12741
|
+
"br": flag_br,
|
|
12742
|
+
"us": flag_us,
|
|
12743
|
+
"es": flag_es,
|
|
12744
|
+
"fr": flag_fr,
|
|
12745
|
+
"de": flag_de,
|
|
12746
|
+
"it": flag_it,
|
|
12747
|
+
// Locale code aliases
|
|
12748
|
+
"pt-BR": flag_br,
|
|
12749
|
+
"pt": flag_br,
|
|
12750
|
+
"en": flag_us,
|
|
12751
|
+
"en-US": flag_us
|
|
12752
|
+
};
|
|
12714
12753
|
function FilterPill({ icon, label, variant, onRemove }) {
|
|
12715
12754
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12716
12755
|
"button",
|
|
@@ -15099,194 +15138,2201 @@ var getSouthAfricaColors = (code) => getSubdivisionColors("ZA", code);
|
|
|
15099
15138
|
var getSouthAfricaAccent = (code) => getSubdivisionAccent("ZA", code);
|
|
15100
15139
|
var isValidSouthAfricaProvince = (code) => isValidSubdivision("ZA", code);
|
|
15101
15140
|
|
|
15102
|
-
// src/lib/
|
|
15103
|
-
var
|
|
15104
|
-
|
|
15105
|
-
|
|
15106
|
-
}
|
|
15107
|
-
|
|
15108
|
-
|
|
15109
|
-
}
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
}
|
|
15113
|
-
|
|
15114
|
-
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15119
|
-
|
|
15120
|
-
|
|
15121
|
-
|
|
15122
|
-
|
|
15123
|
-
|
|
15124
|
-
|
|
15125
|
-
|
|
15126
|
-
|
|
15127
|
-
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
|
|
15131
|
-
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
],
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
|
|
15159
|
-
|
|
15160
|
-
|
|
15141
|
+
// src/lib/themes/south-korea.ts
|
|
15142
|
+
var SOUTH_KOREA_PROVINCE_PALETTES = {
|
|
15143
|
+
KG: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15144
|
+
CB: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15145
|
+
KN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15146
|
+
SJ: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15147
|
+
PU: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
|
|
15148
|
+
NG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15149
|
+
SE: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
|
|
15150
|
+
TJ: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15151
|
+
UL: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15152
|
+
IN: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15153
|
+
KW: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15154
|
+
GN: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
15155
|
+
CJ: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
|
|
15156
|
+
GB: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15157
|
+
SO: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15158
|
+
TG: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15159
|
+
KJ: { primary: "#009640", secondary: "#ffd700", text: "light" }
|
|
15160
|
+
};
|
|
15161
|
+
var SOUTH_KOREA_ACCENT_MAP = {
|
|
15162
|
+
KG: "blue",
|
|
15163
|
+
CB: "green",
|
|
15164
|
+
KN: "red",
|
|
15165
|
+
SJ: "green",
|
|
15166
|
+
PU: "blue",
|
|
15167
|
+
NG: "red",
|
|
15168
|
+
SE: "purple",
|
|
15169
|
+
TJ: "blue",
|
|
15170
|
+
UL: "emerald",
|
|
15171
|
+
IN: "blue",
|
|
15172
|
+
KW: "green",
|
|
15173
|
+
GN: "yellow",
|
|
15174
|
+
CJ: "orange",
|
|
15175
|
+
GB: "indigo",
|
|
15176
|
+
SO: "red",
|
|
15177
|
+
TG: "blue",
|
|
15178
|
+
KJ: "green"
|
|
15179
|
+
};
|
|
15180
|
+
var VALID_CODES17 = Object.keys(SOUTH_KOREA_PROVINCE_PALETTES);
|
|
15181
|
+
var KR_THEME_CONFIG = {
|
|
15182
|
+
palettes: SOUTH_KOREA_PROVINCE_PALETTES,
|
|
15183
|
+
accents: SOUTH_KOREA_ACCENT_MAP,
|
|
15184
|
+
flagUrlTemplate: (code) => VALID_CODES17.includes(code) ? `/flags/kr/${code}.svg` : null
|
|
15185
|
+
};
|
|
15186
|
+
var SOUTH_KOREA_PROVINCE_COORDINATES = {
|
|
15187
|
+
SO: [127, 37.6],
|
|
15188
|
+
IN: [126.7, 37.5],
|
|
15189
|
+
KG: [127, 37.3],
|
|
15190
|
+
KW: [128.2, 37.8],
|
|
15191
|
+
TJ: [127.4, 36.35],
|
|
15192
|
+
SE: [127, 36.6],
|
|
15193
|
+
GB: [127.5, 36.8],
|
|
15194
|
+
GN: [126.8, 36.5],
|
|
15195
|
+
PU: [129.1, 35.2],
|
|
15196
|
+
TG: [128.6, 35.9],
|
|
15197
|
+
UL: [129.3, 35.5],
|
|
15198
|
+
KN: [128.5, 35.3],
|
|
15199
|
+
NG: [128.8, 36.4],
|
|
15200
|
+
KJ: [126.9, 35.2],
|
|
15201
|
+
SJ: [126.7, 35],
|
|
15202
|
+
CB: [127, 35.5],
|
|
15203
|
+
CJ: [126.5, 33.4]
|
|
15204
|
+
};
|
|
15205
|
+
var SOUTH_KOREA_MAP_CENTER = [127.5, 36.5];
|
|
15206
|
+
var SOUTH_KOREA_MACRO_REGIONS = [
|
|
15207
|
+
{
|
|
15208
|
+
key: "capital",
|
|
15209
|
+
label: "",
|
|
15210
|
+
codes: ["SO", "IN", "KG"],
|
|
15211
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
15212
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
15161
15213
|
},
|
|
15162
|
-
|
|
15163
|
-
|
|
15164
|
-
|
|
15165
|
-
|
|
15166
|
-
|
|
15167
|
-
|
|
15214
|
+
{
|
|
15215
|
+
key: "chungcheong",
|
|
15216
|
+
label: "",
|
|
15217
|
+
codes: ["TJ", "SE", "GB", "GN"],
|
|
15218
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
15219
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
15168
15220
|
},
|
|
15169
|
-
|
|
15170
|
-
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
|
|
15221
|
+
{
|
|
15222
|
+
key: "gyeongsang",
|
|
15223
|
+
label: "",
|
|
15224
|
+
codes: ["PU", "TG", "UL", "KN", "NG"],
|
|
15225
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
15226
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
15175
15227
|
},
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15188
|
-
|
|
15189
|
-
MA: 22,
|
|
15190
|
-
MG: 18,
|
|
15191
|
-
MS: 17,
|
|
15192
|
-
MT: 17,
|
|
15193
|
-
PA: 19,
|
|
15194
|
-
PB: 20,
|
|
15195
|
-
PE: 20.5,
|
|
15196
|
-
PI: 21,
|
|
15197
|
-
PR: 19.5,
|
|
15198
|
-
RJ: 20,
|
|
15199
|
-
RN: 18,
|
|
15200
|
-
RO: 19.5,
|
|
15201
|
-
RR: 20,
|
|
15202
|
-
RS: 17,
|
|
15203
|
-
SC: 17,
|
|
15204
|
-
SE: 19,
|
|
15205
|
-
SP: 18,
|
|
15206
|
-
TO: 20
|
|
15207
|
-
}
|
|
15228
|
+
{
|
|
15229
|
+
key: "jeolla",
|
|
15230
|
+
label: "",
|
|
15231
|
+
codes: ["KJ", "SJ", "CB"],
|
|
15232
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
15233
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
15234
|
+
},
|
|
15235
|
+
{
|
|
15236
|
+
key: "gangwon-jeju",
|
|
15237
|
+
label: "",
|
|
15238
|
+
codes: ["KW", "CJ"],
|
|
15239
|
+
gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
|
|
15240
|
+
iconColor: "text-orange-600 dark:text-orange-400"
|
|
15208
15241
|
}
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
|
|
15233
|
-
|
|
15242
|
+
];
|
|
15243
|
+
var getSouthKoreaFlagUrl = (code) => getSubdivisionFlagUrl("KR", code);
|
|
15244
|
+
var getSouthKoreaHexColor = (code) => getSubdivisionHexColor("KR", code);
|
|
15245
|
+
var getSouthKoreaPalette = (code) => getSubdivisionPalette("KR", code);
|
|
15246
|
+
var getSouthKoreaGradient = (code, direction) => getSubdivisionGradient("KR", code, direction);
|
|
15247
|
+
var getSouthKoreaColors = (code) => getSubdivisionColors("KR", code);
|
|
15248
|
+
var getSouthKoreaAccent = (code) => getSubdivisionAccent("KR", code);
|
|
15249
|
+
var isValidSouthKoreaProvince = (code) => isValidSubdivision("KR", code);
|
|
15250
|
+
|
|
15251
|
+
// src/lib/themes/indonesia.ts
|
|
15252
|
+
var INDONESIA_PROVINCE_PALETTES = {
|
|
15253
|
+
AC: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15254
|
+
JT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15255
|
+
BE: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15256
|
+
BT: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15257
|
+
KB: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15258
|
+
BB: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15259
|
+
BA: { primary: "#ff6f00", secondary: "#f0f0f0", text: "light" },
|
|
15260
|
+
JI: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15261
|
+
KS: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
15262
|
+
NT: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15263
|
+
SE: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15264
|
+
KR: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15265
|
+
IB: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15266
|
+
SU: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15267
|
+
RI: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15268
|
+
SW: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15269
|
+
KU: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15270
|
+
LA: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
|
|
15271
|
+
LP: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15272
|
+
SB: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15273
|
+
MA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15274
|
+
NB: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
|
|
15275
|
+
SG: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15276
|
+
ST: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15277
|
+
PA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15278
|
+
JR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15279
|
+
KI: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
15280
|
+
JK: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15281
|
+
GO: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15282
|
+
YO: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
|
|
15283
|
+
SL: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15284
|
+
SR: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15285
|
+
JA: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15286
|
+
KT: { primary: "#c8102e", secondary: "#003da5", text: "light" }
|
|
15287
|
+
};
|
|
15288
|
+
var INDONESIA_ACCENT_MAP = {
|
|
15289
|
+
AC: "green",
|
|
15290
|
+
JT: "red",
|
|
15291
|
+
BE: "blue",
|
|
15292
|
+
BT: "green",
|
|
15293
|
+
KB: "red",
|
|
15294
|
+
BB: "blue",
|
|
15295
|
+
BA: "orange",
|
|
15296
|
+
JI: "red",
|
|
15297
|
+
KS: "yellow",
|
|
15298
|
+
NT: "green",
|
|
15299
|
+
SE: "red",
|
|
15300
|
+
KR: "blue",
|
|
15301
|
+
IB: "green",
|
|
15302
|
+
SU: "blue",
|
|
15303
|
+
RI: "green",
|
|
15304
|
+
SW: "blue",
|
|
15305
|
+
KU: "green",
|
|
15306
|
+
LA: "purple",
|
|
15307
|
+
LP: "red",
|
|
15308
|
+
SB: "red",
|
|
15309
|
+
MA: "blue",
|
|
15310
|
+
NB: "orange",
|
|
15311
|
+
SG: "green",
|
|
15312
|
+
ST: "red",
|
|
15313
|
+
PA: "emerald",
|
|
15314
|
+
JR: "blue",
|
|
15315
|
+
KI: "yellow",
|
|
15316
|
+
JK: "red",
|
|
15317
|
+
GO: "blue",
|
|
15318
|
+
YO: "purple",
|
|
15319
|
+
SL: "red",
|
|
15320
|
+
SR: "green",
|
|
15321
|
+
JA: "blue",
|
|
15322
|
+
KT: "red"
|
|
15323
|
+
};
|
|
15324
|
+
var VALID_CODES18 = Object.keys(INDONESIA_PROVINCE_PALETTES);
|
|
15325
|
+
var ID_THEME_CONFIG = {
|
|
15326
|
+
palettes: INDONESIA_PROVINCE_PALETTES,
|
|
15327
|
+
accents: INDONESIA_ACCENT_MAP,
|
|
15328
|
+
flagUrlTemplate: (code) => VALID_CODES18.includes(code) ? `/flags/id/${code}.svg` : null
|
|
15329
|
+
};
|
|
15330
|
+
var INDONESIA_PROVINCE_COORDINATES = {
|
|
15331
|
+
AC: [96.5, 4.7],
|
|
15332
|
+
SU: [99, 2.5],
|
|
15333
|
+
SB: [100.4, -0.7],
|
|
15334
|
+
RI: [102.2, 0.5],
|
|
15335
|
+
JA: [103.6, -1.6],
|
|
15336
|
+
SL: [104.7, -3.3],
|
|
15337
|
+
BE: [102.3, -3.8],
|
|
15338
|
+
LA: [105, -4.8],
|
|
15339
|
+
LP: [105.3, -5],
|
|
15340
|
+
BB: [106.4, -2.7],
|
|
15341
|
+
KR: [104.5, 0.9],
|
|
15342
|
+
JK: [106.8, -6.2],
|
|
15343
|
+
JR: [107.6, -6.9],
|
|
15344
|
+
BT: [106.2, -6.4],
|
|
15345
|
+
JT: [110.4, -7.2],
|
|
15346
|
+
YO: [110.4, -7.8],
|
|
15347
|
+
JI: [112.7, -7.5],
|
|
15348
|
+
BA: [115.1, -8.4],
|
|
15349
|
+
NB: [117.5, -8.7],
|
|
15350
|
+
NT: [121, -9.5],
|
|
15351
|
+
KB: [109.5, 0],
|
|
15352
|
+
KS: [115.4, -3.3],
|
|
15353
|
+
KT: [113.9, -1.7],
|
|
15354
|
+
KI: [116.4, 0.5],
|
|
15355
|
+
KU: [116.5, 2.5],
|
|
15356
|
+
SW: [124.8, 1.2],
|
|
15357
|
+
ST: [121.6, -1.4],
|
|
15358
|
+
SE: [120.5, -3.5],
|
|
15359
|
+
SG: [122, -4],
|
|
15360
|
+
GO: [122.5, 0.5],
|
|
15361
|
+
SR: [119.4, -2.7],
|
|
15362
|
+
MA: [128.2, -3.7],
|
|
15363
|
+
PA: [138.5, -4.3],
|
|
15364
|
+
IB: [134, -1.5]
|
|
15365
|
+
};
|
|
15366
|
+
var INDONESIA_MAP_CENTER = [118, -2.5];
|
|
15367
|
+
var INDONESIA_MACRO_REGIONS = [
|
|
15368
|
+
{
|
|
15369
|
+
key: "java",
|
|
15370
|
+
label: "",
|
|
15371
|
+
codes: ["JR", "JT", "JI", "JK", "YO", "BT"],
|
|
15372
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
15373
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
15234
15374
|
},
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
|
|
15375
|
+
{
|
|
15376
|
+
key: "sumatra",
|
|
15377
|
+
label: "",
|
|
15378
|
+
codes: ["AC", "SU", "SB", "RI", "JA", "SL", "BE", "LA", "BB", "KR"],
|
|
15379
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
15380
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
15241
15381
|
},
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15382
|
+
{
|
|
15383
|
+
key: "kalimantan",
|
|
15384
|
+
label: "",
|
|
15385
|
+
codes: ["KB", "KS", "KT", "KI", "KU"],
|
|
15386
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
15387
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
15248
15388
|
},
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
|
|
15277
|
-
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15286
|
-
|
|
15287
|
-
|
|
15288
|
-
|
|
15289
|
-
|
|
15389
|
+
{
|
|
15390
|
+
key: "sulawesi",
|
|
15391
|
+
label: "",
|
|
15392
|
+
codes: ["SW", "ST", "SE", "SG", "GO", "SR"],
|
|
15393
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
15394
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
15395
|
+
},
|
|
15396
|
+
{
|
|
15397
|
+
key: "papua-nusa-tenggara",
|
|
15398
|
+
label: "",
|
|
15399
|
+
codes: ["PA", "IB", "NT", "NB", "BA", "MA", "LA"],
|
|
15400
|
+
gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
|
|
15401
|
+
iconColor: "text-purple-600 dark:text-purple-400"
|
|
15402
|
+
}
|
|
15403
|
+
];
|
|
15404
|
+
var getIndonesiaFlagUrl = (code) => getSubdivisionFlagUrl("ID", code);
|
|
15405
|
+
var getIndonesiaHexColor = (code) => getSubdivisionHexColor("ID", code);
|
|
15406
|
+
var getIndonesiaPalette = (code) => getSubdivisionPalette("ID", code);
|
|
15407
|
+
var getIndonesiaGradient = (code, direction) => getSubdivisionGradient("ID", code, direction);
|
|
15408
|
+
var getIndonesiaColors = (code) => getSubdivisionColors("ID", code);
|
|
15409
|
+
var getIndonesiaAccent = (code) => getSubdivisionAccent("ID", code);
|
|
15410
|
+
var isValidIndonesiaProvince = (code) => isValidSubdivision("ID", code);
|
|
15411
|
+
|
|
15412
|
+
// src/lib/themes/thailand.ts
|
|
15413
|
+
var THAILAND_PROVINCE_PALETTES = {
|
|
15414
|
+
BM: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15415
|
+
PT: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15416
|
+
NO: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15417
|
+
SP: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15418
|
+
SS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15419
|
+
SM: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15420
|
+
PE: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15421
|
+
CC: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
15422
|
+
NN: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15423
|
+
PA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15424
|
+
AT: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15425
|
+
SB: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15426
|
+
CN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15427
|
+
SH: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15428
|
+
NP: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15429
|
+
SR: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
15430
|
+
LB: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15431
|
+
CM: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15432
|
+
CR: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15433
|
+
LN: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15434
|
+
LG: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15435
|
+
PR: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15436
|
+
PY: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15437
|
+
MH: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
|
|
15438
|
+
NA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15439
|
+
SO: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15440
|
+
UD: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15441
|
+
PS: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15442
|
+
KP: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15443
|
+
PC: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
15444
|
+
PH: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15445
|
+
KK: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15446
|
+
NR: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15447
|
+
UR: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15448
|
+
SU: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15449
|
+
BR: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
15450
|
+
KL: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15451
|
+
RE: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15452
|
+
SI: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15453
|
+
LE: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15454
|
+
NK: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15455
|
+
AC: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
|
|
15456
|
+
MD: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15457
|
+
SN: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15458
|
+
NF: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15459
|
+
BK: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15460
|
+
YS: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15461
|
+
MS: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
15462
|
+
UN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15463
|
+
NB: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15464
|
+
CY: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15465
|
+
CB: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15466
|
+
RY: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15467
|
+
SK: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15468
|
+
TT: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15469
|
+
CT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15470
|
+
SG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15471
|
+
PU: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
|
|
15472
|
+
ST: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15473
|
+
KR: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15474
|
+
SA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15475
|
+
TG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15476
|
+
PL: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15477
|
+
NT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15478
|
+
NW: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15479
|
+
PI: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
15480
|
+
YL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15481
|
+
RN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15482
|
+
CP: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15483
|
+
PK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15484
|
+
KN: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15485
|
+
TK: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15486
|
+
UT: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15487
|
+
NS: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
15488
|
+
RT: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15489
|
+
PB: { primary: "#009640", secondary: "#003da5", text: "light" }
|
|
15490
|
+
};
|
|
15491
|
+
var THAILAND_ACCENT_MAP = {
|
|
15492
|
+
BM: "red",
|
|
15493
|
+
PT: "blue",
|
|
15494
|
+
NO: "blue",
|
|
15495
|
+
SP: "green",
|
|
15496
|
+
SS: "red",
|
|
15497
|
+
SM: "blue",
|
|
15498
|
+
PE: "green",
|
|
15499
|
+
CC: "yellow",
|
|
15500
|
+
NN: "blue",
|
|
15501
|
+
PA: "red",
|
|
15502
|
+
AT: "green",
|
|
15503
|
+
SB: "blue",
|
|
15504
|
+
CN: "green",
|
|
15505
|
+
SH: "red",
|
|
15506
|
+
NP: "blue",
|
|
15507
|
+
SR: "yellow",
|
|
15508
|
+
LB: "blue",
|
|
15509
|
+
CM: "red",
|
|
15510
|
+
CR: "green",
|
|
15511
|
+
LN: "blue",
|
|
15512
|
+
LG: "red",
|
|
15513
|
+
PR: "green",
|
|
15514
|
+
PY: "blue",
|
|
15515
|
+
MH: "purple",
|
|
15516
|
+
NA: "green",
|
|
15517
|
+
SO: "blue",
|
|
15518
|
+
UD: "red",
|
|
15519
|
+
PS: "blue",
|
|
15520
|
+
KP: "green",
|
|
15521
|
+
PC: "yellow",
|
|
15522
|
+
PH: "blue",
|
|
15523
|
+
KK: "red",
|
|
15524
|
+
NR: "blue",
|
|
15525
|
+
UR: "green",
|
|
15526
|
+
SU: "red",
|
|
15527
|
+
BR: "yellow",
|
|
15528
|
+
KL: "blue",
|
|
15529
|
+
RE: "green",
|
|
15530
|
+
SI: "red",
|
|
15531
|
+
LE: "blue",
|
|
15532
|
+
NK: "green",
|
|
15533
|
+
AC: "purple",
|
|
15534
|
+
MD: "blue",
|
|
15535
|
+
SN: "green",
|
|
15536
|
+
NF: "red",
|
|
15537
|
+
BK: "blue",
|
|
15538
|
+
YS: "green",
|
|
15539
|
+
MS: "yellow",
|
|
15540
|
+
UN: "red",
|
|
15541
|
+
NB: "green",
|
|
15542
|
+
CY: "blue",
|
|
15543
|
+
CB: "red",
|
|
15544
|
+
RY: "blue",
|
|
15545
|
+
SK: "green",
|
|
15546
|
+
TT: "blue",
|
|
15547
|
+
CT: "red",
|
|
15548
|
+
SG: "blue",
|
|
15549
|
+
PU: "orange",
|
|
15550
|
+
ST: "green",
|
|
15551
|
+
KR: "blue",
|
|
15552
|
+
SA: "green",
|
|
15553
|
+
TG: "red",
|
|
15554
|
+
PL: "blue",
|
|
15555
|
+
NT: "red",
|
|
15556
|
+
NW: "green",
|
|
15557
|
+
PI: "yellow",
|
|
15558
|
+
YL: "blue",
|
|
15559
|
+
RN: "green",
|
|
15560
|
+
CP: "red",
|
|
15561
|
+
PK: "blue",
|
|
15562
|
+
KN: "green",
|
|
15563
|
+
TK: "red",
|
|
15564
|
+
UT: "blue",
|
|
15565
|
+
NS: "yellow",
|
|
15566
|
+
RT: "blue",
|
|
15567
|
+
PB: "emerald"
|
|
15568
|
+
};
|
|
15569
|
+
var VALID_CODES19 = Object.keys(THAILAND_PROVINCE_PALETTES);
|
|
15570
|
+
var TH_THEME_CONFIG = {
|
|
15571
|
+
palettes: THAILAND_PROVINCE_PALETTES,
|
|
15572
|
+
accents: THAILAND_ACCENT_MAP,
|
|
15573
|
+
flagUrlTemplate: (code) => VALID_CODES19.includes(code) ? `/flags/th/${code}.svg` : null
|
|
15574
|
+
};
|
|
15575
|
+
var THAILAND_PROVINCE_COORDINATES = {
|
|
15576
|
+
BM: [100.5, 13.8],
|
|
15577
|
+
CM: [98.9, 18.8],
|
|
15578
|
+
CB: [101, 13.4],
|
|
15579
|
+
KK: [102.8, 16.4],
|
|
15580
|
+
NR: [102.1, 14.9],
|
|
15581
|
+
SG: [100.5, 7.2],
|
|
15582
|
+
PU: [98.4, 7.9],
|
|
15583
|
+
ST: [99, 9.1],
|
|
15584
|
+
CR: [99.8, 19.9],
|
|
15585
|
+
PT: [100.5, 14],
|
|
15586
|
+
NO: [100.5, 13.9],
|
|
15587
|
+
SP: [100.6, 13.6],
|
|
15588
|
+
SS: [100.3, 13.5],
|
|
15589
|
+
SM: [100, 13.4],
|
|
15590
|
+
PE: [100, 13.1],
|
|
15591
|
+
CC: [101.1, 13.7],
|
|
15592
|
+
NN: [101.2, 14.2],
|
|
15593
|
+
PA: [100.6, 14.4],
|
|
15594
|
+
AT: [100.5, 14.6],
|
|
15595
|
+
SB: [100.4, 14.9],
|
|
15596
|
+
CN: [100.1, 15.2],
|
|
15597
|
+
SH: [100.1, 14.8],
|
|
15598
|
+
NP: [100.1, 13.8],
|
|
15599
|
+
SR: [100.9, 14.5],
|
|
15600
|
+
LB: [100.6, 14.8],
|
|
15601
|
+
LN: [99, 18.6],
|
|
15602
|
+
LG: [99.5, 18.3],
|
|
15603
|
+
PR: [100.1, 18.1],
|
|
15604
|
+
PY: [99.7, 19.2],
|
|
15605
|
+
MH: [98, 19.3],
|
|
15606
|
+
NA: [100.8, 18.8],
|
|
15607
|
+
SO: [99.8, 17],
|
|
15608
|
+
UD: [100.1, 17.6],
|
|
15609
|
+
PS: [100.3, 16.8],
|
|
15610
|
+
KP: [99.5, 16.5],
|
|
15611
|
+
PC: [100.3, 16.4],
|
|
15612
|
+
PH: [101.2, 16.4],
|
|
15613
|
+
NF: [104.8, 17.4],
|
|
15614
|
+
UR: [104.9, 15.3],
|
|
15615
|
+
SU: [103.5, 14.9],
|
|
15616
|
+
BR: [103.1, 14.9],
|
|
15617
|
+
KL: [103.5, 16.4],
|
|
15618
|
+
RE: [103.7, 16.1],
|
|
15619
|
+
SI: [104.3, 15.1],
|
|
15620
|
+
LE: [101.7, 17.5],
|
|
15621
|
+
NK: [102.7, 17.9],
|
|
15622
|
+
AC: [104.6, 15.9],
|
|
15623
|
+
MD: [104.6, 16.5],
|
|
15624
|
+
SN: [104.1, 17.2],
|
|
15625
|
+
BK: [103.6, 18.4],
|
|
15626
|
+
YS: [104.1, 15.8],
|
|
15627
|
+
MS: [103.3, 16.2],
|
|
15628
|
+
UN: [102.8, 17.4],
|
|
15629
|
+
NB: [102.4, 17.2],
|
|
15630
|
+
CY: [102, 15.8],
|
|
15631
|
+
RY: [101.3, 12.7],
|
|
15632
|
+
SK: [102.2, 13.8],
|
|
15633
|
+
TT: [102.5, 12.2],
|
|
15634
|
+
CT: [102.1, 12.6],
|
|
15635
|
+
KR: [98.9, 8.1],
|
|
15636
|
+
SA: [100.1, 6.6],
|
|
15637
|
+
TG: [99.7, 7.6],
|
|
15638
|
+
PL: [100.1, 7.6],
|
|
15639
|
+
NT: [100, 8.4],
|
|
15640
|
+
NW: [101.8, 6.4],
|
|
15641
|
+
PI: [101.3, 6.9],
|
|
15642
|
+
YL: [101.3, 6.5],
|
|
15643
|
+
RN: [98.6, 9.9],
|
|
15644
|
+
CP: [99.2, 10.5],
|
|
15645
|
+
PK: [99.8, 11.8],
|
|
15646
|
+
KN: [99.5, 14],
|
|
15647
|
+
TK: [99, 16.9],
|
|
15648
|
+
UT: [99.7, 15.4],
|
|
15649
|
+
NS: [99.5, 15.7],
|
|
15650
|
+
RT: [99.8, 13.5],
|
|
15651
|
+
PB: [101.4, 14.1]
|
|
15652
|
+
};
|
|
15653
|
+
var THAILAND_MAP_CENTER = [101, 15];
|
|
15654
|
+
var THAILAND_MACRO_REGIONS = [
|
|
15655
|
+
{
|
|
15656
|
+
key: "central",
|
|
15657
|
+
label: "",
|
|
15658
|
+
codes: ["BM", "PT", "NO", "SP", "SS", "SM", "PE", "CC", "NN", "PA", "AT", "SB", "CN", "SH", "NP", "SR", "LB"],
|
|
15659
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
15660
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
15661
|
+
},
|
|
15662
|
+
{
|
|
15663
|
+
key: "north",
|
|
15664
|
+
label: "",
|
|
15665
|
+
codes: ["CM", "CR", "LN", "LG", "PR", "PY", "MH", "NA", "SO", "UD", "PS", "KP", "PC", "PH"],
|
|
15666
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
15667
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
15668
|
+
},
|
|
15669
|
+
{
|
|
15670
|
+
key: "northeast",
|
|
15671
|
+
label: "",
|
|
15672
|
+
codes: ["KK", "NR", "UR", "SU", "BR", "KL", "RE", "SI", "LE", "NK", "AC", "MD", "SN", "NF", "BK", "YS", "MS", "UN", "NB", "CY"],
|
|
15673
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
15674
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
15675
|
+
},
|
|
15676
|
+
{
|
|
15677
|
+
key: "east",
|
|
15678
|
+
label: "",
|
|
15679
|
+
codes: ["CB", "RY", "SK", "TT", "CT"],
|
|
15680
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
15681
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
15682
|
+
},
|
|
15683
|
+
{
|
|
15684
|
+
key: "south",
|
|
15685
|
+
label: "",
|
|
15686
|
+
codes: ["SG", "PU", "ST", "KR", "SA", "TG", "PL", "NT", "NW", "PI", "YL", "RN", "CP", "PK"],
|
|
15687
|
+
gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
|
|
15688
|
+
iconColor: "text-orange-600 dark:text-orange-400"
|
|
15689
|
+
},
|
|
15690
|
+
{
|
|
15691
|
+
key: "west",
|
|
15692
|
+
label: "",
|
|
15693
|
+
codes: ["KN", "TK", "UT", "NS", "RT", "PB"],
|
|
15694
|
+
gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
|
|
15695
|
+
iconColor: "text-purple-600 dark:text-purple-400"
|
|
15696
|
+
}
|
|
15697
|
+
];
|
|
15698
|
+
var getThailandFlagUrl = (code) => getSubdivisionFlagUrl("TH", code);
|
|
15699
|
+
var getThailandHexColor = (code) => getSubdivisionHexColor("TH", code);
|
|
15700
|
+
var getThailandPalette = (code) => getSubdivisionPalette("TH", code);
|
|
15701
|
+
var getThailandGradient = (code, direction) => getSubdivisionGradient("TH", code, direction);
|
|
15702
|
+
var getThailandColors = (code) => getSubdivisionColors("TH", code);
|
|
15703
|
+
var getThailandAccent = (code) => getSubdivisionAccent("TH", code);
|
|
15704
|
+
var isValidThailandProvince = (code) => isValidSubdivision("TH", code);
|
|
15705
|
+
|
|
15706
|
+
// src/lib/themes/nigeria.ts
|
|
15707
|
+
var NIGERIA_STATE_PALETTES = {
|
|
15708
|
+
RI: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15709
|
+
KT: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15710
|
+
SO: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15711
|
+
ZA: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15712
|
+
YO: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15713
|
+
KE: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15714
|
+
AD: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15715
|
+
BO: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15716
|
+
AK: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15717
|
+
AB: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15718
|
+
IM: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15719
|
+
BY: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15720
|
+
BE: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15721
|
+
CR: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15722
|
+
TA: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
15723
|
+
KW: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15724
|
+
LA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15725
|
+
NI: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15726
|
+
FC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15727
|
+
OG: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15728
|
+
ON: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15729
|
+
EK: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15730
|
+
OS: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
|
|
15731
|
+
OY: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15732
|
+
AN: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15733
|
+
BA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15734
|
+
GO: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15735
|
+
DE: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15736
|
+
ED: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15737
|
+
EN: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15738
|
+
EB: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
15739
|
+
KD: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15740
|
+
KO: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15741
|
+
PL: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15742
|
+
NA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15743
|
+
JI: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15744
|
+
KN: { primary: "#c8102e", secondary: "#003da5", text: "light" }
|
|
15745
|
+
};
|
|
15746
|
+
var NIGERIA_ACCENT_MAP = {
|
|
15747
|
+
RI: "blue",
|
|
15748
|
+
KT: "green",
|
|
15749
|
+
SO: "green",
|
|
15750
|
+
ZA: "red",
|
|
15751
|
+
YO: "blue",
|
|
15752
|
+
KE: "green",
|
|
15753
|
+
AD: "red",
|
|
15754
|
+
BO: "blue",
|
|
15755
|
+
AK: "red",
|
|
15756
|
+
AB: "green",
|
|
15757
|
+
IM: "blue",
|
|
15758
|
+
BY: "blue",
|
|
15759
|
+
BE: "green",
|
|
15760
|
+
CR: "red",
|
|
15761
|
+
TA: "yellow",
|
|
15762
|
+
KW: "blue",
|
|
15763
|
+
LA: "red",
|
|
15764
|
+
NI: "green",
|
|
15765
|
+
FC: "blue",
|
|
15766
|
+
OG: "green",
|
|
15767
|
+
ON: "red",
|
|
15768
|
+
EK: "blue",
|
|
15769
|
+
OS: "purple",
|
|
15770
|
+
OY: "red",
|
|
15771
|
+
AN: "green",
|
|
15772
|
+
BA: "blue",
|
|
15773
|
+
GO: "green",
|
|
15774
|
+
DE: "red",
|
|
15775
|
+
ED: "blue",
|
|
15776
|
+
EN: "green",
|
|
15777
|
+
EB: "yellow",
|
|
15778
|
+
KD: "red",
|
|
15779
|
+
KO: "blue",
|
|
15780
|
+
PL: "green",
|
|
15781
|
+
NA: "blue",
|
|
15782
|
+
JI: "green",
|
|
15783
|
+
KN: "red"
|
|
15784
|
+
};
|
|
15785
|
+
var VALID_CODES20 = Object.keys(NIGERIA_STATE_PALETTES);
|
|
15786
|
+
var NG_THEME_CONFIG = {
|
|
15787
|
+
palettes: NIGERIA_STATE_PALETTES,
|
|
15788
|
+
accents: NIGERIA_ACCENT_MAP,
|
|
15789
|
+
flagUrlTemplate: (code) => VALID_CODES20.includes(code) ? `/flags/ng/${code}.svg` : null
|
|
15790
|
+
};
|
|
15791
|
+
var NIGERIA_STATE_COORDINATES = {
|
|
15792
|
+
KT: [7.6, 13],
|
|
15793
|
+
SO: [5.2, 13.1],
|
|
15794
|
+
ZA: [6.3, 12.2],
|
|
15795
|
+
KE: [4.2, 12.5],
|
|
15796
|
+
KD: [7.4, 10.5],
|
|
15797
|
+
KN: [8.5, 12],
|
|
15798
|
+
JI: [9.4, 12.2],
|
|
15799
|
+
AD: [12.4, 9.3],
|
|
15800
|
+
BO: [13.2, 11.8],
|
|
15801
|
+
YO: [11.7, 12],
|
|
15802
|
+
BA: [9.8, 10.3],
|
|
15803
|
+
GO: [11.2, 10.3],
|
|
15804
|
+
TA: [11.4, 8],
|
|
15805
|
+
KW: [4.5, 8.5],
|
|
15806
|
+
NI: [6, 9.9],
|
|
15807
|
+
FC: [7.5, 9.1],
|
|
15808
|
+
KO: [6.7, 7.8],
|
|
15809
|
+
PL: [9.2, 9.2],
|
|
15810
|
+
NA: [8.5, 8.5],
|
|
15811
|
+
BE: [8.8, 7.3],
|
|
15812
|
+
LA: [3.4, 6.5],
|
|
15813
|
+
OG: [3.3, 7],
|
|
15814
|
+
ON: [5.1, 7.3],
|
|
15815
|
+
EK: [5.3, 7.6],
|
|
15816
|
+
OS: [4.5, 7.5],
|
|
15817
|
+
OY: [3.9, 7.8],
|
|
15818
|
+
AB: [7.5, 5.4],
|
|
15819
|
+
AN: [6.9, 6.2],
|
|
15820
|
+
EB: [8.1, 6.3],
|
|
15821
|
+
EN: [7.5, 6.4],
|
|
15822
|
+
IM: [7.1, 5.5],
|
|
15823
|
+
AK: [7.9, 5],
|
|
15824
|
+
BY: [5.9, 4.7],
|
|
15825
|
+
CR: [8.3, 5.9],
|
|
15826
|
+
DE: [5.9, 5.5],
|
|
15827
|
+
ED: [5.6, 6.6],
|
|
15828
|
+
RI: [6.9, 4.8]
|
|
15829
|
+
};
|
|
15830
|
+
var NIGERIA_MAP_CENTER = [8, 9.5];
|
|
15831
|
+
var NIGERIA_MACRO_REGIONS = [
|
|
15832
|
+
{
|
|
15833
|
+
key: "north-west",
|
|
15834
|
+
label: "",
|
|
15835
|
+
codes: ["KT", "SO", "ZA", "KE", "KD", "KN", "JI"],
|
|
15836
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
15837
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
15838
|
+
},
|
|
15839
|
+
{
|
|
15840
|
+
key: "north-east",
|
|
15841
|
+
label: "",
|
|
15842
|
+
codes: ["AD", "BO", "YO", "BA", "GO", "TA"],
|
|
15843
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
15844
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
15845
|
+
},
|
|
15846
|
+
{
|
|
15847
|
+
key: "north-central",
|
|
15848
|
+
label: "",
|
|
15849
|
+
codes: ["KW", "NI", "FC", "KO", "PL", "NA", "BE"],
|
|
15850
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
15851
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
15852
|
+
},
|
|
15853
|
+
{
|
|
15854
|
+
key: "south-west",
|
|
15855
|
+
label: "",
|
|
15856
|
+
codes: ["LA", "OG", "ON", "EK", "OS", "OY"],
|
|
15857
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
15858
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
15859
|
+
},
|
|
15860
|
+
{
|
|
15861
|
+
key: "south-east",
|
|
15862
|
+
label: "",
|
|
15863
|
+
codes: ["AB", "AN", "EB", "EN", "IM"],
|
|
15864
|
+
gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
|
|
15865
|
+
iconColor: "text-purple-600 dark:text-purple-400"
|
|
15866
|
+
},
|
|
15867
|
+
{
|
|
15868
|
+
key: "south-south",
|
|
15869
|
+
label: "",
|
|
15870
|
+
codes: ["AK", "BY", "CR", "DE", "ED", "RI"],
|
|
15871
|
+
gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
|
|
15872
|
+
iconColor: "text-orange-600 dark:text-orange-400"
|
|
15873
|
+
}
|
|
15874
|
+
];
|
|
15875
|
+
var getNigeriaFlagUrl = (code) => getSubdivisionFlagUrl("NG", code);
|
|
15876
|
+
var getNigeriaHexColor = (code) => getSubdivisionHexColor("NG", code);
|
|
15877
|
+
var getNigeriaPalette = (code) => getSubdivisionPalette("NG", code);
|
|
15878
|
+
var getNigeriaGradient = (code, direction) => getSubdivisionGradient("NG", code, direction);
|
|
15879
|
+
var getNigeriaColors = (code) => getSubdivisionColors("NG", code);
|
|
15880
|
+
var getNigeriaAccent = (code) => getSubdivisionAccent("NG", code);
|
|
15881
|
+
var isValidNigeriaState = (code) => isValidSubdivision("NG", code);
|
|
15882
|
+
|
|
15883
|
+
// src/lib/themes/egypt.ts
|
|
15884
|
+
var EGYPT_GOVERNORATE_PALETTES = {
|
|
15885
|
+
BA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15886
|
+
JS: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
15887
|
+
UQ: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
|
|
15888
|
+
IS: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15889
|
+
GH: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15890
|
+
MF: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15891
|
+
QH: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
15892
|
+
QL: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
15893
|
+
SQ: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15894
|
+
SS: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
15895
|
+
SW: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15896
|
+
DQ: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15897
|
+
BS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
15898
|
+
DT: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15899
|
+
BH: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
15900
|
+
MT: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
15901
|
+
IK: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
15902
|
+
JZ: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
15903
|
+
FY: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
15904
|
+
WJ: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
15905
|
+
MN: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
15906
|
+
BN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
15907
|
+
KS: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15908
|
+
AT: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
15909
|
+
AN: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
15910
|
+
QN: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
15911
|
+
SJ: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" }
|
|
15912
|
+
};
|
|
15913
|
+
var EGYPT_ACCENT_MAP = {
|
|
15914
|
+
BA: "red",
|
|
15915
|
+
JS: "yellow",
|
|
15916
|
+
UQ: "purple",
|
|
15917
|
+
IS: "blue",
|
|
15918
|
+
GH: "green",
|
|
15919
|
+
MF: "blue",
|
|
15920
|
+
QH: "red",
|
|
15921
|
+
QL: "blue",
|
|
15922
|
+
SQ: "green",
|
|
15923
|
+
SS: "yellow",
|
|
15924
|
+
SW: "blue",
|
|
15925
|
+
DQ: "green",
|
|
15926
|
+
BS: "red",
|
|
15927
|
+
DT: "blue",
|
|
15928
|
+
BH: "green",
|
|
15929
|
+
MT: "yellow",
|
|
15930
|
+
IK: "blue",
|
|
15931
|
+
JZ: "red",
|
|
15932
|
+
FY: "green",
|
|
15933
|
+
WJ: "yellow",
|
|
15934
|
+
MN: "blue",
|
|
15935
|
+
BN: "green",
|
|
15936
|
+
KS: "blue",
|
|
15937
|
+
AT: "red",
|
|
15938
|
+
AN: "blue",
|
|
15939
|
+
QN: "green",
|
|
15940
|
+
SJ: "red"
|
|
15941
|
+
};
|
|
15942
|
+
var VALID_CODES21 = Object.keys(EGYPT_GOVERNORATE_PALETTES);
|
|
15943
|
+
var EG_THEME_CONFIG = {
|
|
15944
|
+
palettes: EGYPT_GOVERNORATE_PALETTES,
|
|
15945
|
+
accents: EGYPT_ACCENT_MAP,
|
|
15946
|
+
flagUrlTemplate: (code) => VALID_CODES21.includes(code) ? `/flags/eg/${code}.svg` : null
|
|
15947
|
+
};
|
|
15948
|
+
var EGYPT_GOVERNORATE_COORDINATES = {
|
|
15949
|
+
QH: [31.2, 30.1],
|
|
15950
|
+
JZ: [31.2, 29.9],
|
|
15951
|
+
QL: [31.2, 30.3],
|
|
15952
|
+
IK: [29.9, 31.2],
|
|
15953
|
+
BH: [30.5, 31],
|
|
15954
|
+
GH: [31, 30.9],
|
|
15955
|
+
MF: [31, 30.5],
|
|
15956
|
+
DQ: [31.4, 31],
|
|
15957
|
+
SQ: [31.5, 30.6],
|
|
15958
|
+
KS: [31.1, 31.3],
|
|
15959
|
+
DT: [31.7, 31.4],
|
|
15960
|
+
BS: [32.3, 31.3],
|
|
15961
|
+
IS: [32.3, 30.6],
|
|
15962
|
+
SW: [32.5, 30],
|
|
15963
|
+
SS: [33.5, 31],
|
|
15964
|
+
JS: [33.8, 29],
|
|
15965
|
+
BA: [33.5, 26],
|
|
15966
|
+
MN: [30.8, 28.1],
|
|
15967
|
+
FY: [30.8, 29.3],
|
|
15968
|
+
BN: [31.1, 29.1],
|
|
15969
|
+
AT: [31.2, 27.2],
|
|
15970
|
+
SJ: [31.6, 26.6],
|
|
15971
|
+
QN: [32.7, 26.2],
|
|
15972
|
+
UQ: [32.6, 25.7],
|
|
15973
|
+
AN: [32.9, 24.1],
|
|
15974
|
+
MT: [27, 31.3],
|
|
15975
|
+
WJ: [29, 25.5]
|
|
15976
|
+
};
|
|
15977
|
+
var EGYPT_MAP_CENTER = [30, 27];
|
|
15978
|
+
var EGYPT_MACRO_REGIONS = [
|
|
15979
|
+
{
|
|
15980
|
+
key: "cairo",
|
|
15981
|
+
label: "",
|
|
15982
|
+
codes: ["QH", "JZ", "QL"],
|
|
15983
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
15984
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
15985
|
+
},
|
|
15986
|
+
{
|
|
15987
|
+
key: "delta",
|
|
15988
|
+
label: "",
|
|
15989
|
+
codes: ["GH", "MF", "SQ", "DQ", "BS", "DT", "BH", "KS", "IK"],
|
|
15990
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
15991
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
15992
|
+
},
|
|
15993
|
+
{
|
|
15994
|
+
key: "canal",
|
|
15995
|
+
label: "",
|
|
15996
|
+
codes: ["IS", "SW", "SS", "JS", "BA"],
|
|
15997
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
15998
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
15999
|
+
},
|
|
16000
|
+
{
|
|
16001
|
+
key: "upper",
|
|
16002
|
+
label: "",
|
|
16003
|
+
codes: ["MN", "AT", "QN", "AN", "UQ", "FY", "BN", "SJ"],
|
|
16004
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
16005
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
16006
|
+
},
|
|
16007
|
+
{
|
|
16008
|
+
key: "western",
|
|
16009
|
+
label: "",
|
|
16010
|
+
codes: ["MT", "WJ"],
|
|
16011
|
+
gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
|
|
16012
|
+
iconColor: "text-purple-600 dark:text-purple-400"
|
|
16013
|
+
}
|
|
16014
|
+
];
|
|
16015
|
+
var getEgyptFlagUrl = (code) => getSubdivisionFlagUrl("EG", code);
|
|
16016
|
+
var getEgyptHexColor = (code) => getSubdivisionHexColor("EG", code);
|
|
16017
|
+
var getEgyptPalette = (code) => getSubdivisionPalette("EG", code);
|
|
16018
|
+
var getEgyptGradient = (code, direction) => getSubdivisionGradient("EG", code, direction);
|
|
16019
|
+
var getEgyptColors = (code) => getSubdivisionColors("EG", code);
|
|
16020
|
+
var getEgyptAccent = (code) => getSubdivisionAccent("EG", code);
|
|
16021
|
+
var isValidEgyptGovernorate = (code) => isValidSubdivision("EG", code);
|
|
16022
|
+
|
|
16023
|
+
// src/lib/themes/turkey.ts
|
|
16024
|
+
var TURKEY_PROVINCE_PALETTES = {
|
|
16025
|
+
IB: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16026
|
+
BU: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16027
|
+
BK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16028
|
+
CK: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16029
|
+
TG: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16030
|
+
ED: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16031
|
+
KL: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16032
|
+
SK: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
16033
|
+
YL: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16034
|
+
KC: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16035
|
+
BL: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16036
|
+
DU: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16037
|
+
BC: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
16038
|
+
IZ: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16039
|
+
AY: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16040
|
+
MN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16041
|
+
MG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16042
|
+
DN: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16043
|
+
AF: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16044
|
+
KU: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16045
|
+
US: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
16046
|
+
AL: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
|
|
16047
|
+
IC: { primary: "#003da5", secondary: "#ff6f00", text: "light" },
|
|
16048
|
+
HT: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16049
|
+
AA: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16050
|
+
AD: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16051
|
+
KM: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16052
|
+
IP: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16053
|
+
BD: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16054
|
+
OS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16055
|
+
AN: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16056
|
+
KO: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16057
|
+
KY: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16058
|
+
ES: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16059
|
+
SV: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16060
|
+
YZ: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
16061
|
+
KK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16062
|
+
CI: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16063
|
+
KH: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16064
|
+
AK: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16065
|
+
NG: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16066
|
+
NV: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
|
|
16067
|
+
KR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16068
|
+
TB: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16069
|
+
RI: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16070
|
+
AV: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16071
|
+
GI: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16072
|
+
OR: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16073
|
+
SS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16074
|
+
AM: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16075
|
+
TT: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16076
|
+
SP: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
16077
|
+
CM: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16078
|
+
ZO: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16079
|
+
KB: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16080
|
+
BR: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16081
|
+
KS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16082
|
+
GU: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16083
|
+
BB: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16084
|
+
EM: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16085
|
+
ER: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16086
|
+
EN: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16087
|
+
EG: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16088
|
+
ML: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16089
|
+
TC: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
|
|
16090
|
+
BG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16091
|
+
MS: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16092
|
+
DY: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16093
|
+
SU: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16094
|
+
MR: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16095
|
+
SR: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16096
|
+
SI: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16097
|
+
HK: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16098
|
+
VA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16099
|
+
KA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16100
|
+
IG: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16101
|
+
AR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16102
|
+
AG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16103
|
+
BT: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16104
|
+
KI: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16105
|
+
BM: { primary: "#6b2fa0", secondary: "#c8102e", text: "light" },
|
|
16106
|
+
GA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" }
|
|
16107
|
+
};
|
|
16108
|
+
var TURKEY_ACCENT_MAP = {
|
|
16109
|
+
IB: "red",
|
|
16110
|
+
BU: "green",
|
|
16111
|
+
BK: "blue",
|
|
16112
|
+
CK: "green",
|
|
16113
|
+
TG: "red",
|
|
16114
|
+
ED: "blue",
|
|
16115
|
+
KL: "green",
|
|
16116
|
+
SK: "yellow",
|
|
16117
|
+
YL: "blue",
|
|
16118
|
+
KC: "red",
|
|
16119
|
+
BL: "blue",
|
|
16120
|
+
DU: "green",
|
|
16121
|
+
BC: "yellow",
|
|
16122
|
+
IZ: "red",
|
|
16123
|
+
AY: "blue",
|
|
16124
|
+
MN: "green",
|
|
16125
|
+
MG: "blue",
|
|
16126
|
+
DN: "red",
|
|
16127
|
+
AF: "blue",
|
|
16128
|
+
KU: "green",
|
|
16129
|
+
US: "yellow",
|
|
16130
|
+
AL: "orange",
|
|
16131
|
+
IC: "blue",
|
|
16132
|
+
HT: "red",
|
|
16133
|
+
AA: "green",
|
|
16134
|
+
AD: "blue",
|
|
16135
|
+
KM: "red",
|
|
16136
|
+
IP: "green",
|
|
16137
|
+
BD: "blue",
|
|
16138
|
+
OS: "red",
|
|
16139
|
+
AN: "red",
|
|
16140
|
+
KO: "blue",
|
|
16141
|
+
KY: "red",
|
|
16142
|
+
ES: "blue",
|
|
16143
|
+
SV: "green",
|
|
16144
|
+
YZ: "yellow",
|
|
16145
|
+
KK: "blue",
|
|
16146
|
+
CI: "green",
|
|
16147
|
+
KH: "red",
|
|
16148
|
+
AK: "blue",
|
|
16149
|
+
NG: "green",
|
|
16150
|
+
NV: "purple",
|
|
16151
|
+
KR: "blue",
|
|
16152
|
+
TB: "green",
|
|
16153
|
+
RI: "blue",
|
|
16154
|
+
AV: "red",
|
|
16155
|
+
GI: "green",
|
|
16156
|
+
OR: "blue",
|
|
16157
|
+
SS: "red",
|
|
16158
|
+
AM: "green",
|
|
16159
|
+
TT: "blue",
|
|
16160
|
+
SP: "yellow",
|
|
16161
|
+
CM: "blue",
|
|
16162
|
+
ZO: "red",
|
|
16163
|
+
KB: "blue",
|
|
16164
|
+
BR: "green",
|
|
16165
|
+
KS: "red",
|
|
16166
|
+
GU: "blue",
|
|
16167
|
+
BB: "green",
|
|
16168
|
+
EM: "red",
|
|
16169
|
+
ER: "blue",
|
|
16170
|
+
EN: "green",
|
|
16171
|
+
EG: "blue",
|
|
16172
|
+
ML: "red",
|
|
16173
|
+
TC: "purple",
|
|
16174
|
+
BG: "blue",
|
|
16175
|
+
MS: "green",
|
|
16176
|
+
DY: "red",
|
|
16177
|
+
SU: "blue",
|
|
16178
|
+
MR: "green",
|
|
16179
|
+
SR: "red",
|
|
16180
|
+
SI: "blue",
|
|
16181
|
+
HK: "green",
|
|
16182
|
+
VA: "blue",
|
|
16183
|
+
KA: "red",
|
|
16184
|
+
IG: "green",
|
|
16185
|
+
AR: "blue",
|
|
16186
|
+
AG: "red",
|
|
16187
|
+
BT: "blue",
|
|
16188
|
+
KI: "green",
|
|
16189
|
+
BM: "purple",
|
|
16190
|
+
GA: "red"
|
|
16191
|
+
};
|
|
16192
|
+
var VALID_CODES22 = Object.keys(TURKEY_PROVINCE_PALETTES);
|
|
16193
|
+
var TR_THEME_CONFIG = {
|
|
16194
|
+
palettes: TURKEY_PROVINCE_PALETTES,
|
|
16195
|
+
accents: TURKEY_ACCENT_MAP,
|
|
16196
|
+
flagUrlTemplate: (code) => VALID_CODES22.includes(code) ? `/flags/tr/${code}.svg` : null
|
|
16197
|
+
};
|
|
16198
|
+
var TURKEY_PROVINCE_COORDINATES = {
|
|
16199
|
+
IB: [29, 41],
|
|
16200
|
+
BU: [29, 40.2],
|
|
16201
|
+
BK: [27.9, 39.6],
|
|
16202
|
+
CK: [26.4, 40.2],
|
|
16203
|
+
TG: [27.5, 41.2],
|
|
16204
|
+
ED: [26.6, 41.7],
|
|
16205
|
+
KL: [27.2, 41.7],
|
|
16206
|
+
SK: [30.4, 40.7],
|
|
16207
|
+
YL: [29.3, 40.7],
|
|
16208
|
+
KC: [29.9, 40.8],
|
|
16209
|
+
BL: [31.6, 40.7],
|
|
16210
|
+
DU: [31.2, 40.8],
|
|
16211
|
+
BC: [30, 40],
|
|
16212
|
+
IZ: [27.1, 38.4],
|
|
16213
|
+
AY: [27.8, 37.8],
|
|
16214
|
+
MN: [27.4, 38.6],
|
|
16215
|
+
MG: [28.4, 37.2],
|
|
16216
|
+
DN: [29.1, 37.8],
|
|
16217
|
+
AF: [30.5, 38.7],
|
|
16218
|
+
KU: [29.9, 39.4],
|
|
16219
|
+
US: [29.4, 38.7],
|
|
16220
|
+
AL: [30.7, 36.9],
|
|
16221
|
+
IC: [34.6, 36.8],
|
|
16222
|
+
HT: [36.4, 36.4],
|
|
16223
|
+
AA: [35.3, 37],
|
|
16224
|
+
AD: [38.3, 37.8],
|
|
16225
|
+
KM: [36.9, 37.6],
|
|
16226
|
+
IP: [30.3, 37.7],
|
|
16227
|
+
BD: [30.3, 37.7],
|
|
16228
|
+
OS: [36.2, 37.1],
|
|
16229
|
+
AN: [32.9, 39.9],
|
|
16230
|
+
KO: [32.5, 37.9],
|
|
16231
|
+
KY: [35.5, 38.7],
|
|
16232
|
+
ES: [30.5, 39.8],
|
|
16233
|
+
SV: [37, 39.8],
|
|
16234
|
+
YZ: [34.8, 39.8],
|
|
16235
|
+
KK: [33.5, 39.8],
|
|
16236
|
+
CI: [33.6, 40.6],
|
|
16237
|
+
KH: [34.2, 39.1],
|
|
16238
|
+
AK: [34, 38.4],
|
|
16239
|
+
NG: [34.7, 37.9],
|
|
16240
|
+
NV: [34.7, 38.6],
|
|
16241
|
+
KR: [33.2, 37.2],
|
|
16242
|
+
TB: [39.7, 41],
|
|
16243
|
+
RI: [40.5, 41],
|
|
16244
|
+
AV: [41.8, 41.2],
|
|
16245
|
+
GI: [38.4, 40.9],
|
|
16246
|
+
OR: [37.9, 41],
|
|
16247
|
+
SS: [36.3, 41.3],
|
|
16248
|
+
AM: [35.8, 40.7],
|
|
16249
|
+
TT: [36.6, 40.3],
|
|
16250
|
+
SP: [35, 42],
|
|
16251
|
+
CM: [34.9, 40.5],
|
|
16252
|
+
ZO: [31.8, 41.4],
|
|
16253
|
+
KB: [32.6, 41.2],
|
|
16254
|
+
BR: [32.3, 41.6],
|
|
16255
|
+
KS: [33.8, 41.4],
|
|
16256
|
+
GU: [39.5, 40.4],
|
|
16257
|
+
BB: [40.2, 40.3],
|
|
16258
|
+
EM: [41.3, 39.9],
|
|
16259
|
+
ER: [39.5, 39.9],
|
|
16260
|
+
EN: [39.5, 39.5],
|
|
16261
|
+
EG: [38.7, 38.7],
|
|
16262
|
+
ML: [38.3, 38.3],
|
|
16263
|
+
TC: [39.5, 39.1],
|
|
16264
|
+
BG: [40.5, 39],
|
|
16265
|
+
MS: [41.5, 38.7],
|
|
16266
|
+
DY: [40.2, 37.9],
|
|
16267
|
+
SU: [39, 37.2],
|
|
16268
|
+
MR: [40.7, 37.3],
|
|
16269
|
+
SR: [42.5, 37.4],
|
|
16270
|
+
SI: [42, 37.9],
|
|
16271
|
+
HK: [43.7, 37.6],
|
|
16272
|
+
VA: [43.4, 38.5],
|
|
16273
|
+
KA: [43.1, 40.6],
|
|
16274
|
+
IG: [44, 39.9],
|
|
16275
|
+
AR: [42.7, 41.1],
|
|
16276
|
+
AG: [43.9, 39.7],
|
|
16277
|
+
BT: [42.1, 38.4],
|
|
16278
|
+
KI: [37.1, 36.7],
|
|
16279
|
+
BM: [41.1, 37.9],
|
|
16280
|
+
GA: [37.4, 37.1]
|
|
16281
|
+
};
|
|
16282
|
+
var TURKEY_MAP_CENTER = [35, 39];
|
|
16283
|
+
var TURKEY_MACRO_REGIONS = [
|
|
16284
|
+
{
|
|
16285
|
+
key: "marmara",
|
|
16286
|
+
label: "",
|
|
16287
|
+
codes: ["IB", "BU", "BK", "CK", "TG", "ED", "KL", "SK", "YL", "KC", "BL", "DU", "BC"],
|
|
16288
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
16289
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
16290
|
+
},
|
|
16291
|
+
{
|
|
16292
|
+
key: "aegean",
|
|
16293
|
+
label: "",
|
|
16294
|
+
codes: ["IZ", "AY", "MN", "MG", "DN", "AF", "KU", "US"],
|
|
16295
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
16296
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
16297
|
+
},
|
|
16298
|
+
{
|
|
16299
|
+
key: "mediterranean",
|
|
16300
|
+
label: "",
|
|
16301
|
+
codes: ["AL", "IC", "HT", "AA", "AD", "KM", "IP", "BD", "OS"],
|
|
16302
|
+
gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
|
|
16303
|
+
iconColor: "text-orange-600 dark:text-orange-400"
|
|
16304
|
+
},
|
|
16305
|
+
{
|
|
16306
|
+
key: "central",
|
|
16307
|
+
label: "",
|
|
16308
|
+
codes: ["AN", "KO", "KY", "ES", "SV", "YZ", "KK", "CI", "KH", "AK", "NG", "NV", "KR"],
|
|
16309
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
16310
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
16311
|
+
},
|
|
16312
|
+
{
|
|
16313
|
+
key: "black-sea",
|
|
16314
|
+
label: "",
|
|
16315
|
+
codes: ["TB", "RI", "AV", "GI", "OR", "SS", "AM", "TT", "SP", "CM", "ZO", "KB", "BR", "KS", "GU", "BB"],
|
|
16316
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
16317
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
16318
|
+
},
|
|
16319
|
+
{
|
|
16320
|
+
key: "eastern",
|
|
16321
|
+
label: "",
|
|
16322
|
+
codes: ["EM", "ER", "EN", "EG", "ML", "TC", "BG", "MS", "DY", "SU", "MR", "SR", "SI", "HK", "VA", "KA", "IG", "AR", "AG", "BT", "KI", "BM", "GA"],
|
|
16323
|
+
gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
|
|
16324
|
+
iconColor: "text-purple-600 dark:text-purple-400"
|
|
16325
|
+
}
|
|
16326
|
+
];
|
|
16327
|
+
var getTurkeyFlagUrl = (code) => getSubdivisionFlagUrl("TR", code);
|
|
16328
|
+
var getTurkeyHexColor = (code) => getSubdivisionHexColor("TR", code);
|
|
16329
|
+
var getTurkeyPalette = (code) => getSubdivisionPalette("TR", code);
|
|
16330
|
+
var getTurkeyGradient = (code, direction) => getSubdivisionGradient("TR", code, direction);
|
|
16331
|
+
var getTurkeyColors = (code) => getSubdivisionColors("TR", code);
|
|
16332
|
+
var getTurkeyAccent = (code) => getSubdivisionAccent("TR", code);
|
|
16333
|
+
var isValidTurkeyProvince = (code) => isValidSubdivision("TR", code);
|
|
16334
|
+
|
|
16335
|
+
// src/lib/themes/poland.ts
|
|
16336
|
+
var POLAND_VOIVODESHIP_PALETTES = {
|
|
16337
|
+
LD: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16338
|
+
MZ: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16339
|
+
SK: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16340
|
+
PD: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16341
|
+
LU: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16342
|
+
PK: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16343
|
+
OP: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16344
|
+
MA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16345
|
+
WN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16346
|
+
PM: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
16347
|
+
DS: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16348
|
+
ZP: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16349
|
+
LB: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16350
|
+
WP: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16351
|
+
KP: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16352
|
+
SL: { primary: "#003da5", secondary: "#ffd700", text: "light" }
|
|
16353
|
+
};
|
|
16354
|
+
var POLAND_ACCENT_MAP = {
|
|
16355
|
+
LD: "red",
|
|
16356
|
+
MZ: "red",
|
|
16357
|
+
SK: "blue",
|
|
16358
|
+
PD: "red",
|
|
16359
|
+
LU: "green",
|
|
16360
|
+
PK: "blue",
|
|
16361
|
+
OP: "blue",
|
|
16362
|
+
MA: "red",
|
|
16363
|
+
WN: "green",
|
|
16364
|
+
PM: "yellow",
|
|
16365
|
+
DS: "blue",
|
|
16366
|
+
ZP: "blue",
|
|
16367
|
+
LB: "green",
|
|
16368
|
+
WP: "red",
|
|
16369
|
+
KP: "red",
|
|
16370
|
+
SL: "blue"
|
|
16371
|
+
};
|
|
16372
|
+
var VALID_CODES23 = Object.keys(POLAND_VOIVODESHIP_PALETTES);
|
|
16373
|
+
var PL_THEME_CONFIG = {
|
|
16374
|
+
palettes: POLAND_VOIVODESHIP_PALETTES,
|
|
16375
|
+
accents: POLAND_ACCENT_MAP,
|
|
16376
|
+
flagUrlTemplate: (code) => VALID_CODES23.includes(code) ? `/flags/pl/${code}.svg` : null
|
|
16377
|
+
};
|
|
16378
|
+
var POLAND_VOIVODESHIP_COORDINATES = {
|
|
16379
|
+
LD: [19.5, 51.8],
|
|
16380
|
+
MZ: [20.9, 52.2],
|
|
16381
|
+
SK: [20.7, 50.9],
|
|
16382
|
+
PD: [23, 53.2],
|
|
16383
|
+
LU: [22.6, 51.2],
|
|
16384
|
+
PK: [22, 49.8],
|
|
16385
|
+
OP: [17.9, 50.7],
|
|
16386
|
+
MA: [20, 50.1],
|
|
16387
|
+
WN: [20.5, 53.8],
|
|
16388
|
+
PM: [18, 54.2],
|
|
16389
|
+
DS: [16.5, 51.1],
|
|
16390
|
+
ZP: [15.5, 53.4],
|
|
16391
|
+
LB: [15.5, 52],
|
|
16392
|
+
WP: [17, 52],
|
|
16393
|
+
KP: [18.6, 53],
|
|
16394
|
+
SL: [19, 50.3]
|
|
16395
|
+
};
|
|
16396
|
+
var POLAND_MAP_CENTER = [19.5, 52];
|
|
16397
|
+
var POLAND_MACRO_REGIONS = [
|
|
16398
|
+
{
|
|
16399
|
+
key: "eastern",
|
|
16400
|
+
label: "",
|
|
16401
|
+
codes: ["LU", "PD", "PK", "SK", "WN"],
|
|
16402
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
16403
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
16404
|
+
},
|
|
16405
|
+
{
|
|
16406
|
+
key: "central",
|
|
16407
|
+
label: "",
|
|
16408
|
+
codes: ["LD", "MZ", "MA", "OP"],
|
|
16409
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
16410
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
16411
|
+
},
|
|
16412
|
+
{
|
|
16413
|
+
key: "western",
|
|
16414
|
+
label: "",
|
|
16415
|
+
codes: ["DS", "LB", "ZP", "WP"],
|
|
16416
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
16417
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
16418
|
+
},
|
|
16419
|
+
{
|
|
16420
|
+
key: "northern",
|
|
16421
|
+
label: "",
|
|
16422
|
+
codes: ["PM", "KP"],
|
|
16423
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
16424
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
16425
|
+
},
|
|
16426
|
+
{
|
|
16427
|
+
key: "southern",
|
|
16428
|
+
label: "",
|
|
16429
|
+
codes: ["SL"],
|
|
16430
|
+
gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
|
|
16431
|
+
iconColor: "text-purple-600 dark:text-purple-400"
|
|
16432
|
+
}
|
|
16433
|
+
];
|
|
16434
|
+
var getPolandFlagUrl = (code) => getSubdivisionFlagUrl("PL", code);
|
|
16435
|
+
var getPolandHexColor = (code) => getSubdivisionHexColor("PL", code);
|
|
16436
|
+
var getPolandPalette = (code) => getSubdivisionPalette("PL", code);
|
|
16437
|
+
var getPolandGradient = (code, direction) => getSubdivisionGradient("PL", code, direction);
|
|
16438
|
+
var getPolandColors = (code) => getSubdivisionColors("PL", code);
|
|
16439
|
+
var getPolandAccent = (code) => getSubdivisionAccent("PL", code);
|
|
16440
|
+
var isValidPolandVoivodeship = (code) => isValidSubdivision("PL", code);
|
|
16441
|
+
|
|
16442
|
+
// src/lib/themes/sweden.ts
|
|
16443
|
+
var SWEDEN_COUNTY_PALETTES = {
|
|
16444
|
+
KA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16445
|
+
OG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16446
|
+
NB: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16447
|
+
VN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16448
|
+
VB: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16449
|
+
GT: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
16450
|
+
ST: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16451
|
+
UP: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16452
|
+
BL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16453
|
+
VG: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16454
|
+
KO: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16455
|
+
GV: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16456
|
+
JO: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16457
|
+
KR: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16458
|
+
OR: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16459
|
+
VM: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
16460
|
+
HA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16461
|
+
SD: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16462
|
+
VR: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16463
|
+
JA: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16464
|
+
SN: { primary: "#ffd700", secondary: "#003da5", text: "dark" }
|
|
16465
|
+
};
|
|
16466
|
+
var SWEDEN_ACCENT_MAP = {
|
|
16467
|
+
KA: "blue",
|
|
16468
|
+
OG: "blue",
|
|
16469
|
+
NB: "green",
|
|
16470
|
+
VN: "red",
|
|
16471
|
+
VB: "blue",
|
|
16472
|
+
GT: "yellow",
|
|
16473
|
+
ST: "blue",
|
|
16474
|
+
UP: "red",
|
|
16475
|
+
BL: "blue",
|
|
16476
|
+
VG: "green",
|
|
16477
|
+
KO: "blue",
|
|
16478
|
+
GV: "red",
|
|
16479
|
+
JO: "green",
|
|
16480
|
+
KR: "red",
|
|
16481
|
+
OR: "blue",
|
|
16482
|
+
VM: "yellow",
|
|
16483
|
+
HA: "blue",
|
|
16484
|
+
SD: "green",
|
|
16485
|
+
VR: "red",
|
|
16486
|
+
JA: "blue",
|
|
16487
|
+
SN: "yellow"
|
|
16488
|
+
};
|
|
16489
|
+
var VALID_CODES24 = Object.keys(SWEDEN_COUNTY_PALETTES);
|
|
16490
|
+
var SE_THEME_CONFIG = {
|
|
16491
|
+
palettes: SWEDEN_COUNTY_PALETTES,
|
|
16492
|
+
accents: SWEDEN_ACCENT_MAP,
|
|
16493
|
+
flagUrlTemplate: (code) => VALID_CODES24.includes(code) ? `/flags/se/${code}.svg` : null
|
|
16494
|
+
};
|
|
16495
|
+
var SWEDEN_COUNTY_COORDINATES = {
|
|
16496
|
+
ST: [18.1, 59.3],
|
|
16497
|
+
UP: [17.6, 59.9],
|
|
16498
|
+
SD: [17, 59],
|
|
16499
|
+
OG: [15.6, 58.4],
|
|
16500
|
+
JO: [14.2, 57.8],
|
|
16501
|
+
KR: [14.8, 56.9],
|
|
16502
|
+
KA: [16.4, 57],
|
|
16503
|
+
GT: [18.5, 57.6],
|
|
16504
|
+
BL: [15.6, 56.2],
|
|
16505
|
+
SN: [13.2, 55.9],
|
|
16506
|
+
HA: [12.7, 56.9],
|
|
16507
|
+
VG: [12.3, 57.7],
|
|
16508
|
+
VR: [13.5, 59.4],
|
|
16509
|
+
OR: [15.2, 59.3],
|
|
16510
|
+
VM: [16.5, 59.6],
|
|
16511
|
+
KO: [14.5, 61],
|
|
16512
|
+
GV: [16.8, 60.7],
|
|
16513
|
+
VN: [17.9, 62.6],
|
|
16514
|
+
JA: [14.6, 63.2],
|
|
16515
|
+
VB: [19.8, 64.7],
|
|
16516
|
+
NB: [20.2, 66.8]
|
|
16517
|
+
};
|
|
16518
|
+
var SWEDEN_MAP_CENTER = [16, 63];
|
|
16519
|
+
var SWEDEN_MACRO_REGIONS = [
|
|
16520
|
+
{
|
|
16521
|
+
key: "norrland",
|
|
16522
|
+
label: "",
|
|
16523
|
+
codes: ["NB", "VB", "VN", "JA", "GV"],
|
|
16524
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
16525
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
16526
|
+
},
|
|
16527
|
+
{
|
|
16528
|
+
key: "svealand",
|
|
16529
|
+
label: "",
|
|
16530
|
+
codes: ["ST", "UP", "VM", "SD", "OR", "VR", "KO"],
|
|
16531
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
16532
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
16533
|
+
},
|
|
16534
|
+
{
|
|
16535
|
+
key: "gotaland",
|
|
16536
|
+
label: "",
|
|
16537
|
+
codes: ["VG", "SN", "HA", "JO", "KR", "KA", "OG", "BL", "GT"],
|
|
16538
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
16539
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
16540
|
+
}
|
|
16541
|
+
];
|
|
16542
|
+
var getSwedenFlagUrl = (code) => getSubdivisionFlagUrl("SE", code);
|
|
16543
|
+
var getSwedenHexColor = (code) => getSubdivisionHexColor("SE", code);
|
|
16544
|
+
var getSwedenPalette = (code) => getSubdivisionPalette("SE", code);
|
|
16545
|
+
var getSwedenGradient = (code, direction) => getSubdivisionGradient("SE", code, direction);
|
|
16546
|
+
var getSwedenColors = (code) => getSubdivisionColors("SE", code);
|
|
16547
|
+
var getSwedenAccent = (code) => getSubdivisionAccent("SE", code);
|
|
16548
|
+
var isValidSwedenCounty = (code) => isValidSubdivision("SE", code);
|
|
16549
|
+
|
|
16550
|
+
// src/lib/themes/norway.ts
|
|
16551
|
+
var NORWAY_COUNTY_PALETTES = {
|
|
16552
|
+
VF: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16553
|
+
TE: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16554
|
+
RO: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16555
|
+
OF: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16556
|
+
OS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16557
|
+
AK: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16558
|
+
FI: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16559
|
+
TD: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16560
|
+
MR: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16561
|
+
TR: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16562
|
+
NO: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
16563
|
+
BU: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16564
|
+
AG: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16565
|
+
IN: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16566
|
+
VL: { primary: "#003da5", secondary: "#009640", text: "light" }
|
|
16567
|
+
};
|
|
16568
|
+
var NORWAY_ACCENT_MAP = {
|
|
16569
|
+
VF: "blue",
|
|
16570
|
+
TE: "red",
|
|
16571
|
+
RO: "blue",
|
|
16572
|
+
OF: "green",
|
|
16573
|
+
OS: "red",
|
|
16574
|
+
AK: "blue",
|
|
16575
|
+
FI: "green",
|
|
16576
|
+
TD: "red",
|
|
16577
|
+
MR: "blue",
|
|
16578
|
+
TR: "blue",
|
|
16579
|
+
NO: "yellow",
|
|
16580
|
+
BU: "blue",
|
|
16581
|
+
AG: "green",
|
|
16582
|
+
IN: "red",
|
|
16583
|
+
VL: "blue"
|
|
16584
|
+
};
|
|
16585
|
+
var VALID_CODES25 = Object.keys(NORWAY_COUNTY_PALETTES);
|
|
16586
|
+
var NO_THEME_CONFIG = {
|
|
16587
|
+
palettes: NORWAY_COUNTY_PALETTES,
|
|
16588
|
+
accents: NORWAY_ACCENT_MAP,
|
|
16589
|
+
flagUrlTemplate: (code) => VALID_CODES25.includes(code) ? `/flags/no/${code}.svg` : null
|
|
16590
|
+
};
|
|
16591
|
+
var NORWAY_COUNTY_COORDINATES = {
|
|
16592
|
+
OS: [10.7, 59.9],
|
|
16593
|
+
AK: [11.1, 59.7],
|
|
16594
|
+
OF: [11.4, 59.3],
|
|
16595
|
+
VF: [10.2, 59.2],
|
|
16596
|
+
BU: [9.6, 60],
|
|
16597
|
+
IN: [11, 61],
|
|
16598
|
+
TE: [8.5, 59.2],
|
|
16599
|
+
AG: [7.5, 58.3],
|
|
16600
|
+
RO: [5.7, 59],
|
|
16601
|
+
VL: [5.3, 60.4],
|
|
16602
|
+
MR: [7, 62.5],
|
|
16603
|
+
TD: [10.4, 63.4],
|
|
16604
|
+
NO: [14.4, 67.3],
|
|
16605
|
+
TR: [18.9, 69.6],
|
|
16606
|
+
FI: [25.7, 70.1]
|
|
16607
|
+
};
|
|
16608
|
+
var NORWAY_MAP_CENTER = [15, 65];
|
|
16609
|
+
var NORWAY_MACRO_REGIONS = [
|
|
16610
|
+
{
|
|
16611
|
+
key: "ostlandet",
|
|
16612
|
+
label: "",
|
|
16613
|
+
codes: ["OS", "AK", "OF", "VF", "BU", "IN", "TE"],
|
|
16614
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
16615
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
16616
|
+
},
|
|
16617
|
+
{
|
|
16618
|
+
key: "vestlandet",
|
|
16619
|
+
label: "",
|
|
16620
|
+
codes: ["RO", "VL", "MR"],
|
|
16621
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
16622
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
16623
|
+
},
|
|
16624
|
+
{
|
|
16625
|
+
key: "sorlandet",
|
|
16626
|
+
label: "",
|
|
16627
|
+
codes: ["AG"],
|
|
16628
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
16629
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
16630
|
+
},
|
|
16631
|
+
{
|
|
16632
|
+
key: "trondelag",
|
|
16633
|
+
label: "",
|
|
16634
|
+
codes: ["TD"],
|
|
16635
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
16636
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
16637
|
+
},
|
|
16638
|
+
{
|
|
16639
|
+
key: "nord-norge",
|
|
16640
|
+
label: "",
|
|
16641
|
+
codes: ["NO", "TR", "FI"],
|
|
16642
|
+
gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
|
|
16643
|
+
iconColor: "text-purple-600 dark:text-purple-400"
|
|
16644
|
+
}
|
|
16645
|
+
];
|
|
16646
|
+
var getNorwayFlagUrl = (code) => getSubdivisionFlagUrl("NO", code);
|
|
16647
|
+
var getNorwayHexColor = (code) => getSubdivisionHexColor("NO", code);
|
|
16648
|
+
var getNorwayPalette = (code) => getSubdivisionPalette("NO", code);
|
|
16649
|
+
var getNorwayGradient = (code, direction) => getSubdivisionGradient("NO", code, direction);
|
|
16650
|
+
var getNorwayColors = (code) => getSubdivisionColors("NO", code);
|
|
16651
|
+
var getNorwayAccent = (code) => getSubdivisionAccent("NO", code);
|
|
16652
|
+
var isValidNorwayCounty = (code) => isValidSubdivision("NO", code);
|
|
16653
|
+
|
|
16654
|
+
// src/lib/themes/netherlands.ts
|
|
16655
|
+
var NETHERLANDS_PROVINCE_PALETTES = {
|
|
16656
|
+
FR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16657
|
+
GR: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16658
|
+
FL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16659
|
+
ZE: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16660
|
+
NH: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16661
|
+
ZH: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16662
|
+
DR: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16663
|
+
GE: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16664
|
+
LI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16665
|
+
OV: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16666
|
+
NB: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16667
|
+
UT: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" }
|
|
16668
|
+
};
|
|
16669
|
+
var NETHERLANDS_ACCENT_MAP = {
|
|
16670
|
+
FR: "blue",
|
|
16671
|
+
GR: "green",
|
|
16672
|
+
FL: "blue",
|
|
16673
|
+
ZE: "red",
|
|
16674
|
+
NH: "red",
|
|
16675
|
+
ZH: "blue",
|
|
16676
|
+
DR: "green",
|
|
16677
|
+
GE: "blue",
|
|
16678
|
+
LI: "red",
|
|
16679
|
+
OV: "red",
|
|
16680
|
+
NB: "red",
|
|
16681
|
+
UT: "red"
|
|
16682
|
+
};
|
|
16683
|
+
var VALID_CODES26 = Object.keys(NETHERLANDS_PROVINCE_PALETTES);
|
|
16684
|
+
var NL_THEME_CONFIG = {
|
|
16685
|
+
palettes: NETHERLANDS_PROVINCE_PALETTES,
|
|
16686
|
+
accents: NETHERLANDS_ACCENT_MAP,
|
|
16687
|
+
flagUrlTemplate: (code) => VALID_CODES26.includes(code) ? `/flags/nl/${code}.svg` : null
|
|
16688
|
+
};
|
|
16689
|
+
var NETHERLANDS_PROVINCE_COORDINATES = {
|
|
16690
|
+
NH: [4.9, 52.5],
|
|
16691
|
+
ZH: [4.5, 52],
|
|
16692
|
+
UT: [5.1, 52.1],
|
|
16693
|
+
FL: [5.5, 52.5],
|
|
16694
|
+
NB: [5.1, 51.5],
|
|
16695
|
+
LI: [5.9, 51.2],
|
|
16696
|
+
ZE: [3.8, 51.5],
|
|
16697
|
+
GE: [5.9, 52],
|
|
16698
|
+
OV: [6.4, 52.4],
|
|
16699
|
+
FR: [5.7, 53.2],
|
|
16700
|
+
GR: [6.7, 53.2],
|
|
16701
|
+
DR: [6.6, 52.8]
|
|
16702
|
+
};
|
|
16703
|
+
var NETHERLANDS_MAP_CENTER = [5.3, 52.2];
|
|
16704
|
+
var NETHERLANDS_MACRO_REGIONS = [
|
|
16705
|
+
{
|
|
16706
|
+
key: "randstad",
|
|
16707
|
+
label: "",
|
|
16708
|
+
codes: ["NH", "ZH", "UT", "FL"],
|
|
16709
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
16710
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
16711
|
+
},
|
|
16712
|
+
{
|
|
16713
|
+
key: "south",
|
|
16714
|
+
label: "",
|
|
16715
|
+
codes: ["NB", "LI", "ZE"],
|
|
16716
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
16717
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
16718
|
+
},
|
|
16719
|
+
{
|
|
16720
|
+
key: "east",
|
|
16721
|
+
label: "",
|
|
16722
|
+
codes: ["GE", "OV"],
|
|
16723
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
16724
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
16725
|
+
},
|
|
16726
|
+
{
|
|
16727
|
+
key: "north",
|
|
16728
|
+
label: "",
|
|
16729
|
+
codes: ["FR", "GR", "DR"],
|
|
16730
|
+
gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
|
|
16731
|
+
iconColor: "text-amber-600 dark:text-amber-400"
|
|
16732
|
+
}
|
|
16733
|
+
];
|
|
16734
|
+
var getNetherlandsFlagUrl = (code) => getSubdivisionFlagUrl("NL", code);
|
|
16735
|
+
var getNetherlandsHexColor = (code) => getSubdivisionHexColor("NL", code);
|
|
16736
|
+
var getNetherlandsPalette = (code) => getSubdivisionPalette("NL", code);
|
|
16737
|
+
var getNetherlandsGradient = (code, direction) => getSubdivisionGradient("NL", code, direction);
|
|
16738
|
+
var getNetherlandsColors = (code) => getSubdivisionColors("NL", code);
|
|
16739
|
+
var getNetherlandsAccent = (code) => getSubdivisionAccent("NL", code);
|
|
16740
|
+
var isValidNetherlandsProvince = (code) => isValidSubdivision("NL", code);
|
|
16741
|
+
|
|
16742
|
+
// src/lib/themes/philippines.ts
|
|
16743
|
+
var PHILIPPINES_PROVINCE_PALETTES = {
|
|
16744
|
+
MN: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16745
|
+
TT: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16746
|
+
BO: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16747
|
+
CB: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16748
|
+
BS: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16749
|
+
ZS: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16750
|
+
SU: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16751
|
+
AQ: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16752
|
+
PL: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16753
|
+
RO: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
16754
|
+
AL: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16755
|
+
CS: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16756
|
+
NA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16757
|
+
BN: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16758
|
+
CG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16759
|
+
PN: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16760
|
+
BT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16761
|
+
MC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16762
|
+
QZ: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16763
|
+
ES: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16764
|
+
LE: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16765
|
+
SM: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16766
|
+
NS: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16767
|
+
CM: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
|
|
16768
|
+
DI: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16769
|
+
DS: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16770
|
+
IS: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16771
|
+
LL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16772
|
+
II: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16773
|
+
AN: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16774
|
+
BA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16775
|
+
LG: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16776
|
+
RI: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16777
|
+
LN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16778
|
+
IL: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16779
|
+
LS: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16780
|
+
NC: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
16781
|
+
MG: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16782
|
+
SK: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16783
|
+
SC: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16784
|
+
SG: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16785
|
+
SS: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16786
|
+
AS: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16787
|
+
DO: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16788
|
+
DV: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16789
|
+
BK: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16790
|
+
CL: { primary: "#ffd700", secondary: "#009640", text: "dark" },
|
|
16791
|
+
CE: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16792
|
+
MA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16793
|
+
CO: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16794
|
+
DA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16795
|
+
GS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16796
|
+
CD: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16797
|
+
BU: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16798
|
+
PP: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16799
|
+
OR: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16800
|
+
TA: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16801
|
+
NV: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16802
|
+
SA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16803
|
+
OL: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16804
|
+
QC: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16805
|
+
SJ: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16806
|
+
PA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16807
|
+
LP: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16808
|
+
MU: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16809
|
+
LU: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16810
|
+
ZA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16811
|
+
ZN: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16812
|
+
ND: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
16813
|
+
MD: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16814
|
+
AB: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16815
|
+
AP: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16816
|
+
AU: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16817
|
+
IB: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16818
|
+
IF: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
16819
|
+
MT: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
|
|
16820
|
+
QR: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
16821
|
+
NE: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16822
|
+
PM: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16823
|
+
BG: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16824
|
+
ZM: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16825
|
+
CV: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16826
|
+
MR: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16827
|
+
SQ: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
|
|
16828
|
+
GU: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
16829
|
+
CT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
16830
|
+
MB: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
16831
|
+
MQ: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16832
|
+
BI: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
16833
|
+
SL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16834
|
+
NR: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
16835
|
+
AK: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
16836
|
+
CP: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
16837
|
+
CN: { primary: "#009640", secondary: "#003da5", text: "light" },
|
|
16838
|
+
SR: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
16839
|
+
IN: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
16840
|
+
TR: { primary: "#009640", secondary: "#f0f0f0", text: "light" }
|
|
16841
|
+
};
|
|
16842
|
+
var PHILIPPINES_ACCENT_MAP = {
|
|
16843
|
+
MN: "blue",
|
|
16844
|
+
TT: "green",
|
|
16845
|
+
BO: "red",
|
|
16846
|
+
CB: "blue",
|
|
16847
|
+
BS: "green",
|
|
16848
|
+
ZS: "red",
|
|
16849
|
+
SU: "blue",
|
|
16850
|
+
AQ: "green",
|
|
16851
|
+
PL: "blue",
|
|
16852
|
+
RO: "yellow",
|
|
16853
|
+
AL: "red",
|
|
16854
|
+
CS: "green",
|
|
16855
|
+
NA: "blue",
|
|
16856
|
+
BN: "red",
|
|
16857
|
+
CG: "blue",
|
|
16858
|
+
PN: "green",
|
|
16859
|
+
BT: "red",
|
|
16860
|
+
MC: "blue",
|
|
16861
|
+
QZ: "green",
|
|
16862
|
+
ES: "blue",
|
|
16863
|
+
LE: "red",
|
|
16864
|
+
SM: "green",
|
|
16865
|
+
NS: "blue",
|
|
16866
|
+
CM: "purple",
|
|
16867
|
+
DI: "blue",
|
|
16868
|
+
DS: "red",
|
|
16869
|
+
IS: "green",
|
|
16870
|
+
LL: "blue",
|
|
16871
|
+
II: "red",
|
|
16872
|
+
AN: "green",
|
|
16873
|
+
BA: "blue",
|
|
16874
|
+
LG: "green",
|
|
16875
|
+
RI: "blue",
|
|
16876
|
+
LN: "red",
|
|
16877
|
+
IL: "green",
|
|
16878
|
+
LS: "blue",
|
|
16879
|
+
NC: "yellow",
|
|
16880
|
+
MG: "green",
|
|
16881
|
+
SK: "red",
|
|
16882
|
+
SC: "blue",
|
|
16883
|
+
SG: "red",
|
|
16884
|
+
SS: "green",
|
|
16885
|
+
AS: "blue",
|
|
16886
|
+
DO: "red",
|
|
16887
|
+
DV: "blue",
|
|
16888
|
+
BK: "green",
|
|
16889
|
+
CL: "yellow",
|
|
16890
|
+
CE: "blue",
|
|
16891
|
+
MA: "red",
|
|
16892
|
+
CO: "green",
|
|
16893
|
+
DA: "blue",
|
|
16894
|
+
GS: "red",
|
|
16895
|
+
CD: "blue",
|
|
16896
|
+
BU: "green",
|
|
16897
|
+
PP: "blue",
|
|
16898
|
+
OR: "red",
|
|
16899
|
+
TA: "blue",
|
|
16900
|
+
NV: "green",
|
|
16901
|
+
SA: "red",
|
|
16902
|
+
OL: "blue",
|
|
16903
|
+
QC: "red",
|
|
16904
|
+
SJ: "blue",
|
|
16905
|
+
PA: "green",
|
|
16906
|
+
LP: "red",
|
|
16907
|
+
MU: "blue",
|
|
16908
|
+
LU: "green",
|
|
16909
|
+
ZA: "red",
|
|
16910
|
+
ZN: "blue",
|
|
16911
|
+
ND: "yellow",
|
|
16912
|
+
MD: "green",
|
|
16913
|
+
AB: "blue",
|
|
16914
|
+
AP: "green",
|
|
16915
|
+
AU: "red",
|
|
16916
|
+
IB: "blue",
|
|
16917
|
+
IF: "green",
|
|
16918
|
+
MT: "purple",
|
|
16919
|
+
QR: "blue",
|
|
16920
|
+
NE: "red",
|
|
16921
|
+
PM: "blue",
|
|
16922
|
+
BG: "green",
|
|
16923
|
+
ZM: "red",
|
|
16924
|
+
CV: "blue",
|
|
16925
|
+
MR: "green",
|
|
16926
|
+
SQ: "yellow",
|
|
16927
|
+
GU: "blue",
|
|
16928
|
+
CT: "red",
|
|
16929
|
+
MB: "green",
|
|
16930
|
+
MQ: "blue",
|
|
16931
|
+
BI: "green",
|
|
16932
|
+
SL: "blue",
|
|
16933
|
+
NR: "red",
|
|
16934
|
+
AK: "blue",
|
|
16935
|
+
CP: "red",
|
|
16936
|
+
CN: "green",
|
|
16937
|
+
SR: "red",
|
|
16938
|
+
IN: "blue",
|
|
16939
|
+
TR: "green"
|
|
16940
|
+
};
|
|
16941
|
+
var VALID_CODES27 = Object.keys(PHILIPPINES_PROVINCE_PALETTES);
|
|
16942
|
+
var PH_THEME_CONFIG = {
|
|
16943
|
+
palettes: PHILIPPINES_PROVINCE_PALETTES,
|
|
16944
|
+
accents: PHILIPPINES_ACCENT_MAP,
|
|
16945
|
+
flagUrlTemplate: (code) => VALID_CODES27.includes(code) ? `/flags/ph/${code}.svg` : null
|
|
16946
|
+
};
|
|
16947
|
+
var PHILIPPINES_PROVINCE_COORDINATES = {
|
|
16948
|
+
// Luzon
|
|
16949
|
+
AB: [120.6, 17.6],
|
|
16950
|
+
AP: [121.2, 17.8],
|
|
16951
|
+
AU: [121.6, 15.9],
|
|
16952
|
+
BN: [121.9, 20.5],
|
|
16953
|
+
BG: [120.6, 16.4],
|
|
16954
|
+
CG: [121.8, 17.8],
|
|
16955
|
+
IF: [121.2, 16.8],
|
|
16956
|
+
IS: [121.9, 16.9],
|
|
16957
|
+
IN: [120.6, 18],
|
|
16958
|
+
IB: [122, 16.5],
|
|
16959
|
+
MT: [121.2, 17.1],
|
|
16960
|
+
NV: [121.2, 16.3],
|
|
16961
|
+
QR: [121.5, 16.1],
|
|
16962
|
+
NE: [121, 15.6],
|
|
16963
|
+
PM: [120.7, 15],
|
|
16964
|
+
PN: [120.3, 16],
|
|
16965
|
+
TR: [120.6, 15.4],
|
|
16966
|
+
ZM: [120.1, 15],
|
|
16967
|
+
BT: [121, 13.8],
|
|
16968
|
+
CV: [120.8, 14.3],
|
|
16969
|
+
LG: [121.3, 14.3],
|
|
16970
|
+
QZ: [122, 14],
|
|
16971
|
+
RI: [121.1, 14.5],
|
|
16972
|
+
MR: [121.9, 13.4],
|
|
16973
|
+
MC: [121, 12.5],
|
|
16974
|
+
AL: [123.7, 13.2],
|
|
16975
|
+
CN: [122.8, 14.1],
|
|
16976
|
+
CS: [123.4, 13.6],
|
|
16977
|
+
CT: [124.2, 13.7],
|
|
16978
|
+
MB: [123.6, 12.4],
|
|
16979
|
+
MQ: [121.9, 13.5],
|
|
16980
|
+
SR: [124, 12.9],
|
|
16981
|
+
PL: [118.7, 9.8],
|
|
16982
|
+
// Visayas
|
|
16983
|
+
CB: [123.8, 10.3],
|
|
16984
|
+
CE: [123.8, 10.3],
|
|
16985
|
+
BO: [124, 9.8],
|
|
16986
|
+
LE: [124.9, 10.4],
|
|
16987
|
+
SM: [125, 11.8],
|
|
16988
|
+
ES: [125.5, 11.2],
|
|
16989
|
+
NS: [124.7, 12.3],
|
|
16990
|
+
II: [122.6, 10.7],
|
|
16991
|
+
ND: [122.6, 10],
|
|
16992
|
+
AQ: [121.9, 11.2],
|
|
16993
|
+
RO: [122.3, 12.5],
|
|
16994
|
+
AK: [122.5, 11.8],
|
|
16995
|
+
CP: [122.6, 11.4],
|
|
16996
|
+
SQ: [123.6, 9.2],
|
|
16997
|
+
GU: [122.6, 10.6],
|
|
16998
|
+
NR: [123.2, 9.6],
|
|
16999
|
+
BI: [124.5, 11.2],
|
|
17000
|
+
SL: [125.2, 10.1],
|
|
17001
|
+
// Mindanao
|
|
17002
|
+
ZN: [123, 8.2],
|
|
17003
|
+
ZS: [123.2, 7.2],
|
|
17004
|
+
ZA: [122, 7],
|
|
17005
|
+
MN: [124.6, 8.5],
|
|
17006
|
+
MD: [123.8, 8],
|
|
17007
|
+
LN: [124.2, 8],
|
|
17008
|
+
LS: [124.4, 7.9],
|
|
17009
|
+
BS: [122, 6.7],
|
|
17010
|
+
SU: [121, 6],
|
|
17011
|
+
TT: [120, 5],
|
|
17012
|
+
BK: [125, 8],
|
|
17013
|
+
CM: [124.7, 9.2],
|
|
17014
|
+
MG: [124.3, 7],
|
|
17015
|
+
NC: [124.8, 7.2],
|
|
17016
|
+
SK: [124.2, 6.5],
|
|
17017
|
+
SC: [124.9, 6.2],
|
|
17018
|
+
SG: [125.5, 5.8],
|
|
17019
|
+
DV: [125.6, 7.5],
|
|
17020
|
+
DS: [125.5, 6.8],
|
|
17021
|
+
DO: [126.2, 7.3],
|
|
17022
|
+
CL: [125.9, 7.7],
|
|
17023
|
+
AN: [125.8, 8.9],
|
|
17024
|
+
AS: [125.9, 8.5],
|
|
17025
|
+
DI: [126, 9.8],
|
|
17026
|
+
SS: [126.1, 8.7],
|
|
17027
|
+
CD: [124.6, 8.5],
|
|
17028
|
+
BU: [125.5, 8.9]
|
|
17029
|
+
};
|
|
17030
|
+
var PHILIPPINES_MAP_CENTER = [122, 12.5];
|
|
17031
|
+
var PHILIPPINES_MACRO_REGIONS = [
|
|
17032
|
+
{
|
|
17033
|
+
key: "luzon",
|
|
17034
|
+
label: "",
|
|
17035
|
+
codes: ["AB", "AP", "AU", "BN", "BG", "CG", "IF", "IS", "IN", "IB", "MT", "NV", "QR", "NE", "PM", "PN", "TR", "ZM", "BT", "CV", "LG", "QZ", "RI", "MR", "MC", "AL", "CN", "CS", "CT", "MB", "MQ", "SR", "PL"],
|
|
17036
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
17037
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
17038
|
+
},
|
|
17039
|
+
{
|
|
17040
|
+
key: "visayas",
|
|
17041
|
+
label: "",
|
|
17042
|
+
codes: ["CB", "CE", "BO", "LE", "SM", "ES", "NS", "II", "ND", "AQ", "RO", "AK", "CP", "SQ", "GU", "NR", "BI", "SL"],
|
|
17043
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
17044
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
17045
|
+
},
|
|
17046
|
+
{
|
|
17047
|
+
key: "mindanao",
|
|
17048
|
+
label: "",
|
|
17049
|
+
codes: ["ZN", "ZS", "ZA", "MN", "MD", "LN", "LS", "BS", "SU", "TT", "BK", "CM", "MG", "NC", "SK", "SC", "SG", "DV", "DS", "DO", "CL", "AN", "AS", "DI", "SS", "CD", "BU"],
|
|
17050
|
+
gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
|
|
17051
|
+
iconColor: "text-red-600 dark:text-red-400"
|
|
17052
|
+
}
|
|
17053
|
+
];
|
|
17054
|
+
var getPhilippinesFlagUrl = (code) => getSubdivisionFlagUrl("PH", code);
|
|
17055
|
+
var getPhilippinesHexColor = (code) => getSubdivisionHexColor("PH", code);
|
|
17056
|
+
var getPhilippinesPalette = (code) => getSubdivisionPalette("PH", code);
|
|
17057
|
+
var getPhilippinesGradient = (code, direction) => getSubdivisionGradient("PH", code, direction);
|
|
17058
|
+
var getPhilippinesColors = (code) => getSubdivisionColors("PH", code);
|
|
17059
|
+
var getPhilippinesAccent = (code) => getSubdivisionAccent("PH", code);
|
|
17060
|
+
var isValidPhilippinesProvince = (code) => isValidSubdivision("PH", code);
|
|
17061
|
+
|
|
17062
|
+
// src/lib/themes/new-zealand.ts
|
|
17063
|
+
var NEW_ZEALAND_REGION_PALETTES = {
|
|
17064
|
+
AU: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
17065
|
+
MA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
|
|
17066
|
+
SO: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
17067
|
+
WK: { primary: "#c8102e", secondary: "#003da5", text: "light" },
|
|
17068
|
+
WG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
17069
|
+
CA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
|
|
17070
|
+
OT: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
|
|
17071
|
+
MW: { primary: "#009640", secondary: "#c8102e", text: "light" },
|
|
17072
|
+
GI: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
|
|
17073
|
+
HB: { primary: "#c8102e", secondary: "#009640", text: "light" },
|
|
17074
|
+
BP: { primary: "#003da5", secondary: "#ffd700", text: "light" },
|
|
17075
|
+
NC: { primary: "#009640", secondary: "#ffd700", text: "light" },
|
|
17076
|
+
TD: { primary: "#003da5", secondary: "#009640", text: "light" },
|
|
17077
|
+
NO: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
|
|
17078
|
+
TK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
|
|
17079
|
+
WC: { primary: "#009640", secondary: "#003da5", text: "light" }
|
|
17080
|
+
};
|
|
17081
|
+
var NEW_ZEALAND_ACCENT_MAP = {
|
|
17082
|
+
AU: "blue",
|
|
17083
|
+
MA: "green",
|
|
17084
|
+
SO: "blue",
|
|
17085
|
+
WK: "red",
|
|
17086
|
+
WG: "blue",
|
|
17087
|
+
CA: "red",
|
|
17088
|
+
OT: "blue",
|
|
17089
|
+
MW: "green",
|
|
17090
|
+
GI: "yellow",
|
|
17091
|
+
HB: "red",
|
|
17092
|
+
BP: "blue",
|
|
17093
|
+
NC: "green",
|
|
17094
|
+
TD: "blue",
|
|
17095
|
+
NO: "red",
|
|
17096
|
+
TK: "blue",
|
|
17097
|
+
WC: "green"
|
|
17098
|
+
};
|
|
17099
|
+
var VALID_CODES28 = Object.keys(NEW_ZEALAND_REGION_PALETTES);
|
|
17100
|
+
var NZ_THEME_CONFIG = {
|
|
17101
|
+
palettes: NEW_ZEALAND_REGION_PALETTES,
|
|
17102
|
+
accents: NEW_ZEALAND_ACCENT_MAP,
|
|
17103
|
+
flagUrlTemplate: (code) => VALID_CODES28.includes(code) ? `/flags/nz/${code}.svg` : null
|
|
17104
|
+
};
|
|
17105
|
+
var NEW_ZEALAND_REGION_COORDINATES = {
|
|
17106
|
+
NO: [174.3, -35.7],
|
|
17107
|
+
AU: [174.8, -36.8],
|
|
17108
|
+
WK: [175.5, -37.8],
|
|
17109
|
+
BP: [176.5, -37.7],
|
|
17110
|
+
GI: [178, -38.7],
|
|
17111
|
+
HB: [176.8, -39.5],
|
|
17112
|
+
TK: [174.1, -39.1],
|
|
17113
|
+
MW: [175.6, -39.9],
|
|
17114
|
+
WG: [174.8, -41.3],
|
|
17115
|
+
NC: [173.3, -41.3],
|
|
17116
|
+
MA: [173.9, -41.5],
|
|
17117
|
+
TD: [172.5, -41.2],
|
|
17118
|
+
WC: [171.2, -42.5],
|
|
17119
|
+
CA: [172, -43.5],
|
|
17120
|
+
OT: [170, -45],
|
|
17121
|
+
SO: [168.3, -46.1]
|
|
17122
|
+
};
|
|
17123
|
+
var NEW_ZEALAND_MAP_CENTER = [172, -41];
|
|
17124
|
+
var NEW_ZEALAND_MACRO_REGIONS = [
|
|
17125
|
+
{
|
|
17126
|
+
key: "north-island",
|
|
17127
|
+
label: "",
|
|
17128
|
+
codes: ["AU", "WK", "BP", "GI", "HB", "MW", "TK", "WG", "NO"],
|
|
17129
|
+
gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
|
|
17130
|
+
iconColor: "text-blue-600 dark:text-blue-400"
|
|
17131
|
+
},
|
|
17132
|
+
{
|
|
17133
|
+
key: "south-island",
|
|
17134
|
+
label: "",
|
|
17135
|
+
codes: ["CA", "OT", "SO", "WC", "MA", "NC", "TD"],
|
|
17136
|
+
gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
|
|
17137
|
+
iconColor: "text-emerald-600 dark:text-emerald-400"
|
|
17138
|
+
}
|
|
17139
|
+
];
|
|
17140
|
+
var getNewZealandFlagUrl = (code) => getSubdivisionFlagUrl("NZ", code);
|
|
17141
|
+
var getNewZealandHexColor = (code) => getSubdivisionHexColor("NZ", code);
|
|
17142
|
+
var getNewZealandPalette = (code) => getSubdivisionPalette("NZ", code);
|
|
17143
|
+
var getNewZealandGradient = (code, direction) => getSubdivisionGradient("NZ", code, direction);
|
|
17144
|
+
var getNewZealandColors = (code) => getSubdivisionColors("NZ", code);
|
|
17145
|
+
var getNewZealandAccent = (code) => getSubdivisionAccent("NZ", code);
|
|
17146
|
+
var isValidNewZealandRegion = (code) => isValidSubdivision("NZ", code);
|
|
17147
|
+
|
|
17148
|
+
// src/lib/country-config.ts
|
|
17149
|
+
var COUNTRY_REGISTRY = /* @__PURE__ */ new Map();
|
|
17150
|
+
function getCountryConfig(code) {
|
|
17151
|
+
return COUNTRY_REGISTRY.get(code.toUpperCase()) ?? null;
|
|
17152
|
+
}
|
|
17153
|
+
function registerCountry(config) {
|
|
17154
|
+
COUNTRY_REGISTRY.set(config.code.toUpperCase(), config);
|
|
17155
|
+
}
|
|
17156
|
+
function getAllCountries() {
|
|
17157
|
+
return [...COUNTRY_REGISTRY.values()].sort((a2, b2) => a2.code.localeCompare(b2.code));
|
|
17158
|
+
}
|
|
17159
|
+
function formatCurrency2(amount, countryCode) {
|
|
17160
|
+
const config = getCountryConfig(countryCode);
|
|
17161
|
+
if (!config) return String(amount);
|
|
17162
|
+
const { currency } = config;
|
|
17163
|
+
const fixed = Math.abs(amount).toFixed(currency.precision);
|
|
17164
|
+
const [integerPart, decimalPart] = fixed.split(".");
|
|
17165
|
+
const withThousands = integerPart.replace(
|
|
17166
|
+
/\B(?=(\d{3})+(?!\d))/g,
|
|
17167
|
+
currency.thousands
|
|
17168
|
+
);
|
|
17169
|
+
const formatted = decimalPart ? `${withThousands}${currency.decimal}${decimalPart}` : withThousands;
|
|
17170
|
+
const sign = amount < 0 ? "-" : "";
|
|
17171
|
+
return currency.symbolPosition === "before" ? `${sign}${currency.symbol}${formatted}` : `${sign}${formatted}${currency.symbol}`;
|
|
17172
|
+
}
|
|
17173
|
+
function formatAddress(address, countryCode) {
|
|
17174
|
+
const config = getCountryConfig(countryCode);
|
|
17175
|
+
if (!config) {
|
|
17176
|
+
return Object.values(address).filter(Boolean).join(", ");
|
|
17177
|
+
}
|
|
17178
|
+
let result = config.address.template;
|
|
17179
|
+
for (const field of config.address.fields) {
|
|
17180
|
+
result = result.replace(`{${field}}`, address[field] ?? "");
|
|
17181
|
+
}
|
|
17182
|
+
return result.replace(/[ ]{2,}/g, " ").replace(/,\s*,/g, ",").replace(/,\s*\n/g, "\n").replace(/\n\s*,/g, "\n").trim();
|
|
17183
|
+
}
|
|
17184
|
+
registerCountry({
|
|
17185
|
+
code: "BR",
|
|
17186
|
+
name: "Brazil",
|
|
17187
|
+
nativeName: "Brasil",
|
|
17188
|
+
flag: "\u{1F1E7}\u{1F1F7}",
|
|
17189
|
+
theme: BR_THEME_CONFIG,
|
|
17190
|
+
coordinates: BRAZIL_STATE_COORDINATES,
|
|
17191
|
+
mapCenter: BRAZIL_MAP_CENTER,
|
|
17192
|
+
macroRegions: BRAZIL_MACRO_REGIONS,
|
|
17193
|
+
geoJsonPath: "/maps/brazil.geo.json",
|
|
17194
|
+
projection: "mercator",
|
|
17195
|
+
regionPropertyKey: "code",
|
|
17196
|
+
languages: [
|
|
17197
|
+
{ code: "pt-BR", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
|
|
17198
|
+
],
|
|
17199
|
+
currency: {
|
|
17200
|
+
code: "BRL",
|
|
17201
|
+
numeric: "986",
|
|
17202
|
+
symbol: "R$",
|
|
17203
|
+
decimal: ",",
|
|
17204
|
+
thousands: ".",
|
|
17205
|
+
symbolPosition: "before",
|
|
17206
|
+
precision: 2
|
|
17207
|
+
},
|
|
17208
|
+
locale: {
|
|
17209
|
+
defaultLocale: "pt-BR",
|
|
17210
|
+
dateFormat: "dd/MM/yyyy",
|
|
17211
|
+
timeFormat: "24h",
|
|
17212
|
+
firstDayOfWeek: 0,
|
|
17213
|
+
measurementSystem: "metric"
|
|
17214
|
+
},
|
|
17215
|
+
address: {
|
|
17216
|
+
fields: ["street", "number", "complement", "neighborhood", "city", "state", "postalCode"],
|
|
17217
|
+
template: "{street}, {number} {complement}\n{neighborhood}\n{city}, {state} {postalCode}",
|
|
17218
|
+
postalCodeLabel: "CEP",
|
|
17219
|
+
postalCodePattern: "^\\d{5}-?\\d{3}$",
|
|
17220
|
+
stateLabel: "Estado"
|
|
17221
|
+
},
|
|
17222
|
+
tax: {
|
|
17223
|
+
name: "ICMS",
|
|
17224
|
+
standardRate: 18,
|
|
17225
|
+
subdivisionRates: {
|
|
17226
|
+
AC: 19,
|
|
17227
|
+
AL: 19,
|
|
17228
|
+
AM: 20,
|
|
17229
|
+
AP: 18,
|
|
17230
|
+
BA: 20.5,
|
|
17231
|
+
CE: 20,
|
|
17232
|
+
DF: 20,
|
|
17233
|
+
ES: 17,
|
|
17234
|
+
GO: 19,
|
|
17235
|
+
MA: 22,
|
|
17236
|
+
MG: 18,
|
|
17237
|
+
MS: 17,
|
|
17238
|
+
MT: 17,
|
|
17239
|
+
PA: 19,
|
|
17240
|
+
PB: 20,
|
|
17241
|
+
PE: 20.5,
|
|
17242
|
+
PI: 21,
|
|
17243
|
+
PR: 19.5,
|
|
17244
|
+
RJ: 20,
|
|
17245
|
+
RN: 18,
|
|
17246
|
+
RO: 19.5,
|
|
17247
|
+
RR: 20,
|
|
17248
|
+
RS: 17,
|
|
17249
|
+
SC: 17,
|
|
17250
|
+
SE: 19,
|
|
17251
|
+
SP: 18,
|
|
17252
|
+
TO: 20
|
|
17253
|
+
}
|
|
17254
|
+
}
|
|
17255
|
+
});
|
|
17256
|
+
registerCountry({
|
|
17257
|
+
code: "US",
|
|
17258
|
+
name: "United States",
|
|
17259
|
+
nativeName: "United States",
|
|
17260
|
+
flag: "\u{1F1FA}\u{1F1F8}",
|
|
17261
|
+
theme: US_THEME_CONFIG,
|
|
17262
|
+
coordinates: US_STATE_COORDINATES,
|
|
17263
|
+
mapCenter: US_MAP_CENTER,
|
|
17264
|
+
macroRegions: US_MACRO_REGIONS,
|
|
17265
|
+
geoJsonPath: "/maps/us.geo.json",
|
|
17266
|
+
projection: "albersUsa",
|
|
17267
|
+
regionPropertyKey: "code",
|
|
17268
|
+
languages: [
|
|
17269
|
+
{ code: "en-US", name: "English", nativeName: "English", primary: true },
|
|
17270
|
+
{ code: "es-US", name: "Spanish", nativeName: "Espa\xF1ol" }
|
|
17271
|
+
],
|
|
17272
|
+
currency: {
|
|
17273
|
+
code: "USD",
|
|
17274
|
+
numeric: "840",
|
|
17275
|
+
symbol: "$",
|
|
17276
|
+
decimal: ".",
|
|
17277
|
+
thousands: ",",
|
|
17278
|
+
symbolPosition: "before",
|
|
17279
|
+
precision: 2
|
|
17280
|
+
},
|
|
17281
|
+
locale: {
|
|
17282
|
+
defaultLocale: "en-US",
|
|
17283
|
+
dateFormat: "MM/dd/yyyy",
|
|
17284
|
+
timeFormat: "12h",
|
|
17285
|
+
firstDayOfWeek: 0,
|
|
17286
|
+
measurementSystem: "imperial"
|
|
17287
|
+
},
|
|
17288
|
+
address: {
|
|
17289
|
+
fields: ["street", "suite", "city", "state", "postalCode"],
|
|
17290
|
+
template: "{street} {suite}\n{city}, {state} {postalCode}",
|
|
17291
|
+
postalCodeLabel: "ZIP Code",
|
|
17292
|
+
postalCodePattern: "^\\d{5}(-\\d{4})?$",
|
|
17293
|
+
stateLabel: "State"
|
|
17294
|
+
},
|
|
17295
|
+
tax: {
|
|
17296
|
+
name: "Sales Tax",
|
|
17297
|
+
standardRate: 0,
|
|
17298
|
+
subdivisionRates: {
|
|
17299
|
+
AL: 4,
|
|
17300
|
+
AK: 0,
|
|
17301
|
+
AZ: 5.6,
|
|
17302
|
+
AR: 6.5,
|
|
17303
|
+
CA: 7.25,
|
|
17304
|
+
CO: 2.9,
|
|
17305
|
+
CT: 6.35,
|
|
17306
|
+
DE: 0,
|
|
17307
|
+
FL: 6,
|
|
17308
|
+
GA: 4,
|
|
17309
|
+
HI: 4,
|
|
17310
|
+
ID: 6,
|
|
17311
|
+
IL: 6.25,
|
|
17312
|
+
IN: 7,
|
|
17313
|
+
IA: 6,
|
|
17314
|
+
KS: 6.5,
|
|
17315
|
+
KY: 6,
|
|
17316
|
+
LA: 4.45,
|
|
17317
|
+
ME: 5.5,
|
|
17318
|
+
MD: 6,
|
|
17319
|
+
MA: 6.25,
|
|
17320
|
+
MI: 6,
|
|
17321
|
+
MN: 6.875,
|
|
17322
|
+
MS: 7,
|
|
17323
|
+
MO: 4.225,
|
|
17324
|
+
MT: 0,
|
|
17325
|
+
NE: 5.5,
|
|
17326
|
+
NV: 6.85,
|
|
17327
|
+
NH: 0,
|
|
17328
|
+
NJ: 6.625,
|
|
17329
|
+
NM: 5.125,
|
|
17330
|
+
NY: 4,
|
|
17331
|
+
NC: 4.75,
|
|
17332
|
+
ND: 5,
|
|
17333
|
+
OH: 5.75,
|
|
17334
|
+
OK: 4.5,
|
|
17335
|
+
OR: 0,
|
|
15290
17336
|
PA: 6,
|
|
15291
17337
|
RI: 7,
|
|
15292
17338
|
SC: 6,
|
|
@@ -15305,758 +17351,1279 @@ registerCountry({
|
|
|
15305
17351
|
}
|
|
15306
17352
|
});
|
|
15307
17353
|
registerCountry({
|
|
15308
|
-
code: "CA",
|
|
15309
|
-
name: "Canada",
|
|
15310
|
-
nativeName: "Canada",
|
|
15311
|
-
flag: "\u{1F1E8}\u{1F1E6}",
|
|
15312
|
-
theme: CA_THEME_CONFIG,
|
|
15313
|
-
coordinates: CANADA_PROVINCE_COORDINATES,
|
|
15314
|
-
mapCenter: CANADA_MAP_CENTER,
|
|
15315
|
-
macroRegions: CANADA_MACRO_REGIONS,
|
|
15316
|
-
geoJsonPath: "/maps/canada.geo.json",
|
|
17354
|
+
code: "CA",
|
|
17355
|
+
name: "Canada",
|
|
17356
|
+
nativeName: "Canada",
|
|
17357
|
+
flag: "\u{1F1E8}\u{1F1E6}",
|
|
17358
|
+
theme: CA_THEME_CONFIG,
|
|
17359
|
+
coordinates: CANADA_PROVINCE_COORDINATES,
|
|
17360
|
+
mapCenter: CANADA_MAP_CENTER,
|
|
17361
|
+
macroRegions: CANADA_MACRO_REGIONS,
|
|
17362
|
+
geoJsonPath: "/maps/canada.geo.json",
|
|
17363
|
+
projection: "mercator",
|
|
17364
|
+
regionPropertyKey: "code",
|
|
17365
|
+
languages: [
|
|
17366
|
+
{ code: "en-CA", name: "English", nativeName: "English", primary: true },
|
|
17367
|
+
{ code: "fr-CA", name: "French", nativeName: "Fran\xE7ais" }
|
|
17368
|
+
],
|
|
17369
|
+
currency: {
|
|
17370
|
+
code: "CAD",
|
|
17371
|
+
numeric: "124",
|
|
17372
|
+
symbol: "CA$",
|
|
17373
|
+
decimal: ".",
|
|
17374
|
+
thousands: ",",
|
|
17375
|
+
symbolPosition: "before",
|
|
17376
|
+
precision: 2
|
|
17377
|
+
},
|
|
17378
|
+
locale: {
|
|
17379
|
+
defaultLocale: "en-CA",
|
|
17380
|
+
dateFormat: "yyyy-MM-dd",
|
|
17381
|
+
timeFormat: "12h",
|
|
17382
|
+
firstDayOfWeek: 0,
|
|
17383
|
+
measurementSystem: "metric"
|
|
17384
|
+
},
|
|
17385
|
+
address: {
|
|
17386
|
+
fields: ["street", "suite", "city", "province", "postalCode"],
|
|
17387
|
+
template: "{street} {suite}\n{city}, {province} {postalCode}",
|
|
17388
|
+
postalCodeLabel: "Postal Code",
|
|
17389
|
+
postalCodePattern: "^[A-Za-z]\\d[A-Za-z]\\s?\\d[A-Za-z]\\d$",
|
|
17390
|
+
stateLabel: "Province"
|
|
17391
|
+
},
|
|
17392
|
+
tax: {
|
|
17393
|
+
name: "GST/HST",
|
|
17394
|
+
standardRate: 5,
|
|
17395
|
+
subdivisionRates: {
|
|
17396
|
+
AB: 5,
|
|
17397
|
+
BC: 12,
|
|
17398
|
+
MB: 12,
|
|
17399
|
+
NB: 15,
|
|
17400
|
+
NL: 15,
|
|
17401
|
+
NS: 15,
|
|
17402
|
+
NT: 5,
|
|
17403
|
+
NU: 5,
|
|
17404
|
+
ON: 13,
|
|
17405
|
+
PE: 15,
|
|
17406
|
+
QC: 14.975,
|
|
17407
|
+
SK: 11,
|
|
17408
|
+
YT: 5
|
|
17409
|
+
}
|
|
17410
|
+
}
|
|
17411
|
+
});
|
|
17412
|
+
registerCountry({
|
|
17413
|
+
code: "MX",
|
|
17414
|
+
name: "Mexico",
|
|
17415
|
+
nativeName: "M\xE9xico",
|
|
17416
|
+
flag: "\u{1F1F2}\u{1F1FD}",
|
|
17417
|
+
theme: MX_THEME_CONFIG,
|
|
17418
|
+
coordinates: MEXICO_STATE_COORDINATES,
|
|
17419
|
+
mapCenter: MEXICO_MAP_CENTER,
|
|
17420
|
+
macroRegions: MEXICO_MACRO_REGIONS,
|
|
17421
|
+
geoJsonPath: "/maps/mexico.geo.json",
|
|
17422
|
+
projection: "mercator",
|
|
17423
|
+
regionPropertyKey: "code",
|
|
17424
|
+
languages: [
|
|
17425
|
+
{ code: "es-MX", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
|
|
17426
|
+
],
|
|
17427
|
+
currency: {
|
|
17428
|
+
code: "MXN",
|
|
17429
|
+
numeric: "484",
|
|
17430
|
+
symbol: "MX$",
|
|
17431
|
+
decimal: ".",
|
|
17432
|
+
thousands: ",",
|
|
17433
|
+
symbolPosition: "before",
|
|
17434
|
+
precision: 2
|
|
17435
|
+
},
|
|
17436
|
+
locale: {
|
|
17437
|
+
defaultLocale: "es-MX",
|
|
17438
|
+
dateFormat: "dd/MM/yyyy",
|
|
17439
|
+
timeFormat: "12h",
|
|
17440
|
+
firstDayOfWeek: 0,
|
|
17441
|
+
measurementSystem: "metric"
|
|
17442
|
+
},
|
|
17443
|
+
address: {
|
|
17444
|
+
fields: ["street", "exteriorNumber", "interiorNumber", "neighborhood", "city", "state", "postalCode"],
|
|
17445
|
+
template: "{street} {exteriorNumber} {interiorNumber}\n{neighborhood}\n{postalCode} {city}, {state}",
|
|
17446
|
+
postalCodeLabel: "C\xF3digo Postal",
|
|
17447
|
+
postalCodePattern: "^\\d{5}$",
|
|
17448
|
+
stateLabel: "Estado"
|
|
17449
|
+
},
|
|
17450
|
+
tax: {
|
|
17451
|
+
name: "IVA",
|
|
17452
|
+
standardRate: 16
|
|
17453
|
+
}
|
|
17454
|
+
});
|
|
17455
|
+
registerCountry({
|
|
17456
|
+
code: "CO",
|
|
17457
|
+
name: "Colombia",
|
|
17458
|
+
nativeName: "Colombia",
|
|
17459
|
+
flag: "\u{1F1E8}\u{1F1F4}",
|
|
17460
|
+
theme: CO_THEME_CONFIG,
|
|
17461
|
+
coordinates: COLOMBIA_DEPARTMENT_COORDINATES,
|
|
17462
|
+
mapCenter: COLOMBIA_MAP_CENTER,
|
|
17463
|
+
macroRegions: COLOMBIA_MACRO_REGIONS,
|
|
17464
|
+
geoJsonPath: "/maps/colombia.geo.json",
|
|
17465
|
+
projection: "mercator",
|
|
17466
|
+
regionPropertyKey: "code",
|
|
17467
|
+
languages: [
|
|
17468
|
+
{ code: "es-CO", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
|
|
17469
|
+
],
|
|
17470
|
+
currency: {
|
|
17471
|
+
code: "COP",
|
|
17472
|
+
numeric: "170",
|
|
17473
|
+
symbol: "COL$",
|
|
17474
|
+
decimal: ",",
|
|
17475
|
+
thousands: ".",
|
|
17476
|
+
symbolPosition: "before",
|
|
17477
|
+
precision: 0
|
|
17478
|
+
},
|
|
17479
|
+
locale: {
|
|
17480
|
+
defaultLocale: "es-CO",
|
|
17481
|
+
dateFormat: "dd/MM/yyyy",
|
|
17482
|
+
timeFormat: "12h",
|
|
17483
|
+
firstDayOfWeek: 0,
|
|
17484
|
+
measurementSystem: "metric"
|
|
17485
|
+
},
|
|
17486
|
+
address: {
|
|
17487
|
+
fields: ["street", "number", "city", "department", "postalCode"],
|
|
17488
|
+
template: "{street} {number}\n{city}, {department} {postalCode}",
|
|
17489
|
+
postalCodeLabel: "C\xF3digo Postal",
|
|
17490
|
+
postalCodePattern: "^\\d{6}$",
|
|
17491
|
+
stateLabel: "Departamento"
|
|
17492
|
+
},
|
|
17493
|
+
tax: {
|
|
17494
|
+
name: "IVA",
|
|
17495
|
+
standardRate: 19
|
|
17496
|
+
}
|
|
17497
|
+
});
|
|
17498
|
+
registerCountry({
|
|
17499
|
+
code: "AR",
|
|
17500
|
+
name: "Argentina",
|
|
17501
|
+
nativeName: "Argentina",
|
|
17502
|
+
flag: "\u{1F1E6}\u{1F1F7}",
|
|
17503
|
+
theme: AR_THEME_CONFIG,
|
|
17504
|
+
coordinates: ARGENTINA_PROVINCE_COORDINATES,
|
|
17505
|
+
mapCenter: ARGENTINA_MAP_CENTER,
|
|
17506
|
+
macroRegions: ARGENTINA_MACRO_REGIONS,
|
|
17507
|
+
geoJsonPath: "/maps/argentina.geo.json",
|
|
17508
|
+
projection: "mercator",
|
|
17509
|
+
regionPropertyKey: "code",
|
|
17510
|
+
languages: [
|
|
17511
|
+
{ code: "es-AR", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
|
|
17512
|
+
],
|
|
17513
|
+
currency: {
|
|
17514
|
+
code: "ARS",
|
|
17515
|
+
numeric: "032",
|
|
17516
|
+
symbol: "AR$",
|
|
17517
|
+
decimal: ",",
|
|
17518
|
+
thousands: ".",
|
|
17519
|
+
symbolPosition: "before",
|
|
17520
|
+
precision: 2
|
|
17521
|
+
},
|
|
17522
|
+
locale: {
|
|
17523
|
+
defaultLocale: "es-AR",
|
|
17524
|
+
dateFormat: "dd/MM/yyyy",
|
|
17525
|
+
timeFormat: "24h",
|
|
17526
|
+
firstDayOfWeek: 1,
|
|
17527
|
+
measurementSystem: "metric"
|
|
17528
|
+
},
|
|
17529
|
+
address: {
|
|
17530
|
+
fields: ["street", "number", "floor", "apartment", "postalCode", "city", "province"],
|
|
17531
|
+
template: "{street} {number}, {floor} {apartment}\n{postalCode} {city}, {province}",
|
|
17532
|
+
postalCodeLabel: "C\xF3digo Postal",
|
|
17533
|
+
postalCodePattern: "^[A-Za-z]\\d{4}[A-Za-z]{3}$",
|
|
17534
|
+
stateLabel: "Provincia"
|
|
17535
|
+
},
|
|
17536
|
+
tax: {
|
|
17537
|
+
name: "IVA",
|
|
17538
|
+
standardRate: 21
|
|
17539
|
+
}
|
|
17540
|
+
});
|
|
17541
|
+
registerCountry({
|
|
17542
|
+
code: "CL",
|
|
17543
|
+
name: "Chile",
|
|
17544
|
+
nativeName: "Chile",
|
|
17545
|
+
flag: "\u{1F1E8}\u{1F1F1}",
|
|
17546
|
+
theme: CL_THEME_CONFIG,
|
|
17547
|
+
coordinates: CHILE_REGION_COORDINATES,
|
|
17548
|
+
mapCenter: CHILE_MAP_CENTER,
|
|
17549
|
+
macroRegions: CHILE_MACRO_REGIONS,
|
|
17550
|
+
geoJsonPath: "/maps/chile.geo.json",
|
|
17551
|
+
projection: "mercator",
|
|
17552
|
+
regionPropertyKey: "code",
|
|
17553
|
+
languages: [
|
|
17554
|
+
{ code: "es-CL", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
|
|
17555
|
+
],
|
|
17556
|
+
currency: {
|
|
17557
|
+
code: "CLP",
|
|
17558
|
+
numeric: "152",
|
|
17559
|
+
symbol: "CL$",
|
|
17560
|
+
decimal: ",",
|
|
17561
|
+
thousands: ".",
|
|
17562
|
+
symbolPosition: "before",
|
|
17563
|
+
precision: 0
|
|
17564
|
+
},
|
|
17565
|
+
locale: {
|
|
17566
|
+
defaultLocale: "es-CL",
|
|
17567
|
+
dateFormat: "dd-MM-yyyy",
|
|
17568
|
+
timeFormat: "24h",
|
|
17569
|
+
firstDayOfWeek: 1,
|
|
17570
|
+
measurementSystem: "metric"
|
|
17571
|
+
},
|
|
17572
|
+
address: {
|
|
17573
|
+
fields: ["street", "number", "commune", "city", "region", "postalCode"],
|
|
17574
|
+
template: "{street} {number}\n{commune}\n{city}, {region} {postalCode}",
|
|
17575
|
+
postalCodeLabel: "C\xF3digo Postal",
|
|
17576
|
+
postalCodePattern: "^\\d{7}$",
|
|
17577
|
+
stateLabel: "Regi\xF3n"
|
|
17578
|
+
},
|
|
17579
|
+
tax: {
|
|
17580
|
+
name: "IVA",
|
|
17581
|
+
standardRate: 19
|
|
17582
|
+
}
|
|
17583
|
+
});
|
|
17584
|
+
registerCountry({
|
|
17585
|
+
code: "PE",
|
|
17586
|
+
name: "Peru",
|
|
17587
|
+
nativeName: "Per\xFA",
|
|
17588
|
+
flag: "\u{1F1F5}\u{1F1EA}",
|
|
17589
|
+
theme: PE_THEME_CONFIG,
|
|
17590
|
+
coordinates: PERU_DEPARTMENT_COORDINATES,
|
|
17591
|
+
mapCenter: PERU_MAP_CENTER,
|
|
17592
|
+
macroRegions: PERU_MACRO_REGIONS,
|
|
17593
|
+
geoJsonPath: "/maps/peru.geo.json",
|
|
17594
|
+
projection: "mercator",
|
|
17595
|
+
regionPropertyKey: "code",
|
|
17596
|
+
languages: [
|
|
17597
|
+
{ code: "es-PE", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
|
|
17598
|
+
{ code: "qu", name: "Quechua", nativeName: "Runasimi" }
|
|
17599
|
+
],
|
|
17600
|
+
currency: {
|
|
17601
|
+
code: "PEN",
|
|
17602
|
+
numeric: "604",
|
|
17603
|
+
symbol: "S/",
|
|
17604
|
+
decimal: ".",
|
|
17605
|
+
thousands: ",",
|
|
17606
|
+
symbolPosition: "before",
|
|
17607
|
+
precision: 2
|
|
17608
|
+
},
|
|
17609
|
+
locale: {
|
|
17610
|
+
defaultLocale: "es-PE",
|
|
17611
|
+
dateFormat: "dd/MM/yyyy",
|
|
17612
|
+
timeFormat: "12h",
|
|
17613
|
+
firstDayOfWeek: 0,
|
|
17614
|
+
measurementSystem: "metric"
|
|
17615
|
+
},
|
|
17616
|
+
address: {
|
|
17617
|
+
fields: ["street", "number", "district", "city", "department", "postalCode"],
|
|
17618
|
+
template: "{street} {number}\n{district}\n{city}, {department} {postalCode}",
|
|
17619
|
+
postalCodeLabel: "C\xF3digo Postal",
|
|
17620
|
+
postalCodePattern: "^\\d{5}$",
|
|
17621
|
+
stateLabel: "Departamento"
|
|
17622
|
+
},
|
|
17623
|
+
tax: {
|
|
17624
|
+
name: "IGV",
|
|
17625
|
+
standardRate: 18
|
|
17626
|
+
}
|
|
17627
|
+
});
|
|
17628
|
+
registerCountry({
|
|
17629
|
+
code: "DE",
|
|
17630
|
+
name: "Germany",
|
|
17631
|
+
nativeName: "Deutschland",
|
|
17632
|
+
flag: "\u{1F1E9}\u{1F1EA}",
|
|
17633
|
+
theme: DE_THEME_CONFIG,
|
|
17634
|
+
coordinates: GERMANY_STATE_COORDINATES,
|
|
17635
|
+
mapCenter: GERMANY_MAP_CENTER,
|
|
17636
|
+
macroRegions: GERMANY_MACRO_REGIONS,
|
|
17637
|
+
geoJsonPath: "/maps/germany.geo.json",
|
|
17638
|
+
projection: "mercator",
|
|
17639
|
+
regionPropertyKey: "code",
|
|
17640
|
+
languages: [
|
|
17641
|
+
{ code: "de-DE", name: "German", nativeName: "Deutsch", primary: true }
|
|
17642
|
+
],
|
|
17643
|
+
currency: {
|
|
17644
|
+
code: "EUR",
|
|
17645
|
+
numeric: "978",
|
|
17646
|
+
symbol: "\u20AC",
|
|
17647
|
+
decimal: ",",
|
|
17648
|
+
thousands: ".",
|
|
17649
|
+
symbolPosition: "after",
|
|
17650
|
+
precision: 2
|
|
17651
|
+
},
|
|
17652
|
+
locale: {
|
|
17653
|
+
defaultLocale: "de-DE",
|
|
17654
|
+
dateFormat: "dd.MM.yyyy",
|
|
17655
|
+
timeFormat: "24h",
|
|
17656
|
+
firstDayOfWeek: 1,
|
|
17657
|
+
measurementSystem: "metric"
|
|
17658
|
+
},
|
|
17659
|
+
address: {
|
|
17660
|
+
fields: ["street", "number", "postalCode", "city"],
|
|
17661
|
+
template: "{street} {number}\n{postalCode} {city}",
|
|
17662
|
+
postalCodeLabel: "PLZ",
|
|
17663
|
+
postalCodePattern: "^\\d{5}$",
|
|
17664
|
+
stateLabel: "Bundesland"
|
|
17665
|
+
},
|
|
17666
|
+
tax: {
|
|
17667
|
+
name: "MwSt",
|
|
17668
|
+
standardRate: 19
|
|
17669
|
+
}
|
|
17670
|
+
});
|
|
17671
|
+
registerCountry({
|
|
17672
|
+
code: "FR",
|
|
17673
|
+
name: "France",
|
|
17674
|
+
nativeName: "France",
|
|
17675
|
+
flag: "\u{1F1EB}\u{1F1F7}",
|
|
17676
|
+
theme: FR_THEME_CONFIG,
|
|
17677
|
+
coordinates: FRANCE_REGION_COORDINATES,
|
|
17678
|
+
mapCenter: FRANCE_MAP_CENTER,
|
|
17679
|
+
macroRegions: FRANCE_MACRO_REGIONS,
|
|
17680
|
+
geoJsonPath: "/maps/france.geo.json",
|
|
17681
|
+
projection: "mercator",
|
|
17682
|
+
regionPropertyKey: "code",
|
|
17683
|
+
languages: [
|
|
17684
|
+
{ code: "fr-FR", name: "French", nativeName: "Fran\xE7ais", primary: true }
|
|
17685
|
+
],
|
|
17686
|
+
currency: {
|
|
17687
|
+
code: "EUR",
|
|
17688
|
+
numeric: "978",
|
|
17689
|
+
symbol: "\u20AC",
|
|
17690
|
+
decimal: ",",
|
|
17691
|
+
thousands: "\u202F",
|
|
17692
|
+
symbolPosition: "after",
|
|
17693
|
+
precision: 2
|
|
17694
|
+
},
|
|
17695
|
+
locale: {
|
|
17696
|
+
defaultLocale: "fr-FR",
|
|
17697
|
+
dateFormat: "dd/MM/yyyy",
|
|
17698
|
+
timeFormat: "24h",
|
|
17699
|
+
firstDayOfWeek: 1,
|
|
17700
|
+
measurementSystem: "metric"
|
|
17701
|
+
},
|
|
17702
|
+
address: {
|
|
17703
|
+
fields: ["street", "number", "postalCode", "city"],
|
|
17704
|
+
template: "{number} {street}\n{postalCode} {city}",
|
|
17705
|
+
postalCodeLabel: "Code Postal",
|
|
17706
|
+
postalCodePattern: "^\\d{5}$",
|
|
17707
|
+
stateLabel: "R\xE9gion"
|
|
17708
|
+
},
|
|
17709
|
+
tax: {
|
|
17710
|
+
name: "TVA",
|
|
17711
|
+
standardRate: 20
|
|
17712
|
+
}
|
|
17713
|
+
});
|
|
17714
|
+
registerCountry({
|
|
17715
|
+
code: "ES",
|
|
17716
|
+
name: "Spain",
|
|
17717
|
+
nativeName: "Espa\xF1a",
|
|
17718
|
+
flag: "\u{1F1EA}\u{1F1F8}",
|
|
17719
|
+
theme: ES_THEME_CONFIG,
|
|
17720
|
+
coordinates: SPAIN_PROVINCE_COORDINATES,
|
|
17721
|
+
mapCenter: SPAIN_MAP_CENTER,
|
|
17722
|
+
macroRegions: SPAIN_MACRO_REGIONS,
|
|
17723
|
+
geoJsonPath: "/maps/spain.geo.json",
|
|
17724
|
+
projection: "mercator",
|
|
17725
|
+
regionPropertyKey: "code",
|
|
17726
|
+
languages: [
|
|
17727
|
+
{ code: "es-ES", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
|
|
17728
|
+
{ code: "ca", name: "Catalan", nativeName: "Catal\xE0" },
|
|
17729
|
+
{ code: "eu", name: "Basque", nativeName: "Euskara" },
|
|
17730
|
+
{ code: "gl", name: "Galician", nativeName: "Galego" }
|
|
17731
|
+
],
|
|
17732
|
+
currency: {
|
|
17733
|
+
code: "EUR",
|
|
17734
|
+
numeric: "978",
|
|
17735
|
+
symbol: "\u20AC",
|
|
17736
|
+
decimal: ",",
|
|
17737
|
+
thousands: ".",
|
|
17738
|
+
symbolPosition: "after",
|
|
17739
|
+
precision: 2
|
|
17740
|
+
},
|
|
17741
|
+
locale: {
|
|
17742
|
+
defaultLocale: "es-ES",
|
|
17743
|
+
dateFormat: "dd/MM/yyyy",
|
|
17744
|
+
timeFormat: "24h",
|
|
17745
|
+
firstDayOfWeek: 1,
|
|
17746
|
+
measurementSystem: "metric"
|
|
17747
|
+
},
|
|
17748
|
+
address: {
|
|
17749
|
+
fields: ["street", "number", "floor", "door", "postalCode", "city", "province"],
|
|
17750
|
+
template: "{street} {number}, {floor} {door}\n{postalCode} {city} ({province})",
|
|
17751
|
+
postalCodeLabel: "C\xF3digo Postal",
|
|
17752
|
+
postalCodePattern: "^\\d{5}$",
|
|
17753
|
+
stateLabel: "Provincia"
|
|
17754
|
+
},
|
|
17755
|
+
tax: {
|
|
17756
|
+
name: "IVA",
|
|
17757
|
+
standardRate: 21
|
|
17758
|
+
}
|
|
17759
|
+
});
|
|
17760
|
+
registerCountry({
|
|
17761
|
+
code: "IT",
|
|
17762
|
+
name: "Italy",
|
|
17763
|
+
nativeName: "Italia",
|
|
17764
|
+
flag: "\u{1F1EE}\u{1F1F9}",
|
|
17765
|
+
theme: IT_THEME_CONFIG,
|
|
17766
|
+
coordinates: ITALY_REGION_COORDINATES,
|
|
17767
|
+
mapCenter: ITALY_MAP_CENTER,
|
|
17768
|
+
macroRegions: ITALY_MACRO_REGIONS,
|
|
17769
|
+
geoJsonPath: "/maps/italy.geo.json",
|
|
17770
|
+
projection: "mercator",
|
|
17771
|
+
regionPropertyKey: "code",
|
|
17772
|
+
languages: [
|
|
17773
|
+
{ code: "it-IT", name: "Italian", nativeName: "Italiano", primary: true }
|
|
17774
|
+
],
|
|
17775
|
+
currency: {
|
|
17776
|
+
code: "EUR",
|
|
17777
|
+
numeric: "978",
|
|
17778
|
+
symbol: "\u20AC",
|
|
17779
|
+
decimal: ",",
|
|
17780
|
+
thousands: ".",
|
|
17781
|
+
symbolPosition: "after",
|
|
17782
|
+
precision: 2
|
|
17783
|
+
},
|
|
17784
|
+
locale: {
|
|
17785
|
+
defaultLocale: "it-IT",
|
|
17786
|
+
dateFormat: "dd/MM/yyyy",
|
|
17787
|
+
timeFormat: "24h",
|
|
17788
|
+
firstDayOfWeek: 1,
|
|
17789
|
+
measurementSystem: "metric"
|
|
17790
|
+
},
|
|
17791
|
+
address: {
|
|
17792
|
+
fields: ["street", "number", "postalCode", "city", "province"],
|
|
17793
|
+
template: "{street} {number}\n{postalCode} {city} ({province})",
|
|
17794
|
+
postalCodeLabel: "CAP",
|
|
17795
|
+
postalCodePattern: "^\\d{5}$",
|
|
17796
|
+
stateLabel: "Provincia"
|
|
17797
|
+
},
|
|
17798
|
+
tax: {
|
|
17799
|
+
name: "IVA",
|
|
17800
|
+
standardRate: 22
|
|
17801
|
+
}
|
|
17802
|
+
});
|
|
17803
|
+
registerCountry({
|
|
17804
|
+
code: "GB",
|
|
17805
|
+
name: "United Kingdom",
|
|
17806
|
+
nativeName: "United Kingdom",
|
|
17807
|
+
flag: "\u{1F1EC}\u{1F1E7}",
|
|
17808
|
+
theme: GB_THEME_CONFIG,
|
|
17809
|
+
coordinates: UK_NATION_COORDINATES,
|
|
17810
|
+
mapCenter: UK_MAP_CENTER,
|
|
17811
|
+
macroRegions: UK_MACRO_REGIONS,
|
|
17812
|
+
geoJsonPath: "/maps/united-kingdom.geo.json",
|
|
17813
|
+
projection: "mercator",
|
|
17814
|
+
regionPropertyKey: "code",
|
|
17815
|
+
languages: [
|
|
17816
|
+
{ code: "en-GB", name: "English", nativeName: "English", primary: true },
|
|
17817
|
+
{ code: "cy", name: "Welsh", nativeName: "Cymraeg" },
|
|
17818
|
+
{ code: "gd", name: "Scottish Gaelic", nativeName: "G\xE0idhlig" }
|
|
17819
|
+
],
|
|
17820
|
+
currency: {
|
|
17821
|
+
code: "GBP",
|
|
17822
|
+
numeric: "826",
|
|
17823
|
+
symbol: "\xA3",
|
|
17824
|
+
decimal: ".",
|
|
17825
|
+
thousands: ",",
|
|
17826
|
+
symbolPosition: "before",
|
|
17827
|
+
precision: 2
|
|
17828
|
+
},
|
|
17829
|
+
locale: {
|
|
17830
|
+
defaultLocale: "en-GB",
|
|
17831
|
+
dateFormat: "dd/MM/yyyy",
|
|
17832
|
+
timeFormat: "24h",
|
|
17833
|
+
firstDayOfWeek: 1,
|
|
17834
|
+
measurementSystem: "metric"
|
|
17835
|
+
},
|
|
17836
|
+
address: {
|
|
17837
|
+
fields: ["street", "number", "city", "county", "postalCode"],
|
|
17838
|
+
template: "{number} {street}\n{city}\n{county}\n{postalCode}",
|
|
17839
|
+
postalCodeLabel: "Postcode",
|
|
17840
|
+
postalCodePattern: "^[A-Z]{1,2}\\d[A-Z\\d]?\\s?\\d[A-Z]{2}$",
|
|
17841
|
+
stateLabel: "County"
|
|
17842
|
+
},
|
|
17843
|
+
tax: {
|
|
17844
|
+
name: "VAT",
|
|
17845
|
+
standardRate: 20
|
|
17846
|
+
}
|
|
17847
|
+
});
|
|
17848
|
+
registerCountry({
|
|
17849
|
+
code: "PT",
|
|
17850
|
+
name: "Portugal",
|
|
17851
|
+
nativeName: "Portugal",
|
|
17852
|
+
flag: "\u{1F1F5}\u{1F1F9}",
|
|
17853
|
+
theme: PT_THEME_CONFIG,
|
|
17854
|
+
coordinates: PORTUGAL_DISTRICT_COORDINATES,
|
|
17855
|
+
mapCenter: PORTUGAL_MAP_CENTER,
|
|
17856
|
+
macroRegions: PORTUGAL_MACRO_REGIONS,
|
|
17857
|
+
geoJsonPath: "/maps/portugal.geo.json",
|
|
15317
17858
|
projection: "mercator",
|
|
15318
17859
|
regionPropertyKey: "code",
|
|
15319
17860
|
languages: [
|
|
15320
|
-
{ code: "
|
|
15321
|
-
{ code: "fr-CA", name: "French", nativeName: "Fran\xE7ais" }
|
|
17861
|
+
{ code: "pt-PT", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
|
|
15322
17862
|
],
|
|
15323
17863
|
currency: {
|
|
15324
|
-
code: "
|
|
15325
|
-
numeric: "
|
|
15326
|
-
symbol: "
|
|
17864
|
+
code: "EUR",
|
|
17865
|
+
numeric: "978",
|
|
17866
|
+
symbol: "\u20AC",
|
|
17867
|
+
decimal: ",",
|
|
17868
|
+
thousands: ".",
|
|
17869
|
+
symbolPosition: "after",
|
|
17870
|
+
precision: 2
|
|
17871
|
+
},
|
|
17872
|
+
locale: {
|
|
17873
|
+
defaultLocale: "pt-PT",
|
|
17874
|
+
dateFormat: "dd/MM/yyyy",
|
|
17875
|
+
timeFormat: "24h",
|
|
17876
|
+
firstDayOfWeek: 1,
|
|
17877
|
+
measurementSystem: "metric"
|
|
17878
|
+
},
|
|
17879
|
+
address: {
|
|
17880
|
+
fields: ["street", "number", "floor", "postalCode", "city", "district"],
|
|
17881
|
+
template: "{street} {number}, {floor}\n{postalCode} {city}",
|
|
17882
|
+
postalCodeLabel: "C\xF3digo Postal",
|
|
17883
|
+
postalCodePattern: "^\\d{4}-\\d{3}$",
|
|
17884
|
+
stateLabel: "Distrito"
|
|
17885
|
+
},
|
|
17886
|
+
tax: {
|
|
17887
|
+
name: "IVA",
|
|
17888
|
+
standardRate: 23
|
|
17889
|
+
}
|
|
17890
|
+
});
|
|
17891
|
+
registerCountry({
|
|
17892
|
+
code: "AU",
|
|
17893
|
+
name: "Australia",
|
|
17894
|
+
nativeName: "Australia",
|
|
17895
|
+
flag: "\u{1F1E6}\u{1F1FA}",
|
|
17896
|
+
theme: AU_THEME_CONFIG,
|
|
17897
|
+
coordinates: AUSTRALIA_STATE_COORDINATES,
|
|
17898
|
+
mapCenter: AUSTRALIA_MAP_CENTER,
|
|
17899
|
+
macroRegions: AUSTRALIA_MACRO_REGIONS,
|
|
17900
|
+
geoJsonPath: "/maps/australia.geo.json",
|
|
17901
|
+
projection: "mercator",
|
|
17902
|
+
regionPropertyKey: "code",
|
|
17903
|
+
languages: [
|
|
17904
|
+
{ code: "en-AU", name: "English", nativeName: "English", primary: true }
|
|
17905
|
+
],
|
|
17906
|
+
currency: {
|
|
17907
|
+
code: "AUD",
|
|
17908
|
+
numeric: "036",
|
|
17909
|
+
symbol: "A$",
|
|
15327
17910
|
decimal: ".",
|
|
15328
17911
|
thousands: ",",
|
|
15329
17912
|
symbolPosition: "before",
|
|
15330
17913
|
precision: 2
|
|
15331
17914
|
},
|
|
15332
17915
|
locale: {
|
|
15333
|
-
defaultLocale: "en-
|
|
15334
|
-
dateFormat: "yyyy
|
|
17916
|
+
defaultLocale: "en-AU",
|
|
17917
|
+
dateFormat: "dd/MM/yyyy",
|
|
15335
17918
|
timeFormat: "12h",
|
|
15336
17919
|
firstDayOfWeek: 0,
|
|
15337
17920
|
measurementSystem: "metric"
|
|
15338
17921
|
},
|
|
15339
17922
|
address: {
|
|
15340
|
-
fields: ["street", "
|
|
15341
|
-
template: "{
|
|
15342
|
-
postalCodeLabel: "
|
|
15343
|
-
postalCodePattern: "
|
|
15344
|
-
stateLabel: "
|
|
17923
|
+
fields: ["street", "number", "suburb", "state", "postalCode"],
|
|
17924
|
+
template: "{number} {street}\n{suburb} {state} {postalCode}",
|
|
17925
|
+
postalCodeLabel: "Postcode",
|
|
17926
|
+
postalCodePattern: "^\\d{4}$",
|
|
17927
|
+
stateLabel: "State"
|
|
15345
17928
|
},
|
|
15346
17929
|
tax: {
|
|
15347
|
-
name: "GST
|
|
15348
|
-
standardRate:
|
|
15349
|
-
subdivisionRates: {
|
|
15350
|
-
AB: 5,
|
|
15351
|
-
BC: 12,
|
|
15352
|
-
MB: 12,
|
|
15353
|
-
NB: 15,
|
|
15354
|
-
NL: 15,
|
|
15355
|
-
NS: 15,
|
|
15356
|
-
NT: 5,
|
|
15357
|
-
NU: 5,
|
|
15358
|
-
ON: 13,
|
|
15359
|
-
PE: 15,
|
|
15360
|
-
QC: 14.975,
|
|
15361
|
-
SK: 11,
|
|
15362
|
-
YT: 5
|
|
15363
|
-
}
|
|
17930
|
+
name: "GST",
|
|
17931
|
+
standardRate: 10
|
|
15364
17932
|
}
|
|
15365
17933
|
});
|
|
15366
17934
|
registerCountry({
|
|
15367
|
-
code: "
|
|
15368
|
-
name: "
|
|
15369
|
-
nativeName: "
|
|
15370
|
-
flag: "\u{
|
|
15371
|
-
theme:
|
|
15372
|
-
coordinates:
|
|
15373
|
-
mapCenter:
|
|
15374
|
-
macroRegions:
|
|
15375
|
-
geoJsonPath: "/maps/
|
|
17935
|
+
code: "JP",
|
|
17936
|
+
name: "Japan",
|
|
17937
|
+
nativeName: "\u65E5\u672C",
|
|
17938
|
+
flag: "\u{1F1EF}\u{1F1F5}",
|
|
17939
|
+
theme: JP_THEME_CONFIG,
|
|
17940
|
+
coordinates: JAPAN_PREFECTURE_COORDINATES,
|
|
17941
|
+
mapCenter: JAPAN_MAP_CENTER,
|
|
17942
|
+
macroRegions: JAPAN_MACRO_REGIONS,
|
|
17943
|
+
geoJsonPath: "/maps/japan.geo.json",
|
|
15376
17944
|
projection: "mercator",
|
|
15377
17945
|
regionPropertyKey: "code",
|
|
15378
17946
|
languages: [
|
|
15379
|
-
{ code: "
|
|
17947
|
+
{ code: "ja", name: "Japanese", nativeName: "\u65E5\u672C\u8A9E", primary: true }
|
|
15380
17948
|
],
|
|
15381
17949
|
currency: {
|
|
15382
|
-
code: "
|
|
15383
|
-
numeric: "
|
|
15384
|
-
symbol: "
|
|
17950
|
+
code: "JPY",
|
|
17951
|
+
numeric: "392",
|
|
17952
|
+
symbol: "\xA5",
|
|
17953
|
+
decimal: ".",
|
|
17954
|
+
thousands: ",",
|
|
17955
|
+
symbolPosition: "before",
|
|
17956
|
+
precision: 0
|
|
17957
|
+
},
|
|
17958
|
+
locale: {
|
|
17959
|
+
defaultLocale: "ja-JP",
|
|
17960
|
+
dateFormat: "yyyy/MM/dd",
|
|
17961
|
+
timeFormat: "24h",
|
|
17962
|
+
firstDayOfWeek: 0,
|
|
17963
|
+
measurementSystem: "metric"
|
|
17964
|
+
},
|
|
17965
|
+
address: {
|
|
17966
|
+
fields: ["postalCode", "prefecture", "city", "district", "block", "building"],
|
|
17967
|
+
template: "\u3012{postalCode}\n{prefecture}{city}{district}{block}\n{building}",
|
|
17968
|
+
postalCodeLabel: "\u90F5\u4FBF\u756A\u53F7",
|
|
17969
|
+
postalCodePattern: "^\\d{3}-?\\d{4}$",
|
|
17970
|
+
stateLabel: "Prefecture"
|
|
17971
|
+
},
|
|
17972
|
+
tax: {
|
|
17973
|
+
name: "Consumption Tax",
|
|
17974
|
+
standardRate: 10
|
|
17975
|
+
}
|
|
17976
|
+
});
|
|
17977
|
+
registerCountry({
|
|
17978
|
+
code: "IN",
|
|
17979
|
+
name: "India",
|
|
17980
|
+
nativeName: "\u092D\u093E\u0930\u0924",
|
|
17981
|
+
flag: "\u{1F1EE}\u{1F1F3}",
|
|
17982
|
+
theme: IN_THEME_CONFIG,
|
|
17983
|
+
coordinates: INDIA_STATE_COORDINATES,
|
|
17984
|
+
mapCenter: INDIA_MAP_CENTER,
|
|
17985
|
+
macroRegions: INDIA_MACRO_REGIONS,
|
|
17986
|
+
geoJsonPath: "/maps/india.geo.json",
|
|
17987
|
+
projection: "mercator",
|
|
17988
|
+
regionPropertyKey: "code",
|
|
17989
|
+
languages: [
|
|
17990
|
+
{ code: "hi", name: "Hindi", nativeName: "\u0939\u093F\u0928\u094D\u0926\u0940", primary: true },
|
|
17991
|
+
{ code: "en-IN", name: "English", nativeName: "English" },
|
|
17992
|
+
{ code: "ta", name: "Tamil", nativeName: "\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD" },
|
|
17993
|
+
{ code: "te", name: "Telugu", nativeName: "\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41" },
|
|
17994
|
+
{ code: "bn", name: "Bengali", nativeName: "\u09AC\u09BE\u0982\u09B2\u09BE" },
|
|
17995
|
+
{ code: "mr", name: "Marathi", nativeName: "\u092E\u0930\u093E\u0920\u0940" }
|
|
17996
|
+
],
|
|
17997
|
+
currency: {
|
|
17998
|
+
code: "INR",
|
|
17999
|
+
numeric: "356",
|
|
18000
|
+
symbol: "\u20B9",
|
|
15385
18001
|
decimal: ".",
|
|
15386
18002
|
thousands: ",",
|
|
15387
18003
|
symbolPosition: "before",
|
|
15388
18004
|
precision: 2
|
|
15389
18005
|
},
|
|
15390
18006
|
locale: {
|
|
15391
|
-
defaultLocale: "
|
|
18007
|
+
defaultLocale: "en-IN",
|
|
15392
18008
|
dateFormat: "dd/MM/yyyy",
|
|
15393
18009
|
timeFormat: "12h",
|
|
15394
18010
|
firstDayOfWeek: 0,
|
|
15395
18011
|
measurementSystem: "metric"
|
|
15396
18012
|
},
|
|
15397
18013
|
address: {
|
|
15398
|
-
fields: ["street", "
|
|
15399
|
-
template: "{street}
|
|
15400
|
-
postalCodeLabel: "
|
|
15401
|
-
postalCodePattern: "^\\d{
|
|
15402
|
-
stateLabel: "
|
|
18014
|
+
fields: ["street", "landmark", "city", "state", "postalCode"],
|
|
18015
|
+
template: "{street}\n{landmark}\n{city}, {state} {postalCode}",
|
|
18016
|
+
postalCodeLabel: "PIN Code",
|
|
18017
|
+
postalCodePattern: "^\\d{6}$",
|
|
18018
|
+
stateLabel: "State"
|
|
15403
18019
|
},
|
|
15404
18020
|
tax: {
|
|
15405
|
-
name: "
|
|
15406
|
-
standardRate:
|
|
18021
|
+
name: "GST",
|
|
18022
|
+
standardRate: 18,
|
|
18023
|
+
subdivisionRates: {
|
|
18024
|
+
AN: 0,
|
|
18025
|
+
CH: 18,
|
|
18026
|
+
DD: 18,
|
|
18027
|
+
DL: 18,
|
|
18028
|
+
GA: 18,
|
|
18029
|
+
GJ: 18,
|
|
18030
|
+
HP: 18,
|
|
18031
|
+
JK: 18,
|
|
18032
|
+
JH: 18,
|
|
18033
|
+
KA: 18,
|
|
18034
|
+
KL: 18,
|
|
18035
|
+
LA: 0,
|
|
18036
|
+
LD: 0,
|
|
18037
|
+
MH: 18,
|
|
18038
|
+
ML: 18,
|
|
18039
|
+
MN: 18,
|
|
18040
|
+
MP: 18,
|
|
18041
|
+
MZ: 18,
|
|
18042
|
+
NL: 18,
|
|
18043
|
+
OR: 18,
|
|
18044
|
+
PB: 18,
|
|
18045
|
+
PY: 18,
|
|
18046
|
+
RJ: 18,
|
|
18047
|
+
SK: 18,
|
|
18048
|
+
TN: 18,
|
|
18049
|
+
TG: 18,
|
|
18050
|
+
TR: 18,
|
|
18051
|
+
UP: 18,
|
|
18052
|
+
UK: 18,
|
|
18053
|
+
WB: 18,
|
|
18054
|
+
AP: 18,
|
|
18055
|
+
AR: 18,
|
|
18056
|
+
AS: 18,
|
|
18057
|
+
BR: 18,
|
|
18058
|
+
CT: 18,
|
|
18059
|
+
HR: 18
|
|
18060
|
+
}
|
|
15407
18061
|
}
|
|
15408
18062
|
});
|
|
15409
18063
|
registerCountry({
|
|
15410
|
-
code: "
|
|
15411
|
-
name: "
|
|
15412
|
-
nativeName: "
|
|
15413
|
-
flag: "\u{
|
|
15414
|
-
theme:
|
|
15415
|
-
coordinates:
|
|
15416
|
-
mapCenter:
|
|
15417
|
-
macroRegions:
|
|
15418
|
-
geoJsonPath: "/maps/
|
|
18064
|
+
code: "ZA",
|
|
18065
|
+
name: "South Africa",
|
|
18066
|
+
nativeName: "South Africa",
|
|
18067
|
+
flag: "\u{1F1FF}\u{1F1E6}",
|
|
18068
|
+
theme: ZA_THEME_CONFIG,
|
|
18069
|
+
coordinates: SOUTH_AFRICA_PROVINCE_COORDINATES,
|
|
18070
|
+
mapCenter: SOUTH_AFRICA_MAP_CENTER,
|
|
18071
|
+
macroRegions: SOUTH_AFRICA_MACRO_REGIONS,
|
|
18072
|
+
geoJsonPath: "/maps/south-africa.geo.json",
|
|
15419
18073
|
projection: "mercator",
|
|
15420
18074
|
regionPropertyKey: "code",
|
|
15421
18075
|
languages: [
|
|
15422
|
-
{ code: "
|
|
18076
|
+
{ code: "en-ZA", name: "English", nativeName: "English", primary: true },
|
|
18077
|
+
{ code: "af", name: "Afrikaans", nativeName: "Afrikaans" },
|
|
18078
|
+
{ code: "zu", name: "Zulu", nativeName: "isiZulu" },
|
|
18079
|
+
{ code: "xh", name: "Xhosa", nativeName: "isiXhosa" }
|
|
15423
18080
|
],
|
|
15424
18081
|
currency: {
|
|
15425
|
-
code: "
|
|
15426
|
-
numeric: "
|
|
15427
|
-
symbol: "
|
|
15428
|
-
decimal: "
|
|
15429
|
-
thousands: "
|
|
18082
|
+
code: "ZAR",
|
|
18083
|
+
numeric: "710",
|
|
18084
|
+
symbol: "R",
|
|
18085
|
+
decimal: ".",
|
|
18086
|
+
thousands: ",",
|
|
15430
18087
|
symbolPosition: "before",
|
|
15431
|
-
precision:
|
|
18088
|
+
precision: 2
|
|
15432
18089
|
},
|
|
15433
18090
|
locale: {
|
|
15434
|
-
defaultLocale: "
|
|
15435
|
-
dateFormat: "
|
|
15436
|
-
timeFormat: "
|
|
18091
|
+
defaultLocale: "en-ZA",
|
|
18092
|
+
dateFormat: "yyyy/MM/dd",
|
|
18093
|
+
timeFormat: "24h",
|
|
15437
18094
|
firstDayOfWeek: 0,
|
|
15438
18095
|
measurementSystem: "metric"
|
|
15439
18096
|
},
|
|
15440
18097
|
address: {
|
|
15441
|
-
fields: ["street", "number", "city", "
|
|
15442
|
-
template: "{
|
|
15443
|
-
postalCodeLabel: "
|
|
15444
|
-
postalCodePattern: "^\\d{
|
|
15445
|
-
stateLabel: "
|
|
18098
|
+
fields: ["street", "number", "suburb", "city", "province", "postalCode"],
|
|
18099
|
+
template: "{number} {street}\n{suburb}\n{city}\n{province}\n{postalCode}",
|
|
18100
|
+
postalCodeLabel: "Postal Code",
|
|
18101
|
+
postalCodePattern: "^\\d{4}$",
|
|
18102
|
+
stateLabel: "Province"
|
|
15446
18103
|
},
|
|
15447
18104
|
tax: {
|
|
15448
|
-
name: "
|
|
15449
|
-
standardRate:
|
|
18105
|
+
name: "VAT",
|
|
18106
|
+
standardRate: 15
|
|
15450
18107
|
}
|
|
15451
18108
|
});
|
|
15452
18109
|
registerCountry({
|
|
15453
|
-
code: "
|
|
15454
|
-
name: "
|
|
15455
|
-
nativeName: "
|
|
15456
|
-
flag: "\u{
|
|
15457
|
-
theme:
|
|
15458
|
-
coordinates:
|
|
15459
|
-
mapCenter:
|
|
15460
|
-
macroRegions:
|
|
15461
|
-
geoJsonPath: "/maps/
|
|
18110
|
+
code: "KR",
|
|
18111
|
+
name: "South Korea",
|
|
18112
|
+
nativeName: "\uD55C\uAD6D",
|
|
18113
|
+
flag: "\u{1F1F0}\u{1F1F7}",
|
|
18114
|
+
theme: KR_THEME_CONFIG,
|
|
18115
|
+
coordinates: SOUTH_KOREA_PROVINCE_COORDINATES,
|
|
18116
|
+
mapCenter: SOUTH_KOREA_MAP_CENTER,
|
|
18117
|
+
macroRegions: SOUTH_KOREA_MACRO_REGIONS,
|
|
18118
|
+
geoJsonPath: "/maps/south-korea.geo.json",
|
|
15462
18119
|
projection: "mercator",
|
|
15463
18120
|
regionPropertyKey: "code",
|
|
15464
18121
|
languages: [
|
|
15465
|
-
{ code: "
|
|
18122
|
+
{ code: "ko", name: "Korean", nativeName: "\uD55C\uAD6D\uC5B4", primary: true }
|
|
15466
18123
|
],
|
|
15467
18124
|
currency: {
|
|
15468
|
-
code: "
|
|
15469
|
-
numeric: "
|
|
15470
|
-
symbol: "
|
|
15471
|
-
decimal: "
|
|
15472
|
-
thousands: "
|
|
18125
|
+
code: "KRW",
|
|
18126
|
+
numeric: "410",
|
|
18127
|
+
symbol: "\u20A9",
|
|
18128
|
+
decimal: ".",
|
|
18129
|
+
thousands: ",",
|
|
15473
18130
|
symbolPosition: "before",
|
|
15474
|
-
precision:
|
|
18131
|
+
precision: 0
|
|
15475
18132
|
},
|
|
15476
18133
|
locale: {
|
|
15477
|
-
defaultLocale: "
|
|
15478
|
-
dateFormat: "dd
|
|
18134
|
+
defaultLocale: "ko-KR",
|
|
18135
|
+
dateFormat: "yyyy.MM.dd",
|
|
15479
18136
|
timeFormat: "24h",
|
|
15480
|
-
firstDayOfWeek:
|
|
18137
|
+
firstDayOfWeek: 0,
|
|
15481
18138
|
measurementSystem: "metric"
|
|
15482
18139
|
},
|
|
15483
18140
|
address: {
|
|
15484
|
-
fields: ["
|
|
15485
|
-
template: "{
|
|
15486
|
-
postalCodeLabel: "
|
|
15487
|
-
postalCodePattern: "
|
|
15488
|
-
stateLabel: "
|
|
18141
|
+
fields: ["postalCode", "province", "city", "district", "street", "building"],
|
|
18142
|
+
template: "{postalCode}\n{province} {city} {district}\n{street} {building}",
|
|
18143
|
+
postalCodeLabel: "\uC6B0\uD3B8\uBC88\uD638",
|
|
18144
|
+
postalCodePattern: "^\\d{5}$",
|
|
18145
|
+
stateLabel: "Province"
|
|
15489
18146
|
},
|
|
15490
18147
|
tax: {
|
|
15491
|
-
name: "
|
|
15492
|
-
standardRate:
|
|
18148
|
+
name: "VAT",
|
|
18149
|
+
standardRate: 10
|
|
15493
18150
|
}
|
|
15494
18151
|
});
|
|
15495
18152
|
registerCountry({
|
|
15496
|
-
code: "
|
|
15497
|
-
name: "
|
|
15498
|
-
nativeName: "
|
|
15499
|
-
flag: "\u{
|
|
15500
|
-
theme:
|
|
15501
|
-
coordinates:
|
|
15502
|
-
mapCenter:
|
|
15503
|
-
macroRegions:
|
|
15504
|
-
geoJsonPath: "/maps/
|
|
18153
|
+
code: "ID",
|
|
18154
|
+
name: "Indonesia",
|
|
18155
|
+
nativeName: "Indonesia",
|
|
18156
|
+
flag: "\u{1F1EE}\u{1F1E9}",
|
|
18157
|
+
theme: ID_THEME_CONFIG,
|
|
18158
|
+
coordinates: INDONESIA_PROVINCE_COORDINATES,
|
|
18159
|
+
mapCenter: INDONESIA_MAP_CENTER,
|
|
18160
|
+
macroRegions: INDONESIA_MACRO_REGIONS,
|
|
18161
|
+
geoJsonPath: "/maps/indonesia.geo.json",
|
|
15505
18162
|
projection: "mercator",
|
|
15506
18163
|
regionPropertyKey: "code",
|
|
15507
18164
|
languages: [
|
|
15508
|
-
{ code: "
|
|
18165
|
+
{ code: "id", name: "Indonesian", nativeName: "Bahasa Indonesia", primary: true }
|
|
15509
18166
|
],
|
|
15510
18167
|
currency: {
|
|
15511
|
-
code: "
|
|
15512
|
-
numeric: "
|
|
15513
|
-
symbol: "
|
|
18168
|
+
code: "IDR",
|
|
18169
|
+
numeric: "360",
|
|
18170
|
+
symbol: "Rp",
|
|
15514
18171
|
decimal: ",",
|
|
15515
18172
|
thousands: ".",
|
|
15516
18173
|
symbolPosition: "before",
|
|
15517
18174
|
precision: 0
|
|
15518
18175
|
},
|
|
15519
18176
|
locale: {
|
|
15520
|
-
defaultLocale: "
|
|
15521
|
-
dateFormat: "dd
|
|
18177
|
+
defaultLocale: "id-ID",
|
|
18178
|
+
dateFormat: "dd/MM/yyyy",
|
|
15522
18179
|
timeFormat: "24h",
|
|
15523
18180
|
firstDayOfWeek: 1,
|
|
15524
18181
|
measurementSystem: "metric"
|
|
15525
18182
|
},
|
|
15526
18183
|
address: {
|
|
15527
|
-
fields: ["street", "number", "
|
|
15528
|
-
template: "{street} {number}\n{
|
|
15529
|
-
postalCodeLabel: "
|
|
15530
|
-
postalCodePattern: "^\\d{
|
|
15531
|
-
stateLabel: "
|
|
18184
|
+
fields: ["street", "number", "district", "city", "province", "postalCode"],
|
|
18185
|
+
template: "{street} {number}\n{district}\n{city}, {province} {postalCode}",
|
|
18186
|
+
postalCodeLabel: "Kode Pos",
|
|
18187
|
+
postalCodePattern: "^\\d{5}$",
|
|
18188
|
+
stateLabel: "Provinsi"
|
|
15532
18189
|
},
|
|
15533
18190
|
tax: {
|
|
15534
|
-
name: "
|
|
15535
|
-
standardRate:
|
|
18191
|
+
name: "PPN",
|
|
18192
|
+
standardRate: 11
|
|
15536
18193
|
}
|
|
15537
18194
|
});
|
|
15538
18195
|
registerCountry({
|
|
15539
|
-
code: "
|
|
15540
|
-
name: "
|
|
15541
|
-
nativeName: "
|
|
15542
|
-
flag: "\u{
|
|
15543
|
-
theme:
|
|
15544
|
-
coordinates:
|
|
15545
|
-
mapCenter:
|
|
15546
|
-
macroRegions:
|
|
15547
|
-
geoJsonPath: "/maps/
|
|
18196
|
+
code: "TH",
|
|
18197
|
+
name: "Thailand",
|
|
18198
|
+
nativeName: "\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28\u0E44\u0E17\u0E22",
|
|
18199
|
+
flag: "\u{1F1F9}\u{1F1ED}",
|
|
18200
|
+
theme: TH_THEME_CONFIG,
|
|
18201
|
+
coordinates: THAILAND_PROVINCE_COORDINATES,
|
|
18202
|
+
mapCenter: THAILAND_MAP_CENTER,
|
|
18203
|
+
macroRegions: THAILAND_MACRO_REGIONS,
|
|
18204
|
+
geoJsonPath: "/maps/thailand.geo.json",
|
|
15548
18205
|
projection: "mercator",
|
|
15549
18206
|
regionPropertyKey: "code",
|
|
15550
18207
|
languages: [
|
|
15551
|
-
{ code: "
|
|
15552
|
-
{ code: "qu", name: "Quechua", nativeName: "Runasimi" }
|
|
18208
|
+
{ code: "th", name: "Thai", nativeName: "\u0E44\u0E17\u0E22", primary: true }
|
|
15553
18209
|
],
|
|
15554
18210
|
currency: {
|
|
15555
|
-
code: "
|
|
15556
|
-
numeric: "
|
|
15557
|
-
symbol: "
|
|
18211
|
+
code: "THB",
|
|
18212
|
+
numeric: "764",
|
|
18213
|
+
symbol: "\u0E3F",
|
|
15558
18214
|
decimal: ".",
|
|
15559
18215
|
thousands: ",",
|
|
15560
18216
|
symbolPosition: "before",
|
|
15561
18217
|
precision: 2
|
|
15562
18218
|
},
|
|
15563
18219
|
locale: {
|
|
15564
|
-
defaultLocale: "
|
|
18220
|
+
defaultLocale: "th-TH",
|
|
15565
18221
|
dateFormat: "dd/MM/yyyy",
|
|
15566
|
-
timeFormat: "12h",
|
|
15567
|
-
firstDayOfWeek: 0,
|
|
15568
|
-
measurementSystem: "metric"
|
|
15569
|
-
},
|
|
15570
|
-
address: {
|
|
15571
|
-
fields: ["street", "number", "district", "city", "department", "postalCode"],
|
|
15572
|
-
template: "{street} {number}\n{district}\n{city}, {department} {postalCode}",
|
|
15573
|
-
postalCodeLabel: "C\xF3digo Postal",
|
|
15574
|
-
postalCodePattern: "^\\d{5}$",
|
|
15575
|
-
stateLabel: "Departamento"
|
|
15576
|
-
},
|
|
15577
|
-
tax: {
|
|
15578
|
-
name: "IGV",
|
|
15579
|
-
standardRate: 18
|
|
15580
|
-
}
|
|
15581
|
-
});
|
|
15582
|
-
registerCountry({
|
|
15583
|
-
code: "DE",
|
|
15584
|
-
name: "Germany",
|
|
15585
|
-
nativeName: "Deutschland",
|
|
15586
|
-
flag: "\u{1F1E9}\u{1F1EA}",
|
|
15587
|
-
theme: DE_THEME_CONFIG,
|
|
15588
|
-
coordinates: GERMANY_STATE_COORDINATES,
|
|
15589
|
-
mapCenter: GERMANY_MAP_CENTER,
|
|
15590
|
-
macroRegions: GERMANY_MACRO_REGIONS,
|
|
15591
|
-
geoJsonPath: "/maps/germany.geo.json",
|
|
15592
|
-
projection: "mercator",
|
|
15593
|
-
regionPropertyKey: "code",
|
|
15594
|
-
languages: [
|
|
15595
|
-
{ code: "de-DE", name: "German", nativeName: "Deutsch", primary: true }
|
|
15596
|
-
],
|
|
15597
|
-
currency: {
|
|
15598
|
-
code: "EUR",
|
|
15599
|
-
numeric: "978",
|
|
15600
|
-
symbol: "\u20AC",
|
|
15601
|
-
decimal: ",",
|
|
15602
|
-
thousands: ".",
|
|
15603
|
-
symbolPosition: "after",
|
|
15604
|
-
precision: 2
|
|
15605
|
-
},
|
|
15606
|
-
locale: {
|
|
15607
|
-
defaultLocale: "de-DE",
|
|
15608
|
-
dateFormat: "dd.MM.yyyy",
|
|
15609
18222
|
timeFormat: "24h",
|
|
15610
|
-
firstDayOfWeek:
|
|
18223
|
+
firstDayOfWeek: 0,
|
|
15611
18224
|
measurementSystem: "metric"
|
|
15612
18225
|
},
|
|
15613
18226
|
address: {
|
|
15614
|
-
fields: ["street", "number", "
|
|
15615
|
-
template: "{street} {
|
|
15616
|
-
postalCodeLabel: "
|
|
18227
|
+
fields: ["street", "number", "subDistrict", "district", "province", "postalCode"],
|
|
18228
|
+
template: "{number} {street}\n{subDistrict}, {district}\n{province} {postalCode}",
|
|
18229
|
+
postalCodeLabel: "\u0E23\u0E2B\u0E31\u0E2A\u0E44\u0E1B\u0E23\u0E29\u0E13\u0E35\u0E22\u0E4C",
|
|
15617
18230
|
postalCodePattern: "^\\d{5}$",
|
|
15618
|
-
stateLabel: "
|
|
18231
|
+
stateLabel: "Province"
|
|
15619
18232
|
},
|
|
15620
18233
|
tax: {
|
|
15621
|
-
name: "
|
|
15622
|
-
standardRate:
|
|
18234
|
+
name: "VAT",
|
|
18235
|
+
standardRate: 7
|
|
15623
18236
|
}
|
|
15624
18237
|
});
|
|
15625
18238
|
registerCountry({
|
|
15626
|
-
code: "
|
|
15627
|
-
name: "
|
|
15628
|
-
nativeName: "
|
|
15629
|
-
flag: "\u{
|
|
15630
|
-
theme:
|
|
15631
|
-
coordinates:
|
|
15632
|
-
mapCenter:
|
|
15633
|
-
macroRegions:
|
|
15634
|
-
geoJsonPath: "/maps/
|
|
18239
|
+
code: "NG",
|
|
18240
|
+
name: "Nigeria",
|
|
18241
|
+
nativeName: "Nigeria",
|
|
18242
|
+
flag: "\u{1F1F3}\u{1F1EC}",
|
|
18243
|
+
theme: NG_THEME_CONFIG,
|
|
18244
|
+
coordinates: NIGERIA_STATE_COORDINATES,
|
|
18245
|
+
mapCenter: NIGERIA_MAP_CENTER,
|
|
18246
|
+
macroRegions: NIGERIA_MACRO_REGIONS,
|
|
18247
|
+
geoJsonPath: "/maps/nigeria.geo.json",
|
|
15635
18248
|
projection: "mercator",
|
|
15636
18249
|
regionPropertyKey: "code",
|
|
15637
18250
|
languages: [
|
|
15638
|
-
{ code: "
|
|
18251
|
+
{ code: "en-NG", name: "English", nativeName: "English", primary: true },
|
|
18252
|
+
{ code: "ha", name: "Hausa", nativeName: "Hausa" },
|
|
18253
|
+
{ code: "yo", name: "Yoruba", nativeName: "Yor\xF9b\xE1" },
|
|
18254
|
+
{ code: "ig", name: "Igbo", nativeName: "Igbo" }
|
|
15639
18255
|
],
|
|
15640
18256
|
currency: {
|
|
15641
|
-
code: "
|
|
15642
|
-
numeric: "
|
|
15643
|
-
symbol: "\
|
|
15644
|
-
decimal: "
|
|
15645
|
-
thousands: "
|
|
15646
|
-
symbolPosition: "
|
|
18257
|
+
code: "NGN",
|
|
18258
|
+
numeric: "566",
|
|
18259
|
+
symbol: "\u20A6",
|
|
18260
|
+
decimal: ".",
|
|
18261
|
+
thousands: ",",
|
|
18262
|
+
symbolPosition: "before",
|
|
15647
18263
|
precision: 2
|
|
15648
18264
|
},
|
|
15649
18265
|
locale: {
|
|
15650
|
-
defaultLocale: "
|
|
18266
|
+
defaultLocale: "en-NG",
|
|
15651
18267
|
dateFormat: "dd/MM/yyyy",
|
|
15652
|
-
timeFormat: "
|
|
18268
|
+
timeFormat: "12h",
|
|
15653
18269
|
firstDayOfWeek: 1,
|
|
15654
18270
|
measurementSystem: "metric"
|
|
15655
18271
|
},
|
|
15656
18272
|
address: {
|
|
15657
|
-
fields: ["street", "number", "
|
|
15658
|
-
template: "{number} {street}\n{
|
|
15659
|
-
postalCodeLabel: "Code
|
|
15660
|
-
postalCodePattern: "^\\d{
|
|
15661
|
-
stateLabel: "
|
|
18273
|
+
fields: ["street", "number", "city", "state", "postalCode"],
|
|
18274
|
+
template: "{number} {street}\n{city}\n{state} {postalCode}",
|
|
18275
|
+
postalCodeLabel: "Postal Code",
|
|
18276
|
+
postalCodePattern: "^\\d{6}$",
|
|
18277
|
+
stateLabel: "State"
|
|
15662
18278
|
},
|
|
15663
18279
|
tax: {
|
|
15664
|
-
name: "
|
|
15665
|
-
standardRate:
|
|
18280
|
+
name: "VAT",
|
|
18281
|
+
standardRate: 7.5
|
|
15666
18282
|
}
|
|
15667
18283
|
});
|
|
15668
18284
|
registerCountry({
|
|
15669
|
-
code: "
|
|
15670
|
-
name: "
|
|
15671
|
-
nativeName: "
|
|
15672
|
-
flag: "\u{1F1EA}\u{
|
|
15673
|
-
theme:
|
|
15674
|
-
coordinates:
|
|
15675
|
-
mapCenter:
|
|
15676
|
-
macroRegions:
|
|
15677
|
-
geoJsonPath: "/maps/
|
|
18285
|
+
code: "EG",
|
|
18286
|
+
name: "Egypt",
|
|
18287
|
+
nativeName: "\u0645\u0635\u0631",
|
|
18288
|
+
flag: "\u{1F1EA}\u{1F1EC}",
|
|
18289
|
+
theme: EG_THEME_CONFIG,
|
|
18290
|
+
coordinates: EGYPT_GOVERNORATE_COORDINATES,
|
|
18291
|
+
mapCenter: EGYPT_MAP_CENTER,
|
|
18292
|
+
macroRegions: EGYPT_MACRO_REGIONS,
|
|
18293
|
+
geoJsonPath: "/maps/egypt.geo.json",
|
|
15678
18294
|
projection: "mercator",
|
|
15679
18295
|
regionPropertyKey: "code",
|
|
15680
18296
|
languages: [
|
|
15681
|
-
{ code: "
|
|
15682
|
-
{ code: "ca", name: "Catalan", nativeName: "Catal\xE0" },
|
|
15683
|
-
{ code: "eu", name: "Basque", nativeName: "Euskara" },
|
|
15684
|
-
{ code: "gl", name: "Galician", nativeName: "Galego" }
|
|
18297
|
+
{ code: "ar", name: "Arabic", nativeName: "\u0627\u0644\u0639\u0631\u0628\u064A\u0629", primary: true }
|
|
15685
18298
|
],
|
|
15686
18299
|
currency: {
|
|
15687
|
-
code: "
|
|
15688
|
-
numeric: "
|
|
15689
|
-
symbol: "\
|
|
15690
|
-
decimal: "
|
|
15691
|
-
thousands: "
|
|
15692
|
-
symbolPosition: "
|
|
18300
|
+
code: "EGP",
|
|
18301
|
+
numeric: "818",
|
|
18302
|
+
symbol: "E\xA3",
|
|
18303
|
+
decimal: ".",
|
|
18304
|
+
thousands: ",",
|
|
18305
|
+
symbolPosition: "before",
|
|
15693
18306
|
precision: 2
|
|
15694
18307
|
},
|
|
15695
18308
|
locale: {
|
|
15696
|
-
defaultLocale: "
|
|
18309
|
+
defaultLocale: "ar-EG",
|
|
15697
18310
|
dateFormat: "dd/MM/yyyy",
|
|
15698
|
-
timeFormat: "
|
|
15699
|
-
firstDayOfWeek:
|
|
18311
|
+
timeFormat: "12h",
|
|
18312
|
+
firstDayOfWeek: 0,
|
|
15700
18313
|
measurementSystem: "metric"
|
|
15701
18314
|
},
|
|
15702
18315
|
address: {
|
|
15703
|
-
fields: ["street", "number", "
|
|
15704
|
-
template: "{
|
|
15705
|
-
postalCodeLabel: "
|
|
18316
|
+
fields: ["street", "number", "district", "city", "governorate", "postalCode"],
|
|
18317
|
+
template: "{number} {street}\n{district}\n{city}, {governorate} {postalCode}",
|
|
18318
|
+
postalCodeLabel: "Postal Code",
|
|
15706
18319
|
postalCodePattern: "^\\d{5}$",
|
|
15707
|
-
stateLabel: "
|
|
18320
|
+
stateLabel: "Governorate"
|
|
15708
18321
|
},
|
|
15709
18322
|
tax: {
|
|
15710
|
-
name: "
|
|
15711
|
-
standardRate:
|
|
18323
|
+
name: "VAT",
|
|
18324
|
+
standardRate: 14
|
|
15712
18325
|
}
|
|
15713
18326
|
});
|
|
15714
18327
|
registerCountry({
|
|
15715
|
-
code: "
|
|
15716
|
-
name: "
|
|
15717
|
-
nativeName: "
|
|
15718
|
-
flag: "\u{
|
|
15719
|
-
theme:
|
|
15720
|
-
coordinates:
|
|
15721
|
-
mapCenter:
|
|
15722
|
-
macroRegions:
|
|
15723
|
-
geoJsonPath: "/maps/
|
|
18328
|
+
code: "TR",
|
|
18329
|
+
name: "Turkey",
|
|
18330
|
+
nativeName: "T\xFCrkiye",
|
|
18331
|
+
flag: "\u{1F1F9}\u{1F1F7}",
|
|
18332
|
+
theme: TR_THEME_CONFIG,
|
|
18333
|
+
coordinates: TURKEY_PROVINCE_COORDINATES,
|
|
18334
|
+
mapCenter: TURKEY_MAP_CENTER,
|
|
18335
|
+
macroRegions: TURKEY_MACRO_REGIONS,
|
|
18336
|
+
geoJsonPath: "/maps/turkey.geo.json",
|
|
15724
18337
|
projection: "mercator",
|
|
15725
18338
|
regionPropertyKey: "code",
|
|
15726
18339
|
languages: [
|
|
15727
|
-
{ code: "
|
|
18340
|
+
{ code: "tr", name: "Turkish", nativeName: "T\xFCrk\xE7e", primary: true }
|
|
15728
18341
|
],
|
|
15729
18342
|
currency: {
|
|
15730
|
-
code: "
|
|
15731
|
-
numeric: "
|
|
15732
|
-
symbol: "\
|
|
18343
|
+
code: "TRY",
|
|
18344
|
+
numeric: "949",
|
|
18345
|
+
symbol: "\u20BA",
|
|
15733
18346
|
decimal: ",",
|
|
15734
18347
|
thousands: ".",
|
|
15735
|
-
symbolPosition: "
|
|
18348
|
+
symbolPosition: "before",
|
|
15736
18349
|
precision: 2
|
|
15737
18350
|
},
|
|
15738
18351
|
locale: {
|
|
15739
|
-
defaultLocale: "
|
|
15740
|
-
dateFormat: "dd
|
|
18352
|
+
defaultLocale: "tr-TR",
|
|
18353
|
+
dateFormat: "dd.MM.yyyy",
|
|
15741
18354
|
timeFormat: "24h",
|
|
15742
18355
|
firstDayOfWeek: 1,
|
|
15743
18356
|
measurementSystem: "metric"
|
|
15744
18357
|
},
|
|
15745
18358
|
address: {
|
|
15746
|
-
fields: ["street", "number", "postalCode", "city", "province"],
|
|
15747
|
-
template: "{street} {number}\n{postalCode} {city}
|
|
15748
|
-
postalCodeLabel: "
|
|
18359
|
+
fields: ["street", "number", "district", "postalCode", "city", "province"],
|
|
18360
|
+
template: "{street} {number}\n{district}\n{postalCode} {city}/{province}",
|
|
18361
|
+
postalCodeLabel: "Posta Kodu",
|
|
15749
18362
|
postalCodePattern: "^\\d{5}$",
|
|
15750
|
-
stateLabel: "
|
|
18363
|
+
stateLabel: "\u0130l"
|
|
15751
18364
|
},
|
|
15752
18365
|
tax: {
|
|
15753
|
-
name: "
|
|
15754
|
-
standardRate:
|
|
18366
|
+
name: "KDV",
|
|
18367
|
+
standardRate: 20
|
|
15755
18368
|
}
|
|
15756
18369
|
});
|
|
15757
18370
|
registerCountry({
|
|
15758
|
-
code: "
|
|
15759
|
-
name: "
|
|
15760
|
-
nativeName: "
|
|
15761
|
-
flag: "\u{
|
|
15762
|
-
theme:
|
|
15763
|
-
coordinates:
|
|
15764
|
-
mapCenter:
|
|
15765
|
-
macroRegions:
|
|
15766
|
-
geoJsonPath: "/maps/
|
|
18371
|
+
code: "PL",
|
|
18372
|
+
name: "Poland",
|
|
18373
|
+
nativeName: "Polska",
|
|
18374
|
+
flag: "\u{1F1F5}\u{1F1F1}",
|
|
18375
|
+
theme: PL_THEME_CONFIG,
|
|
18376
|
+
coordinates: POLAND_VOIVODESHIP_COORDINATES,
|
|
18377
|
+
mapCenter: POLAND_MAP_CENTER,
|
|
18378
|
+
macroRegions: POLAND_MACRO_REGIONS,
|
|
18379
|
+
geoJsonPath: "/maps/poland.geo.json",
|
|
15767
18380
|
projection: "mercator",
|
|
15768
18381
|
regionPropertyKey: "code",
|
|
15769
18382
|
languages: [
|
|
15770
|
-
{ code: "
|
|
15771
|
-
{ code: "cy", name: "Welsh", nativeName: "Cymraeg" },
|
|
15772
|
-
{ code: "gd", name: "Scottish Gaelic", nativeName: "G\xE0idhlig" }
|
|
18383
|
+
{ code: "pl", name: "Polish", nativeName: "Polski", primary: true }
|
|
15773
18384
|
],
|
|
15774
18385
|
currency: {
|
|
15775
|
-
code: "
|
|
15776
|
-
numeric: "
|
|
15777
|
-
symbol: "\
|
|
15778
|
-
decimal: "
|
|
15779
|
-
thousands: "
|
|
15780
|
-
symbolPosition: "
|
|
18386
|
+
code: "PLN",
|
|
18387
|
+
numeric: "985",
|
|
18388
|
+
symbol: "z\u0142",
|
|
18389
|
+
decimal: ",",
|
|
18390
|
+
thousands: "\xA0",
|
|
18391
|
+
symbolPosition: "after",
|
|
15781
18392
|
precision: 2
|
|
15782
18393
|
},
|
|
15783
18394
|
locale: {
|
|
15784
|
-
defaultLocale: "
|
|
15785
|
-
dateFormat: "dd
|
|
18395
|
+
defaultLocale: "pl-PL",
|
|
18396
|
+
dateFormat: "dd.MM.yyyy",
|
|
15786
18397
|
timeFormat: "24h",
|
|
15787
18398
|
firstDayOfWeek: 1,
|
|
15788
18399
|
measurementSystem: "metric"
|
|
15789
18400
|
},
|
|
15790
18401
|
address: {
|
|
15791
|
-
fields: ["street", "number", "
|
|
15792
|
-
template: "{
|
|
15793
|
-
postalCodeLabel: "
|
|
15794
|
-
postalCodePattern: "
|
|
15795
|
-
stateLabel: "
|
|
18402
|
+
fields: ["street", "number", "apartment", "postalCode", "city"],
|
|
18403
|
+
template: "{street} {number}/{apartment}\n{postalCode} {city}",
|
|
18404
|
+
postalCodeLabel: "Kod pocztowy",
|
|
18405
|
+
postalCodePattern: "^\\d{2}-\\d{3}$",
|
|
18406
|
+
stateLabel: "Wojew\xF3dztwo"
|
|
15796
18407
|
},
|
|
15797
18408
|
tax: {
|
|
15798
18409
|
name: "VAT",
|
|
15799
|
-
standardRate:
|
|
18410
|
+
standardRate: 23
|
|
15800
18411
|
}
|
|
15801
18412
|
});
|
|
15802
18413
|
registerCountry({
|
|
15803
|
-
code: "
|
|
15804
|
-
name: "
|
|
15805
|
-
nativeName: "
|
|
15806
|
-
flag: "\u{
|
|
15807
|
-
theme:
|
|
15808
|
-
coordinates:
|
|
15809
|
-
mapCenter:
|
|
15810
|
-
macroRegions:
|
|
15811
|
-
geoJsonPath: "/maps/
|
|
18414
|
+
code: "SE",
|
|
18415
|
+
name: "Sweden",
|
|
18416
|
+
nativeName: "Sverige",
|
|
18417
|
+
flag: "\u{1F1F8}\u{1F1EA}",
|
|
18418
|
+
theme: SE_THEME_CONFIG,
|
|
18419
|
+
coordinates: SWEDEN_COUNTY_COORDINATES,
|
|
18420
|
+
mapCenter: SWEDEN_MAP_CENTER,
|
|
18421
|
+
macroRegions: SWEDEN_MACRO_REGIONS,
|
|
18422
|
+
geoJsonPath: "/maps/sweden.geo.json",
|
|
15812
18423
|
projection: "mercator",
|
|
15813
18424
|
regionPropertyKey: "code",
|
|
15814
18425
|
languages: [
|
|
15815
|
-
{ code: "
|
|
18426
|
+
{ code: "sv", name: "Swedish", nativeName: "Svenska", primary: true }
|
|
15816
18427
|
],
|
|
15817
18428
|
currency: {
|
|
15818
|
-
code: "
|
|
15819
|
-
numeric: "
|
|
15820
|
-
symbol: "
|
|
18429
|
+
code: "SEK",
|
|
18430
|
+
numeric: "752",
|
|
18431
|
+
symbol: "kr",
|
|
15821
18432
|
decimal: ",",
|
|
15822
|
-
thousands: "
|
|
18433
|
+
thousands: "\xA0",
|
|
15823
18434
|
symbolPosition: "after",
|
|
15824
18435
|
precision: 2
|
|
15825
18436
|
},
|
|
15826
18437
|
locale: {
|
|
15827
|
-
defaultLocale: "
|
|
15828
|
-
dateFormat: "dd
|
|
18438
|
+
defaultLocale: "sv-SE",
|
|
18439
|
+
dateFormat: "yyyy-MM-dd",
|
|
15829
18440
|
timeFormat: "24h",
|
|
15830
18441
|
firstDayOfWeek: 1,
|
|
15831
18442
|
measurementSystem: "metric"
|
|
15832
18443
|
},
|
|
15833
18444
|
address: {
|
|
15834
|
-
fields: ["street", "number", "
|
|
15835
|
-
template: "{street} {number}
|
|
15836
|
-
postalCodeLabel: "
|
|
15837
|
-
postalCodePattern: "^\\d{
|
|
15838
|
-
stateLabel: "
|
|
18445
|
+
fields: ["street", "number", "postalCode", "city"],
|
|
18446
|
+
template: "{street} {number}\n{postalCode} {city}",
|
|
18447
|
+
postalCodeLabel: "Postnummer",
|
|
18448
|
+
postalCodePattern: "^\\d{3}\\s?\\d{2}$",
|
|
18449
|
+
stateLabel: "L\xE4n"
|
|
15839
18450
|
},
|
|
15840
18451
|
tax: {
|
|
15841
|
-
name: "
|
|
15842
|
-
standardRate:
|
|
18452
|
+
name: "Moms",
|
|
18453
|
+
standardRate: 25
|
|
15843
18454
|
}
|
|
15844
18455
|
});
|
|
15845
18456
|
registerCountry({
|
|
15846
|
-
code: "
|
|
15847
|
-
name: "
|
|
15848
|
-
nativeName: "
|
|
15849
|
-
flag: "\u{
|
|
15850
|
-
theme:
|
|
15851
|
-
coordinates:
|
|
15852
|
-
mapCenter:
|
|
15853
|
-
macroRegions:
|
|
15854
|
-
geoJsonPath: "/maps/
|
|
18457
|
+
code: "NO",
|
|
18458
|
+
name: "Norway",
|
|
18459
|
+
nativeName: "Norge",
|
|
18460
|
+
flag: "\u{1F1F3}\u{1F1F4}",
|
|
18461
|
+
theme: NO_THEME_CONFIG,
|
|
18462
|
+
coordinates: NORWAY_COUNTY_COORDINATES,
|
|
18463
|
+
mapCenter: NORWAY_MAP_CENTER,
|
|
18464
|
+
macroRegions: NORWAY_MACRO_REGIONS,
|
|
18465
|
+
geoJsonPath: "/maps/norway.geo.json",
|
|
15855
18466
|
projection: "mercator",
|
|
15856
18467
|
regionPropertyKey: "code",
|
|
15857
18468
|
languages: [
|
|
15858
|
-
{ code: "
|
|
18469
|
+
{ code: "no", name: "Norwegian", nativeName: "Norsk", primary: true }
|
|
15859
18470
|
],
|
|
15860
18471
|
currency: {
|
|
15861
|
-
code: "
|
|
15862
|
-
numeric: "
|
|
15863
|
-
symbol: "
|
|
15864
|
-
decimal: "
|
|
15865
|
-
thousands: "
|
|
15866
|
-
symbolPosition: "
|
|
18472
|
+
code: "NOK",
|
|
18473
|
+
numeric: "578",
|
|
18474
|
+
symbol: "kr",
|
|
18475
|
+
decimal: ",",
|
|
18476
|
+
thousands: "\xA0",
|
|
18477
|
+
symbolPosition: "after",
|
|
15867
18478
|
precision: 2
|
|
15868
18479
|
},
|
|
15869
18480
|
locale: {
|
|
15870
|
-
defaultLocale: "
|
|
15871
|
-
dateFormat: "dd
|
|
15872
|
-
timeFormat: "
|
|
15873
|
-
firstDayOfWeek:
|
|
18481
|
+
defaultLocale: "nb-NO",
|
|
18482
|
+
dateFormat: "dd.MM.yyyy",
|
|
18483
|
+
timeFormat: "24h",
|
|
18484
|
+
firstDayOfWeek: 1,
|
|
15874
18485
|
measurementSystem: "metric"
|
|
15875
18486
|
},
|
|
15876
18487
|
address: {
|
|
15877
|
-
fields: ["street", "number", "
|
|
15878
|
-
template: "{
|
|
15879
|
-
postalCodeLabel: "
|
|
18488
|
+
fields: ["street", "number", "postalCode", "city"],
|
|
18489
|
+
template: "{street} {number}\n{postalCode} {city}",
|
|
18490
|
+
postalCodeLabel: "Postnummer",
|
|
15880
18491
|
postalCodePattern: "^\\d{4}$",
|
|
15881
|
-
stateLabel: "
|
|
18492
|
+
stateLabel: "Fylke"
|
|
15882
18493
|
},
|
|
15883
18494
|
tax: {
|
|
15884
|
-
name: "
|
|
15885
|
-
standardRate:
|
|
18495
|
+
name: "MVA",
|
|
18496
|
+
standardRate: 25
|
|
15886
18497
|
}
|
|
15887
18498
|
});
|
|
15888
18499
|
registerCountry({
|
|
15889
|
-
code: "
|
|
15890
|
-
name: "
|
|
15891
|
-
nativeName: "
|
|
15892
|
-
flag: "\u{
|
|
15893
|
-
theme:
|
|
15894
|
-
coordinates:
|
|
15895
|
-
mapCenter:
|
|
15896
|
-
macroRegions:
|
|
15897
|
-
geoJsonPath: "/maps/
|
|
18500
|
+
code: "NL",
|
|
18501
|
+
name: "Netherlands",
|
|
18502
|
+
nativeName: "Nederland",
|
|
18503
|
+
flag: "\u{1F1F3}\u{1F1F1}",
|
|
18504
|
+
theme: NL_THEME_CONFIG,
|
|
18505
|
+
coordinates: NETHERLANDS_PROVINCE_COORDINATES,
|
|
18506
|
+
mapCenter: NETHERLANDS_MAP_CENTER,
|
|
18507
|
+
macroRegions: NETHERLANDS_MACRO_REGIONS,
|
|
18508
|
+
geoJsonPath: "/maps/netherlands.geo.json",
|
|
15898
18509
|
projection: "mercator",
|
|
15899
18510
|
regionPropertyKey: "code",
|
|
15900
18511
|
languages: [
|
|
15901
|
-
{ code: "
|
|
18512
|
+
{ code: "nl", name: "Dutch", nativeName: "Nederlands", primary: true }
|
|
15902
18513
|
],
|
|
15903
18514
|
currency: {
|
|
15904
|
-
code: "
|
|
15905
|
-
numeric: "
|
|
15906
|
-
symbol: "\
|
|
15907
|
-
decimal: "
|
|
15908
|
-
thousands: "
|
|
18515
|
+
code: "EUR",
|
|
18516
|
+
numeric: "978",
|
|
18517
|
+
symbol: "\u20AC",
|
|
18518
|
+
decimal: ",",
|
|
18519
|
+
thousands: ".",
|
|
15909
18520
|
symbolPosition: "before",
|
|
15910
|
-
precision:
|
|
18521
|
+
precision: 2
|
|
15911
18522
|
},
|
|
15912
18523
|
locale: {
|
|
15913
|
-
defaultLocale: "
|
|
15914
|
-
dateFormat: "yyyy
|
|
18524
|
+
defaultLocale: "nl-NL",
|
|
18525
|
+
dateFormat: "dd-MM-yyyy",
|
|
15915
18526
|
timeFormat: "24h",
|
|
15916
|
-
firstDayOfWeek:
|
|
18527
|
+
firstDayOfWeek: 1,
|
|
15917
18528
|
measurementSystem: "metric"
|
|
15918
18529
|
},
|
|
15919
18530
|
address: {
|
|
15920
|
-
fields: ["
|
|
15921
|
-
template: "
|
|
15922
|
-
postalCodeLabel: "
|
|
15923
|
-
postalCodePattern: "^\\d{
|
|
15924
|
-
stateLabel: "
|
|
18531
|
+
fields: ["street", "number", "postalCode", "city"],
|
|
18532
|
+
template: "{street} {number}\n{postalCode} {city}",
|
|
18533
|
+
postalCodeLabel: "Postcode",
|
|
18534
|
+
postalCodePattern: "^\\d{4}\\s?[A-Z]{2}$",
|
|
18535
|
+
stateLabel: "Provincie"
|
|
15925
18536
|
},
|
|
15926
18537
|
tax: {
|
|
15927
|
-
name: "
|
|
15928
|
-
standardRate:
|
|
18538
|
+
name: "BTW",
|
|
18539
|
+
standardRate: 21
|
|
15929
18540
|
}
|
|
15930
18541
|
});
|
|
15931
18542
|
registerCountry({
|
|
15932
|
-
code: "
|
|
15933
|
-
name: "
|
|
15934
|
-
nativeName: "
|
|
15935
|
-
flag: "\u{
|
|
15936
|
-
theme:
|
|
15937
|
-
coordinates:
|
|
15938
|
-
mapCenter:
|
|
15939
|
-
macroRegions:
|
|
15940
|
-
geoJsonPath: "/maps/
|
|
18543
|
+
code: "PH",
|
|
18544
|
+
name: "Philippines",
|
|
18545
|
+
nativeName: "Pilipinas",
|
|
18546
|
+
flag: "\u{1F1F5}\u{1F1ED}",
|
|
18547
|
+
theme: PH_THEME_CONFIG,
|
|
18548
|
+
coordinates: PHILIPPINES_PROVINCE_COORDINATES,
|
|
18549
|
+
mapCenter: PHILIPPINES_MAP_CENTER,
|
|
18550
|
+
macroRegions: PHILIPPINES_MACRO_REGIONS,
|
|
18551
|
+
geoJsonPath: "/maps/philippines.geo.json",
|
|
15941
18552
|
projection: "mercator",
|
|
15942
18553
|
regionPropertyKey: "code",
|
|
15943
18554
|
languages: [
|
|
15944
|
-
{ code: "
|
|
15945
|
-
{ code: "en-
|
|
15946
|
-
{ code: "ta", name: "Tamil", nativeName: "\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD" },
|
|
15947
|
-
{ code: "te", name: "Telugu", nativeName: "\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41" },
|
|
15948
|
-
{ code: "bn", name: "Bengali", nativeName: "\u09AC\u09BE\u0982\u09B2\u09BE" },
|
|
15949
|
-
{ code: "mr", name: "Marathi", nativeName: "\u092E\u0930\u093E\u0920\u0940" }
|
|
18555
|
+
{ code: "fil", name: "Filipino", nativeName: "Filipino", primary: true },
|
|
18556
|
+
{ code: "en-PH", name: "English", nativeName: "English" }
|
|
15950
18557
|
],
|
|
15951
18558
|
currency: {
|
|
15952
|
-
code: "
|
|
15953
|
-
numeric: "
|
|
15954
|
-
symbol: "\
|
|
18559
|
+
code: "PHP",
|
|
18560
|
+
numeric: "608",
|
|
18561
|
+
symbol: "\u20B1",
|
|
15955
18562
|
decimal: ".",
|
|
15956
18563
|
thousands: ",",
|
|
15957
18564
|
symbolPosition: "before",
|
|
15958
18565
|
precision: 2
|
|
15959
18566
|
},
|
|
15960
18567
|
locale: {
|
|
15961
|
-
defaultLocale: "en-
|
|
15962
|
-
dateFormat: "dd/
|
|
18568
|
+
defaultLocale: "en-PH",
|
|
18569
|
+
dateFormat: "MM/dd/yyyy",
|
|
15963
18570
|
timeFormat: "12h",
|
|
15964
18571
|
firstDayOfWeek: 0,
|
|
15965
18572
|
measurementSystem: "metric"
|
|
15966
18573
|
},
|
|
15967
18574
|
address: {
|
|
15968
|
-
fields: ["street", "
|
|
15969
|
-
template: "{street}\n{
|
|
15970
|
-
postalCodeLabel: "
|
|
15971
|
-
postalCodePattern: "^\\d{
|
|
15972
|
-
stateLabel: "
|
|
18575
|
+
fields: ["street", "number", "barangay", "city", "province", "postalCode"],
|
|
18576
|
+
template: "{number} {street}\n{barangay}\n{city}, {province} {postalCode}",
|
|
18577
|
+
postalCodeLabel: "ZIP Code",
|
|
18578
|
+
postalCodePattern: "^\\d{4}$",
|
|
18579
|
+
stateLabel: "Province"
|
|
15973
18580
|
},
|
|
15974
18581
|
tax: {
|
|
15975
|
-
name: "
|
|
15976
|
-
standardRate:
|
|
15977
|
-
subdivisionRates: {
|
|
15978
|
-
AN: 0,
|
|
15979
|
-
CH: 18,
|
|
15980
|
-
DD: 18,
|
|
15981
|
-
DL: 18,
|
|
15982
|
-
GA: 18,
|
|
15983
|
-
GJ: 18,
|
|
15984
|
-
HP: 18,
|
|
15985
|
-
JK: 18,
|
|
15986
|
-
JH: 18,
|
|
15987
|
-
KA: 18,
|
|
15988
|
-
KL: 18,
|
|
15989
|
-
LA: 0,
|
|
15990
|
-
LD: 0,
|
|
15991
|
-
MH: 18,
|
|
15992
|
-
ML: 18,
|
|
15993
|
-
MN: 18,
|
|
15994
|
-
MP: 18,
|
|
15995
|
-
MZ: 18,
|
|
15996
|
-
NL: 18,
|
|
15997
|
-
OR: 18,
|
|
15998
|
-
PB: 18,
|
|
15999
|
-
PY: 18,
|
|
16000
|
-
RJ: 18,
|
|
16001
|
-
SK: 18,
|
|
16002
|
-
TN: 18,
|
|
16003
|
-
TG: 18,
|
|
16004
|
-
TR: 18,
|
|
16005
|
-
UP: 18,
|
|
16006
|
-
UK: 18,
|
|
16007
|
-
WB: 18,
|
|
16008
|
-
AP: 18,
|
|
16009
|
-
AR: 18,
|
|
16010
|
-
AS: 18,
|
|
16011
|
-
BR: 18,
|
|
16012
|
-
CT: 18,
|
|
16013
|
-
HR: 18
|
|
16014
|
-
}
|
|
18582
|
+
name: "VAT",
|
|
18583
|
+
standardRate: 12
|
|
16015
18584
|
}
|
|
16016
18585
|
});
|
|
16017
18586
|
registerCountry({
|
|
16018
|
-
code: "
|
|
16019
|
-
name: "
|
|
16020
|
-
nativeName: "
|
|
16021
|
-
flag: "\u{
|
|
16022
|
-
theme:
|
|
16023
|
-
coordinates:
|
|
16024
|
-
mapCenter:
|
|
16025
|
-
macroRegions:
|
|
16026
|
-
geoJsonPath: "/maps/
|
|
18587
|
+
code: "NZ",
|
|
18588
|
+
name: "New Zealand",
|
|
18589
|
+
nativeName: "Aotearoa",
|
|
18590
|
+
flag: "\u{1F1F3}\u{1F1FF}",
|
|
18591
|
+
theme: NZ_THEME_CONFIG,
|
|
18592
|
+
coordinates: NEW_ZEALAND_REGION_COORDINATES,
|
|
18593
|
+
mapCenter: NEW_ZEALAND_MAP_CENTER,
|
|
18594
|
+
macroRegions: NEW_ZEALAND_MACRO_REGIONS,
|
|
18595
|
+
geoJsonPath: "/maps/new-zealand.geo.json",
|
|
16027
18596
|
projection: "mercator",
|
|
16028
18597
|
regionPropertyKey: "code",
|
|
16029
18598
|
languages: [
|
|
16030
|
-
{ code: "en-
|
|
16031
|
-
{ code: "
|
|
16032
|
-
{ code: "zu", name: "Zulu", nativeName: "isiZulu" },
|
|
16033
|
-
{ code: "xh", name: "Xhosa", nativeName: "isiXhosa" }
|
|
18599
|
+
{ code: "en-NZ", name: "English", nativeName: "English", primary: true },
|
|
18600
|
+
{ code: "mi", name: "M\u0101ori", nativeName: "Te Reo M\u0101ori" }
|
|
16034
18601
|
],
|
|
16035
18602
|
currency: {
|
|
16036
|
-
code: "
|
|
16037
|
-
numeric: "
|
|
16038
|
-
symbol: "
|
|
18603
|
+
code: "NZD",
|
|
18604
|
+
numeric: "554",
|
|
18605
|
+
symbol: "NZ$",
|
|
16039
18606
|
decimal: ".",
|
|
16040
18607
|
thousands: ",",
|
|
16041
18608
|
symbolPosition: "before",
|
|
16042
18609
|
precision: 2
|
|
16043
18610
|
},
|
|
16044
18611
|
locale: {
|
|
16045
|
-
defaultLocale: "en-
|
|
16046
|
-
dateFormat: "
|
|
16047
|
-
timeFormat: "
|
|
16048
|
-
firstDayOfWeek:
|
|
18612
|
+
defaultLocale: "en-NZ",
|
|
18613
|
+
dateFormat: "dd/MM/yyyy",
|
|
18614
|
+
timeFormat: "12h",
|
|
18615
|
+
firstDayOfWeek: 1,
|
|
16049
18616
|
measurementSystem: "metric"
|
|
16050
18617
|
},
|
|
16051
18618
|
address: {
|
|
16052
|
-
fields: ["street", "number", "suburb", "city", "
|
|
16053
|
-
template: "{number} {street}\n{suburb}\n{city}
|
|
16054
|
-
postalCodeLabel: "
|
|
18619
|
+
fields: ["street", "number", "suburb", "city", "postalCode"],
|
|
18620
|
+
template: "{number} {street}\n{suburb}\n{city} {postalCode}",
|
|
18621
|
+
postalCodeLabel: "Postcode",
|
|
16055
18622
|
postalCodePattern: "^\\d{4}$",
|
|
16056
|
-
stateLabel: "
|
|
18623
|
+
stateLabel: "Region"
|
|
16057
18624
|
},
|
|
16058
18625
|
tax: {
|
|
16059
|
-
name: "
|
|
18626
|
+
name: "GST",
|
|
16060
18627
|
standardRate: 15
|
|
16061
18628
|
}
|
|
16062
18629
|
});
|
|
@@ -20491,10 +23058,6 @@ function SkipToContent({
|
|
|
20491
23058
|
);
|
|
20492
23059
|
}
|
|
20493
23060
|
|
|
20494
|
-
Object.defineProperty(exports, "LOCALE_FLAGS", {
|
|
20495
|
-
enumerable: true,
|
|
20496
|
-
get: function () { return i18n.LOCALE_FLAGS; }
|
|
20497
|
-
});
|
|
20498
23061
|
exports.ARGENTINA_ACCENT_MAP = ARGENTINA_ACCENT_MAP;
|
|
20499
23062
|
exports.ARGENTINA_MACRO_REGIONS = ARGENTINA_MACRO_REGIONS;
|
|
20500
23063
|
exports.ARGENTINA_MAP_CENTER = ARGENTINA_MAP_CENTER;
|
|
@@ -20609,6 +23172,12 @@ exports.DropdownSelect = DropdownSelect;
|
|
|
20609
23172
|
exports.DynamicIsland = DynamicIsland;
|
|
20610
23173
|
exports.DynamicIslandConfirm = DynamicIslandConfirm;
|
|
20611
23174
|
exports.DynamicIslandNotification = DynamicIslandNotification;
|
|
23175
|
+
exports.EGYPT_ACCENT_MAP = EGYPT_ACCENT_MAP;
|
|
23176
|
+
exports.EGYPT_GOVERNORATE_COORDINATES = EGYPT_GOVERNORATE_COORDINATES;
|
|
23177
|
+
exports.EGYPT_GOVERNORATE_PALETTES = EGYPT_GOVERNORATE_PALETTES;
|
|
23178
|
+
exports.EGYPT_MACRO_REGIONS = EGYPT_MACRO_REGIONS;
|
|
23179
|
+
exports.EGYPT_MAP_CENTER = EGYPT_MAP_CENTER;
|
|
23180
|
+
exports.EG_THEME_CONFIG = EG_THEME_CONFIG;
|
|
20612
23181
|
exports.ES_THEME_CONFIG = ES_THEME_CONFIG;
|
|
20613
23182
|
exports.EdgeSwipeIndicator = EdgeSwipeIndicator;
|
|
20614
23183
|
exports.EdgeSwipeProvider = EdgeSwipeProvider;
|
|
@@ -20672,11 +23241,17 @@ exports.GrowthIndicator = GrowthIndicator;
|
|
|
20672
23241
|
exports.Heading = Heading;
|
|
20673
23242
|
exports.HeroPanel = HeroPanel;
|
|
20674
23243
|
exports.HeroSection = HeroSection;
|
|
23244
|
+
exports.ID_THEME_CONFIG = ID_THEME_CONFIG;
|
|
20675
23245
|
exports.INDIA_ACCENT_MAP = INDIA_ACCENT_MAP;
|
|
20676
23246
|
exports.INDIA_MACRO_REGIONS = INDIA_MACRO_REGIONS;
|
|
20677
23247
|
exports.INDIA_MAP_CENTER = INDIA_MAP_CENTER;
|
|
20678
23248
|
exports.INDIA_STATE_COORDINATES = INDIA_STATE_COORDINATES;
|
|
20679
23249
|
exports.INDIA_STATE_PALETTES = INDIA_STATE_PALETTES;
|
|
23250
|
+
exports.INDONESIA_ACCENT_MAP = INDONESIA_ACCENT_MAP;
|
|
23251
|
+
exports.INDONESIA_MACRO_REGIONS = INDONESIA_MACRO_REGIONS;
|
|
23252
|
+
exports.INDONESIA_MAP_CENTER = INDONESIA_MAP_CENTER;
|
|
23253
|
+
exports.INDONESIA_PROVINCE_COORDINATES = INDONESIA_PROVINCE_COORDINATES;
|
|
23254
|
+
exports.INDONESIA_PROVINCE_PALETTES = INDONESIA_PROVINCE_PALETTES;
|
|
20680
23255
|
exports.IN_THEME_CONFIG = IN_THEME_CONFIG;
|
|
20681
23256
|
exports.ITALY_ACCENT_MAP = ITALY_ACCENT_MAP;
|
|
20682
23257
|
exports.ITALY_MACRO_REGIONS = ITALY_MACRO_REGIONS;
|
|
@@ -20699,6 +23274,8 @@ exports.JAPAN_PREFECTURE_COORDINATES = JAPAN_PREFECTURE_COORDINATES;
|
|
|
20699
23274
|
exports.JAPAN_PREFECTURE_PALETTES = JAPAN_PREFECTURE_PALETTES;
|
|
20700
23275
|
exports.JP_THEME_CONFIG = JP_THEME_CONFIG;
|
|
20701
23276
|
exports.KORI_ERP_LOADER = KORI_ERP_LOADER;
|
|
23277
|
+
exports.KR_THEME_CONFIG = KR_THEME_CONFIG;
|
|
23278
|
+
exports.LOCALE_FLAGS = LOCALE_FLAGS;
|
|
20702
23279
|
exports.Label = Label2;
|
|
20703
23280
|
exports.LabeledToggle = LabeledToggle;
|
|
20704
23281
|
exports.LanguageSwitcher = LanguageSwitcher;
|
|
@@ -20722,6 +23299,30 @@ exports.MapZoomControls = MapZoomControls;
|
|
|
20722
23299
|
exports.MetricCard = MetricCard;
|
|
20723
23300
|
exports.MonthPicker = MonthPicker;
|
|
20724
23301
|
exports.MultiColumnPicker = MultiColumnPicker;
|
|
23302
|
+
exports.NETHERLANDS_ACCENT_MAP = NETHERLANDS_ACCENT_MAP;
|
|
23303
|
+
exports.NETHERLANDS_MACRO_REGIONS = NETHERLANDS_MACRO_REGIONS;
|
|
23304
|
+
exports.NETHERLANDS_MAP_CENTER = NETHERLANDS_MAP_CENTER;
|
|
23305
|
+
exports.NETHERLANDS_PROVINCE_COORDINATES = NETHERLANDS_PROVINCE_COORDINATES;
|
|
23306
|
+
exports.NETHERLANDS_PROVINCE_PALETTES = NETHERLANDS_PROVINCE_PALETTES;
|
|
23307
|
+
exports.NEW_ZEALAND_ACCENT_MAP = NEW_ZEALAND_ACCENT_MAP;
|
|
23308
|
+
exports.NEW_ZEALAND_MACRO_REGIONS = NEW_ZEALAND_MACRO_REGIONS;
|
|
23309
|
+
exports.NEW_ZEALAND_MAP_CENTER = NEW_ZEALAND_MAP_CENTER;
|
|
23310
|
+
exports.NEW_ZEALAND_REGION_COORDINATES = NEW_ZEALAND_REGION_COORDINATES;
|
|
23311
|
+
exports.NEW_ZEALAND_REGION_PALETTES = NEW_ZEALAND_REGION_PALETTES;
|
|
23312
|
+
exports.NG_THEME_CONFIG = NG_THEME_CONFIG;
|
|
23313
|
+
exports.NIGERIA_ACCENT_MAP = NIGERIA_ACCENT_MAP;
|
|
23314
|
+
exports.NIGERIA_MACRO_REGIONS = NIGERIA_MACRO_REGIONS;
|
|
23315
|
+
exports.NIGERIA_MAP_CENTER = NIGERIA_MAP_CENTER;
|
|
23316
|
+
exports.NIGERIA_STATE_COORDINATES = NIGERIA_STATE_COORDINATES;
|
|
23317
|
+
exports.NIGERIA_STATE_PALETTES = NIGERIA_STATE_PALETTES;
|
|
23318
|
+
exports.NL_THEME_CONFIG = NL_THEME_CONFIG;
|
|
23319
|
+
exports.NORWAY_ACCENT_MAP = NORWAY_ACCENT_MAP;
|
|
23320
|
+
exports.NORWAY_COUNTY_COORDINATES = NORWAY_COUNTY_COORDINATES;
|
|
23321
|
+
exports.NORWAY_COUNTY_PALETTES = NORWAY_COUNTY_PALETTES;
|
|
23322
|
+
exports.NORWAY_MACRO_REGIONS = NORWAY_MACRO_REGIONS;
|
|
23323
|
+
exports.NORWAY_MAP_CENTER = NORWAY_MAP_CENTER;
|
|
23324
|
+
exports.NO_THEME_CONFIG = NO_THEME_CONFIG;
|
|
23325
|
+
exports.NZ_THEME_CONFIG = NZ_THEME_CONFIG;
|
|
20725
23326
|
exports.NavigationProgress = NavigationProgress;
|
|
20726
23327
|
exports.NoDataState = NoDataState;
|
|
20727
23328
|
exports.NoResultsState = NoResultsState;
|
|
@@ -20739,6 +23340,18 @@ exports.PERU_DEPARTMENT_PALETTES = PERU_DEPARTMENT_PALETTES;
|
|
|
20739
23340
|
exports.PERU_MACRO_REGIONS = PERU_MACRO_REGIONS;
|
|
20740
23341
|
exports.PERU_MAP_CENTER = PERU_MAP_CENTER;
|
|
20741
23342
|
exports.PE_THEME_CONFIG = PE_THEME_CONFIG;
|
|
23343
|
+
exports.PHILIPPINES_ACCENT_MAP = PHILIPPINES_ACCENT_MAP;
|
|
23344
|
+
exports.PHILIPPINES_MACRO_REGIONS = PHILIPPINES_MACRO_REGIONS;
|
|
23345
|
+
exports.PHILIPPINES_MAP_CENTER = PHILIPPINES_MAP_CENTER;
|
|
23346
|
+
exports.PHILIPPINES_PROVINCE_COORDINATES = PHILIPPINES_PROVINCE_COORDINATES;
|
|
23347
|
+
exports.PHILIPPINES_PROVINCE_PALETTES = PHILIPPINES_PROVINCE_PALETTES;
|
|
23348
|
+
exports.PH_THEME_CONFIG = PH_THEME_CONFIG;
|
|
23349
|
+
exports.PL_THEME_CONFIG = PL_THEME_CONFIG;
|
|
23350
|
+
exports.POLAND_ACCENT_MAP = POLAND_ACCENT_MAP;
|
|
23351
|
+
exports.POLAND_MACRO_REGIONS = POLAND_MACRO_REGIONS;
|
|
23352
|
+
exports.POLAND_MAP_CENTER = POLAND_MAP_CENTER;
|
|
23353
|
+
exports.POLAND_VOIVODESHIP_COORDINATES = POLAND_VOIVODESHIP_COORDINATES;
|
|
23354
|
+
exports.POLAND_VOIVODESHIP_PALETTES = POLAND_VOIVODESHIP_PALETTES;
|
|
20742
23355
|
exports.PORTUGAL_ACCENT_MAP = PORTUGAL_ACCENT_MAP;
|
|
20743
23356
|
exports.PORTUGAL_DISTRICT_COORDINATES = PORTUGAL_DISTRICT_COORDINATES;
|
|
20744
23357
|
exports.PORTUGAL_DISTRICT_PALETTES = PORTUGAL_DISTRICT_PALETTES;
|
|
@@ -20771,16 +23384,27 @@ exports.RadiantStatCard = RadiantStatCard;
|
|
|
20771
23384
|
exports.RadiantSubheading = RadiantSubheading;
|
|
20772
23385
|
exports.RegionFilterSkeleton = RegionFilterSkeleton;
|
|
20773
23386
|
exports.RoleBadge = RoleBadge;
|
|
23387
|
+
exports.SE_THEME_CONFIG = SE_THEME_CONFIG;
|
|
20774
23388
|
exports.SOUTH_AFRICA_ACCENT_MAP = SOUTH_AFRICA_ACCENT_MAP;
|
|
20775
23389
|
exports.SOUTH_AFRICA_MACRO_REGIONS = SOUTH_AFRICA_MACRO_REGIONS;
|
|
20776
23390
|
exports.SOUTH_AFRICA_MAP_CENTER = SOUTH_AFRICA_MAP_CENTER;
|
|
20777
23391
|
exports.SOUTH_AFRICA_PROVINCE_COORDINATES = SOUTH_AFRICA_PROVINCE_COORDINATES;
|
|
20778
23392
|
exports.SOUTH_AFRICA_PROVINCE_PALETTES = SOUTH_AFRICA_PROVINCE_PALETTES;
|
|
23393
|
+
exports.SOUTH_KOREA_ACCENT_MAP = SOUTH_KOREA_ACCENT_MAP;
|
|
23394
|
+
exports.SOUTH_KOREA_MACRO_REGIONS = SOUTH_KOREA_MACRO_REGIONS;
|
|
23395
|
+
exports.SOUTH_KOREA_MAP_CENTER = SOUTH_KOREA_MAP_CENTER;
|
|
23396
|
+
exports.SOUTH_KOREA_PROVINCE_COORDINATES = SOUTH_KOREA_PROVINCE_COORDINATES;
|
|
23397
|
+
exports.SOUTH_KOREA_PROVINCE_PALETTES = SOUTH_KOREA_PROVINCE_PALETTES;
|
|
20779
23398
|
exports.SPAIN_ACCENT_MAP = SPAIN_ACCENT_MAP;
|
|
20780
23399
|
exports.SPAIN_MACRO_REGIONS = SPAIN_MACRO_REGIONS;
|
|
20781
23400
|
exports.SPAIN_MAP_CENTER = SPAIN_MAP_CENTER;
|
|
20782
23401
|
exports.SPAIN_PROVINCE_COORDINATES = SPAIN_PROVINCE_COORDINATES;
|
|
20783
23402
|
exports.SPAIN_PROVINCE_PALETTES = SPAIN_PROVINCE_PALETTES;
|
|
23403
|
+
exports.SWEDEN_ACCENT_MAP = SWEDEN_ACCENT_MAP;
|
|
23404
|
+
exports.SWEDEN_COUNTY_COORDINATES = SWEDEN_COUNTY_COORDINATES;
|
|
23405
|
+
exports.SWEDEN_COUNTY_PALETTES = SWEDEN_COUNTY_PALETTES;
|
|
23406
|
+
exports.SWEDEN_MACRO_REGIONS = SWEDEN_MACRO_REGIONS;
|
|
23407
|
+
exports.SWEDEN_MAP_CENTER = SWEDEN_MAP_CENTER;
|
|
20784
23408
|
exports.SafeArea = SafeArea;
|
|
20785
23409
|
exports.SafeAreaSpacer = SafeAreaSpacer;
|
|
20786
23410
|
exports.SafeAreaView = SafeAreaView;
|
|
@@ -20817,6 +23441,18 @@ exports.Strong = Strong;
|
|
|
20817
23441
|
exports.Subheading = Subheading;
|
|
20818
23442
|
exports.SwipeableRow = SwipeableRow;
|
|
20819
23443
|
exports.Switch = Switch2;
|
|
23444
|
+
exports.THAILAND_ACCENT_MAP = THAILAND_ACCENT_MAP;
|
|
23445
|
+
exports.THAILAND_MACRO_REGIONS = THAILAND_MACRO_REGIONS;
|
|
23446
|
+
exports.THAILAND_MAP_CENTER = THAILAND_MAP_CENTER;
|
|
23447
|
+
exports.THAILAND_PROVINCE_COORDINATES = THAILAND_PROVINCE_COORDINATES;
|
|
23448
|
+
exports.THAILAND_PROVINCE_PALETTES = THAILAND_PROVINCE_PALETTES;
|
|
23449
|
+
exports.TH_THEME_CONFIG = TH_THEME_CONFIG;
|
|
23450
|
+
exports.TR_THEME_CONFIG = TR_THEME_CONFIG;
|
|
23451
|
+
exports.TURKEY_ACCENT_MAP = TURKEY_ACCENT_MAP;
|
|
23452
|
+
exports.TURKEY_MACRO_REGIONS = TURKEY_MACRO_REGIONS;
|
|
23453
|
+
exports.TURKEY_MAP_CENTER = TURKEY_MAP_CENTER;
|
|
23454
|
+
exports.TURKEY_PROVINCE_COORDINATES = TURKEY_PROVINCE_COORDINATES;
|
|
23455
|
+
exports.TURKEY_PROVINCE_PALETTES = TURKEY_PROVINCE_PALETTES;
|
|
20820
23456
|
exports.Table = Table;
|
|
20821
23457
|
exports.TableBody = TableBody;
|
|
20822
23458
|
exports.TableCell = TableCell;
|
|
@@ -20917,6 +23553,12 @@ exports.getColombiaGradient = getColombiaGradient;
|
|
|
20917
23553
|
exports.getColombiaHexColor = getColombiaHexColor;
|
|
20918
23554
|
exports.getColombiaPalette = getColombiaPalette;
|
|
20919
23555
|
exports.getCountryConfig = getCountryConfig;
|
|
23556
|
+
exports.getEgyptAccent = getEgyptAccent;
|
|
23557
|
+
exports.getEgyptColors = getEgyptColors;
|
|
23558
|
+
exports.getEgyptFlagUrl = getEgyptFlagUrl;
|
|
23559
|
+
exports.getEgyptGradient = getEgyptGradient;
|
|
23560
|
+
exports.getEgyptHexColor = getEgyptHexColor;
|
|
23561
|
+
exports.getEgyptPalette = getEgyptPalette;
|
|
20920
23562
|
exports.getFranceAccent = getFranceAccent;
|
|
20921
23563
|
exports.getFranceColors = getFranceColors;
|
|
20922
23564
|
exports.getFranceFlagUrl = getFranceFlagUrl;
|
|
@@ -20935,6 +23577,12 @@ exports.getIndiaFlagUrl = getIndiaFlagUrl;
|
|
|
20935
23577
|
exports.getIndiaGradient = getIndiaGradient;
|
|
20936
23578
|
exports.getIndiaHexColor = getIndiaHexColor;
|
|
20937
23579
|
exports.getIndiaPalette = getIndiaPalette;
|
|
23580
|
+
exports.getIndonesiaAccent = getIndonesiaAccent;
|
|
23581
|
+
exports.getIndonesiaColors = getIndonesiaColors;
|
|
23582
|
+
exports.getIndonesiaFlagUrl = getIndonesiaFlagUrl;
|
|
23583
|
+
exports.getIndonesiaGradient = getIndonesiaGradient;
|
|
23584
|
+
exports.getIndonesiaHexColor = getIndonesiaHexColor;
|
|
23585
|
+
exports.getIndonesiaPalette = getIndonesiaPalette;
|
|
20938
23586
|
exports.getItalyAccent = getItalyAccent;
|
|
20939
23587
|
exports.getItalyColors = getItalyColors;
|
|
20940
23588
|
exports.getItalyFlagUrl = getItalyFlagUrl;
|
|
@@ -20953,12 +23601,48 @@ exports.getMexicoFlagUrl = getMexicoFlagUrl;
|
|
|
20953
23601
|
exports.getMexicoGradient = getMexicoGradient;
|
|
20954
23602
|
exports.getMexicoHexColor = getMexicoHexColor;
|
|
20955
23603
|
exports.getMexicoPalette = getMexicoPalette;
|
|
23604
|
+
exports.getNetherlandsAccent = getNetherlandsAccent;
|
|
23605
|
+
exports.getNetherlandsColors = getNetherlandsColors;
|
|
23606
|
+
exports.getNetherlandsFlagUrl = getNetherlandsFlagUrl;
|
|
23607
|
+
exports.getNetherlandsGradient = getNetherlandsGradient;
|
|
23608
|
+
exports.getNetherlandsHexColor = getNetherlandsHexColor;
|
|
23609
|
+
exports.getNetherlandsPalette = getNetherlandsPalette;
|
|
23610
|
+
exports.getNewZealandAccent = getNewZealandAccent;
|
|
23611
|
+
exports.getNewZealandColors = getNewZealandColors;
|
|
23612
|
+
exports.getNewZealandFlagUrl = getNewZealandFlagUrl;
|
|
23613
|
+
exports.getNewZealandGradient = getNewZealandGradient;
|
|
23614
|
+
exports.getNewZealandHexColor = getNewZealandHexColor;
|
|
23615
|
+
exports.getNewZealandPalette = getNewZealandPalette;
|
|
23616
|
+
exports.getNigeriaAccent = getNigeriaAccent;
|
|
23617
|
+
exports.getNigeriaColors = getNigeriaColors;
|
|
23618
|
+
exports.getNigeriaFlagUrl = getNigeriaFlagUrl;
|
|
23619
|
+
exports.getNigeriaGradient = getNigeriaGradient;
|
|
23620
|
+
exports.getNigeriaHexColor = getNigeriaHexColor;
|
|
23621
|
+
exports.getNigeriaPalette = getNigeriaPalette;
|
|
23622
|
+
exports.getNorwayAccent = getNorwayAccent;
|
|
23623
|
+
exports.getNorwayColors = getNorwayColors;
|
|
23624
|
+
exports.getNorwayFlagUrl = getNorwayFlagUrl;
|
|
23625
|
+
exports.getNorwayGradient = getNorwayGradient;
|
|
23626
|
+
exports.getNorwayHexColor = getNorwayHexColor;
|
|
23627
|
+
exports.getNorwayPalette = getNorwayPalette;
|
|
20956
23628
|
exports.getPeruAccent = getPeruAccent;
|
|
20957
23629
|
exports.getPeruColors = getPeruColors;
|
|
20958
23630
|
exports.getPeruFlagUrl = getPeruFlagUrl;
|
|
20959
23631
|
exports.getPeruGradient = getPeruGradient;
|
|
20960
23632
|
exports.getPeruHexColor = getPeruHexColor;
|
|
20961
23633
|
exports.getPeruPalette = getPeruPalette;
|
|
23634
|
+
exports.getPhilippinesAccent = getPhilippinesAccent;
|
|
23635
|
+
exports.getPhilippinesColors = getPhilippinesColors;
|
|
23636
|
+
exports.getPhilippinesFlagUrl = getPhilippinesFlagUrl;
|
|
23637
|
+
exports.getPhilippinesGradient = getPhilippinesGradient;
|
|
23638
|
+
exports.getPhilippinesHexColor = getPhilippinesHexColor;
|
|
23639
|
+
exports.getPhilippinesPalette = getPhilippinesPalette;
|
|
23640
|
+
exports.getPolandAccent = getPolandAccent;
|
|
23641
|
+
exports.getPolandColors = getPolandColors;
|
|
23642
|
+
exports.getPolandFlagUrl = getPolandFlagUrl;
|
|
23643
|
+
exports.getPolandGradient = getPolandGradient;
|
|
23644
|
+
exports.getPolandHexColor = getPolandHexColor;
|
|
23645
|
+
exports.getPolandPalette = getPolandPalette;
|
|
20962
23646
|
exports.getPortugalAccent = getPortugalAccent;
|
|
20963
23647
|
exports.getPortugalColors = getPortugalColors;
|
|
20964
23648
|
exports.getPortugalFlagUrl = getPortugalFlagUrl;
|
|
@@ -20971,6 +23655,12 @@ exports.getSouthAfricaFlagUrl = getSouthAfricaFlagUrl;
|
|
|
20971
23655
|
exports.getSouthAfricaGradient = getSouthAfricaGradient;
|
|
20972
23656
|
exports.getSouthAfricaHexColor = getSouthAfricaHexColor;
|
|
20973
23657
|
exports.getSouthAfricaPalette = getSouthAfricaPalette;
|
|
23658
|
+
exports.getSouthKoreaAccent = getSouthKoreaAccent;
|
|
23659
|
+
exports.getSouthKoreaColors = getSouthKoreaColors;
|
|
23660
|
+
exports.getSouthKoreaFlagUrl = getSouthKoreaFlagUrl;
|
|
23661
|
+
exports.getSouthKoreaGradient = getSouthKoreaGradient;
|
|
23662
|
+
exports.getSouthKoreaHexColor = getSouthKoreaHexColor;
|
|
23663
|
+
exports.getSouthKoreaPalette = getSouthKoreaPalette;
|
|
20974
23664
|
exports.getSpainAccent = getSpainAccent;
|
|
20975
23665
|
exports.getSpainColors = getSpainColors;
|
|
20976
23666
|
exports.getSpainFlagUrl = getSpainFlagUrl;
|
|
@@ -20984,7 +23674,25 @@ exports.getSubdivisionFlagUrl = getSubdivisionFlagUrl;
|
|
|
20984
23674
|
exports.getSubdivisionGradient = getSubdivisionGradient;
|
|
20985
23675
|
exports.getSubdivisionHexColor = getSubdivisionHexColor;
|
|
20986
23676
|
exports.getSubdivisionPalette = getSubdivisionPalette;
|
|
23677
|
+
exports.getSwedenAccent = getSwedenAccent;
|
|
23678
|
+
exports.getSwedenColors = getSwedenColors;
|
|
23679
|
+
exports.getSwedenFlagUrl = getSwedenFlagUrl;
|
|
23680
|
+
exports.getSwedenGradient = getSwedenGradient;
|
|
23681
|
+
exports.getSwedenHexColor = getSwedenHexColor;
|
|
23682
|
+
exports.getSwedenPalette = getSwedenPalette;
|
|
23683
|
+
exports.getThailandAccent = getThailandAccent;
|
|
23684
|
+
exports.getThailandColors = getThailandColors;
|
|
23685
|
+
exports.getThailandFlagUrl = getThailandFlagUrl;
|
|
23686
|
+
exports.getThailandGradient = getThailandGradient;
|
|
23687
|
+
exports.getThailandHexColor = getThailandHexColor;
|
|
23688
|
+
exports.getThailandPalette = getThailandPalette;
|
|
20987
23689
|
exports.getTransition = getTransition;
|
|
23690
|
+
exports.getTurkeyAccent = getTurkeyAccent;
|
|
23691
|
+
exports.getTurkeyColors = getTurkeyColors;
|
|
23692
|
+
exports.getTurkeyFlagUrl = getTurkeyFlagUrl;
|
|
23693
|
+
exports.getTurkeyGradient = getTurkeyGradient;
|
|
23694
|
+
exports.getTurkeyHexColor = getTurkeyHexColor;
|
|
23695
|
+
exports.getTurkeyPalette = getTurkeyPalette;
|
|
20988
23696
|
exports.getUKAccent = getUKAccent;
|
|
20989
23697
|
exports.getUKColors = getUKColors;
|
|
20990
23698
|
exports.getUKFlagUrl = getUKFlagUrl;
|
|
@@ -21005,17 +23713,29 @@ exports.isValidBrazilState = isValidBrazilState;
|
|
|
21005
23713
|
exports.isValidCanadaProvince = isValidCanadaProvince;
|
|
21006
23714
|
exports.isValidChileRegion = isValidChileRegion;
|
|
21007
23715
|
exports.isValidColombiaDepartment = isValidColombiaDepartment;
|
|
23716
|
+
exports.isValidEgyptGovernorate = isValidEgyptGovernorate;
|
|
21008
23717
|
exports.isValidFranceRegion = isValidFranceRegion;
|
|
21009
23718
|
exports.isValidGermanyState = isValidGermanyState;
|
|
21010
23719
|
exports.isValidIndiaState = isValidIndiaState;
|
|
23720
|
+
exports.isValidIndonesiaProvince = isValidIndonesiaProvince;
|
|
21011
23721
|
exports.isValidItalyRegion = isValidItalyRegion;
|
|
21012
23722
|
exports.isValidJapanPrefecture = isValidJapanPrefecture;
|
|
21013
23723
|
exports.isValidMexicoState = isValidMexicoState;
|
|
23724
|
+
exports.isValidNetherlandsProvince = isValidNetherlandsProvince;
|
|
23725
|
+
exports.isValidNewZealandRegion = isValidNewZealandRegion;
|
|
23726
|
+
exports.isValidNigeriaState = isValidNigeriaState;
|
|
23727
|
+
exports.isValidNorwayCounty = isValidNorwayCounty;
|
|
21014
23728
|
exports.isValidPeruDepartment = isValidPeruDepartment;
|
|
23729
|
+
exports.isValidPhilippinesProvince = isValidPhilippinesProvince;
|
|
23730
|
+
exports.isValidPolandVoivodeship = isValidPolandVoivodeship;
|
|
21015
23731
|
exports.isValidPortugalDistrict = isValidPortugalDistrict;
|
|
21016
23732
|
exports.isValidSouthAfricaProvince = isValidSouthAfricaProvince;
|
|
23733
|
+
exports.isValidSouthKoreaProvince = isValidSouthKoreaProvince;
|
|
21017
23734
|
exports.isValidSpainProvince = isValidSpainProvince;
|
|
21018
23735
|
exports.isValidSubdivision = isValidSubdivision;
|
|
23736
|
+
exports.isValidSwedenCounty = isValidSwedenCounty;
|
|
23737
|
+
exports.isValidThailandProvince = isValidThailandProvince;
|
|
23738
|
+
exports.isValidTurkeyProvince = isValidTurkeyProvince;
|
|
21019
23739
|
exports.isValidUKNation = isValidUKNation;
|
|
21020
23740
|
exports.isValidUsState = isValidUsState;
|
|
21021
23741
|
exports.listItem = listItem;
|
|
@@ -21045,5 +23765,5 @@ exports.useGeoMapState = useGeoMapState;
|
|
|
21045
23765
|
exports.useNotifications = useNotifications;
|
|
21046
23766
|
exports.usePlatformShellStore = usePlatformShellStore;
|
|
21047
23767
|
exports.usePullToRefresh = usePullToRefresh;
|
|
21048
|
-
//# sourceMappingURL=chunk-
|
|
21049
|
-
//# sourceMappingURL=chunk-
|
|
23768
|
+
//# sourceMappingURL=chunk-2GTIYAXX.js.map
|
|
23769
|
+
//# sourceMappingURL=chunk-2GTIYAXX.js.map
|