@zonos/elements 1.4.2 → 1.5.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 (403) hide show
  1. package/dist/cjs/{TaxId-Q6aDqqWv.js → TaxId-ChhNwG04.js} +36 -0
  2. package/dist/cjs/{cart-B6Aty-21.js → cart-CiXlehwQ.js} +88 -52
  3. package/dist/cjs/{collect-DnrvaXUI.js → collect-Drr8fY-q.js} +3 -3
  4. package/dist/cjs/{debounce-Cd2emZPn.js → debounce-BhgA8_3W.js} +2 -2
  5. package/dist/cjs/{debounce-vY0QYT6o.js → debounce-DRPMxNew.js} +1 -1
  6. package/dist/cjs/{getBorderRadius-CyYZw4qq.js → getBorderRadius-CJ_95w3o.js} +1 -1
  7. package/dist/cjs/{getMissingRequiredShippingFields-D03ICqss.js → getMissingRequiredShippingFields-DI6qF1z3.js} +1 -1
  8. package/dist/cjs/{hasInclusivePrice-CPCoVeU3.js → hasInclusivePrice-84KS94yH.js} +1 -1
  9. package/dist/cjs/index.cjs.js +19 -8
  10. package/dist/cjs/{invoice-Cj8W7NW0.js → invoice-5hVfSXpb.js} +3 -3
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/{localization-BzNeXeDe.js → localization-B2mjW0Xa.js} +701 -41
  13. package/dist/cjs/{paypal-CuKshRmZ.js → paypal-pd8Nz_R_.js} +4 -4
  14. package/dist/cjs/{placeTestOrder-7czjwkjm.js → placeTestOrder-DrI8rD9o.js} +2 -2
  15. package/dist/cjs/{renderCheckoutCurrency-BH8t2b2x.js → renderCheckoutCurrency-u5q8YdUb.js} +2 -2
  16. package/dist/cjs/shouldRenderShortAddressCodeInput-gpu_bMfp.js +21 -0
  17. package/dist/cjs/{shouldShowLanguageSelect-yAbtCmd8.js → shouldShowLanguageSelect-gBg4KeTQ.js} +1 -1
  18. package/dist/cjs/{submitGtag-D79e8u6s.js → submitGtag-Rc-S3PnH.js} +1 -1
  19. package/dist/cjs/{throttle-zSVRQLC0.js → taxIdFields-BrIaPTcd.js} +57 -2
  20. package/dist/cjs/taxIdRules-BBj8kQxJ.js +58 -0
  21. package/dist/cjs/{updateCheckoutSessionAttributes-jMtfOL2m.js → updateCheckoutSessionAttributes-d0IKpwW8.js} +1 -1
  22. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +25 -30
  23. package/dist/cjs/zonos-address-display_2.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-address_4.cjs.entry.js +27 -30
  25. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +7 -6
  26. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-button_3.cjs.entry.js +2 -2
  29. package/dist/cjs/zonos-card_5.cjs.entry.js +8 -7
  30. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +148 -80
  31. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +2 -2
  32. package/dist/cjs/zonos-checkout.cjs.entry.js +31 -20
  33. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  34. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -5
  35. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +12 -11
  36. package/dist/cjs/zonos-collect.cjs.entry.js +9 -8
  37. package/dist/cjs/zonos-controller.cjs.entry.js +7 -6
  38. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  39. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  40. package/dist/cjs/zonos-elements.cjs.js +1 -1
  41. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  42. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  43. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  44. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -7
  45. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +12 -11
  46. package/dist/cjs/zonos-invoice.cjs.entry.js +9 -8
  47. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  48. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  49. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +7 -6
  50. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  51. package/dist/cjs/zonos-stripe-input.cjs.entry.js +2 -2
  52. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  53. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  54. package/dist/cjs/{zonosStore-Bx9jK82G.js → zonosStore-CDV83QyK.js} +2 -0
  55. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +10 -0
  56. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +6 -2
  57. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +7 -10
  58. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +12 -4
  59. package/dist/collection/components/store/checkout/stripe.js +10 -12
  60. package/dist/collection/components/store/translationStore/strings.arabic.js +35 -2
  61. package/dist/collection/components/store/translationStore/strings.base.js +35 -2
  62. package/dist/collection/components/store/translationStore/strings.chinese.js +35 -2
  63. package/dist/collection/components/store/translationStore/strings.danish.js +35 -2
  64. package/dist/collection/components/store/translationStore/strings.dutch.js +35 -2
  65. package/dist/collection/components/store/translationStore/strings.french.js +35 -2
  66. package/dist/collection/components/store/translationStore/strings.german.js +35 -2
  67. package/dist/collection/components/store/translationStore/strings.hebrew.js +35 -2
  68. package/dist/collection/components/store/translationStore/strings.indonesian.js +35 -2
  69. package/dist/collection/components/store/translationStore/strings.italian.js +35 -2
  70. package/dist/collection/components/store/translationStore/strings.japanese.js +35 -2
  71. package/dist/collection/components/store/translationStore/strings.korean.js +35 -2
  72. package/dist/collection/components/store/translationStore/strings.norwegian.js +35 -2
  73. package/dist/collection/components/store/translationStore/strings.polish.js +35 -2
  74. package/dist/collection/components/store/translationStore/strings.portuguese.js +35 -2
  75. package/dist/collection/components/store/translationStore/strings.russian.js +35 -2
  76. package/dist/collection/components/store/translationStore/strings.spanish.js +35 -2
  77. package/dist/collection/components/store/translationStore/strings.swedish.js +35 -2
  78. package/dist/collection/components/store/translationStore/strings.turkish.js +35 -2
  79. package/dist/collection/components/store/translationStore/strings.vietnamese.js +35 -2
  80. package/dist/collection/components/store/zonosStore.js +2 -1
  81. package/dist/collection/components/stripe/zonos-address/zonos-address.css +5 -0
  82. package/dist/collection/components/stripe/zonos-address/zonos-address.js +37 -22
  83. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.css +5 -0
  84. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +34 -21
  85. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +24 -35
  86. package/dist/collection/components/utils/checkout/getCheckoutTaxIdPayload.js +16 -0
  87. package/dist/collection/components/utils/checkout/getTaxIdFieldState.js +26 -0
  88. package/dist/collection/components/utils/checkout/isHostedVsNativeTestAllowed.js +13 -0
  89. package/dist/collection/components/utils/checkout/itemCustomization.js +53 -0
  90. package/dist/collection/components/utils/checkout/parseItemCustomizations.js +6 -0
  91. package/dist/collection/components/utils/checkout/resolveTaxIdSelection.js +23 -0
  92. package/dist/collection/components/utils/checkout/shouldRenderTaxIdInput.js +7 -11
  93. package/dist/collection/components/utils/checkout/taxIdFields.js +29 -0
  94. package/dist/collection/components/utils/taxId/taxIdRules.js +44 -0
  95. package/dist/collection/components/utils/taxIdValidationResult.js +57 -58
  96. package/dist/collection/index.js +1 -0
  97. package/dist/collection/types/checkout/TaxId.js +31 -0
  98. package/dist/collection/types/checkout/itemCustomization.js +1 -0
  99. package/dist/collection/types/index.js +1 -0
  100. package/dist/esm/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +32 -1
  101. package/dist/esm/{cart-BoQp8Ema.js → cart-DmJkjiDE.js} +88 -53
  102. package/dist/esm/{collect-Eo4gtyql.js → collect-BV5GTPmh.js} +3 -3
  103. package/dist/esm/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +1 -1
  104. package/dist/esm/{debounce-CrmpwbEE.js → debounce-DWqMT4lo.js} +2 -2
  105. package/dist/esm/{getBorderRadius-DYfkeXdx.js → getBorderRadius-BiGd45jw.js} +1 -1
  106. package/dist/esm/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-DljgpDZe.js} +1 -1
  107. package/dist/esm/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-DhGXpH2D.js} +1 -1
  108. package/dist/esm/index.js +9 -8
  109. package/dist/esm/{invoice-S1KahJ_Z.js → invoice-CO-iqlni.js} +3 -3
  110. package/dist/esm/loader.js +1 -1
  111. package/dist/esm/{localization-BIh-4pc_.js → localization-DHM91diu.js} +701 -41
  112. package/dist/esm/{paypal-DNfvnuUU.js → paypal-BfW5aLJw.js} +4 -4
  113. package/dist/esm/{placeTestOrder-CQaMKFOg.js → placeTestOrder-CyWUFhxD.js} +2 -2
  114. package/dist/esm/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-B31ZNkUv.js} +2 -2
  115. package/dist/esm/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +19 -0
  116. package/dist/esm/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-DwSfSHar.js} +1 -1
  117. package/dist/esm/{submitGtag-df9AQ2zL.js → submitGtag-BEFrutel.js} +1 -1
  118. package/dist/esm/taxIdFields-ByEYfsO5.js +139 -0
  119. package/dist/esm/taxIdRules-xYlx7ZXW.js +47 -0
  120. package/dist/esm/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-B0bQH0uw.js} +1 -1
  121. package/dist/esm/zonos-address-completion-dialog_7.entry.js +23 -28
  122. package/dist/esm/zonos-address-display_2.entry.js +3 -3
  123. package/dist/esm/zonos-address_4.entry.js +25 -28
  124. package/dist/esm/zonos-airwallex-payment.entry.js +7 -6
  125. package/dist/esm/zonos-badge.entry.js +1 -1
  126. package/dist/esm/zonos-banner.entry.js +1 -1
  127. package/dist/esm/zonos-button_3.entry.js +2 -2
  128. package/dist/esm/zonos-card_5.entry.js +8 -7
  129. package/dist/esm/zonos-cart-items_12.entry.js +147 -79
  130. package/dist/esm/zonos-checkbox_2.entry.js +2 -2
  131. package/dist/esm/zonos-checkout.entry.js +31 -20
  132. package/dist/esm/zonos-collapse.entry.js +1 -1
  133. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -5
  134. package/dist/esm/zonos-collect-finish_6.entry.js +12 -11
  135. package/dist/esm/zonos-collect.entry.js +9 -8
  136. package/dist/esm/zonos-controller.entry.js +7 -6
  137. package/dist/esm/zonos-country-flag.entry.js +2 -2
  138. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  139. package/dist/esm/zonos-elements.js +1 -1
  140. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  141. package/dist/esm/zonos-hello.entry.js +4 -4
  142. package/dist/esm/zonos-input.entry.js +2 -2
  143. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -7
  144. package/dist/esm/zonos-invoice-finish_5.entry.js +12 -11
  145. package/dist/esm/zonos-invoice.entry.js +9 -8
  146. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  147. package/dist/esm/zonos-logo.entry.js +1 -1
  148. package/dist/esm/zonos-policy-consent_2.entry.js +7 -6
  149. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  150. package/dist/esm/zonos-stripe-input.entry.js +2 -2
  151. package/dist/esm/zonos-text.entry.js +1 -1
  152. package/dist/esm/zonos-v-stack.entry.js +1 -1
  153. package/dist/esm/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +2 -1
  154. package/dist/esm-es5/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +2 -1
  155. package/dist/esm-es5/{cart-BoQp8Ema.js → cart-DmJkjiDE.js} +64 -53
  156. package/dist/esm-es5/{collect-Eo4gtyql.js → collect-BV5GTPmh.js} +1 -1
  157. package/dist/esm-es5/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +7 -7
  158. package/dist/esm-es5/debounce-DWqMT4lo.js +1 -0
  159. package/dist/esm-es5/getBorderRadius-BiGd45jw.js +8 -0
  160. package/dist/esm-es5/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-DljgpDZe.js} +3 -3
  161. package/dist/esm-es5/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-DhGXpH2D.js} +1 -1
  162. package/dist/esm-es5/index.js +11 -11
  163. package/dist/esm-es5/{invoice-S1KahJ_Z.js → invoice-CO-iqlni.js} +1 -1
  164. package/dist/esm-es5/loader.js +1 -1
  165. package/dist/esm-es5/localization-DHM91diu.js +348 -0
  166. package/dist/esm-es5/{paypal-DNfvnuUU.js → paypal-BfW5aLJw.js} +1 -1
  167. package/dist/esm-es5/{placeTestOrder-CQaMKFOg.js → placeTestOrder-CyWUFhxD.js} +1 -1
  168. package/dist/esm-es5/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-B31ZNkUv.js} +2 -2
  169. package/dist/esm-es5/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +8 -0
  170. package/dist/esm-es5/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-DwSfSHar.js} +1 -1
  171. package/dist/esm-es5/{submitGtag-df9AQ2zL.js → submitGtag-BEFrutel.js} +1 -1
  172. package/dist/esm-es5/taxIdFields-ByEYfsO5.js +46 -0
  173. package/dist/esm-es5/taxIdRules-xYlx7ZXW.js +6 -0
  174. package/dist/esm-es5/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-B0bQH0uw.js} +1 -1
  175. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +253 -254
  176. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
  177. package/dist/esm-es5/zonos-address_4.entry.js +8 -9
  178. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  179. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  180. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  181. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  182. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  183. package/dist/esm-es5/zonos-cart-items_12.entry.js +40 -26
  184. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  185. package/dist/esm-es5/zonos-checkout.entry.js +7 -7
  186. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  187. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  188. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  189. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  190. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  191. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  192. package/dist/esm-es5/zonos-country-select_4.entry.js +2 -2
  193. package/dist/esm-es5/zonos-elements.js +1 -1
  194. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  195. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  196. package/dist/esm-es5/zonos-input.entry.js +1 -1
  197. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +2 -2
  198. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  199. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  200. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  201. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  202. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  203. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  204. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  205. package/dist/esm-es5/zonos-text.entry.js +1 -1
  206. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  207. package/dist/esm-es5/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +1 -1
  208. package/dist/scripts/index.d.ts +97 -1
  209. package/dist/scripts/index.js +1 -1
  210. package/dist/scripts/loadZonos.js +1 -1
  211. package/dist/scripts/zonos.js +1 -1
  212. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +4 -0
  213. package/dist/types/components/store/checkout/stripe.d.ts +9 -0
  214. package/dist/types/components/store/translationStore/strings.arabic.d.ts +34 -1
  215. package/dist/types/components/store/translationStore/strings.base.d.ts +34 -1
  216. package/dist/types/components/store/translationStore/strings.chinese.d.ts +34 -1
  217. package/dist/types/components/store/translationStore/strings.danish.d.ts +34 -1
  218. package/dist/types/components/store/translationStore/strings.dutch.d.ts +34 -1
  219. package/dist/types/components/store/translationStore/strings.french.d.ts +34 -1
  220. package/dist/types/components/store/translationStore/strings.german.d.ts +34 -1
  221. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +34 -1
  222. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +34 -1
  223. package/dist/types/components/store/translationStore/strings.italian.d.ts +34 -1
  224. package/dist/types/components/store/translationStore/strings.japanese.d.ts +34 -1
  225. package/dist/types/components/store/translationStore/strings.korean.d.ts +34 -1
  226. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +34 -1
  227. package/dist/types/components/store/translationStore/strings.polish.d.ts +34 -1
  228. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +34 -1
  229. package/dist/types/components/store/translationStore/strings.russian.d.ts +34 -1
  230. package/dist/types/components/store/translationStore/strings.spanish.d.ts +34 -1
  231. package/dist/types/components/store/translationStore/strings.swedish.d.ts +34 -1
  232. package/dist/types/components/store/translationStore/strings.turkish.d.ts +34 -1
  233. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +34 -1
  234. package/dist/types/components/store/zonosStore.d.ts +2 -1
  235. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +4 -1
  236. package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +4 -1
  237. package/dist/types/components/utils/checkout/getCheckoutTaxIdPayload.d.ts +6 -0
  238. package/dist/types/components/utils/checkout/getTaxIdFieldState.d.ts +18 -0
  239. package/dist/types/components/utils/checkout/isHostedVsNativeTestAllowed.d.ts +11 -0
  240. package/dist/types/components/utils/checkout/itemCustomization.d.ts +23 -0
  241. package/dist/types/components/utils/checkout/parseItemCustomizations.d.ts +7 -0
  242. package/dist/types/components/utils/checkout/resolveTaxIdSelection.d.ts +12 -0
  243. package/dist/types/components/utils/checkout/shouldRenderTaxIdInput.d.ts +2 -1
  244. package/dist/types/components/utils/checkout/taxIdFields.d.ts +11 -0
  245. package/dist/types/components/utils/taxId/taxIdRules.d.ts +37 -0
  246. package/dist/types/components/utils/taxIdValidationResult.d.ts +8 -2
  247. package/dist/types/components.d.ts +22 -0
  248. package/dist/types/index.d.ts +1 -0
  249. package/dist/types/types/checkout/TaxId.d.ts +45 -0
  250. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +11 -0
  251. package/dist/types/types/checkout/api/CreateParty.d.ts +2 -0
  252. package/dist/types/types/checkout/itemCustomization.d.ts +4 -0
  253. package/dist/types/types/index.d.ts +1 -0
  254. package/dist/types/types/utils/ZonosSettings.d.ts +5 -0
  255. package/dist/zonos-elements/index.esm.js +1 -1
  256. package/dist/zonos-elements/{p-7bd99479.system.entry.js → p-064d8829.system.entry.js} +26 -26
  257. package/dist/zonos-elements/p-107f287b.entry.js +1 -0
  258. package/dist/zonos-elements/{p-51400242.system.entry.js → p-1199baef.system.entry.js} +3 -3
  259. package/dist/zonos-elements/p-12b24ebb.entry.js +1 -0
  260. package/dist/zonos-elements/{p-9c33f7ed.system.entry.js → p-189cc594.system.entry.js} +1 -1
  261. package/dist/zonos-elements/{p-d3d0656a.entry.js → p-1a5acbcd.entry.js} +1 -1
  262. package/dist/zonos-elements/{p-11defdca.system.entry.js → p-1cc42a98.system.entry.js} +18 -18
  263. package/dist/zonos-elements/p-1e6db427.entry.js +1 -0
  264. package/dist/zonos-elements/{p-5016d71b.system.entry.js → p-1fda4aec.system.entry.js} +132 -117
  265. package/dist/zonos-elements/{p-756d303f.system.entry.js → p-20eb00de.system.entry.js} +1 -1
  266. package/dist/zonos-elements/{p-5967a1c1.system.entry.js → p-216a908d.system.entry.js} +5 -5
  267. package/dist/zonos-elements/p-25eb99d4.entry.js +1 -0
  268. package/dist/zonos-elements/{p-23352709.system.entry.js → p-2b63865a.system.entry.js} +4 -4
  269. package/dist/zonos-elements/{p-6db7c0b1.system.entry.js → p-2ca826b9.system.entry.js} +2 -2
  270. package/dist/zonos-elements/{p-6c41b00c.entry.js → p-2d513aa3.entry.js} +1 -1
  271. package/dist/zonos-elements/{p-c961caaf.entry.js → p-3e705c9b.entry.js} +1 -1
  272. package/dist/zonos-elements/{p-acd50b0b.entry.js → p-4612facd.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-5b80aff2.system.entry.js → p-46a839d2.system.entry.js} +24 -24
  274. package/dist/zonos-elements/p-46b9f0cf.entry.js +1 -0
  275. package/dist/zonos-elements/{p-244e0302.system.entry.js → p-4715045c.system.entry.js} +1 -1
  276. package/dist/zonos-elements/{p-d168023b.entry.js → p-4917b74d.entry.js} +1 -1
  277. package/dist/zonos-elements/{p-0b81f8b9.system.entry.js → p-53eac12f.system.entry.js} +14 -14
  278. package/dist/zonos-elements/{p-17c7ea4a.system.entry.js → p-55813e9f.system.entry.js} +3 -3
  279. package/dist/zonos-elements/{p-06030d3b.system.entry.js → p-5585db86.system.entry.js} +45 -45
  280. package/dist/zonos-elements/p-59fc32af.entry.js +1 -0
  281. package/dist/zonos-elements/{p-193d9722.entry.js → p-61312d5b.entry.js} +1 -1
  282. package/dist/zonos-elements/p-636b71d4.entry.js +1 -0
  283. package/dist/zonos-elements/{p-155ed3d3.system.entry.js → p-6410fa11.system.entry.js} +24 -24
  284. package/dist/zonos-elements/{p-0fca452b.entry.js → p-65817880.entry.js} +1 -1
  285. package/dist/zonos-elements/p-678b9214.entry.js +1 -0
  286. package/dist/zonos-elements/p-6e691736.entry.js +1 -0
  287. package/dist/zonos-elements/p-6vSUiBfr.system.js +348 -0
  288. package/dist/zonos-elements/p-74659d88.entry.js +1 -0
  289. package/dist/zonos-elements/p-7dc7f328.entry.js +1 -0
  290. package/dist/zonos-elements/{p-55916c90.entry.js → p-7f1bea9b.entry.js} +1 -1
  291. package/dist/zonos-elements/{p-1c150f26.entry.js → p-821e413a.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-c403f004.system.entry.js → p-82e45d0c.system.entry.js} +1 -1
  293. package/dist/zonos-elements/p-84e76348.entry.js +1 -0
  294. package/dist/zonos-elements/{p-1409de3b.system.entry.js → p-88e20e99.system.entry.js} +1 -1
  295. package/dist/zonos-elements/{p-195f6e38.system.entry.js → p-89a3c4db.system.entry.js} +1 -1
  296. package/dist/zonos-elements/{p-4679f0ec.entry.js → p-8f9d8795.entry.js} +1 -1
  297. package/dist/zonos-elements/p-8fa6cfff.entry.js +1 -0
  298. package/dist/zonos-elements/{p-92fe9a1f.system.entry.js → p-902cca23.system.entry.js} +1 -1
  299. package/dist/zonos-elements/{p-0a4a7742.system.entry.js → p-93860183.system.entry.js} +1 -1
  300. package/dist/zonos-elements/{p-69c3e367.system.entry.js → p-941a95a1.system.entry.js} +10 -10
  301. package/dist/zonos-elements/{p-b5882fbb.system.entry.js → p-9449b4f4.system.entry.js} +1 -1
  302. package/dist/zonos-elements/{p-6abec43f.system.entry.js → p-960070d0.system.entry.js} +3 -3
  303. package/dist/zonos-elements/{p-1bac5ac1.system.entry.js → p-990fcf81.system.entry.js} +1 -1
  304. package/dist/zonos-elements/p-BD-9rD53.js +1 -0
  305. package/dist/zonos-elements/p-BMPYH-LT.js +1 -0
  306. package/dist/zonos-elements/{p-DI2vXnXc.system.js → p-BrQ8n8NS.system.js} +3 -3
  307. package/dist/zonos-elements/p-Bu9WCfUC.system.js +2 -2
  308. package/dist/zonos-elements/{p-CUaf1cEg.js → p-C70h5mKA.js} +1 -1
  309. package/dist/zonos-elements/{p-B4Ufchqh.system.js → p-C9XLkmmb.system.js} +3 -3
  310. package/dist/zonos-elements/{p-CZD8WvyY.system.js → p-CBUz18kA.system.js} +1 -1
  311. package/dist/zonos-elements/{p-kaOxUR9u.system.js → p-CGNVm52g.system.js} +6 -6
  312. package/dist/zonos-elements/p-CHKKvuiz.js +1 -0
  313. package/dist/zonos-elements/{p-0mGRBGcf.js → p-CMo3ZweU.js} +1 -1
  314. package/dist/zonos-elements/p-CTiqplrr.js +1 -0
  315. package/dist/zonos-elements/p-CYxMfUL7.system.js +1 -0
  316. package/dist/zonos-elements/{p-D4MevhAL.system.js → p-CbhN65lj.system.js} +3 -3
  317. package/dist/zonos-elements/p-Ch1w0Lr7.js +1 -0
  318. package/dist/zonos-elements/{p-W82paT5F.js → p-CqB9AfBf.js} +1 -1
  319. package/dist/zonos-elements/p-CzKlS3E-.system.js +6 -0
  320. package/dist/zonos-elements/p-D1SmY_fZ.js +1 -0
  321. package/dist/zonos-elements/{p-sz4L-ZnB.js → p-D1e9zNDA.js} +1 -1
  322. package/dist/zonos-elements/{p-c9QtIdJX.js → p-D6xXnsM_.js} +1 -1
  323. package/dist/zonos-elements/{p-8PPEbm_0.system.js → p-DIab60nK.system.js} +12 -12
  324. package/dist/zonos-elements/{p-Cye-evFK.js → p-DMIgN_sT.js} +1 -1
  325. package/dist/zonos-elements/{p-DCS8qcL6.system.js → p-DQrMfUzi.system.js} +41 -41
  326. package/dist/zonos-elements/{p-BuU_p5DP.system.js → p-DTgUqgwV.system.js} +2 -2
  327. package/dist/zonos-elements/p-DW7I0zOF.js +1 -0
  328. package/dist/zonos-elements/p-DZdkJHK9.system.js +7 -0
  329. package/dist/zonos-elements/{p-XqkqjeNV.system.js → p-DgUrB-1a.system.js} +1 -1
  330. package/dist/zonos-elements/p-DiMEP3mh.js +1 -0
  331. package/dist/zonos-elements/p-DprOoI2W.system.js +528 -0
  332. package/dist/zonos-elements/{p-7abqRc9V.js → p-DpwmHU8R.js} +2 -2
  333. package/dist/zonos-elements/p-DqVePqqx.system.js +8 -0
  334. package/dist/zonos-elements/{p-Cby4EkFu.system.js → p-DsBuZ6ob.system.js} +2 -1
  335. package/dist/zonos-elements/{p-XDxdMlQl.system.js → p-Dtu_Japy.system.js} +39 -39
  336. package/dist/zonos-elements/p-Dwg61Ft_.js +1 -0
  337. package/dist/zonos-elements/p-U33isUJG.js +1 -0
  338. package/dist/zonos-elements/{p-Be3Hpms1.system.js → p-XoQH3S7Z.system.js} +1 -1
  339. package/dist/zonos-elements/{p-474e8a92.system.entry.js → p-a1022808.system.entry.js} +1 -1
  340. package/dist/zonos-elements/{p-83aa1c8c.entry.js → p-ad04bba2.entry.js} +1 -1
  341. package/dist/zonos-elements/{p-a938c174.entry.js → p-b51010b9.entry.js} +1 -1
  342. package/dist/zonos-elements/{p-dfc87b10.system.entry.js → p-c33b8f6a.system.entry.js} +1 -1
  343. package/dist/zonos-elements/{p-a40fd99b.system.entry.js → p-cccaad60.system.entry.js} +39 -40
  344. package/dist/zonos-elements/p-d3345b2c.entry.js +1 -0
  345. package/dist/zonos-elements/{p-249c1ee1.system.entry.js → p-d8f375da.system.entry.js} +3 -3
  346. package/dist/zonos-elements/{p-2603dce0.entry.js → p-e216cc8c.entry.js} +1 -1
  347. package/dist/zonos-elements/{p-b79036fc.entry.js → p-e7fdb2c9.entry.js} +1 -1
  348. package/dist/zonos-elements/p-ebe157b5.entry.js +1 -0
  349. package/dist/zonos-elements/p-ef5344ea.entry.js +1 -0
  350. package/dist/zonos-elements/{p-be1237fc.system.entry.js → p-f3d9a380.system.entry.js} +97 -97
  351. package/dist/zonos-elements/{p-31043c2e.system.entry.js → p-f5f95990.system.entry.js} +296 -297
  352. package/dist/zonos-elements/p-fda89981.system.entry.js +13 -0
  353. package/dist/zonos-elements/{p-d4d2b39e.entry.js → p-fddf3556.entry.js} +1 -1
  354. package/dist/zonos-elements/p-iAIzUA4k.js +1 -0
  355. package/dist/zonos-elements/{p-BpDCLBwW.js → p-n5PZKz1k.js} +1 -1
  356. package/dist/zonos-elements/{p-DoEHepOc.system.js → p-ojtNq-r5.system.js} +1 -1
  357. package/dist/zonos-elements/{p-C_z9WL8a.js → p-r-YGHhLa.js} +1 -1
  358. package/dist/zonos-elements/{p-CBx5nYet.system.js → p-vTIygnHq.system.js} +1 -1
  359. package/dist/zonos-elements/{p-DQZncB2d.system.js → p-zsTASoh2.system.js} +3 -3
  360. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  361. package/item-customization.d.ts +25 -0
  362. package/item-customization.js +52 -0
  363. package/package.json +7 -4
  364. package/dist/cjs/shouldRenderTaxIdInput-TxekHCp7.js +0 -43
  365. package/dist/esm/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -40
  366. package/dist/esm/throttle-Cvlvb-dm.js +0 -85
  367. package/dist/esm-es5/debounce-CrmpwbEE.js +0 -1
  368. package/dist/esm-es5/getBorderRadius-DYfkeXdx.js +0 -8
  369. package/dist/esm-es5/localization-BIh-4pc_.js +0 -348
  370. package/dist/esm-es5/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -17
  371. package/dist/esm-es5/throttle-Cvlvb-dm.js +0 -46
  372. package/dist/zonos-elements/p-0457f579.entry.js +0 -1
  373. package/dist/zonos-elements/p-06fe2939.entry.js +0 -1
  374. package/dist/zonos-elements/p-24f3c547.entry.js +0 -1
  375. package/dist/zonos-elements/p-34656e6c.entry.js +0 -1
  376. package/dist/zonos-elements/p-39ee1558.entry.js +0 -1
  377. package/dist/zonos-elements/p-3a2da031.entry.js +0 -1
  378. package/dist/zonos-elements/p-4806b264.system.entry.js +0 -13
  379. package/dist/zonos-elements/p-725e29bb.entry.js +0 -1
  380. package/dist/zonos-elements/p-BGktDPwA.system.js +0 -1
  381. package/dist/zonos-elements/p-Bi-s0fp_.system.js +0 -17
  382. package/dist/zonos-elements/p-CEK_Wk6v.system.js +0 -7
  383. package/dist/zonos-elements/p-CFbfEmjN.js +0 -1
  384. package/dist/zonos-elements/p-CcJF6xhQ.js +0 -1
  385. package/dist/zonos-elements/p-Cxuiqv1I.js +0 -1
  386. package/dist/zonos-elements/p-D-bZg-Pc.js +0 -1
  387. package/dist/zonos-elements/p-DOD2I44l.system.js +0 -348
  388. package/dist/zonos-elements/p-DS-qw_qc.system.js +0 -517
  389. package/dist/zonos-elements/p-DZ2mevDK.js +0 -1
  390. package/dist/zonos-elements/p-DnjGkbEy.js +0 -1
  391. package/dist/zonos-elements/p-FRWZayxL.js +0 -1
  392. package/dist/zonos-elements/p-Mrz_lnC1.js +0 -1
  393. package/dist/zonos-elements/p-ad9ff14c.entry.js +0 -1
  394. package/dist/zonos-elements/p-bb3546c0.entry.js +0 -1
  395. package/dist/zonos-elements/p-c1cbfdba.entry.js +0 -1
  396. package/dist/zonos-elements/p-c47ce656.entry.js +0 -1
  397. package/dist/zonos-elements/p-c9d5d8f1.entry.js +0 -1
  398. package/dist/zonos-elements/p-clDfq9AL.js +0 -1
  399. package/dist/zonos-elements/p-d74bc3e8.entry.js +0 -1
  400. package/dist/zonos-elements/p-d8b312e5.entry.js +0 -1
  401. package/dist/zonos-elements/p-db87b0dd.entry.js +0 -1
  402. package/dist/zonos-elements/p-defc2d18.entry.js +0 -1
  403. package/dist/zonos-elements/p-rVp8hgWw.js +0 -1
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,o){function d(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function i(e){try{a(o.next(e))}catch(e){r(e)}}function s(e){try{a(o["throw"](e))}catch(e){r(e)}}function a(e){e.done?n(e.value):d(e.value).then(i,s)}a((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,d,r,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return a([e,t])}}function a(s){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(n=0)),n)try{if(o=1,d&&(r=s[0]&2?d["return"]:s[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,s[1])).done)return r;if(d=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;d=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];d=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var o=0,d=t.length,r;o<d;o++){if(r||!(o in t)){if(!r)r=Array.prototype.slice.call(t,0,o);r[o]=t[o]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-CIevpRv_.system.js","./p-DOD2I44l.system.js","./p-BuU_p5DP.system.js","./p-DI2vXnXc.system.js","./p-C2j7R11h.system.js","./p-DS-qw_qc.system.js","./p-0D0aCMu6.system.js","./p-BgSx82zO.system.js","./p-DQZncB2d.system.js","./p-B4Ufchqh.system.js","./p-zVLAvre1.system.js","./p-Bi-s0fp_.system.js","./p-BbgqQIHv.system.js","./p-Cby4EkFu.system.js","./p-d05Ku7gM.system.js","./p-DW-fW8yR.system.js","./p-8PPEbm_0.system.js","./p-C29tlYn0.system.js"],(function(e){"use strict";var t,n,o,d,r,i,s,a,u,l,$,f,c,h,p,v,b,y,m,g,z,w,x,k,C,S,O,E,N,I,A;return{setters:[function(e){t=e.r;n=e.d;o=e.h;d=e.a;r=e.g},function(e){i=e.t;s=e.s;a=e.z;u=e.l},function(e){l=e.z;$=e.a},function(e){f=e.M},function(e){c=e.c},function(e){h=e.U;p=e.b;v=e.w;b=e.t},function(e){y=e.R},function(e){m=e.i;g=e.c},function(e){z=e.g},function(e){w=e.t},function(e){x=e.i},function(e){k=e.a;C=e.s},function(e){S=e.l},function(e){O=e.c;E=e.s},function(e){N=e.i;I=e.a},function(e){A=e.i},null,null],execute:function(){var j=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:24px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:5px;gap:20px;-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--selected-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}:host .zonos--completion-fields{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}:host .zonos--completion-name-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--completion-name-row zonos-input{-ms-flex:1;flex:1}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--completion-name-row{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--submit-btn{-ms-flex-order:1;order:1}"};var T=e("zonos_address_completion_dialog",/** @class */function(){function e(e){var d=this;t(this,e);this.closeCompletionDialog=n(this,"closeCompletionDialog",7);this.completionSubmit=n(this,"completionSubmit",7);
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,o){function d(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function i(e){try{a(o.next(e))}catch(e){r(e)}}function s(e){try{a(o["throw"](e))}catch(e){r(e)}}function a(e){e.done?n(e.value):d(e.value).then(i,s)}a((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,d,r,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return a([e,t])}}function a(s){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(n=0)),n)try{if(o=1,d&&(r=s[0]&2?d["return"]:s[0]?d["throw"]||((r=d["return"])&&r.call(d),0):d.next)&&!(r=r.call(d,s[1])).done)return r;if(d=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;d=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];d=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var o=0,d=t.length,r;o<d;o++){if(r||!(o in t)){if(!r)r=Array.prototype.slice.call(t,0,o);r[o]=t[o]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-CIevpRv_.system.js","./p-6vSUiBfr.system.js","./p-DTgUqgwV.system.js","./p-BrQ8n8NS.system.js","./p-C2j7R11h.system.js","./p-DprOoI2W.system.js","./p-0D0aCMu6.system.js","./p-BgSx82zO.system.js","./p-zsTASoh2.system.js","./p-C9XLkmmb.system.js","./p-zVLAvre1.system.js","./p-DqVePqqx.system.js","./p-BbgqQIHv.system.js","./p-d05Ku7gM.system.js","./p-DW-fW8yR.system.js","./p-CzKlS3E-.system.js","./p-DsBuZ6ob.system.js","./p-DIab60nK.system.js","./p-C29tlYn0.system.js"],(function(e){"use strict";var t,n,o,d,r,i,s,a,u,l,$,f,c,h,p,v,b,y,m,g,z,w,x,k,C,S,O,E,N,I;return{setters:[function(e){t=e.r;n=e.d;o=e.h;d=e.a;r=e.g},function(e){i=e.t;s=e.s;a=e.z;u=e.l},function(e){l=e.z;$=e.e;f=e.a},function(e){c=e.M},function(e){h=e.c},function(e){p=e.U;v=e.b;b=e.w;y=e.t},function(e){m=e.R},function(e){g=e.i;z=e.c},function(e){w=e.g},function(e){x=e.t;k=e.r},function(e){C=e.i},function(e){S=e.s},function(e){O=e.l},function(e){E=e.i;N=e.a},function(e){I=e.i},null,null,null,null],execute:function(){var A=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:24px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:5px;gap:20px;-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--selected-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}:host .zonos--completion-fields{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}:host .zonos--completion-name-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--completion-name-row zonos-input{-ms-flex:1;flex:1}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--completion-name-row{-ms-flex-direction:column;flex-direction:column}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--submit-btn{-ms-flex-order:1;order:1}"};var j=e("zonos_address_completion_dialog",/** @class */function(){function e(e){var d=this;t(this,e);this.closeCompletionDialog=n(this,"closeCompletionDialog",7);this.completionSubmit=n(this,"completionSubmit",7);
2
2
  /**
3
3
  * Whether or not the continue button is loading
4
4
  */this.continueLoading=false;
@@ -21,7 +21,7 @@ var __awaiter=this&&this.__awaiter||function(e,t,n,o){function d(e){return e ins
21
21
  * A captured field is valid when it has a value. Postal code additionally enforces the same
22
22
  * minimum length as the landed-cost readiness / detection check, so the dialog can't emit a
23
23
  * too-short postal code that would still be considered "missing" downstream.
24
- */this.isFieldValid=function(e){var t,n,o;if(e==="postal_code"){return((n=(t=d.values.postal_code)===null||t===void 0?void 0:t.trim().length)!==null&&n!==void 0?n:0)>=f}return!!((o=d.values[e])===null||o===void 0?void 0:o.trim())};this.getFieldError=function(e){return d.showError&&!d.isFieldValid(e)};this.updateValue=function(e,t){var n;d.values=Object.assign(Object.assign({},d.values),(n={},n[e]=t,n));
24
+ */this.isFieldValid=function(e){var t,n,o;if(e==="postal_code"){return((n=(t=d.values.postal_code)===null||t===void 0?void 0:t.trim().length)!==null&&n!==void 0?n:0)>=c}return!!((o=d.values[e])===null||o===void 0?void 0:o.trim())};this.getFieldError=function(e){return d.showError&&!d.isFieldValid(e)};this.updateValue=function(e,t){var n;d.values=Object.assign(Object.assign({},d.values),(n={},n[e]=t,n));
25
25
  // Once the customer starts fixing the fields, re-evaluate whether errors remain
26
26
  if(d.showError){d.showError=!d.isComplete()}};this.isComplete=function(){return d.missingFields.every((function(e){
27
27
  // A missing last name also requires a first name (both are edited together).
@@ -41,15 +41,15 @@ e.prototype.watchDialogOpen=function(e){return __awaiter(this,void 0,void 0,(fun
41
41
  // Wait for shippingAddress prop to be updated before resetting the values
42
42
  return[4/*yield*/,new Promise((function(e){return setTimeout(e,100)}))];case 1:
43
43
  // Wait for shippingAddress prop to be updated before resetting the values
44
- o.sent();n=h({name:(t=this.shippingAddress)===null||t===void 0?void 0:t.name}).firstName;this.values=this.isFieldMissing("lastName")?{firstName:n}:{};this.showError=false;o.label=2;case 2:return[2/*return*/]}}))}))};e.prototype.render=function(){var e=this;var t=this.submitBtnColor||l.appearance.colorSecondary;
44
+ o.sent();n=p({name:(t=this.shippingAddress)===null||t===void 0?void 0:t.name}).firstName;this.values=this.isFieldMissing("lastName")?{firstName:n}:{};this.showError=false;o.label=2;case 2:return[2/*return*/]}}))}))};e.prototype.render=function(){var e=this;var t=this.submitBtnColor||l.appearance.colorSecondary;
45
45
  // dialog background is white, so a white button needs an outline to stay visible
46
- var n=t==="#ffffff"?"outline":this.submitBtnType||"standard";return o(d,{key:"9a89376022ebd8f5793882fb13a3502deca001f8",class:c(["zonos--address-completion-dialog zonos--elements",this.isMobile&&"mobile"])},o("zonos-dialog",{key:"00ff3912a7bf8d021441440f0de2825b49f7b78e",isLoading:false,mobile:this.isMobile,noBodyPadding:true,noBorder:true,noClickOutside:true,noCloseButton:true,onCloseDialog:function(){return e.closeCompletionDialog.emit()},open:this.dialogOpen,width:"568px"},o("div",{key:"1ba1cd333bd1f362a77f1f114ac50c309ed5ccd6",class:"zonos--body"},o("div",{key:"ccf9f54ff4b26e5443ff5c8276e5c5d36aac332b",class:"zonos--dialog-header"},o("div",{key:"01e073aa559c4040a6599aefb3bf8cb967928929",class:"zonos--dialog-title"},o("zonos-text",{key:"8472a72f6274646bb87d150c82722f93c861ae72",type:"title"},i("Complete your shipping address")),o("zonos-button",{key:"e9a6c2cbc3d64bf87e94850c1126119687f75e7d",class:"zonos--close-button",icon:o("zonos-icon",{"aria-label":"Close checkout dialog",content:y}),noBackground:true,onClick:function(){return e.closeCompletionDialog.emit()},title:"Close checkout dialog"})),o("zonos-text",{key:"c9ff785b746810f0c266071ee9a3f433ad645a2b"},i("This saved address is missing information required to ship internationally. Please add the details below."))),o("div",{key:"86e2b0da7dbcd1370b80fc8c53e8a7de4c11ed74",class:"zonos--group"},o("div",{key:"1542bb7f0b9df16f5ce36d38dc9408a1b3e836a7",class:"zonos--selected-address"},o("zonos-text",{key:"2572e3e44a9c81f6694e4939de39951ec659c8fa",class:"zonos--selected-label",type:"semiBoldLabel"},i("Selected address")),o("zonos-address-display",{key:"8781622b3d057cfbdba59e13d5fabf76f3a7a7dd",addressType:"shipping",currentAddress:this.shippingAddress})),o("div",{key:"ac3a5f6566c2179045a784b661b7e82c7b371a3f",class:"zonos--completion-fields"},this.renderNameFields(),this.renderField("state",i("State/Province")),this.renderField("postal_code",i("Postal code")))),o("div",{key:"1007d7f6c671fbd94dd3027332d2d7ac1edeef6e",class:"zonos--group-btn"},o("div",{key:"22fe2c8d03d7b3c680eea2b4afebf1868b5b6c0b",class:"zonos--button-wrapper"},o("zonos-button",{key:"dbcf1aa175992bff762ecc36108bf94090b7df0e",class:"zonos--cancel-btn",onClick:function(){return e.closeCompletionDialog.emit()},variant:"subtle"},i("Cancel")),o("zonos-button",{key:"63b0f966565e86ea9bac640b2fa690287c94b11f",backgroundColor:this.submitBtnColor,class:"zonos--submit-btn",loading:this.continueLoading,onClick:function(){return e.submitHandler()},size:"sm",variant:n},i("Save and continue")))))))};Object.defineProperty(e,"watchers",{get:function(){return{dialogOpen:[{watchDialogOpen:0}]}},enumerable:false,configurable:true});return e}());T.style=j();var L=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--title{margin-bottom:20px}:host .zonos--address-group{display:-ms-flexbox;display:flex;gap:20px;-ms-flex-direction:column;flex-direction:column;margin:1px}:host .zonos--contact{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}:host .zonos--address-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--address-row>*{-ms-flex:1;flex:1}:host .zonos--address{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}"};var P=e("zonos_address_form",/** @class */function(){function e(e){var o=this;t(this,e);this.addressChange=n(this,"addressChange",7);
46
+ var n=t==="#ffffff"?"outline":this.submitBtnType||"standard";return o(d,{key:"9a89376022ebd8f5793882fb13a3502deca001f8",class:h(["zonos--address-completion-dialog zonos--elements",this.isMobile&&"mobile"])},o("zonos-dialog",{key:"00ff3912a7bf8d021441440f0de2825b49f7b78e",isLoading:false,mobile:this.isMobile,noBodyPadding:true,noBorder:true,noClickOutside:true,noCloseButton:true,onCloseDialog:function(){return e.closeCompletionDialog.emit()},open:this.dialogOpen,width:"568px"},o("div",{key:"1ba1cd333bd1f362a77f1f114ac50c309ed5ccd6",class:"zonos--body"},o("div",{key:"ccf9f54ff4b26e5443ff5c8276e5c5d36aac332b",class:"zonos--dialog-header"},o("div",{key:"01e073aa559c4040a6599aefb3bf8cb967928929",class:"zonos--dialog-title"},o("zonos-text",{key:"8472a72f6274646bb87d150c82722f93c861ae72",type:"title"},i("Complete your shipping address")),o("zonos-button",{key:"e9a6c2cbc3d64bf87e94850c1126119687f75e7d",class:"zonos--close-button",icon:o("zonos-icon",{"aria-label":"Close checkout dialog",content:m}),noBackground:true,onClick:function(){return e.closeCompletionDialog.emit()},title:"Close checkout dialog"})),o("zonos-text",{key:"c9ff785b746810f0c266071ee9a3f433ad645a2b"},i("This saved address is missing information required to ship internationally. Please add the details below."))),o("div",{key:"86e2b0da7dbcd1370b80fc8c53e8a7de4c11ed74",class:"zonos--group"},o("div",{key:"1542bb7f0b9df16f5ce36d38dc9408a1b3e836a7",class:"zonos--selected-address"},o("zonos-text",{key:"2572e3e44a9c81f6694e4939de39951ec659c8fa",class:"zonos--selected-label",type:"semiBoldLabel"},i("Selected address")),o("zonos-address-display",{key:"8781622b3d057cfbdba59e13d5fabf76f3a7a7dd",addressType:"shipping",currentAddress:this.shippingAddress})),o("div",{key:"ac3a5f6566c2179045a784b661b7e82c7b371a3f",class:"zonos--completion-fields"},this.renderNameFields(),this.renderField("state",i("State/Province")),this.renderField("postal_code",i("Postal code")))),o("div",{key:"1007d7f6c671fbd94dd3027332d2d7ac1edeef6e",class:"zonos--group-btn"},o("div",{key:"22fe2c8d03d7b3c680eea2b4afebf1868b5b6c0b",class:"zonos--button-wrapper"},o("zonos-button",{key:"dbcf1aa175992bff762ecc36108bf94090b7df0e",class:"zonos--cancel-btn",onClick:function(){return e.closeCompletionDialog.emit()},variant:"subtle"},i("Cancel")),o("zonos-button",{key:"63b0f966565e86ea9bac640b2fa690287c94b11f",backgroundColor:this.submitBtnColor,class:"zonos--submit-btn",loading:this.continueLoading,onClick:function(){return e.submitHandler()},size:"sm",variant:n},i("Save and continue")))))))};Object.defineProperty(e,"watchers",{get:function(){return{dialogOpen:[{watchDialogOpen:0}]}},enumerable:false,configurable:true});return e}());j.style=A();var T=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--title{margin-bottom:20px}:host .zonos--address-group{display:-ms-flexbox;display:flex;gap:20px;-ms-flex-direction:column;flex-direction:column;margin:1px}:host .zonos--contact{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}:host .zonos--address-row{display:-ms-flexbox;display:flex;gap:8px}:host .zonos--address-row>*{-ms-flex:1;flex:1}:host .zonos--address{display:-ms-flexbox;display:flex;gap:8px;-ms-flex-direction:column;flex-direction:column}"};var L=e("zonos_address_form",/** @class */function(){function e(e){var o=this;t(this,e);this.addressChange=n(this,"addressChange",7);
47
47
  /**
48
48
  * Local address to update
49
49
  */this.localAddress=this.currentAddress;this.onInputChange=function(e){var t;var n=e.key,d=e.value;o.addressChange.emit(Object.assign(Object.assign({},o.localAddress),(t={},t[n]=d,t)))}}e.prototype.watchCurrentAddress=function(){var e,t,n,o,d,r;var i=this.currentAddress,s=i.city,a=i.line1,u=i.line2,l=i.name,$=i.postal_code,f=i.state;
50
50
  // Update the local address when the current address changes
51
51
  // If translated address is available, use that instead
52
- this.localAddress=Object.assign(Object.assign({},this.currentAddress),{city:((e=this.translatedAddress.city)===null||e===void 0?void 0:e[s])||s,line1:((t=this.translatedAddress.line1)===null||t===void 0?void 0:t[a])||a,line2:((n=this.translatedAddress.line2)===null||n===void 0?void 0:n[u])||u,name:((o=this.translatedAddress.name)===null||o===void 0?void 0:o[l])||l,postal_code:((d=this.translatedAddress.postal_code)===null||d===void 0?void 0:d[$])||$,state:((r=this.translatedAddress.state)===null||r===void 0?void 0:r[f])||f})};e.prototype.componentWillLoad=function(){this.watchCurrentAddress()};e.prototype.render=function(){var e=this;var t=this.localAddress,n=t.city,r=t.country,s=t.line1,a=t.line2,u=t.name,l=t.phone,$=t.postal_code,f=t.state;var c=h({name:u}),p=c.firstName,v=c.lastName;return o(d,{key:"44edb799473e427b08e17d6d20f08a028a3cc688",class:"zonos--address-form zonos--elements"},o("div",{key:"99c2d5b58464bebd7bb3e5c2a4ac3aa04d80b47f",class:"zonos--title"},o("zonos-text",{key:"5a86048c7d768b795db1416182e2b22458924601",textColor:"gray-700",type:"smallHeader"},this.addressType==="shipping"?i("Shipping"):i("Billing"))),o("div",{key:"a907058d970cb6674b403f79c0946e36a0e61f69",class:"zonos--address-group"},o("div",{key:"fad2f71614c6963015f95e74e297c58a4adee95b",class:"zonos--contact"},o("zonos-text",{key:"0c661050b1b95da56af1046fac39c7fa6de18685",type:"label"},i("Contact")),o("zonos-input",{key:"3e35a5f9d4bca373ef9403da0de53ea895aca61f",class:"zonos--form-email",inputLabel:i("Email"),inputValue:this.currentAddress.email,isDisabled:true}),o("div",{key:"093cdcc771b4ade381a392a1023d9d037d4e3e35",class:"zonos--name zonos--address-row"},o("zonos-input",{key:"e9d957551070a855179b78da655beaf3b4e731e2",class:"zonos--form-first-name",inputLabel:i("First name"),inputValue:p,isError:m(p),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(t.detail," ").concat(v)})}}),o("zonos-input",{key:"0b86805e872607d367446f5e6ef074974f9840c2",class:"zonos--form-last-name",inputLabel:i("Last name"),inputValue:v,isError:m(v),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(p," ").concat(t.detail)})}}))),o("div",{key:"6447f55e8d173d18cd46cba829527c4d487631a2",class:"zonos--address"},o("zonos-text",{key:"18ef146cc44f658524c6535e851281b62249fa26",type:"label"},i("Address")),o("zonos-input",{key:"95cfb115c4304e8a142ab2e952fc8c4bfbe39e43",class:"zonos--form-country",inputLabel:i("Country"),inputValue:r,isDisabled:true}),o("zonos-input",{key:"e3774713ec0b0e861981aa9f2c62f6749125e174",class:"zonos--form-line1",inputLabel:i("Address line 1"),inputValue:s,isError:m(s),onInputChange:function(t){return e.onInputChange({key:"line1",value:t.detail})}}),o("zonos-input",{key:"0d1fce85ad42e42b266ad411d4e3a96e4b8b8bf3",class:"zonos--form-line2",inputLabel:i("Address line 2"),inputValue:a,isError:m(a),onInputChange:function(t){return e.onInputChange({key:"line2",value:t.detail})}}),o("div",{key:"5d5e740b711ff65a0366a6c4891f22684f32c74b",class:"zonos--address-row"},o("zonos-input",{key:"8f124a91865c59096ba5c624ec229a3d1545c985",class:"zonos--form-city",inputLabel:i("City"),inputValue:n,isError:m(n),onInputChange:function(t){return e.onInputChange({key:"city",value:t.detail})}}),this.currentAddress.state&&o("zonos-input",{key:"50e852953ba88573929a200bce4c67fab2146245",class:"zonos--form-state",inputLabel:i("State/Province"),inputValue:f,isError:m(f),onInputChange:function(t){return e.onInputChange({key:"state",value:t.detail})}})),o("zonos-input",{key:"74c17f1d1a77af3f90100a6832b2c8fe7bdca24e",class:"zonos--form-postal-code",inputLabel:i("Postal code"),inputValue:$,isError:m($),onInputChange:function(t){return e.onInputChange({key:"postal_code",value:t.detail})}}),o("zonos-input",{key:"20775c4a944fe9305446898109637e5b38229a1d",class:"zonos--form-phone",inputLabel:i("Phone number"),inputValue:l,onInputChange:function(t){return e.onInputChange({key:"phone",value:t.detail})}}))))};Object.defineProperty(e,"watchers",{get:function(){return{translatedAddress:[{watchCurrentAddress:0}]}},enumerable:false,configurable:true});return e}());P.style=L();var M='<svg color="var(--zonos-elements-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-gray-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var _=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:relative}:host .wrapper{position:absolute;margin-top:4px;top:100%;left:0;right:0;z-index:3;max-height:300px;overflow-y:auto;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));-webkit-box-shadow:var(--zonos-elements-shadow-select-active);box-shadow:var(--zonos-elements-shadow-select-active);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;list-style:none;padding:0;background-color:var(--zonos-elements-surface-color)}:host .wrapper .option{padding:8px;background-color:var(--zonos-elements-surface-color);outline:none;border:none;text-align:left}:host .wrapper .option.last-hovered{background-color:var(--zonos-elements-gray-100)}:host .wrapper .option .highlight{font-weight:600;color:var(--zonos-elements-gray-1000)}:host .wrapper>.powered-by{padding:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host .wrapper>.powered-by .powered-by-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:5px;-ms-flex:1;flex:1}:host .wrapper>.suggestion{cursor:pointer}:host .wrapper>.suggestion:hover{background-color:var(--zonos-elements-gray-100)}"};var R=e("zonos_address_suggestions",/** @class */function(){function e(e){var o=this;t(this,e);this.suggestionSelected=n(this,"suggestionSelected",7);
52
+ this.localAddress=Object.assign(Object.assign({},this.currentAddress),{city:((e=this.translatedAddress.city)===null||e===void 0?void 0:e[s])||s,line1:((t=this.translatedAddress.line1)===null||t===void 0?void 0:t[a])||a,line2:((n=this.translatedAddress.line2)===null||n===void 0?void 0:n[u])||u,name:((o=this.translatedAddress.name)===null||o===void 0?void 0:o[l])||l,postal_code:((d=this.translatedAddress.postal_code)===null||d===void 0?void 0:d[$])||$,state:((r=this.translatedAddress.state)===null||r===void 0?void 0:r[f])||f})};e.prototype.componentWillLoad=function(){this.watchCurrentAddress()};e.prototype.render=function(){var e=this;var t=this.localAddress,n=t.city,r=t.country,s=t.line1,a=t.line2,u=t.name,l=t.phone,$=t.postal_code,f=t.state;var c=p({name:u}),h=c.firstName,v=c.lastName;return o(d,{key:"44edb799473e427b08e17d6d20f08a028a3cc688",class:"zonos--address-form zonos--elements"},o("div",{key:"99c2d5b58464bebd7bb3e5c2a4ac3aa04d80b47f",class:"zonos--title"},o("zonos-text",{key:"5a86048c7d768b795db1416182e2b22458924601",textColor:"gray-700",type:"smallHeader"},this.addressType==="shipping"?i("Shipping"):i("Billing"))),o("div",{key:"a907058d970cb6674b403f79c0946e36a0e61f69",class:"zonos--address-group"},o("div",{key:"fad2f71614c6963015f95e74e297c58a4adee95b",class:"zonos--contact"},o("zonos-text",{key:"0c661050b1b95da56af1046fac39c7fa6de18685",type:"label"},i("Contact")),o("zonos-input",{key:"3e35a5f9d4bca373ef9403da0de53ea895aca61f",class:"zonos--form-email",inputLabel:i("Email"),inputValue:this.currentAddress.email,isDisabled:true}),o("div",{key:"093cdcc771b4ade381a392a1023d9d037d4e3e35",class:"zonos--name zonos--address-row"},o("zonos-input",{key:"e9d957551070a855179b78da655beaf3b4e731e2",class:"zonos--form-first-name",inputLabel:i("First name"),inputValue:h,isError:g(h),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(t.detail," ").concat(v)})}}),o("zonos-input",{key:"0b86805e872607d367446f5e6ef074974f9840c2",class:"zonos--form-last-name",inputLabel:i("Last name"),inputValue:v,isError:g(v),onInputChange:function(t){return e.onInputChange({key:"name",value:"".concat(h," ").concat(t.detail)})}}))),o("div",{key:"6447f55e8d173d18cd46cba829527c4d487631a2",class:"zonos--address"},o("zonos-text",{key:"18ef146cc44f658524c6535e851281b62249fa26",type:"label"},i("Address")),o("zonos-input",{key:"95cfb115c4304e8a142ab2e952fc8c4bfbe39e43",class:"zonos--form-country",inputLabel:i("Country"),inputValue:r,isDisabled:true}),o("zonos-input",{key:"e3774713ec0b0e861981aa9f2c62f6749125e174",class:"zonos--form-line1",inputLabel:i("Address line 1"),inputValue:s,isError:g(s),onInputChange:function(t){return e.onInputChange({key:"line1",value:t.detail})}}),o("zonos-input",{key:"0d1fce85ad42e42b266ad411d4e3a96e4b8b8bf3",class:"zonos--form-line2",inputLabel:i("Address line 2"),inputValue:a,isError:g(a),onInputChange:function(t){return e.onInputChange({key:"line2",value:t.detail})}}),o("div",{key:"5d5e740b711ff65a0366a6c4891f22684f32c74b",class:"zonos--address-row"},o("zonos-input",{key:"8f124a91865c59096ba5c624ec229a3d1545c985",class:"zonos--form-city",inputLabel:i("City"),inputValue:n,isError:g(n),onInputChange:function(t){return e.onInputChange({key:"city",value:t.detail})}}),this.currentAddress.state&&o("zonos-input",{key:"50e852953ba88573929a200bce4c67fab2146245",class:"zonos--form-state",inputLabel:i("State/Province"),inputValue:f,isError:g(f),onInputChange:function(t){return e.onInputChange({key:"state",value:t.detail})}})),o("zonos-input",{key:"74c17f1d1a77af3f90100a6832b2c8fe7bdca24e",class:"zonos--form-postal-code",inputLabel:i("Postal code"),inputValue:$,isError:g($),onInputChange:function(t){return e.onInputChange({key:"postal_code",value:t.detail})}}),o("zonos-input",{key:"20775c4a944fe9305446898109637e5b38229a1d",class:"zonos--form-phone",inputLabel:i("Phone number"),inputValue:l,onInputChange:function(t){return e.onInputChange({key:"phone",value:t.detail})}}))))};Object.defineProperty(e,"watchers",{get:function(){return{translatedAddress:[{watchCurrentAddress:0}]}},enumerable:false,configurable:true});return e}());L.style=T();var M='<svg color="var(--zonos-elements-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-gray-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var P=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:relative}:host .wrapper{position:absolute;margin-top:4px;top:100%;left:0;right:0;z-index:3;max-height:300px;overflow-y:auto;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));-webkit-box-shadow:var(--zonos-elements-shadow-select-active);box-shadow:var(--zonos-elements-shadow-select-active);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;list-style:none;padding:0;background-color:var(--zonos-elements-surface-color)}:host .wrapper .option{padding:8px;background-color:var(--zonos-elements-surface-color);outline:none;border:none;text-align:left}:host .wrapper .option.last-hovered{background-color:var(--zonos-elements-gray-100)}:host .wrapper .option .highlight{font-weight:600;color:var(--zonos-elements-gray-1000)}:host .wrapper>.powered-by{padding:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host .wrapper>.powered-by .powered-by-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:5px;-ms-flex:1;flex:1}:host .wrapper>.suggestion{cursor:pointer}:host .wrapper>.suggestion:hover{background-color:var(--zonos-elements-gray-100)}"};var R=e("zonos_address_suggestions",/** @class */function(){function e(e){var o=this;t(this,e);this.suggestionSelected=n(this,"suggestionSelected",7);
53
53
  /**
54
54
  * Suggestions to display
55
55
  */this.suggestions=[];
@@ -74,9 +74,9 @@ if(t.startOffset>o){n.push({isMatch:false,text:e.slice(o,t.startOffset)})}
74
74
  // Add matching segment
75
75
  n.push({isMatch:true,text:e.slice(t.startOffset,t.endOffset)});o=t.endOffset}));
76
76
  // Add remaining non-matching text if exists
77
- if(o<e.length){n.push({isMatch:false,text:e.slice(o)})}return n};e.prototype.render=function(){var e=this;return o(d,{key:"34018ecc951c0335041e24102329eb83a8d68439",class:"zonos--address-suggestions",role:"group",style:{"--zonos--border-radius":z()}},o("ul",{key:"80433831c875845e57225a1317c430e2626edf9a","aria-label":"Suggestions",class:"wrapper",role:"listbox"},!!this.localSuggestions.length&&o("li",{key:"3510ef51b56b1cb0a36334e842792bccc2daeca5","aria-selected":false,class:"powered-by option",role:"option"},o("div",{key:"72773af6f9c7e0644ebc5239e4bf585bba6e164a",class:"powered-by-container"},o("zonos-text",{key:"7fabccbe33cbc8d037dfd25f6e5b0a5bdaf97b2f",type:"caption"},"Suggestions powered by"),o("zonos-text",{key:"2d88a3b8d7369a44e910ec60f5c7ac0c3f0ce801",type:"semiBoldLabel"},"Google")),o("zonos-button",{key:"74315c248cc84617d854a3b51d0bad8300c6b762","aria-label":"Clear suggestions",icon:o("zonos-icon",{content:M}),noBackground:true,onClick:function(){e.localSuggestions=[]}})),this.localSuggestions.map((function(t){
77
+ if(o<e.length){n.push({isMatch:false,text:e.slice(o)})}return n};e.prototype.render=function(){var e=this;return o(d,{key:"34018ecc951c0335041e24102329eb83a8d68439",class:"zonos--address-suggestions",role:"group",style:{"--zonos--border-radius":w()}},o("ul",{key:"80433831c875845e57225a1317c430e2626edf9a","aria-label":"Suggestions",class:"wrapper",role:"listbox"},!!this.localSuggestions.length&&o("li",{key:"3510ef51b56b1cb0a36334e842792bccc2daeca5","aria-selected":false,class:"powered-by option",role:"option"},o("div",{key:"72773af6f9c7e0644ebc5239e4bf585bba6e164a",class:"powered-by-container"},o("zonos-text",{key:"7fabccbe33cbc8d037dfd25f6e5b0a5bdaf97b2f",type:"caption"},"Suggestions powered by"),o("zonos-text",{key:"2d88a3b8d7369a44e910ec60f5c7ac0c3f0ce801",type:"semiBoldLabel"},"Google")),o("zonos-button",{key:"74315c248cc84617d854a3b51d0bad8300c6b762","aria-label":"Clear suggestions",icon:o("zonos-icon",{content:M}),noBackground:true,onClick:function(){e.localSuggestions=[]}})),this.localSuggestions.map((function(t){
78
78
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
79
- return o("li",{"aria-selected":e.selectedSuggestionId===t.id,class:c(["suggestion","option",e.lastHoveredSuggestionId===t.id&&"last-hovered"]),key:t.id,onClick:function(){e.selectedSuggestionId=t.id;e.suggestionSelected.emit({placeId:t.id,type:e.type})},onMouseEnter:function(){e.lastHoveredSuggestionId=t.id},role:"option",tabIndex:0},o("zonos-text",null,e.getHighlightedText(t.place,t.matches).map((function(e,t){return o("span",{class:e.isMatch?"highlight":undefined,key:"".concat(t,"-").concat(e.text)},e.text)}))))}))))};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{suggestions:[{suggestionsChanged:0}]}},enumerable:false,configurable:true});return e}());R.style=_();var F=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--group{-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}"};var B=e("zonos_address_update_dialog",/** @class */function(){function e(e){var o=this;t(this,e);this.closeUpdateDialog=n(this,"closeUpdateDialog",7);this.continueClicked=n(this,"continueClicked",7);
79
+ return o("li",{"aria-selected":e.selectedSuggestionId===t.id,class:h(["suggestion","option",e.lastHoveredSuggestionId===t.id&&"last-hovered"]),key:t.id,onClick:function(){e.selectedSuggestionId=t.id;e.suggestionSelected.emit({placeId:t.id,type:e.type})},onMouseEnter:function(){e.lastHoveredSuggestionId=t.id},role:"option",tabIndex:0},o("zonos-text",null,e.getHighlightedText(t.place,t.matches).map((function(e,t){return o("span",{class:e.isMatch?"highlight":undefined,key:"".concat(t,"-").concat(e.text)},e.text)}))))}))))};Object.defineProperty(e,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{suggestions:[{suggestionsChanged:0}]}},enumerable:false,configurable:true});return e}());R.style=P();var _=function(){return":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--body{padding:0 24px;position:relative}:host .zonos--dialog-header{margin-bottom:32px;position:-webkit-sticky;position:sticky;padding-top:24px;top:0;z-index:11;background:var(--zonos-elements-gray-0)}:host .zonos--dialog-title{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:12px}:host .zonos--group{overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px;-ms-scroll-chaining:none;overscroll-behavior:contain}:host .zonos--group::-webkit-scrollbar{width:10px}:host .zonos--group::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}:host .zonos--group::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}:host .zonos--group::-webkit-scrollbar-thumb:hover{background:#d6d6d6}:host .zonos--group{-ms-scroll-chaining:chained;overscroll-behavior:auto}:host .zonos--address-display-group{display:-ms-flexbox;display:flex;gap:8px;margin-bottom:20px}:host .zonos--address-display-group zonos-address-display{-ms-flex:1;flex:1}:host .zonos--what-you-entered{margin-bottom:8px}:host .zonos--address-form-section{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}:host .zonos--group-btn{position:-webkit-sticky;position:sticky;padding:24px 0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;background:var(--zonos-elements-gray-0);z-index:11}:host .zonos--group-btn .zonos--button-wrapper{display:-ms-flexbox;display:flex;gap:8px}:host(.mobile) .zonos--button-wrapper{-ms-flex-direction:column;flex-direction:column;width:100%}:host(.mobile) .zonos--button-wrapper zonos-button{width:100%}:host(.mobile) .zonos--button-wrapper .zonos--cancel-btn{-ms-flex-order:2;order:2}:host(.mobile) .zonos--button-wrapper .zonos--update-btn{-ms-flex-order:1;order:1}"};var F=e("zonos_address_update_dialog",/** @class */function(){function e(e){var o=this;t(this,e);this.closeUpdateDialog=n(this,"closeUpdateDialog",7);this.continueClicked=n(this,"continueClicked",7);
80
80
  /**
81
81
  * Whether or not the continue button is loading
82
82
  */this.continueLoading=false;
@@ -105,7 +105,7 @@ return o("li",{"aria-selected":e.selectedSuggestionId===t.id,class:c(["suggestio
105
105
  * handler for continue button click
106
106
  */this.continueClickHandler=function(){return __awaiter(o,void 0,void 0,(function(){var e,t,n,o,d,r,i,s,a,u,l,$,f;return __generator(this,(function(c){
107
107
  // set spinner for the continue button
108
- this.continueLoading=true;o=this.billingAddress?this.getTranslatedAddress({currentAddress:this.billingAddress,translatedAddress:this.translatedBillingAddressState}):null;d=this.getTranslatedAddress({currentAddress:this.shippingAddress,translatedAddress:this.translatedShippingAddressState});r=g(Object.assign(Object.assign({},d),{country:this.shippingAddress.country}));i=o&&this.billingAddress&&g(Object.assign(Object.assign({},o),{country:this.billingAddress.country}));s=!!Object.keys(r).length;a=!!i&&!!Object.keys(i).length;
108
+ this.continueLoading=true;o=this.billingAddress?this.getTranslatedAddress({currentAddress:this.billingAddress,translatedAddress:this.translatedBillingAddressState}):null;d=this.getTranslatedAddress({currentAddress:this.shippingAddress,translatedAddress:this.translatedShippingAddressState});r=z(Object.assign(Object.assign({},d),{country:this.shippingAddress.country}));i=o&&this.billingAddress&&z(Object.assign(Object.assign({},o),{country:this.billingAddress.country}));s=!!Object.keys(r).length;a=!!i&&!!Object.keys(i).length;
109
109
  // if there are non-latin characters in the translated address, scroll to the error input so user can see and fix it
110
110
  if(s||a){u=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("zonos-address-form");l=u===null||u===void 0?void 0:u[0];$=u===null||u===void 0?void 0:u[1];f=((t=l===null||l===void 0?void 0:l.shadowRoot)===null||t===void 0?void 0:t.querySelector(".has-error"))||((n=$===null||$===void 0?void 0:$.shadowRoot)===null||n===void 0?void 0:n.querySelector(".has-error"));
111
111
  // scroll to the first error input
@@ -125,13 +125,13 @@ this.continueClicked.emit({billingAddress:o,shippingAddress:d});return[2/*return
125
125
  // update the state with the initial props
126
126
  this.watchTranslatedBillingAddress();this.watchTranslatedShippingAddress()};e.prototype.render=function(){var e=this;
127
127
  // dialog background white, so when the button background is also white, we need to change the button type to outline so it's visible
128
- var t=this.submitBtnColor||l.appearance.colorSecondary;var n=t==="#ffffff"?"outline":this.submitBtnType||"standard";var r=this.billingAddress;var s=this.shippingAddress;return o(d,{key:"655845cef04f4af526b1a1c4e49243c4f2b4c7f6",class:c(["zonos--address-update-dialog zonos--elements",this.isMobile&&"mobile"])},o("zonos-dialog",{key:"eab429bb78ce6f05ba463d8748d7edd5499402fa",isLoading:this.dialogLoading,mobile:this.isMobile,noBodyPadding:true,noBorder:true,noClickOutside:true,noCloseButton:true,onCloseDialog:function(){return e.closeUpdateDialog.emit()},open:this.dialogOpen,width:"568px"},o("div",{key:"08f0400e62addfcaffd91bf5200999d29bbd2da9",class:"zonos--body"},o("div",{key:"8699df5e2f823e19066fbb552ba2a66c127c05e9",class:"zonos--dialog-header"},o("div",{key:"92e0ff932dcdb0e5b59ea34b688d1ef8e31bfeb3",class:"zonos--dialog-title"},o("zonos-text",{key:"aaac3375526bddb319ce7c8f49bde30da7210264",type:"title"},i("Update your address")),o("zonos-button",{key:"474cc2421cd3150daa46bfe215da6ae7df9c6087",class:"zonos--close-button",icon:o("zonos-icon",{"aria-label":"Close checkout dialog",content:y}),noBackground:true,onClick:function(){return e.closeUpdateDialogHandler()},title:"Close checkout dialog"})),o("zonos-text",{key:"6d019250cce57e8b30dd790a184df7273bdb234f"},i("To ensure delivery all address details must be in Latin characters."))),o("div",{key:"80ee681844f4f4f43fce69d977b634b1fbc3d5f5",class:"zonos--group"},o("zonos-text",{key:"940e510eceec156a74f32de84cf58ffebd796435",class:"zonos--what-you-entered",type:"semiBoldLabel"},i("What you entered")),o("div",{key:"f626127f5c399c29ab1022deb66aaee8f8a49601",class:"zonos--address-display-group"},o("zonos-address-display",{key:"9dfcba1037325c3a1f9e82b8e4797e7872dd7e3f",addressType:"shipping",currentAddress:s}),r&&o("zonos-address-display",{key:"fee8ae2c6786d735133c2a0a42f3e3d40d7f9ea9",addressType:"billing",currentAddress:r})),o("div",{key:"5a82195018ff8cdfd1126f4424062a26c25ee757",class:"zonos--address-form-section"},o("zonos-text",{key:"f694dfad166697e4c034cea51057133b69b1c144",type:"semiBoldLabel"},i("Translated address")),o("zonos-address-form",{key:"4a99c841cf4800de43c612cce3d56d956d02c22f",addressType:"shipping",class:"zonos--shipping-address-form",currentAddress:s,onAddressChange:function(t){var n=t.detail;e.translatedShippingAddressState=e.buildTranslateAddressState({currentAddress:s,translatedAddress:n})},translatedAddress:this.translatedShippingAddressState}),r&&o("zonos-address-form",{key:"311fd702d29a9517203597890bd46bd268dfc6d3",addressType:"billing",class:"zonos--billing-address-form",currentAddress:r,onAddressChange:function(t){var n=t.detail;e.translatedBillingAddressState=e.buildTranslateAddressState({currentAddress:r,translatedAddress:n})},translatedAddress:this.translatedBillingAddressState}))),o("div",{key:"918c3271579c3fc7a7efff0473b0ccf48fb575a2",class:"zonos--group-btn"},o("div",{key:"f73be0c1124d3a4d340bc6e8512f6be8356c655d",class:"zonos--button-wrapper"},o("zonos-button",{key:"172a6cc0a7b75afb400802ef6b87faae6e7e2483",class:"zonos--cancel-btn",onClick:function(){return e.closeUpdateDialogHandler()},variant:"subtle"},i("Cancel")),o("zonos-button",{key:"8fd08bc79b60eb9a0064c06ff9d840b1ecb09123",backgroundColor:this.submitBtnColor,class:"zonos--update-btn",loading:this.continueLoading,onClick:function(){return e.continueClickHandler()},size:"sm",variant:n},i("Update address")))))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{translatedShippingAddress:[{watchTranslatedShippingAddress:0}],translatedBillingAddress:[{watchTranslatedBillingAddress:0}]}},enumerable:false,configurable:true});return e}());B.style=F();var D=function(e){var t=e.countryFields,n=e.zip;if(!t){return true}if(!t.zipShow){return true}
128
+ var t=this.submitBtnColor||l.appearance.colorSecondary;var n=t==="#ffffff"?"outline":this.submitBtnType||"standard";var r=this.billingAddress;var s=this.shippingAddress;return o(d,{key:"655845cef04f4af526b1a1c4e49243c4f2b4c7f6",class:h(["zonos--address-update-dialog zonos--elements",this.isMobile&&"mobile"])},o("zonos-dialog",{key:"eab429bb78ce6f05ba463d8748d7edd5499402fa",isLoading:this.dialogLoading,mobile:this.isMobile,noBodyPadding:true,noBorder:true,noClickOutside:true,noCloseButton:true,onCloseDialog:function(){return e.closeUpdateDialog.emit()},open:this.dialogOpen,width:"568px"},o("div",{key:"08f0400e62addfcaffd91bf5200999d29bbd2da9",class:"zonos--body"},o("div",{key:"8699df5e2f823e19066fbb552ba2a66c127c05e9",class:"zonos--dialog-header"},o("div",{key:"92e0ff932dcdb0e5b59ea34b688d1ef8e31bfeb3",class:"zonos--dialog-title"},o("zonos-text",{key:"aaac3375526bddb319ce7c8f49bde30da7210264",type:"title"},i("Update your address")),o("zonos-button",{key:"474cc2421cd3150daa46bfe215da6ae7df9c6087",class:"zonos--close-button",icon:o("zonos-icon",{"aria-label":"Close checkout dialog",content:m}),noBackground:true,onClick:function(){return e.closeUpdateDialogHandler()},title:"Close checkout dialog"})),o("zonos-text",{key:"6d019250cce57e8b30dd790a184df7273bdb234f"},i("To ensure delivery all address details must be in Latin characters."))),o("div",{key:"80ee681844f4f4f43fce69d977b634b1fbc3d5f5",class:"zonos--group"},o("zonos-text",{key:"940e510eceec156a74f32de84cf58ffebd796435",class:"zonos--what-you-entered",type:"semiBoldLabel"},i("What you entered")),o("div",{key:"f626127f5c399c29ab1022deb66aaee8f8a49601",class:"zonos--address-display-group"},o("zonos-address-display",{key:"9dfcba1037325c3a1f9e82b8e4797e7872dd7e3f",addressType:"shipping",currentAddress:s}),r&&o("zonos-address-display",{key:"fee8ae2c6786d735133c2a0a42f3e3d40d7f9ea9",addressType:"billing",currentAddress:r})),o("div",{key:"5a82195018ff8cdfd1126f4424062a26c25ee757",class:"zonos--address-form-section"},o("zonos-text",{key:"f694dfad166697e4c034cea51057133b69b1c144",type:"semiBoldLabel"},i("Translated address")),o("zonos-address-form",{key:"4a99c841cf4800de43c612cce3d56d956d02c22f",addressType:"shipping",class:"zonos--shipping-address-form",currentAddress:s,onAddressChange:function(t){var n=t.detail;e.translatedShippingAddressState=e.buildTranslateAddressState({currentAddress:s,translatedAddress:n})},translatedAddress:this.translatedShippingAddressState}),r&&o("zonos-address-form",{key:"311fd702d29a9517203597890bd46bd268dfc6d3",addressType:"billing",class:"zonos--billing-address-form",currentAddress:r,onAddressChange:function(t){var n=t.detail;e.translatedBillingAddressState=e.buildTranslateAddressState({currentAddress:r,translatedAddress:n})},translatedAddress:this.translatedBillingAddressState}))),o("div",{key:"918c3271579c3fc7a7efff0473b0ccf48fb575a2",class:"zonos--group-btn"},o("div",{key:"f73be0c1124d3a4d340bc6e8512f6be8356c655d",class:"zonos--button-wrapper"},o("zonos-button",{key:"172a6cc0a7b75afb400802ef6b87faae6e7e2483",class:"zonos--cancel-btn",onClick:function(){return e.closeUpdateDialogHandler()},variant:"subtle"},i("Cancel")),o("zonos-button",{key:"8fd08bc79b60eb9a0064c06ff9d840b1ecb09123",backgroundColor:this.submitBtnColor,class:"zonos--update-btn",loading:this.continueLoading,onClick:function(){return e.continueClickHandler()},size:"sm",variant:n},i("Update address")))))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{translatedShippingAddress:[{watchTranslatedShippingAddress:0}],translatedBillingAddress:[{watchTranslatedBillingAddress:0}]}},enumerable:false,configurable:true});return e}());F.style=_();var B=function(e){var t=e.countryFields,n=e.zip;if(!t){return true}if(!t.zipShow){return true}
129
129
  // If zip is not required, zip value can be empty
130
130
  if(!t.zipRequired){return true}
131
131
  // If zip regex is set, it's always required and must be validated
132
132
  if(t.zipRegex){return new RegExp(t.zipRegex).test(n)}
133
133
  // If zip is required, zip value must be non-empty
134
- return t.zipRequired&&!!n};var G=function(e){return!!e&&Object.keys(e).length>0};
134
+ return t.zipRequired&&!!n};var D=function(e){return!!e&&Object.keys(e).length>0};
135
135
  /**
136
136
  * Builds the country options for an address form's country dropdown.
137
137
  *
@@ -142,12 +142,15 @@ return t.zipRequired&&!!n};var G=function(e){return!!e&&Object.keys(e).length>0}
142
142
  *
143
143
  * When the full country list is unavailable we fall back to the shipping zone
144
144
  * so the dropdown is never empty.
145
- */var U=function(e){var t=e.allCountries,n=e.shippingZoneCountries,o=e.type;var d=o==="billing"&&G(t)?t:n;return Object.values(d||{}).map((function(e){return{label:e.displayName,value:e.code}})).sort((function(e,t){return e.label.localeCompare(t.label)}))};var V=function(e){var t=e.addresses,n=e.delimiter,o=n===void 0?" ":n;
145
+ */var G=function(e){var t=e.allCountries,n=e.shippingZoneCountries,o=e.type;var d=o==="billing"&&D(t)?t:n;return Object.values(d||{}).map((function(e){return{label:e.displayName,value:e.code}})).sort((function(e,t){return e.label.localeCompare(t.label)}))};var U=function(e){var t=e.addresses,n=e.delimiter,o=n===void 0?" ":n;
146
146
  // Remove duplicate addresses
147
- var d=new Set(t.filter(Boolean));return Array.from(d).join(o)};var K=function(){return".sc-zonos-custom-address-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-custom-address-h *.sc-zonos-custom-address{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-custom-address-h img.sc-zonos-custom-address{max-width:100%}.sc-zonos-custom-address-h dl.sc-zonos-custom-address,.sc-zonos-custom-address-h dd.sc-zonos-custom-address,.sc-zonos-custom-address-h h1.sc-zonos-custom-address,.sc-zonos-custom-address-h h2.sc-zonos-custom-address,.sc-zonos-custom-address-h h3.sc-zonos-custom-address,.sc-zonos-custom-address-h h4.sc-zonos-custom-address,.sc-zonos-custom-address-h h5.sc-zonos-custom-address,.sc-zonos-custom-address-h h6.sc-zonos-custom-address,.sc-zonos-custom-address-h hr.sc-zonos-custom-address,.sc-zonos-custom-address-h figure.sc-zonos-custom-address,.sc-zonos-custom-address-h p.sc-zonos-custom-address,.sc-zonos-custom-address-h pre.sc-zonos-custom-address{margin:0}.sc-zonos-custom-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-custom-address-h .zonos--title.sc-zonos-custom-address{margin-bottom:16px}.sc-zonos-custom-address-h .zonos--company-name-input.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--tax-id-input.sc-zonos-custom-address{margin-bottom:8px}.sc-zonos-custom-address-h zonos-banner.sc-zonos-custom-address{margin-top:8px}.sc-zonos-custom-address-h .zonos--custom-address-form.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address>*.sc-zonos-custom-address{-ms-flex:1 1 200px;flex:1 1 200px}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{opacity:0;height:0;overflow:hidden;-webkit-transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.zonos--show.sc-zonos-custom-address{opacity:1;height:auto}"};var H=undefined&&undefined.__rest||function(e,t){var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0)n[o]=e[o];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var d=0,o=Object.getOwnPropertySymbols(e);d<o.length;d++){if(t.indexOf(o[d])<0&&Object.prototype.propertyIsEnumerable.call(e,o[d]))n[o[d]]=e[o[d]]}return n};var Z=e("zonos_custom_address",/** @class */function(){function e(e){var o=this;t(this,e);this.invalidCharacters=n(this,"invalidCharacters",7);this.addressChange=n(this,"addressChange",7);this.onStoreCheckoutSessionIdChangedSubscription=function(){};
147
+ var d=new Set(t.filter(Boolean));return Array.from(d).join(o)};var V=function(){return".sc-zonos-custom-address-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-custom-address-h *.sc-zonos-custom-address{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-custom-address-h img.sc-zonos-custom-address{max-width:100%}.sc-zonos-custom-address-h dl.sc-zonos-custom-address,.sc-zonos-custom-address-h dd.sc-zonos-custom-address,.sc-zonos-custom-address-h h1.sc-zonos-custom-address,.sc-zonos-custom-address-h h2.sc-zonos-custom-address,.sc-zonos-custom-address-h h3.sc-zonos-custom-address,.sc-zonos-custom-address-h h4.sc-zonos-custom-address,.sc-zonos-custom-address-h h5.sc-zonos-custom-address,.sc-zonos-custom-address-h h6.sc-zonos-custom-address,.sc-zonos-custom-address-h hr.sc-zonos-custom-address,.sc-zonos-custom-address-h figure.sc-zonos-custom-address,.sc-zonos-custom-address-h p.sc-zonos-custom-address,.sc-zonos-custom-address-h pre.sc-zonos-custom-address{margin:0}.sc-zonos-custom-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-custom-address-h .zonos--title.sc-zonos-custom-address{margin-bottom:16px}.sc-zonos-custom-address-h .zonos--company-name-input.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--tax-id-input.sc-zonos-custom-address{margin-bottom:8px}.sc-zonos-custom-address-h .zonos--tax-id-input.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}.sc-zonos-custom-address-h zonos-banner.sc-zonos-custom-address{margin-top:8px}.sc-zonos-custom-address-h .zonos--custom-address-form.sc-zonos-custom-address,.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}.sc-zonos-custom-address-h .zonos--custom-address-form-state-zip-wrapper.sc-zonos-custom-address>*.sc-zonos-custom-address{-ms-flex:1 1 200px;flex:1 1 200px}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.sc-zonos-custom-address{opacity:0;height:0;overflow:hidden;-webkit-transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, height 0.3s ease-in-out}.sc-zonos-custom-address-h .zonos--custom-address-form-additional-fields.zonos--show.sc-zonos-custom-address{opacity:1;height:auto}"};var K=undefined&&undefined.__rest||function(e,t){var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0)n[o]=e[o];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var d=0,o=Object.getOwnPropertySymbols(e);d<o.length;d++){if(t.indexOf(o[d])<0&&Object.prototype.propertyIsEnumerable.call(e,o[d]))n[o[d]]=e[o[d]]}return n};var H=e("zonos_custom_address",/** @class */function(){function e(e){var o=this;t(this,e);this.invalidCharacters=n(this,"invalidCharacters",7);this.addressChange=n(this,"addressChange",7);this.onStoreCheckoutSessionIdChangedSubscription=function(){};
148
148
  /**
149
149
  * Default address for stripe
150
150
  */this.defaultAddress=[];
151
+ /**
152
+ * Which tax id control the error belongs on. Empty when there is no error.
153
+ */this.taxIdErrorField="";
151
154
  /**
152
155
  * Error message for tax id input
153
156
  */this.taxIdErrorMessage="";
@@ -198,59 +201,55 @@ var d=new Set(t.filter(Boolean));return Array.from(d).join(o)};var K=function(){
198
201
  * wholesale rather than mutating them, so reference equality is a safe key.
199
202
  */this.countryOptionsCache=null;
200
203
  // Create a single throttled instance that persists
201
- this.throttledGetAddressSuggestions=w((function(){if(l.checkoutAddressService){l.checkoutAddressService.getAddressSuggestions({country:o.country,query:[o.line1,o.state,o.postalCode].filter(Boolean).join(", "),type:o.type})}}),1e3);
204
+ this.throttledGetAddressSuggestions=x((function(){if(l.checkoutAddressService){l.checkoutAddressService.getAddressSuggestions({country:o.country,query:[o.line1,o.state,o.postalCode].filter(Boolean).join(", "),type:o.type})}}),1e3);
202
205
  // Map the custom address form to stripe address event data
203
206
  this.setCustomAddressFormToStripeAddressEventData=function(){
204
207
  // If the field is not shown, set it to an empty string
205
- var e=!o.countryField||o.countryField.cityShow?o.city:"";var t=!o.countryField||o.countryField.stateShow?o.state:"";var n=!o.countryField||o.countryField.zipShow?o.postalCode:"";var d={complete:o.getIsComplete(),elementMode:o.type,elementType:"address",empty:!o.getIsComplete(),isNewAddress:true,value:{address:{city:e,country:o.country,line1:o.line1,line2:o.line2,postal_code:n,state:t},firstName:o.firstName,lastName:o.lastName,name:"".concat(o.firstName," ").concat(o.lastName),phone:o.phone}};o.updateAddressEventData({event:d,type:o.type});o.addressChange.emit({errors:o.getCustomAddressErrors(),type:o.type,value:d})};this.getCustomAddressErrors=function(){return o.type==="shipping"?p.customAddressErrors:p.customBillingAddressErrors};this.validate=function(e){var t=e.phoneValidateInfo,n=e.type,d=e.value,r=e.valueType;var s,a,u,l,$;var f=Object.assign({},o.getCustomAddressErrors());switch(r){case"city":{var c=!((s=o.countryField)===null||s===void 0?void 0:s.cityRequired)||((a=o.countryField)===null||a===void 0?void 0:a.cityRequired)&&!!(d===null||d===void 0?void 0:d.trim());f.city="";if(!c){f.city=i("The field is incomplete")}break}case"state":{var c=!((u=o.countryField)===null||u===void 0?void 0:u.stateRequired)||((l=o.countryField)===null||l===void 0?void 0:l.stateRequired)&&!!(d===null||d===void 0?void 0:d.trim());f.state="";if(!c){f.state=i("The field is incomplete")}break}case"postalCode":{var c=D({countryFields:o.countryField,zip:d||""});f.postalCode="";if(!c){f.postalCode=i("Your [zipLabel] is invalid",{zipLabel:(($=o.countryField)===null||$===void 0?void 0:$.zipLabel)||"ZIP"})}break}case"firstName":{var c=!!(d===null||d===void 0?void 0:d.trim());f.firstName="";if(!c){f.firstName=i("Please provide your first name.")}break}case"lastName":{var c=!!(d===null||d===void 0?void 0:d.trim());f.lastName="";if(!c){f.lastName=i("Please provide your last name.")}break}case"line1":{var c=!!(d===null||d===void 0?void 0:d.trim());f.line1="";if(!c){f.line1=i("The field is incomplete")}break}case"phone":{
208
+ var e=!o.countryField||o.countryField.cityShow?o.city:"";var t=!o.countryField||o.countryField.stateShow?o.state:"";var n=!o.countryField||o.countryField.zipShow?o.postalCode:"";var d={complete:o.getIsComplete(),elementMode:o.type,elementType:"address",empty:!o.getIsComplete(),isNewAddress:true,value:{address:{city:e,country:o.country,line1:o.line1,line2:o.line2,postal_code:n,state:t},firstName:o.firstName,lastName:o.lastName,name:"".concat(o.firstName," ").concat(o.lastName),phone:o.phone}};o.updateAddressEventData({event:d,type:o.type});o.addressChange.emit({errors:o.getCustomAddressErrors(),type:o.type,value:d})};this.getCustomAddressErrors=function(){return o.type==="shipping"?v.customAddressErrors:v.customBillingAddressErrors};this.validate=function(e){var t=e.phoneValidateInfo,n=e.type,d=e.value,r=e.valueType;var s,a,u,l,$;var f=Object.assign({},o.getCustomAddressErrors());switch(r){case"city":{var c=!((s=o.countryField)===null||s===void 0?void 0:s.cityRequired)||((a=o.countryField)===null||a===void 0?void 0:a.cityRequired)&&!!(d===null||d===void 0?void 0:d.trim());f.city="";if(!c){f.city=i("The field is incomplete")}break}case"state":{var c=!((u=o.countryField)===null||u===void 0?void 0:u.stateRequired)||((l=o.countryField)===null||l===void 0?void 0:l.stateRequired)&&!!(d===null||d===void 0?void 0:d.trim());f.state="";if(!c){f.state=i("The field is incomplete")}break}case"postalCode":{var c=B({countryFields:o.countryField,zip:d||""});f.postalCode="";if(!c){f.postalCode=i("Your [zipLabel] is invalid",{zipLabel:(($=o.countryField)===null||$===void 0?void 0:$.zipLabel)||"ZIP"})}break}case"firstName":{var c=!!(d===null||d===void 0?void 0:d.trim());f.firstName="";if(!c){f.firstName=i("Please provide your first name.")}break}case"lastName":{var c=!!(d===null||d===void 0?void 0:d.trim());f.lastName="";if(!c){f.lastName=i("Please provide your last name.")}break}case"line1":{var c=!!(d===null||d===void 0?void 0:d.trim());f.line1="";if(!c){f.line1=i("The field is incomplete")}break}case"phone":{
206
209
  // If the phone validate info is not provided, we need to validate the phone number
207
210
  if(!t){var c=!!(d===null||d===void 0?void 0:d.trim());f.phone="";if(!c){f.phone=i("Please provide a mobile phone number.")}}else{f.phone="";
208
211
  // If the phone number is empty, set the error message
209
- if(t.isEmpty){f.phone=i("Please provide a mobile phone number.")}else if(t.wrongFormat){f.phone=i("Your mobile phone number is incomplete.")}}break}}if(n==="shipping"){p.customAddressErrors=f}else{p.customBillingAddressErrors=f}};this.onStoreCheckoutSessionIdChanged=function(){var e=function(){o.checkoutSessionId=s.checkoutSessionId};
212
+ if(t.isEmpty){f.phone=i("Please provide a mobile phone number.")}else if(t.wrongFormat){f.phone=i("Your mobile phone number is incomplete.")}}break}}if(n==="shipping"){v.customAddressErrors=f}else{v.customBillingAddressErrors=f}};this.onStoreCheckoutSessionIdChanged=function(){var e=function(){o.checkoutSessionId=s.checkoutSessionId};
210
213
  // Trigger it once on init because onChange doesn't get triggered on initial load
211
- e();o.onStoreCheckoutSessionIdChangedSubscription=a("checkoutSessionId",e)}}e.prototype.getCountryOptions=function(){var e=u.allCountries,t=u.shippingZoneCountries;var n=this.countryOptionsCache;if(n&&n.allCountries===e&&n.shippingZoneCountries===t&&n.type===this.type){return n.options}var o=U({allCountries:e,shippingZoneCountries:t,type:this.type});this.countryOptionsCache={allCountries:e,options:o,shippingZoneCountries:t,type:this.type};return o};e.prototype.getStripeAddressInstance=function(){if(this.type==="billing"){return{stripeAddressElement:p.stripeBillingAddressElement,stripeAddressEventData:p.stripeBillingAddressEventData,stripeElements:p.stripeElementsForBillingAddress}}return{stripeAddressElement:p.stripeAddressElement,stripeAddressEventData:p.stripeAddressEventData,stripeElements:p.stripeElements}};e.prototype.updateAddressEventData=function(e){var t=e.event,n=e.type;switch(n){case"billing":p.stripeBillingAddressEventData=t;break;default:{p.stripeAddressEventData=t;
214
+ e();o.onStoreCheckoutSessionIdChangedSubscription=a("checkoutSessionId",e)}}e.prototype.getCountryOptions=function(){var e=u.allCountries,t=u.shippingZoneCountries;var n=this.countryOptionsCache;if(n&&n.allCountries===e&&n.shippingZoneCountries===t&&n.type===this.type){return n.options}var o=G({allCountries:e,shippingZoneCountries:t,type:this.type});this.countryOptionsCache={allCountries:e,options:o,shippingZoneCountries:t,type:this.type};return o};e.prototype.getStripeAddressInstance=function(){if(this.type==="billing"){return{stripeAddressElement:v.stripeBillingAddressElement,stripeAddressEventData:v.stripeBillingAddressEventData,stripeElements:v.stripeElementsForBillingAddress}}return{stripeAddressElement:v.stripeAddressElement,stripeAddressEventData:v.stripeAddressEventData,stripeElements:v.stripeElements}};e.prototype.updateAddressEventData=function(e){var t=e.event,n=e.type;switch(n){case"billing":v.stripeBillingAddressEventData=t;break;default:{v.stripeAddressEventData=t;
212
215
  // send request to prefetch landed cost
213
- void v();break}}};e.prototype.isAddressFilledChanged=function(){
216
+ void b();break}}};e.prototype.isAddressFilledChanged=function(){
214
217
  // Sometimes address elements is loaded with prefilled data before checkout is loaded, need to not send the event if checkout session id is not available, and send the event after checkout is loaded
215
218
  if(!s.checkoutSessionId){return}
216
219
  // Only need to track the event if the shipping address is filled
217
- if(this.isAddressFilled&&!this.trackingSent&&this.type==="shipping"){this.trackingSent=true;var e=s.checkoutSessionId;void b({checkoutSessionId:e,eventName:"checkout_customerInfoFilled"})}};e.prototype.defaultAddressChanged=function(e,t){
220
+ if(this.isAddressFilled&&!this.trackingSent&&this.type==="shipping"){this.trackingSent=true;var e=s.checkoutSessionId;void y({checkoutSessionId:e,eventName:"checkout_customerInfoFilled"})}};e.prototype.defaultAddressChanged=function(e,t){
218
221
  // check if stringified json of oldAddress is different from newAddress
219
222
  var n=JSON.stringify(t);var o=JSON.stringify(e);
220
223
  // No need to reset address element if the default address is the same
221
- if(n===o){return}S("Reset address element when default address property is changed","info",{defaultAddress:this.defaultAddress});
224
+ if(n===o){return}O("Reset address element when default address property is changed","info",{defaultAddress:this.defaultAddress});
222
225
  // Reset stripe address event data
223
- if(this.type==="shipping"){p.stripeAddressEventData=null}else{p.stripeBillingAddressEventData=null}this.initDefaultCustomAddressForm()};e.prototype.getIsComplete=function(){var e=this.getCustomAddressErrors(),t=e.city,n=e.firstName,o=e.lastName,d=e.line1,r=e.phone,i=e.postalCode,s=e.state;if(!this.line1||!this.firstName||!this.lastName||!this.phone){return false}
226
+ if(this.type==="shipping"){v.stripeAddressEventData=null}else{v.stripeBillingAddressEventData=null}this.initDefaultCustomAddressForm()};e.prototype.getIsComplete=function(){var e=this.getCustomAddressErrors(),t=e.city,n=e.firstName,o=e.lastName,d=e.line1,r=e.phone,i=e.postalCode,s=e.state;if(!this.line1||!this.firstName||!this.lastName||!this.phone){return false}
224
227
  // has any errors from any of the fields
225
- var a=d||i||s||t||n||o||r;return!a};e.prototype.isInTaxIdCountry=function(e){return O.includes(e)};
228
+ var a=d||i||s||t||n||o||r;return!a};
226
229
  /**
227
230
  * Render tax id input based on ship to country code
228
231
  */e.prototype.renderTaxIdInput=function(){var e;
229
232
  // No need to render tax id input for billing address
230
- if(this.type==="billing"){return null}var t=(e=p.stripeAddressEventData)===null||e===void 0?void 0:e.value.address.country;
233
+ if(this.type==="billing"){return null}var t=(e=v.stripeAddressEventData)===null||e===void 0?void 0:e.value.address.country;
231
234
  // Don't render tax id input if the country is not provided
232
- if(!t){return null}
233
- // This just to type guard the countryCode, if it's able to get to this point it should already be in country that has tax id input
234
- if(!this.isInTaxIdCountry(t)){return null}var n=k({companyName:p.companyName,countryCode:t});
235
- // Don't render tax id input if the country doesn't require tax id
236
- if(!n){return null}var d=E[t];return o("div",{class:"zonos--tax-id-input"},o("zonos-stripe-input",{error:this.taxIdErrorMessage,inputLabel:i(d.friendlyName),inputPlaceholder:d.placeholder,inputValue:p.taxId||"",isError:!!this.taxIdErrorMessage,onInputChange:function(e){p.taxId=e.detail}}))};
235
+ if(!t){return null}return k({companyName:v.companyName,countryCode:t,errorField:this.taxIdErrorField,errorMessage:this.taxIdErrorMessage,shouldRequirePeruTaxId:$(),taxId:v.taxId||"",taxIdType:v.taxIdType})};
237
236
  /**
238
237
  * Render short address code input based on ship to country code
239
238
  */e.prototype.renderShortAddressCodeInput=function(){var e;
240
239
  // No need to render short address code input for billing address
241
- if(this.type==="billing"){return null}var t=(e=p.stripeAddressEventData)===null||e===void 0?void 0:e.value.address.country;
240
+ if(this.type==="billing"){return null}var t=(e=v.stripeAddressEventData)===null||e===void 0?void 0:e.value.address.country;
242
241
  // Don't render short address code input if the country is not provided
243
- if(!t){return null}var n=C({countryCode:t});
242
+ if(!t){return null}var n=S({countryCode:t});
244
243
  // Don't render short address code input if the country doesn't require short address code
245
- if(!n){return null}return o("div",{class:"zonos--short-address-code-input"},o("zonos-stripe-input",{inputLabel:i("Short address code"),inputPlaceholder:"RRRD2929",inputValue:p.shortAddressCode||"",isError:!!this.shortAddressCodeErrorMessage,onInputChange:function(e){p.shortAddressCode=e.detail}}),this.shortAddressCodeErrorMessage&&o("zonos-text",{textColor:"red-600",type:"caption"},this.shortAddressCodeErrorMessage))};e.prototype.renderCompanyNameInput=function(){
244
+ if(!n){return null}return o("div",{class:"zonos--short-address-code-input"},o("zonos-stripe-input",{inputLabel:i("Short address code"),inputPlaceholder:"RRRD2929",inputValue:v.shortAddressCode||"",isError:!!this.shortAddressCodeErrorMessage,onInputChange:function(e){v.shortAddressCode=e.detail}}),this.shortAddressCodeErrorMessage&&o("zonos-text",{textColor:"red-600",type:"caption"},this.shortAddressCodeErrorMessage))};e.prototype.renderCompanyNameInput=function(){
246
245
  // No need to render company name for billing address
247
246
  if(this.type==="billing"){return null}
248
247
  // only render the company input if the setting is enabled
249
- var e=l.checkoutSettings.companyFieldsStatus==="ENABLED";if(!e){return null}return o("zonos-stripe-input",{class:"zonos--company-name-input",inputLabel:i("Company name (optional)"),inputValue:p.companyName,onInputChange:function(e){p.companyName=e.detail}})};e.prototype.initCountryField=function(e){var t,n,o;this.countryField=((t=l.genericSettings)===null||t===void 0?void 0:t.countryFields)&&e?(o=(n=l.genericSettings)===null||n===void 0?void 0:n.countryFields)===null||o===void 0?void 0:o[e]:null};e.prototype.initDefaultCustomAddressForm=function(){S("initDefaultCustomAddressForm","info",this.type);var e=this.getStripeAddressInstance().stripeAddressEventData;
248
+ var e=l.checkoutSettings.companyFieldsStatus==="ENABLED";if(!e){return null}return o("zonos-stripe-input",{class:"zonos--company-name-input",inputLabel:i("Company name (optional)"),inputValue:v.companyName,onInputChange:function(e){v.companyName=e.detail}})};e.prototype.initCountryField=function(e){var t,n,o;this.countryField=((t=l.genericSettings)===null||t===void 0?void 0:t.countryFields)&&e?(o=(n=l.genericSettings)===null||n===void 0?void 0:n.countryFields)===null||o===void 0?void 0:o[e]:null};e.prototype.initDefaultCustomAddressForm=function(){O("initDefaultCustomAddressForm","info",this.type);var e=this.getStripeAddressInstance().stripeAddressEventData;
250
249
  // Use data from Stripe address element if it's available (This may happen when user has already at shipping selection page but go back to customer page)
251
250
  if(e){var t=e.value.address.country||u.selectedCountryCode||"US";this.setFormValues({city:e.value.address.city,country:t,firstName:e.value.firstName||"",lastName:e.value.lastName||"",line1:e.value.address.line1,line2:e.value.address.line2||"",phone:e.value.phone||"",postal_code:e.value.address.postal_code,state:e.value.address.state});this.initCountryField(t);return}
252
251
  // Use data from default address if it's available
253
- var n=this.defaultAddress[0];if(n){var o=h({name:n.name}),d=o.firstName,r=o.lastName;var i=n.address.country||u.selectedCountryCode||"US";this.setFormValues({city:n.address.city,country:i,firstName:d,lastName:r,line1:n.address.line1,line2:n.address.line2||"",phone:n.phone||"",postal_code:n.address.postal_code,state:n.address.state});this.initCountryField(i);return}var s=u.selectedCountryCode||"US";
252
+ var n=this.defaultAddress[0];if(n){var o=p({name:n.name}),d=o.firstName,r=o.lastName;var i=n.address.country||u.selectedCountryCode||"US";this.setFormValues({city:n.address.city,country:i,firstName:d,lastName:r,line1:n.address.line1,line2:n.address.line2||"",phone:n.phone||"",postal_code:n.address.postal_code,state:n.address.state});this.initCountryField(i);return}var s=u.selectedCountryCode||"US";
254
253
  // Set default values
255
254
  this.setFormValues({city:"",country:s,firstName:"",lastName:"",line1:"",line2:"",phone:"",postal_code:"",state:""});this.initCountryField(s);
256
255
  // Set the first initialization to false when the address element is initialized
@@ -262,26 +261,26 @@ this.startGooglePlaceSuggestions=true;this.isAddressLine1Entered=true;
262
261
  // Turn off the suggestion when the address suggestion is clicked, but next time the address line 1 is changed, the suggestion will be turned on again
263
262
  if(this.suggestionClicked){this.suggestionClicked=false;this.startGooglePlaceSuggestions=false}if(!this.isDirtyAddress){this.isDirtyAddress=true;
264
263
  // stripe element started with just address line 1, so scroll bar is not yet available. Wait for a moment before scrolling
265
- setTimeout((function(){if(!e.isAutoCompleteAdjusted){if(x()){e.el.scrollIntoView({behavior:"smooth",block:"end"})}else{
264
+ setTimeout((function(){if(!e.isAutoCompleteAdjusted){if(C()){e.el.scrollIntoView({behavior:"smooth",block:"end"})}else{
266
265
  // scroll into the end of the page so the address placeholder won't be hidden
267
266
  var t=e.type==="shipping"?100:600;var n=e.el.closest(".zonos--group");var o=e.el.getBoundingClientRect().top+t;n===null||n===void 0?void 0:n.scrollTo({behavior:"smooth",top:o})}}}),600)}}this.setCustomAddressFormToStripeAddressEventData();
268
267
  // Start requesting google place suggestions when address line 1 is more than 3 characters (No need to request suggestions on first initialization if address is pre-filled)
269
268
  if(this.startGooglePlaceSuggestions&&l.checkoutAddressService&&!this.isFirstInitialization){this.throttledGetAddressSuggestions()}};e.prototype.formFieldsChanged=function(){this.setCustomAddressFormToStripeAddressEventData()};e.prototype.addressSuggestionSelected=function(e){var t=e.placeDetails;var n,o,d,r,i,s,a,u,l,$,f,c,h,p,v;
270
269
  // Set the trigger to true when the address suggestion is selected so we won't trigger the suggestion again
271
- this.suggestionClicked=true;this.startGooglePlaceSuggestions=false;var b=t.addressComponents;var y=V({addresses:[(n=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("street_number")})))===null||n===void 0?void 0:n.longText,(o=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("route")})))===null||o===void 0?void 0:o.longText]});var m=V({addresses:[(d=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("premise")})))===null||d===void 0?void 0:d.longText,((r=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_2")})))===null||r===void 0?void 0:r.longText)||((i=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_3")})))===null||i===void 0?void 0:i.longText)||((s=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_4")})))===null||s===void 0?void 0:s.longText)||((a=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_5")})))===null||a===void 0?void 0:a.longText)]});var g=V({addresses:[(u=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("subpremise")})))===null||u===void 0?void 0:u.longText,(l=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("neighborhood")})))===null||l===void 0?void 0:l.longText],delimiter:", "});var z=V({addresses:[(($=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("locality")})))===null||$===void 0?void 0:$.longText)||((f=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_1")})))===null||f===void 0?void 0:f.longText)||((c=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("administrative_area_level_1")})))===null||c===void 0?void 0:c.longText)]});var w=V({addresses:[(h=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("administrative_area_level_1")})))===null||h===void 0?void 0:h.shortText]});var x=V({addresses:[(p=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("postal_code")})))===null||p===void 0?void 0:p.longText]});var k=V({addresses:[(v=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("country")})))===null||v===void 0?void 0:v.shortText]});this.setFormValues({city:z,country:k,
270
+ this.suggestionClicked=true;this.startGooglePlaceSuggestions=false;var b=t.addressComponents;var y=U({addresses:[(n=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("street_number")})))===null||n===void 0?void 0:n.longText,(o=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("route")})))===null||o===void 0?void 0:o.longText]});var m=U({addresses:[(d=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("premise")})))===null||d===void 0?void 0:d.longText,((r=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_2")})))===null||r===void 0?void 0:r.longText)||((i=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_3")})))===null||i===void 0?void 0:i.longText)||((s=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_4")})))===null||s===void 0?void 0:s.longText)||((a=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_5")})))===null||a===void 0?void 0:a.longText)]});var g=U({addresses:[(u=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("subpremise")})))===null||u===void 0?void 0:u.longText,(l=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("neighborhood")})))===null||l===void 0?void 0:l.longText],delimiter:", "});var z=U({addresses:[(($=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("locality")})))===null||$===void 0?void 0:$.longText)||((f=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("sublocality_level_1")})))===null||f===void 0?void 0:f.longText)||((c=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("administrative_area_level_1")})))===null||c===void 0?void 0:c.longText)]});var w=U({addresses:[(h=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("administrative_area_level_1")})))===null||h===void 0?void 0:h.shortText]});var x=U({addresses:[(p=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("postal_code")})))===null||p===void 0?void 0:p.longText]});var k=U({addresses:[(v=b===null||b===void 0?void 0:b.find((function(e){return e.types.includes("country")})))===null||v===void 0?void 0:v.shortText]});this.setFormValues({city:z,country:k,
272
271
  // Use the address line 1 from the address suggestion if it's available, otherwise use the address line 1 from the custom address form that the user has entered
273
272
  line1:y||m||this.line1,line2:g,postal_code:x,state:w})};e.prototype.setFormValues=function(e){if(e.city!==undefined)this.city=e.city;if(e.country!==undefined)this.country=e.country;if(e.firstName!==undefined)this.firstName=e.firstName;if(e.lastName!==undefined)this.lastName=e.lastName;if(e.line1!==undefined)this.line1=e.line1;if(e.line2!==undefined)this.line2=e.line2;if(e.phone!==undefined)this.phone=e.phone;if(e.postal_code!==undefined)this.postalCode=e.postal_code;if(e.state!==undefined)this.state=e.state};
274
273
  /**
275
274
  * Initialize the address suggestions
276
275
  */e.prototype.initAddressSuggestions=function(){var e=this;
277
276
  // Only initialize the address suggestions if the address service is not already initialized
278
- if(!l.checkoutAddressService||!!this.onAddressSuggestionsUnsubscribe&&!!this.onAddressSelectedUnsubscribe){return}S("on initAddressSuggestions","info");this.onAddressSuggestionsUnsubscribe=l.checkoutAddressService.onAddressSuggestions((function(t){var n=t.suggestions,o=t.type;
277
+ if(!l.checkoutAddressService||!!this.onAddressSuggestionsUnsubscribe&&!!this.onAddressSelectedUnsubscribe){return}O("on initAddressSuggestions","info");this.onAddressSuggestionsUnsubscribe=l.checkoutAddressService.onAddressSuggestions((function(t){var n=t.suggestions,o=t.type;
279
278
  // Only update the address suggestions if the type matches the current type
280
279
  if(o!==e.type){return}e.addressSuggestions=n}));this.onAddressSelectedUnsubscribe=l.checkoutAddressService.onAddressSelected((function(t){if(t.type!==e.type){return}e.addressSuggestions=[];e.addressSuggestionSelected(t)}));this.validate({type:this.type,value:this.firstName,valueType:"firstName"});this.validate({type:this.type,value:this.lastName,valueType:"lastName"});this.validate({type:this.type,value:this.line1,valueType:"line1"});this.validate({type:this.type,value:this.phone,valueType:"phone"});this.validate({type:this.type,value:this.postalCode,valueType:"postalCode"});this.validate({type:this.type,value:this.state,valueType:"state"});this.validate({type:this.type,value:this.city,valueType:"city"});this.validate({type:this.type,value:this.phone,valueType:"phone"})};e.prototype.countryChanged=function(e){var t,n;var o=(t=l.genericSettings)===null||t===void 0?void 0:t.countryFields;var d=o===null||o===void 0?void 0:o[e];
281
280
  // If the country code of countryFields are the same as current selected country code, do nothing
282
281
  if(((n=this.countryField)===null||n===void 0?void 0:n.countryCode)===this.country){return}if(o&&d){this.countryField=d;return}this.countryField=null};e.prototype.shouldEnabledCustomAddressChanged=function(){
283
282
  // Only initialize the address suggestions if the address service is not already initialized
284
- this.initAddressSuggestions();this.initDefaultCustomAddressForm()};e.prototype.renderCustomAddressForm=function(){var e=this;var t,n,d,r,s,a,$,f,h,p,v,b,y,m,g,z;var w=this.getCustomAddressErrors(),x=w.showError,k=H(w,["showError"]);var C=this.getStripeAddressInstance().stripeAddressEventData;var S=C===null||C===void 0?void 0:C.value.address.country;
283
+ this.initAddressSuggestions();this.initDefaultCustomAddressForm()};e.prototype.renderCustomAddressForm=function(){var e=this;var t,n,d,r,s,a,$,f,c,p,v,b,y,m,g,z;var w=this.getCustomAddressErrors(),x=w.showError,k=K(w,["showError"]);var C=this.getStripeAddressInstance().stripeAddressEventData;var S=C===null||C===void 0?void 0:C.value.address.country;
285
284
  /**
286
285
  * Billing addresses are not limited to the shipping zone: a shopper's card
287
286
  * can be billed to any country, so restricting it would block them from
@@ -318,7 +317,7 @@ e.validate({type:e.type,value:"",valueType:"postalCode"});e.validate({type:e.typ
318
317
  * Therefore, we must update the value after validation to ensure correct error state
319
318
  */e.line1=t.detail},onKeyDown:function(t){
320
319
  // Clear the address suggestions when the user presses the escape key
321
- if(t.key==="Escape"){t.preventDefault();t.stopPropagation();e.addressSuggestions=[]}},required:true}),o("zonos-address-suggestions",{onSuggestionSelected:function(t){var n;var o=t.detail.placeId;(n=l.checkoutAddressService)===null||n===void 0?void 0:n.selectAddress({placeId:o,type:e.type})},suggestions:this.addressSuggestions,type:this.type})),o("div",{"aria-label":"Additional address details",class:c(["zonos--custom-address-form-additional-fields",S&&this.isAddressLine1Entered?"zonos--show":""]),role:"group"},o("zonos-stripe-input",{"aria-required":"false",autoComplete:"".concat(this.type," address-line2"),class:"zonos--custom-address-form-input",inputLabel:i(((n=this.countryField)===null||n===void 0?void 0:n.address2Label)||"Address line 2"),inputValue:(C===null||C===void 0?void 0:C.value.address.line2)||"",onInputChange:function(t){e.line2=t.detail}}),((d=this.countryField)===null||d===void 0?void 0:d.cityShow)&&o("zonos-stripe-input",{"aria-required":((r=this.countryField)===null||r===void 0?void 0:r.cityRequired)?"true":"false",autoComplete:"".concat(this.type," address-level2"),class:"zonos--custom-address-form-input",error:x?k.city:undefined,inputLabel:i(((s=this.countryField)===null||s===void 0?void 0:s.cityLabel)||"City"),inputValue:(C===null||C===void 0?void 0:C.value.address.city)||"",name:"locality",onInputChange:function(t){e.validate({type:e.type,value:t.detail,valueType:"city"});
320
+ if(t.key==="Escape"){t.preventDefault();t.stopPropagation();e.addressSuggestions=[]}},required:true}),o("zonos-address-suggestions",{onSuggestionSelected:function(t){var n;var o=t.detail.placeId;(n=l.checkoutAddressService)===null||n===void 0?void 0:n.selectAddress({placeId:o,type:e.type})},suggestions:this.addressSuggestions,type:this.type})),o("div",{"aria-label":"Additional address details",class:h(["zonos--custom-address-form-additional-fields",S&&this.isAddressLine1Entered?"zonos--show":""]),role:"group"},o("zonos-stripe-input",{"aria-required":"false",autoComplete:"".concat(this.type," address-line2"),class:"zonos--custom-address-form-input",inputLabel:i(((n=this.countryField)===null||n===void 0?void 0:n.address2Label)||"Address line 2"),inputValue:(C===null||C===void 0?void 0:C.value.address.line2)||"",onInputChange:function(t){e.line2=t.detail}}),((d=this.countryField)===null||d===void 0?void 0:d.cityShow)&&o("zonos-stripe-input",{"aria-required":((r=this.countryField)===null||r===void 0?void 0:r.cityRequired)?"true":"false",autoComplete:"".concat(this.type," address-level2"),class:"zonos--custom-address-form-input",error:x?k.city:undefined,inputLabel:i(((s=this.countryField)===null||s===void 0?void 0:s.cityLabel)||"City"),inputValue:(C===null||C===void 0?void 0:C.value.address.city)||"",name:"locality",onInputChange:function(t){e.validate({type:e.type,value:t.detail,valueType:"city"});
322
321
  /**
323
322
  * Order of operations is important here:
324
323
  * 1. validate() updates all input error states
@@ -332,7 +331,7 @@ if(t.key==="Escape"){t.preventDefault();t.stopPropagation();e.addressSuggestions
332
331
  * 2. Setting postalCode triggers @Watch('postalCode')
333
332
  * 3. getIsComplete() checks customAddressErrors state
334
333
  * Therefore, we must update the value after validation to ensure correct error state
335
- */e.state=t.detail},options:N,required:(h=this.countryField)===null||h===void 0?void 0:h.stateRequired,selectLabel:i(((p=this.countryField)===null||p===void 0?void 0:p.stateLabel)||"State"),selectedValue:C===null||C===void 0?void 0:C.value.address.state,title:"".concat(this.type," state")}),((v=this.countryField)===null||v===void 0?void 0:v.zipShow)&&o("zonos-stripe-input",{"aria-describedby":((b=this.countryField)===null||b===void 0?void 0:b.zipFormat)?"zip-format-".concat(this.type):undefined,"aria-required":((y=this.countryField)===null||y===void 0?void 0:y.zipRequired)?"true":"false",autoComplete:"".concat(this.type," postal-code"),class:"zonos--custom-address-form-input",error:x?k.postalCode:undefined,inputLabel:i(((m=this.countryField)===null||m===void 0?void 0:m.zipLabel)||"Zip"),inputValue:(C===null||C===void 0?void 0:C.value.address.postal_code)||"",name:"postalCode",onInputChange:function(t){e.validate({type:e.type,value:t.detail,valueType:"postalCode"});
334
+ */e.state=t.detail},options:N,required:(c=this.countryField)===null||c===void 0?void 0:c.stateRequired,selectLabel:i(((p=this.countryField)===null||p===void 0?void 0:p.stateLabel)||"State"),selectedValue:C===null||C===void 0?void 0:C.value.address.state,title:"".concat(this.type," state")}),((v=this.countryField)===null||v===void 0?void 0:v.zipShow)&&o("zonos-stripe-input",{"aria-describedby":((b=this.countryField)===null||b===void 0?void 0:b.zipFormat)?"zip-format-".concat(this.type):undefined,"aria-required":((y=this.countryField)===null||y===void 0?void 0:y.zipRequired)?"true":"false",autoComplete:"".concat(this.type," postal-code"),class:"zonos--custom-address-form-input",error:x?k.postalCode:undefined,inputLabel:i(((m=this.countryField)===null||m===void 0?void 0:m.zipLabel)||"Zip"),inputValue:(C===null||C===void 0?void 0:C.value.address.postal_code)||"",name:"postalCode",onInputChange:function(t){e.validate({type:e.type,value:t.detail,valueType:"postalCode"});
336
335
  /**
337
336
  * Order of operations is important here:
338
337
  * 1. validate() updates all input error states
@@ -358,18 +357,18 @@ this.onStoreCheckoutSessionIdChangedSubscription()};e.prototype.componentWillLoa
358
357
  // @Watch doesn't get trigger on initial load
359
358
  this.initAddressSuggestions();this.isFirstInitialization=false;
360
359
  // subscribe to checkout session id changes from storage store
361
- this.onStoreCheckoutSessionIdChanged();this.countryChanged((e===null||e===void 0?void 0:e.value.address.country)||"US")};e.prototype.render=function(){var e;this.addressService=l.checkoutAddressService;if((e=p.stripeAddressEventData)===null||e===void 0?void 0:e.complete){this.isAddressFilled=true}
360
+ this.onStoreCheckoutSessionIdChanged();this.countryChanged((e===null||e===void 0?void 0:e.value.address.country)||"US")};e.prototype.render=function(){var e;this.addressService=l.checkoutAddressService;if((e=v.stripeAddressEventData)===null||e===void 0?void 0:e.complete){this.isAddressFilled=true}
362
361
  // Only set country if custom address form is enabled
363
362
  if(!this.country&&u.selectedCountryCode){this.country=u.selectedCountryCode}
364
363
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
365
- return o(d,{key:"9d178094ee341623633d1e3822bd79f254a27e51",class:c(["zonos--address zonos--elements","zonos--".concat(this.type,"-address")])},o("zonos-text",{key:"c36b4ce9b63cce95664894fd8929ffe15807a22a",class:"zonos--title",type:"semiBoldLabel"},this.titleText),o("slot",{key:"661eab7074f99b6dca52d5f7f546cfbd29322fbf",name:"below-title"}),this.renderCompanyNameInput(),this.renderTaxIdInput(),this.renderShortAddressCodeInput(),this.renderCustomAddressForm())};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checkoutSessionId:[{isAddressFilledChanged:0}],isAddressFilled:[{isAddressFilledChanged:0}],defaultAddress:[{defaultAddressChanged:0}],line1:[{line1Changed:0}],city:[{formFieldsChanged:0}],country:[{formFieldsChanged:0},{countryChanged:0}],firstName:[{formFieldsChanged:0}],lastName:[{formFieldsChanged:0}],line2:[{formFieldsChanged:0}],phone:[{formFieldsChanged:0}],postalCode:[{formFieldsChanged:0}],state:[{formFieldsChanged:0}],addressService:[{shouldEnabledCustomAddressChanged:0}]}},enumerable:false,configurable:true});return e}());Z.style=K();
364
+ return o(d,{key:"d3bb2635d41dd74ba52ff37034f348fc0a763366",class:h(["zonos--address zonos--elements","zonos--".concat(this.type,"-address")])},o("zonos-text",{key:"7d3f67988eac13616f3470f46f05060e194c2df7",class:"zonos--title",type:"semiBoldLabel"},this.titleText),o("slot",{key:"1bd63bd015542ec3302f087bcbf3d9549f342c25",name:"below-title"}),this.renderCompanyNameInput(),this.renderTaxIdInput(),this.renderShortAddressCodeInput(),this.renderCustomAddressForm())};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checkoutSessionId:[{isAddressFilledChanged:0}],isAddressFilled:[{isAddressFilledChanged:0}],defaultAddress:[{defaultAddressChanged:0}],line1:[{line1Changed:0}],city:[{formFieldsChanged:0}],country:[{formFieldsChanged:0},{countryChanged:0}],firstName:[{formFieldsChanged:0}],lastName:[{formFieldsChanged:0}],line2:[{formFieldsChanged:0}],phone:[{formFieldsChanged:0}],postalCode:[{formFieldsChanged:0}],state:[{formFieldsChanged:0}],addressService:[{shouldEnabledCustomAddressChanged:0}]}},enumerable:false,configurable:true});return e}());H.style=V();
366
365
  // This file is a workaround for a bug in web browsers' "native"
367
366
  // ES6 importing system which is uncapable of importing "*.json" files.
368
367
  // https://github.com/catamphetamine/libphonenumber-js/issues/239
369
- var W={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|[2-467])\\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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|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,[["(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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)|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","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-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","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\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","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],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-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|[67]3)|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])|9(?:0[25]|42))[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(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\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{2})(\\d{4})","$1 $2 $3",["2"],"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"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],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{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\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(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]|3[13])"],"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,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|3[01]|5[0-5]))\\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}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","(?:400|[5-9]\\d\\d)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"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",["(?:19|[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{2})(\\d{2})(\\d{2})","$1 $2 $3",["[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|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|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|180020","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{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"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","[48]\\d{8}|[2-9]\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|4(?:[0-35]|4[16-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[48]"]]]],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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\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","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{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-589]\\d{7}",[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]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\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(?:05|[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|180020","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-6]|80[2-46]","11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|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|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|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",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[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,11}|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",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["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|180020","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|427|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",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-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",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"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",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,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","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"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",["3"],"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-6]|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","(?:[2457]\\d|33|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",["20"]],["(\\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]"]],["(\\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",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|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{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\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",["[67]"],"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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\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",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"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",["11|2[16]"],"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","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"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{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-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-9]"]],["(\\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","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\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","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],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[02-46-9]"]],["(\\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",["30|(?: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","30|(?: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","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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",["3[289]|4[246-8]|61|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[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|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,"[3489]",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","(?:[15]\\d|800|92)\\d{7}",[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{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(?:[0-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[013]|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{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\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-9]"]]]],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","[25-7]\\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",["[25-7]"]],["(\\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-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"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|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-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|66)\\d{7}",[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",["\\d"]]],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-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[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$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{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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","20240"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]","20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[2-4]"],"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,[["(?:472[2-47-9]|983[2-57-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[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\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-9]\\d)\\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{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1357-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|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\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","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?: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])|7093[5-7])\\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|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[23568]\\d{6}",[7,9,10],[["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"],"0$1"],["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["548"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[256]|39|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",["3"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"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}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],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|5[12]"]],["(\\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})|5(?:0\\d{3}|2[0-2]))\\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}"]]]}};
368
+ var Z={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|[2-467])\\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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|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,[["(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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)|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","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-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","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\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","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],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-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|[67]3)|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])|9(?:0[25]|42))[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(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\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{2})(\\d{4})","$1 $2 $3",["2"],"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"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],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{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\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(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]|3[13])"],"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,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|3[01]|5[0-5]))\\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}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","(?:400|[5-9]\\d\\d)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"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",["(?:19|[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{2})(\\d{2})(\\d{2})","$1 $2 $3",["[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|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|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|180020","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{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"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","[48]\\d{8}|[2-9]\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|4(?:[0-35]|4[16-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[48]"]]]],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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\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","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{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-589]\\d{7}",[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]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\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(?:05|[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|180020","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-6]|80[2-46]","11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|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|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|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",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[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,11}|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",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["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|180020","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|427|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",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-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",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"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",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,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","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"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",["3"],"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-6]|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","(?:[2457]\\d|33|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",["20"]],["(\\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]"]],["(\\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",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|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{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\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",["[67]"],"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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\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",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"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",["11|2[16]"],"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","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"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{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-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-9]"]],["(\\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","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\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","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],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[02-46-9]"]],["(\\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",["30|(?: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","30|(?: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","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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",["3[289]|4[246-8]|61|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[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|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,"[3489]",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","(?:[15]\\d|800|92)\\d{7}",[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{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(?:[0-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[013]|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{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\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-9]"]]]],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","[25-7]\\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",["[25-7]"]],["(\\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-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"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|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-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|66)\\d{7}",[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",["\\d"]]],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-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[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$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{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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","20240"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]","20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[2-4]"],"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,[["(?:472[2-47-9]|983[2-57-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[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\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-9]\\d)\\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{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1357-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|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\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","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?: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])|7093[5-7])\\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|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[23568]\\d{6}",[7,9,10],[["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"],"0$1"],["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["548"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[256]|39|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",["3"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"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}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],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|5[12]"]],["(\\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})|5(?:0\\d{3}|2[0-2]))\\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}"]]]}};
370
369
  // Importing from a ".js" file is a workaround for Node.js "ES Modules"
371
370
  // importing system which is even uncapable of importing "*.json" files.
372
- function Y(e,t){var n=Array.prototype.slice.call(t);n.push(W);return e.apply(this,n)}
371
+ function W(e,t){var n=Array.prototype.slice.call(t);n.push(Z);return e.apply(this,n)}
373
372
  // Copy-pasted from:
374
373
  // https://github.com/substack/semver-compare/blob/master/index.js
375
374
 
@@ -378,18 +377,18 @@ function Y(e,t){var n=Array.prototype.slice.call(t);n.push(W);return e.apply(thi
378
377
 
379
378
  // Fixes `semver-compare` not being able to compare versions with alpha/beta/etc "tags".
380
379
  // https://github.com/catamphetamine/libphonenumber-js/issues/381
381
- function q(e,t){e=e.split("-");t=t.split("-");var n=e[0].split(".");var o=t[0].split(".");for(var d=0;d<3;d++){var r=Number(n[d]);var i=Number(o[d]);if(r>i)return 1;if(i>r)return-1;if(!isNaN(r)&&isNaN(i))return 1;if(isNaN(r)&&!isNaN(i))return-1}if(e[1]&&t[1]){return e[1]>t[1]?1:e[1]<t[1]?-1:0}return!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var J={}.constructor;function X(e){return e!==undefined&&e!==null&&e.constructor===J}var Q=/^\d+$/;function ee(e){return Q.test(e)}function te(e){"@babel/helpers - typeof";return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,re(o.key),o)}}function de(e,t,n){return t&&oe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function re(e){var t=ie(e,"string");return"symbol"==te(t)?t:t+""}function ie(e,t){if("object"!=te(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=te(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}
380
+ function q(e,t){e=e.split("-");t=t.split("-");var n=e[0].split(".");var o=t[0].split(".");for(var d=0;d<3;d++){var r=Number(n[d]);var i=Number(o[d]);if(r>i)return 1;if(i>r)return-1;if(!isNaN(r)&&isNaN(i))return 1;if(isNaN(r)&&!isNaN(i))return-1}if(e[1]&&t[1]){return e[1]>t[1]?1:e[1]<t[1]?-1:0}return!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var Y={}.constructor;function J(e){return e!==undefined&&e!==null&&e.constructor===Y}var X=/^\d+$/;function Q(e){return X.test(e)}function ee(e){"@babel/helpers - typeof";return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,de(o.key),o)}}function oe(e,t,n){return t&&ne(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function de(e){var t=re(e,"string");return"symbol"==ee(t)?t:t+""}function re(e,t){if("object"!=ee(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=ee(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}
382
381
  // Added "idd_prefix" and "default_idd_prefix".
383
- var se="1.2.0";
382
+ var ie="1.2.0";
384
383
  // Moved `001` country code to "nonGeographic" section of metadata.
385
- var ae="1.7.35";var ue=" ext. ";
384
+ var se="1.7.35";var ae=" ext. ";
386
385
  /**
387
386
  * See: https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/METADATA.md
388
- */var le=function(){
387
+ */var ue=function(){
389
388
  /**
390
389
  * @param {object} metadata — Metadata JSON.
391
390
  */
392
- function e(t){ne(this,e);ve(t);this.metadata=t;ge.call(this,t)}return de(e,[{key:"getCountries",value:function e(){return Object.keys(this.metadata.countries).filter((function(e){return e!=="001"}))}},{key:"getCountryMetadata",value:function e(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function e(){if(this.v1||this.v2||this.v3)return;
391
+ function e(t){te(this,e);pe(t);this.metadata=t;me.call(this,t)}return oe(e,[{key:"getCountries",value:function e(){return Object.keys(this.metadata.countries).filter((function(e){return e!=="001"}))}},{key:"getCountryMetadata",value:function e(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function e(){if(this.v1||this.v2||this.v3)return;
393
392
  // `nonGeographical` was a typo.
394
393
  // It's present in metadata generated from `1.7.35` to `1.7.37`.
395
394
  // The test case could be found by searching for "nonGeographical".
@@ -402,13 +401,13 @@ var n=this.countryCallingCodes()[t];if(n&&n.length===1&&n[0]==="001"){return tru
402
401
  * Selects a telephone numbering plan based on either a country code or a calling code.
403
402
  * @param {string} argument — Country code or calling code.
404
403
  * @param {string} legacyArgumentCallingCode — Legacy argument: calling code, if the first argument is not passed.
405
- */},{key:"selectNumberingPlan",value:function e(t,n){var o;var d;if(t){if(ee(t)){d=t}else{o=t}}
404
+ */},{key:"selectNumberingPlan",value:function e(t,n){var o;var d;if(t){if(Q(t)){d=t}else{o=t}}
406
405
  // Previously, the signature of this method was: `.selectNumberingPlan(country, callingCode)`.
407
406
  // And if `country` argument wasn't passed, it looked into the second argument `callingCode`.
408
407
  // Now it's preferred to only pass either `country` or `callingCode` as the first argument.
409
408
  if(n){d=n}
410
409
  // Select a telephone numbering plan.
411
- if(o&&o!=="001"){var r=this.getCountryMetadata(o);if(!r){throw new Error("Unknown country: ".concat(o))}this.numberingPlan=new $e(r,this)}else if(d){if(!this.hasCallingCode(d)){throw new Error("Unknown calling code: ".concat(d))}this.numberingPlan=new $e(this.getNumberingPlanMetadata(d),this)}else{this.numberingPlan=undefined}return this}},{key:"getCountryCodesForCallingCode",value:function e(t){var n=this.countryCallingCodes()[t];if(n){
410
+ if(o&&o!=="001"){var r=this.getCountryMetadata(o);if(!r){throw new Error("Unknown country: ".concat(o))}this.numberingPlan=new le(r,this)}else if(d){if(!this.hasCallingCode(d)){throw new Error("Unknown calling code: ".concat(d))}this.numberingPlan=new le(this.getNumberingPlanMetadata(d),this)}else{this.numberingPlan=undefined}return this}},{key:"getCountryCodesForCallingCode",value:function e(t){var n=this.countryCallingCodes()[t];if(n){
412
411
  // Metadata before V4 included "non-geographic entity" calling codes
413
412
  // inside `country_calling_codes` (for example, `"881":["001"]`).
414
413
  // Now the semantics of `country_calling_codes` has changed:
@@ -455,7 +454,7 @@ var d=this.countryCallingCodes()[t];if(d&&d.length===1&&d[0]==="001"){return thi
455
454
  // Deprecated.
456
455
  },{key:"ext",value:function e(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function e(){if(this.v1)return this.metadata.country_phone_code_to_countries;return this.metadata.country_calling_codes}
457
456
  // Deprecated.
458
- },{key:"chooseCountryByCountryCallingCode",value:function e(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function e(){return this.numberingPlan!==undefined}}])}();var $e=function(){function e(t,n){ne(this,e);this.globalMetadataObject=n;this.metadata=t;ge.call(this,n.metadata)}return de(e,[{key:"callingCode",value:function e(){return this.metadata[0]}
457
+ },{key:"chooseCountryByCountryCallingCode",value:function e(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function e(){return this.numberingPlan!==undefined}}])}();var le=function(){function e(t,n){te(this,e);this.globalMetadataObject=n;this.metadata=t;me.call(this,n.metadata)}return oe(e,[{key:"callingCode",value:function e(){return this.metadata[0]}
459
458
  // When multiple countries share the same calling code,
460
459
  // all phone number formatting rules are included in the metadata
461
460
  // of the "default" country for that calling code.
@@ -480,7 +479,7 @@ var d=this.countryCallingCodes()[t];if(d&&d.length===1&&d[0]==="001"){return thi
480
479
  // For countries of the same region (e.g. NANPA)
481
480
  // formats are all stored in the "main" country for that region.
482
481
  // E.g. "RU" and "KZ", "US" and "CA".
483
- },{key:"formats",value:function e(){var t=this;var e=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return e.map((function(e){return new fe(e,t)}))}},{key:"nationalPrefix",value:function e(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function e(t){return t[this.v1?4:this.v2?5:6]}
482
+ },{key:"formats",value:function e(){var t=this;var e=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return e.map((function(e){return new $e(e,t)}))}},{key:"nationalPrefix",value:function e(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function e(t){return t[this.v1?4:this.v2?5:6]}
484
483
  // For countries of the same region (e.g. NANPA)
485
484
  // national prefix formatting rule is stored in the "main" country for that region.
486
485
  // E.g. "RU" and "KZ", "US" and "CA".
@@ -498,7 +497,7 @@ return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalP
498
497
  if(this.types()&&this.types().length===0){return false}
499
498
  // Versions <= 1.2.4: can be `undefined`.
500
499
  // Version >= 1.2.5: can be `0`.
501
- return!!this.types()}},{key:"type",value:function e(t){if(this.hasTypes()&&pe(this.types(),t)){return new he(pe(this.types(),t),this)}}},{key:"ext",value:function e(){if(this.v1||this.v2)return ue;return this.metadata[13]||ue}}])}();var fe=function(){function e(t,n){ne(this,e);this._format=t;this.metadata=n}return de(e,[{key:"pattern",value:function e(){return this._format[0]}},{key:"format",value:function e(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function e(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function e(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function e(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function e(){
500
+ return!!this.types()}},{key:"type",value:function e(t){if(this.hasTypes()&&he(this.types(),t)){return new ce(he(this.types(),t),this)}}},{key:"ext",value:function e(){if(this.v1||this.v2)return ae;return this.metadata[13]||ae}}])}();var $e=function(){function e(t,n){te(this,e);this._format=t;this.metadata=n}return oe(e,[{key:"pattern",value:function e(){return this._format[0]}},{key:"format",value:function e(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function e(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function e(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function e(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function e(){
502
501
  // National prefix is omitted if there's no national prefix formatting rule
503
502
  // set for this country, or when the national prefix formatting rule
504
503
  // contains no national prefix itself, or when this rule is set but
@@ -508,19 +507,19 @@ return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingIn
508
507
  // Checks whether national prefix formatting rule contains national prefix.
509
508
  },{key:"usesNationalPrefix",value:function e(){return this.nationalPrefixFormattingRule()&&
510
509
  // Check that national prefix formatting rule is not a "dummy" one.
511
- !ce.test(this.nationalPrefixFormattingRule())?true:false}},{key:"internationalFormat",value:function e(){return this._format[5]||this.format()}}])}();
510
+ !fe.test(this.nationalPrefixFormattingRule())?true:false}},{key:"internationalFormat",value:function e(){return this._format[5]||this.format()}}])}();
512
511
  /**
513
512
  * A pattern that is used to determine if the national prefix formatting rule
514
513
  * has the first group only, i.e., does not start with the national prefix.
515
514
  * Note that the pattern explicitly allows for unbalanced parentheses.
516
- */var ce=/^\(?\$1\)?$/;var he=function(){function e(t,n){ne(this,e);this.type=t;this.metadata=n}return de(e,[{key:"pattern",value:function e(){if(this.metadata.v1)return this.type;return this.type[0]}},{key:"possibleLengths",value:function e(){if(this.metadata.v1)return;return this.type[1]||this.metadata.possibleLengths()}}])}();function pe(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function ve(e){if(!e){throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.")}
515
+ */var fe=/^\(?\$1\)?$/;var ce=function(){function e(t,n){te(this,e);this.type=t;this.metadata=n}return oe(e,[{key:"pattern",value:function e(){if(this.metadata.v1)return this.type;return this.type[0]}},{key:"possibleLengths",value:function e(){if(this.metadata.v1)return;return this.type[1]||this.metadata.possibleLengths()}}])}();function he(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function pe(e){if(!e){throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.")}
517
516
  // `country_phone_code_to_countries` was renamed to `country_calling_codes` in `1.0.18`.
518
517
  // For that reason, it's not used in this detection algorithm.
519
518
  // Instead, it detects by `countries: {}` property existence.
520
- if(!X(e)||!X(e.countries)){throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(X(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+be(e)+": "+e,"."))}}
519
+ if(!J(e)||!J(e.countries)){throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(J(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+ve(e)+": "+e,"."))}}
521
520
  // Babel transforms `typeof` into some "branches"
522
521
  // so istanbul will show this as "branch not covered".
523
- /* istanbul ignore next */var be=function e(t){return te(t)};
522
+ /* istanbul ignore next */var ve=function e(t){return ee(t)};
524
523
  /**
525
524
  * Returns "country calling code" for a country.
526
525
  * Throws an error if the country doesn't exist or isn't supported by this library.
@@ -530,7 +529,7 @@ if(!X(e)||!X(e.countries)){throw new Error("[libphonenumber-js] `metadata` argum
530
529
  * @example
531
530
  * // Returns "44"
532
531
  * getCountryCallingCode("GB")
533
- */function ye(e,t){var n=new le(t);if(n.hasCountry(e)){return n.selectNumberingPlan(e).countryCallingCode()}throw new Error("Unknown country: ".concat(e))}
532
+ */function be(e,t){var n=new ue(t);if(n.hasCountry(e)){return n.selectNumberingPlan(e).countryCallingCode()}throw new Error("Unknown country: ".concat(e))}
534
533
  /**
535
534
  * Tells if a country code is supported.
536
535
  * @param {string} country
@@ -539,14 +538,14 @@ if(!X(e)||!X(e.countries)){throw new Error("[libphonenumber-js] `metadata` argum
539
538
  * @example
540
539
  * // Returns `true`
541
540
  * isSupportedCountry("GB")
542
- */function me(e,t){
541
+ */function ye(e,t){
543
542
  // const metadata = new Metadata(metadataJson)
544
543
  // return metadata.hasCountry(country)
545
544
  return t.countries.hasOwnProperty(e)}
546
545
  /**
547
546
  * Sets `v1`/`v2`/`v3`/`v4` properties on `this` object.
548
547
  * @param {object} metadata — Metadata JSON
549
- */function ge(e){var t=e.version;if(typeof t==="number"){this.v1=t===1;this.v2=t===2;this.v3=t===3;this.v4=t===4}else{if(!t){this.v1=true}else if(q(t,se)===-1){this.v2=true}else if(q(t,ae)===-1){this.v3=true}else{this.v4=true}}}
548
+ */function me(e){var t=e.version;if(typeof t==="number"){this.v1=t===1;this.v2=t===2;this.v3=t===3;this.v4=t===4}else{if(!t){this.v1=true}else if(q(t,ie)===-1){this.v2=true}else if(q(t,se)===-1){this.v3=true}else{this.v4=true}}}
550
549
  /**
551
550
  * Checks phone number length against the phone numbering plan selected in metadata.
552
551
  * Optionally, it could be restrained by a specific country.
@@ -554,7 +553,7 @@ return t.countries.hasOwnProperty(e)}
554
553
  * @param {string?} country — Specific country to use rather than the one that is pre-selected in the metadata instance.
555
554
  * @param {Metadata} metadata — Metadata instance with a selected numbering plan.
556
555
  * @returns {string}
557
- */function ze(e,t,n){return we(e,undefined,t,n)}
556
+ */function ge(e,t,n){return ze(e,undefined,t,n)}
558
557
  /**
559
558
  * Checks phone number length against the phone numbering plan selected in metadata.
560
559
  * Optionally, it could be restrained by a specific phone number type or a specific country.
@@ -590,9 +589,9 @@ return t.countries.hasOwnProperty(e)}
590
589
  // to check phone number length for that specific `country` rather than the "main" country
591
590
  // for the shared "country calling code".
592
591
 
593
- function we(e,t,n,o){if(n){
592
+ function ze(e,t,n,o){if(n){
594
593
  // If a specific `country` is specified, re-create a metadata instance with it.
595
- o=new le(o.metadata);o.selectNumberingPlan(n)}var d=o.type(t);
594
+ o=new ue(o.metadata);o.selectNumberingPlan(n)}var d=o.type(t);
596
595
  // There should always be "<possiblePengths/>" set for every type element.
597
596
  // This is declared in the XML schema.
598
597
  // For size efficiency, where a sub-description (e.g. fixed-line)
@@ -626,12 +625,12 @@ return r.indexOf(i,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}
626
625
  * @param {object} [options]
627
626
  * @param {object} metadataJson
628
627
  * @return {string}
629
- */function xe(e,t,n){
628
+ */function we(e,t,n){
630
629
  /* istanbul ignore if */
631
- if(t===undefined){t={}}var o=new le(n);if(t.v2){if(!e.countryCallingCode){throw new Error("Invalid phone number object passed")}o.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone){return false}if(e.country){if(!o.hasCountry(e.country)){throw new Error("Unknown country: ".concat(e.country))}o.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode){throw new Error("Invalid phone number object passed")}o.selectNumberingPlan(e.countryCallingCode)}}
630
+ if(t===undefined){t={}}var o=new ue(n);if(t.v2){if(!e.countryCallingCode){throw new Error("Invalid phone number object passed")}o.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone){return false}if(e.country){if(!o.hasCountry(e.country)){throw new Error("Unknown country: ".concat(e.country))}o.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode){throw new Error("Invalid phone number object passed")}o.selectNumberingPlan(e.countryCallingCode)}}
632
631
  // Old (legacy) metadata (< 1.0.18) had no "possible length" data.
633
632
  // So `isPossibleNumber()` function is supported only for non-legacy metadata.
634
- if(o.possibleLengths()){return ke(e.phone||e.nationalNumber,o)}
633
+ if(o.possibleLengths()){return xe(e.phone||e.nationalNumber,o)}
635
634
  // There was a bug in versions from `1.7.35` to `1.7.37` of `libphonenumber-js`
636
635
  // where "possible_lengths" property was missing from "non-geographical" numbering plans' metadata.
637
636
  // After that, the bug was noticed and fixed.
@@ -647,7 +646,7 @@ throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has
647
646
  * @param {string} nationalNumber
648
647
  * @param {Metadata} metadata = Metadata instance with a pre-selected telephone numbering plan.
649
648
  * @returns {boolean}
650
- */function ke(e,t){switch(ze(e,undefined,t)){case"IS_POSSIBLE":return true;
649
+ */function xe(e,t){switch(ge(e,undefined,t)){case"IS_POSSIBLE":return true;
651
650
  // This library ignores "local-only" phone numbers (for simplicity).
652
651
  // See the readme for more info on what are "local-only" phone numbers.
653
652
  // case 'IS_POSSIBLE_LOCAL_ONLY':
@@ -657,25 +656,25 @@ default:return false}}
657
656
  * Checks whether the entire input sequence can be matched
658
657
  * against the regular expression.
659
658
  * @return {boolean}
660
- */function Ce(e,t){
659
+ */function ke(e,t){
661
660
  // If the assigning of the `''` default value is moved to the arguments above,
662
661
  // the code coverage would decrease for some weird reason.
663
- e=e||"";return new RegExp("^(?:"+t+")$").test(e)}function Se(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Oe(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Oe(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var Ne=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];
662
+ e=e||"";return new RegExp("^(?:"+t+")$").test(e)}function Ce(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Se(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Se(e,t){if(e){if("string"==typeof e)return Oe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oe(e,t):void 0}}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var Ee=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];
664
663
  // Finds out national phone number type (fixed line, mobile, etc)
665
- function Ie(e,t,n){
664
+ function Ne(e,t,n){
666
665
  // If assigning the `{}` default value is moved to the arguments above,
667
666
  // code coverage would decrease for some weird reason.
668
667
  t=t||{};
669
668
  // When `parse()` returns an empty object — `{}` —
670
669
  // that means that the phone number is malformed,
671
670
  // so it can't possibly be valid.
672
- if(!e.country&&!e.countryCallingCode){return}var o=new le(n);o.selectNumberingPlan(e.country||e.countryCallingCode);var d=t.v2?e.nationalNumber:e.phone;
671
+ if(!e.country&&!e.countryCallingCode){return}var o=new ue(n);o.selectNumberingPlan(e.country||e.countryCallingCode);var d=t.v2?e.nationalNumber:e.phone;
673
672
  // The following is copy-pasted from the original function:
674
673
  // https://github.com/googlei18n/libphonenumber/blob/3ea547d4fbaa2d0b67588904dfa5d3f2557c27ff/javascript/i18n/phonenumbers/phonenumberutil.js#L2835
675
674
  // Is this national number even valid for this country
676
- if(!Ce(d,o.nationalNumberPattern())){return}
675
+ if(!ke(d,o.nationalNumberPattern())){return}
677
676
  // Is it fixed line number
678
- if(Ae(d,"FIXED_LINE",o)){
677
+ if(Ie(d,"FIXED_LINE",o)){
679
678
  // Because duplicate regular expressions are removed
680
679
  // to reduce metadata size, if "mobile" pattern is ""
681
680
  // then it means it was removed due to being a duplicate of the fixed-line pattern.
@@ -690,14 +689,14 @@ if(o.type("MOBILE")&&o.type("MOBILE").pattern()===""){return"FIXED_LINE_OR_MOBIL
690
689
  if(!o.type("MOBILE")){return"FIXED_LINE_OR_MOBILE"}
691
690
  // Check if the number happens to qualify as both fixed line and mobile.
692
691
  // (no such country in the minimal metadata set)
693
- /* istanbul ignore if */if(Ae(d,"MOBILE",o)){return"FIXED_LINE_OR_MOBILE"}return"FIXED_LINE"}for(var r=Se(Ne),i;!(i=r()).done;){var s=i.value;if(Ae(d,s,o)){return s}}}function Ae(e,t,n){var o=n.type(t);if(!o||!o.pattern()){return false}
692
+ /* istanbul ignore if */if(Ie(d,"MOBILE",o)){return"FIXED_LINE_OR_MOBILE"}return"FIXED_LINE"}for(var r=Ce(Ee),i;!(i=r()).done;){var s=i.value;if(Ie(d,s,o)){return s}}}function Ie(e,t,n){var o=n.type(t);if(!o||!o.pattern()){return false}
694
693
  // Check if any possible number lengths are present;
695
694
  // if so, we use them to avoid checking
696
695
  // the validation pattern if they don't match.
697
696
  // If they are absent, this means they match
698
697
  // the general description, which we have
699
698
  // already checked before a specific number type.
700
- if(o.possibleLengths()&&o.possibleLengths().indexOf(e.length)<0){return false}return Ce(e,o.pattern())}
699
+ if(o.possibleLengths()&&o.possibleLengths().indexOf(e.length)<0){return false}return ke(e,o.pattern())}
701
700
  /**
702
701
  * Checks if a given phone number is valid.
703
702
  *
@@ -731,49 +730,49 @@ if(o.possibleLengths()&&o.possibleLengths().indexOf(e.length)<0){return false}re
731
730
  * isValidNumber('88005553535', 'RU', metadata)
732
731
  * isValidNumber({ phone: '8005553535', country: 'RU' }, metadata)
733
732
  * ```
734
- */function je(e,t,n){
733
+ */function Ae(e,t,n){
735
734
  // If assigning the `{}` default value is moved to the arguments above,
736
735
  // code coverage would decrease for some weird reason.
737
- t=t||{};var o=new le(n);o.selectNumberingPlan(e.country||e.countryCallingCode);
736
+ t=t||{};var o=new ue(n);o.selectNumberingPlan(e.country||e.countryCallingCode);
738
737
  // By default, countries only have type regexps when it's required for
739
738
  // distinguishing different countries having the same `countryCallingCode`.
740
- if(o.hasTypes()){return Ie(e,t,o.metadata)!==undefined}
739
+ if(o.hasTypes()){return Ne(e,t,o.metadata)!==undefined}
741
740
  // If there are no type regexps for this country in metadata then use
742
741
  // `nationalNumberPattern` as a "better than nothing" replacement.
743
- var d=t.v2?e.nationalNumber:e.phone;return Ce(d,o.nationalNumberPattern())}var Te=/^[A-Z]{2}$/;function Le(e){return Te.test(e)}function Pe(e,t){var n;var o;var d=new le(t);
742
+ var d=t.v2?e.nationalNumber:e.phone;return ke(d,o.nationalNumberPattern())}var je=/^[A-Z]{2}$/;function Te(e){return je.test(e)}function Le(e,t){var n;var o;var d=new ue(t);
744
743
  // If country code is passed then derive `countryCallingCode` from it.
745
744
  // Also store the country code as `.country`.
746
- if(Le(e)){n=e;d.selectNumberingPlan(n);o=d.countryCallingCode()}else{o=e}return{country:n,callingCode:o}}
745
+ if(Te(e)){n=e;d.selectNumberingPlan(n);o=d.countryCallingCode()}else{o=e}return{country:n,callingCode:o}}
747
746
  /**
748
747
  * Returns a list of countries that the phone number could potentially belong to.
749
748
  * @param {string} callingCode — Calling code.
750
749
  * @param {string} nationalNumber — National (significant) number.
751
750
  * @param {object} metadata — Metadata.
752
751
  * @return {string[]} A list of possible countries.
753
- */function Me(e,t,n){var o=new le(n);var d=o.getCountryCodesForCallingCode(e);if(!d){return[]}return d.filter((function(e){return _e(t,e,n)}))}function _e(e,t,n){var o=new le(n);o.selectNumberingPlan(t);return o.numberingPlan.possibleLengths().indexOf(e.length)>=0}
752
+ */function Me(e,t,n){var o=new ue(n);var d=o.getCountryCodesForCallingCode(e);if(!d){return[]}return d.filter((function(e){return Pe(t,e,n)}))}function Pe(e,t,n){var o=new ue(n);o.selectNumberingPlan(t);return o.numberingPlan.possibleLengths().indexOf(e.length)>=0}
754
753
  // The minimum length of the national significant number.
755
754
  var Re=2;
756
755
  // The ITU says the maximum length should be 15,
757
756
  // but one can find longer numbers in Germany.
758
- var Fe=17;
757
+ var _e=17;
759
758
  // The maximum length of the country calling code.
760
- var Be=3;
759
+ var Fe=3;
761
760
  // Digits accepted in phone numbers
762
761
  // (ascii, fullwidth, arabic-indic, and eastern arabic digits).
763
- var De="0-90-9٠-٩۰-۹";
762
+ var Be="0-90-9٠-٩۰-۹";
764
763
  // `DASHES` will be right after the opening square bracket of the "character class"
765
- var Ge="-‐-―−ー-";var Ue="//";var Ve="..";var Ke="  ­​⁠ ";var He="()()[]\\[\\]";
764
+ var De="-‐-―−ー-";var Ge="//";var Ue="..";var Ve="  ­​⁠ ";var Ke="()()[]\\[\\]";
766
765
  // export const OPENING_BRACKETS = '(\uFF08\uFF3B\\\['
767
- var Ze="~⁓∼~";
766
+ var He="~⁓∼~";
768
767
  // Regular expression of acceptable punctuation found in phone numbers. This
769
768
  // excludes punctuation found as a leading character only. This consists of dash
770
769
  // characters, white space characters, full stops, slashes, square brackets,
771
770
  // parentheses and tildes. Full-width variants are also present.
772
- var We="".concat(Ge).concat(Ue).concat(Ve).concat(Ke).concat(He).concat(Ze);var Ye="++";
771
+ var Ze="".concat(De).concat(Ge).concat(Ue).concat(Ve).concat(Ke).concat(He);var We="++";
773
772
  // const LEADING_PLUS_CHARS_PATTERN = new RegExp('^[' + PLUS_CHARS + ']+')
774
- var qe=new RegExp("(["+De+"])");function Je(e,t,n,o){if(!t){return}
773
+ var qe=new RegExp("(["+Be+"])");function Ye(e,t,n,o){if(!t){return}
775
774
  // Get the IDD prefix pattern.
776
- var d=new le(o);d.selectNumberingPlan(t||n);var r=new RegExp(d.IDDPrefix());
775
+ var d=new ue(o);d.selectNumberingPlan(t||n);var r=new RegExp(d.IDDPrefix());
777
776
  // Check if the number is IDD-prefixed.
778
777
  if(e.search(r)!==0){return}
779
778
  // Strip IDD prefix.
@@ -795,7 +794,7 @@ var i=e.match(qe);if(i&&i[1]!=null&&i[1].length>0){if(i[1]==="0"){return}}return
795
794
  * @param {string} number — National number digits.
796
795
  * @param {object} metadata — Metadata with country selected.
797
796
  * @return {object} `{ nationalNumber: string, nationalPrefix: string? carrierCode: string? }`. Even if a national prefix was extracted, it's not necessarily present in the returned object, so don't rely on its presence in the returned object in order to find out whether a national prefix has been extracted or not.
798
- */function Xe(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){
797
+ */function Je(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){
799
798
  // See METADATA.md for the description of
800
799
  // `national_prefix_for_parsing` and `national_prefix_transform_rule`.
801
800
  // Attempt to parse the first digits as a national prefix.
@@ -848,7 +847,7 @@ var u;if(s){var l=e.indexOf(o[1]);var $=e.slice(0,l);
848
847
  // The national number is transformed via `9$1` to `91123456789`.
849
848
  // National prefix `0` is detected being present at the start.
850
849
  // if (possibleNationalPrefix.indexOf(metadata.numberingPlan.nationalPrefix()) === 0) {
851
- if($===t.numberingPlan.nationalPrefix()){u=t.numberingPlan.nationalPrefix()}}else{u=o[0]}return{nationalNumber:d,nationalPrefix:u,carrierCode:r}}}return{nationalNumber:e}}function Qe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=et(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function et(e,t){if(e){if("string"==typeof e)return tt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tt(e,t):void 0}}function tt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
850
+ if($===t.numberingPlan.nationalPrefix()){u=t.numberingPlan.nationalPrefix()}}else{u=o[0]}return{nationalNumber:d,nationalPrefix:u,carrierCode:r}}}return{nationalNumber:e}}function Xe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Qe(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Qe(e,t){if(e){if("string"==typeof e)return et(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?et(e,t):void 0}}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
852
851
  /**
853
852
  * Returns the exact country that a given national (significant) number belongs to
854
853
  * in case of ambiguity, i.e. when multiple countries share the same "country calling code".
@@ -856,11 +855,11 @@ if($===t.numberingPlan.nationalPrefix()){u=t.numberingPlan.nationalPrefix()}}els
856
855
  * @param {string[]} countries — A list of countries that share the same calling code.
857
856
  * @param {object} metadata — Metadata JSON.
858
857
  * @returns {string?} Returns the exact country this number belongs to, or `undefined` if the exact country couldn't be determined.
859
- */function nt(e,t,n){
858
+ */function tt(e,t,n){
860
859
  // Create a new `metadata` instance because it will be selecting a `country`.
861
- var o=new le(n);
860
+ var o=new ue(n);
862
861
  // const matchingCountries = []
863
- for(var d=Qe(t),r;!(r=d()).done;){var i=r.value;o.selectNumberingPlan(i);
862
+ for(var d=Xe(t),r;!(r=d()).done;){var i=r.value;o.selectNumberingPlan(i);
864
863
  // "Leading digits" patterns are only defined for about 20% of all countries.
865
864
  // By definition, matching "leading digits" is a sufficient but not a necessary
866
865
  // condition for a phone number to belong to a country.
@@ -871,7 +870,7 @@ for(var d=Qe(t),r;!(r=d()).done;){var i=r.value;o.selectNumberingPlan(i);
871
870
  if(o.leadingDigits()){if(e&&e.search(o.leadingDigits())===0){return i}}
872
871
  // Else perform full validation with all of those
873
872
  // fixed-line/mobile/etc regular expressions.
874
- else if(Ie({phone:e,country:i},undefined,o.metadata)){
873
+ else if(Ne({phone:e,country:i},undefined,o.metadata)){
875
874
  // When multiple countries share the same "country calling code",
876
875
  // type patterns aren't guaranteed to be unique among them.
877
876
  // For example, both `US` and `CA` have the same pattern for `toll_free` numbers.
@@ -915,10 +914,10 @@ return i;
915
914
  * @param {string} [options.nationalNumber] — National (significant) number.
916
915
  * @param {Metadata} options.metadata — Metadata instance.
917
916
  * @returns {string?} Returns the most suitable country for this calling code and national (significant) number.
918
- */function ot(e,t){var n=t.nationalNumber,o=t.metadata;var d=o.getCountryCodesForCallingCode(e);if(!d){return}
917
+ */function nt(e,t){var n=t.nationalNumber,o=t.metadata;var d=o.getCountryCodesForCallingCode(e);if(!d){return}
919
918
  // If there's just one country corresponding to the country code,
920
919
  // then just return it, without further phone number digits validation.
921
- if(d.length===1){return d[0]}return nt(n,d,o.metadata)}
920
+ if(d.length===1){return d[0]}return tt(n,d,o.metadata)}
922
921
  /**
923
922
  * Strips national prefix and carrier code from a complete phone number.
924
923
  * The difference from the non-"FromCompleteNumber" function is that
@@ -928,7 +927,7 @@ if(d.length===1){return d[0]}return nt(n,d,o.metadata)}
928
927
  * @param {string?} country — Specific country to use instead of the one that is pre-selected in the metadata instance.
929
928
  * @param {Metadata} metadata — Metadata instance with a selected numbering plan.
930
929
  * @return {object} `{ nationalNumber: string, carrierCode: string? }`.
931
- */function dt(e,t,n){
930
+ */function ot(e,t,n){
932
931
  // Parsing national prefixes and carrier codes
933
932
  // is only required for local phone numbers
934
933
  // but some people don't understand that
@@ -938,7 +937,7 @@ if(d.length===1){return d[0]}return nt(n,d,o.metadata)}
938
937
  // Google's original library forgives such mistakes
939
938
  // and so does this library, because it has been requested:
940
939
  // https://github.com/catamphetamine/libphonenumber-js/issues/127
941
- var o=Xe(e,n),d=o.carrierCode,r=o.nationalNumber;if(r!==e){if(!rt(e,r,n)){
940
+ var o=Je(e,n),d=o.carrierCode,r=o.nationalNumber;if(r!==e){if(!dt(e,r,n)){
942
941
  // Don't strip the national prefix.
943
942
  return{nationalNumber:e}}
944
943
  // Check the national (significant) number length after extracting national prefix and carrier code.
@@ -946,7 +945,7 @@ return{nationalNumber:e}}
946
945
  // so this `if` will only be executed with newer metadata.
947
946
  if(n.numberingPlan.possibleLengths()){
948
947
  // If an exact `country` is not specified, attempt to detect it from the assumed national number.
949
- if(!t){t=ot(n.numberingPlan.callingCode(),{nationalNumber:r,metadata:n})}
948
+ if(!t){t=nt(n.numberingPlan.callingCode(),{nationalNumber:r,metadata:n})}
950
949
  // The number remaining after stripping the national prefix and carrier code
951
950
  // should be long enough to have a possible length for the country.
952
951
  // Otherwise, don't strip the national prefix and carrier code,
@@ -955,7 +954,7 @@ if(!t){t=ot(n.numberingPlan.callingCode(),{nationalNumber:r,metadata:n})}
955
954
  // https://github.com/google/libphonenumber/blob/876268eb1ad6cdc1b7b5bef17fc5e43052702d57/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L3236-L3250
956
955
  // It doesn't check for the "possibility" of the original `number`.
957
956
  // I guess it's fine not checking that one. It works as is anyway.
958
- if(!it(r,t,n)){
957
+ if(!rt(r,t,n)){
959
958
  // Don't strip the national prefix.
960
959
  return{nationalNumber:e}}}}return{nationalNumber:r,carrierCode:d}}
961
960
  // In some countries, the same digit could be a national prefix
@@ -972,10 +971,10 @@ return{nationalNumber:e}}}}return{nationalNumber:r,carrierCode:d}}
972
971
  // is not extracted when the original number is "viable" and the
973
972
  // resultant number is not, a "viable" national number being the one
974
973
  // that matches `national_number_pattern`.
975
- function rt(e,t,n){
974
+ function dt(e,t,n){
976
975
  // The equivalent in Google's code is:
977
976
  // https://github.com/google/libphonenumber/blob/e326fa1fc4283bb05eb35cb3c15c18f98a31af33/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L2969-L3004
978
- if(Ce(e,n.nationalNumberPattern())&&!Ce(t,n.nationalNumberPattern())){return false}
977
+ if(ke(e,n.nationalNumberPattern())&&!ke(t,n.nationalNumberPattern())){return false}
979
978
  // This "is possible" national number (length) check has been commented out
980
979
  // because it's superceded by the (effectively) same check done in the
981
980
  // `extractNationalNumber()` function after it calls `shouldHaveExtractedNationalPrefix()`.
@@ -996,7 +995,7 @@ return true}
996
995
  * @param {string?} country — Specific country rather than the one that is pre-selected in the metadata instance.
997
996
  * @param {Metadata} metadata — Metadata instance with a selected numbering plan.
998
997
  * @returns {boolean}
999
- */function it(e,t,n){switch(ze(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":
998
+ */function rt(e,t,n){switch(ge(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":
1000
999
  // This library ignores "local-only" phone numbers (for simplicity).
1001
1000
  // See the readme for more info on what are "local-only" phone numbers.
1002
1001
  // case 'IS_POSSIBLE_LOCAL_ONLY':
@@ -1010,7 +1009,7 @@ return false;default:return true}}
1010
1009
  * @param {string} [defaultCallingCode]
1011
1010
  * @param {object} metadataJson
1012
1011
  * @return {object} `{ countryCallingCode: string?, number: string }`, where `countryCallingCode` is the calling code that was extracted from the input `number` string, and `number` is the originally passed `number` without the extracted calling code.
1013
- */function st(e,t,n,o,d){
1012
+ */function it(e,t,n,o,d){
1014
1013
  // Validate arguments.
1015
1014
  // The `number` is known to be in a non-international form
1016
1015
  // because there's no leading "+" character.
@@ -1018,7 +1017,7 @@ return false;default:return true}}
1018
1017
  // Otherwise, there'd be no source for the calling code to search for in the `number`.
1019
1018
  if(!(t||n||o)){
1020
1019
  // There's no source for the calling code to search for in the `number`.
1021
- return{number:e}}var r=t||n?ye(t||n,d):o;if(e.indexOf(r)===0){var i=new le(d);i.selectNumberingPlan(t||n||o);var s=e.slice(r.length);var a=dt(s,undefined,i),u=a.nationalNumber;var l=dt(e,undefined,i),$=l.nationalNumber;
1020
+ return{number:e}}var r=t||n?be(t||n,d):o;if(e.indexOf(r)===0){var i=new ue(d);i.selectNumberingPlan(t||n||o);var s=e.slice(r.length);var a=ot(s,undefined,i),u=a.nationalNumber;var l=ot(e,undefined,i),$=l.nationalNumber;
1022
1021
  // If the number was not valid before but is valid now,
1023
1022
  // or if it was too long before, we consider the number
1024
1023
  // with the country calling code stripped to be a better result
@@ -1027,7 +1026,7 @@ return{number:e}}var r=t||n?ye(t||n,d):o;if(e.indexOf(r)===0){var i=new le(d);i.
1027
1026
  // so if a number starts with `49`, it could be both a valid
1028
1027
  // national German number or an international number without
1029
1028
  // a leading `+`.
1030
- if(!Ce($,i.nationalNumberPattern())&&Ce(u,i.nationalNumberPattern())||ze($,undefined,i)==="TOO_LONG"){return{countryCallingCode:r,number:s}}}return{number:e}}
1029
+ if(!ke($,i.nationalNumberPattern())&&ke(u,i.nationalNumberPattern())||ge($,undefined,i)==="TOO_LONG"){return{countryCallingCode:r,number:s}}}return{number:e}}
1031
1030
  /**
1032
1031
  * Attempts to extract a calling code from a phone number.
1033
1032
  * * If the phone number is found to be "international":
@@ -1051,7 +1050,7 @@ if(!Ce($,i.nationalNumberPattern())&&Ce(u,i.nationalNumberPattern())||ze($,undef
1051
1050
  * extractCountryCallingCode('2133734253', null, null, '1', metadata)
1052
1051
  * extractCountryCallingCode('+12133734253', null, null, null, metadata)
1053
1052
  * extractCountryCallingCode('+12133734253', null, 'RU', null, metadata)
1054
- */function at(e,t,n,o,d){if(!e){return{}}var r;
1053
+ */function st(e,t,n,o,d){if(!e){return{}}var r;
1055
1054
  // If this is not an international phone number,
1056
1055
  // then either extract an "IDD" prefix, or extract a
1057
1056
  // country calling code from a number by autocorrecting it
@@ -1062,7 +1061,7 @@ if(!Ce($,i.nationalNumberPattern())&&Ce(u,i.nationalNumberPattern())||ze($,undef
1062
1061
  if(e[0]!=="+"){
1063
1062
  // Convert an "out-of-country" dialing phone number
1064
1063
  // to a proper international phone number.
1065
- var i=Je(e,t||n,o,d);
1064
+ var i=Ye(e,t||n,o,d);
1066
1065
  // If an IDD prefix was stripped then
1067
1066
  // convert the number to international one
1068
1067
  // for subsequent parsing.
@@ -1071,13 +1070,13 @@ if(i&&i!==e){r=true;e="+"+i}else{
1071
1070
  // for the default country. If so, we remove the country calling code,
1072
1071
  // and do some checks on the validity of the number before and after.
1073
1072
  // https://github.com/catamphetamine/libphonenumber-js/issues/376
1074
- if(t||n||o){var s=st(e,t,n,o,d),a=s.countryCallingCode,u=s.number;if(a){return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:a,number:u}}}return{
1073
+ if(t||n||o){var s=it(e,t,n,o,d),a=s.countryCallingCode,u=s.number;if(a){return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:a,number:u}}}return{
1075
1074
  // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
1076
1075
  // countryCallingCodeSource: 'UNSPECIFIED',
1077
1076
  number:e}}}
1078
1077
  // `number` can only be international at this point.
1079
1078
  // Fast abortion: country codes do not begin with a '0'
1080
- if(e[1]==="0"){return{}}var l=new le(d);
1079
+ if(e[1]==="0"){return{}}var l=new ue(d);
1081
1080
  // The thing with country phone codes
1082
1081
  // is that they are orthogonal to each other
1083
1082
  // i.e. there's no such country phone code A
@@ -1087,7 +1086,7 @@ if(e[1]==="0"){return{}}var l=new le(d);
1087
1086
  // if a valid country code is found,
1088
1087
  // that means that it is the country code.
1089
1088
 
1090
- var $=2;while($-1<=Be&&$<=e.length){var f=e.slice(1,$);if(l.hasCallingCode(f)){l.selectNumberingPlan(f);return{countryCallingCodeSource:r?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice($)}}$++}return{}}
1089
+ var $=2;while($-1<=Fe&&$<=e.length){var f=e.slice(1,$);if(l.hasCallingCode(f)){l.selectNumberingPlan(f);return{countryCallingCodeSource:r?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice($)}}$++}return{}}
1091
1090
  // The possible values for the returned `countryCallingCodeSource` are:
1092
1091
 
1093
1092
  // Copy-pasted from:
@@ -1153,12 +1152,12 @@ var $=2;while($-1<=Be&&$<=e.length){var f=e.slice(1,$);if(l.hasCallingCode(f)){l
1153
1152
  // In the modern age all output is done on displays where spaces are clearly distinguishable
1154
1153
  // so hyphens can be safely replaced with spaces without losing any legibility.
1155
1154
 
1156
- function ut(e){return e.replace(new RegExp("[".concat(We,"]+"),"g")," ").trim()}
1155
+ function at(e){return e.replace(new RegExp("[".concat(Ze,"]+"),"g")," ").trim()}
1157
1156
  // This was originally set to $1 but there are some countries for which the
1158
1157
  // first group is not used in the national pattern (e.g. Argentina) so the $1
1159
1158
  // group does not match correctly. Therefore, we use `\d`, so that the first
1160
1159
  // group actually used in the pattern will be matched.
1161
- var lt=/(\$\d)/;function $t(e,t,n){var o=n.useInternationalFormat,d=n.withNationalPrefix;var r=e.replace(new RegExp(t.pattern()),o?t.internationalFormat():
1160
+ var ut=/(\$\d)/;function lt(e,t,n){var o=n.useInternationalFormat,d=n.withNationalPrefix;var r=e.replace(new RegExp(t.pattern()),o?t.internationalFormat():
1162
1161
  // This library doesn't use `domestic_carrier_code_formatting_rule`,
1163
1162
  // because that one is only used when formatting phone numbers
1164
1163
  // for dialing from a mobile phone, and this is not a dialing library.
@@ -1172,7 +1171,7 @@ var lt=/(\$\d)/;function $t(e,t,n){var o=n.useInternationalFormat,d=n.withNation
1172
1171
  // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
1173
1172
  // : format.format()
1174
1173
  // )
1175
- d&&t.nationalPrefixFormattingRule()?t.format().replace(lt,t.nationalPrefixFormattingRule()):t.format());if(o){return ut(r)}return r}
1174
+ d&&t.nationalPrefixFormattingRule()?t.format().replace(ut,t.nationalPrefixFormattingRule()):t.format());if(o){return at(r)}return r}
1176
1175
  /**
1177
1176
  * Pattern that makes it easy to distinguish whether a region has a single
1178
1177
  * international dialing prefix or not. If a region has a single international
@@ -1181,24 +1180,24 @@ d&&t.nationalPrefixFormattingRule()?t.format().replace(lt,t.nationalPrefixFormat
1181
1180
  * the tone. If there are multiple available international prefixes in a
1182
1181
  * region, they will be represented as a regex string that always contains one
1183
1182
  * or more characters that are not ASCII digits or a tilde.
1184
- */var ft=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
1183
+ */var $t=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
1185
1184
  // If the `country` supports IDD calling, it returns a preferred IDD prefix.
1186
1185
  // If the `country` doesn't support IDD calling, it returns `undefined`.
1187
- function ct(e,t,n){var o=new le(n);o.selectNumberingPlan(e||t);if(o.defaultIDDPrefix()){return o.defaultIDDPrefix()}if(ft.test(o.IDDPrefix())){return o.IDDPrefix()}}
1186
+ function ft(e,t,n){var o=new ue(n);o.selectNumberingPlan(e||t);if(o.defaultIDDPrefix()){return o.defaultIDDPrefix()}if($t.test(o.IDDPrefix())){return o.IDDPrefix()}}
1188
1187
  // The RFC 3966 format for extensions.
1189
- var ht=";ext=";
1188
+ var ct=";ext=";
1190
1189
  /**
1191
1190
  * Helper method for constructing regular expressions for parsing. Creates
1192
1191
  * an expression that captures up to max_length digits.
1193
1192
  * @return {string} RegEx pattern to capture extension digits.
1194
- */var pt=function e(t){return"([".concat(De,"]{1,").concat(t,"})")};
1193
+ */var ht=function e(t){return"([".concat(Be,"]{1,").concat(t,"})")};
1195
1194
  /**
1196
1195
  * Helper initialiser method to create the regular-expression pattern to match
1197
1196
  * extensions.
1198
1197
  * Copy-pasted from Google's `libphonenumber`:
1199
1198
  * https://github.com/google/libphonenumber/blob/55b2646ec9393f4d3d6661b9c82ef9e258e8b829/javascript/i18n/phonenumbers/phonenumberutil.js#L759-L766
1200
1199
  * @return {string} RegEx pattern to capture extensions.
1201
- */function vt(e){
1200
+ */function pt(e){
1202
1201
  // We cap the maximum length of an extension based on the ambiguity of the way
1203
1202
  // the extension is prefixed. As per ITU, the officially allowed length for
1204
1203
  // extensions is actually 40, but we don't support this since we haven't seen real
@@ -1229,12 +1228,12 @@ var t="20";
1229
1228
  // not repeat it here. Semi-colon works in Iphone and Android also to pop up a
1230
1229
  // button with the extension number following.
1231
1230
  /** @type {string} */var f="(?:,{2}|;)";
1232
- /** @type {string} */var c=ht+pt(t);
1233
- /** @type {string} */var h=r+a+i+pt(t)+s;
1234
- /** @type {string} */var p=r+u+i+pt(o)+s;
1235
- /** @type {string} */var v=l+pt(d)+"#";
1236
- /** @type {string} */var b=$+f+i+pt(n)+s;
1237
- /** @type {string} */var y=$+"(?:,)+"+i+pt(o)+s;
1231
+ /** @type {string} */var c=ct+ht(t);
1232
+ /** @type {string} */var h=r+a+i+ht(t)+s;
1233
+ /** @type {string} */var p=r+u+i+ht(o)+s;
1234
+ /** @type {string} */var v=l+ht(d)+"#";
1235
+ /** @type {string} */var b=$+f+i+ht(n)+s;
1236
+ /** @type {string} */var y=$+"(?:,)+"+i+ht(o)+s;
1238
1237
  // The first regular expression covers RFC 3966 format, where the extension is added
1239
1238
  // using ";ext=". The second more generic where extension is mentioned with explicit
1240
1239
  // labels like "ext:". In both the above cases we allow more numbers in extension than
@@ -1272,12 +1271,12 @@ return c+"|"+h+"|"+p+"|"+v+"|"+b+"|"+y}
1272
1271
  // so must be the first in the range" (c) Google devs.
1273
1272
  // (wtf did they mean by saying that; probably nothing)
1274
1273
 
1275
- var bt="["+De+"]{"+Re+"}";
1274
+ var vt="["+Be+"]{"+Re+"}";
1276
1275
 
1277
1276
  // And this is the second reg-exp:
1278
1277
  // (see MIN_LENGTH_PHONE_NUMBER_PATTERN for a full description of this reg-exp)
1279
1278
 
1280
- var yt="["+Ye+"]{0,1}"+"(?:"+"["+We+"]*"+"["+De+"]"+"){3,}"+"["+We+De+"]*";
1279
+ var bt="["+We+"]{0,1}"+"(?:"+"["+Ze+"]*"+"["+Be+"]"+"){3,}"+"["+Ze+Be+"]*";
1281
1280
  // This regular expression isn't present in Google's `libphonenumber`
1282
1281
  // and is only used to determine whether the phone number being input
1283
1282
  // is too short for it to even consider it a "valid" number.
@@ -1287,16 +1286,16 @@ var yt="["+Ye+"]{0,1}"+"(?:"+"["+We+"]*"+"["+De+"]"+"){3,}"+"["+We+De+"]*";
1287
1286
  // considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this
1288
1287
  // library can provide a more detailed error message — whether it's
1289
1288
  // really "not a number", or is it just a start of a valid phone number.
1290
- var mt=new RegExp("^"+"["+Ye+"]{0,1}"+"(?:"+"["+We+"]*"+"["+De+"]"+"){1,2}"+"$","i");var gt=yt+
1289
+ var yt=new RegExp("^"+"["+We+"]{0,1}"+"(?:"+"["+Ze+"]*"+"["+Be+"]"+"){1,2}"+"$","i");var mt=bt+
1291
1290
  // Phone number extensions
1292
- "(?:"+vt()+")?";
1291
+ "(?:"+pt()+")?";
1293
1292
  // The combined regular expression for valid phone numbers:
1294
1293
 
1295
- var zt=new RegExp(
1294
+ var gt=new RegExp(
1296
1295
  // Either a short two-digit-only phone number
1297
- "^"+bt+"$"+"|"+
1296
+ "^"+vt+"$"+"|"+
1298
1297
  // Or a longer fully parsed phone number (min 3 characters)
1299
- "^"+gt+"$","i");
1298
+ "^"+mt+"$","i");
1300
1299
  // Checks to see if the string of characters could possibly be a phone number at
1301
1300
  // all. At the moment, checks to see that the string begins with at least 2
1302
1301
  // digits, ignoring any punctuation commonly found in phone numbers. This method
@@ -1304,23 +1303,23 @@ var zt=new RegExp(
1304
1303
  // that leading non-number symbols have been removed, such as by the method
1305
1304
  // `extract_possible_number`.
1306
1305
 
1307
- function wt(e){return e.length>=Re&&zt.test(e)}
1306
+ function zt(e){return e.length>=Re&&gt.test(e)}
1308
1307
  // This is just a way to differentiate between a really invalid phone
1309
1308
  // number like "abcde" and a valid phone number that a user has just
1310
1309
  // started inputting, like "+1" or "1": both these cases would be
1311
1310
  // considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this
1312
1311
  // library can provide a more detailed error message — whether it's
1313
1312
  // really "not a number", or is it just a start of a valid phone number.
1314
- function xt(e){return mt.test(e)}
1313
+ function wt(e){return yt.test(e)}
1315
1314
  /**
1316
1315
  * @param {object} - `{ ?number, ?extension }`.
1317
1316
  * @return {string} Phone URI (RFC 3966).
1318
- */function kt(e){var t=e.number,n=e.ext;if(!t){return""}if(t[0]!=="+"){throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.')}return"tel:".concat(t).concat(n?";ext="+n:"")}
1317
+ */function xt(e){var t=e.number,n=e.ext;if(!t){return""}if(t[0]!=="+"){throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.')}return"tel:".concat(t).concat(n?";ext="+n:"")}
1319
1318
  // This is a port of Google Android `libphonenumber`'s
1320
1319
  // `phonenumberutil.js` of December 31th, 2018.
1321
1320
 
1322
1321
  // https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js
1323
- var Ct={formatExtension:function e(t,n,o){return"".concat(t).concat(o.ext()).concat(n)}};
1322
+ var kt={formatExtension:function e(t,n,o){return"".concat(t).concat(o.ext()).concat(n)}};
1324
1323
  /**
1325
1324
  * Formats a phone number.
1326
1325
  *
@@ -1335,7 +1334,7 @@ var Ct={formatExtension:function e(t,n,o){return"".concat(t).concat(o.ext()).con
1335
1334
  * @param {object} [options]
1336
1335
  * @param {object} metadataJson
1337
1336
  * @return {string}
1338
- */function St(e,t,n,o){
1337
+ */function Ct(e,t,n,o){
1339
1338
  // Apply default options.
1340
1339
  if(n){
1341
1340
  // Using ES6 "rest spread" syntax here didn't work with `babel`/`istanbul`
@@ -1343,7 +1342,7 @@ if(n){
1343
1342
  // to show as not 100%. That's because `babel`/`istanbul`, for some weird reason,
1344
1343
  // apparently doesn't know how to properly exclude Babel polyfills from code coverage.
1345
1344
  // options = { ...DEFAULT_OPTIONS, ...options }
1346
- n=At({},Ct,n)}else{n=Ct}var d=new le(o);
1345
+ n=It({},kt,n)}else{n=kt}var d=new ue(o);
1347
1346
  // Normally, the `input` object is supposed to be a `PhoneNumber` class instance.
1348
1347
  // Also, according to the `PhoneNumber` class source code, `country` can't be "001".
1349
1348
  // It means that normally `input.country` or `input.countryCallingCode` is supposed
@@ -1362,12 +1361,12 @@ var s;switch(t){case"NATIONAL":
1362
1361
  // and a `PhoneNumber` class instance is always required to have a `nationalNumber`.
1363
1362
  // This means that the `if (!nationalNumber)` below is just for legacy-compatibility
1364
1363
  // and it normally can't really happen, so normally it won't ever return an empty string here.
1365
- if(!i){return""}s=Ot(i,e.carrierCode,"NATIONAL",d,n);return Nt(s,e.ext,d,n.formatExtension);case"INTERNATIONAL":
1364
+ if(!i){return""}s=St(i,e.carrierCode,"NATIONAL",d,n);return Et(s,e.ext,d,n.formatExtension);case"INTERNATIONAL":
1366
1365
  // Legacy argument support.
1367
1366
  // (`{ country: ..., phone: '' }`)
1368
- if(!i){return"+".concat(r)}s=Ot(i,null,"INTERNATIONAL",d,n);s="+".concat(r," ").concat(s);return Nt(s,e.ext,d,n.formatExtension);case"E.164":
1367
+ if(!i){return"+".concat(r)}s=St(i,null,"INTERNATIONAL",d,n);s="+".concat(r," ").concat(s);return Et(s,e.ext,d,n.formatExtension);case"E.164":
1369
1368
  // `E.164` doesn't define "phone number extensions".
1370
- return"+".concat(r).concat(i);case"RFC3966":return kt({number:"+".concat(r).concat(i),ext:e.ext});
1369
+ return"+".concat(r).concat(i);case"RFC3966":return xt({number:"+".concat(r).concat(i),ext:e.ext});
1371
1370
  // For reference, here's Google's IDD formatter:
1372
1371
  // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
1373
1372
  // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
@@ -1376,15 +1375,15 @@ case"IDD":
1376
1375
  // If the required `fromCountry` parameter is not passed, it will return `undefined`.
1377
1376
  if(!n.fromCountry){return;
1378
1377
  // throw new Error('`fromCountry` option not passed for IDD-prefixed formatting.')
1379
- }var a=It(i,e.carrierCode,r,n.fromCountry,d);
1378
+ }var a=Nt(i,e.carrierCode,r,n.fromCountry,d);
1380
1379
  // If the country of the phone number doesn't support IDD calling, it will return `undefined`.
1381
- if(!a){return}return Nt(a,e.ext,d,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function Ot(e,t,n,o,d){var r=Et(o.formats(),e);if(!r){return e}return $t(e,r,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:r.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&d&&d.nationalPrefix===false?false:true})}function Et(e,t){
1380
+ if(!a){return}return Et(a,e.ext,d,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function St(e,t,n,o,d){var r=Ot(o.formats(),e);if(!r){return e}return lt(e,r,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:r.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&d&&d.nationalPrefix===false?false:true})}function Ot(e,t){
1382
1381
  // Using a `for ... of` loop here didn't work with `babel`/`istanbul`:
1383
1382
  // for some weird reason, it showed code coverage less than 100%.
1384
1383
  // That's because `babel`/`istanbul`, for some weird reason,
1385
1384
  // apparently doesn't know how to properly exclude Babel polyfills from code coverage.
1386
1385
  // for (const format of availableFormats) { ... }
1387
- return jt(e,(function(e){
1386
+ return At(e,(function(e){
1388
1387
  // Validate leading digits.
1389
1388
  // The test case for "else path" could be found by searching for
1390
1389
  // "format.leadingDigitsPatterns().length === 0".
@@ -1394,9 +1393,9 @@ var n=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];
1394
1393
  // If leading digits don't match then move on to the next phone number format
1395
1394
  if(t.search(n)!==0){return false}}
1396
1395
  // Check that the national number matches the phone number format regular expression
1397
- return Ce(t,e.pattern())}))}function Nt(e,t,n,o){return t?o(e,t,n):e}function It(e,t,n,o,d){var r=ye(o,d.metadata);
1396
+ return ke(t,e.pattern())}))}function Et(e,t,n,o){return t?o(e,t,n):e}function Nt(e,t,n,o,d){var r=be(o,d.metadata);
1398
1397
  // When calling within the same country calling code.
1399
- if(r===n){var i=Ot(e,t,"NATIONAL",d);
1398
+ if(r===n){var i=St(e,t,"NATIONAL",d);
1400
1399
  // For NANPA regions, return the national format for these regions
1401
1400
  // but prefix it with the country calling code.
1402
1401
  if(n==="1"){return n+" "+i}
@@ -1409,31 +1408,31 @@ if(n==="1"){return n+" "+i}
1409
1408
  // country calling code. Details here:
1410
1409
  // http://www.petitfute.com/voyage/225-info-pratiques-reunion
1411
1410
 
1412
- return i}var s=ct(o,undefined,d.metadata);if(s){return"".concat(s," ").concat(n," ").concat(Ot(e,null,"INTERNATIONAL",d))}}function At(){var e=1;for(var t=arguments.length,n=new Array(t),o=0;o<t;o++){n[o]=arguments[o]}while(e<n.length){if(n[e]){for(var d in n[e]){n[0][d]=n[e][d]}}e++}return n[0]}function jt(e,t){var n=0;while(n<e.length){if(t(e[n])){return e[n]}n++}}function Tt(e){"@babel/helpers - typeof";return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(e)}function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),true).forEach((function(t){Mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e,t,n){return(t=Bt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function _t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Bt(o.key),o)}}function Ft(e,t,n){return t&&Rt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Bt(e){var t=Dt(e,"string");return"symbol"==Tt(t)?t:t+""}function Dt(e,t){if("object"!=Tt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Tt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Gt=function(){
1411
+ return i}var s=ft(o,undefined,d.metadata);if(s){return"".concat(s," ").concat(n," ").concat(St(e,null,"INTERNATIONAL",d))}}function It(){var e=1;for(var t=arguments.length,n=new Array(t),o=0;o<t;o++){n[o]=arguments[o]}while(e<n.length){if(n[e]){for(var d in n[e]){n[0][d]=n[e][d]}}e++}return n[0]}function At(e,t){var n=0;while(n<e.length){if(t(e[n])){return e[n]}n++}}function jt(e){"@babel/helpers - typeof";return jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jt(e)}function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),true).forEach((function(t){Mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e,t,n){return(t=Ft(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Ft(o.key),o)}}function _t(e,t,n){return t&&Rt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Ft(e){var t=Bt(e,"string");return"symbol"==jt(t)?t:t+""}function Bt(e,t){if("object"!=jt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=jt(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Dt=function(){
1413
1412
  /**
1414
1413
  * @param {string} countryOrCountryCallingCode
1415
1414
  * @param {string} nationalNumber
1416
1415
  * @param {object} metadata — Metadata JSON
1417
1416
  * @return {PhoneNumber}
1418
1417
  */
1419
- function e(t,n,o){_t(this,e);
1418
+ function e(t,n,o){Pt(this,e);
1420
1419
  // Validate `countryOrCountryCallingCode` argument.
1421
1420
  if(!t){throw new TypeError("First argument is required")}if(typeof t!=="string"){throw new TypeError("First argument must be a string")}
1422
1421
  // In case of public API use: `constructor(number, metadata)`.
1423
1422
  // Transform the arguments from `constructor(number, metadata)` to
1424
1423
  // `constructor(countryOrCountryCallingCode, nationalNumber, metadata)`.
1425
- if(t[0]==="+"&&!n){throw new TypeError("`metadata` argument not passed")}if(X(n)&&X(n.countries)){o=n;var d=t;if(!Ut.test(d)){throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits')}var r=at(d,undefined,undefined,undefined,o),i=r.countryCallingCode,s=r.number;n=s;t=i;if(!n){throw new Error("Invalid `number` argument passed: too short")}}
1424
+ if(t[0]==="+"&&!n){throw new TypeError("`metadata` argument not passed")}if(J(n)&&J(n.countries)){o=n;var d=t;if(!Gt.test(d)){throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits')}var r=st(d,undefined,undefined,undefined,o),i=r.countryCallingCode,s=r.number;n=s;t=i;if(!n){throw new Error("Invalid `number` argument passed: too short")}}
1426
1425
  // Validate `nationalNumber` argument.
1427
1426
  if(!n){throw new TypeError("`nationalNumber` argument is required")}if(typeof n!=="string"){throw new TypeError("`nationalNumber` argument must be a string")}
1428
1427
  // Validate `metadata` argument.
1429
- ve(o);
1428
+ pe(o);
1430
1429
  // Initialize properties.
1431
- var a=Pe(t,o),u=a.country,l=a.callingCode;this.country=u;this.countryCallingCode=l;this.nationalNumber=n;this.number="+"+this.countryCallingCode+this.nationalNumber;
1430
+ var a=Le(t,o),u=a.country,l=a.callingCode;this.country=u;this.countryCallingCode=l;this.nationalNumber=n;this.number="+"+this.countryCallingCode+this.nationalNumber;
1432
1431
  // Exclude `metadata` property output from `PhoneNumber.toString()`
1433
1432
  // so that it doesn't clutter the console output of Node.js.
1434
1433
  // Previously, when Node.js did `console.log(new PhoneNumber(...))`,
1435
1434
  // it would output the whole internal structure of the `metadata` object.
1436
- this.getMetadata=function(){return o}}return Ft(e,[{key:"setExt",value:function e(t){this.ext=t}},{key:"getPossibleCountries",value:function e(){if(this.country){return[this.country]}return Me(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function e(){return xe(this,{v2:true},this.getMetadata())}},{key:"isValid",value:function e(){return je(this,{v2:true},this.getMetadata())}},{key:"isNonGeographic",value:function e(){var t=new le(this.getMetadata());return t.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function e(t){return this.number===t.number&&this.ext===t.ext}
1435
+ this.getMetadata=function(){return o}}return _t(e,[{key:"setExt",value:function e(t){this.ext=t}},{key:"getPossibleCountries",value:function e(){if(this.country){return[this.country]}return Me(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function e(){return we(this,{v2:true},this.getMetadata())}},{key:"isValid",value:function e(){return Ae(this,{v2:true},this.getMetadata())}},{key:"isNonGeographic",value:function e(){var t=new ue(this.getMetadata());return t.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function e(t){return this.number===t.number&&this.ext===t.ext}
1437
1436
  // `validateLength()` method was originally meant to be an equivalent for `validatePhoneNumberLength()`.
1438
1437
 
1439
1438
  // Later, it became apparent that it's not really a true equivalent.
@@ -1461,33 +1460,33 @@ this.getMetadata=function(){return o}}return Ft(e,[{key:"setExt",value:function
1461
1460
  // return result
1462
1461
  // }
1463
1462
  // }
1464
- },{key:"getType",value:function e(){return Ie(this,{v2:true},this.getMetadata())}},{key:"format",value:function e(t,n){return St(this,t,n?Pt(Pt({},n),{},{v2:true}):{v2:true},this.getMetadata())}},{key:"formatNational",value:function e(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function e(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function e(t){return this.format("RFC3966",t)}}])}();var Ut=/^\+\d+$/;function Vt(e){"@babel/helpers - typeof";return Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(e)}function Kt(e,t,n){return Object.defineProperty(e,"prototype",{writable:false}),e}function Ht(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t=nn(t),Wt(e,Qt()?Reflect.construct(t,n||[],nn(e).constructor):t.apply(e,n))}function Wt(e,t){if(t&&("object"==Vt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Yt(e)}function Yt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}}),Object.defineProperty(e,"prototype",{writable:false}),t&&tn(e,t)}function Jt(e){var t="function"==typeof Map?new Map:void 0;return Jt=function e(n){if(null===n||!en(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Xt(n,arguments,nn(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:false,writable:true,configurable:true}}),tn(o,n)},Jt(e)}function Xt(e,t,n){if(Qt())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var d=new(e.bind.apply(e,o));return n&&tn(d,n.prototype),d}function Qt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qt=function t(){return!!e})()}function en(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}function tn(e,t){return tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tn(e,t)}function nn(e){return nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nn(e)}
1463
+ },{key:"getType",value:function e(){return Ne(this,{v2:true},this.getMetadata())}},{key:"format",value:function e(t,n){return Ct(this,t,n?Lt(Lt({},n),{},{v2:true}):{v2:true},this.getMetadata())}},{key:"formatNational",value:function e(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function e(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function e(t){return this.format("RFC3966",t)}}])}();var Gt=/^\+\d+$/;function Ut(e){"@babel/helpers - typeof";return Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ut(e)}function Vt(e,t,n){return Object.defineProperty(e,"prototype",{writable:false}),e}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ht(e,t,n){return t=tn(t),Zt(e,Xt()?Reflect.construct(t,n||[],tn(e).constructor):t.apply(e,n))}function Zt(e,t){if(t&&("object"==Ut(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Wt(e)}function Wt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}}),Object.defineProperty(e,"prototype",{writable:false}),t&&en(e,t)}function Yt(e){var t="function"==typeof Map?new Map:void 0;return Yt=function e(n){if(null===n||!Qt(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Jt(n,arguments,tn(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:false,writable:true,configurable:true}}),en(o,n)},Yt(e)}function Jt(e,t,n){if(Xt())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var d=new(e.bind.apply(e,o));return n&&en(d,n.prototype),d}function Xt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Xt=function t(){return!!e})()}function Qt(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}function en(e,t){return en=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},en(e,t)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tn(e)}
1465
1464
  // https://stackoverflow.com/a/46971044/970769
1466
1465
  // "Breaking changes in Typescript 2.1"
1467
1466
  // "Extending built-ins like Error, Array, and Map may no longer work."
1468
1467
  // "As a recommendation, you can manually adjust the prototype immediately after any super(...) calls."
1469
1468
  // https://github.com/Microsoft/TypeScript-wiki/blob/main/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
1470
- var on=function(e){function t(e){var n;Ht(this,t);n=Zt(this,t,[e]);
1469
+ var nn=function(e){function t(e){var n;Kt(this,t);n=Ht(this,t,[e]);
1471
1470
  // Set the prototype explicitly.
1472
1471
  // Any subclass of FooError will have to manually set the prototype as well.
1473
- Object.setPrototypeOf(n,t.prototype);n.name=n.constructor.name;return n}qt(t,e);return Kt(t)}(Jt(Error));
1472
+ Object.setPrototypeOf(n,t.prototype);n.name=n.constructor.name;return n}qt(t,e);return Vt(t)}(Yt(Error));
1474
1473
  // Regexp of all known extension prefixes used by different regions followed by
1475
1474
  // 1 or more valid digits, for use when parsing.
1476
- var dn=new RegExp("(?:"+vt()+")$","i");
1475
+ var on=new RegExp("(?:"+pt()+")$","i");
1477
1476
  // Strips any extension (as in, the part of the number dialled after the call is
1478
1477
  // connected, usually indicated with extn, ext, x or similar) from the end of
1479
1478
  // the number, and returns it.
1480
- function rn(e){var t=e.search(dn);if(t<0){return{}}
1479
+ function dn(e){var t=e.search(on);if(t<0){return{}}
1481
1480
  // If we find a potential extension, and the number preceding this is a viable
1482
1481
  // number, we assume it is an extension.
1483
- var n=e.slice(0,t);var o=e.match(dn);var d=1;while(d<o.length){if(o[d]){return{number:n,ext:o[d]}}d++}}function sn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=an(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function an(e,t){if(e){if("string"==typeof e)return un(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?un(e,t):void 0}}function un(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
1482
+ var n=e.slice(0,t);var o=e.match(on);var d=1;while(d<o.length){if(o[d]){return{number:n,ext:o[d]}}d++}}function rn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=sn(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sn(e,t){if(e){if("string"==typeof e)return an(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?an(e,t):void 0}}function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
1484
1483
  // These mappings map a character (key) to a specific digit that should
1485
1484
  // replace it for normalization purposes. Non-European digits that
1486
1485
  // may be used in phone numbers are mapped to a European equivalent.
1487
1486
 
1488
1487
  // E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.
1489
1488
 
1490
- var ln={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0",
1489
+ var un={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0",
1491
1490
  // Fullwidth digit 0
1492
1491
  "1":"1",
1493
1492
  // Fullwidth digit 1
@@ -1545,7 +1544,7 @@ var ln={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0",
1545
1544
  // Eastern-Arabic digit 7
1546
1545
  "۸":"8",
1547
1546
  // Eastern-Arabic digit 8
1548
- "۹":"9"};function $n(e){return ln[e]}
1547
+ "۹":"9"};function ln(e){return un[e]}
1549
1548
  /**
1550
1549
  * Parses phone number digits from a string.
1551
1550
  * Drops all punctuation leaving only digits.
@@ -1558,14 +1557,14 @@ var ln={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0",
1558
1557
  * parseDigits('8 (800) 555')
1559
1558
  * // Outputs '8800555'.
1560
1559
  * ```
1561
- */function fn(e){var t="";
1560
+ */function $n(e){var t="";
1562
1561
  // Using `.split('')` here instead of normal `for ... of`
1563
1562
  // because the importing application doesn't neccessarily include an ES6 polyfill.
1564
1563
  // The `.split('')` approach discards "exotic" UTF-8 characters
1565
1564
  // (the ones consisting of four bytes) but digits
1566
1565
  // (including non-European ones) don't fall into that range
1567
1566
  // so such "exotic" characters would be discarded anyway.
1568
- for(var n=sn(e.split("")),o;!(o=n()).done;){var d=o.value;var r=$n(d);if(r){t+=r}}return t}function cn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=hn(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hn(e,t){if(e){if("string"==typeof e)return pn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pn(e,t):void 0}}function pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
1567
+ for(var n=rn(e.split("")),o;!(o=n()).done;){var d=o.value;var r=ln(d);if(r){t+=r}}return t}function fn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=cn(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function cn(e,t){if(e){if("string"==typeof e)return hn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hn(e,t):void 0}}function hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
1569
1568
  /**
1570
1569
  * Parses phone number characters from a string.
1571
1570
  * Drops all punctuation leaving only digits and the leading `+` sign (if any).
@@ -1580,14 +1579,14 @@ for(var n=sn(e.split("")),o;!(o=n()).done;){var d=o.value;var r=$n(d);if(r){t+=r
1580
1579
  * // Outputs '+7800555'.
1581
1580
  * parseIncompletePhoneNumber('+7 800 555')
1582
1581
  * ```
1583
- */function vn(e){var t="";
1582
+ */function pn(e){var t="";
1584
1583
  // Using `.split('')` here instead of normal `for ... of`
1585
1584
  // because the importing application doesn't neccessarily include an ES6 polyfill.
1586
1585
  // The `.split('')` approach discards "exotic" UTF-8 characters
1587
1586
  // (the ones consisting of four bytes) but digits
1588
1587
  // (including non-European ones) don't fall into that range
1589
1588
  // so such "exotic" characters would be discarded anyway.
1590
- for(var n=cn(e.split("")),o;!(o=n()).done;){var d=o.value;t+=bn(d,t)||""}return t}
1589
+ for(var n=fn(e.split("")),o;!(o=n()).done;){var d=o.value;t+=vn(d,t)||""}return t}
1591
1590
  /**
1592
1591
  * Parses next character while parsing phone number digits (including a `+`)
1593
1592
  * from text: discards everything except `+` and digits, and `+` is only allowed
@@ -1598,40 +1597,40 @@ for(var n=cn(e.split("")),o;!(o=n()).done;){var d=o.value;t+=bn(d,t)||""}return
1598
1597
  * @param {string?} prevParsedCharacters - Previous parsed characters.
1599
1598
  * @param {function?} eventListener - An optional "on event" function.
1600
1599
  * @return {string?} The parsed character.
1601
- */function bn(e,t,n){
1600
+ */function vn(e,t,n){
1602
1601
  // Only allow a leading `+`.
1603
1602
  if(e==="+"){
1604
1603
  // If this `+` is not the first parsed character
1605
1604
  // then discard it.
1606
1605
  if(t){return}return"+"}
1607
1606
  // Allow digits.
1608
- return $n(e)}
1607
+ return ln(e)}
1609
1608
  // When phone numbers are written in `RFC3966` format — `"tel:+12133734253"` —
1610
1609
  // they can have their "calling code" part written separately in a `phone-context` parameter.
1611
1610
  // Example: `"tel:12133734253;phone-context=+1"`.
1612
1611
  // This function parses the full phone number from the local number and the `phone-context`
1613
1612
  // when the `phone-context` contains a `+` sign.
1614
- var yn="+";var mn="[\\-\\.\\(\\)]?";var gn="("+"["+De+"]"+"|"+mn+")";var zn="^"+"\\"+yn+gn+"*"+"["+De+"]"+gn+"*"+"$";
1613
+ var bn="+";var yn="[\\-\\.\\(\\)]?";var mn="("+"["+Be+"]"+"|"+yn+")";var gn="^"+"\\"+bn+mn+"*"+"["+Be+"]"+mn+"*"+"$";
1615
1614
  /**
1616
1615
  * Regular expression of valid global-number-digits for the phone-context
1617
1616
  * parameter, following the syntax defined in RFC3966.
1618
- */var wn=new RegExp(zn,"g");
1617
+ */var zn=new RegExp(gn,"g");
1619
1618
  // In this port of Google's library, we don't accept alpha characters in phone numbers.
1620
1619
  // const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS
1621
- var xn=De;var kn="["+xn+"]+((\\-)*["+xn+"])*";var Cn="a-zA-Z";var Sn="["+Cn+"]+((\\-)*["+xn+"])*";var On="^("+kn+"\\.)*"+Sn+"\\.?$";
1620
+ var wn=Be;var xn="["+wn+"]+((\\-)*["+wn+"])*";var kn="a-zA-Z";var Cn="["+kn+"]+((\\-)*["+wn+"])*";var Sn="^("+xn+"\\.)*"+Cn+"\\.?$";
1622
1621
  /**
1623
1622
  * Regular expression of valid domainname for the phone-context parameter,
1624
1623
  * following the syntax defined in RFC3966.
1625
- */var En=new RegExp(On,"g");var Nn="tel:";var In=";phone-context=";var An=";isub=";
1624
+ */var On=new RegExp(Sn,"g");var En="tel:";var Nn=";phone-context=";var In=";isub=";
1626
1625
  /**
1627
1626
  * Extracts the value of the phone-context parameter of `numberToExtractFrom`,
1628
1627
  * following the syntax defined in RFC3966.
1629
1628
  *
1630
1629
  * @param {string} numberToExtractFrom
1631
1630
  * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.
1632
- */function jn(e){var t=e.indexOf(In);
1631
+ */function An(e){var t=e.indexOf(Nn);
1633
1632
  // If no phone-context parameter is present
1634
- if(t<0){return null}var n=t+In.length;
1633
+ if(t<0){return null}var n=t+Nn.length;
1635
1634
  // If phone-context parameter is empty
1636
1635
  if(n>=e.length){return""}var o=e.indexOf(";",n);
1637
1636
  // If phone-context is not the last parameter
@@ -1641,33 +1640,33 @@ if(o>=0){return e.substring(n,o)}else{return e.substring(n)}}
1641
1640
  *
1642
1641
  * @param {string|null} phoneContext
1643
1642
  * @return {boolean}
1644
- */function Tn(e){if(e===null){return true}if(e.length===0){return false}
1643
+ */function jn(e){if(e===null){return true}if(e.length===0){return false}
1645
1644
  // Does phone-context value match pattern of global-number-digits or domainname.
1646
- return wn.test(e)||En.test(e)}
1645
+ return zn.test(e)||On.test(e)}
1647
1646
  /**
1648
1647
  * @param {string} numberToParse
1649
1648
  * @param {string} nationalNumber
1650
1649
  * @return {}
1651
- */function Ln(e,t){var n=t.extractFormattedPhoneNumber;var o=jn(e);if(!Tn(o)){throw new on("NOT_A_NUMBER")}var d;if(o===null){
1650
+ */function Tn(e,t){var n=t.extractFormattedPhoneNumber;var o=An(e);if(!jn(o)){throw new nn("NOT_A_NUMBER")}var d;if(o===null){
1652
1651
  // Extract a possible number from the string passed in.
1653
1652
  // (this strips leading characters that could not be the start of a phone number)
1654
1653
  d=n(e)||""}else{d="";
1655
1654
  // If the phone context contains a phone number prefix, we need to capture
1656
1655
  // it, whereas domains will be ignored.
1657
- if(o.charAt(0)===yn){d+=o}
1656
+ if(o.charAt(0)===bn){d+=o}
1658
1657
  // Now append everything between the "tel:" prefix and the phone-context.
1659
1658
  // This should include the national number, an optional extension or
1660
1659
  // isdn-subaddress component. Note we also handle the case when "tel:" is
1661
1660
  // missing, as we have seen in some of the phone number inputs.
1662
1661
  // In that case, we append everything from the beginning.
1663
- var r=e.indexOf(Nn);var i;
1662
+ var r=e.indexOf(En);var i;
1664
1663
  // RFC 3966 "tel:" prefix is preset at this stage because
1665
1664
  // `isPhoneContextValid()` requires it to be present.
1666
- /* istanbul ignore else */if(r>=0){i=r+Nn.length}else{i=0}var s=e.indexOf(In);d+=e.substring(i,s)}
1665
+ /* istanbul ignore else */if(r>=0){i=r+En.length}else{i=0}var s=e.indexOf(Nn);d+=e.substring(i,s)}
1667
1666
  // Delete the isdn-subaddress and everything after it if it is present.
1668
1667
  // Note extension won't appear at the same time with isdn-subaddress
1669
1668
  // according to paragraph 5.3 of the RFC3966 spec.
1670
- var a=d.indexOf(An);if(a>0){d=d.substring(0,a)}
1669
+ var a=d.indexOf(In);if(a>0){d=d.substring(0,a)}
1671
1670
  // If both phone context and isdn-subaddress are absent but other
1672
1671
  // parameters are present, the parameters are left in nationalNumber.
1673
1672
  // This is because we are concerned about deleting content from a potential
@@ -1680,13 +1679,13 @@ if(d!==""){return d}}
1680
1679
  // https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js
1681
1680
  // We don't allow input strings for parsing to be longer than 250 chars.
1682
1681
  // This prevents malicious input from consuming CPU.
1683
- var Pn=250;
1682
+ var Ln=250;
1684
1683
  // This consists of the plus symbol, digits, and arabic-indic digits.
1685
- var Mn=new RegExp("["+Ye+De+"]");
1684
+ var Mn=new RegExp("["+We+Be+"]");
1686
1685
  // Regular expression of trailing characters that we want to remove.
1687
1686
  // A trailing `#` is sometimes used when writing phone numbers with extensions in US.
1688
1687
  // Example: "+1 (645) 123 1234-910#" number has extension "910".
1689
- var _n=new RegExp("[^"+De+"#"+"]+$");
1688
+ var Pn=new RegExp("[^"+Be+"#"+"]+$");
1690
1689
  // Examples:
1691
1690
 
1692
1691
  // ```js
@@ -1712,22 +1711,22 @@ var _n=new RegExp("[^"+De+"#"+"]+$");
1712
1711
  */function Rn(e,t,n){
1713
1712
  // If assigning the `{}` default value is moved to the arguments above,
1714
1713
  // code coverage would decrease for some weird reason.
1715
- t=t||{};var o=new le(n);
1714
+ t=t||{};var o=new ue(n);
1716
1715
  // Validate `defaultCountry`.
1717
- if(t.defaultCountry&&!o.hasCountry(t.defaultCountry)){if(t.v2){throw new on("INVALID_COUNTRY")}throw new Error("Unknown country: ".concat(t.defaultCountry))}
1716
+ if(t.defaultCountry&&!o.hasCountry(t.defaultCountry)){if(t.v2){throw new nn("INVALID_COUNTRY")}throw new Error("Unknown country: ".concat(t.defaultCountry))}
1718
1717
  // Parse the phone number.
1719
- var d=Bn(e,t.v2,t.extract),r=d.number,i=d.ext,s=d.error;
1718
+ var d=Fn(e,t.v2,t.extract),r=d.number,i=d.ext,s=d.error;
1720
1719
  // If the phone number is not viable then return nothing.
1721
- if(!r){if(t.v2){if(s==="TOO_SHORT"){throw new on("TOO_SHORT")}throw new on("NOT_A_NUMBER")}return{}}var a=Gn(r,t.defaultCountry,t.defaultCallingCode,
1720
+ if(!r){if(t.v2){if(s==="TOO_SHORT"){throw new nn("TOO_SHORT")}throw new nn("NOT_A_NUMBER")}return{}}var a=Dn(r,t.defaultCountry,t.defaultCallingCode,
1722
1721
  // If `country` is returned, its numbering plan will also be selected in `metadata`.
1723
1722
  // Otherwise, if `countryCallingCode` is returned, its numbering plan will also be selected in `metadata`.
1724
1723
  // Otherwise, if neither `country` nor `countryCallingCode` are returned, no numbering plan will be selected in `metadata`.
1725
- o),u=a.country,l=a.nationalNumber,$=a.countryCallingCode,f=a.countryCallingCodeSource,c=a.carrierCode;if(!o.hasSelectedNumberingPlan()){if(t.v2){throw new on("INVALID_COUNTRY")}return{}}
1724
+ o),u=a.country,l=a.nationalNumber,$=a.countryCallingCode,f=a.countryCallingCodeSource,c=a.carrierCode;if(!o.hasSelectedNumberingPlan()){if(t.v2){throw new nn("INVALID_COUNTRY")}return{}}
1726
1725
  // Validate national (significant) number length.
1727
1726
  if(!l||l.length<Re){
1728
1727
  // Won't throw here because the regexp already demands length > 1.
1729
1728
  /* istanbul ignore if */
1730
- if(t.v2){throw new on("TOO_SHORT")}
1729
+ if(t.v2){throw new nn("TOO_SHORT")}
1731
1730
  // Google's demo just throws an error in this case.
1732
1731
  return{}}
1733
1732
  // Validate national (significant) number length.
@@ -1739,15 +1738,15 @@ return{}}
1739
1738
  // https://github.com/googlei18n/libphonenumber/blob/7e1748645552da39c4e1ba731e47969d97bdb539/resources/phonenumber.proto#L36
1740
1739
  // Such numbers will just be discarded.
1741
1740
 
1742
- if(l.length>Fe){if(t.v2){throw new on("TOO_LONG")}
1741
+ if(l.length>_e){if(t.v2){throw new nn("TOO_LONG")}
1743
1742
  // Google's demo just throws an error in this case.
1744
- return{}}if(t.v2){var h=new Gt($,l,o.metadata);if(u){h.country=u}if(c){h.carrierCode=c}if(i){h.ext=i}h.__countryCallingCodeSource=f;return h}
1743
+ return{}}if(t.v2){var h=new Dt($,l,o.metadata);if(u){h.country=u}if(c){h.carrierCode=c}if(i){h.ext=i}h.__countryCallingCodeSource=f;return h}
1745
1744
  // Check if national phone number pattern matches the number.
1746
1745
  // National number pattern is different for each country,
1747
1746
  // even for those ones which are part of the "NANPA" group.
1748
- var p=(t.extended?o.hasSelectedNumberingPlan():u)?Ce(l,o.nationalNumberPattern()):false;if(!t.extended){return p?Dn(u,l,i):{}}
1747
+ var p=(t.extended?o.hasSelectedNumberingPlan():u)?ke(l,o.nationalNumberPattern()):false;if(!t.extended){return p?Bn(u,l,i):{}}
1749
1748
  // isInternational: countryCallingCode !== undefined
1750
- return{country:u,countryCallingCode:$,carrierCode:c,valid:p,possible:p?true:t.extended===true&&o.possibleLengths()&&ke(l,o)?true:false,phone:l,ext:i}}
1749
+ return{country:u,countryCallingCode:$,carrierCode:c,valid:p,possible:p?true:t.extended===true&&o.possibleLengths()&&xe(l,o)?true:false,phone:l,ext:i}}
1751
1750
  /**
1752
1751
  * Extracts a formatted phone number from text.
1753
1752
  * Doesn't guarantee that the extracted phone number
@@ -1759,29 +1758,29 @@ return{country:u,countryCallingCode:$,carrierCode:c,valid:p,possible:p?true:t.ex
1759
1758
  * @example
1760
1759
  * // Returns "(213) 373-4253".
1761
1760
  * extractFormattedPhoneNumber("Call (213) 373-4253 for assistance.")
1762
- */function Fn(e,t,n){if(!e){return}if(e.length>Pn){if(n){throw new on("TOO_LONG")}return}if(t===false){return e}
1761
+ */function _n(e,t,n){if(!e){return}if(e.length>Ln){if(n){throw new nn("TOO_LONG")}return}if(t===false){return e}
1763
1762
  // Attempt to extract a possible number from the string passed in
1764
- var o=e.search(Mn);if(o<0){return}return e.slice(o).replace(_n,"")}
1763
+ var o=e.search(Mn);if(o<0){return}return e.slice(o).replace(Pn,"")}
1765
1764
  /**
1766
1765
  * @param {string} text - Input.
1767
1766
  * @param {boolean} v2 - Legacy API functions don't pass `v2: true` flag.
1768
1767
  * @param {boolean} [extract] - Whether to extract a phone number from `text`, or attempt to parse the entire text as a phone number.
1769
1768
  * @return {object} `{ ?number, ?ext }`.
1770
- */function Bn(e,t,n){
1769
+ */function Fn(e,t,n){
1771
1770
  // // Parse RFC 3966 phone number URI.
1772
1771
  // if (text && text.indexOf('tel:') === 0) {
1773
1772
  // return parseRFC3966(text)
1774
1773
  // }
1775
1774
  // let number = extractFormattedPhoneNumber(text, extract, v2)
1776
- var o=Ln(e,{extractFormattedPhoneNumber:function e(o){return Fn(o,n,t)}});
1775
+ var o=Tn(e,{extractFormattedPhoneNumber:function e(o){return _n(o,n,t)}});
1777
1776
  // If the phone number is not viable, then abort.
1778
- if(!o){return{}}if(!wt(o)){if(xt(o)){return{error:"TOO_SHORT"}}return{}}
1777
+ if(!o){return{}}if(!zt(o)){if(wt(o)){return{error:"TOO_SHORT"}}return{}}
1779
1778
  // Attempt to parse extension first, since it doesn't require region-specific
1780
1779
  // data and we want to have the non-normalised number here.
1781
- var d=rn(o);if(d.ext){return d}return{number:o}}
1780
+ var d=dn(o);if(d.ext){return d}return{number:o}}
1782
1781
  /**
1783
1782
  * Creates `parse()` result object.
1784
- */function Dn(e,t,n){var o={country:e,phone:t};if(n){o.ext=n}return o}
1783
+ */function Bn(e,t,n){var o={country:e,phone:t};if(n){o.ext=n}return o}
1785
1784
  /**
1786
1785
  * Parses a viable phone number.
1787
1786
  * @param {string} formattedPhoneNumber — Example: "(213) 373-4253".
@@ -1789,7 +1788,7 @@ var d=rn(o);if(d.ext){return d}return{number:o}}
1789
1788
  * @param {string} [defaultCallingCode]
1790
1789
  * @param {Metadata} metadata — Metadata instance with no pre-selected numbering plan. If `country` is returned, its numbering plan will also be selected in `metadata`. Otherwise, if `countryCallingCode` is returned, its numbering plan will also be selected in `metadata`. Otherwise, if neither `country` nor `countryCallingCode` are returned, no numbering plan will be selected in `metadata`.
1791
1790
  * @return {object} Returns `{ country: string?, countryCallingCode: string?, nationalNumber: string? }`.
1792
- */function Gn(e,t,n,o){
1791
+ */function Dn(e,t,n,o){
1793
1792
  // Attempt to extract a calling code from a phone number.
1794
1793
  // * If the phone number is found to be "international":
1795
1794
  // * It will attempt to identify the calling code part of it and whether that part is complete and valid.
@@ -1799,7 +1798,7 @@ var d=rn(o);if(d.ext){return d}return{number:o}}
1799
1798
  // it will return an empty object.
1800
1799
  // * Otherwise, i.e. if the phone number is national, there's no callind code to extract
1801
1800
  // so it will just return the originally-passed `number` string as the only property.
1802
- var d=at(vn(e),undefined,
1801
+ var d=st(pn(e),undefined,
1803
1802
  // `defaultCountry` and `defaultCallingCode` are only used to detect
1804
1803
  // if it's an "international" phone number or not. They won't be used
1805
1804
  // to derive the resulting `countryCallingCode` from them, or anything like that.
@@ -1816,7 +1815,7 @@ else if(s&&(t||n)){if(t){a=t;o.selectNumberingPlan(t);i=o.numberingPlan.callingC
1816
1815
 
1817
1816
  // Also, if `country` is defined, its numbering plan is selected in `metadata`.
1818
1817
  // Otherwise, the numering plan for the `countryCallingCode` is selected in `metadata`.
1819
- if(!s){return{countryCallingCodeSource:r,countryCallingCode:i}}var u=dt(vn(s),undefined,o),l=u.nationalNumber,$=u.carrierCode;
1818
+ if(!s){return{countryCallingCodeSource:r,countryCallingCode:i}}var u=ot(pn(s),undefined,o),l=u.nationalNumber,$=u.carrierCode;
1820
1819
  // Sometimes there are several countries
1821
1820
  // corresponding to the same country phone code
1822
1821
  // (e.g. NANPA countries all having `1` country phone code).
@@ -1827,28 +1826,28 @@ if(!s){return{countryCallingCodeSource:r,countryCallingCode:i}}var u=dt(vn(s),un
1827
1826
  // get their countries populated with the full set of
1828
1827
  // "phone number type" regular expressions.
1829
1828
 
1830
- var f=ot(i,{nationalNumber:l,metadata:o});if(f){a=f;
1831
- /* istanbul ignore if */if(f==="001");else{o.selectNumberingPlan(a)}}return{country:a,countryCallingCode:i,countryCallingCodeSource:r,nationalNumber:l,carrierCode:$}}function Un(e){"@babel/helpers - typeof";return Un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Un(e)}function Vn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vn(Object(n),true).forEach((function(t){Hn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hn(e,t,n){return(t=Zn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Zn(e){var t=Wn(e,"string");return"symbol"==Un(t)?t:t+""}function Wn(e,t){if("object"!=Un(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Un(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Yn(e,t,n){return Rn(e,Kn(Kn({},t),{},{v2:true}),n)}function qn(e){"@babel/helpers - typeof";return qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qn(e)}function Jn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),true).forEach((function(t){Qn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qn(e,t,n){return(t=eo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function eo(e){var t=to(e,"string");return"symbol"==qn(t)?t:t+""}function to(e,t){if("object"!=qn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=qn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function no(e,t){return ao(e)||so(e,t)||ro(e,t)||oo()}function oo(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ro(e,t){if(e){if("string"==typeof e)return io(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?io(e,t):void 0}}function io(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function so(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function ao(e){if(Array.isArray(e))return e}
1829
+ var f=nt(i,{nationalNumber:l,metadata:o});if(f){a=f;
1830
+ /* istanbul ignore if */if(f==="001");else{o.selectNumberingPlan(a)}}return{country:a,countryCallingCode:i,countryCallingCodeSource:r,nationalNumber:l,carrierCode:$}}function Gn(e){"@babel/helpers - typeof";return Gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn(e)}function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Un(Object(n),true).forEach((function(t){Kn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kn(e,t,n){return(t=Hn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Hn(e){var t=Zn(e,"string");return"symbol"==Gn(t)?t:t+""}function Zn(e,t){if("object"!=Gn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Gn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Wn(e,t,n){return Rn(e,Vn(Vn({},t),{},{v2:true}),n)}function qn(e){"@babel/helpers - typeof";return qn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qn(e)}function Yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(n),true).forEach((function(t){Xn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xn(e,t,n){return(t=Qn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Qn(e){var t=eo(e,"string");return"symbol"==qn(t)?t:t+""}function eo(e,t){if("object"!=qn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=qn(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function to(e,t){return so(e)||io(e,t)||oo(e,t)||no()}function no(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function oo(e,t){if(e){if("string"==typeof e)return ro(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ro(e,t):void 0}}function ro(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function io(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function so(e){if(Array.isArray(e))return e}
1832
1831
  // Extracts the following properties from function arguments:
1833
1832
  // * input `text`
1834
1833
  // * `options` object
1835
1834
  // * `metadata` JSON
1836
- function uo(e){var t=Array.prototype.slice.call(e),n=no(t,4),o=n[0],d=n[1],r=n[2],i=n[3];var s;var a;var u;
1835
+ function ao(e){var t=Array.prototype.slice.call(e),n=to(t,4),o=n[0],d=n[1],r=n[2],i=n[3];var s;var a;var u;
1837
1836
  // If the phone number is passed as a string.
1838
1837
  // `parsePhoneNumber('88005553535', ...)`.
1839
1838
  if(typeof o==="string"){s=o}else throw new TypeError("A text for parsing must be a string.");
1840
1839
  // If "default country" argument is being passed then move it to `options`.
1841
1840
  // `parsePhoneNumber('88005553535', 'RU', [options], metadata)`.
1842
- if(!d||typeof d==="string"){if(i){a=r;u=i}else{a=undefined;u=r}if(d){a=Xn({defaultCountry:d},a)}}
1841
+ if(!d||typeof d==="string"){if(i){a=r;u=i}else{a=undefined;u=r}if(d){a=Jn({defaultCountry:d},a)}}
1843
1842
  // `defaultCountry` is not passed.
1844
1843
  // Example: `parsePhoneNumber('+78005553535', [options], metadata)`.
1845
- else if(X(d)){if(r){a=d;u=r}else{u=d}}else throw new Error("Invalid second argument: ".concat(d));return{text:s,options:a,metadata:u}}function lo(e){"@babel/helpers - typeof";return lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lo(e)}function $o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(n),true).forEach((function(t){co(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function co(e,t,n){return(t=ho(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function ho(e){var t=po(e,"string");return"symbol"==lo(t)?t:t+""}function po(e,t){if("object"!=lo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=lo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function vo(e,t,n){
1844
+ else if(J(d)){if(r){a=d;u=r}else{u=d}}else throw new Error("Invalid second argument: ".concat(d));return{text:s,options:a,metadata:u}}function uo(e){"@babel/helpers - typeof";return uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uo(e)}function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),true).forEach((function(t){fo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fo(e,t,n){return(t=co(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function co(e){var t=ho(e,"string");return"symbol"==uo(t)?t:t+""}function ho(e,t){if("object"!=uo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=uo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function po(e,t,n){
1846
1845
  // Validate `defaultCountry`.
1847
- if(t&&t.defaultCountry&&!me(t.defaultCountry,n)){t=fo(fo({},t),{},{defaultCountry:undefined})}
1846
+ if(t&&t.defaultCountry&&!ye(t.defaultCountry,n)){t=$o($o({},t),{},{defaultCountry:undefined})}
1848
1847
  // Parse phone number.
1849
- try{return Yn(e,t,n)}catch(e){
1848
+ try{return Wn(e,t,n)}catch(e){
1850
1849
  /* istanbul ignore else */
1851
- if(e instanceof on);else{throw e}}}function bo(){var e=uo(arguments),t=e.text,n=e.options,o=e.metadata;return vo(t,n,o)}function yo(e){"@babel/helpers - typeof";return yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yo(e)}function mo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,wo(o.key),o)}}function zo(e,t,n){return t&&go(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function wo(e){var t=xo(e,"string");return"symbol"==yo(t)?t:t+""}function xo(e,t){if("object"!=yo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=yo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}
1850
+ if(e instanceof nn);else{throw e}}}function vo(){var e=ao(arguments),t=e.text,n=e.options,o=e.metadata;return po(t,n,o)}function bo(e){"@babel/helpers - typeof";return bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bo(e)}function yo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,zo(o.key),o)}}function go(e,t,n){return t&&mo(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function zo(e){var t=wo(e,"string");return"symbol"==bo(t)?t:t+""}function wo(e,t){if("object"!=bo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=bo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}
1852
1851
  // This "state" object simply holds the state of the "AsYouType" parser:
1853
1852
 
1854
1853
  // Sidenote:
@@ -1885,7 +1884,7 @@ if(e instanceof on);else{throw e}}}function bo(){var e=uo(arguments),t=e.text,n=
1885
1884
  // For example, when calling within Australia, one could prepend `1831` prefix to hide caller's phone number.
1886
1885
  // https://gitlab.com/catamphetamine/libphonenumber-js/-/blob/master/METADATA.md#national_prefix_for_parsing--national_prefix_transform_rule
1887
1886
 
1888
- var ko=function(){function e(t){var n=t.onCountryChange,o=t.onCallingCodeChange;mo(this,e);this.onCountryChange=n;this.onCallingCodeChange=o}return zo(e,[{key:"reset",value:function e(t){var n=t.country,o=t.callingCode;this.international=false;this.missingPlus=false;this.IDDPrefix=undefined;this.callingCode=undefined;this.digits="";this.resetNationalSignificantNumber();this.initCountryAndCallingCode(n,o)}},{key:"resetNationalSignificantNumber",value:function e(){this.nationalSignificantNumber=this.getNationalDigits();this.nationalSignificantNumberIsModified=false;this.nationalPrefix=undefined;this.carrierCode=undefined;this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=undefined}},{key:"update",value:function e(t){for(var n=0,o=Object.keys(t);n<o.length;n++){var d=o[n];this[d]=t[d]}}},{key:"initCountryAndCallingCode",value:function e(t,n){this.setCountry(t);this.setCallingCode(n)}},{key:"setCountry",value:function e(t){this.country=t;this.onCountryChange(t)}},{key:"setCallingCode",value:function e(t){this.callingCode=t;this.onCallingCodeChange(t,this.country)}},{key:"startInternationalNumber",value:function e(t,n){
1887
+ var xo=function(){function e(t){var n=t.onCountryChange,o=t.onCallingCodeChange;yo(this,e);this.onCountryChange=n;this.onCallingCodeChange=o}return go(e,[{key:"reset",value:function e(t){var n=t.country,o=t.callingCode;this.international=false;this.missingPlus=false;this.IDDPrefix=undefined;this.callingCode=undefined;this.digits="";this.resetNationalSignificantNumber();this.initCountryAndCallingCode(n,o)}},{key:"resetNationalSignificantNumber",value:function e(){this.nationalSignificantNumber=this.getNationalDigits();this.nationalSignificantNumberIsModified=false;this.nationalPrefix=undefined;this.carrierCode=undefined;this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=undefined}},{key:"update",value:function e(t){for(var n=0,o=Object.keys(t);n<o.length;n++){var d=o[n];this[d]=t[d]}}},{key:"initCountryAndCallingCode",value:function e(t,n){this.setCountry(t);this.setCallingCode(n)}},{key:"setCountry",value:function e(t){this.country=t;this.onCountryChange(t)}},{key:"setCallingCode",value:function e(t){this.callingCode=t;this.onCallingCodeChange(t,this.country)}},{key:"startInternationalNumber",value:function e(t,n){
1889
1888
  // Prepend the `+` to parsed input.
1890
1889
  this.international=true;
1891
1890
  // If a default country was set then reset it
@@ -1898,24 +1897,24 @@ this.initCountryAndCallingCode(t,n)}},{key:"appendDigits",value:function e(t){th
1898
1897
  * international prefix and the country calling code part
1899
1898
  * (if the number is an international one).
1900
1899
  * @return {string}
1901
- */},{key:"getNationalDigits",value:function e(){if(this.international){return this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0))}return this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function e(){if(this.international){if(this.IDDPrefix){return this.digits.slice(this.IDDPrefix.length)}}return this.digits}}])}();function Co(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=So(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function So(e,t){if(e){if("string"==typeof e)return Oo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oo(e,t):void 0}}function Oo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
1900
+ */},{key:"getNationalDigits",value:function e(){if(this.international){return this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0))}return this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function e(){if(this.international){if(this.IDDPrefix){return this.digits.slice(this.IDDPrefix.length)}}return this.digits}}])}();function ko(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Co(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Co(e,t){if(e){if("string"==typeof e)return So(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?So(e,t):void 0}}function So(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}
1902
1901
  // Should be the same as `DIGIT_PLACEHOLDER` in `libphonenumber-metadata-generator`.
1903
- var Eo="x";// '\u2008' (punctuation space)
1904
- var No=new RegExp(Eo);
1902
+ var Oo="x";// '\u2008' (punctuation space)
1903
+ var Eo=new RegExp(Oo);
1905
1904
  // Repeats a string (or a symbol) N times.
1906
1905
  // http://stackoverflow.com/questions/202605/repeat-string-javascript
1907
- function Io(e,t){if(t<1){return""}var n="";while(t>1){if(t&1){n+=e}t>>=1;e+=e}return n+e}function Ao(e,t){if(e[t]===")"){t++}return jo(e.slice(0,t))}function jo(e){var t=[];var n=0;while(n<e.length){if(e[n]==="("){t.push(n)}else if(e[n]===")"){t.pop()}n++}var o=0;var d="";t.push(e.length);for(var r=0,i=t;r<i.length;r++){var s=i[r];d+=e.slice(o,s);o=s+1}return d}function To(e,t,n){
1906
+ function No(e,t){if(t<1){return""}var n="";while(t>1){if(t&1){n+=e}t>>=1;e+=e}return n+e}function Io(e,t){if(e[t]===")"){t++}return Ao(e.slice(0,t))}function Ao(e){var t=[];var n=0;while(n<e.length){if(e[n]==="("){t.push(n)}else if(e[n]===")"){t.pop()}n++}var o=0;var d="";t.push(e.length);for(var r=0,i=t;r<i.length;r++){var s=i[r];d+=e.slice(o,s);o=s+1}return d}function jo(e,t,n){
1908
1907
  // Using `.split('')` to iterate through a string here
1909
1908
  // to avoid requiring `Symbol.iterator` polyfill.
1910
1909
  // `.split('')` is generally not safe for Unicode,
1911
1910
  // but in this particular case for `digits` it is safe.
1912
1911
  // for (const digit of digits)
1913
- for(var o=Co(n.split("")),d;!(d=o()).done;){var r=d.value;
1912
+ for(var o=ko(n.split("")),d;!(d=o()).done;){var r=d.value;
1914
1913
  // If there is room for more digits in current `template`,
1915
1914
  // then set the next digit in the `template`,
1916
1915
  // and return the formatted digits so far.
1917
1916
  // If more digits are entered than the current format could handle.
1918
- if(e.slice(t+1).search(No)<0){return}t=e.search(No);e=e.replace(No,r)}return[e,t]}function Lo(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=new RegExp("^(?:".concat(t.pattern(),")$"));if(r.test(e.nationalSignificantNumber)){return Mo(e,t,{shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:d})}}function Po(e,t){return ze(e,undefined,t)==="IS_POSSIBLE"}function Mo(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;
1917
+ if(e.slice(t+1).search(Eo)<0){return}t=e.search(Eo);e=e.replace(Eo,r)}return[e,t]}function To(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=new RegExp("^(?:".concat(t.pattern(),")$"));if(r.test(e.nationalSignificantNumber)){return Mo(e,t,{shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:d})}}function Lo(e,t){return ge(e,undefined,t)==="IS_POSSIBLE"}function Mo(e,t,n){var o=n.shouldTryNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;
1919
1918
  // Format the number with using `national_prefix_formatting_rule`.
1920
1919
  // If the resulting formatted number is a valid formatted number, then return it.
1921
1920
 
@@ -1926,9 +1925,9 @@ if(e.slice(t+1).search(No)<0){return}t=e.search(No);e=e.replace(No,r)}return[e,t
1926
1925
  // The reason is that "national prefix formatting rule" may use parentheses,
1927
1926
  // which wouldn't be included has it used the simpler Google's way.
1928
1927
 
1929
- if(o(t)){var r=_o(e,t,{useNationalPrefixFormattingRule:true,getSeparatorAfterNationalPrefix:d});if(r){return r}}
1928
+ if(o(t)){var r=Po(e,t,{useNationalPrefixFormattingRule:true,getSeparatorAfterNationalPrefix:d});if(r){return r}}
1930
1929
  // Format the number without using `national_prefix_formatting_rule`.
1931
- return _o(e,t,{useNationalPrefixFormattingRule:false,getSeparatorAfterNationalPrefix:d})}function _o(e,t,n){var o=n.useNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=$t(e.nationalSignificantNumber,t,{useInternationalFormat:e.international,withNationalPrefix:o});if(!o){if(e.nationalPrefix){
1930
+ return Po(e,t,{useNationalPrefixFormattingRule:false,getSeparatorAfterNationalPrefix:d})}function Po(e,t,n){var o=n.useNationalPrefixFormattingRule,d=n.getSeparatorAfterNationalPrefix;var r=lt(e.nationalSignificantNumber,t,{useInternationalFormat:e.international,withNationalPrefix:o});if(!o){if(e.nationalPrefix){
1932
1931
  // If a national prefix was extracted, then just prepend it,
1933
1932
  // followed by a " " character.
1934
1933
  r=e.nationalPrefix+d(t)+r}else if(e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix){r=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+r}}if(Ro(r,e)){return r}}
@@ -1961,14 +1960,14 @@ r=e.nationalPrefix+d(t)+r}else if(e.prefixBeforeNationalSignificantNumberThatIsN
1961
1960
  // https://github.com/google/libphonenumber/commit/3e7c1f04f5e7200f87fb131e6f85c6e99d60f510#diff-9149457fa9f5d608a11bb975c6ef4bc5
1962
1961
  // https://github.com/google/libphonenumber/commit/3ac88c7106e7dcb553bcc794b15f19185928a1c6#diff-2dcb77e833422ee304da348b905cde0b
1963
1962
 
1964
- function Ro(e,t){return fn(e)===t.getNationalDigits()}function Fo(e){"@babel/helpers - typeof";return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(e)}function Bo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Uo(o.key),o)}}function Go(e,t,n){return t&&Do(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Uo(e){var t=Vo(e,"string");return"symbol"==Fo(t)?t:t+""}function Vo(e,t){if("object"!=Fo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Fo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ko=function(){function e(){Bo(this,e)}return Go(e,[{key:"parse",value:function e(t){this.context=[{or:true,instructions:[]}];this.parsePattern(t);if(this.context.length!==1){throw new Error("Non-finalized contexts left when pattern parse ended")}var n=this.context[0],o=n.branches,d=n.instructions;if(o){return{op:"|",args:o.concat([Yo(d)])}}
1965
- /* istanbul ignore if */if(d.length===0){throw new Error("Pattern is required")}if(d.length===1){return d[0]}return d}},{key:"startContext",value:function e(t){this.context.push(t)}},{key:"endContext",value:function e(){this.context.pop()}},{key:"getContext",value:function e(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function e(t){if(!t){throw new Error("Pattern is required")}var n=t.match(Wo);if(!n){if(Zo.test(t)){throw new Error("Illegal characters found in a pattern: ".concat(t))}this.getContext().instructions=this.getContext().instructions.concat(t.split(""));return}var o=n[1];var d=t.slice(0,n.index);var r=t.slice(n.index+o.length);switch(o){case"(?:":if(d){this.parsePattern(d)}this.startContext({or:true,instructions:[],branches:[]});break;case")":if(!this.getContext().or){throw new Error('")" operator must be preceded by "(?:" operator')}if(d){this.parsePattern(d)}if(this.getContext().instructions.length===0){throw new Error('No instructions found after "|" operator in an "or" group')}var i=this.getContext(),s=i.branches;s.push(Yo(this.getContext().instructions));this.endContext();this.getContext().instructions.push({op:"|",args:s});break;case"|":if(!this.getContext().or){throw new Error('"|" operator can only be used inside "or" groups')}if(d){this.parsePattern(d)}
1963
+ function Ro(e,t){return $n(e)===t.getNationalDigits()}function _o(e){"@babel/helpers - typeof";return _o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_o(e)}function Fo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Go(o.key),o)}}function Do(e,t,n){return t&&Bo(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Go(e){var t=Uo(e,"string");return"symbol"==_o(t)?t:t+""}function Uo(e,t){if("object"!=_o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=_o(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Vo=function(){function e(){Fo(this,e)}return Do(e,[{key:"parse",value:function e(t){this.context=[{or:true,instructions:[]}];this.parsePattern(t);if(this.context.length!==1){throw new Error("Non-finalized contexts left when pattern parse ended")}var n=this.context[0],o=n.branches,d=n.instructions;if(o){return{op:"|",args:o.concat([Wo(d)])}}
1964
+ /* istanbul ignore if */if(d.length===0){throw new Error("Pattern is required")}if(d.length===1){return d[0]}return d}},{key:"startContext",value:function e(t){this.context.push(t)}},{key:"endContext",value:function e(){this.context.pop()}},{key:"getContext",value:function e(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function e(t){if(!t){throw new Error("Pattern is required")}var n=t.match(Zo);if(!n){if(Ho.test(t)){throw new Error("Illegal characters found in a pattern: ".concat(t))}this.getContext().instructions=this.getContext().instructions.concat(t.split(""));return}var o=n[1];var d=t.slice(0,n.index);var r=t.slice(n.index+o.length);switch(o){case"(?:":if(d){this.parsePattern(d)}this.startContext({or:true,instructions:[],branches:[]});break;case")":if(!this.getContext().or){throw new Error('")" operator must be preceded by "(?:" operator')}if(d){this.parsePattern(d)}if(this.getContext().instructions.length===0){throw new Error('No instructions found after "|" operator in an "or" group')}var i=this.getContext(),s=i.branches;s.push(Wo(this.getContext().instructions));this.endContext();this.getContext().instructions.push({op:"|",args:s});break;case"|":if(!this.getContext().or){throw new Error('"|" operator can only be used inside "or" groups')}if(d){this.parsePattern(d)}
1966
1965
  // The top-level is an implicit "or" group, if required.
1967
1966
  if(!this.getContext().branches){
1968
1967
  // `branches` are not defined only for the root implicit "or" operator.
1969
1968
  /* istanbul ignore else */
1970
- if(this.context.length===1){this.getContext().branches=[]}else{throw new Error('"branches" not found in an "or" group context')}}this.getContext().branches.push(Yo(this.getContext().instructions));this.getContext().instructions=[];break;case"[":if(d){this.parsePattern(d)}this.startContext({oneOfSet:true});break;case"]":if(!this.getContext().oneOfSet){throw new Error('"]" operator must be preceded by "[" operator')}this.endContext();this.getContext().instructions.push({op:"[]",args:Ho(d)});break;
1971
- /* istanbul ignore next */default:throw new Error("Unknown operator: ".concat(o))}if(r){this.parsePattern(r)}}}])}();function Ho(e){var t=[];var n=0;while(n<e.length){if(e[n]==="-"){if(n===0||n===e.length-1){throw new Error("Couldn't parse a one-of set pattern: ".concat(e))}var o=e[n-1].charCodeAt(0)+1;var d=e[n+1].charCodeAt(0)-1;var r=o;while(r<=d){t.push(String.fromCharCode(r));r++}}else{t.push(e[n])}n++}return t}var Zo=/[\(\)\[\]\?\:\|]/;var Wo=new RegExp(
1969
+ if(this.context.length===1){this.getContext().branches=[]}else{throw new Error('"branches" not found in an "or" group context')}}this.getContext().branches.push(Wo(this.getContext().instructions));this.getContext().instructions=[];break;case"[":if(d){this.parsePattern(d)}this.startContext({oneOfSet:true});break;case"]":if(!this.getContext().oneOfSet){throw new Error('"]" operator must be preceded by "[" operator')}this.endContext();this.getContext().instructions.push({op:"[]",args:Ko(d)});break;
1970
+ /* istanbul ignore next */default:throw new Error("Unknown operator: ".concat(o))}if(r){this.parsePattern(r)}}}])}();function Ko(e){var t=[];var n=0;while(n<e.length){if(e[n]==="-"){if(n===0||n===e.length-1){throw new Error("Couldn't parse a one-of set pattern: ".concat(e))}var o=e[n-1].charCodeAt(0)+1;var d=e[n+1].charCodeAt(0)-1;var r=o;while(r<=d){t.push(String.fromCharCode(r));r++}}else{t.push(e[n])}n++}return t}var Ho=/[\(\)\[\]\?\:\|]/;var Zo=new RegExp(
1972
1971
  // any of:
1973
1972
  "("+
1974
1973
  // or operator
@@ -1988,7 +1987,7 @@ if(this.context.length===1){this.getContext().branches=[]}else{throw new Error('
1988
1987
  // or
1989
1988
  "|"+
1990
1989
  // one-of set end
1991
- "\\]"+")");function Yo(e){if(e.length===1){return e[0]}return e}function qo(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Jo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jo(e,t){if(e){if("string"==typeof e)return Xo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xo(e,t):void 0}}function Xo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Qo(e){"@babel/helpers - typeof";return Qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qo(e)}function ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function td(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,od(o.key),o)}}function nd(e,t,n){return t&&td(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function od(e){var t=dd(e,"string");return"symbol"==Qo(t)?t:t+""}function dd(e,t){if("object"!=Qo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Qo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rd=function(){function e(t){ed(this,e);this.matchTree=(new Ko).parse(t)}return nd(e,[{key:"match",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},o=n.allowOverflow;if(!t){throw new Error("String is required")}var d=id(t.split(""),this.matchTree,true);if(d&&d.match){delete d.matchedChars}if(d&&d.overflow){if(!o){return}}return d}}])}();function id(e,t,n){
1990
+ "\\]"+")");function Wo(e){if(e.length===1){return e[0]}return e}function qo(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Yo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yo(e,t){if(e){if("string"==typeof e)return Jo(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jo(e,t):void 0}}function Jo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Xo(e){"@babel/helpers - typeof";return Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xo(e)}function Qo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ed(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,nd(o.key),o)}}function td(e,t,n){return t&&ed(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function nd(e){var t=od(e,"string");return"symbol"==Xo(t)?t:t+""}function od(e,t){if("object"!=Xo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Xo(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var dd=function(){function e(t){Qo(this,e);this.matchTree=(new Vo).parse(t)}return td(e,[{key:"match",value:function e(t){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},o=n.allowOverflow;if(!t){throw new Error("String is required")}var d=rd(t.split(""),this.matchTree,true);if(d&&d.match){delete d.matchedChars}if(d&&d.overflow){if(!o){return}}return d}}])}();function rd(e,t,n){
1992
1991
  // If `tree` is a string, then `tree` is a single character.
1993
1992
  // That's because when a pattern is parsed, multi-character-string parts
1994
1993
  // of a pattern are compiled into arrays of single characters.
@@ -2013,41 +2012,41 @@ if(e.length===t.length){return{match:true,matchedChars:e}}
2013
2012
  // that the `if (tree.indexOf(characterString) === 0)` condition before this
2014
2013
  // `if` condition would be entered, and returned from there, not reaching this code.
2015
2014
  /* istanbul ignore else */
2016
- if(e.length>t.length){return{overflow:true}}}return{match:true,matchedChars:e.slice(0,t.length)}}return}if(Array.isArray(t)){var d=e.slice();var r=0;while(r<t.length){var i=t[r];var s=id(d,i,n&&r===t.length-1);if(!s){return}else if(s.overflow){return s}else if(s.match){
2015
+ if(e.length>t.length){return{overflow:true}}}return{match:true,matchedChars:e.slice(0,t.length)}}return}if(Array.isArray(t)){var d=e.slice();var r=0;while(r<t.length){var i=t[r];var s=rd(d,i,n&&r===t.length-1);if(!s){return}else if(s.overflow){return s}else if(s.match){
2017
2016
  // Continue with the next subtree with the rest of the characters.
2018
2017
  d=d.slice(s.matchedChars.length);if(d.length===0){if(r===t.length-1){return{match:true,matchedChars:e}}else{return{partialMatch:true}}}}else{
2019
2018
  /* istanbul ignore else */
2020
2019
  if(s.partialMatch){return{partialMatch:true}}else{throw new Error("Unsupported match result:\n".concat(JSON.stringify(s,null,2)))}}r++}
2021
2020
  // If `last` then overflow has already been checked
2022
2021
  // by the last element of the `tree` array.
2023
- /* istanbul ignore if */if(n){return{overflow:true}}return{match:true,matchedChars:e.slice(0,e.length-d.length)}}switch(t.op){case"|":var a;for(var u=qo(t.args),l;!(l=u()).done;){var $=l.value;var f=id(e,$,n);if(f){if(f.overflow){return f}else if(f.match){return{match:true,matchedChars:f.matchedChars}}else{
2022
+ /* istanbul ignore if */if(n){return{overflow:true}}return{match:true,matchedChars:e.slice(0,e.length-d.length)}}switch(t.op){case"|":var a;for(var u=qo(t.args),l;!(l=u()).done;){var $=l.value;var f=rd(e,$,n);if(f){if(f.overflow){return f}else if(f.match){return{match:true,matchedChars:f.matchedChars}}else{
2024
2023
  /* istanbul ignore else */
2025
2024
  if(f.partialMatch){a=true}else{throw new Error("Unsupported match result:\n".concat(JSON.stringify(f,null,2)))}}}}if(a){return{partialMatch:true}}
2026
2025
  // Not even a partial match.
2027
2026
  return;case"[]":for(var c=qo(t.args),h;!(h=c()).done;){var p=h.value;if(e[0]===p){if(e.length===1){return{match:true,matchedChars:e}}if(n){return{overflow:true}}return{match:true,matchedChars:[p]}}}
2028
2027
  // No character matches.
2029
2028
  return;
2030
- /* istanbul ignore next */default:throw new Error("Unsupported instruction tree: ".concat(t))}}function sd(e){"@babel/helpers - typeof";return sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sd(e)}function ad(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=ud(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ud(e,t){if(e){if("string"==typeof e)return ld(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ld(e,t):void 0}}function ld(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function $d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fd(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,hd(o.key),o)}}function cd(e,t,n){return t&&fd(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function hd(e){var t=pd(e,"string");return"symbol"==sd(t)?t:t+""}function pd(e,t){if("object"!=sd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=sd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}
2029
+ /* istanbul ignore next */default:throw new Error("Unsupported instruction tree: ".concat(t))}}function id(e){"@babel/helpers - typeof";return id="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},id(e)}function sd(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=ad(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:true}:{done:false,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ad(e,t){if(e){if("string"==typeof e)return ud(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ud(e,t):void 0}}function ud(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ld(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,cd(o.key),o)}}function fd(e,t,n){return t&&$d(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function cd(e){var t=hd(e,"string");return"symbol"==id(t)?t:t+""}function hd(e,t){if("object"!=id(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=id(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}
2031
2030
  // Used in phone number format template creation.
2032
2031
  // Could be any digit, I guess.
2033
- var vd="9";
2032
+ var pd="9";
2034
2033
  // I don't know why is it exactly `15`
2035
- var bd=15;
2034
+ var vd=15;
2036
2035
  // Create a phone number consisting only of the digit 9 that matches the
2037
2036
  // `number_pattern` by applying the pattern to the "longest phone number" string.
2038
- var yd=Io(vd,bd);
2037
+ var bd=No(pd,vd);
2039
2038
  // A set of characters that, if found in a national prefix formatting rules, are an indicator to
2040
2039
  // us that we should separate the national prefix from the number when formatting.
2041
- var md=/[- ]/;
2040
+ var yd=/[- ]/;
2042
2041
  // A pattern that is used to match character classes in regular expressions.
2043
2042
  // An example of a character class is "[1-4]".
2044
- var gd=function(){return/\[([^\[\]])*\]/g};
2043
+ var md=function(){return/\[([^\[\]])*\]/g};
2045
2044
  // Any digit in a regular expression that actually denotes a digit. For
2046
2045
  // example, in the regular expression "80[0-2]\d{6,10}", the first 2 digits
2047
2046
  // (8 and 0) are standalone digits, but the rest are not.
2048
2047
  // Two look-aheads are needed because the number following \\d could be a
2049
2048
  // two-digit number, since the phone number can be as long as 15 digits.
2050
- var zd=function(){return/\d(?=[^,}][^,}])/g};
2049
+ var gd=function(){return/\d(?=[^,}][^,}])/g};
2051
2050
  // A regular expression that is used to determine if a `format` is
2052
2051
  // suitable to be used in the "as you type formatter".
2053
2052
  // A `format` is suitable when the resulting formatted number has
@@ -2082,15 +2081,15 @@ var zd=function(){return/\d(?=[^,}][^,}])/g};
2082
2081
  // This regular expression is called `ELIGIBLE_FORMAT_PATTERN` in Google's
2083
2082
  // `libphonenumber` code.
2084
2083
 
2085
- var wd=new RegExp("["+We+"]*"+
2084
+ var zd=new RegExp("["+Ze+"]*"+
2086
2085
  // Google developers say:
2087
2086
  // "We require that the first matching group is present in the
2088
2087
  // output pattern to ensure no data is lost while formatting."
2089
- "\\$1"+"["+We+"]*"+"(\\$\\d["+We+"]*)*"+"$");
2088
+ "\\$1"+"["+Ze+"]*"+"(\\$\\d["+Ze+"]*)*"+"$");
2090
2089
  // This is the minimum length of the leading digits of a phone number
2091
2090
  // to guarantee the first "leading digits pattern" for a phone number format
2092
2091
  // to be preemptive.
2093
- var xd=3;var kd=function(){function e(t){var n=t.metadata;$d(this,e);this.metadata=n;this.resetFormat()}return cd(e,[{key:"resetFormat",value:function e(){this.chosenFormat=undefined;this.template=undefined;this.nationalNumberTemplate=undefined;this.populatedNationalNumberTemplate=undefined;this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function e(t,n){this.resetFormat();if(t){this.isNANP=t.callingCode()==="1";this.matchingFormats=t.formats();if(n.nationalSignificantNumber){this.narrowDownMatchingFormats(n)}}else{this.isNANP=undefined;this.matchingFormats=[]}}
2092
+ var wd=3;var xd=function(){function e(t){var n=t.metadata;ld(this,e);this.metadata=n;this.resetFormat()}return fd(e,[{key:"resetFormat",value:function e(){this.chosenFormat=undefined;this.template=undefined;this.nationalNumberTemplate=undefined;this.populatedNationalNumberTemplate=undefined;this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function e(t,n){this.resetFormat();if(t){this.isNANP=t.callingCode()==="1";this.matchingFormats=t.formats();if(n.nationalSignificantNumber){this.narrowDownMatchingFormats(n)}}else{this.isNANP=undefined;this.matchingFormats=[]}}
2094
2093
  /**
2095
2094
  * Formats an updated phone number.
2096
2095
  * @param {string} nextDigits — Additional phone number digits.
@@ -2111,10 +2110,10 @@ var xd=3;var kd=function(){function e(t){var n=t.metadata;$d(this,e);this.metada
2111
2110
  // If so, we should use this instead of any other formatting template
2112
2111
  // whose leadingDigitsPattern also matches the input."
2113
2112
 
2114
- if(Po(n.nationalSignificantNumber,this.metadata)){for(var d=ad(this.matchingFormats),r;!(r=d()).done;){var i=r.value;var s=Lo(n,i,{shouldTryNationalPrefixFormattingRule:function e(t){return o.shouldTryNationalPrefixFormattingRule(t,{international:n.international,nationalPrefix:n.nationalPrefix})},getSeparatorAfterNationalPrefix:function e(t){return o.getSeparatorAfterNationalPrefix(t)}});if(s){this.resetFormat();this.chosenFormat=i;this.setNationalNumberTemplate(s.replace(/\d/g,Eo),n);this.populatedNationalNumberTemplate=s;
2113
+ if(Lo(n.nationalSignificantNumber,this.metadata)){for(var d=sd(this.matchingFormats),r;!(r=d()).done;){var i=r.value;var s=To(n,i,{shouldTryNationalPrefixFormattingRule:function e(t){return o.shouldTryNationalPrefixFormattingRule(t,{international:n.international,nationalPrefix:n.nationalPrefix})},getSeparatorAfterNationalPrefix:function e(t){return o.getSeparatorAfterNationalPrefix(t)}});if(s){this.resetFormat();this.chosenFormat=i;this.setNationalNumberTemplate(s.replace(/\d/g,Oo),n);this.populatedNationalNumberTemplate=s;
2115
2114
  // With a new formatting template, the matched position
2116
2115
  // using the old template needs to be reset.
2117
- this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(Eo);return s}}}
2116
+ this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(Oo);return s}}}
2118
2117
  // Format the digits as a partial (incomplete) phone number
2119
2118
  // using the previously chosen formatting pattern (or a newly chosen one).
2120
2119
  return this.formatNationalNumberWithNextDigits(t,n)}
@@ -2142,7 +2141,7 @@ return this.formatNextNationalNumberDigits(n.getNationalDigits())}}}},{key:"narr
2142
2141
  // even if the user has entered less than
2143
2142
  // `MIN_LEADING_DIGITS_LENGTH` digits of a national number.
2144
2143
  // Because some leading digit patterns already match for a single first digit.
2145
- var s=i.length-xd;if(s<0){s=0}this.matchingFormats=this.matchingFormats.filter((function(e){return n.formatSuits(e,r,d)&&n.formatMatches(e,i,s)}));
2144
+ var s=i.length-wd;if(s<0){s=0}this.matchingFormats=this.matchingFormats.filter((function(e){return n.formatSuits(e,r,d)&&n.formatMatches(e,i,s)}));
2146
2145
  // If there was a phone number format chosen
2147
2146
  // and it no longer holds given the new leading digits then reset it.
2148
2147
  // The test for this `if` condition is marked as:
@@ -2204,11 +2203,11 @@ o=Math.min(o,d-1);var r=t.leadingDigitsPatterns()[o];
2204
2203
  // even when there's only 1 or 2 digits of the national (significant) number.
2205
2204
  // To do that, it uses a non-strict pattern matcher written specifically for that.
2206
2205
 
2207
- if(n.length<xd){
2206
+ if(n.length<wd){
2208
2207
  // Before leading digits < 3 matching was implemented:
2209
2208
  // return true
2210
2209
  // After leading digits < 3 matching was implemented:
2211
- try{return new rd(r).match(n,{allowOverflow:true})!==undefined}catch(e){
2210
+ try{return new dd(r).match(n,{allowOverflow:true})!==undefined}catch(e){
2212
2211
  // There's a slight possibility that there could be some undiscovered bug
2213
2212
  // in the pattern matcher code. Since the "leading digits < 3 matching"
2214
2213
  // feature is not "essential" for operation, it can fall back to the old way
@@ -2263,7 +2262,7 @@ if(n.chosenFormat===o){return 0;// break
2263
2262
  // it's a logical thing in the modern age of mobile phones,
2264
2263
  // globalization and the internet.
2265
2264
 
2266
- /* istanbul ignore if */if(!wd.test(n.getFormatFormat(o,t.international))){return 1;// continue
2265
+ /* istanbul ignore if */if(!zd.test(n.getFormatFormat(o,t.international))){return 1;// continue
2267
2266
  }if(!n.createTemplateForFormat(o,t)){
2268
2267
  // Remove the format if it can't generate a template.
2269
2268
  n.matchingFormats=n.matchingFormats.filter((function(e){return e!==o}));return 1;// continue
@@ -2283,7 +2282,7 @@ n.matchingFormats=n.matchingFormats.filter((function(e){return e!==o}));return 1
2283
2282
  // It doesn't skip the contents of the `for of` loop,
2284
2283
  // it just skips the `for of` line.
2285
2284
 
2286
- /* istanbul ignore next */for(var r=ad(this.matchingFormats.slice()),i;!(i=r()).done;){d=o();if(d===0)break;if(d===1)continue}if(!this.chosenFormat){
2285
+ /* istanbul ignore next */for(var r=sd(this.matchingFormats.slice()),i;!(i=r()).done;){d=o();if(d===0)break;if(d===1)continue}if(!this.chosenFormat){
2287
2286
  // No format matches the national (significant) phone number.
2288
2287
  this.resetFormat()}return this.chosenFormat}},{key:"createTemplateForFormat",value:function e(t,n){
2289
2288
  // The formatter doesn't format numbers when numberPattern contains '|', e.g.
@@ -2306,7 +2305,7 @@ if(this.isNANP){return" "}
2306
2305
  // and that rule has a separator after a national prefix,
2307
2306
  // then it means that there should be a separator
2308
2307
  // between a national prefix and a national (significant) number.
2309
- if(t&&t.nationalPrefixFormattingRule()&&md.test(t.nationalPrefixFormattingRule())){return" "}
2308
+ if(t&&t.nationalPrefixFormattingRule()&&yd.test(t.nationalPrefixFormattingRule())){return" "}
2310
2309
  // At this point, there seems to be no clear evidence that
2311
2310
  // there should be a separator between a national prefix
2312
2311
  // and a national (significant) number. So don't insert one.
@@ -2314,7 +2313,7 @@ return""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function
2314
2313
  // `this.template` holds the template for a "complete" phone number.
2315
2314
  // The currently entered phone number is most likely not "complete",
2316
2315
  // so trim all non-populated digits.
2317
- var n=-1;var o=0;var d=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:false}):"";while(o<d.length+t.getDigitsWithoutInternationalPrefix().length){n=this.template.indexOf(Eo,n+1);o++}return Ao(this.template,n+1)}},{key:"setNationalNumberTemplate",value:function e(t,n){this.nationalNumberTemplate=t;this.populatedNationalNumberTemplate=t;
2316
+ var n=-1;var o=0;var d=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:false}):"";while(o<d.length+t.getDigitsWithoutInternationalPrefix().length){n=this.template.indexOf(Oo,n+1);o++}return Io(this.template,n+1)}},{key:"setNationalNumberTemplate",value:function e(t,n){this.nationalNumberTemplate=t;this.populatedNationalNumberTemplate=t;
2318
2317
  // With a new formatting template, the matched position
2319
2318
  // using the old template needs to be reset.
2320
2319
  this.populatedNationalNumberTemplatePosition=-1;
@@ -2323,7 +2322,7 @@ this.populatedNationalNumberTemplatePosition=-1;
2323
2322
  // if the phone number being input is international:
2324
2323
  // 'x' for the '+' sign, 'x'es for the country phone code,
2325
2324
  // a spacebar and then the template for the formatted national number.
2326
- if(n.international){this.template=this.getInternationalPrefixBeforeCountryCallingCode(n).replace(/[\d\+]/g,Eo)+Io(Eo,n.callingCode.length)+" "+t}else{this.template=t}}
2325
+ if(n.international){this.template=this.getInternationalPrefixBeforeCountryCallingCode(n).replace(/[\d\+]/g,Oo)+No(Oo,n.callingCode.length)+" "+t}else{this.template=t}}
2327
2326
  /**
2328
2327
  * Generates formatting template for a national phone number,
2329
2328
  * optionally containing a national prefix, for a format.
@@ -2331,7 +2330,7 @@ if(n.international){this.template=this.getInternationalPrefixBeforeCountryCallin
2331
2330
  * @param {string} nationalPrefix
2332
2331
  * @return {string}
2333
2332
  */},{key:"getTemplateForFormat",value:function e(t,n){var o=n.nationalSignificantNumber,d=n.international,r=n.nationalPrefix,i=n.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix;var s=t.pattern();
2334
- /* istanbul ignore else */{s=s.replace(gd(),"\\d").replace(zd(),"\\d")}
2333
+ /* istanbul ignore else */{s=s.replace(md(),"\\d").replace(gd(),"\\d")}
2335
2334
  // Generate a dummy national number (consisting of `9`s)
2336
2335
  // that fits this format's `pattern`.
2337
2336
 
@@ -2340,7 +2339,7 @@ if(n.international){this.template=this.getInternationalPrefixBeforeCountryCallin
2340
2339
  // has enough length to accomodate any possible
2341
2340
  // national phone number format pattern.
2342
2341
 
2343
- var a=yd.match(s)[0];
2342
+ var a=bd.match(s)[0];
2344
2343
  // If the national number entered is too long
2345
2344
  // for any phone number format, then abort.
2346
2345
  if(o.length>a.length){return}
@@ -2373,7 +2372,7 @@ if(o.length>a.length){return}
2373
2372
  // The fix is, if `this.nationalSignificantNumber` has already sufficient length
2374
2373
  // to satisfy the `pattern` completely then `this.nationalSignificantNumber`
2375
2374
  // is used instead of `digits`.
2376
- var u=new RegExp("^"+s+"$");var l=o.replace(/\d/g,vd);
2375
+ var u=new RegExp("^"+s+"$");var l=o.replace(/\d/g,pd);
2377
2376
  // If `this.nationalSignificantNumber` has already sufficient length
2378
2377
  // to satisfy the `pattern` completely then use it
2379
2378
  // instead of `digits`.
@@ -2385,7 +2384,7 @@ if(u.test(l)){a=l}var $=this.getFormatFormat(t,d);var f;
2385
2384
  // If that's the case, then use the `format` with the national prefix formatting rule.
2386
2385
  // Otherwise, use the `format` without the national prefix formatting rule,
2387
2386
  // and prepend a national prefix manually to it.
2388
- if(this.shouldTryNationalPrefixFormattingRule(t,{international:d,nationalPrefix:r})){var c=$.replace(lt,t.nationalPrefixFormattingRule());
2387
+ if(this.shouldTryNationalPrefixFormattingRule(t,{international:d,nationalPrefix:r})){var c=$.replace(ut,t.nationalPrefixFormattingRule());
2389
2388
  // If `national_prefix_formatting_rule` of a `format` simply prepends
2390
2389
  // national prefix at the start of a national (significant) number,
2391
2390
  // then such formatting can be used with `AsYouType` formatter.
@@ -2393,25 +2392,25 @@ if(this.shouldTryNationalPrefixFormattingRule(t,{international:d,nationalPrefix:
2393
2392
  // national prefix formatting rule is national prefix + $1,
2394
2393
  // or `($1)`, in which case such format isn't even considered
2395
2394
  // when the user has input a national prefix.
2396
- /* istanbul ignore else */if(fn(t.nationalPrefixFormattingRule())===(r||"")+fn("$1")){$=c;f=true;
2395
+ /* istanbul ignore else */if($n(t.nationalPrefixFormattingRule())===(r||"")+$n("$1")){$=c;f=true;
2397
2396
  // Replace all digits of the national prefix in the formatting template
2398
2397
  // with `DIGIT_PLACEHOLDER`s.
2399
- if(r){var h=r.length;while(h>0){$=$.replace(/\d/,Eo);h--}}}}
2398
+ if(r){var h=r.length;while(h>0){$=$.replace(/\d/,Oo);h--}}}}
2400
2399
  // Generate formatting template for this phone number format.
2401
- var p=a.replace(new RegExp(s),$).replace(new RegExp(vd,"g"),Eo);
2400
+ var p=a.replace(new RegExp(s),$).replace(new RegExp(pd,"g"),Oo);
2402
2401
  // If a prefix of a national (significant) number is not as simple
2403
2402
  // as just a basic national prefix, then just prepend such prefix
2404
2403
  // before the national (significant) number, optionally spacing
2405
2404
  // the two with a whitespace.
2406
2405
  if(!f){if(i){
2407
2406
  // Prepend the prefix to the template manually.
2408
- p=Io(Eo,i.length)+" "+p}else if(r){
2407
+ p=No(Oo,i.length)+" "+p}else if(r){
2409
2408
  // Prepend national prefix to the template manually.
2410
- p=Io(Eo,r.length)+this.getSeparatorAfterNationalPrefix(t)+p}}if(d){p=ut(p)}return p}},{key:"formatNextNationalNumberDigits",value:function e(t){var n=To(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(!n){
2409
+ p=No(Oo,r.length)+this.getSeparatorAfterNationalPrefix(t)+p}}if(d){p=at(p)}return p}},{key:"formatNextNationalNumberDigits",value:function e(t){var n=jo(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(!n){
2411
2410
  // Reset the format.
2412
2411
  this.resetFormat();return}this.populatedNationalNumberTemplate=n[0];this.populatedNationalNumberTemplatePosition=n[1];
2413
2412
  // Return the formatted phone number so far.
2414
- return Ao(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);
2413
+ return Io(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);
2415
2414
  // The old way which was good for `input-format` but is not so good
2416
2415
  // for `react-phone-number-input`'s default input (`InputBasic`).
2417
2416
  // return closeNonPairedParens(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1)
@@ -2420,11 +2419,11 @@ return Ao(this.populatedNationalNumberTemplate,this.populatedNationalNumberTempl
2420
2419
  // In some countries, `national_prefix_formatting_rule` is `($1)`,
2421
2420
  // so it applies even if the user hasn't input a national prefix.
2422
2421
  // `format.usesNationalPrefix()` detects such cases.
2423
- var r=t.usesNationalPrefix();if(r&&d||!r&&!o){return true}}}}])}();function Cd(e){"@babel/helpers - typeof";return Cd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cd(e)}function Sd(e,t){return Ad(e)||Id(e,t)||Ed(e,t)||Od()}function Od(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ed(e,t){if(e){if("string"==typeof e)return Nd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nd(e,t):void 0}}function Nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Id(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Ad(e){if(Array.isArray(e))return e}function jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Td(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Pd(o.key),o)}}function Ld(e,t,n){return t&&Td(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Pd(e){var t=Md(e,"string");return"symbol"==Cd(t)?t:t+""}function Md(e,t){if("object"!=Cd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Cd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var _d="["+We+De+"]+";var Rd=new RegExp("^"+_d+"$","i");var Fd="(?:"+"["+Ye+"]"+"["+We+De+"]*"+"|"+"["+We+De+"]+"+")";var Bd=new RegExp("[^"+We+De+"]+"+".*"+"$");
2422
+ var r=t.usesNationalPrefix();if(r&&d||!r&&!o){return true}}}}])}();function kd(e){"@babel/helpers - typeof";return kd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kd(e)}function Cd(e,t){return Id(e)||Nd(e,t)||Od(e,t)||Sd()}function Sd(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Od(e,t){if(e){if("string"==typeof e)return Ed(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ed(e,t):void 0}}function Ed(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Nd(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Id(e){if(Array.isArray(e))return e}function Ad(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jd(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,Ld(o.key),o)}}function Td(e,t,n){return t&&jd(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Ld(e){var t=Md(e,"string");return"symbol"==kd(t)?t:t+""}function Md(e,t){if("object"!=kd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=kd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Pd="["+Ze+Be+"]+";var Rd=new RegExp("^"+Pd+"$","i");var _d="(?:"+"["+We+"]"+"["+Ze+Be+"]*"+"|"+"["+Ze+Be+"]+"+")";var Fd=new RegExp("[^"+Ze+Be+"]+"+".*"+"$");
2424
2423
  // Tests whether `national_prefix_for_parsing` could match
2425
2424
  // different national prefixes.
2426
2425
  // Matches anything that's not a digit or a square bracket.
2427
- var Dd=/[^\d\[\]]/;var Gd=function(){function e(t){var n=t.defaultCountry,o=t.defaultCallingCode,d=t.metadata,r=t.onNationalSignificantNumberChange;jd(this,e);this.defaultCountry=n;this.defaultCallingCode=o;this.metadata=d;this.onNationalSignificantNumberChange=r}return Ld(e,[{key:"input",value:function e(t,n){var o=Kd(t),d=Sd(o,2),r=d[0],i=d[1];var s=fn(r);
2426
+ var Bd=/[^\d\[\]]/;var Dd=function(){function e(t){var n=t.defaultCountry,o=t.defaultCallingCode,d=t.metadata,r=t.onNationalSignificantNumberChange;Ad(this,e);this.defaultCountry=n;this.defaultCallingCode=o;this.metadata=d;this.onNationalSignificantNumberChange=r}return Td(e,[{key:"input",value:function e(t,n){var o=Vd(t),d=Cd(o,2),r=d[0],i=d[1];var s=$n(r);
2428
2427
  // Checks for a special case: just a leading `+` has been entered.
2429
2428
  var a;if(i){if(!n.digits){n.startInternationalNumber(undefined,undefined);if(!s){a=true}}}if(s){this.inputDigits(s,n)}return{digits:s,justLeadingPlus:a}}
2430
2429
  /**
@@ -2457,19 +2456,19 @@ if(d){this.extractIddPrefix(n)}if(this.isWaitingForCountryCallingCode(n)){if(!th
2457
2456
  if(!n.international){if(!this.hasExtractedNationalSignificantNumber){this.extractNationalSignificantNumber(n.getNationalDigits(),(function(e){return n.update(e)}))}}}},{key:"isWaitingForCountryCallingCode",value:function e(t){var n=t.international,o=t.callingCode;return n&&!o}
2458
2457
  // Extracts a country calling code from a number
2459
2458
  // being entered in internatonal format.
2460
- },{key:"extractCountryCallingCode",value:function e(t){var n=at("+"+t.getDigitsWithoutInternationalPrefix(),t.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=n.countryCallingCode,d=n.number;if(o){t.setCallingCode(o);t.update({nationalSignificantNumber:d});return true}}},{key:"reset",value:function e(t){if(t){this.hasSelectedNumberingPlan=true;var n=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=n&&Dd.test(n)}else{this.hasSelectedNumberingPlan=undefined;this.couldPossiblyExtractAnotherNationalSignificantNumber=undefined}}
2459
+ },{key:"extractCountryCallingCode",value:function e(t){var n=st("+"+t.getDigitsWithoutInternationalPrefix(),t.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=n.countryCallingCode,d=n.number;if(o){t.setCallingCode(o);t.update({nationalSignificantNumber:d});return true}}},{key:"reset",value:function e(t){if(t){this.hasSelectedNumberingPlan=true;var n=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=n&&Bd.test(n)}else{this.hasSelectedNumberingPlan=undefined;this.couldPossiblyExtractAnotherNationalSignificantNumber=undefined}}
2461
2460
  /**
2462
2461
  * Extracts a national (significant) number from user input.
2463
2462
  * Google's library is different in that it only applies `national_prefix_for_parsing`
2464
2463
  * and doesn't apply `national_prefix_transform_rule` after that.
2465
2464
  * https://github.com/google/libphonenumber/blob/a3d70b0487875475e6ad659af404943211d26456/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java#L539
2466
2465
  * @return {boolean} [extracted]
2467
- */},{key:"extractNationalSignificantNumber",value:function e(t,n){if(!this.hasSelectedNumberingPlan){return}var o=Xe(t,this.metadata),d=o.nationalPrefix,r=o.nationalNumber,i=o.carrierCode;if(r===t){return}this.onExtractedNationalNumber(d,i,r,t,n);return true}
2466
+ */},{key:"extractNationalSignificantNumber",value:function e(t,n){if(!this.hasSelectedNumberingPlan){return}var o=Je(t,this.metadata),d=o.nationalPrefix,r=o.nationalNumber,i=o.carrierCode;if(r===t){return}this.onExtractedNationalNumber(d,i,r,t,n);return true}
2468
2467
  /**
2469
2468
  * In Google's code this function is called "attempt to extract longer NDD".
2470
2469
  * "Some national prefixes are a substring of others", they say.
2471
2470
  * @return {boolean} [result] — Returns `true` if extracting a national prefix produced different results from what they were.
2472
- */},{key:"extractAnotherNationalSignificantNumber",value:function e(t,n,o){if(!this.hasExtractedNationalSignificantNumber){return this.extractNationalSignificantNumber(t,o)}if(!this.couldPossiblyExtractAnotherNationalSignificantNumber){return}var d=Xe(t,this.metadata),r=d.nationalPrefix,i=d.nationalNumber,s=d.carrierCode;
2471
+ */},{key:"extractAnotherNationalSignificantNumber",value:function e(t,n,o){if(!this.hasExtractedNationalSignificantNumber){return this.extractNationalSignificantNumber(t,o)}if(!this.couldPossiblyExtractAnotherNationalSignificantNumber){return}var d=Je(t,this.metadata),r=d.nationalPrefix,i=d.nationalNumber,s=d.carrierCode;
2473
2472
  // If a national prefix has been extracted previously,
2474
2473
  // then it's always extracted as additional digits are added.
2475
2474
  // That's assuming `extractNationalNumberFromPossiblyIncompleteNumber()`
@@ -2563,10 +2562,10 @@ var n=t.international,o=t.IDDPrefix,d=t.digits;if(n||o){return}
2563
2562
  // dialing format instead of using the leading `+`.
2564
2563
  // https://github.com/catamphetamine/libphonenumber-js/issues/185
2565
2564
  // Detect such numbers.
2566
- var r=Je(d,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(r!==undefined&&r!==d){
2565
+ var r=Ye(d,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(r!==undefined&&r!==d){
2567
2566
  // If an IDD prefix was stripped then convert the IDD-prefixed number
2568
2567
  // to international number for subsequent parsing.
2569
- t.update({IDDPrefix:d.slice(0,d.length-r.length)});this.startInternationalNumber(t,{country:undefined,callingCode:undefined});return true}}},{key:"fixMissingPlus",value:function e(t){if(!t.international){var n=st(t.digits,t.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=n.countryCallingCode;if(o){t.update({missingPlus:true});this.startInternationalNumber(t,{country:t.country,callingCode:o});return true}}}},{key:"startInternationalNumber",value:function e(t,n){var o=n.country,d=n.callingCode;t.startInternationalNumber(o,d);
2568
+ t.update({IDDPrefix:d.slice(0,d.length-r.length)});this.startInternationalNumber(t,{country:undefined,callingCode:undefined});return true}}},{key:"fixMissingPlus",value:function e(t){if(!t.international){var n=it(t.digits,t.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=n.countryCallingCode;if(o){t.update({missingPlus:true});this.startInternationalNumber(t,{country:t.country,callingCode:o});return true}}}},{key:"startInternationalNumber",value:function e(t,n){var o=n.country,d=n.callingCode;t.startInternationalNumber(o,d);
2570
2569
  // If a national (significant) number has been extracted before, reset it.
2571
2570
  if(t.nationalSignificantNumber){t.resetNationalSignificantNumber();this.onNationalSignificantNumberChange();this.hasExtractedNationalSignificantNumber=undefined}}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function e(t){if(this.extractCountryCallingCode(t)){
2572
2571
  // `this.extractCallingCode()` is currently called when the number
@@ -2575,52 +2574,52 @@ if(t.nationalSignificantNumber){t.resetNationalSignificantNumber();this.onNation
2575
2574
  // for an international number if such number couldn't be formatted,
2576
2575
  // but since it's already not able to be formatted,
2577
2576
  // there won't be yet another retry, so also extract national prefix here.
2578
- this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}}}])}();function Ud(e){
2577
+ this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}}}])}();function Gd(e){
2579
2578
  // Attempt to extract a possible number from the string passed in.
2580
- var t=e.search(Fd);if(t<0){return}
2579
+ var t=e.search(_d);if(t<0){return}
2581
2580
  // Trim everything to the left of the phone number.
2582
2581
  e=e.slice(t);
2583
2582
  // Trim the `+`.
2584
2583
  var n;if(e[0]==="+"){n=true;e=e.slice("+".length)}
2585
2584
  // Trim everything to the right of the phone number.
2586
- e=e.replace(Bd,"");
2585
+ e=e.replace(Fd,"");
2587
2586
  // Re-add the previously trimmed `+`.
2588
2587
  if(n){e="+"+e}return e}
2589
2588
  /**
2590
2589
  * Extracts formatted phone number digits (and a `+`) from text (if there're any).
2591
2590
  * @param {string} text
2592
2591
  * @return {any[]}
2593
- */function Vd(e){
2592
+ */function Ud(e){
2594
2593
  // Extract a formatted phone number part from text.
2595
- var t=Ud(e)||"";
2594
+ var t=Gd(e)||"";
2596
2595
  // Trim a `+`.
2597
2596
  if(t[0]==="+"){return[t.slice("+".length),true]}return[t]}
2598
2597
  /**
2599
2598
  * Extracts formatted phone number digits (and a `+`) from text (if there're any).
2600
2599
  * @param {string} text
2601
2600
  * @return {any[]}
2602
- */function Kd(e){var t=Vd(e),n=Sd(t,2),o=n[0],d=n[1];
2601
+ */function Vd(e){var t=Ud(e),n=Cd(t,2),o=n[0],d=n[1];
2603
2602
  // If the extracted phone number part
2604
2603
  // can possibly be a part of some valid phone number
2605
2604
  // then parse phone number characters from a formatted phone number.
2606
- if(!Rd.test(o)){o=""}return[o,d]}function Hd(e){"@babel/helpers - typeof";return Hd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hd(e)}function Zd(e,t){return Xd(e)||Jd(e,t)||Yd(e,t)||Wd()}function Wd(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yd(e,t){if(e){if("string"==typeof e)return qd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qd(e,t):void 0}}function qd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Jd(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Xd(e){if(Array.isArray(e))return e}function Qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,nr(o.key),o)}}function tr(e,t,n){return t&&er(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function nr(e){var t=or(e,"string");return"symbol"==Hd(t)?t:t+""}function or(e,t){if("object"!=Hd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Hd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var dr=function(){
2605
+ if(!Rd.test(o)){o=""}return[o,d]}function Kd(e){"@babel/helpers - typeof";return Kd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kd(e)}function Hd(e,t){return Jd(e)||Yd(e,t)||Wd(e,t)||Zd()}function Zd(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wd(e,t){if(e){if("string"==typeof e)return qd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qd(e,t):void 0}}function qd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Yd(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,d,r,i,s=[],a=true,u=false;try{if(r=(n=n.call(e)).next,0===t);else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==t);a=true);}catch(e){u=true,d=e}finally{try{if(!a&&null!=n["return"]&&(i=n["return"](),Object(i)!==i))return}finally{if(u)throw d}}return s}}function Jd(e){if(Array.isArray(e))return e}function Xd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qd(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||false,o.configurable=true,"value"in o&&(o.writable=true),Object.defineProperty(e,tr(o.key),o)}}function er(e,t,n){return t&&Qd(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function tr(e){var t=nr(e,"string");return"symbol"==Kd(t)?t:t+""}function nr(e,t){if("object"!=Kd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Kd(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var or=function(){
2607
2606
  /**
2608
2607
  * @param {(string|object)?} [optionsOrDefaultCountry] - The default country used for parsing non-international phone numbers. Can also be an `options` object.
2609
2608
  * @param {Object} metadata
2610
2609
  */
2611
- function e(t,n){Qd(this,e);
2610
+ function e(t,n){Xd(this,e);
2612
2611
  // Metadata instance is created once and stays constant.
2613
2612
  // This is required because other utility classes such as `AsYouTypeFormatter`
2614
2613
  // will use this metadata instance "reference" and will assume that it stays constant.
2615
- this.metadata=new le(n);var o=this.getCountryAndCallingCode(t),d=Zd(o,2),r=d[0],i=d[1];
2614
+ this.metadata=new ue(n);var o=this.getCountryAndCallingCode(t),d=Hd(o,2),r=d[0],i=d[1];
2616
2615
  // `this.defaultCountry` and `this.defaultCallingCode` aren't required to be in sync.
2617
2616
  // For example, `this.defaultCountry` could be `"AR"` and `this.defaultCallingCode` could be `undefined`.
2618
2617
  // So `this.defaultCountry` and `this.defaultCallingCode` are totally independent.
2619
- this.defaultCountry=r;this.defaultCallingCode=i;this.reset()}return tr(e,[{key:"getCountryAndCallingCode",value:function e(t){
2618
+ this.defaultCountry=r;this.defaultCallingCode=i;this.reset()}return er(e,[{key:"getCountryAndCallingCode",value:function e(t){
2620
2619
  // Set `defaultCountry` and `defaultCallingCode` options.
2621
2620
  var n;var o;
2622
2621
  // Turns out `null` also has type "object". Weird.
2623
- if(t){if(X(t)){n=t.defaultCountry;o=t.defaultCallingCode}else{n=t}}if(n&&!this.metadata.hasCountry(n)){n=undefined}return[n,o]}
2622
+ if(t){if(J(t)){n=t.defaultCountry;o=t.defaultCallingCode}else{n=t}}if(n&&!this.metadata.hasCountry(n)){n=undefined}return[n,o]}
2624
2623
  /**
2625
2624
  * Inputs "next" phone number characters.
2626
2625
  * @param {string} text
@@ -2631,13 +2630,13 @@ if(this.state.nationalSignificantNumber){this.formatter.narrowDownMatchingFormat
2631
2630
  // See if another national (significant) number could be re-extracted.
2632
2631
  if(this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();
2633
2632
  // If it could, then re-try formatting the new national (significant) number.
2634
- var i=this.state.getNationalDigits();if(i){r=this.formatter.format(i,this.state)}}}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function e(){var t=this;this.state=new ko({onCountryChange:function e(n){
2633
+ var i=this.state.getNationalDigits();if(i){r=this.formatter.format(i,this.state)}}}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function e(){var t=this;this.state=new xo({onCountryChange:function e(n){
2635
2634
  // Before version `1.6.0`, the official `AsYouType` formatter API
2636
2635
  // included a `.country` property on an `AsYouType` instance.
2637
2636
  // Since that property (along with the others) have been moved to
2638
2637
  // `this.state`, `this.country` property is emulated for compatibility
2639
2638
  // with the old versions.
2640
- t.country=n},onCallingCodeChange:function e(n,o){t.metadata.selectNumberingPlan(o||n);t.formatter.reset(t.metadata.numberingPlan,t.state);t.parser.reset(t.metadata.numberingPlan)}});this.formatter=new kd({state:this.state,metadata:this.metadata});this.parser=new Gd({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function e(){t.determineTheCountryIfNeeded();t.formatter.reset(t.metadata.numberingPlan,t.state)}});this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode});this.formattedOutput="";return this}
2639
+ t.country=n},onCallingCodeChange:function e(n,o){t.metadata.selectNumberingPlan(o||n);t.formatter.reset(t.metadata.numberingPlan,t.state);t.parser.reset(t.metadata.numberingPlan)}});this.formatter=new xd({state:this.state,metadata:this.metadata});this.parser=new Dd({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function e(){t.determineTheCountryIfNeeded();t.formatter.reset(t.metadata.numberingPlan,t.state)}});this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode});this.formattedOutput="";return this}
2641
2640
  /**
2642
2641
  * Returns `true` if the phone number is being input in international format.
2643
2642
  * In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
@@ -2687,7 +2686,7 @@ if(t){return this._getCountry()}}
2687
2686
  // `this.country` should be re-derived with each new digit.
2688
2687
  if(!this.state.country||this.isCountryCallingCodeAmbiguous()){this.determineTheCountry()}}
2689
2688
  // Prepends `+CountryCode ` in case of an international phone number
2690
- },{key:"getFullNumber",value:function e(t){var n=this;if(this.isInternational()){var o=function e(t){return n.formatter.getInternationalPrefixBeforeCountryCallingCode(n.state,{spacing:t?true:false})+t};var d=this.state.callingCode;if(!d){return o("".concat(this.state.getDigitsWithoutInternationalPrefix()))}if(!t){return o(d)}return o("".concat(d," ").concat(t))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function e(){var t=this.state,n=t.nationalSignificantNumber,o=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,d=t.nationalPrefix;var r=n;var i=o||d;if(i){r=i+r}return r}},{key:"getNonFormattedNumber",value:function e(){var t=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(t?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:"getNonFormattedTemplate",value:function e(){var t=this.getNonFormattedNumber();if(t){return t.replace(/[\+\d]/g,Eo)}}},{key:"isCountryCallingCodeAmbiguous",value:function e(){var t=this.state.callingCode;var n=this.metadata.getCountryCodesForCallingCode(t);return n&&n.length>1}
2689
+ },{key:"getFullNumber",value:function e(t){var n=this;if(this.isInternational()){var o=function e(t){return n.formatter.getInternationalPrefixBeforeCountryCallingCode(n.state,{spacing:t?true:false})+t};var d=this.state.callingCode;if(!d){return o("".concat(this.state.getDigitsWithoutInternationalPrefix()))}if(!t){return o(d)}return o("".concat(d," ").concat(t))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function e(){var t=this.state,n=t.nationalSignificantNumber,o=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,d=t.nationalPrefix;var r=n;var i=o||d;if(i){r=i+r}return r}},{key:"getNonFormattedNumber",value:function e(){var t=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(t?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:"getNonFormattedTemplate",value:function e(){var t=this.getNonFormattedNumber();if(t){return t.replace(/[\+\d]/g,Oo)}}},{key:"isCountryCallingCodeAmbiguous",value:function e(){var t=this.state.callingCode;var n=this.metadata.getCountryCodesForCallingCode(t);return n&&n.length>1}
2691
2690
  // Determines the exact country of the phone number
2692
2691
  // entered so far based on the country phone code
2693
2692
  // and the national phone number.
@@ -2696,7 +2695,7 @@ if(!this.state.country||this.isCountryCallingCodeAmbiguous()){this.determineTheC
2696
2695
  // It is possible that the precise country couldn't be determined
2697
2696
  // in cases when there're multiple countries sharing the same calling code.
2698
2697
  // In that case, `country` will be `undefined`.
2699
- var t=ot(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata});
2698
+ var t=nt(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata});
2700
2699
  // If the derived country is indeed more precise,
2701
2700
  // or if no country could be derived for the updated phone number.
2702
2701
  if(t!==this.state.country){
@@ -2778,7 +2777,7 @@ if(r){if(r===this.defaultCountry){
2778
2777
  // it could simply read it from the existing metadata instance.
2779
2778
  var i=this.metadata.numberingPlan.callingCode();
2780
2779
  // Attempt to rule out any potential country code ambiguity, if present.
2781
- var s=rr(i,n,this.metadata);if(s){r=s}}}var a=new Gt(r||d,n,this.metadata.metadata);if(o){a.carrierCode=o}
2780
+ var s=dr(i,n,this.metadata);if(s){r=s}}}var a=new Dt(r||d,n,this.metadata.metadata);if(o){a.carrierCode=o}
2782
2781
  // Phone number extensions are not supported by "As You Type" formatter.
2783
2782
  return a}
2784
2783
  /**
@@ -2802,7 +2801,7 @@ return a}
2802
2801
  // See the comment in `AsYouTypeState.js` for more info on when that is possible.
2803
2802
  // Here, it uses both: if `country` is defined then it will use that,
2804
2803
  // otherwise it will use `callingCode`.
2805
- var d=ze(o,undefined,this.metadata);if(d!=="IS_POSSIBLE"){return d}}
2804
+ var d=ge(o,undefined,this.metadata);if(d!=="IS_POSSIBLE"){return d}}
2806
2805
  /**
2807
2806
  * @deprecated
2808
2807
  * This method is used in `react-phone-number-input/source/input-control.js`
@@ -2816,12 +2815,12 @@ var d=ze(o,undefined,this.metadata);if(d!=="IS_POSSIBLE"){return d}}
2816
2815
  * Returns the template for the formatted phone number.
2817
2816
  * @return {string}
2818
2817
  */},{key:"getTemplate",value:function e(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}])}();// In situations when multiple countries use the same calling code,
2819
- function rr(e,t,n){var o=n.getCountryCodesForCallingCode(e);if(o.length>1){return nt(t,o,n.metadata)}}function ir(){return Y(bo,arguments)}
2818
+ function dr(e,t,n){var o=n.getCountryCodesForCallingCode(e);if(o.length>1){return tt(t,o,n.metadata)}}function rr(){return W(vo,arguments)}
2820
2819
  // Importing from a ".js" file is a workaround for Node.js "ES Modules"
2821
2820
  // importing system which is even uncapable of importing "*.json" files.
2822
- function sr(e){return dr.call(this,e,W)}sr.prototype=Object.create(dr.prototype,{});sr.prototype.constructor=sr;
2821
+ function ir(e){return or.call(this,e,Z)}ir.prototype=Object.create(or.prototype,{});ir.prototype.constructor=ir;
2823
2822
  // Sort out arguments
2824
- function ar(e){
2823
+ function sr(e){
2825
2824
  // This line of code appeared to not work correctly with `babel`/`istanbul`:
2826
2825
  // for some weird reason, it caused coverage less than 100%.
2827
2826
  // That's because `babel`/`istanbul`, for some weird reason,
@@ -2834,13 +2833,13 @@ if(typeof t==="string"){
2834
2833
  // If "default country" argument is being passed
2835
2834
  // then convert it to an `options` object.
2836
2835
  // `getNumberType('88005553535', 'RU', metadata)`.
2837
- if(!X(n)){if(d){i=o;s=d}else{s=o}
2836
+ if(!J(n)){if(d){i=o;s=d}else{s=o}
2838
2837
  // `parse` extracts phone numbers from raw text,
2839
2838
  // therefore it will cut off all "garbage" characters,
2840
2839
  // while this `validate` function needs to verify
2841
2840
  // that the phone number contains no "garbage"
2842
2841
  // therefore the explicit `isViablePhoneNumber` check.
2843
- if(wt(t)){r=Rn(t,{defaultCountry:n},s)}else{r={}}}
2842
+ if(zt(t)){r=Rn(t,{defaultCountry:n},s)}else{r={}}}
2844
2843
  // No "resrict country" argument is being passed.
2845
2844
  // International phone number is passed.
2846
2845
  // `getNumberType('+78005553535', metadata)`.
@@ -2850,10 +2849,10 @@ else{if(o){i=n;s=o}else{s=n}
2850
2849
  // while this `validate` function needs to verify
2851
2850
  // that the phone number contains no "garbage"
2852
2851
  // therefore the explicit `isViablePhoneNumber` check.
2853
- if(wt(t)){r=Rn(t,undefined,s)}else{r={}}}}
2852
+ if(zt(t)){r=Rn(t,undefined,s)}else{r={}}}}
2854
2853
  // If the phone number is passed as a parsed phone number.
2855
2854
  // `getNumberType({ phone: '88005553535', country: 'RU' }, ...)`.
2856
- else if(X(t)){r=t;if(o){i=n;s=o}else{s=n}}else throw new TypeError("A phone number must either be a string or an object of shape { phone, [country] }.");return{input:r,options:i,metadata:s}}
2855
+ else if(J(t)){r=t;if(o){i=n;s=o}else{s=n}}else throw new TypeError("A phone number must either be a string or an object of shape { phone, [country] }.");return{input:r,options:i,metadata:s}}
2857
2856
  /**
2858
2857
  * Checks if a given phone number is possible.
2859
2858
  * Which means it only checks phone number length
@@ -2867,11 +2866,11 @@ else if(X(t)){r=t;if(o){i=n;s=o}else{s=n}}else throw new TypeError("A phone numb
2867
2866
  * isPossibleNumber('88005553535', 'RU', metadata)
2868
2867
  * isPossibleNumber({ phone: '8005553535', country: 'RU' }, metadata)
2869
2868
  * ```
2870
- */function ur(){var e=ar(arguments),t=e.input,n=e.options,o=e.metadata;
2869
+ */function ar(){var e=sr(arguments),t=e.input,n=e.options,o=e.metadata;
2871
2870
  // `parseNumber()` would return `{}` when no phone number could be parsed from the input.
2872
- if(!t.phone&&!(n&&n.v2)){return false}return xe(t,n,o)}
2871
+ if(!t.phone&&!(n&&n.v2)){return false}return we(t,n,o)}
2873
2872
  // Deprecated.
2874
- function lr(){return Y(ur,arguments)}var $r='<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var fr=function(){return'.sc-zonos-stripe-phone-input-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-stripe-phone-input-h *.sc-zonos-stripe-phone-input{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-stripe-phone-input-h img.sc-zonos-stripe-phone-input{max-width:100%}.sc-zonos-stripe-phone-input-h dl.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h dd.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h1.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h2.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h3.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h4.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h5.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h6.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h hr.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h figure.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h p.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h pre.sc-zonos-stripe-phone-input{margin:0}.sc-zonos-stripe-phone-input-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-stripe-phone-input-h{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%), 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8;margin:1px;position:relative;display:block}.dark.sc-zonos-stripe-phone-input-h,[data-theme=DARK].sc-zonos-stripe-phone-input-h{color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5), 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%), 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}.sc-zonos-stripe-phone-input-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:4px;position:relative;width:100%}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.sc-zonos-stripe-phone-input{position:relative;width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:calc(var(--zonos-elements-size-xl) - 2px);background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px;overflow:visible}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.sc-zonos-stripe-phone-input .zonos--select.sc-zonos-stripe-phone-input{position:absolute;opacity:0;inset:0;width:100%;cursor:pointer}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.sc-zonos-stripe-phone-input .zonos--input-group.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;width:100%;height:100%;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.focused.sc-zonos-stripe-phone-input::after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius);-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.has-error.sc-zonos-stripe-phone-input::after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius);-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.disabled.sc-zonos-stripe-phone-input{opacity:var(--zonos-elements-opacity-disabled);cursor:not-allowed;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--select-wrapper.sc-zonos-stripe-phone-input{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer}.sc-zonos-stripe-phone-input-h .zonos--select-wrapper.sc-zonos-stripe-phone-input:hover{background-color:rgba(0, 0, 0, 0.02)}.sc-zonos-stripe-phone-input-h .zonos--input-container.sc-zonos-stripe-phone-input{-ms-flex:1;flex:1;position:relative;z-index:2;pointer-events:all}.sc-zonos-stripe-phone-input-h .zonos--input-container.has-label.sc-zonos-stripe-phone-input .zonos--floated-input.sc-zonos-stripe-phone-input{padding:24px 12px 2px}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input{background:transparent;border:none;width:100%;height:100%;padding:0 12px;font-size:var(--zonos--font-size);color:var(--zonos-elements-text-color);outline:none;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:disabled{cursor:not-allowed}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::-webkit-input-placeholder{opacity:0;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::-moz-placeholder{opacity:0;-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:-ms-input-placeholder{opacity:0;-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::-ms-input-placeholder{opacity:0;-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::placeholder{opacity:0;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-label.sc-zonos-stripe-phone-input{display:block;max-height:0;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--floated-label.sc-zonos-stripe-phone-input label.sc-zonos-stripe-phone-input{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);left:12px;top:calc(50% - 8px);z-index:1}.sc-zonos-stripe-phone-input-h .has-content.sc-zonos-stripe-phone-input .zonos--input-container.sc-zonos-stripe-phone-input .zonos--floated-label.sc-zonos-stripe-phone-input label.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h .focused.sc-zonos-stripe-phone-input .zonos--input-container.sc-zonos-stripe-phone-input .zonos--floated-label.sc-zonos-stripe-phone-input label.sc-zonos-stripe-phone-input{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}.zonos--country-select.sc-zonos-stripe-phone-input{position:relative;height:100%}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-select-content.sc-zonos-stripe-phone-input{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-left:12px;height:100%;z-index:1}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-select-selected.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--select-chevron-wrapper.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-left:4px}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--select-chevron-wrapper.sc-zonos-stripe-phone-input .zonos--select-chevron.sc-zonos-stripe-phone-input{pointer-events:none;color:var(--zonos-elements-gray-800);padding-left:4px}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-flag-wrapper.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-flag.sc-zonos-stripe-phone-input{border-radius:var(--zonos-elements-radius-4);width:20px;height:16px;position:relative;overflow:hidden;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium)}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-code.sc-zonos-stripe-phone-input{font-size:var(--zonos--font-size);color:var(--zonos-elements-text-color)}'};var cr=0;var hr=e("zonos_stripe_phone_input",/** @class */function(){function e(e){var o=this;t(this,e);this.inputValueChange=n(this,"inputValueChange",7);this.inputId="zonos--phone-input-".concat(++cr);
2873
+ function ur(){return W(ar,arguments)}var lr='<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var $r=function(){return'.sc-zonos-stripe-phone-input-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-stripe-phone-input-h *.sc-zonos-stripe-phone-input{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-stripe-phone-input-h img.sc-zonos-stripe-phone-input{max-width:100%}.sc-zonos-stripe-phone-input-h dl.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h dd.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h1.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h2.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h3.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h4.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h5.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h h6.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h hr.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h figure.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h p.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h pre.sc-zonos-stripe-phone-input{margin:0}.sc-zonos-stripe-phone-input-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-stripe-phone-input-h{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%), 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8;margin:1px;position:relative;display:block}.dark.sc-zonos-stripe-phone-input-h,[data-theme=DARK].sc-zonos-stripe-phone-input-h{color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5), 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%), 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}.sc-zonos-stripe-phone-input-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:4px;position:relative;width:100%}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.sc-zonos-stripe-phone-input{position:relative;width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:calc(var(--zonos-elements-size-xl) - 2px);background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px;overflow:visible}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.sc-zonos-stripe-phone-input .zonos--select.sc-zonos-stripe-phone-input{position:absolute;opacity:0;inset:0;width:100%;cursor:pointer}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.sc-zonos-stripe-phone-input .zonos--input-group.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;width:100%;height:100%;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.focused.sc-zonos-stripe-phone-input::after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius);-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.has-error.sc-zonos-stripe-phone-input::after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius);-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--label-wrapper.disabled.sc-zonos-stripe-phone-input{opacity:var(--zonos-elements-opacity-disabled);cursor:not-allowed;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--select-wrapper.sc-zonos-stripe-phone-input{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer}.sc-zonos-stripe-phone-input-h .zonos--select-wrapper.sc-zonos-stripe-phone-input:hover{background-color:rgba(0, 0, 0, 0.02)}.sc-zonos-stripe-phone-input-h .zonos--input-container.sc-zonos-stripe-phone-input{-ms-flex:1;flex:1;position:relative;z-index:2;pointer-events:all}.sc-zonos-stripe-phone-input-h .zonos--input-container.has-label.sc-zonos-stripe-phone-input .zonos--floated-input.sc-zonos-stripe-phone-input{padding:24px 12px 2px}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input{background:transparent;border:none;width:100%;height:100%;padding:0 12px;font-size:var(--zonos--font-size);color:var(--zonos-elements-text-color);outline:none;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:disabled{cursor:not-allowed}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::-webkit-input-placeholder{opacity:0;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::-moz-placeholder{opacity:0;-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:-ms-input-placeholder{opacity:0;-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::-ms-input-placeholder{opacity:0;-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input::placeholder{opacity:0;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-input.sc-zonos-stripe-phone-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-phone-input-h .zonos--floated-label.sc-zonos-stripe-phone-input{display:block;max-height:0;pointer-events:none}.sc-zonos-stripe-phone-input-h .zonos--floated-label.sc-zonos-stripe-phone-input label.sc-zonos-stripe-phone-input{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);left:12px;top:calc(50% - 8px);z-index:1}.sc-zonos-stripe-phone-input-h .has-content.sc-zonos-stripe-phone-input .zonos--input-container.sc-zonos-stripe-phone-input .zonos--floated-label.sc-zonos-stripe-phone-input label.sc-zonos-stripe-phone-input,.sc-zonos-stripe-phone-input-h .focused.sc-zonos-stripe-phone-input .zonos--input-container.sc-zonos-stripe-phone-input .zonos--floated-label.sc-zonos-stripe-phone-input label.sc-zonos-stripe-phone-input{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}.zonos--country-select.sc-zonos-stripe-phone-input{position:relative;height:100%}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-select-content.sc-zonos-stripe-phone-input{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-left:12px;height:100%;z-index:1}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-select-selected.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:8px}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--select-chevron-wrapper.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-left:4px}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--select-chevron-wrapper.sc-zonos-stripe-phone-input .zonos--select-chevron.sc-zonos-stripe-phone-input{pointer-events:none;color:var(--zonos-elements-gray-800);padding-left:4px}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-flag-wrapper.sc-zonos-stripe-phone-input{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-flag.sc-zonos-stripe-phone-input{border-radius:var(--zonos-elements-radius-4);width:20px;height:16px;position:relative;overflow:hidden;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium)}.zonos--country-select.sc-zonos-stripe-phone-input .zonos--country-code.sc-zonos-stripe-phone-input{font-size:var(--zonos--font-size);color:var(--zonos-elements-text-color)}'};var fr=0;var cr=e("zonos_stripe_phone_input",/** @class */function(){function e(e){var o=this;t(this,e);this.inputValueChange=n(this,"inputValueChange",7);this.inputId="zonos--phone-input-".concat(++fr);
2875
2874
  /**
2876
2875
  * Inherited attributes from the host element
2877
2876
  */this.inheritedAttributes={};
@@ -2894,7 +2893,7 @@ o.phoneNumber=((t=o.asYouType.getNumber())===null||t===void 0?void 0:t.number)||
2894
2893
  // Type guard to check if the country code is in the country options
2895
2894
  this.isCountryCode=function(e){var t;return((t=o.countryOptions)===null||t===void 0?void 0:t[e])!==undefined};this.initPhoneNumberValue=function(){var e;if(!o.countryOptions){return}
2896
2895
  // Guess the country code from the phone number
2897
- var t=(e=ir(o.inputValue||"",{defaultCountry:o.countryCode}))===null||e===void 0?void 0:e.country;
2896
+ var t=(e=rr(o.inputValue||"",{defaultCountry:o.countryCode}))===null||e===void 0?void 0:e.country;
2898
2897
  // If the guessed country code is not in the country options, use the provided country code
2899
2898
  var n=t&&o.isCountryCode(t)?t:o.countryCode;
2900
2899
  // Get the first available country from the options
@@ -2915,17 +2914,17 @@ this.initPhoneNumberValue()};e.prototype.onCountryOptionsChange=function(){
2915
2914
  // Re-initialize the phone number value when the country options change
2916
2915
  this.initPhoneNumberValue()};e.prototype.onSelectedCountryChange=function(){this.updatePhoneFormatter()};e.prototype.onPhoneNumberChange=function(){this.phoneNumber=this.inputValue||"";this.updatePhoneFormatter()};e.prototype.validatePhoneNumber=function(){var e;if(!this.phoneNumber){return{isEmpty:true,valid:false,wrongFormat:false}}
2917
2916
  // Just accept the phone number if the formatter is not available
2918
- var t=((e=this.asYouType.getNumber())===null||e===void 0?void 0:e.number)||"";var n=lr(t);return{isEmpty:false,valid:n,wrongFormat:!n}};
2917
+ var t=((e=this.asYouType.getNumber())===null||e===void 0?void 0:e.number)||"";var n=ur(t);return{isEmpty:false,valid:n,wrongFormat:!n}};
2919
2918
  /**
2920
2919
  * Update the phone formatter to use the new country code
2921
- */e.prototype.updatePhoneFormatter=function(){var e,t,n,o;var d=Object.values(this.countryOptions||[]).find(Boolean);var r=((e=this.selectedCountry)===null||e===void 0?void 0:e.countryCode)||(d===null||d===void 0?void 0:d.countryCode)||"US";this.asYouType=new sr(r);if(this.phoneNumber){
2920
+ */e.prototype.updatePhoneFormatter=function(){var e,t,n,o;var d=Object.values(this.countryOptions||[]).find(Boolean);var r=((e=this.selectedCountry)===null||e===void 0?void 0:e.countryCode)||(d===null||d===void 0?void 0:d.countryCode)||"US";this.asYouType=new ir(r);if(this.phoneNumber){
2922
2921
  // Re-format existing number with new formatter
2923
2922
  this.asYouType.input(this.phoneNumber);if(this.inputRef){this.inputRef.value=((t=this.asYouType.getNumber())===null||t===void 0?void 0:t.formatNational())||"";var i=this.validatePhoneNumber(),s=i.isEmpty,a=i.valid,u=i.wrongFormat;
2924
2923
  // emit the change event
2925
- this.inputValueChange.emit({countryCode:((n=this.selectedCountry)===null||n===void 0?void 0:n.countryCode)||null,isEmpty:s,phoneNumber:((o=this.asYouType.getNumber())===null||o===void 0?void 0:o.number)||"",valid:a,wrongFormat:u})}}};e.prototype.componentWillLoad=function(){this.inheritedAttributes=Object.assign(Object.assign({},N(this.el)),I(this.el,["tabindex","title","data-form-type","dir"]));this.initPhoneNumberValue()};e.prototype.componentDidLoad=function(){this.initPhoneNumberValue()};e.prototype.render=function(){var e=this;var t;var n=this.overridePrimaryColor||l.appearance.colorPrimary;var r=this.overrideSecondaryColor||l.appearance.colorSecondary;var s=n&&A(n);var a=l.appearance.fontSizeInputValue||16;var u=!!this.phoneNumber;var f=this.countryOptions?Object.values(this.countryOptions).filter(Boolean).sort((function(e,t){return e.displayName.localeCompare(t.displayName)})):[];return o(d,{key:"e2a1fc4c2e5f57dc1ae904b70b5f7f421297ae0c",class:c(["zonos--phone-input zonos--elements",s&&"dark"]),"data-theme":s?"DARK":"LIGHT",style:Object.assign({"--zonos--border-radius":z(),"--zonos--font-family":$(),"--zonos--font-size":"".concat(a,"px"),"--zonos--primary-color":r},this.minWidth?{"--zonos--min-width":this.minWidth}:{})},o("div",{key:"61a2ee1f566234692a80fe68fbc4d171f36263dc",class:c(["zonos--label-wrapper",this.disabled&&"disabled",this.isFocused&&"focused",u&&"has-content",this.error&&"has-error",this.inputLabel&&"has-label"])},o("select",{key:"32602cf340a06a26c483f049595cdd812826275e",class:"zonos--select",disabled:this.disabled,onBlur:this.handleBlur,onChange:this.handleCountryChange,onFocus:this.handleFocus},f.map((function(t){var n;return o("option",{key:t.countryCode,selected:t.countryCode===((n=e.selectedCountry)===null||n===void 0?void 0:n.countryCode),value:t.countryCode},t.displayName," (+",t.phoneCode,")")}))),o("div",{key:"1a36aa363a853c420303241e75d89e5aa298dee9",class:"zonos--input-group"},o("div",{key:"7f4d30619c8f69b98422bfcab964113d598d45fa",class:"zonos--select-wrapper"},o("div",{key:"44d0f28dde38fc09ce612ad4cb78f9d1fbdbe951",class:"zonos--country-select"},o("div",{key:"c438e242374e303688150aec2c8eae51b6e1427d",class:"zonos--country-select-content"},this.selectedCountry&&o("div",{key:"2aaec2a6315d2ee84244c4458efce6d27c8598ad",class:"zonos--country-select-selected"},o("div",{key:"819a8b6fd270e43992c19a4b96a4ce5335ae166f",class:"zonos--country-flag-wrapper"},o("zonos-country-flag",{key:"090e6ce55541db022a55497b1b3a6fa7ff2b5406",class:"zonos--country-flag",countryCode:this.selectedCountry.countryCode})),o("div",{key:"021bc4bf590fb6dca736478cc8f9914ce764c1ab",class:"zonos--country-code"},"+",this.selectedCountry.phoneCode)),o("div",{key:"f7256f51c803d1b5aedb3b5d646a777cb553aa9d",class:"zonos--select-chevron-wrapper"},o("zonos-icon",{key:"a018c3fffc1c029df874d9be3c938307b4609d82","aria-label":"Expand collapsed section",class:"zonos--select-chevron",content:$r,iconColor:"gray-800"}))))),o("div",{key:"dd20516acf7d5cab10fe91ff4a6f59cc91600732",class:c(["zonos--input-container",this.inputLabel&&"has-label",u&&"has-content"])},o("input",Object.assign({key:"ed8b536ba7aac9bae8012692ceb9f8573640c5d6"},this.inheritedAttributes,{autoComplete:this.autoComplete,class:"zonos--floated-input",disabled:this.disabled,id:this.inputId,onBlur:this.handleBlur,onFocus:this.handleFocus,onInput:this.handlePhoneChange,placeholder:((t=this.selectedCountry)===null||t===void 0?void 0:t.phonePlaceholder)||"",ref:function(t){return e.inputRef=t},type:"tel"})),this.inputLabel&&o("div",{key:"be2ae82b335dd291d53f48a73f9b23744392daf6",class:"zonos--floated-label"},o("label",{key:"1894a34c3a5ea09b2b45e8dfc9103d944ac69118",htmlFor:this.inputId},this.inputLabel||i("Phone number")))))),this.error&&o("zonos-text",{key:"ae0ab1f97abbecf8dda4eced5aa139d8c51decaf",textColor:"red-600"},this.error))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{countryCode:[{onCountryCodeChange:0}],countryOptions:[{onCountryOptionsChange:0}],selectedCountry:[{onSelectedCountryChange:0}],inputValue:[{onPhoneNumberChange:0}]}},enumerable:false,configurable:true});return e}());hr.style=fr();var pr='<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var vr='<svg color="var(--zonos-elements-gray-1000)" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="var(--zonos-elements-gray-1000)" d="M14.475 10.586a.75.75 0 1 0-1.06-1.06L12 10.938l-1.414-1.414a.75.75 0 0 0-1.06 1.06L10.938 12l-1.414 1.414a.75.75 0 1 0 1.06 1.06L12 13.062l1.414 1.414a.75.75 0 0 0 1.06-1.06L13.062 12l1.414-1.414Z"/><path fill="var(--zonos-elements-gray-1000)" fill-rule="evenodd" d="M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-6.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0Z" clip-rule="evenodd"/></svg>';var br=function(){return':host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%), 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8}:host(.dark){color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5), 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%), 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}:host{margin:1px;position:relative;min-width:var(--zonos--min-width, unset)}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:calc(var(--zonos-elements-size-xl) - 4px);width:100%;background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px}:host .zonos--floated-select{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 36px 0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos--background-color);border:var(--zonos--border);-ms-flex-order:2;order:2;font-weight:400;font-size:var(--zonos--font-size);color:var(--zonos--background-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}:host .zonos--floated-select.has-label{padding:24px 36px 2px 16px}:host .zonos--floated-select:focus{outline:none;border:var(--zonos--border)}:host .zonos--floated-select:focus~.zonos--floated-label::after{-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color))}:host .zonos--floated-select.has-error+.zonos--floated-label::after{-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41}:host .zonos--floated-select.has-content,:host .zonos--floated-select:focus{color:var(--zonos-elements-text-color)}:host .zonos--floated-select.has-content~.zonos--floated-label label,:host .zonos--floated-select:focus~.zonos--floated-label label{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-select:-webkit-autofill,:host .zonos--floated-select:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-select option{background-color:var(--zonos--background-color);color:inherit}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label label{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - 8px);z-index:1}:host .zonos--floated-label::after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host .zonos--actions-wrapper{position:absolute;right:8px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:1;pointer-events:none;display:-ms-flexbox;display:flex}:host .zonos--select-chevron{cursor:pointer;color:var(--zonos-elements-gray-800);z-index:1}:host{}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host .disabled .zonos--select-chevron{opacity:0.5}.zonos--clear-button{background:none;border:none;pointer-events:auto;cursor:pointer}.zonos--clear-button:hover{-webkit-filter:brightness(0.8);filter:brightness(0.8)}:host(.dark) .zonos--label-wrapper{background:#30313d}'};var yr=0;var mr=e("zonos_stripe_select",/** @class */function(){function e(e){var o=this;t(this,e);this.selectChange=n(this,"selectChange",7);
2924
+ this.inputValueChange.emit({countryCode:((n=this.selectedCountry)===null||n===void 0?void 0:n.countryCode)||null,isEmpty:s,phoneNumber:((o=this.asYouType.getNumber())===null||o===void 0?void 0:o.number)||"",valid:a,wrongFormat:u})}}};e.prototype.componentWillLoad=function(){this.inheritedAttributes=Object.assign(Object.assign({},E(this.el)),N(this.el,["tabindex","title","data-form-type","dir"]));this.initPhoneNumberValue()};e.prototype.componentDidLoad=function(){this.initPhoneNumberValue()};e.prototype.render=function(){var e=this;var t;var n=this.overridePrimaryColor||l.appearance.colorPrimary;var r=this.overrideSecondaryColor||l.appearance.colorSecondary;var s=n&&I(n);var a=l.appearance.fontSizeInputValue||16;var u=!!this.phoneNumber;var $=this.countryOptions?Object.values(this.countryOptions).filter(Boolean).sort((function(e,t){return e.displayName.localeCompare(t.displayName)})):[];return o(d,{key:"e2a1fc4c2e5f57dc1ae904b70b5f7f421297ae0c",class:h(["zonos--phone-input zonos--elements",s&&"dark"]),"data-theme":s?"DARK":"LIGHT",style:Object.assign({"--zonos--border-radius":w(),"--zonos--font-family":f(),"--zonos--font-size":"".concat(a,"px"),"--zonos--primary-color":r},this.minWidth?{"--zonos--min-width":this.minWidth}:{})},o("div",{key:"61a2ee1f566234692a80fe68fbc4d171f36263dc",class:h(["zonos--label-wrapper",this.disabled&&"disabled",this.isFocused&&"focused",u&&"has-content",this.error&&"has-error",this.inputLabel&&"has-label"])},o("select",{key:"32602cf340a06a26c483f049595cdd812826275e",class:"zonos--select",disabled:this.disabled,onBlur:this.handleBlur,onChange:this.handleCountryChange,onFocus:this.handleFocus},$.map((function(t){var n;return o("option",{key:t.countryCode,selected:t.countryCode===((n=e.selectedCountry)===null||n===void 0?void 0:n.countryCode),value:t.countryCode},t.displayName," (+",t.phoneCode,")")}))),o("div",{key:"1a36aa363a853c420303241e75d89e5aa298dee9",class:"zonos--input-group"},o("div",{key:"7f4d30619c8f69b98422bfcab964113d598d45fa",class:"zonos--select-wrapper"},o("div",{key:"44d0f28dde38fc09ce612ad4cb78f9d1fbdbe951",class:"zonos--country-select"},o("div",{key:"c438e242374e303688150aec2c8eae51b6e1427d",class:"zonos--country-select-content"},this.selectedCountry&&o("div",{key:"2aaec2a6315d2ee84244c4458efce6d27c8598ad",class:"zonos--country-select-selected"},o("div",{key:"819a8b6fd270e43992c19a4b96a4ce5335ae166f",class:"zonos--country-flag-wrapper"},o("zonos-country-flag",{key:"090e6ce55541db022a55497b1b3a6fa7ff2b5406",class:"zonos--country-flag",countryCode:this.selectedCountry.countryCode})),o("div",{key:"021bc4bf590fb6dca736478cc8f9914ce764c1ab",class:"zonos--country-code"},"+",this.selectedCountry.phoneCode)),o("div",{key:"f7256f51c803d1b5aedb3b5d646a777cb553aa9d",class:"zonos--select-chevron-wrapper"},o("zonos-icon",{key:"a018c3fffc1c029df874d9be3c938307b4609d82","aria-label":"Expand collapsed section",class:"zonos--select-chevron",content:lr,iconColor:"gray-800"}))))),o("div",{key:"dd20516acf7d5cab10fe91ff4a6f59cc91600732",class:h(["zonos--input-container",this.inputLabel&&"has-label",u&&"has-content"])},o("input",Object.assign({key:"ed8b536ba7aac9bae8012692ceb9f8573640c5d6"},this.inheritedAttributes,{autoComplete:this.autoComplete,class:"zonos--floated-input",disabled:this.disabled,id:this.inputId,onBlur:this.handleBlur,onFocus:this.handleFocus,onInput:this.handlePhoneChange,placeholder:((t=this.selectedCountry)===null||t===void 0?void 0:t.phonePlaceholder)||"",ref:function(t){return e.inputRef=t},type:"tel"})),this.inputLabel&&o("div",{key:"be2ae82b335dd291d53f48a73f9b23744392daf6",class:"zonos--floated-label"},o("label",{key:"1894a34c3a5ea09b2b45e8dfc9103d944ac69118",htmlFor:this.inputId},this.inputLabel||i("Phone number")))))),this.error&&o("zonos-text",{key:"ae0ab1f97abbecf8dda4eced5aa139d8c51decaf",textColor:"red-600"},this.error))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{countryCode:[{onCountryCodeChange:0}],countryOptions:[{onCountryOptionsChange:0}],selectedCountry:[{onSelectedCountryChange:0}],inputValue:[{onPhoneNumberChange:0}]}},enumerable:false,configurable:true});return e}());cr.style=$r();var hr='<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>';var pr='<svg color="var(--zonos-elements-gray-1000)" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="var(--zonos-elements-gray-1000)" d="M14.475 10.586a.75.75 0 1 0-1.06-1.06L12 10.938l-1.414-1.414a.75.75 0 0 0-1.06 1.06L10.938 12l-1.414 1.414a.75.75 0 1 0 1.06 1.06L12 13.062l1.414 1.414a.75.75 0 0 0 1.06-1.06L13.062 12l1.414-1.414Z"/><path fill="var(--zonos-elements-gray-1000)" fill-rule="evenodd" d="M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-6.5 8a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0Z" clip-rule="evenodd"/></svg>';var vr=function(){return':host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%), 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8}:host(.dark){color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5), 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%), 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}:host{margin:1px;position:relative;min-width:var(--zonos--min-width, unset)}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:calc(var(--zonos-elements-size-xl) - 4px);width:100%;background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px}:host .zonos--floated-select{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 36px 0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos--background-color);border:var(--zonos--border);-ms-flex-order:2;order:2;font-weight:400;font-size:var(--zonos--font-size);color:var(--zonos--background-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}:host .zonos--floated-select.has-label{padding:24px 36px 2px 16px}:host .zonos--floated-select:focus{outline:none;border:var(--zonos--border)}:host .zonos--floated-select:focus~.zonos--floated-label::after{-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color))}:host .zonos--floated-select.has-error+.zonos--floated-label::after{-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41}:host .zonos--floated-select.has-content,:host .zonos--floated-select:focus{color:var(--zonos-elements-text-color)}:host .zonos--floated-select.has-content~.zonos--floated-label label,:host .zonos--floated-select:focus~.zonos--floated-label label{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-select:-webkit-autofill,:host .zonos--floated-select:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-select option{background-color:var(--zonos--background-color);color:inherit}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label label{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - 8px);z-index:1}:host .zonos--floated-label::after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host .zonos--actions-wrapper{position:absolute;right:8px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:1;pointer-events:none;display:-ms-flexbox;display:flex}:host .zonos--select-chevron{cursor:pointer;color:var(--zonos-elements-gray-800);z-index:1}:host{}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host .disabled .zonos--select-chevron{opacity:0.5}.zonos--clear-button{background:none;border:none;pointer-events:auto;cursor:pointer}.zonos--clear-button:hover{-webkit-filter:brightness(0.8);filter:brightness(0.8)}:host(.dark) .zonos--label-wrapper{background:#30313d}'};var br=0;var yr=e("zonos_stripe_select",/** @class */function(){function e(e){var o=this;t(this,e);this.selectChange=n(this,"selectChange",7);
2926
2925
  /**
2927
2926
  * Inherited attributes from the host element
2928
- */this.inheritedAttributes={};this.selectId="zonos--select-".concat(++yr);
2927
+ */this.inheritedAttributes={};this.selectId="zonos--select-".concat(++br);
2929
2928
  /**
2930
2929
  * Selected value of the select
2931
2930
  */this.selectedValue="";
@@ -2961,6 +2960,6 @@ this.handleNotFoundOption(e)};e.prototype.onValueChange=function(e){this.interna
2961
2960
  // If the value is not found in the options, clear the value to force user to select an option
2962
2961
  this.handleNotFoundOption(e)};
2963
2962
  // If the value is not found in the options, clear the value to force user to select an option
2964
- e.prototype.handleNotFoundOption=function(e){var t=this.internalOptions.find((function(t){return t.value===e||t.label===e}));if(!t){this.internalValue="";this.selectChange.emit("")}};e.prototype.componentWillLoad=function(){this.inheritedAttributes=Object.assign(Object.assign({},N(this.el)),I(this.el,["tabindex","title","data-form-type","dir"]))};e.prototype.render=function(){var e=this;var t=this.overridePrimaryColor||l.appearance.colorPrimary;var n=this.overrideSecondaryColor||l.appearance.colorSecondary;var r=t&&A(t);var s=l.appearance.fontSizeInputValue||16;var a=this.internalValue||this.selectPlaceholder;var u=this.isClearable&&this.internalValue&&!this.isDisabled;return o(d,{key:"c6bf5ed45fd7756985bd97b542933d25a472aa2c",class:c(["zonos--select zonos--elements",r&&"dark",this.isError&&"has-error"]),"data-theme":r?"DARK":"LIGHT",style:Object.assign({"--zonos--border-radius":z(),"--zonos--font-family":$(),"--zonos--font-size":"".concat(s,"px"),"--zonos--primary-color":n},this.minWidth?{"--zonos--min-width":this.minWidth}:{})},o("div",{key:"7ff61460b6ac3c5b3e6e35000f3713609a26ebe2",class:c(["zonos--label-wrapper",this.isDisabled&&"disabled"])},o("select",Object.assign({key:"9d644b04d7b46621245581c5143d7310e1d5396d"},this.inheritedAttributes,{autoComplete:this.autoComplete,class:c(["zonos--floated-select",!!this.selectLabel&&"has-label",a&&"has-content",this.isError&&"has-error"]),disabled:this.isDisabled,id:this.selectId,name:this.name,onChange:function(t){var n=t.target;e.selectChange.emit(n.value);e.selectedValue=n.value;e.el.dispatchEvent(new Event("change"))},required:this.required}),o("option",{key:"b448bc3c2a083334108afad566feff22bf89547a",disabled:true,selected:!this.internalValue,value:""},this.selectPlaceholder||i("Select")),this.internalOptions.map((function(t){return o("option",{key:t.value,selected:e.internalValue===t.value||
2963
+ e.prototype.handleNotFoundOption=function(e){var t=this.internalOptions.find((function(t){return t.value===e||t.label===e}));if(!t){this.internalValue="";this.selectChange.emit("")}};e.prototype.componentWillLoad=function(){this.inheritedAttributes=Object.assign(Object.assign({},E(this.el)),N(this.el,["tabindex","title","data-form-type","dir"]))};e.prototype.render=function(){var e=this;var t=this.overridePrimaryColor||l.appearance.colorPrimary;var n=this.overrideSecondaryColor||l.appearance.colorSecondary;var r=t&&I(t);var s=l.appearance.fontSizeInputValue||16;var a=this.internalValue||this.selectPlaceholder;var u=this.isClearable&&this.internalValue&&!this.isDisabled;return o(d,{key:"c6bf5ed45fd7756985bd97b542933d25a472aa2c",class:h(["zonos--select zonos--elements",r&&"dark",this.isError&&"has-error"]),"data-theme":r?"DARK":"LIGHT",style:Object.assign({"--zonos--border-radius":w(),"--zonos--font-family":f(),"--zonos--font-size":"".concat(s,"px"),"--zonos--primary-color":n},this.minWidth?{"--zonos--min-width":this.minWidth}:{})},o("div",{key:"7ff61460b6ac3c5b3e6e35000f3713609a26ebe2",class:h(["zonos--label-wrapper",this.isDisabled&&"disabled"])},o("select",Object.assign({key:"9d644b04d7b46621245581c5143d7310e1d5396d"},this.inheritedAttributes,{autoComplete:this.autoComplete,class:h(["zonos--floated-select",!!this.selectLabel&&"has-label",a&&"has-content",this.isError&&"has-error"]),disabled:this.isDisabled,id:this.selectId,name:this.name,onChange:function(t){var n=t.target;e.selectChange.emit(n.value);e.selectedValue=n.value;e.el.dispatchEvent(new Event("change"))},required:this.required}),o("option",{key:"b448bc3c2a083334108afad566feff22bf89547a",disabled:true,selected:!this.internalValue,value:""},this.selectPlaceholder||i("Select")),this.internalOptions.map((function(t){return o("option",{key:t.value,selected:e.internalValue===t.value||
2965
2964
  // Sometimes google returns the label not the code for some countries
2966
- e.internalValue===t.label,value:t.value},t.label)}))),o("div",{key:"14b3c9dad1202d432ba2a30d03e8335aebaafa89",class:"zonos--floated-label"},o("label",{key:"4e7870ce3eeaf4ea6fd116e3a486537bebb88c87",htmlFor:this.selectId},this.selectLabel)),o("div",{key:"4567ca19c1e018d483105c23ca781e0bbd1d2c3a",class:"zonos--actions-wrapper"},u&&o("button",{key:"cdceea7255fdd19177b82c42878a6c4a20690a1a","aria-label":"Clear selection",class:"zonos--clear-button",onClick:this.handleClear,tabIndex:0,type:"button"},o("zonos-icon",{key:"099b2f1a4fb475bfa76b0f4aeee9e66f27d473f3",class:"zonos--clear-icon",content:vr,iconColor:"gray-1200"})),o("zonos-icon",{key:"8c7fdaf2de40a14e4fa0f8f3598851edac1c1ae6","aria-label":"Expand collapsed section",class:"zonos--select-chevron",content:pr,iconColor:"gray-800"}))),this.error&&o("zonos-text",{key:"1cb569a7feeea85874c852a1c69cf88076fd6856",textColor:"red-600"},this.error))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{options:[{onOptionsChange:0}],selectedValue:[{onSelectedValueChange:0}],value:[{onValueChange:0}]}},enumerable:false,configurable:true});return e}());mr.style=br()}}}));
2965
+ e.internalValue===t.label,value:t.value},t.label)}))),o("div",{key:"14b3c9dad1202d432ba2a30d03e8335aebaafa89",class:"zonos--floated-label"},o("label",{key:"4e7870ce3eeaf4ea6fd116e3a486537bebb88c87",htmlFor:this.selectId},this.selectLabel)),o("div",{key:"4567ca19c1e018d483105c23ca781e0bbd1d2c3a",class:"zonos--actions-wrapper"},u&&o("button",{key:"cdceea7255fdd19177b82c42878a6c4a20690a1a","aria-label":"Clear selection",class:"zonos--clear-button",onClick:this.handleClear,tabIndex:0,type:"button"},o("zonos-icon",{key:"099b2f1a4fb475bfa76b0f4aeee9e66f27d473f3",class:"zonos--clear-icon",content:pr,iconColor:"gray-1200"})),o("zonos-icon",{key:"8c7fdaf2de40a14e4fa0f8f3598851edac1c1ae6","aria-label":"Expand collapsed section",class:"zonos--select-chevron",content:hr,iconColor:"gray-800"}))),this.error&&o("zonos-text",{key:"1cb569a7feeea85874c852a1c69cf88076fd6856",textColor:"red-600"},this.error))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{options:[{onOptionsChange:0}],selectedValue:[{onSelectedValueChange:0}],value:[{onValueChange:0}]}},enumerable:false,configurable:true});return e}());yr.style=vr()}}}));