@adyen/bento-vue2 1.60.0 → 1.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (579) hide show
  1. package/dist/@types/components.d.ts +201 -0
  2. package/dist/@types/index.d.ts +17710 -0
  3. package/dist/@types/use-form-v4.d.ts +86 -0
  4. package/dist/accordion.js +6 -0
  5. package/dist/accordion.js.map +1 -0
  6. package/dist/action-bar.js +5 -0
  7. package/dist/action-bar.js.map +1 -0
  8. package/dist/alert.js +8 -0
  9. package/dist/alert.js.map +1 -0
  10. package/dist/assets/accordion-item.css +1 -0
  11. package/dist/assets/action-bar.css +1 -0
  12. package/dist/assets/alert.css +1 -0
  13. package/dist/assets/avatar.css +1 -0
  14. package/dist/assets/base-button.css +1 -0
  15. package/dist/assets/base-modal.css +1 -0
  16. package/dist/assets/button-actions-with-menu.css +1 -0
  17. package/dist/assets/button-actions.css +1 -0
  18. package/dist/assets/button.css +1 -0
  19. package/dist/assets/calendar.css +1 -0
  20. package/dist/assets/card.css +1 -0
  21. package/dist/assets/checkbox-group.css +1 -0
  22. package/dist/assets/checkbox-input.css +1 -0
  23. package/dist/assets/checkbox.css +1 -0
  24. package/dist/assets/chip.css +1 -0
  25. package/dist/assets/code-snippet.css +1 -0
  26. package/dist/assets/controls-group.css +1 -0
  27. package/dist/assets/copy.css +1 -0
  28. package/dist/assets/country.css +1 -0
  29. package/dist/assets/currency.css +1 -0
  30. package/dist/assets/dashboard-section.css +1 -0
  31. package/dist/assets/dashed-underline.css +1 -0
  32. package/dist/assets/data-grid-template.css +1 -0
  33. package/dist/assets/data-grid.css +1 -0
  34. package/dist/assets/date-picker.css +1 -0
  35. package/dist/assets/date-range-picker.css +1 -0
  36. package/dist/assets/date.css +1 -0
  37. package/dist/assets/dialog-page.css +1 -0
  38. package/dist/assets/divider.css +1 -0
  39. package/dist/assets/dropdown-default-textbox.css +1 -0
  40. package/dist/assets/dropdown-tag.css +1 -0
  41. package/dist/assets/dropdown.css +1 -0
  42. package/dist/assets/empty-state.css +1 -0
  43. package/dist/assets/error-message.css +1 -0
  44. package/dist/assets/file-uploader.css +1 -0
  45. package/dist/assets/filter-bar.css +1 -0
  46. package/dist/assets/fixed-scroller.css +1 -0
  47. package/dist/assets/focus-trap.css +1 -0
  48. package/dist/assets/footer-actions.css +1 -0
  49. package/dist/assets/form-layout-title.css +1 -0
  50. package/dist/assets/grid-layout.css +1 -0
  51. package/dist/assets/header-with-views.css +1 -0
  52. package/dist/assets/header.css +1 -0
  53. package/dist/assets/info-icon-with-popover.css +1 -0
  54. package/dist/assets/info-icon.css +1 -0
  55. package/dist/assets/input-field-password.css +1 -0
  56. package/dist/assets/input-field-phone-number.css +1 -0
  57. package/dist/assets/input-field.css +1 -0
  58. package/dist/assets/inspector.css +1 -0
  59. package/dist/assets/layout-row.css +1 -0
  60. package/dist/assets/link.css +1 -0
  61. package/dist/assets/listbox-option-tag.css +1 -0
  62. package/dist/assets/loading-indicator.css +1 -0
  63. package/dist/assets/main.css +1 -0
  64. package/dist/assets/menu.css +1 -0
  65. package/dist/assets/modal-fullscreen.css +1 -0
  66. package/dist/assets/pagination.css +1 -0
  67. package/dist/assets/payment-method.css +1 -0
  68. package/dist/assets/popover.css +1 -0
  69. package/dist/assets/popper-container.css +1 -0
  70. package/dist/assets/promo-banner.css +1 -0
  71. package/dist/assets/radio-group.css +1 -0
  72. package/dist/assets/radio-input.css +1 -0
  73. package/dist/assets/rich-text-editor.css +1 -0
  74. package/dist/assets/search-bar.css +1 -0
  75. package/dist/assets/secondary-nav.css +1 -0
  76. package/dist/assets/segmented-control.css +1 -0
  77. package/dist/assets/selection-card-group.css +1 -0
  78. package/dist/assets/sidepanel.css +1 -0
  79. package/dist/assets/status.css +1 -0
  80. package/dist/assets/step.css +1 -0
  81. package/dist/assets/structured-list-item.css +1 -0
  82. package/dist/assets/summary-grid.css +1 -0
  83. package/dist/assets/tabs.css +1 -0
  84. package/dist/assets/tag.css +1 -0
  85. package/dist/assets/teleport.css +1 -0
  86. package/dist/assets/textarea.css +1 -0
  87. package/dist/assets/timeline-item.css +1 -0
  88. package/dist/assets/toast.css +1 -0
  89. package/dist/assets/toggle-button.css +1 -0
  90. package/dist/assets/toggle.css +1 -0
  91. package/dist/assets/tooltip.css +1 -0
  92. package/dist/assets/tutorial.css +1 -0
  93. package/dist/assets/typography.css +1 -0
  94. package/dist/assets/use-cached-selected-values.css +1 -0
  95. package/dist/avatar.js +5 -0
  96. package/dist/avatar.js.map +1 -0
  97. package/dist/button.js +16 -0
  98. package/dist/button.js.map +1 -0
  99. package/dist/card.js +7 -0
  100. package/dist/card.js.map +1 -0
  101. package/dist/checkbox.js +11 -0
  102. package/dist/checkbox.js.map +1 -0
  103. package/dist/chip.js +5 -0
  104. package/dist/chip.js.map +1 -0
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  106. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  108. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  110. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  111. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  112. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  113. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  114. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  116. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  117. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  118. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  119. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  120. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  121. package/dist/chunks/_commonjsHelpers.C6fGbg64.js +7 -0
  122. package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +1 -0
  123. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  124. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  125. package/dist/chunks/accordion-item.C4tyRMCt.js +116 -0
  126. package/dist/chunks/accordion-item.C4tyRMCt.js.map +1 -0
  127. package/dist/chunks/action-bar.CMqiD6vc.js +161 -0
  128. package/dist/chunks/action-bar.CMqiD6vc.js.map +1 -0
  129. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  130. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  131. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  132. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  133. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  134. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  135. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  136. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  137. package/dist/chunks/alert.Du9NfW-V.js +103 -0
  138. package/dist/chunks/alert.Du9NfW-V.js.map +1 -0
  139. package/dist/chunks/aria-label.CaUURpnB.js +13 -0
  140. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
  141. package/dist/chunks/avatar.BgwjpLQO.js +71 -0
  142. package/dist/chunks/avatar.BgwjpLQO.js.map +1 -0
  143. package/dist/chunks/base-button.-gx_u8Bd.js +86 -0
  144. package/dist/chunks/base-button.-gx_u8Bd.js.map +1 -0
  145. package/dist/chunks/base-modal.keys.C2PQXcE2.js +5 -0
  146. package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +1 -0
  147. package/dist/chunks/base-modal.xA_DhHx9.js +373 -0
  148. package/dist/chunks/base-modal.xA_DhHx9.js.map +1 -0
  149. package/dist/chunks/bin.DuebwJYu.js +24 -0
  150. package/dist/chunks/bin.DuebwJYu.js.map +1 -0
  151. package/dist/chunks/button-actions-with-menu.S7i4V-8E.js +166 -0
  152. package/dist/chunks/button-actions-with-menu.S7i4V-8E.js.map +1 -0
  153. package/dist/chunks/button-actions.BFtzsfNe.js +194 -0
  154. package/dist/chunks/button-actions.BFtzsfNe.js.map +1 -0
  155. package/dist/chunks/button.BuD-IsW5.js +99 -0
  156. package/dist/chunks/button.BuD-IsW5.js.map +1 -0
  157. package/dist/chunks/calendar.DQiq_EoU.js +1167 -0
  158. package/dist/chunks/calendar.DQiq_EoU.js.map +1 -0
  159. package/dist/chunks/card.Bk7Lz1GS.js +123 -0
  160. package/dist/chunks/card.Bk7Lz1GS.js.map +1 -0
  161. package/dist/chunks/checkbox-group.CossCRls.js +152 -0
  162. package/dist/chunks/checkbox-group.CossCRls.js.map +1 -0
  163. package/dist/chunks/checkbox-input.Dr1GS2BZ.js +137 -0
  164. package/dist/chunks/checkbox-input.Dr1GS2BZ.js.map +1 -0
  165. package/dist/chunks/checkbox.DkDqMVeb.js +176 -0
  166. package/dist/chunks/checkbox.DkDqMVeb.js.map +1 -0
  167. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +24 -0
  168. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +1 -0
  169. package/dist/chunks/checkmark-small.C8T8ISN6.js +24 -0
  170. package/dist/chunks/checkmark-small.C8T8ISN6.js.map +1 -0
  171. package/dist/chunks/chevron-left.DOMTgGel.js +43 -0
  172. package/dist/chunks/chevron-left.DOMTgGel.js.map +1 -0
  173. package/dist/chunks/chevron-up.CSVyoaTy.js +43 -0
  174. package/dist/chunks/chevron-up.CSVyoaTy.js.map +1 -0
  175. package/dist/chunks/chip.bZEhHfIk.js +63 -0
  176. package/dist/chunks/chip.bZEhHfIk.js.map +1 -0
  177. package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
  178. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
  179. package/dist/chunks/code-snippet.BlYhf-Dt.js +259 -0
  180. package/dist/chunks/code-snippet.BlYhf-Dt.js.map +1 -0
  181. package/dist/chunks/codemirror.Zv80n3Z2.js +14628 -0
  182. package/dist/chunks/codemirror.Zv80n3Z2.js.map +1 -0
  183. package/dist/chunks/controls-group.C4CHrb6Y.js +81 -0
  184. package/dist/chunks/controls-group.C4CHrb6Y.js.map +1 -0
  185. package/dist/chunks/copy.Bod4H2Dk.js +129 -0
  186. package/dist/chunks/copy.Bod4H2Dk.js.map +1 -0
  187. package/dist/chunks/country.Df7erZov.js +94 -0
  188. package/dist/chunks/country.Df7erZov.js.map +1 -0
  189. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  190. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  191. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js +24 -0
  192. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +1 -0
  193. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +24 -0
  194. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +1 -0
  195. package/dist/chunks/cross-small.CZqsjZDz.js +24 -0
  196. package/dist/chunks/cross-small.CZqsjZDz.js.map +1 -0
  197. package/dist/chunks/cross.CJ5EEL2c.js +24 -0
  198. package/dist/chunks/cross.CJ5EEL2c.js.map +1 -0
  199. package/dist/chunks/currency.B1F9YOIx.js +106 -0
  200. package/dist/chunks/currency.B1F9YOIx.js.map +1 -0
  201. package/dist/chunks/dashboard-section.Dx6eYon4.js +102 -0
  202. package/dist/chunks/dashboard-section.Dx6eYon4.js.map +1 -0
  203. package/dist/chunks/dashed-underline.CY5J4pZp.js +65 -0
  204. package/dist/chunks/dashed-underline.CY5J4pZp.js.map +1 -0
  205. package/dist/chunks/data-grid-template.CVl3PU0v.js +109 -0
  206. package/dist/chunks/data-grid-template.CVl3PU0v.js.map +1 -0
  207. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +5 -0
  208. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +1 -0
  209. package/dist/chunks/data-grid.BZaXKTLk.js +2782 -0
  210. package/dist/chunks/data-grid.BZaXKTLk.js.map +1 -0
  211. package/dist/chunks/date-input.BqBdAO1E.js +17 -0
  212. package/dist/chunks/date-input.BqBdAO1E.js.map +1 -0
  213. package/dist/chunks/date-picker.lrT6LXe-.js +235 -0
  214. package/dist/chunks/date-picker.lrT6LXe-.js.map +1 -0
  215. package/dist/chunks/date-range-picker.Djt5mYvh.js +977 -0
  216. package/dist/chunks/date-range-picker.Djt5mYvh.js.map +1 -0
  217. package/dist/chunks/date.dYFFEunA.js +987 -0
  218. package/dist/chunks/date.dYFFEunA.js.map +1 -0
  219. package/dist/chunks/debounce.DUTu11PS.js +10 -0
  220. package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
  221. package/dist/chunks/dialog-page.C5r6tM57.js +131 -0
  222. package/dist/chunks/dialog-page.C5r6tM57.js.map +1 -0
  223. package/dist/chunks/directive.Cbdox5VL.js +23 -0
  224. package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
  225. package/dist/chunks/divider.Cc4JFWG_.js +35 -0
  226. package/dist/chunks/divider.Cc4JFWG_.js.map +1 -0
  227. package/dist/chunks/dot.CnkXzRn3.js +24 -0
  228. package/dist/chunks/dot.CnkXzRn3.js.map +1 -0
  229. package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js +348 -0
  230. package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js.map +1 -0
  231. package/dist/chunks/dropdown-tag.CY3nZ50z.js +215 -0
  232. package/dist/chunks/dropdown-tag.CY3nZ50z.js.map +1 -0
  233. package/dist/chunks/dropdown.Cx-3TGBk.js +818 -0
  234. package/dist/chunks/dropdown.Cx-3TGBk.js.map +1 -0
  235. package/dist/chunks/empty-state.IvvHHQ35.js +151 -0
  236. package/dist/chunks/empty-state.IvvHHQ35.js.map +1 -0
  237. package/dist/chunks/error-message.BAE9B9-N.js +121 -0
  238. package/dist/chunks/error-message.BAE9B9-N.js.map +1 -0
  239. package/dist/chunks/es6.n1ewaW31.js +11 -0
  240. package/dist/chunks/es6.n1ewaW31.js.map +1 -0
  241. package/dist/chunks/events.CMzGybJJ.js +47 -0
  242. package/dist/chunks/events.CMzGybJJ.js.map +1 -0
  243. package/dist/chunks/expand.C263WARj.js +24 -0
  244. package/dist/chunks/expand.C263WARj.js.map +1 -0
  245. package/dist/chunks/file-uploader.E18P6eyS.js +1913 -0
  246. package/dist/chunks/file-uploader.E18P6eyS.js.map +1 -0
  247. package/dist/chunks/filter-bar.D6IL1UDu.js +2288 -0
  248. package/dist/chunks/filter-bar.D6IL1UDu.js.map +1 -0
  249. package/dist/chunks/fixed-scroller.D0a6q8_i.js +106 -0
  250. package/dist/chunks/fixed-scroller.D0a6q8_i.js.map +1 -0
  251. package/dist/chunks/focus-trap.C-wIQqpO.js +499 -0
  252. package/dist/chunks/focus-trap.C-wIQqpO.js.map +1 -0
  253. package/dist/chunks/footer-actions.BgpSnSSn.js +96 -0
  254. package/dist/chunks/footer-actions.BgpSnSSn.js.map +1 -0
  255. package/dist/chunks/form-layout-title.DBCY18f8.js +190 -0
  256. package/dist/chunks/form-layout-title.DBCY18f8.js.map +1 -0
  257. package/dist/chunks/form-layout.types.D3EKzbE7.js +5 -0
  258. package/dist/chunks/form-layout.types.D3EKzbE7.js.map +1 -0
  259. package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
  260. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
  261. package/dist/chunks/get-date-locale.BN8xEjY0.js +1735 -0
  262. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
  263. package/dist/chunks/get-slot-text.BQS5Olxm.js +12 -0
  264. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +1 -0
  265. package/dist/chunks/grid-layout.HvTAa4to.js +76 -0
  266. package/dist/chunks/grid-layout.HvTAa4to.js.map +1 -0
  267. package/dist/chunks/header-with-views.DAdbhhG9.js +1549 -0
  268. package/dist/chunks/header-with-views.DAdbhhG9.js.map +1 -0
  269. package/dist/chunks/header.8SId1U5r.js +187 -0
  270. package/dist/chunks/header.8SId1U5r.js.map +1 -0
  271. package/dist/chunks/i18n.BQkEbtPM.js +31 -0
  272. package/dist/chunks/i18n.BQkEbtPM.js.map +1 -0
  273. package/dist/chunks/image.C2D2hKat.js +56 -0
  274. package/dist/chunks/image.C2D2hKat.js.map +1 -0
  275. package/dist/chunks/index.BDuTpjD8.js +40 -0
  276. package/dist/chunks/index.BDuTpjD8.js.map +1 -0
  277. package/dist/chunks/index.BdrLbvtJ.js +529 -0
  278. package/dist/chunks/index.BdrLbvtJ.js.map +1 -0
  279. package/dist/chunks/index.BxBB1rsx.js +15 -0
  280. package/dist/chunks/index.BxBB1rsx.js.map +1 -0
  281. package/dist/chunks/index.Cl4_42j5.js +8 -0
  282. package/dist/chunks/index.Cl4_42j5.js.map +1 -0
  283. package/dist/chunks/index.DD7TppDb.js +10 -0
  284. package/dist/chunks/index.DD7TppDb.js.map +1 -0
  285. package/dist/chunks/info-icon-with-popover.XZqkxPsB.js +71 -0
  286. package/dist/chunks/info-icon-with-popover.XZqkxPsB.js.map +1 -0
  287. package/dist/chunks/info-icon.C1xOlhYj.js +41 -0
  288. package/dist/chunks/info-icon.C1xOlhYj.js.map +1 -0
  289. package/dist/chunks/info.4d_mJHvT.js +24 -0
  290. package/dist/chunks/info.4d_mJHvT.js.map +1 -0
  291. package/dist/chunks/input-field-password.lK0Im1eg.js +251 -0
  292. package/dist/chunks/input-field-password.lK0Im1eg.js.map +1 -0
  293. package/dist/chunks/input-field-phone-number.BnjBqUKg.js +3097 -0
  294. package/dist/chunks/input-field-phone-number.BnjBqUKg.js.map +1 -0
  295. package/dist/chunks/input-field.B8HxtNIv.js +152 -0
  296. package/dist/chunks/input-field.B8HxtNIv.js.map +1 -0
  297. package/dist/chunks/inspector.CegHqvEW.js +117 -0
  298. package/dist/chunks/inspector.CegHqvEW.js.map +1 -0
  299. package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
  300. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -0
  301. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  302. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  303. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  304. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  305. package/dist/chunks/keyboard-navigation.pB8weElW.js +66 -0
  306. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -0
  307. package/dist/chunks/layout-row.C_F2wX6d.js +87 -0
  308. package/dist/chunks/layout-row.C_F2wX6d.js.map +1 -0
  309. package/dist/chunks/link.D0P79Toh.js +95 -0
  310. package/dist/chunks/link.D0P79Toh.js.map +1 -0
  311. package/dist/chunks/listbox-option-tag.CczGPhWH.js +44 -0
  312. package/dist/chunks/listbox-option-tag.CczGPhWH.js.map +1 -0
  313. package/dist/chunks/loading-indicator.z8COalOc.js +48 -0
  314. package/dist/chunks/loading-indicator.z8COalOc.js.map +1 -0
  315. package/dist/chunks/menu.CT0SIn4v.js +601 -0
  316. package/dist/chunks/menu.CT0SIn4v.js.map +1 -0
  317. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +5 -0
  318. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +1 -0
  319. package/dist/chunks/modal-fullscreen.tofT1h0P.js +202 -0
  320. package/dist/chunks/modal-fullscreen.tofT1h0P.js.map +1 -0
  321. package/dist/chunks/modal.CiYtGu6u.js +445 -0
  322. package/dist/chunks/modal.CiYtGu6u.js.map +1 -0
  323. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  324. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  325. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  326. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  327. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  328. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  329. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  330. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  331. package/dist/chunks/on-click-outside.D9aY9g8G.js +101 -0
  332. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
  333. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  334. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  335. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  336. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  337. package/dist/chunks/pagination.B-EP9Lkq.js +338 -0
  338. package/dist/chunks/pagination.B-EP9Lkq.js.map +1 -0
  339. package/dist/chunks/payment-method.Cx4nPDtE.js +76 -0
  340. package/dist/chunks/payment-method.Cx4nPDtE.js.map +1 -0
  341. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  342. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  343. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  344. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  345. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  346. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  347. package/dist/chunks/popover.COaHa4ES.js +295 -0
  348. package/dist/chunks/popover.COaHa4ES.js.map +1 -0
  349. package/dist/chunks/popper-container.DIFqmRsp.js +1393 -0
  350. package/dist/chunks/popper-container.DIFqmRsp.js.map +1 -0
  351. package/dist/chunks/promo-banner.DJpA7Whg.js +70 -0
  352. package/dist/chunks/promo-banner.DJpA7Whg.js.map +1 -0
  353. package/dist/chunks/radio-group.CzsbH4_F.js +229 -0
  354. package/dist/chunks/radio-group.CzsbH4_F.js.map +1 -0
  355. package/dist/chunks/radio-input.uJAhxKRs.js +90 -0
  356. package/dist/chunks/radio-input.uJAhxKRs.js.map +1 -0
  357. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  358. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  359. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  360. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  361. package/dist/chunks/refresh.Bc9FzGjJ.js +24 -0
  362. package/dist/chunks/refresh.Bc9FzGjJ.js.map +1 -0
  363. package/dist/chunks/resize.Bqks3WUm.js +15 -0
  364. package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
  365. package/dist/chunks/rich-text-editor.C4NdjtLA.js +6203 -0
  366. package/dist/chunks/rich-text-editor.C4NdjtLA.js.map +1 -0
  367. package/dist/chunks/search-bar.B4u_IgiI.js +97 -0
  368. package/dist/chunks/search-bar.B4u_IgiI.js.map +1 -0
  369. package/dist/chunks/search.DLtglc02.js +24 -0
  370. package/dist/chunks/search.DLtglc02.js.map +1 -0
  371. package/dist/chunks/secondary-nav.EROJ_sJQ.js +112 -0
  372. package/dist/chunks/secondary-nav.EROJ_sJQ.js.map +1 -0
  373. package/dist/chunks/segmented-control.B-uxKqMN.js +112 -0
  374. package/dist/chunks/segmented-control.B-uxKqMN.js.map +1 -0
  375. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  376. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  377. package/dist/chunks/selection-card-group.CnvREAh5.js +299 -0
  378. package/dist/chunks/selection-card-group.CnvREAh5.js.map +1 -0
  379. package/dist/chunks/show.e4LEpZKG.js +43 -0
  380. package/dist/chunks/show.e4LEpZKG.js.map +1 -0
  381. package/dist/chunks/sidepanel.3EBWM8JV.js +210 -0
  382. package/dist/chunks/sidepanel.3EBWM8JV.js.map +1 -0
  383. package/dist/chunks/sidepanel.keys.R0DKQuYx.js +5 -0
  384. package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +1 -0
  385. package/dist/chunks/status.types.p_TCvoo0.js +36 -0
  386. package/dist/chunks/status.types.p_TCvoo0.js.map +1 -0
  387. package/dist/chunks/step.CuOpi-Ye.js +217 -0
  388. package/dist/chunks/step.CuOpi-Ye.js.map +1 -0
  389. package/dist/chunks/structured-list-item.rOTJM0uc.js +87 -0
  390. package/dist/chunks/structured-list-item.rOTJM0uc.js.map +1 -0
  391. package/dist/chunks/success.DhioLvPD.js +5 -0
  392. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  393. package/dist/chunks/success.nNwxJRBS.js +5 -0
  394. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  395. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +6 -0
  396. package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +1 -0
  397. package/dist/chunks/summary-grid.types.Bg1Y7i-F.js +301 -0
  398. package/dist/chunks/summary-grid.types.Bg1Y7i-F.js.map +1 -0
  399. package/dist/chunks/tabs.DX_Gq12z.js +205 -0
  400. package/dist/chunks/tabs.DX_Gq12z.js.map +1 -0
  401. package/dist/chunks/tabs.keys.Bc2pSKRw.js +7 -0
  402. package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +1 -0
  403. package/dist/chunks/tag.DDjyf2hd.js +44 -0
  404. package/dist/chunks/tag.DDjyf2hd.js.map +1 -0
  405. package/dist/chunks/teleport.BV6zrDjA.js +128 -0
  406. package/dist/chunks/teleport.BV6zrDjA.js.map +1 -0
  407. package/dist/chunks/textarea.0PapD8Nl.js +200 -0
  408. package/dist/chunks/textarea.0PapD8Nl.js.map +1 -0
  409. package/dist/chunks/timeline-item.IFw76Qeh.js +386 -0
  410. package/dist/chunks/timeline-item.IFw76Qeh.js.map +1 -0
  411. package/dist/chunks/toast.B2u2W_TQ.js +171 -0
  412. package/dist/chunks/toast.B2u2W_TQ.js.map +1 -0
  413. package/dist/chunks/toggle-button.ChDbeBZ8.js +83 -0
  414. package/dist/chunks/toggle-button.ChDbeBZ8.js.map +1 -0
  415. package/dist/chunks/toggle.Q52IIKfi.js +121 -0
  416. package/dist/chunks/toggle.Q52IIKfi.js.map +1 -0
  417. package/dist/chunks/tooltip.DyZIyMZN.js +189 -0
  418. package/dist/chunks/tooltip.DyZIyMZN.js.map +1 -0
  419. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  420. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  421. package/dist/chunks/tutorial.suIRmXta.js +348 -0
  422. package/dist/chunks/tutorial.suIRmXta.js.map +1 -0
  423. package/dist/chunks/typography.J1v_SPG3.js +87 -0
  424. package/dist/chunks/typography.J1v_SPG3.js.map +1 -0
  425. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  426. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  427. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  428. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  429. package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js +52 -0
  430. package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js.map +1 -0
  431. package/dist/chunks/use-cached-selected-values.9OnD_j5F.js +1177 -0
  432. package/dist/chunks/use-cached-selected-values.9OnD_j5F.js.map +1 -0
  433. package/dist/chunks/use-click-outside.BnhTgpSt.js +14 -0
  434. package/dist/chunks/use-click-outside.BnhTgpSt.js.map +1 -0
  435. package/dist/chunks/use-country-items.HFnjuDsG.js +30 -0
  436. package/dist/chunks/use-country-items.HFnjuDsG.js.map +1 -0
  437. package/dist/chunks/use-country-phon-code.DVgE19zT.js +5610 -0
  438. package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +1 -0
  439. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +13 -0
  440. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -0
  441. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
  442. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
  443. package/dist/chunks/use-form-layout-loading.D3lALhtC.js +12 -0
  444. package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +1 -0
  445. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  446. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -0
  447. package/dist/chunks/warning-filled.Cd0kVWwa.js +24 -0
  448. package/dist/chunks/warning-filled.Cd0kVWwa.js.map +1 -0
  449. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  450. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  451. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  452. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  453. package/dist/click-outside.js +5 -0
  454. package/dist/click-outside.js.map +1 -0
  455. package/dist/code-snippet.js +8 -0
  456. package/dist/code-snippet.js.map +1 -0
  457. package/dist/country.js +12 -0
  458. package/dist/country.js.map +1 -0
  459. package/dist/currency.js +6 -0
  460. package/dist/currency.js.map +1 -0
  461. package/dist/dashboard-template.js +6 -0
  462. package/dist/dashboard-template.js.map +1 -0
  463. package/dist/dashed-underline.js +5 -0
  464. package/dist/dashed-underline.js.map +1 -0
  465. package/dist/data-grid-template.js +5 -0
  466. package/dist/data-grid-template.js.map +1 -0
  467. package/dist/data-grid.js +11 -0
  468. package/dist/data-grid.js.map +1 -0
  469. package/dist/date-picker.js +8 -0
  470. package/dist/date-picker.js.map +1 -0
  471. package/dist/date-range-picker.js +8 -0
  472. package/dist/date-range-picker.js.map +1 -0
  473. package/dist/date.js +6 -0
  474. package/dist/date.js.map +1 -0
  475. package/dist/divider.js +5 -0
  476. package/dist/divider.js.map +1 -0
  477. package/dist/dropdown.js +16 -0
  478. package/dist/dropdown.js.map +1 -0
  479. package/dist/empty-state.js +8 -0
  480. package/dist/empty-state.js.map +1 -0
  481. package/dist/file-uploader.js +5 -0
  482. package/dist/file-uploader.js.map +1 -0
  483. package/dist/filter-bar.js +8 -0
  484. package/dist/filter-bar.js.map +1 -0
  485. package/dist/focus-trap.js +5 -0
  486. package/dist/focus-trap.js.map +1 -0
  487. package/dist/fonts/fonts.css +2 -0
  488. package/dist/form-layout.js +8 -0
  489. package/dist/form-layout.js.map +1 -0
  490. package/dist/header-with-views.js +5 -0
  491. package/dist/header-with-views.js.map +1 -0
  492. package/dist/header.js +5 -0
  493. package/dist/header.js.map +1 -0
  494. package/dist/image.js +7 -0
  495. package/dist/image.js.map +1 -0
  496. package/dist/index.js +372 -0
  497. package/dist/index.js.map +1 -0
  498. package/dist/info-icon.js +5 -0
  499. package/dist/info-icon.js.map +1 -0
  500. package/dist/input-field-password.js +10 -0
  501. package/dist/input-field-password.js.map +1 -0
  502. package/dist/input-field-phone-number.js +5 -0
  503. package/dist/input-field-phone-number.js.map +1 -0
  504. package/dist/input-field.js +10 -0
  505. package/dist/input-field.js.map +1 -0
  506. package/dist/inspector.js +7 -0
  507. package/dist/inspector.js.map +1 -0
  508. package/dist/internal.js +43 -0
  509. package/dist/internal.js.map +1 -0
  510. package/dist/layout.js +6 -0
  511. package/dist/layout.js.map +1 -0
  512. package/dist/link.js +6 -0
  513. package/dist/link.js.map +1 -0
  514. package/dist/loading-indicator.js +6 -0
  515. package/dist/loading-indicator.js.map +1 -0
  516. package/dist/menu.js +6 -0
  517. package/dist/menu.js.map +1 -0
  518. package/dist/modal-fullscreen.js +6 -0
  519. package/dist/modal-fullscreen.js.map +1 -0
  520. package/dist/modal.js +14 -0
  521. package/dist/modal.js.map +1 -0
  522. package/dist/pagination.js +5 -0
  523. package/dist/pagination.js.map +1 -0
  524. package/dist/payment-method.js +7 -0
  525. package/dist/payment-method.js.map +1 -0
  526. package/dist/popover.js +6 -0
  527. package/dist/popover.js.map +1 -0
  528. package/dist/popper-container.js +9 -0
  529. package/dist/popper-container.js.map +1 -0
  530. package/dist/promo-banner.js +7 -0
  531. package/dist/promo-banner.js.map +1 -0
  532. package/dist/radio-group.js +9 -0
  533. package/dist/radio-group.js.map +1 -0
  534. package/dist/rich-text-editor.js +5 -0
  535. package/dist/rich-text-editor.js.map +1 -0
  536. package/dist/search-bar.js +9 -0
  537. package/dist/search-bar.js.map +1 -0
  538. package/dist/secondary-nav.js +5 -0
  539. package/dist/secondary-nav.js.map +1 -0
  540. package/dist/segmented-control.js +7 -0
  541. package/dist/segmented-control.js.map +1 -0
  542. package/dist/selection-card.js +7 -0
  543. package/dist/selection-card.js.map +1 -0
  544. package/dist/sidepanel.js +7 -0
  545. package/dist/sidepanel.js.map +1 -0
  546. package/dist/status.js +6 -0
  547. package/dist/status.js.map +1 -0
  548. package/dist/stepper.js +8 -0
  549. package/dist/stepper.js.map +1 -0
  550. package/dist/structured-list.js +6 -0
  551. package/dist/structured-list.js.map +1 -0
  552. package/dist/styles/bento-dark.css +2055 -0
  553. package/dist/styles/bento-light.css +2054 -0
  554. package/dist/styles/bento.css +2054 -0
  555. package/dist/styles/legacy.css +2209 -0
  556. package/dist/styles/styleguide.css +2109 -0
  557. package/dist/styles/utility.css +987 -0
  558. package/dist/summary-grid.js +12 -0
  559. package/dist/summary-grid.js.map +1 -0
  560. package/dist/tabs.js +6 -0
  561. package/dist/tabs.js.map +1 -0
  562. package/dist/tag.js +6 -0
  563. package/dist/tag.js.map +1 -0
  564. package/dist/textarea.js +5 -0
  565. package/dist/textarea.js.map +1 -0
  566. package/dist/timeline.js +10 -0
  567. package/dist/timeline.js.map +1 -0
  568. package/dist/toast.js +5 -0
  569. package/dist/toast.js.map +1 -0
  570. package/dist/toggle.js +7 -0
  571. package/dist/toggle.js.map +1 -0
  572. package/dist/tutorial.js +5 -0
  573. package/dist/tutorial.js.map +1 -0
  574. package/dist/typography.js +8 -0
  575. package/dist/typography.js.map +1 -0
  576. package/dist/use-form-v4.js +8300 -0
  577. package/dist/use-form-v4.js.map +1 -0
  578. package/dist/web-types.json +15200 -0
  579. package/package.json +6 -6
