@revolugo/elements 5.5.1-beta.4 → 5.5.1-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/fonts.css +1 -0
- package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +1 -0
- package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +1 -0
- package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +1 -0
- package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +1 -0
- package/dist/css/revolugo.bstarrating.nzH7iii4.css +1 -0
- package/dist/css/revolugo.btag.Bdbqb_8a.css +1 -0
- package/dist/css/revolugo.common.BSIsYREh.css +1 -0
- package/dist/css/revolugo.creditcardform.BGPUxkRC.css +1 -0
- package/dist/css/revolugo.creditcardpayment.CGjlL8Fn.css +1 -0
- package/dist/css/revolugo.currencypicker.BRYsKdMu.css +1 -0
- package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +1 -0
- package/dist/css/revolugo.hotel-offer.Di9LJKMP.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.CqAdVDJK.css +1 -0
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.DrGyKJ-m.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.DGFt0C9n.css +1 -0
- package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +1 -0
- package/dist/css/revolugo.index.BMkl7a3p.css +1 -0
- package/dist/css/revolugo.index.CFW4Oklv.css +1 -0
- package/dist/css/revolugo.index.DXv5c7NS.css +1 -0
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +1 -0
- package/dist/css/revolugo.parsed-height.B92--uJb.css +1 -0
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +1 -0
- package/dist/css/revolugo.prebookform.CDnZmw8F.css +1 -0
- package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +5 -0
- package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +1 -0
- package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +1 -0
- package/dist/css/revolugo.valert.BzcMswjJ.css +1 -0
- package/dist/css/revolugo.vautocomplete.OMX_yAge.css +1 -0
- package/dist/css/revolugo.vbadge.CiK_DSkI.css +1 -0
- package/dist/css/revolugo.vbtn.By46MJOU.css +1 -0
- package/dist/css/revolugo.vcard.DmB53ZNL.css +1 -0
- package/dist/css/revolugo.vchip.BdAdP6lC.css +1 -0
- package/dist/css/revolugo.vdialog.C02Cvwul.css +1 -0
- package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +1 -0
- package/dist/css/revolugo.vinput.SfhpXNi0.css +1 -0
- package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +1 -0
- package/dist/css/revolugo.vlistitem.BzwNE1YK.css +1 -0
- package/dist/css/revolugo.vmenu.BKE0IO4q.css +1 -0
- package/dist/css/revolugo.vselect.DljSkk6y.css +1 -0
- package/dist/css/revolugo.vsheet.Dtdo2Rps.css +1 -0
- package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +1 -0
- package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +1 -0
- package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +1 -0
- package/dist/css/revolugo.vtextfield.BliJY6uv.css +1 -0
- package/dist/css/revolugo.vtoolbar.DQsezjcM.css +1 -0
- package/dist/css/revolugo.vtooltip.B_oOB9pj.css +1 -0
- package/dist/css/revolugo.vuetify.BpIoHlAi.css +1 -0
- package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +1 -0
- package/dist/index.min.js +1 -1
- package/dist/revolugo.banktransferdetails.TOmjiXZR.min.js +105 -0
- package/dist/revolugo.bbreakfastoptionbadge.DLXUsKPT.min.js +62 -0
- package/dist/revolugo.bdaterangepicker.7NUNlis2.min.js +1351 -0
- package/dist/revolugo.bformattedamount.Dc8LzYGF.min.js +82 -0
- package/dist/revolugo.bhotelroomsdetails.eOyOwnAD.min.js +213 -0
- package/dist/revolugo.bhotelsearchbar.DOHhe3TX.min.js +446 -0
- package/dist/revolugo.booking-api-client.X4zQkiOB.min.js +7401 -0
- package/dist/revolugo.bookingdetailssidebar.CEY9IR4f.min.js +242 -0
- package/dist/revolugo.bookingdetailssidebar.DfTGBYJB.min.js +28 -0
- package/dist/revolugo.bookingmanager.DNUFwv12.min.js +405 -0
- package/dist/revolugo.bphoneinput.Br-vaDMp.min.js +1928 -0
- package/dist/revolugo.bpricesummaryskeleton.ClIqB4J7.min.js +47 -0
- package/dist/revolugo.breakpoint-service.D8BYVuhM.min.js +65 -0
- package/dist/revolugo.bstarrating.DiUm_HYr.min.js +173 -0
- package/dist/revolugo.btag.CIEhEBjO.min.js +68 -0
- package/dist/revolugo.cancellationpoliciesbadge.DA1ttyly.min.js +92 -0
- package/dist/revolugo.cancellationpoliciesbadge.DlnZtyvy.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.B2qQfSYF.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.Epleki08.min.js +317 -0
- package/dist/revolugo.common.BJWUn2e4.min.js +34 -0
- package/dist/revolugo.creditcardform.Bu6_7ofn.min.js +2049 -0
- package/dist/revolugo.creditcardform.DcClnh_a.min.js +28 -0
- package/dist/revolugo.creditcardpayment.CbaChkRQ.min.js +288 -0
- package/dist/revolugo.creditcardpayment.DI_HEYqJ.min.js +28 -0
- package/dist/revolugo.currencypicker.BSlgtEoO.min.js +122 -0
- package/dist/revolugo.currencypickerbtn.7qOgbsX9.min.js +121 -0
- package/dist/revolugo.currencypickerbtn.CdikX9zL.min.js +28 -0
- package/dist/revolugo.dialog-attach.BQO5FkC9.min.js +27 -0
- package/dist/revolugo.en-us.BwPQZpD-.min.js +1171 -0
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +37 -0
- package/dist/revolugo.fr-fr.CV4yETNm.min.js +1177 -0
- package/dist/revolugo.fullbookingflow.CDyj-aGX.min.js +239 -0
- package/dist/revolugo.hotel-offer.CR8IxHwp.min.js +605 -0
- package/dist/revolugo.hoteldescriptionview.BsXp2DO0.min.js +2174 -0
- package/dist/revolugo.hoteldescriptionview.Dgujk17L.min.js +28 -0
- package/dist/revolugo.hotelofferitemlayout.BGchkGCk.min.js +64 -0
- package/dist/revolugo.hotelofferlist.BhEtuSnS.min.js +3779 -0
- package/dist/revolugo.hotelofferlist.CXzRERpd.min.js +28 -0
- package/dist/revolugo.hotelofferrequestcreator.nQKrw9L-.min.js +225 -0
- package/dist/revolugo.hoteloffersearchmenu.BSSWc9vs.min.js +54 -0
- package/dist/revolugo.hoteloffersmap.CruXegXR.min.js +28 -0
- package/dist/revolugo.hoteloffersmap.Ds6H46qe.min.js +8704 -0
- package/dist/revolugo.hoteloffersview.CmV7-knD.min.js +157 -0
- package/dist/revolugo.hoteloffersview.CwFVsPVB.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.KGh2bZlF.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.vmuFzhGq.min.js +1332 -0
- package/dist/revolugo.hotelroomofferrequestcreator.DY3rndSD.min.js +225 -0
- package/dist/revolugo.hotelroomoffersbookingflow.GfwzQwYS.min.js +679 -0
- package/dist/revolugo.hotelroomoffersearchmenu.-rqE8IeB.min.js +29 -0
- package/dist/revolugo.hotelroomoffersearchmenu.DU1yNXhD.min.js +38 -0
- package/dist/revolugo.hotelroomoffersview.CLzeULYt.min.js +28 -0
- package/dist/revolugo.hotelroomoffersview.DUvsXEW6.min.js +124 -0
- package/dist/revolugo.i18n.BIDah4Hr.min.js +10901 -0
- package/dist/revolugo.index.BDqD4brj.min.js +43 -0
- package/dist/revolugo.index.BNslhUAH.min.js +270 -0
- package/dist/revolugo.index.BPR3XlHM.min.js +281 -0
- package/dist/revolugo.index.BafzMKRk.min.js +13 -0
- package/dist/revolugo.index.C66sAn8l.min.js +9 -0
- package/dist/revolugo.index.CY4z9JfD.min.js +15 -0
- package/dist/revolugo.index.Ce9_ljIe.min.js +9 -0
- package/dist/revolugo.index.CkzsvJ2p.min.js +42 -0
- package/dist/revolugo.index.CpH3TNHO.min.js +128 -0
- package/dist/revolugo.index.CpYsLCUP.min.js +161 -0
- package/dist/revolugo.index.DAkBpJ0g.min.js +322 -0
- package/dist/revolugo.index.DB1SmBiZ.min.js +68 -0
- package/dist/revolugo.index.DxSal0Ur.min.js +142 -0
- package/dist/revolugo.index.xbcOdM2R.min.js +390 -0
- package/dist/revolugo.langpicker.OTjhdYDg.min.js +103 -0
- package/dist/revolugo.langpickerbtn.BHBnbjzr.min.js +111 -0
- package/dist/revolugo.langpickerbtn.DVcSp2Mc.min.js +28 -0
- package/dist/revolugo.localizedformat.C4ez1VLt.min.js +47 -0
- package/dist/revolugo.min.js +257 -7
- package/dist/revolugo.parsed-height.HSQ0HFwq.min.js +2338 -0
- package/dist/revolugo.parsed-props.Ccc23KVa.min.js +95 -0
- package/dist/revolugo.prebookform.CBdhp1Ho.min.js +484 -0
- package/dist/revolugo.prebookform.zB3DlqQ-.min.js +28 -0
- package/dist/revolugo.revolugo-config.CYwmIqDC.min.js +1707 -0
- package/dist/revolugo.roominglisteditor.CdPRLvnh.min.js +28 -0
- package/dist/revolugo.roominglisteditor.l155VeBJ.min.js +201 -0
- package/dist/revolugo.sentry.CuQ4Sj_P.min.js +10989 -0
- package/dist/revolugo.store.DRsWr71l.min.js +2497 -0
- package/dist/revolugo.storybooktoolbar.DZnWfHfa.min.js +300 -0
- package/dist/revolugo.termsandconditions.CJuS8MAh.min.js +162 -0
- package/dist/revolugo.termsandconditions.D4d8z_MH.min.js +27 -0
- package/dist/revolugo.typed-mixins.CArk-fZ7.min.js +8 -0
- package/dist/revolugo.valert.CMZED-c0.min.js +194 -0
- package/dist/revolugo.vautocomplete.D3T_xfxG.min.js +255 -0
- package/dist/revolugo.vbadge.DeYbu4pg.min.js +172 -0
- package/dist/revolugo.vbtn.D9xoQSTX.min.js +286 -0
- package/dist/revolugo.vcard.DHZXDqHw.min.js +80 -0
- package/dist/revolugo.vchip.D3O8VSDc.min.js +157 -0
- package/dist/revolugo.vdialog.CCHO0Kwj.min.js +341 -0
- package/dist/revolugo.vexpansionpanelheader.Cg2GtTNc.min.js +263 -0
- package/dist/revolugo.vform.CrSmhAkR.min.js +98 -0
- package/dist/revolugo.vinput.CvIrgPFc.min.js +509 -0
- package/dist/revolugo.vitemgroup.Ck0f83Cn.min.js +168 -0
- package/dist/revolugo.vlistitem.JpcvcaOl.min.js +204 -0
- package/dist/revolugo.vmenu.gGPsb28L.min.js +349 -0
- package/dist/revolugo.vselect.CceNNGVQ.min.js +859 -0
- package/dist/revolugo.vsheet.CJx8SWuo.min.js +120 -0
- package/dist/revolugo.vskeletonloader.U6iWK-eN.min.js +172 -0
- package/dist/revolugo.vslidegroup.B6kWFCKq.min.js +650 -0
- package/dist/revolugo.vsnackbar.CTWUo3sL.min.js +178 -0
- package/dist/revolugo.vtextfield.CH3y216m.min.js +438 -0
- package/dist/revolugo.vtoolbar.DwKf2KKn.min.js +364 -0
- package/dist/revolugo.vtooltip.B8PTr53D.min.js +168 -0
- package/dist/revolugo.vuetify.CjZ8kF3V.min.js +865 -0
- package/dist/revolugo.watch-list.CU-vo_n9.min.js +44 -0
- package/dist/revolugo.webcomponentwrapper.B_LKAOR9.min.js +783 -0
- package/package.json +1 -1
- package/dist/css/revolugo.0.min.css +0 -5
- package/dist/css/revolugo.1.min.css +0 -1
- package/dist/css/revolugo.11.min.css +0 -1
- package/dist/css/revolugo.12.min.css +0 -1
- package/dist/css/revolugo.13.min.css +0 -1
- package/dist/css/revolugo.14.min.css +0 -1
- package/dist/css/revolugo.15.min.css +0 -1
- package/dist/css/revolugo.16.min.css +0 -1
- package/dist/css/revolugo.17.min.css +0 -1
- package/dist/css/revolugo.18.min.css +0 -1
- package/dist/css/revolugo.19.min.css +0 -1
- package/dist/css/revolugo.2.min.css +0 -1
- package/dist/css/revolugo.20.min.css +0 -1
- package/dist/css/revolugo.21.min.css +0 -1
- package/dist/css/revolugo.22.min.css +0 -1
- package/dist/css/revolugo.23.min.css +0 -1
- package/dist/css/revolugo.24.min.css +0 -1
- package/dist/css/revolugo.25.min.css +0 -1
- package/dist/css/revolugo.26.min.css +0 -1
- package/dist/css/revolugo.27.min.css +0 -1
- package/dist/css/revolugo.28.min.css +0 -1
- package/dist/css/revolugo.29.min.css +0 -1
- package/dist/css/revolugo.30.min.css +0 -1
- package/dist/css/revolugo.31.min.css +0 -1
- package/dist/css/revolugo.32.min.css +0 -1
- package/dist/css/revolugo.33.min.css +0 -1
- package/dist/css/revolugo.34.min.css +0 -1
- package/dist/css/revolugo.4.min.css +0 -1
- package/dist/css/revolugo.5.min.css +0 -1
- package/dist/css/revolugo.6.min.css +0 -1
- package/dist/css/revolugo.7.min.css +0 -1
- package/dist/css/revolugo.fonts.min.css +0 -1
- package/dist/fonts/amenities.2aad1d12.woff +0 -0
- package/dist/fonts/amenities.9adae269.ttf +0 -0
- package/dist/fonts/amenities.a9bf50f8.svg +0 -42
- package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
- package/dist/fonts/beds.2b8e38c8.svg +0 -12
- package/dist/img/apst.c1092975.png +0 -0
- package/dist/img/apst.ec7669f2.png +0 -0
- package/dist/img/atout-france.72107e30.png +0 -0
- package/dist/img/atout-france.df038f22.png +0 -0
- package/dist/img/revolugo.179c459d.png +0 -0
- package/dist/img/revolugo.e0879dcc.png +0 -0
- package/dist/img/stripe.405543e2.png +0 -0
- package/dist/img/stripe.c3e16f9f.png +0 -0
- package/dist/revolugo.0.min.js +0 -18
- package/dist/revolugo.1.min.js +0 -1
- package/dist/revolugo.11.min.js +0 -134
- package/dist/revolugo.12.min.js +0 -19
- package/dist/revolugo.13.min.js +0 -14
- package/dist/revolugo.14.min.js +0 -19
- package/dist/revolugo.15.min.js +0 -139
- package/dist/revolugo.16.min.js +0 -14
- package/dist/revolugo.17.min.js +0 -14
- package/dist/revolugo.18.min.js +0 -1
- package/dist/revolugo.19.min.js +0 -1
- package/dist/revolugo.2.min.js +0 -1
- package/dist/revolugo.20.min.js +0 -1
- package/dist/revolugo.21.min.js +0 -116
- package/dist/revolugo.22.min.js +0 -1
- package/dist/revolugo.23.min.js +0 -1
- package/dist/revolugo.24.min.js +0 -1
- package/dist/revolugo.25.min.js +0 -1
- package/dist/revolugo.26.min.js +0 -1
- package/dist/revolugo.27.min.js +0 -1
- package/dist/revolugo.28.min.js +0 -116
- package/dist/revolugo.29.min.js +0 -1
- package/dist/revolugo.30.min.js +0 -1
- package/dist/revolugo.31.min.js +0 -1
- package/dist/revolugo.32.min.js +0 -1
- package/dist/revolugo.33.min.js +0 -1
- package/dist/revolugo.34.min.js +0 -1
- package/dist/revolugo.35.min.js +0 -1
- package/dist/revolugo.36.min.js +0 -1
- package/dist/revolugo.4.min.js +0 -1
- package/dist/revolugo.5.min.js +0 -1
- package/dist/revolugo.6.min.js +0 -1
- package/dist/revolugo.7.min.js +0 -1
- package/dist/revolugo.en-US.min.js +0 -1
- package/dist/revolugo.fonts.min.js +0 -1
- package/dist/revolugo.fr-FR.min.js +0 -1
@@ -0,0 +1,1928 @@
|
|
1
|
+
import { _ as b } from "./revolugo.vtextfield.CH3y216m.min.js";
|
2
|
+
import { m as w0, l as x0, n as T0, _ as A0 } from "./revolugo.webcomponentwrapper.B_LKAOR9.min.js";
|
3
|
+
import { V as R0, C as j, T as L0 } from "./revolugo.i18n.BIDah4Hr.min.js";
|
4
|
+
import { _ as D0 } from "./revolugo.vautocomplete.D3T_xfxG.min.js";
|
5
|
+
function S0(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 r of REVOLUGO_ELEMENTS_STYLES.components)
|
15
|
+
r(t);
|
16
|
+
if (d.indexOf("fonts") >= 0) {
|
17
|
+
const r = document.createElement("link");
|
18
|
+
r.rel = "stylesheet", linK.href = t, document.head.appendChild(r);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
} catch (e) {
|
22
|
+
console.error("[revolugo-elements] ", e);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
const M0 = w0(b), q1 = M0.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
|
+
...b.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)
|
77
|
+
return;
|
78
|
+
d.style.height = "0";
|
79
|
+
const e = d.scrollHeight, t = parseInt(this.rows, 10) * parseFloat(this.rowHeight);
|
80
|
+
d.style.height = Math.max(t, e) + "px";
|
81
|
+
},
|
82
|
+
genInput() {
|
83
|
+
const d = b.options.methods.genInput.call(this);
|
84
|
+
return d.tag = "textarea", delete d.data.attrs.type, d.data.attrs.rows = this.rows, d;
|
85
|
+
},
|
86
|
+
onInput(d) {
|
87
|
+
b.options.methods.onInput.call(this, d), this.autoGrow && this.calculateInputHeight();
|
88
|
+
},
|
89
|
+
onKeyDown(d) {
|
90
|
+
this.isFocused && d.keyCode === 13 && d.stopPropagation(), this.$emit("keydown", d);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}), G0 = { 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])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|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]))|(?: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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-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]|22"], "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", "[24-689]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "590\\d{6}|(?: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]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|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)?", "(?:[2-467]\\d\\d|8001)\\d{5}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[23]|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-8]\\d|90)\\d{8}|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|73)|90[25])[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(?:00|2[125-9]|33|44|66|77|88)|622)[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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-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]\\d{8}|[1-68]\\d{6}", [7, 9], [["(\\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{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "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], [["(\\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[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]", "(?:10|2[0-57-9])(?:10|9[56])", "10(?:10|9[56])|2[0-57-9](?:100|9[56])"], "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])", "(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}", [10, 11], [["(\\d{3})(\\d{7})", "$1 $2", ["6"], "($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", "[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}", [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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-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], [["(\\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{5})(\\d{6})", "$1 $2", ["15[0568]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "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)(\\d{4,9})", "$1 $2", ["[2568][1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[12]00|[368]|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[1245]|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "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[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?: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-2]))|(?: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{6}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[56]|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{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "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]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|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", ["[67]"], "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-5]"], "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]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13], [["(\\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})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11], [["(\\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]"]], ["(\\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}"], ["3[1-9]\\d{8}|3[2-9]\\d{7}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], 0, 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[7-9]))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60|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[013-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", "(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[4-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23578]"], "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]"], "(8-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "8 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(8-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(8-$1)", 1]], "8", 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-489]|3[5-9]|9)|8(?:0[89]|92)", "5(?:2(?:[2-49]|8[235-9])|3[5-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-2]|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{6}|(?: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]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|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", ["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]"], "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{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "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]", "1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}", [10, 11], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"], 0, 1], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 $3 $4", ["1(?:33|5[56]|81)"], 0, 1], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 $3 $4", ["1"], 0, 1]], "01", 0, "0(?:[12]|4[45])|1", 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[047]"]]]], 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", "(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}", [7, 8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["78"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|9(?:0[3-9]|[1-9])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[3-7]|8[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "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|80\\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-6])"], "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", "(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "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]))\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[2378]\\d|62|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]", "(?:[1-6]|[7-9]\\d\\d)\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "800\\d{4}|(?:[249]\\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], [["(\\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-8]|[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}|[89]00\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[69]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2679]"]]], 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[1-5]"]], ["(\\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{7}", [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", ["6"], "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, [["(?:5056(?:[0-35-9]\\d|4[468])|73020\\d)\\d{4}|(?:4722|505[2-57-9]|983[289])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[0149]|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]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|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}"]]], 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", "810", "(?:20|33|[5-79]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], 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], 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)\\d{4}|8\\d{5}(?:\\d{3})?", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[478]"]], ["(\\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", "[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9], [["(\\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", ["[23]"], "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", "(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|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])\\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}|[35-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[35-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]], 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, 0, 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}"]]] } };
|
94
|
+
function B0(d, e) {
|
95
|
+
var t = Array.prototype.slice.call(e);
|
96
|
+
return t.push(G0), d.apply(this, t);
|
97
|
+
}
|
98
|
+
function x(d) {
|
99
|
+
"@babel/helpers - typeof";
|
100
|
+
return x = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
101
|
+
return typeof e;
|
102
|
+
} : function(e) {
|
103
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
104
|
+
}, x(d);
|
105
|
+
}
|
106
|
+
function H(d, e) {
|
107
|
+
for (var t = 0; t < e.length; t++) {
|
108
|
+
var r = e[t];
|
109
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, r.key, r);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
function k0(d, e, t) {
|
113
|
+
return e && H(d.prototype, e), t && H(d, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
114
|
+
}
|
115
|
+
function U0(d, e) {
|
116
|
+
if (!(d instanceof e))
|
117
|
+
throw new TypeError("Cannot call a class as a function");
|
118
|
+
}
|
119
|
+
function j0(d, e) {
|
120
|
+
if (typeof e != "function" && e !== null)
|
121
|
+
throw new TypeError("Super expression must either be null or a function");
|
122
|
+
d.prototype = Object.create(e && e.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), e && P(d, e);
|
123
|
+
}
|
124
|
+
function H0(d) {
|
125
|
+
var e = m0();
|
126
|
+
return function() {
|
127
|
+
var r = N(d), $;
|
128
|
+
if (e) {
|
129
|
+
var n = N(this).constructor;
|
130
|
+
$ = Reflect.construct(r, arguments, n);
|
131
|
+
} else
|
132
|
+
$ = r.apply(this, arguments);
|
133
|
+
return V0(this, $);
|
134
|
+
};
|
135
|
+
}
|
136
|
+
function V0(d, e) {
|
137
|
+
if (e && (x(e) === "object" || typeof e == "function"))
|
138
|
+
return e;
|
139
|
+
if (e !== void 0)
|
140
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
141
|
+
return v0(d);
|
142
|
+
}
|
143
|
+
function v0(d) {
|
144
|
+
if (d === void 0)
|
145
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
146
|
+
return d;
|
147
|
+
}
|
148
|
+
function T(d) {
|
149
|
+
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
150
|
+
return T = function(r) {
|
151
|
+
if (r === null || !K0(r))
|
152
|
+
return r;
|
153
|
+
if (typeof r != "function")
|
154
|
+
throw new TypeError("Super expression must either be null or a function");
|
155
|
+
if (typeof e < "u") {
|
156
|
+
if (e.has(r))
|
157
|
+
return e.get(r);
|
158
|
+
e.set(r, $);
|
159
|
+
}
|
160
|
+
function $() {
|
161
|
+
return O(r, arguments, N(this).constructor);
|
162
|
+
}
|
163
|
+
return $.prototype = Object.create(r.prototype, { constructor: { value: $, enumerable: !1, writable: !0, configurable: !0 } }), P($, r);
|
164
|
+
}, T(d);
|
165
|
+
}
|
166
|
+
function O(d, e, t) {
|
167
|
+
return m0() ? O = Reflect.construct : O = function($, n, i) {
|
168
|
+
var a = [null];
|
169
|
+
a.push.apply(a, n);
|
170
|
+
var o = Function.bind.apply($, a), u = new o();
|
171
|
+
return i && P(u, i.prototype), u;
|
172
|
+
}, O.apply(null, arguments);
|
173
|
+
}
|
174
|
+
function m0() {
|
175
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
176
|
+
return !1;
|
177
|
+
if (typeof Proxy == "function")
|
178
|
+
return !0;
|
179
|
+
try {
|
180
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
181
|
+
})), !0;
|
182
|
+
} catch {
|
183
|
+
return !1;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
function K0(d) {
|
187
|
+
return Function.toString.call(d).indexOf("[native code]") !== -1;
|
188
|
+
}
|
189
|
+
function P(d, e) {
|
190
|
+
return P = Object.setPrototypeOf || function(r, $) {
|
191
|
+
return r.__proto__ = $, r;
|
192
|
+
}, P(d, e);
|
193
|
+
}
|
194
|
+
function N(d) {
|
195
|
+
return N = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
|
196
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
197
|
+
}, N(d);
|
198
|
+
}
|
199
|
+
var h = /* @__PURE__ */ function(d) {
|
200
|
+
j0(t, d);
|
201
|
+
var e = H0(t);
|
202
|
+
function t(r) {
|
203
|
+
var $;
|
204
|
+
return U0(this, t), $ = e.call(this, r), Object.setPrototypeOf(v0($), t.prototype), $.name = $.constructor.name, $;
|
205
|
+
}
|
206
|
+
return k0(t);
|
207
|
+
}(/* @__PURE__ */ T(Error)), M = 2, W0 = 17, X0 = 3, f = "0-90-9٠-٩۰-۹", Y0 = "-‐-―−ー-", Z0 = "//", J0 = "..", z0 = " ", Q0 = "()()[]\\[\\]", q0 = "~⁓∼~", C = "".concat(Y0).concat(Z0).concat(J0).concat(z0).concat(Q0).concat(q0), G = "++";
|
208
|
+
function V(d, e) {
|
209
|
+
d = d.split("-"), e = e.split("-");
|
210
|
+
for (var t = d[0].split("."), r = e[0].split("."), $ = 0; $ < 3; $++) {
|
211
|
+
var n = Number(t[$]), i = Number(r[$]);
|
212
|
+
if (n > i)
|
213
|
+
return 1;
|
214
|
+
if (i > n)
|
215
|
+
return -1;
|
216
|
+
if (!isNaN(n) && isNaN(i))
|
217
|
+
return 1;
|
218
|
+
if (isNaN(n) && !isNaN(i))
|
219
|
+
return -1;
|
220
|
+
}
|
221
|
+
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;
|
222
|
+
}
|
223
|
+
var dd = {}.constructor;
|
224
|
+
function _(d) {
|
225
|
+
return d != null && d.constructor === dd;
|
226
|
+
}
|
227
|
+
function A(d) {
|
228
|
+
"@babel/helpers - typeof";
|
229
|
+
return A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
230
|
+
return typeof e;
|
231
|
+
} : function(e) {
|
232
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
233
|
+
}, A(d);
|
234
|
+
}
|
235
|
+
function I(d, e) {
|
236
|
+
if (!(d instanceof e))
|
237
|
+
throw new TypeError("Cannot call a class as a function");
|
238
|
+
}
|
239
|
+
function K(d, e) {
|
240
|
+
for (var t = 0; t < e.length; t++) {
|
241
|
+
var r = e[t];
|
242
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, r.key, r);
|
243
|
+
}
|
244
|
+
}
|
245
|
+
function F(d, e, t) {
|
246
|
+
return e && K(d.prototype, e), t && K(d, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
247
|
+
}
|
248
|
+
var ed = "1.2.0", td = "1.7.35", W = " ext. ", rd = /^\d+$/, l = /* @__PURE__ */ function() {
|
249
|
+
function d(e) {
|
250
|
+
I(this, d), ad(e), this.metadata = e, b0.call(this, e);
|
251
|
+
}
|
252
|
+
return F(d, [{
|
253
|
+
key: "getCountries",
|
254
|
+
value: function() {
|
255
|
+
return Object.keys(this.metadata.countries).filter(function(t) {
|
256
|
+
return t !== "001";
|
257
|
+
});
|
258
|
+
}
|
259
|
+
}, {
|
260
|
+
key: "getCountryMetadata",
|
261
|
+
value: function(t) {
|
262
|
+
return this.metadata.countries[t];
|
263
|
+
}
|
264
|
+
}, {
|
265
|
+
key: "nonGeographic",
|
266
|
+
value: function() {
|
267
|
+
if (!(this.v1 || this.v2 || this.v3))
|
268
|
+
return this.metadata.nonGeographic || this.metadata.nonGeographical;
|
269
|
+
}
|
270
|
+
}, {
|
271
|
+
key: "hasCountry",
|
272
|
+
value: function(t) {
|
273
|
+
return this.getCountryMetadata(t) !== void 0;
|
274
|
+
}
|
275
|
+
}, {
|
276
|
+
key: "hasCallingCode",
|
277
|
+
value: function(t) {
|
278
|
+
if (this.getCountryCodesForCallingCode(t))
|
279
|
+
return !0;
|
280
|
+
if (this.nonGeographic()) {
|
281
|
+
if (this.nonGeographic()[t])
|
282
|
+
return !0;
|
283
|
+
} else {
|
284
|
+
var r = this.countryCallingCodes()[t];
|
285
|
+
if (r && r.length === 1 && r[0] === "001")
|
286
|
+
return !0;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
}, {
|
290
|
+
key: "isNonGeographicCallingCode",
|
291
|
+
value: function(t) {
|
292
|
+
return this.nonGeographic() ? !!this.nonGeographic()[t] : !this.getCountryCodesForCallingCode(t);
|
293
|
+
}
|
294
|
+
// Deprecated.
|
295
|
+
}, {
|
296
|
+
key: "country",
|
297
|
+
value: function(t) {
|
298
|
+
return this.selectNumberingPlan(t);
|
299
|
+
}
|
300
|
+
}, {
|
301
|
+
key: "selectNumberingPlan",
|
302
|
+
value: function(t, r) {
|
303
|
+
if (t && rd.test(t) && (r = t, t = null), t && t !== "001") {
|
304
|
+
if (!this.hasCountry(t))
|
305
|
+
throw new Error("Unknown country: ".concat(t));
|
306
|
+
this.numberingPlan = new X(this.getCountryMetadata(t), this);
|
307
|
+
} else if (r) {
|
308
|
+
if (!this.hasCallingCode(r))
|
309
|
+
throw new Error("Unknown calling code: ".concat(r));
|
310
|
+
this.numberingPlan = new X(this.getNumberingPlanMetadata(r), this);
|
311
|
+
} else
|
312
|
+
this.numberingPlan = void 0;
|
313
|
+
return this;
|
314
|
+
}
|
315
|
+
}, {
|
316
|
+
key: "getCountryCodesForCallingCode",
|
317
|
+
value: function(t) {
|
318
|
+
var r = this.countryCallingCodes()[t];
|
319
|
+
if (r)
|
320
|
+
return r.length === 1 && r[0].length === 3 ? void 0 : r;
|
321
|
+
}
|
322
|
+
}, {
|
323
|
+
key: "getCountryCodeForCallingCode",
|
324
|
+
value: function(t) {
|
325
|
+
var r = this.getCountryCodesForCallingCode(t);
|
326
|
+
if (r)
|
327
|
+
return r[0];
|
328
|
+
}
|
329
|
+
}, {
|
330
|
+
key: "getNumberingPlanMetadata",
|
331
|
+
value: function(t) {
|
332
|
+
var r = this.getCountryCodeForCallingCode(t);
|
333
|
+
if (r)
|
334
|
+
return this.getCountryMetadata(r);
|
335
|
+
if (this.nonGeographic()) {
|
336
|
+
var $ = this.nonGeographic()[t];
|
337
|
+
if ($)
|
338
|
+
return $;
|
339
|
+
} else {
|
340
|
+
var n = this.countryCallingCodes()[t];
|
341
|
+
if (n && n.length === 1 && n[0] === "001")
|
342
|
+
return this.metadata.countries["001"];
|
343
|
+
}
|
344
|
+
}
|
345
|
+
// Deprecated.
|
346
|
+
}, {
|
347
|
+
key: "countryCallingCode",
|
348
|
+
value: function() {
|
349
|
+
return this.numberingPlan.callingCode();
|
350
|
+
}
|
351
|
+
// Deprecated.
|
352
|
+
}, {
|
353
|
+
key: "IDDPrefix",
|
354
|
+
value: function() {
|
355
|
+
return this.numberingPlan.IDDPrefix();
|
356
|
+
}
|
357
|
+
// Deprecated.
|
358
|
+
}, {
|
359
|
+
key: "defaultIDDPrefix",
|
360
|
+
value: function() {
|
361
|
+
return this.numberingPlan.defaultIDDPrefix();
|
362
|
+
}
|
363
|
+
// Deprecated.
|
364
|
+
}, {
|
365
|
+
key: "nationalNumberPattern",
|
366
|
+
value: function() {
|
367
|
+
return this.numberingPlan.nationalNumberPattern();
|
368
|
+
}
|
369
|
+
// Deprecated.
|
370
|
+
}, {
|
371
|
+
key: "possibleLengths",
|
372
|
+
value: function() {
|
373
|
+
return this.numberingPlan.possibleLengths();
|
374
|
+
}
|
375
|
+
// Deprecated.
|
376
|
+
}, {
|
377
|
+
key: "formats",
|
378
|
+
value: function() {
|
379
|
+
return this.numberingPlan.formats();
|
380
|
+
}
|
381
|
+
// Deprecated.
|
382
|
+
}, {
|
383
|
+
key: "nationalPrefixForParsing",
|
384
|
+
value: function() {
|
385
|
+
return this.numberingPlan.nationalPrefixForParsing();
|
386
|
+
}
|
387
|
+
// Deprecated.
|
388
|
+
}, {
|
389
|
+
key: "nationalPrefixTransformRule",
|
390
|
+
value: function() {
|
391
|
+
return this.numberingPlan.nationalPrefixTransformRule();
|
392
|
+
}
|
393
|
+
// Deprecated.
|
394
|
+
}, {
|
395
|
+
key: "leadingDigits",
|
396
|
+
value: function() {
|
397
|
+
return this.numberingPlan.leadingDigits();
|
398
|
+
}
|
399
|
+
// Deprecated.
|
400
|
+
}, {
|
401
|
+
key: "hasTypes",
|
402
|
+
value: function() {
|
403
|
+
return this.numberingPlan.hasTypes();
|
404
|
+
}
|
405
|
+
// Deprecated.
|
406
|
+
}, {
|
407
|
+
key: "type",
|
408
|
+
value: function(t) {
|
409
|
+
return this.numberingPlan.type(t);
|
410
|
+
}
|
411
|
+
// Deprecated.
|
412
|
+
}, {
|
413
|
+
key: "ext",
|
414
|
+
value: function() {
|
415
|
+
return this.numberingPlan.ext();
|
416
|
+
}
|
417
|
+
}, {
|
418
|
+
key: "countryCallingCodes",
|
419
|
+
value: function() {
|
420
|
+
return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
|
421
|
+
}
|
422
|
+
// Deprecated.
|
423
|
+
}, {
|
424
|
+
key: "chooseCountryByCountryCallingCode",
|
425
|
+
value: function(t) {
|
426
|
+
return this.selectNumberingPlan(t);
|
427
|
+
}
|
428
|
+
}, {
|
429
|
+
key: "hasSelectedNumberingPlan",
|
430
|
+
value: function() {
|
431
|
+
return this.numberingPlan !== void 0;
|
432
|
+
}
|
433
|
+
}]), d;
|
434
|
+
}(), X = /* @__PURE__ */ function() {
|
435
|
+
function d(e, t) {
|
436
|
+
I(this, d), this.globalMetadataObject = t, this.metadata = e, b0.call(this, t.metadata);
|
437
|
+
}
|
438
|
+
return F(d, [{
|
439
|
+
key: "callingCode",
|
440
|
+
value: function() {
|
441
|
+
return this.metadata[0];
|
442
|
+
}
|
443
|
+
// Formatting information for regions which share
|
444
|
+
// a country calling code is contained by only one region
|
445
|
+
// for performance reasons. For example, for NANPA region
|
446
|
+
// ("North American Numbering Plan Administration",
|
447
|
+
// which includes USA, Canada, Cayman Islands, Bahamas, etc)
|
448
|
+
// it will be contained in the metadata for `US`.
|
449
|
+
}, {
|
450
|
+
key: "getDefaultCountryMetadataForRegion",
|
451
|
+
value: function() {
|
452
|
+
return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
|
453
|
+
}
|
454
|
+
// Is always present.
|
455
|
+
}, {
|
456
|
+
key: "IDDPrefix",
|
457
|
+
value: function() {
|
458
|
+
if (!(this.v1 || this.v2))
|
459
|
+
return this.metadata[1];
|
460
|
+
}
|
461
|
+
// Is only present when a country supports multiple IDD prefixes.
|
462
|
+
}, {
|
463
|
+
key: "defaultIDDPrefix",
|
464
|
+
value: function() {
|
465
|
+
if (!(this.v1 || this.v2))
|
466
|
+
return this.metadata[12];
|
467
|
+
}
|
468
|
+
}, {
|
469
|
+
key: "nationalNumberPattern",
|
470
|
+
value: function() {
|
471
|
+
return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
|
472
|
+
}
|
473
|
+
// "possible length" data is always present in Google's metadata.
|
474
|
+
}, {
|
475
|
+
key: "possibleLengths",
|
476
|
+
value: function() {
|
477
|
+
if (!this.v1)
|
478
|
+
return this.metadata[this.v2 ? 2 : 3];
|
479
|
+
}
|
480
|
+
}, {
|
481
|
+
key: "_getFormats",
|
482
|
+
value: function(t) {
|
483
|
+
return t[this.v1 ? 2 : this.v2 ? 3 : 4];
|
484
|
+
}
|
485
|
+
// For countries of the same region (e.g. NANPA)
|
486
|
+
// formats are all stored in the "main" country for that region.
|
487
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
488
|
+
}, {
|
489
|
+
key: "formats",
|
490
|
+
value: function() {
|
491
|
+
var t = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
492
|
+
return r.map(function($) {
|
493
|
+
return new $d($, t);
|
494
|
+
});
|
495
|
+
}
|
496
|
+
}, {
|
497
|
+
key: "nationalPrefix",
|
498
|
+
value: function() {
|
499
|
+
return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
|
500
|
+
}
|
501
|
+
}, {
|
502
|
+
key: "_getNationalPrefixFormattingRule",
|
503
|
+
value: function(t) {
|
504
|
+
return t[this.v1 ? 4 : this.v2 ? 5 : 6];
|
505
|
+
}
|
506
|
+
// For countries of the same region (e.g. NANPA)
|
507
|
+
// national prefix formatting rule is stored in the "main" country for that region.
|
508
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
509
|
+
}, {
|
510
|
+
key: "nationalPrefixFormattingRule",
|
511
|
+
value: function() {
|
512
|
+
return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
|
513
|
+
}
|
514
|
+
}, {
|
515
|
+
key: "_nationalPrefixForParsing",
|
516
|
+
value: function() {
|
517
|
+
return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
|
518
|
+
}
|
519
|
+
}, {
|
520
|
+
key: "nationalPrefixForParsing",
|
521
|
+
value: function() {
|
522
|
+
return this._nationalPrefixForParsing() || this.nationalPrefix();
|
523
|
+
}
|
524
|
+
}, {
|
525
|
+
key: "nationalPrefixTransformRule",
|
526
|
+
value: function() {
|
527
|
+
return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
|
528
|
+
}
|
529
|
+
}, {
|
530
|
+
key: "_getNationalPrefixIsOptionalWhenFormatting",
|
531
|
+
value: function() {
|
532
|
+
return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
|
533
|
+
}
|
534
|
+
// For countries of the same region (e.g. NANPA)
|
535
|
+
// "national prefix is optional when formatting" flag is
|
536
|
+
// stored in the "main" country for that region.
|
537
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
538
|
+
}, {
|
539
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
540
|
+
value: function() {
|
541
|
+
return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
|
542
|
+
}
|
543
|
+
}, {
|
544
|
+
key: "leadingDigits",
|
545
|
+
value: function() {
|
546
|
+
return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
|
547
|
+
}
|
548
|
+
}, {
|
549
|
+
key: "types",
|
550
|
+
value: function() {
|
551
|
+
return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
|
552
|
+
}
|
553
|
+
}, {
|
554
|
+
key: "hasTypes",
|
555
|
+
value: function() {
|
556
|
+
return this.types() && this.types().length === 0 ? !1 : !!this.types();
|
557
|
+
}
|
558
|
+
}, {
|
559
|
+
key: "type",
|
560
|
+
value: function(t) {
|
561
|
+
if (this.hasTypes() && Y(this.types(), t))
|
562
|
+
return new id(Y(this.types(), t), this);
|
563
|
+
}
|
564
|
+
}, {
|
565
|
+
key: "ext",
|
566
|
+
value: function() {
|
567
|
+
return this.v1 || this.v2 ? W : this.metadata[13] || W;
|
568
|
+
}
|
569
|
+
}]), d;
|
570
|
+
}(), $d = /* @__PURE__ */ function() {
|
571
|
+
function d(e, t) {
|
572
|
+
I(this, d), this._format = e, this.metadata = t;
|
573
|
+
}
|
574
|
+
return F(d, [{
|
575
|
+
key: "pattern",
|
576
|
+
value: function() {
|
577
|
+
return this._format[0];
|
578
|
+
}
|
579
|
+
}, {
|
580
|
+
key: "format",
|
581
|
+
value: function() {
|
582
|
+
return this._format[1];
|
583
|
+
}
|
584
|
+
}, {
|
585
|
+
key: "leadingDigitsPatterns",
|
586
|
+
value: function() {
|
587
|
+
return this._format[2] || [];
|
588
|
+
}
|
589
|
+
}, {
|
590
|
+
key: "nationalPrefixFormattingRule",
|
591
|
+
value: function() {
|
592
|
+
return this._format[3] || this.metadata.nationalPrefixFormattingRule();
|
593
|
+
}
|
594
|
+
}, {
|
595
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
596
|
+
value: function() {
|
597
|
+
return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
598
|
+
}
|
599
|
+
}, {
|
600
|
+
key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
|
601
|
+
value: function() {
|
602
|
+
return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
603
|
+
}
|
604
|
+
// Checks whether national prefix formatting rule contains national prefix.
|
605
|
+
}, {
|
606
|
+
key: "usesNationalPrefix",
|
607
|
+
value: function() {
|
608
|
+
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
609
|
+
!nd.test(this.nationalPrefixFormattingRule()));
|
610
|
+
}
|
611
|
+
}, {
|
612
|
+
key: "internationalFormat",
|
613
|
+
value: function() {
|
614
|
+
return this._format[5] || this.format();
|
615
|
+
}
|
616
|
+
}]), d;
|
617
|
+
}(), nd = /^\(?\$1\)?$/, id = /* @__PURE__ */ function() {
|
618
|
+
function d(e, t) {
|
619
|
+
I(this, d), this.type = e, this.metadata = t;
|
620
|
+
}
|
621
|
+
return F(d, [{
|
622
|
+
key: "pattern",
|
623
|
+
value: function() {
|
624
|
+
return this.metadata.v1 ? this.type : this.type[0];
|
625
|
+
}
|
626
|
+
}, {
|
627
|
+
key: "possibleLengths",
|
628
|
+
value: function() {
|
629
|
+
if (!this.metadata.v1)
|
630
|
+
return this.type[1] || this.metadata.possibleLengths();
|
631
|
+
}
|
632
|
+
}]), d;
|
633
|
+
}();
|
634
|
+
function Y(d, e) {
|
635
|
+
switch (e) {
|
636
|
+
case "FIXED_LINE":
|
637
|
+
return d[0];
|
638
|
+
case "MOBILE":
|
639
|
+
return d[1];
|
640
|
+
case "TOLL_FREE":
|
641
|
+
return d[2];
|
642
|
+
case "PREMIUM_RATE":
|
643
|
+
return d[3];
|
644
|
+
case "PERSONAL_NUMBER":
|
645
|
+
return d[4];
|
646
|
+
case "VOICEMAIL":
|
647
|
+
return d[5];
|
648
|
+
case "UAN":
|
649
|
+
return d[6];
|
650
|
+
case "PAGER":
|
651
|
+
return d[7];
|
652
|
+
case "VOIP":
|
653
|
+
return d[8];
|
654
|
+
case "SHARED_COST":
|
655
|
+
return d[9];
|
656
|
+
}
|
657
|
+
}
|
658
|
+
function ad(d) {
|
659
|
+
if (!d)
|
660
|
+
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
661
|
+
if (!_(d) || !_(d.countries))
|
662
|
+
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 " + od(d) + ": " + d, "."));
|
663
|
+
}
|
664
|
+
var od = function(e) {
|
665
|
+
return A(e);
|
666
|
+
};
|
667
|
+
function B(d, e) {
|
668
|
+
if (e = new l(e), e.hasCountry(d))
|
669
|
+
return e.country(d).countryCallingCode();
|
670
|
+
throw new Error("Unknown country: ".concat(d));
|
671
|
+
}
|
672
|
+
function ud(d, e) {
|
673
|
+
return e.countries.hasOwnProperty(d);
|
674
|
+
}
|
675
|
+
function b0(d) {
|
676
|
+
var e = d.version;
|
677
|
+
typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? V(e, ed) === -1 ? this.v2 = !0 : V(e, td) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
678
|
+
}
|
679
|
+
var ld = ";ext=", v = function(e) {
|
680
|
+
return "([".concat(f, "]{1,").concat(e, "})");
|
681
|
+
};
|
682
|
+
function P0(d) {
|
683
|
+
var e = "20", t = "15", r = "9", $ = "6", n = "[ \\t,]*", i = "[:\\..]?[ \\t,-]*", a = "#?", o = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", s = "[- ]+", g = "[ \\t]*", c = "(?:,{2}|;)", p = ld + v(e), m = n + o + i + v(e) + a, C0 = n + u + i + v(r) + a, E0 = s + v($) + "#", I0 = g + c + i + v(t) + a, F0 = g + "(?:,)+" + i + v(r) + a;
|
684
|
+
return p + "|" + m + "|" + C0 + "|" + E0 + "|" + I0 + "|" + F0;
|
685
|
+
}
|
686
|
+
var sd = "[" + f + "]{" + M + "}", fd = "[" + G + "]{0,1}(?:[" + C + "]*[" + f + "]){3,}[" + C + f + "]*", cd = new RegExp("^[" + G + "]{0,1}(?:[" + C + "]*[" + f + "]){1,2}$", "i"), hd = fd + // Phone number extensions
|
687
|
+
"(?:" + P0() + ")?", yd = new RegExp(
|
688
|
+
// Either a short two-digit-only phone number
|
689
|
+
"^" + sd + "$|^" + hd + "$",
|
690
|
+
"i"
|
691
|
+
);
|
692
|
+
function gd(d) {
|
693
|
+
return d.length >= M && yd.test(d);
|
694
|
+
}
|
695
|
+
function pd(d) {
|
696
|
+
return cd.test(d);
|
697
|
+
}
|
698
|
+
var Z = new RegExp("(?:" + P0() + ")$", "i");
|
699
|
+
function vd(d) {
|
700
|
+
var e = d.search(Z);
|
701
|
+
if (e < 0)
|
702
|
+
return {};
|
703
|
+
for (var t = d.slice(0, e), r = d.match(Z), $ = 1; $ < r.length; ) {
|
704
|
+
if (r[$])
|
705
|
+
return {
|
706
|
+
number: t,
|
707
|
+
ext: r[$]
|
708
|
+
};
|
709
|
+
$++;
|
710
|
+
}
|
711
|
+
}
|
712
|
+
var md = {
|
713
|
+
0: "0",
|
714
|
+
1: "1",
|
715
|
+
2: "2",
|
716
|
+
3: "3",
|
717
|
+
4: "4",
|
718
|
+
5: "5",
|
719
|
+
6: "6",
|
720
|
+
7: "7",
|
721
|
+
8: "8",
|
722
|
+
9: "9",
|
723
|
+
"0": "0",
|
724
|
+
// Fullwidth digit 0
|
725
|
+
"1": "1",
|
726
|
+
// Fullwidth digit 1
|
727
|
+
"2": "2",
|
728
|
+
// Fullwidth digit 2
|
729
|
+
"3": "3",
|
730
|
+
// Fullwidth digit 3
|
731
|
+
"4": "4",
|
732
|
+
// Fullwidth digit 4
|
733
|
+
"5": "5",
|
734
|
+
// Fullwidth digit 5
|
735
|
+
"6": "6",
|
736
|
+
// Fullwidth digit 6
|
737
|
+
"7": "7",
|
738
|
+
// Fullwidth digit 7
|
739
|
+
"8": "8",
|
740
|
+
// Fullwidth digit 8
|
741
|
+
"9": "9",
|
742
|
+
// Fullwidth digit 9
|
743
|
+
"٠": "0",
|
744
|
+
// Arabic-indic digit 0
|
745
|
+
"١": "1",
|
746
|
+
// Arabic-indic digit 1
|
747
|
+
"٢": "2",
|
748
|
+
// Arabic-indic digit 2
|
749
|
+
"٣": "3",
|
750
|
+
// Arabic-indic digit 3
|
751
|
+
"٤": "4",
|
752
|
+
// Arabic-indic digit 4
|
753
|
+
"٥": "5",
|
754
|
+
// Arabic-indic digit 5
|
755
|
+
"٦": "6",
|
756
|
+
// Arabic-indic digit 6
|
757
|
+
"٧": "7",
|
758
|
+
// Arabic-indic digit 7
|
759
|
+
"٨": "8",
|
760
|
+
// Arabic-indic digit 8
|
761
|
+
"٩": "9",
|
762
|
+
// Arabic-indic digit 9
|
763
|
+
"۰": "0",
|
764
|
+
// Eastern-Arabic digit 0
|
765
|
+
"۱": "1",
|
766
|
+
// Eastern-Arabic digit 1
|
767
|
+
"۲": "2",
|
768
|
+
// Eastern-Arabic digit 2
|
769
|
+
"۳": "3",
|
770
|
+
// Eastern-Arabic digit 3
|
771
|
+
"۴": "4",
|
772
|
+
// Eastern-Arabic digit 4
|
773
|
+
"۵": "5",
|
774
|
+
// Eastern-Arabic digit 5
|
775
|
+
"۶": "6",
|
776
|
+
// Eastern-Arabic digit 6
|
777
|
+
"۷": "7",
|
778
|
+
// Eastern-Arabic digit 7
|
779
|
+
"۸": "8",
|
780
|
+
// Eastern-Arabic digit 8
|
781
|
+
"۹": "9"
|
782
|
+
// Eastern-Arabic digit 9
|
783
|
+
};
|
784
|
+
function bd(d) {
|
785
|
+
return md[d];
|
786
|
+
}
|
787
|
+
function Pd(d, e) {
|
788
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
789
|
+
if (t)
|
790
|
+
return (t = t.call(d)).next.bind(t);
|
791
|
+
if (Array.isArray(d) || (t = Nd(d)) || e && d && typeof d.length == "number") {
|
792
|
+
t && (d = t);
|
793
|
+
var r = 0;
|
794
|
+
return function() {
|
795
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
796
|
+
};
|
797
|
+
}
|
798
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
799
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
800
|
+
}
|
801
|
+
function Nd(d, e) {
|
802
|
+
if (d) {
|
803
|
+
if (typeof d == "string")
|
804
|
+
return J(d, e);
|
805
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
806
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
807
|
+
return Array.from(d);
|
808
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
809
|
+
return J(d, e);
|
810
|
+
}
|
811
|
+
}
|
812
|
+
function J(d, e) {
|
813
|
+
(e == null || e > d.length) && (e = d.length);
|
814
|
+
for (var t = 0, r = new Array(e); t < e; t++)
|
815
|
+
r[t] = d[t];
|
816
|
+
return r;
|
817
|
+
}
|
818
|
+
function z(d) {
|
819
|
+
for (var e = "", t = Pd(d.split("")), r; !(r = t()).done; ) {
|
820
|
+
var $ = r.value;
|
821
|
+
e += Od($, e) || "";
|
822
|
+
}
|
823
|
+
return e;
|
824
|
+
}
|
825
|
+
function Od(d, e) {
|
826
|
+
return d === "+" ? e ? void 0 : "+" : bd(d);
|
827
|
+
}
|
828
|
+
function _d(d, e) {
|
829
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
830
|
+
if (t)
|
831
|
+
return (t = t.call(d)).next.bind(t);
|
832
|
+
if (Array.isArray(d) || (t = Cd(d)) || e && d && typeof d.length == "number") {
|
833
|
+
t && (d = t);
|
834
|
+
var r = 0;
|
835
|
+
return function() {
|
836
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
837
|
+
};
|
838
|
+
}
|
839
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
840
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
841
|
+
}
|
842
|
+
function Cd(d, e) {
|
843
|
+
if (d) {
|
844
|
+
if (typeof d == "string")
|
845
|
+
return Q(d, e);
|
846
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
847
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
848
|
+
return Array.from(d);
|
849
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
850
|
+
return Q(d, e);
|
851
|
+
}
|
852
|
+
}
|
853
|
+
function Q(d, e) {
|
854
|
+
(e == null || e > d.length) && (e = d.length);
|
855
|
+
for (var t = 0, r = new Array(e); t < e; t++)
|
856
|
+
r[t] = d[t];
|
857
|
+
return r;
|
858
|
+
}
|
859
|
+
function Ed(d, e) {
|
860
|
+
for (var t = d.slice(), r = _d(e), $; !($ = r()).done; ) {
|
861
|
+
var n = $.value;
|
862
|
+
d.indexOf(n) < 0 && t.push(n);
|
863
|
+
}
|
864
|
+
return t.sort(function(i, a) {
|
865
|
+
return i - a;
|
866
|
+
});
|
867
|
+
}
|
868
|
+
function k(d, e) {
|
869
|
+
return N0(d, void 0, e);
|
870
|
+
}
|
871
|
+
function N0(d, e, t) {
|
872
|
+
var r = t.type(e), $ = r && r.possibleLengths() || t.possibleLengths();
|
873
|
+
if (!$)
|
874
|
+
return "IS_POSSIBLE";
|
875
|
+
if (e === "FIXED_LINE_OR_MOBILE") {
|
876
|
+
if (!t.type("FIXED_LINE"))
|
877
|
+
return N0(d, "MOBILE", t);
|
878
|
+
var n = t.type("MOBILE");
|
879
|
+
n && ($ = Ed($, n.possibleLengths()));
|
880
|
+
} else if (e && !r)
|
881
|
+
return "INVALID_LENGTH";
|
882
|
+
var i = d.length, a = $[0];
|
883
|
+
return a === i ? "IS_POSSIBLE" : a > i ? "TOO_SHORT" : $[$.length - 1] < i ? "TOO_LONG" : $.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
884
|
+
}
|
885
|
+
function Id(d, e, t) {
|
886
|
+
if (e === void 0 && (e = {}), t = new l(t), e.v2) {
|
887
|
+
if (!d.countryCallingCode)
|
888
|
+
throw new Error("Invalid phone number object passed");
|
889
|
+
t.selectNumberingPlan(d.countryCallingCode);
|
890
|
+
} else {
|
891
|
+
if (!d.phone)
|
892
|
+
return !1;
|
893
|
+
if (d.country) {
|
894
|
+
if (!t.hasCountry(d.country))
|
895
|
+
throw new Error("Unknown country: ".concat(d.country));
|
896
|
+
t.country(d.country);
|
897
|
+
} else {
|
898
|
+
if (!d.countryCallingCode)
|
899
|
+
throw new Error("Invalid phone number object passed");
|
900
|
+
t.selectNumberingPlan(d.countryCallingCode);
|
901
|
+
}
|
902
|
+
}
|
903
|
+
if (t.possibleLengths())
|
904
|
+
return O0(d.phone || d.nationalNumber, t);
|
905
|
+
if (d.countryCallingCode && t.isNonGeographicCallingCode(d.countryCallingCode))
|
906
|
+
return !0;
|
907
|
+
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
908
|
+
}
|
909
|
+
function O0(d, e) {
|
910
|
+
switch (k(d, e)) {
|
911
|
+
case "IS_POSSIBLE":
|
912
|
+
return !0;
|
913
|
+
default:
|
914
|
+
return !1;
|
915
|
+
}
|
916
|
+
}
|
917
|
+
function y(d, e) {
|
918
|
+
return d = d || "", new RegExp("^(?:" + e + ")$").test(d);
|
919
|
+
}
|
920
|
+
function Fd(d, e) {
|
921
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
922
|
+
if (t)
|
923
|
+
return (t = t.call(d)).next.bind(t);
|
924
|
+
if (Array.isArray(d) || (t = Sd(d)) || e && d && typeof d.length == "number") {
|
925
|
+
t && (d = t);
|
926
|
+
var r = 0;
|
927
|
+
return function() {
|
928
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
929
|
+
};
|
930
|
+
}
|
931
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
932
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
933
|
+
}
|
934
|
+
function Sd(d, e) {
|
935
|
+
if (d) {
|
936
|
+
if (typeof d == "string")
|
937
|
+
return q(d, e);
|
938
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
939
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
940
|
+
return Array.from(d);
|
941
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
942
|
+
return q(d, e);
|
943
|
+
}
|
944
|
+
}
|
945
|
+
function q(d, e) {
|
946
|
+
(e == null || e > d.length) && (e = d.length);
|
947
|
+
for (var t = 0, r = new Array(e); t < e; t++)
|
948
|
+
r[t] = d[t];
|
949
|
+
return r;
|
950
|
+
}
|
951
|
+
var wd = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
952
|
+
function U(d, e, t) {
|
953
|
+
if (e = e || {}, !(!d.country && !d.countryCallingCode)) {
|
954
|
+
t = new l(t), t.selectNumberingPlan(d.country, d.countryCallingCode);
|
955
|
+
var r = e.v2 ? d.nationalNumber : d.phone;
|
956
|
+
if (y(r, t.nationalNumberPattern())) {
|
957
|
+
if (S(r, "FIXED_LINE", t))
|
958
|
+
return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || S(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
959
|
+
for (var $ = Fd(wd), n; !(n = $()).done; ) {
|
960
|
+
var i = n.value;
|
961
|
+
if (S(r, i, t))
|
962
|
+
return i;
|
963
|
+
}
|
964
|
+
}
|
965
|
+
}
|
966
|
+
}
|
967
|
+
function S(d, e, t) {
|
968
|
+
return e = t.type(e), !e || !e.pattern() || e.possibleLengths() && e.possibleLengths().indexOf(d.length) < 0 ? !1 : y(d, e.pattern());
|
969
|
+
}
|
970
|
+
function xd(d, e, t) {
|
971
|
+
if (e = e || {}, t = new l(t), t.selectNumberingPlan(d.country, d.countryCallingCode), t.hasTypes())
|
972
|
+
return U(d, e, t.metadata) !== void 0;
|
973
|
+
var r = e.v2 ? d.nationalNumber : d.phone;
|
974
|
+
return y(r, t.nationalNumberPattern());
|
975
|
+
}
|
976
|
+
function Td(d, e, t) {
|
977
|
+
var r = new l(t), $ = r.getCountryCodesForCallingCode(d);
|
978
|
+
return $ ? $.filter(function(n) {
|
979
|
+
return Ad(e, n, t);
|
980
|
+
}) : [];
|
981
|
+
}
|
982
|
+
function Ad(d, e, t) {
|
983
|
+
var r = new l(t);
|
984
|
+
return r.selectNumberingPlan(e), r.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
|
985
|
+
}
|
986
|
+
function Rd(d) {
|
987
|
+
return d.replace(new RegExp("[".concat(C, "]+"), "g"), " ").trim();
|
988
|
+
}
|
989
|
+
var Ld = /(\$\d)/;
|
990
|
+
function Dd(d, e, t) {
|
991
|
+
var r = t.useInternationalFormat, $ = t.withNationalPrefix;
|
992
|
+
t.carrierCode, t.metadata;
|
993
|
+
var n = d.replace(new RegExp(e.pattern()), r ? e.internationalFormat() : (
|
994
|
+
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
995
|
+
// because that one is only used when formatting phone numbers
|
996
|
+
// for dialing from a mobile phone, and this is not a dialing library.
|
997
|
+
// carrierCode && format.domesticCarrierCodeFormattingRule()
|
998
|
+
// // First, replace the $CC in the formatting rule with the desired carrier code.
|
999
|
+
// // Then, replace the $FG in the formatting rule with the first group
|
1000
|
+
// // and the carrier code combined in the appropriate way.
|
1001
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
|
1002
|
+
// : (
|
1003
|
+
// withNationalPrefix && format.nationalPrefixFormattingRule()
|
1004
|
+
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
1005
|
+
// : format.format()
|
1006
|
+
// )
|
1007
|
+
$ && e.nationalPrefixFormattingRule() ? e.format().replace(Ld, e.nationalPrefixFormattingRule()) : e.format()
|
1008
|
+
));
|
1009
|
+
return r ? Rd(n) : n;
|
1010
|
+
}
|
1011
|
+
var Md = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
1012
|
+
function Gd(d, e, t) {
|
1013
|
+
var r = new l(t);
|
1014
|
+
if (r.selectNumberingPlan(d, e), r.defaultIDDPrefix())
|
1015
|
+
return r.defaultIDDPrefix();
|
1016
|
+
if (Md.test(r.IDDPrefix()))
|
1017
|
+
return r.IDDPrefix();
|
1018
|
+
}
|
1019
|
+
function Bd(d) {
|
1020
|
+
var e = d.number, t = d.ext;
|
1021
|
+
if (!e)
|
1022
|
+
return "";
|
1023
|
+
if (e[0] !== "+")
|
1024
|
+
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
1025
|
+
return "tel:".concat(e).concat(t ? ";ext=" + t : "");
|
1026
|
+
}
|
1027
|
+
function kd(d, e) {
|
1028
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1029
|
+
if (t)
|
1030
|
+
return (t = t.call(d)).next.bind(t);
|
1031
|
+
if (Array.isArray(d) || (t = Ud(d)) || e && d && typeof d.length == "number") {
|
1032
|
+
t && (d = t);
|
1033
|
+
var r = 0;
|
1034
|
+
return function() {
|
1035
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
1036
|
+
};
|
1037
|
+
}
|
1038
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
1039
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1040
|
+
}
|
1041
|
+
function Ud(d, e) {
|
1042
|
+
if (d) {
|
1043
|
+
if (typeof d == "string")
|
1044
|
+
return d0(d, e);
|
1045
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1046
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
1047
|
+
return Array.from(d);
|
1048
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1049
|
+
return d0(d, e);
|
1050
|
+
}
|
1051
|
+
}
|
1052
|
+
function d0(d, e) {
|
1053
|
+
(e == null || e > d.length) && (e = d.length);
|
1054
|
+
for (var t = 0, r = new Array(e); t < e; t++)
|
1055
|
+
r[t] = d[t];
|
1056
|
+
return r;
|
1057
|
+
}
|
1058
|
+
function e0(d, e) {
|
1059
|
+
var t = Object.keys(d);
|
1060
|
+
if (Object.getOwnPropertySymbols) {
|
1061
|
+
var r = Object.getOwnPropertySymbols(d);
|
1062
|
+
e && (r = r.filter(function($) {
|
1063
|
+
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1064
|
+
})), t.push.apply(t, r);
|
1065
|
+
}
|
1066
|
+
return t;
|
1067
|
+
}
|
1068
|
+
function t0(d) {
|
1069
|
+
for (var e = 1; e < arguments.length; e++) {
|
1070
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1071
|
+
e % 2 ? e0(Object(t), !0).forEach(function(r) {
|
1072
|
+
jd(d, r, t[r]);
|
1073
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : e0(Object(t)).forEach(function(r) {
|
1074
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1075
|
+
});
|
1076
|
+
}
|
1077
|
+
return d;
|
1078
|
+
}
|
1079
|
+
function jd(d, e, t) {
|
1080
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1081
|
+
}
|
1082
|
+
var r0 = {
|
1083
|
+
formatExtension: function(e, t, r) {
|
1084
|
+
return "".concat(e).concat(r.ext()).concat(t);
|
1085
|
+
}
|
1086
|
+
};
|
1087
|
+
function Hd(d, e, t, r) {
|
1088
|
+
if (t ? t = t0(t0({}, r0), t) : t = r0, r = new l(r), d.country && d.country !== "001") {
|
1089
|
+
if (!r.hasCountry(d.country))
|
1090
|
+
throw new Error("Unknown country: ".concat(d.country));
|
1091
|
+
r.country(d.country);
|
1092
|
+
} else if (d.countryCallingCode)
|
1093
|
+
r.selectNumberingPlan(d.countryCallingCode);
|
1094
|
+
else
|
1095
|
+
return d.phone || "";
|
1096
|
+
var $ = r.countryCallingCode(), n = t.v2 ? d.nationalNumber : d.phone, i;
|
1097
|
+
switch (e) {
|
1098
|
+
case "NATIONAL":
|
1099
|
+
return n ? (i = E(n, d.carrierCode, "NATIONAL", r, t), w(i, d.ext, r, t.formatExtension)) : "";
|
1100
|
+
case "INTERNATIONAL":
|
1101
|
+
return n ? (i = E(n, null, "INTERNATIONAL", r, t), i = "+".concat($, " ").concat(i), w(i, d.ext, r, t.formatExtension)) : "+".concat($);
|
1102
|
+
case "E.164":
|
1103
|
+
return "+".concat($).concat(n);
|
1104
|
+
case "RFC3966":
|
1105
|
+
return Bd({
|
1106
|
+
number: "+".concat($).concat(n),
|
1107
|
+
ext: d.ext
|
1108
|
+
});
|
1109
|
+
case "IDD":
|
1110
|
+
if (!t.fromCountry)
|
1111
|
+
return;
|
1112
|
+
var a = Kd(n, d.carrierCode, $, t.fromCountry, r);
|
1113
|
+
return w(a, d.ext, r, t.formatExtension);
|
1114
|
+
default:
|
1115
|
+
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e, '"'));
|
1116
|
+
}
|
1117
|
+
}
|
1118
|
+
function E(d, e, t, r, $) {
|
1119
|
+
var n = Vd(r.formats(), d);
|
1120
|
+
return n ? Dd(d, n, {
|
1121
|
+
useInternationalFormat: t === "INTERNATIONAL",
|
1122
|
+
withNationalPrefix: !(n.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && $ && $.nationalPrefix === !1),
|
1123
|
+
carrierCode: e,
|
1124
|
+
metadata: r
|
1125
|
+
}) : d;
|
1126
|
+
}
|
1127
|
+
function Vd(d, e) {
|
1128
|
+
for (var t = kd(d), r; !(r = t()).done; ) {
|
1129
|
+
var $ = r.value;
|
1130
|
+
if ($.leadingDigitsPatterns().length > 0) {
|
1131
|
+
var n = $.leadingDigitsPatterns()[$.leadingDigitsPatterns().length - 1];
|
1132
|
+
if (e.search(n) !== 0)
|
1133
|
+
continue;
|
1134
|
+
}
|
1135
|
+
if (y(e, $.pattern()))
|
1136
|
+
return $;
|
1137
|
+
}
|
1138
|
+
}
|
1139
|
+
function w(d, e, t, r) {
|
1140
|
+
return e ? r(d, e, t) : d;
|
1141
|
+
}
|
1142
|
+
function Kd(d, e, t, r, $) {
|
1143
|
+
var n = B(r, $.metadata);
|
1144
|
+
if (n === t) {
|
1145
|
+
var i = E(d, e, "NATIONAL", $);
|
1146
|
+
return t === "1" ? t + " " + i : i;
|
1147
|
+
}
|
1148
|
+
var a = Gd(r, void 0, $.metadata);
|
1149
|
+
if (a)
|
1150
|
+
return "".concat(a, " ").concat(t, " ").concat(E(d, null, "INTERNATIONAL", $));
|
1151
|
+
}
|
1152
|
+
function $0(d, e) {
|
1153
|
+
var t = Object.keys(d);
|
1154
|
+
if (Object.getOwnPropertySymbols) {
|
1155
|
+
var r = Object.getOwnPropertySymbols(d);
|
1156
|
+
e && (r = r.filter(function($) {
|
1157
|
+
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1158
|
+
})), t.push.apply(t, r);
|
1159
|
+
}
|
1160
|
+
return t;
|
1161
|
+
}
|
1162
|
+
function n0(d) {
|
1163
|
+
for (var e = 1; e < arguments.length; e++) {
|
1164
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1165
|
+
e % 2 ? $0(Object(t), !0).forEach(function(r) {
|
1166
|
+
Wd(d, r, t[r]);
|
1167
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : $0(Object(t)).forEach(function(r) {
|
1168
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1169
|
+
});
|
1170
|
+
}
|
1171
|
+
return d;
|
1172
|
+
}
|
1173
|
+
function Wd(d, e, t) {
|
1174
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1175
|
+
}
|
1176
|
+
function Xd(d, e) {
|
1177
|
+
if (!(d instanceof e))
|
1178
|
+
throw new TypeError("Cannot call a class as a function");
|
1179
|
+
}
|
1180
|
+
function i0(d, e) {
|
1181
|
+
for (var t = 0; t < e.length; t++) {
|
1182
|
+
var r = e[t];
|
1183
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, r.key, r);
|
1184
|
+
}
|
1185
|
+
}
|
1186
|
+
function Yd(d, e, t) {
|
1187
|
+
return e && i0(d.prototype, e), t && i0(d, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
1188
|
+
}
|
1189
|
+
var Zd = /* @__PURE__ */ function() {
|
1190
|
+
function d(e, t, r) {
|
1191
|
+
if (Xd(this, d), !e)
|
1192
|
+
throw new TypeError("`country` or `countryCallingCode` not passed");
|
1193
|
+
if (!t)
|
1194
|
+
throw new TypeError("`nationalNumber` not passed");
|
1195
|
+
if (!r)
|
1196
|
+
throw new TypeError("`metadata` not passed");
|
1197
|
+
var $ = zd(e, r), n = $.country, i = $.countryCallingCode;
|
1198
|
+
this.country = n, this.countryCallingCode = i, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
1199
|
+
return r;
|
1200
|
+
};
|
1201
|
+
}
|
1202
|
+
return Yd(d, [{
|
1203
|
+
key: "setExt",
|
1204
|
+
value: function(t) {
|
1205
|
+
this.ext = t;
|
1206
|
+
}
|
1207
|
+
}, {
|
1208
|
+
key: "getPossibleCountries",
|
1209
|
+
value: function() {
|
1210
|
+
return this.country ? [this.country] : Td(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
1211
|
+
}
|
1212
|
+
}, {
|
1213
|
+
key: "isPossible",
|
1214
|
+
value: function() {
|
1215
|
+
return Id(this, {
|
1216
|
+
v2: !0
|
1217
|
+
}, this.getMetadata());
|
1218
|
+
}
|
1219
|
+
}, {
|
1220
|
+
key: "isValid",
|
1221
|
+
value: function() {
|
1222
|
+
return xd(this, {
|
1223
|
+
v2: !0
|
1224
|
+
}, this.getMetadata());
|
1225
|
+
}
|
1226
|
+
}, {
|
1227
|
+
key: "isNonGeographic",
|
1228
|
+
value: function() {
|
1229
|
+
var t = new l(this.getMetadata());
|
1230
|
+
return t.isNonGeographicCallingCode(this.countryCallingCode);
|
1231
|
+
}
|
1232
|
+
}, {
|
1233
|
+
key: "isEqual",
|
1234
|
+
value: function(t) {
|
1235
|
+
return this.number === t.number && this.ext === t.ext;
|
1236
|
+
}
|
1237
|
+
// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
|
1238
|
+
// but later it was found out that it doesn't include the possible `TOO_SHORT` result
|
1239
|
+
// returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
|
1240
|
+
// so eventually I simply commented out this method from the `PhoneNumber` class
|
1241
|
+
// and just left the `validatePhoneNumberLength()` function, even though that one would require
|
1242
|
+
// and additional step to also validate the actual country / calling code of the phone number.
|
1243
|
+
// validateLength() {
|
1244
|
+
// const metadata = new Metadata(this.getMetadata())
|
1245
|
+
// metadata.selectNumberingPlan(this.countryCallingCode)
|
1246
|
+
// const result = checkNumberLength(this.nationalNumber, metadata)
|
1247
|
+
// if (result !== 'IS_POSSIBLE') {
|
1248
|
+
// return result
|
1249
|
+
// }
|
1250
|
+
// }
|
1251
|
+
}, {
|
1252
|
+
key: "getType",
|
1253
|
+
value: function() {
|
1254
|
+
return U(this, {
|
1255
|
+
v2: !0
|
1256
|
+
}, this.getMetadata());
|
1257
|
+
}
|
1258
|
+
}, {
|
1259
|
+
key: "format",
|
1260
|
+
value: function(t, r) {
|
1261
|
+
return Hd(this, t, r ? n0(n0({}, r), {}, {
|
1262
|
+
v2: !0
|
1263
|
+
}) : {
|
1264
|
+
v2: !0
|
1265
|
+
}, this.getMetadata());
|
1266
|
+
}
|
1267
|
+
}, {
|
1268
|
+
key: "formatNational",
|
1269
|
+
value: function(t) {
|
1270
|
+
return this.format("NATIONAL", t);
|
1271
|
+
}
|
1272
|
+
}, {
|
1273
|
+
key: "formatInternational",
|
1274
|
+
value: function(t) {
|
1275
|
+
return this.format("INTERNATIONAL", t);
|
1276
|
+
}
|
1277
|
+
}, {
|
1278
|
+
key: "getURI",
|
1279
|
+
value: function(t) {
|
1280
|
+
return this.format("RFC3966", t);
|
1281
|
+
}
|
1282
|
+
}]), d;
|
1283
|
+
}(), Jd = function(e) {
|
1284
|
+
return /^[A-Z]{2}$/.test(e);
|
1285
|
+
};
|
1286
|
+
function zd(d, e) {
|
1287
|
+
var t, r, $ = new l(e);
|
1288
|
+
return Jd(d) ? (t = d, $.selectNumberingPlan(t), r = $.countryCallingCode()) : r = d, {
|
1289
|
+
country: t,
|
1290
|
+
countryCallingCode: r
|
1291
|
+
};
|
1292
|
+
}
|
1293
|
+
var Qd = new RegExp("([" + f + "])");
|
1294
|
+
function qd(d, e, t, r) {
|
1295
|
+
if (e) {
|
1296
|
+
var $ = new l(r);
|
1297
|
+
$.selectNumberingPlan(e, t);
|
1298
|
+
var n = new RegExp($.IDDPrefix());
|
1299
|
+
if (d.search(n) === 0) {
|
1300
|
+
d = d.slice(d.match(n)[0].length);
|
1301
|
+
var i = d.match(Qd);
|
1302
|
+
if (!(i && i[1] != null && i[1].length > 0 && i[1] === "0"))
|
1303
|
+
return d;
|
1304
|
+
}
|
1305
|
+
}
|
1306
|
+
}
|
1307
|
+
function d1(d, e) {
|
1308
|
+
if (d && e.numberingPlan.nationalPrefixForParsing()) {
|
1309
|
+
var t = new RegExp("^(?:" + e.numberingPlan.nationalPrefixForParsing() + ")"), r = t.exec(d);
|
1310
|
+
if (r) {
|
1311
|
+
var $, n, i = r.length - 1, a = i > 0 && r[i];
|
1312
|
+
if (e.nationalPrefixTransformRule() && a)
|
1313
|
+
$ = d.replace(t, e.nationalPrefixTransformRule()), i > 1 && (n = r[1]);
|
1314
|
+
else {
|
1315
|
+
var o = r[0];
|
1316
|
+
$ = d.slice(o.length), a && (n = r[1]);
|
1317
|
+
}
|
1318
|
+
var u;
|
1319
|
+
if (a) {
|
1320
|
+
var s = d.indexOf(r[1]), g = d.slice(0, s);
|
1321
|
+
g === e.numberingPlan.nationalPrefix() && (u = e.numberingPlan.nationalPrefix());
|
1322
|
+
} else
|
1323
|
+
u = r[0];
|
1324
|
+
return {
|
1325
|
+
nationalNumber: $,
|
1326
|
+
nationalPrefix: u,
|
1327
|
+
carrierCode: n
|
1328
|
+
};
|
1329
|
+
}
|
1330
|
+
}
|
1331
|
+
return {
|
1332
|
+
nationalNumber: d
|
1333
|
+
};
|
1334
|
+
}
|
1335
|
+
function R(d, e) {
|
1336
|
+
var t = d1(d, e), r = t.carrierCode, $ = t.nationalNumber;
|
1337
|
+
if ($ !== d) {
|
1338
|
+
if (!e1(d, $, e))
|
1339
|
+
return {
|
1340
|
+
nationalNumber: d
|
1341
|
+
};
|
1342
|
+
if (e.possibleLengths() && !t1($, e))
|
1343
|
+
return {
|
1344
|
+
nationalNumber: d
|
1345
|
+
};
|
1346
|
+
}
|
1347
|
+
return {
|
1348
|
+
nationalNumber: $,
|
1349
|
+
carrierCode: r
|
1350
|
+
};
|
1351
|
+
}
|
1352
|
+
function e1(d, e, t) {
|
1353
|
+
return !(y(d, t.nationalNumberPattern()) && !y(e, t.nationalNumberPattern()));
|
1354
|
+
}
|
1355
|
+
function t1(d, e) {
|
1356
|
+
switch (k(d, e)) {
|
1357
|
+
case "TOO_SHORT":
|
1358
|
+
case "INVALID_LENGTH":
|
1359
|
+
return !1;
|
1360
|
+
default:
|
1361
|
+
return !0;
|
1362
|
+
}
|
1363
|
+
}
|
1364
|
+
function r1(d, e, t, r) {
|
1365
|
+
var $ = e ? B(e, r) : t;
|
1366
|
+
if (d.indexOf($) === 0) {
|
1367
|
+
r = new l(r), r.selectNumberingPlan(e, t);
|
1368
|
+
var n = d.slice($.length), i = R(n, r), a = i.nationalNumber, o = R(d, r), u = o.nationalNumber;
|
1369
|
+
if (!y(u, r.nationalNumberPattern()) && y(a, r.nationalNumberPattern()) || k(u, r) === "TOO_LONG")
|
1370
|
+
return {
|
1371
|
+
countryCallingCode: $,
|
1372
|
+
number: n
|
1373
|
+
};
|
1374
|
+
}
|
1375
|
+
return {
|
1376
|
+
number: d
|
1377
|
+
};
|
1378
|
+
}
|
1379
|
+
function $1(d, e, t, r) {
|
1380
|
+
if (!d)
|
1381
|
+
return {};
|
1382
|
+
var $;
|
1383
|
+
if (d[0] !== "+") {
|
1384
|
+
var n = qd(d, e, t, r);
|
1385
|
+
if (n && n !== d)
|
1386
|
+
$ = !0, d = "+" + n;
|
1387
|
+
else {
|
1388
|
+
if (e || t) {
|
1389
|
+
var i = r1(d, e, t, r), a = i.countryCallingCode, o = i.number;
|
1390
|
+
if (a)
|
1391
|
+
return {
|
1392
|
+
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
1393
|
+
countryCallingCode: a,
|
1394
|
+
number: o
|
1395
|
+
};
|
1396
|
+
}
|
1397
|
+
return {
|
1398
|
+
// No need to set it to `UNSPECIFIED`. It can be just `undefined`.
|
1399
|
+
// countryCallingCodeSource: 'UNSPECIFIED',
|
1400
|
+
number: d
|
1401
|
+
};
|
1402
|
+
}
|
1403
|
+
}
|
1404
|
+
if (d[1] === "0")
|
1405
|
+
return {};
|
1406
|
+
r = new l(r);
|
1407
|
+
for (var u = 2; u - 1 <= X0 && u <= d.length; ) {
|
1408
|
+
var s = d.slice(1, u);
|
1409
|
+
if (r.hasCallingCode(s))
|
1410
|
+
return r.selectNumberingPlan(s), {
|
1411
|
+
countryCallingCodeSource: $ ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
1412
|
+
countryCallingCode: s,
|
1413
|
+
number: d.slice(u)
|
1414
|
+
};
|
1415
|
+
u++;
|
1416
|
+
}
|
1417
|
+
return {};
|
1418
|
+
}
|
1419
|
+
function n1(d, e) {
|
1420
|
+
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1421
|
+
if (t)
|
1422
|
+
return (t = t.call(d)).next.bind(t);
|
1423
|
+
if (Array.isArray(d) || (t = i1(d)) || e && d && typeof d.length == "number") {
|
1424
|
+
t && (d = t);
|
1425
|
+
var r = 0;
|
1426
|
+
return function() {
|
1427
|
+
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
1428
|
+
};
|
1429
|
+
}
|
1430
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
1431
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1432
|
+
}
|
1433
|
+
function i1(d, e) {
|
1434
|
+
if (d) {
|
1435
|
+
if (typeof d == "string")
|
1436
|
+
return a0(d, e);
|
1437
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1438
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
1439
|
+
return Array.from(d);
|
1440
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1441
|
+
return a0(d, e);
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
function a0(d, e) {
|
1445
|
+
(e == null || e > d.length) && (e = d.length);
|
1446
|
+
for (var t = 0, r = new Array(e); t < e; t++)
|
1447
|
+
r[t] = d[t];
|
1448
|
+
return r;
|
1449
|
+
}
|
1450
|
+
function a1(d, e) {
|
1451
|
+
var t = e.countries, r = e.defaultCountry, $ = e.metadata;
|
1452
|
+
$ = new l($);
|
1453
|
+
for (var n = [], i = n1(t), a; !(a = i()).done; ) {
|
1454
|
+
var o = a.value;
|
1455
|
+
if ($.country(o), $.leadingDigits()) {
|
1456
|
+
if (d && d.search($.leadingDigits()) === 0)
|
1457
|
+
return o;
|
1458
|
+
} else if (U({
|
1459
|
+
phone: d,
|
1460
|
+
country: o
|
1461
|
+
}, void 0, $.metadata))
|
1462
|
+
if (r) {
|
1463
|
+
if (o === r)
|
1464
|
+
return o;
|
1465
|
+
n.push(o);
|
1466
|
+
} else
|
1467
|
+
return o;
|
1468
|
+
}
|
1469
|
+
if (n.length > 0)
|
1470
|
+
return n[0];
|
1471
|
+
}
|
1472
|
+
var o1 = !1;
|
1473
|
+
function u1(d, e) {
|
1474
|
+
var t = e.nationalNumber, r = e.defaultCountry, $ = e.metadata;
|
1475
|
+
if (o1 && $.isNonGeographicCallingCode(d))
|
1476
|
+
return "001";
|
1477
|
+
var n = $.getCountryCodesForCallingCode(d);
|
1478
|
+
if (n)
|
1479
|
+
return n.length === 1 ? n[0] : a1(t, {
|
1480
|
+
countries: n,
|
1481
|
+
defaultCountry: r,
|
1482
|
+
metadata: $.metadata
|
1483
|
+
});
|
1484
|
+
}
|
1485
|
+
var _0 = "+", l1 = "[\\-\\.\\(\\)]?", o0 = "([" + f + "]|" + l1 + ")", s1 = "^\\" + _0 + o0 + "*[" + f + "]" + o0 + "*$", f1 = new RegExp(s1, "g"), L = f, c1 = "[" + L + "]+((\\-)*[" + L + "])*", h1 = "a-zA-Z", y1 = "[" + h1 + "]+((\\-)*[" + L + "])*", g1 = "^(" + c1 + "\\.)*" + y1 + "\\.?$", p1 = new RegExp(g1, "g"), u0 = "tel:", D = ";phone-context=", v1 = ";isub=";
|
1486
|
+
function m1(d) {
|
1487
|
+
var e = d.indexOf(D);
|
1488
|
+
if (e < 0)
|
1489
|
+
return null;
|
1490
|
+
var t = e + D.length;
|
1491
|
+
if (t >= d.length)
|
1492
|
+
return "";
|
1493
|
+
var r = d.indexOf(";", t);
|
1494
|
+
return r >= 0 ? d.substring(t, r) : d.substring(t);
|
1495
|
+
}
|
1496
|
+
function b1(d) {
|
1497
|
+
return d === null ? !0 : d.length === 0 ? !1 : f1.test(d) || p1.test(d);
|
1498
|
+
}
|
1499
|
+
function P1(d, e) {
|
1500
|
+
var t = e.extractFormattedPhoneNumber, r = m1(d);
|
1501
|
+
if (!b1(r))
|
1502
|
+
throw new h("NOT_A_NUMBER");
|
1503
|
+
var $;
|
1504
|
+
if (r === null)
|
1505
|
+
$ = t(d) || "";
|
1506
|
+
else {
|
1507
|
+
$ = "", r.charAt(0) === _0 && ($ += r);
|
1508
|
+
var n = d.indexOf(u0), i;
|
1509
|
+
n >= 0 ? i = n + u0.length : i = 0;
|
1510
|
+
var a = d.indexOf(D);
|
1511
|
+
$ += d.substring(i, a);
|
1512
|
+
}
|
1513
|
+
var o = $.indexOf(v1);
|
1514
|
+
if (o > 0 && ($ = $.substring(0, o)), $ !== "")
|
1515
|
+
return $;
|
1516
|
+
}
|
1517
|
+
var N1 = 250, O1 = new RegExp("[" + G + f + "]"), _1 = new RegExp("[^" + f + "#]+$");
|
1518
|
+
function C1(d, e, t) {
|
1519
|
+
if (e = e || {}, t = new l(t), e.defaultCountry && !t.hasCountry(e.defaultCountry))
|
1520
|
+
throw e.v2 ? new h("INVALID_COUNTRY") : new Error("Unknown country: ".concat(e.defaultCountry));
|
1521
|
+
var r = I1(d, e.v2, e.extract), $ = r.number, n = r.ext, i = r.error;
|
1522
|
+
if (!$) {
|
1523
|
+
if (e.v2)
|
1524
|
+
throw i === "TOO_SHORT" ? new h("TOO_SHORT") : new h("NOT_A_NUMBER");
|
1525
|
+
return {};
|
1526
|
+
}
|
1527
|
+
var a = S1($, e.defaultCountry, e.defaultCallingCode, t), o = a.country, u = a.nationalNumber, s = a.countryCallingCode, g = a.countryCallingCodeSource, c = a.carrierCode;
|
1528
|
+
if (!t.hasSelectedNumberingPlan()) {
|
1529
|
+
if (e.v2)
|
1530
|
+
throw new h("INVALID_COUNTRY");
|
1531
|
+
return {};
|
1532
|
+
}
|
1533
|
+
if (!u || u.length < M) {
|
1534
|
+
if (e.v2)
|
1535
|
+
throw new h("TOO_SHORT");
|
1536
|
+
return {};
|
1537
|
+
}
|
1538
|
+
if (u.length > W0) {
|
1539
|
+
if (e.v2)
|
1540
|
+
throw new h("TOO_LONG");
|
1541
|
+
return {};
|
1542
|
+
}
|
1543
|
+
if (e.v2) {
|
1544
|
+
var p = new Zd(s, u, t.metadata);
|
1545
|
+
return o && (p.country = o), c && (p.carrierCode = c), n && (p.ext = n), p.__countryCallingCodeSource = g, p;
|
1546
|
+
}
|
1547
|
+
var m = (e.extended ? t.hasSelectedNumberingPlan() : o) ? y(u, t.nationalNumberPattern()) : !1;
|
1548
|
+
return e.extended ? {
|
1549
|
+
country: o,
|
1550
|
+
countryCallingCode: s,
|
1551
|
+
carrierCode: c,
|
1552
|
+
valid: m,
|
1553
|
+
possible: m ? !0 : !!(e.extended === !0 && t.possibleLengths() && O0(u, t)),
|
1554
|
+
phone: u,
|
1555
|
+
ext: n
|
1556
|
+
} : m ? F1(o, u, n) : {};
|
1557
|
+
}
|
1558
|
+
function E1(d, e, t) {
|
1559
|
+
if (d) {
|
1560
|
+
if (d.length > N1) {
|
1561
|
+
if (t)
|
1562
|
+
throw new h("TOO_LONG");
|
1563
|
+
return;
|
1564
|
+
}
|
1565
|
+
if (e === !1)
|
1566
|
+
return d;
|
1567
|
+
var r = d.search(O1);
|
1568
|
+
if (!(r < 0))
|
1569
|
+
return d.slice(r).replace(_1, "");
|
1570
|
+
}
|
1571
|
+
}
|
1572
|
+
function I1(d, e, t) {
|
1573
|
+
var r = P1(d, {
|
1574
|
+
extractFormattedPhoneNumber: function(i) {
|
1575
|
+
return E1(i, t, e);
|
1576
|
+
}
|
1577
|
+
});
|
1578
|
+
if (!r)
|
1579
|
+
return {};
|
1580
|
+
if (!gd(r))
|
1581
|
+
return pd(r) ? {
|
1582
|
+
error: "TOO_SHORT"
|
1583
|
+
} : {};
|
1584
|
+
var $ = vd(r);
|
1585
|
+
return $.ext ? $ : {
|
1586
|
+
number: r
|
1587
|
+
};
|
1588
|
+
}
|
1589
|
+
function F1(d, e, t) {
|
1590
|
+
var r = {
|
1591
|
+
country: d,
|
1592
|
+
phone: e
|
1593
|
+
};
|
1594
|
+
return t && (r.ext = t), r;
|
1595
|
+
}
|
1596
|
+
function S1(d, e, t, r) {
|
1597
|
+
var $ = $1(z(d), e, t, r.metadata), n = $.countryCallingCodeSource, i = $.countryCallingCode, a = $.number, o;
|
1598
|
+
if (i)
|
1599
|
+
r.selectNumberingPlan(i);
|
1600
|
+
else if (a && (e || t))
|
1601
|
+
r.selectNumberingPlan(e, t), e && (o = e), i = t || B(e, r.metadata);
|
1602
|
+
else
|
1603
|
+
return {};
|
1604
|
+
if (!a)
|
1605
|
+
return {
|
1606
|
+
countryCallingCodeSource: n,
|
1607
|
+
countryCallingCode: i
|
1608
|
+
};
|
1609
|
+
var u = R(z(a), r), s = u.nationalNumber, g = u.carrierCode, c = u1(i, {
|
1610
|
+
nationalNumber: s,
|
1611
|
+
defaultCountry: e,
|
1612
|
+
metadata: r
|
1613
|
+
});
|
1614
|
+
return c && (o = c, c === "001" || r.country(o)), {
|
1615
|
+
country: o,
|
1616
|
+
countryCallingCode: i,
|
1617
|
+
countryCallingCodeSource: n,
|
1618
|
+
nationalNumber: s,
|
1619
|
+
carrierCode: g
|
1620
|
+
};
|
1621
|
+
}
|
1622
|
+
function l0(d, e) {
|
1623
|
+
var t = Object.keys(d);
|
1624
|
+
if (Object.getOwnPropertySymbols) {
|
1625
|
+
var r = Object.getOwnPropertySymbols(d);
|
1626
|
+
e && (r = r.filter(function($) {
|
1627
|
+
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1628
|
+
})), t.push.apply(t, r);
|
1629
|
+
}
|
1630
|
+
return t;
|
1631
|
+
}
|
1632
|
+
function s0(d) {
|
1633
|
+
for (var e = 1; e < arguments.length; e++) {
|
1634
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1635
|
+
e % 2 ? l0(Object(t), !0).forEach(function(r) {
|
1636
|
+
w1(d, r, t[r]);
|
1637
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : l0(Object(t)).forEach(function(r) {
|
1638
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1639
|
+
});
|
1640
|
+
}
|
1641
|
+
return d;
|
1642
|
+
}
|
1643
|
+
function w1(d, e, t) {
|
1644
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1645
|
+
}
|
1646
|
+
function x1(d, e, t) {
|
1647
|
+
return C1(d, s0(s0({}, e), {}, {
|
1648
|
+
v2: !0
|
1649
|
+
}), t);
|
1650
|
+
}
|
1651
|
+
function f0(d, e) {
|
1652
|
+
var t = Object.keys(d);
|
1653
|
+
if (Object.getOwnPropertySymbols) {
|
1654
|
+
var r = Object.getOwnPropertySymbols(d);
|
1655
|
+
e && (r = r.filter(function($) {
|
1656
|
+
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1657
|
+
})), t.push.apply(t, r);
|
1658
|
+
}
|
1659
|
+
return t;
|
1660
|
+
}
|
1661
|
+
function T1(d) {
|
1662
|
+
for (var e = 1; e < arguments.length; e++) {
|
1663
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1664
|
+
e % 2 ? f0(Object(t), !0).forEach(function(r) {
|
1665
|
+
A1(d, r, t[r]);
|
1666
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : f0(Object(t)).forEach(function(r) {
|
1667
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1668
|
+
});
|
1669
|
+
}
|
1670
|
+
return d;
|
1671
|
+
}
|
1672
|
+
function A1(d, e, t) {
|
1673
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1674
|
+
}
|
1675
|
+
function R1(d, e) {
|
1676
|
+
return G1(d) || M1(d, e) || D1(d, e) || L1();
|
1677
|
+
}
|
1678
|
+
function L1() {
|
1679
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
1680
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1681
|
+
}
|
1682
|
+
function D1(d, e) {
|
1683
|
+
if (d) {
|
1684
|
+
if (typeof d == "string")
|
1685
|
+
return c0(d, e);
|
1686
|
+
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1687
|
+
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
1688
|
+
return Array.from(d);
|
1689
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1690
|
+
return c0(d, e);
|
1691
|
+
}
|
1692
|
+
}
|
1693
|
+
function c0(d, e) {
|
1694
|
+
(e == null || e > d.length) && (e = d.length);
|
1695
|
+
for (var t = 0, r = new Array(e); t < e; t++)
|
1696
|
+
r[t] = d[t];
|
1697
|
+
return r;
|
1698
|
+
}
|
1699
|
+
function M1(d, e) {
|
1700
|
+
var t = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1701
|
+
if (t != null) {
|
1702
|
+
var r = [], $ = !0, n = !1, i, a;
|
1703
|
+
try {
|
1704
|
+
for (t = t.call(d); !($ = (i = t.next()).done) && (r.push(i.value), !(e && r.length === e)); $ = !0)
|
1705
|
+
;
|
1706
|
+
} catch (o) {
|
1707
|
+
n = !0, a = o;
|
1708
|
+
} finally {
|
1709
|
+
try {
|
1710
|
+
!$ && t.return != null && t.return();
|
1711
|
+
} finally {
|
1712
|
+
if (n)
|
1713
|
+
throw a;
|
1714
|
+
}
|
1715
|
+
}
|
1716
|
+
return r;
|
1717
|
+
}
|
1718
|
+
}
|
1719
|
+
function G1(d) {
|
1720
|
+
if (Array.isArray(d))
|
1721
|
+
return d;
|
1722
|
+
}
|
1723
|
+
function B1(d) {
|
1724
|
+
var e = Array.prototype.slice.call(d), t = R1(e, 4), r = t[0], $ = t[1], n = t[2], i = t[3], a, o, u;
|
1725
|
+
if (typeof r == "string")
|
1726
|
+
a = r;
|
1727
|
+
else
|
1728
|
+
throw new TypeError("A text for parsing must be a string.");
|
1729
|
+
if (!$ || typeof $ == "string")
|
1730
|
+
i ? (o = n, u = i) : (o = void 0, u = n), $ && (o = T1({
|
1731
|
+
defaultCountry: $
|
1732
|
+
}, o));
|
1733
|
+
else if (_($))
|
1734
|
+
n ? (o = $, u = n) : u = $;
|
1735
|
+
else
|
1736
|
+
throw new Error("Invalid second argument: ".concat($));
|
1737
|
+
return {
|
1738
|
+
text: a,
|
1739
|
+
options: o,
|
1740
|
+
metadata: u
|
1741
|
+
};
|
1742
|
+
}
|
1743
|
+
function h0(d, e) {
|
1744
|
+
var t = Object.keys(d);
|
1745
|
+
if (Object.getOwnPropertySymbols) {
|
1746
|
+
var r = Object.getOwnPropertySymbols(d);
|
1747
|
+
e && (r = r.filter(function($) {
|
1748
|
+
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1749
|
+
})), t.push.apply(t, r);
|
1750
|
+
}
|
1751
|
+
return t;
|
1752
|
+
}
|
1753
|
+
function y0(d) {
|
1754
|
+
for (var e = 1; e < arguments.length; e++) {
|
1755
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1756
|
+
e % 2 ? h0(Object(t), !0).forEach(function(r) {
|
1757
|
+
k1(d, r, t[r]);
|
1758
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : h0(Object(t)).forEach(function(r) {
|
1759
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1760
|
+
});
|
1761
|
+
}
|
1762
|
+
return d;
|
1763
|
+
}
|
1764
|
+
function k1(d, e, t) {
|
1765
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1766
|
+
}
|
1767
|
+
function U1(d, e, t) {
|
1768
|
+
e && e.defaultCountry && !ud(e.defaultCountry, t) && (e = y0(y0({}, e), {}, {
|
1769
|
+
defaultCountry: void 0
|
1770
|
+
}));
|
1771
|
+
try {
|
1772
|
+
return x1(d, e, t);
|
1773
|
+
} catch (r) {
|
1774
|
+
if (!(r instanceof h))
|
1775
|
+
throw r;
|
1776
|
+
}
|
1777
|
+
}
|
1778
|
+
function g0(d, e) {
|
1779
|
+
var t = Object.keys(d);
|
1780
|
+
if (Object.getOwnPropertySymbols) {
|
1781
|
+
var r = Object.getOwnPropertySymbols(d);
|
1782
|
+
e && (r = r.filter(function($) {
|
1783
|
+
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1784
|
+
})), t.push.apply(t, r);
|
1785
|
+
}
|
1786
|
+
return t;
|
1787
|
+
}
|
1788
|
+
function p0(d) {
|
1789
|
+
for (var e = 1; e < arguments.length; e++) {
|
1790
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
1791
|
+
e % 2 ? g0(Object(t), !0).forEach(function(r) {
|
1792
|
+
j1(d, r, t[r]);
|
1793
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : g0(Object(t)).forEach(function(r) {
|
1794
|
+
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1795
|
+
});
|
1796
|
+
}
|
1797
|
+
return d;
|
1798
|
+
}
|
1799
|
+
function j1(d, e, t) {
|
1800
|
+
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1801
|
+
}
|
1802
|
+
function H1() {
|
1803
|
+
var d = B1(arguments), e = d.text, t = d.options, r = d.metadata;
|
1804
|
+
t = p0(p0({}, t), {}, {
|
1805
|
+
extract: !1
|
1806
|
+
});
|
1807
|
+
var $ = U1(e, t, r);
|
1808
|
+
return $ && $.isValid() || !1;
|
1809
|
+
}
|
1810
|
+
function V1() {
|
1811
|
+
return B0(H1, arguments);
|
1812
|
+
}
|
1813
|
+
const K1 = R0.extend({
|
1814
|
+
name: "BPhoneInput",
|
1815
|
+
mixins: [x0("components/ui/BPhoneInput")],
|
1816
|
+
props: {
|
1817
|
+
phoneNumber: {
|
1818
|
+
type: String,
|
1819
|
+
default: ""
|
1820
|
+
},
|
1821
|
+
phoneCountry: {
|
1822
|
+
type: String,
|
1823
|
+
default: "FR"
|
1824
|
+
},
|
1825
|
+
readonly: {
|
1826
|
+
type: Boolean,
|
1827
|
+
default: !1
|
1828
|
+
}
|
1829
|
+
},
|
1830
|
+
data() {
|
1831
|
+
return {
|
1832
|
+
phoneNumberData: this.phoneNumber || "",
|
1833
|
+
phoneCountryData: this.phoneCountry || "",
|
1834
|
+
readonlyData: this.readonly || !1,
|
1835
|
+
rules: []
|
1836
|
+
};
|
1837
|
+
},
|
1838
|
+
computed: {
|
1839
|
+
countryList() {
|
1840
|
+
return Object.values(j).sort(
|
1841
|
+
(d, e) => d.name.localeCompare(e.name)
|
1842
|
+
);
|
1843
|
+
},
|
1844
|
+
phonePrefix() {
|
1845
|
+
return this.phoneCountryData ? `+${j[this.phoneCountryData].dialCode}` : "";
|
1846
|
+
}
|
1847
|
+
},
|
1848
|
+
watch: {
|
1849
|
+
phoneCountryData() {
|
1850
|
+
if (this.phoneCountryData) {
|
1851
|
+
const d = this.$refs["phone-number"];
|
1852
|
+
d.hasFocused = !0, d.validate(), this.isPhoneValid();
|
1853
|
+
}
|
1854
|
+
this.emitValue();
|
1855
|
+
},
|
1856
|
+
phoneNumberData: {
|
1857
|
+
immediate: !0,
|
1858
|
+
handler() {
|
1859
|
+
this.isPhoneValid(), this.emitValue();
|
1860
|
+
}
|
1861
|
+
}
|
1862
|
+
},
|
1863
|
+
methods: {
|
1864
|
+
isPhoneValid() {
|
1865
|
+
this.rules = [
|
1866
|
+
(d) => L0.required(d) || this.$t("BPhoneInput.rules.required"),
|
1867
|
+
(d) => V1(
|
1868
|
+
this.phonePrefix + d,
|
1869
|
+
this.phoneCountryData
|
1870
|
+
) || this.$t("BPhoneInput.rules.format")
|
1871
|
+
];
|
1872
|
+
},
|
1873
|
+
emitValue() {
|
1874
|
+
const d = {
|
1875
|
+
phoneNumber: this.phoneNumberData,
|
1876
|
+
phoneCountry: this.phoneCountryData,
|
1877
|
+
phonePrefix: this.phonePrefix
|
1878
|
+
};
|
1879
|
+
this.$emit("input", d);
|
1880
|
+
},
|
1881
|
+
readOnlyProps() {
|
1882
|
+
return {
|
1883
|
+
appendOuterIcon: this.readonlyData ? "fa-edit" : void 0,
|
1884
|
+
class: { "v-input--is-disabled": this.readonlyData },
|
1885
|
+
clearable: !this.readonlyData,
|
1886
|
+
readonly: this.readonlyData
|
1887
|
+
};
|
1888
|
+
},
|
1889
|
+
edit() {
|
1890
|
+
this.readonlyData && (this.readonlyData = !1);
|
1891
|
+
}
|
1892
|
+
}
|
1893
|
+
});
|
1894
|
+
var W1 = function() {
|
1895
|
+
var e = this, t = e._self._c;
|
1896
|
+
return e._self._setupProxy, t(A0, { staticClass: "w-100 flex-nowrap mx-auto" }, [t("div", { staticClass: "pb-0" }, [t(D0, { ref: "phone-country-menu", staticClass: "phone-prefix-input", class: { "v-input--is-disabled": e.readonly }, attrs: { attach: "", dense: "", "hide-details": "", "item-text": (r) => `${r.iso2} ${r.name} +${r.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: r }) {
|
1897
|
+
return [t("img", { staticClass: "mr-2", attrs: { alt: r.iso2, src: r.icon, width: "20" } })];
|
1898
|
+
} }, { key: "item", fn: function({ item: r }) {
|
1899
|
+
return [t("img", { attrs: { alt: r.iso2, src: r.icon, width: "20" } }), t("span", { staticClass: "mx-2" }, [e._v(e._s(r.name))]), t("b", [e._v("+" + e._s(r.dialCode))])];
|
1900
|
+
} }]), model: { value: e.phoneCountryData, callback: function(r) {
|
1901
|
+
e.phoneCountryData = r;
|
1902
|
+
}, expression: "phoneCountryData" } })], 1), t("div", { staticClass: "w-100 pl-1 pb-0" }, [t(b, 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(r) {
|
1903
|
+
return e.edit("phoneNumber");
|
1904
|
+
} }, scopedSlots: e._u([{ key: "message", fn: function({ message: r }) {
|
1905
|
+
return [e._v(" " + e._s(e.$t(r)) + " ")];
|
1906
|
+
} }]), model: { value: e.phoneNumberData, callback: function(r) {
|
1907
|
+
e.phoneNumberData = r;
|
1908
|
+
}, expression: "phoneNumberData" } }, "v-text-field", e.readOnlyProps("readOnly"), !1))], 1)]);
|
1909
|
+
}, X1 = [], Y1 = /* @__PURE__ */ T0(
|
1910
|
+
K1,
|
1911
|
+
W1,
|
1912
|
+
X1,
|
1913
|
+
!1,
|
1914
|
+
null,
|
1915
|
+
"4cb2c404",
|
1916
|
+
null,
|
1917
|
+
null
|
1918
|
+
);
|
1919
|
+
const d2 = Y1.exports;
|
1920
|
+
S0("css/revolugo.bphoneinput.Kq_-XiGI.css");
|
1921
|
+
export {
|
1922
|
+
d2 as B,
|
1923
|
+
q1 as _,
|
1924
|
+
B1 as n,
|
1925
|
+
x1 as p,
|
1926
|
+
B0 as w
|
1927
|
+
};
|
1928
|
+
//# sourceMappingURL=revolugo.bphoneinput.Br-vaDMp.min.js.map
|