everest-npm-features 0.0.23 → 0.0.24

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 (244) hide show
  1. package/dist/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
  2. package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
  3. package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
  4. package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
  5. package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
  6. package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
  7. package/dist/Button-C57IMamW.js +660 -0
  8. package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
  9. package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
  10. package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
  11. package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
  12. package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
  13. package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
  14. package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
  15. package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
  16. package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
  17. package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
  18. package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
  19. package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
  20. package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
  21. package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
  22. package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
  23. package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
  24. package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
  25. package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
  26. package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
  27. package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
  28. package/dist/GlobalStyles-DhHHc9O0.js +59 -0
  29. package/dist/Grid-BXyV_lM8.js +410 -0
  30. package/dist/Grow-B2p7O_1C.js +196 -0
  31. package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
  32. package/dist/IconButton-eWRhV6Q9.js +295 -0
  33. package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
  34. package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
  35. package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
  36. package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
  37. package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
  38. package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
  39. package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
  40. package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
  41. package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
  42. package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
  43. package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
  44. package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
  45. package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
  46. package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
  47. package/dist/SwitchBase-CHO5ZceN.js +317 -0
  48. package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
  49. package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
  50. package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
  51. package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
  52. package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
  91. package/dist/components/Shared/FullKyc/userInfo.js +11 -11
  92. package/dist/components/Shared/HistoryItem/index.js +7 -7
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Shared/transition.js +1 -1
  98. package/dist/components/Wallet/Account/createIban.d.ts +1 -0
  99. package/dist/components/Wallet/Account/createIban.js +36 -35
  100. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  101. package/dist/components/Wallet/Account/iban.js +16 -16
  102. package/dist/components/Wallet/Account/index.d.ts +1 -0
  103. package/dist/components/Wallet/Account/index.js +76 -70
  104. package/dist/components/Wallet/Account/sendIban.js +61 -61
  105. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  106. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  107. package/dist/components/Wallet/Buy/form.js +17 -17
  108. package/dist/components/Wallet/Buy/index.js +6 -6
  109. package/dist/components/Wallet/Deposit/index.js +7 -7
  110. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  111. package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
  112. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  114. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  116. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
  117. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
  120. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  121. package/dist/components/Wallet/History/index.js +61 -62
  122. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  123. package/dist/components/Wallet/Portfolio/index.js +95 -95
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  125. package/dist/components/Wallet/Profile/documents.js +17 -17
  126. package/dist/components/Wallet/Profile/index.js +225 -206
  127. package/dist/components/Wallet/Receive/index.js +9 -9
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  129. package/dist/components/Wallet/Sell/form.js +17 -17
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +14 -14
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  136. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  137. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  138. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
  139. package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
  140. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  141. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  142. package/dist/components/Wallet/Shared/addBank.js +11 -11
  143. package/dist/components/Wallet/Shared/appButton.js +5 -5
  144. package/dist/components/Wallet/Shared/backBtn.js +8 -8
  145. package/dist/components/Wallet/Shared/button.js +1 -1
  146. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  147. package/dist/components/Wallet/Shared/inputField.js +1 -1
  148. package/dist/components/Wallet/Shared/noData.js +2 -2
  149. package/dist/components/Wallet/Shared/pin.js +3 -3
  150. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  151. package/dist/components/Wallet/Shared/step.js +2 -2
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  156. package/dist/components/Wallet/Stake/id/index.js +12 -12
  157. package/dist/components/Wallet/Stake/index.js +10 -10
  158. package/dist/components/Wallet/Swap/index.js +138 -150
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  161. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  162. package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
  163. package/dist/components/Wallet/Withdraw/form.js +16 -16
  164. package/dist/components/Wallet/Withdraw/index.js +5 -5
  165. package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
  166. package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
  167. package/dist/createTheme-DmGCMO09.js +3825 -0
  168. package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
  169. package/dist/defaultTheme-9fAph5zo.js +5 -0
  170. package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
  171. package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
  172. package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
  173. package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
  174. package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
  175. package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
  176. package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
  177. package/dist/hoc/withThemeProvider.js +518 -417
  178. package/dist/hooks/useDialog/index.js +4 -4
  179. package/dist/hooks/useRrDialog/index.js +4 -4
  180. package/dist/hooks/useSnackBar.js +363 -288
  181. package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
  182. package/dist/icons/buyIcon.js +1 -1
  183. package/dist/icons/canceledBuyIcon.js +1 -1
  184. package/dist/icons/canceledRedeemIcon.js +1 -1
  185. package/dist/icons/failedBuyIcon.js +1 -1
  186. package/dist/icons/failedRedeemIcon.js +1 -1
  187. package/dist/icons/pendingBuyIcon.js +1 -1
  188. package/dist/icons/pendingRedeemIcon.js +1 -1
  189. package/dist/icons/redeemIcon.js +1 -1
  190. package/dist/index-BB3__zW3.js +644 -0
  191. package/dist/index-C86AoaoB.js +43 -0
  192. package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
  193. package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
  194. package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
  195. package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
  196. package/dist/index-eEYiDlpX.js +723 -0
  197. package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
  198. package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
  199. package/dist/main.js +6 -6
  200. package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
  201. package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
  202. package/dist/pep-C5Ge-kU4.js +2691 -0
  203. package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
  204. package/dist/refType-CaiGhRso.js +56 -0
  205. package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
  206. package/dist/tokenRow-BR8f4g7G.js +198 -0
  207. package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
  208. package/dist/useControlled-nm4pBabJ.js +31 -0
  209. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  210. package/dist/useSlot-DtSnboW7.js +125 -0
  211. package/dist/useSlotProps-D62tWbb1.js +25 -0
  212. package/dist/useTheme-Bfw5Gt1b.js +17 -0
  213. package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
  214. package/dist/useThemeProps-lRuJRcRX.js +29 -0
  215. package/dist/wallet-DDW5KCHp.js +39 -0
  216. package/package.json +7 -6
  217. package/dist/Button-DCBtFwk3.js +0 -452
  218. package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
  219. package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
  220. package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
  221. package/dist/Grid-BaaKMDwM.js +0 -501
  222. package/dist/Grid2-DX2sucnU.js +0 -374
  223. package/dist/Grow-CC3Va50c.js +0 -216
  224. package/dist/IconButton-8B2ygvr4.js +0 -238
  225. package/dist/SwitchBase-B9rcpVZ0.js +0 -261
  226. package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
  227. package/dist/createTheme-D_EHVLXp.js +0 -3662
  228. package/dist/defaultTheme-CGLnLLk_.js +0 -5
  229. package/dist/index-BEH1PkNC.js +0 -572
  230. package/dist/index-DSZxScyY.js +0 -704
  231. package/dist/index-DlZLKtdr.js +0 -72
  232. package/dist/pep-BsWvrgyM.js +0 -2600
  233. package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
  234. package/dist/styled-CyBKg0N-.js +0 -5
  235. package/dist/tokenRow-QlGBYRKR.js +0 -206
  236. package/dist/useControlled-BYdyS7Pn.js +0 -31
  237. package/dist/useSlot-BdP6R4tz.js +0 -50
  238. package/dist/useTheme-BFI_g9FY.js +0 -9
  239. package/dist/useThemeProps-BOrAzOS4.js +0 -40
  240. package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
  241. package/dist/useTimeout-_ag1gI7y.js +0 -56
  242. package/dist/utils-B-vKE_Dv.js +0 -50
  243. package/dist/utils-asicApOI.js +0 -21
  244. package/dist/wallet-z7NHqtCj.js +0 -35
@@ -1,189 +1,3715 @@
1
- import { jsxs as u, Fragment as q, jsx as e } from "react/jsx-runtime";
2
- import N from "../Shared/appButton.js";
3
- import { useRef as S, useState as O } from "react";
4
- import { c as b } from "../../../countries-BVn1FubK.js";
5
- import l from "./input.js";
6
- import { pick as w } from "../../../util/functions.js";
1
+ import { jsx as s, jsxs as M, Fragment as yt } from "react/jsx-runtime";
2
+ import * as At from "react";
3
+ import y, { useRef as Fd, useState as Dd } from "react";
4
+ import kd from "react-dom";
5
+ import { s as K, u as Rd, c as Ld } from "../../../DefaultPropsProvider-B2njZVNv.js";
6
+ import { t as It, T as G } from "../../../Typography-DBlMiOti.js";
7
+ import { P as f, n as Bd } from "../../../createTheme-DmGCMO09.js";
8
+ import { L as jd } from "../../../ListItemIcon-GKRFb1Gr.js";
9
+ import { c as Gd } from "../../../DefaultPropsProvider-CZh8M2jM.js";
10
+ import { L as Ud, M as Wd, S as Zd } from "../../../Select-Chubcks_.js";
11
+ import { l as Q, a as Vd, M as ft } from "../../../MenuItem-CeCt0bfa.js";
12
+ import { u as it } from "../../../useSlot-DtSnboW7.js";
13
+ import { T as zd } from "../../../TextField-q_SeLeNd.js";
14
+ import { I as Hd } from "../../../InputAdornment-BKuUMfPj.js";
15
+ import { I as wt } from "../../../IconButton-eWRhV6Q9.js";
16
+ import Yd from "../Shared/appButton.js";
17
+ import { c as Kd } from "../../../countries-BVn1FubK.js";
18
+ import j from "./input.js";
19
+ import { pick as Xd } from "../../../util/functions.js";
7
20
  import "../../../hoc/withThemeProvider.js";
8
21
  import "../Shared/Auth/otpForm.js";
9
- import "../../../constants-BJByDTQY.js";
10
- import { useSnackBarContext as I } from "../../../context/snackBarContext.js";
22
+ import "../../../constants-CsMPRK0U.js";
23
+ import { useSnackBarContext as Qd } from "../../../context/snackBarContext.js";
11
24
  import "../../../util/conversions.js";
12
25
  import "../../../index-CAoLi5Qq.js";
13
- import j from "../Shared/step.js";
26
+ import Jd from "../Shared/step.js";
14
27
  import "../../../react-webcam-B3cXh1XT.js";
15
28
  import "../../Shared/transition.js";
16
29
  import "../Shared/pin.js";
17
30
  import "../../../moment-h96o7c8I.js";
18
- import "../../../tooltip-CwdohO6q.js";
31
+ import "../../../tooltip-DGtrVEzU.js";
19
32
  import "../../../index.esm-BsMAMhYW.js";
20
33
  import "../../../web3-u4qDZYpo.js";
21
34
  import "../../../index-B8QKlEgj.js";
22
35
  import "../../../index-ceeCtFuh.js";
