amelia-booking-ui 0.0.537 → 0.0.539
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/amelia-booking-ui.css +1 -1
- package/dist/amelia-booking-ui.es.js +13915 -13861
- package/dist/chunks/index-z9l8C72U-CAfHR3NZ.mjs +3733 -0
- package/package.json +3 -3
|
@@ -0,0 +1,3733 @@
|
|
|
1
|
+
const H = { 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], 0, 0, 0, 0, 0, 0, 0, [["6[2-467]\\d{3}", [5]], ["4\\d{4}", [5]], 0, 0, 0, 0, ["(?:0[1-9]|[1589]\\d)\\d{4}", [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"]]], 0, 0, 0, 0, 0, 0, [["[78]\\d{5}", [6]], ["690\\d{6}|[356]\\d{5}", [6, 9]], ["180[02]\\d{4}", [8]], ["[19]\\d{5}", [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", 0, 0, 0, 0, 0, [["[2-4679][2-8]\\d{6}", [8]], ["5[024-68]\\d{7}", [9]], ["400\\d{6}|800\\d{2,9}"], ["900[02]\\d{5}", [9]], 0, 0, ["600[25]\\d{5}", [9]], 0, 0, ["700[05]\\d{5}", [9]]]], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"], ["7\\d{8}"]]], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268", [["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"], ["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"], ["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, ["26840[69]\\d{4}"], ["26848[01]\\d{4}"]]], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264", [["264(?:292|4(?:6[12]|9[78]))\\d{4}"], ["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"], ["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, ["264724\\d{4}"]]], 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", 0, 0, 0, 0, 0, [["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}", [8]], ["6(?:[78][2-9]|9\\d)\\d{6}", [9]], ["800\\d{4}", [7]], ["900[1-9]\\d\\d", [6]], ["700[2-9]\\d{4}", [8]], 0, 0, 0, 0, ["808[1-9]\\d\\d", [6]]]], 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", 0, 0, 0, 0, 0, [["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"], ["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"], ["800\\d{5}"], ["90[016]\\d{5}"], 0, 0, 0, 0, ["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"], ["80[1-4]\\d{5}"]]], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]], 0, 0, 0, 0, 0, 0, [["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"], ["9[1-79]\\d{7}"]]], 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", 0, 0, [["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}", [10]], ["93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}"], ["800\\d{7,8}"], ["60[04579]\\d{7}", [10]], 0, 0, ["810\\d{7}", [10]]]], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684", [["6846(?:22|33|44|55|77|88|9[19])\\d{4}"], ["684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}"], ["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}"]]], 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", 0, 0, 0, 0, 0, [["1(?:11\\d|[2-9]\\d{3,11})|(?:316|463)\\d{3,10}|648[34]\\d{3,9}|(?:51|66|73)2\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}"], ["6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}", [7, 8, 9, 10, 11, 12, 13]], ["800\\d{6,10}", [9, 10, 11, 12, 13]], ["(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}", [9, 10, 11, 12, 13]], 0, 0, 0, 0, ["5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}", [5, 6, 7, 8, 9, 10, 11, 12, 13]], ["8(?:10|2[018])\\d{6,10}|828\\d{5}", [8, 9, 10, 11, 12, 13]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["5(?:2\\d|8[1-9])\\d{4}"], ["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"], ["800\\d{4}"], ["900\\d{4}"], 0, 0, 0, 0, ["(?:28\\d|501)\\d{4}"]]], 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", [["18[1-8]\\d{3,6}", [6, 7, 8, 9]], ["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}", [6, 7, 8, 9, 10]], ["800\\d{4,6}", [7, 8, 9]], ["[67]00\\d{5,6}", [8, 9]], 0, 0, ["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]], "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", 0, 0, 0, 0, 0, [["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"], ["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"], ["88\\d{7}"], ["900200\\d{3}"]]], 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", 0, 0, 0, 0, 0, [["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}", [8]], ["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"], ["8[08]\\d{6}", [8]], ["9[0246]\\d{6}", [8]], 0, 0, ["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}", [8]], 0, 0, ["8[12]\\d{6}", [8]]]], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246", [["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"], ["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["(?:246976|900[2-9]\\d\\d)\\d{4}"], ["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, ["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"], 0, ["24631\\d{5}"]]], 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", 0, 0, 0, 0, 0, [["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"], ["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}", [10]], ["80[03]\\d{7}", [10]], 0, 0, 0, 0, 0, ["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}", [10]]]], 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", 0, 0, 0, 0, 0, [["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}", [8]], ["4[5-9]\\d{7}", [9]], ["800[1-9]\\d{4}", [8]], ["(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}", [8]], 0, 0, ["78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}", [8]], 0, 0, ["7879\\d{4}", [8]]]], BF: ["226", "00", "(?:[025-7]\\d|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]], 0, 0, 0, 0, 0, 0, [["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}"], ["(?:0[1-7]|44|5[0-8]|[67]\\d)\\d{6}"]]], 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", 0, 0, 0, 0, 0, [["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}", [6, 7, 8]], ["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}", [8, 9]], ["(?:00800\\d\\d|800)\\d{5}", [8, 12]], ["90\\d{6}", [8]], 0, 0, 0, 0, 0, ["700\\d{5}", [8]]]], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]], 0, 0, 0, 0, 0, 0, [["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"], ["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"], ["8[02369]\\d{6}"], ["(?:87|9[0-8])\\d{6}"], 0, 0, 0, 0, 0, ["84\\d{6}"]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]], 0, 0, 0, 0, 0, 0, [["(?:22|31)\\d{6}"], ["(?:29|6[124-9]|7[125-9])\\d{6}"]]], 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"]]], 0, 0, 0, 0, 0, 0, [["2090\\d{4}|(?:012\\d\\d|2(?:02|1[037]|2[45]|3[68]|4\\d))\\d{5}"], ["(?:01(?:2[5-9]|[4-69]\\d)|4[0-8]|[56]\\d|9[013-9])\\d{6}"], 0, 0, 0, 0, ["81\\d{6}", [8]], 0, ["857[58]\\d{4}", [8]]]], 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", [["441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}"], ["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"], ["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}"]]], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]], 0, 0, 0, 0, 0, 0, [["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"], ["(?:22[89]|[78]\\d\\d)\\d{4}"], 0, 0, 0, 0, 0, 0, ["5[34]\\d{5}"]]], 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)?", 0, 0, 0, [["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}", [8]], ["[67]\\d{7}", [8]], ["8001[07]\\d{4}", [9]], 0, 0, 0, 0, 0, ["50\\d{6}", [8]]]], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]", [["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"], ["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]], 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", 0, 0, [["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}", [10]], ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}", [10, 11]], ["800\\d{6,7}", [9, 10]], ["[59]00\\d{6,7}", [9, 10]], 0, 0, 0, 0, 0, ["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\d{4}|300\\d{5}", [8, 10]]]], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242", [["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"], ["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"], ["242300\\d{4}|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, ["242225\\d{4}"]]], 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"]]], 0, 0, 0, 0, 0, 0, [["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}", [7]], ["(?:1[67]|77)\\d{6}", [8]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}", [7]], ["(?:321|7[1-8]\\d)\\d{5}", [8]], ["(?:0800|800\\d)\\d{6}", [10]], ["90\\d{5}", [7]], 0, 0, 0, 0, ["79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{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, [["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}", [9]], ["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}", [9]], ["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"], ["(?:810|902)\\d{7}", [10]], 0, 0, 0, 0, ["249\\d{6}", [9]]], "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"]]], 0, 0, 0, 0, 0, 0, [["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}", [7]], ["6[0-35-7]\\d{5}", [7]], ["0800\\d{7}", [11]]]], 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", 0, 0, 0, 0, 0, [["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"], ["88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}", [7, 9]]]], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]], 0, 0, 0, 0, 0, 0, [["2[12]\\d{6}"], ["7[024-7]\\d{6}"], 0, ["8776\\d{4}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["222[1-589]\\d{5}"], ["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"], 0, ["80[0-2]\\d{6}"]]], 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", 0, 0, 0, 0, 0, [["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}", [9]], ["(?:6[89]|7[235-9])\\d{7}", [9]], ["800\\d{6}", [9]], ["90[016]\\d{6}", [9]], ["878\\d{6}", [9]], ["860\\d{9}", [12]], ["5[18]\\d{7}", [9]], ["74[0248]\\d{6}", [9]], 0, ["84[0248]\\d{6}", [9]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"], ["0[157]\\d{8}"]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]], 0, 0, 0, 0, 0, 0, [["(?:2\\d|3[13-7]|4[1-5])\\d{3}"], ["[578]\\d{4}"]]], 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"]]], 0, 0, 0, 0, 0, 0, [["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|2\\d{3}|3(?:(?:2\\d|50)\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389]|9[0-8])|600)|646[59])|(?:(?:3[2-5]|[47][1-35]|5[1-3578])\\d|6(?:00|[13-57]\\d)|8(?:0[1-9]|[1-9]\\d))\\d\\d|9(?:(?:10[01]|(?:[2458]\\d|7[1-9])\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}", [9]], ["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|2\\d{3}|3(?:(?:2\\d|50)\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389]|9[0-8])|600)|646[59])|(?:(?:3[2-5]|[47][1-35]|5[1-3578]|6[13-57])\\d|8(?:0[1-8]|[1-9]\\d))\\d\\d|9(?:(?:10[01]|(?:[2458]\\d|7[1-9])\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}", [9]], ["(?:123|8)00\\d{6}", [9, 11]], 0, 0, 0, 0, 0, ["44\\d{7}", [9]], ["600\\d{7,8}", [10, 11]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["2(?:22|33)\\d{6}", [9]], ["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}", [9]], ["88\\d{6,7}"]]], 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, [["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))", [7, 8, 9, 10, 11]], ["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}", [11]], ["(?:(?:10|21)8|8)00\\d{7}", [10, 12]], ["16[08]\\d{5}", [8]], 0, 0, 0, 0, 0, ["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-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[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}", [7, 8, 9, 10, 11]]], "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))?", 0, 0, 0, [["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[18][1-9]|[24-7][2-9]))\\d{6}", [8, 10]], ["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}", [10]], ["1800\\d{7}", [11]], ["(?:19(?:0[01]|4[78])|901)\\d{7}", [10, 11]]]], 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))", 0, 0, 0, [["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}", [8]], ["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}", [8]], ["800\\d{7}", [10]], ["90[059]\\d{7}", [10]], 0, 0, 0, 0, ["(?:210[0-6]|4\\d{3}|5100)\\d{4}", [8]]]], 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", 0, 0, 0, 0, 0, [["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"], ["(?:5\\d|6[2-4])\\d{6}", [8]], ["800\\d{7}", [10]], 0, 0, 0, 0, 0, 0, ["807\\d{7}", [10]]]], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]], 0, 0, 0, 0, 0, 0, [["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"], ["(?:36|5[1-389]|9\\d)\\d{5}"], ["800\\d{4}"], 0, 0, 0, 0, 0, ["(?:3[3-5]|4[356])\\d{5}"]]], 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]", [["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"], ["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"], 0, 0, 0, 0, 0, ["955\\d{5}", [8]], 0, ["60[0-2]\\d{4}", [7]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["2[2-6]\\d{6}"], ["9(?:10|[4-79]\\d)\\d{5}"], ["800\\d{5}"], ["90[09]\\d{5}"], ["700\\d{5}"], 0, ["(?:50|77)\\d{6}"], 0, 0, ["80[1-9]\\d{5}"]]], 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"]]], 0, 0, 0, 0, 0, 0, [["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}", [9]], ["(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[0-4]|[2379]\\d\\d))\\d{5}", [9]], ["800\\d{6}", [9]], ["9(?:0[05689]|76)\\d{6}", [9]], ["70[01]\\d{6}", [9]], ["9(?:3\\d{9}|6\\d{7,10})"], ["9(?:5\\d|7[2-4])\\d{6}", [9]], 0, ["9[17]0\\d{6}", [9]], ["8[134]\\d{7}", [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", 0, 0, 0, 0, 0, [["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}", [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]], ["15310\\d{6}|1(?:5[0-25-9]\\d|7[013-5])\\d{7}|1(?:6[023]|7[26-9])\\d{7,8}", [10, 11]], ["800\\d{7,12}", [10, 11, 12, 13, 14, 15]], ["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}", [10, 11]], ["700\\d{8}", [11]], ["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}", [12, 13]], ["18(?:1\\d{5,11}|[2-9]\\d{8})", [8, 9, 10, 11, 12, 13, 14]], ["16(?:4\\d{1,10}|[89]\\d{1,11})", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]], 0, ["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}", [7, 8, 9, 10, 11, 12, 13, 14]]]], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]], 0, 0, 0, 0, 0, 0, [["2(?:1[2-5]|7[45])\\d{5}"], ["77\\d{6}"]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, [["(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}"], ["(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}"], ["80\\d{6}"], ["90\\d{6}"]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767", [["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"], ["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"], ["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}"]]], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9", [["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"], ["8[024]9[2-9]\\d{6}"], ["800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?: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}"]]], 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", 0, 0, 0, 0, 0, [["9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}"], ["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}", [9]], ["800\\d{6}", [9]], ["80[3-689]1\\d{5}", [9]], 0, 0, 0, 0, ["98[23]\\d{6}", [9]], ["80[12]1\\d{5}", [9]]]], 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", 0, 0, 0, 0, 0, [["[2-7][2-7]\\d{6}", [8]], ["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}", [9]], ["1800\\d{7}|1[78]00\\d{6}", [10, 11]], 0, 0, 0, 0, 0, ["[2-7]890\\d{4}", [8]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}", [7]], ["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}", [7, 8]], ["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"], ["(?:40\\d\\d|900)\\d{4}", [7, 8]], ["70[0-2]\\d{5}", [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", 0, 0, 0, 0, 0, [["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}", [8, 9]], ["1[0-25]\\d{8}", [10]], ["800\\d{7}", [10]], ["900\\d{7}", [10]]]], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]", [["528[89]\\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}"]]], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"], ["(?:17[1-3]|7\\d\\d)\\d{4}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"], ["(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}"], ["[89]00\\d{6}"], ["80[367]\\d{6}"], ["70\\d{7}"], 0, ["51\\d{7}"], 0, 0, ["90[12]\\d{6}"]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["11667[01]\\d{3}|(?:11(?:1(?:1[1-468]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"], ["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}"]]], 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]", [["1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}", [5, 6, 7, 8, 9]], ["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}", [6, 7, 8, 9, 10]], ["800\\d{4,6}", [7, 8, 9]], ["[67]00\\d{5,6}", [8, 9]], 0, 0, ["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]], "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, [["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}", [7]], ["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}", [7]], ["0800\\d{7}", [11]]], "00"], FK: ["500", "00", "[2-7]\\d{4}", [5], 0, 0, 0, 0, 0, 0, 0, [["[2-47]\\d{4}"], ["[56]\\d{4}"]]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]], 0, 0, 0, 0, 0, 0, [["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"], ["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))", 0, 0, 0, [["(?:20|[34]\\d|8[19])\\d{4}"], ["(?:[27][1-9]|5\\d|9[16])\\d{4}"], ["80[257-9]\\d{3}"], ["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"], 0, 0, 0, 0, ["(?:6[0-36]|88)\\d{4}"]]], 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", 0, 0, 0, 0, 0, [["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"], ["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"], ["80[0-5]\\d{6}"], ["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"], 0, 0, ["80[6-9]\\d{6}"], 0, ["9\\d{8}"], ["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]], 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", 0, 0, [["[01]1\\d{6}", [8]], ["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]], 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", [["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}"], ["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|5(?:2[01]|3[3-8])|901)\\d{4}"], ["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}"]]], 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", 0, 0, 0, 0, 0, [["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"], ["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}"], ["800\\d{6}"], 0, 0, 0, 0, 0, ["70[67]\\d{6}"]]], 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", 0, 0, 0, 0, 0, [["594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}"], ["(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}"]]], 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", 0, 0, 0, 0, 0, [["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}", [9]], ["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}", [9]], ["800\\d{5}", [8]]]], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]], 0, 0, 0, 0, 0, 0, [["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"], ["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]], 0, 0, 0, 0, 0, 0, [["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"], ["[245]\\d{5}"], ["80\\d{4}"], 0, 0, 0, 0, 0, ["3[89]\\d{4}"]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, [["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}"], ["556\\d{4}|(?:[23679]\\d|4[015]|5[0-489])\\d{5}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}", [8]], ["6[0-356]\\d{7}", [9]], 0, 0, 0, 0, 0, 0, ["722\\d{6}", [9]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}"], ["(?:222|55\\d)\\d{6}"], ["80\\d[1-9]\\d{5}"], ["90\\d[1-9]\\d{5}"]]], 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"]]], 0, 0, 0, 0, 0, 0, [["2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}", [10]], ["68[57-9]\\d{7}|(?:69|94)\\d{8}", [10]], ["800\\d{7,9}"], ["90[19]\\d{7}", [10]], ["70\\d{8}", [10]], 0, ["5005000\\d{3}", [10]], 0, 0, ["8(?:0[16]|12|[27]5|50)\\d{7}", [10]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["[267][2-9]\\d{6}", [8]], ["(?:[3-5]\\d\\d|80[0-4])\\d{5}", [8]], ["18[01]\\d{8}", [11]], ["19\\d{9}", [11]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671", [["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}"], [""], ["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}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["443\\d{6}", [9]], ["9(?:5\\d|6[569]|77)\\d{6}", [9]], 0, 0, 0, 0, 0, 0, ["40\\d{5}", [7]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, [["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}"], ["(?:510|6\\d\\d|7(?:[0-5]\\d|6[019]|70))\\d{4}"], ["(?:289|8(?:00|6[28]|88|99))\\d{4}"], ["9008\\d{3}"], 0, 0, 0, 0, ["515\\d{4}"]]], 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, [["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-5]))|58(?:0[1-9]|1[2-9]))\\d{4}", [8]], ["(?:4(?:44[0-35-9]|6(?:4[0-57-9]|6[0-4])|7(?:3[0-4]|4[0-48]|6[0-5]))|5(?:35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-25])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", [8]], ["800\\d{6}", [9]], ["900(?:[0-24-9]\\d{7}|3\\d{1,4})", [5, 6, 7, 8, 11]], ["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}", [8]], 0, ["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}", [8]], ["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}", [8]]], "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]], 0, 0, 0, 0, 0, 0, [["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}", [8]], ["[37-9]\\d{7}", [8]], ["8002\\d{7}", [11]]]], 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", 0, 0, 0, 0, 0, [["1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}", [8, 9]], ["9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}", [8, 9]], ["80\\d{5,7}"], ["6[01459]\\d{6}|6[01]\\d{5}", [7, 8]], ["7[45]\\d{6}", [8]], 0, ["62\\d{6,7}|72\\d{6}", [8, 9]]]], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]], 0, 0, 0, 0, 0, 0, [["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"], ["(?:[34]\\d|5[56])\\d{6}"], ["8\\d{7}"], 0, 0, 0, 0, 0, ["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]], 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", 0, 0, 0, 0, 0, [["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}", [8]], ["(?:[257]0|3[01])\\d{7}", [9]], ["(?:[48]0\\d|680[29])\\d{5}"], ["9[01]\\d{6}", [8]], 0, 0, ["38\\d{7}", [9]], 0, ["21\\d{7}", [9]]]], 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", 0, 0, 0, 0, 0, [["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}", [7, 8, 9, 10, 11]], ["8[1-35-9]\\d{7,10}", [9, 10, 11, 12]], ["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]], ["809\\d{7}", [10]], 0, 0, ["(?:1500|8071\\d{3})\\d{3}", [7, 10]], 0, 0, ["804\\d{7}", [10]]]], 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", 0, 0, 0, 0, 0, [["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"], ["8(?:22|[35-9]\\d)\\d{6}", [9]], ["1800\\d{6}", [10]], ["15(?:1[2-8]|[2-8]0|9[089])\\d{6}", [10]], ["700\\d{6}", [9]], ["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}", [10]], ["818\\d{6}", [9]], 0, ["76\\d{7}", [9]], ["18[59]0\\d{6}", [10]]]], 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", 0, 0, 0, 0, 0, [["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", [8, 11, 12]], ["55(?:4(?:[01]0|5[0-5])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", [9]], ["1(?:255|80[019]\\d{3})\\d{3}", [7, 10]], ["1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", [8, 10]], 0, ["151\\d{8,9}", [11, 12]], ["1599\\d{6}", [10]], 0, ["7(?:38(?:[05]\\d|8[018])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}", [9]], ["1700\\d{6}", [10]]]], 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", [["1624(?:230|[5-8]\\d\\d)\\d{3}"], ["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"], ["808162\\d{4}"], ["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"], ["70\\d{8}"], 0, ["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"], 0, ["56\\d{8}"]]], 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", 0, 0, 0, 0, 0, [["2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}", [10]], ["(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|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]|881))[0189]\\d{5}", [10]], ["000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))"], ["186[12]\\d{9}", [13]], 0, 0, ["140\\d{7}", [10]], 0, 0, ["1860\\d{7}", [11]]]], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]], 0, 0, 0, 0, 0, 0, [["37\\d{5}"], ["38\\d{5}"]]], 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", 0, 0, 0, 0, 0, [["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}", [8, 9]], ["7[3-9]\\d{8}", [10]]]], 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", 0, 0, 0, 0, 0, [["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}", [6, 7, 10]], ["9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}", [10]], 0, 0, 0, 0, ["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])", [4, 5]]]], 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, [["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}", [7]], ["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"], ["80[0-8]\\d{4}", [7]], ["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}", [7]], 0, ["(?:689|8(?:7[18]|80)|95[48])\\d{4}", [7]], ["809\\d{4}", [7]], 0, ["49[0-24-79]\\d{4}", [7]]], "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", [["8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"], ["(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"], ["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}"]]], 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", 0, 0, 0, 0, 0, [["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}", [8]], ["7(?:[78][0-25-9]|9\\d)\\d{6}", [9]], ["80\\d{6}", [8]], ["9\\d{7}", [8]], ["70\\d{7}", [9]], 0, ["8(?:10|8\\d)\\d{5}", [8]], ["74(?:66|77)\\d{5}", [9]], 0, ["85\\d{6}", [8]]]], 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", 0, 0, [["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}", [9]], ["(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}", [10]], ["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"], ["990\\d{6}", [9]], ["60\\d{7}", [9]], 0, ["570\\d{6}", [9]], ["20\\d{8}", [10]], ["50[1-9]\\d{7}", [10]]]], 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", 0, 0, 0, 0, 0, [["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}", [7, 8, 9]], ["(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}", [9]], ["800[02-8]\\d{5,6}", [9, 10]], ["900[02-9]\\d{5}", [9]]]], 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", 0, 0, 0, 0, 0, [["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}", [9]], ["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}", [9]], ["800\\d{6,7}"]]], 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", 0, 0, 0, 0, 0, [["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})", [8, 9]], ["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}", [8, 9]], ["1800(?:1\\d|2[019])\\d{4}", [10]], ["1900(?:1\\d|2[09])\\d{4}", [10]]]], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0", 0, 0, 0, 0, 0, [["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"], ["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}", [8]], 0, 0, 0, 0, 0, 0, ["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d", [8]]]], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]], 0, 0, 0, 0, 0, 0, [["7[4-7]\\d{5}"], ["[34]\\d{6}"], 0, ["8\\d{6}"]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869", [["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"], ["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"], ["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}"]]], 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", 0, 0, 0, 0, 0, [["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"], ["19[1-3]\\d{7}", [10]]]], 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))?", 0, 0, 0, [["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}", [5, 6, 8, 9, 10]], ["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}", [9, 10]], ["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}", [9, 11, 12, 13, 14]], ["60[2-9]\\d{6}", [9]], ["50\\d{8,9}", [10, 11]], 0, ["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}", [8]], ["15\\d{7,8}", [9, 10]], ["70\\d{8}", [10]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}", [8]], ["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:00|1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}", [8]], ["18\\d{5}", [7]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345", [["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}"], ["345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["(?:345976|900[2-9]\\d\\d)\\d{4}"], ["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}"]]], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|7", [["(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}", [10]], ["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}", [10]], ["8(?:00|108\\d{3})\\d{7}"], ["809\\d{7}", [10]], ["808\\d{7}", [10]], 0, 0, 0, ["751\\d{7}", [10]]], "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", 0, 0, 0, 0, 0, [["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}", [8]], ["(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}", [9, 10]]]], 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", 0, 0, 0, 0, 0, [["7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"], ["(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[1-3]))\\d{5}"], 0, ["9[01]\\d{6}", [8]], 0, 0, 0, 0, 0, ["80\\d{6}", [8]]]], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758", [["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"], ["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"], ["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}"]]], 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", 0, 0, 0, [["(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}", [7]], ["(?:6(?:(?:4[5-9]|5[0-46-9])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}"], ["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"], ["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d", [7]], 0, ["697(?:42|56|[78]\\d)\\d{4}", [9]], ["870(?:28|87)\\d\\d", [7]]]], 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", 0, 0, 0, 0, 0, [["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"], ["7(?:[0-25-8]\\d|4[0-4])\\d{6}"], 0, 0, 0, 0, ["1973\\d{5}"]]], 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", 0, 0, 0, 0, 0, [["2\\d{7}", [8]], ["(?:(?:(?:22|33)0|555|7(?:6[01]|7\\d)|88\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}", [7, 9]], 0, ["332(?:02|[34]\\d)\\d{4}", [9]]]], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]], 0, 0, 0, 0, 0, 0, [["2\\d{7}"], ["[56]\\d{7}"], ["800[1256]\\d{4}"]]], 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]", 0, 0, 0, [["(?:3[1478]|4[124-6]|52)\\d{6}"], ["6\\d{7}"], ["80[02]\\d{5}"], ["9(?:0[0239]|10)\\d{5}"], ["70[05]\\d{5}"], 0, ["70[67]\\d{5}"], 0, ["[89]01\\d{5}"], ["808\\d{5}"]]], 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)", 0, 0, 0, [["(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}"], ["6(?:[269][18]|5[1568]|7[189]|81)\\d{6}", [9]], ["800\\d{5}", [8]], ["90[015]\\d{5}", [8]], 0, 0, 0, 0, ["20(?:1\\d{5}|[2-689]\\d{1,7})", [4, 5, 6, 7, 8, 9, 10]], ["801\\d{5}", [8]]]], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]], 0, 0, 0, 0, 0, 0, [["6\\d{7}"], ["2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"], ["80\\d{6}"], ["90\\d{6}"], 0, 0, 0, 0, 0, ["81\\d{6}"]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"], ["9[1-6]\\d{7}"]]], 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", 0, 0, 0, 0, 0, [["(?:870|9[2-47-9]\\d)\\d{5}", [8]], ["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}"], ["(?:800|90\\d)\\d{5}", [8]]]], 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", 0, 0, 0, 0, 0, [["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"], ["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"], ["800\\d{5}"], ["90[056]\\d{5}"], 0, 0, ["803\\d{5}"], 0, ["3[08]\\d{6}"], ["808\\d{5}"]]], 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", 0, 0, 0, 0, 0, [["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}", [8]], ["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}", [8]], ["80(?:[0-2578]|9\\d)\\d{5}"], ["9(?:4[1568]|5[178])\\d{5}", [8]], 0, 0, ["77[1-9]\\d{5}", [8]], 0, ["78[1-49]\\d{5}", [8]]]], 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", 0, 0, [["2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}"], ["3[2-47-9]\\d{7}"], 0, 0, 0, 0, 0, 0, ["22\\d{7}"]]], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1", 0, 0, 0, 0, 0, [["(?:247|528|625)\\d{4}"], ["(?:(?:23|54)5|329|45[35-8])\\d{4}"], 0, 0, 0, 0, 0, 0, ["635\\d{4}"]]], 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", 0, 0, 0, 0, 0, [["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"], ["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"], ["800\\d{5}"], ["5\\d{7}"], 0, 0, 0, 0, 0, ["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]], 0, 0, 0, 0, 0, 0, [["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}"], ["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[0-3]|[679]\\d|8[2-59])\\d{6}"], ["80\\d{6}"]]], 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", 0, 0, 0, 0, 0, [["(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}", [6, 7, 8, 9]], ["(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}", [7, 8, 9, 10]], ["80080(?:0[1-9]|2\\d)\\d{3}", [10]], 0, 0, 0, 0, 0, ["1333\\d{4}", [8]]]], 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", 0, 0, 0, 0, 0, [["[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}"], ["92[0139]\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}", [8]], 0, 0, 0, 0, 0, 0, ["712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\d)\\d{5}", [8]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}", [8]], ["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}", [8]], ["0800\\d{3}", [7]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670", [["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"], [""], ["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}"]]], 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", 0, 0, 0, 0, 0, [["(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}"], ["(?:69[67]\\d\\d|7091[0-3])\\d{4}"], ["80[0-5]\\d{6}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["(?:25[08]|35\\d|45[1-7])\\d{5}"], ["[2-4][0-46-9]\\d{6}"], ["800\\d{5}"]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664", [["6644(?:1[0-3]|91)\\d{4}"], ["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"], ["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}"]]], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]], 0, 0, 0, 0, 0, 0, [["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"], ["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"], ["800(?:02|[3467]\\d)\\d{3}"], ["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"], 0, 0, ["501\\d{5}"], ["7117\\d{4}"], ["3550\\d{4}"]]], 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, [["(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}", [7, 8]], ["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-6]|3[013]))\\d{5}", [8]], ["802\\d{7}|80[0-2]\\d{4}", [7, 10]], ["30\\d{5}", [7]], 0, 0, 0, ["219\\d{4}", [7]], ["3(?:20|9\\d)\\d{4}", [7]]], "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, [["(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}", [7]], ["(?:46[46]|[79]\\d\\d)\\d{4}", [7]], ["800\\d{7}", [10]], ["900\\d{7}", [10]], 0, 0, ["4(?:0[01]|50)\\d{4}", [7]]], "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", 0, 0, 0, 0, 0, [["(?:1[2-9]|2[12]\\d\\d)\\d{5}"], ["111\\d{6}|(?:31|77|[89][89])\\d{7}", [9]]]], 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, [["(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"], ["(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"], ["8(?:00|88)\\d{7}"], ["900\\d{7}"], ["500\\d{7}"], 0, 0, 0, 0, ["300\\d{7}"]], "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", 0, 0, 0, 0, 0, [["427[01]\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}", [8, 9]], ["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}", [9, 10]], ["1[378]00\\d{6}", [10]], ["1600\\d{6}", [10]], 0, 0, 0, 0, ["15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}", [10]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}", [8]], ["8[2-79]\\d{7}", [9]], ["800\\d{6}", [9]]]], 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", 0, 0, 0, 0, 0, [["64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}"], ["(?:60|8[1245])\\d{7}", [9]], ["80\\d{7}", [9]], ["8701\\d{5}", [9]], 0, 0, 0, 0, ["8(?:3\\d\\d|86)\\d{5}"]]], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]], 0, 0, 0, 0, 0, 0, [["(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}"], ["(?:[579]\\d|8[0-79])\\d{4}"], ["050\\d{3}"], ["36\\d{4}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}"], ["(?:23|7[0467]|[89]\\d)\\d{6}"], ["08\\d{6}"], ["09\\d{6}"]]], 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", 0, 0, [["(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}"], ["(?:14|3[58])\\d{4}"]]], 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", 0, 0, 0, 0, 0, [["20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}", [10]], ["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}", [10]], ["800\\d{7,11}"], 0, 0, 0, ["700\\d{7,11}"]]], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]], 0, 0, 0, 0, 0, 0, [["2\\d{7}"], ["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"], ["1800\\d{4}"]]], 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", 0, 0, 0, 0, 0, [["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}", [9]], ["(?:6[1-58]|970\\d)\\d{7}", [9, 11]], ["800\\d{4,7}", [7, 8, 9, 10]], ["90[069]\\d{4,7}", [7, 8, 9, 10]], 0, 0, ["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d", [5, 6, 9]], ["66\\d{7}", [9]], ["(?:85|91)\\d{7}", [9]]]], 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]", [["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}", [8]], ["(?:4[015-8]|9\\d)\\d{6}", [8]], ["80[01]\\d{5}", [8]], ["82[09]\\d{5}", [8]], ["880\\d{5}", [8]], ["81[23]\\d{5}", [8]], ["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"], 0, ["85[0-5]\\d{5}", [8]], ["810(?:0[0-6]|[2-8]\\d)\\d{3}", [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", 0, 0, 0, 0, 0, [["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}", [8]], ["9(?:00|6[0-3]|7[0-24-6]|8[0-24-68])\\d{7}", [10]], ["1(?:66001|800\\d\\d)\\d{5}", [11]]]], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]], 0, 0, 0, 0, 0, 0, [["444\\d{4}"], ["(?:222|55[3-9]|666|777|8\\d\\d|999)\\d{4}"]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, [["[47]\\d{3}", [4]], ["(?:[56]|888[1-9])\\d{3}"]]], 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, [["240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}", [8]], ["2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}", [8, 9, 10]], ["508\\d{6,7}|80\\d{6,8}", [8, 9, 10]], ["(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}", [7, 8, 9, 10]], ["70\\d{7}", [9]], 0, ["8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}"]], "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]"]]], 0, 0, 0, 0, 0, 0, [["2[1-6]\\d{6}", [8]], ["1505\\d{4}|(?:7(?:[126-9]\\d|41)|9(?:0[1-9]|[1-9]\\d))\\d{5}", [8]], ["8007\\d{4,5}|(?:500|800[05])\\d{4}"], ["900\\d{5}", [8]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[047-9]\\d|1[0-8]|2[0-5]|33|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}", [7]], ["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}", [7, 8]], ["800\\d{4,5}|(?:00800|800\\d)\\d{6}"], ["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}", [7]]]], 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, [["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}", [8]], ["9\\d{8}", [9]], ["800\\d{5}", [8]], ["805\\d{5}", [8]], ["80[24]\\d{5}", [8]], 0, 0, 0, 0, ["801\\d{5}", [8]]], "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"]]], 0, 0, 0, 0, 0, 0, [["4(?:0[4-689]|9[4-68])\\d{5}", [8]], ["8[7-9]\\d{6}", [8]], ["80[0-5]\\d{6}", [9]], 0, 0, 0, ["44\\d{4}", [6]], 0, ["499\\d{5}", [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, [["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}", [7]], ["(?:7\\d|8[1-48])\\d{6}", [8]], ["180\\d{4}", [7]], 0, 0, 0, 0, ["27[01]\\d{4}", [7]], ["2(?:0[0-57]|7[568])\\d{4}", [7]]], "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", 0, 0, 0, 0, 0, [["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}", [6, 8, 9, 10]], ["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}", [10]], ["1800\\d{7,9}", [11, 12, 13]]]], 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", 0, 0, 0, 0, 0, [["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?: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]))[2-9]\\d{5,6}", [9, 10]], ["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}", [10]], ["800\\d{5}(?:\\d{3})?", [8, 11]], ["900\\d{5}", [8]], ["122\\d{6}", [9]], 0, ["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}", [11, 12]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["47\\d{7}|(?: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])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))", [7, 9]], ["2131[89]\\d{4}|21(?:1[013-5]|2\\d|3[2-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}", [9]], ["800\\d{6,7}", [9, 10]], ["70[01346-8]\\d{6}", [9]], 0, 0, ["804\\d{6}", [9]], ["64\\d{4,7}", [6, 7, 8, 9]], ["39\\d{7}", [9]], ["801\\d{6}", [9]]]], 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", 0, 0, 0, 0, 0, [["(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}"], ["(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}"], ["80[0-5]\\d{6}", [9]], ["8[129]\\d{7}", [9]]]], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939", [["(?:787|939)[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}"]]], 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", 0, 0, 0, 0, 0, [["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}", [8]], ["5[69]\\d{7}", [9]], ["1800\\d{6}", [10]], 0, 0, 0, 0, 0, 0, ["1700\\d{6}", [10]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"], ["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"], ["80[02]\\d{6}"], ["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"], ["884[0-4689]\\d{5}"], ["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"], ["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"], ["6(?:222\\d|89(?:00|88|99))\\d{4}"], ["30\\d{7}"], ["80(?:8\\d|9[1579])\\d{5}"]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, [["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"], ["(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]]], 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", 0, 0, 0, 0, 0, [["(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}", [7, 8, 9]], ["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}", [9]], ["9800\\d{5,7}", [9, 10, 11]], 0, 0, 0, ["[2-9]0\\d{4,7}", [6, 7, 8, 9]], 0, ["8700[0-4]\\d{4}", [9]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}", [8]], ["[35-7]\\d{7}", [8]], ["800\\d{4}|(?:0080[01]|800)\\d{6}", [7, 9, 11]], 0, 0, 0, 0, ["2[136]\\d{5}", [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, [["[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d"], ["(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}", [9]], ["800\\d{6}", [9]], ["90[0136]\\d{6}", [9]], 0, 0, ["(?:37\\d|80[578])\\d{6}", [9]], 0, 0, ["801\\d{6}", [9]]], 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", 0, 0, 0, 0, 0, [["(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}", [7, 8, 9, 10, 11, 12]], ["6(?:[0-689]|7\\d)\\d{6,7}", [8, 9, 10]], ["800\\d{3,9}"], ["(?:78\\d|90[0169])\\d{3,7}", [6, 7, 8, 9, 10]], 0, 0, ["7[06]\\d{4,10}"]]], 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", 0, 0, 0, 0, 0, [["(?:06|2[23568]\\d)\\d{6}"], ["7[237-9]\\d{7}", [9]], ["800\\d{6}", [9]], ["900\\d{6}", [9]]]], 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", 0, 0, 0, 0, 0, [["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}", [9]], ["579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}", [9]], ["800\\d{7}", [10]], ["925\\d{6}", [9]], 0, 0, 0, 0, 0, ["920\\d{6}", [9]]]], 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])"]]], 0, 0, 0, 0, 0, 0, [["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}", [5]], ["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"], ["1[38]\\d{3}", [5]], 0, 0, 0, 0, 0, ["5[12]\\d{3}", [5]]]], 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, [["4[2-46]\\d{5}"], ["2[125-8]\\d{5}"], ["800[08]\\d{3}"], ["85\\d{5}"], 0, 0, 0, 0, ["971\\d{4}|(?:64|95)\\d{5}"]], "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["1(?:5\\d|8[35-7])\\d{6}"], ["(?:1[0-2]|9[0-3569])\\d{7}"]]], 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", 0, 0, 0, 0, 0, [["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}", [7, 8, 9]], ["7[02369]\\d{7}", [9]], ["20\\d{4,7}", [6, 7, 8, 9]], ["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}", [7, 8, 9, 10]], ["75[1-8]\\d{6}", [9]], ["(?:25[245]|67[3-68])\\d{9}", [12]], ["10[1-8]\\d{6}", [9]], ["74[02-9]\\d{6}", [9]], 0, ["77[0-7]\\d{6}", [9]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}", [8]], ["89(?:7[0-689]|80)\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-6])|9[0-8]\\d)\\d{5}", [8]], ["(?:18|8)00\\d{7}", [10, 11]], ["1900\\d{7}", [11]], 0, 0, ["7000\\d{7}", [11]], 0, ["(?:3[12]\\d|666)\\d{5}", [8]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]", [["2(?:[0-57-9]\\d|6[4-9])\\d\\d"], ["[56]\\d{4}", [5]], 0, 0, 0, 0, 0, 0, ["262\\d\\d", [5]]]], 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, [["(?:[1-357][2-8]|4[24-8])\\d{6}", [8]], ["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}", [8]], ["80\\d{4,6}", [6, 7, 8]], ["89[1-3]\\d{2,5}|90\\d{4,6}"], 0, 0, 0, 0, ["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}", [8]]], "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79", [["79\\d{6}", [8]], ["(?:4[015-8]|9\\d)\\d{6}", [8]], ["80[01]\\d{5}", [8]], ["82[09]\\d{5}", [8]], ["880\\d{5}", [8]], ["81[23]\\d{5}", [8]], ["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"], 0, ["85[0-5]\\d{5}", [8]], ["810(?:0[0-6]|[2-8]\\d)\\d{3}", [8]]]], 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", 0, 0, 0, 0, 0, [["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"], ["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}", [9]], ["800\\d{6}", [9]], ["9(?:00|[78]\\d)\\d{6}", [9]], 0, 0, ["96\\d{7}", [9]], ["9090\\d{3}", [7]], ["6(?:02|5[0-4]|9[0-6])\\d{6}", [9]], ["8[5-9]\\d{7}", [9]]]], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, [["22[2-4][2-9]\\d{4}"], ["(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}"]]], 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", 0, 0, [["0549(?:8[0157-9]|9\\d)\\d{4}", [10]], ["6[16]\\d{6}", [8]], 0, ["7[178]\\d{6}", [8]], 0, 0, 0, 0, ["5[158]\\d{6}", [8]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}"], ["7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|3[356]|[4-7]\\d|8[35]))\\d{5}"], ["800\\d{6}"], ["88[4689]\\d{6}"], 0, 0, 0, 0, ["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"], ["81[02468]\\d{6}"]]], 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", 0, 0, 0, 0, 0, [["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}", [6, 7]], ["(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}", [7, 8, 9]]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}"], ["(?:7[124-7]|8[1-9])\\d{5}", [7]], ["80\\d{5}", [7]], ["90\\d{5}", [7]], 0, 0, 0, 0, ["56\\d{4}", [6]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["1[89]\\d{7}"], ["(?:12|9[1257-9])\\d{7}"]]], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]], 0, 0, 0, 0, 0, 0, [["22\\d{5}"], ["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}", [8]], ["[67]\\d{7}", [8]], ["800\\d{8}|80[01]\\d{4}", [7, 11]], ["900\\d{4}(?:\\d{4})?", [7, 11]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721", [["7215(?:4[2-8]|8[239]|9[056])\\d{4}"], ["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"], ["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}"]]], 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", 0, 0, 0, 0, 0, [["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"], ["(?:50|9[1-9])\\d{7}", [9]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["[23][2-5]\\d{6}", [8]], ["7[5-9]\\d{6}", [8]], ["0800\\d{4}", [8]], ["900\\d{6}", [9]], 0, 0, 0, 0, ["70\\d{6}", [8]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8", [["8\\d{3}"]]], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649", [["649(?:266|712|9(?:4\\d|50))\\d{4}"], ["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"], ["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, ["649(?:71[01]|966)\\d{4}"]]], 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, [["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"], ["(?:30|[69]\\d|77|8[56])\\d{6}"]], "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]], 0, 0, 0, 0, 0, 0, [["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"], ["(?:7[0-29]|9[0-36-9])\\d{6}"]]], 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", 0, 0, 0, 0, 0, [["(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}", [8]], ["67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}", [9]], ["(?:001800\\d|1800)\\d{6}", [10, 13]], ["1900\\d{6}", [10]], 0, 0, 0, 0, ["6[08]\\d{7}", [9]]]], 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, [["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"], ["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|[34]0|5[05]|7[01578]|8[078])\\d{7}"]], "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7], 0, 0, 0, 0, 0, 0, 0, [["(?:2[2-4]|[34]\\d)\\d{2,5}"], ["7[2-4]\\d{2,5}"]]], 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"]]], 0, 0, 0, 0, 0, 0, [["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}", [7]], ["7[2-8]\\d{6}", [8]], ["80\\d{5}", [7]], ["90\\d{5}", [7]], ["70\\d{5}", [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, [["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"], ["(?:6\\d|71)\\d{6}"]], "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]], 0, 0, 0, 0, 0, 0, [["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"], ["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"], ["8010\\d{4}"], ["88\\d{6}"], 0, 0, 0, 0, 0, ["8[12]10\\d{4}"]]], 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]"]]], 0, 0, 0, 0, 0, 0, [["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}", [5]], ["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}", [7]], ["0800\\d{3}", [7]], 0, 0, 0, 0, 0, ["55[0-37-9]\\d{4}", [7]]]], 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", 0, 0, 0, 0, 0, [["(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}", [10]], ["561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}", [10]], ["8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})", [10, 12, 13]], ["(?:8[89]8|900)\\d{7}", [10]], ["592(?:21[12]|461)\\d{4}", [10]], 0, ["444\\d{4}", [7]], ["512\\d{7}", [10]], ["850\\d{7}", [10]]]], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868", [["868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}"], ["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"], ["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}"], ["868619\\d{4}"]]], 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"]]], 0, 0, 0, 0, 0, 0, [["2[02-9]\\d{3}", [5]], ["(?:7[01]\\d|90)\\d{4}", [6, 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, [["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}", [8, 9]], ["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}", [9]], ["80[0-79]\\d{6}|800\\d{5}", [8, 9]], ["20(?:[013-9]\\d\\d|2)\\d{4}", [7, 9]], ["99\\d{7}", [9]], 0, ["50[0-46-9]\\d{6}", [9]], 0, ["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}", [10, 11]]], 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", 0, 0, 0, 0, 0, [["2[2-8]\\d{7}"], ["(?:6[125-9]|7[13-9])\\d{7}"], ["80[08]\\d{6}"], ["90\\d{7}"], 0, 0, 0, 0, ["41\\d{7}"], ["8(?:40|6[01])\\d{6}"]]], 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, [["(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}", [9]], ["790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}", [9]], ["800[1-8]\\d{5,6}"], ["900[239]\\d{5,6}"], 0, 0, 0, 0, ["89[1-579]\\d{6}", [9]]], "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", 0, 0, 0, 0, 0, [["20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}"], ["72[48]0\\d{5}|7(?:[014-8]\\d|2[067]|36|9[0189])\\d{6}"], ["800[1-3]\\d{5}"], ["90[1-3]\\d{6}"]]], 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}|(?:[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, [["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}", [8]], ["9[1-9]\\d{6}", [8]], ["0004\\d{2,9}|(?:405|80[05])\\d{4}"], ["90[0-8]\\d{4}", [7]]], "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]"]]], 0, 0, 0, 0, 0, 0, [["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"], ["(?:(?:[25]0|33|8[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]], 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", [["06698\\d{1,6}", [6, 7, 8, 9, 10, 11]], ["3[1-9]\\d{8}|3[2-9]\\d{7}", [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]]]], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784", [["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"], ["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"], ["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, ["78451[0-2]\\d{4}"]]], 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", 0, 0, 0, 0, 0, [["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"], ["4(?:1[24-8]|2[246])\\d{7}"], ["800\\d{7}"], ["90[01]\\d{7}"], 0, 0, ["501\\d{7}"]]], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284", [["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"], ["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"], ["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}"]]], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340", [["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"], [""], ["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}"]]], 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", 0, 0, 0, 0, 0, [["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}", [10]], ["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}", [9]], ["1800\\d{4,6}|12(?:0[13]|28)\\d{4}", [8, 9, 10]], ["1900\\d{4,6}", [8, 9, 10]], 0, 0, ["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}", [7, 8]], 0, ["672\\d{6}", [9]]]], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]], 0, 0, 0, 0, 0, 0, [["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}", [5]], ["(?:[58]\\d|7[013-7])\\d{5}", [7]], ["81[18]\\d\\d", [5]], 0, 0, 0, ["(?:3[03]|900\\d)\\d{3}"], 0, ["9(?:0[1-9]|1[01])\\d{4}", [7]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["72\\d{4}", [6]], ["(?:72|8[23])\\d{4}", [6]], ["80[0-5]\\d{6}", [9]], 0, 0, ["[48]0\\d{4}", [6]], 0, 0, ["9[23]\\d{4}", [6]]]], 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"]]], 0, 0, 0, 0, 0, 0, [["6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}", [5, 6]], ["(?:7[1-35-8]|8(?:[3-7]|9\\d{3}))\\d{5}", [7, 10]], ["800\\d{3}", [6]]]], 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", 0, 0, 0, 0, 0, [["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"], ["4[3-9]\\d{6}", [8]], ["800\\d{5}", [8]], ["900\\d{5}", [8]]]], 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", 0, 0, 0, 0, 0, [["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}", [7, 8]], ["7[01378]\\d{7}", [9]]]], 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", 0, 0, 0, 0, 0, [["(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}", [9]], ["(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:50[0-2]|6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}", [5, 6, 7, 8, 9]], ["80\\d{7}", [9]], ["(?:86[2-9]|9[0-2]\\d)\\d{6}", [9]], 0, 0, ["861\\d{6,7}", [9, 10]], 0, ["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}", [9]], ["860\\d{6}", [9]]]], 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", 0, 0, 0, 0, 0, [["21[1-8]\\d{6}"], ["(?:[59][5-8]|7[5-9])\\d{7}"], ["800\\d{6}"], 0, 0, 0, 0, 0, ["63\\d{7}"]]], 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", 0, 0, 0, 0, 0, [["(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}"], ["7(?:[1278]\\d|3[1-9])\\d{6}", [9]], ["80(?:[01]\\d|20|8[0-8])\\d{3}", [7]], 0, 0, 0, 0, 0, ["86(?:1[12]|22|30|44|55|77|8[368])\\d{6}", [10]]]] }, 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 V2(t, d) {
|
|
3
|
+
var e = Array.prototype.slice.call(d);
|
|
4
|
+
return e.push(H), t.apply(this, e);
|
|
5
|
+
}
|
|
6
|
+
function O0(t, d) {
|
|
7
|
+
t = t.split("-"), d = d.split("-");
|
|
8
|
+
for (var e = t[0].split("."), n = d[0].split("."), r = 0; r < 3; r++) {
|
|
9
|
+
var i = Number(e[r]), a = Number(n[r]);
|
|
10
|
+
if (i > a)
|
|
11
|
+
return 1;
|
|
12
|
+
if (a > i)
|
|
13
|
+
return -1;
|
|
14
|
+
if (!isNaN(i) && isNaN(a))
|
|
15
|
+
return 1;
|
|
16
|
+
if (isNaN(i) && !isNaN(a))
|
|
17
|
+
return -1;
|
|
18
|
+
}
|
|
19
|
+
return t[1] && d[1] ? t[1] > d[1] ? 1 : t[1] < d[1] ? -1 : 0 : !t[1] && d[1] ? 1 : t[1] && !d[1] ? -1 : 0;
|
|
20
|
+
}
|
|
21
|
+
var K2 = {}.constructor;
|
|
22
|
+
function N(t) {
|
|
23
|
+
return t != null && t.constructor === K2;
|
|
24
|
+
}
|
|
25
|
+
function x(t) {
|
|
26
|
+
"@babel/helpers - typeof";
|
|
27
|
+
return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
28
|
+
return typeof d;
|
|
29
|
+
} : function(d) {
|
|
30
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
31
|
+
}, x(t);
|
|
32
|
+
}
|
|
33
|
+
function Q(t, d) {
|
|
34
|
+
if (!(t instanceof d))
|
|
35
|
+
throw new TypeError("Cannot call a class as a function");
|
|
36
|
+
}
|
|
37
|
+
function Y2(t, d) {
|
|
38
|
+
for (var e = 0; e < d.length; e++) {
|
|
39
|
+
var n = d[e];
|
|
40
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, Z2(n.key), n);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function z(t, d, e) {
|
|
44
|
+
return d && Y2(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
45
|
+
}
|
|
46
|
+
function Z2(t) {
|
|
47
|
+
var d = J2(t, "string");
|
|
48
|
+
return x(d) == "symbol" ? d : d + "";
|
|
49
|
+
}
|
|
50
|
+
function J2(t, d) {
|
|
51
|
+
if (x(t) != "object" || !t)
|
|
52
|
+
return t;
|
|
53
|
+
var e = t[Symbol.toPrimitive];
|
|
54
|
+
if (e !== void 0) {
|
|
55
|
+
var n = e.call(t, d);
|
|
56
|
+
if (x(n) != "object")
|
|
57
|
+
return n;
|
|
58
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
59
|
+
}
|
|
60
|
+
return String(t);
|
|
61
|
+
}
|
|
62
|
+
var X2 = "1.2.0", Q2 = "1.7.35", E0 = " ext. ", z2 = /^\d+$/, c = /* @__PURE__ */ (function() {
|
|
63
|
+
function t(d) {
|
|
64
|
+
Q(this, t), g2(d), this.metadata = d, b2.call(this, d);
|
|
65
|
+
}
|
|
66
|
+
return z(t, [{
|
|
67
|
+
key: "getCountries",
|
|
68
|
+
value: function() {
|
|
69
|
+
return Object.keys(this.metadata.countries).filter(function(d) {
|
|
70
|
+
return d !== "001";
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}, {
|
|
74
|
+
key: "getCountryMetadata",
|
|
75
|
+
value: function(d) {
|
|
76
|
+
return this.metadata.countries[d];
|
|
77
|
+
}
|
|
78
|
+
}, {
|
|
79
|
+
key: "nonGeographic",
|
|
80
|
+
value: function() {
|
|
81
|
+
if (!(this.v1 || this.v2 || this.v3))
|
|
82
|
+
return this.metadata.nonGeographic || this.metadata.nonGeographical;
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
key: "hasCountry",
|
|
86
|
+
value: function(d) {
|
|
87
|
+
return this.getCountryMetadata(d) !== void 0;
|
|
88
|
+
}
|
|
89
|
+
}, {
|
|
90
|
+
key: "hasCallingCode",
|
|
91
|
+
value: function(d) {
|
|
92
|
+
if (this.getCountryCodesForCallingCode(d))
|
|
93
|
+
return !0;
|
|
94
|
+
if (this.nonGeographic()) {
|
|
95
|
+
if (this.nonGeographic()[d])
|
|
96
|
+
return !0;
|
|
97
|
+
} else {
|
|
98
|
+
var e = this.countryCallingCodes()[d];
|
|
99
|
+
if (e && e.length === 1 && e[0] === "001")
|
|
100
|
+
return !0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, {
|
|
104
|
+
key: "isNonGeographicCallingCode",
|
|
105
|
+
value: function(d) {
|
|
106
|
+
return this.nonGeographic() ? !!this.nonGeographic()[d] : !this.getCountryCodesForCallingCode(d);
|
|
107
|
+
}
|
|
108
|
+
// Deprecated.
|
|
109
|
+
}, {
|
|
110
|
+
key: "country",
|
|
111
|
+
value: function(d) {
|
|
112
|
+
return this.selectNumberingPlan(d);
|
|
113
|
+
}
|
|
114
|
+
}, {
|
|
115
|
+
key: "selectNumberingPlan",
|
|
116
|
+
value: function(d, e) {
|
|
117
|
+
if (d && z2.test(d) && (e = d, d = null), d && d !== "001") {
|
|
118
|
+
if (!this.hasCountry(d))
|
|
119
|
+
throw new Error("Unknown country: ".concat(d));
|
|
120
|
+
this.numberingPlan = new T0(this.getCountryMetadata(d), this);
|
|
121
|
+
} else if (e) {
|
|
122
|
+
if (!this.hasCallingCode(e))
|
|
123
|
+
throw new Error("Unknown calling code: ".concat(e));
|
|
124
|
+
this.numberingPlan = new T0(this.getNumberingPlanMetadata(e), this);
|
|
125
|
+
} else
|
|
126
|
+
this.numberingPlan = void 0;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
}, {
|
|
130
|
+
key: "getCountryCodesForCallingCode",
|
|
131
|
+
value: function(d) {
|
|
132
|
+
var e = this.countryCallingCodes()[d];
|
|
133
|
+
if (e)
|
|
134
|
+
return e.length === 1 && e[0].length === 3 ? void 0 : e;
|
|
135
|
+
}
|
|
136
|
+
}, {
|
|
137
|
+
key: "getCountryCodeForCallingCode",
|
|
138
|
+
value: function(d) {
|
|
139
|
+
var e = this.getCountryCodesForCallingCode(d);
|
|
140
|
+
if (e)
|
|
141
|
+
return e[0];
|
|
142
|
+
}
|
|
143
|
+
}, {
|
|
144
|
+
key: "getNumberingPlanMetadata",
|
|
145
|
+
value: function(d) {
|
|
146
|
+
var e = this.getCountryCodeForCallingCode(d);
|
|
147
|
+
if (e)
|
|
148
|
+
return this.getCountryMetadata(e);
|
|
149
|
+
if (this.nonGeographic()) {
|
|
150
|
+
var n = this.nonGeographic()[d];
|
|
151
|
+
if (n)
|
|
152
|
+
return n;
|
|
153
|
+
} else {
|
|
154
|
+
var r = this.countryCallingCodes()[d];
|
|
155
|
+
if (r && r.length === 1 && r[0] === "001")
|
|
156
|
+
return this.metadata.countries["001"];
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
// Deprecated.
|
|
160
|
+
}, {
|
|
161
|
+
key: "countryCallingCode",
|
|
162
|
+
value: function() {
|
|
163
|
+
return this.numberingPlan.callingCode();
|
|
164
|
+
}
|
|
165
|
+
// Deprecated.
|
|
166
|
+
}, {
|
|
167
|
+
key: "IDDPrefix",
|
|
168
|
+
value: function() {
|
|
169
|
+
return this.numberingPlan.IDDPrefix();
|
|
170
|
+
}
|
|
171
|
+
// Deprecated.
|
|
172
|
+
}, {
|
|
173
|
+
key: "defaultIDDPrefix",
|
|
174
|
+
value: function() {
|
|
175
|
+
return this.numberingPlan.defaultIDDPrefix();
|
|
176
|
+
}
|
|
177
|
+
// Deprecated.
|
|
178
|
+
}, {
|
|
179
|
+
key: "nationalNumberPattern",
|
|
180
|
+
value: function() {
|
|
181
|
+
return this.numberingPlan.nationalNumberPattern();
|
|
182
|
+
}
|
|
183
|
+
// Deprecated.
|
|
184
|
+
}, {
|
|
185
|
+
key: "possibleLengths",
|
|
186
|
+
value: function() {
|
|
187
|
+
return this.numberingPlan.possibleLengths();
|
|
188
|
+
}
|
|
189
|
+
// Deprecated.
|
|
190
|
+
}, {
|
|
191
|
+
key: "formats",
|
|
192
|
+
value: function() {
|
|
193
|
+
return this.numberingPlan.formats();
|
|
194
|
+
}
|
|
195
|
+
// Deprecated.
|
|
196
|
+
}, {
|
|
197
|
+
key: "nationalPrefixForParsing",
|
|
198
|
+
value: function() {
|
|
199
|
+
return this.numberingPlan.nationalPrefixForParsing();
|
|
200
|
+
}
|
|
201
|
+
// Deprecated.
|
|
202
|
+
}, {
|
|
203
|
+
key: "nationalPrefixTransformRule",
|
|
204
|
+
value: function() {
|
|
205
|
+
return this.numberingPlan.nationalPrefixTransformRule();
|
|
206
|
+
}
|
|
207
|
+
// Deprecated.
|
|
208
|
+
}, {
|
|
209
|
+
key: "leadingDigits",
|
|
210
|
+
value: function() {
|
|
211
|
+
return this.numberingPlan.leadingDigits();
|
|
212
|
+
}
|
|
213
|
+
// Deprecated.
|
|
214
|
+
}, {
|
|
215
|
+
key: "hasTypes",
|
|
216
|
+
value: function() {
|
|
217
|
+
return this.numberingPlan.hasTypes();
|
|
218
|
+
}
|
|
219
|
+
// Deprecated.
|
|
220
|
+
}, {
|
|
221
|
+
key: "type",
|
|
222
|
+
value: function(d) {
|
|
223
|
+
return this.numberingPlan.type(d);
|
|
224
|
+
}
|
|
225
|
+
// Deprecated.
|
|
226
|
+
}, {
|
|
227
|
+
key: "ext",
|
|
228
|
+
value: function() {
|
|
229
|
+
return this.numberingPlan.ext();
|
|
230
|
+
}
|
|
231
|
+
}, {
|
|
232
|
+
key: "countryCallingCodes",
|
|
233
|
+
value: function() {
|
|
234
|
+
return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
|
|
235
|
+
}
|
|
236
|
+
// Deprecated.
|
|
237
|
+
}, {
|
|
238
|
+
key: "chooseCountryByCountryCallingCode",
|
|
239
|
+
value: function(d) {
|
|
240
|
+
return this.selectNumberingPlan(d);
|
|
241
|
+
}
|
|
242
|
+
}, {
|
|
243
|
+
key: "hasSelectedNumberingPlan",
|
|
244
|
+
value: function() {
|
|
245
|
+
return this.numberingPlan !== void 0;
|
|
246
|
+
}
|
|
247
|
+
}]);
|
|
248
|
+
})(), T0 = /* @__PURE__ */ (function() {
|
|
249
|
+
function t(d, e) {
|
|
250
|
+
Q(this, t), this.globalMetadataObject = e, this.metadata = d, b2.call(this, e.metadata);
|
|
251
|
+
}
|
|
252
|
+
return z(t, [{
|
|
253
|
+
key: "callingCode",
|
|
254
|
+
value: function() {
|
|
255
|
+
return this.metadata[0];
|
|
256
|
+
}
|
|
257
|
+
// Formatting information for regions which share
|
|
258
|
+
// a country calling code is contained by only one region
|
|
259
|
+
// for performance reasons. For example, for NANPA region
|
|
260
|
+
// ("North American Numbering Plan Administration",
|
|
261
|
+
// which includes USA, Canada, Cayman Islands, Bahamas, etc)
|
|
262
|
+
// it will be contained in the metadata for `US`.
|
|
263
|
+
}, {
|
|
264
|
+
key: "getDefaultCountryMetadataForRegion",
|
|
265
|
+
value: function() {
|
|
266
|
+
return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
|
|
267
|
+
}
|
|
268
|
+
// Is always present.
|
|
269
|
+
}, {
|
|
270
|
+
key: "IDDPrefix",
|
|
271
|
+
value: function() {
|
|
272
|
+
if (!(this.v1 || this.v2))
|
|
273
|
+
return this.metadata[1];
|
|
274
|
+
}
|
|
275
|
+
// Is only present when a country supports multiple IDD prefixes.
|
|
276
|
+
}, {
|
|
277
|
+
key: "defaultIDDPrefix",
|
|
278
|
+
value: function() {
|
|
279
|
+
if (!(this.v1 || this.v2))
|
|
280
|
+
return this.metadata[12];
|
|
281
|
+
}
|
|
282
|
+
}, {
|
|
283
|
+
key: "nationalNumberPattern",
|
|
284
|
+
value: function() {
|
|
285
|
+
return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
|
|
286
|
+
}
|
|
287
|
+
// "possible length" data is always present in Google's metadata.
|
|
288
|
+
}, {
|
|
289
|
+
key: "possibleLengths",
|
|
290
|
+
value: function() {
|
|
291
|
+
if (!this.v1)
|
|
292
|
+
return this.metadata[this.v2 ? 2 : 3];
|
|
293
|
+
}
|
|
294
|
+
}, {
|
|
295
|
+
key: "_getFormats",
|
|
296
|
+
value: function(d) {
|
|
297
|
+
return d[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
298
|
+
}
|
|
299
|
+
// For countries of the same region (e.g. NANPA)
|
|
300
|
+
// formats are all stored in the "main" country for that region.
|
|
301
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
302
|
+
}, {
|
|
303
|
+
key: "formats",
|
|
304
|
+
value: function() {
|
|
305
|
+
var d = this, e = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
306
|
+
return e.map(function(n) {
|
|
307
|
+
return new q2(n, d);
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
}, {
|
|
311
|
+
key: "nationalPrefix",
|
|
312
|
+
value: function() {
|
|
313
|
+
return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
|
|
314
|
+
}
|
|
315
|
+
}, {
|
|
316
|
+
key: "_getNationalPrefixFormattingRule",
|
|
317
|
+
value: function(d) {
|
|
318
|
+
return d[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
319
|
+
}
|
|
320
|
+
// For countries of the same region (e.g. NANPA)
|
|
321
|
+
// national prefix formatting rule is stored in the "main" country for that region.
|
|
322
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
323
|
+
}, {
|
|
324
|
+
key: "nationalPrefixFormattingRule",
|
|
325
|
+
value: function() {
|
|
326
|
+
return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
|
|
327
|
+
}
|
|
328
|
+
}, {
|
|
329
|
+
key: "_nationalPrefixForParsing",
|
|
330
|
+
value: function() {
|
|
331
|
+
return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
|
|
332
|
+
}
|
|
333
|
+
}, {
|
|
334
|
+
key: "nationalPrefixForParsing",
|
|
335
|
+
value: function() {
|
|
336
|
+
return this._nationalPrefixForParsing() || this.nationalPrefix();
|
|
337
|
+
}
|
|
338
|
+
}, {
|
|
339
|
+
key: "nationalPrefixTransformRule",
|
|
340
|
+
value: function() {
|
|
341
|
+
return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
|
|
342
|
+
}
|
|
343
|
+
}, {
|
|
344
|
+
key: "_getNationalPrefixIsOptionalWhenFormatting",
|
|
345
|
+
value: function() {
|
|
346
|
+
return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
|
|
347
|
+
}
|
|
348
|
+
// For countries of the same region (e.g. NANPA)
|
|
349
|
+
// "national prefix is optional when formatting" flag is
|
|
350
|
+
// stored in the "main" country for that region.
|
|
351
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
352
|
+
}, {
|
|
353
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
354
|
+
value: function() {
|
|
355
|
+
return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
|
|
356
|
+
}
|
|
357
|
+
}, {
|
|
358
|
+
key: "leadingDigits",
|
|
359
|
+
value: function() {
|
|
360
|
+
return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
|
|
361
|
+
}
|
|
362
|
+
}, {
|
|
363
|
+
key: "types",
|
|
364
|
+
value: function() {
|
|
365
|
+
return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
|
|
366
|
+
}
|
|
367
|
+
}, {
|
|
368
|
+
key: "hasTypes",
|
|
369
|
+
value: function() {
|
|
370
|
+
return this.types() && this.types().length === 0 ? !1 : !!this.types();
|
|
371
|
+
}
|
|
372
|
+
}, {
|
|
373
|
+
key: "type",
|
|
374
|
+
value: function(d) {
|
|
375
|
+
if (this.hasTypes() && I0(this.types(), d))
|
|
376
|
+
return new t1(I0(this.types(), d), this);
|
|
377
|
+
}
|
|
378
|
+
}, {
|
|
379
|
+
key: "ext",
|
|
380
|
+
value: function() {
|
|
381
|
+
return this.v1 || this.v2 ? E0 : this.metadata[13] || E0;
|
|
382
|
+
}
|
|
383
|
+
}]);
|
|
384
|
+
})(), q2 = /* @__PURE__ */ (function() {
|
|
385
|
+
function t(d, e) {
|
|
386
|
+
Q(this, t), this._format = d, this.metadata = e;
|
|
387
|
+
}
|
|
388
|
+
return z(t, [{
|
|
389
|
+
key: "pattern",
|
|
390
|
+
value: function() {
|
|
391
|
+
return this._format[0];
|
|
392
|
+
}
|
|
393
|
+
}, {
|
|
394
|
+
key: "format",
|
|
395
|
+
value: function() {
|
|
396
|
+
return this._format[1];
|
|
397
|
+
}
|
|
398
|
+
}, {
|
|
399
|
+
key: "leadingDigitsPatterns",
|
|
400
|
+
value: function() {
|
|
401
|
+
return this._format[2] || [];
|
|
402
|
+
}
|
|
403
|
+
}, {
|
|
404
|
+
key: "nationalPrefixFormattingRule",
|
|
405
|
+
value: function() {
|
|
406
|
+
return this._format[3] || this.metadata.nationalPrefixFormattingRule();
|
|
407
|
+
}
|
|
408
|
+
}, {
|
|
409
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
410
|
+
value: function() {
|
|
411
|
+
return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
|
|
415
|
+
value: function() {
|
|
416
|
+
return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
417
|
+
}
|
|
418
|
+
// Checks whether national prefix formatting rule contains national prefix.
|
|
419
|
+
}, {
|
|
420
|
+
key: "usesNationalPrefix",
|
|
421
|
+
value: function() {
|
|
422
|
+
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
423
|
+
!d1.test(this.nationalPrefixFormattingRule()));
|
|
424
|
+
}
|
|
425
|
+
}, {
|
|
426
|
+
key: "internationalFormat",
|
|
427
|
+
value: function() {
|
|
428
|
+
return this._format[5] || this.format();
|
|
429
|
+
}
|
|
430
|
+
}]);
|
|
431
|
+
})(), d1 = /^\(?\$1\)?$/, t1 = /* @__PURE__ */ (function() {
|
|
432
|
+
function t(d, e) {
|
|
433
|
+
Q(this, t), this.type = d, this.metadata = e;
|
|
434
|
+
}
|
|
435
|
+
return z(t, [{
|
|
436
|
+
key: "pattern",
|
|
437
|
+
value: function() {
|
|
438
|
+
return this.metadata.v1 ? this.type : this.type[0];
|
|
439
|
+
}
|
|
440
|
+
}, {
|
|
441
|
+
key: "possibleLengths",
|
|
442
|
+
value: function() {
|
|
443
|
+
if (!this.metadata.v1)
|
|
444
|
+
return this.type[1] || this.metadata.possibleLengths();
|
|
445
|
+
}
|
|
446
|
+
}]);
|
|
447
|
+
})();
|
|
448
|
+
function I0(t, d) {
|
|
449
|
+
switch (d) {
|
|
450
|
+
case "FIXED_LINE":
|
|
451
|
+
return t[0];
|
|
452
|
+
case "MOBILE":
|
|
453
|
+
return t[1];
|
|
454
|
+
case "TOLL_FREE":
|
|
455
|
+
return t[2];
|
|
456
|
+
case "PREMIUM_RATE":
|
|
457
|
+
return t[3];
|
|
458
|
+
case "PERSONAL_NUMBER":
|
|
459
|
+
return t[4];
|
|
460
|
+
case "VOICEMAIL":
|
|
461
|
+
return t[5];
|
|
462
|
+
case "UAN":
|
|
463
|
+
return t[6];
|
|
464
|
+
case "PAGER":
|
|
465
|
+
return t[7];
|
|
466
|
+
case "VOIP":
|
|
467
|
+
return t[8];
|
|
468
|
+
case "SHARED_COST":
|
|
469
|
+
return t[9];
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
function g2(t) {
|
|
473
|
+
if (!t)
|
|
474
|
+
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
475
|
+
if (!N(t) || !N(t.countries))
|
|
476
|
+
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(N(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + e1(t) + ": " + t, "."));
|
|
477
|
+
}
|
|
478
|
+
var e1 = function(t) {
|
|
479
|
+
return x(t);
|
|
480
|
+
};
|
|
481
|
+
function v0(t, d) {
|
|
482
|
+
if (d = new c(d), d.hasCountry(t))
|
|
483
|
+
return d.country(t).countryCallingCode();
|
|
484
|
+
throw new Error("Unknown country: ".concat(t));
|
|
485
|
+
}
|
|
486
|
+
function p2(t, d) {
|
|
487
|
+
return d.countries.hasOwnProperty(t);
|
|
488
|
+
}
|
|
489
|
+
function b2(t) {
|
|
490
|
+
var d = t.version;
|
|
491
|
+
typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ? O0(d, X2) === -1 ? this.v2 = !0 : O0(d, Q2) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
492
|
+
}
|
|
493
|
+
function q(t, d) {
|
|
494
|
+
return n1(t, void 0, d);
|
|
495
|
+
}
|
|
496
|
+
function n1(t, d, e) {
|
|
497
|
+
var n = e.type(d), r = n && n.possibleLengths() || e.possibleLengths();
|
|
498
|
+
if (!r)
|
|
499
|
+
return "IS_POSSIBLE";
|
|
500
|
+
var i = t.length, a = r[0];
|
|
501
|
+
return a === i ? "IS_POSSIBLE" : a > i ? "TOO_SHORT" : r[r.length - 1] < i ? "TOO_LONG" : r.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
502
|
+
}
|
|
503
|
+
function r1(t, d, e) {
|
|
504
|
+
if (d === void 0 && (d = {}), e = new c(e), d.v2) {
|
|
505
|
+
if (!t.countryCallingCode)
|
|
506
|
+
throw new Error("Invalid phone number object passed");
|
|
507
|
+
e.selectNumberingPlan(t.countryCallingCode);
|
|
508
|
+
} else {
|
|
509
|
+
if (!t.phone)
|
|
510
|
+
return !1;
|
|
511
|
+
if (t.country) {
|
|
512
|
+
if (!e.hasCountry(t.country))
|
|
513
|
+
throw new Error("Unknown country: ".concat(t.country));
|
|
514
|
+
e.country(t.country);
|
|
515
|
+
} else {
|
|
516
|
+
if (!t.countryCallingCode)
|
|
517
|
+
throw new Error("Invalid phone number object passed");
|
|
518
|
+
e.selectNumberingPlan(t.countryCallingCode);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
if (e.possibleLengths())
|
|
522
|
+
return v2(t.phone || t.nationalNumber, e);
|
|
523
|
+
if (t.countryCallingCode && e.isNonGeographicCallingCode(t.countryCallingCode))
|
|
524
|
+
return !0;
|
|
525
|
+
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
526
|
+
}
|
|
527
|
+
function v2(t, d) {
|
|
528
|
+
return q(t, d) === "IS_POSSIBLE";
|
|
529
|
+
}
|
|
530
|
+
function C(t, d) {
|
|
531
|
+
return t = t || "", new RegExp("^(?:" + d + ")$").test(t);
|
|
532
|
+
}
|
|
533
|
+
function i1(t, d) {
|
|
534
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
535
|
+
if (e)
|
|
536
|
+
return (e = e.call(t)).next.bind(e);
|
|
537
|
+
if (Array.isArray(t) || (e = a1(t)) || d) {
|
|
538
|
+
e && (t = e);
|
|
539
|
+
var n = 0;
|
|
540
|
+
return function() {
|
|
541
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
545
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
546
|
+
}
|
|
547
|
+
function a1(t, d) {
|
|
548
|
+
if (t) {
|
|
549
|
+
if (typeof t == "string")
|
|
550
|
+
return A0(t, d);
|
|
551
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
552
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? A0(t, d) : void 0;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
function A0(t, d) {
|
|
556
|
+
(d == null || d > t.length) && (d = t.length);
|
|
557
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
558
|
+
n[e] = t[e];
|
|
559
|
+
return n;
|
|
560
|
+
}
|
|
561
|
+
var o1 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
562
|
+
function C0(t, d, e) {
|
|
563
|
+
if (d = d || {}, !(!t.country && !t.countryCallingCode)) {
|
|
564
|
+
e = new c(e), e.selectNumberingPlan(t.country, t.countryCallingCode);
|
|
565
|
+
var n = d.v2 ? t.nationalNumber : t.phone;
|
|
566
|
+
if (C(n, e.nationalNumberPattern())) {
|
|
567
|
+
if (t0(n, "FIXED_LINE", e))
|
|
568
|
+
return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || t0(n, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
569
|
+
for (var r = i1(o1), i; !(i = r()).done; ) {
|
|
570
|
+
var a = i.value;
|
|
571
|
+
if (t0(n, a, e))
|
|
572
|
+
return a;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
function t0(t, d, e) {
|
|
578
|
+
return d = e.type(d), !d || !d.pattern() || d.possibleLengths() && d.possibleLengths().indexOf(t.length) < 0 ? !1 : C(t, d.pattern());
|
|
579
|
+
}
|
|
580
|
+
function $1(t, d, e) {
|
|
581
|
+
if (d = d || {}, e = new c(e), e.selectNumberingPlan(t.country, t.countryCallingCode), e.hasTypes())
|
|
582
|
+
return C0(t, d, e.metadata) !== void 0;
|
|
583
|
+
var n = d.v2 ? t.nationalNumber : t.phone;
|
|
584
|
+
return C(n, e.nationalNumberPattern());
|
|
585
|
+
}
|
|
586
|
+
function u1(t, d, e) {
|
|
587
|
+
var n = new c(e), r = n.getCountryCodesForCallingCode(t);
|
|
588
|
+
return r ? r.filter(function(i) {
|
|
589
|
+
return l1(d, i, e);
|
|
590
|
+
}) : [];
|
|
591
|
+
}
|
|
592
|
+
function l1(t, d, e) {
|
|
593
|
+
var n = new c(e);
|
|
594
|
+
return n.selectNumberingPlan(d), n.numberingPlan.possibleLengths().indexOf(t.length) >= 0;
|
|
595
|
+
}
|
|
596
|
+
var N0 = 2, C2 = 17, N2 = 3, h = "0-90-9٠-٩۰-۹", s1 = "-‐-―−ー-", c1 = "//", f1 = "..", h1 = " ", m1 = "()()[]\\[\\]", y1 = "~⁓∼~", p = "".concat(s1).concat(c1).concat(f1).concat(h1).concat(m1).concat(y1), W = "++", g1 = new RegExp("([" + h + "])");
|
|
597
|
+
function P2(t, d, e, n) {
|
|
598
|
+
if (d) {
|
|
599
|
+
var r = new c(n);
|
|
600
|
+
r.selectNumberingPlan(d, e);
|
|
601
|
+
var i = new RegExp(r.IDDPrefix());
|
|
602
|
+
if (t.search(i) === 0) {
|
|
603
|
+
t = t.slice(t.match(i)[0].length);
|
|
604
|
+
var a = t.match(g1);
|
|
605
|
+
if (!(a && a[1] != null && a[1].length > 0 && a[1] === "0"))
|
|
606
|
+
return t;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
function a0(t, d) {
|
|
611
|
+
if (t && d.numberingPlan.nationalPrefixForParsing()) {
|
|
612
|
+
var e = new RegExp("^(?:" + d.numberingPlan.nationalPrefixForParsing() + ")"), n = e.exec(t);
|
|
613
|
+
if (n) {
|
|
614
|
+
var r, i, a = n.length - 1, o = a > 0 && n[a];
|
|
615
|
+
if (d.nationalPrefixTransformRule() && o)
|
|
616
|
+
r = t.replace(e, d.nationalPrefixTransformRule()), a > 1 && (i = n[1]);
|
|
617
|
+
else {
|
|
618
|
+
var $ = n[0];
|
|
619
|
+
r = t.slice($.length), o && (i = n[1]);
|
|
620
|
+
}
|
|
621
|
+
var u;
|
|
622
|
+
if (o) {
|
|
623
|
+
var l = t.indexOf(n[1]), f = t.slice(0, l);
|
|
624
|
+
f === d.numberingPlan.nationalPrefix() && (u = d.numberingPlan.nationalPrefix());
|
|
625
|
+
} else
|
|
626
|
+
u = n[0];
|
|
627
|
+
return {
|
|
628
|
+
nationalNumber: r,
|
|
629
|
+
nationalPrefix: u,
|
|
630
|
+
carrierCode: i
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
return {
|
|
635
|
+
nationalNumber: t
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
function o0(t, d) {
|
|
639
|
+
var e = a0(t, d), n = e.carrierCode, r = e.nationalNumber;
|
|
640
|
+
if (r !== t) {
|
|
641
|
+
if (!p1(t, r, d))
|
|
642
|
+
return {
|
|
643
|
+
nationalNumber: t
|
|
644
|
+
};
|
|
645
|
+
if (d.possibleLengths() && !b1(r, d))
|
|
646
|
+
return {
|
|
647
|
+
nationalNumber: t
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
return {
|
|
651
|
+
nationalNumber: r,
|
|
652
|
+
carrierCode: n
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
function p1(t, d, e) {
|
|
656
|
+
return !(C(t, e.nationalNumberPattern()) && !C(d, e.nationalNumberPattern()));
|
|
657
|
+
}
|
|
658
|
+
function b1(t, d) {
|
|
659
|
+
switch (q(t, d)) {
|
|
660
|
+
case "TOO_SHORT":
|
|
661
|
+
case "INVALID_LENGTH":
|
|
662
|
+
return !1;
|
|
663
|
+
default:
|
|
664
|
+
return !0;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
function S2(t, d, e, n) {
|
|
668
|
+
var r = d ? v0(d, n) : e;
|
|
669
|
+
if (t.indexOf(r) === 0) {
|
|
670
|
+
n = new c(n), n.selectNumberingPlan(d, e);
|
|
671
|
+
var i = t.slice(r.length), a = o0(i, n), o = a.nationalNumber, $ = o0(t, n), u = $.nationalNumber;
|
|
672
|
+
if (!C(u, n.nationalNumberPattern()) && C(o, n.nationalNumberPattern()) || q(u, n) === "TOO_LONG")
|
|
673
|
+
return {
|
|
674
|
+
countryCallingCode: r,
|
|
675
|
+
number: i
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
return {
|
|
679
|
+
number: t
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
function P0(t, d, e, n) {
|
|
683
|
+
if (!t)
|
|
684
|
+
return {};
|
|
685
|
+
var r;
|
|
686
|
+
if (t[0] !== "+") {
|
|
687
|
+
var i = P2(t, d, e, n);
|
|
688
|
+
if (i && i !== t)
|
|
689
|
+
r = !0, t = "+" + i;
|
|
690
|
+
else {
|
|
691
|
+
if (d || e) {
|
|
692
|
+
var a = S2(t, d, e, n), o = a.countryCallingCode, $ = a.number;
|
|
693
|
+
if (o)
|
|
694
|
+
return {
|
|
695
|
+
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
696
|
+
countryCallingCode: o,
|
|
697
|
+
number: $
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
return {
|
|
701
|
+
// No need to set it to `UNSPECIFIED`. It can be just `undefined`.
|
|
702
|
+
// countryCallingCodeSource: 'UNSPECIFIED',
|
|
703
|
+
number: t
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
if (t[1] === "0")
|
|
708
|
+
return {};
|
|
709
|
+
n = new c(n);
|
|
710
|
+
for (var u = 2; u - 1 <= N2 && u <= t.length; ) {
|
|
711
|
+
var l = t.slice(1, u);
|
|
712
|
+
if (n.hasCallingCode(l))
|
|
713
|
+
return n.selectNumberingPlan(l), {
|
|
714
|
+
countryCallingCodeSource: r ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
|
715
|
+
countryCallingCode: l,
|
|
716
|
+
number: t.slice(u)
|
|
717
|
+
};
|
|
718
|
+
u++;
|
|
719
|
+
}
|
|
720
|
+
return {};
|
|
721
|
+
}
|
|
722
|
+
function x2(t) {
|
|
723
|
+
return t.replace(new RegExp("[".concat(p, "]+"), "g"), " ").trim();
|
|
724
|
+
}
|
|
725
|
+
var w2 = /(\$\d)/;
|
|
726
|
+
function O2(t, d, e) {
|
|
727
|
+
var n = e.useInternationalFormat, r = e.withNationalPrefix;
|
|
728
|
+
e.carrierCode, e.metadata;
|
|
729
|
+
var i = t.replace(new RegExp(d.pattern()), n ? d.internationalFormat() : (
|
|
730
|
+
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
731
|
+
// because that one is only used when formatting phone numbers
|
|
732
|
+
// for dialing from a mobile phone, and this is not a dialing library.
|
|
733
|
+
// carrierCode && format.domesticCarrierCodeFormattingRule()
|
|
734
|
+
// // First, replace the $CC in the formatting rule with the desired carrier code.
|
|
735
|
+
// // Then, replace the $FG in the formatting rule with the first group
|
|
736
|
+
// // and the carrier code combined in the appropriate way.
|
|
737
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
|
|
738
|
+
// : (
|
|
739
|
+
// withNationalPrefix && format.nationalPrefixFormattingRule()
|
|
740
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
|
741
|
+
// : format.format()
|
|
742
|
+
// )
|
|
743
|
+
r && d.nationalPrefixFormattingRule() ? d.format().replace(w2, d.nationalPrefixFormattingRule()) : d.format()
|
|
744
|
+
));
|
|
745
|
+
return n ? x2(i) : i;
|
|
746
|
+
}
|
|
747
|
+
var v1 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
748
|
+
function C1(t, d, e) {
|
|
749
|
+
var n = new c(e);
|
|
750
|
+
if (n.selectNumberingPlan(t, d), n.defaultIDDPrefix())
|
|
751
|
+
return n.defaultIDDPrefix();
|
|
752
|
+
if (v1.test(n.IDDPrefix()))
|
|
753
|
+
return n.IDDPrefix();
|
|
754
|
+
}
|
|
755
|
+
var N1 = ";ext=", P = function(t) {
|
|
756
|
+
return "([".concat(h, "]{1,").concat(t, "})");
|
|
757
|
+
};
|
|
758
|
+
function S0(t) {
|
|
759
|
+
var d = "20", e = "15", n = "9", r = "6", i = "[ \\t,]*", a = "[:\\..]?[ \\t,-]*", o = "#?", $ = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", l = "[- ]+", f = "[ \\t]*", s = "(?:,{2}|;)", y = N1 + P(d), m = i + $ + a + P(d) + o, g = i + u + a + P(n) + o, U2 = l + P(r) + "#", H2 = f + s + a + P(e) + o, W2 = f + "(?:,)+" + a + P(n) + o;
|
|
760
|
+
return y + "|" + m + "|" + g + "|" + U2 + "|" + H2 + "|" + W2;
|
|
761
|
+
}
|
|
762
|
+
var P1 = "[" + h + "]{" + N0 + "}", S1 = "[" + W + "]{0,1}(?:[" + p + "]*[" + h + "]){3,}[" + p + h + "]*", x1 = new RegExp("^[" + W + "]{0,1}(?:[" + p + "]*[" + h + "]){1,2}$", "i"), w1 = S1 + // Phone number extensions
|
|
763
|
+
"(?:" + S0() + ")?", O1 = new RegExp(
|
|
764
|
+
// Either a short two-digit-only phone number
|
|
765
|
+
"^" + P1 + "$|^" + w1 + "$",
|
|
766
|
+
"i"
|
|
767
|
+
);
|
|
768
|
+
function E1(t) {
|
|
769
|
+
return t.length >= N0 && O1.test(t);
|
|
770
|
+
}
|
|
771
|
+
function T1(t) {
|
|
772
|
+
return x1.test(t);
|
|
773
|
+
}
|
|
774
|
+
function I1(t) {
|
|
775
|
+
var d = t.number, e = t.ext;
|
|
776
|
+
if (!d)
|
|
777
|
+
return "";
|
|
778
|
+
if (d[0] !== "+")
|
|
779
|
+
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
780
|
+
return "tel:".concat(d).concat(e ? ";ext=" + e : "");
|
|
781
|
+
}
|
|
782
|
+
function O(t) {
|
|
783
|
+
"@babel/helpers - typeof";
|
|
784
|
+
return O = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
785
|
+
return typeof d;
|
|
786
|
+
} : function(d) {
|
|
787
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
788
|
+
}, O(t);
|
|
789
|
+
}
|
|
790
|
+
function A1(t, d) {
|
|
791
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
792
|
+
if (e)
|
|
793
|
+
return (e = e.call(t)).next.bind(e);
|
|
794
|
+
if (Array.isArray(t) || (e = F1(t)) || d) {
|
|
795
|
+
e && (t = e);
|
|
796
|
+
var n = 0;
|
|
797
|
+
return function() {
|
|
798
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
802
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
803
|
+
}
|
|
804
|
+
function F1(t, d) {
|
|
805
|
+
if (t) {
|
|
806
|
+
if (typeof t == "string")
|
|
807
|
+
return F0(t, d);
|
|
808
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
809
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? F0(t, d) : void 0;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
function F0(t, d) {
|
|
813
|
+
(d == null || d > t.length) && (d = t.length);
|
|
814
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
815
|
+
n[e] = t[e];
|
|
816
|
+
return n;
|
|
817
|
+
}
|
|
818
|
+
function k0(t, d) {
|
|
819
|
+
var e = Object.keys(t);
|
|
820
|
+
if (Object.getOwnPropertySymbols) {
|
|
821
|
+
var n = Object.getOwnPropertySymbols(t);
|
|
822
|
+
d && (n = n.filter(function(r) {
|
|
823
|
+
return Object.getOwnPropertyDescriptor(t, r).enumerable;
|
|
824
|
+
})), e.push.apply(e, n);
|
|
825
|
+
}
|
|
826
|
+
return e;
|
|
827
|
+
}
|
|
828
|
+
function M0(t) {
|
|
829
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
830
|
+
var e = arguments[d] != null ? arguments[d] : {};
|
|
831
|
+
d % 2 ? k0(Object(e), !0).forEach(function(n) {
|
|
832
|
+
k1(t, n, e[n]);
|
|
833
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : k0(Object(e)).forEach(function(n) {
|
|
834
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
return t;
|
|
838
|
+
}
|
|
839
|
+
function k1(t, d, e) {
|
|
840
|
+
return (d = M1(d)) in t ? Object.defineProperty(t, d, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = e, t;
|
|
841
|
+
}
|
|
842
|
+
function M1(t) {
|
|
843
|
+
var d = R1(t, "string");
|
|
844
|
+
return O(d) == "symbol" ? d : d + "";
|
|
845
|
+
}
|
|
846
|
+
function R1(t, d) {
|
|
847
|
+
if (O(t) != "object" || !t)
|
|
848
|
+
return t;
|
|
849
|
+
var e = t[Symbol.toPrimitive];
|
|
850
|
+
if (e !== void 0) {
|
|
851
|
+
var n = e.call(t, d);
|
|
852
|
+
if (O(n) != "object")
|
|
853
|
+
return n;
|
|
854
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
855
|
+
}
|
|
856
|
+
return (d === "string" ? String : Number)(t);
|
|
857
|
+
}
|
|
858
|
+
var R0 = {
|
|
859
|
+
formatExtension: function(t, d, e) {
|
|
860
|
+
return "".concat(t).concat(e.ext()).concat(d);
|
|
861
|
+
}
|
|
862
|
+
};
|
|
863
|
+
function j1(t, d, e, n) {
|
|
864
|
+
if (e ? e = M0(M0({}, R0), e) : e = R0, n = new c(n), t.country && t.country !== "001") {
|
|
865
|
+
if (!n.hasCountry(t.country))
|
|
866
|
+
throw new Error("Unknown country: ".concat(t.country));
|
|
867
|
+
n.country(t.country);
|
|
868
|
+
} else if (t.countryCallingCode)
|
|
869
|
+
n.selectNumberingPlan(t.countryCallingCode);
|
|
870
|
+
else
|
|
871
|
+
return t.phone || "";
|
|
872
|
+
var r = n.countryCallingCode(), i = e.v2 ? t.nationalNumber : t.phone, a;
|
|
873
|
+
switch (d) {
|
|
874
|
+
case "NATIONAL":
|
|
875
|
+
return i ? (a = Z(i, t.carrierCode, "NATIONAL", n, e), e0(a, t.ext, n, e.formatExtension)) : "";
|
|
876
|
+
case "INTERNATIONAL":
|
|
877
|
+
return i ? (a = Z(i, null, "INTERNATIONAL", n, e), a = "+".concat(r, " ").concat(a), e0(a, t.ext, n, e.formatExtension)) : "+".concat(r);
|
|
878
|
+
case "E.164":
|
|
879
|
+
return "+".concat(r).concat(i);
|
|
880
|
+
case "RFC3966":
|
|
881
|
+
return I1({
|
|
882
|
+
number: "+".concat(r).concat(i),
|
|
883
|
+
ext: t.ext
|
|
884
|
+
});
|
|
885
|
+
case "IDD":
|
|
886
|
+
if (!e.fromCountry)
|
|
887
|
+
return;
|
|
888
|
+
var o = D1(i, t.carrierCode, r, e.fromCountry, n);
|
|
889
|
+
return e0(o, t.ext, n, e.formatExtension);
|
|
890
|
+
default:
|
|
891
|
+
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(d, '"'));
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
function Z(t, d, e, n, r) {
|
|
895
|
+
var i = E2(n.formats(), t);
|
|
896
|
+
return i ? O2(t, i, {
|
|
897
|
+
useInternationalFormat: e === "INTERNATIONAL",
|
|
898
|
+
withNationalPrefix: !(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && r && r.nationalPrefix === !1),
|
|
899
|
+
carrierCode: d,
|
|
900
|
+
metadata: n
|
|
901
|
+
}) : t;
|
|
902
|
+
}
|
|
903
|
+
function E2(t, d) {
|
|
904
|
+
for (var e = A1(t), n; !(n = e()).done; ) {
|
|
905
|
+
var r = n.value;
|
|
906
|
+
if (r.leadingDigitsPatterns().length > 0) {
|
|
907
|
+
var i = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
|
|
908
|
+
if (d.search(i) !== 0)
|
|
909
|
+
continue;
|
|
910
|
+
}
|
|
911
|
+
if (C(d, r.pattern()))
|
|
912
|
+
return r;
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
function e0(t, d, e, n) {
|
|
916
|
+
return d ? n(t, d, e) : t;
|
|
917
|
+
}
|
|
918
|
+
function D1(t, d, e, n, r) {
|
|
919
|
+
var i = v0(n, r.metadata);
|
|
920
|
+
if (i === e) {
|
|
921
|
+
var a = Z(t, d, "NATIONAL", r);
|
|
922
|
+
return e === "1" ? e + " " + a : a;
|
|
923
|
+
}
|
|
924
|
+
var o = C1(n, void 0, r.metadata);
|
|
925
|
+
if (o)
|
|
926
|
+
return "".concat(o, " ").concat(e, " ").concat(Z(t, null, "INTERNATIONAL", r));
|
|
927
|
+
}
|
|
928
|
+
function E(t) {
|
|
929
|
+
"@babel/helpers - typeof";
|
|
930
|
+
return E = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
931
|
+
return typeof d;
|
|
932
|
+
} : function(d) {
|
|
933
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
934
|
+
}, E(t);
|
|
935
|
+
}
|
|
936
|
+
function j0(t, d) {
|
|
937
|
+
var e = Object.keys(t);
|
|
938
|
+
if (Object.getOwnPropertySymbols) {
|
|
939
|
+
var n = Object.getOwnPropertySymbols(t);
|
|
940
|
+
d && (n = n.filter(function(r) {
|
|
941
|
+
return Object.getOwnPropertyDescriptor(t, r).enumerable;
|
|
942
|
+
})), e.push.apply(e, n);
|
|
943
|
+
}
|
|
944
|
+
return e;
|
|
945
|
+
}
|
|
946
|
+
function D0(t) {
|
|
947
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
948
|
+
var e = arguments[d] != null ? arguments[d] : {};
|
|
949
|
+
d % 2 ? j0(Object(e), !0).forEach(function(n) {
|
|
950
|
+
_1(t, n, e[n]);
|
|
951
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : j0(Object(e)).forEach(function(n) {
|
|
952
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
return t;
|
|
956
|
+
}
|
|
957
|
+
function _1(t, d, e) {
|
|
958
|
+
return (d = T2(d)) in t ? Object.defineProperty(t, d, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = e, t;
|
|
959
|
+
}
|
|
960
|
+
function L1(t, d) {
|
|
961
|
+
if (!(t instanceof d))
|
|
962
|
+
throw new TypeError("Cannot call a class as a function");
|
|
963
|
+
}
|
|
964
|
+
function G1(t, d) {
|
|
965
|
+
for (var e = 0; e < d.length; e++) {
|
|
966
|
+
var n = d[e];
|
|
967
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, T2(n.key), n);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
function B1(t, d, e) {
|
|
971
|
+
return d && G1(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
972
|
+
}
|
|
973
|
+
function T2(t) {
|
|
974
|
+
var d = U1(t, "string");
|
|
975
|
+
return E(d) == "symbol" ? d : d + "";
|
|
976
|
+
}
|
|
977
|
+
function U1(t, d) {
|
|
978
|
+
if (E(t) != "object" || !t)
|
|
979
|
+
return t;
|
|
980
|
+
var e = t[Symbol.toPrimitive];
|
|
981
|
+
if (e !== void 0) {
|
|
982
|
+
var n = e.call(t, d);
|
|
983
|
+
if (E(n) != "object")
|
|
984
|
+
return n;
|
|
985
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
986
|
+
}
|
|
987
|
+
return String(t);
|
|
988
|
+
}
|
|
989
|
+
var d0 = /* @__PURE__ */ (function() {
|
|
990
|
+
function t(d, e, n) {
|
|
991
|
+
if (L1(this, t), !d)
|
|
992
|
+
throw new TypeError("First argument is required");
|
|
993
|
+
if (typeof d != "string")
|
|
994
|
+
throw new TypeError("First argument must be a string");
|
|
995
|
+
if (d[0] === "+" && !e)
|
|
996
|
+
throw new TypeError("`metadata` argument not passed");
|
|
997
|
+
if (N(e) && N(e.countries)) {
|
|
998
|
+
n = e;
|
|
999
|
+
var r = d;
|
|
1000
|
+
if (!V1.test(r))
|
|
1001
|
+
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
1002
|
+
var i = P0(r, void 0, void 0, n), a = i.countryCallingCode, o = i.number;
|
|
1003
|
+
if (e = o, d = a, !e)
|
|
1004
|
+
throw new Error("Invalid `number` argument passed: too short");
|
|
1005
|
+
}
|
|
1006
|
+
if (!e)
|
|
1007
|
+
throw new TypeError("`nationalNumber` argument is required");
|
|
1008
|
+
if (typeof e != "string")
|
|
1009
|
+
throw new TypeError("`nationalNumber` argument must be a string");
|
|
1010
|
+
g2(n);
|
|
1011
|
+
var $ = W1(d, n), u = $.country, l = $.countryCallingCode;
|
|
1012
|
+
this.country = u, this.countryCallingCode = l, this.nationalNumber = e, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
1013
|
+
return n;
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
return B1(t, [{
|
|
1017
|
+
key: "setExt",
|
|
1018
|
+
value: function(d) {
|
|
1019
|
+
this.ext = d;
|
|
1020
|
+
}
|
|
1021
|
+
}, {
|
|
1022
|
+
key: "getPossibleCountries",
|
|
1023
|
+
value: function() {
|
|
1024
|
+
return this.country ? [this.country] : u1(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
1025
|
+
}
|
|
1026
|
+
}, {
|
|
1027
|
+
key: "isPossible",
|
|
1028
|
+
value: function() {
|
|
1029
|
+
return r1(this, {
|
|
1030
|
+
v2: !0
|
|
1031
|
+
}, this.getMetadata());
|
|
1032
|
+
}
|
|
1033
|
+
}, {
|
|
1034
|
+
key: "isValid",
|
|
1035
|
+
value: function() {
|
|
1036
|
+
return $1(this, {
|
|
1037
|
+
v2: !0
|
|
1038
|
+
}, this.getMetadata());
|
|
1039
|
+
}
|
|
1040
|
+
}, {
|
|
1041
|
+
key: "isNonGeographic",
|
|
1042
|
+
value: function() {
|
|
1043
|
+
var d = new c(this.getMetadata());
|
|
1044
|
+
return d.isNonGeographicCallingCode(this.countryCallingCode);
|
|
1045
|
+
}
|
|
1046
|
+
}, {
|
|
1047
|
+
key: "isEqual",
|
|
1048
|
+
value: function(d) {
|
|
1049
|
+
return this.number === d.number && this.ext === d.ext;
|
|
1050
|
+
}
|
|
1051
|
+
// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
|
|
1052
|
+
// but later it was found out that it doesn't include the possible `TOO_SHORT` result
|
|
1053
|
+
// returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
|
|
1054
|
+
// so eventually I simply commented out this method from the `PhoneNumber` class
|
|
1055
|
+
// and just left the `validatePhoneNumberLength()` function, even though that one would require
|
|
1056
|
+
// and additional step to also validate the actual country / calling code of the phone number.
|
|
1057
|
+
// validateLength() {
|
|
1058
|
+
// const metadata = new Metadata(this.getMetadata())
|
|
1059
|
+
// metadata.selectNumberingPlan(this.countryCallingCode)
|
|
1060
|
+
// const result = checkNumberLength(this.nationalNumber, metadata)
|
|
1061
|
+
// if (result !== 'IS_POSSIBLE') {
|
|
1062
|
+
// return result
|
|
1063
|
+
// }
|
|
1064
|
+
// }
|
|
1065
|
+
}, {
|
|
1066
|
+
key: "getType",
|
|
1067
|
+
value: function() {
|
|
1068
|
+
return C0(this, {
|
|
1069
|
+
v2: !0
|
|
1070
|
+
}, this.getMetadata());
|
|
1071
|
+
}
|
|
1072
|
+
}, {
|
|
1073
|
+
key: "format",
|
|
1074
|
+
value: function(d, e) {
|
|
1075
|
+
return j1(this, d, e ? D0(D0({}, e), {}, {
|
|
1076
|
+
v2: !0
|
|
1077
|
+
}) : {
|
|
1078
|
+
v2: !0
|
|
1079
|
+
}, this.getMetadata());
|
|
1080
|
+
}
|
|
1081
|
+
}, {
|
|
1082
|
+
key: "formatNational",
|
|
1083
|
+
value: function(d) {
|
|
1084
|
+
return this.format("NATIONAL", d);
|
|
1085
|
+
}
|
|
1086
|
+
}, {
|
|
1087
|
+
key: "formatInternational",
|
|
1088
|
+
value: function(d) {
|
|
1089
|
+
return this.format("INTERNATIONAL", d);
|
|
1090
|
+
}
|
|
1091
|
+
}, {
|
|
1092
|
+
key: "getURI",
|
|
1093
|
+
value: function(d) {
|
|
1094
|
+
return this.format("RFC3966", d);
|
|
1095
|
+
}
|
|
1096
|
+
}]);
|
|
1097
|
+
})(), H1 = function(t) {
|
|
1098
|
+
return /^[A-Z]{2}$/.test(t);
|
|
1099
|
+
};
|
|
1100
|
+
function W1(t, d) {
|
|
1101
|
+
var e, n, r = new c(d);
|
|
1102
|
+
return H1(t) ? (e = t, r.selectNumberingPlan(e), n = r.countryCallingCode()) : n = t, {
|
|
1103
|
+
country: e,
|
|
1104
|
+
countryCallingCode: n
|
|
1105
|
+
};
|
|
1106
|
+
}
|
|
1107
|
+
var V1 = /^\+\d+$/;
|
|
1108
|
+
function $0(t) {
|
|
1109
|
+
"@babel/helpers - typeof";
|
|
1110
|
+
return $0 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1111
|
+
return typeof d;
|
|
1112
|
+
} : function(d) {
|
|
1113
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1114
|
+
}, $0(t);
|
|
1115
|
+
}
|
|
1116
|
+
function K1(t, d, e) {
|
|
1117
|
+
return Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1118
|
+
}
|
|
1119
|
+
function Y1(t, d) {
|
|
1120
|
+
if (!(t instanceof d))
|
|
1121
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1122
|
+
}
|
|
1123
|
+
function Z1(t, d, e) {
|
|
1124
|
+
return d = I(d), J1(t, x0() ? Reflect.construct(d, e || [], I(t).constructor) : d.apply(t, e));
|
|
1125
|
+
}
|
|
1126
|
+
function J1(t, d) {
|
|
1127
|
+
if (d && ($0(d) == "object" || typeof d == "function"))
|
|
1128
|
+
return d;
|
|
1129
|
+
if (d !== void 0)
|
|
1130
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1131
|
+
return X1(t);
|
|
1132
|
+
}
|
|
1133
|
+
function X1(t) {
|
|
1134
|
+
if (t === void 0)
|
|
1135
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1136
|
+
return t;
|
|
1137
|
+
}
|
|
1138
|
+
function Q1(t, d) {
|
|
1139
|
+
if (typeof d != "function" && d !== null)
|
|
1140
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1141
|
+
t.prototype = Object.create(d && d.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), d && T(t, d);
|
|
1142
|
+
}
|
|
1143
|
+
function u0(t) {
|
|
1144
|
+
var d = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
1145
|
+
return u0 = function(e) {
|
|
1146
|
+
if (e === null || !q1(e))
|
|
1147
|
+
return e;
|
|
1148
|
+
if (typeof e != "function")
|
|
1149
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1150
|
+
if (d !== void 0) {
|
|
1151
|
+
if (d.has(e))
|
|
1152
|
+
return d.get(e);
|
|
1153
|
+
d.set(e, n);
|
|
1154
|
+
}
|
|
1155
|
+
function n() {
|
|
1156
|
+
return z1(e, arguments, I(this).constructor);
|
|
1157
|
+
}
|
|
1158
|
+
return n.prototype = Object.create(e.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), T(n, e);
|
|
1159
|
+
}, u0(t);
|
|
1160
|
+
}
|
|
1161
|
+
function z1(t, d, e) {
|
|
1162
|
+
if (x0())
|
|
1163
|
+
return Reflect.construct.apply(null, arguments);
|
|
1164
|
+
var n = [null];
|
|
1165
|
+
n.push.apply(n, d);
|
|
1166
|
+
var r = new (t.bind.apply(t, n))();
|
|
1167
|
+
return e && T(r, e.prototype), r;
|
|
1168
|
+
}
|
|
1169
|
+
function x0() {
|
|
1170
|
+
try {
|
|
1171
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1172
|
+
}));
|
|
1173
|
+
} catch {
|
|
1174
|
+
}
|
|
1175
|
+
return (x0 = function() {
|
|
1176
|
+
return !!t;
|
|
1177
|
+
})();
|
|
1178
|
+
}
|
|
1179
|
+
function q1(t) {
|
|
1180
|
+
try {
|
|
1181
|
+
return Function.toString.call(t).indexOf("[native code]") !== -1;
|
|
1182
|
+
} catch {
|
|
1183
|
+
return typeof t == "function";
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
function T(t, d) {
|
|
1187
|
+
return T = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, n) {
|
|
1188
|
+
return e.__proto__ = n, e;
|
|
1189
|
+
}, T(t, d);
|
|
1190
|
+
}
|
|
1191
|
+
function I(t) {
|
|
1192
|
+
return I = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(d) {
|
|
1193
|
+
return d.__proto__ || Object.getPrototypeOf(d);
|
|
1194
|
+
}, I(t);
|
|
1195
|
+
}
|
|
1196
|
+
var v = /* @__PURE__ */ (function(t) {
|
|
1197
|
+
function d(e) {
|
|
1198
|
+
var n;
|
|
1199
|
+
return Y1(this, d), n = Z1(this, d, [e]), Object.setPrototypeOf(n, d.prototype), n.name = n.constructor.name, n;
|
|
1200
|
+
}
|
|
1201
|
+
return Q1(d, t), K1(d);
|
|
1202
|
+
})(/* @__PURE__ */ u0(Error)), _0 = new RegExp("(?:" + S0() + ")$", "i");
|
|
1203
|
+
function dd(t) {
|
|
1204
|
+
var d = t.search(_0);
|
|
1205
|
+
if (d < 0)
|
|
1206
|
+
return {};
|
|
1207
|
+
for (var e = t.slice(0, d), n = t.match(_0), r = 1; r < n.length; ) {
|
|
1208
|
+
if (n[r])
|
|
1209
|
+
return {
|
|
1210
|
+
number: e,
|
|
1211
|
+
ext: n[r]
|
|
1212
|
+
};
|
|
1213
|
+
r++;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
function td(t, d) {
|
|
1217
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1218
|
+
if (e)
|
|
1219
|
+
return (e = e.call(t)).next.bind(e);
|
|
1220
|
+
if (Array.isArray(t) || (e = ed(t)) || d) {
|
|
1221
|
+
e && (t = e);
|
|
1222
|
+
var n = 0;
|
|
1223
|
+
return function() {
|
|
1224
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1228
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1229
|
+
}
|
|
1230
|
+
function ed(t, d) {
|
|
1231
|
+
if (t) {
|
|
1232
|
+
if (typeof t == "string")
|
|
1233
|
+
return L0(t, d);
|
|
1234
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
1235
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? L0(t, d) : void 0;
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
function L0(t, d) {
|
|
1239
|
+
(d == null || d > t.length) && (d = t.length);
|
|
1240
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
1241
|
+
n[e] = t[e];
|
|
1242
|
+
return n;
|
|
1243
|
+
}
|
|
1244
|
+
var nd = {
|
|
1245
|
+
0: "0",
|
|
1246
|
+
1: "1",
|
|
1247
|
+
2: "2",
|
|
1248
|
+
3: "3",
|
|
1249
|
+
4: "4",
|
|
1250
|
+
5: "5",
|
|
1251
|
+
6: "6",
|
|
1252
|
+
7: "7",
|
|
1253
|
+
8: "8",
|
|
1254
|
+
9: "9",
|
|
1255
|
+
"0": "0",
|
|
1256
|
+
// Fullwidth digit 0
|
|
1257
|
+
"1": "1",
|
|
1258
|
+
// Fullwidth digit 1
|
|
1259
|
+
"2": "2",
|
|
1260
|
+
// Fullwidth digit 2
|
|
1261
|
+
"3": "3",
|
|
1262
|
+
// Fullwidth digit 3
|
|
1263
|
+
"4": "4",
|
|
1264
|
+
// Fullwidth digit 4
|
|
1265
|
+
"5": "5",
|
|
1266
|
+
// Fullwidth digit 5
|
|
1267
|
+
"6": "6",
|
|
1268
|
+
// Fullwidth digit 6
|
|
1269
|
+
"7": "7",
|
|
1270
|
+
// Fullwidth digit 7
|
|
1271
|
+
"8": "8",
|
|
1272
|
+
// Fullwidth digit 8
|
|
1273
|
+
"9": "9",
|
|
1274
|
+
// Fullwidth digit 9
|
|
1275
|
+
"٠": "0",
|
|
1276
|
+
// Arabic-indic digit 0
|
|
1277
|
+
"١": "1",
|
|
1278
|
+
// Arabic-indic digit 1
|
|
1279
|
+
"٢": "2",
|
|
1280
|
+
// Arabic-indic digit 2
|
|
1281
|
+
"٣": "3",
|
|
1282
|
+
// Arabic-indic digit 3
|
|
1283
|
+
"٤": "4",
|
|
1284
|
+
// Arabic-indic digit 4
|
|
1285
|
+
"٥": "5",
|
|
1286
|
+
// Arabic-indic digit 5
|
|
1287
|
+
"٦": "6",
|
|
1288
|
+
// Arabic-indic digit 6
|
|
1289
|
+
"٧": "7",
|
|
1290
|
+
// Arabic-indic digit 7
|
|
1291
|
+
"٨": "8",
|
|
1292
|
+
// Arabic-indic digit 8
|
|
1293
|
+
"٩": "9",
|
|
1294
|
+
// Arabic-indic digit 9
|
|
1295
|
+
"۰": "0",
|
|
1296
|
+
// Eastern-Arabic digit 0
|
|
1297
|
+
"۱": "1",
|
|
1298
|
+
// Eastern-Arabic digit 1
|
|
1299
|
+
"۲": "2",
|
|
1300
|
+
// Eastern-Arabic digit 2
|
|
1301
|
+
"۳": "3",
|
|
1302
|
+
// Eastern-Arabic digit 3
|
|
1303
|
+
"۴": "4",
|
|
1304
|
+
// Eastern-Arabic digit 4
|
|
1305
|
+
"۵": "5",
|
|
1306
|
+
// Eastern-Arabic digit 5
|
|
1307
|
+
"۶": "6",
|
|
1308
|
+
// Eastern-Arabic digit 6
|
|
1309
|
+
"۷": "7",
|
|
1310
|
+
// Eastern-Arabic digit 7
|
|
1311
|
+
"۸": "8",
|
|
1312
|
+
// Eastern-Arabic digit 8
|
|
1313
|
+
"۹": "9"
|
|
1314
|
+
// Eastern-Arabic digit 9
|
|
1315
|
+
};
|
|
1316
|
+
function I2(t) {
|
|
1317
|
+
return nd[t];
|
|
1318
|
+
}
|
|
1319
|
+
function w(t) {
|
|
1320
|
+
for (var d = "", e = td(t.split("")), n; !(n = e()).done; ) {
|
|
1321
|
+
var r = n.value, i = I2(r);
|
|
1322
|
+
i && (d += i);
|
|
1323
|
+
}
|
|
1324
|
+
return d;
|
|
1325
|
+
}
|
|
1326
|
+
function rd(t, d) {
|
|
1327
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1328
|
+
if (e)
|
|
1329
|
+
return (e = e.call(t)).next.bind(e);
|
|
1330
|
+
if (Array.isArray(t) || (e = id(t)) || d) {
|
|
1331
|
+
e && (t = e);
|
|
1332
|
+
var n = 0;
|
|
1333
|
+
return function() {
|
|
1334
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
1335
|
+
};
|
|
1336
|
+
}
|
|
1337
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1338
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1339
|
+
}
|
|
1340
|
+
function id(t, d) {
|
|
1341
|
+
if (t) {
|
|
1342
|
+
if (typeof t == "string")
|
|
1343
|
+
return G0(t, d);
|
|
1344
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
1345
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? G0(t, d) : void 0;
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
function G0(t, d) {
|
|
1349
|
+
(d == null || d > t.length) && (d = t.length);
|
|
1350
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
1351
|
+
n[e] = t[e];
|
|
1352
|
+
return n;
|
|
1353
|
+
}
|
|
1354
|
+
function B0(t) {
|
|
1355
|
+
for (var d = "", e = rd(t.split("")), n; !(n = e()).done; ) {
|
|
1356
|
+
var r = n.value;
|
|
1357
|
+
d += ad(r, d) || "";
|
|
1358
|
+
}
|
|
1359
|
+
return d;
|
|
1360
|
+
}
|
|
1361
|
+
function ad(t, d, e) {
|
|
1362
|
+
return t === "+" ? d ? void 0 : "+" : I2(t);
|
|
1363
|
+
}
|
|
1364
|
+
function od(t, d) {
|
|
1365
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1366
|
+
if (e)
|
|
1367
|
+
return (e = e.call(t)).next.bind(e);
|
|
1368
|
+
if (Array.isArray(t) || (e = $d(t)) || d) {
|
|
1369
|
+
e && (t = e);
|
|
1370
|
+
var n = 0;
|
|
1371
|
+
return function() {
|
|
1372
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
1373
|
+
};
|
|
1374
|
+
}
|
|
1375
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1376
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1377
|
+
}
|
|
1378
|
+
function $d(t, d) {
|
|
1379
|
+
if (t) {
|
|
1380
|
+
if (typeof t == "string")
|
|
1381
|
+
return U0(t, d);
|
|
1382
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
1383
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? U0(t, d) : void 0;
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
function U0(t, d) {
|
|
1387
|
+
(d == null || d > t.length) && (d = t.length);
|
|
1388
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
1389
|
+
n[e] = t[e];
|
|
1390
|
+
return n;
|
|
1391
|
+
}
|
|
1392
|
+
function A2(t, d) {
|
|
1393
|
+
var e = d.countries;
|
|
1394
|
+
d.defaultCountry;
|
|
1395
|
+
var n = d.metadata;
|
|
1396
|
+
n = new c(n);
|
|
1397
|
+
for (var r = od(e), i; !(i = r()).done; ) {
|
|
1398
|
+
var a = i.value;
|
|
1399
|
+
if (n.country(a), n.leadingDigits()) {
|
|
1400
|
+
if (t && t.search(n.leadingDigits()) === 0)
|
|
1401
|
+
return a;
|
|
1402
|
+
} else if (C0({
|
|
1403
|
+
phone: t,
|
|
1404
|
+
country: a
|
|
1405
|
+
}, void 0, n.metadata))
|
|
1406
|
+
return a;
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
function w0(t, d) {
|
|
1410
|
+
var e = d.nationalNumber, n = d.defaultCountry, r = d.metadata, i = r.getCountryCodesForCallingCode(t);
|
|
1411
|
+
if (i)
|
|
1412
|
+
return i.length === 1 ? i[0] : A2(e, {
|
|
1413
|
+
countries: i,
|
|
1414
|
+
defaultCountry: n,
|
|
1415
|
+
metadata: r.metadata
|
|
1416
|
+
});
|
|
1417
|
+
}
|
|
1418
|
+
var F2 = "+", ud = "[\\-\\.\\(\\)]?", H0 = "([" + h + "]|" + ud + ")", ld = "^\\" + F2 + H0 + "*[" + h + "]" + H0 + "*$", sd = new RegExp(ld, "g"), l0 = h, cd = "[" + l0 + "]+((\\-)*[" + l0 + "])*", fd = "a-zA-Z", hd = "[" + fd + "]+((\\-)*[" + l0 + "])*", md = "^(" + cd + "\\.)*" + hd + "\\.?$", yd = new RegExp(md, "g"), W0 = "tel:", s0 = ";phone-context=", gd = ";isub=";
|
|
1419
|
+
function pd(t) {
|
|
1420
|
+
var d = t.indexOf(s0);
|
|
1421
|
+
if (d < 0)
|
|
1422
|
+
return null;
|
|
1423
|
+
var e = d + s0.length;
|
|
1424
|
+
if (e >= t.length)
|
|
1425
|
+
return "";
|
|
1426
|
+
var n = t.indexOf(";", e);
|
|
1427
|
+
return n >= 0 ? t.substring(e, n) : t.substring(e);
|
|
1428
|
+
}
|
|
1429
|
+
function bd(t) {
|
|
1430
|
+
return t === null ? !0 : t.length === 0 ? !1 : sd.test(t) || yd.test(t);
|
|
1431
|
+
}
|
|
1432
|
+
function vd(t, d) {
|
|
1433
|
+
var e = d.extractFormattedPhoneNumber, n = pd(t);
|
|
1434
|
+
if (!bd(n))
|
|
1435
|
+
throw new v("NOT_A_NUMBER");
|
|
1436
|
+
var r;
|
|
1437
|
+
if (n === null)
|
|
1438
|
+
r = e(t) || "";
|
|
1439
|
+
else {
|
|
1440
|
+
r = "", n.charAt(0) === F2 && (r += n);
|
|
1441
|
+
var i = t.indexOf(W0), a;
|
|
1442
|
+
i >= 0 ? a = i + W0.length : a = 0;
|
|
1443
|
+
var o = t.indexOf(s0);
|
|
1444
|
+
r += t.substring(a, o);
|
|
1445
|
+
}
|
|
1446
|
+
var $ = r.indexOf(gd);
|
|
1447
|
+
if ($ > 0 && (r = r.substring(0, $)), r !== "")
|
|
1448
|
+
return r;
|
|
1449
|
+
}
|
|
1450
|
+
var Cd = 250, Nd = new RegExp("[" + W + h + "]"), Pd = new RegExp("[^" + h + "#]+$");
|
|
1451
|
+
function Sd(t, d, e) {
|
|
1452
|
+
if (d = d || {}, e = new c(e), d.defaultCountry && !e.hasCountry(d.defaultCountry))
|
|
1453
|
+
throw d.v2 ? new v("INVALID_COUNTRY") : new Error("Unknown country: ".concat(d.defaultCountry));
|
|
1454
|
+
var n = wd(t, d.v2, d.extract), r = n.number, i = n.ext, a = n.error;
|
|
1455
|
+
if (!r) {
|
|
1456
|
+
if (d.v2)
|
|
1457
|
+
throw a === "TOO_SHORT" ? new v("TOO_SHORT") : new v("NOT_A_NUMBER");
|
|
1458
|
+
return {};
|
|
1459
|
+
}
|
|
1460
|
+
var o = Ed(r, d.defaultCountry, d.defaultCallingCode, e), $ = o.country, u = o.nationalNumber, l = o.countryCallingCode, f = o.countryCallingCodeSource, s = o.carrierCode;
|
|
1461
|
+
if (!e.hasSelectedNumberingPlan()) {
|
|
1462
|
+
if (d.v2)
|
|
1463
|
+
throw new v("INVALID_COUNTRY");
|
|
1464
|
+
return {};
|
|
1465
|
+
}
|
|
1466
|
+
if (!u || u.length < N0) {
|
|
1467
|
+
if (d.v2)
|
|
1468
|
+
throw new v("TOO_SHORT");
|
|
1469
|
+
return {};
|
|
1470
|
+
}
|
|
1471
|
+
if (u.length > C2) {
|
|
1472
|
+
if (d.v2)
|
|
1473
|
+
throw new v("TOO_LONG");
|
|
1474
|
+
return {};
|
|
1475
|
+
}
|
|
1476
|
+
if (d.v2) {
|
|
1477
|
+
var y = new d0(l, u, e.metadata);
|
|
1478
|
+
return $ && (y.country = $), s && (y.carrierCode = s), i && (y.ext = i), y.__countryCallingCodeSource = f, y;
|
|
1479
|
+
}
|
|
1480
|
+
var m = (d.extended ? e.hasSelectedNumberingPlan() : $) ? C(u, e.nationalNumberPattern()) : !1;
|
|
1481
|
+
return d.extended ? {
|
|
1482
|
+
country: $,
|
|
1483
|
+
countryCallingCode: l,
|
|
1484
|
+
carrierCode: s,
|
|
1485
|
+
valid: m,
|
|
1486
|
+
possible: m ? !0 : !!(d.extended === !0 && e.possibleLengths() && v2(u, e)),
|
|
1487
|
+
phone: u,
|
|
1488
|
+
ext: i
|
|
1489
|
+
} : m ? Od($, u, i) : {};
|
|
1490
|
+
}
|
|
1491
|
+
function xd(t, d, e) {
|
|
1492
|
+
if (t) {
|
|
1493
|
+
if (t.length > Cd) {
|
|
1494
|
+
if (e)
|
|
1495
|
+
throw new v("TOO_LONG");
|
|
1496
|
+
return;
|
|
1497
|
+
}
|
|
1498
|
+
if (d === !1)
|
|
1499
|
+
return t;
|
|
1500
|
+
var n = t.search(Nd);
|
|
1501
|
+
if (!(n < 0))
|
|
1502
|
+
return t.slice(n).replace(Pd, "");
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
function wd(t, d, e) {
|
|
1506
|
+
var n = vd(t, {
|
|
1507
|
+
extractFormattedPhoneNumber: function(i) {
|
|
1508
|
+
return xd(i, e, d);
|
|
1509
|
+
}
|
|
1510
|
+
});
|
|
1511
|
+
if (!n)
|
|
1512
|
+
return {};
|
|
1513
|
+
if (!E1(n))
|
|
1514
|
+
return T1(n) ? {
|
|
1515
|
+
error: "TOO_SHORT"
|
|
1516
|
+
} : {};
|
|
1517
|
+
var r = dd(n);
|
|
1518
|
+
return r.ext ? r : {
|
|
1519
|
+
number: n
|
|
1520
|
+
};
|
|
1521
|
+
}
|
|
1522
|
+
function Od(t, d, e) {
|
|
1523
|
+
var n = {
|
|
1524
|
+
country: t,
|
|
1525
|
+
phone: d
|
|
1526
|
+
};
|
|
1527
|
+
return e && (n.ext = e), n;
|
|
1528
|
+
}
|
|
1529
|
+
function Ed(t, d, e, n) {
|
|
1530
|
+
var r = P0(B0(t), d, e, n.metadata), i = r.countryCallingCodeSource, a = r.countryCallingCode, o = r.number, $;
|
|
1531
|
+
if (a)
|
|
1532
|
+
n.selectNumberingPlan(a);
|
|
1533
|
+
else if (o && (d || e))
|
|
1534
|
+
n.selectNumberingPlan(d, e), d && ($ = d), a = e || v0(d, n.metadata);
|
|
1535
|
+
else
|
|
1536
|
+
return {};
|
|
1537
|
+
if (!o)
|
|
1538
|
+
return {
|
|
1539
|
+
countryCallingCodeSource: i,
|
|
1540
|
+
countryCallingCode: a
|
|
1541
|
+
};
|
|
1542
|
+
var u = o0(B0(o), n), l = u.nationalNumber, f = u.carrierCode, s = w0(a, {
|
|
1543
|
+
nationalNumber: l,
|
|
1544
|
+
defaultCountry: d,
|
|
1545
|
+
metadata: n
|
|
1546
|
+
});
|
|
1547
|
+
return s && ($ = s, s === "001" || n.country($)), {
|
|
1548
|
+
country: $,
|
|
1549
|
+
countryCallingCode: a,
|
|
1550
|
+
countryCallingCodeSource: i,
|
|
1551
|
+
nationalNumber: l,
|
|
1552
|
+
carrierCode: f
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
function A(t) {
|
|
1556
|
+
"@babel/helpers - typeof";
|
|
1557
|
+
return A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1558
|
+
return typeof d;
|
|
1559
|
+
} : function(d) {
|
|
1560
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1561
|
+
}, A(t);
|
|
1562
|
+
}
|
|
1563
|
+
function V0(t, d) {
|
|
1564
|
+
var e = Object.keys(t);
|
|
1565
|
+
if (Object.getOwnPropertySymbols) {
|
|
1566
|
+
var n = Object.getOwnPropertySymbols(t);
|
|
1567
|
+
d && (n = n.filter(function(r) {
|
|
1568
|
+
return Object.getOwnPropertyDescriptor(t, r).enumerable;
|
|
1569
|
+
})), e.push.apply(e, n);
|
|
1570
|
+
}
|
|
1571
|
+
return e;
|
|
1572
|
+
}
|
|
1573
|
+
function K0(t) {
|
|
1574
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
1575
|
+
var e = arguments[d] != null ? arguments[d] : {};
|
|
1576
|
+
d % 2 ? V0(Object(e), !0).forEach(function(n) {
|
|
1577
|
+
Td(t, n, e[n]);
|
|
1578
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : V0(Object(e)).forEach(function(n) {
|
|
1579
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
return t;
|
|
1583
|
+
}
|
|
1584
|
+
function Td(t, d, e) {
|
|
1585
|
+
return (d = Id(d)) in t ? Object.defineProperty(t, d, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = e, t;
|
|
1586
|
+
}
|
|
1587
|
+
function Id(t) {
|
|
1588
|
+
var d = Ad(t, "string");
|
|
1589
|
+
return A(d) == "symbol" ? d : d + "";
|
|
1590
|
+
}
|
|
1591
|
+
function Ad(t, d) {
|
|
1592
|
+
if (A(t) != "object" || !t)
|
|
1593
|
+
return t;
|
|
1594
|
+
var e = t[Symbol.toPrimitive];
|
|
1595
|
+
if (e !== void 0) {
|
|
1596
|
+
var n = e.call(t, d);
|
|
1597
|
+
if (A(n) != "object")
|
|
1598
|
+
return n;
|
|
1599
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1600
|
+
}
|
|
1601
|
+
return (d === "string" ? String : Number)(t);
|
|
1602
|
+
}
|
|
1603
|
+
function Fd(t, d, e) {
|
|
1604
|
+
return Sd(t, K0(K0({}, d), {}, {
|
|
1605
|
+
v2: !0
|
|
1606
|
+
}), e);
|
|
1607
|
+
}
|
|
1608
|
+
function F(t) {
|
|
1609
|
+
"@babel/helpers - typeof";
|
|
1610
|
+
return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1611
|
+
return typeof d;
|
|
1612
|
+
} : function(d) {
|
|
1613
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1614
|
+
}, F(t);
|
|
1615
|
+
}
|
|
1616
|
+
function Y0(t, d) {
|
|
1617
|
+
var e = Object.keys(t);
|
|
1618
|
+
if (Object.getOwnPropertySymbols) {
|
|
1619
|
+
var n = Object.getOwnPropertySymbols(t);
|
|
1620
|
+
d && (n = n.filter(function(r) {
|
|
1621
|
+
return Object.getOwnPropertyDescriptor(t, r).enumerable;
|
|
1622
|
+
})), e.push.apply(e, n);
|
|
1623
|
+
}
|
|
1624
|
+
return e;
|
|
1625
|
+
}
|
|
1626
|
+
function kd(t) {
|
|
1627
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
1628
|
+
var e = arguments[d] != null ? arguments[d] : {};
|
|
1629
|
+
d % 2 ? Y0(Object(e), !0).forEach(function(n) {
|
|
1630
|
+
Md(t, n, e[n]);
|
|
1631
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : Y0(Object(e)).forEach(function(n) {
|
|
1632
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
return t;
|
|
1636
|
+
}
|
|
1637
|
+
function Md(t, d, e) {
|
|
1638
|
+
return (d = Rd(d)) in t ? Object.defineProperty(t, d, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = e, t;
|
|
1639
|
+
}
|
|
1640
|
+
function Rd(t) {
|
|
1641
|
+
var d = jd(t, "string");
|
|
1642
|
+
return F(d) == "symbol" ? d : d + "";
|
|
1643
|
+
}
|
|
1644
|
+
function jd(t, d) {
|
|
1645
|
+
if (F(t) != "object" || !t)
|
|
1646
|
+
return t;
|
|
1647
|
+
var e = t[Symbol.toPrimitive];
|
|
1648
|
+
if (e !== void 0) {
|
|
1649
|
+
var n = e.call(t, d);
|
|
1650
|
+
if (F(n) != "object")
|
|
1651
|
+
return n;
|
|
1652
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1653
|
+
}
|
|
1654
|
+
return (d === "string" ? String : Number)(t);
|
|
1655
|
+
}
|
|
1656
|
+
function Dd(t, d) {
|
|
1657
|
+
return Bd(t) || Gd(t, d) || Ld(t, d) || _d();
|
|
1658
|
+
}
|
|
1659
|
+
function _d() {
|
|
1660
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1661
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1662
|
+
}
|
|
1663
|
+
function Ld(t, d) {
|
|
1664
|
+
if (t) {
|
|
1665
|
+
if (typeof t == "string")
|
|
1666
|
+
return Z0(t, d);
|
|
1667
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
1668
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Z0(t, d) : void 0;
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
function Z0(t, d) {
|
|
1672
|
+
(d == null || d > t.length) && (d = t.length);
|
|
1673
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
1674
|
+
n[e] = t[e];
|
|
1675
|
+
return n;
|
|
1676
|
+
}
|
|
1677
|
+
function Gd(t, d) {
|
|
1678
|
+
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1679
|
+
if (e != null) {
|
|
1680
|
+
var n, r, i, a, o = [], $ = !0, u = !1;
|
|
1681
|
+
try {
|
|
1682
|
+
if (i = (e = e.call(t)).next, d !== 0) for (; !($ = (n = i.call(e)).done) && (o.push(n.value), o.length !== d); $ = !0)
|
|
1683
|
+
;
|
|
1684
|
+
} catch (l) {
|
|
1685
|
+
u = !0, r = l;
|
|
1686
|
+
} finally {
|
|
1687
|
+
try {
|
|
1688
|
+
if (!$ && e.return != null && (a = e.return(), Object(a) !== a))
|
|
1689
|
+
return;
|
|
1690
|
+
} finally {
|
|
1691
|
+
if (u)
|
|
1692
|
+
throw r;
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
return o;
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
function Bd(t) {
|
|
1699
|
+
if (Array.isArray(t))
|
|
1700
|
+
return t;
|
|
1701
|
+
}
|
|
1702
|
+
function Ud(t) {
|
|
1703
|
+
var d = Array.prototype.slice.call(t), e = Dd(d, 4), n = e[0], r = e[1], i = e[2], a = e[3], o, $, u;
|
|
1704
|
+
if (typeof n == "string")
|
|
1705
|
+
o = n;
|
|
1706
|
+
else
|
|
1707
|
+
throw new TypeError("A text for parsing must be a string.");
|
|
1708
|
+
if (!r || typeof r == "string")
|
|
1709
|
+
a ? ($ = i, u = a) : ($ = void 0, u = i), r && ($ = kd({
|
|
1710
|
+
defaultCountry: r
|
|
1711
|
+
}, $));
|
|
1712
|
+
else if (N(r))
|
|
1713
|
+
i ? ($ = r, u = i) : u = r;
|
|
1714
|
+
else
|
|
1715
|
+
throw new Error("Invalid second argument: ".concat(r));
|
|
1716
|
+
return {
|
|
1717
|
+
text: o,
|
|
1718
|
+
options: $,
|
|
1719
|
+
metadata: u
|
|
1720
|
+
};
|
|
1721
|
+
}
|
|
1722
|
+
function k(t) {
|
|
1723
|
+
"@babel/helpers - typeof";
|
|
1724
|
+
return k = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1725
|
+
return typeof d;
|
|
1726
|
+
} : function(d) {
|
|
1727
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1728
|
+
}, k(t);
|
|
1729
|
+
}
|
|
1730
|
+
function J0(t, d) {
|
|
1731
|
+
var e = Object.keys(t);
|
|
1732
|
+
if (Object.getOwnPropertySymbols) {
|
|
1733
|
+
var n = Object.getOwnPropertySymbols(t);
|
|
1734
|
+
d && (n = n.filter(function(r) {
|
|
1735
|
+
return Object.getOwnPropertyDescriptor(t, r).enumerable;
|
|
1736
|
+
})), e.push.apply(e, n);
|
|
1737
|
+
}
|
|
1738
|
+
return e;
|
|
1739
|
+
}
|
|
1740
|
+
function X0(t) {
|
|
1741
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
1742
|
+
var e = arguments[d] != null ? arguments[d] : {};
|
|
1743
|
+
d % 2 ? J0(Object(e), !0).forEach(function(n) {
|
|
1744
|
+
Hd(t, n, e[n]);
|
|
1745
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : J0(Object(e)).forEach(function(n) {
|
|
1746
|
+
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
return t;
|
|
1750
|
+
}
|
|
1751
|
+
function Hd(t, d, e) {
|
|
1752
|
+
return (d = Wd(d)) in t ? Object.defineProperty(t, d, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = e, t;
|
|
1753
|
+
}
|
|
1754
|
+
function Wd(t) {
|
|
1755
|
+
var d = Vd(t, "string");
|
|
1756
|
+
return k(d) == "symbol" ? d : d + "";
|
|
1757
|
+
}
|
|
1758
|
+
function Vd(t, d) {
|
|
1759
|
+
if (k(t) != "object" || !t)
|
|
1760
|
+
return t;
|
|
1761
|
+
var e = t[Symbol.toPrimitive];
|
|
1762
|
+
if (e !== void 0) {
|
|
1763
|
+
var n = e.call(t, d);
|
|
1764
|
+
if (k(n) != "object")
|
|
1765
|
+
return n;
|
|
1766
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1767
|
+
}
|
|
1768
|
+
return (d === "string" ? String : Number)(t);
|
|
1769
|
+
}
|
|
1770
|
+
function Kd(t, d, e) {
|
|
1771
|
+
d && d.defaultCountry && !p2(d.defaultCountry, e) && (d = X0(X0({}, d), {}, {
|
|
1772
|
+
defaultCountry: void 0
|
|
1773
|
+
}));
|
|
1774
|
+
try {
|
|
1775
|
+
return Fd(t, d, e);
|
|
1776
|
+
} catch (n) {
|
|
1777
|
+
if (!(n instanceof v))
|
|
1778
|
+
throw n;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
function J() {
|
|
1782
|
+
var t = Ud(arguments), d = t.text, e = t.options, n = t.metadata;
|
|
1783
|
+
return Kd(d, e, n);
|
|
1784
|
+
}
|
|
1785
|
+
function M(t) {
|
|
1786
|
+
"@babel/helpers - typeof";
|
|
1787
|
+
return M = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1788
|
+
return typeof d;
|
|
1789
|
+
} : function(d) {
|
|
1790
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1791
|
+
}, M(t);
|
|
1792
|
+
}
|
|
1793
|
+
function Yd(t, d) {
|
|
1794
|
+
for (var e = 0; e < d.length; e++) {
|
|
1795
|
+
var n = d[e];
|
|
1796
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, Zd(n.key), n);
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
function k2(t, d, e) {
|
|
1800
|
+
return d && Yd(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1801
|
+
}
|
|
1802
|
+
function Zd(t) {
|
|
1803
|
+
var d = Jd(t, "string");
|
|
1804
|
+
return M(d) == "symbol" ? d : d + "";
|
|
1805
|
+
}
|
|
1806
|
+
function Jd(t, d) {
|
|
1807
|
+
if (M(t) != "object" || !t)
|
|
1808
|
+
return t;
|
|
1809
|
+
var e = t[Symbol.toPrimitive];
|
|
1810
|
+
if (e !== void 0) {
|
|
1811
|
+
var n = e.call(t, d);
|
|
1812
|
+
if (M(n) != "object")
|
|
1813
|
+
return n;
|
|
1814
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1815
|
+
}
|
|
1816
|
+
return String(t);
|
|
1817
|
+
}
|
|
1818
|
+
function M2(t, d) {
|
|
1819
|
+
if (!(t instanceof d))
|
|
1820
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1821
|
+
}
|
|
1822
|
+
var Q0 = /* @__PURE__ */ k2(function t(d, e) {
|
|
1823
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
|
|
1824
|
+
M2(this, t), this.key = d, this.value = e, this.next = n, this.prev = r;
|
|
1825
|
+
}), Xd = /* @__PURE__ */ (function() {
|
|
1826
|
+
function t() {
|
|
1827
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 10;
|
|
1828
|
+
M2(this, t), this.size = 0, this.limit = d, this.head = null, this.tail = null, this.cache = {};
|
|
1829
|
+
}
|
|
1830
|
+
return k2(t, [{
|
|
1831
|
+
key: "put",
|
|
1832
|
+
value: function(d, e) {
|
|
1833
|
+
if (this.ensureLimit(), !this.head)
|
|
1834
|
+
this.head = this.tail = new Q0(d, e);
|
|
1835
|
+
else {
|
|
1836
|
+
var n = new Q0(d, e, this.head);
|
|
1837
|
+
this.head.prev = n, this.head = n;
|
|
1838
|
+
}
|
|
1839
|
+
this.cache[d] = this.head, this.size++;
|
|
1840
|
+
}
|
|
1841
|
+
// Read from cache map and make that node as new Head of LinkedList
|
|
1842
|
+
}, {
|
|
1843
|
+
key: "get",
|
|
1844
|
+
value: function(d) {
|
|
1845
|
+
if (this.cache[d]) {
|
|
1846
|
+
var e = this.cache[d].value;
|
|
1847
|
+
return this.remove(d), this.put(d, e), e;
|
|
1848
|
+
}
|
|
1849
|
+
console.log("Item not available in cache for key ".concat(d));
|
|
1850
|
+
}
|
|
1851
|
+
}, {
|
|
1852
|
+
key: "ensureLimit",
|
|
1853
|
+
value: function() {
|
|
1854
|
+
this.size === this.limit && this.remove(this.tail.key);
|
|
1855
|
+
}
|
|
1856
|
+
}, {
|
|
1857
|
+
key: "remove",
|
|
1858
|
+
value: function(d) {
|
|
1859
|
+
var e = this.cache[d];
|
|
1860
|
+
e.prev !== null ? e.prev.next = e.next : this.head = e.next, e.next !== null ? e.next.prev = e.prev : this.tail = e.prev, delete this.cache[d], this.size--;
|
|
1861
|
+
}
|
|
1862
|
+
}, {
|
|
1863
|
+
key: "clear",
|
|
1864
|
+
value: function() {
|
|
1865
|
+
this.head = null, this.tail = null, this.size = 0, this.cache = {};
|
|
1866
|
+
}
|
|
1867
|
+
// // Invokes the callback function with every node of the chain and the index of the node.
|
|
1868
|
+
// forEach(fn) {
|
|
1869
|
+
// let node = this.head;
|
|
1870
|
+
// let counter = 0;
|
|
1871
|
+
// while (node) {
|
|
1872
|
+
// fn(node, counter);
|
|
1873
|
+
// node = node.next;
|
|
1874
|
+
// counter++;
|
|
1875
|
+
// }
|
|
1876
|
+
// }
|
|
1877
|
+
// // To iterate over LRU with a 'for...of' loop
|
|
1878
|
+
// *[Symbol.iterator]() {
|
|
1879
|
+
// let node = this.head;
|
|
1880
|
+
// while (node) {
|
|
1881
|
+
// yield node;
|
|
1882
|
+
// node = node.next;
|
|
1883
|
+
// }
|
|
1884
|
+
// }
|
|
1885
|
+
}]);
|
|
1886
|
+
})();
|
|
1887
|
+
function R(t) {
|
|
1888
|
+
"@babel/helpers - typeof";
|
|
1889
|
+
return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1890
|
+
return typeof d;
|
|
1891
|
+
} : function(d) {
|
|
1892
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1893
|
+
}, R(t);
|
|
1894
|
+
}
|
|
1895
|
+
function Qd(t, d) {
|
|
1896
|
+
if (!(t instanceof d))
|
|
1897
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1898
|
+
}
|
|
1899
|
+
function zd(t, d) {
|
|
1900
|
+
for (var e = 0; e < d.length; e++) {
|
|
1901
|
+
var n = d[e];
|
|
1902
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, dt(n.key), n);
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
function qd(t, d, e) {
|
|
1906
|
+
return d && zd(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1907
|
+
}
|
|
1908
|
+
function dt(t) {
|
|
1909
|
+
var d = tt(t, "string");
|
|
1910
|
+
return R(d) == "symbol" ? d : d + "";
|
|
1911
|
+
}
|
|
1912
|
+
function tt(t, d) {
|
|
1913
|
+
if (R(t) != "object" || !t)
|
|
1914
|
+
return t;
|
|
1915
|
+
var e = t[Symbol.toPrimitive];
|
|
1916
|
+
if (e !== void 0) {
|
|
1917
|
+
var n = e.call(t, d);
|
|
1918
|
+
if (R(n) != "object")
|
|
1919
|
+
return n;
|
|
1920
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1921
|
+
}
|
|
1922
|
+
return String(t);
|
|
1923
|
+
}
|
|
1924
|
+
var et = /* @__PURE__ */ (function() {
|
|
1925
|
+
function t(d) {
|
|
1926
|
+
Qd(this, t), this.cache = new Xd(d);
|
|
1927
|
+
}
|
|
1928
|
+
return qd(t, [{
|
|
1929
|
+
key: "getPatternForRegExp",
|
|
1930
|
+
value: function(d) {
|
|
1931
|
+
var e = this.cache.get(d);
|
|
1932
|
+
return e || (e = new RegExp("^" + d), this.cache.put(d, e)), e;
|
|
1933
|
+
}
|
|
1934
|
+
}]);
|
|
1935
|
+
})();
|
|
1936
|
+
function V(t, d) {
|
|
1937
|
+
if (t < 0 || d <= 0 || d < t)
|
|
1938
|
+
throw new TypeError();
|
|
1939
|
+
return "{".concat(t, ",").concat(d, "}");
|
|
1940
|
+
}
|
|
1941
|
+
function c0(t, d) {
|
|
1942
|
+
var e = d.search(t);
|
|
1943
|
+
return e >= 0 ? d.slice(0, e) : d;
|
|
1944
|
+
}
|
|
1945
|
+
var R2 = " - \u2028\u2029 ", S = "[".concat(R2, "]"), nt = "[^".concat(R2, "]"), rt = "0-9²³¹¼-¾٠-٩۰-۹߀-߉०-९০-৯৴-৹੦-੯૦-૯୦-୯୲-୷௦-௲౦-౯౸-౾೦-೯൦-൵๐-๙໐-໙༠-༳၀-၉႐-႙፩-፼ᛮ-ᛰ០-៩៰-៹᠐-᠙᥆-᥏᧐-᧚᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙⁰⁴-⁹₀-₉⅐-ↂↅ-↉①-⒛⓪-⓿❶-➓⳽〇〡-〩〸-〺㆒-㆕㈠-㈩㉈-㉏㉑-㉟㊀-㊉㊱-㊿꘠-꘩ꛦ-ꛯ꠰-꠵꣐-꣙꤀-꤉꧐-꧙꩐-꩙꯰-꯹0-9", it = "0-9٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꩐-꩙꯰-꯹0-9", at = "[".concat(it, "]"), j2 = "A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ot = "[".concat(j2, "]"), $t = new RegExp(ot), ut = "$¢-¥֏؋৲৳৻૱௹฿៛₠-₹꠸﷼﹩$¢£¥₩", lt = "[".concat(ut, "]"), st = new RegExp(lt), ct = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣤ-ࣾऀ-ंऺ़ु-ै्॑-ॗॢॣঁ়ু-ৄ্ৢৣਁਂ਼ੁੂੇੈੋ-੍ੑੰੱੵઁં઼ુ-ૅેૈ્ૢૣଁ଼ିୁ-ୄ୍ୖୢୣஂீ்ా-ీె-ైొ-్ౕౖౢౣ಼ಿೆೌ್ೢೣു-ൄ്ൢൣ්ි-ුූัิ-ฺ็-๎ັິ-ູົຼ່-ໍཱ༹༘༙༵༷-ཾྀ-྄྆྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္်ွှၘၙၞ-ၠၱ-ၴႂႅႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧᤨᤲ᤹-᤻ᨘᨗᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀᮁᮢ-ᮥᮨᮩ᯦᮫ᯨᯩᯭᯯ-ᯱᰬ-ᰳᰶ᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᷀-ᷦ᷼-᷿⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〭꙯ꙴ-꙽ꚟ꛰꛱ꠂ꠆ꠋꠥꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꨩ-ꨮꨱꨲꨵꨶꩃꩌꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫬꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-︦", ft = "[".concat(ct, "]"), ht = new RegExp(ft), mt = "\0-", yt = "-ÿ", gt = "Ā-ſ", pt = "Ḁ-ỿ", bt = "ƀ-ɏ", vt = "̀-ͯ", Ct = new RegExp("[" + mt + yt + gt + pt + bt + vt + "]");
|
|
1946
|
+
function z0(t) {
|
|
1947
|
+
return !$t.test(t) && !ht.test(t) ? !1 : Ct.test(t);
|
|
1948
|
+
}
|
|
1949
|
+
function q0(t) {
|
|
1950
|
+
return t === "%" || st.test(t);
|
|
1951
|
+
}
|
|
1952
|
+
function Nt(t, d, e) {
|
|
1953
|
+
var n = !0, r = J(t, e);
|
|
1954
|
+
if (r || (n = !1, r = J(t, {
|
|
1955
|
+
defaultCallingCode: d.countryCallingCode
|
|
1956
|
+
}, e)), !r)
|
|
1957
|
+
return "INVALID_NUMBER";
|
|
1958
|
+
if (d.ext) {
|
|
1959
|
+
if (r.ext !== d.ext)
|
|
1960
|
+
return "NO_MATCH";
|
|
1961
|
+
} else if (r.ext)
|
|
1962
|
+
return "NO_MATCH";
|
|
1963
|
+
return n && d.countryCallingCode !== r.countryCallingCode ? "NO_MATCH" : d.number === r.number ? n ? "EXACT_MATCH" : "NSN_MATCH" : d.nationalNumber.indexOf(r.nationalNumber) === 0 || r.nationalNumber.indexOf(d.nationalNumber) === 0 ? "SHORT_NSN_MATCH" : "NO_MATCH";
|
|
1964
|
+
}
|
|
1965
|
+
const d2 = {
|
|
1966
|
+
/**
|
|
1967
|
+
* Phone numbers accepted are "possible", but not necessarily "valid".
|
|
1968
|
+
*/
|
|
1969
|
+
POSSIBLE: function(t, d) {
|
|
1970
|
+
return d.candidate, d.metadata, !0;
|
|
1971
|
+
},
|
|
1972
|
+
/**
|
|
1973
|
+
* Phone numbers accepted are "possible" and "valid".
|
|
1974
|
+
* Numbers written in national format must have their national-prefix
|
|
1975
|
+
* present if it is usually written for a number of this type.
|
|
1976
|
+
*/
|
|
1977
|
+
VALID: function(t, d) {
|
|
1978
|
+
var e = d.candidate;
|
|
1979
|
+
d.defaultCountry;
|
|
1980
|
+
var n = d.metadata;
|
|
1981
|
+
return !(!t.isValid() || !n0(t, e, n));
|
|
1982
|
+
},
|
|
1983
|
+
/**
|
|
1984
|
+
* Phone numbers accepted are "valid" and
|
|
1985
|
+
* are grouped in a possible way for this locale. For example, a US number written as
|
|
1986
|
+
* "65 02 53 00 00" and "650253 0000" are not accepted at this leniency level, whereas
|
|
1987
|
+
* "650 253 0000", "650 2530000" or "6502530000" are.
|
|
1988
|
+
* Numbers with more than one '/' symbol in the national significant number
|
|
1989
|
+
* are also dropped at this level.
|
|
1990
|
+
*
|
|
1991
|
+
* Warning: This level might result in lower coverage especially for regions outside of
|
|
1992
|
+
* country code "+1". If you are not sure about which level to use,
|
|
1993
|
+
* email the discussion group libphonenumber-discuss@googlegroups.com.
|
|
1994
|
+
*/
|
|
1995
|
+
STRICT_GROUPING: function(t, d) {
|
|
1996
|
+
var e = d.candidate, n = d.defaultCountry, r = d.metadata;
|
|
1997
|
+
return d.regExpCache, !t.isValid() || !n0(t, e, r) || e2(t, e) || !t2(t, {
|
|
1998
|
+
defaultCountry: n,
|
|
1999
|
+
metadata: r
|
|
2000
|
+
}) ? !1 : n2();
|
|
2001
|
+
},
|
|
2002
|
+
/**
|
|
2003
|
+
* Phone numbers accepted are "valid" and are grouped in the same way
|
|
2004
|
+
* that we would have formatted it, or as a single block.
|
|
2005
|
+
* For example, a US number written as "650 2530000" is not accepted
|
|
2006
|
+
* at this leniency level, whereas "650 253 0000" or "6502530000" are.
|
|
2007
|
+
* Numbers with more than one '/' symbol are also dropped at this level.
|
|
2008
|
+
*
|
|
2009
|
+
* Warning: This level might result in lower coverage especially for regions outside of
|
|
2010
|
+
* country code "+1". If you are not sure about which level to use, email the discussion group
|
|
2011
|
+
* libphonenumber-discuss@googlegroups.com.
|
|
2012
|
+
*/
|
|
2013
|
+
EXACT_GROUPING: function(t, d) {
|
|
2014
|
+
var e = d.candidate, n = d.defaultCountry, r = d.metadata;
|
|
2015
|
+
return d.regExpCache, !t.isValid() || !n0(t, e, r) || e2(t, e) || !t2(t, {
|
|
2016
|
+
defaultCountry: n,
|
|
2017
|
+
metadata: r
|
|
2018
|
+
}) ? !1 : n2();
|
|
2019
|
+
}
|
|
2020
|
+
};
|
|
2021
|
+
function n0(t, d, e) {
|
|
2022
|
+
for (var n = 0; n < d.length - 1; n++) {
|
|
2023
|
+
var r = d.charAt(n);
|
|
2024
|
+
if (r === "x" || r === "X") {
|
|
2025
|
+
var i = d.charAt(n + 1);
|
|
2026
|
+
if (i === "x" || i === "X") {
|
|
2027
|
+
if (n++, Nt(d.substring(n), t, e) !== "NSN_MATCH")
|
|
2028
|
+
return !1;
|
|
2029
|
+
} else {
|
|
2030
|
+
var a = w(d.substring(n));
|
|
2031
|
+
if (a) {
|
|
2032
|
+
if (t.ext !== a)
|
|
2033
|
+
return !1;
|
|
2034
|
+
} else if (t.ext)
|
|
2035
|
+
return !1;
|
|
2036
|
+
}
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
return !0;
|
|
2040
|
+
}
|
|
2041
|
+
function t2(t, d) {
|
|
2042
|
+
var e = d.defaultCountry, n = d.metadata;
|
|
2043
|
+
if (t.__countryCallingCodeSource !== "FROM_DEFAULT_COUNTRY")
|
|
2044
|
+
return !0;
|
|
2045
|
+
var r = new c(n);
|
|
2046
|
+
r.selectNumberingPlan(t.countryCallingCode), t.country || w0(t.countryCallingCode, {
|
|
2047
|
+
nationalNumber: t.nationalNumber,
|
|
2048
|
+
defaultCountry: e,
|
|
2049
|
+
metadata: r
|
|
2050
|
+
});
|
|
2051
|
+
var i = t.nationalNumber, a = E2(r.numberingPlan.formats(), i);
|
|
2052
|
+
return a.nationalPrefixFormattingRule() ? r.numberingPlan.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !a.usesNationalPrefix() ? !0 : !!t.nationalPrefix : !0;
|
|
2053
|
+
}
|
|
2054
|
+
function e2(t, d) {
|
|
2055
|
+
var e = d.indexOf("/");
|
|
2056
|
+
if (e < 0)
|
|
2057
|
+
return !1;
|
|
2058
|
+
var n = d.indexOf("/", e + 1);
|
|
2059
|
+
if (n < 0)
|
|
2060
|
+
return !1;
|
|
2061
|
+
var r = t.__countryCallingCodeSource === "FROM_NUMBER_WITH_PLUS_SIGN" || t.__countryCallingCodeSource === "FROM_NUMBER_WITHOUT_PLUS_SIGN";
|
|
2062
|
+
return r && w(d.substring(0, e)) === t.countryCallingCode ? d.slice(n + 1).indexOf("/") >= 0 : !0;
|
|
2063
|
+
}
|
|
2064
|
+
function n2(t, d, e, n, r) {
|
|
2065
|
+
throw new Error("This part of code hasn't been ported");
|
|
2066
|
+
}
|
|
2067
|
+
var Pt = /[\\/] *x/;
|
|
2068
|
+
function St(t) {
|
|
2069
|
+
return c0(Pt, t);
|
|
2070
|
+
}
|
|
2071
|
+
var xt = /(?:(?:[0-3]?\d\/[01]?\d)|(?:[01]?\d\/[0-3]?\d))\/(?:[12]\d)?\d{2}/, wt = /[12]\d{3}[-/]?[01]\d[-/]?[0-3]\d +[0-2]\d$/, Ot = /^:[0-5]\d/;
|
|
2072
|
+
function Et(t, d, e) {
|
|
2073
|
+
if (xt.test(t))
|
|
2074
|
+
return !1;
|
|
2075
|
+
if (wt.test(t)) {
|
|
2076
|
+
var n = e.slice(d + t.length);
|
|
2077
|
+
if (Ot.test(n))
|
|
2078
|
+
return !1;
|
|
2079
|
+
}
|
|
2080
|
+
return !0;
|
|
2081
|
+
}
|
|
2082
|
+
var X = "(\\[([", f0 = ")\\])]", K = "[^".concat(X).concat(f0, "]"), D2 = "[".concat(X).concat(W, "]"), Tt = new RegExp("^" + D2), It = V(0, 3), At = new RegExp("^(?:[" + X + "])?(?:" + K + "+[" + f0 + "])?" + K + "+(?:[" + X + "]" + K + "+[" + f0 + "])" + It + K + "*$"), Ft = /\d{1,5}-+\d{1,5}\s{0,4}\(\d{1,4}/;
|
|
2083
|
+
function kt(t, d, e, n) {
|
|
2084
|
+
if (!(!At.test(t) || Ft.test(t))) {
|
|
2085
|
+
if (n !== "POSSIBLE") {
|
|
2086
|
+
if (d > 0 && !Tt.test(t)) {
|
|
2087
|
+
var r = e[d - 1];
|
|
2088
|
+
if (q0(r) || z0(r))
|
|
2089
|
+
return !1;
|
|
2090
|
+
}
|
|
2091
|
+
var i = d + t.length;
|
|
2092
|
+
if (i < e.length) {
|
|
2093
|
+
var a = e[i];
|
|
2094
|
+
if (q0(a) || z0(a))
|
|
2095
|
+
return !1;
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
return !0;
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
function j(t) {
|
|
2102
|
+
"@babel/helpers - typeof";
|
|
2103
|
+
return j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
2104
|
+
return typeof d;
|
|
2105
|
+
} : function(d) {
|
|
2106
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
2107
|
+
}, j(t);
|
|
2108
|
+
}
|
|
2109
|
+
function Mt(t, d) {
|
|
2110
|
+
if (!(t instanceof d))
|
|
2111
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2112
|
+
}
|
|
2113
|
+
function Rt(t, d) {
|
|
2114
|
+
for (var e = 0; e < d.length; e++) {
|
|
2115
|
+
var n = d[e];
|
|
2116
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, Dt(n.key), n);
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
function jt(t, d, e) {
|
|
2120
|
+
return d && Rt(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2121
|
+
}
|
|
2122
|
+
function Dt(t) {
|
|
2123
|
+
var d = _t(t, "string");
|
|
2124
|
+
return j(d) == "symbol" ? d : d + "";
|
|
2125
|
+
}
|
|
2126
|
+
function _t(t, d) {
|
|
2127
|
+
if (j(t) != "object" || !t)
|
|
2128
|
+
return t;
|
|
2129
|
+
var e = t[Symbol.toPrimitive];
|
|
2130
|
+
if (e !== void 0) {
|
|
2131
|
+
var n = e.call(t, d);
|
|
2132
|
+
if (j(n) != "object")
|
|
2133
|
+
return n;
|
|
2134
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2135
|
+
}
|
|
2136
|
+
return String(t);
|
|
2137
|
+
}
|
|
2138
|
+
var Lt = S0(), Gt = [
|
|
2139
|
+
// Breaks on the slash - e.g. "651-234-2345/332-445-1234"
|
|
2140
|
+
"\\/+(.*)/",
|
|
2141
|
+
// Note that the bracket here is inside the capturing group, since we consider it part of the
|
|
2142
|
+
// phone number. Will match a pattern like "(650) 223 3345 (754) 223 3321".
|
|
2143
|
+
"(\\([^(]*)",
|
|
2144
|
+
// Breaks on a hyphen - e.g. "12345 - 332-445-1234 is my number."
|
|
2145
|
+
// We require a space on either side of the hyphen for it to be considered a separator.
|
|
2146
|
+
"(?:".concat(S, "-|-").concat(S, ")").concat(S, "*(.+)"),
|
|
2147
|
+
// Various types of wide hyphens. Note we have decided not to enforce a space here, since it's
|
|
2148
|
+
// possible that it's supposed to be used to break two numbers without spaces, and we haven't
|
|
2149
|
+
// seen many instances of it used within a number.
|
|
2150
|
+
"[‒-―-]".concat(S, "*(.+)"),
|
|
2151
|
+
// Breaks on a full stop - e.g. "12345. 332-445-1234 is my number."
|
|
2152
|
+
"\\.+".concat(S, "*([^.]+)"),
|
|
2153
|
+
// Breaks on space - e.g. "3324451234 8002341234"
|
|
2154
|
+
"".concat(S, "+(").concat(nt, "+)")
|
|
2155
|
+
], Bt = V(0, 2), Ut = V(0, 4), _2 = C2 + N2, Ht = V(0, _2), r2 = "[".concat(p, "]") + Ut, i2 = at + V(1, _2), Wt = "(?:" + D2 + r2 + ")" + Bt + i2 + "(?:" + r2 + i2 + ")" + Ht + "(?:" + Lt + ")?", a2 = new RegExp("[^".concat(rt).concat(j2, "#]+$")), Vt = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1, L2 = /* @__PURE__ */ (function() {
|
|
2156
|
+
function t() {
|
|
2157
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
|
|
2158
|
+
if (Mt(this, t), e = {
|
|
2159
|
+
v2: e.v2,
|
|
2160
|
+
defaultCallingCode: e.defaultCallingCode,
|
|
2161
|
+
defaultCountry: e.defaultCountry && p2(e.defaultCountry, n) ? e.defaultCountry : void 0,
|
|
2162
|
+
// Here it should've assigned a default value only if `options.leniency === undefined`.
|
|
2163
|
+
leniency: e.leniency || (e.extended ? "POSSIBLE" : "VALID"),
|
|
2164
|
+
// Here it should've assigned a default value only if `options.maxTries === undefined`.
|
|
2165
|
+
maxTries: e.maxTries || Vt
|
|
2166
|
+
}, !d2[e.leniency])
|
|
2167
|
+
throw new TypeError('Unknown leniency: "'.concat(e.leniency, '"'));
|
|
2168
|
+
if (e.leniency !== "POSSIBLE" && e.leniency !== "VALID")
|
|
2169
|
+
throw new TypeError('Invalid `leniency`: "'.concat(e.leniency, '". Supported values: "POSSIBLE", "VALID".'));
|
|
2170
|
+
if (e.maxTries < 0)
|
|
2171
|
+
throw new TypeError("`maxTries` must be `>= 0`");
|
|
2172
|
+
this.text = d, this.options = e, this.metadata = n, this.leniency = d2[e.leniency], this.maxTries = e.maxTries, this.PATTERN = new RegExp(Wt, "ig"), this.state = "NOT_READY", this.searchIndex = 0, this.regExpCache = new et(32);
|
|
2173
|
+
}
|
|
2174
|
+
return jt(t, [{
|
|
2175
|
+
key: "find",
|
|
2176
|
+
value: function() {
|
|
2177
|
+
for (var d; this.maxTries > 0 && (d = this.PATTERN.exec(this.text)) !== null; ) {
|
|
2178
|
+
var e = d[0], n = d.index;
|
|
2179
|
+
if (e = St(e), Et(e, n, this.text)) {
|
|
2180
|
+
var r = (
|
|
2181
|
+
// Try to come up with a valid match given the entire candidate.
|
|
2182
|
+
this.parseAndVerify(e, n, this.text) || this.extractInnerMatch(e, n, this.text)
|
|
2183
|
+
);
|
|
2184
|
+
if (r) {
|
|
2185
|
+
if (this.options.v2)
|
|
2186
|
+
return {
|
|
2187
|
+
startsAt: r.startsAt,
|
|
2188
|
+
endsAt: r.endsAt,
|
|
2189
|
+
number: r.phoneNumber
|
|
2190
|
+
};
|
|
2191
|
+
var i = r.phoneNumber, a = {
|
|
2192
|
+
startsAt: r.startsAt,
|
|
2193
|
+
endsAt: r.endsAt,
|
|
2194
|
+
phone: i.nationalNumber
|
|
2195
|
+
};
|
|
2196
|
+
return i.country ? a.country = i.country : a.countryCallingCode = i.countryCallingCode, i.ext && (a.ext = i.ext), a;
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
this.maxTries--;
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
/**
|
|
2203
|
+
* Attempts to extract a match from `substring`
|
|
2204
|
+
* if the substring itself does not qualify as a match.
|
|
2205
|
+
*/
|
|
2206
|
+
}, {
|
|
2207
|
+
key: "extractInnerMatch",
|
|
2208
|
+
value: function(d, e, n) {
|
|
2209
|
+
for (var r = 0, i = Gt; r < i.length; r++)
|
|
2210
|
+
for (var a = i[r], o = !0, $ = void 0, u = new RegExp(a, "g"); this.maxTries > 0 && ($ = u.exec(d)) !== null; ) {
|
|
2211
|
+
if (o) {
|
|
2212
|
+
var l = c0(a2, d.slice(0, $.index)), f = this.parseAndVerify(l, e, n);
|
|
2213
|
+
if (f)
|
|
2214
|
+
return f;
|
|
2215
|
+
this.maxTries--, o = !1;
|
|
2216
|
+
}
|
|
2217
|
+
var s = c0(a2, $[1]), y = d.indexOf(s, $.index), m = this.parseAndVerify(s, e + y, n);
|
|
2218
|
+
if (m)
|
|
2219
|
+
return m;
|
|
2220
|
+
this.maxTries--;
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
/**
|
|
2224
|
+
* Parses a phone number from the `candidate` using `parse` and
|
|
2225
|
+
* verifies it matches the requested `leniency`. If parsing and verification succeed,
|
|
2226
|
+
* a corresponding `PhoneNumberMatch` is returned, otherwise this method returns `null`.
|
|
2227
|
+
*
|
|
2228
|
+
* @param candidate the candidate match
|
|
2229
|
+
* @param offset the offset of {@code candidate} within {@link #text}
|
|
2230
|
+
* @return the parsed and validated phone number match, or null
|
|
2231
|
+
*/
|
|
2232
|
+
}, {
|
|
2233
|
+
key: "parseAndVerify",
|
|
2234
|
+
value: function(d, e, n) {
|
|
2235
|
+
if (kt(d, e, n, this.options.leniency)) {
|
|
2236
|
+
var r = J(d, {
|
|
2237
|
+
extended: !0,
|
|
2238
|
+
defaultCountry: this.options.defaultCountry,
|
|
2239
|
+
defaultCallingCode: this.options.defaultCallingCode
|
|
2240
|
+
}, this.metadata);
|
|
2241
|
+
if (r && r.isPossible() && this.leniency(r, {
|
|
2242
|
+
candidate: d,
|
|
2243
|
+
defaultCountry: this.options.defaultCountry,
|
|
2244
|
+
metadata: this.metadata,
|
|
2245
|
+
regExpCache: this.regExpCache
|
|
2246
|
+
}))
|
|
2247
|
+
return {
|
|
2248
|
+
startsAt: e,
|
|
2249
|
+
endsAt: e + d.length,
|
|
2250
|
+
phoneNumber: r
|
|
2251
|
+
};
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
}, {
|
|
2255
|
+
key: "hasNext",
|
|
2256
|
+
value: function() {
|
|
2257
|
+
return this.state === "NOT_READY" && (this.lastMatch = this.find(), this.lastMatch ? this.state = "READY" : this.state = "DONE"), this.state === "READY";
|
|
2258
|
+
}
|
|
2259
|
+
}, {
|
|
2260
|
+
key: "next",
|
|
2261
|
+
value: function() {
|
|
2262
|
+
if (!this.hasNext())
|
|
2263
|
+
throw new Error("No next element");
|
|
2264
|
+
var d = this.lastMatch;
|
|
2265
|
+
return this.lastMatch = null, this.state = "NOT_READY", d;
|
|
2266
|
+
}
|
|
2267
|
+
}]);
|
|
2268
|
+
})();
|
|
2269
|
+
function D(t) {
|
|
2270
|
+
"@babel/helpers - typeof";
|
|
2271
|
+
return D = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
2272
|
+
return typeof d;
|
|
2273
|
+
} : function(d) {
|
|
2274
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
2275
|
+
}, D(t);
|
|
2276
|
+
}
|
|
2277
|
+
function Kt(t, d) {
|
|
2278
|
+
if (!(t instanceof d))
|
|
2279
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2280
|
+
}
|
|
2281
|
+
function Yt(t, d) {
|
|
2282
|
+
for (var e = 0; e < d.length; e++) {
|
|
2283
|
+
var n = d[e];
|
|
2284
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, Jt(n.key), n);
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
function Zt(t, d, e) {
|
|
2288
|
+
return d && Yt(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2289
|
+
}
|
|
2290
|
+
function Jt(t) {
|
|
2291
|
+
var d = Xt(t, "string");
|
|
2292
|
+
return D(d) == "symbol" ? d : d + "";
|
|
2293
|
+
}
|
|
2294
|
+
function Xt(t, d) {
|
|
2295
|
+
if (D(t) != "object" || !t)
|
|
2296
|
+
return t;
|
|
2297
|
+
var e = t[Symbol.toPrimitive];
|
|
2298
|
+
if (e !== void 0) {
|
|
2299
|
+
var n = e.call(t, d);
|
|
2300
|
+
if (D(n) != "object")
|
|
2301
|
+
return n;
|
|
2302
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2303
|
+
}
|
|
2304
|
+
return String(t);
|
|
2305
|
+
}
|
|
2306
|
+
var Qt = /* @__PURE__ */ (function() {
|
|
2307
|
+
function t(d) {
|
|
2308
|
+
var e = d.onCountryChange, n = d.onCallingCodeChange;
|
|
2309
|
+
Kt(this, t), this.onCountryChange = e, this.onCallingCodeChange = n;
|
|
2310
|
+
}
|
|
2311
|
+
return Zt(t, [{
|
|
2312
|
+
key: "reset",
|
|
2313
|
+
value: function(d) {
|
|
2314
|
+
var e = d.country, n = d.callingCode;
|
|
2315
|
+
this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(e, n);
|
|
2316
|
+
}
|
|
2317
|
+
}, {
|
|
2318
|
+
key: "resetNationalSignificantNumber",
|
|
2319
|
+
value: function() {
|
|
2320
|
+
this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberMatchesInput = !0, this.nationalPrefix = void 0, this.carrierCode = void 0, this.complexPrefixBeforeNationalSignificantNumber = void 0;
|
|
2321
|
+
}
|
|
2322
|
+
}, {
|
|
2323
|
+
key: "update",
|
|
2324
|
+
value: function(d) {
|
|
2325
|
+
for (var e = 0, n = Object.keys(d); e < n.length; e++) {
|
|
2326
|
+
var r = n[e];
|
|
2327
|
+
this[r] = d[r];
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
}, {
|
|
2331
|
+
key: "initCountryAndCallingCode",
|
|
2332
|
+
value: function(d, e) {
|
|
2333
|
+
this.setCountry(d), this.setCallingCode(e);
|
|
2334
|
+
}
|
|
2335
|
+
}, {
|
|
2336
|
+
key: "setCountry",
|
|
2337
|
+
value: function(d) {
|
|
2338
|
+
this.country = d, this.onCountryChange(d);
|
|
2339
|
+
}
|
|
2340
|
+
}, {
|
|
2341
|
+
key: "setCallingCode",
|
|
2342
|
+
value: function(d) {
|
|
2343
|
+
this.callingCode = d, this.onCallingCodeChange(d, this.country);
|
|
2344
|
+
}
|
|
2345
|
+
}, {
|
|
2346
|
+
key: "startInternationalNumber",
|
|
2347
|
+
value: function(d, e) {
|
|
2348
|
+
this.international = !0, this.initCountryAndCallingCode(d, e);
|
|
2349
|
+
}
|
|
2350
|
+
}, {
|
|
2351
|
+
key: "appendDigits",
|
|
2352
|
+
value: function(d) {
|
|
2353
|
+
this.digits += d;
|
|
2354
|
+
}
|
|
2355
|
+
}, {
|
|
2356
|
+
key: "appendNationalSignificantNumberDigits",
|
|
2357
|
+
value: function(d) {
|
|
2358
|
+
this.nationalSignificantNumber += d;
|
|
2359
|
+
}
|
|
2360
|
+
/**
|
|
2361
|
+
* Returns the part of `this.digits` that corresponds to the national number.
|
|
2362
|
+
* Basically, all digits that have been input by the user, except for the
|
|
2363
|
+
* international prefix and the country calling code part
|
|
2364
|
+
* (if the number is an international one).
|
|
2365
|
+
* @return {string}
|
|
2366
|
+
*/
|
|
2367
|
+
}, {
|
|
2368
|
+
key: "getNationalDigits",
|
|
2369
|
+
value: function() {
|
|
2370
|
+
return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
|
|
2371
|
+
}
|
|
2372
|
+
}, {
|
|
2373
|
+
key: "getDigitsWithoutInternationalPrefix",
|
|
2374
|
+
value: function() {
|
|
2375
|
+
return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
|
|
2376
|
+
}
|
|
2377
|
+
}]);
|
|
2378
|
+
})();
|
|
2379
|
+
function zt(t, d) {
|
|
2380
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2381
|
+
if (e)
|
|
2382
|
+
return (e = e.call(t)).next.bind(e);
|
|
2383
|
+
if (Array.isArray(t) || (e = qt(t)) || d) {
|
|
2384
|
+
e && (t = e);
|
|
2385
|
+
var n = 0;
|
|
2386
|
+
return function() {
|
|
2387
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
2388
|
+
};
|
|
2389
|
+
}
|
|
2390
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2391
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2392
|
+
}
|
|
2393
|
+
function qt(t, d) {
|
|
2394
|
+
if (t) {
|
|
2395
|
+
if (typeof t == "string")
|
|
2396
|
+
return o2(t, d);
|
|
2397
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
2398
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? o2(t, d) : void 0;
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
function o2(t, d) {
|
|
2402
|
+
(d == null || d > t.length) && (d = t.length);
|
|
2403
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
2404
|
+
n[e] = t[e];
|
|
2405
|
+
return n;
|
|
2406
|
+
}
|
|
2407
|
+
var b = "x", r0 = new RegExp(b);
|
|
2408
|
+
function Y(t, d) {
|
|
2409
|
+
if (d < 1)
|
|
2410
|
+
return "";
|
|
2411
|
+
for (var e = ""; d > 1; )
|
|
2412
|
+
d & 1 && (e += t), d >>= 1, t += t;
|
|
2413
|
+
return e + t;
|
|
2414
|
+
}
|
|
2415
|
+
function $2(t, d) {
|
|
2416
|
+
return t[d] === ")" && d++, d9(t.slice(0, d));
|
|
2417
|
+
}
|
|
2418
|
+
function d9(t) {
|
|
2419
|
+
for (var d = [], e = 0; e < t.length; )
|
|
2420
|
+
t[e] === "(" ? d.push(e) : t[e] === ")" && d.pop(), e++;
|
|
2421
|
+
var n = 0, r = "";
|
|
2422
|
+
d.push(t.length);
|
|
2423
|
+
for (var i = 0, a = d; i < a.length; i++) {
|
|
2424
|
+
var o = a[i];
|
|
2425
|
+
r += t.slice(n, o), n = o + 1;
|
|
2426
|
+
}
|
|
2427
|
+
return r;
|
|
2428
|
+
}
|
|
2429
|
+
function t9(t, d, e) {
|
|
2430
|
+
for (var n = zt(e.split("")), r; !(r = n()).done; ) {
|
|
2431
|
+
var i = r.value;
|
|
2432
|
+
if (t.slice(d + 1).search(r0) < 0)
|
|
2433
|
+
return;
|
|
2434
|
+
d = t.search(r0), t = t.replace(r0, i);
|
|
2435
|
+
}
|
|
2436
|
+
return [t, d];
|
|
2437
|
+
}
|
|
2438
|
+
function e9(t, d, e) {
|
|
2439
|
+
var n = e.metadata, r = e.shouldTryNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix, a = new RegExp("^(?:".concat(d.pattern(), ")$"));
|
|
2440
|
+
if (a.test(t.nationalSignificantNumber))
|
|
2441
|
+
return r9(t, d, {
|
|
2442
|
+
metadata: n,
|
|
2443
|
+
shouldTryNationalPrefixFormattingRule: r,
|
|
2444
|
+
getSeparatorAfterNationalPrefix: i
|
|
2445
|
+
});
|
|
2446
|
+
}
|
|
2447
|
+
function n9(t, d) {
|
|
2448
|
+
return q(t, d) === "IS_POSSIBLE";
|
|
2449
|
+
}
|
|
2450
|
+
function r9(t, d, e) {
|
|
2451
|
+
var n = e.metadata, r = e.shouldTryNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix;
|
|
2452
|
+
if (t.nationalSignificantNumber, t.international, t.nationalPrefix, t.carrierCode, r(d)) {
|
|
2453
|
+
var a = u2(t, d, {
|
|
2454
|
+
useNationalPrefixFormattingRule: !0,
|
|
2455
|
+
getSeparatorAfterNationalPrefix: i,
|
|
2456
|
+
metadata: n
|
|
2457
|
+
});
|
|
2458
|
+
if (a)
|
|
2459
|
+
return a;
|
|
2460
|
+
}
|
|
2461
|
+
return u2(t, d, {
|
|
2462
|
+
useNationalPrefixFormattingRule: !1,
|
|
2463
|
+
getSeparatorAfterNationalPrefix: i,
|
|
2464
|
+
metadata: n
|
|
2465
|
+
});
|
|
2466
|
+
}
|
|
2467
|
+
function u2(t, d, e) {
|
|
2468
|
+
var n = e.metadata, r = e.useNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix, a = O2(t.nationalSignificantNumber, d, {
|
|
2469
|
+
carrierCode: t.carrierCode,
|
|
2470
|
+
useInternationalFormat: t.international,
|
|
2471
|
+
withNationalPrefix: r,
|
|
2472
|
+
metadata: n
|
|
2473
|
+
});
|
|
2474
|
+
if (r || (t.nationalPrefix ? a = t.nationalPrefix + i(d) + a : t.complexPrefixBeforeNationalSignificantNumber && (a = t.complexPrefixBeforeNationalSignificantNumber + " " + a)), i9(a, t))
|
|
2475
|
+
return a;
|
|
2476
|
+
}
|
|
2477
|
+
function i9(t, d) {
|
|
2478
|
+
return w(t) === d.getNationalDigits();
|
|
2479
|
+
}
|
|
2480
|
+
function _(t) {
|
|
2481
|
+
"@babel/helpers - typeof";
|
|
2482
|
+
return _ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
2483
|
+
return typeof d;
|
|
2484
|
+
} : function(d) {
|
|
2485
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
2486
|
+
}, _(t);
|
|
2487
|
+
}
|
|
2488
|
+
function a9(t, d) {
|
|
2489
|
+
if (!(t instanceof d))
|
|
2490
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2491
|
+
}
|
|
2492
|
+
function o9(t, d) {
|
|
2493
|
+
for (var e = 0; e < d.length; e++) {
|
|
2494
|
+
var n = d[e];
|
|
2495
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, u9(n.key), n);
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
function $9(t, d, e) {
|
|
2499
|
+
return d && o9(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2500
|
+
}
|
|
2501
|
+
function u9(t) {
|
|
2502
|
+
var d = l9(t, "string");
|
|
2503
|
+
return _(d) == "symbol" ? d : d + "";
|
|
2504
|
+
}
|
|
2505
|
+
function l9(t, d) {
|
|
2506
|
+
if (_(t) != "object" || !t)
|
|
2507
|
+
return t;
|
|
2508
|
+
var e = t[Symbol.toPrimitive];
|
|
2509
|
+
if (e !== void 0) {
|
|
2510
|
+
var n = e.call(t, d);
|
|
2511
|
+
if (_(n) != "object")
|
|
2512
|
+
return n;
|
|
2513
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2514
|
+
}
|
|
2515
|
+
return String(t);
|
|
2516
|
+
}
|
|
2517
|
+
var s9 = /* @__PURE__ */ (function() {
|
|
2518
|
+
function t() {
|
|
2519
|
+
a9(this, t);
|
|
2520
|
+
}
|
|
2521
|
+
return $9(t, [{
|
|
2522
|
+
key: "parse",
|
|
2523
|
+
value: function(d) {
|
|
2524
|
+
if (this.context = [{
|
|
2525
|
+
or: !0,
|
|
2526
|
+
instructions: []
|
|
2527
|
+
}], this.parsePattern(d), this.context.length !== 1)
|
|
2528
|
+
throw new Error("Non-finalized contexts left when pattern parse ended");
|
|
2529
|
+
var e = this.context[0], n = e.branches, r = e.instructions;
|
|
2530
|
+
if (n)
|
|
2531
|
+
return {
|
|
2532
|
+
op: "|",
|
|
2533
|
+
args: n.concat([i0(r)])
|
|
2534
|
+
};
|
|
2535
|
+
if (r.length === 0)
|
|
2536
|
+
throw new Error("Pattern is required");
|
|
2537
|
+
return r.length === 1 ? r[0] : r;
|
|
2538
|
+
}
|
|
2539
|
+
}, {
|
|
2540
|
+
key: "startContext",
|
|
2541
|
+
value: function(d) {
|
|
2542
|
+
this.context.push(d);
|
|
2543
|
+
}
|
|
2544
|
+
}, {
|
|
2545
|
+
key: "endContext",
|
|
2546
|
+
value: function() {
|
|
2547
|
+
this.context.pop();
|
|
2548
|
+
}
|
|
2549
|
+
}, {
|
|
2550
|
+
key: "getContext",
|
|
2551
|
+
value: function() {
|
|
2552
|
+
return this.context[this.context.length - 1];
|
|
2553
|
+
}
|
|
2554
|
+
}, {
|
|
2555
|
+
key: "parsePattern",
|
|
2556
|
+
value: function(d) {
|
|
2557
|
+
if (!d)
|
|
2558
|
+
throw new Error("Pattern is required");
|
|
2559
|
+
var e = d.match(h9);
|
|
2560
|
+
if (!e) {
|
|
2561
|
+
if (f9.test(d))
|
|
2562
|
+
throw new Error("Illegal characters found in a pattern: ".concat(d));
|
|
2563
|
+
this.getContext().instructions = this.getContext().instructions.concat(d.split(""));
|
|
2564
|
+
return;
|
|
2565
|
+
}
|
|
2566
|
+
var n = e[1], r = d.slice(0, e.index), i = d.slice(e.index + n.length);
|
|
2567
|
+
switch (n) {
|
|
2568
|
+
case "(?:":
|
|
2569
|
+
r && this.parsePattern(r), this.startContext({
|
|
2570
|
+
or: !0,
|
|
2571
|
+
instructions: [],
|
|
2572
|
+
branches: []
|
|
2573
|
+
});
|
|
2574
|
+
break;
|
|
2575
|
+
case ")":
|
|
2576
|
+
if (!this.getContext().or)
|
|
2577
|
+
throw new Error('")" operator must be preceded by "(?:" operator');
|
|
2578
|
+
if (r && this.parsePattern(r), this.getContext().instructions.length === 0)
|
|
2579
|
+
throw new Error('No instructions found after "|" operator in an "or" group');
|
|
2580
|
+
var a = this.getContext(), o = a.branches;
|
|
2581
|
+
o.push(i0(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
|
|
2582
|
+
op: "|",
|
|
2583
|
+
args: o
|
|
2584
|
+
});
|
|
2585
|
+
break;
|
|
2586
|
+
case "|":
|
|
2587
|
+
if (!this.getContext().or)
|
|
2588
|
+
throw new Error('"|" operator can only be used inside "or" groups');
|
|
2589
|
+
if (r && this.parsePattern(r), !this.getContext().branches)
|
|
2590
|
+
if (this.context.length === 1)
|
|
2591
|
+
this.getContext().branches = [];
|
|
2592
|
+
else
|
|
2593
|
+
throw new Error('"branches" not found in an "or" group context');
|
|
2594
|
+
this.getContext().branches.push(i0(this.getContext().instructions)), this.getContext().instructions = [];
|
|
2595
|
+
break;
|
|
2596
|
+
case "[":
|
|
2597
|
+
r && this.parsePattern(r), this.startContext({
|
|
2598
|
+
oneOfSet: !0
|
|
2599
|
+
});
|
|
2600
|
+
break;
|
|
2601
|
+
case "]":
|
|
2602
|
+
if (!this.getContext().oneOfSet)
|
|
2603
|
+
throw new Error('"]" operator must be preceded by "[" operator');
|
|
2604
|
+
this.endContext(), this.getContext().instructions.push({
|
|
2605
|
+
op: "[]",
|
|
2606
|
+
args: c9(r)
|
|
2607
|
+
});
|
|
2608
|
+
break;
|
|
2609
|
+
default:
|
|
2610
|
+
throw new Error("Unknown operator: ".concat(n));
|
|
2611
|
+
}
|
|
2612
|
+
i && this.parsePattern(i);
|
|
2613
|
+
}
|
|
2614
|
+
}]);
|
|
2615
|
+
})();
|
|
2616
|
+
function c9(t) {
|
|
2617
|
+
for (var d = [], e = 0; e < t.length; ) {
|
|
2618
|
+
if (t[e] === "-") {
|
|
2619
|
+
if (e === 0 || e === t.length - 1)
|
|
2620
|
+
throw new Error("Couldn't parse a one-of set pattern: ".concat(t));
|
|
2621
|
+
for (var n = t[e - 1].charCodeAt(0) + 1, r = t[e + 1].charCodeAt(0) - 1, i = n; i <= r; )
|
|
2622
|
+
d.push(String.fromCharCode(i)), i++;
|
|
2623
|
+
} else
|
|
2624
|
+
d.push(t[e]);
|
|
2625
|
+
e++;
|
|
2626
|
+
}
|
|
2627
|
+
return d;
|
|
2628
|
+
}
|
|
2629
|
+
var f9 = /[\(\)\[\]\?\:\|]/, h9 = new RegExp(
|
|
2630
|
+
// any of:
|
|
2631
|
+
"(\\||\\(\\?\\:|\\)|\\[|\\])"
|
|
2632
|
+
);
|
|
2633
|
+
function i0(t) {
|
|
2634
|
+
return t.length === 1 ? t[0] : t;
|
|
2635
|
+
}
|
|
2636
|
+
function l2(t, d) {
|
|
2637
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2638
|
+
if (e)
|
|
2639
|
+
return (e = e.call(t)).next.bind(e);
|
|
2640
|
+
if (Array.isArray(t) || (e = m9(t)) || d) {
|
|
2641
|
+
e && (t = e);
|
|
2642
|
+
var n = 0;
|
|
2643
|
+
return function() {
|
|
2644
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
2645
|
+
};
|
|
2646
|
+
}
|
|
2647
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2648
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2649
|
+
}
|
|
2650
|
+
function m9(t, d) {
|
|
2651
|
+
if (t) {
|
|
2652
|
+
if (typeof t == "string")
|
|
2653
|
+
return s2(t, d);
|
|
2654
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
2655
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? s2(t, d) : void 0;
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
function s2(t, d) {
|
|
2659
|
+
(d == null || d > t.length) && (d = t.length);
|
|
2660
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
2661
|
+
n[e] = t[e];
|
|
2662
|
+
return n;
|
|
2663
|
+
}
|
|
2664
|
+
function L(t) {
|
|
2665
|
+
"@babel/helpers - typeof";
|
|
2666
|
+
return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
2667
|
+
return typeof d;
|
|
2668
|
+
} : function(d) {
|
|
2669
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
2670
|
+
}, L(t);
|
|
2671
|
+
}
|
|
2672
|
+
function y9(t, d) {
|
|
2673
|
+
if (!(t instanceof d))
|
|
2674
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2675
|
+
}
|
|
2676
|
+
function g9(t, d) {
|
|
2677
|
+
for (var e = 0; e < d.length; e++) {
|
|
2678
|
+
var n = d[e];
|
|
2679
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, b9(n.key), n);
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
function p9(t, d, e) {
|
|
2683
|
+
return d && g9(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2684
|
+
}
|
|
2685
|
+
function b9(t) {
|
|
2686
|
+
var d = v9(t, "string");
|
|
2687
|
+
return L(d) == "symbol" ? d : d + "";
|
|
2688
|
+
}
|
|
2689
|
+
function v9(t, d) {
|
|
2690
|
+
if (L(t) != "object" || !t)
|
|
2691
|
+
return t;
|
|
2692
|
+
var e = t[Symbol.toPrimitive];
|
|
2693
|
+
if (e !== void 0) {
|
|
2694
|
+
var n = e.call(t, d);
|
|
2695
|
+
if (L(n) != "object")
|
|
2696
|
+
return n;
|
|
2697
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2698
|
+
}
|
|
2699
|
+
return String(t);
|
|
2700
|
+
}
|
|
2701
|
+
var C9 = /* @__PURE__ */ (function() {
|
|
2702
|
+
function t(d) {
|
|
2703
|
+
y9(this, t), this.matchTree = new s9().parse(d);
|
|
2704
|
+
}
|
|
2705
|
+
return p9(t, [{
|
|
2706
|
+
key: "match",
|
|
2707
|
+
value: function(d) {
|
|
2708
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.allowOverflow;
|
|
2709
|
+
if (!d)
|
|
2710
|
+
throw new Error("String is required");
|
|
2711
|
+
var r = h0(d.split(""), this.matchTree, !0);
|
|
2712
|
+
if (r && r.match && delete r.matchedChars, !(r && r.overflow && !n))
|
|
2713
|
+
return r;
|
|
2714
|
+
}
|
|
2715
|
+
}]);
|
|
2716
|
+
})();
|
|
2717
|
+
function h0(t, d, e) {
|
|
2718
|
+
if (typeof d == "string") {
|
|
2719
|
+
var n = t.join("");
|
|
2720
|
+
return d.indexOf(n) === 0 ? t.length === d.length ? {
|
|
2721
|
+
match: !0,
|
|
2722
|
+
matchedChars: t
|
|
2723
|
+
} : {
|
|
2724
|
+
partialMatch: !0
|
|
2725
|
+
// matchedChars: characters
|
|
2726
|
+
} : n.indexOf(d) === 0 ? e && t.length > d.length ? {
|
|
2727
|
+
overflow: !0
|
|
2728
|
+
} : {
|
|
2729
|
+
match: !0,
|
|
2730
|
+
matchedChars: t.slice(0, d.length)
|
|
2731
|
+
} : void 0;
|
|
2732
|
+
}
|
|
2733
|
+
if (Array.isArray(d)) {
|
|
2734
|
+
for (var r = t.slice(), i = 0; i < d.length; ) {
|
|
2735
|
+
var a = d[i], o = h0(r, a, e && i === d.length - 1);
|
|
2736
|
+
if (o) {
|
|
2737
|
+
if (o.overflow)
|
|
2738
|
+
return o;
|
|
2739
|
+
if (o.match) {
|
|
2740
|
+
if (r = r.slice(o.matchedChars.length), r.length === 0)
|
|
2741
|
+
return i === d.length - 1 ? {
|
|
2742
|
+
match: !0,
|
|
2743
|
+
matchedChars: t
|
|
2744
|
+
} : {
|
|
2745
|
+
partialMatch: !0
|
|
2746
|
+
// matchedChars: characters
|
|
2747
|
+
};
|
|
2748
|
+
} else {
|
|
2749
|
+
if (o.partialMatch)
|
|
2750
|
+
return {
|
|
2751
|
+
partialMatch: !0
|
|
2752
|
+
// matchedChars: characters
|
|
2753
|
+
};
|
|
2754
|
+
throw new Error(`Unsupported match result:
|
|
2755
|
+
`.concat(JSON.stringify(o, null, 2)));
|
|
2756
|
+
}
|
|
2757
|
+
} else
|
|
2758
|
+
return;
|
|
2759
|
+
i++;
|
|
2760
|
+
}
|
|
2761
|
+
return e ? {
|
|
2762
|
+
overflow: !0
|
|
2763
|
+
} : {
|
|
2764
|
+
match: !0,
|
|
2765
|
+
matchedChars: t.slice(0, t.length - r.length)
|
|
2766
|
+
};
|
|
2767
|
+
}
|
|
2768
|
+
switch (d.op) {
|
|
2769
|
+
case "|":
|
|
2770
|
+
for (var $, u = l2(d.args), l; !(l = u()).done; ) {
|
|
2771
|
+
var f = l.value, s = h0(t, f, e);
|
|
2772
|
+
if (s) {
|
|
2773
|
+
if (s.overflow)
|
|
2774
|
+
return s;
|
|
2775
|
+
if (s.match)
|
|
2776
|
+
return {
|
|
2777
|
+
match: !0,
|
|
2778
|
+
matchedChars: s.matchedChars
|
|
2779
|
+
};
|
|
2780
|
+
if (s.partialMatch)
|
|
2781
|
+
$ = !0;
|
|
2782
|
+
else
|
|
2783
|
+
throw new Error(`Unsupported match result:
|
|
2784
|
+
`.concat(JSON.stringify(s, null, 2)));
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
return $ ? {
|
|
2788
|
+
partialMatch: !0
|
|
2789
|
+
// matchedChars: ...
|
|
2790
|
+
} : void 0;
|
|
2791
|
+
case "[]":
|
|
2792
|
+
for (var y = l2(d.args), m; !(m = y()).done; ) {
|
|
2793
|
+
var g = m.value;
|
|
2794
|
+
if (t[0] === g)
|
|
2795
|
+
return t.length === 1 ? {
|
|
2796
|
+
match: !0,
|
|
2797
|
+
matchedChars: t
|
|
2798
|
+
} : e ? {
|
|
2799
|
+
overflow: !0
|
|
2800
|
+
} : {
|
|
2801
|
+
match: !0,
|
|
2802
|
+
matchedChars: [g]
|
|
2803
|
+
};
|
|
2804
|
+
}
|
|
2805
|
+
return;
|
|
2806
|
+
default:
|
|
2807
|
+
throw new Error("Unsupported instruction tree: ".concat(d));
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
function G(t) {
|
|
2811
|
+
"@babel/helpers - typeof";
|
|
2812
|
+
return G = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
2813
|
+
return typeof d;
|
|
2814
|
+
} : function(d) {
|
|
2815
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
2816
|
+
}, G(t);
|
|
2817
|
+
}
|
|
2818
|
+
function c2(t, d) {
|
|
2819
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2820
|
+
if (e)
|
|
2821
|
+
return (e = e.call(t)).next.bind(e);
|
|
2822
|
+
if (Array.isArray(t) || (e = N9(t)) || d) {
|
|
2823
|
+
e && (t = e);
|
|
2824
|
+
var n = 0;
|
|
2825
|
+
return function() {
|
|
2826
|
+
return n >= t.length ? { done: !0 } : { done: !1, value: t[n++] };
|
|
2827
|
+
};
|
|
2828
|
+
}
|
|
2829
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2830
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2831
|
+
}
|
|
2832
|
+
function N9(t, d) {
|
|
2833
|
+
if (t) {
|
|
2834
|
+
if (typeof t == "string")
|
|
2835
|
+
return f2(t, d);
|
|
2836
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
2837
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? f2(t, d) : void 0;
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
function f2(t, d) {
|
|
2841
|
+
(d == null || d > t.length) && (d = t.length);
|
|
2842
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
2843
|
+
n[e] = t[e];
|
|
2844
|
+
return n;
|
|
2845
|
+
}
|
|
2846
|
+
function P9(t, d) {
|
|
2847
|
+
if (!(t instanceof d))
|
|
2848
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2849
|
+
}
|
|
2850
|
+
function S9(t, d) {
|
|
2851
|
+
for (var e = 0; e < d.length; e++) {
|
|
2852
|
+
var n = d[e];
|
|
2853
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, w9(n.key), n);
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
function x9(t, d, e) {
|
|
2857
|
+
return d && S9(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2858
|
+
}
|
|
2859
|
+
function w9(t) {
|
|
2860
|
+
var d = O9(t, "string");
|
|
2861
|
+
return G(d) == "symbol" ? d : d + "";
|
|
2862
|
+
}
|
|
2863
|
+
function O9(t, d) {
|
|
2864
|
+
if (G(t) != "object" || !t)
|
|
2865
|
+
return t;
|
|
2866
|
+
var e = t[Symbol.toPrimitive];
|
|
2867
|
+
if (e !== void 0) {
|
|
2868
|
+
var n = e.call(t, d);
|
|
2869
|
+
if (G(n) != "object")
|
|
2870
|
+
return n;
|
|
2871
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2872
|
+
}
|
|
2873
|
+
return String(t);
|
|
2874
|
+
}
|
|
2875
|
+
var m0 = "9", E9 = 15, T9 = Y(m0, E9), I9 = /[- ]/, A9 = function() {
|
|
2876
|
+
return /\[([^\[\]])*\]/g;
|
|
2877
|
+
}, F9 = function() {
|
|
2878
|
+
return /\d(?=[^,}][^,}])/g;
|
|
2879
|
+
}, k9 = new RegExp("[" + p + "]*\\$1[" + p + "]*(\\$\\d[" + p + "]*)*$"), h2 = 3, M9 = /* @__PURE__ */ (function() {
|
|
2880
|
+
function t(d) {
|
|
2881
|
+
d.state;
|
|
2882
|
+
var e = d.metadata;
|
|
2883
|
+
P9(this, t), this.metadata = e, this.resetFormat();
|
|
2884
|
+
}
|
|
2885
|
+
return x9(t, [{
|
|
2886
|
+
key: "resetFormat",
|
|
2887
|
+
value: function() {
|
|
2888
|
+
this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
|
|
2889
|
+
}
|
|
2890
|
+
}, {
|
|
2891
|
+
key: "reset",
|
|
2892
|
+
value: function(d, e) {
|
|
2893
|
+
this.resetFormat(), d ? (this.isNANP = d.callingCode() === "1", this.matchingFormats = d.formats(), e.nationalSignificantNumber && this.narrowDownMatchingFormats(e)) : (this.isNANP = void 0, this.matchingFormats = []);
|
|
2894
|
+
}
|
|
2895
|
+
/**
|
|
2896
|
+
* Formats an updated phone number.
|
|
2897
|
+
* @param {string} nextDigits — Additional phone number digits.
|
|
2898
|
+
* @param {object} state — `AsYouType` state.
|
|
2899
|
+
* @return {[string]} Returns undefined if the updated phone number can't be formatted using any of the available formats.
|
|
2900
|
+
*/
|
|
2901
|
+
}, {
|
|
2902
|
+
key: "format",
|
|
2903
|
+
value: function(d, e) {
|
|
2904
|
+
var n = this;
|
|
2905
|
+
if (n9(e.nationalSignificantNumber, this.metadata))
|
|
2906
|
+
for (var r = c2(this.matchingFormats), i; !(i = r()).done; ) {
|
|
2907
|
+
var a = i.value, o = e9(e, a, {
|
|
2908
|
+
metadata: this.metadata,
|
|
2909
|
+
shouldTryNationalPrefixFormattingRule: function($) {
|
|
2910
|
+
return n.shouldTryNationalPrefixFormattingRule($, {
|
|
2911
|
+
international: e.international,
|
|
2912
|
+
nationalPrefix: e.nationalPrefix
|
|
2913
|
+
});
|
|
2914
|
+
},
|
|
2915
|
+
getSeparatorAfterNationalPrefix: function($) {
|
|
2916
|
+
return n.getSeparatorAfterNationalPrefix($);
|
|
2917
|
+
}
|
|
2918
|
+
});
|
|
2919
|
+
if (o)
|
|
2920
|
+
return this.resetFormat(), this.chosenFormat = a, this.setNationalNumberTemplate(o.replace(/\d/g, b), e), this.populatedNationalNumberTemplate = o, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(b), o;
|
|
2921
|
+
}
|
|
2922
|
+
return this.formatNationalNumberWithNextDigits(d, e);
|
|
2923
|
+
}
|
|
2924
|
+
// Formats the next phone number digits.
|
|
2925
|
+
}, {
|
|
2926
|
+
key: "formatNationalNumberWithNextDigits",
|
|
2927
|
+
value: function(d, e) {
|
|
2928
|
+
var n = this.chosenFormat, r = this.chooseFormat(e);
|
|
2929
|
+
if (r)
|
|
2930
|
+
return r === n ? this.formatNextNationalNumberDigits(d) : this.formatNextNationalNumberDigits(e.getNationalDigits());
|
|
2931
|
+
}
|
|
2932
|
+
}, {
|
|
2933
|
+
key: "narrowDownMatchingFormats",
|
|
2934
|
+
value: function(d) {
|
|
2935
|
+
var e = this, n = d.nationalSignificantNumber, r = d.nationalPrefix, i = d.international, a = n, o = a.length - h2;
|
|
2936
|
+
o < 0 && (o = 0), this.matchingFormats = this.matchingFormats.filter(function($) {
|
|
2937
|
+
return e.formatSuits($, i, r) && e.formatMatches($, a, o);
|
|
2938
|
+
}), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
|
|
2939
|
+
}
|
|
2940
|
+
}, {
|
|
2941
|
+
key: "formatSuits",
|
|
2942
|
+
value: function(d, e, n) {
|
|
2943
|
+
return !(n && !d.usesNationalPrefix() && // !format.domesticCarrierCodeFormattingRule() &&
|
|
2944
|
+
!d.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !e && !n && d.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
|
|
2945
|
+
}
|
|
2946
|
+
}, {
|
|
2947
|
+
key: "formatMatches",
|
|
2948
|
+
value: function(d, e, n) {
|
|
2949
|
+
var r = d.leadingDigitsPatterns().length;
|
|
2950
|
+
if (r === 0)
|
|
2951
|
+
return !0;
|
|
2952
|
+
n = Math.min(n, r - 1);
|
|
2953
|
+
var i = d.leadingDigitsPatterns()[n];
|
|
2954
|
+
if (e.length < h2)
|
|
2955
|
+
try {
|
|
2956
|
+
return new C9(i).match(e, {
|
|
2957
|
+
allowOverflow: !0
|
|
2958
|
+
}) !== void 0;
|
|
2959
|
+
} catch (a) {
|
|
2960
|
+
return console.error(a), !0;
|
|
2961
|
+
}
|
|
2962
|
+
return new RegExp("^(".concat(i, ")")).test(e);
|
|
2963
|
+
}
|
|
2964
|
+
}, {
|
|
2965
|
+
key: "getFormatFormat",
|
|
2966
|
+
value: function(d, e) {
|
|
2967
|
+
return e ? d.internationalFormat() : d.format();
|
|
2968
|
+
}
|
|
2969
|
+
}, {
|
|
2970
|
+
key: "chooseFormat",
|
|
2971
|
+
value: function(d) {
|
|
2972
|
+
for (var e = this, n = function() {
|
|
2973
|
+
var o = a.value;
|
|
2974
|
+
return e.chosenFormat === o ? 0 : k9.test(e.getFormatFormat(o, d.international)) ? e.createTemplateForFormat(o, d) ? (e.chosenFormat = o, 0) : (e.matchingFormats = e.matchingFormats.filter(function($) {
|
|
2975
|
+
return $ !== o;
|
|
2976
|
+
}), 1) : 1;
|
|
2977
|
+
}, r, i = c2(this.matchingFormats.slice()), a; !(a = i()).done && (r = n(), r !== 0); )
|
|
2978
|
+
;
|
|
2979
|
+
return this.chosenFormat || this.resetFormat(), this.chosenFormat;
|
|
2980
|
+
}
|
|
2981
|
+
}, {
|
|
2982
|
+
key: "createTemplateForFormat",
|
|
2983
|
+
value: function(d, e) {
|
|
2984
|
+
if (!(d.pattern().indexOf("|") >= 0)) {
|
|
2985
|
+
var n = this.getTemplateForFormat(d, e);
|
|
2986
|
+
if (n)
|
|
2987
|
+
return this.setNationalNumberTemplate(n, e), !0;
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
}, {
|
|
2991
|
+
key: "getSeparatorAfterNationalPrefix",
|
|
2992
|
+
value: function(d) {
|
|
2993
|
+
return this.isNANP || d && d.nationalPrefixFormattingRule() && I9.test(d.nationalPrefixFormattingRule()) ? " " : "";
|
|
2994
|
+
}
|
|
2995
|
+
}, {
|
|
2996
|
+
key: "getInternationalPrefixBeforeCountryCallingCode",
|
|
2997
|
+
value: function(d, e) {
|
|
2998
|
+
var n = d.IDDPrefix, r = d.missingPlus;
|
|
2999
|
+
return n ? e && e.spacing === !1 ? n : n + " " : r ? "" : "+";
|
|
3000
|
+
}
|
|
3001
|
+
}, {
|
|
3002
|
+
key: "getTemplate",
|
|
3003
|
+
value: function(d) {
|
|
3004
|
+
if (this.template) {
|
|
3005
|
+
for (var e = -1, n = 0, r = d.international ? this.getInternationalPrefixBeforeCountryCallingCode(d, {
|
|
3006
|
+
spacing: !1
|
|
3007
|
+
}) : ""; n < r.length + d.getDigitsWithoutInternationalPrefix().length; )
|
|
3008
|
+
e = this.template.indexOf(b, e + 1), n++;
|
|
3009
|
+
return $2(this.template, e + 1);
|
|
3010
|
+
}
|
|
3011
|
+
}
|
|
3012
|
+
}, {
|
|
3013
|
+
key: "setNationalNumberTemplate",
|
|
3014
|
+
value: function(d, e) {
|
|
3015
|
+
this.nationalNumberTemplate = d, this.populatedNationalNumberTemplate = d, this.populatedNationalNumberTemplatePosition = -1, e.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(e).replace(/[\d\+]/g, b) + Y(b, e.callingCode.length) + " " + d : this.template = d;
|
|
3016
|
+
}
|
|
3017
|
+
/**
|
|
3018
|
+
* Generates formatting template for a national phone number,
|
|
3019
|
+
* optionally containing a national prefix, for a format.
|
|
3020
|
+
* @param {Format} format
|
|
3021
|
+
* @param {string} nationalPrefix
|
|
3022
|
+
* @return {string}
|
|
3023
|
+
*/
|
|
3024
|
+
}, {
|
|
3025
|
+
key: "getTemplateForFormat",
|
|
3026
|
+
value: function(d, e) {
|
|
3027
|
+
var n = e.nationalSignificantNumber, r = e.international, i = e.nationalPrefix, a = e.complexPrefixBeforeNationalSignificantNumber, o = d.pattern();
|
|
3028
|
+
o = o.replace(A9(), "\\d").replace(F9(), "\\d");
|
|
3029
|
+
var $ = T9.match(o)[0];
|
|
3030
|
+
if (!(n.length > $.length)) {
|
|
3031
|
+
var u = new RegExp("^" + o + "$"), l = n.replace(/\d/g, m0);
|
|
3032
|
+
u.test(l) && ($ = l);
|
|
3033
|
+
var f = this.getFormatFormat(d, r), s;
|
|
3034
|
+
if (this.shouldTryNationalPrefixFormattingRule(d, {
|
|
3035
|
+
international: r,
|
|
3036
|
+
nationalPrefix: i
|
|
3037
|
+
})) {
|
|
3038
|
+
var y = f.replace(w2, d.nationalPrefixFormattingRule());
|
|
3039
|
+
if (w(d.nationalPrefixFormattingRule()) === (i || "") + w("$1") && (f = y, s = !0, i))
|
|
3040
|
+
for (var m = i.length; m > 0; )
|
|
3041
|
+
f = f.replace(/\d/, b), m--;
|
|
3042
|
+
}
|
|
3043
|
+
var g = $.replace(new RegExp(o), f).replace(new RegExp(m0, "g"), b);
|
|
3044
|
+
return s || (a ? g = Y(b, a.length) + " " + g : i && (g = Y(b, i.length) + this.getSeparatorAfterNationalPrefix(d) + g)), r && (g = x2(g)), g;
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
}, {
|
|
3048
|
+
key: "formatNextNationalNumberDigits",
|
|
3049
|
+
value: function(d) {
|
|
3050
|
+
var e = t9(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, d);
|
|
3051
|
+
if (!e) {
|
|
3052
|
+
this.resetFormat();
|
|
3053
|
+
return;
|
|
3054
|
+
}
|
|
3055
|
+
return this.populatedNationalNumberTemplate = e[0], this.populatedNationalNumberTemplatePosition = e[1], $2(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
|
|
3056
|
+
}
|
|
3057
|
+
}, {
|
|
3058
|
+
key: "shouldTryNationalPrefixFormattingRule",
|
|
3059
|
+
value: function(d, e) {
|
|
3060
|
+
var n = e.international, r = e.nationalPrefix;
|
|
3061
|
+
if (d.nationalPrefixFormattingRule()) {
|
|
3062
|
+
var i = d.usesNationalPrefix();
|
|
3063
|
+
if (i && r || !i && !n)
|
|
3064
|
+
return !0;
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
}]);
|
|
3068
|
+
})();
|
|
3069
|
+
function B(t) {
|
|
3070
|
+
"@babel/helpers - typeof";
|
|
3071
|
+
return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
3072
|
+
return typeof d;
|
|
3073
|
+
} : function(d) {
|
|
3074
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
3075
|
+
}, B(t);
|
|
3076
|
+
}
|
|
3077
|
+
function G2(t, d) {
|
|
3078
|
+
return _9(t) || D9(t, d) || j9(t, d) || R9();
|
|
3079
|
+
}
|
|
3080
|
+
function R9() {
|
|
3081
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3082
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3083
|
+
}
|
|
3084
|
+
function j9(t, d) {
|
|
3085
|
+
if (t) {
|
|
3086
|
+
if (typeof t == "string")
|
|
3087
|
+
return m2(t, d);
|
|
3088
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
3089
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? m2(t, d) : void 0;
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
function m2(t, d) {
|
|
3093
|
+
(d == null || d > t.length) && (d = t.length);
|
|
3094
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
3095
|
+
n[e] = t[e];
|
|
3096
|
+
return n;
|
|
3097
|
+
}
|
|
3098
|
+
function D9(t, d) {
|
|
3099
|
+
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
3100
|
+
if (e != null) {
|
|
3101
|
+
var n, r, i, a, o = [], $ = !0, u = !1;
|
|
3102
|
+
try {
|
|
3103
|
+
if (i = (e = e.call(t)).next, d !== 0) for (; !($ = (n = i.call(e)).done) && (o.push(n.value), o.length !== d); $ = !0)
|
|
3104
|
+
;
|
|
3105
|
+
} catch (l) {
|
|
3106
|
+
u = !0, r = l;
|
|
3107
|
+
} finally {
|
|
3108
|
+
try {
|
|
3109
|
+
if (!$ && e.return != null && (a = e.return(), Object(a) !== a))
|
|
3110
|
+
return;
|
|
3111
|
+
} finally {
|
|
3112
|
+
if (u)
|
|
3113
|
+
throw r;
|
|
3114
|
+
}
|
|
3115
|
+
}
|
|
3116
|
+
return o;
|
|
3117
|
+
}
|
|
3118
|
+
}
|
|
3119
|
+
function _9(t) {
|
|
3120
|
+
if (Array.isArray(t))
|
|
3121
|
+
return t;
|
|
3122
|
+
}
|
|
3123
|
+
function L9(t, d) {
|
|
3124
|
+
if (!(t instanceof d))
|
|
3125
|
+
throw new TypeError("Cannot call a class as a function");
|
|
3126
|
+
}
|
|
3127
|
+
function G9(t, d) {
|
|
3128
|
+
for (var e = 0; e < d.length; e++) {
|
|
3129
|
+
var n = d[e];
|
|
3130
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, U9(n.key), n);
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
function B9(t, d, e) {
|
|
3134
|
+
return d && G9(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
3135
|
+
}
|
|
3136
|
+
function U9(t) {
|
|
3137
|
+
var d = H9(t, "string");
|
|
3138
|
+
return B(d) == "symbol" ? d : d + "";
|
|
3139
|
+
}
|
|
3140
|
+
function H9(t, d) {
|
|
3141
|
+
if (B(t) != "object" || !t)
|
|
3142
|
+
return t;
|
|
3143
|
+
var e = t[Symbol.toPrimitive];
|
|
3144
|
+
if (e !== void 0) {
|
|
3145
|
+
var n = e.call(t, d);
|
|
3146
|
+
if (B(n) != "object")
|
|
3147
|
+
return n;
|
|
3148
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
3149
|
+
}
|
|
3150
|
+
return String(t);
|
|
3151
|
+
}
|
|
3152
|
+
var W9 = "[" + p + h + "]+", V9 = new RegExp("^" + W9 + "$", "i"), K9 = "(?:[" + W + "][" + p + h + "]*|[" + p + h + "]+)", Y9 = new RegExp("[^" + p + h + "]+.*$"), Z9 = /[^\d\[\]]/, J9 = /* @__PURE__ */ (function() {
|
|
3153
|
+
function t(d) {
|
|
3154
|
+
var e = d.defaultCountry, n = d.defaultCallingCode, r = d.metadata, i = d.onNationalSignificantNumberChange;
|
|
3155
|
+
L9(this, t), this.defaultCountry = e, this.defaultCallingCode = n, this.metadata = r, this.onNationalSignificantNumberChange = i;
|
|
3156
|
+
}
|
|
3157
|
+
return B9(t, [{
|
|
3158
|
+
key: "input",
|
|
3159
|
+
value: function(d, e) {
|
|
3160
|
+
var n = z9(d), r = G2(n, 2), i = r[0], a = r[1], o = w(i), $;
|
|
3161
|
+
return a && (e.digits || (e.startInternationalNumber(), o || ($ = !0))), o && this.inputDigits(o, e), {
|
|
3162
|
+
digits: o,
|
|
3163
|
+
justLeadingPlus: $
|
|
3164
|
+
};
|
|
3165
|
+
}
|
|
3166
|
+
/**
|
|
3167
|
+
* Inputs "next" phone number digits.
|
|
3168
|
+
* @param {string} digits
|
|
3169
|
+
* @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".
|
|
3170
|
+
*/
|
|
3171
|
+
}, {
|
|
3172
|
+
key: "inputDigits",
|
|
3173
|
+
value: function(d, e) {
|
|
3174
|
+
var n = e.digits, r = n.length < 3 && n.length + d.length >= 3;
|
|
3175
|
+
if (e.appendDigits(d), r && this.extractIddPrefix(e), this.isWaitingForCountryCallingCode(e)) {
|
|
3176
|
+
if (!this.extractCountryCallingCode(e))
|
|
3177
|
+
return;
|
|
3178
|
+
} else
|
|
3179
|
+
e.appendNationalSignificantNumberDigits(d);
|
|
3180
|
+
e.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(e.getNationalDigits(), function(i) {
|
|
3181
|
+
return e.update(i);
|
|
3182
|
+
});
|
|
3183
|
+
}
|
|
3184
|
+
}, {
|
|
3185
|
+
key: "isWaitingForCountryCallingCode",
|
|
3186
|
+
value: function(d) {
|
|
3187
|
+
var e = d.international, n = d.callingCode;
|
|
3188
|
+
return e && !n;
|
|
3189
|
+
}
|
|
3190
|
+
// Extracts a country calling code from a number
|
|
3191
|
+
// being entered in internatonal format.
|
|
3192
|
+
}, {
|
|
3193
|
+
key: "extractCountryCallingCode",
|
|
3194
|
+
value: function(d) {
|
|
3195
|
+
var e = P0("+" + d.getDigitsWithoutInternationalPrefix(), this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), n = e.countryCallingCode, r = e.number;
|
|
3196
|
+
if (n)
|
|
3197
|
+
return d.setCallingCode(n), d.update({
|
|
3198
|
+
nationalSignificantNumber: r
|
|
3199
|
+
}), !0;
|
|
3200
|
+
}
|
|
3201
|
+
}, {
|
|
3202
|
+
key: "reset",
|
|
3203
|
+
value: function(d) {
|
|
3204
|
+
if (d) {
|
|
3205
|
+
this.hasSelectedNumberingPlan = !0;
|
|
3206
|
+
var e = d._nationalPrefixForParsing();
|
|
3207
|
+
this.couldPossiblyExtractAnotherNationalSignificantNumber = e && Z9.test(e);
|
|
3208
|
+
} else
|
|
3209
|
+
this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
|
|
3210
|
+
}
|
|
3211
|
+
/**
|
|
3212
|
+
* Extracts a national (significant) number from user input.
|
|
3213
|
+
* Google's library is different in that it only applies `national_prefix_for_parsing`
|
|
3214
|
+
* and doesn't apply `national_prefix_transform_rule` after that.
|
|
3215
|
+
* https://github.com/google/libphonenumber/blob/a3d70b0487875475e6ad659af404943211d26456/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java#L539
|
|
3216
|
+
* @return {boolean} [extracted]
|
|
3217
|
+
*/
|
|
3218
|
+
}, {
|
|
3219
|
+
key: "extractNationalSignificantNumber",
|
|
3220
|
+
value: function(d, e) {
|
|
3221
|
+
if (this.hasSelectedNumberingPlan) {
|
|
3222
|
+
var n = a0(d, this.metadata), r = n.nationalPrefix, i = n.nationalNumber, a = n.carrierCode;
|
|
3223
|
+
if (i !== d)
|
|
3224
|
+
return this.onExtractedNationalNumber(r, a, i, d, e), !0;
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
/**
|
|
3228
|
+
* In Google's code this function is called "attempt to extract longer NDD".
|
|
3229
|
+
* "Some national prefixes are a substring of others", they say.
|
|
3230
|
+
* @return {boolean} [result] — Returns `true` if extracting a national prefix produced different results from what they were.
|
|
3231
|
+
*/
|
|
3232
|
+
}, {
|
|
3233
|
+
key: "extractAnotherNationalSignificantNumber",
|
|
3234
|
+
value: function(d, e, n) {
|
|
3235
|
+
if (!this.hasExtractedNationalSignificantNumber)
|
|
3236
|
+
return this.extractNationalSignificantNumber(d, n);
|
|
3237
|
+
if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
|
|
3238
|
+
var r = a0(d, this.metadata), i = r.nationalPrefix, a = r.nationalNumber, o = r.carrierCode;
|
|
3239
|
+
if (a !== e)
|
|
3240
|
+
return this.onExtractedNationalNumber(i, o, a, d, n), !0;
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
}, {
|
|
3244
|
+
key: "onExtractedNationalNumber",
|
|
3245
|
+
value: function(d, e, n, r, i) {
|
|
3246
|
+
var a, o, $ = r.lastIndexOf(n);
|
|
3247
|
+
if ($ >= 0 && $ === r.length - n.length) {
|
|
3248
|
+
o = !0;
|
|
3249
|
+
var u = r.slice(0, $);
|
|
3250
|
+
u !== d && (a = u);
|
|
3251
|
+
}
|
|
3252
|
+
i({
|
|
3253
|
+
nationalPrefix: d,
|
|
3254
|
+
carrierCode: e,
|
|
3255
|
+
nationalSignificantNumber: n,
|
|
3256
|
+
nationalSignificantNumberMatchesInput: o,
|
|
3257
|
+
complexPrefixBeforeNationalSignificantNumber: a
|
|
3258
|
+
}), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
|
|
3259
|
+
}
|
|
3260
|
+
}, {
|
|
3261
|
+
key: "reExtractNationalSignificantNumber",
|
|
3262
|
+
value: function(d) {
|
|
3263
|
+
if (this.extractAnotherNationalSignificantNumber(d.getNationalDigits(), d.nationalSignificantNumber, function(e) {
|
|
3264
|
+
return d.update(e);
|
|
3265
|
+
}))
|
|
3266
|
+
return !0;
|
|
3267
|
+
if (this.extractIddPrefix(d))
|
|
3268
|
+
return this.extractCallingCodeAndNationalSignificantNumber(d), !0;
|
|
3269
|
+
if (this.fixMissingPlus(d))
|
|
3270
|
+
return this.extractCallingCodeAndNationalSignificantNumber(d), !0;
|
|
3271
|
+
}
|
|
3272
|
+
}, {
|
|
3273
|
+
key: "extractIddPrefix",
|
|
3274
|
+
value: function(d) {
|
|
3275
|
+
var e = d.international, n = d.IDDPrefix, r = d.digits;
|
|
3276
|
+
if (d.nationalSignificantNumber, !(e || n)) {
|
|
3277
|
+
var i = P2(r, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
|
|
3278
|
+
if (i !== void 0 && i !== r)
|
|
3279
|
+
return d.update({
|
|
3280
|
+
IDDPrefix: r.slice(0, r.length - i.length)
|
|
3281
|
+
}), this.startInternationalNumber(d, {
|
|
3282
|
+
country: void 0,
|
|
3283
|
+
callingCode: void 0
|
|
3284
|
+
}), !0;
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
}, {
|
|
3288
|
+
key: "fixMissingPlus",
|
|
3289
|
+
value: function(d) {
|
|
3290
|
+
if (!d.international) {
|
|
3291
|
+
var e = S2(d.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), n = e.countryCallingCode;
|
|
3292
|
+
if (e.number, n)
|
|
3293
|
+
return d.update({
|
|
3294
|
+
missingPlus: !0
|
|
3295
|
+
}), this.startInternationalNumber(d, {
|
|
3296
|
+
country: d.country,
|
|
3297
|
+
callingCode: n
|
|
3298
|
+
}), !0;
|
|
3299
|
+
}
|
|
3300
|
+
}
|
|
3301
|
+
}, {
|
|
3302
|
+
key: "startInternationalNumber",
|
|
3303
|
+
value: function(d, e) {
|
|
3304
|
+
var n = e.country, r = e.callingCode;
|
|
3305
|
+
d.startInternationalNumber(n, r), d.nationalSignificantNumber && (d.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
|
|
3306
|
+
}
|
|
3307
|
+
}, {
|
|
3308
|
+
key: "extractCallingCodeAndNationalSignificantNumber",
|
|
3309
|
+
value: function(d) {
|
|
3310
|
+
this.extractCountryCallingCode(d) && this.extractNationalSignificantNumber(d.getNationalDigits(), function(e) {
|
|
3311
|
+
return d.update(e);
|
|
3312
|
+
});
|
|
3313
|
+
}
|
|
3314
|
+
}]);
|
|
3315
|
+
})();
|
|
3316
|
+
function X9(t) {
|
|
3317
|
+
var d = t.search(K9);
|
|
3318
|
+
if (!(d < 0)) {
|
|
3319
|
+
t = t.slice(d);
|
|
3320
|
+
var e;
|
|
3321
|
+
return t[0] === "+" && (e = !0, t = t.slice(1)), t = t.replace(Y9, ""), e && (t = "+" + t), t;
|
|
3322
|
+
}
|
|
3323
|
+
}
|
|
3324
|
+
function Q9(t) {
|
|
3325
|
+
var d = X9(t) || "";
|
|
3326
|
+
return d[0] === "+" ? [d.slice(1), !0] : [d];
|
|
3327
|
+
}
|
|
3328
|
+
function z9(t) {
|
|
3329
|
+
var d = Q9(t), e = G2(d, 2), n = e[0], r = e[1];
|
|
3330
|
+
return V9.test(n) || (n = ""), [n, r];
|
|
3331
|
+
}
|
|
3332
|
+
function U(t) {
|
|
3333
|
+
"@babel/helpers - typeof";
|
|
3334
|
+
return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
3335
|
+
return typeof d;
|
|
3336
|
+
} : function(d) {
|
|
3337
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
3338
|
+
}, U(t);
|
|
3339
|
+
}
|
|
3340
|
+
function q9(t, d) {
|
|
3341
|
+
return n3(t) || e3(t, d) || t3(t, d) || d3();
|
|
3342
|
+
}
|
|
3343
|
+
function d3() {
|
|
3344
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3345
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3346
|
+
}
|
|
3347
|
+
function t3(t, d) {
|
|
3348
|
+
if (t) {
|
|
3349
|
+
if (typeof t == "string")
|
|
3350
|
+
return y2(t, d);
|
|
3351
|
+
var e = {}.toString.call(t).slice(8, -1);
|
|
3352
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? y2(t, d) : void 0;
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
function y2(t, d) {
|
|
3356
|
+
(d == null || d > t.length) && (d = t.length);
|
|
3357
|
+
for (var e = 0, n = Array(d); e < d; e++)
|
|
3358
|
+
n[e] = t[e];
|
|
3359
|
+
return n;
|
|
3360
|
+
}
|
|
3361
|
+
function e3(t, d) {
|
|
3362
|
+
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
3363
|
+
if (e != null) {
|
|
3364
|
+
var n, r, i, a, o = [], $ = !0, u = !1;
|
|
3365
|
+
try {
|
|
3366
|
+
if (i = (e = e.call(t)).next, d !== 0) for (; !($ = (n = i.call(e)).done) && (o.push(n.value), o.length !== d); $ = !0)
|
|
3367
|
+
;
|
|
3368
|
+
} catch (l) {
|
|
3369
|
+
u = !0, r = l;
|
|
3370
|
+
} finally {
|
|
3371
|
+
try {
|
|
3372
|
+
if (!$ && e.return != null && (a = e.return(), Object(a) !== a))
|
|
3373
|
+
return;
|
|
3374
|
+
} finally {
|
|
3375
|
+
if (u)
|
|
3376
|
+
throw r;
|
|
3377
|
+
}
|
|
3378
|
+
}
|
|
3379
|
+
return o;
|
|
3380
|
+
}
|
|
3381
|
+
}
|
|
3382
|
+
function n3(t) {
|
|
3383
|
+
if (Array.isArray(t))
|
|
3384
|
+
return t;
|
|
3385
|
+
}
|
|
3386
|
+
function r3(t, d) {
|
|
3387
|
+
if (!(t instanceof d))
|
|
3388
|
+
throw new TypeError("Cannot call a class as a function");
|
|
3389
|
+
}
|
|
3390
|
+
function i3(t, d) {
|
|
3391
|
+
for (var e = 0; e < d.length; e++) {
|
|
3392
|
+
var n = d[e];
|
|
3393
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, o3(n.key), n);
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
function a3(t, d, e) {
|
|
3397
|
+
return d && i3(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
3398
|
+
}
|
|
3399
|
+
function o3(t) {
|
|
3400
|
+
var d = $3(t, "string");
|
|
3401
|
+
return U(d) == "symbol" ? d : d + "";
|
|
3402
|
+
}
|
|
3403
|
+
function $3(t, d) {
|
|
3404
|
+
if (U(t) != "object" || !t)
|
|
3405
|
+
return t;
|
|
3406
|
+
var e = t[Symbol.toPrimitive];
|
|
3407
|
+
if (e !== void 0) {
|
|
3408
|
+
var n = e.call(t, d);
|
|
3409
|
+
if (U(n) != "object")
|
|
3410
|
+
return n;
|
|
3411
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
3412
|
+
}
|
|
3413
|
+
return String(t);
|
|
3414
|
+
}
|
|
3415
|
+
var B2 = /* @__PURE__ */ (function() {
|
|
3416
|
+
function t(d, e) {
|
|
3417
|
+
r3(this, t), this.metadata = new c(e);
|
|
3418
|
+
var n = this.getCountryAndCallingCode(d), r = q9(n, 2), i = r[0], a = r[1];
|
|
3419
|
+
this.defaultCountry = i, this.defaultCallingCode = a, this.reset();
|
|
3420
|
+
}
|
|
3421
|
+
return a3(t, [{
|
|
3422
|
+
key: "getCountryAndCallingCode",
|
|
3423
|
+
value: function(d) {
|
|
3424
|
+
var e, n;
|
|
3425
|
+
return d && (N(d) ? (e = d.defaultCountry, n = d.defaultCallingCode) : e = d), e && !this.metadata.hasCountry(e) && (e = void 0), [e, n];
|
|
3426
|
+
}
|
|
3427
|
+
/**
|
|
3428
|
+
* Inputs "next" phone number characters.
|
|
3429
|
+
* @param {string} text
|
|
3430
|
+
* @return {string} Formatted phone number characters that have been input so far.
|
|
3431
|
+
*/
|
|
3432
|
+
}, {
|
|
3433
|
+
key: "input",
|
|
3434
|
+
value: function(d) {
|
|
3435
|
+
var e = this.parser.input(d, this.state), n = e.digits, r = e.justLeadingPlus;
|
|
3436
|
+
if (r)
|
|
3437
|
+
this.formattedOutput = "+";
|
|
3438
|
+
else if (n) {
|
|
3439
|
+
this.determineTheCountryIfNeeded(), this.state.nationalSignificantNumber && this.formatter.narrowDownMatchingFormats(this.state);
|
|
3440
|
+
var i;
|
|
3441
|
+
if (this.metadata.hasSelectedNumberingPlan() && (i = this.formatter.format(n, this.state)), i === void 0 && this.parser.reExtractNationalSignificantNumber(this.state)) {
|
|
3442
|
+
this.determineTheCountryIfNeeded();
|
|
3443
|
+
var a = this.state.getNationalDigits();
|
|
3444
|
+
a && (i = this.formatter.format(a, this.state));
|
|
3445
|
+
}
|
|
3446
|
+
this.formattedOutput = i ? this.getFullNumber(i) : this.getNonFormattedNumber();
|
|
3447
|
+
}
|
|
3448
|
+
return this.formattedOutput;
|
|
3449
|
+
}
|
|
3450
|
+
}, {
|
|
3451
|
+
key: "reset",
|
|
3452
|
+
value: function() {
|
|
3453
|
+
var d = this;
|
|
3454
|
+
return this.state = new Qt({
|
|
3455
|
+
onCountryChange: function(e) {
|
|
3456
|
+
d.country = e;
|
|
3457
|
+
},
|
|
3458
|
+
onCallingCodeChange: function(e, n) {
|
|
3459
|
+
d.metadata.selectNumberingPlan(n, e), d.formatter.reset(d.metadata.numberingPlan, d.state), d.parser.reset(d.metadata.numberingPlan);
|
|
3460
|
+
}
|
|
3461
|
+
}), this.formatter = new M9({
|
|
3462
|
+
state: this.state,
|
|
3463
|
+
metadata: this.metadata
|
|
3464
|
+
}), this.parser = new J9({
|
|
3465
|
+
defaultCountry: this.defaultCountry,
|
|
3466
|
+
defaultCallingCode: this.defaultCallingCode,
|
|
3467
|
+
metadata: this.metadata,
|
|
3468
|
+
state: this.state,
|
|
3469
|
+
onNationalSignificantNumberChange: function() {
|
|
3470
|
+
d.determineTheCountryIfNeeded(), d.formatter.reset(d.metadata.numberingPlan, d.state);
|
|
3471
|
+
}
|
|
3472
|
+
}), this.state.reset({
|
|
3473
|
+
country: this.defaultCountry,
|
|
3474
|
+
callingCode: this.defaultCallingCode
|
|
3475
|
+
}), this.formattedOutput = "", this;
|
|
3476
|
+
}
|
|
3477
|
+
/**
|
|
3478
|
+
* Returns `true` if the phone number is being input in international format.
|
|
3479
|
+
* In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
|
|
3480
|
+
* @return {boolean}
|
|
3481
|
+
*/
|
|
3482
|
+
}, {
|
|
3483
|
+
key: "isInternational",
|
|
3484
|
+
value: function() {
|
|
3485
|
+
return this.state.international;
|
|
3486
|
+
}
|
|
3487
|
+
/**
|
|
3488
|
+
* Returns the "calling code" part of the phone number when it's being input
|
|
3489
|
+
* in an international format.
|
|
3490
|
+
* If no valid calling code has been entered so far, returns `undefined`.
|
|
3491
|
+
* @return {string} [callingCode]
|
|
3492
|
+
*/
|
|
3493
|
+
}, {
|
|
3494
|
+
key: "getCallingCode",
|
|
3495
|
+
value: function() {
|
|
3496
|
+
if (this.isInternational())
|
|
3497
|
+
return this.state.callingCode;
|
|
3498
|
+
}
|
|
3499
|
+
// A legacy alias.
|
|
3500
|
+
}, {
|
|
3501
|
+
key: "getCountryCallingCode",
|
|
3502
|
+
value: function() {
|
|
3503
|
+
return this.getCallingCode();
|
|
3504
|
+
}
|
|
3505
|
+
/**
|
|
3506
|
+
* Returns a two-letter country code of the phone number.
|
|
3507
|
+
* Returns `undefined` for "non-geographic" phone numbering plans.
|
|
3508
|
+
* Returns `undefined` if no phone number has been input yet.
|
|
3509
|
+
* @return {string} [country]
|
|
3510
|
+
*/
|
|
3511
|
+
}, {
|
|
3512
|
+
key: "getCountry",
|
|
3513
|
+
value: function() {
|
|
3514
|
+
var d = this.state.digits;
|
|
3515
|
+
if (d)
|
|
3516
|
+
return this._getCountry();
|
|
3517
|
+
}
|
|
3518
|
+
/**
|
|
3519
|
+
* Returns a two-letter country code of the phone number.
|
|
3520
|
+
* Returns `undefined` for "non-geographic" phone numbering plans.
|
|
3521
|
+
* @return {string} [country]
|
|
3522
|
+
*/
|
|
3523
|
+
}, {
|
|
3524
|
+
key: "_getCountry",
|
|
3525
|
+
value: function() {
|
|
3526
|
+
var d = this.state.country;
|
|
3527
|
+
return d;
|
|
3528
|
+
}
|
|
3529
|
+
}, {
|
|
3530
|
+
key: "determineTheCountryIfNeeded",
|
|
3531
|
+
value: function() {
|
|
3532
|
+
(!this.state.country || this.isCountryCallingCodeAmbiguous()) && this.determineTheCountry();
|
|
3533
|
+
}
|
|
3534
|
+
// Prepends `+CountryCode ` in case of an international phone number
|
|
3535
|
+
}, {
|
|
3536
|
+
key: "getFullNumber",
|
|
3537
|
+
value: function(d) {
|
|
3538
|
+
var e = this;
|
|
3539
|
+
if (this.isInternational()) {
|
|
3540
|
+
var n = function(i) {
|
|
3541
|
+
return e.formatter.getInternationalPrefixBeforeCountryCallingCode(e.state, {
|
|
3542
|
+
spacing: !!i
|
|
3543
|
+
}) + i;
|
|
3544
|
+
}, r = this.state.callingCode;
|
|
3545
|
+
return n(r ? d ? "".concat(r, " ").concat(d) : r : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
|
|
3546
|
+
}
|
|
3547
|
+
return d;
|
|
3548
|
+
}
|
|
3549
|
+
}, {
|
|
3550
|
+
key: "getNonFormattedNationalNumberWithPrefix",
|
|
3551
|
+
value: function() {
|
|
3552
|
+
var d = this.state, e = d.nationalSignificantNumber, n = d.complexPrefixBeforeNationalSignificantNumber, r = d.nationalPrefix, i = e, a = n || r;
|
|
3553
|
+
return a && (i = a + i), i;
|
|
3554
|
+
}
|
|
3555
|
+
}, {
|
|
3556
|
+
key: "getNonFormattedNumber",
|
|
3557
|
+
value: function() {
|
|
3558
|
+
var d = this.state.nationalSignificantNumberMatchesInput;
|
|
3559
|
+
return this.getFullNumber(d ? this.getNonFormattedNationalNumberWithPrefix() : this.state.getNationalDigits());
|
|
3560
|
+
}
|
|
3561
|
+
}, {
|
|
3562
|
+
key: "getNonFormattedTemplate",
|
|
3563
|
+
value: function() {
|
|
3564
|
+
var d = this.getNonFormattedNumber();
|
|
3565
|
+
if (d)
|
|
3566
|
+
return d.replace(/[\+\d]/g, b);
|
|
3567
|
+
}
|
|
3568
|
+
}, {
|
|
3569
|
+
key: "isCountryCallingCodeAmbiguous",
|
|
3570
|
+
value: function() {
|
|
3571
|
+
var d = this.state.callingCode, e = this.metadata.getCountryCodesForCallingCode(d);
|
|
3572
|
+
return e && e.length > 1;
|
|
3573
|
+
}
|
|
3574
|
+
// Determines the country of the phone number
|
|
3575
|
+
// entered so far based on the country phone code
|
|
3576
|
+
// and the national phone number.
|
|
3577
|
+
}, {
|
|
3578
|
+
key: "determineTheCountry",
|
|
3579
|
+
value: function() {
|
|
3580
|
+
this.state.setCountry(w0(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
|
|
3581
|
+
nationalNumber: this.state.nationalSignificantNumber,
|
|
3582
|
+
defaultCountry: this.defaultCountry,
|
|
3583
|
+
metadata: this.metadata
|
|
3584
|
+
}));
|
|
3585
|
+
}
|
|
3586
|
+
/**
|
|
3587
|
+
* Returns a E.164 phone number value for the user's input.
|
|
3588
|
+
*
|
|
3589
|
+
* For example, for country `"US"` and input `"(222) 333-4444"`
|
|
3590
|
+
* it will return `"+12223334444"`.
|
|
3591
|
+
*
|
|
3592
|
+
* For international phone number input, it will also auto-correct
|
|
3593
|
+
* some minor errors such as using a national prefix when writing
|
|
3594
|
+
* an international phone number. For example, if the user inputs
|
|
3595
|
+
* `"+44 0 7400 000000"` then it will return an auto-corrected
|
|
3596
|
+
* `"+447400000000"` phone number value.
|
|
3597
|
+
*
|
|
3598
|
+
* Will return `undefined` if no digits have been input,
|
|
3599
|
+
* or when inputting a phone number in national format and no
|
|
3600
|
+
* default country or default "country calling code" have been set.
|
|
3601
|
+
*
|
|
3602
|
+
* @return {string} [value]
|
|
3603
|
+
*/
|
|
3604
|
+
}, {
|
|
3605
|
+
key: "getNumberValue",
|
|
3606
|
+
value: function() {
|
|
3607
|
+
var d = this.state, e = d.digits, n = d.callingCode, r = d.country, i = d.nationalSignificantNumber;
|
|
3608
|
+
if (e) {
|
|
3609
|
+
if (this.isInternational())
|
|
3610
|
+
return n ? "+" + n + i : "+" + e;
|
|
3611
|
+
if (r || n) {
|
|
3612
|
+
var a = r ? this.metadata.countryCallingCode() : n;
|
|
3613
|
+
return "+" + a + i;
|
|
3614
|
+
}
|
|
3615
|
+
}
|
|
3616
|
+
}
|
|
3617
|
+
/**
|
|
3618
|
+
* Returns an instance of `PhoneNumber` class.
|
|
3619
|
+
* Will return `undefined` if no national (significant) number
|
|
3620
|
+
* digits have been entered so far, or if no `defaultCountry` has been
|
|
3621
|
+
* set and the user enters a phone number not in international format.
|
|
3622
|
+
*/
|
|
3623
|
+
}, {
|
|
3624
|
+
key: "getNumber",
|
|
3625
|
+
value: function() {
|
|
3626
|
+
var d = this.state, e = d.nationalSignificantNumber, n = d.carrierCode, r = d.callingCode, i = this._getCountry();
|
|
3627
|
+
if (e && !(!i && !r)) {
|
|
3628
|
+
if (i && i === this.defaultCountry) {
|
|
3629
|
+
var a = new c(this.metadata.metadata);
|
|
3630
|
+
a.selectNumberingPlan(i);
|
|
3631
|
+
var o = a.numberingPlan.callingCode(), $ = this.metadata.getCountryCodesForCallingCode(o);
|
|
3632
|
+
if ($.length > 1) {
|
|
3633
|
+
var u = A2(e, {
|
|
3634
|
+
countries: $,
|
|
3635
|
+
defaultCountry: this.defaultCountry,
|
|
3636
|
+
metadata: this.metadata.metadata
|
|
3637
|
+
});
|
|
3638
|
+
u && (i = u);
|
|
3639
|
+
}
|
|
3640
|
+
}
|
|
3641
|
+
var l = new d0(i || r, e, this.metadata.metadata);
|
|
3642
|
+
return n && (l.carrierCode = n), l;
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
/**
|
|
3646
|
+
* Returns `true` if the phone number is "possible".
|
|
3647
|
+
* Is just a shortcut for `PhoneNumber.isPossible()`.
|
|
3648
|
+
* @return {boolean}
|
|
3649
|
+
*/
|
|
3650
|
+
}, {
|
|
3651
|
+
key: "isPossible",
|
|
3652
|
+
value: function() {
|
|
3653
|
+
var d = this.getNumber();
|
|
3654
|
+
return d ? d.isPossible() : !1;
|
|
3655
|
+
}
|
|
3656
|
+
/**
|
|
3657
|
+
* Returns `true` if the phone number is "valid".
|
|
3658
|
+
* Is just a shortcut for `PhoneNumber.isValid()`.
|
|
3659
|
+
* @return {boolean}
|
|
3660
|
+
*/
|
|
3661
|
+
}, {
|
|
3662
|
+
key: "isValid",
|
|
3663
|
+
value: function() {
|
|
3664
|
+
var d = this.getNumber();
|
|
3665
|
+
return d ? d.isValid() : !1;
|
|
3666
|
+
}
|
|
3667
|
+
/**
|
|
3668
|
+
* @deprecated
|
|
3669
|
+
* This method is used in `react-phone-number-input/source/input-control.js`
|
|
3670
|
+
* in versions before `3.0.16`.
|
|
3671
|
+
*/
|
|
3672
|
+
}, {
|
|
3673
|
+
key: "getNationalNumber",
|
|
3674
|
+
value: function() {
|
|
3675
|
+
return this.state.nationalSignificantNumber;
|
|
3676
|
+
}
|
|
3677
|
+
/**
|
|
3678
|
+
* Returns the phone number characters entered by the user.
|
|
3679
|
+
* @return {string}
|
|
3680
|
+
*/
|
|
3681
|
+
}, {
|
|
3682
|
+
key: "getChars",
|
|
3683
|
+
value: function() {
|
|
3684
|
+
return (this.state.international ? "+" : "") + this.state.digits;
|
|
3685
|
+
}
|
|
3686
|
+
/**
|
|
3687
|
+
* Returns the template for the formatted phone number.
|
|
3688
|
+
* @return {string}
|
|
3689
|
+
*/
|
|
3690
|
+
}, {
|
|
3691
|
+
key: "getTemplate",
|
|
3692
|
+
value: function() {
|
|
3693
|
+
return this.formatter.getTemplate(this.state) || this.getNonFormattedTemplate() || "";
|
|
3694
|
+
}
|
|
3695
|
+
}]);
|
|
3696
|
+
})();
|
|
3697
|
+
function u3() {
|
|
3698
|
+
return V2(J, arguments);
|
|
3699
|
+
}
|
|
3700
|
+
function y0(t, d) {
|
|
3701
|
+
return L2.call(this, t, d, H);
|
|
3702
|
+
}
|
|
3703
|
+
y0.prototype = Object.create(L2.prototype, {});
|
|
3704
|
+
y0.prototype.constructor = y0;
|
|
3705
|
+
function g0(t) {
|
|
3706
|
+
return B2.call(this, t, H);
|
|
3707
|
+
}
|
|
3708
|
+
g0.prototype = Object.create(B2.prototype, {});
|
|
3709
|
+
g0.prototype.constructor = g0;
|
|
3710
|
+
function p0() {
|
|
3711
|
+
return c.call(this, H);
|
|
3712
|
+
}
|
|
3713
|
+
p0.prototype = Object.create(c.prototype, {});
|
|
3714
|
+
p0.prototype.constructor = p0;
|
|
3715
|
+
function b0(t) {
|
|
3716
|
+
return d0.call(this, t, H);
|
|
3717
|
+
}
|
|
3718
|
+
b0.prototype = Object.create(d0.prototype, {});
|
|
3719
|
+
b0.prototype.constructor = b0;
|
|
3720
|
+
export {
|
|
3721
|
+
g0 as AsYouType,
|
|
3722
|
+
b as DIGIT_PLACEHOLDER,
|
|
3723
|
+
p0 as Metadata,
|
|
3724
|
+
v as ParseError,
|
|
3725
|
+
b0 as PhoneNumber,
|
|
3726
|
+
y0 as PhoneNumberMatcher,
|
|
3727
|
+
u3 as default,
|
|
3728
|
+
I1 as formatRFC3966,
|
|
3729
|
+
w as parseDigits,
|
|
3730
|
+
B0 as parseIncompletePhoneNumber,
|
|
3731
|
+
ad as parsePhoneNumberCharacter,
|
|
3732
|
+
u3 as parsePhoneNumberFromString
|
|
3733
|
+
};
|