@revolugo/elements 5.5.3-beta.9 → 5.5.3-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/revolugo.0.min.css +5 -0
- package/dist/css/revolugo.1.min.css +1 -0
- package/dist/css/revolugo.11.min.css +1 -0
- package/dist/css/revolugo.12.min.css +1 -0
- package/dist/css/revolugo.13.min.css +1 -0
- package/dist/css/revolugo.14.min.css +1 -0
- package/dist/css/revolugo.15.min.css +1 -0
- package/dist/css/revolugo.16.min.css +1 -0
- package/dist/css/revolugo.17.min.css +1 -0
- package/dist/css/revolugo.18.min.css +1 -0
- package/dist/css/revolugo.19.min.css +1 -0
- package/dist/css/revolugo.2.min.css +1 -0
- package/dist/css/revolugo.20.min.css +1 -0
- package/dist/css/revolugo.21.min.css +1 -0
- package/dist/css/revolugo.22.min.css +1 -0
- package/dist/css/revolugo.23.min.css +1 -0
- package/dist/css/revolugo.24.min.css +1 -0
- package/dist/css/revolugo.25.min.css +1 -0
- package/dist/css/revolugo.26.min.css +1 -0
- package/dist/css/revolugo.27.min.css +1 -0
- package/dist/css/revolugo.28.min.css +1 -0
- package/dist/css/revolugo.29.min.css +1 -0
- package/dist/css/revolugo.30.min.css +1 -0
- package/dist/css/revolugo.31.min.css +1 -0
- package/dist/css/revolugo.32.min.css +1 -0
- package/dist/css/revolugo.33.min.css +1 -0
- package/dist/css/revolugo.34.min.css +1 -0
- package/dist/css/revolugo.4.min.css +1 -0
- package/dist/css/revolugo.5.min.css +1 -0
- package/dist/css/revolugo.6.min.css +1 -0
- package/dist/css/revolugo.7.min.css +1 -0
- package/dist/css/revolugo.fonts.min.css +1 -0
- package/dist/fonts/amenities.2aad1d12.woff +0 -0
- package/dist/fonts/amenities.9adae269.ttf +0 -0
- package/dist/fonts/amenities.a9bf50f8.svg +42 -0
- package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
- package/dist/fonts/beds.2b8e38c8.svg +12 -0
- 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/index.min.js +1 -65
- package/dist/revolugo.0.min.js +18 -0
- package/dist/revolugo.1.min.js +1 -0
- package/dist/revolugo.11.min.js +134 -0
- package/dist/revolugo.12.min.js +19 -0
- package/dist/revolugo.13.min.js +14 -0
- package/dist/revolugo.14.min.js +19 -0
- package/dist/revolugo.15.min.js +139 -0
- package/dist/revolugo.16.min.js +14 -0
- package/dist/revolugo.17.min.js +14 -0
- package/dist/revolugo.18.min.js +1 -0
- package/dist/revolugo.19.min.js +1 -0
- package/dist/revolugo.2.min.js +1 -0
- package/dist/revolugo.20.min.js +1 -0
- package/dist/revolugo.21.min.js +116 -0
- package/dist/revolugo.22.min.js +1 -0
- package/dist/revolugo.23.min.js +1 -0
- package/dist/revolugo.24.min.js +1 -0
- package/dist/revolugo.25.min.js +1 -0
- package/dist/revolugo.26.min.js +1 -0
- package/dist/revolugo.27.min.js +1 -0
- package/dist/revolugo.28.min.js +116 -0
- package/dist/revolugo.29.min.js +1 -0
- package/dist/revolugo.30.min.js +1 -0
- package/dist/revolugo.31.min.js +1 -0
- package/dist/revolugo.32.min.js +1 -0
- package/dist/revolugo.33.min.js +1 -0
- package/dist/revolugo.34.min.js +1 -0
- package/dist/revolugo.35.min.js +1 -0
- package/dist/revolugo.36.min.js +1 -0
- package/dist/revolugo.4.min.js +1 -0
- package/dist/revolugo.5.min.js +1 -0
- package/dist/revolugo.6.min.js +1 -0
- package/dist/revolugo.7.min.js +1 -0
- package/dist/revolugo.en-US.min.js +1 -0
- package/dist/revolugo.fonts.min.js +1 -0
- package/dist/revolugo.fr-FR.min.js +1 -0
- package/dist/revolugo.min.js +7 -257
- package/package.json +32 -25
- package/dist/css/fonts.css +0 -1
- package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +0 -1
- package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +0 -1
- package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +0 -1
- package/dist/css/revolugo.bstarrating.nzH7iii4.css +0 -1
- package/dist/css/revolugo.btag.Bdbqb_8a.css +0 -1
- package/dist/css/revolugo.common.BSIsYREh.css +0 -1
- package/dist/css/revolugo.creditcardform.BGPUxkRC.css +0 -1
- package/dist/css/revolugo.creditcardpayment.0MNnDloZ.css +0 -1
- package/dist/css/revolugo.currencypicker.BRYsKdMu.css +0 -1
- package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +0 -1
- package/dist/css/revolugo.hotel-offer.CEd50mBT.css +0 -1
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.0LnWfOu_.css +0 -1
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.xJfKaofV.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css +0 -1
- package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +0 -1
- package/dist/css/revolugo.index.BMkl7a3p.css +0 -1
- package/dist/css/revolugo.index.CFW4Oklv.css +0 -1
- package/dist/css/revolugo.index.vq4xksqn.css +0 -1
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +0 -1
- package/dist/css/revolugo.parsed-height.Xzhpy3D3.css +0 -1
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +0 -1
- package/dist/css/revolugo.prebookform.DBm2B4rS.css +0 -1
- package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +0 -5
- package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +0 -1
- package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +0 -1
- package/dist/css/revolugo.valert.BzcMswjJ.css +0 -1
- package/dist/css/revolugo.vautocomplete.OMX_yAge.css +0 -1
- package/dist/css/revolugo.vbadge.CiK_DSkI.css +0 -1
- package/dist/css/revolugo.vbtn.By46MJOU.css +0 -1
- package/dist/css/revolugo.vcard.DmB53ZNL.css +0 -1
- package/dist/css/revolugo.vchip.BdAdP6lC.css +0 -1
- package/dist/css/revolugo.vdialog.C02Cvwul.css +0 -1
- package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +0 -1
- package/dist/css/revolugo.vinput.SfhpXNi0.css +0 -1
- package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +0 -1
- package/dist/css/revolugo.vlistitem.BzwNE1YK.css +0 -1
- package/dist/css/revolugo.vmenu.BKE0IO4q.css +0 -1
- package/dist/css/revolugo.vselect.DljSkk6y.css +0 -1
- package/dist/css/revolugo.vsheet.Dtdo2Rps.css +0 -1
- package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +0 -1
- package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +0 -1
- package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +0 -1
- package/dist/css/revolugo.vtextfield.BliJY6uv.css +0 -1
- package/dist/css/revolugo.vtoolbar.DQsezjcM.css +0 -1
- package/dist/css/revolugo.vtooltip.B_oOB9pj.css +0 -1
- package/dist/css/revolugo.vuetify.BpIoHlAi.css +0 -1
- package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +0 -1
- package/dist/index.es.min.js +0 -14187
- package/dist/index.es.min.js.map +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist/revolugo.banktransferdetails.CbUr_kHV.min.js +0 -105
- package/dist/revolugo.bbreakfastoptionbadge.DND6bz7J.min.js +0 -62
- package/dist/revolugo.bdaterangepicker.DwXWu7y_.min.js +0 -1351
- package/dist/revolugo.bformattedamount.D4xCyTcv.min.js +0 -82
- package/dist/revolugo.bhotelroomsdetails.8yoNt-KM.min.js +0 -213
- package/dist/revolugo.bhotelsearchbar.Dm84Zzn5.min.js +0 -446
- package/dist/revolugo.booking-api-client.Du5goV4n.min.js +0 -7672
- package/dist/revolugo.bookingdetailssidebar.AR2t6BHt.min.js +0 -28
- package/dist/revolugo.bookingdetailssidebar.DY-YF6-6.min.js +0 -242
- package/dist/revolugo.bookingmanager.KlY3kOLa.min.js +0 -404
- package/dist/revolugo.bphoneinput.Qc_UlGIL.min.js +0 -1935
- package/dist/revolugo.bpricesummaryskeleton.BAzD7raP.min.js +0 -47
- package/dist/revolugo.breakpoint-service.CwWRBzMQ.min.js +0 -65
- package/dist/revolugo.bstarrating.B-PUaeDZ.min.js +0 -173
- package/dist/revolugo.btag.DD6eI8G4.min.js +0 -68
- package/dist/revolugo.cancellationpoliciesbadge.BTwUNf7h.min.js +0 -76
- package/dist/revolugo.cancellationpoliciesbadge.DA_X-aEr.min.js +0 -28
- package/dist/revolugo.cancellationpolicieslist.BweNL3Zh.min.js +0 -316
- package/dist/revolugo.cancellationpolicieslist.XF-OE6mm.min.js +0 -28
- package/dist/revolugo.common.D4pnatuu.min.js +0 -34
- package/dist/revolugo.creditcardform.B0ZACL31.min.js +0 -28
- package/dist/revolugo.creditcardform.Bmpk72uW.min.js +0 -2047
- package/dist/revolugo.creditcardpayment.DDAlWRp0.min.js +0 -28
- package/dist/revolugo.creditcardpayment.Dnr2WHEp.min.js +0 -288
- package/dist/revolugo.currencypicker.BxCxn4FE.min.js +0 -122
- package/dist/revolugo.currencypickerbtn.D8fIyw_x.min.js +0 -121
- package/dist/revolugo.currencypickerbtn.DoEdhphF.min.js +0 -28
- package/dist/revolugo.dialog-attach.05NirMLv.min.js +0 -27
- package/dist/revolugo.en-us.BP-UxrRq.min.js +0 -1171
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +0 -37
- package/dist/revolugo.fr-fr.CF_knN5b.min.js +0 -1177
- package/dist/revolugo.fullbookingflow.BROGdW-q.min.js +0 -239
- package/dist/revolugo.hotel-offer.JfkzuZyf.min.js +0 -608
- package/dist/revolugo.hoteldescriptionview.C9XjZcdv.min.js +0 -2174
- package/dist/revolugo.hoteldescriptionview.wVex0D_a.min.js +0 -28
- package/dist/revolugo.hotelofferitemlayout.BrulX_X4.min.js +0 -64
- package/dist/revolugo.hotelofferlist.CcITpxz4.min.js +0 -28
- package/dist/revolugo.hotelofferlist.DJ8B6BpP.min.js +0 -3450
- package/dist/revolugo.hotelofferrequestcreator.CiNpCqiH.min.js +0 -225
- package/dist/revolugo.hoteloffersearchmenu.CnVV4htq.min.js +0 -54
- package/dist/revolugo.hoteloffersmap.C1N5EZ0d.min.js +0 -28
- package/dist/revolugo.hoteloffersmap.gHrmWy8H.min.js +0 -8737
- package/dist/revolugo.hoteloffersview.BCvASsRk.min.js +0 -157
- package/dist/revolugo.hoteloffersview.DfbOUEie.min.js +0 -28
- package/dist/revolugo.hotelroomofferlist.BS32D6Sj.min.js +0 -28
- package/dist/revolugo.hotelroomofferlist.BltT6U-0.min.js +0 -1336
- package/dist/revolugo.hotelroomofferrequestcreator.CbISsNdn.min.js +0 -225
- package/dist/revolugo.hotelroomoffersbookingflow.D5iNQyH9.min.js +0 -679
- package/dist/revolugo.hotelroomoffersearchmenu.Bsg_FnJp.min.js +0 -29
- package/dist/revolugo.hotelroomoffersearchmenu.DqVQ1oKf.min.js +0 -38
- package/dist/revolugo.hotelroomoffersview.4NC1efEJ.min.js +0 -124
- package/dist/revolugo.hotelroomoffersview.DfmNWUJQ.min.js +0 -28
- package/dist/revolugo.i18n.DF3U6VhD.min.js +0 -11263
- package/dist/revolugo.index.A8BtC3Nq.min.js +0 -322
- package/dist/revolugo.index.BEcLuOn-.min.js +0 -281
- package/dist/revolugo.index.BUUmIL9V.min.js +0 -68
- package/dist/revolugo.index.BwvidmNu.min.js +0 -128
- package/dist/revolugo.index.CQC_pZJn.min.js +0 -15
- package/dist/revolugo.index.CcRooNT6.min.js +0 -270
- package/dist/revolugo.index.Cn5YTzy6.min.js +0 -43
- package/dist/revolugo.index.Cn8GgIte.min.js +0 -142
- package/dist/revolugo.index.DTZNxZHf.min.js +0 -9
- package/dist/revolugo.index.DfBSjbYu.min.js +0 -42
- package/dist/revolugo.index.GdvjICDR.min.js +0 -13
- package/dist/revolugo.index.owaXEEBO.min.js +0 -9
- package/dist/revolugo.index.sTY3URQu.min.js +0 -390
- package/dist/revolugo.index.tY8MFB9m.min.js +0 -161
- package/dist/revolugo.langpicker.yr7wtnZM.min.js +0 -103
- package/dist/revolugo.langpickerbtn.4XN3tTRs.min.js +0 -28
- package/dist/revolugo.langpickerbtn.BHhYWwCD.min.js +0 -111
- package/dist/revolugo.localizedformat.Wox_NThB.min.js +0 -47
- package/dist/revolugo.parsed-height.DRzHRmIo.min.js +0 -2492
- package/dist/revolugo.parsed-props.B_x1Ob04.min.js +0 -95
- package/dist/revolugo.prebookform.BeSJk0ad.min.js +0 -28
- package/dist/revolugo.prebookform.DZMMJst9.min.js +0 -484
- package/dist/revolugo.revolugo-config.Bs_HF2Eu.min.js +0 -1707
- package/dist/revolugo.roominglisteditor.BpdFoplV.min.js +0 -201
- package/dist/revolugo.roominglisteditor.DxmH3gRW.min.js +0 -28
- package/dist/revolugo.sentry.Bc7mnscp.min.js +0 -12146
- package/dist/revolugo.store.DPvvq0Rz.min.js +0 -1718
- package/dist/revolugo.storybooktoolbar.C_y4Nf-_.min.js +0 -300
- package/dist/revolugo.termsandconditions.BIHsJaCg.min.js +0 -27
- package/dist/revolugo.termsandconditions.D2C1eZuC.min.js +0 -162
- package/dist/revolugo.typed-mixins.B_7wrdes.min.js +0 -8
- package/dist/revolugo.valert.CMzvSBzo.min.js +0 -194
- package/dist/revolugo.vautocomplete.C-5OLCEj.min.js +0 -255
- package/dist/revolugo.vbadge.xQq9jf9W.min.js +0 -172
- package/dist/revolugo.vbtn.CP4AezmI.min.js +0 -286
- package/dist/revolugo.vcard.Cy5A2_pV.min.js +0 -80
- package/dist/revolugo.vchip.BcIMSmkF.min.js +0 -157
- package/dist/revolugo.vdialog.BAexO59W.min.js +0 -341
- package/dist/revolugo.vexpansionpanelheader.D9ENep1_.min.js +0 -263
- package/dist/revolugo.vform.oeljK9Tu.min.js +0 -98
- package/dist/revolugo.vinput.CDpcVlCU.min.js +0 -509
- package/dist/revolugo.vitemgroup.DyY_3pfW.min.js +0 -168
- package/dist/revolugo.vlistitem.CrJxrMpP.min.js +0 -204
- package/dist/revolugo.vmenu.CtMz9t6s.min.js +0 -349
- package/dist/revolugo.vselect.UcLk_jBF.min.js +0 -859
- package/dist/revolugo.vsheet.C1tyLBBd.min.js +0 -120
- package/dist/revolugo.vskeletonloader.CMMMMGzf.min.js +0 -172
- package/dist/revolugo.vslidegroup.BXF0FLd1.min.js +0 -650
- package/dist/revolugo.vsnackbar.xIK_rBpB.min.js +0 -178
- package/dist/revolugo.vtextfield.D2qOTbGQ.min.js +0 -438
- package/dist/revolugo.vtoolbar.D3HhuFrj.min.js +0 -364
- package/dist/revolugo.vtooltip.B7xN8tzo.min.js +0 -168
- package/dist/revolugo.vuetify.yojzDMFk.min.js +0 -865
- package/dist/revolugo.watch-list.cR2ZEwBA.min.js +0 -44
- package/dist/revolugo.webcomponentwrapper.-wnE6sKX.min.js +0 -777
@@ -1,1935 +0,0 @@
|
|
1
|
-
import { _ as b } from "./revolugo.vtextfield.D2qOTbGQ.min.js";
|
2
|
-
import { m as w0, l as x0, n as T0, _ as A0 } from "./revolugo.webcomponentwrapper.-wnE6sKX.min.js";
|
3
|
-
import { V as R0, C as j, Y as L0 } from "./revolugo.i18n.DF3U6VhD.min.js";
|
4
|
-
import { _ as D0 } from "./revolugo.vautocomplete.C-5OLCEj.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])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-36-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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "(?:[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-36-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-36-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{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:1[3-79]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "(?:(?:00[1-9]|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})|(?:43|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]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], 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\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[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", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(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-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "590\\d{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])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["[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(?:(?:22|44|7[27]|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-689]|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", "2[0-24-9]\\d{8}|[78]\\d{10,13}|[7-9]\\d{9}|[1-9]\\d{7}|[124-7]\\d{6}", [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-6]|7(?:0[0-689]|[1-79])|8[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|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-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "(?: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", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "(?:[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-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|77|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-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])|7302[0-3]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[237-9])\\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[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[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]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\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, t) {
|
826
|
-
if (d === "+") {
|
827
|
-
if (e) {
|
828
|
-
typeof t == "function" && t("end");
|
829
|
-
return;
|
830
|
-
}
|
831
|
-
return "+";
|
832
|
-
}
|
833
|
-
return bd(d);
|
834
|
-
}
|
835
|
-
function _d(d, e) {
|
836
|
-
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
837
|
-
if (t)
|
838
|
-
return (t = t.call(d)).next.bind(t);
|
839
|
-
if (Array.isArray(d) || (t = Cd(d)) || e && d && typeof d.length == "number") {
|
840
|
-
t && (d = t);
|
841
|
-
var r = 0;
|
842
|
-
return function() {
|
843
|
-
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
844
|
-
};
|
845
|
-
}
|
846
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
847
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
848
|
-
}
|
849
|
-
function Cd(d, e) {
|
850
|
-
if (d) {
|
851
|
-
if (typeof d == "string")
|
852
|
-
return Q(d, e);
|
853
|
-
var t = Object.prototype.toString.call(d).slice(8, -1);
|
854
|
-
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
855
|
-
return Array.from(d);
|
856
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
857
|
-
return Q(d, e);
|
858
|
-
}
|
859
|
-
}
|
860
|
-
function Q(d, e) {
|
861
|
-
(e == null || e > d.length) && (e = d.length);
|
862
|
-
for (var t = 0, r = new Array(e); t < e; t++)
|
863
|
-
r[t] = d[t];
|
864
|
-
return r;
|
865
|
-
}
|
866
|
-
function Ed(d, e) {
|
867
|
-
for (var t = d.slice(), r = _d(e), $; !($ = r()).done; ) {
|
868
|
-
var n = $.value;
|
869
|
-
d.indexOf(n) < 0 && t.push(n);
|
870
|
-
}
|
871
|
-
return t.sort(function(i, a) {
|
872
|
-
return i - a;
|
873
|
-
});
|
874
|
-
}
|
875
|
-
function k(d, e) {
|
876
|
-
return N0(d, void 0, e);
|
877
|
-
}
|
878
|
-
function N0(d, e, t) {
|
879
|
-
var r = t.type(e), $ = r && r.possibleLengths() || t.possibleLengths();
|
880
|
-
if (!$)
|
881
|
-
return "IS_POSSIBLE";
|
882
|
-
if (e === "FIXED_LINE_OR_MOBILE") {
|
883
|
-
if (!t.type("FIXED_LINE"))
|
884
|
-
return N0(d, "MOBILE", t);
|
885
|
-
var n = t.type("MOBILE");
|
886
|
-
n && ($ = Ed($, n.possibleLengths()));
|
887
|
-
} else if (e && !r)
|
888
|
-
return "INVALID_LENGTH";
|
889
|
-
var i = d.length, a = $[0];
|
890
|
-
return a === i ? "IS_POSSIBLE" : a > i ? "TOO_SHORT" : $[$.length - 1] < i ? "TOO_LONG" : $.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
891
|
-
}
|
892
|
-
function Id(d, e, t) {
|
893
|
-
if (e === void 0 && (e = {}), t = new l(t), e.v2) {
|
894
|
-
if (!d.countryCallingCode)
|
895
|
-
throw new Error("Invalid phone number object passed");
|
896
|
-
t.selectNumberingPlan(d.countryCallingCode);
|
897
|
-
} else {
|
898
|
-
if (!d.phone)
|
899
|
-
return !1;
|
900
|
-
if (d.country) {
|
901
|
-
if (!t.hasCountry(d.country))
|
902
|
-
throw new Error("Unknown country: ".concat(d.country));
|
903
|
-
t.country(d.country);
|
904
|
-
} else {
|
905
|
-
if (!d.countryCallingCode)
|
906
|
-
throw new Error("Invalid phone number object passed");
|
907
|
-
t.selectNumberingPlan(d.countryCallingCode);
|
908
|
-
}
|
909
|
-
}
|
910
|
-
if (t.possibleLengths())
|
911
|
-
return O0(d.phone || d.nationalNumber, t);
|
912
|
-
if (d.countryCallingCode && t.isNonGeographicCallingCode(d.countryCallingCode))
|
913
|
-
return !0;
|
914
|
-
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
915
|
-
}
|
916
|
-
function O0(d, e) {
|
917
|
-
switch (k(d, e)) {
|
918
|
-
case "IS_POSSIBLE":
|
919
|
-
return !0;
|
920
|
-
default:
|
921
|
-
return !1;
|
922
|
-
}
|
923
|
-
}
|
924
|
-
function y(d, e) {
|
925
|
-
return d = d || "", new RegExp("^(?:" + e + ")$").test(d);
|
926
|
-
}
|
927
|
-
function Fd(d, e) {
|
928
|
-
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
929
|
-
if (t)
|
930
|
-
return (t = t.call(d)).next.bind(t);
|
931
|
-
if (Array.isArray(d) || (t = Sd(d)) || e && d && typeof d.length == "number") {
|
932
|
-
t && (d = t);
|
933
|
-
var r = 0;
|
934
|
-
return function() {
|
935
|
-
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
936
|
-
};
|
937
|
-
}
|
938
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
939
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
940
|
-
}
|
941
|
-
function Sd(d, e) {
|
942
|
-
if (d) {
|
943
|
-
if (typeof d == "string")
|
944
|
-
return q(d, e);
|
945
|
-
var t = Object.prototype.toString.call(d).slice(8, -1);
|
946
|
-
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
947
|
-
return Array.from(d);
|
948
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
949
|
-
return q(d, e);
|
950
|
-
}
|
951
|
-
}
|
952
|
-
function q(d, e) {
|
953
|
-
(e == null || e > d.length) && (e = d.length);
|
954
|
-
for (var t = 0, r = new Array(e); t < e; t++)
|
955
|
-
r[t] = d[t];
|
956
|
-
return r;
|
957
|
-
}
|
958
|
-
var wd = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
959
|
-
function U(d, e, t) {
|
960
|
-
if (e = e || {}, !(!d.country && !d.countryCallingCode)) {
|
961
|
-
t = new l(t), t.selectNumberingPlan(d.country, d.countryCallingCode);
|
962
|
-
var r = e.v2 ? d.nationalNumber : d.phone;
|
963
|
-
if (y(r, t.nationalNumberPattern())) {
|
964
|
-
if (S(r, "FIXED_LINE", t))
|
965
|
-
return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || S(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
966
|
-
for (var $ = Fd(wd), n; !(n = $()).done; ) {
|
967
|
-
var i = n.value;
|
968
|
-
if (S(r, i, t))
|
969
|
-
return i;
|
970
|
-
}
|
971
|
-
}
|
972
|
-
}
|
973
|
-
}
|
974
|
-
function S(d, e, t) {
|
975
|
-
return e = t.type(e), !e || !e.pattern() || e.possibleLengths() && e.possibleLengths().indexOf(d.length) < 0 ? !1 : y(d, e.pattern());
|
976
|
-
}
|
977
|
-
function xd(d, e, t) {
|
978
|
-
if (e = e || {}, t = new l(t), t.selectNumberingPlan(d.country, d.countryCallingCode), t.hasTypes())
|
979
|
-
return U(d, e, t.metadata) !== void 0;
|
980
|
-
var r = e.v2 ? d.nationalNumber : d.phone;
|
981
|
-
return y(r, t.nationalNumberPattern());
|
982
|
-
}
|
983
|
-
function Td(d, e, t) {
|
984
|
-
var r = new l(t), $ = r.getCountryCodesForCallingCode(d);
|
985
|
-
return $ ? $.filter(function(n) {
|
986
|
-
return Ad(e, n, t);
|
987
|
-
}) : [];
|
988
|
-
}
|
989
|
-
function Ad(d, e, t) {
|
990
|
-
var r = new l(t);
|
991
|
-
return r.selectNumberingPlan(e), r.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
|
992
|
-
}
|
993
|
-
function Rd(d) {
|
994
|
-
return d.replace(new RegExp("[".concat(C, "]+"), "g"), " ").trim();
|
995
|
-
}
|
996
|
-
var Ld = /(\$\d)/;
|
997
|
-
function Dd(d, e, t) {
|
998
|
-
var r = t.useInternationalFormat, $ = t.withNationalPrefix;
|
999
|
-
t.carrierCode, t.metadata;
|
1000
|
-
var n = d.replace(new RegExp(e.pattern()), r ? e.internationalFormat() : (
|
1001
|
-
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
1002
|
-
// because that one is only used when formatting phone numbers
|
1003
|
-
// for dialing from a mobile phone, and this is not a dialing library.
|
1004
|
-
// carrierCode && format.domesticCarrierCodeFormattingRule()
|
1005
|
-
// // First, replace the $CC in the formatting rule with the desired carrier code.
|
1006
|
-
// // Then, replace the $FG in the formatting rule with the first group
|
1007
|
-
// // and the carrier code combined in the appropriate way.
|
1008
|
-
// ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
|
1009
|
-
// : (
|
1010
|
-
// withNationalPrefix && format.nationalPrefixFormattingRule()
|
1011
|
-
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
1012
|
-
// : format.format()
|
1013
|
-
// )
|
1014
|
-
$ && e.nationalPrefixFormattingRule() ? e.format().replace(Ld, e.nationalPrefixFormattingRule()) : e.format()
|
1015
|
-
));
|
1016
|
-
return r ? Rd(n) : n;
|
1017
|
-
}
|
1018
|
-
var Md = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
1019
|
-
function Gd(d, e, t) {
|
1020
|
-
var r = new l(t);
|
1021
|
-
if (r.selectNumberingPlan(d, e), r.defaultIDDPrefix())
|
1022
|
-
return r.defaultIDDPrefix();
|
1023
|
-
if (Md.test(r.IDDPrefix()))
|
1024
|
-
return r.IDDPrefix();
|
1025
|
-
}
|
1026
|
-
function Bd(d) {
|
1027
|
-
var e = d.number, t = d.ext;
|
1028
|
-
if (!e)
|
1029
|
-
return "";
|
1030
|
-
if (e[0] !== "+")
|
1031
|
-
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
1032
|
-
return "tel:".concat(e).concat(t ? ";ext=" + t : "");
|
1033
|
-
}
|
1034
|
-
function kd(d, e) {
|
1035
|
-
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1036
|
-
if (t)
|
1037
|
-
return (t = t.call(d)).next.bind(t);
|
1038
|
-
if (Array.isArray(d) || (t = Ud(d)) || e && d && typeof d.length == "number") {
|
1039
|
-
t && (d = t);
|
1040
|
-
var r = 0;
|
1041
|
-
return function() {
|
1042
|
-
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
1043
|
-
};
|
1044
|
-
}
|
1045
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
1046
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1047
|
-
}
|
1048
|
-
function Ud(d, e) {
|
1049
|
-
if (d) {
|
1050
|
-
if (typeof d == "string")
|
1051
|
-
return d0(d, e);
|
1052
|
-
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1053
|
-
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
1054
|
-
return Array.from(d);
|
1055
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1056
|
-
return d0(d, e);
|
1057
|
-
}
|
1058
|
-
}
|
1059
|
-
function d0(d, e) {
|
1060
|
-
(e == null || e > d.length) && (e = d.length);
|
1061
|
-
for (var t = 0, r = new Array(e); t < e; t++)
|
1062
|
-
r[t] = d[t];
|
1063
|
-
return r;
|
1064
|
-
}
|
1065
|
-
function e0(d, e) {
|
1066
|
-
var t = Object.keys(d);
|
1067
|
-
if (Object.getOwnPropertySymbols) {
|
1068
|
-
var r = Object.getOwnPropertySymbols(d);
|
1069
|
-
e && (r = r.filter(function($) {
|
1070
|
-
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1071
|
-
})), t.push.apply(t, r);
|
1072
|
-
}
|
1073
|
-
return t;
|
1074
|
-
}
|
1075
|
-
function t0(d) {
|
1076
|
-
for (var e = 1; e < arguments.length; e++) {
|
1077
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
1078
|
-
e % 2 ? e0(Object(t), !0).forEach(function(r) {
|
1079
|
-
jd(d, r, t[r]);
|
1080
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : e0(Object(t)).forEach(function(r) {
|
1081
|
-
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1082
|
-
});
|
1083
|
-
}
|
1084
|
-
return d;
|
1085
|
-
}
|
1086
|
-
function jd(d, e, t) {
|
1087
|
-
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1088
|
-
}
|
1089
|
-
var r0 = {
|
1090
|
-
formatExtension: function(e, t, r) {
|
1091
|
-
return "".concat(e).concat(r.ext()).concat(t);
|
1092
|
-
}
|
1093
|
-
};
|
1094
|
-
function Hd(d, e, t, r) {
|
1095
|
-
if (t ? t = t0(t0({}, r0), t) : t = r0, r = new l(r), d.country && d.country !== "001") {
|
1096
|
-
if (!r.hasCountry(d.country))
|
1097
|
-
throw new Error("Unknown country: ".concat(d.country));
|
1098
|
-
r.country(d.country);
|
1099
|
-
} else if (d.countryCallingCode)
|
1100
|
-
r.selectNumberingPlan(d.countryCallingCode);
|
1101
|
-
else
|
1102
|
-
return d.phone || "";
|
1103
|
-
var $ = r.countryCallingCode(), n = t.v2 ? d.nationalNumber : d.phone, i;
|
1104
|
-
switch (e) {
|
1105
|
-
case "NATIONAL":
|
1106
|
-
return n ? (i = E(n, d.carrierCode, "NATIONAL", r, t), w(i, d.ext, r, t.formatExtension)) : "";
|
1107
|
-
case "INTERNATIONAL":
|
1108
|
-
return n ? (i = E(n, null, "INTERNATIONAL", r, t), i = "+".concat($, " ").concat(i), w(i, d.ext, r, t.formatExtension)) : "+".concat($);
|
1109
|
-
case "E.164":
|
1110
|
-
return "+".concat($).concat(n);
|
1111
|
-
case "RFC3966":
|
1112
|
-
return Bd({
|
1113
|
-
number: "+".concat($).concat(n),
|
1114
|
-
ext: d.ext
|
1115
|
-
});
|
1116
|
-
case "IDD":
|
1117
|
-
if (!t.fromCountry)
|
1118
|
-
return;
|
1119
|
-
var a = Kd(n, d.carrierCode, $, t.fromCountry, r);
|
1120
|
-
return w(a, d.ext, r, t.formatExtension);
|
1121
|
-
default:
|
1122
|
-
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e, '"'));
|
1123
|
-
}
|
1124
|
-
}
|
1125
|
-
function E(d, e, t, r, $) {
|
1126
|
-
var n = Vd(r.formats(), d);
|
1127
|
-
return n ? Dd(d, n, {
|
1128
|
-
useInternationalFormat: t === "INTERNATIONAL",
|
1129
|
-
withNationalPrefix: !(n.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && $ && $.nationalPrefix === !1),
|
1130
|
-
carrierCode: e,
|
1131
|
-
metadata: r
|
1132
|
-
}) : d;
|
1133
|
-
}
|
1134
|
-
function Vd(d, e) {
|
1135
|
-
for (var t = kd(d), r; !(r = t()).done; ) {
|
1136
|
-
var $ = r.value;
|
1137
|
-
if ($.leadingDigitsPatterns().length > 0) {
|
1138
|
-
var n = $.leadingDigitsPatterns()[$.leadingDigitsPatterns().length - 1];
|
1139
|
-
if (e.search(n) !== 0)
|
1140
|
-
continue;
|
1141
|
-
}
|
1142
|
-
if (y(e, $.pattern()))
|
1143
|
-
return $;
|
1144
|
-
}
|
1145
|
-
}
|
1146
|
-
function w(d, e, t, r) {
|
1147
|
-
return e ? r(d, e, t) : d;
|
1148
|
-
}
|
1149
|
-
function Kd(d, e, t, r, $) {
|
1150
|
-
var n = B(r, $.metadata);
|
1151
|
-
if (n === t) {
|
1152
|
-
var i = E(d, e, "NATIONAL", $);
|
1153
|
-
return t === "1" ? t + " " + i : i;
|
1154
|
-
}
|
1155
|
-
var a = Gd(r, void 0, $.metadata);
|
1156
|
-
if (a)
|
1157
|
-
return "".concat(a, " ").concat(t, " ").concat(E(d, null, "INTERNATIONAL", $));
|
1158
|
-
}
|
1159
|
-
function $0(d, e) {
|
1160
|
-
var t = Object.keys(d);
|
1161
|
-
if (Object.getOwnPropertySymbols) {
|
1162
|
-
var r = Object.getOwnPropertySymbols(d);
|
1163
|
-
e && (r = r.filter(function($) {
|
1164
|
-
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1165
|
-
})), t.push.apply(t, r);
|
1166
|
-
}
|
1167
|
-
return t;
|
1168
|
-
}
|
1169
|
-
function n0(d) {
|
1170
|
-
for (var e = 1; e < arguments.length; e++) {
|
1171
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
1172
|
-
e % 2 ? $0(Object(t), !0).forEach(function(r) {
|
1173
|
-
Wd(d, r, t[r]);
|
1174
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : $0(Object(t)).forEach(function(r) {
|
1175
|
-
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1176
|
-
});
|
1177
|
-
}
|
1178
|
-
return d;
|
1179
|
-
}
|
1180
|
-
function Wd(d, e, t) {
|
1181
|
-
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1182
|
-
}
|
1183
|
-
function Xd(d, e) {
|
1184
|
-
if (!(d instanceof e))
|
1185
|
-
throw new TypeError("Cannot call a class as a function");
|
1186
|
-
}
|
1187
|
-
function i0(d, e) {
|
1188
|
-
for (var t = 0; t < e.length; t++) {
|
1189
|
-
var r = e[t];
|
1190
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, r.key, r);
|
1191
|
-
}
|
1192
|
-
}
|
1193
|
-
function Yd(d, e, t) {
|
1194
|
-
return e && i0(d.prototype, e), t && i0(d, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
|
1195
|
-
}
|
1196
|
-
var Zd = /* @__PURE__ */ function() {
|
1197
|
-
function d(e, t, r) {
|
1198
|
-
if (Xd(this, d), !e)
|
1199
|
-
throw new TypeError("`country` or `countryCallingCode` not passed");
|
1200
|
-
if (!t)
|
1201
|
-
throw new TypeError("`nationalNumber` not passed");
|
1202
|
-
if (!r)
|
1203
|
-
throw new TypeError("`metadata` not passed");
|
1204
|
-
var $ = zd(e, r), n = $.country, i = $.countryCallingCode;
|
1205
|
-
this.country = n, this.countryCallingCode = i, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
1206
|
-
return r;
|
1207
|
-
};
|
1208
|
-
}
|
1209
|
-
return Yd(d, [{
|
1210
|
-
key: "setExt",
|
1211
|
-
value: function(t) {
|
1212
|
-
this.ext = t;
|
1213
|
-
}
|
1214
|
-
}, {
|
1215
|
-
key: "getPossibleCountries",
|
1216
|
-
value: function() {
|
1217
|
-
return this.country ? [this.country] : Td(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
1218
|
-
}
|
1219
|
-
}, {
|
1220
|
-
key: "isPossible",
|
1221
|
-
value: function() {
|
1222
|
-
return Id(this, {
|
1223
|
-
v2: !0
|
1224
|
-
}, this.getMetadata());
|
1225
|
-
}
|
1226
|
-
}, {
|
1227
|
-
key: "isValid",
|
1228
|
-
value: function() {
|
1229
|
-
return xd(this, {
|
1230
|
-
v2: !0
|
1231
|
-
}, this.getMetadata());
|
1232
|
-
}
|
1233
|
-
}, {
|
1234
|
-
key: "isNonGeographic",
|
1235
|
-
value: function() {
|
1236
|
-
var t = new l(this.getMetadata());
|
1237
|
-
return t.isNonGeographicCallingCode(this.countryCallingCode);
|
1238
|
-
}
|
1239
|
-
}, {
|
1240
|
-
key: "isEqual",
|
1241
|
-
value: function(t) {
|
1242
|
-
return this.number === t.number && this.ext === t.ext;
|
1243
|
-
}
|
1244
|
-
// This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
|
1245
|
-
// but later it was found out that it doesn't include the possible `TOO_SHORT` result
|
1246
|
-
// returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
|
1247
|
-
// so eventually I simply commented out this method from the `PhoneNumber` class
|
1248
|
-
// and just left the `validatePhoneNumberLength()` function, even though that one would require
|
1249
|
-
// and additional step to also validate the actual country / calling code of the phone number.
|
1250
|
-
// validateLength() {
|
1251
|
-
// const metadata = new Metadata(this.getMetadata())
|
1252
|
-
// metadata.selectNumberingPlan(this.countryCallingCode)
|
1253
|
-
// const result = checkNumberLength(this.nationalNumber, metadata)
|
1254
|
-
// if (result !== 'IS_POSSIBLE') {
|
1255
|
-
// return result
|
1256
|
-
// }
|
1257
|
-
// }
|
1258
|
-
}, {
|
1259
|
-
key: "getType",
|
1260
|
-
value: function() {
|
1261
|
-
return U(this, {
|
1262
|
-
v2: !0
|
1263
|
-
}, this.getMetadata());
|
1264
|
-
}
|
1265
|
-
}, {
|
1266
|
-
key: "format",
|
1267
|
-
value: function(t, r) {
|
1268
|
-
return Hd(this, t, r ? n0(n0({}, r), {}, {
|
1269
|
-
v2: !0
|
1270
|
-
}) : {
|
1271
|
-
v2: !0
|
1272
|
-
}, this.getMetadata());
|
1273
|
-
}
|
1274
|
-
}, {
|
1275
|
-
key: "formatNational",
|
1276
|
-
value: function(t) {
|
1277
|
-
return this.format("NATIONAL", t);
|
1278
|
-
}
|
1279
|
-
}, {
|
1280
|
-
key: "formatInternational",
|
1281
|
-
value: function(t) {
|
1282
|
-
return this.format("INTERNATIONAL", t);
|
1283
|
-
}
|
1284
|
-
}, {
|
1285
|
-
key: "getURI",
|
1286
|
-
value: function(t) {
|
1287
|
-
return this.format("RFC3966", t);
|
1288
|
-
}
|
1289
|
-
}]), d;
|
1290
|
-
}(), Jd = function(e) {
|
1291
|
-
return /^[A-Z]{2}$/.test(e);
|
1292
|
-
};
|
1293
|
-
function zd(d, e) {
|
1294
|
-
var t, r, $ = new l(e);
|
1295
|
-
return Jd(d) ? (t = d, $.selectNumberingPlan(t), r = $.countryCallingCode()) : r = d, {
|
1296
|
-
country: t,
|
1297
|
-
countryCallingCode: r
|
1298
|
-
};
|
1299
|
-
}
|
1300
|
-
var Qd = new RegExp("([" + f + "])");
|
1301
|
-
function qd(d, e, t, r) {
|
1302
|
-
if (e) {
|
1303
|
-
var $ = new l(r);
|
1304
|
-
$.selectNumberingPlan(e, t);
|
1305
|
-
var n = new RegExp($.IDDPrefix());
|
1306
|
-
if (d.search(n) === 0) {
|
1307
|
-
d = d.slice(d.match(n)[0].length);
|
1308
|
-
var i = d.match(Qd);
|
1309
|
-
if (!(i && i[1] != null && i[1].length > 0 && i[1] === "0"))
|
1310
|
-
return d;
|
1311
|
-
}
|
1312
|
-
}
|
1313
|
-
}
|
1314
|
-
function d1(d, e) {
|
1315
|
-
if (d && e.numberingPlan.nationalPrefixForParsing()) {
|
1316
|
-
var t = new RegExp("^(?:" + e.numberingPlan.nationalPrefixForParsing() + ")"), r = t.exec(d);
|
1317
|
-
if (r) {
|
1318
|
-
var $, n, i = r.length - 1, a = i > 0 && r[i];
|
1319
|
-
if (e.nationalPrefixTransformRule() && a)
|
1320
|
-
$ = d.replace(t, e.nationalPrefixTransformRule()), i > 1 && (n = r[1]);
|
1321
|
-
else {
|
1322
|
-
var o = r[0];
|
1323
|
-
$ = d.slice(o.length), a && (n = r[1]);
|
1324
|
-
}
|
1325
|
-
var u;
|
1326
|
-
if (a) {
|
1327
|
-
var s = d.indexOf(r[1]), g = d.slice(0, s);
|
1328
|
-
g === e.numberingPlan.nationalPrefix() && (u = e.numberingPlan.nationalPrefix());
|
1329
|
-
} else
|
1330
|
-
u = r[0];
|
1331
|
-
return {
|
1332
|
-
nationalNumber: $,
|
1333
|
-
nationalPrefix: u,
|
1334
|
-
carrierCode: n
|
1335
|
-
};
|
1336
|
-
}
|
1337
|
-
}
|
1338
|
-
return {
|
1339
|
-
nationalNumber: d
|
1340
|
-
};
|
1341
|
-
}
|
1342
|
-
function R(d, e) {
|
1343
|
-
var t = d1(d, e), r = t.carrierCode, $ = t.nationalNumber;
|
1344
|
-
if ($ !== d) {
|
1345
|
-
if (!e1(d, $, e))
|
1346
|
-
return {
|
1347
|
-
nationalNumber: d
|
1348
|
-
};
|
1349
|
-
if (e.possibleLengths() && !t1($, e))
|
1350
|
-
return {
|
1351
|
-
nationalNumber: d
|
1352
|
-
};
|
1353
|
-
}
|
1354
|
-
return {
|
1355
|
-
nationalNumber: $,
|
1356
|
-
carrierCode: r
|
1357
|
-
};
|
1358
|
-
}
|
1359
|
-
function e1(d, e, t) {
|
1360
|
-
return !(y(d, t.nationalNumberPattern()) && !y(e, t.nationalNumberPattern()));
|
1361
|
-
}
|
1362
|
-
function t1(d, e) {
|
1363
|
-
switch (k(d, e)) {
|
1364
|
-
case "TOO_SHORT":
|
1365
|
-
case "INVALID_LENGTH":
|
1366
|
-
return !1;
|
1367
|
-
default:
|
1368
|
-
return !0;
|
1369
|
-
}
|
1370
|
-
}
|
1371
|
-
function r1(d, e, t, r) {
|
1372
|
-
var $ = e ? B(e, r) : t;
|
1373
|
-
if (d.indexOf($) === 0) {
|
1374
|
-
r = new l(r), r.selectNumberingPlan(e, t);
|
1375
|
-
var n = d.slice($.length), i = R(n, r), a = i.nationalNumber, o = R(d, r), u = o.nationalNumber;
|
1376
|
-
if (!y(u, r.nationalNumberPattern()) && y(a, r.nationalNumberPattern()) || k(u, r) === "TOO_LONG")
|
1377
|
-
return {
|
1378
|
-
countryCallingCode: $,
|
1379
|
-
number: n
|
1380
|
-
};
|
1381
|
-
}
|
1382
|
-
return {
|
1383
|
-
number: d
|
1384
|
-
};
|
1385
|
-
}
|
1386
|
-
function $1(d, e, t, r) {
|
1387
|
-
if (!d)
|
1388
|
-
return {};
|
1389
|
-
var $;
|
1390
|
-
if (d[0] !== "+") {
|
1391
|
-
var n = qd(d, e, t, r);
|
1392
|
-
if (n && n !== d)
|
1393
|
-
$ = !0, d = "+" + n;
|
1394
|
-
else {
|
1395
|
-
if (e || t) {
|
1396
|
-
var i = r1(d, e, t, r), a = i.countryCallingCode, o = i.number;
|
1397
|
-
if (a)
|
1398
|
-
return {
|
1399
|
-
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
1400
|
-
countryCallingCode: a,
|
1401
|
-
number: o
|
1402
|
-
};
|
1403
|
-
}
|
1404
|
-
return {
|
1405
|
-
// No need to set it to `UNSPECIFIED`. It can be just `undefined`.
|
1406
|
-
// countryCallingCodeSource: 'UNSPECIFIED',
|
1407
|
-
number: d
|
1408
|
-
};
|
1409
|
-
}
|
1410
|
-
}
|
1411
|
-
if (d[1] === "0")
|
1412
|
-
return {};
|
1413
|
-
r = new l(r);
|
1414
|
-
for (var u = 2; u - 1 <= X0 && u <= d.length; ) {
|
1415
|
-
var s = d.slice(1, u);
|
1416
|
-
if (r.hasCallingCode(s))
|
1417
|
-
return r.selectNumberingPlan(s), {
|
1418
|
-
countryCallingCodeSource: $ ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
1419
|
-
countryCallingCode: s,
|
1420
|
-
number: d.slice(u)
|
1421
|
-
};
|
1422
|
-
u++;
|
1423
|
-
}
|
1424
|
-
return {};
|
1425
|
-
}
|
1426
|
-
function n1(d, e) {
|
1427
|
-
var t = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1428
|
-
if (t)
|
1429
|
-
return (t = t.call(d)).next.bind(t);
|
1430
|
-
if (Array.isArray(d) || (t = i1(d)) || e && d && typeof d.length == "number") {
|
1431
|
-
t && (d = t);
|
1432
|
-
var r = 0;
|
1433
|
-
return function() {
|
1434
|
-
return r >= d.length ? { done: !0 } : { done: !1, value: d[r++] };
|
1435
|
-
};
|
1436
|
-
}
|
1437
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
1438
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1439
|
-
}
|
1440
|
-
function i1(d, e) {
|
1441
|
-
if (d) {
|
1442
|
-
if (typeof d == "string")
|
1443
|
-
return a0(d, e);
|
1444
|
-
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1445
|
-
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
1446
|
-
return Array.from(d);
|
1447
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1448
|
-
return a0(d, e);
|
1449
|
-
}
|
1450
|
-
}
|
1451
|
-
function a0(d, e) {
|
1452
|
-
(e == null || e > d.length) && (e = d.length);
|
1453
|
-
for (var t = 0, r = new Array(e); t < e; t++)
|
1454
|
-
r[t] = d[t];
|
1455
|
-
return r;
|
1456
|
-
}
|
1457
|
-
function a1(d, e) {
|
1458
|
-
var t = e.countries, r = e.defaultCountry, $ = e.metadata;
|
1459
|
-
$ = new l($);
|
1460
|
-
for (var n = [], i = n1(t), a; !(a = i()).done; ) {
|
1461
|
-
var o = a.value;
|
1462
|
-
if ($.country(o), $.leadingDigits()) {
|
1463
|
-
if (d && d.search($.leadingDigits()) === 0)
|
1464
|
-
return o;
|
1465
|
-
} else if (U({
|
1466
|
-
phone: d,
|
1467
|
-
country: o
|
1468
|
-
}, void 0, $.metadata))
|
1469
|
-
if (r) {
|
1470
|
-
if (o === r)
|
1471
|
-
return o;
|
1472
|
-
n.push(o);
|
1473
|
-
} else
|
1474
|
-
return o;
|
1475
|
-
}
|
1476
|
-
if (n.length > 0)
|
1477
|
-
return n[0];
|
1478
|
-
}
|
1479
|
-
var o1 = !1;
|
1480
|
-
function u1(d, e) {
|
1481
|
-
var t = e.nationalNumber, r = e.defaultCountry, $ = e.metadata;
|
1482
|
-
if (o1 && $.isNonGeographicCallingCode(d))
|
1483
|
-
return "001";
|
1484
|
-
var n = $.getCountryCodesForCallingCode(d);
|
1485
|
-
if (n)
|
1486
|
-
return n.length === 1 ? n[0] : a1(t, {
|
1487
|
-
countries: n,
|
1488
|
-
defaultCountry: r,
|
1489
|
-
metadata: $.metadata
|
1490
|
-
});
|
1491
|
-
}
|
1492
|
-
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=";
|
1493
|
-
function m1(d) {
|
1494
|
-
var e = d.indexOf(D);
|
1495
|
-
if (e < 0)
|
1496
|
-
return null;
|
1497
|
-
var t = e + D.length;
|
1498
|
-
if (t >= d.length)
|
1499
|
-
return "";
|
1500
|
-
var r = d.indexOf(";", t);
|
1501
|
-
return r >= 0 ? d.substring(t, r) : d.substring(t);
|
1502
|
-
}
|
1503
|
-
function b1(d) {
|
1504
|
-
return d === null ? !0 : d.length === 0 ? !1 : f1.test(d) || p1.test(d);
|
1505
|
-
}
|
1506
|
-
function P1(d, e) {
|
1507
|
-
var t = e.extractFormattedPhoneNumber, r = m1(d);
|
1508
|
-
if (!b1(r))
|
1509
|
-
throw new h("NOT_A_NUMBER");
|
1510
|
-
var $;
|
1511
|
-
if (r === null)
|
1512
|
-
$ = t(d) || "";
|
1513
|
-
else {
|
1514
|
-
$ = "", r.charAt(0) === _0 && ($ += r);
|
1515
|
-
var n = d.indexOf(u0), i;
|
1516
|
-
n >= 0 ? i = n + u0.length : i = 0;
|
1517
|
-
var a = d.indexOf(D);
|
1518
|
-
$ += d.substring(i, a);
|
1519
|
-
}
|
1520
|
-
var o = $.indexOf(v1);
|
1521
|
-
if (o > 0 && ($ = $.substring(0, o)), $ !== "")
|
1522
|
-
return $;
|
1523
|
-
}
|
1524
|
-
var N1 = 250, O1 = new RegExp("[" + G + f + "]"), _1 = new RegExp("[^" + f + "#]+$");
|
1525
|
-
function C1(d, e, t) {
|
1526
|
-
if (e = e || {}, t = new l(t), e.defaultCountry && !t.hasCountry(e.defaultCountry))
|
1527
|
-
throw e.v2 ? new h("INVALID_COUNTRY") : new Error("Unknown country: ".concat(e.defaultCountry));
|
1528
|
-
var r = I1(d, e.v2, e.extract), $ = r.number, n = r.ext, i = r.error;
|
1529
|
-
if (!$) {
|
1530
|
-
if (e.v2)
|
1531
|
-
throw i === "TOO_SHORT" ? new h("TOO_SHORT") : new h("NOT_A_NUMBER");
|
1532
|
-
return {};
|
1533
|
-
}
|
1534
|
-
var a = S1($, e.defaultCountry, e.defaultCallingCode, t), o = a.country, u = a.nationalNumber, s = a.countryCallingCode, g = a.countryCallingCodeSource, c = a.carrierCode;
|
1535
|
-
if (!t.hasSelectedNumberingPlan()) {
|
1536
|
-
if (e.v2)
|
1537
|
-
throw new h("INVALID_COUNTRY");
|
1538
|
-
return {};
|
1539
|
-
}
|
1540
|
-
if (!u || u.length < M) {
|
1541
|
-
if (e.v2)
|
1542
|
-
throw new h("TOO_SHORT");
|
1543
|
-
return {};
|
1544
|
-
}
|
1545
|
-
if (u.length > W0) {
|
1546
|
-
if (e.v2)
|
1547
|
-
throw new h("TOO_LONG");
|
1548
|
-
return {};
|
1549
|
-
}
|
1550
|
-
if (e.v2) {
|
1551
|
-
var p = new Zd(s, u, t.metadata);
|
1552
|
-
return o && (p.country = o), c && (p.carrierCode = c), n && (p.ext = n), p.__countryCallingCodeSource = g, p;
|
1553
|
-
}
|
1554
|
-
var m = (e.extended ? t.hasSelectedNumberingPlan() : o) ? y(u, t.nationalNumberPattern()) : !1;
|
1555
|
-
return e.extended ? {
|
1556
|
-
country: o,
|
1557
|
-
countryCallingCode: s,
|
1558
|
-
carrierCode: c,
|
1559
|
-
valid: m,
|
1560
|
-
possible: m ? !0 : !!(e.extended === !0 && t.possibleLengths() && O0(u, t)),
|
1561
|
-
phone: u,
|
1562
|
-
ext: n
|
1563
|
-
} : m ? F1(o, u, n) : {};
|
1564
|
-
}
|
1565
|
-
function E1(d, e, t) {
|
1566
|
-
if (d) {
|
1567
|
-
if (d.length > N1) {
|
1568
|
-
if (t)
|
1569
|
-
throw new h("TOO_LONG");
|
1570
|
-
return;
|
1571
|
-
}
|
1572
|
-
if (e === !1)
|
1573
|
-
return d;
|
1574
|
-
var r = d.search(O1);
|
1575
|
-
if (!(r < 0))
|
1576
|
-
return d.slice(r).replace(_1, "");
|
1577
|
-
}
|
1578
|
-
}
|
1579
|
-
function I1(d, e, t) {
|
1580
|
-
var r = P1(d, {
|
1581
|
-
extractFormattedPhoneNumber: function(i) {
|
1582
|
-
return E1(i, t, e);
|
1583
|
-
}
|
1584
|
-
});
|
1585
|
-
if (!r)
|
1586
|
-
return {};
|
1587
|
-
if (!gd(r))
|
1588
|
-
return pd(r) ? {
|
1589
|
-
error: "TOO_SHORT"
|
1590
|
-
} : {};
|
1591
|
-
var $ = vd(r);
|
1592
|
-
return $.ext ? $ : {
|
1593
|
-
number: r
|
1594
|
-
};
|
1595
|
-
}
|
1596
|
-
function F1(d, e, t) {
|
1597
|
-
var r = {
|
1598
|
-
country: d,
|
1599
|
-
phone: e
|
1600
|
-
};
|
1601
|
-
return t && (r.ext = t), r;
|
1602
|
-
}
|
1603
|
-
function S1(d, e, t, r) {
|
1604
|
-
var $ = $1(z(d), e, t, r.metadata), n = $.countryCallingCodeSource, i = $.countryCallingCode, a = $.number, o;
|
1605
|
-
if (i)
|
1606
|
-
r.selectNumberingPlan(i);
|
1607
|
-
else if (a && (e || t))
|
1608
|
-
r.selectNumberingPlan(e, t), e && (o = e), i = t || B(e, r.metadata);
|
1609
|
-
else
|
1610
|
-
return {};
|
1611
|
-
if (!a)
|
1612
|
-
return {
|
1613
|
-
countryCallingCodeSource: n,
|
1614
|
-
countryCallingCode: i
|
1615
|
-
};
|
1616
|
-
var u = R(z(a), r), s = u.nationalNumber, g = u.carrierCode, c = u1(i, {
|
1617
|
-
nationalNumber: s,
|
1618
|
-
defaultCountry: e,
|
1619
|
-
metadata: r
|
1620
|
-
});
|
1621
|
-
return c && (o = c, c === "001" || r.country(o)), {
|
1622
|
-
country: o,
|
1623
|
-
countryCallingCode: i,
|
1624
|
-
countryCallingCodeSource: n,
|
1625
|
-
nationalNumber: s,
|
1626
|
-
carrierCode: g
|
1627
|
-
};
|
1628
|
-
}
|
1629
|
-
function l0(d, e) {
|
1630
|
-
var t = Object.keys(d);
|
1631
|
-
if (Object.getOwnPropertySymbols) {
|
1632
|
-
var r = Object.getOwnPropertySymbols(d);
|
1633
|
-
e && (r = r.filter(function($) {
|
1634
|
-
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1635
|
-
})), t.push.apply(t, r);
|
1636
|
-
}
|
1637
|
-
return t;
|
1638
|
-
}
|
1639
|
-
function s0(d) {
|
1640
|
-
for (var e = 1; e < arguments.length; e++) {
|
1641
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
1642
|
-
e % 2 ? l0(Object(t), !0).forEach(function(r) {
|
1643
|
-
w1(d, r, t[r]);
|
1644
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : l0(Object(t)).forEach(function(r) {
|
1645
|
-
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1646
|
-
});
|
1647
|
-
}
|
1648
|
-
return d;
|
1649
|
-
}
|
1650
|
-
function w1(d, e, t) {
|
1651
|
-
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1652
|
-
}
|
1653
|
-
function x1(d, e, t) {
|
1654
|
-
return C1(d, s0(s0({}, e), {}, {
|
1655
|
-
v2: !0
|
1656
|
-
}), t);
|
1657
|
-
}
|
1658
|
-
function f0(d, e) {
|
1659
|
-
var t = Object.keys(d);
|
1660
|
-
if (Object.getOwnPropertySymbols) {
|
1661
|
-
var r = Object.getOwnPropertySymbols(d);
|
1662
|
-
e && (r = r.filter(function($) {
|
1663
|
-
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1664
|
-
})), t.push.apply(t, r);
|
1665
|
-
}
|
1666
|
-
return t;
|
1667
|
-
}
|
1668
|
-
function T1(d) {
|
1669
|
-
for (var e = 1; e < arguments.length; e++) {
|
1670
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
1671
|
-
e % 2 ? f0(Object(t), !0).forEach(function(r) {
|
1672
|
-
A1(d, r, t[r]);
|
1673
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : f0(Object(t)).forEach(function(r) {
|
1674
|
-
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1675
|
-
});
|
1676
|
-
}
|
1677
|
-
return d;
|
1678
|
-
}
|
1679
|
-
function A1(d, e, t) {
|
1680
|
-
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1681
|
-
}
|
1682
|
-
function R1(d, e) {
|
1683
|
-
return G1(d) || M1(d, e) || D1(d, e) || L1();
|
1684
|
-
}
|
1685
|
-
function L1() {
|
1686
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
1687
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
1688
|
-
}
|
1689
|
-
function D1(d, e) {
|
1690
|
-
if (d) {
|
1691
|
-
if (typeof d == "string")
|
1692
|
-
return c0(d, e);
|
1693
|
-
var t = Object.prototype.toString.call(d).slice(8, -1);
|
1694
|
-
if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set")
|
1695
|
-
return Array.from(d);
|
1696
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
|
1697
|
-
return c0(d, e);
|
1698
|
-
}
|
1699
|
-
}
|
1700
|
-
function c0(d, e) {
|
1701
|
-
(e == null || e > d.length) && (e = d.length);
|
1702
|
-
for (var t = 0, r = new Array(e); t < e; t++)
|
1703
|
-
r[t] = d[t];
|
1704
|
-
return r;
|
1705
|
-
}
|
1706
|
-
function M1(d, e) {
|
1707
|
-
var t = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
|
1708
|
-
if (t != null) {
|
1709
|
-
var r = [], $ = !0, n = !1, i, a;
|
1710
|
-
try {
|
1711
|
-
for (t = t.call(d); !($ = (i = t.next()).done) && (r.push(i.value), !(e && r.length === e)); $ = !0)
|
1712
|
-
;
|
1713
|
-
} catch (o) {
|
1714
|
-
n = !0, a = o;
|
1715
|
-
} finally {
|
1716
|
-
try {
|
1717
|
-
!$ && t.return != null && t.return();
|
1718
|
-
} finally {
|
1719
|
-
if (n)
|
1720
|
-
throw a;
|
1721
|
-
}
|
1722
|
-
}
|
1723
|
-
return r;
|
1724
|
-
}
|
1725
|
-
}
|
1726
|
-
function G1(d) {
|
1727
|
-
if (Array.isArray(d))
|
1728
|
-
return d;
|
1729
|
-
}
|
1730
|
-
function B1(d) {
|
1731
|
-
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;
|
1732
|
-
if (typeof r == "string")
|
1733
|
-
a = r;
|
1734
|
-
else
|
1735
|
-
throw new TypeError("A text for parsing must be a string.");
|
1736
|
-
if (!$ || typeof $ == "string")
|
1737
|
-
i ? (o = n, u = i) : (o = void 0, u = n), $ && (o = T1({
|
1738
|
-
defaultCountry: $
|
1739
|
-
}, o));
|
1740
|
-
else if (_($))
|
1741
|
-
n ? (o = $, u = n) : u = $;
|
1742
|
-
else
|
1743
|
-
throw new Error("Invalid second argument: ".concat($));
|
1744
|
-
return {
|
1745
|
-
text: a,
|
1746
|
-
options: o,
|
1747
|
-
metadata: u
|
1748
|
-
};
|
1749
|
-
}
|
1750
|
-
function h0(d, e) {
|
1751
|
-
var t = Object.keys(d);
|
1752
|
-
if (Object.getOwnPropertySymbols) {
|
1753
|
-
var r = Object.getOwnPropertySymbols(d);
|
1754
|
-
e && (r = r.filter(function($) {
|
1755
|
-
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1756
|
-
})), t.push.apply(t, r);
|
1757
|
-
}
|
1758
|
-
return t;
|
1759
|
-
}
|
1760
|
-
function y0(d) {
|
1761
|
-
for (var e = 1; e < arguments.length; e++) {
|
1762
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
1763
|
-
e % 2 ? h0(Object(t), !0).forEach(function(r) {
|
1764
|
-
k1(d, r, t[r]);
|
1765
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : h0(Object(t)).forEach(function(r) {
|
1766
|
-
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1767
|
-
});
|
1768
|
-
}
|
1769
|
-
return d;
|
1770
|
-
}
|
1771
|
-
function k1(d, e, t) {
|
1772
|
-
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1773
|
-
}
|
1774
|
-
function U1(d, e, t) {
|
1775
|
-
e && e.defaultCountry && !ud(e.defaultCountry, t) && (e = y0(y0({}, e), {}, {
|
1776
|
-
defaultCountry: void 0
|
1777
|
-
}));
|
1778
|
-
try {
|
1779
|
-
return x1(d, e, t);
|
1780
|
-
} catch (r) {
|
1781
|
-
if (!(r instanceof h))
|
1782
|
-
throw r;
|
1783
|
-
}
|
1784
|
-
}
|
1785
|
-
function g0(d, e) {
|
1786
|
-
var t = Object.keys(d);
|
1787
|
-
if (Object.getOwnPropertySymbols) {
|
1788
|
-
var r = Object.getOwnPropertySymbols(d);
|
1789
|
-
e && (r = r.filter(function($) {
|
1790
|
-
return Object.getOwnPropertyDescriptor(d, $).enumerable;
|
1791
|
-
})), t.push.apply(t, r);
|
1792
|
-
}
|
1793
|
-
return t;
|
1794
|
-
}
|
1795
|
-
function p0(d) {
|
1796
|
-
for (var e = 1; e < arguments.length; e++) {
|
1797
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
1798
|
-
e % 2 ? g0(Object(t), !0).forEach(function(r) {
|
1799
|
-
j1(d, r, t[r]);
|
1800
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : g0(Object(t)).forEach(function(r) {
|
1801
|
-
Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
|
1802
|
-
});
|
1803
|
-
}
|
1804
|
-
return d;
|
1805
|
-
}
|
1806
|
-
function j1(d, e, t) {
|
1807
|
-
return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
|
1808
|
-
}
|
1809
|
-
function H1() {
|
1810
|
-
var d = B1(arguments), e = d.text, t = d.options, r = d.metadata;
|
1811
|
-
t = p0(p0({}, t), {}, {
|
1812
|
-
extract: !1
|
1813
|
-
});
|
1814
|
-
var $ = U1(e, t, r);
|
1815
|
-
return $ && $.isValid() || !1;
|
1816
|
-
}
|
1817
|
-
function V1() {
|
1818
|
-
return B0(H1, arguments);
|
1819
|
-
}
|
1820
|
-
const K1 = R0.extend({
|
1821
|
-
name: "BPhoneInput",
|
1822
|
-
mixins: [x0("components/ui/BPhoneInput")],
|
1823
|
-
props: {
|
1824
|
-
phoneNumber: {
|
1825
|
-
type: String,
|
1826
|
-
default: ""
|
1827
|
-
},
|
1828
|
-
phoneCountry: {
|
1829
|
-
type: String,
|
1830
|
-
default: "FR"
|
1831
|
-
},
|
1832
|
-
readonly: {
|
1833
|
-
type: Boolean,
|
1834
|
-
default: !1
|
1835
|
-
}
|
1836
|
-
},
|
1837
|
-
data() {
|
1838
|
-
return {
|
1839
|
-
phoneNumberData: this.phoneNumber || "",
|
1840
|
-
phoneCountryData: this.phoneCountry || "",
|
1841
|
-
readonlyData: this.readonly || !1,
|
1842
|
-
rules: []
|
1843
|
-
};
|
1844
|
-
},
|
1845
|
-
computed: {
|
1846
|
-
countryList() {
|
1847
|
-
return Object.values(j).sort(
|
1848
|
-
(d, e) => d.name.localeCompare(e.name)
|
1849
|
-
);
|
1850
|
-
},
|
1851
|
-
phonePrefix() {
|
1852
|
-
return this.phoneCountryData ? `+${j[this.phoneCountryData].dialCode}` : "";
|
1853
|
-
}
|
1854
|
-
},
|
1855
|
-
watch: {
|
1856
|
-
phoneCountryData() {
|
1857
|
-
if (this.phoneCountryData) {
|
1858
|
-
const d = this.$refs["phone-number"];
|
1859
|
-
d.hasFocused = !0, d.validate(), this.isPhoneValid();
|
1860
|
-
}
|
1861
|
-
this.emitValue();
|
1862
|
-
},
|
1863
|
-
phoneNumberData: {
|
1864
|
-
immediate: !0,
|
1865
|
-
handler() {
|
1866
|
-
this.isPhoneValid(), this.emitValue();
|
1867
|
-
}
|
1868
|
-
}
|
1869
|
-
},
|
1870
|
-
methods: {
|
1871
|
-
isPhoneValid() {
|
1872
|
-
this.rules = [
|
1873
|
-
(d) => L0.required(d) || this.$t("BPhoneInput.rules.required"),
|
1874
|
-
(d) => V1(
|
1875
|
-
this.phonePrefix + d,
|
1876
|
-
this.phoneCountryData
|
1877
|
-
) || this.$t("BPhoneInput.rules.format")
|
1878
|
-
];
|
1879
|
-
},
|
1880
|
-
emitValue() {
|
1881
|
-
const d = {
|
1882
|
-
phoneNumber: this.phoneNumberData,
|
1883
|
-
phoneCountry: this.phoneCountryData,
|
1884
|
-
phonePrefix: this.phonePrefix
|
1885
|
-
};
|
1886
|
-
this.$emit("input", d);
|
1887
|
-
},
|
1888
|
-
readOnlyProps() {
|
1889
|
-
return {
|
1890
|
-
appendOuterIcon: this.readonlyData ? "fa-edit" : void 0,
|
1891
|
-
class: { "v-input--is-disabled": this.readonlyData },
|
1892
|
-
clearable: !this.readonlyData,
|
1893
|
-
readonly: this.readonlyData
|
1894
|
-
};
|
1895
|
-
},
|
1896
|
-
edit() {
|
1897
|
-
this.readonlyData && (this.readonlyData = !1);
|
1898
|
-
}
|
1899
|
-
}
|
1900
|
-
});
|
1901
|
-
var W1 = function() {
|
1902
|
-
var e = this, t = e._self._c;
|
1903
|
-
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 }) {
|
1904
|
-
return [t("img", { staticClass: "mr-2", attrs: { alt: r.iso2, src: r.icon, width: "20" } })];
|
1905
|
-
} }, { key: "item", fn: function({ item: r }) {
|
1906
|
-
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))])];
|
1907
|
-
} }]), model: { value: e.phoneCountryData, callback: function(r) {
|
1908
|
-
e.phoneCountryData = r;
|
1909
|
-
}, 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) {
|
1910
|
-
return e.edit("phoneNumber");
|
1911
|
-
} }, scopedSlots: e._u([{ key: "message", fn: function({ message: r }) {
|
1912
|
-
return [e._v(" " + e._s(e.$t(r)) + " ")];
|
1913
|
-
} }]), model: { value: e.phoneNumberData, callback: function(r) {
|
1914
|
-
e.phoneNumberData = r;
|
1915
|
-
}, expression: "phoneNumberData" } }, "v-text-field", e.readOnlyProps("readOnly"), !1))], 1)]);
|
1916
|
-
}, X1 = [], Y1 = /* @__PURE__ */ T0(
|
1917
|
-
K1,
|
1918
|
-
W1,
|
1919
|
-
X1,
|
1920
|
-
!1,
|
1921
|
-
null,
|
1922
|
-
"4cb2c404",
|
1923
|
-
null,
|
1924
|
-
null
|
1925
|
-
);
|
1926
|
-
const d2 = Y1.exports;
|
1927
|
-
S0("css/revolugo.bphoneinput.Kq_-XiGI.css");
|
1928
|
-
export {
|
1929
|
-
d2 as B,
|
1930
|
-
q1 as _,
|
1931
|
-
B1 as n,
|
1932
|
-
x1 as p,
|
1933
|
-
B0 as w
|
1934
|
-
};
|
1935
|
-
//# sourceMappingURL=revolugo.bphoneinput.Qc_UlGIL.min.js.map
|