23
- import { B as n } from "../../../Box-Be0E_-eR.js";
24
- import { T as z } from "../../../Typography-Ds4fpvK8.js";
25
- import { G as i } from "../../../Grid-BaaKMDwM.js";
26
- import { S as A } from "../../../Select-DpKw-a6h.js";
27
- import { M as v } from "../../../MenuItem-BkJ_C9Xs.js";
28
- const d = {
36
+ import { B as S } from "../../../Box-B12x52NC.js";
37
+ import { G as ot } from "../../../Grid-BXyV_lM8.js";
38
+ const qd = (d) => {
39
+ const {
40
+ classes: t,
41
+ inset: e,
42
+ primary: n,
43
+ secondary: r,
44
+ dense: a
45
+ } = d;
46
+ return Ld({
47
+ root: ["root", e && "inset", a && "dense", n && r && "multiline"],
48
+ primary: ["primary"],
49
+ secondary: ["secondary"]
50
+ }, Vd, t);
51
+ }, _d = K("div", {
52
+ name: "MuiListItemText",
53
+ slot: "Root",
54
+ overridesResolver: (d, t) => {
55
+ const {
56
+ ownerState: e
57
+ } = d;
58
+ return [{
59
+ [`& .${Q.primary}`]: t.primary
60
+ }, {
61
+ [`& .${Q.secondary}`]: t.secondary
62
+ }, t.root, e.inset && t.inset, e.primary && e.secondary && t.multiline, e.dense && t.dense];
63
+ }
64
+ })({
65
+ flex: "1 1 auto",
66
+ minWidth: 0,
67
+ marginTop: 4,
68
+ marginBottom: 4,
69
+ [`.${It.root}:where(& .${Q.primary})`]: {
70
+ display: "block"
71
+ },
72
+ [`.${It.root}:where(& .${Q.secondary})`]: {
73
+ display: "block"
74
+ },
75
+ variants: [{
76
+ props: ({
77
+ ownerState: d
78
+ }) => d.primary && d.secondary,
79
+ style: {
80
+ marginTop: 6,
81
+ marginBottom: 6
82
+ }
83
+ }, {
84
+ props: ({
85
+ ownerState: d
86
+ }) => d.inset,
87
+ style: {
88
+ paddingLeft: 56
89
+ }
90
+ }]
91
+ }), ad = /* @__PURE__ */ At.forwardRef(function(t, e) {
92
+ const n = Rd({
93
+ props: t,
94
+ name: "MuiListItemText"
95
+ }), {
96
+ children: r,
97
+ className: a,
98
+ disableTypography: i = !1,
99
+ inset: o = !1,
100
+ primary: $,
101
+ primaryTypographyProps: u,
102
+ secondary: l,
103
+ secondaryTypographyProps: h,
104
+ slots: g = {},
105
+ slotProps: m = {},
106
+ ...C
107
+ } = n, {
108
+ dense: p
109
+ } = At.useContext(Ud);
110
+ let b = $ ?? r, x = l;
111
+ const D = {
112
+ ...n,
113
+ disableTypography: i,
114
+ inset: o,
115
+ primary: !!b,
116
+ secondary: !!x,
117
+ dense: p
118
+ }, T = qd(D), L = {
119
+ slots: g,
120
+ slotProps: {
121
+ primary: u,
122
+ secondary: h,
123
+ ...m
124
+ }
125
+ }, [H, Y] = it("root", {
126
+ className: Gd(T.root, a),
127
+ elementType: _d,
128
+ externalForwardedProps: {
129
+ ...L,
130
+ ...C
131
+ },
132
+ ownerState: D,
133
+ ref: e
134
+ }), [U, c] = it("primary", {
135
+ className: T.primary,
136
+ elementType: G,
137
+ externalForwardedProps: L,
138
+ ownerState: D
139
+ }), [N, O] = it("secondary", {
140
+ className: T.secondary,
141
+ elementType: G,
142
+ externalForwardedProps: L,
143
+ ownerState: D
144
+ });
145
+ return b != null && b.type !== G && !i && (b = /* @__PURE__ */ s(U, {
146
+ variant: p ? "body2" : "body1",
147
+ component: c != null && c.variant ? void 0 : "span",
148
+ ...c,
149
+ children: b
150
+ })), x != null && x.type !== G && !i && (x = /* @__PURE__ */ s(N, {
151
+ variant: "body2",
152
+ color: "textSecondary",
153
+ ...O,
154
+ children: x
155
+ })), /* @__PURE__ */ M(H, {
156
+ ...Y,
157
+ children: [b, x]
158
+ });
159
+ });
160
+ process.env.NODE_ENV !== "production" && (ad.propTypes = {
161
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
162
+ // │ These PropTypes are generated from the TypeScript type definitions. │
163
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
164
+ // └─────────────────────────────────────────────────────────────────────┘
165
+ /**
166
+ * Alias for the `primary` prop.
167
+ */
168
+ children: f.node,
169
+ /**
170
+ * Override or extend the styles applied to the component.
171
+ */
172
+ classes: f.object,
173
+ /**
174
+ * @ignore
175
+ */
176
+ className: f.string,
177
+ /**
178
+ * If `true`, the children won't be wrapped by a Typography component.
179
+ * This can be useful to render an alternative Typography variant by wrapping
180
+ * the `children` (or `primary`) text, and optional `secondary` text
181
+ * with the Typography component.
182
+ * @default false
183
+ */
184
+ disableTypography: f.bool,
185
+ /**
186
+ * If `true`, the children are indented.
187
+ * This should be used if there is no left avatar or left icon.
188
+ * @default false
189
+ */
190
+ inset: f.bool,
191
+ /**
192
+ * The main content element.
193
+ */
194
+ primary: f.node,
195
+ /**
196
+ * These props will be forwarded to the primary typography component
197
+ * (as long as disableTypography is not `true`).
198
+ * @deprecated Use `slotProps.primary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
199
+ */
200
+ primaryTypographyProps: f.object,
201
+ /**
202
+ * The secondary content element.
203
+ */
204
+ secondary: f.node,
205
+ /**
206
+ * These props will be forwarded to the secondary typography component
207
+ * (as long as disableTypography is not `true`).
208
+ * @deprecated Use `slotProps.secondary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
209
+ */
210
+ secondaryTypographyProps: f.object,
211
+ /**
212
+ * The props used for each slot inside.
213
+ * @default {}
214
+ */
215
+ slotProps: f.shape({
216
+ primary: f.oneOfType([f.func, f.object]),
217
+ root: f.oneOfType([f.func, f.object]),
218
+ secondary: f.oneOfType([f.func, f.object])
219
+ }),
220
+ /**
221
+ * The components used for each slot inside.
222
+ * @default {}
223
+ */
224
+ slots: f.shape({
225
+ primary: f.elementType,
226
+ root: f.elementType,
227
+ secondary: f.elementType
228
+ }),
229
+ /**
230
+ * The system prop that allows defining system overrides as well as additional CSS styles.
231
+ */
232
+ sx: f.oneOfType([f.arrayOf(f.oneOfType([f.func, f.object, f.bool])), f.func, f.object])
233
+ });
234
+ const te = {
235
+ Flag: K("span")(() => ({
236
+ display: "flex",
237
+ alignItems: "center"
238
+ }))
239
+ }, de = "MuiTelInput-Flag", id = ({ isoCode: d, children: t }) => /* @__PURE__ */ s(te.Flag, { "data-testid": d, className: de, children: t }), q = "en", Ct = {
240
+ EU: [
241
+ "AD",
242
+ "AL",
243
+ "AT",
244
+ "AX",
245
+ "BA",
246
+ "BE",
247
+ "BG",
248
+ "BY",
249
+ "CH",
250
+ "CY",
251
+ "CZ",
252
+ "DE",
253
+ "DK",
254
+ "EE",
255
+ "ES",
256
+ "FI",
257
+ "FO",
258
+ "FR",
259
+ "GB",
260
+ "GG",
261
+ "GI",
262
+ "GR",
263
+ "HR",
264
+ "HU",
265
+ "IE",
266
+ "IM",
267
+ "IS",
268
+ "IT",
269
+ "JE",
270
+ "LI",
271
+ "LT",
272
+ "LU",
273
+ "LV",
274
+ "MC",
275
+ "MD",
276
+ "ME",
277
+ "MK",
278
+ "MT",
279
+ "NL",
280
+ "NO",
281
+ "PL",
282
+ "PT",
283
+ "RO",
284
+ "RS",
285
+ "RU",
286
+ "SE",
287
+ "SI",
288
+ "SJ",
289
+ "SK",
290
+ "SM",
291
+ "UA",
292
+ "VA",
293
+ "XK"
294
+ ],
295
+ AS: [
296
+ "AE",
297
+ "AF",
298
+ "AM",
299
+ "AZ",
300
+ "BD",
301
+ "BH",
302
+ "BN",
303
+ "BT",
304
+ "CC",
305
+ "CN",
306
+ "CX",
307
+ "GE",
308
+ "HK",
309
+ "ID",
310
+ "IL",
311
+ "IN",
312
+ "IO",
313
+ "IQ",
314
+ "IR",
315
+ "JO",
316
+ "JP",
317
+ "KG",
318
+ "KH",
319
+ "KP",
320
+ "KR",
321
+ "KW",
322
+ "KZ",
323
+ "LA",
324
+ "LB",
325
+ "LK",
326
+ "MM",
327
+ "MN",
328
+ "MO",
329
+ "MV",
330
+ "MY",
331
+ "NP",
332
+ "OM",
333
+ "PH",
334
+ "PK",
335
+ "PS",
336
+ "QA",
337
+ "SA",
338
+ "SG",
339
+ "SY",
340
+ "TH",
341
+ "TJ",
342
+ "TM",
343
+ "TR",
344
+ "TW",
345
+ "UZ",
346
+ "VN",
347
+ "YE"
348
+ ],
349
+ NA: [
350
+ "AG",
351
+ "AI",
352
+ "AW",
353
+ "BB",
354
+ "BL",
355
+ "BM",
356
+ "BQ",
357
+ "BS",
358
+ "BZ",
359
+ "CA",
360
+ "CR",
361
+ "CU",
362
+ "CW",
363
+ "DM",
364
+ "DO",
365
+ "GD",
366
+ "GL",
367
+ "GP",
368
+ "GT",
369
+ "HN",
370
+ "HT",
371
+ "JM",
372
+ "KN",
373
+ "KY",
374
+ "LC",
375
+ "MF",
376
+ "MQ",
377
+ "MS",
378
+ "MX",
379
+ "NI",
380
+ "PA",
381
+ "PM",
382
+ "PR",
383
+ "SV",
384
+ "SX",
385
+ "TC",
386
+ "TT",
387
+ "US",
388
+ "VC",
389
+ "VG",
390
+ "VI"
391
+ ],
392
+ SA: [
393
+ "AR",
394
+ "BO",
395
+ "BR",
396
+ "CL",
397
+ "CO",
398
+ "EC",
399
+ "FK",
400
+ "GF",
401
+ "GY",
402
+ "PE",
403
+ "PY",
404
+ "SR",
405
+ "UY",
406
+ "VE"
407
+ ],
408
+ OC: [
409
+ "AS",
410
+ "AU",
411
+ "CK",
412
+ "FJ",
413
+ "FM",
414
+ "GU",
415
+ "KI",
416
+ "MH",
417
+ "MP",
418
+ "NC",
419
+ "NF",
420
+ "NR",
421
+ "NU",
422
+ "NZ",
423
+ "PF",
424
+ "PG",
425
+ "PW",
426
+ "SB",
427
+ "TK",
428
+ "TL",
429
+ "TO",
430
+ "TV",
431
+ "VU",
432
+ "WF",
433
+ "WS"
434
+ ],
435
+ AF: [
436
+ "AO",
437
+ "BF",
438
+ "BI",
439
+ "BJ",
440
+ "BW",
441
+ "CD",
442
+ "CF",
443
+ "CG",
444
+ "CI",
445
+ "CM",
446
+ "CV",
447
+ "DJ",
448
+ "DZ",
449
+ "EG",
450
+ "EH",
451
+ "ER",
452
+ "ET",
453
+ "GA",
454
+ "GH",
455
+ "GM",
456
+ "GN",
457
+ "GQ",
458
+ "GW",
459
+ "KE",
460
+ "KM",
461
+ "LR",
462
+ "LS",
463
+ "LY",
464
+ "MA",
465
+ "MG",
466
+ "ML",
467
+ "MR",
468
+ "MU",
469
+ "MW",
470
+ "MZ",
471
+ "NA",
472
+ "NE",
473
+ "NG",
474
+ "RE",
475
+ "RW",
476
+ "SC",
477
+ "SD",
478
+ "SH",
479
+ "SL",
480
+ "SN",
481
+ "SO",
482
+ "SS",
483
+ "ST",
484
+ "SZ",
485
+ "TD",
486
+ "TG",
487
+ "TN",
488
+ "TZ",
489
+ "UG",
490
+ "YT",
491
+ "ZA",
492
+ "ZM",
493
+ "ZW"
494
+ ]
495
+ }, od = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 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)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|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]|33|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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|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", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?: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]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?: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{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 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", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\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[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[0135-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[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}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 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", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[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{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "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, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|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, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-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|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-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{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|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", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|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", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[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|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
496
+ function ee(d) {
497
+ return typeof d == "object" && !Array.isArray(d) && d !== null;
498
+ }
499
+ const ne = Object.keys, V = od.countries, re = ne(V), ae = "US";
500
+ function F(d, t) {
501
+ const e = Array.isArray(d);
502
+ return t ? e && d.length > 0 : e;
503
+ }
504
+ function ie(d, t) {
505
+ return d.find((e) => t.includes(e)) || null;
506
+ }
507
+ function _(d) {
508
+ var t;
509
+ return (t = V[d]) == null ? void 0 : t[0];
510
+ }
511
+ function oe(d) {
512
+ return d || ae;
513
+ }
514
+ function St(d, t) {
515
+ return [...new Set(t.concat(d))];
516
+ }
517
+ function $e(d) {
518
+ return d.flatMap((t) => Ct[t]);
519
+ }
520
+ function le(d, t) {
521
+ return d.filter((e) => t.includes(e));
522
+ }
523
+ function ue(d, t) {
524
+ return F(t, !0) ? d.filter((e) => !t.includes(e)) : d;
525
+ }
526
+ function Mt(d, t) {
527
+ return [...d].sort((e, n) => {
528
+ const r = t.of(e), a = t.of(n);
529
+ return r.localeCompare(a);
530
+ });
531
+ }
532
+ function se(d, t, e) {
533
+ const { onlyCountries: n, excludedCountries: r, continents: a, preferredCountries: i } = e;
534
+ if (F(n, !0)) {
535
+ const l = Mt(
536
+ le(d, n),
537
+ t
538
+ );
539
+ return F(i, !0) ? St(l, i) : l;
540
+ }
541
+ const o = F(a, !0) ? $e(a) : d, $ = Mt(
542
+ o,
543
+ t
544
+ ), u = F(i, !0) ? St($, i) : $;
545
+ return F(r, !0) ? ue(u, r) : u;
546
+ }
547
+ function ce(d, t) {
548
+ return d.some((e) => Ct[e].includes(t));
549
+ }
550
+ const fe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAeCAYAAABXNvynAAAMeGlDQ1BEaXNwbGF5AABIiZVXd1ST9xp+vpGEhBFGQEBG2EsQ2UNmmIKCbBBHSAIEQoghQcU9ahWtWxw40bqLViuodaJWrRbBbR1FLSqVWtQ6Ubl/JKD13nvuue85ye89z+95n3d838nJC3DfCBUKGWkIlMlVyrT4aH5Obh6f9RAU2ODAAG5CUYUiKjU1GQB6z8+MAF5dAwEAlz2FCoUM/58ZiyUVIoDIB1AgrhCVAcRxgF4jUihVADMfgMM4lUIFMKcB4ClzcvMA5jIAvCKNvw0Ar0DjHwbAU2akCQBmC6CjJxQqiwCD2wD4laIiFWDwHoC3XCyVA9wBAMJFxUIxwJUBGFBWVi4GuCsBuFaKihQA9ziAoILPNIv+oV/Qpy8UFvX5mr4AADox0gqFTDjh/xzN/7Yymbo3hzMAvWJlQhoAHkDcKC1PSgOgBxCd8oJhKQCMAeKNVKyZO0ByitUJmRo+aSWqEOQBMANIb7EwJgmAFUDGyWXDkrV4QaE0LhGAIUCOl6oSMwCYA+QcSUVsupazQVmeps1FNhQqBVFa/KxQCWhz3VWXZkZp9Z8XSxK1+pRBVXFGNgAOQDlWSrOGATAAKK+K0vQkLWdwVbFgWC9HqU7LBOAIUGkSeXy0Rp+qLFTGpWn51WUVvf1SG4qlicO0/l5VcUaCZj7UKZEwNl3TC9UikUdl9upIKnKSe3sRS2JiNb1TjyXyzHStzhuFKjpNE0tzFLJULZ+2l8ji0wDYA7RfRWW6NpbOUikztM+ILlSoUjM0ddJVJcIhqZp66EVIhgAx4EMNPgpQjhJImzsbO8HX3sRBCCWKIIGnFumNyIYQSsghRDqq8CfkkKCiLy4aQighQSXk+NCHar49UQghlKiEBBUoxUMoUYYkyCCBGkpIIO/LloXfoYT037ILwYcI5ZChHEpI/wvei35CoiBAshZR92bkc3uZzFhmDDOBGcd0oy3pcDqUTqbD6Ug6nPahg+jg3j4+8RkPGa2M+4yrjDbGzdHSGcovqhyKNqi1M5Sg4PNZ0M60D+1PR9NhdDgdDD5tRlvCk/ajg+goOoIOpf3pYAi0dauh/GKGX3Tw2dPQ8tjebJLdjx3Jdv0y0sDdwL9PRQL5P+ajqbWgb96Cvpsv8ws+m74Y5Uj6kknNofZRZ6gT1DnqMNUIPnWMOkBdoI5QjZ+9Xb9DiaK+bGmQQI5SyCD9t3xCbU4lJKjw3und4f1ec6eSjFcBgKBcMUEpLSpW8aMUCpmEnygXeQ3g+3j7+AA5uXl8zc/Xi+EgABBmFz5hM38Dwo719PT8+Akbcgz4PhDgHPyEuQYBRrrA2YMitbJSg9EAwAAHXPBgARs4wBWe8EEAQhGJWAxBCjKQi1EQoRhlUGIcJmE6ZmMeFmE5VmM9NmEbvsNeNOIwTuAnnEcLruIW2tCOJ+jCK3QTBMEi9AkTwoKwJZwID8KHCCLCiVgimUgjcokxRBEhJ9TEJGImMY9YQqwmNhLbie+Jg8QJ4hzRStwk7hEdxHPiHUmReiSPtCadyYFkEBlFJpEZ5EiyiBxLVpGzyAXkSrKO3EU2kCfI8+RVso18Qr6kQOlSZpQd5UkFUQIqhcqjCiklNYWqpmqoOqqeOkSdoS5TbVQn9ZZm0iY0n/akQ+kEOpMW0WPpKfR8ejW9jW6gT9GX6Xt0F/2Roc+wYngwQhiJjBxGEWMcYzajhrGFsZ9xmnGV0c54xWQyzZguzEBmAjOXWcKcyJzPXMvczTzObGU+YL5ksVgWLA9WGCuFJWSpWLNZq1i7WMdYl1jtrDc6ujq2Oj46cTp5OnKdGTo1Ojt0jupc0nmk0802ZDuxQ9gpbDF7AnshezP7EPsiu53dzTHiuHDCOBmcEs50zkpOPec05zbnha6urr1usO5wXanuNN2Vunt0z+re032rZ6znrifQy9dT6y3Q26p3XO+m3gt9fX1n/Uj9PH2V/gL97fon9e/qvzEwMfAySDQQG0w1qDVoMLhk8JTL5jpxo7ijuFXcGu4+7kVupyHb0NlQYCg0nGJYa3jQ8LrhSyMTo0FGKUZlRvONdhidM3pszDJ2No41FhvPMt5kfNL4gQll4mAiMBGZzDTZbHLapJ3H5LnwEnklvHm873jNvC5TY1M/0yzT8aa1pkdM28woM2ezRDOZ2UKzvWbXzN71s+4X1U/Sb26/+n6X+r02728eaS4xrzbfbX7V/J0F3yLWotRisUWjxR1L2tLdcrjlOMt1lqctO/vz+of2F/Wv7r+3/69WpJW7VZrVRKtNVhesXlrbWMdbK6xXWZ+07rQxs4m0KbFZZnPUpsPWxDbcVmq7zPaY7R98U34UX8ZfyT/F77KzskuwU9tttGu267Z3sc+0n2G/2/6OA8chyKHQYZlDk0OXo63jUMdJjjsdf3ViOwU5FTutcDrj9NrZxTnb+WvnRufHLuYuiS5VLjtdbrvqu0a4jnWtc73ixnQLcit1W+vW4k66+7sXu9e6X/QgPQI8pB5rPVoHMAYED5APqBtw3VPPM8qz0nOn5z0vM69krxlejV5PBzoOzBu4eOCZgR+9/b1l3pu9bw0yHjRk0IxBhwY993H3EfnU+lzx1feN853qe8D3mZ+Hn8Rvnd8NfxP/of5f+zf5fwgIDFAG1Ad0BDoGjglcE3g9iBeUGjQ/6GwwIzg6eGrw4eC3IQEhqpC9IX+FeoaWhu4IfTzYZbBk8ObBD8Lsw4RhG8PawvnhY8I3hLdF2EUII+oi7kc6RIojt0Q+inKLKonaFfU02jtaGb0/+rUgRDBZcDyGiomPqY5pjjWOzYxdHXs3zj6uKG5nXFe8f/zE+OMJjISkhMUJ1xOtE0WJ2xO7hgQOmTzkVJJeUnrS6qT7ye7JyuRDQ8mhQ4YuHXp7mNMw+bDGFKQkpixNuZPqkjo29cfhzOGpw2uHP0wblDYp7Uy6Sfro9B3przKiMxZm3Mp0zVRnNmVxs/Kztme9zo7JXpLdljMwZ3LO+VzLXGnugTxWXlbelryXI2JHLB/Rnu+fPzv/2kiXkeNHnhtlOUo26sho7mjh6H1jGGOyx+wY816YIqwTvixILFhT0CUSiFaInogjxcvEHZIwyRLJo8KwwiWFj4vCipYWdRRHFNcUd0oF0tXSZyUJJetLXpemlG4t7ZFly3aX6ZSNKTsoN5aXyk+V25SPL29VeChmK9rGhoxdPrZLmaTcUkFUjKw4oOKpFKoLalf1V+p7leGVtZVvxmWN2zfeaLx8/IUJ7hPmTnhUFVf17UR6omhi0yS7SdMn3ZscNXnjFGJKwZSmqQ5TZ01tnxY/bdt0zvTS6b/M8J6xZMbfM7NnHpplPWvarAdfxX+1c7bBbOXs61+Hfr1+Dj1HOqd5ru/cVXM/Vourf57nPa9m3vv5ovk/fzPom5Xf9CwoXNC8MGDhukXMRfJF1xZHLN62xGhJ1ZIHS4cubVjGX1a97O/lo5efq/GrWb+Cs0K9om1l8soDqxxXLVr1fnXx6qu10bW711itmbvm9Vrx2kvrItfVr7deP2/9uw3SDTc2xm9sqHOuq9nE3FS56eHmrM1nvg36dvsWyy3ztnzYKt/ati1t26ntgdu377DasXAnuVO9s2NX/q6W72K+O1DvWb9xt9nueXuwR73nj+/HfH9tb9Lepn1B++p/cPphzX6T/dUNRMOEhq7G4sa2A7kHWg8OOdh0KPTQ/h+9ftx62O5w7RHTIwuPco7OOtpzrOrYy+OK450nik48aBrddOtkzskrp4afaj6ddPrsT3E/nTwTdebY2bCzh8+FnDv4c9DPjecDzjdc8L+w/xf/X/Y3BzQ3XAy8eKAluOVQ6+DWo5ciLp24HHP5pyuJV85fHXa19VrmtRvX86+33RDfeHxTdvPZr5W/dt+adptxu/qO4Z2au1Z3635z+213W0DbkXsx9y7cT79/64HowZPfK35/3z7rof7Dmke2j7Y/9nl8uCOuo+WPEX+0P1E86e6c/afRn2ueuj794a/Ivy505XS1P1M+63k+/4XFi61/+/3d9DL15d1XZa+6X1e/sXiz7W3Q2zPvst896h73nvV+5Qe3D4c+Jn283VPW06MQKoUAAAoAWVgIPN8K6OcCJi0AZ4RmFwQAEJr9FdD8B/nPvmZfBAAEAPU8YHgnILgO7NkMOBcC3HwgVR/ICAbp69v30VpFoa+PRksvGmDc7el54QywlgIfFvX0dNf19HzYBFC3geNyzQ4KAExDYEPih4KyAvwH0+ynn/X45QmQvr5++PL8F6mCkLerjl90AAAACXBIWXMAAAsTAAALEwEAmpwYAAAE92lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjItMDMtMTJUMTQ6MTY6NTArMDE6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDIyLTAzLTIwVDEwOjIyOjUxKzAxOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDIyLTAzLTIwVDEwOjIyOjUxKzAxOjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpmZDY2ZDIzMC1mMDk3LTRhMjUtODkxNi1mN2YxMmQ2NTRhNjkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ZmQ2NmQyMzAtZjA5Ny00YTI1LTg5MTYtZjdmMTJkNjU0YTY5IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6ZmQ2NmQyMzAtZjA5Ny00YTI1LTg5MTYtZjdmMTJkNjU0YTY5Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpmZDY2ZDIzMC1mMDk3LTRhMjUtODkxNi1mN2YxMmQ2NTRhNjkiIHN0RXZ0OndoZW49IjIwMjItMDMtMTJUMTQ6MTY6NTArMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChNYWNpbnRvc2gpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjHOcacAAAMOSURBVFiFzZixa1NBHMe/FxOIryWNNUkjJCYQkhJKU2oXsdJowU7t6KZroYNDB7eOgn+Dg0t10MmhrhUUEelm2hDaUmibQBtbQxuaI5JHn4O8cHe59/LuRY3fJbnj97vf5373vSOEzC8t4+W9mcUNzfcc/6mSw9H38U9rzx4d1ndJ9e27xa3Q0It+QznR1MbHjEfsbL1Bu35XjZflqtYBgPLMwgpZX/9gWEbYqN6gCAxofzVPjKWU1jyU0pos0MnYSddFBQa0rh1nY1lpmjbskSWJgbKOpBJJgy3OFmTjZcedSiQNuxyrDVBKaxxwt6R6g6LeoEglksZ4bozcvnO3PW91zOa8uVY6k8Z4boykM2lpvKxpLIenI8NmAwAwNTmB8dwYAQDN78Pcgznp5mQQU5MTiMdiAIB4LIbpfL4jT1bTnOMsIR6t1edZ7Zy7pCa06E0xbzqfb8OaOt4/4NbqVptSWlN+Jczjn529z83TZgtfv3zm7MHChgODXPxmoWjsHewT1ZeGFL5tXSplADg5/U7CoYhhWsOU3tJRKm1zDYgmE0SELVcq2N3ZRTgUUX5SXQGzsoNOZTJE8/s6YEVbqcj20rEyRjxENr9ZKHLFvT4vUpkMiSYTfxwWkACzYOx3Ur20LLRZKBp6S2+PNb+vw7PdYMWGWDWoZ0uwkllA5ute5NgSweEhaed7FbuubCxKCixLYo9TZg9Zd4HfnhYvptW6srHYHCmw6sXIZkc5WL2lgzZbXIwI7fSUxOY4toSVstlR4vV5ublSadvY29nhLiLAQ9tdYjvZAlu9GFawektHuVLhwGWd7uZTu+6Tw3LZ1U7F3wUAOFhWN0aiEE/BKrabXFlCBRYAjqrHEO0Rj8XgDwSVaysDXw+NdMw56ZYM+tpVv2p5deAfp1Wc1C/aY5WjZaFps4Wj6rFqefce9geCaNbP3KT2lOv6WXNbsNfcnt/hfy1POBJd7TeEU50fVlevPB3wFH/mbj3pN4wTRdbePCTzS8t4fTOQLs8srBiD/sf9hpKJXDRfmX8G/gKUwMkA3my/NwAAAABJRU5ErkJggg==", Tt = {
551
+ AC: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 513 342'%3e%3cpath fill='%230052B4' d='M0 0h513v342H0z'/%3e%3cpath fill='white' d='M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z'/%3e%3cpath fill='%2329DBFF' d='M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9'/%3e%3cpath fill='white' d='M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4'/%3e%3cpath fill='%2329DBFF' d='M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53'/%3e%3cpath fill='white' d='M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1'/%3e%3cpath fill='%2329DBFF' d='M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5'/%3e%3cpath fill='%235CC85C' d='M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z'/%3e%3cellipse transform='rotate(-82.3 291.431 225.686)' fill='%23F7A226' cx='291.4' cy='225.7' rx='48.7' ry='15.7'/%3e%3cellipse transform='rotate(-68.099 303.087 164.67)' fill='%23DDC7AB' cx='303.1' cy='164.7' rx='11.7' ry='7.2'/%3e%3cellipse transform='rotate(-81.738 291.697 271.697)' fill='%23DDC7AB' cx='291.7' cy='271.7' rx='11.4' ry='3.3'/%3e%3cellipse transform='matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)' fill='%23DDC7AB' cx='299.6' cy='269.4' rx='3.3' ry='11'/%3e%3cellipse transform='rotate(-21.518 314.54 201.06)' fill='%23DDC7AB' cx='314.5' cy='201.1' rx='4.1' ry='13.7'/%3e%3cellipse transform='rotate(-21.518 317.511 178.077)' fill='%23DDC7AB' cx='317.5' cy='178.1' rx='13.7' ry='4.1'/%3e%3cellipse transform='rotate(-7.7 473.781 225.857)' fill='%23F7A226' cx='473.6' cy='225.9' rx='15.7' ry='48.7'/%3e%3cellipse transform='rotate(-21.901 462.057 164.866)' fill='%23DDC7AB' cx='462' cy='164.9' rx='7.2' ry='11.7'/%3e%3cellipse transform='rotate(-8.27 473.27 271.908)' fill='%23DDC7AB' cx='473.4' cy='271.9' rx='3.3' ry='11.4'/%3e%3cellipse transform='matrix(.05353 -.9986 .9986 .05353 171.34 719.998)' fill='%23DDC7AB' cx='465.5' cy='269.6' rx='11' ry='3.3'/%3e%3cellipse transform='rotate(-68.482 450.552 201.247)' fill='%23DDC7AB' cx='450.6' cy='201.2' rx='13.7' ry='4.1'/%3e%3cellipse transform='rotate(-68.482 447.58 178.265)' fill='%23DDC7AB' cx='447.6' cy='178.3' rx='4.1' ry='13.7'/%3e%3cpath fill='%23B0C6CC' d='M373.3 130.3L356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z'/%3e%3cpath fill='white' d='M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z'/%3e%3cpath fill='%23D80027' d='M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z'/%3e%3cpath fill='%232E52B2' d='M256 22.7v30.7h-46.1z'/%3e%3cpath fill='%23D80027' d='M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6l-77.8-53.3h22.6l62.5 42.3v11z'/%3e%3c/svg%3e",
552
+ TA: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 341.3'%3e%3cpath fill='%230052B4' d='M0 0h512v341.3H0z'/%3e%3cpath fill='white' d='M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z'/%3e%3cg fill='%23D80027'%3e%3cpath d='M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z'/%3e%3cpath d='M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z'/%3e%3c/g%3e%3cpath fill='%232E52B2' d='M256 22.7v30.7h-46.1z'/%3e%3cpath d='M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z' fill='%23D80027'/%3e%3cpath fill='%232E52B2' d='M256 22.7v30.7h-46.1z'/%3e%3cpath d='M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z' fill='%23D80027'/%3e%3cpath fill='%2329DBFF' d='M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z'/%3e%3cpath fill='white' d='M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9'/%3e%3cpath fill='%2329DBFF' d='M385.4 251.7l-22.9-43h45.8z'/%3e%3cpath fill='white' d='M385.4 165.8l-22.9 42.9h45.8z'/%3e%3cellipse fill='%23FFBE57' cx='474.8' cy='236.8' rx='16.8' ry='43.3'/%3e%3cellipse fill='%23FFBE57' cx='295.3' cy='236.8' rx='16.8' ry='43.3'/%3e%3cpath fill='white' d='M385.4 31.5l-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z'/%3e%3cellipse fill='%23A5A5A5' cx='386.3' cy='104.3' rx='34.3' ry='23.3'/%3e%3c/svg%3e"
553
+ }, he = (d) => d === "TA" || d === "AC" ? {
554
+ TA: Tt.TA,
555
+ AC: Tt.AC
556
+ }[d] : `https://flagcdn.com/w40/${d.toLowerCase()}.webp`, $d = "MuiTelInput-FlagImg", vt = ({
557
+ isoCode: d,
558
+ countryName: t
559
+ }) => ({
560
+ src: he(d),
561
+ loading: "lazy",
562
+ width: 26,
563
+ alt: t,
564
+ className: $d
565
+ }), me = (d, { countryName: t }) => /* @__PURE__ */ s("img", { ...vt({ isoCode: d, countryName: t }) }), ge = /* @__PURE__ */ s(
566
+ "img",
567
+ {
568
+ src: fe,
569
+ loading: "lazy",
570
+ width: 26,
571
+ alt: "unknown",
572
+ className: $d
573
+ }
574
+ );
575
+ function W(...d) {
576
+ process.env.NODE_ENV !== "production" && console.error(...d);
577
+ }
578
+ function ld(d = q) {
579
+ try {
580
+ return new Intl.DisplayNames(d, {
581
+ type: "region"
582
+ });
583
+ } catch (t) {
584
+ return W(t), new Intl.DisplayNames(q, {
585
+ type: "region"
586
+ });
587
+ }
588
+ }
589
+ const pe = {
590
+ CallingCodeSplitted: K(G)({
591
+ borderRight: `1px solid ${Bd[300]}`,
592
+ paddingRight: 10,
593
+ cursor: "default",
594
+ pointerEvents: "none"
595
+ })
596
+ }, Ot = "MuiTelInput-IconButton", ye = ({
597
+ disableDropdown: d = !1,
598
+ forceCallingCode: t = !1,
599
+ langOfCountryName: e = q,
600
+ isFlagsMenuOpened: n,
601
+ getFlagElement: r,
602
+ unknownFlagElement: a,
603
+ isoCode: i,
604
+ className: o,
605
+ ...$
606
+ }) => {
607
+ const u = y.useMemo(() => ld(e), [e]), l = /* @__PURE__ */ s(id, { isoCode: i, children: i ? r(i, {
608
+ countryName: u.of(i) || "",
609
+ isSelected: !0,
610
+ imgProps: vt({
611
+ isoCode: i,
612
+ countryName: u.of(i) || ""
613
+ })
614
+ }) : a });
615
+ return /* @__PURE__ */ M(yt, { children: [
616
+ d ? /* @__PURE__ */ s(
617
+ wt,
618
+ {
619
+ tabIndex: -1,
620
+ className: `${Ot} ${o || ""}`,
621
+ role: "presentation",
622
+ disableRipple: !0,
623
+ sx: { pointerEvents: "none", aspectRatio: "1 / 1" },
624
+ component: "span",
625
+ children: l
626
+ }
627
+ ) : /* @__PURE__ */ s(
628
+ wt,
629
+ {
630
+ "aria-label": "Open flags menu",
631
+ className: `${Ot} ${o || ""}`,
632
+ "aria-haspopup": "listbox",
633
+ sx: { aspectRatio: "1 / 1" },
634
+ "aria-controls": n ? "select-country" : void 0,
635
+ "aria-expanded": n ? "true" : "false",
636
+ ...$,
637
+ children: l
638
+ }
639
+ ),
640
+ t && i ? /* @__PURE__ */ M(pe.CallingCodeSplitted, { children: [
641
+ "+",
642
+ _(i)
643
+ ] }) : null
644
+ ] });
645
+ }, Et = {
646
+ ListItemIcon: K(jd)({
647
+ marginRight: "10px"
648
+ }),
649
+ ListItemText: K(ad)({
650
+ marginRight: "10px"
651
+ })
652
+ }, Ce = "MuiTelInput-MenuItem", ve = "MuiTelInput-ListItemIcon-flag", be = "MuiTelInput-ListItemText-country", Ne = "MuiTelInput-Typography-calling-code", xe = ({
653
+ isoCode: d,
654
+ onSelectCountry: t,
655
+ countryName: e,
656
+ getFlagElement: n,
657
+ ...r
658
+ }) => {
659
+ var a;
660
+ return /* @__PURE__ */ M(
661
+ ft,
662
+ {
663
+ ...r,
664
+ onClick: (i) => {
665
+ i.preventDefault(), t(d);
666
+ },
667
+ role: "option",
668
+ "data-testid": `option-${d}`,
669
+ className: Ce,
670
+ children: [
671
+ /* @__PURE__ */ s(Et.ListItemIcon, { className: ve, children: /* @__PURE__ */ s(id, { isoCode: d, children: n(d, {
672
+ countryName: e,
673
+ isSelected: !1,
674
+ imgProps: vt({ isoCode: d, countryName: e })
675
+ }) }) }),
676
+ /* @__PURE__ */ s(Et.ListItemText, { className: be, children: e }),
677
+ /* @__PURE__ */ M(
678
+ G,
679
+ {
680
+ variant: "body2",
681
+ color: "text.secondary",
682
+ className: Ne,
683
+ children: [
684
+ "+",
685
+ (a = V[d]) == null ? void 0 : a[0]
686
+ ]
687
+ }
688
+ )
689
+ ]
690
+ }
691
+ );
692
+ }, Pe = y.memo(xe), Ae = [], Ie = [], we = [], Se = [], Me = "MuiTelInput-Menu", Te = ({
693
+ anchorEl: d,
694
+ isoCode: t,
695
+ onSelectCountry: e,
696
+ excludedCountries: n = Ae,
697
+ onlyCountries: r = Ie,
698
+ langOfCountryName: a = q,
699
+ continents: i = we,
700
+ preferredCountries: o = Se,
701
+ className: $,
702
+ getFlagElement: u,
703
+ ...l
704
+ }) => {
705
+ const h = y.useMemo(() => ld(a), [a]), g = se(re, h, {
706
+ onlyCountries: r,
707
+ excludedCountries: n,
708
+ continents: i,
709
+ preferredCountries: o
710
+ });
711
+ return /* @__PURE__ */ s(
712
+ Wd,
713
+ {
714
+ anchorEl: d,
715
+ open: !!d,
716
+ id: "select-country",
717
+ className: `${Me} ${$ || ""}`,
718
+ slotProps: {
719
+ list: {
720
+ role: "listbox",
721
+ "aria-activedescendant": t ? `country-${t}` : "",
722
+ "aria-labelledby": "select-country"
723
+ }
724
+ },
725
+ ...l,
726
+ children: g.map((m) => /* @__PURE__ */ s(
727
+ Pe,
728
+ {
729
+ onSelectCountry: e,
730
+ isoCode: m,
731
+ countryName: h.of(m) || "",
732
+ selected: m === t,
733
+ id: `country-${m}`,
734
+ getFlagElement: u
735
+ },
736
+ m
737
+ ))
738
+ }
739
+ );
740
+ };
741
+ function Ft(d) {
742
+ return (t) => {
743
+ d.forEach((e) => {
744
+ typeof e == "function" ? e(t) : e && ee(e) && "current" in e && (e.current = t);
745
+ });
746
+ };
747
+ }
748
+ function ud(d, t) {
749
+ return d.replace(t, "");
750
+ }
751
+ function Oe({ disabled: d, disableDropdown: t }) {
752
+ const e = y.useRef(null), [n, r] = y.useState(null);
753
+ return {
754
+ anchorRef: e,
755
+ anchorEl: n,
756
+ openMenu: () => {
757
+ (!d || !t) && r(e.current);
758
+ },
759
+ closeMenu: () => {
760
+ r(null);
761
+ }
762
+ };
763
+ }
764
+ function Ee(d) {
765
+ const { length: t } = d.value;
766
+ d.setSelectionRange(t, t);
767
+ }
768
+ function Fe({
769
+ onDoubleClick: d,
770
+ onCopy: t,
771
+ onFocus: e,
772
+ inputRef: n
773
+ }) {
774
+ return {
775
+ handleDoubleClick: (r) => {
776
+ const a = n.current;
777
+ a.setSelectionRange(0, a.value.length), d == null || d(r);
778
+ },
779
+ handleCopy: (r) => {
780
+ if (t) {
781
+ t(r);
782
+ return;
783
+ }
784
+ const a = window.getSelection();
785
+ if (a) {
786
+ const i = a.toString().replaceAll(" ", "");
787
+ r.clipboardData.setData("text/plain", i), r.preventDefault();
788
+ }
789
+ },
790
+ handleFocus: (r) => {
791
+ n.current && Ee(n.current), e == null || e(r);
792
+ }
793
+ };
794
+ }
795
+ function De(d) {
796
+ const {
797
+ defaultCountry: t,
798
+ onlyCountries: e,
799
+ excludedCountries: n,
800
+ continents: r,
801
+ forceCallingCode: a
802
+ } = d;
803
+ y.useEffect(() => {
804
+ if (e && n) {
805
+ const i = ie(
806
+ e,
807
+ n
808
+ );
809
+ i && W(
810
+ `[mui-tel-input] Not expected to have the country ${i} to be included in the 'onlyCountries' AND 'excludedCountries' props`
811
+ );
812
+ }
813
+ }, [e, n]), y.useEffect(() => {
814
+ t && n && n.includes(t) && W(
815
+ `[mui-tel-input] Not expected to have the 'defaultCountry' (${t}) prop excluded by the 'excludedCountries' prop`
816
+ );
817
+ }, [t, n]), y.useEffect(() => {
818
+ t && e && !e.includes(t) && W(
819
+ `[mui-tel-input] Not expected to have a 'defaultCountry' prop (${t}) and a 'onlyCountries' prop but without included the 'defaultCountry' (${t})`
820
+ );
821
+ }, [t, e]), y.useEffect(() => {
822
+ t && r && r.length > 0 && (r.some((i) => Ct[i].includes(t)) || W(
823
+ `[mui-tel-input] Not expected to have a 'defaultCountry' prop (${t}) and a 'continents' prop that are not contain the country (${t})`
824
+ ));
825
+ }, [t, r]), y.useEffect(() => {
826
+ a && !t && W(
827
+ "[mui-tel-input] 'forceCallingCode' needs 'defaultCountry' defined. Will default to US."
828
+ );
829
+ }, [t, a]);
830
+ }
831
+ function Dt(d, t) {
832
+ d = d.split("-"), t = t.split("-");
833
+ for (var e = d[0].split("."), n = t[0].split("."), r = 0; r < 3; r++) {
834
+ var a = Number(e[r]), i = Number(n[r]);
835
+ if (a > i) return 1;
836
+ if (i > a) return -1;
837
+ if (!isNaN(a) && isNaN(i)) return 1;
838
+ if (isNaN(a) && !isNaN(i)) return -1;
839
+ }
840
+ return d[1] && t[1] ? d[1] > t[1] ? 1 : d[1] < t[1] ? -1 : 0 : !d[1] && t[1] ? 1 : d[1] && !t[1] ? -1 : 0;
841
+ }
842
+ var ke = {}.constructor;
843
+ function Z(d) {
844
+ return d != null && d.constructor === ke;
845
+ }
846
+ function ht(d) {
847
+ "@babel/helpers - typeof";
848
+ return ht = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
849
+ return typeof t;
850
+ } : function(t) {
851
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
852
+ }, ht(d);
853
+ }
854
+ function et(d, t) {
855
+ if (!(d instanceof t))
856
+ throw new TypeError("Cannot call a class as a function");
857
+ }
858
+ function Re(d, t) {
859
+ for (var e = 0; e < t.length; e++) {
860
+ var n = t[e];
861
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
862
+ }
863
+ }
864
+ function nt(d, t, e) {
865
+ return t && Re(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
866
+ }
867
+ var Le = "1.2.0", Be = "1.7.35", kt = " ext. ", je = /^\d+$/, v = /* @__PURE__ */ function() {
868
+ function d(t) {
869
+ et(this, d), sd(t), this.metadata = t, fd.call(this, t);
870
+ }
871
+ return nt(d, [{
872
+ key: "getCountries",
873
+ value: function() {
874
+ return Object.keys(this.metadata.countries).filter(function(t) {
875
+ return t !== "001";
876
+ });
877
+ }
878
+ }, {
879
+ key: "getCountryMetadata",
880
+ value: function(t) {
881
+ return this.metadata.countries[t];
882
+ }
883
+ }, {
884
+ key: "nonGeographic",
885
+ value: function() {
886
+ if (!(this.v1 || this.v2 || this.v3))
887
+ return this.metadata.nonGeographic || this.metadata.nonGeographical;
888
+ }
889
+ }, {
890
+ key: "hasCountry",
891
+ value: function(t) {
892
+ return this.getCountryMetadata(t) !== void 0;
893
+ }
894
+ }, {
895
+ key: "hasCallingCode",
896
+ value: function(t) {
897
+ if (this.getCountryCodesForCallingCode(t))
898
+ return !0;
899
+ if (this.nonGeographic()) {
900
+ if (this.nonGeographic()[t])
901
+ return !0;
902
+ } else {
903
+ var e = this.countryCallingCodes()[t];
904
+ if (e && e.length === 1 && e[0] === "001")
905
+ return !0;
906
+ }
907
+ }
908
+ }, {
909
+ key: "isNonGeographicCallingCode",
910
+ value: function(t) {
911
+ return this.nonGeographic() ? !!this.nonGeographic()[t] : !this.getCountryCodesForCallingCode(t);
912
+ }
913
+ // Deprecated.
914
+ }, {
915
+ key: "country",
916
+ value: function(t) {
917
+ return this.selectNumberingPlan(t);
918
+ }
919
+ }, {
920
+ key: "selectNumberingPlan",
921
+ value: function(t, e) {
922
+ if (t && je.test(t) && (e = t, t = null), t && t !== "001") {
923
+ if (!this.hasCountry(t))
924
+ throw new Error("Unknown country: ".concat(t));
925
+ this.numberingPlan = new Rt(this.getCountryMetadata(t), this);
926
+ } else if (e) {
927
+ if (!this.hasCallingCode(e))
928
+ throw new Error("Unknown calling code: ".concat(e));
929
+ this.numberingPlan = new Rt(this.getNumberingPlanMetadata(e), this);
930
+ } else
931
+ this.numberingPlan = void 0;
932
+ return this;
933
+ }
934
+ }, {
935
+ key: "getCountryCodesForCallingCode",
936
+ value: function(t) {
937
+ var e = this.countryCallingCodes()[t];
938
+ if (e)
939
+ return e.length === 1 && e[0].length === 3 ? void 0 : e;
940
+ }
941
+ }, {
942
+ key: "getCountryCodeForCallingCode",
943
+ value: function(t) {
944
+ var e = this.getCountryCodesForCallingCode(t);
945
+ if (e)
946
+ return e[0];
947
+ }
948
+ }, {
949
+ key: "getNumberingPlanMetadata",
950
+ value: function(t) {
951
+ var e = this.getCountryCodeForCallingCode(t);
952
+ if (e)
953
+ return this.getCountryMetadata(e);
954
+ if (this.nonGeographic()) {
955
+ var n = this.nonGeographic()[t];
956
+ if (n)
957
+ return n;
958
+ } else {
959
+ var r = this.countryCallingCodes()[t];
960
+ if (r && r.length === 1 && r[0] === "001")
961
+ return this.metadata.countries["001"];
962
+ }
963
+ }
964
+ // Deprecated.
965
+ }, {
966
+ key: "countryCallingCode",
967
+ value: function() {
968
+ return this.numberingPlan.callingCode();
969
+ }
970
+ // Deprecated.
971
+ }, {
972
+ key: "IDDPrefix",
973
+ value: function() {
974
+ return this.numberingPlan.IDDPrefix();
975
+ }
976
+ // Deprecated.
977
+ }, {
978
+ key: "defaultIDDPrefix",
979
+ value: function() {
980
+ return this.numberingPlan.defaultIDDPrefix();
981
+ }
982
+ // Deprecated.
983
+ }, {
984
+ key: "nationalNumberPattern",
985
+ value: function() {
986
+ return this.numberingPlan.nationalNumberPattern();
987
+ }
988
+ // Deprecated.
989
+ }, {
990
+ key: "possibleLengths",
991
+ value: function() {
992
+ return this.numberingPlan.possibleLengths();
993
+ }
994
+ // Deprecated.
995
+ }, {
996
+ key: "formats",
997
+ value: function() {
998
+ return this.numberingPlan.formats();
999
+ }
1000
+ // Deprecated.
1001
+ }, {
1002
+ key: "nationalPrefixForParsing",
1003
+ value: function() {
1004
+ return this.numberingPlan.nationalPrefixForParsing();
1005
+ }
1006
+ // Deprecated.
1007
+ }, {
1008
+ key: "nationalPrefixTransformRule",
1009
+ value: function() {
1010
+ return this.numberingPlan.nationalPrefixTransformRule();
1011
+ }
1012
+ // Deprecated.
1013
+ }, {
1014
+ key: "leadingDigits",
1015
+ value: function() {
1016
+ return this.numberingPlan.leadingDigits();
1017
+ }
1018
+ // Deprecated.
1019
+ }, {
1020
+ key: "hasTypes",
1021
+ value: function() {
1022
+ return this.numberingPlan.hasTypes();
1023
+ }
1024
+ // Deprecated.
1025
+ }, {
1026
+ key: "type",
1027
+ value: function(t) {
1028
+ return this.numberingPlan.type(t);
1029
+ }
1030
+ // Deprecated.
1031
+ }, {
1032
+ key: "ext",
1033
+ value: function() {
1034
+ return this.numberingPlan.ext();
1035
+ }
1036
+ }, {
1037
+ key: "countryCallingCodes",
1038
+ value: function() {
1039
+ return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
1040
+ }
1041
+ // Deprecated.
1042
+ }, {
1043
+ key: "chooseCountryByCountryCallingCode",
1044
+ value: function(t) {
1045
+ return this.selectNumberingPlan(t);
1046
+ }
1047
+ }, {
1048
+ key: "hasSelectedNumberingPlan",
1049
+ value: function() {
1050
+ return this.numberingPlan !== void 0;
1051
+ }
1052
+ }]), d;
1053
+ }(), Rt = /* @__PURE__ */ function() {
1054
+ function d(t, e) {
1055
+ et(this, d), this.globalMetadataObject = e, this.metadata = t, fd.call(this, e.metadata);
1056
+ }
1057
+ return nt(d, [{
1058
+ key: "callingCode",
1059
+ value: function() {
1060
+ return this.metadata[0];
1061
+ }
1062
+ // Formatting information for regions which share
1063
+ // a country calling code is contained by only one region
1064
+ // for performance reasons. For example, for NANPA region
1065
+ // ("North American Numbering Plan Administration",
1066
+ // which includes USA, Canada, Cayman Islands, Bahamas, etc)
1067
+ // it will be contained in the metadata for `US`.
1068
+ }, {
1069
+ key: "getDefaultCountryMetadataForRegion",
1070
+ value: function() {
1071
+ return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
1072
+ }
1073
+ // Is always present.
1074
+ }, {
1075
+ key: "IDDPrefix",
1076
+ value: function() {
1077
+ if (!(this.v1 || this.v2))
1078
+ return this.metadata[1];
1079
+ }
1080
+ // Is only present when a country supports multiple IDD prefixes.
1081
+ }, {
1082
+ key: "defaultIDDPrefix",
1083
+ value: function() {
1084
+ if (!(this.v1 || this.v2))
1085
+ return this.metadata[12];
1086
+ }
1087
+ }, {
1088
+ key: "nationalNumberPattern",
1089
+ value: function() {
1090
+ return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
1091
+ }
1092
+ // "possible length" data is always present in Google's metadata.
1093
+ }, {
1094
+ key: "possibleLengths",
1095
+ value: function() {
1096
+ if (!this.v1)
1097
+ return this.metadata[this.v2 ? 2 : 3];
1098
+ }
1099
+ }, {
1100
+ key: "_getFormats",
1101
+ value: function(t) {
1102
+ return t[this.v1 ? 2 : this.v2 ? 3 : 4];
1103
+ }
1104
+ // For countries of the same region (e.g. NANPA)
1105
+ // formats are all stored in the "main" country for that region.
1106
+ // E.g. "RU" and "KZ", "US" and "CA".
1107
+ }, {
1108
+ key: "formats",
1109
+ value: function() {
1110
+ var t = this, e = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
1111
+ return e.map(function(n) {
1112
+ return new Ge(n, t);
1113
+ });
1114
+ }
1115
+ }, {
1116
+ key: "nationalPrefix",
1117
+ value: function() {
1118
+ return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
1119
+ }
1120
+ }, {
1121
+ key: "_getNationalPrefixFormattingRule",
1122
+ value: function(t) {
1123
+ return t[this.v1 ? 4 : this.v2 ? 5 : 6];
1124
+ }
1125
+ // For countries of the same region (e.g. NANPA)
1126
+ // national prefix formatting rule is stored in the "main" country for that region.
1127
+ // E.g. "RU" and "KZ", "US" and "CA".
1128
+ }, {
1129
+ key: "nationalPrefixFormattingRule",
1130
+ value: function() {
1131
+ return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
1132
+ }
1133
+ }, {
1134
+ key: "_nationalPrefixForParsing",
1135
+ value: function() {
1136
+ return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
1137
+ }
1138
+ }, {
1139
+ key: "nationalPrefixForParsing",
1140
+ value: function() {
1141
+ return this._nationalPrefixForParsing() || this.nationalPrefix();
1142
+ }
1143
+ }, {
1144
+ key: "nationalPrefixTransformRule",
1145
+ value: function() {
1146
+ return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
1147
+ }
1148
+ }, {
1149
+ key: "_getNationalPrefixIsOptionalWhenFormatting",
1150
+ value: function() {
1151
+ return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
1152
+ }
1153
+ // For countries of the same region (e.g. NANPA)
1154
+ // "national prefix is optional when formatting" flag is
1155
+ // stored in the "main" country for that region.
1156
+ // E.g. "RU" and "KZ", "US" and "CA".
1157
+ }, {
1158
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
1159
+ value: function() {
1160
+ return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
1161
+ }
1162
+ }, {
1163
+ key: "leadingDigits",
1164
+ value: function() {
1165
+ return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
1166
+ }
1167
+ }, {
1168
+ key: "types",
1169
+ value: function() {
1170
+ return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
1171
+ }
1172
+ }, {
1173
+ key: "hasTypes",
1174
+ value: function() {
1175
+ return this.types() && this.types().length === 0 ? !1 : !!this.types();
1176
+ }
1177
+ }, {
1178
+ key: "type",
1179
+ value: function(t) {
1180
+ if (this.hasTypes() && Lt(this.types(), t))
1181
+ return new We(Lt(this.types(), t), this);
1182
+ }
1183
+ }, {
1184
+ key: "ext",
1185
+ value: function() {
1186
+ return this.v1 || this.v2 ? kt : this.metadata[13] || kt;
1187
+ }
1188
+ }]), d;
1189
+ }(), Ge = /* @__PURE__ */ function() {
1190
+ function d(t, e) {
1191
+ et(this, d), this._format = t, this.metadata = e;
1192
+ }
1193
+ return nt(d, [{
1194
+ key: "pattern",
1195
+ value: function() {
1196
+ return this._format[0];
1197
+ }
1198
+ }, {
1199
+ key: "format",
1200
+ value: function() {
1201
+ return this._format[1];
1202
+ }
1203
+ }, {
1204
+ key: "leadingDigitsPatterns",
1205
+ value: function() {
1206
+ return this._format[2] || [];
1207
+ }
1208
+ }, {
1209
+ key: "nationalPrefixFormattingRule",
1210
+ value: function() {
1211
+ return this._format[3] || this.metadata.nationalPrefixFormattingRule();
1212
+ }
1213
+ }, {
1214
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
1215
+ value: function() {
1216
+ return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
1217
+ }
1218
+ }, {
1219
+ key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
1220
+ value: function() {
1221
+ return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
1222
+ }
1223
+ // Checks whether national prefix formatting rule contains national prefix.
1224
+ }, {
1225
+ key: "usesNationalPrefix",
1226
+ value: function() {
1227
+ return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
1228
+ !Ue.test(this.nationalPrefixFormattingRule()));
1229
+ }
1230
+ }, {
1231
+ key: "internationalFormat",
1232
+ value: function() {
1233
+ return this._format[5] || this.format();
1234
+ }
1235
+ }]), d;
1236
+ }(), Ue = /^\(?\$1\)?$/, We = /* @__PURE__ */ function() {
1237
+ function d(t, e) {
1238
+ et(this, d), this.type = t, this.metadata = e;
1239
+ }
1240
+ return nt(d, [{
1241
+ key: "pattern",
1242
+ value: function() {
1243
+ return this.metadata.v1 ? this.type : this.type[0];
1244
+ }
1245
+ }, {
1246
+ key: "possibleLengths",
1247
+ value: function() {
1248
+ if (!this.metadata.v1)
1249
+ return this.type[1] || this.metadata.possibleLengths();
1250
+ }
1251
+ }]), d;
1252
+ }();
1253
+ function Lt(d, t) {
1254
+ switch (t) {
1255
+ case "FIXED_LINE":
1256
+ return d[0];
1257
+ case "MOBILE":
1258
+ return d[1];
1259
+ case "TOLL_FREE":
1260
+ return d[2];
1261
+ case "PREMIUM_RATE":
1262
+ return d[3];
1263
+ case "PERSONAL_NUMBER":
1264
+ return d[4];
1265
+ case "VOICEMAIL":
1266
+ return d[5];
1267
+ case "UAN":
1268
+ return d[6];
1269
+ case "PAGER":
1270
+ return d[7];
1271
+ case "VOIP":
1272
+ return d[8];
1273
+ case "SHARED_COST":
1274
+ return d[9];
1275
+ }
1276
+ }
1277
+ function sd(d) {
1278
+ if (!d)
1279
+ throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
1280
+ if (!Z(d) || !Z(d.countries))
1281
+ 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(Z(d) ? "an object of shape: { " + Object.keys(d).join(", ") + " }" : "a " + Ze(d) + ": " + d, "."));
1282
+ }
1283
+ var Ze = function(d) {
1284
+ return ht(d);
1285
+ };
1286
+ function cd(d, t) {
1287
+ if (t = new v(t), t.hasCountry(d))
1288
+ return t.country(d).countryCallingCode();
1289
+ throw new Error("Unknown country: ".concat(d));
1290
+ }
1291
+ function fd(d) {
1292
+ var t = d.version;
1293
+ typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? Dt(t, Le) === -1 ? this.v2 = !0 : Dt(t, Be) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
1294
+ }
1295
+ function rt(d, t) {
1296
+ return Ve(d, void 0, t);
1297
+ }
1298
+ function Ve(d, t, e) {
1299
+ var n = e.type(t), r = n && n.possibleLengths() || e.possibleLengths();
1300
+ if (!r)
1301
+ return "IS_POSSIBLE";
1302
+ var a = d.length, i = r[0];
1303
+ return i === a ? "IS_POSSIBLE" : i > a ? "TOO_SHORT" : r[r.length - 1] < a ? "TOO_LONG" : r.indexOf(a, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
1304
+ }
1305
+ function ze(d, t, e) {
1306
+ if (t === void 0 && (t = {}), e = new v(e), t.v2) {
1307
+ if (!d.countryCallingCode)
1308
+ throw new Error("Invalid phone number object passed");
1309
+ e.selectNumberingPlan(d.countryCallingCode);
1310
+ } else {
1311
+ if (!d.phone)
1312
+ return !1;
1313
+ if (d.country) {
1314
+ if (!e.hasCountry(d.country))
1315
+ throw new Error("Unknown country: ".concat(d.country));
1316
+ e.country(d.country);
1317
+ } else {
1318
+ if (!d.countryCallingCode)
1319
+ throw new Error("Invalid phone number object passed");
1320
+ e.selectNumberingPlan(d.countryCallingCode);
1321
+ }
1322
+ }
1323
+ if (e.possibleLengths())
1324
+ return He(d.phone || d.nationalNumber, e);
1325
+ if (d.countryCallingCode && e.isNonGeographicCallingCode(d.countryCallingCode))
1326
+ return !0;
1327
+ throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
1328
+ }
1329
+ function He(d, t) {
1330
+ switch (rt(d, t)) {
1331
+ case "IS_POSSIBLE":
1332
+ return !0;
1333
+ default:
1334
+ return !1;
1335
+ }
1336
+ }
1337
+ function R(d, t) {
1338
+ return d = d || "", new RegExp("^(?:" + t + ")$").test(d);
1339
+ }
1340
+ function Ye(d, t) {
1341
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
1342
+ if (e) return (e = e.call(d)).next.bind(e);
1343
+ if (Array.isArray(d) || (e = Ke(d)) || t) {
1344
+ e && (d = e);
1345
+ var n = 0;
1346
+ return function() {
1347
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
1348
+ };
1349
+ }
1350
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1351
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1352
+ }
1353
+ function Ke(d, t) {
1354
+ if (d) {
1355
+ if (typeof d == "string") return Bt(d, t);
1356
+ var e = Object.prototype.toString.call(d).slice(8, -1);
1357
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
1358
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Bt(d, t);
1359
+ }
1360
+ }
1361
+ function Bt(d, t) {
1362
+ (t == null || t > d.length) && (t = d.length);
1363
+ for (var e = 0, n = new Array(t); e < t; e++)
1364
+ n[e] = d[e];
1365
+ return n;
1366
+ }
1367
+ var Xe = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
1368
+ function bt(d, t, e) {
1369
+ if (t = t || {}, !(!d.country && !d.countryCallingCode)) {
1370
+ e = new v(e), e.selectNumberingPlan(d.country, d.countryCallingCode);
1371
+ var n = t.v2 ? d.nationalNumber : d.phone;
1372
+ if (R(n, e.nationalNumberPattern())) {
1373
+ if ($t(n, "FIXED_LINE", e))
1374
+ return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || $t(n, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
1375
+ for (var r = Ye(Xe), a; !(a = r()).done; ) {
1376
+ var i = a.value;
1377
+ if ($t(n, i, e))
1378
+ return i;
1379
+ }
1380
+ }
1381
+ }
1382
+ }
1383
+ function $t(d, t, e) {
1384
+ return t = e.type(t), !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(d.length) < 0 ? !1 : R(d, t.pattern());
1385
+ }
1386
+ function Qe(d, t, e) {
1387
+ if (t = t || {}, e = new v(e), e.selectNumberingPlan(d.country, d.countryCallingCode), e.hasTypes())
1388
+ return bt(d, t, e.metadata) !== void 0;
1389
+ var n = t.v2 ? d.nationalNumber : d.phone;
1390
+ return R(n, e.nationalNumberPattern());
1391
+ }
1392
+ function Je(d, t, e) {
1393
+ var n = new v(e), r = n.getCountryCodesForCallingCode(d);
1394
+ return r ? r.filter(function(a) {
1395
+ return qe(t, a, e);
1396
+ }) : [];
1397
+ }
1398
+ function qe(d, t, e) {
1399
+ var n = new v(e);
1400
+ return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
1401
+ }
1402
+ var _e = 3, X = "0-90-9٠-٩۰-۹", t1 = "-‐-―−ー-", d1 = "//", e1 = "..", n1 = "  ­​⁠ ", r1 = "()()[]\\[\\]", a1 = "~⁓∼~", k = "".concat(t1).concat(d1).concat(e1).concat(n1).concat(r1).concat(a1), i1 = "++", o1 = new RegExp("([" + X + "])");
1403
+ function hd(d, t, e, n) {
1404
+ if (t) {
1405
+ var r = new v(n);
1406
+ r.selectNumberingPlan(t, e);
1407
+ var a = new RegExp(r.IDDPrefix());
1408
+ if (d.search(a) === 0) {
1409
+ d = d.slice(d.match(a)[0].length);
1410
+ var i = d.match(o1);
1411
+ if (!(i && i[1] != null && i[1].length > 0 && i[1] === "0"))
1412
+ return d;
1413
+ }
1414
+ }
1415
+ }
1416
+ function mt(d, t) {
1417
+ if (d && t.numberingPlan.nationalPrefixForParsing()) {
1418
+ var e = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), n = e.exec(d);
1419
+ if (n) {
1420
+ var r, a, i = n.length - 1, o = i > 0 && n[i];
1421
+ if (t.nationalPrefixTransformRule() && o)
1422
+ r = d.replace(e, t.nationalPrefixTransformRule()), i > 1 && (a = n[1]);
1423
+ else {
1424
+ var $ = n[0];
1425
+ r = d.slice($.length), o && (a = n[1]);
1426
+ }
1427
+ var u;
1428
+ if (o) {
1429
+ var l = d.indexOf(n[1]), h = d.slice(0, l);
1430
+ h === t.numberingPlan.nationalPrefix() && (u = t.numberingPlan.nationalPrefix());
1431
+ } else
1432
+ u = n[0];
1433
+ return {
1434
+ nationalNumber: r,
1435
+ nationalPrefix: u,
1436
+ carrierCode: a
1437
+ };
1438
+ }
1439
+ }
1440
+ return {
1441
+ nationalNumber: d
1442
+ };
1443
+ }
1444
+ function jt(d, t) {
1445
+ var e = mt(d, t), n = e.carrierCode, r = e.nationalNumber;
1446
+ if (r !== d) {
1447
+ if (!$1(d, r, t))
1448
+ return {
1449
+ nationalNumber: d
1450
+ };
1451
+ if (t.possibleLengths() && !l1(r, t))
1452
+ return {
1453
+ nationalNumber: d
1454
+ };
1455
+ }
1456
+ return {
1457
+ nationalNumber: r,
1458
+ carrierCode: n
1459
+ };
1460
+ }
1461
+ function $1(d, t, e) {
1462
+ return !(R(d, e.nationalNumberPattern()) && !R(t, e.nationalNumberPattern()));
1463
+ }
1464
+ function l1(d, t) {
1465
+ switch (rt(d, t)) {
1466
+ case "TOO_SHORT":
1467
+ case "INVALID_LENGTH":
1468
+ return !1;
1469
+ default:
1470
+ return !0;
1471
+ }
1472
+ }
1473
+ function md(d, t, e, n) {
1474
+ var r = t ? cd(t, n) : e;
1475
+ if (d.indexOf(r) === 0) {
1476
+ n = new v(n), n.selectNumberingPlan(t, e);
1477
+ var a = d.slice(r.length), i = jt(a, n), o = i.nationalNumber, $ = jt(d, n), u = $.nationalNumber;
1478
+ if (!R(u, n.nationalNumberPattern()) && R(o, n.nationalNumberPattern()) || rt(u, n) === "TOO_LONG")
1479
+ return {
1480
+ countryCallingCode: r,
1481
+ number: a
1482
+ };
1483
+ }
1484
+ return {
1485
+ number: d
1486
+ };
1487
+ }
1488
+ function gd(d, t, e, n) {
1489
+ if (!d)
1490
+ return {};
1491
+ var r;
1492
+ if (d[0] !== "+") {
1493
+ var a = hd(d, t, e, n);
1494
+ if (a && a !== d)
1495
+ r = !0, d = "+" + a;
1496
+ else {
1497
+ if (t || e) {
1498
+ var i = md(d, t, e, n), o = i.countryCallingCode, $ = i.number;
1499
+ if (o)
1500
+ return {
1501
+ countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
1502
+ countryCallingCode: o,
1503
+ number: $
1504
+ };
1505
+ }
1506
+ return {
1507
+ // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
1508
+ // countryCallingCodeSource: 'UNSPECIFIED',
1509
+ number: d
1510
+ };
1511
+ }
1512
+ }
1513
+ if (d[1] === "0")
1514
+ return {};
1515
+ n = new v(n);
1516
+ for (var u = 2; u - 1 <= _e && u <= d.length; ) {
1517
+ var l = d.slice(1, u);
1518
+ if (n.hasCallingCode(l))
1519
+ return n.selectNumberingPlan(l), {
1520
+ countryCallingCodeSource: r ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
1521
+ countryCallingCode: l,
1522
+ number: d.slice(u)
1523
+ };
1524
+ u++;
1525
+ }
1526
+ return {};
1527
+ }
1528
+ function pd(d) {
1529
+ return d.replace(new RegExp("[".concat(k, "]+"), "g"), " ").trim();
1530
+ }
1531
+ var yd = /(\$\d)/;
1532
+ function Cd(d, t, e) {
1533
+ var n = e.useInternationalFormat, r = e.withNationalPrefix;
1534
+ e.carrierCode, e.metadata;
1535
+ var a = d.replace(new RegExp(t.pattern()), n ? t.internationalFormat() : (
1536
+ // This library doesn't use `domestic_carrier_code_formatting_rule`,
1537
+ // because that one is only used when formatting phone numbers
1538
+ // for dialing from a mobile phone, and this is not a dialing library.
1539
+ // carrierCode && format.domesticCarrierCodeFormattingRule()
1540
+ // // First, replace the $CC in the formatting rule with the desired carrier code.
1541
+ // // Then, replace the $FG in the formatting rule with the first group
1542
+ // // and the carrier code combined in the appropriate way.
1543
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
1544
+ // : (
1545
+ // withNationalPrefix && format.nationalPrefixFormattingRule()
1546
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
1547
+ // : format.format()
1548
+ // )
1549
+ r && t.nationalPrefixFormattingRule() ? t.format().replace(yd, t.nationalPrefixFormattingRule()) : t.format()
1550
+ ));
1551
+ return n ? pd(a) : a;
1552
+ }
1553
+ var u1 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
1554
+ function s1(d, t, e) {
1555
+ var n = new v(e);
1556
+ if (n.selectNumberingPlan(d, t), n.defaultIDDPrefix())
1557
+ return n.defaultIDDPrefix();
1558
+ if (u1.test(n.IDDPrefix()))
1559
+ return n.IDDPrefix();
1560
+ }
1561
+ function c1(d) {
1562
+ var t = d.number, e = d.ext;
1563
+ if (!t)
1564
+ return "";
1565
+ if (t[0] !== "+")
1566
+ throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
1567
+ return "tel:".concat(t).concat(e ? ";ext=" + e : "");
1568
+ }
1569
+ function f1(d, t) {
1570
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
1571
+ if (e) return (e = e.call(d)).next.bind(e);
1572
+ if (Array.isArray(d) || (e = h1(d)) || t) {
1573
+ e && (d = e);
1574
+ var n = 0;
1575
+ return function() {
1576
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
1577
+ };
1578
+ }
1579
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1580
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1581
+ }
1582
+ function h1(d, t) {
1583
+ if (d) {
1584
+ if (typeof d == "string") return Gt(d, t);
1585
+ var e = Object.prototype.toString.call(d).slice(8, -1);
1586
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
1587
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Gt(d, t);
1588
+ }
1589
+ }
1590
+ function Gt(d, t) {
1591
+ (t == null || t > d.length) && (t = d.length);
1592
+ for (var e = 0, n = new Array(t); e < t; e++)
1593
+ n[e] = d[e];
1594
+ return n;
1595
+ }
1596
+ function Ut(d, t) {
1597
+ var e = Object.keys(d);
1598
+ if (Object.getOwnPropertySymbols) {
1599
+ var n = Object.getOwnPropertySymbols(d);
1600
+ t && (n = n.filter(function(r) {
1601
+ return Object.getOwnPropertyDescriptor(d, r).enumerable;
1602
+ })), e.push.apply(e, n);
1603
+ }
1604
+ return e;
1605
+ }
1606
+ function Wt(d) {
1607
+ for (var t = 1; t < arguments.length; t++) {
1608
+ var e = arguments[t] != null ? arguments[t] : {};
1609
+ t % 2 ? Ut(Object(e), !0).forEach(function(n) {
1610
+ m1(d, n, e[n]);
1611
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(e)) : Ut(Object(e)).forEach(function(n) {
1612
+ Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(e, n));
1613
+ });
1614
+ }
1615
+ return d;
1616
+ }
1617
+ function m1(d, t, e) {
1618
+ return t in d ? Object.defineProperty(d, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = e, d;
1619
+ }
1620
+ var Zt = {
1621
+ formatExtension: function(d, t, e) {
1622
+ return "".concat(d).concat(e.ext()).concat(t);
1623
+ }
1624
+ };
1625
+ function g1(d, t, e, n) {
1626
+ if (e ? e = Wt(Wt({}, Zt), e) : e = Zt, n = new v(n), d.country && d.country !== "001") {
1627
+ if (!n.hasCountry(d.country))
1628
+ throw new Error("Unknown country: ".concat(d.country));
1629
+ n.country(d.country);
1630
+ } else if (d.countryCallingCode)
1631
+ n.selectNumberingPlan(d.countryCallingCode);
1632
+ else return d.phone || "";
1633
+ var r = n.countryCallingCode(), a = e.v2 ? d.nationalNumber : d.phone, i;
1634
+ switch (t) {
1635
+ case "NATIONAL":
1636
+ return a ? (i = tt(a, d.carrierCode, "NATIONAL", n, e), lt(i, d.ext, n, e.formatExtension)) : "";
1637
+ case "INTERNATIONAL":
1638
+ return a ? (i = tt(a, null, "INTERNATIONAL", n, e), i = "+".concat(r, " ").concat(i), lt(i, d.ext, n, e.formatExtension)) : "+".concat(r);
1639
+ case "E.164":
1640
+ return "+".concat(r).concat(a);
1641
+ case "RFC3966":
1642
+ return c1({
1643
+ number: "+".concat(r).concat(a),
1644
+ ext: d.ext
1645
+ });
1646
+ case "IDD":
1647
+ if (!e.fromCountry)
1648
+ return;
1649
+ var o = y1(a, d.carrierCode, r, e.fromCountry, n);
1650
+ return lt(o, d.ext, n, e.formatExtension);
1651
+ default:
1652
+ throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
1653
+ }
1654
+ }
1655
+ function tt(d, t, e, n, r) {
1656
+ var a = p1(n.formats(), d);
1657
+ return a ? Cd(d, a, {
1658
+ useInternationalFormat: e === "INTERNATIONAL",
1659
+ withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && r && r.nationalPrefix === !1),
1660
+ carrierCode: t,
1661
+ metadata: n
1662
+ }) : d;
1663
+ }
1664
+ function p1(d, t) {
1665
+ for (var e = f1(d), n; !(n = e()).done; ) {
1666
+ var r = n.value;
1667
+ if (r.leadingDigitsPatterns().length > 0) {
1668
+ var a = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
1669
+ if (t.search(a) !== 0)
1670
+ continue;
1671
+ }
1672
+ if (R(t, r.pattern()))
1673
+ return r;
1674
+ }
1675
+ }
1676
+ function lt(d, t, e, n) {
1677
+ return t ? n(d, t, e) : d;
1678
+ }
1679
+ function y1(d, t, e, n, r) {
1680
+ var a = cd(n, r.metadata);
1681
+ if (a === e) {
1682
+ var i = tt(d, t, "NATIONAL", r);
1683
+ return e === "1" ? e + " " + i : i;
1684
+ }
1685
+ var o = s1(n, void 0, r.metadata);
1686
+ if (o)
1687
+ return "".concat(o, " ").concat(e, " ").concat(tt(d, null, "INTERNATIONAL", r));
1688
+ }
1689
+ function Vt(d, t) {
1690
+ var e = Object.keys(d);
1691
+ if (Object.getOwnPropertySymbols) {
1692
+ var n = Object.getOwnPropertySymbols(d);
1693
+ t && (n = n.filter(function(r) {
1694
+ return Object.getOwnPropertyDescriptor(d, r).enumerable;
1695
+ })), e.push.apply(e, n);
1696
+ }
1697
+ return e;
1698
+ }
1699
+ function zt(d) {
1700
+ for (var t = 1; t < arguments.length; t++) {
1701
+ var e = arguments[t] != null ? arguments[t] : {};
1702
+ t % 2 ? Vt(Object(e), !0).forEach(function(n) {
1703
+ C1(d, n, e[n]);
1704
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(e)) : Vt(Object(e)).forEach(function(n) {
1705
+ Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(e, n));
1706
+ });
1707
+ }
1708
+ return d;
1709
+ }
1710
+ function C1(d, t, e) {
1711
+ return t in d ? Object.defineProperty(d, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = e, d;
1712
+ }
1713
+ function v1(d, t) {
1714
+ if (!(d instanceof t))
1715
+ throw new TypeError("Cannot call a class as a function");
1716
+ }
1717
+ function b1(d, t) {
1718
+ for (var e = 0; e < t.length; e++) {
1719
+ var n = t[e];
1720
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
1721
+ }
1722
+ }
1723
+ function N1(d, t, e) {
1724
+ return t && b1(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
1725
+ }
1726
+ var x1 = /* @__PURE__ */ function() {
1727
+ function d(t, e, n) {
1728
+ if (v1(this, d), !t)
1729
+ throw new TypeError("First argument is required");
1730
+ if (typeof t != "string")
1731
+ throw new TypeError("First argument must be a string");
1732
+ if (typeof t == "string") {
1733
+ if (t[0] === "+" && !e)
1734
+ throw new TypeError("`metadata` argument not passed");
1735
+ if (Z(e) && Z(e.countries)) {
1736
+ n = e;
1737
+ var r = t;
1738
+ if (!I1.test(r))
1739
+ throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
1740
+ var a = gd(r, void 0, void 0, n), i = a.countryCallingCode, o = a.number;
1741
+ if (e = o, t = i, !e)
1742
+ throw new Error("Invalid `number` argument passed: too short");
1743
+ }
1744
+ }
1745
+ if (!e)
1746
+ throw new TypeError("`nationalNumber` argument is required");
1747
+ if (typeof e != "string")
1748
+ throw new TypeError("`nationalNumber` argument must be a string");
1749
+ sd(n);
1750
+ var $ = A1(t, n), u = $.country, l = $.countryCallingCode;
1751
+ this.country = u, this.countryCallingCode = l, this.nationalNumber = e, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
1752
+ return n;
1753
+ };
1754
+ }
1755
+ return N1(d, [{
1756
+ key: "setExt",
1757
+ value: function(t) {
1758
+ this.ext = t;
1759
+ }
1760
+ }, {
1761
+ key: "getPossibleCountries",
1762
+ value: function() {
1763
+ return this.country ? [this.country] : Je(this.countryCallingCode, this.nationalNumber, this.getMetadata());
1764
+ }
1765
+ }, {
1766
+ key: "isPossible",
1767
+ value: function() {
1768
+ return ze(this, {
1769
+ v2: !0
1770
+ }, this.getMetadata());
1771
+ }
1772
+ }, {
1773
+ key: "isValid",
1774
+ value: function() {
1775
+ return Qe(this, {
1776
+ v2: !0
1777
+ }, this.getMetadata());
1778
+ }
1779
+ }, {
1780
+ key: "isNonGeographic",
1781
+ value: function() {
1782
+ var t = new v(this.getMetadata());
1783
+ return t.isNonGeographicCallingCode(this.countryCallingCode);
1784
+ }
1785
+ }, {
1786
+ key: "isEqual",
1787
+ value: function(t) {
1788
+ return this.number === t.number && this.ext === t.ext;
1789
+ }
1790
+ // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
1791
+ // but later it was found out that it doesn't include the possible `TOO_SHORT` result
1792
+ // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
1793
+ // so eventually I simply commented out this method from the `PhoneNumber` class
1794
+ // and just left the `validatePhoneNumberLength()` function, even though that one would require
1795
+ // and additional step to also validate the actual country / calling code of the phone number.
1796
+ // validateLength() {
1797
+ // const metadata = new Metadata(this.getMetadata())
1798
+ // metadata.selectNumberingPlan(this.countryCallingCode)
1799
+ // const result = checkNumberLength(this.nationalNumber, metadata)
1800
+ // if (result !== 'IS_POSSIBLE') {
1801
+ // return result
1802
+ // }
1803
+ // }
1804
+ }, {
1805
+ key: "getType",
1806
+ value: function() {
1807
+ return bt(this, {
1808
+ v2: !0
1809
+ }, this.getMetadata());
1810
+ }
1811
+ }, {
1812
+ key: "format",
1813
+ value: function(t, e) {
1814
+ return g1(this, t, e ? zt(zt({}, e), {}, {
1815
+ v2: !0
1816
+ }) : {
1817
+ v2: !0
1818
+ }, this.getMetadata());
1819
+ }
1820
+ }, {
1821
+ key: "formatNational",
1822
+ value: function(t) {
1823
+ return this.format("NATIONAL", t);
1824
+ }
1825
+ }, {
1826
+ key: "formatInternational",
1827
+ value: function(t) {
1828
+ return this.format("INTERNATIONAL", t);
1829
+ }
1830
+ }, {
1831
+ key: "getURI",
1832
+ value: function(t) {
1833
+ return this.format("RFC3966", t);
1834
+ }
1835
+ }]), d;
1836
+ }(), P1 = function(d) {
1837
+ return /^[A-Z]{2}$/.test(d);
1838
+ };
1839
+ function A1(d, t) {
1840
+ var e, n, r = new v(t);
1841
+ return P1(d) ? (e = d, r.selectNumberingPlan(e), n = r.countryCallingCode()) : n = d, {
1842
+ country: e,
1843
+ countryCallingCode: n
1844
+ };
1845
+ }
1846
+ var I1 = /^\+\d+$/;
1847
+ function w1(d, t) {
1848
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
1849
+ if (e) return (e = e.call(d)).next.bind(e);
1850
+ if (Array.isArray(d) || (e = S1(d)) || t) {
1851
+ e && (d = e);
1852
+ var n = 0;
1853
+ return function() {
1854
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
1855
+ };
1856
+ }
1857
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1858
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1859
+ }
1860
+ function S1(d, t) {
1861
+ if (d) {
1862
+ if (typeof d == "string") return Ht(d, t);
1863
+ var e = Object.prototype.toString.call(d).slice(8, -1);
1864
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
1865
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Ht(d, t);
1866
+ }
1867
+ }
1868
+ function Ht(d, t) {
1869
+ (t == null || t > d.length) && (t = d.length);
1870
+ for (var e = 0, n = new Array(t); e < t; e++)
1871
+ n[e] = d[e];
1872
+ return n;
1873
+ }
1874
+ var M1 = {
1875
+ 0: "0",
1876
+ 1: "1",
1877
+ 2: "2",
1878
+ 3: "3",
1879
+ 4: "4",
1880
+ 5: "5",
1881
+ 6: "6",
1882
+ 7: "7",
1883
+ 8: "8",
1884
+ 9: "9",
1885
+ "0": "0",
1886
+ // Fullwidth digit 0
1887
+ "1": "1",
1888
+ // Fullwidth digit 1
1889
+ "2": "2",
1890
+ // Fullwidth digit 2
1891
+ "3": "3",
1892
+ // Fullwidth digit 3
1893
+ "4": "4",
1894
+ // Fullwidth digit 4
1895
+ "5": "5",
1896
+ // Fullwidth digit 5
1897
+ "6": "6",
1898
+ // Fullwidth digit 6
1899
+ "7": "7",
1900
+ // Fullwidth digit 7
1901
+ "8": "8",
1902
+ // Fullwidth digit 8
1903
+ "9": "9",
1904
+ // Fullwidth digit 9
1905
+ "٠": "0",
1906
+ // Arabic-indic digit 0
1907
+ "١": "1",
1908
+ // Arabic-indic digit 1
1909
+ "٢": "2",
1910
+ // Arabic-indic digit 2
1911
+ "٣": "3",
1912
+ // Arabic-indic digit 3
1913
+ "٤": "4",
1914
+ // Arabic-indic digit 4
1915
+ "٥": "5",
1916
+ // Arabic-indic digit 5
1917
+ "٦": "6",
1918
+ // Arabic-indic digit 6
1919
+ "٧": "7",
1920
+ // Arabic-indic digit 7
1921
+ "٨": "8",
1922
+ // Arabic-indic digit 8
1923
+ "٩": "9",
1924
+ // Arabic-indic digit 9
1925
+ "۰": "0",
1926
+ // Eastern-Arabic digit 0
1927
+ "۱": "1",
1928
+ // Eastern-Arabic digit 1
1929
+ "۲": "2",
1930
+ // Eastern-Arabic digit 2
1931
+ "۳": "3",
1932
+ // Eastern-Arabic digit 3
1933
+ "۴": "4",
1934
+ // Eastern-Arabic digit 4
1935
+ "۵": "5",
1936
+ // Eastern-Arabic digit 5
1937
+ "۶": "6",
1938
+ // Eastern-Arabic digit 6
1939
+ "۷": "7",
1940
+ // Eastern-Arabic digit 7
1941
+ "۸": "8",
1942
+ // Eastern-Arabic digit 8
1943
+ "۹": "9"
1944
+ // Eastern-Arabic digit 9
1945
+ };
1946
+ function T1(d) {
1947
+ return M1[d];
1948
+ }
1949
+ function dt(d) {
1950
+ for (var t = "", e = w1(d.split("")), n; !(n = e()).done; ) {
1951
+ var r = n.value, a = T1(r);
1952
+ a && (t += a);
1953
+ }
1954
+ return t;
1955
+ }
1956
+ function O1(d, t) {
1957
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
1958
+ if (e) return (e = e.call(d)).next.bind(e);
1959
+ if (Array.isArray(d) || (e = E1(d)) || t) {
1960
+ e && (d = e);
1961
+ var n = 0;
1962
+ return function() {
1963
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
1964
+ };
1965
+ }
1966
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1967
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1968
+ }
1969
+ function E1(d, t) {
1970
+ if (d) {
1971
+ if (typeof d == "string") return Yt(d, t);
1972
+ var e = Object.prototype.toString.call(d).slice(8, -1);
1973
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
1974
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Yt(d, t);
1975
+ }
1976
+ }
1977
+ function Yt(d, t) {
1978
+ (t == null || t > d.length) && (t = d.length);
1979
+ for (var e = 0, n = new Array(t); e < t; e++)
1980
+ n[e] = d[e];
1981
+ return n;
1982
+ }
1983
+ function vd(d, t) {
1984
+ var e = t.countries;
1985
+ t.defaultCountry;
1986
+ var n = t.metadata;
1987
+ n = new v(n);
1988
+ for (var r = O1(e), a; !(a = r()).done; ) {
1989
+ var i = a.value;
1990
+ if (n.country(i), n.leadingDigits()) {
1991
+ if (d && d.search(n.leadingDigits()) === 0)
1992
+ return i;
1993
+ } else if (bt({
1994
+ phone: d,
1995
+ country: i
1996
+ }, void 0, n.metadata))
1997
+ return i;
1998
+ }
1999
+ }
2000
+ function F1(d, t) {
2001
+ var e = t.nationalNumber, n = t.defaultCountry, r = t.metadata, a = r.getCountryCodesForCallingCode(d);
2002
+ if (a)
2003
+ return a.length === 1 ? a[0] : vd(e, {
2004
+ countries: a,
2005
+ defaultCountry: n,
2006
+ metadata: r.metadata
2007
+ });
2008
+ }
2009
+ function D1(d, t) {
2010
+ if (!(d instanceof t))
2011
+ throw new TypeError("Cannot call a class as a function");
2012
+ }
2013
+ function k1(d, t) {
2014
+ for (var e = 0; e < t.length; e++) {
2015
+ var n = t[e];
2016
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
2017
+ }
2018
+ }
2019
+ function R1(d, t, e) {
2020
+ return t && k1(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
2021
+ }
2022
+ var L1 = /* @__PURE__ */ function() {
2023
+ function d(t) {
2024
+ var e = t.onCountryChange, n = t.onCallingCodeChange;
2025
+ D1(this, d), this.onCountryChange = e, this.onCallingCodeChange = n;
2026
+ }
2027
+ return R1(d, [{
2028
+ key: "reset",
2029
+ value: function(t) {
2030
+ var e = t.country, n = t.callingCode;
2031
+ this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(e, n);
2032
+ }
2033
+ }, {
2034
+ key: "resetNationalSignificantNumber",
2035
+ value: function() {
2036
+ this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberMatchesInput = !0, this.nationalPrefix = void 0, this.carrierCode = void 0, this.complexPrefixBeforeNationalSignificantNumber = void 0;
2037
+ }
2038
+ }, {
2039
+ key: "update",
2040
+ value: function(t) {
2041
+ for (var e = 0, n = Object.keys(t); e < n.length; e++) {
2042
+ var r = n[e];
2043
+ this[r] = t[r];
2044
+ }
2045
+ }
2046
+ }, {
2047
+ key: "initCountryAndCallingCode",
2048
+ value: function(t, e) {
2049
+ this.setCountry(t), this.setCallingCode(e);
2050
+ }
2051
+ }, {
2052
+ key: "setCountry",
2053
+ value: function(t) {
2054
+ this.country = t, this.onCountryChange(t);
2055
+ }
2056
+ }, {
2057
+ key: "setCallingCode",
2058
+ value: function(t) {
2059
+ this.callingCode = t, this.onCallingCodeChange(t, this.country);
2060
+ }
2061
+ }, {
2062
+ key: "startInternationalNumber",
2063
+ value: function(t, e) {
2064
+ this.international = !0, this.initCountryAndCallingCode(t, e);
2065
+ }
2066
+ }, {
2067
+ key: "appendDigits",
2068
+ value: function(t) {
2069
+ this.digits += t;
2070
+ }
2071
+ }, {
2072
+ key: "appendNationalSignificantNumberDigits",
2073
+ value: function(t) {
2074
+ this.nationalSignificantNumber += t;
2075
+ }
2076
+ /**
2077
+ * Returns the part of `this.digits` that corresponds to the national number.
2078
+ * Basically, all digits that have been input by the user, except for the
2079
+ * international prefix and the country calling code part
2080
+ * (if the number is an international one).
2081
+ * @return {string}
2082
+ */
2083
+ }, {
2084
+ key: "getNationalDigits",
2085
+ value: function() {
2086
+ return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
2087
+ }
2088
+ }, {
2089
+ key: "getDigitsWithoutInternationalPrefix",
2090
+ value: function() {
2091
+ return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
2092
+ }
2093
+ }]), d;
2094
+ }();
2095
+ function B1(d, t) {
2096
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
2097
+ if (e) return (e = e.call(d)).next.bind(e);
2098
+ if (Array.isArray(d) || (e = j1(d)) || t) {
2099
+ e && (d = e);
2100
+ var n = 0;
2101
+ return function() {
2102
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
2103
+ };
2104
+ }
2105
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2106
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2107
+ }
2108
+ function j1(d, t) {
2109
+ if (d) {
2110
+ if (typeof d == "string") return Kt(d, t);
2111
+ var e = Object.prototype.toString.call(d).slice(8, -1);
2112
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
2113
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Kt(d, t);
2114
+ }
2115
+ }
2116
+ function Kt(d, t) {
2117
+ (t == null || t > d.length) && (t = d.length);
2118
+ for (var e = 0, n = new Array(t); e < t; e++)
2119
+ n[e] = d[e];
2120
+ return n;
2121
+ }
2122
+ var A = "x", ut = new RegExp(A);
2123
+ function J(d, t) {
2124
+ if (t < 1)
2125
+ return "";
2126
+ for (var e = ""; t > 1; )
2127
+ t & 1 && (e += d), t >>= 1, d += d;
2128
+ return e + d;
2129
+ }
2130
+ function Xt(d, t) {
2131
+ return d[t] === ")" && t++, G1(d.slice(0, t));
2132
+ }
2133
+ function G1(d) {
2134
+ for (var t = [], e = 0; e < d.length; )
2135
+ d[e] === "(" ? t.push(e) : d[e] === ")" && t.pop(), e++;
2136
+ var n = 0, r = "";
2137
+ t.push(d.length);
2138
+ for (var a = 0, i = t; a < i.length; a++) {
2139
+ var o = i[a];
2140
+ r += d.slice(n, o), n = o + 1;
2141
+ }
2142
+ return r;
2143
+ }
2144
+ function U1(d, t, e) {
2145
+ for (var n = B1(e.split("")), r; !(r = n()).done; ) {
2146
+ var a = r.value;
2147
+ if (d.slice(t + 1).search(ut) < 0)
2148
+ return;
2149
+ t = d.search(ut), d = d.replace(ut, a);
2150
+ }
2151
+ return [d, t];
2152
+ }
2153
+ function W1(d, t, e) {
2154
+ var n = e.metadata, r = e.shouldTryNationalPrefixFormattingRule, a = e.getSeparatorAfterNationalPrefix, i = new RegExp("^(?:".concat(t.pattern(), ")$"));
2155
+ if (i.test(d.nationalSignificantNumber))
2156
+ return V1(d, t, {
2157
+ metadata: n,
2158
+ shouldTryNationalPrefixFormattingRule: r,
2159
+ getSeparatorAfterNationalPrefix: a
2160
+ });
2161
+ }
2162
+ function Z1(d, t) {
2163
+ return rt(d, t) === "IS_POSSIBLE";
2164
+ }
2165
+ function V1(d, t, e) {
2166
+ var n = e.metadata, r = e.shouldTryNationalPrefixFormattingRule, a = e.getSeparatorAfterNationalPrefix;
2167
+ if (d.nationalSignificantNumber, d.international, d.nationalPrefix, d.carrierCode, r(t)) {
2168
+ var i = Qt(d, t, {
2169
+ useNationalPrefixFormattingRule: !0,
2170
+ getSeparatorAfterNationalPrefix: a,
2171
+ metadata: n
2172
+ });
2173
+ if (i)
2174
+ return i;
2175
+ }
2176
+ return Qt(d, t, {
2177
+ useNationalPrefixFormattingRule: !1,
2178
+ getSeparatorAfterNationalPrefix: a,
2179
+ metadata: n
2180
+ });
2181
+ }
2182
+ function Qt(d, t, e) {
2183
+ var n = e.metadata, r = e.useNationalPrefixFormattingRule, a = e.getSeparatorAfterNationalPrefix, i = Cd(d.nationalSignificantNumber, t, {
2184
+ carrierCode: d.carrierCode,
2185
+ useInternationalFormat: d.international,
2186
+ withNationalPrefix: r,
2187
+ metadata: n
2188
+ });
2189
+ if (r || (d.nationalPrefix ? i = d.nationalPrefix + a(t) + i : d.complexPrefixBeforeNationalSignificantNumber && (i = d.complexPrefixBeforeNationalSignificantNumber + " " + i)), z1(i, d))
2190
+ return i;
2191
+ }
2192
+ function z1(d, t) {
2193
+ return dt(d) === t.getNationalDigits();
2194
+ }
2195
+ function H1(d, t) {
2196
+ if (!(d instanceof t))
2197
+ throw new TypeError("Cannot call a class as a function");
2198
+ }
2199
+ function Y1(d, t) {
2200
+ for (var e = 0; e < t.length; e++) {
2201
+ var n = t[e];
2202
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
2203
+ }
2204
+ }
2205
+ function K1(d, t, e) {
2206
+ return t && Y1(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
2207
+ }
2208
+ var X1 = /* @__PURE__ */ function() {
2209
+ function d() {
2210
+ H1(this, d);
2211
+ }
2212
+ return K1(d, [{
2213
+ key: "parse",
2214
+ value: function(t) {
2215
+ if (this.context = [{
2216
+ or: !0,
2217
+ instructions: []
2218
+ }], this.parsePattern(t), this.context.length !== 1)
2219
+ throw new Error("Non-finalized contexts left when pattern parse ended");
2220
+ var e = this.context[0], n = e.branches, r = e.instructions;
2221
+ if (n)
2222
+ return {
2223
+ op: "|",
2224
+ args: n.concat([st(r)])
2225
+ };
2226
+ if (r.length === 0)
2227
+ throw new Error("Pattern is required");
2228
+ return r.length === 1 ? r[0] : r;
2229
+ }
2230
+ }, {
2231
+ key: "startContext",
2232
+ value: function(t) {
2233
+ this.context.push(t);
2234
+ }
2235
+ }, {
2236
+ key: "endContext",
2237
+ value: function() {
2238
+ this.context.pop();
2239
+ }
2240
+ }, {
2241
+ key: "getContext",
2242
+ value: function() {
2243
+ return this.context[this.context.length - 1];
2244
+ }
2245
+ }, {
2246
+ key: "parsePattern",
2247
+ value: function(t) {
2248
+ if (!t)
2249
+ throw new Error("Pattern is required");
2250
+ var e = t.match(q1);
2251
+ if (!e) {
2252
+ if (J1.test(t))
2253
+ throw new Error("Illegal characters found in a pattern: ".concat(t));
2254
+ this.getContext().instructions = this.getContext().instructions.concat(t.split(""));
2255
+ return;
2256
+ }
2257
+ var n = e[1], r = t.slice(0, e.index), a = t.slice(e.index + n.length);
2258
+ switch (n) {
2259
+ case "(?:":
2260
+ r && this.parsePattern(r), this.startContext({
2261
+ or: !0,
2262
+ instructions: [],
2263
+ branches: []
2264
+ });
2265
+ break;
2266
+ case ")":
2267
+ if (!this.getContext().or)
2268
+ throw new Error('")" operator must be preceded by "(?:" operator');
2269
+ if (r && this.parsePattern(r), this.getContext().instructions.length === 0)
2270
+ throw new Error('No instructions found after "|" operator in an "or" group');
2271
+ var i = this.getContext(), o = i.branches;
2272
+ o.push(st(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
2273
+ op: "|",
2274
+ args: o
2275
+ });
2276
+ break;
2277
+ case "|":
2278
+ if (!this.getContext().or)
2279
+ throw new Error('"|" operator can only be used inside "or" groups');
2280
+ if (r && this.parsePattern(r), !this.getContext().branches)
2281
+ if (this.context.length === 1)
2282
+ this.getContext().branches = [];
2283
+ else
2284
+ throw new Error('"branches" not found in an "or" group context');
2285
+ this.getContext().branches.push(st(this.getContext().instructions)), this.getContext().instructions = [];
2286
+ break;
2287
+ case "[":
2288
+ r && this.parsePattern(r), this.startContext({
2289
+ oneOfSet: !0
2290
+ });
2291
+ break;
2292
+ case "]":
2293
+ if (!this.getContext().oneOfSet)
2294
+ throw new Error('"]" operator must be preceded by "[" operator');
2295
+ this.endContext(), this.getContext().instructions.push({
2296
+ op: "[]",
2297
+ args: Q1(r)
2298
+ });
2299
+ break;
2300
+ default:
2301
+ throw new Error("Unknown operator: ".concat(n));
2302
+ }
2303
+ a && this.parsePattern(a);
2304
+ }
2305
+ }]), d;
2306
+ }();
2307
+ function Q1(d) {
2308
+ for (var t = [], e = 0; e < d.length; ) {
2309
+ if (d[e] === "-") {
2310
+ if (e === 0 || e === d.length - 1)
2311
+ throw new Error("Couldn't parse a one-of set pattern: ".concat(d));
2312
+ for (var n = d[e - 1].charCodeAt(0) + 1, r = d[e + 1].charCodeAt(0) - 1, a = n; a <= r; )
2313
+ t.push(String.fromCharCode(a)), a++;
2314
+ } else
2315
+ t.push(d[e]);
2316
+ e++;
2317
+ }
2318
+ return t;
2319
+ }
2320
+ var J1 = /[\(\)\[\]\?\:\|]/, q1 = new RegExp(
2321
+ // any of:
2322
+ "(\\||\\(\\?\\:|\\)|\\[|\\])"
2323
+ );
2324
+ function st(d) {
2325
+ return d.length === 1 ? d[0] : d;
2326
+ }
2327
+ function Jt(d, t) {
2328
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
2329
+ if (e) return (e = e.call(d)).next.bind(e);
2330
+ if (Array.isArray(d) || (e = _1(d)) || t) {
2331
+ e && (d = e);
2332
+ var n = 0;
2333
+ return function() {
2334
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
2335
+ };
2336
+ }
2337
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2338
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2339
+ }
2340
+ function _1(d, t) {
2341
+ if (d) {
2342
+ if (typeof d == "string") return qt(d, t);
2343
+ var e = Object.prototype.toString.call(d).slice(8, -1);
2344
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
2345
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return qt(d, t);
2346
+ }
2347
+ }
2348
+ function qt(d, t) {
2349
+ (t == null || t > d.length) && (t = d.length);
2350
+ for (var e = 0, n = new Array(t); e < t; e++)
2351
+ n[e] = d[e];
2352
+ return n;
2353
+ }
2354
+ function t0(d, t) {
2355
+ if (!(d instanceof t))
2356
+ throw new TypeError("Cannot call a class as a function");
2357
+ }
2358
+ function d0(d, t) {
2359
+ for (var e = 0; e < t.length; e++) {
2360
+ var n = t[e];
2361
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
2362
+ }
2363
+ }
2364
+ function e0(d, t, e) {
2365
+ return t && d0(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
2366
+ }
2367
+ var n0 = /* @__PURE__ */ function() {
2368
+ function d(t) {
2369
+ t0(this, d), this.matchTree = new X1().parse(t);
2370
+ }
2371
+ return e0(d, [{
2372
+ key: "match",
2373
+ value: function(t) {
2374
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.allowOverflow;
2375
+ if (!t)
2376
+ throw new Error("String is required");
2377
+ var r = gt(t.split(""), this.matchTree, !0);
2378
+ if (r && r.match && delete r.matchedChars, !(r && r.overflow && !n))
2379
+ return r;
2380
+ }
2381
+ }]), d;
2382
+ }();
2383
+ function gt(d, t, e) {
2384
+ if (typeof t == "string") {
2385
+ var n = d.join("");
2386
+ return t.indexOf(n) === 0 ? d.length === t.length ? {
2387
+ match: !0,
2388
+ matchedChars: d
2389
+ } : {
2390
+ partialMatch: !0
2391
+ // matchedChars: characters
2392
+ } : n.indexOf(t) === 0 ? e && d.length > t.length ? {
2393
+ overflow: !0
2394
+ } : {
2395
+ match: !0,
2396
+ matchedChars: d.slice(0, t.length)
2397
+ } : void 0;
2398
+ }
2399
+ if (Array.isArray(t)) {
2400
+ for (var r = d.slice(), a = 0; a < t.length; ) {
2401
+ var i = t[a], o = gt(r, i, e && a === t.length - 1);
2402
+ if (o) {
2403
+ if (o.overflow)
2404
+ return o;
2405
+ if (o.match) {
2406
+ if (r = r.slice(o.matchedChars.length), r.length === 0)
2407
+ return a === t.length - 1 ? {
2408
+ match: !0,
2409
+ matchedChars: d
2410
+ } : {
2411
+ partialMatch: !0
2412
+ // matchedChars: characters
2413
+ };
2414
+ } else {
2415
+ if (o.partialMatch)
2416
+ return {
2417
+ partialMatch: !0
2418
+ // matchedChars: characters
2419
+ };
2420
+ throw new Error(`Unsupported match result:
2421
+ `.concat(JSON.stringify(o, null, 2)));
2422
+ }
2423
+ } else return;
2424
+ a++;
2425
+ }
2426
+ return e ? {
2427
+ overflow: !0
2428
+ } : {
2429
+ match: !0,
2430
+ matchedChars: d.slice(0, d.length - r.length)
2431
+ };
2432
+ }
2433
+ switch (t.op) {
2434
+ case "|":
2435
+ for (var $, u = Jt(t.args), l; !(l = u()).done; ) {
2436
+ var h = l.value, g = gt(d, h, e);
2437
+ if (g) {
2438
+ if (g.overflow)
2439
+ return g;
2440
+ if (g.match)
2441
+ return {
2442
+ match: !0,
2443
+ matchedChars: g.matchedChars
2444
+ };
2445
+ if (g.partialMatch)
2446
+ $ = !0;
2447
+ else
2448
+ throw new Error(`Unsupported match result:
2449
+ `.concat(JSON.stringify(g, null, 2)));
2450
+ }
2451
+ }
2452
+ return $ ? {
2453
+ partialMatch: !0
2454
+ // matchedChars: ...
2455
+ } : void 0;
2456
+ case "[]":
2457
+ for (var m = Jt(t.args), C; !(C = m()).done; ) {
2458
+ var p = C.value;
2459
+ if (d[0] === p)
2460
+ return d.length === 1 ? {
2461
+ match: !0,
2462
+ matchedChars: d
2463
+ } : e ? {
2464
+ overflow: !0
2465
+ } : {
2466
+ match: !0,
2467
+ matchedChars: [p]
2468
+ };
2469
+ }
2470
+ return;
2471
+ default:
2472
+ throw new Error("Unsupported instruction tree: ".concat(t));
2473
+ }
2474
+ }
2475
+ function _t(d, t) {
2476
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
2477
+ if (e) return (e = e.call(d)).next.bind(e);
2478
+ if (Array.isArray(d) || (e = r0(d)) || t) {
2479
+ e && (d = e);
2480
+ var n = 0;
2481
+ return function() {
2482
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
2483
+ };
2484
+ }
2485
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2486
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2487
+ }
2488
+ function r0(d, t) {
2489
+ if (d) {
2490
+ if (typeof d == "string") return td(d, t);
2491
+ var e = Object.prototype.toString.call(d).slice(8, -1);
2492
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
2493
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return td(d, t);
2494
+ }
2495
+ }
2496
+ function td(d, t) {
2497
+ (t == null || t > d.length) && (t = d.length);
2498
+ for (var e = 0, n = new Array(t); e < t; e++)
2499
+ n[e] = d[e];
2500
+ return n;
2501
+ }
2502
+ function a0(d, t) {
2503
+ if (!(d instanceof t))
2504
+ throw new TypeError("Cannot call a class as a function");
2505
+ }
2506
+ function i0(d, t) {
2507
+ for (var e = 0; e < t.length; e++) {
2508
+ var n = t[e];
2509
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
2510
+ }
2511
+ }
2512
+ function o0(d, t, e) {
2513
+ return t && i0(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
2514
+ }
2515
+ var pt = "9", $0 = 15, l0 = J(pt, $0), u0 = /[- ]/, s0 = function() {
2516
+ return /\[([^\[\]])*\]/g;
2517
+ }, c0 = function() {
2518
+ return /\d(?=[^,}][^,}])/g;
2519
+ }, f0 = new RegExp("[" + k + "]*\\$1[" + k + "]*(\\$\\d[" + k + "]*)*$"), dd = 3, h0 = /* @__PURE__ */ function() {
2520
+ function d(t) {
2521
+ t.state;
2522
+ var e = t.metadata;
2523
+ a0(this, d), this.metadata = e, this.resetFormat();
2524
+ }
2525
+ return o0(d, [{
2526
+ key: "resetFormat",
2527
+ value: function() {
2528
+ this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
2529
+ }
2530
+ }, {
2531
+ key: "reset",
2532
+ value: function(t, e) {
2533
+ this.resetFormat(), t ? (this.isNANP = t.callingCode() === "1", this.matchingFormats = t.formats(), e.nationalSignificantNumber && this.narrowDownMatchingFormats(e)) : (this.isNANP = void 0, this.matchingFormats = []);
2534
+ }
2535
+ /**
2536
+ * Formats an updated phone number.
2537
+ * @param {string} nextDigits — Additional phone number digits.
2538
+ * @param {object} state — `AsYouType` state.
2539
+ * @return {[string]} Returns undefined if the updated phone number can't be formatted using any of the available formats.
2540
+ */
2541
+ }, {
2542
+ key: "format",
2543
+ value: function(t, e) {
2544
+ var n = this;
2545
+ if (Z1(e.nationalSignificantNumber, this.metadata))
2546
+ for (var r = _t(this.matchingFormats), a; !(a = r()).done; ) {
2547
+ var i = a.value, o = W1(e, i, {
2548
+ metadata: this.metadata,
2549
+ shouldTryNationalPrefixFormattingRule: function($) {
2550
+ return n.shouldTryNationalPrefixFormattingRule($, {
2551
+ international: e.international,
2552
+ nationalPrefix: e.nationalPrefix
2553
+ });
2554
+ },
2555
+ getSeparatorAfterNationalPrefix: function($) {
2556
+ return n.getSeparatorAfterNationalPrefix($);
2557
+ }
2558
+ });
2559
+ if (o)
2560
+ return this.resetFormat(), this.chosenFormat = i, this.setNationalNumberTemplate(o.replace(/\d/g, A), e), this.populatedNationalNumberTemplate = o, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(A), o;
2561
+ }
2562
+ return this.formatNationalNumberWithNextDigits(t, e);
2563
+ }
2564
+ // Formats the next phone number digits.
2565
+ }, {
2566
+ key: "formatNationalNumberWithNextDigits",
2567
+ value: function(t, e) {
2568
+ var n = this.chosenFormat, r = this.chooseFormat(e);
2569
+ if (r)
2570
+ return r === n ? this.formatNextNationalNumberDigits(t) : this.formatNextNationalNumberDigits(e.getNationalDigits());
2571
+ }
2572
+ }, {
2573
+ key: "narrowDownMatchingFormats",
2574
+ value: function(t) {
2575
+ var e = this, n = t.nationalSignificantNumber, r = t.nationalPrefix, a = t.international, i = n, o = i.length - dd;
2576
+ o < 0 && (o = 0), this.matchingFormats = this.matchingFormats.filter(function($) {
2577
+ return e.formatSuits($, a, r) && e.formatMatches($, i, o);
2578
+ }), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
2579
+ }
2580
+ }, {
2581
+ key: "formatSuits",
2582
+ value: function(t, e, n) {
2583
+ return !(n && !t.usesNationalPrefix() && // !format.domesticCarrierCodeFormattingRule() &&
2584
+ !t.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !e && !n && t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
2585
+ }
2586
+ }, {
2587
+ key: "formatMatches",
2588
+ value: function(t, e, n) {
2589
+ var r = t.leadingDigitsPatterns().length;
2590
+ if (r === 0)
2591
+ return !0;
2592
+ n = Math.min(n, r - 1);
2593
+ var a = t.leadingDigitsPatterns()[n];
2594
+ if (e.length < dd)
2595
+ try {
2596
+ return new n0(a).match(e, {
2597
+ allowOverflow: !0
2598
+ }) !== void 0;
2599
+ } catch (i) {
2600
+ return console.error(i), !0;
2601
+ }
2602
+ return new RegExp("^(".concat(a, ")")).test(e);
2603
+ }
2604
+ }, {
2605
+ key: "getFormatFormat",
2606
+ value: function(t, e) {
2607
+ return e ? t.internationalFormat() : t.format();
2608
+ }
2609
+ }, {
2610
+ key: "chooseFormat",
2611
+ value: function(t) {
2612
+ for (var e = this, n = function() {
2613
+ var o = a.value;
2614
+ return e.chosenFormat === o ? "break" : f0.test(e.getFormatFormat(o, t.international)) ? e.createTemplateForFormat(o, t) ? (e.chosenFormat = o, "break") : (e.matchingFormats = e.matchingFormats.filter(function($) {
2615
+ return $ !== o;
2616
+ }), "continue") : "continue";
2617
+ }, r = _t(this.matchingFormats.slice()), a; !(a = r()).done; ) {
2618
+ var i = n();
2619
+ if (i === "break") break;
2620
+ }
2621
+ return this.chosenFormat || this.resetFormat(), this.chosenFormat;
2622
+ }
2623
+ }, {
2624
+ key: "createTemplateForFormat",
2625
+ value: function(t, e) {
2626
+ if (!(t.pattern().indexOf("|") >= 0)) {
2627
+ var n = this.getTemplateForFormat(t, e);
2628
+ if (n)
2629
+ return this.setNationalNumberTemplate(n, e), !0;
2630
+ }
2631
+ }
2632
+ }, {
2633
+ key: "getSeparatorAfterNationalPrefix",
2634
+ value: function(t) {
2635
+ return this.isNANP || t && t.nationalPrefixFormattingRule() && u0.test(t.nationalPrefixFormattingRule()) ? " " : "";
2636
+ }
2637
+ }, {
2638
+ key: "getInternationalPrefixBeforeCountryCallingCode",
2639
+ value: function(t, e) {
2640
+ var n = t.IDDPrefix, r = t.missingPlus;
2641
+ return n ? e && e.spacing === !1 ? n : n + " " : r ? "" : "+";
2642
+ }
2643
+ }, {
2644
+ key: "getTemplate",
2645
+ value: function(t) {
2646
+ if (this.template) {
2647
+ for (var e = -1, n = 0, r = t.international ? this.getInternationalPrefixBeforeCountryCallingCode(t, {
2648
+ spacing: !1
2649
+ }) : ""; n < r.length + t.getDigitsWithoutInternationalPrefix().length; )
2650
+ e = this.template.indexOf(A, e + 1), n++;
2651
+ return Xt(this.template, e + 1);
2652
+ }
2653
+ }
2654
+ }, {
2655
+ key: "setNationalNumberTemplate",
2656
+ value: function(t, e) {
2657
+ this.nationalNumberTemplate = t, this.populatedNationalNumberTemplate = t, this.populatedNationalNumberTemplatePosition = -1, e.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(e).replace(/[\d\+]/g, A) + J(A, e.callingCode.length) + " " + t : this.template = t;
2658
+ }
2659
+ /**
2660
+ * Generates formatting template for a national phone number,
2661
+ * optionally containing a national prefix, for a format.
2662
+ * @param {Format} format
2663
+ * @param {string} nationalPrefix
2664
+ * @return {string}
2665
+ */
2666
+ }, {
2667
+ key: "getTemplateForFormat",
2668
+ value: function(t, e) {
2669
+ var n = e.nationalSignificantNumber, r = e.international, a = e.nationalPrefix, i = e.complexPrefixBeforeNationalSignificantNumber, o = t.pattern();
2670
+ o = o.replace(s0(), "\\d").replace(c0(), "\\d");
2671
+ var $ = l0.match(o)[0];
2672
+ if (!(n.length > $.length)) {
2673
+ var u = new RegExp("^" + o + "$"), l = n.replace(/\d/g, pt);
2674
+ u.test(l) && ($ = l);
2675
+ var h = this.getFormatFormat(t, r), g;
2676
+ if (this.shouldTryNationalPrefixFormattingRule(t, {
2677
+ international: r,
2678
+ nationalPrefix: a
2679
+ })) {
2680
+ var m = h.replace(yd, t.nationalPrefixFormattingRule());
2681
+ if (dt(t.nationalPrefixFormattingRule()) === (a || "") + dt("$1") && (h = m, g = !0, a))
2682
+ for (var C = a.length; C > 0; )
2683
+ h = h.replace(/\d/, A), C--;
2684
+ }
2685
+ var p = $.replace(new RegExp(o), h).replace(new RegExp(pt, "g"), A);
2686
+ return g || (i ? p = J(A, i.length) + " " + p : a && (p = J(A, a.length) + this.getSeparatorAfterNationalPrefix(t) + p)), r && (p = pd(p)), p;
2687
+ }
2688
+ }
2689
+ }, {
2690
+ key: "formatNextNationalNumberDigits",
2691
+ value: function(t) {
2692
+ var e = U1(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, t);
2693
+ if (!e) {
2694
+ this.resetFormat();
2695
+ return;
2696
+ }
2697
+ return this.populatedNationalNumberTemplate = e[0], this.populatedNationalNumberTemplatePosition = e[1], Xt(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
2698
+ }
2699
+ }, {
2700
+ key: "shouldTryNationalPrefixFormattingRule",
2701
+ value: function(t, e) {
2702
+ var n = e.international, r = e.nationalPrefix;
2703
+ if (t.nationalPrefixFormattingRule()) {
2704
+ var a = t.usesNationalPrefix();
2705
+ if (a && r || !a && !n)
2706
+ return !0;
2707
+ }
2708
+ }
2709
+ }]), d;
2710
+ }();
2711
+ function bd(d, t) {
2712
+ return y0(d) || p0(d, t) || g0(d, t) || m0();
2713
+ }
2714
+ function m0() {
2715
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2716
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2717
+ }
2718
+ function g0(d, t) {
2719
+ if (d) {
2720
+ if (typeof d == "string") return ed(d, t);
2721
+ var e = Object.prototype.toString.call(d).slice(8, -1);
2722
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
2723
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return ed(d, t);
2724
+ }
2725
+ }
2726
+ function ed(d, t) {
2727
+ (t == null || t > d.length) && (t = d.length);
2728
+ for (var e = 0, n = new Array(t); e < t; e++)
2729
+ n[e] = d[e];
2730
+ return n;
2731
+ }
2732
+ function p0(d, t) {
2733
+ var e = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
2734
+ if (e != null) {
2735
+ var n = [], r = !0, a = !1, i, o;
2736
+ try {
2737
+ for (e = e.call(d); !(r = (i = e.next()).done) && (n.push(i.value), !(t && n.length === t)); r = !0)
2738
+ ;
2739
+ } catch ($) {
2740
+ a = !0, o = $;
2741
+ } finally {
2742
+ try {
2743
+ !r && e.return != null && e.return();
2744
+ } finally {
2745
+ if (a) throw o;
2746
+ }
2747
+ }
2748
+ return n;
2749
+ }
2750
+ }
2751
+ function y0(d) {
2752
+ if (Array.isArray(d)) return d;
2753
+ }
2754
+ function C0(d, t) {
2755
+ if (!(d instanceof t))
2756
+ throw new TypeError("Cannot call a class as a function");
2757
+ }
2758
+ function v0(d, t) {
2759
+ for (var e = 0; e < t.length; e++) {
2760
+ var n = t[e];
2761
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
2762
+ }
2763
+ }
2764
+ function b0(d, t, e) {
2765
+ return t && v0(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
2766
+ }
2767
+ var N0 = "[" + k + X + "]+", x0 = new RegExp("^" + N0 + "$", "i"), P0 = "(?:[" + i1 + "][" + k + X + "]*|[" + k + X + "]+)", A0 = new RegExp("[^" + k + X + "]+.*$"), I0 = /[^\d\[\]]/, w0 = /* @__PURE__ */ function() {
2768
+ function d(t) {
2769
+ var e = t.defaultCountry, n = t.defaultCallingCode, r = t.metadata, a = t.onNationalSignificantNumberChange;
2770
+ C0(this, d), this.defaultCountry = e, this.defaultCallingCode = n, this.metadata = r, this.onNationalSignificantNumberChange = a;
2771
+ }
2772
+ return b0(d, [{
2773
+ key: "input",
2774
+ value: function(t, e) {
2775
+ var n = T0(t), r = bd(n, 2), a = r[0], i = r[1], o = dt(a), $;
2776
+ return i && (e.digits || (e.startInternationalNumber(), o || ($ = !0))), o && this.inputDigits(o, e), {
2777
+ digits: o,
2778
+ justLeadingPlus: $
2779
+ };
2780
+ }
2781
+ /**
2782
+ * Inputs "next" phone number digits.
2783
+ * @param {string} digits
2784
+ * @return {string} [formattedNumber] Formatted national phone number (if it can be formatted at this stage). Returning `undefined` means "don't format the national phone number at this stage".
2785
+ */
2786
+ }, {
2787
+ key: "inputDigits",
2788
+ value: function(t, e) {
2789
+ var n = e.digits, r = n.length < 3 && n.length + t.length >= 3;
2790
+ if (e.appendDigits(t), r && this.extractIddPrefix(e), this.isWaitingForCountryCallingCode(e)) {
2791
+ if (!this.extractCountryCallingCode(e))
2792
+ return;
2793
+ } else
2794
+ e.appendNationalSignificantNumberDigits(t);
2795
+ e.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(e.getNationalDigits(), function(a) {
2796
+ return e.update(a);
2797
+ });
2798
+ }
2799
+ }, {
2800
+ key: "isWaitingForCountryCallingCode",
2801
+ value: function(t) {
2802
+ var e = t.international, n = t.callingCode;
2803
+ return e && !n;
2804
+ }
2805
+ // Extracts a country calling code from a number
2806
+ // being entered in internatonal format.
2807
+ }, {
2808
+ key: "extractCountryCallingCode",
2809
+ value: function(t) {
2810
+ var e = gd("+" + t.getDigitsWithoutInternationalPrefix(), this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), n = e.countryCallingCode, r = e.number;
2811
+ if (n)
2812
+ return t.setCallingCode(n), t.update({
2813
+ nationalSignificantNumber: r
2814
+ }), !0;
2815
+ }
2816
+ }, {
2817
+ key: "reset",
2818
+ value: function(t) {
2819
+ if (t) {
2820
+ this.hasSelectedNumberingPlan = !0;
2821
+ var e = t._nationalPrefixForParsing();
2822
+ this.couldPossiblyExtractAnotherNationalSignificantNumber = e && I0.test(e);
2823
+ } else
2824
+ this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
2825
+ }
2826
+ /**
2827
+ * Extracts a national (significant) number from user input.
2828
+ * Google's library is different in that it only applies `national_prefix_for_parsing`
2829
+ * and doesn't apply `national_prefix_transform_rule` after that.
2830
+ * https://github.com/google/libphonenumber/blob/a3d70b0487875475e6ad659af404943211d26456/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java#L539
2831
+ * @return {boolean} [extracted]
2832
+ */
2833
+ }, {
2834
+ key: "extractNationalSignificantNumber",
2835
+ value: function(t, e) {
2836
+ if (this.hasSelectedNumberingPlan) {
2837
+ var n = mt(t, this.metadata), r = n.nationalPrefix, a = n.nationalNumber, i = n.carrierCode;
2838
+ if (a !== t)
2839
+ return this.onExtractedNationalNumber(r, i, a, t, e), !0;
2840
+ }
2841
+ }
2842
+ /**
2843
+ * In Google's code this function is called "attempt to extract longer NDD".
2844
+ * "Some national prefixes are a substring of others", they say.
2845
+ * @return {boolean} [result] — Returns `true` if extracting a national prefix produced different results from what they were.
2846
+ */
2847
+ }, {
2848
+ key: "extractAnotherNationalSignificantNumber",
2849
+ value: function(t, e, n) {
2850
+ if (!this.hasExtractedNationalSignificantNumber)
2851
+ return this.extractNationalSignificantNumber(t, n);
2852
+ if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
2853
+ var r = mt(t, this.metadata), a = r.nationalPrefix, i = r.nationalNumber, o = r.carrierCode;
2854
+ if (i !== e)
2855
+ return this.onExtractedNationalNumber(a, o, i, t, n), !0;
2856
+ }
2857
+ }
2858
+ }, {
2859
+ key: "onExtractedNationalNumber",
2860
+ value: function(t, e, n, r, a) {
2861
+ var i, o, $ = r.lastIndexOf(n);
2862
+ if ($ >= 0 && $ === r.length - n.length) {
2863
+ o = !0;
2864
+ var u = r.slice(0, $);
2865
+ u !== t && (i = u);
2866
+ }
2867
+ a({
2868
+ nationalPrefix: t,
2869
+ carrierCode: e,
2870
+ nationalSignificantNumber: n,
2871
+ nationalSignificantNumberMatchesInput: o,
2872
+ complexPrefixBeforeNationalSignificantNumber: i
2873
+ }), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
2874
+ }
2875
+ }, {
2876
+ key: "reExtractNationalSignificantNumber",
2877
+ value: function(t) {
2878
+ if (this.extractAnotherNationalSignificantNumber(t.getNationalDigits(), t.nationalSignificantNumber, function(e) {
2879
+ return t.update(e);
2880
+ }))
2881
+ return !0;
2882
+ if (this.extractIddPrefix(t))
2883
+ return this.extractCallingCodeAndNationalSignificantNumber(t), !0;
2884
+ if (this.fixMissingPlus(t))
2885
+ return this.extractCallingCodeAndNationalSignificantNumber(t), !0;
2886
+ }
2887
+ }, {
2888
+ key: "extractIddPrefix",
2889
+ value: function(t) {
2890
+ var e = t.international, n = t.IDDPrefix, r = t.digits;
2891
+ if (t.nationalSignificantNumber, !(e || n)) {
2892
+ var a = hd(r, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
2893
+ if (a !== void 0 && a !== r)
2894
+ return t.update({
2895
+ IDDPrefix: r.slice(0, r.length - a.length)
2896
+ }), this.startInternationalNumber(t, {
2897
+ country: void 0,
2898
+ callingCode: void 0
2899
+ }), !0;
2900
+ }
2901
+ }
2902
+ }, {
2903
+ key: "fixMissingPlus",
2904
+ value: function(t) {
2905
+ if (!t.international) {
2906
+ var e = md(t.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), n = e.countryCallingCode;
2907
+ if (e.number, n)
2908
+ return t.update({
2909
+ missingPlus: !0
2910
+ }), this.startInternationalNumber(t, {
2911
+ country: t.country,
2912
+ callingCode: n
2913
+ }), !0;
2914
+ }
2915
+ }
2916
+ }, {
2917
+ key: "startInternationalNumber",
2918
+ value: function(t, e) {
2919
+ var n = e.country, r = e.callingCode;
2920
+ t.startInternationalNumber(n, r), t.nationalSignificantNumber && (t.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
2921
+ }
2922
+ }, {
2923
+ key: "extractCallingCodeAndNationalSignificantNumber",
2924
+ value: function(t) {
2925
+ this.extractCountryCallingCode(t) && this.extractNationalSignificantNumber(t.getNationalDigits(), function(e) {
2926
+ return t.update(e);
2927
+ });
2928
+ }
2929
+ }]), d;
2930
+ }();
2931
+ function S0(d) {
2932
+ var t = d.search(P0);
2933
+ if (!(t < 0)) {
2934
+ d = d.slice(t);
2935
+ var e;
2936
+ return d[0] === "+" && (e = !0, d = d.slice(1)), d = d.replace(A0, ""), e && (d = "+" + d), d;
2937
+ }
2938
+ }
2939
+ function M0(d) {
2940
+ var t = S0(d) || "";
2941
+ return t[0] === "+" ? [t.slice(1), !0] : [t];
2942
+ }
2943
+ function T0(d) {
2944
+ var t = M0(d), e = bd(t, 2), n = e[0], r = e[1];
2945
+ return x0.test(n) || (n = ""), [n, r];
2946
+ }
2947
+ function O0(d, t) {
2948
+ return k0(d) || D0(d, t) || F0(d, t) || E0();
2949
+ }
2950
+ function E0() {
2951
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2952
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2953
+ }
2954
+ function F0(d, t) {
2955
+ if (d) {
2956
+ if (typeof d == "string") return nd(d, t);
2957
+ var e = Object.prototype.toString.call(d).slice(8, -1);
2958
+ if (e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set") return Array.from(d);
2959
+ if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return nd(d, t);
2960
+ }
2961
+ }
2962
+ function nd(d, t) {
2963
+ (t == null || t > d.length) && (t = d.length);
2964
+ for (var e = 0, n = new Array(t); e < t; e++)
2965
+ n[e] = d[e];
2966
+ return n;
2967
+ }
2968
+ function D0(d, t) {
2969
+ var e = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
2970
+ if (e != null) {
2971
+ var n = [], r = !0, a = !1, i, o;
2972
+ try {
2973
+ for (e = e.call(d); !(r = (i = e.next()).done) && (n.push(i.value), !(t && n.length === t)); r = !0)
2974
+ ;
2975
+ } catch ($) {
2976
+ a = !0, o = $;
2977
+ } finally {
2978
+ try {
2979
+ !r && e.return != null && e.return();
2980
+ } finally {
2981
+ if (a) throw o;
2982
+ }
2983
+ }
2984
+ return n;
2985
+ }
2986
+ }
2987
+ function k0(d) {
2988
+ if (Array.isArray(d)) return d;
2989
+ }
2990
+ function R0(d, t) {
2991
+ if (!(d instanceof t))
2992
+ throw new TypeError("Cannot call a class as a function");
2993
+ }
2994
+ function L0(d, t) {
2995
+ for (var e = 0; e < t.length; e++) {
2996
+ var n = t[e];
2997
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, n.key, n);
2998
+ }
2999
+ }
3000
+ function B0(d, t, e) {
3001
+ return t && L0(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
3002
+ }
3003
+ var Nd = /* @__PURE__ */ function() {
3004
+ function d(t, e) {
3005
+ R0(this, d), this.metadata = new v(e);
3006
+ var n = this.getCountryAndCallingCode(t), r = O0(n, 2), a = r[0], i = r[1];
3007
+ this.defaultCountry = a, this.defaultCallingCode = i, this.reset();
3008
+ }
3009
+ return B0(d, [{
3010
+ key: "getCountryAndCallingCode",
3011
+ value: function(t) {
3012
+ var e, n;
3013
+ return t && (Z(t) ? (e = t.defaultCountry, n = t.defaultCallingCode) : e = t), e && !this.metadata.hasCountry(e) && (e = void 0), [e, n];
3014
+ }
3015
+ /**
3016
+ * Inputs "next" phone number characters.
3017
+ * @param {string} text
3018
+ * @return {string} Formatted phone number characters that have been input so far.
3019
+ */
3020
+ }, {
3021
+ key: "input",
3022
+ value: function(t) {
3023
+ var e = this.parser.input(t, this.state), n = e.digits, r = e.justLeadingPlus;
3024
+ if (r)
3025
+ this.formattedOutput = "+";
3026
+ else if (n) {
3027
+ this.determineTheCountryIfNeeded(), this.state.nationalSignificantNumber && this.formatter.narrowDownMatchingFormats(this.state);
3028
+ var a;
3029
+ if (this.metadata.hasSelectedNumberingPlan() && (a = this.formatter.format(n, this.state)), a === void 0 && this.parser.reExtractNationalSignificantNumber(this.state)) {
3030
+ this.determineTheCountryIfNeeded();
3031
+ var i = this.state.getNationalDigits();
3032
+ i && (a = this.formatter.format(i, this.state));
3033
+ }
3034
+ this.formattedOutput = a ? this.getFullNumber(a) : this.getNonFormattedNumber();
3035
+ }
3036
+ return this.formattedOutput;
3037
+ }
3038
+ }, {
3039
+ key: "reset",
3040
+ value: function() {
3041
+ var t = this;
3042
+ return this.state = new L1({
3043
+ onCountryChange: function(e) {
3044
+ t.country = e;
3045
+ },
3046
+ onCallingCodeChange: function(e, n) {
3047
+ t.metadata.selectNumberingPlan(n, e), t.formatter.reset(t.metadata.numberingPlan, t.state), t.parser.reset(t.metadata.numberingPlan);
3048
+ }
3049
+ }), this.formatter = new h0({
3050
+ state: this.state,
3051
+ metadata: this.metadata
3052
+ }), this.parser = new w0({
3053
+ defaultCountry: this.defaultCountry,
3054
+ defaultCallingCode: this.defaultCallingCode,
3055
+ metadata: this.metadata,
3056
+ state: this.state,
3057
+ onNationalSignificantNumberChange: function() {
3058
+ t.determineTheCountryIfNeeded(), t.formatter.reset(t.metadata.numberingPlan, t.state);
3059
+ }
3060
+ }), this.state.reset({
3061
+ country: this.defaultCountry,
3062
+ callingCode: this.defaultCallingCode
3063
+ }), this.formattedOutput = "", this;
3064
+ }
3065
+ /**
3066
+ * Returns `true` if the phone number is being input in international format.
3067
+ * In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
3068
+ * @return {boolean}
3069
+ */
3070
+ }, {
3071
+ key: "isInternational",
3072
+ value: function() {
3073
+ return this.state.international;
3074
+ }
3075
+ /**
3076
+ * Returns the "calling code" part of the phone number when it's being input
3077
+ * in an international format.
3078
+ * If no valid calling code has been entered so far, returns `undefined`.
3079
+ * @return {string} [callingCode]
3080
+ */
3081
+ }, {
3082
+ key: "getCallingCode",
3083
+ value: function() {
3084
+ if (this.isInternational())
3085
+ return this.state.callingCode;
3086
+ }
3087
+ // A legacy alias.
3088
+ }, {
3089
+ key: "getCountryCallingCode",
3090
+ value: function() {
3091
+ return this.getCallingCode();
3092
+ }
3093
+ /**
3094
+ * Returns a two-letter country code of the phone number.
3095
+ * Returns `undefined` for "non-geographic" phone numbering plans.
3096
+ * Returns `undefined` if no phone number has been input yet.
3097
+ * @return {string} [country]
3098
+ */
3099
+ }, {
3100
+ key: "getCountry",
3101
+ value: function() {
3102
+ var t = this.state.digits;
3103
+ if (t)
3104
+ return this._getCountry();
3105
+ }
3106
+ /**
3107
+ * Returns a two-letter country code of the phone number.
3108
+ * Returns `undefined` for "non-geographic" phone numbering plans.
3109
+ * @return {string} [country]
3110
+ */
3111
+ }, {
3112
+ key: "_getCountry",
3113
+ value: function() {
3114
+ var t = this.state.country;
3115
+ return t;
3116
+ }
3117
+ }, {
3118
+ key: "determineTheCountryIfNeeded",
3119
+ value: function() {
3120
+ (!this.state.country || this.isCountryCallingCodeAmbiguous()) && this.determineTheCountry();
3121
+ }
3122
+ // Prepends `+CountryCode ` in case of an international phone number
3123
+ }, {
3124
+ key: "getFullNumber",
3125
+ value: function(t) {
3126
+ var e = this;
3127
+ if (this.isInternational()) {
3128
+ var n = function(a) {
3129
+ return e.formatter.getInternationalPrefixBeforeCountryCallingCode(e.state, {
3130
+ spacing: !!a
3131
+ }) + a;
3132
+ }, r = this.state.callingCode;
3133
+ return n(r ? t ? "".concat(r, " ").concat(t) : r : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
3134
+ }
3135
+ return t;
3136
+ }
3137
+ }, {
3138
+ key: "getNonFormattedNationalNumberWithPrefix",
3139
+ value: function() {
3140
+ var t = this.state, e = t.nationalSignificantNumber, n = t.complexPrefixBeforeNationalSignificantNumber, r = t.nationalPrefix, a = e, i = n || r;
3141
+ return i && (a = i + a), a;
3142
+ }
3143
+ }, {
3144
+ key: "getNonFormattedNumber",
3145
+ value: function() {
3146
+ var t = this.state.nationalSignificantNumberMatchesInput;
3147
+ return this.getFullNumber(t ? this.getNonFormattedNationalNumberWithPrefix() : this.state.getNationalDigits());
3148
+ }
3149
+ }, {
3150
+ key: "getNonFormattedTemplate",
3151
+ value: function() {
3152
+ var t = this.getNonFormattedNumber();
3153
+ if (t)
3154
+ return t.replace(/[\+\d]/g, A);
3155
+ }
3156
+ }, {
3157
+ key: "isCountryCallingCodeAmbiguous",
3158
+ value: function() {
3159
+ var t = this.state.callingCode, e = this.metadata.getCountryCodesForCallingCode(t);
3160
+ return e && e.length > 1;
3161
+ }
3162
+ // Determines the country of the phone number
3163
+ // entered so far based on the country phone code
3164
+ // and the national phone number.
3165
+ }, {
3166
+ key: "determineTheCountry",
3167
+ value: function() {
3168
+ this.state.setCountry(F1(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
3169
+ nationalNumber: this.state.nationalSignificantNumber,
3170
+ defaultCountry: this.defaultCountry,
3171
+ metadata: this.metadata
3172
+ }));
3173
+ }
3174
+ /**
3175
+ * Returns a E.164 phone number value for the user's input.
3176
+ *
3177
+ * For example, for country `"US"` and input `"(222) 333-4444"`
3178
+ * it will return `"+12223334444"`.
3179
+ *
3180
+ * For international phone number input, it will also auto-correct
3181
+ * some minor errors such as using a national prefix when writing
3182
+ * an international phone number. For example, if the user inputs
3183
+ * `"+44 0 7400 000000"` then it will return an auto-corrected
3184
+ * `"+447400000000"` phone number value.
3185
+ *
3186
+ * Will return `undefined` if no digits have been input,
3187
+ * or when inputting a phone number in national format and no
3188
+ * default country or default "country calling code" have been set.
3189
+ *
3190
+ * @return {string} [value]
3191
+ */
3192
+ }, {
3193
+ key: "getNumberValue",
3194
+ value: function() {
3195
+ var t = this.state, e = t.digits, n = t.callingCode, r = t.country, a = t.nationalSignificantNumber;
3196
+ if (e) {
3197
+ if (this.isInternational())
3198
+ return n ? "+" + n + a : "+" + e;
3199
+ if (r || n) {
3200
+ var i = r ? this.metadata.countryCallingCode() : n;
3201
+ return "+" + i + a;
3202
+ }
3203
+ }
3204
+ }
3205
+ /**
3206
+ * Returns an instance of `PhoneNumber` class.
3207
+ * Will return `undefined` if no national (significant) number
3208
+ * digits have been entered so far, or if no `defaultCountry` has been
3209
+ * set and the user enters a phone number not in international format.
3210
+ */
3211
+ }, {
3212
+ key: "getNumber",
3213
+ value: function() {
3214
+ var t = this.state, e = t.nationalSignificantNumber, n = t.carrierCode, r = t.callingCode, a = this._getCountry();
3215
+ if (e && !(!a && !r)) {
3216
+ if (a && a === this.defaultCountry) {
3217
+ var i = new v(this.metadata.metadata);
3218
+ i.selectNumberingPlan(a);
3219
+ var o = i.numberingPlan.callingCode(), $ = this.metadata.getCountryCodesForCallingCode(o);
3220
+ if ($.length > 1) {
3221
+ var u = vd(e, {
3222
+ countries: $,
3223
+ defaultCountry: this.defaultCountry,
3224
+ metadata: this.metadata.metadata
3225
+ });
3226
+ u && (a = u);
3227
+ }
3228
+ }
3229
+ var l = new x1(a || r, e, this.metadata.metadata);
3230
+ return n && (l.carrierCode = n), l;
3231
+ }
3232
+ }
3233
+ /**
3234
+ * Returns `true` if the phone number is "possible".
3235
+ * Is just a shortcut for `PhoneNumber.isPossible()`.
3236
+ * @return {boolean}
3237
+ */
3238
+ }, {
3239
+ key: "isPossible",
3240
+ value: function() {
3241
+ var t = this.getNumber();
3242
+ return t ? t.isPossible() : !1;
3243
+ }
3244
+ /**
3245
+ * Returns `true` if the phone number is "valid".
3246
+ * Is just a shortcut for `PhoneNumber.isValid()`.
3247
+ * @return {boolean}
3248
+ */
3249
+ }, {
3250
+ key: "isValid",
3251
+ value: function() {
3252
+ var t = this.getNumber();
3253
+ return t ? t.isValid() : !1;
3254
+ }
3255
+ /**
3256
+ * @deprecated
3257
+ * This method is used in `react-phone-number-input/source/input-control.js`
3258
+ * in versions before `3.0.16`.
3259
+ */
3260
+ }, {
3261
+ key: "getNationalNumber",
3262
+ value: function() {
3263
+ return this.state.nationalSignificantNumber;
3264
+ }
3265
+ /**
3266
+ * Returns the phone number characters entered by the user.
3267
+ * @return {string}
3268
+ */
3269
+ }, {
3270
+ key: "getChars",
3271
+ value: function() {
3272
+ return (this.state.international ? "+" : "") + this.state.digits;
3273
+ }
3274
+ /**
3275
+ * Returns the template for the formatted phone number.
3276
+ * @return {string}
3277
+ */
3278
+ }, {
3279
+ key: "getTemplate",
3280
+ value: function() {
3281
+ return this.formatter.getTemplate(this.state) || this.getNonFormattedTemplate() || "";
3282
+ }
3283
+ }]), d;
3284
+ }();
3285
+ function z(d) {
3286
+ return Nd.call(this, d, od);
3287
+ }
3288
+ z.prototype = Object.create(Nd.prototype, {});
3289
+ z.prototype.constructor = z;
3290
+ function ct(d) {
3291
+ var u, l;
3292
+ const { defaultCountry: t, initialValue: e, disableFormatting: n, forceCallingCode: r } = d, a = t ? `+${(u = V[t]) == null ? void 0 : u[0]}` : "", i = new z(t);
3293
+ let o = i.input(e);
3294
+ r && o === "+" && t && (o = `+${(l = V[t]) == null ? void 0 : l[0]}`);
3295
+ const $ = i.getNumberValue();
3296
+ return n && $ && (o = $), {
3297
+ inputValue: o || a,
3298
+ isoCode: i.getCountry() || t || null
3299
+ };
3300
+ }
3301
+ function j0(d, t) {
3302
+ const { excludedCountries: e, onlyCountries: n, continents: r } = t;
3303
+ return !(F(e, !0) && e.includes(d) || F(n) && !n.includes(d) || F(r) && !ce(r, d));
3304
+ }
3305
+ function G0({
3306
+ value: d,
3307
+ onChange: t,
3308
+ defaultCountry: e,
3309
+ onlyCountries: n,
3310
+ excludedCountries: r,
3311
+ continents: a,
3312
+ disableFormatting: i,
3313
+ forceCallingCode: o
3314
+ }) {
3315
+ const $ = y.useRef(
3316
+ e || null
3317
+ ), u = y.useRef(new z(e)), l = y.useRef(null), [h, g] = y.useState(e), [m, C] = y.useState(() => ct({
3318
+ initialValue: d,
3319
+ defaultCountry: e,
3320
+ disableFormatting: i,
3321
+ forceCallingCode: o
3322
+ })), [p, b] = y.useState(d), x = (c) => {
3323
+ var N;
3324
+ return {
3325
+ countryCallingCode: u.current.getCallingCode() || null,
3326
+ countryCode: u.current.getCountry() || null,
3327
+ nationalNumber: u.current.getNationalNumber(),
3328
+ numberType: ((N = u.current.getNumber()) == null ? void 0 : N.getType()) ?? null,
3329
+ numberValue: u.current.getNumberValue() || null,
3330
+ reason: c
3331
+ };
3332
+ }, D = (c) => c && j0(c, {
3333
+ onlyCountries: n,
3334
+ excludedCountries: r,
3335
+ continents: a
3336
+ }), T = (c) => (u.current.reset(), u.current.input(c)), L = (c) => c.startsWith("+") || c === "" ? c : `+${c}`, H = (c, N) => c.startsWith("+") || c === "" ? c : `+${_(N)}${c}`, Y = (c) => {
3337
+ const N = o ? H(
3338
+ c.target.value,
3339
+ m.isoCode
3340
+ ) : L(c.target.value), O = T(N), E = u.current.getCountry() || (o ? m.isoCode : $.current), I = u.current.getNumberValue() || "";
3341
+ $.current = E;
3342
+ const w = x("input");
3343
+ if (I && (!E || !D(E)))
3344
+ t == null || t(I, {
3345
+ ...w,
3346
+ // we show the input value but without any formatting, or country..
3347
+ countryCode: null,
3348
+ countryCallingCode: null,
3349
+ nationalNumber: null
3350
+ }), b(I), C({
3351
+ isoCode: null,
3352
+ inputValue: I
3353
+ });
3354
+ else {
3355
+ const P = i ? I : O;
3356
+ t == null || t(P, w), b(P), C({
3357
+ isoCode: E,
3358
+ inputValue: P
3359
+ });
3360
+ }
3361
+ };
3362
+ y.useEffect(() => {
3363
+ if (d !== p) {
3364
+ b(d);
3365
+ const c = ct({
3366
+ initialValue: d,
3367
+ defaultCountry: e,
3368
+ forceCallingCode: o,
3369
+ disableFormatting: i
3370
+ });
3371
+ $.current = c.isoCode, C(c);
3372
+ }
3373
+ }, [
3374
+ d,
3375
+ p,
3376
+ e,
3377
+ o,
3378
+ i
3379
+ ]), y.useEffect(() => {
3380
+ if (e !== h) {
3381
+ g(e), u.current = new z(e);
3382
+ const { inputValue: c, isoCode: N } = ct({
3383
+ initialValue: "",
3384
+ defaultCountry: e,
3385
+ forceCallingCode: o,
3386
+ disableFormatting: i
3387
+ });
3388
+ b(c), u.current.input(c), $.current = u.current.getCountry() || null, t == null || t(c, x("country")), C({
3389
+ inputValue: c,
3390
+ isoCode: N
3391
+ });
3392
+ }
3393
+ }, [
3394
+ e,
3395
+ h,
3396
+ t,
3397
+ o,
3398
+ i
3399
+ ]);
3400
+ const U = (c) => {
3401
+ var P;
3402
+ if (c === m.isoCode)
3403
+ return;
3404
+ const N = (P = V[c]) == null ? void 0 : P[0], { inputValue: O, isoCode: E } = m;
3405
+ let I = O;
3406
+ if (E) {
3407
+ const B = `+${_(E)}`;
3408
+ I = O.startsWith(B) ? ud(O, B) : "";
3409
+ }
3410
+ let w = `+${N}${I}`;
3411
+ i || (w = T(w)), t == null || t(w, {
3412
+ ...x("country"),
3413
+ // Some country have the same calling code, so we choose what the user has selected
3414
+ countryCode: c
3415
+ }), $.current = c, b(w), C({
3416
+ isoCode: c,
3417
+ inputValue: w
3418
+ });
3419
+ };
3420
+ return {
3421
+ inputValue: m.inputValue,
3422
+ isoCode: m.isoCode,
3423
+ onInputChange: Y,
3424
+ onCountryChange: U,
3425
+ inputRef: l,
3426
+ buildInputInfo: x
3427
+ };
3428
+ }
3429
+ const U0 = "MuiTelInput-TextField", W0 = (d) => {
3430
+ const {
3431
+ forceCallingCode: t = !1,
3432
+ onlyCountries: e,
3433
+ excludedCountries: n,
3434
+ defaultCountry: r,
3435
+ onDoubleClick: a,
3436
+ onFocus: i,
3437
+ onCopy: o,
3438
+ onBlur: $,
3439
+ value: u = "",
3440
+ ref: l,
3441
+ slotProps: h,
3442
+ inputRef: g,
3443
+ disabled: m,
3444
+ onChange: C,
3445
+ disableDropdown: p,
3446
+ disableFormatting: b = !1,
3447
+ focusOnSelectCountry: x,
3448
+ langOfCountryName: D,
3449
+ continents: T,
3450
+ preferredCountries: L,
3451
+ MenuProps: H,
3452
+ className: Y,
3453
+ getFlagElement: U = me,
3454
+ unknownFlagElement: c = ge,
3455
+ FlagIconButtonProps: N,
3456
+ ...O
3457
+ } = d, E = t ? oe(r) : r;
3458
+ De(d);
3459
+ const {
3460
+ onInputChange: I,
3461
+ onCountryChange: w,
3462
+ inputRef: P,
3463
+ isoCode: B,
3464
+ inputValue: Nt,
3465
+ buildInputInfo: xd
3466
+ } = G0({
3467
+ forceCallingCode: t,
3468
+ defaultCountry: E,
3469
+ value: u ?? "",
3470
+ onChange: C,
3471
+ excludedCountries: n,
3472
+ onlyCountries: e,
3473
+ disableFormatting: b,
3474
+ continents: T
3475
+ }), { openMenu: Pd, anchorEl: xt, anchorRef: Ad, closeMenu: Pt } = Oe({
3476
+ disabled: m,
3477
+ disableDropdown: p
3478
+ }), { handleDoubleClick: Id, handleCopy: wd, handleFocus: Sd } = Fe({
3479
+ onDoubleClick: a,
3480
+ onCopy: o,
3481
+ onFocus: i,
3482
+ inputRef: P
3483
+ }), Md = (at) => {
3484
+ kd.flushSync(() => {
3485
+ Pt(), w(at);
3486
+ }), x && P.current && P.current.focus();
3487
+ }, Td = (at) => {
3488
+ $ == null || $(at, xd("blur"));
3489
+ }, Od = B ? `+${_(B)}` : "", Ed = t ? ud(Nt, Od).trimStart() : Nt;
3490
+ return /* @__PURE__ */ M(yt, { children: [
3491
+ /* @__PURE__ */ s(
3492
+ zd,
3493
+ {
3494
+ type: "tel",
3495
+ disabled: m,
3496
+ value: Ed,
3497
+ ref: Ft([l]),
3498
+ onDoubleClick: Id,
3499
+ inputRef: Ft([P, g]),
3500
+ className: `${U0} ${Y || ""}`,
3501
+ onChange: I,
3502
+ onBlur: Td,
3503
+ onFocus: Sd,
3504
+ slotProps: {
3505
+ htmlInput: {
3506
+ onCopy: wd,
3507
+ // eslint-disable-next-line @typescript-eslint/no-misused-spread
3508
+ ...h == null ? void 0 : h.htmlInput
3509
+ },
3510
+ input: {
3511
+ startAdornment: /* @__PURE__ */ s(Hd, { position: "start", sx: { flexShrink: 0 }, children: /* @__PURE__ */ s(
3512
+ ye,
3513
+ {
3514
+ isFlagsMenuOpened: !!xt,
3515
+ isoCode: B,
3516
+ forceCallingCode: t,
3517
+ onClick: Pd,
3518
+ disabled: m,
3519
+ getFlagElement: U,
3520
+ unknownFlagElement: c,
3521
+ disableDropdown: !!p,
3522
+ ...N
3523
+ }
3524
+ ) }),
3525
+ ref: Ad,
3526
+ // eslint-disable-next-line @typescript-eslint/no-misused-spread
3527
+ ...h == null ? void 0 : h.input
3528
+ }
3529
+ },
3530
+ ...O
3531
+ }
3532
+ ),
3533
+ p ? null : /* @__PURE__ */ s(
3534
+ Te,
3535
+ {
3536
+ onlyCountries: e,
3537
+ excludedCountries: n,
3538
+ continents: T,
3539
+ anchorEl: xt,
3540
+ isoCode: B,
3541
+ preferredCountries: L,
3542
+ onClose: Pt,
3543
+ langOfCountryName: D,
3544
+ onSelectCountry: Md,
3545
+ getFlagElement: U,
3546
+ ...H
3547
+ }
3548
+ )
3549
+ ] });
3550
+ }, rd = {
29
3551
  orgName: "",
30
3552
  orgOtherName: "",
31
3553
  street: "",
32
3554
  city: "",
33
- state: "",
3555
+ // state: "",
34
3556
  postal: "",
35
3557
  country: "",
36
3558
  phone: "",
37
3559
  fax: "",
38
3560
  website: ""
39
- }, ne = ({
40
- onNext: h,
41
- kycData: f,
42
- disabled: r = !1
3561
+ }, In = ({
3562
+ onNext: d,
3563
+ kycData: t,
3564
+ disabled: e = !1
43
3565
  }) => {
44
- const { showAlertMessage: g } = I(), s = S(null), [a, y] = O(
45
- () => f ? w(f, Object.keys(d)) : d
46
- ), o = (t, c) => {
47
- y((p) => ({ ...p, [t]: c }));
48
- }, C = (t) => {
49
- const c = t.querySelectorAll("[required]");
50
- for (const p of c) {
51
- const m = p;
3566
+ const { showAlertMessage: n } = Qd(), r = Fd(null), [a, i] = Dd(
3567
+ () => t ? Xd(t, Object.keys(rd)) : rd
3568
+ ), o = (l, h) => {
3569
+ i((g) => ({ ...g, [l]: h }));
3570
+ }, $ = (l) => {
3571
+ const h = l.querySelectorAll("[required]");
3572
+ for (const g of h) {
3573
+ const m = g;
52
3574
  if (!(typeof m.value == "string" ? m.value.trim() : m.value))
53
3575
  return m.focus(), !1;
54
3576
  }
55
3577
  return !0;
56
- }, x = () => {
57
- if (s.current && !C(s.current)) {
58
- g({ message: "Please fill all required fields." });
3578
+ }, u = () => {
3579
+ if (r.current && !$(r.current)) {
3580
+ n({ message: "Please fill all required fields." });
59
3581
  return;
60
3582
  }
61
3583
  if (!a.country) {
62
- g({ message: "Please provide country." });
3584
+ n({ message: "Please provide country." });
63
3585
  return;
64
3586
  }
65
- h && h(a);
3587
+ d && d(a);
66
3588
  };
67
- return /* @__PURE__ */ u(q, { children: [
68
- !r && /* @__PURE__ */ e(n, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(j, { currentStep: 1, totalSteps: 3, topMargin: 0 }) }),
69
- /* @__PURE__ */ u(
3589
+ return /* @__PURE__ */ M(yt, { children: [
3590
+ !e && /* @__PURE__ */ s(S, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ s(Jd, { currentStep: 1, totalSteps: 3, topMargin: 0 }) }),
3591
+ /* @__PURE__ */ M(
70
3592
  "form",
71
3593
  {
72
- style: r ? {} : { height: "350px", overflowY: "scroll" },
73
- ref: s,
3594
+ style: e ? {} : { height: "350px", overflowY: "scroll" },
3595
+ ref: r,
74
3596
  children: [
75
- /* @__PURE__ */ e(
76
- l,
3597
+ /* @__PURE__ */ s(
3598
+ j,
77
3599
  {
78
3600
  label: "Organization Name",
79
3601
  value: a.orgName,
80
- onChange: (t) => o("orgName", t.target.value),
81
- disabled: r,
3602
+ onChange: (l) => o("orgName", l.target.value),
3603
+ disabled: e,
82
3604
  required: !0
83
3605
  }
84
3606
  ),
85
- /* @__PURE__ */ e(n, { mt: 2, children: /* @__PURE__ */ e(
86
- l,
3607
+ /* @__PURE__ */ s(S, { mt: 2, children: /* @__PURE__ */ s(
3608
+ j,
87
3609
  {
88
3610
  value: a.orgOtherName,
89
3611
  label: "Other Organization Name",
90
- onChange: (t) => o("orgOtherName", t.target.value),
91
- disabled: r
3612
+ onChange: (l) => o("orgOtherName", l.target.value),
3613
+ disabled: e
92
3614
  }
93
3615
  ) }),
94
- /* @__PURE__ */ e(n, { mt: 4, children: /* @__PURE__ */ e(z, { variant: "body1", fontWeight: "bold", children: "Organization Address & Contact Info" }) }),
95
- /* @__PURE__ */ e(n, { mt: 2, children: /* @__PURE__ */ e(
96
- l,
3616
+ /* @__PURE__ */ s(S, { mt: 4, children: /* @__PURE__ */ s(G, { variant: "body1", fontWeight: "bold", children: "Organization Address & Contact Info" }) }),
3617
+ /* @__PURE__ */ s(S, { mt: 2, children: /* @__PURE__ */ s(
3618
+ j,
97
3619
  {
98
3620
  value: a.street,
99
3621
  label: "Street Number & Name",
100
- onChange: (t) => o("street", t.target.value),
101
- disabled: r,
3622
+ onChange: (l) => o("street", l.target.value),
3623
+ disabled: e,
102
3624
  required: !0
103
3625
  }
104
3626
  ) }),
105
- /* @__PURE__ */ e(n, { mt: 2, children: /* @__PURE__ */ u(i, { container: !0, spacing: 1, children: [
106
- /* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(
107
- l,
108
- {
109
- value: a.city,
110
- label: "City",
111
- onChange: (t) => o("city", t.target.value),
112
- disabled: r,
113
- required: !0
114
- }
115
- ) }),
116
- /* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(
117
- l,
118
- {
119
- value: a.state,
120
- label: "State",
121
- onChange: (t) => o("state", t.target.value),
122
- disabled: r,
123
- required: !0
124
- }
125
- ) })
126
- ] }) }),
127
- /* @__PURE__ */ e(n, { mt: 2, children: /* @__PURE__ */ u(i, { container: !0, spacing: 1, children: [
128
- /* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ e(
129
- l,
3627
+ /* @__PURE__ */ s(S, { mt: 2, children: /* @__PURE__ */ s(
3628
+ j,
3629
+ {
3630
+ value: a.city,
3631
+ label: "City",
3632
+ onChange: (l) => o("city", l.target.value),
3633
+ disabled: e,
3634
+ required: !0
3635
+ }
3636
+ ) }),
3637
+ /* @__PURE__ */ s(S, { mt: 2, children: /* @__PURE__ */ M(ot, { container: !0, spacing: 1, children: [
3638
+ /* @__PURE__ */ s(ot, { size: 6, children: /* @__PURE__ */ s(
3639
+ j,
130
3640
  {
131
3641
  value: a.postal,
132
3642
  label: "Postal",
133
- onChange: (t) => o("postal", t.target.value),
134
- disabled: r,
3643
+ onChange: (l) => o("postal", l.target.value),
3644
+ disabled: e,
135
3645
  required: !0
136
3646
  }
137
3647
  ) }),
138
- /* @__PURE__ */ e(i, { item: !0, xs: 6, children: /* @__PURE__ */ u(
139
- A,
3648
+ /* @__PURE__ */ s(ot, { size: 6, children: /* @__PURE__ */ M(
3649
+ Zd,
140
3650
  {
141
3651
  fullWidth: !0,
142
3652
  value: a.country,
143
3653
  displayEmpty: !0,
144
- onChange: (t) => o("country", t.target.value),
145
- disabled: r,
3654
+ onChange: (l) => o("country", l.target.value),
3655
+ disabled: e,
146
3656
  children: [
147
- /* @__PURE__ */ e(v, { value: "", children: "Select Country" }),
148
- b.map((t) => /* @__PURE__ */ e(v, { value: t.alpha3, children: t.name }, t.alpha3))
3657
+ /* @__PURE__ */ s(ft, { value: "", children: "Select Country" }),
3658
+ Kd.map((l) => /* @__PURE__ */ s(ft, { value: l.alpha3, children: l.name }, l.alpha3))
149
3659
  ]
150
3660
  }
151
3661
  ) })
152
3662
  ] }) }),
153
- /* @__PURE__ */ e(n, { mt: 2, children: /* @__PURE__ */ e(
154
- l,
3663
+ /* @__PURE__ */ s(S, { mt: 2, children: /* @__PURE__ */ s(
3664
+ W0,
155
3665
  {
3666
+ sx: {
3667
+ "& .MuiOutlinedInput-root": {
3668
+ "& fieldset": {
3669
+ borderColor: "#A1A1A1"
3670
+ },
3671
+ "&:hover fieldset": {
3672
+ borderColor: "#A1A1A1"
3673
+ },
3674
+ "&.Mui-focused fieldset": {
3675
+ borderColor: "#A1A1A1"
3676
+ }
3677
+ }
3678
+ },
156
3679
  value: a.phone,
157
3680
  label: "Phone Number",
158
- onChange: (t) => o("phone", t.target.value),
159
- disabled: r,
160
- required: !0
3681
+ defaultCountry: "US",
3682
+ onChange: (l) => o("phone", l),
3683
+ disabled: e,
3684
+ required: !0,
3685
+ fullWidth: !0
161
3686
  }
162
3687
  ) }),
163
- /* @__PURE__ */ e(n, { mt: 2, children: /* @__PURE__ */ e(
164
- l,
3688
+ /* @__PURE__ */ s(S, { mt: 2, children: /* @__PURE__ */ s(
3689
+ j,
165
3690
  {
166
3691
  value: a.fax,
167
3692
  label: "Fax (Optional)",
168
- onChange: (t) => o("fax", t.target.value),
169
- disabled: r
3693
+ onChange: (l) => o("fax", l.target.value),
3694
+ disabled: e
170
3695
  }
171
3696
  ) }),
172
- /* @__PURE__ */ e(n, { mt: 2, children: /* @__PURE__ */ e(
173
- l,
3697
+ /* @__PURE__ */ s(S, { mt: 2, children: /* @__PURE__ */ s(
3698
+ j,
174
3699
  {
175
3700
  value: a.website,
176
3701
  label: "Webstite URL",
177
- onChange: (t) => o("website", t.target.value),
178
- disabled: r
3702
+ onChange: (l) => o("website", l.target.value),
3703
+ disabled: e,
3704
+ required: !0
179
3705
  }
180
3706
  ) })
181
3707
  ]
182
3708
  }
183
3709
  ),
184
- !r && /* @__PURE__ */ e(n, { mt: 3.5, children: /* @__PURE__ */ e(N, { fullWidth: !0, onClick: x, children: "Next" }) })
3710
+ !e && /* @__PURE__ */ s(S, { mt: 3.5, children: /* @__PURE__ */ s(Yd, { fullWidth: !0, onClick: u, children: "Next" }) })
185
3711
  ] });
186
3712
  };
187
3713
  export {
188
- ne as default
3714
+ In as default
189
3715
  };