@feedmepos/mf-connect 0.1.98-beta.9 → 0.1.99-prod
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/Analytic-CmlJa1WX.js +426 -0
- package/dist/{App-CwMrP0Q-.js → App-D0thRELq.js} +807 -673
- package/dist/{Bin-sSw4Gatd.js → Bin-DnkPcZdC.js} +8 -8
- package/dist/{Broadcast-DH2Fpb-O.js → Broadcast-o6nSQOsx.js} +17 -18
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Cd47Mrej.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BPGzh4u8.js} +6 -5
- package/dist/{Card-D4YJZ_I8.js → Card-zjezSaRB.js} +19 -19
- package/dist/{Collections--8QcjuAp.js → Collections-48W_jFFS.js} +185 -197
- package/dist/{Credit-DgF3qd52.js → Credit-CYaCjNVK.js} +53 -54
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D3SnYlQ0.js +2223 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BgHApZqm.js → EffectSheet.vue_vue_type_style_index_0_lang-CbpKQj-r.js} +6 -6
- package/dist/{Experience-DxtkVeS9.js → Experience-HmfLlywu.js} +34 -35
- package/dist/{FileSaver.min-BtPuPAIo.js → FileSaver.min-cDraiw9g.js} +1 -1
- package/dist/{Game-CbcrkUBh.js → Game-DHLdDQRi.js} +15 -16
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CqoO7N7r.js → ImageInput.vue_vue_type_script_setup_true_lang-DZrmFruC.js} +1 -1
- package/dist/{Index-BzPX7mr1.js → Index-CMm5L1Ph.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-mI-5po-a.js → LocationPicker.vue_vue_type_script_setup_true_lang-B6tGeGGC.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DyP3ipwX.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CV4V9qlc.js} +1 -1
- package/dist/{MainLayout-gxkaZeZ-.js → MainLayout-iru8naVF.js} +1 -1
- package/dist/{Marketing-BlMjT0cP.js → Marketing-AP8z-pA0.js} +4 -4
- package/dist/{MarketingMaterialEdit-v0vGn3Lz.js → MarketingMaterialEdit-HYTdiTvs.js} +211 -214
- package/dist/{Member-BBUlAPqZ.js → Member-N_ks2GiW.js} +20 -20
- package/dist/{MemberList-DZJhULFD.js → MemberList-Cj8EfN0q.js} +51 -50
- package/dist/{MemberTransactions-CTBoDEg4.js → MemberTransactions-DUj4Fq6M.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-nlYOP9gZ.js → MessageInput.vue_vue_type_script_setup_true_lang-ZD6_8BzX.js} +11 -11
- package/dist/{Mission-D_xjOnWO.js → Mission-DfZ0brqC.js} +34 -35
- package/dist/{Overview-C5-uSEJH.js → Overview-BnFPQbSg.js} +19 -19
- package/dist/Overview-kB_HApIc.js +969 -0
- package/dist/{Point-BmVyG_i-.js → Point-PsWJEEsn.js} +29 -30
- package/dist/{Promotion-BWmTkHyw.js → Promotion-BsNT1kOG.js} +105 -111
- package/dist/{Queue-Do2XlY5H.js → Queue-Cgw3PgEi.js} +43 -43
- package/dist/{Record-BIzUOikr.js → Record-DwzoIz3R.js} +10 -10
- package/dist/Review-kF2wLu5o.js +46 -0
- package/dist/ReviewFacebookCallback-B6RjqR5T.js +238 -0
- package/dist/ReviewGoogleCallback-DjLK1b4-.js +213 -0
- package/dist/{Reward-gCpIJIq9.js → Reward-C8O5U2NU.js} +17 -17
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Dkyz-W9m.js → RewardGroup.vue_vue_type_script_setup_true_lang-BqKABBF1.js} +12 -12
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-DvNyurCW.js +1888 -0
- package/dist/{Segment-CZrzY2st.js → Segment-BtmeNQnL.js} +78 -77
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-B1qAMtkn.js → SelectItems.vue_vue_type_script_setup_true_lang-P4wy1bqG.js} +3 -3
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Dc36wzB0.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DQ93AOeI.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BtnF-BPt.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-B3P7Ob40.js} +4 -4
- package/dist/{Setting-JrI4ttI1.js → Setting-D1SQ6TKF.js} +248 -259
- package/dist/{SettingAdvertisements-iOOpEUlI.js → SettingAdvertisements-pUTX9uu3.js} +13 -13
- package/dist/Settings-Bbd3cMNH.js +228 -0
- package/dist/{Store-DbXKThJn.js → Store-Dgc-J8Q7.js} +24 -24
- package/dist/{StoreRewards-CfkwVw7d.js → StoreRewards-CJ090vEj.js} +16 -16
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B35vDFFq.js +1067 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-5Aazsvfa.js +142 -0
- package/dist/{Tier-BVrAqpWt.js → Tier-CKGyFDiY.js} +469 -544
- package/dist/{Title-DhumBh-S.js → Title-DXRex7t9.js} +92 -93
- package/dist/{Transaction-BQLge28p.js → Transaction-B1eC-Gln.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CSPaj2uN.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B2GABNUx.js} +6 -6
- package/dist/{Voucher-DeB4YhvL.js → Voucher-Omh_kYVH.js} +27 -28
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-BjUFEIlS.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DD2WD_Vt.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BzrPUcC9.js → ZodTextField.vue_vue_type_script_setup_true_lang-CAtzo8zL.js} +2 -2
- package/dist/{app-BHIG18wW.js → app-D8i8XAyR.js} +1439 -1406
- package/dist/app.js +3 -4
- package/dist/{business-CCmy2VBj.js → business-6gZtKQ8L.js} +1 -1
- package/dist/{campaign-DiFdvcPE.js → campaign-DIgbywUy.js} +64 -114
- package/dist/{campaign-jofcGLi8.js → campaign-MPUFwgli.js} +7 -13
- package/dist/{campaign.enum-CBp5IeWz.js → campaign.enum-CSlbGhc-.js} +2 -3
- package/dist/{campaign.fn-BZ0Ivuwi.js → campaign.fn-BvxZt-0r.js} +65 -65
- package/dist/{collectible.enum-frp5wluZ.js → collectible.enum-20LKRFir.js} +1 -1
- package/dist/collection.fn-03oGQuF_.js +26 -0
- package/dist/dto-C5_Te4gk.js +216 -0
- package/dist/{effect-BegkMXTr.js → effect-CkurpNMu.js} +1 -1
- package/dist/{email-addresses-B0t3BKV6.js → email-addresses-CR8pgurp.js} +2 -2
- package/dist/{export-CGrchnsA.js → export-CfDeISbW.js} +3 -3
- package/dist/google-BQK68wbe.js +5 -0
- package/dist/{helper-CIYSBZvt.js → helper-BQYvN6FL.js} +1 -1
- package/dist/{index-Dg_OJTxE.js → index-6FvsyekG.js} +1 -1
- package/dist/index-ARC-NYFZ.js +55 -0
- package/dist/{index-Cv0pq7A_.js → index-C9j6OhgK.js} +302 -634
- package/dist/{index-BPh_k5rA.js → index-CH_QL_76.js} +3 -3
- package/dist/{index-DdAl4SK2.js → index-CJUzQG6t.js} +26 -17
- package/dist/{index-PmoP3mXP.js → index-Cv-DbZdw.js} +7 -7
- package/dist/{index-D4_JDL9j.js → index-D6wOnTAl.js} +3 -3
- package/dist/{index-CixwNfnv.js → index-D8vmbFE5.js} +1 -1
- package/dist/{index-DcE-11T-.js → index-DW7H-3z4.js} +1275 -1506
- package/dist/{index-C_6y8OES.js → index-Dcxjgr6s.js} +1 -1
- package/dist/{index-CF1RNy12.js → index-Dz130JVH.js} +1 -1
- package/dist/{index-BBgVfqVf.js → index-ERqXuFvQ.js} +1 -1
- package/dist/{index-C-2YkeBp.js → index-hTgJrZR8.js} +1968 -1996
- package/dist/{index.esm2017-QGfAIiCc.js → index.esm2017-DY9Lrb0O.js} +184 -184
- package/dist/{loading-Cql_LElt.js → loading-EnU7K0k3.js} +1 -1
- package/dist/{lodash-PMdIVUsY.js → lodash-Cr7KdLib.js} +1 -1
- package/dist/{membership-BHD1GQ45.js → membership-B1eIzQDB.js} +3 -3
- package/dist/{money-CASVly6f.js → money-DpUzzEJj.js} +1 -1
- package/dist/{number-dMI2x0jy.js → number-DAz9zOKI.js} +1 -1
- package/dist/object-qECH92oz.js +26 -0
- package/dist/objectid-LXOkMCkM.js +145 -0
- package/dist/{plugins-CnEVta3V.js → plugins-DJ13vaqz.js} +95 -94
- package/dist/{reward-vdrNMYrF.js → reward-Cmx_swM1.js} +1 -1
- package/dist/{rule-BLXUDFEw.js → rule-BCzySyr6.js} +487 -505
- package/dist/rule-builder-CDkWYBLG.js +102 -0
- package/dist/style.css +1 -1
- package/dist/template-DfnYZzoa.js +236 -0
- package/dist/{index-DzQCyuGA.js → timezone-Beb0XkZC.js} +20 -21
- package/dist/{trigger-Ccrh378a.js → trigger-BfQprjI-.js} +5 -5
- package/dist/{useMarketingMaterialActions-BQLBRa3G.js → useMarketingMaterialActions-CagN58AP.js} +3 -3
- package/dist/{usePagination-BjsffqjT.js → usePagination-XyeJR5ws.js} +1 -1
- package/dist/{user-B5jS1GLb.js → user-l2YG1VjD.js} +1 -1
- package/dist/{vue-i18n-CCjHlB6z.js → vue-i18n-DJXhpQga.js} +391 -391
- package/dist/{xlsx-DmBOvA2N.js → xlsx-DypdT1NW.js} +1 -1
- package/dist/{zod-DrYZ6KS4.js → zod-BM5P7Bti.js} +1 -1
- package/package.json +4 -8
- package/dist/AuditLogs-CAtlilma.js +0 -2013
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bpr9KuHW.js +0 -3377
- package/dist/Grab-CDhmMNsL.js +0 -300
- package/dist/LoyaltyDashboard-BFjI3IWT.js +0 -1082
- package/dist/Review-D9cFDrhN.js +0 -1192
- package/dist/ReviewFacebookCallback-DbE8_6D3.js +0 -243
- package/dist/ReviewGoogleCallback-LMZgyopt.js +0 -208
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BEqgU70M.js +0 -1911
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CNC_jNgW.js +0 -1130
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BBlCR4pN.js +0 -7007
- package/dist/duplicateCampaign-CxuNftok.js +0 -51
- package/dist/index-Dc-I4Jr-.js +0 -67
- package/dist/object-BYyQ0PZp.js +0 -18
- package/dist/objectid-Db_4Ays3.js +0 -145
- package/dist/template-CRjkIq3e.js +0 -188
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { z as e, F as o, m as _, a as
|
|
2
|
-
import { F as
|
|
3
|
-
import { a as
|
|
4
|
-
import { F as
|
|
1
|
+
import { z as e, F as o, m as _, a as L, b as Kt, c as me, d as Wt } from "./index-CH_QL_76.js";
|
|
2
|
+
import { F as nt } from "./campaign.enum-CSlbGhc-.js";
|
|
3
|
+
import { a as B, b as zt, c as Yt, d as re, F as rt, e as T, f as qt, g as it, h as x, i as Xt } from "./index-hTgJrZR8.js";
|
|
4
|
+
import { F as ot } from "./collectible.enum-20LKRFir.js";
|
|
5
5
|
import "vue";
|
|
6
|
-
const on = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[024-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|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}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "8776\\d{4}|(?:[27]\\d|61)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-8]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, 0, [["528[89]\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|80[6-9]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "[235]\\d{8}|800\\d{5,6}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2358]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|80[6-9]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|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}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|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", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "8\\d{13}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["20"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["20"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{4})(\\d{5})", "$1-$2", ["892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8(?:0[0-7]|9)"], "0$1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[5-8]"], "0$1"]], "0", 0, 0, 0, 0, "[5-8]"], MC: ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|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}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[78]\\d{8}|[2-9]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["3[289]|4[246-8]|61|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "[3489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[3689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-579]|61)", "5(?:[0-579]|61[06])", "5(?:[0-579]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|5[12]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
7
|
-
function
|
|
8
|
-
var
|
|
9
|
-
return
|
|
10
|
-
}
|
|
11
|
-
function
|
|
12
|
-
t = t.split("-"),
|
|
13
|
-
for (var
|
|
14
|
-
var a = Number(
|
|
15
|
-
if (a >
|
|
16
|
-
if (
|
|
17
|
-
if (!isNaN(a) && isNaN(
|
|
18
|
-
if (isNaN(a) && !isNaN(
|
|
19
|
-
}
|
|
20
|
-
return t[1] &&
|
|
21
|
-
}
|
|
22
|
-
var
|
|
23
|
-
function
|
|
24
|
-
return t != null && t.constructor ===
|
|
6
|
+
const Jt = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[024-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|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}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "8776\\d{4}|(?:[27]\\d|61)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-8]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, 0, [["528[89]\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|80[6-9]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "[235]\\d{8}|800\\d{5,6}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2358]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|80[6-9]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|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}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|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", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "8\\d{13}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["20"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["20"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{4})(\\d{5})", "$1-$2", ["892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8(?:0[0-7]|9)"], "0$1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[5-8]"], "0$1"]], "0", 0, 0, 0, 0, "[5-8]"], MC: ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|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}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[78]\\d{8}|[2-9]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["3[289]|4[246-8]|61|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "[3489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[3689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-579]|61)", "5(?:[0-579]|61[06])", "5(?:[0-579]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|5[12]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
7
|
+
function Zt(t, d) {
|
|
8
|
+
var n = Array.prototype.slice.call(d);
|
|
9
|
+
return n.push(Jt), t.apply(this, n);
|
|
10
|
+
}
|
|
11
|
+
function Oe(t, d) {
|
|
12
|
+
t = t.split("-"), d = d.split("-");
|
|
13
|
+
for (var n = t[0].split("."), r = d[0].split("."), i = 0; i < 3; i++) {
|
|
14
|
+
var a = Number(n[i]), $ = Number(r[i]);
|
|
15
|
+
if (a > $) return 1;
|
|
16
|
+
if ($ > a) return -1;
|
|
17
|
+
if (!isNaN(a) && isNaN($)) return 1;
|
|
18
|
+
if (isNaN(a) && !isNaN($)) return -1;
|
|
19
|
+
}
|
|
20
|
+
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;
|
|
21
|
+
}
|
|
22
|
+
var Qt = {}.constructor;
|
|
23
|
+
function w(t) {
|
|
24
|
+
return t != null && t.constructor === Qt;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function j(t) {
|
|
27
27
|
"@babel/helpers - typeof";
|
|
28
|
-
return
|
|
29
|
-
return typeof
|
|
30
|
-
} : function(
|
|
31
|
-
return
|
|
32
|
-
},
|
|
33
|
-
}
|
|
34
|
-
function
|
|
35
|
-
if (!(t instanceof
|
|
36
|
-
}
|
|
37
|
-
function
|
|
38
|
-
for (var
|
|
39
|
-
var r = n
|
|
40
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t,
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
function
|
|
47
|
-
var
|
|
48
|
-
return
|
|
49
|
-
}
|
|
50
|
-
function
|
|
51
|
-
if (
|
|
52
|
-
var
|
|
53
|
-
if (
|
|
54
|
-
var r =
|
|
55
|
-
if (
|
|
28
|
+
return j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
29
|
+
return typeof d;
|
|
30
|
+
} : function(d) {
|
|
31
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
32
|
+
}, j(t);
|
|
33
|
+
}
|
|
34
|
+
function ie(t, d) {
|
|
35
|
+
if (!(t instanceof d)) throw new TypeError("Cannot call a class as a function");
|
|
36
|
+
}
|
|
37
|
+
function ed(t, d) {
|
|
38
|
+
for (var n = 0; n < d.length; n++) {
|
|
39
|
+
var r = d[n];
|
|
40
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, td(r.key), r);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function oe(t, d, n) {
|
|
44
|
+
return d && ed(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
45
|
+
}
|
|
46
|
+
function td(t) {
|
|
47
|
+
var d = dd(t, "string");
|
|
48
|
+
return j(d) == "symbol" ? d : d + "";
|
|
49
|
+
}
|
|
50
|
+
function dd(t, d) {
|
|
51
|
+
if (j(t) != "object" || !t) return t;
|
|
52
|
+
var n = t[Symbol.toPrimitive];
|
|
53
|
+
if (n !== void 0) {
|
|
54
|
+
var r = n.call(t, d);
|
|
55
|
+
if (j(r) != "object") return r;
|
|
56
56
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
57
57
|
}
|
|
58
58
|
return String(t);
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
function t(
|
|
62
|
-
|
|
60
|
+
var nd = "1.2.0", rd = "1.7.35", Me = " ext. ", id = /^\d+$/, y = /* @__PURE__ */ function() {
|
|
61
|
+
function t(d) {
|
|
62
|
+
ie(this, t), at(d), this.metadata = d, $t.call(this, d);
|
|
63
63
|
}
|
|
64
|
-
return
|
|
64
|
+
return oe(t, [{
|
|
65
65
|
key: "getCountries",
|
|
66
66
|
value: function() {
|
|
67
|
-
return Object.keys(this.metadata.countries).filter(function(
|
|
68
|
-
return
|
|
67
|
+
return Object.keys(this.metadata.countries).filter(function(n) {
|
|
68
|
+
return n !== "001";
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
}, {
|
|
72
72
|
key: "getCountryMetadata",
|
|
73
|
-
value: function(
|
|
74
|
-
return this.metadata.countries[
|
|
73
|
+
value: function(n) {
|
|
74
|
+
return this.metadata.countries[n];
|
|
75
75
|
}
|
|
76
76
|
}, {
|
|
77
77
|
key: "nonGeographic",
|
|
@@ -81,75 +81,75 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
81
81
|
}
|
|
82
82
|
}, {
|
|
83
83
|
key: "hasCountry",
|
|
84
|
-
value: function(
|
|
85
|
-
return this.getCountryMetadata(
|
|
84
|
+
value: function(n) {
|
|
85
|
+
return this.getCountryMetadata(n) !== void 0;
|
|
86
86
|
}
|
|
87
87
|
}, {
|
|
88
88
|
key: "hasCallingCode",
|
|
89
|
-
value: function(
|
|
90
|
-
if (this.getCountryCodesForCallingCode(
|
|
89
|
+
value: function(n) {
|
|
90
|
+
if (this.getCountryCodesForCallingCode(n))
|
|
91
91
|
return !0;
|
|
92
92
|
if (this.nonGeographic()) {
|
|
93
|
-
if (this.nonGeographic()[
|
|
93
|
+
if (this.nonGeographic()[n])
|
|
94
94
|
return !0;
|
|
95
95
|
} else {
|
|
96
|
-
var r = this.countryCallingCodes()[
|
|
96
|
+
var r = this.countryCallingCodes()[n];
|
|
97
97
|
if (r && r.length === 1 && r[0] === "001")
|
|
98
98
|
return !0;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}, {
|
|
102
102
|
key: "isNonGeographicCallingCode",
|
|
103
|
-
value: function(
|
|
104
|
-
return this.nonGeographic() ? !!this.nonGeographic()[
|
|
103
|
+
value: function(n) {
|
|
104
|
+
return this.nonGeographic() ? !!this.nonGeographic()[n] : !this.getCountryCodesForCallingCode(n);
|
|
105
105
|
}
|
|
106
106
|
// Deprecated.
|
|
107
107
|
}, {
|
|
108
108
|
key: "country",
|
|
109
|
-
value: function(
|
|
110
|
-
return this.selectNumberingPlan(
|
|
109
|
+
value: function(n) {
|
|
110
|
+
return this.selectNumberingPlan(n);
|
|
111
111
|
}
|
|
112
112
|
}, {
|
|
113
113
|
key: "selectNumberingPlan",
|
|
114
|
-
value: function(
|
|
115
|
-
if (
|
|
116
|
-
if (!this.hasCountry(
|
|
117
|
-
throw new Error("Unknown country: ".concat(
|
|
118
|
-
this.numberingPlan = new
|
|
114
|
+
value: function(n, r) {
|
|
115
|
+
if (n && id.test(n) && (r = n, n = null), n && n !== "001") {
|
|
116
|
+
if (!this.hasCountry(n))
|
|
117
|
+
throw new Error("Unknown country: ".concat(n));
|
|
118
|
+
this.numberingPlan = new xe(this.getCountryMetadata(n), this);
|
|
119
119
|
} else if (r) {
|
|
120
120
|
if (!this.hasCallingCode(r))
|
|
121
121
|
throw new Error("Unknown calling code: ".concat(r));
|
|
122
|
-
this.numberingPlan = new
|
|
122
|
+
this.numberingPlan = new xe(this.getNumberingPlanMetadata(r), this);
|
|
123
123
|
} else
|
|
124
124
|
this.numberingPlan = void 0;
|
|
125
125
|
return this;
|
|
126
126
|
}
|
|
127
127
|
}, {
|
|
128
128
|
key: "getCountryCodesForCallingCode",
|
|
129
|
-
value: function(
|
|
130
|
-
var r = this.countryCallingCodes()[
|
|
129
|
+
value: function(n) {
|
|
130
|
+
var r = this.countryCallingCodes()[n];
|
|
131
131
|
if (r)
|
|
132
132
|
return r.length === 1 && r[0].length === 3 ? void 0 : r;
|
|
133
133
|
}
|
|
134
134
|
}, {
|
|
135
135
|
key: "getCountryCodeForCallingCode",
|
|
136
|
-
value: function(
|
|
137
|
-
var r = this.getCountryCodesForCallingCode(
|
|
136
|
+
value: function(n) {
|
|
137
|
+
var r = this.getCountryCodesForCallingCode(n);
|
|
138
138
|
if (r)
|
|
139
139
|
return r[0];
|
|
140
140
|
}
|
|
141
141
|
}, {
|
|
142
142
|
key: "getNumberingPlanMetadata",
|
|
143
|
-
value: function(
|
|
144
|
-
var r = this.getCountryCodeForCallingCode(
|
|
143
|
+
value: function(n) {
|
|
144
|
+
var r = this.getCountryCodeForCallingCode(n);
|
|
145
145
|
if (r)
|
|
146
146
|
return this.getCountryMetadata(r);
|
|
147
147
|
if (this.nonGeographic()) {
|
|
148
|
-
var i = this.nonGeographic()[
|
|
148
|
+
var i = this.nonGeographic()[n];
|
|
149
149
|
if (i)
|
|
150
150
|
return i;
|
|
151
151
|
} else {
|
|
152
|
-
var a = this.countryCallingCodes()[
|
|
152
|
+
var a = this.countryCallingCodes()[n];
|
|
153
153
|
if (a && a.length === 1 && a[0] === "001")
|
|
154
154
|
return this.metadata.countries["001"];
|
|
155
155
|
}
|
|
@@ -217,8 +217,8 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
217
217
|
// Deprecated.
|
|
218
218
|
}, {
|
|
219
219
|
key: "type",
|
|
220
|
-
value: function(
|
|
221
|
-
return this.numberingPlan.type(
|
|
220
|
+
value: function(n) {
|
|
221
|
+
return this.numberingPlan.type(n);
|
|
222
222
|
}
|
|
223
223
|
// Deprecated.
|
|
224
224
|
}, {
|
|
@@ -234,8 +234,8 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
234
234
|
// Deprecated.
|
|
235
235
|
}, {
|
|
236
236
|
key: "chooseCountryByCountryCallingCode",
|
|
237
|
-
value: function(
|
|
238
|
-
return this.selectNumberingPlan(
|
|
237
|
+
value: function(n) {
|
|
238
|
+
return this.selectNumberingPlan(n);
|
|
239
239
|
}
|
|
240
240
|
}, {
|
|
241
241
|
key: "hasSelectedNumberingPlan",
|
|
@@ -243,11 +243,11 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
243
243
|
return this.numberingPlan !== void 0;
|
|
244
244
|
}
|
|
245
245
|
}]);
|
|
246
|
-
}(),
|
|
247
|
-
function t(
|
|
248
|
-
|
|
246
|
+
}(), xe = /* @__PURE__ */ function() {
|
|
247
|
+
function t(d, n) {
|
|
248
|
+
ie(this, t), this.globalMetadataObject = n, this.metadata = d, $t.call(this, n.metadata);
|
|
249
249
|
}
|
|
250
|
-
return
|
|
250
|
+
return oe(t, [{
|
|
251
251
|
key: "callingCode",
|
|
252
252
|
value: function() {
|
|
253
253
|
return this.metadata[0];
|
|
@@ -291,8 +291,8 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
291
291
|
}
|
|
292
292
|
}, {
|
|
293
293
|
key: "_getFormats",
|
|
294
|
-
value: function(
|
|
295
|
-
return
|
|
294
|
+
value: function(n) {
|
|
295
|
+
return n[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
296
296
|
}
|
|
297
297
|
// For countries of the same region (e.g. NANPA)
|
|
298
298
|
// formats are all stored in the "main" country for that region.
|
|
@@ -300,9 +300,9 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
300
300
|
}, {
|
|
301
301
|
key: "formats",
|
|
302
302
|
value: function() {
|
|
303
|
-
var
|
|
303
|
+
var n = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
304
304
|
return r.map(function(i) {
|
|
305
|
-
return new
|
|
305
|
+
return new od(i, n);
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
}, {
|
|
@@ -312,8 +312,8 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
312
312
|
}
|
|
313
313
|
}, {
|
|
314
314
|
key: "_getNationalPrefixFormattingRule",
|
|
315
|
-
value: function(
|
|
316
|
-
return
|
|
315
|
+
value: function(n) {
|
|
316
|
+
return n[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
317
317
|
}
|
|
318
318
|
// For countries of the same region (e.g. NANPA)
|
|
319
319
|
// national prefix formatting rule is stored in the "main" country for that region.
|
|
@@ -369,21 +369,21 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
369
369
|
}
|
|
370
370
|
}, {
|
|
371
371
|
key: "type",
|
|
372
|
-
value: function(
|
|
373
|
-
if (this.hasTypes() &&
|
|
374
|
-
return new
|
|
372
|
+
value: function(n) {
|
|
373
|
+
if (this.hasTypes() && De(this.types(), n))
|
|
374
|
+
return new $d(De(this.types(), n), this);
|
|
375
375
|
}
|
|
376
376
|
}, {
|
|
377
377
|
key: "ext",
|
|
378
378
|
value: function() {
|
|
379
|
-
return this.v1 || this.v2 ?
|
|
379
|
+
return this.v1 || this.v2 ? Me : this.metadata[13] || Me;
|
|
380
380
|
}
|
|
381
381
|
}]);
|
|
382
|
-
}(),
|
|
383
|
-
function t(
|
|
384
|
-
|
|
382
|
+
}(), od = /* @__PURE__ */ function() {
|
|
383
|
+
function t(d, n) {
|
|
384
|
+
ie(this, t), this._format = d, this.metadata = n;
|
|
385
385
|
}
|
|
386
|
-
return
|
|
386
|
+
return oe(t, [{
|
|
387
387
|
key: "pattern",
|
|
388
388
|
value: function() {
|
|
389
389
|
return this._format[0];
|
|
@@ -418,7 +418,7 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
418
418
|
key: "usesNationalPrefix",
|
|
419
419
|
value: function() {
|
|
420
420
|
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
421
|
-
!
|
|
421
|
+
!ad.test(this.nationalPrefixFormattingRule()));
|
|
422
422
|
}
|
|
423
423
|
}, {
|
|
424
424
|
key: "internationalFormat",
|
|
@@ -426,11 +426,11 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
426
426
|
return this._format[5] || this.format();
|
|
427
427
|
}
|
|
428
428
|
}]);
|
|
429
|
-
}(),
|
|
430
|
-
function t(
|
|
431
|
-
|
|
429
|
+
}(), ad = /^\(?\$1\)?$/, $d = /* @__PURE__ */ function() {
|
|
430
|
+
function t(d, n) {
|
|
431
|
+
ie(this, t), this.type = d, this.metadata = n;
|
|
432
432
|
}
|
|
433
|
-
return
|
|
433
|
+
return oe(t, [{
|
|
434
434
|
key: "pattern",
|
|
435
435
|
value: function() {
|
|
436
436
|
return this.metadata.v1 ? this.type : this.type[0];
|
|
@@ -443,8 +443,8 @@ var cn = "1.2.0", mn = "1.7.35", we = " ext. ", fn = /^\d+$/, y = /* @__PURE__ *
|
|
|
443
443
|
}
|
|
444
444
|
}]);
|
|
445
445
|
}();
|
|
446
|
-
function
|
|
447
|
-
switch (
|
|
446
|
+
function De(t, d) {
|
|
447
|
+
switch (d) {
|
|
448
448
|
case "FIXED_LINE":
|
|
449
449
|
return t[0];
|
|
450
450
|
case "MOBILE":
|
|
@@ -467,78 +467,78 @@ function Be(t, n) {
|
|
|
467
467
|
return t[9];
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function at(t) {
|
|
471
471
|
if (!t)
|
|
472
472
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
473
|
-
if (!
|
|
474
|
-
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(
|
|
473
|
+
if (!w(t) || !w(t.countries))
|
|
474
|
+
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(w(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + sd(t) + ": " + t, "."));
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
return
|
|
476
|
+
var sd = function(d) {
|
|
477
|
+
return j(d);
|
|
478
478
|
};
|
|
479
|
-
function
|
|
480
|
-
if (
|
|
481
|
-
return
|
|
479
|
+
function Ee(t, d) {
|
|
480
|
+
if (d = new y(d), d.hasCountry(t))
|
|
481
|
+
return d.selectNumberingPlan(t).countryCallingCode();
|
|
482
482
|
throw new Error("Unknown country: ".concat(t));
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
return
|
|
484
|
+
function ld(t, d) {
|
|
485
|
+
return d.countries.hasOwnProperty(t);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
488
|
-
var
|
|
489
|
-
typeof
|
|
487
|
+
function $t(t) {
|
|
488
|
+
var d = t.version;
|
|
489
|
+
typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ? Oe(d, nd) === -1 ? this.v2 = !0 : Oe(d, rd) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
490
490
|
}
|
|
491
|
-
function
|
|
492
|
-
return
|
|
491
|
+
function he(t, d, n) {
|
|
492
|
+
return ud(t, d, void 0, n);
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
|
|
496
|
-
var i = r.type(
|
|
494
|
+
function ud(t, d, n, r) {
|
|
495
|
+
d && (r = new y(r.metadata), r.selectNumberingPlan(d));
|
|
496
|
+
var i = r.type(n), a = i && i.possibleLengths() || r.possibleLengths();
|
|
497
497
|
if (!a)
|
|
498
498
|
return "IS_POSSIBLE";
|
|
499
|
-
var
|
|
500
|
-
return
|
|
499
|
+
var $ = t.length, s = a[0];
|
|
500
|
+
return s === $ ? "IS_POSSIBLE" : s > $ ? "TOO_SHORT" : a[a.length - 1] < $ ? "TOO_LONG" : a.indexOf($, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
501
501
|
}
|
|
502
|
-
function
|
|
503
|
-
if (
|
|
502
|
+
function cd(t, d, n) {
|
|
503
|
+
if (d === void 0 && (d = {}), n = new y(n), d.v2) {
|
|
504
504
|
if (!t.countryCallingCode)
|
|
505
505
|
throw new Error("Invalid phone number object passed");
|
|
506
|
-
|
|
506
|
+
n.selectNumberingPlan(t.countryCallingCode);
|
|
507
507
|
} else {
|
|
508
508
|
if (!t.phone)
|
|
509
509
|
return !1;
|
|
510
510
|
if (t.country) {
|
|
511
|
-
if (!
|
|
511
|
+
if (!n.hasCountry(t.country))
|
|
512
512
|
throw new Error("Unknown country: ".concat(t.country));
|
|
513
|
-
|
|
513
|
+
n.selectNumberingPlan(t.country);
|
|
514
514
|
} else {
|
|
515
515
|
if (!t.countryCallingCode)
|
|
516
516
|
throw new Error("Invalid phone number object passed");
|
|
517
|
-
|
|
517
|
+
n.selectNumberingPlan(t.countryCallingCode);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
if (
|
|
521
|
-
return
|
|
522
|
-
if (t.countryCallingCode &&
|
|
520
|
+
if (n.possibleLengths())
|
|
521
|
+
return st(t.phone || t.nationalNumber, t.country, n);
|
|
522
|
+
if (t.countryCallingCode && n.isNonGeographicCallingCode(t.countryCallingCode))
|
|
523
523
|
return !0;
|
|
524
524
|
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
525
525
|
}
|
|
526
|
-
function
|
|
527
|
-
switch (
|
|
526
|
+
function st(t, d, n) {
|
|
527
|
+
switch (he(t, d, n)) {
|
|
528
528
|
case "IS_POSSIBLE":
|
|
529
529
|
return !0;
|
|
530
530
|
default:
|
|
531
531
|
return !1;
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
535
|
-
return t = t || "", new RegExp("^(?:" +
|
|
534
|
+
function I(t, d) {
|
|
535
|
+
return t = t || "", new RegExp("^(?:" + d + ")$").test(t);
|
|
536
536
|
}
|
|
537
|
-
function
|
|
538
|
-
var
|
|
539
|
-
if (
|
|
540
|
-
if (Array.isArray(t) || (
|
|
541
|
-
|
|
537
|
+
function fd(t, d) {
|
|
538
|
+
var n = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
539
|
+
if (n) return (n = n.call(t)).next.bind(n);
|
|
540
|
+
if (Array.isArray(t) || (n = md(t)) || d) {
|
|
541
|
+
n && (t = n);
|
|
542
542
|
var r = 0;
|
|
543
543
|
return function() {
|
|
544
544
|
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
@@ -547,83 +547,83 @@ function vn(t, n) {
|
|
|
547
547
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
548
548
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function md(t, d) {
|
|
551
551
|
if (t) {
|
|
552
|
-
if (typeof t == "string") return
|
|
553
|
-
var
|
|
554
|
-
return
|
|
552
|
+
if (typeof t == "string") return Le(t, d);
|
|
553
|
+
var n = {}.toString.call(t).slice(8, -1);
|
|
554
|
+
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Le(t, d) : void 0;
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
(
|
|
559
|
-
for (var
|
|
557
|
+
function Le(t, d) {
|
|
558
|
+
(d == null || d > t.length) && (d = t.length);
|
|
559
|
+
for (var n = 0, r = Array(d); n < d; n++) r[n] = t[n];
|
|
560
560
|
return r;
|
|
561
561
|
}
|
|
562
|
-
var
|
|
563
|
-
function
|
|
564
|
-
if (
|
|
565
|
-
|
|
566
|
-
var r =
|
|
567
|
-
if (
|
|
568
|
-
if (
|
|
569
|
-
return
|
|
570
|
-
for (var i =
|
|
571
|
-
var
|
|
572
|
-
if (
|
|
573
|
-
return
|
|
562
|
+
var gd = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
563
|
+
function ve(t, d, n) {
|
|
564
|
+
if (d = d || {}, !(!t.country && !t.countryCallingCode)) {
|
|
565
|
+
n = new y(n), n.selectNumberingPlan(t.country, t.countryCallingCode);
|
|
566
|
+
var r = d.v2 ? t.nationalNumber : t.phone;
|
|
567
|
+
if (I(r, n.nationalNumberPattern())) {
|
|
568
|
+
if (ue(r, "FIXED_LINE", n))
|
|
569
|
+
return n.type("MOBILE") && n.type("MOBILE").pattern() === "" || !n.type("MOBILE") || ue(r, "MOBILE", n) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
570
|
+
for (var i = fd(gd), a; !(a = i()).done; ) {
|
|
571
|
+
var $ = a.value;
|
|
572
|
+
if (ue(r, $, n))
|
|
573
|
+
return $;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function
|
|
579
|
-
var r =
|
|
580
|
-
return !r || !r.pattern() || r.possibleLengths() && r.possibleLengths().indexOf(t.length) < 0 ? !1 :
|
|
578
|
+
function ue(t, d, n) {
|
|
579
|
+
var r = n.type(d);
|
|
580
|
+
return !r || !r.pattern() || r.possibleLengths() && r.possibleLengths().indexOf(t.length) < 0 ? !1 : I(t, r.pattern());
|
|
581
581
|
}
|
|
582
|
-
function
|
|
583
|
-
if (
|
|
584
|
-
return
|
|
585
|
-
var r =
|
|
586
|
-
return
|
|
582
|
+
function pd(t, d, n) {
|
|
583
|
+
if (d = d || {}, n = new y(n), n.selectNumberingPlan(t.country, t.countryCallingCode), n.hasTypes())
|
|
584
|
+
return ve(t, d, n.metadata) !== void 0;
|
|
585
|
+
var r = d.v2 ? t.nationalNumber : t.phone;
|
|
586
|
+
return I(r, n.nationalNumberPattern());
|
|
587
587
|
}
|
|
588
|
-
function
|
|
589
|
-
var r = new y(
|
|
588
|
+
function bd(t, d, n) {
|
|
589
|
+
var r = new y(n), i = r.getCountryCodesForCallingCode(t);
|
|
590
590
|
return i ? i.filter(function(a) {
|
|
591
|
-
return
|
|
591
|
+
return yd(d, a, n);
|
|
592
592
|
}) : [];
|
|
593
593
|
}
|
|
594
|
-
function
|
|
595
|
-
var r = new y(
|
|
596
|
-
return r.selectNumberingPlan(
|
|
594
|
+
function yd(t, d, n) {
|
|
595
|
+
var r = new y(n);
|
|
596
|
+
return r.selectNumberingPlan(d), r.numberingPlan.possibleLengths().indexOf(t.length) >= 0;
|
|
597
597
|
}
|
|
598
|
-
var
|
|
599
|
-
function
|
|
600
|
-
if (
|
|
598
|
+
var Ce = 2, _d = 17, Ed = 3, h = "0-90-9٠-٩۰-۹", hd = "-‐-―−ー-", vd = "//", Cd = "..", Pd = " ", Rd = "()()[]\\[\\]", Nd = "~⁓∼~", Q = "".concat(hd).concat(vd).concat(Cd).concat(Pd).concat(Rd).concat(Nd), Pe = "++", Id = new RegExp("([" + h + "])");
|
|
599
|
+
function Fd(t, d, n, r) {
|
|
600
|
+
if (d) {
|
|
601
601
|
var i = new y(r);
|
|
602
|
-
i.selectNumberingPlan(
|
|
602
|
+
i.selectNumberingPlan(d, n);
|
|
603
603
|
var a = new RegExp(i.IDDPrefix());
|
|
604
604
|
if (t.search(a) === 0) {
|
|
605
605
|
t = t.slice(t.match(a)[0].length);
|
|
606
|
-
var
|
|
607
|
-
if (!(
|
|
606
|
+
var $ = t.match(Id);
|
|
607
|
+
if (!($ && $[1] != null && $[1].length > 0 && $[1] === "0"))
|
|
608
608
|
return t;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function
|
|
613
|
-
if (t &&
|
|
614
|
-
var
|
|
612
|
+
function Sd(t, d) {
|
|
613
|
+
if (t && d.numberingPlan.nationalPrefixForParsing()) {
|
|
614
|
+
var n = new RegExp("^(?:" + d.numberingPlan.nationalPrefixForParsing() + ")"), r = n.exec(t);
|
|
615
615
|
if (r) {
|
|
616
|
-
var i, a,
|
|
617
|
-
if (
|
|
618
|
-
i = t.replace(
|
|
616
|
+
var i, a, $ = r.length - 1, s = $ > 0 && r[$];
|
|
617
|
+
if (d.nationalPrefixTransformRule() && s)
|
|
618
|
+
i = t.replace(n, d.nationalPrefixTransformRule()), $ > 1 && (a = r[1]);
|
|
619
619
|
else {
|
|
620
620
|
var l = r[0];
|
|
621
|
-
i = t.slice(l.length),
|
|
621
|
+
i = t.slice(l.length), s && (a = r[1]);
|
|
622
622
|
}
|
|
623
623
|
var u;
|
|
624
|
-
if (
|
|
625
|
-
var
|
|
626
|
-
E ===
|
|
624
|
+
if (s) {
|
|
625
|
+
var g = t.indexOf(r[1]), E = t.slice(0, g);
|
|
626
|
+
E === d.numberingPlan.nationalPrefix() && (u = d.numberingPlan.nationalPrefix());
|
|
627
627
|
} else
|
|
628
628
|
u = r[0];
|
|
629
629
|
return {
|
|
@@ -637,11 +637,11 @@ function jn(t, n) {
|
|
|
637
637
|
nationalNumber: t
|
|
638
638
|
};
|
|
639
639
|
}
|
|
640
|
-
function
|
|
641
|
-
var
|
|
642
|
-
if (
|
|
643
|
-
if (Array.isArray(t) || (
|
|
644
|
-
|
|
640
|
+
function Ad(t, d) {
|
|
641
|
+
var n = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
642
|
+
if (n) return (n = n.call(t)).next.bind(n);
|
|
643
|
+
if (Array.isArray(t) || (n = Td(t)) || d) {
|
|
644
|
+
n && (t = n);
|
|
645
645
|
var r = 0;
|
|
646
646
|
return function() {
|
|
647
647
|
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
@@ -650,52 +650,52 @@ function Bn(t, n) {
|
|
|
650
650
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
651
651
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function Td(t, d) {
|
|
654
654
|
if (t) {
|
|
655
|
-
if (typeof t == "string") return
|
|
656
|
-
var
|
|
657
|
-
return
|
|
655
|
+
if (typeof t == "string") return we(t, d);
|
|
656
|
+
var n = {}.toString.call(t).slice(8, -1);
|
|
657
|
+
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? we(t, d) : void 0;
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
|
-
function
|
|
661
|
-
(
|
|
662
|
-
for (var
|
|
660
|
+
function we(t, d) {
|
|
661
|
+
(d == null || d > t.length) && (d = t.length);
|
|
662
|
+
for (var n = 0, r = Array(d); n < d; n++) r[n] = t[n];
|
|
663
663
|
return r;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
666
|
-
var
|
|
665
|
+
function Od(t, d) {
|
|
666
|
+
var n = d.countries, r = d.metadata;
|
|
667
667
|
r = new y(r);
|
|
668
|
-
for (var i =
|
|
669
|
-
var
|
|
670
|
-
if (r.selectNumberingPlan(
|
|
668
|
+
for (var i = Ad(n), a; !(a = i()).done; ) {
|
|
669
|
+
var $ = a.value;
|
|
670
|
+
if (r.selectNumberingPlan($), r.leadingDigits()) {
|
|
671
671
|
if (t && t.search(r.leadingDigits()) === 0)
|
|
672
|
-
return
|
|
673
|
-
} else if (
|
|
672
|
+
return $;
|
|
673
|
+
} else if (ve({
|
|
674
674
|
phone: t,
|
|
675
|
-
country:
|
|
675
|
+
country: $
|
|
676
676
|
}, void 0, r.metadata))
|
|
677
|
-
return
|
|
677
|
+
return $;
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
var
|
|
680
|
+
function lt(t, d) {
|
|
681
|
+
var n = d.nationalNumber, r = d.metadata, i = r.getCountryCodesForCallingCode(t);
|
|
682
682
|
if (i)
|
|
683
|
-
return i.length === 1 ? i[0] :
|
|
683
|
+
return i.length === 1 ? i[0] : Od(n, {
|
|
684
684
|
countries: i,
|
|
685
685
|
metadata: r.metadata
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
689
|
-
var r =
|
|
688
|
+
function ge(t, d, n) {
|
|
689
|
+
var r = Sd(t, n), i = r.carrierCode, a = r.nationalNumber;
|
|
690
690
|
if (a !== t) {
|
|
691
|
-
if (!
|
|
691
|
+
if (!Md(t, a, n))
|
|
692
692
|
return {
|
|
693
693
|
nationalNumber: t
|
|
694
694
|
};
|
|
695
|
-
if (
|
|
695
|
+
if (n.numberingPlan.possibleLengths() && (d || (d = lt(n.numberingPlan.callingCode(), {
|
|
696
696
|
nationalNumber: a,
|
|
697
|
-
metadata:
|
|
698
|
-
})), !
|
|
697
|
+
metadata: n
|
|
698
|
+
})), !xd(a, d, n)))
|
|
699
699
|
return {
|
|
700
700
|
nationalNumber: t
|
|
701
701
|
};
|
|
@@ -705,11 +705,11 @@ function _e(t, n, d) {
|
|
|
705
705
|
carrierCode: i
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
return !(
|
|
708
|
+
function Md(t, d, n) {
|
|
709
|
+
return !(I(t, n.nationalNumberPattern()) && !I(d, n.nationalNumberPattern()));
|
|
710
710
|
}
|
|
711
|
-
function
|
|
712
|
-
switch (
|
|
711
|
+
function xd(t, d, n) {
|
|
712
|
+
switch (he(t, d, n)) {
|
|
713
713
|
case "TOO_SHORT":
|
|
714
714
|
case "INVALID_LENGTH":
|
|
715
715
|
return !1;
|
|
@@ -717,32 +717,32 @@ function Hn(t, n, d) {
|
|
|
717
717
|
return !0;
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
var a =
|
|
720
|
+
function Dd(t, d, n, r, i) {
|
|
721
|
+
var a = n ? Ee(n, i) : r;
|
|
722
722
|
if (t.indexOf(a) === 0) {
|
|
723
|
-
i = new y(i), i.selectNumberingPlan(
|
|
724
|
-
var
|
|
725
|
-
if (!
|
|
723
|
+
i = new y(i), i.selectNumberingPlan(n, a);
|
|
724
|
+
var $ = t.slice(a.length), s = ge($, d, i), l = s.nationalNumber, u = ge(t, d, i), g = u.nationalNumber;
|
|
725
|
+
if (!I(g, i.nationalNumberPattern()) && I(l, i.nationalNumberPattern()) || he(g, d, i) === "TOO_LONG")
|
|
726
726
|
return {
|
|
727
727
|
countryCallingCode: a,
|
|
728
|
-
number:
|
|
728
|
+
number: $
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
731
|
return {
|
|
732
732
|
number: t
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function ut(t, d, n, r, i) {
|
|
736
736
|
if (!t)
|
|
737
737
|
return {};
|
|
738
738
|
var a;
|
|
739
739
|
if (t[0] !== "+") {
|
|
740
|
-
var
|
|
741
|
-
if (
|
|
742
|
-
a = !0, t = "+" +
|
|
740
|
+
var $ = Fd(t, n, r, i);
|
|
741
|
+
if ($ && $ !== t)
|
|
742
|
+
a = !0, t = "+" + $;
|
|
743
743
|
else {
|
|
744
|
-
if (
|
|
745
|
-
var
|
|
744
|
+
if (n || r) {
|
|
745
|
+
var s = Dd(t, d, n, r, i), l = s.countryCallingCode, u = s.number;
|
|
746
746
|
if (l)
|
|
747
747
|
return {
|
|
748
748
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -760,24 +760,24 @@ function bt(t, n, d, r, i) {
|
|
|
760
760
|
if (t[1] === "0")
|
|
761
761
|
return {};
|
|
762
762
|
i = new y(i);
|
|
763
|
-
for (var
|
|
764
|
-
var E = t.slice(1,
|
|
763
|
+
for (var g = 2; g - 1 <= Ed && g <= t.length; ) {
|
|
764
|
+
var E = t.slice(1, g);
|
|
765
765
|
if (i.hasCallingCode(E))
|
|
766
766
|
return i.selectNumberingPlan(E), {
|
|
767
767
|
countryCallingCodeSource: a ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
|
768
768
|
countryCallingCode: E,
|
|
769
|
-
number: t.slice(
|
|
769
|
+
number: t.slice(g)
|
|
770
770
|
};
|
|
771
|
-
|
|
771
|
+
g++;
|
|
772
772
|
}
|
|
773
773
|
return {};
|
|
774
774
|
}
|
|
775
|
-
function
|
|
776
|
-
return t.replace(new RegExp("[".concat(
|
|
775
|
+
function Ld(t) {
|
|
776
|
+
return t.replace(new RegExp("[".concat(Q, "]+"), "g"), " ").trim();
|
|
777
777
|
}
|
|
778
|
-
var
|
|
779
|
-
function
|
|
780
|
-
var r =
|
|
778
|
+
var wd = /(\$\d)/;
|
|
779
|
+
function jd(t, d, n) {
|
|
780
|
+
var r = n.useInternationalFormat, i = n.withNationalPrefix, a = t.replace(new RegExp(d.pattern()), r ? d.internationalFormat() : (
|
|
781
781
|
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
782
782
|
// because that one is only used when formatting phone numbers
|
|
783
783
|
// for dialing from a mobile phone, and this is not a dialing library.
|
|
@@ -791,249 +791,249 @@ function zn(t, n, d) {
|
|
|
791
791
|
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
|
792
792
|
// : format.format()
|
|
793
793
|
// )
|
|
794
|
-
i &&
|
|
794
|
+
i && d.nationalPrefixFormattingRule() ? d.format().replace(wd, d.nationalPrefixFormattingRule()) : d.format()
|
|
795
795
|
));
|
|
796
|
-
return r ?
|
|
796
|
+
return r ? Ld(a) : a;
|
|
797
797
|
}
|
|
798
|
-
var
|
|
799
|
-
function
|
|
800
|
-
var r = new y(
|
|
801
|
-
if (r.selectNumberingPlan(t,
|
|
798
|
+
var Bd = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
799
|
+
function Ud(t, d, n) {
|
|
800
|
+
var r = new y(n);
|
|
801
|
+
if (r.selectNumberingPlan(t, d), r.defaultIDDPrefix())
|
|
802
802
|
return r.defaultIDDPrefix();
|
|
803
|
-
if (
|
|
803
|
+
if (Bd.test(r.IDDPrefix()))
|
|
804
804
|
return r.IDDPrefix();
|
|
805
805
|
}
|
|
806
|
-
var
|
|
807
|
-
return "([".concat(h, "]{1,").concat(
|
|
806
|
+
var Gd = ";ext=", D = function(d) {
|
|
807
|
+
return "([".concat(h, "]{1,").concat(d, "})");
|
|
808
808
|
};
|
|
809
|
-
function
|
|
810
|
-
var
|
|
811
|
-
return O + "|" +
|
|
809
|
+
function ct(t) {
|
|
810
|
+
var d = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", $ = "[:\\..]?[ \\t,-]*", s = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", g = "[- ]+", E = "[ \\t]*", C = "(?:,{2}|;)", O = Gd + D(d), H = a + l + $ + D(d) + s, Gt = a + u + $ + D(r) + s, kt = g + D(i) + "#", Ht = E + C + $ + D(n) + s, Vt = E + "(?:,)+" + $ + D(r) + s;
|
|
811
|
+
return O + "|" + H + "|" + Gt + "|" + kt + "|" + Ht + "|" + Vt;
|
|
812
812
|
}
|
|
813
|
-
var
|
|
814
|
-
"(?:" +
|
|
813
|
+
var kd = "[" + h + "]{" + Ce + "}", Hd = "[" + Pe + "]{0,1}(?:[" + Q + "]*[" + h + "]){3,}[" + Q + h + "]*", Vd = new RegExp("^[" + Pe + "]{0,1}(?:[" + Q + "]*[" + h + "]){1,2}$", "i"), Kd = Hd + // Phone number extensions
|
|
814
|
+
"(?:" + ct() + ")?", Wd = new RegExp(
|
|
815
815
|
// Either a short two-digit-only phone number
|
|
816
|
-
"^" +
|
|
816
|
+
"^" + kd + "$|^" + Kd + "$",
|
|
817
817
|
"i"
|
|
818
818
|
);
|
|
819
|
-
function
|
|
820
|
-
return t.length >=
|
|
819
|
+
function zd(t) {
|
|
820
|
+
return t.length >= Ce && Wd.test(t);
|
|
821
821
|
}
|
|
822
|
-
function
|
|
823
|
-
return
|
|
822
|
+
function Yd(t) {
|
|
823
|
+
return Vd.test(t);
|
|
824
824
|
}
|
|
825
|
-
function
|
|
826
|
-
var
|
|
827
|
-
if (!
|
|
825
|
+
function qd(t) {
|
|
826
|
+
var d = t.number, n = t.ext;
|
|
827
|
+
if (!d)
|
|
828
828
|
return "";
|
|
829
|
-
if (
|
|
829
|
+
if (d[0] !== "+")
|
|
830
830
|
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
831
|
-
return "tel:".concat(
|
|
831
|
+
return "tel:".concat(d).concat(n ? ";ext=" + n : "");
|
|
832
832
|
}
|
|
833
|
-
var
|
|
834
|
-
formatExtension: function(
|
|
835
|
-
return "".concat(
|
|
833
|
+
var je = {
|
|
834
|
+
formatExtension: function(d, n, r) {
|
|
835
|
+
return "".concat(d).concat(r.ext()).concat(n);
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
|
-
function
|
|
839
|
-
if (
|
|
838
|
+
function Xd(t, d, n, r) {
|
|
839
|
+
if (n ? n = Qd({}, je, n) : n = je, r = new y(r), t.country && t.country !== "001") {
|
|
840
840
|
if (!r.hasCountry(t.country))
|
|
841
841
|
throw new Error("Unknown country: ".concat(t.country));
|
|
842
842
|
r.selectNumberingPlan(t.country);
|
|
843
843
|
} else if (t.countryCallingCode)
|
|
844
844
|
r.selectNumberingPlan(t.countryCallingCode);
|
|
845
845
|
else return t.phone || "";
|
|
846
|
-
var i = r.countryCallingCode(), a =
|
|
847
|
-
switch (
|
|
846
|
+
var i = r.countryCallingCode(), a = n.v2 ? t.nationalNumber : t.phone, $;
|
|
847
|
+
switch (d) {
|
|
848
848
|
case "NATIONAL":
|
|
849
|
-
return a ? (
|
|
849
|
+
return a ? ($ = ee(a, t.carrierCode, "NATIONAL", r, n), ce($, t.ext, r, n.formatExtension)) : "";
|
|
850
850
|
case "INTERNATIONAL":
|
|
851
|
-
return a ? (
|
|
851
|
+
return a ? ($ = ee(a, null, "INTERNATIONAL", r, n), $ = "+".concat(i, " ").concat($), ce($, t.ext, r, n.formatExtension)) : "+".concat(i);
|
|
852
852
|
case "E.164":
|
|
853
853
|
return "+".concat(i).concat(a);
|
|
854
854
|
case "RFC3966":
|
|
855
|
-
return
|
|
855
|
+
return qd({
|
|
856
856
|
number: "+".concat(i).concat(a),
|
|
857
857
|
ext: t.ext
|
|
858
858
|
});
|
|
859
859
|
case "IDD":
|
|
860
|
-
if (!
|
|
860
|
+
if (!n.fromCountry)
|
|
861
861
|
return;
|
|
862
|
-
var
|
|
863
|
-
return
|
|
862
|
+
var s = Zd(a, t.carrierCode, i, n.fromCountry, r);
|
|
863
|
+
return s ? ce(s, t.ext, r, n.formatExtension) : void 0;
|
|
864
864
|
default:
|
|
865
|
-
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(
|
|
865
|
+
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(d, '"'));
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
function
|
|
869
|
-
var a =
|
|
870
|
-
return a ?
|
|
871
|
-
useInternationalFormat:
|
|
868
|
+
function ee(t, d, n, r, i) {
|
|
869
|
+
var a = Jd(r.formats(), t);
|
|
870
|
+
return a ? jd(t, a, {
|
|
871
|
+
useInternationalFormat: n === "INTERNATIONAL",
|
|
872
872
|
withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
|
|
873
|
-
carrierCode:
|
|
873
|
+
carrierCode: d,
|
|
874
874
|
metadata: r
|
|
875
875
|
}) : t;
|
|
876
876
|
}
|
|
877
|
-
function
|
|
878
|
-
return
|
|
879
|
-
if (
|
|
880
|
-
var r =
|
|
881
|
-
if (
|
|
877
|
+
function Jd(t, d) {
|
|
878
|
+
return en(t, function(n) {
|
|
879
|
+
if (n.leadingDigitsPatterns().length > 0) {
|
|
880
|
+
var r = n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length - 1];
|
|
881
|
+
if (d.search(r) !== 0)
|
|
882
882
|
return !1;
|
|
883
883
|
}
|
|
884
|
-
return
|
|
884
|
+
return I(d, n.pattern());
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
|
-
function
|
|
888
|
-
return
|
|
887
|
+
function ce(t, d, n, r) {
|
|
888
|
+
return d ? r(t, d, n) : t;
|
|
889
889
|
}
|
|
890
|
-
function
|
|
891
|
-
var a =
|
|
892
|
-
if (a ===
|
|
893
|
-
var
|
|
894
|
-
return
|
|
890
|
+
function Zd(t, d, n, r, i) {
|
|
891
|
+
var a = Ee(r, i.metadata);
|
|
892
|
+
if (a === n) {
|
|
893
|
+
var $ = ee(t, d, "NATIONAL", i);
|
|
894
|
+
return n === "1" ? n + " " + $ : $;
|
|
895
895
|
}
|
|
896
|
-
var
|
|
897
|
-
if (
|
|
898
|
-
return "".concat(
|
|
899
|
-
}
|
|
900
|
-
function
|
|
901
|
-
for (var t = 1,
|
|
902
|
-
|
|
903
|
-
for (; t <
|
|
904
|
-
if (
|
|
905
|
-
for (var i in
|
|
906
|
-
|
|
896
|
+
var s = Ud(r, void 0, i.metadata);
|
|
897
|
+
if (s)
|
|
898
|
+
return "".concat(s, " ").concat(n, " ").concat(ee(t, null, "INTERNATIONAL", i));
|
|
899
|
+
}
|
|
900
|
+
function Qd() {
|
|
901
|
+
for (var t = 1, d = arguments.length, n = new Array(d), r = 0; r < d; r++)
|
|
902
|
+
n[r] = arguments[r];
|
|
903
|
+
for (; t < n.length; ) {
|
|
904
|
+
if (n[t])
|
|
905
|
+
for (var i in n[t])
|
|
906
|
+
n[0][i] = n[t][i];
|
|
907
907
|
t++;
|
|
908
908
|
}
|
|
909
|
-
return
|
|
909
|
+
return n[0];
|
|
910
910
|
}
|
|
911
|
-
function
|
|
912
|
-
for (var
|
|
913
|
-
if (
|
|
914
|
-
return t[
|
|
915
|
-
|
|
911
|
+
function en(t, d) {
|
|
912
|
+
for (var n = 0; n < t.length; ) {
|
|
913
|
+
if (d(t[n]))
|
|
914
|
+
return t[n];
|
|
915
|
+
n++;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function V(t) {
|
|
919
919
|
"@babel/helpers - typeof";
|
|
920
|
-
return
|
|
921
|
-
return typeof
|
|
922
|
-
} : function(
|
|
923
|
-
return
|
|
924
|
-
},
|
|
925
|
-
}
|
|
926
|
-
function
|
|
927
|
-
var
|
|
920
|
+
return V = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
921
|
+
return typeof d;
|
|
922
|
+
} : function(d) {
|
|
923
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
924
|
+
}, V(t);
|
|
925
|
+
}
|
|
926
|
+
function Be(t, d) {
|
|
927
|
+
var n = Object.keys(t);
|
|
928
928
|
if (Object.getOwnPropertySymbols) {
|
|
929
929
|
var r = Object.getOwnPropertySymbols(t);
|
|
930
|
-
|
|
930
|
+
d && (r = r.filter(function(i) {
|
|
931
931
|
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
932
|
-
})),
|
|
932
|
+
})), n.push.apply(n, r);
|
|
933
933
|
}
|
|
934
|
-
return
|
|
934
|
+
return n;
|
|
935
935
|
}
|
|
936
|
-
function
|
|
937
|
-
for (var
|
|
938
|
-
var
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(
|
|
942
|
-
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(
|
|
936
|
+
function Ue(t) {
|
|
937
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
938
|
+
var n = arguments[d] != null ? arguments[d] : {};
|
|
939
|
+
d % 2 ? Be(Object(n), !0).forEach(function(r) {
|
|
940
|
+
tn(t, r, n[r]);
|
|
941
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Be(Object(n)).forEach(function(r) {
|
|
942
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
943
943
|
});
|
|
944
944
|
}
|
|
945
945
|
return t;
|
|
946
946
|
}
|
|
947
|
-
function
|
|
948
|
-
return (
|
|
947
|
+
function tn(t, d, n) {
|
|
948
|
+
return (d = ft(d)) in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
949
949
|
}
|
|
950
|
-
function
|
|
951
|
-
if (!(t instanceof
|
|
950
|
+
function dn(t, d) {
|
|
951
|
+
if (!(t instanceof d)) throw new TypeError("Cannot call a class as a function");
|
|
952
952
|
}
|
|
953
|
-
function
|
|
954
|
-
for (var
|
|
955
|
-
var r = n
|
|
956
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t,
|
|
953
|
+
function nn(t, d) {
|
|
954
|
+
for (var n = 0; n < d.length; n++) {
|
|
955
|
+
var r = d[n];
|
|
956
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, ft(r.key), r);
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
function
|
|
960
|
-
return
|
|
961
|
-
}
|
|
962
|
-
function _t(t) {
|
|
963
|
-
var n = fd(t, "string");
|
|
964
|
-
return K(n) == "symbol" ? n : n + "";
|
|
959
|
+
function rn(t, d, n) {
|
|
960
|
+
return d && nn(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
965
961
|
}
|
|
966
|
-
function
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
962
|
+
function ft(t) {
|
|
963
|
+
var d = on(t, "string");
|
|
964
|
+
return V(d) == "symbol" ? d : d + "";
|
|
965
|
+
}
|
|
966
|
+
function on(t, d) {
|
|
967
|
+
if (V(t) != "object" || !t) return t;
|
|
968
|
+
var n = t[Symbol.toPrimitive];
|
|
969
|
+
if (n !== void 0) {
|
|
970
|
+
var r = n.call(t, d || "default");
|
|
971
|
+
if (V(r) != "object") return r;
|
|
972
972
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
973
973
|
}
|
|
974
|
-
return (
|
|
974
|
+
return (d === "string" ? String : Number)(t);
|
|
975
975
|
}
|
|
976
|
-
var
|
|
977
|
-
function t(
|
|
978
|
-
if (
|
|
976
|
+
var an = /* @__PURE__ */ function() {
|
|
977
|
+
function t(d, n, r) {
|
|
978
|
+
if (dn(this, t), !d)
|
|
979
979
|
throw new TypeError("First argument is required");
|
|
980
|
-
if (typeof
|
|
980
|
+
if (typeof d != "string")
|
|
981
981
|
throw new TypeError("First argument must be a string");
|
|
982
|
-
if (
|
|
982
|
+
if (d[0] === "+" && !n)
|
|
983
983
|
throw new TypeError("`metadata` argument not passed");
|
|
984
|
-
if (
|
|
985
|
-
r =
|
|
986
|
-
var i =
|
|
987
|
-
if (!
|
|
984
|
+
if (w(n) && w(n.countries)) {
|
|
985
|
+
r = n;
|
|
986
|
+
var i = d;
|
|
987
|
+
if (!ln.test(i))
|
|
988
988
|
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
989
|
-
var a =
|
|
990
|
-
if (
|
|
989
|
+
var a = ut(i, void 0, void 0, void 0, r), $ = a.countryCallingCode, s = a.number;
|
|
990
|
+
if (n = s, d = $, !n)
|
|
991
991
|
throw new Error("Invalid `number` argument passed: too short");
|
|
992
992
|
}
|
|
993
|
-
if (!
|
|
993
|
+
if (!n)
|
|
994
994
|
throw new TypeError("`nationalNumber` argument is required");
|
|
995
|
-
if (typeof
|
|
995
|
+
if (typeof n != "string")
|
|
996
996
|
throw new TypeError("`nationalNumber` argument must be a string");
|
|
997
|
-
|
|
998
|
-
var l =
|
|
999
|
-
this.country = u, this.countryCallingCode =
|
|
997
|
+
at(r);
|
|
998
|
+
var l = sn(d, r), u = l.country, g = l.countryCallingCode;
|
|
999
|
+
this.country = u, this.countryCallingCode = g, this.nationalNumber = n, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
1000
1000
|
return r;
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
|
-
return
|
|
1003
|
+
return rn(t, [{
|
|
1004
1004
|
key: "setExt",
|
|
1005
|
-
value: function(
|
|
1006
|
-
this.ext =
|
|
1005
|
+
value: function(n) {
|
|
1006
|
+
this.ext = n;
|
|
1007
1007
|
}
|
|
1008
1008
|
}, {
|
|
1009
1009
|
key: "getPossibleCountries",
|
|
1010
1010
|
value: function() {
|
|
1011
|
-
return this.country ? [this.country] :
|
|
1011
|
+
return this.country ? [this.country] : bd(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
1012
1012
|
}
|
|
1013
1013
|
}, {
|
|
1014
1014
|
key: "isPossible",
|
|
1015
1015
|
value: function() {
|
|
1016
|
-
return
|
|
1016
|
+
return cd(this, {
|
|
1017
1017
|
v2: !0
|
|
1018
1018
|
}, this.getMetadata());
|
|
1019
1019
|
}
|
|
1020
1020
|
}, {
|
|
1021
1021
|
key: "isValid",
|
|
1022
1022
|
value: function() {
|
|
1023
|
-
return
|
|
1023
|
+
return pd(this, {
|
|
1024
1024
|
v2: !0
|
|
1025
1025
|
}, this.getMetadata());
|
|
1026
1026
|
}
|
|
1027
1027
|
}, {
|
|
1028
1028
|
key: "isNonGeographic",
|
|
1029
1029
|
value: function() {
|
|
1030
|
-
var
|
|
1031
|
-
return
|
|
1030
|
+
var n = new y(this.getMetadata());
|
|
1031
|
+
return n.isNonGeographicCallingCode(this.countryCallingCode);
|
|
1032
1032
|
}
|
|
1033
1033
|
}, {
|
|
1034
1034
|
key: "isEqual",
|
|
1035
|
-
value: function(
|
|
1036
|
-
return this.number ===
|
|
1035
|
+
value: function(n) {
|
|
1036
|
+
return this.number === n.number && this.ext === n.ext;
|
|
1037
1037
|
}
|
|
1038
1038
|
// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
|
|
1039
1039
|
// but later it was found out that it doesn't include the possible `TOO_SHORT` result
|
|
@@ -1052,14 +1052,14 @@ var gd = /* @__PURE__ */ function() {
|
|
|
1052
1052
|
}, {
|
|
1053
1053
|
key: "getType",
|
|
1054
1054
|
value: function() {
|
|
1055
|
-
return
|
|
1055
|
+
return ve(this, {
|
|
1056
1056
|
v2: !0
|
|
1057
1057
|
}, this.getMetadata());
|
|
1058
1058
|
}
|
|
1059
1059
|
}, {
|
|
1060
1060
|
key: "format",
|
|
1061
|
-
value: function(
|
|
1062
|
-
return
|
|
1061
|
+
value: function(n, r) {
|
|
1062
|
+
return Xd(this, n, r ? Ue(Ue({}, r), {}, {
|
|
1063
1063
|
v2: !0
|
|
1064
1064
|
}) : {
|
|
1065
1065
|
v2: !0
|
|
@@ -1067,131 +1067,131 @@ var gd = /* @__PURE__ */ function() {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
}, {
|
|
1069
1069
|
key: "formatNational",
|
|
1070
|
-
value: function(
|
|
1071
|
-
return this.format("NATIONAL",
|
|
1070
|
+
value: function(n) {
|
|
1071
|
+
return this.format("NATIONAL", n);
|
|
1072
1072
|
}
|
|
1073
1073
|
}, {
|
|
1074
1074
|
key: "formatInternational",
|
|
1075
|
-
value: function(
|
|
1076
|
-
return this.format("INTERNATIONAL",
|
|
1075
|
+
value: function(n) {
|
|
1076
|
+
return this.format("INTERNATIONAL", n);
|
|
1077
1077
|
}
|
|
1078
1078
|
}, {
|
|
1079
1079
|
key: "getURI",
|
|
1080
|
-
value: function(
|
|
1081
|
-
return this.format("RFC3966",
|
|
1080
|
+
value: function(n) {
|
|
1081
|
+
return this.format("RFC3966", n);
|
|
1082
1082
|
}
|
|
1083
1083
|
}]);
|
|
1084
|
-
}(),
|
|
1085
|
-
return /^[A-Z]{2}$/.test(
|
|
1084
|
+
}(), $n = function(d) {
|
|
1085
|
+
return /^[A-Z]{2}$/.test(d);
|
|
1086
1086
|
};
|
|
1087
|
-
function
|
|
1088
|
-
var
|
|
1089
|
-
return
|
|
1090
|
-
country:
|
|
1087
|
+
function sn(t, d) {
|
|
1088
|
+
var n, r, i = new y(d);
|
|
1089
|
+
return $n(t) ? (n = t, i.selectNumberingPlan(n), r = i.countryCallingCode()) : r = t, {
|
|
1090
|
+
country: n,
|
|
1091
1091
|
countryCallingCode: r
|
|
1092
1092
|
};
|
|
1093
1093
|
}
|
|
1094
|
-
var
|
|
1095
|
-
function
|
|
1094
|
+
var ln = /^\+\d+$/;
|
|
1095
|
+
function pe(t) {
|
|
1096
1096
|
"@babel/helpers - typeof";
|
|
1097
|
-
return
|
|
1098
|
-
return typeof
|
|
1099
|
-
} : function(
|
|
1100
|
-
return
|
|
1101
|
-
},
|
|
1097
|
+
return pe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1098
|
+
return typeof d;
|
|
1099
|
+
} : function(d) {
|
|
1100
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1101
|
+
}, pe(t);
|
|
1102
1102
|
}
|
|
1103
|
-
function
|
|
1103
|
+
function un(t, d, n) {
|
|
1104
1104
|
return Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1107
|
-
if (!(t instanceof
|
|
1106
|
+
function cn(t, d) {
|
|
1107
|
+
if (!(t instanceof d)) throw new TypeError("Cannot call a class as a function");
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1110
|
-
return
|
|
1109
|
+
function fn(t, d, n) {
|
|
1110
|
+
return d = W(d), mn(t, Re() ? Reflect.construct(d, n || [], W(t).constructor) : d.apply(t, n));
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1113
|
-
if (
|
|
1114
|
-
if (
|
|
1115
|
-
return
|
|
1112
|
+
function mn(t, d) {
|
|
1113
|
+
if (d && (pe(d) == "object" || typeof d == "function")) return d;
|
|
1114
|
+
if (d !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1115
|
+
return gn(t);
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function gn(t) {
|
|
1118
1118
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1119
1119
|
return t;
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1122
|
-
if (typeof
|
|
1123
|
-
t.prototype = Object.create(
|
|
1121
|
+
function pn(t, d) {
|
|
1122
|
+
if (typeof d != "function" && d !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1123
|
+
t.prototype = Object.create(d && d.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), d && K(t, d);
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1126
|
-
var
|
|
1127
|
-
return
|
|
1128
|
-
if (r === null || !
|
|
1125
|
+
function be(t) {
|
|
1126
|
+
var d = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
1127
|
+
return be = function(r) {
|
|
1128
|
+
if (r === null || !yn(r)) return r;
|
|
1129
1129
|
if (typeof r != "function") throw new TypeError("Super expression must either be null or a function");
|
|
1130
|
-
if (
|
|
1131
|
-
if (
|
|
1132
|
-
|
|
1130
|
+
if (d !== void 0) {
|
|
1131
|
+
if (d.has(r)) return d.get(r);
|
|
1132
|
+
d.set(r, i);
|
|
1133
1133
|
}
|
|
1134
1134
|
function i() {
|
|
1135
|
-
return
|
|
1135
|
+
return bn(r, arguments, W(this).constructor);
|
|
1136
1136
|
}
|
|
1137
|
-
return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }),
|
|
1138
|
-
},
|
|
1137
|
+
return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), K(i, r);
|
|
1138
|
+
}, be(t);
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1141
|
-
if (
|
|
1140
|
+
function bn(t, d, n) {
|
|
1141
|
+
if (Re()) return Reflect.construct.apply(null, arguments);
|
|
1142
1142
|
var r = [null];
|
|
1143
|
-
r.push.apply(r,
|
|
1143
|
+
r.push.apply(r, d);
|
|
1144
1144
|
var i = new (t.bind.apply(t, r))();
|
|
1145
|
-
return
|
|
1145
|
+
return n && K(i, n.prototype), i;
|
|
1146
1146
|
}
|
|
1147
|
-
function
|
|
1147
|
+
function Re() {
|
|
1148
1148
|
try {
|
|
1149
1149
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1150
1150
|
}));
|
|
1151
1151
|
} catch {
|
|
1152
1152
|
}
|
|
1153
|
-
return (
|
|
1153
|
+
return (Re = function() {
|
|
1154
1154
|
return !!t;
|
|
1155
1155
|
})();
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function yn(t) {
|
|
1158
1158
|
try {
|
|
1159
1159
|
return Function.toString.call(t).indexOf("[native code]") !== -1;
|
|
1160
1160
|
} catch {
|
|
1161
1161
|
return typeof t == "function";
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1166
|
-
return
|
|
1167
|
-
},
|
|
1164
|
+
function K(t, d) {
|
|
1165
|
+
return K = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
1166
|
+
return n.__proto__ = r, n;
|
|
1167
|
+
}, K(t, d);
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1170
|
-
return
|
|
1171
|
-
return
|
|
1172
|
-
},
|
|
1169
|
+
function W(t) {
|
|
1170
|
+
return W = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(d) {
|
|
1171
|
+
return d.__proto__ || Object.getPrototypeOf(d);
|
|
1172
|
+
}, W(t);
|
|
1173
1173
|
}
|
|
1174
|
-
var
|
|
1175
|
-
function n
|
|
1174
|
+
var P = /* @__PURE__ */ function(t) {
|
|
1175
|
+
function d(n) {
|
|
1176
1176
|
var r;
|
|
1177
|
-
return
|
|
1177
|
+
return cn(this, d), r = fn(this, d, [n]), Object.setPrototypeOf(r, d.prototype), r.name = r.constructor.name, r;
|
|
1178
1178
|
}
|
|
1179
|
-
return
|
|
1180
|
-
}(/* @__PURE__ */
|
|
1181
|
-
function
|
|
1182
|
-
var
|
|
1183
|
-
if (
|
|
1179
|
+
return pn(d, t), un(d);
|
|
1180
|
+
}(/* @__PURE__ */ be(Error)), Ge = new RegExp("(?:" + ct() + ")$", "i");
|
|
1181
|
+
function _n(t) {
|
|
1182
|
+
var d = t.search(Ge);
|
|
1183
|
+
if (d < 0)
|
|
1184
1184
|
return {};
|
|
1185
|
-
for (var
|
|
1185
|
+
for (var n = t.slice(0, d), r = t.match(Ge), i = 1; i < r.length; ) {
|
|
1186
1186
|
if (r[i])
|
|
1187
1187
|
return {
|
|
1188
|
-
number:
|
|
1188
|
+
number: n,
|
|
1189
1189
|
ext: r[i]
|
|
1190
1190
|
};
|
|
1191
1191
|
i++;
|
|
1192
1192
|
}
|
|
1193
1193
|
}
|
|
1194
|
-
var
|
|
1194
|
+
var En = {
|
|
1195
1195
|
0: "0",
|
|
1196
1196
|
1: "1",
|
|
1197
1197
|
2: "2",
|
|
@@ -1263,14 +1263,14 @@ var Fd = {
|
|
|
1263
1263
|
"۹": "9"
|
|
1264
1264
|
// Eastern-Arabic digit 9
|
|
1265
1265
|
};
|
|
1266
|
-
function
|
|
1267
|
-
return
|
|
1268
|
-
}
|
|
1269
|
-
function
|
|
1270
|
-
var
|
|
1271
|
-
if (
|
|
1272
|
-
if (Array.isArray(t) || (
|
|
1273
|
-
|
|
1266
|
+
function hn(t) {
|
|
1267
|
+
return En[t];
|
|
1268
|
+
}
|
|
1269
|
+
function vn(t, d) {
|
|
1270
|
+
var n = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1271
|
+
if (n) return (n = n.call(t)).next.bind(n);
|
|
1272
|
+
if (Array.isArray(t) || (n = Cn(t)) || d) {
|
|
1273
|
+
n && (t = n);
|
|
1274
1274
|
var r = 0;
|
|
1275
1275
|
return function() {
|
|
1276
1276
|
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
@@ -1279,454 +1279,454 @@ function Td(t, n) {
|
|
|
1279
1279
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1280
1280
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1281
1281
|
}
|
|
1282
|
-
function
|
|
1282
|
+
function Cn(t, d) {
|
|
1283
1283
|
if (t) {
|
|
1284
|
-
if (typeof t == "string") return
|
|
1285
|
-
var
|
|
1286
|
-
return
|
|
1284
|
+
if (typeof t == "string") return ke(t, d);
|
|
1285
|
+
var n = {}.toString.call(t).slice(8, -1);
|
|
1286
|
+
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ke(t, d) : void 0;
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1290
|
-
(
|
|
1291
|
-
for (var
|
|
1289
|
+
function ke(t, d) {
|
|
1290
|
+
(d == null || d > t.length) && (d = t.length);
|
|
1291
|
+
for (var n = 0, r = Array(d); n < d; n++) r[n] = t[n];
|
|
1292
1292
|
return r;
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1295
|
-
for (var
|
|
1294
|
+
function He(t) {
|
|
1295
|
+
for (var d = "", n = vn(t.split("")), r; !(r = n()).done; ) {
|
|
1296
1296
|
var i = r.value;
|
|
1297
|
-
|
|
1297
|
+
d += Pn(i, d) || "";
|
|
1298
1298
|
}
|
|
1299
|
-
return
|
|
1299
|
+
return d;
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1302
|
-
return t === "+" ?
|
|
1301
|
+
function Pn(t, d, n) {
|
|
1302
|
+
return t === "+" ? d ? void 0 : "+" : hn(t);
|
|
1303
1303
|
}
|
|
1304
|
-
var
|
|
1305
|
-
function
|
|
1306
|
-
var
|
|
1307
|
-
if (
|
|
1304
|
+
var mt = "+", Rn = "[\\-\\.\\(\\)]?", Ve = "([" + h + "]|" + Rn + ")", Nn = "^\\" + mt + Ve + "*[" + h + "]" + Ve + "*$", In = new RegExp(Nn, "g"), ye = h, Fn = "[" + ye + "]+((\\-)*[" + ye + "])*", Sn = "a-zA-Z", An = "[" + Sn + "]+((\\-)*[" + ye + "])*", Tn = "^(" + Fn + "\\.)*" + An + "\\.?$", On = new RegExp(Tn, "g"), Ke = "tel:", _e = ";phone-context=", Mn = ";isub=";
|
|
1305
|
+
function xn(t) {
|
|
1306
|
+
var d = t.indexOf(_e);
|
|
1307
|
+
if (d < 0)
|
|
1308
1308
|
return null;
|
|
1309
|
-
var
|
|
1310
|
-
if (
|
|
1309
|
+
var n = d + _e.length;
|
|
1310
|
+
if (n >= t.length)
|
|
1311
1311
|
return "";
|
|
1312
|
-
var r = t.indexOf(";",
|
|
1313
|
-
return r >= 0 ? t.substring(
|
|
1312
|
+
var r = t.indexOf(";", n);
|
|
1313
|
+
return r >= 0 ? t.substring(n, r) : t.substring(n);
|
|
1314
1314
|
}
|
|
1315
|
-
function
|
|
1316
|
-
return t === null ? !0 : t.length === 0 ? !1 :
|
|
1315
|
+
function Dn(t) {
|
|
1316
|
+
return t === null ? !0 : t.length === 0 ? !1 : In.test(t) || On.test(t);
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1319
|
-
var
|
|
1320
|
-
if (!
|
|
1321
|
-
throw new
|
|
1318
|
+
function Ln(t, d) {
|
|
1319
|
+
var n = d.extractFormattedPhoneNumber, r = xn(t);
|
|
1320
|
+
if (!Dn(r))
|
|
1321
|
+
throw new P("NOT_A_NUMBER");
|
|
1322
1322
|
var i;
|
|
1323
1323
|
if (r === null)
|
|
1324
|
-
i =
|
|
1324
|
+
i = n(t) || "";
|
|
1325
1325
|
else {
|
|
1326
|
-
i = "", r.charAt(0) ===
|
|
1327
|
-
var a = t.indexOf(
|
|
1328
|
-
a >= 0 ?
|
|
1329
|
-
var
|
|
1330
|
-
i += t.substring(s
|
|
1326
|
+
i = "", r.charAt(0) === mt && (i += r);
|
|
1327
|
+
var a = t.indexOf(Ke), $;
|
|
1328
|
+
a >= 0 ? $ = a + Ke.length : $ = 0;
|
|
1329
|
+
var s = t.indexOf(_e);
|
|
1330
|
+
i += t.substring($, s);
|
|
1331
1331
|
}
|
|
1332
|
-
var l = i.indexOf(
|
|
1332
|
+
var l = i.indexOf(Mn);
|
|
1333
1333
|
if (l > 0 && (i = i.substring(0, l)), i !== "")
|
|
1334
1334
|
return i;
|
|
1335
1335
|
}
|
|
1336
|
-
var
|
|
1337
|
-
function
|
|
1338
|
-
if (
|
|
1339
|
-
throw
|
|
1340
|
-
var r =
|
|
1336
|
+
var wn = 250, jn = new RegExp("[" + Pe + h + "]"), Bn = new RegExp("[^" + h + "#]+$");
|
|
1337
|
+
function Un(t, d, n) {
|
|
1338
|
+
if (d = d || {}, n = new y(n), d.defaultCountry && !n.hasCountry(d.defaultCountry))
|
|
1339
|
+
throw d.v2 ? new P("INVALID_COUNTRY") : new Error("Unknown country: ".concat(d.defaultCountry));
|
|
1340
|
+
var r = kn(t, d.v2, d.extract), i = r.number, a = r.ext, $ = r.error;
|
|
1341
1341
|
if (!i) {
|
|
1342
|
-
if (
|
|
1343
|
-
throw
|
|
1342
|
+
if (d.v2)
|
|
1343
|
+
throw $ === "TOO_SHORT" ? new P("TOO_SHORT") : new P("NOT_A_NUMBER");
|
|
1344
1344
|
return {};
|
|
1345
1345
|
}
|
|
1346
|
-
var
|
|
1347
|
-
if (!
|
|
1348
|
-
if (
|
|
1349
|
-
throw new
|
|
1346
|
+
var s = Vn(i, d.defaultCountry, d.defaultCallingCode, n), l = s.country, u = s.nationalNumber, g = s.countryCallingCode, E = s.countryCallingCodeSource, C = s.carrierCode;
|
|
1347
|
+
if (!n.hasSelectedNumberingPlan()) {
|
|
1348
|
+
if (d.v2)
|
|
1349
|
+
throw new P("INVALID_COUNTRY");
|
|
1350
1350
|
return {};
|
|
1351
1351
|
}
|
|
1352
|
-
if (!u || u.length <
|
|
1353
|
-
if (
|
|
1354
|
-
throw new
|
|
1352
|
+
if (!u || u.length < Ce) {
|
|
1353
|
+
if (d.v2)
|
|
1354
|
+
throw new P("TOO_SHORT");
|
|
1355
1355
|
return {};
|
|
1356
1356
|
}
|
|
1357
|
-
if (u.length >
|
|
1358
|
-
if (
|
|
1359
|
-
throw new
|
|
1357
|
+
if (u.length > _d) {
|
|
1358
|
+
if (d.v2)
|
|
1359
|
+
throw new P("TOO_LONG");
|
|
1360
1360
|
return {};
|
|
1361
1361
|
}
|
|
1362
|
-
if (
|
|
1363
|
-
var O = new
|
|
1364
|
-
return l && (O.country = l),
|
|
1362
|
+
if (d.v2) {
|
|
1363
|
+
var O = new an(g, u, n.metadata);
|
|
1364
|
+
return l && (O.country = l), C && (O.carrierCode = C), a && (O.ext = a), O.__countryCallingCodeSource = E, O;
|
|
1365
1365
|
}
|
|
1366
|
-
var
|
|
1367
|
-
return
|
|
1366
|
+
var H = (d.extended ? n.hasSelectedNumberingPlan() : l) ? I(u, n.nationalNumberPattern()) : !1;
|
|
1367
|
+
return d.extended ? {
|
|
1368
1368
|
country: l,
|
|
1369
|
-
countryCallingCode:
|
|
1370
|
-
carrierCode:
|
|
1371
|
-
valid:
|
|
1372
|
-
possible:
|
|
1369
|
+
countryCallingCode: g,
|
|
1370
|
+
carrierCode: C,
|
|
1371
|
+
valid: H,
|
|
1372
|
+
possible: H ? !0 : !!(d.extended === !0 && n.possibleLengths() && st(u, l, n)),
|
|
1373
1373
|
phone: u,
|
|
1374
1374
|
ext: a
|
|
1375
|
-
} :
|
|
1375
|
+
} : H ? Hn(l, u, a) : {};
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function Gn(t, d, n) {
|
|
1378
1378
|
if (t) {
|
|
1379
|
-
if (t.length >
|
|
1380
|
-
if (
|
|
1381
|
-
throw new
|
|
1379
|
+
if (t.length > wn) {
|
|
1380
|
+
if (n)
|
|
1381
|
+
throw new P("TOO_LONG");
|
|
1382
1382
|
return;
|
|
1383
1383
|
}
|
|
1384
|
-
if (
|
|
1384
|
+
if (d === !1)
|
|
1385
1385
|
return t;
|
|
1386
|
-
var r = t.search(
|
|
1386
|
+
var r = t.search(jn);
|
|
1387
1387
|
if (!(r < 0))
|
|
1388
|
-
return t.slice(r).replace(
|
|
1388
|
+
return t.slice(r).replace(Bn, "");
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
|
-
function
|
|
1392
|
-
var r =
|
|
1393
|
-
extractFormattedPhoneNumber: function(
|
|
1394
|
-
return
|
|
1391
|
+
function kn(t, d, n) {
|
|
1392
|
+
var r = Ln(t, {
|
|
1393
|
+
extractFormattedPhoneNumber: function($) {
|
|
1394
|
+
return Gn($, n, d);
|
|
1395
1395
|
}
|
|
1396
1396
|
});
|
|
1397
1397
|
if (!r)
|
|
1398
1398
|
return {};
|
|
1399
|
-
if (!
|
|
1400
|
-
return
|
|
1399
|
+
if (!zd(r))
|
|
1400
|
+
return Yd(r) ? {
|
|
1401
1401
|
error: "TOO_SHORT"
|
|
1402
1402
|
} : {};
|
|
1403
|
-
var i =
|
|
1403
|
+
var i = _n(r);
|
|
1404
1404
|
return i.ext ? i : {
|
|
1405
1405
|
number: r
|
|
1406
1406
|
};
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1408
|
+
function Hn(t, d, n) {
|
|
1409
1409
|
var r = {
|
|
1410
1410
|
country: t,
|
|
1411
|
-
phone:
|
|
1411
|
+
phone: d
|
|
1412
1412
|
};
|
|
1413
|
-
return
|
|
1413
|
+
return n && (r.ext = n), r;
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1416
|
-
var i =
|
|
1417
|
-
if (
|
|
1418
|
-
r.selectNumberingPlan(
|
|
1419
|
-
else if (
|
|
1420
|
-
r.selectNumberingPlan(
|
|
1415
|
+
function Vn(t, d, n, r) {
|
|
1416
|
+
var i = ut(He(t), void 0, d, n, r.metadata), a = i.countryCallingCodeSource, $ = i.countryCallingCode, s = i.number, l;
|
|
1417
|
+
if ($)
|
|
1418
|
+
r.selectNumberingPlan($);
|
|
1419
|
+
else if (s && (d || n))
|
|
1420
|
+
r.selectNumberingPlan(d, n), d && (l = d), $ = n || Ee(d, r.metadata);
|
|
1421
1421
|
else return {};
|
|
1422
|
-
if (
|
|
1422
|
+
if (!s)
|
|
1423
1423
|
return {
|
|
1424
1424
|
countryCallingCodeSource: a,
|
|
1425
|
-
countryCallingCode:
|
|
1425
|
+
countryCallingCode: $
|
|
1426
1426
|
};
|
|
1427
|
-
var u =
|
|
1428
|
-
nationalNumber:
|
|
1427
|
+
var u = ge(He(s), l, r), g = u.nationalNumber, E = u.carrierCode, C = lt($, {
|
|
1428
|
+
nationalNumber: g,
|
|
1429
1429
|
metadata: r
|
|
1430
1430
|
});
|
|
1431
|
-
return
|
|
1431
|
+
return C && (l = C, C === "001" || r.selectNumberingPlan(l)), {
|
|
1432
1432
|
country: l,
|
|
1433
|
-
countryCallingCode:
|
|
1433
|
+
countryCallingCode: $,
|
|
1434
1434
|
countryCallingCodeSource: a,
|
|
1435
|
-
nationalNumber:
|
|
1435
|
+
nationalNumber: g,
|
|
1436
1436
|
carrierCode: E
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function z(t) {
|
|
1440
1440
|
"@babel/helpers - typeof";
|
|
1441
|
-
return
|
|
1442
|
-
return typeof
|
|
1443
|
-
} : function(
|
|
1444
|
-
return
|
|
1445
|
-
},
|
|
1441
|
+
return z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1442
|
+
return typeof d;
|
|
1443
|
+
} : function(d) {
|
|
1444
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1445
|
+
}, z(t);
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1448
|
-
var
|
|
1447
|
+
function We(t, d) {
|
|
1448
|
+
var n = Object.keys(t);
|
|
1449
1449
|
if (Object.getOwnPropertySymbols) {
|
|
1450
1450
|
var r = Object.getOwnPropertySymbols(t);
|
|
1451
|
-
|
|
1451
|
+
d && (r = r.filter(function(i) {
|
|
1452
1452
|
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
1453
|
-
})),
|
|
1453
|
+
})), n.push.apply(n, r);
|
|
1454
1454
|
}
|
|
1455
|
-
return
|
|
1455
|
+
return n;
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1458
|
-
for (var
|
|
1459
|
-
var
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(
|
|
1463
|
-
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(
|
|
1457
|
+
function ze(t) {
|
|
1458
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
1459
|
+
var n = arguments[d] != null ? arguments[d] : {};
|
|
1460
|
+
d % 2 ? We(Object(n), !0).forEach(function(r) {
|
|
1461
|
+
Kn(t, r, n[r]);
|
|
1462
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : We(Object(n)).forEach(function(r) {
|
|
1463
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1464
1464
|
});
|
|
1465
1465
|
}
|
|
1466
1466
|
return t;
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1469
|
-
return (
|
|
1468
|
+
function Kn(t, d, n) {
|
|
1469
|
+
return (d = Wn(d)) in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1472
|
-
var
|
|
1473
|
-
return
|
|
1471
|
+
function Wn(t) {
|
|
1472
|
+
var d = zn(t, "string");
|
|
1473
|
+
return z(d) == "symbol" ? d : d + "";
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1476
|
-
if (
|
|
1477
|
-
var
|
|
1478
|
-
if (
|
|
1479
|
-
var r =
|
|
1480
|
-
if (
|
|
1475
|
+
function zn(t, d) {
|
|
1476
|
+
if (z(t) != "object" || !t) return t;
|
|
1477
|
+
var n = t[Symbol.toPrimitive];
|
|
1478
|
+
if (n !== void 0) {
|
|
1479
|
+
var r = n.call(t, d || "default");
|
|
1480
|
+
if (z(r) != "object") return r;
|
|
1481
1481
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1482
1482
|
}
|
|
1483
|
-
return (
|
|
1483
|
+
return (d === "string" ? String : Number)(t);
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1486
|
-
return
|
|
1485
|
+
function Yn(t, d, n) {
|
|
1486
|
+
return Un(t, ze(ze({}, d), {}, {
|
|
1487
1487
|
v2: !0
|
|
1488
|
-
}),
|
|
1488
|
+
}), n);
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function Y(t) {
|
|
1491
1491
|
"@babel/helpers - typeof";
|
|
1492
|
-
return
|
|
1493
|
-
return typeof
|
|
1494
|
-
} : function(
|
|
1495
|
-
return
|
|
1496
|
-
},
|
|
1492
|
+
return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1493
|
+
return typeof d;
|
|
1494
|
+
} : function(d) {
|
|
1495
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1496
|
+
}, Y(t);
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1499
|
-
var
|
|
1498
|
+
function Ye(t, d) {
|
|
1499
|
+
var n = Object.keys(t);
|
|
1500
1500
|
if (Object.getOwnPropertySymbols) {
|
|
1501
1501
|
var r = Object.getOwnPropertySymbols(t);
|
|
1502
|
-
|
|
1502
|
+
d && (r = r.filter(function(i) {
|
|
1503
1503
|
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
1504
|
-
})),
|
|
1504
|
+
})), n.push.apply(n, r);
|
|
1505
1505
|
}
|
|
1506
|
-
return
|
|
1506
|
+
return n;
|
|
1507
1507
|
}
|
|
1508
|
-
function
|
|
1509
|
-
for (var
|
|
1510
|
-
var
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(
|
|
1514
|
-
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(
|
|
1508
|
+
function qn(t) {
|
|
1509
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
1510
|
+
var n = arguments[d] != null ? arguments[d] : {};
|
|
1511
|
+
d % 2 ? Ye(Object(n), !0).forEach(function(r) {
|
|
1512
|
+
Xn(t, r, n[r]);
|
|
1513
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ye(Object(n)).forEach(function(r) {
|
|
1514
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1515
1515
|
});
|
|
1516
1516
|
}
|
|
1517
1517
|
return t;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return (
|
|
1519
|
+
function Xn(t, d, n) {
|
|
1520
|
+
return (d = Jn(d)) in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1523
|
-
var
|
|
1524
|
-
return
|
|
1522
|
+
function Jn(t) {
|
|
1523
|
+
var d = Zn(t, "string");
|
|
1524
|
+
return Y(d) == "symbol" ? d : d + "";
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1527
|
-
if (
|
|
1528
|
-
var
|
|
1529
|
-
if (
|
|
1530
|
-
var r =
|
|
1531
|
-
if (
|
|
1526
|
+
function Zn(t, d) {
|
|
1527
|
+
if (Y(t) != "object" || !t) return t;
|
|
1528
|
+
var n = t[Symbol.toPrimitive];
|
|
1529
|
+
if (n !== void 0) {
|
|
1530
|
+
var r = n.call(t, d || "default");
|
|
1531
|
+
if (Y(r) != "object") return r;
|
|
1532
1532
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1533
1533
|
}
|
|
1534
|
-
return (
|
|
1534
|
+
return (d === "string" ? String : Number)(t);
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return
|
|
1536
|
+
function Qn(t, d) {
|
|
1537
|
+
return nr(t) || dr(t, d) || tr(t, d) || er();
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function er() {
|
|
1540
1540
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1541
1541
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function tr(t, d) {
|
|
1544
1544
|
if (t) {
|
|
1545
|
-
if (typeof t == "string") return
|
|
1546
|
-
var
|
|
1547
|
-
return
|
|
1545
|
+
if (typeof t == "string") return qe(t, d);
|
|
1546
|
+
var n = {}.toString.call(t).slice(8, -1);
|
|
1547
|
+
return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qe(t, d) : void 0;
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
1550
|
-
function
|
|
1551
|
-
(
|
|
1552
|
-
for (var
|
|
1550
|
+
function qe(t, d) {
|
|
1551
|
+
(d == null || d > t.length) && (d = t.length);
|
|
1552
|
+
for (var n = 0, r = Array(d); n < d; n++) r[n] = t[n];
|
|
1553
1553
|
return r;
|
|
1554
1554
|
}
|
|
1555
|
-
function
|
|
1556
|
-
var
|
|
1557
|
-
if (
|
|
1558
|
-
var r, i, a, s
|
|
1555
|
+
function dr(t, d) {
|
|
1556
|
+
var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1557
|
+
if (n != null) {
|
|
1558
|
+
var r, i, a, $, s = [], l = !0, u = !1;
|
|
1559
1559
|
try {
|
|
1560
|
-
if (a = (
|
|
1561
|
-
} catch (
|
|
1562
|
-
u = !0, i =
|
|
1560
|
+
if (a = (n = n.call(t)).next, d !== 0) for (; !(l = (r = a.call(n)).done) && (s.push(r.value), s.length !== d); l = !0) ;
|
|
1561
|
+
} catch (g) {
|
|
1562
|
+
u = !0, i = g;
|
|
1563
1563
|
} finally {
|
|
1564
1564
|
try {
|
|
1565
|
-
if (!l &&
|
|
1565
|
+
if (!l && n.return != null && ($ = n.return(), Object($) !== $)) return;
|
|
1566
1566
|
} finally {
|
|
1567
1567
|
if (u) throw i;
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
|
-
return
|
|
1570
|
+
return s;
|
|
1571
1571
|
}
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function nr(t) {
|
|
1574
1574
|
if (Array.isArray(t)) return t;
|
|
1575
1575
|
}
|
|
1576
|
-
function
|
|
1577
|
-
var
|
|
1576
|
+
function rr(t) {
|
|
1577
|
+
var d = Array.prototype.slice.call(t), n = Qn(d, 4), r = n[0], i = n[1], a = n[2], $ = n[3], s, l, u;
|
|
1578
1578
|
if (typeof r == "string")
|
|
1579
|
-
|
|
1579
|
+
s = r;
|
|
1580
1580
|
else throw new TypeError("A text for parsing must be a string.");
|
|
1581
1581
|
if (!i || typeof i == "string")
|
|
1582
|
-
|
|
1582
|
+
$ ? (l = a, u = $) : (l = void 0, u = a), i && (l = qn({
|
|
1583
1583
|
defaultCountry: i
|
|
1584
1584
|
}, l));
|
|
1585
|
-
else if (
|
|
1585
|
+
else if (w(i))
|
|
1586
1586
|
a ? (l = i, u = a) : u = i;
|
|
1587
1587
|
else throw new Error("Invalid second argument: ".concat(i));
|
|
1588
1588
|
return {
|
|
1589
|
-
text:
|
|
1589
|
+
text: s,
|
|
1590
1590
|
options: l,
|
|
1591
1591
|
metadata: u
|
|
1592
1592
|
};
|
|
1593
1593
|
}
|
|
1594
|
-
function
|
|
1594
|
+
function q(t) {
|
|
1595
1595
|
"@babel/helpers - typeof";
|
|
1596
|
-
return
|
|
1597
|
-
return typeof
|
|
1598
|
-
} : function(
|
|
1599
|
-
return
|
|
1600
|
-
},
|
|
1596
|
+
return q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1597
|
+
return typeof d;
|
|
1598
|
+
} : function(d) {
|
|
1599
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1600
|
+
}, q(t);
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1603
|
-
var
|
|
1602
|
+
function Xe(t, d) {
|
|
1603
|
+
var n = Object.keys(t);
|
|
1604
1604
|
if (Object.getOwnPropertySymbols) {
|
|
1605
1605
|
var r = Object.getOwnPropertySymbols(t);
|
|
1606
|
-
|
|
1606
|
+
d && (r = r.filter(function(i) {
|
|
1607
1607
|
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
1608
|
-
})),
|
|
1608
|
+
})), n.push.apply(n, r);
|
|
1609
1609
|
}
|
|
1610
|
-
return
|
|
1610
|
+
return n;
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1613
|
-
for (var
|
|
1614
|
-
var
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(
|
|
1618
|
-
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(
|
|
1612
|
+
function Je(t) {
|
|
1613
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
1614
|
+
var n = arguments[d] != null ? arguments[d] : {};
|
|
1615
|
+
d % 2 ? Xe(Object(n), !0).forEach(function(r) {
|
|
1616
|
+
ir(t, r, n[r]);
|
|
1617
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Xe(Object(n)).forEach(function(r) {
|
|
1618
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
1621
1621
|
return t;
|
|
1622
1622
|
}
|
|
1623
|
-
function
|
|
1624
|
-
return (
|
|
1623
|
+
function ir(t, d, n) {
|
|
1624
|
+
return (d = or(d)) in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
1625
1625
|
}
|
|
1626
|
-
function
|
|
1627
|
-
var
|
|
1628
|
-
return
|
|
1626
|
+
function or(t) {
|
|
1627
|
+
var d = ar(t, "string");
|
|
1628
|
+
return q(d) == "symbol" ? d : d + "";
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1631
|
-
if (
|
|
1632
|
-
var
|
|
1633
|
-
if (
|
|
1634
|
-
var r =
|
|
1635
|
-
if (
|
|
1630
|
+
function ar(t, d) {
|
|
1631
|
+
if (q(t) != "object" || !t) return t;
|
|
1632
|
+
var n = t[Symbol.toPrimitive];
|
|
1633
|
+
if (n !== void 0) {
|
|
1634
|
+
var r = n.call(t, d || "default");
|
|
1635
|
+
if (q(r) != "object") return r;
|
|
1636
1636
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1637
1637
|
}
|
|
1638
|
-
return (
|
|
1638
|
+
return (d === "string" ? String : Number)(t);
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1641
|
-
|
|
1640
|
+
function $r(t, d, n) {
|
|
1641
|
+
d && d.defaultCountry && !ld(d.defaultCountry, n) && (d = Je(Je({}, d), {}, {
|
|
1642
1642
|
defaultCountry: void 0
|
|
1643
1643
|
}));
|
|
1644
1644
|
try {
|
|
1645
|
-
return
|
|
1645
|
+
return Yn(t, d, n);
|
|
1646
1646
|
} catch (r) {
|
|
1647
|
-
if (!(r instanceof
|
|
1647
|
+
if (!(r instanceof P)) throw r;
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
|
-
function
|
|
1650
|
+
function X(t) {
|
|
1651
1651
|
"@babel/helpers - typeof";
|
|
1652
|
-
return
|
|
1653
|
-
return typeof
|
|
1654
|
-
} : function(
|
|
1655
|
-
return
|
|
1656
|
-
},
|
|
1657
|
-
}
|
|
1658
|
-
function
|
|
1659
|
-
var
|
|
1652
|
+
return X = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
|
|
1653
|
+
return typeof d;
|
|
1654
|
+
} : function(d) {
|
|
1655
|
+
return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
|
|
1656
|
+
}, X(t);
|
|
1657
|
+
}
|
|
1658
|
+
function Ze(t, d) {
|
|
1659
|
+
var n = Object.keys(t);
|
|
1660
1660
|
if (Object.getOwnPropertySymbols) {
|
|
1661
1661
|
var r = Object.getOwnPropertySymbols(t);
|
|
1662
|
-
|
|
1662
|
+
d && (r = r.filter(function(i) {
|
|
1663
1663
|
return Object.getOwnPropertyDescriptor(t, i).enumerable;
|
|
1664
|
-
})),
|
|
1664
|
+
})), n.push.apply(n, r);
|
|
1665
1665
|
}
|
|
1666
|
-
return
|
|
1666
|
+
return n;
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1669
|
-
for (var
|
|
1670
|
-
var
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(
|
|
1674
|
-
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(
|
|
1668
|
+
function Qe(t) {
|
|
1669
|
+
for (var d = 1; d < arguments.length; d++) {
|
|
1670
|
+
var n = arguments[d] != null ? arguments[d] : {};
|
|
1671
|
+
d % 2 ? Ze(Object(n), !0).forEach(function(r) {
|
|
1672
|
+
sr(t, r, n[r]);
|
|
1673
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ze(Object(n)).forEach(function(r) {
|
|
1674
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1675
1675
|
});
|
|
1676
1676
|
}
|
|
1677
1677
|
return t;
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1680
|
-
return (
|
|
1679
|
+
function sr(t, d, n) {
|
|
1680
|
+
return (d = lr(d)) in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1683
|
-
var
|
|
1684
|
-
return
|
|
1682
|
+
function lr(t) {
|
|
1683
|
+
var d = ur(t, "string");
|
|
1684
|
+
return X(d) == "symbol" ? d : d + "";
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
1687
|
-
if (
|
|
1688
|
-
var
|
|
1689
|
-
if (
|
|
1690
|
-
var r =
|
|
1691
|
-
if (
|
|
1686
|
+
function ur(t, d) {
|
|
1687
|
+
if (X(t) != "object" || !t) return t;
|
|
1688
|
+
var n = t[Symbol.toPrimitive];
|
|
1689
|
+
if (n !== void 0) {
|
|
1690
|
+
var r = n.call(t, d || "default");
|
|
1691
|
+
if (X(r) != "object") return r;
|
|
1692
1692
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1693
1693
|
}
|
|
1694
|
-
return (
|
|
1694
|
+
return (d === "string" ? String : Number)(t);
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1697
|
-
var t =
|
|
1698
|
-
|
|
1696
|
+
function cr() {
|
|
1697
|
+
var t = rr(arguments), d = t.text, n = t.options, r = t.metadata;
|
|
1698
|
+
n = Qe(Qe({}, n), {}, {
|
|
1699
1699
|
extract: !1
|
|
1700
1700
|
});
|
|
1701
|
-
var i =
|
|
1701
|
+
var i = $r(d, n, r);
|
|
1702
1702
|
return i && i.isValid() || !1;
|
|
1703
1703
|
}
|
|
1704
|
-
function
|
|
1705
|
-
return
|
|
1704
|
+
function fr() {
|
|
1705
|
+
return Zt(cr, arguments);
|
|
1706
1706
|
}
|
|
1707
|
-
const
|
|
1707
|
+
const c = e.enum([
|
|
1708
1708
|
"NEW_MEMBERS",
|
|
1709
1709
|
"AT_RISK_MEMBERS",
|
|
1710
1710
|
"TOP_MEMBERS",
|
|
1711
1711
|
"ACTIVE_MEMBERS"
|
|
1712
1712
|
]);
|
|
1713
|
-
|
|
1714
|
-
const
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
],
|
|
1720
|
-
[
|
|
1721
|
-
[
|
|
1722
|
-
[
|
|
1723
|
-
[
|
|
1724
|
-
},
|
|
1725
|
-
[
|
|
1726
|
-
[
|
|
1727
|
-
[
|
|
1728
|
-
[
|
|
1729
|
-
},
|
|
1713
|
+
c.options;
|
|
1714
|
+
const k0 = [
|
|
1715
|
+
c.enum.NEW_MEMBERS,
|
|
1716
|
+
c.enum.AT_RISK_MEMBERS,
|
|
1717
|
+
c.enum.TOP_MEMBERS,
|
|
1718
|
+
c.enum.ACTIVE_MEMBERS
|
|
1719
|
+
], J = {
|
|
1720
|
+
[c.enum.NEW_MEMBERS]: "New Members",
|
|
1721
|
+
[c.enum.AT_RISK_MEMBERS]: "At-Risk Members",
|
|
1722
|
+
[c.enum.TOP_MEMBERS]: "Top Members",
|
|
1723
|
+
[c.enum.ACTIVE_MEMBERS]: "Active Members"
|
|
1724
|
+
}, Z = {
|
|
1725
|
+
[c.enum.NEW_MEMBERS]: "connect.loyalty.segment.default_segments.new_members.description",
|
|
1726
|
+
[c.enum.AT_RISK_MEMBERS]: "connect.loyalty.segment.default_segments.at_risk_members.description",
|
|
1727
|
+
[c.enum.TOP_MEMBERS]: "connect.loyalty.segment.default_segments.top_members.description",
|
|
1728
|
+
[c.enum.ACTIVE_MEMBERS]: "connect.loyalty.segment.default_segments.active_members.description"
|
|
1729
|
+
}, A = {
|
|
1730
1730
|
newJoinDays: 30,
|
|
1731
1731
|
atRiskMinVisitCount: 2,
|
|
1732
1732
|
atRiskLastVisitDays: 60,
|
|
@@ -1736,102 +1736,102 @@ const Z0 = [
|
|
|
1736
1736
|
activeMinVisitCount: 2,
|
|
1737
1737
|
activeLastVisitDays: 30
|
|
1738
1738
|
};
|
|
1739
|
-
function
|
|
1739
|
+
function M(t, d, n) {
|
|
1740
1740
|
return {
|
|
1741
1741
|
name: t,
|
|
1742
|
-
property:
|
|
1743
|
-
conditions:
|
|
1742
|
+
property: d,
|
|
1743
|
+
conditions: n,
|
|
1744
1744
|
negated: !1
|
|
1745
1745
|
};
|
|
1746
1746
|
}
|
|
1747
|
-
function
|
|
1747
|
+
function R(t, d, n) {
|
|
1748
1748
|
return {
|
|
1749
1749
|
name: t,
|
|
1750
|
-
rules:
|
|
1751
|
-
logic:
|
|
1750
|
+
rules: n,
|
|
1751
|
+
logic: d
|
|
1752
1752
|
};
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1755
|
-
const r = `${t}_today`, i = `${t}_within_last_${
|
|
1756
|
-
return
|
|
1757
|
-
[r]:
|
|
1754
|
+
function fe(t, d, n) {
|
|
1755
|
+
const r = `${t}_today`, i = `${t}_within_last_${n}_days`;
|
|
1756
|
+
return R(t, `${r} || ${i}`, {
|
|
1757
|
+
[r]: M(r, d, {
|
|
1758
1758
|
_isRange: {
|
|
1759
1759
|
op: "this",
|
|
1760
1760
|
unit: "day",
|
|
1761
1761
|
ignoreYear: !1
|
|
1762
1762
|
}
|
|
1763
1763
|
}),
|
|
1764
|
-
[i]:
|
|
1764
|
+
[i]: M(i, d, {
|
|
1765
1765
|
_isRange: {
|
|
1766
1766
|
op: "last",
|
|
1767
1767
|
unit: "day",
|
|
1768
|
-
x:
|
|
1768
|
+
x: n,
|
|
1769
1769
|
ignoreYear: !1
|
|
1770
1770
|
}
|
|
1771
1771
|
})
|
|
1772
1772
|
});
|
|
1773
1773
|
}
|
|
1774
1774
|
const b = {
|
|
1775
|
-
g_join_recent_30:
|
|
1775
|
+
g_join_recent_30: fe(
|
|
1776
1776
|
"g_join_recent_30",
|
|
1777
1777
|
"user.joinAt",
|
|
1778
|
-
|
|
1778
|
+
A.newJoinDays
|
|
1779
1779
|
),
|
|
1780
|
-
r_at_risk_visit_count_min:
|
|
1780
|
+
r_at_risk_visit_count_min: M(
|
|
1781
1781
|
"r_at_risk_visit_count_min",
|
|
1782
1782
|
"user.stats.visitCount",
|
|
1783
|
-
{ _moreThanOrEqual:
|
|
1783
|
+
{ _moreThanOrEqual: A.atRiskMinVisitCount }
|
|
1784
1784
|
),
|
|
1785
|
-
g_last_visit_recent_60:
|
|
1785
|
+
g_last_visit_recent_60: fe(
|
|
1786
1786
|
"g_last_visit_recent_60",
|
|
1787
1787
|
"user.stats.lastVisit",
|
|
1788
|
-
|
|
1788
|
+
A.atRiskLastVisitDays
|
|
1789
1789
|
),
|
|
1790
|
-
r_top_visit_count_min:
|
|
1790
|
+
r_top_visit_count_min: M(
|
|
1791
1791
|
"r_top_visit_count_min",
|
|
1792
1792
|
"user.stats.visitCount",
|
|
1793
|
-
{ _moreThanOrEqual:
|
|
1793
|
+
{ _moreThanOrEqual: A.topMinVisitCount }
|
|
1794
1794
|
),
|
|
1795
|
-
r_avg_bill_top:
|
|
1796
|
-
_moreThanOrEqual:
|
|
1795
|
+
r_avg_bill_top: M("r_avg_bill_top", "user.stats.avgBillSize", {
|
|
1796
|
+
_moreThanOrEqual: A.topMinAvgBillSize
|
|
1797
1797
|
}),
|
|
1798
|
-
r_avg_visit_frequency_top:
|
|
1798
|
+
r_avg_visit_frequency_top: M(
|
|
1799
1799
|
"r_avg_visit_frequency_top",
|
|
1800
1800
|
"user.stats.avgVisitFrequency",
|
|
1801
1801
|
{
|
|
1802
|
-
_lessThanOrEqual:
|
|
1802
|
+
_lessThanOrEqual: A.topMaxAvgVisitFrequencyDays
|
|
1803
1803
|
}
|
|
1804
1804
|
),
|
|
1805
|
-
r_active_visit_count_min:
|
|
1805
|
+
r_active_visit_count_min: M(
|
|
1806
1806
|
"r_active_visit_count_min",
|
|
1807
1807
|
"user.stats.visitCount",
|
|
1808
|
-
{ _moreThanOrEqual:
|
|
1808
|
+
{ _moreThanOrEqual: A.activeMinVisitCount }
|
|
1809
1809
|
),
|
|
1810
|
-
g_last_visit_recent_30:
|
|
1810
|
+
g_last_visit_recent_30: fe(
|
|
1811
1811
|
"g_last_visit_recent_30",
|
|
1812
1812
|
"user.stats.lastVisit",
|
|
1813
|
-
|
|
1813
|
+
A.activeLastVisitDays
|
|
1814
1814
|
)
|
|
1815
|
-
},
|
|
1815
|
+
}, et = R(
|
|
1816
1816
|
"g_not_at_risk",
|
|
1817
1817
|
"!r_at_risk_visit_count_min || g_last_visit_recent_60",
|
|
1818
1818
|
{
|
|
1819
1819
|
r_at_risk_visit_count_min: b.r_at_risk_visit_count_min,
|
|
1820
1820
|
g_last_visit_recent_60: b.g_last_visit_recent_60
|
|
1821
1821
|
}
|
|
1822
|
-
),
|
|
1822
|
+
), mr = R(
|
|
1823
1823
|
"g_top_value",
|
|
1824
1824
|
"r_avg_bill_top || r_avg_visit_frequency_top",
|
|
1825
1825
|
{
|
|
1826
1826
|
r_avg_bill_top: b.r_avg_bill_top,
|
|
1827
1827
|
r_avg_visit_frequency_top: b.r_avg_visit_frequency_top
|
|
1828
1828
|
}
|
|
1829
|
-
),
|
|
1829
|
+
), gr = R(
|
|
1830
1830
|
"g_not_top",
|
|
1831
1831
|
"!r_top_visit_count_min || g_not_top_value",
|
|
1832
1832
|
{
|
|
1833
1833
|
r_top_visit_count_min: b.r_top_visit_count_min,
|
|
1834
|
-
g_not_top_value:
|
|
1834
|
+
g_not_top_value: R(
|
|
1835
1835
|
"g_not_top_value",
|
|
1836
1836
|
"!r_avg_bill_top && !r_avg_visit_frequency_top",
|
|
1837
1837
|
{
|
|
@@ -1841,9 +1841,9 @@ const b = {
|
|
|
1841
1841
|
)
|
|
1842
1842
|
}
|
|
1843
1843
|
);
|
|
1844
|
-
|
|
1844
|
+
c.enum.NEW_MEMBERS + "", c.enum.NEW_MEMBERS, J[c.enum.NEW_MEMBERS], Z[c.enum.NEW_MEMBERS], R("g_default_new_members", "g_join_recent_30", {
|
|
1845
1845
|
g_join_recent_30: b.g_join_recent_30
|
|
1846
|
-
}),
|
|
1846
|
+
}), c.enum.AT_RISK_MEMBERS + "", c.enum.AT_RISK_MEMBERS, J[c.enum.AT_RISK_MEMBERS], Z[c.enum.AT_RISK_MEMBERS], R(
|
|
1847
1847
|
"g_default_at_risk_members",
|
|
1848
1848
|
"!g_join_recent_30 && r_at_risk_visit_count_min && !g_last_visit_recent_60",
|
|
1849
1849
|
{
|
|
@@ -1851,33 +1851,33 @@ m.enum.NEW_MEMBERS + "", m.enum.NEW_MEMBERS, Z[m.enum.NEW_MEMBERS], Q[m.enum.NEW
|
|
|
1851
1851
|
r_at_risk_visit_count_min: b.r_at_risk_visit_count_min,
|
|
1852
1852
|
g_last_visit_recent_60: b.g_last_visit_recent_60
|
|
1853
1853
|
}
|
|
1854
|
-
),
|
|
1854
|
+
), c.enum.TOP_MEMBERS + "", c.enum.TOP_MEMBERS, J[c.enum.TOP_MEMBERS], Z[c.enum.TOP_MEMBERS], R(
|
|
1855
1855
|
"g_default_top_members",
|
|
1856
1856
|
"!g_join_recent_30 && g_not_at_risk && r_top_visit_count_min && g_top_value",
|
|
1857
1857
|
{
|
|
1858
1858
|
g_join_recent_30: b.g_join_recent_30,
|
|
1859
|
-
g_not_at_risk:
|
|
1859
|
+
g_not_at_risk: et,
|
|
1860
1860
|
r_top_visit_count_min: b.r_top_visit_count_min,
|
|
1861
|
-
g_top_value:
|
|
1861
|
+
g_top_value: mr
|
|
1862
1862
|
}
|
|
1863
|
-
),
|
|
1863
|
+
), c.enum.ACTIVE_MEMBERS + "", c.enum.ACTIVE_MEMBERS, J[c.enum.ACTIVE_MEMBERS], Z[c.enum.ACTIVE_MEMBERS], R(
|
|
1864
1864
|
"g_default_active_members",
|
|
1865
1865
|
"!g_join_recent_30 && g_not_at_risk && g_not_top && r_active_visit_count_min && g_last_visit_recent_30",
|
|
1866
1866
|
{
|
|
1867
1867
|
g_join_recent_30: b.g_join_recent_30,
|
|
1868
|
-
g_not_at_risk:
|
|
1869
|
-
g_not_top:
|
|
1868
|
+
g_not_at_risk: et,
|
|
1869
|
+
g_not_top: gr,
|
|
1870
1870
|
r_active_visit_count_min: b.r_active_visit_count_min,
|
|
1871
1871
|
g_last_visit_recent_30: b.g_last_visit_recent_30
|
|
1872
1872
|
}
|
|
1873
1873
|
);
|
|
1874
|
-
const
|
|
1874
|
+
const pr = {
|
|
1875
1875
|
collectionName: "Segmentations",
|
|
1876
1876
|
transform: {
|
|
1877
1877
|
_id: "oid",
|
|
1878
1878
|
business: "oid"
|
|
1879
1879
|
}
|
|
1880
|
-
},
|
|
1880
|
+
}, br = {
|
|
1881
1881
|
collectionName: "SegmentRefreshRuns",
|
|
1882
1882
|
transform: {
|
|
1883
1883
|
_id: "oid",
|
|
@@ -1886,36 +1886,36 @@ const Pr = {
|
|
|
1886
1886
|
upperBoundCursor: "oid",
|
|
1887
1887
|
lastCursor: "oid"
|
|
1888
1888
|
}
|
|
1889
|
-
},
|
|
1889
|
+
}, yr = e.enum(["DYNAMIC", "STATIC"]), _r = e.enum([
|
|
1890
1890
|
"ACTIVE",
|
|
1891
1891
|
"COMPLETED",
|
|
1892
1892
|
"FAILED"
|
|
1893
|
-
]),
|
|
1893
|
+
]), Er = e.enum([
|
|
1894
1894
|
"MANUAL",
|
|
1895
1895
|
"SCHEDULED"
|
|
1896
|
-
]),
|
|
1896
|
+
]), hr = e.enum(["userId"]), H0 = e.object({
|
|
1897
1897
|
_id: o,
|
|
1898
|
-
rule:
|
|
1898
|
+
rule: B,
|
|
1899
1899
|
name: e.string().min(1),
|
|
1900
1900
|
description: e.string().nullish(),
|
|
1901
1901
|
business: o,
|
|
1902
1902
|
members: e.array(o),
|
|
1903
1903
|
memberCount: e.number().optional(),
|
|
1904
1904
|
lastUpdated: e.coerce.date().nullish(),
|
|
1905
|
-
type:
|
|
1905
|
+
type: yr.nullish(),
|
|
1906
1906
|
isActive: e.boolean().nullish(),
|
|
1907
1907
|
importFile: e.string().nullish(),
|
|
1908
|
-
defaultKey:
|
|
1909
|
-
}).describe(_.describe(
|
|
1908
|
+
defaultKey: c.nullish()
|
|
1909
|
+
}).describe(_.describe(pr));
|
|
1910
1910
|
e.object({
|
|
1911
1911
|
_id: o,
|
|
1912
1912
|
business: o,
|
|
1913
1913
|
segmentId: o.nullish(),
|
|
1914
|
-
triggerType:
|
|
1914
|
+
triggerType: Er,
|
|
1915
1915
|
queueName: e.string(),
|
|
1916
|
-
status:
|
|
1916
|
+
status: _r,
|
|
1917
1917
|
active: e.boolean(),
|
|
1918
|
-
cursorType:
|
|
1918
|
+
cursorType: hr,
|
|
1919
1919
|
batchSize: e.number(),
|
|
1920
1920
|
fanoutWindowSize: e.number(),
|
|
1921
1921
|
maxOutstandingChunks: e.number(),
|
|
@@ -1932,7 +1932,7 @@ e.object({
|
|
|
1932
1932
|
completedAt: e.coerce.date().nullish(),
|
|
1933
1933
|
failedAt: e.coerce.date().nullish(),
|
|
1934
1934
|
error: e.string().nullish()
|
|
1935
|
-
}).describe(_.describe(
|
|
1935
|
+
}).describe(_.describe(br));
|
|
1936
1936
|
e.object({
|
|
1937
1937
|
businessId: e.string(),
|
|
1938
1938
|
segmentId: e.string().optional(),
|
|
@@ -1941,7 +1941,7 @@ e.object({
|
|
|
1941
1941
|
queued: e.boolean(),
|
|
1942
1942
|
reason: e.literal("in-progress").optional()
|
|
1943
1943
|
});
|
|
1944
|
-
const
|
|
1944
|
+
const vr = e.object({
|
|
1945
1945
|
id: e.union([e.string(), e.number()]),
|
|
1946
1946
|
businessId: e.string(),
|
|
1947
1947
|
segmentId: e.string().optional(),
|
|
@@ -1958,9 +1958,9 @@ const Tr = e.object({
|
|
|
1958
1958
|
e.object({
|
|
1959
1959
|
businessId: e.string(),
|
|
1960
1960
|
inProgress: e.boolean(),
|
|
1961
|
-
jobs: e.array(
|
|
1961
|
+
jobs: e.array(vr)
|
|
1962
1962
|
});
|
|
1963
|
-
const
|
|
1963
|
+
const Cr = e.enum([
|
|
1964
1964
|
"PORTAL",
|
|
1965
1965
|
"BENEFIT",
|
|
1966
1966
|
"STORE",
|
|
@@ -1983,9 +1983,8 @@ const Sr = e.enum([
|
|
|
1983
1983
|
"REFERRAL",
|
|
1984
1984
|
"REFERRAL_REWARD",
|
|
1985
1985
|
"ORDER_APP-CLAIM",
|
|
1986
|
-
"ORDER_APP-APPLY"
|
|
1987
|
-
|
|
1988
|
-
]), se = e.string(), $e = e.record(e.string(), e.any()).nullish(), Or = {
|
|
1986
|
+
"ORDER_APP-APPLY"
|
|
1987
|
+
]), ae = e.string(), $e = e.record(e.string(), e.any()).nullish(), Pr = {
|
|
1989
1988
|
collectionName: "Transactions",
|
|
1990
1989
|
transform: {
|
|
1991
1990
|
_id: "oid",
|
|
@@ -2004,23 +2003,19 @@ const Sr = e.enum([
|
|
|
2004
2003
|
collectible: {
|
|
2005
2004
|
fromCollection: "CollectibleConfigs",
|
|
2006
2005
|
as: "pf_collectible"
|
|
2007
|
-
},
|
|
2008
|
-
collection: {
|
|
2009
|
-
fromCollection: "Collections",
|
|
2010
|
-
as: "pf_collection"
|
|
2011
2006
|
}
|
|
2012
2007
|
}
|
|
2013
|
-
},
|
|
2008
|
+
}, gt = e.object({
|
|
2014
2009
|
_id: o,
|
|
2015
2010
|
user: o.nullable(),
|
|
2016
2011
|
collectible: o,
|
|
2017
2012
|
collection: o,
|
|
2018
2013
|
business: o,
|
|
2019
2014
|
amount: e.number(),
|
|
2020
|
-
expiryAmount: e.array(e.lazy(() =>
|
|
2021
|
-
from: e.lazy(() =>
|
|
2022
|
-
to: e.lazy(() =>
|
|
2023
|
-
source:
|
|
2015
|
+
expiryAmount: e.array(e.lazy(() => Ne)),
|
|
2016
|
+
from: e.lazy(() => N),
|
|
2017
|
+
to: e.lazy(() => N),
|
|
2018
|
+
source: ae,
|
|
2024
2019
|
ref: e.string(),
|
|
2025
2020
|
refunded: e.boolean().optional(),
|
|
2026
2021
|
refundedFrom: o.optional(),
|
|
@@ -2030,41 +2025,38 @@ const Sr = e.enum([
|
|
|
2030
2025
|
pf_collectible: e.any().optional(),
|
|
2031
2026
|
pf_collection: e.any().optional(),
|
|
2032
2027
|
totalAmount: e.number().optional()
|
|
2033
|
-
}).describe(_.describe(
|
|
2028
|
+
}).describe(_.describe(Pr));
|
|
2034
2029
|
e.object({
|
|
2035
2030
|
amount: e.number(),
|
|
2036
|
-
expiryAmount: e.array(e.lazy(() =>
|
|
2037
|
-
collection: e.lazy(() =>
|
|
2038
|
-
source:
|
|
2031
|
+
expiryAmount: e.array(e.lazy(() => Ne)),
|
|
2032
|
+
collection: e.lazy(() => te),
|
|
2033
|
+
source: ae,
|
|
2039
2034
|
ref: e.string(),
|
|
2040
|
-
from: e.lazy(() =>
|
|
2041
|
-
to: e.lazy(() =>
|
|
2035
|
+
from: e.lazy(() => N).optional(),
|
|
2036
|
+
to: e.lazy(() => N),
|
|
2042
2037
|
metadata: $e,
|
|
2043
2038
|
refunded: e.boolean().optional(),
|
|
2044
2039
|
refundedFrom: o.optional()
|
|
2045
2040
|
});
|
|
2046
2041
|
e.object({
|
|
2047
|
-
id: e.string()
|
|
2048
|
-
// When set, revert() only reverses transactions owned by this business —
|
|
2049
|
-
// used by the Partner API to prevent cross-tenant refunds.
|
|
2050
|
-
businessId: e.string().optional()
|
|
2042
|
+
id: e.string()
|
|
2051
2043
|
});
|
|
2052
|
-
|
|
2053
|
-
const
|
|
2054
|
-
constructor(
|
|
2055
|
-
this.redemptionCode =
|
|
2044
|
+
Cr.options;
|
|
2045
|
+
const ne = class ne {
|
|
2046
|
+
constructor(d) {
|
|
2047
|
+
this.redemptionCode = d.generate(), this.expiredAt = new Date(Date.now() + ne.EXPIRY_TIME);
|
|
2056
2048
|
}
|
|
2057
2049
|
};
|
|
2058
|
-
|
|
2059
|
-
let
|
|
2060
|
-
const
|
|
2050
|
+
ne.EXPIRY_TIME = 5 * 60 * 1e3;
|
|
2051
|
+
let tt = ne;
|
|
2052
|
+
const pt = e.enum(["NORMAL", "EXPIRABLE"]), Ne = e.object({
|
|
2061
2053
|
_id: o,
|
|
2062
2054
|
amount: e.number(),
|
|
2063
2055
|
expiredAt: e.coerce.date()
|
|
2064
|
-
}),
|
|
2056
|
+
}), N = e.object({
|
|
2065
2057
|
balance: e.number(),
|
|
2066
|
-
expiryBalance: e.array(
|
|
2067
|
-
}),
|
|
2058
|
+
expiryBalance: e.array(Ne).optional()
|
|
2059
|
+
}), Rr = {
|
|
2068
2060
|
collectionName: "Collections",
|
|
2069
2061
|
transform: {
|
|
2070
2062
|
_id: "oid",
|
|
@@ -2083,64 +2075,64 @@ const vt = e.enum(["NORMAL", "EXPIRABLE"]), Te = e.object({
|
|
|
2083
2075
|
fromCollection: "CollectibleConfigs"
|
|
2084
2076
|
}
|
|
2085
2077
|
}
|
|
2086
|
-
},
|
|
2078
|
+
}, Nr = e.object({
|
|
2087
2079
|
redemptionCode: e.string(),
|
|
2088
2080
|
expiredAt: e.coerce.date()
|
|
2089
|
-
}),
|
|
2081
|
+
}), te = e.object({
|
|
2090
2082
|
_id: o,
|
|
2091
2083
|
business: o,
|
|
2092
2084
|
user: o.nullish(),
|
|
2093
2085
|
code: e.string().optional(),
|
|
2094
2086
|
collectible: o,
|
|
2095
|
-
type:
|
|
2096
|
-
extras:
|
|
2097
|
-
options:
|
|
2087
|
+
type: ot,
|
|
2088
|
+
extras: zt.nullish(),
|
|
2089
|
+
options: Yt,
|
|
2098
2090
|
ref: e.string().nullish(),
|
|
2099
2091
|
deactivatedAt: e.date().nullish(),
|
|
2100
|
-
redemption:
|
|
2092
|
+
redemption: Nr.optional(),
|
|
2101
2093
|
pf_user: e.any().optional(),
|
|
2102
2094
|
pf_collectible: e.any().optional(),
|
|
2103
2095
|
pf_campaign: e.any().optional()
|
|
2104
|
-
}).merge(
|
|
2096
|
+
}).merge(N).describe(_.describe(Rr)), U = e.object({
|
|
2105
2097
|
amount: e.number(),
|
|
2106
2098
|
ref: e.string(),
|
|
2107
|
-
source:
|
|
2099
|
+
source: ae,
|
|
2108
2100
|
metadata: $e
|
|
2109
2101
|
});
|
|
2110
|
-
|
|
2102
|
+
U.extend({
|
|
2111
2103
|
code: e.string().optional(),
|
|
2112
2104
|
collectible: o,
|
|
2113
|
-
channelConfig:
|
|
2105
|
+
channelConfig: re.nullish(),
|
|
2114
2106
|
business: o,
|
|
2115
2107
|
user: o.nullable()
|
|
2116
2108
|
});
|
|
2117
|
-
|
|
2109
|
+
U.extend({
|
|
2118
2110
|
codes: e.array(e.string()),
|
|
2119
2111
|
collectible: o,
|
|
2120
|
-
channelConfig:
|
|
2112
|
+
channelConfig: re.nullish(),
|
|
2121
2113
|
business: o,
|
|
2122
2114
|
user: o.nullable()
|
|
2123
2115
|
});
|
|
2124
|
-
|
|
2116
|
+
U.extend({
|
|
2125
2117
|
user: o,
|
|
2126
2118
|
business: o,
|
|
2127
2119
|
collectible: o,
|
|
2128
2120
|
expiredAt: e.date({ coerce: !0 }).nullish()
|
|
2129
2121
|
});
|
|
2130
|
-
|
|
2122
|
+
U.extend({
|
|
2131
2123
|
id: o,
|
|
2132
2124
|
code: e.string().optional(),
|
|
2133
|
-
type:
|
|
2125
|
+
type: pt.optional(),
|
|
2134
2126
|
skipValidateOption: e.boolean().optional()
|
|
2135
2127
|
});
|
|
2136
2128
|
e.object({
|
|
2137
2129
|
collection: o,
|
|
2138
2130
|
to: o,
|
|
2139
2131
|
ref: e.string(),
|
|
2140
|
-
source:
|
|
2132
|
+
source: ae,
|
|
2141
2133
|
metadata: $e
|
|
2142
2134
|
});
|
|
2143
|
-
const
|
|
2135
|
+
const Ir = e.object({
|
|
2144
2136
|
length: e.coerce.number().optional(),
|
|
2145
2137
|
charset: e.string(),
|
|
2146
2138
|
prefix: e.string().optional(),
|
|
@@ -2150,34 +2142,34 @@ const Dr = e.object({
|
|
|
2150
2142
|
e.object({
|
|
2151
2143
|
quantity: e.number(),
|
|
2152
2144
|
code: e.string(),
|
|
2153
|
-
codeConfig:
|
|
2145
|
+
codeConfig: Ir
|
|
2154
2146
|
});
|
|
2155
|
-
const
|
|
2147
|
+
const V0 = e.object({
|
|
2156
2148
|
amount: e.coerce.number().min(1).max(1e7).multipleOf(0.01, "Amount must be maximum of two decimal places (0.00)"),
|
|
2157
2149
|
day: e.coerce.number().min(1).max(9999),
|
|
2158
2150
|
remark: e.string().optional()
|
|
2159
|
-
}),
|
|
2151
|
+
}), K0 = e.object({
|
|
2160
2152
|
amount: e.coerce.number().min(1),
|
|
2161
2153
|
remark: e.string().optional()
|
|
2162
|
-
}),
|
|
2154
|
+
}), W0 = e.object({
|
|
2163
2155
|
amount: e.coerce.number().min(1),
|
|
2164
2156
|
day: e.coerce.number().min(1).max(9999).optional(),
|
|
2165
2157
|
remark: e.string().optional()
|
|
2166
|
-
}),
|
|
2158
|
+
}), z0 = e.object({
|
|
2167
2159
|
amount: e.coerce.number().min(1),
|
|
2168
2160
|
remark: e.string().optional()
|
|
2169
2161
|
});
|
|
2170
|
-
|
|
2162
|
+
U.extend({
|
|
2171
2163
|
business: e.string(),
|
|
2172
2164
|
user: e.string(),
|
|
2173
|
-
type:
|
|
2165
|
+
type: pt.optional()
|
|
2174
2166
|
});
|
|
2175
|
-
|
|
2167
|
+
U.extend({
|
|
2176
2168
|
business: e.string(),
|
|
2177
2169
|
user: e.string(),
|
|
2178
|
-
channelConfig:
|
|
2170
|
+
channelConfig: re.nullish()
|
|
2179
2171
|
});
|
|
2180
|
-
const
|
|
2172
|
+
const Y0 = e.object({
|
|
2181
2173
|
memberId: e.array(o).min(1),
|
|
2182
2174
|
amount: e.coerce.number().min(1).max(9999).optional(),
|
|
2183
2175
|
ref: e.string().optional()
|
|
@@ -2186,32 +2178,21 @@ e.object({
|
|
|
2186
2178
|
userId: o
|
|
2187
2179
|
});
|
|
2188
2180
|
e.lazy(
|
|
2189
|
-
() =>
|
|
2190
|
-
coin: e.lazy(() =>
|
|
2191
|
-
point: e.lazy(() =>
|
|
2192
|
-
credit: e.lazy(() =>
|
|
2181
|
+
() => se.extend({
|
|
2182
|
+
coin: e.lazy(() => N),
|
|
2183
|
+
point: e.lazy(() => N),
|
|
2184
|
+
credit: e.lazy(() => N),
|
|
2193
2185
|
voucherCount: e.number(),
|
|
2194
2186
|
gameCount: e.number(),
|
|
2195
|
-
tier: e.lazy(() =>
|
|
2196
|
-
titles: e.lazy(() => e.array(
|
|
2197
|
-
collection: e.record(
|
|
2187
|
+
tier: e.lazy(() => N),
|
|
2188
|
+
titles: e.lazy(() => e.array(te)),
|
|
2189
|
+
collection: e.record(ot, e.array(te)).nullish()
|
|
2198
2190
|
})
|
|
2199
2191
|
);
|
|
2200
2192
|
e.object({
|
|
2201
2193
|
userId: o
|
|
2202
2194
|
});
|
|
2203
|
-
const
|
|
2204
|
-
_id: e.string(),
|
|
2205
|
-
name: e.string(),
|
|
2206
|
-
phoneNumber: e.string().optional(),
|
|
2207
|
-
photoUrl: e.string().nullish()
|
|
2208
|
-
}), Lr = e.enum([
|
|
2209
|
-
"REGISTER",
|
|
2210
|
-
"UPDATE_PHONE"
|
|
2211
|
-
]), wr = e.object({
|
|
2212
|
-
name: e.string(),
|
|
2213
|
-
id: e.string()
|
|
2214
|
-
}), jr = e.object({
|
|
2195
|
+
const Fr = e.object({
|
|
2215
2196
|
lastVisit: e.coerce.date(),
|
|
2216
2197
|
topupCount: e.number(),
|
|
2217
2198
|
// { [productId]: count }
|
|
@@ -2222,11 +2203,11 @@ const i1 = e.object({
|
|
|
2222
2203
|
feedbackCount: e.number(),
|
|
2223
2204
|
lastSeasonTierEarned: e.number().optional(),
|
|
2224
2205
|
lastSeasonPointEarned: e.number().optional()
|
|
2225
|
-
}),
|
|
2206
|
+
}), Sr = e.object({
|
|
2226
2207
|
name: e.string(),
|
|
2227
2208
|
address: e.string(),
|
|
2228
2209
|
coordinates: e.array(e.number())
|
|
2229
|
-
}),
|
|
2210
|
+
}), Ar = {
|
|
2230
2211
|
collectionName: "UsersV2",
|
|
2231
2212
|
transform: {
|
|
2232
2213
|
_id: "oid",
|
|
@@ -2238,15 +2219,15 @@ const i1 = e.object({
|
|
|
2238
2219
|
fromCollection: "Segments"
|
|
2239
2220
|
}
|
|
2240
2221
|
}
|
|
2241
|
-
},
|
|
2222
|
+
}, se = e.object({
|
|
2242
2223
|
// user meta
|
|
2243
2224
|
_id: o,
|
|
2244
2225
|
name: e.string(),
|
|
2245
2226
|
birthday: e.coerce.date().nullish(),
|
|
2246
2227
|
gender: e.enum(["MALE", "FEMALE"]).nullish(),
|
|
2247
|
-
address: e.array(
|
|
2228
|
+
address: e.array(Sr).nullish(),
|
|
2248
2229
|
email: e.string().email().nullish(),
|
|
2249
|
-
phoneNumber: e.string().refine((t) =>
|
|
2230
|
+
phoneNumber: e.string().refine((t) => fr(t)),
|
|
2250
2231
|
externalMemberId: e.string().optional(),
|
|
2251
2232
|
cardNo: e.string().optional(),
|
|
2252
2233
|
joinAt: e.coerce.date().nullish(),
|
|
@@ -2254,7 +2235,7 @@ const i1 = e.object({
|
|
|
2254
2235
|
location: o.nullish(),
|
|
2255
2236
|
// member meta
|
|
2256
2237
|
business: o,
|
|
2257
|
-
stats:
|
|
2238
|
+
stats: Fr,
|
|
2258
2239
|
// segment
|
|
2259
2240
|
segment: e.array(o),
|
|
2260
2241
|
member: e.boolean(),
|
|
@@ -2277,78 +2258,26 @@ const i1 = e.object({
|
|
|
2277
2258
|
days90: e.number()
|
|
2278
2259
|
}).and(e.record(e.string(), e.number())).optional(),
|
|
2279
2260
|
lastReadAt: e.coerce.date().nullish(),
|
|
2280
|
-
importCollection: e.record(e.string(), e.
|
|
2261
|
+
importCollection: e.record(e.string(), e.number()).optional(),
|
|
2281
2262
|
// referral feature
|
|
2282
2263
|
referralCode: e.string().optional(),
|
|
2283
|
-
parentReferralCode: e.string().optional()
|
|
2284
|
-
|
|
2285
|
-
birthdayUpdateCount: e.number().optional(),
|
|
2286
|
-
authProvider: e.array(wr).optional(),
|
|
2287
|
-
// arbitrary caller-supplied info (e.g. app language, app version)
|
|
2288
|
-
metadata: e.record(e.string(), e.any()).optional()
|
|
2289
|
-
}).describe(_.describe(Br)), Ur = e.object({
|
|
2264
|
+
parentReferralCode: e.string().optional()
|
|
2265
|
+
}).describe(_.describe(Ar)), Tr = e.object({
|
|
2290
2266
|
id: o,
|
|
2291
2267
|
expiredAt: e.coerce.number().min(0, "Expire in days must be greater than 0").max(9999, "Expire in days must not exceed 9999")
|
|
2292
|
-
}),
|
|
2293
|
-
titles: e.array(
|
|
2268
|
+
}), q0 = e.object({
|
|
2269
|
+
titles: e.array(Tr).optional(),
|
|
2294
2270
|
tier: e.number().optional(),
|
|
2295
2271
|
experience: e.number().optional(),
|
|
2296
|
-
cardNo: e.string().optional()
|
|
2297
|
-
name: e.string().optional(),
|
|
2298
|
-
email: e.string().email().optional(),
|
|
2299
|
-
birthday: e.coerce.date().optional(),
|
|
2300
|
-
gender: e.enum(["MALE", "FEMALE"]).optional(),
|
|
2301
|
-
address: e.array(Ct).optional(),
|
|
2302
|
-
photoUrl: e.string().optional()
|
|
2303
|
-
});
|
|
2304
|
-
e.object({
|
|
2305
|
-
phoneNumber: e.string(),
|
|
2306
|
-
password: e.string(),
|
|
2307
|
-
business: e.string()
|
|
2308
|
-
});
|
|
2309
|
-
e.object({
|
|
2310
|
-
_id: o,
|
|
2311
|
-
name: e.string().optional(),
|
|
2312
|
-
birthday: e.coerce.date().optional(),
|
|
2313
|
-
gender: e.enum(["MALE", "FEMALE"]).optional(),
|
|
2314
|
-
email: e.string().email().optional()
|
|
2315
|
-
});
|
|
2316
|
-
e.object({
|
|
2317
|
-
phoneNumber: e.string(),
|
|
2318
|
-
newPhoneNumber: e.string()
|
|
2319
|
-
});
|
|
2320
|
-
e.object({
|
|
2321
|
-
token: e.string(),
|
|
2322
|
-
password: e.string(),
|
|
2323
|
-
business: e.string()
|
|
2324
|
-
});
|
|
2325
|
-
e.object({
|
|
2326
|
-
id: e.string(),
|
|
2327
|
-
password: e.string(),
|
|
2328
|
-
business: e.string()
|
|
2329
|
-
});
|
|
2330
|
-
e.object({
|
|
2331
|
-
phoneNumber: e.string(),
|
|
2332
|
-
business: e.string()
|
|
2333
|
-
});
|
|
2334
|
-
e.object({
|
|
2335
|
-
phoneNumber: e.string(),
|
|
2336
|
-
otp: e.string(),
|
|
2337
|
-
business: e.string(),
|
|
2338
|
-
type: Lr
|
|
2339
|
-
});
|
|
2340
|
-
e.object({
|
|
2341
|
-
provider: e.string(),
|
|
2342
|
-
oauthToken: e.string(),
|
|
2343
|
-
business: e.string()
|
|
2272
|
+
cardNo: e.string().optional()
|
|
2344
2273
|
});
|
|
2345
2274
|
e.object({
|
|
2346
2275
|
location: o,
|
|
2347
2276
|
memberId: o,
|
|
2348
|
-
nettTotal:
|
|
2277
|
+
nettTotal: L,
|
|
2349
2278
|
remark: e.string().optional()
|
|
2350
2279
|
});
|
|
2351
|
-
const
|
|
2280
|
+
const Or = e.enum(["COUNTER", "POS"]);
|
|
2352
2281
|
e.object({
|
|
2353
2282
|
id: e.string(),
|
|
2354
2283
|
userId: e.string(),
|
|
@@ -2359,9 +2288,9 @@ e.object({
|
|
|
2359
2288
|
level: e.number().nullish(),
|
|
2360
2289
|
mostPurchasedItems: e.array(e.string()).nullish()
|
|
2361
2290
|
});
|
|
2362
|
-
const
|
|
2291
|
+
const Mr = {
|
|
2363
2292
|
collectionName: "Bills"
|
|
2364
|
-
},
|
|
2293
|
+
}, xr = e.object({
|
|
2365
2294
|
_id: e.string(),
|
|
2366
2295
|
items: e.record(e.string(), e.number()).nullish(),
|
|
2367
2296
|
// business: z.string(),
|
|
@@ -2370,15 +2299,13 @@ const kr = {
|
|
|
2370
2299
|
user: e.string().nullish(),
|
|
2371
2300
|
memberid: e.string().nullish(),
|
|
2372
2301
|
// roundToNearest: z.number().nullish(),
|
|
2373
|
-
nettTotal:
|
|
2302
|
+
nettTotal: L,
|
|
2374
2303
|
// activeItems: z.array(z.string()),
|
|
2375
2304
|
remark: e.string().nullish(),
|
|
2376
2305
|
createdAt: e.coerce.date(),
|
|
2377
2306
|
completedAt: e.coerce.date(),
|
|
2378
|
-
refunded: e.boolean().nullish(),
|
|
2379
|
-
refundRecord: e.array(e.string()).nullish(),
|
|
2380
2307
|
location: e.string(),
|
|
2381
|
-
channel:
|
|
2308
|
+
channel: Or.optional()
|
|
2382
2309
|
}).transform((t) => ({
|
|
2383
2310
|
...t,
|
|
2384
2311
|
createdTime: t.createdAt,
|
|
@@ -2386,18 +2313,17 @@ const kr = {
|
|
|
2386
2313
|
get amount() {
|
|
2387
2314
|
return t.nettTotal.amount / 10 ** t.nettTotal.precision;
|
|
2388
2315
|
}
|
|
2389
|
-
})).describe(_.describe(
|
|
2316
|
+
})).describe(_.describe(Mr)), Dr = e.object({
|
|
2390
2317
|
_id: e.string(),
|
|
2391
2318
|
rating: e.coerce.number(),
|
|
2392
|
-
user: e.string(),
|
|
2319
|
+
user: e.string().optional(),
|
|
2393
2320
|
restaurant: e.string(),
|
|
2394
2321
|
message: e.string(),
|
|
2395
2322
|
submittedAt: e.coerce.date()
|
|
2396
|
-
}),
|
|
2323
|
+
}), m = e.enum([
|
|
2397
2324
|
"SIMPLE_CLAIM",
|
|
2398
2325
|
"LINK_CLAIM",
|
|
2399
2326
|
"BILL_COMPLETED",
|
|
2400
|
-
"BILL_REFUNDED",
|
|
2401
2327
|
"SCHEDULE",
|
|
2402
2328
|
"BIRTHDAY",
|
|
2403
2329
|
"FEEDBACK",
|
|
@@ -2412,7 +2338,7 @@ const kr = {
|
|
|
2412
2338
|
"REFERRAL_ADDED",
|
|
2413
2339
|
"MEMBER_IMPORTED",
|
|
2414
2340
|
"SEGMENTATION_IMPORTED"
|
|
2415
|
-
]),
|
|
2341
|
+
]), X0 = m.extract([
|
|
2416
2342
|
"BILL_COMPLETED",
|
|
2417
2343
|
"FEEDBACK",
|
|
2418
2344
|
"GAME_COMPLETED",
|
|
@@ -2425,197 +2351,190 @@ const kr = {
|
|
|
2425
2351
|
]);
|
|
2426
2352
|
e.enum(["START_OF", "BEFORE"]);
|
|
2427
2353
|
e.enum(["WEEK", "MONTH"]);
|
|
2428
|
-
const
|
|
2354
|
+
const Lr = e.enum([
|
|
2429
2355
|
"WAITING",
|
|
2430
2356
|
"ACTIVE",
|
|
2431
2357
|
"COMPLETED",
|
|
2432
2358
|
"FAILED"
|
|
2433
|
-
]),
|
|
2359
|
+
]), p = e.object({
|
|
2434
2360
|
// type: F_EVENT_TYPE,
|
|
2435
|
-
rule:
|
|
2436
|
-
}),
|
|
2437
|
-
type: e.literal(
|
|
2438
|
-
}),
|
|
2439
|
-
type: e.literal(
|
|
2440
|
-
}),
|
|
2441
|
-
type: e.literal(
|
|
2442
|
-
});
|
|
2443
|
-
|
|
2444
|
-
type: e.literal(
|
|
2361
|
+
rule: B.optional()
|
|
2362
|
+
}), wr = p.extend({
|
|
2363
|
+
type: e.literal(m.enum.BILL_COMPLETED)
|
|
2364
|
+
}), jr = p.extend({
|
|
2365
|
+
type: e.literal(m.enum.FEEDBACK)
|
|
2366
|
+
}), Br = p.extend({
|
|
2367
|
+
type: e.literal(m.enum.SIMPLE_CLAIM)
|
|
2368
|
+
});
|
|
2369
|
+
p.extend({
|
|
2370
|
+
type: e.literal(m.enum.ENTER_SEGMENT),
|
|
2445
2371
|
segment: e.string()
|
|
2446
2372
|
});
|
|
2447
|
-
const
|
|
2448
|
-
type: e.literal(
|
|
2449
|
-
}),
|
|
2450
|
-
type: e.literal(
|
|
2373
|
+
const Ur = p.extend({
|
|
2374
|
+
type: e.literal(m.enum.MEMBER_REWARD)
|
|
2375
|
+
}), Gr = p.extend({
|
|
2376
|
+
type: e.literal(m.enum.SCHEDULE)
|
|
2451
2377
|
// option: FdoCronRule,
|
|
2452
|
-
}),
|
|
2453
|
-
type: e.literal(
|
|
2454
|
-
}),
|
|
2455
|
-
type: e.literal(
|
|
2456
|
-
}),
|
|
2457
|
-
type: e.literal(
|
|
2458
|
-
}),
|
|
2459
|
-
type: e.literal(
|
|
2460
|
-
}),
|
|
2461
|
-
type: e.literal(
|
|
2462
|
-
});
|
|
2463
|
-
|
|
2464
|
-
type: e.literal(
|
|
2465
|
-
});
|
|
2466
|
-
|
|
2467
|
-
type: e.literal(
|
|
2468
|
-
});
|
|
2469
|
-
const
|
|
2470
|
-
|
|
2378
|
+
}), kr = p.extend({
|
|
2379
|
+
type: e.literal(m.enum.MEMBERSHIP_JOINED)
|
|
2380
|
+
}), Hr = p.extend({
|
|
2381
|
+
type: e.literal(m.enum.TIER_UPGRADED)
|
|
2382
|
+
}), Vr = p.extend({
|
|
2383
|
+
type: e.literal(m.enum.MAKING_ORDER)
|
|
2384
|
+
}), Kr = p.extend({
|
|
2385
|
+
type: e.literal(m.enum.ISSUE_REWARD)
|
|
2386
|
+
}), Wr = p.extend({
|
|
2387
|
+
type: e.literal(m.enum.GAME_COMPLETED)
|
|
2388
|
+
});
|
|
2389
|
+
p.extend({
|
|
2390
|
+
type: e.literal(m.enum.REFERRAL_ADDED)
|
|
2391
|
+
});
|
|
2392
|
+
p.extend({
|
|
2393
|
+
type: e.literal(m.enum.MEMBER_IMPORTED)
|
|
2394
|
+
});
|
|
2395
|
+
const zr = e.discriminatedUnion("type", [
|
|
2396
|
+
Br,
|
|
2397
|
+
wr,
|
|
2398
|
+
Gr,
|
|
2399
|
+
jr,
|
|
2400
|
+
kr,
|
|
2401
|
+
Hr,
|
|
2402
|
+
Vr,
|
|
2471
2403
|
Kr,
|
|
2472
|
-
|
|
2473
|
-
Wr
|
|
2474
|
-
Xr,
|
|
2475
|
-
Jr,
|
|
2476
|
-
Zr,
|
|
2477
|
-
Qr,
|
|
2478
|
-
Yr,
|
|
2479
|
-
e0
|
|
2404
|
+
Ur,
|
|
2405
|
+
Wr
|
|
2480
2406
|
]);
|
|
2481
2407
|
e.object({
|
|
2482
2408
|
_id: o,
|
|
2483
|
-
type:
|
|
2409
|
+
type: m,
|
|
2484
2410
|
ref: e.string(),
|
|
2485
|
-
status:
|
|
2411
|
+
status: Lr.optional(),
|
|
2486
2412
|
context: e.record(e.string(), e.any()).optional(),
|
|
2487
2413
|
failedReason: e.any().optional()
|
|
2488
2414
|
}).describe(JSON.stringify({ collectionName: "EventLogs" }));
|
|
2489
2415
|
const v = e.object({
|
|
2490
|
-
type:
|
|
2416
|
+
type: m,
|
|
2491
2417
|
context: e.any(),
|
|
2492
2418
|
businessIds: e.array(o).optional(),
|
|
2493
2419
|
campaignIds: e.array(o).optional(),
|
|
2494
2420
|
slackWebhookUrl: e.string().optional(),
|
|
2495
2421
|
emittedAt: e.coerce.date().default(/* @__PURE__ */ new Date())
|
|
2496
|
-
}),
|
|
2497
|
-
type: e.literal(
|
|
2498
|
-
context: e.object({
|
|
2499
|
-
bill: Pt,
|
|
2500
|
-
rawBill: e.any()
|
|
2501
|
-
})
|
|
2502
|
-
}), d0 = v.extend({
|
|
2503
|
-
type: e.literal(f.enum.BILL_REFUNDED),
|
|
2422
|
+
}), Yr = v.extend({
|
|
2423
|
+
type: e.literal(m.enum.BILL_COMPLETED),
|
|
2504
2424
|
context: e.object({
|
|
2505
|
-
bill:
|
|
2425
|
+
bill: xr,
|
|
2506
2426
|
rawBill: e.any()
|
|
2507
2427
|
})
|
|
2508
|
-
}),
|
|
2509
|
-
type: e.literal(
|
|
2428
|
+
}), qr = v.extend({
|
|
2429
|
+
type: e.literal(m.enum.SCHEDULE),
|
|
2510
2430
|
context: e.object({
|
|
2511
2431
|
triggeredAt: e.coerce.date()
|
|
2512
2432
|
})
|
|
2513
|
-
}),
|
|
2514
|
-
type: e.literal(
|
|
2433
|
+
}), Xr = v.extend({
|
|
2434
|
+
type: e.literal(m.enum.PAGINATE_SCHEDULE),
|
|
2515
2435
|
context: e.object({
|
|
2516
2436
|
triggeredAt: e.coerce.date(),
|
|
2517
2437
|
business: o,
|
|
2518
2438
|
skip: e.coerce.number(),
|
|
2519
2439
|
limit: e.coerce.number()
|
|
2520
2440
|
})
|
|
2521
|
-
}),
|
|
2522
|
-
type: e.literal(
|
|
2441
|
+
}), Jr = v.extend({
|
|
2442
|
+
type: e.literal(m.enum.FEEDBACK),
|
|
2523
2443
|
context: e.object({
|
|
2524
|
-
feedback:
|
|
2444
|
+
feedback: Dr
|
|
2525
2445
|
})
|
|
2526
|
-
}),
|
|
2527
|
-
type: e.literal(
|
|
2446
|
+
}), Zr = v.extend({
|
|
2447
|
+
type: e.literal(m.enum.MEMBERSHIP_JOINED),
|
|
2528
2448
|
context: e.object({
|
|
2529
|
-
user:
|
|
2449
|
+
user: se
|
|
2530
2450
|
})
|
|
2531
|
-
}),
|
|
2532
|
-
type: e.literal(
|
|
2451
|
+
}), Qr = v.extend({
|
|
2452
|
+
type: e.literal(m.enum.TIER_UPGRADED),
|
|
2533
2453
|
context: e.object({
|
|
2534
|
-
transaction:
|
|
2454
|
+
transaction: gt
|
|
2535
2455
|
})
|
|
2536
|
-
}),
|
|
2537
|
-
type: e.literal(
|
|
2456
|
+
}), e0 = v.extend({
|
|
2457
|
+
type: e.literal(m.enum.ISSUE_REWARD),
|
|
2538
2458
|
context: e.object({
|
|
2539
|
-
transaction:
|
|
2540
|
-
collection:
|
|
2459
|
+
transaction: gt,
|
|
2460
|
+
collection: te
|
|
2541
2461
|
})
|
|
2542
|
-
}),
|
|
2543
|
-
type: e.literal(
|
|
2462
|
+
}), t0 = v.extend({
|
|
2463
|
+
type: e.literal(m.enum.REFERRAL_ADDED),
|
|
2544
2464
|
context: e.object({
|
|
2545
|
-
user:
|
|
2465
|
+
user: se
|
|
2546
2466
|
})
|
|
2547
|
-
}),
|
|
2467
|
+
}), bt = e.object({
|
|
2548
2468
|
ref: o,
|
|
2549
2469
|
originalName: e.string(),
|
|
2550
2470
|
mimeType: e.string(),
|
|
2551
2471
|
size: e.number(),
|
|
2552
2472
|
fbFilePath: e.string(),
|
|
2553
2473
|
isFbFileDeleted: e.boolean().nullish()
|
|
2554
|
-
}),
|
|
2474
|
+
}), d0 = e.object({
|
|
2555
2475
|
resetCollectionExpiryBalance: e.boolean().nullish()
|
|
2556
|
-
}),
|
|
2557
|
-
type: e.literal(
|
|
2476
|
+
}), n0 = v.extend({
|
|
2477
|
+
type: e.literal(m.enum.MEMBER_IMPORTED),
|
|
2558
2478
|
context: e.object({
|
|
2559
2479
|
business: e.string(),
|
|
2560
|
-
file:
|
|
2561
|
-
config:
|
|
2480
|
+
file: bt,
|
|
2481
|
+
config: d0.optional()
|
|
2562
2482
|
})
|
|
2563
|
-
}),
|
|
2564
|
-
type: e.literal(
|
|
2483
|
+
}), r0 = v.extend({
|
|
2484
|
+
type: e.literal(m.enum.SEGMENTATION_IMPORTED),
|
|
2565
2485
|
context: e.object({
|
|
2566
2486
|
business: e.string(),
|
|
2567
2487
|
segment: e.string(),
|
|
2568
|
-
file:
|
|
2488
|
+
file: bt
|
|
2569
2489
|
})
|
|
2570
2490
|
});
|
|
2571
2491
|
e.discriminatedUnion("type", [
|
|
2492
|
+
Yr,
|
|
2493
|
+
qr,
|
|
2494
|
+
Jr,
|
|
2495
|
+
Zr,
|
|
2496
|
+
Qr,
|
|
2497
|
+
e0,
|
|
2498
|
+
Xr,
|
|
2499
|
+
t0,
|
|
2572
2500
|
n0,
|
|
2573
|
-
|
|
2574
|
-
r0,
|
|
2575
|
-
o0,
|
|
2576
|
-
a0,
|
|
2577
|
-
s0,
|
|
2578
|
-
$0,
|
|
2579
|
-
i0,
|
|
2580
|
-
l0,
|
|
2581
|
-
c0,
|
|
2582
|
-
m0
|
|
2501
|
+
r0
|
|
2583
2502
|
]);
|
|
2584
|
-
const
|
|
2503
|
+
const i0 = e.object({
|
|
2585
2504
|
from: e.coerce.number(),
|
|
2586
2505
|
to: e.coerce.number().optional()
|
|
2587
|
-
}).superRefine((t,
|
|
2588
|
-
t.from && t.to && t.from > t.to &&
|
|
2506
|
+
}).superRefine((t, d) => {
|
|
2507
|
+
t.from && t.to && t.from > t.to && d.addIssue({
|
|
2589
2508
|
code: "custom",
|
|
2590
2509
|
message: "Max experience must be more than min experience"
|
|
2591
2510
|
});
|
|
2592
|
-
}),
|
|
2511
|
+
}), o0 = e.enum(["MULTIPLIER", "FIXED"]);
|
|
2593
2512
|
e.object({
|
|
2594
|
-
type:
|
|
2513
|
+
type: o0
|
|
2595
2514
|
});
|
|
2596
|
-
const
|
|
2515
|
+
const a0 = e.object({
|
|
2597
2516
|
_id: o.optional(),
|
|
2598
|
-
rule:
|
|
2517
|
+
rule: B,
|
|
2599
2518
|
tierExpression: e.string().nullish(),
|
|
2600
2519
|
expExpression: e.string().nullish()
|
|
2601
|
-
}),
|
|
2520
|
+
}), Ie = e.object({
|
|
2602
2521
|
_id: o,
|
|
2603
2522
|
name: e.string().min(1),
|
|
2604
2523
|
image: e.string().nullish(),
|
|
2605
|
-
option:
|
|
2606
|
-
cycleOptions: e.array(e.lazy(() =>
|
|
2524
|
+
option: i0,
|
|
2525
|
+
cycleOptions: e.array(e.lazy(() => a0)).nullish(),
|
|
2607
2526
|
member_count: e.number().optional()
|
|
2608
2527
|
});
|
|
2609
|
-
|
|
2528
|
+
Ie.partial({
|
|
2610
2529
|
_id: !0
|
|
2611
2530
|
});
|
|
2612
|
-
const
|
|
2531
|
+
const J0 = Ie.partial({
|
|
2613
2532
|
_id: !0
|
|
2614
|
-
}),
|
|
2533
|
+
}), $0 = e.object({
|
|
2615
2534
|
icon: e.string(),
|
|
2616
2535
|
label: e.string(),
|
|
2617
2536
|
value: e.string()
|
|
2618
|
-
}),
|
|
2537
|
+
}), s0 = e.object({
|
|
2619
2538
|
gatewayKey: e.enum([
|
|
2620
2539
|
"REVENUE_MONSTER",
|
|
2621
2540
|
"FEEDME",
|
|
@@ -2637,100 +2556,100 @@ const s1 = Se.partial({
|
|
|
2637
2556
|
returnUrl: e.string().optional(),
|
|
2638
2557
|
notifyUrl: e.string().optional(),
|
|
2639
2558
|
url: e.string().optional(),
|
|
2640
|
-
channels: e.array(
|
|
2559
|
+
channels: e.array($0).optional(),
|
|
2641
2560
|
transactionId: e.string().optional()
|
|
2642
|
-
}),
|
|
2561
|
+
}), l0 = e.object({
|
|
2643
2562
|
url: e.string(),
|
|
2644
2563
|
transactionId: e.string()
|
|
2645
2564
|
});
|
|
2646
2565
|
e.object({
|
|
2647
|
-
trx: e.lazy(() =>
|
|
2648
|
-
onlineTrx:
|
|
2566
|
+
trx: e.lazy(() => Pt),
|
|
2567
|
+
onlineTrx: s0.optional().or(l0),
|
|
2649
2568
|
url: e.string().optional()
|
|
2650
2569
|
});
|
|
2651
2570
|
e.object({
|
|
2652
2571
|
remaining: e.number().nullish(),
|
|
2653
2572
|
isSoldOut: e.boolean()
|
|
2654
2573
|
});
|
|
2655
|
-
const
|
|
2574
|
+
const yt = e.enum(["POS", "APP", "ADMIN"]), _t = e.enum(["topupCount"]), u0 = e.object({
|
|
2656
2575
|
line1: e.string(),
|
|
2657
2576
|
line2: e.string().optional(),
|
|
2658
2577
|
state: e.string(),
|
|
2659
2578
|
city: e.string(),
|
|
2660
2579
|
postcode: e.string(),
|
|
2661
2580
|
country: e.string()
|
|
2662
|
-
}),
|
|
2581
|
+
}), Et = e.object({
|
|
2663
2582
|
name: e.string(),
|
|
2664
2583
|
regNo: e.string(),
|
|
2665
|
-
address:
|
|
2584
|
+
address: u0,
|
|
2666
2585
|
phoneNo: e.string(),
|
|
2667
2586
|
sstRegNo: e.string().optional()
|
|
2668
|
-
}),
|
|
2587
|
+
}), ht = e.object({
|
|
2669
2588
|
systemCode: e.string(),
|
|
2670
2589
|
inclusive: e.boolean()
|
|
2671
|
-
}),
|
|
2590
|
+
}), c0 = e.object({
|
|
2672
2591
|
id: o,
|
|
2673
2592
|
dayToExpire: e.number().max(9999, "Max expiry is 9999 days")
|
|
2674
|
-
}),
|
|
2593
|
+
}), f0 = e.object({
|
|
2675
2594
|
normal: e.coerce.number(),
|
|
2676
2595
|
free: e.object({
|
|
2677
2596
|
day: e.coerce.number(),
|
|
2678
2597
|
amount: e.coerce.number(),
|
|
2679
2598
|
remark: e.string().nullish()
|
|
2680
2599
|
}).nullish()
|
|
2681
|
-
}),
|
|
2600
|
+
}), m0 = e.object({
|
|
2682
2601
|
systemCode: e.string(),
|
|
2683
2602
|
taxCode: e.string()
|
|
2684
|
-
}),
|
|
2603
|
+
}), g0 = e.object({
|
|
2685
2604
|
name: e.string(),
|
|
2686
2605
|
systemCode: e.string(),
|
|
2687
2606
|
taxCode: e.string(),
|
|
2688
|
-
rate:
|
|
2689
|
-
total:
|
|
2607
|
+
rate: Kt,
|
|
2608
|
+
total: L
|
|
2690
2609
|
});
|
|
2691
2610
|
e.object({
|
|
2692
2611
|
canPurchase: e.boolean(),
|
|
2693
2612
|
reason: e.string()
|
|
2694
2613
|
});
|
|
2695
2614
|
e.object({
|
|
2696
|
-
type:
|
|
2615
|
+
type: _t
|
|
2697
2616
|
});
|
|
2698
2617
|
e.object({
|
|
2699
|
-
type:
|
|
2618
|
+
type: _t,
|
|
2700
2619
|
min: e.number().nullish(),
|
|
2701
2620
|
max: e.number().nullish()
|
|
2702
2621
|
});
|
|
2703
|
-
const
|
|
2622
|
+
const p0 = e.object({
|
|
2704
2623
|
options: e.object({
|
|
2705
2624
|
maxReceive: e.number().min(1).nullish(),
|
|
2706
2625
|
maxPerUser: e.number().min(1).nullish()
|
|
2707
2626
|
}),
|
|
2708
|
-
rule:
|
|
2709
|
-
}),
|
|
2710
|
-
const
|
|
2711
|
-
|
|
2627
|
+
rule: B.nullish()
|
|
2628
|
+
}), b0 = (t, d) => {
|
|
2629
|
+
const n = t;
|
|
2630
|
+
n.isFeedvibe && me.Dinero.fromFdoDinero(n.price).toUnit() < 1 && d.addIssue({
|
|
2712
2631
|
code: "custom",
|
|
2713
2632
|
path: ["price"],
|
|
2714
2633
|
message: "Price must be at least RM1"
|
|
2715
2634
|
});
|
|
2716
|
-
},
|
|
2635
|
+
}, vt = e.object({
|
|
2717
2636
|
_id: e.string(),
|
|
2718
2637
|
isFeedvibe: e.boolean().nullish(),
|
|
2719
2638
|
// conditions: z.array(FdoTopupCountCondition),
|
|
2720
2639
|
image: e.string().nullish(),
|
|
2721
|
-
rule:
|
|
2640
|
+
rule: B.nullish(),
|
|
2722
2641
|
name: e.string().min(1, "Name is required"),
|
|
2723
|
-
price:
|
|
2724
|
-
originalPrice:
|
|
2642
|
+
price: L,
|
|
2643
|
+
originalPrice: L.nullish(),
|
|
2725
2644
|
// new field to indicate coinPrice
|
|
2726
2645
|
coinPrice: e.number().nullish(),
|
|
2727
|
-
titles: e.array(
|
|
2728
|
-
credit:
|
|
2729
|
-
taxes: e.array(
|
|
2730
|
-
taxTotals: e.array(
|
|
2731
|
-
priceWithTaxes:
|
|
2646
|
+
titles: e.array(c0),
|
|
2647
|
+
credit: f0,
|
|
2648
|
+
taxes: e.array(m0),
|
|
2649
|
+
taxTotals: e.array(g0),
|
|
2650
|
+
priceWithTaxes: L.nullish(),
|
|
2732
2651
|
vouchers: e.array(o),
|
|
2733
|
-
_inclusiveTaxes: e.array(
|
|
2652
|
+
_inclusiveTaxes: e.array(ht).nullish(),
|
|
2734
2653
|
_taxSystem: e.array(e.string()).nullish(),
|
|
2735
2654
|
stripePriceId: e.string().nullish(),
|
|
2736
2655
|
subscriptionValidity: e.number().min(1, "Must be at least 1 day").max(365, "Maximum is 365").nullish(),
|
|
@@ -2739,93 +2658,93 @@ const R0 = e.object({
|
|
|
2739
2658
|
hideInPos: e.boolean().optional(),
|
|
2740
2659
|
// Distribution tracking: running counter of units purchased
|
|
2741
2660
|
distributed: e.coerce.number().optional(),
|
|
2742
|
-
config:
|
|
2661
|
+
config: p0.optional(),
|
|
2743
2662
|
pf_titles: e.array(e.any()).optional(),
|
|
2744
2663
|
pf_vouchers: e.array(e.any()).optional(),
|
|
2745
2664
|
pf_credit: e.number().optional()
|
|
2746
|
-
}).superRefine((t,
|
|
2747
|
-
var
|
|
2748
|
-
t.stripePriceId && !t.subscriptionValidity &&
|
|
2665
|
+
}).superRefine((t, d) => {
|
|
2666
|
+
var n, r;
|
|
2667
|
+
t.stripePriceId && !t.subscriptionValidity && d.addIssue({
|
|
2749
2668
|
code: "custom",
|
|
2750
2669
|
message: "Validity is required when stripePriceId is provided",
|
|
2751
2670
|
path: ["subscriptionValidity"]
|
|
2752
|
-
}), t.originalPrice && t.originalPrice.amount && t.originalPrice.amount < t.price.amount &&
|
|
2671
|
+
}), t.originalPrice && t.originalPrice.amount && t.originalPrice.amount < t.price.amount && d.addIssue({
|
|
2753
2672
|
code: "custom",
|
|
2754
2673
|
message: "Original price must be greater than price",
|
|
2755
2674
|
path: ["originalPrice"]
|
|
2756
|
-
}), t.price.amount < 0 &&
|
|
2675
|
+
}), t.price.amount < 0 && d.addIssue({
|
|
2757
2676
|
code: "custom",
|
|
2758
2677
|
path: ["price"],
|
|
2759
2678
|
message: "Price cannot be less than 0"
|
|
2760
|
-
}), t.coinPrice && t.coinPrice < 0 &&
|
|
2679
|
+
}), t.coinPrice && t.coinPrice < 0 && d.addIssue({
|
|
2761
2680
|
code: "custom",
|
|
2762
2681
|
path: ["coinPrice"],
|
|
2763
2682
|
message: "Point price cannot be less than 0"
|
|
2764
|
-
}), t.credit.normal < 0 &&
|
|
2683
|
+
}), t.credit.normal < 0 && d.addIssue({
|
|
2765
2684
|
code: "custom",
|
|
2766
2685
|
path: ["credit", "normal"],
|
|
2767
2686
|
message: "Normal credit cannot be less than 0"
|
|
2768
|
-
}), t.credit.free && (t.credit.free.amount < 0 &&
|
|
2687
|
+
}), t.credit.free && (t.credit.free.amount < 0 && d.addIssue({
|
|
2769
2688
|
code: "custom",
|
|
2770
2689
|
path: ["credit", "free", "amount"],
|
|
2771
2690
|
message: "Free credit cannot be less than 0"
|
|
2772
|
-
}), t.credit.free.amount && t.credit.free.day < 0 &&
|
|
2691
|
+
}), t.credit.free.amount && t.credit.free.day < 0 && d.addIssue({
|
|
2773
2692
|
code: "custom",
|
|
2774
2693
|
path: ["credit", "free", "day"],
|
|
2775
2694
|
message: "Expiry must be at least 0 (expire same day)"
|
|
2776
|
-
})), t.credit.normal && t.coinPrice &&
|
|
2695
|
+
})), t.credit.normal && t.coinPrice && d.addIssue({
|
|
2777
2696
|
code: "custom",
|
|
2778
2697
|
message: "Bundle redeem with point cannot set normal credit.",
|
|
2779
2698
|
path: ["credit", "normal"]
|
|
2780
|
-
}), t.credit.normal >
|
|
2699
|
+
}), t.credit.normal > me.Dinero.fromFdoDinero(t.price).toUnit() && d.addIssue({
|
|
2781
2700
|
code: "custom",
|
|
2782
|
-
message: `Normal credit cannot be more than price. Max: ${
|
|
2701
|
+
message: `Normal credit cannot be more than price. Max: ${me.Dinero.fromFdoDinero(
|
|
2783
2702
|
t.price
|
|
2784
2703
|
).toUnit()}`,
|
|
2785
2704
|
path: ["credit", "normal"]
|
|
2786
|
-
}), t.titles.length > 0 && t.titles.some((i) => i.dayToExpire < 0) &&
|
|
2705
|
+
}), t.titles.length > 0 && t.titles.some((i) => i.dayToExpire < 0) && d.addIssue({
|
|
2787
2706
|
code: "custom",
|
|
2788
2707
|
path: ["titles"],
|
|
2789
2708
|
message: "Title expiry must be at least 0 day (expire same day)"
|
|
2790
|
-
}), (((r = (
|
|
2709
|
+
}), (((r = (n = t.config) == null ? void 0 : n.options) == null ? void 0 : r.maxPerUser) || 0) < 0 && d.addIssue({
|
|
2791
2710
|
code: "custom",
|
|
2792
2711
|
path: ["config.options.maxPerUser"],
|
|
2793
2712
|
message: "Max purchase per user cannot be negative"
|
|
2794
2713
|
});
|
|
2795
|
-
}).superRefine(
|
|
2714
|
+
}).superRefine(b0), Ct = e.object({
|
|
2796
2715
|
name: e.string(),
|
|
2797
|
-
bundles: e.array(
|
|
2716
|
+
bundles: e.array(vt)
|
|
2798
2717
|
});
|
|
2799
2718
|
e.object({
|
|
2800
2719
|
_id: e.string(),
|
|
2801
2720
|
name: e.string(),
|
|
2802
2721
|
expiredAt: e.string()
|
|
2803
2722
|
});
|
|
2804
|
-
const
|
|
2723
|
+
const y0 = e.object({
|
|
2805
2724
|
apiKey: e.string(),
|
|
2806
2725
|
webhookSecret: e.string()
|
|
2807
|
-
}),
|
|
2808
|
-
company:
|
|
2809
|
-
inclusiveTaxes: e.array(
|
|
2810
|
-
stripe:
|
|
2811
|
-
}),
|
|
2726
|
+
}), _0 = e.object({
|
|
2727
|
+
company: Et.nullish(),
|
|
2728
|
+
inclusiveTaxes: e.array(ht).nullish(),
|
|
2729
|
+
stripe: y0.nullable().optional()
|
|
2730
|
+
}), E0 = {
|
|
2812
2731
|
collectionName: "Stores",
|
|
2813
2732
|
transform: {
|
|
2814
2733
|
_id: "oid",
|
|
2815
2734
|
business: "oid"
|
|
2816
2735
|
}
|
|
2817
2736
|
};
|
|
2818
|
-
|
|
2737
|
+
_0.extend({
|
|
2819
2738
|
_id: o,
|
|
2820
2739
|
business: o,
|
|
2821
|
-
categories: e.array(
|
|
2740
|
+
categories: e.array(Ct),
|
|
2822
2741
|
priorityBundleIds: e.array(e.string()).optional()
|
|
2823
|
-
}).describe(_.describe(
|
|
2824
|
-
const
|
|
2742
|
+
}).describe(_.describe(E0));
|
|
2743
|
+
const h0 = e.object({
|
|
2825
2744
|
refundedAt: e.coerce.date(),
|
|
2826
2745
|
reason: e.string(),
|
|
2827
2746
|
transactions: e.array(o)
|
|
2828
|
-
}),
|
|
2747
|
+
}), Fe = e.object({
|
|
2829
2748
|
type: e.enum([
|
|
2830
2749
|
"ONLINE",
|
|
2831
2750
|
"OFFLINE",
|
|
@@ -2838,7 +2757,7 @@ const T0 = e.object({
|
|
|
2838
2757
|
extra: e.string().nullish(),
|
|
2839
2758
|
gateway: e.string().nullish(),
|
|
2840
2759
|
method: e.string().nullish()
|
|
2841
|
-
}),
|
|
2760
|
+
}), v0 = {
|
|
2842
2761
|
collectionName: "StoreTransactions",
|
|
2843
2762
|
transform: {
|
|
2844
2763
|
_id: "oid",
|
|
@@ -2853,29 +2772,29 @@ const T0 = e.object({
|
|
|
2853
2772
|
as: "pf_member"
|
|
2854
2773
|
}
|
|
2855
2774
|
}
|
|
2856
|
-
},
|
|
2775
|
+
}, C0 = e.enum([
|
|
2857
2776
|
"PENDING_PAYMENT",
|
|
2858
2777
|
"PENDING_TRANSACTION",
|
|
2859
2778
|
"COMPLETED",
|
|
2860
2779
|
"REFUNDED",
|
|
2861
2780
|
"PAYMENT_EXPIRED",
|
|
2862
2781
|
"PAYMENT_CANCEL"
|
|
2863
|
-
]),
|
|
2782
|
+
]), Pt = e.object({
|
|
2864
2783
|
_id: o,
|
|
2865
|
-
source:
|
|
2784
|
+
source: yt,
|
|
2866
2785
|
// can be memberStorePurchase
|
|
2867
2786
|
ref: e.string(),
|
|
2868
2787
|
business: o,
|
|
2869
|
-
company:
|
|
2788
|
+
company: Et,
|
|
2870
2789
|
location: o.optional(),
|
|
2871
2790
|
member: o,
|
|
2872
2791
|
// createdAt: z.coerce.date(),
|
|
2873
|
-
bundle:
|
|
2792
|
+
bundle: vt,
|
|
2874
2793
|
transactions: e.array(o),
|
|
2875
2794
|
// array of transaction id (voucher, credit, title)
|
|
2876
|
-
status:
|
|
2877
|
-
refund:
|
|
2878
|
-
paymentType:
|
|
2795
|
+
status: C0,
|
|
2796
|
+
refund: h0.nullish(),
|
|
2797
|
+
paymentType: Fe.nullish(),
|
|
2879
2798
|
paymentRef: e.string().nullish(),
|
|
2880
2799
|
previousPaymentRefs: e.array(e.string()).optional(),
|
|
2881
2800
|
paymentUrl: e.string().optional(),
|
|
@@ -2886,16 +2805,16 @@ const T0 = e.object({
|
|
|
2886
2805
|
pf_member: e.any().optional(),
|
|
2887
2806
|
pf_location: e.any().optional(),
|
|
2888
2807
|
pf_ref: e.any().optional()
|
|
2889
|
-
}).describe(_.describe(
|
|
2808
|
+
}).describe(_.describe(v0));
|
|
2890
2809
|
e.object({
|
|
2891
2810
|
bundle: o,
|
|
2892
2811
|
member: e.string(),
|
|
2893
2812
|
ref: e.string(),
|
|
2894
|
-
paymentType:
|
|
2813
|
+
paymentType: Fe.nullish(),
|
|
2895
2814
|
withCoin: e.boolean().optional(),
|
|
2896
2815
|
card: e.string().optional(),
|
|
2897
2816
|
location: o.optional(),
|
|
2898
|
-
source:
|
|
2817
|
+
source: yt,
|
|
2899
2818
|
webhookUrl: e.string().optional(),
|
|
2900
2819
|
quantity: e.coerce.number().int().min(1).max(10).optional()
|
|
2901
2820
|
});
|
|
@@ -2904,10 +2823,10 @@ e.object({
|
|
|
2904
2823
|
});
|
|
2905
2824
|
e.object({
|
|
2906
2825
|
transactionId: e.string(),
|
|
2907
|
-
paymentType:
|
|
2826
|
+
paymentType: Fe
|
|
2908
2827
|
});
|
|
2909
2828
|
e.object({
|
|
2910
|
-
categories: e.array(
|
|
2829
|
+
categories: e.array(Ct)
|
|
2911
2830
|
});
|
|
2912
2831
|
e.object({
|
|
2913
2832
|
id: o,
|
|
@@ -2938,7 +2857,7 @@ e.object({
|
|
|
2938
2857
|
member: e.string(),
|
|
2939
2858
|
subscriptionId: e.string()
|
|
2940
2859
|
});
|
|
2941
|
-
const
|
|
2860
|
+
const P0 = {
|
|
2942
2861
|
collectionName: "Cards",
|
|
2943
2862
|
transform: {
|
|
2944
2863
|
_id: "oid",
|
|
@@ -2967,10 +2886,10 @@ e.object({
|
|
|
2967
2886
|
design: e.string().nullish(),
|
|
2968
2887
|
bundle: e.string().nullish(),
|
|
2969
2888
|
subscriptionBundle: e.string().nullish(),
|
|
2970
|
-
pf_member: e.lazy(() =>
|
|
2971
|
-
pf_transaction: e.lazy(() =>
|
|
2972
|
-
}).describe(_.describe(
|
|
2973
|
-
const
|
|
2889
|
+
pf_member: e.lazy(() => se).nullish(),
|
|
2890
|
+
pf_transaction: e.lazy(() => Pt).nullish()
|
|
2891
|
+
}).describe(_.describe(P0));
|
|
2892
|
+
const R0 = e.object({
|
|
2974
2893
|
length: e.coerce.number().optional(),
|
|
2975
2894
|
charset: e.string(),
|
|
2976
2895
|
prefix: e.string().optional(),
|
|
@@ -2980,108 +2899,107 @@ const x0 = e.object({
|
|
|
2980
2899
|
e.object({
|
|
2981
2900
|
quantity: e.number(),
|
|
2982
2901
|
code: e.string(),
|
|
2983
|
-
codeConfig:
|
|
2902
|
+
codeConfig: R0,
|
|
2984
2903
|
setCardOnBind: e.boolean().optional(),
|
|
2985
2904
|
design: e.string().nullish(),
|
|
2986
2905
|
bundle: e.string().optional(),
|
|
2987
2906
|
subscriptionBundle: e.string().optional()
|
|
2988
2907
|
});
|
|
2989
|
-
const
|
|
2990
|
-
channel:
|
|
2908
|
+
const N0 = e.enum(["SMS", "WHATSAPP", "EMAIL"]), G = e.object({
|
|
2909
|
+
channel: N0,
|
|
2991
2910
|
variables: e.array(e.string()),
|
|
2992
2911
|
title: e.string().nullish(),
|
|
2993
2912
|
design: e.any(),
|
|
2994
2913
|
content: e.string(),
|
|
2995
2914
|
language: e.string(),
|
|
2996
2915
|
imageUrl: e.string().nullish()
|
|
2997
|
-
}).superRefine((t,
|
|
2998
|
-
t.content.length == 0 &&
|
|
2916
|
+
}).superRefine((t, d) => {
|
|
2917
|
+
t.content.length == 0 && d.addIssue({
|
|
2999
2918
|
code: e.ZodIssueCode.custom,
|
|
3000
2919
|
message: "Content is required"
|
|
3001
2920
|
});
|
|
3002
|
-
const
|
|
3003
|
-
a.length &&
|
|
2921
|
+
const n = /{{(.*?)}}/g, r = [...t.content.matchAll(n)].map(($) => $[1]), i = t.variables, a = r.filter(($) => i.indexOf($) < 0);
|
|
2922
|
+
a.length && d.addIssue({
|
|
3004
2923
|
code: e.ZodIssueCode.custom,
|
|
3005
2924
|
message: "Invalid variable(s): " + a.join(", ")
|
|
3006
2925
|
});
|
|
3007
2926
|
});
|
|
3008
|
-
function
|
|
3009
|
-
return t.replace(/{{(.*?)}}/g, (
|
|
3010
|
-
const a = r.trim().split(".").reduce((s
|
|
3011
|
-
return a !== null ? a :
|
|
2927
|
+
function Z0(t, d) {
|
|
2928
|
+
return t.replace(/{{(.*?)}}/g, (n, r) => {
|
|
2929
|
+
const a = r.trim().split(".").reduce(($, s) => ($ != null ? $[s] : null) ?? null, d);
|
|
2930
|
+
return a !== null ? a : n;
|
|
3012
2931
|
});
|
|
3013
2932
|
}
|
|
3014
|
-
const
|
|
3015
|
-
type: e.literal(
|
|
2933
|
+
const Se = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), Ae = e.number().min(0, "Weight need to be at least 0"), Te = e.number().int("Must be integer").min(0, "Threshold need to be at least 0"), Rt = e.object({
|
|
2934
|
+
type: e.literal(Se.enum.NO_REWARD),
|
|
3016
2935
|
collectible: e.null(),
|
|
3017
|
-
weight:
|
|
3018
|
-
}),
|
|
3019
|
-
type: e.literal(
|
|
2936
|
+
weight: Ae
|
|
2937
|
+
}), Nt = e.object({
|
|
2938
|
+
type: e.literal(Se.enum.VOUCHER),
|
|
3020
2939
|
collectible: o,
|
|
3021
|
-
collectibleConfig: e.lazy(() =>
|
|
3022
|
-
earningOption: e.lazy(() =>
|
|
3023
|
-
}),
|
|
3024
|
-
type: e.literal(
|
|
2940
|
+
collectibleConfig: e.lazy(() => rt._def.right.options[0]),
|
|
2941
|
+
earningOption: e.lazy(() => T)
|
|
2942
|
+
}), le = e.object({
|
|
2943
|
+
type: e.literal(Se.enum.LOYALTY),
|
|
3025
2944
|
collectible: o,
|
|
3026
|
-
earningOption: e.lazy(() =>
|
|
3027
|
-
validityOption: e.lazy(() =>
|
|
3028
|
-
}),
|
|
3029
|
-
weight:
|
|
3030
|
-
}),
|
|
2945
|
+
earningOption: e.lazy(() => T),
|
|
2946
|
+
validityOption: e.lazy(() => qt)
|
|
2947
|
+
}), It = Nt.extend({
|
|
2948
|
+
weight: Ae
|
|
2949
|
+
}), Ft = le.extend({
|
|
3031
2950
|
weight: e.number().min(0, "Weight need to be at least 0")
|
|
3032
|
-
}),
|
|
3033
|
-
validityOption:
|
|
3034
|
-
weight:
|
|
3035
|
-
}),
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
]),
|
|
3040
|
-
|
|
2951
|
+
}), Q0 = le.extend({
|
|
2952
|
+
validityOption: it,
|
|
2953
|
+
weight: Ae
|
|
2954
|
+
}), I0 = e.discriminatedUnion("type", [
|
|
2955
|
+
It,
|
|
2956
|
+
Ft,
|
|
2957
|
+
Rt
|
|
2958
|
+
]), dt = e.discriminatedUnion("type", [
|
|
2959
|
+
It.extend({
|
|
3041
2960
|
collectible: o.nullish(),
|
|
3042
2961
|
business: o.nullish()
|
|
3043
2962
|
}),
|
|
3044
|
-
|
|
2963
|
+
Ft.extend({
|
|
3045
2964
|
collectible: o.nullish(),
|
|
3046
2965
|
business: o.nullish()
|
|
3047
2966
|
}),
|
|
3048
|
-
|
|
3049
|
-
]),
|
|
3050
|
-
threshold:
|
|
3051
|
-
}),
|
|
3052
|
-
threshold:
|
|
3053
|
-
}),
|
|
3054
|
-
validityOption:
|
|
3055
|
-
threshold:
|
|
3056
|
-
}),
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
]),
|
|
3060
|
-
|
|
2967
|
+
Rt
|
|
2968
|
+
]), St = Nt.extend({
|
|
2969
|
+
threshold: Te
|
|
2970
|
+
}), At = le.extend({
|
|
2971
|
+
threshold: Te
|
|
2972
|
+
}), e1 = le.extend({
|
|
2973
|
+
validityOption: it,
|
|
2974
|
+
threshold: Te
|
|
2975
|
+
}), Tt = e.discriminatedUnion("type", [
|
|
2976
|
+
St,
|
|
2977
|
+
At
|
|
2978
|
+
]), F0 = e.discriminatedUnion("type", [
|
|
2979
|
+
St.extend({
|
|
3061
2980
|
collectible: o.nullish(),
|
|
3062
2981
|
business: o.nullish()
|
|
3063
2982
|
}),
|
|
3064
|
-
|
|
2983
|
+
At.extend({
|
|
3065
2984
|
collectible: o.nullish(),
|
|
3066
|
-
collectibleConfig:
|
|
2985
|
+
collectibleConfig: rt.nullish(),
|
|
3067
2986
|
business: o.nullish()
|
|
3068
2987
|
})
|
|
3069
|
-
]),
|
|
2988
|
+
]), S0 = {
|
|
3070
2989
|
collectionName: "Locations",
|
|
3071
2990
|
transform: {
|
|
3072
2991
|
_id: "oid",
|
|
3073
2992
|
business: "oid"
|
|
3074
2993
|
}
|
|
3075
|
-
},
|
|
2994
|
+
}, Ot = e.object({
|
|
3076
2995
|
_id: o,
|
|
3077
2996
|
business: o,
|
|
3078
2997
|
name: e.string(),
|
|
3079
2998
|
code: e.string().nullish(),
|
|
3080
2999
|
otp: e.string().nullish(),
|
|
3081
3000
|
otpExpiredAt: e.coerce.date().nullish(),
|
|
3082
|
-
apiToken: e.string().nullish()
|
|
3083
|
-
|
|
3084
|
-
}).describe(_.describe(j0));
|
|
3001
|
+
apiToken: e.string().nullish()
|
|
3002
|
+
}).describe(_.describe(S0));
|
|
3085
3003
|
e.object({
|
|
3086
3004
|
_id: o,
|
|
3087
3005
|
name: e.string(),
|
|
@@ -3101,122 +3019,21 @@ e.object({
|
|
|
3101
3019
|
_id: e.string(),
|
|
3102
3020
|
name: e.string()
|
|
3103
3021
|
});
|
|
3104
|
-
const
|
|
3105
|
-
type:
|
|
3022
|
+
const A0 = e.enum(["PROGRESSIVE", "STAMP"]), T0 = e.object({
|
|
3023
|
+
type: A0,
|
|
3106
3024
|
end: e.number().int().min(0, "Threshold need to be at least 1"),
|
|
3107
|
-
rewards: e.array(e.lazy(() =>
|
|
3108
|
-
}).superRefine((t,
|
|
3109
|
-
t.type == "STAMP" && t.end > 40 && (
|
|
3025
|
+
rewards: e.array(e.lazy(() => Tt)).nullish()
|
|
3026
|
+
}).superRefine((t, d) => {
|
|
3027
|
+
t.type == "STAMP" && t.end > 40 && (d.addIssue({
|
|
3110
3028
|
code: "custom",
|
|
3111
3029
|
path: [],
|
|
3112
3030
|
message: "Stamp mission can have at most 40 threshold"
|
|
3113
|
-
}),
|
|
3031
|
+
}), d.addIssue({
|
|
3114
3032
|
code: "custom",
|
|
3115
3033
|
path: ["end"],
|
|
3116
3034
|
message: "Stamp mission can have at most 40 threshold"
|
|
3117
3035
|
}));
|
|
3118
|
-
}),
|
|
3119
|
-
totalCount: e.number().optional(),
|
|
3120
|
-
totalCountPerUser: e.number().optional()
|
|
3121
|
-
}), M = e.object({
|
|
3122
|
-
periods: e.array(
|
|
3123
|
-
e.object({
|
|
3124
|
-
startTime: e.string(),
|
|
3125
|
-
endTime: e.string()
|
|
3126
|
-
})
|
|
3127
|
-
)
|
|
3128
|
-
}), me = e.object({
|
|
3129
|
-
startTime: e.string(),
|
|
3130
|
-
// ISO 8601 date string
|
|
3131
|
-
endTime: e.string(),
|
|
3132
|
-
// ISO 8601 date string
|
|
3133
|
-
eaterType: e.enum(["all", "new", "existing"]),
|
|
3134
|
-
minBasketAmount: e.number().optional(),
|
|
3135
|
-
bundleQuantity: e.number().optional(),
|
|
3136
|
-
workingHour: e.object({
|
|
3137
|
-
mon: M.optional(),
|
|
3138
|
-
tue: M.optional(),
|
|
3139
|
-
wed: M.optional(),
|
|
3140
|
-
thu: M.optional(),
|
|
3141
|
-
fri: M.optional(),
|
|
3142
|
-
sat: M.optional(),
|
|
3143
|
-
sun: M.optional()
|
|
3144
|
-
}).optional()
|
|
3145
|
-
}), G0 = e.object({
|
|
3146
|
-
type: e.enum(["items", "category", "order"]),
|
|
3147
|
-
objectIDs: e.array(e.string()).optional()
|
|
3148
|
-
}), fe = e.object({
|
|
3149
|
-
type: e.enum([
|
|
3150
|
-
"net",
|
|
3151
|
-
// dollar off
|
|
3152
|
-
"percentage",
|
|
3153
|
-
// percentage off
|
|
3154
|
-
"bundleSameFixPrice",
|
|
3155
|
-
// bundle fix price (same item)
|
|
3156
|
-
"bundleDiffFixPrice",
|
|
3157
|
-
// bundle fix price (different items)
|
|
3158
|
-
"bundleSameNet",
|
|
3159
|
-
// bundle dollar off (same item)
|
|
3160
|
-
"bundleDiffNet",
|
|
3161
|
-
// bundle dollar off (different items)
|
|
3162
|
-
"bundleSamePercentage",
|
|
3163
|
-
// bundle percentage off (same item)
|
|
3164
|
-
"bundleDiffPercentage",
|
|
3165
|
-
// bundle percentage off (different items)
|
|
3166
|
-
"delivery",
|
|
3167
|
-
// delivery fee off
|
|
3168
|
-
"freeItem"
|
|
3169
|
-
// free item
|
|
3170
|
-
]),
|
|
3171
|
-
value: e.number(),
|
|
3172
|
-
cap: e.number().optional(),
|
|
3173
|
-
// for percentage off campaigns
|
|
3174
|
-
scope: G0
|
|
3175
|
-
});
|
|
3176
|
-
e.object({
|
|
3177
|
-
merchantID: e.string().optional(),
|
|
3178
|
-
name: e.string().max(256),
|
|
3179
|
-
quotas: ce.optional(),
|
|
3180
|
-
conditions: me,
|
|
3181
|
-
discount: fe,
|
|
3182
|
-
customTag: e.string().max(22).optional()
|
|
3183
|
-
});
|
|
3184
|
-
e.object({
|
|
3185
|
-
id: e.string()
|
|
3186
|
-
});
|
|
3187
|
-
e.object({
|
|
3188
|
-
merchantID: e.string().optional(),
|
|
3189
|
-
name: e.string().max(256).optional(),
|
|
3190
|
-
quotas: ce.optional(),
|
|
3191
|
-
conditions: me.optional(),
|
|
3192
|
-
discount: fe.optional(),
|
|
3193
|
-
customTag: e.string().max(22).optional()
|
|
3194
|
-
});
|
|
3195
|
-
const at = e.object({
|
|
3196
|
-
id: e.string(),
|
|
3197
|
-
merchantID: e.string(),
|
|
3198
|
-
name: e.string(),
|
|
3199
|
-
quotas: ce.optional(),
|
|
3200
|
-
conditions: me,
|
|
3201
|
-
discount: fe,
|
|
3202
|
-
customTag: e.string().optional(),
|
|
3203
|
-
status: e.enum(["ongoing", "upcoming", "expired", "cancelled"]).optional(),
|
|
3204
|
-
createdAt: e.string().optional(),
|
|
3205
|
-
updatedAt: e.string().optional()
|
|
3206
|
-
});
|
|
3207
|
-
e.object({
|
|
3208
|
-
ongoing: e.array(at),
|
|
3209
|
-
upcoming: e.array(at)
|
|
3210
|
-
});
|
|
3211
|
-
e.object({
|
|
3212
|
-
merchantID: e.string()
|
|
3213
|
-
});
|
|
3214
|
-
e.object({
|
|
3215
|
-
target: e.string(),
|
|
3216
|
-
reason: e.string(),
|
|
3217
|
-
message: e.string()
|
|
3218
|
-
});
|
|
3219
|
-
const k0 = {
|
|
3036
|
+
}), O0 = {
|
|
3220
3037
|
collectionName: "Groups",
|
|
3221
3038
|
transform: {
|
|
3222
3039
|
_id: "oid",
|
|
@@ -3234,34 +3051,33 @@ const k0 = {
|
|
|
3234
3051
|
foreignField: "group"
|
|
3235
3052
|
}
|
|
3236
3053
|
}
|
|
3237
|
-
},
|
|
3054
|
+
}, t1 = e.object({
|
|
3238
3055
|
_id: o,
|
|
3239
3056
|
name: e.string().min(1).max(300),
|
|
3240
3057
|
business: o,
|
|
3241
3058
|
pf_campaigns: e.array(e.any()).optional()
|
|
3242
|
-
}).describe(_.describe(
|
|
3059
|
+
}).describe(_.describe(O0)), M0 = e.object({
|
|
3243
3060
|
from: e.string().email().nullish(),
|
|
3244
3061
|
name: e.string().min(1).max(50).nullish()
|
|
3245
|
-
}),
|
|
3062
|
+
}), x0 = e.object({
|
|
3246
3063
|
_id: e.string(),
|
|
3247
3064
|
url: e.string(),
|
|
3248
3065
|
targetLocation: e.array(o).nullish(),
|
|
3249
3066
|
// null/empty = all locations
|
|
3250
3067
|
order: e.number().optional()
|
|
3251
|
-
}),
|
|
3252
|
-
type: e.literal(
|
|
3068
|
+
}), Mt = e.object({
|
|
3069
|
+
type: e.literal(nt.enum.MEMBERSHIP),
|
|
3253
3070
|
business: o,
|
|
3254
3071
|
name: e.string().min(1).max(50),
|
|
3255
3072
|
image: e.string().nullish(),
|
|
3256
3073
|
url: e.string().nullish(),
|
|
3257
|
-
tiers: e.array(e.lazy(() =>
|
|
3074
|
+
tiers: e.array(e.lazy(() => Ie)),
|
|
3258
3075
|
titles: e.array(o),
|
|
3259
3076
|
tierCycleEnable: e.boolean().optional(),
|
|
3260
|
-
tierCycle: e.lazy(() =>
|
|
3261
|
-
welcomeMessage:
|
|
3262
|
-
advertisements: e.union([e.array(e.string()), e.array(
|
|
3077
|
+
tierCycle: e.lazy(() => B).nullish(),
|
|
3078
|
+
welcomeMessage: G.optional(),
|
|
3079
|
+
advertisements: e.union([e.array(e.string()), e.array(x0)]).optional(),
|
|
3263
3080
|
cardEnable: e.boolean().optional(),
|
|
3264
|
-
autoRevertReward: e.boolean().optional(),
|
|
3265
3081
|
design: e.array(
|
|
3266
3082
|
e.object({
|
|
3267
3083
|
_id: o,
|
|
@@ -3270,10 +3086,10 @@ const k0 = {
|
|
|
3270
3086
|
).optional(),
|
|
3271
3087
|
targetLocation: e.array(o).nullish(),
|
|
3272
3088
|
brand: e.string().nullish(),
|
|
3273
|
-
email:
|
|
3089
|
+
email: M0.nullish(),
|
|
3274
3090
|
freeCreditAsDiscount: e.boolean().optional(),
|
|
3275
|
-
pf_title: e.array(e.lazy(() =>
|
|
3276
|
-
pf_targetLocation: e.array(e.lazy(() =>
|
|
3091
|
+
pf_title: e.array(e.lazy(() => x)).optional(),
|
|
3092
|
+
pf_targetLocation: e.array(e.lazy(() => Ot)).optional(),
|
|
3277
3093
|
allowedPhoneCountries: e.union([
|
|
3278
3094
|
e.array(e.string().regex(/^\+\d{1,4}$/)),
|
|
3279
3095
|
e.null()
|
|
@@ -3281,16 +3097,16 @@ const k0 = {
|
|
|
3281
3097
|
// new structure
|
|
3282
3098
|
group: e.string().nullish(),
|
|
3283
3099
|
templateId: o.nullish()
|
|
3284
|
-
}),
|
|
3100
|
+
}), f = nt.exclude(["MEMBERSHIP"]), F = e.object({
|
|
3285
3101
|
_id: o.nullish(),
|
|
3286
|
-
type:
|
|
3102
|
+
type: f,
|
|
3287
3103
|
// common information
|
|
3288
3104
|
business: o,
|
|
3289
3105
|
name: e.string().min(1).max(50),
|
|
3290
3106
|
image: e.string().nullish(),
|
|
3291
3107
|
description: e.string().max(500).nullish(),
|
|
3292
|
-
timeframeOptions:
|
|
3293
|
-
t.start && t.end && t.end < t.start &&
|
|
3108
|
+
timeframeOptions: Xt.superRefine((t, d) => {
|
|
3109
|
+
t.start && t.end && t.end < t.start && d.addIssue({
|
|
3294
3110
|
code: "custom",
|
|
3295
3111
|
path: [],
|
|
3296
3112
|
params: {
|
|
@@ -3299,16 +3115,16 @@ const k0 = {
|
|
|
3299
3115
|
});
|
|
3300
3116
|
}).nullish(),
|
|
3301
3117
|
targetLocation: e.array(o).nullish(),
|
|
3302
|
-
event:
|
|
3303
|
-
config:
|
|
3118
|
+
event: zr,
|
|
3119
|
+
config: re.nullish(),
|
|
3304
3120
|
currentReceive: e.coerce.number().optional(),
|
|
3305
3121
|
// new group structure
|
|
3306
3122
|
group: o.nullish(),
|
|
3307
3123
|
templateId: o.nullish(),
|
|
3308
|
-
pf_targetLocation: e.array(e.lazy(() =>
|
|
3124
|
+
pf_targetLocation: e.array(e.lazy(() => Ot)).optional(),
|
|
3309
3125
|
deletedAt: e.coerce.date().optional()
|
|
3310
|
-
}),
|
|
3311
|
-
[
|
|
3126
|
+
}), S = {
|
|
3127
|
+
[f.enum.VOUCHER]: [
|
|
3312
3128
|
"BILL_COMPLETED",
|
|
3313
3129
|
"FEEDBACK",
|
|
3314
3130
|
"MEMBERSHIP_JOINED",
|
|
@@ -3316,36 +3132,35 @@ const k0 = {
|
|
|
3316
3132
|
"SCHEDULE",
|
|
3317
3133
|
"SIMPLE_CLAIM"
|
|
3318
3134
|
],
|
|
3319
|
-
[
|
|
3320
|
-
[
|
|
3321
|
-
[c.enum.POINT]: [
|
|
3135
|
+
[f.enum.PROMOTION]: ["MAKING_ORDER"],
|
|
3136
|
+
[f.enum.POINT]: [
|
|
3322
3137
|
"BILL_COMPLETED",
|
|
3323
3138
|
"FEEDBACK",
|
|
3324
3139
|
"MEMBERSHIP_JOINED",
|
|
3325
3140
|
"TIER_UPGRADED",
|
|
3326
3141
|
"SCHEDULE"
|
|
3327
3142
|
],
|
|
3328
|
-
[
|
|
3143
|
+
[f.enum.CREDIT]: [
|
|
3329
3144
|
"BILL_COMPLETED",
|
|
3330
3145
|
"FEEDBACK",
|
|
3331
3146
|
"MEMBERSHIP_JOINED",
|
|
3332
3147
|
"TIER_UPGRADED",
|
|
3333
3148
|
"SCHEDULE"
|
|
3334
3149
|
],
|
|
3335
|
-
[
|
|
3150
|
+
[f.enum.BROADCAST]: [
|
|
3336
3151
|
"SCHEDULE",
|
|
3337
3152
|
"ISSUE_REWARD",
|
|
3338
3153
|
"FEEDBACK"
|
|
3339
3154
|
],
|
|
3340
|
-
[
|
|
3155
|
+
[f.enum.COIN]: [
|
|
3341
3156
|
"BILL_COMPLETED",
|
|
3342
3157
|
"FEEDBACK",
|
|
3343
3158
|
"MEMBERSHIP_JOINED",
|
|
3344
3159
|
"TIER_UPGRADED",
|
|
3345
3160
|
"SCHEDULE"
|
|
3346
3161
|
],
|
|
3347
|
-
[
|
|
3348
|
-
[
|
|
3162
|
+
[f.enum.REWARD_POOL]: ["GAME_COMPLETED"],
|
|
3163
|
+
[f.enum.GAME]: [
|
|
3349
3164
|
"BILL_COMPLETED",
|
|
3350
3165
|
"FEEDBACK",
|
|
3351
3166
|
"MEMBERSHIP_JOINED",
|
|
@@ -3353,45 +3168,45 @@ const k0 = {
|
|
|
3353
3168
|
"SCHEDULE",
|
|
3354
3169
|
"SIMPLE_CLAIM"
|
|
3355
3170
|
],
|
|
3356
|
-
[
|
|
3171
|
+
[f.enum.MISSION]: [
|
|
3357
3172
|
"BILL_COMPLETED",
|
|
3358
3173
|
"FEEDBACK",
|
|
3359
3174
|
"SCHEDULE"
|
|
3360
3175
|
]
|
|
3361
|
-
},
|
|
3362
|
-
type: e.literal(
|
|
3176
|
+
}, xt = F.extend({
|
|
3177
|
+
type: e.literal(f.enum.VOUCHER),
|
|
3363
3178
|
// event
|
|
3364
3179
|
code: e.string().min(0).max(15).regex(/^[A-Za-z0-9\-_.@]*$/, {
|
|
3365
3180
|
message: "Code can only contain letters, numbers, and - _ . @"
|
|
3366
3181
|
}).optional(),
|
|
3367
|
-
event:
|
|
3182
|
+
event: p.merge(
|
|
3368
3183
|
e.object({
|
|
3369
|
-
type: e.enum(
|
|
3184
|
+
type: e.enum(S[f.enum.VOUCHER])
|
|
3370
3185
|
})
|
|
3371
3186
|
),
|
|
3372
|
-
earningOption:
|
|
3187
|
+
earningOption: T.default({
|
|
3373
3188
|
amount: 1,
|
|
3374
3189
|
type: "FIXED"
|
|
3375
3190
|
}),
|
|
3376
3191
|
collectible: o,
|
|
3377
3192
|
hideInApp: e.boolean().optional(),
|
|
3378
3193
|
notify: e.boolean().optional(),
|
|
3379
|
-
notifyMessage: e.lazy(() =>
|
|
3194
|
+
notifyMessage: e.lazy(() => G).optional(),
|
|
3380
3195
|
notifyCampaign: o.nullish(),
|
|
3381
|
-
pf_collectible: e.lazy(() =>
|
|
3382
|
-
pf_notifyCampaign: e.lazy(() =>
|
|
3383
|
-
}),
|
|
3196
|
+
pf_collectible: e.lazy(() => x).optional(),
|
|
3197
|
+
pf_notifyCampaign: e.lazy(() => k).optional()
|
|
3198
|
+
}), D0 = e.object({
|
|
3384
3199
|
gameType: e.string()
|
|
3385
|
-
}),
|
|
3386
|
-
type: e.literal(
|
|
3200
|
+
}), Dt = F.extend({
|
|
3201
|
+
type: e.literal(f.enum.PROMOTION),
|
|
3387
3202
|
// event
|
|
3388
|
-
event:
|
|
3203
|
+
event: p.merge(
|
|
3389
3204
|
e.object({
|
|
3390
|
-
type: e.enum(
|
|
3205
|
+
type: e.enum(S[f.enum.PROMOTION])
|
|
3391
3206
|
})
|
|
3392
3207
|
),
|
|
3393
|
-
effect: e.custom().superRefine((t,
|
|
3394
|
-
t ||
|
|
3208
|
+
effect: e.custom().superRefine((t, d) => {
|
|
3209
|
+
t || d.addIssue({
|
|
3395
3210
|
code: "custom",
|
|
3396
3211
|
path: [],
|
|
3397
3212
|
params: {
|
|
@@ -3399,137 +3214,97 @@ const k0 = {
|
|
|
3399
3214
|
}
|
|
3400
3215
|
});
|
|
3401
3216
|
}),
|
|
3402
|
-
gameConfig:
|
|
3403
|
-
}),
|
|
3404
|
-
type: e.literal(
|
|
3217
|
+
gameConfig: D0.nullish()
|
|
3218
|
+
}), Lt = F.extend({
|
|
3219
|
+
type: e.literal(f.enum.POINT),
|
|
3405
3220
|
// event
|
|
3406
|
-
event:
|
|
3221
|
+
event: p.merge(
|
|
3407
3222
|
e.object({
|
|
3408
|
-
type: e.enum(
|
|
3223
|
+
type: e.enum(S[f.enum.POINT])
|
|
3409
3224
|
})
|
|
3410
3225
|
),
|
|
3411
|
-
earningOption:
|
|
3226
|
+
earningOption: T,
|
|
3412
3227
|
collectible: o,
|
|
3413
3228
|
notify: e.boolean().optional(),
|
|
3414
|
-
notifyMessage: e.lazy(() =>
|
|
3229
|
+
notifyMessage: e.lazy(() => G).optional(),
|
|
3415
3230
|
notifyCampaign: o.nullish(),
|
|
3416
|
-
pf_collectible: e.lazy(() =>
|
|
3417
|
-
pf_notifyCampaign: e.lazy(() =>
|
|
3418
|
-
}),
|
|
3419
|
-
type: e.literal(
|
|
3231
|
+
pf_collectible: e.lazy(() => x).optional(),
|
|
3232
|
+
pf_notifyCampaign: e.lazy(() => k).optional()
|
|
3233
|
+
}), wt = F.extend({
|
|
3234
|
+
type: e.literal(f.enum.CREDIT),
|
|
3420
3235
|
// event
|
|
3421
|
-
event:
|
|
3236
|
+
event: p.merge(
|
|
3422
3237
|
e.object({
|
|
3423
|
-
type: e.enum(
|
|
3238
|
+
type: e.enum(S[f.enum.CREDIT])
|
|
3424
3239
|
})
|
|
3425
3240
|
),
|
|
3426
|
-
earningOption:
|
|
3241
|
+
earningOption: T,
|
|
3427
3242
|
collectible: o,
|
|
3428
3243
|
notify: e.boolean().optional(),
|
|
3429
|
-
notifyMessage: e.lazy(() =>
|
|
3244
|
+
notifyMessage: e.lazy(() => G).optional(),
|
|
3430
3245
|
notifyCampaign: o.nullish(),
|
|
3431
|
-
pf_collectible: e.lazy(() =>
|
|
3432
|
-
pf_notifyCampaign: e.lazy(() =>
|
|
3433
|
-
}),
|
|
3434
|
-
type: e.literal(
|
|
3246
|
+
pf_collectible: e.lazy(() => x).optional(),
|
|
3247
|
+
pf_notifyCampaign: e.lazy(() => k).optional()
|
|
3248
|
+
}), k = F.extend({
|
|
3249
|
+
type: e.literal(f.enum.BROADCAST),
|
|
3435
3250
|
// event
|
|
3436
|
-
event:
|
|
3251
|
+
event: p.merge(
|
|
3437
3252
|
e.object({
|
|
3438
|
-
type: e.enum(
|
|
3253
|
+
type: e.enum(S[f.enum.BROADCAST])
|
|
3439
3254
|
})
|
|
3440
3255
|
),
|
|
3441
|
-
message:
|
|
3256
|
+
message: G,
|
|
3442
3257
|
linkedCampaign: o.nullish()
|
|
3443
|
-
}),
|
|
3444
|
-
type: e.literal(
|
|
3258
|
+
}), jt = F.extend({
|
|
3259
|
+
type: e.literal(f.enum.COIN),
|
|
3445
3260
|
// event
|
|
3446
|
-
event:
|
|
3261
|
+
event: p.merge(
|
|
3447
3262
|
e.object({
|
|
3448
|
-
type: e.enum(
|
|
3263
|
+
type: e.enum(S[f.enum.COIN])
|
|
3449
3264
|
})
|
|
3450
3265
|
),
|
|
3451
|
-
earningOption:
|
|
3266
|
+
earningOption: T,
|
|
3452
3267
|
collectible: o,
|
|
3453
3268
|
notify: e.boolean().optional(),
|
|
3454
|
-
notifyMessage: e.lazy(() =>
|
|
3269
|
+
notifyMessage: e.lazy(() => G).optional(),
|
|
3455
3270
|
notifyCampaign: o.nullish(),
|
|
3456
|
-
pf_collectible: e.lazy(() =>
|
|
3457
|
-
pf_notifyCampaign: e.lazy(() =>
|
|
3458
|
-
}), de =
|
|
3459
|
-
type: e.literal(
|
|
3271
|
+
pf_collectible: e.lazy(() => x).optional(),
|
|
3272
|
+
pf_notifyCampaign: e.lazy(() => k).optional()
|
|
3273
|
+
}), de = F.extend({
|
|
3274
|
+
type: e.literal(f.enum.REWARD_POOL),
|
|
3460
3275
|
// event
|
|
3461
|
-
event:
|
|
3276
|
+
event: p.merge(
|
|
3462
3277
|
e.object({
|
|
3463
|
-
type: e.enum(
|
|
3278
|
+
type: e.enum(S[f.enum.REWARD_POOL])
|
|
3464
3279
|
})
|
|
3465
3280
|
),
|
|
3466
|
-
rewards: e.array(e.lazy(() =>
|
|
3467
|
-
}),
|
|
3468
|
-
type: e.literal(
|
|
3281
|
+
rewards: e.array(e.lazy(() => I0)).min(1, "Requires at least 1 reward")
|
|
3282
|
+
}), Bt = F.extend({
|
|
3283
|
+
type: e.literal(f.enum.GAME),
|
|
3469
3284
|
// event
|
|
3470
|
-
event:
|
|
3285
|
+
event: p.merge(
|
|
3471
3286
|
e.object({
|
|
3472
|
-
type: e.enum(
|
|
3287
|
+
type: e.enum(S[f.enum.GAME])
|
|
3473
3288
|
})
|
|
3474
3289
|
),
|
|
3475
|
-
earningOption:
|
|
3290
|
+
earningOption: T,
|
|
3476
3291
|
collectible: o,
|
|
3477
3292
|
game: e.lazy(() => de).optional(),
|
|
3478
|
-
pf_collectible: e.lazy(() =>
|
|
3293
|
+
pf_collectible: e.lazy(() => x).optional(),
|
|
3479
3294
|
rewardPool: o.optional()
|
|
3480
|
-
}),
|
|
3481
|
-
type: e.literal(
|
|
3482
|
-
event:
|
|
3295
|
+
}), Ut = F.extend({
|
|
3296
|
+
type: e.literal(f.enum.MISSION),
|
|
3297
|
+
event: p.merge(
|
|
3483
3298
|
e.object({
|
|
3484
|
-
type: e.enum(
|
|
3299
|
+
type: e.enum(S[f.enum.MISSION])
|
|
3485
3300
|
})
|
|
3486
3301
|
),
|
|
3487
|
-
earningOption:
|
|
3302
|
+
earningOption: T,
|
|
3488
3303
|
collectible: o,
|
|
3489
|
-
pf_collectible: e.lazy(() =>
|
|
3490
|
-
mission: e.lazy(() =>
|
|
3491
|
-
rewards: e.array(e.lazy(() =>
|
|
3492
|
-
}),
|
|
3493
|
-
timeframeOptions: !0
|
|
3494
|
-
}).extend({
|
|
3495
|
-
type: e.literal(c.enum.GRAB),
|
|
3496
|
-
event: g.merge(
|
|
3497
|
-
e.object({
|
|
3498
|
-
type: e.enum(P[c.enum.GRAB])
|
|
3499
|
-
})
|
|
3500
|
-
),
|
|
3501
|
-
business: o,
|
|
3502
|
-
name: e.string().min(1).max(50),
|
|
3503
|
-
targetLocation: e.array(o).nullish(),
|
|
3504
|
-
group: e.string().nullish(),
|
|
3505
|
-
templateId: o.nullish(),
|
|
3506
|
-
// Grab specific fields
|
|
3507
|
-
conditions: me,
|
|
3508
|
-
quotas: ce,
|
|
3509
|
-
discount: fe,
|
|
3510
|
-
grabCampaignMeta: e.array(
|
|
3511
|
-
e.object({
|
|
3512
|
-
locationId: e.string(),
|
|
3513
|
-
campaignId: e.string()
|
|
3514
|
-
})
|
|
3515
|
-
).optional(),
|
|
3516
|
-
// Make timeframeOptions required (remove .nullish() from parent)
|
|
3517
|
-
timeframeOptions: ut.superRefine((t, n) => {
|
|
3518
|
-
(!t.start || !t.end) && n.addIssue({
|
|
3519
|
-
code: "custom",
|
|
3520
|
-
path: [],
|
|
3521
|
-
params: {
|
|
3522
|
-
i18n: { key: "timeframe.required" }
|
|
3523
|
-
}
|
|
3524
|
-
}), t.start && t.end && t.end < t.start && n.addIssue({
|
|
3525
|
-
code: "custom",
|
|
3526
|
-
path: [],
|
|
3527
|
-
params: {
|
|
3528
|
-
i18n: { key: "timeframe.end_before_start" }
|
|
3529
|
-
}
|
|
3530
|
-
});
|
|
3531
|
-
})
|
|
3532
|
-
}), W0 = {
|
|
3304
|
+
pf_collectible: e.lazy(() => x).optional(),
|
|
3305
|
+
mission: e.lazy(() => T0),
|
|
3306
|
+
rewards: e.array(e.lazy(() => Tt)).min(1, "Requires at least 1 reward")
|
|
3307
|
+
}), L0 = {
|
|
3533
3308
|
collectionName: "Campaigns",
|
|
3534
3309
|
transform: {
|
|
3535
3310
|
_id: "oid",
|
|
@@ -3571,58 +3346,54 @@ const k0 = {
|
|
|
3571
3346
|
as: "game"
|
|
3572
3347
|
}
|
|
3573
3348
|
}
|
|
3574
|
-
},
|
|
3349
|
+
}, d1 = e.object({ _id: o }).and(
|
|
3575
3350
|
e.discriminatedUnion("type", [
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3351
|
+
Mt,
|
|
3352
|
+
xt,
|
|
3353
|
+
Dt,
|
|
3354
|
+
Lt,
|
|
3355
|
+
wt,
|
|
3356
|
+
k,
|
|
3357
|
+
jt,
|
|
3583
3358
|
de,
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
qt
|
|
3359
|
+
Bt,
|
|
3360
|
+
Ut
|
|
3587
3361
|
])
|
|
3588
|
-
).describe(_.describe(
|
|
3589
|
-
|
|
3362
|
+
).describe(_.describe(L0)), n1 = e.discriminatedUnion("type", [
|
|
3363
|
+
xt.extend({
|
|
3590
3364
|
business: o.nullish()
|
|
3591
3365
|
}),
|
|
3592
|
-
|
|
3366
|
+
Dt.extend({
|
|
3593
3367
|
business: o.nullish()
|
|
3594
3368
|
}),
|
|
3595
|
-
|
|
3369
|
+
Lt.extend({
|
|
3596
3370
|
business: o.nullish()
|
|
3597
3371
|
}),
|
|
3598
|
-
|
|
3372
|
+
wt.extend({
|
|
3599
3373
|
business: o.nullish()
|
|
3600
3374
|
}),
|
|
3601
|
-
|
|
3375
|
+
k.extend({
|
|
3602
3376
|
business: o.nullish()
|
|
3603
3377
|
}),
|
|
3604
|
-
|
|
3378
|
+
jt.extend({
|
|
3605
3379
|
business: o.nullish()
|
|
3606
3380
|
}),
|
|
3607
3381
|
de.extend({
|
|
3608
|
-
rewards: e.array(e.lazy(() =>
|
|
3382
|
+
rewards: e.array(e.lazy(() => dt)).min(1, "Requires at least 1 reward")
|
|
3609
3383
|
}),
|
|
3610
|
-
|
|
3384
|
+
Bt.extend({
|
|
3611
3385
|
business: o.nullish(),
|
|
3612
3386
|
game: de.extend({
|
|
3613
3387
|
business: o.nullish(),
|
|
3614
|
-
rewards: e.array(e.lazy(() =>
|
|
3388
|
+
rewards: e.array(e.lazy(() => dt)).min(1, "Requires at least 1 reward")
|
|
3615
3389
|
})
|
|
3616
3390
|
}),
|
|
3617
|
-
|
|
3391
|
+
Ut.extend({
|
|
3618
3392
|
business: o.nullish(),
|
|
3619
|
-
rewards: e.array(e.lazy(() =>
|
|
3620
|
-
}),
|
|
3621
|
-
qt.extend({
|
|
3622
|
-
business: o.nullish()
|
|
3393
|
+
rewards: e.array(e.lazy(() => F0)).min(1, "Requires at least 1 reward")
|
|
3623
3394
|
})
|
|
3624
3395
|
]);
|
|
3625
|
-
|
|
3396
|
+
Mt.pick({
|
|
3626
3397
|
business: !0,
|
|
3627
3398
|
name: !0,
|
|
3628
3399
|
image: !0,
|
|
@@ -3630,7 +3401,7 @@ Gt.pick({
|
|
|
3630
3401
|
tiers: !0,
|
|
3631
3402
|
// titles: true,
|
|
3632
3403
|
cardEnable: !0,
|
|
3633
|
-
|
|
3404
|
+
design: !0,
|
|
3634
3405
|
targetLocation: !0,
|
|
3635
3406
|
brand: !0,
|
|
3636
3407
|
email: !0,
|
|
@@ -3639,46 +3410,44 @@ Gt.pick({
|
|
|
3639
3410
|
pf_title: !0,
|
|
3640
3411
|
pf_targetLocation: !0
|
|
3641
3412
|
}).extend({
|
|
3642
|
-
allowedPhoneCountryDetails: e.array(
|
|
3413
|
+
allowedPhoneCountryDetails: e.array(Wt).nullish()
|
|
3643
3414
|
});
|
|
3644
3415
|
export {
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
u1 as y,
|
|
3683
|
-
w0 as z
|
|
3416
|
+
F0 as A,
|
|
3417
|
+
T0 as B,
|
|
3418
|
+
gt as C,
|
|
3419
|
+
Z as D,
|
|
3420
|
+
te as E,
|
|
3421
|
+
J0 as F,
|
|
3422
|
+
zr as G,
|
|
3423
|
+
se as H,
|
|
3424
|
+
S as I,
|
|
3425
|
+
Z0 as J,
|
|
3426
|
+
Lr as K,
|
|
3427
|
+
f as a,
|
|
3428
|
+
Y0 as b,
|
|
3429
|
+
m as c,
|
|
3430
|
+
q0 as d,
|
|
3431
|
+
W0 as e,
|
|
3432
|
+
V0 as f,
|
|
3433
|
+
z0 as g,
|
|
3434
|
+
K0 as h,
|
|
3435
|
+
H0 as i,
|
|
3436
|
+
yr as j,
|
|
3437
|
+
k0 as k,
|
|
3438
|
+
d1 as l,
|
|
3439
|
+
X0 as m,
|
|
3440
|
+
_0 as n,
|
|
3441
|
+
Et as o,
|
|
3442
|
+
u0 as p,
|
|
3443
|
+
vt as q,
|
|
3444
|
+
yt as r,
|
|
3445
|
+
Cr as s,
|
|
3446
|
+
Mt as t,
|
|
3447
|
+
t1 as u,
|
|
3448
|
+
n1 as v,
|
|
3449
|
+
Q0 as w,
|
|
3450
|
+
dt as x,
|
|
3451
|
+
A0 as y,
|
|
3452
|
+
e1 as z
|
|
3684
3453
|
};
|