@revolugo/elements 5.24.3-rc.1 → 5.25.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/fonts.css +1 -1
- package/dist/css/{revolugo.vuetify.BXxLxsZV.css → revolugo.vuetify.H0ChTiub.css} +1 -1
- package/dist/index.es.min.js +1895 -1869
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +18 -18
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.abCtPgHD.min.js → revolugo.banktransferdetails.DTe97FsE.min.js} +12 -12
- package/dist/{revolugo.bdaterangepicker.B7dkBByh.min.js → revolugo.bdaterangepicker.eOTZEArY.min.js} +18 -18
- package/dist/{revolugo.bformattedamount.Bu4V-Ui5.min.js → revolugo.bformattedamount.rFm3ydQU.min.js} +3 -3
- package/dist/{revolugo.bhotelroomsdetails.b1pvaSpB.min.js → revolugo.bhotelroomsdetails.CxRhfDXT.min.js} +10 -11
- package/dist/{revolugo.bhotelsearchbar.xOnEInc-.min.js → revolugo.bhotelsearchbar.DNNDndSu.min.js} +17 -17
- package/dist/{revolugo.bookingdetailssidebar.DNtdVV_p.min.js → revolugo.bookingdetailssidebar.Cl6V0PUP.min.js} +13 -13
- package/dist/{revolugo.bookingdetailssidebar.COAANpPA.min.js → revolugo.bookingdetailssidebar.DpD__85w.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.BtkAOGoG.min.js → revolugo.bookingmanager.CcWOHtR2.min.js} +32 -33
- package/dist/revolugo.bphoneinput.BN_07lY5.min.js +1825 -0
- package/dist/{revolugo.bpricesummaryskeleton.Dn4RFqEr.min.js → revolugo.bpricesummaryskeleton.2DLIq1mV.min.js} +4 -4
- package/dist/{revolugo.breakpoint-service.CYufk1eo.min.js → revolugo.breakpoint-service.DQr9EmZR.min.js} +3 -3
- package/dist/{revolugo.bstarrating.Bvgl8dLm.min.js → revolugo.bstarrating.BFXu4Vyd.min.js} +6 -6
- package/dist/{revolugo.btag.BvOz4Gun.min.js → revolugo.btag.CYeoDvr9.min.js} +7 -7
- package/dist/{revolugo.cancellationpoliciesbadge.BT58DhH8.min.js → revolugo.cancellationpoliciesbadge.DPjxNZvG.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge.C2fdUJMx.min.js → revolugo.cancellationpoliciesbadge.DjJ9fYvS.min.js} +7 -7
- package/dist/{revolugo.cancellationpolicieslist.D3iB523D.min.js → revolugo.cancellationpolicieslist.D-P1Wams.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.D7-_qpRx.min.js → revolugo.cancellationpolicieslist.Dqh08Vbh.min.js} +3 -3
- package/dist/{revolugo.common.Ds2kJJjk.min.js → revolugo.common.CD8_AGmS.min.js} +2 -2
- package/dist/revolugo.creditcardform.Bnp2cggf.min.js +2003 -0
- package/dist/{revolugo.creditcardform.BUS8RitX.min.js → revolugo.creditcardform.BxpEFQnk.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.u33P8_zp.min.js → revolugo.creditcardpayment.DodbQqXe.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.RryGMo6F.min.js → revolugo.creditcardpayment.s0xyMWG5.min.js} +26 -27
- package/dist/{revolugo.currencypicker.pgTJ4rt4.min.js → revolugo.currencypicker.1Hi9dVyq.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.D0e0gPz7.min.js → revolugo.currencypickerbtn.CcyLweDl.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.QvHF15D0.min.js → revolugo.currencypickerbtn.Dh54QKCr.min.js} +9 -9
- package/dist/{revolugo.dialog-attach.MZOEqNEV.min.js → revolugo.dialog-attach.DCu6y0mp.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.tLTnI0rU.min.js → revolugo.fastbookingflow.BDhYwidi.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.CwMQovLH.min.js → revolugo.fullbookingflow.njOLlOVX.min.js} +51 -51
- package/dist/{revolugo.hotel-offer.BI38d5Tm.min.js → revolugo.hotel-offer.B0ThxF7d.min.js} +13 -13
- package/dist/{revolugo.hoteldescriptionview.CLucJ1gS.min.js → revolugo.hoteldescriptionview.BBOiUDlK.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.D5n4WBqc.min.js → revolugo.hoteldescriptionview.CIQcRleF.min.js} +24 -24
- package/dist/{revolugo.hotelofferitemlayout.YB8WDf9L.min.js → revolugo.hotelofferitemlayout.C2qT6Tdd.min.js} +8 -8
- package/dist/{revolugo.hotelofferlist.DTu7ZopK.min.js → revolugo.hotelofferlist.Cx16qxbk.min.js} +1298 -1299
- package/dist/{revolugo.hotelofferlist.B-rtidyw.min.js → revolugo.hotelofferlist.Da8UqbLK.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.BQsTvD8F.min.js → revolugo.hotelofferrequestcreator.BYI0GO-4.min.js} +14 -14
- package/dist/{revolugo.hoteloffersearchmenu.BPHAQoVZ.min.js → revolugo.hoteloffersearchmenu.5hMVWsgb.min.js} +6 -6
- package/dist/{revolugo.hoteloffersmap.fhoY4i49.min.js → revolugo.hoteloffersmap.Bnd5znB3.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.Dc3Djbce.min.js → revolugo.hoteloffersmap.C9eYR1P6.min.js} +18 -18
- package/dist/{revolugo.hoteloffersview.CN3aDzKp.min.js → revolugo.hoteloffersview.CPLiq5Ij.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.u9eJgSdG.min.js → revolugo.hoteloffersview.DgXLn59q.min.js} +17 -17
- package/dist/{revolugo.hotelroomofferlist.DWaAwePZ.min.js → revolugo.hotelroomofferlist.BQbBhPLN.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.BrpTGPm2.min.js → revolugo.hotelroomofferlist.rLLEnHxv.min.js} +46 -47
- package/dist/{revolugo.hotelroomofferrequestcreator.CM4cg4DS.min.js → revolugo.hotelroomofferrequestcreator.zHBuxqNE.min.js} +10 -10
- package/dist/{revolugo.hotelroomoffersbookingflow.RH7qyqPm.min.js → revolugo.hotelroomoffersbookingflow.BroWkYCC.min.js} +19 -19
- package/dist/{revolugo.hotelroomoffersearchmenu.OVFJ9LCC.min.js → revolugo.hotelroomoffersearchmenu.BwYRtN5e.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.55HHjwST.min.js → revolugo.hotelroomoffersearchmenu.DYDhnNU1.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.C9W3t6oM.min.js → revolugo.hotelroomoffersview.CAS3AD5f.min.js} +16 -16
- package/dist/{revolugo.hotelroomoffersview.BvpNR588.min.js → revolugo.hotelroomoffersview.hYNQozMH.min.js} +4 -4
- package/dist/{revolugo.i18n.CuDReacQ.min.js → revolugo.i18n.qxNwIBzD.min.js} +1789 -1761
- package/dist/{revolugo.index.SpWD4hl3.min.js → revolugo.index.AsnH-FuH.min.js} +5 -5
- package/dist/{revolugo.index.wKEERS5G.min.js → revolugo.index.B4A68M5t.min.js} +5 -5
- package/dist/{revolugo.index.BfaIoxFY.min.js → revolugo.index.BEHsb08j.min.js} +2 -2
- package/dist/{revolugo.index.nG_rdN5i.min.js → revolugo.index.BaIijK3F.min.js} +10 -10
- package/dist/{revolugo.index.C1PRuwys.min.js → revolugo.index.BvGEYMD1.min.js} +9 -9
- package/dist/{revolugo.index._koCafXL.min.js → revolugo.index.C-EgBtuD.min.js} +2 -2
- package/dist/revolugo.index.CB3P2Zlq.min.js +15 -0
- package/dist/{revolugo.index.CKgve2FN.min.js → revolugo.index.CHWu5X5E.min.js} +3 -3
- package/dist/{revolugo.index.BjMVo6uv.min.js → revolugo.index.CHom4BIU.min.js} +6 -6
- package/dist/{revolugo.index.CnetTZdK.min.js → revolugo.index.D49U-I6Y.min.js} +3 -3
- package/dist/{revolugo.index.y2z5jkKQ.min.js → revolugo.index.Dkr0oa4k.min.js} +4 -4
- package/dist/{revolugo.index.BG5xy16p.min.js → revolugo.index.Ii4kfDF9.min.js} +2 -2
- package/dist/{revolugo.index.CFSkbmtc.min.js → revolugo.index.kC1bvuBl.min.js} +7 -7
- package/dist/{revolugo.index.DtnM8mh_.min.js → revolugo.index.uJFrICC7.min.js} +5 -5
- package/dist/{revolugo.langpicker.BzFnLUm9.min.js → revolugo.langpicker.DwAtgVGN.min.js} +7 -7
- package/dist/{revolugo.langpickerbtn.EMYV4hoY.min.js → revolugo.langpickerbtn.Bith7Aep.min.js} +10 -10
- package/dist/{revolugo.langpickerbtn.Cn-p3RAu.min.js → revolugo.langpickerbtn.CtxPiTZb.min.js} +4 -4
- package/dist/revolugo.min.js +26 -26
- package/dist/{revolugo.parsed-height.D3VO935x.min.js → revolugo.parsed-height.BfaP0GLv.min.js} +108 -109
- package/dist/{revolugo.parsed-props.C2NezSgu.min.js → revolugo.parsed-props.CS4UjtN_.min.js} +3 -3
- package/dist/{revolugo.prebookform.y6Le8jqk.min.js → revolugo.prebookform.Cl1XflB5.min.js} +24 -25
- package/dist/{revolugo.prebookform.z40QeX8Y.min.js → revolugo.prebookform.ClgRx5Uf.min.js} +4 -4
- package/dist/{revolugo.booking-api-client.BOzfwVYX.min.js → revolugo.revolugo-config.CXM6Omah.min.js} +3670 -1964
- package/dist/{revolugo.roominglisteditor.CGGfrU9y.min.js → revolugo.roominglisteditor.BzeXJB70.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.ltVJG2yb.min.js → revolugo.roominglisteditor.CfHcAAT8.min.js} +10 -10
- package/dist/{revolugo.sentry.fRRV-E4u.min.js → revolugo.sentry.BVrKAYI8.min.js} +31 -11
- package/dist/{revolugo.store.BlcQQ-4u.min.js → revolugo.store.DWQvkpHn.min.js} +409 -410
- package/dist/{revolugo.storybooktoolbar.PNDGMI0x.min.js → revolugo.storybooktoolbar.CXymV_hK.min.js} +19 -19
- package/dist/{revolugo.termsandconditions.BcLdmO9u.min.js → revolugo.termsandconditions.C88a7LCH.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.BpNUnlCe.min.js → revolugo.termsandconditions.CarLtEho.min.js} +6 -6
- package/dist/revolugo.typed-mixins.Dz5yLoi0.min.js +8 -0
- package/dist/{revolugo.valert.BaEBE0P-.min.js → revolugo.valert.CM6jgpNa.min.js} +7 -7
- package/dist/{revolugo.vautocomplete.DYSxxpv7.min.js → revolugo.vautocomplete.BtXeyAKq.min.js} +5 -5
- package/dist/{revolugo.vbadge.DgrYAEFj.min.js → revolugo.vbadge.CW7q4exY.min.js} +6 -6
- package/dist/{revolugo.vbtn.C9YDeyc-.min.js → revolugo.vbtn.D3lH5UVr.min.js} +7 -7
- package/dist/{revolugo.vcard.DX8p2-Xj.min.js → revolugo.vcard.Bd9-Lhjs.min.js} +6 -6
- package/dist/{revolugo.vdialog.Cd0XOERM.min.js → revolugo.vdialog.CRQbscoB.min.js} +10 -10
- package/dist/{revolugo.vexpansionpanelheader.D0qJ_bqC.min.js → revolugo.vexpansionpanelheader.CxVWFZa5.min.js} +8 -8
- package/dist/{revolugo.vform.DYPyEXKA.min.js → revolugo.vform.BXQKejHZ.min.js} +5 -5
- package/dist/{revolugo.vinput.CBbRCC9E.min.js → revolugo.vinput.Cg25P65-.min.js} +5 -5
- package/dist/{revolugo.vitemgroup.BWlTh2TE.min.js → revolugo.vitemgroup.P6dZ2dAp.min.js} +5 -5
- package/dist/{revolugo.vlistitem.It57-y90.min.js → revolugo.vlistitem.G-Y9-r4l.min.js} +8 -8
- package/dist/{revolugo.vmenu.CXLFtdm8.min.js → revolugo.vmenu.LvjfQmP_.min.js} +8 -8
- package/dist/{revolugo.vselect.5aTjQlRS.min.js → revolugo.vselect.DmnMA0NH.min.js} +17 -17
- package/dist/{revolugo.vsheet.Crxfmq3Y.min.js → revolugo.vsheet.BURnAoIb.min.js} +5 -5
- package/dist/{revolugo.vskeletonloader.Dety0a9H.min.js → revolugo.vskeletonloader.B0qz73wS.min.js} +4 -4
- package/dist/{revolugo.vslidegroup.3piQiZq8.min.js → revolugo.vslidegroup.B2fV8aGy.min.js} +10 -10
- package/dist/{revolugo.vsnackbar.L36Qpan4.min.js → revolugo.vsnackbar.BWWXV2-b.min.js} +5 -5
- package/dist/{revolugo.vtextfield.CPbhfKsq.min.js → revolugo.vtextfield.sGu01yqR.min.js} +7 -7
- package/dist/{revolugo.vtoolbar.BnwpZJCn.min.js → revolugo.vtoolbar.C5u-U0vB.min.js} +5 -5
- package/dist/{revolugo.vtooltip.BtiNycgC.min.js → revolugo.vtooltip.CZyNa8f9.min.js} +7 -7
- package/dist/{revolugo.vuetify.CewyUEmk.min.js → revolugo.vuetify.Cbh6S4U-.min.js} +262 -259
- package/dist/{revolugo.watch-list.DLmiG3rJ.min.js → revolugo.watch-list.IHSNnMf3.min.js} +3 -3
- package/dist/{revolugo.webcomponentwrapper.Od8ojyDM.min.js → revolugo.webcomponentwrapper.CJmmFgVo.min.js} +12 -12
- package/package.json +5 -5
- package/dist/revolugo.bphoneinput.DmGBPbRi.min.js +0 -1832
- package/dist/revolugo.creditcardform.azL7EOJI.min.js +0 -2003
- package/dist/revolugo.index.Dj2qcRAu.min.js +0 -15
- package/dist/revolugo.revolugo-config.Dlt8EylH.min.js +0 -1682
- package/dist/revolugo.typed-mixins.CTkQuxKC.min.js +0 -8
@@ -0,0 +1,1825 @@
|
|
1
|
+
import { _ as P } from "./revolugo.vtextfield.sGu01yqR.min.js";
|
2
|
+
import { m as O0, l as E0, n as I0, _ as F0 } from "./revolugo.webcomponentwrapper.CJmmFgVo.min.js";
|
3
|
+
import { V as S0, C as j, Z as w0 } from "./revolugo.i18n.qxNwIBzD.min.js";
|
4
|
+
import { _ as x0 } from "./revolugo.vautocomplete.BtXeyAKq.min.js";
|
5
|
+
function _0(d) {
|
6
|
+
try {
|
7
|
+
if (typeof document < "u") {
|
8
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
9
|
+
sheets: [],
|
10
|
+
components: []
|
11
|
+
};
|
12
|
+
const e = import.meta.url, t = e.slice(0, e.lastIndexOf("/") + 1) + d;
|
13
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
|
14
|
+
for (const $ of REVOLUGO_ELEMENTS_STYLES.components)
|
15
|
+
$(t);
|
16
|
+
if (d.indexOf("fonts") >= 0) {
|
17
|
+
const $ = document.createElement("link");
|
18
|
+
$.rel = "stylesheet", linK.href = t, document.head.appendChild($);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
} catch (e) {
|
22
|
+
console.error("[revolugo-elements] ", e);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
const T0 = O0(P), Xd = T0.extend({
|
26
|
+
name: "v-textarea",
|
27
|
+
props: {
|
28
|
+
autoGrow: Boolean,
|
29
|
+
noResize: Boolean,
|
30
|
+
rowHeight: {
|
31
|
+
type: [Number, String],
|
32
|
+
default: 24,
|
33
|
+
validator: (d) => !isNaN(parseFloat(d))
|
34
|
+
},
|
35
|
+
rows: {
|
36
|
+
type: [Number, String],
|
37
|
+
default: 5,
|
38
|
+
validator: (d) => !isNaN(parseInt(d, 10))
|
39
|
+
}
|
40
|
+
},
|
41
|
+
computed: {
|
42
|
+
classes() {
|
43
|
+
return {
|
44
|
+
"v-textarea": !0,
|
45
|
+
"v-textarea--auto-grow": this.autoGrow,
|
46
|
+
"v-textarea--no-resize": this.noResizeHandle,
|
47
|
+
...P.options.computed.classes.call(this)
|
48
|
+
};
|
49
|
+
},
|
50
|
+
noResizeHandle() {
|
51
|
+
return this.noResize || this.autoGrow;
|
52
|
+
}
|
53
|
+
},
|
54
|
+
watch: {
|
55
|
+
autoGrow(d) {
|
56
|
+
this.$nextTick(() => {
|
57
|
+
var e;
|
58
|
+
d ? this.calculateInputHeight() : (e = this.$refs.input) === null || e === void 0 || e.style.removeProperty("height");
|
59
|
+
});
|
60
|
+
},
|
61
|
+
lazyValue() {
|
62
|
+
this.autoGrow && this.$nextTick(this.calculateInputHeight);
|
63
|
+
},
|
64
|
+
rowHeight() {
|
65
|
+
this.autoGrow && this.$nextTick(this.calculateInputHeight);
|
66
|
+
}
|
67
|
+
},
|
68
|
+
mounted() {
|
69
|
+
setTimeout(() => {
|
70
|
+
this.autoGrow && this.calculateInputHeight();
|
71
|
+
}, 0);
|
72
|
+
},
|
73
|
+
methods: {
|
74
|
+
calculateInputHeight() {
|
75
|
+
const d = this.$refs.input;
|
76
|
+
if (!d) return;
|
77
|
+
d.style.height = "0";
|
78
|
+
const e = d.scrollHeight, t = parseInt(this.rows, 10) * parseFloat(this.rowHeight);
|
79
|
+
d.style.height = Math.max(t, e) + "px";
|
80
|
+
},
|
81
|
+
genInput() {
|
82
|
+
const d = P.options.methods.genInput.call(this);
|
83
|
+
return d.tag = "textarea", delete d.data.attrs.type, d.data.attrs.rows = this.rows, d;
|
84
|
+
},
|
85
|
+
onInput(d) {
|
86
|
+
P.options.methods.onInput.call(this, d), this.autoGrow && this.calculateInputHeight();
|
87
|
+
},
|
88
|
+
onKeyDown(d) {
|
89
|
+
this.isFocused && d.keyCode === 13 && d.stopPropagation(), this.$emit("keydown", d);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}), A0 = { 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(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\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])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\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", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,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-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[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[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|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", ["30[0135-9]"], "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-7]|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", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\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", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|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[013]|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-5]|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, "3[04-689]|[489]", 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", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [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{3,4})", "$1 $2 $3", ["81"], "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]|77|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\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-8]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|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-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
93
|
+
function R0(d, e) {
|
94
|
+
var t = Array.prototype.slice.call(e);
|
95
|
+
return t.push(A0), d.apply(this, t);
|
96
|
+
}
|
97
|
+
function x(d) {
|
98
|
+
"@babel/helpers - typeof";
|
99
|
+
return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
100
|
+
return typeof e;
|
101
|
+
} : function(e) {
|
102
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
103
|
+
}, x(d);
|
104
|
+
}
|
105
|
+
function D0(d, e, t) {
|
106
|
+
return Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
107
|
+
}
|
108
|
+
function L0(d, e) {
|
109
|
+
if (!(d instanceof e))
|
110
|
+
throw new TypeError("Cannot call a class as a function");
|
111
|
+
}
|
112
|
+
function M0(d, e) {
|
113
|
+
if (typeof e != "function" && e !== null)
|
114
|
+
throw new TypeError("Super expression must either be null or a function");
|
115
|
+
d.prototype = Object.create(e && e.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), e && b(d, e);
|
116
|
+
}
|
117
|
+
function G0(d) {
|
118
|
+
var e = y0();
|
119
|
+
return function() {
|
120
|
+
var $ = N(d), r;
|
121
|
+
if (e) {
|
122
|
+
var n = N(this).constructor;
|
123
|
+
r = Reflect.construct($, arguments, n);
|
124
|
+
} else
|
125
|
+
r = $.apply(this, arguments);
|
126
|
+
return B0(this, r);
|
127
|
+
};
|
128
|
+
}
|
129
|
+
function B0(d, e) {
|
130
|
+
if (e && (x(e) === "object" || typeof e == "function"))
|
131
|
+
return e;
|
132
|
+
if (e !== void 0)
|
133
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
134
|
+
return h0(d);
|
135
|
+
}
|
136
|
+
function h0(d) {
|
137
|
+
if (d === void 0)
|
138
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
139
|
+
return d;
|
140
|
+
}
|
141
|
+
function T(d) {
|
142
|
+
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
143
|
+
return T = function($) {
|
144
|
+
if ($ === null || !k0($)) return $;
|
145
|
+
if (typeof $ != "function")
|
146
|
+
throw new TypeError("Super expression must either be null or a function");
|
147
|
+
if (typeof e < "u") {
|
148
|
+
if (e.has($)) return e.get($);
|
149
|
+
e.set($, r);
|
150
|
+
}
|
151
|
+
function r() {
|
152
|
+
return C($, arguments, N(this).constructor);
|
153
|
+
}
|
154
|
+
return r.prototype = Object.create($.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), b(r, $);
|
155
|
+
}, T(d);
|
156
|
+
}
|
157
|
+
function C(d, e, t) {
|
158
|
+
return y0() ? C = Reflect.construct : C = function(r, n, i) {
|
159
|
+
var a = [null];
|
160
|
+
a.push.apply(a, n);
|
161
|
+
var u = Function.bind.apply(r, a), o = new u();
|
162
|
+
return i && b(o, i.prototype), o;
|
163
|
+
}, C.apply(null, arguments);
|
164
|
+
}
|
165
|
+
function y0() {
|
166
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
167
|
+
if (typeof Proxy == "function") return !0;
|
168
|
+
try {
|
169
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
170
|
+
})), !0;
|
171
|
+
} catch {
|
172
|
+
return !1;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
function k0(d) {
|
176
|
+
return Function.toString.call(d).indexOf("[native code]") !== -1;
|
177
|
+
}
|
178
|
+
function b(d, e) {
|
179
|
+
return b = Object.setPrototypeOf || function($, r) {
|
180
|
+
return $.__proto__ = r, $;
|
181
|
+
}, b(d, e);
|
182
|
+
}
|
183
|
+
function N(d) {
|
184
|
+
return N = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
|
185
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
186
|
+
}, N(d);
|
187
|
+
}
|
188
|
+
var h = /* @__PURE__ */ function(d) {
|
189
|
+
M0(t, d);
|
190
|
+
var e = G0(t);
|
191
|
+
function t($) {
|
192
|
+
var r;
|
193
|
+
return L0(this, t), r = e.call(this, $), Object.setPrototypeOf(h0(r), t.prototype), r.name = r.constructor.name, r;
|
194
|
+
}
|
195
|
+
return D0(t);
|
196
|
+
}(/* @__PURE__ */ T(Error)), M = 2, U0 = 17, j0 = 3, f = "0-90-9٠-٩۰-۹", H0 = "-‐-―−ー-", V0 = "//", K0 = "..", W0 = " ", X0 = "()()[]\\[\\]", Y0 = "~⁓∼~", O = "".concat(H0).concat(V0).concat(K0).concat(W0).concat(X0).concat(Y0), G = "++";
|
197
|
+
function H(d, e) {
|
198
|
+
d = d.split("-"), e = e.split("-");
|
199
|
+
for (var t = d[0].split("."), $ = e[0].split("."), r = 0; r < 3; r++) {
|
200
|
+
var n = Number(t[r]), i = Number($[r]);
|
201
|
+
if (n > i) return 1;
|
202
|
+
if (i > n) return -1;
|
203
|
+
if (!isNaN(n) && isNaN(i)) return 1;
|
204
|
+
if (isNaN(n) && !isNaN(i)) return -1;
|
205
|
+
}
|
206
|
+
return d[1] && e[1] ? d[1] > e[1] ? 1 : d[1] < e[1] ? -1 : 0 : !d[1] && e[1] ? 1 : d[1] && !e[1] ? -1 : 0;
|
207
|
+
}
|
208
|
+
var Z0 = {}.constructor;
|
209
|
+
function _(d) {
|
210
|
+
return d != null && d.constructor === Z0;
|
211
|
+
}
|
212
|
+
function A(d) {
|
213
|
+
"@babel/helpers - typeof";
|
214
|
+
return A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
215
|
+
return typeof e;
|
216
|
+
} : function(e) {
|
217
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
218
|
+
}, A(d);
|
219
|
+
}
|
220
|
+
function I(d, e) {
|
221
|
+
if (!(d instanceof e))
|
222
|
+
throw new TypeError("Cannot call a class as a function");
|
223
|
+
}
|
224
|
+
function J0(d, e) {
|
225
|
+
for (var t = 0; t < e.length; t++) {
|
226
|
+
var $ = e[t];
|
227
|
+
$.enumerable = $.enumerable || !1, $.configurable = !0, "value" in $ && ($.writable = !0), Object.defineProperty(d, $.key, $);
|
228
|
+
}
|
229
|
+
}
|
230
|
+
function F(d, e, t) {
|
231
|
+
return e && J0(d.prototype, e), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
232
|
+
}
|
233
|
+
var z0 = "1.2.0", Q0 = "1.7.35", V = " ext. ", q0 = /^\d+$/, l = /* @__PURE__ */ function() {
|
234
|
+
function d(e) {
|
235
|
+
I(this, d), $1(e), this.metadata = e, g0.call(this, e);
|
236
|
+
}
|
237
|
+
return F(d, [{
|
238
|
+
key: "getCountries",
|
239
|
+
value: function() {
|
240
|
+
return Object.keys(this.metadata.countries).filter(function(t) {
|
241
|
+
return t !== "001";
|
242
|
+
});
|
243
|
+
}
|
244
|
+
}, {
|
245
|
+
key: "getCountryMetadata",
|
246
|
+
value: function(t) {
|
247
|
+
return this.metadata.countries[t];
|
248
|
+
}
|
249
|
+
}, {
|
250
|
+
key: "nonGeographic",
|
251
|
+
value: function() {
|
252
|
+
if (!(this.v1 || this.v2 || this.v3))
|
253
|
+
return this.metadata.nonGeographic || this.metadata.nonGeographical;
|
254
|
+
}
|
255
|
+
}, {
|
256
|
+
key: "hasCountry",
|
257
|
+
value: function(t) {
|
258
|
+
return this.getCountryMetadata(t) !== void 0;
|
259
|
+
}
|
260
|
+
}, {
|
261
|
+
key: "hasCallingCode",
|
262
|
+
value: function(t) {
|
263
|
+
if (this.getCountryCodesForCallingCode(t))
|
264
|
+
return !0;
|
265
|
+
if (this.nonGeographic()) {
|
266
|
+
if (this.nonGeographic()[t])
|
267
|
+
return !0;
|
268
|
+
} else {
|
269
|
+
var $ = this.countryCallingCodes()[t];
|
270
|
+
if ($ && $.length === 1 && $[0] === "001")
|
271
|
+
return !0;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
}, {
|
275
|
+
key: "isNonGeographicCallingCode",
|
276
|
+
value: function(t) {
|
277
|
+
return this.nonGeographic() ? !!this.nonGeographic()[t] : !this.getCountryCodesForCallingCode(t);
|
278
|
+
}
|
279
|
+
// Deprecated.
|
280
|
+
}, {
|
281
|
+
key: "country",
|
282
|
+
value: function(t) {
|
283
|
+
return this.selectNumberingPlan(t);
|
284
|
+
}
|
285
|
+
}, {
|
286
|
+
key: "selectNumberingPlan",
|
287
|
+
value: function(t, $) {
|
288
|
+
if (t && q0.test(t) && ($ = t, t = null), t && t !== "001") {
|
289
|
+
if (!this.hasCountry(t))
|
290
|
+
throw new Error("Unknown country: ".concat(t));
|
291
|
+
this.numberingPlan = new K(this.getCountryMetadata(t), this);
|
292
|
+
} else if ($) {
|
293
|
+
if (!this.hasCallingCode($))
|
294
|
+
throw new Error("Unknown calling code: ".concat($));
|
295
|
+
this.numberingPlan = new K(this.getNumberingPlanMetadata($), this);
|
296
|
+
} else
|
297
|
+
this.numberingPlan = void 0;
|
298
|
+
return this;
|
299
|
+
}
|
300
|
+
}, {
|
301
|
+
key: "getCountryCodesForCallingCode",
|
302
|
+
value: function(t) {
|
303
|
+
var $ = this.countryCallingCodes()[t];
|
304
|
+
if ($)
|
305
|
+
return $.length === 1 && $[0].length === 3 ? void 0 : $;
|
306
|
+
}
|
307
|
+
}, {
|
308
|
+
key: "getCountryCodeForCallingCode",
|
309
|
+
value: function(t) {
|
310
|
+
var $ = this.getCountryCodesForCallingCode(t);
|
311
|
+
if ($)
|
312
|
+
return $[0];
|
313
|
+
}
|
314
|
+
}, {
|
315
|
+
key: "getNumberingPlanMetadata",
|
316
|
+
value: function(t) {
|
317
|
+
var $ = this.getCountryCodeForCallingCode(t);
|
318
|
+
if ($)
|
319
|
+
return this.getCountryMetadata($);
|
320
|
+
if (this.nonGeographic()) {
|
321
|
+
var r = this.nonGeographic()[t];
|
322
|
+
if (r)
|
323
|
+
return r;
|
324
|
+
} else {
|
325
|
+
var n = this.countryCallingCodes()[t];
|
326
|
+
if (n && n.length === 1 && n[0] === "001")
|
327
|
+
return this.metadata.countries["001"];
|
328
|
+
}
|
329
|
+
}
|
330
|
+
// Deprecated.
|
331
|
+
}, {
|
332
|
+
key: "countryCallingCode",
|
333
|
+
value: function() {
|
334
|
+
return this.numberingPlan.callingCode();
|
335
|
+
}
|
336
|
+
// Deprecated.
|
337
|
+
}, {
|
338
|
+
key: "IDDPrefix",
|
339
|
+
value: function() {
|
340
|
+
return this.numberingPlan.IDDPrefix();
|
341
|
+
}
|
342
|
+
// Deprecated.
|
343
|
+
}, {
|
344
|
+
key: "defaultIDDPrefix",
|
345
|
+
value: function() {
|
346
|
+
return this.numberingPlan.defaultIDDPrefix();
|
347
|
+
}
|
348
|
+
// Deprecated.
|
349
|
+
}, {
|
350
|
+
key: "nationalNumberPattern",
|
351
|
+
value: function() {
|
352
|
+
return this.numberingPlan.nationalNumberPattern();
|
353
|
+
}
|
354
|
+
// Deprecated.
|
355
|
+
}, {
|
356
|
+
key: "possibleLengths",
|
357
|
+
value: function() {
|
358
|
+
return this.numberingPlan.possibleLengths();
|
359
|
+
}
|
360
|
+
// Deprecated.
|
361
|
+
}, {
|
362
|
+
key: "formats",
|
363
|
+
value: function() {
|
364
|
+
return this.numberingPlan.formats();
|
365
|
+
}
|
366
|
+
// Deprecated.
|
367
|
+
}, {
|
368
|
+
key: "nationalPrefixForParsing",
|
369
|
+
value: function() {
|
370
|
+
return this.numberingPlan.nationalPrefixForParsing();
|
371
|
+
}
|
372
|
+
// Deprecated.
|
373
|
+
}, {
|
374
|
+
key: "nationalPrefixTransformRule",
|
375
|
+
value: function() {
|
376
|
+
return this.numberingPlan.nationalPrefixTransformRule();
|
377
|
+
}
|
378
|
+
// Deprecated.
|
379
|
+
}, {
|
380
|
+
key: "leadingDigits",
|
381
|
+
value: function() {
|
382
|
+
return this.numberingPlan.leadingDigits();
|
383
|
+
}
|
384
|
+
// Deprecated.
|
385
|
+
}, {
|
386
|
+
key: "hasTypes",
|
387
|
+
value: function() {
|
388
|
+
return this.numberingPlan.hasTypes();
|
389
|
+
}
|
390
|
+
// Deprecated.
|
391
|
+
}, {
|
392
|
+
key: "type",
|
393
|
+
value: function(t) {
|
394
|
+
return this.numberingPlan.type(t);
|
395
|
+
}
|
396
|
+
// Deprecated.
|
397
|
+
}, {
|
398
|
+
key: "ext",
|
399
|
+
value: function() {
|
400
|
+
return this.numberingPlan.ext();
|
401
|
+
}
|
402
|
+
}, {
|
403
|
+
key: "countryCallingCodes",
|
404
|
+
value: function() {
|
405
|
+
return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
|
406
|
+
}
|
407
|
+
// Deprecated.
|
408
|
+
}, {
|
409
|
+
key: "chooseCountryByCountryCallingCode",
|
410
|
+
value: function(t) {
|
411
|
+
return this.selectNumberingPlan(t);
|
412
|
+
}
|
413
|
+
}, {
|
414
|
+
key: "hasSelectedNumberingPlan",
|
415
|
+
value: function() {
|
416
|
+
return this.numberingPlan !== void 0;
|
417
|
+
}
|
418
|
+
}]), d;
|
419
|
+
}(), K = /* @__PURE__ */ function() {
|
420
|
+
function d(e, t) {
|
421
|
+
I(this, d), this.globalMetadataObject = t, this.metadata = e, g0.call(this, t.metadata);
|
422
|
+
}
|
423
|
+
return F(d, [{
|
424
|
+
key: "callingCode",
|
425
|
+
value: function() {
|
426
|
+
return this.metadata[0];
|
427
|
+
}
|
428
|
+
// Formatting information for regions which share
|
429
|
+
// a country calling code is contained by only one region
|
430
|
+
// for performance reasons. For example, for NANPA region
|
431
|
+
// ("North American Numbering Plan Administration",
|
432
|
+
// which includes USA, Canada, Cayman Islands, Bahamas, etc)
|
433
|
+
// it will be contained in the metadata for `US`.
|
434
|
+
}, {
|
435
|
+
key: "getDefaultCountryMetadataForRegion",
|
436
|
+
value: function() {
|
437
|
+
return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
|
438
|
+
}
|
439
|
+
// Is always present.
|
440
|
+
}, {
|
441
|
+
key: "IDDPrefix",
|
442
|
+
value: function() {
|
443
|
+
if (!(this.v1 || this.v2))
|
444
|
+
return this.metadata[1];
|
445
|
+
}
|
446
|
+
// Is only present when a country supports multiple IDD prefixes.
|
447
|
+
}, {
|
448
|
+
key: "defaultIDDPrefix",
|
449
|
+
value: function() {
|
450
|
+
if (!(this.v1 || this.v2))
|
451
|
+
return this.metadata[12];
|
452
|
+
}
|
453
|
+
}, {
|
454
|
+
key: "nationalNumberPattern",
|
455
|
+
value: function() {
|
456
|
+
return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
|
457
|
+
}
|
458
|
+
// "possible length" data is always present in Google's metadata.
|
459
|
+
}, {
|
460
|
+
key: "possibleLengths",
|
461
|
+
value: function() {
|
462
|
+
if (!this.v1)
|
463
|
+
return this.metadata[this.v2 ? 2 : 3];
|
464
|
+
}
|
465
|
+
}, {
|
466
|
+
key: "_getFormats",
|
467
|
+
value: function(t) {
|
468
|
+
return t[this.v1 ? 2 : this.v2 ? 3 : 4];
|
469
|
+
}
|
470
|
+
// For countries of the same region (e.g. NANPA)
|
471
|
+
// formats are all stored in the "main" country for that region.
|
472
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
473
|
+
}, {
|
474
|
+
key: "formats",
|
475
|
+
value: function() {
|
476
|
+
var t = this, $ = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
477
|
+
return $.map(function(r) {
|
478
|
+
return new d1(r, t);
|
479
|
+
});
|
480
|
+
}
|
481
|
+
}, {
|
482
|
+
key: "nationalPrefix",
|
483
|
+
value: function() {
|
484
|
+
return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
|
485
|
+
}
|
486
|
+
}, {
|
487
|
+
key: "_getNationalPrefixFormattingRule",
|
488
|
+
value: function(t) {
|
489
|
+
return t[this.v1 ? 4 : this.v2 ? 5 : 6];
|
490
|
+
}
|
491
|
+
// For countries of the same region (e.g. NANPA)
|
492
|
+
// national prefix formatting rule is stored in the "main" country for that region.
|
493
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
494
|
+
}, {
|
495
|
+
key: "nationalPrefixFormattingRule",
|
496
|
+
value: function() {
|
497
|
+
return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
|
498
|
+
}
|
499
|
+
}, {
|
500
|
+
key: "_nationalPrefixForParsing",
|
501
|
+
value: function() {
|
502
|
+
return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
|
503
|
+
}
|
504
|
+
}, {
|
505
|
+
key: "nationalPrefixForParsing",
|
506
|
+
value: function() {
|
507
|
+
return this._nationalPrefixForParsing() || this.nationalPrefix();
|
508
|
+
}
|
509
|
+
}, {
|
510
|
+
key: "nationalPrefixTransformRule",
|
511
|
+
value: function() {
|
512
|
+
return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
|
513
|
+
}
|
514
|
+
}, {
|
515
|
+
key: "_getNationalPrefixIsOptionalWhenFormatting",
|
516
|
+
value: function() {
|
517
|
+
return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
|
518
|
+
}
|
519
|
+
// For countries of the same region (e.g. NANPA)
|
520
|
+
// "national prefix is optional when formatting" flag is
|
521
|
+
// stored in the "main" country for that region.
|
522
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
523
|
+
}, {
|
524
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
525
|
+
value: function() {
|
526
|
+
return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
|
527
|
+
}
|
528
|
+
}, {
|
529
|
+
key: "leadingDigits",
|
530
|
+
value: function() {
|
531
|
+
return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
|
532
|
+
}
|
533
|
+
}, {
|
534
|
+
key: "types",
|
535
|
+
value: function() {
|
536
|
+
return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
|
537
|
+
}
|
538
|
+
}, {
|
539
|
+
key: "hasTypes",
|
540
|
+
value: function() {
|
541
|
+
return this.types() && this.types().length === 0 ? !1 : !!this.types();
|
542
|
+
}
|
543
|
+
}, {
|
544
|
+
key: "type",
|
545
|
+
value: function(t) {
|
546
|
+
if (this.hasTypes() && W(this.types(), t))
|
547
|
+
return new t1(W(this.types(), t), this);
|
548
|
+
}
|
549
|
+
}, {
|
550
|
+
key: "ext",
|
551
|
+
value: function() {
|
552
|
+
return this.v1 || this.v2 ? V : this.metadata[13] || V;
|
553
|
+
}
|
554
|
+
}]), d;
|
555
|
+
}(), d1 = /* @__PURE__ */ function() {
|
556
|
+
function d(e, t) {
|
557
|
+
I(this, d), this._format = e, this.metadata = t;
|
558
|
+
}
|
559
|
+
return F(d, [{
|
560
|
+
key: "pattern",
|
561
|
+
value: function() {
|
562
|
+
return this._format[0];
|
563
|
+
}
|
564
|
+
}, {
|
565
|
+
key: "format",
|
566
|
+
value: function() {
|
567
|
+
return this._format[1];
|
568
|
+
}
|
569
|
+
}, {
|
570
|
+
key: "leadingDigitsPatterns",
|
571
|
+
value: function() {
|
572
|
+
return this._format[2] || [];
|
573
|
+
}
|
574
|
+
}, {
|
575
|
+
key: "nationalPrefixFormattingRule",
|
576
|
+
value: function() {
|
577
|
+
return this._format[3] || this.metadata.nationalPrefixFormattingRule();
|
578
|
+
}
|
579
|
+
}, {
|
580
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
581
|
+
value: function() {
|
582
|
+
return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
583
|
+
}
|
584
|
+
}, {
|
585
|
+
key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
|
586
|
+
value: function() {
|
587
|
+
return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
588
|
+
}
|
589
|
+
// Checks whether national prefix formatting rule contains national prefix.
|
590
|
+
}, {
|
591
|
+
key: "usesNationalPrefix",
|
592
|
+
value: function() {
|
593
|
+
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
594
|
+
!e1.test(this.nationalPrefixFormattingRule()));
|
595
|
+
}
|
596
|
+
}, {
|
597
|
+
key: "internationalFormat",
|
598
|
+
value: function() {
|
599
|
+
return this._format[5] || this.format();
|
600
|
+
}
|
601
|
+
}]), d;
|
602
|
+
}(), e1 = /^\(?\$1\)?$/, t1 = /* @__PURE__ */ function() {
|
603
|
+
function d(e, t) {
|
604
|
+
I(this, d), this.type = e, this.metadata = t;
|
605
|
+
}
|
606
|
+
return F(d, [{
|
607
|
+
key: "pattern",
|
608
|
+
value: function() {
|
609
|
+
return this.metadata.v1 ? this.type : this.type[0];
|
610
|
+
}
|
611
|
+
}, {
|
612
|
+
key: "possibleLengths",
|
613
|
+
value: function() {
|
614
|
+
if (!this.metadata.v1)
|
615
|
+
return this.type[1] || this.metadata.possibleLengths();
|
616
|
+
}
|
617
|
+
}]), d;
|
618
|
+
}();
|
619
|
+
function W(d, e) {
|
620
|
+
switch (e) {
|
621
|
+
case "FIXED_LINE":
|
622
|
+
return d[0];
|
623
|
+
case "MOBILE":
|
624
|
+
return d[1];
|
625
|
+
case "TOLL_FREE":
|
626
|
+
return d[2];
|
627
|
+
case "PREMIUM_RATE":
|
628
|
+
return d[3];
|
629
|
+
case "PERSONAL_NUMBER":
|
630
|
+
return d[4];
|
631
|
+
case "VOICEMAIL":
|
632
|
+
return d[5];
|
633
|
+
case "UAN":
|
634
|
+
return d[6];
|
635
|
+
case "PAGER":
|
636
|
+
return d[7];
|
637
|
+
case "VOIP":
|
638
|
+
return d[8];
|
639
|
+
case "SHARED_COST":
|
640
|
+
return d[9];
|
641
|
+
}
|
642
|
+
}
|
643
|
+
function $1(d) {
|
644
|
+
if (!d)
|
645
|
+
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
646
|
+
if (!_(d) || !_(d.countries))
|
647
|
+
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(_(d) ? "an object of shape: { " + Object.keys(d).join(", ") + " }" : "a " + r1(d) + ": " + d, "."));
|
648
|
+
}
|
649
|
+
var r1 = function(e) {
|
650
|
+
return A(e);
|
651
|
+
};
|
652
|
+
function B(d, e) {
|
653
|
+
if (e = new l(e), e.hasCountry(d))
|
654
|
+
return e.country(d).countryCallingCode();
|
655
|
+
throw new Error("Unknown country: ".concat(d));
|
656
|
+
}
|
657
|
+
function n1(d, e) {
|
658
|
+
return e.countries.hasOwnProperty(d);
|
659
|
+
}
|
660
|
+
function g0(d) {
|
661
|
+
var e = d.version;
|
662
|
+
typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? H(e, z0) === -1 ? this.v2 = !0 : H(e, Q0) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
663
|
+
}
|
664
|
+
var i1 = ";ext=", v = function(e) {
|
665
|
+
return "([".concat(f, "]{1,").concat(e, "})");
|
666
|
+
};
|
667
|
+
function p0(d) {
|
668
|
+
var e = "20", t = "15", $ = "9", r = "6", n = "[ \\t,]*", i = "[:\\..]?[ \\t,-]*", a = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", o = "(?:[xx##~~]|int|int)", s = "[- ]+", g = "[ \\t]*", c = "(?:,{2}|;)", p = i1 + v(e), m = n + u + i + v(e) + a, P0 = n + o + i + v($) + a, b0 = s + v(r) + "#", N0 = g + c + i + v(t) + a, C0 = g + "(?:,)+" + i + v($) + a;
|
669
|
+
return p + "|" + m + "|" + P0 + "|" + b0 + "|" + N0 + "|" + C0;
|
670
|
+
}
|
671
|
+
var a1 = "[" + f + "]{" + M + "}", o1 = "[" + G + "]{0,1}(?:[" + O + "]*[" + f + "]){3,}[" + O + f + "]*", u1 = new RegExp("^[" + G + "]{0,1}(?:[" + O + "]*[" + f + "]){1,2}$", "i"), l1 = o1 + // Phone number extensions
|
672
|
+
"(?:" + p0() + ")?", s1 = new RegExp(
|
673
|
+
// Either a short two-digit-only phone number
|
674
|
+
"^" + a1 + "$|^" + l1 + "$",
|
675
|
+
"i"
|
676
|
+
);
|
677
|
+
function f1(d) {
|
678
|
+
return d.length >= M && s1.test(d);
|
679
|
+
}
|
680
|
+
function c1(d) {
|
681
|
+
return u1.test(d);
|
682
|
+
}
|
683
|
+
var X = new RegExp("(?:" + p0() + ")$", "i");
|
684
|
+
function h1(d) {
|
685
|
+
var e = d.search(X);
|
686
|
+
if (e < 0)
|
687
|
+
return {};
|
688
|
+
for (var t = d.slice(0, e), $ = d.match(X), r = 1; r < $.length; ) {
|
689
|
+
if ($[r])
|
690
|
+
return {
|
691
|
+
number: t,
|
692
|
+
ext: $[r]
|
693
|
+
};
|
694
|
+
r++;
|
695
|
+
}
|
696
|
+
}
|
697
|
+
var y1 = {
|
698
|
+
0: "0",
|
699
|
+
1: "1",
|
700
|
+
2: "2",
|
701
|
+
3: "3",
|
702
|
+
4: "4",
|
703
|
+
5: "5",
|
704
|
+
6: "6",
|
705
|
+
7: "7",
|
706
|
+
8: "8",
|
707
|
+
9: "9",
|
708
|
+
"0": "0",
|
709
|
+
// Fullwidth digit 0
|
710
|
+
"1": "1",
|
711
|
+
// Fullwidth digit 1
|
712
|
+
"2": "2",
|
713
|
+
// Fullwidth digit 2
|
714
|
+
"3": "3",
|
715
|
+
// Fullwidth digit 3
|
716
|
+
"4": "4",
|
717
|
+
// Fullwidth digit 4
|
718
|
+
"5": "5",
|
719
|
+
// Fullwidth digit 5
|
720
|
+
"6": "6",
|
721
|
+
// Fullwidth digit 6
|
722
|
+
"7": "7",
|
723
|
+
// Fullwidth digit 7
|
724
|
+
"8": "8",
|
725
|
+
// Fullwidth digit 8
|
726
|
+
"9": "9",
|
727
|
+
// Fullwidth digit 9
|
728
|
+
"٠": "0",
|
729
|
+
// Arabic-indic digit 0
|
730
|
+
"١": "1",
|
731
|
+
// Arabic-indic digit 1
|
732
|
+
"٢": "2",
|
733
|
+
// Arabic-indic digit 2
|
734
|
+
"٣": "3",
|
735
|
+
// Arabic-indic digit 3
|
736
|
+
"٤": "4",
|
737
|
+
// Arabic-indic digit 4
|
738
|
+
"٥": "5",
|
739
|
+
// Arabic-indic digit 5
|
740
|
+
"٦": "6",
|
741
|
+
// Arabic-indic digit 6
|
742
|
+
"٧": "7",
|
743
|
+
// Arabic-indic digit 7
|
744
|
+
"٨": "8",
|
745
|
+
// Arabic-indic digit 8
|
746
|
+
"٩": "9",
|
747
|
+
// Arabic-indic digit 9
|
748
|
+
"۰": "0",
|
749
|
+
// Eastern-Arabic digit 0
|
750
|
+
"۱": "1",
|
751
|
+
// Eastern-Arabic digit 1
|
752
|
+
"۲": "2",
|
753
|
+
// Eastern-Arabic digit 2
|
754
|
+
"۳": "3",
|
755
|
+
// Eastern-Arabic digit 3
|
756
|
+
"۴": "4",
|
757
|
+
// Eastern-Arabic digit 4
|
758
|
+
"۵": "5",
|
759
|
+
// Eastern-Arabic digit 5
|
760
|
+
"۶": "6",
|
761
|
+
// Eastern-Arabic digit 6
|
762
|
+
"۷": "7",
|
763
|
+
// Eastern-Arabic digit 7
|
764
|
+
"۸": "8",
|
765
|
+
// Eastern-Arabic digit 8
|
766
|
+
"۹": "9"
|
767
|
+
// Eastern-Arabic digit 9
|
768
|
+
};
|
769
|
+
function g1(d) {
|
770
|
+
return y1[d];
|
771
|
+
}
|
772
|
+
function p1(d, e) {
|
773
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
774
|
+
if (t) return (t = t.call(d)).next.bind(t);
|
775
|
+
if (Array.isArray(d) || (t = v1(d)) || e) {
|
776
|
+
t && (d = t);
|
777
|
+
var $ = 0;
|
778
|
+
return function() {
|
779
|
+
return $ >= d.length ? { done: !0 } : { done: !1, value: d[$++] };
|
780
|
+
};
|
781
|
+
}
|
782
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
783
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
784
|
+
}
|
785
|
+
function v1(d, e) {
|
786
|
+
if (d) {
|
787
|
+
if (typeof d == "string") return Y(d, e);
|
788
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
789
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
|
790
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Y(d, e);
|
791
|
+
}
|
792
|
+
}
|
793
|
+
function Y(d, e) {
|
794
|
+
(e == null || e > d.length) && (e = d.length);
|
795
|
+
for (var t = 0, $ = new Array(e); t < e; t++)
|
796
|
+
$[t] = d[t];
|
797
|
+
return $;
|
798
|
+
}
|
799
|
+
function Z(d) {
|
800
|
+
for (var e = "", t = p1(d.split("")), $; !($ = t()).done; ) {
|
801
|
+
var r = $.value;
|
802
|
+
e += m1(r, e) || "";
|
803
|
+
}
|
804
|
+
return e;
|
805
|
+
}
|
806
|
+
function m1(d, e, t) {
|
807
|
+
return d === "+" ? e ? void 0 : "+" : g1(d);
|
808
|
+
}
|
809
|
+
function k(d, e) {
|
810
|
+
return P1(d, void 0, e);
|
811
|
+
}
|
812
|
+
function P1(d, e, t) {
|
813
|
+
var $ = t.type(e), r = $ && $.possibleLengths() || t.possibleLengths();
|
814
|
+
if (!r)
|
815
|
+
return "IS_POSSIBLE";
|
816
|
+
var n = d.length, i = r[0];
|
817
|
+
return i === n ? "IS_POSSIBLE" : i > n ? "TOO_SHORT" : r[r.length - 1] < n ? "TOO_LONG" : r.indexOf(n, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
818
|
+
}
|
819
|
+
function b1(d, e, t) {
|
820
|
+
if (e === void 0 && (e = {}), t = new l(t), e.v2) {
|
821
|
+
if (!d.countryCallingCode)
|
822
|
+
throw new Error("Invalid phone number object passed");
|
823
|
+
t.selectNumberingPlan(d.countryCallingCode);
|
824
|
+
} else {
|
825
|
+
if (!d.phone)
|
826
|
+
return !1;
|
827
|
+
if (d.country) {
|
828
|
+
if (!t.hasCountry(d.country))
|
829
|
+
throw new Error("Unknown country: ".concat(d.country));
|
830
|
+
t.country(d.country);
|
831
|
+
} else {
|
832
|
+
if (!d.countryCallingCode)
|
833
|
+
throw new Error("Invalid phone number object passed");
|
834
|
+
t.selectNumberingPlan(d.countryCallingCode);
|
835
|
+
}
|
836
|
+
}
|
837
|
+
if (t.possibleLengths())
|
838
|
+
return v0(d.phone || d.nationalNumber, t);
|
839
|
+
if (d.countryCallingCode && t.isNonGeographicCallingCode(d.countryCallingCode))
|
840
|
+
return !0;
|
841
|
+
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
842
|
+
}
|
843
|
+
function v0(d, e) {
|
844
|
+
switch (k(d, e)) {
|
845
|
+
case "IS_POSSIBLE":
|
846
|
+
return !0;
|
847
|
+
default:
|
848
|
+
return !1;
|
849
|
+
}
|
850
|
+
}
|
851
|
+
function y(d, e) {
|
852
|
+
return d = d || "", new RegExp("^(?:" + e + ")$").test(d);
|
853
|
+
}
|
854
|
+
function N1(d, e) {
|
855
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
856
|
+
if (t) return (t = t.call(d)).next.bind(t);
|
857
|
+
if (Array.isArray(d) || (t = C1(d)) || e) {
|
858
|
+
t && (d = t);
|
859
|
+
var $ = 0;
|
860
|
+
return function() {
|
861
|
+
return $ >= d.length ? { done: !0 } : { done: !1, value: d[$++] };
|
862
|
+
};
|
863
|
+
}
|
864
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
865
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
866
|
+
}
|
867
|
+
function C1(d, e) {
|
868
|
+
if (d) {
|
869
|
+
if (typeof d == "string") return J(d, e);
|
870
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
871
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
|
872
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return J(d, e);
|
873
|
+
}
|
874
|
+
}
|
875
|
+
function J(d, e) {
|
876
|
+
(e == null || e > d.length) && (e = d.length);
|
877
|
+
for (var t = 0, $ = new Array(e); t < e; t++)
|
878
|
+
$[t] = d[t];
|
879
|
+
return $;
|
880
|
+
}
|
881
|
+
var _1 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
882
|
+
function U(d, e, t) {
|
883
|
+
if (e = e || {}, !(!d.country && !d.countryCallingCode)) {
|
884
|
+
t = new l(t), t.selectNumberingPlan(d.country, d.countryCallingCode);
|
885
|
+
var $ = e.v2 ? d.nationalNumber : d.phone;
|
886
|
+
if (y($, t.nationalNumberPattern())) {
|
887
|
+
if (S($, "FIXED_LINE", t))
|
888
|
+
return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || S($, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
889
|
+
for (var r = N1(_1), n; !(n = r()).done; ) {
|
890
|
+
var i = n.value;
|
891
|
+
if (S($, i, t))
|
892
|
+
return i;
|
893
|
+
}
|
894
|
+
}
|
895
|
+
}
|
896
|
+
}
|
897
|
+
function S(d, e, t) {
|
898
|
+
return e = t.type(e), !e || !e.pattern() || e.possibleLengths() && e.possibleLengths().indexOf(d.length) < 0 ? !1 : y(d, e.pattern());
|
899
|
+
}
|
900
|
+
function O1(d, e, t) {
|
901
|
+
if (e = e || {}, t = new l(t), t.selectNumberingPlan(d.country, d.countryCallingCode), t.hasTypes())
|
902
|
+
return U(d, e, t.metadata) !== void 0;
|
903
|
+
var $ = e.v2 ? d.nationalNumber : d.phone;
|
904
|
+
return y($, t.nationalNumberPattern());
|
905
|
+
}
|
906
|
+
function E1(d, e, t) {
|
907
|
+
var $ = new l(t), r = $.getCountryCodesForCallingCode(d);
|
908
|
+
return r ? r.filter(function(n) {
|
909
|
+
return I1(e, n, t);
|
910
|
+
}) : [];
|
911
|
+
}
|
912
|
+
function I1(d, e, t) {
|
913
|
+
var $ = new l(t);
|
914
|
+
return $.selectNumberingPlan(e), $.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
|
915
|
+
}
|
916
|
+
function F1(d) {
|
917
|
+
return d.replace(new RegExp("[".concat(O, "]+"), "g"), " ").trim();
|
918
|
+
}
|
919
|
+
var S1 = /(\$\d)/;
|
920
|
+
function w1(d, e, t) {
|
921
|
+
var $ = t.useInternationalFormat, r = t.withNationalPrefix, n = d.replace(new RegExp(e.pattern()), $ ? e.internationalFormat() : (
|
922
|
+
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
923
|
+
// because that one is only used when formatting phone numbers
|
924
|
+
// for dialing from a mobile phone, and this is not a dialing library.
|
925
|
+
// carrierCode && format.domesticCarrierCodeFormattingRule()
|
926
|
+
// // First, replace the $CC in the formatting rule with the desired carrier code.
|
927
|
+
// // Then, replace the $FG in the formatting rule with the first group
|
928
|
+
// // and the carrier code combined in the appropriate way.
|
929
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
|
930
|
+
// : (
|
931
|
+
// withNationalPrefix && format.nationalPrefixFormattingRule()
|
932
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
933
|
+
// : format.format()
|
934
|
+
// )
|
935
|
+
r && e.nationalPrefixFormattingRule() ? e.format().replace(S1, e.nationalPrefixFormattingRule()) : e.format()
|
936
|
+
));
|
937
|
+
return $ ? F1(n) : n;
|
938
|
+
}
|
939
|
+
var x1 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
940
|
+
function T1(d, e, t) {
|
941
|
+
var $ = new l(t);
|
942
|
+
if ($.selectNumberingPlan(d, e), $.defaultIDDPrefix())
|
943
|
+
return $.defaultIDDPrefix();
|
944
|
+
if (x1.test($.IDDPrefix()))
|
945
|
+
return $.IDDPrefix();
|
946
|
+
}
|
947
|
+
function A1(d) {
|
948
|
+
var e = d.number, t = d.ext;
|
949
|
+
if (!e)
|
950
|
+
return "";
|
951
|
+
if (e[0] !== "+")
|
952
|
+
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
953
|
+
return "tel:".concat(e).concat(t ? ";ext=" + t : "");
|
954
|
+
}
|
955
|
+
function R1(d, e) {
|
956
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
957
|
+
if (t) return (t = t.call(d)).next.bind(t);
|
958
|
+
if (Array.isArray(d) || (t = D1(d)) || e) {
|
959
|
+
t && (d = t);
|
960
|
+
var $ = 0;
|
961
|
+
return function() {
|
962
|
+
return $ >= d.length ? { done: !0 } : { done: !1, value: d[$++] };
|
963
|
+
};
|
964
|
+
}
|
965
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
966
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
967
|
+
}
|
968
|
+
function D1(d, e) {
|
969
|
+
if (d) {
|
970
|
+
if (typeof d == "string") return z(d, e);
|
971
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
972
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
|
973
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return z(d, e);
|
974
|
+
}
|
975
|
+
}
|
976
|
+
function z(d, e) {
|
977
|
+
(e == null || e > d.length) && (e = d.length);
|
978
|
+
for (var t = 0, $ = new Array(e); t < e; t++)
|
979
|
+
$[t] = d[t];
|
980
|
+
return $;
|
981
|
+
}
|
982
|
+
function Q(d, e) {
|
983
|
+
var t = Object.keys(d);
|
984
|
+
if (Object.getOwnPropertySymbols) {
|
985
|
+
var $ = Object.getOwnPropertySymbols(d);
|
986
|
+
e && ($ = $.filter(function(r) {
|
987
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
988
|
+
})), t.push.apply(t, $);
|
989
|
+
}
|
990
|
+
return t;
|
991
|
+
}
|
992
|
+
function q(d) {
|
993
|
+
for (var e = 1; e < arguments.length; e++) {
|
994
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
995
|
+
e % 2 ? Q(Object(t), !0).forEach(function($) {
|
996
|
+
L1(d, $, t[$]);
|
997
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Q(Object(t)).forEach(function($) {
|
998
|
+
Object.defineProperty(d, $, Object.getOwnPropertyDescriptor(t, $));
|
999
|
+
});
|
1000
|
+
}
|
1001
|
+
return d;
|
1002
|
+
}
|
1003
|
+
function L1(d, e, t) {
|
1004
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1005
|
+
}
|
1006
|
+
var d0 = {
|
1007
|
+
formatExtension: function(e, t, $) {
|
1008
|
+
return "".concat(e).concat($.ext()).concat(t);
|
1009
|
+
}
|
1010
|
+
};
|
1011
|
+
function M1(d, e, t, $) {
|
1012
|
+
if (t ? t = q(q({}, d0), t) : t = d0, $ = new l($), d.country && d.country !== "001") {
|
1013
|
+
if (!$.hasCountry(d.country))
|
1014
|
+
throw new Error("Unknown country: ".concat(d.country));
|
1015
|
+
$.country(d.country);
|
1016
|
+
} else if (d.countryCallingCode)
|
1017
|
+
$.selectNumberingPlan(d.countryCallingCode);
|
1018
|
+
else return d.phone || "";
|
1019
|
+
var r = $.countryCallingCode(), n = t.v2 ? d.nationalNumber : d.phone, i;
|
1020
|
+
switch (e) {
|
1021
|
+
case "NATIONAL":
|
1022
|
+
return n ? (i = E(n, d.carrierCode, "NATIONAL", $, t), w(i, d.ext, $, t.formatExtension)) : "";
|
1023
|
+
case "INTERNATIONAL":
|
1024
|
+
return n ? (i = E(n, null, "INTERNATIONAL", $, t), i = "+".concat(r, " ").concat(i), w(i, d.ext, $, t.formatExtension)) : "+".concat(r);
|
1025
|
+
case "E.164":
|
1026
|
+
return "+".concat(r).concat(n);
|
1027
|
+
case "RFC3966":
|
1028
|
+
return A1({
|
1029
|
+
number: "+".concat(r).concat(n),
|
1030
|
+
ext: d.ext
|
1031
|
+
});
|
1032
|
+
case "IDD":
|
1033
|
+
if (!t.fromCountry)
|
1034
|
+
return;
|
1035
|
+
var a = B1(n, d.carrierCode, r, t.fromCountry, $);
|
1036
|
+
return w(a, d.ext, $, t.formatExtension);
|
1037
|
+
default:
|
1038
|
+
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e, '"'));
|
1039
|
+
}
|
1040
|
+
}
|
1041
|
+
function E(d, e, t, $, r) {
|
1042
|
+
var n = G1($.formats(), d);
|
1043
|
+
return n ? w1(d, n, {
|
1044
|
+
useInternationalFormat: t === "INTERNATIONAL",
|
1045
|
+
withNationalPrefix: !(n.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && r && r.nationalPrefix === !1),
|
1046
|
+
carrierCode: e,
|
1047
|
+
metadata: $
|
1048
|
+
}) : d;
|
1049
|
+
}
|
1050
|
+
function G1(d, e) {
|
1051
|
+
for (var t = R1(d), $; !($ = t()).done; ) {
|
1052
|
+
var r = $.value;
|
1053
|
+
if (r.leadingDigitsPatterns().length > 0) {
|
1054
|
+
var n = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
|
1055
|
+
if (e.search(n) !== 0)
|
1056
|
+
continue;
|
1057
|
+
}
|
1058
|
+
if (y(e, r.pattern()))
|
1059
|
+
return r;
|
1060
|
+
}
|
1061
|
+
}
|
1062
|
+
function w(d, e, t, $) {
|
1063
|
+
return e ? $(d, e, t) : d;
|
1064
|
+
}
|
1065
|
+
function B1(d, e, t, $, r) {
|
1066
|
+
var n = B($, r.metadata);
|
1067
|
+
if (n === t) {
|
1068
|
+
var i = E(d, e, "NATIONAL", r);
|
1069
|
+
return t === "1" ? t + " " + i : i;
|
1070
|
+
}
|
1071
|
+
var a = T1($, void 0, r.metadata);
|
1072
|
+
if (a)
|
1073
|
+
return "".concat(a, " ").concat(t, " ").concat(E(d, null, "INTERNATIONAL", r));
|
1074
|
+
}
|
1075
|
+
function e0(d, e) {
|
1076
|
+
var t = Object.keys(d);
|
1077
|
+
if (Object.getOwnPropertySymbols) {
|
1078
|
+
var $ = Object.getOwnPropertySymbols(d);
|
1079
|
+
e && ($ = $.filter(function(r) {
|
1080
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
1081
|
+
})), t.push.apply(t, $);
|
1082
|
+
}
|
1083
|
+
return t;
|
1084
|
+
}
|
1085
|
+
function t0(d) {
|
1086
|
+
for (var e = 1; e < arguments.length; e++) {
|
1087
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1088
|
+
e % 2 ? e0(Object(t), !0).forEach(function($) {
|
1089
|
+
k1(d, $, t[$]);
|
1090
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : e0(Object(t)).forEach(function($) {
|
1091
|
+
Object.defineProperty(d, $, Object.getOwnPropertyDescriptor(t, $));
|
1092
|
+
});
|
1093
|
+
}
|
1094
|
+
return d;
|
1095
|
+
}
|
1096
|
+
function k1(d, e, t) {
|
1097
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1098
|
+
}
|
1099
|
+
function U1(d, e) {
|
1100
|
+
if (!(d instanceof e))
|
1101
|
+
throw new TypeError("Cannot call a class as a function");
|
1102
|
+
}
|
1103
|
+
function j1(d, e) {
|
1104
|
+
for (var t = 0; t < e.length; t++) {
|
1105
|
+
var $ = e[t];
|
1106
|
+
$.enumerable = $.enumerable || !1, $.configurable = !0, "value" in $ && ($.writable = !0), Object.defineProperty(d, $.key, $);
|
1107
|
+
}
|
1108
|
+
}
|
1109
|
+
function H1(d, e, t) {
|
1110
|
+
return j1(d.prototype, e), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
1111
|
+
}
|
1112
|
+
var V1 = /* @__PURE__ */ function() {
|
1113
|
+
function d(e, t, $) {
|
1114
|
+
if (U1(this, d), !e)
|
1115
|
+
throw new TypeError("`country` or `countryCallingCode` not passed");
|
1116
|
+
if (!t)
|
1117
|
+
throw new TypeError("`nationalNumber` not passed");
|
1118
|
+
if (!$)
|
1119
|
+
throw new TypeError("`metadata` not passed");
|
1120
|
+
var r = W1(e, $), n = r.country, i = r.countryCallingCode;
|
1121
|
+
this.country = n, this.countryCallingCode = i, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
1122
|
+
return $;
|
1123
|
+
};
|
1124
|
+
}
|
1125
|
+
return H1(d, [{
|
1126
|
+
key: "setExt",
|
1127
|
+
value: function(t) {
|
1128
|
+
this.ext = t;
|
1129
|
+
}
|
1130
|
+
}, {
|
1131
|
+
key: "getPossibleCountries",
|
1132
|
+
value: function() {
|
1133
|
+
return this.country ? [this.country] : E1(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
1134
|
+
}
|
1135
|
+
}, {
|
1136
|
+
key: "isPossible",
|
1137
|
+
value: function() {
|
1138
|
+
return b1(this, {
|
1139
|
+
v2: !0
|
1140
|
+
}, this.getMetadata());
|
1141
|
+
}
|
1142
|
+
}, {
|
1143
|
+
key: "isValid",
|
1144
|
+
value: function() {
|
1145
|
+
return O1(this, {
|
1146
|
+
v2: !0
|
1147
|
+
}, this.getMetadata());
|
1148
|
+
}
|
1149
|
+
}, {
|
1150
|
+
key: "isNonGeographic",
|
1151
|
+
value: function() {
|
1152
|
+
var t = new l(this.getMetadata());
|
1153
|
+
return t.isNonGeographicCallingCode(this.countryCallingCode);
|
1154
|
+
}
|
1155
|
+
}, {
|
1156
|
+
key: "isEqual",
|
1157
|
+
value: function(t) {
|
1158
|
+
return this.number === t.number && this.ext === t.ext;
|
1159
|
+
}
|
1160
|
+
// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
|
1161
|
+
// but later it was found out that it doesn't include the possible `TOO_SHORT` result
|
1162
|
+
// returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
|
1163
|
+
// so eventually I simply commented out this method from the `PhoneNumber` class
|
1164
|
+
// and just left the `validatePhoneNumberLength()` function, even though that one would require
|
1165
|
+
// and additional step to also validate the actual country / calling code of the phone number.
|
1166
|
+
// validateLength() {
|
1167
|
+
// const metadata = new Metadata(this.getMetadata())
|
1168
|
+
// metadata.selectNumberingPlan(this.countryCallingCode)
|
1169
|
+
// const result = checkNumberLength(this.nationalNumber, metadata)
|
1170
|
+
// if (result !== 'IS_POSSIBLE') {
|
1171
|
+
// return result
|
1172
|
+
// }
|
1173
|
+
// }
|
1174
|
+
}, {
|
1175
|
+
key: "getType",
|
1176
|
+
value: function() {
|
1177
|
+
return U(this, {
|
1178
|
+
v2: !0
|
1179
|
+
}, this.getMetadata());
|
1180
|
+
}
|
1181
|
+
}, {
|
1182
|
+
key: "format",
|
1183
|
+
value: function(t, $) {
|
1184
|
+
return M1(this, t, $ ? t0(t0({}, $), {}, {
|
1185
|
+
v2: !0
|
1186
|
+
}) : {
|
1187
|
+
v2: !0
|
1188
|
+
}, this.getMetadata());
|
1189
|
+
}
|
1190
|
+
}, {
|
1191
|
+
key: "formatNational",
|
1192
|
+
value: function(t) {
|
1193
|
+
return this.format("NATIONAL", t);
|
1194
|
+
}
|
1195
|
+
}, {
|
1196
|
+
key: "formatInternational",
|
1197
|
+
value: function(t) {
|
1198
|
+
return this.format("INTERNATIONAL", t);
|
1199
|
+
}
|
1200
|
+
}, {
|
1201
|
+
key: "getURI",
|
1202
|
+
value: function(t) {
|
1203
|
+
return this.format("RFC3966", t);
|
1204
|
+
}
|
1205
|
+
}]), d;
|
1206
|
+
}(), K1 = function(e) {
|
1207
|
+
return /^[A-Z]{2}$/.test(e);
|
1208
|
+
};
|
1209
|
+
function W1(d, e) {
|
1210
|
+
var t, $, r = new l(e);
|
1211
|
+
return K1(d) ? (t = d, r.selectNumberingPlan(t), $ = r.countryCallingCode()) : $ = d, {
|
1212
|
+
country: t,
|
1213
|
+
countryCallingCode: $
|
1214
|
+
};
|
1215
|
+
}
|
1216
|
+
var X1 = new RegExp("([" + f + "])");
|
1217
|
+
function Y1(d, e, t, $) {
|
1218
|
+
if (e) {
|
1219
|
+
var r = new l($);
|
1220
|
+
r.selectNumberingPlan(e, t);
|
1221
|
+
var n = new RegExp(r.IDDPrefix());
|
1222
|
+
if (d.search(n) === 0) {
|
1223
|
+
d = d.slice(d.match(n)[0].length);
|
1224
|
+
var i = d.match(X1);
|
1225
|
+
if (!(i && i[1] != null && i[1].length > 0 && i[1] === "0"))
|
1226
|
+
return d;
|
1227
|
+
}
|
1228
|
+
}
|
1229
|
+
}
|
1230
|
+
function Z1(d, e) {
|
1231
|
+
if (d && e.numberingPlan.nationalPrefixForParsing()) {
|
1232
|
+
var t = new RegExp("^(?:" + e.numberingPlan.nationalPrefixForParsing() + ")"), $ = t.exec(d);
|
1233
|
+
if ($) {
|
1234
|
+
var r, n, i = $.length - 1, a = i > 0 && $[i];
|
1235
|
+
if (e.nationalPrefixTransformRule() && a)
|
1236
|
+
r = d.replace(t, e.nationalPrefixTransformRule()), i > 1 && (n = $[1]);
|
1237
|
+
else {
|
1238
|
+
var u = $[0];
|
1239
|
+
r = d.slice(u.length), a && (n = $[1]);
|
1240
|
+
}
|
1241
|
+
var o;
|
1242
|
+
if (a) {
|
1243
|
+
var s = d.indexOf($[1]), g = d.slice(0, s);
|
1244
|
+
g === e.numberingPlan.nationalPrefix() && (o = e.numberingPlan.nationalPrefix());
|
1245
|
+
} else
|
1246
|
+
o = $[0];
|
1247
|
+
return {
|
1248
|
+
nationalNumber: r,
|
1249
|
+
nationalPrefix: o,
|
1250
|
+
carrierCode: n
|
1251
|
+
};
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
return {
|
1255
|
+
nationalNumber: d
|
1256
|
+
};
|
1257
|
+
}
|
1258
|
+
function R(d, e) {
|
1259
|
+
var t = Z1(d, e), $ = t.carrierCode, r = t.nationalNumber;
|
1260
|
+
if (r !== d) {
|
1261
|
+
if (!J1(d, r, e))
|
1262
|
+
return {
|
1263
|
+
nationalNumber: d
|
1264
|
+
};
|
1265
|
+
if (e.possibleLengths() && !z1(r, e))
|
1266
|
+
return {
|
1267
|
+
nationalNumber: d
|
1268
|
+
};
|
1269
|
+
}
|
1270
|
+
return {
|
1271
|
+
nationalNumber: r,
|
1272
|
+
carrierCode: $
|
1273
|
+
};
|
1274
|
+
}
|
1275
|
+
function J1(d, e, t) {
|
1276
|
+
return !(y(d, t.nationalNumberPattern()) && !y(e, t.nationalNumberPattern()));
|
1277
|
+
}
|
1278
|
+
function z1(d, e) {
|
1279
|
+
switch (k(d, e)) {
|
1280
|
+
case "TOO_SHORT":
|
1281
|
+
case "INVALID_LENGTH":
|
1282
|
+
return !1;
|
1283
|
+
default:
|
1284
|
+
return !0;
|
1285
|
+
}
|
1286
|
+
}
|
1287
|
+
function Q1(d, e, t, $) {
|
1288
|
+
var r = e ? B(e, $) : t;
|
1289
|
+
if (d.indexOf(r) === 0) {
|
1290
|
+
$ = new l($), $.selectNumberingPlan(e, t);
|
1291
|
+
var n = d.slice(r.length), i = R(n, $), a = i.nationalNumber, u = R(d, $), o = u.nationalNumber;
|
1292
|
+
if (!y(o, $.nationalNumberPattern()) && y(a, $.nationalNumberPattern()) || k(o, $) === "TOO_LONG")
|
1293
|
+
return {
|
1294
|
+
countryCallingCode: r,
|
1295
|
+
number: n
|
1296
|
+
};
|
1297
|
+
}
|
1298
|
+
return {
|
1299
|
+
number: d
|
1300
|
+
};
|
1301
|
+
}
|
1302
|
+
function q1(d, e, t, $) {
|
1303
|
+
if (!d)
|
1304
|
+
return {};
|
1305
|
+
var r;
|
1306
|
+
if (d[0] !== "+") {
|
1307
|
+
var n = Y1(d, e, t, $);
|
1308
|
+
if (n && n !== d)
|
1309
|
+
r = !0, d = "+" + n;
|
1310
|
+
else {
|
1311
|
+
if (e || t) {
|
1312
|
+
var i = Q1(d, e, t, $), a = i.countryCallingCode, u = i.number;
|
1313
|
+
if (a)
|
1314
|
+
return {
|
1315
|
+
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
1316
|
+
countryCallingCode: a,
|
1317
|
+
number: u
|
1318
|
+
};
|
1319
|
+
}
|
1320
|
+
return {
|
1321
|
+
// No need to set it to `UNSPECIFIED`. It can be just `undefined`.
|
1322
|
+
// countryCallingCodeSource: 'UNSPECIFIED',
|
1323
|
+
number: d
|
1324
|
+
};
|
1325
|
+
}
|
1326
|
+
}
|
1327
|
+
if (d[1] === "0")
|
1328
|
+
return {};
|
1329
|
+
$ = new l($);
|
1330
|
+
for (var o = 2; o - 1 <= j0 && o <= d.length; ) {
|
1331
|
+
var s = d.slice(1, o);
|
1332
|
+
if ($.hasCallingCode(s))
|
1333
|
+
return $.selectNumberingPlan(s), {
|
1334
|
+
countryCallingCodeSource: r ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
1335
|
+
countryCallingCode: s,
|
1336
|
+
number: d.slice(o)
|
1337
|
+
};
|
1338
|
+
o++;
|
1339
|
+
}
|
1340
|
+
return {};
|
1341
|
+
}
|
1342
|
+
function dd(d, e) {
|
1343
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1344
|
+
if (t) return (t = t.call(d)).next.bind(t);
|
1345
|
+
if (Array.isArray(d) || (t = ed(d)) || e) {
|
1346
|
+
t && (d = t);
|
1347
|
+
var $ = 0;
|
1348
|
+
return function() {
|
1349
|
+
return $ >= d.length ? { done: !0 } : { done: !1, value: d[$++] };
|
1350
|
+
};
|
1351
|
+
}
|
1352
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
1353
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1354
|
+
}
|
1355
|
+
function ed(d, e) {
|
1356
|
+
if (d) {
|
1357
|
+
if (typeof d == "string") return $0(d, e);
|
1358
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1359
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
|
1360
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return $0(d, e);
|
1361
|
+
}
|
1362
|
+
}
|
1363
|
+
function $0(d, e) {
|
1364
|
+
(e == null || e > d.length) && (e = d.length);
|
1365
|
+
for (var t = 0, $ = new Array(e); t < e; t++)
|
1366
|
+
$[t] = d[t];
|
1367
|
+
return $;
|
1368
|
+
}
|
1369
|
+
function td(d, e) {
|
1370
|
+
var t = e.countries, $ = e.metadata;
|
1371
|
+
$ = new l($);
|
1372
|
+
for (var r = dd(t), n; !(n = r()).done; ) {
|
1373
|
+
var i = n.value;
|
1374
|
+
if ($.country(i), $.leadingDigits()) {
|
1375
|
+
if (d && d.search($.leadingDigits()) === 0)
|
1376
|
+
return i;
|
1377
|
+
} else if (U({
|
1378
|
+
phone: d,
|
1379
|
+
country: i
|
1380
|
+
}, void 0, $.metadata))
|
1381
|
+
return i;
|
1382
|
+
}
|
1383
|
+
}
|
1384
|
+
function $d(d, e) {
|
1385
|
+
var t = e.nationalNumber, $ = e.defaultCountry, r = e.metadata, n = r.getCountryCodesForCallingCode(d);
|
1386
|
+
if (n)
|
1387
|
+
return n.length === 1 ? n[0] : td(t, {
|
1388
|
+
countries: n,
|
1389
|
+
defaultCountry: $,
|
1390
|
+
metadata: r.metadata
|
1391
|
+
});
|
1392
|
+
}
|
1393
|
+
var m0 = "+", rd = "[\\-\\.\\(\\)]?", r0 = "([" + f + "]|" + rd + ")", nd = "^\\" + m0 + r0 + "*[" + f + "]" + r0 + "*$", id = new RegExp(nd, "g"), D = f, ad = "[" + D + "]+((\\-)*[" + D + "])*", od = "a-zA-Z", ud = "[" + od + "]+((\\-)*[" + D + "])*", ld = "^(" + ad + "\\.)*" + ud + "\\.?$", sd = new RegExp(ld, "g"), n0 = "tel:", L = ";phone-context=", fd = ";isub=";
|
1394
|
+
function cd(d) {
|
1395
|
+
var e = d.indexOf(L);
|
1396
|
+
if (e < 0)
|
1397
|
+
return null;
|
1398
|
+
var t = e + L.length;
|
1399
|
+
if (t >= d.length)
|
1400
|
+
return "";
|
1401
|
+
var $ = d.indexOf(";", t);
|
1402
|
+
return $ >= 0 ? d.substring(t, $) : d.substring(t);
|
1403
|
+
}
|
1404
|
+
function hd(d) {
|
1405
|
+
return d === null ? !0 : d.length === 0 ? !1 : id.test(d) || sd.test(d);
|
1406
|
+
}
|
1407
|
+
function yd(d, e) {
|
1408
|
+
var t = e.extractFormattedPhoneNumber, $ = cd(d);
|
1409
|
+
if (!hd($))
|
1410
|
+
throw new h("NOT_A_NUMBER");
|
1411
|
+
var r;
|
1412
|
+
if ($ === null)
|
1413
|
+
r = t(d) || "";
|
1414
|
+
else {
|
1415
|
+
r = "", $.charAt(0) === m0 && (r += $);
|
1416
|
+
var n = d.indexOf(n0), i;
|
1417
|
+
n >= 0 ? i = n + n0.length : i = 0;
|
1418
|
+
var a = d.indexOf(L);
|
1419
|
+
r += d.substring(i, a);
|
1420
|
+
}
|
1421
|
+
var u = r.indexOf(fd);
|
1422
|
+
if (u > 0 && (r = r.substring(0, u)), r !== "")
|
1423
|
+
return r;
|
1424
|
+
}
|
1425
|
+
var gd = 250, pd = new RegExp("[" + G + f + "]"), vd = new RegExp("[^" + f + "#]+$");
|
1426
|
+
function md(d, e, t) {
|
1427
|
+
if (e = e || {}, t = new l(t), e.defaultCountry && !t.hasCountry(e.defaultCountry))
|
1428
|
+
throw e.v2 ? new h("INVALID_COUNTRY") : new Error("Unknown country: ".concat(e.defaultCountry));
|
1429
|
+
var $ = bd(d, e.v2, e.extract), r = $.number, n = $.ext, i = $.error;
|
1430
|
+
if (!r) {
|
1431
|
+
if (e.v2)
|
1432
|
+
throw i === "TOO_SHORT" ? new h("TOO_SHORT") : new h("NOT_A_NUMBER");
|
1433
|
+
return {};
|
1434
|
+
}
|
1435
|
+
var a = Cd(r, e.defaultCountry, e.defaultCallingCode, t), u = a.country, o = a.nationalNumber, s = a.countryCallingCode, g = a.countryCallingCodeSource, c = a.carrierCode;
|
1436
|
+
if (!t.hasSelectedNumberingPlan()) {
|
1437
|
+
if (e.v2)
|
1438
|
+
throw new h("INVALID_COUNTRY");
|
1439
|
+
return {};
|
1440
|
+
}
|
1441
|
+
if (!o || o.length < M) {
|
1442
|
+
if (e.v2)
|
1443
|
+
throw new h("TOO_SHORT");
|
1444
|
+
return {};
|
1445
|
+
}
|
1446
|
+
if (o.length > U0) {
|
1447
|
+
if (e.v2)
|
1448
|
+
throw new h("TOO_LONG");
|
1449
|
+
return {};
|
1450
|
+
}
|
1451
|
+
if (e.v2) {
|
1452
|
+
var p = new V1(s, o, t.metadata);
|
1453
|
+
return u && (p.country = u), c && (p.carrierCode = c), n && (p.ext = n), p.__countryCallingCodeSource = g, p;
|
1454
|
+
}
|
1455
|
+
var m = (e.extended ? t.hasSelectedNumberingPlan() : u) ? y(o, t.nationalNumberPattern()) : !1;
|
1456
|
+
return e.extended ? {
|
1457
|
+
country: u,
|
1458
|
+
countryCallingCode: s,
|
1459
|
+
carrierCode: c,
|
1460
|
+
valid: m,
|
1461
|
+
possible: m ? !0 : !!(e.extended === !0 && t.possibleLengths() && v0(o, t)),
|
1462
|
+
phone: o,
|
1463
|
+
ext: n
|
1464
|
+
} : m ? Nd(u, o, n) : {};
|
1465
|
+
}
|
1466
|
+
function Pd(d, e, t) {
|
1467
|
+
if (d) {
|
1468
|
+
if (d.length > gd) {
|
1469
|
+
if (t)
|
1470
|
+
throw new h("TOO_LONG");
|
1471
|
+
return;
|
1472
|
+
}
|
1473
|
+
if (e === !1)
|
1474
|
+
return d;
|
1475
|
+
var $ = d.search(pd);
|
1476
|
+
if (!($ < 0))
|
1477
|
+
return d.slice($).replace(vd, "");
|
1478
|
+
}
|
1479
|
+
}
|
1480
|
+
function bd(d, e, t) {
|
1481
|
+
var $ = yd(d, {
|
1482
|
+
extractFormattedPhoneNumber: function(i) {
|
1483
|
+
return Pd(i, t, e);
|
1484
|
+
}
|
1485
|
+
});
|
1486
|
+
if (!$)
|
1487
|
+
return {};
|
1488
|
+
if (!f1($))
|
1489
|
+
return c1($) ? {
|
1490
|
+
error: "TOO_SHORT"
|
1491
|
+
} : {};
|
1492
|
+
var r = h1($);
|
1493
|
+
return r.ext ? r : {
|
1494
|
+
number: $
|
1495
|
+
};
|
1496
|
+
}
|
1497
|
+
function Nd(d, e, t) {
|
1498
|
+
var $ = {
|
1499
|
+
country: d,
|
1500
|
+
phone: e
|
1501
|
+
};
|
1502
|
+
return t && ($.ext = t), $;
|
1503
|
+
}
|
1504
|
+
function Cd(d, e, t, $) {
|
1505
|
+
var r = q1(Z(d), e, t, $.metadata), n = r.countryCallingCodeSource, i = r.countryCallingCode, a = r.number, u;
|
1506
|
+
if (i)
|
1507
|
+
$.selectNumberingPlan(i);
|
1508
|
+
else if (a && (e || t))
|
1509
|
+
$.selectNumberingPlan(e, t), e && (u = e), i = t || B(e, $.metadata);
|
1510
|
+
else return {};
|
1511
|
+
if (!a)
|
1512
|
+
return {
|
1513
|
+
countryCallingCodeSource: n,
|
1514
|
+
countryCallingCode: i
|
1515
|
+
};
|
1516
|
+
var o = R(Z(a), $), s = o.nationalNumber, g = o.carrierCode, c = $d(i, {
|
1517
|
+
nationalNumber: s,
|
1518
|
+
defaultCountry: e,
|
1519
|
+
metadata: $
|
1520
|
+
});
|
1521
|
+
return c && (u = c, c === "001" || $.country(u)), {
|
1522
|
+
country: u,
|
1523
|
+
countryCallingCode: i,
|
1524
|
+
countryCallingCodeSource: n,
|
1525
|
+
nationalNumber: s,
|
1526
|
+
carrierCode: g
|
1527
|
+
};
|
1528
|
+
}
|
1529
|
+
function i0(d, e) {
|
1530
|
+
var t = Object.keys(d);
|
1531
|
+
if (Object.getOwnPropertySymbols) {
|
1532
|
+
var $ = Object.getOwnPropertySymbols(d);
|
1533
|
+
e && ($ = $.filter(function(r) {
|
1534
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
1535
|
+
})), t.push.apply(t, $);
|
1536
|
+
}
|
1537
|
+
return t;
|
1538
|
+
}
|
1539
|
+
function a0(d) {
|
1540
|
+
for (var e = 1; e < arguments.length; e++) {
|
1541
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1542
|
+
e % 2 ? i0(Object(t), !0).forEach(function($) {
|
1543
|
+
_d(d, $, t[$]);
|
1544
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : i0(Object(t)).forEach(function($) {
|
1545
|
+
Object.defineProperty(d, $, Object.getOwnPropertyDescriptor(t, $));
|
1546
|
+
});
|
1547
|
+
}
|
1548
|
+
return d;
|
1549
|
+
}
|
1550
|
+
function _d(d, e, t) {
|
1551
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1552
|
+
}
|
1553
|
+
function Od(d, e, t) {
|
1554
|
+
return md(d, a0(a0({}, e), {}, {
|
1555
|
+
v2: !0
|
1556
|
+
}), t);
|
1557
|
+
}
|
1558
|
+
function o0(d, e) {
|
1559
|
+
var t = Object.keys(d);
|
1560
|
+
if (Object.getOwnPropertySymbols) {
|
1561
|
+
var $ = Object.getOwnPropertySymbols(d);
|
1562
|
+
e && ($ = $.filter(function(r) {
|
1563
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
1564
|
+
})), t.push.apply(t, $);
|
1565
|
+
}
|
1566
|
+
return t;
|
1567
|
+
}
|
1568
|
+
function Ed(d) {
|
1569
|
+
for (var e = 1; e < arguments.length; e++) {
|
1570
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1571
|
+
e % 2 ? o0(Object(t), !0).forEach(function($) {
|
1572
|
+
Id(d, $, t[$]);
|
1573
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : o0(Object(t)).forEach(function($) {
|
1574
|
+
Object.defineProperty(d, $, Object.getOwnPropertyDescriptor(t, $));
|
1575
|
+
});
|
1576
|
+
}
|
1577
|
+
return d;
|
1578
|
+
}
|
1579
|
+
function Id(d, e, t) {
|
1580
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1581
|
+
}
|
1582
|
+
function Fd(d, e) {
|
1583
|
+
return Td(d) || xd(d, e) || wd(d, e) || Sd();
|
1584
|
+
}
|
1585
|
+
function Sd() {
|
1586
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
1587
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1588
|
+
}
|
1589
|
+
function wd(d, e) {
|
1590
|
+
if (d) {
|
1591
|
+
if (typeof d == "string") return u0(d, e);
|
1592
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1593
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
|
1594
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return u0(d, e);
|
1595
|
+
}
|
1596
|
+
}
|
1597
|
+
function u0(d, e) {
|
1598
|
+
(e == null || e > d.length) && (e = d.length);
|
1599
|
+
for (var t = 0, $ = new Array(e); t < e; t++)
|
1600
|
+
$[t] = d[t];
|
1601
|
+
return $;
|
1602
|
+
}
|
1603
|
+
function xd(d, e) {
|
1604
|
+
var t = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1605
|
+
if (t != null) {
|
1606
|
+
var $ = [], r = !0, n = !1, i, a;
|
1607
|
+
try {
|
1608
|
+
for (t = t.call(d); !(r = (i = t.next()).done) && ($.push(i.value), !(e && $.length === e)); r = !0)
|
1609
|
+
;
|
1610
|
+
} catch (u) {
|
1611
|
+
n = !0, a = u;
|
1612
|
+
} finally {
|
1613
|
+
try {
|
1614
|
+
!r && t.return != null && t.return();
|
1615
|
+
} finally {
|
1616
|
+
if (n) throw a;
|
1617
|
+
}
|
1618
|
+
}
|
1619
|
+
return $;
|
1620
|
+
}
|
1621
|
+
}
|
1622
|
+
function Td(d) {
|
1623
|
+
if (Array.isArray(d)) return d;
|
1624
|
+
}
|
1625
|
+
function Ad(d) {
|
1626
|
+
var e = Array.prototype.slice.call(d), t = Fd(e, 4), $ = t[0], r = t[1], n = t[2], i = t[3], a, u, o;
|
1627
|
+
if (typeof $ == "string")
|
1628
|
+
a = $;
|
1629
|
+
else throw new TypeError("A text for parsing must be a string.");
|
1630
|
+
if (!r || typeof r == "string")
|
1631
|
+
i ? (u = n, o = i) : (u = void 0, o = n), r && (u = Ed({
|
1632
|
+
defaultCountry: r
|
1633
|
+
}, u));
|
1634
|
+
else if (_(r))
|
1635
|
+
n ? (u = r, o = n) : o = r;
|
1636
|
+
else throw new Error("Invalid second argument: ".concat(r));
|
1637
|
+
return {
|
1638
|
+
text: a,
|
1639
|
+
options: u,
|
1640
|
+
metadata: o
|
1641
|
+
};
|
1642
|
+
}
|
1643
|
+
function l0(d, e) {
|
1644
|
+
var t = Object.keys(d);
|
1645
|
+
if (Object.getOwnPropertySymbols) {
|
1646
|
+
var $ = Object.getOwnPropertySymbols(d);
|
1647
|
+
e && ($ = $.filter(function(r) {
|
1648
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
1649
|
+
})), t.push.apply(t, $);
|
1650
|
+
}
|
1651
|
+
return t;
|
1652
|
+
}
|
1653
|
+
function s0(d) {
|
1654
|
+
for (var e = 1; e < arguments.length; e++) {
|
1655
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1656
|
+
e % 2 ? l0(Object(t), !0).forEach(function($) {
|
1657
|
+
Rd(d, $, t[$]);
|
1658
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : l0(Object(t)).forEach(function($) {
|
1659
|
+
Object.defineProperty(d, $, Object.getOwnPropertyDescriptor(t, $));
|
1660
|
+
});
|
1661
|
+
}
|
1662
|
+
return d;
|
1663
|
+
}
|
1664
|
+
function Rd(d, e, t) {
|
1665
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1666
|
+
}
|
1667
|
+
function Dd(d, e, t) {
|
1668
|
+
e && e.defaultCountry && !n1(e.defaultCountry, t) && (e = s0(s0({}, e), {}, {
|
1669
|
+
defaultCountry: void 0
|
1670
|
+
}));
|
1671
|
+
try {
|
1672
|
+
return Od(d, e, t);
|
1673
|
+
} catch ($) {
|
1674
|
+
if (!($ instanceof h)) throw $;
|
1675
|
+
}
|
1676
|
+
}
|
1677
|
+
function f0(d, e) {
|
1678
|
+
var t = Object.keys(d);
|
1679
|
+
if (Object.getOwnPropertySymbols) {
|
1680
|
+
var $ = Object.getOwnPropertySymbols(d);
|
1681
|
+
e && ($ = $.filter(function(r) {
|
1682
|
+
return Object.getOwnPropertyDescriptor(d, r).enumerable;
|
1683
|
+
})), t.push.apply(t, $);
|
1684
|
+
}
|
1685
|
+
return t;
|
1686
|
+
}
|
1687
|
+
function c0(d) {
|
1688
|
+
for (var e = 1; e < arguments.length; e++) {
|
1689
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1690
|
+
e % 2 ? f0(Object(t), !0).forEach(function($) {
|
1691
|
+
Ld(d, $, t[$]);
|
1692
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : f0(Object(t)).forEach(function($) {
|
1693
|
+
Object.defineProperty(d, $, Object.getOwnPropertyDescriptor(t, $));
|
1694
|
+
});
|
1695
|
+
}
|
1696
|
+
return d;
|
1697
|
+
}
|
1698
|
+
function Ld(d, e, t) {
|
1699
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1700
|
+
}
|
1701
|
+
function Md() {
|
1702
|
+
var d = Ad(arguments), e = d.text, t = d.options, $ = d.metadata;
|
1703
|
+
t = c0(c0({}, t), {}, {
|
1704
|
+
extract: !1
|
1705
|
+
});
|
1706
|
+
var r = Dd(e, t, $);
|
1707
|
+
return r && r.isValid() || !1;
|
1708
|
+
}
|
1709
|
+
function Gd() {
|
1710
|
+
return R0(Md, arguments);
|
1711
|
+
}
|
1712
|
+
const Bd = S0.extend({
|
1713
|
+
name: "BPhoneInput",
|
1714
|
+
mixins: [E0("components/ui/BPhoneInput")],
|
1715
|
+
props: {
|
1716
|
+
phoneNumber: {
|
1717
|
+
type: String,
|
1718
|
+
default: ""
|
1719
|
+
},
|
1720
|
+
phoneCountry: {
|
1721
|
+
type: String,
|
1722
|
+
default: "FR"
|
1723
|
+
},
|
1724
|
+
readonly: {
|
1725
|
+
type: Boolean,
|
1726
|
+
default: !1
|
1727
|
+
}
|
1728
|
+
},
|
1729
|
+
data() {
|
1730
|
+
return {
|
1731
|
+
phoneNumberData: this.phoneNumber || "",
|
1732
|
+
phoneCountryData: this.phoneCountry || "",
|
1733
|
+
readonlyData: this.readonly || !1,
|
1734
|
+
rules: []
|
1735
|
+
};
|
1736
|
+
},
|
1737
|
+
computed: {
|
1738
|
+
countryList() {
|
1739
|
+
return Object.values(j).sort(
|
1740
|
+
(d, e) => d.name.localeCompare(e.name)
|
1741
|
+
);
|
1742
|
+
},
|
1743
|
+
phonePrefix() {
|
1744
|
+
return this.phoneCountryData ? `+${j[this.phoneCountryData].dialCode}` : "";
|
1745
|
+
}
|
1746
|
+
},
|
1747
|
+
watch: {
|
1748
|
+
phoneCountryData() {
|
1749
|
+
if (this.phoneCountryData) {
|
1750
|
+
const d = this.$refs["phone-number"];
|
1751
|
+
d.hasFocused = !0, d.validate(), this.isPhoneValid();
|
1752
|
+
}
|
1753
|
+
this.emitValue();
|
1754
|
+
},
|
1755
|
+
phoneNumberData: {
|
1756
|
+
immediate: !0,
|
1757
|
+
handler() {
|
1758
|
+
this.isPhoneValid(), this.emitValue();
|
1759
|
+
}
|
1760
|
+
}
|
1761
|
+
},
|
1762
|
+
methods: {
|
1763
|
+
isPhoneValid() {
|
1764
|
+
this.rules = [
|
1765
|
+
(d) => w0.required(d) || this.$t("BPhoneInput.rules.required"),
|
1766
|
+
(d) => Gd(
|
1767
|
+
this.phonePrefix + d,
|
1768
|
+
this.phoneCountryData
|
1769
|
+
) || this.$t("BPhoneInput.rules.format")
|
1770
|
+
];
|
1771
|
+
},
|
1772
|
+
emitValue() {
|
1773
|
+
const d = {
|
1774
|
+
phoneNumber: this.phoneNumberData,
|
1775
|
+
phoneCountry: this.phoneCountryData,
|
1776
|
+
phonePrefix: this.phonePrefix
|
1777
|
+
};
|
1778
|
+
this.$emit("input", d);
|
1779
|
+
},
|
1780
|
+
readOnlyProps() {
|
1781
|
+
return {
|
1782
|
+
appendOuterIcon: this.readonlyData ? "fa-edit" : void 0,
|
1783
|
+
class: { "v-input--is-disabled": this.readonlyData },
|
1784
|
+
clearable: !this.readonlyData,
|
1785
|
+
readonly: this.readonlyData
|
1786
|
+
};
|
1787
|
+
},
|
1788
|
+
edit() {
|
1789
|
+
this.readonlyData && (this.readonlyData = !1);
|
1790
|
+
}
|
1791
|
+
}
|
1792
|
+
});
|
1793
|
+
var kd = function() {
|
1794
|
+
var e = this, t = e._self._c;
|
1795
|
+
return e._self._setupProxy, t(F0, { staticClass: "w-100 flex-nowrap mx-auto" }, [t("div", { staticClass: "pb-0" }, [t(x0, { ref: "phone-country-menu", staticClass: "phone-prefix-input", class: { "v-input--is-disabled": e.readonly }, attrs: { attach: "", dense: "", "hide-details": "", "item-text": ($) => `${$.iso2} ${$.name} +${$.dialCode}`, "item-value": "iso2", items: e.countryList, "no-data-text": e.$t("BPhoneInput.noDataText"), outlined: "", readonly: e.readonlyData }, scopedSlots: e._u([{ key: "selection", fn: function({ item: $ }) {
|
1796
|
+
return [t("img", { staticClass: "mr-2", attrs: { alt: $.iso2, src: $.icon, width: "20" } })];
|
1797
|
+
} }, { key: "item", fn: function({ item: $ }) {
|
1798
|
+
return [t("img", { attrs: { alt: $.iso2, src: $.icon, width: "20" } }), t("span", { staticClass: "mx-2" }, [e._v(e._s($.name))]), t("b", [e._v("+" + e._s($.dialCode))])];
|
1799
|
+
} }]), model: { value: e.phoneCountryData, callback: function($) {
|
1800
|
+
e.phoneCountryData = $;
|
1801
|
+
}, expression: "phoneCountryData" } })], 1), t("div", { staticClass: "w-100 pl-1 pb-0" }, [t(P, e._b({ ref: "phone-number", attrs: { autocomplete: "on", autocompletetype: "phone", dense: "", label: e.$t("BPhoneInput.label"), name: "phone", outlined: "", prefix: e.phonePrefix, rules: e.rules }, on: { "click:append-outer": function($) {
|
1802
|
+
return e.edit("phoneNumber");
|
1803
|
+
} }, scopedSlots: e._u([{ key: "message", fn: function({ message: $ }) {
|
1804
|
+
return [e._v(" " + e._s(e.$t($)) + " ")];
|
1805
|
+
} }]), model: { value: e.phoneNumberData, callback: function($) {
|
1806
|
+
e.phoneNumberData = $;
|
1807
|
+
}, expression: "phoneNumberData" } }, "VTextField", e.readOnlyProps("readOnly"), !1))], 1)]);
|
1808
|
+
}, Ud = [], jd = /* @__PURE__ */ I0(
|
1809
|
+
Bd,
|
1810
|
+
kd,
|
1811
|
+
Ud,
|
1812
|
+
!1,
|
1813
|
+
null,
|
1814
|
+
"07c31344"
|
1815
|
+
);
|
1816
|
+
const Yd = jd.exports;
|
1817
|
+
_0("css/revolugo.bphoneinput.D5AxE5GM.css");
|
1818
|
+
export {
|
1819
|
+
Yd as B,
|
1820
|
+
Xd as _,
|
1821
|
+
Ad as n,
|
1822
|
+
Od as p,
|
1823
|
+
R0 as w
|
1824
|
+
};
|
1825
|
+
//# sourceMappingURL=revolugo.bphoneinput.BN_07lY5.min.js.map
|