@travel-match/ui 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/components/AccountMenu/AccountMenu.cjs +1 -1
  2. package/dist/components/AccountMenu/AccountMenu.cjs.map +1 -1
  3. package/dist/components/AccountMenu/AccountMenu.js +1 -1
  4. package/dist/components/AccountMenu/AccountMenu.js.map +1 -1
  5. package/dist/components/ConfirmationDialog/ConfirmationDialog.cjs +1 -1
  6. package/dist/components/ConfirmationDialog/ConfirmationDialog.cjs.map +1 -1
  7. package/dist/components/ConfirmationDialog/ConfirmationDialog.js +1 -0
  8. package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
  9. package/dist/components/CtaRequestFlow/CtaRequestFlow.cjs +1 -1
  10. package/dist/components/CtaRequestFlow/CtaRequestFlow.cjs.map +1 -1
  11. package/dist/components/CtaRequestFlow/CtaRequestFlow.js +72 -37
  12. package/dist/components/CtaRequestFlow/CtaRequestFlow.js.map +1 -1
  13. package/dist/components/ExampleRequests/ExampleRequests.cjs +1 -1
  14. package/dist/components/ExampleRequests/ExampleRequests.cjs.map +1 -1
  15. package/dist/components/ExampleRequests/ExampleRequests.js +18 -17
  16. package/dist/components/ExampleRequests/ExampleRequests.js.map +1 -1
  17. package/dist/components/FaqItem/FaqItem.cjs +1 -1
  18. package/dist/components/FaqItem/FaqItem.cjs.map +1 -1
  19. package/dist/components/FaqItem/FaqItem.js +79 -34
  20. package/dist/components/FaqItem/FaqItem.js.map +1 -1
  21. package/dist/components/Field/Field.cjs +1 -1
  22. package/dist/components/Field/Field.cjs.map +1 -1
  23. package/dist/components/Field/Field.js +10 -8
  24. package/dist/components/Field/Field.js.map +1 -1
  25. package/dist/components/HowItWorksSteps/HowItWorksSteps.cjs +1 -1
  26. package/dist/components/HowItWorksSteps/HowItWorksSteps.cjs.map +1 -1
  27. package/dist/components/HowItWorksSteps/HowItWorksSteps.js +1 -1
  28. package/dist/components/HowItWorksSteps/HowItWorksSteps.js.map +1 -1
  29. package/dist/components/InlineAlert/InlineAlert.cjs +1 -1
  30. package/dist/components/InlineAlert/InlineAlert.cjs.map +1 -1
  31. package/dist/components/InlineAlert/InlineAlert.js +9 -8
  32. package/dist/components/InlineAlert/InlineAlert.js.map +1 -1
  33. package/dist/components/LogoAnimation/LogoAnimation.cjs +2 -0
  34. package/dist/components/LogoAnimation/LogoAnimation.cjs.map +1 -0
  35. package/dist/components/LogoAnimation/LogoAnimation.js +202 -0
  36. package/dist/components/LogoAnimation/LogoAnimation.js.map +1 -0
  37. package/dist/components/LogoAnimation/LogoAnimationArtwork.cjs +2 -0
  38. package/dist/components/LogoAnimation/LogoAnimationArtwork.cjs.map +1 -0
  39. package/dist/components/LogoAnimation/LogoAnimationArtwork.js +57 -0
  40. package/dist/components/LogoAnimation/LogoAnimationArtwork.js.map +1 -0
  41. package/dist/components/LogoAnimation/motion.cjs +2 -0
  42. package/dist/components/LogoAnimation/motion.cjs.map +1 -0
  43. package/dist/components/LogoAnimation/motion.js +180 -0
  44. package/dist/components/LogoAnimation/motion.js.map +1 -0
  45. package/dist/components/NewRequestOverlay/NewRequestOverlay.cjs +1 -1
  46. package/dist/components/NewRequestOverlay/NewRequestOverlay.cjs.map +1 -1
  47. package/dist/components/NewRequestOverlay/NewRequestOverlay.js +67 -48
  48. package/dist/components/NewRequestOverlay/NewRequestOverlay.js.map +1 -1
  49. package/dist/components/NotificationsDropdown/NotificationsMenu.cjs +1 -1
  50. package/dist/components/NotificationsDropdown/NotificationsMenu.cjs.map +1 -1
  51. package/dist/components/NotificationsDropdown/NotificationsMenu.js +1 -1
  52. package/dist/components/NotificationsDropdown/NotificationsMenu.js.map +1 -1
  53. package/dist/components/PackageAnimation/PackageAnimation.cjs +1 -1
  54. package/dist/components/PackageAnimation/PackageAnimation.cjs.map +1 -1
  55. package/dist/components/PackageAnimation/PackageAnimation.js +1 -1
  56. package/dist/components/PackageAnimation/PackageAnimation.js.map +1 -1
  57. package/dist/components/PartnerCarousel/PartnerCarousel.cjs.map +1 -1
  58. package/dist/components/PartnerCarousel/PartnerCarousel.js.map +1 -1
  59. package/dist/components/PhoneInput/PhoneInput.cjs +1 -1
  60. package/dist/components/PhoneInput/PhoneInput.cjs.map +1 -1
  61. package/dist/components/PhoneInput/PhoneInput.js +8 -5
  62. package/dist/components/PhoneInput/PhoneInput.js.map +1 -1
  63. package/dist/components/PopularQuestions/PopularQuestions.cjs +1 -1
  64. package/dist/components/PopularQuestions/PopularQuestions.cjs.map +1 -1
  65. package/dist/components/PopularQuestions/PopularQuestions.js +22 -21
  66. package/dist/components/PopularQuestions/PopularQuestions.js.map +1 -1
  67. package/dist/components/RegionMap/RegionMap.cjs +2 -0
  68. package/dist/components/RegionMap/RegionMap.cjs.map +1 -0
  69. package/dist/components/RegionMap/RegionMap.js +55 -0
  70. package/dist/components/RegionMap/RegionMap.js.map +1 -0
  71. package/dist/components/RegionMap/mapPaths.cjs +2 -0
  72. package/dist/components/RegionMap/mapPaths.cjs.map +1 -0
  73. package/dist/components/RegionMap/mapPaths.js +86 -0
  74. package/dist/components/RegionMap/mapPaths.js.map +1 -0
  75. package/dist/components/RequestSearch/RequestSearch.cjs +2 -0
  76. package/dist/components/RequestSearch/RequestSearch.cjs.map +1 -0
  77. package/dist/components/RequestSearch/RequestSearch.js +36 -0
  78. package/dist/components/RequestSearch/RequestSearch.js.map +1 -0
  79. package/dist/components/RequestSummary/RequestSummary.cjs +1 -1
  80. package/dist/components/RequestSummary/RequestSummary.cjs.map +1 -1
  81. package/dist/components/RequestSummary/RequestSummary.js +31 -32
  82. package/dist/components/RequestSummary/RequestSummary.js.map +1 -1
  83. package/dist/components/RequestTypeOption/RequestTypeOption.cjs +2 -0
  84. package/dist/components/RequestTypeOption/RequestTypeOption.cjs.map +1 -0
  85. package/dist/components/RequestTypeOption/RequestTypeOption.js +52 -0
  86. package/dist/components/RequestTypeOption/RequestTypeOption.js.map +1 -0
  87. package/dist/components/Select/Select.cjs +1 -1
  88. package/dist/components/Select/Select.cjs.map +1 -1
  89. package/dist/components/Select/Select.js +127 -121
  90. package/dist/components/Select/Select.js.map +1 -1
  91. package/dist/components/ShowMore/ShowMore.cjs +2 -0
  92. package/dist/components/ShowMore/ShowMore.cjs.map +1 -0
  93. package/dist/components/ShowMore/ShowMore.js +34 -0
  94. package/dist/components/ShowMore/ShowMore.js.map +1 -0
  95. package/dist/components/SiteHeader/SiteHeader.cjs.map +1 -1
  96. package/dist/components/SiteHeader/SiteHeader.js.map +1 -1
  97. package/dist/components/SortSelect/SortSelect.cjs +2 -0
  98. package/dist/components/SortSelect/SortSelect.cjs.map +1 -0
  99. package/dist/components/SortSelect/SortSelect.js +18 -0
  100. package/dist/components/SortSelect/SortSelect.js.map +1 -0
  101. package/dist/components/StatusFilter/StatusFilter.cjs +2 -0
  102. package/dist/components/StatusFilter/StatusFilter.cjs.map +1 -0
  103. package/dist/components/StatusFilter/StatusFilter.js +37 -0
  104. package/dist/components/StatusFilter/StatusFilter.js.map +1 -0
  105. package/dist/components/StatusTag/StatusTag.cjs.map +1 -1
  106. package/dist/components/StatusTag/StatusTag.js.map +1 -1
  107. package/dist/components/StepCard/StepCard.cjs +1 -1
  108. package/dist/components/StepCard/StepCard.cjs.map +1 -1
  109. package/dist/components/StepCard/StepCard.js +9 -6
  110. package/dist/components/StepCard/StepCard.js.map +1 -1
  111. package/dist/components/StepProgress/StepProgress.cjs +2 -0
  112. package/dist/components/StepProgress/StepProgress.cjs.map +1 -0
  113. package/dist/components/StepProgress/StepProgress.js +43 -0
  114. package/dist/components/StepProgress/StepProgress.js.map +1 -0
  115. package/dist/components/TelegramConnect/TelegramConnect.cjs +2 -0
  116. package/dist/components/TelegramConnect/TelegramConnect.cjs.map +1 -0
  117. package/dist/components/TelegramConnect/TelegramConnect.js +57 -0
  118. package/dist/components/TelegramConnect/TelegramConnect.js.map +1 -0
  119. package/dist/components/TextInput/TextInput.cjs +1 -1
  120. package/dist/components/TextInput/TextInput.cjs.map +1 -1
  121. package/dist/components/TextInput/TextInput.js +21 -19
  122. package/dist/components/TextInput/TextInput.js.map +1 -1
  123. package/dist/components/Textarea/Textarea.cjs +1 -1
  124. package/dist/components/Textarea/Textarea.cjs.map +1 -1
  125. package/dist/components/Textarea/Textarea.js +18 -16
  126. package/dist/components/Textarea/Textarea.js.map +1 -1
  127. package/dist/components/Toast/Toast.cjs +2 -0
  128. package/dist/components/Toast/Toast.cjs.map +1 -0
  129. package/dist/components/Toast/Toast.js +57 -0
  130. package/dist/components/Toast/Toast.js.map +1 -0
  131. package/dist/icons/generated/CheckmarkIcon.cjs +1 -1
  132. package/dist/icons/generated/CheckmarkIcon.cjs.map +1 -1
  133. package/dist/icons/generated/CheckmarkIcon.js +19 -2
  134. package/dist/icons/generated/CheckmarkIcon.js.map +1 -1
  135. package/dist/icons/generated/InfoIcon.cjs +2 -0
  136. package/dist/icons/generated/InfoIcon.cjs.map +1 -0
  137. package/dist/icons/generated/InfoIcon.js +35 -0
  138. package/dist/icons/generated/InfoIcon.js.map +1 -0
  139. package/dist/icons/generated/SendIcon.cjs +2 -0
  140. package/dist/icons/generated/SendIcon.cjs.map +1 -0
  141. package/dist/icons/generated/SendIcon.js +23 -0
  142. package/dist/icons/generated/SendIcon.js.map +1 -0
  143. package/dist/icons/generated/index.cjs +1 -1
  144. package/dist/icons/generated/index.cjs.map +1 -1
  145. package/dist/icons/generated/index.js +71 -67
  146. package/dist/icons/generated/index.js.map +1 -1
  147. package/dist/index.cjs +1 -1
  148. package/dist/index.d.cts +649 -34
  149. package/dist/index.d.ts +649 -34
  150. package/dist/index.js +146 -134
  151. package/dist/styles.css +1 -1
  152. package/dist/tailwind.css +0 -6
  153. package/dist/tokens/generated.cjs +1 -1
  154. package/dist/tokens/generated.cjs.map +1 -1
  155. package/dist/tokens/generated.js +1 -7
  156. package/dist/tokens/generated.js.map +1 -1
  157. package/dist/tokens.css +0 -12
  158. package/dist/tokens.d.cts +2 -26
  159. package/dist/tokens.d.ts +2 -26
  160. package/dist/tokens.json +1 -7
  161. package/package.json +1 -1
