@voxie/contacts.js 1.6.3 → 1.6.5
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.
- package/dist/contacts.js +14 -15
- package/dist/index.js +1283 -1339
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
const Qt = { 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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|(?: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-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|[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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|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-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "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|180020", 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|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{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", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|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,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|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}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["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|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{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-8]|5[0-5]|8[0-7]))\\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", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\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[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[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]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[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|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{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-68]))\\d{4}|(?:2742|305[3-9]|(?:472|983)[2-47-9]|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|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}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{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}"]]] } };
|
|
2
|
-
function
|
|
3
|
-
var
|
|
4
|
-
return
|
|
5
|
-
}
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
for (var
|
|
9
|
-
var a = Number(
|
|
1
|
+
const Zt = { 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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|(?: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-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|[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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|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-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "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|180020", 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|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{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", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|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,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["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|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{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-8]|5[0-5]|8[0-7]))\\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", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\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[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[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]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[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|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{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)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|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[013-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-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|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}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{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}"]]] } };
|
|
2
|
+
function Jt(r, t) {
|
|
3
|
+
var e = Array.prototype.slice.call(t);
|
|
4
|
+
return e.push(Zt), r.apply(this, e);
|
|
5
|
+
}
|
|
6
|
+
function bt(r, t) {
|
|
7
|
+
r = r.split("-"), t = t.split("-");
|
|
8
|
+
for (var e = r[0].split("."), n = t[0].split("."), i = 0; i < 3; i++) {
|
|
9
|
+
var a = Number(e[i]), d = Number(n[i]);
|
|
10
10
|
if (a > d) return 1;
|
|
11
11
|
if (d > a) return -1;
|
|
12
12
|
if (!isNaN(a) && isNaN(d)) return 1;
|
|
13
13
|
if (isNaN(a) && !isNaN(d)) return -1;
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return r[1] && t[1] ? r[1] > t[1] ? 1 : r[1] < t[1] ? -1 : 0 : !r[1] && t[1] ? 1 : r[1] && !t[1] ? -1 : 0;
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
return
|
|
17
|
+
var pe = {}.constructor;
|
|
18
|
+
function N(r) {
|
|
19
|
+
return r != null && r.constructor === pe;
|
|
20
20
|
}
|
|
21
|
-
function P(
|
|
21
|
+
function P(r) {
|
|
22
22
|
"@babel/helpers - typeof";
|
|
23
23
|
return P = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
24
24
|
return typeof t;
|
|
25
25
|
} : function(t) {
|
|
26
26
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
27
|
-
}, P(
|
|
27
|
+
}, P(r);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
if (!(
|
|
29
|
+
function X(r, t) {
|
|
30
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
for (var
|
|
34
|
-
var n = t[
|
|
35
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
32
|
+
function ge(r, t) {
|
|
33
|
+
for (var e = 0; e < t.length; e++) {
|
|
34
|
+
var n = t[e];
|
|
35
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, be(n.key), n);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
return t &&
|
|
38
|
+
function Y(r, t, e) {
|
|
39
|
+
return t && ge(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
var t =
|
|
41
|
+
function be(r) {
|
|
42
|
+
var t = ye(r, "string");
|
|
43
43
|
return P(t) == "symbol" ? t : t + "";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
if (P(
|
|
47
|
-
var
|
|
48
|
-
if (
|
|
49
|
-
var n =
|
|
45
|
+
function ye(r, t) {
|
|
46
|
+
if (P(r) != "object" || !r) return r;
|
|
47
|
+
var e = r[Symbol.toPrimitive];
|
|
48
|
+
if (e !== void 0) {
|
|
49
|
+
var n = e.call(r, t);
|
|
50
50
|
if (P(n) != "object") return n;
|
|
51
51
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
52
52
|
}
|
|
53
|
-
return String(
|
|
53
|
+
return String(r);
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
function
|
|
57
|
-
|
|
55
|
+
var xe = "1.2.0", we = "1.7.35", yt = " ext. ", Ne = /^\d+$/, f = /* @__PURE__ */ (function() {
|
|
56
|
+
function r(t) {
|
|
57
|
+
X(this, r), qt(t), this.metadata = t, Qt.call(this, t);
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return Y(r, [{
|
|
60
60
|
key: "getCountries",
|
|
61
61
|
value: function() {
|
|
62
|
-
return Object.keys(this.metadata.countries).filter(function(
|
|
63
|
-
return
|
|
62
|
+
return Object.keys(this.metadata.countries).filter(function(e) {
|
|
63
|
+
return e !== "001";
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
}, {
|
|
67
67
|
key: "getCountryMetadata",
|
|
68
|
-
value: function(
|
|
69
|
-
return this.metadata.countries[
|
|
68
|
+
value: function(e) {
|
|
69
|
+
return this.metadata.countries[e];
|
|
70
70
|
}
|
|
71
71
|
}, {
|
|
72
72
|
key: "nonGeographic",
|
|
@@ -76,41 +76,41 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
76
76
|
}
|
|
77
77
|
}, {
|
|
78
78
|
key: "hasCountry",
|
|
79
|
-
value: function(
|
|
80
|
-
return this.getCountryMetadata(
|
|
79
|
+
value: function(e) {
|
|
80
|
+
return this.getCountryMetadata(e) !== void 0;
|
|
81
81
|
}
|
|
82
82
|
}, {
|
|
83
83
|
key: "hasCallingCode",
|
|
84
|
-
value: function(
|
|
85
|
-
if (this.getCountryCodesForCallingCode(
|
|
84
|
+
value: function(e) {
|
|
85
|
+
if (this.getCountryCodesForCallingCode(e))
|
|
86
86
|
return !0;
|
|
87
87
|
if (this.nonGeographic()) {
|
|
88
|
-
if (this.nonGeographic()[
|
|
88
|
+
if (this.nonGeographic()[e])
|
|
89
89
|
return !0;
|
|
90
90
|
} else {
|
|
91
|
-
var n = this.countryCallingCodes()[
|
|
91
|
+
var n = this.countryCallingCodes()[e];
|
|
92
92
|
if (n && n.length === 1 && n[0] === "001")
|
|
93
93
|
return !0;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}, {
|
|
97
97
|
key: "isNonGeographicCallingCode",
|
|
98
|
-
value: function(
|
|
99
|
-
return this.nonGeographic() ? !!this.nonGeographic()[
|
|
98
|
+
value: function(e) {
|
|
99
|
+
return this.nonGeographic() ? !!this.nonGeographic()[e] : !this.getCountryCodesForCallingCode(e);
|
|
100
100
|
}
|
|
101
101
|
// Deprecated.
|
|
102
102
|
}, {
|
|
103
103
|
key: "country",
|
|
104
|
-
value: function(
|
|
105
|
-
return this.selectNumberingPlan(
|
|
104
|
+
value: function(e) {
|
|
105
|
+
return this.selectNumberingPlan(e);
|
|
106
106
|
}
|
|
107
107
|
}, {
|
|
108
108
|
key: "selectNumberingPlan",
|
|
109
|
-
value: function(
|
|
110
|
-
if (
|
|
111
|
-
if (!this.hasCountry(
|
|
112
|
-
throw new Error("Unknown country: ".concat(
|
|
113
|
-
this.numberingPlan = new xt(this.getCountryMetadata(
|
|
109
|
+
value: function(e, n) {
|
|
110
|
+
if (e && Ne.test(e) && (n = e, e = null), e && e !== "001") {
|
|
111
|
+
if (!this.hasCountry(e))
|
|
112
|
+
throw new Error("Unknown country: ".concat(e));
|
|
113
|
+
this.numberingPlan = new xt(this.getCountryMetadata(e), this);
|
|
114
114
|
} else if (n) {
|
|
115
115
|
if (!this.hasCallingCode(n))
|
|
116
116
|
throw new Error("Unknown calling code: ".concat(n));
|
|
@@ -121,30 +121,30 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
121
121
|
}
|
|
122
122
|
}, {
|
|
123
123
|
key: "getCountryCodesForCallingCode",
|
|
124
|
-
value: function(
|
|
125
|
-
var n = this.countryCallingCodes()[
|
|
124
|
+
value: function(e) {
|
|
125
|
+
var n = this.countryCallingCodes()[e];
|
|
126
126
|
if (n)
|
|
127
127
|
return n.length === 1 && n[0].length === 3 ? void 0 : n;
|
|
128
128
|
}
|
|
129
129
|
}, {
|
|
130
130
|
key: "getCountryCodeForCallingCode",
|
|
131
|
-
value: function(
|
|
132
|
-
var n = this.getCountryCodesForCallingCode(
|
|
131
|
+
value: function(e) {
|
|
132
|
+
var n = this.getCountryCodesForCallingCode(e);
|
|
133
133
|
if (n)
|
|
134
134
|
return n[0];
|
|
135
135
|
}
|
|
136
136
|
}, {
|
|
137
137
|
key: "getNumberingPlanMetadata",
|
|
138
|
-
value: function(
|
|
139
|
-
var n = this.getCountryCodeForCallingCode(
|
|
138
|
+
value: function(e) {
|
|
139
|
+
var n = this.getCountryCodeForCallingCode(e);
|
|
140
140
|
if (n)
|
|
141
141
|
return this.getCountryMetadata(n);
|
|
142
142
|
if (this.nonGeographic()) {
|
|
143
|
-
var i = this.nonGeographic()[
|
|
143
|
+
var i = this.nonGeographic()[e];
|
|
144
144
|
if (i)
|
|
145
145
|
return i;
|
|
146
146
|
} else {
|
|
147
|
-
var a = this.countryCallingCodes()[
|
|
147
|
+
var a = this.countryCallingCodes()[e];
|
|
148
148
|
if (a && a.length === 1 && a[0] === "001")
|
|
149
149
|
return this.metadata.countries["001"];
|
|
150
150
|
}
|
|
@@ -212,8 +212,8 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
212
212
|
// Deprecated.
|
|
213
213
|
}, {
|
|
214
214
|
key: "type",
|
|
215
|
-
value: function(
|
|
216
|
-
return this.numberingPlan.type(
|
|
215
|
+
value: function(e) {
|
|
216
|
+
return this.numberingPlan.type(e);
|
|
217
217
|
}
|
|
218
218
|
// Deprecated.
|
|
219
219
|
}, {
|
|
@@ -229,8 +229,8 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
229
229
|
// Deprecated.
|
|
230
230
|
}, {
|
|
231
231
|
key: "chooseCountryByCountryCallingCode",
|
|
232
|
-
value: function(
|
|
233
|
-
return this.selectNumberingPlan(
|
|
232
|
+
value: function(e) {
|
|
233
|
+
return this.selectNumberingPlan(e);
|
|
234
234
|
}
|
|
235
235
|
}, {
|
|
236
236
|
key: "hasSelectedNumberingPlan",
|
|
@@ -239,10 +239,10 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
239
239
|
}
|
|
240
240
|
}]);
|
|
241
241
|
})(), xt = /* @__PURE__ */ (function() {
|
|
242
|
-
function
|
|
243
|
-
|
|
242
|
+
function r(t, e) {
|
|
243
|
+
X(this, r), this.globalMetadataObject = e, this.metadata = t, Qt.call(this, e.metadata);
|
|
244
244
|
}
|
|
245
|
-
return
|
|
245
|
+
return Y(r, [{
|
|
246
246
|
key: "callingCode",
|
|
247
247
|
value: function() {
|
|
248
248
|
return this.metadata[0];
|
|
@@ -286,8 +286,8 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
286
286
|
}
|
|
287
287
|
}, {
|
|
288
288
|
key: "_getFormats",
|
|
289
|
-
value: function(
|
|
290
|
-
return
|
|
289
|
+
value: function(e) {
|
|
290
|
+
return e[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
291
291
|
}
|
|
292
292
|
// For countries of the same region (e.g. NANPA)
|
|
293
293
|
// formats are all stored in the "main" country for that region.
|
|
@@ -295,9 +295,9 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
295
295
|
}, {
|
|
296
296
|
key: "formats",
|
|
297
297
|
value: function() {
|
|
298
|
-
var
|
|
298
|
+
var e = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
299
299
|
return n.map(function(i) {
|
|
300
|
-
return new
|
|
300
|
+
return new Ce(i, e);
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
}, {
|
|
@@ -307,8 +307,8 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
307
307
|
}
|
|
308
308
|
}, {
|
|
309
309
|
key: "_getNationalPrefixFormattingRule",
|
|
310
|
-
value: function(
|
|
311
|
-
return
|
|
310
|
+
value: function(e) {
|
|
311
|
+
return e[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
312
312
|
}
|
|
313
313
|
// For countries of the same region (e.g. NANPA)
|
|
314
314
|
// national prefix formatting rule is stored in the "main" country for that region.
|
|
@@ -364,21 +364,21 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
364
364
|
}
|
|
365
365
|
}, {
|
|
366
366
|
key: "type",
|
|
367
|
-
value: function(
|
|
368
|
-
if (this.hasTypes() && wt(this.types(),
|
|
369
|
-
return new
|
|
367
|
+
value: function(e) {
|
|
368
|
+
if (this.hasTypes() && wt(this.types(), e))
|
|
369
|
+
return new Se(wt(this.types(), e), this);
|
|
370
370
|
}
|
|
371
371
|
}, {
|
|
372
372
|
key: "ext",
|
|
373
373
|
value: function() {
|
|
374
|
-
return this.v1 || this.v2 ?
|
|
374
|
+
return this.v1 || this.v2 ? yt : this.metadata[13] || yt;
|
|
375
375
|
}
|
|
376
376
|
}]);
|
|
377
|
-
})(),
|
|
378
|
-
function
|
|
379
|
-
|
|
377
|
+
})(), Ce = /* @__PURE__ */ (function() {
|
|
378
|
+
function r(t, e) {
|
|
379
|
+
X(this, r), this._format = t, this.metadata = e;
|
|
380
380
|
}
|
|
381
|
-
return
|
|
381
|
+
return Y(r, [{
|
|
382
382
|
key: "pattern",
|
|
383
383
|
value: function() {
|
|
384
384
|
return this._format[0];
|
|
@@ -413,7 +413,7 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
413
413
|
key: "usesNationalPrefix",
|
|
414
414
|
value: function() {
|
|
415
415
|
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
416
|
-
!
|
|
416
|
+
!Pe.test(this.nationalPrefixFormattingRule()));
|
|
417
417
|
}
|
|
418
418
|
}, {
|
|
419
419
|
key: "internationalFormat",
|
|
@@ -421,11 +421,11 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
421
421
|
return this._format[5] || this.format();
|
|
422
422
|
}
|
|
423
423
|
}]);
|
|
424
|
-
})(),
|
|
425
|
-
function
|
|
426
|
-
|
|
424
|
+
})(), Pe = /^\(?\$1\)?$/, Se = /* @__PURE__ */ (function() {
|
|
425
|
+
function r(t, e) {
|
|
426
|
+
X(this, r), this.type = t, this.metadata = e;
|
|
427
427
|
}
|
|
428
|
-
return
|
|
428
|
+
return Y(r, [{
|
|
429
429
|
key: "pattern",
|
|
430
430
|
value: function() {
|
|
431
431
|
return this.metadata.v1 ? this.type : this.type[0];
|
|
@@ -438,87 +438,88 @@ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ *
|
|
|
438
438
|
}
|
|
439
439
|
}]);
|
|
440
440
|
})();
|
|
441
|
-
function wt(
|
|
441
|
+
function wt(r, t) {
|
|
442
442
|
switch (t) {
|
|
443
443
|
case "FIXED_LINE":
|
|
444
|
-
return
|
|
444
|
+
return r[0];
|
|
445
445
|
case "MOBILE":
|
|
446
|
-
return
|
|
446
|
+
return r[1];
|
|
447
447
|
case "TOLL_FREE":
|
|
448
|
-
return
|
|
448
|
+
return r[2];
|
|
449
449
|
case "PREMIUM_RATE":
|
|
450
|
-
return
|
|
450
|
+
return r[3];
|
|
451
451
|
case "PERSONAL_NUMBER":
|
|
452
|
-
return
|
|
452
|
+
return r[4];
|
|
453
453
|
case "VOICEMAIL":
|
|
454
|
-
return
|
|
454
|
+
return r[5];
|
|
455
455
|
case "UAN":
|
|
456
|
-
return
|
|
456
|
+
return r[6];
|
|
457
457
|
case "PAGER":
|
|
458
|
-
return
|
|
458
|
+
return r[7];
|
|
459
459
|
case "VOIP":
|
|
460
|
-
return
|
|
460
|
+
return r[8];
|
|
461
461
|
case "SHARED_COST":
|
|
462
|
-
return
|
|
462
|
+
return r[9];
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
function
|
|
466
|
-
if (!
|
|
465
|
+
function qt(r) {
|
|
466
|
+
if (!r)
|
|
467
467
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
468
|
-
if (!
|
|
469
|
-
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(
|
|
468
|
+
if (!N(r) || !N(r.countries))
|
|
469
|
+
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(N(r) ? "an object of shape: { " + Object.keys(r).join(", ") + " }" : "a " + Ee(r) + ": " + r, "."));
|
|
470
470
|
}
|
|
471
|
-
var
|
|
471
|
+
var Ee = function(t) {
|
|
472
472
|
return P(t);
|
|
473
473
|
};
|
|
474
|
-
function
|
|
475
|
-
if (t = new f(t), t.hasCountry(
|
|
476
|
-
return t.
|
|
477
|
-
throw new Error("Unknown country: ".concat(
|
|
474
|
+
function $t(r, t) {
|
|
475
|
+
if (t = new f(t), t.hasCountry(r))
|
|
476
|
+
return t.selectNumberingPlan(r).countryCallingCode();
|
|
477
|
+
throw new Error("Unknown country: ".concat(r));
|
|
478
478
|
}
|
|
479
|
-
function
|
|
480
|
-
return t.countries.hasOwnProperty(
|
|
479
|
+
function Ie(r, t) {
|
|
480
|
+
return t.countries.hasOwnProperty(r);
|
|
481
481
|
}
|
|
482
|
-
function
|
|
483
|
-
var t =
|
|
484
|
-
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ?
|
|
482
|
+
function Qt(r) {
|
|
483
|
+
var t = r.version;
|
|
484
|
+
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? bt(t, xe) === -1 ? this.v2 = !0 : bt(t, we) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
487
|
-
return
|
|
486
|
+
function Z(r, t, e) {
|
|
487
|
+
return _e(r, t, void 0, e);
|
|
488
488
|
}
|
|
489
|
-
function
|
|
490
|
-
|
|
491
|
-
|
|
489
|
+
function _e(r, t, e, n) {
|
|
490
|
+
t && (n = new f(n.metadata), n.selectNumberingPlan(t));
|
|
491
|
+
var i = n.type(e), a = i && i.possibleLengths() || n.possibleLengths();
|
|
492
|
+
if (!a)
|
|
492
493
|
return "IS_POSSIBLE";
|
|
493
|
-
var
|
|
494
|
-
return
|
|
494
|
+
var d = r.length, o = a[0];
|
|
495
|
+
return o === d ? "IS_POSSIBLE" : o > d ? "TOO_SHORT" : a[a.length - 1] < d ? "TOO_LONG" : a.indexOf(d, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
495
496
|
}
|
|
496
|
-
function
|
|
497
|
-
if (t === void 0 && (t = {}),
|
|
498
|
-
if (!
|
|
497
|
+
function Te(r, t, e) {
|
|
498
|
+
if (t === void 0 && (t = {}), e = new f(e), t.v2) {
|
|
499
|
+
if (!r.countryCallingCode)
|
|
499
500
|
throw new Error("Invalid phone number object passed");
|
|
500
|
-
|
|
501
|
+
e.selectNumberingPlan(r.countryCallingCode);
|
|
501
502
|
} else {
|
|
502
|
-
if (!
|
|
503
|
+
if (!r.phone)
|
|
503
504
|
return !1;
|
|
504
|
-
if (
|
|
505
|
-
if (!
|
|
506
|
-
throw new Error("Unknown country: ".concat(
|
|
507
|
-
|
|
505
|
+
if (r.country) {
|
|
506
|
+
if (!e.hasCountry(r.country))
|
|
507
|
+
throw new Error("Unknown country: ".concat(r.country));
|
|
508
|
+
e.selectNumberingPlan(r.country);
|
|
508
509
|
} else {
|
|
509
|
-
if (!
|
|
510
|
+
if (!r.countryCallingCode)
|
|
510
511
|
throw new Error("Invalid phone number object passed");
|
|
511
|
-
|
|
512
|
+
e.selectNumberingPlan(r.countryCallingCode);
|
|
512
513
|
}
|
|
513
514
|
}
|
|
514
|
-
if (
|
|
515
|
-
return
|
|
516
|
-
if (
|
|
515
|
+
if (e.possibleLengths())
|
|
516
|
+
return te(r.phone || r.nationalNumber, r.country, e);
|
|
517
|
+
if (r.countryCallingCode && e.isNonGeographicCallingCode(r.countryCallingCode))
|
|
517
518
|
return !0;
|
|
518
519
|
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
519
520
|
}
|
|
520
|
-
function
|
|
521
|
-
switch (
|
|
521
|
+
function te(r, t, e) {
|
|
522
|
+
switch (Z(r, t, e)) {
|
|
522
523
|
case "IS_POSSIBLE":
|
|
523
524
|
return !0;
|
|
524
525
|
// This library ignores "local-only" phone numbers (for simplicity).
|
|
@@ -529,98 +530,98 @@ function ne(e, t) {
|
|
|
529
530
|
return !1;
|
|
530
531
|
}
|
|
531
532
|
}
|
|
532
|
-
function w(
|
|
533
|
-
return
|
|
533
|
+
function w(r, t) {
|
|
534
|
+
return r = r || "", new RegExp("^(?:" + t + ")$").test(r);
|
|
534
535
|
}
|
|
535
|
-
function
|
|
536
|
-
var
|
|
537
|
-
if (
|
|
538
|
-
if (Array.isArray(
|
|
539
|
-
|
|
536
|
+
function Fe(r, t) {
|
|
537
|
+
var e = typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
538
|
+
if (e) return (e = e.call(r)).next.bind(e);
|
|
539
|
+
if (Array.isArray(r) || (e = Ae(r)) || t) {
|
|
540
|
+
e && (r = e);
|
|
540
541
|
var n = 0;
|
|
541
542
|
return function() {
|
|
542
|
-
return n >=
|
|
543
|
+
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
543
544
|
};
|
|
544
545
|
}
|
|
545
546
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
546
547
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
547
548
|
}
|
|
548
|
-
function
|
|
549
|
-
if (
|
|
550
|
-
if (typeof
|
|
551
|
-
var
|
|
552
|
-
return
|
|
549
|
+
function Ae(r, t) {
|
|
550
|
+
if (r) {
|
|
551
|
+
if (typeof r == "string") return Nt(r, t);
|
|
552
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
553
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Nt(r, t) : void 0;
|
|
553
554
|
}
|
|
554
555
|
}
|
|
555
|
-
function
|
|
556
|
-
(t == null || t >
|
|
557
|
-
for (var
|
|
556
|
+
function Nt(r, t) {
|
|
557
|
+
(t == null || t > r.length) && (t = r.length);
|
|
558
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
558
559
|
return n;
|
|
559
560
|
}
|
|
560
|
-
var
|
|
561
|
-
function
|
|
562
|
-
if (t = t || {}, !(!
|
|
563
|
-
|
|
564
|
-
var n = t.v2 ?
|
|
565
|
-
if (w(n,
|
|
566
|
-
if (
|
|
567
|
-
return
|
|
568
|
-
for (var i =
|
|
561
|
+
var ke = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
562
|
+
function ct(r, t, e) {
|
|
563
|
+
if (t = t || {}, !(!r.country && !r.countryCallingCode)) {
|
|
564
|
+
e = new f(e), e.selectNumberingPlan(r.country, r.countryCallingCode);
|
|
565
|
+
var n = t.v2 ? r.nationalNumber : r.phone;
|
|
566
|
+
if (w(n, e.nationalNumberPattern())) {
|
|
567
|
+
if (Q(n, "FIXED_LINE", e))
|
|
568
|
+
return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || Q(n, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
569
|
+
for (var i = Fe(ke), a; !(a = i()).done; ) {
|
|
569
570
|
var d = a.value;
|
|
570
|
-
if (
|
|
571
|
+
if (Q(n, d, e))
|
|
571
572
|
return d;
|
|
572
573
|
}
|
|
573
574
|
}
|
|
574
575
|
}
|
|
575
576
|
}
|
|
576
|
-
function
|
|
577
|
-
return t =
|
|
577
|
+
function Q(r, t, e) {
|
|
578
|
+
return t = e.type(t), !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(r.length) < 0 ? !1 : w(r, t.pattern());
|
|
578
579
|
}
|
|
579
|
-
function
|
|
580
|
-
if (t = t || {},
|
|
581
|
-
return
|
|
582
|
-
var n = t.v2 ?
|
|
583
|
-
return w(n,
|
|
580
|
+
function Oe(r, t, e) {
|
|
581
|
+
if (t = t || {}, e = new f(e), e.selectNumberingPlan(r.country, r.countryCallingCode), e.hasTypes())
|
|
582
|
+
return ct(r, t, e.metadata) !== void 0;
|
|
583
|
+
var n = t.v2 ? r.nationalNumber : r.phone;
|
|
584
|
+
return w(n, e.nationalNumberPattern());
|
|
584
585
|
}
|
|
585
|
-
function
|
|
586
|
-
var n = new f(
|
|
586
|
+
function Re(r, t, e) {
|
|
587
|
+
var n = new f(e), i = n.getCountryCodesForCallingCode(r);
|
|
587
588
|
return i ? i.filter(function(a) {
|
|
588
|
-
return
|
|
589
|
+
return Le(t, a, e);
|
|
589
590
|
}) : [];
|
|
590
591
|
}
|
|
591
|
-
function
|
|
592
|
-
var n = new f(
|
|
593
|
-
return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(
|
|
592
|
+
function Le(r, t, e) {
|
|
593
|
+
var n = new f(e);
|
|
594
|
+
return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(r.length) >= 0;
|
|
594
595
|
}
|
|
595
|
-
var
|
|
596
|
-
function
|
|
596
|
+
var ft = 2, Me = 17, De = 3, h = "0-90-9٠-٩۰-۹", je = "-‐-―−ー-", Be = "//", Ge = "..", Ue = " ", He = "()()[]\\[\\]", We = "~⁓∼~", b = "".concat(je).concat(Be).concat(Ge).concat(Ue).concat(He).concat(We), J = "++", Ve = new RegExp("([" + h + "])");
|
|
597
|
+
function ee(r, t, e, n) {
|
|
597
598
|
if (t) {
|
|
598
599
|
var i = new f(n);
|
|
599
|
-
i.selectNumberingPlan(t,
|
|
600
|
+
i.selectNumberingPlan(t, e);
|
|
600
601
|
var a = new RegExp(i.IDDPrefix());
|
|
601
|
-
if (
|
|
602
|
-
|
|
603
|
-
var d =
|
|
602
|
+
if (r.search(a) === 0) {
|
|
603
|
+
r = r.slice(r.match(a)[0].length);
|
|
604
|
+
var d = r.match(Ve);
|
|
604
605
|
if (!(d && d[1] != null && d[1].length > 0 && d[1] === "0"))
|
|
605
|
-
return
|
|
606
|
+
return r;
|
|
606
607
|
}
|
|
607
608
|
}
|
|
608
609
|
}
|
|
609
|
-
function
|
|
610
|
-
if (
|
|
611
|
-
var
|
|
610
|
+
function nt(r, t) {
|
|
611
|
+
if (r && t.numberingPlan.nationalPrefixForParsing()) {
|
|
612
|
+
var e = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), n = e.exec(r);
|
|
612
613
|
if (n) {
|
|
613
614
|
var i, a, d = n.length - 1, o = d > 0 && n[d];
|
|
614
615
|
if (t.nationalPrefixTransformRule() && o)
|
|
615
|
-
i =
|
|
616
|
+
i = r.replace(e, t.nationalPrefixTransformRule()), d > 1 && (a = n[1]);
|
|
616
617
|
else {
|
|
617
618
|
var l = n[0];
|
|
618
|
-
i =
|
|
619
|
+
i = r.slice(l.length), o && (a = n[1]);
|
|
619
620
|
}
|
|
620
621
|
var s;
|
|
621
622
|
if (o) {
|
|
622
|
-
var u =
|
|
623
|
-
|
|
623
|
+
var u = r.indexOf(n[1]), $ = r.slice(0, u);
|
|
624
|
+
$ === t.numberingPlan.nationalPrefix() && (s = t.numberingPlan.nationalPrefix());
|
|
624
625
|
} else
|
|
625
626
|
s = n[0];
|
|
626
627
|
return {
|
|
@@ -631,31 +632,82 @@ function it(e, t) {
|
|
|
631
632
|
}
|
|
632
633
|
}
|
|
633
634
|
return {
|
|
634
|
-
nationalNumber:
|
|
635
|
+
nationalNumber: r
|
|
635
636
|
};
|
|
636
637
|
}
|
|
637
|
-
function
|
|
638
|
-
var
|
|
639
|
-
if (
|
|
640
|
-
|
|
638
|
+
function Ke(r, t) {
|
|
639
|
+
var e = typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
640
|
+
if (e) return (e = e.call(r)).next.bind(e);
|
|
641
|
+
if (Array.isArray(r) || (e = ze(r)) || t) {
|
|
642
|
+
e && (r = e);
|
|
643
|
+
var n = 0;
|
|
644
|
+
return function() {
|
|
645
|
+
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
649
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
650
|
+
}
|
|
651
|
+
function ze(r, t) {
|
|
652
|
+
if (r) {
|
|
653
|
+
if (typeof r == "string") return Ct(r, t);
|
|
654
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
655
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Ct(r, t) : void 0;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
function Ct(r, t) {
|
|
659
|
+
(t == null || t > r.length) && (t = r.length);
|
|
660
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
661
|
+
return n;
|
|
662
|
+
}
|
|
663
|
+
function re(r, t) {
|
|
664
|
+
var e = t.countries, n = t.metadata;
|
|
665
|
+
n = new f(n);
|
|
666
|
+
for (var i = Ke(e), a; !(a = i()).done; ) {
|
|
667
|
+
var d = a.value;
|
|
668
|
+
if (n.selectNumberingPlan(d), n.leadingDigits()) {
|
|
669
|
+
if (r && r.search(n.leadingDigits()) === 0)
|
|
670
|
+
return d;
|
|
671
|
+
} else if (ct({
|
|
672
|
+
phone: r,
|
|
673
|
+
country: d
|
|
674
|
+
}, void 0, n.metadata))
|
|
675
|
+
return d;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
function vt(r, t) {
|
|
679
|
+
var e = t.nationalNumber, n = t.metadata, i = n.getCountryCodesForCallingCode(r);
|
|
680
|
+
if (i)
|
|
681
|
+
return i.length === 1 ? i[0] : re(e, {
|
|
682
|
+
countries: i,
|
|
683
|
+
metadata: n.metadata
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
function it(r, t, e) {
|
|
687
|
+
var n = nt(r, e), i = n.carrierCode, a = n.nationalNumber;
|
|
688
|
+
if (a !== r) {
|
|
689
|
+
if (!Xe(r, a, e))
|
|
641
690
|
return {
|
|
642
|
-
nationalNumber:
|
|
691
|
+
nationalNumber: r
|
|
643
692
|
};
|
|
644
|
-
if (
|
|
693
|
+
if (e.numberingPlan.possibleLengths() && (t || (t = vt(e.numberingPlan.callingCode(), {
|
|
694
|
+
nationalNumber: a,
|
|
695
|
+
metadata: e
|
|
696
|
+
})), !Ye(a, t, e)))
|
|
645
697
|
return {
|
|
646
|
-
nationalNumber:
|
|
698
|
+
nationalNumber: r
|
|
647
699
|
};
|
|
648
700
|
}
|
|
649
701
|
return {
|
|
650
|
-
nationalNumber:
|
|
651
|
-
carrierCode:
|
|
702
|
+
nationalNumber: a,
|
|
703
|
+
carrierCode: i
|
|
652
704
|
};
|
|
653
705
|
}
|
|
654
|
-
function
|
|
655
|
-
return !(w(
|
|
706
|
+
function Xe(r, t, e) {
|
|
707
|
+
return !(w(r, e.nationalNumberPattern()) && !w(t, e.nationalNumberPattern()));
|
|
656
708
|
}
|
|
657
|
-
function
|
|
658
|
-
switch (
|
|
709
|
+
function Ye(r, t, e) {
|
|
710
|
+
switch (Z(r, t, e)) {
|
|
659
711
|
case "TOO_SHORT":
|
|
660
712
|
case "INVALID_LENGTH":
|
|
661
713
|
return !1;
|
|
@@ -663,69 +715,69 @@ function Je(e, t) {
|
|
|
663
715
|
return !0;
|
|
664
716
|
}
|
|
665
717
|
}
|
|
666
|
-
function
|
|
667
|
-
var
|
|
668
|
-
if (
|
|
669
|
-
|
|
670
|
-
var
|
|
671
|
-
if (!w(
|
|
718
|
+
function ne(r, t, e, n, i) {
|
|
719
|
+
var a = t || e ? $t(t || e, i) : n;
|
|
720
|
+
if (r.indexOf(a) === 0) {
|
|
721
|
+
i = new f(i), i.selectNumberingPlan(t || e, a);
|
|
722
|
+
var d = r.slice(a.length), o = it(d, t, i), l = o.nationalNumber, s = it(r, t, i), u = s.nationalNumber;
|
|
723
|
+
if (!w(u, i.nationalNumberPattern()) && w(l, i.nationalNumberPattern()) || Z(u, t, i) === "TOO_LONG")
|
|
672
724
|
return {
|
|
673
|
-
countryCallingCode:
|
|
674
|
-
number:
|
|
725
|
+
countryCallingCode: a,
|
|
726
|
+
number: d
|
|
675
727
|
};
|
|
676
728
|
}
|
|
677
729
|
return {
|
|
678
|
-
number:
|
|
730
|
+
number: r
|
|
679
731
|
};
|
|
680
732
|
}
|
|
681
|
-
function
|
|
682
|
-
if (!
|
|
733
|
+
function ht(r, t, e, n, i) {
|
|
734
|
+
if (!r)
|
|
683
735
|
return {};
|
|
684
|
-
var
|
|
685
|
-
if (
|
|
686
|
-
var
|
|
687
|
-
if (
|
|
688
|
-
|
|
736
|
+
var a;
|
|
737
|
+
if (r[0] !== "+") {
|
|
738
|
+
var d = ee(r, t || e, n, i);
|
|
739
|
+
if (d && d !== r)
|
|
740
|
+
a = !0, r = "+" + d;
|
|
689
741
|
else {
|
|
690
|
-
if (t ||
|
|
691
|
-
var
|
|
692
|
-
if (
|
|
742
|
+
if (t || e || n) {
|
|
743
|
+
var o = ne(r, t, e, n, i), l = o.countryCallingCode, s = o.number;
|
|
744
|
+
if (l)
|
|
693
745
|
return {
|
|
694
746
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
695
|
-
countryCallingCode:
|
|
696
|
-
number:
|
|
747
|
+
countryCallingCode: l,
|
|
748
|
+
number: s
|
|
697
749
|
};
|
|
698
750
|
}
|
|
699
751
|
return {
|
|
700
752
|
// No need to set it to `UNSPECIFIED`. It can be just `undefined`.
|
|
701
753
|
// countryCallingCodeSource: 'UNSPECIFIED',
|
|
702
|
-
number:
|
|
754
|
+
number: r
|
|
703
755
|
};
|
|
704
756
|
}
|
|
705
757
|
}
|
|
706
|
-
if (
|
|
758
|
+
if (r[1] === "0")
|
|
707
759
|
return {};
|
|
708
|
-
|
|
709
|
-
for (var
|
|
710
|
-
var
|
|
711
|
-
if (
|
|
712
|
-
return
|
|
713
|
-
countryCallingCodeSource:
|
|
714
|
-
countryCallingCode:
|
|
715
|
-
number:
|
|
760
|
+
i = new f(i);
|
|
761
|
+
for (var u = 2; u - 1 <= De && u <= r.length; ) {
|
|
762
|
+
var $ = r.slice(1, u);
|
|
763
|
+
if (i.hasCallingCode($))
|
|
764
|
+
return i.selectNumberingPlan($), {
|
|
765
|
+
countryCallingCodeSource: a ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
|
766
|
+
countryCallingCode: $,
|
|
767
|
+
number: r.slice(u)
|
|
716
768
|
};
|
|
717
|
-
|
|
769
|
+
u++;
|
|
718
770
|
}
|
|
719
771
|
return {};
|
|
720
772
|
}
|
|
721
|
-
function
|
|
722
|
-
return
|
|
773
|
+
function ie(r) {
|
|
774
|
+
return r.replace(new RegExp("[".concat(b, "]+"), "g"), " ").trim();
|
|
723
775
|
}
|
|
724
|
-
var
|
|
725
|
-
function
|
|
726
|
-
var n =
|
|
727
|
-
|
|
728
|
-
var a =
|
|
776
|
+
var ae = /(\$\d)/;
|
|
777
|
+
function de(r, t, e) {
|
|
778
|
+
var n = e.useInternationalFormat, i = e.withNationalPrefix;
|
|
779
|
+
e.carrierCode, e.metadata;
|
|
780
|
+
var a = r.replace(new RegExp(t.pattern()), n ? t.internationalFormat() : (
|
|
729
781
|
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
730
782
|
// because that one is only used when formatting phone numbers
|
|
731
783
|
// for dialing from a mobile phone, and this is not a dialing library.
|
|
@@ -739,308 +791,253 @@ function le(e, t, r) {
|
|
|
739
791
|
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
|
740
792
|
// : format.format()
|
|
741
793
|
// )
|
|
742
|
-
i && t.nationalPrefixFormattingRule() ? t.format().replace(
|
|
794
|
+
i && t.nationalPrefixFormattingRule() ? t.format().replace(ae, t.nationalPrefixFormattingRule()) : t.format()
|
|
743
795
|
));
|
|
744
|
-
return n ?
|
|
796
|
+
return n ? ie(a) : a;
|
|
745
797
|
}
|
|
746
|
-
var
|
|
747
|
-
function
|
|
748
|
-
var n = new f(
|
|
749
|
-
if (n.selectNumberingPlan(
|
|
798
|
+
var Ze = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
799
|
+
function Je(r, t, e) {
|
|
800
|
+
var n = new f(e);
|
|
801
|
+
if (n.selectNumberingPlan(r, t), n.defaultIDDPrefix())
|
|
750
802
|
return n.defaultIDDPrefix();
|
|
751
|
-
if (
|
|
803
|
+
if (Ze.test(n.IDDPrefix()))
|
|
752
804
|
return n.IDDPrefix();
|
|
753
805
|
}
|
|
754
|
-
var
|
|
755
|
-
return "([".concat(
|
|
806
|
+
var qe = ";ext=", C = function(t) {
|
|
807
|
+
return "([".concat(h, "]{1,").concat(t, "})");
|
|
756
808
|
};
|
|
757
|
-
function
|
|
758
|
-
var t = "20",
|
|
759
|
-
return v + "|" +
|
|
809
|
+
function oe(r) {
|
|
810
|
+
var t = "20", e = "15", n = "9", i = "6", a = "[ \\t,]*", d = "[:\\..]?[ \\t,-]*", o = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", s = "(?:[xx##~~]|int|int)", u = "[- ]+", $ = "[ \\t]*", c = "(?:,{2}|;)", v = qe + C(t), m = a + l + d + C(t) + o, y = a + s + d + C(n) + o, p = u + C(i) + "#", H = $ + c + d + C(e) + o, W = $ + "(?:,)+" + d + C(n) + o;
|
|
811
|
+
return v + "|" + m + "|" + y + "|" + p + "|" + H + "|" + W;
|
|
760
812
|
}
|
|
761
|
-
var
|
|
762
|
-
"(?:" +
|
|
813
|
+
var Qe = "[" + h + "]{" + ft + "}", tr = "[" + J + "]{0,1}(?:[" + b + "]*[" + h + "]){3,}[" + b + h + "]*", er = new RegExp("^[" + J + "]{0,1}(?:[" + b + "]*[" + h + "]){1,2}$", "i"), rr = tr + // Phone number extensions
|
|
814
|
+
"(?:" + oe() + ")?", nr = new RegExp(
|
|
763
815
|
// Either a short two-digit-only phone number
|
|
764
|
-
"^" +
|
|
816
|
+
"^" + Qe + "$|^" + rr + "$",
|
|
765
817
|
"i"
|
|
766
818
|
);
|
|
767
|
-
function
|
|
768
|
-
return
|
|
819
|
+
function ir(r) {
|
|
820
|
+
return r.length >= ft && nr.test(r);
|
|
769
821
|
}
|
|
770
|
-
function
|
|
771
|
-
return
|
|
822
|
+
function ar(r) {
|
|
823
|
+
return er.test(r);
|
|
772
824
|
}
|
|
773
|
-
function
|
|
774
|
-
var t =
|
|
825
|
+
function dr(r) {
|
|
826
|
+
var t = r.number, e = r.ext;
|
|
775
827
|
if (!t)
|
|
776
828
|
return "";
|
|
777
829
|
if (t[0] !== "+")
|
|
778
830
|
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
779
|
-
return "tel:".concat(t).concat(
|
|
831
|
+
return "tel:".concat(t).concat(e ? ";ext=" + e : "");
|
|
780
832
|
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
return typeof t;
|
|
785
|
-
} : function(t) {
|
|
786
|
-
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
787
|
-
}, T(e);
|
|
788
|
-
}
|
|
789
|
-
function sr(e, t) {
|
|
790
|
-
var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
|
|
791
|
-
if (r) return (r = r.call(e)).next.bind(r);
|
|
792
|
-
if (Array.isArray(e) || (r = ur(e)) || t) {
|
|
793
|
-
r && (e = r);
|
|
794
|
-
var n = 0;
|
|
795
|
-
return function() {
|
|
796
|
-
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
800
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
801
|
-
}
|
|
802
|
-
function ur(e, t) {
|
|
803
|
-
if (e) {
|
|
804
|
-
if (typeof e == "string") return Nt(e, t);
|
|
805
|
-
var r = {}.toString.call(e).slice(8, -1);
|
|
806
|
-
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Nt(e, t) : void 0;
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
function Nt(e, t) {
|
|
810
|
-
(t == null || t > e.length) && (t = e.length);
|
|
811
|
-
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
812
|
-
return n;
|
|
813
|
-
}
|
|
814
|
-
function Pt(e, t) {
|
|
815
|
-
var r = Object.keys(e);
|
|
816
|
-
if (Object.getOwnPropertySymbols) {
|
|
817
|
-
var n = Object.getOwnPropertySymbols(e);
|
|
818
|
-
t && (n = n.filter(function(i) {
|
|
819
|
-
return Object.getOwnPropertyDescriptor(e, i).enumerable;
|
|
820
|
-
})), r.push.apply(r, n);
|
|
821
|
-
}
|
|
822
|
-
return r;
|
|
823
|
-
}
|
|
824
|
-
function St(e) {
|
|
825
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
826
|
-
var r = arguments[t] != null ? arguments[t] : {};
|
|
827
|
-
t % 2 ? Pt(Object(r), !0).forEach(function(n) {
|
|
828
|
-
$r(e, n, r[n]);
|
|
829
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Pt(Object(r)).forEach(function(n) {
|
|
830
|
-
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
831
|
-
});
|
|
832
|
-
}
|
|
833
|
-
return e;
|
|
834
|
-
}
|
|
835
|
-
function $r(e, t, r) {
|
|
836
|
-
return (t = cr(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
837
|
-
}
|
|
838
|
-
function cr(e) {
|
|
839
|
-
var t = fr(e, "string");
|
|
840
|
-
return T(t) == "symbol" ? t : t + "";
|
|
841
|
-
}
|
|
842
|
-
function fr(e, t) {
|
|
843
|
-
if (T(e) != "object" || !e) return e;
|
|
844
|
-
var r = e[Symbol.toPrimitive];
|
|
845
|
-
if (r !== void 0) {
|
|
846
|
-
var n = r.call(e, t);
|
|
847
|
-
if (T(n) != "object") return n;
|
|
848
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
849
|
-
}
|
|
850
|
-
return (t === "string" ? String : Number)(e);
|
|
851
|
-
}
|
|
852
|
-
var Et = {
|
|
853
|
-
formatExtension: function(t, r, n) {
|
|
854
|
-
return "".concat(t).concat(n.ext()).concat(r);
|
|
833
|
+
var Pt = {
|
|
834
|
+
formatExtension: function(t, e, n) {
|
|
835
|
+
return "".concat(t).concat(n.ext()).concat(e);
|
|
855
836
|
}
|
|
856
837
|
};
|
|
857
|
-
function
|
|
858
|
-
if (
|
|
859
|
-
if (!n.hasCountry(
|
|
860
|
-
throw new Error("Unknown country: ".concat(
|
|
861
|
-
n.
|
|
862
|
-
} else if (
|
|
863
|
-
n.selectNumberingPlan(
|
|
864
|
-
else return
|
|
865
|
-
var i = n.countryCallingCode(), a =
|
|
838
|
+
function or(r, t, e, n) {
|
|
839
|
+
if (e ? e = ur({}, Pt, e) : e = Pt, n = new f(n), r.country && r.country !== "001") {
|
|
840
|
+
if (!n.hasCountry(r.country))
|
|
841
|
+
throw new Error("Unknown country: ".concat(r.country));
|
|
842
|
+
n.selectNumberingPlan(r.country);
|
|
843
|
+
} else if (r.countryCallingCode)
|
|
844
|
+
n.selectNumberingPlan(r.countryCallingCode);
|
|
845
|
+
else return r.phone || "";
|
|
846
|
+
var i = n.countryCallingCode(), a = e.v2 ? r.nationalNumber : r.phone, d;
|
|
866
847
|
switch (t) {
|
|
867
848
|
case "NATIONAL":
|
|
868
|
-
return a ? (d =
|
|
849
|
+
return a ? (d = K(a, r.carrierCode, "NATIONAL", n, e), tt(d, r.ext, n, e.formatExtension)) : "";
|
|
869
850
|
case "INTERNATIONAL":
|
|
870
|
-
return a ? (d =
|
|
851
|
+
return a ? (d = K(a, null, "INTERNATIONAL", n, e), d = "+".concat(i, " ").concat(d), tt(d, r.ext, n, e.formatExtension)) : "+".concat(i);
|
|
871
852
|
case "E.164":
|
|
872
853
|
return "+".concat(i).concat(a);
|
|
873
854
|
case "RFC3966":
|
|
874
|
-
return
|
|
855
|
+
return dr({
|
|
875
856
|
number: "+".concat(i).concat(a),
|
|
876
|
-
ext:
|
|
857
|
+
ext: r.ext
|
|
877
858
|
});
|
|
878
859
|
// For reference, here's Google's IDD formatter:
|
|
879
860
|
// https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
|
|
880
861
|
// Not saying that this IDD formatter replicates it 1:1, but it seems to work.
|
|
881
862
|
// Who would even need to format phone numbers in IDD format anyway?
|
|
882
863
|
case "IDD":
|
|
883
|
-
if (!
|
|
864
|
+
if (!e.fromCountry)
|
|
884
865
|
return;
|
|
885
|
-
var o =
|
|
886
|
-
return
|
|
866
|
+
var o = sr(a, r.carrierCode, i, e.fromCountry, n);
|
|
867
|
+
return tt(o, r.ext, n, e.formatExtension);
|
|
887
868
|
default:
|
|
888
869
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
|
|
889
870
|
}
|
|
890
871
|
}
|
|
891
|
-
function
|
|
892
|
-
var a =
|
|
893
|
-
return a ?
|
|
894
|
-
useInternationalFormat:
|
|
872
|
+
function K(r, t, e, n, i) {
|
|
873
|
+
var a = lr(n.formats(), r);
|
|
874
|
+
return a ? de(r, a, {
|
|
875
|
+
useInternationalFormat: e === "INTERNATIONAL",
|
|
895
876
|
withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
|
|
896
877
|
carrierCode: t,
|
|
897
878
|
metadata: n
|
|
898
|
-
}) :
|
|
879
|
+
}) : r;
|
|
899
880
|
}
|
|
900
|
-
function
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
continue;
|
|
881
|
+
function lr(r, t) {
|
|
882
|
+
return $r(r, function(e) {
|
|
883
|
+
if (e.leadingDigitsPatterns().length > 0) {
|
|
884
|
+
var n = e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length - 1];
|
|
885
|
+
if (t.search(n) !== 0)
|
|
886
|
+
return !1;
|
|
907
887
|
}
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
}
|
|
888
|
+
return w(t, e.pattern());
|
|
889
|
+
});
|
|
911
890
|
}
|
|
912
|
-
function
|
|
913
|
-
return t ? n(
|
|
891
|
+
function tt(r, t, e, n) {
|
|
892
|
+
return t ? n(r, t, e) : r;
|
|
914
893
|
}
|
|
915
|
-
function
|
|
916
|
-
var a =
|
|
917
|
-
if (a ===
|
|
918
|
-
var d =
|
|
919
|
-
return
|
|
894
|
+
function sr(r, t, e, n, i) {
|
|
895
|
+
var a = $t(n, i.metadata);
|
|
896
|
+
if (a === e) {
|
|
897
|
+
var d = K(r, t, "NATIONAL", i);
|
|
898
|
+
return e === "1" ? e + " " + d : d;
|
|
920
899
|
}
|
|
921
|
-
var o =
|
|
900
|
+
var o = Je(n, void 0, i.metadata);
|
|
922
901
|
if (o)
|
|
923
|
-
return "".concat(o, " ").concat(
|
|
902
|
+
return "".concat(o, " ").concat(e, " ").concat(K(r, null, "INTERNATIONAL", i));
|
|
903
|
+
}
|
|
904
|
+
function ur() {
|
|
905
|
+
for (var r = 1, t = arguments.length, e = new Array(t), n = 0; n < t; n++)
|
|
906
|
+
e[n] = arguments[n];
|
|
907
|
+
for (; r < e.length; ) {
|
|
908
|
+
if (e[r])
|
|
909
|
+
for (var i in e[r])
|
|
910
|
+
e[0][i] = e[r][i];
|
|
911
|
+
r++;
|
|
912
|
+
}
|
|
913
|
+
return e[0];
|
|
914
|
+
}
|
|
915
|
+
function $r(r, t) {
|
|
916
|
+
for (var e = 0; e < r.length; ) {
|
|
917
|
+
if (t(r[e]))
|
|
918
|
+
return r[e];
|
|
919
|
+
e++;
|
|
920
|
+
}
|
|
924
921
|
}
|
|
925
|
-
function
|
|
922
|
+
function T(r) {
|
|
926
923
|
"@babel/helpers - typeof";
|
|
927
|
-
return
|
|
924
|
+
return T = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
928
925
|
return typeof t;
|
|
929
926
|
} : function(t) {
|
|
930
927
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
931
|
-
},
|
|
928
|
+
}, T(r);
|
|
932
929
|
}
|
|
933
|
-
function
|
|
934
|
-
var
|
|
930
|
+
function St(r, t) {
|
|
931
|
+
var e = Object.keys(r);
|
|
935
932
|
if (Object.getOwnPropertySymbols) {
|
|
936
|
-
var n = Object.getOwnPropertySymbols(
|
|
933
|
+
var n = Object.getOwnPropertySymbols(r);
|
|
937
934
|
t && (n = n.filter(function(i) {
|
|
938
|
-
return Object.getOwnPropertyDescriptor(
|
|
939
|
-
})),
|
|
935
|
+
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
936
|
+
})), e.push.apply(e, n);
|
|
940
937
|
}
|
|
941
|
-
return
|
|
938
|
+
return e;
|
|
942
939
|
}
|
|
943
|
-
function
|
|
940
|
+
function Et(r) {
|
|
944
941
|
for (var t = 1; t < arguments.length; t++) {
|
|
945
|
-
var
|
|
946
|
-
t % 2 ?
|
|
947
|
-
|
|
948
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
949
|
-
Object.defineProperty(
|
|
942
|
+
var e = arguments[t] != null ? arguments[t] : {};
|
|
943
|
+
t % 2 ? St(Object(e), !0).forEach(function(n) {
|
|
944
|
+
cr(r, n, e[n]);
|
|
945
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : St(Object(e)).forEach(function(n) {
|
|
946
|
+
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(e, n));
|
|
950
947
|
});
|
|
951
948
|
}
|
|
952
|
-
return
|
|
949
|
+
return r;
|
|
953
950
|
}
|
|
954
|
-
function
|
|
955
|
-
return (t =
|
|
951
|
+
function cr(r, t, e) {
|
|
952
|
+
return (t = le(t)) in r ? Object.defineProperty(r, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = e, r;
|
|
956
953
|
}
|
|
957
|
-
function
|
|
958
|
-
if (!(
|
|
954
|
+
function fr(r, t) {
|
|
955
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
959
956
|
}
|
|
960
|
-
function
|
|
961
|
-
for (var
|
|
962
|
-
var n = t[
|
|
963
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
957
|
+
function vr(r, t) {
|
|
958
|
+
for (var e = 0; e < t.length; e++) {
|
|
959
|
+
var n = t[e];
|
|
960
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, le(n.key), n);
|
|
964
961
|
}
|
|
965
962
|
}
|
|
966
|
-
function
|
|
967
|
-
return t &&
|
|
963
|
+
function hr(r, t, e) {
|
|
964
|
+
return t && vr(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
968
965
|
}
|
|
969
|
-
function
|
|
970
|
-
var t =
|
|
971
|
-
return
|
|
966
|
+
function le(r) {
|
|
967
|
+
var t = mr(r, "string");
|
|
968
|
+
return T(t) == "symbol" ? t : t + "";
|
|
972
969
|
}
|
|
973
|
-
function
|
|
974
|
-
if (
|
|
975
|
-
var
|
|
976
|
-
if (
|
|
977
|
-
var n =
|
|
978
|
-
if (
|
|
970
|
+
function mr(r, t) {
|
|
971
|
+
if (T(r) != "object" || !r) return r;
|
|
972
|
+
var e = r[Symbol.toPrimitive];
|
|
973
|
+
if (e !== void 0) {
|
|
974
|
+
var n = e.call(r, t);
|
|
975
|
+
if (T(n) != "object") return n;
|
|
979
976
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
980
977
|
}
|
|
981
|
-
return String(
|
|
978
|
+
return String(r);
|
|
982
979
|
}
|
|
983
|
-
var
|
|
984
|
-
function
|
|
985
|
-
if (
|
|
980
|
+
var se = /* @__PURE__ */ (function() {
|
|
981
|
+
function r(t, e, n) {
|
|
982
|
+
if (fr(this, r), !t)
|
|
986
983
|
throw new TypeError("First argument is required");
|
|
987
984
|
if (typeof t != "string")
|
|
988
985
|
throw new TypeError("First argument must be a string");
|
|
989
|
-
if (t[0] === "+" && !
|
|
986
|
+
if (t[0] === "+" && !e)
|
|
990
987
|
throw new TypeError("`metadata` argument not passed");
|
|
991
|
-
if (
|
|
992
|
-
n =
|
|
988
|
+
if (N(e) && N(e.countries)) {
|
|
989
|
+
n = e;
|
|
993
990
|
var i = t;
|
|
994
|
-
if (!
|
|
991
|
+
if (!br.test(i))
|
|
995
992
|
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
996
|
-
var a =
|
|
997
|
-
if (
|
|
993
|
+
var a = ht(i, void 0, void 0, void 0, n), d = a.countryCallingCode, o = a.number;
|
|
994
|
+
if (e = o, t = d, !e)
|
|
998
995
|
throw new Error("Invalid `number` argument passed: too short");
|
|
999
996
|
}
|
|
1000
|
-
if (!
|
|
997
|
+
if (!e)
|
|
1001
998
|
throw new TypeError("`nationalNumber` argument is required");
|
|
1002
|
-
if (typeof
|
|
999
|
+
if (typeof e != "string")
|
|
1003
1000
|
throw new TypeError("`nationalNumber` argument must be a string");
|
|
1004
|
-
|
|
1005
|
-
var l =
|
|
1006
|
-
this.country = s, this.countryCallingCode = u, this.nationalNumber =
|
|
1001
|
+
qt(n);
|
|
1002
|
+
var l = gr(t, n), s = l.country, u = l.countryCallingCode;
|
|
1003
|
+
this.country = s, this.countryCallingCode = u, this.nationalNumber = e, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
1007
1004
|
return n;
|
|
1008
1005
|
};
|
|
1009
1006
|
}
|
|
1010
|
-
return
|
|
1007
|
+
return hr(r, [{
|
|
1011
1008
|
key: "setExt",
|
|
1012
|
-
value: function(
|
|
1013
|
-
this.ext =
|
|
1009
|
+
value: function(e) {
|
|
1010
|
+
this.ext = e;
|
|
1014
1011
|
}
|
|
1015
1012
|
}, {
|
|
1016
1013
|
key: "getPossibleCountries",
|
|
1017
1014
|
value: function() {
|
|
1018
|
-
return this.country ? [this.country] :
|
|
1015
|
+
return this.country ? [this.country] : Re(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
1019
1016
|
}
|
|
1020
1017
|
}, {
|
|
1021
1018
|
key: "isPossible",
|
|
1022
1019
|
value: function() {
|
|
1023
|
-
return
|
|
1020
|
+
return Te(this, {
|
|
1024
1021
|
v2: !0
|
|
1025
1022
|
}, this.getMetadata());
|
|
1026
1023
|
}
|
|
1027
1024
|
}, {
|
|
1028
1025
|
key: "isValid",
|
|
1029
1026
|
value: function() {
|
|
1030
|
-
return
|
|
1027
|
+
return Oe(this, {
|
|
1031
1028
|
v2: !0
|
|
1032
1029
|
}, this.getMetadata());
|
|
1033
1030
|
}
|
|
1034
1031
|
}, {
|
|
1035
1032
|
key: "isNonGeographic",
|
|
1036
1033
|
value: function() {
|
|
1037
|
-
var
|
|
1038
|
-
return
|
|
1034
|
+
var e = new f(this.getMetadata());
|
|
1035
|
+
return e.isNonGeographicCallingCode(this.countryCallingCode);
|
|
1039
1036
|
}
|
|
1040
1037
|
}, {
|
|
1041
1038
|
key: "isEqual",
|
|
1042
|
-
value: function(
|
|
1043
|
-
return this.number ===
|
|
1039
|
+
value: function(e) {
|
|
1040
|
+
return this.number === e.number && this.ext === e.ext;
|
|
1044
1041
|
}
|
|
1045
1042
|
// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
|
|
1046
1043
|
// but later it was found out that it doesn't include the possible `TOO_SHORT` result
|
|
@@ -1059,14 +1056,14 @@ var $e = /* @__PURE__ */ (function() {
|
|
|
1059
1056
|
}, {
|
|
1060
1057
|
key: "getType",
|
|
1061
1058
|
value: function() {
|
|
1062
|
-
return
|
|
1059
|
+
return ct(this, {
|
|
1063
1060
|
v2: !0
|
|
1064
1061
|
}, this.getMetadata());
|
|
1065
1062
|
}
|
|
1066
1063
|
}, {
|
|
1067
1064
|
key: "format",
|
|
1068
|
-
value: function(
|
|
1069
|
-
return
|
|
1065
|
+
value: function(e, n) {
|
|
1066
|
+
return or(this, e, n ? Et(Et({}, n), {}, {
|
|
1070
1067
|
v2: !0
|
|
1071
1068
|
}) : {
|
|
1072
1069
|
v2: !0
|
|
@@ -1074,156 +1071,156 @@ var $e = /* @__PURE__ */ (function() {
|
|
|
1074
1071
|
}
|
|
1075
1072
|
}, {
|
|
1076
1073
|
key: "formatNational",
|
|
1077
|
-
value: function(
|
|
1078
|
-
return this.format("NATIONAL",
|
|
1074
|
+
value: function(e) {
|
|
1075
|
+
return this.format("NATIONAL", e);
|
|
1079
1076
|
}
|
|
1080
1077
|
}, {
|
|
1081
1078
|
key: "formatInternational",
|
|
1082
|
-
value: function(
|
|
1083
|
-
return this.format("INTERNATIONAL",
|
|
1079
|
+
value: function(e) {
|
|
1080
|
+
return this.format("INTERNATIONAL", e);
|
|
1084
1081
|
}
|
|
1085
1082
|
}, {
|
|
1086
1083
|
key: "getURI",
|
|
1087
|
-
value: function(
|
|
1088
|
-
return this.format("RFC3966",
|
|
1084
|
+
value: function(e) {
|
|
1085
|
+
return this.format("RFC3966", e);
|
|
1089
1086
|
}
|
|
1090
1087
|
}]);
|
|
1091
|
-
})(),
|
|
1088
|
+
})(), pr = function(t) {
|
|
1092
1089
|
return /^[A-Z]{2}$/.test(t);
|
|
1093
1090
|
};
|
|
1094
|
-
function
|
|
1095
|
-
var
|
|
1096
|
-
return
|
|
1097
|
-
country:
|
|
1091
|
+
function gr(r, t) {
|
|
1092
|
+
var e, n, i = new f(t);
|
|
1093
|
+
return pr(r) ? (e = r, i.selectNumberingPlan(e), n = i.countryCallingCode()) : n = r, {
|
|
1094
|
+
country: e,
|
|
1098
1095
|
countryCallingCode: n
|
|
1099
1096
|
};
|
|
1100
1097
|
}
|
|
1101
|
-
var
|
|
1102
|
-
function
|
|
1098
|
+
var br = /^\+\d+$/;
|
|
1099
|
+
function at(r) {
|
|
1103
1100
|
"@babel/helpers - typeof";
|
|
1104
|
-
return
|
|
1101
|
+
return at = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1105
1102
|
return typeof t;
|
|
1106
1103
|
} : function(t) {
|
|
1107
1104
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1108
|
-
},
|
|
1105
|
+
}, at(r);
|
|
1109
1106
|
}
|
|
1110
|
-
function
|
|
1111
|
-
return Object.defineProperty(
|
|
1107
|
+
function yr(r, t, e) {
|
|
1108
|
+
return Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
1112
1109
|
}
|
|
1113
|
-
function
|
|
1114
|
-
if (!(
|
|
1110
|
+
function xr(r, t) {
|
|
1111
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
1115
1112
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return t =
|
|
1113
|
+
function wr(r, t, e) {
|
|
1114
|
+
return t = A(t), Nr(r, mt() ? Reflect.construct(t, e || [], A(r).constructor) : t.apply(r, e));
|
|
1118
1115
|
}
|
|
1119
|
-
function
|
|
1120
|
-
if (t && (
|
|
1116
|
+
function Nr(r, t) {
|
|
1117
|
+
if (t && (at(t) == "object" || typeof t == "function")) return t;
|
|
1121
1118
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1122
|
-
return
|
|
1119
|
+
return Cr(r);
|
|
1123
1120
|
}
|
|
1124
|
-
function
|
|
1125
|
-
if (
|
|
1126
|
-
return
|
|
1121
|
+
function Cr(r) {
|
|
1122
|
+
if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1123
|
+
return r;
|
|
1127
1124
|
}
|
|
1128
|
-
function
|
|
1125
|
+
function Pr(r, t) {
|
|
1129
1126
|
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1130
|
-
|
|
1127
|
+
r.prototype = Object.create(t && t.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), t && F(r, t);
|
|
1131
1128
|
}
|
|
1132
|
-
function
|
|
1129
|
+
function dt(r) {
|
|
1133
1130
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
1134
|
-
return
|
|
1135
|
-
if (n === null || !
|
|
1131
|
+
return dt = function(n) {
|
|
1132
|
+
if (n === null || !Er(n)) return n;
|
|
1136
1133
|
if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
|
|
1137
1134
|
if (t !== void 0) {
|
|
1138
1135
|
if (t.has(n)) return t.get(n);
|
|
1139
1136
|
t.set(n, i);
|
|
1140
1137
|
}
|
|
1141
1138
|
function i() {
|
|
1142
|
-
return
|
|
1139
|
+
return Sr(n, arguments, A(this).constructor);
|
|
1143
1140
|
}
|
|
1144
1141
|
return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), F(i, n);
|
|
1145
|
-
},
|
|
1142
|
+
}, dt(r);
|
|
1146
1143
|
}
|
|
1147
|
-
function
|
|
1148
|
-
if (
|
|
1144
|
+
function Sr(r, t, e) {
|
|
1145
|
+
if (mt()) return Reflect.construct.apply(null, arguments);
|
|
1149
1146
|
var n = [null];
|
|
1150
1147
|
n.push.apply(n, t);
|
|
1151
|
-
var i = new (
|
|
1152
|
-
return
|
|
1148
|
+
var i = new (r.bind.apply(r, n))();
|
|
1149
|
+
return e && F(i, e.prototype), i;
|
|
1153
1150
|
}
|
|
1154
|
-
function
|
|
1151
|
+
function mt() {
|
|
1155
1152
|
try {
|
|
1156
|
-
var
|
|
1153
|
+
var r = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1157
1154
|
}));
|
|
1158
1155
|
} catch (t) {
|
|
1159
1156
|
}
|
|
1160
|
-
return (
|
|
1161
|
-
return !!
|
|
1157
|
+
return (mt = function() {
|
|
1158
|
+
return !!r;
|
|
1162
1159
|
})();
|
|
1163
1160
|
}
|
|
1164
|
-
function
|
|
1161
|
+
function Er(r) {
|
|
1165
1162
|
try {
|
|
1166
|
-
return Function.toString.call(
|
|
1163
|
+
return Function.toString.call(r).indexOf("[native code]") !== -1;
|
|
1167
1164
|
} catch (t) {
|
|
1168
|
-
return typeof
|
|
1165
|
+
return typeof r == "function";
|
|
1169
1166
|
}
|
|
1170
1167
|
}
|
|
1171
|
-
function F(
|
|
1172
|
-
return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(
|
|
1173
|
-
return
|
|
1174
|
-
}, F(
|
|
1168
|
+
function F(r, t) {
|
|
1169
|
+
return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, n) {
|
|
1170
|
+
return e.__proto__ = n, e;
|
|
1171
|
+
}, F(r, t);
|
|
1175
1172
|
}
|
|
1176
|
-
function
|
|
1177
|
-
return
|
|
1173
|
+
function A(r) {
|
|
1174
|
+
return A = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
1178
1175
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1179
|
-
},
|
|
1176
|
+
}, A(r);
|
|
1180
1177
|
}
|
|
1181
|
-
var x = /* @__PURE__ */ (function(
|
|
1182
|
-
function t(
|
|
1178
|
+
var x = /* @__PURE__ */ (function(r) {
|
|
1179
|
+
function t(e) {
|
|
1183
1180
|
var n;
|
|
1184
|
-
return
|
|
1181
|
+
return xr(this, t), n = wr(this, t, [e]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
|
|
1185
1182
|
}
|
|
1186
|
-
return
|
|
1187
|
-
})(/* @__PURE__ */
|
|
1188
|
-
function
|
|
1189
|
-
var t =
|
|
1183
|
+
return Pr(t, r), yr(t);
|
|
1184
|
+
})(/* @__PURE__ */ dt(Error)), It = new RegExp("(?:" + oe() + ")$", "i");
|
|
1185
|
+
function Ir(r) {
|
|
1186
|
+
var t = r.search(It);
|
|
1190
1187
|
if (t < 0)
|
|
1191
1188
|
return {};
|
|
1192
|
-
for (var
|
|
1189
|
+
for (var e = r.slice(0, t), n = r.match(It), i = 1; i < n.length; ) {
|
|
1193
1190
|
if (n[i])
|
|
1194
1191
|
return {
|
|
1195
|
-
number:
|
|
1192
|
+
number: e,
|
|
1196
1193
|
ext: n[i]
|
|
1197
1194
|
};
|
|
1198
1195
|
i++;
|
|
1199
1196
|
}
|
|
1200
1197
|
}
|
|
1201
|
-
function
|
|
1202
|
-
var
|
|
1203
|
-
if (
|
|
1204
|
-
if (Array.isArray(
|
|
1205
|
-
|
|
1198
|
+
function _r(r, t) {
|
|
1199
|
+
var e = typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
1200
|
+
if (e) return (e = e.call(r)).next.bind(e);
|
|
1201
|
+
if (Array.isArray(r) || (e = Tr(r)) || t) {
|
|
1202
|
+
e && (r = e);
|
|
1206
1203
|
var n = 0;
|
|
1207
1204
|
return function() {
|
|
1208
|
-
return n >=
|
|
1205
|
+
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
1209
1206
|
};
|
|
1210
1207
|
}
|
|
1211
1208
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1212
1209
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1213
1210
|
}
|
|
1214
|
-
function
|
|
1215
|
-
if (
|
|
1216
|
-
if (typeof
|
|
1217
|
-
var
|
|
1218
|
-
return
|
|
1211
|
+
function Tr(r, t) {
|
|
1212
|
+
if (r) {
|
|
1213
|
+
if (typeof r == "string") return _t(r, t);
|
|
1214
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
1215
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? _t(r, t) : void 0;
|
|
1219
1216
|
}
|
|
1220
1217
|
}
|
|
1221
|
-
function
|
|
1222
|
-
(t == null || t >
|
|
1223
|
-
for (var
|
|
1218
|
+
function _t(r, t) {
|
|
1219
|
+
(t == null || t > r.length) && (t = r.length);
|
|
1220
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
1224
1221
|
return n;
|
|
1225
1222
|
}
|
|
1226
|
-
var
|
|
1223
|
+
var Fr = {
|
|
1227
1224
|
0: "0",
|
|
1228
1225
|
1: "1",
|
|
1229
1226
|
2: "2",
|
|
@@ -1295,365 +1292,313 @@ var Lr = {
|
|
|
1295
1292
|
"۹": "9"
|
|
1296
1293
|
// Eastern-Arabic digit 9
|
|
1297
1294
|
};
|
|
1298
|
-
function
|
|
1299
|
-
return
|
|
1295
|
+
function ue(r) {
|
|
1296
|
+
return Fr[r];
|
|
1300
1297
|
}
|
|
1301
|
-
function
|
|
1302
|
-
for (var t = "",
|
|
1303
|
-
var i = n.value, a =
|
|
1298
|
+
function z(r) {
|
|
1299
|
+
for (var t = "", e = _r(r.split("")), n; !(n = e()).done; ) {
|
|
1300
|
+
var i = n.value, a = ue(i);
|
|
1304
1301
|
a && (t += a);
|
|
1305
1302
|
}
|
|
1306
1303
|
return t;
|
|
1307
1304
|
}
|
|
1308
|
-
function
|
|
1309
|
-
var
|
|
1310
|
-
if (
|
|
1311
|
-
if (Array.isArray(
|
|
1312
|
-
|
|
1305
|
+
function Ar(r, t) {
|
|
1306
|
+
var e = typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
1307
|
+
if (e) return (e = e.call(r)).next.bind(e);
|
|
1308
|
+
if (Array.isArray(r) || (e = kr(r)) || t) {
|
|
1309
|
+
e && (r = e);
|
|
1313
1310
|
var n = 0;
|
|
1314
1311
|
return function() {
|
|
1315
|
-
return n >=
|
|
1312
|
+
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
1316
1313
|
};
|
|
1317
1314
|
}
|
|
1318
1315
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1319
1316
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1320
1317
|
}
|
|
1321
|
-
function
|
|
1322
|
-
if (
|
|
1323
|
-
if (typeof
|
|
1324
|
-
var
|
|
1325
|
-
return
|
|
1318
|
+
function kr(r, t) {
|
|
1319
|
+
if (r) {
|
|
1320
|
+
if (typeof r == "string") return Tt(r, t);
|
|
1321
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
1322
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Tt(r, t) : void 0;
|
|
1326
1323
|
}
|
|
1327
1324
|
}
|
|
1328
|
-
function
|
|
1329
|
-
(t == null || t >
|
|
1330
|
-
for (var
|
|
1325
|
+
function Tt(r, t) {
|
|
1326
|
+
(t == null || t > r.length) && (t = r.length);
|
|
1327
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
1331
1328
|
return n;
|
|
1332
1329
|
}
|
|
1333
|
-
function
|
|
1334
|
-
for (var t = "",
|
|
1330
|
+
function Ft(r) {
|
|
1331
|
+
for (var t = "", e = Ar(r.split("")), n; !(n = e()).done; ) {
|
|
1335
1332
|
var i = n.value;
|
|
1336
|
-
t +=
|
|
1333
|
+
t += Or(i, t) || "";
|
|
1337
1334
|
}
|
|
1338
1335
|
return t;
|
|
1339
1336
|
}
|
|
1340
|
-
function
|
|
1341
|
-
return
|
|
1342
|
-
}
|
|
1343
|
-
function Br(e, t) {
|
|
1344
|
-
var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
|
|
1345
|
-
if (r) return (r = r.call(e)).next.bind(r);
|
|
1346
|
-
if (Array.isArray(e) || (r = Gr(e)) || t) {
|
|
1347
|
-
r && (e = r);
|
|
1348
|
-
var n = 0;
|
|
1349
|
-
return function() {
|
|
1350
|
-
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
|
|
1351
|
-
};
|
|
1352
|
-
}
|
|
1353
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1354
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1355
|
-
}
|
|
1356
|
-
function Gr(e, t) {
|
|
1357
|
-
if (e) {
|
|
1358
|
-
if (typeof e == "string") return Ot(e, t);
|
|
1359
|
-
var r = {}.toString.call(e).slice(8, -1);
|
|
1360
|
-
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Ot(e, t) : void 0;
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
function Ot(e, t) {
|
|
1364
|
-
(t == null || t > e.length) && (t = e.length);
|
|
1365
|
-
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
1366
|
-
return n;
|
|
1367
|
-
}
|
|
1368
|
-
function fe(e, t) {
|
|
1369
|
-
var r = t.countries;
|
|
1370
|
-
t.defaultCountry;
|
|
1371
|
-
var n = t.metadata;
|
|
1372
|
-
n = new f(n);
|
|
1373
|
-
for (var i = Br(r), a; !(a = i()).done; ) {
|
|
1374
|
-
var d = a.value;
|
|
1375
|
-
if (n.country(d), n.leadingDigits()) {
|
|
1376
|
-
if (e && e.search(n.leadingDigits()) === 0)
|
|
1377
|
-
return d;
|
|
1378
|
-
} else if (ft({
|
|
1379
|
-
phone: e,
|
|
1380
|
-
country: d
|
|
1381
|
-
}, void 0, n.metadata))
|
|
1382
|
-
return d;
|
|
1383
|
-
}
|
|
1337
|
+
function Or(r, t, e) {
|
|
1338
|
+
return r === "+" ? t ? void 0 : "+" : ue(r);
|
|
1384
1339
|
}
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
return a.length === 1 ? a[0] : fe(r, {
|
|
1389
|
-
countries: a,
|
|
1390
|
-
defaultCountry: n,
|
|
1391
|
-
metadata: i.metadata
|
|
1392
|
-
});
|
|
1393
|
-
}
|
|
1394
|
-
var me = "+", Ur = "[\\-\\.\\(\\)]?", Rt = "([" + m + "]|" + Ur + ")", Hr = "^\\" + me + Rt + "*[" + m + "]" + Rt + "*$", Wr = new RegExp(Hr, "g"), lt = m, Vr = "[" + lt + "]+((\\-)*[" + lt + "])*", Kr = "a-zA-Z", zr = "[" + Kr + "]+((\\-)*[" + lt + "])*", Xr = "^(" + Vr + "\\.)*" + zr + "\\.?$", Yr = new RegExp(Xr, "g"), Lt = "tel:", st = ";phone-context=", Zr = ";isub=";
|
|
1395
|
-
function Jr(e) {
|
|
1396
|
-
var t = e.indexOf(st);
|
|
1340
|
+
var $e = "+", Rr = "[\\-\\.\\(\\)]?", At = "([" + h + "]|" + Rr + ")", Lr = "^\\" + $e + At + "*[" + h + "]" + At + "*$", Mr = new RegExp(Lr, "g"), ot = h, Dr = "[" + ot + "]+((\\-)*[" + ot + "])*", jr = "a-zA-Z", Br = "[" + jr + "]+((\\-)*[" + ot + "])*", Gr = "^(" + Dr + "\\.)*" + Br + "\\.?$", Ur = new RegExp(Gr, "g"), kt = "tel:", lt = ";phone-context=", Hr = ";isub=";
|
|
1341
|
+
function Wr(r) {
|
|
1342
|
+
var t = r.indexOf(lt);
|
|
1397
1343
|
if (t < 0)
|
|
1398
1344
|
return null;
|
|
1399
|
-
var
|
|
1400
|
-
if (
|
|
1345
|
+
var e = t + lt.length;
|
|
1346
|
+
if (e >= r.length)
|
|
1401
1347
|
return "";
|
|
1402
|
-
var n =
|
|
1403
|
-
return n >= 0 ?
|
|
1348
|
+
var n = r.indexOf(";", e);
|
|
1349
|
+
return n >= 0 ? r.substring(e, n) : r.substring(e);
|
|
1404
1350
|
}
|
|
1405
|
-
function
|
|
1406
|
-
return
|
|
1351
|
+
function Vr(r) {
|
|
1352
|
+
return r === null ? !0 : r.length === 0 ? !1 : Mr.test(r) || Ur.test(r);
|
|
1407
1353
|
}
|
|
1408
|
-
function
|
|
1409
|
-
var
|
|
1410
|
-
if (!
|
|
1354
|
+
function Kr(r, t) {
|
|
1355
|
+
var e = t.extractFormattedPhoneNumber, n = Wr(r);
|
|
1356
|
+
if (!Vr(n))
|
|
1411
1357
|
throw new x("NOT_A_NUMBER");
|
|
1412
1358
|
var i;
|
|
1413
1359
|
if (n === null)
|
|
1414
|
-
i = r
|
|
1360
|
+
i = e(r) || "";
|
|
1415
1361
|
else {
|
|
1416
|
-
i = "", n.charAt(0) ===
|
|
1417
|
-
var a =
|
|
1418
|
-
a >= 0 ? d = a +
|
|
1419
|
-
var o =
|
|
1420
|
-
i +=
|
|
1362
|
+
i = "", n.charAt(0) === $e && (i += n);
|
|
1363
|
+
var a = r.indexOf(kt), d;
|
|
1364
|
+
a >= 0 ? d = a + kt.length : d = 0;
|
|
1365
|
+
var o = r.indexOf(lt);
|
|
1366
|
+
i += r.substring(d, o);
|
|
1421
1367
|
}
|
|
1422
|
-
var l = i.indexOf(
|
|
1368
|
+
var l = i.indexOf(Hr);
|
|
1423
1369
|
if (l > 0 && (i = i.substring(0, l)), i !== "")
|
|
1424
1370
|
return i;
|
|
1425
1371
|
}
|
|
1426
|
-
var
|
|
1427
|
-
function
|
|
1428
|
-
if (t = t || {},
|
|
1372
|
+
var zr = 250, Xr = new RegExp("[" + J + h + "]"), Yr = new RegExp("[^" + h + "#]+$");
|
|
1373
|
+
function Zr(r, t, e) {
|
|
1374
|
+
if (t = t || {}, e = new f(e), t.defaultCountry && !e.hasCountry(t.defaultCountry))
|
|
1429
1375
|
throw t.v2 ? new x("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
|
|
1430
|
-
var n =
|
|
1376
|
+
var n = qr(r, t.v2, t.extract), i = n.number, a = n.ext, d = n.error;
|
|
1431
1377
|
if (!i) {
|
|
1432
1378
|
if (t.v2)
|
|
1433
1379
|
throw d === "TOO_SHORT" ? new x("TOO_SHORT") : new x("NOT_A_NUMBER");
|
|
1434
1380
|
return {};
|
|
1435
1381
|
}
|
|
1436
|
-
var o =
|
|
1437
|
-
if (!
|
|
1382
|
+
var o = tn(i, t.defaultCountry, t.defaultCallingCode, e), l = o.country, s = o.nationalNumber, u = o.countryCallingCode, $ = o.countryCallingCodeSource, c = o.carrierCode;
|
|
1383
|
+
if (!e.hasSelectedNumberingPlan()) {
|
|
1438
1384
|
if (t.v2)
|
|
1439
1385
|
throw new x("INVALID_COUNTRY");
|
|
1440
1386
|
return {};
|
|
1441
1387
|
}
|
|
1442
|
-
if (!s || s.length <
|
|
1388
|
+
if (!s || s.length < ft) {
|
|
1443
1389
|
if (t.v2)
|
|
1444
1390
|
throw new x("TOO_SHORT");
|
|
1445
1391
|
return {};
|
|
1446
1392
|
}
|
|
1447
|
-
if (s.length >
|
|
1393
|
+
if (s.length > Me) {
|
|
1448
1394
|
if (t.v2)
|
|
1449
1395
|
throw new x("TOO_LONG");
|
|
1450
1396
|
return {};
|
|
1451
1397
|
}
|
|
1452
1398
|
if (t.v2) {
|
|
1453
|
-
var v = new
|
|
1454
|
-
return l && (v.country = l),
|
|
1399
|
+
var v = new se(u, s, e.metadata);
|
|
1400
|
+
return l && (v.country = l), c && (v.carrierCode = c), a && (v.ext = a), v.__countryCallingCodeSource = $, v;
|
|
1455
1401
|
}
|
|
1456
|
-
var
|
|
1402
|
+
var m = (t.extended ? e.hasSelectedNumberingPlan() : l) ? w(s, e.nationalNumberPattern()) : !1;
|
|
1457
1403
|
return t.extended ? {
|
|
1458
1404
|
country: l,
|
|
1459
1405
|
countryCallingCode: u,
|
|
1460
|
-
carrierCode:
|
|
1461
|
-
valid:
|
|
1462
|
-
possible:
|
|
1406
|
+
carrierCode: c,
|
|
1407
|
+
valid: m,
|
|
1408
|
+
possible: m ? !0 : !!(t.extended === !0 && e.possibleLengths() && te(s, l, e)),
|
|
1463
1409
|
phone: s,
|
|
1464
1410
|
ext: a
|
|
1465
|
-
} :
|
|
1411
|
+
} : m ? Qr(l, s, a) : {};
|
|
1466
1412
|
}
|
|
1467
|
-
function
|
|
1468
|
-
if (
|
|
1469
|
-
if (
|
|
1470
|
-
if (
|
|
1413
|
+
function Jr(r, t, e) {
|
|
1414
|
+
if (r) {
|
|
1415
|
+
if (r.length > zr) {
|
|
1416
|
+
if (e)
|
|
1471
1417
|
throw new x("TOO_LONG");
|
|
1472
1418
|
return;
|
|
1473
1419
|
}
|
|
1474
1420
|
if (t === !1)
|
|
1475
|
-
return
|
|
1476
|
-
var n =
|
|
1421
|
+
return r;
|
|
1422
|
+
var n = r.search(Xr);
|
|
1477
1423
|
if (!(n < 0))
|
|
1478
|
-
return
|
|
1424
|
+
return r.slice(n).replace(Yr, "");
|
|
1479
1425
|
}
|
|
1480
1426
|
}
|
|
1481
|
-
function
|
|
1482
|
-
var n =
|
|
1427
|
+
function qr(r, t, e) {
|
|
1428
|
+
var n = Kr(r, {
|
|
1483
1429
|
extractFormattedPhoneNumber: function(d) {
|
|
1484
|
-
return
|
|
1430
|
+
return Jr(d, e, t);
|
|
1485
1431
|
}
|
|
1486
1432
|
});
|
|
1487
1433
|
if (!n)
|
|
1488
1434
|
return {};
|
|
1489
|
-
if (!
|
|
1490
|
-
return
|
|
1435
|
+
if (!ir(n))
|
|
1436
|
+
return ar(n) ? {
|
|
1491
1437
|
error: "TOO_SHORT"
|
|
1492
1438
|
} : {};
|
|
1493
|
-
var i =
|
|
1439
|
+
var i = Ir(n);
|
|
1494
1440
|
return i.ext ? i : {
|
|
1495
1441
|
number: n
|
|
1496
1442
|
};
|
|
1497
1443
|
}
|
|
1498
|
-
function
|
|
1444
|
+
function Qr(r, t, e) {
|
|
1499
1445
|
var n = {
|
|
1500
|
-
country:
|
|
1446
|
+
country: r,
|
|
1501
1447
|
phone: t
|
|
1502
1448
|
};
|
|
1503
|
-
return
|
|
1449
|
+
return e && (n.ext = e), n;
|
|
1504
1450
|
}
|
|
1505
|
-
function
|
|
1506
|
-
var i =
|
|
1451
|
+
function tn(r, t, e, n) {
|
|
1452
|
+
var i = ht(Ft(r), void 0, t, e, n.metadata), a = i.countryCallingCodeSource, d = i.countryCallingCode, o = i.number, l;
|
|
1507
1453
|
if (d)
|
|
1508
1454
|
n.selectNumberingPlan(d);
|
|
1509
|
-
else if (o && (t ||
|
|
1510
|
-
n.selectNumberingPlan(t,
|
|
1455
|
+
else if (o && (t || e))
|
|
1456
|
+
n.selectNumberingPlan(t, e), t && (l = t), d = e || $t(t, n.metadata);
|
|
1511
1457
|
else return {};
|
|
1512
1458
|
if (!o)
|
|
1513
1459
|
return {
|
|
1514
1460
|
countryCallingCodeSource: a,
|
|
1515
1461
|
countryCallingCode: d
|
|
1516
1462
|
};
|
|
1517
|
-
var s =
|
|
1463
|
+
var s = it(Ft(o), l, n), u = s.nationalNumber, $ = s.carrierCode, c = vt(d, {
|
|
1518
1464
|
nationalNumber: u,
|
|
1519
|
-
defaultCountry: t,
|
|
1520
1465
|
metadata: n
|
|
1521
1466
|
});
|
|
1522
|
-
return
|
|
1467
|
+
return c && (l = c, c === "001" || n.selectNumberingPlan(l)), {
|
|
1523
1468
|
country: l,
|
|
1524
1469
|
countryCallingCode: d,
|
|
1525
1470
|
countryCallingCodeSource: a,
|
|
1526
1471
|
nationalNumber: u,
|
|
1527
|
-
carrierCode:
|
|
1472
|
+
carrierCode: $
|
|
1528
1473
|
};
|
|
1529
1474
|
}
|
|
1530
|
-
function
|
|
1475
|
+
function k(r) {
|
|
1531
1476
|
"@babel/helpers - typeof";
|
|
1532
|
-
return
|
|
1477
|
+
return k = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1533
1478
|
return typeof t;
|
|
1534
1479
|
} : function(t) {
|
|
1535
1480
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1536
|
-
},
|
|
1481
|
+
}, k(r);
|
|
1537
1482
|
}
|
|
1538
|
-
function
|
|
1539
|
-
var
|
|
1483
|
+
function Ot(r, t) {
|
|
1484
|
+
var e = Object.keys(r);
|
|
1540
1485
|
if (Object.getOwnPropertySymbols) {
|
|
1541
|
-
var n = Object.getOwnPropertySymbols(
|
|
1486
|
+
var n = Object.getOwnPropertySymbols(r);
|
|
1542
1487
|
t && (n = n.filter(function(i) {
|
|
1543
|
-
return Object.getOwnPropertyDescriptor(
|
|
1544
|
-
})),
|
|
1488
|
+
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
1489
|
+
})), e.push.apply(e, n);
|
|
1545
1490
|
}
|
|
1546
|
-
return
|
|
1491
|
+
return e;
|
|
1547
1492
|
}
|
|
1548
|
-
function
|
|
1493
|
+
function Rt(r) {
|
|
1549
1494
|
for (var t = 1; t < arguments.length; t++) {
|
|
1550
|
-
var
|
|
1551
|
-
t % 2 ?
|
|
1552
|
-
|
|
1553
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1554
|
-
Object.defineProperty(
|
|
1495
|
+
var e = arguments[t] != null ? arguments[t] : {};
|
|
1496
|
+
t % 2 ? Ot(Object(e), !0).forEach(function(n) {
|
|
1497
|
+
en(r, n, e[n]);
|
|
1498
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : Ot(Object(e)).forEach(function(n) {
|
|
1499
|
+
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(e, n));
|
|
1555
1500
|
});
|
|
1556
1501
|
}
|
|
1557
|
-
return
|
|
1502
|
+
return r;
|
|
1558
1503
|
}
|
|
1559
|
-
function
|
|
1560
|
-
return (t =
|
|
1504
|
+
function en(r, t, e) {
|
|
1505
|
+
return (t = rn(t)) in r ? Object.defineProperty(r, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = e, r;
|
|
1561
1506
|
}
|
|
1562
|
-
function
|
|
1563
|
-
var t =
|
|
1564
|
-
return
|
|
1507
|
+
function rn(r) {
|
|
1508
|
+
var t = nn(r, "string");
|
|
1509
|
+
return k(t) == "symbol" ? t : t + "";
|
|
1565
1510
|
}
|
|
1566
|
-
function
|
|
1567
|
-
if (
|
|
1568
|
-
var
|
|
1569
|
-
if (
|
|
1570
|
-
var n =
|
|
1571
|
-
if (
|
|
1511
|
+
function nn(r, t) {
|
|
1512
|
+
if (k(r) != "object" || !r) return r;
|
|
1513
|
+
var e = r[Symbol.toPrimitive];
|
|
1514
|
+
if (e !== void 0) {
|
|
1515
|
+
var n = e.call(r, t);
|
|
1516
|
+
if (k(n) != "object") return n;
|
|
1572
1517
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1573
1518
|
}
|
|
1574
|
-
return (t === "string" ? String : Number)(
|
|
1519
|
+
return (t === "string" ? String : Number)(r);
|
|
1575
1520
|
}
|
|
1576
|
-
function
|
|
1577
|
-
return
|
|
1521
|
+
function ce(r, t, e) {
|
|
1522
|
+
return Zr(r, Rt(Rt({}, t), {}, {
|
|
1578
1523
|
v2: !0
|
|
1579
|
-
}),
|
|
1524
|
+
}), e);
|
|
1580
1525
|
}
|
|
1581
|
-
function
|
|
1526
|
+
function O(r) {
|
|
1582
1527
|
"@babel/helpers - typeof";
|
|
1583
|
-
return
|
|
1528
|
+
return O = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1584
1529
|
return typeof t;
|
|
1585
1530
|
} : function(t) {
|
|
1586
1531
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1587
|
-
},
|
|
1532
|
+
}, O(r);
|
|
1588
1533
|
}
|
|
1589
|
-
function
|
|
1590
|
-
var
|
|
1534
|
+
function Lt(r, t) {
|
|
1535
|
+
var e = Object.keys(r);
|
|
1591
1536
|
if (Object.getOwnPropertySymbols) {
|
|
1592
|
-
var n = Object.getOwnPropertySymbols(
|
|
1537
|
+
var n = Object.getOwnPropertySymbols(r);
|
|
1593
1538
|
t && (n = n.filter(function(i) {
|
|
1594
|
-
return Object.getOwnPropertyDescriptor(
|
|
1595
|
-
})),
|
|
1539
|
+
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
1540
|
+
})), e.push.apply(e, n);
|
|
1596
1541
|
}
|
|
1597
|
-
return
|
|
1542
|
+
return e;
|
|
1598
1543
|
}
|
|
1599
|
-
function
|
|
1544
|
+
function an(r) {
|
|
1600
1545
|
for (var t = 1; t < arguments.length; t++) {
|
|
1601
|
-
var
|
|
1602
|
-
t % 2 ?
|
|
1603
|
-
|
|
1604
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1605
|
-
Object.defineProperty(
|
|
1546
|
+
var e = arguments[t] != null ? arguments[t] : {};
|
|
1547
|
+
t % 2 ? Lt(Object(e), !0).forEach(function(n) {
|
|
1548
|
+
dn(r, n, e[n]);
|
|
1549
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : Lt(Object(e)).forEach(function(n) {
|
|
1550
|
+
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(e, n));
|
|
1606
1551
|
});
|
|
1607
1552
|
}
|
|
1608
|
-
return
|
|
1553
|
+
return r;
|
|
1609
1554
|
}
|
|
1610
|
-
function
|
|
1611
|
-
return (t =
|
|
1555
|
+
function dn(r, t, e) {
|
|
1556
|
+
return (t = on(t)) in r ? Object.defineProperty(r, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = e, r;
|
|
1612
1557
|
}
|
|
1613
|
-
function
|
|
1614
|
-
var t =
|
|
1615
|
-
return
|
|
1558
|
+
function on(r) {
|
|
1559
|
+
var t = ln(r, "string");
|
|
1560
|
+
return O(t) == "symbol" ? t : t + "";
|
|
1616
1561
|
}
|
|
1617
|
-
function
|
|
1618
|
-
if (
|
|
1619
|
-
var
|
|
1620
|
-
if (
|
|
1621
|
-
var n =
|
|
1622
|
-
if (
|
|
1562
|
+
function ln(r, t) {
|
|
1563
|
+
if (O(r) != "object" || !r) return r;
|
|
1564
|
+
var e = r[Symbol.toPrimitive];
|
|
1565
|
+
if (e !== void 0) {
|
|
1566
|
+
var n = e.call(r, t);
|
|
1567
|
+
if (O(n) != "object") return n;
|
|
1623
1568
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1624
1569
|
}
|
|
1625
|
-
return (t === "string" ? String : Number)(
|
|
1570
|
+
return (t === "string" ? String : Number)(r);
|
|
1626
1571
|
}
|
|
1627
|
-
function
|
|
1628
|
-
return
|
|
1572
|
+
function sn(r, t) {
|
|
1573
|
+
return fn(r) || cn(r, t) || $n(r, t) || un();
|
|
1629
1574
|
}
|
|
1630
|
-
function
|
|
1575
|
+
function un() {
|
|
1631
1576
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1632
1577
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1633
1578
|
}
|
|
1634
|
-
function
|
|
1635
|
-
if (
|
|
1636
|
-
if (typeof
|
|
1637
|
-
var
|
|
1638
|
-
return
|
|
1579
|
+
function $n(r, t) {
|
|
1580
|
+
if (r) {
|
|
1581
|
+
if (typeof r == "string") return Mt(r, t);
|
|
1582
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
1583
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Mt(r, t) : void 0;
|
|
1639
1584
|
}
|
|
1640
1585
|
}
|
|
1641
|
-
function
|
|
1642
|
-
(t == null || t >
|
|
1643
|
-
for (var
|
|
1586
|
+
function Mt(r, t) {
|
|
1587
|
+
(t == null || t > r.length) && (t = r.length);
|
|
1588
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
1644
1589
|
return n;
|
|
1645
1590
|
}
|
|
1646
|
-
function
|
|
1647
|
-
var
|
|
1648
|
-
if (
|
|
1591
|
+
function cn(r, t) {
|
|
1592
|
+
var e = r == null ? null : typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
1593
|
+
if (e != null) {
|
|
1649
1594
|
var n, i, a, d, o = [], l = !0, s = !1;
|
|
1650
1595
|
try {
|
|
1651
|
-
if (a = (
|
|
1596
|
+
if (a = (e = e.call(r)).next, t !== 0) for (; !(l = (n = a.call(e)).done) && (o.push(n.value), o.length !== t); l = !0) ;
|
|
1652
1597
|
} catch (u) {
|
|
1653
1598
|
s = !0, i = u;
|
|
1654
1599
|
} finally {
|
|
1655
1600
|
try {
|
|
1656
|
-
if (!l &&
|
|
1601
|
+
if (!l && e.return != null && (d = e.return(), Object(d) !== d)) return;
|
|
1657
1602
|
} finally {
|
|
1658
1603
|
if (s) throw i;
|
|
1659
1604
|
}
|
|
@@ -1661,19 +1606,19 @@ function yn(e, t) {
|
|
|
1661
1606
|
return o;
|
|
1662
1607
|
}
|
|
1663
1608
|
}
|
|
1664
|
-
function
|
|
1665
|
-
if (Array.isArray(
|
|
1609
|
+
function fn(r) {
|
|
1610
|
+
if (Array.isArray(r)) return r;
|
|
1666
1611
|
}
|
|
1667
|
-
function
|
|
1668
|
-
var t = Array.prototype.slice.call(
|
|
1612
|
+
function fe(r) {
|
|
1613
|
+
var t = Array.prototype.slice.call(r), e = sn(t, 4), n = e[0], i = e[1], a = e[2], d = e[3], o, l, s;
|
|
1669
1614
|
if (typeof n == "string")
|
|
1670
1615
|
o = n;
|
|
1671
1616
|
else throw new TypeError("A text for parsing must be a string.");
|
|
1672
1617
|
if (!i || typeof i == "string")
|
|
1673
|
-
d ? (l = a, s = d) : (l = void 0, s = a), i && (l =
|
|
1618
|
+
d ? (l = a, s = d) : (l = void 0, s = a), i && (l = an({
|
|
1674
1619
|
defaultCountry: i
|
|
1675
1620
|
}, l));
|
|
1676
|
-
else if (
|
|
1621
|
+
else if (N(i))
|
|
1677
1622
|
a ? (l = i, s = a) : s = i;
|
|
1678
1623
|
else throw new Error("Invalid second argument: ".concat(i));
|
|
1679
1624
|
return {
|
|
@@ -1682,157 +1627,157 @@ function pe(e) {
|
|
|
1682
1627
|
metadata: s
|
|
1683
1628
|
};
|
|
1684
1629
|
}
|
|
1685
|
-
function
|
|
1686
|
-
var
|
|
1687
|
-
return
|
|
1630
|
+
function vn() {
|
|
1631
|
+
var r = fe(arguments), t = r.text, e = r.options, n = r.metadata;
|
|
1632
|
+
return ce(t, e, n);
|
|
1688
1633
|
}
|
|
1689
|
-
function
|
|
1634
|
+
function R(r) {
|
|
1690
1635
|
"@babel/helpers - typeof";
|
|
1691
|
-
return
|
|
1636
|
+
return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1692
1637
|
return typeof t;
|
|
1693
1638
|
} : function(t) {
|
|
1694
1639
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1695
|
-
},
|
|
1640
|
+
}, R(r);
|
|
1696
1641
|
}
|
|
1697
|
-
function
|
|
1698
|
-
var
|
|
1642
|
+
function Dt(r, t) {
|
|
1643
|
+
var e = Object.keys(r);
|
|
1699
1644
|
if (Object.getOwnPropertySymbols) {
|
|
1700
|
-
var n = Object.getOwnPropertySymbols(
|
|
1645
|
+
var n = Object.getOwnPropertySymbols(r);
|
|
1701
1646
|
t && (n = n.filter(function(i) {
|
|
1702
|
-
return Object.getOwnPropertyDescriptor(
|
|
1703
|
-
})),
|
|
1647
|
+
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
1648
|
+
})), e.push.apply(e, n);
|
|
1704
1649
|
}
|
|
1705
|
-
return
|
|
1650
|
+
return e;
|
|
1706
1651
|
}
|
|
1707
|
-
function
|
|
1652
|
+
function jt(r) {
|
|
1708
1653
|
for (var t = 1; t < arguments.length; t++) {
|
|
1709
|
-
var
|
|
1710
|
-
t % 2 ?
|
|
1711
|
-
|
|
1712
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1713
|
-
Object.defineProperty(
|
|
1654
|
+
var e = arguments[t] != null ? arguments[t] : {};
|
|
1655
|
+
t % 2 ? Dt(Object(e), !0).forEach(function(n) {
|
|
1656
|
+
hn(r, n, e[n]);
|
|
1657
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(e)) : Dt(Object(e)).forEach(function(n) {
|
|
1658
|
+
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(e, n));
|
|
1714
1659
|
});
|
|
1715
1660
|
}
|
|
1716
|
-
return
|
|
1661
|
+
return r;
|
|
1717
1662
|
}
|
|
1718
|
-
function
|
|
1719
|
-
return (t =
|
|
1663
|
+
function hn(r, t, e) {
|
|
1664
|
+
return (t = mn(t)) in r ? Object.defineProperty(r, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = e, r;
|
|
1720
1665
|
}
|
|
1721
|
-
function
|
|
1722
|
-
var t =
|
|
1723
|
-
return
|
|
1666
|
+
function mn(r) {
|
|
1667
|
+
var t = pn(r, "string");
|
|
1668
|
+
return R(t) == "symbol" ? t : t + "";
|
|
1724
1669
|
}
|
|
1725
|
-
function
|
|
1726
|
-
if (
|
|
1727
|
-
var
|
|
1728
|
-
if (
|
|
1729
|
-
var n =
|
|
1730
|
-
if (
|
|
1670
|
+
function pn(r, t) {
|
|
1671
|
+
if (R(r) != "object" || !r) return r;
|
|
1672
|
+
var e = r[Symbol.toPrimitive];
|
|
1673
|
+
if (e !== void 0) {
|
|
1674
|
+
var n = e.call(r, t);
|
|
1675
|
+
if (R(n) != "object") return n;
|
|
1731
1676
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1732
1677
|
}
|
|
1733
|
-
return (t === "string" ? String : Number)(
|
|
1678
|
+
return (t === "string" ? String : Number)(r);
|
|
1734
1679
|
}
|
|
1735
|
-
function
|
|
1736
|
-
t && t.defaultCountry && !
|
|
1680
|
+
function gn(r, t, e) {
|
|
1681
|
+
t && t.defaultCountry && !Ie(t.defaultCountry, e) && (t = jt(jt({}, t), {}, {
|
|
1737
1682
|
defaultCountry: void 0
|
|
1738
1683
|
}));
|
|
1739
1684
|
try {
|
|
1740
|
-
return
|
|
1685
|
+
return ce(r, t, e);
|
|
1741
1686
|
} catch (n) {
|
|
1742
1687
|
if (!(n instanceof x)) throw n;
|
|
1743
1688
|
}
|
|
1744
1689
|
}
|
|
1745
|
-
function
|
|
1746
|
-
var
|
|
1747
|
-
return
|
|
1690
|
+
function bn() {
|
|
1691
|
+
var r = fe(arguments), t = r.text, e = r.options, n = r.metadata;
|
|
1692
|
+
return gn(t, e, n);
|
|
1748
1693
|
}
|
|
1749
|
-
function
|
|
1694
|
+
function L(r) {
|
|
1750
1695
|
"@babel/helpers - typeof";
|
|
1751
|
-
return
|
|
1696
|
+
return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1752
1697
|
return typeof t;
|
|
1753
1698
|
} : function(t) {
|
|
1754
1699
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1755
|
-
},
|
|
1700
|
+
}, L(r);
|
|
1756
1701
|
}
|
|
1757
|
-
function
|
|
1758
|
-
if (!(
|
|
1702
|
+
function yn(r, t) {
|
|
1703
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
1759
1704
|
}
|
|
1760
|
-
function
|
|
1761
|
-
for (var
|
|
1762
|
-
var n = t[
|
|
1763
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
1705
|
+
function xn(r, t) {
|
|
1706
|
+
for (var e = 0; e < t.length; e++) {
|
|
1707
|
+
var n = t[e];
|
|
1708
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, Nn(n.key), n);
|
|
1764
1709
|
}
|
|
1765
1710
|
}
|
|
1766
|
-
function
|
|
1767
|
-
return t &&
|
|
1711
|
+
function wn(r, t, e) {
|
|
1712
|
+
return t && xn(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
1768
1713
|
}
|
|
1769
|
-
function
|
|
1770
|
-
var t =
|
|
1771
|
-
return
|
|
1714
|
+
function Nn(r) {
|
|
1715
|
+
var t = Cn(r, "string");
|
|
1716
|
+
return L(t) == "symbol" ? t : t + "";
|
|
1772
1717
|
}
|
|
1773
|
-
function
|
|
1774
|
-
if (
|
|
1775
|
-
var
|
|
1776
|
-
if (
|
|
1777
|
-
var n =
|
|
1778
|
-
if (
|
|
1718
|
+
function Cn(r, t) {
|
|
1719
|
+
if (L(r) != "object" || !r) return r;
|
|
1720
|
+
var e = r[Symbol.toPrimitive];
|
|
1721
|
+
if (e !== void 0) {
|
|
1722
|
+
var n = e.call(r, t);
|
|
1723
|
+
if (L(n) != "object") return n;
|
|
1779
1724
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1780
1725
|
}
|
|
1781
|
-
return String(
|
|
1726
|
+
return String(r);
|
|
1782
1727
|
}
|
|
1783
|
-
var
|
|
1784
|
-
function
|
|
1785
|
-
var
|
|
1786
|
-
|
|
1728
|
+
var Pn = /* @__PURE__ */ (function() {
|
|
1729
|
+
function r(t) {
|
|
1730
|
+
var e = t.onCountryChange, n = t.onCallingCodeChange;
|
|
1731
|
+
yn(this, r), this.onCountryChange = e, this.onCallingCodeChange = n;
|
|
1787
1732
|
}
|
|
1788
|
-
return
|
|
1733
|
+
return wn(r, [{
|
|
1789
1734
|
key: "reset",
|
|
1790
|
-
value: function(
|
|
1791
|
-
var n =
|
|
1735
|
+
value: function(e) {
|
|
1736
|
+
var n = e.country, i = e.callingCode;
|
|
1792
1737
|
this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(n, i);
|
|
1793
1738
|
}
|
|
1794
1739
|
}, {
|
|
1795
1740
|
key: "resetNationalSignificantNumber",
|
|
1796
1741
|
value: function() {
|
|
1797
|
-
this.nationalSignificantNumber = this.getNationalDigits(), this.
|
|
1742
|
+
this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberIsModified = !1, this.nationalPrefix = void 0, this.carrierCode = void 0, this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix = void 0;
|
|
1798
1743
|
}
|
|
1799
1744
|
}, {
|
|
1800
1745
|
key: "update",
|
|
1801
|
-
value: function(
|
|
1802
|
-
for (var n = 0, i = Object.keys(
|
|
1746
|
+
value: function(e) {
|
|
1747
|
+
for (var n = 0, i = Object.keys(e); n < i.length; n++) {
|
|
1803
1748
|
var a = i[n];
|
|
1804
|
-
this[a] =
|
|
1749
|
+
this[a] = e[a];
|
|
1805
1750
|
}
|
|
1806
1751
|
}
|
|
1807
1752
|
}, {
|
|
1808
1753
|
key: "initCountryAndCallingCode",
|
|
1809
|
-
value: function(
|
|
1810
|
-
this.setCountry(
|
|
1754
|
+
value: function(e, n) {
|
|
1755
|
+
this.setCountry(e), this.setCallingCode(n);
|
|
1811
1756
|
}
|
|
1812
1757
|
}, {
|
|
1813
1758
|
key: "setCountry",
|
|
1814
|
-
value: function(
|
|
1815
|
-
this.country =
|
|
1759
|
+
value: function(e) {
|
|
1760
|
+
this.country = e, this.onCountryChange(e);
|
|
1816
1761
|
}
|
|
1817
1762
|
}, {
|
|
1818
1763
|
key: "setCallingCode",
|
|
1819
|
-
value: function(
|
|
1820
|
-
this.callingCode =
|
|
1764
|
+
value: function(e) {
|
|
1765
|
+
this.callingCode = e, this.onCallingCodeChange(e, this.country);
|
|
1821
1766
|
}
|
|
1822
1767
|
}, {
|
|
1823
1768
|
key: "startInternationalNumber",
|
|
1824
|
-
value: function(
|
|
1825
|
-
this.international = !0, this.initCountryAndCallingCode(
|
|
1769
|
+
value: function(e, n) {
|
|
1770
|
+
this.international = !0, this.initCountryAndCallingCode(e, n);
|
|
1826
1771
|
}
|
|
1827
1772
|
}, {
|
|
1828
1773
|
key: "appendDigits",
|
|
1829
|
-
value: function(
|
|
1830
|
-
this.digits +=
|
|
1774
|
+
value: function(e) {
|
|
1775
|
+
this.digits += e;
|
|
1831
1776
|
}
|
|
1832
1777
|
}, {
|
|
1833
1778
|
key: "appendNationalSignificantNumberDigits",
|
|
1834
|
-
value: function(
|
|
1835
|
-
this.nationalSignificantNumber +=
|
|
1779
|
+
value: function(e) {
|
|
1780
|
+
this.nationalSignificantNumber += e;
|
|
1836
1781
|
}
|
|
1837
1782
|
/**
|
|
1838
1783
|
* Returns the part of `this.digits` that corresponds to the national number.
|
|
@@ -1853,78 +1798,78 @@ var Fn = /* @__PURE__ */ (function() {
|
|
|
1853
1798
|
}
|
|
1854
1799
|
}]);
|
|
1855
1800
|
})();
|
|
1856
|
-
function
|
|
1857
|
-
var
|
|
1858
|
-
if (
|
|
1859
|
-
if (Array.isArray(
|
|
1860
|
-
|
|
1801
|
+
function Sn(r, t) {
|
|
1802
|
+
var e = typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
1803
|
+
if (e) return (e = e.call(r)).next.bind(e);
|
|
1804
|
+
if (Array.isArray(r) || (e = En(r)) || t) {
|
|
1805
|
+
e && (r = e);
|
|
1861
1806
|
var n = 0;
|
|
1862
1807
|
return function() {
|
|
1863
|
-
return n >=
|
|
1808
|
+
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
1864
1809
|
};
|
|
1865
1810
|
}
|
|
1866
1811
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1867
1812
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1868
1813
|
}
|
|
1869
|
-
function
|
|
1870
|
-
if (
|
|
1871
|
-
if (typeof
|
|
1872
|
-
var
|
|
1873
|
-
return
|
|
1814
|
+
function En(r, t) {
|
|
1815
|
+
if (r) {
|
|
1816
|
+
if (typeof r == "string") return Bt(r, t);
|
|
1817
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
1818
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Bt(r, t) : void 0;
|
|
1874
1819
|
}
|
|
1875
1820
|
}
|
|
1876
|
-
function
|
|
1877
|
-
(t == null || t >
|
|
1878
|
-
for (var
|
|
1821
|
+
function Bt(r, t) {
|
|
1822
|
+
(t == null || t > r.length) && (t = r.length);
|
|
1823
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
1879
1824
|
return n;
|
|
1880
1825
|
}
|
|
1881
|
-
var g = "x",
|
|
1882
|
-
function
|
|
1826
|
+
var g = "x", et = new RegExp(g);
|
|
1827
|
+
function V(r, t) {
|
|
1883
1828
|
if (t < 1)
|
|
1884
1829
|
return "";
|
|
1885
|
-
for (var
|
|
1886
|
-
t & 1 && (
|
|
1887
|
-
return
|
|
1830
|
+
for (var e = ""; t > 1; )
|
|
1831
|
+
t & 1 && (e += r), t >>= 1, r += r;
|
|
1832
|
+
return e + r;
|
|
1888
1833
|
}
|
|
1889
|
-
function
|
|
1890
|
-
return
|
|
1834
|
+
function Gt(r, t) {
|
|
1835
|
+
return r[t] === ")" && t++, In(r.slice(0, t));
|
|
1891
1836
|
}
|
|
1892
|
-
function
|
|
1893
|
-
for (var t = [],
|
|
1894
|
-
e
|
|
1837
|
+
function In(r) {
|
|
1838
|
+
for (var t = [], e = 0; e < r.length; )
|
|
1839
|
+
r[e] === "(" ? t.push(e) : r[e] === ")" && t.pop(), e++;
|
|
1895
1840
|
var n = 0, i = "";
|
|
1896
|
-
t.push(
|
|
1841
|
+
t.push(r.length);
|
|
1897
1842
|
for (var a = 0, d = t; a < d.length; a++) {
|
|
1898
1843
|
var o = d[a];
|
|
1899
|
-
i +=
|
|
1844
|
+
i += r.slice(n, o), n = o + 1;
|
|
1900
1845
|
}
|
|
1901
1846
|
return i;
|
|
1902
1847
|
}
|
|
1903
|
-
function
|
|
1904
|
-
for (var n =
|
|
1848
|
+
function _n(r, t, e) {
|
|
1849
|
+
for (var n = Sn(e.split("")), i; !(i = n()).done; ) {
|
|
1905
1850
|
var a = i.value;
|
|
1906
|
-
if (
|
|
1851
|
+
if (r.slice(t + 1).search(et) < 0)
|
|
1907
1852
|
return;
|
|
1908
|
-
t =
|
|
1853
|
+
t = r.search(et), r = r.replace(et, a);
|
|
1909
1854
|
}
|
|
1910
|
-
return [
|
|
1855
|
+
return [r, t];
|
|
1911
1856
|
}
|
|
1912
|
-
function
|
|
1913
|
-
var n =
|
|
1914
|
-
if (d.test(
|
|
1915
|
-
return
|
|
1857
|
+
function Tn(r, t, e) {
|
|
1858
|
+
var n = e.metadata, i = e.shouldTryNationalPrefixFormattingRule, a = e.getSeparatorAfterNationalPrefix, d = new RegExp("^(?:".concat(t.pattern(), ")$"));
|
|
1859
|
+
if (d.test(r.nationalSignificantNumber))
|
|
1860
|
+
return An(r, t, {
|
|
1916
1861
|
metadata: n,
|
|
1917
1862
|
shouldTryNationalPrefixFormattingRule: i,
|
|
1918
1863
|
getSeparatorAfterNationalPrefix: a
|
|
1919
1864
|
});
|
|
1920
1865
|
}
|
|
1921
|
-
function
|
|
1922
|
-
return
|
|
1866
|
+
function Fn(r, t, e) {
|
|
1867
|
+
return Z(r, t, e) === "IS_POSSIBLE";
|
|
1923
1868
|
}
|
|
1924
|
-
function
|
|
1925
|
-
var n =
|
|
1926
|
-
if (
|
|
1927
|
-
var d =
|
|
1869
|
+
function An(r, t, e) {
|
|
1870
|
+
var n = e.metadata, i = e.shouldTryNationalPrefixFormattingRule, a = e.getSeparatorAfterNationalPrefix;
|
|
1871
|
+
if (r.nationalSignificantNumber, r.international, r.nationalPrefix, r.carrierCode, i(t)) {
|
|
1872
|
+
var d = Ut(r, t, {
|
|
1928
1873
|
useNationalPrefixFormattingRule: !0,
|
|
1929
1874
|
getSeparatorAfterNationalPrefix: a,
|
|
1930
1875
|
metadata: n
|
|
@@ -1932,76 +1877,76 @@ function jn(e, t, r) {
|
|
|
1932
1877
|
if (d)
|
|
1933
1878
|
return d;
|
|
1934
1879
|
}
|
|
1935
|
-
return
|
|
1880
|
+
return Ut(r, t, {
|
|
1936
1881
|
useNationalPrefixFormattingRule: !1,
|
|
1937
1882
|
getSeparatorAfterNationalPrefix: a,
|
|
1938
1883
|
metadata: n
|
|
1939
1884
|
});
|
|
1940
1885
|
}
|
|
1941
|
-
function
|
|
1942
|
-
var n =
|
|
1943
|
-
carrierCode:
|
|
1944
|
-
useInternationalFormat:
|
|
1886
|
+
function Ut(r, t, e) {
|
|
1887
|
+
var n = e.metadata, i = e.useNationalPrefixFormattingRule, a = e.getSeparatorAfterNationalPrefix, d = de(r.nationalSignificantNumber, t, {
|
|
1888
|
+
carrierCode: r.carrierCode,
|
|
1889
|
+
useInternationalFormat: r.international,
|
|
1945
1890
|
withNationalPrefix: i,
|
|
1946
1891
|
metadata: n
|
|
1947
1892
|
});
|
|
1948
|
-
if (i || (
|
|
1893
|
+
if (i || (r.nationalPrefix ? d = r.nationalPrefix + a(t) + d : r.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (d = r.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + d)), kn(d, r))
|
|
1949
1894
|
return d;
|
|
1950
1895
|
}
|
|
1951
|
-
function
|
|
1952
|
-
return
|
|
1896
|
+
function kn(r, t) {
|
|
1897
|
+
return z(r) === t.getNationalDigits();
|
|
1953
1898
|
}
|
|
1954
|
-
function
|
|
1899
|
+
function M(r) {
|
|
1955
1900
|
"@babel/helpers - typeof";
|
|
1956
|
-
return
|
|
1901
|
+
return M = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1957
1902
|
return typeof t;
|
|
1958
1903
|
} : function(t) {
|
|
1959
1904
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1960
|
-
},
|
|
1905
|
+
}, M(r);
|
|
1961
1906
|
}
|
|
1962
|
-
function
|
|
1963
|
-
if (!(
|
|
1907
|
+
function On(r, t) {
|
|
1908
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
1964
1909
|
}
|
|
1965
|
-
function
|
|
1966
|
-
for (var
|
|
1967
|
-
var n = t[
|
|
1968
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
1910
|
+
function Rn(r, t) {
|
|
1911
|
+
for (var e = 0; e < t.length; e++) {
|
|
1912
|
+
var n = t[e];
|
|
1913
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, Mn(n.key), n);
|
|
1969
1914
|
}
|
|
1970
1915
|
}
|
|
1971
|
-
function
|
|
1972
|
-
return t &&
|
|
1916
|
+
function Ln(r, t, e) {
|
|
1917
|
+
return t && Rn(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
1973
1918
|
}
|
|
1974
|
-
function
|
|
1975
|
-
var t =
|
|
1976
|
-
return
|
|
1919
|
+
function Mn(r) {
|
|
1920
|
+
var t = Dn(r, "string");
|
|
1921
|
+
return M(t) == "symbol" ? t : t + "";
|
|
1977
1922
|
}
|
|
1978
|
-
function
|
|
1979
|
-
if (
|
|
1980
|
-
var
|
|
1981
|
-
if (
|
|
1982
|
-
var n =
|
|
1983
|
-
if (
|
|
1923
|
+
function Dn(r, t) {
|
|
1924
|
+
if (M(r) != "object" || !r) return r;
|
|
1925
|
+
var e = r[Symbol.toPrimitive];
|
|
1926
|
+
if (e !== void 0) {
|
|
1927
|
+
var n = e.call(r, t);
|
|
1928
|
+
if (M(n) != "object") return n;
|
|
1984
1929
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1985
1930
|
}
|
|
1986
|
-
return String(
|
|
1931
|
+
return String(r);
|
|
1987
1932
|
}
|
|
1988
|
-
var
|
|
1989
|
-
function
|
|
1990
|
-
|
|
1933
|
+
var jn = /* @__PURE__ */ (function() {
|
|
1934
|
+
function r() {
|
|
1935
|
+
On(this, r);
|
|
1991
1936
|
}
|
|
1992
|
-
return
|
|
1937
|
+
return Ln(r, [{
|
|
1993
1938
|
key: "parse",
|
|
1994
|
-
value: function(
|
|
1939
|
+
value: function(e) {
|
|
1995
1940
|
if (this.context = [{
|
|
1996
1941
|
or: !0,
|
|
1997
1942
|
instructions: []
|
|
1998
|
-
}], this.parsePattern(
|
|
1943
|
+
}], this.parsePattern(e), this.context.length !== 1)
|
|
1999
1944
|
throw new Error("Non-finalized contexts left when pattern parse ended");
|
|
2000
1945
|
var n = this.context[0], i = n.branches, a = n.instructions;
|
|
2001
1946
|
if (i)
|
|
2002
1947
|
return {
|
|
2003
1948
|
op: "|",
|
|
2004
|
-
args: i.concat([
|
|
1949
|
+
args: i.concat([rt(a)])
|
|
2005
1950
|
};
|
|
2006
1951
|
if (a.length === 0)
|
|
2007
1952
|
throw new Error("Pattern is required");
|
|
@@ -2009,8 +1954,8 @@ var Kn = /* @__PURE__ */ (function() {
|
|
|
2009
1954
|
}
|
|
2010
1955
|
}, {
|
|
2011
1956
|
key: "startContext",
|
|
2012
|
-
value: function(
|
|
2013
|
-
this.context.push(
|
|
1957
|
+
value: function(e) {
|
|
1958
|
+
this.context.push(e);
|
|
2014
1959
|
}
|
|
2015
1960
|
}, {
|
|
2016
1961
|
key: "endContext",
|
|
@@ -2024,17 +1969,17 @@ var Kn = /* @__PURE__ */ (function() {
|
|
|
2024
1969
|
}
|
|
2025
1970
|
}, {
|
|
2026
1971
|
key: "parsePattern",
|
|
2027
|
-
value: function(
|
|
2028
|
-
if (!
|
|
1972
|
+
value: function(e) {
|
|
1973
|
+
if (!e)
|
|
2029
1974
|
throw new Error("Pattern is required");
|
|
2030
|
-
var n =
|
|
1975
|
+
var n = e.match(Un);
|
|
2031
1976
|
if (!n) {
|
|
2032
|
-
if (
|
|
2033
|
-
throw new Error("Illegal characters found in a pattern: ".concat(
|
|
2034
|
-
this.getContext().instructions = this.getContext().instructions.concat(
|
|
1977
|
+
if (Gn.test(e))
|
|
1978
|
+
throw new Error("Illegal characters found in a pattern: ".concat(e));
|
|
1979
|
+
this.getContext().instructions = this.getContext().instructions.concat(e.split(""));
|
|
2035
1980
|
return;
|
|
2036
1981
|
}
|
|
2037
|
-
var i = n[1], a =
|
|
1982
|
+
var i = n[1], a = e.slice(0, n.index), d = e.slice(n.index + i.length);
|
|
2038
1983
|
switch (i) {
|
|
2039
1984
|
case "(?:":
|
|
2040
1985
|
a && this.parsePattern(a), this.startContext({
|
|
@@ -2049,7 +1994,7 @@ var Kn = /* @__PURE__ */ (function() {
|
|
|
2049
1994
|
if (a && this.parsePattern(a), this.getContext().instructions.length === 0)
|
|
2050
1995
|
throw new Error('No instructions found after "|" operator in an "or" group');
|
|
2051
1996
|
var o = this.getContext(), l = o.branches;
|
|
2052
|
-
l.push(
|
|
1997
|
+
l.push(rt(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
|
|
2053
1998
|
op: "|",
|
|
2054
1999
|
args: l
|
|
2055
2000
|
});
|
|
@@ -2062,7 +2007,7 @@ var Kn = /* @__PURE__ */ (function() {
|
|
|
2062
2007
|
this.getContext().branches = [];
|
|
2063
2008
|
else
|
|
2064
2009
|
throw new Error('"branches" not found in an "or" group context');
|
|
2065
|
-
this.getContext().branches.push(
|
|
2010
|
+
this.getContext().branches.push(rt(this.getContext().instructions)), this.getContext().instructions = [];
|
|
2066
2011
|
break;
|
|
2067
2012
|
case "[":
|
|
2068
2013
|
a && this.parsePattern(a), this.startContext({
|
|
@@ -2074,7 +2019,7 @@ var Kn = /* @__PURE__ */ (function() {
|
|
|
2074
2019
|
throw new Error('"]" operator must be preceded by "[" operator');
|
|
2075
2020
|
this.endContext(), this.getContext().instructions.push({
|
|
2076
2021
|
op: "[]",
|
|
2077
|
-
args:
|
|
2022
|
+
args: Bn(a)
|
|
2078
2023
|
});
|
|
2079
2024
|
break;
|
|
2080
2025
|
/* istanbul ignore next */
|
|
@@ -2085,120 +2030,120 @@ var Kn = /* @__PURE__ */ (function() {
|
|
|
2085
2030
|
}
|
|
2086
2031
|
}]);
|
|
2087
2032
|
})();
|
|
2088
|
-
function
|
|
2089
|
-
for (var t = [],
|
|
2090
|
-
if (e
|
|
2091
|
-
if (
|
|
2092
|
-
throw new Error("Couldn't parse a one-of set pattern: ".concat(
|
|
2093
|
-
for (var n = e
|
|
2033
|
+
function Bn(r) {
|
|
2034
|
+
for (var t = [], e = 0; e < r.length; ) {
|
|
2035
|
+
if (r[e] === "-") {
|
|
2036
|
+
if (e === 0 || e === r.length - 1)
|
|
2037
|
+
throw new Error("Couldn't parse a one-of set pattern: ".concat(r));
|
|
2038
|
+
for (var n = r[e - 1].charCodeAt(0) + 1, i = r[e + 1].charCodeAt(0) - 1, a = n; a <= i; )
|
|
2094
2039
|
t.push(String.fromCharCode(a)), a++;
|
|
2095
2040
|
} else
|
|
2096
|
-
t.push(e
|
|
2097
|
-
|
|
2041
|
+
t.push(r[e]);
|
|
2042
|
+
e++;
|
|
2098
2043
|
}
|
|
2099
2044
|
return t;
|
|
2100
2045
|
}
|
|
2101
|
-
var
|
|
2046
|
+
var Gn = /[\(\)\[\]\?\:\|]/, Un = new RegExp(
|
|
2102
2047
|
// any of:
|
|
2103
2048
|
"(\\||\\(\\?\\:|\\)|\\[|\\])"
|
|
2104
2049
|
);
|
|
2105
|
-
function
|
|
2106
|
-
return
|
|
2107
|
-
}
|
|
2108
|
-
function
|
|
2109
|
-
var
|
|
2110
|
-
if (
|
|
2111
|
-
if (Array.isArray(
|
|
2112
|
-
|
|
2050
|
+
function rt(r) {
|
|
2051
|
+
return r.length === 1 ? r[0] : r;
|
|
2052
|
+
}
|
|
2053
|
+
function Ht(r, t) {
|
|
2054
|
+
var e = typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
2055
|
+
if (e) return (e = e.call(r)).next.bind(e);
|
|
2056
|
+
if (Array.isArray(r) || (e = Hn(r)) || t) {
|
|
2057
|
+
e && (r = e);
|
|
2113
2058
|
var n = 0;
|
|
2114
2059
|
return function() {
|
|
2115
|
-
return n >=
|
|
2060
|
+
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
2116
2061
|
};
|
|
2117
2062
|
}
|
|
2118
2063
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2119
2064
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2120
2065
|
}
|
|
2121
|
-
function
|
|
2122
|
-
if (
|
|
2123
|
-
if (typeof
|
|
2124
|
-
var
|
|
2125
|
-
return
|
|
2066
|
+
function Hn(r, t) {
|
|
2067
|
+
if (r) {
|
|
2068
|
+
if (typeof r == "string") return Wt(r, t);
|
|
2069
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
2070
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Wt(r, t) : void 0;
|
|
2126
2071
|
}
|
|
2127
2072
|
}
|
|
2128
|
-
function
|
|
2129
|
-
(t == null || t >
|
|
2130
|
-
for (var
|
|
2073
|
+
function Wt(r, t) {
|
|
2074
|
+
(t == null || t > r.length) && (t = r.length);
|
|
2075
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
2131
2076
|
return n;
|
|
2132
2077
|
}
|
|
2133
|
-
function
|
|
2078
|
+
function D(r) {
|
|
2134
2079
|
"@babel/helpers - typeof";
|
|
2135
|
-
return
|
|
2080
|
+
return D = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2136
2081
|
return typeof t;
|
|
2137
2082
|
} : function(t) {
|
|
2138
2083
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2139
|
-
},
|
|
2084
|
+
}, D(r);
|
|
2140
2085
|
}
|
|
2141
|
-
function
|
|
2142
|
-
if (!(
|
|
2086
|
+
function Wn(r, t) {
|
|
2087
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2143
2088
|
}
|
|
2144
|
-
function
|
|
2145
|
-
for (var
|
|
2146
|
-
var n = t[
|
|
2147
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
2089
|
+
function Vn(r, t) {
|
|
2090
|
+
for (var e = 0; e < t.length; e++) {
|
|
2091
|
+
var n = t[e];
|
|
2092
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, zn(n.key), n);
|
|
2148
2093
|
}
|
|
2149
2094
|
}
|
|
2150
|
-
function
|
|
2151
|
-
return t &&
|
|
2095
|
+
function Kn(r, t, e) {
|
|
2096
|
+
return t && Vn(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
2152
2097
|
}
|
|
2153
|
-
function
|
|
2154
|
-
var t =
|
|
2155
|
-
return
|
|
2098
|
+
function zn(r) {
|
|
2099
|
+
var t = Xn(r, "string");
|
|
2100
|
+
return D(t) == "symbol" ? t : t + "";
|
|
2156
2101
|
}
|
|
2157
|
-
function
|
|
2158
|
-
if (
|
|
2159
|
-
var
|
|
2160
|
-
if (
|
|
2161
|
-
var n =
|
|
2162
|
-
if (
|
|
2102
|
+
function Xn(r, t) {
|
|
2103
|
+
if (D(r) != "object" || !r) return r;
|
|
2104
|
+
var e = r[Symbol.toPrimitive];
|
|
2105
|
+
if (e !== void 0) {
|
|
2106
|
+
var n = e.call(r, t);
|
|
2107
|
+
if (D(n) != "object") return n;
|
|
2163
2108
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2164
2109
|
}
|
|
2165
|
-
return String(
|
|
2110
|
+
return String(r);
|
|
2166
2111
|
}
|
|
2167
|
-
var
|
|
2168
|
-
function
|
|
2169
|
-
|
|
2112
|
+
var Yn = /* @__PURE__ */ (function() {
|
|
2113
|
+
function r(t) {
|
|
2114
|
+
Wn(this, r), this.matchTree = new jn().parse(t);
|
|
2170
2115
|
}
|
|
2171
|
-
return
|
|
2116
|
+
return Kn(r, [{
|
|
2172
2117
|
key: "match",
|
|
2173
|
-
value: function(
|
|
2118
|
+
value: function(e) {
|
|
2174
2119
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = n.allowOverflow;
|
|
2175
|
-
if (!
|
|
2120
|
+
if (!e)
|
|
2176
2121
|
throw new Error("String is required");
|
|
2177
|
-
var a =
|
|
2122
|
+
var a = st(e.split(""), this.matchTree, !0);
|
|
2178
2123
|
if (a && a.match && delete a.matchedChars, !(a && a.overflow && !i))
|
|
2179
2124
|
return a;
|
|
2180
2125
|
}
|
|
2181
2126
|
}]);
|
|
2182
2127
|
})();
|
|
2183
|
-
function
|
|
2128
|
+
function st(r, t, e) {
|
|
2184
2129
|
if (typeof t == "string") {
|
|
2185
|
-
var n =
|
|
2186
|
-
return t.indexOf(n) === 0 ?
|
|
2130
|
+
var n = r.join("");
|
|
2131
|
+
return t.indexOf(n) === 0 ? r.length === t.length ? {
|
|
2187
2132
|
match: !0,
|
|
2188
|
-
matchedChars:
|
|
2133
|
+
matchedChars: r
|
|
2189
2134
|
} : {
|
|
2190
2135
|
partialMatch: !0
|
|
2191
2136
|
// matchedChars: characters
|
|
2192
|
-
} : n.indexOf(t) === 0 ?
|
|
2137
|
+
} : n.indexOf(t) === 0 ? e && r.length > t.length ? {
|
|
2193
2138
|
overflow: !0
|
|
2194
2139
|
} : {
|
|
2195
2140
|
match: !0,
|
|
2196
|
-
matchedChars:
|
|
2141
|
+
matchedChars: r.slice(0, t.length)
|
|
2197
2142
|
} : void 0;
|
|
2198
2143
|
}
|
|
2199
2144
|
if (Array.isArray(t)) {
|
|
2200
|
-
for (var i =
|
|
2201
|
-
var d = t[a], o =
|
|
2145
|
+
for (var i = r.slice(), a = 0; a < t.length; ) {
|
|
2146
|
+
var d = t[a], o = st(i, d, e && a === t.length - 1);
|
|
2202
2147
|
if (o) {
|
|
2203
2148
|
if (o.overflow)
|
|
2204
2149
|
return o;
|
|
@@ -2206,7 +2151,7 @@ function ut(e, t, r) {
|
|
|
2206
2151
|
if (i = i.slice(o.matchedChars.length), i.length === 0)
|
|
2207
2152
|
return a === t.length - 1 ? {
|
|
2208
2153
|
match: !0,
|
|
2209
|
-
matchedChars:
|
|
2154
|
+
matchedChars: r
|
|
2210
2155
|
} : {
|
|
2211
2156
|
partialMatch: !0
|
|
2212
2157
|
// matchedChars: characters
|
|
@@ -2223,30 +2168,30 @@ function ut(e, t, r) {
|
|
|
2223
2168
|
} else return;
|
|
2224
2169
|
a++;
|
|
2225
2170
|
}
|
|
2226
|
-
return
|
|
2171
|
+
return e ? {
|
|
2227
2172
|
overflow: !0
|
|
2228
2173
|
} : {
|
|
2229
2174
|
match: !0,
|
|
2230
|
-
matchedChars:
|
|
2175
|
+
matchedChars: r.slice(0, r.length - i.length)
|
|
2231
2176
|
};
|
|
2232
2177
|
}
|
|
2233
2178
|
switch (t.op) {
|
|
2234
2179
|
case "|":
|
|
2235
|
-
for (var l, s =
|
|
2236
|
-
var
|
|
2237
|
-
if (
|
|
2238
|
-
if (
|
|
2239
|
-
return
|
|
2240
|
-
if (
|
|
2180
|
+
for (var l, s = Ht(t.args), u; !(u = s()).done; ) {
|
|
2181
|
+
var $ = u.value, c = st(r, $, e);
|
|
2182
|
+
if (c) {
|
|
2183
|
+
if (c.overflow)
|
|
2184
|
+
return c;
|
|
2185
|
+
if (c.match)
|
|
2241
2186
|
return {
|
|
2242
2187
|
match: !0,
|
|
2243
|
-
matchedChars:
|
|
2188
|
+
matchedChars: c.matchedChars
|
|
2244
2189
|
};
|
|
2245
|
-
if (
|
|
2190
|
+
if (c.partialMatch)
|
|
2246
2191
|
l = !0;
|
|
2247
2192
|
else
|
|
2248
2193
|
throw new Error(`Unsupported match result:
|
|
2249
|
-
`.concat(JSON.stringify(
|
|
2194
|
+
`.concat(JSON.stringify(c, null, 2)));
|
|
2250
2195
|
}
|
|
2251
2196
|
}
|
|
2252
2197
|
return l ? {
|
|
@@ -2254,17 +2199,17 @@ function ut(e, t, r) {
|
|
|
2254
2199
|
// matchedChars: ...
|
|
2255
2200
|
} : void 0;
|
|
2256
2201
|
case "[]":
|
|
2257
|
-
for (var v =
|
|
2258
|
-
var
|
|
2259
|
-
if (
|
|
2260
|
-
return
|
|
2202
|
+
for (var v = Ht(t.args), m; !(m = v()).done; ) {
|
|
2203
|
+
var y = m.value;
|
|
2204
|
+
if (r[0] === y)
|
|
2205
|
+
return r.length === 1 ? {
|
|
2261
2206
|
match: !0,
|
|
2262
|
-
matchedChars:
|
|
2263
|
-
} :
|
|
2207
|
+
matchedChars: r
|
|
2208
|
+
} : e ? {
|
|
2264
2209
|
overflow: !0
|
|
2265
2210
|
} : {
|
|
2266
2211
|
match: !0,
|
|
2267
|
-
matchedChars: [
|
|
2212
|
+
matchedChars: [y]
|
|
2268
2213
|
};
|
|
2269
2214
|
}
|
|
2270
2215
|
return;
|
|
@@ -2273,84 +2218,84 @@ function ut(e, t, r) {
|
|
|
2273
2218
|
throw new Error("Unsupported instruction tree: ".concat(t));
|
|
2274
2219
|
}
|
|
2275
2220
|
}
|
|
2276
|
-
function
|
|
2221
|
+
function j(r) {
|
|
2277
2222
|
"@babel/helpers - typeof";
|
|
2278
|
-
return
|
|
2223
|
+
return j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2279
2224
|
return typeof t;
|
|
2280
2225
|
} : function(t) {
|
|
2281
2226
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2282
|
-
},
|
|
2227
|
+
}, j(r);
|
|
2283
2228
|
}
|
|
2284
|
-
function
|
|
2285
|
-
var
|
|
2286
|
-
if (
|
|
2287
|
-
if (Array.isArray(
|
|
2288
|
-
|
|
2229
|
+
function Vt(r, t) {
|
|
2230
|
+
var e = typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
2231
|
+
if (e) return (e = e.call(r)).next.bind(e);
|
|
2232
|
+
if (Array.isArray(r) || (e = Zn(r)) || t) {
|
|
2233
|
+
e && (r = e);
|
|
2289
2234
|
var n = 0;
|
|
2290
2235
|
return function() {
|
|
2291
|
-
return n >=
|
|
2236
|
+
return n >= r.length ? { done: !0 } : { done: !1, value: r[n++] };
|
|
2292
2237
|
};
|
|
2293
2238
|
}
|
|
2294
2239
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2295
2240
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2296
2241
|
}
|
|
2297
|
-
function
|
|
2298
|
-
if (
|
|
2299
|
-
if (typeof
|
|
2300
|
-
var
|
|
2301
|
-
return
|
|
2242
|
+
function Zn(r, t) {
|
|
2243
|
+
if (r) {
|
|
2244
|
+
if (typeof r == "string") return Kt(r, t);
|
|
2245
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
2246
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Kt(r, t) : void 0;
|
|
2302
2247
|
}
|
|
2303
2248
|
}
|
|
2304
|
-
function
|
|
2305
|
-
(t == null || t >
|
|
2306
|
-
for (var
|
|
2249
|
+
function Kt(r, t) {
|
|
2250
|
+
(t == null || t > r.length) && (t = r.length);
|
|
2251
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
2307
2252
|
return n;
|
|
2308
2253
|
}
|
|
2309
|
-
function
|
|
2310
|
-
if (!(
|
|
2254
|
+
function Jn(r, t) {
|
|
2255
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2311
2256
|
}
|
|
2312
|
-
function
|
|
2313
|
-
for (var
|
|
2314
|
-
var n = t[
|
|
2315
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
2257
|
+
function qn(r, t) {
|
|
2258
|
+
for (var e = 0; e < t.length; e++) {
|
|
2259
|
+
var n = t[e];
|
|
2260
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, ti(n.key), n);
|
|
2316
2261
|
}
|
|
2317
2262
|
}
|
|
2318
|
-
function
|
|
2319
|
-
return t &&
|
|
2263
|
+
function Qn(r, t, e) {
|
|
2264
|
+
return t && qn(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
2320
2265
|
}
|
|
2321
|
-
function
|
|
2322
|
-
var t =
|
|
2323
|
-
return
|
|
2266
|
+
function ti(r) {
|
|
2267
|
+
var t = ei(r, "string");
|
|
2268
|
+
return j(t) == "symbol" ? t : t + "";
|
|
2324
2269
|
}
|
|
2325
|
-
function
|
|
2326
|
-
if (
|
|
2327
|
-
var
|
|
2328
|
-
if (
|
|
2329
|
-
var n =
|
|
2330
|
-
if (
|
|
2270
|
+
function ei(r, t) {
|
|
2271
|
+
if (j(r) != "object" || !r) return r;
|
|
2272
|
+
var e = r[Symbol.toPrimitive];
|
|
2273
|
+
if (e !== void 0) {
|
|
2274
|
+
var n = e.call(r, t);
|
|
2275
|
+
if (j(n) != "object") return n;
|
|
2331
2276
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2332
2277
|
}
|
|
2333
|
-
return String(
|
|
2278
|
+
return String(r);
|
|
2334
2279
|
}
|
|
2335
|
-
var
|
|
2280
|
+
var ut = "9", ri = 15, ni = V(ut, ri), ii = /[- ]/, ai = function() {
|
|
2336
2281
|
return /\[([^\[\]])*\]/g;
|
|
2337
|
-
},
|
|
2282
|
+
}, di = function() {
|
|
2338
2283
|
return /\d(?=[^,}][^,}])/g;
|
|
2339
|
-
},
|
|
2340
|
-
function
|
|
2284
|
+
}, oi = new RegExp("[" + b + "]*\\$1[" + b + "]*(\\$\\d[" + b + "]*)*$"), zt = 3, li = /* @__PURE__ */ (function() {
|
|
2285
|
+
function r(t) {
|
|
2341
2286
|
t.state;
|
|
2342
|
-
var
|
|
2343
|
-
|
|
2287
|
+
var e = t.metadata;
|
|
2288
|
+
Jn(this, r), this.metadata = e, this.resetFormat();
|
|
2344
2289
|
}
|
|
2345
|
-
return
|
|
2290
|
+
return Qn(r, [{
|
|
2346
2291
|
key: "resetFormat",
|
|
2347
2292
|
value: function() {
|
|
2348
2293
|
this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
|
|
2349
2294
|
}
|
|
2350
2295
|
}, {
|
|
2351
2296
|
key: "reset",
|
|
2352
|
-
value: function(
|
|
2353
|
-
this.resetFormat(),
|
|
2297
|
+
value: function(e, n) {
|
|
2298
|
+
this.resetFormat(), e ? (this.isNANP = e.callingCode() === "1", this.matchingFormats = e.formats(), n.nationalSignificantNumber && this.narrowDownMatchingFormats(n)) : (this.isNANP = void 0, this.matchingFormats = []);
|
|
2354
2299
|
}
|
|
2355
2300
|
/**
|
|
2356
2301
|
* Formats an updated phone number.
|
|
@@ -2360,11 +2305,11 @@ var $t = "9", si = 15, ui = K($t, si), $i = /[- ]/, ci = function() {
|
|
|
2360
2305
|
*/
|
|
2361
2306
|
}, {
|
|
2362
2307
|
key: "format",
|
|
2363
|
-
value: function(
|
|
2308
|
+
value: function(e, n) {
|
|
2364
2309
|
var i = this;
|
|
2365
|
-
if (
|
|
2366
|
-
for (var a =
|
|
2367
|
-
var o = d.value, l =
|
|
2310
|
+
if (Fn(n.nationalSignificantNumber, n.country, this.metadata))
|
|
2311
|
+
for (var a = Vt(this.matchingFormats), d; !(d = a()).done; ) {
|
|
2312
|
+
var o = d.value, l = Tn(n, o, {
|
|
2368
2313
|
metadata: this.metadata,
|
|
2369
2314
|
shouldTryNationalPrefixFormattingRule: function(u) {
|
|
2370
2315
|
return i.shouldTryNationalPrefixFormattingRule(u, {
|
|
@@ -2379,41 +2324,41 @@ var $t = "9", si = 15, ui = K($t, si), $i = /[- ]/, ci = function() {
|
|
|
2379
2324
|
if (l)
|
|
2380
2325
|
return this.resetFormat(), this.chosenFormat = o, this.setNationalNumberTemplate(l.replace(/\d/g, g), n), this.populatedNationalNumberTemplate = l, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(g), l;
|
|
2381
2326
|
}
|
|
2382
|
-
return this.formatNationalNumberWithNextDigits(
|
|
2327
|
+
return this.formatNationalNumberWithNextDigits(e, n);
|
|
2383
2328
|
}
|
|
2384
2329
|
// Formats the next phone number digits.
|
|
2385
2330
|
}, {
|
|
2386
2331
|
key: "formatNationalNumberWithNextDigits",
|
|
2387
|
-
value: function(
|
|
2332
|
+
value: function(e, n) {
|
|
2388
2333
|
var i = this.chosenFormat, a = this.chooseFormat(n);
|
|
2389
2334
|
if (a)
|
|
2390
|
-
return a === i ? this.formatNextNationalNumberDigits(
|
|
2335
|
+
return a === i ? this.formatNextNationalNumberDigits(e) : this.formatNextNationalNumberDigits(n.getNationalDigits());
|
|
2391
2336
|
}
|
|
2392
2337
|
}, {
|
|
2393
2338
|
key: "narrowDownMatchingFormats",
|
|
2394
|
-
value: function(
|
|
2395
|
-
var n = this, i =
|
|
2339
|
+
value: function(e) {
|
|
2340
|
+
var n = this, i = e.nationalSignificantNumber, a = e.nationalPrefix, d = e.international, o = i, l = o.length - zt;
|
|
2396
2341
|
l < 0 && (l = 0), this.matchingFormats = this.matchingFormats.filter(function(s) {
|
|
2397
2342
|
return n.formatSuits(s, d, a) && n.formatMatches(s, o, l);
|
|
2398
2343
|
}), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
|
|
2399
2344
|
}
|
|
2400
2345
|
}, {
|
|
2401
2346
|
key: "formatSuits",
|
|
2402
|
-
value: function(
|
|
2403
|
-
return !(i && !
|
|
2404
|
-
!
|
|
2347
|
+
value: function(e, n, i) {
|
|
2348
|
+
return !(i && !e.usesNationalPrefix() && // !format.domesticCarrierCodeFormattingRule() &&
|
|
2349
|
+
!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !n && !i && e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
|
|
2405
2350
|
}
|
|
2406
2351
|
}, {
|
|
2407
2352
|
key: "formatMatches",
|
|
2408
|
-
value: function(
|
|
2409
|
-
var a =
|
|
2353
|
+
value: function(e, n, i) {
|
|
2354
|
+
var a = e.leadingDigitsPatterns().length;
|
|
2410
2355
|
if (a === 0)
|
|
2411
2356
|
return !0;
|
|
2412
2357
|
i = Math.min(i, a - 1);
|
|
2413
|
-
var d =
|
|
2414
|
-
if (n.length <
|
|
2358
|
+
var d = e.leadingDigitsPatterns()[i];
|
|
2359
|
+
if (n.length < zt)
|
|
2415
2360
|
try {
|
|
2416
|
-
return new
|
|
2361
|
+
return new Yn(d).match(n, {
|
|
2417
2362
|
allowOverflow: !0
|
|
2418
2363
|
}) !== void 0;
|
|
2419
2364
|
} catch (o) {
|
|
@@ -2423,56 +2368,56 @@ var $t = "9", si = 15, ui = K($t, si), $i = /[- ]/, ci = function() {
|
|
|
2423
2368
|
}
|
|
2424
2369
|
}, {
|
|
2425
2370
|
key: "getFormatFormat",
|
|
2426
|
-
value: function(
|
|
2427
|
-
return n ?
|
|
2371
|
+
value: function(e, n) {
|
|
2372
|
+
return n ? e.internationalFormat() : e.format();
|
|
2428
2373
|
}
|
|
2429
2374
|
}, {
|
|
2430
2375
|
key: "chooseFormat",
|
|
2431
|
-
value: function(
|
|
2376
|
+
value: function(e) {
|
|
2432
2377
|
for (var n = this, i = function() {
|
|
2433
2378
|
var s = o.value;
|
|
2434
|
-
return n.chosenFormat === s ? 0 :
|
|
2379
|
+
return n.chosenFormat === s ? 0 : oi.test(n.getFormatFormat(s, e.international)) ? n.createTemplateForFormat(s, e) ? (n.chosenFormat = s, 0) : (n.matchingFormats = n.matchingFormats.filter(function(u) {
|
|
2435
2380
|
return u !== s;
|
|
2436
2381
|
}), 1) : 1;
|
|
2437
|
-
}, a, d =
|
|
2382
|
+
}, a, d = Vt(this.matchingFormats.slice()), o; !(o = d()).done && (a = i(), a !== 0); )
|
|
2438
2383
|
;
|
|
2439
2384
|
return this.chosenFormat || this.resetFormat(), this.chosenFormat;
|
|
2440
2385
|
}
|
|
2441
2386
|
}, {
|
|
2442
2387
|
key: "createTemplateForFormat",
|
|
2443
|
-
value: function(
|
|
2444
|
-
if (!(
|
|
2445
|
-
var i = this.getTemplateForFormat(
|
|
2388
|
+
value: function(e, n) {
|
|
2389
|
+
if (!(e.pattern().indexOf("|") >= 0)) {
|
|
2390
|
+
var i = this.getTemplateForFormat(e, n);
|
|
2446
2391
|
if (i)
|
|
2447
2392
|
return this.setNationalNumberTemplate(i, n), !0;
|
|
2448
2393
|
}
|
|
2449
2394
|
}
|
|
2450
2395
|
}, {
|
|
2451
2396
|
key: "getSeparatorAfterNationalPrefix",
|
|
2452
|
-
value: function(
|
|
2453
|
-
return this.isNANP ||
|
|
2397
|
+
value: function(e) {
|
|
2398
|
+
return this.isNANP || e && e.nationalPrefixFormattingRule() && ii.test(e.nationalPrefixFormattingRule()) ? " " : "";
|
|
2454
2399
|
}
|
|
2455
2400
|
}, {
|
|
2456
2401
|
key: "getInternationalPrefixBeforeCountryCallingCode",
|
|
2457
|
-
value: function(
|
|
2458
|
-
var i =
|
|
2402
|
+
value: function(e, n) {
|
|
2403
|
+
var i = e.IDDPrefix, a = e.missingPlus;
|
|
2459
2404
|
return i ? n && n.spacing === !1 ? i : i + " " : a ? "" : "+";
|
|
2460
2405
|
}
|
|
2461
2406
|
}, {
|
|
2462
2407
|
key: "getTemplate",
|
|
2463
|
-
value: function(
|
|
2408
|
+
value: function(e) {
|
|
2464
2409
|
if (this.template) {
|
|
2465
|
-
for (var n = -1, i = 0, a =
|
|
2410
|
+
for (var n = -1, i = 0, a = e.international ? this.getInternationalPrefixBeforeCountryCallingCode(e, {
|
|
2466
2411
|
spacing: !1
|
|
2467
|
-
}) : ""; i < a.length +
|
|
2412
|
+
}) : ""; i < a.length + e.getDigitsWithoutInternationalPrefix().length; )
|
|
2468
2413
|
n = this.template.indexOf(g, n + 1), i++;
|
|
2469
|
-
return
|
|
2414
|
+
return Gt(this.template, n + 1);
|
|
2470
2415
|
}
|
|
2471
2416
|
}
|
|
2472
2417
|
}, {
|
|
2473
2418
|
key: "setNationalNumberTemplate",
|
|
2474
|
-
value: function(
|
|
2475
|
-
this.nationalNumberTemplate =
|
|
2419
|
+
value: function(e, n) {
|
|
2420
|
+
this.nationalNumberTemplate = e, this.populatedNationalNumberTemplate = e, this.populatedNationalNumberTemplatePosition = -1, n.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(n).replace(/[\d\+]/g, g) + V(g, n.callingCode.length) + " " + e : this.template = e;
|
|
2476
2421
|
}
|
|
2477
2422
|
/**
|
|
2478
2423
|
* Generates formatting template for a national phone number,
|
|
@@ -2483,87 +2428,87 @@ var $t = "9", si = 15, ui = K($t, si), $i = /[- ]/, ci = function() {
|
|
|
2483
2428
|
*/
|
|
2484
2429
|
}, {
|
|
2485
2430
|
key: "getTemplateForFormat",
|
|
2486
|
-
value: function(
|
|
2487
|
-
var i = n.nationalSignificantNumber, a = n.international, d = n.nationalPrefix, o = n.
|
|
2488
|
-
l = l.replace(
|
|
2489
|
-
var s =
|
|
2431
|
+
value: function(e, n) {
|
|
2432
|
+
var i = n.nationalSignificantNumber, a = n.international, d = n.nationalPrefix, o = n.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix, l = e.pattern();
|
|
2433
|
+
l = l.replace(ai(), "\\d").replace(di(), "\\d");
|
|
2434
|
+
var s = ni.match(l)[0];
|
|
2490
2435
|
if (!(i.length > s.length)) {
|
|
2491
|
-
var u = new RegExp("^" + l + "$"),
|
|
2492
|
-
u.test(
|
|
2493
|
-
var
|
|
2494
|
-
if (this.shouldTryNationalPrefixFormattingRule(
|
|
2436
|
+
var u = new RegExp("^" + l + "$"), $ = i.replace(/\d/g, ut);
|
|
2437
|
+
u.test($) && (s = $);
|
|
2438
|
+
var c = this.getFormatFormat(e, a), v;
|
|
2439
|
+
if (this.shouldTryNationalPrefixFormattingRule(e, {
|
|
2495
2440
|
international: a,
|
|
2496
2441
|
nationalPrefix: d
|
|
2497
2442
|
})) {
|
|
2498
|
-
var
|
|
2499
|
-
if (
|
|
2500
|
-
for (var
|
|
2501
|
-
|
|
2443
|
+
var m = c.replace(ae, e.nationalPrefixFormattingRule());
|
|
2444
|
+
if (z(e.nationalPrefixFormattingRule()) === (d || "") + z("$1") && (c = m, v = !0, d))
|
|
2445
|
+
for (var y = d.length; y > 0; )
|
|
2446
|
+
c = c.replace(/\d/, g), y--;
|
|
2502
2447
|
}
|
|
2503
|
-
var p = s.replace(new RegExp(l),
|
|
2504
|
-
return v || (o ? p =
|
|
2448
|
+
var p = s.replace(new RegExp(l), c).replace(new RegExp(ut, "g"), g);
|
|
2449
|
+
return v || (o ? p = V(g, o.length) + " " + p : d && (p = V(g, d.length) + this.getSeparatorAfterNationalPrefix(e) + p)), a && (p = ie(p)), p;
|
|
2505
2450
|
}
|
|
2506
2451
|
}
|
|
2507
2452
|
}, {
|
|
2508
2453
|
key: "formatNextNationalNumberDigits",
|
|
2509
|
-
value: function(
|
|
2510
|
-
var n =
|
|
2454
|
+
value: function(e) {
|
|
2455
|
+
var n = _n(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, e);
|
|
2511
2456
|
if (!n) {
|
|
2512
2457
|
this.resetFormat();
|
|
2513
2458
|
return;
|
|
2514
2459
|
}
|
|
2515
|
-
return this.populatedNationalNumberTemplate = n[0], this.populatedNationalNumberTemplatePosition = n[1],
|
|
2460
|
+
return this.populatedNationalNumberTemplate = n[0], this.populatedNationalNumberTemplatePosition = n[1], Gt(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
|
|
2516
2461
|
}
|
|
2517
2462
|
}, {
|
|
2518
2463
|
key: "shouldTryNationalPrefixFormattingRule",
|
|
2519
|
-
value: function(
|
|
2464
|
+
value: function(e, n) {
|
|
2520
2465
|
var i = n.international, a = n.nationalPrefix;
|
|
2521
|
-
if (
|
|
2522
|
-
var d =
|
|
2466
|
+
if (e.nationalPrefixFormattingRule()) {
|
|
2467
|
+
var d = e.usesNationalPrefix();
|
|
2523
2468
|
if (d && a || !d && !i)
|
|
2524
2469
|
return !0;
|
|
2525
2470
|
}
|
|
2526
2471
|
}
|
|
2527
2472
|
}]);
|
|
2528
2473
|
})();
|
|
2529
|
-
function
|
|
2474
|
+
function B(r) {
|
|
2530
2475
|
"@babel/helpers - typeof";
|
|
2531
|
-
return
|
|
2476
|
+
return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2532
2477
|
return typeof t;
|
|
2533
2478
|
} : function(t) {
|
|
2534
2479
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2535
|
-
},
|
|
2480
|
+
}, B(r);
|
|
2536
2481
|
}
|
|
2537
|
-
function
|
|
2538
|
-
return
|
|
2482
|
+
function ve(r, t) {
|
|
2483
|
+
return ci(r) || $i(r, t) || ui(r, t) || si();
|
|
2539
2484
|
}
|
|
2540
|
-
function
|
|
2485
|
+
function si() {
|
|
2541
2486
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2542
2487
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2543
2488
|
}
|
|
2544
|
-
function
|
|
2545
|
-
if (
|
|
2546
|
-
if (typeof
|
|
2547
|
-
var
|
|
2548
|
-
return
|
|
2489
|
+
function ui(r, t) {
|
|
2490
|
+
if (r) {
|
|
2491
|
+
if (typeof r == "string") return Xt(r, t);
|
|
2492
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
2493
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Xt(r, t) : void 0;
|
|
2549
2494
|
}
|
|
2550
2495
|
}
|
|
2551
|
-
function
|
|
2552
|
-
(t == null || t >
|
|
2553
|
-
for (var
|
|
2496
|
+
function Xt(r, t) {
|
|
2497
|
+
(t == null || t > r.length) && (t = r.length);
|
|
2498
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
2554
2499
|
return n;
|
|
2555
2500
|
}
|
|
2556
|
-
function
|
|
2557
|
-
var
|
|
2558
|
-
if (
|
|
2501
|
+
function $i(r, t) {
|
|
2502
|
+
var e = r == null ? null : typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
2503
|
+
if (e != null) {
|
|
2559
2504
|
var n, i, a, d, o = [], l = !0, s = !1;
|
|
2560
2505
|
try {
|
|
2561
|
-
if (a = (
|
|
2506
|
+
if (a = (e = e.call(r)).next, t !== 0) for (; !(l = (n = a.call(e)).done) && (o.push(n.value), o.length !== t); l = !0) ;
|
|
2562
2507
|
} catch (u) {
|
|
2563
2508
|
s = !0, i = u;
|
|
2564
2509
|
} finally {
|
|
2565
2510
|
try {
|
|
2566
|
-
if (!l &&
|
|
2511
|
+
if (!l && e.return != null && (d = e.return(), Object(d) !== d)) return;
|
|
2567
2512
|
} finally {
|
|
2568
2513
|
if (s) throw i;
|
|
2569
2514
|
}
|
|
@@ -2571,45 +2516,45 @@ function gi(e, t) {
|
|
|
2571
2516
|
return o;
|
|
2572
2517
|
}
|
|
2573
2518
|
}
|
|
2574
|
-
function
|
|
2575
|
-
if (Array.isArray(
|
|
2519
|
+
function ci(r) {
|
|
2520
|
+
if (Array.isArray(r)) return r;
|
|
2576
2521
|
}
|
|
2577
|
-
function
|
|
2578
|
-
if (!(
|
|
2522
|
+
function fi(r, t) {
|
|
2523
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2579
2524
|
}
|
|
2580
|
-
function
|
|
2581
|
-
for (var
|
|
2582
|
-
var n = t[
|
|
2583
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
2525
|
+
function vi(r, t) {
|
|
2526
|
+
for (var e = 0; e < t.length; e++) {
|
|
2527
|
+
var n = t[e];
|
|
2528
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, mi(n.key), n);
|
|
2584
2529
|
}
|
|
2585
2530
|
}
|
|
2586
|
-
function
|
|
2587
|
-
return t &&
|
|
2531
|
+
function hi(r, t, e) {
|
|
2532
|
+
return t && vi(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
2588
2533
|
}
|
|
2589
|
-
function
|
|
2590
|
-
var t =
|
|
2591
|
-
return
|
|
2534
|
+
function mi(r) {
|
|
2535
|
+
var t = pi(r, "string");
|
|
2536
|
+
return B(t) == "symbol" ? t : t + "";
|
|
2592
2537
|
}
|
|
2593
|
-
function
|
|
2594
|
-
if (
|
|
2595
|
-
var
|
|
2596
|
-
if (
|
|
2597
|
-
var n =
|
|
2598
|
-
if (
|
|
2538
|
+
function pi(r, t) {
|
|
2539
|
+
if (B(r) != "object" || !r) return r;
|
|
2540
|
+
var e = r[Symbol.toPrimitive];
|
|
2541
|
+
if (e !== void 0) {
|
|
2542
|
+
var n = e.call(r, t);
|
|
2543
|
+
if (B(n) != "object") return n;
|
|
2599
2544
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2600
2545
|
}
|
|
2601
|
-
return String(
|
|
2546
|
+
return String(r);
|
|
2602
2547
|
}
|
|
2603
|
-
var
|
|
2604
|
-
function
|
|
2605
|
-
var
|
|
2606
|
-
|
|
2548
|
+
var gi = "[" + b + h + "]+", bi = new RegExp("^" + gi + "$", "i"), yi = "(?:[" + J + "][" + b + h + "]*|[" + b + h + "]+)", xi = new RegExp("[^" + b + h + "]+.*$"), wi = /[^\d\[\]]/, Ni = /* @__PURE__ */ (function() {
|
|
2549
|
+
function r(t) {
|
|
2550
|
+
var e = t.defaultCountry, n = t.defaultCallingCode, i = t.metadata, a = t.onNationalSignificantNumberChange;
|
|
2551
|
+
fi(this, r), this.defaultCountry = e, this.defaultCallingCode = n, this.metadata = i, this.onNationalSignificantNumberChange = a;
|
|
2607
2552
|
}
|
|
2608
|
-
return
|
|
2553
|
+
return hi(r, [{
|
|
2609
2554
|
key: "input",
|
|
2610
|
-
value: function(
|
|
2611
|
-
var i =
|
|
2612
|
-
return o && (n.digits || (n.startInternationalNumber(), l || (s = !0))), l && this.inputDigits(l, n), {
|
|
2555
|
+
value: function(e, n) {
|
|
2556
|
+
var i = Si(e), a = ve(i, 2), d = a[0], o = a[1], l = z(d), s;
|
|
2557
|
+
return o && (n.digits || (n.startInternationalNumber(void 0, void 0), l || (s = !0))), l && this.inputDigits(l, n), {
|
|
2613
2558
|
digits: l,
|
|
2614
2559
|
justLeadingPlus: s
|
|
2615
2560
|
};
|
|
@@ -2621,41 +2566,41 @@ var Pi = "[" + y + m + "]+", Si = new RegExp("^" + Pi + "$", "i"), Ei = "(?:[" +
|
|
|
2621
2566
|
*/
|
|
2622
2567
|
}, {
|
|
2623
2568
|
key: "inputDigits",
|
|
2624
|
-
value: function(
|
|
2625
|
-
var i = n.digits, a = i.length < 3 && i.length +
|
|
2626
|
-
if (n.appendDigits(
|
|
2569
|
+
value: function(e, n) {
|
|
2570
|
+
var i = n.digits, a = i.length < 3 && i.length + e.length >= 3;
|
|
2571
|
+
if (n.appendDigits(e), a && this.extractIddPrefix(n), this.isWaitingForCountryCallingCode(n)) {
|
|
2627
2572
|
if (!this.extractCountryCallingCode(n))
|
|
2628
2573
|
return;
|
|
2629
2574
|
} else
|
|
2630
|
-
n.appendNationalSignificantNumberDigits(
|
|
2575
|
+
n.appendNationalSignificantNumberDigits(e);
|
|
2631
2576
|
n.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(n.getNationalDigits(), function(d) {
|
|
2632
2577
|
return n.update(d);
|
|
2633
2578
|
});
|
|
2634
2579
|
}
|
|
2635
2580
|
}, {
|
|
2636
2581
|
key: "isWaitingForCountryCallingCode",
|
|
2637
|
-
value: function(
|
|
2638
|
-
var n =
|
|
2582
|
+
value: function(e) {
|
|
2583
|
+
var n = e.international, i = e.callingCode;
|
|
2639
2584
|
return n && !i;
|
|
2640
2585
|
}
|
|
2641
2586
|
// Extracts a country calling code from a number
|
|
2642
2587
|
// being entered in internatonal format.
|
|
2643
2588
|
}, {
|
|
2644
2589
|
key: "extractCountryCallingCode",
|
|
2645
|
-
value: function(
|
|
2646
|
-
var n =
|
|
2590
|
+
value: function(e) {
|
|
2591
|
+
var n = ht("+" + e.getDigitsWithoutInternationalPrefix(), e.country, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), i = n.countryCallingCode, a = n.number;
|
|
2647
2592
|
if (i)
|
|
2648
|
-
return
|
|
2593
|
+
return e.setCallingCode(i), e.update({
|
|
2649
2594
|
nationalSignificantNumber: a
|
|
2650
2595
|
}), !0;
|
|
2651
2596
|
}
|
|
2652
2597
|
}, {
|
|
2653
2598
|
key: "reset",
|
|
2654
|
-
value: function(
|
|
2655
|
-
if (
|
|
2599
|
+
value: function(e) {
|
|
2600
|
+
if (e) {
|
|
2656
2601
|
this.hasSelectedNumberingPlan = !0;
|
|
2657
|
-
var n =
|
|
2658
|
-
this.couldPossiblyExtractAnotherNationalSignificantNumber = n &&
|
|
2602
|
+
var n = e._nationalPrefixForParsing();
|
|
2603
|
+
this.couldPossiblyExtractAnotherNationalSignificantNumber = n && wi.test(n);
|
|
2659
2604
|
} else
|
|
2660
2605
|
this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
|
|
2661
2606
|
}
|
|
@@ -2668,11 +2613,11 @@ var Pi = "[" + y + m + "]+", Si = new RegExp("^" + Pi + "$", "i"), Ei = "(?:[" +
|
|
|
2668
2613
|
*/
|
|
2669
2614
|
}, {
|
|
2670
2615
|
key: "extractNationalSignificantNumber",
|
|
2671
|
-
value: function(
|
|
2616
|
+
value: function(e, n) {
|
|
2672
2617
|
if (this.hasSelectedNumberingPlan) {
|
|
2673
|
-
var i =
|
|
2674
|
-
if (d !==
|
|
2675
|
-
return this.onExtractedNationalNumber(a, o, d,
|
|
2618
|
+
var i = nt(e, this.metadata), a = i.nationalPrefix, d = i.nationalNumber, o = i.carrierCode;
|
|
2619
|
+
if (d !== e)
|
|
2620
|
+
return this.onExtractedNationalNumber(a, o, d, e, n), !0;
|
|
2676
2621
|
}
|
|
2677
2622
|
}
|
|
2678
2623
|
/**
|
|
@@ -2682,54 +2627,55 @@ var Pi = "[" + y + m + "]+", Si = new RegExp("^" + Pi + "$", "i"), Ei = "(?:[" +
|
|
|
2682
2627
|
*/
|
|
2683
2628
|
}, {
|
|
2684
2629
|
key: "extractAnotherNationalSignificantNumber",
|
|
2685
|
-
value: function(
|
|
2630
|
+
value: function(e, n, i) {
|
|
2686
2631
|
if (!this.hasExtractedNationalSignificantNumber)
|
|
2687
|
-
return this.extractNationalSignificantNumber(
|
|
2632
|
+
return this.extractNationalSignificantNumber(e, i);
|
|
2688
2633
|
if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
|
|
2689
|
-
var a =
|
|
2634
|
+
var a = nt(e, this.metadata), d = a.nationalPrefix, o = a.nationalNumber, l = a.carrierCode;
|
|
2690
2635
|
if (o !== n)
|
|
2691
|
-
return this.onExtractedNationalNumber(d, l, o,
|
|
2636
|
+
return this.onExtractedNationalNumber(d, l, o, e, i), !0;
|
|
2692
2637
|
}
|
|
2693
2638
|
}
|
|
2694
2639
|
}, {
|
|
2695
2640
|
key: "onExtractedNationalNumber",
|
|
2696
|
-
value: function(
|
|
2697
|
-
var o, l, s = a.lastIndexOf(i);
|
|
2698
|
-
if (s
|
|
2699
|
-
|
|
2641
|
+
value: function(e, n, i, a, d) {
|
|
2642
|
+
var o = !1, l, s = a.lastIndexOf(i);
|
|
2643
|
+
if (s < 0 || s !== a.length - i.length)
|
|
2644
|
+
o = !0;
|
|
2645
|
+
else {
|
|
2700
2646
|
var u = a.slice(0, s);
|
|
2701
|
-
u !==
|
|
2647
|
+
u && u !== e && (l = u);
|
|
2702
2648
|
}
|
|
2703
2649
|
d({
|
|
2704
|
-
nationalPrefix:
|
|
2650
|
+
nationalPrefix: e,
|
|
2705
2651
|
carrierCode: n,
|
|
2706
2652
|
nationalSignificantNumber: i,
|
|
2707
|
-
|
|
2708
|
-
|
|
2653
|
+
nationalSignificantNumberIsModified: o,
|
|
2654
|
+
prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix: l
|
|
2709
2655
|
}), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
|
|
2710
2656
|
}
|
|
2711
2657
|
}, {
|
|
2712
2658
|
key: "reExtractNationalSignificantNumber",
|
|
2713
|
-
value: function(
|
|
2714
|
-
if (this.extractAnotherNationalSignificantNumber(
|
|
2715
|
-
return
|
|
2659
|
+
value: function(e) {
|
|
2660
|
+
if (this.extractAnotherNationalSignificantNumber(e.getNationalDigits(), e.nationalSignificantNumber, function(n) {
|
|
2661
|
+
return e.update(n);
|
|
2716
2662
|
}))
|
|
2717
2663
|
return !0;
|
|
2718
|
-
if (this.extractIddPrefix(
|
|
2719
|
-
return this.extractCallingCodeAndNationalSignificantNumber(
|
|
2720
|
-
if (this.fixMissingPlus(
|
|
2721
|
-
return this.extractCallingCodeAndNationalSignificantNumber(
|
|
2664
|
+
if (this.extractIddPrefix(e))
|
|
2665
|
+
return this.extractCallingCodeAndNationalSignificantNumber(e), !0;
|
|
2666
|
+
if (this.fixMissingPlus(e))
|
|
2667
|
+
return this.extractCallingCodeAndNationalSignificantNumber(e), !0;
|
|
2722
2668
|
}
|
|
2723
2669
|
}, {
|
|
2724
2670
|
key: "extractIddPrefix",
|
|
2725
|
-
value: function(
|
|
2726
|
-
var n =
|
|
2727
|
-
if (
|
|
2728
|
-
var d =
|
|
2671
|
+
value: function(e) {
|
|
2672
|
+
var n = e.international, i = e.IDDPrefix, a = e.digits;
|
|
2673
|
+
if (e.nationalSignificantNumber, !(n || i)) {
|
|
2674
|
+
var d = ee(a, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
|
|
2729
2675
|
if (d !== void 0 && d !== a)
|
|
2730
|
-
return
|
|
2676
|
+
return e.update({
|
|
2731
2677
|
IDDPrefix: a.slice(0, a.length - d.length)
|
|
2732
|
-
}), this.startInternationalNumber(
|
|
2678
|
+
}), this.startInternationalNumber(e, {
|
|
2733
2679
|
country: void 0,
|
|
2734
2680
|
callingCode: void 0
|
|
2735
2681
|
}), !0;
|
|
@@ -2737,87 +2683,87 @@ var Pi = "[" + y + m + "]+", Si = new RegExp("^" + Pi + "$", "i"), Ei = "(?:[" +
|
|
|
2737
2683
|
}
|
|
2738
2684
|
}, {
|
|
2739
2685
|
key: "fixMissingPlus",
|
|
2740
|
-
value: function(
|
|
2741
|
-
if (!
|
|
2742
|
-
var n =
|
|
2743
|
-
if (
|
|
2744
|
-
return
|
|
2686
|
+
value: function(e) {
|
|
2687
|
+
if (!e.international) {
|
|
2688
|
+
var n = ne(e.digits, e.country, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), i = n.countryCallingCode;
|
|
2689
|
+
if (i)
|
|
2690
|
+
return e.update({
|
|
2745
2691
|
missingPlus: !0
|
|
2746
|
-
}), this.startInternationalNumber(
|
|
2747
|
-
country:
|
|
2692
|
+
}), this.startInternationalNumber(e, {
|
|
2693
|
+
country: e.country,
|
|
2748
2694
|
callingCode: i
|
|
2749
2695
|
}), !0;
|
|
2750
2696
|
}
|
|
2751
2697
|
}
|
|
2752
2698
|
}, {
|
|
2753
2699
|
key: "startInternationalNumber",
|
|
2754
|
-
value: function(
|
|
2700
|
+
value: function(e, n) {
|
|
2755
2701
|
var i = n.country, a = n.callingCode;
|
|
2756
|
-
|
|
2702
|
+
e.startInternationalNumber(i, a), e.nationalSignificantNumber && (e.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
|
|
2757
2703
|
}
|
|
2758
2704
|
}, {
|
|
2759
2705
|
key: "extractCallingCodeAndNationalSignificantNumber",
|
|
2760
|
-
value: function(
|
|
2761
|
-
this.extractCountryCallingCode(
|
|
2762
|
-
return
|
|
2706
|
+
value: function(e) {
|
|
2707
|
+
this.extractCountryCallingCode(e) && this.extractNationalSignificantNumber(e.getNationalDigits(), function(n) {
|
|
2708
|
+
return e.update(n);
|
|
2763
2709
|
});
|
|
2764
2710
|
}
|
|
2765
2711
|
}]);
|
|
2766
2712
|
})();
|
|
2767
|
-
function
|
|
2768
|
-
var t =
|
|
2713
|
+
function Ci(r) {
|
|
2714
|
+
var t = r.search(yi);
|
|
2769
2715
|
if (!(t < 0)) {
|
|
2770
|
-
|
|
2771
|
-
var
|
|
2772
|
-
return
|
|
2716
|
+
r = r.slice(t);
|
|
2717
|
+
var e;
|
|
2718
|
+
return r[0] === "+" && (e = !0, r = r.slice(1)), r = r.replace(xi, ""), e && (r = "+" + r), r;
|
|
2773
2719
|
}
|
|
2774
2720
|
}
|
|
2775
|
-
function
|
|
2776
|
-
var t =
|
|
2721
|
+
function Pi(r) {
|
|
2722
|
+
var t = Ci(r) || "";
|
|
2777
2723
|
return t[0] === "+" ? [t.slice(1), !0] : [t];
|
|
2778
2724
|
}
|
|
2779
|
-
function
|
|
2780
|
-
var t =
|
|
2781
|
-
return
|
|
2725
|
+
function Si(r) {
|
|
2726
|
+
var t = Pi(r), e = ve(t, 2), n = e[0], i = e[1];
|
|
2727
|
+
return bi.test(n) || (n = ""), [n, i];
|
|
2782
2728
|
}
|
|
2783
|
-
function
|
|
2729
|
+
function G(r) {
|
|
2784
2730
|
"@babel/helpers - typeof";
|
|
2785
|
-
return
|
|
2731
|
+
return G = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2786
2732
|
return typeof t;
|
|
2787
2733
|
} : function(t) {
|
|
2788
2734
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2789
|
-
},
|
|
2735
|
+
}, G(r);
|
|
2790
2736
|
}
|
|
2791
|
-
function
|
|
2792
|
-
return
|
|
2737
|
+
function Ei(r, t) {
|
|
2738
|
+
return Fi(r) || Ti(r, t) || _i(r, t) || Ii();
|
|
2793
2739
|
}
|
|
2794
|
-
function
|
|
2740
|
+
function Ii() {
|
|
2795
2741
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2796
2742
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2797
2743
|
}
|
|
2798
|
-
function
|
|
2799
|
-
if (
|
|
2800
|
-
if (typeof
|
|
2801
|
-
var
|
|
2802
|
-
return
|
|
2744
|
+
function _i(r, t) {
|
|
2745
|
+
if (r) {
|
|
2746
|
+
if (typeof r == "string") return Yt(r, t);
|
|
2747
|
+
var e = {}.toString.call(r).slice(8, -1);
|
|
2748
|
+
return e === "Object" && r.constructor && (e = r.constructor.name), e === "Map" || e === "Set" ? Array.from(r) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Yt(r, t) : void 0;
|
|
2803
2749
|
}
|
|
2804
2750
|
}
|
|
2805
|
-
function
|
|
2806
|
-
(t == null || t >
|
|
2807
|
-
for (var
|
|
2751
|
+
function Yt(r, t) {
|
|
2752
|
+
(t == null || t > r.length) && (t = r.length);
|
|
2753
|
+
for (var e = 0, n = Array(t); e < t; e++) n[e] = r[e];
|
|
2808
2754
|
return n;
|
|
2809
2755
|
}
|
|
2810
|
-
function
|
|
2811
|
-
var
|
|
2812
|
-
if (
|
|
2756
|
+
function Ti(r, t) {
|
|
2757
|
+
var e = r == null ? null : typeof Symbol != "undefined" && r[Symbol.iterator] || r["@@iterator"];
|
|
2758
|
+
if (e != null) {
|
|
2813
2759
|
var n, i, a, d, o = [], l = !0, s = !1;
|
|
2814
2760
|
try {
|
|
2815
|
-
if (a = (
|
|
2761
|
+
if (a = (e = e.call(r)).next, t !== 0) for (; !(l = (n = a.call(e)).done) && (o.push(n.value), o.length !== t); l = !0) ;
|
|
2816
2762
|
} catch (u) {
|
|
2817
2763
|
s = !0, i = u;
|
|
2818
2764
|
} finally {
|
|
2819
2765
|
try {
|
|
2820
|
-
if (!l &&
|
|
2766
|
+
if (!l && e.return != null && (d = e.return(), Object(d) !== d)) return;
|
|
2821
2767
|
} finally {
|
|
2822
2768
|
if (s) throw i;
|
|
2823
2769
|
}
|
|
@@ -2825,46 +2771,46 @@ function Mi(e, t) {
|
|
|
2825
2771
|
return o;
|
|
2826
2772
|
}
|
|
2827
2773
|
}
|
|
2828
|
-
function
|
|
2829
|
-
if (Array.isArray(
|
|
2774
|
+
function Fi(r) {
|
|
2775
|
+
if (Array.isArray(r)) return r;
|
|
2830
2776
|
}
|
|
2831
|
-
function
|
|
2832
|
-
if (!(
|
|
2777
|
+
function Ai(r, t) {
|
|
2778
|
+
if (!(r instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2833
2779
|
}
|
|
2834
|
-
function
|
|
2835
|
-
for (var
|
|
2836
|
-
var n = t[
|
|
2837
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(
|
|
2780
|
+
function ki(r, t) {
|
|
2781
|
+
for (var e = 0; e < t.length; e++) {
|
|
2782
|
+
var n = t[e];
|
|
2783
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, Ri(n.key), n);
|
|
2838
2784
|
}
|
|
2839
2785
|
}
|
|
2840
|
-
function
|
|
2841
|
-
return t &&
|
|
2786
|
+
function Oi(r, t, e) {
|
|
2787
|
+
return t && ki(r.prototype, t), Object.defineProperty(r, "prototype", { writable: !1 }), r;
|
|
2842
2788
|
}
|
|
2843
|
-
function
|
|
2844
|
-
var t =
|
|
2845
|
-
return
|
|
2789
|
+
function Ri(r) {
|
|
2790
|
+
var t = Li(r, "string");
|
|
2791
|
+
return G(t) == "symbol" ? t : t + "";
|
|
2846
2792
|
}
|
|
2847
|
-
function
|
|
2848
|
-
if (
|
|
2849
|
-
var
|
|
2850
|
-
if (
|
|
2851
|
-
var n =
|
|
2852
|
-
if (
|
|
2793
|
+
function Li(r, t) {
|
|
2794
|
+
if (G(r) != "object" || !r) return r;
|
|
2795
|
+
var e = r[Symbol.toPrimitive];
|
|
2796
|
+
if (e !== void 0) {
|
|
2797
|
+
var n = e.call(r, t);
|
|
2798
|
+
if (G(n) != "object") return n;
|
|
2853
2799
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2854
2800
|
}
|
|
2855
|
-
return String(
|
|
2801
|
+
return String(r);
|
|
2856
2802
|
}
|
|
2857
|
-
var
|
|
2858
|
-
function
|
|
2859
|
-
|
|
2860
|
-
var n = this.getCountryAndCallingCode(t), i =
|
|
2803
|
+
var he = /* @__PURE__ */ (function() {
|
|
2804
|
+
function r(t, e) {
|
|
2805
|
+
Ai(this, r), this.metadata = new f(e);
|
|
2806
|
+
var n = this.getCountryAndCallingCode(t), i = Ei(n, 2), a = i[0], d = i[1];
|
|
2861
2807
|
this.defaultCountry = a, this.defaultCallingCode = d, this.reset();
|
|
2862
2808
|
}
|
|
2863
|
-
return
|
|
2809
|
+
return Oi(r, [{
|
|
2864
2810
|
key: "getCountryAndCallingCode",
|
|
2865
|
-
value: function(
|
|
2811
|
+
value: function(e) {
|
|
2866
2812
|
var n, i;
|
|
2867
|
-
return
|
|
2813
|
+
return e && (N(e) ? (n = e.defaultCountry, i = e.defaultCallingCode) : n = e), n && !this.metadata.hasCountry(n) && (n = void 0), [n, i];
|
|
2868
2814
|
}
|
|
2869
2815
|
/**
|
|
2870
2816
|
* Inputs "next" phone number characters.
|
|
@@ -2873,8 +2819,8 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
2873
2819
|
*/
|
|
2874
2820
|
}, {
|
|
2875
2821
|
key: "input",
|
|
2876
|
-
value: function(
|
|
2877
|
-
var n = this.parser.input(
|
|
2822
|
+
value: function(e) {
|
|
2823
|
+
var n = this.parser.input(e, this.state), i = n.digits, a = n.justLeadingPlus;
|
|
2878
2824
|
if (a)
|
|
2879
2825
|
this.formattedOutput = "+";
|
|
2880
2826
|
else if (i) {
|
|
@@ -2892,24 +2838,24 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
2892
2838
|
}, {
|
|
2893
2839
|
key: "reset",
|
|
2894
2840
|
value: function() {
|
|
2895
|
-
var
|
|
2896
|
-
return this.state = new
|
|
2841
|
+
var e = this;
|
|
2842
|
+
return this.state = new Pn({
|
|
2897
2843
|
onCountryChange: function(i) {
|
|
2898
|
-
|
|
2844
|
+
e.country = i;
|
|
2899
2845
|
},
|
|
2900
2846
|
onCallingCodeChange: function(i, a) {
|
|
2901
|
-
|
|
2847
|
+
e.metadata.selectNumberingPlan(a, i), e.formatter.reset(e.metadata.numberingPlan, e.state), e.parser.reset(e.metadata.numberingPlan);
|
|
2902
2848
|
}
|
|
2903
|
-
}), this.formatter = new
|
|
2849
|
+
}), this.formatter = new li({
|
|
2904
2850
|
state: this.state,
|
|
2905
2851
|
metadata: this.metadata
|
|
2906
|
-
}), this.parser = new
|
|
2852
|
+
}), this.parser = new Ni({
|
|
2907
2853
|
defaultCountry: this.defaultCountry,
|
|
2908
2854
|
defaultCallingCode: this.defaultCallingCode,
|
|
2909
2855
|
metadata: this.metadata,
|
|
2910
2856
|
state: this.state,
|
|
2911
2857
|
onNationalSignificantNumberChange: function() {
|
|
2912
|
-
|
|
2858
|
+
e.determineTheCountryIfNeeded(), e.formatter.reset(e.metadata.numberingPlan, e.state);
|
|
2913
2859
|
}
|
|
2914
2860
|
}), this.state.reset({
|
|
2915
2861
|
country: this.defaultCountry,
|
|
@@ -2953,8 +2899,8 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
2953
2899
|
}, {
|
|
2954
2900
|
key: "getCountry",
|
|
2955
2901
|
value: function() {
|
|
2956
|
-
var
|
|
2957
|
-
if (
|
|
2902
|
+
var e = this.state.digits;
|
|
2903
|
+
if (e)
|
|
2958
2904
|
return this._getCountry();
|
|
2959
2905
|
}
|
|
2960
2906
|
/**
|
|
@@ -2965,8 +2911,8 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
2965
2911
|
}, {
|
|
2966
2912
|
key: "_getCountry",
|
|
2967
2913
|
value: function() {
|
|
2968
|
-
var
|
|
2969
|
-
return
|
|
2914
|
+
var e = this.state.country;
|
|
2915
|
+
return e;
|
|
2970
2916
|
}
|
|
2971
2917
|
}, {
|
|
2972
2918
|
key: "determineTheCountryIfNeeded",
|
|
@@ -2976,7 +2922,7 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
2976
2922
|
// Prepends `+CountryCode ` in case of an international phone number
|
|
2977
2923
|
}, {
|
|
2978
2924
|
key: "getFullNumber",
|
|
2979
|
-
value: function(
|
|
2925
|
+
value: function(e) {
|
|
2980
2926
|
var n = this;
|
|
2981
2927
|
if (this.isInternational()) {
|
|
2982
2928
|
var i = function(o) {
|
|
@@ -2984,44 +2930,43 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
2984
2930
|
spacing: !!o
|
|
2985
2931
|
}) + o;
|
|
2986
2932
|
}, a = this.state.callingCode;
|
|
2987
|
-
return i(a ?
|
|
2933
|
+
return i(a ? e ? "".concat(a, " ").concat(e) : a : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
|
|
2988
2934
|
}
|
|
2989
|
-
return
|
|
2935
|
+
return e;
|
|
2990
2936
|
}
|
|
2991
2937
|
}, {
|
|
2992
2938
|
key: "getNonFormattedNationalNumberWithPrefix",
|
|
2993
2939
|
value: function() {
|
|
2994
|
-
var
|
|
2940
|
+
var e = this.state, n = e.nationalSignificantNumber, i = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix, a = e.nationalPrefix, d = n, o = i || a;
|
|
2995
2941
|
return o && (d = o + d), d;
|
|
2996
2942
|
}
|
|
2997
2943
|
}, {
|
|
2998
2944
|
key: "getNonFormattedNumber",
|
|
2999
2945
|
value: function() {
|
|
3000
|
-
var
|
|
3001
|
-
return this.getFullNumber(
|
|
2946
|
+
var e = this.state.nationalSignificantNumberIsModified;
|
|
2947
|
+
return this.getFullNumber(e ? this.state.getNationalDigits() : this.getNonFormattedNationalNumberWithPrefix());
|
|
3002
2948
|
}
|
|
3003
2949
|
}, {
|
|
3004
2950
|
key: "getNonFormattedTemplate",
|
|
3005
2951
|
value: function() {
|
|
3006
|
-
var
|
|
3007
|
-
if (
|
|
3008
|
-
return
|
|
2952
|
+
var e = this.getNonFormattedNumber();
|
|
2953
|
+
if (e)
|
|
2954
|
+
return e.replace(/[\+\d]/g, g);
|
|
3009
2955
|
}
|
|
3010
2956
|
}, {
|
|
3011
2957
|
key: "isCountryCallingCodeAmbiguous",
|
|
3012
2958
|
value: function() {
|
|
3013
|
-
var
|
|
2959
|
+
var e = this.state.callingCode, n = this.metadata.getCountryCodesForCallingCode(e);
|
|
3014
2960
|
return n && n.length > 1;
|
|
3015
2961
|
}
|
|
3016
|
-
// Determines the country of the phone number
|
|
2962
|
+
// Determines the exact country of the phone number
|
|
3017
2963
|
// entered so far based on the country phone code
|
|
3018
2964
|
// and the national phone number.
|
|
3019
2965
|
}, {
|
|
3020
2966
|
key: "determineTheCountry",
|
|
3021
2967
|
value: function() {
|
|
3022
|
-
this.state.setCountry(
|
|
2968
|
+
this.state.setCountry(vt(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
|
|
3023
2969
|
nationalNumber: this.state.nationalSignificantNumber,
|
|
3024
|
-
defaultCountry: this.defaultCountry,
|
|
3025
2970
|
metadata: this.metadata
|
|
3026
2971
|
}));
|
|
3027
2972
|
}
|
|
@@ -3046,7 +2991,7 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
3046
2991
|
}, {
|
|
3047
2992
|
key: "getNumberValue",
|
|
3048
2993
|
value: function() {
|
|
3049
|
-
var
|
|
2994
|
+
var e = this.state, n = e.digits, i = e.callingCode, a = e.country, d = e.nationalSignificantNumber;
|
|
3050
2995
|
if (n) {
|
|
3051
2996
|
if (this.isInternational())
|
|
3052
2997
|
return i ? "+" + i + d : "+" + n;
|
|
@@ -3065,23 +3010,22 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
3065
3010
|
}, {
|
|
3066
3011
|
key: "getNumber",
|
|
3067
3012
|
value: function() {
|
|
3068
|
-
var
|
|
3013
|
+
var e = this.state, n = e.nationalSignificantNumber, i = e.carrierCode, a = e.callingCode, d = this._getCountry();
|
|
3069
3014
|
if (n && !(!d && !a)) {
|
|
3070
3015
|
if (d && d === this.defaultCountry) {
|
|
3071
3016
|
var o = new f(this.metadata.metadata);
|
|
3072
3017
|
o.selectNumberingPlan(d);
|
|
3073
3018
|
var l = o.numberingPlan.callingCode(), s = this.metadata.getCountryCodesForCallingCode(l);
|
|
3074
3019
|
if (s.length > 1) {
|
|
3075
|
-
var u =
|
|
3020
|
+
var u = re(n, {
|
|
3076
3021
|
countries: s,
|
|
3077
|
-
defaultCountry: this.defaultCountry,
|
|
3078
3022
|
metadata: this.metadata.metadata
|
|
3079
3023
|
});
|
|
3080
3024
|
u && (d = u);
|
|
3081
3025
|
}
|
|
3082
3026
|
}
|
|
3083
|
-
var
|
|
3084
|
-
return i && (
|
|
3027
|
+
var $ = new se(d || a, n, this.metadata.metadata);
|
|
3028
|
+
return i && ($.carrierCode = i), $;
|
|
3085
3029
|
}
|
|
3086
3030
|
}
|
|
3087
3031
|
/**
|
|
@@ -3092,8 +3036,8 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
3092
3036
|
}, {
|
|
3093
3037
|
key: "isPossible",
|
|
3094
3038
|
value: function() {
|
|
3095
|
-
var
|
|
3096
|
-
return
|
|
3039
|
+
var e = this.getNumber();
|
|
3040
|
+
return e ? e.isPossible() : !1;
|
|
3097
3041
|
}
|
|
3098
3042
|
/**
|
|
3099
3043
|
* Returns `true` if the phone number is "valid".
|
|
@@ -3103,8 +3047,8 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
3103
3047
|
}, {
|
|
3104
3048
|
key: "isValid",
|
|
3105
3049
|
value: function() {
|
|
3106
|
-
var
|
|
3107
|
-
return
|
|
3050
|
+
var e = this.getNumber();
|
|
3051
|
+
return e ? e.isValid() : !1;
|
|
3108
3052
|
}
|
|
3109
3053
|
/**
|
|
3110
3054
|
* @deprecated
|
|
@@ -3136,19 +3080,19 @@ var ye = /* @__PURE__ */ (function() {
|
|
|
3136
3080
|
}
|
|
3137
3081
|
}]);
|
|
3138
3082
|
})();
|
|
3139
|
-
function
|
|
3140
|
-
return
|
|
3083
|
+
function Mi() {
|
|
3084
|
+
return Jt(vn, arguments);
|
|
3141
3085
|
}
|
|
3142
|
-
function
|
|
3143
|
-
return
|
|
3086
|
+
function Di() {
|
|
3087
|
+
return Jt(bn, arguments);
|
|
3144
3088
|
}
|
|
3145
|
-
function
|
|
3146
|
-
return
|
|
3089
|
+
function U(r) {
|
|
3090
|
+
return he.call(this, r, Zt);
|
|
3147
3091
|
}
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
function
|
|
3151
|
-
return t = t || {}, new Promise(function(
|
|
3092
|
+
U.prototype = Object.create(he.prototype, {});
|
|
3093
|
+
U.prototype.constructor = U;
|
|
3094
|
+
function ji(r, t) {
|
|
3095
|
+
return t = t || {}, new Promise(function(e, n) {
|
|
3152
3096
|
var i = new XMLHttpRequest(), a = [], d = [], o = {}, l = function() {
|
|
3153
3097
|
return { ok: (i.status / 100 | 0) == 2, statusText: i.statusText, status: i.status, url: i.responseURL, text: function() {
|
|
3154
3098
|
return Promise.resolve(i.responseText);
|
|
@@ -3166,21 +3110,21 @@ function Ki(e, t) {
|
|
|
3166
3110
|
return u.toLowerCase() in o;
|
|
3167
3111
|
} } };
|
|
3168
3112
|
};
|
|
3169
|
-
for (var s in i.open(t.method || "get",
|
|
3170
|
-
i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(u, c
|
|
3171
|
-
a.push(
|
|
3172
|
-
}),
|
|
3113
|
+
for (var s in i.open(t.method || "get", r, !0), i.onload = function() {
|
|
3114
|
+
i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(u, $, c) {
|
|
3115
|
+
a.push($ = $.toLowerCase()), d.push([$, c]), o[$] = o[$] ? o[$] + "," + c : c;
|
|
3116
|
+
}), e(l());
|
|
3173
3117
|
}, i.onerror = n, i.withCredentials = t.credentials == "include", t.headers) i.setRequestHeader(s, t.headers[s]);
|
|
3174
3118
|
i.send(t.body || null);
|
|
3175
3119
|
});
|
|
3176
3120
|
}
|
|
3177
|
-
const
|
|
3121
|
+
const Bi = {
|
|
3178
3122
|
services: {
|
|
3179
3123
|
connect: "https://connect.voxie.com"
|
|
3180
3124
|
}
|
|
3181
|
-
}, Xi = '/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--vx-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--vx-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--vx-color-sky-500:oklch(68.5% .169 237.323);--vx-color-blue-500:oklch(62.3% .214 259.815);--vx-color-pink-500:oklch(65.6% .241 354.308);--vx-color-pink-600:oklch(59.2% .249 .584);--vx-color-slate-50:oklch(98.4% .003 247.858);--vx-color-slate-100:oklch(96.8% .007 247.896);--vx-color-slate-200:oklch(92.9% .013 255.508);--vx-color-slate-300:oklch(86.9% .022 252.894);--vx-color-slate-400:oklch(70.4% .04 256.788);--vx-color-slate-500:oklch(55.4% .046 257.417);--vx-color-slate-600:oklch(44.6% .043 257.281);--vx-color-slate-700:oklch(37.2% .044 257.287);--vx-color-neutral-100:oklch(97% 0 0);--vx-color-neutral-500:oklch(55.6% 0 0);--vx-color-neutral-600:oklch(43.9% 0 0);--vx-color-neutral-800:oklch(26.9% 0 0);--vx-color-white:#fff;--vx-spacing:.25rem;--vx-text-xs:.75rem;--vx-text-xs--line-height:calc(1/.75);--vx-text-sm:.875rem;--vx-text-sm--line-height:calc(1.25/.875);--vx-text-base:1rem;--vx-text-base--line-height: 1.5 ;--vx-font-weight-normal:400;--vx-font-weight-medium:500;--vx-font-weight-semibold:600;--vx-font-weight-bold:700;--vx-leading-snug:1.375;--vx-radius-sm:.25rem;--vx-radius-md:.375rem;--vx-radius-lg:.5rem;--vx-radius-2xl:1rem;--vx-blur-md:12px;--vx-default-transition-duration:.15s;--vx-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--vx-default-font-family:var(--vx-font-sans);--vx-default-mono-font-family:var(--vx-font-mono);--vx-container-panel:258px;--vx-z-index-back:-1}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--vx-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--vx-default-font-feature-settings,normal);font-variation-settings:var(--vx-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--vx-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--vx-default-mono-font-feature-settings,normal);font-variation-settings:var(--vx-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.vx\\:invisible{visibility:hidden!important}.vx\\:absolute{position:absolute!important}.vx\\:fixed{position:fixed!important}.vx\\:relative{position:relative!important}.vx\\:top-1\\/2{top:50%!important}.vx\\:right-0{right:calc(var(--vx-spacing)*0)!important}.vx\\:right-8{right:calc(var(--vx-spacing)*8)!important}.vx\\:bottom-0{bottom:calc(var(--vx-spacing)*0)!important}.vx\\:bottom-8{bottom:calc(var(--vx-spacing)*8)!important}.vx\\:left-1\\/2{left:50%!important}.vx\\:z-0{z-index:0!important}.vx\\:z-10{z-index:10!important}.vx\\:z-back{z-index:var(--vx-z-index-back)!important}.vx\\:float-right{float:right!important}.vx\\:-mx-2{margin-inline:calc(var(--vx-spacing)*-2)!important}.vx\\:my-2{margin-block:calc(var(--vx-spacing)*2)!important}.vx\\:mt-0\\.5{margin-top:calc(var(--vx-spacing)*.5)!important}.vx\\:mt-1{margin-top:calc(var(--vx-spacing)*1)!important}.vx\\:mt-2{margin-top:calc(var(--vx-spacing)*2)!important}.vx\\:mt-3{margin-top:calc(var(--vx-spacing)*3)!important}.vx\\:mt-5{margin-top:calc(var(--vx-spacing)*5)!important}.vx\\:mt-\\[2px\\]{margin-top:2px!important}.vx\\:-mb-2{margin-bottom:calc(var(--vx-spacing)*-2)!important}.vx\\:mb-0{margin-bottom:calc(var(--vx-spacing)*0)!important}.vx\\:mb-1{margin-bottom:calc(var(--vx-spacing)*1)!important}.vx\\:block{display:block!important}.vx\\:flex{display:flex!important}.vx\\:inline-block{display:inline-block!important}.vx\\:h-4{height:calc(var(--vx-spacing)*4)!important}.vx\\:h-14{height:calc(var(--vx-spacing)*14)!important}.vx\\:h-full{height:100%!important}.vx\\:w-4{width:calc(var(--vx-spacing)*4)!important}.vx\\:w-14{width:calc(var(--vx-spacing)*14)!important}.vx\\:w-full{width:100%!important}.vx\\:max-w-panel{max-width:var(--vx-container-panel)!important}.vx\\:origin-bottom-right{transform-origin:100% 100%!important}.vx\\:-translate-x-1\\/2{--tw-translate-x: -50% !important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:-translate-y-1\\/2{--tw-translate-y: -50% !important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:translate-y-4{--tw-translate-y:calc(var(--vx-spacing)*4)!important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:scale-1{--tw-scale-x:1%!important;--tw-scale-y:1%!important;--tw-scale-z:1%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:scale-200{--tw-scale-x:200%!important;--tw-scale-y:200%!important;--tw-scale-z:200%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:rotate-180{rotate:180deg!important}.vx\\:cursor-pointer{cursor:pointer!important}.vx\\:flex-col{flex-direction:column!important}.vx\\:items-end{align-items:flex-end!important}.vx\\:items-start{align-items:flex-start!important}.vx\\:gap-2{gap:calc(var(--vx-spacing)*2)!important}.vx\\:self-start{align-self:flex-start!important}.vx\\:overflow-hidden{overflow:hidden!important}.vx\\:rounded-2xl{border-radius:var(--vx-radius-2xl)!important}.vx\\:rounded-lg{border-radius:var(--vx-radius-lg)!important}.vx\\:rounded-md{border-radius:var(--vx-radius-md)!important}.vx\\:rounded-sm{border-radius:var(--vx-radius-sm)!important}.vx\\:border{border-style:var(--tw-border-style)!important;border-width:1px!important}.vx\\:border-neutral-800{border-color:var(--vx-color-neutral-800)!important}.vx\\:border-slate-300{border-color:var(--vx-color-slate-300)!important}.vx\\:border-white\\/60{border-color:var(--vx-color-white)!important}@supports (color:color-mix(in lab,red,red)){.vx\\:border-white\\/60{border-color:color-mix(in oklab,var(--vx-color-white)60%,transparent)!important}}.vx\\:bg-neutral-800{background-color:var(--vx-color-neutral-800)!important}.vx\\:bg-slate-100\\/70{background-color:var(--vx-color-slate-100)!important}@supports (color:color-mix(in lab,red,red)){.vx\\:bg-slate-100\\/70{background-color:color-mix(in oklab,var(--vx-color-slate-100)70%,transparent)!important}}.vx\\:bg-white{background-color:var(--vx-color-white)!important}.vx\\:fill-neutral-800{fill:var(--vx-color-neutral-800)!important}.vx\\:fill-white{fill:var(--vx-color-white)!important}.vx\\:p-2{padding:calc(var(--vx-spacing)*2)!important}.vx\\:p-8{padding:calc(var(--vx-spacing)*8)!important}.vx\\:px-2{padding-inline:calc(var(--vx-spacing)*2)!important}.vx\\:px-3{padding-inline:calc(var(--vx-spacing)*3)!important}.vx\\:py-1{padding-block:calc(var(--vx-spacing)*1)!important}.vx\\:py-2{padding-block:calc(var(--vx-spacing)*2)!important}.vx\\:pt-1{padding-top:calc(var(--vx-spacing)*1)!important}.vx\\:pb-0{padding-bottom:calc(var(--vx-spacing)*0)!important}.vx\\:pb-2{padding-bottom:calc(var(--vx-spacing)*2)!important}.vx\\:pl-1{padding-left:calc(var(--vx-spacing)*1)!important}.vx\\:text-center{text-align:center!important}.vx\\:font-sans{font-family:var(--vx-font-sans)!important}.vx\\:text-base{font-size:var(--vx-text-base)!important;line-height:var(--tw-leading,var(--vx-text-base--line-height))!important}.vx\\:text-sm{font-size:var(--vx-text-sm)!important;line-height:var(--tw-leading,var(--vx-text-sm--line-height))!important}.vx\\:text-xs{font-size:var(--vx-text-xs)!important;line-height:var(--tw-leading,var(--vx-text-xs--line-height))!important}.vx\\:leading-snug{--tw-leading:var(--vx-leading-snug)!important;line-height:var(--vx-leading-snug)!important}.vx\\:font-bold{--tw-font-weight:var(--vx-font-weight-bold)!important;font-weight:var(--vx-font-weight-bold)!important}.vx\\:font-medium{--tw-font-weight:var(--vx-font-weight-medium)!important;font-weight:var(--vx-font-weight-medium)!important}.vx\\:font-normal{--tw-font-weight:var(--vx-font-weight-normal)!important;font-weight:var(--vx-font-weight-normal)!important}.vx\\:font-semibold{--tw-font-weight:var(--vx-font-weight-semibold)!important;font-weight:var(--vx-font-weight-semibold)!important}.vx\\:text-neutral-500{color:var(--vx-color-neutral-500)!important}.vx\\:text-neutral-600{color:var(--vx-color-neutral-600)!important}.vx\\:text-pink-600{color:var(--vx-color-pink-600)!important}.vx\\:text-slate-600{color:var(--vx-color-slate-600)!important}.vx\\:text-slate-700{color:var(--vx-color-slate-700)!important}.vx\\:text-white{color:var(--vx-color-white)!important}.vx\\:underline{text-decoration-line:underline!important}.vx\\:placeholder-slate-400::placeholder{color:var(--vx-color-slate-400)!important}.vx\\:opacity-0{opacity:0!important}.vx\\:opacity-100{opacity:1!important}.vx\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:backdrop-blur-md{--tw-backdrop-blur:blur(var(--vx-blur-md))!important;-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.vx\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--vx-default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--vx-default-transition-duration))!important}.vx\\:transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--vx-default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--vx-default-transition-duration))!important}.vx\\:duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}@media (hover:hover){.vx\\:group-hover\\:fill-neutral-600:is(:where(.vx\\:group):hover *){fill:var(--vx-color-neutral-600)!important}}.vx\\:group-active\\:fill-neutral-800:is(:where(.vx\\:group):active *){fill:var(--vx-color-neutral-800)!important}.vx\\:invalid\\:border-pink-500:invalid{border-color:var(--vx-color-pink-500)!important}.vx\\:invalid\\:text-pink-600:invalid{color:var(--vx-color-pink-600)!important}@media (hover:hover){.vx\\:hover\\:bg-neutral-100:hover{background-color:var(--vx-color-neutral-100)!important}.vx\\:hover\\:bg-neutral-600:hover{background-color:var(--vx-color-neutral-600)!important}.vx\\:hover\\:text-blue-500:hover{color:var(--vx-color-blue-500)!important}}.vx\\:focus\\:border-sky-500:focus{border-color:var(--vx-color-sky-500)!important}.vx\\:focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:focus\\:ring-sky-500:focus{--tw-ring-color:var(--vx-color-sky-500)!important}.vx\\:focus\\:outline-hidden:focus{--tw-outline-style:none!important;outline-style:none!important}@media (forced-colors:active){.vx\\:focus\\:outline-hidden:focus{outline-offset:2px!important;outline:2px solid #0000!important}}.vx\\:focus\\:invalid\\:border-pink-500:focus:invalid{border-color:var(--vx-color-pink-500)!important}.vx\\:focus\\:invalid\\:ring-pink-500:focus:invalid{--tw-ring-color:var(--vx-color-pink-500)!important}.vx\\:active\\:scale-95:active{--tw-scale-x:95%!important;--tw-scale-y:95%!important;--tw-scale-z:95%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:active\\:opacity-80:active{opacity:.8!important}.vx\\:disabled\\:scale-100:disabled{--tw-scale-x:100%!important;--tw-scale-y:100%!important;--tw-scale-z:100%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed!important}.vx\\:disabled\\:border-slate-200:disabled{border-color:var(--vx-color-slate-200)!important}.vx\\:disabled\\:bg-slate-50:disabled{background-color:var(--vx-color-slate-50)!important}.vx\\:disabled\\:text-slate-500:disabled{color:var(--vx-color-slate-500)!important}.vx\\:disabled\\:opacity-60:disabled{opacity:.6!important}.vx\\:disabled\\:shadow-none:disabled{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}@media (hover:hover){.vx\\:disabled\\:hover\\:bg-neutral-800:disabled:hover{background-color:var(--vx-color-neutral-800)!important}}}.vx-pop-up__wave{transform-origin:70% 70%;animation-name:vx-wave-animation;animation-duration:2s;animation-iteration-count:2;display:inline-block;scale:1.25}@keyframes vx-wave-animation{0%{transform:rotate(0)}10%{transform:rotate(14deg)}20%{transform:rotate(-8deg)}30%{transform:rotate(14deg)}40%{transform:rotate(-4deg)}50%{transform:rotate(10deg)}60%{transform:rotate(0)}to{transform:rotate(0)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}';
|
|
3182
|
-
class
|
|
3183
|
-
constructor(t,
|
|
3125
|
+
}, Gi = '/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--vx-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--vx-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--vx-color-sky-500:oklch(68.5% .169 237.323);--vx-color-blue-500:oklch(62.3% .214 259.815);--vx-color-pink-500:oklch(65.6% .241 354.308);--vx-color-pink-600:oklch(59.2% .249 .584);--vx-color-slate-50:oklch(98.4% .003 247.858);--vx-color-slate-100:oklch(96.8% .007 247.896);--vx-color-slate-200:oklch(92.9% .013 255.508);--vx-color-slate-300:oklch(86.9% .022 252.894);--vx-color-slate-400:oklch(70.4% .04 256.788);--vx-color-slate-500:oklch(55.4% .046 257.417);--vx-color-slate-600:oklch(44.6% .043 257.281);--vx-color-slate-700:oklch(37.2% .044 257.287);--vx-color-neutral-100:oklch(97% 0 0);--vx-color-neutral-500:oklch(55.6% 0 0);--vx-color-neutral-600:oklch(43.9% 0 0);--vx-color-neutral-800:oklch(26.9% 0 0);--vx-color-white:#fff;--vx-spacing:.25rem;--vx-text-xs:.75rem;--vx-text-xs--line-height:calc(1/.75);--vx-text-sm:.875rem;--vx-text-sm--line-height:calc(1.25/.875);--vx-text-base:1rem;--vx-text-base--line-height: 1.5 ;--vx-font-weight-normal:400;--vx-font-weight-medium:500;--vx-font-weight-semibold:600;--vx-font-weight-bold:700;--vx-leading-snug:1.375;--vx-radius-sm:.25rem;--vx-radius-md:.375rem;--vx-radius-lg:.5rem;--vx-radius-2xl:1rem;--vx-blur-md:12px;--vx-default-transition-duration:.15s;--vx-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--vx-default-font-family:var(--vx-font-sans);--vx-default-mono-font-family:var(--vx-font-mono);--vx-container-panel:258px;--vx-z-index-back:-1}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--vx-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--vx-default-font-feature-settings,normal);font-variation-settings:var(--vx-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--vx-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--vx-default-mono-font-feature-settings,normal);font-variation-settings:var(--vx-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.vx\\:invisible{visibility:hidden!important}.vx\\:absolute{position:absolute!important}.vx\\:fixed{position:fixed!important}.vx\\:relative{position:relative!important}.vx\\:top-1\\/2{top:50%!important}.vx\\:right-0{right:calc(var(--vx-spacing)*0)!important}.vx\\:right-8{right:calc(var(--vx-spacing)*8)!important}.vx\\:bottom-0{bottom:calc(var(--vx-spacing)*0)!important}.vx\\:bottom-8{bottom:calc(var(--vx-spacing)*8)!important}.vx\\:left-1\\/2{left:50%!important}.vx\\:z-0{z-index:0!important}.vx\\:z-10{z-index:10!important}.vx\\:z-back{z-index:var(--vx-z-index-back)!important}.vx\\:float-right{float:right!important}.vx\\:-mx-2{margin-inline:calc(var(--vx-spacing)*-2)!important}.vx\\:my-2{margin-block:calc(var(--vx-spacing)*2)!important}.vx\\:mt-0\\.5{margin-top:calc(var(--vx-spacing)*.5)!important}.vx\\:mt-1{margin-top:calc(var(--vx-spacing)*1)!important}.vx\\:mt-2{margin-top:calc(var(--vx-spacing)*2)!important}.vx\\:mt-3{margin-top:calc(var(--vx-spacing)*3)!important}.vx\\:mt-5{margin-top:calc(var(--vx-spacing)*5)!important}.vx\\:mt-\\[2px\\]{margin-top:2px!important}.vx\\:-mb-2{margin-bottom:calc(var(--vx-spacing)*-2)!important}.vx\\:mb-0{margin-bottom:calc(var(--vx-spacing)*0)!important}.vx\\:mb-1{margin-bottom:calc(var(--vx-spacing)*1)!important}.vx\\:block{display:block!important}.vx\\:flex{display:flex!important}.vx\\:inline-block{display:inline-block!important}.vx\\:h-4{height:calc(var(--vx-spacing)*4)!important}.vx\\:h-14{height:calc(var(--vx-spacing)*14)!important}.vx\\:h-full{height:100%!important}.vx\\:w-4{width:calc(var(--vx-spacing)*4)!important}.vx\\:w-14{width:calc(var(--vx-spacing)*14)!important}.vx\\:w-full{width:100%!important}.vx\\:max-w-panel{max-width:var(--vx-container-panel)!important}.vx\\:origin-bottom-right{transform-origin:100% 100%!important}.vx\\:-translate-x-1\\/2{--tw-translate-x: -50% !important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:-translate-y-1\\/2{--tw-translate-y: -50% !important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:translate-y-4{--tw-translate-y:calc(var(--vx-spacing)*4)!important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:scale-1{--tw-scale-x:1%!important;--tw-scale-y:1%!important;--tw-scale-z:1%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:scale-200{--tw-scale-x:200%!important;--tw-scale-y:200%!important;--tw-scale-z:200%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:rotate-180{rotate:180deg!important}.vx\\:cursor-pointer{cursor:pointer!important}.vx\\:flex-col{flex-direction:column!important}.vx\\:items-end{align-items:flex-end!important}.vx\\:items-start{align-items:flex-start!important}.vx\\:gap-2{gap:calc(var(--vx-spacing)*2)!important}.vx\\:self-start{align-self:flex-start!important}.vx\\:overflow-hidden{overflow:hidden!important}.vx\\:rounded-2xl{border-radius:var(--vx-radius-2xl)!important}.vx\\:rounded-lg{border-radius:var(--vx-radius-lg)!important}.vx\\:rounded-md{border-radius:var(--vx-radius-md)!important}.vx\\:rounded-sm{border-radius:var(--vx-radius-sm)!important}.vx\\:border{border-style:var(--tw-border-style)!important;border-width:1px!important}.vx\\:border-neutral-800{border-color:var(--vx-color-neutral-800)!important}.vx\\:border-slate-300{border-color:var(--vx-color-slate-300)!important}.vx\\:border-white\\/60{border-color:var(--vx-color-white)!important}@supports (color:color-mix(in lab,red,red)){.vx\\:border-white\\/60{border-color:color-mix(in oklab,var(--vx-color-white)60%,transparent)!important}}.vx\\:bg-neutral-800{background-color:var(--vx-color-neutral-800)!important}.vx\\:bg-slate-100\\/70{background-color:var(--vx-color-slate-100)!important}@supports (color:color-mix(in lab,red,red)){.vx\\:bg-slate-100\\/70{background-color:color-mix(in oklab,var(--vx-color-slate-100)70%,transparent)!important}}.vx\\:bg-white{background-color:var(--vx-color-white)!important}.vx\\:fill-neutral-800{fill:var(--vx-color-neutral-800)!important}.vx\\:fill-white{fill:var(--vx-color-white)!important}.vx\\:p-2{padding:calc(var(--vx-spacing)*2)!important}.vx\\:p-8{padding:calc(var(--vx-spacing)*8)!important}.vx\\:px-2{padding-inline:calc(var(--vx-spacing)*2)!important}.vx\\:px-3{padding-inline:calc(var(--vx-spacing)*3)!important}.vx\\:py-1{padding-block:calc(var(--vx-spacing)*1)!important}.vx\\:py-2{padding-block:calc(var(--vx-spacing)*2)!important}.vx\\:pt-1{padding-top:calc(var(--vx-spacing)*1)!important}.vx\\:pb-0{padding-bottom:calc(var(--vx-spacing)*0)!important}.vx\\:pb-2{padding-bottom:calc(var(--vx-spacing)*2)!important}.vx\\:pl-1{padding-left:calc(var(--vx-spacing)*1)!important}.vx\\:text-center{text-align:center!important}.vx\\:font-sans{font-family:var(--vx-font-sans)!important}.vx\\:text-base{font-size:var(--vx-text-base)!important;line-height:var(--tw-leading,var(--vx-text-base--line-height))!important}.vx\\:text-sm{font-size:var(--vx-text-sm)!important;line-height:var(--tw-leading,var(--vx-text-sm--line-height))!important}.vx\\:text-xs{font-size:var(--vx-text-xs)!important;line-height:var(--tw-leading,var(--vx-text-xs--line-height))!important}.vx\\:leading-snug{--tw-leading:var(--vx-leading-snug)!important;line-height:var(--vx-leading-snug)!important}.vx\\:font-bold{--tw-font-weight:var(--vx-font-weight-bold)!important;font-weight:var(--vx-font-weight-bold)!important}.vx\\:font-medium{--tw-font-weight:var(--vx-font-weight-medium)!important;font-weight:var(--vx-font-weight-medium)!important}.vx\\:font-normal{--tw-font-weight:var(--vx-font-weight-normal)!important;font-weight:var(--vx-font-weight-normal)!important}.vx\\:font-semibold{--tw-font-weight:var(--vx-font-weight-semibold)!important;font-weight:var(--vx-font-weight-semibold)!important}.vx\\:text-neutral-500{color:var(--vx-color-neutral-500)!important}.vx\\:text-neutral-600{color:var(--vx-color-neutral-600)!important}.vx\\:text-pink-600{color:var(--vx-color-pink-600)!important}.vx\\:text-slate-600{color:var(--vx-color-slate-600)!important}.vx\\:text-slate-700{color:var(--vx-color-slate-700)!important}.vx\\:text-white{color:var(--vx-color-white)!important}.vx\\:underline{text-decoration-line:underline!important}.vx\\:placeholder-slate-400::placeholder{color:var(--vx-color-slate-400)!important}.vx\\:opacity-0{opacity:0!important}.vx\\:opacity-100{opacity:1!important}.vx\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:backdrop-blur-md{--tw-backdrop-blur:blur(var(--vx-blur-md))!important;-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.vx\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--vx-default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--vx-default-transition-duration))!important}.vx\\:transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--vx-default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--vx-default-transition-duration))!important}.vx\\:duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}@media (hover:hover){.vx\\:group-hover\\:fill-neutral-600:is(:where(.vx\\:group):hover *){fill:var(--vx-color-neutral-600)!important}}.vx\\:group-active\\:fill-neutral-800:is(:where(.vx\\:group):active *){fill:var(--vx-color-neutral-800)!important}.vx\\:invalid\\:border-pink-500:invalid{border-color:var(--vx-color-pink-500)!important}.vx\\:invalid\\:text-pink-600:invalid{color:var(--vx-color-pink-600)!important}@media (hover:hover){.vx\\:hover\\:bg-neutral-100:hover{background-color:var(--vx-color-neutral-100)!important}.vx\\:hover\\:bg-neutral-600:hover{background-color:var(--vx-color-neutral-600)!important}.vx\\:hover\\:text-blue-500:hover{color:var(--vx-color-blue-500)!important}}.vx\\:focus\\:border-sky-500:focus{border-color:var(--vx-color-sky-500)!important}.vx\\:focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:focus\\:ring-sky-500:focus{--tw-ring-color:var(--vx-color-sky-500)!important}.vx\\:focus\\:outline-hidden:focus{--tw-outline-style:none!important;outline-style:none!important}@media (forced-colors:active){.vx\\:focus\\:outline-hidden:focus{outline-offset:2px!important;outline:2px solid #0000!important}}.vx\\:focus\\:invalid\\:border-pink-500:focus:invalid{border-color:var(--vx-color-pink-500)!important}.vx\\:focus\\:invalid\\:ring-pink-500:focus:invalid{--tw-ring-color:var(--vx-color-pink-500)!important}.vx\\:active\\:scale-95:active{--tw-scale-x:95%!important;--tw-scale-y:95%!important;--tw-scale-z:95%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:active\\:opacity-80:active{opacity:.8!important}.vx\\:disabled\\:scale-100:disabled{--tw-scale-x:100%!important;--tw-scale-y:100%!important;--tw-scale-z:100%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed!important}.vx\\:disabled\\:border-slate-200:disabled{border-color:var(--vx-color-slate-200)!important}.vx\\:disabled\\:bg-slate-50:disabled{background-color:var(--vx-color-slate-50)!important}.vx\\:disabled\\:text-slate-500:disabled{color:var(--vx-color-slate-500)!important}.vx\\:disabled\\:opacity-60:disabled{opacity:.6!important}.vx\\:disabled\\:shadow-none:disabled{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}@media (hover:hover){.vx\\:disabled\\:hover\\:bg-neutral-800:disabled:hover{background-color:var(--vx-color-neutral-800)!important}}}.vx-pop-up__wave{transform-origin:70% 70%;animation-name:vx-wave-animation;animation-duration:2s;animation-iteration-count:2;display:inline-block;scale:1.25}@keyframes vx-wave-animation{0%{transform:rotate(0)}10%{transform:rotate(14deg)}20%{transform:rotate(-8deg)}30%{transform:rotate(14deg)}40%{transform:rotate(-4deg)}50%{transform:rotate(10deg)}60%{transform:rotate(0)}to{transform:rotate(0)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}';
|
|
3126
|
+
class Ui {
|
|
3127
|
+
constructor(t, e, n) {
|
|
3184
3128
|
var a;
|
|
3185
3129
|
if (this.closed = !0, this.termsVisible = !1, this.classes = {
|
|
3186
3130
|
toggle: {
|
|
@@ -3210,7 +3154,7 @@ class Yi {
|
|
|
3210
3154
|
if (document.getElementById(d))
|
|
3211
3155
|
return;
|
|
3212
3156
|
const o = document.createElement("style");
|
|
3213
|
-
o.id = d, o.textContent =
|
|
3157
|
+
o.id = d, o.textContent = Gi, document.head.appendChild(o);
|
|
3214
3158
|
}, this.assignElements = () => {
|
|
3215
3159
|
this.elements.toggle = document.getElementById("vx-toggle"), this.elements.terms = document.getElementById("vx-terms"), this.elements.btn = document.getElementById("vx-btn"), this.elements.icon = document.getElementById("vx-icon"), this.elements.xmark = document.getElementById("vx-xmark"), this.elements.form = document.getElementById("vx-form"), this.elements.submit = document.getElementById(
|
|
3216
3160
|
"vx-submit"
|
|
@@ -3222,38 +3166,38 @@ class Yi {
|
|
|
3222
3166
|
(s) => s.target && this.toggleTerms()
|
|
3223
3167
|
), (o = document.getElementById("vx-phone-number__input")) == null || o.addEventListener(
|
|
3224
3168
|
"keypress",
|
|
3225
|
-
(s) => s.target instanceof HTMLInputElement && (s.target.value = new
|
|
3169
|
+
(s) => s.target instanceof HTMLInputElement && (s.target.value = new U("US").input(s.target.value))
|
|
3226
3170
|
), (l = document.getElementById("vx-phone-number__input")) == null || l.addEventListener(
|
|
3227
3171
|
"paste",
|
|
3228
|
-
(s) => s.target instanceof HTMLInputElement && (s.target.value = new
|
|
3172
|
+
(s) => s.target instanceof HTMLInputElement && (s.target.value = new U("US").input(s.target.value))
|
|
3229
3173
|
), this.elements.submit && this.elements.form && (this.elements.form.onsubmit = async (s) => {
|
|
3230
|
-
var
|
|
3174
|
+
var m, y, p, H, W;
|
|
3231
3175
|
s.preventDefault();
|
|
3232
3176
|
const u = new FormData(s.target);
|
|
3233
|
-
let
|
|
3234
|
-
const
|
|
3235
|
-
((
|
|
3177
|
+
let $ = (m = u.get("vx-first-name")) == null ? void 0 : m.toString();
|
|
3178
|
+
const c = Di(
|
|
3179
|
+
((y = u.get("vx-phone-number")) == null ? void 0 : y.toString()) || "",
|
|
3236
3180
|
"US"
|
|
3237
3181
|
);
|
|
3238
3182
|
let v = !1;
|
|
3239
|
-
if (
|
|
3240
|
-
if (
|
|
3241
|
-
firstName:
|
|
3242
|
-
}) : v = await this.captureFn(
|
|
3183
|
+
if ($ != null && $.length > 0 && c != null && c.isPossible()) {
|
|
3184
|
+
if ($ = $.replace(/[^a-zA-Z0-9]+/g, ""), $.length > 0 ? v = await this.captureFn(c.format("E.164"), {
|
|
3185
|
+
firstName: $
|
|
3186
|
+
}) : v = await this.captureFn(c.format("E.164")), v) {
|
|
3243
3187
|
const S = document.querySelector("#vx-phone-number p");
|
|
3244
3188
|
S && (S.textContent = "");
|
|
3245
3189
|
const E = document.getElementById("vx-pop-up__title");
|
|
3246
3190
|
E && (E.innerHTML = "Chat soon <span class='vx-pop-up__wave vx:pl-1'>👋</span>");
|
|
3247
|
-
const
|
|
3248
|
-
|
|
3249
|
-
const
|
|
3250
|
-
|
|
3251
|
-
const
|
|
3191
|
+
const I = document.getElementById("vx-pop-up__msg");
|
|
3192
|
+
I && (I.textContent = "Thanks for signing up. We will be in touch shortly.");
|
|
3193
|
+
const _ = document.getElementById("vx-first-name__input");
|
|
3194
|
+
_ == null || _.setAttribute("disabled", "disabled");
|
|
3195
|
+
const q = document.getElementById(
|
|
3252
3196
|
"vx-phone-number__input"
|
|
3253
3197
|
);
|
|
3254
|
-
|
|
3198
|
+
q == null || q.setAttribute("disabled", "disabled"), (p = this.elements.btn) == null || p.setAttribute("disabled", "disabled"), this.elements.submit && (this.elements.submit.disabled = !0);
|
|
3255
3199
|
const pt = document.querySelector(
|
|
3256
|
-
`#${(
|
|
3200
|
+
`#${(H = this.elements.submit) == null ? void 0 : H.id} span`
|
|
3257
3201
|
);
|
|
3258
3202
|
pt && (pt.textContent = "Thanks"), setTimeout(() => {
|
|
3259
3203
|
this.close(), this.elements.btn && (this.elements.btn.style.cssText = "opacity: 0"), setTimeout(() => {
|
|
@@ -3262,12 +3206,12 @@ class Yi {
|
|
|
3262
3206
|
}, 1e3);
|
|
3263
3207
|
}, 5e3);
|
|
3264
3208
|
}
|
|
3265
|
-
} else if (
|
|
3266
|
-
(
|
|
3267
|
-
else if (!(
|
|
3209
|
+
} else if ($ == null || $.length == 0)
|
|
3210
|
+
(W = document.getElementById("vx-first-name__input")) == null || W.setAttribute("required", "required");
|
|
3211
|
+
else if (!(c != null && c.isPossible())) {
|
|
3268
3212
|
const S = document.querySelector("#vx-phone-number p");
|
|
3269
3213
|
if (S) {
|
|
3270
|
-
const E = (
|
|
3214
|
+
const E = (I, _) => Math.floor(Math.random() * (_ - I) + I);
|
|
3271
3215
|
S.textContent = `Please provide your number in (555) ${E(
|
|
3272
3216
|
100,
|
|
3273
3217
|
999
|
|
@@ -3463,8 +3407,8 @@ class Yi {
|
|
|
3463
3407
|
</svg>
|
|
3464
3408
|
<i id='vx-i'></i>
|
|
3465
3409
|
</button>
|
|
3466
|
-
</div>`, this.captureFn = t,
|
|
3467
|
-
this.name =
|
|
3410
|
+
</div>`, this.captureFn = t, e)
|
|
3411
|
+
this.name = e;
|
|
3468
3412
|
else
|
|
3469
3413
|
throw new Error("name required for pop-up");
|
|
3470
3414
|
if (n)
|
|
@@ -3485,21 +3429,21 @@ class Yi {
|
|
|
3485
3429
|
this.elements.container = i, i.innerHTML = this.html(), document.body.appendChild(i), this.addStyles(), this.assignElements(), this.setBindings(), this.close(), (a = document.getElementById("vx-pop-up")) == null || a.setAttribute("style", "");
|
|
3486
3430
|
}
|
|
3487
3431
|
}
|
|
3488
|
-
class
|
|
3489
|
-
constructor(t,
|
|
3490
|
-
this.authorization = t, this.connectBaseUri =
|
|
3432
|
+
class me {
|
|
3433
|
+
constructor(t, e) {
|
|
3434
|
+
this.authorization = t, this.connectBaseUri = e;
|
|
3491
3435
|
}
|
|
3492
3436
|
static init(t) {
|
|
3493
|
-
var
|
|
3494
|
-
return new
|
|
3437
|
+
var e;
|
|
3438
|
+
return new me(
|
|
3495
3439
|
`Basic ${btoa(`${t.publicKeyId}:${t.publicSecret}`)}`,
|
|
3496
|
-
(
|
|
3440
|
+
(e = t.connectBaseUri) != null ? e : Bi.services.connect
|
|
3497
3441
|
);
|
|
3498
3442
|
}
|
|
3499
|
-
async capture(t,
|
|
3443
|
+
async capture(t, e) {
|
|
3500
3444
|
try {
|
|
3501
|
-
const n =
|
|
3502
|
-
return n.isPossible() ? (await
|
|
3445
|
+
const n = Mi(t, "US");
|
|
3446
|
+
return n.isPossible() ? (await ji(`${this.connectBaseUri}/capture/contact`, {
|
|
3503
3447
|
headers: {
|
|
3504
3448
|
Authorization: this.authorization,
|
|
3505
3449
|
"Content-Type": "application/json"
|
|
@@ -3507,14 +3451,14 @@ class be {
|
|
|
3507
3451
|
method: "POST",
|
|
3508
3452
|
body: JSON.stringify({
|
|
3509
3453
|
phone: n.format("E.164"),
|
|
3510
|
-
email: (
|
|
3511
|
-
first_name: (
|
|
3512
|
-
last_name: (
|
|
3513
|
-
time_zone: (
|
|
3514
|
-
tags: (
|
|
3515
|
-
custom_attributes: (
|
|
3516
|
-
subscription_statuses: (
|
|
3517
|
-
group_id: (
|
|
3454
|
+
email: (e == null ? void 0 : e.email) || null,
|
|
3455
|
+
first_name: (e == null ? void 0 : e.firstName) || null,
|
|
3456
|
+
last_name: (e == null ? void 0 : e.lastName) || null,
|
|
3457
|
+
time_zone: (e == null ? void 0 : e.timeZone) || null,
|
|
3458
|
+
tags: (e == null ? void 0 : e.tags) || null,
|
|
3459
|
+
custom_attributes: (e == null ? void 0 : e.customAttributes) || null,
|
|
3460
|
+
subscription_statuses: (e == null ? void 0 : e.subscriptionStatuses) || null,
|
|
3461
|
+
group_id: (e == null ? void 0 : e.groupId) || null
|
|
3518
3462
|
})
|
|
3519
3463
|
}), !0) : !1;
|
|
3520
3464
|
} catch (n) {
|
|
@@ -3522,13 +3466,13 @@ class be {
|
|
|
3522
3466
|
}
|
|
3523
3467
|
}
|
|
3524
3468
|
popUp(t) {
|
|
3525
|
-
return new
|
|
3526
|
-
async (
|
|
3469
|
+
return new Ui(
|
|
3470
|
+
async (e, n) => this.capture(e, n),
|
|
3527
3471
|
t.name,
|
|
3528
3472
|
t.terms
|
|
3529
3473
|
);
|
|
3530
3474
|
}
|
|
3531
|
-
share(t,
|
|
3475
|
+
share(t, e, n) {
|
|
3532
3476
|
const i = (a, d) => {
|
|
3533
3477
|
const o = {};
|
|
3534
3478
|
if (a.firstName) {
|
|
@@ -3548,12 +3492,12 @@ class be {
|
|
|
3548
3492
|
t.addEventListener(
|
|
3549
3493
|
"submit",
|
|
3550
3494
|
async (a) => {
|
|
3551
|
-
const d = t.elements.namedItem(
|
|
3552
|
-
await this.capture(d.value, i(
|
|
3495
|
+
const d = t.elements.namedItem(e.phone);
|
|
3496
|
+
await this.capture(d.value, i(e, n));
|
|
3553
3497
|
}
|
|
3554
3498
|
);
|
|
3555
3499
|
}
|
|
3556
3500
|
}
|
|
3557
3501
|
export {
|
|
3558
|
-
|
|
3502
|
+
me as default
|
|
3559
3503
|
};
|