@voxie/contacts.js 1.4.1 → 1.6.0

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 CHANGED
@@ -1,3136 +1,30 @@
1
- const He = { 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]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "(?:[025-7]\\d|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", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|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]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|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]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[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", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "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|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-8]|5[0-3]|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]|68|[78]\\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-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|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[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[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}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
2
- function We(t, n) {
3
- var e = Array.prototype.slice.call(n);
4
- return e.push(He), t.apply(this, e);
5
- }
6
- function $e(t, n) {
7
- t = t.split("-"), n = n.split("-");
8
- for (var e = t[0].split("."), r = n[0].split("."), d = 0; d < 3; d++) {
9
- var i = Number(e[d]), a = Number(r[d]);
10
- if (i > a) return 1;
11
- if (a > i) return -1;
12
- if (!isNaN(i) && isNaN(a)) return 1;
13
- if (isNaN(i) && !isNaN(a)) return -1;
14
- }
15
- return t[1] && n[1] ? t[1] > n[1] ? 1 : t[1] < n[1] ? -1 : 0 : !t[1] && n[1] ? 1 : t[1] && !n[1] ? -1 : 0;
16
- }
17
- var lt = {}.constructor;
18
- function C(t) {
19
- return t != null && t.constructor === lt;
20
- }
21
- function X(t) {
22
- "@babel/helpers - typeof";
23
- return X = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
24
- return typeof n;
25
- } : function(n) {
26
- return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
27
- }, X(t);
28
- }
29
- function D(t, n) {
30
- if (!(t instanceof n))
31
- throw new TypeError("Cannot call a class as a function");
32
- }
33
- function ft(t, n) {
34
- for (var e = 0; e < n.length; e++) {
35
- var r = n[e];
36
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
37
- }
38
- }
39
- function B(t, n, e) {
40
- return n && ft(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
41
- }
42
- var ct = "1.2.0", ht = "1.7.35", se = " ext. ", gt = /^\d+$/, c = /* @__PURE__ */ function() {
43
- function t(n) {
44
- D(this, t), Ve(n), this.metadata = n, Ke.call(this, n);
45
- }
46
- return B(t, [{
47
- key: "getCountries",
48
- value: function() {
49
- return Object.keys(this.metadata.countries).filter(function(e) {
50
- return e !== "001";
51
- });
52
- }
53
- }, {
54
- key: "getCountryMetadata",
55
- value: function(e) {
56
- return this.metadata.countries[e];
57
- }
58
- }, {
59
- key: "nonGeographic",
60
- value: function() {
61
- if (!(this.v1 || this.v2 || this.v3))
62
- return this.metadata.nonGeographic || this.metadata.nonGeographical;
63
- }
64
- }, {
65
- key: "hasCountry",
66
- value: function(e) {
67
- return this.getCountryMetadata(e) !== void 0;
68
- }
69
- }, {
70
- key: "hasCallingCode",
71
- value: function(e) {
72
- if (this.getCountryCodesForCallingCode(e))
73
- return !0;
74
- if (this.nonGeographic()) {
75
- if (this.nonGeographic()[e])
76
- return !0;
77
- } else {
78
- var r = this.countryCallingCodes()[e];
79
- if (r && r.length === 1 && r[0] === "001")
80
- return !0;
81
- }
82
- }
83
- }, {
84
- key: "isNonGeographicCallingCode",
85
- value: function(e) {
86
- return this.nonGeographic() ? !!this.nonGeographic()[e] : !this.getCountryCodesForCallingCode(e);
87
- }
88
- // Deprecated.
89
- }, {
90
- key: "country",
91
- value: function(e) {
92
- return this.selectNumberingPlan(e);
93
- }
94
- }, {
95
- key: "selectNumberingPlan",
96
- value: function(e, r) {
97
- if (e && gt.test(e) && (r = e, e = null), e && e !== "001") {
98
- if (!this.hasCountry(e))
99
- throw new Error("Unknown country: ".concat(e));
100
- this.numberingPlan = new le(this.getCountryMetadata(e), this);
101
- } else if (r) {
102
- if (!this.hasCallingCode(r))
103
- throw new Error("Unknown calling code: ".concat(r));
104
- this.numberingPlan = new le(this.getNumberingPlanMetadata(r), this);
105
- } else
106
- this.numberingPlan = void 0;
107
- return this;
108
- }
109
- }, {
110
- key: "getCountryCodesForCallingCode",
111
- value: function(e) {
112
- var r = this.countryCallingCodes()[e];
113
- if (r)
114
- return r.length === 1 && r[0].length === 3 ? void 0 : r;
115
- }
116
- }, {
117
- key: "getCountryCodeForCallingCode",
118
- value: function(e) {
119
- var r = this.getCountryCodesForCallingCode(e);
120
- if (r)
121
- return r[0];
122
- }
123
- }, {
124
- key: "getNumberingPlanMetadata",
125
- value: function(e) {
126
- var r = this.getCountryCodeForCallingCode(e);
127
- if (r)
128
- return this.getCountryMetadata(r);
129
- if (this.nonGeographic()) {
130
- var d = this.nonGeographic()[e];
131
- if (d)
132
- return d;
133
- } else {
134
- var i = this.countryCallingCodes()[e];
135
- if (i && i.length === 1 && i[0] === "001")
136
- return this.metadata.countries["001"];
137
- }
138
- }
139
- // Deprecated.
140
- }, {
141
- key: "countryCallingCode",
142
- value: function() {
143
- return this.numberingPlan.callingCode();
144
- }
145
- // Deprecated.
146
- }, {
147
- key: "IDDPrefix",
148
- value: function() {
149
- return this.numberingPlan.IDDPrefix();
150
- }
151
- // Deprecated.
152
- }, {
153
- key: "defaultIDDPrefix",
154
- value: function() {
155
- return this.numberingPlan.defaultIDDPrefix();
156
- }
157
- // Deprecated.
158
- }, {
159
- key: "nationalNumberPattern",
160
- value: function() {
161
- return this.numberingPlan.nationalNumberPattern();
162
- }
163
- // Deprecated.
164
- }, {
165
- key: "possibleLengths",
166
- value: function() {
167
- return this.numberingPlan.possibleLengths();
168
- }
169
- // Deprecated.
170
- }, {
171
- key: "formats",
172
- value: function() {
173
- return this.numberingPlan.formats();
174
- }
175
- // Deprecated.
176
- }, {
177
- key: "nationalPrefixForParsing",
178
- value: function() {
179
- return this.numberingPlan.nationalPrefixForParsing();
180
- }
181
- // Deprecated.
182
- }, {
183
- key: "nationalPrefixTransformRule",
184
- value: function() {
185
- return this.numberingPlan.nationalPrefixTransformRule();
186
- }
187
- // Deprecated.
188
- }, {
189
- key: "leadingDigits",
190
- value: function() {
191
- return this.numberingPlan.leadingDigits();
192
- }
193
- // Deprecated.
194
- }, {
195
- key: "hasTypes",
196
- value: function() {
197
- return this.numberingPlan.hasTypes();
198
- }
199
- // Deprecated.
200
- }, {
201
- key: "type",
202
- value: function(e) {
203
- return this.numberingPlan.type(e);
204
- }
205
- // Deprecated.
206
- }, {
207
- key: "ext",
208
- value: function() {
209
- return this.numberingPlan.ext();
210
- }
211
- }, {
212
- key: "countryCallingCodes",
213
- value: function() {
214
- return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
215
- }
216
- // Deprecated.
217
- }, {
218
- key: "chooseCountryByCountryCallingCode",
219
- value: function(e) {
220
- return this.selectNumberingPlan(e);
221
- }
222
- }, {
223
- key: "hasSelectedNumberingPlan",
224
- value: function() {
225
- return this.numberingPlan !== void 0;
226
- }
227
- }]), t;
228
- }(), le = /* @__PURE__ */ function() {
229
- function t(n, e) {
230
- D(this, t), this.globalMetadataObject = e, this.metadata = n, Ke.call(this, e.metadata);
231
- }
232
- return B(t, [{
233
- key: "callingCode",
234
- value: function() {
235
- return this.metadata[0];
236
- }
237
- // Formatting information for regions which share
238
- // a country calling code is contained by only one region
239
- // for performance reasons. For example, for NANPA region
240
- // ("North American Numbering Plan Administration",
241
- // which includes USA, Canada, Cayman Islands, Bahamas, etc)
242
- // it will be contained in the metadata for `US`.
243
- }, {
244
- key: "getDefaultCountryMetadataForRegion",
245
- value: function() {
246
- return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
247
- }
248
- // Is always present.
249
- }, {
250
- key: "IDDPrefix",
251
- value: function() {
252
- if (!(this.v1 || this.v2))
253
- return this.metadata[1];
254
- }
255
- // Is only present when a country supports multiple IDD prefixes.
256
- }, {
257
- key: "defaultIDDPrefix",
258
- value: function() {
259
- if (!(this.v1 || this.v2))
260
- return this.metadata[12];
261
- }
262
- }, {
263
- key: "nationalNumberPattern",
264
- value: function() {
265
- return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
266
- }
267
- // "possible length" data is always present in Google's metadata.
268
- }, {
269
- key: "possibleLengths",
270
- value: function() {
271
- if (!this.v1)
272
- return this.metadata[this.v2 ? 2 : 3];
273
- }
274
- }, {
275
- key: "_getFormats",
276
- value: function(e) {
277
- return e[this.v1 ? 2 : this.v2 ? 3 : 4];
278
- }
279
- // For countries of the same region (e.g. NANPA)
280
- // formats are all stored in the "main" country for that region.
281
- // E.g. "RU" and "KZ", "US" and "CA".
282
- }, {
283
- key: "formats",
284
- value: function() {
285
- var e = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
286
- return r.map(function(d) {
287
- return new mt(d, e);
288
- });
289
- }
290
- }, {
291
- key: "nationalPrefix",
292
- value: function() {
293
- return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
294
- }
295
- }, {
296
- key: "_getNationalPrefixFormattingRule",
297
- value: function(e) {
298
- return e[this.v1 ? 4 : this.v2 ? 5 : 6];
299
- }
300
- // For countries of the same region (e.g. NANPA)
301
- // national prefix formatting rule is stored in the "main" country for that region.
302
- // E.g. "RU" and "KZ", "US" and "CA".
303
- }, {
304
- key: "nationalPrefixFormattingRule",
305
- value: function() {
306
- return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
307
- }
308
- }, {
309
- key: "_nationalPrefixForParsing",
310
- value: function() {
311
- return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
312
- }
313
- }, {
314
- key: "nationalPrefixForParsing",
315
- value: function() {
316
- return this._nationalPrefixForParsing() || this.nationalPrefix();
317
- }
318
- }, {
319
- key: "nationalPrefixTransformRule",
320
- value: function() {
321
- return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
322
- }
323
- }, {
324
- key: "_getNationalPrefixIsOptionalWhenFormatting",
325
- value: function() {
326
- return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
327
- }
328
- // For countries of the same region (e.g. NANPA)
329
- // "national prefix is optional when formatting" flag is
330
- // stored in the "main" country for that region.
331
- // E.g. "RU" and "KZ", "US" and "CA".
332
- }, {
333
- key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
334
- value: function() {
335
- return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
336
- }
337
- }, {
338
- key: "leadingDigits",
339
- value: function() {
340
- return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
341
- }
342
- }, {
343
- key: "types",
344
- value: function() {
345
- return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
346
- }
347
- }, {
348
- key: "hasTypes",
349
- value: function() {
350
- return this.types() && this.types().length === 0 ? !1 : !!this.types();
351
- }
352
- }, {
353
- key: "type",
354
- value: function(e) {
355
- if (this.hasTypes() && fe(this.types(), e))
356
- return new yt(fe(this.types(), e), this);
357
- }
358
- }, {
359
- key: "ext",
360
- value: function() {
361
- return this.v1 || this.v2 ? se : this.metadata[13] || se;
362
- }
363
- }]), t;
364
- }(), mt = /* @__PURE__ */ function() {
365
- function t(n, e) {
366
- D(this, t), this._format = n, this.metadata = e;
367
- }
368
- return B(t, [{
369
- key: "pattern",
370
- value: function() {
371
- return this._format[0];
372
- }
373
- }, {
374
- key: "format",
375
- value: function() {
376
- return this._format[1];
377
- }
378
- }, {
379
- key: "leadingDigitsPatterns",
380
- value: function() {
381
- return this._format[2] || [];
382
- }
383
- }, {
384
- key: "nationalPrefixFormattingRule",
385
- value: function() {
386
- return this._format[3] || this.metadata.nationalPrefixFormattingRule();
387
- }
388
- }, {
389
- key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
390
- value: function() {
391
- return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
392
- }
393
- }, {
394
- key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
395
- value: function() {
396
- return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
397
- }
398
- // Checks whether national prefix formatting rule contains national prefix.
399
- }, {
400
- key: "usesNationalPrefix",
401
- value: function() {
402
- return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
403
- !vt.test(this.nationalPrefixFormattingRule()));
404
- }
405
- }, {
406
- key: "internationalFormat",
407
- value: function() {
408
- return this._format[5] || this.format();
409
- }
410
- }]), t;
411
- }(), vt = /^\(?\$1\)?$/, yt = /* @__PURE__ */ function() {
412
- function t(n, e) {
413
- D(this, t), this.type = n, this.metadata = e;
414
- }
415
- return B(t, [{
416
- key: "pattern",
417
- value: function() {
418
- return this.metadata.v1 ? this.type : this.type[0];
419
- }
420
- }, {
421
- key: "possibleLengths",
422
- value: function() {
423
- if (!this.metadata.v1)
424
- return this.type[1] || this.metadata.possibleLengths();
425
- }
426
- }]), t;
427
- }();
428
- function fe(t, n) {
429
- switch (n) {
430
- case "FIXED_LINE":
431
- return t[0];
432
- case "MOBILE":
433
- return t[1];
434
- case "TOLL_FREE":
435
- return t[2];
436
- case "PREMIUM_RATE":
437
- return t[3];
438
- case "PERSONAL_NUMBER":
439
- return t[4];
440
- case "VOICEMAIL":
441
- return t[5];
442
- case "UAN":
443
- return t[6];
444
- case "PAGER":
445
- return t[7];
446
- case "VOIP":
447
- return t[8];
448
- case "SHARED_COST":
449
- return t[9];
450
- }
451
- }
452
- function Ve(t) {
453
- if (!t)
454
- throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
455
- if (!C(t) || !C(t.countries))
456
- 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(C(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + pt(t) + ": " + t, "."));
457
- }
458
- var pt = function(n) {
459
- return X(n);
460
- };
461
- function ne(t, n) {
462
- if (n = new c(n), n.hasCountry(t))
463
- return n.country(t).countryCallingCode();
464
- throw new Error("Unknown country: ".concat(t));
465
- }
466
- function bt(t, n) {
467
- return n.countries.hasOwnProperty(t);
468
- }
469
- function Ke(t) {
470
- var n = t.version;
471
- typeof n == "number" ? (this.v1 = n === 1, this.v2 = n === 2, this.v3 = n === 3, this.v4 = n === 4) : n ? $e(n, ct) === -1 ? this.v2 = !0 : $e(n, ht) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
472
- }
473
- function G(t, n) {
474
- return xt(t, void 0, n);
475
- }
476
- function xt(t, n, e) {
477
- var r = e.type(n), d = r && r.possibleLengths() || e.possibleLengths();
478
- if (!d)
479
- return "IS_POSSIBLE";
480
- var i = t.length, a = d[0];
481
- return a === i ? "IS_POSSIBLE" : a > i ? "TOO_SHORT" : d[d.length - 1] < i ? "TOO_LONG" : d.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
482
- }
483
- function Nt(t, n, e) {
484
- if (n === void 0 && (n = {}), e = new c(e), n.v2) {
485
- if (!t.countryCallingCode)
486
- throw new Error("Invalid phone number object passed");
487
- e.selectNumberingPlan(t.countryCallingCode);
488
- } else {
489
- if (!t.phone)
490
- return !1;
491
- if (t.country) {
492
- if (!e.hasCountry(t.country))
493
- throw new Error("Unknown country: ".concat(t.country));
494
- e.country(t.country);
495
- } else {
496
- if (!t.countryCallingCode)
497
- throw new Error("Invalid phone number object passed");
498
- e.selectNumberingPlan(t.countryCallingCode);
499
- }
500
- }
501
- if (e.possibleLengths())
502
- return Xe(t.phone || t.nationalNumber, e);
503
- if (t.countryCallingCode && e.isNonGeographicCallingCode(t.countryCallingCode))
504
- return !0;
505
- throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
506
- }
507
- function Xe(t, n) {
508
- switch (G(t, n)) {
509
- case "IS_POSSIBLE":
510
- return !0;
511
- // This library ignores "local-only" phone numbers (for simplicity).
512
- // See the readme for more info on what are "local-only" phone numbers.
513
- // case 'IS_POSSIBLE_LOCAL_ONLY':
514
- // return !isInternational
515
- default:
516
- return !1;
517
- }
518
- }
519
- function N(t, n) {
520
- return t = t || "", new RegExp("^(?:" + n + ")$").test(t);
521
- }
522
- function Ct(t, n) {
523
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
524
- if (e) return (e = e.call(t)).next.bind(e);
525
- if (Array.isArray(t) || (e = Pt(t)) || n) {
526
- e && (t = e);
527
- var r = 0;
528
- return function() {
529
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
530
- };
531
- }
532
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
533
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
534
- }
535
- function Pt(t, n) {
536
- if (t) {
537
- if (typeof t == "string") return ce(t, n);
538
- var e = Object.prototype.toString.call(t).slice(8, -1);
539
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
540
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return ce(t, n);
541
- }
542
- }
543
- function ce(t, n) {
544
- (n == null || n > t.length) && (n = t.length);
545
- for (var e = 0, r = new Array(n); e < n; e++)
546
- r[e] = t[e];
547
- return r;
548
- }
549
- var Et = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
550
- function re(t, n, e) {
551
- if (n = n || {}, !(!t.country && !t.countryCallingCode)) {
552
- e = new c(e), e.selectNumberingPlan(t.country, t.countryCallingCode);
553
- var r = n.v2 ? t.nationalNumber : t.phone;
554
- if (N(r, e.nationalNumberPattern())) {
555
- if (H(r, "FIXED_LINE", e))
556
- return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || H(r, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
557
- for (var d = Ct(Et), i; !(i = d()).done; ) {
558
- var a = i.value;
559
- if (H(r, a, e))
560
- return a;
561
- }
562
- }
563
- }
564
- }
565
- function H(t, n, e) {
566
- return n = e.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(t.length) < 0 ? !1 : N(t, n.pattern());
567
- }
568
- function wt(t, n, e) {
569
- if (n = n || {}, e = new c(e), e.selectNumberingPlan(t.country, t.countryCallingCode), e.hasTypes())
570
- return re(t, n, e.metadata) !== void 0;
571
- var r = n.v2 ? t.nationalNumber : t.phone;
572
- return N(r, e.nationalNumberPattern());
573
- }
574
- function It(t, n, e) {
575
- var r = new c(e), d = r.getCountryCodesForCallingCode(t);
576
- return d ? d.filter(function(i) {
577
- return _t(n, i, e);
578
- }) : [];
579
- }
580
- function _t(t, n, e) {
581
- var r = new c(e);
582
- return r.selectNumberingPlan(n), r.numberingPlan.possibleLengths().indexOf(t.length) >= 0;
583
- }
584
- var de = 2, St = 17, Ft = 3, g = "0-90-9٠-٩۰-۹", At = "-‐-―−ー-", Tt = "//", Ot = "..", Rt = "  ­​⁠ ", kt = "()()[]\\[\\]", Lt = "~⁓∼~", p = "".concat(At).concat(Tt).concat(Ot).concat(Rt).concat(kt).concat(Lt), j = "++", Mt = new RegExp("([" + g + "])");
585
- function Ye(t, n, e, r) {
586
- if (n) {
587
- var d = new c(r);
588
- d.selectNumberingPlan(n, e);
589
- var i = new RegExp(d.IDDPrefix());
590
- if (t.search(i) === 0) {
591
- t = t.slice(t.match(i)[0].length);
592
- var a = t.match(Mt);
593
- if (!(a && a[1] != null && a[1].length > 0 && a[1] === "0"))
594
- return t;
595
- }
596
- }
597
- }
598
- function Y(t, n) {
599
- if (t && n.numberingPlan.nationalPrefixForParsing()) {
600
- var e = new RegExp("^(?:" + n.numberingPlan.nationalPrefixForParsing() + ")"), r = e.exec(t);
601
- if (r) {
602
- var d, i, a = r.length - 1, o = a > 0 && r[a];
603
- if (n.nationalPrefixTransformRule() && o)
604
- d = t.replace(e, n.nationalPrefixTransformRule()), a > 1 && (i = r[1]);
605
- else {
606
- var u = r[0];
607
- d = t.slice(u.length), o && (i = r[1]);
608
- }
609
- var $;
610
- if (o) {
611
- var s = t.indexOf(r[1]), f = t.slice(0, s);
612
- f === n.numberingPlan.nationalPrefix() && ($ = n.numberingPlan.nationalPrefix());
613
- } else
614
- $ = r[0];
615
- return {
616
- nationalNumber: d,
617
- nationalPrefix: $,
618
- carrierCode: i
619
- };
620
- }
621
- }
622
- return {
623
- nationalNumber: t
624
- };
625
- }
626
- function Z(t, n) {
627
- var e = Y(t, n), r = e.carrierCode, d = e.nationalNumber;
628
- if (d !== t) {
629
- if (!Dt(t, d, n))
630
- return {
631
- nationalNumber: t
632
- };
633
- if (n.possibleLengths() && !Bt(d, n))
634
- return {
635
- nationalNumber: t
636
- };
637
- }
638
- return {
639
- nationalNumber: d,
640
- carrierCode: r
641
- };
642
- }
643
- function Dt(t, n, e) {
644
- return !(N(t, e.nationalNumberPattern()) && !N(n, e.nationalNumberPattern()));
645
- }
646
- function Bt(t, n) {
647
- switch (G(t, n)) {
648
- case "TOO_SHORT":
649
- case "INVALID_LENGTH":
650
- return !1;
651
- default:
652
- return !0;
653
- }
654
- }
655
- function Ze(t, n, e, r) {
656
- var d = n ? ne(n, r) : e;
657
- if (t.indexOf(d) === 0) {
658
- r = new c(r), r.selectNumberingPlan(n, e);
659
- var i = t.slice(d.length), a = Z(i, r), o = a.nationalNumber, u = Z(t, r), $ = u.nationalNumber;
660
- if (!N($, r.nationalNumberPattern()) && N(o, r.nationalNumberPattern()) || G($, r) === "TOO_LONG")
661
- return {
662
- countryCallingCode: d,
663
- number: i
664
- };
665
- }
666
- return {
667
- number: t
668
- };
669
- }
670
- function ie(t, n, e, r) {
671
- if (!t)
672
- return {};
673
- var d;
674
- if (t[0] !== "+") {
675
- var i = Ye(t, n, e, r);
676
- if (i && i !== t)
677
- d = !0, t = "+" + i;
678
- else {
679
- if (n || e) {
680
- var a = Ze(t, n, e, r), o = a.countryCallingCode, u = a.number;
681
- if (o)
682
- return {
683
- countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
684
- countryCallingCode: o,
685
- number: u
686
- };
687
- }
688
- return {
689
- // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
690
- // countryCallingCodeSource: 'UNSPECIFIED',
691
- number: t
692
- };
693
- }
694
- }
695
- if (t[1] === "0")
696
- return {};
697
- r = new c(r);
698
- for (var $ = 2; $ - 1 <= Ft && $ <= t.length; ) {
699
- var s = t.slice(1, $);
700
- if (r.hasCallingCode(s))
701
- return r.selectNumberingPlan(s), {
702
- countryCallingCodeSource: d ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
703
- countryCallingCode: s,
704
- number: t.slice($)
705
- };
706
- $++;
707
- }
708
- return {};
709
- }
710
- function Je(t) {
711
- return t.replace(new RegExp("[".concat(p, "]+"), "g"), " ").trim();
712
- }
713
- var ze = /(\$\d)/;
714
- function qe(t, n, e) {
715
- var r = e.useInternationalFormat, d = e.withNationalPrefix;
716
- e.carrierCode, e.metadata;
717
- var i = t.replace(new RegExp(n.pattern()), r ? n.internationalFormat() : (
718
- // This library doesn't use `domestic_carrier_code_formatting_rule`,
719
- // because that one is only used when formatting phone numbers
720
- // for dialing from a mobile phone, and this is not a dialing library.
721
- // carrierCode && format.domesticCarrierCodeFormattingRule()
722
- // // First, replace the $CC in the formatting rule with the desired carrier code.
723
- // // Then, replace the $FG in the formatting rule with the first group
724
- // // and the carrier code combined in the appropriate way.
725
- // ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
726
- // : (
727
- // withNationalPrefix && format.nationalPrefixFormattingRule()
728
- // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
729
- // : format.format()
730
- // )
731
- d && n.nationalPrefixFormattingRule() ? n.format().replace(ze, n.nationalPrefixFormattingRule()) : n.format()
732
- ));
733
- return r ? Je(i) : i;
734
- }
735
- var Gt = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
736
- function jt(t, n, e) {
737
- var r = new c(e);
738
- if (r.selectNumberingPlan(t, n), r.defaultIDDPrefix())
739
- return r.defaultIDDPrefix();
740
- if (Gt.test(r.IDDPrefix()))
741
- return r.IDDPrefix();
742
- }
743
- var Ut = ";ext=", P = function(n) {
744
- return "([".concat(g, "]{1,").concat(n, "})");
745
- };
746
- function Qe(t) {
747
- var n = "20", e = "15", r = "9", d = "6", i = "[  \\t,]*", a = "[:\\..]?[  \\t,-]*", o = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", $ = "(?:[xx##~~]|int|int)", s = "[- ]+", f = "[  \\t]*", l = "(?:,{2}|;)", h = Ut + P(n), m = i + u + a + P(n) + o, b = i + $ + a + P(r) + o, v = s + P(d) + "#", T = f + l + a + P(e) + o, O = f + "(?:,)+" + a + P(r) + o;
748
- return h + "|" + m + "|" + b + "|" + v + "|" + T + "|" + O;
749
- }
750
- var Ht = "[" + g + "]{" + de + "}", Wt = "[" + j + "]{0,1}(?:[" + p + "]*[" + g + "]){3,}[" + p + g + "]*", Vt = new RegExp("^[" + j + "]{0,1}(?:[" + p + "]*[" + g + "]){1,2}$", "i"), Kt = Wt + // Phone number extensions
751
- "(?:" + Qe() + ")?", Xt = new RegExp(
752
- // Either a short two-digit-only phone number
753
- "^" + Ht + "$|^" + Kt + "$",
754
- "i"
755
- );
756
- function Yt(t) {
757
- return t.length >= de && Xt.test(t);
758
- }
759
- function Zt(t) {
760
- return Vt.test(t);
761
- }
762
- function Jt(t) {
763
- var n = t.number, e = t.ext;
764
- if (!n)
765
- return "";
766
- if (n[0] !== "+")
767
- throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
768
- return "tel:".concat(n).concat(e ? ";ext=" + e : "");
769
- }
770
- function zt(t, n) {
771
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
772
- if (e) return (e = e.call(t)).next.bind(e);
773
- if (Array.isArray(t) || (e = qt(t)) || n) {
774
- e && (t = e);
775
- var r = 0;
776
- return function() {
777
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
778
- };
779
- }
780
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
781
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
782
- }
783
- function qt(t, n) {
784
- if (t) {
785
- if (typeof t == "string") return he(t, n);
786
- var e = Object.prototype.toString.call(t).slice(8, -1);
787
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
788
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return he(t, n);
789
- }
790
- }
791
- function he(t, n) {
792
- (n == null || n > t.length) && (n = t.length);
793
- for (var e = 0, r = new Array(n); e < n; e++)
794
- r[e] = t[e];
795
- return r;
796
- }
797
- function ge(t, n) {
798
- var e = Object.keys(t);
799
- if (Object.getOwnPropertySymbols) {
800
- var r = Object.getOwnPropertySymbols(t);
801
- n && (r = r.filter(function(d) {
802
- return Object.getOwnPropertyDescriptor(t, d).enumerable;
803
- })), e.push.apply(e, r);
804
- }
805
- return e;
806
- }
807
- function me(t) {
808
- for (var n = 1; n < arguments.length; n++) {
809
- var e = arguments[n] != null ? arguments[n] : {};
810
- n % 2 ? ge(Object(e), !0).forEach(function(r) {
811
- Qt(t, r, e[r]);
812
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : ge(Object(e)).forEach(function(r) {
813
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
814
- });
815
- }
816
- return t;
817
- }
818
- function Qt(t, n, e) {
819
- return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
820
- }
821
- var ve = {
822
- formatExtension: function(n, e, r) {
823
- return "".concat(n).concat(r.ext()).concat(e);
824
- }
825
- };
826
- function en(t, n, e, r) {
827
- if (e ? e = me(me({}, ve), e) : e = ve, r = new c(r), t.country && t.country !== "001") {
828
- if (!r.hasCountry(t.country))
829
- throw new Error("Unknown country: ".concat(t.country));
830
- r.country(t.country);
831
- } else if (t.countryCallingCode)
832
- r.selectNumberingPlan(t.countryCallingCode);
833
- else return t.phone || "";
834
- var d = r.countryCallingCode(), i = e.v2 ? t.nationalNumber : t.phone, a;
835
- switch (n) {
836
- case "NATIONAL":
837
- return i ? (a = L(i, t.carrierCode, "NATIONAL", r, e), W(a, t.ext, r, e.formatExtension)) : "";
838
- case "INTERNATIONAL":
839
- return i ? (a = L(i, null, "INTERNATIONAL", r, e), a = "+".concat(d, " ").concat(a), W(a, t.ext, r, e.formatExtension)) : "+".concat(d);
840
- case "E.164":
841
- return "+".concat(d).concat(i);
842
- case "RFC3966":
843
- return Jt({
844
- number: "+".concat(d).concat(i),
845
- ext: t.ext
846
- });
847
- // For reference, here's Google's IDD formatter:
848
- // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
849
- // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
850
- // Who would even need to format phone numbers in IDD format anyway?
851
- case "IDD":
852
- if (!e.fromCountry)
853
- return;
854
- var o = nn(i, t.carrierCode, d, e.fromCountry, r);
855
- return W(o, t.ext, r, e.formatExtension);
856
- default:
857
- throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n, '"'));
858
- }
859
- }
860
- function L(t, n, e, r, d) {
861
- var i = tn(r.formats(), t);
862
- return i ? qe(t, i, {
863
- useInternationalFormat: e === "INTERNATIONAL",
864
- withNationalPrefix: !(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && d && d.nationalPrefix === !1),
865
- carrierCode: n,
866
- metadata: r
867
- }) : t;
868
- }
869
- function tn(t, n) {
870
- for (var e = zt(t), r; !(r = e()).done; ) {
871
- var d = r.value;
872
- if (d.leadingDigitsPatterns().length > 0) {
873
- var i = d.leadingDigitsPatterns()[d.leadingDigitsPatterns().length - 1];
874
- if (n.search(i) !== 0)
875
- continue;
876
- }
877
- if (N(n, d.pattern()))
878
- return d;
879
- }
880
- }
881
- function W(t, n, e, r) {
882
- return n ? r(t, n, e) : t;
883
- }
884
- function nn(t, n, e, r, d) {
885
- var i = ne(r, d.metadata);
886
- if (i === e) {
887
- var a = L(t, n, "NATIONAL", d);
888
- return e === "1" ? e + " " + a : a;
889
- }
890
- var o = jt(r, void 0, d.metadata);
891
- if (o)
892
- return "".concat(o, " ").concat(e, " ").concat(L(t, null, "INTERNATIONAL", d));
893
- }
894
- function ye(t, n) {
895
- var e = Object.keys(t);
896
- if (Object.getOwnPropertySymbols) {
897
- var r = Object.getOwnPropertySymbols(t);
898
- n && (r = r.filter(function(d) {
899
- return Object.getOwnPropertyDescriptor(t, d).enumerable;
900
- })), e.push.apply(e, r);
901
- }
902
- return e;
903
- }
904
- function pe(t) {
905
- for (var n = 1; n < arguments.length; n++) {
906
- var e = arguments[n] != null ? arguments[n] : {};
907
- n % 2 ? ye(Object(e), !0).forEach(function(r) {
908
- rn(t, r, e[r]);
909
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : ye(Object(e)).forEach(function(r) {
910
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
911
- });
912
- }
913
- return t;
914
- }
915
- function rn(t, n, e) {
916
- return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
917
- }
918
- function dn(t, n) {
919
- if (!(t instanceof n))
920
- throw new TypeError("Cannot call a class as a function");
921
- }
922
- function an(t, n) {
923
- for (var e = 0; e < n.length; e++) {
924
- var r = n[e];
925
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
926
- }
927
- }
928
- function on(t, n, e) {
929
- return n && an(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
930
- }
931
- var et = /* @__PURE__ */ function() {
932
- function t(n, e, r) {
933
- if (dn(this, t), !n)
934
- throw new TypeError("First argument is required");
935
- if (typeof n != "string")
936
- throw new TypeError("First argument must be a string");
937
- if (n[0] === "+" && !e)
938
- throw new TypeError("`metadata` argument not passed");
939
- if (C(e) && C(e.countries)) {
940
- r = e;
941
- var d = n;
942
- if (!sn.test(d))
943
- throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
944
- var i = ie(d, void 0, void 0, r), a = i.countryCallingCode, o = i.number;
945
- if (e = o, n = a, !e)
946
- throw new Error("Invalid `number` argument passed: too short");
947
- }
948
- if (!e)
949
- throw new TypeError("`nationalNumber` argument is required");
950
- if (typeof e != "string")
951
- throw new TypeError("`nationalNumber` argument must be a string");
952
- Ve(r);
953
- var u = $n(n, r), $ = u.country, s = u.countryCallingCode;
954
- this.country = $, this.countryCallingCode = s, this.nationalNumber = e, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
955
- return r;
956
- };
957
- }
958
- return on(t, [{
959
- key: "setExt",
960
- value: function(e) {
961
- this.ext = e;
962
- }
963
- }, {
964
- key: "getPossibleCountries",
965
- value: function() {
966
- return this.country ? [this.country] : It(this.countryCallingCode, this.nationalNumber, this.getMetadata());
967
- }
968
- }, {
969
- key: "isPossible",
970
- value: function() {
971
- return Nt(this, {
972
- v2: !0
973
- }, this.getMetadata());
974
- }
975
- }, {
976
- key: "isValid",
977
- value: function() {
978
- return wt(this, {
979
- v2: !0
980
- }, this.getMetadata());
981
- }
982
- }, {
983
- key: "isNonGeographic",
984
- value: function() {
985
- var e = new c(this.getMetadata());
986
- return e.isNonGeographicCallingCode(this.countryCallingCode);
987
- }
988
- }, {
989
- key: "isEqual",
990
- value: function(e) {
991
- return this.number === e.number && this.ext === e.ext;
992
- }
993
- // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
994
- // but later it was found out that it doesn't include the possible `TOO_SHORT` result
995
- // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
996
- // so eventually I simply commented out this method from the `PhoneNumber` class
997
- // and just left the `validatePhoneNumberLength()` function, even though that one would require
998
- // and additional step to also validate the actual country / calling code of the phone number.
999
- // validateLength() {
1000
- // const metadata = new Metadata(this.getMetadata())
1001
- // metadata.selectNumberingPlan(this.countryCallingCode)
1002
- // const result = checkNumberLength(this.nationalNumber, metadata)
1003
- // if (result !== 'IS_POSSIBLE') {
1004
- // return result
1005
- // }
1006
- // }
1007
- }, {
1008
- key: "getType",
1009
- value: function() {
1010
- return re(this, {
1011
- v2: !0
1012
- }, this.getMetadata());
1013
- }
1014
- }, {
1015
- key: "format",
1016
- value: function(e, r) {
1017
- return en(this, e, r ? pe(pe({}, r), {}, {
1018
- v2: !0
1019
- }) : {
1020
- v2: !0
1021
- }, this.getMetadata());
1022
- }
1023
- }, {
1024
- key: "formatNational",
1025
- value: function(e) {
1026
- return this.format("NATIONAL", e);
1027
- }
1028
- }, {
1029
- key: "formatInternational",
1030
- value: function(e) {
1031
- return this.format("INTERNATIONAL", e);
1032
- }
1033
- }, {
1034
- key: "getURI",
1035
- value: function(e) {
1036
- return this.format("RFC3966", e);
1037
- }
1038
- }]), t;
1039
- }(), un = function(n) {
1040
- return /^[A-Z]{2}$/.test(n);
1041
- };
1042
- function $n(t, n) {
1043
- var e, r, d = new c(n);
1044
- return un(t) ? (e = t, d.selectNumberingPlan(e), r = d.countryCallingCode()) : r = t, {
1045
- country: e,
1046
- countryCallingCode: r
1047
- };
1048
- }
1049
- var sn = /^\+\d+$/;
1050
- function J(t) {
1051
- "@babel/helpers - typeof";
1052
- return J = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
1053
- return typeof n;
1054
- } : function(n) {
1055
- return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
1056
- }, J(t);
1057
- }
1058
- function ln(t, n, e) {
1059
- return Object.defineProperty(t, "prototype", { writable: !1 }), t;
1060
- }
1061
- function fn(t, n) {
1062
- if (!(t instanceof n))
1063
- throw new TypeError("Cannot call a class as a function");
1064
- }
1065
- function cn(t, n) {
1066
- if (typeof n != "function" && n !== null)
1067
- throw new TypeError("Super expression must either be null or a function");
1068
- t.prototype = Object.create(n && n.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), n && S(t, n);
1069
- }
1070
- function hn(t) {
1071
- var n = nt();
1072
- return function() {
1073
- var r = F(t), d;
1074
- if (n) {
1075
- var i = F(this).constructor;
1076
- d = Reflect.construct(r, arguments, i);
1077
- } else
1078
- d = r.apply(this, arguments);
1079
- return gn(this, d);
1080
- };
1081
- }
1082
- function gn(t, n) {
1083
- if (n && (J(n) === "object" || typeof n == "function"))
1084
- return n;
1085
- if (n !== void 0)
1086
- throw new TypeError("Derived constructors may only return object or undefined");
1087
- return tt(t);
1088
- }
1089
- function tt(t) {
1090
- if (t === void 0)
1091
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1092
- return t;
1093
- }
1094
- function z(t) {
1095
- var n = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
1096
- return z = function(r) {
1097
- if (r === null || !mn(r)) return r;
1098
- if (typeof r != "function")
1099
- throw new TypeError("Super expression must either be null or a function");
1100
- if (typeof n != "undefined") {
1101
- if (n.has(r)) return n.get(r);
1102
- n.set(r, d);
1103
- }
1104
- function d() {
1105
- return R(r, arguments, F(this).constructor);
1106
- }
1107
- return d.prototype = Object.create(r.prototype, { constructor: { value: d, enumerable: !1, writable: !0, configurable: !0 } }), S(d, r);
1108
- }, z(t);
1109
- }
1110
- function R(t, n, e) {
1111
- return nt() ? R = Reflect.construct : R = function(d, i, a) {
1112
- var o = [null];
1113
- o.push.apply(o, i);
1114
- var u = Function.bind.apply(d, o), $ = new u();
1115
- return a && S($, a.prototype), $;
1116
- }, R.apply(null, arguments);
1117
- }
1118
- function nt() {
1119
- if (typeof Reflect == "undefined" || !Reflect.construct || Reflect.construct.sham) return !1;
1120
- if (typeof Proxy == "function") return !0;
1121
- try {
1122
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1123
- })), !0;
1124
- } catch (t) {
1125
- return !1;
1126
- }
1127
- }
1128
- function mn(t) {
1129
- return Function.toString.call(t).indexOf("[native code]") !== -1;
1130
- }
1131
- function S(t, n) {
1132
- return S = Object.setPrototypeOf || function(r, d) {
1133
- return r.__proto__ = d, r;
1134
- }, S(t, n);
1135
- }
1136
- function F(t) {
1137
- return F = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
1138
- return e.__proto__ || Object.getPrototypeOf(e);
1139
- }, F(t);
1140
- }
1141
- var x = /* @__PURE__ */ function(t) {
1142
- cn(e, t);
1143
- var n = hn(e);
1144
- function e(r) {
1145
- var d;
1146
- return fn(this, e), d = n.call(this, r), Object.setPrototypeOf(tt(d), e.prototype), d.name = d.constructor.name, d;
1147
- }
1148
- return ln(e);
1149
- }(/* @__PURE__ */ z(Error)), be = new RegExp("(?:" + Qe() + ")$", "i");
1150
- function vn(t) {
1151
- var n = t.search(be);
1152
- if (n < 0)
1153
- return {};
1154
- for (var e = t.slice(0, n), r = t.match(be), d = 1; d < r.length; ) {
1155
- if (r[d])
1156
- return {
1157
- number: e,
1158
- ext: r[d]
1159
- };
1160
- d++;
1161
- }
1162
- }
1163
- function yn(t, n) {
1164
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
1165
- if (e) return (e = e.call(t)).next.bind(e);
1166
- if (Array.isArray(t) || (e = pn(t)) || n) {
1167
- e && (t = e);
1168
- var r = 0;
1169
- return function() {
1170
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
1171
- };
1172
- }
1173
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1174
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1175
- }
1176
- function pn(t, n) {
1177
- if (t) {
1178
- if (typeof t == "string") return xe(t, n);
1179
- var e = Object.prototype.toString.call(t).slice(8, -1);
1180
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
1181
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return xe(t, n);
1182
- }
1183
- }
1184
- function xe(t, n) {
1185
- (n == null || n > t.length) && (n = t.length);
1186
- for (var e = 0, r = new Array(n); e < n; e++)
1187
- r[e] = t[e];
1188
- return r;
1189
- }
1190
- var bn = {
1191
- 0: "0",
1192
- 1: "1",
1193
- 2: "2",
1194
- 3: "3",
1195
- 4: "4",
1196
- 5: "5",
1197
- 6: "6",
1198
- 7: "7",
1199
- 8: "8",
1200
- 9: "9",
1201
- "0": "0",
1202
- // Fullwidth digit 0
1203
- "1": "1",
1204
- // Fullwidth digit 1
1205
- "2": "2",
1206
- // Fullwidth digit 2
1207
- "3": "3",
1208
- // Fullwidth digit 3
1209
- "4": "4",
1210
- // Fullwidth digit 4
1211
- "5": "5",
1212
- // Fullwidth digit 5
1213
- "6": "6",
1214
- // Fullwidth digit 6
1215
- "7": "7",
1216
- // Fullwidth digit 7
1217
- "8": "8",
1218
- // Fullwidth digit 8
1219
- "9": "9",
1220
- // Fullwidth digit 9
1221
- "٠": "0",
1222
- // Arabic-indic digit 0
1223
- "١": "1",
1224
- // Arabic-indic digit 1
1225
- "٢": "2",
1226
- // Arabic-indic digit 2
1227
- "٣": "3",
1228
- // Arabic-indic digit 3
1229
- "٤": "4",
1230
- // Arabic-indic digit 4
1231
- "٥": "5",
1232
- // Arabic-indic digit 5
1233
- "٦": "6",
1234
- // Arabic-indic digit 6
1235
- "٧": "7",
1236
- // Arabic-indic digit 7
1237
- "٨": "8",
1238
- // Arabic-indic digit 8
1239
- "٩": "9",
1240
- // Arabic-indic digit 9
1241
- "۰": "0",
1242
- // Eastern-Arabic digit 0
1243
- "۱": "1",
1244
- // Eastern-Arabic digit 1
1245
- "۲": "2",
1246
- // Eastern-Arabic digit 2
1247
- "۳": "3",
1248
- // Eastern-Arabic digit 3
1249
- "۴": "4",
1250
- // Eastern-Arabic digit 4
1251
- "۵": "5",
1252
- // Eastern-Arabic digit 5
1253
- "۶": "6",
1254
- // Eastern-Arabic digit 6
1255
- "۷": "7",
1256
- // Eastern-Arabic digit 7
1257
- "۸": "8",
1258
- // Eastern-Arabic digit 8
1259
- "۹": "9"
1260
- // Eastern-Arabic digit 9
1261
- };
1262
- function rt(t) {
1263
- return bn[t];
1264
- }
1265
- function M(t) {
1266
- for (var n = "", e = yn(t.split("")), r; !(r = e()).done; ) {
1267
- var d = r.value, i = rt(d);
1268
- i && (n += i);
1269
- }
1270
- return n;
1271
- }
1272
- function xn(t, n) {
1273
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
1274
- if (e) return (e = e.call(t)).next.bind(e);
1275
- if (Array.isArray(t) || (e = Nn(t)) || n) {
1276
- e && (t = e);
1277
- var r = 0;
1278
- return function() {
1279
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
1280
- };
1281
- }
1282
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1283
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1284
- }
1285
- function Nn(t, n) {
1286
- if (t) {
1287
- if (typeof t == "string") return Ne(t, n);
1288
- var e = Object.prototype.toString.call(t).slice(8, -1);
1289
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
1290
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Ne(t, n);
1291
- }
1292
- }
1293
- function Ne(t, n) {
1294
- (n == null || n > t.length) && (n = t.length);
1295
- for (var e = 0, r = new Array(n); e < n; e++)
1296
- r[e] = t[e];
1297
- return r;
1298
- }
1299
- function Ce(t) {
1300
- for (var n = "", e = xn(t.split("")), r; !(r = e()).done; ) {
1301
- var d = r.value;
1302
- n += Cn(d, n) || "";
1303
- }
1304
- return n;
1305
- }
1306
- function Cn(t, n, e) {
1307
- return t === "+" ? n ? void 0 : "+" : rt(t);
1308
- }
1309
- function Pn(t, n) {
1310
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
1311
- if (e) return (e = e.call(t)).next.bind(e);
1312
- if (Array.isArray(t) || (e = En(t)) || n) {
1313
- e && (t = e);
1314
- var r = 0;
1315
- return function() {
1316
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
1317
- };
1318
- }
1319
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1320
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1321
- }
1322
- function En(t, n) {
1323
- if (t) {
1324
- if (typeof t == "string") return Pe(t, n);
1325
- var e = Object.prototype.toString.call(t).slice(8, -1);
1326
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
1327
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Pe(t, n);
1328
- }
1329
- }
1330
- function Pe(t, n) {
1331
- (n == null || n > t.length) && (n = t.length);
1332
- for (var e = 0, r = new Array(n); e < n; e++)
1333
- r[e] = t[e];
1334
- return r;
1335
- }
1336
- function dt(t, n) {
1337
- var e = n.countries;
1338
- n.defaultCountry;
1339
- var r = n.metadata;
1340
- r = new c(r);
1341
- for (var d = Pn(e), i; !(i = d()).done; ) {
1342
- var a = i.value;
1343
- if (r.country(a), r.leadingDigits()) {
1344
- if (t && t.search(r.leadingDigits()) === 0)
1345
- return a;
1346
- } else if (re({
1347
- phone: t,
1348
- country: a
1349
- }, void 0, r.metadata))
1350
- return a;
1351
- }
1352
- }
1353
- function it(t, n) {
1354
- var e = n.nationalNumber, r = n.defaultCountry, d = n.metadata, i = d.getCountryCodesForCallingCode(t);
1355
- if (i)
1356
- return i.length === 1 ? i[0] : dt(e, {
1357
- countries: i,
1358
- defaultCountry: r,
1359
- metadata: d.metadata
1360
- });
1361
- }
1362
- var at = "+", wn = "[\\-\\.\\(\\)]?", Ee = "([" + g + "]|" + wn + ")", In = "^\\" + at + Ee + "*[" + g + "]" + Ee + "*$", _n = new RegExp(In, "g"), q = g, Sn = "[" + q + "]+((\\-)*[" + q + "])*", Fn = "a-zA-Z", An = "[" + Fn + "]+((\\-)*[" + q + "])*", Tn = "^(" + Sn + "\\.)*" + An + "\\.?$", On = new RegExp(Tn, "g"), we = "tel:", Q = ";phone-context=", Rn = ";isub=";
1363
- function kn(t) {
1364
- var n = t.indexOf(Q);
1365
- if (n < 0)
1366
- return null;
1367
- var e = n + Q.length;
1368
- if (e >= t.length)
1369
- return "";
1370
- var r = t.indexOf(";", e);
1371
- return r >= 0 ? t.substring(e, r) : t.substring(e);
1372
- }
1373
- function Ln(t) {
1374
- return t === null ? !0 : t.length === 0 ? !1 : _n.test(t) || On.test(t);
1375
- }
1376
- function Mn(t, n) {
1377
- var e = n.extractFormattedPhoneNumber, r = kn(t);
1378
- if (!Ln(r))
1379
- throw new x("NOT_A_NUMBER");
1380
- var d;
1381
- if (r === null)
1382
- d = e(t) || "";
1383
- else {
1384
- d = "", r.charAt(0) === at && (d += r);
1385
- var i = t.indexOf(we), a;
1386
- i >= 0 ? a = i + we.length : a = 0;
1387
- var o = t.indexOf(Q);
1388
- d += t.substring(a, o);
1389
- }
1390
- var u = d.indexOf(Rn);
1391
- if (u > 0 && (d = d.substring(0, u)), d !== "")
1392
- return d;
1393
- }
1394
- var Dn = 250, Bn = new RegExp("[" + j + g + "]"), Gn = new RegExp("[^" + g + "#]+$");
1395
- function jn(t, n, e) {
1396
- if (n = n || {}, e = new c(e), n.defaultCountry && !e.hasCountry(n.defaultCountry))
1397
- throw n.v2 ? new x("INVALID_COUNTRY") : new Error("Unknown country: ".concat(n.defaultCountry));
1398
- var r = Hn(t, n.v2, n.extract), d = r.number, i = r.ext, a = r.error;
1399
- if (!d) {
1400
- if (n.v2)
1401
- throw a === "TOO_SHORT" ? new x("TOO_SHORT") : new x("NOT_A_NUMBER");
1402
- return {};
1403
- }
1404
- var o = Vn(d, n.defaultCountry, n.defaultCallingCode, e), u = o.country, $ = o.nationalNumber, s = o.countryCallingCode, f = o.countryCallingCodeSource, l = o.carrierCode;
1405
- if (!e.hasSelectedNumberingPlan()) {
1406
- if (n.v2)
1407
- throw new x("INVALID_COUNTRY");
1408
- return {};
1409
- }
1410
- if (!$ || $.length < de) {
1411
- if (n.v2)
1412
- throw new x("TOO_SHORT");
1413
- return {};
1414
- }
1415
- if ($.length > St) {
1416
- if (n.v2)
1417
- throw new x("TOO_LONG");
1418
- return {};
1419
- }
1420
- if (n.v2) {
1421
- var h = new et(s, $, e.metadata);
1422
- return u && (h.country = u), l && (h.carrierCode = l), i && (h.ext = i), h.__countryCallingCodeSource = f, h;
1423
- }
1424
- var m = (n.extended ? e.hasSelectedNumberingPlan() : u) ? N($, e.nationalNumberPattern()) : !1;
1425
- return n.extended ? {
1426
- country: u,
1427
- countryCallingCode: s,
1428
- carrierCode: l,
1429
- valid: m,
1430
- possible: m ? !0 : !!(n.extended === !0 && e.possibleLengths() && Xe($, e)),
1431
- phone: $,
1432
- ext: i
1433
- } : m ? Wn(u, $, i) : {};
1434
- }
1435
- function Un(t, n, e) {
1436
- if (t) {
1437
- if (t.length > Dn) {
1438
- if (e)
1439
- throw new x("TOO_LONG");
1440
- return;
1441
- }
1442
- if (n === !1)
1443
- return t;
1444
- var r = t.search(Bn);
1445
- if (!(r < 0))
1446
- return t.slice(r).replace(Gn, "");
1447
- }
1448
- }
1449
- function Hn(t, n, e) {
1450
- var r = Mn(t, {
1451
- extractFormattedPhoneNumber: function(a) {
1452
- return Un(a, e, n);
1453
- }
1454
- });
1455
- if (!r)
1456
- return {};
1457
- if (!Yt(r))
1458
- return Zt(r) ? {
1459
- error: "TOO_SHORT"
1460
- } : {};
1461
- var d = vn(r);
1462
- return d.ext ? d : {
1463
- number: r
1464
- };
1465
- }
1466
- function Wn(t, n, e) {
1467
- var r = {
1468
- country: t,
1469
- phone: n
1470
- };
1471
- return e && (r.ext = e), r;
1472
- }
1473
- function Vn(t, n, e, r) {
1474
- var d = ie(Ce(t), n, e, r.metadata), i = d.countryCallingCodeSource, a = d.countryCallingCode, o = d.number, u;
1475
- if (a)
1476
- r.selectNumberingPlan(a);
1477
- else if (o && (n || e))
1478
- r.selectNumberingPlan(n, e), n && (u = n), a = e || ne(n, r.metadata);
1479
- else return {};
1480
- if (!o)
1481
- return {
1482
- countryCallingCodeSource: i,
1483
- countryCallingCode: a
1484
- };
1485
- var $ = Z(Ce(o), r), s = $.nationalNumber, f = $.carrierCode, l = it(a, {
1486
- nationalNumber: s,
1487
- defaultCountry: n,
1488
- metadata: r
1489
- });
1490
- return l && (u = l, l === "001" || r.country(u)), {
1491
- country: u,
1492
- countryCallingCode: a,
1493
- countryCallingCodeSource: i,
1494
- nationalNumber: s,
1495
- carrierCode: f
1496
- };
1497
- }
1498
- function Ie(t, n) {
1499
- var e = Object.keys(t);
1500
- if (Object.getOwnPropertySymbols) {
1501
- var r = Object.getOwnPropertySymbols(t);
1502
- n && (r = r.filter(function(d) {
1503
- return Object.getOwnPropertyDescriptor(t, d).enumerable;
1504
- })), e.push.apply(e, r);
1505
- }
1506
- return e;
1507
- }
1508
- function _e(t) {
1509
- for (var n = 1; n < arguments.length; n++) {
1510
- var e = arguments[n] != null ? arguments[n] : {};
1511
- n % 2 ? Ie(Object(e), !0).forEach(function(r) {
1512
- Kn(t, r, e[r]);
1513
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : Ie(Object(e)).forEach(function(r) {
1514
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
1515
- });
1516
- }
1517
- return t;
1518
- }
1519
- function Kn(t, n, e) {
1520
- return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
1521
- }
1522
- function ot(t, n, e) {
1523
- return jn(t, _e(_e({}, n), {}, {
1524
- v2: !0
1525
- }), e);
1526
- }
1527
- function Se(t, n) {
1528
- var e = Object.keys(t);
1529
- if (Object.getOwnPropertySymbols) {
1530
- var r = Object.getOwnPropertySymbols(t);
1531
- n && (r = r.filter(function(d) {
1532
- return Object.getOwnPropertyDescriptor(t, d).enumerable;
1533
- })), e.push.apply(e, r);
1534
- }
1535
- return e;
1536
- }
1537
- function Xn(t) {
1538
- for (var n = 1; n < arguments.length; n++) {
1539
- var e = arguments[n] != null ? arguments[n] : {};
1540
- n % 2 ? Se(Object(e), !0).forEach(function(r) {
1541
- Yn(t, r, e[r]);
1542
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : Se(Object(e)).forEach(function(r) {
1543
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
1544
- });
1545
- }
1546
- return t;
1547
- }
1548
- function Yn(t, n, e) {
1549
- return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
1550
- }
1551
- function Zn(t, n) {
1552
- return Qn(t) || qn(t, n) || zn(t, n) || Jn();
1553
- }
1554
- function Jn() {
1555
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1556
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1557
- }
1558
- function zn(t, n) {
1559
- if (t) {
1560
- if (typeof t == "string") return Fe(t, n);
1561
- var e = Object.prototype.toString.call(t).slice(8, -1);
1562
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
1563
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Fe(t, n);
1564
- }
1565
- }
1566
- function Fe(t, n) {
1567
- (n == null || n > t.length) && (n = t.length);
1568
- for (var e = 0, r = new Array(n); e < n; e++)
1569
- r[e] = t[e];
1570
- return r;
1571
- }
1572
- function qn(t, n) {
1573
- var e = t == null ? null : typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
1574
- if (e != null) {
1575
- var r = [], d = !0, i = !1, a, o;
1576
- try {
1577
- for (e = e.call(t); !(d = (a = e.next()).done) && (r.push(a.value), !(n && r.length === n)); d = !0)
1578
- ;
1579
- } catch (u) {
1580
- i = !0, o = u;
1581
- } finally {
1582
- try {
1583
- !d && e.return != null && e.return();
1584
- } finally {
1585
- if (i) throw o;
1586
- }
1587
- }
1588
- return r;
1589
- }
1590
- }
1591
- function Qn(t) {
1592
- if (Array.isArray(t)) return t;
1593
- }
1594
- function ut(t) {
1595
- var n = Array.prototype.slice.call(t), e = Zn(n, 4), r = e[0], d = e[1], i = e[2], a = e[3], o, u, $;
1596
- if (typeof r == "string")
1597
- o = r;
1598
- else throw new TypeError("A text for parsing must be a string.");
1599
- if (!d || typeof d == "string")
1600
- a ? (u = i, $ = a) : (u = void 0, $ = i), d && (u = Xn({
1601
- defaultCountry: d
1602
- }, u));
1603
- else if (C(d))
1604
- i ? (u = d, $ = i) : $ = d;
1605
- else throw new Error("Invalid second argument: ".concat(d));
1606
- return {
1607
- text: o,
1608
- options: u,
1609
- metadata: $
1610
- };
1611
- }
1612
- function er() {
1613
- var t = ut(arguments), n = t.text, e = t.options, r = t.metadata;
1614
- return ot(n, e, r);
1615
- }
1616
- function Ae(t, n) {
1617
- var e = Object.keys(t);
1618
- if (Object.getOwnPropertySymbols) {
1619
- var r = Object.getOwnPropertySymbols(t);
1620
- n && (r = r.filter(function(d) {
1621
- return Object.getOwnPropertyDescriptor(t, d).enumerable;
1622
- })), e.push.apply(e, r);
1623
- }
1624
- return e;
1625
- }
1626
- function Te(t) {
1627
- for (var n = 1; n < arguments.length; n++) {
1628
- var e = arguments[n] != null ? arguments[n] : {};
1629
- n % 2 ? Ae(Object(e), !0).forEach(function(r) {
1630
- tr(t, r, e[r]);
1631
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : Ae(Object(e)).forEach(function(r) {
1632
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
1633
- });
1634
- }
1635
- return t;
1636
- }
1637
- function tr(t, n, e) {
1638
- return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
1639
- }
1640
- function nr(t, n, e) {
1641
- n && n.defaultCountry && !bt(n.defaultCountry, e) && (n = Te(Te({}, n), {}, {
1642
- defaultCountry: void 0
1643
- }));
1644
- try {
1645
- return ot(t, n, e);
1646
- } catch (r) {
1647
- if (!(r instanceof x)) throw r;
1648
- }
1649
- }
1650
- function rr() {
1651
- var t = ut(arguments), n = t.text, e = t.options, r = t.metadata;
1652
- return nr(n, e, r);
1653
- }
1654
- function dr(t, n) {
1655
- if (!(t instanceof n))
1656
- throw new TypeError("Cannot call a class as a function");
1657
- }
1658
- function ir(t, n) {
1659
- for (var e = 0; e < n.length; e++) {
1660
- var r = n[e];
1661
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
1662
- }
1663
- }
1664
- function ar(t, n, e) {
1665
- return n && ir(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
1666
- }
1667
- var or = /* @__PURE__ */ function() {
1668
- function t(n) {
1669
- var e = n.onCountryChange, r = n.onCallingCodeChange;
1670
- dr(this, t), this.onCountryChange = e, this.onCallingCodeChange = r;
1671
- }
1672
- return ar(t, [{
1673
- key: "reset",
1674
- value: function(e) {
1675
- var r = e.country, d = e.callingCode;
1676
- this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(r, d);
1677
- }
1678
- }, {
1679
- key: "resetNationalSignificantNumber",
1680
- value: function() {
1681
- this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberMatchesInput = !0, this.nationalPrefix = void 0, this.carrierCode = void 0, this.complexPrefixBeforeNationalSignificantNumber = void 0;
1682
- }
1683
- }, {
1684
- key: "update",
1685
- value: function(e) {
1686
- for (var r = 0, d = Object.keys(e); r < d.length; r++) {
1687
- var i = d[r];
1688
- this[i] = e[i];
1689
- }
1690
- }
1691
- }, {
1692
- key: "initCountryAndCallingCode",
1693
- value: function(e, r) {
1694
- this.setCountry(e), this.setCallingCode(r);
1695
- }
1696
- }, {
1697
- key: "setCountry",
1698
- value: function(e) {
1699
- this.country = e, this.onCountryChange(e);
1700
- }
1701
- }, {
1702
- key: "setCallingCode",
1703
- value: function(e) {
1704
- this.callingCode = e, this.onCallingCodeChange(e, this.country);
1705
- }
1706
- }, {
1707
- key: "startInternationalNumber",
1708
- value: function(e, r) {
1709
- this.international = !0, this.initCountryAndCallingCode(e, r);
1710
- }
1711
- }, {
1712
- key: "appendDigits",
1713
- value: function(e) {
1714
- this.digits += e;
1715
- }
1716
- }, {
1717
- key: "appendNationalSignificantNumberDigits",
1718
- value: function(e) {
1719
- this.nationalSignificantNumber += e;
1720
- }
1721
- /**
1722
- * Returns the part of `this.digits` that corresponds to the national number.
1723
- * Basically, all digits that have been input by the user, except for the
1724
- * international prefix and the country calling code part
1725
- * (if the number is an international one).
1726
- * @return {string}
1727
- */
1728
- }, {
1729
- key: "getNationalDigits",
1730
- value: function() {
1731
- return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
1732
- }
1733
- }, {
1734
- key: "getDigitsWithoutInternationalPrefix",
1735
- value: function() {
1736
- return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
1737
- }
1738
- }]), t;
1739
- }();
1740
- function ur(t, n) {
1741
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
1742
- if (e) return (e = e.call(t)).next.bind(e);
1743
- if (Array.isArray(t) || (e = $r(t)) || n) {
1744
- e && (t = e);
1745
- var r = 0;
1746
- return function() {
1747
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
1748
- };
1749
- }
1750
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1751
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1752
- }
1753
- function $r(t, n) {
1754
- if (t) {
1755
- if (typeof t == "string") return Oe(t, n);
1756
- var e = Object.prototype.toString.call(t).slice(8, -1);
1757
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
1758
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Oe(t, n);
1759
- }
1760
- }
1761
- function Oe(t, n) {
1762
- (n == null || n > t.length) && (n = t.length);
1763
- for (var e = 0, r = new Array(n); e < n; e++)
1764
- r[e] = t[e];
1765
- return r;
1766
- }
1767
- var y = "x", V = new RegExp(y);
1768
- function k(t, n) {
1769
- if (n < 1)
1770
- return "";
1771
- for (var e = ""; n > 1; )
1772
- n & 1 && (e += t), n >>= 1, t += t;
1773
- return e + t;
1774
- }
1775
- function Re(t, n) {
1776
- return t[n] === ")" && n++, sr(t.slice(0, n));
1777
- }
1778
- function sr(t) {
1779
- for (var n = [], e = 0; e < t.length; )
1780
- t[e] === "(" ? n.push(e) : t[e] === ")" && n.pop(), e++;
1781
- var r = 0, d = "";
1782
- n.push(t.length);
1783
- for (var i = 0, a = n; i < a.length; i++) {
1784
- var o = a[i];
1785
- d += t.slice(r, o), r = o + 1;
1786
- }
1787
- return d;
1788
- }
1789
- function lr(t, n, e) {
1790
- for (var r = ur(e.split("")), d; !(d = r()).done; ) {
1791
- var i = d.value;
1792
- if (t.slice(n + 1).search(V) < 0)
1793
- return;
1794
- n = t.search(V), t = t.replace(V, i);
1795
- }
1796
- return [t, n];
1797
- }
1798
- function fr(t, n, e) {
1799
- var r = e.metadata, d = e.shouldTryNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix, a = new RegExp("^(?:".concat(n.pattern(), ")$"));
1800
- if (a.test(t.nationalSignificantNumber))
1801
- return hr(t, n, {
1802
- metadata: r,
1803
- shouldTryNationalPrefixFormattingRule: d,
1804
- getSeparatorAfterNationalPrefix: i
1805
- });
1806
- }
1807
- function cr(t, n) {
1808
- return G(t, n) === "IS_POSSIBLE";
1809
- }
1810
- function hr(t, n, e) {
1811
- var r = e.metadata, d = e.shouldTryNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix;
1812
- if (t.nationalSignificantNumber, t.international, t.nationalPrefix, t.carrierCode, d(n)) {
1813
- var a = ke(t, n, {
1814
- useNationalPrefixFormattingRule: !0,
1815
- getSeparatorAfterNationalPrefix: i,
1816
- metadata: r
1817
- });
1818
- if (a)
1819
- return a;
1820
- }
1821
- return ke(t, n, {
1822
- useNationalPrefixFormattingRule: !1,
1823
- getSeparatorAfterNationalPrefix: i,
1824
- metadata: r
1825
- });
1826
- }
1827
- function ke(t, n, e) {
1828
- var r = e.metadata, d = e.useNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix, a = qe(t.nationalSignificantNumber, n, {
1829
- carrierCode: t.carrierCode,
1830
- useInternationalFormat: t.international,
1831
- withNationalPrefix: d,
1832
- metadata: r
1833
- });
1834
- if (d || (t.nationalPrefix ? a = t.nationalPrefix + i(n) + a : t.complexPrefixBeforeNationalSignificantNumber && (a = t.complexPrefixBeforeNationalSignificantNumber + " " + a)), gr(a, t))
1835
- return a;
1836
- }
1837
- function gr(t, n) {
1838
- return M(t) === n.getNationalDigits();
1839
- }
1840
- function mr(t, n) {
1841
- if (!(t instanceof n))
1842
- throw new TypeError("Cannot call a class as a function");
1843
- }
1844
- function vr(t, n) {
1845
- for (var e = 0; e < n.length; e++) {
1846
- var r = n[e];
1847
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
1848
- }
1849
- }
1850
- function yr(t, n, e) {
1851
- return n && vr(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
1852
- }
1853
- var pr = /* @__PURE__ */ function() {
1854
- function t() {
1855
- mr(this, t);
1856
- }
1857
- return yr(t, [{
1858
- key: "parse",
1859
- value: function(e) {
1860
- if (this.context = [{
1861
- or: !0,
1862
- instructions: []
1863
- }], this.parsePattern(e), this.context.length !== 1)
1864
- throw new Error("Non-finalized contexts left when pattern parse ended");
1865
- var r = this.context[0], d = r.branches, i = r.instructions;
1866
- if (d)
1867
- return {
1868
- op: "|",
1869
- args: d.concat([K(i)])
1870
- };
1871
- if (i.length === 0)
1872
- throw new Error("Pattern is required");
1873
- return i.length === 1 ? i[0] : i;
1874
- }
1875
- }, {
1876
- key: "startContext",
1877
- value: function(e) {
1878
- this.context.push(e);
1879
- }
1880
- }, {
1881
- key: "endContext",
1882
- value: function() {
1883
- this.context.pop();
1884
- }
1885
- }, {
1886
- key: "getContext",
1887
- value: function() {
1888
- return this.context[this.context.length - 1];
1889
- }
1890
- }, {
1891
- key: "parsePattern",
1892
- value: function(e) {
1893
- if (!e)
1894
- throw new Error("Pattern is required");
1895
- var r = e.match(Nr);
1896
- if (!r) {
1897
- if (xr.test(e))
1898
- throw new Error("Illegal characters found in a pattern: ".concat(e));
1899
- this.getContext().instructions = this.getContext().instructions.concat(e.split(""));
1900
- return;
1901
- }
1902
- var d = r[1], i = e.slice(0, r.index), a = e.slice(r.index + d.length);
1903
- switch (d) {
1904
- case "(?:":
1905
- i && this.parsePattern(i), this.startContext({
1906
- or: !0,
1907
- instructions: [],
1908
- branches: []
1909
- });
1910
- break;
1911
- case ")":
1912
- if (!this.getContext().or)
1913
- throw new Error('")" operator must be preceded by "(?:" operator');
1914
- if (i && this.parsePattern(i), this.getContext().instructions.length === 0)
1915
- throw new Error('No instructions found after "|" operator in an "or" group');
1916
- var o = this.getContext(), u = o.branches;
1917
- u.push(K(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
1918
- op: "|",
1919
- args: u
1920
- });
1921
- break;
1922
- case "|":
1923
- if (!this.getContext().or)
1924
- throw new Error('"|" operator can only be used inside "or" groups');
1925
- if (i && this.parsePattern(i), !this.getContext().branches)
1926
- if (this.context.length === 1)
1927
- this.getContext().branches = [];
1928
- else
1929
- throw new Error('"branches" not found in an "or" group context');
1930
- this.getContext().branches.push(K(this.getContext().instructions)), this.getContext().instructions = [];
1931
- break;
1932
- case "[":
1933
- i && this.parsePattern(i), this.startContext({
1934
- oneOfSet: !0
1935
- });
1936
- break;
1937
- case "]":
1938
- if (!this.getContext().oneOfSet)
1939
- throw new Error('"]" operator must be preceded by "[" operator');
1940
- this.endContext(), this.getContext().instructions.push({
1941
- op: "[]",
1942
- args: br(i)
1943
- });
1944
- break;
1945
- /* istanbul ignore next */
1946
- default:
1947
- throw new Error("Unknown operator: ".concat(d));
1948
- }
1949
- a && this.parsePattern(a);
1950
- }
1951
- }]), t;
1952
- }();
1953
- function br(t) {
1954
- for (var n = [], e = 0; e < t.length; ) {
1955
- if (t[e] === "-") {
1956
- if (e === 0 || e === t.length - 1)
1957
- throw new Error("Couldn't parse a one-of set pattern: ".concat(t));
1958
- for (var r = t[e - 1].charCodeAt(0) + 1, d = t[e + 1].charCodeAt(0) - 1, i = r; i <= d; )
1959
- n.push(String.fromCharCode(i)), i++;
1960
- } else
1961
- n.push(t[e]);
1962
- e++;
1963
- }
1964
- return n;
1965
- }
1966
- var xr = /[\(\)\[\]\?\:\|]/, Nr = new RegExp(
1967
- // any of:
1968
- "(\\||\\(\\?\\:|\\)|\\[|\\])"
1969
- );
1970
- function K(t) {
1971
- return t.length === 1 ? t[0] : t;
1972
- }
1973
- function Le(t, n) {
1974
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
1975
- if (e) return (e = e.call(t)).next.bind(e);
1976
- if (Array.isArray(t) || (e = Cr(t)) || n) {
1977
- e && (t = e);
1978
- var r = 0;
1979
- return function() {
1980
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
1981
- };
1982
- }
1983
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1984
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1985
- }
1986
- function Cr(t, n) {
1987
- if (t) {
1988
- if (typeof t == "string") return Me(t, n);
1989
- var e = Object.prototype.toString.call(t).slice(8, -1);
1990
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
1991
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Me(t, n);
1992
- }
1993
- }
1994
- function Me(t, n) {
1995
- (n == null || n > t.length) && (n = t.length);
1996
- for (var e = 0, r = new Array(n); e < n; e++)
1997
- r[e] = t[e];
1998
- return r;
1999
- }
2000
- function Pr(t, n) {
2001
- if (!(t instanceof n))
2002
- throw new TypeError("Cannot call a class as a function");
2003
- }
2004
- function Er(t, n) {
2005
- for (var e = 0; e < n.length; e++) {
2006
- var r = n[e];
2007
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
2008
- }
2009
- }
2010
- function wr(t, n, e) {
2011
- return n && Er(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
2012
- }
2013
- var Ir = /* @__PURE__ */ function() {
2014
- function t(n) {
2015
- Pr(this, t), this.matchTree = new pr().parse(n);
2016
- }
2017
- return wr(t, [{
2018
- key: "match",
2019
- value: function(e) {
2020
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = r.allowOverflow;
2021
- if (!e)
2022
- throw new Error("String is required");
2023
- var i = ee(e.split(""), this.matchTree, !0);
2024
- if (i && i.match && delete i.matchedChars, !(i && i.overflow && !d))
2025
- return i;
2026
- }
2027
- }]), t;
2028
- }();
2029
- function ee(t, n, e) {
2030
- if (typeof n == "string") {
2031
- var r = t.join("");
2032
- return n.indexOf(r) === 0 ? t.length === n.length ? {
2033
- match: !0,
2034
- matchedChars: t
2035
- } : {
2036
- partialMatch: !0
2037
- // matchedChars: characters
2038
- } : r.indexOf(n) === 0 ? e && t.length > n.length ? {
2039
- overflow: !0
2040
- } : {
2041
- match: !0,
2042
- matchedChars: t.slice(0, n.length)
2043
- } : void 0;
2044
- }
2045
- if (Array.isArray(n)) {
2046
- for (var d = t.slice(), i = 0; i < n.length; ) {
2047
- var a = n[i], o = ee(d, a, e && i === n.length - 1);
2048
- if (o) {
2049
- if (o.overflow)
2050
- return o;
2051
- if (o.match) {
2052
- if (d = d.slice(o.matchedChars.length), d.length === 0)
2053
- return i === n.length - 1 ? {
2054
- match: !0,
2055
- matchedChars: t
2056
- } : {
2057
- partialMatch: !0
2058
- // matchedChars: characters
2059
- };
2060
- } else {
2061
- if (o.partialMatch)
2062
- return {
2063
- partialMatch: !0
2064
- // matchedChars: characters
2065
- };
2066
- throw new Error(`Unsupported match result:
2067
- `.concat(JSON.stringify(o, null, 2)));
2068
- }
2069
- } else return;
2070
- i++;
2071
- }
2072
- return e ? {
2073
- overflow: !0
2074
- } : {
2075
- match: !0,
2076
- matchedChars: t.slice(0, t.length - d.length)
2077
- };
2078
- }
2079
- switch (n.op) {
2080
- case "|":
2081
- for (var u, $ = Le(n.args), s; !(s = $()).done; ) {
2082
- var f = s.value, l = ee(t, f, e);
2083
- if (l) {
2084
- if (l.overflow)
2085
- return l;
2086
- if (l.match)
2087
- return {
2088
- match: !0,
2089
- matchedChars: l.matchedChars
2090
- };
2091
- if (l.partialMatch)
2092
- u = !0;
2093
- else
2094
- throw new Error(`Unsupported match result:
2095
- `.concat(JSON.stringify(l, null, 2)));
2096
- }
2097
- }
2098
- return u ? {
2099
- partialMatch: !0
2100
- // matchedChars: ...
2101
- } : void 0;
2102
- case "[]":
2103
- for (var h = Le(n.args), m; !(m = h()).done; ) {
2104
- var b = m.value;
2105
- if (t[0] === b)
2106
- return t.length === 1 ? {
2107
- match: !0,
2108
- matchedChars: t
2109
- } : e ? {
2110
- overflow: !0
2111
- } : {
2112
- match: !0,
2113
- matchedChars: [b]
2114
- };
2115
- }
2116
- return;
2117
- /* istanbul ignore next */
2118
- default:
2119
- throw new Error("Unsupported instruction tree: ".concat(n));
2120
- }
2121
- }
2122
- function De(t, n) {
2123
- var e = typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
2124
- if (e) return (e = e.call(t)).next.bind(e);
2125
- if (Array.isArray(t) || (e = _r(t)) || n) {
2126
- e && (t = e);
2127
- var r = 0;
2128
- return function() {
2129
- return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
2130
- };
2131
- }
2132
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2133
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2134
- }
2135
- function _r(t, n) {
2136
- if (t) {
2137
- if (typeof t == "string") return Be(t, n);
2138
- var e = Object.prototype.toString.call(t).slice(8, -1);
2139
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
2140
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Be(t, n);
2141
- }
2142
- }
2143
- function Be(t, n) {
2144
- (n == null || n > t.length) && (n = t.length);
2145
- for (var e = 0, r = new Array(n); e < n; e++)
2146
- r[e] = t[e];
2147
- return r;
2148
- }
2149
- function Sr(t, n) {
2150
- if (!(t instanceof n))
2151
- throw new TypeError("Cannot call a class as a function");
2152
- }
2153
- function Fr(t, n) {
2154
- for (var e = 0; e < n.length; e++) {
2155
- var r = n[e];
2156
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
2157
- }
2158
- }
2159
- function Ar(t, n, e) {
2160
- return n && Fr(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
2161
- }
2162
- var te = "9", Tr = 15, Or = k(te, Tr), Rr = /[- ]/, kr = function() {
2163
- return /\[([^\[\]])*\]/g;
2164
- }, Lr = function() {
2165
- return /\d(?=[^,}][^,}])/g;
2166
- }, Mr = new RegExp("[" + p + "]*\\$1[" + p + "]*(\\$\\d[" + p + "]*)*$"), Ge = 3, Dr = /* @__PURE__ */ function() {
2167
- function t(n) {
2168
- n.state;
2169
- var e = n.metadata;
2170
- Sr(this, t), this.metadata = e, this.resetFormat();
2171
- }
2172
- return Ar(t, [{
2173
- key: "resetFormat",
2174
- value: function() {
2175
- this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
2176
- }
2177
- }, {
2178
- key: "reset",
2179
- value: function(e, r) {
2180
- this.resetFormat(), e ? (this.isNANP = e.callingCode() === "1", this.matchingFormats = e.formats(), r.nationalSignificantNumber && this.narrowDownMatchingFormats(r)) : (this.isNANP = void 0, this.matchingFormats = []);
2181
- }
2182
- /**
2183
- * Formats an updated phone number.
2184
- * @param {string} nextDigits — Additional phone number digits.
2185
- * @param {object} state — `AsYouType` state.
2186
- * @return {[string]} Returns undefined if the updated phone number can't be formatted using any of the available formats.
2187
- */
2188
- }, {
2189
- key: "format",
2190
- value: function(e, r) {
2191
- var d = this;
2192
- if (cr(r.nationalSignificantNumber, this.metadata))
2193
- for (var i = De(this.matchingFormats), a; !(a = i()).done; ) {
2194
- var o = a.value, u = fr(r, o, {
2195
- metadata: this.metadata,
2196
- shouldTryNationalPrefixFormattingRule: function(s) {
2197
- return d.shouldTryNationalPrefixFormattingRule(s, {
2198
- international: r.international,
2199
- nationalPrefix: r.nationalPrefix
2200
- });
2201
- },
2202
- getSeparatorAfterNationalPrefix: function(s) {
2203
- return d.getSeparatorAfterNationalPrefix(s);
2204
- }
2205
- });
2206
- if (u)
2207
- return this.resetFormat(), this.chosenFormat = o, this.setNationalNumberTemplate(u.replace(/\d/g, y), r), this.populatedNationalNumberTemplate = u, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(y), u;
2208
- }
2209
- return this.formatNationalNumberWithNextDigits(e, r);
2210
- }
2211
- // Formats the next phone number digits.
2212
- }, {
2213
- key: "formatNationalNumberWithNextDigits",
2214
- value: function(e, r) {
2215
- var d = this.chosenFormat, i = this.chooseFormat(r);
2216
- if (i)
2217
- return i === d ? this.formatNextNationalNumberDigits(e) : this.formatNextNationalNumberDigits(r.getNationalDigits());
2218
- }
2219
- }, {
2220
- key: "narrowDownMatchingFormats",
2221
- value: function(e) {
2222
- var r = this, d = e.nationalSignificantNumber, i = e.nationalPrefix, a = e.international, o = d, u = o.length - Ge;
2223
- u < 0 && (u = 0), this.matchingFormats = this.matchingFormats.filter(function($) {
2224
- return r.formatSuits($, a, i) && r.formatMatches($, o, u);
2225
- }), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
2226
- }
2227
- }, {
2228
- key: "formatSuits",
2229
- value: function(e, r, d) {
2230
- return !(d && !e.usesNationalPrefix() && // !format.domesticCarrierCodeFormattingRule() &&
2231
- !e.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !r && !d && e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
2232
- }
2233
- }, {
2234
- key: "formatMatches",
2235
- value: function(e, r, d) {
2236
- var i = e.leadingDigitsPatterns().length;
2237
- if (i === 0)
2238
- return !0;
2239
- d = Math.min(d, i - 1);
2240
- var a = e.leadingDigitsPatterns()[d];
2241
- if (r.length < Ge)
2242
- try {
2243
- return new Ir(a).match(r, {
2244
- allowOverflow: !0
2245
- }) !== void 0;
2246
- } catch (o) {
2247
- return console.error(o), !0;
2248
- }
2249
- return new RegExp("^(".concat(a, ")")).test(r);
2250
- }
2251
- }, {
2252
- key: "getFormatFormat",
2253
- value: function(e, r) {
2254
- return r ? e.internationalFormat() : e.format();
2255
- }
2256
- }, {
2257
- key: "chooseFormat",
2258
- value: function(e) {
2259
- for (var r = this, d = function() {
2260
- var $ = a.value;
2261
- return r.chosenFormat === $ ? "break" : Mr.test(r.getFormatFormat($, e.international)) ? r.createTemplateForFormat($, e) ? (r.chosenFormat = $, "break") : (r.matchingFormats = r.matchingFormats.filter(function(s) {
2262
- return s !== $;
2263
- }), "continue") : "continue";
2264
- }, i = De(this.matchingFormats.slice()), a; !(a = i()).done; ) {
2265
- var o = d();
2266
- if (o === "break") break;
2267
- }
2268
- return this.chosenFormat || this.resetFormat(), this.chosenFormat;
2269
- }
2270
- }, {
2271
- key: "createTemplateForFormat",
2272
- value: function(e, r) {
2273
- if (!(e.pattern().indexOf("|") >= 0)) {
2274
- var d = this.getTemplateForFormat(e, r);
2275
- if (d)
2276
- return this.setNationalNumberTemplate(d, r), !0;
2277
- }
2278
- }
2279
- }, {
2280
- key: "getSeparatorAfterNationalPrefix",
2281
- value: function(e) {
2282
- return this.isNANP || e && e.nationalPrefixFormattingRule() && Rr.test(e.nationalPrefixFormattingRule()) ? " " : "";
2283
- }
2284
- }, {
2285
- key: "getInternationalPrefixBeforeCountryCallingCode",
2286
- value: function(e, r) {
2287
- var d = e.IDDPrefix, i = e.missingPlus;
2288
- return d ? r && r.spacing === !1 ? d : d + " " : i ? "" : "+";
2289
- }
2290
- }, {
2291
- key: "getTemplate",
2292
- value: function(e) {
2293
- if (this.template) {
2294
- for (var r = -1, d = 0, i = e.international ? this.getInternationalPrefixBeforeCountryCallingCode(e, {
2295
- spacing: !1
2296
- }) : ""; d < i.length + e.getDigitsWithoutInternationalPrefix().length; )
2297
- r = this.template.indexOf(y, r + 1), d++;
2298
- return Re(this.template, r + 1);
2299
- }
2300
- }
2301
- }, {
2302
- key: "setNationalNumberTemplate",
2303
- value: function(e, r) {
2304
- this.nationalNumberTemplate = e, this.populatedNationalNumberTemplate = e, this.populatedNationalNumberTemplatePosition = -1, r.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(r).replace(/[\d\+]/g, y) + k(y, r.callingCode.length) + " " + e : this.template = e;
2305
- }
2306
- /**
2307
- * Generates formatting template for a national phone number,
2308
- * optionally containing a national prefix, for a format.
2309
- * @param {Format} format
2310
- * @param {string} nationalPrefix
2311
- * @return {string}
2312
- */
2313
- }, {
2314
- key: "getTemplateForFormat",
2315
- value: function(e, r) {
2316
- var d = r.nationalSignificantNumber, i = r.international, a = r.nationalPrefix, o = r.complexPrefixBeforeNationalSignificantNumber, u = e.pattern();
2317
- u = u.replace(kr(), "\\d").replace(Lr(), "\\d");
2318
- var $ = Or.match(u)[0];
2319
- if (!(d.length > $.length)) {
2320
- var s = new RegExp("^" + u + "$"), f = d.replace(/\d/g, te);
2321
- s.test(f) && ($ = f);
2322
- var l = this.getFormatFormat(e, i), h;
2323
- if (this.shouldTryNationalPrefixFormattingRule(e, {
2324
- international: i,
2325
- nationalPrefix: a
2326
- })) {
2327
- var m = l.replace(ze, e.nationalPrefixFormattingRule());
2328
- if (M(e.nationalPrefixFormattingRule()) === (a || "") + M("$1") && (l = m, h = !0, a))
2329
- for (var b = a.length; b > 0; )
2330
- l = l.replace(/\d/, y), b--;
2331
- }
2332
- var v = $.replace(new RegExp(u), l).replace(new RegExp(te, "g"), y);
2333
- return h || (o ? v = k(y, o.length) + " " + v : a && (v = k(y, a.length) + this.getSeparatorAfterNationalPrefix(e) + v)), i && (v = Je(v)), v;
2334
- }
2335
- }
2336
- }, {
2337
- key: "formatNextNationalNumberDigits",
2338
- value: function(e) {
2339
- var r = lr(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, e);
2340
- if (!r) {
2341
- this.resetFormat();
2342
- return;
2343
- }
2344
- return this.populatedNationalNumberTemplate = r[0], this.populatedNationalNumberTemplatePosition = r[1], Re(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
2345
- }
2346
- }, {
2347
- key: "shouldTryNationalPrefixFormattingRule",
2348
- value: function(e, r) {
2349
- var d = r.international, i = r.nationalPrefix;
2350
- if (e.nationalPrefixFormattingRule()) {
2351
- var a = e.usesNationalPrefix();
2352
- if (a && i || !a && !d)
2353
- return !0;
2354
- }
2355
- }
2356
- }]), t;
2357
- }();
2358
- function $t(t, n) {
2359
- return Ur(t) || jr(t, n) || Gr(t, n) || Br();
2360
- }
2361
- function Br() {
2362
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2363
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2364
- }
2365
- function Gr(t, n) {
2366
- if (t) {
2367
- if (typeof t == "string") return je(t, n);
2368
- var e = Object.prototype.toString.call(t).slice(8, -1);
2369
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
2370
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return je(t, n);
2371
- }
2372
- }
2373
- function je(t, n) {
2374
- (n == null || n > t.length) && (n = t.length);
2375
- for (var e = 0, r = new Array(n); e < n; e++)
2376
- r[e] = t[e];
2377
- return r;
2378
- }
2379
- function jr(t, n) {
2380
- var e = t == null ? null : typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
2381
- if (e != null) {
2382
- var r = [], d = !0, i = !1, a, o;
2383
- try {
2384
- for (e = e.call(t); !(d = (a = e.next()).done) && (r.push(a.value), !(n && r.length === n)); d = !0)
2385
- ;
2386
- } catch (u) {
2387
- i = !0, o = u;
2388
- } finally {
2389
- try {
2390
- !d && e.return != null && e.return();
2391
- } finally {
2392
- if (i) throw o;
2393
- }
2394
- }
2395
- return r;
2396
- }
2397
- }
2398
- function Ur(t) {
2399
- if (Array.isArray(t)) return t;
2400
- }
2401
- function Hr(t, n) {
2402
- if (!(t instanceof n))
2403
- throw new TypeError("Cannot call a class as a function");
2404
- }
2405
- function Wr(t, n) {
2406
- for (var e = 0; e < n.length; e++) {
2407
- var r = n[e];
2408
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
2409
- }
2410
- }
2411
- function Vr(t, n, e) {
2412
- return n && Wr(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
2413
- }
2414
- var Kr = "[" + p + g + "]+", Xr = new RegExp("^" + Kr + "$", "i"), Yr = "(?:[" + j + "][" + p + g + "]*|[" + p + g + "]+)", Zr = new RegExp("[^" + p + g + "]+.*$"), Jr = /[^\d\[\]]/, zr = /* @__PURE__ */ function() {
2415
- function t(n) {
2416
- var e = n.defaultCountry, r = n.defaultCallingCode, d = n.metadata, i = n.onNationalSignificantNumberChange;
2417
- Hr(this, t), this.defaultCountry = e, this.defaultCallingCode = r, this.metadata = d, this.onNationalSignificantNumberChange = i;
2418
- }
2419
- return Vr(t, [{
2420
- key: "input",
2421
- value: function(e, r) {
2422
- var d = ed(e), i = $t(d, 2), a = i[0], o = i[1], u = M(a), $;
2423
- return o && (r.digits || (r.startInternationalNumber(), u || ($ = !0))), u && this.inputDigits(u, r), {
2424
- digits: u,
2425
- justLeadingPlus: $
2426
- };
2427
- }
2428
- /**
2429
- * Inputs "next" phone number digits.
2430
- * @param {string} digits
2431
- * @return {string} [formattedNumber] Formatted national phone number (if it can be formatted at this stage). Returning `undefined` means "don't format the national phone number at this stage".
2432
- */
2433
- }, {
2434
- key: "inputDigits",
2435
- value: function(e, r) {
2436
- var d = r.digits, i = d.length < 3 && d.length + e.length >= 3;
2437
- if (r.appendDigits(e), i && this.extractIddPrefix(r), this.isWaitingForCountryCallingCode(r)) {
2438
- if (!this.extractCountryCallingCode(r))
2439
- return;
2440
- } else
2441
- r.appendNationalSignificantNumberDigits(e);
2442
- r.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(r.getNationalDigits(), function(a) {
2443
- return r.update(a);
2444
- });
2445
- }
2446
- }, {
2447
- key: "isWaitingForCountryCallingCode",
2448
- value: function(e) {
2449
- var r = e.international, d = e.callingCode;
2450
- return r && !d;
2451
- }
2452
- // Extracts a country calling code from a number
2453
- // being entered in internatonal format.
2454
- }, {
2455
- key: "extractCountryCallingCode",
2456
- value: function(e) {
2457
- var r = ie("+" + e.getDigitsWithoutInternationalPrefix(), this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), d = r.countryCallingCode, i = r.number;
2458
- if (d)
2459
- return e.setCallingCode(d), e.update({
2460
- nationalSignificantNumber: i
2461
- }), !0;
2462
- }
2463
- }, {
2464
- key: "reset",
2465
- value: function(e) {
2466
- if (e) {
2467
- this.hasSelectedNumberingPlan = !0;
2468
- var r = e._nationalPrefixForParsing();
2469
- this.couldPossiblyExtractAnotherNationalSignificantNumber = r && Jr.test(r);
2470
- } else
2471
- this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
2472
- }
2473
- /**
2474
- * Extracts a national (significant) number from user input.
2475
- * Google's library is different in that it only applies `national_prefix_for_parsing`
2476
- * and doesn't apply `national_prefix_transform_rule` after that.
2477
- * https://github.com/google/libphonenumber/blob/a3d70b0487875475e6ad659af404943211d26456/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java#L539
2478
- * @return {boolean} [extracted]
2479
- */
2480
- }, {
2481
- key: "extractNationalSignificantNumber",
2482
- value: function(e, r) {
2483
- if (this.hasSelectedNumberingPlan) {
2484
- var d = Y(e, this.metadata), i = d.nationalPrefix, a = d.nationalNumber, o = d.carrierCode;
2485
- if (a !== e)
2486
- return this.onExtractedNationalNumber(i, o, a, e, r), !0;
2487
- }
2488
- }
2489
- /**
2490
- * In Google's code this function is called "attempt to extract longer NDD".
2491
- * "Some national prefixes are a substring of others", they say.
2492
- * @return {boolean} [result] — Returns `true` if extracting a national prefix produced different results from what they were.
2493
- */
2494
- }, {
2495
- key: "extractAnotherNationalSignificantNumber",
2496
- value: function(e, r, d) {
2497
- if (!this.hasExtractedNationalSignificantNumber)
2498
- return this.extractNationalSignificantNumber(e, d);
2499
- if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
2500
- var i = Y(e, this.metadata), a = i.nationalPrefix, o = i.nationalNumber, u = i.carrierCode;
2501
- if (o !== r)
2502
- return this.onExtractedNationalNumber(a, u, o, e, d), !0;
2503
- }
2504
- }
2505
- }, {
2506
- key: "onExtractedNationalNumber",
2507
- value: function(e, r, d, i, a) {
2508
- var o, u, $ = i.lastIndexOf(d);
2509
- if ($ >= 0 && $ === i.length - d.length) {
2510
- u = !0;
2511
- var s = i.slice(0, $);
2512
- s !== e && (o = s);
2513
- }
2514
- a({
2515
- nationalPrefix: e,
2516
- carrierCode: r,
2517
- nationalSignificantNumber: d,
2518
- nationalSignificantNumberMatchesInput: u,
2519
- complexPrefixBeforeNationalSignificantNumber: o
2520
- }), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
2521
- }
2522
- }, {
2523
- key: "reExtractNationalSignificantNumber",
2524
- value: function(e) {
2525
- if (this.extractAnotherNationalSignificantNumber(e.getNationalDigits(), e.nationalSignificantNumber, function(r) {
2526
- return e.update(r);
2527
- }))
2528
- return !0;
2529
- if (this.extractIddPrefix(e))
2530
- return this.extractCallingCodeAndNationalSignificantNumber(e), !0;
2531
- if (this.fixMissingPlus(e))
2532
- return this.extractCallingCodeAndNationalSignificantNumber(e), !0;
2533
- }
2534
- }, {
2535
- key: "extractIddPrefix",
2536
- value: function(e) {
2537
- var r = e.international, d = e.IDDPrefix, i = e.digits;
2538
- if (e.nationalSignificantNumber, !(r || d)) {
2539
- var a = Ye(i, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
2540
- if (a !== void 0 && a !== i)
2541
- return e.update({
2542
- IDDPrefix: i.slice(0, i.length - a.length)
2543
- }), this.startInternationalNumber(e, {
2544
- country: void 0,
2545
- callingCode: void 0
2546
- }), !0;
2547
- }
2548
- }
2549
- }, {
2550
- key: "fixMissingPlus",
2551
- value: function(e) {
2552
- if (!e.international) {
2553
- var r = Ze(e.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), d = r.countryCallingCode;
2554
- if (r.number, d)
2555
- return e.update({
2556
- missingPlus: !0
2557
- }), this.startInternationalNumber(e, {
2558
- country: e.country,
2559
- callingCode: d
2560
- }), !0;
2561
- }
2562
- }
2563
- }, {
2564
- key: "startInternationalNumber",
2565
- value: function(e, r) {
2566
- var d = r.country, i = r.callingCode;
2567
- e.startInternationalNumber(d, i), e.nationalSignificantNumber && (e.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
2568
- }
2569
- }, {
2570
- key: "extractCallingCodeAndNationalSignificantNumber",
2571
- value: function(e) {
2572
- this.extractCountryCallingCode(e) && this.extractNationalSignificantNumber(e.getNationalDigits(), function(r) {
2573
- return e.update(r);
2574
- });
2575
- }
2576
- }]), t;
2577
- }();
2578
- function qr(t) {
2579
- var n = t.search(Yr);
2580
- if (!(n < 0)) {
2581
- t = t.slice(n);
2582
- var e;
2583
- return t[0] === "+" && (e = !0, t = t.slice(1)), t = t.replace(Zr, ""), e && (t = "+" + t), t;
2584
- }
2585
- }
2586
- function Qr(t) {
2587
- var n = qr(t) || "";
2588
- return n[0] === "+" ? [n.slice(1), !0] : [n];
2589
- }
2590
- function ed(t) {
2591
- var n = Qr(t), e = $t(n, 2), r = e[0], d = e[1];
2592
- return Xr.test(r) || (r = ""), [r, d];
2593
- }
2594
- function td(t, n) {
2595
- return id(t) || dd(t, n) || rd(t, n) || nd();
2596
- }
2597
- function nd() {
2598
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2599
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2600
- }
2601
- function rd(t, n) {
2602
- if (t) {
2603
- if (typeof t == "string") return Ue(t, n);
2604
- var e = Object.prototype.toString.call(t).slice(8, -1);
2605
- if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set") return Array.from(t);
2606
- if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)) return Ue(t, n);
2607
- }
2608
- }
2609
- function Ue(t, n) {
2610
- (n == null || n > t.length) && (n = t.length);
2611
- for (var e = 0, r = new Array(n); e < n; e++)
2612
- r[e] = t[e];
2613
- return r;
2614
- }
2615
- function dd(t, n) {
2616
- var e = t == null ? null : typeof Symbol != "undefined" && t[Symbol.iterator] || t["@@iterator"];
2617
- if (e != null) {
2618
- var r = [], d = !0, i = !1, a, o;
2619
- try {
2620
- for (e = e.call(t); !(d = (a = e.next()).done) && (r.push(a.value), !(n && r.length === n)); d = !0)
2621
- ;
2622
- } catch (u) {
2623
- i = !0, o = u;
2624
- } finally {
2625
- try {
2626
- !d && e.return != null && e.return();
2627
- } finally {
2628
- if (i) throw o;
2629
- }
2630
- }
2631
- return r;
2632
- }
2633
- }
2634
- function id(t) {
2635
- if (Array.isArray(t)) return t;
2636
- }
2637
- function ad(t, n) {
2638
- if (!(t instanceof n))
2639
- throw new TypeError("Cannot call a class as a function");
2640
- }
2641
- function od(t, n) {
2642
- for (var e = 0; e < n.length; e++) {
2643
- var r = n[e];
2644
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
2645
- }
2646
- }
2647
- function ud(t, n, e) {
2648
- return n && od(t.prototype, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
2649
- }
2650
- var st = /* @__PURE__ */ function() {
2651
- function t(n, e) {
2652
- ad(this, t), this.metadata = new c(e);
2653
- var r = this.getCountryAndCallingCode(n), d = td(r, 2), i = d[0], a = d[1];
2654
- this.defaultCountry = i, this.defaultCallingCode = a, this.reset();
2655
- }
2656
- return ud(t, [{
2657
- key: "getCountryAndCallingCode",
2658
- value: function(e) {
2659
- var r, d;
2660
- return e && (C(e) ? (r = e.defaultCountry, d = e.defaultCallingCode) : r = e), r && !this.metadata.hasCountry(r) && (r = void 0), [r, d];
2661
- }
2662
- /**
2663
- * Inputs "next" phone number characters.
2664
- * @param {string} text
2665
- * @return {string} Formatted phone number characters that have been input so far.
2666
- */
2667
- }, {
2668
- key: "input",
2669
- value: function(e) {
2670
- var r = this.parser.input(e, this.state), d = r.digits, i = r.justLeadingPlus;
2671
- if (i)
2672
- this.formattedOutput = "+";
2673
- else if (d) {
2674
- this.determineTheCountryIfNeeded(), this.state.nationalSignificantNumber && this.formatter.narrowDownMatchingFormats(this.state);
2675
- var a;
2676
- if (this.metadata.hasSelectedNumberingPlan() && (a = this.formatter.format(d, this.state)), a === void 0 && this.parser.reExtractNationalSignificantNumber(this.state)) {
2677
- this.determineTheCountryIfNeeded();
2678
- var o = this.state.getNationalDigits();
2679
- o && (a = this.formatter.format(o, this.state));
2680
- }
2681
- this.formattedOutput = a ? this.getFullNumber(a) : this.getNonFormattedNumber();
2682
- }
2683
- return this.formattedOutput;
2684
- }
2685
- }, {
2686
- key: "reset",
2687
- value: function() {
2688
- var e = this;
2689
- return this.state = new or({
2690
- onCountryChange: function(d) {
2691
- e.country = d;
2692
- },
2693
- onCallingCodeChange: function(d, i) {
2694
- e.metadata.selectNumberingPlan(i, d), e.formatter.reset(e.metadata.numberingPlan, e.state), e.parser.reset(e.metadata.numberingPlan);
2695
- }
2696
- }), this.formatter = new Dr({
2697
- state: this.state,
2698
- metadata: this.metadata
2699
- }), this.parser = new zr({
2700
- defaultCountry: this.defaultCountry,
2701
- defaultCallingCode: this.defaultCallingCode,
2702
- metadata: this.metadata,
2703
- state: this.state,
2704
- onNationalSignificantNumberChange: function() {
2705
- e.determineTheCountryIfNeeded(), e.formatter.reset(e.metadata.numberingPlan, e.state);
2706
- }
2707
- }), this.state.reset({
2708
- country: this.defaultCountry,
2709
- callingCode: this.defaultCallingCode
2710
- }), this.formattedOutput = "", this;
2711
- }
2712
- /**
2713
- * Returns `true` if the phone number is being input in international format.
2714
- * In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
2715
- * @return {boolean}
2716
- */
2717
- }, {
2718
- key: "isInternational",
2719
- value: function() {
2720
- return this.state.international;
2721
- }
2722
- /**
2723
- * Returns the "calling code" part of the phone number when it's being input
2724
- * in an international format.
2725
- * If no valid calling code has been entered so far, returns `undefined`.
2726
- * @return {string} [callingCode]
2727
- */
2728
- }, {
2729
- key: "getCallingCode",
2730
- value: function() {
2731
- if (this.isInternational())
2732
- return this.state.callingCode;
2733
- }
2734
- // A legacy alias.
2735
- }, {
2736
- key: "getCountryCallingCode",
2737
- value: function() {
2738
- return this.getCallingCode();
2739
- }
2740
- /**
2741
- * Returns a two-letter country code of the phone number.
2742
- * Returns `undefined` for "non-geographic" phone numbering plans.
2743
- * Returns `undefined` if no phone number has been input yet.
2744
- * @return {string} [country]
2745
- */
2746
- }, {
2747
- key: "getCountry",
2748
- value: function() {
2749
- var e = this.state.digits;
2750
- if (e)
2751
- return this._getCountry();
2752
- }
2753
- /**
2754
- * Returns a two-letter country code of the phone number.
2755
- * Returns `undefined` for "non-geographic" phone numbering plans.
2756
- * @return {string} [country]
2757
- */
2758
- }, {
2759
- key: "_getCountry",
2760
- value: function() {
2761
- var e = this.state.country;
2762
- return e;
2763
- }
2764
- }, {
2765
- key: "determineTheCountryIfNeeded",
2766
- value: function() {
2767
- (!this.state.country || this.isCountryCallingCodeAmbiguous()) && this.determineTheCountry();
2768
- }
2769
- // Prepends `+CountryCode ` in case of an international phone number
2770
- }, {
2771
- key: "getFullNumber",
2772
- value: function(e) {
2773
- var r = this;
2774
- if (this.isInternational()) {
2775
- var d = function(o) {
2776
- return r.formatter.getInternationalPrefixBeforeCountryCallingCode(r.state, {
2777
- spacing: !!o
2778
- }) + o;
2779
- }, i = this.state.callingCode;
2780
- return d(i ? e ? "".concat(i, " ").concat(e) : i : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
2781
- }
2782
- return e;
2783
- }
2784
- }, {
2785
- key: "getNonFormattedNationalNumberWithPrefix",
2786
- value: function() {
2787
- var e = this.state, r = e.nationalSignificantNumber, d = e.complexPrefixBeforeNationalSignificantNumber, i = e.nationalPrefix, a = r, o = d || i;
2788
- return o && (a = o + a), a;
2789
- }
2790
- }, {
2791
- key: "getNonFormattedNumber",
2792
- value: function() {
2793
- var e = this.state.nationalSignificantNumberMatchesInput;
2794
- return this.getFullNumber(e ? this.getNonFormattedNationalNumberWithPrefix() : this.state.getNationalDigits());
2795
- }
2796
- }, {
2797
- key: "getNonFormattedTemplate",
2798
- value: function() {
2799
- var e = this.getNonFormattedNumber();
2800
- if (e)
2801
- return e.replace(/[\+\d]/g, y);
2802
- }
2803
- }, {
2804
- key: "isCountryCallingCodeAmbiguous",
2805
- value: function() {
2806
- var e = this.state.callingCode, r = this.metadata.getCountryCodesForCallingCode(e);
2807
- return r && r.length > 1;
2808
- }
2809
- // Determines the country of the phone number
2810
- // entered so far based on the country phone code
2811
- // and the national phone number.
2812
- }, {
2813
- key: "determineTheCountry",
2814
- value: function() {
2815
- this.state.setCountry(it(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
2816
- nationalNumber: this.state.nationalSignificantNumber,
2817
- defaultCountry: this.defaultCountry,
2818
- metadata: this.metadata
2819
- }));
2820
- }
2821
- /**
2822
- * Returns a E.164 phone number value for the user's input.
2823
- *
2824
- * For example, for country `"US"` and input `"(222) 333-4444"`
2825
- * it will return `"+12223334444"`.
2826
- *
2827
- * For international phone number input, it will also auto-correct
2828
- * some minor errors such as using a national prefix when writing
2829
- * an international phone number. For example, if the user inputs
2830
- * `"+44 0 7400 000000"` then it will return an auto-corrected
2831
- * `"+447400000000"` phone number value.
2832
- *
2833
- * Will return `undefined` if no digits have been input,
2834
- * or when inputting a phone number in national format and no
2835
- * default country or default "country calling code" have been set.
2836
- *
2837
- * @return {string} [value]
2838
- */
2839
- }, {
2840
- key: "getNumberValue",
2841
- value: function() {
2842
- var e = this.state, r = e.digits, d = e.callingCode, i = e.country, a = e.nationalSignificantNumber;
2843
- if (r) {
2844
- if (this.isInternational())
2845
- return d ? "+" + d + a : "+" + r;
2846
- if (i || d) {
2847
- var o = i ? this.metadata.countryCallingCode() : d;
2848
- return "+" + o + a;
2849
- }
2850
- }
2851
- }
2852
- /**
2853
- * Returns an instance of `PhoneNumber` class.
2854
- * Will return `undefined` if no national (significant) number
2855
- * digits have been entered so far, or if no `defaultCountry` has been
2856
- * set and the user enters a phone number not in international format.
2857
- */
2858
- }, {
2859
- key: "getNumber",
2860
- value: function() {
2861
- var e = this.state, r = e.nationalSignificantNumber, d = e.carrierCode, i = e.callingCode, a = this._getCountry();
2862
- if (r && !(!a && !i)) {
2863
- if (a && a === this.defaultCountry) {
2864
- var o = new c(this.metadata.metadata);
2865
- o.selectNumberingPlan(a);
2866
- var u = o.numberingPlan.callingCode(), $ = this.metadata.getCountryCodesForCallingCode(u);
2867
- if ($.length > 1) {
2868
- var s = dt(r, {
2869
- countries: $,
2870
- defaultCountry: this.defaultCountry,
2871
- metadata: this.metadata.metadata
2872
- });
2873
- s && (a = s);
2874
- }
2875
- }
2876
- var f = new et(a || i, r, this.metadata.metadata);
2877
- return d && (f.carrierCode = d), f;
2878
- }
2879
- }
2880
- /**
2881
- * Returns `true` if the phone number is "possible".
2882
- * Is just a shortcut for `PhoneNumber.isPossible()`.
2883
- * @return {boolean}
2884
- */
2885
- }, {
2886
- key: "isPossible",
2887
- value: function() {
2888
- var e = this.getNumber();
2889
- return e ? e.isPossible() : !1;
2890
- }
2891
- /**
2892
- * Returns `true` if the phone number is "valid".
2893
- * Is just a shortcut for `PhoneNumber.isValid()`.
2894
- * @return {boolean}
2895
- */
2896
- }, {
2897
- key: "isValid",
2898
- value: function() {
2899
- var e = this.getNumber();
2900
- return e ? e.isValid() : !1;
2901
- }
2902
- /**
2903
- * @deprecated
2904
- * This method is used in `react-phone-number-input/source/input-control.js`
2905
- * in versions before `3.0.16`.
2906
- */
2907
- }, {
2908
- key: "getNationalNumber",
2909
- value: function() {
2910
- return this.state.nationalSignificantNumber;
2911
- }
2912
- /**
2913
- * Returns the phone number characters entered by the user.
2914
- * @return {string}
2915
- */
2916
- }, {
2917
- key: "getChars",
2918
- value: function() {
2919
- return (this.state.international ? "+" : "") + this.state.digits;
2920
- }
2921
- /**
2922
- * Returns the template for the formatted phone number.
2923
- * @return {string}
2924
- */
2925
- }, {
2926
- key: "getTemplate",
2927
- value: function() {
2928
- return this.formatter.getTemplate(this.state) || this.getNonFormattedTemplate() || "";
2929
- }
2930
- }]), t;
2931
- }();
2932
- function $d() {
2933
- return We(er, arguments);
2934
- }
2935
- function sd() {
2936
- return We(rr, arguments);
2937
- }
2938
- function A(t) {
2939
- return st.call(this, t, He);
2940
- }
2941
- A.prototype = Object.create(st.prototype, {});
2942
- A.prototype.constructor = A;
2943
- function ld(t, n) {
2944
- return n = n || {}, new Promise(function(e, r) {
2945
- var d = new XMLHttpRequest(), i = [], a = [], o = {}, u = function() {
2946
- return { ok: (d.status / 100 | 0) == 2, statusText: d.statusText, status: d.status, url: d.responseURL, text: function() {
2947
- return Promise.resolve(d.responseText);
2948
- }, json: function() {
2949
- return Promise.resolve(d.responseText).then(JSON.parse);
2950
- }, blob: function() {
2951
- return Promise.resolve(new Blob([d.response]));
2952
- }, clone: u, headers: { keys: function() {
2953
- return i;
2954
- }, entries: function() {
2955
- return a;
2956
- }, get: function(s) {
2957
- return o[s.toLowerCase()];
2958
- }, has: function(s) {
2959
- return s.toLowerCase() in o;
2960
- } } };
2961
- };
2962
- for (var $ in d.open(n.method || "get", t, !0), d.onload = function() {
2963
- d.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(s, f, l) {
2964
- i.push(f = f.toLowerCase()), a.push([f, l]), o[f] = o[f] ? o[f] + "," + l : l;
2965
- }), e(u());
2966
- }, d.onerror = r, d.withCredentials = n.credentials == "include", n.headers) d.setRequestHeader($, n.headers[$]);
2967
- d.send(n.body || null);
2968
- });
2969
- }
2970
- const fd = {
2971
- services: {
2972
- connect: "https://connect.voxie.com"
2973
- }
2974
- };
2975
- class cd {
2976
- constructor(n, e, r) {
2977
- var i;
2978
- if (this.closed = !0, this.termsVisible = !1, this.classes = {
2979
- toggle: {
2980
- base: "vx-open vx-inline-block vx-origin-bottom-right vx-rounded-2xl vx-border vx-border-white/60 vx-bg-slate-100/70 vx-p-2 vx-pb-0 vx-shadow-md vx-backdrop-blur-md",
2981
- open: "vx-opacity-100",
2982
- closed: "vx-scale-1 vx-opacity-0 vx-invisible vx-translate-y-4"
2983
- },
2984
- btn: {
2985
- base: "vx-group vx-relative vx-h-14 vx-w-14 vx-cursor-pointer vx-overflow-hidden vx-rounded-2xl vx-border vx-text-white vx-shadow-md vx-backdrop-blur-md vx-transition-all vx-duration-300 active:vx-scale-95 active:vx-opacity-80",
2986
- open: "vx-border-neutral-800 vx-bg-neutral-800 hover:vx-bg-neutral-600",
2987
- closed: "vx-bg-slate-100/70 vx-border-white/60"
2988
- },
2989
- icon: {
2990
- base: "vx-absolute vx-left-1/2 vx-top-1/2 mt-[2px] -vx-translate-x-1/2 -vx-translate-y-1/2 vx-fill-neutral-800 vx-transition-all vx-duration-300 group-hover:vx-fill-neutral-600 group-active:vx-fill-neutral-800",
2991
- open: "vx-scale-200 vx-h-full vx-opacity-0",
2992
- closed: "vx-w-full vx-z-10"
2993
- },
2994
- xmark: {
2995
- base: "vx-absolute vx-left-1/2 vx-top-1/2 vx-mt-[2px] -vx-translate-x-1/2 -vx-translate-y-1/2 vx-transition-all vx-duration-300 vx-w-4 vx-h-4",
2996
- open: "vx-z-back vx-opacity-100 vx-fill-white",
2997
- closed: "vx-z-0 vx-opacity-0"
2998
- }
2999
- }, this.addStyles = () => {
3000
- const a = document.createElement("style");
3001
- a.innerHTML = this.styles(), document.head.appendChild(a);
3002
- }, this.assignElements = () => {
3003
- 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(
3004
- "vx-submit"
3005
- );
3006
- }, this.setBindings = () => {
3007
- var a, o, u;
3008
- this.elements.btn && (this.elements.btn.onclick = () => this.toggle()), (a = this.elements.terms) == null || a.addEventListener(
3009
- "click",
3010
- ($) => $.target && this.toggleTerms()
3011
- ), (o = document.getElementById("vx-phone-number__input")) == null || o.addEventListener(
3012
- "keypress",
3013
- ($) => $.target instanceof HTMLInputElement && ($.target.value = new A("US").input($.target.value))
3014
- ), (u = document.getElementById("vx-phone-number__input")) == null || u.addEventListener(
3015
- "paste",
3016
- ($) => $.target instanceof HTMLInputElement && ($.target.value = new A("US").input($.target.value))
3017
- ), this.elements.submit && this.elements.form && (this.elements.form.onsubmit = async ($) => {
3018
- var m, b, v, T, O;
3019
- $.preventDefault();
3020
- const s = new FormData($.target);
3021
- let f = (m = s.get("vx-first-name")) == null ? void 0 : m.toString();
3022
- const l = sd(
3023
- ((b = s.get("vx-phone-number")) == null ? void 0 : b.toString()) || "",
3024
- "US"
3025
- );
3026
- let h = !1;
3027
- if (f != null && f.length > 0 && l != null && l.isPossible()) {
3028
- if (f = f.replace(/[^a-zA-Z0-9]+/g, ""), f.length > 0 ? h = await this.captureFn(l.format("E.164"), {
3029
- firstName: f
3030
- }) : h = await this.captureFn(l.format("E.164")), h) {
3031
- const E = document.querySelector("#vx-phone-number p");
3032
- E && (E.textContent = "");
3033
- const w = document.getElementById("vx-pop-up__title");
3034
- w && (w.innerHTML = "Chat soon <span class='vx-pop-up__wave vx-pl-1'>👋</span>");
3035
- const I = document.getElementById("vx-pop-up__msg");
3036
- I && (I.textContent = "Thanks for signing up. We will be in touch shortly.");
3037
- const _ = document.getElementById("vx-first-name__input");
3038
- _ == null || _.setAttribute("disabled", "disabled");
3039
- const U = document.getElementById(
3040
- "vx-phone-number__input"
3041
- );
3042
- U == null || U.setAttribute("disabled", "disabled"), (v = this.elements.btn) == null || v.setAttribute("disabled", "disabled"), this.elements.submit && (this.elements.submit.disabled = !0);
3043
- const oe = document.querySelector(
3044
- `#${(T = this.elements.submit) == null ? void 0 : T.id} span`
3045
- );
3046
- oe && (oe.textContent = "Thanks"), setTimeout(() => {
3047
- this.close(), this.elements.btn && (this.elements.btn.style.cssText = "opacity: 0"), setTimeout(() => {
3048
- var ue;
3049
- (ue = this.elements.container) == null || ue.remove();
3050
- }, 1e3);
3051
- }, 5e3);
3052
- }
3053
- } else if (f == null || f.length == 0)
3054
- (O = document.getElementById("vx-first-name__input")) == null || O.setAttribute("required", "required");
3055
- else if (!(l != null && l.isPossible())) {
3056
- const E = document.querySelector("#vx-phone-number p");
3057
- if (E) {
3058
- const w = (I, _) => Math.floor(Math.random() * (_ - I) + I);
3059
- E.textContent = `Please provide your number in (555) ${w(
3060
- 100,
3061
- 999
3062
- )}-${w(1e3, 9999)} format.`;
3063
- }
3064
- }
3065
- });
3066
- }, this.toggle = () => this.closed ? this.open() : this.close(), this.toggleTerms = () => this.termsVisible ? this.closeTerms() : this.openTerms(), this.setClasses = (a, ...o) => a && a.setAttribute("class", o.join(" ")), this.close = () => {
3067
- this.setClasses(
3068
- this.elements.toggle,
3069
- this.classes.toggle.base,
3070
- this.classes.toggle.closed
3071
- ), this.setClasses(
3072
- this.elements.btn,
3073
- this.classes.btn.base,
3074
- this.classes.btn.closed
3075
- ), this.setClasses(
3076
- this.elements.icon,
3077
- this.classes.icon.base,
3078
- this.classes.icon.closed
3079
- ), this.setClasses(
3080
- this.elements.xmark,
3081
- this.classes.xmark.base,
3082
- this.classes.xmark.closed
3083
- ), this.closed = !0;
3084
- }, this.open = () => {
3085
- this.setClasses(
3086
- this.elements.toggle,
3087
- this.classes.toggle.base,
3088
- this.classes.toggle.open
3089
- ), this.setClasses(
3090
- this.elements.btn,
3091
- this.classes.btn.base,
3092
- this.classes.btn.open
3093
- ), this.setClasses(
3094
- this.elements.icon,
3095
- this.classes.icon.base,
3096
- this.classes.icon.open
3097
- ), this.setClasses(
3098
- this.elements.xmark,
3099
- this.classes.xmark.base,
3100
- this.classes.xmark.open
3101
- ), this.closed = !1;
3102
- }, this.openTerms = () => {
3103
- this.setClasses(
3104
- document.getElementById("vx-terms-arrow"),
3105
- "transition vx-mt-0.5",
3106
- "vx-rotate-180"
3107
- ), this.setClasses(document.getElementById("vx-terms-content"), "vx-mt-3", ""), this.termsVisible = !0;
3108
- }, this.closeTerms = () => {
3109
- this.setClasses(
3110
- document.getElementById("vx-terms-arrow"),
3111
- "transition vx-mt-0.5",
3112
- ""
3113
- ), this.setClasses(
3114
- document.getElementById("vx-terms-content"),
3115
- "vx-mt-3",
3116
- "vx-hidden"
3117
- ), this.termsVisible = !1;
3118
- }, this.auto = (a) => {
3119
- setTimeout(() => this.open(), a != null ? a : 1500);
3120
- }, this.html = () => `<div id='vx-pop-up' class='vx-float-right vx-fixed vx-bottom-0 vx-right-0' style='visibility: hidden'>
1
+ (function(S){typeof define=="function"&&define.amd?define(S):S()})((function(){"use strict";const S={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,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|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|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-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-29])|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}"]]]}};function yt(e,t){var r=Array.prototype.slice.call(t);return r.push(S),e.apply(this,r)}function bt(e,t){e=e.split("-"),t=t.split("-");for(var r=e[0].split("."),n=t[0].split("."),i=0;i<3;i++){var a=Number(r[i]),d=Number(n[i]);if(a>d)return 1;if(d>a)return-1;if(!isNaN(a)&&isNaN(d))return 1;if(isNaN(a)&&!isNaN(d))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var xe={}.constructor;function C(e){return e!=null&&e.constructor===xe}function N(e){"@babel/helpers - typeof";return N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(e)}function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ce(n.key),n)}}function K(e,t,r){return t&&we(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ce(e){var t=Ne(e,"string");return N(t)=="symbol"?t:t+""}function Ne(e,t){if(N(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(N(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Pe="1.2.0",Se="1.7.35",xt=" ext. ",Ee=/^\d+$/,f=(function(){function e(t){V(this,e),Nt(t),this.metadata=t,Pt.call(this,t)}return K(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(r){return r!=="001"})}},{key:"getCountryMetadata",value:function(r){return this.metadata.countries[r]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(r){return this.getCountryMetadata(r)!==void 0}},{key:"hasCallingCode",value:function(r){if(this.getCountryCodesForCallingCode(r))return!0;if(this.nonGeographic()){if(this.nonGeographic()[r])return!0}else{var n=this.countryCallingCodes()[r];if(n&&n.length===1&&n[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(r){return this.nonGeographic()?!!this.nonGeographic()[r]:!this.getCountryCodesForCallingCode(r)}},{key:"country",value:function(r){return this.selectNumberingPlan(r)}},{key:"selectNumberingPlan",value:function(r,n){if(r&&Ee.test(r)&&(n=r,r=null),r&&r!=="001"){if(!this.hasCountry(r))throw new Error("Unknown country: ".concat(r));this.numberingPlan=new wt(this.getCountryMetadata(r),this)}else if(n){if(!this.hasCallingCode(n))throw new Error("Unknown calling code: ".concat(n));this.numberingPlan=new wt(this.getNumberingPlanMetadata(n),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(r){var n=this.countryCallingCodes()[r];if(n)return n.length===1&&n[0].length===3?void 0:n}},{key:"getCountryCodeForCallingCode",value:function(r){var n=this.getCountryCodesForCallingCode(r);if(n)return n[0]}},{key:"getNumberingPlanMetadata",value:function(r){var n=this.getCountryCodeForCallingCode(r);if(n)return this.getCountryMetadata(n);if(this.nonGeographic()){var i=this.nonGeographic()[r];if(i)return i}else{var a=this.countryCallingCodes()[r];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(r){return this.numberingPlan.type(r)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(r){return this.selectNumberingPlan(r)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})(),wt=(function(){function e(t,r){V(this,e),this.globalMetadataObject=r,this.metadata=t,Pt.call(this,r.metadata)}return K(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(r){return r[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var r=this,n=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return n.map(function(i){return new _e(i,r)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(r){return r[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(r){if(this.hasTypes()&&Ct(this.types(),r))return new Te(Ct(this.types(),r),this)}},{key:"ext",value:function(){return this.v1||this.v2?xt:this.metadata[13]||xt}}])})(),_e=(function(){function e(t,r){V(this,e),this._format=t,this.metadata=r}return K(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Ie.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),Ie=/^\(?\$1\)?$/,Te=(function(){function e(t,r){V(this,e),this.type=t,this.metadata=r}return K(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function Ct(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function Nt(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!C(e)||!C(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(C(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Ae(e)+": "+e,"."))}var Ae=function(t){return N(t)};function tt(e,t){if(t=new f(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Fe(e,t){return t.countries.hasOwnProperty(e)}function Pt(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?bt(t,Pe)===-1?this.v2=!0:bt(t,Se)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function z(e,t){return ke(e,void 0,t)}function ke(e,t,r){var n=r.type(t),i=n&&n.possibleLengths()||r.possibleLengths();if(!i)return"IS_POSSIBLE";var a=e.length,d=i[0];return d===a?"IS_POSSIBLE":d>a?"TOO_SHORT":i[i.length-1]<a?"TOO_LONG":i.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Oe(e,t,r){if(t===void 0&&(t={}),r=new f(r),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths())return St(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function St(e,t){switch(z(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function w(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Re(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Le(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Le(e,t){if(e){if(typeof e=="string")return Et(e,t);var r={}.toString.call(e).slice(8,-1);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)?Et(e,t):void 0}}function Et(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Me=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function et(e,t,r){if(t=t||{},!(!e.country&&!e.countryCallingCode)){r=new f(r),r.selectNumberingPlan(e.country,e.countryCallingCode);var n=t.v2?e.nationalNumber:e.phone;if(w(n,r.nationalNumberPattern())){if(rt(n,"FIXED_LINE",r))return r.type("MOBILE")&&r.type("MOBILE").pattern()===""||!r.type("MOBILE")||rt(n,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i=Re(Me),a;!(a=i()).done;){var d=a.value;if(rt(n,d,r))return d}}}}function rt(e,t,r){return t=r.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:w(e,t.pattern())}function De(e,t,r){if(t=t||{},r=new f(r),r.selectNumberingPlan(e.country,e.countryCallingCode),r.hasTypes())return et(e,t,r.metadata)!==void 0;var n=t.v2?e.nationalNumber:e.phone;return w(n,r.nationalNumberPattern())}function je(e,t,r){var n=new f(r),i=n.getCountryCodesForCallingCode(e);return i?i.filter(function(a){return Be(t,a,r)}):[]}function Be(e,t,r){var n=new f(r);return n.selectNumberingPlan(t),n.numberingPlan.possibleLengths().indexOf(e.length)>=0}var nt=2,Ge=17,Ue=3,m="0-90-9٠-٩۰-۹",He="-‐-―−ー-",We="//",Ve="..",Ke="  ­​⁠ ",ze="()()[]\\[\\]",Xe="~⁓∼~",g="".concat(He).concat(We).concat(Ve).concat(Ke).concat(ze).concat(Xe),X="++",Ye=new RegExp("(["+m+"])");function _t(e,t,r,n){if(t){var i=new f(n);i.selectNumberingPlan(t,r);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var d=e.match(Ye);if(!(d&&d[1]!=null&&d[1].length>0&&d[1]==="0"))return e}}}function it(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var r=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),n=r.exec(e);if(n){var i,a,d=n.length-1,o=d>0&&n[d];if(t.nationalPrefixTransformRule()&&o)i=e.replace(r,t.nationalPrefixTransformRule()),d>1&&(a=n[1]);else{var l=n[0];i=e.slice(l.length),o&&(a=n[1])}var s;if(o){var u=e.indexOf(n[1]),c=e.slice(0,u);c===t.numberingPlan.nationalPrefix()&&(s=t.numberingPlan.nationalPrefix())}else s=n[0];return{nationalNumber:i,nationalPrefix:s,carrierCode:a}}}return{nationalNumber:e}}function at(e,t){var r=it(e,t),n=r.carrierCode,i=r.nationalNumber;if(i!==e){if(!Ze(e,i,t))return{nationalNumber:e};if(t.possibleLengths()&&!Je(i,t))return{nationalNumber:e}}return{nationalNumber:i,carrierCode:n}}function Ze(e,t,r){return!(w(e,r.nationalNumberPattern())&&!w(t,r.nationalNumberPattern()))}function Je(e,t){switch(z(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function It(e,t,r,n){var i=t?tt(t,n):r;if(e.indexOf(i)===0){n=new f(n),n.selectNumberingPlan(t,r);var a=e.slice(i.length),d=at(a,n),o=d.nationalNumber,l=at(e,n),s=l.nationalNumber;if(!w(s,n.nationalNumberPattern())&&w(o,n.nationalNumberPattern())||z(s,n)==="TOO_LONG")return{countryCallingCode:i,number:a}}return{number:e}}function dt(e,t,r,n){if(!e)return{};var i;if(e[0]!=="+"){var a=_t(e,t,r,n);if(a&&a!==e)i=!0,e="+"+a;else{if(t||r){var d=It(e,t,r,n),o=d.countryCallingCode,l=d.number;if(o)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:o,number:l}}return{number:e}}}if(e[1]==="0")return{};n=new f(n);for(var s=2;s-1<=Ue&&s<=e.length;){var u=e.slice(1,s);if(n.hasCallingCode(u))return n.selectNumberingPlan(u),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:u,number:e.slice(s)};s++}return{}}function Tt(e){return e.replace(new RegExp("[".concat(g,"]+"),"g")," ").trim()}var At=/(\$\d)/;function Ft(e,t,r){var n=r.useInternationalFormat,i=r.withNationalPrefix;r.carrierCode,r.metadata;var a=e.replace(new RegExp(t.pattern()),n?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(At,t.nationalPrefixFormattingRule()):t.format());return n?Tt(a):a}var qe=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Qe(e,t,r){var n=new f(r);if(n.selectNumberingPlan(e,t),n.defaultIDDPrefix())return n.defaultIDDPrefix();if(qe.test(n.IDDPrefix()))return n.IDDPrefix()}var tr=";ext=",P=function(t){return"([".concat(m,"]{1,").concat(t,"})")};function kt(e){var t="20",r="15",n="9",i="6",a="[  \\t,]*",d="[:\\..]?[  \\t,-]*",o="#?",l="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",s="(?:[xx##~~]|int|int)",u="[- ]+",c="[  \\t]*",$="(?:,{2}|;)",v=tr+P(t),h=a+l+d+P(t)+o,x=a+s+d+P(n)+o,p=u+P(i)+"#",q=c+$+d+P(r)+o,Q=c+"(?:,)+"+d+P(n)+o;return v+"|"+h+"|"+x+"|"+p+"|"+q+"|"+Q}var er="["+m+"]{"+nt+"}",rr="["+X+"]{0,1}(?:["+g+"]*["+m+"]){3,}["+g+m+"]*",nr=new RegExp("^["+X+"]{0,1}(?:["+g+"]*["+m+"]){1,2}$","i"),ir=rr+"(?:"+kt()+")?",ar=new RegExp("^"+er+"$|^"+ir+"$","i");function dr(e){return e.length>=nt&&ar.test(e)}function or(e){return nr.test(e)}function lr(e){var t=e.number,r=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(r?";ext="+r:"")}function E(e){"@babel/helpers - typeof";return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(e)}function sr(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=ur(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ur(e,t){if(e){if(typeof e=="string")return Ot(e,t);var r={}.toString.call(e).slice(8,-1);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}}function Ot(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Rt(Object(r),!0).forEach(function(n){$r(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $r(e,t,r){return(t=cr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cr(e){var t=fr(e,"string");return E(t)=="symbol"?t:t+""}function fr(e,t){if(E(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(E(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Mt={formatExtension:function(t,r,n){return"".concat(t).concat(n.ext()).concat(r)}};function vr(e,t,r,n){if(r?r=Lt(Lt({},Mt),r):r=Mt,n=new f(n),e.country&&e.country!=="001"){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else if(e.countryCallingCode)n.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var i=n.countryCallingCode(),a=r.v2?e.nationalNumber:e.phone,d;switch(t){case"NATIONAL":return a?(d=Y(a,e.carrierCode,"NATIONAL",n,r),ot(d,e.ext,n,r.formatExtension)):"";case"INTERNATIONAL":return a?(d=Y(a,null,"INTERNATIONAL",n,r),d="+".concat(i," ").concat(d),ot(d,e.ext,n,r.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(a);case"RFC3966":return lr({number:"+".concat(i).concat(a),ext:e.ext});case"IDD":if(!r.fromCountry)return;var o=hr(a,e.carrierCode,i,r.fromCountry,n);return ot(o,e.ext,n,r.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function Y(e,t,r,n,i){var a=mr(n.formats(),e);return a?Ft(e,a,{useInternationalFormat:r==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:n}):e}function mr(e,t){for(var r=sr(e),n;!(n=r()).done;){var i=n.value;if(i.leadingDigitsPatterns().length>0){var a=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(w(t,i.pattern()))return i}}function ot(e,t,r,n){return t?n(e,t,r):e}function hr(e,t,r,n,i){var a=tt(n,i.metadata);if(a===r){var d=Y(e,t,"NATIONAL",i);return r==="1"?r+" "+d:d}var o=Qe(n,void 0,i.metadata);if(o)return"".concat(o," ").concat(r," ").concat(Y(e,null,"INTERNATIONAL",i))}function _(e){"@babel/helpers - typeof";return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(e)}function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dt(Object(r),!0).forEach(function(n){pr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pr(e,t,r){return(t=Bt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Bt(n.key),n)}}function br(e,t,r){return t&&yr(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Bt(e){var t=xr(e,"string");return _(t)=="symbol"?t:t+""}function xr(e,t){if(_(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(_(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Gt=(function(){function e(t,r,n){if(gr(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(t[0]==="+"&&!r)throw new TypeError("`metadata` argument not passed");if(C(r)&&C(r.countries)){n=r;var i=t;if(!Nr.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=dt(i,void 0,void 0,n),d=a.countryCallingCode,o=a.number;if(r=o,t=d,!r)throw new Error("Invalid `number` argument passed: too short")}if(!r)throw new TypeError("`nationalNumber` argument is required");if(typeof r!="string")throw new TypeError("`nationalNumber` argument must be a string");Nt(n);var l=Cr(t,n),s=l.country,u=l.countryCallingCode;this.country=s,this.countryCallingCode=u,this.nationalNumber=r,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return n}}return br(e,[{key:"setExt",value:function(r){this.ext=r}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:je(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Oe(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return De(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var r=new f(this.getMetadata());return r.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(r){return this.number===r.number&&this.ext===r.ext}},{key:"getType",value:function(){return et(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(r,n){return vr(this,r,n?jt(jt({},n),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(r){return this.format("NATIONAL",r)}},{key:"formatInternational",value:function(r){return this.format("INTERNATIONAL",r)}},{key:"getURI",value:function(r){return this.format("RFC3966",r)}}])})(),wr=function(t){return/^[A-Z]{2}$/.test(t)};function Cr(e,t){var r,n,i=new f(t);return wr(e)?(r=e,i.selectNumberingPlan(r),n=i.countryCallingCode()):n=e,{country:r,countryCallingCode:n}}var Nr=/^\+\d+$/;function lt(e){"@babel/helpers - typeof";return lt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(e)}function Pr(e,t,r){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t,r){return t=T(t),_r(e,ut()?Reflect.construct(t,r||[],T(e).constructor):t.apply(e,r))}function _r(e,t){if(t&&(lt(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ir(e)}function Ir(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}function st(e){var t=typeof Map=="function"?new Map:void 0;return st=function(n){if(n===null||!Fr(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Ar(n,arguments,T(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),I(i,n)},st(e)}function Ar(e,t,r){if(ut())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&I(i,r.prototype),i}function ut(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ut=function(){return!!e})()}function Fr(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch(t){return typeof e=="function"}}function I(e,t){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},I(e,t)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},T(e)}var b=(function(e){function t(r){var n;return Sr(this,t),n=Er(this,t,[r]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return Tr(t,e),Pr(t)})(st(Error)),Ut=new RegExp("(?:"+kt()+")$","i");function kr(e){var t=e.search(Ut);if(t<0)return{};for(var r=e.slice(0,t),n=e.match(Ut),i=1;i<n.length;){if(n[i])return{number:r,ext:n[i]};i++}}function Or(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Rr(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rr(e,t){if(e){if(typeof e=="string")return Ht(e,t);var r={}.toString.call(e).slice(8,-1);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)?Ht(e,t):void 0}}function Ht(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Lr={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Wt(e){return Lr[e]}function Z(e){for(var t="",r=Or(e.split("")),n;!(n=r()).done;){var i=n.value,a=Wt(i);a&&(t+=a)}return t}function Mr(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Dr(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dr(e,t){if(e){if(typeof e=="string")return Vt(e,t);var r={}.toString.call(e).slice(8,-1);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)?Vt(e,t):void 0}}function Vt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Kt(e){for(var t="",r=Mr(e.split("")),n;!(n=r()).done;){var i=n.value;t+=jr(i,t)||""}return t}function jr(e,t,r){return e==="+"?t?void 0:"+":Wt(e)}function Br(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Gr(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gr(e,t){if(e){if(typeof e=="string")return zt(e,t);var r={}.toString.call(e).slice(8,-1);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)?zt(e,t):void 0}}function zt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Xt(e,t){var r=t.countries;t.defaultCountry;var n=t.metadata;n=new f(n);for(var i=Br(r),a;!(a=i()).done;){var d=a.value;if(n.country(d),n.leadingDigits()){if(e&&e.search(n.leadingDigits())===0)return d}else if(et({phone:e,country:d},void 0,n.metadata))return d}}function Yt(e,t){var r=t.nationalNumber,n=t.defaultCountry,i=t.metadata,a=i.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Xt(r,{countries:a,defaultCountry:n,metadata:i.metadata})}var Zt="+",Ur="[\\-\\.\\(\\)]?",Jt="(["+m+"]|"+Ur+")",Hr="^\\"+Zt+Jt+"*["+m+"]"+Jt+"*$",Wr=new RegExp(Hr,"g"),$t=m,Vr="["+$t+"]+((\\-)*["+$t+"])*",Kr="a-zA-Z",zr="["+Kr+"]+((\\-)*["+$t+"])*",Xr="^("+Vr+"\\.)*"+zr+"\\.?$",Yr=new RegExp(Xr,"g"),qt="tel:",ct=";phone-context=",Zr=";isub=";function Jr(e){var t=e.indexOf(ct);if(t<0)return null;var r=t+ct.length;if(r>=e.length)return"";var n=e.indexOf(";",r);return n>=0?e.substring(r,n):e.substring(r)}function qr(e){return e===null?!0:e.length===0?!1:Wr.test(e)||Yr.test(e)}function Qr(e,t){var r=t.extractFormattedPhoneNumber,n=Jr(e);if(!qr(n))throw new b("NOT_A_NUMBER");var i;if(n===null)i=r(e)||"";else{i="",n.charAt(0)===Zt&&(i+=n);var a=e.indexOf(qt),d;a>=0?d=a+qt.length:d=0;var o=e.indexOf(ct);i+=e.substring(d,o)}var l=i.indexOf(Zr);if(l>0&&(i=i.substring(0,l)),i!=="")return i}var tn=250,en=new RegExp("["+X+m+"]"),rn=new RegExp("[^"+m+"#]+$");function nn(e,t,r){if(t=t||{},r=new f(r),t.defaultCountry&&!r.hasCountry(t.defaultCountry))throw t.v2?new b("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var n=dn(e,t.v2,t.extract),i=n.number,a=n.ext,d=n.error;if(!i){if(t.v2)throw d==="TOO_SHORT"?new b("TOO_SHORT"):new b("NOT_A_NUMBER");return{}}var o=ln(i,t.defaultCountry,t.defaultCallingCode,r),l=o.country,s=o.nationalNumber,u=o.countryCallingCode,c=o.countryCallingCodeSource,$=o.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2)throw new b("INVALID_COUNTRY");return{}}if(!s||s.length<nt){if(t.v2)throw new b("TOO_SHORT");return{}}if(s.length>Ge){if(t.v2)throw new b("TOO_LONG");return{}}if(t.v2){var v=new Gt(u,s,r.metadata);return l&&(v.country=l),$&&(v.carrierCode=$),a&&(v.ext=a),v.__countryCallingCodeSource=c,v}var h=(t.extended?r.hasSelectedNumberingPlan():l)?w(s,r.nationalNumberPattern()):!1;return t.extended?{country:l,countryCallingCode:u,carrierCode:$,valid:h,possible:h?!0:!!(t.extended===!0&&r.possibleLengths()&&St(s,r)),phone:s,ext:a}:h?on(l,s,a):{}}function an(e,t,r){if(e){if(e.length>tn){if(r)throw new b("TOO_LONG");return}if(t===!1)return e;var n=e.search(en);if(!(n<0))return e.slice(n).replace(rn,"")}}function dn(e,t,r){var n=Qr(e,{extractFormattedPhoneNumber:function(d){return an(d,r,t)}});if(!n)return{};if(!dr(n))return or(n)?{error:"TOO_SHORT"}:{};var i=kr(n);return i.ext?i:{number:n}}function on(e,t,r){var n={country:e,phone:t};return r&&(n.ext=r),n}function ln(e,t,r,n){var i=dt(Kt(e),t,r,n.metadata),a=i.countryCallingCodeSource,d=i.countryCallingCode,o=i.number,l;if(d)n.selectNumberingPlan(d);else if(o&&(t||r))n.selectNumberingPlan(t,r),t&&(l=t),d=r||tt(t,n.metadata);else return{};if(!o)return{countryCallingCodeSource:a,countryCallingCode:d};var s=at(Kt(o),n),u=s.nationalNumber,c=s.carrierCode,$=Yt(d,{nationalNumber:u,defaultCountry:t,metadata:n});return $&&(l=$,$==="001"||n.country(l)),{country:l,countryCallingCode:d,countryCallingCodeSource:a,nationalNumber:u,carrierCode:c}}function A(e){"@babel/helpers - typeof";return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A(e)}function Qt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function te(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Qt(Object(r),!0).forEach(function(n){sn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function sn(e,t,r){return(t=un(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function un(e){var t=$n(e,"string");return A(t)=="symbol"?t:t+""}function $n(e,t){if(A(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(A(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ee(e,t,r){return nn(e,te(te({},t),{},{v2:!0}),r)}function F(e){"@babel/helpers - typeof";return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},F(e)}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function cn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){fn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fn(e,t,r){return(t=vn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vn(e){var t=mn(e,"string");return F(t)=="symbol"?t:t+""}function mn(e,t){if(F(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(F(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hn(e,t){return bn(e)||yn(e,t)||gn(e,t)||pn()}function pn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gn(e,t){if(e){if(typeof e=="string")return ne(e,t);var r={}.toString.call(e).slice(8,-1);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)?ne(e,t):void 0}}function ne(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function yn(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,d,o=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(u){s=!0,i=u}finally{try{if(!l&&r.return!=null&&(d=r.return(),Object(d)!==d))return}finally{if(s)throw i}}return o}}function bn(e){if(Array.isArray(e))return e}function ie(e){var t=Array.prototype.slice.call(e),r=hn(t,4),n=r[0],i=r[1],a=r[2],d=r[3],o,l,s;if(typeof n=="string")o=n;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")d?(l=a,s=d):(l=void 0,s=a),i&&(l=cn({defaultCountry:i},l));else if(C(i))a?(l=i,s=a):s=i;else throw new Error("Invalid second argument: ".concat(i));return{text:o,options:l,metadata:s}}function xn(){var e=ie(arguments),t=e.text,r=e.options,n=e.metadata;return ee(t,r,n)}function k(e){"@babel/helpers - typeof";return k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(e)}function ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(r),!0).forEach(function(n){wn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ae(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function wn(e,t,r){return(t=Cn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cn(e){var t=Nn(e,"string");return k(t)=="symbol"?t:t+""}function Nn(e,t){if(k(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(k(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Pn(e,t,r){t&&t.defaultCountry&&!Fe(t.defaultCountry,r)&&(t=de(de({},t),{},{defaultCountry:void 0}));try{return ee(e,t,r)}catch(n){if(!(n instanceof b))throw n}}function Sn(){var e=ie(arguments),t=e.text,r=e.options,n=e.metadata;return Pn(t,r,n)}function O(e){"@babel/helpers - typeof";return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(e)}function En(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Tn(n.key),n)}}function In(e,t,r){return t&&_n(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tn(e){var t=An(e,"string");return O(t)=="symbol"?t:t+""}function An(e,t){if(O(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(O(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Fn=(function(){function e(t){var r=t.onCountryChange,n=t.onCallingCodeChange;En(this,e),this.onCountryChange=r,this.onCallingCodeChange=n}return In(e,[{key:"reset",value:function(r){var n=r.country,i=r.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(n,i)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(r){for(var n=0,i=Object.keys(r);n<i.length;n++){var a=i[n];this[a]=r[a]}}},{key:"initCountryAndCallingCode",value:function(r,n){this.setCountry(r),this.setCallingCode(n)}},{key:"setCountry",value:function(r){this.country=r,this.onCountryChange(r)}},{key:"setCallingCode",value:function(r){this.callingCode=r,this.onCallingCodeChange(r,this.country)}},{key:"startInternationalNumber",value:function(r,n){this.international=!0,this.initCountryAndCallingCode(r,n)}},{key:"appendDigits",value:function(r){this.digits+=r}},{key:"appendNationalSignificantNumberDigits",value:function(r){this.nationalSignificantNumber+=r}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])})();function kn(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=On(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function On(e,t){if(e){if(typeof e=="string")return oe(e,t);var r={}.toString.call(e).slice(8,-1);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)?oe(e,t):void 0}}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y="x",ft=new RegExp(y);function J(e,t){if(t<1)return"";for(var r="";t>1;)t&1&&(r+=e),t>>=1,e+=e;return r+e}function le(e,t){return e[t]===")"&&t++,Rn(e.slice(0,t))}function Rn(e){for(var t=[],r=0;r<e.length;)e[r]==="("?t.push(r):e[r]===")"&&t.pop(),r++;var n=0,i="";t.push(e.length);for(var a=0,d=t;a<d.length;a++){var o=d[a];i+=e.slice(n,o),n=o+1}return i}function Ln(e,t,r){for(var n=kn(r.split("")),i;!(i=n()).done;){var a=i.value;if(e.slice(t+1).search(ft)<0)return;t=e.search(ft),e=e.replace(ft,a)}return[e,t]}function Mn(e,t,r){var n=r.metadata,i=r.shouldTryNationalPrefixFormattingRule,a=r.getSeparatorAfterNationalPrefix,d=new RegExp("^(?:".concat(t.pattern(),")$"));if(d.test(e.nationalSignificantNumber))return jn(e,t,{metadata:n,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:a})}function Dn(e,t){return z(e,t)==="IS_POSSIBLE"}function jn(e,t,r){var n=r.metadata,i=r.shouldTryNationalPrefixFormattingRule,a=r.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,i(t)){var d=se(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:a,metadata:n});if(d)return d}return se(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:a,metadata:n})}function se(e,t,r){var n=r.metadata,i=r.useNationalPrefixFormattingRule,a=r.getSeparatorAfterNationalPrefix,d=Ft(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:n});if(i||(e.nationalPrefix?d=e.nationalPrefix+a(t)+d:e.complexPrefixBeforeNationalSignificantNumber&&(d=e.complexPrefixBeforeNationalSignificantNumber+" "+d)),Bn(d,e))return d}function Bn(e,t){return Z(e)===t.getNationalDigits()}function R(e){"@babel/helpers - typeof";return R=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(e)}function Gn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Wn(n.key),n)}}function Hn(e,t,r){return t&&Un(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Wn(e){var t=Vn(e,"string");return R(t)=="symbol"?t:t+""}function Vn(e,t){if(R(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(R(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Kn=(function(){function e(){Gn(this,e)}return Hn(e,[{key:"parse",value:function(r){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(r),this.context.length!==1)throw new Error("Non-finalized contexts left when pattern parse ended");var n=this.context[0],i=n.branches,a=n.instructions;if(i)return{op:"|",args:i.concat([vt(a)])};if(a.length===0)throw new Error("Pattern is required");return a.length===1?a[0]:a}},{key:"startContext",value:function(r){this.context.push(r)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(r){if(!r)throw new Error("Pattern is required");var n=r.match(Yn);if(!n){if(Xn.test(r))throw new Error("Illegal characters found in a pattern: ".concat(r));this.getContext().instructions=this.getContext().instructions.concat(r.split(""));return}var i=n[1],a=r.slice(0,n.index),d=r.slice(n.index+i.length);switch(i){case"(?:":a&&this.parsePattern(a),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(a&&this.parsePattern(a),this.getContext().instructions.length===0)throw new Error('No instructions found after "|" operator in an "or" group');var o=this.getContext(),l=o.branches;l.push(vt(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:l});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(a&&this.parsePattern(a),!this.getContext().branches)if(this.context.length===1)this.getContext().branches=[];else throw new Error('"branches" not found in an "or" group context');this.getContext().branches.push(vt(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":a&&this.parsePattern(a),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:zn(a)});break;default:throw new Error("Unknown operator: ".concat(i))}d&&this.parsePattern(d)}}])})();function zn(e){for(var t=[],r=0;r<e.length;){if(e[r]==="-"){if(r===0||r===e.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(e));for(var n=e[r-1].charCodeAt(0)+1,i=e[r+1].charCodeAt(0)-1,a=n;a<=i;)t.push(String.fromCharCode(a)),a++}else t.push(e[r]);r++}return t}var Xn=/[\(\)\[\]\?\:\|]/,Yn=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function vt(e){return e.length===1?e[0]:e}function ue(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=Zn(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zn(e,t){if(e){if(typeof e=="string")return $e(e,t);var r={}.toString.call(e).slice(8,-1);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)?$e(e,t):void 0}}function $e(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function L(e){"@babel/helpers - typeof";return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(e)}function Jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ti(n.key),n)}}function Qn(e,t,r){return t&&qn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ti(e){var t=ei(e,"string");return L(t)=="symbol"?t:t+""}function ei(e,t){if(L(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(L(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ri=(function(){function e(t){Jn(this,e),this.matchTree=new Kn().parse(t)}return Qn(e,[{key:"match",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.allowOverflow;if(!r)throw new Error("String is required");var a=mt(r.split(""),this.matchTree,!0);if(a&&a.match&&delete a.matchedChars,!(a&&a.overflow&&!i))return a}}])})();function mt(e,t,r){if(typeof t=="string"){var n=e.join("");return t.indexOf(n)===0?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:n.indexOf(t)===0?r&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var i=e.slice(),a=0;a<t.length;){var d=t[a],o=mt(i,d,r&&a===t.length-1);if(o){if(o.overflow)return o;if(o.match){if(i=i.slice(o.matchedChars.length),i.length===0)return a===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else{if(o.partialMatch)return{partialMatch:!0};throw new Error(`Unsupported match result:
10
+ `.concat(JSON.stringify(o,null,2)))}}else return;a++}return r?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(t.op){case"|":for(var l,s=ue(t.args),u;!(u=s()).done;){var c=u.value,$=mt(e,c,r);if($){if($.overflow)return $;if($.match)return{match:!0,matchedChars:$.matchedChars};if($.partialMatch)l=!0;else throw new Error(`Unsupported match result:
11
+ `.concat(JSON.stringify($,null,2)))}}return l?{partialMatch:!0}:void 0;case"[]":for(var v=ue(t.args),h;!(h=v()).done;){var x=h.value;if(e[0]===x)return e.length===1?{match:!0,matchedChars:e}:r?{overflow:!0}:{match:!0,matchedChars:[x]}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}function M(e){"@babel/helpers - typeof";return M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M(e)}function ce(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=ni(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ni(e,t){if(e){if(typeof e=="string")return fe(e,t);var r={}.toString.call(e).slice(8,-1);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)?fe(e,t):void 0}}function fe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,oi(n.key),n)}}function di(e,t,r){return t&&ai(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function oi(e){var t=li(e,"string");return M(t)=="symbol"?t:t+""}function li(e,t){if(M(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(M(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ht="9",si=15,ui=J(ht,si),$i=/[- ]/,ci=function(){return/\[([^\[\]])*\]/g},fi=function(){return/\d(?=[^,}][^,}])/g},vi=new RegExp("["+g+"]*\\$1["+g+"]*(\\$\\d["+g+"]*)*$"),ve=3,mi=(function(){function e(t){t.state;var r=t.metadata;ii(this,e),this.metadata=r,this.resetFormat()}return di(e,[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(r,n){this.resetFormat(),r?(this.isNANP=r.callingCode()==="1",this.matchingFormats=r.formats(),n.nationalSignificantNumber&&this.narrowDownMatchingFormats(n)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(r,n){var i=this;if(Dn(n.nationalSignificantNumber,this.metadata))for(var a=ce(this.matchingFormats),d;!(d=a()).done;){var o=d.value,l=Mn(n,o,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(u){return i.shouldTryNationalPrefixFormattingRule(u,{international:n.international,nationalPrefix:n.nationalPrefix})},getSeparatorAfterNationalPrefix:function(u){return i.getSeparatorAfterNationalPrefix(u)}});if(l)return this.resetFormat(),this.chosenFormat=o,this.setNationalNumberTemplate(l.replace(/\d/g,y),n),this.populatedNationalNumberTemplate=l,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(y),l}return this.formatNationalNumberWithNextDigits(r,n)}},{key:"formatNationalNumberWithNextDigits",value:function(r,n){var i=this.chosenFormat,a=this.chooseFormat(n);if(a)return a===i?this.formatNextNationalNumberDigits(r):this.formatNextNationalNumberDigits(n.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(r){var n=this,i=r.nationalSignificantNumber,a=r.nationalPrefix,d=r.international,o=i,l=o.length-ve;l<0&&(l=0),this.matchingFormats=this.matchingFormats.filter(function(s){return n.formatSuits(s,d,a)&&n.formatMatches(s,o,l)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:"formatSuits",value:function(r,n,i){return!(i&&!r.usesNationalPrefix()&&!r.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!n&&!i&&r.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(r,n,i){var a=r.leadingDigitsPatterns().length;if(a===0)return!0;i=Math.min(i,a-1);var d=r.leadingDigitsPatterns()[i];if(n.length<ve)try{return new ri(d).match(n,{allowOverflow:!0})!==void 0}catch(o){return console.error(o),!0}return new RegExp("^(".concat(d,")")).test(n)}},{key:"getFormatFormat",value:function(r,n){return n?r.internationalFormat():r.format()}},{key:"chooseFormat",value:function(r){for(var n=this,i=function(){var s=o.value;return n.chosenFormat===s?0:vi.test(n.getFormatFormat(s,r.international))?n.createTemplateForFormat(s,r)?(n.chosenFormat=s,0):(n.matchingFormats=n.matchingFormats.filter(function(u){return u!==s}),1):1},a,d=ce(this.matchingFormats.slice()),o;!(o=d()).done&&(a=i(),a!==0););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(r,n){if(!(r.pattern().indexOf("|")>=0)){var i=this.getTemplateForFormat(r,n);if(i)return this.setNationalNumberTemplate(i,n),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(r){return this.isNANP||r&&r.nationalPrefixFormattingRule()&&$i.test(r.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(r,n){var i=r.IDDPrefix,a=r.missingPlus;return i?n&&n.spacing===!1?i:i+" ":a?"":"+"}},{key:"getTemplate",value:function(r){if(this.template){for(var n=-1,i=0,a=r.international?this.getInternationalPrefixBeforeCountryCallingCode(r,{spacing:!1}):"";i<a.length+r.getDigitsWithoutInternationalPrefix().length;)n=this.template.indexOf(y,n+1),i++;return le(this.template,n+1)}}},{key:"setNationalNumberTemplate",value:function(r,n){this.nationalNumberTemplate=r,this.populatedNationalNumberTemplate=r,this.populatedNationalNumberTemplatePosition=-1,n.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(n).replace(/[\d\+]/g,y)+J(y,n.callingCode.length)+" "+r:this.template=r}},{key:"getTemplateForFormat",value:function(r,n){var i=n.nationalSignificantNumber,a=n.international,d=n.nationalPrefix,o=n.complexPrefixBeforeNationalSignificantNumber,l=r.pattern();l=l.replace(ci(),"\\d").replace(fi(),"\\d");var s=ui.match(l)[0];if(!(i.length>s.length)){var u=new RegExp("^"+l+"$"),c=i.replace(/\d/g,ht);u.test(c)&&(s=c);var $=this.getFormatFormat(r,a),v;if(this.shouldTryNationalPrefixFormattingRule(r,{international:a,nationalPrefix:d})){var h=$.replace(At,r.nationalPrefixFormattingRule());if(Z(r.nationalPrefixFormattingRule())===(d||"")+Z("$1")&&($=h,v=!0,d))for(var x=d.length;x>0;)$=$.replace(/\d/,y),x--}var p=s.replace(new RegExp(l),$).replace(new RegExp(ht,"g"),y);return v||(o?p=J(y,o.length)+" "+p:d&&(p=J(y,d.length)+this.getSeparatorAfterNationalPrefix(r)+p)),a&&(p=Tt(p)),p}}},{key:"formatNextNationalNumberDigits",value:function(r){var n=Ln(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,r);if(!n){this.resetFormat();return}return this.populatedNationalNumberTemplate=n[0],this.populatedNationalNumberTemplatePosition=n[1],le(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(r,n){var i=n.international,a=n.nationalPrefix;if(r.nationalPrefixFormattingRule()){var d=r.usesNationalPrefix();if(d&&a||!d&&!i)return!0}}}])})();function D(e){"@babel/helpers - typeof";return D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(e)}function me(e,t){return yi(e)||gi(e,t)||pi(e,t)||hi()}function hi(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pi(e,t){if(e){if(typeof e=="string")return he(e,t);var r={}.toString.call(e).slice(8,-1);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)?he(e,t):void 0}}function he(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function gi(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,d,o=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(u){s=!0,i=u}finally{try{if(!l&&r.return!=null&&(d=r.return(),Object(d)!==d))return}finally{if(s)throw i}}return o}}function yi(e){if(Array.isArray(e))return e}function bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ci(n.key),n)}}function wi(e,t,r){return t&&xi(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ci(e){var t=Ni(e,"string");return D(t)=="symbol"?t:t+""}function Ni(e,t){if(D(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(D(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Pi="["+g+m+"]+",Si=new RegExp("^"+Pi+"$","i"),Ei="(?:["+X+"]["+g+m+"]*|["+g+m+"]+)",_i=new RegExp("[^"+g+m+"]+.*$"),Ii=/[^\d\[\]]/,Ti=(function(){function e(t){var r=t.defaultCountry,n=t.defaultCallingCode,i=t.metadata,a=t.onNationalSignificantNumberChange;bi(this,e),this.defaultCountry=r,this.defaultCallingCode=n,this.metadata=i,this.onNationalSignificantNumberChange=a}return wi(e,[{key:"input",value:function(r,n){var i=ki(r),a=me(i,2),d=a[0],o=a[1],l=Z(d),s;return o&&(n.digits||(n.startInternationalNumber(),l||(s=!0))),l&&this.inputDigits(l,n),{digits:l,justLeadingPlus:s}}},{key:"inputDigits",value:function(r,n){var i=n.digits,a=i.length<3&&i.length+r.length>=3;if(n.appendDigits(r),a&&this.extractIddPrefix(n),this.isWaitingForCountryCallingCode(n)){if(!this.extractCountryCallingCode(n))return}else n.appendNationalSignificantNumberDigits(r);n.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(n.getNationalDigits(),function(d){return n.update(d)})}},{key:"isWaitingForCountryCallingCode",value:function(r){var n=r.international,i=r.callingCode;return n&&!i}},{key:"extractCountryCallingCode",value:function(r){var n=dt("+"+r.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=n.countryCallingCode,a=n.number;if(i)return r.setCallingCode(i),r.update({nationalSignificantNumber:a}),!0}},{key:"reset",value:function(r){if(r){this.hasSelectedNumberingPlan=!0;var n=r._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=n&&Ii.test(n)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(r,n){if(this.hasSelectedNumberingPlan){var i=it(r,this.metadata),a=i.nationalPrefix,d=i.nationalNumber,o=i.carrierCode;if(d!==r)return this.onExtractedNationalNumber(a,o,d,r,n),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(r,n,i){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(r,i);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var a=it(r,this.metadata),d=a.nationalPrefix,o=a.nationalNumber,l=a.carrierCode;if(o!==n)return this.onExtractedNationalNumber(d,l,o,r,i),!0}}},{key:"onExtractedNationalNumber",value:function(r,n,i,a,d){var o,l,s=a.lastIndexOf(i);if(s>=0&&s===a.length-i.length){l=!0;var u=a.slice(0,s);u!==r&&(o=u)}d({nationalPrefix:r,carrierCode:n,nationalSignificantNumber:i,nationalSignificantNumberMatchesInput:l,complexPrefixBeforeNationalSignificantNumber:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(r){if(this.extractAnotherNationalSignificantNumber(r.getNationalDigits(),r.nationalSignificantNumber,function(n){return r.update(n)}))return!0;if(this.extractIddPrefix(r))return this.extractCallingCodeAndNationalSignificantNumber(r),!0;if(this.fixMissingPlus(r))return this.extractCallingCodeAndNationalSignificantNumber(r),!0}},{key:"extractIddPrefix",value:function(r){var n=r.international,i=r.IDDPrefix,a=r.digits;if(r.nationalSignificantNumber,!(n||i)){var d=_t(a,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(d!==void 0&&d!==a)return r.update({IDDPrefix:a.slice(0,a.length-d.length)}),this.startInternationalNumber(r,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(r){if(!r.international){var n=It(r.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=n.countryCallingCode;if(n.number,i)return r.update({missingPlus:!0}),this.startInternationalNumber(r,{country:r.country,callingCode:i}),!0}}},{key:"startInternationalNumber",value:function(r,n){var i=n.country,a=n.callingCode;r.startInternationalNumber(i,a),r.nationalSignificantNumber&&(r.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(r){this.extractCountryCallingCode(r)&&this.extractNationalSignificantNumber(r.getNationalDigits(),function(n){return r.update(n)})}}])})();function Ai(e){var t=e.search(Ei);if(!(t<0)){e=e.slice(t);var r;return e[0]==="+"&&(r=!0,e=e.slice(1)),e=e.replace(_i,""),r&&(e="+"+e),e}}function Fi(e){var t=Ai(e)||"";return t[0]==="+"?[t.slice(1),!0]:[t]}function ki(e){var t=Fi(e),r=me(t,2),n=r[0],i=r[1];return Si.test(n)||(n=""),[n,i]}function j(e){"@babel/helpers - typeof";return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(e)}function Oi(e,t){return Di(e)||Mi(e,t)||Li(e,t)||Ri()}function Ri(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Li(e,t){if(e){if(typeof e=="string")return pe(e,t);var r={}.toString.call(e).slice(8,-1);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)?pe(e,t):void 0}}function pe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Mi(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,d,o=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(u){s=!0,i=u}finally{try{if(!l&&r.return!=null&&(d=r.return(),Object(d)!==d))return}finally{if(s)throw i}}return o}}function Di(e){if(Array.isArray(e))return e}function ji(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ui(n.key),n)}}function Gi(e,t,r){return t&&Bi(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ui(e){var t=Hi(e,"string");return j(t)=="symbol"?t:t+""}function Hi(e,t){if(j(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(j(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ge=(function(){function e(t,r){ji(this,e),this.metadata=new f(r);var n=this.getCountryAndCallingCode(t),i=Oi(n,2),a=i[0],d=i[1];this.defaultCountry=a,this.defaultCallingCode=d,this.reset()}return Gi(e,[{key:"getCountryAndCallingCode",value:function(r){var n,i;return r&&(C(r)?(n=r.defaultCountry,i=r.defaultCallingCode):n=r),n&&!this.metadata.hasCountry(n)&&(n=void 0),[n,i]}},{key:"input",value:function(r){var n=this.parser.input(r,this.state),i=n.digits,a=n.justLeadingPlus;if(a)this.formattedOutput="+";else if(i){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var d;if(this.metadata.hasSelectedNumberingPlan()&&(d=this.formatter.format(i,this.state)),d===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var o=this.state.getNationalDigits();o&&(d=this.formatter.format(o,this.state))}this.formattedOutput=d?this.getFullNumber(d):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var r=this;return this.state=new Fn({onCountryChange:function(i){r.country=i},onCallingCodeChange:function(i,a){r.metadata.selectNumberingPlan(a,i),r.formatter.reset(r.metadata.numberingPlan,r.state),r.parser.reset(r.metadata.numberingPlan)}}),this.formatter=new mi({state:this.state,metadata:this.metadata}),this.parser=new Ti({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){r.determineTheCountryIfNeeded(),r.formatter.reset(r.metadata.numberingPlan,r.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){var r=this.state.digits;if(r)return this._getCountry()}},{key:"_getCountry",value:function(){var r=this.state.country;return r}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(r){var n=this;if(this.isInternational()){var i=function(o){return n.formatter.getInternationalPrefixBeforeCountryCallingCode(n.state,{spacing:!!o})+o},a=this.state.callingCode;return i(a?r?"".concat(a," ").concat(r):a:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return r}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var r=this.state,n=r.nationalSignificantNumber,i=r.complexPrefixBeforeNationalSignificantNumber,a=r.nationalPrefix,d=n,o=i||a;return o&&(d=o+d),d}},{key:"getNonFormattedNumber",value:function(){var r=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(r?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var r=this.getNonFormattedNumber();if(r)return r.replace(/[\+\d]/g,y)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var r=this.state.callingCode,n=this.metadata.getCountryCodesForCallingCode(r);return n&&n.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(Yt(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var r=this.state,n=r.digits,i=r.callingCode,a=r.country,d=r.nationalSignificantNumber;if(n){if(this.isInternational())return i?"+"+i+d:"+"+n;if(a||i){var o=a?this.metadata.countryCallingCode():i;return"+"+o+d}}}},{key:"getNumber",value:function(){var r=this.state,n=r.nationalSignificantNumber,i=r.carrierCode,a=r.callingCode,d=this._getCountry();if(n&&!(!d&&!a)){if(d&&d===this.defaultCountry){var o=new f(this.metadata.metadata);o.selectNumberingPlan(d);var l=o.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(l);if(s.length>1){var u=Xt(n,{countries:s,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});u&&(d=u)}}var c=new Gt(d||a,n,this.metadata.metadata);return i&&(c.carrierCode=i),c}}},{key:"isPossible",value:function(){var r=this.getNumber();return r?r.isPossible():!1}},{key:"isValid",value:function(){var r=this.getNumber();return r?r.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}])})();function Wi(){return yt(xn,arguments)}function Vi(){return yt(Sn,arguments)}function B(e){return ge.call(this,e,S)}B.prototype=Object.create(ge.prototype,{}),B.prototype.constructor=B;function Ki(e,t){return t=t||{},new Promise(function(r,n){var i=new XMLHttpRequest,a=[],d=[],o={},l=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:l,headers:{keys:function(){return a},entries:function(){return d},get:function(u){return o[u.toLowerCase()]},has:function(u){return u.toLowerCase()in o}}}};for(var s in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(u,c,$){a.push(c=c.toLowerCase()),d.push([c,$]),o[c]=o[c]?o[c]+","+$:$}),r(l())},i.onerror=n,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(s,t.headers[s]);i.send(t.body||null)})}const zi={services:{connect:"https://connect.voxie.com"}},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}';class Yi{constructor(t,r,n){var a;if(this.closed=!0,this.termsVisible=!1,this.classes={toggle:{base:"vx-open vx:inline-block vx:origin-bottom-right vx:rounded-2xl vx:border vx:border-white/60 vx:bg-slate-100/70 vx:p-2 vx:pb-0 vx:shadow-md vx:backdrop-blur-md",open:"vx:opacity-100",closed:"vx:scale-1 vx:opacity-0 vx:invisible vx:translate-y-4"},btn:{base:"vx:group vx:relative vx:h-14 vx:w-14 vx:cursor-pointer vx:overflow-hidden vx:rounded-2xl vx:border vx:text-white vx:shadow-md vx:backdrop-blur-md vx:transition-all vx:duration-300 vx:active:scale-95 vx:active:opacity-80",open:"vx:border-neutral-800 vx:bg-neutral-800 vx:hover:bg-neutral-600",closed:"vx:bg-slate-100/70 vx:border-white/60"},icon:{base:"vx:absolute vx:left-1/2 vx:top-1/2 mt-[2px] vx:-translate-x-1/2 vx:-translate-y-1/2 vx:fill-neutral-800 vx:transition-all vx:duration-300 vx:group-hover:fill-neutral-600 vx:group-active:fill-neutral-800",open:"vx:scale-200 vx:h-full vx:opacity-0",closed:"vx:w-full vx:z-10"},xmark:{base:"vx:absolute vx:left-1/2 vx:top-1/2 vx:mt-[2px] vx:-translate-x-1/2 vx:-translate-y-1/2 vx:transition-all vx:duration-300 vx:w-4 vx:h-4",open:"vx:z-back vx:opacity-100 vx:fill-white",closed:"vx:z-0 vx:opacity-0"}},this.addStyles=()=>{if(typeof document=="undefined")return;const d="voxie-contacts-styles";if(document.getElementById(d))return;const o=document.createElement("style");o.id=d,o.textContent=Xi,document.head.appendChild(o)},this.assignElements=()=>{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("vx-submit")},this.setBindings=()=>{var d,o,l;this.elements.btn&&(this.elements.btn.onclick=()=>this.toggle()),(d=this.elements.terms)==null||d.addEventListener("click",s=>s.target&&this.toggleTerms()),(o=document.getElementById("vx-phone-number__input"))==null||o.addEventListener("keypress",s=>s.target instanceof HTMLInputElement&&(s.target.value=new B("US").input(s.target.value))),(l=document.getElementById("vx-phone-number__input"))==null||l.addEventListener("paste",s=>s.target instanceof HTMLInputElement&&(s.target.value=new B("US").input(s.target.value))),this.elements.submit&&this.elements.form&&(this.elements.form.onsubmit=async s=>{var h,x,p,q,Q;s.preventDefault();const u=new FormData(s.target);let c=(h=u.get("vx-first-name"))==null?void 0:h.toString();const $=Vi(((x=u.get("vx-phone-number"))==null?void 0:x.toString())||"","US");let v=!1;if(c!=null&&c.length>0&&$!=null&&$.isPossible()){if(c=c.replace(/[^a-zA-Z0-9]+/g,""),c.length>0?v=await this.captureFn($.format("E.164"),{firstName:c}):v=await this.captureFn($.format("E.164")),v){const G=document.querySelector("#vx-phone-number p");G&&(G.textContent="");const U=document.getElementById("vx-pop-up__title");U&&(U.innerHTML="Chat soon <span class='vx-pop-up__wave vx:pl-1'>👋</span>");const H=document.getElementById("vx-pop-up__msg");H&&(H.textContent="Thanks for signing up. We will be in touch shortly.");const W=document.getElementById("vx-first-name__input");W==null||W.setAttribute("disabled","disabled");const gt=document.getElementById("vx-phone-number__input");gt==null||gt.setAttribute("disabled","disabled"),(p=this.elements.btn)==null||p.setAttribute("disabled","disabled"),this.elements.submit&&(this.elements.submit.disabled=!0);const ye=document.querySelector(`#${(q=this.elements.submit)==null?void 0:q.id} span`);ye&&(ye.textContent="Thanks"),setTimeout(()=>{this.close(),this.elements.btn&&(this.elements.btn.style.cssText="opacity: 0"),setTimeout(()=>{var be;(be=this.elements.container)==null||be.remove()},1e3)},5e3)}}else if(c==null||c.length==0)(Q=document.getElementById("vx-first-name__input"))==null||Q.setAttribute("required","required");else if(!($!=null&&$.isPossible())){const G=document.querySelector("#vx-phone-number p");if(G){const U=(H,W)=>Math.floor(Math.random()*(W-H)+H);G.textContent=`Please provide your number in (555) ${U(100,999)}-${U(1e3,9999)} format.`}}})},this.toggle=()=>this.closed?this.open():this.close(),this.toggleTerms=()=>this.termsVisible?this.closeTerms():this.openTerms(),this.setClasses=(d,...o)=>d&&d.setAttribute("class",o.join(" ")),this.close=()=>{this.setClasses(this.elements.toggle,this.classes.toggle.base,this.classes.toggle.closed),this.setClasses(this.elements.btn,this.classes.btn.base,this.classes.btn.closed),this.setClasses(this.elements.icon,this.classes.icon.base,this.classes.icon.closed),this.setClasses(this.elements.xmark,this.classes.xmark.base,this.classes.xmark.closed),this.closed=!0},this.open=()=>{this.setClasses(this.elements.toggle,this.classes.toggle.base,this.classes.toggle.open),this.setClasses(this.elements.btn,this.classes.btn.base,this.classes.btn.open),this.setClasses(this.elements.icon,this.classes.icon.base,this.classes.icon.open),this.setClasses(this.elements.xmark,this.classes.xmark.base,this.classes.xmark.open),this.closed=!1},this.openTerms=()=>{this.setClasses(document.getElementById("vx-terms-arrow"),"transition vx:mt-0.5","vx:rotate-180");const d=document.getElementById("vx-terms-content");d&&(d.style.display="block"),this.termsVisible=!0},this.closeTerms=()=>{this.setClasses(document.getElementById("vx-terms-arrow"),"transition vx:mt-0.5","");const d=document.getElementById("vx-terms-content");d&&(d.style.display="none"),this.termsVisible=!1},this.auto=d=>{setTimeout(()=>this.open(),d!=null?d:1500)},this.html=()=>`<div id='vx-pop-up' class='vx:float-right vx:fixed vx:bottom-0 vx:right-0' style='visibility: hidden'>
3121
15
  <script src='https://kit.fontawesome.com/06f511676f.js' crossorigin='anonymous'><\/script>
3122
16
  <div
3123
17
  id='vx-panel'
3124
- class='vx-relative vx-bottom-8 vx-right-8 vx-flex vx-flex-col vx-items-end vx-gap-2 vx-duration-300 vx-max-w-panel'
18
+ class='vx:relative vx:bottom-8 vx:right-8 vx:flex vx:flex-col vx:items-end vx:gap-2 vx:duration-300 vx:max-w-panel'
3125
19
  >
3126
20
  <div
3127
21
  id='vx-toggle'
3128
22
  style='transition: visibility 0s, all 0.2s ease-in-out;'
3129
23
  >
3130
- <div class='vx-rounded-lg vx-bg-white vx-p-8 vx-shadow'>
3131
- <div class='vx-mb-1 vx-flex vx-gap-2'>
24
+ <div class='vx:rounded-lg vx:bg-white vx:p-8 vx:shadow'>
25
+ <div class='vx:mb-1 vx:flex vx:gap-2'>
3132
26
  <h2
3133
- class='vx-text-base vx-font-bold'
27
+ class='vx:text-base vx:font-bold'
3134
28
  id='vx-pop-up__title'
3135
29
  >
3136
30
  Keep in Touch
@@ -3140,7 +34,7 @@ class cd {
3140
34
  width='16'
3141
35
  height='24'
3142
36
  viewBox='0 0 512 512'
3143
- class='vx-self-start'
37
+ class='vx:self-start'
3144
38
  >
3145
39
  <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
3146
40
  <path d='M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64h96v80c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L309.3 416H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64z'/>
@@ -3148,48 +42,48 @@ class cd {
3148
42
  </div>
3149
43
  <p
3150
44
  id='vx-pop-up__msg'
3151
- class='vx-text-slate-600 vx-text-xs'
45
+ class='vx:text-slate-600 vx:text-xs'
3152
46
  >
3153
47
  Would you like to receive special offers via text?
3154
48
  </p>
3155
- <form id='vx-form' class='vx-mt-5'>
49
+ <form id='vx-form' class='vx:mt-5'>
3156
50
  <label
3157
51
  id='vx-first-name'
3158
- class='vx-block vx-my-2'
52
+ class='vx:block vx:my-2'
3159
53
  for='vx-first-name'
3160
54
  >
3161
- <span class='vx-block vx-text-xs vx-font-medium vx-text-slate-700'>First Name *</span>
55
+ <span class='vx:block vx:text-xs vx:font-medium vx:text-slate-700'>First Name *</span>
3162
56
  <input
3163
57
  type='text'
3164
58
  id='vx-first-name__input'
3165
59
  name='vx-first-name'
3166
- class='vx-mt-1 vx-block vx-w-full vx-px-3 vx-py-2 vx-bg-white vx-border vx-border-slate-300 vx-rounded-md vx-text-sm vx-placeholder-slate-400 focus:vx-outline-none focus:vx-border-sky-500 focus:vx-ring-1 focus:vx-ring-sky-500 disabled:vx-bg-slate-50 disabled:vx-text-slate-500 disabled:vx-border-slate-200 disabled:vx-shadow-none invalid:vx-border-pink-500 invalid:vx-text-pink-600 focus:invalid:vx-border-pink-500 focus:invalid:vx-ring-pink-500'
60
+ class='vx:mt-1 vx:block vx:w-full vx:px-3 vx:py-2 vx:bg-white vx:border vx:border-slate-300 vx:rounded-md vx:text-sm vx:placeholder-slate-400 vx:focus:outline-hidden vx:focus:border-sky-500 vx:focus:ring-1 vx:focus:ring-sky-500 vx:disabled:bg-slate-50 vx:disabled:text-slate-500 vx:disabled:border-slate-200 vx:disabled:shadow-none vx:invalid:border-pink-500 vx:invalid:text-pink-600 vx:focus:invalid:border-pink-500 vx:focus:invalid:ring-pink-500'
3167
61
  />
3168
62
  </label>
3169
63
  <label id='vx-phone-number' for='vx-phone-number'
3170
- class='vx-block vx-my-2'>
3171
- <span class='vx-block vx-text-xs vx-font-medium vx-text-slate-700'
64
+ class='vx:block vx:my-2'>
65
+ <span class='vx:block vx:text-xs vx:font-medium vx:text-slate-700'
3172
66
  )}'>Phone Number *</span>
3173
- <p class='vx-text-xs vx-font-normal vx-text-pink-600')}'></p>
67
+ <p class='vx:text-xs vx:font-normal vx:text-pink-600')}'></p>
3174
68
  <input
3175
69
  type='tel'
3176
70
  id='vx-phone-number__input'
3177
71
  name='vx-phone-number'
3178
- class='vx-mt-1 vx-block vx-w-full vx-px-3 vx-py-2 vx-bg-white vx-border vx-border-slate-300 vx-rounded-md vx-text-sm vx-placeholder-slate-400 focus:vx-outline-none focus:vx-border-sky-500 focus:vx-ring-1 focus:vx-ring-sky-500 disabled:vx-bg-slate-50 disabled:vx-text-slate-500 disabled:vx-border-slate-200 disabled:vx-shadow-none invalid:vx-border-pink-500 invalid:vx-text-pink-600 focus:invalid:vx-border-pink-500 focus:invalid:vx-ring-pink-500'
72
+ class='vx:mt-1 vx:block vx:w-full vx:px-3 vx:py-2 vx:bg-white vx:border vx:border-slate-300 vx:rounded-md vx:text-sm vx:placeholder-slate-400 vx:focus:outline-hidden vx:focus:border-sky-500 vx:focus:ring-1 vx:focus:ring-sky-500 vx:disabled:bg-slate-50 vx:disabled:text-slate-500 vx:disabled:border-slate-200 vx:disabled:shadow-none vx:invalid:border-pink-500 vx:invalid:text-pink-600 vx:focus:invalid:border-pink-500 vx:focus:invalid:ring-pink-500'
3179
73
  />
3180
74
  </label>
3181
75
  <button
3182
76
  id='vx-submit'
3183
77
  type='submit'
3184
- class='vx-transition vx-rounded-lg vx-bg-neutral-800 vx-w-full vx-pb-2 vx-pt-1 vx-mt-2 hover:vx-bg-neutral-600 active:vx-scale-95 active:vx-opacity-80 disabled:vx-scale-100 disabled:vx-cursor-not-allowed disabled:vx-opacity-60 disabled:hover:vx-bg-neutral-800 focus:vx-outline-none focus:vx-border-sky-500 focus:vx-ring-1 focus:vx-ring-sky-500'
78
+ class='vx:transition vx:rounded-lg vx:bg-neutral-800 vx:w-full vx:pb-2 vx:pt-1 vx:mt-2 vx:hover:bg-neutral-600 vx:active:scale-95 vx:active:opacity-80 vx:disabled:scale-100 vx:disabled:cursor-not-allowed vx:disabled:opacity-60 vx:disabled:hover:bg-neutral-800 vx:focus:outline-hidden vx:focus:border-sky-500 vx:focus:ring-1 vx:focus:ring-sky-500'
3185
79
  >
3186
- <span class='vx-text-xs vx-font-semibold vx-text-white'>Sign Up</span>
80
+ <span class='vx:text-xs vx:font-semibold vx:text-white'>Sign Up</span>
3187
81
  </button>
3188
82
  </form>
3189
83
 
3190
- <div class='vx-text-xs vx-leading-snug vx-text-neutral-500'>
84
+ <div class='vx:text-xs vx:leading-snug vx:text-neutral-500'>
3191
85
  <div
3192
- class='-vx-mx-2 vx-mt-3 -vx-mb-2 vx-flex vx-cursor-pointer vx-items-start vx-gap-2 vx-rounded-sm vx-px-2 vx-py-1 vx-transition hover:vx-bg-neutral-100'
86
+ class='vx:-mx-2 vx:mt-3 vx:-mb-2 vx:flex vx:cursor-pointer vx:items-start vx:gap-2 vx:rounded-sm vx:px-2 vx:py-1 vx:transition vx:hover:bg-neutral-100'
3193
87
  id='vx-terms'
3194
88
  >
3195
89
  <div>By submitting you agree to the following terms:</div>
@@ -3199,7 +93,7 @@ class cd {
3199
93
  width='12'
3200
94
  height='9'
3201
95
  viewBox='0 0 384 512'
3202
- class='transition vx-mt-0.5'
96
+ class='transition vx:mt-0.5'
3203
97
  >
3204
98
  <!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
3205
99
  <path d='M201 337c-9.4 9.4-24.6 9.4-33.9 0L7 177c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l143 143L327 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L201 337z'/>
@@ -3207,13 +101,14 @@ class cd {
3207
101
  </div>
3208
102
  <p
3209
103
  id='vx-terms-content'
3210
- class='vx-mt-3 vx-hidden'
104
+ class='vx:mt-3 vx:mb-0 vx:text-xs'
105
+ style='display: none'
3211
106
  >
3212
107
  You authorize ${this.name} to send text messages with offers & other
3213
108
  information, possibly using automated technology, to the number you
3214
109
  provided. Message/data rates apply. Consent is not a condition of
3215
110
  purchase. Use is subject to&nbsp;<a
3216
- class='vx-underline hover:vx-text-blue-500'
111
+ class='vx:underline vx:hover:text-blue-500'
3217
112
  href='${this.terms}'
3218
113
  target='_blank'
3219
114
  >terms</a>.
@@ -3221,8 +116,8 @@ class cd {
3221
116
  </div>
3222
117
 
3223
118
  </div>
3224
- <div class='vx-py-2 vx-font-sans vx-text-xs vx-text-neutral-600 vx-text-center'>
3225
- Powered by <span class='vx-font-bold'>Voxie</span>
119
+ <div class='vx:py-2 vx:font-sans vx:text-xs vx:text-neutral-600 vx:text-center'>
120
+ Powered by <span class='vx:font-bold'>Voxie</span>
3226
121
  </div>
3227
122
  </div>
3228
123
 
@@ -3250,115 +145,4 @@ class cd {
3250
145
  </svg>
3251
146
  <i id='vx-i'></i>
3252
147
  </button>
3253
- </div>`, this.styles = () => `
3254
- .vx-pop-up__wave {
3255
- animation-name: vx-wave-animation;
3256
- animation-duration: 2s;
3257
- animation-iteration-count: 2;
3258
- transform-origin: 70% 70%;
3259
- display: inline-block;
3260
- scale: 1.25;
3261
- }
3262
-
3263
- @keyframes vx-wave-animation {
3264
- 0% { transform: rotate( 0.0deg) }
3265
- 10% { transform: rotate(14.0deg) }
3266
- 20% { transform: rotate(-8.0deg) }
3267
- 30% { transform: rotate(14.0deg) }
3268
- 40% { transform: rotate(-4.0deg) }
3269
- 50% { transform: rotate(10.0deg) }
3270
- 60% { transform: rotate( 0.0deg) }
3271
- 100% { transform: rotate( 0.0deg) }
3272
- }
3273
- `, this.captureFn = n, e)
3274
- this.name = e;
3275
- else
3276
- throw new Error("name required for pop-up");
3277
- if (r)
3278
- this.terms = r;
3279
- else
3280
- throw new Error("terms required for pop-up");
3281
- this.elements = {
3282
- container: null,
3283
- toggle: null,
3284
- terms: null,
3285
- btn: null,
3286
- icon: null,
3287
- xmark: null,
3288
- form: null,
3289
- submit: null
3290
- };
3291
- const d = document.createElement("div");
3292
- this.elements.container = d, d.innerHTML = this.html(), document.body.appendChild(d), this.addStyles(), this.assignElements(), this.setBindings(), this.close(), (i = document.getElementById("vx-pop-up")) == null || i.setAttribute("style", "");
3293
- }
3294
- }
3295
- class ae {
3296
- constructor(n, e) {
3297
- this.authorization = n, this.connectBaseUri = e;
3298
- }
3299
- static init(n) {
3300
- var e;
3301
- return new ae(
3302
- `Basic ${btoa(`${n.publicKeyId}:${n.publicSecret}`)}`,
3303
- (e = n.connectBaseUri) != null ? e : fd.services.connect
3304
- );
3305
- }
3306
- async capture(n, e) {
3307
- try {
3308
- const r = $d(n, "US");
3309
- return r.isPossible() ? (await ld(`${this.connectBaseUri}/capture/contact`, {
3310
- headers: {
3311
- Authorization: this.authorization,
3312
- "Content-Type": "application/json"
3313
- },
3314
- method: "POST",
3315
- body: JSON.stringify({
3316
- phone: r.format("E.164"),
3317
- email: (e == null ? void 0 : e.email) || null,
3318
- first_name: (e == null ? void 0 : e.firstName) || null,
3319
- last_name: (e == null ? void 0 : e.lastName) || null,
3320
- time_zone: (e == null ? void 0 : e.timeZone) || null,
3321
- tags: (e == null ? void 0 : e.tags) || null,
3322
- custom_attributes: (e == null ? void 0 : e.customAttributes) || null,
3323
- subscription_statuses: (e == null ? void 0 : e.subscriptionStatuses) || null,
3324
- group_id: (e == null ? void 0 : e.groupId) || null
3325
- })
3326
- }), !0) : !1;
3327
- } catch (r) {
3328
- return r instanceof x ? console.error(`${n} must be in E.164 format.`) : console.error(r), !1;
3329
- }
3330
- }
3331
- popUp(n) {
3332
- return new cd(
3333
- async (e, r) => this.capture(e, r),
3334
- n.name,
3335
- n.terms
3336
- );
3337
- }
3338
- share(n, e, r) {
3339
- const d = (i, a) => {
3340
- const o = {};
3341
- if (i.firstName) {
3342
- const u = n.elements.namedItem(i.firstName);
3343
- o.firstName = u.value;
3344
- }
3345
- if (i.lastName) {
3346
- const u = n.elements.namedItem(i.lastName);
3347
- o.lastName = u.value;
3348
- }
3349
- if (i.email) {
3350
- const u = n.elements.namedItem(i.email);
3351
- o.email = u.value;
3352
- }
3353
- return a && (a.tags && (o.tags = a.tags), a.customAttributes && (o.customAttributes = a.customAttributes), a.subscriptionStatuses && (o.subscriptionStatuses = a.subscriptionStatuses), a.groupId && (o.groupId = a.groupId)), o;
3354
- };
3355
- n.addEventListener(
3356
- "submit",
3357
- async (i) => {
3358
- const a = n.elements.namedItem(e.phone);
3359
- await this.capture(a.value, d(e, r));
3360
- }
3361
- );
3362
- }
3363
- }
3364
- window.Voxie = ae;
148
+ </div>`,this.captureFn=t,r)this.name=r;else throw new Error("name required for pop-up");if(n)this.terms=n;else throw new Error("terms required for pop-up");this.elements={container:null,toggle:null,terms:null,btn:null,icon:null,xmark:null,form:null,submit:null};const i=document.createElement("div");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","")}}class pt{constructor(t,r){this.authorization=t,this.connectBaseUri=r}static init(t){var r;return new pt(`Basic ${btoa(`${t.publicKeyId}:${t.publicSecret}`)}`,(r=t.connectBaseUri)!=null?r:zi.services.connect)}async capture(t,r){try{const n=Wi(t,"US");return n.isPossible()?(await Ki(`${this.connectBaseUri}/capture/contact`,{headers:{Authorization:this.authorization,"Content-Type":"application/json"},method:"POST",body:JSON.stringify({phone:n.format("E.164"),email:(r==null?void 0:r.email)||null,first_name:(r==null?void 0:r.firstName)||null,last_name:(r==null?void 0:r.lastName)||null,time_zone:(r==null?void 0:r.timeZone)||null,tags:(r==null?void 0:r.tags)||null,custom_attributes:(r==null?void 0:r.customAttributes)||null,subscription_statuses:(r==null?void 0:r.subscriptionStatuses)||null,group_id:(r==null?void 0:r.groupId)||null})}),!0):!1}catch(n){return n instanceof b?console.error(`${t} must be in E.164 format.`):console.error(n),!1}}popUp(t){return new Yi(async(r,n)=>this.capture(r,n),t.name,t.terms)}share(t,r,n){const i=(a,d)=>{const o={};if(a.firstName){const l=t.elements.namedItem(a.firstName);o.firstName=l.value}if(a.lastName){const l=t.elements.namedItem(a.lastName);o.lastName=l.value}if(a.email){const l=t.elements.namedItem(a.email);o.email=l.value}return d&&(d.tags&&(o.tags=d.tags),d.customAttributes&&(o.customAttributes=d.customAttributes),d.subscriptionStatuses&&(o.subscriptionStatuses=d.subscriptionStatuses),d.groupId&&(o.groupId=d.groupId)),o};t.addEventListener("submit",async a=>{const d=t.elements.namedItem(r.phone);await this.capture(d.value,i(r,n))})}}window.Voxie=pt}));