@@ -0,0 +1,55 @@
1
+ "use client";
2
+ import { cn as e } from "../../utils/cn.js";
3
+ import { ARMENIA_MAP as t, WORLD_MAP as n } from "./mapPaths.js";
4
+ /* empty css */
5
+ import { forwardRef as r, useId as i } from "react";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
+ // src/components/RegionMap/RegionMap.tsx
8
+ var s = t.regions.map(([e]) => e), c = n.regions.map(([e]) => e);
9
+ function l(t, n, { highlighted: r = [], title: i, className: s, ...c }, l, u) {
10
+ let d = `tm-map${u.replace(/[^a-zA-Z0-9_-]/g, "")}`, f = `${d}-title`, p = new Set(r);
11
+ return /* @__PURE__ */ o("svg", {
12
+ ref: l,
13
+ viewBox: `0 0 ${n.width} ${n.height}`,
14
+ className: e("tm-region-map", s),
15
+ "data-map": t,
16
+ role: i ? "img" : void 0,
17
+ "aria-labelledby": i ? f : void 0,
18
+ "aria-hidden": !i || void 0,
19
+ focusable: "false",
20
+ ...c,
21
+ children: [
22
+ i ? /* @__PURE__ */ a("title", {
23
+ id: f,
24
+ children: i
25
+ }) : null,
26
+ t === "world" ? /* @__PURE__ */ a("rect", {
27
+ className: "tm-region-map__sea",
28
+ width: n.width,
29
+ height: n.height
30
+ }) : null,
31
+ /* @__PURE__ */ a("defs", { children: n.regions.map(([e, t], n) => /* @__PURE__ */ a("clipPath", {
32
+ id: `${d}-${n}`,
33
+ children: /* @__PURE__ */ a("path", { d: t })
34
+ }, e)) }),
35
+ n.regions.map(([e, t], r) => /* @__PURE__ */ a("path", {
36
+ className: "tm-region-map__region",
37
+ d: t,
38
+ "data-region": e,
39
+ "data-highlighted": p.has(e) ? "" : void 0,
40
+ strokeWidth: n.strokeWidth * 2,
41
+ clipPath: `url(#${d}-${r})`
42
+ }, e))
43
+ ]
44
+ });
45
+ }
46
+ var u = /* @__PURE__ */ r(function(e, n) {
47
+ let r = i();
48
+ return l("armenia", t, e, n, r);
49
+ }), d = /* @__PURE__ */ r(function(e, t) {
50
+ let r = i();
51
+ return l("world", n, e, t, r);
52
+ });
53
+ export { s as ARMENIA_REGIONS, u as ArmeniaMap, c as WORLD_COUNTRIES, d as WorldMap };
54
+
55
+ //# sourceMappingURL=RegionMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegionMap.js","names":["ARMENIA_REGIONS","ARMENIA_MAP","name","WORLD_COUNTRIES","WORLD_MAP","renderMap","props","prefix","uid","titleId","lit","highlighted","data","cn","className","kind","title","d","index","ArmeniaMap","useId","ref","WorldMap"],"sources":["../../../src/components/RegionMap/RegionMap.tsx"],"sourcesContent":["import { forwardRef, useId, type ForwardedRef, type SVGProps } from 'react';\nimport { cn } from '../../utils/cn';\nimport { ARMENIA_MAP, WORLD_MAP } from './mapPaths';\nimport './RegionMap.css';\n\n/** A region of \"Map / Armenia\": the ten provinces (marz) and Yerevan, named as the Figma layers. */\nexport type ArmeniaRegion = (typeof ARMENIA_MAP.regions)[number][0];\n/** A country of \"Map / World\" (Europe, the Middle East, North Africa and Central Asia), named as the Figma layers. */\nexport type WorldCountry = (typeof WORLD_MAP.regions)[number][0];\n\n/** Every region of the Armenia map, in drawing order. */\nexport const ARMENIA_REGIONS: readonly ArmeniaRegion[] = ARMENIA_MAP.regions.map(([name]) => name);\n/** Every country of the world map, in drawing order. */\nexport const WORLD_COUNTRIES: readonly WorldCountry[] = WORLD_MAP.regions.map(([name]) => name);\n\nexport interface RegionMapProps<Region extends string> extends Omit<SVGProps<SVGSVGElement>, 'ref' | 'children'> {\n /** Regions filled in the highlight colour, e.g. the destinations chosen in the request form. */\n highlighted?: readonly Region[];\n /** Accessible name, e.g. \"Selected regions: Kotayk, Aragatsotn\". Without it the map is decorative (`aria-hidden`). */\n title?: string;\n}\n\ninterface MapData {\n width: number;\n height: number;\n strokeWidth: number;\n regions: readonly (readonly [string, string])[];\n}\n\nfunction renderMap(\n kind: 'armenia' | 'world',\n data: MapData,\n { highlighted = [], title, className, ...props }: RegionMapProps<string>,\n ref: ForwardedRef<SVGSVGElement>,\n uid: string,\n) {\n // useId() returns characters (\":\", \"«\") that are awkward inside url(#…); keep only safe ones.\n const prefix = `tm-map${uid.replace(/[^a-zA-Z0-9_-]/g, '')}`;\n const titleId = `${prefix}-title`;\n const lit = new Set(highlighted);\n return (\n <svg\n ref={ref}\n viewBox={`0 0 ${data.width} ${data.height}`}\n className={cn('tm-region-map', className)}\n data-map={kind}\n role={title ? 'img' : undefined}\n aria-labelledby={title ? titleId : undefined}\n aria-hidden={title ? undefined : true}\n focusable=\"false\"\n {...props}\n >\n {title ? <title id={titleId}>{title}</title> : null}\n {kind === 'world' ? <rect className=\"tm-region-map__sea\" width={data.width} height={data.height} /> : null}\n <defs>\n {data.regions.map(([name, d], index) => (\n <clipPath key={name} id={`${prefix}-${index}`}>\n <path d={d} />\n </clipPath>\n ))}\n </defs>\n {data.regions.map(([name, d], index) => (\n <path\n key={name}\n className=\"tm-region-map__region\"\n d={d}\n data-region={name}\n data-highlighted={lit.has(name) ? '' : undefined}\n // Figma strokes the regions on the inside: a centred stroke of twice the width, clipped to the shape.\n strokeWidth={data.strokeWidth * 2}\n clipPath={`url(#${prefix}-${index})`}\n />\n ))}\n </svg>\n );\n}\n\n/**\n * Figma component \"Map / Armenia\" (2733:16846): the provinces of Armenia, used in the Travel Package request\n * (\"In Armenia\" destinations). Pass the chosen regions as `highlighted`. It scales to the width of its container.\n */\nexport const ArmeniaMap = /* @__PURE__ */ forwardRef<SVGSVGElement, RegionMapProps<ArmeniaRegion>>(function ArmeniaMap(props, ref) {\n const uid = useId();\n return renderMap('armenia', ARMENIA_MAP, props, ref, uid);\n});\n\n/**\n * Figma component \"Map / World\" (2743:16833): Europe and the surrounding regions on a sea background, used in the\n * Flight Request and Travel Package forms. Pass the destination countries as `highlighted`. It scales to its container.\n */\nexport const WorldMap = /* @__PURE__ */ forwardRef<SVGSVGElement, RegionMapProps<WorldCountry>>(function WorldMap(props, ref) {\n const uid = useId();\n return renderMap('world', WORLD_MAP, props, ref, uid);\n});\n"],"mappings":";;;;;;;AAWA,IAAaA,IAA4CC,EAAY,QAAQ,KAAK,CAACC,OAAUA,CAAI,GAEpFC,IAA2CC,EAAU,QAAQ,KAAK,CAACF,OAAUA,CAAI;AAgB9F,SAASG,EACP,GACA,GACA,EAAE,iBAAc,CAAC,GAAG,UAAO,cAAW,GAAGC,KACzC,GACA,GACA;CAEA,IAAMC,IAAS,SAASC,EAAI,QAAQ,mBAAmB,EAAE,KACnDC,IAAU,GAAGF,EAAO,SACpBG,IAAM,IAAI,IAAIC,CAAW;CAC/B,OACE,kBAAC,OAAD;EACO;EACL,SAAS,OAAOC,EAAK,MAAM,GAAGA,EAAK;EACnC,WAAWC,EAAG,iBAAiBC,CAAS;EACxC,YAAUC;EACV,MAAMC,IAAQ,QAAQ,KAAA;EACtB,mBAAiBA,IAAQP,IAAU,KAAA;EACnC,eAAa,MAAQ,KAAA;EACrB,WAAU;EACV,GAAIH;EATN,UAAA;GAWGU,IAAQ,kBAAC,SAAD;IAAO,IAAIP;IAAU,UAAAO;GAAa,CAAA,IAAI;GAC9CD,MAAS,UAAU,kBAAC,QAAD;IAAM,WAAU;IAAqB,OAAOH,EAAK;IAAO,QAAQA,EAAK;GAAS,CAAA,IAAI;GACtG,kBAAC,QAAD,EAAA,UACGA,EAAK,QAAQ,KAAK,CAACV,GAAMe,IAAI,MAC5B,kBAAC,YAAD;IAAqB,IAAI,GAAGV,EAAO,GAAGW;IACpC,UAAA,kBAAC,QAAD,EAAS,KAAI,CAAA;GACL,GAFKhB,CAEL,CACX,EACG,CAAA;GACLU,EAAK,QAAQ,KAAK,CAACV,GAAMe,IAAI,MAC5B,kBAAC,QAAD;IAEE,WAAU;IACP;IACH,eAAaf;IACb,oBAAkBQ,EAAI,IAAIR,CAAI,IAAI,KAAK,KAAA;IAEvC,aAAaU,EAAK,cAAc;IAChC,UAAU,QAAQL,EAAO,GAAGW,EAAM;GACnC,GARMhB,CAQN,CACF;EACE;;AAET;AAMA,IAAaiB,IAA6B,kBAAyD,SAAoB,GAAO,GAAK;CACjI,IAAMX,IAAMY,EAAM;CAClB,OAAOf,EAAU,WAAWJ,GAAaK,GAAOe,GAAKb,CAAG;AAC1D,CAAC,GAMYc,IAA2B,kBAAwD,SAAkB,GAAO,GAAK;CAC5H,IAAMd,IAAMY,EAAM;CAClB,OAAOf,EAAU,SAASD,GAAWE,GAAOe,GAAKb,CAAG;AACtD,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use client";var e={width:520,height:519,strokeWidth:1.5,regions:[[`Gegharkunik`,`M342.5 142.9L337 147.1L331.4 145.5L330.1 141.2L331.4 136.8L335.6 134.7L340.4 134.9L344.6 137.3L342.5 142.9ZM271.3 304.9L269.9 301.6L269.3 295.6L267 287.5L266.9 281.2L263.6 278.8L255.7 259.2L255.5 254.4L257.3 247.4L258.1 241.2L255.7 237.5L244.5 224.4L244.2 219.2L246.6 216.1L246.3 213.6L238.7 185.2L236.8 182.3L231.9 179L231.1 177.2L232.3 171.5L231.4 167.7L227.6 162.6L221.9 162.4L220.4 159.7L218.7 148.3L219 144.5L220.6 141.2L220.1 137L239.4 132.9L244.3 135L247.4 137.8L252.7 139.7L259.6 138.4L263.8 136.2L266.9 129.3L269.2 126.7L275.5 124L281.6 119.5L292.6 120.7L295.1 122.1L298.9 126.7L305.6 129.7L311 135.5L314.2 136.7V140.7L316.5 145.6L323 151.3L325.8 154.8L326.9 161.7L329.2 165.6L332.6 167.8L339.3 181.5L349 190.6L387.3 211.8L394.5 219.6L397.8 219.7L404.8 218.4L409.6 221.9L413.9 227.5L414.2 231.2L411.4 245L409.4 250.3L406.4 254.5L402.8 257.7L400.3 269.2L397 273.4L385.5 274.6L358.5 270.4L348.1 277.2L348.3 279.3L344.4 276.3L343.1 276.2L337.5 282.6L331.7 285.6L329 286.6L317.8 288.5H313.6L308.5 289.5L296.4 288.9L289.8 291.2L285.7 293.8L279.1 299.8L271.3 304.9Z`],[`Armavir`,`M151.4 273.7L142.3 268.3L136.3 266.4H130.7L120.8 269L111 270.7L105.9 267.8L102.4 268.6L96.7 272.6L94 273.5L74.3 269.9L56.4 259.7L41.4 255.2L33.9 250.9L31.9 244.8L34.2 242.7L41.7 241.2L43.3 238.4L42.3 236L37.3 229.6L35.6 225.8L38.4 223.1L42.8 220.7L46.6 217.3L49.3 217L53.4 218.8L57.1 214.4L59.1 214L61.8 218L64.2 219.2L70.3 221L76.7 225.9L84.5 229.1L89.5 234.3L92 235.5L111.5 235.8L115 234.5L116.9 232.5L115.7 225.8L117.9 223.6L120.7 224.3L122.7 226.7L124.9 227.5L129.2 225L132.5 224.2L135.5 224.7L137.3 226.9L141.6 229.1L144.6 231.5L148.2 233.2L157.8 235.4L159.3 237.5L159.8 241.3L161.4 243.1L161 244.9L155 247.5L152.3 249.7L146.6 258L149.5 263.7L150.9 267.8L151.4 273.7Z`],[`Shirak`,`M28.2 186.4L28.4 184.5L21.9 178.8L18.5 174.8L17.8 172L23.5 165.4L27.1 163L31 162.6L29.8 159.5L33.2 161.2L33.1 156L35.4 151.7L42.4 143.7L41.2 138.8L45.7 131.5L46.2 129.8L45.6 114.9L43.6 107.4L37 96.5L35.4 92.2L33.7 78.9L31.9 74.7L26.9 68.2L20.6 62.8L13.7 59.2L6.8 58.1L3.7 55.1L1.2 48.9L0 42.1L0.8 37.1L5.6 37.3L14.4 33.8L21.2 33.7L47.6 37.8L51.6 37.6L54.7 36.3L62.4 29.7L69.3 26.9L84.4 26.8L87.9 26L85.8 42.2L87.8 45.7L92.6 47.9L97.3 54.7L103.6 60.6V63.1L100.4 67.1L103.6 70L110.9 70.4L111.7 71.5L110.4 78.4L107.3 82.4L106.8 86.1L103.9 88.2L97.3 86.6L96 89.1L94.6 94.9L93.2 97.7L93.6 100.5L96.6 107.4L98.7 109.5L104.4 110.3L106.6 112.7L108.2 116.3L110.7 117.3L117.5 117L112 127.6L109.2 131.3L103.6 136.6L103.2 138.3L107.2 141.8L109.3 145.1L110.8 150.4L114.4 150.9L119.6 150.1L121.4 150.7L121.3 152.7L119.1 161.1L119.3 163.7L122.5 166.1L119.6 168.7L115.2 171.5L111 172.4L108.5 174.5L104.1 176.1L97.6 179.5L94.8 177.6L90.6 171.1L83.8 170.7L80.3 174.3L73.6 174.4L69.1 173.3L65.8 170.7L61 169.6L58.4 168L56.1 168.3L51 171.3L45 173.1L41.7 175.1L39.4 180.3L34.8 183.2L31.1 186.9L28.2 186.4Z`],[`Ararat`,`M265.7 329.7L264.4 328.2L258.8 325.3L252.6 327.4L246.5 332.1L241.2 335.1L235.6 336.4L228.4 336.3L220.7 337.7L216 339.7L213.4 335.4L203.4 322.1L200.8 319.5L198.1 319.7L195.1 317.8L189.2 310.8L187 312.2L185.8 306.4L181.9 303.2L180.6 298.1L178.7 294.9L174.5 290.2L165.1 281.9L151.4 273.7L150.9 267.8L149.5 263.7L146.6 258L152.3 249.7L155 247.5L161 244.9L161.4 243.1L163.3 242.6L165.2 243.9L165.1 250.5L166.3 253.9L167.6 255.3L173.4 256.6L176.2 258.4L177.6 261.9L180.1 264.3L183.7 263.9L188.1 260.9L195.3 251.3L196.9 252.1L198.5 255.9L202.7 258.3L210.9 256.8L217.6 254.7L230 247.7L234.6 245.8L240.6 244.1L247 241.5L252 240.9L258.1 241.2L257.3 247.4L255.5 254.4L255.7 259.2L263.6 278.8L266.9 281.2L267 287.5L269.3 295.6L269.9 301.6L271.3 304.9L267.4 313.7L266.1 317.9V325L265.7 329.7Z`],[`Tavush`,`M229.6 14.3L228.5 12.7L222.5 9.8L221.1 6.8L224.3 3.6L239.9 6.1L246 5.9L253.6 0L259.6 12.7L258 17.2L258.9 19.8L261.6 21H272.2L275 22L283.4 28.6L285.5 31.6L285.8 35L280.2 39.1L264.2 38.4L262.5 45.3L264.6 48.9L268.1 51.2L271.2 51.6L272.7 45.1L275.4 46.5L280.7 52L284 54.1L289.2 59L296.8 59.9L303.9 62.8L307.6 63.4L316.7 58.8L321.2 58.3L322.2 63.4L320.8 70.3L322.8 72.5L326.7 73.5L331 77L338 85.8L340.6 88.5L347.8 89.8L350.6 91.2L350.9 95.9L347.9 104.8L343.7 109.7L324.6 119L318.2 124.3L314.1 131.6L314.2 136.7L311 135.5L305.6 129.7L298.9 126.7L295.1 122.1L292.6 120.7L281.6 119.5L275.5 124L269.2 126.7L266.9 129.3L263.8 136.2L259.6 138.4L252.7 139.7L247.4 137.8L244.3 135L239.4 132.9L220.1 137L216.1 133.8L216.3 121.3L212.9 110.8L215.2 107.4L218.3 105.9L223.9 104.4L226 103L227.8 100.1L231.2 89L232.7 86.4L237.9 81.6L237.4 78.8L233.6 74.5L230.7 72.9L224.4 72.2L218.3 67.4L216.2 64.7L216.3 62.2L221.6 56.1L224.8 55.2L228 57.2L232.4 56.8L242.9 48.7L243 45.6L241.1 42.7L236.4 40.2L234.5 36.9L233.8 32.4L234.5 27.9L240.5 23.5L240.6 20.2L239 18.4L233.5 14.7L229.6 14.3ZM289 66.6L284.3 62.6L282 63.5L283.5 68.4L287.3 69L289 66.6ZM258.1 52.2L256.3 46.2L249.9 44.6L247.4 46.4L246.9 49.4L247.9 52.6L249.9 55.2L255.8 57.2L258.1 52.2Z`],[`Kotayk`,`M216.1 133.8L220.1 137L220.6 141.2L219 144.5L218.7 148.3L220.4 159.7L221.9 162.4L227.6 162.6L231.4 167.7L232.3 171.5L231.1 177.2L231.9 179L236.8 182.3L238.7 185.2L246.3 213.6L246.6 216.1L244.2 219.2L244.5 224.4L255.7 237.5L258.1 241.2L252 240.9L247 241.5L240.6 244.1L234.6 245.8L230 247.7L217.6 254.7L210.9 256.8L202.7 258.3L198.5 255.9L196.9 252.1L195.3 251.3L194.1 248.1L191.9 247L186 247.2L184.4 245.1L185.7 240.9L190.6 234.3L185.9 228.3L183 227L175.5 230L169.1 230.6L166.6 230L163.7 231.2L161.2 230.9L159.1 232.9L157 227.9L156.8 224L160.2 221.1L160.6 218.3L157.6 215.8L156.4 213.7L156.9 211.3L162.1 208.3L168.2 197.5L172.2 194.6L172.5 191.7L171 186.9L179 164.1L180.2 158.5L180.3 155.2L178.1 154.1L170.5 152.4L160.1 144.6L158.8 142.2L159.6 137.3L158.5 130L172.1 126.5L176.1 126.2L180.3 128.8L184.9 127.1L187.1 127.3L195.3 131.7L201.9 133.8L209.7 134.5L216.1 133.8Z`],[`Lori`,`M216.1 133.8L209.7 134.5L201.9 133.8L195.3 131.7L187.1 127.3L184.9 127.1L180.3 128.8L176.1 126.2L172.1 126.5L158.5 130L157.7 126.7L155.4 123.9L151.4 121.3L142.8 117.8L137.3 117.1L131.9 121.8L129.1 122.4L126.1 121.5L121.4 116.8L117.5 117L110.7 117.3L108.2 116.3L106.6 112.7L104.4 110.3L98.7 109.5L96.6 107.4L93.6 100.5L93.2 97.6998L94.6 94.8998L96 89.0998L97.3 86.5998L103.9 88.1998L106.8 86.0998L107.3 82.3998L110.4 78.3998L111.7 71.4998L110.9 70.3998L103.6 69.9998L100.4 67.0998L103.6 63.0998V60.5998L97.3 54.6998L92.6 47.8998L87.8 45.6998L85.8 42.1998L87.9 25.9998L91.7 25.0998L98.2 22.1998L101.5 21.9998L108.3 23.8998L111.7 23.2998L114.9 21.6998L117.5 19.1998L118.9 13.6998L122.5 12.2998L126.9 14.1998L134.7 19.6998L137.6 20.7998L141.4 20.1998L145.5 16.6998L149.3 16.3998L158 21.6998L161.5 22.9998L165.1 23.1998L169 22.0998L173.4 17.6998H175.1L177.4 23.0998L180.7 24.0998L183.1 21.9998L187.2 15.7998L190.7 14.2998L194 14.6998L200.7 17.3998L224.4 17.9998L228.7 17.3998L229.6 14.2998L233.5 14.6998L239 18.3998L240.6 20.1998L240.5 23.4998L234.5 27.8998L233.8 32.3998L234.5 36.8998L236.4 40.1998L241.1 42.6998L243 45.5998L242.9 48.6998L232.4 56.7998L228 57.1998L224.8 55.1998L221.6 56.0998L216.3 62.1998L216.2 64.6998L218.3 67.3998L224.4 72.1998L230.7 72.8998L233.6 74.4998L237.4 78.7998L237.9 81.5998L232.7 86.3998L231.2 88.9998L227.8 100.1L226 103L223.9 104.4L218.3 105.9L215.2 107.4L212.9 110.8L216.3 121.3L216.1 133.8Z`],[`Yerevan`,`M195.3 251.3L188.1 260.9L183.7 263.9L180.1 264.3L177.6 261.9L176.2 258.4L173.4 256.6L167.6 255.3L166.3 253.9L165.1 250.5L165.2 243.9L163.3 242.6L161.4 243.1L159.8 241.3L159.3 237.5L157.8 235.4L159.1 232.9L161.2 230.9L163.7 231.2L166.6 230L169.1 230.6L175.5 230L183 227L185.9 228.3L190.6 234.3L185.7 240.9L184.4 245.1L186 247.2L191.9 247L194.1 248.1L195.3 251.3Z`],[`Syunik`,`M386.7 307.4L388 310L395.5 317.3L404.5 321.8L414.9 324.8L419.5 329.2L426 342L431.3 346.1L437.6 347.8L440.4 349.4L442.8 352.4L446.8 359.6L449.3 361.9L453 363L458.7 361.7L470 355.8L475.6 356.1L478 358L482 363.2L484.5 365L487.7 365.5L498.2 364.3L503.7 366.6L505.7 369.4L506.3 372.9L504.9 375.6L500.5 379V382.5L501.7 386.7L498.6 389.3L486.5 391.8L481.2 395.2L479.1 400.7L481.5 407.4L487 411.5L499.1 416.6L501.7 418.8L503.9 425.2L505.6 428.4L509.7 432.5L516.9 437.4L520 441.7L515.1 442.6L507.4 448.3L505.4 448.6L495.2 443.6L489.3 443L485.5 446.6L485.8 453.2L490.1 457.4L495.7 460.4L499.8 463.6L502 470.6L503.1 476.6L502.7 482.7L499.7 493.4V498.6L500.4 501.1L506.4 513.3L503.4 512.5L485.9 505L483.6 504.5L477.8 506.1L471.3 506.5L465.9 508.7L457.3 515.1L454.4 516.5L443.3 518.1L433.3 499.7L424.3 475.6L420.8 468.8L412.9 456.9L411.3 451.3L412.3 445.9L417.3 439.1L416.1 434.2L412.7 431L400.8 425.3L396.7 422.3L390.1 416.1L380.7 413.8L379.2 410.6L380.2 406.3L385.8 397.1L386.5 393.7L384.9 383.9L385.3 374.8L383.8 372.1L380 369.5L375.5 367.7L370.7 368.1L369.3 363.5L373.6 346.2L374.2 338.4L370.9 332.6L372.7 327L381.3 312.1L383.8 309.1L386.7 307.4Z`],[`Vayots Dzor`,`M370.7 368.1L350.4 373.2L346 375L332.7 383.6L329.1 385.3L325.3 385.4L323.6 384.4L318.3 379L315.4 377.5L307.5 376.8L305.1 375.8L301.5 369L296.3 361.8L291.9 363.3L287.2 367.6L281 369.1L277.8 367.1L277.2 364L278.8 356.2L279 351.2L278.3 347.3L276.6 343.7L265.7 329.7L266.1 325V317.9L267.4 313.7L271.3 304.9L279.1 299.8L285.7 293.8L289.8 291.2L296.4 288.9L308.5 289.5L313.6 288.5H317.8L329 286.6L331.7 285.6L337.5 282.6L343.1 276.2L344.4 276.3L348.3 279.3L348.7 282.2L353.9 284.6L371.1 286.2L375.6 288.4L379.2 292.3L386.7 307.4L383.8 309.1L381.3 312.1L372.7 327L370.9 332.6L374.2 338.4L373.6 346.2L369.3 363.5L370.7 368.1Z`],[`Aragatsotn`,`M157.8 235.4L148.2 233.2L144.6 231.5L141.6 229.1L137.3 226.9L135.5 224.7L132.5 224.2L129.2 225L124.9 227.5L122.7 226.7L120.7 224.3L117.9 223.6L115.7 225.8L116.9 232.5L115 234.5L111.5 235.8L92 235.5L89.5 234.3L84.5 229.1L76.7 225.9L70.3 221L64.2 219.2L61.8 218L59.1 214L57.1 214.4L53.4 218.8L49.3 217L46.6 217.3L42.8 220.7L38.4 223.1L36.2 217.6L29 208L24.7 203.8L23.1 200.4L25.6 194.6L28.2 186.4L31.1 186.9L34.8 183.2L39.4 180.3L41.7 175.1L45 173.1L51 171.3L56.1 168.3L58.4 168L61 169.6L65.8 170.7L69.1 173.3L73.6 174.4L80.3 174.3L83.8 170.7L90.6 171.1L94.8 177.6L97.6 179.5L104.1 176.1L108.5 174.5L111 172.4L115.2 171.5L119.6 168.7L122.5 166.1L119.3 163.7L119.1 161.1L121.3 152.7L121.4 150.7L119.6 150.1L114.4 150.9L110.8 150.4L109.3 145.1L107.2 141.8L103.2 138.3L103.6 136.6L109.2 131.3L112 127.6L117.5 117L121.4 116.8L126.1 121.5L129.1 122.4L131.9 121.8L137.3 117.1L142.8 117.8L151.4 121.3L155.4 123.9L157.7 126.7L158.5 130L159.6 137.3L158.8 142.2L160.1 144.6L170.5 152.4L178.1 154.1L180.3 155.2L180.2 158.5L179 164.1L171 186.9L172.5 191.7L172.2 194.6L168.2 197.5L162.1 208.3L156.9 211.3L156.4 213.7L157.6 215.8L160.6 218.3L160.2 221.1L156.8 224L157 227.9L159.1 232.9L157.8 235.4Z`]]},t={width:392,height:255,strokeWidth:1,regions:[[`France`,`M108 133V134H107L100 139L87 135L83 144L79 145L76 144H74V143H73L64 142L54 137L56 135L58 115L48 103L37 98V93L46 91L56 92L53 83L63 87L73 78L79 70L89 81L98 85H99H101L112 90L109 102L100 110L101 113V112H102H104V114L105 116L103 123L108 133Z`],[`Portugal`,`M21 184L12 185L13 177L9 173L14 157L13 148H26L24 155V171L21 184Z`],[`United Kingdom`,`M23 4V-2L28 -4L27 0L23 4ZM22 32L28 29L32 36L28 41L17 38L22 32ZM47 -4L41 1L54 6L46 21L55 26L57 36L64 41L66 51L74 55L68 67L72 70L66 73L53 75V88L50 75L33 79L40 69H46L33 63L40 59V50L46 48L48 41L44 33L39 38L34 34L37 27L29 8L35 -4H47Z`],[`Greece`,`M218 199L209 201L202 198L206 196L218 199ZM226 191L229 190L228 192L227 194L226 191ZM212 186L214 184V186L213 188L212 186ZM213 163H212L213 160H214L213 163ZM187 158V157H188L192 155L198 153L212 154L218 150L220 153L217 158L211 156L197 160L196 163L213 183L204 176L197 182L200 190L192 188L189 177L181 166L184 165L187 158ZM219 169L220 171H219L215 169H218H219Z`],[`Denmark`,`M138 25L134 35L129 26L136 21L138 25ZM120 34L116 33H115L112 16L122 10L124 12L128 30L120 28V34Z`],[`Netherlands`,`M106 50L105 60L99 73L94 67L89 68L87 65L94 53L102 47L106 50Z`],[`Turkey`,`M228 148L235 154L217 158L220 153L218 150L222 147L228 148ZM326 166L322 168L326 185L314 183L312 185L297 188L278 187L274 194L275 186L266 187L256 193L244 187L238 192L223 183L221 181V180L218 176L222 172L219 169H218L217 167L221 160H235V154L247 155L259 148L274 150L284 155L299 156L307 152L314 151L318 155L320 162L326 166Z`],[`Sweden`,`M131 -4H206H162L160 2L161 20L150 21L147 28H140L137 12L132 1L130 -3L131 -4Z`],[`Estonia`,`M226 -4H222L226 1L225 3L224 6L212 0L206 2L202 -4H229H226Z`],[`Italy`,`M137 179L156 176L153 180V188L137 179ZM120 154L122 159L120 170L114 171L112 157L120 154ZM108 133L103 123L105 116L123 112L125 108L136 106L145 111L143 113L145 119L135 121L137 130L144 136L147 143L158 152L170 158L164 159L165 168L158 179L156 163L145 154H141L130 144L123 132L116 128L108 133Z`],[`Cyprus`,`M261 200V201L257 203L256 202V203L253 200L255 199H256H260L261 200Z`],[`Russia`,`M180 38L184 35L179 38L181 33L187 29L184 33L189 30L198 33L197 39L180 38ZM396 146V71L390 76L376 66L360 65L349 75L347 82L342 76L336 95L345 100L352 112L343 118L338 127L342 140L348 149L343 154L336 149L326 142L298 137L278 122L284 121L288 106L291 99L297 100L299 87L283 77H273L269 69H264L262 58L250 61L247 52L256 48L250 44L245 26L229 21L226 13L224 6L225 3L226 1L227 -4H396V146Z`],[`Kazakhstan`,`M396 119L391 124V153L381 145L371 150L372 142L368 141L358 127L371 120L375 108L364 106L352 112L345 100L336 95L342 76L347 82L349 75L360 65L376 66L390 76L395 71H396V119Z`],[`Azerbaijan`,`M326 166L332 167L334 172L330 171L326 166ZM336 172L331 163L327 153L336 155V149L343 154L348 149L354 159L350 175L345 172V166L336 172Z`],[`Armenia`,`M336 172L335 171L334 172L332 167L326 166L320 162L318 155L323 154L327 153L331 163L336 172Z`],[`Uzbekistan`,`M396 119V154L391 153V124L396 119Z`],[`Spain`,`M33 192L26 186L21 184L24 171V155L26 148H13L10 139L22 135L54 137L64 142L73 143V144H74H76L79 145L83 144V148L70 155L62 167L66 173L60 181L52 187L38 188L33 192Z`],[`Morocco`,`M47 198L48 199L51 200L54 202L57 221L43 224V230L31 237L20 239L14 244V250L13 254L-2 256L-4 259V249L3 242L8 232L7 225L15 212L25 207L30 194H33L39 199L47 198Z`],[`Saudi Arabia`,`M347 245L350 251L357 257L361 259H293L270 248L266 247L269 239L275 240L286 231L280 225L293 220L310 227L325 240L336 241L342 242L347 245Z`],[`Iran`,`M326 185L322 168L326 166L330 171L334 172L335 171L336 172L345 166V172L350 175L351 180L368 189L380 187L379 183L388 178L396 176V259L394 253L385 258L365 249L357 234L348 235L343 228L341 218L330 207L335 194L329 193L326 185Z`],[`Croatia`,`M144 120H154L161 111L166 116H175L176 122L175 125L163 121L157 122L159 130L167 140L151 130V123L146 125L144 120Z`],[`Libya`,`M210 259H119L122 258V241L120 233L123 225L132 218V213L153 218L158 226L166 227L176 233L180 231L181 223L191 215L211 223L209 234L210 240V259Z`],[`Kuwait`,`M345 235V239L347 245L342 242L336 241L340 235H345Z`],[`Germany`,`M115 33H116L120 34L131 43L144 37L146 42L147 43H146L148 45L150 56L151 73L137 77V83L145 92L135 101L121 102L117 100L118 101L114 102H109L112 90L101 85L102 82L100 79L102 78L99 73L105 60L106 50L107 45L117 43L115 33Z`],[`Switzerland`,`M109 102H114L118 101L120 103H121L120 106L123 108H125L123 112L105 116L104 114V112L101 113L100 110L109 102Z`],[`Ireland`,`M22 32L17 38L28 41L29 53L27 60L7 67L4 63L12 50L6 49L7 39L14 40L16 31L22 32Z`],[`Latvia`,`M224 6L226 13L229 21L226 24L220 26L210 17L194 18L187 21L191 5L197 3L203 12L206 2L212 0L224 6Z`],[`Turkmenistan`,`M396 154V176L388 178L379 183L377 164L373 163L374 156L378 159L384 155L379 147L371 150L381 145L391 153L396 154Z`],[`Northern Cyprus`,`M262 200H261L260 199H256L267 195L263 200H262Z`],[`Algeria`,`M36 259L14 253V250V244L20 239L31 237L43 230V224L57 221L54 202L51 200L70 190L107 185L115 186L112 203L108 208L117 221L120 233L122 241V258L119 259H36Z`],[`Lithuania`,`M189 30L188 25L187 21L194 18L210 17L220 26L213 39L202 43L201 41L197 39L198 33L189 30Z`],[`Slovenia`,`M144 120L143 113L145 111L149 112L158 108H159L161 111L154 120H144Z`],[`Bosnia and Herzegovina`,`M168 141L159 130L157 122L163 121L175 125L178 124L177 136L172 140V144L168 141Z`],[`Jordan`,`M271 227L272 223V217L273 216L279 219L291 212L293 218V220L280 225L286 231L275 240L269 239L270 232L271 227Z`],[`Syria`,`M291 212L279 219L273 216L274 211L278 206L274 203V194L278 187L297 188L312 185L306 189L305 202L291 212Z`],[`Albania`,`M178 147L180 143L182 144L184 146V151L185 156L187 157V158L184 165L181 166L177 158L178 149V147Z`],[`Republic of Serbia`,`M177 136L178 124L175 125L176 122L175 116L179 114H183L190 122L197 130L198 139L195 145L190 146L186 138L183 141L179 138L177 136Z`],[`Montenegro`,`M177 136L179 138L183 141L181 142L182 144L180 143L178 146H176L178 149L174 146L172 144V140L177 136Z`],[`Ukraine`,`M194 95L196 89L205 75L202 66L215 63L236 68L250 61L262 58L264 69H269L273 77H283L299 87L297 100L291 99L288 106L268 114L272 123L263 129L256 118L262 116L250 113L247 110L238 122H233L229 120L234 112H240L235 99L227 94L220 96L212 99H198L194 95Z`],[`Slovakia`,`M196 89L194 95L184 94L169 100L165 98L163 93L170 89L174 85L192 86L196 89Z`],[`Bulgaria`,`M231 134L226 144L228 148L222 147L218 150L212 154L198 153L199 150L195 145L198 139L197 130L213 135L222 130L231 134Z`],[`Romania`,`M231 134L222 130L213 135L197 130L190 122L183 114L188 113L193 103L198 99H212L220 96L229 110V120L233 122H238L232 129L231 134Z`],[`Austria`,`M120 106L121 102L135 101L145 92L152 90L163 93L165 98L161 100L158 108L149 112L145 111L136 106L125 108L120 106Z`],[`Hungary`,`M194 95L198 99L193 103L188 113L183 114L175 116H166L161 111L158 108L161 100L165 98L169 100L184 94L194 95Z`],[`Belgium`,`M100 79L98 85L89 81L79 70L83 68H89L94 67L99 73L102 78L100 79Z`],[`Iraq`,`M348 235H340L336 241L325 240L310 227L293 220L291 212L305 202L306 189L312 185L314 183L326 185L329 193L335 194L330 207L341 218L343 228L348 235Z`],[`Georgia`,`M327 153L318 155L314 151L307 152V143L298 137L326 142L336 149V155L327 153Z`],[`Kosovo`,`M184 149L182 144L181 142L183 141L186 138L190 146L184 149Z`],[`Lebanon`,`M270 214L272 208L274 203L278 206L274 211L272 214H270Z`],[`Israel`,`M264 226L268 219L270 214H272L274 211V215L272 217V223L271 227L269 238L264 226Z`],[`Poland`,`M179 38L197 39L201 41L202 43L204 55L200 59L202 66L205 75L196 89L192 86L174 85L173 81L151 73L150 56L148 45L147 43L171 34L179 38Z`],[`North Macedonia`,`M195 145L199 150L198 153L192 155L188 157L185 155L184 151V149L190 146L195 145Z`],[`Belarus`,`M202 66L200 59L204 55L202 43L213 39L220 26L226 24L229 21L245 26L250 44L256 48L247 52L250 61L236 68L215 63L202 66Z`],[`Czech Republic`,`M174 85L170 89L163 93L152 90L145 92L137 83V77L151 73L173 81L174 85Z`],[`Tunisia`,`M132 213V218L123 225L120 233L117 221L108 208L112 203L115 186L121 183L130 199L124 205L132 213Z`],[`Moldova`,`M229 120V110L220 96L227 94L235 99L240 112H234L229 120Z`],[`Egypt`,`M268 238L264 250L255 242L272 259H210V240L209 234L211 223L234 229L242 225L252 228L264 226L268 237V238Z`]]};exports.ARMENIA_MAP=e,exports.WORLD_MAP=t;
2
+ //# sourceMappingURL=mapPaths.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapPaths.cjs","names":["ARMENIA_MAP","WORLD_MAP"],"sources":["../../../src/components/RegionMap/mapPaths.ts"],"sourcesContent":["// Path data of the Figma components \"Map / Armenia\" (2733:16846) and \"Map / World\" (2743:16833), exported from the\n// Design System file. Region names are the Figma layer names. Regenerate from Figma rather than editing by hand.\n\nexport const ARMENIA_MAP = {\n width: 520,\n height: 519,\n /** Figma: 1.5px inside stroke on every region */\n strokeWidth: 1.5,\n regions: [\n [\"Gegharkunik\", \"M342.5 142.9L337 147.1L331.4 145.5L330.1 141.2L331.4 136.8L335.6 134.7L340.4 134.9L344.6 137.3L342.5 142.9ZM271.3 304.9L269.9 301.6L269.3 295.6L267 287.5L266.9 281.2L263.6 278.8L255.7 259.2L255.5 254.4L257.3 247.4L258.1 241.2L255.7 237.5L244.5 224.4L244.2 219.2L246.6 216.1L246.3 213.6L238.7 185.2L236.8 182.3L231.9 179L231.1 177.2L232.3 171.5L231.4 167.7L227.6 162.6L221.9 162.4L220.4 159.7L218.7 148.3L219 144.5L220.6 141.2L220.1 137L239.4 132.9L244.3 135L247.4 137.8L252.7 139.7L259.6 138.4L263.8 136.2L266.9 129.3L269.2 126.7L275.5 124L281.6 119.5L292.6 120.7L295.1 122.1L298.9 126.7L305.6 129.7L311 135.5L314.2 136.7V140.7L316.5 145.6L323 151.3L325.8 154.8L326.9 161.7L329.2 165.6L332.6 167.8L339.3 181.5L349 190.6L387.3 211.8L394.5 219.6L397.8 219.7L404.8 218.4L409.6 221.9L413.9 227.5L414.2 231.2L411.4 245L409.4 250.3L406.4 254.5L402.8 257.7L400.3 269.2L397 273.4L385.5 274.6L358.5 270.4L348.1 277.2L348.3 279.3L344.4 276.3L343.1 276.2L337.5 282.6L331.7 285.6L329 286.6L317.8 288.5H313.6L308.5 289.5L296.4 288.9L289.8 291.2L285.7 293.8L279.1 299.8L271.3 304.9Z\"],\n [\"Armavir\", \"M151.4 273.7L142.3 268.3L136.3 266.4H130.7L120.8 269L111 270.7L105.9 267.8L102.4 268.6L96.7 272.6L94 273.5L74.3 269.9L56.4 259.7L41.4 255.2L33.9 250.9L31.9 244.8L34.2 242.7L41.7 241.2L43.3 238.4L42.3 236L37.3 229.6L35.6 225.8L38.4 223.1L42.8 220.7L46.6 217.3L49.3 217L53.4 218.8L57.1 214.4L59.1 214L61.8 218L64.2 219.2L70.3 221L76.7 225.9L84.5 229.1L89.5 234.3L92 235.5L111.5 235.8L115 234.5L116.9 232.5L115.7 225.8L117.9 223.6L120.7 224.3L122.7 226.7L124.9 227.5L129.2 225L132.5 224.2L135.5 224.7L137.3 226.9L141.6 229.1L144.6 231.5L148.2 233.2L157.8 235.4L159.3 237.5L159.8 241.3L161.4 243.1L161 244.9L155 247.5L152.3 249.7L146.6 258L149.5 263.7L150.9 267.8L151.4 273.7Z\"],\n [\"Shirak\", \"M28.2 186.4L28.4 184.5L21.9 178.8L18.5 174.8L17.8 172L23.5 165.4L27.1 163L31 162.6L29.8 159.5L33.2 161.2L33.1 156L35.4 151.7L42.4 143.7L41.2 138.8L45.7 131.5L46.2 129.8L45.6 114.9L43.6 107.4L37 96.5L35.4 92.2L33.7 78.9L31.9 74.7L26.9 68.2L20.6 62.8L13.7 59.2L6.8 58.1L3.7 55.1L1.2 48.9L0 42.1L0.8 37.1L5.6 37.3L14.4 33.8L21.2 33.7L47.6 37.8L51.6 37.6L54.7 36.3L62.4 29.7L69.3 26.9L84.4 26.8L87.9 26L85.8 42.2L87.8 45.7L92.6 47.9L97.3 54.7L103.6 60.6V63.1L100.4 67.1L103.6 70L110.9 70.4L111.7 71.5L110.4 78.4L107.3 82.4L106.8 86.1L103.9 88.2L97.3 86.6L96 89.1L94.6 94.9L93.2 97.7L93.6 100.5L96.6 107.4L98.7 109.5L104.4 110.3L106.6 112.7L108.2 116.3L110.7 117.3L117.5 117L112 127.6L109.2 131.3L103.6 136.6L103.2 138.3L107.2 141.8L109.3 145.1L110.8 150.4L114.4 150.9L119.6 150.1L121.4 150.7L121.3 152.7L119.1 161.1L119.3 163.7L122.5 166.1L119.6 168.7L115.2 171.5L111 172.4L108.5 174.5L104.1 176.1L97.6 179.5L94.8 177.6L90.6 171.1L83.8 170.7L80.3 174.3L73.6 174.4L69.1 173.3L65.8 170.7L61 169.6L58.4 168L56.1 168.3L51 171.3L45 173.1L41.7 175.1L39.4 180.3L34.8 183.2L31.1 186.9L28.2 186.4Z\"],\n [\"Ararat\", \"M265.7 329.7L264.4 328.2L258.8 325.3L252.6 327.4L246.5 332.1L241.2 335.1L235.6 336.4L228.4 336.3L220.7 337.7L216 339.7L213.4 335.4L203.4 322.1L200.8 319.5L198.1 319.7L195.1 317.8L189.2 310.8L187 312.2L185.8 306.4L181.9 303.2L180.6 298.1L178.7 294.9L174.5 290.2L165.1 281.9L151.4 273.7L150.9 267.8L149.5 263.7L146.6 258L152.3 249.7L155 247.5L161 244.9L161.4 243.1L163.3 242.6L165.2 243.9L165.1 250.5L166.3 253.9L167.6 255.3L173.4 256.6L176.2 258.4L177.6 261.9L180.1 264.3L183.7 263.9L188.1 260.9L195.3 251.3L196.9 252.1L198.5 255.9L202.7 258.3L210.9 256.8L217.6 254.7L230 247.7L234.6 245.8L240.6 244.1L247 241.5L252 240.9L258.1 241.2L257.3 247.4L255.5 254.4L255.7 259.2L263.6 278.8L266.9 281.2L267 287.5L269.3 295.6L269.9 301.6L271.3 304.9L267.4 313.7L266.1 317.9V325L265.7 329.7Z\"],\n [\"Tavush\", \"M229.6 14.3L228.5 12.7L222.5 9.8L221.1 6.8L224.3 3.6L239.9 6.1L246 5.9L253.6 0L259.6 12.7L258 17.2L258.9 19.8L261.6 21H272.2L275 22L283.4 28.6L285.5 31.6L285.8 35L280.2 39.1L264.2 38.4L262.5 45.3L264.6 48.9L268.1 51.2L271.2 51.6L272.7 45.1L275.4 46.5L280.7 52L284 54.1L289.2 59L296.8 59.9L303.9 62.8L307.6 63.4L316.7 58.8L321.2 58.3L322.2 63.4L320.8 70.3L322.8 72.5L326.7 73.5L331 77L338 85.8L340.6 88.5L347.8 89.8L350.6 91.2L350.9 95.9L347.9 104.8L343.7 109.7L324.6 119L318.2 124.3L314.1 131.6L314.2 136.7L311 135.5L305.6 129.7L298.9 126.7L295.1 122.1L292.6 120.7L281.6 119.5L275.5 124L269.2 126.7L266.9 129.3L263.8 136.2L259.6 138.4L252.7 139.7L247.4 137.8L244.3 135L239.4 132.9L220.1 137L216.1 133.8L216.3 121.3L212.9 110.8L215.2 107.4L218.3 105.9L223.9 104.4L226 103L227.8 100.1L231.2 89L232.7 86.4L237.9 81.6L237.4 78.8L233.6 74.5L230.7 72.9L224.4 72.2L218.3 67.4L216.2 64.7L216.3 62.2L221.6 56.1L224.8 55.2L228 57.2L232.4 56.8L242.9 48.7L243 45.6L241.1 42.7L236.4 40.2L234.5 36.9L233.8 32.4L234.5 27.9L240.5 23.5L240.6 20.2L239 18.4L233.5 14.7L229.6 14.3ZM289 66.6L284.3 62.6L282 63.5L283.5 68.4L287.3 69L289 66.6ZM258.1 52.2L256.3 46.2L249.9 44.6L247.4 46.4L246.9 49.4L247.9 52.6L249.9 55.2L255.8 57.2L258.1 52.2Z\"],\n [\"Kotayk\", \"M216.1 133.8L220.1 137L220.6 141.2L219 144.5L218.7 148.3L220.4 159.7L221.9 162.4L227.6 162.6L231.4 167.7L232.3 171.5L231.1 177.2L231.9 179L236.8 182.3L238.7 185.2L246.3 213.6L246.6 216.1L244.2 219.2L244.5 224.4L255.7 237.5L258.1 241.2L252 240.9L247 241.5L240.6 244.1L234.6 245.8L230 247.7L217.6 254.7L210.9 256.8L202.7 258.3L198.5 255.9L196.9 252.1L195.3 251.3L194.1 248.1L191.9 247L186 247.2L184.4 245.1L185.7 240.9L190.6 234.3L185.9 228.3L183 227L175.5 230L169.1 230.6L166.6 230L163.7 231.2L161.2 230.9L159.1 232.9L157 227.9L156.8 224L160.2 221.1L160.6 218.3L157.6 215.8L156.4 213.7L156.9 211.3L162.1 208.3L168.2 197.5L172.2 194.6L172.5 191.7L171 186.9L179 164.1L180.2 158.5L180.3 155.2L178.1 154.1L170.5 152.4L160.1 144.6L158.8 142.2L159.6 137.3L158.5 130L172.1 126.5L176.1 126.2L180.3 128.8L184.9 127.1L187.1 127.3L195.3 131.7L201.9 133.8L209.7 134.5L216.1 133.8Z\"],\n [\"Lori\", \"M216.1 133.8L209.7 134.5L201.9 133.8L195.3 131.7L187.1 127.3L184.9 127.1L180.3 128.8L176.1 126.2L172.1 126.5L158.5 130L157.7 126.7L155.4 123.9L151.4 121.3L142.8 117.8L137.3 117.1L131.9 121.8L129.1 122.4L126.1 121.5L121.4 116.8L117.5 117L110.7 117.3L108.2 116.3L106.6 112.7L104.4 110.3L98.7 109.5L96.6 107.4L93.6 100.5L93.2 97.6998L94.6 94.8998L96 89.0998L97.3 86.5998L103.9 88.1998L106.8 86.0998L107.3 82.3998L110.4 78.3998L111.7 71.4998L110.9 70.3998L103.6 69.9998L100.4 67.0998L103.6 63.0998V60.5998L97.3 54.6998L92.6 47.8998L87.8 45.6998L85.8 42.1998L87.9 25.9998L91.7 25.0998L98.2 22.1998L101.5 21.9998L108.3 23.8998L111.7 23.2998L114.9 21.6998L117.5 19.1998L118.9 13.6998L122.5 12.2998L126.9 14.1998L134.7 19.6998L137.6 20.7998L141.4 20.1998L145.5 16.6998L149.3 16.3998L158 21.6998L161.5 22.9998L165.1 23.1998L169 22.0998L173.4 17.6998H175.1L177.4 23.0998L180.7 24.0998L183.1 21.9998L187.2 15.7998L190.7 14.2998L194 14.6998L200.7 17.3998L224.4 17.9998L228.7 17.3998L229.6 14.2998L233.5 14.6998L239 18.3998L240.6 20.1998L240.5 23.4998L234.5 27.8998L233.8 32.3998L234.5 36.8998L236.4 40.1998L241.1 42.6998L243 45.5998L242.9 48.6998L232.4 56.7998L228 57.1998L224.8 55.1998L221.6 56.0998L216.3 62.1998L216.2 64.6998L218.3 67.3998L224.4 72.1998L230.7 72.8998L233.6 74.4998L237.4 78.7998L237.9 81.5998L232.7 86.3998L231.2 88.9998L227.8 100.1L226 103L223.9 104.4L218.3 105.9L215.2 107.4L212.9 110.8L216.3 121.3L216.1 133.8Z\"],\n [\"Yerevan\", \"M195.3 251.3L188.1 260.9L183.7 263.9L180.1 264.3L177.6 261.9L176.2 258.4L173.4 256.6L167.6 255.3L166.3 253.9L165.1 250.5L165.2 243.9L163.3 242.6L161.4 243.1L159.8 241.3L159.3 237.5L157.8 235.4L159.1 232.9L161.2 230.9L163.7 231.2L166.6 230L169.1 230.6L175.5 230L183 227L185.9 228.3L190.6 234.3L185.7 240.9L184.4 245.1L186 247.2L191.9 247L194.1 248.1L195.3 251.3Z\"],\n [\"Syunik\", \"M386.7 307.4L388 310L395.5 317.3L404.5 321.8L414.9 324.8L419.5 329.2L426 342L431.3 346.1L437.6 347.8L440.4 349.4L442.8 352.4L446.8 359.6L449.3 361.9L453 363L458.7 361.7L470 355.8L475.6 356.1L478 358L482 363.2L484.5 365L487.7 365.5L498.2 364.3L503.7 366.6L505.7 369.4L506.3 372.9L504.9 375.6L500.5 379V382.5L501.7 386.7L498.6 389.3L486.5 391.8L481.2 395.2L479.1 400.7L481.5 407.4L487 411.5L499.1 416.6L501.7 418.8L503.9 425.2L505.6 428.4L509.7 432.5L516.9 437.4L520 441.7L515.1 442.6L507.4 448.3L505.4 448.6L495.2 443.6L489.3 443L485.5 446.6L485.8 453.2L490.1 457.4L495.7 460.4L499.8 463.6L502 470.6L503.1 476.6L502.7 482.7L499.7 493.4V498.6L500.4 501.1L506.4 513.3L503.4 512.5L485.9 505L483.6 504.5L477.8 506.1L471.3 506.5L465.9 508.7L457.3 515.1L454.4 516.5L443.3 518.1L433.3 499.7L424.3 475.6L420.8 468.8L412.9 456.9L411.3 451.3L412.3 445.9L417.3 439.1L416.1 434.2L412.7 431L400.8 425.3L396.7 422.3L390.1 416.1L380.7 413.8L379.2 410.6L380.2 406.3L385.8 397.1L386.5 393.7L384.9 383.9L385.3 374.8L383.8 372.1L380 369.5L375.5 367.7L370.7 368.1L369.3 363.5L373.6 346.2L374.2 338.4L370.9 332.6L372.7 327L381.3 312.1L383.8 309.1L386.7 307.4Z\"],\n [\"Vayots Dzor\", \"M370.7 368.1L350.4 373.2L346 375L332.7 383.6L329.1 385.3L325.3 385.4L323.6 384.4L318.3 379L315.4 377.5L307.5 376.8L305.1 375.8L301.5 369L296.3 361.8L291.9 363.3L287.2 367.6L281 369.1L277.8 367.1L277.2 364L278.8 356.2L279 351.2L278.3 347.3L276.6 343.7L265.7 329.7L266.1 325V317.9L267.4 313.7L271.3 304.9L279.1 299.8L285.7 293.8L289.8 291.2L296.4 288.9L308.5 289.5L313.6 288.5H317.8L329 286.6L331.7 285.6L337.5 282.6L343.1 276.2L344.4 276.3L348.3 279.3L348.7 282.2L353.9 284.6L371.1 286.2L375.6 288.4L379.2 292.3L386.7 307.4L383.8 309.1L381.3 312.1L372.7 327L370.9 332.6L374.2 338.4L373.6 346.2L369.3 363.5L370.7 368.1Z\"],\n [\"Aragatsotn\", \"M157.8 235.4L148.2 233.2L144.6 231.5L141.6 229.1L137.3 226.9L135.5 224.7L132.5 224.2L129.2 225L124.9 227.5L122.7 226.7L120.7 224.3L117.9 223.6L115.7 225.8L116.9 232.5L115 234.5L111.5 235.8L92 235.5L89.5 234.3L84.5 229.1L76.7 225.9L70.3 221L64.2 219.2L61.8 218L59.1 214L57.1 214.4L53.4 218.8L49.3 217L46.6 217.3L42.8 220.7L38.4 223.1L36.2 217.6L29 208L24.7 203.8L23.1 200.4L25.6 194.6L28.2 186.4L31.1 186.9L34.8 183.2L39.4 180.3L41.7 175.1L45 173.1L51 171.3L56.1 168.3L58.4 168L61 169.6L65.8 170.7L69.1 173.3L73.6 174.4L80.3 174.3L83.8 170.7L90.6 171.1L94.8 177.6L97.6 179.5L104.1 176.1L108.5 174.5L111 172.4L115.2 171.5L119.6 168.7L122.5 166.1L119.3 163.7L119.1 161.1L121.3 152.7L121.4 150.7L119.6 150.1L114.4 150.9L110.8 150.4L109.3 145.1L107.2 141.8L103.2 138.3L103.6 136.6L109.2 131.3L112 127.6L117.5 117L121.4 116.8L126.1 121.5L129.1 122.4L131.9 121.8L137.3 117.1L142.8 117.8L151.4 121.3L155.4 123.9L157.7 126.7L158.5 130L159.6 137.3L158.8 142.2L160.1 144.6L170.5 152.4L178.1 154.1L180.3 155.2L180.2 158.5L179 164.1L171 186.9L172.5 191.7L172.2 194.6L168.2 197.5L162.1 208.3L156.9 211.3L156.4 213.7L157.6 215.8L160.6 218.3L160.2 221.1L156.8 224L157 227.9L159.1 232.9L157.8 235.4Z\"],\n ],\n} as const;\n\nexport const WORLD_MAP = {\n width: 392,\n height: 255,\n /** Figma: 1px inside stroke on every country */\n strokeWidth: 1,\n regions: [\n [\"France\", \"M108 133V134H107L100 139L87 135L83 144L79 145L76 144H74V143H73L64 142L54 137L56 135L58 115L48 103L37 98V93L46 91L56 92L53 83L63 87L73 78L79 70L89 81L98 85H99H101L112 90L109 102L100 110L101 113V112H102H104V114L105 116L103 123L108 133Z\"],\n [\"Portugal\", \"M21 184L12 185L13 177L9 173L14 157L13 148H26L24 155V171L21 184Z\"],\n [\"United Kingdom\", \"M23 4V-2L28 -4L27 0L23 4ZM22 32L28 29L32 36L28 41L17 38L22 32ZM47 -4L41 1L54 6L46 21L55 26L57 36L64 41L66 51L74 55L68 67L72 70L66 73L53 75V88L50 75L33 79L40 69H46L33 63L40 59V50L46 48L48 41L44 33L39 38L34 34L37 27L29 8L35 -4H47Z\"],\n [\"Greece\", \"M218 199L209 201L202 198L206 196L218 199ZM226 191L229 190L228 192L227 194L226 191ZM212 186L214 184V186L213 188L212 186ZM213 163H212L213 160H214L213 163ZM187 158V157H188L192 155L198 153L212 154L218 150L220 153L217 158L211 156L197 160L196 163L213 183L204 176L197 182L200 190L192 188L189 177L181 166L184 165L187 158ZM219 169L220 171H219L215 169H218H219Z\"],\n [\"Denmark\", \"M138 25L134 35L129 26L136 21L138 25ZM120 34L116 33H115L112 16L122 10L124 12L128 30L120 28V34Z\"],\n [\"Netherlands\", \"M106 50L105 60L99 73L94 67L89 68L87 65L94 53L102 47L106 50Z\"],\n [\"Turkey\", \"M228 148L235 154L217 158L220 153L218 150L222 147L228 148ZM326 166L322 168L326 185L314 183L312 185L297 188L278 187L274 194L275 186L266 187L256 193L244 187L238 192L223 183L221 181V180L218 176L222 172L219 169H218L217 167L221 160H235V154L247 155L259 148L274 150L284 155L299 156L307 152L314 151L318 155L320 162L326 166Z\"],\n [\"Sweden\", \"M131 -4H206H162L160 2L161 20L150 21L147 28H140L137 12L132 1L130 -3L131 -4Z\"],\n [\"Estonia\", \"M226 -4H222L226 1L225 3L224 6L212 0L206 2L202 -4H229H226Z\"],\n [\"Italy\", \"M137 179L156 176L153 180V188L137 179ZM120 154L122 159L120 170L114 171L112 157L120 154ZM108 133L103 123L105 116L123 112L125 108L136 106L145 111L143 113L145 119L135 121L137 130L144 136L147 143L158 152L170 158L164 159L165 168L158 179L156 163L145 154H141L130 144L123 132L116 128L108 133Z\"],\n [\"Cyprus\", \"M261 200V201L257 203L256 202V203L253 200L255 199H256H260L261 200Z\"],\n [\"Russia\", \"M180 38L184 35L179 38L181 33L187 29L184 33L189 30L198 33L197 39L180 38ZM396 146V71L390 76L376 66L360 65L349 75L347 82L342 76L336 95L345 100L352 112L343 118L338 127L342 140L348 149L343 154L336 149L326 142L298 137L278 122L284 121L288 106L291 99L297 100L299 87L283 77H273L269 69H264L262 58L250 61L247 52L256 48L250 44L245 26L229 21L226 13L224 6L225 3L226 1L227 -4H396V146Z\"],\n [\"Kazakhstan\", \"M396 119L391 124V153L381 145L371 150L372 142L368 141L358 127L371 120L375 108L364 106L352 112L345 100L336 95L342 76L347 82L349 75L360 65L376 66L390 76L395 71H396V119Z\"],\n [\"Azerbaijan\", \"M326 166L332 167L334 172L330 171L326 166ZM336 172L331 163L327 153L336 155V149L343 154L348 149L354 159L350 175L345 172V166L336 172Z\"],\n [\"Armenia\", \"M336 172L335 171L334 172L332 167L326 166L320 162L318 155L323 154L327 153L331 163L336 172Z\"],\n [\"Uzbekistan\", \"M396 119V154L391 153V124L396 119Z\"],\n [\"Spain\", \"M33 192L26 186L21 184L24 171V155L26 148H13L10 139L22 135L54 137L64 142L73 143V144H74H76L79 145L83 144V148L70 155L62 167L66 173L60 181L52 187L38 188L33 192Z\"],\n [\"Morocco\", \"M47 198L48 199L51 200L54 202L57 221L43 224V230L31 237L20 239L14 244V250L13 254L-2 256L-4 259V249L3 242L8 232L7 225L15 212L25 207L30 194H33L39 199L47 198Z\"],\n [\"Saudi Arabia\", \"M347 245L350 251L357 257L361 259H293L270 248L266 247L269 239L275 240L286 231L280 225L293 220L310 227L325 240L336 241L342 242L347 245Z\"],\n [\"Iran\", \"M326 185L322 168L326 166L330 171L334 172L335 171L336 172L345 166V172L350 175L351 180L368 189L380 187L379 183L388 178L396 176V259L394 253L385 258L365 249L357 234L348 235L343 228L341 218L330 207L335 194L329 193L326 185Z\"],\n [\"Croatia\", \"M144 120H154L161 111L166 116H175L176 122L175 125L163 121L157 122L159 130L167 140L151 130V123L146 125L144 120Z\"],\n [\"Libya\", \"M210 259H119L122 258V241L120 233L123 225L132 218V213L153 218L158 226L166 227L176 233L180 231L181 223L191 215L211 223L209 234L210 240V259Z\"],\n [\"Kuwait\", \"M345 235V239L347 245L342 242L336 241L340 235H345Z\"],\n [\"Germany\", \"M115 33H116L120 34L131 43L144 37L146 42L147 43H146L148 45L150 56L151 73L137 77V83L145 92L135 101L121 102L117 100L118 101L114 102H109L112 90L101 85L102 82L100 79L102 78L99 73L105 60L106 50L107 45L117 43L115 33Z\"],\n [\"Switzerland\", \"M109 102H114L118 101L120 103H121L120 106L123 108H125L123 112L105 116L104 114V112L101 113L100 110L109 102Z\"],\n [\"Ireland\", \"M22 32L17 38L28 41L29 53L27 60L7 67L4 63L12 50L6 49L7 39L14 40L16 31L22 32Z\"],\n [\"Latvia\", \"M224 6L226 13L229 21L226 24L220 26L210 17L194 18L187 21L191 5L197 3L203 12L206 2L212 0L224 6Z\"],\n [\"Turkmenistan\", \"M396 154V176L388 178L379 183L377 164L373 163L374 156L378 159L384 155L379 147L371 150L381 145L391 153L396 154Z\"],\n [\"Northern Cyprus\", \"M262 200H261L260 199H256L267 195L263 200H262Z\"],\n [\"Algeria\", \"M36 259L14 253V250V244L20 239L31 237L43 230V224L57 221L54 202L51 200L70 190L107 185L115 186L112 203L108 208L117 221L120 233L122 241V258L119 259H36Z\"],\n [\"Lithuania\", \"M189 30L188 25L187 21L194 18L210 17L220 26L213 39L202 43L201 41L197 39L198 33L189 30Z\"],\n [\"Slovenia\", \"M144 120L143 113L145 111L149 112L158 108H159L161 111L154 120H144Z\"],\n [\"Bosnia and Herzegovina\", \"M168 141L159 130L157 122L163 121L175 125L178 124L177 136L172 140V144L168 141Z\"],\n [\"Jordan\", \"M271 227L272 223V217L273 216L279 219L291 212L293 218V220L280 225L286 231L275 240L269 239L270 232L271 227Z\"],\n [\"Syria\", \"M291 212L279 219L273 216L274 211L278 206L274 203V194L278 187L297 188L312 185L306 189L305 202L291 212Z\"],\n [\"Albania\", \"M178 147L180 143L182 144L184 146V151L185 156L187 157V158L184 165L181 166L177 158L178 149V147Z\"],\n [\"Republic of Serbia\", \"M177 136L178 124L175 125L176 122L175 116L179 114H183L190 122L197 130L198 139L195 145L190 146L186 138L183 141L179 138L177 136Z\"],\n [\"Montenegro\", \"M177 136L179 138L183 141L181 142L182 144L180 143L178 146H176L178 149L174 146L172 144V140L177 136Z\"],\n [\"Ukraine\", \"M194 95L196 89L205 75L202 66L215 63L236 68L250 61L262 58L264 69H269L273 77H283L299 87L297 100L291 99L288 106L268 114L272 123L263 129L256 118L262 116L250 113L247 110L238 122H233L229 120L234 112H240L235 99L227 94L220 96L212 99H198L194 95Z\"],\n [\"Slovakia\", \"M196 89L194 95L184 94L169 100L165 98L163 93L170 89L174 85L192 86L196 89Z\"],\n [\"Bulgaria\", \"M231 134L226 144L228 148L222 147L218 150L212 154L198 153L199 150L195 145L198 139L197 130L213 135L222 130L231 134Z\"],\n [\"Romania\", \"M231 134L222 130L213 135L197 130L190 122L183 114L188 113L193 103L198 99H212L220 96L229 110V120L233 122H238L232 129L231 134Z\"],\n [\"Austria\", \"M120 106L121 102L135 101L145 92L152 90L163 93L165 98L161 100L158 108L149 112L145 111L136 106L125 108L120 106Z\"],\n [\"Hungary\", \"M194 95L198 99L193 103L188 113L183 114L175 116H166L161 111L158 108L161 100L165 98L169 100L184 94L194 95Z\"],\n [\"Belgium\", \"M100 79L98 85L89 81L79 70L83 68H89L94 67L99 73L102 78L100 79Z\"],\n [\"Iraq\", \"M348 235H340L336 241L325 240L310 227L293 220L291 212L305 202L306 189L312 185L314 183L326 185L329 193L335 194L330 207L341 218L343 228L348 235Z\"],\n [\"Georgia\", \"M327 153L318 155L314 151L307 152V143L298 137L326 142L336 149V155L327 153Z\"],\n [\"Kosovo\", \"M184 149L182 144L181 142L183 141L186 138L190 146L184 149Z\"],\n [\"Lebanon\", \"M270 214L272 208L274 203L278 206L274 211L272 214H270Z\"],\n [\"Israel\", \"M264 226L268 219L270 214H272L274 211V215L272 217V223L271 227L269 238L264 226Z\"],\n [\"Poland\", \"M179 38L197 39L201 41L202 43L204 55L200 59L202 66L205 75L196 89L192 86L174 85L173 81L151 73L150 56L148 45L147 43L171 34L179 38Z\"],\n [\"North Macedonia\", \"M195 145L199 150L198 153L192 155L188 157L185 155L184 151V149L190 146L195 145Z\"],\n [\"Belarus\", \"M202 66L200 59L204 55L202 43L213 39L220 26L226 24L229 21L245 26L250 44L256 48L247 52L250 61L236 68L215 63L202 66Z\"],\n [\"Czech Republic\", \"M174 85L170 89L163 93L152 90L145 92L137 83V77L151 73L173 81L174 85Z\"],\n [\"Tunisia\", \"M132 213V218L123 225L120 233L117 221L108 208L112 203L115 186L121 183L130 199L124 205L132 213Z\"],\n [\"Moldova\", \"M229 120V110L220 96L227 94L235 99L240 112H234L229 120Z\"],\n [\"Egypt\", \"M268 238L264 250L255 242L272 259H210V240L209 234L211 223L234 229L242 225L252 228L264 226L268 237V238Z\"],\n ],\n} as const;\n"],"mappings":"A,aAGA,IAAaA,EAAc,CACzB,MAAO,IACP,OAAQ,IAER,YAAa,IACb,QAAS,CACP,CAAC,cAAe,8iCAA8iC,EAC9jC,CAAC,UAAW,kqBAAkqB,EAC9qB,CAAC,SAAU,8jCAA8jC,EACzkC,CAAC,SAAU,6wBAA6wB,EACxxB,CAAC,SAAU,ssCAAssC,EACjtC,CAAC,SAAU,q2BAAq2B,EACh3B,CAAC,OAAQ,+4CAA+4C,EACx5C,CAAC,UAAW,2WAA2W,EACvX,CAAC,SAAU,mnCAAmnC,EAC9nC,CAAC,cAAe,2mBAA2mB,EAC3nB,CAAC,aAAc,gqCAAgqC,CACjrC,CACF,EAEaC,EAAY,CACvB,MAAO,IACP,OAAQ,IAER,YAAa,EACb,QAAS,CACP,CAAC,SAAU,2OAA2O,EACtP,CAAC,WAAY,iEAAiE,EAC9E,CAAC,iBAAkB,sOAAsO,EACzP,CAAC,SAAU,gWAAgW,EAC3W,CAAC,UAAW,+FAA+F,EAC3G,CAAC,cAAe,6DAA6D,EAC7E,CAAC,SAAU,4TAA4T,EACvU,CAAC,SAAU,4EAA4E,EACvF,CAAC,UAAW,2DAA2D,EACvE,CAAC,QAAS,6RAA6R,EACvS,CAAC,SAAU,mEAAmE,EAC9E,CAAC,SAAU,mXAAmX,EAC9X,CAAC,aAAc,uKAAuK,EACtL,CAAC,aAAc,oIAAoI,EACnJ,CAAC,UAAW,2FAA2F,EACvG,CAAC,aAAc,mCAAmC,EAClD,CAAC,QAAS,6JAA6J,EACvK,CAAC,UAAW,2JAA2J,EACvK,CAAC,eAAgB,uIAAuI,EACxJ,CAAC,OAAQ,2NAA2N,EACpO,CAAC,UAAW,+GAA+G,EAC3H,CAAC,QAAS,2IAA2I,EACrJ,CAAC,SAAU,mDAAmD,EAC9D,CAAC,UAAW,mNAAmN,EAC/N,CAAC,cAAe,2GAA2G,EAC3H,CAAC,UAAW,6EAA6E,EACzF,CAAC,SAAU,+FAA+F,EAC1G,CAAC,eAAgB,+GAA+G,EAChI,CAAC,kBAAmB,+CAA+C,EACnE,CAAC,UAAW,qJAAqJ,EACjK,CAAC,YAAa,uFAAuF,EACrG,CAAC,WAAY,mEAAmE,EAChF,CAAC,yBAA0B,+EAA+E,EAC1G,CAAC,SAAU,2GAA2G,EACtH,CAAC,QAAS,uGAAuG,EACjH,CAAC,UAAW,+FAA+F,EAC3G,CAAC,qBAAsB,+HAA+H,EACtJ,CAAC,aAAc,mGAAmG,EAClH,CAAC,UAAW,8OAA8O,EAC1P,CAAC,WAAY,0EAA0E,EACvF,CAAC,WAAY,mHAAmH,EAChI,CAAC,UAAW,6HAA6H,EACzI,CAAC,UAAW,+GAA+G,EAC3H,CAAC,UAAW,0GAA0G,EACtH,CAAC,UAAW,+DAA+D,EAC3E,CAAC,OAAQ,+IAA+I,EACxJ,CAAC,UAAW,2EAA2E,EACvF,CAAC,SAAU,2DAA2D,EACtE,CAAC,UAAW,uDAAuD,EACnE,CAAC,SAAU,+EAA+E,EAC1F,CAAC,SAAU,iIAAiI,EAC5I,CAAC,kBAAmB,+EAA+E,EACnG,CAAC,UAAW,mHAAmH,EAC/H,CAAC,iBAAkB,qEAAqE,EACxF,CAAC,UAAW,+FAA+F,EAC3G,CAAC,UAAW,wDAAwD,EACpE,CAAC,QAAS,uGAAuG,CACnH,CACF,E"}
@@ -0,0 +1,86 @@
1
+ "use client";
2
+ // src/components/RegionMap/mapPaths.ts
3
+ var e = {
4
+ width: 520,
5
+ height: 519,
6
+ strokeWidth: 1.5,
7
+ regions: [
8
+ ["Gegharkunik", "M342.5 142.9L337 147.1L331.4 145.5L330.1 141.2L331.4 136.8L335.6 134.7L340.4 134.9L344.6 137.3L342.5 142.9ZM271.3 304.9L269.9 301.6L269.3 295.6L267 287.5L266.9 281.2L263.6 278.8L255.7 259.2L255.5 254.4L257.3 247.4L258.1 241.2L255.7 237.5L244.5 224.4L244.2 219.2L246.6 216.1L246.3 213.6L238.7 185.2L236.8 182.3L231.9 179L231.1 177.2L232.3 171.5L231.4 167.7L227.6 162.6L221.9 162.4L220.4 159.7L218.7 148.3L219 144.5L220.6 141.2L220.1 137L239.4 132.9L244.3 135L247.4 137.8L252.7 139.7L259.6 138.4L263.8 136.2L266.9 129.3L269.2 126.7L275.5 124L281.6 119.5L292.6 120.7L295.1 122.1L298.9 126.7L305.6 129.7L311 135.5L314.2 136.7V140.7L316.5 145.6L323 151.3L325.8 154.8L326.9 161.7L329.2 165.6L332.6 167.8L339.3 181.5L349 190.6L387.3 211.8L394.5 219.6L397.8 219.7L404.8 218.4L409.6 221.9L413.9 227.5L414.2 231.2L411.4 245L409.4 250.3L406.4 254.5L402.8 257.7L400.3 269.2L397 273.4L385.5 274.6L358.5 270.4L348.1 277.2L348.3 279.3L344.4 276.3L343.1 276.2L337.5 282.6L331.7 285.6L329 286.6L317.8 288.5H313.6L308.5 289.5L296.4 288.9L289.8 291.2L285.7 293.8L279.1 299.8L271.3 304.9Z"],
9
+ ["Armavir", "M151.4 273.7L142.3 268.3L136.3 266.4H130.7L120.8 269L111 270.7L105.9 267.8L102.4 268.6L96.7 272.6L94 273.5L74.3 269.9L56.4 259.7L41.4 255.2L33.9 250.9L31.9 244.8L34.2 242.7L41.7 241.2L43.3 238.4L42.3 236L37.3 229.6L35.6 225.8L38.4 223.1L42.8 220.7L46.6 217.3L49.3 217L53.4 218.8L57.1 214.4L59.1 214L61.8 218L64.2 219.2L70.3 221L76.7 225.9L84.5 229.1L89.5 234.3L92 235.5L111.5 235.8L115 234.5L116.9 232.5L115.7 225.8L117.9 223.6L120.7 224.3L122.7 226.7L124.9 227.5L129.2 225L132.5 224.2L135.5 224.7L137.3 226.9L141.6 229.1L144.6 231.5L148.2 233.2L157.8 235.4L159.3 237.5L159.8 241.3L161.4 243.1L161 244.9L155 247.5L152.3 249.7L146.6 258L149.5 263.7L150.9 267.8L151.4 273.7Z"],
10
+ ["Shirak", "M28.2 186.4L28.4 184.5L21.9 178.8L18.5 174.8L17.8 172L23.5 165.4L27.1 163L31 162.6L29.8 159.5L33.2 161.2L33.1 156L35.4 151.7L42.4 143.7L41.2 138.8L45.7 131.5L46.2 129.8L45.6 114.9L43.6 107.4L37 96.5L35.4 92.2L33.7 78.9L31.9 74.7L26.9 68.2L20.6 62.8L13.7 59.2L6.8 58.1L3.7 55.1L1.2 48.9L0 42.1L0.8 37.1L5.6 37.3L14.4 33.8L21.2 33.7L47.6 37.8L51.6 37.6L54.7 36.3L62.4 29.7L69.3 26.9L84.4 26.8L87.9 26L85.8 42.2L87.8 45.7L92.6 47.9L97.3 54.7L103.6 60.6V63.1L100.4 67.1L103.6 70L110.9 70.4L111.7 71.5L110.4 78.4L107.3 82.4L106.8 86.1L103.9 88.2L97.3 86.6L96 89.1L94.6 94.9L93.2 97.7L93.6 100.5L96.6 107.4L98.7 109.5L104.4 110.3L106.6 112.7L108.2 116.3L110.7 117.3L117.5 117L112 127.6L109.2 131.3L103.6 136.6L103.2 138.3L107.2 141.8L109.3 145.1L110.8 150.4L114.4 150.9L119.6 150.1L121.4 150.7L121.3 152.7L119.1 161.1L119.3 163.7L122.5 166.1L119.6 168.7L115.2 171.5L111 172.4L108.5 174.5L104.1 176.1L97.6 179.5L94.8 177.6L90.6 171.1L83.8 170.7L80.3 174.3L73.6 174.4L69.1 173.3L65.8 170.7L61 169.6L58.4 168L56.1 168.3L51 171.3L45 173.1L41.7 175.1L39.4 180.3L34.8 183.2L31.1 186.9L28.2 186.4Z"],
11
+ ["Ararat", "M265.7 329.7L264.4 328.2L258.8 325.3L252.6 327.4L246.5 332.1L241.2 335.1L235.6 336.4L228.4 336.3L220.7 337.7L216 339.7L213.4 335.4L203.4 322.1L200.8 319.5L198.1 319.7L195.1 317.8L189.2 310.8L187 312.2L185.8 306.4L181.9 303.2L180.6 298.1L178.7 294.9L174.5 290.2L165.1 281.9L151.4 273.7L150.9 267.8L149.5 263.7L146.6 258L152.3 249.7L155 247.5L161 244.9L161.4 243.1L163.3 242.6L165.2 243.9L165.1 250.5L166.3 253.9L167.6 255.3L173.4 256.6L176.2 258.4L177.6 261.9L180.1 264.3L183.7 263.9L188.1 260.9L195.3 251.3L196.9 252.1L198.5 255.9L202.7 258.3L210.9 256.8L217.6 254.7L230 247.7L234.6 245.8L240.6 244.1L247 241.5L252 240.9L258.1 241.2L257.3 247.4L255.5 254.4L255.7 259.2L263.6 278.8L266.9 281.2L267 287.5L269.3 295.6L269.9 301.6L271.3 304.9L267.4 313.7L266.1 317.9V325L265.7 329.7Z"],
12
+ ["Tavush", "M229.6 14.3L228.5 12.7L222.5 9.8L221.1 6.8L224.3 3.6L239.9 6.1L246 5.9L253.6 0L259.6 12.7L258 17.2L258.9 19.8L261.6 21H272.2L275 22L283.4 28.6L285.5 31.6L285.8 35L280.2 39.1L264.2 38.4L262.5 45.3L264.6 48.9L268.1 51.2L271.2 51.6L272.7 45.1L275.4 46.5L280.7 52L284 54.1L289.2 59L296.8 59.9L303.9 62.8L307.6 63.4L316.7 58.8L321.2 58.3L322.2 63.4L320.8 70.3L322.8 72.5L326.7 73.5L331 77L338 85.8L340.6 88.5L347.8 89.8L350.6 91.2L350.9 95.9L347.9 104.8L343.7 109.7L324.6 119L318.2 124.3L314.1 131.6L314.2 136.7L311 135.5L305.6 129.7L298.9 126.7L295.1 122.1L292.6 120.7L281.6 119.5L275.5 124L269.2 126.7L266.9 129.3L263.8 136.2L259.6 138.4L252.7 139.7L247.4 137.8L244.3 135L239.4 132.9L220.1 137L216.1 133.8L216.3 121.3L212.9 110.8L215.2 107.4L218.3 105.9L223.9 104.4L226 103L227.8 100.1L231.2 89L232.7 86.4L237.9 81.6L237.4 78.8L233.6 74.5L230.7 72.9L224.4 72.2L218.3 67.4L216.2 64.7L216.3 62.2L221.6 56.1L224.8 55.2L228 57.2L232.4 56.8L242.9 48.7L243 45.6L241.1 42.7L236.4 40.2L234.5 36.9L233.8 32.4L234.5 27.9L240.5 23.5L240.6 20.2L239 18.4L233.5 14.7L229.6 14.3ZM289 66.6L284.3 62.6L282 63.5L283.5 68.4L287.3 69L289 66.6ZM258.1 52.2L256.3 46.2L249.9 44.6L247.4 46.4L246.9 49.4L247.9 52.6L249.9 55.2L255.8 57.2L258.1 52.2Z"],
13
+ ["Kotayk", "M216.1 133.8L220.1 137L220.6 141.2L219 144.5L218.7 148.3L220.4 159.7L221.9 162.4L227.6 162.6L231.4 167.7L232.3 171.5L231.1 177.2L231.9 179L236.8 182.3L238.7 185.2L246.3 213.6L246.6 216.1L244.2 219.2L244.5 224.4L255.7 237.5L258.1 241.2L252 240.9L247 241.5L240.6 244.1L234.6 245.8L230 247.7L217.6 254.7L210.9 256.8L202.7 258.3L198.5 255.9L196.9 252.1L195.3 251.3L194.1 248.1L191.9 247L186 247.2L184.4 245.1L185.7 240.9L190.6 234.3L185.9 228.3L183 227L175.5 230L169.1 230.6L166.6 230L163.7 231.2L161.2 230.9L159.1 232.9L157 227.9L156.8 224L160.2 221.1L160.6 218.3L157.6 215.8L156.4 213.7L156.9 211.3L162.1 208.3L168.2 197.5L172.2 194.6L172.5 191.7L171 186.9L179 164.1L180.2 158.5L180.3 155.2L178.1 154.1L170.5 152.4L160.1 144.6L158.8 142.2L159.6 137.3L158.5 130L172.1 126.5L176.1 126.2L180.3 128.8L184.9 127.1L187.1 127.3L195.3 131.7L201.9 133.8L209.7 134.5L216.1 133.8Z"],
14
+ ["Lori", "M216.1 133.8L209.7 134.5L201.9 133.8L195.3 131.7L187.1 127.3L184.9 127.1L180.3 128.8L176.1 126.2L172.1 126.5L158.5 130L157.7 126.7L155.4 123.9L151.4 121.3L142.8 117.8L137.3 117.1L131.9 121.8L129.1 122.4L126.1 121.5L121.4 116.8L117.5 117L110.7 117.3L108.2 116.3L106.6 112.7L104.4 110.3L98.7 109.5L96.6 107.4L93.6 100.5L93.2 97.6998L94.6 94.8998L96 89.0998L97.3 86.5998L103.9 88.1998L106.8 86.0998L107.3 82.3998L110.4 78.3998L111.7 71.4998L110.9 70.3998L103.6 69.9998L100.4 67.0998L103.6 63.0998V60.5998L97.3 54.6998L92.6 47.8998L87.8 45.6998L85.8 42.1998L87.9 25.9998L91.7 25.0998L98.2 22.1998L101.5 21.9998L108.3 23.8998L111.7 23.2998L114.9 21.6998L117.5 19.1998L118.9 13.6998L122.5 12.2998L126.9 14.1998L134.7 19.6998L137.6 20.7998L141.4 20.1998L145.5 16.6998L149.3 16.3998L158 21.6998L161.5 22.9998L165.1 23.1998L169 22.0998L173.4 17.6998H175.1L177.4 23.0998L180.7 24.0998L183.1 21.9998L187.2 15.7998L190.7 14.2998L194 14.6998L200.7 17.3998L224.4 17.9998L228.7 17.3998L229.6 14.2998L233.5 14.6998L239 18.3998L240.6 20.1998L240.5 23.4998L234.5 27.8998L233.8 32.3998L234.5 36.8998L236.4 40.1998L241.1 42.6998L243 45.5998L242.9 48.6998L232.4 56.7998L228 57.1998L224.8 55.1998L221.6 56.0998L216.3 62.1998L216.2 64.6998L218.3 67.3998L224.4 72.1998L230.7 72.8998L233.6 74.4998L237.4 78.7998L237.9 81.5998L232.7 86.3998L231.2 88.9998L227.8 100.1L226 103L223.9 104.4L218.3 105.9L215.2 107.4L212.9 110.8L216.3 121.3L216.1 133.8Z"],
15
+ ["Yerevan", "M195.3 251.3L188.1 260.9L183.7 263.9L180.1 264.3L177.6 261.9L176.2 258.4L173.4 256.6L167.6 255.3L166.3 253.9L165.1 250.5L165.2 243.9L163.3 242.6L161.4 243.1L159.8 241.3L159.3 237.5L157.8 235.4L159.1 232.9L161.2 230.9L163.7 231.2L166.6 230L169.1 230.6L175.5 230L183 227L185.9 228.3L190.6 234.3L185.7 240.9L184.4 245.1L186 247.2L191.9 247L194.1 248.1L195.3 251.3Z"],
16
+ ["Syunik", "M386.7 307.4L388 310L395.5 317.3L404.5 321.8L414.9 324.8L419.5 329.2L426 342L431.3 346.1L437.6 347.8L440.4 349.4L442.8 352.4L446.8 359.6L449.3 361.9L453 363L458.7 361.7L470 355.8L475.6 356.1L478 358L482 363.2L484.5 365L487.7 365.5L498.2 364.3L503.7 366.6L505.7 369.4L506.3 372.9L504.9 375.6L500.5 379V382.5L501.7 386.7L498.6 389.3L486.5 391.8L481.2 395.2L479.1 400.7L481.5 407.4L487 411.5L499.1 416.6L501.7 418.8L503.9 425.2L505.6 428.4L509.7 432.5L516.9 437.4L520 441.7L515.1 442.6L507.4 448.3L505.4 448.6L495.2 443.6L489.3 443L485.5 446.6L485.8 453.2L490.1 457.4L495.7 460.4L499.8 463.6L502 470.6L503.1 476.6L502.7 482.7L499.7 493.4V498.6L500.4 501.1L506.4 513.3L503.4 512.5L485.9 505L483.6 504.5L477.8 506.1L471.3 506.5L465.9 508.7L457.3 515.1L454.4 516.5L443.3 518.1L433.3 499.7L424.3 475.6L420.8 468.8L412.9 456.9L411.3 451.3L412.3 445.9L417.3 439.1L416.1 434.2L412.7 431L400.8 425.3L396.7 422.3L390.1 416.1L380.7 413.8L379.2 410.6L380.2 406.3L385.8 397.1L386.5 393.7L384.9 383.9L385.3 374.8L383.8 372.1L380 369.5L375.5 367.7L370.7 368.1L369.3 363.5L373.6 346.2L374.2 338.4L370.9 332.6L372.7 327L381.3 312.1L383.8 309.1L386.7 307.4Z"],
17
+ ["Vayots Dzor", "M370.7 368.1L350.4 373.2L346 375L332.7 383.6L329.1 385.3L325.3 385.4L323.6 384.4L318.3 379L315.4 377.5L307.5 376.8L305.1 375.8L301.5 369L296.3 361.8L291.9 363.3L287.2 367.6L281 369.1L277.8 367.1L277.2 364L278.8 356.2L279 351.2L278.3 347.3L276.6 343.7L265.7 329.7L266.1 325V317.9L267.4 313.7L271.3 304.9L279.1 299.8L285.7 293.8L289.8 291.2L296.4 288.9L308.5 289.5L313.6 288.5H317.8L329 286.6L331.7 285.6L337.5 282.6L343.1 276.2L344.4 276.3L348.3 279.3L348.7 282.2L353.9 284.6L371.1 286.2L375.6 288.4L379.2 292.3L386.7 307.4L383.8 309.1L381.3 312.1L372.7 327L370.9 332.6L374.2 338.4L373.6 346.2L369.3 363.5L370.7 368.1Z"],
18
+ ["Aragatsotn", "M157.8 235.4L148.2 233.2L144.6 231.5L141.6 229.1L137.3 226.9L135.5 224.7L132.5 224.2L129.2 225L124.9 227.5L122.7 226.7L120.7 224.3L117.9 223.6L115.7 225.8L116.9 232.5L115 234.5L111.5 235.8L92 235.5L89.5 234.3L84.5 229.1L76.7 225.9L70.3 221L64.2 219.2L61.8 218L59.1 214L57.1 214.4L53.4 218.8L49.3 217L46.6 217.3L42.8 220.7L38.4 223.1L36.2 217.6L29 208L24.7 203.8L23.1 200.4L25.6 194.6L28.2 186.4L31.1 186.9L34.8 183.2L39.4 180.3L41.7 175.1L45 173.1L51 171.3L56.1 168.3L58.4 168L61 169.6L65.8 170.7L69.1 173.3L73.6 174.4L80.3 174.3L83.8 170.7L90.6 171.1L94.8 177.6L97.6 179.5L104.1 176.1L108.5 174.5L111 172.4L115.2 171.5L119.6 168.7L122.5 166.1L119.3 163.7L119.1 161.1L121.3 152.7L121.4 150.7L119.6 150.1L114.4 150.9L110.8 150.4L109.3 145.1L107.2 141.8L103.2 138.3L103.6 136.6L109.2 131.3L112 127.6L117.5 117L121.4 116.8L126.1 121.5L129.1 122.4L131.9 121.8L137.3 117.1L142.8 117.8L151.4 121.3L155.4 123.9L157.7 126.7L158.5 130L159.6 137.3L158.8 142.2L160.1 144.6L170.5 152.4L178.1 154.1L180.3 155.2L180.2 158.5L179 164.1L171 186.9L172.5 191.7L172.2 194.6L168.2 197.5L162.1 208.3L156.9 211.3L156.4 213.7L157.6 215.8L160.6 218.3L160.2 221.1L156.8 224L157 227.9L159.1 232.9L157.8 235.4Z"]
19
+ ]
20
+ }, t = {
21
+ width: 392,
22
+ height: 255,
23
+ strokeWidth: 1,
24
+ regions: [
25
+ ["France", "M108 133V134H107L100 139L87 135L83 144L79 145L76 144H74V143H73L64 142L54 137L56 135L58 115L48 103L37 98V93L46 91L56 92L53 83L63 87L73 78L79 70L89 81L98 85H99H101L112 90L109 102L100 110L101 113V112H102H104V114L105 116L103 123L108 133Z"],
26
+ ["Portugal", "M21 184L12 185L13 177L9 173L14 157L13 148H26L24 155V171L21 184Z"],
27
+ ["United Kingdom", "M23 4V-2L28 -4L27 0L23 4ZM22 32L28 29L32 36L28 41L17 38L22 32ZM47 -4L41 1L54 6L46 21L55 26L57 36L64 41L66 51L74 55L68 67L72 70L66 73L53 75V88L50 75L33 79L40 69H46L33 63L40 59V50L46 48L48 41L44 33L39 38L34 34L37 27L29 8L35 -4H47Z"],
28
+ ["Greece", "M218 199L209 201L202 198L206 196L218 199ZM226 191L229 190L228 192L227 194L226 191ZM212 186L214 184V186L213 188L212 186ZM213 163H212L213 160H214L213 163ZM187 158V157H188L192 155L198 153L212 154L218 150L220 153L217 158L211 156L197 160L196 163L213 183L204 176L197 182L200 190L192 188L189 177L181 166L184 165L187 158ZM219 169L220 171H219L215 169H218H219Z"],
29
+ ["Denmark", "M138 25L134 35L129 26L136 21L138 25ZM120 34L116 33H115L112 16L122 10L124 12L128 30L120 28V34Z"],
30
+ ["Netherlands", "M106 50L105 60L99 73L94 67L89 68L87 65L94 53L102 47L106 50Z"],
31
+ ["Turkey", "M228 148L235 154L217 158L220 153L218 150L222 147L228 148ZM326 166L322 168L326 185L314 183L312 185L297 188L278 187L274 194L275 186L266 187L256 193L244 187L238 192L223 183L221 181V180L218 176L222 172L219 169H218L217 167L221 160H235V154L247 155L259 148L274 150L284 155L299 156L307 152L314 151L318 155L320 162L326 166Z"],
32
+ ["Sweden", "M131 -4H206H162L160 2L161 20L150 21L147 28H140L137 12L132 1L130 -3L131 -4Z"],
33
+ ["Estonia", "M226 -4H222L226 1L225 3L224 6L212 0L206 2L202 -4H229H226Z"],
34
+ ["Italy", "M137 179L156 176L153 180V188L137 179ZM120 154L122 159L120 170L114 171L112 157L120 154ZM108 133L103 123L105 116L123 112L125 108L136 106L145 111L143 113L145 119L135 121L137 130L144 136L147 143L158 152L170 158L164 159L165 168L158 179L156 163L145 154H141L130 144L123 132L116 128L108 133Z"],
35
+ ["Cyprus", "M261 200V201L257 203L256 202V203L253 200L255 199H256H260L261 200Z"],
36
+ ["Russia", "M180 38L184 35L179 38L181 33L187 29L184 33L189 30L198 33L197 39L180 38ZM396 146V71L390 76L376 66L360 65L349 75L347 82L342 76L336 95L345 100L352 112L343 118L338 127L342 140L348 149L343 154L336 149L326 142L298 137L278 122L284 121L288 106L291 99L297 100L299 87L283 77H273L269 69H264L262 58L250 61L247 52L256 48L250 44L245 26L229 21L226 13L224 6L225 3L226 1L227 -4H396V146Z"],
37
+ ["Kazakhstan", "M396 119L391 124V153L381 145L371 150L372 142L368 141L358 127L371 120L375 108L364 106L352 112L345 100L336 95L342 76L347 82L349 75L360 65L376 66L390 76L395 71H396V119Z"],
38
+ ["Azerbaijan", "M326 166L332 167L334 172L330 171L326 166ZM336 172L331 163L327 153L336 155V149L343 154L348 149L354 159L350 175L345 172V166L336 172Z"],
39
+ ["Armenia", "M336 172L335 171L334 172L332 167L326 166L320 162L318 155L323 154L327 153L331 163L336 172Z"],
40
+ ["Uzbekistan", "M396 119V154L391 153V124L396 119Z"],
41
+ ["Spain", "M33 192L26 186L21 184L24 171V155L26 148H13L10 139L22 135L54 137L64 142L73 143V144H74H76L79 145L83 144V148L70 155L62 167L66 173L60 181L52 187L38 188L33 192Z"],
42
+ ["Morocco", "M47 198L48 199L51 200L54 202L57 221L43 224V230L31 237L20 239L14 244V250L13 254L-2 256L-4 259V249L3 242L8 232L7 225L15 212L25 207L30 194H33L39 199L47 198Z"],
43
+ ["Saudi Arabia", "M347 245L350 251L357 257L361 259H293L270 248L266 247L269 239L275 240L286 231L280 225L293 220L310 227L325 240L336 241L342 242L347 245Z"],
44
+ ["Iran", "M326 185L322 168L326 166L330 171L334 172L335 171L336 172L345 166V172L350 175L351 180L368 189L380 187L379 183L388 178L396 176V259L394 253L385 258L365 249L357 234L348 235L343 228L341 218L330 207L335 194L329 193L326 185Z"],
45
+ ["Croatia", "M144 120H154L161 111L166 116H175L176 122L175 125L163 121L157 122L159 130L167 140L151 130V123L146 125L144 120Z"],
46
+ ["Libya", "M210 259H119L122 258V241L120 233L123 225L132 218V213L153 218L158 226L166 227L176 233L180 231L181 223L191 215L211 223L209 234L210 240V259Z"],
47
+ ["Kuwait", "M345 235V239L347 245L342 242L336 241L340 235H345Z"],
48
+ ["Germany", "M115 33H116L120 34L131 43L144 37L146 42L147 43H146L148 45L150 56L151 73L137 77V83L145 92L135 101L121 102L117 100L118 101L114 102H109L112 90L101 85L102 82L100 79L102 78L99 73L105 60L106 50L107 45L117 43L115 33Z"],
49
+ ["Switzerland", "M109 102H114L118 101L120 103H121L120 106L123 108H125L123 112L105 116L104 114V112L101 113L100 110L109 102Z"],
50
+ ["Ireland", "M22 32L17 38L28 41L29 53L27 60L7 67L4 63L12 50L6 49L7 39L14 40L16 31L22 32Z"],
51
+ ["Latvia", "M224 6L226 13L229 21L226 24L220 26L210 17L194 18L187 21L191 5L197 3L203 12L206 2L212 0L224 6Z"],
52
+ ["Turkmenistan", "M396 154V176L388 178L379 183L377 164L373 163L374 156L378 159L384 155L379 147L371 150L381 145L391 153L396 154Z"],
53
+ ["Northern Cyprus", "M262 200H261L260 199H256L267 195L263 200H262Z"],
54
+ ["Algeria", "M36 259L14 253V250V244L20 239L31 237L43 230V224L57 221L54 202L51 200L70 190L107 185L115 186L112 203L108 208L117 221L120 233L122 241V258L119 259H36Z"],
55
+ ["Lithuania", "M189 30L188 25L187 21L194 18L210 17L220 26L213 39L202 43L201 41L197 39L198 33L189 30Z"],
56
+ ["Slovenia", "M144 120L143 113L145 111L149 112L158 108H159L161 111L154 120H144Z"],
57
+ ["Bosnia and Herzegovina", "M168 141L159 130L157 122L163 121L175 125L178 124L177 136L172 140V144L168 141Z"],
58
+ ["Jordan", "M271 227L272 223V217L273 216L279 219L291 212L293 218V220L280 225L286 231L275 240L269 239L270 232L271 227Z"],
59
+ ["Syria", "M291 212L279 219L273 216L274 211L278 206L274 203V194L278 187L297 188L312 185L306 189L305 202L291 212Z"],
60
+ ["Albania", "M178 147L180 143L182 144L184 146V151L185 156L187 157V158L184 165L181 166L177 158L178 149V147Z"],
61
+ ["Republic of Serbia", "M177 136L178 124L175 125L176 122L175 116L179 114H183L190 122L197 130L198 139L195 145L190 146L186 138L183 141L179 138L177 136Z"],
62
+ ["Montenegro", "M177 136L179 138L183 141L181 142L182 144L180 143L178 146H176L178 149L174 146L172 144V140L177 136Z"],
63
+ ["Ukraine", "M194 95L196 89L205 75L202 66L215 63L236 68L250 61L262 58L264 69H269L273 77H283L299 87L297 100L291 99L288 106L268 114L272 123L263 129L256 118L262 116L250 113L247 110L238 122H233L229 120L234 112H240L235 99L227 94L220 96L212 99H198L194 95Z"],
64
+ ["Slovakia", "M196 89L194 95L184 94L169 100L165 98L163 93L170 89L174 85L192 86L196 89Z"],
65
+ ["Bulgaria", "M231 134L226 144L228 148L222 147L218 150L212 154L198 153L199 150L195 145L198 139L197 130L213 135L222 130L231 134Z"],
66
+ ["Romania", "M231 134L222 130L213 135L197 130L190 122L183 114L188 113L193 103L198 99H212L220 96L229 110V120L233 122H238L232 129L231 134Z"],
67
+ ["Austria", "M120 106L121 102L135 101L145 92L152 90L163 93L165 98L161 100L158 108L149 112L145 111L136 106L125 108L120 106Z"],
68
+ ["Hungary", "M194 95L198 99L193 103L188 113L183 114L175 116H166L161 111L158 108L161 100L165 98L169 100L184 94L194 95Z"],
69
+ ["Belgium", "M100 79L98 85L89 81L79 70L83 68H89L94 67L99 73L102 78L100 79Z"],
70
+ ["Iraq", "M348 235H340L336 241L325 240L310 227L293 220L291 212L305 202L306 189L312 185L314 183L326 185L329 193L335 194L330 207L341 218L343 228L348 235Z"],
71
+ ["Georgia", "M327 153L318 155L314 151L307 152V143L298 137L326 142L336 149V155L327 153Z"],
72
+ ["Kosovo", "M184 149L182 144L181 142L183 141L186 138L190 146L184 149Z"],
73
+ ["Lebanon", "M270 214L272 208L274 203L278 206L274 211L272 214H270Z"],
74
+ ["Israel", "M264 226L268 219L270 214H272L274 211V215L272 217V223L271 227L269 238L264 226Z"],
75
+ ["Poland", "M179 38L197 39L201 41L202 43L204 55L200 59L202 66L205 75L196 89L192 86L174 85L173 81L151 73L150 56L148 45L147 43L171 34L179 38Z"],
76
+ ["North Macedonia", "M195 145L199 150L198 153L192 155L188 157L185 155L184 151V149L190 146L195 145Z"],
77
+ ["Belarus", "M202 66L200 59L204 55L202 43L213 39L220 26L226 24L229 21L245 26L250 44L256 48L247 52L250 61L236 68L215 63L202 66Z"],
78
+ ["Czech Republic", "M174 85L170 89L163 93L152 90L145 92L137 83V77L151 73L173 81L174 85Z"],
79
+ ["Tunisia", "M132 213V218L123 225L120 233L117 221L108 208L112 203L115 186L121 183L130 199L124 205L132 213Z"],
80
+ ["Moldova", "M229 120V110L220 96L227 94L235 99L240 112H234L229 120Z"],
81
+ ["Egypt", "M268 238L264 250L255 242L272 259H210V240L209 234L211 223L234 229L242 225L252 228L264 226L268 237V238Z"]
82
+ ]
83
+ };
84
+ export { e as ARMENIA_MAP, t as WORLD_MAP };
85
+
86
+ //# sourceMappingURL=mapPaths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapPaths.js","names":["ARMENIA_MAP","WORLD_MAP"],"sources":["../../../src/components/RegionMap/mapPaths.ts"],"sourcesContent":["// Path data of the Figma components \"Map / Armenia\" (2733:16846) and \"Map / World\" (2743:16833), exported from the\n// Design System file. Region names are the Figma layer names. Regenerate from Figma rather than editing by hand.\n\nexport const ARMENIA_MAP = {\n width: 520,\n height: 519,\n /** Figma: 1.5px inside stroke on every region */\n strokeWidth: 1.5,\n regions: [\n [\"Gegharkunik\", \"M342.5 142.9L337 147.1L331.4 145.5L330.1 141.2L331.4 136.8L335.6 134.7L340.4 134.9L344.6 137.3L342.5 142.9ZM271.3 304.9L269.9 301.6L269.3 295.6L267 287.5L266.9 281.2L263.6 278.8L255.7 259.2L255.5 254.4L257.3 247.4L258.1 241.2L255.7 237.5L244.5 224.4L244.2 219.2L246.6 216.1L246.3 213.6L238.7 185.2L236.8 182.3L231.9 179L231.1 177.2L232.3 171.5L231.4 167.7L227.6 162.6L221.9 162.4L220.4 159.7L218.7 148.3L219 144.5L220.6 141.2L220.1 137L239.4 132.9L244.3 135L247.4 137.8L252.7 139.7L259.6 138.4L263.8 136.2L266.9 129.3L269.2 126.7L275.5 124L281.6 119.5L292.6 120.7L295.1 122.1L298.9 126.7L305.6 129.7L311 135.5L314.2 136.7V140.7L316.5 145.6L323 151.3L325.8 154.8L326.9 161.7L329.2 165.6L332.6 167.8L339.3 181.5L349 190.6L387.3 211.8L394.5 219.6L397.8 219.7L404.8 218.4L409.6 221.9L413.9 227.5L414.2 231.2L411.4 245L409.4 250.3L406.4 254.5L402.8 257.7L400.3 269.2L397 273.4L385.5 274.6L358.5 270.4L348.1 277.2L348.3 279.3L344.4 276.3L343.1 276.2L337.5 282.6L331.7 285.6L329 286.6L317.8 288.5H313.6L308.5 289.5L296.4 288.9L289.8 291.2L285.7 293.8L279.1 299.8L271.3 304.9Z\"],\n [\"Armavir\", \"M151.4 273.7L142.3 268.3L136.3 266.4H130.7L120.8 269L111 270.7L105.9 267.8L102.4 268.6L96.7 272.6L94 273.5L74.3 269.9L56.4 259.7L41.4 255.2L33.9 250.9L31.9 244.8L34.2 242.7L41.7 241.2L43.3 238.4L42.3 236L37.3 229.6L35.6 225.8L38.4 223.1L42.8 220.7L46.6 217.3L49.3 217L53.4 218.8L57.1 214.4L59.1 214L61.8 218L64.2 219.2L70.3 221L76.7 225.9L84.5 229.1L89.5 234.3L92 235.5L111.5 235.8L115 234.5L116.9 232.5L115.7 225.8L117.9 223.6L120.7 224.3L122.7 226.7L124.9 227.5L129.2 225L132.5 224.2L135.5 224.7L137.3 226.9L141.6 229.1L144.6 231.5L148.2 233.2L157.8 235.4L159.3 237.5L159.8 241.3L161.4 243.1L161 244.9L155 247.5L152.3 249.7L146.6 258L149.5 263.7L150.9 267.8L151.4 273.7Z\"],\n [\"Shirak\", \"M28.2 186.4L28.4 184.5L21.9 178.8L18.5 174.8L17.8 172L23.5 165.4L27.1 163L31 162.6L29.8 159.5L33.2 161.2L33.1 156L35.4 151.7L42.4 143.7L41.2 138.8L45.7 131.5L46.2 129.8L45.6 114.9L43.6 107.4L37 96.5L35.4 92.2L33.7 78.9L31.9 74.7L26.9 68.2L20.6 62.8L13.7 59.2L6.8 58.1L3.7 55.1L1.2 48.9L0 42.1L0.8 37.1L5.6 37.3L14.4 33.8L21.2 33.7L47.6 37.8L51.6 37.6L54.7 36.3L62.4 29.7L69.3 26.9L84.4 26.8L87.9 26L85.8 42.2L87.8 45.7L92.6 47.9L97.3 54.7L103.6 60.6V63.1L100.4 67.1L103.6 70L110.9 70.4L111.7 71.5L110.4 78.4L107.3 82.4L106.8 86.1L103.9 88.2L97.3 86.6L96 89.1L94.6 94.9L93.2 97.7L93.6 100.5L96.6 107.4L98.7 109.5L104.4 110.3L106.6 112.7L108.2 116.3L110.7 117.3L117.5 117L112 127.6L109.2 131.3L103.6 136.6L103.2 138.3L107.2 141.8L109.3 145.1L110.8 150.4L114.4 150.9L119.6 150.1L121.4 150.7L121.3 152.7L119.1 161.1L119.3 163.7L122.5 166.1L119.6 168.7L115.2 171.5L111 172.4L108.5 174.5L104.1 176.1L97.6 179.5L94.8 177.6L90.6 171.1L83.8 170.7L80.3 174.3L73.6 174.4L69.1 173.3L65.8 170.7L61 169.6L58.4 168L56.1 168.3L51 171.3L45 173.1L41.7 175.1L39.4 180.3L34.8 183.2L31.1 186.9L28.2 186.4Z\"],\n [\"Ararat\", \"M265.7 329.7L264.4 328.2L258.8 325.3L252.6 327.4L246.5 332.1L241.2 335.1L235.6 336.4L228.4 336.3L220.7 337.7L216 339.7L213.4 335.4L203.4 322.1L200.8 319.5L198.1 319.7L195.1 317.8L189.2 310.8L187 312.2L185.8 306.4L181.9 303.2L180.6 298.1L178.7 294.9L174.5 290.2L165.1 281.9L151.4 273.7L150.9 267.8L149.5 263.7L146.6 258L152.3 249.7L155 247.5L161 244.9L161.4 243.1L163.3 242.6L165.2 243.9L165.1 250.5L166.3 253.9L167.6 255.3L173.4 256.6L176.2 258.4L177.6 261.9L180.1 264.3L183.7 263.9L188.1 260.9L195.3 251.3L196.9 252.1L198.5 255.9L202.7 258.3L210.9 256.8L217.6 254.7L230 247.7L234.6 245.8L240.6 244.1L247 241.5L252 240.9L258.1 241.2L257.3 247.4L255.5 254.4L255.7 259.2L263.6 278.8L266.9 281.2L267 287.5L269.3 295.6L269.9 301.6L271.3 304.9L267.4 313.7L266.1 317.9V325L265.7 329.7Z\"],\n [\"Tavush\", \"M229.6 14.3L228.5 12.7L222.5 9.8L221.1 6.8L224.3 3.6L239.9 6.1L246 5.9L253.6 0L259.6 12.7L258 17.2L258.9 19.8L261.6 21H272.2L275 22L283.4 28.6L285.5 31.6L285.8 35L280.2 39.1L264.2 38.4L262.5 45.3L264.6 48.9L268.1 51.2L271.2 51.6L272.7 45.1L275.4 46.5L280.7 52L284 54.1L289.2 59L296.8 59.9L303.9 62.8L307.6 63.4L316.7 58.8L321.2 58.3L322.2 63.4L320.8 70.3L322.8 72.5L326.7 73.5L331 77L338 85.8L340.6 88.5L347.8 89.8L350.6 91.2L350.9 95.9L347.9 104.8L343.7 109.7L324.6 119L318.2 124.3L314.1 131.6L314.2 136.7L311 135.5L305.6 129.7L298.9 126.7L295.1 122.1L292.6 120.7L281.6 119.5L275.5 124L269.2 126.7L266.9 129.3L263.8 136.2L259.6 138.4L252.7 139.7L247.4 137.8L244.3 135L239.4 132.9L220.1 137L216.1 133.8L216.3 121.3L212.9 110.8L215.2 107.4L218.3 105.9L223.9 104.4L226 103L227.8 100.1L231.2 89L232.7 86.4L237.9 81.6L237.4 78.8L233.6 74.5L230.7 72.9L224.4 72.2L218.3 67.4L216.2 64.7L216.3 62.2L221.6 56.1L224.8 55.2L228 57.2L232.4 56.8L242.9 48.7L243 45.6L241.1 42.7L236.4 40.2L234.5 36.9L233.8 32.4L234.5 27.9L240.5 23.5L240.6 20.2L239 18.4L233.5 14.7L229.6 14.3ZM289 66.6L284.3 62.6L282 63.5L283.5 68.4L287.3 69L289 66.6ZM258.1 52.2L256.3 46.2L249.9 44.6L247.4 46.4L246.9 49.4L247.9 52.6L249.9 55.2L255.8 57.2L258.1 52.2Z\"],\n [\"Kotayk\", \"M216.1 133.8L220.1 137L220.6 141.2L219 144.5L218.7 148.3L220.4 159.7L221.9 162.4L227.6 162.6L231.4 167.7L232.3 171.5L231.1 177.2L231.9 179L236.8 182.3L238.7 185.2L246.3 213.6L246.6 216.1L244.2 219.2L244.5 224.4L255.7 237.5L258.1 241.2L252 240.9L247 241.5L240.6 244.1L234.6 245.8L230 247.7L217.6 254.7L210.9 256.8L202.7 258.3L198.5 255.9L196.9 252.1L195.3 251.3L194.1 248.1L191.9 247L186 247.2L184.4 245.1L185.7 240.9L190.6 234.3L185.9 228.3L183 227L175.5 230L169.1 230.6L166.6 230L163.7 231.2L161.2 230.9L159.1 232.9L157 227.9L156.8 224L160.2 221.1L160.6 218.3L157.6 215.8L156.4 213.7L156.9 211.3L162.1 208.3L168.2 197.5L172.2 194.6L172.5 191.7L171 186.9L179 164.1L180.2 158.5L180.3 155.2L178.1 154.1L170.5 152.4L160.1 144.6L158.8 142.2L159.6 137.3L158.5 130L172.1 126.5L176.1 126.2L180.3 128.8L184.9 127.1L187.1 127.3L195.3 131.7L201.9 133.8L209.7 134.5L216.1 133.8Z\"],\n [\"Lori\", \"M216.1 133.8L209.7 134.5L201.9 133.8L195.3 131.7L187.1 127.3L184.9 127.1L180.3 128.8L176.1 126.2L172.1 126.5L158.5 130L157.7 126.7L155.4 123.9L151.4 121.3L142.8 117.8L137.3 117.1L131.9 121.8L129.1 122.4L126.1 121.5L121.4 116.8L117.5 117L110.7 117.3L108.2 116.3L106.6 112.7L104.4 110.3L98.7 109.5L96.6 107.4L93.6 100.5L93.2 97.6998L94.6 94.8998L96 89.0998L97.3 86.5998L103.9 88.1998L106.8 86.0998L107.3 82.3998L110.4 78.3998L111.7 71.4998L110.9 70.3998L103.6 69.9998L100.4 67.0998L103.6 63.0998V60.5998L97.3 54.6998L92.6 47.8998L87.8 45.6998L85.8 42.1998L87.9 25.9998L91.7 25.0998L98.2 22.1998L101.5 21.9998L108.3 23.8998L111.7 23.2998L114.9 21.6998L117.5 19.1998L118.9 13.6998L122.5 12.2998L126.9 14.1998L134.7 19.6998L137.6 20.7998L141.4 20.1998L145.5 16.6998L149.3 16.3998L158 21.6998L161.5 22.9998L165.1 23.1998L169 22.0998L173.4 17.6998H175.1L177.4 23.0998L180.7 24.0998L183.1 21.9998L187.2 15.7998L190.7 14.2998L194 14.6998L200.7 17.3998L224.4 17.9998L228.7 17.3998L229.6 14.2998L233.5 14.6998L239 18.3998L240.6 20.1998L240.5 23.4998L234.5 27.8998L233.8 32.3998L234.5 36.8998L236.4 40.1998L241.1 42.6998L243 45.5998L242.9 48.6998L232.4 56.7998L228 57.1998L224.8 55.1998L221.6 56.0998L216.3 62.1998L216.2 64.6998L218.3 67.3998L224.4 72.1998L230.7 72.8998L233.6 74.4998L237.4 78.7998L237.9 81.5998L232.7 86.3998L231.2 88.9998L227.8 100.1L226 103L223.9 104.4L218.3 105.9L215.2 107.4L212.9 110.8L216.3 121.3L216.1 133.8Z\"],\n [\"Yerevan\", \"M195.3 251.3L188.1 260.9L183.7 263.9L180.1 264.3L177.6 261.9L176.2 258.4L173.4 256.6L167.6 255.3L166.3 253.9L165.1 250.5L165.2 243.9L163.3 242.6L161.4 243.1L159.8 241.3L159.3 237.5L157.8 235.4L159.1 232.9L161.2 230.9L163.7 231.2L166.6 230L169.1 230.6L175.5 230L183 227L185.9 228.3L190.6 234.3L185.7 240.9L184.4 245.1L186 247.2L191.9 247L194.1 248.1L195.3 251.3Z\"],\n [\"Syunik\", \"M386.7 307.4L388 310L395.5 317.3L404.5 321.8L414.9 324.8L419.5 329.2L426 342L431.3 346.1L437.6 347.8L440.4 349.4L442.8 352.4L446.8 359.6L449.3 361.9L453 363L458.7 361.7L470 355.8L475.6 356.1L478 358L482 363.2L484.5 365L487.7 365.5L498.2 364.3L503.7 366.6L505.7 369.4L506.3 372.9L504.9 375.6L500.5 379V382.5L501.7 386.7L498.6 389.3L486.5 391.8L481.2 395.2L479.1 400.7L481.5 407.4L487 411.5L499.1 416.6L501.7 418.8L503.9 425.2L505.6 428.4L509.7 432.5L516.9 437.4L520 441.7L515.1 442.6L507.4 448.3L505.4 448.6L495.2 443.6L489.3 443L485.5 446.6L485.8 453.2L490.1 457.4L495.7 460.4L499.8 463.6L502 470.6L503.1 476.6L502.7 482.7L499.7 493.4V498.6L500.4 501.1L506.4 513.3L503.4 512.5L485.9 505L483.6 504.5L477.8 506.1L471.3 506.5L465.9 508.7L457.3 515.1L454.4 516.5L443.3 518.1L433.3 499.7L424.3 475.6L420.8 468.8L412.9 456.9L411.3 451.3L412.3 445.9L417.3 439.1L416.1 434.2L412.7 431L400.8 425.3L396.7 422.3L390.1 416.1L380.7 413.8L379.2 410.6L380.2 406.3L385.8 397.1L386.5 393.7L384.9 383.9L385.3 374.8L383.8 372.1L380 369.5L375.5 367.7L370.7 368.1L369.3 363.5L373.6 346.2L374.2 338.4L370.9 332.6L372.7 327L381.3 312.1L383.8 309.1L386.7 307.4Z\"],\n [\"Vayots Dzor\", \"M370.7 368.1L350.4 373.2L346 375L332.7 383.6L329.1 385.3L325.3 385.4L323.6 384.4L318.3 379L315.4 377.5L307.5 376.8L305.1 375.8L301.5 369L296.3 361.8L291.9 363.3L287.2 367.6L281 369.1L277.8 367.1L277.2 364L278.8 356.2L279 351.2L278.3 347.3L276.6 343.7L265.7 329.7L266.1 325V317.9L267.4 313.7L271.3 304.9L279.1 299.8L285.7 293.8L289.8 291.2L296.4 288.9L308.5 289.5L313.6 288.5H317.8L329 286.6L331.7 285.6L337.5 282.6L343.1 276.2L344.4 276.3L348.3 279.3L348.7 282.2L353.9 284.6L371.1 286.2L375.6 288.4L379.2 292.3L386.7 307.4L383.8 309.1L381.3 312.1L372.7 327L370.9 332.6L374.2 338.4L373.6 346.2L369.3 363.5L370.7 368.1Z\"],\n [\"Aragatsotn\", \"M157.8 235.4L148.2 233.2L144.6 231.5L141.6 229.1L137.3 226.9L135.5 224.7L132.5 224.2L129.2 225L124.9 227.5L122.7 226.7L120.7 224.3L117.9 223.6L115.7 225.8L116.9 232.5L115 234.5L111.5 235.8L92 235.5L89.5 234.3L84.5 229.1L76.7 225.9L70.3 221L64.2 219.2L61.8 218L59.1 214L57.1 214.4L53.4 218.8L49.3 217L46.6 217.3L42.8 220.7L38.4 223.1L36.2 217.6L29 208L24.7 203.8L23.1 200.4L25.6 194.6L28.2 186.4L31.1 186.9L34.8 183.2L39.4 180.3L41.7 175.1L45 173.1L51 171.3L56.1 168.3L58.4 168L61 169.6L65.8 170.7L69.1 173.3L73.6 174.4L80.3 174.3L83.8 170.7L90.6 171.1L94.8 177.6L97.6 179.5L104.1 176.1L108.5 174.5L111 172.4L115.2 171.5L119.6 168.7L122.5 166.1L119.3 163.7L119.1 161.1L121.3 152.7L121.4 150.7L119.6 150.1L114.4 150.9L110.8 150.4L109.3 145.1L107.2 141.8L103.2 138.3L103.6 136.6L109.2 131.3L112 127.6L117.5 117L121.4 116.8L126.1 121.5L129.1 122.4L131.9 121.8L137.3 117.1L142.8 117.8L151.4 121.3L155.4 123.9L157.7 126.7L158.5 130L159.6 137.3L158.8 142.2L160.1 144.6L170.5 152.4L178.1 154.1L180.3 155.2L180.2 158.5L179 164.1L171 186.9L172.5 191.7L172.2 194.6L168.2 197.5L162.1 208.3L156.9 211.3L156.4 213.7L157.6 215.8L160.6 218.3L160.2 221.1L156.8 224L157 227.9L159.1 232.9L157.8 235.4Z\"],\n ],\n} as const;\n\nexport const WORLD_MAP = {\n width: 392,\n height: 255,\n /** Figma: 1px inside stroke on every country */\n strokeWidth: 1,\n regions: [\n [\"France\", \"M108 133V134H107L100 139L87 135L83 144L79 145L76 144H74V143H73L64 142L54 137L56 135L58 115L48 103L37 98V93L46 91L56 92L53 83L63 87L73 78L79 70L89 81L98 85H99H101L112 90L109 102L100 110L101 113V112H102H104V114L105 116L103 123L108 133Z\"],\n [\"Portugal\", \"M21 184L12 185L13 177L9 173L14 157L13 148H26L24 155V171L21 184Z\"],\n [\"United Kingdom\", \"M23 4V-2L28 -4L27 0L23 4ZM22 32L28 29L32 36L28 41L17 38L22 32ZM47 -4L41 1L54 6L46 21L55 26L57 36L64 41L66 51L74 55L68 67L72 70L66 73L53 75V88L50 75L33 79L40 69H46L33 63L40 59V50L46 48L48 41L44 33L39 38L34 34L37 27L29 8L35 -4H47Z\"],\n [\"Greece\", \"M218 199L209 201L202 198L206 196L218 199ZM226 191L229 190L228 192L227 194L226 191ZM212 186L214 184V186L213 188L212 186ZM213 163H212L213 160H214L213 163ZM187 158V157H188L192 155L198 153L212 154L218 150L220 153L217 158L211 156L197 160L196 163L213 183L204 176L197 182L200 190L192 188L189 177L181 166L184 165L187 158ZM219 169L220 171H219L215 169H218H219Z\"],\n [\"Denmark\", \"M138 25L134 35L129 26L136 21L138 25ZM120 34L116 33H115L112 16L122 10L124 12L128 30L120 28V34Z\"],\n [\"Netherlands\", \"M106 50L105 60L99 73L94 67L89 68L87 65L94 53L102 47L106 50Z\"],\n [\"Turkey\", \"M228 148L235 154L217 158L220 153L218 150L222 147L228 148ZM326 166L322 168L326 185L314 183L312 185L297 188L278 187L274 194L275 186L266 187L256 193L244 187L238 192L223 183L221 181V180L218 176L222 172L219 169H218L217 167L221 160H235V154L247 155L259 148L274 150L284 155L299 156L307 152L314 151L318 155L320 162L326 166Z\"],\n [\"Sweden\", \"M131 -4H206H162L160 2L161 20L150 21L147 28H140L137 12L132 1L130 -3L131 -4Z\"],\n [\"Estonia\", \"M226 -4H222L226 1L225 3L224 6L212 0L206 2L202 -4H229H226Z\"],\n [\"Italy\", \"M137 179L156 176L153 180V188L137 179ZM120 154L122 159L120 170L114 171L112 157L120 154ZM108 133L103 123L105 116L123 112L125 108L136 106L145 111L143 113L145 119L135 121L137 130L144 136L147 143L158 152L170 158L164 159L165 168L158 179L156 163L145 154H141L130 144L123 132L116 128L108 133Z\"],\n [\"Cyprus\", \"M261 200V201L257 203L256 202V203L253 200L255 199H256H260L261 200Z\"],\n [\"Russia\", \"M180 38L184 35L179 38L181 33L187 29L184 33L189 30L198 33L197 39L180 38ZM396 146V71L390 76L376 66L360 65L349 75L347 82L342 76L336 95L345 100L352 112L343 118L338 127L342 140L348 149L343 154L336 149L326 142L298 137L278 122L284 121L288 106L291 99L297 100L299 87L283 77H273L269 69H264L262 58L250 61L247 52L256 48L250 44L245 26L229 21L226 13L224 6L225 3L226 1L227 -4H396V146Z\"],\n [\"Kazakhstan\", \"M396 119L391 124V153L381 145L371 150L372 142L368 141L358 127L371 120L375 108L364 106L352 112L345 100L336 95L342 76L347 82L349 75L360 65L376 66L390 76L395 71H396V119Z\"],\n [\"Azerbaijan\", \"M326 166L332 167L334 172L330 171L326 166ZM336 172L331 163L327 153L336 155V149L343 154L348 149L354 159L350 175L345 172V166L336 172Z\"],\n [\"Armenia\", \"M336 172L335 171L334 172L332 167L326 166L320 162L318 155L323 154L327 153L331 163L336 172Z\"],\n [\"Uzbekistan\", \"M396 119V154L391 153V124L396 119Z\"],\n [\"Spain\", \"M33 192L26 186L21 184L24 171V155L26 148H13L10 139L22 135L54 137L64 142L73 143V144H74H76L79 145L83 144V148L70 155L62 167L66 173L60 181L52 187L38 188L33 192Z\"],\n [\"Morocco\", \"M47 198L48 199L51 200L54 202L57 221L43 224V230L31 237L20 239L14 244V250L13 254L-2 256L-4 259V249L3 242L8 232L7 225L15 212L25 207L30 194H33L39 199L47 198Z\"],\n [\"Saudi Arabia\", \"M347 245L350 251L357 257L361 259H293L270 248L266 247L269 239L275 240L286 231L280 225L293 220L310 227L325 240L336 241L342 242L347 245Z\"],\n [\"Iran\", \"M326 185L322 168L326 166L330 171L334 172L335 171L336 172L345 166V172L350 175L351 180L368 189L380 187L379 183L388 178L396 176V259L394 253L385 258L365 249L357 234L348 235L343 228L341 218L330 207L335 194L329 193L326 185Z\"],\n [\"Croatia\", \"M144 120H154L161 111L166 116H175L176 122L175 125L163 121L157 122L159 130L167 140L151 130V123L146 125L144 120Z\"],\n [\"Libya\", \"M210 259H119L122 258V241L120 233L123 225L132 218V213L153 218L158 226L166 227L176 233L180 231L181 223L191 215L211 223L209 234L210 240V259Z\"],\n [\"Kuwait\", \"M345 235V239L347 245L342 242L336 241L340 235H345Z\"],\n [\"Germany\", \"M115 33H116L120 34L131 43L144 37L146 42L147 43H146L148 45L150 56L151 73L137 77V83L145 92L135 101L121 102L117 100L118 101L114 102H109L112 90L101 85L102 82L100 79L102 78L99 73L105 60L106 50L107 45L117 43L115 33Z\"],\n [\"Switzerland\", \"M109 102H114L118 101L120 103H121L120 106L123 108H125L123 112L105 116L104 114V112L101 113L100 110L109 102Z\"],\n [\"Ireland\", \"M22 32L17 38L28 41L29 53L27 60L7 67L4 63L12 50L6 49L7 39L14 40L16 31L22 32Z\"],\n [\"Latvia\", \"M224 6L226 13L229 21L226 24L220 26L210 17L194 18L187 21L191 5L197 3L203 12L206 2L212 0L224 6Z\"],\n [\"Turkmenistan\", \"M396 154V176L388 178L379 183L377 164L373 163L374 156L378 159L384 155L379 147L371 150L381 145L391 153L396 154Z\"],\n [\"Northern Cyprus\", \"M262 200H261L260 199H256L267 195L263 200H262Z\"],\n [\"Algeria\", \"M36 259L14 253V250V244L20 239L31 237L43 230V224L57 221L54 202L51 200L70 190L107 185L115 186L112 203L108 208L117 221L120 233L122 241V258L119 259H36Z\"],\n [\"Lithuania\", \"M189 30L188 25L187 21L194 18L210 17L220 26L213 39L202 43L201 41L197 39L198 33L189 30Z\"],\n [\"Slovenia\", \"M144 120L143 113L145 111L149 112L158 108H159L161 111L154 120H144Z\"],\n [\"Bosnia and Herzegovina\", \"M168 141L159 130L157 122L163 121L175 125L178 124L177 136L172 140V144L168 141Z\"],\n [\"Jordan\", \"M271 227L272 223V217L273 216L279 219L291 212L293 218V220L280 225L286 231L275 240L269 239L270 232L271 227Z\"],\n [\"Syria\", \"M291 212L279 219L273 216L274 211L278 206L274 203V194L278 187L297 188L312 185L306 189L305 202L291 212Z\"],\n [\"Albania\", \"M178 147L180 143L182 144L184 146V151L185 156L187 157V158L184 165L181 166L177 158L178 149V147Z\"],\n [\"Republic of Serbia\", \"M177 136L178 124L175 125L176 122L175 116L179 114H183L190 122L197 130L198 139L195 145L190 146L186 138L183 141L179 138L177 136Z\"],\n [\"Montenegro\", \"M177 136L179 138L183 141L181 142L182 144L180 143L178 146H176L178 149L174 146L172 144V140L177 136Z\"],\n [\"Ukraine\", \"M194 95L196 89L205 75L202 66L215 63L236 68L250 61L262 58L264 69H269L273 77H283L299 87L297 100L291 99L288 106L268 114L272 123L263 129L256 118L262 116L250 113L247 110L238 122H233L229 120L234 112H240L235 99L227 94L220 96L212 99H198L194 95Z\"],\n [\"Slovakia\", \"M196 89L194 95L184 94L169 100L165 98L163 93L170 89L174 85L192 86L196 89Z\"],\n [\"Bulgaria\", \"M231 134L226 144L228 148L222 147L218 150L212 154L198 153L199 150L195 145L198 139L197 130L213 135L222 130L231 134Z\"],\n [\"Romania\", \"M231 134L222 130L213 135L197 130L190 122L183 114L188 113L193 103L198 99H212L220 96L229 110V120L233 122H238L232 129L231 134Z\"],\n [\"Austria\", \"M120 106L121 102L135 101L145 92L152 90L163 93L165 98L161 100L158 108L149 112L145 111L136 106L125 108L120 106Z\"],\n [\"Hungary\", \"M194 95L198 99L193 103L188 113L183 114L175 116H166L161 111L158 108L161 100L165 98L169 100L184 94L194 95Z\"],\n [\"Belgium\", \"M100 79L98 85L89 81L79 70L83 68H89L94 67L99 73L102 78L100 79Z\"],\n [\"Iraq\", \"M348 235H340L336 241L325 240L310 227L293 220L291 212L305 202L306 189L312 185L314 183L326 185L329 193L335 194L330 207L341 218L343 228L348 235Z\"],\n [\"Georgia\", \"M327 153L318 155L314 151L307 152V143L298 137L326 142L336 149V155L327 153Z\"],\n [\"Kosovo\", \"M184 149L182 144L181 142L183 141L186 138L190 146L184 149Z\"],\n [\"Lebanon\", \"M270 214L272 208L274 203L278 206L274 211L272 214H270Z\"],\n [\"Israel\", \"M264 226L268 219L270 214H272L274 211V215L272 217V223L271 227L269 238L264 226Z\"],\n [\"Poland\", \"M179 38L197 39L201 41L202 43L204 55L200 59L202 66L205 75L196 89L192 86L174 85L173 81L151 73L150 56L148 45L147 43L171 34L179 38Z\"],\n [\"North Macedonia\", \"M195 145L199 150L198 153L192 155L188 157L185 155L184 151V149L190 146L195 145Z\"],\n [\"Belarus\", \"M202 66L200 59L204 55L202 43L213 39L220 26L226 24L229 21L245 26L250 44L256 48L247 52L250 61L236 68L215 63L202 66Z\"],\n [\"Czech Republic\", \"M174 85L170 89L163 93L152 90L145 92L137 83V77L151 73L173 81L174 85Z\"],\n [\"Tunisia\", \"M132 213V218L123 225L120 233L117 221L108 208L112 203L115 186L121 183L130 199L124 205L132 213Z\"],\n [\"Moldova\", \"M229 120V110L220 96L227 94L235 99L240 112H234L229 120Z\"],\n [\"Egypt\", \"M268 238L264 250L255 242L272 259H210V240L209 234L211 223L234 229L242 225L252 228L264 226L268 237V238Z\"],\n ],\n} as const;\n"],"mappings":";;AAGA,IAAaA,IAAc;CACzB,OAAO;CACP,QAAQ;CAER,aAAa;CACb,SAAS;EACP,CAAC,eAAe,8iCAA8iC;EAC9jC,CAAC,WAAW,kqBAAkqB;EAC9qB,CAAC,UAAU,8jCAA8jC;EACzkC,CAAC,UAAU,6wBAA6wB;EACxxB,CAAC,UAAU,ssCAAssC;EACjtC,CAAC,UAAU,q2BAAq2B;EACh3B,CAAC,QAAQ,+4CAA+4C;EACx5C,CAAC,WAAW,2WAA2W;EACvX,CAAC,UAAU,mnCAAmnC;EAC9nC,CAAC,eAAe,2mBAA2mB;EAC3nB,CAAC,cAAc,gqCAAgqC;CACjrC;AACF,GAEaC,IAAY;CACvB,OAAO;CACP,QAAQ;CAER,aAAa;CACb,SAAS;EACP,CAAC,UAAU,2OAA2O;EACtP,CAAC,YAAY,iEAAiE;EAC9E,CAAC,kBAAkB,sOAAsO;EACzP,CAAC,UAAU,gWAAgW;EAC3W,CAAC,WAAW,+FAA+F;EAC3G,CAAC,eAAe,6DAA6D;EAC7E,CAAC,UAAU,4TAA4T;EACvU,CAAC,UAAU,4EAA4E;EACvF,CAAC,WAAW,2DAA2D;EACvE,CAAC,SAAS,6RAA6R;EACvS,CAAC,UAAU,mEAAmE;EAC9E,CAAC,UAAU,mXAAmX;EAC9X,CAAC,cAAc,uKAAuK;EACtL,CAAC,cAAc,oIAAoI;EACnJ,CAAC,WAAW,2FAA2F;EACvG,CAAC,cAAc,mCAAmC;EAClD,CAAC,SAAS,6JAA6J;EACvK,CAAC,WAAW,2JAA2J;EACvK,CAAC,gBAAgB,uIAAuI;EACxJ,CAAC,QAAQ,2NAA2N;EACpO,CAAC,WAAW,+GAA+G;EAC3H,CAAC,SAAS,2IAA2I;EACrJ,CAAC,UAAU,mDAAmD;EAC9D,CAAC,WAAW,mNAAmN;EAC/N,CAAC,eAAe,2GAA2G;EAC3H,CAAC,WAAW,6EAA6E;EACzF,CAAC,UAAU,+FAA+F;EAC1G,CAAC,gBAAgB,+GAA+G;EAChI,CAAC,mBAAmB,+CAA+C;EACnE,CAAC,WAAW,qJAAqJ;EACjK,CAAC,aAAa,uFAAuF;EACrG,CAAC,YAAY,mEAAmE;EAChF,CAAC,0BAA0B,+EAA+E;EAC1G,CAAC,UAAU,2GAA2G;EACtH,CAAC,SAAS,uGAAuG;EACjH,CAAC,WAAW,+FAA+F;EAC3G,CAAC,sBAAsB,+HAA+H;EACtJ,CAAC,cAAc,mGAAmG;EAClH,CAAC,WAAW,8OAA8O;EAC1P,CAAC,YAAY,0EAA0E;EACvF,CAAC,YAAY,mHAAmH;EAChI,CAAC,WAAW,6HAA6H;EACzI,CAAC,WAAW,+GAA+G;EAC3H,CAAC,WAAW,0GAA0G;EACtH,CAAC,WAAW,+DAA+D;EAC3E,CAAC,QAAQ,+IAA+I;EACxJ,CAAC,WAAW,2EAA2E;EACvF,CAAC,UAAU,2DAA2D;EACtE,CAAC,WAAW,uDAAuD;EACnE,CAAC,UAAU,+EAA+E;EAC1F,CAAC,UAAU,iIAAiI;EAC5I,CAAC,mBAAmB,+EAA+E;EACnG,CAAC,WAAW,mHAAmH;EAC/H,CAAC,kBAAkB,qEAAqE;EACxF,CAAC,WAAW,+FAA+F;EAC3G,CAAC,WAAW,wDAAwD;EACpE,CAAC,SAAS,uGAAuG;CACnH;AACF"}
@@ -0,0 +1,2 @@
1
+ "use client";const e=require("../../utils/cn.cjs"),t=require("../OptionList/OptionList.cjs"),n=require("../SearchInput/SearchInput.cjs");;/* empty css */let r=require("react"),i=require("react/jsx-runtime");var a=(0,r.forwardRef)(function({results:r,onResultSelect:a,emptyText:o,resultsLabel:s=`Matching requests`,className:c,...l},u){let d=null;return r&&r.length>0?d=(0,i.jsx)(t.OptionList,{size:`md`,surface:!1,"aria-label":s,children:r.map(e=>(0,i.jsx)(t.Option,{icon:e.icon,description:e.meta,indicator:`none`,onClick:()=>a?.(e),children:e.title},e.value))}):r&&o!=null&&o!==!1&&(d=(0,i.jsx)(`p`,{className:`tm-request-search__empty`,children:o})),(0,i.jsx)(n.SearchInput,{ref:u,...l,className:e.cn(`tm-request-search`,c),size:`md`,resultsLabel:s,results:d??void 0})});exports.RequestSearch=a;
2
+ //# sourceMappingURL=RequestSearch.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestSearch.cjs","names":["OptionList","Option","SearchInput","cn","require_cn","require_OptionList","require_SearchInput","react","react_jsx_runtime","RequestSearch","props","panel","results","resultsLabel","result","onResultSelect","emptyText","className"],"sources":["../../../src/components/RequestSearch/RequestSearch.tsx"],"sourcesContent":["import { forwardRef, type ReactNode } from 'react';\nimport { cn } from '../../utils/cn';\nimport { Option, OptionList } from '../OptionList';\nimport { SearchInput, type SearchInputProps } from '../SearchInput';\nimport './RequestSearch.css';\n\nexport interface RequestSearchResult {\n /** Stable id of the request, used as the React key. */\n value: string;\n /** The request name, e.g. \"Summer in Santorini\" (Figma option \"Text\"). */\n title: ReactNode;\n /** The caption under it, e.g. \"Travel Package · TM-24817\" (Figma \"More information here\"). */\n meta?: ReactNode;\n /** Icon of the request type, e.g. `<BriefcaseIcon />` for a package, `<PlaneTakeoffIcon />` for a flight. */\n icon?: ReactNode;\n}\n\nexport interface RequestSearchProps extends Omit<SearchInputProps, 'results' | 'size' | 'elevated'> {\n /** Matching requests (the app searches). `undefined` shows no panel; an empty array shows `emptyText`, if given. */\n results?: RequestSearchResult[];\n /** Called when a result is picked (click, Enter or Space); the panel then closes. */\n onResultSelect?: (result: RequestSearchResult) => void;\n /** Shown in the panel when `results` is empty, e.g. \"No requests match “Rome”\" — not in Figma. */\n emptyText?: ReactNode;\n}\n\n/**\n * Figma component set \"Request search\" (2707:12336): the search box of the My Requests toolbar — a 380px\n * Drop down input (Type=Search, Size M) whose panel lists matching requests with their type icon and reference.\n * Without a visible label, give it an `aria-label`.\n */\nexport const RequestSearch = /* @__PURE__ */ forwardRef<HTMLInputElement, RequestSearchProps>(function RequestSearch(\n { results, onResultSelect, emptyText, resultsLabel = 'Matching requests', className, ...props },\n ref,\n) {\n let panel: ReactNode = null;\n if (results && results.length > 0) {\n panel = (\n <OptionList size=\"md\" surface={false} aria-label={resultsLabel}>\n {results.map((result) => (\n <Option key={result.value} icon={result.icon} description={result.meta} indicator=\"none\" onClick={() => onResultSelect?.(result)}>\n {result.title}\n </Option>\n ))}\n </OptionList>\n );\n } else if (results && emptyText != null && emptyText !== false) {\n panel = <p className=\"tm-request-search__empty\">{emptyText}</p>;\n }\n\n return (\n <SearchInput ref={ref} {...props} className={cn('tm-request-search', className)} size=\"md\" resultsLabel={resultsLabel} results={panel ?? undefined} />\n );\n});\n"],"mappings":"A,kOA+BA,IAAaS,GAAgC,EAAAF,EAAA,WAAA,CAAiD,SAC5F,CAAE,UAAS,iBAAgB,YAAW,eAAe,oBAAqB,YAAW,GAAGG,GACxF,EACA,CACA,IAAIC,EAAmB,KAevB,OAdIC,GAAWA,EAAQ,OAAS,EAC9B,GACE,EAAAJ,EAAA,IAAA,CAACR,EAAAA,WAAD,CAAY,KAAK,KAAK,QAAS,GAAO,aAAYa,EAC/C,SAAAD,EAAQ,IAAK,IACZ,EAAAJ,EAAA,IAAA,CAACP,EAAAA,OAAD,CAA2B,KAAMa,EAAO,KAAM,YAAaA,EAAO,KAAM,UAAU,OAAO,YAAeC,IAAiBD,CAAM,EAC5H,SAAAA,EAAO,KACF,EAFKA,EAAO,KAEZ,CACT,CACS,CAAA,EAELF,GAAWI,GAAa,MAAQA,IAAc,KACvD,GAAQ,EAAAR,EAAA,IAAA,CAAC,IAAD,CAAG,UAAU,2BAA4B,SAAAQ,CAAa,CAAA,IAI9D,EAAAR,EAAA,IAAA,CAACN,EAAAA,YAAD,CAAkB,MAAK,GAAIQ,EAAO,UAAWP,EAAAA,GAAG,oBAAqBc,CAAS,EAAG,KAAK,KAAmB,eAAc,QAASN,GAAS,IAAA,EAAY,CAAA,CAEzJ,CAAC,E"}
@@ -0,0 +1,36 @@
1
+ "use client";
2
+ import { cn as e } from "../../utils/cn.js";
3
+ import { Option as t, OptionList as n } from "../OptionList/OptionList.js";
4
+ import { SearchInput as r } from "../SearchInput/SearchInput.js";
5
+ /* empty css */
6
+ import { forwardRef as i } from "react";
7
+ import { jsx as a } from "react/jsx-runtime";
8
+ // src/components/RequestSearch/RequestSearch.tsx
9
+ var o = /* @__PURE__ */ i(function({ results: i, onResultSelect: o, emptyText: s, resultsLabel: c = "Matching requests", className: l, ...u }, d) {
10
+ let f = null;
11
+ return i && i.length > 0 ? f = /* @__PURE__ */ a(n, {
12
+ size: "md",
13
+ surface: !1,
14
+ "aria-label": c,
15
+ children: i.map((e) => /* @__PURE__ */ a(t, {
16
+ icon: e.icon,
17
+ description: e.meta,
18
+ indicator: "none",
19
+ onClick: () => o?.(e),
20
+ children: e.title
21
+ }, e.value))
22
+ }) : i && s != null && s !== !1 && (f = /* @__PURE__ */ a("p", {
23
+ className: "tm-request-search__empty",
24
+ children: s
25
+ })), /* @__PURE__ */ a(r, {
26
+ ref: d,
27
+ ...u,
28
+ className: e("tm-request-search", l),
29
+ size: "md",
30
+ resultsLabel: c,
31
+ results: f ?? void 0
32
+ });
33
+ });
34
+ export { o as RequestSearch };
35
+
36
+ //# sourceMappingURL=RequestSearch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestSearch.js","names":["RequestSearch","props","panel","results","OptionList","resultsLabel","Option","result","onResultSelect","emptyText","SearchInput","cn","className"],"sources":["../../../src/components/RequestSearch/RequestSearch.tsx"],"sourcesContent":["import { forwardRef, type ReactNode } from 'react';\nimport { cn } from '../../utils/cn';\nimport { Option, OptionList } from '../OptionList';\nimport { SearchInput, type SearchInputProps } from '../SearchInput';\nimport './RequestSearch.css';\n\nexport interface RequestSearchResult {\n /** Stable id of the request, used as the React key. */\n value: string;\n /** The request name, e.g. \"Summer in Santorini\" (Figma option \"Text\"). */\n title: ReactNode;\n /** The caption under it, e.g. \"Travel Package · TM-24817\" (Figma \"More information here\"). */\n meta?: ReactNode;\n /** Icon of the request type, e.g. `<BriefcaseIcon />` for a package, `<PlaneTakeoffIcon />` for a flight. */\n icon?: ReactNode;\n}\n\nexport interface RequestSearchProps extends Omit<SearchInputProps, 'results' | 'size' | 'elevated'> {\n /** Matching requests (the app searches). `undefined` shows no panel; an empty array shows `emptyText`, if given. */\n results?: RequestSearchResult[];\n /** Called when a result is picked (click, Enter or Space); the panel then closes. */\n onResultSelect?: (result: RequestSearchResult) => void;\n /** Shown in the panel when `results` is empty, e.g. \"No requests match “Rome”\" — not in Figma. */\n emptyText?: ReactNode;\n}\n\n/**\n * Figma component set \"Request search\" (2707:12336): the search box of the My Requests toolbar — a 380px\n * Drop down input (Type=Search, Size M) whose panel lists matching requests with their type icon and reference.\n * Without a visible label, give it an `aria-label`.\n */\nexport const RequestSearch = /* @__PURE__ */ forwardRef<HTMLInputElement, RequestSearchProps>(function RequestSearch(\n { results, onResultSelect, emptyText, resultsLabel = 'Matching requests', className, ...props },\n ref,\n) {\n let panel: ReactNode = null;\n if (results && results.length > 0) {\n panel = (\n <OptionList size=\"md\" surface={false} aria-label={resultsLabel}>\n {results.map((result) => (\n <Option key={result.value} icon={result.icon} description={result.meta} indicator=\"none\" onClick={() => onResultSelect?.(result)}>\n {result.title}\n </Option>\n ))}\n </OptionList>\n );\n } else if (results && emptyText != null && emptyText !== false) {\n panel = <p className=\"tm-request-search__empty\">{emptyText}</p>;\n }\n\n return (\n <SearchInput ref={ref} {...props} className={cn('tm-request-search', className)} size=\"md\" resultsLabel={resultsLabel} results={panel ?? undefined} />\n );\n});\n"],"mappings":";;;;;;;;AA+BA,IAAaA,IAAgC,kBAAiD,SAC5F,EAAE,YAAS,mBAAgB,cAAW,kBAAe,qBAAqB,cAAW,GAAGC,KACxF,GACA;CACA,IAAIC,IAAmB;CAevB,OAdIC,KAAWA,EAAQ,SAAS,IAC9B,IACE,kBAACC,GAAD;EAAY,MAAK;EAAK,SAAS;EAAO,cAAYC;EAC/C,UAAAF,EAAQ,KAAK,MACZ,kBAACG,GAAD;GAA2B,MAAMC,EAAO;GAAM,aAAaA,EAAO;GAAM,WAAU;GAAO,eAAeC,IAAiBD,CAAM;GAC5H,UAAAA,EAAO;EACF,GAFKA,EAAO,KAEZ,CACT;CACS,CAAA,IAELJ,KAAWM,KAAa,QAAQA,MAAc,OACvD,IAAQ,kBAAC,KAAD;EAAG,WAAU;EAA4B,UAAAA;CAAa,CAAA,IAI9D,kBAACC,GAAD;EAAkB;EAAK,GAAIT;EAAO,WAAWU,EAAG,qBAAqBC,CAAS;EAAG,MAAK;EAAmB;EAAc,SAASV,KAAS,KAAA;CAAY,CAAA;AAEzJ,CAAC"}
@@ -1,2 +1,2 @@
1
- "use client";const e=require("../../icons/generated/ResizeFieldIcon.cjs"),t=require("../../utils/cn.cjs");;/* empty css */let n=require("react"),r=require("react/jsx-runtime"),i=require("@radix-ui/react-slot");var a=(0,n.forwardRef)(function({className:e,...n},i){return(0,r.jsx)(`div`,{ref:i,className:t.cn(`tm-request-summary`,e),...n})}),o=(0,n.forwardRef)(function({title:e,headingLevel:i=3,action:a,rows:o,className:c,children:l,"aria-labelledby":u,...d},f){let p=(0,n.useId)(),m=`h${i}`,h=!!o?.length||n.Children.toArray(l).length>0;return(0,r.jsxs)(`section`,{ref:f,className:t.cn(`tm-request-summary__section`,c),"aria-labelledby":u??p,...d,children:[(0,r.jsxs)(`div`,{className:`tm-request-summary__header`,children:[(0,r.jsx)(m,{id:p,className:`tm-request-summary__title`,children:e}),a]}),h?(0,r.jsxs)(`dl`,{className:`tm-request-summary__rows`,children:[o?.map((e,t)=>(0,r.jsx)(s,{label:e.label,empty:e.empty,children:e.value},e.key??t)),l]}):null]})}),s=(0,n.forwardRef)(function({label:e,empty:n=!1,className:i,children:a,...o},s){return(0,r.jsxs)(`div`,{ref:s,className:t.cn(`tm-request-summary__row`,i),...o,children:[(0,r.jsx)(`dt`,{className:`tm-request-summary__label`,children:e}),(0,r.jsx)(`dd`,{className:`tm-request-summary__value`,"data-empty":n?``:void 0,children:a})]})}),c=(0,n.forwardRef)(function({icon:n=(0,r.jsx)(e.ResizeFieldIcon,{}),asChild:a=!1,className:o,children:s,...c},l){return(0,r.jsxs)(a?i.Slot:`a`,{ref:l,className:t.cn(`tm-request-summary__edit`,o),"data-tm-icon-size":`sm`,...c,children:[n,(0,r.jsx)(i.Slottable,{children:s??`Edit`})]})});exports.RequestSummary=a,exports.RequestSummaryEditLink=c,exports.RequestSummaryRow=s,exports.RequestSummarySection=o;
1
+ "use client";const e=require("../../utils/cn.cjs");;/* empty css */let t=require("react"),n=require("react/jsx-runtime"),r=require("@radix-ui/react-slot");var i=(0,t.forwardRef)(function({className:t,...r},i){return(0,n.jsx)(`div`,{ref:i,className:e.cn(`tm-request-summary`,t),...r})}),a=(0,t.forwardRef)(function({title:r,headingLevel:i=3,action:a,rows:s,className:c,children:l,"aria-labelledby":u,...d},f){let p=(0,t.useId)(),m=`h${i}`,h=!!s?.length||t.Children.toArray(l).length>0;return(0,n.jsxs)(`section`,{ref:f,className:e.cn(`tm-request-summary__section`,c),"aria-labelledby":u??p,...d,children:[(0,n.jsxs)(`div`,{className:`tm-request-summary__header`,children:[(0,n.jsx)(m,{id:p,className:`tm-request-summary__title`,children:r}),a]}),h?(0,n.jsxs)(`dl`,{className:`tm-request-summary__rows`,children:[s?.map((e,t)=>(0,n.jsx)(o,{label:e.label,empty:e.empty,children:e.value},e.key??t)),l]}):null]})}),o=(0,t.forwardRef)(function({label:t,empty:r=!1,className:i,children:a,...o},s){return(0,n.jsxs)(`div`,{ref:s,className:e.cn(`tm-request-summary__row`,i),...o,children:[(0,n.jsx)(`dt`,{className:`tm-request-summary__label`,children:t}),(0,n.jsx)(`dd`,{className:`tm-request-summary__value`,"data-empty":r?``:void 0,children:a})]})}),s=(0,t.forwardRef)(function({icon:t=null,asChild:i=!1,className:a,children:o,...s},c){return(0,n.jsxs)(i?r.Slot:`a`,{ref:c,className:e.cn(`tm-request-summary__edit`,a),"data-tm-icon-size":`sm`,...s,children:[t,(0,n.jsx)(r.Slottable,{children:o??`Edit`})]})});exports.RequestSummary=i,exports.RequestSummaryEditLink=s,exports.RequestSummaryRow=o,exports.RequestSummarySection=a;
2
2
  //# sourceMappingURL=RequestSummary.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSummary.cjs","names":["cn","useId","Children","ResizeFieldIcon","Slot","Slottable","require_ResizeFieldIcon","require_cn","react","react_jsx_runtime","_radix_ui_react_slot","RequestSummary","props","className","RequestSummarySection","ariaLabelledBy","titleId","Heading","headingLevel","hasRows","rows","children","title","action","RequestSummaryRow","row","index","label","empty","RequestSummaryEditLink","asChild","icon"],"sources":["../../../src/components/RequestSummary/RequestSummary.tsx"],"sourcesContent":["import { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Children, forwardRef, useId, type AnchorHTMLAttributes, type HTMLAttributes, type ReactNode } from 'react';\nimport { ResizeFieldIcon } from '../../icons';\nimport { cn } from '../../utils/cn';\nimport './RequestSummary.css';\n\nexport type RequestSummaryProps = HTMLAttributes<HTMLDivElement>;\n\n/**\n * The details of a request as a card of sections (Figma component set \"Request Summary\"). Put one\n * `RequestSummarySection` per group inside; a divider is drawn between them. It fills its container and stacks\n * labels above values below 560px of own width (Figma \"Mobile / Request Summary\").\n */\nexport const RequestSummary = /* @__PURE__ */ forwardRef<HTMLDivElement, RequestSummaryProps>(function RequestSummary({ className, ...props }, ref) {\n return <div ref={ref} className={cn('tm-request-summary', className)} {...props} />;\n});\n\nexport interface RequestSummaryRowData {\n /** Name of the field, e.g. \"Destination\". */\n label: ReactNode;\n /** Already formatted, translated value. */\n value: ReactNode;\n /** Marks a placeholder value such as \"Not provided\" (lighter text). */\n empty?: boolean;\n /** React key; defaults to the row's index. */\n key?: string | number;\n}\n\nexport interface RequestSummarySectionProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {\n /** Section heading, e.g. \"Trip details\". */\n title: ReactNode;\n /** Heading level of the title; pick the one that fits the page outline. */\n headingLevel?: 2 | 3 | 4 | 5 | 6;\n /** Action at the end of the heading row, usually a `RequestSummaryEditLink`. */\n action?: ReactNode;\n /** The label/value rows as data. `RequestSummaryRow` children are rendered after them. */\n rows?: RequestSummaryRowData[];\n /** `RequestSummaryRow` elements, for rows that need their own markup or conditions. */\n children?: ReactNode;\n}\n\n/** One titled group of rows inside `RequestSummary` (Figma \"Group / …\"). The rows form a description list. */\nexport const RequestSummarySection = /* @__PURE__ */ forwardRef<HTMLElement, RequestSummarySectionProps>(function RequestSummarySection(\n { title, headingLevel = 3, action, rows, className, children, 'aria-labelledby': ariaLabelledBy, ...props },\n ref,\n) {\n const titleId = useId();\n const Heading = `h${headingLevel}` as const;\n const hasRows = Boolean(rows?.length) || Children.toArray(children).length > 0;\n return (\n <section ref={ref} className={cn('tm-request-summary__section', className)} aria-labelledby={ariaLabelledBy ?? titleId} {...props}>\n <div className=\"tm-request-summary__header\">\n <Heading id={titleId} className=\"tm-request-summary__title\">\n {title}\n </Heading>\n {action}\n </div>\n {hasRows ? (\n <dl className=\"tm-request-summary__rows\">\n {rows?.map((row, index) => (\n <RequestSummaryRow key={row.key ?? index} label={row.label} empty={row.empty}>\n {row.value}\n </RequestSummaryRow>\n ))}\n {children}\n </dl>\n ) : null}\n </section>\n );\n});\n\nexport interface RequestSummaryRowProps extends HTMLAttributes<HTMLDivElement> {\n /** Name of the field, e.g. \"Destination\". */\n label: ReactNode;\n /** Marks a placeholder value such as \"Not provided\" (lighter text). */\n empty?: boolean;\n /** The value: already formatted, translated content. */\n children?: ReactNode;\n}\n\n/** A label/value row (Figma \"Row / …\"); must be inside a `RequestSummarySection`. */\nexport const RequestSummaryRow = /* @__PURE__ */ forwardRef<HTMLDivElement, RequestSummaryRowProps>(function RequestSummaryRow(\n { label, empty = false, className, children, ...props },\n ref,\n) {\n return (\n <div ref={ref} className={cn('tm-request-summary__row', className)} {...props}>\n <dt className=\"tm-request-summary__label\">{label}</dt>\n <dd className=\"tm-request-summary__value\" data-empty={empty ? '' : undefined}>\n {children}\n </dd>\n </div>\n );\n});\n\nexport interface RequestSummaryEditLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {\n /** Icon before the label. Defaults to the pencil Figma uses (`resize-field`); `null` removes it. */\n icon?: ReactNode;\n /** Renders the single child element (a router `<Link>`, or a `<button>` that opens an editor) instead of an `<a>`. */\n asChild?: boolean;\n /** Label. Defaults to \"Edit\" — pass the translated text in apps, and name the section for screen readers with `aria-label`. */\n children?: ReactNode;\n}\n\n/** The \"Edit\" link of a section heading (Figma \"Edit link\"). */\nexport const RequestSummaryEditLink = /* @__PURE__ */ forwardRef<HTMLAnchorElement, RequestSummaryEditLinkProps>(function RequestSummaryEditLink(\n { icon = <ResizeFieldIcon />, asChild = false, className, children, ...props },\n ref,\n) {\n const Comp = asChild ? Slot : 'a';\n return (\n <Comp ref={ref} className={cn('tm-request-summary__edit', className)} data-tm-icon-size=\"sm\" {...props}>\n {icon}\n <Slottable>{children ?? 'Edit'}</Slottable>\n </Comp>\n );\n});\n"],"mappings":"A,sOAaA,IAAaW,GAAiC,EAAAH,EAAA,WAAA,CAAgD,SAAwB,CAAE,YAAW,GAAGI,GAAS,EAAK,CAClJ,OAAO,EAAAH,EAAA,IAAA,CAAC,MAAD,CAAU,MAAK,UAAWT,EAAAA,GAAG,qBAAsBa,CAAS,EAAG,GAAID,CAAQ,CAAA,CACpF,CAAC,EA2BYE,GAAwC,EAAAN,EAAA,WAAA,CAAoD,SACvG,CAAE,QAAO,eAAe,EAAG,SAAQ,OAAM,YAAW,WAAU,kBAAmBO,EAAgB,GAAGH,GACpG,EACA,CACA,IAAMI,GAAA,EAAUf,EAAAA,MAAAA,CAAM,EAChBgB,EAAU,IAAIC,IACdC,EAAU,EAAQC,GAAM,QAAWlB,EAAAA,SAAS,QAAQmB,CAAQ,CAAC,CAAC,OAAS,EAC7E,OACE,EAAAZ,EAAA,KAAA,CAAC,UAAD,CAAc,MAAK,UAAWT,EAAAA,GAAG,8BAA+Ba,CAAS,EAAG,kBAAiBE,GAAkBC,EAAS,GAAIJ,EAA5H,SAAA,EACE,EAAAH,EAAA,KAAA,CAAC,MAAD,CAAK,UAAU,6BAAf,SAAA,EACE,EAAAA,EAAA,IAAA,CAACQ,EAAD,CAAS,GAAID,EAAS,UAAU,4BAC7B,SAAAM,CACM,CAAA,EACRC,CACE,CACJ,CAAA,EAAAJ,GACC,EAAAV,EAAA,KAAA,CAAC,KAAD,CAAI,UAAU,2BAAd,SAAA,CACGW,GAAM,KAAK,EAAK,KACf,EAAAX,EAAA,IAAA,CAACe,EAAD,CAA0C,MAAOC,EAAI,MAAO,MAAOA,EAAI,MACpE,SAAAA,EAAI,KACY,EAFKA,EAAI,KAAOC,CAEhB,CACpB,EACAL,CACC,CACF,CAAA,EAAA,IACG,C,EAEb,CAAC,EAYYG,GAAoC,EAAAhB,EAAA,WAAA,CAAmD,SAClG,CAAE,QAAO,QAAQ,GAAO,YAAW,WAAU,GAAGI,GAChD,EACA,CACA,OACE,EAAAH,EAAA,KAAA,CAAC,MAAD,CAAU,MAAK,UAAWT,EAAAA,GAAG,0BAA2Ba,CAAS,EAAG,GAAID,EAAxE,SAAA,EACE,EAAAH,EAAA,IAAA,CAAC,KAAD,CAAI,UAAU,4BAA6B,SAAAkB,CAAU,CAAA,GACrD,EAAAlB,EAAA,IAAA,CAAC,KAAD,CAAI,UAAU,4BAA4B,aAAYmB,EAAQ,GAAK,IAAA,GAChE,UACC,CAAA,CACD,C,EAET,CAAC,EAYYC,GAAyC,EAAArB,EAAA,WAAA,CAA2D,SAC/G,CAAE,QAAO,EAAAC,EAAA,IAAA,CAACN,EAAAA,gBAAD,CAAkB,CAAA,EAAG,UAAU,GAAO,YAAW,WAAU,GAAGS,GACvE,EACA,CAEA,OACE,EAAAH,EAAA,KAAA,CAFWqB,EAAU1B,EAAAA,KAAO,IAE5B,CAAW,MAAK,UAAWJ,EAAAA,GAAG,2BAA4Ba,CAAS,EAAG,oBAAkB,KAAK,GAAID,EAAjG,SAAA,CACGmB,GACD,EAAAtB,EAAA,IAAA,CAACJ,EAAAA,UAAD,CAAA,SAAYgB,GAAY,MAAkB,CAAA,CACtC,C,EAEV,CAAC,E"}
