@datatechsolutions/ui 2.8.4 → 2.8.7

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.
@@ -9809,7 +9809,7 @@ function BrandedLoader({
9809
9809
  {
9810
9810
  className: clsx__default.default(
9811
9811
  "flex w-full items-center justify-center",
9812
- compact ? "py-8" : "min-h-[calc(100dvh-4rem)]",
9812
+ compact ? "py-8" : "fixed inset-0 z-50 min-h-dvh bg-gray-50 dark:bg-[#0b1120]",
9813
9813
  className
9814
9814
  ),
9815
9815
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-6", children: [
@@ -12961,6 +12961,3105 @@ var getUsGradient = (state, direction) => getSubdivisionGradient("US", state, di
12961
12961
  var getUsColors = (state) => getSubdivisionColors("US", state);
12962
12962
  var getUsAccent = (state) => getSubdivisionAccent("US", state);
12963
12963
  var isValidUsState = (state) => isValidSubdivision("US", state);
12964
+
12965
+ // src/lib/themes/canada.ts
12966
+ var CANADA_PROVINCE_PALETTES = {
12967
+ // Provinces
12968
+ BC: { primary: "#00563f", secondary: "#ffd700", text: "light" },
12969
+ AB: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
12970
+ SK: { primary: "#008000", secondary: "#ffd700", text: "light" },
12971
+ MB: { primary: "#c8102e", secondary: "#006847", text: "light" },
12972
+ ON: { primary: "#c8102e", secondary: "#006847", text: "light" },
12973
+ QC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
12974
+ NB: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
12975
+ NS: { primary: "#003da5", secondary: "#ffd700", text: "light" },
12976
+ PE: { primary: "#006847", secondary: "#c8102e", text: "light" },
12977
+ NL: { primary: "#003da5", secondary: "#c8102e", text: "light" },
12978
+ // Territories
12979
+ YT: { primary: "#6b2fa0", secondary: "#006847", text: "light" },
12980
+ NT: { primary: "#003da5", secondary: "#ffd700", text: "light" },
12981
+ NU: { primary: "#003da5", secondary: "#ffd700", text: "light" }
12982
+ };
12983
+ var CANADA_ACCENT_MAP = {
12984
+ BC: "green",
12985
+ AB: "blue",
12986
+ SK: "green",
12987
+ MB: "red",
12988
+ ON: "red",
12989
+ QC: "blue",
12990
+ NB: "yellow",
12991
+ NS: "blue",
12992
+ PE: "green",
12993
+ NL: "blue",
12994
+ YT: "purple",
12995
+ NT: "blue",
12996
+ NU: "blue"
12997
+ };
12998
+ var VALID_CODES = Object.keys(CANADA_PROVINCE_PALETTES);
12999
+ var CA_THEME_CONFIG = {
13000
+ palettes: CANADA_PROVINCE_PALETTES,
13001
+ accents: CANADA_ACCENT_MAP,
13002
+ flagUrlTemplate: (code) => VALID_CODES.includes(code) ? `/flags/ca/${code}.svg` : null
13003
+ };
13004
+ var CANADA_PROVINCE_COORDINATES = {
13005
+ BC: [-125, 54],
13006
+ AB: [-115, 54],
13007
+ SK: [-106, 54],
13008
+ MB: [-98, 55],
13009
+ ON: [-85, 50],
13010
+ QC: [-72, 52],
13011
+ NB: [-66.5, 46.5],
13012
+ NS: [-63, 45],
13013
+ PE: [-63, 46.3],
13014
+ NL: [-57, 53],
13015
+ YT: [-136, 64],
13016
+ NT: [-120, 65],
13017
+ NU: [-90, 70]
13018
+ };
13019
+ var CANADA_MAP_CENTER = [-96, 62];
13020
+ var CANADA_MACRO_REGIONS = [
13021
+ {
13022
+ key: "western",
13023
+ label: "",
13024
+ codes: ["BC", "AB", "SK", "MB"],
13025
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13026
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13027
+ },
13028
+ {
13029
+ key: "central",
13030
+ label: "",
13031
+ codes: ["ON", "QC"],
13032
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
13033
+ iconColor: "text-blue-600 dark:text-blue-400"
13034
+ },
13035
+ {
13036
+ key: "atlantic",
13037
+ label: "",
13038
+ codes: ["NB", "NS", "PE", "NL"],
13039
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
13040
+ iconColor: "text-orange-600 dark:text-orange-400"
13041
+ },
13042
+ {
13043
+ key: "northern",
13044
+ label: "",
13045
+ codes: ["YT", "NT", "NU"],
13046
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
13047
+ iconColor: "text-purple-600 dark:text-purple-400"
13048
+ }
13049
+ ];
13050
+ var getCanadaFlagUrl = (code) => getSubdivisionFlagUrl("CA", code);
13051
+ var getCanadaHexColor = (code) => getSubdivisionHexColor("CA", code);
13052
+ var getCanadaPalette = (code) => getSubdivisionPalette("CA", code);
13053
+ var getCanadaGradient = (code, direction) => getSubdivisionGradient("CA", code, direction);
13054
+ var getCanadaColors = (code) => getSubdivisionColors("CA", code);
13055
+ var getCanadaAccent = (code) => getSubdivisionAccent("CA", code);
13056
+ var isValidCanadaProvince = (code) => isValidSubdivision("CA", code);
13057
+
13058
+ // src/lib/themes/mexico.ts
13059
+ var MEXICO_STATE_PALETTES = {
13060
+ // Noroeste
13061
+ BC: { primary: "#c8102e", secondary: "#006847", text: "light" },
13062
+ BS: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13063
+ SO: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13064
+ SI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13065
+ CH: { primary: "#8b4513", secondary: "#c8102e", text: "light" },
13066
+ DG: { primary: "#006847", secondary: "#c8102e", text: "light" },
13067
+ // Noreste
13068
+ NL: { primary: "#ff6600", secondary: "#0038a8", text: "light" },
13069
+ TM: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13070
+ CO: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13071
+ // Occidente
13072
+ JA: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13073
+ AG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13074
+ NA: { primary: "#006847", secondary: "#c8102e", text: "light" },
13075
+ CL: { primary: "#8b0000", secondary: "#ffd700", text: "light" },
13076
+ MI: { primary: "#7b2d8b", secondary: "#c8102e", text: "light" },
13077
+ ZA: { primary: "#c8102e", secondary: "#8b8b8b", text: "light" },
13078
+ // Centro
13079
+ MX: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13080
+ DF: { primary: "#8b2252", secondary: "#006847", text: "light" },
13081
+ MO: { primary: "#c8102e", secondary: "#006847", text: "light" },
13082
+ QT: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13083
+ PU: { primary: "#006847", secondary: "#c8102e", text: "light" },
13084
+ TL: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13085
+ HG: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13086
+ GJ: { primary: "#006847", secondary: "#ffd700", text: "light" },
13087
+ SL: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13088
+ // Sur
13089
+ OA: { primary: "#006847", secondary: "#c8102e", text: "light" },
13090
+ GR: { primary: "#ffd700", secondary: "#006847", text: "dark" },
13091
+ CS: { primary: "#006847", secondary: "#ffd700", text: "light" },
13092
+ // Sureste
13093
+ CM: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13094
+ QR: { primary: "#0038a8", secondary: "#ff6600", text: "light" },
13095
+ YU: { primary: "#006847", secondary: "#ffd700", text: "light" },
13096
+ TB: { primary: "#c8102e", secondary: "#006847", text: "light" },
13097
+ VE: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" }
13098
+ };
13099
+ var MEXICO_ACCENT_MAP = {
13100
+ BC: "red",
13101
+ BS: "blue",
13102
+ SO: "red",
13103
+ SI: "red",
13104
+ CH: "orange",
13105
+ DG: "green",
13106
+ NL: "orange",
13107
+ TM: "blue",
13108
+ CO: "red",
13109
+ JA: "blue",
13110
+ AG: "red",
13111
+ NA: "green",
13112
+ CL: "red",
13113
+ MI: "purple",
13114
+ ZA: "red",
13115
+ MX: "red",
13116
+ DF: "pink",
13117
+ MO: "red",
13118
+ QT: "blue",
13119
+ PU: "green",
13120
+ TL: "red",
13121
+ HG: "blue",
13122
+ GJ: "green",
13123
+ SL: "blue",
13124
+ OA: "green",
13125
+ GR: "yellow",
13126
+ CS: "green",
13127
+ CM: "blue",
13128
+ QR: "blue",
13129
+ YU: "green",
13130
+ TB: "red",
13131
+ VE: "blue"
13132
+ };
13133
+ var VALID_CODES2 = Object.keys(MEXICO_STATE_PALETTES);
13134
+ var MX_THEME_CONFIG = {
13135
+ palettes: MEXICO_STATE_PALETTES,
13136
+ accents: MEXICO_ACCENT_MAP,
13137
+ flagUrlTemplate: (code) => VALID_CODES2.includes(code) ? `/flags/mx/${code}.svg` : null
13138
+ };
13139
+ var MEXICO_STATE_COORDINATES = {
13140
+ BC: [-115.5, 30.5],
13141
+ BS: [-111.5, 25.5],
13142
+ SO: [-110, 29.5],
13143
+ SI: [-107.5, 24],
13144
+ CH: [-106.5, 28.5],
13145
+ DG: [-105, 24.5],
13146
+ NL: [-100, 25],
13147
+ TM: [-99, 24],
13148
+ CO: [-101.5, 27],
13149
+ JA: [-103.5, 20.5],
13150
+ AG: [-102.3, 22],
13151
+ NA: [-104.8, 21.7],
13152
+ CL: [-103.7, 19.2],
13153
+ MI: [-102, 19.2],
13154
+ ZA: [-102.5, 23],
13155
+ MX: [-99.7, 19.3],
13156
+ DF: [-99.1, 19.4],
13157
+ MO: [-99.2, 18.7],
13158
+ QT: [-100, 20.6],
13159
+ PU: [-98, 19],
13160
+ TL: [-98.2, 19.4],
13161
+ HG: [-98.8, 20.5],
13162
+ GJ: [-101, 21],
13163
+ SL: [-100.5, 22.5],
13164
+ OA: [-96.5, 17],
13165
+ GR: [-100, 17.5],
13166
+ CS: [-93, 16.5],
13167
+ CM: [-90.5, 19],
13168
+ QR: [-87.5, 19.5],
13169
+ YU: [-89, 20.8],
13170
+ TB: [-93, 18],
13171
+ VE: [-96.5, 19.5]
13172
+ };
13173
+ var MEXICO_MAP_CENTER = [-102.5, 23.5];
13174
+ var MEXICO_MACRO_REGIONS = [
13175
+ {
13176
+ key: "noroeste",
13177
+ label: "",
13178
+ codes: ["BC", "BS", "SO", "SI", "CH", "DG"],
13179
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
13180
+ iconColor: "text-orange-600 dark:text-orange-400"
13181
+ },
13182
+ {
13183
+ key: "noreste",
13184
+ label: "",
13185
+ codes: ["NL", "TM", "CO"],
13186
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
13187
+ iconColor: "text-blue-600 dark:text-blue-400"
13188
+ },
13189
+ {
13190
+ key: "occidente",
13191
+ label: "",
13192
+ codes: ["JA", "AG", "NA", "CL", "MI", "ZA"],
13193
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
13194
+ iconColor: "text-purple-600 dark:text-purple-400"
13195
+ },
13196
+ {
13197
+ key: "centro",
13198
+ label: "",
13199
+ codes: ["MX", "DF", "MO", "QT", "PU", "TL", "HG", "GJ", "SL"],
13200
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
13201
+ iconColor: "text-red-600 dark:text-red-400"
13202
+ },
13203
+ {
13204
+ key: "sur",
13205
+ label: "",
13206
+ codes: ["OA", "GR", "CS"],
13207
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13208
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13209
+ },
13210
+ {
13211
+ key: "sureste",
13212
+ label: "",
13213
+ codes: ["CM", "QR", "YU", "TB", "VE"],
13214
+ gradient: "from-cyan-500/15 to-sky-500/10 dark:from-cyan-500/20 dark:to-sky-500/15",
13215
+ iconColor: "text-cyan-600 dark:text-cyan-400"
13216
+ }
13217
+ ];
13218
+ var getMexicoFlagUrl = (code) => getSubdivisionFlagUrl("MX", code);
13219
+ var getMexicoHexColor = (code) => getSubdivisionHexColor("MX", code);
13220
+ var getMexicoPalette = (code) => getSubdivisionPalette("MX", code);
13221
+ var getMexicoGradient = (code, direction) => getSubdivisionGradient("MX", code, direction);
13222
+ var getMexicoColors = (code) => getSubdivisionColors("MX", code);
13223
+ var getMexicoAccent = (code) => getSubdivisionAccent("MX", code);
13224
+ var isValidMexicoState = (code) => isValidSubdivision("MX", code);
13225
+
13226
+ // src/lib/themes/colombia.ts
13227
+ var COLOMBIA_DEPARTMENT_PALETTES = {
13228
+ // Caribe
13229
+ SA: { primary: "#006847", secondary: "#c8102e", text: "light" },
13230
+ BL: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
13231
+ SU: { primary: "#006847", secondary: "#ffd700", text: "light" },
13232
+ AT: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13233
+ CE: { primary: "#006847", secondary: "#f0f0f0", text: "light" },
13234
+ LG: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13235
+ MA: { primary: "#c8102e", secondary: "#006847", text: "light" },
13236
+ CO: { primary: "#ffd700", secondary: "#006847", text: "dark" },
13237
+ // Andina
13238
+ CA: { primary: "#006847", secondary: "#ffd700", text: "light" },
13239
+ TO: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
13240
+ HU: { primary: "#006847", secondary: "#f0f0f0", text: "light" },
13241
+ NS: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13242
+ AN: { primary: "#006847", secondary: "#ffd700", text: "light" },
13243
+ BY: { primary: "#006847", secondary: "#c8102e", text: "light" },
13244
+ ST: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13245
+ CL: { primary: "#c8102e", secondary: "#006847", text: "light" },
13246
+ CU: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13247
+ BO: { primary: "#006847", secondary: "#ffd700", text: "light" },
13248
+ RI: { primary: "#ffd700", secondary: "#0038a8", text: "dark" },
13249
+ QD: { primary: "#006847", secondary: "#c8102e", text: "light" },
13250
+ NA: { primary: "#006847", secondary: "#c8102e", text: "light" },
13251
+ // Pacifica
13252
+ CH: { primary: "#006847", secondary: "#0038a8", text: "light" },
13253
+ VC: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13254
+ // Orinoquia
13255
+ AR: { primary: "#ffd700", secondary: "#006847", text: "dark" },
13256
+ CS: { primary: "#006847", secondary: "#ffd700", text: "light" },
13257
+ GV: { primary: "#c8102e", secondary: "#006847", text: "light" },
13258
+ ME: { primary: "#006847", secondary: "#f0f0f0", text: "light" },
13259
+ VD: { primary: "#0038a8", secondary: "#006847", text: "light" },
13260
+ // Amazonia
13261
+ CQ: { primary: "#006847", secondary: "#0038a8", text: "light" },
13262
+ PU: { primary: "#006847", secondary: "#ffd700", text: "light" },
13263
+ AM: { primary: "#006847", secondary: "#c8102e", text: "light" },
13264
+ VP: { primary: "#006847", secondary: "#ffd700", text: "light" },
13265
+ GN: { primary: "#006847", secondary: "#0038a8", text: "light" }
13266
+ };
13267
+ var COLOMBIA_ACCENT_MAP = {
13268
+ SA: "green",
13269
+ BL: "yellow",
13270
+ SU: "green",
13271
+ AT: "red",
13272
+ CE: "green",
13273
+ LG: "blue",
13274
+ MA: "red",
13275
+ CO: "yellow",
13276
+ CA: "green",
13277
+ TO: "yellow",
13278
+ HU: "green",
13279
+ NS: "red",
13280
+ AN: "green",
13281
+ BY: "green",
13282
+ ST: "blue",
13283
+ CL: "red",
13284
+ CU: "blue",
13285
+ BO: "green",
13286
+ RI: "yellow",
13287
+ QD: "green",
13288
+ NA: "green",
13289
+ CH: "green",
13290
+ VC: "blue",
13291
+ AR: "yellow",
13292
+ CS: "green",
13293
+ GV: "red",
13294
+ ME: "green",
13295
+ VD: "blue",
13296
+ CQ: "green",
13297
+ PU: "green",
13298
+ AM: "green",
13299
+ VP: "green",
13300
+ GN: "green"
13301
+ };
13302
+ var VALID_CODES3 = Object.keys(COLOMBIA_DEPARTMENT_PALETTES);
13303
+ var CO_THEME_CONFIG = {
13304
+ palettes: COLOMBIA_DEPARTMENT_PALETTES,
13305
+ accents: COLOMBIA_ACCENT_MAP,
13306
+ flagUrlTemplate: (code) => VALID_CODES3.includes(code) ? `/flags/co/${code}.svg` : null
13307
+ };
13308
+ var COLOMBIA_DEPARTMENT_COORDINATES = {
13309
+ // Caribe
13310
+ SA: [-75.5, 9.3],
13311
+ BL: [-75, 10.4],
13312
+ SU: [-72.8, 9.3],
13313
+ AT: [-75, 10.7],
13314
+ CE: [-73.5, 10],
13315
+ LG: [-72.9, 11.5],
13316
+ MA: [-74.2, 10.4],
13317
+ CO: [-75.8, 8.7],
13318
+ // Andina
13319
+ CA: [-76.5, 2.5],
13320
+ TO: [-75.2, 4],
13321
+ HU: [-75.8, 2.5],
13322
+ NS: [-72.9, 7.9],
13323
+ AN: [-75.6, 6.3],
13324
+ BY: [-73.3, 5.5],
13325
+ ST: [-73, 6.6],
13326
+ CL: [-75.5, 5],
13327
+ CU: [-76, 2],
13328
+ BO: [-74, 5.5],
13329
+ RI: [-75.7, 4.8],
13330
+ QD: [-75.7, 4.5],
13331
+ NA: [-77.5, 1.5],
13332
+ // Pacifica
13333
+ CH: [-76.8, 5.5],
13334
+ VC: [-76.5, 3.5],
13335
+ // Orinoquia
13336
+ AR: [-71, 6.5],
13337
+ CS: [-72, 5],
13338
+ GV: [-70.5, 4],
13339
+ ME: [-73.5, 3.5],
13340
+ VD: [-70, 4.5],
13341
+ // Amazonia
13342
+ CQ: [-75.5, 1],
13343
+ PU: [-76, 0.5],
13344
+ AM: [-71.5, -1],
13345
+ VP: [-70, 1],
13346
+ GN: [-69.5, 2.5]
13347
+ };
13348
+ var COLOMBIA_MAP_CENTER = [-73.5, 4];
13349
+ var COLOMBIA_MACRO_REGIONS = [
13350
+ {
13351
+ key: "caribe",
13352
+ label: "",
13353
+ codes: ["SA", "BL", "SU", "AT", "CE", "LG", "MA", "CO"],
13354
+ gradient: "from-cyan-500/15 to-sky-500/10 dark:from-cyan-500/20 dark:to-sky-500/15",
13355
+ iconColor: "text-cyan-600 dark:text-cyan-400"
13356
+ },
13357
+ {
13358
+ key: "andina",
13359
+ label: "",
13360
+ codes: ["CA", "TO", "HU", "NS", "AN", "BY", "ST", "CL", "CU", "BO", "RI", "QD", "NA"],
13361
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13362
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13363
+ },
13364
+ {
13365
+ key: "pacifica",
13366
+ label: "",
13367
+ codes: ["CH", "VC"],
13368
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
13369
+ iconColor: "text-blue-600 dark:text-blue-400"
13370
+ },
13371
+ {
13372
+ key: "orinoquia",
13373
+ label: "",
13374
+ codes: ["AR", "CS", "GV", "ME", "VD"],
13375
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
13376
+ iconColor: "text-orange-600 dark:text-orange-400"
13377
+ },
13378
+ {
13379
+ key: "amazonia",
13380
+ label: "",
13381
+ codes: ["CQ", "PU", "AM", "VP", "GN"],
13382
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
13383
+ iconColor: "text-purple-600 dark:text-purple-400"
13384
+ }
13385
+ ];
13386
+ var getColombiaFlagUrl = (code) => getSubdivisionFlagUrl("CO", code);
13387
+ var getColombiaHexColor = (code) => getSubdivisionHexColor("CO", code);
13388
+ var getColombiaPalette = (code) => getSubdivisionPalette("CO", code);
13389
+ var getColombiaGradient = (code, direction) => getSubdivisionGradient("CO", code, direction);
13390
+ var getColombiaColors = (code) => getSubdivisionColors("CO", code);
13391
+ var getColombiaAccent = (code) => getSubdivisionAccent("CO", code);
13392
+ var isValidColombiaDepartment = (code) => isValidSubdivision("CO", code);
13393
+
13394
+ // src/lib/themes/argentina.ts
13395
+ var ARGENTINA_PROVINCE_PALETTES = {
13396
+ // Patagonia
13397
+ TF: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
13398
+ NQ: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13399
+ RN: { primary: "#006847", secondary: "#0038a8", text: "light" },
13400
+ CH: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13401
+ SC: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
13402
+ // Pampeana
13403
+ BA: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13404
+ LP: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
13405
+ CB: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13406
+ SF: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13407
+ ER: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13408
+ DF: { primary: "#ffd700", secondary: "#0038a8", text: "dark" },
13409
+ // Cuyo
13410
+ SJ: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13411
+ MZ: { primary: "#006847", secondary: "#c8102e", text: "light" },
13412
+ SL: { primary: "#006847", secondary: "#0038a8", text: "light" },
13413
+ // NOA (Noroeste)
13414
+ CT: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
13415
+ LR: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13416
+ SA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13417
+ TM: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13418
+ JY: { primary: "#006847", secondary: "#c8102e", text: "light" },
13419
+ SE: { primary: "#0038a8", secondary: "#006847", text: "light" },
13420
+ // NEA (Noreste)
13421
+ CC: { primary: "#006847", secondary: "#ffd700", text: "light" },
13422
+ FM: { primary: "#0038a8", secondary: "#006847", text: "light" },
13423
+ CN: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13424
+ MN: { primary: "#c8102e", secondary: "#006847", text: "light" }
13425
+ };
13426
+ var ARGENTINA_ACCENT_MAP = {
13427
+ TF: "blue",
13428
+ NQ: "blue",
13429
+ RN: "green",
13430
+ CH: "blue",
13431
+ SC: "blue",
13432
+ BA: "red",
13433
+ LP: "blue",
13434
+ CB: "blue",
13435
+ SF: "red",
13436
+ ER: "blue",
13437
+ DF: "yellow",
13438
+ SJ: "blue",
13439
+ MZ: "green",
13440
+ SL: "green",
13441
+ CT: "blue",
13442
+ LR: "red",
13443
+ SA: "red",
13444
+ TM: "blue",
13445
+ JY: "green",
13446
+ SE: "blue",
13447
+ CC: "green",
13448
+ FM: "blue",
13449
+ CN: "red",
13450
+ MN: "red"
13451
+ };
13452
+ var VALID_CODES4 = Object.keys(ARGENTINA_PROVINCE_PALETTES);
13453
+ var AR_THEME_CONFIG = {
13454
+ palettes: ARGENTINA_PROVINCE_PALETTES,
13455
+ accents: ARGENTINA_ACCENT_MAP,
13456
+ flagUrlTemplate: (code) => VALID_CODES4.includes(code) ? `/flags/ar/${code}.svg` : null
13457
+ };
13458
+ var ARGENTINA_PROVINCE_COORDINATES = {
13459
+ // Patagonia
13460
+ TF: [-68.5, -54.5],
13461
+ NQ: [-70.5, -38.5],
13462
+ RN: [-67, -40],
13463
+ CH: [-69, -43.5],
13464
+ SC: [-69, -48.5],
13465
+ // Pampeana
13466
+ BA: [-60, -37],
13467
+ LP: [-66, -37],
13468
+ CB: [-64.5, -32],
13469
+ SF: [-61, -31],
13470
+ ER: [-59, -32],
13471
+ DF: [-58.4, -34.6],
13472
+ // Cuyo
13473
+ SJ: [-69, -31],
13474
+ MZ: [-69, -34.5],
13475
+ SL: [-66, -34],
13476
+ // NOA
13477
+ CT: [-66, -28],
13478
+ LR: [-67, -30],
13479
+ SA: [-65.5, -24.5],
13480
+ TM: [-65.5, -27],
13481
+ JY: [-66, -23.5],
13482
+ SE: [-64, -28],
13483
+ // NEA
13484
+ CC: [-58.5, -28.5],
13485
+ FM: [-58.5, -26],
13486
+ CN: [-59.5, -27.5],
13487
+ MN: [-54.5, -27]
13488
+ };
13489
+ var ARGENTINA_MAP_CENTER = [-64, -38];
13490
+ var ARGENTINA_MACRO_REGIONS = [
13491
+ {
13492
+ key: "patagonia",
13493
+ label: "",
13494
+ codes: ["TF", "NQ", "RN", "CH", "SC"],
13495
+ gradient: "from-cyan-500/15 to-sky-500/10 dark:from-cyan-500/20 dark:to-sky-500/15",
13496
+ iconColor: "text-cyan-600 dark:text-cyan-400"
13497
+ },
13498
+ {
13499
+ key: "pampeana",
13500
+ label: "",
13501
+ codes: ["BA", "LP", "CB", "SF", "ER", "DF"],
13502
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
13503
+ iconColor: "text-blue-600 dark:text-blue-400"
13504
+ },
13505
+ {
13506
+ key: "cuyo",
13507
+ label: "",
13508
+ codes: ["SJ", "MZ", "SL"],
13509
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
13510
+ iconColor: "text-purple-600 dark:text-purple-400"
13511
+ },
13512
+ {
13513
+ key: "noa",
13514
+ label: "",
13515
+ codes: ["CT", "LR", "SA", "TM", "JY", "SE"],
13516
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
13517
+ iconColor: "text-orange-600 dark:text-orange-400"
13518
+ },
13519
+ {
13520
+ key: "nea",
13521
+ label: "",
13522
+ codes: ["CC", "FM", "CN", "MN"],
13523
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13524
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13525
+ }
13526
+ ];
13527
+ var getArgentinaFlagUrl = (code) => getSubdivisionFlagUrl("AR", code);
13528
+ var getArgentinaHexColor = (code) => getSubdivisionHexColor("AR", code);
13529
+ var getArgentinaPalette = (code) => getSubdivisionPalette("AR", code);
13530
+ var getArgentinaGradient = (code, direction) => getSubdivisionGradient("AR", code, direction);
13531
+ var getArgentinaColors = (code) => getSubdivisionColors("AR", code);
13532
+ var getArgentinaAccent = (code) => getSubdivisionAccent("AR", code);
13533
+ var isValidArgentinaProvince = (code) => isValidSubdivision("AR", code);
13534
+
13535
+ // src/lib/themes/chile.ts
13536
+ var CHILE_REGION_PALETTES = {
13537
+ // Norte Grande
13538
+ TA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13539
+ AY: { primary: "#006847", secondary: "#c8102e", text: "light" },
13540
+ AN: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13541
+ AT: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
13542
+ // Norte Chico
13543
+ CO: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13544
+ // Central
13545
+ VS: { primary: "#c8102e", secondary: "#006847", text: "light" },
13546
+ RM: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13547
+ LI: { primary: "#006847", secondary: "#c8102e", text: "light" },
13548
+ ML: { primary: "#c8102e", secondary: "#006847", text: "light" },
13549
+ // Sur
13550
+ BI: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
13551
+ LA: { primary: "#006847", secondary: "#0038a8", text: "light" },
13552
+ AR: { primary: "#006847", secondary: "#ffd700", text: "light" },
13553
+ LL: { primary: "#0038a8", secondary: "#006847", text: "light" },
13554
+ // Austral
13555
+ AI: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
13556
+ MA: { primary: "#0038a8", secondary: "#c8102e", text: "light" }
13557
+ };
13558
+ var CHILE_ACCENT_MAP = {
13559
+ TA: "red",
13560
+ AY: "green",
13561
+ AN: "red",
13562
+ AT: "yellow",
13563
+ CO: "blue",
13564
+ VS: "red",
13565
+ RM: "blue",
13566
+ LI: "green",
13567
+ ML: "red",
13568
+ BI: "blue",
13569
+ LA: "green",
13570
+ AR: "green",
13571
+ LL: "blue",
13572
+ AI: "blue",
13573
+ MA: "blue"
13574
+ };
13575
+ var VALID_CODES5 = Object.keys(CHILE_REGION_PALETTES);
13576
+ var CL_THEME_CONFIG = {
13577
+ palettes: CHILE_REGION_PALETTES,
13578
+ accents: CHILE_ACCENT_MAP,
13579
+ flagUrlTemplate: (code) => VALID_CODES5.includes(code) ? `/flags/cl/${code}.svg` : null
13580
+ };
13581
+ var CHILE_REGION_COORDINATES = {
13582
+ // Norte Grande
13583
+ TA: [-70, -20],
13584
+ AY: [-69.5, -18.5],
13585
+ AN: [-69.5, -23.5],
13586
+ AT: [-70, -27],
13587
+ // Norte Chico
13588
+ CO: [-71, -30],
13589
+ // Central
13590
+ VS: [-71.5, -33],
13591
+ RM: [-70.6, -33.5],
13592
+ LI: [-71, -34.5],
13593
+ ML: [-71.5, -35.5],
13594
+ // Sur
13595
+ BI: [-72.5, -37],
13596
+ LA: [-72.5, -38.5],
13597
+ AR: [-72, -39.5],
13598
+ LL: [-72.5, -42],
13599
+ // Austral
13600
+ AI: [-73.5, -45],
13601
+ MA: [-72, -52]
13602
+ };
13603
+ var CHILE_MAP_CENTER = [-71, -35];
13604
+ var CHILE_MACRO_REGIONS = [
13605
+ {
13606
+ key: "norteGrande",
13607
+ label: "",
13608
+ codes: ["TA", "AY", "AN", "AT"],
13609
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
13610
+ iconColor: "text-orange-600 dark:text-orange-400"
13611
+ },
13612
+ {
13613
+ key: "norteChico",
13614
+ label: "",
13615
+ codes: ["CO"],
13616
+ gradient: "from-yellow-500/15 to-amber-500/10 dark:from-yellow-500/20 dark:to-amber-500/15",
13617
+ iconColor: "text-yellow-600 dark:text-yellow-400"
13618
+ },
13619
+ {
13620
+ key: "central",
13621
+ label: "",
13622
+ codes: ["VS", "RM", "LI", "ML"],
13623
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
13624
+ iconColor: "text-blue-600 dark:text-blue-400"
13625
+ },
13626
+ {
13627
+ key: "sur",
13628
+ label: "",
13629
+ codes: ["BI", "LA", "AR", "LL"],
13630
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13631
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13632
+ },
13633
+ {
13634
+ key: "austral",
13635
+ label: "",
13636
+ codes: ["AI", "MA"],
13637
+ gradient: "from-cyan-500/15 to-sky-500/10 dark:from-cyan-500/20 dark:to-sky-500/15",
13638
+ iconColor: "text-cyan-600 dark:text-cyan-400"
13639
+ }
13640
+ ];
13641
+ var getChileFlagUrl = (code) => getSubdivisionFlagUrl("CL", code);
13642
+ var getChileHexColor = (code) => getSubdivisionHexColor("CL", code);
13643
+ var getChilePalette = (code) => getSubdivisionPalette("CL", code);
13644
+ var getChileGradient = (code, direction) => getSubdivisionGradient("CL", code, direction);
13645
+ var getChileColors = (code) => getSubdivisionColors("CL", code);
13646
+ var getChileAccent = (code) => getSubdivisionAccent("CL", code);
13647
+ var isValidChileRegion = (code) => isValidSubdivision("CL", code);
13648
+
13649
+ // src/lib/themes/peru.ts
13650
+ var PERU_DEPARTMENT_PALETTES = {
13651
+ // Costa
13652
+ TU: { primary: "#006847", secondary: "#ffd700", text: "light" },
13653
+ PI: { primary: "#006847", secondary: "#c8102e", text: "light" },
13654
+ LB: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13655
+ LL: { primary: "#0038a8", secondary: "#ffd700", text: "light" },
13656
+ AN: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13657
+ LR: { primary: "#006847", secondary: "#f0f0f0", text: "light" },
13658
+ LP: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13659
+ CL: { primary: "#c8102e", secondary: "#006847", text: "light" },
13660
+ IC: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13661
+ AR: { primary: "#c8102e", secondary: "#0038a8", text: "light" },
13662
+ MQ: { primary: "#c8102e", secondary: "#006847", text: "light" },
13663
+ TA: { primary: "#006847", secondary: "#c8102e", text: "light" },
13664
+ // Sierra
13665
+ CJ: { primary: "#ffd700", secondary: "#006847", text: "dark" },
13666
+ HC: { primary: "#006847", secondary: "#c8102e", text: "light" },
13667
+ JU: { primary: "#006847", secondary: "#ffd700", text: "light" },
13668
+ HV: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13669
+ AY: { primary: "#c8102e", secondary: "#006847", text: "light" },
13670
+ AP: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
13671
+ CS: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13672
+ PU: { primary: "#0038a8", secondary: "#c8102e", text: "light" },
13673
+ // Selva
13674
+ AM: { primary: "#006847", secondary: "#ffd700", text: "light" },
13675
+ SM: { primary: "#006847", secondary: "#c8102e", text: "light" },
13676
+ LO: { primary: "#006847", secondary: "#0038a8", text: "light" },
13677
+ UC: { primary: "#006847", secondary: "#c8102e", text: "light" },
13678
+ MD: { primary: "#006847", secondary: "#ffd700", text: "light" },
13679
+ PA: { primary: "#006847", secondary: "#0038a8", text: "light" }
13680
+ };
13681
+ var PERU_ACCENT_MAP = {
13682
+ TU: "green",
13683
+ PI: "green",
13684
+ LB: "red",
13685
+ LL: "blue",
13686
+ AN: "red",
13687
+ LR: "green",
13688
+ LP: "red",
13689
+ CL: "red",
13690
+ IC: "red",
13691
+ AR: "red",
13692
+ MQ: "red",
13693
+ TA: "green",
13694
+ CJ: "yellow",
13695
+ HC: "green",
13696
+ JU: "green",
13697
+ HV: "blue",
13698
+ AY: "red",
13699
+ AP: "blue",
13700
+ CS: "red",
13701
+ PU: "blue",
13702
+ AM: "green",
13703
+ SM: "green",
13704
+ LO: "green",
13705
+ UC: "green",
13706
+ MD: "green",
13707
+ PA: "green"
13708
+ };
13709
+ var VALID_CODES6 = Object.keys(PERU_DEPARTMENT_PALETTES);
13710
+ var PE_THEME_CONFIG = {
13711
+ palettes: PERU_DEPARTMENT_PALETTES,
13712
+ accents: PERU_ACCENT_MAP,
13713
+ flagUrlTemplate: (code) => VALID_CODES6.includes(code) ? `/flags/pe/${code}.svg` : null
13714
+ };
13715
+ var PERU_DEPARTMENT_COORDINATES = {
13716
+ // Costa
13717
+ TU: [-80.5, -3.5],
13718
+ PI: [-80, -5],
13719
+ LB: [-79.5, -6.8],
13720
+ LL: [-78.5, -8],
13721
+ AN: [-77.5, -9.5],
13722
+ LR: [-77, -11.5],
13723
+ LP: [-77, -12],
13724
+ CL: [-76.5, -13.5],
13725
+ IC: [-75.5, -14.5],
13726
+ AR: [-72, -16],
13727
+ MQ: [-71, -17.2],
13728
+ TA: [-70.3, -17.8],
13729
+ // Sierra
13730
+ CJ: [-78.5, -7],
13731
+ HC: [-76, -9.5],
13732
+ JU: [-75.5, -11.5],
13733
+ HV: [-75, -12.5],
13734
+ AY: [-74, -13.5],
13735
+ AP: [-73, -14],
13736
+ CS: [-72, -13.5],
13737
+ PU: [-70, -15],
13738
+ // Selva
13739
+ AM: [-78, -6],
13740
+ SM: [-77, -7],
13741
+ LO: [-75, -4.5],
13742
+ UC: [-75, -8.5],
13743
+ MD: [-70.5, -12],
13744
+ PA: [-75.5, -10]
13745
+ };
13746
+ var PERU_MAP_CENTER = [-75, -9.5];
13747
+ var PERU_MACRO_REGIONS = [
13748
+ {
13749
+ key: "costa",
13750
+ label: "",
13751
+ codes: ["TU", "PI", "LB", "LL", "AN", "LR", "LP", "CL", "IC", "AR", "MQ", "TA"],
13752
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
13753
+ iconColor: "text-orange-600 dark:text-orange-400"
13754
+ },
13755
+ {
13756
+ key: "sierra",
13757
+ label: "",
13758
+ codes: ["CJ", "HC", "JU", "HV", "AY", "AP", "CS", "PU"],
13759
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13760
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13761
+ },
13762
+ {
13763
+ key: "selva",
13764
+ label: "",
13765
+ codes: ["AM", "SM", "LO", "UC", "MD", "PA"],
13766
+ gradient: "from-cyan-500/15 to-sky-500/10 dark:from-cyan-500/20 dark:to-sky-500/15",
13767
+ iconColor: "text-cyan-600 dark:text-cyan-400"
13768
+ }
13769
+ ];
13770
+ var getPeruFlagUrl = (code) => getSubdivisionFlagUrl("PE", code);
13771
+ var getPeruHexColor = (code) => getSubdivisionHexColor("PE", code);
13772
+ var getPeruPalette = (code) => getSubdivisionPalette("PE", code);
13773
+ var getPeruGradient = (code, direction) => getSubdivisionGradient("PE", code, direction);
13774
+ var getPeruColors = (code) => getSubdivisionColors("PE", code);
13775
+ var getPeruAccent = (code) => getSubdivisionAccent("PE", code);
13776
+ var isValidPeruDepartment = (code) => isValidSubdivision("PE", code);
13777
+
13778
+ // src/lib/themes/germany.ts
13779
+ var GERMANY_STATE_PALETTES = {
13780
+ NI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13781
+ SH: { primary: "#003da5", secondary: "#c8102e", text: "light" },
13782
+ BE: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13783
+ MV: { primary: "#003da5", secondary: "#ffd700", text: "light" },
13784
+ HB: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13785
+ SL: { primary: "#000000", secondary: "#c8102e", text: "light" },
13786
+ BY: { primary: "#0080c9", secondary: "#f0f0f0", text: "light" },
13787
+ TH: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13788
+ ST: { primary: "#ffd700", secondary: "#009640", text: "dark" },
13789
+ SN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
13790
+ BB: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13791
+ NW: { primary: "#009640", secondary: "#c8102e", text: "light" },
13792
+ BW: { primary: "#000000", secondary: "#ffd700", text: "light" },
13793
+ HE: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13794
+ HH: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13795
+ RP: { primary: "#000000", secondary: "#c8102e", text: "light" }
13796
+ };
13797
+ var GERMANY_ACCENT_MAP = {
13798
+ NI: "red",
13799
+ SH: "blue",
13800
+ BE: "red",
13801
+ MV: "blue",
13802
+ HB: "red",
13803
+ SL: "slate",
13804
+ BY: "sky",
13805
+ TH: "red",
13806
+ ST: "yellow",
13807
+ SN: "green",
13808
+ BB: "red",
13809
+ NW: "green",
13810
+ BW: "amber",
13811
+ HE: "red",
13812
+ HH: "red",
13813
+ RP: "slate"
13814
+ };
13815
+ var VALID_CODES7 = Object.keys(GERMANY_STATE_PALETTES);
13816
+ var DE_THEME_CONFIG = {
13817
+ palettes: GERMANY_STATE_PALETTES,
13818
+ accents: GERMANY_ACCENT_MAP,
13819
+ flagUrlTemplate: (code) => VALID_CODES7.includes(code) ? `/flags/de/${code}.svg` : null
13820
+ };
13821
+ var GERMANY_STATE_COORDINATES = {
13822
+ NI: [9.8, 52.6],
13823
+ SH: [9.8, 54.2],
13824
+ BE: [13.4, 52.5],
13825
+ MV: [12.4, 53.9],
13826
+ HB: [8.8, 53.1],
13827
+ SL: [6.9, 49.4],
13828
+ BY: [11.5, 48.8],
13829
+ TH: [11, 50.9],
13830
+ ST: [11.7, 51.9],
13831
+ SN: [13.4, 51],
13832
+ BB: [13.4, 52.1],
13833
+ NW: [7.5, 51.4],
13834
+ BW: [9, 48.5],
13835
+ HE: [9, 50.6],
13836
+ HH: [10, 53.6],
13837
+ RP: [7.3, 49.9]
13838
+ };
13839
+ var GERMANY_MAP_CENTER = [10.4, 51.2];
13840
+ var GERMANY_MACRO_REGIONS = [
13841
+ {
13842
+ key: "nord",
13843
+ label: "",
13844
+ codes: ["NI", "SH", "HH", "HB", "MV"],
13845
+ gradient: "from-sky-500/15 to-blue-500/10 dark:from-sky-500/20 dark:to-blue-500/15",
13846
+ iconColor: "text-sky-600 dark:text-sky-400"
13847
+ },
13848
+ {
13849
+ key: "ost",
13850
+ label: "",
13851
+ codes: ["BE", "BB", "SN", "ST", "TH"],
13852
+ gradient: "from-rose-500/15 to-red-500/10 dark:from-rose-500/20 dark:to-red-500/15",
13853
+ iconColor: "text-rose-600 dark:text-rose-400"
13854
+ },
13855
+ {
13856
+ key: "west",
13857
+ label: "",
13858
+ codes: ["NW", "HE", "RP", "SL"],
13859
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13860
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13861
+ },
13862
+ {
13863
+ key: "sued",
13864
+ label: "",
13865
+ codes: ["BY", "BW"],
13866
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
13867
+ iconColor: "text-amber-600 dark:text-amber-400"
13868
+ }
13869
+ ];
13870
+ var getGermanyFlagUrl = (code) => getSubdivisionFlagUrl("DE", code);
13871
+ var getGermanyHexColor = (code) => getSubdivisionHexColor("DE", code);
13872
+ var getGermanyPalette = (code) => getSubdivisionPalette("DE", code);
13873
+ var getGermanyGradient = (code, direction) => getSubdivisionGradient("DE", code, direction);
13874
+ var getGermanyColors = (code) => getSubdivisionColors("DE", code);
13875
+ var getGermanyAccent = (code) => getSubdivisionAccent("DE", code);
13876
+ var isValidGermanyState = (code) => isValidSubdivision("DE", code);
13877
+
13878
+ // src/lib/themes/france.ts
13879
+ var FRANCE_REGION_PALETTES = {
13880
+ CO: { primary: "#000000", secondary: "#f0f0f0", text: "light" },
13881
+ BR: { primary: "#000000", secondary: "#f0f0f0", text: "light" },
13882
+ PD: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13883
+ PA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
13884
+ OC: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13885
+ NA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
13886
+ BF: { primary: "#003da5", secondary: "#ffd700", text: "light" },
13887
+ CV: { primary: "#003da5", secondary: "#c8102e", text: "light" },
13888
+ ID: { primary: "#003da5", secondary: "#c8102e", text: "light" },
13889
+ HD: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
13890
+ AR: { primary: "#c8102e", secondary: "#003da5", text: "light" },
13891
+ GE: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
13892
+ NO: { primary: "#c8102e", secondary: "#ffd700", text: "light" }
13893
+ };
13894
+ var FRANCE_ACCENT_MAP = {
13895
+ CO: "slate",
13896
+ BR: "slate",
13897
+ PD: "red",
13898
+ PA: "blue",
13899
+ OC: "rose",
13900
+ NA: "red",
13901
+ BF: "blue",
13902
+ CV: "indigo",
13903
+ ID: "blue",
13904
+ HD: "yellow",
13905
+ AR: "red",
13906
+ GE: "blue",
13907
+ NO: "orange"
13908
+ };
13909
+ var VALID_CODES8 = Object.keys(FRANCE_REGION_PALETTES);
13910
+ var FR_THEME_CONFIG = {
13911
+ palettes: FRANCE_REGION_PALETTES,
13912
+ accents: FRANCE_ACCENT_MAP,
13913
+ flagUrlTemplate: (code) => VALID_CODES8.includes(code) ? `/flags/fr/${code}.svg` : null
13914
+ };
13915
+ var FRANCE_REGION_COORDINATES = {
13916
+ CO: [9.1, 42.2],
13917
+ BR: [-3, 48.2],
13918
+ PD: [-0.9, 47.3],
13919
+ PA: [5.8, 43.9],
13920
+ OC: [2, 43.6],
13921
+ NA: [0.3, 45.7],
13922
+ BF: [4.6, 47],
13923
+ CV: [1.7, 47.6],
13924
+ ID: [2.5, 48.8],
13925
+ HD: [2.8, 49.9],
13926
+ AR: [4.5, 45.7],
13927
+ GE: [5.7, 48.6],
13928
+ NO: [0.1, 49.1]
13929
+ };
13930
+ var FRANCE_MAP_CENTER = [2.5, 46.5];
13931
+ var FRANCE_MACRO_REGIONS = [
13932
+ {
13933
+ key: "nord",
13934
+ label: "",
13935
+ codes: ["HD", "NO", "ID", "GE"],
13936
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
13937
+ iconColor: "text-blue-600 dark:text-blue-400"
13938
+ },
13939
+ {
13940
+ key: "ouest",
13941
+ label: "",
13942
+ codes: ["BR", "PD", "NA"],
13943
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
13944
+ iconColor: "text-emerald-600 dark:text-emerald-400"
13945
+ },
13946
+ {
13947
+ key: "centre",
13948
+ label: "",
13949
+ codes: ["CV", "BF"],
13950
+ gradient: "from-violet-500/15 to-purple-500/10 dark:from-violet-500/20 dark:to-purple-500/15",
13951
+ iconColor: "text-violet-600 dark:text-violet-400"
13952
+ },
13953
+ {
13954
+ key: "sud",
13955
+ label: "",
13956
+ codes: ["PA", "OC", "CO"],
13957
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
13958
+ iconColor: "text-orange-600 dark:text-orange-400"
13959
+ },
13960
+ {
13961
+ key: "est",
13962
+ label: "",
13963
+ codes: ["AR", "GE"],
13964
+ gradient: "from-rose-500/15 to-pink-500/10 dark:from-rose-500/20 dark:to-pink-500/15",
13965
+ iconColor: "text-rose-600 dark:text-rose-400"
13966
+ }
13967
+ ];
13968
+ var getFranceFlagUrl = (code) => getSubdivisionFlagUrl("FR", code);
13969
+ var getFranceHexColor = (code) => getSubdivisionHexColor("FR", code);
13970
+ var getFrancePalette = (code) => getSubdivisionPalette("FR", code);
13971
+ var getFranceGradient = (code, direction) => getSubdivisionGradient("FR", code, direction);
13972
+ var getFranceColors = (code) => getSubdivisionColors("FR", code);
13973
+ var getFranceAccent = (code) => getSubdivisionAccent("FR", code);
13974
+ var isValidFranceRegion = (code) => isValidSubdivision("FR", code);
13975
+
13976
+ // src/lib/themes/spain.ts
13977
+ var SPAIN_PROVINCE_PALETTES = {
13978
+ // Islas Baleares
13979
+ PM: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
13980
+ // Comunidad Valenciana
13981
+ VA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13982
+ // Castilla y Leon
13983
+ LE: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
13984
+ // Melilla
13985
+ ME: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
13986
+ // Palencia
13987
+ P: { primary: "#c8102e", secondary: "#003da5", text: "light" },
13988
+ // Cantabria
13989
+ S: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
13990
+ // Navarra
13991
+ NA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13992
+ // Ceuta
13993
+ CE: { primary: "#000000", secondary: "#f0f0f0", text: "light" },
13994
+ // Cuenca
13995
+ CU: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
13996
+ // Alava
13997
+ VI: { primary: "#c8102e", secondary: "#009640", text: "light" },
13998
+ // Guipuzcoa
13999
+ SS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14000
+ // Granada
14001
+ GR: { primary: "#c8102e", secondary: "#009640", text: "light" },
14002
+ // Murcia
14003
+ MU: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14004
+ // Burgos
14005
+ BU: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14006
+ // Salamanca
14007
+ SA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14008
+ // Zamora
14009
+ ZA: { primary: "#c8102e", secondary: "#009640", text: "light" },
14010
+ // Huesca
14011
+ HU: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14012
+ // Madrid
14013
+ M: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14014
+ // Guadalajara
14015
+ GU: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
14016
+ // Segovia
14017
+ SG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14018
+ // Sevilla
14019
+ SE: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14020
+ // Tarragona
14021
+ T: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
14022
+ // Teruel
14023
+ TE: { primary: "#c8102e", secondary: "#009640", text: "light" },
14024
+ // Valencia
14025
+ V: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14026
+ // Vizcaya
14027
+ BI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14028
+ // Orense
14029
+ OR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14030
+ // Lerida
14031
+ L: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
14032
+ // Zaragoza
14033
+ Z: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
14034
+ // Girona
14035
+ GI: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
14036
+ // Albacete
14037
+ AB: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14038
+ // Alicante
14039
+ A: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14040
+ // Avila
14041
+ AV: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14042
+ // Caceres
14043
+ CC: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14044
+ // Toledo
14045
+ TO: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14046
+ // Badajoz
14047
+ BA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14048
+ // Cordoba
14049
+ CO: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14050
+ // Huelva
14051
+ H: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14052
+ // A Coruna
14053
+ C: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14054
+ // Malaga
14055
+ MA: { primary: "#6b2fa0", secondary: "#009640", text: "light" },
14056
+ // Pontevedra
14057
+ PO: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14058
+ // La Rioja
14059
+ LO: { primary: "#c8102e", secondary: "#009640", text: "light" },
14060
+ // Soria
14061
+ SO: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14062
+ // Almeria
14063
+ AL: { primary: "#c8102e", secondary: "#009640", text: "light" },
14064
+ // Barcelona
14065
+ B: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
14066
+ // Cadiz
14067
+ CA: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14068
+ // Asturias
14069
+ O: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14070
+ // Castellon
14071
+ CS: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14072
+ // Ciudad Real
14073
+ CR: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14074
+ // Jaen
14075
+ J: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
14076
+ // Lugo
14077
+ LU: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14078
+ // Tenerife
14079
+ TF: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14080
+ // Gran Canaria
14081
+ GC: { primary: "#ffd700", secondary: "#003da5", text: "dark" }
14082
+ };
14083
+ var SPAIN_ACCENT_MAP = {
14084
+ PM: "purple",
14085
+ VA: "red",
14086
+ LE: "purple",
14087
+ ME: "blue",
14088
+ P: "red",
14089
+ S: "red",
14090
+ NA: "red",
14091
+ CE: "slate",
14092
+ CU: "red",
14093
+ VI: "green",
14094
+ SS: "red",
14095
+ GR: "green",
14096
+ MU: "amber",
14097
+ BU: "red",
14098
+ SA: "red",
14099
+ ZA: "green",
14100
+ HU: "red",
14101
+ M: "red",
14102
+ GU: "purple",
14103
+ SG: "amber",
14104
+ SE: "amber",
14105
+ T: "yellow",
14106
+ TE: "green",
14107
+ V: "orange",
14108
+ BI: "red",
14109
+ OR: "blue",
14110
+ L: "yellow",
14111
+ Z: "yellow",
14112
+ GI: "yellow",
14113
+ AB: "red",
14114
+ A: "blue",
14115
+ AV: "indigo",
14116
+ CC: "green",
14117
+ TO: "red",
14118
+ BA: "green",
14119
+ CO: "red",
14120
+ H: "green",
14121
+ C: "blue",
14122
+ MA: "purple",
14123
+ PO: "blue",
14124
+ LO: "rose",
14125
+ SO: "red",
14126
+ AL: "green",
14127
+ B: "yellow",
14128
+ CA: "blue",
14129
+ O: "blue",
14130
+ CS: "orange",
14131
+ CR: "red",
14132
+ J: "purple",
14133
+ LU: "blue",
14134
+ TF: "blue",
14135
+ GC: "yellow"
14136
+ };
14137
+ var VALID_CODES9 = Object.keys(SPAIN_PROVINCE_PALETTES);
14138
+ var ES_THEME_CONFIG = {
14139
+ palettes: SPAIN_PROVINCE_PALETTES,
14140
+ accents: SPAIN_ACCENT_MAP,
14141
+ flagUrlTemplate: (code) => VALID_CODES9.includes(code) ? `/flags/es/${code}.svg` : null
14142
+ };
14143
+ var SPAIN_PROVINCE_COORDINATES = {
14144
+ PM: [2.9, 39.6],
14145
+ VA: [-0.4, 39.5],
14146
+ LE: [-5.6, 42.6],
14147
+ ME: [-2.9, 35.3],
14148
+ P: [-4.5, 42],
14149
+ S: [-4, 43.2],
14150
+ NA: [-1.6, 42.8],
14151
+ CE: [-5.3, 35.9],
14152
+ CU: [-2.1, 40.1],
14153
+ VI: [-2.7, 42.8],
14154
+ SS: [-2, 43.3],
14155
+ GR: [-3.6, 37.2],
14156
+ MU: [-1.1, 37.9],
14157
+ BU: [-3.7, 42.3],
14158
+ SA: [-5.7, 40.9],
14159
+ ZA: [-5.7, 41.5],
14160
+ HU: [-0.4, 42.1],
14161
+ M: [-3.7, 40.4],
14162
+ GU: [-3.2, 40.6],
14163
+ SG: [-4.1, 41],
14164
+ SE: [-5.9, 37.4],
14165
+ T: [1.2, 41.1],
14166
+ TE: [-1.1, 40.3],
14167
+ V: [-0.4, 39.5],
14168
+ BI: [-2.9, 43.3],
14169
+ OR: [-7.9, 42.3],
14170
+ L: [0.6, 41.6],
14171
+ Z: [-0.9, 41.7],
14172
+ GI: [2.8, 42],
14173
+ AB: [-2, 38.9],
14174
+ A: [-0.5, 38.3],
14175
+ AV: [-5, 40.7],
14176
+ CC: [-6.4, 39.5],
14177
+ TO: [-4, 39.9],
14178
+ BA: [-6.9, 38.9],
14179
+ CO: [-4.8, 37.9],
14180
+ H: [-6.9, 37.3],
14181
+ C: [-8.4, 43.4],
14182
+ MA: [-4.4, 36.7],
14183
+ PO: [-8.6, 42.4],
14184
+ LO: [-2.4, 42.5],
14185
+ SO: [-2.5, 41.8],
14186
+ AL: [-2.5, 36.8],
14187
+ B: [2.2, 41.4],
14188
+ CA: [-6.3, 36.5],
14189
+ O: [-5.8, 43.4],
14190
+ CS: [-0.1, 40],
14191
+ CR: [-3.9, 38.9],
14192
+ J: [-3.8, 37.8],
14193
+ LU: [-7.6, 43],
14194
+ TF: [-16.5, 28.5],
14195
+ GC: [-15.4, 28.1]
14196
+ };
14197
+ var SPAIN_MAP_CENTER = [-3.7, 40];
14198
+ var SPAIN_MACRO_REGIONS = [
14199
+ {
14200
+ key: "norte",
14201
+ label: "",
14202
+ codes: ["S", "BI", "SS", "VI", "NA", "LO", "O"],
14203
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
14204
+ iconColor: "text-emerald-600 dark:text-emerald-400"
14205
+ },
14206
+ {
14207
+ key: "noreste",
14208
+ label: "",
14209
+ codes: ["B", "GI", "L", "T", "HU", "Z", "TE"],
14210
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
14211
+ iconColor: "text-amber-600 dark:text-amber-400"
14212
+ },
14213
+ {
14214
+ key: "centro",
14215
+ label: "",
14216
+ codes: ["M", "GU", "SG", "AV", "CU", "TO", "CR", "AB"],
14217
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
14218
+ iconColor: "text-red-600 dark:text-red-400"
14219
+ },
14220
+ {
14221
+ key: "este",
14222
+ label: "",
14223
+ codes: ["V", "A", "CS", "MU"],
14224
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
14225
+ iconColor: "text-orange-600 dark:text-orange-400"
14226
+ },
14227
+ {
14228
+ key: "sur",
14229
+ label: "",
14230
+ codes: ["SE", "CA", "CO", "MA", "GR", "AL", "H", "J"],
14231
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
14232
+ iconColor: "text-blue-600 dark:text-blue-400"
14233
+ },
14234
+ {
14235
+ key: "suroeste",
14236
+ label: "",
14237
+ codes: ["CC", "BA"],
14238
+ gradient: "from-green-500/15 to-emerald-500/10 dark:from-green-500/20 dark:to-emerald-500/15",
14239
+ iconColor: "text-green-600 dark:text-green-400"
14240
+ },
14241
+ {
14242
+ key: "islas",
14243
+ label: "",
14244
+ codes: ["PM", "TF", "GC"],
14245
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
14246
+ iconColor: "text-purple-600 dark:text-purple-400"
14247
+ },
14248
+ {
14249
+ key: "ciudades",
14250
+ label: "",
14251
+ codes: ["CE", "ME"],
14252
+ gradient: "from-slate-500/15 to-gray-500/10 dark:from-slate-500/20 dark:to-gray-500/15",
14253
+ iconColor: "text-slate-600 dark:text-slate-400"
14254
+ }
14255
+ ];
14256
+ var getSpainFlagUrl = (code) => getSubdivisionFlagUrl("ES", code);
14257
+ var getSpainHexColor = (code) => getSubdivisionHexColor("ES", code);
14258
+ var getSpainPalette = (code) => getSubdivisionPalette("ES", code);
14259
+ var getSpainGradient = (code, direction) => getSubdivisionGradient("ES", code, direction);
14260
+ var getSpainColors = (code) => getSubdivisionColors("ES", code);
14261
+ var getSpainAccent = (code) => getSubdivisionAccent("ES", code);
14262
+ var isValidSpainProvince = (code) => isValidSubdivision("ES", code);
14263
+
14264
+ // src/lib/themes/italy.ts
14265
+ var ITALY_REGION_PALETTES = {
14266
+ SI: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14267
+ PU: { primary: "#c8102e", secondary: "#009640", text: "light" },
14268
+ BA: { primary: "#c8102e", secondary: "#009640", text: "light" },
14269
+ CA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14270
+ LA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14271
+ MO: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14272
+ TO: { primary: "#009640", secondary: "#c8102e", text: "light" },
14273
+ UM: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14274
+ EM: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14275
+ VE: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14276
+ PI: { primary: "#009640", secondary: "#c8102e", text: "light" },
14277
+ LO: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14278
+ VD: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14279
+ TA: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14280
+ MA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14281
+ AB: { primary: "#003da5", secondary: "#009640", text: "light" },
14282
+ FG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14283
+ LI: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14284
+ CL: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14285
+ SA: { primary: "#003da5", secondary: "#ffd700", text: "light" }
14286
+ };
14287
+ var ITALY_ACCENT_MAP = {
14288
+ SI: "red",
14289
+ PU: "rose",
14290
+ BA: "red",
14291
+ CA: "amber",
14292
+ LA: "blue",
14293
+ MO: "red",
14294
+ TO: "green",
14295
+ UM: "red",
14296
+ EM: "green",
14297
+ VE: "blue",
14298
+ PI: "emerald",
14299
+ LO: "green",
14300
+ VD: "red",
14301
+ TA: "blue",
14302
+ MA: "green",
14303
+ AB: "indigo",
14304
+ FG: "blue",
14305
+ LI: "sky",
14306
+ CL: "amber",
14307
+ SA: "blue"
14308
+ };
14309
+ var VALID_CODES10 = Object.keys(ITALY_REGION_PALETTES);
14310
+ var IT_THEME_CONFIG = {
14311
+ palettes: ITALY_REGION_PALETTES,
14312
+ accents: ITALY_ACCENT_MAP,
14313
+ flagUrlTemplate: (code) => VALID_CODES10.includes(code) ? `/flags/it/${code}.svg` : null
14314
+ };
14315
+ var ITALY_REGION_COORDINATES = {
14316
+ SI: [14.2, 37.6],
14317
+ PU: [16.5, 40.5],
14318
+ BA: [16.9, 39.3],
14319
+ CA: [9.1, 39.2],
14320
+ LA: [13.3, 41.7],
14321
+ MO: [14.8, 41.6],
14322
+ TO: [11.8, 43.4],
14323
+ UM: [12.6, 42.7],
14324
+ EM: [11.3, 44.5],
14325
+ VE: [12, 45.7],
14326
+ PI: [8, 44.7],
14327
+ LO: [9.9, 45.5],
14328
+ VD: [7.7, 45.7],
14329
+ TA: [11.3, 46.5],
14330
+ MA: [13.2, 43.3],
14331
+ AB: [13.6, 42.2],
14332
+ FG: [13.1, 46.1],
14333
+ LI: [8.4, 44.1],
14334
+ CL: [16.3, 39],
14335
+ SA: [9, 40.1]
14336
+ };
14337
+ var ITALY_MAP_CENTER = [12.5, 42.5];
14338
+ var ITALY_MACRO_REGIONS = [
14339
+ {
14340
+ key: "nord-ovest",
14341
+ label: "",
14342
+ codes: ["PI", "LO", "LI", "VD"],
14343
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
14344
+ iconColor: "text-emerald-600 dark:text-emerald-400"
14345
+ },
14346
+ {
14347
+ key: "nord-est",
14348
+ label: "",
14349
+ codes: ["VE", "FG", "TA", "EM"],
14350
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
14351
+ iconColor: "text-blue-600 dark:text-blue-400"
14352
+ },
14353
+ {
14354
+ key: "centro",
14355
+ label: "",
14356
+ codes: ["TO", "UM", "MA", "LA"],
14357
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
14358
+ iconColor: "text-amber-600 dark:text-amber-400"
14359
+ },
14360
+ {
14361
+ key: "sud",
14362
+ label: "",
14363
+ codes: ["CA", "BA", "PU", "CL", "MO", "AB"],
14364
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
14365
+ iconColor: "text-red-600 dark:text-red-400"
14366
+ },
14367
+ {
14368
+ key: "isole",
14369
+ label: "",
14370
+ codes: ["SI", "SA"],
14371
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
14372
+ iconColor: "text-orange-600 dark:text-orange-400"
14373
+ }
14374
+ ];
14375
+ var getItalyFlagUrl = (code) => getSubdivisionFlagUrl("IT", code);
14376
+ var getItalyHexColor = (code) => getSubdivisionHexColor("IT", code);
14377
+ var getItalyPalette = (code) => getSubdivisionPalette("IT", code);
14378
+ var getItalyGradient = (code, direction) => getSubdivisionGradient("IT", code, direction);
14379
+ var getItalyColors = (code) => getSubdivisionColors("IT", code);
14380
+ var getItalyAccent = (code) => getSubdivisionAccent("IT", code);
14381
+ var isValidItalyRegion = (code) => isValidSubdivision("IT", code);
14382
+
14383
+ // src/lib/themes/united-kingdom.ts
14384
+ var UK_NATION_PALETTES = {
14385
+ EN: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14386
+ SC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14387
+ WA: { primary: "#009640", secondary: "#c8102e", text: "light" },
14388
+ NI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" }
14389
+ };
14390
+ var UK_ACCENT_MAP = {
14391
+ EN: "red",
14392
+ SC: "blue",
14393
+ WA: "green",
14394
+ NI: "rose"
14395
+ };
14396
+ var VALID_CODES11 = Object.keys(UK_NATION_PALETTES);
14397
+ var GB_THEME_CONFIG = {
14398
+ palettes: UK_NATION_PALETTES,
14399
+ accents: UK_ACCENT_MAP,
14400
+ flagUrlTemplate: (code) => VALID_CODES11.includes(code) ? `/flags/gb/${code}.svg` : null
14401
+ };
14402
+ var UK_NATION_COORDINATES = {
14403
+ EN: [-1.2, 52.5],
14404
+ SC: [-4.2, 56.5],
14405
+ WA: [-3.7, 52.1],
14406
+ NI: [-6.8, 54.6]
14407
+ };
14408
+ var UK_MAP_CENTER = [-3, 54.5];
14409
+ var UK_MACRO_REGIONS = [
14410
+ {
14411
+ key: "england",
14412
+ label: "",
14413
+ codes: ["EN"],
14414
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
14415
+ iconColor: "text-red-600 dark:text-red-400"
14416
+ },
14417
+ {
14418
+ key: "scotland",
14419
+ label: "",
14420
+ codes: ["SC"],
14421
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
14422
+ iconColor: "text-blue-600 dark:text-blue-400"
14423
+ },
14424
+ {
14425
+ key: "wales",
14426
+ label: "",
14427
+ codes: ["WA"],
14428
+ gradient: "from-emerald-500/15 to-green-500/10 dark:from-emerald-500/20 dark:to-green-500/15",
14429
+ iconColor: "text-emerald-600 dark:text-emerald-400"
14430
+ },
14431
+ {
14432
+ key: "northern-ireland",
14433
+ label: "",
14434
+ codes: ["NI"],
14435
+ gradient: "from-rose-500/15 to-pink-500/10 dark:from-rose-500/20 dark:to-pink-500/15",
14436
+ iconColor: "text-rose-600 dark:text-rose-400"
14437
+ }
14438
+ ];
14439
+ var getUKFlagUrl = (code) => getSubdivisionFlagUrl("GB", code);
14440
+ var getUKHexColor = (code) => getSubdivisionHexColor("GB", code);
14441
+ var getUKPalette = (code) => getSubdivisionPalette("GB", code);
14442
+ var getUKGradient = (code, direction) => getSubdivisionGradient("GB", code, direction);
14443
+ var getUKColors = (code) => getSubdivisionColors("GB", code);
14444
+ var getUKAccent = (code) => getSubdivisionAccent("GB", code);
14445
+ var isValidUKNation = (code) => isValidSubdivision("GB", code);
14446
+
14447
+ // src/lib/themes/portugal.ts
14448
+ var PORTUGAL_DISTRICT_PALETTES = {
14449
+ FA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14450
+ LI: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14451
+ AV: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14452
+ VC: { primary: "#c8102e", secondary: "#009640", text: "light" },
14453
+ BE: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
14454
+ EV: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14455
+ SE: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14456
+ PA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14457
+ SA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14458
+ BR: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14459
+ LE: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
14460
+ BA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14461
+ CB: { primary: "#009640", secondary: "#c8102e", text: "light" },
14462
+ GU: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14463
+ CO: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14464
+ PO: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14465
+ VI: { primary: "#c8102e", secondary: "#009640", text: "light" },
14466
+ VR: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
14467
+ MA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14468
+ AC: { primary: "#003da5", secondary: "#c8102e", text: "light" }
14469
+ };
14470
+ var PORTUGAL_ACCENT_MAP = {
14471
+ FA: "amber",
14472
+ LI: "blue",
14473
+ AV: "green",
14474
+ VC: "red",
14475
+ BE: "yellow",
14476
+ EV: "blue",
14477
+ SE: "green",
14478
+ PA: "indigo",
14479
+ SA: "red",
14480
+ BR: "red",
14481
+ LE: "purple",
14482
+ BA: "red",
14483
+ CB: "emerald",
14484
+ GU: "red",
14485
+ CO: "blue",
14486
+ PO: "blue",
14487
+ VI: "rose",
14488
+ VR: "yellow",
14489
+ MA: "sky",
14490
+ AC: "blue"
14491
+ };
14492
+ var VALID_CODES12 = Object.keys(PORTUGAL_DISTRICT_PALETTES);
14493
+ var PT_THEME_CONFIG = {
14494
+ palettes: PORTUGAL_DISTRICT_PALETTES,
14495
+ accents: PORTUGAL_ACCENT_MAP,
14496
+ flagUrlTemplate: (code) => VALID_CODES12.includes(code) ? `/flags/pt/${code}.svg` : null
14497
+ };
14498
+ var PORTUGAL_DISTRICT_COORDINATES = {
14499
+ FA: [-7.9, 37],
14500
+ LI: [-9.1, 38.7],
14501
+ AV: [-8.5, 40.6],
14502
+ VC: [-8.4, 41.7],
14503
+ BE: [-7.9, 38],
14504
+ EV: [-7.9, 38.6],
14505
+ SE: [-8.9, 38.5],
14506
+ PA: [-7.9, 39.3],
14507
+ SA: [-8.9, 39.2],
14508
+ BR: [-8.4, 41.6],
14509
+ LE: [-8, 39.7],
14510
+ BA: [-8.1, 41.2],
14511
+ CB: [-7.5, 40.3],
14512
+ GU: [-7.3, 40.5],
14513
+ CO: [-8.4, 40.2],
14514
+ PO: [-8.6, 41.2],
14515
+ VI: [-7.9, 40.7],
14516
+ VR: [-7.7, 41.3],
14517
+ MA: [-17, 32.7],
14518
+ AC: [-25.5, 37.7]
14519
+ };
14520
+ var PORTUGAL_MAP_CENTER = [-8, 39.5];
14521
+ var PORTUGAL_MACRO_REGIONS = [
14522
+ {
14523
+ key: "norte",
14524
+ label: "",
14525
+ codes: ["VC", "BR", "PO", "VR", "BA", "VI"],
14526
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
14527
+ iconColor: "text-red-600 dark:text-red-400"
14528
+ },
14529
+ {
14530
+ key: "centro",
14531
+ label: "",
14532
+ codes: ["AV", "CO", "GU", "CB", "LE"],
14533
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
14534
+ iconColor: "text-emerald-600 dark:text-emerald-400"
14535
+ },
14536
+ {
14537
+ key: "lisboa",
14538
+ label: "",
14539
+ codes: ["LI", "SE", "SA"],
14540
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
14541
+ iconColor: "text-blue-600 dark:text-blue-400"
14542
+ },
14543
+ {
14544
+ key: "alentejo",
14545
+ label: "",
14546
+ codes: ["PA", "EV", "BE"],
14547
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
14548
+ iconColor: "text-amber-600 dark:text-amber-400"
14549
+ },
14550
+ {
14551
+ key: "algarve",
14552
+ label: "",
14553
+ codes: ["FA"],
14554
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
14555
+ iconColor: "text-orange-600 dark:text-orange-400"
14556
+ },
14557
+ {
14558
+ key: "ilhas",
14559
+ label: "",
14560
+ codes: ["MA", "AC"],
14561
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
14562
+ iconColor: "text-purple-600 dark:text-purple-400"
14563
+ }
14564
+ ];
14565
+ var getPortugalFlagUrl = (code) => getSubdivisionFlagUrl("PT", code);
14566
+ var getPortugalHexColor = (code) => getSubdivisionHexColor("PT", code);
14567
+ var getPortugalPalette = (code) => getSubdivisionPalette("PT", code);
14568
+ var getPortugalGradient = (code, direction) => getSubdivisionGradient("PT", code, direction);
14569
+ var getPortugalColors = (code) => getSubdivisionColors("PT", code);
14570
+ var getPortugalAccent = (code) => getSubdivisionAccent("PT", code);
14571
+ var isValidPortugalDistrict = (code) => isValidSubdivision("PT", code);
14572
+
14573
+ // src/lib/themes/australia.ts
14574
+ var AUSTRALIA_STATE_PALETTES = {
14575
+ NT: { primary: "#d35400", secondary: "#000000", text: "light" },
14576
+ WA: { primary: "#ffd700", secondary: "#000000", text: "dark" },
14577
+ SA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14578
+ QLD: { primary: "#7b0046", secondary: "#f0f0f0", text: "light" },
14579
+ NSW: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14580
+ VIC: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14581
+ TAS: { primary: "#009640", secondary: "#c8102e", text: "light" },
14582
+ ACT: { primary: "#003da5", secondary: "#ffd700", text: "light" }
14583
+ };
14584
+ var AUSTRALIA_ACCENT_MAP = {
14585
+ NT: "orange",
14586
+ WA: "yellow",
14587
+ SA: "red",
14588
+ QLD: "fuchsia",
14589
+ NSW: "blue",
14590
+ VIC: "indigo",
14591
+ TAS: "green",
14592
+ ACT: "sky"
14593
+ };
14594
+ var VALID_CODES13 = Object.keys(AUSTRALIA_STATE_PALETTES);
14595
+ var AU_THEME_CONFIG = {
14596
+ palettes: AUSTRALIA_STATE_PALETTES,
14597
+ accents: AUSTRALIA_ACCENT_MAP,
14598
+ flagUrlTemplate: (code) => VALID_CODES13.includes(code) ? `/flags/au/${code}.svg` : null
14599
+ };
14600
+ var AUSTRALIA_STATE_COORDINATES = {
14601
+ NT: [133.8, -19.5],
14602
+ WA: [121.6, -25.3],
14603
+ SA: [135.8, -30],
14604
+ QLD: [144.7, -22.6],
14605
+ NSW: [147.3, -32],
14606
+ VIC: [145, -37],
14607
+ TAS: [146.3, -42],
14608
+ ACT: [149.1, -35.3]
14609
+ };
14610
+ var AUSTRALIA_MAP_CENTER = [134, -25];
14611
+ var AUSTRALIA_MACRO_REGIONS = [
14612
+ {
14613
+ key: "eastern",
14614
+ label: "",
14615
+ codes: ["NSW", "VIC", "QLD", "TAS", "ACT"],
14616
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
14617
+ iconColor: "text-blue-600 dark:text-blue-400"
14618
+ },
14619
+ {
14620
+ key: "western",
14621
+ label: "",
14622
+ codes: ["WA"],
14623
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
14624
+ iconColor: "text-amber-600 dark:text-amber-400"
14625
+ },
14626
+ {
14627
+ key: "central",
14628
+ label: "",
14629
+ codes: ["SA", "NT"],
14630
+ gradient: "from-orange-500/15 to-red-500/10 dark:from-orange-500/20 dark:to-red-500/15",
14631
+ iconColor: "text-orange-600 dark:text-orange-400"
14632
+ }
14633
+ ];
14634
+ var getAustraliaFlagUrl = (code) => getSubdivisionFlagUrl("AU", code);
14635
+ var getAustraliaHexColor = (code) => getSubdivisionHexColor("AU", code);
14636
+ var getAustraliaPalette = (code) => getSubdivisionPalette("AU", code);
14637
+ var getAustraliaGradient = (code, direction) => getSubdivisionGradient("AU", code, direction);
14638
+ var getAustraliaColors = (code) => getSubdivisionColors("AU", code);
14639
+ var getAustraliaAccent = (code) => getSubdivisionAccent("AU", code);
14640
+ var isValidAustraliaState = (code) => isValidSubdivision("AU", code);
14641
+
14642
+ // src/lib/themes/japan.ts
14643
+ var JAPAN_PREFECTURE_PALETTES = {
14644
+ HS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14645
+ SM: { primary: "#006b3c", secondary: "#f0f0f0", text: "light" },
14646
+ YC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14647
+ KM: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14648
+ EH: { primary: "#009640", secondary: "#ffd700", text: "light" },
14649
+ KG: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14650
+ IS: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14651
+ HK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14652
+ TK: { primary: "#5f2d91", secondary: "#009640", text: "light" },
14653
+ NA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14654
+ KA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14655
+ IB: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14656
+ ST: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14657
+ SG: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14658
+ YN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14659
+ KN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14660
+ FO: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14661
+ FS: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14662
+ GU: { primary: "#006b3c", secondary: "#f0f0f0", text: "light" },
14663
+ TS: { primary: "#009640", secondary: "#ffd700", text: "light" },
14664
+ KY: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
14665
+ ME: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14666
+ AI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14667
+ NR: { primary: "#6b2fa0", secondary: "#009640", text: "light" },
14668
+ OS: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14669
+ WK: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14670
+ CH: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14671
+ AK: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14672
+ MG: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14673
+ TT: { primary: "#003da5", secondary: "#009640", text: "light" },
14674
+ HG: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14675
+ GF: { primary: "#009640", secondary: "#c8102e", text: "light" },
14676
+ NN: { primary: "#009640", secondary: "#ffd700", text: "light" },
14677
+ TY: { primary: "#c8102e", secondary: "#009640", text: "light" },
14678
+ NI: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14679
+ OY: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14680
+ AO: { primary: "#003da5", secondary: "#009640", text: "light" },
14681
+ MZ: { primary: "#c8102e", secondary: "#009640", text: "light" },
14682
+ IW: { primary: "#009640", secondary: "#ffd700", text: "light" },
14683
+ KC: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14684
+ OT: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14685
+ SZ: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14686
+ FI: { primary: "#003da5", secondary: "#009640", text: "light" },
14687
+ SH: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14688
+ TC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14689
+ YT: { primary: "#009640", secondary: "#c8102e", text: "light" },
14690
+ OK: { primary: "#c8102e", secondary: "#003da5", text: "light" }
14691
+ };
14692
+ var JAPAN_ACCENT_MAP = {
14693
+ HS: "red",
14694
+ SM: "green",
14695
+ YC: "blue",
14696
+ KM: "red",
14697
+ EH: "emerald",
14698
+ KG: "green",
14699
+ IS: "blue",
14700
+ HK: "indigo",
14701
+ TK: "purple",
14702
+ NA: "red",
14703
+ KA: "red",
14704
+ IB: "blue",
14705
+ ST: "rose",
14706
+ SG: "red",
14707
+ YN: "green",
14708
+ KN: "red",
14709
+ FO: "blue",
14710
+ FS: "green",
14711
+ GU: "emerald",
14712
+ TS: "teal",
14713
+ KY: "purple",
14714
+ ME: "sky",
14715
+ AI: "red",
14716
+ NR: "violet",
14717
+ OS: "blue",
14718
+ WK: "red",
14719
+ CH: "rose",
14720
+ AK: "red",
14721
+ MG: "green",
14722
+ TT: "blue",
14723
+ HG: "blue",
14724
+ GF: "green",
14725
+ NN: "teal",
14726
+ TY: "red",
14727
+ NI: "indigo",
14728
+ OY: "blue",
14729
+ AO: "blue",
14730
+ MZ: "red",
14731
+ IW: "emerald",
14732
+ KC: "green",
14733
+ OT: "red",
14734
+ SZ: "sky",
14735
+ FI: "blue",
14736
+ SH: "amber",
14737
+ TC: "blue",
14738
+ YT: "green",
14739
+ OK: "rose"
14740
+ };
14741
+ var VALID_CODES14 = Object.keys(JAPAN_PREFECTURE_PALETTES);
14742
+ var JP_THEME_CONFIG = {
14743
+ palettes: JAPAN_PREFECTURE_PALETTES,
14744
+ accents: JAPAN_ACCENT_MAP,
14745
+ flagUrlTemplate: (code) => VALID_CODES14.includes(code) ? `/flags/jp/${code}.svg` : null
14746
+ };
14747
+ var JAPAN_PREFECTURE_COORDINATES = {
14748
+ HS: [132.5, 34.4],
14749
+ SM: [133.1, 35.5],
14750
+ YC: [131.5, 34.2],
14751
+ KM: [133.5, 33.6],
14752
+ EH: [132.8, 33.8],
14753
+ KG: [134, 34.3],
14754
+ IS: [136.6, 36.6],
14755
+ HK: [143.2, 43.1],
14756
+ TK: [139.7, 35.7],
14757
+ NA: [135.8, 34.7],
14758
+ KA: [131.6, 31.9],
14759
+ IB: [140.1, 36.3],
14760
+ ST: [139.6, 35.9],
14761
+ SG: [130.3, 33.2],
14762
+ YN: [136.6, 36.1],
14763
+ KN: [139.6, 35.4],
14764
+ FO: [130.4, 33.6],
14765
+ FS: [140.5, 37.8],
14766
+ GU: [137.2, 35.4],
14767
+ TS: [134.2, 34.1],
14768
+ KY: [135.8, 35],
14769
+ ME: [136.5, 34.7],
14770
+ AI: [137, 35.2],
14771
+ NR: [135.8, 34.7],
14772
+ OS: [135.5, 34.7],
14773
+ WK: [135.2, 34.2],
14774
+ CH: [140.1, 35.6],
14775
+ AK: [140.1, 39.7],
14776
+ MG: [140.9, 38.3],
14777
+ TT: [134.2, 35.5],
14778
+ HG: [134.7, 35],
14779
+ GF: [137.1, 35.7],
14780
+ NN: [138.2, 36.7],
14781
+ TY: [137, 36.7],
14782
+ NI: [139, 37.9],
14783
+ OY: [133.9, 34.7],
14784
+ AO: [140.7, 40.8],
14785
+ MZ: [131.4, 31.9],
14786
+ IW: [141.2, 39.7],
14787
+ KC: [133.5, 33.6],
14788
+ OT: [131.6, 33.2],
14789
+ SZ: [138.4, 35],
14790
+ FI: [138.3, 36.2],
14791
+ SH: [133, 35.5],
14792
+ TC: [139.9, 36.6],
14793
+ YT: [140, 38.2],
14794
+ OK: [127.7, 26.3]
14795
+ };
14796
+ var JAPAN_MAP_CENTER = [138, 37];
14797
+ var JAPAN_MACRO_REGIONS = [
14798
+ {
14799
+ key: "hokkaido",
14800
+ label: "",
14801
+ codes: ["HK"],
14802
+ gradient: "from-indigo-500/15 to-blue-500/10 dark:from-indigo-500/20 dark:to-blue-500/15",
14803
+ iconColor: "text-indigo-600 dark:text-indigo-400"
14804
+ },
14805
+ {
14806
+ key: "tohoku",
14807
+ label: "",
14808
+ codes: ["AO", "IW", "AK", "MG", "YT", "FS"],
14809
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
14810
+ iconColor: "text-emerald-600 dark:text-emerald-400"
14811
+ },
14812
+ {
14813
+ key: "kanto",
14814
+ label: "",
14815
+ codes: ["TK", "KN", "ST", "CH", "IB", "TC", "GU"],
14816
+ gradient: "from-purple-500/15 to-violet-500/10 dark:from-purple-500/20 dark:to-violet-500/15",
14817
+ iconColor: "text-purple-600 dark:text-purple-400"
14818
+ },
14819
+ {
14820
+ key: "chubu",
14821
+ label: "",
14822
+ codes: ["NI", "TY", "IS", "FI", "NN", "GF", "SZ", "AI", "YN"],
14823
+ gradient: "from-sky-500/15 to-blue-500/10 dark:from-sky-500/20 dark:to-blue-500/15",
14824
+ iconColor: "text-sky-600 dark:text-sky-400"
14825
+ },
14826
+ {
14827
+ key: "kansai",
14828
+ label: "",
14829
+ codes: ["OS", "KY", "NR", "HG", "SH", "WK", "ME"],
14830
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
14831
+ iconColor: "text-red-600 dark:text-red-400"
14832
+ },
14833
+ {
14834
+ key: "chugoku",
14835
+ label: "",
14836
+ codes: ["HS", "SM", "YC", "TT", "OY"],
14837
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
14838
+ iconColor: "text-amber-600 dark:text-amber-400"
14839
+ },
14840
+ {
14841
+ key: "shikoku",
14842
+ label: "",
14843
+ codes: ["EH", "KG", "TS", "KC"],
14844
+ gradient: "from-green-500/15 to-emerald-500/10 dark:from-green-500/20 dark:to-emerald-500/15",
14845
+ iconColor: "text-green-600 dark:text-green-400"
14846
+ },
14847
+ {
14848
+ key: "kyushu",
14849
+ label: "",
14850
+ codes: ["FO", "SG", "NA", "KM", "OT", "MZ", "KA", "OK"],
14851
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
14852
+ iconColor: "text-orange-600 dark:text-orange-400"
14853
+ }
14854
+ ];
14855
+ var getJapanFlagUrl = (code) => getSubdivisionFlagUrl("JP", code);
14856
+ var getJapanHexColor = (code) => getSubdivisionHexColor("JP", code);
14857
+ var getJapanPalette = (code) => getSubdivisionPalette("JP", code);
14858
+ var getJapanGradient = (code, direction) => getSubdivisionGradient("JP", code, direction);
14859
+ var getJapanColors = (code) => getSubdivisionColors("JP", code);
14860
+ var getJapanAccent = (code) => getSubdivisionAccent("JP", code);
14861
+ var isValidJapanPrefecture = (code) => isValidSubdivision("JP", code);
14862
+
14863
+ // src/lib/themes/india.ts
14864
+ var INDIA_STATE_PALETTES = {
14865
+ TN: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14866
+ PU: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14867
+ HP: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14868
+ SI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14869
+ DE: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14870
+ UP: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14871
+ HA: { primary: "#c8102e", secondary: "#009640", text: "light" },
14872
+ PN: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14873
+ CH: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14874
+ RA: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
14875
+ JA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14876
+ GU: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14877
+ MP: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14878
+ MA: { primary: "#ff6600", secondary: "#009640", text: "light" },
14879
+ DA: { primary: "#003da5", secondary: "#009640", text: "light" },
14880
+ BI: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14881
+ WB: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
14882
+ JH: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14883
+ CT: { primary: "#009640", secondary: "#c8102e", text: "light" },
14884
+ OD: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14885
+ KE: { primary: "#009640", secondary: "#ffd700", text: "light" },
14886
+ KA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
14887
+ AP: { primary: "#003da5", secondary: "#ffd700", text: "light" },
14888
+ AA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
14889
+ AS: { primary: "#c8102e", secondary: "#009640", text: "light" },
14890
+ TR: { primary: "#009640", secondary: "#ff6600", text: "light" },
14891
+ AR: { primary: "#003da5", secondary: "#009640", text: "light" },
14892
+ LA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14893
+ ME: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
14894
+ MN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
14895
+ NA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
14896
+ MI: { primary: "#003da5", secondary: "#009640", text: "light" },
14897
+ TE: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
14898
+ LD: { primary: "#003da5", secondary: "#009640", text: "light" },
14899
+ UT: { primary: "#009640", secondary: "#c8102e", text: "light" },
14900
+ GO: { primary: "#009640", secondary: "#ffd700", text: "light" }
14901
+ };
14902
+ var INDIA_ACCENT_MAP = {
14903
+ TN: "red",
14904
+ PU: "blue",
14905
+ HP: "green",
14906
+ SI: "red",
14907
+ DE: "rose",
14908
+ UP: "blue",
14909
+ HA: "red",
14910
+ PN: "indigo",
14911
+ CH: "blue",
14912
+ RA: "yellow",
14913
+ JA: "blue",
14914
+ GU: "amber",
14915
+ MP: "green",
14916
+ MA: "orange",
14917
+ DA: "blue",
14918
+ BI: "red",
14919
+ WB: "blue",
14920
+ JH: "emerald",
14921
+ CT: "green",
14922
+ OD: "red",
14923
+ KE: "teal",
14924
+ KA: "red",
14925
+ AP: "sky",
14926
+ AA: "red",
14927
+ AS: "rose",
14928
+ TR: "green",
14929
+ AR: "blue",
14930
+ LA: "red",
14931
+ ME: "emerald",
14932
+ MN: "red",
14933
+ NA: "indigo",
14934
+ MI: "blue",
14935
+ TE: "yellow",
14936
+ LD: "blue",
14937
+ UT: "green",
14938
+ GO: "teal"
14939
+ };
14940
+ var VALID_CODES15 = Object.keys(INDIA_STATE_PALETTES);
14941
+ var IN_THEME_CONFIG = {
14942
+ palettes: INDIA_STATE_PALETTES,
14943
+ accents: INDIA_ACCENT_MAP,
14944
+ flagUrlTemplate: (code) => VALID_CODES15.includes(code) ? `/flags/in/${code}.svg` : null
14945
+ };
14946
+ var INDIA_STATE_COORDINATES = {
14947
+ TN: [78.7, 11.1],
14948
+ PU: [79.8, 11.9],
14949
+ HP: [77.2, 31.1],
14950
+ SI: [88.5, 27.5],
14951
+ DE: [77.1, 28.7],
14952
+ UP: [80.9, 27],
14953
+ HA: [76.1, 29.1],
14954
+ PN: [75.3, 31.1],
14955
+ CH: [76.8, 30.7],
14956
+ RA: [73.7, 26.5],
14957
+ JA: [86.2, 23.6],
14958
+ GU: [71.6, 22.3],
14959
+ MP: [78.7, 23.5],
14960
+ MA: [75.7, 19.7],
14961
+ DA: [73, 20.1],
14962
+ BI: [85.3, 25.6],
14963
+ WB: [87.9, 22.6],
14964
+ JH: [85.3, 23.6],
14965
+ CT: [81.9, 21.3],
14966
+ OD: [84, 20.9],
14967
+ KE: [76.3, 10.9],
14968
+ KA: [75.7, 15.3],
14969
+ AP: [79.7, 15.9],
14970
+ AA: [72.9, 20.6],
14971
+ AS: [92.9, 26.2],
14972
+ TR: [91.7, 23.9],
14973
+ AR: [94.7, 28.2],
14974
+ LA: [77.6, 34.2],
14975
+ ME: [91.4, 25.5],
14976
+ MN: [93.9, 24.8],
14977
+ NA: [94.1, 26.2],
14978
+ MI: [92.7, 23.2],
14979
+ TE: [79, 18.1],
14980
+ LD: [72.2, 10.6],
14981
+ UT: [79, 30.1],
14982
+ GO: [74, 15.3]
14983
+ };
14984
+ var INDIA_MAP_CENTER = [79, 22];
14985
+ var INDIA_MACRO_REGIONS = [
14986
+ {
14987
+ key: "north",
14988
+ label: "",
14989
+ codes: ["HP", "PN", "HA", "DE", "CH", "RA", "UP", "UT", "JA", "LD"],
14990
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
14991
+ iconColor: "text-amber-600 dark:text-amber-400"
14992
+ },
14993
+ {
14994
+ key: "east",
14995
+ label: "",
14996
+ codes: ["WB", "OD", "BI", "JH"],
14997
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
14998
+ iconColor: "text-blue-600 dark:text-blue-400"
14999
+ },
15000
+ {
15001
+ key: "west",
15002
+ label: "",
15003
+ codes: ["GU", "MA", "DA", "GO"],
15004
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
15005
+ iconColor: "text-orange-600 dark:text-orange-400"
15006
+ },
15007
+ {
15008
+ key: "south",
15009
+ label: "",
15010
+ codes: ["TN", "KE", "KA", "AP", "TE", "PU", "AA"],
15011
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
15012
+ iconColor: "text-red-600 dark:text-red-400"
15013
+ },
15014
+ {
15015
+ key: "central",
15016
+ label: "",
15017
+ codes: ["MP", "CT"],
15018
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
15019
+ iconColor: "text-emerald-600 dark:text-emerald-400"
15020
+ },
15021
+ {
15022
+ key: "northeast",
15023
+ label: "",
15024
+ codes: ["AS", "AR", "MN", "ME", "MI", "NA", "TR", "SI"],
15025
+ gradient: "from-green-500/15 to-emerald-500/10 dark:from-green-500/20 dark:to-emerald-500/15",
15026
+ iconColor: "text-green-600 dark:text-green-400"
15027
+ }
15028
+ ];
15029
+ var getIndiaFlagUrl = (code) => getSubdivisionFlagUrl("IN", code);
15030
+ var getIndiaHexColor = (code) => getSubdivisionHexColor("IN", code);
15031
+ var getIndiaPalette = (code) => getSubdivisionPalette("IN", code);
15032
+ var getIndiaGradient = (code, direction) => getSubdivisionGradient("IN", code, direction);
15033
+ var getIndiaColors = (code) => getSubdivisionColors("IN", code);
15034
+ var getIndiaAccent = (code) => getSubdivisionAccent("IN", code);
15035
+ var isValidIndiaState = (code) => isValidSubdivision("IN", code);
15036
+
15037
+ // src/lib/themes/south-africa.ts
15038
+ var SOUTH_AFRICA_PROVINCE_PALETTES = {
15039
+ EC: { primary: "#009640", secondary: "#ffd700", text: "light" },
15040
+ NP: { primary: "#009640", secondary: "#c8102e", text: "light" },
15041
+ NL: { primary: "#003da5", secondary: "#009640", text: "light" },
15042
+ WC: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15043
+ NC: { primary: "#d35400", secondary: "#009640", text: "light" },
15044
+ NW: { primary: "#009640", secondary: "#ffd700", text: "light" },
15045
+ FS: { primary: "#ff6600", secondary: "#003da5", text: "light" },
15046
+ GT: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15047
+ MP: { primary: "#009640", secondary: "#003da5", text: "light" }
15048
+ };
15049
+ var SOUTH_AFRICA_ACCENT_MAP = {
15050
+ EC: "green",
15051
+ NP: "emerald",
15052
+ NL: "blue",
15053
+ WC: "indigo",
15054
+ NC: "orange",
15055
+ NW: "teal",
15056
+ FS: "orange",
15057
+ GT: "blue",
15058
+ MP: "green"
15059
+ };
15060
+ var VALID_CODES16 = Object.keys(SOUTH_AFRICA_PROVINCE_PALETTES);
15061
+ var ZA_THEME_CONFIG = {
15062
+ palettes: SOUTH_AFRICA_PROVINCE_PALETTES,
15063
+ accents: SOUTH_AFRICA_ACCENT_MAP,
15064
+ flagUrlTemplate: (code) => VALID_CODES16.includes(code) ? `/flags/za/${code}.svg` : null
15065
+ };
15066
+ var SOUTH_AFRICA_PROVINCE_COORDINATES = {
15067
+ EC: [26.5, -32],
15068
+ NP: [29.5, -23.5],
15069
+ NL: [30.5, -29],
15070
+ WC: [19.5, -33.5],
15071
+ NC: [21, -29],
15072
+ NW: [26, -26],
15073
+ FS: [27, -29],
15074
+ GT: [28.1, -26.2],
15075
+ MP: [30, -25.5]
15076
+ };
15077
+ var SOUTH_AFRICA_MAP_CENTER = [25, -29];
15078
+ var SOUTH_AFRICA_MACRO_REGIONS = [
15079
+ {
15080
+ key: "coastal",
15081
+ label: "",
15082
+ codes: ["EC", "NL", "WC"],
15083
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
15084
+ iconColor: "text-blue-600 dark:text-blue-400"
15085
+ },
15086
+ {
15087
+ key: "interior",
15088
+ label: "",
15089
+ codes: ["GT", "MP", "NW", "FS", "NP", "NC"],
15090
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
15091
+ iconColor: "text-emerald-600 dark:text-emerald-400"
15092
+ }
15093
+ ];
15094
+ var getSouthAfricaFlagUrl = (code) => getSubdivisionFlagUrl("ZA", code);
15095
+ var getSouthAfricaHexColor = (code) => getSubdivisionHexColor("ZA", code);
15096
+ var getSouthAfricaPalette = (code) => getSubdivisionPalette("ZA", code);
15097
+ var getSouthAfricaGradient = (code, direction) => getSubdivisionGradient("ZA", code, direction);
15098
+ var getSouthAfricaColors = (code) => getSubdivisionColors("ZA", code);
15099
+ var getSouthAfricaAccent = (code) => getSubdivisionAccent("ZA", code);
15100
+ var isValidSouthAfricaProvince = (code) => isValidSubdivision("ZA", code);
15101
+
15102
+ // src/lib/country-config.ts
15103
+ var COUNTRY_REGISTRY = /* @__PURE__ */ new Map();
15104
+ function getCountryConfig(code) {
15105
+ return COUNTRY_REGISTRY.get(code.toUpperCase()) ?? null;
15106
+ }
15107
+ function registerCountry(config) {
15108
+ COUNTRY_REGISTRY.set(config.code.toUpperCase(), config);
15109
+ }
15110
+ function getAllCountries() {
15111
+ return [...COUNTRY_REGISTRY.values()].sort((a2, b2) => a2.code.localeCompare(b2.code));
15112
+ }
15113
+ function formatCurrency2(amount, countryCode) {
15114
+ const config = getCountryConfig(countryCode);
15115
+ if (!config) return String(amount);
15116
+ const { currency } = config;
15117
+ const fixed = Math.abs(amount).toFixed(currency.precision);
15118
+ const [integerPart, decimalPart] = fixed.split(".");
15119
+ const withThousands = integerPart.replace(
15120
+ /\B(?=(\d{3})+(?!\d))/g,
15121
+ currency.thousands
15122
+ );
15123
+ const formatted = decimalPart ? `${withThousands}${currency.decimal}${decimalPart}` : withThousands;
15124
+ const sign = amount < 0 ? "-" : "";
15125
+ return currency.symbolPosition === "before" ? `${sign}${currency.symbol}${formatted}` : `${sign}${formatted}${currency.symbol}`;
15126
+ }
15127
+ function formatAddress(address, countryCode) {
15128
+ const config = getCountryConfig(countryCode);
15129
+ if (!config) {
15130
+ return Object.values(address).filter(Boolean).join(", ");
15131
+ }
15132
+ let result = config.address.template;
15133
+ for (const field of config.address.fields) {
15134
+ result = result.replace(`{${field}}`, address[field] ?? "");
15135
+ }
15136
+ return result.replace(/[ ]{2,}/g, " ").replace(/,\s*,/g, ",").replace(/,\s*\n/g, "\n").replace(/\n\s*,/g, "\n").trim();
15137
+ }
15138
+ registerCountry({
15139
+ code: "BR",
15140
+ name: "Brazil",
15141
+ nativeName: "Brasil",
15142
+ flag: "\u{1F1E7}\u{1F1F7}",
15143
+ theme: BR_THEME_CONFIG,
15144
+ coordinates: BRAZIL_STATE_COORDINATES,
15145
+ mapCenter: BRAZIL_MAP_CENTER,
15146
+ macroRegions: BRAZIL_MACRO_REGIONS,
15147
+ geoJsonPath: "/maps/brazil.geo.json",
15148
+ projection: "mercator",
15149
+ regionPropertyKey: "code",
15150
+ languages: [
15151
+ { code: "pt-BR", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
15152
+ ],
15153
+ currency: {
15154
+ code: "BRL",
15155
+ numeric: "986",
15156
+ symbol: "R$",
15157
+ decimal: ",",
15158
+ thousands: ".",
15159
+ symbolPosition: "before",
15160
+ precision: 2
15161
+ },
15162
+ locale: {
15163
+ defaultLocale: "pt-BR",
15164
+ dateFormat: "dd/MM/yyyy",
15165
+ timeFormat: "24h",
15166
+ firstDayOfWeek: 0,
15167
+ measurementSystem: "metric"
15168
+ },
15169
+ address: {
15170
+ fields: ["street", "number", "complement", "neighborhood", "city", "state", "postalCode"],
15171
+ template: "{street}, {number} {complement}\n{neighborhood}\n{city}, {state} {postalCode}",
15172
+ postalCodeLabel: "CEP",
15173
+ postalCodePattern: "^\\d{5}-?\\d{3}$",
15174
+ stateLabel: "Estado"
15175
+ },
15176
+ tax: {
15177
+ name: "ICMS",
15178
+ standardRate: 18,
15179
+ subdivisionRates: {
15180
+ AC: 19,
15181
+ AL: 19,
15182
+ AM: 20,
15183
+ AP: 18,
15184
+ BA: 20.5,
15185
+ CE: 20,
15186
+ DF: 20,
15187
+ ES: 17,
15188
+ GO: 19,
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
+ }
15208
+ }
15209
+ });
15210
+ registerCountry({
15211
+ code: "US",
15212
+ name: "United States",
15213
+ nativeName: "United States",
15214
+ flag: "\u{1F1FA}\u{1F1F8}",
15215
+ theme: US_THEME_CONFIG,
15216
+ coordinates: US_STATE_COORDINATES,
15217
+ mapCenter: US_MAP_CENTER,
15218
+ macroRegions: US_MACRO_REGIONS,
15219
+ geoJsonPath: "/maps/us.geo.json",
15220
+ projection: "albersUsa",
15221
+ regionPropertyKey: "code",
15222
+ languages: [
15223
+ { code: "en-US", name: "English", nativeName: "English", primary: true },
15224
+ { code: "es-US", name: "Spanish", nativeName: "Espa\xF1ol" }
15225
+ ],
15226
+ currency: {
15227
+ code: "USD",
15228
+ numeric: "840",
15229
+ symbol: "$",
15230
+ decimal: ".",
15231
+ thousands: ",",
15232
+ symbolPosition: "before",
15233
+ precision: 2
15234
+ },
15235
+ locale: {
15236
+ defaultLocale: "en-US",
15237
+ dateFormat: "MM/dd/yyyy",
15238
+ timeFormat: "12h",
15239
+ firstDayOfWeek: 0,
15240
+ measurementSystem: "imperial"
15241
+ },
15242
+ address: {
15243
+ fields: ["street", "suite", "city", "state", "postalCode"],
15244
+ template: "{street} {suite}\n{city}, {state} {postalCode}",
15245
+ postalCodeLabel: "ZIP Code",
15246
+ postalCodePattern: "^\\d{5}(-\\d{4})?$",
15247
+ stateLabel: "State"
15248
+ },
15249
+ tax: {
15250
+ name: "Sales Tax",
15251
+ standardRate: 0,
15252
+ subdivisionRates: {
15253
+ AL: 4,
15254
+ AK: 0,
15255
+ AZ: 5.6,
15256
+ AR: 6.5,
15257
+ CA: 7.25,
15258
+ CO: 2.9,
15259
+ CT: 6.35,
15260
+ DE: 0,
15261
+ FL: 6,
15262
+ GA: 4,
15263
+ HI: 4,
15264
+ ID: 6,
15265
+ IL: 6.25,
15266
+ IN: 7,
15267
+ IA: 6,
15268
+ KS: 6.5,
15269
+ KY: 6,
15270
+ LA: 4.45,
15271
+ ME: 5.5,
15272
+ MD: 6,
15273
+ MA: 6.25,
15274
+ MI: 6,
15275
+ MN: 6.875,
15276
+ MS: 7,
15277
+ MO: 4.225,
15278
+ MT: 0,
15279
+ NE: 5.5,
15280
+ NV: 6.85,
15281
+ NH: 0,
15282
+ NJ: 6.625,
15283
+ NM: 5.125,
15284
+ NY: 4,
15285
+ NC: 4.75,
15286
+ ND: 5,
15287
+ OH: 5.75,
15288
+ OK: 4.5,
15289
+ OR: 0,
15290
+ PA: 6,
15291
+ RI: 7,
15292
+ SC: 6,
15293
+ SD: 4.5,
15294
+ TN: 7,
15295
+ TX: 6.25,
15296
+ UT: 6.1,
15297
+ VT: 6,
15298
+ VA: 5.3,
15299
+ WA: 6.5,
15300
+ WV: 6,
15301
+ WI: 5,
15302
+ WY: 4,
15303
+ DC: 6
15304
+ }
15305
+ }
15306
+ });
15307
+ 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",
15317
+ projection: "mercator",
15318
+ regionPropertyKey: "code",
15319
+ languages: [
15320
+ { code: "en-CA", name: "English", nativeName: "English", primary: true },
15321
+ { code: "fr-CA", name: "French", nativeName: "Fran\xE7ais" }
15322
+ ],
15323
+ currency: {
15324
+ code: "CAD",
15325
+ numeric: "124",
15326
+ symbol: "CA$",
15327
+ decimal: ".",
15328
+ thousands: ",",
15329
+ symbolPosition: "before",
15330
+ precision: 2
15331
+ },
15332
+ locale: {
15333
+ defaultLocale: "en-CA",
15334
+ dateFormat: "yyyy-MM-dd",
15335
+ timeFormat: "12h",
15336
+ firstDayOfWeek: 0,
15337
+ measurementSystem: "metric"
15338
+ },
15339
+ address: {
15340
+ fields: ["street", "suite", "city", "province", "postalCode"],
15341
+ template: "{street} {suite}\n{city}, {province} {postalCode}",
15342
+ postalCodeLabel: "Postal Code",
15343
+ postalCodePattern: "^[A-Za-z]\\d[A-Za-z]\\s?\\d[A-Za-z]\\d$",
15344
+ stateLabel: "Province"
15345
+ },
15346
+ tax: {
15347
+ name: "GST/HST",
15348
+ standardRate: 5,
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
+ }
15364
+ }
15365
+ });
15366
+ registerCountry({
15367
+ code: "MX",
15368
+ name: "Mexico",
15369
+ nativeName: "M\xE9xico",
15370
+ flag: "\u{1F1F2}\u{1F1FD}",
15371
+ theme: MX_THEME_CONFIG,
15372
+ coordinates: MEXICO_STATE_COORDINATES,
15373
+ mapCenter: MEXICO_MAP_CENTER,
15374
+ macroRegions: MEXICO_MACRO_REGIONS,
15375
+ geoJsonPath: "/maps/mexico.geo.json",
15376
+ projection: "mercator",
15377
+ regionPropertyKey: "code",
15378
+ languages: [
15379
+ { code: "es-MX", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
15380
+ ],
15381
+ currency: {
15382
+ code: "MXN",
15383
+ numeric: "484",
15384
+ symbol: "MX$",
15385
+ decimal: ".",
15386
+ thousands: ",",
15387
+ symbolPosition: "before",
15388
+ precision: 2
15389
+ },
15390
+ locale: {
15391
+ defaultLocale: "es-MX",
15392
+ dateFormat: "dd/MM/yyyy",
15393
+ timeFormat: "12h",
15394
+ firstDayOfWeek: 0,
15395
+ measurementSystem: "metric"
15396
+ },
15397
+ address: {
15398
+ fields: ["street", "exteriorNumber", "interiorNumber", "neighborhood", "city", "state", "postalCode"],
15399
+ template: "{street} {exteriorNumber} {interiorNumber}\n{neighborhood}\n{postalCode} {city}, {state}",
15400
+ postalCodeLabel: "C\xF3digo Postal",
15401
+ postalCodePattern: "^\\d{5}$",
15402
+ stateLabel: "Estado"
15403
+ },
15404
+ tax: {
15405
+ name: "IVA",
15406
+ standardRate: 16
15407
+ }
15408
+ });
15409
+ registerCountry({
15410
+ code: "CO",
15411
+ name: "Colombia",
15412
+ nativeName: "Colombia",
15413
+ flag: "\u{1F1E8}\u{1F1F4}",
15414
+ theme: CO_THEME_CONFIG,
15415
+ coordinates: COLOMBIA_DEPARTMENT_COORDINATES,
15416
+ mapCenter: COLOMBIA_MAP_CENTER,
15417
+ macroRegions: COLOMBIA_MACRO_REGIONS,
15418
+ geoJsonPath: "/maps/colombia.geo.json",
15419
+ projection: "mercator",
15420
+ regionPropertyKey: "code",
15421
+ languages: [
15422
+ { code: "es-CO", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
15423
+ ],
15424
+ currency: {
15425
+ code: "COP",
15426
+ numeric: "170",
15427
+ symbol: "COL$",
15428
+ decimal: ",",
15429
+ thousands: ".",
15430
+ symbolPosition: "before",
15431
+ precision: 0
15432
+ },
15433
+ locale: {
15434
+ defaultLocale: "es-CO",
15435
+ dateFormat: "dd/MM/yyyy",
15436
+ timeFormat: "12h",
15437
+ firstDayOfWeek: 0,
15438
+ measurementSystem: "metric"
15439
+ },
15440
+ address: {
15441
+ fields: ["street", "number", "city", "department", "postalCode"],
15442
+ template: "{street} {number}\n{city}, {department} {postalCode}",
15443
+ postalCodeLabel: "C\xF3digo Postal",
15444
+ postalCodePattern: "^\\d{6}$",
15445
+ stateLabel: "Departamento"
15446
+ },
15447
+ tax: {
15448
+ name: "IVA",
15449
+ standardRate: 19
15450
+ }
15451
+ });
15452
+ registerCountry({
15453
+ code: "AR",
15454
+ name: "Argentina",
15455
+ nativeName: "Argentina",
15456
+ flag: "\u{1F1E6}\u{1F1F7}",
15457
+ theme: AR_THEME_CONFIG,
15458
+ coordinates: ARGENTINA_PROVINCE_COORDINATES,
15459
+ mapCenter: ARGENTINA_MAP_CENTER,
15460
+ macroRegions: ARGENTINA_MACRO_REGIONS,
15461
+ geoJsonPath: "/maps/argentina.geo.json",
15462
+ projection: "mercator",
15463
+ regionPropertyKey: "code",
15464
+ languages: [
15465
+ { code: "es-AR", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
15466
+ ],
15467
+ currency: {
15468
+ code: "ARS",
15469
+ numeric: "032",
15470
+ symbol: "AR$",
15471
+ decimal: ",",
15472
+ thousands: ".",
15473
+ symbolPosition: "before",
15474
+ precision: 2
15475
+ },
15476
+ locale: {
15477
+ defaultLocale: "es-AR",
15478
+ dateFormat: "dd/MM/yyyy",
15479
+ timeFormat: "24h",
15480
+ firstDayOfWeek: 1,
15481
+ measurementSystem: "metric"
15482
+ },
15483
+ address: {
15484
+ fields: ["street", "number", "floor", "apartment", "postalCode", "city", "province"],
15485
+ template: "{street} {number}, {floor} {apartment}\n{postalCode} {city}, {province}",
15486
+ postalCodeLabel: "C\xF3digo Postal",
15487
+ postalCodePattern: "^[A-Za-z]\\d{4}[A-Za-z]{3}$",
15488
+ stateLabel: "Provincia"
15489
+ },
15490
+ tax: {
15491
+ name: "IVA",
15492
+ standardRate: 21
15493
+ }
15494
+ });
15495
+ registerCountry({
15496
+ code: "CL",
15497
+ name: "Chile",
15498
+ nativeName: "Chile",
15499
+ flag: "\u{1F1E8}\u{1F1F1}",
15500
+ theme: CL_THEME_CONFIG,
15501
+ coordinates: CHILE_REGION_COORDINATES,
15502
+ mapCenter: CHILE_MAP_CENTER,
15503
+ macroRegions: CHILE_MACRO_REGIONS,
15504
+ geoJsonPath: "/maps/chile.geo.json",
15505
+ projection: "mercator",
15506
+ regionPropertyKey: "code",
15507
+ languages: [
15508
+ { code: "es-CL", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
15509
+ ],
15510
+ currency: {
15511
+ code: "CLP",
15512
+ numeric: "152",
15513
+ symbol: "CL$",
15514
+ decimal: ",",
15515
+ thousands: ".",
15516
+ symbolPosition: "before",
15517
+ precision: 0
15518
+ },
15519
+ locale: {
15520
+ defaultLocale: "es-CL",
15521
+ dateFormat: "dd-MM-yyyy",
15522
+ timeFormat: "24h",
15523
+ firstDayOfWeek: 1,
15524
+ measurementSystem: "metric"
15525
+ },
15526
+ address: {
15527
+ fields: ["street", "number", "commune", "city", "region", "postalCode"],
15528
+ template: "{street} {number}\n{commune}\n{city}, {region} {postalCode}",
15529
+ postalCodeLabel: "C\xF3digo Postal",
15530
+ postalCodePattern: "^\\d{7}$",
15531
+ stateLabel: "Regi\xF3n"
15532
+ },
15533
+ tax: {
15534
+ name: "IVA",
15535
+ standardRate: 19
15536
+ }
15537
+ });
15538
+ registerCountry({
15539
+ code: "PE",
15540
+ name: "Peru",
15541
+ nativeName: "Per\xFA",
15542
+ flag: "\u{1F1F5}\u{1F1EA}",
15543
+ theme: PE_THEME_CONFIG,
15544
+ coordinates: PERU_DEPARTMENT_COORDINATES,
15545
+ mapCenter: PERU_MAP_CENTER,
15546
+ macroRegions: PERU_MACRO_REGIONS,
15547
+ geoJsonPath: "/maps/peru.geo.json",
15548
+ projection: "mercator",
15549
+ regionPropertyKey: "code",
15550
+ languages: [
15551
+ { code: "es-PE", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
15552
+ { code: "qu", name: "Quechua", nativeName: "Runasimi" }
15553
+ ],
15554
+ currency: {
15555
+ code: "PEN",
15556
+ numeric: "604",
15557
+ symbol: "S/",
15558
+ decimal: ".",
15559
+ thousands: ",",
15560
+ symbolPosition: "before",
15561
+ precision: 2
15562
+ },
15563
+ locale: {
15564
+ defaultLocale: "es-PE",
15565
+ 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
+ timeFormat: "24h",
15610
+ firstDayOfWeek: 1,
15611
+ measurementSystem: "metric"
15612
+ },
15613
+ address: {
15614
+ fields: ["street", "number", "postalCode", "city"],
15615
+ template: "{street} {number}\n{postalCode} {city}",
15616
+ postalCodeLabel: "PLZ",
15617
+ postalCodePattern: "^\\d{5}$",
15618
+ stateLabel: "Bundesland"
15619
+ },
15620
+ tax: {
15621
+ name: "MwSt",
15622
+ standardRate: 19
15623
+ }
15624
+ });
15625
+ registerCountry({
15626
+ code: "FR",
15627
+ name: "France",
15628
+ nativeName: "France",
15629
+ flag: "\u{1F1EB}\u{1F1F7}",
15630
+ theme: FR_THEME_CONFIG,
15631
+ coordinates: FRANCE_REGION_COORDINATES,
15632
+ mapCenter: FRANCE_MAP_CENTER,
15633
+ macroRegions: FRANCE_MACRO_REGIONS,
15634
+ geoJsonPath: "/maps/france.geo.json",
15635
+ projection: "mercator",
15636
+ regionPropertyKey: "code",
15637
+ languages: [
15638
+ { code: "fr-FR", name: "French", nativeName: "Fran\xE7ais", primary: true }
15639
+ ],
15640
+ currency: {
15641
+ code: "EUR",
15642
+ numeric: "978",
15643
+ symbol: "\u20AC",
15644
+ decimal: ",",
15645
+ thousands: "\u202F",
15646
+ symbolPosition: "after",
15647
+ precision: 2
15648
+ },
15649
+ locale: {
15650
+ defaultLocale: "fr-FR",
15651
+ dateFormat: "dd/MM/yyyy",
15652
+ timeFormat: "24h",
15653
+ firstDayOfWeek: 1,
15654
+ measurementSystem: "metric"
15655
+ },
15656
+ address: {
15657
+ fields: ["street", "number", "postalCode", "city"],
15658
+ template: "{number} {street}\n{postalCode} {city}",
15659
+ postalCodeLabel: "Code Postal",
15660
+ postalCodePattern: "^\\d{5}$",
15661
+ stateLabel: "R\xE9gion"
15662
+ },
15663
+ tax: {
15664
+ name: "TVA",
15665
+ standardRate: 20
15666
+ }
15667
+ });
15668
+ registerCountry({
15669
+ code: "ES",
15670
+ name: "Spain",
15671
+ nativeName: "Espa\xF1a",
15672
+ flag: "\u{1F1EA}\u{1F1F8}",
15673
+ theme: ES_THEME_CONFIG,
15674
+ coordinates: SPAIN_PROVINCE_COORDINATES,
15675
+ mapCenter: SPAIN_MAP_CENTER,
15676
+ macroRegions: SPAIN_MACRO_REGIONS,
15677
+ geoJsonPath: "/maps/spain.geo.json",
15678
+ projection: "mercator",
15679
+ regionPropertyKey: "code",
15680
+ languages: [
15681
+ { code: "es-ES", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
15682
+ { code: "ca", name: "Catalan", nativeName: "Catal\xE0" },
15683
+ { code: "eu", name: "Basque", nativeName: "Euskara" },
15684
+ { code: "gl", name: "Galician", nativeName: "Galego" }
15685
+ ],
15686
+ currency: {
15687
+ code: "EUR",
15688
+ numeric: "978",
15689
+ symbol: "\u20AC",
15690
+ decimal: ",",
15691
+ thousands: ".",
15692
+ symbolPosition: "after",
15693
+ precision: 2
15694
+ },
15695
+ locale: {
15696
+ defaultLocale: "es-ES",
15697
+ dateFormat: "dd/MM/yyyy",
15698
+ timeFormat: "24h",
15699
+ firstDayOfWeek: 1,
15700
+ measurementSystem: "metric"
15701
+ },
15702
+ address: {
15703
+ fields: ["street", "number", "floor", "door", "postalCode", "city", "province"],
15704
+ template: "{street} {number}, {floor} {door}\n{postalCode} {city} ({province})",
15705
+ postalCodeLabel: "C\xF3digo Postal",
15706
+ postalCodePattern: "^\\d{5}$",
15707
+ stateLabel: "Provincia"
15708
+ },
15709
+ tax: {
15710
+ name: "IVA",
15711
+ standardRate: 21
15712
+ }
15713
+ });
15714
+ registerCountry({
15715
+ code: "IT",
15716
+ name: "Italy",
15717
+ nativeName: "Italia",
15718
+ flag: "\u{1F1EE}\u{1F1F9}",
15719
+ theme: IT_THEME_CONFIG,
15720
+ coordinates: ITALY_REGION_COORDINATES,
15721
+ mapCenter: ITALY_MAP_CENTER,
15722
+ macroRegions: ITALY_MACRO_REGIONS,
15723
+ geoJsonPath: "/maps/italy.geo.json",
15724
+ projection: "mercator",
15725
+ regionPropertyKey: "code",
15726
+ languages: [
15727
+ { code: "it-IT", name: "Italian", nativeName: "Italiano", primary: true }
15728
+ ],
15729
+ currency: {
15730
+ code: "EUR",
15731
+ numeric: "978",
15732
+ symbol: "\u20AC",
15733
+ decimal: ",",
15734
+ thousands: ".",
15735
+ symbolPosition: "after",
15736
+ precision: 2
15737
+ },
15738
+ locale: {
15739
+ defaultLocale: "it-IT",
15740
+ dateFormat: "dd/MM/yyyy",
15741
+ timeFormat: "24h",
15742
+ firstDayOfWeek: 1,
15743
+ measurementSystem: "metric"
15744
+ },
15745
+ address: {
15746
+ fields: ["street", "number", "postalCode", "city", "province"],
15747
+ template: "{street} {number}\n{postalCode} {city} ({province})",
15748
+ postalCodeLabel: "CAP",
15749
+ postalCodePattern: "^\\d{5}$",
15750
+ stateLabel: "Provincia"
15751
+ },
15752
+ tax: {
15753
+ name: "IVA",
15754
+ standardRate: 22
15755
+ }
15756
+ });
15757
+ registerCountry({
15758
+ code: "GB",
15759
+ name: "United Kingdom",
15760
+ nativeName: "United Kingdom",
15761
+ flag: "\u{1F1EC}\u{1F1E7}",
15762
+ theme: GB_THEME_CONFIG,
15763
+ coordinates: UK_NATION_COORDINATES,
15764
+ mapCenter: UK_MAP_CENTER,
15765
+ macroRegions: UK_MACRO_REGIONS,
15766
+ geoJsonPath: "/maps/united-kingdom.geo.json",
15767
+ projection: "mercator",
15768
+ regionPropertyKey: "code",
15769
+ languages: [
15770
+ { code: "en-GB", name: "English", nativeName: "English", primary: true },
15771
+ { code: "cy", name: "Welsh", nativeName: "Cymraeg" },
15772
+ { code: "gd", name: "Scottish Gaelic", nativeName: "G\xE0idhlig" }
15773
+ ],
15774
+ currency: {
15775
+ code: "GBP",
15776
+ numeric: "826",
15777
+ symbol: "\xA3",
15778
+ decimal: ".",
15779
+ thousands: ",",
15780
+ symbolPosition: "before",
15781
+ precision: 2
15782
+ },
15783
+ locale: {
15784
+ defaultLocale: "en-GB",
15785
+ dateFormat: "dd/MM/yyyy",
15786
+ timeFormat: "24h",
15787
+ firstDayOfWeek: 1,
15788
+ measurementSystem: "metric"
15789
+ },
15790
+ address: {
15791
+ fields: ["street", "number", "city", "county", "postalCode"],
15792
+ template: "{number} {street}\n{city}\n{county}\n{postalCode}",
15793
+ postalCodeLabel: "Postcode",
15794
+ postalCodePattern: "^[A-Z]{1,2}\\d[A-Z\\d]?\\s?\\d[A-Z]{2}$",
15795
+ stateLabel: "County"
15796
+ },
15797
+ tax: {
15798
+ name: "VAT",
15799
+ standardRate: 20
15800
+ }
15801
+ });
15802
+ registerCountry({
15803
+ code: "PT",
15804
+ name: "Portugal",
15805
+ nativeName: "Portugal",
15806
+ flag: "\u{1F1F5}\u{1F1F9}",
15807
+ theme: PT_THEME_CONFIG,
15808
+ coordinates: PORTUGAL_DISTRICT_COORDINATES,
15809
+ mapCenter: PORTUGAL_MAP_CENTER,
15810
+ macroRegions: PORTUGAL_MACRO_REGIONS,
15811
+ geoJsonPath: "/maps/portugal.geo.json",
15812
+ projection: "mercator",
15813
+ regionPropertyKey: "code",
15814
+ languages: [
15815
+ { code: "pt-PT", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
15816
+ ],
15817
+ currency: {
15818
+ code: "EUR",
15819
+ numeric: "978",
15820
+ symbol: "\u20AC",
15821
+ decimal: ",",
15822
+ thousands: ".",
15823
+ symbolPosition: "after",
15824
+ precision: 2
15825
+ },
15826
+ locale: {
15827
+ defaultLocale: "pt-PT",
15828
+ dateFormat: "dd/MM/yyyy",
15829
+ timeFormat: "24h",
15830
+ firstDayOfWeek: 1,
15831
+ measurementSystem: "metric"
15832
+ },
15833
+ address: {
15834
+ fields: ["street", "number", "floor", "postalCode", "city", "district"],
15835
+ template: "{street} {number}, {floor}\n{postalCode} {city}",
15836
+ postalCodeLabel: "C\xF3digo Postal",
15837
+ postalCodePattern: "^\\d{4}-\\d{3}$",
15838
+ stateLabel: "Distrito"
15839
+ },
15840
+ tax: {
15841
+ name: "IVA",
15842
+ standardRate: 23
15843
+ }
15844
+ });
15845
+ registerCountry({
15846
+ code: "AU",
15847
+ name: "Australia",
15848
+ nativeName: "Australia",
15849
+ flag: "\u{1F1E6}\u{1F1FA}",
15850
+ theme: AU_THEME_CONFIG,
15851
+ coordinates: AUSTRALIA_STATE_COORDINATES,
15852
+ mapCenter: AUSTRALIA_MAP_CENTER,
15853
+ macroRegions: AUSTRALIA_MACRO_REGIONS,
15854
+ geoJsonPath: "/maps/australia.geo.json",
15855
+ projection: "mercator",
15856
+ regionPropertyKey: "code",
15857
+ languages: [
15858
+ { code: "en-AU", name: "English", nativeName: "English", primary: true }
15859
+ ],
15860
+ currency: {
15861
+ code: "AUD",
15862
+ numeric: "036",
15863
+ symbol: "A$",
15864
+ decimal: ".",
15865
+ thousands: ",",
15866
+ symbolPosition: "before",
15867
+ precision: 2
15868
+ },
15869
+ locale: {
15870
+ defaultLocale: "en-AU",
15871
+ dateFormat: "dd/MM/yyyy",
15872
+ timeFormat: "12h",
15873
+ firstDayOfWeek: 0,
15874
+ measurementSystem: "metric"
15875
+ },
15876
+ address: {
15877
+ fields: ["street", "number", "suburb", "state", "postalCode"],
15878
+ template: "{number} {street}\n{suburb} {state} {postalCode}",
15879
+ postalCodeLabel: "Postcode",
15880
+ postalCodePattern: "^\\d{4}$",
15881
+ stateLabel: "State"
15882
+ },
15883
+ tax: {
15884
+ name: "GST",
15885
+ standardRate: 10
15886
+ }
15887
+ });
15888
+ registerCountry({
15889
+ code: "JP",
15890
+ name: "Japan",
15891
+ nativeName: "\u65E5\u672C",
15892
+ flag: "\u{1F1EF}\u{1F1F5}",
15893
+ theme: JP_THEME_CONFIG,
15894
+ coordinates: JAPAN_PREFECTURE_COORDINATES,
15895
+ mapCenter: JAPAN_MAP_CENTER,
15896
+ macroRegions: JAPAN_MACRO_REGIONS,
15897
+ geoJsonPath: "/maps/japan.geo.json",
15898
+ projection: "mercator",
15899
+ regionPropertyKey: "code",
15900
+ languages: [
15901
+ { code: "ja", name: "Japanese", nativeName: "\u65E5\u672C\u8A9E", primary: true }
15902
+ ],
15903
+ currency: {
15904
+ code: "JPY",
15905
+ numeric: "392",
15906
+ symbol: "\xA5",
15907
+ decimal: ".",
15908
+ thousands: ",",
15909
+ symbolPosition: "before",
15910
+ precision: 0
15911
+ },
15912
+ locale: {
15913
+ defaultLocale: "ja-JP",
15914
+ dateFormat: "yyyy/MM/dd",
15915
+ timeFormat: "24h",
15916
+ firstDayOfWeek: 0,
15917
+ measurementSystem: "metric"
15918
+ },
15919
+ address: {
15920
+ fields: ["postalCode", "prefecture", "city", "district", "block", "building"],
15921
+ template: "\u3012{postalCode}\n{prefecture}{city}{district}{block}\n{building}",
15922
+ postalCodeLabel: "\u90F5\u4FBF\u756A\u53F7",
15923
+ postalCodePattern: "^\\d{3}-?\\d{4}$",
15924
+ stateLabel: "Prefecture"
15925
+ },
15926
+ tax: {
15927
+ name: "Consumption Tax",
15928
+ standardRate: 10
15929
+ }
15930
+ });
15931
+ registerCountry({
15932
+ code: "IN",
15933
+ name: "India",
15934
+ nativeName: "\u092D\u093E\u0930\u0924",
15935
+ flag: "\u{1F1EE}\u{1F1F3}",
15936
+ theme: IN_THEME_CONFIG,
15937
+ coordinates: INDIA_STATE_COORDINATES,
15938
+ mapCenter: INDIA_MAP_CENTER,
15939
+ macroRegions: INDIA_MACRO_REGIONS,
15940
+ geoJsonPath: "/maps/india.geo.json",
15941
+ projection: "mercator",
15942
+ regionPropertyKey: "code",
15943
+ languages: [
15944
+ { code: "hi", name: "Hindi", nativeName: "\u0939\u093F\u0928\u094D\u0926\u0940", primary: true },
15945
+ { code: "en-IN", name: "English", nativeName: "English" },
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" }
15950
+ ],
15951
+ currency: {
15952
+ code: "INR",
15953
+ numeric: "356",
15954
+ symbol: "\u20B9",
15955
+ decimal: ".",
15956
+ thousands: ",",
15957
+ symbolPosition: "before",
15958
+ precision: 2
15959
+ },
15960
+ locale: {
15961
+ defaultLocale: "en-IN",
15962
+ dateFormat: "dd/MM/yyyy",
15963
+ timeFormat: "12h",
15964
+ firstDayOfWeek: 0,
15965
+ measurementSystem: "metric"
15966
+ },
15967
+ address: {
15968
+ fields: ["street", "landmark", "city", "state", "postalCode"],
15969
+ template: "{street}\n{landmark}\n{city}, {state} {postalCode}",
15970
+ postalCodeLabel: "PIN Code",
15971
+ postalCodePattern: "^\\d{6}$",
15972
+ stateLabel: "State"
15973
+ },
15974
+ tax: {
15975
+ name: "GST",
15976
+ standardRate: 18,
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
+ }
16015
+ }
16016
+ });
16017
+ registerCountry({
16018
+ code: "ZA",
16019
+ name: "South Africa",
16020
+ nativeName: "South Africa",
16021
+ flag: "\u{1F1FF}\u{1F1E6}",
16022
+ theme: ZA_THEME_CONFIG,
16023
+ coordinates: SOUTH_AFRICA_PROVINCE_COORDINATES,
16024
+ mapCenter: SOUTH_AFRICA_MAP_CENTER,
16025
+ macroRegions: SOUTH_AFRICA_MACRO_REGIONS,
16026
+ geoJsonPath: "/maps/south-africa.geo.json",
16027
+ projection: "mercator",
16028
+ regionPropertyKey: "code",
16029
+ languages: [
16030
+ { code: "en-ZA", name: "English", nativeName: "English", primary: true },
16031
+ { code: "af", name: "Afrikaans", nativeName: "Afrikaans" },
16032
+ { code: "zu", name: "Zulu", nativeName: "isiZulu" },
16033
+ { code: "xh", name: "Xhosa", nativeName: "isiXhosa" }
16034
+ ],
16035
+ currency: {
16036
+ code: "ZAR",
16037
+ numeric: "710",
16038
+ symbol: "R",
16039
+ decimal: ".",
16040
+ thousands: ",",
16041
+ symbolPosition: "before",
16042
+ precision: 2
16043
+ },
16044
+ locale: {
16045
+ defaultLocale: "en-ZA",
16046
+ dateFormat: "yyyy/MM/dd",
16047
+ timeFormat: "24h",
16048
+ firstDayOfWeek: 0,
16049
+ measurementSystem: "metric"
16050
+ },
16051
+ address: {
16052
+ fields: ["street", "number", "suburb", "city", "province", "postalCode"],
16053
+ template: "{number} {street}\n{suburb}\n{city}\n{province}\n{postalCode}",
16054
+ postalCodeLabel: "Postal Code",
16055
+ postalCodePattern: "^\\d{4}$",
16056
+ stateLabel: "Province"
16057
+ },
16058
+ tax: {
16059
+ name: "VAT",
16060
+ standardRate: 15
16061
+ }
16062
+ });
12964
16063
  function DataPagination({
12965
16064
  pagination,
12966
16065
  onUpdate,
@@ -17396,6 +20495,18 @@ Object.defineProperty(exports, "LOCALE_FLAGS", {
17396
20495
  enumerable: true,
17397
20496
  get: function () { return i18n.LOCALE_FLAGS; }
17398
20497
  });
20498
+ exports.ARGENTINA_ACCENT_MAP = ARGENTINA_ACCENT_MAP;
20499
+ exports.ARGENTINA_MACRO_REGIONS = ARGENTINA_MACRO_REGIONS;
20500
+ exports.ARGENTINA_MAP_CENTER = ARGENTINA_MAP_CENTER;
20501
+ exports.ARGENTINA_PROVINCE_COORDINATES = ARGENTINA_PROVINCE_COORDINATES;
20502
+ exports.ARGENTINA_PROVINCE_PALETTES = ARGENTINA_PROVINCE_PALETTES;
20503
+ exports.AR_THEME_CONFIG = AR_THEME_CONFIG;
20504
+ exports.AUSTRALIA_ACCENT_MAP = AUSTRALIA_ACCENT_MAP;
20505
+ exports.AUSTRALIA_MACRO_REGIONS = AUSTRALIA_MACRO_REGIONS;
20506
+ exports.AUSTRALIA_MAP_CENTER = AUSTRALIA_MAP_CENTER;
20507
+ exports.AUSTRALIA_STATE_COORDINATES = AUSTRALIA_STATE_COORDINATES;
20508
+ exports.AUSTRALIA_STATE_PALETTES = AUSTRALIA_STATE_PALETTES;
20509
+ exports.AU_THEME_CONFIG = AU_THEME_CONFIG;
17399
20510
  exports.ActionMenu = ActionMenu;
17400
20511
  exports.ActionSheet = ActionSheet;
17401
20512
  exports.ActiveFilterChips = ActiveFilterChips;
@@ -17426,6 +20537,24 @@ exports.BrandFilterSkeleton = BrandFilterSkeleton;
17426
20537
  exports.BrandedLoader = BrandedLoader;
17427
20538
  exports.Breadcrumb = Breadcrumb;
17428
20539
  exports.Button = Button;
20540
+ exports.CANADA_ACCENT_MAP = CANADA_ACCENT_MAP;
20541
+ exports.CANADA_MACRO_REGIONS = CANADA_MACRO_REGIONS;
20542
+ exports.CANADA_MAP_CENTER = CANADA_MAP_CENTER;
20543
+ exports.CANADA_PROVINCE_COORDINATES = CANADA_PROVINCE_COORDINATES;
20544
+ exports.CANADA_PROVINCE_PALETTES = CANADA_PROVINCE_PALETTES;
20545
+ exports.CA_THEME_CONFIG = CA_THEME_CONFIG;
20546
+ exports.CHILE_ACCENT_MAP = CHILE_ACCENT_MAP;
20547
+ exports.CHILE_MACRO_REGIONS = CHILE_MACRO_REGIONS;
20548
+ exports.CHILE_MAP_CENTER = CHILE_MAP_CENTER;
20549
+ exports.CHILE_REGION_COORDINATES = CHILE_REGION_COORDINATES;
20550
+ exports.CHILE_REGION_PALETTES = CHILE_REGION_PALETTES;
20551
+ exports.CL_THEME_CONFIG = CL_THEME_CONFIG;
20552
+ exports.COLOMBIA_ACCENT_MAP = COLOMBIA_ACCENT_MAP;
20553
+ exports.COLOMBIA_DEPARTMENT_COORDINATES = COLOMBIA_DEPARTMENT_COORDINATES;
20554
+ exports.COLOMBIA_DEPARTMENT_PALETTES = COLOMBIA_DEPARTMENT_PALETTES;
20555
+ exports.COLOMBIA_MACRO_REGIONS = COLOMBIA_MACRO_REGIONS;
20556
+ exports.COLOMBIA_MAP_CENTER = COLOMBIA_MAP_CENTER;
20557
+ exports.CO_THEME_CONFIG = CO_THEME_CONFIG;
17429
20558
  exports.Card = Card;
17430
20559
  exports.CardActionMenu = CardActionMenu;
17431
20560
  exports.CardContent = CardContent;
@@ -17452,6 +20581,7 @@ exports.CookieConsent = CookieConsent;
17452
20581
  exports.CopyableId = CopyableId;
17453
20582
  exports.CountPill = CountPill;
17454
20583
  exports.CreateActionButton = CreateActionButton;
20584
+ exports.DE_THEME_CONFIG = DE_THEME_CONFIG;
17455
20585
  exports.DashboardProgressShell = DashboardProgressShell;
17456
20586
  exports.DataPagination = DataPagination;
17457
20587
  exports.DatePicker = DatePicker;
@@ -17479,6 +20609,7 @@ exports.DropdownSelect = DropdownSelect;
17479
20609
  exports.DynamicIsland = DynamicIsland;
17480
20610
  exports.DynamicIslandConfirm = DynamicIslandConfirm;
17481
20611
  exports.DynamicIslandNotification = DynamicIslandNotification;
20612
+ exports.ES_THEME_CONFIG = ES_THEME_CONFIG;
17482
20613
  exports.EdgeSwipeIndicator = EdgeSwipeIndicator;
17483
20614
  exports.EdgeSwipeProvider = EdgeSwipeProvider;
17484
20615
  exports.EditSwipeAction = EditSwipeAction;
@@ -17489,6 +20620,12 @@ exports.ErrorMessage = ErrorMessage;
17489
20620
  exports.ErrorState = ErrorState;
17490
20621
  exports.ExpandableHistoryList = ExpandableHistoryList;
17491
20622
  exports.ExpandingPageIndicator = ExpandingPageIndicator;
20623
+ exports.FRANCE_ACCENT_MAP = FRANCE_ACCENT_MAP;
20624
+ exports.FRANCE_MACRO_REGIONS = FRANCE_MACRO_REGIONS;
20625
+ exports.FRANCE_MAP_CENTER = FRANCE_MAP_CENTER;
20626
+ exports.FRANCE_REGION_COORDINATES = FRANCE_REGION_COORDINATES;
20627
+ exports.FRANCE_REGION_PALETTES = FRANCE_REGION_PALETTES;
20628
+ exports.FR_THEME_CONFIG = FR_THEME_CONFIG;
17492
20629
  exports.FUEL_PRICE_LOADER = FUEL_PRICE_LOADER;
17493
20630
  exports.FavoriteSwipeAction = FavoriteSwipeAction;
17494
20631
  exports.FeatureCard = FeatureCard;
@@ -17517,6 +20654,12 @@ exports.FormSection = FormSection;
17517
20654
  exports.FormSelect = FormSelect;
17518
20655
  exports.FormTextarea = FormTextarea;
17519
20656
  exports.FormToggle = FormToggle;
20657
+ exports.GB_THEME_CONFIG = GB_THEME_CONFIG;
20658
+ exports.GERMANY_ACCENT_MAP = GERMANY_ACCENT_MAP;
20659
+ exports.GERMANY_MACRO_REGIONS = GERMANY_MACRO_REGIONS;
20660
+ exports.GERMANY_MAP_CENTER = GERMANY_MAP_CENTER;
20661
+ exports.GERMANY_STATE_COORDINATES = GERMANY_STATE_COORDINATES;
20662
+ exports.GERMANY_STATE_PALETTES = GERMANY_STATE_PALETTES;
17520
20663
  exports.GeoMapCanvas = GeoMapCanvas;
17521
20664
  exports.GeoMapLegend = GeoMapLegend;
17522
20665
  exports.GlassDetailModal = GlassDetailModal;
@@ -17529,6 +20672,18 @@ exports.GrowthIndicator = GrowthIndicator;
17529
20672
  exports.Heading = Heading;
17530
20673
  exports.HeroPanel = HeroPanel;
17531
20674
  exports.HeroSection = HeroSection;
20675
+ exports.INDIA_ACCENT_MAP = INDIA_ACCENT_MAP;
20676
+ exports.INDIA_MACRO_REGIONS = INDIA_MACRO_REGIONS;
20677
+ exports.INDIA_MAP_CENTER = INDIA_MAP_CENTER;
20678
+ exports.INDIA_STATE_COORDINATES = INDIA_STATE_COORDINATES;
20679
+ exports.INDIA_STATE_PALETTES = INDIA_STATE_PALETTES;
20680
+ exports.IN_THEME_CONFIG = IN_THEME_CONFIG;
20681
+ exports.ITALY_ACCENT_MAP = ITALY_ACCENT_MAP;
20682
+ exports.ITALY_MACRO_REGIONS = ITALY_MACRO_REGIONS;
20683
+ exports.ITALY_MAP_CENTER = ITALY_MAP_CENTER;
20684
+ exports.ITALY_REGION_COORDINATES = ITALY_REGION_COORDINATES;
20685
+ exports.ITALY_REGION_PALETTES = ITALY_REGION_PALETTES;
20686
+ exports.IT_THEME_CONFIG = IT_THEME_CONFIG;
17532
20687
  exports.IconButton = IconButton;
17533
20688
  exports.ImageUpload = ImageUpload;
17534
20689
  exports.InfoPopover = InfoPopover;
@@ -17537,6 +20692,12 @@ exports.InlineSpinner = InlineSpinner;
17537
20692
  exports.Input = Input;
17538
20693
  exports.InteractiveGeoMap = InteractiveGeoMap;
17539
20694
  exports.ItemSummary = ItemSummary;
20695
+ exports.JAPAN_ACCENT_MAP = JAPAN_ACCENT_MAP;
20696
+ exports.JAPAN_MACRO_REGIONS = JAPAN_MACRO_REGIONS;
20697
+ exports.JAPAN_MAP_CENTER = JAPAN_MAP_CENTER;
20698
+ exports.JAPAN_PREFECTURE_COORDINATES = JAPAN_PREFECTURE_COORDINATES;
20699
+ exports.JAPAN_PREFECTURE_PALETTES = JAPAN_PREFECTURE_PALETTES;
20700
+ exports.JP_THEME_CONFIG = JP_THEME_CONFIG;
17540
20701
  exports.KORI_ERP_LOADER = KORI_ERP_LOADER;
17541
20702
  exports.Label = Label2;
17542
20703
  exports.LabeledToggle = LabeledToggle;
@@ -17549,6 +20710,12 @@ exports.ListCard = ListCard;
17549
20710
  exports.ListCardItem = ListCardItem;
17550
20711
  exports.ListItem = ListItem;
17551
20712
  exports.LoadingOverlay = LoadingOverlay;
20713
+ exports.MEXICO_ACCENT_MAP = MEXICO_ACCENT_MAP;
20714
+ exports.MEXICO_MACRO_REGIONS = MEXICO_MACRO_REGIONS;
20715
+ exports.MEXICO_MAP_CENTER = MEXICO_MAP_CENTER;
20716
+ exports.MEXICO_STATE_COORDINATES = MEXICO_STATE_COORDINATES;
20717
+ exports.MEXICO_STATE_PALETTES = MEXICO_STATE_PALETTES;
20718
+ exports.MX_THEME_CONFIG = MX_THEME_CONFIG;
17552
20719
  exports.ManagementPageLayout = ManagementPageLayout;
17553
20720
  exports.ManagementSurface = ManagementSurface;
17554
20721
  exports.MapZoomControls = MapZoomControls;
@@ -17566,6 +20733,18 @@ exports.OfficeCard = OfficeCard;
17566
20733
  exports.OfflineState = OfflineState;
17567
20734
  exports.OptionGrid = OptionGrid;
17568
20735
  exports.OtpInput = OtpInput;
20736
+ exports.PERU_ACCENT_MAP = PERU_ACCENT_MAP;
20737
+ exports.PERU_DEPARTMENT_COORDINATES = PERU_DEPARTMENT_COORDINATES;
20738
+ exports.PERU_DEPARTMENT_PALETTES = PERU_DEPARTMENT_PALETTES;
20739
+ exports.PERU_MACRO_REGIONS = PERU_MACRO_REGIONS;
20740
+ exports.PERU_MAP_CENTER = PERU_MAP_CENTER;
20741
+ exports.PE_THEME_CONFIG = PE_THEME_CONFIG;
20742
+ exports.PORTUGAL_ACCENT_MAP = PORTUGAL_ACCENT_MAP;
20743
+ exports.PORTUGAL_DISTRICT_COORDINATES = PORTUGAL_DISTRICT_COORDINATES;
20744
+ exports.PORTUGAL_DISTRICT_PALETTES = PORTUGAL_DISTRICT_PALETTES;
20745
+ exports.PORTUGAL_MACRO_REGIONS = PORTUGAL_MACRO_REGIONS;
20746
+ exports.PORTUGAL_MAP_CENTER = PORTUGAL_MAP_CENTER;
20747
+ exports.PT_THEME_CONFIG = PT_THEME_CONFIG;
17569
20748
  exports.PageEmptyState = PageEmptyState;
17570
20749
  exports.PageHeader = PageHeader;
17571
20750
  exports.PageHeading = PageHeading;
@@ -17592,6 +20771,16 @@ exports.RadiantStatCard = RadiantStatCard;
17592
20771
  exports.RadiantSubheading = RadiantSubheading;
17593
20772
  exports.RegionFilterSkeleton = RegionFilterSkeleton;
17594
20773
  exports.RoleBadge = RoleBadge;
20774
+ exports.SOUTH_AFRICA_ACCENT_MAP = SOUTH_AFRICA_ACCENT_MAP;
20775
+ exports.SOUTH_AFRICA_MACRO_REGIONS = SOUTH_AFRICA_MACRO_REGIONS;
20776
+ exports.SOUTH_AFRICA_MAP_CENTER = SOUTH_AFRICA_MAP_CENTER;
20777
+ exports.SOUTH_AFRICA_PROVINCE_COORDINATES = SOUTH_AFRICA_PROVINCE_COORDINATES;
20778
+ exports.SOUTH_AFRICA_PROVINCE_PALETTES = SOUTH_AFRICA_PROVINCE_PALETTES;
20779
+ exports.SPAIN_ACCENT_MAP = SPAIN_ACCENT_MAP;
20780
+ exports.SPAIN_MACRO_REGIONS = SPAIN_MACRO_REGIONS;
20781
+ exports.SPAIN_MAP_CENTER = SPAIN_MAP_CENTER;
20782
+ exports.SPAIN_PROVINCE_COORDINATES = SPAIN_PROVINCE_COORDINATES;
20783
+ exports.SPAIN_PROVINCE_PALETTES = SPAIN_PROVINCE_PALETTES;
17595
20784
  exports.SafeArea = SafeArea;
17596
20785
  exports.SafeAreaSpacer = SafeAreaSpacer;
17597
20786
  exports.SafeAreaView = SafeAreaView;
@@ -17651,6 +20840,11 @@ exports.ThemeToggleCompact = ThemeToggleCompact;
17651
20840
  exports.TimePicker = TimePicker;
17652
20841
  exports.ToggleSwitch = ToggleSwitch;
17653
20842
  exports.TouchTarget = TouchTarget;
20843
+ exports.UK_ACCENT_MAP = UK_ACCENT_MAP;
20844
+ exports.UK_MACRO_REGIONS = UK_MACRO_REGIONS;
20845
+ exports.UK_MAP_CENTER = UK_MAP_CENTER;
20846
+ exports.UK_NATION_COORDINATES = UK_NATION_COORDINATES;
20847
+ exports.UK_NATION_PALETTES = UK_NATION_PALETTES;
17654
20848
  exports.US_ACCENT_MAP = US_ACCENT_MAP;
17655
20849
  exports.US_MACRO_REGIONS = US_MACRO_REGIONS;
17656
20850
  exports.US_MAP_CENTER = US_MAP_CENTER;
@@ -17663,6 +20857,7 @@ exports.WINDSOCK_LOADER = WINDSOCK_LOADER;
17663
20857
  exports.WIRE_LOADER = WIRE_LOADER;
17664
20858
  exports.WheelPicker = WheelPicker;
17665
20859
  exports.WindsockIcon = WindsockIcon;
20860
+ exports.ZA_THEME_CONFIG = ZA_THEME_CONFIG;
17666
20861
  exports.buildDockActions = buildDockActions;
17667
20862
  exports.buildFlyoutNavItems = buildFlyoutNavItems;
17668
20863
  exports.buildLaunchpadItems = buildLaunchpadItems;
@@ -17679,15 +20874,109 @@ exports.easings = easings;
17679
20874
  exports.fadeOnly = fadeOnly;
17680
20875
  exports.fadeScale = fadeScale;
17681
20876
  exports.filterByPermission = filterByPermission;
20877
+ exports.formatAddress = formatAddress;
17682
20878
  exports.formatCurrency = formatCurrency;
20879
+ exports.formatCurrency2 = formatCurrency2;
17683
20880
  exports.formatDate = formatDate;
17684
20881
  exports.formatPercentage = formatPercentage;
20882
+ exports.getAllCountries = getAllCountries;
20883
+ exports.getArgentinaAccent = getArgentinaAccent;
20884
+ exports.getArgentinaColors = getArgentinaColors;
20885
+ exports.getArgentinaFlagUrl = getArgentinaFlagUrl;
20886
+ exports.getArgentinaGradient = getArgentinaGradient;
20887
+ exports.getArgentinaHexColor = getArgentinaHexColor;
20888
+ exports.getArgentinaPalette = getArgentinaPalette;
20889
+ exports.getAustraliaAccent = getAustraliaAccent;
20890
+ exports.getAustraliaColors = getAustraliaColors;
20891
+ exports.getAustraliaFlagUrl = getAustraliaFlagUrl;
20892
+ exports.getAustraliaGradient = getAustraliaGradient;
20893
+ exports.getAustraliaHexColor = getAustraliaHexColor;
20894
+ exports.getAustraliaPalette = getAustraliaPalette;
17685
20895
  exports.getBrazilAccent = getBrazilAccent;
17686
20896
  exports.getBrazilColors = getBrazilColors;
17687
20897
  exports.getBrazilFlagUrl = getBrazilFlagUrl;
17688
20898
  exports.getBrazilGradient = getBrazilGradient;
17689
20899
  exports.getBrazilHexColor = getBrazilHexColor;
17690
20900
  exports.getBrazilPalette = getBrazilPalette;
20901
+ exports.getCanadaAccent = getCanadaAccent;
20902
+ exports.getCanadaColors = getCanadaColors;
20903
+ exports.getCanadaFlagUrl = getCanadaFlagUrl;
20904
+ exports.getCanadaGradient = getCanadaGradient;
20905
+ exports.getCanadaHexColor = getCanadaHexColor;
20906
+ exports.getCanadaPalette = getCanadaPalette;
20907
+ exports.getChileAccent = getChileAccent;
20908
+ exports.getChileColors = getChileColors;
20909
+ exports.getChileFlagUrl = getChileFlagUrl;
20910
+ exports.getChileGradient = getChileGradient;
20911
+ exports.getChileHexColor = getChileHexColor;
20912
+ exports.getChilePalette = getChilePalette;
20913
+ exports.getColombiaAccent = getColombiaAccent;
20914
+ exports.getColombiaColors = getColombiaColors;
20915
+ exports.getColombiaFlagUrl = getColombiaFlagUrl;
20916
+ exports.getColombiaGradient = getColombiaGradient;
20917
+ exports.getColombiaHexColor = getColombiaHexColor;
20918
+ exports.getColombiaPalette = getColombiaPalette;
20919
+ exports.getCountryConfig = getCountryConfig;
20920
+ exports.getFranceAccent = getFranceAccent;
20921
+ exports.getFranceColors = getFranceColors;
20922
+ exports.getFranceFlagUrl = getFranceFlagUrl;
20923
+ exports.getFranceGradient = getFranceGradient;
20924
+ exports.getFranceHexColor = getFranceHexColor;
20925
+ exports.getFrancePalette = getFrancePalette;
20926
+ exports.getGermanyAccent = getGermanyAccent;
20927
+ exports.getGermanyColors = getGermanyColors;
20928
+ exports.getGermanyFlagUrl = getGermanyFlagUrl;
20929
+ exports.getGermanyGradient = getGermanyGradient;
20930
+ exports.getGermanyHexColor = getGermanyHexColor;
20931
+ exports.getGermanyPalette = getGermanyPalette;
20932
+ exports.getIndiaAccent = getIndiaAccent;
20933
+ exports.getIndiaColors = getIndiaColors;
20934
+ exports.getIndiaFlagUrl = getIndiaFlagUrl;
20935
+ exports.getIndiaGradient = getIndiaGradient;
20936
+ exports.getIndiaHexColor = getIndiaHexColor;
20937
+ exports.getIndiaPalette = getIndiaPalette;
20938
+ exports.getItalyAccent = getItalyAccent;
20939
+ exports.getItalyColors = getItalyColors;
20940
+ exports.getItalyFlagUrl = getItalyFlagUrl;
20941
+ exports.getItalyGradient = getItalyGradient;
20942
+ exports.getItalyHexColor = getItalyHexColor;
20943
+ exports.getItalyPalette = getItalyPalette;
20944
+ exports.getJapanAccent = getJapanAccent;
20945
+ exports.getJapanColors = getJapanColors;
20946
+ exports.getJapanFlagUrl = getJapanFlagUrl;
20947
+ exports.getJapanGradient = getJapanGradient;
20948
+ exports.getJapanHexColor = getJapanHexColor;
20949
+ exports.getJapanPalette = getJapanPalette;
20950
+ exports.getMexicoAccent = getMexicoAccent;
20951
+ exports.getMexicoColors = getMexicoColors;
20952
+ exports.getMexicoFlagUrl = getMexicoFlagUrl;
20953
+ exports.getMexicoGradient = getMexicoGradient;
20954
+ exports.getMexicoHexColor = getMexicoHexColor;
20955
+ exports.getMexicoPalette = getMexicoPalette;
20956
+ exports.getPeruAccent = getPeruAccent;
20957
+ exports.getPeruColors = getPeruColors;
20958
+ exports.getPeruFlagUrl = getPeruFlagUrl;
20959
+ exports.getPeruGradient = getPeruGradient;
20960
+ exports.getPeruHexColor = getPeruHexColor;
20961
+ exports.getPeruPalette = getPeruPalette;
20962
+ exports.getPortugalAccent = getPortugalAccent;
20963
+ exports.getPortugalColors = getPortugalColors;
20964
+ exports.getPortugalFlagUrl = getPortugalFlagUrl;
20965
+ exports.getPortugalGradient = getPortugalGradient;
20966
+ exports.getPortugalHexColor = getPortugalHexColor;
20967
+ exports.getPortugalPalette = getPortugalPalette;
20968
+ exports.getSouthAfricaAccent = getSouthAfricaAccent;
20969
+ exports.getSouthAfricaColors = getSouthAfricaColors;
20970
+ exports.getSouthAfricaFlagUrl = getSouthAfricaFlagUrl;
20971
+ exports.getSouthAfricaGradient = getSouthAfricaGradient;
20972
+ exports.getSouthAfricaHexColor = getSouthAfricaHexColor;
20973
+ exports.getSouthAfricaPalette = getSouthAfricaPalette;
20974
+ exports.getSpainAccent = getSpainAccent;
20975
+ exports.getSpainColors = getSpainColors;
20976
+ exports.getSpainFlagUrl = getSpainFlagUrl;
20977
+ exports.getSpainGradient = getSpainGradient;
20978
+ exports.getSpainHexColor = getSpainHexColor;
20979
+ exports.getSpainPalette = getSpainPalette;
17691
20980
  exports.getStatusColor = getStatusColor;
17692
20981
  exports.getSubdivisionAccent = getSubdivisionAccent;
17693
20982
  exports.getSubdivisionColors = getSubdivisionColors;
@@ -17696,6 +20985,12 @@ exports.getSubdivisionGradient = getSubdivisionGradient;
17696
20985
  exports.getSubdivisionHexColor = getSubdivisionHexColor;
17697
20986
  exports.getSubdivisionPalette = getSubdivisionPalette;
17698
20987
  exports.getTransition = getTransition;
20988
+ exports.getUKAccent = getUKAccent;
20989
+ exports.getUKColors = getUKColors;
20990
+ exports.getUKFlagUrl = getUKFlagUrl;
20991
+ exports.getUKGradient = getUKGradient;
20992
+ exports.getUKHexColor = getUKHexColor;
20993
+ exports.getUKPalette = getUKPalette;
17699
20994
  exports.getUsAccent = getUsAccent;
17700
20995
  exports.getUsColors = getUsColors;
17701
20996
  exports.getUsFlagUrl = getUsFlagUrl;
@@ -17704,8 +20999,24 @@ exports.getUsHexColor = getUsHexColor;
17704
20999
  exports.getUsPalette = getUsPalette;
17705
21000
  exports.getVariants = getVariants;
17706
21001
  exports.iosColors = iosColors;
21002
+ exports.isValidArgentinaProvince = isValidArgentinaProvince;
21003
+ exports.isValidAustraliaState = isValidAustraliaState;
17707
21004
  exports.isValidBrazilState = isValidBrazilState;
21005
+ exports.isValidCanadaProvince = isValidCanadaProvince;
21006
+ exports.isValidChileRegion = isValidChileRegion;
21007
+ exports.isValidColombiaDepartment = isValidColombiaDepartment;
21008
+ exports.isValidFranceRegion = isValidFranceRegion;
21009
+ exports.isValidGermanyState = isValidGermanyState;
21010
+ exports.isValidIndiaState = isValidIndiaState;
21011
+ exports.isValidItalyRegion = isValidItalyRegion;
21012
+ exports.isValidJapanPrefecture = isValidJapanPrefecture;
21013
+ exports.isValidMexicoState = isValidMexicoState;
21014
+ exports.isValidPeruDepartment = isValidPeruDepartment;
21015
+ exports.isValidPortugalDistrict = isValidPortugalDistrict;
21016
+ exports.isValidSouthAfricaProvince = isValidSouthAfricaProvince;
21017
+ exports.isValidSpainProvince = isValidSpainProvince;
17708
21018
  exports.isValidSubdivision = isValidSubdivision;
21019
+ exports.isValidUKNation = isValidUKNation;
17709
21020
  exports.isValidUsState = isValidUsState;
17710
21021
  exports.listItem = listItem;
17711
21022
  exports.listItemReduced = listItemReduced;
@@ -17713,6 +21024,7 @@ exports.notificationBanner = notificationBanner;
17713
21024
  exports.notificationBannerReduced = notificationBannerReduced;
17714
21025
  exports.pageControlDot = pageControlDot;
17715
21026
  exports.prefersReducedMotion = prefersReducedMotion;
21027
+ exports.registerCountry = registerCountry;
17716
21028
  exports.registerSubdivisionTheme = registerSubdivisionTheme;
17717
21029
  exports.resolveGlassAccentRgb = resolveGlassAccentRgb;
17718
21030
  exports.selectIsAuthenticated = selectIsAuthenticated;
@@ -17733,5 +21045,5 @@ exports.useGeoMapState = useGeoMapState;
17733
21045
  exports.useNotifications = useNotifications;
17734
21046
  exports.usePlatformShellStore = usePlatformShellStore;
17735
21047
  exports.usePullToRefresh = usePullToRefresh;
17736
- //# sourceMappingURL=chunk-Q2O7XJN5.js.map
17737
- //# sourceMappingURL=chunk-Q2O7XJN5.js.map
21048
+ //# sourceMappingURL=chunk-GXCWMPW5.js.map
21049
+ //# sourceMappingURL=chunk-GXCWMPW5.js.map