@feedmepos/mf-connect 0.1.76-prod → 0.1.78-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-Bu23TSdC.js → Analytic-CL8baBRg.js} +11 -11
- package/dist/{App-CFovt5At.js → App-DWrlRXyT.js} +7 -7
- package/dist/{Bin-BTZ0CGHi.js → Bin-B20xJPE8.js} +8 -8
- package/dist/{Broadcast-PLGxwGqd.js → Broadcast-CsWx4Tjg.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BP6EusQ_.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DOVdZArj.js} +6 -6
- package/dist/{Card-cHrKRkwH.js → Card-CmzFUSjw.js} +18 -18
- package/dist/{Collections-BdJKSLLq.js → Collections-CpSPvULL.js} +45 -44
- package/dist/{Credit-D1r1Sdes.js → Credit-De2OB_mb.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BB_rrikT.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DfTSheaL.js} +32 -32
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BXYIPABz.js → EffectSheet.vue_vue_type_style_index_0_lang-DB_5jfpv.js} +7 -7
- package/dist/{Experience-B8VHgHBW.js → Experience-CM8zEcnf.js} +8 -8
- package/dist/{Game-DUuF8FZi.js → Game-BFnuEizX.js} +9 -9
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-BC0iTIpa.js → ImageInput.vue_vue_type_script_setup_true_lang-dsv7e6yU.js} +1 -1
- package/dist/{Index-D-kF-r95.js → Index-Bwq85y08.js} +10 -10
- package/dist/{Marketing-MM2XT5Ks.js → Marketing-D5TlEj1P.js} +6 -6
- package/dist/{Member-JePEKywx.js → Member-cbimfDJJ.js} +10 -10
- package/dist/{MemberList-Doz8RzJr.js → MemberList-Avzr02qO.js} +25 -25
- package/dist/{MemberTransactions-D3r1Shfr.js → MemberTransactions-DqHNVh2M.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Blvhn8Ve.js → MessageInput.vue_vue_type_script_setup_true_lang-DqfdpUU1.js} +8 -8
- package/dist/{Mission-Adf3hE_Q.js → Mission-BxDEA9_O.js} +9 -9
- package/dist/{Overview-D9C_ngcE.js → Overview-CDwxgoq4.js} +19 -19
- package/dist/{Point-C7YytfWh.js → Point-BGp2yObl.js} +8 -8
- package/dist/{Promotion-DLKzm-Zt.js → Promotion-BtLwPnQY.js} +9 -9
- package/dist/{Queue-BzJkaeos.js → Queue-B5yc52Fi.js} +10 -10
- package/dist/{Record-E366_Z-I.js → Record-BTJZQMcE.js} +8 -8
- package/dist/{Reward-DRqDZR_W.js → Reward-DE1IdQQP.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-mk13fdhG.js → RewardGroup.vue_vue_type_script_setup_true_lang-B5nesYsF.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CT4L602f.js → RuleGroup.vue_vue_type_script_setup_true_lang-8YjhVXHc.js} +15 -15
- package/dist/{Segment-CMBQY0Ew.js → Segment-DTL-cydj.js} +23 -23
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BJwqnJ5q.js → SelectItems.vue_vue_type_script_setup_true_lang-BhdZvJ23.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-ysfMGi60.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-BVD0BK7h.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DJmqtpet.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CFtgb1Xx.js} +3 -3
- package/dist/{Setting-Difs2QM2.js → Setting-DCSefbch.js} +14 -14
- package/dist/{SettingAdvertisements-nCOD94KT.js → SettingAdvertisements-B68GHFPu.js} +12 -12
- package/dist/{Store-Corm7ovM.js → Store-C5HUNrCL.js} +650 -638
- package/dist/StoreRewards-DQ3MPr5_.js +535 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DvZnfko7.js → StoreTransactions.vue_vue_type_script_setup_true_lang-fziZvSAu.js} +19 -19
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Ciy_Y3pw.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-IGFIBJK-.js} +1 -1
- package/dist/{Tier-CdG8b5i7.js → Tier-B2wfH7ov.js} +21 -21
- package/dist/{Title-HDBW1XJy.js → Title-DA02V_tW.js} +20 -20
- package/dist/{Transaction-BTdCgUTW.js → Transaction-Bcjy-XpL.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BKAixX5Q.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B01EVKWa.js} +6 -6
- package/dist/{Voucher-DXxlsMqy.js → Voucher-CMvRFukk.js} +12 -12
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-IggVStfo.js → VoucherEditor.vue_vue_type_script_setup_true_lang-hDw2GonS.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DvZJ4o-A.js → ZodTextField.vue_vue_type_script_setup_true_lang-C0SNLaTT.js} +2 -2
- package/dist/{app-BV-w2LiQ.js → app-BnwvaUjf.js} +34 -32
- package/dist/{app-XylQ73N9.js → app-Clc_fxr7.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-CmK1Bgrl.js → business-DTs1RVwW.js} +1 -1
- package/dist/{campaign-BbeHkY_g.js → campaign-C-YI6eUZ.js} +1 -1
- package/dist/{campaign-B0Iu64XS.js → campaign-hjsuW70h.js} +8 -8
- package/dist/{campaign.enum-BTyjcgl5.js → campaign.enum-Y8uH9B1N.js} +1 -1
- package/dist/{campaign.fn-BRylLZN8.js → campaign.fn-CjOxPWB4.js} +32 -32
- package/dist/{collectible.enum-BaMwAovj.js → collectible.enum-FI842Eg_.js} +1 -1
- package/dist/{collection.fn-DMKcRR3s.js → collection.fn-tkZ2Jz5q.js} +2 -2
- package/dist/{dto-DWD2z5aU.js → dto-jHPSXkpQ.js} +4 -4
- package/dist/{effect-BXFkVwFt.js → effect--khp0-Dk.js} +1 -1
- package/dist/{email-addresses-CM4YhQKU.js → email-addresses-kh0JimeA.js} +1 -1
- package/dist/{export-CIH5GPPA.js → export-BpAjk801.js} +3 -3
- package/dist/{helper-Dfi5KBsu.js → helper-DrhEQHwq.js} +22 -7
- package/dist/{index-CmCHMjjj.js → index-BL3Mdvlf.js} +1 -1
- package/dist/{index-B-EJxIcf.js → index-BZrppr8k.js} +1561 -1561
- package/dist/{index-Bv3V6gFA.js → index-BmYRSyFJ.js} +6 -6
- package/dist/{index-BijInYgP.js → index-BzMFc1TL.js} +1 -1
- package/dist/{index-Cb-dmYUO.js → index-CEkk23PR.js} +1 -1
- package/dist/{index-CuYPD6KT.js → index-CjfLezA2.js} +1 -1
- package/dist/{index-CGurwPv7.js → index-D8UahMhD.js} +1 -1
- package/dist/{index-tBQVmdqJ.js → index-DUYZ2HiI.js} +1384 -1381
- package/dist/{index-DllrUMlF.js → index-Dd3r1_0V.js} +3 -3
- package/dist/{index-BMuFXYr-.js → index-DlasG3H0.js} +1 -1
- package/dist/{index-DgpNkwMC.js → index-DnyXvYsb.js} +1160 -1138
- package/dist/{index-DK5SOeWG.js → index-DuHxOBvZ.js} +3 -3
- package/dist/{index-D3EuM03E.js → index-FsB799qA.js} +1 -1
- package/dist/{index.esm2017-DaQYdqzn.js → index.esm2017-DmPf2cMZ.js} +1 -1
- package/dist/{loading-CqksxFrY.js → loading-Cce2O21E.js} +1 -1
- package/dist/{membership-DldR-rE4.js → membership-DWmspoXh.js} +3 -3
- package/dist/{money-DF9CHClT.js → money-Car_1Uu5.js} +1 -1
- package/dist/{number-BAUERN5R.js → number-BKqKRPst.js} +1 -1
- package/dist/objectid-BJMlT5vf.js +145 -0
- package/dist/{plugins-D_xP2_oh.js → plugins-DgQI-VM9.js} +3 -3
- package/dist/{reward-C_GBKqJ2.js → reward-CyDdQ3f1.js} +1 -1
- package/dist/{rule-DSqtOvSH.js → rule-AVx2VM_m.js} +3 -3
- package/dist/{rule-builder-BkLQ-LDJ.js → rule-builder-7H09UHwS.js} +1 -1
- package/dist/{template-CSnoZfH8.js → template-F0LbthP3.js} +5 -5
- package/dist/{timezone-BEtLA-7y.js → timezone-COLE0Gi_.js} +1 -1
- package/dist/{trigger-CHDwsOgx.js → trigger-CTSMJ35x.js} +5 -5
- package/dist/{user-BqlOvZQu.js → user-BQBOVBfW.js} +1 -1
- package/dist/{vue-i18n-1NETuk_J.js → vue-i18n-CN5hOv3f.js} +217 -217
- package/dist/{xlsx-CMa9ngC1.js → xlsx-RGAf1V3W.js} +1 -1
- package/dist/{zod-DuLxE9Yg.js → zod-DsTnqHJG.js} +1 -1
- package/package.json +1 -1
- package/dist/StoreRewards-Dd9giWnX.js +0 -423
- package/dist/objectid-D8KxKrZP.js +0 -145
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { z as
|
|
2
|
-
import { F as
|
|
3
|
-
import { c as M, i as Dd, j as Ld, k as Z, F as
|
|
4
|
-
import { F as
|
|
1
|
+
import { z as e, F as o, m as b, a as T, b as Md, c as Pe } from "./index-BZrppr8k.js";
|
|
2
|
+
import { F as We } from "./campaign.enum-Y8uH9B1N.js";
|
|
3
|
+
import { c as M, i as Dd, j as Ld, k as Z, F as ze, e as F, g as wd, f as Ye, l as R, m as jd } from "./index-DUYZ2HiI.js";
|
|
4
|
+
import { F as Xe } from "./collectible.enum-FI842Eg_.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
const Bd = { 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 Ud(
|
|
7
|
+
function Ud(d, t) {
|
|
8
8
|
var n = Array.prototype.slice.call(t);
|
|
9
|
-
return n.push(Bd),
|
|
9
|
+
return n.push(Bd), d.apply(this, n);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
for (var n =
|
|
11
|
+
function ve(d, t) {
|
|
12
|
+
d = d.split("-"), t = t.split("-");
|
|
13
|
+
for (var n = d[0].split("."), r = t[0].split("."), i = 0; i < 3; i++) {
|
|
14
14
|
var a = Number(n[i]), $ = Number(r[i]);
|
|
15
15
|
if (a > $) return 1;
|
|
16
16
|
if ($ > a) return -1;
|
|
17
17
|
if (!isNaN(a) && isNaN($)) return 1;
|
|
18
18
|
if (isNaN(a) && !isNaN($)) return -1;
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return d[1] && t[1] ? d[1] > t[1] ? 1 : d[1] < t[1] ? -1 : 0 : !d[1] && t[1] ? 1 : d[1] && !t[1] ? -1 : 0;
|
|
21
21
|
}
|
|
22
22
|
var Gd = {}.constructor;
|
|
23
|
-
function S(
|
|
24
|
-
return
|
|
23
|
+
function S(d) {
|
|
24
|
+
return d != null && d.constructor === Gd;
|
|
25
25
|
}
|
|
26
|
-
function x(
|
|
26
|
+
function x(d) {
|
|
27
27
|
"@babel/helpers - typeof";
|
|
28
28
|
return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
29
29
|
return typeof t;
|
|
30
30
|
} : function(t) {
|
|
31
31
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
32
|
-
}, x(
|
|
32
|
+
}, x(d);
|
|
33
33
|
}
|
|
34
|
-
function J(
|
|
35
|
-
if (!(
|
|
34
|
+
function J(d, t) {
|
|
35
|
+
if (!(d instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
36
36
|
}
|
|
37
|
-
function kd(
|
|
37
|
+
function kd(d, t) {
|
|
38
38
|
for (var n = 0; n < t.length; n++) {
|
|
39
39
|
var r = t[n];
|
|
40
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(
|
|
40
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, Hd(r.key), r);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function q(
|
|
44
|
-
return t && kd(
|
|
43
|
+
function q(d, t, n) {
|
|
44
|
+
return t && kd(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
|
45
45
|
}
|
|
46
|
-
function Hd(
|
|
47
|
-
var t = Vd(
|
|
46
|
+
function Hd(d) {
|
|
47
|
+
var t = Vd(d, "string");
|
|
48
48
|
return x(t) == "symbol" ? t : t + "";
|
|
49
49
|
}
|
|
50
|
-
function Vd(
|
|
51
|
-
if (x(
|
|
52
|
-
var n =
|
|
50
|
+
function Vd(d, t) {
|
|
51
|
+
if (x(d) != "object" || !d) return d;
|
|
52
|
+
var n = d[Symbol.toPrimitive];
|
|
53
53
|
if (n !== void 0) {
|
|
54
|
-
var r = n.call(
|
|
54
|
+
var r = n.call(d, t);
|
|
55
55
|
if (x(r) != "object") return r;
|
|
56
56
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
57
57
|
}
|
|
58
|
-
return String(
|
|
58
|
+
return String(d);
|
|
59
59
|
}
|
|
60
|
-
var Kd = "1.2.0", Wd = "1.7.35",
|
|
61
|
-
function
|
|
62
|
-
J(this,
|
|
60
|
+
var Kd = "1.2.0", Wd = "1.7.35", _e = " ext. ", zd = /^\d+$/, g = /* @__PURE__ */ function() {
|
|
61
|
+
function d(t) {
|
|
62
|
+
J(this, d), Ze(t), this.metadata = t, Je.call(this, t);
|
|
63
63
|
}
|
|
64
|
-
return q(
|
|
64
|
+
return q(d, [{
|
|
65
65
|
key: "getCountries",
|
|
66
66
|
value: function() {
|
|
67
67
|
return Object.keys(this.metadata.countries).filter(function(n) {
|
|
@@ -115,11 +115,11 @@ var Kd = "1.2.0", Wd = "1.7.35", ve = " ext. ", zd = /^\d+$/, g = /* @__PURE__ *
|
|
|
115
115
|
if (n && zd.test(n) && (r = n, n = null), n && n !== "001") {
|
|
116
116
|
if (!this.hasCountry(n))
|
|
117
117
|
throw new Error("Unknown country: ".concat(n));
|
|
118
|
-
this.numberingPlan = new
|
|
118
|
+
this.numberingPlan = new Ne(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 Ne(this.getNumberingPlanMetadata(r), this);
|
|
123
123
|
} else
|
|
124
124
|
this.numberingPlan = void 0;
|
|
125
125
|
return this;
|
|
@@ -243,11 +243,11 @@ var Kd = "1.2.0", Wd = "1.7.35", ve = " ext. ", zd = /^\d+$/, g = /* @__PURE__ *
|
|
|
243
243
|
return this.numberingPlan !== void 0;
|
|
244
244
|
}
|
|
245
245
|
}]);
|
|
246
|
-
}(),
|
|
247
|
-
function
|
|
248
|
-
J(this,
|
|
246
|
+
}(), Ne = /* @__PURE__ */ function() {
|
|
247
|
+
function d(t, n) {
|
|
248
|
+
J(this, d), this.globalMetadataObject = n, this.metadata = t, Je.call(this, n.metadata);
|
|
249
249
|
}
|
|
250
|
-
return q(
|
|
250
|
+
return q(d, [{
|
|
251
251
|
key: "callingCode",
|
|
252
252
|
value: function() {
|
|
253
253
|
return this.metadata[0];
|
|
@@ -370,20 +370,20 @@ var Kd = "1.2.0", Wd = "1.7.35", ve = " ext. ", zd = /^\d+$/, g = /* @__PURE__ *
|
|
|
370
370
|
}, {
|
|
371
371
|
key: "type",
|
|
372
372
|
value: function(n) {
|
|
373
|
-
if (this.hasTypes() &&
|
|
374
|
-
return new Zd(
|
|
373
|
+
if (this.hasTypes() && Ie(this.types(), n))
|
|
374
|
+
return new Zd(Ie(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 ? _e : this.metadata[13] || _e;
|
|
380
380
|
}
|
|
381
381
|
}]);
|
|
382
382
|
}(), Yd = /* @__PURE__ */ function() {
|
|
383
|
-
function
|
|
384
|
-
J(this,
|
|
383
|
+
function d(t, n) {
|
|
384
|
+
J(this, d), this._format = t, this.metadata = n;
|
|
385
385
|
}
|
|
386
|
-
return q(
|
|
386
|
+
return q(d, [{
|
|
387
387
|
key: "pattern",
|
|
388
388
|
value: function() {
|
|
389
389
|
return this._format[0];
|
|
@@ -427,10 +427,10 @@ var Kd = "1.2.0", Wd = "1.7.35", ve = " ext. ", zd = /^\d+$/, g = /* @__PURE__ *
|
|
|
427
427
|
}
|
|
428
428
|
}]);
|
|
429
429
|
}(), Xd = /^\(?\$1\)?$/, Zd = /* @__PURE__ */ function() {
|
|
430
|
-
function
|
|
431
|
-
J(this,
|
|
430
|
+
function d(t, n) {
|
|
431
|
+
J(this, d), this.type = t, this.metadata = n;
|
|
432
432
|
}
|
|
433
|
-
return q(
|
|
433
|
+
return q(d, [{
|
|
434
434
|
key: "pattern",
|
|
435
435
|
value: function() {
|
|
436
436
|
return this.metadata.v1 ? this.type : this.type[0];
|
|
@@ -443,127 +443,127 @@ var Kd = "1.2.0", Wd = "1.7.35", ve = " ext. ", zd = /^\d+$/, g = /* @__PURE__ *
|
|
|
443
443
|
}
|
|
444
444
|
}]);
|
|
445
445
|
}();
|
|
446
|
-
function
|
|
446
|
+
function Ie(d, t) {
|
|
447
447
|
switch (t) {
|
|
448
448
|
case "FIXED_LINE":
|
|
449
|
-
return
|
|
449
|
+
return d[0];
|
|
450
450
|
case "MOBILE":
|
|
451
|
-
return
|
|
451
|
+
return d[1];
|
|
452
452
|
case "TOLL_FREE":
|
|
453
|
-
return
|
|
453
|
+
return d[2];
|
|
454
454
|
case "PREMIUM_RATE":
|
|
455
|
-
return
|
|
455
|
+
return d[3];
|
|
456
456
|
case "PERSONAL_NUMBER":
|
|
457
|
-
return
|
|
457
|
+
return d[4];
|
|
458
458
|
case "VOICEMAIL":
|
|
459
|
-
return
|
|
459
|
+
return d[5];
|
|
460
460
|
case "UAN":
|
|
461
|
-
return
|
|
461
|
+
return d[6];
|
|
462
462
|
case "PAGER":
|
|
463
|
-
return
|
|
463
|
+
return d[7];
|
|
464
464
|
case "VOIP":
|
|
465
|
-
return
|
|
465
|
+
return d[8];
|
|
466
466
|
case "SHARED_COST":
|
|
467
|
-
return
|
|
467
|
+
return d[9];
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
471
|
-
if (!
|
|
470
|
+
function Ze(d) {
|
|
471
|
+
if (!d)
|
|
472
472
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
473
|
-
if (!S(
|
|
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(S(
|
|
473
|
+
if (!S(d) || !S(d.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(S(d) ? "an object of shape: { " + Object.keys(d).join(", ") + " }" : "a " + Jd(d) + ": " + d, "."));
|
|
475
475
|
}
|
|
476
476
|
var Jd = function(t) {
|
|
477
477
|
return x(t);
|
|
478
478
|
};
|
|
479
|
-
function
|
|
480
|
-
if (t = new g(t), t.hasCountry(
|
|
481
|
-
return t.selectNumberingPlan(
|
|
482
|
-
throw new Error("Unknown country: ".concat(
|
|
479
|
+
function le(d, t) {
|
|
480
|
+
if (t = new g(t), t.hasCountry(d))
|
|
481
|
+
return t.selectNumberingPlan(d).countryCallingCode();
|
|
482
|
+
throw new Error("Unknown country: ".concat(d));
|
|
483
483
|
}
|
|
484
|
-
function qd(
|
|
485
|
-
return t.countries.hasOwnProperty(
|
|
484
|
+
function qd(d, t) {
|
|
485
|
+
return t.countries.hasOwnProperty(d);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
488
|
-
var t =
|
|
489
|
-
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ?
|
|
487
|
+
function Je(d) {
|
|
488
|
+
var t = d.version;
|
|
489
|
+
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? ve(t, Kd) === -1 ? this.v2 = !0 : ve(t, Wd) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
490
490
|
}
|
|
491
|
-
function
|
|
492
|
-
return Qd(
|
|
491
|
+
function ue(d, t, n) {
|
|
492
|
+
return Qd(d, t, void 0, n);
|
|
493
493
|
}
|
|
494
|
-
function Qd(
|
|
494
|
+
function Qd(d, t, n, r) {
|
|
495
495
|
t && (r = new g(r.metadata), r.selectNumberingPlan(t));
|
|
496
496
|
var i = r.type(n), a = i && i.possibleLengths() || r.possibleLengths();
|
|
497
497
|
if (!a)
|
|
498
498
|
return "IS_POSSIBLE";
|
|
499
|
-
var $ =
|
|
499
|
+
var $ = d.length, s = a[0];
|
|
500
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 et(
|
|
502
|
+
function et(d, t, n) {
|
|
503
503
|
if (t === void 0 && (t = {}), n = new g(n), t.v2) {
|
|
504
|
-
if (!
|
|
504
|
+
if (!d.countryCallingCode)
|
|
505
505
|
throw new Error("Invalid phone number object passed");
|
|
506
|
-
n.selectNumberingPlan(
|
|
506
|
+
n.selectNumberingPlan(d.countryCallingCode);
|
|
507
507
|
} else {
|
|
508
|
-
if (!
|
|
508
|
+
if (!d.phone)
|
|
509
509
|
return !1;
|
|
510
|
-
if (
|
|
511
|
-
if (!n.hasCountry(
|
|
512
|
-
throw new Error("Unknown country: ".concat(
|
|
513
|
-
n.selectNumberingPlan(
|
|
510
|
+
if (d.country) {
|
|
511
|
+
if (!n.hasCountry(d.country))
|
|
512
|
+
throw new Error("Unknown country: ".concat(d.country));
|
|
513
|
+
n.selectNumberingPlan(d.country);
|
|
514
514
|
} else {
|
|
515
|
-
if (!
|
|
515
|
+
if (!d.countryCallingCode)
|
|
516
516
|
throw new Error("Invalid phone number object passed");
|
|
517
|
-
n.selectNumberingPlan(
|
|
517
|
+
n.selectNumberingPlan(d.countryCallingCode);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
if (n.possibleLengths())
|
|
521
|
-
return
|
|
522
|
-
if (
|
|
521
|
+
return qe(d.phone || d.nationalNumber, d.country, n);
|
|
522
|
+
if (d.countryCallingCode && n.isNonGeographicCallingCode(d.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 qe(d, t, n) {
|
|
527
|
+
switch (ue(d, t, 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
|
|
534
|
+
function _(d, t) {
|
|
535
|
+
return d = d || "", new RegExp("^(?:" + t + ")$").test(d);
|
|
536
536
|
}
|
|
537
|
-
function dt(
|
|
538
|
-
var n = typeof Symbol < "u" &&
|
|
539
|
-
if (n) return (n = n.call(
|
|
540
|
-
if (Array.isArray(
|
|
541
|
-
n && (
|
|
537
|
+
function dt(d, t) {
|
|
538
|
+
var n = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
539
|
+
if (n) return (n = n.call(d)).next.bind(n);
|
|
540
|
+
if (Array.isArray(d) || (n = tt(d)) || t) {
|
|
541
|
+
n && (d = n);
|
|
542
542
|
var r = 0;
|
|
543
543
|
return function() {
|
|
544
|
-
return r >=
|
|
544
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
|
545
545
|
};
|
|
546
546
|
}
|
|
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 tt(
|
|
551
|
-
if (
|
|
552
|
-
if (typeof
|
|
553
|
-
var n = {}.toString.call(
|
|
554
|
-
return n === "Object" &&
|
|
550
|
+
function tt(d, t) {
|
|
551
|
+
if (d) {
|
|
552
|
+
if (typeof d == "string") return Fe(d, t);
|
|
553
|
+
var n = {}.toString.call(d).slice(8, -1);
|
|
554
|
+
return n === "Object" && d.constructor && (n = d.constructor.name), n === "Map" || n === "Set" ? Array.from(d) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Fe(d, t) : void 0;
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
function Fe(
|
|
558
|
-
(t == null || t >
|
|
559
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] =
|
|
557
|
+
function Fe(d, t) {
|
|
558
|
+
(t == null || t > d.length) && (t = d.length);
|
|
559
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = d[n];
|
|
560
560
|
return r;
|
|
561
561
|
}
|
|
562
562
|
var nt = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
563
|
-
function
|
|
564
|
-
if (t = t || {}, !(!
|
|
565
|
-
n = new g(n), n.selectNumberingPlan(
|
|
566
|
-
var r = t.v2 ?
|
|
563
|
+
function ce(d, t, n) {
|
|
564
|
+
if (t = t || {}, !(!d.country && !d.countryCallingCode)) {
|
|
565
|
+
n = new g(n), n.selectNumberingPlan(d.country, d.countryCallingCode);
|
|
566
|
+
var r = t.v2 ? d.nationalNumber : d.phone;
|
|
567
567
|
if (_(r, n.nationalNumberPattern())) {
|
|
568
568
|
if (ne(r, "FIXED_LINE", n))
|
|
569
569
|
return n.type("MOBILE") && n.type("MOBILE").pattern() === "" || !n.type("MOBILE") || ne(r, "MOBILE", n) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
@@ -575,54 +575,54 @@ function fe(e, t, n) {
|
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function ne(
|
|
578
|
+
function ne(d, t, n) {
|
|
579
579
|
var r = n.type(t);
|
|
580
|
-
return !r || !r.pattern() || r.possibleLengths() && r.possibleLengths().indexOf(
|
|
580
|
+
return !r || !r.pattern() || r.possibleLengths() && r.possibleLengths().indexOf(d.length) < 0 ? !1 : _(d, r.pattern());
|
|
581
581
|
}
|
|
582
|
-
function rt(
|
|
583
|
-
if (t = t || {}, n = new g(n), n.selectNumberingPlan(
|
|
584
|
-
return
|
|
585
|
-
var r = t.v2 ?
|
|
582
|
+
function rt(d, t, n) {
|
|
583
|
+
if (t = t || {}, n = new g(n), n.selectNumberingPlan(d.country, d.countryCallingCode), n.hasTypes())
|
|
584
|
+
return ce(d, t, n.metadata) !== void 0;
|
|
585
|
+
var r = t.v2 ? d.nationalNumber : d.phone;
|
|
586
586
|
return _(r, n.nationalNumberPattern());
|
|
587
587
|
}
|
|
588
|
-
function it(
|
|
589
|
-
var r = new g(n), i = r.getCountryCodesForCallingCode(
|
|
588
|
+
function it(d, t, n) {
|
|
589
|
+
var r = new g(n), i = r.getCountryCodesForCallingCode(d);
|
|
590
590
|
return i ? i.filter(function(a) {
|
|
591
591
|
return ot(t, a, n);
|
|
592
592
|
}) : [];
|
|
593
593
|
}
|
|
594
|
-
function ot(
|
|
594
|
+
function ot(d, t, n) {
|
|
595
595
|
var r = new g(n);
|
|
596
|
-
return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(
|
|
596
|
+
return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
|
|
597
597
|
}
|
|
598
|
-
var
|
|
599
|
-
function gt(
|
|
598
|
+
var fe = 2, at = 17, $t = 3, h = "0-90-9٠-٩۰-۹", st = "-‐-―−ー-", lt = "//", ut = "..", ct = " ", ft = "()()[]\\[\\]", mt = "~⁓∼~", W = "".concat(st).concat(lt).concat(ut).concat(ct).concat(ft).concat(mt), me = "++", pt = new RegExp("([" + h + "])");
|
|
599
|
+
function gt(d, t, n, r) {
|
|
600
600
|
if (t) {
|
|
601
601
|
var i = new g(r);
|
|
602
602
|
i.selectNumberingPlan(t, n);
|
|
603
603
|
var a = new RegExp(i.IDDPrefix());
|
|
604
|
-
if (
|
|
605
|
-
|
|
606
|
-
var $ =
|
|
604
|
+
if (d.search(a) === 0) {
|
|
605
|
+
d = d.slice(d.match(a)[0].length);
|
|
606
|
+
var $ = d.match(pt);
|
|
607
607
|
if (!($ && $[1] != null && $[1].length > 0 && $[1] === "0"))
|
|
608
|
-
return
|
|
608
|
+
return d;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function bt(
|
|
613
|
-
if (
|
|
614
|
-
var n = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), r = n.exec(
|
|
612
|
+
function bt(d, t) {
|
|
613
|
+
if (d && t.numberingPlan.nationalPrefixForParsing()) {
|
|
614
|
+
var n = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), r = n.exec(d);
|
|
615
615
|
if (r) {
|
|
616
616
|
var i, a, $ = r.length - 1, s = $ > 0 && r[$];
|
|
617
617
|
if (t.nationalPrefixTransformRule() && s)
|
|
618
|
-
i =
|
|
618
|
+
i = d.replace(n, t.nationalPrefixTransformRule()), $ > 1 && (a = r[1]);
|
|
619
619
|
else {
|
|
620
620
|
var l = r[0];
|
|
621
|
-
i =
|
|
621
|
+
i = d.slice(l.length), s && (a = r[1]);
|
|
622
622
|
}
|
|
623
623
|
var u;
|
|
624
624
|
if (s) {
|
|
625
|
-
var m =
|
|
625
|
+
var m = d.indexOf(r[1]), y = d.slice(0, m);
|
|
626
626
|
y === t.numberingPlan.nationalPrefix() && (u = t.numberingPlan.nationalPrefix());
|
|
627
627
|
} else
|
|
628
628
|
u = r[0];
|
|
@@ -634,70 +634,70 @@ function bt(e, t) {
|
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
return {
|
|
637
|
-
nationalNumber:
|
|
637
|
+
nationalNumber: d
|
|
638
638
|
};
|
|
639
639
|
}
|
|
640
|
-
function yt(
|
|
641
|
-
var n = typeof Symbol < "u" &&
|
|
642
|
-
if (n) return (n = n.call(
|
|
643
|
-
if (Array.isArray(
|
|
644
|
-
n && (
|
|
640
|
+
function yt(d, t) {
|
|
641
|
+
var n = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
642
|
+
if (n) return (n = n.call(d)).next.bind(n);
|
|
643
|
+
if (Array.isArray(d) || (n = ht(d)) || t) {
|
|
644
|
+
n && (d = n);
|
|
645
645
|
var r = 0;
|
|
646
646
|
return function() {
|
|
647
|
-
return r >=
|
|
647
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
|
648
648
|
};
|
|
649
649
|
}
|
|
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 ht(
|
|
654
|
-
if (
|
|
655
|
-
if (typeof
|
|
656
|
-
var n = {}.toString.call(
|
|
657
|
-
return n === "Object" &&
|
|
653
|
+
function ht(d, t) {
|
|
654
|
+
if (d) {
|
|
655
|
+
if (typeof d == "string") return Oe(d, t);
|
|
656
|
+
var n = {}.toString.call(d).slice(8, -1);
|
|
657
|
+
return n === "Object" && d.constructor && (n = d.constructor.name), n === "Map" || n === "Set" ? Array.from(d) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Oe(d, t) : void 0;
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
|
-
function
|
|
661
|
-
(t == null || t >
|
|
662
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] =
|
|
660
|
+
function Oe(d, t) {
|
|
661
|
+
(t == null || t > d.length) && (t = d.length);
|
|
662
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = d[n];
|
|
663
663
|
return r;
|
|
664
664
|
}
|
|
665
|
-
function Et(
|
|
665
|
+
function Et(d, t) {
|
|
666
666
|
var n = t.countries, r = t.metadata;
|
|
667
667
|
r = new g(r);
|
|
668
668
|
for (var i = yt(n), a; !(a = i()).done; ) {
|
|
669
669
|
var $ = a.value;
|
|
670
670
|
if (r.selectNumberingPlan($), r.leadingDigits()) {
|
|
671
|
-
if (
|
|
671
|
+
if (d && d.search(r.leadingDigits()) === 0)
|
|
672
672
|
return $;
|
|
673
|
-
} else if (
|
|
674
|
-
phone:
|
|
673
|
+
} else if (ce({
|
|
674
|
+
phone: d,
|
|
675
675
|
country: $
|
|
676
676
|
}, void 0, r.metadata))
|
|
677
677
|
return $;
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
var n = t.nationalNumber, r = t.metadata, i = r.getCountryCodesForCallingCode(
|
|
680
|
+
function Qe(d, t) {
|
|
681
|
+
var n = t.nationalNumber, r = t.metadata, i = r.getCountryCodesForCallingCode(d);
|
|
682
682
|
if (i)
|
|
683
683
|
return i.length === 1 ? i[0] : Et(n, {
|
|
684
684
|
countries: i,
|
|
685
685
|
metadata: r.metadata
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
689
|
-
var r = bt(
|
|
690
|
-
if (a !==
|
|
691
|
-
if (!Ct(
|
|
688
|
+
function ie(d, t, n) {
|
|
689
|
+
var r = bt(d, n), i = r.carrierCode, a = r.nationalNumber;
|
|
690
|
+
if (a !== d) {
|
|
691
|
+
if (!Ct(d, a, n))
|
|
692
692
|
return {
|
|
693
|
-
nationalNumber:
|
|
693
|
+
nationalNumber: d
|
|
694
694
|
};
|
|
695
|
-
if (n.numberingPlan.possibleLengths() && (t || (t =
|
|
695
|
+
if (n.numberingPlan.possibleLengths() && (t || (t = Qe(n.numberingPlan.callingCode(), {
|
|
696
696
|
nationalNumber: a,
|
|
697
697
|
metadata: n
|
|
698
698
|
})), !Pt(a, t, n)))
|
|
699
699
|
return {
|
|
700
|
-
nationalNumber:
|
|
700
|
+
nationalNumber: d
|
|
701
701
|
};
|
|
702
702
|
}
|
|
703
703
|
return {
|
|
@@ -705,11 +705,11 @@ function oe(e, t, n) {
|
|
|
705
705
|
carrierCode: i
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
|
-
function Ct(
|
|
709
|
-
return !(_(
|
|
708
|
+
function Ct(d, t, n) {
|
|
709
|
+
return !(_(d, n.nationalNumberPattern()) && !_(t, n.nationalNumberPattern()));
|
|
710
710
|
}
|
|
711
|
-
function Pt(
|
|
712
|
-
switch (
|
|
711
|
+
function Pt(d, t, n) {
|
|
712
|
+
switch (ue(d, t, n)) {
|
|
713
713
|
case "TOO_SHORT":
|
|
714
714
|
case "INVALID_LENGTH":
|
|
715
715
|
return !1;
|
|
@@ -717,32 +717,32 @@ function Pt(e, t, n) {
|
|
|
717
717
|
return !0;
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
|
-
function vt(
|
|
721
|
-
var a = n ?
|
|
722
|
-
if (
|
|
720
|
+
function vt(d, t, n, r, i) {
|
|
721
|
+
var a = n ? le(n, i) : r;
|
|
722
|
+
if (d.indexOf(a) === 0) {
|
|
723
723
|
i = new g(i), i.selectNumberingPlan(n, a);
|
|
724
|
-
var $ =
|
|
725
|
-
if (!_(m, i.nationalNumberPattern()) && _(l, i.nationalNumberPattern()) ||
|
|
724
|
+
var $ = d.slice(a.length), s = ie($, t, i), l = s.nationalNumber, u = ie(d, t, i), m = u.nationalNumber;
|
|
725
|
+
if (!_(m, i.nationalNumberPattern()) && _(l, i.nationalNumberPattern()) || ue(m, t, i) === "TOO_LONG")
|
|
726
726
|
return {
|
|
727
727
|
countryCallingCode: a,
|
|
728
728
|
number: $
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
731
|
return {
|
|
732
|
-
number:
|
|
732
|
+
number: d
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
function
|
|
736
|
-
if (!
|
|
735
|
+
function ed(d, t, n, r, i) {
|
|
736
|
+
if (!d)
|
|
737
737
|
return {};
|
|
738
738
|
var a;
|
|
739
|
-
if (
|
|
740
|
-
var $ = gt(
|
|
741
|
-
if ($ && $ !==
|
|
742
|
-
a = !0,
|
|
739
|
+
if (d[0] !== "+") {
|
|
740
|
+
var $ = gt(d, n, r, i);
|
|
741
|
+
if ($ && $ !== d)
|
|
742
|
+
a = !0, d = "+" + $;
|
|
743
743
|
else {
|
|
744
744
|
if (n || r) {
|
|
745
|
-
var s = vt(
|
|
745
|
+
var s = vt(d, t, n, r, i), l = s.countryCallingCode, u = s.number;
|
|
746
746
|
if (l)
|
|
747
747
|
return {
|
|
748
748
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -753,31 +753,31 @@ function Qe(e, t, n, r, i) {
|
|
|
753
753
|
return {
|
|
754
754
|
// No need to set it to `UNSPECIFIED`. It can be just `undefined`.
|
|
755
755
|
// countryCallingCodeSource: 'UNSPECIFIED',
|
|
756
|
-
number:
|
|
756
|
+
number: d
|
|
757
757
|
};
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
if (
|
|
760
|
+
if (d[1] === "0")
|
|
761
761
|
return {};
|
|
762
762
|
i = new g(i);
|
|
763
|
-
for (var m = 2; m - 1 <= $t && m <=
|
|
764
|
-
var y =
|
|
763
|
+
for (var m = 2; m - 1 <= $t && m <= d.length; ) {
|
|
764
|
+
var y = d.slice(1, m);
|
|
765
765
|
if (i.hasCallingCode(y))
|
|
766
766
|
return i.selectNumberingPlan(y), {
|
|
767
767
|
countryCallingCodeSource: a ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
|
768
768
|
countryCallingCode: y,
|
|
769
|
-
number:
|
|
769
|
+
number: d.slice(m)
|
|
770
770
|
};
|
|
771
771
|
m++;
|
|
772
772
|
}
|
|
773
773
|
return {};
|
|
774
774
|
}
|
|
775
|
-
function _t(
|
|
776
|
-
return
|
|
775
|
+
function _t(d) {
|
|
776
|
+
return d.replace(new RegExp("[".concat(W, "]+"), "g"), " ").trim();
|
|
777
777
|
}
|
|
778
778
|
var Nt = /(\$\d)/;
|
|
779
|
-
function
|
|
780
|
-
var r = n.useInternationalFormat, i = n.withNationalPrefix, a =
|
|
779
|
+
function It(d, t, n) {
|
|
780
|
+
var r = n.useInternationalFormat, i = n.withNationalPrefix, a = d.replace(new RegExp(t.pattern()), r ? t.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.
|
|
@@ -795,87 +795,87 @@ function Ft(e, t, n) {
|
|
|
795
795
|
));
|
|
796
796
|
return r ? _t(a) : a;
|
|
797
797
|
}
|
|
798
|
-
var
|
|
799
|
-
function Ot(
|
|
798
|
+
var Ft = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
799
|
+
function Ot(d, t, n) {
|
|
800
800
|
var r = new g(n);
|
|
801
|
-
if (r.selectNumberingPlan(
|
|
801
|
+
if (r.selectNumberingPlan(d, t), r.defaultIDDPrefix())
|
|
802
802
|
return r.defaultIDDPrefix();
|
|
803
|
-
if (
|
|
803
|
+
if (Ft.test(r.IDDPrefix()))
|
|
804
804
|
return r.IDDPrefix();
|
|
805
805
|
}
|
|
806
806
|
var Rt = ";ext=", A = function(t) {
|
|
807
807
|
return "([".concat(h, "]{1,").concat(t, "})");
|
|
808
808
|
};
|
|
809
|
-
function
|
|
809
|
+
function dd(d) {
|
|
810
810
|
var t = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", $ = "[:\\..]?[ \\t,-]*", s = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", m = "[- ]+", y = "[ \\t]*", C = "(?:,{2}|;)", O = Rt + A(t), j = a + l + $ + A(t) + s, Ad = a + u + $ + A(r) + s, Td = m + A(i) + "#", Sd = y + C + $ + A(n) + s, xd = y + "(?:,)+" + $ + A(r) + s;
|
|
811
811
|
return O + "|" + j + "|" + Ad + "|" + Td + "|" + Sd + "|" + xd;
|
|
812
812
|
}
|
|
813
|
-
var At = "[" + h + "]{" +
|
|
814
|
-
"(?:" +
|
|
813
|
+
var At = "[" + h + "]{" + fe + "}", Tt = "[" + me + "]{0,1}(?:[" + W + "]*[" + h + "]){3,}[" + W + h + "]*", St = new RegExp("^[" + me + "]{0,1}(?:[" + W + "]*[" + h + "]){1,2}$", "i"), xt = Tt + // Phone number extensions
|
|
814
|
+
"(?:" + dd() + ")?", Mt = new RegExp(
|
|
815
815
|
// Either a short two-digit-only phone number
|
|
816
816
|
"^" + At + "$|^" + xt + "$",
|
|
817
817
|
"i"
|
|
818
818
|
);
|
|
819
|
-
function Dt(
|
|
820
|
-
return
|
|
819
|
+
function Dt(d) {
|
|
820
|
+
return d.length >= fe && Mt.test(d);
|
|
821
821
|
}
|
|
822
|
-
function Lt(
|
|
823
|
-
return St.test(
|
|
822
|
+
function Lt(d) {
|
|
823
|
+
return St.test(d);
|
|
824
824
|
}
|
|
825
|
-
function wt(
|
|
826
|
-
var t =
|
|
825
|
+
function wt(d) {
|
|
826
|
+
var t = d.number, n = d.ext;
|
|
827
827
|
if (!t)
|
|
828
828
|
return "";
|
|
829
829
|
if (t[0] !== "+")
|
|
830
830
|
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
831
831
|
return "tel:".concat(t).concat(n ? ";ext=" + n : "");
|
|
832
832
|
}
|
|
833
|
-
var
|
|
833
|
+
var Re = {
|
|
834
834
|
formatExtension: function(t, n, r) {
|
|
835
835
|
return "".concat(t).concat(r.ext()).concat(n);
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
|
-
function jt(
|
|
839
|
-
if (n ? n = Gt({},
|
|
840
|
-
if (!r.hasCountry(
|
|
841
|
-
throw new Error("Unknown country: ".concat(
|
|
842
|
-
r.selectNumberingPlan(
|
|
843
|
-
} else if (
|
|
844
|
-
r.selectNumberingPlan(
|
|
845
|
-
else return
|
|
846
|
-
var i = r.countryCallingCode(), a = n.v2 ?
|
|
838
|
+
function jt(d, t, n, r) {
|
|
839
|
+
if (n ? n = Gt({}, Re, n) : n = Re, r = new g(r), d.country && d.country !== "001") {
|
|
840
|
+
if (!r.hasCountry(d.country))
|
|
841
|
+
throw new Error("Unknown country: ".concat(d.country));
|
|
842
|
+
r.selectNumberingPlan(d.country);
|
|
843
|
+
} else if (d.countryCallingCode)
|
|
844
|
+
r.selectNumberingPlan(d.countryCallingCode);
|
|
845
|
+
else return d.phone || "";
|
|
846
|
+
var i = r.countryCallingCode(), a = n.v2 ? d.nationalNumber : d.phone, $;
|
|
847
847
|
switch (t) {
|
|
848
848
|
case "NATIONAL":
|
|
849
|
-
return a ? ($ = z(a,
|
|
849
|
+
return a ? ($ = z(a, d.carrierCode, "NATIONAL", r, n), re($, d.ext, r, n.formatExtension)) : "";
|
|
850
850
|
case "INTERNATIONAL":
|
|
851
|
-
return a ? ($ = z(a, null, "INTERNATIONAL", r, n), $ = "+".concat(i, " ").concat($), re($,
|
|
851
|
+
return a ? ($ = z(a, null, "INTERNATIONAL", r, n), $ = "+".concat(i, " ").concat($), re($, d.ext, r, n.formatExtension)) : "+".concat(i);
|
|
852
852
|
case "E.164":
|
|
853
853
|
return "+".concat(i).concat(a);
|
|
854
854
|
case "RFC3966":
|
|
855
855
|
return wt({
|
|
856
856
|
number: "+".concat(i).concat(a),
|
|
857
|
-
ext:
|
|
857
|
+
ext: d.ext
|
|
858
858
|
});
|
|
859
859
|
case "IDD":
|
|
860
860
|
if (!n.fromCountry)
|
|
861
861
|
return;
|
|
862
|
-
var s = Ut(a,
|
|
863
|
-
return s ? re(s,
|
|
862
|
+
var s = Ut(a, d.carrierCode, i, n.fromCountry, r);
|
|
863
|
+
return s ? re(s, d.ext, r, n.formatExtension) : void 0;
|
|
864
864
|
default:
|
|
865
865
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
function z(
|
|
869
|
-
var a = Bt(r.formats(),
|
|
870
|
-
return a ?
|
|
868
|
+
function z(d, t, n, r, i) {
|
|
869
|
+
var a = Bt(r.formats(), d);
|
|
870
|
+
return a ? It(d, a, {
|
|
871
871
|
useInternationalFormat: n === "INTERNATIONAL",
|
|
872
872
|
withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
|
|
873
873
|
carrierCode: t,
|
|
874
874
|
metadata: r
|
|
875
|
-
}) :
|
|
875
|
+
}) : d;
|
|
876
876
|
}
|
|
877
|
-
function Bt(
|
|
878
|
-
return kt(
|
|
877
|
+
function Bt(d, t) {
|
|
878
|
+
return kt(d, function(n) {
|
|
879
879
|
if (n.leadingDigitsPatterns().length > 0) {
|
|
880
880
|
var r = n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length - 1];
|
|
881
881
|
if (t.search(r) !== 0)
|
|
@@ -884,98 +884,98 @@ function Bt(e, t) {
|
|
|
884
884
|
return _(t, n.pattern());
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
|
-
function re(
|
|
888
|
-
return t ? r(
|
|
887
|
+
function re(d, t, n, r) {
|
|
888
|
+
return t ? r(d, t, n) : d;
|
|
889
889
|
}
|
|
890
|
-
function Ut(
|
|
891
|
-
var a =
|
|
890
|
+
function Ut(d, t, n, r, i) {
|
|
891
|
+
var a = le(r, i.metadata);
|
|
892
892
|
if (a === n) {
|
|
893
|
-
var $ = z(
|
|
893
|
+
var $ = z(d, t, "NATIONAL", i);
|
|
894
894
|
return n === "1" ? n + " " + $ : $;
|
|
895
895
|
}
|
|
896
896
|
var s = Ot(r, void 0, i.metadata);
|
|
897
897
|
if (s)
|
|
898
|
-
return "".concat(s, " ").concat(n, " ").concat(z(
|
|
898
|
+
return "".concat(s, " ").concat(n, " ").concat(z(d, null, "INTERNATIONAL", i));
|
|
899
899
|
}
|
|
900
900
|
function Gt() {
|
|
901
|
-
for (var
|
|
901
|
+
for (var d = 1, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
902
902
|
n[r] = arguments[r];
|
|
903
|
-
for (;
|
|
904
|
-
if (n[
|
|
905
|
-
for (var i in n[
|
|
906
|
-
n[0][i] = n[
|
|
907
|
-
|
|
903
|
+
for (; d < n.length; ) {
|
|
904
|
+
if (n[d])
|
|
905
|
+
for (var i in n[d])
|
|
906
|
+
n[0][i] = n[d][i];
|
|
907
|
+
d++;
|
|
908
908
|
}
|
|
909
909
|
return n[0];
|
|
910
910
|
}
|
|
911
|
-
function kt(
|
|
912
|
-
for (var n = 0; n <
|
|
913
|
-
if (t(
|
|
914
|
-
return
|
|
911
|
+
function kt(d, t) {
|
|
912
|
+
for (var n = 0; n < d.length; ) {
|
|
913
|
+
if (t(d[n]))
|
|
914
|
+
return d[n];
|
|
915
915
|
n++;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
|
-
function B(
|
|
918
|
+
function B(d) {
|
|
919
919
|
"@babel/helpers - typeof";
|
|
920
920
|
return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
921
921
|
return typeof t;
|
|
922
922
|
} : function(t) {
|
|
923
923
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
924
|
-
}, B(
|
|
924
|
+
}, B(d);
|
|
925
925
|
}
|
|
926
|
-
function
|
|
927
|
-
var n = Object.keys(
|
|
926
|
+
function Ae(d, t) {
|
|
927
|
+
var n = Object.keys(d);
|
|
928
928
|
if (Object.getOwnPropertySymbols) {
|
|
929
|
-
var r = Object.getOwnPropertySymbols(
|
|
929
|
+
var r = Object.getOwnPropertySymbols(d);
|
|
930
930
|
t && (r = r.filter(function(i) {
|
|
931
|
-
return Object.getOwnPropertyDescriptor(
|
|
931
|
+
return Object.getOwnPropertyDescriptor(d, i).enumerable;
|
|
932
932
|
})), n.push.apply(n, r);
|
|
933
933
|
}
|
|
934
934
|
return n;
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function Te(d) {
|
|
937
937
|
for (var t = 1; t < arguments.length; t++) {
|
|
938
938
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
939
|
-
t % 2 ?
|
|
940
|
-
Ht(
|
|
941
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
942
|
-
Object.defineProperty(
|
|
939
|
+
t % 2 ? Ae(Object(n), !0).forEach(function(r) {
|
|
940
|
+
Ht(d, r, n[r]);
|
|
941
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(n)) : Ae(Object(n)).forEach(function(r) {
|
|
942
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(n, r));
|
|
943
943
|
});
|
|
944
944
|
}
|
|
945
|
-
return
|
|
945
|
+
return d;
|
|
946
946
|
}
|
|
947
|
-
function Ht(
|
|
948
|
-
return (t =
|
|
947
|
+
function Ht(d, t, n) {
|
|
948
|
+
return (t = td(t)) in d ? Object.defineProperty(d, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = n, d;
|
|
949
949
|
}
|
|
950
|
-
function Vt(
|
|
951
|
-
if (!(
|
|
950
|
+
function Vt(d, t) {
|
|
951
|
+
if (!(d instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
952
952
|
}
|
|
953
|
-
function Kt(
|
|
953
|
+
function Kt(d, t) {
|
|
954
954
|
for (var n = 0; n < t.length; n++) {
|
|
955
955
|
var r = t[n];
|
|
956
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(
|
|
956
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, td(r.key), r);
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
function Wt(
|
|
960
|
-
return t && Kt(
|
|
959
|
+
function Wt(d, t, n) {
|
|
960
|
+
return t && Kt(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
|
961
961
|
}
|
|
962
|
-
function
|
|
963
|
-
var t = zt(
|
|
962
|
+
function td(d) {
|
|
963
|
+
var t = zt(d, "string");
|
|
964
964
|
return B(t) == "symbol" ? t : t + "";
|
|
965
965
|
}
|
|
966
|
-
function zt(
|
|
967
|
-
if (B(
|
|
968
|
-
var n =
|
|
966
|
+
function zt(d, t) {
|
|
967
|
+
if (B(d) != "object" || !d) return d;
|
|
968
|
+
var n = d[Symbol.toPrimitive];
|
|
969
969
|
if (n !== void 0) {
|
|
970
|
-
var r = n.call(
|
|
970
|
+
var r = n.call(d, t || "default");
|
|
971
971
|
if (B(r) != "object") return r;
|
|
972
972
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
973
973
|
}
|
|
974
|
-
return (t === "string" ? String : Number)(
|
|
974
|
+
return (t === "string" ? String : Number)(d);
|
|
975
975
|
}
|
|
976
976
|
var Yt = /* @__PURE__ */ function() {
|
|
977
|
-
function
|
|
978
|
-
if (Vt(this,
|
|
977
|
+
function d(t, n, r) {
|
|
978
|
+
if (Vt(this, d), !t)
|
|
979
979
|
throw new TypeError("First argument is required");
|
|
980
980
|
if (typeof t != "string")
|
|
981
981
|
throw new TypeError("First argument must be a string");
|
|
@@ -986,7 +986,7 @@ var Yt = /* @__PURE__ */ function() {
|
|
|
986
986
|
var i = t;
|
|
987
987
|
if (!Jt.test(i))
|
|
988
988
|
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
989
|
-
var a =
|
|
989
|
+
var a = ed(i, void 0, void 0, void 0, r), $ = a.countryCallingCode, s = a.number;
|
|
990
990
|
if (n = s, t = $, !n)
|
|
991
991
|
throw new Error("Invalid `number` argument passed: too short");
|
|
992
992
|
}
|
|
@@ -994,13 +994,13 @@ var Yt = /* @__PURE__ */ function() {
|
|
|
994
994
|
throw new TypeError("`nationalNumber` argument is required");
|
|
995
995
|
if (typeof n != "string")
|
|
996
996
|
throw new TypeError("`nationalNumber` argument must be a string");
|
|
997
|
-
|
|
997
|
+
Ze(r);
|
|
998
998
|
var l = Zt(t, r), u = l.country, m = l.countryCallingCode;
|
|
999
999
|
this.country = u, this.countryCallingCode = m, this.nationalNumber = n, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
1000
1000
|
return r;
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
|
-
return Wt(
|
|
1003
|
+
return Wt(d, [{
|
|
1004
1004
|
key: "setExt",
|
|
1005
1005
|
value: function(n) {
|
|
1006
1006
|
this.ext = n;
|
|
@@ -1052,14 +1052,14 @@ var Yt = /* @__PURE__ */ function() {
|
|
|
1052
1052
|
}, {
|
|
1053
1053
|
key: "getType",
|
|
1054
1054
|
value: function() {
|
|
1055
|
-
return
|
|
1055
|
+
return ce(this, {
|
|
1056
1056
|
v2: !0
|
|
1057
1057
|
}, this.getMetadata());
|
|
1058
1058
|
}
|
|
1059
1059
|
}, {
|
|
1060
1060
|
key: "format",
|
|
1061
1061
|
value: function(n, r) {
|
|
1062
|
-
return jt(this, n, r ?
|
|
1062
|
+
return jt(this, n, r ? Te(Te({}, r), {}, {
|
|
1063
1063
|
v2: !0
|
|
1064
1064
|
}) : {
|
|
1065
1065
|
v2: !0
|
|
@@ -1084,47 +1084,47 @@ var Yt = /* @__PURE__ */ function() {
|
|
|
1084
1084
|
}(), Xt = function(t) {
|
|
1085
1085
|
return /^[A-Z]{2}$/.test(t);
|
|
1086
1086
|
};
|
|
1087
|
-
function Zt(
|
|
1087
|
+
function Zt(d, t) {
|
|
1088
1088
|
var n, r, i = new g(t);
|
|
1089
|
-
return Xt(
|
|
1089
|
+
return Xt(d) ? (n = d, i.selectNumberingPlan(n), r = i.countryCallingCode()) : r = d, {
|
|
1090
1090
|
country: n,
|
|
1091
1091
|
countryCallingCode: r
|
|
1092
1092
|
};
|
|
1093
1093
|
}
|
|
1094
1094
|
var Jt = /^\+\d+$/;
|
|
1095
|
-
function
|
|
1095
|
+
function oe(d) {
|
|
1096
1096
|
"@babel/helpers - typeof";
|
|
1097
|
-
return
|
|
1097
|
+
return oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1098
1098
|
return typeof t;
|
|
1099
1099
|
} : function(t) {
|
|
1100
1100
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1101
|
-
},
|
|
1101
|
+
}, oe(d);
|
|
1102
1102
|
}
|
|
1103
|
-
function qt(
|
|
1104
|
-
return Object.defineProperty(
|
|
1103
|
+
function qt(d, t, n) {
|
|
1104
|
+
return Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
|
1105
1105
|
}
|
|
1106
|
-
function Qt(
|
|
1107
|
-
if (!(
|
|
1106
|
+
function Qt(d, t) {
|
|
1107
|
+
if (!(d instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
1108
1108
|
}
|
|
1109
|
-
function en(
|
|
1110
|
-
return t = G(t), dn(
|
|
1109
|
+
function en(d, t, n) {
|
|
1110
|
+
return t = G(t), dn(d, pe() ? Reflect.construct(t, n || [], G(d).constructor) : t.apply(d, n));
|
|
1111
1111
|
}
|
|
1112
|
-
function dn(
|
|
1113
|
-
if (t && (
|
|
1112
|
+
function dn(d, t) {
|
|
1113
|
+
if (t && (oe(t) == "object" || typeof t == "function")) return t;
|
|
1114
1114
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1115
|
-
return tn(
|
|
1115
|
+
return tn(d);
|
|
1116
1116
|
}
|
|
1117
|
-
function tn(
|
|
1118
|
-
if (
|
|
1119
|
-
return
|
|
1117
|
+
function tn(d) {
|
|
1118
|
+
if (d === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1119
|
+
return d;
|
|
1120
1120
|
}
|
|
1121
|
-
function nn(
|
|
1121
|
+
function nn(d, t) {
|
|
1122
1122
|
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1123
|
-
|
|
1123
|
+
d.prototype = Object.create(t && t.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), t && U(d, t);
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function ae(d) {
|
|
1126
1126
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
1127
|
-
return
|
|
1127
|
+
return ae = function(r) {
|
|
1128
1128
|
if (r === null || !on(r)) return r;
|
|
1129
1129
|
if (typeof r != "function") throw new TypeError("Super expression must either be null or a function");
|
|
1130
1130
|
if (t !== void 0) {
|
|
@@ -1135,54 +1135,54 @@ function $e(e) {
|
|
|
1135
1135
|
return rn(r, arguments, G(this).constructor);
|
|
1136
1136
|
}
|
|
1137
1137
|
return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), U(i, r);
|
|
1138
|
-
},
|
|
1138
|
+
}, ae(d);
|
|
1139
1139
|
}
|
|
1140
|
-
function rn(
|
|
1141
|
-
if (
|
|
1140
|
+
function rn(d, t, n) {
|
|
1141
|
+
if (pe()) return Reflect.construct.apply(null, arguments);
|
|
1142
1142
|
var r = [null];
|
|
1143
1143
|
r.push.apply(r, t);
|
|
1144
|
-
var i = new (
|
|
1144
|
+
var i = new (d.bind.apply(d, r))();
|
|
1145
1145
|
return n && U(i, n.prototype), i;
|
|
1146
1146
|
}
|
|
1147
|
-
function
|
|
1147
|
+
function pe() {
|
|
1148
1148
|
try {
|
|
1149
|
-
var
|
|
1149
|
+
var d = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1150
1150
|
}));
|
|
1151
1151
|
} catch {
|
|
1152
1152
|
}
|
|
1153
|
-
return (
|
|
1154
|
-
return !!
|
|
1153
|
+
return (pe = function() {
|
|
1154
|
+
return !!d;
|
|
1155
1155
|
})();
|
|
1156
1156
|
}
|
|
1157
|
-
function on(
|
|
1157
|
+
function on(d) {
|
|
1158
1158
|
try {
|
|
1159
|
-
return Function.toString.call(
|
|
1159
|
+
return Function.toString.call(d).indexOf("[native code]") !== -1;
|
|
1160
1160
|
} catch {
|
|
1161
|
-
return typeof
|
|
1161
|
+
return typeof d == "function";
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
function U(
|
|
1164
|
+
function U(d, t) {
|
|
1165
1165
|
return U = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
1166
1166
|
return n.__proto__ = r, n;
|
|
1167
|
-
}, U(
|
|
1167
|
+
}, U(d, t);
|
|
1168
1168
|
}
|
|
1169
|
-
function G(
|
|
1169
|
+
function G(d) {
|
|
1170
1170
|
return G = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
1171
1171
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1172
|
-
}, G(
|
|
1172
|
+
}, G(d);
|
|
1173
1173
|
}
|
|
1174
|
-
var P = /* @__PURE__ */ function(
|
|
1174
|
+
var P = /* @__PURE__ */ function(d) {
|
|
1175
1175
|
function t(n) {
|
|
1176
1176
|
var r;
|
|
1177
1177
|
return Qt(this, t), r = en(this, t, [n]), Object.setPrototypeOf(r, t.prototype), r.name = r.constructor.name, r;
|
|
1178
1178
|
}
|
|
1179
|
-
return nn(t,
|
|
1180
|
-
}(/* @__PURE__ */
|
|
1181
|
-
function an(
|
|
1182
|
-
var t =
|
|
1179
|
+
return nn(t, d), qt(t);
|
|
1180
|
+
}(/* @__PURE__ */ ae(Error)), Se = new RegExp("(?:" + dd() + ")$", "i");
|
|
1181
|
+
function an(d) {
|
|
1182
|
+
var t = d.search(Se);
|
|
1183
1183
|
if (t < 0)
|
|
1184
1184
|
return {};
|
|
1185
|
-
for (var n =
|
|
1185
|
+
for (var n = d.slice(0, t), r = d.match(Se), i = 1; i < r.length; ) {
|
|
1186
1186
|
if (r[i])
|
|
1187
1187
|
return {
|
|
1188
1188
|
number: n,
|
|
@@ -1263,81 +1263,81 @@ var $n = {
|
|
|
1263
1263
|
"۹": "9"
|
|
1264
1264
|
// Eastern-Arabic digit 9
|
|
1265
1265
|
};
|
|
1266
|
-
function sn(
|
|
1267
|
-
return $n[
|
|
1268
|
-
}
|
|
1269
|
-
function ln(
|
|
1270
|
-
var n = typeof Symbol < "u" &&
|
|
1271
|
-
if (n) return (n = n.call(
|
|
1272
|
-
if (Array.isArray(
|
|
1273
|
-
n && (
|
|
1266
|
+
function sn(d) {
|
|
1267
|
+
return $n[d];
|
|
1268
|
+
}
|
|
1269
|
+
function ln(d, t) {
|
|
1270
|
+
var n = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
1271
|
+
if (n) return (n = n.call(d)).next.bind(n);
|
|
1272
|
+
if (Array.isArray(d) || (n = un(d)) || t) {
|
|
1273
|
+
n && (d = n);
|
|
1274
1274
|
var r = 0;
|
|
1275
1275
|
return function() {
|
|
1276
|
-
return r >=
|
|
1276
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
|
1277
1277
|
};
|
|
1278
1278
|
}
|
|
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 un(
|
|
1283
|
-
if (
|
|
1284
|
-
if (typeof
|
|
1285
|
-
var n = {}.toString.call(
|
|
1286
|
-
return n === "Object" &&
|
|
1282
|
+
function un(d, t) {
|
|
1283
|
+
if (d) {
|
|
1284
|
+
if (typeof d == "string") return xe(d, t);
|
|
1285
|
+
var n = {}.toString.call(d).slice(8, -1);
|
|
1286
|
+
return n === "Object" && d.constructor && (n = d.constructor.name), n === "Map" || n === "Set" ? Array.from(d) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xe(d, t) : void 0;
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1290
|
-
(t == null || t >
|
|
1291
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] =
|
|
1289
|
+
function xe(d, t) {
|
|
1290
|
+
(t == null || t > d.length) && (t = d.length);
|
|
1291
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = d[n];
|
|
1292
1292
|
return r;
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1295
|
-
for (var t = "", n = ln(
|
|
1294
|
+
function Me(d) {
|
|
1295
|
+
for (var t = "", n = ln(d.split("")), r; !(r = n()).done; ) {
|
|
1296
1296
|
var i = r.value;
|
|
1297
1297
|
t += cn(i, t) || "";
|
|
1298
1298
|
}
|
|
1299
1299
|
return t;
|
|
1300
1300
|
}
|
|
1301
|
-
function cn(
|
|
1302
|
-
return
|
|
1301
|
+
function cn(d, t, n) {
|
|
1302
|
+
return d === "+" ? t ? void 0 : "+" : sn(d);
|
|
1303
1303
|
}
|
|
1304
|
-
var
|
|
1305
|
-
function Pn(
|
|
1306
|
-
var t =
|
|
1304
|
+
var nd = "+", fn = "[\\-\\.\\(\\)]?", De = "([" + h + "]|" + fn + ")", mn = "^\\" + nd + De + "*[" + h + "]" + De + "*$", pn = new RegExp(mn, "g"), $e = h, gn = "[" + $e + "]+((\\-)*[" + $e + "])*", bn = "a-zA-Z", yn = "[" + bn + "]+((\\-)*[" + $e + "])*", hn = "^(" + gn + "\\.)*" + yn + "\\.?$", En = new RegExp(hn, "g"), Le = "tel:", se = ";phone-context=", Cn = ";isub=";
|
|
1305
|
+
function Pn(d) {
|
|
1306
|
+
var t = d.indexOf(se);
|
|
1307
1307
|
if (t < 0)
|
|
1308
1308
|
return null;
|
|
1309
|
-
var n = t +
|
|
1310
|
-
if (n >=
|
|
1309
|
+
var n = t + se.length;
|
|
1310
|
+
if (n >= d.length)
|
|
1311
1311
|
return "";
|
|
1312
|
-
var r =
|
|
1313
|
-
return r >= 0 ?
|
|
1312
|
+
var r = d.indexOf(";", n);
|
|
1313
|
+
return r >= 0 ? d.substring(n, r) : d.substring(n);
|
|
1314
1314
|
}
|
|
1315
|
-
function vn(
|
|
1316
|
-
return
|
|
1315
|
+
function vn(d) {
|
|
1316
|
+
return d === null ? !0 : d.length === 0 ? !1 : pn.test(d) || En.test(d);
|
|
1317
1317
|
}
|
|
1318
|
-
function _n(
|
|
1319
|
-
var n = t.extractFormattedPhoneNumber, r = Pn(
|
|
1318
|
+
function _n(d, t) {
|
|
1319
|
+
var n = t.extractFormattedPhoneNumber, r = Pn(d);
|
|
1320
1320
|
if (!vn(r))
|
|
1321
1321
|
throw new P("NOT_A_NUMBER");
|
|
1322
1322
|
var i;
|
|
1323
1323
|
if (r === null)
|
|
1324
|
-
i = n(
|
|
1324
|
+
i = n(d) || "";
|
|
1325
1325
|
else {
|
|
1326
|
-
i = "", r.charAt(0) ===
|
|
1327
|
-
var a =
|
|
1328
|
-
a >= 0 ? $ = a +
|
|
1329
|
-
var s =
|
|
1330
|
-
i +=
|
|
1326
|
+
i = "", r.charAt(0) === nd && (i += r);
|
|
1327
|
+
var a = d.indexOf(Le), $;
|
|
1328
|
+
a >= 0 ? $ = a + Le.length : $ = 0;
|
|
1329
|
+
var s = d.indexOf(se);
|
|
1330
|
+
i += d.substring($, s);
|
|
1331
1331
|
}
|
|
1332
1332
|
var l = i.indexOf(Cn);
|
|
1333
1333
|
if (l > 0 && (i = i.substring(0, l)), i !== "")
|
|
1334
1334
|
return i;
|
|
1335
1335
|
}
|
|
1336
|
-
var Nn = 250,
|
|
1337
|
-
function On(
|
|
1336
|
+
var Nn = 250, In = new RegExp("[" + me + h + "]"), Fn = new RegExp("[^" + h + "#]+$");
|
|
1337
|
+
function On(d, t, n) {
|
|
1338
1338
|
if (t = t || {}, n = new g(n), t.defaultCountry && !n.hasCountry(t.defaultCountry))
|
|
1339
1339
|
throw t.v2 ? new P("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
|
|
1340
|
-
var r = An(
|
|
1340
|
+
var r = An(d, t.v2, t.extract), i = r.number, a = r.ext, $ = r.error;
|
|
1341
1341
|
if (!i) {
|
|
1342
1342
|
if (t.v2)
|
|
1343
1343
|
throw $ === "TOO_SHORT" ? new P("TOO_SHORT") : new P("NOT_A_NUMBER");
|
|
@@ -1349,7 +1349,7 @@ function On(e, t, n) {
|
|
|
1349
1349
|
throw new P("INVALID_COUNTRY");
|
|
1350
1350
|
return {};
|
|
1351
1351
|
}
|
|
1352
|
-
if (!u || u.length <
|
|
1352
|
+
if (!u || u.length < fe) {
|
|
1353
1353
|
if (t.v2)
|
|
1354
1354
|
throw new P("TOO_SHORT");
|
|
1355
1355
|
return {};
|
|
@@ -1369,27 +1369,27 @@ function On(e, t, n) {
|
|
|
1369
1369
|
countryCallingCode: m,
|
|
1370
1370
|
carrierCode: C,
|
|
1371
1371
|
valid: j,
|
|
1372
|
-
possible: j ? !0 : !!(t.extended === !0 && n.possibleLengths() &&
|
|
1372
|
+
possible: j ? !0 : !!(t.extended === !0 && n.possibleLengths() && qe(u, l, n)),
|
|
1373
1373
|
phone: u,
|
|
1374
1374
|
ext: a
|
|
1375
1375
|
} : j ? Tn(l, u, a) : {};
|
|
1376
1376
|
}
|
|
1377
|
-
function Rn(
|
|
1378
|
-
if (
|
|
1379
|
-
if (
|
|
1377
|
+
function Rn(d, t, n) {
|
|
1378
|
+
if (d) {
|
|
1379
|
+
if (d.length > Nn) {
|
|
1380
1380
|
if (n)
|
|
1381
1381
|
throw new P("TOO_LONG");
|
|
1382
1382
|
return;
|
|
1383
1383
|
}
|
|
1384
1384
|
if (t === !1)
|
|
1385
|
-
return
|
|
1386
|
-
var r =
|
|
1385
|
+
return d;
|
|
1386
|
+
var r = d.search(In);
|
|
1387
1387
|
if (!(r < 0))
|
|
1388
|
-
return
|
|
1388
|
+
return d.slice(r).replace(Fn, "");
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
|
-
function An(
|
|
1392
|
-
var r = _n(
|
|
1391
|
+
function An(d, t, n) {
|
|
1392
|
+
var r = _n(d, {
|
|
1393
1393
|
extractFormattedPhoneNumber: function($) {
|
|
1394
1394
|
return Rn($, n, t);
|
|
1395
1395
|
}
|
|
@@ -1405,26 +1405,26 @@ function An(e, t, n) {
|
|
|
1405
1405
|
number: r
|
|
1406
1406
|
};
|
|
1407
1407
|
}
|
|
1408
|
-
function Tn(
|
|
1408
|
+
function Tn(d, t, n) {
|
|
1409
1409
|
var r = {
|
|
1410
|
-
country:
|
|
1410
|
+
country: d,
|
|
1411
1411
|
phone: t
|
|
1412
1412
|
};
|
|
1413
1413
|
return n && (r.ext = n), r;
|
|
1414
1414
|
}
|
|
1415
|
-
function Sn(
|
|
1416
|
-
var i =
|
|
1415
|
+
function Sn(d, t, n, r) {
|
|
1416
|
+
var i = ed(Me(d), void 0, t, n, r.metadata), a = i.countryCallingCodeSource, $ = i.countryCallingCode, s = i.number, l;
|
|
1417
1417
|
if ($)
|
|
1418
1418
|
r.selectNumberingPlan($);
|
|
1419
1419
|
else if (s && (t || n))
|
|
1420
|
-
r.selectNumberingPlan(t, n), t && (l = t), $ = n ||
|
|
1420
|
+
r.selectNumberingPlan(t, n), t && (l = t), $ = n || le(t, r.metadata);
|
|
1421
1421
|
else return {};
|
|
1422
1422
|
if (!s)
|
|
1423
1423
|
return {
|
|
1424
1424
|
countryCallingCodeSource: a,
|
|
1425
1425
|
countryCallingCode: $
|
|
1426
1426
|
};
|
|
1427
|
-
var u =
|
|
1427
|
+
var u = ie(Me(s), l, r), m = u.nationalNumber, y = u.carrierCode, C = Qe($, {
|
|
1428
1428
|
nationalNumber: m,
|
|
1429
1429
|
metadata: r
|
|
1430
1430
|
});
|
|
@@ -1436,128 +1436,128 @@ function Sn(e, t, n, r) {
|
|
|
1436
1436
|
carrierCode: y
|
|
1437
1437
|
};
|
|
1438
1438
|
}
|
|
1439
|
-
function k(
|
|
1439
|
+
function k(d) {
|
|
1440
1440
|
"@babel/helpers - typeof";
|
|
1441
1441
|
return k = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1442
1442
|
return typeof t;
|
|
1443
1443
|
} : function(t) {
|
|
1444
1444
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1445
|
-
}, k(
|
|
1445
|
+
}, k(d);
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1448
|
-
var n = Object.keys(
|
|
1447
|
+
function we(d, t) {
|
|
1448
|
+
var n = Object.keys(d);
|
|
1449
1449
|
if (Object.getOwnPropertySymbols) {
|
|
1450
|
-
var r = Object.getOwnPropertySymbols(
|
|
1450
|
+
var r = Object.getOwnPropertySymbols(d);
|
|
1451
1451
|
t && (r = r.filter(function(i) {
|
|
1452
|
-
return Object.getOwnPropertyDescriptor(
|
|
1452
|
+
return Object.getOwnPropertyDescriptor(d, i).enumerable;
|
|
1453
1453
|
})), n.push.apply(n, r);
|
|
1454
1454
|
}
|
|
1455
1455
|
return n;
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function je(d) {
|
|
1458
1458
|
for (var t = 1; t < arguments.length; t++) {
|
|
1459
1459
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1460
|
-
t % 2 ?
|
|
1461
|
-
xn(
|
|
1462
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1463
|
-
Object.defineProperty(
|
|
1460
|
+
t % 2 ? we(Object(n), !0).forEach(function(r) {
|
|
1461
|
+
xn(d, r, n[r]);
|
|
1462
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(n)) : we(Object(n)).forEach(function(r) {
|
|
1463
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1464
1464
|
});
|
|
1465
1465
|
}
|
|
1466
|
-
return
|
|
1466
|
+
return d;
|
|
1467
1467
|
}
|
|
1468
|
-
function xn(
|
|
1469
|
-
return (t = Mn(t)) in
|
|
1468
|
+
function xn(d, t, n) {
|
|
1469
|
+
return (t = Mn(t)) in d ? Object.defineProperty(d, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = n, d;
|
|
1470
1470
|
}
|
|
1471
|
-
function Mn(
|
|
1472
|
-
var t = Dn(
|
|
1471
|
+
function Mn(d) {
|
|
1472
|
+
var t = Dn(d, "string");
|
|
1473
1473
|
return k(t) == "symbol" ? t : t + "";
|
|
1474
1474
|
}
|
|
1475
|
-
function Dn(
|
|
1476
|
-
if (k(
|
|
1477
|
-
var n =
|
|
1475
|
+
function Dn(d, t) {
|
|
1476
|
+
if (k(d) != "object" || !d) return d;
|
|
1477
|
+
var n = d[Symbol.toPrimitive];
|
|
1478
1478
|
if (n !== void 0) {
|
|
1479
|
-
var r = n.call(
|
|
1479
|
+
var r = n.call(d, t || "default");
|
|
1480
1480
|
if (k(r) != "object") return r;
|
|
1481
1481
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1482
1482
|
}
|
|
1483
|
-
return (t === "string" ? String : Number)(
|
|
1483
|
+
return (t === "string" ? String : Number)(d);
|
|
1484
1484
|
}
|
|
1485
|
-
function Ln(
|
|
1486
|
-
return On(
|
|
1485
|
+
function Ln(d, t, n) {
|
|
1486
|
+
return On(d, je(je({}, t), {}, {
|
|
1487
1487
|
v2: !0
|
|
1488
1488
|
}), n);
|
|
1489
1489
|
}
|
|
1490
|
-
function H(
|
|
1490
|
+
function H(d) {
|
|
1491
1491
|
"@babel/helpers - typeof";
|
|
1492
1492
|
return H = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1493
1493
|
return typeof t;
|
|
1494
1494
|
} : function(t) {
|
|
1495
1495
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1496
|
-
}, H(
|
|
1496
|
+
}, H(d);
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1499
|
-
var n = Object.keys(
|
|
1498
|
+
function Be(d, t) {
|
|
1499
|
+
var n = Object.keys(d);
|
|
1500
1500
|
if (Object.getOwnPropertySymbols) {
|
|
1501
|
-
var r = Object.getOwnPropertySymbols(
|
|
1501
|
+
var r = Object.getOwnPropertySymbols(d);
|
|
1502
1502
|
t && (r = r.filter(function(i) {
|
|
1503
|
-
return Object.getOwnPropertyDescriptor(
|
|
1503
|
+
return Object.getOwnPropertyDescriptor(d, i).enumerable;
|
|
1504
1504
|
})), n.push.apply(n, r);
|
|
1505
1505
|
}
|
|
1506
1506
|
return n;
|
|
1507
1507
|
}
|
|
1508
|
-
function wn(
|
|
1508
|
+
function wn(d) {
|
|
1509
1509
|
for (var t = 1; t < arguments.length; t++) {
|
|
1510
1510
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1511
|
-
t % 2 ?
|
|
1512
|
-
jn(
|
|
1513
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1514
|
-
Object.defineProperty(
|
|
1511
|
+
t % 2 ? Be(Object(n), !0).forEach(function(r) {
|
|
1512
|
+
jn(d, r, n[r]);
|
|
1513
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(n)) : Be(Object(n)).forEach(function(r) {
|
|
1514
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1515
1515
|
});
|
|
1516
1516
|
}
|
|
1517
|
-
return
|
|
1517
|
+
return d;
|
|
1518
1518
|
}
|
|
1519
|
-
function jn(
|
|
1520
|
-
return (t = Bn(t)) in
|
|
1519
|
+
function jn(d, t, n) {
|
|
1520
|
+
return (t = Bn(t)) in d ? Object.defineProperty(d, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = n, d;
|
|
1521
1521
|
}
|
|
1522
|
-
function Bn(
|
|
1523
|
-
var t = Un(
|
|
1522
|
+
function Bn(d) {
|
|
1523
|
+
var t = Un(d, "string");
|
|
1524
1524
|
return H(t) == "symbol" ? t : t + "";
|
|
1525
1525
|
}
|
|
1526
|
-
function Un(
|
|
1527
|
-
if (H(
|
|
1528
|
-
var n =
|
|
1526
|
+
function Un(d, t) {
|
|
1527
|
+
if (H(d) != "object" || !d) return d;
|
|
1528
|
+
var n = d[Symbol.toPrimitive];
|
|
1529
1529
|
if (n !== void 0) {
|
|
1530
|
-
var r = n.call(
|
|
1530
|
+
var r = n.call(d, t || "default");
|
|
1531
1531
|
if (H(r) != "object") return r;
|
|
1532
1532
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1533
1533
|
}
|
|
1534
|
-
return (t === "string" ? String : Number)(
|
|
1534
|
+
return (t === "string" ? String : Number)(d);
|
|
1535
1535
|
}
|
|
1536
|
-
function Gn(
|
|
1537
|
-
return Kn(
|
|
1536
|
+
function Gn(d, t) {
|
|
1537
|
+
return Kn(d) || Vn(d, t) || Hn(d, t) || kn();
|
|
1538
1538
|
}
|
|
1539
1539
|
function kn() {
|
|
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 Hn(
|
|
1544
|
-
if (
|
|
1545
|
-
if (typeof
|
|
1546
|
-
var n = {}.toString.call(
|
|
1547
|
-
return n === "Object" &&
|
|
1543
|
+
function Hn(d, t) {
|
|
1544
|
+
if (d) {
|
|
1545
|
+
if (typeof d == "string") return Ue(d, t);
|
|
1546
|
+
var n = {}.toString.call(d).slice(8, -1);
|
|
1547
|
+
return n === "Object" && d.constructor && (n = d.constructor.name), n === "Map" || n === "Set" ? Array.from(d) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ue(d, t) : void 0;
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
1550
|
-
function
|
|
1551
|
-
(t == null || t >
|
|
1552
|
-
for (var n = 0, r = Array(t); n < t; n++) r[n] =
|
|
1550
|
+
function Ue(d, t) {
|
|
1551
|
+
(t == null || t > d.length) && (t = d.length);
|
|
1552
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = d[n];
|
|
1553
1553
|
return r;
|
|
1554
1554
|
}
|
|
1555
|
-
function Vn(
|
|
1556
|
-
var n =
|
|
1555
|
+
function Vn(d, t) {
|
|
1556
|
+
var n = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
|
1557
1557
|
if (n != null) {
|
|
1558
1558
|
var r, i, a, $, s = [], l = !0, u = !1;
|
|
1559
1559
|
try {
|
|
1560
|
-
if (a = (n = n.call(
|
|
1560
|
+
if (a = (n = n.call(d)).next, t !== 0) for (; !(l = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); l = !0) ;
|
|
1561
1561
|
} catch (m) {
|
|
1562
1562
|
u = !0, i = m;
|
|
1563
1563
|
} finally {
|
|
@@ -1570,11 +1570,11 @@ function Vn(e, t) {
|
|
|
1570
1570
|
return s;
|
|
1571
1571
|
}
|
|
1572
1572
|
}
|
|
1573
|
-
function Kn(
|
|
1574
|
-
if (Array.isArray(
|
|
1573
|
+
function Kn(d) {
|
|
1574
|
+
if (Array.isArray(d)) return d;
|
|
1575
1575
|
}
|
|
1576
|
-
function Wn(
|
|
1577
|
-
var t = Array.prototype.slice.call(
|
|
1576
|
+
function Wn(d) {
|
|
1577
|
+
var t = Array.prototype.slice.call(d), n = Gn(t, 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.");
|
|
@@ -1591,111 +1591,111 @@ function Wn(e) {
|
|
|
1591
1591
|
metadata: u
|
|
1592
1592
|
};
|
|
1593
1593
|
}
|
|
1594
|
-
function V(
|
|
1594
|
+
function V(d) {
|
|
1595
1595
|
"@babel/helpers - typeof";
|
|
1596
1596
|
return V = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1597
1597
|
return typeof t;
|
|
1598
1598
|
} : function(t) {
|
|
1599
1599
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1600
|
-
}, V(
|
|
1600
|
+
}, V(d);
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1603
|
-
var n = Object.keys(
|
|
1602
|
+
function Ge(d, t) {
|
|
1603
|
+
var n = Object.keys(d);
|
|
1604
1604
|
if (Object.getOwnPropertySymbols) {
|
|
1605
|
-
var r = Object.getOwnPropertySymbols(
|
|
1605
|
+
var r = Object.getOwnPropertySymbols(d);
|
|
1606
1606
|
t && (r = r.filter(function(i) {
|
|
1607
|
-
return Object.getOwnPropertyDescriptor(
|
|
1607
|
+
return Object.getOwnPropertyDescriptor(d, i).enumerable;
|
|
1608
1608
|
})), n.push.apply(n, r);
|
|
1609
1609
|
}
|
|
1610
1610
|
return n;
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1612
|
+
function ke(d) {
|
|
1613
1613
|
for (var t = 1; t < arguments.length; t++) {
|
|
1614
1614
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1615
|
-
t % 2 ?
|
|
1616
|
-
zn(
|
|
1617
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1618
|
-
Object.defineProperty(
|
|
1615
|
+
t % 2 ? Ge(Object(n), !0).forEach(function(r) {
|
|
1616
|
+
zn(d, r, n[r]);
|
|
1617
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(n)) : Ge(Object(n)).forEach(function(r) {
|
|
1618
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
1621
|
-
return
|
|
1621
|
+
return d;
|
|
1622
1622
|
}
|
|
1623
|
-
function zn(
|
|
1624
|
-
return (t = Yn(t)) in
|
|
1623
|
+
function zn(d, t, n) {
|
|
1624
|
+
return (t = Yn(t)) in d ? Object.defineProperty(d, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = n, d;
|
|
1625
1625
|
}
|
|
1626
|
-
function Yn(
|
|
1627
|
-
var t = Xn(
|
|
1626
|
+
function Yn(d) {
|
|
1627
|
+
var t = Xn(d, "string");
|
|
1628
1628
|
return V(t) == "symbol" ? t : t + "";
|
|
1629
1629
|
}
|
|
1630
|
-
function Xn(
|
|
1631
|
-
if (V(
|
|
1632
|
-
var n =
|
|
1630
|
+
function Xn(d, t) {
|
|
1631
|
+
if (V(d) != "object" || !d) return d;
|
|
1632
|
+
var n = d[Symbol.toPrimitive];
|
|
1633
1633
|
if (n !== void 0) {
|
|
1634
|
-
var r = n.call(
|
|
1634
|
+
var r = n.call(d, t || "default");
|
|
1635
1635
|
if (V(r) != "object") return r;
|
|
1636
1636
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1637
1637
|
}
|
|
1638
|
-
return (t === "string" ? String : Number)(
|
|
1638
|
+
return (t === "string" ? String : Number)(d);
|
|
1639
1639
|
}
|
|
1640
|
-
function Zn(
|
|
1641
|
-
t && t.defaultCountry && !qd(t.defaultCountry, n) && (t =
|
|
1640
|
+
function Zn(d, t, n) {
|
|
1641
|
+
t && t.defaultCountry && !qd(t.defaultCountry, n) && (t = ke(ke({}, t), {}, {
|
|
1642
1642
|
defaultCountry: void 0
|
|
1643
1643
|
}));
|
|
1644
1644
|
try {
|
|
1645
|
-
return Ln(
|
|
1645
|
+
return Ln(d, t, n);
|
|
1646
1646
|
} catch (r) {
|
|
1647
1647
|
if (!(r instanceof P)) throw r;
|
|
1648
1648
|
}
|
|
1649
1649
|
}
|
|
1650
|
-
function K(
|
|
1650
|
+
function K(d) {
|
|
1651
1651
|
"@babel/helpers - typeof";
|
|
1652
1652
|
return K = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1653
1653
|
return typeof t;
|
|
1654
1654
|
} : function(t) {
|
|
1655
1655
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1656
|
-
}, K(
|
|
1656
|
+
}, K(d);
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1659
|
-
var n = Object.keys(
|
|
1658
|
+
function He(d, t) {
|
|
1659
|
+
var n = Object.keys(d);
|
|
1660
1660
|
if (Object.getOwnPropertySymbols) {
|
|
1661
|
-
var r = Object.getOwnPropertySymbols(
|
|
1661
|
+
var r = Object.getOwnPropertySymbols(d);
|
|
1662
1662
|
t && (r = r.filter(function(i) {
|
|
1663
|
-
return Object.getOwnPropertyDescriptor(
|
|
1663
|
+
return Object.getOwnPropertyDescriptor(d, i).enumerable;
|
|
1664
1664
|
})), n.push.apply(n, r);
|
|
1665
1665
|
}
|
|
1666
1666
|
return n;
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function Ve(d) {
|
|
1669
1669
|
for (var t = 1; t < arguments.length; t++) {
|
|
1670
1670
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1671
|
-
t % 2 ?
|
|
1672
|
-
Jn(
|
|
1673
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1674
|
-
Object.defineProperty(
|
|
1671
|
+
t % 2 ? He(Object(n), !0).forEach(function(r) {
|
|
1672
|
+
Jn(d, r, n[r]);
|
|
1673
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(n)) : He(Object(n)).forEach(function(r) {
|
|
1674
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1675
1675
|
});
|
|
1676
1676
|
}
|
|
1677
|
-
return
|
|
1677
|
+
return d;
|
|
1678
1678
|
}
|
|
1679
|
-
function Jn(
|
|
1680
|
-
return (t = qn(t)) in
|
|
1679
|
+
function Jn(d, t, n) {
|
|
1680
|
+
return (t = qn(t)) in d ? Object.defineProperty(d, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = n, d;
|
|
1681
1681
|
}
|
|
1682
|
-
function qn(
|
|
1683
|
-
var t = Qn(
|
|
1682
|
+
function qn(d) {
|
|
1683
|
+
var t = Qn(d, "string");
|
|
1684
1684
|
return K(t) == "symbol" ? t : t + "";
|
|
1685
1685
|
}
|
|
1686
|
-
function Qn(
|
|
1687
|
-
if (K(
|
|
1688
|
-
var n =
|
|
1686
|
+
function Qn(d, t) {
|
|
1687
|
+
if (K(d) != "object" || !d) return d;
|
|
1688
|
+
var n = d[Symbol.toPrimitive];
|
|
1689
1689
|
if (n !== void 0) {
|
|
1690
|
-
var r = n.call(
|
|
1690
|
+
var r = n.call(d, t || "default");
|
|
1691
1691
|
if (K(r) != "object") return r;
|
|
1692
1692
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1693
1693
|
}
|
|
1694
|
-
return (t === "string" ? String : Number)(
|
|
1694
|
+
return (t === "string" ? String : Number)(d);
|
|
1695
1695
|
}
|
|
1696
1696
|
function e0() {
|
|
1697
|
-
var
|
|
1698
|
-
n =
|
|
1697
|
+
var d = Wn(arguments), t = d.text, n = d.options, r = d.metadata;
|
|
1698
|
+
n = Ve(Ve({}, n), {}, {
|
|
1699
1699
|
extract: !1
|
|
1700
1700
|
});
|
|
1701
1701
|
var i = Zn(t, n, r);
|
|
@@ -1710,18 +1710,18 @@ const t0 = {
|
|
|
1710
1710
|
_id: "oid",
|
|
1711
1711
|
business: "oid"
|
|
1712
1712
|
}
|
|
1713
|
-
}, n0 =
|
|
1713
|
+
}, n0 = e.enum(["DYNAMIC", "STATIC"]), C1 = e.object({
|
|
1714
1714
|
_id: o,
|
|
1715
1715
|
rule: M,
|
|
1716
|
-
name:
|
|
1716
|
+
name: e.string().min(1),
|
|
1717
1717
|
business: o,
|
|
1718
|
-
members:
|
|
1719
|
-
memberCount:
|
|
1720
|
-
lastUpdated:
|
|
1718
|
+
members: e.array(o),
|
|
1719
|
+
memberCount: e.number().optional(),
|
|
1720
|
+
lastUpdated: e.coerce.date().nullish(),
|
|
1721
1721
|
type: n0.nullish(),
|
|
1722
|
-
isActive:
|
|
1723
|
-
importFile:
|
|
1724
|
-
}).describe(b.describe(t0)), r0 =
|
|
1722
|
+
isActive: e.boolean().nullish(),
|
|
1723
|
+
importFile: e.string().nullish()
|
|
1724
|
+
}).describe(b.describe(t0)), r0 = e.enum([
|
|
1725
1725
|
"PORTAL",
|
|
1726
1726
|
"BENEFIT",
|
|
1727
1727
|
"STORE",
|
|
@@ -1745,7 +1745,7 @@ const t0 = {
|
|
|
1745
1745
|
"REFERRAL_REWARD",
|
|
1746
1746
|
"ORDER_APP-CLAIM",
|
|
1747
1747
|
"ORDER_APP-APPLY"
|
|
1748
|
-
]), Q =
|
|
1748
|
+
]), Q = e.string(), ee = e.record(e.string(), e.any()).nullish(), i0 = {
|
|
1749
1749
|
collectionName: "Transactions",
|
|
1750
1750
|
transform: {
|
|
1751
1751
|
_id: "oid",
|
|
@@ -1766,50 +1766,50 @@ const t0 = {
|
|
|
1766
1766
|
as: "pf_collectible"
|
|
1767
1767
|
}
|
|
1768
1768
|
}
|
|
1769
|
-
},
|
|
1769
|
+
}, rd = e.object({
|
|
1770
1770
|
_id: o,
|
|
1771
1771
|
user: o.nullable(),
|
|
1772
1772
|
collectible: o,
|
|
1773
1773
|
collection: o,
|
|
1774
1774
|
business: o,
|
|
1775
|
-
amount:
|
|
1776
|
-
expiryAmount:
|
|
1777
|
-
from:
|
|
1778
|
-
to:
|
|
1775
|
+
amount: e.number(),
|
|
1776
|
+
expiryAmount: e.array(e.lazy(() => ge)),
|
|
1777
|
+
from: e.lazy(() => v),
|
|
1778
|
+
to: e.lazy(() => v),
|
|
1779
1779
|
source: Q,
|
|
1780
|
-
ref:
|
|
1781
|
-
refunded:
|
|
1780
|
+
ref: e.string(),
|
|
1781
|
+
refunded: e.boolean().optional(),
|
|
1782
1782
|
refundedFrom: o.optional(),
|
|
1783
1783
|
metadata: ee,
|
|
1784
|
-
createdAt:
|
|
1785
|
-
pf_user:
|
|
1786
|
-
pf_collectible:
|
|
1787
|
-
pf_collection:
|
|
1788
|
-
totalAmount:
|
|
1784
|
+
createdAt: e.coerce.date().optional(),
|
|
1785
|
+
pf_user: e.any().optional(),
|
|
1786
|
+
pf_collectible: e.any().optional(),
|
|
1787
|
+
pf_collection: e.any().optional(),
|
|
1788
|
+
totalAmount: e.number().optional()
|
|
1789
1789
|
}).describe(b.describe(i0));
|
|
1790
|
-
|
|
1791
|
-
amount:
|
|
1792
|
-
expiryAmount:
|
|
1793
|
-
collection:
|
|
1790
|
+
e.object({
|
|
1791
|
+
amount: e.number(),
|
|
1792
|
+
expiryAmount: e.array(e.lazy(() => ge)),
|
|
1793
|
+
collection: e.lazy(() => Y),
|
|
1794
1794
|
source: Q,
|
|
1795
|
-
ref:
|
|
1796
|
-
from:
|
|
1797
|
-
to:
|
|
1795
|
+
ref: e.string(),
|
|
1796
|
+
from: e.lazy(() => v).optional(),
|
|
1797
|
+
to: e.lazy(() => v),
|
|
1798
1798
|
metadata: ee,
|
|
1799
|
-
refunded:
|
|
1799
|
+
refunded: e.boolean().optional(),
|
|
1800
1800
|
refundedFrom: o.optional()
|
|
1801
1801
|
});
|
|
1802
|
-
|
|
1803
|
-
id:
|
|
1802
|
+
e.object({
|
|
1803
|
+
id: e.string()
|
|
1804
1804
|
});
|
|
1805
1805
|
r0.options;
|
|
1806
|
-
const
|
|
1806
|
+
const id = e.enum(["NORMAL", "EXPIRABLE"]), ge = e.object({
|
|
1807
1807
|
_id: o,
|
|
1808
|
-
amount:
|
|
1809
|
-
expiredAt:
|
|
1810
|
-
}), v =
|
|
1811
|
-
balance:
|
|
1812
|
-
expiryBalance:
|
|
1808
|
+
amount: e.number(),
|
|
1809
|
+
expiredAt: e.coerce.date()
|
|
1810
|
+
}), v = e.object({
|
|
1811
|
+
balance: e.number(),
|
|
1812
|
+
expiryBalance: e.array(ge).optional()
|
|
1813
1813
|
}), o0 = {
|
|
1814
1814
|
collectionName: "Collections",
|
|
1815
1815
|
transform: {
|
|
@@ -1829,35 +1829,35 @@ const rd = d.enum(["NORMAL", "EXPIRABLE"]), be = d.object({
|
|
|
1829
1829
|
fromCollection: "CollectibleConfigs"
|
|
1830
1830
|
}
|
|
1831
1831
|
}
|
|
1832
|
-
}, Y =
|
|
1832
|
+
}, Y = e.object({
|
|
1833
1833
|
_id: o,
|
|
1834
1834
|
business: o,
|
|
1835
1835
|
user: o.nullish(),
|
|
1836
|
-
code:
|
|
1836
|
+
code: e.string().optional(),
|
|
1837
1837
|
collectible: o,
|
|
1838
|
-
type:
|
|
1838
|
+
type: Xe,
|
|
1839
1839
|
extras: Dd.nullish(),
|
|
1840
1840
|
options: Ld,
|
|
1841
|
-
ref:
|
|
1842
|
-
deactivatedAt:
|
|
1843
|
-
pf_user:
|
|
1844
|
-
pf_collectible:
|
|
1845
|
-
pf_campaign:
|
|
1846
|
-
}).merge(v).describe(b.describe(o0)), D =
|
|
1847
|
-
amount:
|
|
1848
|
-
ref:
|
|
1841
|
+
ref: e.string().nullish(),
|
|
1842
|
+
deactivatedAt: e.date().nullish(),
|
|
1843
|
+
pf_user: e.any().optional(),
|
|
1844
|
+
pf_collectible: e.any().optional(),
|
|
1845
|
+
pf_campaign: e.any().optional()
|
|
1846
|
+
}).merge(v).describe(b.describe(o0)), D = e.object({
|
|
1847
|
+
amount: e.number(),
|
|
1848
|
+
ref: e.string(),
|
|
1849
1849
|
source: Q,
|
|
1850
1850
|
metadata: ee
|
|
1851
1851
|
});
|
|
1852
1852
|
D.extend({
|
|
1853
|
-
code:
|
|
1853
|
+
code: e.string().optional(),
|
|
1854
1854
|
collectible: o,
|
|
1855
1855
|
channelConfig: Z.nullish(),
|
|
1856
1856
|
business: o,
|
|
1857
1857
|
user: o.nullable()
|
|
1858
1858
|
});
|
|
1859
1859
|
D.extend({
|
|
1860
|
-
codes:
|
|
1860
|
+
codes: e.array(e.string()),
|
|
1861
1861
|
collectible: o,
|
|
1862
1862
|
channelConfig: Z.nullish(),
|
|
1863
1863
|
business: o,
|
|
@@ -1867,96 +1867,96 @@ D.extend({
|
|
|
1867
1867
|
user: o,
|
|
1868
1868
|
business: o,
|
|
1869
1869
|
collectible: o,
|
|
1870
|
-
expiredAt:
|
|
1870
|
+
expiredAt: e.date({ coerce: !0 }).nullish()
|
|
1871
1871
|
});
|
|
1872
1872
|
D.extend({
|
|
1873
1873
|
id: o,
|
|
1874
|
-
code:
|
|
1875
|
-
type:
|
|
1876
|
-
skipValidateOption:
|
|
1874
|
+
code: e.string().optional(),
|
|
1875
|
+
type: id.optional(),
|
|
1876
|
+
skipValidateOption: e.boolean().optional()
|
|
1877
1877
|
});
|
|
1878
|
-
|
|
1878
|
+
e.object({
|
|
1879
1879
|
collection: o,
|
|
1880
1880
|
to: o,
|
|
1881
|
-
ref:
|
|
1881
|
+
ref: e.string(),
|
|
1882
1882
|
source: Q,
|
|
1883
1883
|
metadata: ee
|
|
1884
1884
|
});
|
|
1885
|
-
const a0 =
|
|
1886
|
-
length:
|
|
1887
|
-
charset:
|
|
1888
|
-
prefix:
|
|
1889
|
-
suffix:
|
|
1890
|
-
pattern:
|
|
1885
|
+
const a0 = e.object({
|
|
1886
|
+
length: e.coerce.number().optional(),
|
|
1887
|
+
charset: e.string(),
|
|
1888
|
+
prefix: e.string().optional(),
|
|
1889
|
+
suffix: e.string().optional(),
|
|
1890
|
+
pattern: e.string().optional()
|
|
1891
1891
|
});
|
|
1892
|
-
|
|
1893
|
-
quantity:
|
|
1894
|
-
code:
|
|
1892
|
+
e.object({
|
|
1893
|
+
quantity: e.number(),
|
|
1894
|
+
code: e.string(),
|
|
1895
1895
|
codeConfig: a0
|
|
1896
1896
|
});
|
|
1897
|
-
const
|
|
1898
|
-
amount:
|
|
1899
|
-
day:
|
|
1900
|
-
remark:
|
|
1901
|
-
}),
|
|
1902
|
-
amount:
|
|
1903
|
-
remark:
|
|
1904
|
-
}),
|
|
1905
|
-
amount:
|
|
1906
|
-
day:
|
|
1907
|
-
remark:
|
|
1908
|
-
}),
|
|
1909
|
-
amount:
|
|
1910
|
-
remark:
|
|
1897
|
+
const P1 = e.object({
|
|
1898
|
+
amount: e.coerce.number().min(1).max(1e7).multipleOf(0.01, "Amount must be maximum of two decimal places (0.00)"),
|
|
1899
|
+
day: e.coerce.number().min(1).max(9999),
|
|
1900
|
+
remark: e.string().optional()
|
|
1901
|
+
}), v1 = e.object({
|
|
1902
|
+
amount: e.coerce.number().min(1),
|
|
1903
|
+
remark: e.string().optional()
|
|
1904
|
+
}), _1 = e.object({
|
|
1905
|
+
amount: e.coerce.number().min(1),
|
|
1906
|
+
day: e.coerce.number().min(1).max(9999).optional(),
|
|
1907
|
+
remark: e.string().optional()
|
|
1908
|
+
}), N1 = e.object({
|
|
1909
|
+
amount: e.coerce.number().min(1),
|
|
1910
|
+
remark: e.string().optional()
|
|
1911
1911
|
});
|
|
1912
1912
|
D.extend({
|
|
1913
|
-
business:
|
|
1914
|
-
user:
|
|
1915
|
-
type:
|
|
1913
|
+
business: e.string(),
|
|
1914
|
+
user: e.string(),
|
|
1915
|
+
type: id.optional()
|
|
1916
1916
|
});
|
|
1917
1917
|
D.extend({
|
|
1918
|
-
business:
|
|
1919
|
-
user:
|
|
1918
|
+
business: e.string(),
|
|
1919
|
+
user: e.string(),
|
|
1920
1920
|
channelConfig: Z.nullish()
|
|
1921
1921
|
});
|
|
1922
|
-
const
|
|
1923
|
-
memberId:
|
|
1924
|
-
amount:
|
|
1925
|
-
ref:
|
|
1922
|
+
const I1 = e.object({
|
|
1923
|
+
memberId: e.array(o).min(1),
|
|
1924
|
+
amount: e.coerce.number().min(1).max(9999).optional(),
|
|
1925
|
+
ref: e.string().optional()
|
|
1926
1926
|
});
|
|
1927
|
-
|
|
1927
|
+
e.object({
|
|
1928
1928
|
userId: o
|
|
1929
1929
|
});
|
|
1930
|
-
|
|
1930
|
+
e.lazy(
|
|
1931
1931
|
() => de.extend({
|
|
1932
|
-
coin:
|
|
1933
|
-
point:
|
|
1934
|
-
credit:
|
|
1935
|
-
voucherCount:
|
|
1936
|
-
gameCount:
|
|
1937
|
-
tier:
|
|
1938
|
-
titles:
|
|
1939
|
-
collection:
|
|
1932
|
+
coin: e.lazy(() => v),
|
|
1933
|
+
point: e.lazy(() => v),
|
|
1934
|
+
credit: e.lazy(() => v),
|
|
1935
|
+
voucherCount: e.number(),
|
|
1936
|
+
gameCount: e.number(),
|
|
1937
|
+
tier: e.lazy(() => v),
|
|
1938
|
+
titles: e.lazy(() => e.array(Y)),
|
|
1939
|
+
collection: e.record(Xe, e.array(Y)).nullish()
|
|
1940
1940
|
})
|
|
1941
1941
|
);
|
|
1942
|
-
|
|
1942
|
+
e.object({
|
|
1943
1943
|
userId: o
|
|
1944
1944
|
});
|
|
1945
|
-
const $0 =
|
|
1946
|
-
lastVisit:
|
|
1947
|
-
topupCount:
|
|
1945
|
+
const $0 = e.object({
|
|
1946
|
+
lastVisit: e.coerce.date(),
|
|
1947
|
+
topupCount: e.number(),
|
|
1948
1948
|
// { [productId]: count }
|
|
1949
|
-
products:
|
|
1950
|
-
visitCount:
|
|
1951
|
-
avgVisitFrequency:
|
|
1952
|
-
avgBillSize:
|
|
1953
|
-
feedbackCount:
|
|
1954
|
-
lastSeasonTierEarned:
|
|
1955
|
-
lastSeasonPointEarned:
|
|
1956
|
-
}), s0 =
|
|
1957
|
-
name:
|
|
1958
|
-
address:
|
|
1959
|
-
coordinates:
|
|
1949
|
+
products: e.record(e.string(), e.number()),
|
|
1950
|
+
visitCount: e.number(),
|
|
1951
|
+
avgVisitFrequency: e.number(),
|
|
1952
|
+
avgBillSize: e.number(),
|
|
1953
|
+
feedbackCount: e.number(),
|
|
1954
|
+
lastSeasonTierEarned: e.number().optional(),
|
|
1955
|
+
lastSeasonPointEarned: e.number().optional()
|
|
1956
|
+
}), s0 = e.object({
|
|
1957
|
+
name: e.string(),
|
|
1958
|
+
address: e.string(),
|
|
1959
|
+
coordinates: e.array(e.number())
|
|
1960
1960
|
}), l0 = {
|
|
1961
1961
|
collectionName: "UsersV2",
|
|
1962
1962
|
transform: {
|
|
@@ -1969,26 +1969,26 @@ const $0 = d.object({
|
|
|
1969
1969
|
fromCollection: "Segments"
|
|
1970
1970
|
}
|
|
1971
1971
|
}
|
|
1972
|
-
}, de =
|
|
1972
|
+
}, de = e.object({
|
|
1973
1973
|
// user meta
|
|
1974
1974
|
_id: o,
|
|
1975
|
-
name:
|
|
1976
|
-
birthday:
|
|
1977
|
-
gender:
|
|
1978
|
-
address:
|
|
1979
|
-
email:
|
|
1980
|
-
phoneNumber:
|
|
1981
|
-
externalMemberId:
|
|
1982
|
-
cardNo:
|
|
1983
|
-
joinAt:
|
|
1984
|
-
photoUrl:
|
|
1975
|
+
name: e.string(),
|
|
1976
|
+
birthday: e.coerce.date().nullish(),
|
|
1977
|
+
gender: e.enum(["MALE", "FEMALE"]).nullish(),
|
|
1978
|
+
address: e.array(s0).nullish(),
|
|
1979
|
+
email: e.string().email().nullish(),
|
|
1980
|
+
phoneNumber: e.string().refine((d) => d0(d)),
|
|
1981
|
+
externalMemberId: e.string().optional(),
|
|
1982
|
+
cardNo: e.string().optional(),
|
|
1983
|
+
joinAt: e.coerce.date().nullish(),
|
|
1984
|
+
photoUrl: e.string().nullish(),
|
|
1985
1985
|
location: o.nullish(),
|
|
1986
1986
|
// member meta
|
|
1987
1987
|
business: o,
|
|
1988
1988
|
stats: $0,
|
|
1989
1989
|
// segment
|
|
1990
|
-
segment:
|
|
1991
|
-
member:
|
|
1990
|
+
segment: e.array(o),
|
|
1991
|
+
member: e.boolean(),
|
|
1992
1992
|
// pf_segment: z
|
|
1993
1993
|
// .array(z.lazy(() => FdoSegment))
|
|
1994
1994
|
// .describe(
|
|
@@ -2002,75 +2002,75 @@ const $0 = d.object({
|
|
|
2002
2002
|
// .build(),
|
|
2003
2003
|
// )
|
|
2004
2004
|
// .optional(),
|
|
2005
|
-
expiringVouchers:
|
|
2006
|
-
days7:
|
|
2007
|
-
days30:
|
|
2008
|
-
days90:
|
|
2009
|
-
}).and(
|
|
2010
|
-
lastReadAt:
|
|
2011
|
-
importCollection:
|
|
2005
|
+
expiringVouchers: e.object({
|
|
2006
|
+
days7: e.number(),
|
|
2007
|
+
days30: e.number(),
|
|
2008
|
+
days90: e.number()
|
|
2009
|
+
}).and(e.record(e.string(), e.number())).optional(),
|
|
2010
|
+
lastReadAt: e.coerce.date().nullish(),
|
|
2011
|
+
importCollection: e.record(e.string(), e.number()).optional(),
|
|
2012
2012
|
// referral feature
|
|
2013
|
-
referralCode:
|
|
2014
|
-
parentReferralCode:
|
|
2015
|
-
}).describe(b.describe(l0)), u0 =
|
|
2013
|
+
referralCode: e.string().optional(),
|
|
2014
|
+
parentReferralCode: e.string().optional()
|
|
2015
|
+
}).describe(b.describe(l0)), u0 = e.object({
|
|
2016
2016
|
id: o,
|
|
2017
|
-
expiredAt:
|
|
2018
|
-
}), F1 =
|
|
2019
|
-
titles:
|
|
2020
|
-
tier:
|
|
2021
|
-
experience:
|
|
2022
|
-
cardNo:
|
|
2017
|
+
expiredAt: e.coerce.number().min(0, "Expire in days must be greater than 0").max(9999, "Expire in days must not exceed 9999")
|
|
2018
|
+
}), F1 = e.object({
|
|
2019
|
+
titles: e.array(u0).optional(),
|
|
2020
|
+
tier: e.number().optional(),
|
|
2021
|
+
experience: e.number().optional(),
|
|
2022
|
+
cardNo: e.string().optional()
|
|
2023
2023
|
});
|
|
2024
|
-
|
|
2024
|
+
e.object({
|
|
2025
2025
|
location: o,
|
|
2026
2026
|
memberId: o,
|
|
2027
2027
|
nettTotal: T,
|
|
2028
|
-
remark:
|
|
2028
|
+
remark: e.string().optional()
|
|
2029
2029
|
});
|
|
2030
|
-
const c0 =
|
|
2031
|
-
|
|
2032
|
-
id:
|
|
2033
|
-
userId:
|
|
2034
|
-
name:
|
|
2035
|
-
birthday:
|
|
2036
|
-
phoneNumber:
|
|
2037
|
-
balance:
|
|
2038
|
-
level:
|
|
2039
|
-
mostPurchasedItems:
|
|
2030
|
+
const c0 = e.enum(["COUNTER", "POS"]);
|
|
2031
|
+
e.object({
|
|
2032
|
+
id: e.string(),
|
|
2033
|
+
userId: e.string(),
|
|
2034
|
+
name: e.string().nullish(),
|
|
2035
|
+
birthday: e.string().nullish(),
|
|
2036
|
+
phoneNumber: e.string().nullish(),
|
|
2037
|
+
balance: e.number().nullish(),
|
|
2038
|
+
level: e.number().nullish(),
|
|
2039
|
+
mostPurchasedItems: e.array(e.string()).nullish()
|
|
2040
2040
|
});
|
|
2041
2041
|
const f0 = {
|
|
2042
2042
|
collectionName: "Bills"
|
|
2043
|
-
}, m0 =
|
|
2044
|
-
_id:
|
|
2045
|
-
items:
|
|
2043
|
+
}, m0 = e.object({
|
|
2044
|
+
_id: e.string(),
|
|
2045
|
+
items: e.record(e.string(), e.number()).nullish(),
|
|
2046
2046
|
// business: z.string(),
|
|
2047
2047
|
// adjustments: z.record(FdoBillAdjustment),
|
|
2048
2048
|
// refundedFrom: z.string().nullish(),
|
|
2049
|
-
user:
|
|
2050
|
-
memberid:
|
|
2049
|
+
user: e.string().nullish(),
|
|
2050
|
+
memberid: e.string().nullish(),
|
|
2051
2051
|
// roundToNearest: z.number().nullish(),
|
|
2052
2052
|
nettTotal: T,
|
|
2053
2053
|
// activeItems: z.array(z.string()),
|
|
2054
|
-
remark:
|
|
2055
|
-
createdAt:
|
|
2056
|
-
completedAt:
|
|
2057
|
-
location:
|
|
2054
|
+
remark: e.string().nullish(),
|
|
2055
|
+
createdAt: e.coerce.date(),
|
|
2056
|
+
completedAt: e.coerce.date(),
|
|
2057
|
+
location: e.string(),
|
|
2058
2058
|
channel: c0.optional()
|
|
2059
|
-
}).transform((
|
|
2060
|
-
...
|
|
2061
|
-
createdTime:
|
|
2062
|
-
completedTime:
|
|
2059
|
+
}).transform((d) => ({
|
|
2060
|
+
...d,
|
|
2061
|
+
createdTime: d.createdAt,
|
|
2062
|
+
completedTime: d.completedAt,
|
|
2063
2063
|
get amount() {
|
|
2064
|
-
return
|
|
2065
|
-
}
|
|
2066
|
-
})).describe(b.describe(f0)), p0 =
|
|
2067
|
-
_id:
|
|
2068
|
-
rating:
|
|
2069
|
-
user:
|
|
2070
|
-
restaurant:
|
|
2071
|
-
message:
|
|
2072
|
-
submittedAt:
|
|
2073
|
-
}), f =
|
|
2064
|
+
return d.nettTotal.amount / 10 ** d.nettTotal.precision;
|
|
2065
|
+
}
|
|
2066
|
+
})).describe(b.describe(f0)), p0 = e.object({
|
|
2067
|
+
_id: e.string(),
|
|
2068
|
+
rating: e.coerce.number(),
|
|
2069
|
+
user: e.string(),
|
|
2070
|
+
restaurant: e.string(),
|
|
2071
|
+
message: e.string(),
|
|
2072
|
+
submittedAt: e.coerce.date()
|
|
2073
|
+
}), f = e.enum([
|
|
2074
2074
|
"SIMPLE_CLAIM",
|
|
2075
2075
|
"LINK_CLAIM",
|
|
2076
2076
|
"BILL_COMPLETED",
|
|
@@ -2088,7 +2088,7 @@ const f0 = {
|
|
|
2088
2088
|
"REFERRAL_ADDED",
|
|
2089
2089
|
"MEMBER_IMPORTED",
|
|
2090
2090
|
"SEGMENTATION_IMPORTED"
|
|
2091
|
-
]),
|
|
2091
|
+
]), O1 = f.extract([
|
|
2092
2092
|
"BILL_COMPLETED",
|
|
2093
2093
|
"FEEDBACK",
|
|
2094
2094
|
"GAME_COMPLETED",
|
|
@@ -2099,50 +2099,50 @@ const f0 = {
|
|
|
2099
2099
|
"TIER_UPGRADED",
|
|
2100
2100
|
"ISSUE_REWARD"
|
|
2101
2101
|
]);
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
const g0 =
|
|
2102
|
+
e.enum(["START_OF", "BEFORE"]);
|
|
2103
|
+
e.enum(["WEEK", "MONTH"]);
|
|
2104
|
+
const g0 = e.enum([
|
|
2105
2105
|
"WAITING",
|
|
2106
2106
|
"ACTIVE",
|
|
2107
2107
|
"COMPLETED",
|
|
2108
2108
|
"FAILED"
|
|
2109
|
-
]), p =
|
|
2109
|
+
]), p = e.object({
|
|
2110
2110
|
// type: F_EVENT_TYPE,
|
|
2111
2111
|
rule: M.optional()
|
|
2112
2112
|
}), b0 = p.extend({
|
|
2113
|
-
type:
|
|
2113
|
+
type: e.literal(f.enum.BILL_COMPLETED)
|
|
2114
2114
|
}), y0 = p.extend({
|
|
2115
|
-
type:
|
|
2115
|
+
type: e.literal(f.enum.FEEDBACK)
|
|
2116
2116
|
}), h0 = p.extend({
|
|
2117
|
-
type:
|
|
2117
|
+
type: e.literal(f.enum.SIMPLE_CLAIM)
|
|
2118
2118
|
});
|
|
2119
2119
|
p.extend({
|
|
2120
|
-
type:
|
|
2121
|
-
segment:
|
|
2120
|
+
type: e.literal(f.enum.ENTER_SEGMENT),
|
|
2121
|
+
segment: e.string()
|
|
2122
2122
|
});
|
|
2123
2123
|
const E0 = p.extend({
|
|
2124
|
-
type:
|
|
2124
|
+
type: e.literal(f.enum.MEMBER_REWARD)
|
|
2125
2125
|
}), C0 = p.extend({
|
|
2126
|
-
type:
|
|
2126
|
+
type: e.literal(f.enum.SCHEDULE)
|
|
2127
2127
|
// option: FdoCronRule,
|
|
2128
2128
|
}), P0 = p.extend({
|
|
2129
|
-
type:
|
|
2129
|
+
type: e.literal(f.enum.MEMBERSHIP_JOINED)
|
|
2130
2130
|
}), v0 = p.extend({
|
|
2131
|
-
type:
|
|
2131
|
+
type: e.literal(f.enum.TIER_UPGRADED)
|
|
2132
2132
|
}), _0 = p.extend({
|
|
2133
|
-
type:
|
|
2133
|
+
type: e.literal(f.enum.MAKING_ORDER)
|
|
2134
2134
|
}), N0 = p.extend({
|
|
2135
|
-
type:
|
|
2136
|
-
}),
|
|
2137
|
-
type:
|
|
2135
|
+
type: e.literal(f.enum.ISSUE_REWARD)
|
|
2136
|
+
}), I0 = p.extend({
|
|
2137
|
+
type: e.literal(f.enum.GAME_COMPLETED)
|
|
2138
2138
|
});
|
|
2139
2139
|
p.extend({
|
|
2140
|
-
type:
|
|
2140
|
+
type: e.literal(f.enum.REFERRAL_ADDED)
|
|
2141
2141
|
});
|
|
2142
2142
|
p.extend({
|
|
2143
|
-
type:
|
|
2143
|
+
type: e.literal(f.enum.MEMBER_IMPORTED)
|
|
2144
2144
|
});
|
|
2145
|
-
const
|
|
2145
|
+
const F0 = e.discriminatedUnion("type", [
|
|
2146
2146
|
h0,
|
|
2147
2147
|
b0,
|
|
2148
2148
|
C0,
|
|
@@ -2152,93 +2152,93 @@ const I0 = d.discriminatedUnion("type", [
|
|
|
2152
2152
|
_0,
|
|
2153
2153
|
N0,
|
|
2154
2154
|
E0,
|
|
2155
|
-
|
|
2155
|
+
I0
|
|
2156
2156
|
]);
|
|
2157
|
-
|
|
2157
|
+
e.object({
|
|
2158
2158
|
_id: o,
|
|
2159
2159
|
type: f,
|
|
2160
|
-
ref:
|
|
2160
|
+
ref: e.string(),
|
|
2161
2161
|
status: g0.optional(),
|
|
2162
|
-
context:
|
|
2163
|
-
failedReason:
|
|
2162
|
+
context: e.record(e.string(), e.any()).optional(),
|
|
2163
|
+
failedReason: e.any().optional()
|
|
2164
2164
|
}).describe(JSON.stringify({ collectionName: "EventLogs" }));
|
|
2165
|
-
const E =
|
|
2165
|
+
const E = e.object({
|
|
2166
2166
|
type: f,
|
|
2167
|
-
context:
|
|
2168
|
-
businessIds:
|
|
2169
|
-
campaignIds:
|
|
2170
|
-
slackWebhookUrl:
|
|
2171
|
-
emittedAt:
|
|
2167
|
+
context: e.any(),
|
|
2168
|
+
businessIds: e.array(o).optional(),
|
|
2169
|
+
campaignIds: e.array(o).optional(),
|
|
2170
|
+
slackWebhookUrl: e.string().optional(),
|
|
2171
|
+
emittedAt: e.coerce.date().default(/* @__PURE__ */ new Date())
|
|
2172
2172
|
}), O0 = E.extend({
|
|
2173
|
-
type:
|
|
2174
|
-
context:
|
|
2173
|
+
type: e.literal(f.enum.BILL_COMPLETED),
|
|
2174
|
+
context: e.object({
|
|
2175
2175
|
bill: m0,
|
|
2176
|
-
rawBill:
|
|
2176
|
+
rawBill: e.any()
|
|
2177
2177
|
})
|
|
2178
2178
|
}), R0 = E.extend({
|
|
2179
|
-
type:
|
|
2180
|
-
context:
|
|
2181
|
-
triggeredAt:
|
|
2179
|
+
type: e.literal(f.enum.SCHEDULE),
|
|
2180
|
+
context: e.object({
|
|
2181
|
+
triggeredAt: e.coerce.date()
|
|
2182
2182
|
})
|
|
2183
2183
|
}), A0 = E.extend({
|
|
2184
|
-
type:
|
|
2185
|
-
context:
|
|
2186
|
-
triggeredAt:
|
|
2184
|
+
type: e.literal(f.enum.PAGINATE_SCHEDULE),
|
|
2185
|
+
context: e.object({
|
|
2186
|
+
triggeredAt: e.coerce.date(),
|
|
2187
2187
|
business: o,
|
|
2188
|
-
skip:
|
|
2189
|
-
limit:
|
|
2188
|
+
skip: e.coerce.number(),
|
|
2189
|
+
limit: e.coerce.number()
|
|
2190
2190
|
})
|
|
2191
2191
|
}), T0 = E.extend({
|
|
2192
|
-
type:
|
|
2193
|
-
context:
|
|
2192
|
+
type: e.literal(f.enum.FEEDBACK),
|
|
2193
|
+
context: e.object({
|
|
2194
2194
|
feedback: p0
|
|
2195
2195
|
})
|
|
2196
2196
|
}), S0 = E.extend({
|
|
2197
|
-
type:
|
|
2198
|
-
context:
|
|
2197
|
+
type: e.literal(f.enum.MEMBERSHIP_JOINED),
|
|
2198
|
+
context: e.object({
|
|
2199
2199
|
user: de
|
|
2200
2200
|
})
|
|
2201
2201
|
}), x0 = E.extend({
|
|
2202
|
-
type:
|
|
2203
|
-
context:
|
|
2204
|
-
transaction:
|
|
2202
|
+
type: e.literal(f.enum.TIER_UPGRADED),
|
|
2203
|
+
context: e.object({
|
|
2204
|
+
transaction: rd
|
|
2205
2205
|
})
|
|
2206
2206
|
}), M0 = E.extend({
|
|
2207
|
-
type:
|
|
2208
|
-
context:
|
|
2209
|
-
transaction:
|
|
2207
|
+
type: e.literal(f.enum.ISSUE_REWARD),
|
|
2208
|
+
context: e.object({
|
|
2209
|
+
transaction: rd,
|
|
2210
2210
|
collection: Y
|
|
2211
2211
|
})
|
|
2212
2212
|
}), D0 = E.extend({
|
|
2213
|
-
type:
|
|
2214
|
-
context:
|
|
2213
|
+
type: e.literal(f.enum.REFERRAL_ADDED),
|
|
2214
|
+
context: e.object({
|
|
2215
2215
|
user: de
|
|
2216
2216
|
})
|
|
2217
|
-
}),
|
|
2217
|
+
}), od = e.object({
|
|
2218
2218
|
ref: o,
|
|
2219
|
-
originalName:
|
|
2220
|
-
mimeType:
|
|
2221
|
-
size:
|
|
2222
|
-
fbFilePath:
|
|
2223
|
-
isFbFileDeleted:
|
|
2224
|
-
}), L0 =
|
|
2225
|
-
resetCollectionExpiryBalance:
|
|
2219
|
+
originalName: e.string(),
|
|
2220
|
+
mimeType: e.string(),
|
|
2221
|
+
size: e.number(),
|
|
2222
|
+
fbFilePath: e.string(),
|
|
2223
|
+
isFbFileDeleted: e.boolean().nullish()
|
|
2224
|
+
}), L0 = e.object({
|
|
2225
|
+
resetCollectionExpiryBalance: e.boolean().nullish()
|
|
2226
2226
|
}), w0 = E.extend({
|
|
2227
|
-
type:
|
|
2228
|
-
context:
|
|
2229
|
-
business:
|
|
2230
|
-
file:
|
|
2227
|
+
type: e.literal(f.enum.MEMBER_IMPORTED),
|
|
2228
|
+
context: e.object({
|
|
2229
|
+
business: e.string(),
|
|
2230
|
+
file: od,
|
|
2231
2231
|
config: L0.optional()
|
|
2232
2232
|
})
|
|
2233
2233
|
}), j0 = E.extend({
|
|
2234
|
-
type:
|
|
2235
|
-
context:
|
|
2236
|
-
business:
|
|
2237
|
-
segment:
|
|
2238
|
-
file:
|
|
2234
|
+
type: e.literal(f.enum.SEGMENTATION_IMPORTED),
|
|
2235
|
+
context: e.object({
|
|
2236
|
+
business: e.string(),
|
|
2237
|
+
segment: e.string(),
|
|
2238
|
+
file: od
|
|
2239
2239
|
})
|
|
2240
2240
|
});
|
|
2241
|
-
|
|
2241
|
+
e.discriminatedUnion("type", [
|
|
2242
2242
|
O0,
|
|
2243
2243
|
R0,
|
|
2244
2244
|
T0,
|
|
@@ -2250,217 +2250,225 @@ d.discriminatedUnion("type", [
|
|
|
2250
2250
|
w0,
|
|
2251
2251
|
j0
|
|
2252
2252
|
]);
|
|
2253
|
-
const B0 =
|
|
2254
|
-
from:
|
|
2255
|
-
to:
|
|
2256
|
-
}).superRefine((
|
|
2257
|
-
|
|
2253
|
+
const B0 = e.object({
|
|
2254
|
+
from: e.coerce.number(),
|
|
2255
|
+
to: e.coerce.number().optional()
|
|
2256
|
+
}).superRefine((d, t) => {
|
|
2257
|
+
d.from && d.to && d.from > d.to && t.addIssue({
|
|
2258
2258
|
code: "custom",
|
|
2259
2259
|
message: "Max experience must be more than min experience"
|
|
2260
2260
|
});
|
|
2261
|
-
}), U0 =
|
|
2262
|
-
|
|
2261
|
+
}), U0 = e.enum(["MULTIPLIER", "FIXED"]);
|
|
2262
|
+
e.object({
|
|
2263
2263
|
type: U0
|
|
2264
2264
|
});
|
|
2265
|
-
const G0 =
|
|
2265
|
+
const G0 = e.object({
|
|
2266
2266
|
_id: o.optional(),
|
|
2267
2267
|
rule: M,
|
|
2268
|
-
tierExpression:
|
|
2269
|
-
expExpression:
|
|
2270
|
-
}),
|
|
2268
|
+
tierExpression: e.string().nullish(),
|
|
2269
|
+
expExpression: e.string().nullish()
|
|
2270
|
+
}), be = e.object({
|
|
2271
2271
|
_id: o,
|
|
2272
|
-
name:
|
|
2273
|
-
image:
|
|
2272
|
+
name: e.string().min(1),
|
|
2273
|
+
image: e.string().nullish(),
|
|
2274
2274
|
option: B0,
|
|
2275
|
-
cycleOptions:
|
|
2276
|
-
member_count:
|
|
2275
|
+
cycleOptions: e.array(e.lazy(() => G0)).nullish(),
|
|
2276
|
+
member_count: e.number().optional()
|
|
2277
2277
|
});
|
|
2278
|
-
|
|
2278
|
+
be.partial({
|
|
2279
2279
|
_id: !0
|
|
2280
2280
|
});
|
|
2281
|
-
const
|
|
2281
|
+
const R1 = be.partial({
|
|
2282
2282
|
_id: !0
|
|
2283
|
-
}), k0 =
|
|
2284
|
-
icon:
|
|
2285
|
-
label:
|
|
2286
|
-
value:
|
|
2287
|
-
}), H0 =
|
|
2288
|
-
gatewayKey:
|
|
2283
|
+
}), k0 = e.object({
|
|
2284
|
+
icon: e.string(),
|
|
2285
|
+
label: e.string(),
|
|
2286
|
+
value: e.string()
|
|
2287
|
+
}), H0 = e.object({
|
|
2288
|
+
gatewayKey: e.enum([
|
|
2289
2289
|
"REVENUE_MONSTER",
|
|
2290
2290
|
"FEEDME",
|
|
2291
2291
|
"FEEDME_MEMBER_CREDIT",
|
|
2292
|
-
"RAZER_MERCHANT_SERVICE"
|
|
2292
|
+
"RAZER_MERCHANT_SERVICE",
|
|
2293
|
+
"E_GHL",
|
|
2294
|
+
"FEEDME_TERMINAL",
|
|
2295
|
+
"MACAU_PASS",
|
|
2296
|
+
"NETS",
|
|
2297
|
+
"FEEDME_CARD"
|
|
2293
2298
|
]),
|
|
2294
|
-
checkoutUrl:
|
|
2295
|
-
checkoutId:
|
|
2296
|
-
callbackUrl:
|
|
2297
|
-
vcode:
|
|
2298
|
-
merchantId:
|
|
2299
|
-
amount:
|
|
2300
|
-
currency:
|
|
2301
|
-
returnUrl:
|
|
2302
|
-
notifyUrl:
|
|
2303
|
-
|
|
2304
|
-
|
|
2299
|
+
checkoutUrl: e.string().optional(),
|
|
2300
|
+
checkoutId: e.string().optional(),
|
|
2301
|
+
callbackUrl: e.string().optional(),
|
|
2302
|
+
vcode: e.string().optional(),
|
|
2303
|
+
merchantId: e.string().optional(),
|
|
2304
|
+
amount: e.string().optional(),
|
|
2305
|
+
currency: e.string().optional(),
|
|
2306
|
+
returnUrl: e.string().optional(),
|
|
2307
|
+
notifyUrl: e.string().optional(),
|
|
2308
|
+
url: e.string().optional(),
|
|
2309
|
+
channels: e.array(k0).optional(),
|
|
2310
|
+
transactionId: e.string().optional()
|
|
2311
|
+
}), V0 = e.object({
|
|
2312
|
+
url: e.string(),
|
|
2313
|
+
transactionId: e.string()
|
|
2305
2314
|
});
|
|
2306
|
-
|
|
2307
|
-
trx:
|
|
2308
|
-
onlineTrx: H0.optional(),
|
|
2309
|
-
url:
|
|
2315
|
+
e.object({
|
|
2316
|
+
trx: e.lazy(() => fd),
|
|
2317
|
+
onlineTrx: H0.optional().or(V0),
|
|
2318
|
+
url: e.string().optional()
|
|
2310
2319
|
});
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2320
|
+
e.object({
|
|
2321
|
+
remaining: e.number().nullish(),
|
|
2322
|
+
isSoldOut: e.boolean()
|
|
2323
|
+
});
|
|
2324
|
+
const ad = e.enum(["POS", "APP", "ADMIN"]), $d = e.enum(["topupCount"]), K0 = e.object({
|
|
2325
|
+
line1: e.string(),
|
|
2326
|
+
line2: e.string().optional(),
|
|
2327
|
+
state: e.string(),
|
|
2328
|
+
city: e.string(),
|
|
2329
|
+
postcode: e.string(),
|
|
2330
|
+
country: e.string()
|
|
2331
|
+
}), sd = e.object({
|
|
2332
|
+
name: e.string(),
|
|
2333
|
+
regNo: e.string(),
|
|
2334
|
+
address: K0,
|
|
2335
|
+
phoneNo: e.string(),
|
|
2336
|
+
sstRegNo: e.string().optional()
|
|
2337
|
+
}), ld = e.object({
|
|
2338
|
+
systemCode: e.string(),
|
|
2339
|
+
inclusive: e.boolean()
|
|
2340
|
+
}), W0 = e.object({
|
|
2328
2341
|
id: o,
|
|
2329
|
-
dayToExpire:
|
|
2330
|
-
}),
|
|
2331
|
-
normal:
|
|
2332
|
-
free:
|
|
2333
|
-
day:
|
|
2334
|
-
amount:
|
|
2335
|
-
remark:
|
|
2342
|
+
dayToExpire: e.number().max(9999, "Max expiry is 9999 days")
|
|
2343
|
+
}), z0 = e.object({
|
|
2344
|
+
normal: e.coerce.number(),
|
|
2345
|
+
free: e.object({
|
|
2346
|
+
day: e.coerce.number(),
|
|
2347
|
+
amount: e.coerce.number(),
|
|
2348
|
+
remark: e.string().nullish()
|
|
2336
2349
|
}).nullish()
|
|
2337
|
-
}),
|
|
2338
|
-
systemCode:
|
|
2339
|
-
taxCode:
|
|
2340
|
-
}),
|
|
2341
|
-
name:
|
|
2342
|
-
systemCode:
|
|
2343
|
-
taxCode:
|
|
2350
|
+
}), Y0 = e.object({
|
|
2351
|
+
systemCode: e.string(),
|
|
2352
|
+
taxCode: e.string()
|
|
2353
|
+
}), X0 = e.object({
|
|
2354
|
+
name: e.string(),
|
|
2355
|
+
systemCode: e.string(),
|
|
2356
|
+
taxCode: e.string(),
|
|
2344
2357
|
rate: Md,
|
|
2345
2358
|
total: T
|
|
2346
2359
|
});
|
|
2347
|
-
|
|
2348
|
-
canPurchase:
|
|
2349
|
-
reason:
|
|
2360
|
+
e.object({
|
|
2361
|
+
canPurchase: e.boolean(),
|
|
2362
|
+
reason: e.string()
|
|
2350
2363
|
});
|
|
2351
|
-
|
|
2352
|
-
type:
|
|
2364
|
+
e.object({
|
|
2365
|
+
type: $d
|
|
2353
2366
|
});
|
|
2354
|
-
|
|
2355
|
-
type:
|
|
2356
|
-
min:
|
|
2357
|
-
max:
|
|
2367
|
+
e.object({
|
|
2368
|
+
type: $d,
|
|
2369
|
+
min: e.number().nullish(),
|
|
2370
|
+
max: e.number().nullish()
|
|
2358
2371
|
});
|
|
2359
|
-
const
|
|
2360
|
-
options:
|
|
2361
|
-
maxReceive:
|
|
2362
|
-
maxPerUser:
|
|
2372
|
+
const Z0 = e.object({
|
|
2373
|
+
options: e.object({
|
|
2374
|
+
maxReceive: e.number().min(1).nullish(),
|
|
2375
|
+
maxPerUser: e.number().min(1).nullish()
|
|
2363
2376
|
}),
|
|
2364
2377
|
rule: M.nullish()
|
|
2365
|
-
}),
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
code: "custom",
|
|
2369
|
-
path: ["price"],
|
|
2370
|
-
message: "Price must be at least RM10"
|
|
2371
|
-
});
|
|
2372
|
-
}, ld = d.object({
|
|
2373
|
-
_id: d.string(),
|
|
2374
|
-
isFeedvibe: d.boolean().nullish(),
|
|
2378
|
+
}), ud = e.object({
|
|
2379
|
+
_id: e.string(),
|
|
2380
|
+
isFeedvibe: e.boolean().nullish(),
|
|
2375
2381
|
// conditions: z.array(FdoTopupCountCondition),
|
|
2376
|
-
image:
|
|
2382
|
+
image: e.string().nullish(),
|
|
2377
2383
|
rule: M.nullish(),
|
|
2378
|
-
name:
|
|
2384
|
+
name: e.string().min(1, "Name is required"),
|
|
2379
2385
|
price: T,
|
|
2380
2386
|
originalPrice: T.nullish(),
|
|
2381
2387
|
// new field to indicate coinPrice
|
|
2382
|
-
coinPrice:
|
|
2383
|
-
titles:
|
|
2384
|
-
credit:
|
|
2385
|
-
taxes:
|
|
2386
|
-
taxTotals:
|
|
2388
|
+
coinPrice: e.number().nullish(),
|
|
2389
|
+
titles: e.array(W0),
|
|
2390
|
+
credit: z0,
|
|
2391
|
+
taxes: e.array(Y0),
|
|
2392
|
+
taxTotals: e.array(X0),
|
|
2387
2393
|
priceWithTaxes: T.nullish(),
|
|
2388
|
-
vouchers:
|
|
2389
|
-
_inclusiveTaxes:
|
|
2390
|
-
_taxSystem:
|
|
2391
|
-
stripePriceId:
|
|
2392
|
-
subscriptionValidity:
|
|
2393
|
-
redeemWithCode:
|
|
2394
|
-
internal:
|
|
2395
|
-
hideInPos:
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2394
|
+
vouchers: e.array(o),
|
|
2395
|
+
_inclusiveTaxes: e.array(ld).nullish(),
|
|
2396
|
+
_taxSystem: e.array(e.string()).nullish(),
|
|
2397
|
+
stripePriceId: e.string().nullish(),
|
|
2398
|
+
subscriptionValidity: e.number().min(1, "Must be at least 1 day").max(365, "Maximum is 365").nullish(),
|
|
2399
|
+
redeemWithCode: e.boolean().nullish(),
|
|
2400
|
+
internal: e.boolean().optional(),
|
|
2401
|
+
hideInPos: e.boolean().optional(),
|
|
2402
|
+
// Distribution tracking: running counter of units purchased
|
|
2403
|
+
distributed: e.coerce.number().optional(),
|
|
2404
|
+
config: Z0.optional(),
|
|
2405
|
+
pf_titles: e.array(e.any()).optional(),
|
|
2406
|
+
pf_vouchers: e.array(e.any()).optional(),
|
|
2407
|
+
pf_credit: e.number().optional()
|
|
2408
|
+
}).superRefine((d, t) => {
|
|
2401
2409
|
var n, r;
|
|
2402
|
-
|
|
2410
|
+
d.stripePriceId && !d.subscriptionValidity && t.addIssue({
|
|
2403
2411
|
code: "custom",
|
|
2404
2412
|
message: "Validity is required when stripePriceId is provided",
|
|
2405
2413
|
path: ["subscriptionValidity"]
|
|
2406
|
-
}),
|
|
2414
|
+
}), d.originalPrice && d.originalPrice.amount && d.originalPrice.amount < d.price.amount && t.addIssue({
|
|
2407
2415
|
code: "custom",
|
|
2408
2416
|
message: "Original price must be greater than price",
|
|
2409
2417
|
path: ["originalPrice"]
|
|
2410
|
-
}),
|
|
2418
|
+
}), d.price.amount < 0 && t.addIssue({
|
|
2411
2419
|
code: "custom",
|
|
2412
2420
|
path: ["price"],
|
|
2413
2421
|
message: "Price cannot be less than 0"
|
|
2414
|
-
}),
|
|
2422
|
+
}), d.coinPrice && d.coinPrice < 0 && t.addIssue({
|
|
2415
2423
|
code: "custom",
|
|
2416
2424
|
path: ["coinPrice"],
|
|
2417
2425
|
message: "Point price cannot be less than 0"
|
|
2418
|
-
}),
|
|
2426
|
+
}), d.credit.normal < 0 && t.addIssue({
|
|
2419
2427
|
code: "custom",
|
|
2420
2428
|
path: ["credit", "normal"],
|
|
2421
2429
|
message: "Normal credit cannot be less than 0"
|
|
2422
|
-
}),
|
|
2430
|
+
}), d.credit.free && (d.credit.free.amount < 0 && t.addIssue({
|
|
2423
2431
|
code: "custom",
|
|
2424
2432
|
path: ["credit", "free", "amount"],
|
|
2425
2433
|
message: "Free credit cannot be less than 0"
|
|
2426
|
-
}),
|
|
2434
|
+
}), d.credit.free.amount && d.credit.free.day < 0 && t.addIssue({
|
|
2427
2435
|
code: "custom",
|
|
2428
2436
|
path: ["credit", "free", "day"],
|
|
2429
2437
|
message: "Expiry must be at least 0 (expire same day)"
|
|
2430
|
-
})),
|
|
2438
|
+
})), d.credit.normal && d.coinPrice && t.addIssue({
|
|
2431
2439
|
code: "custom",
|
|
2432
2440
|
message: "Bundle redeem with point cannot set normal credit.",
|
|
2433
2441
|
path: ["credit", "normal"]
|
|
2434
|
-
}),
|
|
2442
|
+
}), d.credit.normal > Pe.Dinero.fromFdoDinero(d.price).toUnit() && t.addIssue({
|
|
2435
2443
|
code: "custom",
|
|
2436
|
-
message: `Normal credit cannot be more than price. Max: ${
|
|
2437
|
-
|
|
2444
|
+
message: `Normal credit cannot be more than price. Max: ${Pe.Dinero.fromFdoDinero(
|
|
2445
|
+
d.price
|
|
2438
2446
|
).toUnit()}`,
|
|
2439
2447
|
path: ["credit", "normal"]
|
|
2440
|
-
}),
|
|
2448
|
+
}), d.titles.length > 0 && d.titles.some((i) => i.dayToExpire < 0) && t.addIssue({
|
|
2441
2449
|
code: "custom",
|
|
2442
2450
|
path: ["titles"],
|
|
2443
2451
|
message: "Title expiry must be at least 0 day (expire same day)"
|
|
2444
|
-
}), (((r = (n =
|
|
2452
|
+
}), (((r = (n = d.config) == null ? void 0 : n.options) == null ? void 0 : r.maxPerUser) || 0) < 0 && t.addIssue({
|
|
2445
2453
|
code: "custom",
|
|
2446
2454
|
path: ["config.options.maxPerUser"],
|
|
2447
2455
|
message: "Max purchase per user cannot be negative"
|
|
2448
2456
|
});
|
|
2449
|
-
})
|
|
2450
|
-
name:
|
|
2451
|
-
bundles:
|
|
2457
|
+
}), cd = e.object({
|
|
2458
|
+
name: e.string(),
|
|
2459
|
+
bundles: e.array(ud)
|
|
2452
2460
|
});
|
|
2453
|
-
|
|
2454
|
-
_id:
|
|
2455
|
-
name:
|
|
2456
|
-
expiredAt:
|
|
2461
|
+
e.object({
|
|
2462
|
+
_id: e.string(),
|
|
2463
|
+
name: e.string(),
|
|
2464
|
+
expiredAt: e.string()
|
|
2457
2465
|
});
|
|
2458
|
-
const J0 =
|
|
2459
|
-
apiKey:
|
|
2460
|
-
webhookSecret:
|
|
2461
|
-
}), q0 =
|
|
2462
|
-
company:
|
|
2463
|
-
inclusiveTaxes:
|
|
2466
|
+
const J0 = e.object({
|
|
2467
|
+
apiKey: e.string(),
|
|
2468
|
+
webhookSecret: e.string()
|
|
2469
|
+
}), q0 = e.object({
|
|
2470
|
+
company: sd.nullish(),
|
|
2471
|
+
inclusiveTaxes: e.array(ld).nullish(),
|
|
2464
2472
|
stripe: J0.nullable().optional()
|
|
2465
2473
|
}), Q0 = {
|
|
2466
2474
|
collectionName: "Stores",
|
|
@@ -2472,14 +2480,15 @@ const J0 = d.object({
|
|
|
2472
2480
|
q0.extend({
|
|
2473
2481
|
_id: o,
|
|
2474
2482
|
business: o,
|
|
2475
|
-
categories:
|
|
2483
|
+
categories: e.array(cd),
|
|
2484
|
+
priorityBundleIds: e.array(e.string()).optional()
|
|
2476
2485
|
}).describe(b.describe(Q0));
|
|
2477
|
-
const e1 =
|
|
2478
|
-
refundedAt:
|
|
2479
|
-
reason:
|
|
2480
|
-
transactions:
|
|
2481
|
-
}),
|
|
2482
|
-
type:
|
|
2486
|
+
const e1 = e.object({
|
|
2487
|
+
refundedAt: e.coerce.date(),
|
|
2488
|
+
reason: e.string(),
|
|
2489
|
+
transactions: e.array(o)
|
|
2490
|
+
}), ye = e.object({
|
|
2491
|
+
type: e.enum([
|
|
2483
2492
|
"ONLINE",
|
|
2484
2493
|
"OFFLINE",
|
|
2485
2494
|
"COIN",
|
|
@@ -2488,9 +2497,9 @@ const e1 = d.object({
|
|
|
2488
2497
|
"FEEDVIBE",
|
|
2489
2498
|
"ADMIN"
|
|
2490
2499
|
]),
|
|
2491
|
-
extra:
|
|
2492
|
-
gateway:
|
|
2493
|
-
method:
|
|
2500
|
+
extra: e.string().nullish(),
|
|
2501
|
+
gateway: e.string().nullish(),
|
|
2502
|
+
method: e.string().nullish()
|
|
2494
2503
|
}), d1 = {
|
|
2495
2504
|
collectionName: "StoreTransactions",
|
|
2496
2505
|
transform: {
|
|
@@ -2506,62 +2515,75 @@ const e1 = d.object({
|
|
|
2506
2515
|
as: "pf_member"
|
|
2507
2516
|
}
|
|
2508
2517
|
}
|
|
2509
|
-
},
|
|
2518
|
+
}, t1 = e.enum([
|
|
2519
|
+
"PENDING_PAYMENT",
|
|
2520
|
+
"PENDING_TRANSACTION",
|
|
2521
|
+
"COMPLETED",
|
|
2522
|
+
"REFUNDED",
|
|
2523
|
+
"PAYMENT_EXPIRED",
|
|
2524
|
+
"PAYMENT_CANCEL"
|
|
2525
|
+
]), fd = e.object({
|
|
2510
2526
|
_id: o,
|
|
2511
|
-
source:
|
|
2527
|
+
source: ad,
|
|
2512
2528
|
// can be memberStorePurchase
|
|
2513
|
-
ref:
|
|
2529
|
+
ref: e.string(),
|
|
2514
2530
|
business: o,
|
|
2515
|
-
company:
|
|
2531
|
+
company: sd,
|
|
2516
2532
|
location: o.optional(),
|
|
2517
2533
|
member: o,
|
|
2518
2534
|
// createdAt: z.coerce.date(),
|
|
2519
|
-
bundle:
|
|
2520
|
-
transactions:
|
|
2535
|
+
bundle: ud,
|
|
2536
|
+
transactions: e.array(o),
|
|
2521
2537
|
// array of transaction id (voucher, credit, title)
|
|
2522
|
-
status:
|
|
2523
|
-
"PENDING_PAYMENT",
|
|
2524
|
-
"PENDING_TRANSACTION",
|
|
2525
|
-
"COMPLETED",
|
|
2526
|
-
"REFUNDED"
|
|
2527
|
-
]),
|
|
2538
|
+
status: t1,
|
|
2528
2539
|
refund: e1.nullish(),
|
|
2529
|
-
paymentType:
|
|
2530
|
-
paymentRef:
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2540
|
+
paymentType: ye.nullish(),
|
|
2541
|
+
paymentRef: e.string().nullish(),
|
|
2542
|
+
previousPaymentRefs: e.array(e.string()).optional(),
|
|
2543
|
+
paymentUrl: e.string().optional(),
|
|
2544
|
+
webhookUrl: e.string().optional(),
|
|
2545
|
+
webhookSent: e.boolean().optional(),
|
|
2546
|
+
quantity: e.number().optional(),
|
|
2547
|
+
pf_transactions: e.array(e.any()).optional(),
|
|
2548
|
+
pf_member: e.any().optional(),
|
|
2549
|
+
pf_location: e.any().optional(),
|
|
2550
|
+
pf_ref: e.any().optional()
|
|
2537
2551
|
}).describe(b.describe(d1));
|
|
2538
|
-
|
|
2552
|
+
e.object({
|
|
2539
2553
|
bundle: o,
|
|
2540
|
-
member:
|
|
2541
|
-
ref:
|
|
2542
|
-
paymentType:
|
|
2543
|
-
withCoin:
|
|
2544
|
-
card:
|
|
2554
|
+
member: e.string(),
|
|
2555
|
+
ref: e.string(),
|
|
2556
|
+
paymentType: ye.nullish(),
|
|
2557
|
+
withCoin: e.boolean().optional(),
|
|
2558
|
+
card: e.string().optional(),
|
|
2545
2559
|
location: o.optional(),
|
|
2546
|
-
source:
|
|
2547
|
-
webhookUrl:
|
|
2560
|
+
source: ad,
|
|
2561
|
+
webhookUrl: e.string().optional(),
|
|
2562
|
+
quantity: e.coerce.number().int().min(1).max(10).optional()
|
|
2548
2563
|
});
|
|
2549
|
-
|
|
2550
|
-
|
|
2564
|
+
e.object({
|
|
2565
|
+
transactionId: e.string()
|
|
2551
2566
|
});
|
|
2552
|
-
|
|
2567
|
+
e.object({
|
|
2568
|
+
transactionId: e.string(),
|
|
2569
|
+
paymentType: ye
|
|
2570
|
+
});
|
|
2571
|
+
e.object({
|
|
2572
|
+
categories: e.array(cd)
|
|
2573
|
+
});
|
|
2574
|
+
e.object({
|
|
2553
2575
|
id: o,
|
|
2554
|
-
reason:
|
|
2576
|
+
reason: e.string(),
|
|
2555
2577
|
location: o.optional()
|
|
2556
2578
|
});
|
|
2557
|
-
|
|
2579
|
+
e.object({
|
|
2558
2580
|
_id: o,
|
|
2559
2581
|
business: o,
|
|
2560
2582
|
user: o,
|
|
2561
|
-
bundleId:
|
|
2562
|
-
transaction:
|
|
2563
|
-
subscriptionId:
|
|
2564
|
-
expiredAt:
|
|
2583
|
+
bundleId: e.string(),
|
|
2584
|
+
transaction: e.array(o),
|
|
2585
|
+
subscriptionId: e.string(),
|
|
2586
|
+
expiredAt: e.coerce.date()
|
|
2565
2587
|
}).describe(
|
|
2566
2588
|
b.describe({
|
|
2567
2589
|
collectionName: "StoreSubscriptions",
|
|
@@ -2574,11 +2596,11 @@ d.object({
|
|
|
2574
2596
|
}
|
|
2575
2597
|
})
|
|
2576
2598
|
);
|
|
2577
|
-
|
|
2578
|
-
member:
|
|
2579
|
-
subscriptionId:
|
|
2599
|
+
e.object({
|
|
2600
|
+
member: e.string(),
|
|
2601
|
+
subscriptionId: e.string()
|
|
2580
2602
|
});
|
|
2581
|
-
const
|
|
2603
|
+
const n1 = {
|
|
2582
2604
|
collectionName: "Cards",
|
|
2583
2605
|
transform: {
|
|
2584
2606
|
_id: "oid",
|
|
@@ -2597,86 +2619,86 @@ const t1 = {
|
|
|
2597
2619
|
}
|
|
2598
2620
|
}
|
|
2599
2621
|
};
|
|
2600
|
-
|
|
2622
|
+
e.object({
|
|
2601
2623
|
_id: o,
|
|
2602
2624
|
business: o,
|
|
2603
|
-
serialNumber:
|
|
2604
|
-
setCardOnBind:
|
|
2605
|
-
redeemedAt:
|
|
2625
|
+
serialNumber: e.string(),
|
|
2626
|
+
setCardOnBind: e.boolean().nullish(),
|
|
2627
|
+
redeemedAt: e.date().nullish(),
|
|
2606
2628
|
member: o.nullish(),
|
|
2607
|
-
design:
|
|
2608
|
-
bundle:
|
|
2609
|
-
subscriptionBundle:
|
|
2610
|
-
pf_member:
|
|
2611
|
-
pf_transaction:
|
|
2612
|
-
}).describe(b.describe(
|
|
2613
|
-
const
|
|
2614
|
-
length:
|
|
2615
|
-
charset:
|
|
2616
|
-
prefix:
|
|
2617
|
-
suffix:
|
|
2618
|
-
pattern:
|
|
2629
|
+
design: e.string().nullish(),
|
|
2630
|
+
bundle: e.string().nullish(),
|
|
2631
|
+
subscriptionBundle: e.string().nullish(),
|
|
2632
|
+
pf_member: e.lazy(() => de).nullish(),
|
|
2633
|
+
pf_transaction: e.lazy(() => fd).nullish()
|
|
2634
|
+
}).describe(b.describe(n1));
|
|
2635
|
+
const r1 = e.object({
|
|
2636
|
+
length: e.coerce.number().optional(),
|
|
2637
|
+
charset: e.string(),
|
|
2638
|
+
prefix: e.string().optional(),
|
|
2639
|
+
suffix: e.string().optional(),
|
|
2640
|
+
pattern: e.string().optional()
|
|
2619
2641
|
});
|
|
2620
|
-
|
|
2621
|
-
quantity:
|
|
2622
|
-
code:
|
|
2623
|
-
codeConfig:
|
|
2624
|
-
setCardOnBind:
|
|
2625
|
-
design:
|
|
2626
|
-
bundle:
|
|
2627
|
-
subscriptionBundle:
|
|
2642
|
+
e.object({
|
|
2643
|
+
quantity: e.number(),
|
|
2644
|
+
code: e.string(),
|
|
2645
|
+
codeConfig: r1,
|
|
2646
|
+
setCardOnBind: e.boolean().optional(),
|
|
2647
|
+
design: e.string().nullish(),
|
|
2648
|
+
bundle: e.string().optional(),
|
|
2649
|
+
subscriptionBundle: e.string().optional()
|
|
2628
2650
|
});
|
|
2629
|
-
const
|
|
2630
|
-
channel:
|
|
2631
|
-
variables:
|
|
2632
|
-
title:
|
|
2633
|
-
design:
|
|
2634
|
-
content:
|
|
2635
|
-
language:
|
|
2636
|
-
imageUrl:
|
|
2637
|
-
}).superRefine((
|
|
2638
|
-
|
|
2639
|
-
code:
|
|
2651
|
+
const i1 = e.enum(["SMS", "WHATSAPP", "EMAIL"]), L = e.object({
|
|
2652
|
+
channel: i1,
|
|
2653
|
+
variables: e.array(e.string()),
|
|
2654
|
+
title: e.string().nullish(),
|
|
2655
|
+
design: e.any(),
|
|
2656
|
+
content: e.string(),
|
|
2657
|
+
language: e.string(),
|
|
2658
|
+
imageUrl: e.string().nullish()
|
|
2659
|
+
}).superRefine((d, t) => {
|
|
2660
|
+
d.content.length == 0 && t.addIssue({
|
|
2661
|
+
code: e.ZodIssueCode.custom,
|
|
2640
2662
|
message: "Content is required"
|
|
2641
2663
|
});
|
|
2642
|
-
const n = /{{(.*?)}}/g, r = [...
|
|
2664
|
+
const n = /{{(.*?)}}/g, r = [...d.content.matchAll(n)].map(($) => $[1]), i = d.variables, a = r.filter(($) => i.indexOf($) < 0);
|
|
2643
2665
|
a.length && t.addIssue({
|
|
2644
|
-
code:
|
|
2666
|
+
code: e.ZodIssueCode.custom,
|
|
2645
2667
|
message: "Invalid variable(s): " + a.join(", ")
|
|
2646
2668
|
});
|
|
2647
2669
|
});
|
|
2648
|
-
function
|
|
2649
|
-
return
|
|
2670
|
+
function A1(d, t) {
|
|
2671
|
+
return d.replace(/{{(.*?)}}/g, (n, r) => {
|
|
2650
2672
|
const a = r.trim().split(".").reduce(($, s) => ($ != null ? $[s] : null) ?? null, t);
|
|
2651
2673
|
return a !== null ? a : n;
|
|
2652
2674
|
});
|
|
2653
2675
|
}
|
|
2654
|
-
const he =
|
|
2655
|
-
type:
|
|
2656
|
-
collectible:
|
|
2676
|
+
const he = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), Ee = e.number().min(0, "Weight need to be at least 0"), Ce = e.number().int("Must be integer").min(0, "Threshold need to be at least 0"), md = e.object({
|
|
2677
|
+
type: e.literal(he.enum.NO_REWARD),
|
|
2678
|
+
collectible: e.null(),
|
|
2657
2679
|
weight: Ee
|
|
2658
|
-
}), pd =
|
|
2659
|
-
type:
|
|
2680
|
+
}), pd = e.object({
|
|
2681
|
+
type: e.literal(he.enum.VOUCHER),
|
|
2660
2682
|
collectible: o,
|
|
2661
|
-
collectibleConfig:
|
|
2662
|
-
earningOption:
|
|
2663
|
-
}), te =
|
|
2664
|
-
type:
|
|
2683
|
+
collectibleConfig: e.lazy(() => ze._def.right.options[0]),
|
|
2684
|
+
earningOption: e.lazy(() => F)
|
|
2685
|
+
}), te = e.object({
|
|
2686
|
+
type: e.literal(he.enum.LOYALTY),
|
|
2665
2687
|
collectible: o,
|
|
2666
|
-
earningOption:
|
|
2667
|
-
validityOption:
|
|
2688
|
+
earningOption: e.lazy(() => F),
|
|
2689
|
+
validityOption: e.lazy(() => wd)
|
|
2668
2690
|
}), gd = pd.extend({
|
|
2669
2691
|
weight: Ee
|
|
2670
2692
|
}), bd = te.extend({
|
|
2671
|
-
weight:
|
|
2672
|
-
}),
|
|
2673
|
-
validityOption:
|
|
2693
|
+
weight: e.number().min(0, "Weight need to be at least 0")
|
|
2694
|
+
}), T1 = te.extend({
|
|
2695
|
+
validityOption: Ye,
|
|
2674
2696
|
weight: Ee
|
|
2675
|
-
}),
|
|
2697
|
+
}), o1 = e.discriminatedUnion("type", [
|
|
2676
2698
|
gd,
|
|
2677
2699
|
bd,
|
|
2678
2700
|
md
|
|
2679
|
-
]),
|
|
2701
|
+
]), Ke = e.discriminatedUnion("type", [
|
|
2680
2702
|
gd.extend({
|
|
2681
2703
|
collectible: o.nullish(),
|
|
2682
2704
|
business: o.nullish()
|
|
@@ -2690,43 +2712,43 @@ const he = d.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), Ee = d.number().min(0, "
|
|
|
2690
2712
|
threshold: Ce
|
|
2691
2713
|
}), hd = te.extend({
|
|
2692
2714
|
threshold: Ce
|
|
2693
|
-
}),
|
|
2694
|
-
validityOption:
|
|
2715
|
+
}), S1 = te.extend({
|
|
2716
|
+
validityOption: Ye,
|
|
2695
2717
|
threshold: Ce
|
|
2696
|
-
}), Ed =
|
|
2718
|
+
}), Ed = e.discriminatedUnion("type", [
|
|
2697
2719
|
yd,
|
|
2698
2720
|
hd
|
|
2699
|
-
]),
|
|
2721
|
+
]), a1 = e.discriminatedUnion("type", [
|
|
2700
2722
|
yd.extend({
|
|
2701
2723
|
collectible: o.nullish(),
|
|
2702
2724
|
business: o.nullish()
|
|
2703
2725
|
}),
|
|
2704
2726
|
hd.extend({
|
|
2705
2727
|
collectible: o.nullish(),
|
|
2706
|
-
collectibleConfig:
|
|
2728
|
+
collectibleConfig: ze.nullish(),
|
|
2707
2729
|
business: o.nullish()
|
|
2708
2730
|
})
|
|
2709
|
-
]),
|
|
2731
|
+
]), $1 = {
|
|
2710
2732
|
collectionName: "Locations",
|
|
2711
2733
|
transform: {
|
|
2712
2734
|
_id: "oid",
|
|
2713
2735
|
business: "oid"
|
|
2714
2736
|
}
|
|
2715
|
-
}, Cd =
|
|
2737
|
+
}, Cd = e.object({
|
|
2716
2738
|
_id: o,
|
|
2717
2739
|
business: o,
|
|
2718
|
-
name:
|
|
2719
|
-
code:
|
|
2720
|
-
otp:
|
|
2721
|
-
otpExpiredAt:
|
|
2722
|
-
apiToken:
|
|
2723
|
-
}).describe(b.describe(
|
|
2724
|
-
|
|
2740
|
+
name: e.string(),
|
|
2741
|
+
code: e.string().nullish(),
|
|
2742
|
+
otp: e.string().nullish(),
|
|
2743
|
+
otpExpiredAt: e.coerce.date().nullish(),
|
|
2744
|
+
apiToken: e.string().nullish()
|
|
2745
|
+
}).describe(b.describe($1));
|
|
2746
|
+
e.object({
|
|
2725
2747
|
_id: o,
|
|
2726
|
-
name:
|
|
2748
|
+
name: e.string(),
|
|
2727
2749
|
location: o,
|
|
2728
|
-
os:
|
|
2729
|
-
apiToken:
|
|
2750
|
+
os: e.string(),
|
|
2751
|
+
apiToken: e.string().nullish()
|
|
2730
2752
|
}).describe(b.describe({
|
|
2731
2753
|
collectionName: "LocationDevices",
|
|
2732
2754
|
transform: {
|
|
@@ -2734,12 +2756,12 @@ d.object({
|
|
|
2734
2756
|
location: "oid"
|
|
2735
2757
|
}
|
|
2736
2758
|
}));
|
|
2737
|
-
const
|
|
2738
|
-
type:
|
|
2739
|
-
end:
|
|
2740
|
-
rewards:
|
|
2741
|
-
}).superRefine((
|
|
2742
|
-
|
|
2759
|
+
const s1 = e.enum(["PROGRESSIVE", "STAMP"]), l1 = e.object({
|
|
2760
|
+
type: s1,
|
|
2761
|
+
end: e.number().int().min(0, "Threshold need to be at least 1"),
|
|
2762
|
+
rewards: e.array(e.lazy(() => Ed)).nullish()
|
|
2763
|
+
}).superRefine((d, t) => {
|
|
2764
|
+
d.type == "STAMP" && d.end > 40 && (t.addIssue({
|
|
2743
2765
|
code: "custom",
|
|
2744
2766
|
path: [],
|
|
2745
2767
|
message: "Stamp mission can have at most 40 threshold"
|
|
@@ -2748,7 +2770,7 @@ const $1 = d.enum(["PROGRESSIVE", "STAMP"]), s1 = d.object({
|
|
|
2748
2770
|
path: ["end"],
|
|
2749
2771
|
message: "Stamp mission can have at most 40 threshold"
|
|
2750
2772
|
}));
|
|
2751
|
-
}),
|
|
2773
|
+
}), u1 = {
|
|
2752
2774
|
collectionName: "Groups",
|
|
2753
2775
|
transform: {
|
|
2754
2776
|
_id: "oid",
|
|
@@ -2766,58 +2788,58 @@ const $1 = d.enum(["PROGRESSIVE", "STAMP"]), s1 = d.object({
|
|
|
2766
2788
|
foreignField: "group"
|
|
2767
2789
|
}
|
|
2768
2790
|
}
|
|
2769
|
-
},
|
|
2791
|
+
}, x1 = e.object({
|
|
2770
2792
|
_id: o,
|
|
2771
|
-
name:
|
|
2793
|
+
name: e.string().min(1).max(300),
|
|
2772
2794
|
business: o,
|
|
2773
|
-
pf_campaigns:
|
|
2774
|
-
}).describe(b.describe(
|
|
2775
|
-
from:
|
|
2776
|
-
name:
|
|
2777
|
-
}),
|
|
2778
|
-
_id:
|
|
2779
|
-
url:
|
|
2780
|
-
targetLocation:
|
|
2795
|
+
pf_campaigns: e.array(e.any()).optional()
|
|
2796
|
+
}).describe(b.describe(u1)), c1 = e.object({
|
|
2797
|
+
from: e.string().email().nullish(),
|
|
2798
|
+
name: e.string().min(1).max(50).nullish()
|
|
2799
|
+
}), f1 = e.object({
|
|
2800
|
+
_id: e.string(),
|
|
2801
|
+
url: e.string(),
|
|
2802
|
+
targetLocation: e.array(o).nullish(),
|
|
2781
2803
|
// null/empty = all locations
|
|
2782
|
-
order:
|
|
2783
|
-
}), Pd =
|
|
2784
|
-
type:
|
|
2804
|
+
order: e.number().optional()
|
|
2805
|
+
}), Pd = e.object({
|
|
2806
|
+
type: e.literal(We.enum.MEMBERSHIP),
|
|
2785
2807
|
business: o,
|
|
2786
|
-
name:
|
|
2787
|
-
image:
|
|
2788
|
-
url:
|
|
2789
|
-
tiers:
|
|
2790
|
-
titles:
|
|
2791
|
-
tierCycleEnable:
|
|
2792
|
-
tierCycle:
|
|
2808
|
+
name: e.string().min(1).max(50),
|
|
2809
|
+
image: e.string().nullish(),
|
|
2810
|
+
url: e.string().nullish(),
|
|
2811
|
+
tiers: e.array(e.lazy(() => be)),
|
|
2812
|
+
titles: e.array(o),
|
|
2813
|
+
tierCycleEnable: e.boolean().optional(),
|
|
2814
|
+
tierCycle: e.lazy(() => M).nullish(),
|
|
2793
2815
|
welcomeMessage: L.optional(),
|
|
2794
|
-
advertisements:
|
|
2795
|
-
cardEnable:
|
|
2796
|
-
design:
|
|
2797
|
-
|
|
2816
|
+
advertisements: e.union([e.array(e.string()), e.array(f1)]).optional(),
|
|
2817
|
+
cardEnable: e.boolean().optional(),
|
|
2818
|
+
design: e.array(
|
|
2819
|
+
e.object({
|
|
2798
2820
|
_id: o,
|
|
2799
|
-
image:
|
|
2821
|
+
image: e.string()
|
|
2800
2822
|
})
|
|
2801
2823
|
).optional(),
|
|
2802
|
-
targetLocation:
|
|
2803
|
-
brand:
|
|
2804
|
-
email:
|
|
2805
|
-
freeCreditAsDiscount:
|
|
2806
|
-
pf_title:
|
|
2807
|
-
pf_targetLocation:
|
|
2824
|
+
targetLocation: e.array(o).nullish(),
|
|
2825
|
+
brand: e.string().nullish(),
|
|
2826
|
+
email: c1.nullish(),
|
|
2827
|
+
freeCreditAsDiscount: e.boolean().optional(),
|
|
2828
|
+
pf_title: e.array(e.lazy(() => R)).optional(),
|
|
2829
|
+
pf_targetLocation: e.array(e.lazy(() => Cd)).optional(),
|
|
2808
2830
|
// new structure
|
|
2809
|
-
group:
|
|
2831
|
+
group: e.string().nullish(),
|
|
2810
2832
|
templateId: o.nullish()
|
|
2811
|
-
}), c =
|
|
2833
|
+
}), c = We.exclude(["MEMBERSHIP"]), N = e.object({
|
|
2812
2834
|
_id: o.nullish(),
|
|
2813
2835
|
type: c,
|
|
2814
2836
|
// common information
|
|
2815
2837
|
business: o,
|
|
2816
|
-
name:
|
|
2817
|
-
image:
|
|
2818
|
-
description:
|
|
2819
|
-
timeframeOptions: jd.superRefine((
|
|
2820
|
-
|
|
2838
|
+
name: e.string().min(1).max(50),
|
|
2839
|
+
image: e.string().nullish(),
|
|
2840
|
+
description: e.string().max(500).nullish(),
|
|
2841
|
+
timeframeOptions: jd.superRefine((d, t) => {
|
|
2842
|
+
d.start && d.end && d.end < d.start && t.addIssue({
|
|
2821
2843
|
code: "custom",
|
|
2822
2844
|
path: [],
|
|
2823
2845
|
params: {
|
|
@@ -2825,16 +2847,16 @@ const $1 = d.enum(["PROGRESSIVE", "STAMP"]), s1 = d.object({
|
|
|
2825
2847
|
}
|
|
2826
2848
|
});
|
|
2827
2849
|
}).nullish(),
|
|
2828
|
-
targetLocation:
|
|
2829
|
-
event:
|
|
2850
|
+
targetLocation: e.array(o).nullish(),
|
|
2851
|
+
event: F0,
|
|
2830
2852
|
config: Z.nullish(),
|
|
2831
|
-
currentReceive:
|
|
2853
|
+
currentReceive: e.coerce.number().optional(),
|
|
2832
2854
|
// new group structure
|
|
2833
2855
|
group: o.nullish(),
|
|
2834
2856
|
templateId: o.nullish(),
|
|
2835
|
-
pf_targetLocation:
|
|
2836
|
-
deletedAt:
|
|
2837
|
-
}),
|
|
2857
|
+
pf_targetLocation: e.array(e.lazy(() => Cd)).optional(),
|
|
2858
|
+
deletedAt: e.coerce.date().optional()
|
|
2859
|
+
}), I = {
|
|
2838
2860
|
[c.enum.VOUCHER]: [
|
|
2839
2861
|
"BILL_COMPLETED",
|
|
2840
2862
|
"FEEDBACK",
|
|
@@ -2885,39 +2907,39 @@ const $1 = d.enum(["PROGRESSIVE", "STAMP"]), s1 = d.object({
|
|
|
2885
2907
|
"SCHEDULE"
|
|
2886
2908
|
]
|
|
2887
2909
|
}, vd = N.extend({
|
|
2888
|
-
type:
|
|
2910
|
+
type: e.literal(c.enum.VOUCHER),
|
|
2889
2911
|
// event
|
|
2890
|
-
code:
|
|
2912
|
+
code: e.string().min(0).max(15).regex(/^[A-Za-z0-9\-_.@]*$/, {
|
|
2891
2913
|
message: "Code can only contain letters, numbers, and - _ . @"
|
|
2892
2914
|
}).optional(),
|
|
2893
2915
|
event: p.merge(
|
|
2894
|
-
|
|
2895
|
-
type:
|
|
2916
|
+
e.object({
|
|
2917
|
+
type: e.enum(I[c.enum.VOUCHER])
|
|
2896
2918
|
})
|
|
2897
2919
|
),
|
|
2898
|
-
earningOption:
|
|
2920
|
+
earningOption: F.default({
|
|
2899
2921
|
amount: 1,
|
|
2900
2922
|
type: "FIXED"
|
|
2901
2923
|
}),
|
|
2902
2924
|
collectible: o,
|
|
2903
|
-
hideInApp:
|
|
2904
|
-
notify:
|
|
2905
|
-
notifyMessage:
|
|
2925
|
+
hideInApp: e.boolean().optional(),
|
|
2926
|
+
notify: e.boolean().optional(),
|
|
2927
|
+
notifyMessage: e.lazy(() => L).optional(),
|
|
2906
2928
|
notifyCampaign: o.nullish(),
|
|
2907
|
-
pf_collectible:
|
|
2908
|
-
pf_notifyCampaign:
|
|
2909
|
-
}),
|
|
2910
|
-
gameType:
|
|
2929
|
+
pf_collectible: e.lazy(() => R).optional(),
|
|
2930
|
+
pf_notifyCampaign: e.lazy(() => w).optional()
|
|
2931
|
+
}), m1 = e.object({
|
|
2932
|
+
gameType: e.string()
|
|
2911
2933
|
}), _d = N.extend({
|
|
2912
|
-
type:
|
|
2934
|
+
type: e.literal(c.enum.PROMOTION),
|
|
2913
2935
|
// event
|
|
2914
2936
|
event: p.merge(
|
|
2915
|
-
|
|
2916
|
-
type:
|
|
2937
|
+
e.object({
|
|
2938
|
+
type: e.enum(I[c.enum.PROMOTION])
|
|
2917
2939
|
})
|
|
2918
2940
|
),
|
|
2919
|
-
effect:
|
|
2920
|
-
|
|
2941
|
+
effect: e.custom().superRefine((d, t) => {
|
|
2942
|
+
d || t.addIssue({
|
|
2921
2943
|
code: "custom",
|
|
2922
2944
|
path: [],
|
|
2923
2945
|
params: {
|
|
@@ -2925,97 +2947,97 @@ const $1 = d.enum(["PROGRESSIVE", "STAMP"]), s1 = d.object({
|
|
|
2925
2947
|
}
|
|
2926
2948
|
});
|
|
2927
2949
|
}),
|
|
2928
|
-
gameConfig:
|
|
2950
|
+
gameConfig: m1.nullish()
|
|
2929
2951
|
}), Nd = N.extend({
|
|
2930
|
-
type:
|
|
2952
|
+
type: e.literal(c.enum.POINT),
|
|
2931
2953
|
// event
|
|
2932
2954
|
event: p.merge(
|
|
2933
|
-
|
|
2934
|
-
type:
|
|
2955
|
+
e.object({
|
|
2956
|
+
type: e.enum(I[c.enum.POINT])
|
|
2935
2957
|
})
|
|
2936
2958
|
),
|
|
2937
|
-
earningOption:
|
|
2959
|
+
earningOption: F,
|
|
2938
2960
|
collectible: o,
|
|
2939
|
-
notify:
|
|
2940
|
-
notifyMessage:
|
|
2961
|
+
notify: e.boolean().optional(),
|
|
2962
|
+
notifyMessage: e.lazy(() => L).optional(),
|
|
2941
2963
|
notifyCampaign: o.nullish(),
|
|
2942
|
-
pf_collectible:
|
|
2943
|
-
pf_notifyCampaign:
|
|
2944
|
-
}),
|
|
2945
|
-
type:
|
|
2964
|
+
pf_collectible: e.lazy(() => R).optional(),
|
|
2965
|
+
pf_notifyCampaign: e.lazy(() => w).optional()
|
|
2966
|
+
}), Id = N.extend({
|
|
2967
|
+
type: e.literal(c.enum.CREDIT),
|
|
2946
2968
|
// event
|
|
2947
2969
|
event: p.merge(
|
|
2948
|
-
|
|
2949
|
-
type:
|
|
2970
|
+
e.object({
|
|
2971
|
+
type: e.enum(I[c.enum.CREDIT])
|
|
2950
2972
|
})
|
|
2951
2973
|
),
|
|
2952
|
-
earningOption:
|
|
2974
|
+
earningOption: F,
|
|
2953
2975
|
collectible: o,
|
|
2954
|
-
notify:
|
|
2955
|
-
notifyMessage:
|
|
2976
|
+
notify: e.boolean().optional(),
|
|
2977
|
+
notifyMessage: e.lazy(() => L).optional(),
|
|
2956
2978
|
notifyCampaign: o.nullish(),
|
|
2957
|
-
pf_collectible:
|
|
2958
|
-
pf_notifyCampaign:
|
|
2979
|
+
pf_collectible: e.lazy(() => R).optional(),
|
|
2980
|
+
pf_notifyCampaign: e.lazy(() => w).optional()
|
|
2959
2981
|
}), w = N.extend({
|
|
2960
|
-
type:
|
|
2982
|
+
type: e.literal(c.enum.BROADCAST),
|
|
2961
2983
|
// event
|
|
2962
2984
|
event: p.merge(
|
|
2963
|
-
|
|
2964
|
-
type:
|
|
2985
|
+
e.object({
|
|
2986
|
+
type: e.enum(I[c.enum.BROADCAST])
|
|
2965
2987
|
})
|
|
2966
2988
|
),
|
|
2967
2989
|
message: L,
|
|
2968
2990
|
linkedCampaign: o.nullish()
|
|
2969
|
-
}),
|
|
2970
|
-
type:
|
|
2991
|
+
}), Fd = N.extend({
|
|
2992
|
+
type: e.literal(c.enum.COIN),
|
|
2971
2993
|
// event
|
|
2972
2994
|
event: p.merge(
|
|
2973
|
-
|
|
2974
|
-
type:
|
|
2995
|
+
e.object({
|
|
2996
|
+
type: e.enum(I[c.enum.COIN])
|
|
2975
2997
|
})
|
|
2976
2998
|
),
|
|
2977
|
-
earningOption:
|
|
2999
|
+
earningOption: F,
|
|
2978
3000
|
collectible: o,
|
|
2979
|
-
notify:
|
|
2980
|
-
notifyMessage:
|
|
3001
|
+
notify: e.boolean().optional(),
|
|
3002
|
+
notifyMessage: e.lazy(() => L).optional(),
|
|
2981
3003
|
notifyCampaign: o.nullish(),
|
|
2982
|
-
pf_collectible:
|
|
2983
|
-
pf_notifyCampaign:
|
|
3004
|
+
pf_collectible: e.lazy(() => R).optional(),
|
|
3005
|
+
pf_notifyCampaign: e.lazy(() => w).optional()
|
|
2984
3006
|
}), X = N.extend({
|
|
2985
|
-
type:
|
|
3007
|
+
type: e.literal(c.enum.REWARD_POOL),
|
|
2986
3008
|
// event
|
|
2987
3009
|
event: p.merge(
|
|
2988
|
-
|
|
2989
|
-
type:
|
|
3010
|
+
e.object({
|
|
3011
|
+
type: e.enum(I[c.enum.REWARD_POOL])
|
|
2990
3012
|
})
|
|
2991
3013
|
),
|
|
2992
|
-
rewards:
|
|
3014
|
+
rewards: e.array(e.lazy(() => o1)).min(1, "Requires at least 1 reward")
|
|
2993
3015
|
}), Od = N.extend({
|
|
2994
|
-
type:
|
|
3016
|
+
type: e.literal(c.enum.GAME),
|
|
2995
3017
|
// event
|
|
2996
3018
|
event: p.merge(
|
|
2997
|
-
|
|
2998
|
-
type:
|
|
3019
|
+
e.object({
|
|
3020
|
+
type: e.enum(I[c.enum.GAME])
|
|
2999
3021
|
})
|
|
3000
3022
|
),
|
|
3001
|
-
earningOption:
|
|
3023
|
+
earningOption: F,
|
|
3002
3024
|
collectible: o,
|
|
3003
|
-
game:
|
|
3004
|
-
pf_collectible:
|
|
3025
|
+
game: e.lazy(() => X).optional(),
|
|
3026
|
+
pf_collectible: e.lazy(() => R).optional(),
|
|
3005
3027
|
rewardPool: o.optional()
|
|
3006
3028
|
}), Rd = N.extend({
|
|
3007
|
-
type:
|
|
3029
|
+
type: e.literal(c.enum.MISSION),
|
|
3008
3030
|
event: p.merge(
|
|
3009
|
-
|
|
3010
|
-
type:
|
|
3031
|
+
e.object({
|
|
3032
|
+
type: e.enum(I[c.enum.MISSION])
|
|
3011
3033
|
})
|
|
3012
3034
|
),
|
|
3013
|
-
earningOption:
|
|
3035
|
+
earningOption: F,
|
|
3014
3036
|
collectible: o,
|
|
3015
|
-
pf_collectible:
|
|
3016
|
-
mission:
|
|
3017
|
-
rewards:
|
|
3018
|
-
}),
|
|
3037
|
+
pf_collectible: e.lazy(() => R).optional(),
|
|
3038
|
+
mission: e.lazy(() => l1),
|
|
3039
|
+
rewards: e.array(e.lazy(() => Ed)).min(1, "Requires at least 1 reward")
|
|
3040
|
+
}), p1 = {
|
|
3019
3041
|
collectionName: "Campaigns",
|
|
3020
3042
|
transform: {
|
|
3021
3043
|
_id: "oid",
|
|
@@ -3057,20 +3079,20 @@ const $1 = d.enum(["PROGRESSIVE", "STAMP"]), s1 = d.object({
|
|
|
3057
3079
|
as: "game"
|
|
3058
3080
|
}
|
|
3059
3081
|
}
|
|
3060
|
-
},
|
|
3061
|
-
|
|
3082
|
+
}, M1 = e.object({ _id: o }).and(
|
|
3083
|
+
e.discriminatedUnion("type", [
|
|
3062
3084
|
Pd,
|
|
3063
3085
|
vd,
|
|
3064
3086
|
_d,
|
|
3065
3087
|
Nd,
|
|
3066
|
-
Fd,
|
|
3067
|
-
w,
|
|
3068
3088
|
Id,
|
|
3089
|
+
w,
|
|
3090
|
+
Fd,
|
|
3069
3091
|
X,
|
|
3070
3092
|
Od,
|
|
3071
3093
|
Rd
|
|
3072
3094
|
])
|
|
3073
|
-
).describe(b.describe(
|
|
3095
|
+
).describe(b.describe(p1)), D1 = e.discriminatedUnion("type", [
|
|
3074
3096
|
vd.extend({
|
|
3075
3097
|
business: o.nullish()
|
|
3076
3098
|
}),
|
|
@@ -3080,28 +3102,28 @@ const $1 = d.enum(["PROGRESSIVE", "STAMP"]), s1 = d.object({
|
|
|
3080
3102
|
Nd.extend({
|
|
3081
3103
|
business: o.nullish()
|
|
3082
3104
|
}),
|
|
3083
|
-
|
|
3105
|
+
Id.extend({
|
|
3084
3106
|
business: o.nullish()
|
|
3085
3107
|
}),
|
|
3086
3108
|
w.extend({
|
|
3087
3109
|
business: o.nullish()
|
|
3088
3110
|
}),
|
|
3089
|
-
|
|
3111
|
+
Fd.extend({
|
|
3090
3112
|
business: o.nullish()
|
|
3091
3113
|
}),
|
|
3092
3114
|
X.extend({
|
|
3093
|
-
rewards:
|
|
3115
|
+
rewards: e.array(e.lazy(() => Ke)).min(1, "Requires at least 1 reward")
|
|
3094
3116
|
}),
|
|
3095
3117
|
Od.extend({
|
|
3096
3118
|
business: o.nullish(),
|
|
3097
3119
|
game: X.extend({
|
|
3098
3120
|
business: o.nullish(),
|
|
3099
|
-
rewards:
|
|
3121
|
+
rewards: e.array(e.lazy(() => Ke)).min(1, "Requires at least 1 reward")
|
|
3100
3122
|
})
|
|
3101
3123
|
}),
|
|
3102
3124
|
Rd.extend({
|
|
3103
3125
|
business: o.nullish(),
|
|
3104
|
-
rewards:
|
|
3126
|
+
rewards: e.array(e.lazy(() => a1)).min(1, "Requires at least 1 reward")
|
|
3105
3127
|
})
|
|
3106
3128
|
]);
|
|
3107
3129
|
Pd.pick({
|
|
@@ -3121,39 +3143,39 @@ Pd.pick({
|
|
|
3121
3143
|
pf_targetLocation: !0
|
|
3122
3144
|
});
|
|
3123
3145
|
export {
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3146
|
+
D1 as A,
|
|
3147
|
+
A1 as B,
|
|
3148
|
+
I as C,
|
|
3149
|
+
rd as D,
|
|
3128
3150
|
Y as E,
|
|
3129
|
-
|
|
3130
|
-
|
|
3151
|
+
R1 as F,
|
|
3152
|
+
F0 as G,
|
|
3131
3153
|
de as H,
|
|
3132
3154
|
g0 as I,
|
|
3133
3155
|
c as a,
|
|
3134
|
-
|
|
3156
|
+
I1 as b,
|
|
3135
3157
|
f as c,
|
|
3136
3158
|
F1 as d,
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3159
|
+
_1 as e,
|
|
3160
|
+
P1 as f,
|
|
3161
|
+
N1 as g,
|
|
3162
|
+
v1 as h,
|
|
3163
|
+
C1 as i,
|
|
3142
3164
|
n0 as j,
|
|
3143
|
-
|
|
3144
|
-
|
|
3165
|
+
M1 as k,
|
|
3166
|
+
O1 as l,
|
|
3145
3167
|
q0 as m,
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3168
|
+
sd as n,
|
|
3169
|
+
K0 as o,
|
|
3170
|
+
ud as p,
|
|
3171
|
+
ad as q,
|
|
3150
3172
|
r0 as r,
|
|
3151
3173
|
Pd as s,
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3174
|
+
T1 as t,
|
|
3175
|
+
Ke as u,
|
|
3176
|
+
s1 as v,
|
|
3177
|
+
S1 as w,
|
|
3178
|
+
a1 as x,
|
|
3179
|
+
l1 as y,
|
|
3180
|
+
x1 as z
|
|
3159
3181
|
};
|