@ozdao/prometheus-framework 0.0.88 → 0.0.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) hide show
  1. package/dist/{Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs → Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs} +8 -7
  2. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +1 -0
  3. package/dist/{ButtonFollow-728aab73.mjs → ButtonFollow-5e19fc49.mjs} +7 -6
  4. package/dist/ButtonFollow-959861db.js +1 -0
  5. package/dist/CardOrganization-01c2e248.mjs +210 -0
  6. package/dist/CardOrganization-1be3651b.js +1 -0
  7. package/dist/{CardHeader-925a972b.js → Chips-2a0d9bfe.js} +1 -1
  8. package/dist/Chips-f0b7ce36.mjs +110 -0
  9. package/dist/{Feed-a31c43c2.mjs → Feed-8bbb7077.mjs} +100 -95
  10. package/dist/{Feed-dc8b66bf.mjs → Feed-986ddd21.mjs} +114 -126
  11. package/dist/Feed-a2870bbf.js +1 -0
  12. package/dist/Feed-f987d8bb.js +1 -0
  13. package/dist/IconEdit-823ddda9.js +1 -0
  14. package/dist/IconEdit-f0ad8b9a.mjs +205 -0
  15. package/dist/{Image-9a870c88.js → Image-0f2814f0.js} +2 -2
  16. package/dist/{Image-6c7584f5.mjs → Image-9e90a5f6.mjs} +2 -2
  17. package/dist/{PlaceholderUserpic-2221dbf2.mjs → PlaceholderUserpic-14c6ea7e.mjs} +1 -1
  18. package/dist/PlaceholderUserpic-20d58460.js +1 -0
  19. package/dist/{Popup-105ef2c3.js → Popup-0106ee0c.js} +1 -1
  20. package/dist/{Popup-0c791801.mjs → Popup-31c7ffc6.mjs} +1 -1
  21. package/dist/{Product-2fbf9d99.js → Product-54854cd1.js} +2 -2
  22. package/dist/{Product-1724d88d.mjs → Product-58a83c67.mjs} +19 -18
  23. package/dist/ProductEdit-36e5cfdd.js +1 -0
  24. package/dist/{ProductEdit-20709821.mjs → ProductEdit-56752bbe.mjs} +32 -31
  25. package/dist/{ProfileBlogposts-fb014bc6.mjs → ProfileBlogposts-67e1bd8f.mjs} +13 -12
  26. package/dist/ProfileBlogposts-a798df3d.js +1 -0
  27. package/dist/{ProfileComments-58094a50.mjs → ProfileComments-17352b6a.mjs} +9 -8
  28. package/dist/ProfileComments-473c3413.js +1 -0
  29. package/dist/{ProfileEvents-5d206e3d.mjs → ProfileEvents-76166bc5.mjs} +15 -14
  30. package/dist/ProfileEvents-cdebd612.js +1 -0
  31. package/dist/ProfileLikes-da6303a4.js +1 -0
  32. package/dist/{ProfileLikes-503712ec.mjs → ProfileLikes-f838ff5e.mjs} +13 -12
  33. package/dist/ProfileOrganizations-5348e892.js +1 -0
  34. package/dist/{ProfileOrganizations-32ab1e30.mjs → ProfileOrganizations-58ebfe44.mjs} +9 -8
  35. package/dist/Publics-e14d36ed.js +1 -0
  36. package/dist/{Publics-9ebffff1.mjs → Publics-fcb1f708.mjs} +17 -16
  37. package/dist/{Tab-fcb73759.mjs → Tab-a243605d.mjs} +1 -1
  38. package/dist/{UploadImage-441e8526.js → UploadImage-73d66f27.js} +1 -1
  39. package/dist/{UploadImage-d33b293e.mjs → UploadImage-a3ef4012.mjs} +1 -1
  40. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  41. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  42. package/dist/{auth-8b5aac7a.mjs → auth-5217f6a5.mjs} +13 -17
  43. package/dist/auth-5a58f8cb.js +8 -0
  44. package/dist/auth.client.cjs +8 -8
  45. package/dist/auth.client.js +18 -17
  46. package/dist/{auth.validation-093babe9.mjs → auth.validation-9f87ea95.mjs} +1 -1
  47. package/dist/{auth.validation-a18510e8.js → auth.validation-be05e981.js} +1 -1
  48. package/dist/community.client.cjs +1 -1
  49. package/dist/community.client.js +28 -26
  50. package/dist/community.server.js +7 -167
  51. package/dist/community.server.mjs +7 -167
  52. package/dist/components/Address/Address.vue.d.ts.map +1 -1
  53. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  54. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  55. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  56. package/dist/components/Field/Field.vue.d.ts.map +1 -1
  57. package/dist/components/FieldPhone/FieldPhone(script-setup).vue.d.ts +3 -3
  58. package/dist/components/FieldPhone/FieldPhone.vue.d.ts +1 -1
  59. package/dist/components/FieldPhone/FieldPhone.vue.d.ts.map +1 -1
  60. package/dist/components/LocationMarker/LocationMarker.vue.d.ts.map +1 -1
  61. package/dist/components/Map/Map.vue.d.ts.map +1 -1
  62. package/dist/components/Popup/Popup.vue.d.ts.map +1 -1
  63. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  64. package/dist/components/SelectMulti/SelectMulti.vue.d.ts.map +1 -1
  65. package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
  66. package/dist/components/Tab/Tab.vue.d.ts.map +1 -1
  67. package/dist/components/Text/Text.vue.d.ts.map +1 -1
  68. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  69. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  70. package/dist/events.client.cjs +1 -1
  71. package/dist/events.client.js +26 -24
  72. package/dist/{inputs.validation-6960f71b.mjs → inputs.validation-14e8e01f.mjs} +4 -4
  73. package/dist/landing.client.cjs +1 -0
  74. package/dist/landing.client.js +132 -0
  75. package/dist/main.css +1 -1
  76. package/dist/modules/icons/labels/LabelAppStore.vue.d.ts +2 -0
  77. package/dist/modules/icons/labels/LabelGooglePlay.vue.d.ts +2 -0
  78. package/dist/modules/{community/components/blocks/HeaderBlogpost.vue.d.ts → landing/components/sections/MobileApp.vue.d.ts} +3 -3
  79. package/dist/{organizations-1b4c84ee.mjs → organizations-2adff182.mjs} +3 -3
  80. package/dist/organizations-e97a0f85.js +1 -0
  81. package/dist/{organizations.client-253c8068.mjs → organizations.client-88d41199.mjs} +998 -1139
  82. package/dist/organizations.client-d21a22ec.js +3 -0
  83. package/dist/organizations.client.cjs +1 -1
  84. package/dist/organizations.client.js +36 -35
  85. package/dist/organizations.server.js +7 -3
  86. package/dist/organizations.server.mjs +7 -3
  87. package/dist/prometheus-framework.cjs.js +19 -19
  88. package/dist/prometheus-framework.es.js +2173 -2165
  89. package/dist/style.css +1 -1
  90. package/dist/users.client.cjs +1 -1
  91. package/dist/users.client.js +266 -256
  92. package/dist/users.server.js +2 -2
  93. package/dist/users.server.mjs +2 -2
  94. package/package.json +6 -2
  95. package/src/components/Field/Field.vue +2 -1
  96. package/src/components/Text/Text.vue +3 -1
  97. package/src/modules/community/community.server.js +0 -2
  98. package/src/modules/community/components/blocks/CardBlogpost.vue +8 -0
  99. package/src/modules/community/components/pages/Blog.vue +1 -1
  100. package/src/modules/community/components/pages/CreateBlogPost.vue +2 -1
  101. package/src/modules/community/controllers/blog.controller.js +5 -1
  102. package/src/modules/events/components/pages/EditEvent.vue +2 -1
  103. package/src/modules/icons/labels/LabelAppStore.vue +32 -0
  104. package/src/modules/icons/labels/LabelGooglePlay.vue +48 -0
  105. package/src/modules/landing/components/sections/MobileApp.vue +125 -0
  106. package/src/modules/landing/landing.client.js +7 -0
  107. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -1
  108. package/src/modules/organizations/components/blocks/Socials.vue +16 -3
  109. package/src/modules/organizations/components/pages/OrganizationEdit.vue +39 -15
  110. package/src/modules/organizations/components/sections/DetailsTab.vue +13 -9
  111. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  112. package/src/modules/organizations/models/organization.model.js +6 -2
  113. package/src/modules/organizations/store/organizations.js +2 -2
  114. package/src/modules/users/components/pages/Profile.vue +26 -11
  115. package/src/modules/users/components/pages/ProfileEdit.vue +28 -10
  116. package/src/modules/users/models/user.model.js +2 -2
  117. package/src/modules/users/store/users.js +1 -2
  118. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0216f2b0.js +0 -7
  119. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js +0 -1
  120. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +0 -1
  121. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2809e848.mjs +0 -219
  122. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs +0 -80
  123. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-451d2614.mjs +0 -80
  124. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-474eb4c2.js +0 -1
  125. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js +0 -1
  126. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +0 -138
  127. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-85119a4e.js +0 -1
  128. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8cb3c120.mjs +0 -185
  129. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs +0 -138
  130. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js +0 -1
  131. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs +0 -80
  132. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js +0 -1
  133. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e133a3c6.mjs +0 -80
  134. package/dist/ButtonFollow-0d83a04a.mjs +0 -130
  135. package/dist/ButtonFollow-1aca37e0.mjs +0 -130
  136. package/dist/ButtonFollow-1b655344.js +0 -1
  137. package/dist/ButtonFollow-2ce169ca.js +0 -1
  138. package/dist/ButtonFollow-6bbf3e24.mjs +0 -130
  139. package/dist/ButtonFollow-6cd2efa2.mjs +0 -130
  140. package/dist/ButtonFollow-b29bd420.mjs +0 -130
  141. package/dist/ButtonFollow-c4680999.js +0 -1
  142. package/dist/ButtonFollow-c9484003.mjs +0 -130
  143. package/dist/ButtonFollow-d983e174.js +0 -1
  144. package/dist/ButtonFollow-f630623a.js +0 -1
  145. package/dist/ButtonFollow-f9c5dc7a.js +0 -1
  146. package/dist/CardHeader-2d7e5d49.mjs +0 -76
  147. package/dist/CardHeader-2ef6618e.mjs +0 -96
  148. package/dist/CardHeader-377cfc4b.js +0 -1
  149. package/dist/CardHeader-39f75e85.mjs +0 -76
  150. package/dist/CardHeader-88de7b20.mjs +0 -76
  151. package/dist/CardHeader-ce5a1a75.mjs +0 -96
  152. package/dist/CardHeader-ddf82318.js +0 -1
  153. package/dist/CardHeader-dff9c71a.js +0 -1
  154. package/dist/CardHeader-e15eb618.js +0 -1
  155. package/dist/CardHeader-e517c801.mjs +0 -76
  156. package/dist/CardOrganization-0291683b.js +0 -1
  157. package/dist/CardOrganization-1384ff9a.mjs +0 -320
  158. package/dist/CardOrganization-21de52b3.js +0 -1
  159. package/dist/CardOrganization-3c42e14f.mjs +0 -320
  160. package/dist/CardOrganization-4859370e.mjs +0 -320
  161. package/dist/CardOrganization-58b54995.js +0 -1
  162. package/dist/CardOrganization-91e79698.mjs +0 -320
  163. package/dist/CardOrganization-9841dbe0.js +0 -1
  164. package/dist/CardOrganization-a05f3a19.js +0 -1
  165. package/dist/CardOrganization-a75b523d.mjs +0 -63
  166. package/dist/CardOrganization-d462e158.mjs +0 -320
  167. package/dist/CardOrganization-ee5c34ab.js +0 -1
  168. package/dist/CardOrganization-f70bd169.mjs +0 -202
  169. package/dist/CardOrganization-ffa585a7.js +0 -1
  170. package/dist/Comments-1aec0e5e.js +0 -1
  171. package/dist/Comments-5ed669ea.mjs +0 -74
  172. package/dist/Comments-63f154a6.js +0 -9
  173. package/dist/Comments-641516f8.mjs +0 -76
  174. package/dist/Comments-646c73ee.js +0 -1
  175. package/dist/Comments-6ff58c26.js +0 -1
  176. package/dist/Comments-7c4f2715.js +0 -1
  177. package/dist/Comments-81feeb4a.mjs +0 -76
  178. package/dist/Comments-9427a0eb.mjs +0 -76
  179. package/dist/Comments-b5821190.mjs +0 -76
  180. package/dist/Comments-b620bae6.js +0 -1
  181. package/dist/Comments-b6e32958.js +0 -1
  182. package/dist/Comments-c092550f.mjs +0 -76
  183. package/dist/Comments-c5afa4d6.mjs +0 -459
  184. package/dist/Comments-d2a8fd0f.mjs +0 -76
  185. package/dist/DepartmentEdit-305a0f5d.mjs +0 -374
  186. package/dist/DepartmentEdit-6abd59e1.js +0 -1
  187. package/dist/DepartmentEdit-9e6fe007.mjs +0 -374
  188. package/dist/DepartmentEdit-d98c2239.js +0 -1
  189. package/dist/EditProductImages-04ec4326.js +0 -1
  190. package/dist/EditProductImages-11510b66.js +0 -1
  191. package/dist/EditProductImages-1d4b44a9.mjs +0 -236
  192. package/dist/EditProductImages-4246db75.mjs +0 -236
  193. package/dist/EditProductImages-42f9f665.mjs +0 -236
  194. package/dist/EditProductImages-61ff4321.mjs +0 -236
  195. package/dist/EditProductImages-98d13eb0.js +0 -1
  196. package/dist/EditProductImages-9f25f39f.mjs +0 -236
  197. package/dist/EditProductImages-b1b05c03.js +0 -1
  198. package/dist/EditProductImages-c7daafb2.mjs +0 -236
  199. package/dist/EditProductImages-cf67d31b.js +0 -1
  200. package/dist/EditProductImages-cfb1856e.mjs +0 -237
  201. package/dist/EditProductImages-d9228ad0.js +0 -1
  202. package/dist/EditProductImages-ec630dbf.js +0 -1
  203. package/dist/EditProductImages-f983f473.mjs +0 -236
  204. package/dist/EmptyState-1214f70b.mjs +0 -36
  205. package/dist/EmptyState-23c13029.js +0 -1
  206. package/dist/Feed-0b549674.js +0 -1
  207. package/dist/Feed-193dd1df.mjs +0 -342
  208. package/dist/Feed-26bf6bef.js +0 -1
  209. package/dist/Feed-2f9a1922.mjs +0 -334
  210. package/dist/Feed-31523f38.js +0 -1
  211. package/dist/Feed-51e4e232.js +0 -1
  212. package/dist/Feed-531de2d5.js +0 -1
  213. package/dist/Feed-55c5907a.js +0 -1
  214. package/dist/Feed-5c9e4e74.mjs +0 -340
  215. package/dist/Feed-706cd7c0.mjs +0 -383
  216. package/dist/Feed-8009e4f8.js +0 -1
  217. package/dist/Feed-81d5802e.mjs +0 -355
  218. package/dist/Feed-83ef5666.js +0 -1
  219. package/dist/Feed-8fd41524.js +0 -1
  220. package/dist/Feed-91eff3af.mjs +0 -393
  221. package/dist/Feed-926cf4f3.mjs +0 -355
  222. package/dist/Feed-932d976d.js +0 -1
  223. package/dist/Feed-962e009b.js +0 -1
  224. package/dist/Feed-a82ae26b.js +0 -1
  225. package/dist/Feed-aa3bd30a.js +0 -1
  226. package/dist/Feed-b8eeb4e7.js +0 -1
  227. package/dist/Feed-bd7b1a45.js +0 -1
  228. package/dist/Feed-c0007a83.mjs +0 -383
  229. package/dist/Feed-c93012c7.mjs +0 -346
  230. package/dist/Feed-ca8e0e22.mjs +0 -423
  231. package/dist/Feed-d2e5978c.mjs +0 -342
  232. package/dist/Feed-d4220f74.mjs +0 -340
  233. package/dist/Feed-d8e33aed.mjs +0 -397
  234. package/dist/Feed-df5bbb3c.mjs +0 -346
  235. package/dist/Feed-e5fb4972.mjs +0 -397
  236. package/dist/Feed-e8fb21ed.js +0 -1
  237. package/dist/Feed-e91b36ea.mjs +0 -390
  238. package/dist/Feed-ecf37814.mjs +0 -367
  239. package/dist/Feed-f4cad6c3.js +0 -1
  240. package/dist/Field-740d5a17.mjs +0 -60
  241. package/dist/Field-a1770ccf.js +0 -1
  242. package/dist/Field-ada86df2.js +0 -1
  243. package/dist/Field-e839d9ca.mjs +0 -60
  244. package/dist/Footer.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  245. package/dist/Footer.vue_vue_type_style_index_0_lang-2f7f46f1.js +0 -7
  246. package/dist/Footer.vue_vue_type_style_index_0_lang-39d2aa14.mjs +0 -37
  247. package/dist/Footer.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  248. package/dist/HeaderBlogpost-59dd9a6b.mjs +0 -93
  249. package/dist/HeaderBlogpost-8ec43cd0.js +0 -1
  250. package/dist/IconEdit-736c89be.js +0 -1
  251. package/dist/IconEdit-e9fd4c6c.mjs +0 -21
  252. package/dist/PlaceholderUserpic-1a6cf257.mjs +0 -28
  253. package/dist/PlaceholderUserpic-3bf126ee.js +0 -1
  254. package/dist/PlaceholderUserpic-3c1b9f7b.mjs +0 -28
  255. package/dist/PlaceholderUserpic-43e5ab23.js +0 -1
  256. package/dist/PlaceholderUserpic-4fe04ec9.mjs +0 -28
  257. package/dist/PlaceholderUserpic-52966e09.js +0 -1
  258. package/dist/PlaceholderUserpic-9085715c.mjs +0 -28
  259. package/dist/PlaceholderUserpic-995da0fc.mjs +0 -28
  260. package/dist/PlaceholderUserpic-b27c51f7.js +0 -1
  261. package/dist/PlaceholderUserpic-d64d6dd5.js +0 -1
  262. package/dist/PlaceholderUserpic-e44ccca8.mjs +0 -28
  263. package/dist/PlaceholderUserpic-fe8bd48d.js +0 -1
  264. package/dist/Popup-70f6a8c0.mjs +0 -76
  265. package/dist/Popup-82fb2c8a.mjs +0 -76
  266. package/dist/Popup-9479e39a.js +0 -1
  267. package/dist/Popup.vue_vue_type_style_index_0_lang-0cbf3253.js +0 -1
  268. package/dist/Popup.vue_vue_type_style_index_0_lang-22048704.mjs +0 -280
  269. package/dist/Popup.vue_vue_type_style_index_0_lang-28b9af00.mjs +0 -280
  270. package/dist/Popup.vue_vue_type_style_index_0_lang-4f16907f.mjs +0 -924
  271. package/dist/Popup.vue_vue_type_style_index_0_lang-5b5f9cd7.js +0 -5
  272. package/dist/Popup.vue_vue_type_style_index_0_lang-769e7cf5.js +0 -5
  273. package/dist/Popup.vue_vue_type_style_index_0_lang-8981c189.mjs +0 -280
  274. package/dist/Popup.vue_vue_type_style_index_0_lang-931f265a.js +0 -1
  275. package/dist/Popup.vue_vue_type_style_index_0_lang-a191c190.js +0 -1
  276. package/dist/Popup.vue_vue_type_style_index_0_lang-a9351a87.js +0 -1
  277. package/dist/Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs +0 -280
  278. package/dist/Popup.vue_vue_type_style_index_0_lang-f2c0cfb5.mjs +0 -924
  279. package/dist/Product-0195429b.js +0 -1
  280. package/dist/Product-035252c0.js +0 -1
  281. package/dist/Product-05cc1386.mjs +0 -687
  282. package/dist/Product-151f4473.mjs +0 -904
  283. package/dist/Product-19cc3654.js +0 -7
  284. package/dist/Product-2f3d592f.mjs +0 -837
  285. package/dist/Product-334f8bf4.mjs +0 -904
  286. package/dist/Product-35904a9b.js +0 -7
  287. package/dist/Product-3c64a352.mjs +0 -904
  288. package/dist/Product-45a6e7bd.mjs +0 -687
  289. package/dist/Product-4a5f985d.mjs +0 -837
  290. package/dist/Product-60e14832.mjs +0 -904
  291. package/dist/Product-67efba5c.js +0 -7
  292. package/dist/Product-6c37ef35.js +0 -7
  293. package/dist/Product-7087b358.mjs +0 -837
  294. package/dist/Product-96195a8e.js +0 -7
  295. package/dist/Product-a94d8b65.js +0 -7
  296. package/dist/Product-b440df7f.js +0 -7
  297. package/dist/Product-c3a77d07.mjs +0 -837
  298. package/dist/Product-c8441f02.js +0 -7
  299. package/dist/Product-cf9cfe65.mjs +0 -904
  300. package/dist/Product-df622dc0.mjs +0 -837
  301. package/dist/Product-eb2b6725.js +0 -7
  302. package/dist/Product-f4dbd969.mjs +0 -837
  303. package/dist/Product-f819b17e.js +0 -7
  304. package/dist/Product-fb63c7cd.js +0 -7
  305. package/dist/ProductEdit-04760699.js +0 -1
  306. package/dist/ProductEdit-177c1f16.mjs +0 -113
  307. package/dist/ProductEdit-1e990a92.js +0 -1
  308. package/dist/ProductEdit-20bda9f1.mjs +0 -113
  309. package/dist/ProductEdit-39adf62f.mjs +0 -113
  310. package/dist/ProductEdit-4d6f3720.js +0 -1
  311. package/dist/ProductEdit-57484f1e.mjs +0 -349
  312. package/dist/ProductEdit-5e419719.mjs +0 -113
  313. package/dist/ProductEdit-5f9a55b6.mjs +0 -113
  314. package/dist/ProductEdit-765f4780.js +0 -1
  315. package/dist/ProductEdit-9e579dd7.mjs +0 -113
  316. package/dist/ProductEdit-a81d13b9.js +0 -1
  317. package/dist/ProductEdit-b98883d8.js +0 -1
  318. package/dist/ProductEdit-c3c6341d.js +0 -1
  319. package/dist/ProductEdit-c5067942.mjs +0 -113
  320. package/dist/ProductEdit-ca271287.js +0 -1
  321. package/dist/ProductEdit-e2d47403.mjs +0 -113
  322. package/dist/ProductEdit-ef301baa.js +0 -1
  323. package/dist/ProfileBlogposts-00424109.js +0 -1
  324. package/dist/ProfileBlogposts-03658199.js +0 -1
  325. package/dist/ProfileBlogposts-11bfd9dc.js +0 -1
  326. package/dist/ProfileBlogposts-317742ee.mjs +0 -56
  327. package/dist/ProfileBlogposts-4341ca89.mjs +0 -46
  328. package/dist/ProfileBlogposts-55037a06.mjs +0 -56
  329. package/dist/ProfileBlogposts-65a7a5e0.mjs +0 -56
  330. package/dist/ProfileBlogposts-79d5c858.mjs +0 -63
  331. package/dist/ProfileBlogposts-892fdcf8.mjs +0 -56
  332. package/dist/ProfileBlogposts-dc11090e.js +0 -1
  333. package/dist/ProfileBlogposts-e55e30ae.js +0 -1
  334. package/dist/ProfileBlogposts-e9a7381e.js +0 -1
  335. package/dist/ProfileBlogposts-eca9916c.js +0 -1
  336. package/dist/ProfileBlogposts-ffa10f34.mjs +0 -63
  337. package/dist/ProfileComments-0396b55c.js +0 -1
  338. package/dist/ProfileComments-08d1670d.mjs +0 -43
  339. package/dist/ProfileComments-2e2a3a7a.mjs +0 -42
  340. package/dist/ProfileComments-34eb560b.mjs +0 -43
  341. package/dist/ProfileComments-48f3d4bc.mjs +0 -43
  342. package/dist/ProfileComments-5884d09f.mjs +0 -43
  343. package/dist/ProfileComments-66651060.mjs +0 -43
  344. package/dist/ProfileComments-677731b3.js +0 -1
  345. package/dist/ProfileComments-730c2f73.js +0 -1
  346. package/dist/ProfileComments-82791682.js +0 -1
  347. package/dist/ProfileComments-b6a688cd.js +0 -1
  348. package/dist/ProfileComments-b919f021.js +0 -1
  349. package/dist/ProfileComments-d3966a83.mjs +0 -43
  350. package/dist/ProfileComments-f5f260ec.js +0 -1
  351. package/dist/ProfileEvents-05485e20.js +0 -1
  352. package/dist/ProfileEvents-138ae25e.mjs +0 -55
  353. package/dist/ProfileEvents-1cfe6858.mjs +0 -55
  354. package/dist/ProfileEvents-20695376.mjs +0 -55
  355. package/dist/ProfileEvents-20e9da99.mjs +0 -46
  356. package/dist/ProfileEvents-45c4b137.mjs +0 -55
  357. package/dist/ProfileEvents-676239cc.js +0 -1
  358. package/dist/ProfileEvents-6e6c253b.mjs +0 -46
  359. package/dist/ProfileEvents-858e9471.mjs +0 -55
  360. package/dist/ProfileEvents-85a88674.mjs +0 -55
  361. package/dist/ProfileEvents-89def76b.js +0 -1
  362. package/dist/ProfileEvents-94d7b407.js +0 -1
  363. package/dist/ProfileEvents-b057d374.js +0 -1
  364. package/dist/ProfileEvents-b5431cd6.js +0 -1
  365. package/dist/ProfileEvents-b8a76b6e.js +0 -1
  366. package/dist/ProfileEvents-c1e04ac1.mjs +0 -46
  367. package/dist/ProfileEvents-cd75d80b.js +0 -1
  368. package/dist/ProfileEvents-cebebb17.js +0 -1
  369. package/dist/ProfileEvents-d53e7729.mjs +0 -46
  370. package/dist/ProfileEvents-d8e16509.js +0 -1
  371. package/dist/ProfileEvents-ddaf8fba.mjs +0 -55
  372. package/dist/ProfileEvents-ffe0e6f3.js +0 -1
  373. package/dist/ProfileLikes-0668b718.js +0 -1
  374. package/dist/ProfileLikes-2f3a4488.js +0 -1
  375. package/dist/ProfileLikes-405c2636.js +0 -1
  376. package/dist/ProfileLikes-4242bca5.mjs +0 -43
  377. package/dist/ProfileLikes-4a57f637.mjs +0 -43
  378. package/dist/ProfileLikes-7f965631.mjs +0 -43
  379. package/dist/ProfileLikes-854276f0.js +0 -1
  380. package/dist/ProfileLikes-8ccf6815.js +0 -1
  381. package/dist/ProfileLikes-a78900c0.js +0 -1
  382. package/dist/ProfileLikes-b5ac7f48.mjs +0 -43
  383. package/dist/ProfileLikes-c32c420b.mjs +0 -43
  384. package/dist/ProfileLikes-c4c87300.mjs +0 -42
  385. package/dist/ProfileLikes-c899e3df.js +0 -1
  386. package/dist/ProfileLikes-d978b084.mjs +0 -43
  387. package/dist/ProfileOrganizations-04cc9d6d.mjs +0 -198
  388. package/dist/ProfileOrganizations-0b76e38f.js +0 -1
  389. package/dist/ProfileOrganizations-0e202612.js +0 -1
  390. package/dist/ProfileOrganizations-13748b09.js +0 -1
  391. package/dist/ProfileOrganizations-1990d0cc.js +0 -1
  392. package/dist/ProfileOrganizations-2633e9e4.mjs +0 -198
  393. package/dist/ProfileOrganizations-3f305f4e.mjs +0 -210
  394. package/dist/ProfileOrganizations-46b6e015.mjs +0 -202
  395. package/dist/ProfileOrganizations-4ffaf01c.js +0 -1
  396. package/dist/ProfileOrganizations-50fce34e.js +0 -1
  397. package/dist/ProfileOrganizations-567e87e1.mjs +0 -210
  398. package/dist/ProfileOrganizations-5abfcc59.js +0 -1
  399. package/dist/ProfileOrganizations-5d681498.mjs +0 -202
  400. package/dist/ProfileOrganizations-704f628b.js +0 -1
  401. package/dist/ProfileOrganizations-b83f6720.js +0 -1
  402. package/dist/ProfileOrganizations-c58a4fb9.js +0 -1
  403. package/dist/ProfileOrganizations-c7688210.js +0 -1
  404. package/dist/ProfileOrganizations-ca9a95a1.js +0 -1
  405. package/dist/ProfileOrganizations-dbc8a6cd.mjs +0 -214
  406. package/dist/ProfileOrganizations-dc7210f1.mjs +0 -214
  407. package/dist/ProfileOrganizations-e4fd2b05.mjs +0 -202
  408. package/dist/ProfileOrganizations-f6e00809.mjs +0 -214
  409. package/dist/ProfileOrganizations-feef34df.mjs +0 -112
  410. package/dist/Publics-07d5bbc4.js +0 -1
  411. package/dist/Publics-122d9fc7.mjs +0 -1078
  412. package/dist/Publics-13c48a23.mjs +0 -47
  413. package/dist/Publics-17009745.mjs +0 -1926
  414. package/dist/Publics-213e0e9e.mjs +0 -44
  415. package/dist/Publics-21f24533.mjs +0 -44
  416. package/dist/Publics-3f277c17.js +0 -1
  417. package/dist/Publics-450a6715.mjs +0 -1926
  418. package/dist/Publics-49dbeafc.js +0 -1
  419. package/dist/Publics-501c9f27.js +0 -1
  420. package/dist/Publics-54134615.mjs +0 -47
  421. package/dist/Publics-889c25fc.js +0 -1
  422. package/dist/Publics-8bea4201.mjs +0 -44
  423. package/dist/Publics-8d94ee66.js +0 -1
  424. package/dist/Publics-a030da8f.js +0 -1
  425. package/dist/Publics-aca585c3.js +0 -1
  426. package/dist/Publics-b0fad2b0.mjs +0 -1926
  427. package/dist/Publics-becb1486.js +0 -1
  428. package/dist/Publics-c6f6b824.js +0 -1
  429. package/dist/Publics-c9d5aa74.js +0 -1
  430. package/dist/Publics-fbc8d2db.mjs +0 -1926
  431. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  432. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  433. package/dist/Tab-054b61f7.mjs +0 -46
  434. package/dist/Tab-1ca0fe66.js +0 -1
  435. package/dist/Tab-58cd105f.mjs +0 -46
  436. package/dist/Tab-b0a7ac11.js +0 -1
  437. package/dist/Tab-c67fbf51.mjs +0 -46
  438. package/dist/Tab-f04c185d.js +0 -1
  439. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  440. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  441. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-0b4edb09.js +0 -1
  442. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-5531689e.mjs +0 -123
  443. package/dist/UploadImage-1b8c18c4.mjs +0 -99
  444. package/dist/UploadImage-34bc4a3f.mjs +0 -99
  445. package/dist/UploadImage-4e91bd99.js +0 -1
  446. package/dist/UploadImage-74280ea3.mjs +0 -99
  447. package/dist/UploadImage-75b1a18a.js +0 -1
  448. package/dist/UploadImage-7c502f96.js +0 -1
  449. package/dist/UploadImage-96408782.mjs +0 -99
  450. package/dist/UploadImage-9abb7116.js +0 -1
  451. package/dist/UploadImage-b1acc48f.mjs +0 -99
  452. package/dist/UploadImage-c81c3b76.js +0 -1
  453. package/dist/UploadImage-cd6de241.js +0 -1
  454. package/dist/UploadImage-d1dbc280.mjs +0 -99
  455. package/dist/UploadImage-ff8f9a0c.mjs +0 -83
  456. package/dist/auth-07c01b19.js +0 -8
  457. package/dist/auth-18f80fef.mjs +0 -1501
  458. package/dist/auth-35ef1791.mjs +0 -1502
  459. package/dist/auth-50bd4ebb.js +0 -8
  460. package/dist/auth-5aa8e90c.js +0 -8
  461. package/dist/auth-708eebcb.mjs +0 -1446
  462. package/dist/auth-78fd9408.js +0 -8
  463. package/dist/auth-7dff19e4.js +0 -8
  464. package/dist/auth-84680727.mjs +0 -1501
  465. package/dist/auth-ab40831d.js +0 -8
  466. package/dist/auth-d102dac0.mjs +0 -1501
  467. package/dist/auth-f81f3598.mjs +0 -1439
  468. package/dist/auth.validation-1fb0cb4f.js +0 -1
  469. package/dist/auth.validation-29113f37.mjs +0 -20
  470. package/dist/auth.validation-2d33e8c7.mjs +0 -20
  471. package/dist/auth.validation-2e8ee994.js +0 -1
  472. package/dist/auth.validation-6923140f.js +0 -1
  473. package/dist/auth.validation-69488f55.mjs +0 -20
  474. package/dist/auth.validation-6bccabd6.mjs +0 -20
  475. package/dist/auth.validation-9cfd985b.mjs +0 -20
  476. package/dist/auth.validation-9f7c7948.js +0 -1
  477. package/dist/auth.validation-b644ee65.js +0 -1
  478. package/dist/auth.validation-f23a7238.mjs +0 -21
  479. package/dist/categories-75b7d14b.js +0 -1
  480. package/dist/categories-86b2d45b.mjs +0 -225
  481. package/dist/categories-d669f3af.mjs +0 -225
  482. package/dist/components/FieldPhone/<script>.vue.d.ts +0 -547
  483. package/dist/globals-d7a54bb4.js +0 -1
  484. package/dist/globals-f538c0ef.mjs +0 -87
  485. package/dist/inputs.validation-498d8ec9.js +0 -1
  486. package/dist/inputs.validation-5732152a.mjs +0 -93
  487. package/dist/inputs.validation-c473ebe7.mjs +0 -93
  488. package/dist/inputs.validation-c53e01a2.js +0 -1
  489. package/dist/modules/community/components/blocks/CardOrganization.vue.d.ts +0 -8
  490. package/dist/modules/community/components/elements/Bullets.vue.d.ts +0 -15
  491. package/dist/modules/community/components/elements/Caption.vue.d.ts +0 -15
  492. package/dist/modules/community/components/elements/H2.vue.d.ts +0 -16
  493. package/dist/modules/community/components/elements/Image.vue.d.ts +0 -8
  494. package/dist/modules/community/components/elements/ImageUpload.vue.d.ts +0 -9
  495. package/dist/modules/community/components/elements/Textarea.vue.d.ts +0 -16
  496. package/dist/modules/community/components/pages/BlogPost.old.vue.d.ts +0 -2
  497. package/dist/modules/community/components/sections/Publics.vue.d.ts +0 -2
  498. package/dist/modules/events/components/layouts/Events.vue.d.ts +0 -2
  499. package/dist/modules/organizations/components/blocks/CardOrganizationSocial.vue.d.ts +0 -8
  500. package/dist/organizations-0e9ff7ca.mjs +0 -319
  501. package/dist/organizations-35fe2db4.js +0 -1
  502. package/dist/organizations-4d74e13b.js +0 -1
  503. package/dist/organizations-5f9c7fbd.js +0 -1
  504. package/dist/organizations-6c1450fa.mjs +0 -153
  505. package/dist/organizations-773c328c.mjs +0 -319
  506. package/dist/organizations-a9b86de7.mjs +0 -319
  507. package/dist/organizations-af43bda4.js +0 -1
  508. package/dist/organizations-b3df0859.js +0 -1
  509. package/dist/organizations-c77ea9d0.js +0 -1
  510. package/dist/organizations-d4307861.mjs +0 -319
  511. package/dist/organizations-dd07ba2c.js +0 -1
  512. package/dist/organizations-fb1a2214.mjs +0 -319
  513. package/dist/organizations.client-3b4eb66e.mjs +0 -2898
  514. package/dist/organizations.client-4e29c957.js +0 -3
  515. package/dist/organizations.client-686845be.mjs +0 -3179
  516. package/dist/organizations.client-71c9abde.mjs +0 -2898
  517. package/dist/organizations.client-99bfc474.js +0 -3
  518. package/dist/organizations.client-ba59ed4e.js +0 -3
  519. package/dist/organizations.client-c60d7659.js +0 -3
  520. package/src/modules/community/controllers/blog.old.controller.js +0 -207
@@ -1,37 +1,37 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");const fe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Pi={key:0,class:"t-transp mn-r-small"},Ii=["placeholder","value"],Ai={key:0,class:"mn-t-thin invalid-feedback"},ki={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=o.ref(null);let i;const a=()=>{i=new google.maps.places.Autocomplete(r.value),i.addListener("place_changed",d)},l=()=>{i||a()},d=()=>{const s=i.getPlace();if(!s.geometry||!s.address_components)return;let f="",h="",g="";for(let I=0;I<s.address_components.length;I++){console.log(s.address_components);let O=s.address_components[I];O.types.includes("country")&&(f=O.long_name),O.types.includes("administrative_area_level_1")&&(h=O.long_name),O.types.includes("locality")&&(g=O.long_name)}const $=s.formatted_address,N={lat:s.geometry.location.lat(),lng:s.geometry.location.lng()};t("update:address",$),t("update:location",N),t("update:country",f),t("update:state",h),t("update:city",g)};return o.watchEffect(()=>{n.address!==r.value&&(r.value=n.address)}),o.onMounted(()=>{a()}),(s,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([s.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Pi,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{ref_key:"addressInput",ref:r,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:l},null,40,Ii),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[s.validation?(o.openBlock(),o.createElementBlock("div",Ai," * "+o.toDisplayString(s.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],2))}},ma=fe(ki,[["__scopeId","data-v-faece1a6"]]),Di=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"}));const Ri=["onClick","disabled"],Fi={key:0},Mi={key:0,class:"loading"},Vi=o.createElementVNode("span",null,[o.createElementVNode("svg",{class:"i-small",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[o.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])])],-1),xi=[Vi],Bi={key:0,class:"h4 loading"},Ui=o.createElementVNode("span",{class:"p-small t-white"},"✔",-1),ji=[Ui],Gi={key:0,class:"error"},ha={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},validation:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(null),r=o.ref(null),i=o.ref(!1),a=o.ref(!1);async function l(){n.value.style["pointer-events"]="none",r.value=null,i.value=!0;try{await t.submit(),n.value.classList.replace("bg-main","bg-light-main"),i.value=!1,a.value=!0,setTimeout(()=>{n.value&&(n.value.classList.replace("bg-light-main","bg-main"),n.value.style.pointerEvents="auto",i.value=!1,a.value=!1,r.value=null)},500),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value="❌",setTimeout(()=>{n.value.classList.replace("bg-fourth-nano","bg-main"),n.value.style.pointerEvents="auto",i.value=!1,a.value=!1,r.value=null},1330)}}return(d,s)=>(o.openBlock(),o.createElementBlock("button",{onClick:o.withModifiers(l,["stop"]),disabled:e.validation,ref_key:"button",ref:n,class:"w-100 bg-main button"},[o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[!i.value&&!r.value&&!a.value?(o.openBlock(),o.createElementBlock("span",Fi,[o.renderSlot(d.$slots,"default")])):o.createCommentVNode("",!0)]),_:3}),o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[i.value&&!r.value?(o.openBlock(),o.createElementBlock("div",Mi,xi)):o.createCommentVNode("",!0)]),_:1}),o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",Bi,ji)):o.createCommentVNode("",!0)]),_:1}),o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createElementBlock("div",Gi,[o.createElementVNode("span",null,o.toDisplayString(r.value),1)])):o.createCommentVNode("",!0)]),_:1})],8,Ri))}},Hi=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"}));const Wi={class:"flex-v-center flex-nowrap flex"},Ki={key:0,class:"mn-r-auto t-transp mn-r-small"},Yi=["name","value","checked"],Xi={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]}},emits:["update:radio"],setup(e,{emit:t}){const n=e,r=i=>{if(Array.isArray(n.radio)){let a=[...n.radio];if(i.target.checked)a.push(n.value);else{const l=a.indexOf(n.value);l!==-1&&a.splice(l,1)}t("update:radio",a)}else typeof n.radio=="boolean"&&t("update:radio",i.target.checked)};return(i,a)=>(o.openBlock(),o.createElementBlock("label",Wi,[e.label?(o.openBlock(),o.createElementBlock("div",Ki,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onChange:r,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,Yi),o.createElementVNode("div",{class:o.normalizeClass(["transition-elastic pd-thin h-2r w-4r radius-extra",{"bg-grey":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[o.createElementVNode("div",{class:o.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},ga=fe(Xi,[["__scopeId","data-v-f641f618"]]),qi=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"}));const zi={class:"dropdown-content bg-black w-15r radius-big"},Ji={__name:"Dropdown",props:{label:{type:String,default:"Open"}},setup(e){const t=o.ref(!1);return(n,r)=>(o.openBlock(),o.createElementBlock("div",{class:"dropdown z-index-2",onClick:r[0]||(r[0]=i=>t.value=!t.value)},[o.createTextVNode(o.toDisplayString(e.label)+" ",1),o.withDirectives(o.createElementVNode("div",zi,[o.renderSlot(n.$slots,"default",{},void 0,!0)],512),[[o.vShow,t.value]])]))}},va=fe(Ji,[["__scopeId","data-v-fc0f7b2b"]]),Zi=Object.freeze(Object.defineProperty({__proto__:null,default:va},Symbol.toStringTag,{value:"Module"})),Qi={class:"error-wrapper"},eo={class:"error-card"},ya={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",Qi,[o.createElementVNode("div",eo,[o.createElementVNode("p",null,"Ошибка "+o.toDisplayString(e.error.status),1)])]))}},to=Object.freeze(Object.defineProperty({__proto__:null,default:ya},Symbol.toStringTag,{value:"Module"}));const no={key:0,class:"t-transp mn-r-small"},ro={class:"w-100"},ao=["type","value","placeholder"],io=["value","placeholder"],oo={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},lo={__name:"Field",props:{label:null,type:"text",placeholder:"Enter something here",field:null,validation:!1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=e,r=o.ref(n.field);return(i,a)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[i.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",no,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",ro,[e.type!=="textarea"?(o.openBlock(),o.createElementBlock("input",{key:0,onInput:a[0]||(a[0]=l=>r.value=t("update:field",l.target.value)),onFocus:a[1]||(a[1]=l=>t("focus",l)),onBlur:a[2]||(a[2]=l=>t("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder},null,40,ao)):(o.openBlock(),o.createElementBlock("textarea",{key:1,onInput:a[3]||(a[3]=l=>r.value=t("update:field",l.target.value)),onFocus:a[4]||(a[4]=l=>t("focus",l)),onBlur:a[5]||(a[5]=l=>t("blur",l)),class:"w-100",value:e.field,placeholder:e.placeholder},null,40,io))])],2),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",oo," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},_a=fe(lo,[["__scopeId","data-v-484b1828"]]),so=Object.freeze(Object.defineProperty({__proto__:null,default:_a},Symbol.toStringTag,{value:"Module"})),uo={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0(4(?:[14]4|56)|[579])?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([3-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-4]))\\d{4}"],["69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10,13],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function co(e,t){var n=Array.prototype.slice.call(t);return n.push(uo),e.apply(this,n)}function on(e){"@babel/helpers - typeof";return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},on(e)}function Gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fo(e,t,n){return t&&Gn(e.prototype,t),n&&Gn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dt(e,t)}function mo(e){var t=Ea();return function(){var r=ut(e),i;if(t){var a=ut(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return ho(this,i)}}function ho(e,t){if(t&&(on(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ba(e)}function ba(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ln(e){var t=typeof Map=="function"?new Map:void 0;return ln=function(r){if(r===null||!go(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return mt(r,arguments,ut(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),dt(i,r)},ln(e)}function mt(e,t,n){return Ea()?mt=Reflect.construct:mt=function(i,a,l){var d=[null];d.push.apply(d,a);var s=Function.bind.apply(i,d),f=new s;return l&&dt(f,l.prototype),f},mt.apply(null,arguments)}function Ea(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function go(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dt(e,t){return dt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},dt(e,t)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ut(e)}var _e=function(e){po(n,e);var t=mo(n);function n(r){var i;return $o(this,n),i=t.call(this,r),Object.setPrototypeOf(ba(i),n.prototype),i.name=i.constructor.name,i}return fo(n)}(ln(Error)),Nn=2,vo=17,yo=3,ce="0-90-9٠-٩۰-۹",_o="-‐-―−ー-",bo="//",Eo="..",No="  ­​⁠ ",Oo="()()[]\\[\\]",Co="~⁓∼~",vt="".concat(_o).concat(bo).concat(Eo).concat(No).concat(Oo).concat(Co),On="++";function Hn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),i=0;i<3;i++){var a=Number(n[i]),l=Number(r[i]);if(a>l)return 1;if(l>a)return-1;if(!isNaN(a)&&isNaN(l))return 1;if(isNaN(a)&&!isNaN(l))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}function yt(e){"@babel/helpers - typeof";return yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yt(e)}function Nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ot(e,t,n){return t&&Wn(e.prototype,t),n&&Wn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var So="1.2.0",To="1.7.35",Kn=" ext. ",wo=/^\d+$/,te=function(){function e(t){Nt(this,e),Ao(t),this.metadata=t,Na.call(this,t)}return Ot(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&wo.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Yn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Yn(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var i=this.nonGeographic()[n];if(i)return i}else{var a=this.countryCallingCodes()[n];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Yn=function(){function e(t,n){Nt(this,e),this.globalMetadataObject=n,this.metadata=t,Na.call(this,n.metadata)}return Ot(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(i){return new Lo(i,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Xn(this.types(),n))return new Io(Xn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Kn:this.metadata[13]||Kn}}]),e}(),Lo=function(){function e(t,n){Nt(this,e),this._format=t,this.metadata=n}return Ot(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Po.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Po=/^\(?\$1\)?$/,Io=function(){function e(t,n){Nt(this,e),this.type=t,this.metadata=n}return Ot(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Xn(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function Ao(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Mt(e)||!Mt(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Mt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+ko(e)+": "+e,"."))}var Mt=function(t){return yt(t)==="object"},ko=function(t){return yt(t)};function Cn(e,t){if(t=new te(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Do(e,t){return t.countries.hasOwnProperty(e)}function Na(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Hn(t,So)===-1?this.v2=!0:Hn(t,To)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Ro=";ext=",Be=function(t){return"([".concat(ce,"]{1,").concat(t,"})")};function Oa(e){var t="20",n="15",r="9",i="6",a="[  \\t,]*",l="[:\\..]?[  \\t,-]*",d="#?",s="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",f="(?:[xx##~~]|int|int)",h="[- ]+",g="[  \\t]*",$="(?:,{2}|;)",N=Ro+Be(t),I=a+s+l+Be(t)+d,O=a+f+l+Be(r)+d,L=h+Be(i)+"#",m=g+$+l+Be(n)+d,y=g+"(?:,)+"+l+Be(r)+d;return N+"|"+I+"|"+O+"|"+L+"|"+m+"|"+y}var Fo="["+ce+"]{"+Nn+"}",Mo="["+On+"]{0,1}(?:["+vt+"]*["+ce+"]){3,}["+vt+ce+"]*",Vo=new RegExp("^["+On+"]{0,1}(?:["+vt+"]*["+ce+"]){1,2}$","i"),xo=Mo+"(?:"+Oa()+")?",Bo=new RegExp("^"+Fo+"$|^"+xo+"$","i");function Uo(e){return e.length>=Nn&&Bo.test(e)}function jo(e){return Vo.test(e)}var qn=new RegExp("(?:"+Oa()+")$","i");function Go(e){var t=e.search(qn);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(qn),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}var Ho={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Wo(e){return Ho[e]}function Ko(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Yo(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yo(e,t){if(e){if(typeof e=="string")return zn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zn(e,t)}}function zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jn(e){for(var t="",n=Ko(e.split("")),r;!(r=n()).done;){var i=r.value;t+=Xo(i,t)||""}return t}function Xo(e,t){return e==="+"?t?void 0:"+":Wo(e)}function qo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=zo(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zo(e,t){if(e){if(typeof e=="string")return Zn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zn(e,t)}}function Zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jo(e,t){for(var n=e.slice(),r=qo(t),i;!(i=r()).done;){var a=i.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(l,d){return l-d})}function Sn(e,t){return Ca(e,void 0,t)}function Ca(e,t,n){var r=n.type(t),i=r&&r.possibleLengths()||n.possibleLengths();if(!i)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return Ca(e,"MOBILE",n);var a=n.type("MOBILE");a&&(i=Jo(i,a.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var l=e.length,d=i[0];return d===l?"IS_POSSIBLE":d>l?"TOO_SHORT":i[i.length-1]<l?"TOO_LONG":i.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Zo(e,t,n){if(t===void 0&&(t={}),n=new te(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Sa(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Sa(e,t){switch(Sn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Ne(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Qo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=el(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function el(e,t){if(e){if(typeof e=="string")return Qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qn(e,t)}}function Qn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var tl=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Tn(e,t,n){if(t=t||{},!!e.country){n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Ne(r,n.nationalNumberPattern())){if(Vt(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Vt(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i=Qo(tl),a;!(a=i()).done;){var l=a.value;if(Vt(r,l,n))return l}}}}function Vt(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Ne(e,t.pattern())}function nl(e,t,n){if(t=t||{},n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Tn(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Ne(r,n.nationalNumberPattern())}function rl(e,t,n){var r=new te(n),i=r.getCountryCodesForCallingCode(e);return i?i.filter(function(a){return al(t,a,n)}):[]}function al(e,t,n){var r=new te(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function il(e){return e.replace(new RegExp("[".concat(vt,"]+"),"g")," ").trim()}var ol=/(\$\d)/;function ll(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(ol,t.nationalPrefixFormattingRule()):t.format());return r?il(a):a}var sl=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function dl(e,t,n){var r=new te(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(sl.test(r.IDDPrefix()))return r.IDDPrefix()}function ul(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}function cl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=fl(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fl(e,t){if(e){if(typeof e=="string")return er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return er(e,t)}}function er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tr(Object(n),!0).forEach(function(r){$l(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rr={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function pl(e,t,n,r){if(n?n=nr(nr({},rr),n):n=rr,r=new te(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,l;switch(t){case"NATIONAL":return a?(l=_t(a,e.carrierCode,"NATIONAL",r,n),xt(l,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(l=_t(a,null,"INTERNATIONAL",r,n),l="+".concat(i," ").concat(l),xt(l,e.ext,r,n.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(a);case"RFC3966":return ul({number:"+".concat(i).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var d=hl(a,e.carrierCode,i,n.fromCountry,r);return xt(d,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function _t(e,t,n,r,i){var a=ml(r.formats(),e);return a?ll(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function ml(e,t){for(var n=cl(e),r;!(r=n()).done;){var i=r.value;if(i.leadingDigitsPatterns().length>0){var a=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(Ne(t,i.pattern()))return i}}function xt(e,t,n,r){return t?r(e,t,n):e}function hl(e,t,n,r,i){var a=Cn(r,i.metadata);if(a===n){var l=_t(e,t,"NATIONAL",i);return n==="1"?n+" "+l:l}var d=dl(r,void 0,i.metadata);if(d)return"".concat(d," ").concat(n," ").concat(_t(e,null,"INTERNATIONAL",i))}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ar(Object(n),!0).forEach(function(r){gl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yl(e,t,n){return t&&or(e.prototype,t),n&&or(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var _l=function(){function e(t,n,r){if(vl(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var i=El(t,r),a=i.country,l=i.countryCallingCode;this.country=a,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return yl(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:rl(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Zo(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return nl(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new te(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return Tn(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return pl(this,n,r?ir(ir({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}]),e}(),bl=function(t){return/^[A-Z]{2}$/.test(t)};function El(e,t){var n,r,i=new te(t);return bl(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var Nl=new RegExp("(["+ce+"])");function Ol(e,t,n,r){if(t){var i=new te(r);i.selectNumberingPlan(t,n);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var l=e.match(Nl);if(!(l&&l[1]!=null&&l[1].length>0&&l[1]==="0"))return e}}}function Cl(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var i,a,l=r.length-1,d=l>0&&r[l];if(t.nationalPrefixTransformRule()&&d)i=e.replace(n,t.nationalPrefixTransformRule()),l>1&&(a=r[1]);else{var s=r[0];i=e.slice(s.length),d&&(a=r[1])}var f;if(d){var h=e.indexOf(r[1]),g=e.slice(0,h);g===t.numberingPlan.nationalPrefix()&&(f=t.numberingPlan.nationalPrefix())}else f=r[0];return{nationalNumber:i,nationalPrefix:f,carrierCode:a}}}return{nationalNumber:e}}function sn(e,t){var n=Cl(e,t),r=n.carrierCode,i=n.nationalNumber;if(i!==e){if(!Sl(e,i,t))return{nationalNumber:e};if(t.possibleLengths()&&!Tl(i,t))return{nationalNumber:e}}return{nationalNumber:i,carrierCode:r}}function Sl(e,t,n){return!(Ne(e,n.nationalNumberPattern())&&!Ne(t,n.nationalNumberPattern()))}function Tl(e,t){switch(Sn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function wl(e,t,n,r){var i=t?Cn(t,r):n;if(e.indexOf(i)===0){r=new te(r),r.selectNumberingPlan(t,n);var a=e.slice(i.length),l=sn(a,r),d=l.nationalNumber,s=sn(e,r),f=s.nationalNumber;if(!Ne(f,r.nationalNumberPattern())&&Ne(d,r.nationalNumberPattern())||Sn(f,r)==="TOO_LONG")return{countryCallingCode:i,number:a}}return{number:e}}function Ll(e,t,n,r){if(!e)return{};var i;if(e[0]!=="+"){var a=Ol(e,t,n,r);if(a&&a!==e)i=!0,e="+"+a;else{if(t||n){var l=wl(e,t,n,r),d=l.countryCallingCode,s=l.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:s}}return{number:e}}}if(e[1]==="0")return{};r=new te(r);for(var f=2;f-1<=yo&&f<=e.length;){var h=e.slice(1,f);if(r.hasCallingCode(h))return r.selectNumberingPlan(h),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:h,number:e.slice(f)};f++}return{}}function Pl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Il(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Il(e,t){if(e){if(typeof e=="string")return lr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lr(e,t)}}function lr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Al(e,t){var n=t.countries,r=t.defaultCountry,i=t.metadata;i=new te(i);for(var a=[],l=Pl(n),d;!(d=l()).done;){var s=d.value;if(i.country(s),i.leadingDigits()){if(e&&e.search(i.leadingDigits())===0)return s}else if(Tn({phone:e,country:s},void 0,i.metadata))if(r){if(s===r)return s;a.push(s)}else return s}if(a.length>0)return a[0]}var kl=!1;function Dl(e,t){var n=t.nationalNumber,r=t.defaultCountry,i=t.metadata;if(kl&&i.isNonGeographicCallingCode(e))return"001";var a=i.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Al(n,{countries:a,defaultCountry:r,metadata:i.metadata})}var Ta="+",Rl="[\\-\\.\\(\\)]?",sr="(["+ce+"]|"+Rl+")",Fl="^\\"+Ta+sr+"*["+ce+"]"+sr+"*$",Ml=new RegExp(Fl,"g"),dn=ce,Vl="["+dn+"]+((\\-)*["+dn+"])*",xl="a-zA-Z",Bl="["+xl+"]+((\\-)*["+dn+"])*",Ul="^("+Vl+"\\.)*"+Bl+"\\.?$",jl=new RegExp(Ul,"g"),dr="tel:",un=";phone-context=",Gl=";isub=";function Hl(e){var t=e.indexOf(un);if(t<0)return null;var n=t+un.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Wl(e){return e===null?!0:e.length===0?!1:Ml.test(e)||jl.test(e)}function Kl(e,t){var n=t.extractFormattedPhoneNumber,r=Hl(e);if(!Wl(r))throw new _e("NOT_A_NUMBER");var i;if(r===null)i=n(e)||"";else{i="",r.charAt(0)===Ta&&(i+=r);var a=e.indexOf(dr),l;a>=0?l=a+dr.length:l=0;var d=e.indexOf(un);i+=e.substring(l,d)}var s=i.indexOf(Gl);if(s>0&&(i=i.substring(0,s)),i!=="")return i}var Yl=250,Xl=new RegExp("["+On+ce+"]"),ql=new RegExp("[^"+ce+"#]+$");function zl(e,t,n){if(t=t||{},n=new te(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new _e("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=Zl(e,t.v2,t.extract),i=r.number,a=r.ext,l=r.error;if(!i){if(t.v2)throw l==="TOO_SHORT"?new _e("TOO_SHORT"):new _e("NOT_A_NUMBER");return{}}var d=es(i,t.defaultCountry,t.defaultCallingCode,n),s=d.country,f=d.nationalNumber,h=d.countryCallingCode,g=d.countryCallingCodeSource,$=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new _e("INVALID_COUNTRY");return{}}if(!f||f.length<Nn){if(t.v2)throw new _e("TOO_SHORT");return{}}if(f.length>vo){if(t.v2)throw new _e("TOO_LONG");return{}}if(t.v2){var N=new _l(h,f,n.metadata);return s&&(N.country=s),$&&(N.carrierCode=$),a&&(N.ext=a),N.__countryCallingCodeSource=g,N}var I=(t.extended?n.hasSelectedNumberingPlan():s)?Ne(f,n.nationalNumberPattern()):!1;return t.extended?{country:s,countryCallingCode:h,carrierCode:$,valid:I,possible:I?!0:!!(t.extended===!0&&n.possibleLengths()&&Sa(f,n)),phone:f,ext:a}:I?Ql(s,f,a):{}}function Jl(e,t,n){if(e){if(e.length>Yl){if(n)throw new _e("TOO_LONG");return}if(t===!1)return e;var r=e.search(Xl);if(!(r<0))return e.slice(r).replace(ql,"")}}function Zl(e,t,n){var r=Kl(e,{extractFormattedPhoneNumber:function(l){return Jl(l,n,t)}});if(!r)return{};if(!Uo(r))return jo(r)?{error:"TOO_SHORT"}:{};var i=Go(r);return i.ext?i:{number:r}}function Ql(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function es(e,t,n,r){var i=Ll(Jn(e),t,n,r.metadata),a=i.countryCallingCodeSource,l=i.countryCallingCode,d=i.number,s;if(l)r.selectNumberingPlan(l);else if(d&&(t||n))r.selectNumberingPlan(t,n),t&&(s=t),l=n||Cn(t,r.metadata);else return{};if(!d)return{countryCallingCodeSource:a,countryCallingCode:l};var f=sn(Jn(d),r),h=f.nationalNumber,g=f.carrierCode,$=Dl(l,{nationalNumber:h,defaultCountry:t,metadata:r});return $&&(s=$,$==="001"||r.country(s)),{country:s,countryCallingCode:l,countryCallingCodeSource:a,nationalNumber:h,carrierCode:g}}function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function cr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ur(Object(n),!0).forEach(function(r){ts(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ts(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ns(e,t,n){return zl(e,cr(cr({},t),{},{v2:!0}),n)}function cn(e){"@babel/helpers - typeof";return cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(e)}function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fr(Object(n),!0).forEach(function(r){as(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function as(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function is(e,t){return ds(e)||ss(e,t)||ls(e,t)||os()}function os(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ls(e,t){if(e){if(typeof e=="string")return $r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $r(e,t)}}function $r(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ss(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,l,d;try{for(n=n.call(e);!(i=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,d=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw d}}return r}}function ds(e){if(Array.isArray(e))return e}function us(e){var t=Array.prototype.slice.call(e),n=is(t,4),r=n[0],i=n[1],a=n[2],l=n[3],d,s,f;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")l?(s=a,f=l):(s=void 0,f=a),i&&(s=rs({defaultCountry:i},s));else if(cs(i))a?(s=i,f=a):f=i;else throw new Error("Invalid second argument: ".concat(i));return{text:d,options:s,metadata:f}}var cs=function(t){return cn(t)==="object"};function pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pr(Object(n),!0).forEach(function(r){fs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $s(e,t,n){t&&t.defaultCountry&&!Do(t.defaultCountry,n)&&(t=mr(mr({},t),{},{defaultCountry:void 0}));try{return ns(e,t,n)}catch(r){if(!(r instanceof _e))throw r}}function ps(){var e=us(arguments),t=e.text,n=e.options,r=e.metadata;return $s(t,n,r)}function Bt(){return co(ps,arguments)}const ms=[["‫افغانستان‬‎","af","93",,"🇦🇫"],["Shqipëri","al","355",,"🇦🇱"],["‫الجزائر‬‎","dz","213",,"🇩🇿"],["American Samoa","as","1684",,"🇦🇸"],["Andorra","ad","376",,"🇦🇩"],["Angola","ao","244",,"🇦🇴"],["Anguilla","ai","1264",,"🇦🇮"],["Antigua and Barbuda","ag","1268",,"🇦🇬"],["Argentina","ar","54",,"🇦🇷"],["Հայաստան","am","374",,"🇦🇲"],["Aruba","aw","297",,"🇦🇼"],["Australia","au","61",0,,"🇦🇺"],["Österreich","at","43",,"🇦🇹"],["Azərbaycan","az","994",,"🇦🇿"],["Bahamas","bs","1242",,"🇧🇸"],["‫البحرين‬‎","bh","973",,"🇧🇭"],["বাংলাদেশ","bd","880",,"🇧🇩"],["Barbados","bb","1246",,"🇧🇧"],["Беларусь","by","375",,"🇧🇾"],["België","be","32",,"🇧🇪"],["Belize","bz","501",,"🇧🇿"],["Bénin","bj","229",,"🇧🇯"],["Bermuda","bm","1441",,"🇧🇲"],["འབྲུག","bt","975",,"🇧🇹"],["Bolivia","bo","591",,"🇧🇴"],["Босна и Херцеговина","ba","387",,"🇧🇦"],["Botswana","bw","267",,"🇧🇼"],["Brasil","br","55",,"🇧🇷"],["British Indian Ocean Territory","io","246",,"🇮🇴"],["British Virgin Islands","vg","1284",,"🇻🇬"],["Brunei","bn","673",,"🇧🇳"],["България","bg","359",,"🇧🇬"],["Burkina Faso","bf","226",,"🇧🇫"],["Uburundi","bi","257",,"🇧🇮"],["កម្ពុជា","kh","855",,"🇰🇭"],["Cameroun","cm","237",,"🇨🇲"],["Canada","ca","1",1,"🇨🇦"],["Kabu Verdi","cv","238",,"🇨🇻"],["Caribbean Netherlands","bq","599",1,,"🇧🇶"],["Cayman Islands","ky","1345",,"🇰🇾"],["République centrafricaine","cf","236",,"🇨🇫"],["Tchad","td","235",,"🇹🇩"],["Chile","cl","56",,"🇨🇱"],["中国","cn","86",,"🇨🇳"],["Christmas Island","cx","61",2,,"🇨🇽"],["Keeling","cc","61",1,,"🇨🇨"],["Colombia","co","57",,"🇨🇴"],["‫جزر القمر‬‎","km","269",,"🇰🇲"],["DRC","cd","243",,"🇨🇩"],["Republic","cg","242",,"🇨🇬"],["Cook Islands","ck","682",,"🇨🇰"],["Costa Rica","cr","506",,"🇨🇷"],["Côte d’Ivoire","ci","225",,"🇨🇮"],["Hrvatska","hr","385",,"🇭🇷"],["Cuba","cu","53",,"🇨🇺"],["Curaçao","cw","599",0,,"🇨🇼"],["Κύπρος","cy","357",,"🇨🇾"],["Česká republika","cz","420",,"🇨🇿"],["Danmark","dk","45",,"🇩🇰"],["Djibouti","dj","253",,"🇩🇯"],["Dominica","dm","1767",,"🇩🇲"],["República Dominicana","do","1",2,["809","829","849","🇩🇴"]],["Ecuador","ec","593",,"🇪🇨"],["‫مصر‬‎","eg","20",,"🇪🇬"],["El Salvador","sv","503",,"🇸🇻"],["Guinea Ecuatorial","gq","240",,"🇬🇶"],["Eritrea","er","291",,"🇪🇷"],["Eesti","ee","372",,"🇪🇪"],["Ethiopia","et","251",,"🇪🇹"],["Islas Malvinas","fk","500",,"🇫🇰"],["Føroyar","fo","298",,"🇫🇴"],["Fiji","fj","679",,"🇫🇯"],["Suomi","fi","358",0,,"🇫🇮"],["France","fr","33",,"🇫🇷"],["Guyane française","gf","594",,"🇬🇫"],["Polynésie française","pf","689",,"🇵🇫"],["Gabon","ga","241",,"🇬🇦"],["Gambia","gm","220",,"🇬🇲"],["საქართველო","ge","995",,"🇬🇪"],["Deutschland","de","49",,"🇩🇪"],["Gaana","gh","233",,"🇬🇭"],["Gibraltar","gi","350",,"🇬🇮"],["Ελλάδα","gr","30",,"🇬🇷"],["Kalaallit Nunaat","gl","299",,"🇬🇱"],["Grenada","gd","1473",,"🇬🇩"],["Guadeloupe","gp","590",0,,"🇬🇵"],["Guam","gu","1671",,"🇬🇺"],["Guatemala","gt","502",,"🇬🇹"],["Guernsey","gg","44",1,,"🇬🇬"],["Guinée","gn","224",,"🇬🇳"],["Guiné Bissau","gw","245",,"🇬🇼"],["Guyana","gy","592",,"🇬🇾"],["Haiti","ht","509",,"🇭🇹"],["Honduras","hn","504",,"🇭🇳"],["香港","hk","852",,"🇭🇰"],["Magyarország","hu","36",,"🇭🇺"],["Ísland","is","354",,"🇮🇸"],["भारत","in","91",,"🇮🇳"],["Indonesia","id","62",,"🇮🇩"],["‫ایران‬‎","ir","98",,"🇮🇷"],["‫العراق‬‎","iq","964",,"🇮🇶"],["Ireland","ie","353",,"🇮🇪"],["Isle of Man","im","44",2,,"🇮🇲"],["‫ישראל‬‎","il","972",,"🇮🇱"],["Italia","it","39",0,,"🇮🇹"],["Jamaica","jm","1876",,"🇯🇲"],["日本","jp","81",,"🇯🇵"],["Jersey","je","44",3,,"🇯🇪"],["‫الأردن‬‎","jo","962",,"🇯🇴"],["Казахстан","kz","7",1,,"🇰🇿"],["Kenya","ke","254",,"🇰🇪"],["Kiribati","ki","686",,"🇰🇮"],["Kosovo","xk","383",,"🇽🇰"],["‫الكويت‬‎","kw","965",,"🇰🇼"],["Кыргызстан","kg","996",,"🇰🇬"],["ລາວ","la","856",,"🇱🇦"],["Latvija","lv","371",,"🇱🇻"],["‫لبنان‬‎","lb","961",,"🇱🇧"],["Lesotho","ls","266",,"🇱🇸"],["Liberia","lr","231",,"🇱🇷"],["‫ليبيا‬‎","ly","218",,"🇱🇾"],["Liechtenstein","li","423",,"🇱🇮"],["Lietuva","lt","370",,"🇱🇹"],["Luxembourg","lu","352",,"🇱🇺"],["澳門","mo","853",,"🇲🇴"],["FYROM","mk","389",,"🇲🇰"],["Madagasikara","mg","261",,"🇲🇬"],["Malawi","mw","265",,"🇲🇼"],["Malaysia","my","60",,"🇲🇾"],["Maldives","mv","960",,"🇲🇻"],["Mali","ml","223",,"🇲🇱"],["Malta","mt","356",,"🇲🇹"],["Marshall Islands","mh","692",,"🇲🇭"],["Martinique","mq","596",,"🇲🇶"],["‫موريتانيا‬‎","mr","222",,"🇲🇷"],["Moris","mu","230",,"🇲🇺"],["Mayotte","yt","262",1,,"🇾🇹"],["México","mx","52",,"🇲🇽"],["Micronesia","fm","691",,"🇫🇲"],["Republica Moldova","md","373",,"🇲🇩"],["Monaco","mc","377",,"🇲🇨"],["Монгол","mn","976",,"🇲🇳"],["Crna Gora","me","382",,"🇲🇪"],["Montserrat","ms","1664",,"🇲🇸"],["‫المغرب‬‎","ma","212",0,,"🇲🇦"],["Moçambique","mz","258",,"🇲🇿"],["Burma","mm","95",,"🇲🇲"],["Namibië","na","264",,"🇳🇦"],["Nauru","nr","674",,"🇳🇷"],["नेपाल","np","977",,"🇳🇵"],["Nederland","nl","31",,"🇳🇱"],["Nouvelle-Calédonie","nc","687",,"🇳🇨"],["New Zealand","nz","64",,"🇳🇿"],["Nicaragua","ni","505",,"🇳🇮"],["Nijar","ne","227",,"🇳🇪"],["Nigeria","ng","234",,"🇳🇬"],["Niue","nu","683",,"🇳🇺"],["Norfolk Island","nf","672",,"🇳🇫"],["조선 민주주의 인민 공화국","kp","850",,"🇰🇵"],["Northern Mariana Islands","mp","1670",,"🇲🇵"],["Norge","no","47",0,,"🇳🇴"],["‫عُمان‬‎","om","968",,"🇴🇲"],["‫پاکستان‬‎","pk","92",,"🇵🇰"],["Palau","pw","680",,"🇵🇼"],["‫فلسطين‬‎","ps","970",,"🇵🇸"],["Panamá","pa","507",,"🇵🇦"],["Papua New Guinea","pg","675",,"🇵🇬"],["Paraguay","py","595",,"🇵🇾"],["Perú","pe","51",,"🇵🇪"],["Philippines","ph","63",,"🇵🇭"],["Polska","pl","48",,"🇵🇱"],["Portugal","pt","351",,"🇵🇹"],["Puerto Rico","pr","1",3,["787","939","🇵🇷"]],["‫قطر‬‎","qa","974",,"🇶🇦"],["La Réunion","re","262",0,,"🇷🇪"],["România","ro","40",,"🇷🇴"],["Россия","ru","7",0,,"🇷🇺"],["Rwanda","rw","250",,"🇷🇼"],["Saint Barthélemy","bl","590",1,,"🇧🇱"],["Saint Helena","sh","290",,"🇸🇭"],["Saint Kitts and Nevis","kn","1869",,"🇰🇳"],["Saint Lucia","lc","1758",,"🇱🇨"],["Saint-Martin (partie française","mf","590",2,,"🇲🇫"],["Saint-Pierre-et-Miquelon","pm","508",,"🇵🇲"],["Saint Vincent and the Grenadines","vc","1784",,"🇻🇨"],["Samoa","ws","685",,"🇼🇸"],["San Marino","sm","378",,"🇸🇲"],["São Tomé e Príncipe","st","239",,"🇸🇹"],["‫المملكة العربية السعودية‬‎","sa","966",,"🇸🇦"],["Sénégal","sn","221",,"🇸🇳"],["Србија","rs","381",,"🇷🇸"],["Seychelles","sc","248",,"🇸🇨"],["Sierra Leone","sl","232",,"🇸🇱"],["Singapore","sg","65",,"🇸🇬"],["Sint Maarten","sx","1721",,"🇸🇽"],["Slovensko","sk","421",,"🇸🇰"],["Slovenija","si","386",,"🇸🇮"],["Solomon Islands","sb","677",,"🇸🇧"],["Soomaaliya","so","252",,"🇸🇴"],["South Africa","za","27",,"🇿🇦"],["대한민국","kr","82",,"🇰🇷"],["‫جنوب السودان‬‎","ss","211",,"🇸🇸"],["España","es","34",,"🇪🇸"],["ශ්‍රී ලංකාව","lk","94",,"🇱🇰"],["‫السودان‬‎","sd","249",,"🇸🇩"],["Suriname","sr","597",,"🇸🇷"],["Svalbard and Jan Mayen","sj","47",1,,"🇸🇯"],["Swaziland","sz","268",,"🇸🇿"],["Sverige","se","46",,"🇸🇪"],["Schweiz","ch","41",,"🇨🇭"],["‫سوريا‬‎","sy","963",,"🇸🇾"],["台灣","tw","886",,"🇹🇼"],["Tajikistan","tj","992",,"🇹🇯"],["Tanzania","tz","255",,"🇹🇿"],["ไทย","th","66",,"🇹🇭"],["Timor-Leste","tl","670",,"🇹🇱"],["Togo","tg","228",,"🇹🇬"],["Tokelau","tk","690",,"🇹🇰"],["Tonga","to","676",,"🇹🇴"],["Trinidad and Tobago","tt","1868",,"🇹🇹"],["‫تونس‬‎","tn","216",,"🇹🇳"],["Türkiye","tr","90",,"🇹🇷"],["Turkmenistan","tm","993",,"🇹🇲"],["Turks and Caicos Islands","tc","1649",,"🇹🇨"],["Tuvalu","tv","688",,"🇹🇻"],["U.S. Virgin Islands","vi","1340",,"🇻🇮"],["Uganda","ug","256",,"🇺🇬"],["Україна","ua","380",,"🇺🇦"],["‫الإمارات العربية المتحدة‬‎","ae","971",,"🇦🇪"],["United Kingdom","gb","44",0,,"🇬🇧"],["United States","us","1",0,,"🇺🇸"],["Uruguay","uy","598",,"🇺🇾"],["Oʻzbekiston","uz","998",,"🇺🇿"],["Vanuatu","vu","678",,"🇻🇺"],["Città del Vaticano","va","39",1,,"🇻🇦"],["Venezuela","ve","58",,"🇻🇪"],["Việt Nam","vn","84",,"🇻🇳"],["Wallis-et-Futuna","wf","681",,"🇼🇫"],["‫الصحراء الغربية‬‎","eh","212",1,,"🇪🇭"],["‫اليمن‬‎","ye","967",,"🇾🇪"],["Zambia","zm","260",,"🇿🇲"],["Zimbabwe","zw","263",,"🇿🇼"],["Åland Islands","ax","358",1,,"🇦🇽"]],hs=ms.map(e=>({name:e[0],iso2:e[1].toUpperCase(),dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null,flag:e[e.length-1]||null}));function gs(){return fetch("https://ip2c.org/s").then(e=>e.text()).then(e=>{const t=(e||"").toString();if(!t||t[0]!=="1")throw new Error("unable to fetch the country");return t.substr(2,2)})}function vs(e,t){if(e.setSelectionRange)e.focus(),e.setSelectionRange(t,t);else if(e.createTextRange){const n=e.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select()}}const ys=[{name:"allCountries",type:Array,default:hs,description:"All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",inDemo:!1},{name:"autoFormat",type:Boolean,default:!0,description:"Auto update the input to the formatted phone number when it's valid",inDemo:!0},{name:"customValidate",type:[Boolean,RegExp],default:!1,description:"Custom validation RegExp for input",inDemo:!1},{name:"defaultCountry",default:"",type:String,description:"Default country, will override the country fetched from IP address of user",inDemo:!1},{name:"disabled",default:!1,type:Boolean,description:"Disable <code>vue-tel-input</code>, including the input & flag dropdown",inDemo:!1},{name:"autoDefaultCountry",default:!0,type:Boolean,description:"To fetch default country based on IP address of user",inDemo:!1},{name:"dropdownOptions",type:Object,description:"Options for dropdown, see below",inDemo:!1},{name:"dropdownOptions.showDialCodeInList",default:!0,type:Boolean,description:"Show dial code in the dropdown list",inDemo:!0},{name:"dropdownOptions.showDialCodeInSelection",default:!1,type:Boolean,description:"Show dial code in the dropdown selection",inDemo:!0},{name:"dropdownOptions.showFlags",default:!0,type:Boolean,description:"Show flags in the dropdown selection and list",inDemo:!0},{name:"dropdownOptions.tabindex",default:0,type:Number,description:"Native dropdown <code>tabindex</code> attribute",inDemo:!1},{name:"ignoredCountries",default:[],type:Array,description:"List of countries will NOT be shown on the dropdown",inDemo:!1},{name:"inputOptions",type:Object,description:"Options for input, see below",inDemo:!1},{name:"inputOptions.autocomplete",type:String,default:"on",description:"Native input <code>autocomplete</code> attribute",inDemo:!1},{name:"inputOptions.autofocus",type:Boolean,default:!1,description:"Native input <code>autofocus</code> attribute",inDemo:!1},{name:"inputOptions.id",default:"",type:String,description:"Native input <code>id</code> attribute",inDemo:!1},{name:"inputOptions.maxlength",default:25,type:Number,description:"Native input <code>maxlength</code> attribute",inDemo:!1},{name:"inputOptions.name",default:"telephone",type:String,description:"Native input <code>name</code> attribute",inDemo:!1},{name:"inputOptions.placeholder",default:"Enter a phone number",type:String,description:"Placeholder for the input",inDemo:!1},{name:"inputOptions.readonly",default:!1,type:Boolean,description:"Native input <code>readonly</code> attribute",inDemo:!1},{name:"inputOptions.required",default:!1,type:Boolean,description:"Native input <code>required</code> attribute",inDemo:!1},{name:"inputOptions.tabindex",default:0,type:Number,description:"Native input <code>tabindex</code> attribute",inDemo:!1},{name:"inputOptions.type",default:"tel",type:String,description:"Native input <code>type</code> attribute",inDemo:!1},{name:"inputOptions.styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the <code>input</code>",inDemo:!1},{name:"invalidMsg",default:"",type:String,description:"",inDemo:!1},{name:"mode",default:"auto",type:String,description:"Allowed values: <code>'auto'</code> (Default set by phone), <code>'international'</code> (Format number with the dial code i.e. + 61), <code>'national'</code> (Format number without dial code i.e. 0321232)",inDemo:!0,options:["auto","national","international"]},{name:"onlyCountries",default:[],type:Array,description:"List of countries will be shown on the dropdown",inDemo:!1},{name:"preferredCountries",default:[],type:Array,description:"Preferred countries list, will be on top of the dropdown",inDemo:!1},{name:"styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the wrapper",inDemo:!1},{name:"validCharactersOnly",default:!1,type:Boolean,description:"Only allow valid characters in a phone number (will also verify in <code>mounted</code>, so phone number with invalid characters will be shown as an empty string)",inDemo:!1}],_s=[...ys].reduce((e,t)=>{if(t.name.includes(".")){const[n,r]=t.name.split(".");e[n]?Object.assign(e[n],{[r]:t.default}):Object.assign(e,{[n]:{[r]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),hr={options:{..._s}},bs={beforeMount(e,t,n){if(typeof t.value!="function"){const r=n.context.name;let i=`[Vue-click-outside:] provided expression ${t.expression}
8
- is not a function, but has to be`;r&&(i+=`Found in component ${r}`),console.warn(i)}e.clickOutsideEvent=function(r){e===r.target||e.contains(r.target)||t.value(r,e)},document.body.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};function Q(e){const t=hr.options[e];return typeof t>"u"?hr.options[e]:t}const Es=o.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:bs},props:{modelValue:{type:String,default:""},badClass:{type:[String,Array,Object],default:""},goodClass:{type:[String,Array,Object],default:""},badStyle:{type:[String,Array,Object],default:""},goodStyle:{type:[String,Array,Object],default:""},badInputClass:{type:[String,Array,Object],default:""},goodInputClass:{type:[String,Array,Object],default:""},badInputStyle:{type:[String,Array,Object],default:""},goodInputStyle:{type:[String,Array,Object],default:""},allCountries:{type:Array,default:()=>Q("allCountries")},autoFormat:{type:Boolean,default:()=>Q("autoFormat")},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>Q("customValidate")},defaultCountry:{type:String,default:()=>Q("defaultCountry")},disabled:{type:Boolean,default:()=>Q("disabled")},autoDefaultCountry:{type:Boolean,default:()=>Q("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>Q("dropdownOptions")},ignoredCountries:{type:Array,default:()=>Q("ignoredCountries")},inputOptions:{type:Object,default:()=>Q("inputOptions")},invalidMsg:{type:String,default:()=>Q("invalidMsg")},mode:{type:String,default:()=>Q("mode")},onlyCountries:{type:Array,default:()=>Q("onlyCountries")},preferredCountries:{type:Array,default:()=>Q("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>Q("validCharactersOnly")},rootClass:{type:[String,Array,Object],default:()=>Q("styleClasses")},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""}},data(){return{counter:5,initCounter:5,message:{action:null,amount:null},phone:this.modelValue?this.modelValue:"",activeCountryCode:"",open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:null,dropdownOpenDirection:"below",parsedPlaceholder:this.Placeholder!==""?this.Placeholder:this.inputOptions.placeholder}},watch:{activeCountry(e,t){if(!e&&(t!=null&&t.iso2)){this.activeCountryCode=t.iso2;return}e!=null&&e.iso2&&this.$emit("country-changed",e)},"phoneObject.countryCode":function(e){this.activeCountryCode=e},"phoneObject.valid":function(){this.$emit("validate",this.phoneObject)},"phoneObject.formatted":function(e){!this.autoFormat||this.customValidate||(this.emitInput(e),this.$nextTick(()=>{e&&!this.value&&(this.phone=e)}))},"inputOptions.placeholder":function(){this.resetPlaceholder()},value(e,t){this.testCharacters()?this.phone=e:this.$nextTick(()=>{this.phone=t,this.onInput()})},open(e){e?(this.setDropdownPosition(),this.$emit("open")):this.$emit("close")}},mounted(){this.cleanInvalidCharacters(),this.initializeCountry().then(()=>{var e;!this.phone&&((e=this.inputOptions)!=null&&e.showDialCode)&&this.activeCountryCode&&(this.phone=`+${this.activeCountryCode}`),this.$emit("validate",this.phoneObject)}).catch(console.error).then(()=>{this.finishMounted=!0})},computed:{activeCountry(){return this.findCountry(this.activeCountryCode)},activeCountryFlag(){return this.activeCountry?this.activeCountry.flag:null},parsedMode(){return this.mode==="auto"?!this.phone||this.phone[0]!=="+"?"national":"international":["international","national"].includes(this.mode)?this.mode:(console.error('Invalid value of prop "mode"'),"international")},filteredCountries(){return this.onlyCountries.length?this.allCountries.filter(({iso2:e})=>this.onlyCountries.some(t=>t.toUpperCase()===e)):this.ignoredCountries.length?this.allCountries.filter(({iso2:e})=>!this.ignoredCountries.includes(e.toUpperCase())&&!this.ignoredCountries.includes(e.toLowerCase())):this.allCountries},sortedCountries(){return[...this.getCountries(this.preferredCountries).map(t=>({...t,preferred:!0})),...this.filteredCountries]},phoneObject(){var a,l,d;let e;((a=this.phone)==null?void 0:a[0])==="+"?e=Bt(this.phone)||{}:e=Bt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;console.log(e);let r=(l=e.isValid)==null?void 0:l.call(e),i=this.phone;return r&&(i=(d=e.format)==null?void 0:d.call(e,this.parsedMode.toUpperCase(),{nationalPrefix:!1})),e.country&&(this.ignoredCountries.length||this.onlyCountries.length)&&(this.findCountry(e.country)||(r=!1,Object.assign(e,{country:null}))),Object.assign(n,{countryCode:e.country,valid:r,country:this.activeCountry,formatted:i}),n},classes(){return this.phoneObject.valid===!0?this.goodClass:this.phoneObject.valid===!1?this.badClass:void 0},styles(){return this.phoneObject.valid===!0?this.goodStyle:this.phoneObject.valid===!1?this.badStyle:void 0},Iclasses(){return this.phoneObject.valid===!0?this.goodInputClass:this.phoneObject.valid===!1?this.badInputClass:void 0},Istyles(){return this.phoneObject.valid===!0?this.goodInputStyle:this.phoneObject.valid===!1?this.badInputStyle:void 0}},methods:{resetPlaceholder(){this.parsedPlaceholder=this.inputOptions.placeholder},initializeCountry(){return new Promise(e=>{var n;if(((n=this.phone)==null?void 0:n[0])==="+"){e();return}if(this.defaultCountry){this.choose(this.defaultCountry),e();return}const t=this.preferredCountries[0]||this.filteredCountries[0];this.autoDefaultCountry?gs().then(r=>{this.choose(r||this.activeCountryCode)}).catch(r=>{console.warn(r),this.choose(t)}).then(()=>{e()}):(this.choose(t),e())})},getCountries(e=[]){return e.map(t=>this.findCountry(t)).filter(Boolean)},findCountry(e=""){return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const n=this.selectedIndex===e,r=e===this.preferredCountries.length-1,i=this.preferredCountries.some(a=>a.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:i}},choose(e){var n,r;let t=e;if(typeof t=="string"&&(t=this.findCountry(t)),!!t){if(((n=this.phone)==null?void 0:n[0])==="+"&&t.iso2&&this.phoneObject.nationalNumber){this.activeCountryCode=t.iso2,this.phone=Bt(this.phoneObject.nationalNumber,t.iso2).formatInternational();return}if((r=this.inputOptions)!=null&&r.showDialCode&&t){this.phone=`+${t.dialCode}`;return}this.activeCountryCode=t.iso2,this.emitInput(this.phone)}},cleanInvalidCharacters(){const e=this.phone;if(this.validCharactersOnly){const t=this.phone.match(/[()\-+0-9\s]*/g);this.phone=t.join("")}if(this.customValidate&&this.customValidate instanceof RegExp){const t=this.phone.match(this.customValidate);this.phone=t.join("")}e!==this.phone&&this.emitInput(this.phone)},testCharacters(){return this.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(this.phone)?!1:this.customValidate?this.testCustomValidate():!0},testCustomValidate(){return this.customValidate instanceof RegExp?this.customValidate.test(this.phone):!1},onInput(){this.$refs.input.setCustomValidity(this.phoneObject.valid?"":this.invalidMsg),this.emitInput(this.phoneObject)},emitInput(e){this.$emit("update:modelValue",e)},onBlur(){this.$emit("blur")},onFocus(){vs(this.$refs.input,this.phone.length),this.$emit("focus")},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(){this.disabled||(this.open=!this.open)},clickedOutside(){this.open=!1},keyboardNav(e){if(e.keyCode===40){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(e.keyCode===38){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop<this.$refs.list.scrollTop&&(this.$refs.list.scrollTop=t.offsetTop)}else if(e.keyCode===13)this.selectedIndex!==null&&this.choose(this.sortedCountries[this.selectedIndex]),this.open=!this.open;else{this.typeToFindInput+=e.key,clearTimeout(this.typeToFindTimer),this.typeToFindTimer=setTimeout(()=>{this.typeToFindInput=""},700);const t=this.sortedCountries.slice(this.preferredCountries.length).findIndex(n=>n.name.toLowerCase().startsWith(this.typeToFindInput));if(t>=0){this.selectedIndex=this.preferredCountries.length+t;const n=this.$refs.list.children[this.selectedIndex],r=n.offsetTop<this.$refs.list.scrollTop,i=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||i)&&(this.$refs.list.scrollTop=n.offsetTop-this.$refs.list.clientHeight/2)}}},reset(){this.selectedIndex=this.sortedCountries.map(e=>e.iso2).indexOf(this.activeCountryCode),this.open=!1},setDropdownPosition(){window.innerHeight-this.$refs.rootElement.getBoundingClientRect().bottom>200?this.dropdownOpenDirection="below":this.dropdownOpenDirection="above"}}}),Ns=["tabindex"],Os={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Cs=["innerHTML"],Ss={key:1,class:"vti__country-code"},Ts=["onClick","onMousemove"],ws=["innerHTML"],Ls={key:1},Ps=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],Is={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function As(e,t,n,r,i,a){const l=o.resolveDirective("click-outside");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:o.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...d)=>e.keyboardNav&&e.keyboardNav(...d)),t[2]||(t[2]=o.withKeys((...d)=>e.reset&&e.reset(...d),["esc"]))],onClick:t[1]||(t[1]=(...d)=>e.toggleDropdown&&e.toggleDropdown(...d)),style:o.normalizeStyle([e.dropdownStyle])},[o.createElementVNode("span",Os,[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Cs)):o.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(o.openBlock(),o.createElementBlock("span",Ss," +"+o.toDisplayString(e.activeCountry&&e.activeCountry.dialCode),1)):o.createCommentVNode("",!0)]),o.withDirectives(o.createElementVNode("ul",{ref:"list",class:o.normalizeClass(["bs-black radius-small vti__dropdown-list",e.dropdownOpenDirection]),style:o.normalizeStyle([e.listStyle])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.sortedCountries,(d,s)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",e.getItemClass(s,d.iso2)]]),key:d.iso2+(d.preferred?"-preferred":""),onClick:f=>e.choose(d),onMousemove:f=>e.selectedIndex=s},[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:d.flag,class:"mn-r-thin"},null,8,ws)):o.createCommentVNode("",!0),o.createElementVNode("strong",null,o.toDisplayString(d.name),1),e.dropdownOptions.showDialCodeInList?(o.openBlock(),o.createElementBlock("span",Ls," +"+o.toDisplayString(d.dialCode),1)):o.createCommentVNode("",!0)],42,Ts))),128))],6),[[o.vShow,e.open]])],46,Ns)),[[l,e.clickedOutside]]),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":t[3]||(t[3]=d=>e.phone=d),pattern:"[0-9]*",ref:"input",type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:o.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,e.Iclasses]),style:o.normalizeStyle([e.inputStyle,e.Istyles]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:e.parsedPlaceholder,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:t[4]||(t[4]=(...d)=>e.onBlur&&e.onBlur(...d)),onFocus:t[5]||(t[5]=(...d)=>e.onFocus&&e.onFocus(...d)),onInput:t[6]||(t[6]=(...d)=>e.onInput&&e.onInput(...d)),onKeyup:[t[7]||(t[7]=o.withKeys((...d)=>e.onEnter&&e.onEnter(...d),["enter"])),t[8]||(t[8]=o.withKeys((...d)=>e.onSpace&&e.onSpace(...d),["space"]))]},null,46,Ps),[[o.vModelDynamic,e.phone]]),o.renderSlot(e.$slots,"default",{},void 0,!0)],6),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Is," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}const wa=fe(Es,[["render",As],["__scopeId","data-v-50353ca7"]]),ks=Object.freeze(Object.defineProperty({__proto__:null,default:wa},Symbol.toStringTag,{value:"Module"}));const Ds=e=>(o.pushScopeId("data-v-1c7971e5"),e=e(),o.popScopeId(),e),Rs={class:"map-container"},Fs=Ds(()=>o.createElementVNode("svg",{class:"i-medium",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"white"}),o.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"white"})],-1)),Ms=[Fs],Vs={__name:"LocationMarker",props:{location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""},apiKey:String},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=o.ref(null);let i,a;o.onMounted(()=>{i=new google.maps.Map(r.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1}),a=new google.maps.Marker({position:n.location,map:i,draggable:!0}),a.addListener("dragend",s=>{const f={lat:s.latLng.lat(),lng:s.latLng.lng()};t("update:location",f),l(f)})}),o.watchEffect(()=>{n.location&&a&&a.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),o.watchEffect(()=>{if(n.location&&i){const s=new google.maps.LatLng(n.location.lat,n.location.lng);i.setCenter(s)}});function l(s){new google.maps.Geocoder().geocode({location:s},(h,g)=>{if(g==="OK")if(h[0]){t("update:address",h[0].formatted_address);let $="",N="",I="";h[0].address_components.forEach(O=>{O.types.includes("country")&&($=O.long_name),O.types.includes("administrative_area_level_1")&&(N=O.long_name),O.types.includes("locality")&&(I=O.long_name)}),t("update:country",$),t("update:state",N),t("update:city",I)}else console.error("No results found");else console.error("Geocoder failed due to: "+g)})}async function d(){navigator.geolocation?navigator.geolocation.getCurrentPosition(s=>{const f={lat:s.coords.latitude,lng:s.coords.longitude};t("update:location",f),l(f)},()=>{console.error("Error getting location")}):console.error("Geolocation is not supported by this browser.")}return(s,f)=>(o.openBlock(),o.createElementBlock("div",Rs,[o.createElementVNode("div",{ref_key:"mapContainer",ref:r,class:"w-100 h-100"},null,512),o.createElementVNode("button",{class:"pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",onClick:d},Ms)]))}},La=fe(Vs,[["__scopeId","data-v-1c7971e5"]]),xs=Object.freeze(Object.defineProperty({__proto__:null,default:La},Symbol.toStringTag,{value:"Module"}));const Bs={__name:"Map",props:{location:Object},setup(e){const t=e;let n=o.ref(null),r=null,i=null;return o.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),i=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),o.watch(()=>t.location,()=>{r&&i&&(i.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(a,l)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Pa=fe(Bs,[["__scopeId","data-v-c194b4a5"]]),Us=Object.freeze(Object.defineProperty({__proto__:null,default:Pa},Symbol.toStringTag,{value:"Module"}));/*!
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");const ce=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},Ii={key:0,class:"t-transp mn-r-small"},Ai=["placeholder","value"],ki={key:0,class:"mn-t-thin invalid-feedback"},Di={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=o.ref(null);let a;const i=()=>{a=new google.maps.places.Autocomplete(r.value),a.addListener("place_changed",s)},l=()=>{a||i()},s=()=>{const d=a.getPlace();if(!d.geometry||!d.address_components)return;let f="",m="",g="";for(let I=0;I<d.address_components.length;I++){console.log(d.address_components);let O=d.address_components[I];O.types.includes("country")&&(f=O.long_name),O.types.includes("administrative_area_level_1")&&(m=O.long_name),O.types.includes("locality")&&(g=O.long_name)}const $=d.formatted_address,N={lat:d.geometry.location.lat(),lng:d.geometry.location.lng()};t("update:address",$),t("update:location",N),t("update:country",f),t("update:state",m),t("update:city",g)};return o.watchEffect(()=>{n.address!==r.value&&(r.value=n.address)}),o.onMounted(()=>{i()}),(d,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([d.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Ii,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{ref_key:"addressInput",ref:r,class:"w-100",placeholder:e.placeholder,value:e.address,onInput:l},null,40,Ai),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[d.validation?(o.openBlock(),o.createElementBlock("div",ki," * "+o.toDisplayString(d.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],2))}},ha=ce(Di,[["__scopeId","data-v-faece1a6"]]),Ri=Object.freeze(Object.defineProperty({__proto__:null,default:ha},Symbol.toStringTag,{value:"Module"}));const Fi=["onClick","disabled"],Mi={key:0},Vi={key:0,class:"loading"},xi=o.createElementVNode("span",null,[o.createElementVNode("svg",{class:"i-small",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[o.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),o.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[o.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),o.createTextVNode(),o.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])])],-1),Bi=[xi],Ui={key:0,class:"h4 loading"},ji=o.createElementVNode("span",{class:"p-small t-white"},"✔",-1),Gi=[ji],Hi={key:0,class:"error"},ga={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},validation:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(null),r=o.ref(null),a=o.ref(!1),i=o.ref(!1);async function l(){n.value.style["pointer-events"]="none",r.value=null,a.value=!0;try{await t.submit(),n.value.classList.replace("bg-main","bg-light-main"),a.value=!1,i.value=!0,setTimeout(()=>{n.value&&(n.value.classList.replace("bg-light-main","bg-main"),n.value.style.pointerEvents="auto",a.value=!1,i.value=!1,r.value=null)},500),t.callback&&setTimeout(()=>t.callback(),t.callbackDelay)}catch{n.value.classList.replace("bg-main","bg-fourth-nano"),r.value="❌",setTimeout(()=>{n.value.classList.replace("bg-fourth-nano","bg-main"),n.value.style.pointerEvents="auto",a.value=!1,i.value=!1,r.value=null},1330)}}return(s,d)=>(o.openBlock(),o.createElementBlock("button",{onClick:o.withModifiers(l,["stop"]),disabled:e.validation,ref_key:"button",ref:n,class:"w-100 bg-main button"},[o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[!a.value&&!r.value&&!i.value?(o.openBlock(),o.createElementBlock("span",Mi,[o.renderSlot(s.$slots,"default")])):o.createCommentVNode("",!0)]),_:3}),o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[a.value&&!r.value?(o.openBlock(),o.createElementBlock("div",Vi,Bi)):o.createCommentVNode("",!0)]),_:1}),o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[i.value?(o.openBlock(),o.createElementBlock("div",Ui,Gi)):o.createCommentVNode("",!0)]),_:1}),o.createVNode(o.Transition,{mode:"out-in",name:"fadeIn"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createElementBlock("div",Hi,[o.createElementVNode("span",null,o.toDisplayString(r.value),1)])):o.createCommentVNode("",!0)]),_:1})],8,Fi))}},Wi=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"}));const Ki={class:"flex-v-center flex-nowrap flex"},Yi={key:0,class:"mn-r-auto t-transp mn-r-small"},qi=["name","value","checked"],Xi={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]}},emits:["update:radio"],setup(e,{emit:t}){const n=e,r=a=>{if(Array.isArray(n.radio)){let i=[...n.radio];if(a.target.checked)i.push(n.value);else{const l=i.indexOf(n.value);l!==-1&&i.splice(l,1)}t("update:radio",i)}else typeof n.radio=="boolean"&&t("update:radio",a.target.checked)};return(a,i)=>(o.openBlock(),o.createElementBlock("label",Ki,[e.label?(o.openBlock(),o.createElementBlock("div",Yi,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onChange:r,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,qi),o.createElementVNode("div",{class:o.normalizeClass(["transition-elastic pd-thin h-2r w-4r radius-extra",{"bg-grey":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[o.createElementVNode("div",{class:o.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},va=ce(Xi,[["__scopeId","data-v-f641f618"]]),zi=Object.freeze(Object.defineProperty({__proto__:null,default:va},Symbol.toStringTag,{value:"Module"}));const Ji={class:"dropdown-content bg-black w-15r radius-big"},Zi={__name:"Dropdown",props:{label:{type:String,default:"Open"}},setup(e){const t=o.ref(!1);return(n,r)=>(o.openBlock(),o.createElementBlock("div",{class:"dropdown z-index-2",onClick:r[0]||(r[0]=a=>t.value=!t.value)},[o.createTextVNode(o.toDisplayString(e.label)+" ",1),o.withDirectives(o.createElementVNode("div",Ji,[o.renderSlot(n.$slots,"default",{},void 0,!0)],512),[[o.vShow,t.value]])]))}},ya=ce(Zi,[["__scopeId","data-v-fc0f7b2b"]]),Qi=Object.freeze(Object.defineProperty({__proto__:null,default:ya},Symbol.toStringTag,{value:"Module"})),eo={class:"error-wrapper"},to={class:"error-card"},_a={__name:"Error",props:{error:Object},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("div",eo,[o.createElementVNode("div",to,[o.createElementVNode("p",null,"Ошибка "+o.toDisplayString(e.error.status),1)])]))}},no=Object.freeze(Object.defineProperty({__proto__:null,default:_a},Symbol.toStringTag,{value:"Module"}));const ro={key:0,class:"t-transp mn-r-small"},ao={class:"w-100"},io=["type","value","placeholder"],oo=["value","placeholder"],lo={key:0,class:"mn-t-thin mn-thin mn-b-thin invalid-feedback"},so={__name:"Field",props:{label:null,type:"text",placeholder:"Enter something here",field:null,validation:!1,disabled:!1},emits:["update:field","focus","blur"],setup(e,{emit:t}){const n=e,r=o.ref(n.field);return(a,i)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",ro,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",ao,[e.type!=="textarea"?(o.openBlock(),o.createElementBlock("input",{key:0,onInput:i[0]||(i[0]=l=>r.value=t("update:field",l.target.value)),onFocus:i[1]||(i[1]=l=>t("focus",l)),onBlur:i[2]||(i[2]=l=>t("blur",l)),type:e.type,class:"w-100",value:e.field,placeholder:e.placeholder},null,40,io)):(o.openBlock(),o.createElementBlock("textarea",{key:1,onInput:i[3]||(i[3]=l=>r.value=t("update:field",l.target.value)),onFocus:i[4]||(i[4]=l=>t("focus",l)),onBlur:i[5]||(i[5]=l=>t("blur",l)),class:"w-100",value:e.field,placeholder:e.placeholder},null,40,oo))])],2),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",lo," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},ba=ce(so,[["__scopeId","data-v-deecbd0c"]]),uo=Object.freeze(Object.defineProperty({__proto__:null,default:ba},Symbol.toStringTag,{value:"Module"})),co={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0(4(?:[14]4|56)|[579])?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-2]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([3-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-46-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{5})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29[1289]|389)","529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"],["80\\d{7}"],["89\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[47]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-4]))\\d{4}"],["69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|[57]9)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["5056(?:[0-35-9]\\d|4[46])\\d{4}|(?:4722|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[7,8,10,13],[["(\\d{3})(\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["4"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","200\\d{6}|(?:33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"[0-36-9]\\d{8}",[9],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function fo(e,t){var n=Array.prototype.slice.call(t);return n.push(co),e.apply(this,n)}function on(e){"@babel/helpers - typeof";return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},on(e)}function Gn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $o(e,t,n){return t&&Gn(e.prototype,t),n&&Gn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function po(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&st(e,t)}function ho(e){var t=Na();return function(){var r=dt(e),a;if(t){var i=dt(this).constructor;a=Reflect.construct(r,arguments,i)}else a=r.apply(this,arguments);return go(this,a)}}function go(e,t){if(t&&(on(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ea(e)}function Ea(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ln(e){var t=typeof Map=="function"?new Map:void 0;return ln=function(r){if(r===null||!vo(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return pt(r,arguments,dt(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),st(a,r)},ln(e)}function pt(e,t,n){return Na()?pt=Reflect.construct:pt=function(a,i,l){var s=[null];s.push.apply(s,i);var d=Function.bind.apply(a,s),f=new d;return l&&st(f,l.prototype),f},pt.apply(null,arguments)}function Na(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vo(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function st(e,t){return st=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},st(e,t)}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(e)}var ye=function(e){mo(n,e);var t=ho(n);function n(r){var a;return po(this,n),a=t.call(this,r),Object.setPrototypeOf(Ea(a),n.prototype),a.name=a.constructor.name,a}return $o(n)}(ln(Error)),Nn=2,yo=17,_o=3,ue="0-90-9٠-٩۰-۹",bo="-‐-―−ー-",Eo="//",No="..",Oo="  ­​⁠ ",Co="()()[]\\[\\]",So="~⁓∼~",gt="".concat(bo).concat(Eo).concat(No).concat(Oo).concat(Co).concat(So),On="++";function Hn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),a=0;a<3;a++){var i=Number(n[a]),l=Number(r[a]);if(i>l)return 1;if(l>i)return-1;if(!isNaN(i)&&isNaN(l))return 1;if(isNaN(i)&&!isNaN(l))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}function vt(e){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(e)}function Et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nt(e,t,n){return t&&Wn(e.prototype,t),n&&Wn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var To="1.2.0",Lo="1.7.35",Kn=" ext. ",wo=/^\d+$/,te=function(){function e(t){Et(this,e),ko(t),this.metadata=t,Oa.call(this,t)}return Nt(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&wo.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Yn(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Yn(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var a=this.nonGeographic()[n];if(a)return a}else{var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Yn=function(){function e(t,n){Et(this,e),this.globalMetadataObject=n,this.metadata=t,Oa.call(this,n.metadata)}return Nt(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(a){return new Po(a,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&qn(this.types(),n))return new Ao(qn(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Kn:this.metadata[13]||Kn}}]),e}(),Po=function(){function e(t,n){Et(this,e),this._format=t,this.metadata=n}return Nt(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Io.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),Io=/^\(?\$1\)?$/,Ao=function(){function e(t,n){Et(this,e),this.type=t,this.metadata=n}return Nt(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function qn(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function ko(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ft(e)||!Ft(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Ft(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Do(e)+": "+e,"."))}var Ft=function(t){return vt(t)==="object"},Do=function(t){return vt(t)};function Cn(e,t){if(t=new te(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Ro(e,t){return t.countries.hasOwnProperty(e)}function Oa(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Hn(t,To)===-1?this.v2=!0:Hn(t,Lo)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Fo=";ext=",xe=function(t){return"([".concat(ue,"]{1,").concat(t,"})")};function Ca(e){var t="20",n="15",r="9",a="6",i="[  \\t,]*",l="[:\\..]?[  \\t,-]*",s="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",f="(?:[xx##~~]|int|int)",m="[- ]+",g="[  \\t]*",$="(?:,{2}|;)",N=Fo+xe(t),I=i+d+l+xe(t)+s,O=i+f+l+xe(r)+s,w=m+xe(a)+"#",h=g+$+l+xe(n)+s,y=g+"(?:,)+"+l+xe(r)+s;return N+"|"+I+"|"+O+"|"+w+"|"+h+"|"+y}var Mo="["+ue+"]{"+Nn+"}",Vo="["+On+"]{0,1}(?:["+gt+"]*["+ue+"]){3,}["+gt+ue+"]*",xo=new RegExp("^["+On+"]{0,1}(?:["+gt+"]*["+ue+"]){1,2}$","i"),Bo=Vo+"(?:"+Ca()+")?",Uo=new RegExp("^"+Mo+"$|^"+Bo+"$","i");function jo(e){return e.length>=Nn&&Uo.test(e)}function Go(e){return xo.test(e)}var Xn=new RegExp("(?:"+Ca()+")$","i");function Ho(e){var t=e.search(Xn);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(Xn),a=1;a<r.length;){if(r[a])return{number:n,ext:r[a]};a++}}var Wo={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Ko(e){return Wo[e]}function Yo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=qo(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qo(e,t){if(e){if(typeof e=="string")return zn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zn(e,t)}}function zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jn(e){for(var t="",n=Yo(e.split("")),r;!(r=n()).done;){var a=r.value;t+=Xo(a,t)||""}return t}function Xo(e,t){return e==="+"?t?void 0:"+":Ko(e)}function zo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Jo(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jo(e,t){if(e){if(typeof e=="string")return Zn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zn(e,t)}}function Zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zo(e,t){for(var n=e.slice(),r=zo(t),a;!(a=r()).done;){var i=a.value;e.indexOf(i)<0&&n.push(i)}return n.sort(function(l,s){return l-s})}function Sn(e,t){return Sa(e,void 0,t)}function Sa(e,t,n){var r=n.type(t),a=r&&r.possibleLengths()||n.possibleLengths();if(!a)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return Sa(e,"MOBILE",n);var i=n.type("MOBILE");i&&(a=Zo(a,i.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var l=e.length,s=a[0];return s===l?"IS_POSSIBLE":s>l?"TOO_SHORT":a[a.length-1]<l?"TOO_LONG":a.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Qo(e,t,n){if(t===void 0&&(t={}),n=new te(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Ta(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Ta(e,t){switch(Sn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function Ee(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function el(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=tl(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tl(e,t){if(e){if(typeof e=="string")return Qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qn(e,t)}}function Qn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var nl=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Tn(e,t,n){if(t=t||{},!!e.country){n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(Ee(r,n.nationalNumberPattern())){if(Mt(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Mt(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var a=el(nl),i;!(i=a()).done;){var l=i.value;if(Mt(r,l,n))return l}}}}function Mt(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:Ee(e,t.pattern())}function rl(e,t,n){if(t=t||{},n=new te(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Tn(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return Ee(r,n.nationalNumberPattern())}function al(e,t,n){var r=new te(n),a=r.getCountryCodesForCallingCode(e);return a?a.filter(function(i){return il(t,i,n)}):[]}function il(e,t,n){var r=new te(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}function ol(e){return e.replace(new RegExp("[".concat(gt,"]+"),"g")," ").trim()}var ll=/(\$\d)/;function sl(e,t,n){var r=n.useInternationalFormat,a=n.withNationalPrefix;n.carrierCode,n.metadata;var i=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():a&&t.nationalPrefixFormattingRule()?t.format().replace(ll,t.nationalPrefixFormattingRule()):t.format());return r?ol(i):i}var dl=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ul(e,t,n){var r=new te(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(dl.test(r.IDDPrefix()))return r.IDDPrefix()}function cl(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}function fl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=$l(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $l(e,t){if(e){if(typeof e=="string")return er(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return er(e,t)}}function er(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function nr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tr(Object(n),!0).forEach(function(r){pl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rr={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function ml(e,t,n,r){if(n?n=nr(nr({},rr),n):n=rr,r=new te(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var a=r.countryCallingCode(),i=n.v2?e.nationalNumber:e.phone,l;switch(t){case"NATIONAL":return i?(l=yt(i,e.carrierCode,"NATIONAL",r,n),Vt(l,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return i?(l=yt(i,null,"INTERNATIONAL",r,n),l="+".concat(a," ").concat(l),Vt(l,e.ext,r,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(i);case"RFC3966":return cl({number:"+".concat(a).concat(i),ext:e.ext});case"IDD":if(!n.fromCountry)return;var s=gl(i,e.carrierCode,a,n.fromCountry,r);return Vt(s,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function yt(e,t,n,r,a){var i=hl(r.formats(),e);return i?sl(e,i,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&a&&a.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function hl(e,t){for(var n=fl(e),r;!(r=n()).done;){var a=r.value;if(a.leadingDigitsPatterns().length>0){var i=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(t.search(i)!==0)continue}if(Ee(t,a.pattern()))return a}}function Vt(e,t,n,r){return t?r(e,t,n):e}function gl(e,t,n,r,a){var i=Cn(r,a.metadata);if(i===n){var l=yt(e,t,"NATIONAL",a);return n==="1"?n+" "+l:l}var s=ul(r,void 0,a.metadata);if(s)return"".concat(s," ").concat(n," ").concat(yt(e,null,"INTERNATIONAL",a))}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ar(Object(n),!0).forEach(function(r){vl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _l(e,t,n){return t&&or(e.prototype,t),n&&or(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var bl=function(){function e(t,n,r){if(yl(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var a=Nl(t,r),i=a.country,l=a.countryCallingCode;this.country=i,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return _l(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:al(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Qo(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return rl(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new te(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return Tn(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return ml(this,n,r?ir(ir({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}]),e}(),El=function(t){return/^[A-Z]{2}$/.test(t)};function Nl(e,t){var n,r,a=new te(t);return El(e)?(n=e,a.selectNumberingPlan(n),r=a.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var Ol=new RegExp("(["+ue+"])");function Cl(e,t,n,r){if(t){var a=new te(r);a.selectNumberingPlan(t,n);var i=new RegExp(a.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var l=e.match(Ol);if(!(l&&l[1]!=null&&l[1].length>0&&l[1]==="0"))return e}}}function Sl(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var a,i,l=r.length-1,s=l>0&&r[l];if(t.nationalPrefixTransformRule()&&s)a=e.replace(n,t.nationalPrefixTransformRule()),l>1&&(i=r[1]);else{var d=r[0];a=e.slice(d.length),s&&(i=r[1])}var f;if(s){var m=e.indexOf(r[1]),g=e.slice(0,m);g===t.numberingPlan.nationalPrefix()&&(f=t.numberingPlan.nationalPrefix())}else f=r[0];return{nationalNumber:a,nationalPrefix:f,carrierCode:i}}}return{nationalNumber:e}}function sn(e,t){var n=Sl(e,t),r=n.carrierCode,a=n.nationalNumber;if(a!==e){if(!Tl(e,a,t))return{nationalNumber:e};if(t.possibleLengths()&&!Ll(a,t))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:r}}function Tl(e,t,n){return!(Ee(e,n.nationalNumberPattern())&&!Ee(t,n.nationalNumberPattern()))}function Ll(e,t){switch(Sn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function wl(e,t,n,r){var a=t?Cn(t,r):n;if(e.indexOf(a)===0){r=new te(r),r.selectNumberingPlan(t,n);var i=e.slice(a.length),l=sn(i,r),s=l.nationalNumber,d=sn(e,r),f=d.nationalNumber;if(!Ee(f,r.nationalNumberPattern())&&Ee(s,r.nationalNumberPattern())||Sn(f,r)==="TOO_LONG")return{countryCallingCode:a,number:i}}return{number:e}}function Pl(e,t,n,r){if(!e)return{};var a;if(e[0]!=="+"){var i=Cl(e,t,n,r);if(i&&i!==e)a=!0,e="+"+i;else{if(t||n){var l=wl(e,t,n,r),s=l.countryCallingCode,d=l.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:d}}return{number:e}}}if(e[1]==="0")return{};r=new te(r);for(var f=2;f-1<=_o&&f<=e.length;){var m=e.slice(1,f);if(r.hasCallingCode(m))return r.selectNumberingPlan(m),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:m,number:e.slice(f)};f++}return{}}function Il(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Al(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Al(e,t){if(e){if(typeof e=="string")return lr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lr(e,t)}}function lr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kl(e,t){var n=t.countries,r=t.defaultCountry,a=t.metadata;a=new te(a);for(var i=[],l=Il(n),s;!(s=l()).done;){var d=s.value;if(a.country(d),a.leadingDigits()){if(e&&e.search(a.leadingDigits())===0)return d}else if(Tn({phone:e,country:d},void 0,a.metadata))if(r){if(d===r)return d;i.push(d)}else return d}if(i.length>0)return i[0]}var Dl=!1;function Rl(e,t){var n=t.nationalNumber,r=t.defaultCountry,a=t.metadata;if(Dl&&a.isNonGeographicCallingCode(e))return"001";var i=a.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:kl(n,{countries:i,defaultCountry:r,metadata:a.metadata})}var La="+",Fl="[\\-\\.\\(\\)]?",sr="(["+ue+"]|"+Fl+")",Ml="^\\"+La+sr+"*["+ue+"]"+sr+"*$",Vl=new RegExp(Ml,"g"),dn=ue,xl="["+dn+"]+((\\-)*["+dn+"])*",Bl="a-zA-Z",Ul="["+Bl+"]+((\\-)*["+dn+"])*",jl="^("+xl+"\\.)*"+Ul+"\\.?$",Gl=new RegExp(jl,"g"),dr="tel:",un=";phone-context=",Hl=";isub=";function Wl(e){var t=e.indexOf(un);if(t<0)return null;var n=t+un.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Kl(e){return e===null?!0:e.length===0?!1:Vl.test(e)||Gl.test(e)}function Yl(e,t){var n=t.extractFormattedPhoneNumber,r=Wl(e);if(!Kl(r))throw new ye("NOT_A_NUMBER");var a;if(r===null)a=n(e)||"";else{a="",r.charAt(0)===La&&(a+=r);var i=e.indexOf(dr),l;i>=0?l=i+dr.length:l=0;var s=e.indexOf(un);a+=e.substring(l,s)}var d=a.indexOf(Hl);if(d>0&&(a=a.substring(0,d)),a!=="")return a}var ql=250,Xl=new RegExp("["+On+ue+"]"),zl=new RegExp("[^"+ue+"#]+$");function Jl(e,t,n){if(t=t||{},n=new te(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new ye("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=Ql(e,t.v2,t.extract),a=r.number,i=r.ext,l=r.error;if(!a){if(t.v2)throw l==="TOO_SHORT"?new ye("TOO_SHORT"):new ye("NOT_A_NUMBER");return{}}var s=ts(a,t.defaultCountry,t.defaultCallingCode,n),d=s.country,f=s.nationalNumber,m=s.countryCallingCode,g=s.countryCallingCodeSource,$=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new ye("INVALID_COUNTRY");return{}}if(!f||f.length<Nn){if(t.v2)throw new ye("TOO_SHORT");return{}}if(f.length>yo){if(t.v2)throw new ye("TOO_LONG");return{}}if(t.v2){var N=new bl(m,f,n.metadata);return d&&(N.country=d),$&&(N.carrierCode=$),i&&(N.ext=i),N.__countryCallingCodeSource=g,N}var I=(t.extended?n.hasSelectedNumberingPlan():d)?Ee(f,n.nationalNumberPattern()):!1;return t.extended?{country:d,countryCallingCode:m,carrierCode:$,valid:I,possible:I?!0:!!(t.extended===!0&&n.possibleLengths()&&Ta(f,n)),phone:f,ext:i}:I?es(d,f,i):{}}function Zl(e,t,n){if(e){if(e.length>ql){if(n)throw new ye("TOO_LONG");return}if(t===!1)return e;var r=e.search(Xl);if(!(r<0))return e.slice(r).replace(zl,"")}}function Ql(e,t,n){var r=Yl(e,{extractFormattedPhoneNumber:function(l){return Zl(l,n,t)}});if(!r)return{};if(!jo(r))return Go(r)?{error:"TOO_SHORT"}:{};var a=Ho(r);return a.ext?a:{number:r}}function es(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function ts(e,t,n,r){var a=Pl(Jn(e),t,n,r.metadata),i=a.countryCallingCodeSource,l=a.countryCallingCode,s=a.number,d;if(l)r.selectNumberingPlan(l);else if(s&&(t||n))r.selectNumberingPlan(t,n),t&&(d=t),l=n||Cn(t,r.metadata);else return{};if(!s)return{countryCallingCodeSource:i,countryCallingCode:l};var f=sn(Jn(s),r),m=f.nationalNumber,g=f.carrierCode,$=Rl(l,{nationalNumber:m,defaultCountry:t,metadata:r});return $&&(d=$,$==="001"||r.country(d)),{country:d,countryCallingCode:l,countryCallingCodeSource:i,nationalNumber:m,carrierCode:g}}function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function cr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ur(Object(n),!0).forEach(function(r){ns(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ns(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rs(e,t,n){return Jl(e,cr(cr({},t),{},{v2:!0}),n)}function cn(e){"@babel/helpers - typeof";return cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(e)}function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function as(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fr(Object(n),!0).forEach(function(r){is(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function is(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function os(e,t){return us(e)||ds(e,t)||ss(e,t)||ls()}function ls(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ss(e,t){if(e){if(typeof e=="string")return $r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $r(e,t)}}function $r(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ds(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,i=!1,l,s;try{for(n=n.call(e);!(a=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));a=!0);}catch(d){i=!0,s=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function us(e){if(Array.isArray(e))return e}function cs(e){var t=Array.prototype.slice.call(e),n=os(t,4),r=n[0],a=n[1],i=n[2],l=n[3],s,d,f;if(typeof r=="string")s=r;else throw new TypeError("A text for parsing must be a string.");if(!a||typeof a=="string")l?(d=i,f=l):(d=void 0,f=i),a&&(d=as({defaultCountry:a},d));else if(fs(a))i?(d=a,f=i):f=a;else throw new Error("Invalid second argument: ".concat(a));return{text:s,options:d,metadata:f}}var fs=function(t){return cn(t)==="object"};function pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function mr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?pr(Object(n),!0).forEach(function(r){$s(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ps(e,t,n){t&&t.defaultCountry&&!Ro(t.defaultCountry,n)&&(t=mr(mr({},t),{},{defaultCountry:void 0}));try{return rs(e,t,n)}catch(r){if(!(r instanceof ye))throw r}}function ms(){var e=cs(arguments),t=e.text,n=e.options,r=e.metadata;return ps(t,n,r)}function xt(){return fo(ms,arguments)}const hs=[["‫افغانستان‬‎","af","93",,"🇦🇫"],["Shqipëri","al","355",,"🇦🇱"],["‫الجزائر‬‎","dz","213",,"🇩🇿"],["American Samoa","as","1684",,"🇦🇸"],["Andorra","ad","376",,"🇦🇩"],["Angola","ao","244",,"🇦🇴"],["Anguilla","ai","1264",,"🇦🇮"],["Antigua and Barbuda","ag","1268",,"🇦🇬"],["Argentina","ar","54",,"🇦🇷"],["Հայաստան","am","374",,"🇦🇲"],["Aruba","aw","297",,"🇦🇼"],["Australia","au","61",0,,"🇦🇺"],["Österreich","at","43",,"🇦🇹"],["Azərbaycan","az","994",,"🇦🇿"],["Bahamas","bs","1242",,"🇧🇸"],["‫البحرين‬‎","bh","973",,"🇧🇭"],["বাংলাদেশ","bd","880",,"🇧🇩"],["Barbados","bb","1246",,"🇧🇧"],["Беларусь","by","375",,"🇧🇾"],["België","be","32",,"🇧🇪"],["Belize","bz","501",,"🇧🇿"],["Bénin","bj","229",,"🇧🇯"],["Bermuda","bm","1441",,"🇧🇲"],["འབྲུག","bt","975",,"🇧🇹"],["Bolivia","bo","591",,"🇧🇴"],["Босна и Херцеговина","ba","387",,"🇧🇦"],["Botswana","bw","267",,"🇧🇼"],["Brasil","br","55",,"🇧🇷"],["British Indian Ocean Territory","io","246",,"🇮🇴"],["British Virgin Islands","vg","1284",,"🇻🇬"],["Brunei","bn","673",,"🇧🇳"],["България","bg","359",,"🇧🇬"],["Burkina Faso","bf","226",,"🇧🇫"],["Uburundi","bi","257",,"🇧🇮"],["កម្ពុជា","kh","855",,"🇰🇭"],["Cameroun","cm","237",,"🇨🇲"],["Canada","ca","1",1,"🇨🇦"],["Kabu Verdi","cv","238",,"🇨🇻"],["Caribbean Netherlands","bq","599",1,,"🇧🇶"],["Cayman Islands","ky","1345",,"🇰🇾"],["République centrafricaine","cf","236",,"🇨🇫"],["Tchad","td","235",,"🇹🇩"],["Chile","cl","56",,"🇨🇱"],["中国","cn","86",,"🇨🇳"],["Christmas Island","cx","61",2,,"🇨🇽"],["Keeling","cc","61",1,,"🇨🇨"],["Colombia","co","57",,"🇨🇴"],["‫جزر القمر‬‎","km","269",,"🇰🇲"],["DRC","cd","243",,"🇨🇩"],["Republic","cg","242",,"🇨🇬"],["Cook Islands","ck","682",,"🇨🇰"],["Costa Rica","cr","506",,"🇨🇷"],["Côte d’Ivoire","ci","225",,"🇨🇮"],["Hrvatska","hr","385",,"🇭🇷"],["Cuba","cu","53",,"🇨🇺"],["Curaçao","cw","599",0,,"🇨🇼"],["Κύπρος","cy","357",,"🇨🇾"],["Česká republika","cz","420",,"🇨🇿"],["Danmark","dk","45",,"🇩🇰"],["Djibouti","dj","253",,"🇩🇯"],["Dominica","dm","1767",,"🇩🇲"],["República Dominicana","do","1",2,["809","829","849","🇩🇴"]],["Ecuador","ec","593",,"🇪🇨"],["‫مصر‬‎","eg","20",,"🇪🇬"],["El Salvador","sv","503",,"🇸🇻"],["Guinea Ecuatorial","gq","240",,"🇬🇶"],["Eritrea","er","291",,"🇪🇷"],["Eesti","ee","372",,"🇪🇪"],["Ethiopia","et","251",,"🇪🇹"],["Islas Malvinas","fk","500",,"🇫🇰"],["Føroyar","fo","298",,"🇫🇴"],["Fiji","fj","679",,"🇫🇯"],["Suomi","fi","358",0,,"🇫🇮"],["France","fr","33",,"🇫🇷"],["Guyane française","gf","594",,"🇬🇫"],["Polynésie française","pf","689",,"🇵🇫"],["Gabon","ga","241",,"🇬🇦"],["Gambia","gm","220",,"🇬🇲"],["საქართველო","ge","995",,"🇬🇪"],["Deutschland","de","49",,"🇩🇪"],["Gaana","gh","233",,"🇬🇭"],["Gibraltar","gi","350",,"🇬🇮"],["Ελλάδα","gr","30",,"🇬🇷"],["Kalaallit Nunaat","gl","299",,"🇬🇱"],["Grenada","gd","1473",,"🇬🇩"],["Guadeloupe","gp","590",0,,"🇬🇵"],["Guam","gu","1671",,"🇬🇺"],["Guatemala","gt","502",,"🇬🇹"],["Guernsey","gg","44",1,,"🇬🇬"],["Guinée","gn","224",,"🇬🇳"],["Guiné Bissau","gw","245",,"🇬🇼"],["Guyana","gy","592",,"🇬🇾"],["Haiti","ht","509",,"🇭🇹"],["Honduras","hn","504",,"🇭🇳"],["香港","hk","852",,"🇭🇰"],["Magyarország","hu","36",,"🇭🇺"],["Ísland","is","354",,"🇮🇸"],["भारत","in","91",,"🇮🇳"],["Indonesia","id","62",,"🇮🇩"],["‫ایران‬‎","ir","98",,"🇮🇷"],["‫العراق‬‎","iq","964",,"🇮🇶"],["Ireland","ie","353",,"🇮🇪"],["Isle of Man","im","44",2,,"🇮🇲"],["‫ישראל‬‎","il","972",,"🇮🇱"],["Italia","it","39",0,,"🇮🇹"],["Jamaica","jm","1876",,"🇯🇲"],["日本","jp","81",,"🇯🇵"],["Jersey","je","44",3,,"🇯🇪"],["‫الأردن‬‎","jo","962",,"🇯🇴"],["Казахстан","kz","7",1,,"🇰🇿"],["Kenya","ke","254",,"🇰🇪"],["Kiribati","ki","686",,"🇰🇮"],["Kosovo","xk","383",,"🇽🇰"],["‫الكويت‬‎","kw","965",,"🇰🇼"],["Кыргызстан","kg","996",,"🇰🇬"],["ລາວ","la","856",,"🇱🇦"],["Latvija","lv","371",,"🇱🇻"],["‫لبنان‬‎","lb","961",,"🇱🇧"],["Lesotho","ls","266",,"🇱🇸"],["Liberia","lr","231",,"🇱🇷"],["‫ليبيا‬‎","ly","218",,"🇱🇾"],["Liechtenstein","li","423",,"🇱🇮"],["Lietuva","lt","370",,"🇱🇹"],["Luxembourg","lu","352",,"🇱🇺"],["澳門","mo","853",,"🇲🇴"],["FYROM","mk","389",,"🇲🇰"],["Madagasikara","mg","261",,"🇲🇬"],["Malawi","mw","265",,"🇲🇼"],["Malaysia","my","60",,"🇲🇾"],["Maldives","mv","960",,"🇲🇻"],["Mali","ml","223",,"🇲🇱"],["Malta","mt","356",,"🇲🇹"],["Marshall Islands","mh","692",,"🇲🇭"],["Martinique","mq","596",,"🇲🇶"],["‫موريتانيا‬‎","mr","222",,"🇲🇷"],["Moris","mu","230",,"🇲🇺"],["Mayotte","yt","262",1,,"🇾🇹"],["México","mx","52",,"🇲🇽"],["Micronesia","fm","691",,"🇫🇲"],["Republica Moldova","md","373",,"🇲🇩"],["Monaco","mc","377",,"🇲🇨"],["Монгол","mn","976",,"🇲🇳"],["Crna Gora","me","382",,"🇲🇪"],["Montserrat","ms","1664",,"🇲🇸"],["‫المغرب‬‎","ma","212",0,,"🇲🇦"],["Moçambique","mz","258",,"🇲🇿"],["Burma","mm","95",,"🇲🇲"],["Namibië","na","264",,"🇳🇦"],["Nauru","nr","674",,"🇳🇷"],["नेपाल","np","977",,"🇳🇵"],["Nederland","nl","31",,"🇳🇱"],["Nouvelle-Calédonie","nc","687",,"🇳🇨"],["New Zealand","nz","64",,"🇳🇿"],["Nicaragua","ni","505",,"🇳🇮"],["Nijar","ne","227",,"🇳🇪"],["Nigeria","ng","234",,"🇳🇬"],["Niue","nu","683",,"🇳🇺"],["Norfolk Island","nf","672",,"🇳🇫"],["조선 민주주의 인민 공화국","kp","850",,"🇰🇵"],["Northern Mariana Islands","mp","1670",,"🇲🇵"],["Norge","no","47",0,,"🇳🇴"],["‫عُمان‬‎","om","968",,"🇴🇲"],["‫پاکستان‬‎","pk","92",,"🇵🇰"],["Palau","pw","680",,"🇵🇼"],["‫فلسطين‬‎","ps","970",,"🇵🇸"],["Panamá","pa","507",,"🇵🇦"],["Papua New Guinea","pg","675",,"🇵🇬"],["Paraguay","py","595",,"🇵🇾"],["Perú","pe","51",,"🇵🇪"],["Philippines","ph","63",,"🇵🇭"],["Polska","pl","48",,"🇵🇱"],["Portugal","pt","351",,"🇵🇹"],["Puerto Rico","pr","1",3,["787","939","🇵🇷"]],["‫قطر‬‎","qa","974",,"🇶🇦"],["La Réunion","re","262",0,,"🇷🇪"],["România","ro","40",,"🇷🇴"],["Россия","ru","7",0,,"🇷🇺"],["Rwanda","rw","250",,"🇷🇼"],["Saint Barthélemy","bl","590",1,,"🇧🇱"],["Saint Helena","sh","290",,"🇸🇭"],["Saint Kitts and Nevis","kn","1869",,"🇰🇳"],["Saint Lucia","lc","1758",,"🇱🇨"],["Saint-Martin (partie française","mf","590",2,,"🇲🇫"],["Saint-Pierre-et-Miquelon","pm","508",,"🇵🇲"],["Saint Vincent and the Grenadines","vc","1784",,"🇻🇨"],["Samoa","ws","685",,"🇼🇸"],["San Marino","sm","378",,"🇸🇲"],["São Tomé e Príncipe","st","239",,"🇸🇹"],["‫المملكة العربية السعودية‬‎","sa","966",,"🇸🇦"],["Sénégal","sn","221",,"🇸🇳"],["Србија","rs","381",,"🇷🇸"],["Seychelles","sc","248",,"🇸🇨"],["Sierra Leone","sl","232",,"🇸🇱"],["Singapore","sg","65",,"🇸🇬"],["Sint Maarten","sx","1721",,"🇸🇽"],["Slovensko","sk","421",,"🇸🇰"],["Slovenija","si","386",,"🇸🇮"],["Solomon Islands","sb","677",,"🇸🇧"],["Soomaaliya","so","252",,"🇸🇴"],["South Africa","za","27",,"🇿🇦"],["대한민국","kr","82",,"🇰🇷"],["‫جنوب السودان‬‎","ss","211",,"🇸🇸"],["España","es","34",,"🇪🇸"],["ශ්‍රී ලංකාව","lk","94",,"🇱🇰"],["‫السودان‬‎","sd","249",,"🇸🇩"],["Suriname","sr","597",,"🇸🇷"],["Svalbard and Jan Mayen","sj","47",1,,"🇸🇯"],["Swaziland","sz","268",,"🇸🇿"],["Sverige","se","46",,"🇸🇪"],["Schweiz","ch","41",,"🇨🇭"],["‫سوريا‬‎","sy","963",,"🇸🇾"],["台灣","tw","886",,"🇹🇼"],["Tajikistan","tj","992",,"🇹🇯"],["Tanzania","tz","255",,"🇹🇿"],["ไทย","th","66",,"🇹🇭"],["Timor-Leste","tl","670",,"🇹🇱"],["Togo","tg","228",,"🇹🇬"],["Tokelau","tk","690",,"🇹🇰"],["Tonga","to","676",,"🇹🇴"],["Trinidad and Tobago","tt","1868",,"🇹🇹"],["‫تونس‬‎","tn","216",,"🇹🇳"],["Türkiye","tr","90",,"🇹🇷"],["Turkmenistan","tm","993",,"🇹🇲"],["Turks and Caicos Islands","tc","1649",,"🇹🇨"],["Tuvalu","tv","688",,"🇹🇻"],["U.S. Virgin Islands","vi","1340",,"🇻🇮"],["Uganda","ug","256",,"🇺🇬"],["Україна","ua","380",,"🇺🇦"],["‫الإمارات العربية المتحدة‬‎","ae","971",,"🇦🇪"],["United Kingdom","gb","44",0,,"🇬🇧"],["United States","us","1",0,,"🇺🇸"],["Uruguay","uy","598",,"🇺🇾"],["Oʻzbekiston","uz","998",,"🇺🇿"],["Vanuatu","vu","678",,"🇻🇺"],["Città del Vaticano","va","39",1,,"🇻🇦"],["Venezuela","ve","58",,"🇻🇪"],["Việt Nam","vn","84",,"🇻🇳"],["Wallis-et-Futuna","wf","681",,"🇼🇫"],["‫الصحراء الغربية‬‎","eh","212",1,,"🇪🇭"],["‫اليمن‬‎","ye","967",,"🇾🇪"],["Zambia","zm","260",,"🇿🇲"],["Zimbabwe","zw","263",,"🇿🇼"],["Åland Islands","ax","358",1,,"🇦🇽"]],gs=hs.map(e=>({name:e[0],iso2:e[1].toUpperCase(),dialCode:e[2],priority:e[3]||0,areaCodes:e[4]||null,flag:e[e.length-1]||null}));function vs(){return fetch("https://ip2c.org/s").then(e=>e.text()).then(e=>{const t=(e||"").toString();if(!t||t[0]!=="1")throw new Error("unable to fetch the country");return t.substr(2,2)})}function ys(e,t){if(e.setSelectionRange)e.focus(),e.setSelectionRange(t,t);else if(e.createTextRange){const n=e.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select()}}const _s=[{name:"allCountries",type:Array,default:gs,description:"All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",inDemo:!1},{name:"autoFormat",type:Boolean,default:!0,description:"Auto update the input to the formatted phone number when it's valid",inDemo:!0},{name:"customValidate",type:[Boolean,RegExp],default:!1,description:"Custom validation RegExp for input",inDemo:!1},{name:"defaultCountry",default:"",type:String,description:"Default country, will override the country fetched from IP address of user",inDemo:!1},{name:"disabled",default:!1,type:Boolean,description:"Disable <code>vue-tel-input</code>, including the input & flag dropdown",inDemo:!1},{name:"autoDefaultCountry",default:!0,type:Boolean,description:"To fetch default country based on IP address of user",inDemo:!1},{name:"dropdownOptions",type:Object,description:"Options for dropdown, see below",inDemo:!1},{name:"dropdownOptions.showDialCodeInList",default:!0,type:Boolean,description:"Show dial code in the dropdown list",inDemo:!0},{name:"dropdownOptions.showDialCodeInSelection",default:!1,type:Boolean,description:"Show dial code in the dropdown selection",inDemo:!0},{name:"dropdownOptions.showFlags",default:!0,type:Boolean,description:"Show flags in the dropdown selection and list",inDemo:!0},{name:"dropdownOptions.tabindex",default:0,type:Number,description:"Native dropdown <code>tabindex</code> attribute",inDemo:!1},{name:"ignoredCountries",default:[],type:Array,description:"List of countries will NOT be shown on the dropdown",inDemo:!1},{name:"inputOptions",type:Object,description:"Options for input, see below",inDemo:!1},{name:"inputOptions.autocomplete",type:String,default:"on",description:"Native input <code>autocomplete</code> attribute",inDemo:!1},{name:"inputOptions.autofocus",type:Boolean,default:!1,description:"Native input <code>autofocus</code> attribute",inDemo:!1},{name:"inputOptions.id",default:"",type:String,description:"Native input <code>id</code> attribute",inDemo:!1},{name:"inputOptions.maxlength",default:25,type:Number,description:"Native input <code>maxlength</code> attribute",inDemo:!1},{name:"inputOptions.name",default:"telephone",type:String,description:"Native input <code>name</code> attribute",inDemo:!1},{name:"inputOptions.placeholder",default:"Enter a phone number",type:String,description:"Placeholder for the input",inDemo:!1},{name:"inputOptions.readonly",default:!1,type:Boolean,description:"Native input <code>readonly</code> attribute",inDemo:!1},{name:"inputOptions.required",default:!1,type:Boolean,description:"Native input <code>required</code> attribute",inDemo:!1},{name:"inputOptions.tabindex",default:0,type:Number,description:"Native input <code>tabindex</code> attribute",inDemo:!1},{name:"inputOptions.type",default:"tel",type:String,description:"Native input <code>type</code> attribute",inDemo:!1},{name:"inputOptions.styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the <code>input</code>",inDemo:!1},{name:"invalidMsg",default:"",type:String,description:"",inDemo:!1},{name:"mode",default:"auto",type:String,description:"Allowed values: <code>'auto'</code> (Default set by phone), <code>'international'</code> (Format number with the dial code i.e. + 61), <code>'national'</code> (Format number without dial code i.e. 0321232)",inDemo:!0,options:["auto","national","international"]},{name:"onlyCountries",default:[],type:Array,description:"List of countries will be shown on the dropdown",inDemo:!1},{name:"preferredCountries",default:[],type:Array,description:"Preferred countries list, will be on top of the dropdown",inDemo:!1},{name:"styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the wrapper",inDemo:!1},{name:"validCharactersOnly",default:!1,type:Boolean,description:"Only allow valid characters in a phone number (will also verify in <code>mounted</code>, so phone number with invalid characters will be shown as an empty string)",inDemo:!1}],bs=[..._s].reduce((e,t)=>{if(t.name.includes(".")){const[n,r]=t.name.split(".");e[n]?Object.assign(e[n],{[r]:t.default}):Object.assign(e,{[n]:{[r]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),hr={options:{...bs}},Es={beforeMount(e,t,n){if(typeof t.value!="function"){const r=n.context.name;let a=`[Vue-click-outside:] provided expression ${t.expression}
8
+ is not a function, but has to be`;r&&(a+=`Found in component ${r}`),console.warn(a)}e.clickOutsideEvent=function(r){e===r.target||e.contains(r.target)||t.value(r,e)},document.body.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};function Q(e){const t=hr.options[e];return typeof t>"u"?hr.options[e]:t}const Ns=o.defineComponent({name:"Vue3ReactiveTelInput",directives:{clickOutside:Es},props:{modelValue:{type:String,default:""},badClass:{type:[String,Array,Object],default:""},goodClass:{type:[String,Array,Object],default:""},badStyle:{type:[String,Array,Object],default:""},goodStyle:{type:[String,Array,Object],default:""},badInputClass:{type:[String,Array,Object],default:""},goodInputClass:{type:[String,Array,Object],default:""},badInputStyle:{type:[String,Array,Object],default:""},goodInputStyle:{type:[String,Array,Object],default:""},allCountries:{type:Array,default:()=>Q("allCountries")},autoFormat:{type:Boolean,default:()=>Q("autoFormat")},validation:{type:[Boolean,Object],default:!1},customValidate:{type:[Boolean,RegExp],default:()=>Q("customValidate")},defaultCountry:{type:String,default:()=>Q("defaultCountry")},disabled:{type:Boolean,default:()=>Q("disabled")},autoDefaultCountry:{type:Boolean,default:()=>Q("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>Q("dropdownOptions")},ignoredCountries:{type:Array,default:()=>Q("ignoredCountries")},inputOptions:{type:Object,default:()=>Q("inputOptions")},invalidMsg:{type:String,default:()=>Q("invalidMsg")},mode:{type:String,default:()=>Q("mode")},onlyCountries:{type:Array,default:()=>Q("onlyCountries")},preferredCountries:{type:Array,default:()=>Q("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>Q("validCharactersOnly")},rootClass:{type:[String,Array,Object],default:()=>Q("styleClasses")},inputClass:{type:[String,Array,Object],default:()=>""},divInputClass:{type:[String,Array,Object],default:()=>""},rootStyle:{type:[String,Array,Object],default:()=>""},dropdownStyle:{type:[String,Array,Object],default:()=>""},listStyle:{type:[String,Array,Object],default:()=>""},inputStyle:{type:[String,Array,Object],default:()=>""},inputId:{type:[String,Array,Object],default:()=>""},Placeholder:{type:[String,Object,Function],default:()=>""}},data(){return{counter:5,initCounter:5,message:{action:null,amount:null},phone:this.modelValue?this.modelValue:"",activeCountryCode:"",open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:null,dropdownOpenDirection:"below",parsedPlaceholder:this.Placeholder!==""?this.Placeholder:this.inputOptions.placeholder}},watch:{activeCountry(e,t){if(!e&&(t!=null&&t.iso2)){this.activeCountryCode=t.iso2;return}e!=null&&e.iso2&&this.$emit("country-changed",e)},"phoneObject.countryCode":function(e){this.activeCountryCode=e},"phoneObject.valid":function(){this.$emit("validate",this.phoneObject)},"phoneObject.formatted":function(e){!this.autoFormat||this.customValidate||(this.emitInput(e),this.$nextTick(()=>{e&&!this.value&&(this.phone=e)}))},"inputOptions.placeholder":function(){this.resetPlaceholder()},value(e,t){this.testCharacters()?this.phone=e:this.$nextTick(()=>{this.phone=t,this.onInput()})},open(e){e?(this.setDropdownPosition(),this.$emit("open")):this.$emit("close")}},mounted(){this.cleanInvalidCharacters(),this.initializeCountry().then(()=>{var e;!this.phone&&((e=this.inputOptions)!=null&&e.showDialCode)&&this.activeCountryCode&&(this.phone=`+${this.activeCountryCode}`),this.$emit("validate",this.phoneObject)}).catch(console.error).then(()=>{this.finishMounted=!0})},computed:{activeCountry(){return this.findCountry(this.activeCountryCode)},activeCountryFlag(){return this.activeCountry?this.activeCountry.flag:null},parsedMode(){return this.mode==="auto"?!this.phone||this.phone[0]!=="+"?"national":"international":["international","national"].includes(this.mode)?this.mode:(console.error('Invalid value of prop "mode"'),"international")},filteredCountries(){return this.onlyCountries.length?this.allCountries.filter(({iso2:e})=>this.onlyCountries.some(t=>t.toUpperCase()===e)):this.ignoredCountries.length?this.allCountries.filter(({iso2:e})=>!this.ignoredCountries.includes(e.toUpperCase())&&!this.ignoredCountries.includes(e.toLowerCase())):this.allCountries},sortedCountries(){return[...this.getCountries(this.preferredCountries).map(t=>({...t,preferred:!0})),...this.filteredCountries]},phoneObject(){var i,l,s;let e;((i=this.phone)==null?void 0:i[0])==="+"?e=xt(this.phone)||{}:e=xt(this.phone,this.activeCountryCode)||{};const{metadata:t,...n}=e;console.log(e);let r=(l=e.isValid)==null?void 0:l.call(e),a=this.phone;return r&&(a=(s=e.format)==null?void 0:s.call(e,this.parsedMode.toUpperCase(),{nationalPrefix:!1})),e.country&&(this.ignoredCountries.length||this.onlyCountries.length)&&(this.findCountry(e.country)||(r=!1,Object.assign(e,{country:null}))),Object.assign(n,{countryCode:e.country,valid:r,country:this.activeCountry,formatted:a}),n},classes(){return this.phoneObject.valid===!0?this.goodClass:this.phoneObject.valid===!1?this.badClass:void 0},styles(){return this.phoneObject.valid===!0?this.goodStyle:this.phoneObject.valid===!1?this.badStyle:void 0},Iclasses(){return this.phoneObject.valid===!0?this.goodInputClass:this.phoneObject.valid===!1?this.badInputClass:void 0},Istyles(){return this.phoneObject.valid===!0?this.goodInputStyle:this.phoneObject.valid===!1?this.badInputStyle:void 0}},methods:{resetPlaceholder(){this.parsedPlaceholder=this.inputOptions.placeholder},initializeCountry(){return new Promise(e=>{var n;if(((n=this.phone)==null?void 0:n[0])==="+"){e();return}if(this.defaultCountry){this.choose(this.defaultCountry),e();return}const t=this.preferredCountries[0]||this.filteredCountries[0];this.autoDefaultCountry?vs().then(r=>{this.choose(r||this.activeCountryCode)}).catch(r=>{console.warn(r),this.choose(t)}).then(()=>{e()}):(this.choose(t),e())})},getCountries(e=[]){return e.map(t=>this.findCountry(t)).filter(Boolean)},findCountry(e=""){return this.filteredCountries.find(t=>t.iso2===e.toUpperCase())},getItemClass(e,t){const n=this.selectedIndex===e,r=e===this.preferredCountries.length-1,a=this.preferredCountries.some(i=>i.toUpperCase()===t);return{highlighted:n,"last-preferred":r,preferred:a}},choose(e){var n,r;let t=e;if(typeof t=="string"&&(t=this.findCountry(t)),!!t){if(((n=this.phone)==null?void 0:n[0])==="+"&&t.iso2&&this.phoneObject.nationalNumber){this.activeCountryCode=t.iso2,this.phone=xt(this.phoneObject.nationalNumber,t.iso2).formatInternational();return}if((r=this.inputOptions)!=null&&r.showDialCode&&t){this.phone=`+${t.dialCode}`;return}this.activeCountryCode=t.iso2,this.emitInput(this.phone)}},cleanInvalidCharacters(){const e=this.phone;if(this.validCharactersOnly){const t=this.phone.match(/[()\-+0-9\s]*/g);this.phone=t.join("")}if(this.customValidate&&this.customValidate instanceof RegExp){const t=this.phone.match(this.customValidate);this.phone=t.join("")}e!==this.phone&&this.emitInput(this.phone)},testCharacters(){return this.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(this.phone)?!1:this.customValidate?this.testCustomValidate():!0},testCustomValidate(){return this.customValidate instanceof RegExp?this.customValidate.test(this.phone):!1},onInput(){this.$refs.input.setCustomValidity(this.phoneObject.valid?"":this.invalidMsg),this.emitInput(this.phoneObject)},emitInput(e){this.$emit("update:modelValue",e)},onBlur(){this.$emit("blur")},onFocus(){ys(this.$refs.input,this.phone.length),this.$emit("focus")},onEnter(){this.$emit("enter")},onSpace(){this.$emit("space")},focus(){this.$refs.input.focus()},toggleDropdown(){this.disabled||(this.open=!this.open)},clickedOutside(){this.open=!1},keyboardNav(e){if(e.keyCode===40){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=0:this.selectedIndex=Math.min(this.sortedCountries.length-1,this.selectedIndex+1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop+t.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight&&(this.$refs.list.scrollTop=t.offsetTop-this.$refs.list.clientHeight+t.clientHeight)}else if(e.keyCode===38){e.preventDefault(),this.open=!0,this.selectedIndex===null?this.selectedIndex=this.sortedCountries.length-1:this.selectedIndex=Math.max(0,this.selectedIndex-1);const t=this.$refs.list.children[this.selectedIndex];t.offsetTop<this.$refs.list.scrollTop&&(this.$refs.list.scrollTop=t.offsetTop)}else if(e.keyCode===13)this.selectedIndex!==null&&this.choose(this.sortedCountries[this.selectedIndex]),this.open=!this.open;else{this.typeToFindInput+=e.key,clearTimeout(this.typeToFindTimer),this.typeToFindTimer=setTimeout(()=>{this.typeToFindInput=""},700);const t=this.sortedCountries.slice(this.preferredCountries.length).findIndex(n=>n.name.toLowerCase().startsWith(this.typeToFindInput));if(t>=0){this.selectedIndex=this.preferredCountries.length+t;const n=this.$refs.list.children[this.selectedIndex],r=n.offsetTop<this.$refs.list.scrollTop,a=n.offsetTop+n.clientHeight>this.$refs.list.scrollTop+this.$refs.list.clientHeight;(r||a)&&(this.$refs.list.scrollTop=n.offsetTop-this.$refs.list.clientHeight/2)}}},reset(){this.selectedIndex=this.sortedCountries.map(e=>e.iso2).indexOf(this.activeCountryCode),this.open=!1},setDropdownPosition(){window.innerHeight-this.$refs.rootElement.getBoundingClientRect().bottom>200?this.dropdownOpenDirection="below":this.dropdownOpenDirection="above"}}}),Os=["tabindex"],Cs={class:"flex-nowrap flex flex-v-center p-medium vti__selection"},Ss=["innerHTML"],Ts={key:1,class:"vti__country-code"},Ls=["onClick","onMousemove"],ws=["innerHTML"],Ps={key:1},Is=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex"],As={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"};function ks(e,t,n,r,a,i){const l=o.resolveDirective("click-outside");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass(["vue3-reactive-tel-input",{"bg-fourth-nano":e.validation},e.$attrs.class,e.rootClass,{disabled:e.disabled},e.classes]),style:o.normalizeStyle([e.rootStyle,e.styles]),ref:"rootElement"},[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([["vti__dropdown",{open:e.open}],"br-solid br-black-transp br-1px radius-medium"]),tabindex:e.dropdownOptions.tabindex,onKeydown:[t[0]||(t[0]=(...s)=>e.keyboardNav&&e.keyboardNav(...s)),t[2]||(t[2]=o.withKeys((...s)=>e.reset&&e.reset(...s),["esc"]))],onClick:t[1]||(t[1]=(...s)=>e.toggleDropdown&&e.toggleDropdown(...s)),style:o.normalizeStyle([e.dropdownStyle])},[o.createElementVNode("span",Cs,[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:e.activeCountryFlag,class:"mn-r-thin"},null,8,Ss)):o.createCommentVNode("",!0),e.dropdownOptions.showDialCodeInSelection?(o.openBlock(),o.createElementBlock("span",Ts," +"+o.toDisplayString(e.activeCountry&&e.activeCountry.dialCode),1)):o.createCommentVNode("",!0)]),o.withDirectives(o.createElementVNode("ul",{ref:"list",class:o.normalizeClass(["bs-black radius-small vti__dropdown-list",e.dropdownOpenDirection]),style:o.normalizeStyle([e.listStyle])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.sortedCountries,(s,d)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass(["flex-nowrap flex w-max",["vti__dropdown-item",e.getItemClass(d,s.iso2)]]),key:s.iso2+(s.preferred?"-preferred":""),onClick:f=>e.choose(s),onMousemove:f=>e.selectedIndex=d},[e.dropdownOptions.showFlags?(o.openBlock(),o.createElementBlock("span",{key:0,innerHTML:s.flag,class:"mn-r-thin"},null,8,ws)):o.createCommentVNode("",!0),o.createElementVNode("strong",null,o.toDisplayString(s.name),1),e.dropdownOptions.showDialCodeInList?(o.openBlock(),o.createElementBlock("span",Ps," +"+o.toDisplayString(s.dialCode),1)):o.createCommentVNode("",!0)],42,Ls))),128))],6),[[o.vShow,e.open]])],46,Os)),[[l,e.clickedOutside]]),o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":t[3]||(t[3]=s=>e.phone=s),pattern:"[0-9]*",ref:"input",type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:o.normalizeClass(["vti__input",e.inputOptions.styleClasses,e.inputClass,e.Iclasses]),style:o.normalizeStyle([e.inputStyle,e.Istyles]),disabled:e.disabled,id:e.inputId!==""?e.inputId:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputId!==""?e.inputId:e.inputOptions.name,placeholder:e.parsedPlaceholder,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,onBlur:t[4]||(t[4]=(...s)=>e.onBlur&&e.onBlur(...s)),onFocus:t[5]||(t[5]=(...s)=>e.onFocus&&e.onFocus(...s)),onInput:t[6]||(t[6]=(...s)=>e.onInput&&e.onInput(...s)),onKeyup:[t[7]||(t[7]=o.withKeys((...s)=>e.onEnter&&e.onEnter(...s),["enter"])),t[8]||(t[8]=o.withKeys((...s)=>e.onSpace&&e.onSpace(...s),["space"]))]},null,46,Is),[[o.vModelDynamic,e.phone]]),o.renderSlot(e.$slots,"default",{},void 0,!0)],6),o.createVNode(o.Transition,{name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",As," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}const wa=ce(Ns,[["render",ks],["__scopeId","data-v-50353ca7"]]),Ds=Object.freeze(Object.defineProperty({__proto__:null,default:wa},Symbol.toStringTag,{value:"Module"}));const Rs=e=>(o.pushScopeId("data-v-1c7971e5"),e=e(),o.popScopeId(),e),Fs={class:"map-container"},Ms=Rs(()=>o.createElementVNode("svg",{class:"i-medium",width:"98",height:"98",viewBox:"0 0 98 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{d:"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",fill:"white"}),o.createElementVNode("path",{d:"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",fill:"white"})],-1)),Vs=[Ms],xs={__name:"LocationMarker",props:{location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""},apiKey:String},emits:["update:location","update:address","update:country","update:state","update:city"],setup(e,{emit:t}){const n=e,r=o.ref(null);let a,i;o.onMounted(()=>{a=new google.maps.Map(r.value,{center:n.location,zoom:15,mapTypeControl:!1,fullscreenControl:!1}),i=new google.maps.Marker({position:n.location,map:a,draggable:!0}),i.addListener("dragend",d=>{const f={lat:d.latLng.lat(),lng:d.latLng.lng()};t("update:location",f),l(f)})}),o.watchEffect(()=>{n.location&&i&&i.setPosition(new google.maps.LatLng(n.location.lat,n.location.lng))}),o.watchEffect(()=>{if(n.location&&a){const d=new google.maps.LatLng(n.location.lat,n.location.lng);a.setCenter(d)}});function l(d){new google.maps.Geocoder().geocode({location:d},(m,g)=>{if(g==="OK")if(m[0]){t("update:address",m[0].formatted_address);let $="",N="",I="";m[0].address_components.forEach(O=>{O.types.includes("country")&&($=O.long_name),O.types.includes("administrative_area_level_1")&&(N=O.long_name),O.types.includes("locality")&&(I=O.long_name)}),t("update:country",$),t("update:state",N),t("update:city",I)}else console.error("No results found");else console.error("Geocoder failed due to: "+g)})}async function s(){navigator.geolocation?navigator.geolocation.getCurrentPosition(d=>{const f={lat:d.coords.latitude,lng:d.coords.longitude};t("update:location",f),l(f)},()=>{console.error("Error getting location")}):console.error("Geolocation is not supported by this browser.")}return(d,f)=>(o.openBlock(),o.createElementBlock("div",Fs,[o.createElementVNode("div",{ref_key:"mapContainer",ref:r,class:"w-100 h-100"},null,512),o.createElementVNode("button",{class:"pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",onClick:s},Vs)]))}},Pa=ce(xs,[["__scopeId","data-v-1c7971e5"]]),Bs=Object.freeze(Object.defineProperty({__proto__:null,default:Pa},Symbol.toStringTag,{value:"Module"}));const Us={__name:"Map",props:{location:Object},setup(e){const t=e;let n=o.ref(null),r=null,a=null;return o.onMounted(async()=>{r=new google.maps.Map(n.value,{zoom:13,center:{lat:t.location.lat,lng:t.location.lng}}),a=new google.maps.Marker({position:{lat:t.location.lat,lng:t.location.lng},map:r})}),o.watch(()=>t.location,()=>{r&&a&&(a.setPosition(new google.maps.LatLng(t.location.lat,t.location.lng)),r.setCenter(new google.maps.LatLng(t.location.lat,t.location.lng)))},{deep:!0}),(i,l)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"gmap",ref:n,class:"gmap"},null,512))}},Ia=ce(Us,[["__scopeId","data-v-c194b4a5"]]),js=Object.freeze(Object.defineProperty({__proto__:null,default:Ia},Symbol.toStringTag,{value:"Module"}));/*!
9
9
  * vue-router v4.1.6
10
10
  * (c) 2022 Eduardo San Martin Morote
11
11
  * @license MIT
12
- */var gr;(function(e){e.pop="pop",e.push="push"})(gr||(gr={}));var vr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vr||(vr={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var yr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yr||(yr={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const js=Symbol(process.env.NODE_ENV!=="production"?"router":""),Gs=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Hs(){return o.inject(js)}function Ws(){return o.inject(Gs)}/*!
12
+ */var gr;(function(e){e.pop="pop",e.push="push"})(gr||(gr={}));var vr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vr||(vr={}));Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var yr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yr||(yr={}));Symbol(process.env.NODE_ENV!=="production"?"router view location matched":"");Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const Gs=Symbol(process.env.NODE_ENV!=="production"?"router":""),Hs=Symbol(process.env.NODE_ENV!=="production"?"route location":"");Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Ws(){return o.inject(Gs)}function Ks(){return o.inject(Hs)}/*!
13
13
  * shared v9.2.2
14
14
  * (c) 2022 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */const we=typeof window<"u";let de,Fe;if(process.env.NODE_ENV!=="production"){const e=we&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(de=t=>e.mark(t),Fe=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Ks=/\{([0-9a-zA-Z]+)\}/g;function Ct(e,...t){return t.length===1&&V(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ks,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Ys=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Oe=e=>Ys?Symbol(e):e,Xs=(e,t,n)=>qs({l:e,k:t,s:n}),qs=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),J=e=>typeof e=="number"&&isFinite(e),zs=e=>Ln(e)==="[object Date]",We=e=>Ln(e)==="[object RegExp]",St=e=>D(e)&&Object.keys(e).length===0;function ft(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const q=Object.assign;let _r;const lt=()=>_r||(_r=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function br(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Js=Object.prototype.hasOwnProperty;function wn(e,t){return Js.call(e,t)}const G=Array.isArray,Y=e=>typeof e=="function",P=e=>typeof e=="string",B=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",Ia=Object.prototype.toString,Ln=e=>Ia.call(e),D=e=>Ln(e)==="[object Object]",Zs=e=>e==null?"":G(e)||D(e)&&e.toString===Ia?JSON.stringify(e,null,2):String(e),Er=2;function Qs(e,t=0,n=e.length){const r=e.split(/\r?\n/);let i=0;const a=[];for(let l=0;l<r.length;l++)if(i+=r[l].length+1,i>=t){for(let d=l-Er;d<=l+Er||n>i;d++){if(d<0||d>=r.length)continue;const s=d+1;a.push(`${s}${" ".repeat(3-String(s).length)}| ${r[d]}`);const f=r[d].length;if(d===l){const h=t-(i-f)+1,g=Math.max(1,n>i?f-h:n-t);a.push(" | "+" ".repeat(h)+"^".repeat(g))}else if(d>l){if(n>i){const h=Math.max(Math.min(n-i,f),1);a.push(" | "+"^".repeat(h))}i+=f+1}}break}return a.join(`
17
- `)}function ed(){const e=new Map;return{events:e,on(n,r){const i=e.get(n);i&&i.push(r)||e.set(n,[r])},off(n,r){const i=e.get(n);i&&i.splice(i.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(i=>i(r)),(e.get("*")||[]).slice().map(i=>i(n,r))}}}/*!
16
+ */const Te=typeof window<"u";let de,Re;if(process.env.NODE_ENV!=="production"){const e=Te&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(de=t=>e.mark(t),Re=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Ys=/\{([0-9a-zA-Z]+)\}/g;function Ot(e,...t){return t.length===1&&V(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ys,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const qs=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Ne=e=>qs?Symbol(e):e,Xs=(e,t,n)=>zs({l:e,k:t,s:n}),zs=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),J=e=>typeof e=="number"&&isFinite(e),Js=e=>wn(e)==="[object Date]",He=e=>wn(e)==="[object RegExp]",Ct=e=>D(e)&&Object.keys(e).length===0;function ct(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const X=Object.assign;let _r;const ot=()=>_r||(_r=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function br(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Zs=Object.prototype.hasOwnProperty;function Ln(e,t){return Zs.call(e,t)}const G=Array.isArray,Y=e=>typeof e=="function",P=e=>typeof e=="string",B=e=>typeof e=="boolean",V=e=>e!==null&&typeof e=="object",Aa=Object.prototype.toString,wn=e=>Aa.call(e),D=e=>wn(e)==="[object Object]",Qs=e=>e==null?"":G(e)||D(e)&&e.toString===Aa?JSON.stringify(e,null,2):String(e),Er=2;function ed(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const i=[];for(let l=0;l<r.length;l++)if(a+=r[l].length+1,a>=t){for(let s=l-Er;s<=l+Er||n>a;s++){if(s<0||s>=r.length)continue;const d=s+1;i.push(`${d}${" ".repeat(3-String(d).length)}| ${r[s]}`);const f=r[s].length;if(s===l){const m=t-(a-f)+1,g=Math.max(1,n>a?f-m:n-t);i.push(" | "+" ".repeat(m)+"^".repeat(g))}else if(s>l){if(n>a){const m=Math.max(Math.min(n-a,f),1);i.push(" | "+"^".repeat(m))}a+=f+1}}break}return i.join(`
17
+ `)}function td(){const e=new Map;return{events:e,on(n,r){const a=e.get(n);a&&a.push(r)||e.set(n,[r])},off(n,r){const a=e.get(n);a&&a.splice(a.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(a=>a(r)),(e.get("*")||[]).slice().map(a=>a(n,r))}}}/*!
18
18
  * message-compiler v9.2.2
19
19
  * (c) 2022 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
- */const A={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},td={[A.EXPECTED_TOKEN]:"Expected token: '{0}'",[A.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[A.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[A.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[A.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[A.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[A.EMPTY_PLACEHOLDER]:"Empty placeholder",[A.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[A.INVALID_LINKED_FORMAT]:"Invalid linked format",[A.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[A.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[A.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[A.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function Tt(e,t,n={}){const{domain:r,messages:i,args:a}=n,l=process.env.NODE_ENV!=="production"?Ct((i||td)[e]||"",...a||[]):e,d=new SyntaxError(String(l));return d.code=e,t&&(d.location=t),d.domain=r,d}function nd(e){throw e}function rd(e,t,n){return{line:e,column:t,offset:n}}function fn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ve=" ",ad="\r",ee=`
22
- `,id=String.fromCharCode(8232),od=String.fromCharCode(8233);function ld(e){const t=e;let n=0,r=1,i=1,a=0;const l=T=>t[T]===ad&&t[T+1]===ee,d=T=>t[T]===ee,s=T=>t[T]===od,f=T=>t[T]===id,h=T=>l(T)||d(T)||s(T)||f(T),g=()=>n,$=()=>r,N=()=>i,I=()=>a,O=T=>l(T)||s(T)||f(T)?ee:t[T],L=()=>O(n),m=()=>O(n+a);function y(){return a=0,h(n)&&(r++,i=0),l(n)&&n++,n++,i++,t[n]}function E(){return l(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function p(T=0){a=T}function S(){const T=n+a;for(;T!==n;)y();a=0}return{index:g,line:$,column:N,peekOffset:I,charAt:O,currentChar:L,currentPeek:m,next:y,peek:E,reset:b,resetPeek:p,skipToPeek:S}}const Se=void 0,Nr="'",sd="tokenizer";function dd(e,t={}){const n=t.location!==!1,r=ld(e),i=()=>r.index(),a=()=>rd(r.line(),r.column(),r.index()),l=a(),d=i(),s={currentType:14,offset:d,startLoc:l,endLoc:l,lastType:14,lastOffset:d,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},f=()=>s,{onError:h}=t;function g(c,u,v,...w){const k=f();if(u.column+=v,u.offset+=v,h){const M=fn(k.startLoc,u),pe=Tt(c,M,{domain:sd,args:w});h(pe)}}function $(c,u,v){c.endLoc=a(),c.currentType=u;const w={type:u};return n&&(w.loc=fn(c.startLoc,c.endLoc)),v!=null&&(w.value=v),w}const N=c=>$(c,14);function I(c,u){return c.currentChar()===u?(c.next(),u):(g(A.EXPECTED_TOKEN,a(),0,u),"")}function O(c){let u="";for(;c.currentPeek()===ve||c.currentPeek()===ee;)u+=c.currentPeek(),c.peek();return u}function L(c){const u=O(c);return c.skipToPeek(),u}function m(c){if(c===Se)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y(c){if(c===Se)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function E(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=m(c.currentPeek());return c.resetPeek(),w}function b(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=c.currentPeek()==="-"?c.peek():c.currentPeek(),k=y(w);return c.resetPeek(),k}function p(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const w=c.currentPeek()===Nr;return c.resetPeek(),w}function S(c,u){const{currentType:v}=u;if(v!==8)return!1;O(c);const w=c.currentPeek()===".";return c.resetPeek(),w}function T(c,u){const{currentType:v}=u;if(v!==9)return!1;O(c);const w=m(c.currentPeek());return c.resetPeek(),w}function F(c,u){const{currentType:v}=u;if(!(v===8||v===12))return!1;O(c);const w=c.currentPeek()===":";return c.resetPeek(),w}function R(c,u){const{currentType:v}=u;if(v!==10)return!1;const w=()=>{const M=c.currentPeek();return M==="{"?m(c.peek()):M==="@"||M==="%"||M==="|"||M===":"||M==="."||M===ve||!M?!1:M===ee?(c.peek(),w()):m(M)},k=w();return c.resetPeek(),k}function x(c){O(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function H(c){const u=O(c),v=c.currentPeek()==="%"&&c.peek()==="{";return c.resetPeek(),{isModulo:v,hasSpace:u.length>0}}function j(c,u=!0){const v=(k=!1,M="",pe=!1)=>{const ge=c.currentPeek();return ge==="{"?M==="%"?!1:k:ge==="@"||!ge?M==="%"?!0:k:ge==="%"?(c.peek(),v(k,"%",!0)):ge==="|"?M==="%"||pe?!0:!(M===ve||M===ee):ge===ve?(c.peek(),v(!0,ve,pe)):ge===ee?(c.peek(),v(!0,ee,pe)):!0},w=v();return u&&c.resetPeek(),w}function K(c,u){const v=c.currentChar();return v===Se?Se:u(v)?(c.next(),v):null}function ne(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36})}function Pe(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=48&&w<=57})}function re(c){return K(c,v=>{const w=v.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102})}function Ve(c){let u="",v="";for(;u=Pe(c);)v+=u;return v}function $e(c){L(c);const u=c.currentChar();return u!=="%"&&g(A.EXPECTED_TOKEN,a(),0,u),c.next(),"%"}function Ie(c){let u="";for(;;){const v=c.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v==="%")if(j(c))u+=v,c.next();else break;else if(v===ve||v===ee)if(j(c))u+=v,c.next();else{if(x(c))break;u+=v,c.next()}else u+=v,c.next()}return u}function Je(c){L(c);let u="",v="";for(;u=ne(c);)v+=u;return c.currentChar()===Se&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v}function Ze(c){L(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${Ve(c)}`):u+=Ve(c),c.currentChar()===Se&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),u}function Qe(c){L(c),I(c,"'");let u="",v="";const w=M=>M!==Nr&&M!==ee;for(;u=K(c,w);)u==="\\"?v+=et(c):v+=u;const k=c.currentChar();return k===ee||k===Se?(g(A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),k===ee&&(c.next(),I(c,"'")),v):(I(c,"'"),v)}function et(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return tt(c,u,4);case"U":return tt(c,u,6);default:return g(A.UNKNOWN_ESCAPE_SEQUENCE,a(),0,u),""}}function tt(c,u,v){I(c,u);let w="";for(let k=0;k<v;k++){const M=re(c);if(!M){g(A.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${u}${w}${c.currentChar()}`);break}w+=M}return`\\${u}${w}`}function nt(c){L(c);let u="",v="";const w=k=>k!=="{"&&k!=="}"&&k!==ve&&k!==ee;for(;u=K(c,w);)v+=u;return v}function rt(c){let u="",v="";for(;u=ne(c);)v+=u;return v}function at(c){const u=(v=!1,w)=>{const k=c.currentChar();return k==="{"||k==="%"||k==="@"||k==="|"||!k||k===ve?w:k===ee?(w+=k,c.next(),u(v,w)):(w+=k,c.next(),u(!0,w))};return u(!1,"")}function Ae(c){L(c);const u=I(c,"|");return L(c),u}function ke(c,u){let v=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&g(A.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),c.next(),v=$(u,2,"{"),L(c),u.braceNest++,v;case"}":return u.braceNest>0&&u.currentType===2&&g(A.EMPTY_PLACEHOLDER,a(),0),c.next(),v=$(u,3,"}"),u.braceNest--,u.braceNest>0&&L(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),v;case"@":return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v=Ce(c,u)||N(u),u.braceNest=0,v;default:let k=!0,M=!0,pe=!0;if(x(c))return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,a(),0),v=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,v;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return g(A.UNTERMINATED_CLOSING_BRACE,a(),0),u.braceNest=0,De(c,u);if(k=E(c,u))return v=$(u,5,Je(c)),L(c),v;if(M=b(c,u))return v=$(u,6,Ze(c)),L(c),v;if(pe=p(c,u))return v=$(u,7,Qe(c)),L(c),v;if(!k&&!M&&!pe)return v=$(u,13,nt(c)),g(A.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,v.value),L(c),v;break}return v}function Ce(c,u){const{currentType:v}=u;let w=null;const k=c.currentChar();switch((v===8||v===9||v===12||v===10)&&(k===ee||k===ve)&&g(A.INVALID_LINKED_FORMAT,a(),0),k){case"@":return c.next(),w=$(u,8,"@"),u.inLinked=!0,w;case".":return L(c),c.next(),$(u,9,".");case":":return L(c),c.next(),$(u,10,":");default:return x(c)?(w=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,w):S(c,u)||F(c,u)?(L(c),Ce(c,u)):T(c,u)?(L(c),$(u,12,rt(c))):R(c,u)?(L(c),k==="{"?ke(c,u)||w:$(u,11,at(c))):(v===8&&g(A.INVALID_LINKED_FORMAT,a(),0),u.braceNest=0,u.inLinked=!1,De(c,u))}}function De(c,u){let v={type:14};if(u.braceNest>0)return ke(c,u)||N(u);if(u.inLinked)return Ce(c,u)||N(u);switch(c.currentChar()){case"{":return ke(c,u)||N(u);case"}":return g(A.UNBALANCED_CLOSING_BRACE,a(),0),c.next(),$(u,3,"}");case"@":return Ce(c,u)||N(u);default:if(x(c))return v=$(u,1,Ae(c)),u.braceNest=0,u.inLinked=!1,v;const{isModulo:k,hasSpace:M}=H(c);if(k)return M?$(u,0,Ie(c)):$(u,4,$e(c));if(j(c))return $(u,0,Ie(c));break}return v}function it(){const{currentType:c,offset:u,startLoc:v,endLoc:w}=s;return s.lastType=c,s.lastOffset=u,s.lastStartLoc=v,s.lastEndLoc=w,s.offset=i(),s.startLoc=a(),r.currentChar()===Se?$(s,14):De(r,s)}return{nextToken:it,currentOffset:i,currentPosition:a,context:f}}const ud="parser",cd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fd(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function $d(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,E,b,...p){const S=m.currentPosition();if(S.offset+=b,S.column+=b,n){const T=fn(E,S),F=Tt(y,T,{domain:ud,args:p});n(F)}}function i(m,y,E){const b={type:m,start:y,end:y};return t&&(b.loc={start:E,end:E}),b}function a(m,y,E,b){m.end=y,b&&(m.type=b),t&&m.loc&&(m.loc.end=E)}function l(m,y){const E=m.context(),b=i(3,E.offset,E.startLoc);return b.value=y,a(b,m.currentOffset(),m.currentPosition()),b}function d(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(5,b,p);return S.index=parseInt(y,10),m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function s(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(4,b,p);return S.key=y,m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function f(m,y){const E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(9,b,p);return S.value=y.replace(cd,fd),m.nextToken(),a(S,m.currentOffset(),m.currentPosition()),S}function h(m){const y=m.nextToken(),E=m.context(),{lastOffset:b,lastStartLoc:p}=E,S=i(8,b,p);return y.type!==12?(r(m,A.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),S.value="",a(S,b,p),{nextConsumeToken:y,node:S}):(y.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,me(y)),S.value=y.value||"",a(S,m.currentOffset(),m.currentPosition()),{node:S})}function g(m,y){const E=m.context(),b=i(7,E.offset,E.startLoc);return b.value=y,a(b,m.currentOffset(),m.currentPosition()),b}function $(m){const y=m.context(),E=i(6,y.offset,y.startLoc);let b=m.nextToken();if(b.type===9){const p=h(m);E.modifier=p.node,b=p.nextConsumeToken||m.nextToken()}switch(b.type!==10&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),b=m.nextToken(),b.type===2&&(b=m.nextToken()),b.type){case 11:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=g(m,b.value||"");break;case 5:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=s(m,b.value||"");break;case 6:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=d(m,b.value||"");break;case 7:b.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(b)),E.key=f(m,b.value||"");break;default:r(m,A.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const p=m.context(),S=i(7,p.offset,p.startLoc);return S.value="",a(S,p.offset,p.startLoc),E.key=S,a(E,p.offset,p.startLoc),{nextConsumeToken:b,node:E}}return a(E,m.currentOffset(),m.currentPosition()),{node:E}}function N(m){const y=m.context(),E=y.currentType===1?m.currentOffset():y.offset,b=y.currentType===1?y.endLoc:y.startLoc,p=i(2,E,b);p.items=[];let S=null;do{const R=S||m.nextToken();switch(S=null,R.type){case 0:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(l(m,R.value||""));break;case 6:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(d(m,R.value||""));break;case 5:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(s(m,R.value||""));break;case 7:R.value==null&&r(m,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,me(R)),p.items.push(f(m,R.value||""));break;case 8:const x=$(m);p.items.push(x.node),S=x.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const T=y.currentType===1?y.lastOffset:m.currentOffset(),F=y.currentType===1?y.lastEndLoc:m.currentPosition();return a(p,T,F),p}function I(m,y,E,b){const p=m.context();let S=b.items.length===0;const T=i(1,y,E);T.cases=[],T.cases.push(b);do{const F=N(m);S||(S=F.items.length===0),T.cases.push(F)}while(p.currentType!==14);return S&&r(m,A.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(T,m.currentOffset(),m.currentPosition()),T}function O(m){const y=m.context(),{offset:E,startLoc:b}=y,p=N(m);return y.currentType===14?p:I(m,E,b,p)}function L(m){const y=dd(m,q({},e)),E=y.context(),b=i(0,E.offset,E.startLoc);return t&&b.loc&&(b.loc.source=m),b.body=O(y),E.currentType!==14&&r(y,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,m[E.offset]||""),a(b,y.currentOffset(),y.currentPosition()),b}return{parse:L}}function me(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function pd(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Or(e,t){for(let n=0;n<e.length;n++)Pn(e[n],t)}function Pn(e,t){switch(e.type){case 1:Or(e.cases,t),t.helper("plural");break;case 2:Or(e.items,t);break;case 6:Pn(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function md(e,t={}){const n=pd(e);n.helper("normalize"),e.body&&Pn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function hd(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,l={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0},d=()=>l;function s(O,L){l.code+=O}function f(O,L=!0){const m=L?i:"";s(a?m+" ".repeat(O):m)}function h(O=!0){const L=++l.indentLevel;O&&f(L)}function g(O=!0){const L=--l.indentLevel;O&&f(L)}function $(){f(l.indentLevel)}return{context:d,push:s,indent:h,deindent:g,newline:$,helper:O=>`_${O}`,needIndent:()=>l.needIndent}}function gd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ke(e,t.key),t.modifier?(e.push(", "),Ke(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function vd(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let a=0;a<i&&(Ke(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function yd(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let a=0;a<i&&(Ke(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function _d(e,t){t.body?Ke(e,t.body):e.push("null")}function Ke(e,t){const{helper:n}=e;switch(t.type){case 0:_d(e,t);break;case 1:yd(e,t);break;case 2:vd(e,t);break;case 6:gd(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${t.type}`)}}const bd=(e,t={})=>{const n=P(t.mode)?t.mode:"normal",r=P(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
23
- `,l=t.needIndent?t.needIndent:n!=="arrow",d=e.helpers||[],s=hd(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:l});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(l),d.length>0&&(s.push(`const { ${d.map(g=>`${g}: _${g}`).join(", ")} } = ctx`),s.newline()),s.push("return "),Ke(s,e),s.deindent(l),s.push("}");const{code:f,map:h}=s.context();return{ast:e,code:f,map:h?h.toJSON():void 0}};function Ed(e,t={}){const n=q({},t),i=$d(n).parse(e);return md(i,n),bd(i,n)}/*!
21
+ */const A={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},nd={[A.EXPECTED_TOKEN]:"Expected token: '{0}'",[A.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[A.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[A.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[A.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[A.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[A.EMPTY_PLACEHOLDER]:"Empty placeholder",[A.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[A.INVALID_LINKED_FORMAT]:"Invalid linked format",[A.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[A.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[A.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[A.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function St(e,t,n={}){const{domain:r,messages:a,args:i}=n,l=process.env.NODE_ENV!=="production"?Ot((a||nd)[e]||"",...i||[]):e,s=new SyntaxError(String(l));return s.code=e,t&&(s.location=t),s.domain=r,s}function rd(e){throw e}function ad(e,t,n){return{line:e,column:t,offset:n}}function fn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const ge=" ",id="\r",ee=`
22
+ `,od=String.fromCharCode(8232),ld=String.fromCharCode(8233);function sd(e){const t=e;let n=0,r=1,a=1,i=0;const l=T=>t[T]===id&&t[T+1]===ee,s=T=>t[T]===ee,d=T=>t[T]===ld,f=T=>t[T]===od,m=T=>l(T)||s(T)||d(T)||f(T),g=()=>n,$=()=>r,N=()=>a,I=()=>i,O=T=>l(T)||d(T)||f(T)?ee:t[T],w=()=>O(n),h=()=>O(n+i);function y(){return i=0,m(n)&&(r++,a=0),l(n)&&n++,n++,a++,t[n]}function E(){return l(n+i)&&i++,i++,t[n+i]}function b(){n=0,r=1,a=1,i=0}function p(T=0){i=T}function S(){const T=n+i;for(;T!==n;)y();i=0}return{index:g,line:$,column:N,peekOffset:I,charAt:O,currentChar:w,currentPeek:h,next:y,peek:E,reset:b,resetPeek:p,skipToPeek:S}}const Ce=void 0,Nr="'",dd="tokenizer";function ud(e,t={}){const n=t.location!==!1,r=sd(e),a=()=>r.index(),i=()=>ad(r.line(),r.column(),r.index()),l=i(),s=a(),d={currentType:14,offset:s,startLoc:l,endLoc:l,lastType:14,lastOffset:s,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},f=()=>d,{onError:m}=t;function g(c,u,v,...L){const k=f();if(u.column+=v,u.offset+=v,m){const M=fn(k.startLoc,u),$e=St(c,M,{domain:dd,args:L});m($e)}}function $(c,u,v){c.endLoc=i(),c.currentType=u;const L={type:u};return n&&(L.loc=fn(c.startLoc,c.endLoc)),v!=null&&(L.value=v),L}const N=c=>$(c,14);function I(c,u){return c.currentChar()===u?(c.next(),u):(g(A.EXPECTED_TOKEN,i(),0,u),"")}function O(c){let u="";for(;c.currentPeek()===ge||c.currentPeek()===ee;)u+=c.currentPeek(),c.peek();return u}function w(c){const u=O(c);return c.skipToPeek(),u}function h(c){if(c===Ce)return!1;const u=c.charCodeAt(0);return u>=97&&u<=122||u>=65&&u<=90||u===95}function y(c){if(c===Ce)return!1;const u=c.charCodeAt(0);return u>=48&&u<=57}function E(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const L=h(c.currentPeek());return c.resetPeek(),L}function b(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const L=c.currentPeek()==="-"?c.peek():c.currentPeek(),k=y(L);return c.resetPeek(),k}function p(c,u){const{currentType:v}=u;if(v!==2)return!1;O(c);const L=c.currentPeek()===Nr;return c.resetPeek(),L}function S(c,u){const{currentType:v}=u;if(v!==8)return!1;O(c);const L=c.currentPeek()===".";return c.resetPeek(),L}function T(c,u){const{currentType:v}=u;if(v!==9)return!1;O(c);const L=h(c.currentPeek());return c.resetPeek(),L}function F(c,u){const{currentType:v}=u;if(!(v===8||v===12))return!1;O(c);const L=c.currentPeek()===":";return c.resetPeek(),L}function R(c,u){const{currentType:v}=u;if(v!==10)return!1;const L=()=>{const M=c.currentPeek();return M==="{"?h(c.peek()):M==="@"||M==="%"||M==="|"||M===":"||M==="."||M===ge||!M?!1:M===ee?(c.peek(),L()):h(M)},k=L();return c.resetPeek(),k}function x(c){O(c);const u=c.currentPeek()==="|";return c.resetPeek(),u}function H(c){const u=O(c),v=c.currentPeek()==="%"&&c.peek()==="{";return c.resetPeek(),{isModulo:v,hasSpace:u.length>0}}function j(c,u=!0){const v=(k=!1,M="",$e=!1)=>{const he=c.currentPeek();return he==="{"?M==="%"?!1:k:he==="@"||!he?M==="%"?!0:k:he==="%"?(c.peek(),v(k,"%",!0)):he==="|"?M==="%"||$e?!0:!(M===ge||M===ee):he===ge?(c.peek(),v(!0,ge,$e)):he===ee?(c.peek(),v(!0,ee,$e)):!0},L=v();return u&&c.resetPeek(),L}function K(c,u){const v=c.currentChar();return v===Ce?Ce:u(v)?(c.next(),v):null}function ne(c){return K(c,v=>{const L=v.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36})}function we(c){return K(c,v=>{const L=v.charCodeAt(0);return L>=48&&L<=57})}function re(c){return K(c,v=>{const L=v.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102})}function Me(c){let u="",v="";for(;u=we(c);)v+=u;return v}function fe(c){w(c);const u=c.currentChar();return u!=="%"&&g(A.EXPECTED_TOKEN,i(),0,u),c.next(),"%"}function Pe(c){let u="";for(;;){const v=c.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v==="%")if(j(c))u+=v,c.next();else break;else if(v===ge||v===ee)if(j(c))u+=v,c.next();else{if(x(c))break;u+=v,c.next()}else u+=v,c.next()}return u}function ze(c){w(c);let u="",v="";for(;u=ne(c);)v+=u;return c.currentChar()===Ce&&g(A.UNTERMINATED_CLOSING_BRACE,i(),0),v}function Je(c){w(c);let u="";return c.currentChar()==="-"?(c.next(),u+=`-${Me(c)}`):u+=Me(c),c.currentChar()===Ce&&g(A.UNTERMINATED_CLOSING_BRACE,i(),0),u}function Ze(c){w(c),I(c,"'");let u="",v="";const L=M=>M!==Nr&&M!==ee;for(;u=K(c,L);)u==="\\"?v+=Qe(c):v+=u;const k=c.currentChar();return k===ee||k===Ce?(g(A.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),k===ee&&(c.next(),I(c,"'")),v):(I(c,"'"),v)}function Qe(c){const u=c.currentChar();switch(u){case"\\":case"'":return c.next(),`\\${u}`;case"u":return et(c,u,4);case"U":return et(c,u,6);default:return g(A.UNKNOWN_ESCAPE_SEQUENCE,i(),0,u),""}}function et(c,u,v){I(c,u);let L="";for(let k=0;k<v;k++){const M=re(c);if(!M){g(A.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${u}${L}${c.currentChar()}`);break}L+=M}return`\\${u}${L}`}function tt(c){w(c);let u="",v="";const L=k=>k!=="{"&&k!=="}"&&k!==ge&&k!==ee;for(;u=K(c,L);)v+=u;return v}function nt(c){let u="",v="";for(;u=ne(c);)v+=u;return v}function rt(c){const u=(v=!1,L)=>{const k=c.currentChar();return k==="{"||k==="%"||k==="@"||k==="|"||!k||k===ge?L:k===ee?(L+=k,c.next(),u(v,L)):(L+=k,c.next(),u(!0,L))};return u(!1,"")}function Ie(c){w(c);const u=I(c,"|");return w(c),u}function Ae(c,u){let v=null;switch(c.currentChar()){case"{":return u.braceNest>=1&&g(A.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),c.next(),v=$(u,2,"{"),w(c),u.braceNest++,v;case"}":return u.braceNest>0&&u.currentType===2&&g(A.EMPTY_PLACEHOLDER,i(),0),c.next(),v=$(u,3,"}"),u.braceNest--,u.braceNest>0&&w(c),u.inLinked&&u.braceNest===0&&(u.inLinked=!1),v;case"@":return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,i(),0),v=Oe(c,u)||N(u),u.braceNest=0,v;default:let k=!0,M=!0,$e=!0;if(x(c))return u.braceNest>0&&g(A.UNTERMINATED_CLOSING_BRACE,i(),0),v=$(u,1,Ie(c)),u.braceNest=0,u.inLinked=!1,v;if(u.braceNest>0&&(u.currentType===5||u.currentType===6||u.currentType===7))return g(A.UNTERMINATED_CLOSING_BRACE,i(),0),u.braceNest=0,ke(c,u);if(k=E(c,u))return v=$(u,5,ze(c)),w(c),v;if(M=b(c,u))return v=$(u,6,Je(c)),w(c),v;if($e=p(c,u))return v=$(u,7,Ze(c)),w(c),v;if(!k&&!M&&!$e)return v=$(u,13,tt(c)),g(A.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,v.value),w(c),v;break}return v}function Oe(c,u){const{currentType:v}=u;let L=null;const k=c.currentChar();switch((v===8||v===9||v===12||v===10)&&(k===ee||k===ge)&&g(A.INVALID_LINKED_FORMAT,i(),0),k){case"@":return c.next(),L=$(u,8,"@"),u.inLinked=!0,L;case".":return w(c),c.next(),$(u,9,".");case":":return w(c),c.next(),$(u,10,":");default:return x(c)?(L=$(u,1,Ie(c)),u.braceNest=0,u.inLinked=!1,L):S(c,u)||F(c,u)?(w(c),Oe(c,u)):T(c,u)?(w(c),$(u,12,nt(c))):R(c,u)?(w(c),k==="{"?Ae(c,u)||L:$(u,11,rt(c))):(v===8&&g(A.INVALID_LINKED_FORMAT,i(),0),u.braceNest=0,u.inLinked=!1,ke(c,u))}}function ke(c,u){let v={type:14};if(u.braceNest>0)return Ae(c,u)||N(u);if(u.inLinked)return Oe(c,u)||N(u);switch(c.currentChar()){case"{":return Ae(c,u)||N(u);case"}":return g(A.UNBALANCED_CLOSING_BRACE,i(),0),c.next(),$(u,3,"}");case"@":return Oe(c,u)||N(u);default:if(x(c))return v=$(u,1,Ie(c)),u.braceNest=0,u.inLinked=!1,v;const{isModulo:k,hasSpace:M}=H(c);if(k)return M?$(u,0,Pe(c)):$(u,4,fe(c));if(j(c))return $(u,0,Pe(c));break}return v}function at(){const{currentType:c,offset:u,startLoc:v,endLoc:L}=d;return d.lastType=c,d.lastOffset=u,d.lastStartLoc=v,d.lastEndLoc=L,d.offset=a(),d.startLoc=i(),r.currentChar()===Ce?$(d,14):ke(r,d)}return{nextToken:at,currentOffset:a,currentPosition:i,context:f}}const cd="parser",fd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $d(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function pd(e={}){const t=e.location!==!1,{onError:n}=e;function r(h,y,E,b,...p){const S=h.currentPosition();if(S.offset+=b,S.column+=b,n){const T=fn(E,S),F=St(y,T,{domain:cd,args:p});n(F)}}function a(h,y,E){const b={type:h,start:y,end:y};return t&&(b.loc={start:E,end:E}),b}function i(h,y,E,b){h.end=y,b&&(h.type=b),t&&h.loc&&(h.loc.end=E)}function l(h,y){const E=h.context(),b=a(3,E.offset,E.startLoc);return b.value=y,i(b,h.currentOffset(),h.currentPosition()),b}function s(h,y){const E=h.context(),{lastOffset:b,lastStartLoc:p}=E,S=a(5,b,p);return S.index=parseInt(y,10),h.nextToken(),i(S,h.currentOffset(),h.currentPosition()),S}function d(h,y){const E=h.context(),{lastOffset:b,lastStartLoc:p}=E,S=a(4,b,p);return S.key=y,h.nextToken(),i(S,h.currentOffset(),h.currentPosition()),S}function f(h,y){const E=h.context(),{lastOffset:b,lastStartLoc:p}=E,S=a(9,b,p);return S.value=y.replace(fd,$d),h.nextToken(),i(S,h.currentOffset(),h.currentPosition()),S}function m(h){const y=h.nextToken(),E=h.context(),{lastOffset:b,lastStartLoc:p}=E,S=a(8,b,p);return y.type!==12?(r(h,A.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),S.value="",i(S,b,p),{nextConsumeToken:y,node:S}):(y.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,pe(y)),S.value=y.value||"",i(S,h.currentOffset(),h.currentPosition()),{node:S})}function g(h,y){const E=h.context(),b=a(7,E.offset,E.startLoc);return b.value=y,i(b,h.currentOffset(),h.currentPosition()),b}function $(h){const y=h.context(),E=a(6,y.offset,y.startLoc);let b=h.nextToken();if(b.type===9){const p=m(h);E.modifier=p.node,b=p.nextConsumeToken||h.nextToken()}switch(b.type!==10&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(b)),b=h.nextToken(),b.type===2&&(b=h.nextToken()),b.type){case 11:b.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(b)),E.key=g(h,b.value||"");break;case 5:b.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(b)),E.key=d(h,b.value||"");break;case 6:b.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(b)),E.key=s(h,b.value||"");break;case 7:b.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(b)),E.key=f(h,b.value||"");break;default:r(h,A.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const p=h.context(),S=a(7,p.offset,p.startLoc);return S.value="",i(S,p.offset,p.startLoc),E.key=S,i(E,p.offset,p.startLoc),{nextConsumeToken:b,node:E}}return i(E,h.currentOffset(),h.currentPosition()),{node:E}}function N(h){const y=h.context(),E=y.currentType===1?h.currentOffset():y.offset,b=y.currentType===1?y.endLoc:y.startLoc,p=a(2,E,b);p.items=[];let S=null;do{const R=S||h.nextToken();switch(S=null,R.type){case 0:R.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(R)),p.items.push(l(h,R.value||""));break;case 6:R.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(R)),p.items.push(s(h,R.value||""));break;case 5:R.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(R)),p.items.push(d(h,R.value||""));break;case 7:R.value==null&&r(h,A.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,pe(R)),p.items.push(f(h,R.value||""));break;case 8:const x=$(h);p.items.push(x.node),S=x.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const T=y.currentType===1?y.lastOffset:h.currentOffset(),F=y.currentType===1?y.lastEndLoc:h.currentPosition();return i(p,T,F),p}function I(h,y,E,b){const p=h.context();let S=b.items.length===0;const T=a(1,y,E);T.cases=[],T.cases.push(b);do{const F=N(h);S||(S=F.items.length===0),T.cases.push(F)}while(p.currentType!==14);return S&&r(h,A.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),i(T,h.currentOffset(),h.currentPosition()),T}function O(h){const y=h.context(),{offset:E,startLoc:b}=y,p=N(h);return y.currentType===14?p:I(h,E,b,p)}function w(h){const y=ud(h,X({},e)),E=y.context(),b=a(0,E.offset,E.startLoc);return t&&b.loc&&(b.loc.source=h),b.body=O(y),E.currentType!==14&&r(y,A.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,h[E.offset]||""),i(b,y.currentOffset(),y.currentPosition()),b}return{parse:w}}function pe(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function md(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Or(e,t){for(let n=0;n<e.length;n++)Pn(e[n],t)}function Pn(e,t){switch(e.type){case 1:Or(e.cases,t),t.helper("plural");break;case 2:Or(e.items,t);break;case 6:Pn(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function hd(e,t={}){const n=md(e);n.helper("normalize"),e.body&&Pn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function gd(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:i}=t,l={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:i,indentLevel:0},s=()=>l;function d(O,w){l.code+=O}function f(O,w=!0){const h=w?a:"";d(i?h+" ".repeat(O):h)}function m(O=!0){const w=++l.indentLevel;O&&f(w)}function g(O=!0){const w=--l.indentLevel;O&&f(w)}function $(){f(l.indentLevel)}return{context:s,push:d,indent:m,deindent:g,newline:$,helper:O=>`_${O}`,needIndent:()=>l.needIndent}}function vd(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),We(e,t.key),t.modifier?(e.push(", "),We(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function yd(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let i=0;i<a&&(We(e,t.items[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function _d(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let i=0;i<a&&(We(e,t.cases[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function bd(e,t){t.body?We(e,t.body):e.push("null")}function We(e,t){const{helper:n}=e;switch(t.type){case 0:bd(e,t);break;case 1:_d(e,t);break;case 2:yd(e,t);break;case 6:vd(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${t.type}`)}}const Ed=(e,t={})=>{const n=P(t.mode)?t.mode:"normal",r=P(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
23
+ `,l=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],d=gd(e,{mode:n,filename:r,sourceMap:a,breakLineCode:i,needIndent:l});d.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(l),s.length>0&&(d.push(`const { ${s.map(g=>`${g}: _${g}`).join(", ")} } = ctx`),d.newline()),d.push("return "),We(d,e),d.deindent(l),d.push("}");const{code:f,map:m}=d.context();return{ast:e,code:f,map:m?m.toJSON():void 0}};function Nd(e,t={}){const n=X({},t),a=pd(n).parse(e);return hd(a,n),Ed(a,n)}/*!
24
24
  * devtools-if v9.2.2
25
25
  * (c) 2022 kazuya kawaguchi
26
26
  * Released under the MIT License.
27
- */const Aa={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
27
+ */const ka={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
28
28
  * core-base v9.2.2
29
29
  * (c) 2022 kazuya kawaguchi
30
30
  * Released under the MIT License.
31
- */const Le=[];Le[0]={w:[0],i:[3,0],"[":[4],o:[7]};Le[1]={w:[1],".":[2],"[":[4],o:[7]};Le[2]={w:[2],i:[3,0],0:[3,0]};Le[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Le[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Le[5]={"'":[4,0],o:8,l:[5,0]};Le[6]={'"':[4,0],o:8,l:[6,0]};const Nd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Od(e){return Nd.test(e)}function Cd(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Sd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Td(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Od(t)?Cd(t):"*"+t}function wd(e){const t=[];let n=-1,r=0,i=0,a,l,d,s,f,h,g;const $=[];$[0]=()=>{l===void 0?l=d:l+=d},$[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},$[2]=()=>{$[0](),i++},$[3]=()=>{if(i>0)i--,r=4,$[0]();else{if(i=0,l===void 0||(l=Td(l),l===!1))return!1;$[1]()}};function N(){const I=e[n+1];if(r===5&&I==="'"||r===6&&I==='"')return n++,d="\\"+I,$[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&N())){if(s=Sd(a),g=Le[r],f=g[s]||g.l||8,f===8||(r=f[0],f[1]!==void 0&&(h=$[f[1]],h&&(d=a,h()===!1))))return;if(r===7)return t}}const Cr=new Map;function Ld(e,t){return V(e)?e[t]:null}function Pd(e,t){if(!V(e))return null;let n=Cr.get(t);if(n||(n=wd(t),n&&Cr.set(t,n)),!n)return null;const r=n.length;let i=e,a=0;for(;a<r;){const l=i[n[a]];if(l===void 0)return null;i=l,a++}return i}const Id=e=>e,Ad=e=>"",kd="text",Dd=e=>e.length===0?"":e.join(""),Rd=Zs;function Sr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Fd(e){const t=J(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(J(e.named.count)||J(e.named.n))?J(e.named.count)?e.named.count:J(e.named.n)?e.named.n:t:t}function Md(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Vd(e={}){const t=e.locale,n=Fd(e),r=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?e.pluralRules[t]:Sr,i=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?Sr:void 0,a=m=>m[r(n,m.length,i)],l=e.list||[],d=m=>l[m],s=e.named||{};J(e.pluralIndex)&&Md(n,s);const f=m=>s[m];function h(m){const y=Y(e.messages)?e.messages(m):V(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):Ad)}const g=m=>e.modifiers?e.modifiers[m]:Id,$=D(e.processor)&&Y(e.processor.normalize)?e.processor.normalize:Dd,N=D(e.processor)&&Y(e.processor.interpolate)?e.processor.interpolate:Rd,I=D(e.processor)&&P(e.processor.type)?e.processor.type:kd,L={list:d,named:f,plural:a,linked:(m,...y)=>{const[E,b]=y;let p="text",S="";y.length===1?V(E)?(S=E.modifier||S,p=E.type||p):P(E)&&(S=E||S):y.length===2&&(P(E)&&(S=E||S),P(b)&&(p=b||p));let T=h(m)(L);return p==="vnode"&&G(T)&&S&&(T=T[0]),S?g(S)(T,p):T},message:h,type:I,interpolate:N,normalize:$};return L}let ct=null;function xd(e){ct=e}function Bd(e,t,n){ct&&ct.emit(Aa.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Ud=jd(Aa.FunctionTranslate);function jd(e){return t=>ct&&ct.emit(e,t)}const se={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},Gd={[se.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[se.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[se.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[se.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function Ye(e,...t){return Ct(Gd[e],...t)}function Hd(e,t,n){return[...new Set([n,...G(t)?t:V(t)?Object.keys(t):P(t)?[t]:[n]])]}function ka(e,t,n){const r=P(n)?n:Lt,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let a=i.__localeChainCache.get(r);if(!a){a=[];let l=[n];for(;G(l);)l=Tr(a,l,t);const d=G(t)||!D(t)?t:t.default?t.default:null;l=P(d)?[d]:d,G(l)&&Tr(a,l,!1),i.__localeChainCache.set(r,a)}return a}function Tr(e,t,n){let r=!0;for(let i=0;i<t.length&&B(r);i++){const a=t[i];P(a)&&(r=Wd(e,t[i],n))}return r}function Wd(e,t,n){let r;const i=t.split("-");do{const a=i.join("-");r=Kd(e,a,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function Kd(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(G(n)||D(n))&&n[i]&&(r=n[i])}return r}const Yd="9.2.2",wt=-1,Lt="en-US",bt="",wr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Xd(){return{upper:(e,t)=>t==="text"&&P(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&P(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&P(e)?wr(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?wr(e.children):e}}let Da;function qd(e){Da=e}let Ra;function zd(e){Ra=e}let Fa;function Jd(e){Fa=e}let Ma=null;const Lr=e=>{Ma=e},Zd=()=>Ma;let Va=null;const Pr=e=>{Va=e},Qd=()=>Va;let Ir=0;function eu(e={}){const t=P(e.version)?e.version:Yd,n=P(e.locale)?e.locale:Lt,r=G(e.fallbackLocale)||D(e.fallbackLocale)||P(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=D(e.messages)?e.messages:{[n]:{}},a=D(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=D(e.numberFormats)?e.numberFormats:{[n]:{}},d=q({},e.modifiers||{},Xd()),s=e.pluralRules||{},f=Y(e.missing)?e.missing:null,h=B(e.missingWarn)||We(e.missingWarn)?e.missingWarn:!0,g=B(e.fallbackWarn)||We(e.fallbackWarn)?e.fallbackWarn:!0,$=!!e.fallbackFormat,N=!!e.unresolving,I=Y(e.postTranslation)?e.postTranslation:null,O=D(e.processor)?e.processor:null,L=B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,y=Y(e.messageCompiler)?e.messageCompiler:Da,E=Y(e.messageResolver)?e.messageResolver:Ra||Ld,b=Y(e.localeFallbacker)?e.localeFallbacker:Fa||Hd,p=V(e.fallbackContext)?e.fallbackContext:void 0,S=Y(e.onWarn)?e.onWarn:ft,T=e,F=V(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,R=V(T.__numberFormatters)?T.__numberFormatters:new Map,x=V(T.__meta)?T.__meta:{};Ir++;const H={version:t,cid:Ir,locale:n,fallbackLocale:r,messages:i,modifiers:d,pluralRules:s,missing:f,missingWarn:h,fallbackWarn:g,fallbackFormat:$,unresolving:N,postTranslation:I,processor:O,warnHtmlMessage:L,escapeParameter:m,messageCompiler:y,messageResolver:E,localeFallbacker:b,fallbackContext:p,onWarn:S,__meta:x};return H.datetimeFormats=a,H.numberFormats=l,H.__datetimeFormatters=F,H.__numberFormatters=R,process.env.NODE_ENV!=="production"&&(H.__v_emitter=T.__v_emitter!=null?T.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Bd(H,t,x),H}function Pt(e,t){return e instanceof RegExp?e.test(t):e}function xa(e,t){return e instanceof RegExp?e.test(t):e}function In(e,t,n,r,i){const{missing:a,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const d=e.__v_emitter;d&&d.emit("missing",{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(a!==null){const d=a(e,n,t,i);return P(d)?d:t}else return process.env.NODE_ENV!=="production"&&xa(r,t)&&l(Ye(se.NOT_FOUND_KEY,{key:t,locale:n})),t}function ot(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const tu=/<\/?[\w\s="/.':;#-\/]+>/,nu="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function ru(e,t){(B(t.warnHtmlMessage)?t.warnHtmlMessage:!0)&&tu.test(e)&&ft(Ct(nu,{source:e}))}const au=e=>e;let Ar=Object.create(null);function iu(e,t={}){{process.env.NODE_ENV!=="production"&&ru(e,t);const r=(t.onCacheKey||au)(e),i=Ar[r];if(i)return i;let a=!1;const l=t.onError||nd;t.onError=f=>{a=!0,l(f)};const{code:d}=Ed(e,t),s=new Function(`return ${d}`)();return a?s:Ar[r]=s}}let Ba=A.__EXTEND_POINT__;const Ut=()=>++Ba,be={INVALID_ARGUMENT:Ba,INVALID_DATE_ARGUMENT:Ut(),INVALID_ISO_DATE_ARGUMENT:Ut(),__EXTEND_POINT__:Ut()};function He(e){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:ou}:void 0)}const ou={[be.INVALID_ARGUMENT]:"Invalid arguments",[be.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[be.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},kr=()=>"",he=e=>Y(e);function Dr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:l,messages:d}=e,[s,f]=$n(...t),h=B(f.missingWarn)?f.missingWarn:e.missingWarn,g=B(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,$=B(f.escapeParameter)?f.escapeParameter:e.escapeParameter,N=!!f.resolvedMessage,I=P(f.default)||B(f.default)?B(f.default)?a?s:()=>s:f.default:n?a?s:()=>s:"",O=n||I!=="",L=P(f.locale)?f.locale:e.locale;$&&lu(f);let[m,y,E]=N?[s,L,d[L]||{}]:Ua(e,s,L,l,g,h),b=m,p=s;if(!N&&!(P(b)||he(b))&&O&&(b=I,p=b),!N&&(!(P(b)||he(b))||!P(y)))return i?wt:s;if(process.env.NODE_ENV!=="production"&&P(b)&&e.messageCompiler==null)return ft(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`),s;let S=!1;const T=()=>{S=!0},F=he(b)?b:ja(e,s,y,b,p,T);if(S)return b;const R=uu(e,y,E,f),x=Vd(R),H=su(e,F,x),j=r?r(H,s):H;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:P(s)?s:he(b)?b.key:"",locale:y||(he(b)?b.locale:""),format:P(b)?b:he(b)?b.source:"",message:j};K.meta=q({},e.__meta,Zd()||{}),Ud(K)}return j}function lu(e){G(e.list)?e.list=e.list.map(t=>P(t)?br(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{P(e.named[t])&&(e.named[t]=br(e.named[t]))})}function Ua(e,t,n,r,i,a){const{messages:l,onWarn:d,messageResolver:s,localeFallbacker:f}=e,h=f(e,r,n);let g={},$,N=null,I=n,O=null;const L="translate";for(let m=0;m<h.length;m++){if($=O=h[m],process.env.NODE_ENV!=="production"&&n!==$&&Pt(i,t)&&d(Ye(se.FALLBACK_TO_TRANSLATE,{key:t,target:$})),process.env.NODE_ENV!=="production"&&n!==$){const S=e.__v_emitter;S&&S.emit("fallback",{type:L,key:t,from:I,to:O,groupId:`${L}:${t}`})}g=l[$]||{};let y=null,E,b;if(process.env.NODE_ENV!=="production"&&we&&(y=window.performance.now(),E="intlify-message-resolve-start",b="intlify-message-resolve-end",de&&de(E)),(N=s(g,t))===null&&(N=g[t]),process.env.NODE_ENV!=="production"&&we){const S=window.performance.now(),T=e.__v_emitter;T&&y&&N&&T.emit("message-resolve",{type:"message-resolve",key:t,message:N,time:S-y,groupId:`${L}:${t}`}),E&&b&&de&&Fe&&(de(b),Fe("intlify message resolve",E,b))}if(P(N)||Y(N))break;const p=In(e,t,$,a,L);p!==t&&(N=p),I=O}return[N,$,g]}function ja(e,t,n,r,i,a){const{messageCompiler:l,warnHtmlMessage:d}=e;if(he(r)){const $=r;return $.locale=$.locale||n,$.key=$.key||t,$}if(l==null){const $=()=>r;return $.locale=n,$.key=t,$}let s=null,f,h;process.env.NODE_ENV!=="production"&&we&&(s=window.performance.now(),f="intlify-message-compilation-start",h="intlify-message-compilation-end",de&&de(f));const g=l(r,du(e,n,i,r,d,a));if(process.env.NODE_ENV!=="production"&&we){const $=window.performance.now(),N=e.__v_emitter;N&&s&&N.emit("message-compilation",{type:"message-compilation",message:r,time:$-s,groupId:`translate:${t}`}),f&&h&&de&&Fe&&(de(h),Fe("intlify message compilation",f,h))}return g.locale=n,g.key=t,g.source=r,g}function su(e,t,n){let r=null,i,a;process.env.NODE_ENV!=="production"&&we&&(r=window.performance.now(),i="intlify-message-evaluation-start",a="intlify-message-evaluation-end",de&&de(i));const l=t(n);if(process.env.NODE_ENV!=="production"&&we){const d=window.performance.now(),s=e.__v_emitter;s&&r&&s.emit("message-evaluation",{type:"message-evaluation",value:l,time:d-r,groupId:`translate:${t.key}`}),i&&a&&de&&Fe&&(de(a),Fe("intlify message evaluation",i,a))}return l}function $n(...e){const[t,n,r]=e,i={};if(!P(t)&&!J(t)&&!he(t))throw He(be.INVALID_ARGUMENT);const a=J(t)?String(t):(he(t),t);return J(n)?i.plural=n:P(n)?i.default=n:D(n)&&!St(n)?i.named=n:G(n)&&(i.list=n),J(r)?i.plural=r:P(r)?i.default=r:D(r)&&q(i,r),[a,i]}function du(e,t,n,r,i,a){return{warnHtmlMessage:i,onError:l=>{if(a&&a(l),process.env.NODE_ENV!=="production"){const d=`Message compilation error: ${l.message}`,s=l.location&&Qs(r,l.location.start.offset,l.location.end.offset),f=e.__v_emitter;f&&f.emit("compile-error",{message:r,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${d}
32
- ${s}`:d)}else throw l},onCacheKey:l=>Xs(t,n,l)}}function uu(e,t,n,r){const{modifiers:i,pluralRules:a,messageResolver:l,fallbackLocale:d,fallbackWarn:s,missingWarn:f,fallbackContext:h}=e,$={locale:t,modifiers:i,pluralRules:a,messages:N=>{let I=l(n,N);if(I==null&&h){const[,,O]=Ua(h,N,t,d,s,f);I=l(O,N)}if(P(I)){let O=!1;const m=ja(e,N,t,I,N,()=>{O=!0});return O?kr:m}else return he(I)?I:kr}};return e.processor&&($.processor=e.processor),r.list&&($.list=r.list),r.named&&($.named=r.named),J(r.plural)&&($.pluralIndex=r.plural),$}const Rr=typeof Intl<"u",Ga={dateTimeFormat:Rr&&typeof Intl.DateTimeFormat<"u",numberFormat:Rr&&typeof Intl.NumberFormat<"u"};function Fr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:d}=e;if(process.env.NODE_ENV!=="production"&&!Ga.dateTimeFormat)return a(Ye(se.CANNOT_FORMAT_DATE)),bt;const[s,f,h,g]=pn(...t),$=B(h.missingWarn)?h.missingWarn:e.missingWarn,N=B(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,I=!!h.part,O=P(h.locale)?h.locale:e.locale,L=l(e,i,O);if(!P(s)||s==="")return new Intl.DateTimeFormat(O,g).format(f);let m={},y,E=null,b=O,p=null;const S="datetime format";for(let R=0;R<L.length;R++){if(y=p=L[R],process.env.NODE_ENV!=="production"&&O!==y&&Pt(N,s)&&a(Ye(se.FALLBACK_TO_DATE_FORMAT,{key:s,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:s,from:b,to:p,groupId:`${S}:${s}`})}if(m=n[y]||{},E=m[s],D(E))break;In(e,s,y,$,S),b=p}if(!D(E)||!P(y))return r?wt:s;let T=`${y}__${s}`;St(g)||(T=`${T}__${JSON.stringify(g)}`);let F=d.get(T);return F||(F=new Intl.DateTimeFormat(y,q({},E,g)),d.set(T,F)),I?F.formatToParts(f):F.format(f)}const Ha=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function pn(...e){const[t,n,r,i]=e,a={};let l={},d;if(P(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw He(be.INVALID_ISO_DATE_ARGUMENT);const f=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();d=new Date(f);try{d.toISOString()}catch{throw He(be.INVALID_ISO_DATE_ARGUMENT)}}else if(zs(t)){if(isNaN(t.getTime()))throw He(be.INVALID_DATE_ARGUMENT);d=t}else if(J(t))d=t;else throw He(be.INVALID_ARGUMENT);return P(n)?a.key=n:D(n)&&Object.keys(n).forEach(s=>{Ha.includes(s)?l[s]=n[s]:a[s]=n[s]}),P(r)?a.locale=r:D(r)&&(l=r),D(i)&&(l=i),[a.key||"",d,a,l]}function Mr(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function Vr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:d}=e;if(process.env.NODE_ENV!=="production"&&!Ga.numberFormat)return a(Ye(se.CANNOT_FORMAT_NUMBER)),bt;const[s,f,h,g]=mn(...t),$=B(h.missingWarn)?h.missingWarn:e.missingWarn,N=B(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,I=!!h.part,O=P(h.locale)?h.locale:e.locale,L=l(e,i,O);if(!P(s)||s==="")return new Intl.NumberFormat(O,g).format(f);let m={},y,E=null,b=O,p=null;const S="number format";for(let R=0;R<L.length;R++){if(y=p=L[R],process.env.NODE_ENV!=="production"&&O!==y&&Pt(N,s)&&a(Ye(se.FALLBACK_TO_NUMBER_FORMAT,{key:s,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:s,from:b,to:p,groupId:`${S}:${s}`})}if(m=n[y]||{},E=m[s],D(E))break;In(e,s,y,$,S),b=p}if(!D(E)||!P(y))return r?wt:s;let T=`${y}__${s}`;St(g)||(T=`${T}__${JSON.stringify(g)}`);let F=d.get(T);return F||(F=new Intl.NumberFormat(y,q({},E,g)),d.set(T,F)),I?F.formatToParts(f):F.format(f)}const Wa=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function mn(...e){const[t,n,r,i]=e,a={};let l={};if(!J(t))throw He(be.INVALID_ARGUMENT);const d=t;return P(n)?a.key=n:D(n)&&Object.keys(n).forEach(s=>{Wa.includes(s)?l[s]=n[s]:a[s]=n[s]}),P(r)?a.locale=r:D(r)&&(l=r),D(i)&&(l=i),[a.key||"",d,a,l]}function xr(e,t,n){const r=e;for(const i in n){const a=`${t}__${i}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lt().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
31
+ */const Le=[];Le[0]={w:[0],i:[3,0],"[":[4],o:[7]};Le[1]={w:[1],".":[2],"[":[4],o:[7]};Le[2]={w:[2],i:[3,0],0:[3,0]};Le[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Le[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Le[5]={"'":[4,0],o:8,l:[5,0]};Le[6]={'"':[4,0],o:8,l:[6,0]};const Od=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Cd(e){return Od.test(e)}function Sd(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Td(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ld(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Cd(t)?Sd(t):"*"+t}function wd(e){const t=[];let n=-1,r=0,a=0,i,l,s,d,f,m,g;const $=[];$[0]=()=>{l===void 0?l=s:l+=s},$[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},$[2]=()=>{$[0](),a++},$[3]=()=>{if(a>0)a--,r=4,$[0]();else{if(a=0,l===void 0||(l=Ld(l),l===!1))return!1;$[1]()}};function N(){const I=e[n+1];if(r===5&&I==="'"||r===6&&I==='"')return n++,s="\\"+I,$[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&N())){if(d=Td(i),g=Le[r],f=g[d]||g.l||8,f===8||(r=f[0],f[1]!==void 0&&(m=$[f[1]],m&&(s=i,m()===!1))))return;if(r===7)return t}}const Cr=new Map;function Pd(e,t){return V(e)?e[t]:null}function Id(e,t){if(!V(e))return null;let n=Cr.get(t);if(n||(n=wd(t),n&&Cr.set(t,n)),!n)return null;const r=n.length;let a=e,i=0;for(;i<r;){const l=a[n[i]];if(l===void 0)return null;a=l,i++}return a}const Ad=e=>e,kd=e=>"",Dd="text",Rd=e=>e.length===0?"":e.join(""),Fd=Qs;function Sr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Md(e){const t=J(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(J(e.named.count)||J(e.named.n))?J(e.named.count)?e.named.count:J(e.named.n)?e.named.n:t:t}function Vd(e,t){t.count||(t.count=e),t.n||(t.n=e)}function xd(e={}){const t=e.locale,n=Md(e),r=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?e.pluralRules[t]:Sr,a=V(e.pluralRules)&&P(t)&&Y(e.pluralRules[t])?Sr:void 0,i=h=>h[r(n,h.length,a)],l=e.list||[],s=h=>l[h],d=e.named||{};J(e.pluralIndex)&&Vd(n,d);const f=h=>d[h];function m(h){const y=Y(e.messages)?e.messages(h):V(e.messages)?e.messages[h]:!1;return y||(e.parent?e.parent.message(h):kd)}const g=h=>e.modifiers?e.modifiers[h]:Ad,$=D(e.processor)&&Y(e.processor.normalize)?e.processor.normalize:Rd,N=D(e.processor)&&Y(e.processor.interpolate)?e.processor.interpolate:Fd,I=D(e.processor)&&P(e.processor.type)?e.processor.type:Dd,w={list:s,named:f,plural:i,linked:(h,...y)=>{const[E,b]=y;let p="text",S="";y.length===1?V(E)?(S=E.modifier||S,p=E.type||p):P(E)&&(S=E||S):y.length===2&&(P(E)&&(S=E||S),P(b)&&(p=b||p));let T=m(h)(w);return p==="vnode"&&G(T)&&S&&(T=T[0]),S?g(S)(T,p):T},message:m,type:I,interpolate:N,normalize:$};return w}let ut=null;function Bd(e){ut=e}function Ud(e,t,n){ut&&ut.emit(ka.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const jd=Gd(ka.FunctionTranslate);function Gd(e){return t=>ut&&ut.emit(e,t)}const se={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},Hd={[se.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[se.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[se.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[se.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[se.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function Ke(e,...t){return Ot(Hd[e],...t)}function Wd(e,t,n){return[...new Set([n,...G(t)?t:V(t)?Object.keys(t):P(t)?[t]:[n]])]}function Da(e,t,n){const r=P(n)?n:Lt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let i=a.__localeChainCache.get(r);if(!i){i=[];let l=[n];for(;G(l);)l=Tr(i,l,t);const s=G(t)||!D(t)?t:t.default?t.default:null;l=P(s)?[s]:s,G(l)&&Tr(i,l,!1),a.__localeChainCache.set(r,i)}return i}function Tr(e,t,n){let r=!0;for(let a=0;a<t.length&&B(r);a++){const i=t[a];P(i)&&(r=Kd(e,t[a],n))}return r}function Kd(e,t,n){let r;const a=t.split("-");do{const i=a.join("-");r=Yd(e,i,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function Yd(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(G(n)||D(n))&&n[a]&&(r=n[a])}return r}const qd="9.2.2",Tt=-1,Lt="en-US",_t="",Lr=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Xd(){return{upper:(e,t)=>t==="text"&&P(e)?e.toUpperCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&P(e)?e.toLowerCase():t==="vnode"&&V(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&P(e)?Lr(e):t==="vnode"&&V(e)&&"__v_isVNode"in e?Lr(e.children):e}}let Ra;function zd(e){Ra=e}let Fa;function Jd(e){Fa=e}let Ma;function Zd(e){Ma=e}let Va=null;const wr=e=>{Va=e},Qd=()=>Va;let xa=null;const Pr=e=>{xa=e},eu=()=>xa;let Ir=0;function tu(e={}){const t=P(e.version)?e.version:qd,n=P(e.locale)?e.locale:Lt,r=G(e.fallbackLocale)||D(e.fallbackLocale)||P(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,a=D(e.messages)?e.messages:{[n]:{}},i=D(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=D(e.numberFormats)?e.numberFormats:{[n]:{}},s=X({},e.modifiers||{},Xd()),d=e.pluralRules||{},f=Y(e.missing)?e.missing:null,m=B(e.missingWarn)||He(e.missingWarn)?e.missingWarn:!0,g=B(e.fallbackWarn)||He(e.fallbackWarn)?e.fallbackWarn:!0,$=!!e.fallbackFormat,N=!!e.unresolving,I=Y(e.postTranslation)?e.postTranslation:null,O=D(e.processor)?e.processor:null,w=B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter,y=Y(e.messageCompiler)?e.messageCompiler:Ra,E=Y(e.messageResolver)?e.messageResolver:Fa||Pd,b=Y(e.localeFallbacker)?e.localeFallbacker:Ma||Wd,p=V(e.fallbackContext)?e.fallbackContext:void 0,S=Y(e.onWarn)?e.onWarn:ct,T=e,F=V(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,R=V(T.__numberFormatters)?T.__numberFormatters:new Map,x=V(T.__meta)?T.__meta:{};Ir++;const H={version:t,cid:Ir,locale:n,fallbackLocale:r,messages:a,modifiers:s,pluralRules:d,missing:f,missingWarn:m,fallbackWarn:g,fallbackFormat:$,unresolving:N,postTranslation:I,processor:O,warnHtmlMessage:w,escapeParameter:h,messageCompiler:y,messageResolver:E,localeFallbacker:b,fallbackContext:p,onWarn:S,__meta:x};return H.datetimeFormats=i,H.numberFormats=l,H.__datetimeFormatters=F,H.__numberFormatters=R,process.env.NODE_ENV!=="production"&&(H.__v_emitter=T.__v_emitter!=null?T.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ud(H,t,x),H}function wt(e,t){return e instanceof RegExp?e.test(t):e}function Ba(e,t){return e instanceof RegExp?e.test(t):e}function In(e,t,n,r,a){const{missing:i,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(i!==null){const s=i(e,n,t,a);return P(s)?s:t}else return process.env.NODE_ENV!=="production"&&Ba(r,t)&&l(Ke(se.NOT_FOUND_KEY,{key:t,locale:n})),t}function it(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const nu=/<\/?[\w\s="/.':;#-\/]+>/,ru="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function au(e,t){(B(t.warnHtmlMessage)?t.warnHtmlMessage:!0)&&nu.test(e)&&ct(Ot(ru,{source:e}))}const iu=e=>e;let Ar=Object.create(null);function ou(e,t={}){{process.env.NODE_ENV!=="production"&&au(e,t);const r=(t.onCacheKey||iu)(e),a=Ar[r];if(a)return a;let i=!1;const l=t.onError||rd;t.onError=f=>{i=!0,l(f)};const{code:s}=Nd(e,t),d=new Function(`return ${s}`)();return i?d:Ar[r]=d}}let Ua=A.__EXTEND_POINT__;const Bt=()=>++Ua,_e={INVALID_ARGUMENT:Ua,INVALID_DATE_ARGUMENT:Bt(),INVALID_ISO_DATE_ARGUMENT:Bt(),__EXTEND_POINT__:Bt()};function Ge(e){return St(e,null,process.env.NODE_ENV!=="production"?{messages:lu}:void 0)}const lu={[_e.INVALID_ARGUMENT]:"Invalid arguments",[_e.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[_e.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},kr=()=>"",me=e=>Y(e);function Dr(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:i,fallbackLocale:l,messages:s}=e,[d,f]=$n(...t),m=B(f.missingWarn)?f.missingWarn:e.missingWarn,g=B(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,$=B(f.escapeParameter)?f.escapeParameter:e.escapeParameter,N=!!f.resolvedMessage,I=P(f.default)||B(f.default)?B(f.default)?i?d:()=>d:f.default:n?i?d:()=>d:"",O=n||I!=="",w=P(f.locale)?f.locale:e.locale;$&&su(f);let[h,y,E]=N?[d,w,s[w]||{}]:ja(e,d,w,l,g,m),b=h,p=d;if(!N&&!(P(b)||me(b))&&O&&(b=I,p=b),!N&&(!(P(b)||me(b))||!P(y)))return a?Tt:d;if(process.env.NODE_ENV!=="production"&&P(b)&&e.messageCompiler==null)return ct(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${d}'.`),d;let S=!1;const T=()=>{S=!0},F=me(b)?b:Ga(e,d,y,b,p,T);if(S)return b;const R=cu(e,y,E,f),x=xd(R),H=du(e,F,x),j=r?r(H,d):H;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:P(d)?d:me(b)?b.key:"",locale:y||(me(b)?b.locale:""),format:P(b)?b:me(b)?b.source:"",message:j};K.meta=X({},e.__meta,Qd()||{}),jd(K)}return j}function su(e){G(e.list)?e.list=e.list.map(t=>P(t)?br(t):t):V(e.named)&&Object.keys(e.named).forEach(t=>{P(e.named[t])&&(e.named[t]=br(e.named[t]))})}function ja(e,t,n,r,a,i){const{messages:l,onWarn:s,messageResolver:d,localeFallbacker:f}=e,m=f(e,r,n);let g={},$,N=null,I=n,O=null;const w="translate";for(let h=0;h<m.length;h++){if($=O=m[h],process.env.NODE_ENV!=="production"&&n!==$&&wt(a,t)&&s(Ke(se.FALLBACK_TO_TRANSLATE,{key:t,target:$})),process.env.NODE_ENV!=="production"&&n!==$){const S=e.__v_emitter;S&&S.emit("fallback",{type:w,key:t,from:I,to:O,groupId:`${w}:${t}`})}g=l[$]||{};let y=null,E,b;if(process.env.NODE_ENV!=="production"&&Te&&(y=window.performance.now(),E="intlify-message-resolve-start",b="intlify-message-resolve-end",de&&de(E)),(N=d(g,t))===null&&(N=g[t]),process.env.NODE_ENV!=="production"&&Te){const S=window.performance.now(),T=e.__v_emitter;T&&y&&N&&T.emit("message-resolve",{type:"message-resolve",key:t,message:N,time:S-y,groupId:`${w}:${t}`}),E&&b&&de&&Re&&(de(b),Re("intlify message resolve",E,b))}if(P(N)||Y(N))break;const p=In(e,t,$,i,w);p!==t&&(N=p),I=O}return[N,$,g]}function Ga(e,t,n,r,a,i){const{messageCompiler:l,warnHtmlMessage:s}=e;if(me(r)){const $=r;return $.locale=$.locale||n,$.key=$.key||t,$}if(l==null){const $=()=>r;return $.locale=n,$.key=t,$}let d=null,f,m;process.env.NODE_ENV!=="production"&&Te&&(d=window.performance.now(),f="intlify-message-compilation-start",m="intlify-message-compilation-end",de&&de(f));const g=l(r,uu(e,n,a,r,s,i));if(process.env.NODE_ENV!=="production"&&Te){const $=window.performance.now(),N=e.__v_emitter;N&&d&&N.emit("message-compilation",{type:"message-compilation",message:r,time:$-d,groupId:`translate:${t}`}),f&&m&&de&&Re&&(de(m),Re("intlify message compilation",f,m))}return g.locale=n,g.key=t,g.source=r,g}function du(e,t,n){let r=null,a,i;process.env.NODE_ENV!=="production"&&Te&&(r=window.performance.now(),a="intlify-message-evaluation-start",i="intlify-message-evaluation-end",de&&de(a));const l=t(n);if(process.env.NODE_ENV!=="production"&&Te){const s=window.performance.now(),d=e.__v_emitter;d&&r&&d.emit("message-evaluation",{type:"message-evaluation",value:l,time:s-r,groupId:`translate:${t.key}`}),a&&i&&de&&Re&&(de(i),Re("intlify message evaluation",a,i))}return l}function $n(...e){const[t,n,r]=e,a={};if(!P(t)&&!J(t)&&!me(t))throw Ge(_e.INVALID_ARGUMENT);const i=J(t)?String(t):(me(t),t);return J(n)?a.plural=n:P(n)?a.default=n:D(n)&&!Ct(n)?a.named=n:G(n)&&(a.list=n),J(r)?a.plural=r:P(r)?a.default=r:D(r)&&X(a,r),[i,a]}function uu(e,t,n,r,a,i){return{warnHtmlMessage:a,onError:l=>{if(i&&i(l),process.env.NODE_ENV!=="production"){const s=`Message compilation error: ${l.message}`,d=l.location&&ed(r,l.location.start.offset,l.location.end.offset),f=e.__v_emitter;f&&f.emit("compile-error",{message:r,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(d?`${s}
32
+ ${d}`:s)}else throw l},onCacheKey:l=>Xs(t,n,l)}}function cu(e,t,n,r){const{modifiers:a,pluralRules:i,messageResolver:l,fallbackLocale:s,fallbackWarn:d,missingWarn:f,fallbackContext:m}=e,$={locale:t,modifiers:a,pluralRules:i,messages:N=>{let I=l(n,N);if(I==null&&m){const[,,O]=ja(m,N,t,s,d,f);I=l(O,N)}if(P(I)){let O=!1;const h=Ga(e,N,t,I,N,()=>{O=!0});return O?kr:h}else return me(I)?I:kr}};return e.processor&&($.processor=e.processor),r.list&&($.list=r.list),r.named&&($.named=r.named),J(r.plural)&&($.pluralIndex=r.plural),$}const Rr=typeof Intl<"u",Ha={dateTimeFormat:Rr&&typeof Intl.DateTimeFormat<"u",numberFormat:Rr&&typeof Intl.NumberFormat<"u"};function Fr(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:i,localeFallbacker:l}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Ha.dateTimeFormat)return i(Ke(se.CANNOT_FORMAT_DATE)),_t;const[d,f,m,g]=pn(...t),$=B(m.missingWarn)?m.missingWarn:e.missingWarn,N=B(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,I=!!m.part,O=P(m.locale)?m.locale:e.locale,w=l(e,a,O);if(!P(d)||d==="")return new Intl.DateTimeFormat(O,g).format(f);let h={},y,E=null,b=O,p=null;const S="datetime format";for(let R=0;R<w.length;R++){if(y=p=w[R],process.env.NODE_ENV!=="production"&&O!==y&&wt(N,d)&&i(Ke(se.FALLBACK_TO_DATE_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:d,from:b,to:p,groupId:`${S}:${d}`})}if(h=n[y]||{},E=h[d],D(E))break;In(e,d,y,$,S),b=p}if(!D(E)||!P(y))return r?Tt:d;let T=`${y}__${d}`;Ct(g)||(T=`${T}__${JSON.stringify(g)}`);let F=s.get(T);return F||(F=new Intl.DateTimeFormat(y,X({},E,g)),s.set(T,F)),I?F.formatToParts(f):F.format(f)}const Wa=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function pn(...e){const[t,n,r,a]=e,i={};let l={},s;if(P(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Ge(_e.INVALID_ISO_DATE_ARGUMENT);const f=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();s=new Date(f);try{s.toISOString()}catch{throw Ge(_e.INVALID_ISO_DATE_ARGUMENT)}}else if(Js(t)){if(isNaN(t.getTime()))throw Ge(_e.INVALID_DATE_ARGUMENT);s=t}else if(J(t))s=t;else throw Ge(_e.INVALID_ARGUMENT);return P(n)?i.key=n:D(n)&&Object.keys(n).forEach(d=>{Wa.includes(d)?l[d]=n[d]:i[d]=n[d]}),P(r)?i.locale=r:D(r)&&(l=r),D(a)&&(l=a),[i.key||"",s,i,l]}function Mr(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function Vr(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:i,localeFallbacker:l}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Ha.numberFormat)return i(Ke(se.CANNOT_FORMAT_NUMBER)),_t;const[d,f,m,g]=mn(...t),$=B(m.missingWarn)?m.missingWarn:e.missingWarn,N=B(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,I=!!m.part,O=P(m.locale)?m.locale:e.locale,w=l(e,a,O);if(!P(d)||d==="")return new Intl.NumberFormat(O,g).format(f);let h={},y,E=null,b=O,p=null;const S="number format";for(let R=0;R<w.length;R++){if(y=p=w[R],process.env.NODE_ENV!=="production"&&O!==y&&wt(N,d)&&i(Ke(se.FALLBACK_TO_NUMBER_FORMAT,{key:d,target:y})),process.env.NODE_ENV!=="production"&&O!==y){const x=e.__v_emitter;x&&x.emit("fallback",{type:S,key:d,from:b,to:p,groupId:`${S}:${d}`})}if(h=n[y]||{},E=h[d],D(E))break;In(e,d,y,$,S),b=p}if(!D(E)||!P(y))return r?Tt:d;let T=`${y}__${d}`;Ct(g)||(T=`${T}__${JSON.stringify(g)}`);let F=s.get(T);return F||(F=new Intl.NumberFormat(y,X({},E,g)),s.set(T,F)),I?F.formatToParts(f):F.format(f)}const Ka=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function mn(...e){const[t,n,r,a]=e,i={};let l={};if(!J(t))throw Ge(_e.INVALID_ARGUMENT);const s=t;return P(n)?i.key=n:D(n)&&Object.keys(n).forEach(d=>{Ka.includes(d)?l[d]=n[d]:i[d]=n[d]}),P(r)?i.locale=r:D(r)&&(l=r),D(a)&&(l=a),[i.key||"",s,i,l]}function xr(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ot().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
33
33
  * vue-i18n v9.2.2
34
34
  * (c) 2022 kazuya kawaguchi
35
35
  * Released under the MIT License.
36
- */const cu="9.2.2";function fu(){let e=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(e=!0,lt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(e=!0,lt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(lt().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&e&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let Ka=se.__EXTEND_POINT__;const Ue=()=>++Ka,ye={FALLBACK_TO_ROOT:Ka,NOT_SUPPORTED_PRESERVE:Ue(),NOT_SUPPORTED_FORMATTER:Ue(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ue(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ue(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ue(),NOT_FOUND_PARENT_SCOPE:Ue()},$u={[ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ye.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ye.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ye.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ye.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function Ya(e,...t){return Ct($u[e],...t)}let Xa=A.__EXTEND_POINT__;const ie=()=>++Xa,U={UNEXPECTED_RETURN_TYPE:Xa,INVALID_ARGUMENT:ie(),MUST_BE_CALL_SETUP_TOP:ie(),NOT_INSLALLED:ie(),NOT_AVAILABLE_IN_LEGACY_MODE:ie(),REQUIRED_VALUE:ie(),INVALID_VALUE:ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ie(),NOT_INSLALLED_WITH_PROVIDE:ie(),UNEXPECTED_ERROR:ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ie(),BRIDGE_SUPPORT_VUE_2_ONLY:ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ie(),__EXTEND_POINT__:ie()};function Ee(e,...t){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:pu,args:t}:void 0)}const pu={[U.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[U.INVALID_ARGUMENT]:"Invalid argument",[U.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[U.NOT_INSLALLED]:"Need to install with `app.use` function",[U.UNEXPECTED_ERROR]:"Unexpected error",[U.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[U.REQUIRED_VALUE]:"Required in value: {0}",[U.INVALID_VALUE]:"Invalid value",[U.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[U.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[U.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[U.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[U.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[U.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},hn=Oe("__transrateVNode"),gn=Oe("__datetimeParts"),vn=Oe("__numberParts"),yn=Oe("__enableEmitter"),_n=Oe("__disableEmitter"),mu=Oe("__setPluralRules");Oe("__intlifyMeta");const qa=Oe("__injectWithOption");function bn(e){if(!V(e))return e;for(const t in e)if(wn(e,t))if(!t.includes("."))V(e[t])&&bn(e[t]);else{const n=t.split("."),r=n.length-1;let i=e;for(let a=0;a<r;a++)n[a]in i||(i[n[a]]={}),i=i[n[a]];i[n[r]]=e[t],delete e[t],V(i[n[r]])&&bn(i[n[r]])}return e}function An(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,l=D(n)?n:G(r)?{}:{[e]:{}};if(G(r)&&r.forEach(d=>{if("locale"in d&&"resource"in d){const{locale:s,resource:f}=d;s?(l[s]=l[s]||{},st(f,l[s])):st(f,l)}else P(d)&&st(JSON.parse(d),l)}),i==null&&a)for(const d in l)wn(l,d)&&bn(l[d]);return l}const pt=e=>!V(e)||G(e);function st(e,t){if(pt(e)||pt(t))throw Ee(U.INVALID_VALUE);for(const n in e)wn(e,n)&&(pt(e[n])||pt(t[n])?t[n]=e[n]:st(e[n],t[n]))}function za(e){return e.type}function hu(e,t,n){let r=V(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=An(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(V(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(V(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function Br(e){return o.createVNode(o.Text,null,e,0)}const Ur="__INTLIFY_META__";let jr=0;function Gr(e){return(t,n,r,i)=>e(n,r,o.getCurrentInstance()||void 0,i)}const gu=()=>{const e=o.getCurrentInstance();let t=null;return e&&(t=za(e)[Ur])?{[Ur]:t}:null};function vu(e={},t){const{__root:n}=e,r=n===void 0;let i=B(e.inheritLocale)?e.inheritLocale:!0;const a=o.ref(n&&i?n.locale.value:P(e.locale)?e.locale:Lt),l=o.ref(n&&i?n.fallbackLocale.value:P(e.fallbackLocale)||G(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),d=o.ref(An(a.value,e)),s=o.ref(D(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=o.ref(D(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=n?n.missingWarn:B(e.missingWarn)||We(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:B(e.fallbackWarn)||We(e.fallbackWarn)?e.fallbackWarn:!0,$=n?n.fallbackRoot:B(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,I=Y(e.missing)?e.missing:null,O=Y(e.missing)?Gr(e.missing):null,L=Y(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const E=n?n.modifiers:D(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,p;p=(()=>{r&&Pr(null);const _={version:cu,locale:a.value,fallbackLocale:l.value,messages:d.value,modifiers:E,pluralRules:b,missing:O===null?void 0:O,missingWarn:h,fallbackWarn:g,fallbackFormat:N,unresolving:!0,postTranslation:L===null?void 0:L,warnHtmlMessage:m,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};_.datetimeFormats=s.value,_.numberFormats=f.value,_.__datetimeFormatters=D(p)?p.__datetimeFormatters:void 0,_.__numberFormatters=D(p)?p.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=D(p)?p.__v_emitter:void 0);const C=eu(_);return r&&Pr(C),C})(),ot(p,a.value,l.value);function T(){return[a.value,l.value,d.value,s.value,f.value]}const F=o.computed({get:()=>a.value,set:_=>{a.value=_,p.locale=a.value}}),R=o.computed({get:()=>l.value,set:_=>{l.value=_,p.fallbackLocale=l.value,ot(p,a.value,_)}}),x=o.computed(()=>d.value),H=o.computed(()=>s.value),j=o.computed(()=>f.value);function K(){return Y(L)?L:null}function ne(_){L=_,p.postTranslation=_}function Pe(){return I}function re(_){_!==null&&(O=Gr(_)),I=_,p.missing=O}function Ve(_,C){return _!=="translate"||!C.resolvedMessage}const $e=(_,C,ae,Z,Ft,$t)=>{T();let xe;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{Lr(gu()),r||(p.fallbackContext=n?Qd():void 0),xe=_(p)}finally{Lr(null),r||(p.fallbackContext=void 0)}else xe=_(p);if(J(xe)&&xe===wt){const[Re,Li]=C();if(process.env.NODE_ENV!=="production"&&n&&P(Re)&&Ve(ae,Li)&&($&&(Pt(g,Re)||xa(h,Re))&&ft(Ya(ye.FALLBACK_TO_ROOT,{key:Re,type:ae})),process.env.NODE_ENV!=="production")){const{__v_emitter:jn}=p;jn&&$&&jn.emit("fallback",{type:ae,key:Re,to:"global",groupId:`${ae}:${Re}`})}return n&&$?Z(n):Ft(Re)}else{if($t(xe))return xe;throw Ee(U.UNEXPECTED_RETURN_TYPE)}};function Ie(..._){return $e(C=>Reflect.apply(Dr,null,[C,..._]),()=>$n(..._),"translate",C=>Reflect.apply(C.t,C,[..._]),C=>C,C=>P(C))}function Je(..._){const[C,ae,Z]=_;if(Z&&!V(Z))throw Ee(U.INVALID_ARGUMENT);return Ie(C,ae,q({resolvedMessage:!0},Z||{}))}function Ze(..._){return $e(C=>Reflect.apply(Fr,null,[C,..._]),()=>pn(..._),"datetime format",C=>Reflect.apply(C.d,C,[..._]),()=>bt,C=>P(C))}function Qe(..._){return $e(C=>Reflect.apply(Vr,null,[C,..._]),()=>mn(..._),"number format",C=>Reflect.apply(C.n,C,[..._]),()=>bt,C=>P(C))}function et(_){return _.map(C=>P(C)||J(C)||B(C)?Br(String(C)):C)}const nt={normalize:et,interpolate:_=>_,type:"vnode"};function rt(..._){return $e(C=>{let ae;const Z=C;try{Z.processor=nt,ae=Reflect.apply(Dr,null,[Z,..._])}finally{Z.processor=null}return ae},()=>$n(..._),"translate",C=>C[hn](..._),C=>[Br(C)],C=>G(C))}function at(..._){return $e(C=>Reflect.apply(Vr,null,[C,..._]),()=>mn(..._),"number format",C=>C[vn](..._),()=>[],C=>P(C)||G(C))}function Ae(..._){return $e(C=>Reflect.apply(Fr,null,[C,..._]),()=>pn(..._),"datetime format",C=>C[gn](..._),()=>[],C=>P(C)||G(C))}function ke(_){b=_,p.pluralRules=b}function Ce(_,C){const ae=P(C)?C:a.value,Z=c(ae);return p.messageResolver(Z,_)!==null}function De(_){let C=null;const ae=ka(p,l.value,a.value);for(let Z=0;Z<ae.length;Z++){const Ft=d.value[ae[Z]]||{},$t=p.messageResolver(Ft,_);if($t!=null){C=$t;break}}return C}function it(_){const C=De(_);return C??(n?n.tm(_)||{}:{})}function c(_){return d.value[_]||{}}function u(_,C){d.value[_]=C,p.messages=d.value}function v(_,C){d.value[_]=d.value[_]||{},st(C,d.value[_]),p.messages=d.value}function w(_){return s.value[_]||{}}function k(_,C){s.value[_]=C,p.datetimeFormats=s.value,Mr(p,_,C)}function M(_,C){s.value[_]=q(s.value[_]||{},C),p.datetimeFormats=s.value,Mr(p,_,C)}function pe(_){return f.value[_]||{}}function ge(_,C){f.value[_]=C,p.numberFormats=f.value,xr(p,_,C)}function wi(_,C){f.value[_]=q(f.value[_]||{},C),p.numberFormats=f.value,xr(p,_,C)}jr++,n&&we&&(o.watch(n.locale,_=>{i&&(a.value=_,p.locale=_,ot(p,a.value,l.value))}),o.watch(n.fallbackLocale,_=>{i&&(l.value=_,p.fallbackLocale=_,ot(p,a.value,l.value))}));const W={id:jr,locale:F,fallbackLocale:R,get inheritLocale(){return i},set inheritLocale(_){i=_,_&&n&&(a.value=n.locale.value,l.value=n.fallbackLocale.value,ot(p,a.value,l.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:x,get modifiers(){return E},get pluralRules(){return b||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(_){h=_,p.missingWarn=h},get fallbackWarn(){return g},set fallbackWarn(_){g=_,p.fallbackWarn=g},get fallbackRoot(){return $},set fallbackRoot(_){$=_},get fallbackFormat(){return N},set fallbackFormat(_){N=_,p.fallbackFormat=N},get warnHtmlMessage(){return m},set warnHtmlMessage(_){m=_,p.warnHtmlMessage=_},get escapeParameter(){return y},set escapeParameter(_){y=_,p.escapeParameter=_},t:Ie,getLocaleMessage:c,setLocaleMessage:u,mergeLocaleMessage:v,getPostTranslationHandler:K,setPostTranslationHandler:ne,getMissingHandler:Pe,setMissingHandler:re,[mu]:ke};return W.datetimeFormats=H,W.numberFormats=j,W.rt=Je,W.te=Ce,W.tm=it,W.d=Ze,W.n=Qe,W.getDateTimeFormat=w,W.setDateTimeFormat=k,W.mergeDateTimeFormat=M,W.getNumberFormat=pe,W.setNumberFormat=ge,W.mergeNumberFormat=wi,W[qa]=e.__injectWithOption,W[hn]=rt,W[gn]=Ae,W[vn]=at,process.env.NODE_ENV!=="production"&&(W[yn]=_=>{p.__v_emitter=_},W[_n]=()=>{p.__v_emitter=void 0}),W}const kn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function yu({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>r=[...r,...G(i.children)?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Ja(e){return o.Fragment}q({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>J(e)||!isNaN(e)}},kn);function _u(e){return G(e)&&!P(e[0])}function Za(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const l={part:!0};let d={};e.locale&&(l.locale=e.locale),P(e.format)?l.key=e.format:V(e.format)&&(P(e.format.key)&&(l.key=e.format.key),d=Object.keys(e.format).reduce(($,N)=>n.includes(N)?q({},$,{[N]:e.format[N]}):$,{}));const s=r(e.value,l,d);let f=[l.key];G(s)?f=s.map(($,N)=>{const I=i[$.type],O=I?I({[$.type]:$.value,index:N,parts:s}):[$.value];return _u(O)&&(O[0].key=`${$.type}-${N}`),O}):P(s)&&(f=[s]);const h=q({},a),g=P(e.tag)||V(e.tag)?e.tag:Ja();return o.h(g,h,f)}}q({value:{type:Number,required:!0},format:{type:[String,Object]}},kn);q({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},kn);function Hr(e,t){}const bu=Oe("global-vue-i18n");function It(e={}){const t=o.getCurrentInstance();if(t==null)throw Ee(U.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ee(U.NOT_INSLALLED);const n=Eu(t),r=Ou(n),i=za(t),a=Nu(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ee(U.NOT_AVAILABLE_IN_LEGACY_MODE);return Tu(t,a,r,e)}if(a==="global")return hu(r,e,i),r;if(a==="parent"){let s=Cu(n,t,e.__useComponent);return s==null&&(process.env.NODE_ENV!=="production"&&ft(Ya(ye.NOT_FOUND_PARENT_SCOPE)),s=r),s}const l=n;let d=l.__getInstance(t);if(d==null){const s=q({},e);"__i18n"in i&&(s.__i18n=i.__i18n),r&&(s.__root=r),d=vu(s),Su(l,t,d),l.__setInstance(t,d)}return d}function Eu(e){{const t=o.inject(e.isCE?bu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ee(e.isCE?U.NOT_INSLALLED_WITH_PROVIDE:U.UNEXPECTED_ERROR);return t}}function Nu(e,t){return St(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Ou(e){return e.mode==="composition"?e.global:e.global.__composer}function Cu(e,t,n=!1){let r=null;const i=t.root;let a=t.parent;for(;a!=null;){const l=e;if(e.mode==="composition")r=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const d=l.__getInstance(a);d!=null&&(r=d.__composer,n&&r&&!r[qa]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function Su(e,t,n){let r=null;o.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=ed();const i=n;i[yn]&&i[yn](r),r.on("*",Hr)}},t),o.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__){r&&r.off("*",Hr);const i=n;i[_n]&&i[_n](),delete t.vnode.el.__VUE_I18N__}e.__deleteInstance(t)},t)}function Tu(e,t,n,r={}){const i=t==="local",a=o.shallowRef(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ee(U.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=B(r.inheritLocale)?r.inheritLocale:!0,d=o.ref(i&&l?n.locale.value:P(r.locale)?r.locale:Lt),s=o.ref(i&&l?n.fallbackLocale.value:P(r.fallbackLocale)||G(r.fallbackLocale)||D(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:d.value),f=o.ref(An(d.value,r)),h=o.ref(D(r.datetimeFormats)?r.datetimeFormats:{[d.value]:{}}),g=o.ref(D(r.numberFormats)?r.numberFormats:{[d.value]:{}}),$=i?n.missingWarn:B(r.missingWarn)||We(r.missingWarn)?r.missingWarn:!0,N=i?n.fallbackWarn:B(r.fallbackWarn)||We(r.fallbackWarn)?r.fallbackWarn:!0,I=i?n.fallbackRoot:B(r.fallbackRoot)?r.fallbackRoot:!0,O=!!r.fallbackFormat,L=Y(r.missing)?r.missing:null,m=Y(r.postTranslation)?r.postTranslation:null,y=i?n.warnHtmlMessage:B(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,b=i?n.modifiers:D(r.modifiers)?r.modifiers:{},p=r.pluralRules||i&&n.pluralRules;function S(){return[d.value,s.value,f.value,h.value,g.value]}const T=o.computed({get:()=>a.value?a.value.locale.value:d.value,set:u=>{a.value&&(a.value.locale.value=u),d.value=u}}),F=o.computed({get:()=>a.value?a.value.fallbackLocale.value:s.value,set:u=>{a.value&&(a.value.fallbackLocale.value=u),s.value=u}}),R=o.computed(()=>a.value?a.value.messages.value:f.value),x=o.computed(()=>h.value),H=o.computed(()=>g.value);function j(){return a.value?a.value.getPostTranslationHandler():m}function K(u){a.value&&a.value.setPostTranslationHandler(u)}function ne(){return a.value?a.value.getMissingHandler():L}function Pe(u){a.value&&a.value.setMissingHandler(u)}function re(u){return S(),u()}function Ve(...u){return a.value?re(()=>Reflect.apply(a.value.t,null,[...u])):re(()=>"")}function $e(...u){return a.value?Reflect.apply(a.value.rt,null,[...u]):""}function Ie(...u){return a.value?re(()=>Reflect.apply(a.value.d,null,[...u])):re(()=>"")}function Je(...u){return a.value?re(()=>Reflect.apply(a.value.n,null,[...u])):re(()=>"")}function Ze(u){return a.value?a.value.tm(u):{}}function Qe(u,v){return a.value?a.value.te(u,v):!1}function et(u){return a.value?a.value.getLocaleMessage(u):{}}function tt(u,v){a.value&&(a.value.setLocaleMessage(u,v),f.value[u]=v)}function nt(u,v){a.value&&a.value.mergeLocaleMessage(u,v)}function rt(u){return a.value?a.value.getDateTimeFormat(u):{}}function at(u,v){a.value&&(a.value.setDateTimeFormat(u,v),h.value[u]=v)}function Ae(u,v){a.value&&a.value.mergeDateTimeFormat(u,v)}function ke(u){return a.value?a.value.getNumberFormat(u):{}}function Ce(u,v){a.value&&(a.value.setNumberFormat(u,v),g.value[u]=v)}function De(u,v){a.value&&a.value.mergeNumberFormat(u,v)}const it={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:F,messages:R,datetimeFormats:x,numberFormats:H,get inheritLocale(){return a.value?a.value.inheritLocale:l},set inheritLocale(u){a.value&&(a.value.inheritLocale=u)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(f.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:p},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:$},set missingWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackWarn(){return a.value?a.value.fallbackWarn:N},set fallbackWarn(u){a.value&&(a.value.missingWarn=u)},get fallbackRoot(){return a.value?a.value.fallbackRoot:I},set fallbackRoot(u){a.value&&(a.value.fallbackRoot=u)},get fallbackFormat(){return a.value?a.value.fallbackFormat:O},set fallbackFormat(u){a.value&&(a.value.fallbackFormat=u)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:y},set warnHtmlMessage(u){a.value&&(a.value.warnHtmlMessage=u)},get escapeParameter(){return a.value?a.value.escapeParameter:E},set escapeParameter(u){a.value&&(a.value.escapeParameter=u)},t:Ve,getPostTranslationHandler:j,setPostTranslationHandler:K,getMissingHandler:ne,setMissingHandler:Pe,rt:$e,d:Ie,n:Je,tm:Ze,te:Qe,getLocaleMessage:et,setLocaleMessage:tt,mergeLocaleMessage:nt,getDateTimeFormat:rt,setDateTimeFormat:at,mergeDateTimeFormat:Ae,getNumberFormat:ke,setNumberFormat:Ce,mergeNumberFormat:De};function c(u){u.locale.value=d.value,u.fallbackLocale.value=s.value,Object.keys(f.value).forEach(v=>{u.mergeLocaleMessage(v,f.value[v])}),Object.keys(h.value).forEach(v=>{u.mergeDateTimeFormat(v,h.value[v])}),Object.keys(g.value).forEach(v=>{u.mergeNumberFormat(v,g.value[v])}),u.escapeParameter=E,u.fallbackFormat=O,u.fallbackRoot=I,u.fallbackWarn=N,u.missingWarn=$,u.warnHtmlMessage=y}return o.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ee(U.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=a.value=e.proxy.$i18n.__composer;t==="global"?(d.value=u.locale.value,s.value=u.fallbackLocale.value,f.value=u.messages.value,h.value=u.datetimeFormats.value,g.value=u.numberFormats.value):i&&c(u)}),it}qd(iu);zd(Pd);Jd(ka);fu();if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=lt();e.__INTLIFY__=!0,xd(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const wu={class:"pd-small popup-wrapper"},Lu=o.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"white"})],-1),Pu=[Lu],Qa={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(e,{emit:t}){const n=e;function r(){t("close-popup")}return o.watch(()=>n.isPopupOpen,a=>{a?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Ws(),Hs(),It({messages:{en:{},ru:{}}}),(a,l)=>e.isPopupOpen?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[o.createVNode(o.Transition,{name:"scale"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",wu,[o.createElementVNode("section",o.mergeProps({class:"t-center z-index-4"},a.$attrs),[o.createElementVNode("button",{onClick:l[0]||(l[0]=d=>r()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},Pu),o.renderSlot(a.$slots,"default")],16),o.createElementVNode("div",{onClick:l[1]||(l[1]=d=>r()),class:o.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)],512),[[o.vShow,e.isPopupOpen]])]),_:3})])):o.createCommentVNode("",!0)}},Iu=Object.freeze(Object.defineProperty({__proto__:null,default:Qa},Symbol.toStringTag,{value:"Module"})),Au={class:"flex-v-center flex-nowrap flex"},ku={key:0,class:"mn-r-auto t-transp mn-r-small"},Du=["name","value","checked"],Ru={key:1,class:""},Fu=o.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("g",{id:"24 / basic / check-mark"},[o.createElementVNode("path",{id:"icon","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",fill:"#000000"})])],-1),Mu=[Fu],ei={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){return(n,r)=>(o.openBlock(),o.createElementBlock("label",Au,[e.label?(o.openBlock(),o.createElementBlock("div",ku,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onInput:r[0]||(r[0]=i=>n.text=t("update:radio",i.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,Du),e.radio===e.value?(o.openBlock(),o.createElementBlock("div",Ru,Mu)):o.createCommentVNode("",!0)]))}},Vu=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"}));const xu={key:0,class:"t-transp mn-r-small"},Bu=["onClick"],Uu=["onClick"],ju={key:0,class:"mn-t-thin invalid-feedback"},Gu={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){const n=e,r=o.ref(n.select),i=o.ref(!1);o.watch(()=>n.select,s=>{r.value=s});const a=o.computed(()=>n.select?n.options.filter(s=>s!==n.select):n.options),l=()=>{i.value=!i.value,t(i.value?"focus":"blur")},d=s=>{r.value=s,l(),t("update:select",r.value)};return(s,f)=>{var h;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([s.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",xu,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("li",{onClick:o.withModifiers(l,["stop"]),class:"w-100"},[o.createElementVNode("span",null,o.toDisplayString(((h=r.value)==null?void 0:h.name)||r.value||e.placeholder),1)],8,Bu),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[i.value?(o.openBlock(),o.createElementBlock("ul",{key:0,class:o.normalizeClass([s.$attrs.class,"pos-absolute pos-l-0 z-index-5 w-100 mn-t-big"])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),g=>(o.openBlock(),o.createElementBlock("li",null,[g?(o.openBlock(),o.createElementBlock("span",{key:0,onClick:$=>d(g),class:"w-100"},o.toDisplayString(g.name||g),9,Uu)):o.createCommentVNode("",!0)]))),256))],2)):o.createCommentVNode("",!0)]),_:1})],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",ju," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}}},ti=fe(Gu,[["__scopeId","data-v-a78dbba1"]]),Hu=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"}));function jt(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function Wu(e){return(...t)=>!e(...t)}function Ku(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ni(e,t,n,r){return t?e.filter(i=>Ku(r(i,n),t)).sort((i,a)=>r(i,n).length-r(a,n).length):e}function Yu(e){return e.filter(t=>!t.$isLabel)}function Gt(e,t){return n=>n.reduce((r,i)=>i[e]&&i[e].length?(r.push({$groupLabel:i[t],$isLabel:!0}),r.concat(i[e])):r,[])}function Xu(e,t,n,r,i){return a=>a.map(l=>{if(!l[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const d=ni(l[n],e,t,i);return d.length?{[r]:l[r],[n]:d}:[]})}const Wr=(...e)=>t=>e.reduce((n,r)=>r(n),t),qu={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return jt(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):ni(n,t,this.label,this.customLabel):n=this.groupValues?Gt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(Wu(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return Wr(Xu(t,n,this.groupValues,this.groupLabel,this.customLabel),Gt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return Wr(Gt(this.groupValues,this.groupLabel),Yu)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(jt(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return jt(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},zu={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}};const Ju={name:"vue-multiselect",mixins:[qu,zu],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}},Zu=["tabindex","aria-owns"],Qu={ref:"tags",class:"multiselect__tags"},ec={class:"multiselect__tags-wrap"},tc=["textContent"],nc=["onKeypress","onMousedown"],rc=["textContent"],ac={class:"multiselect__spinner"},ic=["name","id","placeholder","value","disabled","tabindex","aria-controls"],oc=["id"],lc={key:0},sc={class:"multiselect__option"},dc=["id","role"],uc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],cc=["data-select","data-deselect","onMouseenter","onMousedown"],fc={class:"multiselect__option"},$c={class:"multiselect__option"};function pc(e,t,n,r,i,a){return o.openBlock(),o.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:o.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":a.isAbove,"multiselect--has-options-group":a.hasOptionGroup},"multiselect"]),onFocus:t[13]||(t[13]=l=>e.activate()),onBlur:t[14]||(t[14]=l=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=o.withKeys(o.withModifiers(l=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=o.withKeys(o.withModifiers(l=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=o.withKeys(o.withModifiers(l=>e.addPointerElement(l),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=o.withKeys(l=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[o.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[o.createElementVNode("div",{onMousedown:t[0]||(t[0]=o.withModifiers(l=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(e.$slots,"clear",{search:e.search}),o.createElementVNode("div",Qu,[o.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[o.withDirectives(o.createElementVNode("div",ec,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.visibleValues,(l,d)=>o.renderSlot(e.$slots,"tag",{option:l,search:e.search,remove:e.removeElement},()=>[(o.openBlock(),o.createElementBlock("span",{class:"multiselect__tag",key:d},[o.createElementVNode("span",{textContent:o.toDisplayString(e.getOptionLabel(l))},null,8,tc),o.createElementVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(s=>e.removeElement(l),["prevent"]),["enter"]),onMousedown:o.withModifiers(s=>e.removeElement(l),["prevent"]),class:"multiselect__tag-icon"},null,40,nc)]))])),256))],512),[[o.vShow,a.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?o.renderSlot(e.$slots,"limit",{key:0},()=>[o.createElementVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,rc)]):o.createCommentVNode("",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"loading",{},()=>[o.withDirectives(o.createElementVNode("div",ac,null,512),[[o.vShow,n.loading]])])]),_:3}),e.searchable?(o.openBlock(),o.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:o.normalizeStyle(a.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=l=>e.updateSearch(l.target.value)),onFocus:t[2]||(t[2]=o.withModifiers(l=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=o.withModifiers(l=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=o.withKeys(l=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=o.withKeys(o.withModifiers(l=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=o.withKeys(o.withModifiers(l=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=o.withKeys(o.withModifiers(l=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=o.withKeys(o.withModifiers(l=>e.addPointerElement(l),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,ic)):o.createCommentVNode("",!0),a.isSingleLabelVisible?(o.openBlock(),o.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=o.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[o.renderSlot(e.$slots,"singleLabel",{option:a.singleValue},()=>[o.createTextVNode(o.toDisplayString(e.currentOptionLabel),1)])],32)):o.createCommentVNode("",!0),a.isPlaceholderVisible?(o.openBlock(),o.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=o.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[o.renderSlot(e.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(e.placeholder),1)])],32)):o.createCommentVNode("",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...l)=>e.activate&&e.activate(...l)),tabindex:"-1",onMousedown:t[12]||(t[12]=o.withModifiers(()=>{},["prevent"])),style:o.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[o.createElementVNode("ul",{class:"multiselect__content",style:o.normalizeStyle(a.contentStyle),role:"listbox",id:"listbox-"+e.id},[o.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(o.openBlock(),o.createElementBlock("li",lc,[o.createElementVNode("span",sc,[o.renderSlot(e.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(e.filteredOptions,(l,d)=>(o.openBlock(),o.createElementBlock("li",{class:"multiselect__element",key:d,id:e.id+"-"+d,role:l&&(l.$isLabel||l.$isDisabled)?null:"option"},[l&&(l.$isLabel||l.$isDisabled)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([e.optionHighlight(d,l),"multiselect__option"]),onClick:o.withModifiers(s=>e.select(l),["stop"]),onMouseenter:o.withModifiers(s=>e.pointerSet(d),["self"]),"data-select":l&&l.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[o.renderSlot(e.$slots,"option",{option:l,search:e.search,index:d},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(l)),1)])],42,uc)),l&&(l.$isLabel||l.$isDisabled)?(o.openBlock(),o.createElementBlock("span",{key:1,"data-select":e.groupSelect&&a.selectGroupLabelText,"data-deselect":e.groupSelect&&a.deselectGroupLabelText,class:o.normalizeClass([e.groupHighlight(d,l),"multiselect__option"]),onMouseenter:o.withModifiers(s=>e.groupSelect&&e.pointerSet(d),["self"]),onMousedown:o.withModifiers(s=>e.selectGroup(l),["prevent"])},[o.renderSlot(e.$slots,"option",{option:l,search:e.search,index:d},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(l)),1)])],42,cc)):o.createCommentVNode("",!0)],8,dc))),128)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",fc,[o.renderSlot(e.$slots,"noResult",{search:e.search},()=>[o.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[o.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",$c,[o.renderSlot(e.$slots,"noOptions",{},()=>[o.createTextVNode("List is empty.")])])],512),[[o.vShow,n.showNoOptions&&(e.options.length===0||a.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),o.renderSlot(e.$slots,"afterList")],12,oc)],38),[[o.vShow,e.isOpen]])]),_:3})],42,Zu)}const ri=fe(Ju,[["render",pc]]),mc=Object.freeze(Object.defineProperty({__proto__:null,default:ri},Symbol.toStringTag,{value:"Module"}));const hc={key:0,class:"spoiler"},ai={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1);return t.status&&(n.value=t.status),(r,i)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:i[0]||(i[0]=a=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[o.renderSlot(r.$slots,"header")]),o.createVNode(o.Transition,{name:"collapse"},{default:o.withCtx(()=>[n.value?(o.openBlock(),o.createElementBlock("div",hc,[o.renderSlot(r.$slots,"content")])):o.createCommentVNode("",!0)]),_:3})]))}},gc=Object.freeze(Object.defineProperty({__proto__:null,default:ai},Symbol.toStringTag,{value:"Module"}));const vc={class:""},yc={class:"flex-nowrap flex-v-center flex"},_c=["onClick"],ii={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=e,r=o.ref(0);if(n.selected){const s=n.tabs.findIndex(f=>f.value===n.selected);s!==-1&&(r.value=s)}function i(s,f){r.value=s,t("update:selected",f.value),n.callback&&n.callback()}function a(s){return`${100/n.tabs.length*s}%`}function l(){return`${100/n.tabs.length}%`}const d=o.computed(()=>({left:a(r.value),width:l()}));return(s,f)=>(o.openBlock(),o.createElementBlock("div",vc,[o.createElementVNode("div",yc,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tabs,(h,g)=>(o.openBlock(),o.createElementBlock("div",{key:g,onClick:$=>i(g,h),class:o.normalizeClass([{"t-transp":g!==r.value},"z-index-1 t-center pd-small w-100"])},[o.createElementVNode("label",null,o.toDisplayString(h.name),1)],10,_c))),128)),o.createElementVNode("div",{style:o.normalizeStyle(o.unref(d)),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},bc=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"}));const Ec={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=o.ref(!1),n=o.reactive({position:"absolute","min-width":"20rem",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(a){t.value=!0,n.left=`${a.clientX/100+10}px`,n.top=`${a.clientY/100+10}px`,n.display="block"}function i(){t.value=!1,n.display="none"}return(a,l)=>(o.openBlock(),o.createElementBlock("div",{class:"tooltip-container",onMouseover:r,onMouseleave:i},[o.renderSlot(a.$slots,"default",{},void 0,!0),o.createElementVNode("div",{class:"tooltip-content",style:o.normalizeStyle(n)},o.toDisplayString(e.text),5)],32))}},oi=fe(Ec,[["__scopeId","data-v-b0efe407"]]),Nc=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"})),Oc={key:0,class:"cursor-pointer t-second"},li={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0}},setup(e){const t=e,n=o.ref(!1),r=o.computed(()=>t.text.slice(0,t.maxLen)+"..."),i=o.computed(()=>t.text),a=()=>{n.value=!n.value},l=o.computed(()=>n.value?i.value:r.value),d=o.computed(()=>t.text.length>t.maxLen),s=o.computed(()=>n.value?"Hide":"Show more");return(f,h)=>(o.openBlock(),o.createElementBlock("span",{onClick:a,class:""},[o.createTextVNode(o.toDisplayString(o.unref(l))+" ",1),o.unref(d)?(o.openBlock(),o.createElementBlock("span",Oc,o.toDisplayString(o.unref(s)),1)):o.createCommentVNode("",!0)]))}},Cc=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"}));const Sc={key:0,class:"t-transp mn-r-small"},Tc={class:"w-100"},wc=["placeholder","multiple"],Lc={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},Pc={__name:"Upload",props:{label:null,type:"file",placeholder:"Upload a file",validation:!1,multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(e,{emit:t}){const n=e,r=i=>{if(n.multiple){const a=Array.from(i.target.files);t("file-change",{files:a})}else{const a=i.target.files[0];t("file-change",{file:a})}};return(i,a)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[i.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Sc,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",Tc,[o.createElementVNode("input",{onChange:r,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,wc)])],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Lc," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},si=fe(Pc,[["__scopeId","data-v-25c75f91"]]),Ic=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"}));function Ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dn={exports:{}},di=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}},kc=di,Rn=Object.prototype.toString,Fn=function(e){return function(t){var n=Rn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Me(e){return e=e.toLowerCase(),function(n){return Fn(n)===e}}function Mn(e){return Array.isArray(e)}function Et(e){return typeof e>"u"}function Dc(e){return e!==null&&!Et(e)&&e.constructor!==null&&!Et(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var ui=Me("ArrayBuffer");function Rc(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ui(e.buffer),t}function Fc(e){return typeof e=="string"}function Mc(e){return typeof e=="number"}function ci(e){return e!==null&&typeof e=="object"}function ht(e){if(Fn(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var Vc=Me("Date"),xc=Me("File"),Bc=Me("Blob"),Uc=Me("FileList");function Vn(e){return Rn.call(e)==="[object Function]"}function jc(e){return ci(e)&&Vn(e.pipe)}function Gc(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Rn.call(e)===t||Vn(e.toString)&&e.toString()===t)}var Hc=Me("URLSearchParams");function Wc(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Kc(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function xn(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Mn(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function En(){var e={};function t(i,a){ht(e[a])&&ht(i)?e[a]=En(e[a],i):ht(i)?e[a]=En({},i):Mn(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)xn(arguments[n],t);return e}function Yc(e,t,n){return xn(t,function(i,a){n&&typeof i=="function"?e[a]=kc(i,n):e[a]=i}),e}function Xc(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function qc(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function zc(e,t,n){var r,i,a,l={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],l[a]||(t[a]=e[a],l[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function Jc(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function Zc(e){if(!e)return null;var t=e.length;if(Et(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var Qc=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),z={isArray:Mn,isArrayBuffer:ui,isBuffer:Dc,isFormData:Gc,isArrayBufferView:Rc,isString:Fc,isNumber:Mc,isObject:ci,isPlainObject:ht,isUndefined:Et,isDate:Vc,isFile:xc,isBlob:Bc,isFunction:Vn,isStream:jc,isURLSearchParams:Hc,isStandardBrowserEnv:Kc,forEach:xn,merge:En,extend:Yc,trim:Wc,stripBOM:Xc,inherits:qc,toFlatObject:zc,kindOf:Fn,kindOfTest:Me,endsWith:Jc,toArray:Zc,isTypedArray:Qc,isFileList:Uc},je=z;function Kr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var fi=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(je.isURLSearchParams(n))i=n.toString();else{var a=[];je.forEach(n,function(s,f){s===null||typeof s>"u"||(je.isArray(s)?f=f+"[]":s=[s],je.forEach(s,function(g){je.isDate(g)?g=g.toISOString():je.isObject(g)&&(g=JSON.stringify(g)),a.push(Kr(f)+"="+Kr(g))}))}),i=a.join("&")}if(i){var l=t.indexOf("#");l!==-1&&(t=t.slice(0,l)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},e0=z;function At(){this.handlers=[]}At.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};At.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};At.prototype.forEach=function(t){e0.forEach(this.handlers,function(r){r!==null&&t(r)})};var t0=At,n0=z,r0=function(t,n){n0.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})},$i=z;function Xe(e,t,n,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}$i.inherits(Xe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var pi=Xe.prototype,mi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){mi[e]={value:e}});Object.defineProperties(Xe,mi);Object.defineProperty(pi,"isAxiosError",{value:!0});Xe.from=function(e,t,n,r,i,a){var l=Object.create(pi);return $i.toFlatObject(e,l,function(s){return s!==Error.prototype}),Xe.call(l,e.message,t,n,r,i),l.name=e.name,a&&Object.assign(l,a),l};var ze=Xe,hi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ue=z;function a0(e,t){t=t||new FormData;var n=[];function r(a){return a===null?"":ue.isDate(a)?a.toISOString():ue.isArrayBuffer(a)||ue.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,l){if(ue.isPlainObject(a)||ue.isArray(a)){if(n.indexOf(a)!==-1)throw Error("Circular reference detected in "+l);n.push(a),ue.forEach(a,function(s,f){if(!ue.isUndefined(s)){var h=l?l+"."+f:f,g;if(s&&!l&&typeof s=="object"){if(ue.endsWith(f,"{}"))s=JSON.stringify(s);else if(ue.endsWith(f,"[]")&&(g=ue.toArray(s))){g.forEach(function($){!ue.isUndefined($)&&t.append(h,r($))});return}}i(s,h)}}),n.pop()}else t.append(l,r(a))}return i(e),t}var gi=a0,Ht,Yr;function i0(){if(Yr)return Ht;Yr=1;var e=ze;return Ht=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Ht}var Wt,Xr;function o0(){if(Xr)return Wt;Xr=1;var e=z;return Wt=e.isStandardBrowserEnv()?function(){return{write:function(r,i,a,l,d,s){var f=[];f.push(r+"="+encodeURIComponent(i)),e.isNumber(a)&&f.push("expires="+new Date(a).toGMTString()),e.isString(l)&&f.push("path="+l),e.isString(d)&&f.push("domain="+d),s===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Wt}var l0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},s0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},d0=l0,u0=s0,vi=function(t,n){return t&&!d0(n)?u0(t,n):n},Kt,qr;function c0(){if(qr)return Kt;qr=1;var e=z,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Kt=function(r){var i={},a,l,d;return r&&e.forEach(r.split(`
37
- `),function(f){if(d=f.indexOf(":"),a=e.trim(f.substr(0,d)).toLowerCase(),l=e.trim(f.substr(d+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([l]):i[a]=i[a]?i[a]+", "+l:l}}),i},Kt}var Yt,zr;function f0(){if(zr)return Yt;zr=1;var e=z;return Yt=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(l){var d=l;return n&&(r.setAttribute("href",d),d=r.href),r.setAttribute("href",d),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(d){var s=e.isString(d)?a(d):d;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),Yt}var Xt,Jr;function kt(){if(Jr)return Xt;Jr=1;var e=ze,t=z;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),Xt=n,Xt}var qt,Zr;function $0(){return Zr||(Zr=1,qt=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),qt}var zt,Qr;function ea(){if(Qr)return zt;Qr=1;var e=z,t=i0(),n=o0(),r=fi,i=vi,a=c0(),l=f0(),d=hi,s=ze,f=kt(),h=$0();return zt=function($){return new Promise(function(I,O){var L=$.data,m=$.headers,y=$.responseType,E;function b(){$.cancelToken&&$.cancelToken.unsubscribe(E),$.signal&&$.signal.removeEventListener("abort",E)}e.isFormData(L)&&e.isStandardBrowserEnv()&&delete m["Content-Type"];var p=new XMLHttpRequest;if($.auth){var S=$.auth.username||"",T=$.auth.password?unescape(encodeURIComponent($.auth.password)):"";m.Authorization="Basic "+btoa(S+":"+T)}var F=i($.baseURL,$.url);p.open($.method.toUpperCase(),r(F,$.params,$.paramsSerializer),!0),p.timeout=$.timeout;function R(){if(p){var j="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,K=!y||y==="text"||y==="json"?p.responseText:p.response,ne={data:K,status:p.status,statusText:p.statusText,headers:j,config:$,request:p};t(function(re){I(re),b()},function(re){O(re),b()},ne),p=null}}if("onloadend"in p?p.onloadend=R:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(R)},p.onabort=function(){p&&(O(new s("Request aborted",s.ECONNABORTED,$,p)),p=null)},p.onerror=function(){O(new s("Network Error",s.ERR_NETWORK,$,p,p)),p=null},p.ontimeout=function(){var K=$.timeout?"timeout of "+$.timeout+"ms exceeded":"timeout exceeded",ne=$.transitional||d;$.timeoutErrorMessage&&(K=$.timeoutErrorMessage),O(new s(K,ne.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,$,p)),p=null},e.isStandardBrowserEnv()){var x=($.withCredentials||l(F))&&$.xsrfCookieName?n.read($.xsrfCookieName):void 0;x&&(m[$.xsrfHeaderName]=x)}"setRequestHeader"in p&&e.forEach(m,function(K,ne){typeof L>"u"&&ne.toLowerCase()==="content-type"?delete m[ne]:p.setRequestHeader(ne,K)}),e.isUndefined($.withCredentials)||(p.withCredentials=!!$.withCredentials),y&&y!=="json"&&(p.responseType=$.responseType),typeof $.onDownloadProgress=="function"&&p.addEventListener("progress",$.onDownloadProgress),typeof $.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",$.onUploadProgress),($.cancelToken||$.signal)&&(E=function(j){p&&(O(!j||j&&j.type?new f:j),p.abort(),p=null)},$.cancelToken&&$.cancelToken.subscribe(E),$.signal&&($.signal.aborted?E():$.signal.addEventListener("abort",E))),L||(L=null);var H=h(F);if(H&&["http","https","file"].indexOf(H)===-1){O(new s("Unsupported protocol "+H+":",s.ERR_BAD_REQUEST,$));return}p.send(L)})},zt}var Jt,ta;function p0(){return ta||(ta=1,Jt=null),Jt}var X=z,na=r0,ra=ze,m0=hi,h0=gi,g0={"Content-Type":"application/x-www-form-urlencoded"};function aa(e,t){!X.isUndefined(e)&&X.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function v0(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=ea()),e}function y0(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Dt={transitional:m0,adapter:v0(),transformRequest:[function(t,n){if(na(n,"Accept"),na(n,"Content-Type"),X.isFormData(t)||X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return aa(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=X.isObject(t),i=n&&n["Content-Type"],a;if((a=X.isFileList(t))||r&&i==="multipart/form-data"){var l=this.env&&this.env.FormData;return h0(a?{"files[]":t}:t,l&&new l)}else if(r||i==="application/json")return aa(n,"application/json"),y0(t);return t}],transformResponse:[function(t){var n=this.transitional||Dt.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&X.isString(t)&&t.length)try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ra.from(l,ra.ERR_BAD_RESPONSE,this,null,this.response):l}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:p0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};X.forEach(["delete","get","head"],function(t){Dt.headers[t]={}});X.forEach(["post","put","patch"],function(t){Dt.headers[t]=X.merge(g0)});var Bn=Dt,_0=z,b0=Bn,E0=function(t,n,r){var i=this||b0;return _0.forEach(r,function(l){t=l.call(i,t,n)}),t},Zt,ia;function yi(){return ia||(ia=1,Zt=function(t){return!!(t&&t.__CANCEL__)}),Zt}var oa=z,Qt=E0,N0=yi(),O0=Bn,C0=kt();function en(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new C0}var S0=function(t){en(t),t.headers=t.headers||{},t.data=Qt.call(t,t.data,t.headers,t.transformRequest),t.headers=oa.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),oa.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||O0.adapter;return n(t).then(function(i){return en(t),i.data=Qt.call(t,i.data,i.headers,t.transformResponse),i},function(i){return N0(i)||(en(t),i&&i.response&&(i.response.data=Qt.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},le=z,_i=function(t,n){n=n||{};var r={};function i(h,g){return le.isPlainObject(h)&&le.isPlainObject(g)?le.merge(h,g):le.isPlainObject(g)?le.merge({},g):le.isArray(g)?g.slice():g}function a(h){if(le.isUndefined(n[h])){if(!le.isUndefined(t[h]))return i(void 0,t[h])}else return i(t[h],n[h])}function l(h){if(!le.isUndefined(n[h]))return i(void 0,n[h])}function d(h){if(le.isUndefined(n[h])){if(!le.isUndefined(t[h]))return i(void 0,t[h])}else return i(void 0,n[h])}function s(h){if(h in n)return i(t[h],n[h]);if(h in t)return i(void 0,t[h])}var f={url:l,method:l,data:l,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return le.forEach(Object.keys(t).concat(Object.keys(n)),function(g){var $=f[g]||a,N=$(g);le.isUndefined(N)&&$!==s||(r[g]=N)}),r},tn,la;function bi(){return la||(la=1,tn={version:"0.27.2"}),tn}var T0=bi().version,Te=ze,Un={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Un[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var sa={};Un.transitional=function(t,n,r){function i(a,l){return"[Axios v"+T0+"] Transitional option '"+a+"'"+l+(r?". "+r:"")}return function(a,l,d){if(t===!1)throw new Te(i(l," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!sa[l]&&(sa[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,d):!0}};function w0(e,t,n){if(typeof e!="object")throw new Te("options must be an object",Te.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],l=t[a];if(l){var d=e[a],s=d===void 0||l(d,a,e);if(s!==!0)throw new Te("option "+a+" must be "+s,Te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Te("Unknown option "+a,Te.ERR_BAD_OPTION)}}var L0={assertOptions:w0,validators:Un},Ei=z,P0=fi,da=t0,ua=S0,Rt=_i,I0=vi,Ni=L0,Ge=Ni.validators;function qe(e){this.defaults=e,this.interceptors={request:new da,response:new da}}qe.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rt(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Ni.assertOptions(r,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(n)===!1||(a=a&&N.synchronous,i.unshift(N.fulfilled,N.rejected))});var l=[];this.interceptors.response.forEach(function(N){l.push(N.fulfilled,N.rejected)});var d;if(!a){var s=[ua,void 0];for(Array.prototype.unshift.apply(s,i),s=s.concat(l),d=Promise.resolve(n);s.length;)d=d.then(s.shift(),s.shift());return d}for(var f=n;i.length;){var h=i.shift(),g=i.shift();try{f=h(f)}catch($){g($);break}}try{d=ua(f)}catch($){return Promise.reject($)}for(;l.length;)d=d.then(l.shift(),l.shift());return d};qe.prototype.getUri=function(t){t=Rt(this.defaults,t);var n=I0(t.baseURL,t.url);return P0(n,t.params,t.paramsSerializer)};Ei.forEach(["delete","get","head","options"],function(t){qe.prototype[t]=function(n,r){return this.request(Rt(r||{},{method:t,url:n,data:(r||{}).data}))}});Ei.forEach(["post","put","patch"],function(t){function n(r){return function(a,l,d){return this.request(Rt(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}qe.prototype[t]=n(),qe.prototype[t+"Form"]=n(!0)});var A0=qe,nn,ca;function k0(){if(ca)return nn;ca=1;var e=kt();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(l){r=l});var i=this;this.promise.then(function(a){if(i._listeners){var l,d=i._listeners.length;for(l=0;l<d;l++)i._listeners[l](a);i._listeners=null}}),this.promise.then=function(a){var l,d=new Promise(function(s){i.subscribe(s),l=s}).then(a);return d.cancel=function(){i.unsubscribe(l)},d},n(function(l){i.reason||(i.reason=new e(l),r(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var r,i=new t(function(l){r=l});return{token:i,cancel:r}},nn=t,nn}var rn,fa;function D0(){return fa||(fa=1,rn=function(t){return function(r){return t.apply(null,r)}}),rn}var an,$a;function R0(){if($a)return an;$a=1;var e=z;return an=function(n){return e.isObject(n)&&n.isAxiosError===!0},an}var pa=z,F0=di,gt=A0,M0=_i,V0=Bn;function Oi(e){var t=new gt(e),n=F0(gt.prototype.request,t);return pa.extend(n,gt.prototype,t),pa.extend(n,t),n.create=function(i){return Oi(M0(e,i))},n}var oe=Oi(V0);oe.Axios=gt;oe.CanceledError=kt();oe.CancelToken=k0();oe.isCancel=yi();oe.VERSION=bi().version;oe.toFormData=gi;oe.AxiosError=ze;oe.Cancel=oe.CanceledError;oe.all=function(t){return Promise.all(t)};oe.spread=D0();oe.isAxiosError=R0();Dn.exports=oe;Dn.exports.default=oe;var x0=Dn.exports,B0=x0;const Ci=Ac(B0),U0=["src"],j0={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},G0=o.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{fill:"white",d:"M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"})],-1),H0=[G0],Si={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=e,r=o.ref(null),i=o.ref(null);o.watch(n,({photo:s})=>{s&&(r.value=s)});function a(){i.value.click()}async function l(s){let f=s.target.files[0],h=new FormData;h.append("file",f);try{let $=await Ci.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}});r.value=$.data.filepath,t("update:photo",r.value)}catch(g){console.error(g)}}function d(s){s.preventDefault(),l({target:{files:s.dataTransfer.files}})}return(s,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:a,onDrop:d,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[r.value||e.photo?(o.openBlock(),o.createElementBlock("img",{key:0,src:r.value||e.photo,alt:"Uploaded image",class:"w-100 h-100 object-fit-fill"},null,8,U0)):(o.openBlock(),o.createElementBlock("div",j0,H0)),o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:i,onChange:l,style:{display:"none"}},null,544)],32))}},W0=Object.freeze(Object.defineProperty({__proto__:null,default:Si},Symbol.toStringTag,{value:"Module"})),K0=o.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),Ti={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(e,{emit:t}){const n=e,r=o.ref([]),i=o.ref(null);function a(){i.value.click()}async function l(s){let f=s.target.files,h=new FormData;for(let g=0;g<f.length;g++)h.append("file",f[g]);try{(await Ci.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(n.uploadPath)}`,h,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(N=>{r.value.push(N.filepath)}),t("update:images",r.value)}catch(g){console.error(g)}}function d(s){s.preventDefault(),l({target:{files:s.dataTransfer.files}})}return(s,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:a,onDrop:d,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[K0,o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:i,onChange:l,multiple:"",style:{display:"none"}},null,544)],32))}},Y0=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"})),X0={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Di)),e.component("Button",()=>Promise.resolve().then(()=>Hi)),e.component("Checkbox",()=>Promise.resolve().then(()=>qi)),e.component("Dropdown",()=>Promise.resolve().then(()=>Zi)),e.component("Error",()=>Promise.resolve().then(()=>to)),e.component("Field",()=>Promise.resolve().then(()=>so)),e.component("FieldPhone",()=>Promise.resolve().then(()=>ks)),e.component("LocationMarker",()=>Promise.resolve().then(()=>xs)),e.component("Map",()=>Promise.resolve().then(()=>Us)),e.component("Popup",()=>Promise.resolve().then(()=>Iu)),e.component("Radio",()=>Promise.resolve().then(()=>Vu)),e.component("Select",()=>Promise.resolve().then(()=>Hu)),e.component("SelectMulti",()=>Promise.resolve().then(()=>mc)),e.component("Spoiler",()=>Promise.resolve().then(()=>gc)),e.component("Tab",()=>Promise.resolve().then(()=>bc)),e.component("Tooltip",()=>Promise.resolve().then(()=>Nc)),e.component("Text",()=>Promise.resolve().then(()=>Cc)),e.component("Upload",()=>Promise.resolve().then(()=>Ic)),e.component("UploadImage",()=>Promise.resolve().then(()=>W0)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>Y0))}};exports.Address=ma;exports.Button=ha;exports.Checkbox=ga;exports.Dropdown=va;exports.Error=ya;exports.Field=_a;exports.FieldPhone=wa;exports.LocationMarker=La;exports.Map=Pa;exports.Popup=Qa;exports.Radio=ei;exports.Select=ti;exports.SelectMulti=ri;exports.Spoiler=ai;exports.Tab=ii;exports.Text=li;exports.Tooltip=oi;exports.Upload=si;exports.UploadImage=Si;exports.UploadImageMultiple=Ti;exports.default=X0;
36
+ */const fu="9.2.2";function $u(){let e=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(e=!0,ot().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(e=!0,ot().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ot().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&e&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let Ya=se.__EXTEND_POINT__;const Be=()=>++Ya,ve={FALLBACK_TO_ROOT:Ya,NOT_SUPPORTED_PRESERVE:Be(),NOT_SUPPORTED_FORMATTER:Be(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Be(),NOT_SUPPORTED_GET_CHOICE_INDEX:Be(),COMPONENT_NAME_LEGACY_COMPATIBLE:Be(),NOT_FOUND_PARENT_SCOPE:Be()},pu={[ve.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ve.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ve.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ve.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ve.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ve.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ve.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function qa(e,...t){return Ot(pu[e],...t)}let Xa=A.__EXTEND_POINT__;const ie=()=>++Xa,U={UNEXPECTED_RETURN_TYPE:Xa,INVALID_ARGUMENT:ie(),MUST_BE_CALL_SETUP_TOP:ie(),NOT_INSLALLED:ie(),NOT_AVAILABLE_IN_LEGACY_MODE:ie(),REQUIRED_VALUE:ie(),INVALID_VALUE:ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ie(),NOT_INSLALLED_WITH_PROVIDE:ie(),UNEXPECTED_ERROR:ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ie(),BRIDGE_SUPPORT_VUE_2_ONLY:ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ie(),__EXTEND_POINT__:ie()};function be(e,...t){return St(e,null,process.env.NODE_ENV!=="production"?{messages:mu,args:t}:void 0)}const mu={[U.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[U.INVALID_ARGUMENT]:"Invalid argument",[U.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[U.NOT_INSLALLED]:"Need to install with `app.use` function",[U.UNEXPECTED_ERROR]:"Unexpected error",[U.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[U.REQUIRED_VALUE]:"Required in value: {0}",[U.INVALID_VALUE]:"Invalid value",[U.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[U.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[U.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[U.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[U.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[U.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},hn=Ne("__transrateVNode"),gn=Ne("__datetimeParts"),vn=Ne("__numberParts"),yn=Ne("__enableEmitter"),_n=Ne("__disableEmitter"),hu=Ne("__setPluralRules");Ne("__intlifyMeta");const za=Ne("__injectWithOption");function bn(e){if(!V(e))return e;for(const t in e)if(Ln(e,t))if(!t.includes("."))V(e[t])&&bn(e[t]);else{const n=t.split("."),r=n.length-1;let a=e;for(let i=0;i<r;i++)n[i]in a||(a[n[i]]={}),a=a[n[i]];a[n[r]]=e[t],delete e[t],V(a[n[r]])&&bn(a[n[r]])}return e}function An(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:i}=t,l=D(n)?n:G(r)?{}:{[e]:{}};if(G(r)&&r.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:d,resource:f}=s;d?(l[d]=l[d]||{},lt(f,l[d])):lt(f,l)}else P(s)&&lt(JSON.parse(s),l)}),a==null&&i)for(const s in l)Ln(l,s)&&bn(l[s]);return l}const $t=e=>!V(e)||G(e);function lt(e,t){if($t(e)||$t(t))throw be(U.INVALID_VALUE);for(const n in e)Ln(e,n)&&($t(e[n])||$t(t[n])?t[n]=e[n]:lt(e[n],t[n]))}function Ja(e){return e.type}function gu(e,t,n){let r=V(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=An(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(V(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(V(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function Br(e){return o.createVNode(o.Text,null,e,0)}const Ur="__INTLIFY_META__";let jr=0;function Gr(e){return(t,n,r,a)=>e(n,r,o.getCurrentInstance()||void 0,a)}const vu=()=>{const e=o.getCurrentInstance();let t=null;return e&&(t=Ja(e)[Ur])?{[Ur]:t}:null};function yu(e={},t){const{__root:n}=e,r=n===void 0;let a=B(e.inheritLocale)?e.inheritLocale:!0;const i=o.ref(n&&a?n.locale.value:P(e.locale)?e.locale:Lt),l=o.ref(n&&a?n.fallbackLocale.value:P(e.fallbackLocale)||G(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),s=o.ref(An(i.value,e)),d=o.ref(D(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),f=o.ref(D(e.numberFormats)?e.numberFormats:{[i.value]:{}});let m=n?n.missingWarn:B(e.missingWarn)||He(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:B(e.fallbackWarn)||He(e.fallbackWarn)?e.fallbackWarn:!0,$=n?n.fallbackRoot:B(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,I=Y(e.missing)?e.missing:null,O=Y(e.missing)?Gr(e.missing):null,w=Y(e.postTranslation)?e.postTranslation:null,h=n?n.warnHtmlMessage:B(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const E=n?n.modifiers:D(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,p;p=(()=>{r&&Pr(null);const _={version:fu,locale:i.value,fallbackLocale:l.value,messages:s.value,modifiers:E,pluralRules:b,missing:O===null?void 0:O,missingWarn:m,fallbackWarn:g,fallbackFormat:N,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:h,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};_.datetimeFormats=d.value,_.numberFormats=f.value,_.__datetimeFormatters=D(p)?p.__datetimeFormatters:void 0,_.__numberFormatters=D(p)?p.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=D(p)?p.__v_emitter:void 0);const C=tu(_);return r&&Pr(C),C})(),it(p,i.value,l.value);function T(){return[i.value,l.value,s.value,d.value,f.value]}const F=o.computed({get:()=>i.value,set:_=>{i.value=_,p.locale=i.value}}),R=o.computed({get:()=>l.value,set:_=>{l.value=_,p.fallbackLocale=l.value,it(p,i.value,_)}}),x=o.computed(()=>s.value),H=o.computed(()=>d.value),j=o.computed(()=>f.value);function K(){return Y(w)?w:null}function ne(_){w=_,p.postTranslation=_}function we(){return I}function re(_){_!==null&&(O=Gr(_)),I=_,p.missing=O}function Me(_,C){return _!=="translate"||!C.resolvedMessage}const fe=(_,C,ae,Z,Rt,ft)=>{T();let Ve;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{wr(vu()),r||(p.fallbackContext=n?eu():void 0),Ve=_(p)}finally{wr(null),r||(p.fallbackContext=void 0)}else Ve=_(p);if(J(Ve)&&Ve===Tt){const[De,Pi]=C();if(process.env.NODE_ENV!=="production"&&n&&P(De)&&Me(ae,Pi)&&($&&(wt(g,De)||Ba(m,De))&&ct(qa(ve.FALLBACK_TO_ROOT,{key:De,type:ae})),process.env.NODE_ENV!=="production")){const{__v_emitter:jn}=p;jn&&$&&jn.emit("fallback",{type:ae,key:De,to:"global",groupId:`${ae}:${De}`})}return n&&$?Z(n):Rt(De)}else{if(ft(Ve))return Ve;throw be(U.UNEXPECTED_RETURN_TYPE)}};function Pe(..._){return fe(C=>Reflect.apply(Dr,null,[C,..._]),()=>$n(..._),"translate",C=>Reflect.apply(C.t,C,[..._]),C=>C,C=>P(C))}function ze(..._){const[C,ae,Z]=_;if(Z&&!V(Z))throw be(U.INVALID_ARGUMENT);return Pe(C,ae,X({resolvedMessage:!0},Z||{}))}function Je(..._){return fe(C=>Reflect.apply(Fr,null,[C,..._]),()=>pn(..._),"datetime format",C=>Reflect.apply(C.d,C,[..._]),()=>_t,C=>P(C))}function Ze(..._){return fe(C=>Reflect.apply(Vr,null,[C,..._]),()=>mn(..._),"number format",C=>Reflect.apply(C.n,C,[..._]),()=>_t,C=>P(C))}function Qe(_){return _.map(C=>P(C)||J(C)||B(C)?Br(String(C)):C)}const tt={normalize:Qe,interpolate:_=>_,type:"vnode"};function nt(..._){return fe(C=>{let ae;const Z=C;try{Z.processor=tt,ae=Reflect.apply(Dr,null,[Z,..._])}finally{Z.processor=null}return ae},()=>$n(..._),"translate",C=>C[hn](..._),C=>[Br(C)],C=>G(C))}function rt(..._){return fe(C=>Reflect.apply(Vr,null,[C,..._]),()=>mn(..._),"number format",C=>C[vn](..._),()=>[],C=>P(C)||G(C))}function Ie(..._){return fe(C=>Reflect.apply(Fr,null,[C,..._]),()=>pn(..._),"datetime format",C=>C[gn](..._),()=>[],C=>P(C)||G(C))}function Ae(_){b=_,p.pluralRules=b}function Oe(_,C){const ae=P(C)?C:i.value,Z=c(ae);return p.messageResolver(Z,_)!==null}function ke(_){let C=null;const ae=Da(p,l.value,i.value);for(let Z=0;Z<ae.length;Z++){const Rt=s.value[ae[Z]]||{},ft=p.messageResolver(Rt,_);if(ft!=null){C=ft;break}}return C}function at(_){const C=ke(_);return C??(n?n.tm(_)||{}:{})}function c(_){return s.value[_]||{}}function u(_,C){s.value[_]=C,p.messages=s.value}function v(_,C){s.value[_]=s.value[_]||{},lt(C,s.value[_]),p.messages=s.value}function L(_){return d.value[_]||{}}function k(_,C){d.value[_]=C,p.datetimeFormats=d.value,Mr(p,_,C)}function M(_,C){d.value[_]=X(d.value[_]||{},C),p.datetimeFormats=d.value,Mr(p,_,C)}function $e(_){return f.value[_]||{}}function he(_,C){f.value[_]=C,p.numberFormats=f.value,xr(p,_,C)}function wi(_,C){f.value[_]=X(f.value[_]||{},C),p.numberFormats=f.value,xr(p,_,C)}jr++,n&&Te&&(o.watch(n.locale,_=>{a&&(i.value=_,p.locale=_,it(p,i.value,l.value))}),o.watch(n.fallbackLocale,_=>{a&&(l.value=_,p.fallbackLocale=_,it(p,i.value,l.value))}));const W={id:jr,locale:F,fallbackLocale:R,get inheritLocale(){return a},set inheritLocale(_){a=_,_&&n&&(i.value=n.locale.value,l.value=n.fallbackLocale.value,it(p,i.value,l.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:x,get modifiers(){return E},get pluralRules(){return b||{}},get isGlobal(){return r},get missingWarn(){return m},set missingWarn(_){m=_,p.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(_){g=_,p.fallbackWarn=g},get fallbackRoot(){return $},set fallbackRoot(_){$=_},get fallbackFormat(){return N},set fallbackFormat(_){N=_,p.fallbackFormat=N},get warnHtmlMessage(){return h},set warnHtmlMessage(_){h=_,p.warnHtmlMessage=_},get escapeParameter(){return y},set escapeParameter(_){y=_,p.escapeParameter=_},t:Pe,getLocaleMessage:c,setLocaleMessage:u,mergeLocaleMessage:v,getPostTranslationHandler:K,setPostTranslationHandler:ne,getMissingHandler:we,setMissingHandler:re,[hu]:Ae};return W.datetimeFormats=H,W.numberFormats=j,W.rt=ze,W.te=Oe,W.tm=at,W.d=Je,W.n=Ze,W.getDateTimeFormat=L,W.setDateTimeFormat=k,W.mergeDateTimeFormat=M,W.getNumberFormat=$e,W.setNumberFormat=he,W.mergeNumberFormat=wi,W[za]=e.__injectWithOption,W[hn]=nt,W[gn]=Ie,W[vn]=rt,process.env.NODE_ENV!=="production"&&(W[yn]=_=>{p.__v_emitter=_},W[_n]=()=>{p.__v_emitter=void 0}),W}const kn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function _u({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>r=[...r,...G(a.children)?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function Za(e){return o.Fragment}X({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>J(e)||!isNaN(e)}},kn);function bu(e){return G(e)&&!P(e[0])}function Qa(e,t,n,r){const{slots:a,attrs:i}=t;return()=>{const l={part:!0};let s={};e.locale&&(l.locale=e.locale),P(e.format)?l.key=e.format:V(e.format)&&(P(e.format.key)&&(l.key=e.format.key),s=Object.keys(e.format).reduce(($,N)=>n.includes(N)?X({},$,{[N]:e.format[N]}):$,{}));const d=r(e.value,l,s);let f=[l.key];G(d)?f=d.map(($,N)=>{const I=a[$.type],O=I?I({[$.type]:$.value,index:N,parts:d}):[$.value];return bu(O)&&(O[0].key=`${$.type}-${N}`),O}):P(d)&&(f=[d]);const m=X({},i),g=P(e.tag)||V(e.tag)?e.tag:Za();return o.h(g,m,f)}}X({value:{type:Number,required:!0},format:{type:[String,Object]}},kn);X({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},kn);function Hr(e,t){}const Eu=Ne("global-vue-i18n");function Pt(e={}){const t=o.getCurrentInstance();if(t==null)throw be(U.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw be(U.NOT_INSLALLED);const n=Nu(t),r=Cu(n),a=Ja(t),i=Ou(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw be(U.NOT_AVAILABLE_IN_LEGACY_MODE);return Lu(t,i,r,e)}if(i==="global")return gu(r,e,a),r;if(i==="parent"){let d=Su(n,t,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&ct(qa(ve.NOT_FOUND_PARENT_SCOPE)),d=r),d}const l=n;let s=l.__getInstance(t);if(s==null){const d=X({},e);"__i18n"in a&&(d.__i18n=a.__i18n),r&&(d.__root=r),s=yu(d),Tu(l,t,s),l.__setInstance(t,s)}return s}function Nu(e){{const t=o.inject(e.isCE?Eu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw be(e.isCE?U.NOT_INSLALLED_WITH_PROVIDE:U.UNEXPECTED_ERROR);return t}}function Ou(e,t){return Ct(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Cu(e){return e.mode==="composition"?e.global:e.global.__composer}function Su(e,t,n=!1){let r=null;const a=t.root;let i=t.parent;for(;i!=null;){const l=e;if(e.mode==="composition")r=l.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=l.__getInstance(i);s!=null&&(r=s.__composer,n&&r&&!r[za]&&(r=null))}if(r!=null||a===i)break;i=i.parent}return r}function Tu(e,t,n){let r=null;o.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=td();const a=n;a[yn]&&a[yn](r),r.on("*",Hr)}},t),o.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__){r&&r.off("*",Hr);const a=n;a[_n]&&a[_n](),delete t.vnode.el.__VUE_I18N__}e.__deleteInstance(t)},t)}function Lu(e,t,n,r={}){const a=t==="local",i=o.shallowRef(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw be(U.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=B(r.inheritLocale)?r.inheritLocale:!0,s=o.ref(a&&l?n.locale.value:P(r.locale)?r.locale:Lt),d=o.ref(a&&l?n.fallbackLocale.value:P(r.fallbackLocale)||G(r.fallbackLocale)||D(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:s.value),f=o.ref(An(s.value,r)),m=o.ref(D(r.datetimeFormats)?r.datetimeFormats:{[s.value]:{}}),g=o.ref(D(r.numberFormats)?r.numberFormats:{[s.value]:{}}),$=a?n.missingWarn:B(r.missingWarn)||He(r.missingWarn)?r.missingWarn:!0,N=a?n.fallbackWarn:B(r.fallbackWarn)||He(r.fallbackWarn)?r.fallbackWarn:!0,I=a?n.fallbackRoot:B(r.fallbackRoot)?r.fallbackRoot:!0,O=!!r.fallbackFormat,w=Y(r.missing)?r.missing:null,h=Y(r.postTranslation)?r.postTranslation:null,y=a?n.warnHtmlMessage:B(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,b=a?n.modifiers:D(r.modifiers)?r.modifiers:{},p=r.pluralRules||a&&n.pluralRules;function S(){return[s.value,d.value,f.value,m.value,g.value]}const T=o.computed({get:()=>i.value?i.value.locale.value:s.value,set:u=>{i.value&&(i.value.locale.value=u),s.value=u}}),F=o.computed({get:()=>i.value?i.value.fallbackLocale.value:d.value,set:u=>{i.value&&(i.value.fallbackLocale.value=u),d.value=u}}),R=o.computed(()=>i.value?i.value.messages.value:f.value),x=o.computed(()=>m.value),H=o.computed(()=>g.value);function j(){return i.value?i.value.getPostTranslationHandler():h}function K(u){i.value&&i.value.setPostTranslationHandler(u)}function ne(){return i.value?i.value.getMissingHandler():w}function we(u){i.value&&i.value.setMissingHandler(u)}function re(u){return S(),u()}function Me(...u){return i.value?re(()=>Reflect.apply(i.value.t,null,[...u])):re(()=>"")}function fe(...u){return i.value?Reflect.apply(i.value.rt,null,[...u]):""}function Pe(...u){return i.value?re(()=>Reflect.apply(i.value.d,null,[...u])):re(()=>"")}function ze(...u){return i.value?re(()=>Reflect.apply(i.value.n,null,[...u])):re(()=>"")}function Je(u){return i.value?i.value.tm(u):{}}function Ze(u,v){return i.value?i.value.te(u,v):!1}function Qe(u){return i.value?i.value.getLocaleMessage(u):{}}function et(u,v){i.value&&(i.value.setLocaleMessage(u,v),f.value[u]=v)}function tt(u,v){i.value&&i.value.mergeLocaleMessage(u,v)}function nt(u){return i.value?i.value.getDateTimeFormat(u):{}}function rt(u,v){i.value&&(i.value.setDateTimeFormat(u,v),m.value[u]=v)}function Ie(u,v){i.value&&i.value.mergeDateTimeFormat(u,v)}function Ae(u){return i.value?i.value.getNumberFormat(u):{}}function Oe(u,v){i.value&&(i.value.setNumberFormat(u,v),g.value[u]=v)}function ke(u,v){i.value&&i.value.mergeNumberFormat(u,v)}const at={get id(){return i.value?i.value.id:-1},locale:T,fallbackLocale:F,messages:R,datetimeFormats:x,numberFormats:H,get inheritLocale(){return i.value?i.value.inheritLocale:l},set inheritLocale(u){i.value&&(i.value.inheritLocale=u)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(f.value)},get modifiers(){return i.value?i.value.modifiers:b},get pluralRules(){return i.value?i.value.pluralRules:p},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:$},set missingWarn(u){i.value&&(i.value.missingWarn=u)},get fallbackWarn(){return i.value?i.value.fallbackWarn:N},set fallbackWarn(u){i.value&&(i.value.missingWarn=u)},get fallbackRoot(){return i.value?i.value.fallbackRoot:I},set fallbackRoot(u){i.value&&(i.value.fallbackRoot=u)},get fallbackFormat(){return i.value?i.value.fallbackFormat:O},set fallbackFormat(u){i.value&&(i.value.fallbackFormat=u)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:y},set warnHtmlMessage(u){i.value&&(i.value.warnHtmlMessage=u)},get escapeParameter(){return i.value?i.value.escapeParameter:E},set escapeParameter(u){i.value&&(i.value.escapeParameter=u)},t:Me,getPostTranslationHandler:j,setPostTranslationHandler:K,getMissingHandler:ne,setMissingHandler:we,rt:fe,d:Pe,n:ze,tm:Je,te:Ze,getLocaleMessage:Qe,setLocaleMessage:et,mergeLocaleMessage:tt,getDateTimeFormat:nt,setDateTimeFormat:rt,mergeDateTimeFormat:Ie,getNumberFormat:Ae,setNumberFormat:Oe,mergeNumberFormat:ke};function c(u){u.locale.value=s.value,u.fallbackLocale.value=d.value,Object.keys(f.value).forEach(v=>{u.mergeLocaleMessage(v,f.value[v])}),Object.keys(m.value).forEach(v=>{u.mergeDateTimeFormat(v,m.value[v])}),Object.keys(g.value).forEach(v=>{u.mergeNumberFormat(v,g.value[v])}),u.escapeParameter=E,u.fallbackFormat=O,u.fallbackRoot=I,u.fallbackWarn=N,u.missingWarn=$,u.warnHtmlMessage=y}return o.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw be(U.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=u.locale.value,d.value=u.fallbackLocale.value,f.value=u.messages.value,m.value=u.datetimeFormats.value,g.value=u.numberFormats.value):a&&c(u)}),at}zd(ou);Jd(Id);Zd(Da);$u();if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=ot();e.__INTLIFY__=!0,Bd(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const wu={class:"pd-small popup-wrapper"},Pu=o.createElementVNode("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("rect",{width:"24",height:"24",transform:"translate(1 1)"}),o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",fill:"white"})],-1),Iu=[Pu],ei={__name:"Popup",props:{isPopupOpen:{type:Boolean,default:!1},style:String},emits:["close-popup"],setup(e,{emit:t}){const n=e;function r(){t("close-popup")}return o.watch(()=>n.isPopupOpen,i=>{i?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}),Ks(),Ws(),Pt({messages:{en:{},ru:{}}}),(i,l)=>e.isPopupOpen?(o.openBlock(),o.createBlock(o.Teleport,{key:0,to:"body"},[o.createVNode(o.Transition,{name:"scale"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",wu,[o.createElementVNode("section",o.mergeProps({class:"t-center z-index-4"},i.$attrs),[o.createElementVNode("button",{onClick:l[0]||(l[0]=s=>r()),class:"pd-regular hover-scale-1 z-index-5 button-close-popup button"},Iu),o.renderSlot(i.$slots,"default")],16),o.createElementVNode("div",{onClick:l[1]||(l[1]=s=>r()),class:o.normalizeClass([{active:e.isPopupOpen===!0},"color-overlay z-index-3"])},null,2)],512),[[o.vShow,e.isPopupOpen]])]),_:3})])):o.createCommentVNode("",!0)}},Au=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"})),ku={class:"flex-v-center flex-nowrap flex"},Du={key:0,class:"mn-r-auto t-transp mn-r-small"},Ru=["name","value","checked"],Fu={key:1,class:""},Mu=o.createElementVNode("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("g",{id:"24 / basic / check-mark"},[o.createElementVNode("path",{id:"icon","fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.28033 10.7197L14.25 3.75L15.3107 4.81066L7.28033 12.841L3 8.56066L4.06066 7.5L7.28033 10.7197Z",fill:"#000000"})])],-1),Vu=[Mu],ti={__name:"Radio",props:{label:String,name:String,value:!1,radio:Object},emits:["update:radio"],setup(e,{emit:t}){return(n,r)=>(o.openBlock(),o.createElementBlock("label",ku,[e.label?(o.openBlock(),o.createElementBlock("div",Du,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("input",{onInput:r[0]||(r[0]=a=>n.text=t("update:radio",a.target.value)),class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:e.value===e.radio},null,40,Ru),e.radio===e.value?(o.openBlock(),o.createElementBlock("div",Fu,Vu)):o.createCommentVNode("",!0)]))}},xu=Object.freeze(Object.defineProperty({__proto__:null,default:ti},Symbol.toStringTag,{value:"Module"}));const Bu={key:0,class:"t-transp mn-r-small"},Uu=["onClick"],ju=["onClick"],Gu={key:0,class:"mn-t-thin invalid-feedback"},Hu={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){const n=e,r=o.ref(n.select),a=o.ref(!1);o.watch(()=>n.select,d=>{r.value=d});const i=o.computed(()=>n.select?n.options.filter(d=>d!==n.select):n.options),l=()=>{a.value=!a.value,t(a.value?"focus":"blur")},s=d=>{r.value=d,l(),t("update:select",r.value)};return(d,f)=>{var m;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([d.$attrs.class,"flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Bu,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("li",{onClick:o.withModifiers(l,["stop"]),class:"w-100"},[o.createElementVNode("span",null,o.toDisplayString(((m=r.value)==null?void 0:m.name)||r.value||e.placeholder),1)],8,Uu),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("ul",{key:0,class:o.normalizeClass([d.$attrs.class,"pos-absolute pos-l-0 z-index-5 w-100 mn-t-big"])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(i),g=>(o.openBlock(),o.createElementBlock("li",null,[g?(o.openBlock(),o.createElementBlock("span",{key:0,onClick:$=>s(g),class:"w-100"},o.toDisplayString(g.name||g),9,ju)):o.createCommentVNode("",!0)]))),256))],2)):o.createCommentVNode("",!0)]),_:1})],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Gu," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64)}}},ni=ce(Hu,[["__scopeId","data-v-a78dbba1"]]),Wu=Object.freeze(Object.defineProperty({__proto__:null,default:ni},Symbol.toStringTag,{value:"Module"}));function Ut(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function Ku(e){return(...t)=>!e(...t)}function Yu(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function ri(e,t,n,r){return t?e.filter(a=>Yu(r(a,n),t)).sort((a,i)=>r(a,n).length-r(i,n).length):e}function qu(e){return e.filter(t=>!t.$isLabel)}function jt(e,t){return n=>n.reduce((r,a)=>a[e]&&a[e].length?(r.push({$groupLabel:a[t],$isLabel:!0}),r.concat(a[e])):r,[])}function Xu(e,t,n,r,a){return i=>i.map(l=>{if(!l[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const s=ri(l[n],e,t,a);return s.length?{[r]:l[r],[n]:s}:[]})}const Wr=(...e)=>t=>e.reduce((n,r)=>r(n),t),zu={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return Ut(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):ri(n,t,this.label,this.customLabel):n=this.groupValues?jt(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(Ku(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return Wr(Xu(t,n,this.groupValues,this.groupLabel,this.customLabel),jt(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return Wr(jt(this.groupValues,this.groupLabel),qu)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(Ut(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return Ut(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.internalValue.filter(r=>t[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=t[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},Ju={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}};const Zu={name:"vue-multiselect",mixins:[zu,Ju],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}},Qu=["tabindex","aria-owns"],ec={ref:"tags",class:"multiselect__tags"},tc={class:"multiselect__tags-wrap"},nc=["textContent"],rc=["onKeypress","onMousedown"],ac=["textContent"],ic={class:"multiselect__spinner"},oc=["name","id","placeholder","value","disabled","tabindex","aria-controls"],lc=["id"],sc={key:0},dc={class:"multiselect__option"},uc=["id","role"],cc=["onClick","onMouseenter","data-select","data-selected","data-deselect"],fc=["data-select","data-deselect","onMouseenter","onMousedown"],$c={class:"multiselect__option"},pc={class:"multiselect__option"};function mc(e,t,n,r,a,i){return o.openBlock(),o.createElementBlock("div",{tabindex:e.searchable?-1:n.tabindex,class:o.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":i.isAbove,"multiselect--has-options-group":i.hasOptionGroup},"multiselect"]),onFocus:t[13]||(t[13]=l=>e.activate()),onBlur:t[14]||(t[14]=l=>e.searchable?!1:e.deactivate()),onKeydown:[t[15]||(t[15]=o.withKeys(o.withModifiers(l=>e.pointerForward(),["self","prevent"]),["down"])),t[16]||(t[16]=o.withKeys(o.withModifiers(l=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[17]||(t[17]=o.withKeys(o.withModifiers(l=>e.addPointerElement(l),["stop","self"]),["enter","tab"])),onKeyup:t[18]||(t[18]=o.withKeys(l=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[o.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[o.createElementVNode("div",{onMousedown:t[0]||(t[0]=o.withModifiers(l=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(e.$slots,"clear",{search:e.search}),o.createElementVNode("div",ec,[o.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:i.visibleValues,isOpen:e.isOpen},()=>[o.withDirectives(o.createElementVNode("div",tc,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.visibleValues,(l,s)=>o.renderSlot(e.$slots,"tag",{option:l,search:e.search,remove:e.removeElement},()=>[(o.openBlock(),o.createElementBlock("span",{class:"multiselect__tag",key:s},[o.createElementVNode("span",{textContent:o.toDisplayString(e.getOptionLabel(l))},null,8,nc),o.createElementVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(d=>e.removeElement(l),["prevent"]),["enter"]),onMousedown:o.withModifiers(d=>e.removeElement(l),["prevent"]),class:"multiselect__tag-icon"},null,40,rc)]))])),256))],512),[[o.vShow,i.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?o.renderSlot(e.$slots,"limit",{key:0},()=>[o.createElementVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(e.internalValue.length-n.limit))},null,8,ac)]):o.createCommentVNode("",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"loading",{},()=>[o.withDirectives(o.createElementVNode("div",ic,null,512),[[o.vShow,n.loading]])])]),_:3}),e.searchable?(o.openBlock(),o.createElementBlock("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:o.normalizeStyle(i.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[1]||(t[1]=l=>e.updateSearch(l.target.value)),onFocus:t[2]||(t[2]=o.withModifiers(l=>e.activate(),["prevent"])),onBlur:t[3]||(t[3]=o.withModifiers(l=>e.deactivate(),["prevent"])),onKeyup:t[4]||(t[4]=o.withKeys(l=>e.deactivate(),["esc"])),onKeydown:[t[5]||(t[5]=o.withKeys(o.withModifiers(l=>e.pointerForward(),["prevent"]),["down"])),t[6]||(t[6]=o.withKeys(o.withModifiers(l=>e.pointerBackward(),["prevent"]),["up"])),t[8]||(t[8]=o.withKeys(o.withModifiers(l=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[7]||(t[7]=o.withKeys(o.withModifiers(l=>e.addPointerElement(l),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,oc)):o.createCommentVNode("",!0),i.isSingleLabelVisible?(o.openBlock(),o.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:t[9]||(t[9]=o.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[o.renderSlot(e.$slots,"singleLabel",{option:i.singleValue},()=>[o.createTextVNode(o.toDisplayString(e.currentOptionLabel),1)])],32)):o.createCommentVNode("",!0),i.isPlaceholderVisible?(o.openBlock(),o.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[10]||(t[10]=o.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[o.renderSlot(e.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(e.placeholder),1)])],32)):o.createCommentVNode("",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{class:o.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:t[11]||(t[11]=(...l)=>e.activate&&e.activate(...l)),tabindex:"-1",onMousedown:t[12]||(t[12]=o.withModifiers(()=>{},["prevent"])),style:o.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[o.createElementVNode("ul",{class:"multiselect__content",style:o.normalizeStyle(i.contentStyle),role:"listbox",id:"listbox-"+e.id},[o.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(o.openBlock(),o.createElementBlock("li",sc,[o.createElementVNode("span",dc,[o.renderSlot(e.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(e.filteredOptions,(l,s)=>(o.openBlock(),o.createElementBlock("li",{class:"multiselect__element",key:s,id:e.id+"-"+s,role:l&&(l.$isLabel||l.$isDisabled)?null:"option"},[l&&(l.$isLabel||l.$isDisabled)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass([e.optionHighlight(s,l),"multiselect__option"]),onClick:o.withModifiers(d=>e.select(l),["stop"]),onMouseenter:o.withModifiers(d=>e.pointerSet(s),["self"]),"data-select":l&&l.isTag?e.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(e.$slots,"option",{option:l,search:e.search,index:s},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(l)),1)])],42,cc)),l&&(l.$isLabel||l.$isDisabled)?(o.openBlock(),o.createElementBlock("span",{key:1,"data-select":e.groupSelect&&i.selectGroupLabelText,"data-deselect":e.groupSelect&&i.deselectGroupLabelText,class:o.normalizeClass([e.groupHighlight(s,l),"multiselect__option"]),onMouseenter:o.withModifiers(d=>e.groupSelect&&e.pointerSet(s),["self"]),onMousedown:o.withModifiers(d=>e.selectGroup(l),["prevent"])},[o.renderSlot(e.$slots,"option",{option:l,search:e.search,index:s},()=>[o.createElementVNode("span",null,o.toDisplayString(e.getOptionLabel(l)),1)])],42,fc)):o.createCommentVNode("",!0)],8,uc))),128)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",$c,[o.renderSlot(e.$slots,"noResult",{search:e.search},()=>[o.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[o.vShow,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),o.withDirectives(o.createElementVNode("li",null,[o.createElementVNode("span",pc,[o.renderSlot(e.$slots,"noOptions",{},()=>[o.createTextVNode("List is empty.")])])],512),[[o.vShow,n.showNoOptions&&(e.options.length===0||i.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),o.renderSlot(e.$slots,"afterList")],12,lc)],38),[[o.vShow,e.isOpen]])]),_:3})],42,Qu)}const ai=ce(Zu,[["render",mc]]),hc=Object.freeze(Object.defineProperty({__proto__:null,default:ai},Symbol.toStringTag,{value:"Module"}));const gc={key:0,class:"spoiler"},ii={__name:"Spoiler",props:{status:{type:Boolean,default:!1}},setup(e){const t=e,n=o.ref(!1);return t.status&&(n.value=t.status),(r,a)=>(o.openBlock(),o.createElementBlock("div",null,[o.createElementVNode("div",{onClick:a[0]||(a[0]=i=>n.value=!n.value),class:"flex-v-center flex-nowrap flex"},[o.renderSlot(r.$slots,"header")]),o.createVNode(o.Transition,{name:"collapse"},{default:o.withCtx(()=>[n.value?(o.openBlock(),o.createElementBlock("div",gc,[o.renderSlot(r.$slots,"content")])):o.createCommentVNode("",!0)]),_:3})]))}},vc=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"}));const yc={class:""},_c={class:"flex-nowrap flex-v-center flex"},bc=["onClick"],oi={__name:"Tab",props:{tabs:Array,selected:String,callback:Function},emits:["update:selected"],setup(e,{emit:t}){const n=e,r=o.ref(0);if(n.selected){const d=n.tabs.findIndex(f=>f.value===n.selected);d!==-1&&(r.value=d)}function a(d,f){r.value=d,t("update:selected",f.value),n.callback&&n.callback()}function i(d){return`${100/n.tabs.length*d}%`}function l(){return`${100/n.tabs.length}%`}const s=o.computed(()=>({left:i(r.value),width:l()}));return(d,f)=>(o.openBlock(),o.createElementBlock("div",yc,[o.createElementVNode("div",_c,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.tabs,(m,g)=>(o.openBlock(),o.createElementBlock("div",{key:g,onClick:$=>a(g,m),class:o.normalizeClass([{"t-transp":g!==r.value},"z-index-1 t-center pd-small w-100"])},[o.createElementVNode("label",null,o.toDisplayString(m.name),1)],10,bc))),128)),o.createElementVNode("div",{style:o.normalizeStyle(o.unref(s)),class:"radius-extra bg-main t-white tab-selector"},null,4)])]))}},Ec=Object.freeze(Object.defineProperty({__proto__:null,default:oi},Symbol.toStringTag,{value:"Module"}));const Nc={__name:"Tooltip",props:{text:{type:String,required:!0}},setup(e){const t=o.ref(!1),n=o.reactive({position:"absolute","min-width":"20rem",zIndex:1e3,background:"#333",color:"#fff",padding:"5px 10px",borderRadius:"3px",fontSize:"14px",display:"none"});function r(i){t.value=!0,n.left=`${i.clientX/100+10}px`,n.top=`${i.clientY/100+10}px`,n.display="block"}function a(){t.value=!1,n.display="none"}return(i,l)=>(o.openBlock(),o.createElementBlock("div",{class:"tooltip-container",onMouseover:r,onMouseleave:a},[o.renderSlot(i.$slots,"default",{},void 0,!0),o.createElementVNode("div",{class:"tooltip-content",style:o.normalizeStyle(n)},o.toDisplayString(e.text),5)],32))}},li=ce(Nc,[["__scopeId","data-v-b0efe407"]]),Oc=Object.freeze(Object.defineProperty({__proto__:null,default:li},Symbol.toStringTag,{value:"Module"})),Cc={key:0,class:"cursor-pointer t-second"},si={__name:"Text",props:{maxLen:{type:Number,required:!0},text:{type:String,required:!0}},setup(e){const t=e,n=o.ref(!1),r=o.computed(()=>t.text.length>t.maxLen?t.text.slice(0,t.maxLen)+"...":t.text),a=o.computed(()=>t.text),i=()=>{n.value=!n.value},l=o.computed(()=>n.value?a.value:r.value),s=o.computed(()=>t.text.length>t.maxLen),d=o.computed(()=>n.value?"Hide":"Show more");return(f,m)=>(o.openBlock(),o.createElementBlock("span",{onClick:i,class:""},[o.createTextVNode(o.toDisplayString(o.unref(l))+" ",1),o.unref(s)?(o.openBlock(),o.createElementBlock("span",Cc,o.toDisplayString(o.unref(d)),1)):o.createCommentVNode("",!0)]))}},Sc=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"}));const Tc={key:0,class:"t-transp mn-r-small"},Lc={class:"w-100"},wc=["placeholder","multiple"],Pc={key:0,class:"mn-t-thin mn-b-thin invalid-feedback"},Ic={__name:"Upload",props:{label:null,type:"file",placeholder:"Upload a file",validation:!1,multiple:{type:Boolean,default:!1}},emits:["update:field","focus","blur","file-change"],setup(e,{emit:t}){const n=e,r=a=>{if(n.multiple){const i=Array.from(a.target.files);t("file-change",{files:i})}else{const i=a.target.files[0];t("file-change",{file:i})}};return(a,i)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",{class:o.normalizeClass([[a.$attrs.class,{"bg-fourth-nano":e.validation}],"flex-center flex-nowrap flex"])},[e.label?(o.openBlock(),o.createElementBlock("div",Tc,[o.createElementVNode("span",null,o.toDisplayString(e.label),1)])):o.createCommentVNode("",!0),o.createElementVNode("div",Lc,[o.createElementVNode("input",{onChange:r,type:"file",class:"w-100",placeholder:e.placeholder,multiple:e.multiple,id:"photo",name:"photo"},null,40,wc)])],2),o.createVNode(o.Transition,{mode:"out-in",name:"fade"},{default:o.withCtx(()=>[e.validation?(o.openBlock(),o.createElementBlock("div",Pc," * "+o.toDisplayString(e.validation.message),1)):o.createCommentVNode("",!0)]),_:1})],64))}},di=ce(Ic,[["__scopeId","data-v-25c75f91"]]),Ac=Object.freeze(Object.defineProperty({__proto__:null,default:di},Symbol.toStringTag,{value:"Module"}));function kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dn={exports:{}},ui=function(t,n){return function(){for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return t.apply(n,a)}},Dc=ui,Rn=Object.prototype.toString,Fn=function(e){return function(t){var n=Rn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Fe(e){return e=e.toLowerCase(),function(n){return Fn(n)===e}}function Mn(e){return Array.isArray(e)}function bt(e){return typeof e>"u"}function Rc(e){return e!==null&&!bt(e)&&e.constructor!==null&&!bt(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var ci=Fe("ArrayBuffer");function Fc(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ci(e.buffer),t}function Mc(e){return typeof e=="string"}function Vc(e){return typeof e=="number"}function fi(e){return e!==null&&typeof e=="object"}function mt(e){if(Fn(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var xc=Fe("Date"),Bc=Fe("File"),Uc=Fe("Blob"),jc=Fe("FileList");function Vn(e){return Rn.call(e)==="[object Function]"}function Gc(e){return fi(e)&&Vn(e.pipe)}function Hc(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Rn.call(e)===t||Vn(e.toString)&&e.toString()===t)}var Wc=Fe("URLSearchParams");function Kc(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Yc(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function xn(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Mn(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function En(){var e={};function t(a,i){mt(e[i])&&mt(a)?e[i]=En(e[i],a):mt(a)?e[i]=En({},a):Mn(a)?e[i]=a.slice():e[i]=a}for(var n=0,r=arguments.length;n<r;n++)xn(arguments[n],t);return e}function qc(e,t,n){return xn(t,function(a,i){n&&typeof a=="function"?e[i]=Dc(a,n):e[i]=a}),e}function Xc(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function zc(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function Jc(e,t,n){var r,a,i,l={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),a=r.length;a-- >0;)i=r[a],l[i]||(t[i]=e[i],l[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function Zc(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function Qc(e){if(!e)return null;var t=e.length;if(bt(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var e0=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),z={isArray:Mn,isArrayBuffer:ci,isBuffer:Rc,isFormData:Hc,isArrayBufferView:Fc,isString:Mc,isNumber:Vc,isObject:fi,isPlainObject:mt,isUndefined:bt,isDate:xc,isFile:Bc,isBlob:Uc,isFunction:Vn,isStream:Gc,isURLSearchParams:Wc,isStandardBrowserEnv:Yc,forEach:xn,merge:En,extend:qc,trim:Kc,stripBOM:Xc,inherits:zc,toFlatObject:Jc,kindOf:Fn,kindOfTest:Fe,endsWith:Zc,toArray:Qc,isTypedArray:e0,isFileList:jc},Ue=z;function Kr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var $i=function(t,n,r){if(!n)return t;var a;if(r)a=r(n);else if(Ue.isURLSearchParams(n))a=n.toString();else{var i=[];Ue.forEach(n,function(d,f){d===null||typeof d>"u"||(Ue.isArray(d)?f=f+"[]":d=[d],Ue.forEach(d,function(g){Ue.isDate(g)?g=g.toISOString():Ue.isObject(g)&&(g=JSON.stringify(g)),i.push(Kr(f)+"="+Kr(g))}))}),a=i.join("&")}if(a){var l=t.indexOf("#");l!==-1&&(t=t.slice(0,l)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t},t0=z;function It(){this.handlers=[]}It.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};It.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};It.prototype.forEach=function(t){t0.forEach(this.handlers,function(r){r!==null&&t(r)})};var n0=It,r0=z,a0=function(t,n){r0.forEach(t,function(a,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=a,delete t[i])})},pi=z;function Ye(e,t,n,r,a){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}pi.inherits(Ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var mi=Ye.prototype,hi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){hi[e]={value:e}});Object.defineProperties(Ye,hi);Object.defineProperty(mi,"isAxiosError",{value:!0});Ye.from=function(e,t,n,r,a,i){var l=Object.create(mi);return pi.toFlatObject(e,l,function(d){return d!==Error.prototype}),Ye.call(l,e.message,t,n,r,a),l.name=e.name,i&&Object.assign(l,i),l};var Xe=Ye,gi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Gt,Yr;function vi(){if(Yr)return Gt;Yr=1;var e=z;function t(n,r){r=r||new FormData;var a=[];function i(s){return s===null?"":e.isDate(s)?s.toISOString():e.isArrayBuffer(s)||e.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function l(s,d){if(e.isPlainObject(s)||e.isArray(s)){if(a.indexOf(s)!==-1)throw Error("Circular reference detected in "+d);a.push(s),e.forEach(s,function(m,g){if(!e.isUndefined(m)){var $=d?d+"."+g:g,N;if(m&&!d&&typeof m=="object"){if(e.endsWith(g,"{}"))m=JSON.stringify(m);else if(e.endsWith(g,"[]")&&(N=e.toArray(m))){N.forEach(function(I){!e.isUndefined(I)&&r.append($,i(I))});return}}l(m,$)}}),a.pop()}else r.append(d,i(s))}return l(n),r}return Gt=t,Gt}var Ht,qr;function i0(){if(qr)return Ht;qr=1;var e=Xe;return Ht=function(n,r,a){var i=a.config.validateStatus;!a.status||!i||i(a.status)?n(a):r(new e("Request failed with status code "+a.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))},Ht}var Wt,Xr;function o0(){if(Xr)return Wt;Xr=1;var e=z;return Wt=e.isStandardBrowserEnv()?function(){return{write:function(r,a,i,l,s,d){var f=[];f.push(r+"="+encodeURIComponent(a)),e.isNumber(i)&&f.push("expires="+new Date(i).toGMTString()),e.isString(l)&&f.push("path="+l),e.isString(s)&&f.push("domain="+s),d===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(r){var a=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Wt}var l0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},s0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},d0=l0,u0=s0,yi=function(t,n){return t&&!d0(n)?u0(t,n):n},Kt,zr;function c0(){if(zr)return Kt;zr=1;var e=z,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Kt=function(r){var a={},i,l,s;return r&&e.forEach(r.split(`
37
+ `),function(f){if(s=f.indexOf(":"),i=e.trim(f.substr(0,s)).toLowerCase(),l=e.trim(f.substr(s+1)),i){if(a[i]&&t.indexOf(i)>=0)return;i==="set-cookie"?a[i]=(a[i]?a[i]:[]).concat([l]):a[i]=a[i]?a[i]+", "+l:l}}),a},Kt}var Yt,Jr;function f0(){if(Jr)return Yt;Jr=1;var e=z;return Yt=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),a;function i(l){var s=l;return n&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return a=i(window.location.href),function(s){var d=e.isString(s)?i(s):s;return d.protocol===a.protocol&&d.host===a.host}}():function(){return function(){return!0}}(),Yt}var qt,Zr;function At(){if(Zr)return qt;Zr=1;var e=Xe,t=z;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),qt=n,qt}var Xt,Qr;function $0(){return Qr||(Qr=1,Xt=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),Xt}var zt,ea;function ta(){if(ea)return zt;ea=1;var e=z,t=i0(),n=o0(),r=$i,a=yi,i=c0(),l=f0(),s=gi,d=Xe,f=At(),m=$0();return zt=function($){return new Promise(function(I,O){var w=$.data,h=$.headers,y=$.responseType,E;function b(){$.cancelToken&&$.cancelToken.unsubscribe(E),$.signal&&$.signal.removeEventListener("abort",E)}e.isFormData(w)&&e.isStandardBrowserEnv()&&delete h["Content-Type"];var p=new XMLHttpRequest;if($.auth){var S=$.auth.username||"",T=$.auth.password?unescape(encodeURIComponent($.auth.password)):"";h.Authorization="Basic "+btoa(S+":"+T)}var F=a($.baseURL,$.url);p.open($.method.toUpperCase(),r(F,$.params,$.paramsSerializer),!0),p.timeout=$.timeout;function R(){if(p){var j="getAllResponseHeaders"in p?i(p.getAllResponseHeaders()):null,K=!y||y==="text"||y==="json"?p.responseText:p.response,ne={data:K,status:p.status,statusText:p.statusText,headers:j,config:$,request:p};t(function(re){I(re),b()},function(re){O(re),b()},ne),p=null}}if("onloadend"in p?p.onloadend=R:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(R)},p.onabort=function(){p&&(O(new d("Request aborted",d.ECONNABORTED,$,p)),p=null)},p.onerror=function(){O(new d("Network Error",d.ERR_NETWORK,$,p,p)),p=null},p.ontimeout=function(){var K=$.timeout?"timeout of "+$.timeout+"ms exceeded":"timeout exceeded",ne=$.transitional||s;$.timeoutErrorMessage&&(K=$.timeoutErrorMessage),O(new d(K,ne.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,$,p)),p=null},e.isStandardBrowserEnv()){var x=($.withCredentials||l(F))&&$.xsrfCookieName?n.read($.xsrfCookieName):void 0;x&&(h[$.xsrfHeaderName]=x)}"setRequestHeader"in p&&e.forEach(h,function(K,ne){typeof w>"u"&&ne.toLowerCase()==="content-type"?delete h[ne]:p.setRequestHeader(ne,K)}),e.isUndefined($.withCredentials)||(p.withCredentials=!!$.withCredentials),y&&y!=="json"&&(p.responseType=$.responseType),typeof $.onDownloadProgress=="function"&&p.addEventListener("progress",$.onDownloadProgress),typeof $.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",$.onUploadProgress),($.cancelToken||$.signal)&&(E=function(j){p&&(O(!j||j&&j.type?new f:j),p.abort(),p=null)},$.cancelToken&&$.cancelToken.subscribe(E),$.signal&&($.signal.aborted?E():$.signal.addEventListener("abort",E))),w||(w=null);var H=m(F);if(H&&["http","https","file"].indexOf(H)===-1){O(new d("Unsupported protocol "+H+":",d.ERR_BAD_REQUEST,$));return}p.send(w)})},zt}var Jt,na;function p0(){return na||(na=1,Jt=null),Jt}var q=z,ra=a0,aa=Xe,m0=gi,h0=vi(),g0={"Content-Type":"application/x-www-form-urlencoded"};function ia(e,t){!q.isUndefined(e)&&q.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function v0(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=ta()),e}function y0(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var kt={transitional:m0,adapter:v0(),transformRequest:[function(t,n){if(ra(n,"Accept"),ra(n,"Content-Type"),q.isFormData(t)||q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.isURLSearchParams(t))return ia(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=q.isObject(t),a=n&&n["Content-Type"],i;if((i=q.isFileList(t))||r&&a==="multipart/form-data"){var l=this.env&&this.env.FormData;return h0(i?{"files[]":t}:t,l&&new l)}else if(r||a==="application/json")return ia(n,"application/json"),y0(t);return t}],transformResponse:[function(t){var n=this.transitional||kt.transitional,r=n&&n.silentJSONParsing,a=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||a&&q.isString(t)&&t.length)try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?aa.from(l,aa.ERR_BAD_RESPONSE,this,null,this.response):l}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:p0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};q.forEach(["delete","get","head"],function(t){kt.headers[t]={}});q.forEach(["post","put","patch"],function(t){kt.headers[t]=q.merge(g0)});var Bn=kt,_0=z,b0=Bn,E0=function(t,n,r){var a=this||b0;return _0.forEach(r,function(l){t=l.call(a,t,n)}),t},Zt,oa;function _i(){return oa||(oa=1,Zt=function(t){return!!(t&&t.__CANCEL__)}),Zt}var la=z,Qt=E0,N0=_i(),O0=Bn,C0=At();function en(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new C0}var S0=function(t){en(t),t.headers=t.headers||{},t.data=Qt.call(t,t.data,t.headers,t.transformRequest),t.headers=la.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),la.forEach(["delete","get","head","post","put","patch","common"],function(a){delete t.headers[a]});var n=t.adapter||O0.adapter;return n(t).then(function(a){return en(t),a.data=Qt.call(t,a.data,a.headers,t.transformResponse),a},function(a){return N0(a)||(en(t),a&&a.response&&(a.response.data=Qt.call(t,a.response.data,a.response.headers,t.transformResponse))),Promise.reject(a)})},le=z,bi=function(t,n){n=n||{};var r={};function a(m,g){return le.isPlainObject(m)&&le.isPlainObject(g)?le.merge(m,g):le.isPlainObject(g)?le.merge({},g):le.isArray(g)?g.slice():g}function i(m){if(le.isUndefined(n[m])){if(!le.isUndefined(t[m]))return a(void 0,t[m])}else return a(t[m],n[m])}function l(m){if(!le.isUndefined(n[m]))return a(void 0,n[m])}function s(m){if(le.isUndefined(n[m])){if(!le.isUndefined(t[m]))return a(void 0,t[m])}else return a(void 0,n[m])}function d(m){if(m in n)return a(t[m],n[m]);if(m in t)return a(void 0,t[m])}var f={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:d};return le.forEach(Object.keys(t).concat(Object.keys(n)),function(g){var $=f[g]||i,N=$(g);le.isUndefined(N)&&$!==d||(r[g]=N)}),r},tn,sa;function Ei(){return sa||(sa=1,tn={version:"0.27.2"}),tn}var T0=Ei().version,Se=Xe,Un={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Un[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var da={};Un.transitional=function(t,n,r){function a(i,l){return"[Axios v"+T0+"] Transitional option '"+i+"'"+l+(r?". "+r:"")}return function(i,l,s){if(t===!1)throw new Se(a(l," has been removed"+(n?" in "+n:"")),Se.ERR_DEPRECATED);return n&&!da[l]&&(da[l]=!0,console.warn(a(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,l,s):!0}};function L0(e,t,n){if(typeof e!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),a=r.length;a-- >0;){var i=r[a],l=t[i];if(l){var s=e[i],d=s===void 0||l(s,i,e);if(d!==!0)throw new Se("option "+i+" must be "+d,Se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Se("Unknown option "+i,Se.ERR_BAD_OPTION)}}var w0={assertOptions:L0,validators:Un},Ni=z,P0=$i,ua=n0,ca=S0,Dt=bi,I0=yi,Oi=w0,je=Oi.validators;function qe(e){this.defaults=e,this.interceptors={request:new ua,response:new ua}}qe.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dt(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Oi.assertOptions(r,{silentJSONParsing:je.transitional(je.boolean),forcedJSONParsing:je.transitional(je.boolean),clarifyTimeoutError:je.transitional(je.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(n)===!1||(i=i&&N.synchronous,a.unshift(N.fulfilled,N.rejected))});var l=[];this.interceptors.response.forEach(function(N){l.push(N.fulfilled,N.rejected)});var s;if(!i){var d=[ca,void 0];for(Array.prototype.unshift.apply(d,a),d=d.concat(l),s=Promise.resolve(n);d.length;)s=s.then(d.shift(),d.shift());return s}for(var f=n;a.length;){var m=a.shift(),g=a.shift();try{f=m(f)}catch($){g($);break}}try{s=ca(f)}catch($){return Promise.reject($)}for(;l.length;)s=s.then(l.shift(),l.shift());return s};qe.prototype.getUri=function(t){t=Dt(this.defaults,t);var n=I0(t.baseURL,t.url);return P0(n,t.params,t.paramsSerializer)};Ni.forEach(["delete","get","head","options"],function(t){qe.prototype[t]=function(n,r){return this.request(Dt(r||{},{method:t,url:n,data:(r||{}).data}))}});Ni.forEach(["post","put","patch"],function(t){function n(r){return function(i,l,s){return this.request(Dt(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}qe.prototype[t]=n(),qe.prototype[t+"Form"]=n(!0)});var A0=qe,nn,fa;function k0(){if(fa)return nn;fa=1;var e=At();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(l){r=l});var a=this;this.promise.then(function(i){if(a._listeners){var l,s=a._listeners.length;for(l=0;l<s;l++)a._listeners[l](i);a._listeners=null}}),this.promise.then=function(i){var l,s=new Promise(function(d){a.subscribe(d),l=d}).then(i);return s.cancel=function(){a.unsubscribe(l)},s},n(function(l){a.reason||(a.reason=new e(l),r(a.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var a=this._listeners.indexOf(r);a!==-1&&this._listeners.splice(a,1)}},t.source=function(){var r,a=new t(function(l){r=l});return{token:a,cancel:r}},nn=t,nn}var rn,$a;function D0(){return $a||($a=1,rn=function(t){return function(r){return t.apply(null,r)}}),rn}var an,pa;function R0(){if(pa)return an;pa=1;var e=z;return an=function(n){return e.isObject(n)&&n.isAxiosError===!0},an}var ma=z,F0=ui,ht=A0,M0=bi,V0=Bn;function Ci(e){var t=new ht(e),n=F0(ht.prototype.request,t);return ma.extend(n,ht.prototype,t),ma.extend(n,t),n.create=function(a){return Ci(M0(e,a))},n}var oe=Ci(V0);oe.Axios=ht;oe.CanceledError=At();oe.CancelToken=k0();oe.isCancel=_i();oe.VERSION=Ei().version;oe.toFormData=vi();oe.AxiosError=Xe;oe.Cancel=oe.CanceledError;oe.all=function(t){return Promise.all(t)};oe.spread=D0();oe.isAxiosError=R0();Dn.exports=oe;Dn.exports.default=oe;var x0=Dn.exports,B0=x0;const Si=kc(B0),U0=["src"],j0={key:1,class:"flex-v-center flex-h-center flex w-100 h-100 bg-second"},G0=o.createElementVNode("svg",{class:"i-medium",width:"104",height:"104",viewBox:"0 0 104 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{fill:"white",d:"M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"})],-1),H0=[G0],Ti={__name:"UploadImage",props:["uploadPath","photo"],emits:["update:photo"],setup(e,{emit:t}){const n=e,r=o.ref(null),a=o.ref(null);o.watch(n,({photo:d})=>{d&&(r.value=d)});function i(){a.value.click()}async function l(d){let f=d.target.files[0],m=new FormData;m.append("file",f);try{let $=await Si.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/file?folderName=${encodeURIComponent(n.uploadPath)}`,m,{headers:{"Content-Type":"multipart/form-data"}});r.value=$.data.filepath,t("update:photo",r.value)}catch(g){console.error(g)}}function s(d){d.preventDefault(),l({target:{files:d.dataTransfer.files}})}return(d,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:i,onDrop:s,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"image-upload-area flex-v-center flex-h-center flex"},[r.value||e.photo?(o.openBlock(),o.createElementBlock("img",{key:0,src:r.value||e.photo,alt:"Uploaded image",class:"w-100 h-100 object-fit-fill"},null,8,U0)):(o.openBlock(),o.createElementBlock("div",j0,H0)),o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:a,onChange:l,style:{display:"none"}},null,544)],32))}},W0=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"})),K0=o.createElementVNode("div",{class:"flex-v-center flex-h-center flex w-100 h-100"}," upload ",-1),Li={__name:"UploadImageMultiple",props:["uploadPath"],emits:["update:images"],setup(e,{emit:t}){const n=e,r=o.ref([]),a=o.ref(null);function i(){a.value.click()}async function l(d){let f=d.target.files,m=new FormData;for(let g=0;g<f.length;g++)m.append("file",f[g]);try{(await Si.create({baseURL:process.env.API_URL,withCredentials:!0}).post(`/api/upload/multiple?folderName=${encodeURIComponent(n.uploadPath)}`,m,{headers:{"Content-Type":"multipart/form-data"}})).data.forEach(N=>{r.value.push(N.filepath)}),t("update:images",r.value)}catch(g){console.error(g)}}function s(d){d.preventDefault(),l({target:{files:d.dataTransfer.files}})}return(d,f)=>(o.openBlock(),o.createElementBlock("div",{onClick:i,onDrop:s,onDragover:f[0]||(f[0]=o.withModifiers(()=>{},["prevent"])),class:"flex-v-center flex-h-center flex"},[K0,o.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:a,onChange:l,multiple:"",style:{display:"none"}},null,544)],32))}},Y0=Object.freeze(Object.defineProperty({__proto__:null,default:Li},Symbol.toStringTag,{value:"Module"})),q0={install:e=>{e.component("Address",()=>Promise.resolve().then(()=>Ri)),e.component("Button",()=>Promise.resolve().then(()=>Wi)),e.component("Checkbox",()=>Promise.resolve().then(()=>zi)),e.component("Dropdown",()=>Promise.resolve().then(()=>Qi)),e.component("Error",()=>Promise.resolve().then(()=>no)),e.component("Field",()=>Promise.resolve().then(()=>uo)),e.component("FieldPhone",()=>Promise.resolve().then(()=>Ds)),e.component("LocationMarker",()=>Promise.resolve().then(()=>Bs)),e.component("Map",()=>Promise.resolve().then(()=>js)),e.component("Popup",()=>Promise.resolve().then(()=>Au)),e.component("Radio",()=>Promise.resolve().then(()=>xu)),e.component("Select",()=>Promise.resolve().then(()=>Wu)),e.component("SelectMulti",()=>Promise.resolve().then(()=>hc)),e.component("Spoiler",()=>Promise.resolve().then(()=>vc)),e.component("Tab",()=>Promise.resolve().then(()=>Ec)),e.component("Tooltip",()=>Promise.resolve().then(()=>Oc)),e.component("Text",()=>Promise.resolve().then(()=>Sc)),e.component("Upload",()=>Promise.resolve().then(()=>Ac)),e.component("UploadImage",()=>Promise.resolve().then(()=>W0)),e.component("UploadImageMultiple",()=>Promise.resolve().then(()=>Y0))}};exports.Address=ha;exports.Button=ga;exports.Checkbox=va;exports.Dropdown=ya;exports.Error=_a;exports.Field=ba;exports.FieldPhone=wa;exports.LocationMarker=Pa;exports.Map=Ia;exports.Popup=ei;exports.Radio=ti;exports.Select=ni;exports.SelectMulti=ai;exports.Spoiler=ii;exports.Tab=oi;exports.Text=si;exports.Tooltip=li;exports.Upload=di;exports.UploadImage=Ti;exports.UploadImageMultiple=Li;exports.default=q0;