@zonos/elements 1.3.286 → 1.3.287

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 (656) hide show
  1. package/README.md +9 -1
  2. package/dist/cjs/RemoveIcon-CuM1YmjP.js +5 -0
  3. package/dist/cjs/{cart-0cf8897b.js → cart-CV4buPlT.js} +17 -27
  4. package/dist/cjs/{collect-79131e52.js → collect-jzWKzrV7.js} +17 -113
  5. package/dist/cjs/debounce-5sZmmlCI.js +9 -0
  6. package/dist/cjs/debounce-Nu2lJW4A.js +405 -0
  7. package/dist/cjs/{formatStringWithLinks-c25b4018.js → formatStringWithLinks-vOVkAjlu.js} +1 -1
  8. package/dist/cjs/{getBorderRadius-97fd5e02.js → getBorderRadius-DGZiQu09.js} +1 -1
  9. package/dist/cjs/{getContrastColor-956dfaf7.js → getContrastColor-B2Kn8XHA.js} +2 -2
  10. package/dist/cjs/{getMissingRequiredShippingFields-a8f04267.js → getMissingRequiredShippingFields-r5vYIqoX.js} +1 -1
  11. package/dist/cjs/{handleFetch-954f30e1.js → handleFetch-DQLhurnE.js} +4 -3
  12. package/dist/cjs/{hasInclusivePrice-d0cd2007.js → hasInclusivePrice-BZMQohG9.js} +1 -1
  13. package/dist/cjs/{helpers-5bdbb68c.js → helpers-ClOZ11A9.js} +0 -3
  14. package/dist/cjs/{index-b1f95d96.js → index-DAAr465v.js} +1252 -580
  15. package/dist/cjs/index.cjs.js +17 -21
  16. package/dist/cjs/{invoice-254ae23b.js → invoice-CHw-mJdS.js} +6 -6
  17. package/dist/cjs/{isContrastColor-30f84a91.js → isContrastColor-B9ldIdpa.js} +1 -1
  18. package/dist/cjs/isDarkColor-f-fD9c2l.js +1187 -0
  19. package/dist/cjs/loader.cjs.js +3 -5
  20. package/dist/cjs/{localization-fb2ece37.js → localization-CxXsmxs5.js} +4 -4
  21. package/dist/cjs/{paypal-8ca67278.js → paypal-BLuHeOJH.js} +10 -9
  22. package/dist/cjs/{placeTestOrder-12b63822.js → placeTestOrder-VK_CMeq0.js} +3 -3
  23. package/dist/cjs/{renderCheckoutCurrency-a1f71587.js → renderCheckoutCurrency-CC4CAy-a.js} +2 -2
  24. package/dist/cjs/{renderFallback-bc20ee20.js → renderFallback-Bme86uk8.js} +1 -1
  25. package/dist/cjs/{shouldRenderTaxIdInput-7d19556c.js → shouldRenderTaxIdInput-TxekHCp7.js} +2 -2
  26. package/dist/cjs/{shouldShowLanguageSelect-82985128.js → shouldShowLanguageSelect-Bj_jKWPK.js} +1 -1
  27. package/dist/cjs/{submitGtag-8a25f001.js → submitGtag-CcEL-w5D.js} +3 -3
  28. package/dist/cjs/throttle-BcxGntLr.js +87 -0
  29. package/dist/cjs/{updateCheckoutSessionAttributes-de7b1466.js → updateCheckoutSessionAttributes-Dltl5RBx.js} +3 -3
  30. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +644 -692
  31. package/dist/cjs/zonos-address-display_2.cjs.entry.js +13 -17
  32. package/dist/cjs/zonos-address_4.cjs.entry.js +50 -40
  33. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +15 -16
  34. package/dist/cjs/zonos-badge.cjs.entry.js +7 -10
  35. package/dist/cjs/zonos-banner.cjs.entry.js +6 -9
  36. package/dist/cjs/zonos-button_3.cjs.entry.js +18 -21
  37. package/dist/cjs/zonos-card_5.cjs.entry.js +34 -35
  38. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +85 -83
  39. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +10 -14
  40. package/dist/cjs/zonos-checkout.cjs.entry.js +50 -34
  41. package/dist/cjs/zonos-collapse.cjs.entry.js +5 -8
  42. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +18 -23
  43. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +59 -55
  44. package/dist/cjs/zonos-collect.cjs.entry.js +20 -23
  45. package/dist/cjs/zonos-component.cjs.entry.js +3 -6
  46. package/dist/cjs/zonos-controller.cjs.entry.js +13 -16
  47. package/dist/cjs/zonos-country-flag.cjs.entry.js +8 -11
  48. package/dist/cjs/zonos-country-select_4.cjs.entry.js +68 -57
  49. package/dist/cjs/zonos-elements.cjs.js +7 -7
  50. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +22 -23
  51. package/dist/cjs/zonos-hello.cjs.entry.js +19 -17
  52. package/dist/cjs/zonos-input.cjs.entry.js +10 -11
  53. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +17 -21
  54. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +57 -52
  55. package/dist/cjs/zonos-invoice.cjs.entry.js +19 -22
  56. package/dist/cjs/zonos-language-select_2.cjs.entry.js +11 -15
  57. package/dist/cjs/zonos-link.cjs.entry.js +3 -6
  58. package/dist/cjs/zonos-logo.cjs.entry.js +6 -9
  59. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +15 -19
  60. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +11 -14
  61. package/dist/cjs/zonos-stripe-input.cjs.entry.js +15 -14
  62. package/dist/cjs/zonos-text.cjs.entry.js +8 -11
  63. package/dist/cjs/zonos-tooltip.cjs.entry.js +4 -7
  64. package/dist/cjs/zonos-v-stack.cjs.entry.js +6 -9
  65. package/dist/cjs/zonosStore-BCNYr6Tk.js +3808 -0
  66. package/dist/collection/__tests__/jsxWithChildren.types.js +13 -0
  67. package/dist/collection/collection-manifest.json +3 -2
  68. package/dist/collection/components/checkout/zonos-checkout/zonos-address-completion-dialog/zonos-address-completion-dialog.js +13 -10
  69. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +4 -3
  70. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +8 -5
  71. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +17 -13
  72. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +1 -1
  73. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +4 -4
  74. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +7 -5
  75. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +5 -4
  76. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +8 -8
  77. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +5 -4
  78. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-store-credit/zonos-store-credit.js +1 -1
  79. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +18 -14
  80. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +13 -10
  81. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +2 -2
  82. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +7 -7
  83. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +8 -6
  84. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +6 -5
  85. package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.js +4 -4
  86. package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +7 -7
  87. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  88. package/dist/collection/components/checkout/zonos-collect/zonos-collect.js +2 -2
  89. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +1 -1
  90. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +8 -6
  91. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +6 -5
  92. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-order-details/zonos-invoice-order-details.js +4 -4
  93. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.js +7 -7
  94. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  95. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +1 -1
  96. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice.js +2 -2
  97. package/dist/collection/components/common/zonos-badge/zonos-badge.js +8 -7
  98. package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -4
  99. package/dist/collection/components/common/zonos-button/zonos-button.js +29 -25
  100. package/dist/collection/components/common/zonos-card/zonos-card.js +9 -8
  101. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +15 -12
  102. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +9 -6
  103. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  104. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +15 -15
  105. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +6 -5
  106. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  107. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +22 -21
  108. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +3 -2
  109. package/dist/collection/components/common/zonos-icon/zonos-icon.js +8 -7
  110. package/dist/collection/components/common/zonos-input/zonos-input.js +7 -7
  111. package/dist/collection/components/common/zonos-link/zonos-link.js +7 -7
  112. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +4 -4
  113. package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -3
  114. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +8 -7
  115. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +1 -1
  116. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +15 -12
  117. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +2 -2
  118. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +3 -3
  119. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +17 -17
  120. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +23 -20
  121. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +19 -19
  122. package/dist/collection/components/common/zonos-text/zonos-text.js +15 -11
  123. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +4 -3
  124. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  125. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +3 -2
  126. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +7 -6
  127. package/dist/collection/components/component-template/zonos-component/zonos-component.js +3 -3
  128. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +16 -12
  129. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +3 -2
  130. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +14 -11
  131. package/dist/collection/components/main/zonos-controller.js +18 -10
  132. package/dist/collection/components/store/checkout/stripe.js +1 -1
  133. package/dist/collection/components/stripe/zonos-address/zonos-address.js +9 -8
  134. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +6 -4
  135. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +13 -10
  136. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +4 -4
  137. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +2 -2
  138. package/dist/collection/components/utils/checkout/isEuDapRemittance.js +1 -1
  139. package/dist/collection/components/utils/checkout/shouldRenderTaxIdInput.js +1 -1
  140. package/dist/collection/scripts/cart/_setupCartData.js +2 -2
  141. package/dist/collection/scripts/cart/_setupCartDataWithSettings.js +2 -2
  142. package/dist/collection/types/generated/graphql.internal.types.js +5 -0
  143. package/dist/esm/RemoveIcon-C2QMVeWW.js +3 -0
  144. package/dist/esm/{cart-d04742f5.js → cart-ekBk_gxV.js} +18 -28
  145. package/dist/esm/{collect-4c310a16.js → collect-33rMINDo.js} +17 -113
  146. package/dist/esm/debounce-D4ko2kvZ.js +403 -0
  147. package/dist/esm/debounce-DWPsxJsW.js +7 -0
  148. package/dist/esm/{formatStringWithLinks-0d48f183.js → formatStringWithLinks-BcMPqGl0.js} +1 -1
  149. package/dist/esm/{getBorderRadius-1f7be586.js → getBorderRadius-HwG64EKM.js} +1 -1
  150. package/dist/esm/{getContrastColor-4c0ae8c1.js → getContrastColor-CfCPlW9U.js} +2 -2
  151. package/dist/esm/{getMissingRequiredShippingFields-f0878e32.js → getMissingRequiredShippingFields-u1nhQzJ1.js} +1 -1
  152. package/dist/esm/{handleFetch-a844cac1.js → handleFetch-D5GYDF-O.js} +4 -3
  153. package/dist/esm/{hasInclusivePrice-d801be22.js → hasInclusivePrice-CAVXi310.js} +1 -1
  154. package/dist/esm/{helpers-2f6955b1.js → helpers-DJIdCwJ5.js} +0 -3
  155. package/dist/esm/{index-cfd394c8.js → index-_lt63o7c.js} +1253 -561
  156. package/dist/esm/index.js +20 -22
  157. package/dist/esm/{invoice-86487dac.js → invoice-BNDWuVsD.js} +6 -6
  158. package/dist/esm/{isContrastColor-9fa0d013.js → isContrastColor-CWLU13s9.js} +1 -1
  159. package/dist/esm/isDarkColor-YdrG78th.js +1184 -0
  160. package/dist/esm/loader.js +4 -4
  161. package/dist/esm/{localization-36a4dc22.js → localization-AOqYXGdP.js} +5 -5
  162. package/dist/esm/{paypal-997935ab.js → paypal-CW1D2XqZ.js} +10 -9
  163. package/dist/esm/{placeTestOrder-a53f2056.js → placeTestOrder-nhmsLLOA.js} +3 -3
  164. package/dist/esm/{renderCheckoutCurrency-e0e16eb7.js → renderCheckoutCurrency-BQANmZyM.js} +2 -2
  165. package/dist/esm/{renderFallback-b250f4e9.js → renderFallback-Cy03ZcWE.js} +1 -1
  166. package/dist/esm/{shouldRenderTaxIdInput-ef7b5860.js → shouldRenderTaxIdInput-CKyZ6Zni.js} +2 -2
  167. package/dist/esm/{shouldShowLanguageSelect-328f50e2.js → shouldShowLanguageSelect-BQFCXouB.js} +1 -1
  168. package/dist/esm/{submitGtag-71c450b6.js → submitGtag-CCGQS060.js} +4 -4
  169. package/dist/esm/throttle-D5GyA3yr.js +85 -0
  170. package/dist/esm/{updateCheckoutSessionAttributes-23b222de.js → updateCheckoutSessionAttributes-eRSqdC74.js} +3 -3
  171. package/dist/esm/zonos-address-completion-dialog_7.entry.js +644 -690
  172. package/dist/esm/zonos-address-display_2.entry.js +13 -15
  173. package/dist/esm/zonos-address_4.entry.js +50 -38
  174. package/dist/esm/zonos-airwallex-payment.entry.js +15 -14
  175. package/dist/esm/zonos-badge.entry.js +7 -8
  176. package/dist/esm/zonos-banner.entry.js +6 -7
  177. package/dist/esm/zonos-button_3.entry.js +18 -19
  178. package/dist/esm/zonos-card_5.entry.js +34 -33
  179. package/dist/esm/zonos-cart-items_12.entry.js +85 -81
  180. package/dist/esm/zonos-checkbox_2.entry.js +10 -12
  181. package/dist/esm/zonos-checkout.entry.js +50 -32
  182. package/dist/esm/zonos-collapse.entry.js +5 -6
  183. package/dist/esm/zonos-collect-cart-items_3.entry.js +18 -21
  184. package/dist/esm/zonos-collect-finish_6.entry.js +59 -53
  185. package/dist/esm/zonos-collect.entry.js +20 -21
  186. package/dist/esm/zonos-component.entry.js +3 -4
  187. package/dist/esm/zonos-controller.entry.js +13 -14
  188. package/dist/esm/zonos-country-flag.entry.js +8 -9
  189. package/dist/esm/zonos-country-select_4.entry.js +68 -55
  190. package/dist/esm/zonos-elements.js +6 -5
  191. package/dist/esm/zonos-hello-dialog.entry.js +22 -21
  192. package/dist/esm/zonos-hello.entry.js +19 -15
  193. package/dist/esm/zonos-input.entry.js +10 -9
  194. package/dist/esm/zonos-invoice-cart-items_2.entry.js +17 -19
  195. package/dist/esm/zonos-invoice-finish_5.entry.js +57 -50
  196. package/dist/esm/zonos-invoice.entry.js +19 -20
  197. package/dist/esm/zonos-language-select_2.entry.js +11 -13
  198. package/dist/esm/zonos-link.entry.js +3 -4
  199. package/dist/esm/zonos-logo.entry.js +6 -7
  200. package/dist/esm/zonos-policy-consent_2.entry.js +15 -17
  201. package/dist/esm/zonos-shipping-rich-radio.entry.js +11 -12
  202. package/dist/esm/zonos-stripe-input.entry.js +15 -12
  203. package/dist/esm/zonos-text.entry.js +8 -9
  204. package/dist/esm/zonos-tooltip.entry.js +4 -5
  205. package/dist/esm/zonos-v-stack.entry.js +6 -7
  206. package/dist/esm/zonosStore-DrIOAz4M.js +3795 -0
  207. package/dist/esm-es5/{CheckoutConfig-724d7bae.js → CheckoutConfig-D5SpFsQJ.js} +5 -1
  208. package/dist/esm-es5/VarianceTest-BJmZPrZl.js +9 -0
  209. package/dist/esm-es5/{buildCartItemsByTempCart-a117f75d.js → buildCartItemsByTempCart-BycjkdlE.js} +4 -0
  210. package/dist/esm-es5/cart-ekBk_gxV.js +517 -0
  211. package/dist/esm-es5/classes-BJHSB96f.js +10 -0
  212. package/dist/esm-es5/cleanHtmlMarkdown-ByGDytaN.js +191 -0
  213. package/dist/esm-es5/collect-33rMINDo.js +241 -0
  214. package/dist/esm-es5/containsNonLatinChars-C04AWRC2.js +11 -0
  215. package/dist/esm-es5/createCustomEvent-XQfWgQLB.js +6 -0
  216. package/dist/esm-es5/debounce-D4ko2kvZ.js +153 -0
  217. package/dist/esm-es5/debounce-DWPsxJsW.js +1 -0
  218. package/dist/esm-es5/formatStringWithLinks-BcMPqGl0.js +8 -0
  219. package/dist/esm-es5/getBorderRadius-HwG64EKM.js +8 -0
  220. package/dist/esm-es5/getContrastColor-CfCPlW9U.js +14 -0
  221. package/dist/esm-es5/getGenericSettingsOverride-HeAZDwVW.js +4 -0
  222. package/dist/esm-es5/getMissingRequiredShippingFields-u1nhQzJ1.js +20 -0
  223. package/dist/esm-es5/handleFetch-D5GYDF-O.js +60 -0
  224. package/dist/esm-es5/hasInclusivePrice-CAVXi310.js +6 -0
  225. package/dist/esm-es5/helpers-DJIdCwJ5.js +23 -0
  226. package/dist/esm-es5/index-_lt63o7c.js +162 -0
  227. package/dist/esm-es5/index.js +227 -1
  228. package/dist/esm-es5/invoice-BNDWuVsD.js +13 -0
  229. package/dist/esm-es5/isColorVariable-DXXUq2Lv.js +11 -0
  230. package/dist/esm-es5/isContrastColor-CWLU13s9.js +5 -0
  231. package/dist/esm-es5/isDarkColor-YdrG78th.js +204 -0
  232. package/dist/esm-es5/isSameHostCheckoutLink-BxAHnL5J.js +16 -0
  233. package/dist/esm-es5/loader.js +1 -1
  234. package/dist/esm-es5/localization-AOqYXGdP.js +332 -0
  235. package/dist/esm-es5/paypal-CW1D2XqZ.js +192 -0
  236. package/dist/esm-es5/placeTestOrder-nhmsLLOA.js +1 -0
  237. package/dist/esm-es5/renderCheckoutCurrency-BQANmZyM.js +13 -0
  238. package/dist/esm-es5/{renderFallback-b250f4e9.js → renderFallback-Cy03ZcWE.js} +1 -1
  239. package/dist/esm-es5/shouldRenderTaxIdInput-CKyZ6Zni.js +17 -0
  240. package/dist/esm-es5/shouldShowLanguageSelect-BQFCXouB.js +7 -0
  241. package/dist/esm-es5/styles-BTIeCf3T.js +6 -0
  242. package/dist/esm-es5/submitGtag-CCGQS060.js +45 -0
  243. package/dist/esm-es5/throttle-D5GyA3yr.js +46 -0
  244. package/dist/esm-es5/updateCheckoutSessionAttributes-eRSqdC74.js +8 -0
  245. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +2966 -1
  246. package/dist/esm-es5/zonos-address-display_2.entry.js +46 -1
  247. package/dist/esm-es5/zonos-address_4.entry.js +179 -1
  248. package/dist/esm-es5/zonos-airwallex-payment.entry.js +49 -1
  249. package/dist/esm-es5/zonos-badge.entry.js +25 -1
  250. package/dist/esm-es5/zonos-banner.entry.js +7 -1
  251. package/dist/esm-es5/zonos-button_3.entry.js +116 -1
  252. package/dist/esm-es5/zonos-card_5.entry.js +33 -1
  253. package/dist/esm-es5/zonos-cart-items_12.entry.js +666 -1
  254. package/dist/esm-es5/zonos-checkbox_2.entry.js +21 -1
  255. package/dist/esm-es5/zonos-checkout.entry.js +1043 -1
  256. package/dist/esm-es5/zonos-collapse.entry.js +15 -1
  257. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +13 -1
  258. package/dist/esm-es5/zonos-collect-finish_6.entry.js +157 -1
  259. package/dist/esm-es5/zonos-collect.entry.js +171 -1
  260. package/dist/esm-es5/zonos-component.entry.js +10 -1
  261. package/dist/esm-es5/zonos-controller.entry.js +198 -1
  262. package/dist/esm-es5/zonos-country-flag.entry.js +6 -1
  263. package/dist/esm-es5/zonos-country-select_4.entry.js +152 -1
  264. package/dist/esm-es5/zonos-elements.js +4 -1
  265. package/dist/esm-es5/zonos-hello-dialog.entry.js +63 -1
  266. package/dist/esm-es5/zonos-hello.entry.js +121 -1
  267. package/dist/esm-es5/zonos-input.entry.js +16 -1
  268. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +7 -1
  269. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +133 -1
  270. package/dist/esm-es5/zonos-invoice.entry.js +115 -1
  271. package/dist/esm-es5/zonos-language-select_2.entry.js +14 -1
  272. package/dist/esm-es5/zonos-link.entry.js +4 -1
  273. package/dist/esm-es5/zonos-logo.entry.js +7 -1
  274. package/dist/esm-es5/zonos-policy-consent_2.entry.js +31 -1
  275. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +5 -1
  276. package/dist/esm-es5/zonos-stripe-input.entry.js +27 -1
  277. package/dist/esm-es5/zonos-text.entry.js +24 -1
  278. package/dist/esm-es5/zonos-tooltip.entry.js +7 -1
  279. package/dist/esm-es5/zonos-v-stack.entry.js +5 -1
  280. package/dist/esm-es5/zonosStore-DrIOAz4M.js +1153 -0
  281. package/dist/scripts/index.d.ts +1171 -521
  282. package/dist/scripts/index.js +1 -1
  283. package/dist/scripts/loadZonos.js +1 -1
  284. package/dist/scripts/zonos.js +1 -1
  285. package/dist/types/__tests__/jsxWithChildren.types.d.ts +14 -0
  286. package/dist/types/__tests__/vitest-globals.d.ts +1 -0
  287. package/dist/types/components/store/checkout/cart.d.ts +9 -9
  288. package/dist/types/components/utils/api/checkItemRestrictions.d.ts +2 -2
  289. package/dist/types/components/utils/api/getLocaleMessages.d.ts +5 -5
  290. package/dist/types/components/utils/checkout/isShippableCountry.d.ts +5 -1
  291. package/dist/types/components/utils/hello/detectItemRestrictions.d.ts +2 -2
  292. package/dist/types/components.d.ts +797 -147
  293. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +127 -127
  294. package/dist/types/stencil-public-runtime.d.ts +205 -12
  295. package/dist/types/types/generated/graphql.frontend.types.d.ts +60 -60
  296. package/dist/types/types/generated/graphql.frontend.types.ts +55 -55
  297. package/dist/types/types/generated/graphql.internal.types.d.ts +1290 -1285
  298. package/dist/types/types/generated/graphql.internal.types.ts +1113 -1108
  299. package/dist/zonos-elements/index.esm.js +1 -1
  300. package/dist/zonos-elements/p-02ef0f99.system.entry.js +6 -0
  301. package/dist/zonos-elements/{p-1be53c82.entry.js → p-0466650f.entry.js} +1 -1
  302. package/dist/zonos-elements/p-04bfcd72.system.entry.js +152 -0
  303. package/dist/zonos-elements/p-04cc0dac.system.entry.js +198 -0
  304. package/dist/zonos-elements/p-058f07aa.system.entry.js +7 -0
  305. package/dist/zonos-elements/p-0f603278.system.entry.js +5 -0
  306. package/dist/zonos-elements/{p-bb09ee50.entry.js → p-128485dc.entry.js} +1 -1
  307. package/dist/zonos-elements/p-1568ab06.system.entry.js +117 -0
  308. package/dist/zonos-elements/p-2ba738ec.entry.js +1 -0
  309. package/dist/zonos-elements/{p-6afd5fab.entry.js → p-31ac495f.entry.js} +1 -1
  310. package/dist/zonos-elements/p-34d1545a.entry.js +1 -0
  311. package/dist/zonos-elements/p-39c8a898.entry.js +1 -0
  312. package/dist/zonos-elements/p-3ERbuo5a.js +1 -0
  313. package/dist/zonos-elements/p-450ed170.system.entry.js +46 -0
  314. package/dist/zonos-elements/p-4973f8d8.system.entry.js +180 -0
  315. package/dist/zonos-elements/p-49e7bb1e.system.entry.js +7 -0
  316. package/dist/zonos-elements/p-4a54f664.entry.js +1 -0
  317. package/dist/zonos-elements/p-4ab1c533.system.entry.js +4 -0
  318. package/dist/zonos-elements/p-5024df2d.system.entry.js +666 -0
  319. package/dist/zonos-elements/p-5562a955.system.entry.js +7 -0
  320. package/dist/zonos-elements/p-5836d426.system.entry.js +49 -0
  321. package/dist/zonos-elements/p-5a631080.system.entry.js +13 -0
  322. package/dist/zonos-elements/{p-2ce039e5.entry.js → p-5c08d36b.entry.js} +1 -1
  323. package/dist/zonos-elements/{p-aed4ffb2.entry.js → p-5d3079e8.entry.js} +1 -1
  324. package/dist/zonos-elements/p-629f09dc.system.entry.js +171 -0
  325. package/dist/zonos-elements/p-64e7bc5b.entry.js +1 -0
  326. package/dist/zonos-elements/p-6b0afaa7.entry.js +1 -0
  327. package/dist/zonos-elements/p-6f742021.entry.js +1 -0
  328. package/dist/zonos-elements/p-7681798d.entry.js +1 -0
  329. package/dist/zonos-elements/p-7a5d2211.system.entry.js +115 -0
  330. package/dist/zonos-elements/{p-6de2f9c9.entry.js → p-7ae48e31.entry.js} +1 -1
  331. package/dist/zonos-elements/{p-f37150e8.entry.js → p-8328f44d.entry.js} +1 -1
  332. package/dist/zonos-elements/{p-171a7e1e.entry.js → p-844a743a.entry.js} +1 -1
  333. package/dist/zonos-elements/p-891b47d7.entry.js +1 -0
  334. package/dist/zonos-elements/p-89ddab88.entry.js +1 -0
  335. package/dist/zonos-elements/p-8cd3f1e2.entry.js +1 -0
  336. package/dist/zonos-elements/p-9818f823.entry.js +1 -0
  337. package/dist/zonos-elements/p-9b399685.system.entry.js +10 -0
  338. package/dist/zonos-elements/p-9b6482ef.entry.js +1 -0
  339. package/dist/zonos-elements/{p-2c44e013.entry.js → p-9ebe9a36.entry.js} +1 -1
  340. package/dist/zonos-elements/p-B2EZRfoq.system.js +193 -0
  341. package/dist/zonos-elements/p-B3GRrRtL.system.js +5 -0
  342. package/dist/zonos-elements/p-BANhKkF2.system.js +1 -0
  343. package/dist/zonos-elements/p-BDopxBpR.system.js +6 -0
  344. package/dist/zonos-elements/p-BJufDgh3.js +1 -0
  345. package/dist/zonos-elements/p-BLQFeIez.system.js +191 -0
  346. package/dist/zonos-elements/p-BNtWsPPP.system.js +7 -0
  347. package/dist/zonos-elements/p-BSgVcCxT.system.js +9 -0
  348. package/dist/zonos-elements/p-BXjdMMUy.js +1 -0
  349. package/dist/zonos-elements/p-BbgqQIHv.system.js +9 -0
  350. package/dist/zonos-elements/p-BgSx82zO.system.js +11 -0
  351. package/dist/zonos-elements/p-Bi-s0fp_.system.js +17 -0
  352. package/dist/zonos-elements/p-Bu9WCfUC.system.js +5 -0
  353. package/dist/zonos-elements/p-C19J2XSh.js +1 -0
  354. package/dist/zonos-elements/p-C2QMVeWW.js +1 -0
  355. package/dist/zonos-elements/p-C2j7R11h.system.js +11 -0
  356. package/dist/zonos-elements/p-CEl4pzNq.js +1 -0
  357. package/dist/zonos-elements/p-CICjAi70.js +1 -0
  358. package/dist/zonos-elements/p-CIevpRv_.system.js +162 -0
  359. package/dist/zonos-elements/{p-344a6278.js → p-CJCoACvU.js} +2 -2
  360. package/dist/zonos-elements/p-CKBbIU4b.system.js +14 -0
  361. package/dist/zonos-elements/p-CKTIJ2Gr.js +1 -0
  362. package/dist/zonos-elements/p-CKhl__Kc.system.js +4 -0
  363. package/dist/zonos-elements/p-CPnR_T0a.system.js +1153 -0
  364. package/dist/zonos-elements/p-CQqNJo0D.system.js +13 -0
  365. package/dist/zonos-elements/p-CYdt69j5.system.js +241 -0
  366. package/dist/zonos-elements/p-CZl1nwqv.system.js +46 -0
  367. package/dist/zonos-elements/p-CaAod213.system.js +8 -0
  368. package/dist/zonos-elements/p-CaUXHglQ.system.js +153 -0
  369. package/dist/zonos-elements/{p-45bd8072.system.js → p-CeLaK0Ff.system.js} +1 -1
  370. package/dist/zonos-elements/p-CtEsvWI6.js +1 -0
  371. package/dist/zonos-elements/p-D-DawUYF.system.js +1 -0
  372. package/dist/zonos-elements/p-D0erXw7p.js +1 -0
  373. package/dist/zonos-elements/p-D31lQiWo.system.js +21 -0
  374. package/dist/zonos-elements/p-D5AtAlJx.system.js +13 -0
  375. package/dist/zonos-elements/p-DBOI98r5.system.js +7 -0
  376. package/dist/zonos-elements/{p-41dd1cb8.js → p-DE4a-QD5.js} +1 -1
  377. package/dist/zonos-elements/p-DGsEWFDU.system.js +8 -0
  378. package/dist/zonos-elements/{p-a4c7ee17.js → p-DHwpNxG9.js} +1 -1
  379. package/dist/zonos-elements/p-DIJaXkiE.system.js +332 -0
  380. package/dist/zonos-elements/{p-eef5b0cc.js → p-DJIdCwJ5.js} +1 -1
  381. package/dist/zonos-elements/p-DPW1yXt9.system.js +517 -0
  382. package/dist/zonos-elements/{p-6bdc5c96.js → p-DTgv0QpG.js} +1 -1
  383. package/dist/zonos-elements/p-DW-fW8yR.system.js +205 -0
  384. package/dist/zonos-elements/p-Dj-O6VfM.system.js +7 -0
  385. package/dist/zonos-elements/p-DjuFsKLG.js +1 -0
  386. package/dist/zonos-elements/p-DkpYo2Fs.js +1 -0
  387. package/dist/zonos-elements/p-DnjGkbEy.js +1 -0
  388. package/dist/zonos-elements/p-Dw-5yD9y.system.js +227 -0
  389. package/dist/zonos-elements/p-LypTHRUC.js +1 -0
  390. package/dist/zonos-elements/p-MfsSJh_D.system.js +8 -0
  391. package/dist/zonos-elements/p-YdrG78th.js +1 -0
  392. package/dist/zonos-elements/p-_lt63o7c.js +3 -0
  393. package/dist/zonos-elements/p-a38e62cc.entry.js +1 -0
  394. package/dist/zonos-elements/p-a6faab6a.entry.js +1 -0
  395. package/dist/zonos-elements/p-adfee3a3.entry.js +1 -0
  396. package/dist/zonos-elements/p-b14819ab.system.entry.js +14 -0
  397. package/dist/zonos-elements/{p-0c972ddf.entry.js → p-b68ca96f.entry.js} +1 -1
  398. package/dist/zonos-elements/p-b6deae2b.system.entry.js +5 -0
  399. package/dist/zonos-elements/p-bdba7d9e.system.entry.js +25 -0
  400. package/dist/zonos-elements/p-be64d823.system.entry.js +16 -0
  401. package/dist/zonos-elements/p-beeb9d36.system.entry.js +21 -0
  402. package/dist/zonos-elements/p-cadf6b63.system.entry.js +33 -0
  403. package/dist/zonos-elements/p-cc5306fe.system.entry.js +24 -0
  404. package/dist/zonos-elements/p-cc949df1.system.entry.js +7 -0
  405. package/dist/zonos-elements/{p-5d110c2b.entry.js → p-cdffc9b6.entry.js} +1 -1
  406. package/dist/zonos-elements/p-cf5688f7.entry.js +1 -0
  407. package/dist/zonos-elements/p-d05Ku7gM.system.js +24 -0
  408. package/dist/zonos-elements/p-d33dfc78.system.entry.js +2966 -0
  409. package/dist/zonos-elements/p-d55b9664.system.entry.js +157 -0
  410. package/dist/zonos-elements/p-daf9fa07.system.entry.js +133 -0
  411. package/dist/zonos-elements/p-dcdbc610.system.entry.js +27 -0
  412. package/dist/zonos-elements/p-e101d722.system.entry.js +63 -0
  413. package/dist/zonos-elements/{p-9639a8ed.entry.js → p-e284d329.entry.js} +1 -1
  414. package/dist/zonos-elements/{p-5227aa69.entry.js → p-e9320825.entry.js} +1 -1
  415. package/dist/zonos-elements/p-ea8790aa.entry.js +1 -0
  416. package/dist/zonos-elements/{p-6ee4e027.entry.js → p-eadaefdc.entry.js} +1 -1
  417. package/dist/zonos-elements/p-f27317d3.system.entry.js +31 -0
  418. package/dist/zonos-elements/p-f2cedbcd.system.entry.js +121 -0
  419. package/dist/zonos-elements/p-f57495dc.entry.js +1 -0
  420. package/dist/zonos-elements/p-f6e0aeba.system.entry.js +1043 -0
  421. package/dist/zonos-elements/p-f8fd756a.system.entry.js +15 -0
  422. package/dist/zonos-elements/{p-7ada039e.entry.js → p-fe778437.entry.js} +1 -1
  423. package/dist/zonos-elements/{p-adfbf57b.js → p-i1iCWKdv.js} +1 -1
  424. package/dist/zonos-elements/p-lGLcGvEA.js +1 -0
  425. package/dist/zonos-elements/p-nOb4xPLF.system.js +17 -0
  426. package/dist/zonos-elements/p-nU86HJ5w.js +1 -0
  427. package/dist/zonos-elements/p-pfIceXbY.js +1 -0
  428. package/dist/zonos-elements/p-smUku7Ku.system.js +5 -0
  429. package/dist/zonos-elements/p-t_ClFAJR.js +1 -0
  430. package/dist/zonos-elements/p-uV7m6KrY.system.js +46 -0
  431. package/dist/zonos-elements/p-vN6p_rO1.system.js +11 -0
  432. package/dist/zonos-elements/p-zRjRcLMp.js +1 -0
  433. package/dist/zonos-elements/p-zVLAvre1.system.js +60 -0
  434. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  435. package/dist/zonos-elements/zonos-elements.js +1 -1
  436. package/loader/index.d.ts +1 -1
  437. package/package.json +28 -32
  438. package/dist/cjs/RemoveIcon-081ac073.js +0 -5
  439. package/dist/cjs/debounce-7ca3c878.js +0 -357
  440. package/dist/cjs/isDarkColor-a6e6fd5e.js +0 -1202
  441. package/dist/cjs/throttle-366c204b.js +0 -76
  442. package/dist/cjs/zonosStore-0af0b937.js +0 -3030
  443. package/dist/esm/RemoveIcon-9dc5dd1a.js +0 -3
  444. package/dist/esm/debounce-84ade9c2.js +0 -355
  445. package/dist/esm/isDarkColor-939d8e9c.js +0 -1199
  446. package/dist/esm/throttle-c4c24e86.js +0 -74
  447. package/dist/esm/zonosStore-eca1e364.js +0 -3017
  448. package/dist/esm-es5/VarianceTest-572cecf5.js +0 -1
  449. package/dist/esm-es5/cart-d04742f5.js +0 -1
  450. package/dist/esm-es5/classes-0d95c529.js +0 -1
  451. package/dist/esm-es5/cleanHtmlMarkdown-87d195f6.js +0 -1
  452. package/dist/esm-es5/collect-4c310a16.js +0 -1
  453. package/dist/esm-es5/containsNonLatinChars-2d8810c3.js +0 -1
  454. package/dist/esm-es5/createCustomEvent-58159025.js +0 -1
  455. package/dist/esm-es5/debounce-84ade9c2.js +0 -1
  456. package/dist/esm-es5/formatStringWithLinks-0d48f183.js +0 -1
  457. package/dist/esm-es5/getBorderRadius-1f7be586.js +0 -1
  458. package/dist/esm-es5/getContrastColor-4c0ae8c1.js +0 -1
  459. package/dist/esm-es5/getGenericSettingsOverride-0bc3e118.js +0 -1
  460. package/dist/esm-es5/getMissingRequiredShippingFields-f0878e32.js +0 -1
  461. package/dist/esm-es5/handleFetch-a844cac1.js +0 -1
  462. package/dist/esm-es5/hasInclusivePrice-d801be22.js +0 -1
  463. package/dist/esm-es5/helpers-2f6955b1.js +0 -1
  464. package/dist/esm-es5/index-cfd394c8.js +0 -13
  465. package/dist/esm-es5/invoice-86487dac.js +0 -1
  466. package/dist/esm-es5/isColorVariable-0a94004f.js +0 -1
  467. package/dist/esm-es5/isContrastColor-9fa0d013.js +0 -1
  468. package/dist/esm-es5/isDarkColor-939d8e9c.js +0 -1
  469. package/dist/esm-es5/isSameHostCheckoutLink-c1b88ab7.js +0 -1
  470. package/dist/esm-es5/localization-36a4dc22.js +0 -1
  471. package/dist/esm-es5/paypal-997935ab.js +0 -17
  472. package/dist/esm-es5/placeTestOrder-a53f2056.js +0 -1
  473. package/dist/esm-es5/renderCheckoutCurrency-e0e16eb7.js +0 -1
  474. package/dist/esm-es5/shouldRenderTaxIdInput-ef7b5860.js +0 -1
  475. package/dist/esm-es5/shouldShowLanguageSelect-328f50e2.js +0 -1
  476. package/dist/esm-es5/styles-6fc2fad9.js +0 -1
  477. package/dist/esm-es5/submitGtag-71c450b6.js +0 -1
  478. package/dist/esm-es5/throttle-c4c24e86.js +0 -1
  479. package/dist/esm-es5/updateCheckoutSessionAttributes-23b222de.js +0 -1
  480. package/dist/esm-es5/zonosStore-eca1e364.js +0 -1
  481. package/dist/zonos-elements/p-01174496.system.js +0 -1
  482. package/dist/zonos-elements/p-06f798ee.system.js +0 -1
  483. package/dist/zonos-elements/p-083a11cd.system.entry.js +0 -1
  484. package/dist/zonos-elements/p-08e7107d.js +0 -1
  485. package/dist/zonos-elements/p-0b29169b.js +0 -1
  486. package/dist/zonos-elements/p-0c327a57.system.entry.js +0 -1
  487. package/dist/zonos-elements/p-0d2f81ce.system.js +0 -1
  488. package/dist/zonos-elements/p-0e199a6c.system.entry.js +0 -1
  489. package/dist/zonos-elements/p-0ff845ec.js +0 -1
  490. package/dist/zonos-elements/p-117953db.system.entry.js +0 -1
  491. package/dist/zonos-elements/p-14afffa8.system.js +0 -1
  492. package/dist/zonos-elements/p-1834f486.js +0 -1
  493. package/dist/zonos-elements/p-1aa93d1e.system.js +0 -1
  494. package/dist/zonos-elements/p-1ac0c631.system.js +0 -1
  495. package/dist/zonos-elements/p-1b8771bb.js +0 -1
  496. package/dist/zonos-elements/p-1cdd27ec.js +0 -1
  497. package/dist/zonos-elements/p-1cfb5c2a.system.entry.js +0 -1
  498. package/dist/zonos-elements/p-1f8648c8.system.entry.js +0 -1
  499. package/dist/zonos-elements/p-23e7c655.system.js +0 -1
  500. package/dist/zonos-elements/p-2670438c.system.js +0 -1
  501. package/dist/zonos-elements/p-27660512.js +0 -1
  502. package/dist/zonos-elements/p-277b77e3.js +0 -1
  503. package/dist/zonos-elements/p-278abdcf.entry.js +0 -1
  504. package/dist/zonos-elements/p-29b60bf3.system.js +0 -1
  505. package/dist/zonos-elements/p-2b97f7ed.js +0 -1
  506. package/dist/zonos-elements/p-2bbe9d91.js +0 -1
  507. package/dist/zonos-elements/p-2c7a425d.entry.js +0 -1
  508. package/dist/zonos-elements/p-2cab1746.system.entry.js +0 -1
  509. package/dist/zonos-elements/p-3490b6d0.entry.js +0 -1
  510. package/dist/zonos-elements/p-398d9022.system.js +0 -1
  511. package/dist/zonos-elements/p-3a26e5e7.system.entry.js +0 -1
  512. package/dist/zonos-elements/p-40a4c8a2.system.js +0 -1
  513. package/dist/zonos-elements/p-40af92a1.system.entry.js +0 -1
  514. package/dist/zonos-elements/p-4160bbc2.system.js +0 -1
  515. package/dist/zonos-elements/p-41f1697a.system.entry.js +0 -1
  516. package/dist/zonos-elements/p-4671fde7.entry.js +0 -1
  517. package/dist/zonos-elements/p-490d7fec.system.entry.js +0 -1
  518. package/dist/zonos-elements/p-4941c096.system.entry.js +0 -1
  519. package/dist/zonos-elements/p-4b159ff3.system.js +0 -1
  520. package/dist/zonos-elements/p-502d6eeb.js +0 -1
  521. package/dist/zonos-elements/p-50d088f7.system.entry.js +0 -1
  522. package/dist/zonos-elements/p-51e4e61a.system.entry.js +0 -1
  523. package/dist/zonos-elements/p-551fa762.system.js +0 -1
  524. package/dist/zonos-elements/p-5b990c91.entry.js +0 -1
  525. package/dist/zonos-elements/p-60832726.system.js +0 -1
  526. package/dist/zonos-elements/p-67426156.system.js +0 -1
  527. package/dist/zonos-elements/p-6890e060.system.js +0 -1
  528. package/dist/zonos-elements/p-6eaf7c9e.system.entry.js +0 -1
  529. package/dist/zonos-elements/p-7176f582.entry.js +0 -1
  530. package/dist/zonos-elements/p-7261e245.system.js +0 -13
  531. package/dist/zonos-elements/p-7352abe9.js +0 -1
  532. package/dist/zonos-elements/p-74230da8.system.js +0 -1
  533. package/dist/zonos-elements/p-76834a0a.system.entry.js +0 -1
  534. package/dist/zonos-elements/p-77993ba1.entry.js +0 -1
  535. package/dist/zonos-elements/p-78f8e594.entry.js +0 -1
  536. package/dist/zonos-elements/p-7ac8846c.system.js +0 -1
  537. package/dist/zonos-elements/p-7b525c75.system.js +0 -1
  538. package/dist/zonos-elements/p-7f688485.system.entry.js +0 -1
  539. package/dist/zonos-elements/p-7fbbdb0f.system.js +0 -1
  540. package/dist/zonos-elements/p-8861d47e.js +0 -1
  541. package/dist/zonos-elements/p-8a0b8175.system.entry.js +0 -1
  542. package/dist/zonos-elements/p-8a6c4017.js +0 -1
  543. package/dist/zonos-elements/p-8be02f3a.system.js +0 -1
  544. package/dist/zonos-elements/p-8d14cb66.entry.js +0 -1
  545. package/dist/zonos-elements/p-8e6338b9.entry.js +0 -1
  546. package/dist/zonos-elements/p-916228fb.system.js +0 -1
  547. package/dist/zonos-elements/p-944c1fb3.entry.js +0 -1
  548. package/dist/zonos-elements/p-947e4402.system.entry.js +0 -1
  549. package/dist/zonos-elements/p-96ab529e.entry.js +0 -1
  550. package/dist/zonos-elements/p-998975a3.system.js +0 -18
  551. package/dist/zonos-elements/p-9ad640b2.system.entry.js +0 -1
  552. package/dist/zonos-elements/p-9ecb9afc.system.entry.js +0 -1
  553. package/dist/zonos-elements/p-a04e2750.system.entry.js +0 -1
  554. package/dist/zonos-elements/p-a1bd3a53.system.js +0 -1
  555. package/dist/zonos-elements/p-a553e132.js +0 -1
  556. package/dist/zonos-elements/p-acb7dee1.system.entry.js +0 -1
  557. package/dist/zonos-elements/p-af19722c.system.js +0 -1
  558. package/dist/zonos-elements/p-b4ae66cb.system.entry.js +0 -1
  559. package/dist/zonos-elements/p-bcaffb85.system.entry.js +0 -1
  560. package/dist/zonos-elements/p-be6cd28c.system.entry.js +0 -1
  561. package/dist/zonos-elements/p-bf37ccc7.system.js +0 -1
  562. package/dist/zonos-elements/p-c0af11fe.system.js +0 -1
  563. package/dist/zonos-elements/p-c112fa12.system.entry.js +0 -1
  564. package/dist/zonos-elements/p-c4321a1a.system.js +0 -1
  565. package/dist/zonos-elements/p-c5d1217f.system.js +0 -1
  566. package/dist/zonos-elements/p-c7329333.entry.js +0 -1
  567. package/dist/zonos-elements/p-c756a59d.system.js +0 -1
  568. package/dist/zonos-elements/p-c77b049c.entry.js +0 -1
  569. package/dist/zonos-elements/p-ca87ada5.system.entry.js +0 -1
  570. package/dist/zonos-elements/p-ce75b047.js +0 -2
  571. package/dist/zonos-elements/p-d1a51fac.js +0 -1
  572. package/dist/zonos-elements/p-d6a73125.system.entry.js +0 -1
  573. package/dist/zonos-elements/p-d75726e5.system.entry.js +0 -1
  574. package/dist/zonos-elements/p-d938f42f.system.js +0 -1
  575. package/dist/zonos-elements/p-dd866ca3.system.entry.js +0 -1
  576. package/dist/zonos-elements/p-dd8a7bf4.entry.js +0 -1
  577. package/dist/zonos-elements/p-de58684b.system.js +0 -1
  578. package/dist/zonos-elements/p-e160b75f.js +0 -1
  579. package/dist/zonos-elements/p-e1ef3984.system.entry.js +0 -1
  580. package/dist/zonos-elements/p-e27b8e18.entry.js +0 -1
  581. package/dist/zonos-elements/p-e4b07f7d.system.entry.js +0 -1
  582. package/dist/zonos-elements/p-e4dc24e1.system.js +0 -1
  583. package/dist/zonos-elements/p-e5865ad9.system.js +0 -1
  584. package/dist/zonos-elements/p-e7d7afda.entry.js +0 -1
  585. package/dist/zonos-elements/p-ebbda085.system.js +0 -1
  586. package/dist/zonos-elements/p-f4720b0a.js +0 -1
  587. package/dist/zonos-elements/p-f8356934.system.entry.js +0 -1
  588. package/dist/zonos-elements/p-f9346f1c.entry.js +0 -1
  589. package/dist/zonos-elements/p-fc5f6113.js +0 -1
  590. package/dist/zonos-elements/p-fe28dbe6.entry.js +0 -1
  591. package/loader/package.json +0 -11
  592. /package/dist/cjs/{CheckoutConfig-27c82f94.js → CheckoutConfig-B7JRM7yr.js} +0 -0
  593. /package/dist/cjs/{ShortAddressCode-bec338b0.js → ShortAddressCode-C5l520-F.js} +0 -0
  594. /package/dist/cjs/{TaxId-cd9d490e.js → TaxId-Q6aDqqWv.js} +0 -0
  595. /package/dist/cjs/{VarianceTest-bec00ea8.js → VarianceTest-C98whVgO.js} +0 -0
  596. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  597. /package/dist/cjs/{buildCartItemsByTempCart-edddbf4b.js → buildCartItemsByTempCart-ILzonEjb.js} +0 -0
  598. /package/dist/cjs/{classes-b7918f56.js → classes-D_DL168u.js} +0 -0
  599. /package/dist/cjs/{cleanHtmlMarkdown-57147de7.js → cleanHtmlMarkdown-DpT-nZLH.js} +0 -0
  600. /package/dist/cjs/{containsNonLatinChars-2be5129b.js → containsNonLatinChars-D_OggJN6.js} +0 -0
  601. /package/dist/cjs/{createCustomEvent-7b6fad95.js → createCustomEvent-Cs5zGImL.js} +0 -0
  602. /package/dist/cjs/{getGenericSettingsOverride-c0ca32b9.js → getGenericSettingsOverride-CL6l6wvX.js} +0 -0
  603. /package/dist/cjs/{getHasMoreSpaceOnRight-4c94667f.js → getHasMoreSpaceOnRight-Cl50u1mb.js} +0 -0
  604. /package/dist/cjs/{isCollectMobileTablet-884d4280.js → isCollectMobileTablet-Cx2nZ15_.js} +0 -0
  605. /package/dist/cjs/{isColorVariable-525dbfa7.js → isColorVariable-CKoJdu9G.js} +0 -0
  606. /package/dist/cjs/{isInvoiceMobileTablet-dde41e4e.js → isInvoiceMobileTablet-CCqFYV6m.js} +0 -0
  607. /package/dist/cjs/{isSameHostCheckoutLink-6148cabb.js → isSameHostCheckoutLink-DbmQ7Ha4.js} +0 -0
  608. /package/dist/cjs/{styles-d1e64fb9.js → styles-nowYls3K.js} +0 -0
  609. /package/dist/esm/{CheckoutConfig-724d7bae.js → CheckoutConfig-D5SpFsQJ.js} +0 -0
  610. /package/dist/esm/{ShortAddressCode-7620e622.js → ShortAddressCode-nJ6oI8-n.js} +0 -0
  611. /package/dist/esm/{TaxId-63a14057.js → TaxId-Cye-evFK.js} +0 -0
  612. /package/dist/esm/{VarianceTest-572cecf5.js → VarianceTest-BJmZPrZl.js} +0 -0
  613. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  614. /package/dist/esm/{buildCartItemsByTempCart-a117f75d.js → buildCartItemsByTempCart-BycjkdlE.js} +0 -0
  615. /package/dist/esm/{classes-0d95c529.js → classes-BJHSB96f.js} +0 -0
  616. /package/dist/esm/{cleanHtmlMarkdown-87d195f6.js → cleanHtmlMarkdown-ByGDytaN.js} +0 -0
  617. /package/dist/esm/{containsNonLatinChars-2d8810c3.js → containsNonLatinChars-C04AWRC2.js} +0 -0
  618. /package/dist/esm/{createCustomEvent-58159025.js → createCustomEvent-XQfWgQLB.js} +0 -0
  619. /package/dist/esm/{getGenericSettingsOverride-0bc3e118.js → getGenericSettingsOverride-HeAZDwVW.js} +0 -0
  620. /package/dist/esm/{getHasMoreSpaceOnRight-70eb913a.js → getHasMoreSpaceOnRight-DAscqB23.js} +0 -0
  621. /package/dist/esm/{isCollectMobileTablet-111b0dd7.js → isCollectMobileTablet-DGlnuxEX.js} +0 -0
  622. /package/dist/esm/{isColorVariable-0a94004f.js → isColorVariable-DXXUq2Lv.js} +0 -0
  623. /package/dist/esm/{isInvoiceMobileTablet-1f7b614e.js → isInvoiceMobileTablet-Clej0Ffe.js} +0 -0
  624. /package/dist/esm/{isSameHostCheckoutLink-c1b88ab7.js → isSameHostCheckoutLink-BxAHnL5J.js} +0 -0
  625. /package/dist/esm/{styles-6fc2fad9.js → styles-BTIeCf3T.js} +0 -0
  626. /package/dist/esm-es5/{RemoveIcon-9dc5dd1a.js → RemoveIcon-C2QMVeWW.js} +0 -0
  627. /package/dist/esm-es5/{ShortAddressCode-7620e622.js → ShortAddressCode-nJ6oI8-n.js} +0 -0
  628. /package/dist/esm-es5/{TaxId-63a14057.js → TaxId-Cye-evFK.js} +0 -0
  629. /package/dist/esm-es5/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  630. /package/dist/esm-es5/{getHasMoreSpaceOnRight-70eb913a.js → getHasMoreSpaceOnRight-DAscqB23.js} +0 -0
  631. /package/dist/esm-es5/{isCollectMobileTablet-111b0dd7.js → isCollectMobileTablet-DGlnuxEX.js} +0 -0
  632. /package/dist/esm-es5/{isInvoiceMobileTablet-1f7b614e.js → isInvoiceMobileTablet-Clej0Ffe.js} +0 -0
  633. /package/dist/zonos-elements/{p-2770ba48.system.js → p-0D0aCMu6.system.js} +0 -0
  634. /package/dist/zonos-elements/{p-b4b7f705.js → p-BJHSB96f.js} +0 -0
  635. /package/dist/zonos-elements/{p-0a377722.js → p-BJmZPrZl.js} +0 -0
  636. /package/dist/zonos-elements/{p-96d77739.js → p-BTIeCf3T.js} +0 -0
  637. /package/dist/zonos-elements/{p-56ba5cbf.system.js → p-BbPAtVJG.system.js} +0 -0
  638. /package/dist/zonos-elements/{p-11206fe2.js → p-BxAHnL5J.js} +0 -0
  639. /package/dist/zonos-elements/{p-cc6ad18a.js → p-ByGDytaN.js} +0 -0
  640. /package/dist/zonos-elements/{p-83666056.js → p-BycjkdlE.js} +0 -0
  641. /package/dist/zonos-elements/{p-0c64dbbb.js → p-C04AWRC2.js} +0 -0
  642. /package/dist/zonos-elements/{p-655ec440.system.js → p-C29tlYn0.system.js} +0 -0
  643. /package/dist/zonos-elements/{p-2adbbce7.system.js → p-CLDnjFm5.system.js} +0 -0
  644. /package/dist/zonos-elements/{p-989cb22b.system.js → p-Cby4EkFu.system.js} +0 -0
  645. /package/dist/zonos-elements/{p-1f3549c6.js → p-Clej0Ffe.js} +0 -0
  646. /package/dist/zonos-elements/{p-bcf5cffb.js → p-Cye-evFK.js} +0 -0
  647. /package/dist/zonos-elements/{p-b2d81c98.js → p-D5SpFsQJ.js} +0 -0
  648. /package/dist/zonos-elements/{p-5883217a.js → p-DAscqB23.js} +0 -0
  649. /package/dist/zonos-elements/{p-579932a7.js → p-DGlnuxEX.js} +0 -0
  650. /package/dist/zonos-elements/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  651. /package/dist/zonos-elements/{p-ae393255.js → p-DXXUq2Lv.js} +0 -0
  652. /package/dist/zonos-elements/{p-e7b0c156.js → p-HeAZDwVW.js} +0 -0
  653. /package/dist/zonos-elements/{p-595f5dd2.js → p-XQfWgQLB.js} +0 -0
  654. /package/dist/zonos-elements/{p-bc7bf53e.system.js → p-Z99tSPFR.system.js} +0 -0
  655. /package/dist/zonos-elements/{p-6f23a26a.system.js → p-_GDmY2H7.system.js} +0 -0
  656. /package/dist/zonos-elements/{p-1d42cd20.js → p-nJ6oI8-n.js} +0 -0