@@ -0,0 +1,3097 @@
1
+ import { defineComponent as oe, ref as G, provide as $e, computed as B, onMounted as ue, nextTick as le } from "vue";
2
+ import { B as se } from "./input-field.B8HxtNIv.js";
3
+ import { u as fe } from "./i18n.BQkEbtPM.js";
4
+ import { b as ce } from "./dropdown.Cx-3TGBk.js";
5
+ import { p as he } from "./typography.J1v_SPG3.js";
6
+ import { a as jt, u as ge } from "./use-country-phon-code.DVgE19zT.js";
7
+ import { n as me } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
8
+ import "../assets/input-field-phone-number.css";
9
+ const Ht = { 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])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|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])|3\\d\\d)|(?: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[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-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]|2[23]"], "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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|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)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|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|7[39])|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[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-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, 12], [["(\\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[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|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(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|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(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "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([3579]|4(?:[14]4|56))?"], 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", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [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[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-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, 10, 11, 12], [["(\\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{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "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{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "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[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?: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-3]))|(?: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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|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", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-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", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-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", ["6|7[245]"], "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-57]"], "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})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\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]|43"]], ["(\\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}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [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]], ["3[2-8]\\d{9,10}", [11, 12]], 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\\d))\\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)|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])|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])|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[2-57-9]|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", ["[36]0|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[0135-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", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "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]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 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{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "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, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|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]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 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[0467]"]]]], 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", "2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}", [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-6]|7(?:0[0-689]|[1-79])|8[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "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", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "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)|[589]"], "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"], "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-7])"], "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-6]))\\d{4}"], ["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|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[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\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", ["[236-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", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "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]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\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, 12], [["(\\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-9]|[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|79)\\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}|(?:80\\d|900)\\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|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 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", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\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|71)\\d{6}", [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", ["[67]"], "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]|61[06])", "5(?:[0-59]|61[06]1)"], "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, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|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]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|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}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "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{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-79]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], 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, 12], 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", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\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", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "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]|15|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, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[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, ["348[57]\\d{7}", [11]], 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[0-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}"]]] } };
10
+ function rt(e, r) {
11
+ var t = Array.prototype.slice.call(r);
12
+ return t.push(Ht), e.apply(this, t);
13
+ }
14
+ function K(e) {
15
+ "@babel/helpers - typeof";
16
+ return K = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
17
+ return typeof r;
18
+ } : function(r) {
19
+ return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
20
+ }, K(e);
21
+ }
22
+ function ye(e, r, t) {
23
+ return Object.defineProperty(e, "prototype", { writable: !1 }), e;
24
+ }
25
+ function ve(e, r) {
26
+ if (!(e instanceof r))
27
+ throw new TypeError("Cannot call a class as a function");
28
+ }
29
+ function pe(e, r) {
30
+ if (typeof r != "function" && r !== null)
31
+ throw new TypeError("Super expression must either be null or a function");
32
+ e.prototype = Object.create(r && r.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), r && A(e, r);
33
+ }
34
+ function Ne(e) {
35
+ var r = Vt();
36
+ return function() {
37
+ var n = _(e), d;
38
+ if (r) {
39
+ var i = _(this).constructor;
40
+ d = Reflect.construct(n, arguments, i);
41
+ } else
42
+ d = n.apply(this, arguments);
43
+ return Ce(this, d);
44
+ };
45
+ }
46
+ function Ce(e, r) {
47
+ if (r && (K(r) === "object" || typeof r == "function"))
48
+ return r;
49
+ if (r !== void 0)
50
+ throw new TypeError("Derived constructors may only return object or undefined");
51
+ return Wt(e);
52
+ }
53
+ function Wt(e) {
54
+ if (e === void 0)
55
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
56
+ return e;
57
+ }
58
+ function Y(e) {
59
+ var r = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
60
+ return Y = function(n) {
61
+ if (n === null || !be(n)) return n;
62
+ if (typeof n != "function")
63
+ throw new TypeError("Super expression must either be null or a function");
64
+ if (typeof r < "u") {
65
+ if (r.has(n)) return r.get(n);
66
+ r.set(n, d);
67
+ }
68
+ function d() {
69
+ return F(n, arguments, _(this).constructor);
70
+ }
71
+ return d.prototype = Object.create(n.prototype, { constructor: { value: d, enumerable: !1, writable: !0, configurable: !0 } }), A(d, n);
72
+ }, Y(e);
73
+ }
74
+ function F(e, r, t) {
75
+ return Vt() ? F = Reflect.construct : F = function(d, i, a) {
76
+ var o = [null];
77
+ o.push.apply(o, i);
78
+ var $ = Function.bind.apply(d, o), u = new $();
79
+ return a && A(u, a.prototype), u;
80
+ }, F.apply(null, arguments);
81
+ }
82
+ function Vt() {
83
+ if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
84
+ if (typeof Proxy == "function") return !0;
85
+ try {
86
+ return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
87
+ })), !0;
88
+ } catch {
89
+ return !1;
90
+ }
91
+ }
92
+ function be(e) {
93
+ return Function.toString.call(e).indexOf("[native code]") !== -1;
94
+ }
95
+ function A(e, r) {
96
+ return A = Object.setPrototypeOf || function(n, d) {
97
+ return n.__proto__ = d, n;
98
+ }, A(e, r);
99
+ }
100
+ function _(e) {
101
+ return _ = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
102
+ return t.__proto__ || Object.getPrototypeOf(t);
103
+ }, _(e);
104
+ }
105
+ var C = /* @__PURE__ */ function(e) {
106
+ pe(t, e);
107
+ var r = Ne(t);
108
+ function t(n) {
109
+ var d;
110
+ return ve(this, t), d = r.call(this, n), Object.setPrototypeOf(Wt(d), t.prototype), d.name = d.constructor.name, d;
111
+ }
112
+ return ye(t);
113
+ }(/* @__PURE__ */ Y(Error)), nt = 2, Pe = 17, Se = 3, m = "0-90-9٠-٩۰-۹", Ee = "-‐-―−ー-", xe = "//", Ae = "..", _e = "  ­​⁠ ", Ie = "()()[]\\[\\]", Fe = "~⁓∼~", N = "".concat(Ee).concat(xe).concat(Ae).concat(_e).concat(Ie).concat(Fe), R = "++";
114
+ function ot(e, r) {
115
+ e = e.split("-"), r = r.split("-");
116
+ for (var t = e[0].split("."), n = r[0].split("."), d = 0; d < 3; d++) {
117
+ var i = Number(t[d]), a = Number(n[d]);
118
+ if (i > a) return 1;
119
+ if (a > i) return -1;
120
+ if (!isNaN(i) && isNaN(a)) return 1;
121
+ if (isNaN(i) && !isNaN(a)) return -1;
122
+ }
123
+ return e[1] && r[1] ? e[1] > r[1] ? 1 : e[1] < r[1] ? -1 : 0 : !e[1] && r[1] ? 1 : e[1] && !r[1] ? -1 : 0;
124
+ }
125
+ var Te = {}.constructor;
126
+ function x(e) {
127
+ return e != null && e.constructor === Te;
128
+ }
129
+ function X(e) {
130
+ "@babel/helpers - typeof";
131
+ return X = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
132
+ return typeof r;
133
+ } : function(r) {
134
+ return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
135
+ }, X(e);
136
+ }
137
+ function D(e, r) {
138
+ if (!(e instanceof r))
139
+ throw new TypeError("Cannot call a class as a function");
140
+ }
141
+ function Oe(e, r) {
142
+ for (var t = 0; t < r.length; t++) {
143
+ var n = r[t];
144
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
145
+ }
146
+ }
147
+ function M(e, r, t) {
148
+ return r && Oe(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
149
+ }
150
+ var we = "1.2.0", Re = "1.7.35", $t = " ext. ", De = /^\d+$/, g = /* @__PURE__ */ function() {
151
+ function e(r) {
152
+ D(this, e), Ge(r), this.metadata = r, Kt.call(this, r);
153
+ }
154
+ return M(e, [{
155
+ key: "getCountries",
156
+ value: function() {
157
+ return Object.keys(this.metadata.countries).filter(function(t) {
158
+ return t !== "001";
159
+ });
160
+ }
161
+ }, {
162
+ key: "getCountryMetadata",
163
+ value: function(t) {
164
+ return this.metadata.countries[t];
165
+ }
166
+ }, {
167
+ key: "nonGeographic",
168
+ value: function() {
169
+ if (!(this.v1 || this.v2 || this.v3))
170
+ return this.metadata.nonGeographic || this.metadata.nonGeographical;
171
+ }
172
+ }, {
173
+ key: "hasCountry",
174
+ value: function(t) {
175
+ return this.getCountryMetadata(t) !== void 0;
176
+ }
177
+ }, {
178
+ key: "hasCallingCode",
179
+ value: function(t) {
180
+ if (this.getCountryCodesForCallingCode(t))
181
+ return !0;
182
+ if (this.nonGeographic()) {
183
+ if (this.nonGeographic()[t])
184
+ return !0;
185
+ } else {
186
+ var n = this.countryCallingCodes()[t];
187
+ if (n && n.length === 1 && n[0] === "001")
188
+ return !0;
189
+ }
190
+ }
191
+ }, {
192
+ key: "isNonGeographicCallingCode",
193
+ value: function(t) {
194
+ return this.nonGeographic() ? !!this.nonGeographic()[t] : !this.getCountryCodesForCallingCode(t);
195
+ }
196
+ // Deprecated.
197
+ }, {
198
+ key: "country",
199
+ value: function(t) {
200
+ return this.selectNumberingPlan(t);
201
+ }
202
+ }, {
203
+ key: "selectNumberingPlan",
204
+ value: function(t, n) {
205
+ if (t && De.test(t) && (n = t, t = null), t && t !== "001") {
206
+ if (!this.hasCountry(t))
207
+ throw new Error("Unknown country: ".concat(t));
208
+ this.numberingPlan = new ut(this.getCountryMetadata(t), this);
209
+ } else if (n) {
210
+ if (!this.hasCallingCode(n))
211
+ throw new Error("Unknown calling code: ".concat(n));
212
+ this.numberingPlan = new ut(this.getNumberingPlanMetadata(n), this);
213
+ } else
214
+ this.numberingPlan = void 0;
215
+ return this;
216
+ }
217
+ }, {
218
+ key: "getCountryCodesForCallingCode",
219
+ value: function(t) {
220
+ var n = this.countryCallingCodes()[t];
221
+ if (n)
222
+ return n.length === 1 && n[0].length === 3 ? void 0 : n;
223
+ }
224
+ }, {
225
+ key: "getCountryCodeForCallingCode",
226
+ value: function(t) {
227
+ var n = this.getCountryCodesForCallingCode(t);
228
+ if (n)
229
+ return n[0];
230
+ }
231
+ }, {
232
+ key: "getNumberingPlanMetadata",
233
+ value: function(t) {
234
+ var n = this.getCountryCodeForCallingCode(t);
235
+ if (n)
236
+ return this.getCountryMetadata(n);
237
+ if (this.nonGeographic()) {
238
+ var d = this.nonGeographic()[t];
239
+ if (d)
240
+ return d;
241
+ } else {
242
+ var i = this.countryCallingCodes()[t];
243
+ if (i && i.length === 1 && i[0] === "001")
244
+ return this.metadata.countries["001"];
245
+ }
246
+ }
247
+ // Deprecated.
248
+ }, {
249
+ key: "countryCallingCode",
250
+ value: function() {
251
+ return this.numberingPlan.callingCode();
252
+ }
253
+ // Deprecated.
254
+ }, {
255
+ key: "IDDPrefix",
256
+ value: function() {
257
+ return this.numberingPlan.IDDPrefix();
258
+ }
259
+ // Deprecated.
260
+ }, {
261
+ key: "defaultIDDPrefix",
262
+ value: function() {
263
+ return this.numberingPlan.defaultIDDPrefix();
264
+ }
265
+ // Deprecated.
266
+ }, {
267
+ key: "nationalNumberPattern",
268
+ value: function() {
269
+ return this.numberingPlan.nationalNumberPattern();
270
+ }
271
+ // Deprecated.
272
+ }, {
273
+ key: "possibleLengths",
274
+ value: function() {
275
+ return this.numberingPlan.possibleLengths();
276
+ }
277
+ // Deprecated.
278
+ }, {
279
+ key: "formats",
280
+ value: function() {
281
+ return this.numberingPlan.formats();
282
+ }
283
+ // Deprecated.
284
+ }, {
285
+ key: "nationalPrefixForParsing",
286
+ value: function() {
287
+ return this.numberingPlan.nationalPrefixForParsing();
288
+ }
289
+ // Deprecated.
290
+ }, {
291
+ key: "nationalPrefixTransformRule",
292
+ value: function() {
293
+ return this.numberingPlan.nationalPrefixTransformRule();
294
+ }
295
+ // Deprecated.
296
+ }, {
297
+ key: "leadingDigits",
298
+ value: function() {
299
+ return this.numberingPlan.leadingDigits();
300
+ }
301
+ // Deprecated.
302
+ }, {
303
+ key: "hasTypes",
304
+ value: function() {
305
+ return this.numberingPlan.hasTypes();
306
+ }
307
+ // Deprecated.
308
+ }, {
309
+ key: "type",
310
+ value: function(t) {
311
+ return this.numberingPlan.type(t);
312
+ }
313
+ // Deprecated.
314
+ }, {
315
+ key: "ext",
316
+ value: function() {
317
+ return this.numberingPlan.ext();
318
+ }
319
+ }, {
320
+ key: "countryCallingCodes",
321
+ value: function() {
322
+ return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
323
+ }
324
+ // Deprecated.
325
+ }, {
326
+ key: "chooseCountryByCountryCallingCode",
327
+ value: function(t) {
328
+ return this.selectNumberingPlan(t);
329
+ }
330
+ }, {
331
+ key: "hasSelectedNumberingPlan",
332
+ value: function() {
333
+ return this.numberingPlan !== void 0;
334
+ }
335
+ }]), e;
336
+ }(), ut = /* @__PURE__ */ function() {
337
+ function e(r, t) {
338
+ D(this, e), this.globalMetadataObject = t, this.metadata = r, Kt.call(this, t.metadata);
339
+ }
340
+ return M(e, [{
341
+ key: "callingCode",
342
+ value: function() {
343
+ return this.metadata[0];
344
+ }
345
+ // Formatting information for regions which share
346
+ // a country calling code is contained by only one region
347
+ // for performance reasons. For example, for NANPA region
348
+ // ("North American Numbering Plan Administration",
349
+ // which includes USA, Canada, Cayman Islands, Bahamas, etc)
350
+ // it will be contained in the metadata for `US`.
351
+ }, {
352
+ key: "getDefaultCountryMetadataForRegion",
353
+ value: function() {
354
+ return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
355
+ }
356
+ // Is always present.
357
+ }, {
358
+ key: "IDDPrefix",
359
+ value: function() {
360
+ if (!(this.v1 || this.v2))
361
+ return this.metadata[1];
362
+ }
363
+ // Is only present when a country supports multiple IDD prefixes.
364
+ }, {
365
+ key: "defaultIDDPrefix",
366
+ value: function() {
367
+ if (!(this.v1 || this.v2))
368
+ return this.metadata[12];
369
+ }
370
+ }, {
371
+ key: "nationalNumberPattern",
372
+ value: function() {
373
+ return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
374
+ }
375
+ // "possible length" data is always present in Google's metadata.
376
+ }, {
377
+ key: "possibleLengths",
378
+ value: function() {
379
+ if (!this.v1)
380
+ return this.metadata[this.v2 ? 2 : 3];
381
+ }
382
+ }, {
383
+ key: "_getFormats",
384
+ value: function(t) {
385
+ return t[this.v1 ? 2 : this.v2 ? 3 : 4];
386
+ }
387
+ // For countries of the same region (e.g. NANPA)
388
+ // formats are all stored in the "main" country for that region.
389
+ // E.g. "RU" and "KZ", "US" and "CA".
390
+ }, {
391
+ key: "formats",
392
+ value: function() {
393
+ var t = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
394
+ return n.map(function(d) {
395
+ return new Me(d, t);
396
+ });
397
+ }
398
+ }, {
399
+ key: "nationalPrefix",
400
+ value: function() {
401
+ return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
402
+ }
403
+ }, {
404
+ key: "_getNationalPrefixFormattingRule",
405
+ value: function(t) {
406
+ return t[this.v1 ? 4 : this.v2 ? 5 : 6];
407
+ }
408
+ // For countries of the same region (e.g. NANPA)
409
+ // national prefix formatting rule is stored in the "main" country for that region.
410
+ // E.g. "RU" and "KZ", "US" and "CA".
411
+ }, {
412
+ key: "nationalPrefixFormattingRule",
413
+ value: function() {
414
+ return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
415
+ }
416
+ }, {
417
+ key: "_nationalPrefixForParsing",
418
+ value: function() {
419
+ return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
420
+ }
421
+ }, {
422
+ key: "nationalPrefixForParsing",
423
+ value: function() {
424
+ return this._nationalPrefixForParsing() || this.nationalPrefix();
425
+ }
426
+ }, {
427
+ key: "nationalPrefixTransformRule",
428
+ value: function() {
429
+ return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
430
+ }
431
+ }, {
432
+ key: "_getNationalPrefixIsOptionalWhenFormatting",
433
+ value: function() {
434
+ return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
435
+ }
436
+ // For countries of the same region (e.g. NANPA)
437
+ // "national prefix is optional when formatting" flag is
438
+ // stored in the "main" country for that region.
439
+ // E.g. "RU" and "KZ", "US" and "CA".
440
+ }, {
441
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
442
+ value: function() {
443
+ return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
444
+ }
445
+ }, {
446
+ key: "leadingDigits",
447
+ value: function() {
448
+ return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
449
+ }
450
+ }, {
451
+ key: "types",
452
+ value: function() {
453
+ return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
454
+ }
455
+ }, {
456
+ key: "hasTypes",
457
+ value: function() {
458
+ return this.types() && this.types().length === 0 ? !1 : !!this.types();
459
+ }
460
+ }, {
461
+ key: "type",
462
+ value: function(t) {
463
+ if (this.hasTypes() && lt(this.types(), t))
464
+ return new ke(lt(this.types(), t), this);
465
+ }
466
+ }, {
467
+ key: "ext",
468
+ value: function() {
469
+ return this.v1 || this.v2 ? $t : this.metadata[13] || $t;
470
+ }
471
+ }]), e;
472
+ }(), Me = /* @__PURE__ */ function() {
473
+ function e(r, t) {
474
+ D(this, e), this._format = r, this.metadata = t;
475
+ }
476
+ return M(e, [{
477
+ key: "pattern",
478
+ value: function() {
479
+ return this._format[0];
480
+ }
481
+ }, {
482
+ key: "format",
483
+ value: function() {
484
+ return this._format[1];
485
+ }
486
+ }, {
487
+ key: "leadingDigitsPatterns",
488
+ value: function() {
489
+ return this._format[2] || [];
490
+ }
491
+ }, {
492
+ key: "nationalPrefixFormattingRule",
493
+ value: function() {
494
+ return this._format[3] || this.metadata.nationalPrefixFormattingRule();
495
+ }
496
+ }, {
497
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
498
+ value: function() {
499
+ return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
500
+ }
501
+ }, {
502
+ key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
503
+ value: function() {
504
+ return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
505
+ }
506
+ // Checks whether national prefix formatting rule contains national prefix.
507
+ }, {
508
+ key: "usesNationalPrefix",
509
+ value: function() {
510
+ return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
511
+ !Le.test(this.nationalPrefixFormattingRule()));
512
+ }
513
+ }, {
514
+ key: "internationalFormat",
515
+ value: function() {
516
+ return this._format[5] || this.format();
517
+ }
518
+ }]), e;
519
+ }(), Le = /^\(?\$1\)?$/, ke = /* @__PURE__ */ function() {
520
+ function e(r, t) {
521
+ D(this, e), this.type = r, this.metadata = t;
522
+ }
523
+ return M(e, [{
524
+ key: "pattern",
525
+ value: function() {
526
+ return this.metadata.v1 ? this.type : this.type[0];
527
+ }
528
+ }, {
529
+ key: "possibleLengths",
530
+ value: function() {
531
+ if (!this.metadata.v1)
532
+ return this.type[1] || this.metadata.possibleLengths();
533
+ }
534
+ }]), e;
535
+ }();
536
+ function lt(e, r) {
537
+ switch (r) {
538
+ case "FIXED_LINE":
539
+ return e[0];
540
+ case "MOBILE":
541
+ return e[1];
542
+ case "TOLL_FREE":
543
+ return e[2];
544
+ case "PREMIUM_RATE":
545
+ return e[3];
546
+ case "PERSONAL_NUMBER":
547
+ return e[4];
548
+ case "VOICEMAIL":
549
+ return e[5];
550
+ case "UAN":
551
+ return e[6];
552
+ case "PAGER":
553
+ return e[7];
554
+ case "VOIP":
555
+ return e[8];
556
+ case "SHARED_COST":
557
+ return e[9];
558
+ }
559
+ }
560
+ function Ge(e) {
561
+ if (!e)
562
+ throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
563
+ if (!x(e) || !x(e.countries))
564
+ 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(x(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + Be(e) + ": " + e, "."));
565
+ }
566
+ var Be = function(r) {
567
+ return X(r);
568
+ };
569
+ function dt(e, r) {
570
+ if (r = new g(r), r.hasCountry(e))
571
+ return r.country(e).countryCallingCode();
572
+ throw new Error("Unknown country: ".concat(e));
573
+ }
574
+ function Ue(e, r) {
575
+ return r.countries.hasOwnProperty(e);
576
+ }
577
+ function Kt(e) {
578
+ var r = e.version;
579
+ typeof r == "number" ? (this.v1 = r === 1, this.v2 = r === 2, this.v3 = r === 3, this.v4 = r === 4) : r ? ot(r, we) === -1 ? this.v2 = !0 : ot(r, Re) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
580
+ }
581
+ var je = ";ext=", S = function(r) {
582
+ return "([".concat(m, "]{1,").concat(r, "})");
583
+ };
584
+ function Yt(e) {
585
+ var r = "20", t = "15", n = "9", d = "6", i = "[  \\t,]*", a = "[:\\..]?[  \\t,-]*", o = "#?", $ = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", l = "[- ]+", h = "[  \\t]*", f = "(?:,{2}|;)", y = je + S(r), s = i + $ + a + S(r) + o, v = i + u + a + S(n) + o, c = l + S(d) + "#", I = h + f + a + S(t) + o, P = h + "(?:,)+" + a + S(n) + o;
586
+ return y + "|" + s + "|" + v + "|" + c + "|" + I + "|" + P;
587
+ }
588
+ var He = "[" + m + "]{" + nt + "}", We = "[" + R + "]{0,1}(?:[" + N + "]*[" + m + "]){3,}[" + N + m + "]*", Ve = new RegExp("^[" + R + "]{0,1}(?:[" + N + "]*[" + m + "]){1,2}$", "i"), Ke = We + // Phone number extensions
589
+ "(?:" + Yt() + ")?", Ye = new RegExp(
590
+ // Either a short two-digit-only phone number
591
+ "^" + He + "$|^" + Ke + "$",
592
+ "i"
593
+ );
594
+ function Xe(e) {
595
+ return e.length >= nt && Ye.test(e);
596
+ }
597
+ function Ze(e) {
598
+ return Ve.test(e);
599
+ }
600
+ var st = new RegExp("(?:" + Yt() + ")$", "i");
601
+ function Je(e) {
602
+ var r = e.search(st);
603
+ if (r < 0)
604
+ return {};
605
+ for (var t = e.slice(0, r), n = e.match(st), d = 1; d < n.length; ) {
606
+ if (n[d])
607
+ return {
608
+ number: t,
609
+ ext: n[d]
610
+ };
611
+ d++;
612
+ }
613
+ }
614
+ function Qe(e, r) {
615
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
616
+ if (t) return (t = t.call(e)).next.bind(t);
617
+ if (Array.isArray(e) || (t = qe(e)) || r) {
618
+ t && (e = t);
619
+ var n = 0;
620
+ return function() {
621
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
622
+ };
623
+ }
624
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
625
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
626
+ }
627
+ function qe(e, r) {
628
+ if (e) {
629
+ if (typeof e == "string") return ft(e, r);
630
+ var t = Object.prototype.toString.call(e).slice(8, -1);
631
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
632
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ft(e, r);
633
+ }
634
+ }
635
+ function ft(e, r) {
636
+ (r == null || r > e.length) && (r = e.length);
637
+ for (var t = 0, n = new Array(r); t < r; t++)
638
+ n[t] = e[t];
639
+ return n;
640
+ }
641
+ var ze = {
642
+ 0: "0",
643
+ 1: "1",
644
+ 2: "2",
645
+ 3: "3",
646
+ 4: "4",
647
+ 5: "5",
648
+ 6: "6",
649
+ 7: "7",
650
+ 8: "8",
651
+ 9: "9",
652
+ "0": "0",
653
+ // Fullwidth digit 0
654
+ "1": "1",
655
+ // Fullwidth digit 1
656
+ "2": "2",
657
+ // Fullwidth digit 2
658
+ "3": "3",
659
+ // Fullwidth digit 3
660
+ "4": "4",
661
+ // Fullwidth digit 4
662
+ "5": "5",
663
+ // Fullwidth digit 5
664
+ "6": "6",
665
+ // Fullwidth digit 6
666
+ "7": "7",
667
+ // Fullwidth digit 7
668
+ "8": "8",
669
+ // Fullwidth digit 8
670
+ "9": "9",
671
+ // Fullwidth digit 9
672
+ "٠": "0",
673
+ // Arabic-indic digit 0
674
+ "١": "1",
675
+ // Arabic-indic digit 1
676
+ "٢": "2",
677
+ // Arabic-indic digit 2
678
+ "٣": "3",
679
+ // Arabic-indic digit 3
680
+ "٤": "4",
681
+ // Arabic-indic digit 4
682
+ "٥": "5",
683
+ // Arabic-indic digit 5
684
+ "٦": "6",
685
+ // Arabic-indic digit 6
686
+ "٧": "7",
687
+ // Arabic-indic digit 7
688
+ "٨": "8",
689
+ // Arabic-indic digit 8
690
+ "٩": "9",
691
+ // Arabic-indic digit 9
692
+ "۰": "0",
693
+ // Eastern-Arabic digit 0
694
+ "۱": "1",
695
+ // Eastern-Arabic digit 1
696
+ "۲": "2",
697
+ // Eastern-Arabic digit 2
698
+ "۳": "3",
699
+ // Eastern-Arabic digit 3
700
+ "۴": "4",
701
+ // Eastern-Arabic digit 4
702
+ "۵": "5",
703
+ // Eastern-Arabic digit 5
704
+ "۶": "6",
705
+ // Eastern-Arabic digit 6
706
+ "۷": "7",
707
+ // Eastern-Arabic digit 7
708
+ "۸": "8",
709
+ // Eastern-Arabic digit 8
710
+ "۹": "9"
711
+ // Eastern-Arabic digit 9
712
+ };
713
+ function Xt(e) {
714
+ return ze[e];
715
+ }
716
+ function O(e) {
717
+ for (var r = "", t = Qe(e.split("")), n; !(n = t()).done; ) {
718
+ var d = n.value, i = Xt(d);
719
+ i && (r += i);
720
+ }
721
+ return r;
722
+ }
723
+ function tr(e, r) {
724
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
725
+ if (t) return (t = t.call(e)).next.bind(t);
726
+ if (Array.isArray(e) || (t = er(e)) || r) {
727
+ t && (e = t);
728
+ var n = 0;
729
+ return function() {
730
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
731
+ };
732
+ }
733
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
734
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
735
+ }
736
+ function er(e, r) {
737
+ if (e) {
738
+ if (typeof e == "string") return ct(e, r);
739
+ var t = Object.prototype.toString.call(e).slice(8, -1);
740
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
741
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ct(e, r);
742
+ }
743
+ }
744
+ function ct(e, r) {
745
+ (r == null || r > e.length) && (r = e.length);
746
+ for (var t = 0, n = new Array(r); t < r; t++)
747
+ n[t] = e[t];
748
+ return n;
749
+ }
750
+ function ht(e) {
751
+ for (var r = "", t = tr(e.split("")), n; !(n = t()).done; ) {
752
+ var d = n.value;
753
+ r += rr(d, r) || "";
754
+ }
755
+ return r;
756
+ }
757
+ function rr(e, r, t) {
758
+ return e === "+" ? r ? void 0 : "+" : Xt(e);
759
+ }
760
+ function L(e, r) {
761
+ return nr(e, void 0, r);
762
+ }
763
+ function nr(e, r, t) {
764
+ var n = t.type(r), d = n && n.possibleLengths() || t.possibleLengths();
765
+ if (!d)
766
+ return "IS_POSSIBLE";
767
+ var i = e.length, a = d[0];
768
+ return a === i ? "IS_POSSIBLE" : a > i ? "TOO_SHORT" : d[d.length - 1] < i ? "TOO_LONG" : d.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
769
+ }
770
+ function dr(e, r, t) {
771
+ if (r === void 0 && (r = {}), t = new g(t), r.v2) {
772
+ if (!e.countryCallingCode)
773
+ throw new Error("Invalid phone number object passed");
774
+ t.selectNumberingPlan(e.countryCallingCode);
775
+ } else {
776
+ if (!e.phone)
777
+ return !1;
778
+ if (e.country) {
779
+ if (!t.hasCountry(e.country))
780
+ throw new Error("Unknown country: ".concat(e.country));
781
+ t.country(e.country);
782
+ } else {
783
+ if (!e.countryCallingCode)
784
+ throw new Error("Invalid phone number object passed");
785
+ t.selectNumberingPlan(e.countryCallingCode);
786
+ }
787
+ }
788
+ if (t.possibleLengths())
789
+ return Zt(e.phone || e.nationalNumber, t);
790
+ if (e.countryCallingCode && t.isNonGeographicCallingCode(e.countryCallingCode))
791
+ return !0;
792
+ throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
793
+ }
794
+ function Zt(e, r) {
795
+ switch (L(e, r)) {
796
+ case "IS_POSSIBLE":
797
+ return !0;
798
+ // This library ignores "local-only" phone numbers (for simplicity).
799
+ // See the readme for more info on what are "local-only" phone numbers.
800
+ // case 'IS_POSSIBLE_LOCAL_ONLY':
801
+ // return !isInternational
802
+ default:
803
+ return !1;
804
+ }
805
+ }
806
+ function b(e, r) {
807
+ return e = e || "", new RegExp("^(?:" + r + ")$").test(e);
808
+ }
809
+ function ir(e, r) {
810
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
811
+ if (t) return (t = t.call(e)).next.bind(t);
812
+ if (Array.isArray(e) || (t = ar(e)) || r) {
813
+ t && (e = t);
814
+ var n = 0;
815
+ return function() {
816
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
817
+ };
818
+ }
819
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
820
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
821
+ }
822
+ function ar(e, r) {
823
+ if (e) {
824
+ if (typeof e == "string") return gt(e, r);
825
+ var t = Object.prototype.toString.call(e).slice(8, -1);
826
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
827
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return gt(e, r);
828
+ }
829
+ }
830
+ function gt(e, r) {
831
+ (r == null || r > e.length) && (r = e.length);
832
+ for (var t = 0, n = new Array(r); t < r; t++)
833
+ n[t] = e[t];
834
+ return n;
835
+ }
836
+ var or = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
837
+ function it(e, r, t) {
838
+ if (r = r || {}, !(!e.country && !e.countryCallingCode)) {
839
+ t = new g(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
840
+ var n = r.v2 ? e.nationalNumber : e.phone;
841
+ if (b(n, t.nationalNumberPattern())) {
842
+ if (U(n, "FIXED_LINE", t))
843
+ return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || U(n, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
844
+ for (var d = ir(or), i; !(i = d()).done; ) {
845
+ var a = i.value;
846
+ if (U(n, a, t))
847
+ return a;
848
+ }
849
+ }
850
+ }
851
+ }
852
+ function U(e, r, t) {
853
+ return r = t.type(r), !r || !r.pattern() || r.possibleLengths() && r.possibleLengths().indexOf(e.length) < 0 ? !1 : b(e, r.pattern());
854
+ }
855
+ function $r(e, r, t) {
856
+ if (r = r || {}, t = new g(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
857
+ return it(e, r, t.metadata) !== void 0;
858
+ var n = r.v2 ? e.nationalNumber : e.phone;
859
+ return b(n, t.nationalNumberPattern());
860
+ }
861
+ function ur(e, r, t) {
862
+ var n = new g(t), d = n.getCountryCodesForCallingCode(e);
863
+ return d ? d.filter(function(i) {
864
+ return lr(r, i, t);
865
+ }) : [];
866
+ }
867
+ function lr(e, r, t) {
868
+ var n = new g(t);
869
+ return n.selectNumberingPlan(r), n.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
870
+ }
871
+ function Jt(e) {
872
+ return e.replace(new RegExp("[".concat(N, "]+"), "g"), " ").trim();
873
+ }
874
+ var Qt = /(\$\d)/;
875
+ function qt(e, r, t) {
876
+ var n = t.useInternationalFormat, d = t.withNationalPrefix;
877
+ t.carrierCode, t.metadata;
878
+ var i = e.replace(new RegExp(r.pattern()), n ? r.internationalFormat() : (
879
+ // This library doesn't use `domestic_carrier_code_formatting_rule`,
880
+ // because that one is only used when formatting phone numbers
881
+ // for dialing from a mobile phone, and this is not a dialing library.
882
+ // carrierCode && format.domesticCarrierCodeFormattingRule()
883
+ // // First, replace the $CC in the formatting rule with the desired carrier code.
884
+ // // Then, replace the $FG in the formatting rule with the first group
885
+ // // and the carrier code combined in the appropriate way.
886
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
887
+ // : (
888
+ // withNationalPrefix && format.nationalPrefixFormattingRule()
889
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
890
+ // : format.format()
891
+ // )
892
+ d && r.nationalPrefixFormattingRule() ? r.format().replace(Qt, r.nationalPrefixFormattingRule()) : r.format()
893
+ ));
894
+ return n ? Jt(i) : i;
895
+ }
896
+ var sr = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
897
+ function fr(e, r, t) {
898
+ var n = new g(t);
899
+ if (n.selectNumberingPlan(e, r), n.defaultIDDPrefix())
900
+ return n.defaultIDDPrefix();
901
+ if (sr.test(n.IDDPrefix()))
902
+ return n.IDDPrefix();
903
+ }
904
+ function cr(e) {
905
+ var r = e.number, t = e.ext;
906
+ if (!r)
907
+ return "";
908
+ if (r[0] !== "+")
909
+ throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
910
+ return "tel:".concat(r).concat(t ? ";ext=" + t : "");
911
+ }
912
+ function hr(e, r) {
913
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
914
+ if (t) return (t = t.call(e)).next.bind(t);
915
+ if (Array.isArray(e) || (t = gr(e)) || r) {
916
+ t && (e = t);
917
+ var n = 0;
918
+ return function() {
919
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
920
+ };
921
+ }
922
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
923
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
924
+ }
925
+ function gr(e, r) {
926
+ if (e) {
927
+ if (typeof e == "string") return mt(e, r);
928
+ var t = Object.prototype.toString.call(e).slice(8, -1);
929
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
930
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return mt(e, r);
931
+ }
932
+ }
933
+ function mt(e, r) {
934
+ (r == null || r > e.length) && (r = e.length);
935
+ for (var t = 0, n = new Array(r); t < r; t++)
936
+ n[t] = e[t];
937
+ return n;
938
+ }
939
+ function yt(e, r) {
940
+ var t = Object.keys(e);
941
+ if (Object.getOwnPropertySymbols) {
942
+ var n = Object.getOwnPropertySymbols(e);
943
+ r && (n = n.filter(function(d) {
944
+ return Object.getOwnPropertyDescriptor(e, d).enumerable;
945
+ })), t.push.apply(t, n);
946
+ }
947
+ return t;
948
+ }
949
+ function vt(e) {
950
+ for (var r = 1; r < arguments.length; r++) {
951
+ var t = arguments[r] != null ? arguments[r] : {};
952
+ r % 2 ? yt(Object(t), !0).forEach(function(n) {
953
+ mr(e, n, t[n]);
954
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : yt(Object(t)).forEach(function(n) {
955
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
956
+ });
957
+ }
958
+ return e;
959
+ }
960
+ function mr(e, r, t) {
961
+ return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
962
+ }
963
+ var pt = {
964
+ formatExtension: function(r, t, n) {
965
+ return "".concat(r).concat(n.ext()).concat(t);
966
+ }
967
+ };
968
+ function yr(e, r, t, n) {
969
+ if (t ? t = vt(vt({}, pt), t) : t = pt, n = new g(n), e.country && e.country !== "001") {
970
+ if (!n.hasCountry(e.country))
971
+ throw new Error("Unknown country: ".concat(e.country));
972
+ n.country(e.country);
973
+ } else if (e.countryCallingCode)
974
+ n.selectNumberingPlan(e.countryCallingCode);
975
+ else return e.phone || "";
976
+ var d = n.countryCallingCode(), i = t.v2 ? e.nationalNumber : e.phone, a;
977
+ switch (r) {
978
+ case "NATIONAL":
979
+ return i ? (a = w(i, e.carrierCode, "NATIONAL", n, t), j(a, e.ext, n, t.formatExtension)) : "";
980
+ case "INTERNATIONAL":
981
+ return i ? (a = w(i, null, "INTERNATIONAL", n, t), a = "+".concat(d, " ").concat(a), j(a, e.ext, n, t.formatExtension)) : "+".concat(d);
982
+ case "E.164":
983
+ return "+".concat(d).concat(i);
984
+ case "RFC3966":
985
+ return cr({
986
+ number: "+".concat(d).concat(i),
987
+ ext: e.ext
988
+ });
989
+ // For reference, here's Google's IDD formatter:
990
+ // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
991
+ // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
992
+ // Who would even need to format phone numbers in IDD format anyway?
993
+ case "IDD":
994
+ if (!t.fromCountry)
995
+ return;
996
+ var o = pr(i, e.carrierCode, d, t.fromCountry, n);
997
+ return j(o, e.ext, n, t.formatExtension);
998
+ default:
999
+ throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(r, '"'));
1000
+ }
1001
+ }
1002
+ function w(e, r, t, n, d) {
1003
+ var i = vr(n.formats(), e);
1004
+ return i ? qt(e, i, {
1005
+ useInternationalFormat: t === "INTERNATIONAL",
1006
+ withNationalPrefix: !(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && d && d.nationalPrefix === !1),
1007
+ carrierCode: r,
1008
+ metadata: n
1009
+ }) : e;
1010
+ }
1011
+ function vr(e, r) {
1012
+ for (var t = hr(e), n; !(n = t()).done; ) {
1013
+ var d = n.value;
1014
+ if (d.leadingDigitsPatterns().length > 0) {
1015
+ var i = d.leadingDigitsPatterns()[d.leadingDigitsPatterns().length - 1];
1016
+ if (r.search(i) !== 0)
1017
+ continue;
1018
+ }
1019
+ if (b(r, d.pattern()))
1020
+ return d;
1021
+ }
1022
+ }
1023
+ function j(e, r, t, n) {
1024
+ return r ? n(e, r, t) : e;
1025
+ }
1026
+ function pr(e, r, t, n, d) {
1027
+ var i = dt(n, d.metadata);
1028
+ if (i === t) {
1029
+ var a = w(e, r, "NATIONAL", d);
1030
+ return t === "1" ? t + " " + a : a;
1031
+ }
1032
+ var o = fr(n, void 0, d.metadata);
1033
+ if (o)
1034
+ return "".concat(o, " ").concat(t, " ").concat(w(e, null, "INTERNATIONAL", d));
1035
+ }
1036
+ function Nt(e, r) {
1037
+ var t = Object.keys(e);
1038
+ if (Object.getOwnPropertySymbols) {
1039
+ var n = Object.getOwnPropertySymbols(e);
1040
+ r && (n = n.filter(function(d) {
1041
+ return Object.getOwnPropertyDescriptor(e, d).enumerable;
1042
+ })), t.push.apply(t, n);
1043
+ }
1044
+ return t;
1045
+ }
1046
+ function Ct(e) {
1047
+ for (var r = 1; r < arguments.length; r++) {
1048
+ var t = arguments[r] != null ? arguments[r] : {};
1049
+ r % 2 ? Nt(Object(t), !0).forEach(function(n) {
1050
+ Nr(e, n, t[n]);
1051
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Nt(Object(t)).forEach(function(n) {
1052
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
1053
+ });
1054
+ }
1055
+ return e;
1056
+ }
1057
+ function Nr(e, r, t) {
1058
+ return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
1059
+ }
1060
+ function Cr(e, r) {
1061
+ if (!(e instanceof r))
1062
+ throw new TypeError("Cannot call a class as a function");
1063
+ }
1064
+ function br(e, r) {
1065
+ for (var t = 0; t < r.length; t++) {
1066
+ var n = r[t];
1067
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
1068
+ }
1069
+ }
1070
+ function Pr(e, r, t) {
1071
+ return r && br(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1072
+ }
1073
+ var at = /* @__PURE__ */ function() {
1074
+ function e(r, t, n) {
1075
+ if (Cr(this, e), !r)
1076
+ throw new TypeError("`country` or `countryCallingCode` not passed");
1077
+ if (!t)
1078
+ throw new TypeError("`nationalNumber` not passed");
1079
+ if (!n)
1080
+ throw new TypeError("`metadata` not passed");
1081
+ var d = Er(r, n), i = d.country, a = d.countryCallingCode;
1082
+ this.country = i, this.countryCallingCode = a, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
1083
+ return n;
1084
+ };
1085
+ }
1086
+ return Pr(e, [{
1087
+ key: "setExt",
1088
+ value: function(t) {
1089
+ this.ext = t;
1090
+ }
1091
+ }, {
1092
+ key: "getPossibleCountries",
1093
+ value: function() {
1094
+ return this.country ? [this.country] : ur(this.countryCallingCode, this.nationalNumber, this.getMetadata());
1095
+ }
1096
+ }, {
1097
+ key: "isPossible",
1098
+ value: function() {
1099
+ return dr(this, {
1100
+ v2: !0
1101
+ }, this.getMetadata());
1102
+ }
1103
+ }, {
1104
+ key: "isValid",
1105
+ value: function() {
1106
+ return $r(this, {
1107
+ v2: !0
1108
+ }, this.getMetadata());
1109
+ }
1110
+ }, {
1111
+ key: "isNonGeographic",
1112
+ value: function() {
1113
+ var t = new g(this.getMetadata());
1114
+ return t.isNonGeographicCallingCode(this.countryCallingCode);
1115
+ }
1116
+ }, {
1117
+ key: "isEqual",
1118
+ value: function(t) {
1119
+ return this.number === t.number && this.ext === t.ext;
1120
+ }
1121
+ // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
1122
+ // but later it was found out that it doesn't include the possible `TOO_SHORT` result
1123
+ // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
1124
+ // so eventually I simply commented out this method from the `PhoneNumber` class
1125
+ // and just left the `validatePhoneNumberLength()` function, even though that one would require
1126
+ // and additional step to also validate the actual country / calling code of the phone number.
1127
+ // validateLength() {
1128
+ // const metadata = new Metadata(this.getMetadata())
1129
+ // metadata.selectNumberingPlan(this.countryCallingCode)
1130
+ // const result = checkNumberLength(this.nationalNumber, metadata)
1131
+ // if (result !== 'IS_POSSIBLE') {
1132
+ // return result
1133
+ // }
1134
+ // }
1135
+ }, {
1136
+ key: "getType",
1137
+ value: function() {
1138
+ return it(this, {
1139
+ v2: !0
1140
+ }, this.getMetadata());
1141
+ }
1142
+ }, {
1143
+ key: "format",
1144
+ value: function(t, n) {
1145
+ return yr(this, t, n ? Ct(Ct({}, n), {}, {
1146
+ v2: !0
1147
+ }) : {
1148
+ v2: !0
1149
+ }, this.getMetadata());
1150
+ }
1151
+ }, {
1152
+ key: "formatNational",
1153
+ value: function(t) {
1154
+ return this.format("NATIONAL", t);
1155
+ }
1156
+ }, {
1157
+ key: "formatInternational",
1158
+ value: function(t) {
1159
+ return this.format("INTERNATIONAL", t);
1160
+ }
1161
+ }, {
1162
+ key: "getURI",
1163
+ value: function(t) {
1164
+ return this.format("RFC3966", t);
1165
+ }
1166
+ }]), e;
1167
+ }(), Sr = function(r) {
1168
+ return /^[A-Z]{2}$/.test(r);
1169
+ };
1170
+ function Er(e, r) {
1171
+ var t, n, d = new g(r);
1172
+ return Sr(e) ? (t = e, d.selectNumberingPlan(t), n = d.countryCallingCode()) : n = e, {
1173
+ country: t,
1174
+ countryCallingCode: n
1175
+ };
1176
+ }
1177
+ var xr = new RegExp("([" + m + "])");
1178
+ function zt(e, r, t, n) {
1179
+ if (r) {
1180
+ var d = new g(n);
1181
+ d.selectNumberingPlan(r, t);
1182
+ var i = new RegExp(d.IDDPrefix());
1183
+ if (e.search(i) === 0) {
1184
+ e = e.slice(e.match(i)[0].length);
1185
+ var a = e.match(xr);
1186
+ if (!(a && a[1] != null && a[1].length > 0 && a[1] === "0"))
1187
+ return e;
1188
+ }
1189
+ }
1190
+ }
1191
+ function Z(e, r) {
1192
+ if (e && r.numberingPlan.nationalPrefixForParsing()) {
1193
+ var t = new RegExp("^(?:" + r.numberingPlan.nationalPrefixForParsing() + ")"), n = t.exec(e);
1194
+ if (n) {
1195
+ var d, i, a = n.length - 1, o = a > 0 && n[a];
1196
+ if (r.nationalPrefixTransformRule() && o)
1197
+ d = e.replace(t, r.nationalPrefixTransformRule()), a > 1 && (i = n[1]);
1198
+ else {
1199
+ var $ = n[0];
1200
+ d = e.slice($.length), o && (i = n[1]);
1201
+ }
1202
+ var u;
1203
+ if (o) {
1204
+ var l = e.indexOf(n[1]), h = e.slice(0, l);
1205
+ h === r.numberingPlan.nationalPrefix() && (u = r.numberingPlan.nationalPrefix());
1206
+ } else
1207
+ u = n[0];
1208
+ return {
1209
+ nationalNumber: d,
1210
+ nationalPrefix: u,
1211
+ carrierCode: i
1212
+ };
1213
+ }
1214
+ }
1215
+ return {
1216
+ nationalNumber: e
1217
+ };
1218
+ }
1219
+ function J(e, r) {
1220
+ var t = Z(e, r), n = t.carrierCode, d = t.nationalNumber;
1221
+ if (d !== e) {
1222
+ if (!Ar(e, d, r))
1223
+ return {
1224
+ nationalNumber: e
1225
+ };
1226
+ if (r.possibleLengths() && !_r(d, r))
1227
+ return {
1228
+ nationalNumber: e
1229
+ };
1230
+ }
1231
+ return {
1232
+ nationalNumber: d,
1233
+ carrierCode: n
1234
+ };
1235
+ }
1236
+ function Ar(e, r, t) {
1237
+ return !(b(e, t.nationalNumberPattern()) && !b(r, t.nationalNumberPattern()));
1238
+ }
1239
+ function _r(e, r) {
1240
+ switch (L(e, r)) {
1241
+ case "TOO_SHORT":
1242
+ case "INVALID_LENGTH":
1243
+ return !1;
1244
+ default:
1245
+ return !0;
1246
+ }
1247
+ }
1248
+ function te(e, r, t, n) {
1249
+ var d = r ? dt(r, n) : t;
1250
+ if (e.indexOf(d) === 0) {
1251
+ n = new g(n), n.selectNumberingPlan(r, t);
1252
+ var i = e.slice(d.length), a = J(i, n), o = a.nationalNumber, $ = J(e, n), u = $.nationalNumber;
1253
+ if (!b(u, n.nationalNumberPattern()) && b(o, n.nationalNumberPattern()) || L(u, n) === "TOO_LONG")
1254
+ return {
1255
+ countryCallingCode: d,
1256
+ number: i
1257
+ };
1258
+ }
1259
+ return {
1260
+ number: e
1261
+ };
1262
+ }
1263
+ function ee(e, r, t, n) {
1264
+ if (!e)
1265
+ return {};
1266
+ var d;
1267
+ if (e[0] !== "+") {
1268
+ var i = zt(e, r, t, n);
1269
+ if (i && i !== e)
1270
+ d = !0, e = "+" + i;
1271
+ else {
1272
+ if (r || t) {
1273
+ var a = te(e, r, t, n), o = a.countryCallingCode, $ = a.number;
1274
+ if (o)
1275
+ return {
1276
+ countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
1277
+ countryCallingCode: o,
1278
+ number: $
1279
+ };
1280
+ }
1281
+ return {
1282
+ // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
1283
+ // countryCallingCodeSource: 'UNSPECIFIED',
1284
+ number: e
1285
+ };
1286
+ }
1287
+ }
1288
+ if (e[1] === "0")
1289
+ return {};
1290
+ n = new g(n);
1291
+ for (var u = 2; u - 1 <= Se && u <= e.length; ) {
1292
+ var l = e.slice(1, u);
1293
+ if (n.hasCallingCode(l))
1294
+ return n.selectNumberingPlan(l), {
1295
+ countryCallingCodeSource: d ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
1296
+ countryCallingCode: l,
1297
+ number: e.slice(u)
1298
+ };
1299
+ u++;
1300
+ }
1301
+ return {};
1302
+ }
1303
+ function Ir(e, r) {
1304
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1305
+ if (t) return (t = t.call(e)).next.bind(t);
1306
+ if (Array.isArray(e) || (t = Fr(e)) || r) {
1307
+ t && (e = t);
1308
+ var n = 0;
1309
+ return function() {
1310
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
1311
+ };
1312
+ }
1313
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1314
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1315
+ }
1316
+ function Fr(e, r) {
1317
+ if (e) {
1318
+ if (typeof e == "string") return bt(e, r);
1319
+ var t = Object.prototype.toString.call(e).slice(8, -1);
1320
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1321
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return bt(e, r);
1322
+ }
1323
+ }
1324
+ function bt(e, r) {
1325
+ (r == null || r > e.length) && (r = e.length);
1326
+ for (var t = 0, n = new Array(r); t < r; t++)
1327
+ n[t] = e[t];
1328
+ return n;
1329
+ }
1330
+ function re(e, r) {
1331
+ var t = r.countries, n = r.defaultCountry, d = r.metadata;
1332
+ d = new g(d);
1333
+ for (var i = [], a = Ir(t), o; !(o = a()).done; ) {
1334
+ var $ = o.value;
1335
+ if (d.country($), d.leadingDigits()) {
1336
+ if (e && e.search(d.leadingDigits()) === 0)
1337
+ return $;
1338
+ } else if (it({
1339
+ phone: e,
1340
+ country: $
1341
+ }, void 0, d.metadata))
1342
+ if (n) {
1343
+ if ($ === n)
1344
+ return $;
1345
+ i.push($);
1346
+ } else
1347
+ return $;
1348
+ }
1349
+ if (i.length > 0)
1350
+ return i[0];
1351
+ }
1352
+ function ne(e, r) {
1353
+ var t = r.nationalNumber, n = r.defaultCountry, d = r.metadata, i = d.getCountryCodesForCallingCode(e);
1354
+ if (i)
1355
+ return i.length === 1 ? i[0] : re(t, {
1356
+ countries: i,
1357
+ defaultCountry: n,
1358
+ metadata: d.metadata
1359
+ });
1360
+ }
1361
+ var de = "+", Tr = "[\\-\\.\\(\\)]?", Pt = "([" + m + "]|" + Tr + ")", Or = "^\\" + de + Pt + "*[" + m + "]" + Pt + "*$", wr = new RegExp(Or, "g"), Q = m, Rr = "[" + Q + "]+((\\-)*[" + Q + "])*", Dr = "a-zA-Z", Mr = "[" + Dr + "]+((\\-)*[" + Q + "])*", Lr = "^(" + Rr + "\\.)*" + Mr + "\\.?$", kr = new RegExp(Lr, "g"), St = "tel:", q = ";phone-context=", Gr = ";isub=";
1362
+ function Br(e) {
1363
+ var r = e.indexOf(q);
1364
+ if (r < 0)
1365
+ return null;
1366
+ var t = r + q.length;
1367
+ if (t >= e.length)
1368
+ return "";
1369
+ var n = e.indexOf(";", t);
1370
+ return n >= 0 ? e.substring(t, n) : e.substring(t);
1371
+ }
1372
+ function Ur(e) {
1373
+ return e === null ? !0 : e.length === 0 ? !1 : wr.test(e) || kr.test(e);
1374
+ }
1375
+ function jr(e, r) {
1376
+ var t = r.extractFormattedPhoneNumber, n = Br(e);
1377
+ if (!Ur(n))
1378
+ throw new C("NOT_A_NUMBER");
1379
+ var d;
1380
+ if (n === null)
1381
+ d = t(e) || "";
1382
+ else {
1383
+ d = "", n.charAt(0) === de && (d += n);
1384
+ var i = e.indexOf(St), a;
1385
+ i >= 0 ? a = i + St.length : a = 0;
1386
+ var o = e.indexOf(q);
1387
+ d += e.substring(a, o);
1388
+ }
1389
+ var $ = d.indexOf(Gr);
1390
+ if ($ > 0 && (d = d.substring(0, $)), d !== "")
1391
+ return d;
1392
+ }
1393
+ var Hr = 250, Wr = new RegExp("[" + R + m + "]"), Vr = new RegExp("[^" + m + "#]+$");
1394
+ function Kr(e, r, t) {
1395
+ if (r = r || {}, t = new g(t), r.defaultCountry && !t.hasCountry(r.defaultCountry))
1396
+ throw r.v2 ? new C("INVALID_COUNTRY") : new Error("Unknown country: ".concat(r.defaultCountry));
1397
+ var n = Xr(e, r.v2, r.extract), d = n.number, i = n.ext, a = n.error;
1398
+ if (!d) {
1399
+ if (r.v2)
1400
+ throw a === "TOO_SHORT" ? new C("TOO_SHORT") : new C("NOT_A_NUMBER");
1401
+ return {};
1402
+ }
1403
+ var o = Jr(d, r.defaultCountry, r.defaultCallingCode, t), $ = o.country, u = o.nationalNumber, l = o.countryCallingCode, h = o.countryCallingCodeSource, f = o.carrierCode;
1404
+ if (!t.hasSelectedNumberingPlan()) {
1405
+ if (r.v2)
1406
+ throw new C("INVALID_COUNTRY");
1407
+ return {};
1408
+ }
1409
+ if (!u || u.length < nt) {
1410
+ if (r.v2)
1411
+ throw new C("TOO_SHORT");
1412
+ return {};
1413
+ }
1414
+ if (u.length > Pe) {
1415
+ if (r.v2)
1416
+ throw new C("TOO_LONG");
1417
+ return {};
1418
+ }
1419
+ if (r.v2) {
1420
+ var y = new at(l, u, t.metadata);
1421
+ return $ && (y.country = $), f && (y.carrierCode = f), i && (y.ext = i), y.__countryCallingCodeSource = h, y;
1422
+ }
1423
+ var s = (r.extended ? t.hasSelectedNumberingPlan() : $) ? b(u, t.nationalNumberPattern()) : !1;
1424
+ return r.extended ? {
1425
+ country: $,
1426
+ countryCallingCode: l,
1427
+ carrierCode: f,
1428
+ valid: s,
1429
+ possible: s ? !0 : !!(r.extended === !0 && t.possibleLengths() && Zt(u, t)),
1430
+ phone: u,
1431
+ ext: i
1432
+ } : s ? Zr($, u, i) : {};
1433
+ }
1434
+ function Yr(e, r, t) {
1435
+ if (e) {
1436
+ if (e.length > Hr) {
1437
+ if (t)
1438
+ throw new C("TOO_LONG");
1439
+ return;
1440
+ }
1441
+ if (r === !1)
1442
+ return e;
1443
+ var n = e.search(Wr);
1444
+ if (!(n < 0))
1445
+ return e.slice(n).replace(Vr, "");
1446
+ }
1447
+ }
1448
+ function Xr(e, r, t) {
1449
+ var n = jr(e, {
1450
+ extractFormattedPhoneNumber: function(a) {
1451
+ return Yr(a, t, r);
1452
+ }
1453
+ });
1454
+ if (!n)
1455
+ return {};
1456
+ if (!Xe(n))
1457
+ return Ze(n) ? {
1458
+ error: "TOO_SHORT"
1459
+ } : {};
1460
+ var d = Je(n);
1461
+ return d.ext ? d : {
1462
+ number: n
1463
+ };
1464
+ }
1465
+ function Zr(e, r, t) {
1466
+ var n = {
1467
+ country: e,
1468
+ phone: r
1469
+ };
1470
+ return t && (n.ext = t), n;
1471
+ }
1472
+ function Jr(e, r, t, n) {
1473
+ var d = ee(ht(e), r, t, n.metadata), i = d.countryCallingCodeSource, a = d.countryCallingCode, o = d.number, $;
1474
+ if (a)
1475
+ n.selectNumberingPlan(a);
1476
+ else if (o && (r || t))
1477
+ n.selectNumberingPlan(r, t), r && ($ = r), a = t || dt(r, n.metadata);
1478
+ else return {};
1479
+ if (!o)
1480
+ return {
1481
+ countryCallingCodeSource: i,
1482
+ countryCallingCode: a
1483
+ };
1484
+ var u = J(ht(o), n), l = u.nationalNumber, h = u.carrierCode, f = ne(a, {
1485
+ nationalNumber: l,
1486
+ defaultCountry: r,
1487
+ metadata: n
1488
+ });
1489
+ return f && ($ = f, f === "001" || n.country($)), {
1490
+ country: $,
1491
+ countryCallingCode: a,
1492
+ countryCallingCodeSource: i,
1493
+ nationalNumber: l,
1494
+ carrierCode: h
1495
+ };
1496
+ }
1497
+ function Et(e, r) {
1498
+ var t = Object.keys(e);
1499
+ if (Object.getOwnPropertySymbols) {
1500
+ var n = Object.getOwnPropertySymbols(e);
1501
+ r && (n = n.filter(function(d) {
1502
+ return Object.getOwnPropertyDescriptor(e, d).enumerable;
1503
+ })), t.push.apply(t, n);
1504
+ }
1505
+ return t;
1506
+ }
1507
+ function xt(e) {
1508
+ for (var r = 1; r < arguments.length; r++) {
1509
+ var t = arguments[r] != null ? arguments[r] : {};
1510
+ r % 2 ? Et(Object(t), !0).forEach(function(n) {
1511
+ Qr(e, n, t[n]);
1512
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Et(Object(t)).forEach(function(n) {
1513
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
1514
+ });
1515
+ }
1516
+ return e;
1517
+ }
1518
+ function Qr(e, r, t) {
1519
+ return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
1520
+ }
1521
+ function qr(e, r, t) {
1522
+ return Kr(e, xt(xt({}, r), {}, {
1523
+ v2: !0
1524
+ }), t);
1525
+ }
1526
+ function At(e, r) {
1527
+ var t = Object.keys(e);
1528
+ if (Object.getOwnPropertySymbols) {
1529
+ var n = Object.getOwnPropertySymbols(e);
1530
+ r && (n = n.filter(function(d) {
1531
+ return Object.getOwnPropertyDescriptor(e, d).enumerable;
1532
+ })), t.push.apply(t, n);
1533
+ }
1534
+ return t;
1535
+ }
1536
+ function zr(e) {
1537
+ for (var r = 1; r < arguments.length; r++) {
1538
+ var t = arguments[r] != null ? arguments[r] : {};
1539
+ r % 2 ? At(Object(t), !0).forEach(function(n) {
1540
+ tn(e, n, t[n]);
1541
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : At(Object(t)).forEach(function(n) {
1542
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
1543
+ });
1544
+ }
1545
+ return e;
1546
+ }
1547
+ function tn(e, r, t) {
1548
+ return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
1549
+ }
1550
+ function en(e, r) {
1551
+ return an(e) || dn(e, r) || nn(e, r) || rn();
1552
+ }
1553
+ function rn() {
1554
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1555
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1556
+ }
1557
+ function nn(e, r) {
1558
+ if (e) {
1559
+ if (typeof e == "string") return _t(e, r);
1560
+ var t = Object.prototype.toString.call(e).slice(8, -1);
1561
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1562
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return _t(e, r);
1563
+ }
1564
+ }
1565
+ function _t(e, r) {
1566
+ (r == null || r > e.length) && (r = e.length);
1567
+ for (var t = 0, n = new Array(r); t < r; t++)
1568
+ n[t] = e[t];
1569
+ return n;
1570
+ }
1571
+ function dn(e, r) {
1572
+ var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1573
+ if (t != null) {
1574
+ var n = [], d = !0, i = !1, a, o;
1575
+ try {
1576
+ for (t = t.call(e); !(d = (a = t.next()).done) && (n.push(a.value), !(r && n.length === r)); d = !0)
1577
+ ;
1578
+ } catch ($) {
1579
+ i = !0, o = $;
1580
+ } finally {
1581
+ try {
1582
+ !d && t.return != null && t.return();
1583
+ } finally {
1584
+ if (i) throw o;
1585
+ }
1586
+ }
1587
+ return n;
1588
+ }
1589
+ }
1590
+ function an(e) {
1591
+ if (Array.isArray(e)) return e;
1592
+ }
1593
+ function on(e) {
1594
+ var r = Array.prototype.slice.call(e), t = en(r, 4), n = t[0], d = t[1], i = t[2], a = t[3], o, $, u;
1595
+ if (typeof n == "string")
1596
+ o = n;
1597
+ else throw new TypeError("A text for parsing must be a string.");
1598
+ if (!d || typeof d == "string")
1599
+ a ? ($ = i, u = a) : ($ = void 0, u = i), d && ($ = zr({
1600
+ defaultCountry: d
1601
+ }, $));
1602
+ else if (x(d))
1603
+ i ? ($ = d, u = i) : u = d;
1604
+ else throw new Error("Invalid second argument: ".concat(d));
1605
+ return {
1606
+ text: o,
1607
+ options: $,
1608
+ metadata: u
1609
+ };
1610
+ }
1611
+ function It(e, r) {
1612
+ var t = Object.keys(e);
1613
+ if (Object.getOwnPropertySymbols) {
1614
+ var n = Object.getOwnPropertySymbols(e);
1615
+ r && (n = n.filter(function(d) {
1616
+ return Object.getOwnPropertyDescriptor(e, d).enumerable;
1617
+ })), t.push.apply(t, n);
1618
+ }
1619
+ return t;
1620
+ }
1621
+ function Ft(e) {
1622
+ for (var r = 1; r < arguments.length; r++) {
1623
+ var t = arguments[r] != null ? arguments[r] : {};
1624
+ r % 2 ? It(Object(t), !0).forEach(function(n) {
1625
+ $n(e, n, t[n]);
1626
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : It(Object(t)).forEach(function(n) {
1627
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
1628
+ });
1629
+ }
1630
+ return e;
1631
+ }
1632
+ function $n(e, r, t) {
1633
+ return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
1634
+ }
1635
+ function un(e, r, t) {
1636
+ r && r.defaultCountry && !Ue(r.defaultCountry, t) && (r = Ft(Ft({}, r), {}, {
1637
+ defaultCountry: void 0
1638
+ }));
1639
+ try {
1640
+ return qr(e, r, t);
1641
+ } catch (n) {
1642
+ if (!(n instanceof C)) throw n;
1643
+ }
1644
+ }
1645
+ function ln() {
1646
+ var e = on(arguments), r = e.text, t = e.options, n = e.metadata;
1647
+ return un(r, t, n);
1648
+ }
1649
+ function sn(e, r) {
1650
+ if (!(e instanceof r))
1651
+ throw new TypeError("Cannot call a class as a function");
1652
+ }
1653
+ function fn(e, r) {
1654
+ for (var t = 0; t < r.length; t++) {
1655
+ var n = r[t];
1656
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
1657
+ }
1658
+ }
1659
+ function cn(e, r, t) {
1660
+ return r && fn(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1661
+ }
1662
+ var hn = /* @__PURE__ */ function() {
1663
+ function e(r) {
1664
+ var t = r.onCountryChange, n = r.onCallingCodeChange;
1665
+ sn(this, e), this.onCountryChange = t, this.onCallingCodeChange = n;
1666
+ }
1667
+ return cn(e, [{
1668
+ key: "reset",
1669
+ value: function(t) {
1670
+ var n = t.country, d = t.callingCode;
1671
+ this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(n, d);
1672
+ }
1673
+ }, {
1674
+ key: "resetNationalSignificantNumber",
1675
+ value: function() {
1676
+ this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberMatchesInput = !0, this.nationalPrefix = void 0, this.carrierCode = void 0, this.complexPrefixBeforeNationalSignificantNumber = void 0;
1677
+ }
1678
+ }, {
1679
+ key: "update",
1680
+ value: function(t) {
1681
+ for (var n = 0, d = Object.keys(t); n < d.length; n++) {
1682
+ var i = d[n];
1683
+ this[i] = t[i];
1684
+ }
1685
+ }
1686
+ }, {
1687
+ key: "initCountryAndCallingCode",
1688
+ value: function(t, n) {
1689
+ this.setCountry(t), this.setCallingCode(n);
1690
+ }
1691
+ }, {
1692
+ key: "setCountry",
1693
+ value: function(t) {
1694
+ this.country = t, this.onCountryChange(t);
1695
+ }
1696
+ }, {
1697
+ key: "setCallingCode",
1698
+ value: function(t) {
1699
+ this.callingCode = t, this.onCallingCodeChange(t, this.country);
1700
+ }
1701
+ }, {
1702
+ key: "startInternationalNumber",
1703
+ value: function(t, n) {
1704
+ this.international = !0, this.initCountryAndCallingCode(t, n);
1705
+ }
1706
+ }, {
1707
+ key: "appendDigits",
1708
+ value: function(t) {
1709
+ this.digits += t;
1710
+ }
1711
+ }, {
1712
+ key: "appendNationalSignificantNumberDigits",
1713
+ value: function(t) {
1714
+ this.nationalSignificantNumber += t;
1715
+ }
1716
+ /**
1717
+ * Returns the part of `this.digits` that corresponds to the national number.
1718
+ * Basically, all digits that have been input by the user, except for the
1719
+ * international prefix and the country calling code part
1720
+ * (if the number is an international one).
1721
+ * @return {string}
1722
+ */
1723
+ }, {
1724
+ key: "getNationalDigits",
1725
+ value: function() {
1726
+ return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
1727
+ }
1728
+ }, {
1729
+ key: "getDigitsWithoutInternationalPrefix",
1730
+ value: function() {
1731
+ return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
1732
+ }
1733
+ }]), e;
1734
+ }();
1735
+ function gn(e, r) {
1736
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1737
+ if (t) return (t = t.call(e)).next.bind(t);
1738
+ if (Array.isArray(e) || (t = mn(e)) || r) {
1739
+ t && (e = t);
1740
+ var n = 0;
1741
+ return function() {
1742
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
1743
+ };
1744
+ }
1745
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1746
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1747
+ }
1748
+ function mn(e, r) {
1749
+ if (e) {
1750
+ if (typeof e == "string") return Tt(e, r);
1751
+ var t = Object.prototype.toString.call(e).slice(8, -1);
1752
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1753
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Tt(e, r);
1754
+ }
1755
+ }
1756
+ function Tt(e, r) {
1757
+ (r == null || r > e.length) && (r = e.length);
1758
+ for (var t = 0, n = new Array(r); t < r; t++)
1759
+ n[t] = e[t];
1760
+ return n;
1761
+ }
1762
+ var p = "x", H = new RegExp(p);
1763
+ function T(e, r) {
1764
+ if (r < 1)
1765
+ return "";
1766
+ for (var t = ""; r > 1; )
1767
+ r & 1 && (t += e), r >>= 1, e += e;
1768
+ return t + e;
1769
+ }
1770
+ function Ot(e, r) {
1771
+ return e[r] === ")" && r++, yn(e.slice(0, r));
1772
+ }
1773
+ function yn(e) {
1774
+ for (var r = [], t = 0; t < e.length; )
1775
+ e[t] === "(" ? r.push(t) : e[t] === ")" && r.pop(), t++;
1776
+ var n = 0, d = "";
1777
+ r.push(e.length);
1778
+ for (var i = 0, a = r; i < a.length; i++) {
1779
+ var o = a[i];
1780
+ d += e.slice(n, o), n = o + 1;
1781
+ }
1782
+ return d;
1783
+ }
1784
+ function vn(e, r, t) {
1785
+ for (var n = gn(t.split("")), d; !(d = n()).done; ) {
1786
+ var i = d.value;
1787
+ if (e.slice(r + 1).search(H) < 0)
1788
+ return;
1789
+ r = e.search(H), e = e.replace(H, i);
1790
+ }
1791
+ return [e, r];
1792
+ }
1793
+ function pn(e, r, t) {
1794
+ var n = t.metadata, d = t.shouldTryNationalPrefixFormattingRule, i = t.getSeparatorAfterNationalPrefix, a = new RegExp("^(?:".concat(r.pattern(), ")$"));
1795
+ if (a.test(e.nationalSignificantNumber))
1796
+ return Cn(e, r, {
1797
+ metadata: n,
1798
+ shouldTryNationalPrefixFormattingRule: d,
1799
+ getSeparatorAfterNationalPrefix: i
1800
+ });
1801
+ }
1802
+ function Nn(e, r) {
1803
+ return L(e, r) === "IS_POSSIBLE";
1804
+ }
1805
+ function Cn(e, r, t) {
1806
+ var n = t.metadata, d = t.shouldTryNationalPrefixFormattingRule, i = t.getSeparatorAfterNationalPrefix;
1807
+ if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, d(r)) {
1808
+ var a = wt(e, r, {
1809
+ useNationalPrefixFormattingRule: !0,
1810
+ getSeparatorAfterNationalPrefix: i,
1811
+ metadata: n
1812
+ });
1813
+ if (a)
1814
+ return a;
1815
+ }
1816
+ return wt(e, r, {
1817
+ useNationalPrefixFormattingRule: !1,
1818
+ getSeparatorAfterNationalPrefix: i,
1819
+ metadata: n
1820
+ });
1821
+ }
1822
+ function wt(e, r, t) {
1823
+ var n = t.metadata, d = t.useNationalPrefixFormattingRule, i = t.getSeparatorAfterNationalPrefix, a = qt(e.nationalSignificantNumber, r, {
1824
+ carrierCode: e.carrierCode,
1825
+ useInternationalFormat: e.international,
1826
+ withNationalPrefix: d,
1827
+ metadata: n
1828
+ });
1829
+ if (d || (e.nationalPrefix ? a = e.nationalPrefix + i(r) + a : e.complexPrefixBeforeNationalSignificantNumber && (a = e.complexPrefixBeforeNationalSignificantNumber + " " + a)), bn(a, e))
1830
+ return a;
1831
+ }
1832
+ function bn(e, r) {
1833
+ return O(e) === r.getNationalDigits();
1834
+ }
1835
+ function Pn(e, r) {
1836
+ if (!(e instanceof r))
1837
+ throw new TypeError("Cannot call a class as a function");
1838
+ }
1839
+ function Sn(e, r) {
1840
+ for (var t = 0; t < r.length; t++) {
1841
+ var n = r[t];
1842
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
1843
+ }
1844
+ }
1845
+ function En(e, r, t) {
1846
+ return r && Sn(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1847
+ }
1848
+ var xn = /* @__PURE__ */ function() {
1849
+ function e() {
1850
+ Pn(this, e);
1851
+ }
1852
+ return En(e, [{
1853
+ key: "parse",
1854
+ value: function(t) {
1855
+ if (this.context = [{
1856
+ or: !0,
1857
+ instructions: []
1858
+ }], this.parsePattern(t), this.context.length !== 1)
1859
+ throw new Error("Non-finalized contexts left when pattern parse ended");
1860
+ var n = this.context[0], d = n.branches, i = n.instructions;
1861
+ if (d)
1862
+ return {
1863
+ op: "|",
1864
+ args: d.concat([W(i)])
1865
+ };
1866
+ if (i.length === 0)
1867
+ throw new Error("Pattern is required");
1868
+ return i.length === 1 ? i[0] : i;
1869
+ }
1870
+ }, {
1871
+ key: "startContext",
1872
+ value: function(t) {
1873
+ this.context.push(t);
1874
+ }
1875
+ }, {
1876
+ key: "endContext",
1877
+ value: function() {
1878
+ this.context.pop();
1879
+ }
1880
+ }, {
1881
+ key: "getContext",
1882
+ value: function() {
1883
+ return this.context[this.context.length - 1];
1884
+ }
1885
+ }, {
1886
+ key: "parsePattern",
1887
+ value: function(t) {
1888
+ if (!t)
1889
+ throw new Error("Pattern is required");
1890
+ var n = t.match(In);
1891
+ if (!n) {
1892
+ if (_n.test(t))
1893
+ throw new Error("Illegal characters found in a pattern: ".concat(t));
1894
+ this.getContext().instructions = this.getContext().instructions.concat(t.split(""));
1895
+ return;
1896
+ }
1897
+ var d = n[1], i = t.slice(0, n.index), a = t.slice(n.index + d.length);
1898
+ switch (d) {
1899
+ case "(?:":
1900
+ i && this.parsePattern(i), this.startContext({
1901
+ or: !0,
1902
+ instructions: [],
1903
+ branches: []
1904
+ });
1905
+ break;
1906
+ case ")":
1907
+ if (!this.getContext().or)
1908
+ throw new Error('")" operator must be preceded by "(?:" operator');
1909
+ if (i && this.parsePattern(i), this.getContext().instructions.length === 0)
1910
+ throw new Error('No instructions found after "|" operator in an "or" group');
1911
+ var o = this.getContext(), $ = o.branches;
1912
+ $.push(W(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
1913
+ op: "|",
1914
+ args: $
1915
+ });
1916
+ break;
1917
+ case "|":
1918
+ if (!this.getContext().or)
1919
+ throw new Error('"|" operator can only be used inside "or" groups');
1920
+ if (i && this.parsePattern(i), !this.getContext().branches)
1921
+ if (this.context.length === 1)
1922
+ this.getContext().branches = [];
1923
+ else
1924
+ throw new Error('"branches" not found in an "or" group context');
1925
+ this.getContext().branches.push(W(this.getContext().instructions)), this.getContext().instructions = [];
1926
+ break;
1927
+ case "[":
1928
+ i && this.parsePattern(i), this.startContext({
1929
+ oneOfSet: !0
1930
+ });
1931
+ break;
1932
+ case "]":
1933
+ if (!this.getContext().oneOfSet)
1934
+ throw new Error('"]" operator must be preceded by "[" operator');
1935
+ this.endContext(), this.getContext().instructions.push({
1936
+ op: "[]",
1937
+ args: An(i)
1938
+ });
1939
+ break;
1940
+ /* istanbul ignore next */
1941
+ default:
1942
+ throw new Error("Unknown operator: ".concat(d));
1943
+ }
1944
+ a && this.parsePattern(a);
1945
+ }
1946
+ }]), e;
1947
+ }();
1948
+ function An(e) {
1949
+ for (var r = [], t = 0; t < e.length; ) {
1950
+ if (e[t] === "-") {
1951
+ if (t === 0 || t === e.length - 1)
1952
+ throw new Error("Couldn't parse a one-of set pattern: ".concat(e));
1953
+ for (var n = e[t - 1].charCodeAt(0) + 1, d = e[t + 1].charCodeAt(0) - 1, i = n; i <= d; )
1954
+ r.push(String.fromCharCode(i)), i++;
1955
+ } else
1956
+ r.push(e[t]);
1957
+ t++;
1958
+ }
1959
+ return r;
1960
+ }
1961
+ var _n = /[\(\)\[\]\?\:\|]/, In = new RegExp(
1962
+ // any of:
1963
+ "(\\||\\(\\?\\:|\\)|\\[|\\])"
1964
+ );
1965
+ function W(e) {
1966
+ return e.length === 1 ? e[0] : e;
1967
+ }
1968
+ function Rt(e, r) {
1969
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1970
+ if (t) return (t = t.call(e)).next.bind(t);
1971
+ if (Array.isArray(e) || (t = Fn(e)) || r) {
1972
+ t && (e = t);
1973
+ var n = 0;
1974
+ return function() {
1975
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
1976
+ };
1977
+ }
1978
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1979
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1980
+ }
1981
+ function Fn(e, r) {
1982
+ if (e) {
1983
+ if (typeof e == "string") return Dt(e, r);
1984
+ var t = Object.prototype.toString.call(e).slice(8, -1);
1985
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1986
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Dt(e, r);
1987
+ }
1988
+ }
1989
+ function Dt(e, r) {
1990
+ (r == null || r > e.length) && (r = e.length);
1991
+ for (var t = 0, n = new Array(r); t < r; t++)
1992
+ n[t] = e[t];
1993
+ return n;
1994
+ }
1995
+ function Tn(e, r) {
1996
+ if (!(e instanceof r))
1997
+ throw new TypeError("Cannot call a class as a function");
1998
+ }
1999
+ function On(e, r) {
2000
+ for (var t = 0; t < r.length; t++) {
2001
+ var n = r[t];
2002
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
2003
+ }
2004
+ }
2005
+ function wn(e, r, t) {
2006
+ return r && On(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2007
+ }
2008
+ var Rn = /* @__PURE__ */ function() {
2009
+ function e(r) {
2010
+ Tn(this, e), this.matchTree = new xn().parse(r);
2011
+ }
2012
+ return wn(e, [{
2013
+ key: "match",
2014
+ value: function(t) {
2015
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = n.allowOverflow;
2016
+ if (!t)
2017
+ throw new Error("String is required");
2018
+ var i = z(t.split(""), this.matchTree, !0);
2019
+ if (i && i.match && delete i.matchedChars, !(i && i.overflow && !d))
2020
+ return i;
2021
+ }
2022
+ }]), e;
2023
+ }();
2024
+ function z(e, r, t) {
2025
+ if (typeof r == "string") {
2026
+ var n = e.join("");
2027
+ return r.indexOf(n) === 0 ? e.length === r.length ? {
2028
+ match: !0,
2029
+ matchedChars: e
2030
+ } : {
2031
+ partialMatch: !0
2032
+ // matchedChars: characters
2033
+ } : n.indexOf(r) === 0 ? t && e.length > r.length ? {
2034
+ overflow: !0
2035
+ } : {
2036
+ match: !0,
2037
+ matchedChars: e.slice(0, r.length)
2038
+ } : void 0;
2039
+ }
2040
+ if (Array.isArray(r)) {
2041
+ for (var d = e.slice(), i = 0; i < r.length; ) {
2042
+ var a = r[i], o = z(d, a, t && i === r.length - 1);
2043
+ if (o) {
2044
+ if (o.overflow)
2045
+ return o;
2046
+ if (o.match) {
2047
+ if (d = d.slice(o.matchedChars.length), d.length === 0)
2048
+ return i === r.length - 1 ? {
2049
+ match: !0,
2050
+ matchedChars: e
2051
+ } : {
2052
+ partialMatch: !0
2053
+ // matchedChars: characters
2054
+ };
2055
+ } else {
2056
+ if (o.partialMatch)
2057
+ return {
2058
+ partialMatch: !0
2059
+ // matchedChars: characters
2060
+ };
2061
+ throw new Error(`Unsupported match result:
2062
+ `.concat(JSON.stringify(o, null, 2)));
2063
+ }
2064
+ } else return;
2065
+ i++;
2066
+ }
2067
+ return t ? {
2068
+ overflow: !0
2069
+ } : {
2070
+ match: !0,
2071
+ matchedChars: e.slice(0, e.length - d.length)
2072
+ };
2073
+ }
2074
+ switch (r.op) {
2075
+ case "|":
2076
+ for (var $, u = Rt(r.args), l; !(l = u()).done; ) {
2077
+ var h = l.value, f = z(e, h, t);
2078
+ if (f) {
2079
+ if (f.overflow)
2080
+ return f;
2081
+ if (f.match)
2082
+ return {
2083
+ match: !0,
2084
+ matchedChars: f.matchedChars
2085
+ };
2086
+ if (f.partialMatch)
2087
+ $ = !0;
2088
+ else
2089
+ throw new Error(`Unsupported match result:
2090
+ `.concat(JSON.stringify(f, null, 2)));
2091
+ }
2092
+ }
2093
+ return $ ? {
2094
+ partialMatch: !0
2095
+ // matchedChars: ...
2096
+ } : void 0;
2097
+ case "[]":
2098
+ for (var y = Rt(r.args), s; !(s = y()).done; ) {
2099
+ var v = s.value;
2100
+ if (e[0] === v)
2101
+ return e.length === 1 ? {
2102
+ match: !0,
2103
+ matchedChars: e
2104
+ } : t ? {
2105
+ overflow: !0
2106
+ } : {
2107
+ match: !0,
2108
+ matchedChars: [v]
2109
+ };
2110
+ }
2111
+ return;
2112
+ /* istanbul ignore next */
2113
+ default:
2114
+ throw new Error("Unsupported instruction tree: ".concat(r));
2115
+ }
2116
+ }
2117
+ function Mt(e, r) {
2118
+ var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2119
+ if (t) return (t = t.call(e)).next.bind(t);
2120
+ if (Array.isArray(e) || (t = Dn(e)) || r) {
2121
+ t && (e = t);
2122
+ var n = 0;
2123
+ return function() {
2124
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2125
+ };
2126
+ }
2127
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2128
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2129
+ }
2130
+ function Dn(e, r) {
2131
+ if (e) {
2132
+ if (typeof e == "string") return Lt(e, r);
2133
+ var t = Object.prototype.toString.call(e).slice(8, -1);
2134
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
2135
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Lt(e, r);
2136
+ }
2137
+ }
2138
+ function Lt(e, r) {
2139
+ (r == null || r > e.length) && (r = e.length);
2140
+ for (var t = 0, n = new Array(r); t < r; t++)
2141
+ n[t] = e[t];
2142
+ return n;
2143
+ }
2144
+ function Mn(e, r) {
2145
+ if (!(e instanceof r))
2146
+ throw new TypeError("Cannot call a class as a function");
2147
+ }
2148
+ function Ln(e, r) {
2149
+ for (var t = 0; t < r.length; t++) {
2150
+ var n = r[t];
2151
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
2152
+ }
2153
+ }
2154
+ function kn(e, r, t) {
2155
+ return r && Ln(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2156
+ }
2157
+ var tt = "9", Gn = 15, Bn = T(tt, Gn), Un = /[- ]/, jn = function() {
2158
+ return /\[([^\[\]])*\]/g;
2159
+ }, Hn = function() {
2160
+ return /\d(?=[^,}][^,}])/g;
2161
+ }, Wn = new RegExp("[" + N + "]*\\$1[" + N + "]*(\\$\\d[" + N + "]*)*$"), kt = 3, Vn = /* @__PURE__ */ function() {
2162
+ function e(r) {
2163
+ r.state;
2164
+ var t = r.metadata;
2165
+ Mn(this, e), this.metadata = t, this.resetFormat();
2166
+ }
2167
+ return kn(e, [{
2168
+ key: "resetFormat",
2169
+ value: function() {
2170
+ this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
2171
+ }
2172
+ }, {
2173
+ key: "reset",
2174
+ value: function(t, n) {
2175
+ this.resetFormat(), t ? (this.isNANP = t.callingCode() === "1", this.matchingFormats = t.formats(), n.nationalSignificantNumber && this.narrowDownMatchingFormats(n)) : (this.isNANP = void 0, this.matchingFormats = []);
2176
+ }
2177
+ /**
2178
+ * Formats an updated phone number.
2179
+ * @param {string} nextDigits — Additional phone number digits.
2180
+ * @param {object} state — `AsYouType` state.
2181
+ * @return {[string]} Returns undefined if the updated phone number can't be formatted using any of the available formats.
2182
+ */
2183
+ }, {
2184
+ key: "format",
2185
+ value: function(t, n) {
2186
+ var d = this;
2187
+ if (Nn(n.nationalSignificantNumber, this.metadata))
2188
+ for (var i = Mt(this.matchingFormats), a; !(a = i()).done; ) {
2189
+ var o = a.value, $ = pn(n, o, {
2190
+ metadata: this.metadata,
2191
+ shouldTryNationalPrefixFormattingRule: function(l) {
2192
+ return d.shouldTryNationalPrefixFormattingRule(l, {
2193
+ international: n.international,
2194
+ nationalPrefix: n.nationalPrefix
2195
+ });
2196
+ },
2197
+ getSeparatorAfterNationalPrefix: function(l) {
2198
+ return d.getSeparatorAfterNationalPrefix(l);
2199
+ }
2200
+ });
2201
+ if ($)
2202
+ return this.resetFormat(), this.chosenFormat = o, this.setNationalNumberTemplate($.replace(/\d/g, p), n), this.populatedNationalNumberTemplate = $, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(p), $;
2203
+ }
2204
+ return this.formatNationalNumberWithNextDigits(t, n);
2205
+ }
2206
+ // Formats the next phone number digits.
2207
+ }, {
2208
+ key: "formatNationalNumberWithNextDigits",
2209
+ value: function(t, n) {
2210
+ var d = this.chosenFormat, i = this.chooseFormat(n);
2211
+ if (i)
2212
+ return i === d ? this.formatNextNationalNumberDigits(t) : this.formatNextNationalNumberDigits(n.getNationalDigits());
2213
+ }
2214
+ }, {
2215
+ key: "narrowDownMatchingFormats",
2216
+ value: function(t) {
2217
+ var n = this, d = t.nationalSignificantNumber, i = t.nationalPrefix, a = t.international, o = d, $ = o.length - kt;
2218
+ $ < 0 && ($ = 0), this.matchingFormats = this.matchingFormats.filter(function(u) {
2219
+ return n.formatSuits(u, a, i) && n.formatMatches(u, o, $);
2220
+ }), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
2221
+ }
2222
+ }, {
2223
+ key: "formatSuits",
2224
+ value: function(t, n, d) {
2225
+ return !(d && !t.usesNationalPrefix() && // !format.domesticCarrierCodeFormattingRule() &&
2226
+ !t.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !n && !d && t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
2227
+ }
2228
+ }, {
2229
+ key: "formatMatches",
2230
+ value: function(t, n, d) {
2231
+ var i = t.leadingDigitsPatterns().length;
2232
+ if (i === 0)
2233
+ return !0;
2234
+ d = Math.min(d, i - 1);
2235
+ var a = t.leadingDigitsPatterns()[d];
2236
+ if (n.length < kt)
2237
+ try {
2238
+ return new Rn(a).match(n, {
2239
+ allowOverflow: !0
2240
+ }) !== void 0;
2241
+ } catch (o) {
2242
+ return console.error(o), !0;
2243
+ }
2244
+ return new RegExp("^(".concat(a, ")")).test(n);
2245
+ }
2246
+ }, {
2247
+ key: "getFormatFormat",
2248
+ value: function(t, n) {
2249
+ return n ? t.internationalFormat() : t.format();
2250
+ }
2251
+ }, {
2252
+ key: "chooseFormat",
2253
+ value: function(t) {
2254
+ for (var n = this, d = function() {
2255
+ var u = a.value;
2256
+ return n.chosenFormat === u ? "break" : Wn.test(n.getFormatFormat(u, t.international)) ? n.createTemplateForFormat(u, t) ? (n.chosenFormat = u, "break") : (n.matchingFormats = n.matchingFormats.filter(function(l) {
2257
+ return l !== u;
2258
+ }), "continue") : "continue";
2259
+ }, i = Mt(this.matchingFormats.slice()), a; !(a = i()).done; ) {
2260
+ var o = d();
2261
+ if (o === "break") break;
2262
+ }
2263
+ return this.chosenFormat || this.resetFormat(), this.chosenFormat;
2264
+ }
2265
+ }, {
2266
+ key: "createTemplateForFormat",
2267
+ value: function(t, n) {
2268
+ if (!(t.pattern().indexOf("|") >= 0)) {
2269
+ var d = this.getTemplateForFormat(t, n);
2270
+ if (d)
2271
+ return this.setNationalNumberTemplate(d, n), !0;
2272
+ }
2273
+ }
2274
+ }, {
2275
+ key: "getSeparatorAfterNationalPrefix",
2276
+ value: function(t) {
2277
+ return this.isNANP || t && t.nationalPrefixFormattingRule() && Un.test(t.nationalPrefixFormattingRule()) ? " " : "";
2278
+ }
2279
+ }, {
2280
+ key: "getInternationalPrefixBeforeCountryCallingCode",
2281
+ value: function(t, n) {
2282
+ var d = t.IDDPrefix, i = t.missingPlus;
2283
+ return d ? n && n.spacing === !1 ? d : d + " " : i ? "" : "+";
2284
+ }
2285
+ }, {
2286
+ key: "getTemplate",
2287
+ value: function(t) {
2288
+ if (this.template) {
2289
+ for (var n = -1, d = 0, i = t.international ? this.getInternationalPrefixBeforeCountryCallingCode(t, {
2290
+ spacing: !1
2291
+ }) : ""; d < i.length + t.getDigitsWithoutInternationalPrefix().length; )
2292
+ n = this.template.indexOf(p, n + 1), d++;
2293
+ return Ot(this.template, n + 1);
2294
+ }
2295
+ }
2296
+ }, {
2297
+ key: "setNationalNumberTemplate",
2298
+ value: function(t, n) {
2299
+ this.nationalNumberTemplate = t, this.populatedNationalNumberTemplate = t, this.populatedNationalNumberTemplatePosition = -1, n.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(n).replace(/[\d\+]/g, p) + T(p, n.callingCode.length) + " " + t : this.template = t;
2300
+ }
2301
+ /**
2302
+ * Generates formatting template for a national phone number,
2303
+ * optionally containing a national prefix, for a format.
2304
+ * @param {Format} format
2305
+ * @param {string} nationalPrefix
2306
+ * @return {string}
2307
+ */
2308
+ }, {
2309
+ key: "getTemplateForFormat",
2310
+ value: function(t, n) {
2311
+ var d = n.nationalSignificantNumber, i = n.international, a = n.nationalPrefix, o = n.complexPrefixBeforeNationalSignificantNumber, $ = t.pattern();
2312
+ $ = $.replace(jn(), "\\d").replace(Hn(), "\\d");
2313
+ var u = Bn.match($)[0];
2314
+ if (!(d.length > u.length)) {
2315
+ var l = new RegExp("^" + $ + "$"), h = d.replace(/\d/g, tt);
2316
+ l.test(h) && (u = h);
2317
+ var f = this.getFormatFormat(t, i), y;
2318
+ if (this.shouldTryNationalPrefixFormattingRule(t, {
2319
+ international: i,
2320
+ nationalPrefix: a
2321
+ })) {
2322
+ var s = f.replace(Qt, t.nationalPrefixFormattingRule());
2323
+ if (O(t.nationalPrefixFormattingRule()) === (a || "") + O("$1") && (f = s, y = !0, a))
2324
+ for (var v = a.length; v > 0; )
2325
+ f = f.replace(/\d/, p), v--;
2326
+ }
2327
+ var c = u.replace(new RegExp($), f).replace(new RegExp(tt, "g"), p);
2328
+ return y || (o ? c = T(p, o.length) + " " + c : a && (c = T(p, a.length) + this.getSeparatorAfterNationalPrefix(t) + c)), i && (c = Jt(c)), c;
2329
+ }
2330
+ }
2331
+ }, {
2332
+ key: "formatNextNationalNumberDigits",
2333
+ value: function(t) {
2334
+ var n = vn(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, t);
2335
+ if (!n) {
2336
+ this.resetFormat();
2337
+ return;
2338
+ }
2339
+ return this.populatedNationalNumberTemplate = n[0], this.populatedNationalNumberTemplatePosition = n[1], Ot(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
2340
+ }
2341
+ }, {
2342
+ key: "shouldTryNationalPrefixFormattingRule",
2343
+ value: function(t, n) {
2344
+ var d = n.international, i = n.nationalPrefix;
2345
+ if (t.nationalPrefixFormattingRule()) {
2346
+ var a = t.usesNationalPrefix();
2347
+ if (a && i || !a && !d)
2348
+ return !0;
2349
+ }
2350
+ }
2351
+ }]), e;
2352
+ }();
2353
+ function ie(e, r) {
2354
+ return Zn(e) || Xn(e, r) || Yn(e, r) || Kn();
2355
+ }
2356
+ function Kn() {
2357
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2358
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2359
+ }
2360
+ function Yn(e, r) {
2361
+ if (e) {
2362
+ if (typeof e == "string") return Gt(e, r);
2363
+ var t = Object.prototype.toString.call(e).slice(8, -1);
2364
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
2365
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Gt(e, r);
2366
+ }
2367
+ }
2368
+ function Gt(e, r) {
2369
+ (r == null || r > e.length) && (r = e.length);
2370
+ for (var t = 0, n = new Array(r); t < r; t++)
2371
+ n[t] = e[t];
2372
+ return n;
2373
+ }
2374
+ function Xn(e, r) {
2375
+ var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2376
+ if (t != null) {
2377
+ var n = [], d = !0, i = !1, a, o;
2378
+ try {
2379
+ for (t = t.call(e); !(d = (a = t.next()).done) && (n.push(a.value), !(r && n.length === r)); d = !0)
2380
+ ;
2381
+ } catch ($) {
2382
+ i = !0, o = $;
2383
+ } finally {
2384
+ try {
2385
+ !d && t.return != null && t.return();
2386
+ } finally {
2387
+ if (i) throw o;
2388
+ }
2389
+ }
2390
+ return n;
2391
+ }
2392
+ }
2393
+ function Zn(e) {
2394
+ if (Array.isArray(e)) return e;
2395
+ }
2396
+ function Jn(e, r) {
2397
+ if (!(e instanceof r))
2398
+ throw new TypeError("Cannot call a class as a function");
2399
+ }
2400
+ function Qn(e, r) {
2401
+ for (var t = 0; t < r.length; t++) {
2402
+ var n = r[t];
2403
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
2404
+ }
2405
+ }
2406
+ function qn(e, r, t) {
2407
+ return r && Qn(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2408
+ }
2409
+ var zn = "[" + N + m + "]+", td = new RegExp("^" + zn + "$", "i"), ed = "(?:[" + R + "][" + N + m + "]*|[" + N + m + "]+)", rd = new RegExp("[^" + N + m + "]+.*$"), nd = /[^\d\[\]]/, dd = /* @__PURE__ */ function() {
2410
+ function e(r) {
2411
+ var t = r.defaultCountry, n = r.defaultCallingCode, d = r.metadata, i = r.onNationalSignificantNumberChange;
2412
+ Jn(this, e), this.defaultCountry = t, this.defaultCallingCode = n, this.metadata = d, this.onNationalSignificantNumberChange = i;
2413
+ }
2414
+ return qn(e, [{
2415
+ key: "input",
2416
+ value: function(t, n) {
2417
+ var d = od(t), i = ie(d, 2), a = i[0], o = i[1], $ = O(a), u;
2418
+ return o && (n.digits || (n.startInternationalNumber(), $ || (u = !0))), $ && this.inputDigits($, n), {
2419
+ digits: $,
2420
+ justLeadingPlus: u
2421
+ };
2422
+ }
2423
+ /**
2424
+ * Inputs "next" phone number digits.
2425
+ * @param {string} digits
2426
+ * @return {string} [formattedNumber] Formatted national phone number (if it can be formatted at this stage). Returning `undefined` means "don't format the national phone number at this stage".
2427
+ */
2428
+ }, {
2429
+ key: "inputDigits",
2430
+ value: function(t, n) {
2431
+ var d = n.digits, i = d.length < 3 && d.length + t.length >= 3;
2432
+ if (n.appendDigits(t), i && this.extractIddPrefix(n), this.isWaitingForCountryCallingCode(n)) {
2433
+ if (!this.extractCountryCallingCode(n))
2434
+ return;
2435
+ } else
2436
+ n.appendNationalSignificantNumberDigits(t);
2437
+ n.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(n.getNationalDigits(), function(a) {
2438
+ return n.update(a);
2439
+ });
2440
+ }
2441
+ }, {
2442
+ key: "isWaitingForCountryCallingCode",
2443
+ value: function(t) {
2444
+ var n = t.international, d = t.callingCode;
2445
+ return n && !d;
2446
+ }
2447
+ // Extracts a country calling code from a number
2448
+ // being entered in internatonal format.
2449
+ }, {
2450
+ key: "extractCountryCallingCode",
2451
+ value: function(t) {
2452
+ var n = ee("+" + t.getDigitsWithoutInternationalPrefix(), this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), d = n.countryCallingCode, i = n.number;
2453
+ if (d)
2454
+ return t.setCallingCode(d), t.update({
2455
+ nationalSignificantNumber: i
2456
+ }), !0;
2457
+ }
2458
+ }, {
2459
+ key: "reset",
2460
+ value: function(t) {
2461
+ if (t) {
2462
+ this.hasSelectedNumberingPlan = !0;
2463
+ var n = t._nationalPrefixForParsing();
2464
+ this.couldPossiblyExtractAnotherNationalSignificantNumber = n && nd.test(n);
2465
+ } else
2466
+ this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
2467
+ }
2468
+ /**
2469
+ * Extracts a national (significant) number from user input.
2470
+ * Google's library is different in that it only applies `national_prefix_for_parsing`
2471
+ * and doesn't apply `national_prefix_transform_rule` after that.
2472
+ * https://github.com/google/libphonenumber/blob/a3d70b0487875475e6ad659af404943211d26456/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java#L539
2473
+ * @return {boolean} [extracted]
2474
+ */
2475
+ }, {
2476
+ key: "extractNationalSignificantNumber",
2477
+ value: function(t, n) {
2478
+ if (this.hasSelectedNumberingPlan) {
2479
+ var d = Z(t, this.metadata), i = d.nationalPrefix, a = d.nationalNumber, o = d.carrierCode;
2480
+ if (a !== t)
2481
+ return this.onExtractedNationalNumber(i, o, a, t, n), !0;
2482
+ }
2483
+ }
2484
+ /**
2485
+ * In Google's code this function is called "attempt to extract longer NDD".
2486
+ * "Some national prefixes are a substring of others", they say.
2487
+ * @return {boolean} [result] — Returns `true` if extracting a national prefix produced different results from what they were.
2488
+ */
2489
+ }, {
2490
+ key: "extractAnotherNationalSignificantNumber",
2491
+ value: function(t, n, d) {
2492
+ if (!this.hasExtractedNationalSignificantNumber)
2493
+ return this.extractNationalSignificantNumber(t, d);
2494
+ if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
2495
+ var i = Z(t, this.metadata), a = i.nationalPrefix, o = i.nationalNumber, $ = i.carrierCode;
2496
+ if (o !== n)
2497
+ return this.onExtractedNationalNumber(a, $, o, t, d), !0;
2498
+ }
2499
+ }
2500
+ }, {
2501
+ key: "onExtractedNationalNumber",
2502
+ value: function(t, n, d, i, a) {
2503
+ var o, $, u = i.lastIndexOf(d);
2504
+ if (u >= 0 && u === i.length - d.length) {
2505
+ $ = !0;
2506
+ var l = i.slice(0, u);
2507
+ l !== t && (o = l);
2508
+ }
2509
+ a({
2510
+ nationalPrefix: t,
2511
+ carrierCode: n,
2512
+ nationalSignificantNumber: d,
2513
+ nationalSignificantNumberMatchesInput: $,
2514
+ complexPrefixBeforeNationalSignificantNumber: o
2515
+ }), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
2516
+ }
2517
+ }, {
2518
+ key: "reExtractNationalSignificantNumber",
2519
+ value: function(t) {
2520
+ if (this.extractAnotherNationalSignificantNumber(t.getNationalDigits(), t.nationalSignificantNumber, function(n) {
2521
+ return t.update(n);
2522
+ }))
2523
+ return !0;
2524
+ if (this.extractIddPrefix(t))
2525
+ return this.extractCallingCodeAndNationalSignificantNumber(t), !0;
2526
+ if (this.fixMissingPlus(t))
2527
+ return this.extractCallingCodeAndNationalSignificantNumber(t), !0;
2528
+ }
2529
+ }, {
2530
+ key: "extractIddPrefix",
2531
+ value: function(t) {
2532
+ var n = t.international, d = t.IDDPrefix, i = t.digits;
2533
+ if (t.nationalSignificantNumber, !(n || d)) {
2534
+ var a = zt(i, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
2535
+ if (a !== void 0 && a !== i)
2536
+ return t.update({
2537
+ IDDPrefix: i.slice(0, i.length - a.length)
2538
+ }), this.startInternationalNumber(t, {
2539
+ country: void 0,
2540
+ callingCode: void 0
2541
+ }), !0;
2542
+ }
2543
+ }
2544
+ }, {
2545
+ key: "fixMissingPlus",
2546
+ value: function(t) {
2547
+ if (!t.international) {
2548
+ var n = te(t.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), d = n.countryCallingCode;
2549
+ if (n.number, d)
2550
+ return t.update({
2551
+ missingPlus: !0
2552
+ }), this.startInternationalNumber(t, {
2553
+ country: t.country,
2554
+ callingCode: d
2555
+ }), !0;
2556
+ }
2557
+ }
2558
+ }, {
2559
+ key: "startInternationalNumber",
2560
+ value: function(t, n) {
2561
+ var d = n.country, i = n.callingCode;
2562
+ t.startInternationalNumber(d, i), t.nationalSignificantNumber && (t.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
2563
+ }
2564
+ }, {
2565
+ key: "extractCallingCodeAndNationalSignificantNumber",
2566
+ value: function(t) {
2567
+ this.extractCountryCallingCode(t) && this.extractNationalSignificantNumber(t.getNationalDigits(), function(n) {
2568
+ return t.update(n);
2569
+ });
2570
+ }
2571
+ }]), e;
2572
+ }();
2573
+ function id(e) {
2574
+ var r = e.search(ed);
2575
+ if (!(r < 0)) {
2576
+ e = e.slice(r);
2577
+ var t;
2578
+ return e[0] === "+" && (t = !0, e = e.slice(1)), e = e.replace(rd, ""), t && (e = "+" + e), e;
2579
+ }
2580
+ }
2581
+ function ad(e) {
2582
+ var r = id(e) || "";
2583
+ return r[0] === "+" ? [r.slice(1), !0] : [r];
2584
+ }
2585
+ function od(e) {
2586
+ var r = ad(e), t = ie(r, 2), n = t[0], d = t[1];
2587
+ return td.test(n) || (n = ""), [n, d];
2588
+ }
2589
+ function $d(e, r) {
2590
+ return fd(e) || sd(e, r) || ld(e, r) || ud();
2591
+ }
2592
+ function ud() {
2593
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2594
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2595
+ }
2596
+ function ld(e, r) {
2597
+ if (e) {
2598
+ if (typeof e == "string") return Bt(e, r);
2599
+ var t = Object.prototype.toString.call(e).slice(8, -1);
2600
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
2601
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Bt(e, r);
2602
+ }
2603
+ }
2604
+ function Bt(e, r) {
2605
+ (r == null || r > e.length) && (r = e.length);
2606
+ for (var t = 0, n = new Array(r); t < r; t++)
2607
+ n[t] = e[t];
2608
+ return n;
2609
+ }
2610
+ function sd(e, r) {
2611
+ var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2612
+ if (t != null) {
2613
+ var n = [], d = !0, i = !1, a, o;
2614
+ try {
2615
+ for (t = t.call(e); !(d = (a = t.next()).done) && (n.push(a.value), !(r && n.length === r)); d = !0)
2616
+ ;
2617
+ } catch ($) {
2618
+ i = !0, o = $;
2619
+ } finally {
2620
+ try {
2621
+ !d && t.return != null && t.return();
2622
+ } finally {
2623
+ if (i) throw o;
2624
+ }
2625
+ }
2626
+ return n;
2627
+ }
2628
+ }
2629
+ function fd(e) {
2630
+ if (Array.isArray(e)) return e;
2631
+ }
2632
+ function cd(e, r) {
2633
+ if (!(e instanceof r))
2634
+ throw new TypeError("Cannot call a class as a function");
2635
+ }
2636
+ function hd(e, r) {
2637
+ for (var t = 0; t < r.length; t++) {
2638
+ var n = r[t];
2639
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
2640
+ }
2641
+ }
2642
+ function gd(e, r, t) {
2643
+ return r && hd(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2644
+ }
2645
+ var ae = /* @__PURE__ */ function() {
2646
+ function e(r, t) {
2647
+ cd(this, e), this.metadata = new g(t);
2648
+ var n = this.getCountryAndCallingCode(r), d = $d(n, 2), i = d[0], a = d[1];
2649
+ this.defaultCountry = i, this.defaultCallingCode = a, this.reset();
2650
+ }
2651
+ return gd(e, [{
2652
+ key: "getCountryAndCallingCode",
2653
+ value: function(t) {
2654
+ var n, d;
2655
+ return t && (x(t) ? (n = t.defaultCountry, d = t.defaultCallingCode) : n = t), n && !this.metadata.hasCountry(n) && (n = void 0), [n, d];
2656
+ }
2657
+ /**
2658
+ * Inputs "next" phone number characters.
2659
+ * @param {string} text
2660
+ * @return {string} Formatted phone number characters that have been input so far.
2661
+ */
2662
+ }, {
2663
+ key: "input",
2664
+ value: function(t) {
2665
+ var n = this.parser.input(t, this.state), d = n.digits, i = n.justLeadingPlus;
2666
+ if (i)
2667
+ this.formattedOutput = "+";
2668
+ else if (d) {
2669
+ this.determineTheCountryIfNeeded(), this.state.nationalSignificantNumber && this.formatter.narrowDownMatchingFormats(this.state);
2670
+ var a;
2671
+ if (this.metadata.hasSelectedNumberingPlan() && (a = this.formatter.format(d, this.state)), a === void 0 && this.parser.reExtractNationalSignificantNumber(this.state)) {
2672
+ this.determineTheCountryIfNeeded();
2673
+ var o = this.state.getNationalDigits();
2674
+ o && (a = this.formatter.format(o, this.state));
2675
+ }
2676
+ this.formattedOutput = a ? this.getFullNumber(a) : this.getNonFormattedNumber();
2677
+ }
2678
+ return this.formattedOutput;
2679
+ }
2680
+ }, {
2681
+ key: "reset",
2682
+ value: function() {
2683
+ var t = this;
2684
+ return this.state = new hn({
2685
+ onCountryChange: function(d) {
2686
+ t.country = d;
2687
+ },
2688
+ onCallingCodeChange: function(d, i) {
2689
+ t.metadata.selectNumberingPlan(i, d), t.formatter.reset(t.metadata.numberingPlan, t.state), t.parser.reset(t.metadata.numberingPlan);
2690
+ }
2691
+ }), this.formatter = new Vn({
2692
+ state: this.state,
2693
+ metadata: this.metadata
2694
+ }), this.parser = new dd({
2695
+ defaultCountry: this.defaultCountry,
2696
+ defaultCallingCode: this.defaultCallingCode,
2697
+ metadata: this.metadata,
2698
+ state: this.state,
2699
+ onNationalSignificantNumberChange: function() {
2700
+ t.determineTheCountryIfNeeded(), t.formatter.reset(t.metadata.numberingPlan, t.state);
2701
+ }
2702
+ }), this.state.reset({
2703
+ country: this.defaultCountry,
2704
+ callingCode: this.defaultCallingCode
2705
+ }), this.formattedOutput = "", this;
2706
+ }
2707
+ /**
2708
+ * Returns `true` if the phone number is being input in international format.
2709
+ * In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
2710
+ * @return {boolean}
2711
+ */
2712
+ }, {
2713
+ key: "isInternational",
2714
+ value: function() {
2715
+ return this.state.international;
2716
+ }
2717
+ /**
2718
+ * Returns the "calling code" part of the phone number when it's being input
2719
+ * in an international format.
2720
+ * If no valid calling code has been entered so far, returns `undefined`.
2721
+ * @return {string} [callingCode]
2722
+ */
2723
+ }, {
2724
+ key: "getCallingCode",
2725
+ value: function() {
2726
+ if (this.isInternational())
2727
+ return this.state.callingCode;
2728
+ }
2729
+ // A legacy alias.
2730
+ }, {
2731
+ key: "getCountryCallingCode",
2732
+ value: function() {
2733
+ return this.getCallingCode();
2734
+ }
2735
+ /**
2736
+ * Returns a two-letter country code of the phone number.
2737
+ * Returns `undefined` for "non-geographic" phone numbering plans.
2738
+ * Returns `undefined` if no phone number has been input yet.
2739
+ * @return {string} [country]
2740
+ */
2741
+ }, {
2742
+ key: "getCountry",
2743
+ value: function() {
2744
+ var t = this.state.digits;
2745
+ if (t)
2746
+ return this._getCountry();
2747
+ }
2748
+ /**
2749
+ * Returns a two-letter country code of the phone number.
2750
+ * Returns `undefined` for "non-geographic" phone numbering plans.
2751
+ * @return {string} [country]
2752
+ */
2753
+ }, {
2754
+ key: "_getCountry",
2755
+ value: function() {
2756
+ var t = this.state.country;
2757
+ return t;
2758
+ }
2759
+ }, {
2760
+ key: "determineTheCountryIfNeeded",
2761
+ value: function() {
2762
+ (!this.state.country || this.isCountryCallingCodeAmbiguous()) && this.determineTheCountry();
2763
+ }
2764
+ // Prepends `+CountryCode ` in case of an international phone number
2765
+ }, {
2766
+ key: "getFullNumber",
2767
+ value: function(t) {
2768
+ var n = this;
2769
+ if (this.isInternational()) {
2770
+ var d = function(o) {
2771
+ return n.formatter.getInternationalPrefixBeforeCountryCallingCode(n.state, {
2772
+ spacing: !!o
2773
+ }) + o;
2774
+ }, i = this.state.callingCode;
2775
+ return d(i ? t ? "".concat(i, " ").concat(t) : i : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
2776
+ }
2777
+ return t;
2778
+ }
2779
+ }, {
2780
+ key: "getNonFormattedNationalNumberWithPrefix",
2781
+ value: function() {
2782
+ var t = this.state, n = t.nationalSignificantNumber, d = t.complexPrefixBeforeNationalSignificantNumber, i = t.nationalPrefix, a = n, o = d || i;
2783
+ return o && (a = o + a), a;
2784
+ }
2785
+ }, {
2786
+ key: "getNonFormattedNumber",
2787
+ value: function() {
2788
+ var t = this.state.nationalSignificantNumberMatchesInput;
2789
+ return this.getFullNumber(t ? this.getNonFormattedNationalNumberWithPrefix() : this.state.getNationalDigits());
2790
+ }
2791
+ }, {
2792
+ key: "getNonFormattedTemplate",
2793
+ value: function() {
2794
+ var t = this.getNonFormattedNumber();
2795
+ if (t)
2796
+ return t.replace(/[\+\d]/g, p);
2797
+ }
2798
+ }, {
2799
+ key: "isCountryCallingCodeAmbiguous",
2800
+ value: function() {
2801
+ var t = this.state.callingCode, n = this.metadata.getCountryCodesForCallingCode(t);
2802
+ return n && n.length > 1;
2803
+ }
2804
+ // Determines the country of the phone number
2805
+ // entered so far based on the country phone code
2806
+ // and the national phone number.
2807
+ }, {
2808
+ key: "determineTheCountry",
2809
+ value: function() {
2810
+ this.state.setCountry(ne(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
2811
+ nationalNumber: this.state.nationalSignificantNumber,
2812
+ defaultCountry: this.defaultCountry,
2813
+ metadata: this.metadata
2814
+ }));
2815
+ }
2816
+ /**
2817
+ * Returns a E.164 phone number value for the user's input.
2818
+ *
2819
+ * For example, for country `"US"` and input `"(222) 333-4444"`
2820
+ * it will return `"+12223334444"`.
2821
+ *
2822
+ * For international phone number input, it will also auto-correct
2823
+ * some minor errors such as using a national prefix when writing
2824
+ * an international phone number. For example, if the user inputs
2825
+ * `"+44 0 7400 000000"` then it will return an auto-corrected
2826
+ * `"+447400000000"` phone number value.
2827
+ *
2828
+ * Will return `undefined` if no digits have been input,
2829
+ * or when inputting a phone number in national format and no
2830
+ * default country or default "country calling code" have been set.
2831
+ *
2832
+ * @return {string} [value]
2833
+ */
2834
+ }, {
2835
+ key: "getNumberValue",
2836
+ value: function() {
2837
+ var t = this.state, n = t.digits, d = t.callingCode, i = t.country, a = t.nationalSignificantNumber;
2838
+ if (n) {
2839
+ if (this.isInternational())
2840
+ return d ? "+" + d + a : "+" + n;
2841
+ if (i || d) {
2842
+ var o = i ? this.metadata.countryCallingCode() : d;
2843
+ return "+" + o + a;
2844
+ }
2845
+ }
2846
+ }
2847
+ /**
2848
+ * Returns an instance of `PhoneNumber` class.
2849
+ * Will return `undefined` if no national (significant) number
2850
+ * digits have been entered so far, or if no `defaultCountry` has been
2851
+ * set and the user enters a phone number not in international format.
2852
+ */
2853
+ }, {
2854
+ key: "getNumber",
2855
+ value: function() {
2856
+ var t = this.state, n = t.nationalSignificantNumber, d = t.carrierCode, i = t.callingCode, a = this._getCountry();
2857
+ if (n && !(!a && !i)) {
2858
+ if (a && a === this.defaultCountry) {
2859
+ var o = new g(this.metadata.metadata);
2860
+ o.selectNumberingPlan(a);
2861
+ var $ = o.numberingPlan.callingCode(), u = this.metadata.getCountryCodesForCallingCode($);
2862
+ if (u.length > 1) {
2863
+ var l = re(n, {
2864
+ countries: u,
2865
+ defaultCountry: this.defaultCountry,
2866
+ metadata: this.metadata.metadata
2867
+ });
2868
+ l && (a = l);
2869
+ }
2870
+ }
2871
+ var h = new at(a || i, n, this.metadata.metadata);
2872
+ return d && (h.carrierCode = d), h;
2873
+ }
2874
+ }
2875
+ /**
2876
+ * Returns `true` if the phone number is "possible".
2877
+ * Is just a shortcut for `PhoneNumber.isPossible()`.
2878
+ * @return {boolean}
2879
+ */
2880
+ }, {
2881
+ key: "isPossible",
2882
+ value: function() {
2883
+ var t = this.getNumber();
2884
+ return t ? t.isPossible() : !1;
2885
+ }
2886
+ /**
2887
+ * Returns `true` if the phone number is "valid".
2888
+ * Is just a shortcut for `PhoneNumber.isValid()`.
2889
+ * @return {boolean}
2890
+ */
2891
+ }, {
2892
+ key: "isValid",
2893
+ value: function() {
2894
+ var t = this.getNumber();
2895
+ return t ? t.isValid() : !1;
2896
+ }
2897
+ /**
2898
+ * @deprecated
2899
+ * This method is used in `react-phone-number-input/source/input-control.js`
2900
+ * in versions before `3.0.16`.
2901
+ */
2902
+ }, {
2903
+ key: "getNationalNumber",
2904
+ value: function() {
2905
+ return this.state.nationalSignificantNumber;
2906
+ }
2907
+ /**
2908
+ * Returns the phone number characters entered by the user.
2909
+ * @return {string}
2910
+ */
2911
+ }, {
2912
+ key: "getChars",
2913
+ value: function() {
2914
+ return (this.state.international ? "+" : "") + this.state.digits;
2915
+ }
2916
+ /**
2917
+ * Returns the template for the formatted phone number.
2918
+ * @return {string}
2919
+ */
2920
+ }, {
2921
+ key: "getTemplate",
2922
+ value: function() {
2923
+ return this.formatter.getTemplate(this.state) || this.getNonFormattedTemplate() || "";
2924
+ }
2925
+ }]), e;
2926
+ }();
2927
+ function md(e) {
2928
+ return new g(e).getCountries();
2929
+ }
2930
+ function yd(e, r, t) {
2931
+ if (r[e])
2932
+ return new at(e, r[e], t);
2933
+ }
2934
+ function Ut() {
2935
+ return rt(ln, arguments);
2936
+ }
2937
+ function E(e) {
2938
+ return ae.call(this, e, Ht);
2939
+ }
2940
+ E.prototype = Object.create(ae.prototype, {});
2941
+ E.prototype.constructor = E;
2942
+ function vd() {
2943
+ return rt(md, arguments);
2944
+ }
2945
+ function pd() {
2946
+ return rt(yd, arguments);
2947
+ }
2948
+ const Nd = ["-", "(", ")", "/", "[", "]", ".", "~"], Cd = (e, r, t) => {
2949
+ const n = e.value, d = e.selectionStart ?? n.length, i = d >= n.length - 1, a = Nd.includes(t);
2950
+ if (i)
2951
+ return;
2952
+ const o = n.slice(0, d).replace(/\D/g, "").length;
2953
+ let $ = 0, u = 0;
2954
+ if (o) {
2955
+ for (let l = 0; l < r.length; l++)
2956
+ if (/\d/.test(r[l]) && $++, $ === o) {
2957
+ u = l + 1, a && u++;
2958
+ break;
2959
+ }
2960
+ }
2961
+ requestAnimationFrame(() => {
2962
+ e.setSelectionRange(u, u);
2963
+ });
2964
+ }, bd = { AC: "40123", AD: "312345", AE: "501234567", AF: "701234567", AG: "2684641234", AI: "2642351234", AL: "672123456", AM: "77123456", AO: "923123456", AR: "91123456789", AS: "6847331234", AT: "664123456", AU: "412345678", AW: "5601234", AX: "412345678", AZ: "401234567", BA: "61123456", BB: "2462501234", BD: "1812345678", BE: "470123456", BF: "70123456", BG: "43012345", BH: "36001234", BI: "79561234", BJ: "90011234", BL: "690001234", BM: "4413701234", BN: "7123456", BO: "71234567", BQ: "3181234", BR: "11961234567", BS: "2423591234", BT: "17123456", BW: "71123456", BY: "294911911", BZ: "6221234", CA: "5062345678", CC: "412345678", CD: "991234567", CF: "70012345", CG: "061234567", CH: "781234567", CI: "0123456789", CK: "71234", CL: "221234567", CM: "671234567", CN: "13123456789", CO: "3211234567", CR: "83123456", CU: "51234567", CV: "9911234", CW: "95181234", CX: "412345678", CY: "96123456", CZ: "601123456", DE: "15123456789", DJ: "77831001", DK: "34412345", DM: "7672251234", DO: "8092345678", DZ: "551234567", EC: "991234567", EE: "51234567", EG: "1001234567", EH: "650123456", ER: "7123456", ES: "612345678", ET: "911234567", FI: "412345678", FJ: "7012345", FK: "51234", FM: "3501234", FO: "211234", FR: "612345678", GA: "06031234", GB: "7400123456", GD: "4734031234", GE: "555123456", GF: "694201234", GG: "7781123456", GH: "231234567", GI: "57123456", GL: "221234", GM: "3012345", GN: "601123456", GP: "690001234", GQ: "222123456", GR: "6912345678", GT: "51234567", GU: "6713001234", GW: "955012345", GY: "6091234", HK: "51234567", HN: "91234567", HR: "921234567", HT: "34101234", HU: "201234567", ID: "812345678", IE: "850123456", IL: "502345678", IM: "7924123456", IN: "8123456789", IO: "3801234", IQ: "7912345678", IR: "9123456789", IS: "6111234", IT: "3123456789", JE: "7797712345", JM: "8762101234", JO: "790123456", JP: "9012345678", KE: "712123456", KG: "700123456", KH: "91234567", KI: "72001234", KM: "3212345", KN: "8697652917", KP: "1921234567", KR: "1020000000", KW: "50012345", KY: "3453231234", KZ: "7710009998", LA: "2023123456", LB: "71123456", LC: "7582845678", LI: "660234567", LK: "712345678", LR: "770123456", LS: "50123456", LT: "61234567", LU: "628123456", LV: "21234567", LY: "912345678", MA: "650123456", MC: "612345678", MD: "62112345", ME: "67622901", MF: "690001234", MG: "321234567", MH: "2351234", MK: "72345678", ML: "65012345", MM: "92123456", MN: "88123456", MO: "66123456", MP: "6702345678", MQ: "696201234", MR: "22123456", MS: "6644923456", MT: "96961234", MU: "52512345", MV: "7712345", MW: "991234567", MX: "2221234567", MY: "123456789", MZ: "821234567", NA: "811234567", NC: "751234", NE: "93123456", NF: "381234", NG: "8021234567", NI: "81234567", NL: "612345678", NO: "40612345", NP: "9841234567", NR: "5551234", NU: "8884012", NZ: "211234567", OM: "92123456", PA: "61234567", PE: "912345678", PF: "87123456", PG: "70123456", PH: "9051234567", PK: "3012345678", PL: "512345678", PM: "551234", PR: "7872345678", PS: "599123456", PT: "912345678", PW: "6201234", PY: "961456789", QA: "33123456", RE: "692123456", RO: "712034567", RS: "601234567", RU: "9123456789", RW: "720123456", SA: "512345678", SB: "7421234", SC: "2510123", SD: "911231234", SE: "701234567", SG: "81234567", SH: "51234", SI: "31234567", SJ: "41234567", SK: "912123456", SL: "25123456", SM: "66661212", SN: "701234567", SO: "71123456", SR: "7412345", SS: "977123456", ST: "9812345", SV: "70123456", SX: "7215205678", SY: "944567890", SZ: "76123456", TA: "8999", TC: "6492311234", TD: "63012345", TG: "90112345", TH: "812345678", TJ: "917123456", TK: "7290", TL: "77212345", TM: "66123456", TN: "20123456", TO: "7715123", TR: "5012345678", TT: "8682911234", TV: "901234", TW: "912345678", TZ: "621234567", UA: "501234567", UG: "712345678", US: "2015550123", UY: "94231234", UZ: "912345678", VA: "3123456789", VC: "7844301234", VE: "4121234567", VG: "2843001234", VI: "3406421234", VN: "912345678", VU: "5912345", WF: "821234", WS: "7212345", XK: "43201234", YE: "712345678", YT: "639012345", ZA: "711234567", ZM: "955123456", ZW: "712345678" }, et = (e) => {
2965
+ var r, t;
2966
+ return ((t = (r = jt(e)) == null ? void 0 : r.value) == null ? void 0 : t.split("-")[0]) ?? "";
2967
+ }, Pd = (e) => e.filter((t) => jt(t).value ? !0 : (he(
2968
+ `ISO code ${t} is not supported. Please contact the Bento team if this country needs to be added.`
2969
+ ), !1)).map((t) => ({
2970
+ label: `${ge(t, "en-US").value} ${et(t)}`,
2971
+ value: t,
2972
+ displayValue: `${t} (${et(t)})`
2973
+ })).sort((t, n) => t.label.localeCompare(n.label)), Sd = (e) => {
2974
+ var n;
2975
+ const r = e !== "US" && et(e) === "+1", t = ((n = pd(e, bd)) == null ? void 0 : n.formatNational()) ?? "";
2976
+ if (r) {
2977
+ const [d, i] = t.split(" ");
2978
+ return `${d} ${i.replace(/\d/g, "0")}`;
2979
+ } else
2980
+ return t.replace(/\d/g, "0");
2981
+ }, V = (e, r, t) => {
2982
+ let n = e, d = e, i = r;
2983
+ if (e)
2984
+ if (r) {
2985
+ const a = Ut(e, i);
2986
+ if ((a == null ? void 0 : a.country) === r)
2987
+ n = a.formatNational(), d = a.number;
2988
+ else {
2989
+ const o = new E(r);
2990
+ n = o.input(e), d = o.getNumberValue();
2991
+ }
2992
+ } else {
2993
+ n = e.startsWith("00") ? `+${e.slice(2)}` : e;
2994
+ const a = Ut(n);
2995
+ a != null && a.isValid() && (t != null && t.includes(a == null ? void 0 : a.country)) && (n = a.formatNational(), i = a.country);
2996
+ }
2997
+ return { displayNumber: n, unformattedNumber: d, country: i };
2998
+ }, Ed = {
2999
+ "en-US": {
3000
+ countrySelectorDropdown: "Country selector dropdown"
3001
+ }
3002
+ }, xd = {
3003
+ i18n: { messages: Ed }
3004
+ }, Ad = /* @__PURE__ */ oe({
3005
+ ...xd,
3006
+ __name: "input-field-phone-number",
3007
+ props: {
3008
+ disabled: { type: Boolean },
3009
+ error: { type: Boolean },
3010
+ errorMessage: null,
3011
+ label: null,
3012
+ optional: { type: Boolean },
3013
+ placeholder: null,
3014
+ readonly: { type: Boolean },
3015
+ required: { type: Boolean },
3016
+ tooltipText: null,
3017
+ value: null,
3018
+ selectedCountry: null,
3019
+ countries: { default: () => vd() },
3020
+ dynamicFiltering: { type: Boolean, default: !0 }
3021
+ },
3022
+ emits: ["blur", "input", "update:selected-country"],
3023
+ setup(e, { emit: r }) {
3024
+ const t = e, { t: n } = fe(), d = G(t.value), i = G(null), a = G("");
3025
+ $e(ce, "bento-input-field-phone-number");
3026
+ const o = B(() => t.placeholder ? t.placeholder : t.selectedCountry ? Sd(t.selectedCountry) : ""), $ = B(() => Pd(t.countries)), u = B(() => ({
3027
+ items: $.value,
3028
+ value: t.selectedCountry,
3029
+ dynamicFiltering: t.dynamicFiltering,
3030
+ "aria-label": n("countrySelectorDropdown")
3031
+ })), l = () => r("blur"), h = async (s) => {
3032
+ var I;
3033
+ const v = i.value.$refs.inputFieldElement;
3034
+ let c;
3035
+ if (s.startsWith("+") || s.startsWith("00")) {
3036
+ const P = s.startsWith("00") ? `+${s.slice(2)}` : s;
3037
+ c = new E(), c.input(P);
3038
+ const k = c.getCountry();
3039
+ k && t.countries.includes(k) ? (r("update:selected-country", k), d.value = c.getNationalNumber()) : (r("update:selected-country", null), d.value = s), r("input", c.getNumberValue());
3040
+ } else {
3041
+ c = new E(t.selectedCountry);
3042
+ const P = c.input(s);
3043
+ r("input", c.getNumberValue()), d.value = P;
3044
+ }
3045
+ if (await le(), c.isValid() && t.selectedCountry) {
3046
+ const { displayNumber: P } = V(
3047
+ (I = d.value) == null ? void 0 : I.toString(),
3048
+ t.selectedCountry,
3049
+ t.countries
3050
+ );
3051
+ d.value = P;
3052
+ }
3053
+ Cd(v, d.value.toString(), a.value);
3054
+ }, f = (s) => {
3055
+ if (/^[a-zA-Z]$/.test(s.key) && !s.metaKey && !s.ctrlKey) {
3056
+ s.preventDefault();
3057
+ return;
3058
+ }
3059
+ a.value = s.key;
3060
+ }, y = (s) => {
3061
+ r("update:selected-country", s);
3062
+ const { displayNumber: v, unformattedNumber: c } = V(
3063
+ d.value.toString(),
3064
+ s,
3065
+ t.countries
3066
+ );
3067
+ r("input", c), d.value = v;
3068
+ };
3069
+ return ue(() => {
3070
+ var c;
3071
+ const { displayNumber: s, country: v } = V(
3072
+ (c = t.value) == null ? void 0 : c.toString(),
3073
+ t.selectedCountry,
3074
+ t.countries
3075
+ );
3076
+ v !== t.selectedCountry && r("update:selected-country", v), d.value = s;
3077
+ }), { __sfc: !0, t: n, props: t, emit: r, displayValue: d, inputField: i, insertedChar: a, computedPlaceholder: o, countryItems: $, dropdown: u, onBlur: l, onInput: h, onKeydown: f, onCountryChange: y, BentoInputField: se };
3078
+ }
3079
+ });
3080
+ var _d = function() {
3081
+ var r = this, t = r._self._c, n = r._self._setupProxy;
3082
+ return t(n.BentoInputField, r._b({ ref: "inputField", staticClass: "b-input-field-phone-number", attrs: { variant: "dropdown", dropdown: n.dropdown, value: n.displayValue, placeholder: n.computedPlaceholder, type: "tel" }, on: { blur: n.onBlur, input: n.onInput, keydown: n.onKeydown, "dropdown-input": n.onCountryChange }, scopedSlots: r._u([{ key: "description", fn: function() {
3083
+ return [r._t("description")];
3084
+ }, proxy: !0 }], null, !0) }, "bento-input-field", n.props, !1), [r.label ? [r._v(r._s(r.label))] : [r._t("default")]], 2);
3085
+ }, Id = [], Fd = /* @__PURE__ */ me(
3086
+ Ad,
3087
+ _d,
3088
+ Id,
3089
+ !1,
3090
+ null,
3091
+ "c2c2438f"
3092
+ );
3093
+ const kd = Fd.exports;
3094
+ export {
3095
+ kd as i
3096
+ };
3097
+ //# sourceMappingURL=input-field-phone-number.BnjBqUKg.js.map