1
+ {"version":3,"file":"RequestSummary.cjs","names":["cn","useId","Children","Slot","Slottable","require_cn","react","react_jsx_runtime","_radix_ui_react_slot","RequestSummary","props","className","RequestSummarySection","ariaLabelledBy","titleId","Heading","headingLevel","hasRows","rows","children","title","action","RequestSummaryRow","row","index","label","empty","RequestSummaryEditLink","asChild","icon"],"sources":["../../../src/components/RequestSummary/RequestSummary.tsx"],"sourcesContent":["import { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Children, forwardRef, useId, type AnchorHTMLAttributes, type HTMLAttributes, type ReactNode } from 'react';\nimport { cn } from '../../utils/cn';\nimport './RequestSummary.css';\n\nexport type RequestSummaryProps = HTMLAttributes<HTMLDivElement>;\n\n/**\n * The details of a request as a card of sections (Figma component set \"Request Summary\"). Put one\n * `RequestSummarySection` per group inside; a divider is drawn between them. It fills its container and stacks\n * labels above values below 560px of own width (Figma \"Mobile / Request Summary\").\n */\nexport const RequestSummary = /* @__PURE__ */ forwardRef<HTMLDivElement, RequestSummaryProps>(function RequestSummary({ className, ...props }, ref) {\n return <div ref={ref} className={cn('tm-request-summary', className)} {...props} />;\n});\n\nexport interface RequestSummaryRowData {\n /** Name of the field, e.g. \"Destination\". */\n label: ReactNode;\n /** Already formatted, translated value. */\n value: ReactNode;\n /** Marks a placeholder value such as \"Not provided\" (lighter text). */\n empty?: boolean;\n /** React key; defaults to the row's index. */\n key?: string | number;\n}\n\nexport interface RequestSummarySectionProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {\n /** Section heading, e.g. \"Trip details\". */\n title: ReactNode;\n /** Heading level of the title; pick the one that fits the page outline. */\n headingLevel?: 2 | 3 | 4 | 5 | 6;\n /** Action at the end of the heading row, usually a `RequestSummaryEditLink`. */\n action?: ReactNode;\n /** The label/value rows as data. `RequestSummaryRow` children are rendered after them. */\n rows?: RequestSummaryRowData[];\n /** `RequestSummaryRow` elements, for rows that need their own markup or conditions. */\n children?: ReactNode;\n}\n\n/** One titled group of rows inside `RequestSummary` (Figma \"Group / …\"). The rows form a description list. */\nexport const RequestSummarySection = /* @__PURE__ */ forwardRef<HTMLElement, RequestSummarySectionProps>(function RequestSummarySection(\n { title, headingLevel = 3, action, rows, className, children, 'aria-labelledby': ariaLabelledBy, ...props },\n ref,\n) {\n const titleId = useId();\n const Heading = `h${headingLevel}` as const;\n const hasRows = Boolean(rows?.length) || Children.toArray(children).length > 0;\n return (\n <section ref={ref} className={cn('tm-request-summary__section', className)} aria-labelledby={ariaLabelledBy ?? titleId} {...props}>\n <div className=\"tm-request-summary__header\">\n <Heading id={titleId} className=\"tm-request-summary__title\">\n {title}\n </Heading>\n {action}\n </div>\n {hasRows ? (\n <dl className=\"tm-request-summary__rows\">\n {rows?.map((row, index) => (\n <RequestSummaryRow key={row.key ?? index} label={row.label} empty={row.empty}>\n {row.value}\n </RequestSummaryRow>\n ))}\n {children}\n </dl>\n ) : null}\n </section>\n );\n});\n\nexport interface RequestSummaryRowProps extends HTMLAttributes<HTMLDivElement> {\n /** Name of the field, e.g. \"Destination\". */\n label: ReactNode;\n /** Marks a placeholder value such as \"Not provided\" (lighter text). */\n empty?: boolean;\n /** The value: already formatted, translated content. */\n children?: ReactNode;\n}\n\n/** A label/value row (Figma \"Row / …\"); must be inside a `RequestSummarySection`. */\nexport const RequestSummaryRow = /* @__PURE__ */ forwardRef<HTMLDivElement, RequestSummaryRowProps>(function RequestSummaryRow(\n { label, empty = false, className, children, ...props },\n ref,\n) {\n return (\n <div ref={ref} className={cn('tm-request-summary__row', className)} {...props}>\n <dt className=\"tm-request-summary__label\">{label}</dt>\n <dd className=\"tm-request-summary__value\" data-empty={empty ? '' : undefined}>\n {children}\n </dd>\n </div>\n );\n});\n\nexport interface RequestSummaryEditLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {\n /** Icon before the label. None by default — Figma shows the word only; pass one (e.g. `<ResizeFieldIcon />`) to add it. */\n icon?: ReactNode;\n /** Renders the single child element (a router `<Link>`, or a `<button>` that opens an editor) instead of an `<a>`. */\n asChild?: boolean;\n /** Label. Defaults to \"Edit\" — pass the translated text in apps, and name the section for screen readers with `aria-label`. */\n children?: ReactNode;\n}\n\n/** The \"Edit\" link of a section heading (Figma \"Edit link\"). */\nexport const RequestSummaryEditLink = /* @__PURE__ */ forwardRef<HTMLAnchorElement, RequestSummaryEditLinkProps>(function RequestSummaryEditLink(\n { icon = null, asChild = false, className, children, ...props },\n ref,\n) {\n const Comp = asChild ? Slot : 'a';\n return (\n <Comp ref={ref} className={cn('tm-request-summary__edit', className)} data-tm-icon-size=\"sm\" {...props}>\n {icon}\n <Slottable>{children ?? 'Edit'}</Slottable>\n </Comp>\n );\n});\n"],"mappings":"A,+KAYA,IAAaS,GAAiC,EAAAH,EAAA,WAAA,CAAgD,SAAwB,CAAE,YAAW,GAAGI,GAAS,EAAK,CAClJ,OAAO,EAAAH,EAAA,IAAA,CAAC,MAAD,CAAU,MAAK,UAAWP,EAAAA,GAAG,qBAAsBW,CAAS,EAAG,GAAID,CAAQ,CAAA,CACpF,CAAC,EA2BYE,GAAwC,EAAAN,EAAA,WAAA,CAAoD,SACvG,CAAE,QAAO,eAAe,EAAG,SAAQ,OAAM,YAAW,WAAU,kBAAmBO,EAAgB,GAAGH,GACpG,EACA,CACA,IAAMI,GAAA,EAAUb,EAAAA,MAAAA,CAAM,EAChBc,EAAU,IAAIC,IACdC,EAAU,EAAQC,GAAM,QAAWhB,EAAAA,SAAS,QAAQiB,CAAQ,CAAC,CAAC,OAAS,EAC7E,OACE,EAAAZ,EAAA,KAAA,CAAC,UAAD,CAAc,MAAK,UAAWP,EAAAA,GAAG,8BAA+BW,CAAS,EAAG,kBAAiBE,GAAkBC,EAAS,GAAIJ,EAA5H,SAAA,EACE,EAAAH,EAAA,KAAA,CAAC,MAAD,CAAK,UAAU,6BAAf,SAAA,EACE,EAAAA,EAAA,IAAA,CAACQ,EAAD,CAAS,GAAID,EAAS,UAAU,4BAC7B,SAAAM,CACM,CAAA,EACRC,CACE,CACJ,CAAA,EAAAJ,GACC,EAAAV,EAAA,KAAA,CAAC,KAAD,CAAI,UAAU,2BAAd,SAAA,CACGW,GAAM,KAAK,EAAK,KACf,EAAAX,EAAA,IAAA,CAACe,EAAD,CAA0C,MAAOC,EAAI,MAAO,MAAOA,EAAI,MACpE,SAAAA,EAAI,KACY,EAFKA,EAAI,KAAOC,CAEhB,CACpB,EACAL,CACC,CACF,CAAA,EAAA,IACG,C,EAEb,CAAC,EAYYG,GAAoC,EAAAhB,EAAA,WAAA,CAAmD,SAClG,CAAE,QAAO,QAAQ,GAAO,YAAW,WAAU,GAAGI,GAChD,EACA,CACA,OACE,EAAAH,EAAA,KAAA,CAAC,MAAD,CAAU,MAAK,UAAWP,EAAAA,GAAG,0BAA2BW,CAAS,EAAG,GAAID,EAAxE,SAAA,EACE,EAAAH,EAAA,IAAA,CAAC,KAAD,CAAI,UAAU,4BAA6B,SAAAkB,CAAU,CAAA,GACrD,EAAAlB,EAAA,IAAA,CAAC,KAAD,CAAI,UAAU,4BAA4B,aAAYmB,EAAQ,GAAK,IAAA,GAChE,UACC,CAAA,CACD,C,EAET,CAAC,EAYYC,GAAyC,EAAArB,EAAA,WAAA,CAA2D,SAC/G,CAAE,OAAO,KAAM,UAAU,GAAO,YAAW,WAAU,GAAGI,GACxD,EACA,CAEA,OACE,EAAAH,EAAA,KAAA,CAFWqB,EAAUzB,EAAAA,KAAO,IAE5B,CAAW,MAAK,UAAWH,EAAAA,GAAG,2BAA4BW,CAAS,EAAG,oBAAkB,KAAK,GAAID,EAAjG,SAAA,CACGmB,GACD,EAAAtB,EAAA,IAAA,CAACH,EAAAA,UAAD,CAAA,SAAYe,GAAY,MAAkB,CAAA,CACtC,C,EAEV,CAAC,E"}
@@ -1,63 +1,62 @@
1
1
  "use client";