@@ -0,0 +1 @@
1
+ import{r as t,d as e,h as d,a as o,g as n}from"./p-_lt63o7c.js";import{t as i,s,y as r,l as a}from"./p-DTgv0QpG.js";import{z as l,a as $}from"./p-CtEsvWI6.js";import{M as u}from"./p-LypTHRUC.js";import{c}from"./p-BJHSB96f.js";import{U as h,b as f,w as p,t as v}from"./p-DHwpNxG9.js";import{R as b}from"./p-C2QMVeWW.js";import{i as m,c as y}from"./p-C04AWRC2.js";import{g}from"./p-3ERbuo5a.js";import{t as z}from"./p-BJufDgh3.js";import{i as w}from"./p-DE4a-QD5.js";import{a as x,s as k}from"./p-DnjGkbEy.js";import{l as C}from"./p-BJmZPrZl.js";import{c as S,s as E}from"./p-Cye-evFK.js";import{i as N,a as O}from"./p-DJIdCwJ5.js";import{i as I}from"./p-YdrG78th.js";import"./p-D0erXw7p.js";import"./p-nJ6oI8-n.js";const A=class{constructor(o){t(this,o),this.closeCompletionDialog=e(this,"closeCompletionDialog",7),this.completionSubmit=e(this,"completionSubmit",7),this.continueLoading=!1,this.dialogOpen=!1,this.isMobile=!1,this.missingFields=[],this.values={},this.showError=!1,this.isFieldMissing=t=>this.missingFields.some((e=>e.key===t)),this.isFieldValid=t=>{var e,d,o;return"postal_code"===t?(null!==(d=null===(e=this.values.postal_code)||void 0===e?void 0:e.trim().length)&&void 0!==d?d:0)>=u:!!(null===(o=this.values[t])||void 0===o?void 0:o.trim())},this.getFieldError=t=>this.showError&&!this.isFieldValid(t),this.updateValue=(t,e)=>{this.values=Object.assign(Object.assign({},this.values),{[t]:e}),this.showError&&(this.showError=!this.isComplete())},this.isComplete=()=>this.missingFields.every((t=>"lastName"===t.key?this.isFieldValid("firstName")&&this.isFieldValid("lastName"):this.isFieldValid(t.key))),this.submitHandler=()=>{this.isComplete()?this.completionSubmit.emit(this.values):this.showError=!0},this.renderInput=({key:t,label:e})=>d("zonos-input",{class:`zonos--completion-input zonos--completion-${t}`,inputLabel:e,inputValue:this.values[t]||"",isError:this.getFieldError(t),onInputChange:e=>this.updateValue(t,e.detail)}),this.renderField=(t,e)=>this.isFieldMissing(t)?this.renderInput({key:t,label:e}):null,this.renderNameFields=()=>this.isFieldMissing("lastName")?d("div",{class:"zonos--completion-name-row"},this.renderInput({key:"firstName",label:i("First name")}),this.renderInput({key:"lastName",label:i("Last name")})):null}async watchDialogOpen(t){var e;if(t){await new Promise((t=>setTimeout(t,100)));const{firstName:t}=h({name:null===(e=this.shippingAddress)||void 0===e?void 0:e.name});this.values=this.isFieldMissing("lastName")?{firstName:t}:{},this.showError=!1}}render(){const t="#ffffff"===(this.submitBtnColor||l.appearance.colorSecondary)?"outline":this.submitBtnType||"standard";return d(o,{key:"9a89376022ebd8f5793882fb13a3502deca001f8",class:c(["zonos--address-completion-dialog zonos--elements",this.isMobile&&"mobile"])},d("zonos-dialog",{key:"00ff3912a7bf8d021441440f0de2825b49f7b78e",isLoading:!1,mobile:this.isMobile,noBodyPadding:!0,noBorder:!0,noClickOutside:!0,noCloseButton:!0,onCloseDialog:()=>this.closeCompletionDialog.emit(),open:this.dialogOpen,width:"568px"},d("div",{key:"1ba1cd333bd1f362a77f1f114ac50c309ed5ccd6",class:"zonos--body"},d("div",{key:"ccf9f54ff4b26e5443ff5c8276e5c5d36aac332b",class:"zonos--dialog-header"},d("div",{key:"01e073aa559c4040a6599aefb3bf8cb967928929",class:"zonos--dialog-title"},d("zonos-text",{key:"8472a72f6274646bb87d150c82722f93c861ae72",type:"title"},i("Complete your shipping address")),d("zonos-button",{key:"e9a6c2cbc3d64bf87e94850c1126119687f75e7d",class:"zonos--close-button",icon:d("zonos-icon",{"aria-label":"Close checkout dialog",content:b}),noBackground:!0,onClick:()=>this.closeCompletionDialog.emit(),title:"Close checkout dialog"})),d("zonos-text",{key:"c9ff785b746810f0c266071ee9a3f433ad645a2b"},i("This saved address is missing information required to ship internationally. Please add the details below."))),d("div",{key:"86e2b0da7dbcd1370b80fc8c53e8a7de4c11ed74",class:"zonos--group"},d("div",{key:"1542bb7f0b9df16f5ce36d38dc9408a1b3e836a7",class:"zonos--selected-address"},d("zonos-text",{key:"2572e3e44a9c81f6694e4939de39951ec659c8fa",class:"zonos--selected-label",type:"semiBoldLabel"},i("Selected address")),d("zonos-address-display",{key:"8781622b3d057cfbdba59e13d5fabf76f3a7a7dd",addressType:"shipping",currentAddress:this.shippingAddress})),d("div",{key:"ac3a5f6566c2179045a784b661b7e82c7b371a3f",class:"zonos--completion-fields"},this.renderNameFields(),this.renderField("state",i("State/Province")),this.renderField("postal_code",i("Postal code")))),d("div",{key:"1007d7f6c671fbd94dd3027332d2d7ac1edeef6e",class:"zonos--group-btn"},d("div",{key:"22fe2c8d03d7b3c680eea2b4afebf1868b5b6c0b",class:"zonos--button-wrapper"},d("zonos-button",{key:"dbcf1aa175992bff762ecc36108bf94090b7df0e",class:"zonos--cancel-btn",onClick:()=>this.closeCompletionDialog.emit(),variant:"subtle"},i("Cancel")),d("zonos-button",{key:"63b0f966565e86ea9bac640b2fa690287c94b11f",backgroundColor:this.submitBtnColor,class:"zonos--submit-btn",loading:this.continueLoading,onClick:()=>this.submitHandler(),size:"sm",variant:t},i("Save and continue")))))))}static get watchers(){return{dialogOpen:[{watchDialogOpen:0}]}}};A.style=":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}";const T=class{constructor(d){t(this,d),this.addressChange=e(this,"addressChange",7),this.localAddress=this.currentAddress,this.onInputChange=({key:t,value:e})=>{this.addressChange.emit(Object.assign(Object.assign({},this.localAddress),{[t]:e}))}}watchCurrentAddress(){var t,e,d,o,n,i;const{city:s,line1:r,line2:a,name:l,postal_code:$,state:u}=this.currentAddress;this.localAddress=Object.assign(Object.assign({},this.currentAddress),{city:(null===(t=this.translatedAddress.city)||void 0===t?void 0:t[s])||s,line1:(null===(e=this.translatedAddress.line1)||void 0===e?void 0:e[r])||r,line2:(null===(d=this.translatedAddress.line2)||void 0===d?void 0:d[a])||a,name:(null===(o=this.translatedAddress.name)||void 0===o?void 0:o[l])||l,postal_code:(null===(n=this.translatedAddress.postal_code)||void 0===n?void 0:n[$])||$,state:(null===(i=this.translatedAddress.state)||void 0===i?void 0:i[u])||u})}componentWillLoad(){this.watchCurrentAddress()}render(){const{city:t,country:e,line1:n,line2:s,name:r,phone:a,postal_code:l,state:$}=this.localAddress,{firstName:u,lastName:c}=h({name:r});return d(o,{key:"44edb799473e427b08e17d6d20f08a028a3cc688",class:"zonos--address-form zonos--elements"},d("div",{key:"99c2d5b58464bebd7bb3e5c2a4ac3aa04d80b47f",class:"zonos--title"},d("zonos-text",{key:"5a86048c7d768b795db1416182e2b22458924601",textColor:"gray-700",type:"smallHeader"},i("shipping"===this.addressType?"Shipping":"Billing"))),d("div",{key:"a907058d970cb6674b403f79c0946e36a0e61f69",class:"zonos--address-group"},d("div",{key:"fad2f71614c6963015f95e74e297c58a4adee95b",class:"zonos--contact"},d("zonos-text",{key:"0c661050b1b95da56af1046fac39c7fa6de18685",type:"label"},i("Contact")),d("zonos-input",{key:"3e35a5f9d4bca373ef9403da0de53ea895aca61f",class:"zonos--form-email",inputLabel:i("Email"),inputValue:this.currentAddress.email,isDisabled:!0}),d("div",{key:"093cdcc771b4ade381a392a1023d9d037d4e3e35",class:"zonos--name zonos--address-row"},d("zonos-input",{key:"e9d957551070a855179b78da655beaf3b4e731e2",class:"zonos--form-first-name",inputLabel:i("First name"),inputValue:u,isError:m(u),onInputChange:t=>this.onInputChange({key:"name",value:`${t.detail} ${c}`})}),d("zonos-input",{key:"0b86805e872607d367446f5e6ef074974f9840c2",class:"zonos--form-last-name",inputLabel:i("Last name"),inputValue:c,isError:m(c),onInputChange:t=>this.onInputChange({key:"name",value:`${u} ${t.detail}`})}))),d("div",{key:"6447f55e8d173d18cd46cba829527c4d487631a2",class:"zonos--address"},d("zonos-text",{key:"18ef146cc44f658524c6535e851281b62249fa26",type:"label"},i("Address")),d("zonos-input",{key:"95cfb115c4304e8a142ab2e952fc8c4bfbe39e43",class:"zonos--form-country",inputLabel:i("Country"),inputValue:e,isDisabled:!0}),d("zonos-input",{key:"e3774713ec0b0e861981aa9f2c62f6749125e174",class:"zonos--form-line1",inputLabel:i("Address line 1"),inputValue:n,isError:m(n),onInputChange:t=>this.onInputChange({key:"line1",value:t.detail})}),d("zonos-input",{key:"0d1fce85ad42e42b266ad411d4e3a96e4b8b8bf3",class:"zonos--form-line2",inputLabel:i("Address line 2"),inputValue:s,isError:m(s),onInputChange:t=>this.onInputChange({key:"line2",value:t.detail})}),d("div",{key:"5d5e740b711ff65a0366a6c4891f22684f32c74b",class:"zonos--address-row"},d("zonos-input",{key:"8f124a91865c59096ba5c624ec229a3d1545c985",class:"zonos--form-city",inputLabel:i("City"),inputValue:t,isError:m(t),onInputChange:t=>this.onInputChange({key:"city",value:t.detail})}),this.currentAddress.state&&d("zonos-input",{key:"50e852953ba88573929a200bce4c67fab2146245",class:"zonos--form-state",inputLabel:i("State/Province"),inputValue:$,isError:m($),onInputChange:t=>this.onInputChange({key:"state",value:t.detail})})),d("zonos-input",{key:"74c17f1d1a77af3f90100a6832b2c8fe7bdca24e",class:"zonos--form-postal-code",inputLabel:i("Postal code"),inputValue:l,isError:m(l),onInputChange:t=>this.onInputChange({key:"postal_code",value:t.detail})}),d("zonos-input",{key:"20775c4a944fe9305446898109637e5b38229a1d",class:"zonos--form-phone",inputLabel:i("Phone number"),inputValue:a,onInputChange:t=>this.onInputChange({key:"phone",value:t.detail})}))))}static get watchers(){return{translatedAddress:[{watchCurrentAddress:0}]}}};T.style=":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}";const j=class{constructor(d){t(this,d),this.suggestionSelected=e(this,"suggestionSelected",7),this.suggestions=[],this.selectedSuggestionId=null,this.localSuggestions=[],this.lastHoveredSuggestionId=null,this.handleClickOutside=t=>{this.el.contains(t.target)||(this.localSuggestions=[])}}suggestionsChanged(){var t,e;this.localSuggestions=this.suggestions,this.lastHoveredSuggestionId=null!==(e=null===(t=this.suggestions[0])||void 0===t?void 0:t.id)&&void 0!==e?e:null}componentDidLoad(){document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside)}getHighlightedText(t,e){if(!(null==e?void 0:e.length))return[{isMatch:!1,text:t}];const d=[];let o=0;return[...e].sort(((t,e)=>t.startOffset-e.startOffset)).forEach((e=>{e.startOffset>o&&d.push({isMatch:!1,text:t.slice(o,e.startOffset)}),d.push({isMatch:!0,text:t.slice(e.startOffset,e.endOffset)}),o=e.endOffset})),o<t.length&&d.push({isMatch:!1,text:t.slice(o)}),d}render(){return d(o,{key:"9de4179f1bd0057ac71d6b9ed646c034035382f7",class:"zonos--address-suggestions",role:"group",style:{"--zonos--border-radius":g()}},d("ul",{key:"62fa5ed92fafcdd641f9a7eb36e36e62309c9f52","aria-label":"Suggestions",class:"wrapper",role:"listbox"},!!this.localSuggestions.length&&d("li",{key:"27c61b5693720d0b33a75385841476787f92b884","aria-selected":!1,class:"powered-by option",role:"option"},d("div",{key:"fea9f2e8f65cd50fdf28fc45e18beb8976320f0d",class:"powered-by-container"},d("zonos-text",{key:"1fec46f543e3673433b6924f7dca1cbd84e0ef16",type:"caption"},"Suggestions powered by"),d("zonos-text",{key:"7b3fd93c18d4320522d61e07278f5388d14c8bbb",type:"semiBoldLabel"},"Google")),d("zonos-button",{key:"61a8362ab0514a78dd71eaa9bd638dc8b50e2a9c","aria-label":"Clear suggestions",icon:d("zonos-icon",{content:'<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>'}),noBackground:!0,onClick:()=>{this.localSuggestions=[]}})),this.localSuggestions.map((t=>d("li",{"aria-selected":this.selectedSuggestionId===t.id,class:c(["suggestion","option",this.lastHoveredSuggestionId===t.id&&"last-hovered"]),key:t.id,onClick:()=>{this.selectedSuggestionId=t.id,this.suggestionSelected.emit({placeId:t.id,type:this.type})},onMouseEnter:()=>{this.lastHoveredSuggestionId=t.id},role:"option",tabIndex:0},d("zonos-text",null,this.getHighlightedText(t.place,t.matches).map(((t,e)=>d("span",{class:t.isMatch?"highlight":void 0,key:`${e}-${t.text}`},t.text)))))))))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{suggestions:[{suggestionsChanged:0}]}}};j.style=":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)}";const L=class{constructor(d){t(this,d),this.closeUpdateDialog=e(this,"closeUpdateDialog",7),this.continueClicked=e(this,"continueClicked",7),this.continueLoading=!1,this.dialogOpen=!1,this.isMobile=!1,this.showErrorBanner=!1,this.translatedShippingAddressState={},this.translatedBillingAddressState={},this.closeUpdateDialogHandler=()=>{this.closeUpdateDialog.emit()},this.getTranslatedAddress=({currentAddress:t,translatedAddress:e})=>{var d,o,n,i,s,r;const{city:a,line1:l,line2:$,name:u,postal_code:c,state:h}=t;return{city:(null===(d=e.city)||void 0===d?void 0:d[a])||a,line1:(null===(o=e.line1)||void 0===o?void 0:o[l])||l,line2:(null===(n=e.line2)||void 0===n?void 0:n[$])||$,name:(null===(i=e.name)||void 0===i?void 0:i[u])||u,postal_code:(null===(s=e.postal_code)||void 0===s?void 0:s[c])||c,state:(null===(r=e.state)||void 0===r?void 0:r[h])||h}},this.continueClickHandler=async()=>{var t,e,d;this.continueLoading=!0;const o=this.billingAddress?this.getTranslatedAddress({currentAddress:this.billingAddress,translatedAddress:this.translatedBillingAddressState}):null,n=this.getTranslatedAddress({currentAddress:this.shippingAddress,translatedAddress:this.translatedShippingAddressState}),i=y(Object.assign(Object.assign({},n),{country:this.shippingAddress.country})),s=o&&this.billingAddress&&y(Object.assign(Object.assign({},o),{country:this.billingAddress.country})),r=!!Object.keys(i).length,a=!!s&&!!Object.keys(s).length;if(r||a){const o=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelectorAll("zonos-address-form"),n=null==o?void 0:o[0],i=null==o?void 0:o[1],s=(null===(e=null==n?void 0:n.shadowRoot)||void 0===e?void 0:e.querySelector(".has-error"))||(null===(d=null==i?void 0:i.shadowRoot)||void 0===d?void 0:d.querySelector(".has-error"));return s&&s.scrollIntoView({behavior:"smooth",block:"center"}),void(this.continueLoading=!1)}this.continueClicked.emit({billingAddress:o,shippingAddress:n})},this.buildTranslateAddressState=({currentAddress:t,translatedAddress:e})=>{const{city:d,line1:o,line2:n,name:i,postal_code:s,state:r}=t;return{city:{[d]:e.city},line1:{[o]:e.line1},line2:{[n]:e.line2},name:{[i]:e.name},postal_code:{[s]:e.postal_code},state:{[r]:e.state}}}}watchTranslatedShippingAddress(){this.translatedShippingAddressState=this.translatedShippingAddress}watchTranslatedBillingAddress(){this.translatedBillingAddressState=this.translatedBillingAddress}componentWillLoad(){this.watchTranslatedBillingAddress(),this.watchTranslatedShippingAddress()}render(){const t="#ffffff"===(this.submitBtnColor||l.appearance.colorSecondary)?"outline":this.submitBtnType||"standard",e=this.billingAddress,n=this.shippingAddress;return d(o,{key:"655845cef04f4af526b1a1c4e49243c4f2b4c7f6",class:c(["zonos--address-update-dialog zonos--elements",this.isMobile&&"mobile"])},d("zonos-dialog",{key:"eab429bb78ce6f05ba463d8748d7edd5499402fa",isLoading:this.dialogLoading,mobile:this.isMobile,noBodyPadding:!0,noBorder:!0,noClickOutside:!0,noCloseButton:!0,onCloseDialog:()=>this.closeUpdateDialog.emit(),open:this.dialogOpen,width:"568px"},d("div",{key:"08f0400e62addfcaffd91bf5200999d29bbd2da9",class:"zonos--body"},d("div",{key:"8699df5e2f823e19066fbb552ba2a66c127c05e9",class:"zonos--dialog-header"},d("div",{key:"92e0ff932dcdb0e5b59ea34b688d1ef8e31bfeb3",class:"zonos--dialog-title"},d("zonos-text",{key:"aaac3375526bddb319ce7c8f49bde30da7210264",type:"title"},i("Update your address")),d("zonos-button",{key:"474cc2421cd3150daa46bfe215da6ae7df9c6087",class:"zonos--close-button",icon:d("zonos-icon",{"aria-label":"Close checkout dialog",content:b}),noBackground:!0,onClick:()=>this.closeUpdateDialogHandler(),title:"Close checkout dialog"})),d("zonos-text",{key:"6d019250cce57e8b30dd790a184df7273bdb234f"},i("To ensure delivery all address details must be in Latin characters."))),d("div",{key:"80ee681844f4f4f43fce69d977b634b1fbc3d5f5",class:"zonos--group"},d("zonos-text",{key:"940e510eceec156a74f32de84cf58ffebd796435",class:"zonos--what-you-entered",type:"semiBoldLabel"},i("What you entered")),d("div",{key:"f626127f5c399c29ab1022deb66aaee8f8a49601",class:"zonos--address-display-group"},d("zonos-address-display",{key:"9dfcba1037325c3a1f9e82b8e4797e7872dd7e3f",addressType:"shipping",currentAddress:n}),e&&d("zonos-address-display",{key:"fee8ae2c6786d735133c2a0a42f3e3d40d7f9ea9",addressType:"billing",currentAddress:e})),d("div",{key:"5a82195018ff8cdfd1126f4424062a26c25ee757",class:"zonos--address-form-section"},d("zonos-text",{key:"f694dfad166697e4c034cea51057133b69b1c144",type:"semiBoldLabel"},i("Translated address")),d("zonos-address-form",{key:"4a99c841cf4800de43c612cce3d56d956d02c22f",addressType:"shipping",class:"zonos--shipping-address-form",currentAddress:n,onAddressChange:t=>{this.translatedShippingAddressState=this.buildTranslateAddressState({currentAddress:n,translatedAddress:t.detail})},translatedAddress:this.translatedShippingAddressState}),e&&d("zonos-address-form",{key:"311fd702d29a9517203597890bd46bd268dfc6d3",addressType:"billing",class:"zonos--billing-address-form",currentAddress:e,onAddressChange:t=>{this.translatedBillingAddressState=this.buildTranslateAddressState({currentAddress:e,translatedAddress:t.detail})},translatedAddress:this.translatedBillingAddressState}))),d("div",{key:"918c3271579c3fc7a7efff0473b0ccf48fb575a2",class:"zonos--group-btn"},d("div",{key:"f73be0c1124d3a4d340bc6e8512f6be8356c655d",class:"zonos--button-wrapper"},d("zonos-button",{key:"172a6cc0a7b75afb400802ef6b87faae6e7e2483",class:"zonos--cancel-btn",onClick:()=>this.closeUpdateDialogHandler(),variant:"subtle"},i("Cancel")),d("zonos-button",{key:"8fd08bc79b60eb9a0064c06ff9d840b1ecb09123",backgroundColor:this.submitBtnColor,class:"zonos--update-btn",loading:this.continueLoading,onClick:()=>this.continueClickHandler(),size:"sm",variant:t},i("Update address")))))))}get el(){return n(this)}static get watchers(){return{translatedShippingAddress:[{watchTranslatedShippingAddress:0}],translatedBillingAddress:[{watchTranslatedBillingAddress:0}]}}};L.style=":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}";const P=({addresses:t,delimiter:e=" "})=>{const d=new Set(t.filter(Boolean));return Array.from(d).join(e)};const M=class{constructor(d){t(this,d),this.invalidCharacters=e(this,"invalidCharacters",7),this.addressChange=e(this,"addressChange",7),this.onStoreCheckoutSessionIdChangedSubscription=()=>{},this.defaultAddress=[],this.taxIdErrorMessage="",this.shortAddressCodeErrorMessage="",this.stripe=window.Zonos.stripe,this.isDirtyAddress=!1,this.isAddressFilled=!1,this.isAddressLine1Entered=!1,this.addressSuggestions=[],this.countryField=null,this.startGooglePlaceSuggestions=!1,this.city="",this.country="",this.firstName="",this.lastName="",this.line1="",this.line2=null,this.phone="",this.postalCode="",this.state="",this.cityError="",this.stateError="",this.postalCodeError="",this.phoneError="",this.firstNameError="",this.lastNameError="",this.isFirstInitialization=!0,this.addressService=null,this.checkoutSessionId=s.checkoutSessionId,this.suggestionClicked=!1,this.trackingSent=!1,this.isAutoCompleteAdjusted=!1,this.countryOptionsCache=null,this.throttledGetAddressSuggestions=z((()=>{l.checkoutAddressService&&l.checkoutAddressService.getAddressSuggestions({country:this.country,query:[this.line1,this.state,this.postalCode].filter(Boolean).join(", "),type:this.type})}),1e3),this.setCustomAddressFormToStripeAddressEventData=()=>{const t=!this.countryField||this.countryField.cityShow?this.city:"",e=!this.countryField||this.countryField.stateShow?this.state:"",d=!this.countryField||this.countryField.zipShow?this.postalCode:"",o={complete:this.getIsComplete(),elementMode:this.type,elementType:"address",empty:!this.getIsComplete(),isNewAddress:!0,value:{address:{city:t,country:this.country,line1:this.line1,line2:this.line2,postal_code:d,state:e},firstName:this.firstName,lastName:this.lastName,name:`${this.firstName} ${this.lastName}`,phone:this.phone}};this.updateAddressEventData({event:o,type:this.type}),this.addressChange.emit({errors:this.getCustomAddressErrors(),type:this.type,value:o})},this.getCustomAddressErrors=()=>"shipping"===this.type?f.customAddressErrors:f.customBillingAddressErrors,this.validate=({phoneValidateInfo:t,type:e,value:d,valueType:o})=>{var n,s,r,a,l;const $=Object.assign({},this.getCustomAddressErrors());switch(o){case"city":{const t=!(null===(n=this.countryField)||void 0===n?void 0:n.cityRequired)||(null===(s=this.countryField)||void 0===s?void 0:s.cityRequired)&&!!(null==d?void 0:d.trim());$.city="",t||($.city=i("The field is incomplete"));break}case"state":{const t=!(null===(r=this.countryField)||void 0===r?void 0:r.stateRequired)||(null===(a=this.countryField)||void 0===a?void 0:a.stateRequired)&&!!(null==d?void 0:d.trim());$.state="",t||($.state=i("The field is incomplete"));break}case"postalCode":{const t=(({countryFields:t,zip:e})=>!t||!t.zipShow||!t.zipRequired||(t.zipRegex?new RegExp(t.zipRegex).test(e):t.zipRequired&&!!e))({countryFields:this.countryField,zip:d||""});$.postalCode="",t||($.postalCode=i("Your [zipLabel] is invalid",{zipLabel:(null===(l=this.countryField)||void 0===l?void 0:l.zipLabel)||"ZIP"}));break}case"firstName":{const t=!!(null==d?void 0:d.trim());$.firstName="",t||($.firstName=i("Please provide your first name."));break}case"lastName":{const t=!!(null==d?void 0:d.trim());$.lastName="",t||($.lastName=i("Please provide your last name."));break}case"line1":{const t=!!(null==d?void 0:d.trim());$.line1="",t||($.line1=i("The field is incomplete"));break}case"phone":if(t)$.phone="",t.isEmpty?$.phone=i("Please provide a mobile phone number."):t.wrongFormat&&($.phone=i("Your mobile phone number is incomplete."));else{const t=!!(null==d?void 0:d.trim());$.phone="",t||($.phone=i("Please provide a mobile phone number."))}}"shipping"===e?f.customAddressErrors=$:f.customBillingAddressErrors=$},this.onStoreCheckoutSessionIdChanged=()=>{const t=()=>{this.checkoutSessionId=s.checkoutSessionId};t(),this.onStoreCheckoutSessionIdChangedSubscription=r("checkoutSessionId",t)}}getCountryOptions(){const{allCountries:t,shippingZoneCountries:e}=a,d=this.countryOptionsCache;if(d&&d.allCountries===t&&d.shippingZoneCountries===e&&d.type===this.type)return d.options;const o=(({allCountries:t,shippingZoneCountries:e,type:d})=>{const o="billing"===d&&(t=>!!t&&Object.keys(t).length>0)(t)?t:e;return Object.values(o||{}).map((t=>({label:t.displayName,value:t.code}))).sort(((t,e)=>t.label.localeCompare(e.label)))})({allCountries:t,shippingZoneCountries:e,type:this.type});return this.countryOptionsCache={allCountries:t,options:o,shippingZoneCountries:e,type:this.type},o}getStripeAddressInstance(){return"billing"===this.type?{stripeAddressElement:f.stripeBillingAddressElement,stripeAddressEventData:f.stripeBillingAddressEventData,stripeElements:f.stripeElementsForBillingAddress}:{stripeAddressElement:f.stripeAddressElement,stripeAddressEventData:f.stripeAddressEventData,stripeElements:f.stripeElements}}updateAddressEventData({event:t,type:e}){"billing"===e?f.stripeBillingAddressEventData=t:(f.stripeAddressEventData=t,p())}isAddressFilledChanged(){s.checkoutSessionId&&this.isAddressFilled&&!this.trackingSent&&"shipping"===this.type&&(this.trackingSent=!0,v({checkoutSessionId:s.checkoutSessionId,eventName:"checkout_customerInfoFilled"}))}defaultAddressChanged(t,e){JSON.stringify(e)!==JSON.stringify(t)&&(C("Reset address element when default address property is changed","info",{defaultAddress:this.defaultAddress}),"shipping"===this.type?f.stripeAddressEventData=null:f.stripeBillingAddressEventData=null,this.initDefaultCustomAddressForm())}getIsComplete(){const{city:t,firstName:e,lastName:d,line1:o,phone:n,postalCode:i,state:s}=this.getCustomAddressErrors();return!!(this.line1&&this.firstName&&this.lastName&&this.phone)&&!(o||i||s||t||e||d||n)}isInTaxIdCountry(t){return S.includes(t)}renderTaxIdInput(){var t;if("billing"===this.type)return null;const e=null===(t=f.stripeAddressEventData)||void 0===t?void 0:t.value.address.country;if(!e)return null;if(!this.isInTaxIdCountry(e))return null;if(!x({companyName:f.companyName,countryCode:e}))return null;const o=E[e];return d("div",{class:"zonos--tax-id-input"},d("zonos-stripe-input",{error:this.taxIdErrorMessage,inputLabel:i(o.friendlyName),inputPlaceholder:o.placeholder,inputValue:f.taxId||"",isError:!!this.taxIdErrorMessage,onInputChange:t=>{f.taxId=t.detail}}))}renderShortAddressCodeInput(){var t;if("billing"===this.type)return null;const e=null===(t=f.stripeAddressEventData)||void 0===t?void 0:t.value.address.country;return e&&k({countryCode:e})?d("div",{class:"zonos--short-address-code-input"},d("zonos-stripe-input",{inputLabel:i("Short address code"),inputPlaceholder:"RRRD2929",inputValue:f.shortAddressCode||"",isError:!!this.shortAddressCodeErrorMessage,onInputChange:t=>{f.shortAddressCode=t.detail}}),this.shortAddressCodeErrorMessage&&d("zonos-text",{textColor:"red-600",type:"caption"},this.shortAddressCodeErrorMessage)):null}renderCompanyNameInput(){return"billing"===this.type?null:"ENABLED"===l.checkoutSettings.companyFieldsStatus?d("zonos-stripe-input",{class:"zonos--company-name-input",inputLabel:i("Company name (optional)"),inputValue:f.companyName,onInputChange:t=>{f.companyName=t.detail}}):null}initCountryField(t){var e,d,o;this.countryField=(null===(e=l.genericSettings)||void 0===e?void 0:e.countryFields)&&t?null===(o=null===(d=l.genericSettings)||void 0===d?void 0:d.countryFields)||void 0===o?void 0:o[t]:null}initDefaultCustomAddressForm(){C("initDefaultCustomAddressForm","info",this.type);const t=this.getStripeAddressInstance().stripeAddressEventData;if(t){const e=t.value.address.country||a.selectedCountryCode||"US";return this.setFormValues({city:t.value.address.city,country:e,firstName:t.value.firstName||"",lastName:t.value.lastName||"",line1:t.value.address.line1,line2:t.value.address.line2||"",phone:t.value.phone||"",postal_code:t.value.address.postal_code,state:t.value.address.state}),void this.initCountryField(e)}const e=this.defaultAddress[0];if(e){const{firstName:t,lastName:d}=h({name:e.name}),o=e.address.country||a.selectedCountryCode||"US";return this.setFormValues({city:e.address.city,country:o,firstName:t,lastName:d,line1:e.address.line1,line2:e.address.line2||"",phone:e.phone||"",postal_code:e.address.postal_code,state:e.address.state}),void this.initCountryField(o)}const d=a.selectedCountryCode||"US";this.setFormValues({city:"",country:d,firstName:"",lastName:"",line1:"",line2:"",phone:"",postal_code:"",state:""}),this.initCountryField(d),this.isFirstInitialization=!1}line1Changed(){const t=this.getStripeAddressInstance().stripeAddressEventData;(!t||this.line1!==(null==t?void 0:t.value.address.line1))&&this.line1.length>3&&(this.startGooglePlaceSuggestions=!0,this.isAddressLine1Entered=!0,this.suggestionClicked&&(this.suggestionClicked=!1,this.startGooglePlaceSuggestions=!1),this.isDirtyAddress||(this.isDirtyAddress=!0,setTimeout((()=>{if(!this.isAutoCompleteAdjusted)if(w())this.el.scrollIntoView({behavior:"smooth",block:"end"});else{const t="shipping"===this.type?100:600,e=this.el.closest(".zonos--group"),d=this.el.getBoundingClientRect().top+t;null==e||e.scrollTo({behavior:"smooth",top:d})}}),600))),this.setCustomAddressFormToStripeAddressEventData(),this.startGooglePlaceSuggestions&&l.checkoutAddressService&&!this.isFirstInitialization&&this.throttledGetAddressSuggestions()}formFieldsChanged(){this.setCustomAddressFormToStripeAddressEventData()}addressSuggestionSelected({placeDetails:t}){var e,d,o,n,i,s,r,a,l,$,u,c,h,f,p;this.suggestionClicked=!0,this.startGooglePlaceSuggestions=!1;const v=t.addressComponents,b=P({addresses:[null===(e=null==v?void 0:v.find((t=>t.types.includes("street_number"))))||void 0===e?void 0:e.longText,null===(d=null==v?void 0:v.find((t=>t.types.includes("route"))))||void 0===d?void 0:d.longText]}),m=P({addresses:[null===(o=null==v?void 0:v.find((t=>t.types.includes("premise"))))||void 0===o?void 0:o.longText,(null===(n=null==v?void 0:v.find((t=>t.types.includes("sublocality_level_2"))))||void 0===n?void 0:n.longText)||(null===(i=null==v?void 0:v.find((t=>t.types.includes("sublocality_level_3"))))||void 0===i?void 0:i.longText)||(null===(s=null==v?void 0:v.find((t=>t.types.includes("sublocality_level_4"))))||void 0===s?void 0:s.longText)||(null===(r=null==v?void 0:v.find((t=>t.types.includes("sublocality_level_5"))))||void 0===r?void 0:r.longText)]}),y=P({addresses:[null===(a=null==v?void 0:v.find((t=>t.types.includes("subpremise"))))||void 0===a?void 0:a.longText,null===(l=null==v?void 0:v.find((t=>t.types.includes("neighborhood"))))||void 0===l?void 0:l.longText],delimiter:", "}),g=P({addresses:[(null===($=null==v?void 0:v.find((t=>t.types.includes("locality"))))||void 0===$?void 0:$.longText)||(null===(u=null==v?void 0:v.find((t=>t.types.includes("sublocality_level_1"))))||void 0===u?void 0:u.longText)||(null===(c=null==v?void 0:v.find((t=>t.types.includes("administrative_area_level_1"))))||void 0===c?void 0:c.longText)]}),z=P({addresses:[null===(h=null==v?void 0:v.find((t=>t.types.includes("administrative_area_level_1"))))||void 0===h?void 0:h.shortText]}),w=P({addresses:[null===(f=null==v?void 0:v.find((t=>t.types.includes("postal_code"))))||void 0===f?void 0:f.longText]}),x=P({addresses:[null===(p=null==v?void 0:v.find((t=>t.types.includes("country"))))||void 0===p?void 0:p.shortText]});this.setFormValues({city:g,country:x,line1:b||m||this.line1,line2:y,postal_code:w,state:z})}setFormValues(t){void 0!==t.city&&(this.city=t.city),void 0!==t.country&&(this.country=t.country),void 0!==t.firstName&&(this.firstName=t.firstName),void 0!==t.lastName&&(this.lastName=t.lastName),void 0!==t.line1&&(this.line1=t.line1),void 0!==t.line2&&(this.line2=t.line2),void 0!==t.phone&&(this.phone=t.phone),void 0!==t.postal_code&&(this.postalCode=t.postal_code),void 0!==t.state&&(this.state=t.state)}initAddressSuggestions(){!l.checkoutAddressService||this.onAddressSuggestionsUnsubscribe&&this.onAddressSelectedUnsubscribe||(C("on initAddressSuggestions","info"),this.onAddressSuggestionsUnsubscribe=l.checkoutAddressService.onAddressSuggestions((({suggestions:t,type:e})=>{e===this.type&&(this.addressSuggestions=t)})),this.onAddressSelectedUnsubscribe=l.checkoutAddressService.onAddressSelected((t=>{t.type===this.type&&(this.addressSuggestions=[],this.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"}))}countryChanged(t){var e,d;const o=null===(e=l.genericSettings)||void 0===e?void 0:e.countryFields,n=null==o?void 0:o[t];(null===(d=this.countryField)||void 0===d?void 0:d.countryCode)!==this.country&&(this.countryField=o&&n?n:null)}shouldEnabledCustomAddressChanged(){this.initAddressSuggestions(),this.initDefaultCustomAddressForm()}renderCustomAddressForm(){var t,e,o,n,s,r,$,u,h,f,p,v,b,m,y,g;const z=this.getCustomAddressErrors(),{showError:w}=z,x=function(t,e){var d={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(d[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(d[o[n]]=t[o[n]])}return d}(z,["showError"]),k=this.getStripeAddressInstance().stripeAddressEventData,C=null==k?void 0:k.value.address.country,S=this.getCountryOptions(),E=S[0],N=Object.entries((null===(t=this.countryField)||void 0===t?void 0:t.regions)||{}).map((([t,e])=>({label:t,value:e.interpayCode}))).sort(((t,e)=>t.label.localeCompare(e.label)));return d("div",{"aria-label":`${this.type} address form`,class:"zonos--custom-address-form",role:"form"},d("zonos-stripe-input",{"aria-required":"true",class:"zonos--custom-address-form-input",error:w?x.firstName:void 0,inputLabel:i("First name"),inputValue:null==k?void 0:k.value.firstName,onInputChange:t=>{this.validate({type:this.type,value:t.detail,valueType:"firstName"}),this.firstName=t.detail},required:!0}),d("zonos-stripe-input",{"aria-required":"true",class:"zonos--custom-address-form-input",error:w?x.lastName:void 0,inputLabel:i("Last name"),inputValue:null==k?void 0:k.value.lastName,onInputChange:t=>{this.validate({type:this.type,value:t.detail,valueType:"lastName"}),this.lastName=t.detail},required:!0}),d("zonos-stripe-select",{"aria-required":"true",autoComplete:`${this.type} country`,class:"zonos--custom-address-form-input",name:`${this.type}-country`,onSelectChange:t=>{this.countryChanged(t.detail),this.validate({type:this.type,value:"",valueType:"postalCode"}),this.validate({type:this.type,value:"",valueType:"city"}),this.validate({type:this.type,value:"",valueType:"state"}),this.country=t.detail,this.city="",this.state="",this.postalCode=""},options:S,required:!0,selectLabel:i("Country"),selectedValue:(null==k?void 0:k.value.address.country)||a.selectedCountryCode||(null==E?void 0:E.value),title:`${this.type} country`}),d("div",{class:"zonos--custom-address-form-line1-wrapper"},d("zonos-stripe-input",{"aria-autocomplete":"list","aria-controls":"autocomplete-search","aria-required":"true",autoComplete:`${this.type} address-line1`,class:"zonos--custom-address-form-input",error:w?x.line1:void 0,inputLabel:i("Address line 1"),inputValue:null==k?void 0:k.value.address.line1,name:"address-line1",onInputChange:t=>{this.validate({type:this.type,value:t.detail,valueType:"line1"}),this.line1=t.detail},onKeyDown:t=>{"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),this.addressSuggestions=[])},required:!0}),d("zonos-address-suggestions",{onSuggestionSelected:t=>{var e;const{placeId:d}=t.detail;null===(e=l.checkoutAddressService)||void 0===e||e.selectAddress({placeId:d,type:this.type})},suggestions:this.addressSuggestions,type:this.type})),d("div",{"aria-label":"Additional address details",class:c(["zonos--custom-address-form-additional-fields",C&&this.isAddressLine1Entered?"zonos--show":""]),role:"group"},d("zonos-stripe-input",{"aria-required":"false",autoComplete:`${this.type} address-line2`,class:"zonos--custom-address-form-input",inputLabel:i((null===(e=this.countryField)||void 0===e?void 0:e.address2Label)||"Address line 2"),inputValue:(null==k?void 0:k.value.address.line2)||"",onInputChange:t=>{this.line2=t.detail}}),(null===(o=this.countryField)||void 0===o?void 0:o.cityShow)&&d("zonos-stripe-input",{"aria-required":(null===(n=this.countryField)||void 0===n?void 0:n.cityRequired)?"true":"false",autoComplete:`${this.type} address-level2`,class:"zonos--custom-address-form-input",error:w?x.city:void 0,inputLabel:i((null===(s=this.countryField)||void 0===s?void 0:s.cityLabel)||"City"),inputValue:(null==k?void 0:k.value.address.city)||"",name:"locality",onInputChange:t=>{this.validate({type:this.type,value:t.detail,valueType:"city"}),this.city=t.detail},required:null===(r=this.countryField)||void 0===r?void 0:r.cityRequired}),d("div",{class:"zonos--custom-address-form-state-zip-wrapper"},(null===($=this.countryField)||void 0===$?void 0:$.stateShow)&&d("zonos-stripe-select",{"aria-required":(null===(u=this.countryField)||void 0===u?void 0:u.stateRequired)?"true":"false",autoComplete:`${this.type} address-level1`,class:"zonos--custom-address-form-input",error:w?x.state:void 0,isError:w&&!!x.state,name:`${this.type}-state`,onSelectChange:t=>{this.validate({type:this.type,value:t.detail,valueType:"state"}),this.state=t.detail},options:N,required:null===(h=this.countryField)||void 0===h?void 0:h.stateRequired,selectLabel:i((null===(f=this.countryField)||void 0===f?void 0:f.stateLabel)||"State"),selectedValue:null==k?void 0:k.value.address.state,title:`${this.type} state`}),(null===(p=this.countryField)||void 0===p?void 0:p.zipShow)&&d("zonos-stripe-input",{"aria-describedby":(null===(v=this.countryField)||void 0===v?void 0:v.zipFormat)?`zip-format-${this.type}`:void 0,"aria-required":(null===(b=this.countryField)||void 0===b?void 0:b.zipRequired)?"true":"false",autoComplete:`${this.type} postal-code`,class:"zonos--custom-address-form-input",error:w?x.postalCode:void 0,inputLabel:i((null===(m=this.countryField)||void 0===m?void 0:m.zipLabel)||"Zip"),inputValue:(null==k?void 0:k.value.address.postal_code)||"",name:"postalCode",onInputChange:t=>{this.validate({type:this.type,value:t.detail,valueType:"postalCode"}),this.postalCode=t.detail},required:null===(y=this.countryField)||void 0===y?void 0:y.zipRequired,title:`${this.type} zip code`})),d("zonos-stripe-phone-input",{autoComplete:`${this.type} tel`,class:"zonos--custom-address-form-input",countryCode:null==k?void 0:k.value.address.country,countryOptions:null===(g=l.genericSettings)||void 0===g?void 0:g.countryFields,error:w?x.phone:void 0,inputLabel:i("Phone number"),inputValue:(null==k?void 0:k.value.phone)||"",onInputValueChange:t=>{const{isEmpty:e,phoneNumber:d,valid:o,wrongFormat:n}=t.detail;this.validate({phoneValidateInfo:{isEmpty:e,isValid:o,wrongFormat:n},type:this.type,value:d,valueType:"phone"}),this.phone=d}})))}disconnectedCallback(){var t,e;const d=this.getStripeAddressInstance().stripeAddressElement;null==d||d.destroy(),null===(t=this.onAddressSuggestionsUnsubscribe)||void 0===t||t.call(this),null===(e=this.onAddressSelectedUnsubscribe)||void 0===e||e.call(this),this.onStoreCheckoutSessionIdChangedSubscription()}componentWillLoad(){l.checkoutAddressService&&this.initDefaultCustomAddressForm()}componentDidLoad(){const t=this.getStripeAddressInstance().stripeAddressEventData;this.isDirtyAddress=!!t&&t.value.address.line1.length>0,this.initAddressSuggestions(),this.isFirstInitialization=!1,this.onStoreCheckoutSessionIdChanged(),this.countryChanged((null==t?void 0:t.value.address.country)||"US")}render(){var t;return this.addressService=l.checkoutAddressService,(null===(t=f.stripeAddressEventData)||void 0===t?void 0:t.complete)&&(this.isAddressFilled=!0),!this.country&&a.selectedCountryCode&&(this.country=a.selectedCountryCode),d(o,{key:"b4e39a6e92e646f98c0061bf3de8e028c9285556",class:c(["zonos--address zonos--elements",`zonos--${this.type}-address`])},d("zonos-text",{key:"28d21737c78a1b8125c5170c67f214e3f39939ff",class:"zonos--title",type:"semiBoldLabel"},this.titleText),d("slot",{key:"97357f001b27197b8648d6158b786b153c31a7ba",name:"below-title"}),this.renderCompanyNameInput(),this.renderTaxIdInput(),this.renderShortAddressCodeInput(),this.renderCustomAddressForm())}get el(){return n(this)}static get watchers(){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}]}}};M.style=".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 R={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|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[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]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|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-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|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(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[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",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|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}|[2-689]\\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)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"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}"]]]}};function F(t,e){var d=Array.prototype.slice.call(e);return d.push(R),t.apply(this,d)}function _(t,e){t=t.split("-"),e=e.split("-");for(var d=t[0].split("."),o=e[0].split("."),n=0;n<3;n++){var i=Number(d[n]),s=Number(o[n]);if(i>s)return 1;if(s>i)return-1;if(!isNaN(i)&&isNaN(s))return 1;if(isNaN(i)&&!isNaN(s))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]<e[1]?-1:0:!t[1]&&e[1]?1:t[1]&&!e[1]?-1:0}var B={}.constructor;function D(t){return null!=t&&t.constructor===B}var G=/^\d+$/;function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e){return e&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,K(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function K(t){var e=function(t){if("object"!=U(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=U(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==U(e)?e:e+""}var W=" ext. ",Z=function(){return H((function t(e){V(this,t),tt(e),this.metadata=e,ot.call(this,e)}),[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(t){return"001"!==t}))}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var e=this.countryCallingCodes()[t];if(e&&1===e.length&&"001"===e[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,e){var d,o;if(t&&(G.test(t)?o=t:d=t),e&&(o=e),d&&"001"!==d){var n=this.getCountryMetadata(d);if(!n)throw new Error("Unknown country: ".concat(d));this.numberingPlan=new Y(n,this)}else if(o){if(!this.hasCallingCode(o))throw new Error("Unknown calling code: ".concat(o));this.numberingPlan=new Y(this.getNumberingPlanMetadata(o),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var e=this.countryCallingCodes()[t];if(e){if(1===e.length&&3===e[0].length)return;return e}}},{key:"getCountryCodeForCallingCode",value:function(t){var e=this.getCountryCodesForCallingCode(t);if(e)return e[0]}},{key:"getNumberingPlanMetadata",value:function(t){var e=this.getCountryCodeForCallingCode(t);if(e)return this.getCountryMetadata(e);if(this.nonGeographic()){var d=this.nonGeographic()[t];if(d)return d}else{var o=this.countryCallingCodes()[t];if(o&&1===o.length&&"001"===o[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}])}(),Y=function(){return H((function t(e,d){V(this,t),this.globalMetadataObject=d,this.metadata=e,ot.call(this,d.metadata)}),[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this;return(this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[]).map((function(e){return new J(e,t)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return!(this.types()&&0===this.types().length||!this.types())}},{key:"type",value:function(t){if(this.hasTypes()&&Q(this.types(),t))return new X(Q(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?W:this.metadata[13]||W}}])}(),J=function(){return H((function t(e,d){V(this,t),this._format=e,this.metadata=d}),[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||q.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])}(),q=/^\(?\$1\)?$/,X=function(){return H((function t(e,d){V(this,t),this.type=e,this.metadata=d}),[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function Q(t,e){switch(e){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}function tt(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!D(t)||!D(t.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(D(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+et(t)+": "+t,"."))}var et=function(t){return U(t)};function dt(t,e){var d=new Z(e);if(d.hasCountry(t))return d.selectNumberingPlan(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function ot(t){var e=t.version;"number"==typeof e?(this.v1=1===e,this.v2=2===e,this.v3=3===e,this.v4=4===e):e?-1===_(e,"1.2.0")?this.v2=!0:-1===_(e,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function nt(t,e,d){return function(t,e,d,o){d&&(o=new Z(o.metadata)).selectNumberingPlan(d);var n=o.type(void 0),i=n&&n.possibleLengths()||o.possibleLengths();if(!i)return"IS_POSSIBLE";var s=t.length,r=i[0];return r===s?"IS_POSSIBLE":r>s?"TOO_SHORT":i[i.length-1]<s?"TOO_LONG":i.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(t,0,e,d)}function it(t,e,d){void 0===e&&(e={});var o=new Z(d);if(e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");o.selectNumberingPlan(t.country||t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!o.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));o.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");o.selectNumberingPlan(t.countryCallingCode)}}if(o.possibleLengths())return st(t.phone||t.nationalNumber,o);if(t.countryCallingCode&&o.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function st(t,e){return"IS_POSSIBLE"===nt(t,void 0,e)}function rt(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}var lt=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function $t(t,e,d){if(e=e||{},t.country||t.countryCallingCode){var o=new Z(d);o.selectNumberingPlan(t.country||t.countryCallingCode);var n=e.v2?t.nationalNumber:t.phone;if(rt(n,o.nationalNumberPattern())){if(ut(n,"FIXED_LINE",o))return o.type("MOBILE")&&""===o.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":o.type("MOBILE")?ut(n,"MOBILE",o)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var i,s=function(t,e){var d="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(d)return(d=d.call(t)).next.bind(d);if(Array.isArray(t)||(d=function(t,e){if(t){if("string"==typeof t)return at(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?at(t,e):void 0}}(t))||e){d&&(t=d);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[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.")}(lt);!(i=s()).done;){var r=i.value;if(ut(n,r,o))return r}}}}function ut(t,e,d){var o=d.type(e);return!(!o||!o.pattern())&&!(o.possibleLengths()&&o.possibleLengths().indexOf(t.length)<0)&&rt(t,o.pattern())}var ct=/^[A-Z]{2}$/;var ht="0-90-9٠-٩۰-۹",ft="".concat("-‐-―−ー-").concat("//").concat("..").concat("  ­​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~"),pt=new RegExp("(["+ht+"])");function vt(t,e,d,o){if(e){var n=new Z(o);n.selectNumberingPlan(e||d);var i=new RegExp(n.IDDPrefix());if(0===t.search(i)){var s=(t=t.slice(t.match(i)[0].length)).match(pt);if(!(s&&null!=s[1]&&s[1].length>0&&"0"===s[1]))return t}}}function bt(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var d=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),o=d.exec(t);if(o){var n,i,s,r=o.length-1,a=r>0&&o[r];if(e.nationalPrefixTransformRule()&&a?(n=t.replace(d,e.nationalPrefixTransformRule()),r>1&&(i=o[1])):(n=t.slice(o[0].length),a&&(i=o[1])),a){var l=t.indexOf(o[1]);t.slice(0,l)===e.numberingPlan.nationalPrefix()&&(s=e.numberingPlan.nationalPrefix())}else s=o[0];return{nationalNumber:n,nationalPrefix:s,carrierCode:i}}}return{nationalNumber:t}}function mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}function yt(t,e,d){for(var o,n=new Z(d),i=function(t,e){var d="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(d)return(d=d.call(t)).next.bind(d);if(Array.isArray(t)||(d=function(t,e){if(t){if("string"==typeof t)return mt(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?mt(t,e):void 0}}(t))||e){d&&(t=d);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[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.")}(e);!(o=i()).done;){var s=o.value;if(n.selectNumberingPlan(s),n.leadingDigits()){if(t&&0===t.search(n.leadingDigits()))return s}else if($t({phone:t,country:s},void 0,n.metadata))return s}}function gt(t,e){var d=e.nationalNumber,o=e.metadata,n=o.getCountryCodesForCallingCode(t);if(n)return 1===n.length?n[0]:yt(d,n,o.metadata)}function zt(t,e,d){var o=bt(t,d),n=o.carrierCode,i=o.nationalNumber;if(i!==t){if(!function(t,e,d){return!(rt(t,d.nationalNumberPattern())&&!rt(e,d.nationalNumberPattern()))}(t,i,d))return{nationalNumber:t};if(d.numberingPlan.possibleLengths()&&(e||(e=gt(d.numberingPlan.callingCode(),{nationalNumber:i,metadata:d})),!function(t,e,d){switch(nt(t,e,d)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(i,e,d)))return{nationalNumber:t}}return{nationalNumber:i,carrierCode:n}}function wt(t,e,d,o,n){if(!(e||d||o))return{number:t};var i=e||d?dt(e||d,n):o;if(0===t.indexOf(i)){var s=new Z(n);s.selectNumberingPlan(e||d||o);var r=t.slice(i.length),a=zt(r,void 0,s).nationalNumber,l=zt(t,void 0,s).nationalNumber;if(!rt(l,s.nationalNumberPattern())&&rt(a,s.nationalNumberPattern())||"TOO_LONG"===nt(l,void 0,s))return{countryCallingCode:i,number:r}}return{number:t}}function xt(t,e,d,o,n){if(!t)return{};var i;if("+"!==t[0]){var s=vt(t,e||d,o,n);if(!s||s===t){if(e||d||o){var r=wt(t,e,d,o,n),a=r.countryCallingCode;if(a)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:a,number:r.number}}return{number:t}}i=!0,t="+"+s}if("0"===t[1])return{};for(var l=new Z(n),$=2;$-1<=3&&$<=t.length;){var u=t.slice(1,$);if(l.hasCallingCode(u))return l.selectNumberingPlan(u),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:u,number:t.slice($)};$++}return{}}function kt(t){return t.replace(new RegExp("[".concat(ft,"]+"),"g")," ").trim()}var Ct=/(\$\d)/;function St(t,e,d){var o=d.useInternationalFormat,n=d.withNationalPrefix,i=t.replace(new RegExp(e.pattern()),o?e.internationalFormat():n&&e.nationalPrefixFormattingRule()?e.format().replace(Ct,e.nationalPrefixFormattingRule()):e.format());return o?kt(i):i}var Et=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/,Nt=function(t){return"([".concat(ht,"]{1,").concat(t,"})")};function Ot(){var t="[  \\t,]*",e="[:\\..]?[  \\t,-]*",d="#?",o="[  \\t]*";return";ext="+Nt("20")+"|"+t+"(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)"+e+Nt("20")+"#?|"+t+"(?:[xx##~~]|int|int)"+e+Nt("9")+"#?|[- ]+"+Nt("6")+"#|"+o+"(?:,{2}|;)"+e+Nt("15")+"#?|"+o+"(?:,)+"+e+Nt("9")+d}var It="["+ht+"]{2}",At="[++]{0,1}(?:["+ft+"]*["+ht+"]){3,}["+ft+ht+"]*",Tt=new RegExp("^[++]{0,1}(?:["+ft+"]*["+ht+"]){1,2}$","i"),jt=At+"(?:"+Ot()+")?",Lt=new RegExp("^"+It+"$|^"+jt+"$","i");function Pt(t){return t.length>=2&&Lt.test(t)}var Mt={formatExtension:function(t,e,d){return"".concat(t).concat(d.ext()).concat(e)}};function Rt(t,e,d,o,n){var i,s,r=(i=o.formats(),s=t,function(t,e){for(var d=0;d<t.length;){if(e(t[d]))return t[d];d++}}(i,(function(t){if(t.leadingDigitsPatterns().length>0){var e=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==s.search(e))return!1}return rt(s,t.pattern())})));return r?St(t,r,{useInternationalFormat:"INTERNATIONAL"===d,withNationalPrefix:!r.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!n||!1!==n.nationalPrefix}):t}function Ft(t,e,d,o){return e?o(t,e,d):t}function _t(t){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_t(t)}function Bt(t,e){var d=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),d.push.apply(d,o)}return d}function Dt(t){for(var e=1;e<arguments.length;e++){var d=null!=arguments[e]?arguments[e]:{};e%2?Bt(Object(d),!0).forEach((function(e){Gt(t,e,d[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(d)):Bt(Object(d)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(d,e))}))}return t}function Gt(t,e,d){return(e=Ut(e))in t?Object.defineProperty(t,e,{value:d,enumerable:!0,configurable:!0,writable:!0}):t[e]=d,t}function Ut(t){var e=function(t){if("object"!=_t(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=_t(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==_t(e)?e:e+""}var Vt=function(){return t=function t(e,d,o){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("First argument is required");if("string"!=typeof e)throw new TypeError("First argument must be a string");if("+"===e[0]&&!d)throw new TypeError("`metadata` argument not passed");if(D(d)&&D(d.countries)){o=d;var n=e;if(!Ht.test(n))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var i=xt(n,void 0,void 0,void 0,o);if(e=i.countryCallingCode,!(d=i.number))throw new Error("Invalid `number` argument passed: too short")}if(!d)throw new TypeError("`nationalNumber` argument is required");if("string"!=typeof d)throw new TypeError("`nationalNumber` argument must be a string");tt(o);var s=function(t,e){var d,o,n=new Z(e);return ct.test(t)?(n.selectNumberingPlan(d=t),o=n.countryCallingCode()):o=t,{country:d,callingCode:o}}(e,o),r=s.callingCode;this.country=s.country,this.countryCallingCode=r,this.nationalNumber=d,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return o}},e=[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:function(t,e,d){var o=new Z(d).getCountryCodesForCallingCode(t);return o?o.filter((function(t){return function(t,e,d){var o=new Z(d);return o.selectNumberingPlan(e),o.numberingPlan.possibleLengths().indexOf(t.length)>=0}(e,t,d)})):[]}(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return it(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function(t,e,d){e=e||{};var o=new Z(d);return o.selectNumberingPlan(t.country||t.countryCallingCode),o.hasTypes()?void 0!==$t(t,e,o.metadata):rt(e.v2?t.nationalNumber:t.phone,o.nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new Z(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return $t(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return function(t,e,d,o){d=d?function(){for(var t=1,e=arguments.length,d=new Array(e),o=0;o<e;o++)d[o]=arguments[o];for(;t<d.length;){if(d[t])for(var n in d[t])d[0][n]=d[t][n];t++}return d[0]}({},Mt,d):Mt;var n=new Z(o);if(t.country&&"001"!==t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)return t.phone||"";n.selectNumberingPlan(t.countryCallingCode)}var i,s=n.countryCallingCode(),r=d.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return r?Ft(i=Rt(r,0,"NATIONAL",n,d),t.ext,n,d.formatExtension):"";case"INTERNATIONAL":return r?(i=Rt(r,0,"INTERNATIONAL",n,d),Ft(i="+".concat(s," ").concat(i),t.ext,n,d.formatExtension)):"+".concat(s);case"E.164":return"+".concat(s).concat(r);case"RFC3966":return function(t){var e=t.number,d=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(d?";ext="+d:"")}({number:"+".concat(s).concat(r),ext:t.ext});case"IDD":if(!d.fromCountry)return;var a=function(t,e,d,o,n){if(dt(o,n.metadata)===d){var i=Rt(t,0,"NATIONAL",n);return"1"===d?d+" "+i:i}var s=function(t,e,d){var o=new Z(d);return o.selectNumberingPlan(t||void 0),o.defaultIDDPrefix()?o.defaultIDDPrefix():Et.test(o.IDDPrefix())?o.IDDPrefix():void 0}(o,0,n.metadata);if(s)return"".concat(s," ").concat(d," ").concat(Rt(t,0,"INTERNATIONAL",n))}(r,0,s,d.fromCountry,n);if(!a)return;return Ft(a,t.ext,n,d.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}(this,t,e?Dt(Dt({},e),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}],e&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Ut(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}(),Ht=/^\+\d+$/;function Kt(t){return Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kt(t)}function Wt(t){var e="function"==typeof Map?new Map:void 0;return Wt=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,d)}function d(){return function(t,e,d){if(Zt())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var n=new(t.bind.apply(t,o));return d&&Yt(n,d.prototype),n}(t,arguments,Jt(this).constructor)}return d.prototype=Object.create(t.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),Yt(d,t)},Wt(t)}function Zt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Zt=function(){return!!t})()}function Yt(t,e){return Yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Yt(t,e)}function Jt(t){return Jt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jt(t)}var qt=function(){function t(e){var d;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),d=function(t,e,d){return e=Jt(e),function(t,e){if(e&&("object"==Kt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Zt()?Reflect.construct(e,d||[],Jt(t).constructor):e.apply(t,d))}(this,t,[e]),Object.setPrototypeOf(d,t.prototype),d.name=d.constructor.name,d}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Yt(t,e)}(t,Wt(Error)),e=t,Object.defineProperty(e,"prototype",{writable:!1}),e;var e}(),Xt=new RegExp("(?:"+Ot()+")$","i");function Qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}var te={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function ee(t){return te[t]}function de(t){for(var e,d="",o=function(t,e){var d="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(d)return(d=d.call(t)).next.bind(d);if(Array.isArray(t)||(d=function(t,e){if(t){if("string"==typeof t)return Qt(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?Qt(t,e):void 0}}(t))||e){d&&(t=d);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[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.")}(t.split(""));!(e=o()).done;){var n=ee(e.value);n&&(d+=n)}return d}function oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}function ne(t){for(var e,d="",o=function(t,e){var d="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(d)return(d=d.call(t)).next.bind(d);if(Array.isArray(t)||(d=function(t,e){if(t){if("string"==typeof t)return oe(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?oe(t,e):void 0}}(t))||e){d&&(t=d);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[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.")}(t.split(""));!(e=o()).done;)d+=ie(e.value,d)||"";return d}function ie(t,e){if("+"===t){if(e)return;return"+"}return ee(t)}var se="(["+ht+"]|[\\-\\.\\(\\)]?)",re=new RegExp("^\\+"+se+"*["+ht+"]"+se+"*$","g"),ae=new RegExp("^(["+ht+"]+((\\-)*["+ht+"])*\\.)*[a-zA-Z]+((\\-)*["+ht+"])*\\.?$","g"),le=";phone-context=";var $e=new RegExp("[++"+ht+"]"),ue=new RegExp("[^"+ht+"#]+$");function ce(t,e,d){e=e||{};var o=new Z(d);if(e.defaultCountry&&!o.hasCountry(e.defaultCountry)){if(e.v2)throw new qt("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(e.defaultCountry))}var n=function(t,e,d){var o=function(t,e){var d,o=e.extractFormattedPhoneNumber,n=function(t){var e=t.indexOf(le);if(e<0)return null;var d=e+15;if(d>=t.length)return"";var o=t.indexOf(";",d);return o>=0?t.substring(d,o):t.substring(d)}(t);if(!function(t){return null===t||0!==t.length&&(re.test(t)||ae.test(t))}(n))throw new qt("NOT_A_NUMBER");if(null===n)d=o(t)||"";else{d="","+"===n.charAt(0)&&(d+=n);var i,s=t.indexOf("tel:");i=s>=0?s+4:0;var r=t.indexOf(le);d+=t.substring(i,r)}var a=d.indexOf(";isub=");if(a>0&&(d=d.substring(0,a)),""!==d)return d}(t,{extractFormattedPhoneNumber:function(t){return function(t,e,d){if(t)if(t.length>250){if(d)throw new qt("TOO_LONG")}else{if(!1===e)return t;var o=t.search($e);if(!(o<0))return t.slice(o).replace(ue,"")}}(t,d,e)}});if(!o)return{};if(!Pt(o))return function(t){return Tt.test(t)}(o)?{error:"TOO_SHORT"}:{};var n=function(t){var e=t.search(Xt);if(e<0)return{};for(var d=t.slice(0,e),o=t.match(Xt),n=1;n<o.length;){if(o[n])return{number:d,ext:o[n]};n++}}(o);return n.ext?n:{number:o}}(t,e.v2,e.extract),i=n.number,s=n.ext;if(!i){if(e.v2){if("TOO_SHORT"===n.error)throw new qt("TOO_SHORT");throw new qt("NOT_A_NUMBER")}return{}}var r=function(t,e,d,o){var n,i=xt(ne(t),void 0,e,d,o.metadata),s=i.countryCallingCodeSource,r=i.countryCallingCode,a=i.number;if(r)o.selectNumberingPlan(r);else{if(!a||!e&&!d)return{};e?(n=e,o.selectNumberingPlan(e),r=o.numberingPlan.callingCode()):(o.selectNumberingPlan(d),r=d)}if(!a)return{countryCallingCodeSource:s,countryCallingCode:r};var l=zt(ne(a),void 0,o),$=l.nationalNumber,u=l.carrierCode,c=gt(r,{nationalNumber:$,metadata:o});return c&&(n=c,"001"===c||o.selectNumberingPlan(n)),{country:n,countryCallingCode:r,countryCallingCodeSource:s,nationalNumber:$,carrierCode:u}}(i,e.defaultCountry,e.defaultCallingCode,o),a=r.country,l=r.nationalNumber,$=r.countryCallingCode,u=r.countryCallingCodeSource,c=r.carrierCode;if(!o.hasSelectedNumberingPlan()){if(e.v2)throw new qt("INVALID_COUNTRY");return{}}if(!l||l.length<2){if(e.v2)throw new qt("TOO_SHORT");return{}}if(l.length>17){if(e.v2)throw new qt("TOO_LONG");return{}}if(e.v2){var h=new Vt($,l,o.metadata);return a&&(h.country=a),c&&(h.carrierCode=c),s&&(h.ext=s),h.__countryCallingCodeSource=u,h}var f=!!(e.extended?o.hasSelectedNumberingPlan():a)&&rt(l,o.nationalNumberPattern());return e.extended?{country:a,countryCallingCode:$,carrierCode:c,valid:f,possible:!!f||!(!0!==e.extended||!o.possibleLengths()||!st(l,o)),phone:l,ext:s}:f?function(t,e,d){var o={country:t,phone:e};return d&&(o.ext=d),o}(a,l,s):{}}function he(t){return he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},he(t)}function fe(t,e){var d=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),d.push.apply(d,o)}return d}function pe(t){for(var e=1;e<arguments.length;e++){var d=null!=arguments[e]?arguments[e]:{};e%2?fe(Object(d),!0).forEach((function(e){ve(t,e,d[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(d)):fe(Object(d)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(d,e))}))}return t}function ve(t,e,d){return(e=function(t){var e=function(t,e){if("object"!=he(t)||!t)return t;var d=t[Symbol.toPrimitive];if(void 0!==d){var o=d.call(t,e);if("object"!=he(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==he(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:d,enumerable:!0,configurable:!0,writable:!0}):t[e]=d,t}function be(t){return be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(t)}function me(t,e){var d=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),d.push.apply(d,o)}return d}function ye(t,e,d){return(e=function(t){var e=function(t,e){if("object"!=be(t)||!t)return t;var d=t[Symbol.toPrimitive];if(void 0!==d){var o=d.call(t,e);if("object"!=be(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==be(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:d,enumerable:!0,configurable:!0,writable:!0}):t[e]=d,t}function ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}function ze(t){var e,d,o,n,i,s=(n=Array.prototype.slice.call(t),i=4,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var d=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=d){var o,n,i,s,r=[],a=!0,l=!1;try{if(i=(d=d.call(t)).next,0===e);else for(;!(a=(o=i.call(d)).done)&&(r.push(o.value),r.length!==e);a=!0);}catch(t){l=!0,n=t}finally{try{if(!a&&null!=d.return&&(s=d.return(),Object(s)!==s))return}finally{if(l)throw n}}return r}}(n,i)||function(t,e){if(t){if("string"==typeof t)return ge(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?ge(t,e):void 0}}(n,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=s[0],a=s[1],l=s[2],$=s[3];if("string"!=typeof r)throw new TypeError("A text for parsing must be a string.");if(e=r,a&&"string"!=typeof a){if(!D(a))throw new Error("Invalid second argument: ".concat(a));l?(d=a,o=l):o=a}else $?(d=l,o=$):(d=void 0,o=l),a&&(d=function(t){for(var e=1;e<arguments.length;e++){var d=null!=arguments[e]?arguments[e]:{};e%2?me(Object(d),!0).forEach((function(e){ye(t,e,d[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(d)):me(Object(d)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(d,e))}))}return t}({defaultCountry:a},d));return{text:e,options:d,metadata:o}}function we(t){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},we(t)}function xe(t,e){var d=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),d.push.apply(d,o)}return d}function ke(t){for(var e=1;e<arguments.length;e++){var d=null!=arguments[e]?arguments[e]:{};e%2?xe(Object(d),!0).forEach((function(e){Ce(t,e,d[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(d)):xe(Object(d)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(d,e))}))}return t}function Ce(t,e,d){return(e=function(t){var e=function(t,e){if("object"!=we(t)||!t)return t;var d=t[Symbol.toPrimitive];if(void 0!==d){var o=d.call(t,e);if("object"!=we(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==we(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:d,enumerable:!0,configurable:!0,writable:!0}):t[e]=d,t}function Se(){var t=ze(arguments);return function(t,e,d){e&&e.defaultCountry&&!d.countries.hasOwnProperty(e.defaultCountry)&&(e=ke(ke({},e),{},{defaultCountry:void 0}));try{return function(t,e,d){return ce(t,pe(pe({},e),{},{v2:!0}),d)}(t,e,d)}catch(t){if(!(t instanceof qt))throw t}}(t.text,t.options,t.metadata)}function Ee(t){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(t)}function Ne(t){var e=function(t){if("object"!=Ee(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=Ee(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ee(e)?e:e+""}var Oe=function(){return t=function t(e){var d=e.onCountryChange,o=e.onCallingCodeChange;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.onCountryChange=d,this.onCallingCodeChange=o},(e=[{key:"reset",value:function(t){var e=t.country,d=t.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(e,d)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:"update",value:function(t){for(var e=0,d=Object.keys(t);e<d.length;e++){var o=d[e];this[o]=t[o]}}},{key:"initCountryAndCallingCode",value:function(t,e){this.setCountry(t),this.setCallingCode(e)}},{key:"setCountry",value:function(t){this.country=t,this.onCountryChange(t)}},{key:"setCallingCode",value:function(t){this.callingCode=t,this.onCallingCodeChange(t,this.country)}},{key:"startInternationalNumber",value:function(t,e){this.international=!0,this.initCountryAndCallingCode(t,e)}},{key:"appendDigits",value:function(t){this.digits+=t}},{key:"appendNationalSignificantNumberDigits",value:function(t){this.nationalSignificantNumber+=t}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Ne(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function Ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}var Ae="x",Te=new RegExp(Ae);function je(t,e){if(e<1)return"";for(var d="";e>1;)1&e&&(d+=t),e>>=1,t+=t;return d+t}function Le(t,e){return")"===t[e]&&e++,function(t){for(var e=[],d=0;d<t.length;)"("===t[d]?e.push(d):")"===t[d]&&e.pop(),d++;var o=0,n="";e.push(t.length);for(var i=0,s=e;i<s.length;i++){var r=s[i];n+=t.slice(o,r),o=r+1}return n}(t.slice(0,e))}function Pe(t,e,d){var o=d.shouldTryNationalPrefixFormattingRule,n=d.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(e.pattern(),")$")).test(t.nationalSignificantNumber))return function(t,e,d){var o=d.getSeparatorAfterNationalPrefix;if((0,d.shouldTryNationalPrefixFormattingRule)(e)){var n=Me(t,e,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:o});if(n)return n}return Me(t,e,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:o})}(t,e,{shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:n})}function Me(t,e,d){var o=d.useNationalPrefixFormattingRule,n=d.getSeparatorAfterNationalPrefix,i=St(t.nationalSignificantNumber,e,{useInternationalFormat:t.international,withNationalPrefix:o});if(o||(t.nationalPrefix?i=t.nationalPrefix+n(e)+i:t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(i=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+i)),function(t,e){return de(t)===e.getNationalDigits()}(i,t))return i}function Re(t){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Re(t)}function Fe(t){var e=function(t){if("object"!=Re(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=Re(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Re(e)?e:e+""}var _e=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},(e=[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var e=this.context[0],d=e.branches,o=e.instructions;if(d)return{op:"|",args:d.concat([Ue(o)])};if(0===o.length)throw new Error("Pattern is required");return 1===o.length?o[0]:o}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw new Error("Pattern is required");var e=t.match(Ge);if(e){var d=e[1],o=t.slice(0,e.index),n=t.slice(e.index+d.length);switch(d){case"(?:":o&&this.parsePattern(o),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(o&&this.parsePattern(o),0===this.getContext().instructions.length)throw new Error('No instructions found after "|" operator in an "or" group');var i=this.getContext().branches;i.push(Ue(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:i});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(o&&this.parsePattern(o),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(Ue(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":o&&this.parsePattern(o),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:Be(o)});break;default:throw new Error("Unknown operator: ".concat(d))}n&&this.parsePattern(n)}else{if(De.test(t))throw new Error("Illegal characters found in a pattern: ".concat(t));this.getContext().instructions=this.getContext().instructions.concat(t.split(""))}}}])&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Fe(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function Be(t){for(var e=[],d=0;d<t.length;){if("-"===t[d]){if(0===d||d===t.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(t));for(var o=t[d-1].charCodeAt(0)+1,n=t[d+1].charCodeAt(0)-1,i=o;i<=n;)e.push(String.fromCharCode(i)),i++}else e.push(t[d]);d++}return e}var De=/[\(\)\[\]\?\:\|]/,Ge=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function Ue(t){return 1===t.length?t[0]:t}function Ve(t,e){var d="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(d)return(d=d.call(t)).next.bind(d);if(Array.isArray(t)||(d=function(t,e){if(t){if("string"==typeof t)return He(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?He(t,e):void 0}}(t))||e){d&&(t=d);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[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 He(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}function Ke(t){return Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ke(t)}function We(t){var e=function(t){if("object"!=Ke(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=Ke(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ke(e)?e:e+""}var Ze=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.matchTree=(new _e).parse(e)},e=[{key:"match",value:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).allowOverflow;if(!t)throw new Error("String is required");var d=Ye(t.split(""),this.matchTree,!0);if(d&&d.match&&delete d.matchedChars,!d||!d.overflow||e)return d}}],e&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,We(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function Ye(t,e,d){if("string"==typeof e){var o=t.join("");return 0===e.indexOf(o)?t.length===e.length?{match:!0,matchedChars:t}:{partialMatch:!0}:0===o.indexOf(e)?d&&t.length>e.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,e.length)}:void 0}if(Array.isArray(e)){for(var n=t.slice(),i=0;i<e.length;){var s=Ye(n,e[i],d&&i===e.length-1);if(!s)return;if(s.overflow)return s;if(!s.match){if(s.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(s,null,2)))}if(0===(n=n.slice(s.matchedChars.length)).length)return i===e.length-1?{match:!0,matchedChars:t}:{partialMatch:!0};i++}return d?{overflow:!0}:{match:!0,matchedChars:t.slice(0,t.length-n.length)}}switch(e.op){case"|":for(var r,a,l=Ve(e.args);!(a=l()).done;){var $=Ye(t,a.value,d);if($){if($.overflow)return $;if($.match)return{match:!0,matchedChars:$.matchedChars};if(!$.partialMatch)throw new Error("Unsupported match result:\n".concat(JSON.stringify($,null,2)));r=!0}}return r?{partialMatch:!0}:void 0;case"[]":for(var u,c=Ve(e.args);!(u=c()).done;){var h=u.value;if(t[0]===h)return 1===t.length?{match:!0,matchedChars:t}:d?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw new Error("Unsupported instruction tree: ".concat(e))}}function Je(t){return Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Je(t)}function qe(t,e){var d="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(d)return(d=d.call(t)).next.bind(d);if(Array.isArray(t)||(d=function(t,e){if(t){if("string"==typeof t)return Xe(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?Xe(t,e):void 0}}(t))||e){d&&(t=d);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[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 Xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}function Qe(t){var e=function(t){if("object"!=Je(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=Je(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Je(e)?e:e+""}var td=je("9",15),ed=/[- ]/,dd=new RegExp("["+ft+"]*\\$1["+ft+"]*(\\$\\d["+ft+"]*)*$"),od=function(){return t=function t(e){var d=e.metadata;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.metadata=d,this.resetFormat()},e=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(t,e){this.resetFormat(),t?(this.isNANP="1"===t.callingCode(),this.matchingFormats=t.formats(),e.nationalSignificantNumber&&this.narrowDownMatchingFormats(e)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(t,e){var d=this;if(function(t,e){return"IS_POSSIBLE"===nt(t,void 0,e)}(e.nationalSignificantNumber,this.metadata))for(var o,n=qe(this.matchingFormats);!(o=n()).done;){var i=o.value,s=Pe(e,i,{shouldTryNationalPrefixFormattingRule:function(t){return d.shouldTryNationalPrefixFormattingRule(t,{international:e.international,nationalPrefix:e.nationalPrefix})},getSeparatorAfterNationalPrefix:function(t){return d.getSeparatorAfterNationalPrefix(t)}});if(s)return this.resetFormat(),this.chosenFormat=i,this.setNationalNumberTemplate(s.replace(/\d/g,Ae),e),this.populatedNationalNumberTemplate=s,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(Ae),s}return this.formatNationalNumberWithNextDigits(t,e)}},{key:"formatNationalNumberWithNextDigits",value:function(t,e){var d=this.chosenFormat,o=this.chooseFormat(e);if(o)return this.formatNextNationalNumberDigits(o===d?t:e.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(t){var e=this,d=t.nationalPrefix,o=t.international,n=t.nationalSignificantNumber,i=n.length-3;i<0&&(i=0),this.matchingFormats=this.matchingFormats.filter((function(t){return e.formatSuits(t,o,d)&&e.formatMatches(t,n,i)})),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(t,e,d){return!(d&&!t.usesNationalPrefix()&&!t.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!e&&!d&&t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(t,e,d){var o=t.leadingDigitsPatterns().length;if(0===o)return!0;d=Math.min(d,o-1);var n=t.leadingDigitsPatterns()[d];if(e.length<3)try{return void 0!==new Ze(n).match(e,{allowOverflow:!0})}catch(t){return console.error(t),!0}return new RegExp("^(".concat(n,")")).test(e)}},{key:"getFormatFormat",value:function(t,e){return e?t.internationalFormat():t.format()}},{key:"chooseFormat",value:function(t){for(var e,d=this,o=function(){var o=e.value;return d.chosenFormat===o?0:dd.test(d.getFormatFormat(o,t.international))?d.createTemplateForFormat(o,t)?(d.chosenFormat=o,0):(d.matchingFormats=d.matchingFormats.filter((function(t){return t!==o})),1):1},n=qe(this.matchingFormats.slice());!(e=n()).done&&0!==o(););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(t,e){if(!(t.pattern().indexOf("|")>=0)){var d=this.getTemplateForFormat(t,e);return d?(this.setNationalNumberTemplate(d,e),!0):void 0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&ed.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var d=t.IDDPrefix;return d?e&&!1===e.spacing?d:d+" ":t.missingPlus?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var e=-1,d=0,o=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";d<o.length+t.getDigitsWithoutInternationalPrefix().length;)e=this.template.indexOf(Ae,e+1),d++;return Le(this.template,e+1)}}},{key:"setNationalNumberTemplate",value:function(t,e){this.nationalNumberTemplate=t,this.populatedNationalNumberTemplate=t,this.populatedNationalNumberTemplatePosition=-1,this.template=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e).replace(/[\d\+]/g,Ae)+je(Ae,e.callingCode.length)+" "+t:t}},{key:"getTemplateForFormat",value:function(t,e){var d=e.nationalSignificantNumber,o=e.international,n=e.nationalPrefix,i=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,s=t.pattern();s=s.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var r=td.match(s)[0];if(!(d.length>r.length)){var a=new RegExp("^"+s+"$"),l=d.replace(/\d/g,"9");a.test(l)&&(r=l);var $,u=this.getFormatFormat(t,o);if(this.shouldTryNationalPrefixFormattingRule(t,{international:o,nationalPrefix:n})){var c=u.replace(Ct,t.nationalPrefixFormattingRule());if(de(t.nationalPrefixFormattingRule())===(n||"")+de("$1")&&(u=c,$=!0,n))for(var h=n.length;h>0;)u=u.replace(/\d/,Ae),h--}var f=r.replace(new RegExp(s),u).replace(new RegExp("9","g"),Ae);return $||(i?f=je(Ae,i.length)+" "+f:n&&(f=je(Ae,n.length)+this.getSeparatorAfterNationalPrefix(t)+f)),o&&(f=kt(f)),f}}},{key:"formatNextNationalNumberDigits",value:function(t){var e=function(t,e,d){for(var o,n=function(t,e){var d="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(d)return(d=d.call(t)).next.bind(d);if(Array.isArray(t)||(d=function(t,e){if(t){if("string"==typeof t)return Ie(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?Ie(t,e):void 0}}(t))||e){d&&(t=d);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[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.")}(d.split(""));!(o=n()).done;){var i=o.value;if(t.slice(e+1).search(Te)<0)return;e=t.search(Te),t=t.replace(Te,i)}return[t,e]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(e)return this.populatedNationalNumberTemplate=e[0],this.populatedNationalNumberTemplatePosition=e[1],Le(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,e){var d=e.international,o=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var n=t.usesNationalPrefix();if(n&&o||!n&&!d)return!0}}}],e&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Qe(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function nd(t){return nd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nd(t)}function id(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var d=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=d){var o,n,i,s,r=[],a=!0,l=!1;try{if(i=(d=d.call(t)).next,0===e);else for(;!(a=(o=i.call(d)).done)&&(r.push(o.value),r.length!==e);a=!0);}catch(t){l=!0,n=t}finally{try{if(!a&&null!=d.return&&(s=d.return(),Object(s)!==s))return}finally{if(l)throw n}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return sd(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?sd(t,e):void 0}}(t,e)||function(){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 sd(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}function rd(t){var e=function(t){if("object"!=nd(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=nd(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==nd(e)?e:e+""}var ad=new RegExp("^["+ft+ht+"]+$","i"),ld="(?:[++]["+ft+ht+"]*|["+ft+ht+"]+)",$d=new RegExp("[^"+ft+ht+"]+.*$"),ud=/[^\d\[\]]/,cd=function(){return t=function t(e){var d=e.defaultCountry,o=e.defaultCallingCode,n=e.metadata,i=e.onNationalSignificantNumberChange;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.defaultCountry=d,this.defaultCallingCode=o,this.metadata=n,this.onNationalSignificantNumberChange=i},(e=[{key:"input",value:function(t,e){var d,o=function(t){var e=function(t){var e=function(t){var e,d=t.search(ld);if(!(d<0))return"+"===(t=t.slice(d))[0]&&(e=!0,t=t.slice(1)),t=t.replace($d,""),e&&(t="+"+t),t}(t)||"";return"+"===e[0]?[e.slice(1),!0]:[e]}(t),d=id(e,2),o=d[0],n=d[1];return ad.test(o)||(o=""),[o,n]}(t),n=id(o,2),i=n[1],s=de(n[0]);return i&&(e.digits||(e.startInternationalNumber(void 0,void 0),s||(d=!0))),s&&this.inputDigits(s,e),{digits:s,justLeadingPlus:d}}},{key:"inputDigits",value:function(t,e){var d=e.digits,o=d.length<3&&d.length+t.length>=3;if(e.appendDigits(t),o&&this.extractIddPrefix(e),this.isWaitingForCountryCallingCode(e)){if(!this.extractCountryCallingCode(e))return}else e.appendNationalSignificantNumberDigits(t);e.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(e.getNationalDigits(),(function(t){return e.update(t)}))}},{key:"isWaitingForCountryCallingCode",value:function(t){return t.international&&!t.callingCode}},{key:"extractCountryCallingCode",value:function(t){var e=xt("+"+t.getDigitsWithoutInternationalPrefix(),t.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),d=e.countryCallingCode,o=e.number;if(d)return t.setCallingCode(d),t.update({nationalSignificantNumber:o}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var e=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=e&&ud.test(e)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,e){if(this.hasSelectedNumberingPlan){var d=bt(t,this.metadata),o=d.nationalNumber;if(o!==t)return this.onExtractedNationalNumber(d.nationalPrefix,d.carrierCode,o,t,e),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,e,d){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,d);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var o=bt(t,this.metadata),n=o.nationalNumber;if(n!==e)return this.onExtractedNationalNumber(o.nationalPrefix,o.carrierCode,n,t,d),!0}}},{key:"onExtractedNationalNumber",value:function(t,e,d,o,n){var i,s=!1,r=o.lastIndexOf(d);if(r<0||r!==o.length-d.length)s=!0;else{var a=o.slice(0,r);a&&a!==t&&(i=a)}n({nationalPrefix:t,carrierCode:e,nationalSignificantNumber:d,nationalSignificantNumberIsModified:s,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:i}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,(function(e){return t.update(e)}))||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var e=t.digits;if(!t.international&&!t.IDDPrefix){var d=vt(e,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==d&&d!==e?(t.update({IDDPrefix:e.slice(0,e.length-d.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0):void 0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var e=wt(t.digits,t.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(e)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:e}),!0}}},{key:"startInternationalNumber",value:function(t,e){t.startInternationalNumber(e.country,e.callingCode),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}}])&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,rd(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function hd(t){return hd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hd(t)}function fd(t,e){(null==e||e>t.length)&&(e=t.length);for(var d=0,o=Array(e);d<e;d++)o[d]=t[d];return o}function pd(t){var e=function(t){if("object"!=hd(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var d=e.call(t,"string");if("object"!=hd(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==hd(e)?e:e+""}var vd=function(){return t=function t(e,d){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.metadata=new Z(d);var o,n,i=(o=this.getCountryAndCallingCode(e),n=2,function(t){if(Array.isArray(t))return t}(o)||function(t,e){var d=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=d){var o,n,i,s,r=[],a=!0,l=!1;try{if(i=(d=d.call(t)).next,0===e);else for(;!(a=(o=i.call(d)).done)&&(r.push(o.value),r.length!==e);a=!0);}catch(t){l=!0,n=t}finally{try{if(!a&&null!=d.return&&(s=d.return(),Object(s)!==s))return}finally{if(l)throw n}}return r}}(o,n)||function(t,e){if(t){if("string"==typeof t)return fd(t,e);var d={}.toString.call(t).slice(8,-1);return"Object"===d&&t.constructor&&(d=t.constructor.name),"Map"===d||"Set"===d?Array.from(t):"Arguments"===d||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?fd(t,e):void 0}}(o,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=i[1];this.defaultCountry=i[0],this.defaultCallingCode=s,this.reset()},e=[{key:"getCountryAndCallingCode",value:function(t){var e,d;return t&&(D(t)?(e=t.defaultCountry,d=t.defaultCallingCode):e=t),e&&!this.metadata.hasCountry(e)&&(e=void 0),[e,d]}},{key:"input",value:function(t){var e=this.parser.input(t,this.state),d=e.digits;if(e.justLeadingPlus)this.formattedOutput="+";else if(d){var o;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(o=this.formatter.format(d,this.state)),void 0===o&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var n=this.state.getNationalDigits();n&&(o=this.formatter.format(n,this.state))}this.formattedOutput=o?this.getFullNumber(o):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var t=this;return this.state=new Oe({onCountryChange:function(e){t.country=e},onCallingCodeChange:function(e,d){t.metadata.selectNumberingPlan(d||e),t.formatter.reset(t.metadata.numberingPlan,t.state),t.parser.reset(t.metadata.numberingPlan)}}),this.formatter=new od({state:this.state,metadata:this.metadata}),this.parser=new cd({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){t.determineTheCountryIfNeeded(),t.formatter.reset(t.metadata.numberingPlan,t.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){return this.state.country}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(t){var e,d=this;if(this.isInternational()){var o=this.state.callingCode;return e=o?t?"".concat(o," ").concat(t):o:"".concat(this.state.getDigitsWithoutInternationalPrefix()),d.formatter.getInternationalPrefixBeforeCountryCallingCode(d.state,{spacing:!!e})+e}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var t=this.state,e=t.nationalSignificantNumber,d=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix||t.nationalPrefix;return d&&(e=d+e),e}},{key:"getNonFormattedNumber",value:function(){return this.getFullNumber(this.state.nationalSignificantNumberIsModified?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:"getNonFormattedTemplate",value:function(){var t=this.getNonFormattedNumber();if(t)return t.replace(/[\+\d]/g,Ae)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var t=this.metadata.getCountryCodesForCallingCode(this.state.callingCode);return t&&t.length>1}},{key:"determineTheCountry",value:function(){var t=gt(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata});t!==this.state.country&&(this.state.setCountry(t),t&&this.metadata.selectNumberingPlan(t))}},{key:"getNumberValue",value:function(){var t=this.state,e=t.digits,d=t.callingCode,o=t.country,n=t.nationalSignificantNumber;if(e)return this.isInternational()?d?"+"+d+n:"+"+e:o||d?"+"+(o?this.metadata.countryCallingCode():d)+n:void 0}},{key:"getNumber",value:function(){var t=this.state,e=t.nationalSignificantNumber,d=t.carrierCode,o=t.callingCode;if(e){var n=this._getCountry();if(n||o){if(n&&n===this.defaultCountry){var i=function(t,e,d){var o=d.getCountryCodesForCallingCode(t);if(o.length>1)return yt(e,o,d.metadata)}(this.metadata.numberingPlan.callingCode(),e,this.metadata);i&&(n=i)}var s=new Vt(n||o,e,this.metadata.metadata);return d&&(s.carrierCode=d),s}}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"validateLength",value:function(){var t=this.state,e=t.nationalSignificantNumber;if(!t.digits)return"NOT_A_NUMBER";if(!this.metadata.numberingPlan)return"INVALID_COUNTRY";if(!e)return"TOO_SHORT";var d=nt(e,void 0,this.metadata);return"IS_POSSIBLE"!==d?d:void 0}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}],e&&function(t,e){for(var d=0;d<e.length;d++){var o=e[d];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,pd(o.key),o)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function bd(t){return vd.call(this,t,R)}function md(){var t=function(t){var e,d,o=t[0],n=t[1],i=t[2],s=t[3],r={};if("string"==typeof o)D(n)?(i?(r=n,d=i):d=n,e=Pt(o)?ce(o,void 0,d):{}):(s?(r=i,d=s):d=i,e=Pt(o)?ce(o,{defaultCountry:n},d):{});else{if(!D(o))throw new TypeError("A phone number must either be a string or an object of shape { phone, [country] }.");e=o,i?(r=n,d=i):d=n}return{input:e,options:r,metadata:d}}(arguments),e=t.input,d=t.options;return!!(e.phone||d&&d.v2)&&it(e,d,t.metadata)}(bd.prototype=Object.create(vd.prototype,{})).constructor=bd;let yd=0;const gd=class{constructor(d){t(this,d),this.inputValueChange=e(this,"inputValueChange",7),this.inputId="zonos--phone-input-"+ ++yd,this.inheritedAttributes={},this.autoComplete="",this.countryOptions=null,this.disabled=!1,this.countryCode=null,this.phoneNumber="",this.isFocused=!1,this.isSelectOpen=!1,this.handleCountryChange=t=>{var e;const d=null===(e=this.countryOptions)||void 0===e?void 0:e[t.target.value];this.selectedCountry=d,this.updatePhoneFormatter();const{isEmpty:o,valid:n,wrongFormat:i}=this.validatePhoneNumber();this.inputValueChange.emit({countryCode:(null==d?void 0:d.countryCode)||null,isEmpty:o,phoneNumber:this.phoneNumber,valid:n,wrongFormat:i})},this.handlePhoneChange=t=>{var e,d;const o=t.target,n=o.value.replace(/[^0-9]/g,"");if(this.asYouType){this.asYouType.reset();const t=this.asYouType.input(n);this.phoneNumber=(null===(e=this.asYouType.getNumber())||void 0===e?void 0:e.number)||"",o.value=t}else this.phoneNumber=n;const{isEmpty:i,valid:s,wrongFormat:r}=this.validatePhoneNumber();this.inputValueChange.emit({countryCode:(null===(d=this.selectedCountry)||void 0===d?void 0:d.countryCode)||null,isEmpty:i,phoneNumber:this.phoneNumber,valid:s,wrongFormat:r})},this.handleFocus=()=>{this.isFocused=!0},this.handleBlur=()=>{this.isFocused=!1},this.isCountryCode=t=>{var e;return void 0!==(null===(e=this.countryOptions)||void 0===e?void 0:e[t])},this.initPhoneNumberValue=()=>{var t;if(!this.countryOptions)return;const e=null===(t=function(){return F(Se,arguments)}(this.inputValue||"",{defaultCountry:this.countryCode}))||void 0===t?void 0:t.country,d=e&&this.isCountryCode(e)?e:this.countryCode,o=Object.values(this.countryOptions).find(Boolean);if(d)this.selectedCountry=this.countryOptions[d]||o,this.phoneNumber=this.inputValue||"",this.updatePhoneFormatter();else{this.selectedCountry=o;const{isEmpty:t,valid:e,wrongFormat:d}=this.validatePhoneNumber();this.inputValueChange.emit({countryCode:(null==o?void 0:o.countryCode)||null,isEmpty:t,phoneNumber:this.phoneNumber,valid:e,wrongFormat:d})}}}onCountryCodeChange(){this.initPhoneNumberValue()}onCountryOptionsChange(){this.initPhoneNumberValue()}onSelectedCountryChange(){this.updatePhoneFormatter()}onPhoneNumberChange(){this.phoneNumber=this.inputValue||"",this.updatePhoneFormatter()}validatePhoneNumber(){var t;if(!this.phoneNumber)return{isEmpty:!0,valid:!1,wrongFormat:!1};const e=function(){return F(md,arguments)}((null===(t=this.asYouType.getNumber())||void 0===t?void 0:t.number)||"");return{isEmpty:!1,valid:e,wrongFormat:!e}}updatePhoneFormatter(){var t,e,d,o;const n=Object.values(this.countryOptions||[]).find(Boolean),i=(null===(t=this.selectedCountry)||void 0===t?void 0:t.countryCode)||(null==n?void 0:n.countryCode)||"US";if(this.asYouType=new bd(i),this.phoneNumber&&(this.asYouType.input(this.phoneNumber),this.inputRef)){this.inputRef.value=(null===(e=this.asYouType.getNumber())||void 0===e?void 0:e.formatNational())||"";const{isEmpty:t,valid:n,wrongFormat:i}=this.validatePhoneNumber();this.inputValueChange.emit({countryCode:(null===(d=this.selectedCountry)||void 0===d?void 0:d.countryCode)||null,isEmpty:t,phoneNumber:(null===(o=this.asYouType.getNumber())||void 0===o?void 0:o.number)||"",valid:n,wrongFormat:i})}}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},N(this.el)),O(this.el,["tabindex","title","data-form-type","dir"])),this.initPhoneNumberValue()}componentDidLoad(){this.initPhoneNumberValue()}render(){var t;const e=this.overridePrimaryColor||l.appearance.colorPrimary,n=this.overrideSecondaryColor||l.appearance.colorSecondary,s=e&&I(e),r=l.appearance.fontSizeInputValue||16,a=!!this.phoneNumber,u=this.countryOptions?Object.values(this.countryOptions).filter(Boolean).sort(((t,e)=>t.displayName.localeCompare(e.displayName))):[];return d(o,{key:"e2a1fc4c2e5f57dc1ae904b70b5f7f421297ae0c",class:c(["zonos--phone-input zonos--elements",s&&"dark"]),"data-theme":s?"DARK":"LIGHT",style:Object.assign({"--zonos--border-radius":g(),"--zonos--font-family":$(),"--zonos--font-size":`${r}px`,"--zonos--primary-color":n},this.minWidth?{"--zonos--min-width":this.minWidth}:{})},d("div",{key:"61a2ee1f566234692a80fe68fbc4d171f36263dc",class:c(["zonos--label-wrapper",this.disabled&&"disabled",this.isFocused&&"focused",a&&"has-content",this.error&&"has-error",this.inputLabel&&"has-label"])},d("select",{key:"32602cf340a06a26c483f049595cdd812826275e",class:"zonos--select",disabled:this.disabled,onBlur:this.handleBlur,onChange:this.handleCountryChange,onFocus:this.handleFocus},u.map((t=>{var e;return d("option",{key:t.countryCode,selected:t.countryCode===(null===(e=this.selectedCountry)||void 0===e?void 0:e.countryCode),value:t.countryCode},t.displayName," (+",t.phoneCode,")")}))),d("div",{key:"1a36aa363a853c420303241e75d89e5aa298dee9",class:"zonos--input-group"},d("div",{key:"7f4d30619c8f69b98422bfcab964113d598d45fa",class:"zonos--select-wrapper"},d("div",{key:"44d0f28dde38fc09ce612ad4cb78f9d1fbdbe951",class:"zonos--country-select"},d("div",{key:"c438e242374e303688150aec2c8eae51b6e1427d",class:"zonos--country-select-content"},this.selectedCountry&&d("div",{key:"2aaec2a6315d2ee84244c4458efce6d27c8598ad",class:"zonos--country-select-selected"},d("div",{key:"819a8b6fd270e43992c19a4b96a4ce5335ae166f",class:"zonos--country-flag-wrapper"},d("zonos-country-flag",{key:"090e6ce55541db022a55497b1b3a6fa7ff2b5406",class:"zonos--country-flag",countryCode:this.selectedCountry.countryCode})),d("div",{key:"021bc4bf590fb6dca736478cc8f9914ce764c1ab",class:"zonos--country-code"},"+",this.selectedCountry.phoneCode)),d("div",{key:"f7256f51c803d1b5aedb3b5d646a777cb553aa9d",class:"zonos--select-chevron-wrapper"},d("zonos-icon",{key:"a018c3fffc1c029df874d9be3c938307b4609d82","aria-label":"Expand collapsed section",class:"zonos--select-chevron",content:'<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>',iconColor:"gray-800"}))))),d("div",{key:"dd20516acf7d5cab10fe91ff4a6f59cc91600732",class:c(["zonos--input-container",this.inputLabel&&"has-label",a&&"has-content"])},d("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:(null===(t=this.selectedCountry)||void 0===t?void 0:t.phonePlaceholder)||"",ref:t=>this.inputRef=t,type:"tel"})),this.inputLabel&&d("div",{key:"be2ae82b335dd291d53f48a73f9b23744392daf6",class:"zonos--floated-label"},d("label",{key:"1894a34c3a5ea09b2b45e8dfc9103d944ac69118",htmlFor:this.inputId},this.inputLabel||i("Phone number")))))),this.error&&d("zonos-text",{key:"ae0ab1f97abbecf8dda4eced5aa139d8c51decaf",textColor:"red-600"},this.error))}get el(){return n(this)}static get watchers(){return{countryCode:[{onCountryCodeChange:0}],countryOptions:[{onCountryOptionsChange:0}],selectedCountry:[{onSelectedCountryChange:0}],inputValue:[{onPhoneNumberChange:0}]}}};gd.style='.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)}';let zd=0;const wd=class{constructor(d){t(this,d),this.selectChange=e(this,"selectChange",7),this.inheritedAttributes={},this.selectId="zonos--select-"+ ++zd,this.selectedValue="",this.isDisabled=!1,this.isError=!1,this.error="",this.selectPlaceholder="",this.options=[],this.autoComplete="",this.value="",this.required=!1,this.isClearable=!1,this.internalValue=this.selectedValue,this.internalOptions=this.options,this.handleClear=t=>{t.stopPropagation(),this.internalValue="",this.selectChange.emit(""),this.el.selectedValue="",this.el.dispatchEvent(new Event("change"))}}onOptionsChange(t){this.internalOptions=t}onSelectedValueChange(t){this.internalValue=t,this.selectChange.emit(t),this.value=t,this.handleNotFoundOption(t)}onValueChange(t){this.internalValue=t,this.handleNotFoundOption(t)}handleNotFoundOption(t){this.internalOptions.find((e=>e.value===t||e.label===t))||(this.internalValue="",this.selectChange.emit(""))}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},N(this.el)),O(this.el,["tabindex","title","data-form-type","dir"]))}render(){const t=this.overridePrimaryColor||l.appearance.colorPrimary,e=this.overrideSecondaryColor||l.appearance.colorSecondary,n=t&&I(t),s=l.appearance.fontSizeInputValue||16,r=this.internalValue||this.selectPlaceholder,a=this.isClearable&&this.internalValue&&!this.isDisabled;return d(o,{key:"c6bf5ed45fd7756985bd97b542933d25a472aa2c",class:c(["zonos--select zonos--elements",n&&"dark",this.isError&&"has-error"]),"data-theme":n?"DARK":"LIGHT",style:Object.assign({"--zonos--border-radius":g(),"--zonos--font-family":$(),"--zonos--font-size":`${s}px`,"--zonos--primary-color":e},this.minWidth?{"--zonos--min-width":this.minWidth}:{})},d("div",{key:"7ff61460b6ac3c5b3e6e35000f3713609a26ebe2",class:c(["zonos--label-wrapper",this.isDisabled&&"disabled"])},d("select",Object.assign({key:"9d644b04d7b46621245581c5143d7310e1d5396d"},this.inheritedAttributes,{autoComplete:this.autoComplete,class:c(["zonos--floated-select",!!this.selectLabel&&"has-label",r&&"has-content",this.isError&&"has-error"]),disabled:this.isDisabled,id:this.selectId,name:this.name,onChange:t=>{const e=t.target;this.selectChange.emit(e.value),this.selectedValue=e.value,this.el.dispatchEvent(new Event("change"))},required:this.required}),d("option",{key:"b448bc3c2a083334108afad566feff22bf89547a",disabled:!0,selected:!this.internalValue,value:""},this.selectPlaceholder||i("Select")),this.internalOptions.map((t=>d("option",{key:t.value,selected:this.internalValue===t.value||this.internalValue===t.label,value:t.value},t.label)))),d("div",{key:"14b3c9dad1202d432ba2a30d03e8335aebaafa89",class:"zonos--floated-label"},d("label",{key:"4e7870ce3eeaf4ea6fd116e3a486537bebb88c87",htmlFor:this.selectId},this.selectLabel)),d("div",{key:"4567ca19c1e018d483105c23ca781e0bbd1d2c3a",class:"zonos--actions-wrapper"},a&&d("button",{key:"cdceea7255fdd19177b82c42878a6c4a20690a1a","aria-label":"Clear selection",class:"zonos--clear-button",onClick:this.handleClear,tabIndex:0,type:"button"},d("zonos-icon",{key:"099b2f1a4fb475bfa76b0f4aeee9e66f27d473f3",class:"zonos--clear-icon",content:'<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>',iconColor:"gray-1200"})),d("zonos-icon",{key:"8c7fdaf2de40a14e4fa0f8f3598851edac1c1ae6","aria-label":"Expand collapsed section",class:"zonos--select-chevron",content:'<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>',iconColor:"gray-800"}))),this.error&&d("zonos-text",{key:"1cb569a7feeea85874c852a1c69cf88076fd6856",textColor:"red-600"},this.error))}get el(){return n(this)}static get watchers(){return{options:[{onOptionsChange:0}],selectedValue:[{onSelectedValueChange:0}],value:[{onValueChange:0}]}}};wd.style=':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}';export{A as zonos_address_completion_dialog,T as zonos_address_form,j as zonos_address_suggestions,L as zonos_address_update_dialog,M as zonos_custom_address,gd as zonos_stripe_phone_input,wd as zonos_stripe_select}