2
- import { ResizeFieldIcon as e } from "../../icons/generated/ResizeFieldIcon.js";
3
- import { cn as t } from "../../utils/cn.js";
2
+ import { cn as e } from "../../utils/cn.js";
4
3
  /* empty css */
5
- import { Children as n, forwardRef as r, useId as i } from "react";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
- import { Slot as s, Slottable as c } from "@radix-ui/react-slot";
4
+ import { Children as t, forwardRef as n, useId as r } from "react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Slot as o, Slottable as s } from "@radix-ui/react-slot";
8
7
  // src/components/RequestSummary/RequestSummary.tsx
9
- var l = /* @__PURE__ */ r(function({ className: e, ...n }, r) {
10
- return /* @__PURE__ */ a("div", {
8
+ var c = /* @__PURE__ */ n(function({ className: t, ...n }, r) {
9
+ return /* @__PURE__ */ i("div", {
11
10
  ref: r,
12
- className: t("tm-request-summary", e),
11
+ className: e("tm-request-summary", t),
13
12
  ...n
14
13
  });
15
- }), u = /* @__PURE__ */ r(function({ title: e, headingLevel: r = 3, action: s, rows: c, className: l, children: u, "aria-labelledby": f, ...p }, m) {
16
- let h = i(), g = `h${r}`, _ = !!c?.length || n.toArray(u).length > 0;
17
- return /* @__PURE__ */ o("section", {
14
+ }), l = /* @__PURE__ */ n(function({ title: n, headingLevel: o = 3, action: s, rows: c, className: l, children: d, "aria-labelledby": f, ...p }, m) {
15
+ let h = r(), g = `h${o}`, _ = !!c?.length || t.toArray(d).length > 0;
16
+ return /* @__PURE__ */ a("section", {
18
17
  ref: m,
19
- className: t("tm-request-summary__section", l),
18
+ className: e("tm-request-summary__section", l),
20
19
  "aria-labelledby": f ?? h,
21
20
  ...p,
22
- children: [/* @__PURE__ */ o("div", {
21
+ children: [/* @__PURE__ */ a("div", {
23
22
  className: "tm-request-summary__header",
24
- children: [/* @__PURE__ */ a(g, {
23
+ children: [/* @__PURE__ */ i(g, {
25
24
  id: h,
26
25
  className: "tm-request-summary__title",
27
- children: e
26
+ children: n
28
27
  }), s]
29
- }), _ ? /* @__PURE__ */ o("dl", {
28
+ }), _ ? /* @__PURE__ */ a("dl", {
30
29
  className: "tm-request-summary__rows",
31
- children: [c?.map((e, t) => /* @__PURE__ */ a(d, {
30
+ children: [c?.map((e, t) => /* @__PURE__ */ i(u, {
32
31
  label: e.label,
33
32
  empty: e.empty,
34
33
  children: e.value
35
- }, e.key ?? t)), u]
34
+ }, e.key ?? t)), d]
36
35
  }) : null]
37
36
  });
38
- }), d = /* @__PURE__ */ r(function({ label: e, empty: n = !1, className: r, children: i, ...s }, c) {
39
- return /* @__PURE__ */ o("div", {
37
+ }), u = /* @__PURE__ */ n(function({ label: t, empty: n = !1, className: r, children: o, ...s }, c) {
38
+ return /* @__PURE__ */ a("div", {
40
39
  ref: c,
41
- className: t("tm-request-summary__row", r),
40
+ className: e("tm-request-summary__row", r),
42
41
  ...s,
43
- children: [/* @__PURE__ */ a("dt", {
42
+ children: [/* @__PURE__ */ i("dt", {
44
43
  className: "tm-request-summary__label",
45
- children: e
46
- }), /* @__PURE__ */ a("dd", {
44
+ children: t
45
+ }), /* @__PURE__ */ i("dd", {
47
46
  className: "tm-request-summary__value",
48
47
  "data-empty": n ? "" : void 0,
49
- children: i
48
+ children: o
50
49
  })]
51
50
  });
52
- }), f = /* @__PURE__ */ r(function({ icon: n = /* @__PURE__ */ a(e, {}), asChild: r = !1, className: i, children: l, ...u }, d) {
53
- return /* @__PURE__ */ o(r ? s : "a", {
54
- ref: d,
55
- className: t("tm-request-summary__edit", i),
51
+ }), d = /* @__PURE__ */ n(function({ icon: t = null, asChild: n = !1, className: r, children: c, ...l }, u) {
52
+ return /* @__PURE__ */ a(n ? o : "a", {
53
+ ref: u,
54
+ className: e("tm-request-summary__edit", r),
56
55
  "data-tm-icon-size": "sm",
57
- ...u,
58
- children: [n, /* @__PURE__ */ a(c, { children: l ?? "Edit" })]
56
+ ...l,
57
+ children: [t, /* @__PURE__ */ i(s, { children: c ?? "Edit" })]
59
58
  });
60
59
  });
61
- export { l as RequestSummary, f as RequestSummaryEditLink, d as RequestSummaryRow, u as RequestSummarySection };
60
+ export { c as RequestSummary, d as RequestSummaryEditLink, u as RequestSummaryRow, l as RequestSummarySection };
62
61
 
63
62
  //# sourceMappingURL=RequestSummary.js.map