@one-payments/web-components 1.7.2 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +456 -441
- package/dist/one-payment.d.ts +14 -20
- package/dist/one-payment.d.ts.map +1 -1
- package/dist/one-payment.js +74 -40
- package/dist/one-payment.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ const In = (e) => new Ur(typeof e == "string" ? e : e + "", void 0, Ie), Tn = (e
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: Fn, defineProperty:
|
|
48
|
+
const { is: Fn, defineProperty: On, getOwnPropertyDescriptor: Dn, getOwnPropertyNames: Rn, getOwnPropertySymbols: Ln, getPrototypeOf: Bn } = Object, q = globalThis, qe = q.trustedTypes, Un = qe ? qe.emptyScript : "", ie = q.reactiveElementPolyfillSupport, ft = (e, t) => e, Ht = { toAttribute(e, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
e = e ? Un : null;
|
|
@@ -73,7 +73,7 @@ const { is: Fn, defineProperty: Dn, getOwnPropertyDescriptor: On, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return r;
|
|
76
|
-
} }, Te = (e, t) => !Fn(e, t), Ke = { attribute: !0, type: String, converter:
|
|
76
|
+
} }, Te = (e, t) => !Fn(e, t), Ke = { attribute: !0, type: String, converter: Ht, reflect: !1, useDefault: !1, hasChanged: Te };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), q.litPropertyMetadata ?? (q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let rt = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
@@ -85,11 +85,11 @@ let rt = class extends HTMLElement {
|
|
|
85
85
|
static createProperty(t, r = Ke) {
|
|
86
86
|
if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(t, r), !r.noAccessor) {
|
|
87
87
|
const n = Symbol(), i = this.getPropertyDescriptor(t, n, r);
|
|
88
|
-
i !== void 0 &&
|
|
88
|
+
i !== void 0 && On(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(t, r, n) {
|
|
92
|
-
const { get: i, set: a } =
|
|
92
|
+
const { get: i, set: a } = Dn(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[r];
|
|
94
94
|
}, set(o) {
|
|
95
95
|
this[r] = o;
|
|
@@ -103,13 +103,13 @@ let rt = class extends HTMLElement {
|
|
|
103
103
|
return this.elementProperties.get(t) ?? Ke;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
106
|
+
if (this.hasOwnProperty(ft("elementProperties"))) return;
|
|
107
107
|
const t = Bn(this);
|
|
108
108
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
|
-
if (this.hasOwnProperty(
|
|
112
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
111
|
+
if (this.hasOwnProperty(ft("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ft("properties"))) {
|
|
113
113
|
const r = this.properties, n = [...Rn(r), ...Ln(r)];
|
|
114
114
|
for (const i of n) this.createProperty(i, r[i]);
|
|
115
115
|
}
|
|
@@ -184,7 +184,7 @@ let rt = class extends HTMLElement {
|
|
|
184
184
|
var a;
|
|
185
185
|
const n = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, n);
|
|
186
186
|
if (i !== void 0 && n.reflect === !0) {
|
|
187
|
-
const o = (((a = n.converter) == null ? void 0 : a.toAttribute) !== void 0 ? n.converter :
|
|
187
|
+
const o = (((a = n.converter) == null ? void 0 : a.toAttribute) !== void 0 ? n.converter : Ht).toAttribute(r, n.type);
|
|
188
188
|
this._$Em = t, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ let rt = class extends HTMLElement {
|
|
|
192
192
|
var a, o;
|
|
193
193
|
const n = this.constructor, i = n._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const s = n.getPropertyOptions(i), d = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((a = s.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? s.converter :
|
|
195
|
+
const s = n.getPropertyOptions(i), d = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((a = s.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? s.converter : Ht;
|
|
196
196
|
this._$Em = i;
|
|
197
197
|
const l = d.fromAttribute(r, s.type);
|
|
198
198
|
this[i] = l ?? ((o = this._$Ej) == null ? void 0 : o.get(i)) ?? l, this._$Em = null;
|
|
@@ -278,13 +278,13 @@ let rt = class extends HTMLElement {
|
|
|
278
278
|
firstUpdated(t) {
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
rt.elementStyles = [], rt.shadowRootOptions = { mode: "open" }, rt[
|
|
281
|
+
rt.elementStyles = [], rt.shadowRootOptions = { mode: "open" }, rt[ft("elementProperties")] = /* @__PURE__ */ new Map(), rt[ft("finalized")] = /* @__PURE__ */ new Map(), ie == null || ie({ ReactiveElement: rt }), (q.reactiveElementVersions ?? (q.reactiveElementVersions = [])).push("2.1.2");
|
|
282
282
|
/**
|
|
283
283
|
* @license
|
|
284
284
|
* Copyright 2017 Google LLC
|
|
285
285
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
286
286
|
*/
|
|
287
|
-
const
|
|
287
|
+
const pt = globalThis, We = (e) => e, jt = pt.trustedTypes, Qe = jt ? jt.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Hr = "$lit$", V = `lit$${Math.random().toFixed(9).slice(2)}$`, jr = "?" + V, Hn = `<${jr}>`, tt = document, gt = () => tt.createComment(""), yt = (e) => e === null || typeof e != "object" && typeof e != "function", Me = Array.isArray, jn = (e) => Me(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ae = `[
|
|
288
288
|
\f\r]`, ht = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Je = /-->/g, Xe = />/g, W = RegExp(`>|${ae}(?:([^\\s"'>=/]+)(${ae}*=${ae}*(?:[^
|
|
289
289
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ze = /'/g, tr = /"/g, Gr = /^(?:script|style|textarea|title)$/i, Gn = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), g = Gn(1), it = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), er = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
|
|
290
290
|
function Yr(e, t) {
|
|
@@ -298,8 +298,8 @@ const Yn = (e, t) => {
|
|
|
298
298
|
const d = e[s];
|
|
299
299
|
let l, c, h = -1, u = 0;
|
|
300
300
|
for (; u < d.length && (o.lastIndex = u, c = o.exec(d), c !== null); ) u = o.lastIndex, o === ht ? c[1] === "!--" ? o = Je : c[1] !== void 0 ? o = Xe : c[2] !== void 0 ? (Gr.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = W) : c[3] !== void 0 && (o = W) : o === W ? c[0] === ">" ? (o = i ?? ht, h = -1) : c[1] === void 0 ? h = -2 : (h = o.lastIndex - c[2].length, l = c[1], o = c[3] === void 0 ? W : c[3] === '"' ? tr : Ze) : o === tr || o === Ze ? o = W : o === Je || o === Xe ? o = ht : (o = W, i = void 0);
|
|
301
|
-
const
|
|
302
|
-
a += o === ht ? d +
|
|
301
|
+
const m = o === W && e[s + 1].startsWith("/>") ? " " : "";
|
|
302
|
+
a += o === ht ? d + Hn : h >= 0 ? (n.push(l), d.slice(0, h) + Hr + d.slice(h) + V + m) : d + V + (h === -2 ? s : m);
|
|
303
303
|
}
|
|
304
304
|
return [Yr(e, a + (e[r] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
305
305
|
};
|
|
@@ -315,19 +315,19 @@ class bt {
|
|
|
315
315
|
}
|
|
316
316
|
for (; (i = Q.nextNode()) !== null && d.length < s; ) {
|
|
317
317
|
if (i.nodeType === 1) {
|
|
318
|
-
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(
|
|
319
|
-
const u = c[o++],
|
|
320
|
-
d.push({ type: 1, index: a, name: p[2], strings:
|
|
318
|
+
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Hr)) {
|
|
319
|
+
const u = c[o++], m = i.getAttribute(h).split(V), p = /([.?@])?(.*)/.exec(u);
|
|
320
|
+
d.push({ type: 1, index: a, name: p[2], strings: m, ctor: p[1] === "." ? zn : p[1] === "?" ? qn : p[1] === "@" ? Kn : Kt }), i.removeAttribute(h);
|
|
321
321
|
} else h.startsWith(V) && (d.push({ type: 6, index: a }), i.removeAttribute(h));
|
|
322
322
|
if (Gr.test(i.tagName)) {
|
|
323
323
|
const h = i.textContent.split(V), u = h.length - 1;
|
|
324
324
|
if (u > 0) {
|
|
325
|
-
i.textContent =
|
|
326
|
-
for (let
|
|
325
|
+
i.textContent = jt ? jt.emptyScript : "";
|
|
326
|
+
for (let m = 0; m < u; m++) i.append(h[m], gt()), Q.nextNode(), d.push({ type: 2, index: ++a });
|
|
327
327
|
i.append(h[u], gt());
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
330
|
+
} else if (i.nodeType === 8) if (i.data === jr) d.push({ type: 2, index: a });
|
|
331
331
|
else {
|
|
332
332
|
let h = -1;
|
|
333
333
|
for (; (h = i.data.indexOf(V, h + 1)) !== -1; ) d.push({ type: 7, index: a }), h += V.length - 1;
|
|
@@ -395,7 +395,7 @@ class Ft {
|
|
|
395
395
|
return this._$AB;
|
|
396
396
|
}
|
|
397
397
|
_$AI(t, r = this) {
|
|
398
|
-
t = at(this, t, r), yt(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== it && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
398
|
+
t = at(this, t, r), yt(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== it && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : jn(t) ? this.k(t) : this._(t);
|
|
399
399
|
}
|
|
400
400
|
O(t) {
|
|
401
401
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -504,8 +504,8 @@ class Wn {
|
|
|
504
504
|
at(this, t);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const oe =
|
|
508
|
-
oe == null || oe(bt, Ft), (
|
|
507
|
+
const oe = pt.litHtmlPolyfillSupport;
|
|
508
|
+
oe == null || oe(bt, Ft), (pt.litHtmlVersions ?? (pt.litHtmlVersions = [])).push("3.3.2");
|
|
509
509
|
const Qn = (e, t, r) => {
|
|
510
510
|
const n = (r == null ? void 0 : r.renderBefore) ?? t;
|
|
511
511
|
let i = n._$litPart$;
|
|
@@ -566,7 +566,7 @@ const Jn = (e) => (t, r) => {
|
|
|
566
566
|
* Copyright 2017 Google LLC
|
|
567
567
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
568
568
|
*/
|
|
569
|
-
const Xn = { attribute: !0, type: String, converter:
|
|
569
|
+
const Xn = { attribute: !0, type: String, converter: Ht, reflect: !1, hasChanged: Te }, Zn = (e = Xn, t, r) => {
|
|
570
570
|
const { kind: n, metadata: i } = r;
|
|
571
571
|
let a = globalThis.litPropertyMetadata.get(i);
|
|
572
572
|
if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), n === "setter" && ((e = Object.create(e)).wrapped = !0), a.set(r.name, e), n === "accessor") {
|
|
@@ -604,7 +604,7 @@ function A(e) {
|
|
|
604
604
|
function ti(e) {
|
|
605
605
|
return e instanceof Error && ("response" in e && typeof e.response == "object" && e.response !== null || "data" in e && typeof e.data == "object" && e.data !== null);
|
|
606
606
|
}
|
|
607
|
-
var
|
|
607
|
+
var f = {
|
|
608
608
|
CARD: "card",
|
|
609
609
|
PAYNOW: "paynow",
|
|
610
610
|
PROMPTPAY: "promptpay",
|
|
@@ -622,7 +622,7 @@ var m = {
|
|
|
622
622
|
PAYEASY: "payeasy",
|
|
623
623
|
GRABPAY_SG: "grabpay_sg",
|
|
624
624
|
FPX: "fpx"
|
|
625
|
-
},
|
|
625
|
+
}, O = {
|
|
626
626
|
IDLE: "idle",
|
|
627
627
|
INITIALIZING: "initializing",
|
|
628
628
|
READY: "ready",
|
|
@@ -769,7 +769,7 @@ function ni(e) {
|
|
|
769
769
|
var ii = class {
|
|
770
770
|
// Flag to ignore qrCode after user scans it
|
|
771
771
|
constructor(e, t) {
|
|
772
|
-
this.state = { status:
|
|
772
|
+
this.state = { status: O.IDLE }, this.subscribers = /* @__PURE__ */ new Set(), this.eventListeners = {}, this.paymentToken = null, this.paymentIntentId = null, this.pollingService = null, this.ignore3DSInPolling = !1, this.ignoreQRInPolling = !1, this.config = e, this.adapters = t;
|
|
773
773
|
}
|
|
774
774
|
/**
|
|
775
775
|
* Get the API base URL - uses apiBaseUrl if provided, otherwise derives from environment
|
|
@@ -924,7 +924,7 @@ var ii = class {
|
|
|
924
924
|
* @public
|
|
925
925
|
*/
|
|
926
926
|
async initialize(e) {
|
|
927
|
-
this.setState({ status:
|
|
927
|
+
this.setState({ status: O.INITIALIZING }), this.emit({
|
|
928
928
|
type: "initialize",
|
|
929
929
|
payload: e
|
|
930
930
|
});
|
|
@@ -958,7 +958,7 @@ var ii = class {
|
|
|
958
958
|
id: this.paymentIntentId,
|
|
959
959
|
amount: s.result.customerAmount || e.amount,
|
|
960
960
|
currency: s.result.currency || e.currency,
|
|
961
|
-
status:
|
|
961
|
+
status: O.READY,
|
|
962
962
|
...e.metadata && { metadata: e.metadata }
|
|
963
963
|
}, h = [];
|
|
964
964
|
let u = 0;
|
|
@@ -966,8 +966,8 @@ var ii = class {
|
|
|
966
966
|
id: "card",
|
|
967
967
|
enabled: !0,
|
|
968
968
|
priority: u++
|
|
969
|
-
}), l.result.paymentMethods.forEach((
|
|
970
|
-
const p =
|
|
969
|
+
}), l.result.paymentMethods.forEach((m) => {
|
|
970
|
+
const p = m.type.toLowerCase(), $ = m.capabilities || [];
|
|
971
971
|
p.includes("card") || ((p.includes("paynow") || $.includes("payments_pay_now")) && h.push({
|
|
972
972
|
id: "paynow",
|
|
973
973
|
enabled: !0,
|
|
@@ -1034,7 +1034,7 @@ var ii = class {
|
|
|
1034
1034
|
priority: u++
|
|
1035
1035
|
}));
|
|
1036
1036
|
}), this.setState({
|
|
1037
|
-
status:
|
|
1037
|
+
status: O.READY,
|
|
1038
1038
|
paymentIntent: c,
|
|
1039
1039
|
availableMethods: h
|
|
1040
1040
|
}), this.emit({
|
|
@@ -1051,7 +1051,7 @@ var ii = class {
|
|
|
1051
1051
|
timestamp: this.adapters.timer.now()
|
|
1052
1052
|
};
|
|
1053
1053
|
throw this.setState({
|
|
1054
|
-
status:
|
|
1054
|
+
status: O.FAILED,
|
|
1055
1055
|
error: r
|
|
1056
1056
|
}), this.emit({
|
|
1057
1057
|
type: "payment_failed",
|
|
@@ -1153,7 +1153,7 @@ var ii = class {
|
|
|
1153
1153
|
if (!this.paymentToken)
|
|
1154
1154
|
throw new Error("Cannot submit payment: No payment token available");
|
|
1155
1155
|
this.ignore3DSInPolling = !1, this.ignoreQRInPolling = !1, this.setState({
|
|
1156
|
-
status:
|
|
1156
|
+
status: O.PROCESSING,
|
|
1157
1157
|
paymentIntent: r.paymentIntent,
|
|
1158
1158
|
selectedMethod: e,
|
|
1159
1159
|
availableMethods: r.availableMethods
|
|
@@ -1203,12 +1203,12 @@ var ii = class {
|
|
|
1203
1203
|
return "qr";
|
|
1204
1204
|
}
|
|
1205
1205
|
}, l = ($, N) => (N === "konbini" || N === "payeasy") && $.startsWith("+81") ? "0" + $.slice(3).replace(/\s/g, "") : $, c = ($, N) => {
|
|
1206
|
-
let
|
|
1207
|
-
if (
|
|
1206
|
+
let P = $.toUpperCase(), y = N.toUpperCase();
|
|
1207
|
+
if (P.length + y.length > 9) {
|
|
1208
1208
|
const S = Math.ceil(4.5);
|
|
1209
|
-
|
|
1209
|
+
P = P.slice(0, S), y = y.slice(0, 9 - P.length);
|
|
1210
1210
|
}
|
|
1211
|
-
return { firstName:
|
|
1211
|
+
return { firstName: P, lastName: y };
|
|
1212
1212
|
};
|
|
1213
1213
|
let h = String(t.firstName), u = String(t.lastName);
|
|
1214
1214
|
if (e === "payeasy") {
|
|
@@ -1216,7 +1216,7 @@ var ii = class {
|
|
|
1216
1216
|
h = $.firstName, u = $.lastName;
|
|
1217
1217
|
} else
|
|
1218
1218
|
h = h.toUpperCase(), u = u.toUpperCase();
|
|
1219
|
-
const
|
|
1219
|
+
const m = t.bankName ? String(t.bankName) : void 0, p = {
|
|
1220
1220
|
firstName: h,
|
|
1221
1221
|
lastName: u,
|
|
1222
1222
|
email: String(t.email),
|
|
@@ -1230,7 +1230,7 @@ var ii = class {
|
|
|
1230
1230
|
cvc: String(t.cvv)
|
|
1231
1231
|
}
|
|
1232
1232
|
} : { type: d(e) },
|
|
1233
|
-
...
|
|
1233
|
+
...m && { bankName: m }
|
|
1234
1234
|
};
|
|
1235
1235
|
return await this.adapters.http.patch(
|
|
1236
1236
|
`${this.getApiBaseUrl()}/payment-intent/confirm`,
|
|
@@ -1242,15 +1242,15 @@ var ii = class {
|
|
|
1242
1242
|
id: this.paymentIntentId || "",
|
|
1243
1243
|
amount: r.paymentIntent.amount,
|
|
1244
1244
|
currency: r.paymentIntent.currency,
|
|
1245
|
-
status:
|
|
1245
|
+
status: O.PROCESSING
|
|
1246
1246
|
};
|
|
1247
1247
|
} catch (d) {
|
|
1248
1248
|
let l = "Unknown error", c = "PAYMENT_FAILED";
|
|
1249
1249
|
if (d instanceof Error)
|
|
1250
1250
|
try {
|
|
1251
1251
|
if (ti(d)) {
|
|
1252
|
-
const u = (n = d.response) == null ? void 0 : n.data,
|
|
1253
|
-
u ? (l = u.message || ((i = u.error) == null ? void 0 : i.message) || d.message, c = u.code || ((a = u.error) == null ? void 0 : a.code) || c) :
|
|
1252
|
+
const u = (n = d.response) == null ? void 0 : n.data, m = d.data;
|
|
1253
|
+
u ? (l = u.message || ((i = u.error) == null ? void 0 : i.message) || d.message, c = u.code || ((a = u.error) == null ? void 0 : a.code) || c) : m ? (l = m.message || ((o = m.error) == null ? void 0 : o.message) || d.message, c = m.code || ((s = m.error) == null ? void 0 : s.code) || c) : l = d.message;
|
|
1254
1254
|
} else
|
|
1255
1255
|
l = d.message;
|
|
1256
1256
|
} catch {
|
|
@@ -1262,7 +1262,7 @@ var ii = class {
|
|
|
1262
1262
|
timestamp: this.adapters.timer.now()
|
|
1263
1263
|
};
|
|
1264
1264
|
throw this.setState({
|
|
1265
|
-
status:
|
|
1265
|
+
status: O.FAILED,
|
|
1266
1266
|
error: h,
|
|
1267
1267
|
paymentIntent: r.paymentIntent
|
|
1268
1268
|
}), this.emit({
|
|
@@ -1570,13 +1570,13 @@ var ii = class {
|
|
|
1570
1570
|
id: e.paymentIntentId,
|
|
1571
1571
|
amount: e.amount ?? t.paymentIntent.amount,
|
|
1572
1572
|
currency: e.currency ?? t.paymentIntent.currency,
|
|
1573
|
-
status:
|
|
1573
|
+
status: O.REQUIRES_ACTION,
|
|
1574
1574
|
...e.metadata && {
|
|
1575
1575
|
metadata: e.metadata
|
|
1576
1576
|
}
|
|
1577
1577
|
};
|
|
1578
1578
|
this.setState({
|
|
1579
|
-
status:
|
|
1579
|
+
status: O.REQUIRES_ACTION,
|
|
1580
1580
|
paymentIntent: i,
|
|
1581
1581
|
actionUrl: e.nextActionUrl,
|
|
1582
1582
|
selectedMethod: t.selectedMethod,
|
|
@@ -1602,7 +1602,7 @@ var ii = class {
|
|
|
1602
1602
|
};
|
|
1603
1603
|
if (e.status === "succeeded")
|
|
1604
1604
|
this.stopPolling(), this.setState({
|
|
1605
|
-
status:
|
|
1605
|
+
status: O.SUCCEEDED,
|
|
1606
1606
|
paymentIntent: n,
|
|
1607
1607
|
selectedMethod: t.selectedMethod
|
|
1608
1608
|
}), this.emit({
|
|
@@ -1620,7 +1620,7 @@ var ii = class {
|
|
|
1620
1620
|
timestamp: this.adapters.timer.now()
|
|
1621
1621
|
};
|
|
1622
1622
|
this.setState({
|
|
1623
|
-
status:
|
|
1623
|
+
status: O.FAILED,
|
|
1624
1624
|
error: a,
|
|
1625
1625
|
paymentIntent: n
|
|
1626
1626
|
}), this.emit({
|
|
@@ -1656,7 +1656,7 @@ var ii = class {
|
|
|
1656
1656
|
r(e);
|
|
1657
1657
|
});
|
|
1658
1658
|
}
|
|
1659
|
-
}, ai = "https://images.ctfassets.net/c3n7jozh84hr/2A5qlS6JkUsOyFVPzQ0KlK/22b497afd71030ef1a44a52394b15027/______2022-06-30_11.03.43.png", oi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/xLSOJpNvMp7cBKdvDln0B/eb2f53a0a3f2317750739dceff9df413/______2022-06-30_10.59.00.png", si = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4Iq13VoxktB3amHFbQK1yb/f2fe12add0dac233d56c22cf5651c65c/image-20220630-030728.png", di = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/mjau5Tqscwu9tbhRLFbmJ/a66cd2894060b2d3a94b75d7f4e65355/______2022-07-04_17.05.18.png", li = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1M4DBVFhOrkprPmjxZwS7M/c4a90840d3846b926d3a5524392435fe/Boost.svg", ci = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1BYCLeHNQEyPXBjlIdu09h/71d67c5be3975f77091bf45c7ab58f65/ShopeePay.svg", ui = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/61LYQ3RuziTGisarZgaAV1/309f3f1e569609dd0b0095857d6382b5/__2022-05-31_11.44.42.png", hi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/79Uj5xItEZE7L51j2oh6IV/6af4cfefdd65834305931fd16f652d87/DANA.svg",
|
|
1659
|
+
}, ai = "https://images.ctfassets.net/c3n7jozh84hr/2A5qlS6JkUsOyFVPzQ0KlK/22b497afd71030ef1a44a52394b15027/______2022-06-30_11.03.43.png", oi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/xLSOJpNvMp7cBKdvDln0B/eb2f53a0a3f2317750739dceff9df413/______2022-06-30_10.59.00.png", si = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4Iq13VoxktB3amHFbQK1yb/f2fe12add0dac233d56c22cf5651c65c/image-20220630-030728.png", di = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/mjau5Tqscwu9tbhRLFbmJ/a66cd2894060b2d3a94b75d7f4e65355/______2022-07-04_17.05.18.png", li = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1M4DBVFhOrkprPmjxZwS7M/c4a90840d3846b926d3a5524392435fe/Boost.svg", ci = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1BYCLeHNQEyPXBjlIdu09h/71d67c5be3975f77091bf45c7ab58f65/ShopeePay.svg", ui = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/61LYQ3RuziTGisarZgaAV1/309f3f1e569609dd0b0095857d6382b5/__2022-05-31_11.44.42.png", hi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/79Uj5xItEZE7L51j2oh6IV/6af4cfefdd65834305931fd16f652d87/DANA.svg", fi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/15FHwC4H3W0JrNvsqy6TWH/5d18aa44231c55d6457389e17ac7ea0c/TnG.svg", pi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/5EK8VF1nACmJ0KpPocLuR7/785178078004e82cb69782c570623b8c/Alipay.svg", mi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3sNSjVq0K9mq5whYcGJhBe/78857434adff807c8e293425491e0bd4/AlipayHK.svg", $i = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4WAO5JJPUOrZ9jBA0Vf4tf/c3896e1a5508efa0c569bd3eaa577dad/GCash.svg", gi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/2k2M0v6xdd5HvUNxX2sYCi/c9de881648bdd61adb15ec1941f2d47e/konbini_420x280.png", yi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3DKc8YOvmllqXs9MIZvDFU/195c73003eacb07b60dd2740c59ab4e3/Pay-easy.svg", bi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1DshnBdElQDmhfINo/abfc59a3c7cb7f3a89b2d32504971c39/GrabPay.svg", vi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/35hEmofKsxnjVV4zidB0Ir/00447c59f79d5c1e095f1354f6b909ce/FPX.svg", nt = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, J = function(e, t, r, n, i, a, o, s, d, l) {
|
|
1660
1660
|
var c = this;
|
|
1661
1661
|
c.numeralDecimalMark = e || ".", c.numeralIntegerScale = t > 0 ? t : 0, c.numeralDecimalScale = r >= 0 ? r : 2, c.numeralThousandsGroupStyle = n || J.groupStyle.thousand, c.numeralPositiveOnly = !!i, c.stripLeadingZeroes = a !== !1, c.prefix = o || o === "" ? o : "", c.signBeforePrefix = !!s, c.tailPrefix = !!d, c.delimiter = l || l === "" ? l : ",", c.delimiterRE = l ? new RegExp("\\" + l, "g") : "";
|
|
1662
1662
|
};
|
|
@@ -1686,7 +1686,7 @@ J.prototype = {
|
|
|
1686
1686
|
return t.tailPrefix ? n + a.toString() + (t.numeralDecimalScale > 0 ? o.toString() : "") + t.prefix : i + a.toString() + (t.numeralDecimalScale > 0 ? o.toString() : "");
|
|
1687
1687
|
}
|
|
1688
1688
|
};
|
|
1689
|
-
var
|
|
1689
|
+
var Pi = J, Vr = function(e, t, r) {
|
|
1690
1690
|
var n = this;
|
|
1691
1691
|
n.date = [], n.blocks = [], n.datePattern = e, n.dateMin = t.split("-").reverse().map(function(i) {
|
|
1692
1692
|
return parseInt(i, 10);
|
|
@@ -1726,7 +1726,7 @@ Vr.prototype = {
|
|
|
1726
1726
|
}), this.getFixedDateString(r);
|
|
1727
1727
|
},
|
|
1728
1728
|
getFixedDateString: function(e) {
|
|
1729
|
-
var t = this, r = t.datePattern, n = [], i = 0, a = 0, o = 0, s = 0, d = 0, l = 0, c, h, u,
|
|
1729
|
+
var t = this, r = t.datePattern, n = [], i = 0, a = 0, o = 0, s = 0, d = 0, l = 0, c, h, u, m = !1;
|
|
1730
1730
|
e.length === 4 && r[0].toLowerCase() !== "y" && r[1].toLowerCase() !== "y" && (s = r[0] === "d" ? 0 : 2, d = 2 - s, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), n = this.getFixedDate(c, h, 0)), e.length === 8 && (r.forEach(function($, N) {
|
|
1731
1731
|
switch ($) {
|
|
1732
1732
|
case "d":
|
|
@@ -1739,7 +1739,7 @@ Vr.prototype = {
|
|
|
1739
1739
|
o = N;
|
|
1740
1740
|
break;
|
|
1741
1741
|
}
|
|
1742
|
-
}), l = o * 2, s = i <= o ? i * 2 : i * 2 + 2, d = a <= o ? a * 2 : a * 2 + 2, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 4), 10),
|
|
1742
|
+
}), l = o * 2, s = i <= o ? i * 2 : i * 2 + 2, d = a <= o ? a * 2 : a * 2 + 2, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 4), 10), m = e.slice(l, l + 4).length === 4, n = this.getFixedDate(c, h, u)), e.length === 4 && (r[0] === "y" || r[1] === "y") && (d = r[0] === "m" ? 0 : 2, l = 2 - d, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), m = e.slice(l, l + 2).length === 2, n = [0, h, u]), e.length === 6 && (r[0] === "Y" || r[1] === "Y") && (d = r[0] === "m" ? 0 : 4, l = 2 - 0.5 * d, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 4), 10), m = e.slice(l, l + 4).length === 4, n = [0, h, u]), n = t.getRangeFixedDate(n), t.date = n;
|
|
1743
1743
|
var p = n.length === 0 ? e : r.reduce(function($, N) {
|
|
1744
1744
|
switch (N) {
|
|
1745
1745
|
case "d":
|
|
@@ -1747,9 +1747,9 @@ Vr.prototype = {
|
|
|
1747
1747
|
case "m":
|
|
1748
1748
|
return $ + (n[1] === 0 ? "" : t.addLeadingZero(n[1]));
|
|
1749
1749
|
case "y":
|
|
1750
|
-
return $ + (
|
|
1750
|
+
return $ + (m ? t.addLeadingZeroForYear(n[2], !1) : "");
|
|
1751
1751
|
case "Y":
|
|
1752
|
-
return $ + (
|
|
1752
|
+
return $ + (m ? t.addLeadingZeroForYear(n[2], !0) : "");
|
|
1753
1753
|
}
|
|
1754
1754
|
}, "");
|
|
1755
1755
|
return p;
|
|
@@ -1773,7 +1773,7 @@ Vr.prototype = {
|
|
|
1773
1773
|
return t ? (e < 10 ? "000" : e < 100 ? "00" : e < 1e3 ? "0" : "") + e : (e < 10 ? "0" : "") + e;
|
|
1774
1774
|
}
|
|
1775
1775
|
};
|
|
1776
|
-
var
|
|
1776
|
+
var wi = Vr, zr = function(e, t) {
|
|
1777
1777
|
var r = this;
|
|
1778
1778
|
r.time = [], r.blocks = [], r.timePattern = e, r.timeFormat = t, r.initBlocks();
|
|
1779
1779
|
};
|
|
@@ -1827,8 +1827,8 @@ zr.prototype = {
|
|
|
1827
1827
|
},
|
|
1828
1828
|
getFixedTimeString: function(e) {
|
|
1829
1829
|
var t = this, r = t.timePattern, n = [], i = 0, a = 0, o = 0, s = 0, d = 0, l = 0, c, h, u;
|
|
1830
|
-
return e.length === 6 && (r.forEach(function(
|
|
1831
|
-
switch (
|
|
1830
|
+
return e.length === 6 && (r.forEach(function(m, p) {
|
|
1831
|
+
switch (m) {
|
|
1832
1832
|
case "s":
|
|
1833
1833
|
i = p * 2;
|
|
1834
1834
|
break;
|
|
@@ -1839,8 +1839,8 @@ zr.prototype = {
|
|
|
1839
1839
|
o = p * 2;
|
|
1840
1840
|
break;
|
|
1841
1841
|
}
|
|
1842
|
-
}), l = o, d = a, s = i, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), e.length === 4 && t.timePattern.indexOf("s") < 0 && (r.forEach(function(
|
|
1843
|
-
switch (
|
|
1842
|
+
}), l = o, d = a, s = i, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), e.length === 4 && t.timePattern.indexOf("s") < 0 && (r.forEach(function(m, p) {
|
|
1843
|
+
switch (m) {
|
|
1844
1844
|
case "m":
|
|
1845
1845
|
a = p * 2;
|
|
1846
1846
|
break;
|
|
@@ -1848,14 +1848,14 @@ zr.prototype = {
|
|
|
1848
1848
|
o = p * 2;
|
|
1849
1849
|
break;
|
|
1850
1850
|
}
|
|
1851
|
-
}), l = o, d = a, c = 0, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), t.time = n, n.length === 0 ? e : r.reduce(function(
|
|
1851
|
+
}), l = o, d = a, c = 0, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), t.time = n, n.length === 0 ? e : r.reduce(function(m, p) {
|
|
1852
1852
|
switch (p) {
|
|
1853
1853
|
case "s":
|
|
1854
|
-
return
|
|
1854
|
+
return m + t.addLeadingZero(n[2]);
|
|
1855
1855
|
case "m":
|
|
1856
|
-
return
|
|
1856
|
+
return m + t.addLeadingZero(n[1]);
|
|
1857
1857
|
case "h":
|
|
1858
|
-
return
|
|
1858
|
+
return m + t.addLeadingZero(n[0]);
|
|
1859
1859
|
}
|
|
1860
1860
|
}, "");
|
|
1861
1861
|
},
|
|
@@ -2257,15 +2257,15 @@ x.prototype = {
|
|
|
2257
2257
|
return "[Cleave Object]";
|
|
2258
2258
|
}
|
|
2259
2259
|
};
|
|
2260
|
-
x.NumeralFormatter =
|
|
2261
|
-
x.DateFormatter =
|
|
2260
|
+
x.NumeralFormatter = Pi;
|
|
2261
|
+
x.DateFormatter = wi;
|
|
2262
2262
|
x.TimeFormatter = Ni;
|
|
2263
2263
|
x.PhoneFormatter = Ci;
|
|
2264
2264
|
x.CreditCardDetector = xi;
|
|
2265
2265
|
x.Util = Ai;
|
|
2266
2266
|
x.DefaultProperties = Ei;
|
|
2267
2267
|
(typeof nt == "object" && nt ? nt : window).Cleave = x;
|
|
2268
|
-
var rr = x,
|
|
2268
|
+
var rr = x, Ot = {}, _i = function() {
|
|
2269
2269
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
2270
2270
|
}, Kr = {}, F = {};
|
|
2271
2271
|
let Fe;
|
|
@@ -2394,25 +2394,25 @@ Wr.prototype = {
|
|
|
2394
2394
|
}
|
|
2395
2395
|
};
|
|
2396
2396
|
var Ti = Wr;
|
|
2397
|
-
function
|
|
2397
|
+
function Dt(e) {
|
|
2398
2398
|
if (!e || e < 1)
|
|
2399
2399
|
throw new Error("BitMatrix size must be defined and greater than 0");
|
|
2400
2400
|
this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);
|
|
2401
2401
|
}
|
|
2402
|
-
|
|
2402
|
+
Dt.prototype.set = function(e, t, r, n) {
|
|
2403
2403
|
const i = e * this.size + t;
|
|
2404
2404
|
this.data[i] = r, n && (this.reservedBit[i] = !0);
|
|
2405
2405
|
};
|
|
2406
|
-
|
|
2406
|
+
Dt.prototype.get = function(e, t) {
|
|
2407
2407
|
return this.data[e * this.size + t];
|
|
2408
2408
|
};
|
|
2409
|
-
|
|
2409
|
+
Dt.prototype.xor = function(e, t, r) {
|
|
2410
2410
|
this.data[e * this.size + t] ^= r;
|
|
2411
2411
|
};
|
|
2412
|
-
|
|
2412
|
+
Dt.prototype.isReserved = function(e, t) {
|
|
2413
2413
|
return this.reservedBit[e * this.size + t];
|
|
2414
2414
|
};
|
|
2415
|
-
var Mi =
|
|
2415
|
+
var Mi = Dt, Qr = {};
|
|
2416
2416
|
(function(e) {
|
|
2417
2417
|
const t = F.getSymbolSize;
|
|
2418
2418
|
e.getRowColCoords = function(n) {
|
|
@@ -2472,8 +2472,8 @@ var Xr = {};
|
|
|
2472
2472
|
for (let h = 0; h < a; h++) {
|
|
2473
2473
|
s = d = 0, l = c = null;
|
|
2474
2474
|
for (let u = 0; u < a; u++) {
|
|
2475
|
-
let
|
|
2476
|
-
|
|
2475
|
+
let m = i.get(h, u);
|
|
2476
|
+
m === l ? s++ : (s >= 5 && (o += t.N1 + (s - 5)), l = m, s = 1), m = i.get(u, h), m === c ? d++ : (d >= 5 && (o += t.N1 + (d - 5)), c = m, d = 1);
|
|
2477
2477
|
}
|
|
2478
2478
|
s >= 5 && (o += t.N1 + (s - 5)), d >= 5 && (o += t.N1 + (d - 5));
|
|
2479
2479
|
}
|
|
@@ -2940,13 +2940,13 @@ Jt.mul = function(t, r) {
|
|
|
2940
2940
|
};
|
|
2941
2941
|
})(Zr);
|
|
2942
2942
|
const tn = Zr;
|
|
2943
|
-
function
|
|
2943
|
+
function Oe(e) {
|
|
2944
2944
|
this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
|
|
2945
2945
|
}
|
|
2946
|
-
|
|
2946
|
+
Oe.prototype.initialize = function(t) {
|
|
2947
2947
|
this.degree = t, this.genPoly = tn.generateECPolynomial(this.degree);
|
|
2948
2948
|
};
|
|
2949
|
-
|
|
2949
|
+
Oe.prototype.encode = function(t) {
|
|
2950
2950
|
if (!this.genPoly)
|
|
2951
2951
|
throw new Error("Encoder not initialized");
|
|
2952
2952
|
const r = new Uint8Array(t.length + this.degree);
|
|
@@ -2958,12 +2958,12 @@ De.prototype.encode = function(t) {
|
|
|
2958
2958
|
}
|
|
2959
2959
|
return n;
|
|
2960
2960
|
};
|
|
2961
|
-
var
|
|
2962
|
-
|
|
2961
|
+
var Oi = Oe, en = {}, K = {}, De = {};
|
|
2962
|
+
De.isValid = function(t) {
|
|
2963
2963
|
return !isNaN(t) && t >= 1 && t <= 40;
|
|
2964
2964
|
};
|
|
2965
2965
|
var U = {};
|
|
2966
|
-
const rn = "[0-9]+",
|
|
2966
|
+
const rn = "[0-9]+", Di = "[A-Z $%*+\\-./:]+";
|
|
2967
2967
|
let vt = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
2968
2968
|
vt = vt.replace(/u/g, "\\u");
|
|
2969
2969
|
const Ri = "(?:(?![A-Z0-9 $%*+\\-./:]|" + vt + `)(?:.|[\r
|
|
@@ -2972,7 +2972,7 @@ U.KANJI = new RegExp(vt, "g");
|
|
|
2972
2972
|
U.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
2973
2973
|
U.BYTE = new RegExp(Ri, "g");
|
|
2974
2974
|
U.NUMERIC = new RegExp(rn, "g");
|
|
2975
|
-
U.ALPHANUMERIC = new RegExp(
|
|
2975
|
+
U.ALPHANUMERIC = new RegExp(Di, "g");
|
|
2976
2976
|
const Li = new RegExp("^" + vt + "$"), Bi = new RegExp("^" + rn + "$"), Ui = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
2977
2977
|
U.testKanji = function(t) {
|
|
2978
2978
|
return Li.test(t);
|
|
@@ -2984,7 +2984,7 @@ U.testAlphanumeric = function(t) {
|
|
|
2984
2984
|
return Ui.test(t);
|
|
2985
2985
|
};
|
|
2986
2986
|
(function(e) {
|
|
2987
|
-
const t =
|
|
2987
|
+
const t = De, r = U;
|
|
2988
2988
|
e.NUMERIC = {
|
|
2989
2989
|
id: "Numeric",
|
|
2990
2990
|
bit: 1,
|
|
@@ -3043,36 +3043,36 @@ U.testAlphanumeric = function(t) {
|
|
|
3043
3043
|
};
|
|
3044
3044
|
})(K);
|
|
3045
3045
|
(function(e) {
|
|
3046
|
-
const t = F, r = Qt, n = Wt, i = K, a =
|
|
3047
|
-
function d(u,
|
|
3046
|
+
const t = F, r = Qt, n = Wt, i = K, a = De, o = 7973, s = t.getBCHDigit(o);
|
|
3047
|
+
function d(u, m, p) {
|
|
3048
3048
|
for (let $ = 1; $ <= 40; $++)
|
|
3049
|
-
if (
|
|
3049
|
+
if (m <= e.getCapacity($, p, u))
|
|
3050
3050
|
return $;
|
|
3051
3051
|
}
|
|
3052
|
-
function l(u,
|
|
3053
|
-
return i.getCharCountIndicator(u,
|
|
3052
|
+
function l(u, m) {
|
|
3053
|
+
return i.getCharCountIndicator(u, m) + 4;
|
|
3054
3054
|
}
|
|
3055
|
-
function c(u,
|
|
3055
|
+
function c(u, m) {
|
|
3056
3056
|
let p = 0;
|
|
3057
3057
|
return u.forEach(function($) {
|
|
3058
|
-
const N = l($.mode,
|
|
3058
|
+
const N = l($.mode, m);
|
|
3059
3059
|
p += N + $.getBitsLength();
|
|
3060
3060
|
}), p;
|
|
3061
3061
|
}
|
|
3062
|
-
function h(u,
|
|
3062
|
+
function h(u, m) {
|
|
3063
3063
|
for (let p = 1; p <= 40; p++)
|
|
3064
|
-
if (c(u, p) <= e.getCapacity(p,
|
|
3064
|
+
if (c(u, p) <= e.getCapacity(p, m, i.MIXED))
|
|
3065
3065
|
return p;
|
|
3066
3066
|
}
|
|
3067
|
-
e.from = function(
|
|
3068
|
-
return a.isValid(
|
|
3069
|
-
}, e.getCapacity = function(
|
|
3070
|
-
if (!a.isValid(
|
|
3067
|
+
e.from = function(m, p) {
|
|
3068
|
+
return a.isValid(m) ? parseInt(m, 10) : p;
|
|
3069
|
+
}, e.getCapacity = function(m, p, $) {
|
|
3070
|
+
if (!a.isValid(m))
|
|
3071
3071
|
throw new Error("Invalid QR Code version");
|
|
3072
3072
|
typeof $ > "u" && ($ = i.BYTE);
|
|
3073
|
-
const N = t.getSymbolTotalCodewords(
|
|
3074
|
-
if ($ === i.MIXED) return
|
|
3075
|
-
const y =
|
|
3073
|
+
const N = t.getSymbolTotalCodewords(m), b = r.getTotalCodewordsCount(m, p), P = (N - b) * 8;
|
|
3074
|
+
if ($ === i.MIXED) return P;
|
|
3075
|
+
const y = P - l($, m);
|
|
3076
3076
|
switch ($) {
|
|
3077
3077
|
case i.NUMERIC:
|
|
3078
3078
|
return Math.floor(y / 10 * 3);
|
|
@@ -3084,40 +3084,40 @@ U.testAlphanumeric = function(t) {
|
|
|
3084
3084
|
default:
|
|
3085
3085
|
return Math.floor(y / 8);
|
|
3086
3086
|
}
|
|
3087
|
-
}, e.getBestVersionForData = function(
|
|
3087
|
+
}, e.getBestVersionForData = function(m, p) {
|
|
3088
3088
|
let $;
|
|
3089
3089
|
const N = n.from(p, n.M);
|
|
3090
|
-
if (Array.isArray(
|
|
3091
|
-
if (
|
|
3092
|
-
return h(
|
|
3093
|
-
if (
|
|
3090
|
+
if (Array.isArray(m)) {
|
|
3091
|
+
if (m.length > 1)
|
|
3092
|
+
return h(m, N);
|
|
3093
|
+
if (m.length === 0)
|
|
3094
3094
|
return 1;
|
|
3095
|
-
$ =
|
|
3095
|
+
$ = m[0];
|
|
3096
3096
|
} else
|
|
3097
|
-
$ =
|
|
3097
|
+
$ = m;
|
|
3098
3098
|
return d($.mode, $.getLength(), N);
|
|
3099
|
-
}, e.getEncodedBits = function(
|
|
3100
|
-
if (!a.isValid(
|
|
3099
|
+
}, e.getEncodedBits = function(m) {
|
|
3100
|
+
if (!a.isValid(m) || m < 7)
|
|
3101
3101
|
throw new Error("Invalid QR Code version");
|
|
3102
|
-
let p =
|
|
3102
|
+
let p = m << 12;
|
|
3103
3103
|
for (; t.getBCHDigit(p) - s >= 0; )
|
|
3104
3104
|
p ^= o << t.getBCHDigit(p) - s;
|
|
3105
|
-
return
|
|
3105
|
+
return m << 12 | p;
|
|
3106
3106
|
};
|
|
3107
3107
|
})(en);
|
|
3108
3108
|
var nn = {};
|
|
3109
|
-
const ye = F, an = 1335,
|
|
3109
|
+
const ye = F, an = 1335, Hi = 21522, ir = ye.getBCHDigit(an);
|
|
3110
3110
|
nn.getEncodedBits = function(t, r) {
|
|
3111
3111
|
const n = t.bit << 3 | r;
|
|
3112
3112
|
let i = n << 10;
|
|
3113
3113
|
for (; ye.getBCHDigit(i) - ir >= 0; )
|
|
3114
3114
|
i ^= an << ye.getBCHDigit(i) - ir;
|
|
3115
|
-
return (n << 10 | i) ^
|
|
3115
|
+
return (n << 10 | i) ^ Hi;
|
|
3116
3116
|
};
|
|
3117
3117
|
var on = {};
|
|
3118
|
-
const
|
|
3118
|
+
const ji = K;
|
|
3119
3119
|
function ot(e) {
|
|
3120
|
-
this.mode =
|
|
3120
|
+
this.mode = ji.NUMERIC, this.data = e.toString();
|
|
3121
3121
|
}
|
|
3122
3122
|
ot.getBitsLength = function(t) {
|
|
3123
3123
|
return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
|
|
@@ -3259,10 +3259,10 @@ var Qi = lt, sn = { exports: {} };
|
|
|
3259
3259
|
o[n] = 0;
|
|
3260
3260
|
var s = t.PriorityQueue.make();
|
|
3261
3261
|
s.push(n, 0);
|
|
3262
|
-
for (var d, l, c, h, u,
|
|
3262
|
+
for (var d, l, c, h, u, m, p, $, N; !s.empty(); ) {
|
|
3263
3263
|
d = s.pop(), l = d.value, h = d.cost, u = r[l] || {};
|
|
3264
3264
|
for (c in u)
|
|
3265
|
-
u.hasOwnProperty(c) && (
|
|
3265
|
+
u.hasOwnProperty(c) && (m = u[c], p = h + m, $ = o[c], N = typeof o[c] > "u", (N || $ > p) && (o[c] = p, s.push(c, p), a[c] = l));
|
|
3266
3266
|
}
|
|
3267
3267
|
if (typeof i < "u" && typeof o[i] > "u") {
|
|
3268
3268
|
var b = ["Could not find a path from ", n, " to ", i, "."].join("");
|
|
@@ -3323,23 +3323,23 @@ var Ji = sn.exports;
|
|
|
3323
3323
|
function l(b) {
|
|
3324
3324
|
return unescape(encodeURIComponent(b)).length;
|
|
3325
3325
|
}
|
|
3326
|
-
function c(b,
|
|
3326
|
+
function c(b, P, y) {
|
|
3327
3327
|
const v = [];
|
|
3328
3328
|
let S;
|
|
3329
3329
|
for (; (S = b.exec(y)) !== null; )
|
|
3330
3330
|
v.push({
|
|
3331
3331
|
data: S[0],
|
|
3332
3332
|
index: S.index,
|
|
3333
|
-
mode:
|
|
3333
|
+
mode: P,
|
|
3334
3334
|
length: S[0].length
|
|
3335
3335
|
});
|
|
3336
3336
|
return v;
|
|
3337
3337
|
}
|
|
3338
3338
|
function h(b) {
|
|
3339
|
-
const
|
|
3339
|
+
const P = c(o.NUMERIC, t.NUMERIC, b), y = c(o.ALPHANUMERIC, t.ALPHANUMERIC, b);
|
|
3340
3340
|
let v, S;
|
|
3341
|
-
return s.isKanjiModeEnabled() ? (v = c(o.BYTE, t.BYTE, b), S = c(o.KANJI, t.KANJI, b)) : (v = c(o.BYTE_KANJI, t.BYTE, b), S = []),
|
|
3342
|
-
return E.index -
|
|
3341
|
+
return s.isKanjiModeEnabled() ? (v = c(o.BYTE, t.BYTE, b), S = c(o.KANJI, t.KANJI, b)) : (v = c(o.BYTE_KANJI, t.BYTE, b), S = []), P.concat(y, v, S).sort(function(E, D) {
|
|
3342
|
+
return E.index - D.index;
|
|
3343
3343
|
}).map(function(E) {
|
|
3344
3344
|
return {
|
|
3345
3345
|
data: E.data,
|
|
@@ -3348,8 +3348,8 @@ var Ji = sn.exports;
|
|
|
3348
3348
|
};
|
|
3349
3349
|
});
|
|
3350
3350
|
}
|
|
3351
|
-
function u(b,
|
|
3352
|
-
switch (
|
|
3351
|
+
function u(b, P) {
|
|
3352
|
+
switch (P) {
|
|
3353
3353
|
case t.NUMERIC:
|
|
3354
3354
|
return r.getBitsLength(b);
|
|
3355
3355
|
case t.ALPHANUMERIC:
|
|
@@ -3360,67 +3360,67 @@ var Ji = sn.exports;
|
|
|
3360
3360
|
return i.getBitsLength(b);
|
|
3361
3361
|
}
|
|
3362
3362
|
}
|
|
3363
|
-
function
|
|
3364
|
-
return b.reduce(function(
|
|
3365
|
-
const v =
|
|
3366
|
-
return v && v.mode === y.mode ? (
|
|
3363
|
+
function m(b) {
|
|
3364
|
+
return b.reduce(function(P, y) {
|
|
3365
|
+
const v = P.length - 1 >= 0 ? P[P.length - 1] : null;
|
|
3366
|
+
return v && v.mode === y.mode ? (P[P.length - 1].data += y.data, P) : (P.push(y), P);
|
|
3367
3367
|
}, []);
|
|
3368
3368
|
}
|
|
3369
3369
|
function p(b) {
|
|
3370
|
-
const
|
|
3370
|
+
const P = [];
|
|
3371
3371
|
for (let y = 0; y < b.length; y++) {
|
|
3372
3372
|
const v = b[y];
|
|
3373
3373
|
switch (v.mode) {
|
|
3374
3374
|
case t.NUMERIC:
|
|
3375
|
-
|
|
3375
|
+
P.push([
|
|
3376
3376
|
v,
|
|
3377
3377
|
{ data: v.data, mode: t.ALPHANUMERIC, length: v.length },
|
|
3378
3378
|
{ data: v.data, mode: t.BYTE, length: v.length }
|
|
3379
3379
|
]);
|
|
3380
3380
|
break;
|
|
3381
3381
|
case t.ALPHANUMERIC:
|
|
3382
|
-
|
|
3382
|
+
P.push([
|
|
3383
3383
|
v,
|
|
3384
3384
|
{ data: v.data, mode: t.BYTE, length: v.length }
|
|
3385
3385
|
]);
|
|
3386
3386
|
break;
|
|
3387
3387
|
case t.KANJI:
|
|
3388
|
-
|
|
3388
|
+
P.push([
|
|
3389
3389
|
v,
|
|
3390
3390
|
{ data: v.data, mode: t.BYTE, length: l(v.data) }
|
|
3391
3391
|
]);
|
|
3392
3392
|
break;
|
|
3393
3393
|
case t.BYTE:
|
|
3394
|
-
|
|
3394
|
+
P.push([
|
|
3395
3395
|
{ data: v.data, mode: t.BYTE, length: l(v.data) }
|
|
3396
3396
|
]);
|
|
3397
3397
|
}
|
|
3398
3398
|
}
|
|
3399
|
-
return
|
|
3399
|
+
return P;
|
|
3400
3400
|
}
|
|
3401
|
-
function $(b,
|
|
3401
|
+
function $(b, P) {
|
|
3402
3402
|
const y = {}, v = { start: {} };
|
|
3403
3403
|
let S = ["start"];
|
|
3404
3404
|
for (let k = 0; k < b.length; k++) {
|
|
3405
|
-
const E = b[k],
|
|
3405
|
+
const E = b[k], D = [];
|
|
3406
3406
|
for (let Y = 0; Y < E.length; Y++) {
|
|
3407
3407
|
const B = E[Y], ut = "" + k + Y;
|
|
3408
|
-
|
|
3408
|
+
D.push(ut), y[ut] = { node: B, lastCount: 0 }, v[ut] = {};
|
|
3409
3409
|
for (let ne = 0; ne < S.length; ne++) {
|
|
3410
|
-
const
|
|
3411
|
-
y[
|
|
3410
|
+
const H = S[ne];
|
|
3411
|
+
y[H] && y[H].node.mode === B.mode ? (v[H][ut] = u(y[H].lastCount + B.length, B.mode) - u(y[H].lastCount, B.mode), y[H].lastCount += B.length) : (y[H] && (y[H].lastCount = B.length), v[H][ut] = u(B.length, B.mode) + 4 + t.getCharCountIndicator(B.mode, P));
|
|
3412
3412
|
}
|
|
3413
3413
|
}
|
|
3414
|
-
S =
|
|
3414
|
+
S = D;
|
|
3415
3415
|
}
|
|
3416
3416
|
for (let k = 0; k < S.length; k++)
|
|
3417
3417
|
v[S[k]].end = 0;
|
|
3418
3418
|
return { map: v, table: y };
|
|
3419
3419
|
}
|
|
3420
|
-
function N(b,
|
|
3420
|
+
function N(b, P) {
|
|
3421
3421
|
let y;
|
|
3422
3422
|
const v = t.getBestModeForData(b);
|
|
3423
|
-
if (y = t.from(
|
|
3423
|
+
if (y = t.from(P, v), y !== t.BYTE && y.bit < v.bit)
|
|
3424
3424
|
throw new Error('"' + b + '" cannot be encoded with mode ' + t.toString(y) + `.
|
|
3425
3425
|
Suggested mode is: ` + t.toString(v));
|
|
3426
3426
|
switch (y === t.KANJI && !s.isKanjiModeEnabled() && (y = t.BYTE), y) {
|
|
@@ -3434,22 +3434,22 @@ var Ji = sn.exports;
|
|
|
3434
3434
|
return new i(b);
|
|
3435
3435
|
}
|
|
3436
3436
|
}
|
|
3437
|
-
e.fromArray = function(
|
|
3438
|
-
return
|
|
3437
|
+
e.fromArray = function(P) {
|
|
3438
|
+
return P.reduce(function(y, v) {
|
|
3439
3439
|
return typeof v == "string" ? y.push(N(v, null)) : v.data && y.push(N(v.data, v.mode)), y;
|
|
3440
3440
|
}, []);
|
|
3441
|
-
}, e.fromString = function(
|
|
3442
|
-
const v = h(
|
|
3441
|
+
}, e.fromString = function(P, y) {
|
|
3442
|
+
const v = h(P, s.isKanjiModeEnabled()), S = p(v), k = $(S, y), E = d.find_path(k.map, "start", "end"), D = [];
|
|
3443
3443
|
for (let Y = 1; Y < E.length - 1; Y++)
|
|
3444
|
-
|
|
3445
|
-
return e.fromArray(
|
|
3446
|
-
}, e.rawSplit = function(
|
|
3444
|
+
D.push(k.table[E[Y]].node);
|
|
3445
|
+
return e.fromArray(m(D));
|
|
3446
|
+
}, e.rawSplit = function(P) {
|
|
3447
3447
|
return e.fromArray(
|
|
3448
|
-
h(
|
|
3448
|
+
h(P, s.isKanjiModeEnabled())
|
|
3449
3449
|
);
|
|
3450
3450
|
};
|
|
3451
3451
|
})(on);
|
|
3452
|
-
const Xt = F, le = Wt, Xi = Ti, Zi = Mi, ta = Qr, ea = Jr, be = Xr, ve = Qt, ra =
|
|
3452
|
+
const Xt = F, le = Wt, Xi = Ti, Zi = Mi, ta = Qr, ea = Jr, be = Xr, ve = Qt, ra = Oi, Yt = en, na = nn, ia = K, ce = on;
|
|
3453
3453
|
function aa(e, t) {
|
|
3454
3454
|
const r = e.size, n = ea.getPositions(t);
|
|
3455
3455
|
for (let i = 0; i < n.length; i++) {
|
|
@@ -3519,14 +3519,14 @@ function ca(e, t, r) {
|
|
|
3519
3519
|
return ua(n, e, t);
|
|
3520
3520
|
}
|
|
3521
3521
|
function ua(e, t, r) {
|
|
3522
|
-
const n = Xt.getSymbolTotalCodewords(t), i = ve.getTotalCodewordsCount(t, r), a = n - i, o = ve.getBlocksCount(t, r), s = n % o, d = o - s, l = Math.floor(n / o), c = Math.floor(a / o), h = c + 1, u = l - c,
|
|
3522
|
+
const n = Xt.getSymbolTotalCodewords(t), i = ve.getTotalCodewordsCount(t, r), a = n - i, o = ve.getBlocksCount(t, r), s = n % o, d = o - s, l = Math.floor(n / o), c = Math.floor(a / o), h = c + 1, u = l - c, m = new ra(u);
|
|
3523
3523
|
let p = 0;
|
|
3524
3524
|
const $ = new Array(o), N = new Array(o);
|
|
3525
3525
|
let b = 0;
|
|
3526
|
-
const
|
|
3526
|
+
const P = new Uint8Array(e.buffer);
|
|
3527
3527
|
for (let E = 0; E < o; E++) {
|
|
3528
|
-
const
|
|
3529
|
-
$[E] =
|
|
3528
|
+
const D = E < d ? c : h;
|
|
3529
|
+
$[E] = P.slice(p, p + D), N[E] = m.encode($[E]), p += D, b = Math.max(b, D);
|
|
3530
3530
|
}
|
|
3531
3531
|
const y = new Uint8Array(n);
|
|
3532
3532
|
let v = 0, S, k;
|
|
@@ -3623,10 +3623,10 @@ var dn = {}, Re = {};
|
|
|
3623
3623
|
}, e.qrToImageData = function(n, i, a) {
|
|
3624
3624
|
const o = i.modules.size, s = i.modules.data, d = e.getScale(o, a), l = Math.floor((o + a.margin * 2) * d), c = a.margin * d, h = [a.color.light, a.color.dark];
|
|
3625
3625
|
for (let u = 0; u < l; u++)
|
|
3626
|
-
for (let
|
|
3627
|
-
let p = (u * l +
|
|
3628
|
-
if (u >= c &&
|
|
3629
|
-
const N = Math.floor((u - c) / d), b = Math.floor((
|
|
3626
|
+
for (let m = 0; m < l; m++) {
|
|
3627
|
+
let p = (u * l + m) * 4, $ = a.color.light;
|
|
3628
|
+
if (u >= c && m >= c && u < l - c && m < l - c) {
|
|
3629
|
+
const N = Math.floor((u - c) / d), b = Math.floor((m - c) / d);
|
|
3630
3630
|
$ = h[s[N * o + b] ? 1 : 0];
|
|
3631
3631
|
}
|
|
3632
3632
|
n[p++] = $.r, n[p++] = $.g, n[p++] = $.b, n[p] = $.a;
|
|
@@ -3658,7 +3658,7 @@ var dn = {}, Re = {};
|
|
|
3658
3658
|
};
|
|
3659
3659
|
})(dn);
|
|
3660
3660
|
var ln = {};
|
|
3661
|
-
const
|
|
3661
|
+
const fa = Re;
|
|
3662
3662
|
function ar(e, t) {
|
|
3663
3663
|
const r = e.a / 255, n = t + '="' + e.hex + '"';
|
|
3664
3664
|
return r < 1 ? n + " " + t + '-opacity="' + r.toFixed(2).slice(1) + '"' : n;
|
|
@@ -3667,7 +3667,7 @@ function he(e, t, r) {
|
|
|
3667
3667
|
let n = e + t;
|
|
3668
3668
|
return typeof r < "u" && (n += " " + r), n;
|
|
3669
3669
|
}
|
|
3670
|
-
function
|
|
3670
|
+
function pa(e, t, r) {
|
|
3671
3671
|
let n = "", i = 0, a = !1, o = 0;
|
|
3672
3672
|
for (let s = 0; s < e.length; s++) {
|
|
3673
3673
|
const d = Math.floor(s % t), l = Math.floor(s / t);
|
|
@@ -3676,11 +3676,11 @@ function fa(e, t, r) {
|
|
|
3676
3676
|
return n;
|
|
3677
3677
|
}
|
|
3678
3678
|
ln.render = function(t, r, n) {
|
|
3679
|
-
const i =
|
|
3679
|
+
const i = fa.getOptions(r), a = t.modules.size, o = t.modules.data, s = a + i.margin * 2, d = i.color.light.a ? "<path " + ar(i.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", l = "<path " + ar(i.color.dark, "stroke") + ' d="' + pa(o, a, i.margin) + '"/>', c = 'viewBox="0 0 ' + s + " " + s + '"', u = '<svg xmlns="http://www.w3.org/2000/svg" ' + (i.width ? 'width="' + i.width + '" height="' + i.width + '" ' : "") + c + ' shape-rendering="crispEdges">' + d + l + `</svg>
|
|
3680
3680
|
`;
|
|
3681
3681
|
return typeof n == "function" && n(null, u), u;
|
|
3682
3682
|
};
|
|
3683
|
-
const ma = _i,
|
|
3683
|
+
const ma = _i, Pe = Kr, cn = dn, $a = ln;
|
|
3684
3684
|
function Le(e, t, r, n, i) {
|
|
3685
3685
|
const a = [].slice.call(arguments, 1), o = a.length, s = typeof a[o - 1] == "function";
|
|
3686
3686
|
if (!s && !ma())
|
|
@@ -3694,7 +3694,7 @@ function Le(e, t, r, n, i) {
|
|
|
3694
3694
|
throw new Error("Too few arguments provided");
|
|
3695
3695
|
return o === 1 ? (r = t, t = n = void 0) : o === 2 && !t.getContext && (n = r, r = t, t = void 0), new Promise(function(d, l) {
|
|
3696
3696
|
try {
|
|
3697
|
-
const c =
|
|
3697
|
+
const c = Pe.create(r, n);
|
|
3698
3698
|
d(e(c, t, n));
|
|
3699
3699
|
} catch (c) {
|
|
3700
3700
|
l(c);
|
|
@@ -3702,16 +3702,16 @@ function Le(e, t, r, n, i) {
|
|
|
3702
3702
|
});
|
|
3703
3703
|
}
|
|
3704
3704
|
try {
|
|
3705
|
-
const d =
|
|
3705
|
+
const d = Pe.create(r, n);
|
|
3706
3706
|
i(null, e(d, t, n));
|
|
3707
3707
|
} catch (d) {
|
|
3708
3708
|
i(d);
|
|
3709
3709
|
}
|
|
3710
3710
|
}
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3711
|
+
Ot.create = Pe.create;
|
|
3712
|
+
Ot.toCanvas = Le.bind(null, cn.render);
|
|
3713
|
+
Ot.toDataURL = Le.bind(null, cn.renderToDataURL);
|
|
3714
|
+
Ot.toString = Le.bind(null, function(e, t, r) {
|
|
3715
3715
|
return $a.render(e, r);
|
|
3716
3716
|
});
|
|
3717
3717
|
const un = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "(?:[025-7]\\d|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "8776\\d{4}|(?:[27]\\d|61)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-8]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, 0, [["528[89]\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "8\\d{13}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["20"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["20"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{4})(\\d{5})", "$1-$2", ["892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8(?:0[0-7]|9)"], "0$1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[5-8]"], "0$1"]], "0", 0, 0, 0, 0, "[5-8]"], MC: ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["3[289]|4[246-8]|61|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "[3489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-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, [["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
@@ -3768,9 +3768,9 @@ function va(e, t) {
|
|
|
3768
3768
|
}
|
|
3769
3769
|
return String(e);
|
|
3770
3770
|
}
|
|
3771
|
-
var
|
|
3771
|
+
var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ */ function() {
|
|
3772
3772
|
function e(t) {
|
|
3773
|
-
Zt(this, e),
|
|
3773
|
+
Zt(this, e), fn(t), this.metadata = t, pn.call(this, t);
|
|
3774
3774
|
}
|
|
3775
3775
|
return te(e, [{
|
|
3776
3776
|
key: "getCountries",
|
|
@@ -3956,7 +3956,7 @@ var wa = "1.2.0", Pa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ *
|
|
|
3956
3956
|
}]);
|
|
3957
3957
|
}(), dr = /* @__PURE__ */ function() {
|
|
3958
3958
|
function e(t, r) {
|
|
3959
|
-
Zt(this, e), this.globalMetadataObject = r, this.metadata = t,
|
|
3959
|
+
Zt(this, e), this.globalMetadataObject = r, this.metadata = t, pn.call(this, r.metadata);
|
|
3960
3960
|
}
|
|
3961
3961
|
return te(e, [{
|
|
3962
3962
|
key: "callingCode",
|
|
@@ -4178,7 +4178,7 @@ function lr(e, t) {
|
|
|
4178
4178
|
return e[9];
|
|
4179
4179
|
}
|
|
4180
4180
|
}
|
|
4181
|
-
function
|
|
4181
|
+
function fn(e) {
|
|
4182
4182
|
if (!e)
|
|
4183
4183
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
4184
4184
|
if (!Z(e) || !Z(e.countries))
|
|
@@ -4195,9 +4195,9 @@ function Be(e, t) {
|
|
|
4195
4195
|
function ka(e, t) {
|
|
4196
4196
|
return t.countries.hasOwnProperty(e);
|
|
4197
4197
|
}
|
|
4198
|
-
function
|
|
4198
|
+
function pn(e) {
|
|
4199
4199
|
var t = e.version;
|
|
4200
|
-
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? or(t,
|
|
4200
|
+
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? or(t, Pa) === -1 ? this.v2 = !0 : or(t, wa) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
4201
4201
|
}
|
|
4202
4202
|
function ee(e, t, r) {
|
|
4203
4203
|
return Ea(e, t, void 0, r);
|
|
@@ -4276,17 +4276,17 @@ function Ue(e, t, r) {
|
|
|
4276
4276
|
r = new I(r), r.selectNumberingPlan(e.country, e.countryCallingCode);
|
|
4277
4277
|
var n = t.v2 ? e.nationalNumber : e.phone;
|
|
4278
4278
|
if (G(n, r.nationalNumberPattern())) {
|
|
4279
|
-
if (
|
|
4280
|
-
return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") ||
|
|
4279
|
+
if (fe(n, "FIXED_LINE", r))
|
|
4280
|
+
return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") || fe(n, "MOBILE", r) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
4281
4281
|
for (var i = Ia(Ma), a; !(a = i()).done; ) {
|
|
4282
4282
|
var o = a.value;
|
|
4283
|
-
if (
|
|
4283
|
+
if (fe(n, o, r))
|
|
4284
4284
|
return o;
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
4287
|
}
|
|
4288
4288
|
}
|
|
4289
|
-
function
|
|
4289
|
+
function fe(e, t, r) {
|
|
4290
4290
|
var n = r.type(t);
|
|
4291
4291
|
return !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(e.length) < 0 ? !1 : G(e, n.pattern());
|
|
4292
4292
|
}
|
|
@@ -4296,17 +4296,17 @@ function Fa(e, t, r) {
|
|
|
4296
4296
|
var n = t.v2 ? e.nationalNumber : e.phone;
|
|
4297
4297
|
return G(n, r.nationalNumberPattern());
|
|
4298
4298
|
}
|
|
4299
|
-
function
|
|
4299
|
+
function Oa(e, t, r) {
|
|
4300
4300
|
var n = new I(r), i = n.getCountryCodesForCallingCode(e);
|
|
4301
4301
|
return i ? i.filter(function(a) {
|
|
4302
|
-
return
|
|
4302
|
+
return Da(t, a, r);
|
|
4303
4303
|
}) : [];
|
|
4304
4304
|
}
|
|
4305
|
-
function
|
|
4305
|
+
function Da(e, t, r) {
|
|
4306
4306
|
var n = new I(r);
|
|
4307
4307
|
return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
|
|
4308
4308
|
}
|
|
4309
|
-
var
|
|
4309
|
+
var He = 2, Ra = 17, La = 3, T = "0-90-9٠-٩۰-۹", Ba = "-‐-―−ー-", Ua = "//", Ha = "..", ja = " ", Ga = "()()[]\\[\\]", Ya = "~⁓∼~", L = "".concat(Ba).concat(Ua).concat(Ha).concat(ja).concat(Ga).concat(Ya), re = "++", Va = new RegExp("([" + T + "])");
|
|
4310
4310
|
function $n(e, t, r, n) {
|
|
4311
4311
|
if (t) {
|
|
4312
4312
|
var i = new I(n);
|
|
@@ -4320,7 +4320,7 @@ function $n(e, t, r, n) {
|
|
|
4320
4320
|
}
|
|
4321
4321
|
}
|
|
4322
4322
|
}
|
|
4323
|
-
function
|
|
4323
|
+
function we(e, t) {
|
|
4324
4324
|
if (e && t.numberingPlan.nationalPrefixForParsing()) {
|
|
4325
4325
|
var r = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), n = r.exec(e);
|
|
4326
4326
|
if (n) {
|
|
@@ -4388,7 +4388,7 @@ function gn(e, t) {
|
|
|
4388
4388
|
return o;
|
|
4389
4389
|
}
|
|
4390
4390
|
}
|
|
4391
|
-
function
|
|
4391
|
+
function je(e, t) {
|
|
4392
4392
|
var r = t.nationalNumber, n = t.metadata, i = n.getCountryCodesForCallingCode(e);
|
|
4393
4393
|
if (i)
|
|
4394
4394
|
return i.length === 1 ? i[0] : gn(r, {
|
|
@@ -4397,13 +4397,13 @@ function He(e, t) {
|
|
|
4397
4397
|
});
|
|
4398
4398
|
}
|
|
4399
4399
|
function Ne(e, t, r) {
|
|
4400
|
-
var n =
|
|
4400
|
+
var n = we(e, r), i = n.carrierCode, a = n.nationalNumber;
|
|
4401
4401
|
if (a !== e) {
|
|
4402
4402
|
if (!Ka(e, a, r))
|
|
4403
4403
|
return {
|
|
4404
4404
|
nationalNumber: e
|
|
4405
4405
|
};
|
|
4406
|
-
if (r.numberingPlan.possibleLengths() && (t || (t =
|
|
4406
|
+
if (r.numberingPlan.possibleLengths() && (t || (t = je(r.numberingPlan.callingCode(), {
|
|
4407
4407
|
nationalNumber: a,
|
|
4408
4408
|
metadata: r
|
|
4409
4409
|
})), !Wa(a, t, r)))
|
|
@@ -4487,7 +4487,7 @@ function bn(e) {
|
|
|
4487
4487
|
return e.replace(new RegExp("[".concat(L, "]+"), "g"), " ").trim();
|
|
4488
4488
|
}
|
|
4489
4489
|
var vn = /(\$\d)/;
|
|
4490
|
-
function
|
|
4490
|
+
function Pn(e, t, r) {
|
|
4491
4491
|
var n = r.useInternationalFormat, i = r.withNationalPrefix;
|
|
4492
4492
|
r.carrierCode, r.metadata;
|
|
4493
4493
|
var a = e.replace(new RegExp(t.pattern()), n ? t.internationalFormat() : (
|
|
@@ -4519,18 +4519,18 @@ function Ja(e, t, r) {
|
|
|
4519
4519
|
var Xa = ";ext=", et = function(t) {
|
|
4520
4520
|
return "([".concat(T, "]{1,").concat(t, "})");
|
|
4521
4521
|
};
|
|
4522
|
-
function
|
|
4523
|
-
var t = "20", r = "15", n = "9", i = "6", a = "[ \\t,]*", o = "[:\\..]?[ \\t,-]*", s = "#?", d = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", c = "[- ]+", h = "[ \\t]*", u = "(?:,{2}|;)",
|
|
4524
|
-
return
|
|
4522
|
+
function wn(e) {
|
|
4523
|
+
var t = "20", r = "15", n = "9", i = "6", a = "[ \\t,]*", o = "[:\\..]?[ \\t,-]*", s = "#?", d = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", c = "[- ]+", h = "[ \\t]*", u = "(?:,{2}|;)", m = Xa + et(t), p = a + d + o + et(t) + s, $ = a + l + o + et(n) + s, N = c + et(i) + "#", b = h + u + o + et(r) + s, P = h + "(?:,)+" + o + et(n) + s;
|
|
4524
|
+
return m + "|" + p + "|" + $ + "|" + N + "|" + b + "|" + P;
|
|
4525
4525
|
}
|
|
4526
|
-
var Za = "[" + T + "]{" +
|
|
4527
|
-
"(?:" +
|
|
4526
|
+
var Za = "[" + T + "]{" + He + "}", to = "[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){3,}[" + L + T + "]*", eo = new RegExp("^[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){1,2}$", "i"), ro = to + // Phone number extensions
|
|
4527
|
+
"(?:" + wn() + ")?", no = new RegExp(
|
|
4528
4528
|
// Either a short two-digit-only phone number
|
|
4529
4529
|
"^" + Za + "$|^" + ro + "$",
|
|
4530
4530
|
"i"
|
|
4531
4531
|
);
|
|
4532
4532
|
function io(e) {
|
|
4533
|
-
return e.length >=
|
|
4533
|
+
return e.length >= He && no.test(e);
|
|
4534
4534
|
}
|
|
4535
4535
|
function ao(e) {
|
|
4536
4536
|
return eo.test(e);
|
|
@@ -4559,9 +4559,9 @@ function so(e, t, r, n) {
|
|
|
4559
4559
|
var i = n.countryCallingCode(), a = r.v2 ? e.nationalNumber : e.phone, o;
|
|
4560
4560
|
switch (t) {
|
|
4561
4561
|
case "NATIONAL":
|
|
4562
|
-
return a ? (o = Vt(a, e.carrierCode, "NATIONAL", n, r),
|
|
4562
|
+
return a ? (o = Vt(a, e.carrierCode, "NATIONAL", n, r), pe(o, e.ext, n, r.formatExtension)) : "";
|
|
4563
4563
|
case "INTERNATIONAL":
|
|
4564
|
-
return a ? (o = Vt(a, null, "INTERNATIONAL", n, r), o = "+".concat(i, " ").concat(o),
|
|
4564
|
+
return a ? (o = Vt(a, null, "INTERNATIONAL", n, r), o = "+".concat(i, " ").concat(o), pe(o, e.ext, n, r.formatExtension)) : "+".concat(i);
|
|
4565
4565
|
case "E.164":
|
|
4566
4566
|
return "+".concat(i).concat(a);
|
|
4567
4567
|
case "RFC3966":
|
|
@@ -4573,14 +4573,14 @@ function so(e, t, r, n) {
|
|
|
4573
4573
|
if (!r.fromCountry)
|
|
4574
4574
|
return;
|
|
4575
4575
|
var s = co(a, e.carrierCode, i, r.fromCountry, n);
|
|
4576
|
-
return s ?
|
|
4576
|
+
return s ? pe(s, e.ext, n, r.formatExtension) : void 0;
|
|
4577
4577
|
default:
|
|
4578
4578
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
|
|
4579
4579
|
}
|
|
4580
4580
|
}
|
|
4581
4581
|
function Vt(e, t, r, n, i) {
|
|
4582
4582
|
var a = lo(n.formats(), e);
|
|
4583
|
-
return a ?
|
|
4583
|
+
return a ? Pn(e, a, {
|
|
4584
4584
|
useInternationalFormat: r === "INTERNATIONAL",
|
|
4585
4585
|
withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
|
|
4586
4586
|
carrierCode: t,
|
|
@@ -4597,7 +4597,7 @@ function lo(e, t) {
|
|
|
4597
4597
|
return G(t, r.pattern());
|
|
4598
4598
|
});
|
|
4599
4599
|
}
|
|
4600
|
-
function
|
|
4600
|
+
function pe(e, t, r, n) {
|
|
4601
4601
|
return t ? n(e, t, r) : e;
|
|
4602
4602
|
}
|
|
4603
4603
|
function co(e, t, r, n, i) {
|
|
@@ -4628,15 +4628,15 @@ function ho(e, t) {
|
|
|
4628
4628
|
r++;
|
|
4629
4629
|
}
|
|
4630
4630
|
}
|
|
4631
|
-
function
|
|
4631
|
+
function Pt(e) {
|
|
4632
4632
|
"@babel/helpers - typeof";
|
|
4633
|
-
return
|
|
4633
|
+
return Pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4634
4634
|
return typeof t;
|
|
4635
4635
|
} : function(t) {
|
|
4636
4636
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4637
|
-
},
|
|
4637
|
+
}, Pt(e);
|
|
4638
4638
|
}
|
|
4639
|
-
function
|
|
4639
|
+
function fr(e, t) {
|
|
4640
4640
|
var r = Object.keys(e);
|
|
4641
4641
|
if (Object.getOwnPropertySymbols) {
|
|
4642
4642
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -4646,21 +4646,21 @@ function pr(e, t) {
|
|
|
4646
4646
|
}
|
|
4647
4647
|
return r;
|
|
4648
4648
|
}
|
|
4649
|
-
function
|
|
4649
|
+
function pr(e) {
|
|
4650
4650
|
for (var t = 1; t < arguments.length; t++) {
|
|
4651
4651
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
4652
|
-
t % 2 ?
|
|
4653
|
-
|
|
4654
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
|
4652
|
+
t % 2 ? fr(Object(r), !0).forEach(function(n) {
|
|
4653
|
+
fo(e, n, r[n]);
|
|
4654
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : fr(Object(r)).forEach(function(n) {
|
|
4655
4655
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
4656
4656
|
});
|
|
4657
4657
|
}
|
|
4658
4658
|
return e;
|
|
4659
4659
|
}
|
|
4660
|
-
function
|
|
4660
|
+
function fo(e, t, r) {
|
|
4661
4661
|
return (t = Nn(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
4662
4662
|
}
|
|
4663
|
-
function
|
|
4663
|
+
function po(e, t) {
|
|
4664
4664
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
4665
4665
|
}
|
|
4666
4666
|
function mo(e, t) {
|
|
@@ -4674,21 +4674,21 @@ function $o(e, t, r) {
|
|
|
4674
4674
|
}
|
|
4675
4675
|
function Nn(e) {
|
|
4676
4676
|
var t = go(e, "string");
|
|
4677
|
-
return
|
|
4677
|
+
return Pt(t) == "symbol" ? t : t + "";
|
|
4678
4678
|
}
|
|
4679
4679
|
function go(e, t) {
|
|
4680
|
-
if (
|
|
4680
|
+
if (Pt(e) != "object" || !e) return e;
|
|
4681
4681
|
var r = e[Symbol.toPrimitive];
|
|
4682
4682
|
if (r !== void 0) {
|
|
4683
4683
|
var n = r.call(e, t);
|
|
4684
|
-
if (
|
|
4684
|
+
if (Pt(n) != "object") return n;
|
|
4685
4685
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4686
4686
|
}
|
|
4687
4687
|
return String(e);
|
|
4688
4688
|
}
|
|
4689
4689
|
var Cn = /* @__PURE__ */ function() {
|
|
4690
4690
|
function e(t, r, n) {
|
|
4691
|
-
if (
|
|
4691
|
+
if (po(this, e), !t)
|
|
4692
4692
|
throw new TypeError("First argument is required");
|
|
4693
4693
|
if (typeof t != "string")
|
|
4694
4694
|
throw new TypeError("First argument must be a string");
|
|
@@ -4707,7 +4707,7 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
4707
4707
|
throw new TypeError("`nationalNumber` argument is required");
|
|
4708
4708
|
if (typeof r != "string")
|
|
4709
4709
|
throw new TypeError("`nationalNumber` argument must be a string");
|
|
4710
|
-
|
|
4710
|
+
fn(n);
|
|
4711
4711
|
var d = bo(t, n), l = d.country, c = d.countryCallingCode;
|
|
4712
4712
|
this.country = l, this.countryCallingCode = c, this.nationalNumber = r, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
4713
4713
|
return n;
|
|
@@ -4721,7 +4721,7 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
4721
4721
|
}, {
|
|
4722
4722
|
key: "getPossibleCountries",
|
|
4723
4723
|
value: function() {
|
|
4724
|
-
return this.country ? [this.country] :
|
|
4724
|
+
return this.country ? [this.country] : Oa(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
4725
4725
|
}
|
|
4726
4726
|
}, {
|
|
4727
4727
|
key: "isPossible",
|
|
@@ -4772,7 +4772,7 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
4772
4772
|
}, {
|
|
4773
4773
|
key: "format",
|
|
4774
4774
|
value: function(r, n) {
|
|
4775
|
-
return so(this, r, n ?
|
|
4775
|
+
return so(this, r, n ? pr(pr({}, n), {}, {
|
|
4776
4776
|
v2: !0
|
|
4777
4777
|
}) : {
|
|
4778
4778
|
v2: !0
|
|
@@ -4813,10 +4813,10 @@ function Ce(e) {
|
|
|
4813
4813
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4814
4814
|
}, Ce(e);
|
|
4815
4815
|
}
|
|
4816
|
-
function
|
|
4816
|
+
function Po(e, t, r) {
|
|
4817
4817
|
return Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
4818
4818
|
}
|
|
4819
|
-
function
|
|
4819
|
+
function wo(e, t) {
|
|
4820
4820
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
4821
4821
|
}
|
|
4822
4822
|
function No(e, t, r) {
|
|
@@ -4833,7 +4833,7 @@ function xo(e) {
|
|
|
4833
4833
|
}
|
|
4834
4834
|
function So(e, t) {
|
|
4835
4835
|
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
4836
|
-
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t &&
|
|
4836
|
+
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && wt(e, t);
|
|
4837
4837
|
}
|
|
4838
4838
|
function xe(e) {
|
|
4839
4839
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
@@ -4847,7 +4847,7 @@ function xe(e) {
|
|
|
4847
4847
|
function i() {
|
|
4848
4848
|
return Ao(n, arguments, Nt(this).constructor);
|
|
4849
4849
|
}
|
|
4850
|
-
return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }),
|
|
4850
|
+
return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), wt(i, n);
|
|
4851
4851
|
}, xe(e);
|
|
4852
4852
|
}
|
|
4853
4853
|
function Ao(e, t, r) {
|
|
@@ -4855,7 +4855,7 @@ function Ao(e, t, r) {
|
|
|
4855
4855
|
var n = [null];
|
|
4856
4856
|
n.push.apply(n, t);
|
|
4857
4857
|
var i = new (e.bind.apply(e, n))();
|
|
4858
|
-
return r &&
|
|
4858
|
+
return r && wt(i, r.prototype), i;
|
|
4859
4859
|
}
|
|
4860
4860
|
function Ye() {
|
|
4861
4861
|
try {
|
|
@@ -4874,23 +4874,23 @@ function ko(e) {
|
|
|
4874
4874
|
return typeof e == "function";
|
|
4875
4875
|
}
|
|
4876
4876
|
}
|
|
4877
|
-
function
|
|
4878
|
-
return
|
|
4877
|
+
function wt(e, t) {
|
|
4878
|
+
return wt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
|
|
4879
4879
|
return r.__proto__ = n, r;
|
|
4880
|
-
},
|
|
4880
|
+
}, wt(e, t);
|
|
4881
4881
|
}
|
|
4882
4882
|
function Nt(e) {
|
|
4883
4883
|
return Nt = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
4884
4884
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
4885
4885
|
}, Nt(e);
|
|
4886
4886
|
}
|
|
4887
|
-
var
|
|
4887
|
+
var j = /* @__PURE__ */ function(e) {
|
|
4888
4888
|
function t(r) {
|
|
4889
4889
|
var n;
|
|
4890
|
-
return
|
|
4890
|
+
return wo(this, t), n = No(this, t, [r]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
|
|
4891
4891
|
}
|
|
4892
|
-
return So(t, e),
|
|
4893
|
-
}(/* @__PURE__ */ xe(Error)), mr = new RegExp("(?:" +
|
|
4892
|
+
return So(t, e), Po(t);
|
|
4893
|
+
}(/* @__PURE__ */ xe(Error)), mr = new RegExp("(?:" + wn() + ")$", "i");
|
|
4894
4894
|
function Eo(e) {
|
|
4895
4895
|
var t = e.search(mr);
|
|
4896
4896
|
if (t < 0)
|
|
@@ -5039,14 +5039,14 @@ function gr(e, t) {
|
|
|
5039
5039
|
function yr(e) {
|
|
5040
5040
|
for (var t = "", r = Mo(e.split("")), n; !(n = r()).done; ) {
|
|
5041
5041
|
var i = n.value;
|
|
5042
|
-
t +=
|
|
5042
|
+
t += Oo(i, t) || "";
|
|
5043
5043
|
}
|
|
5044
5044
|
return t;
|
|
5045
5045
|
}
|
|
5046
|
-
function
|
|
5046
|
+
function Oo(e, t, r) {
|
|
5047
5047
|
return e === "+" ? t ? void 0 : "+" : xn(e);
|
|
5048
5048
|
}
|
|
5049
|
-
var Sn = "+",
|
|
5049
|
+
var Sn = "+", Do = "[\\-\\.\\(\\)]?", br = "([" + T + "]|" + Do + ")", Ro = "^\\" + Sn + br + "*[" + T + "]" + br + "*$", Lo = new RegExp(Ro, "g"), Se = T, Bo = "[" + Se + "]+((\\-)*[" + Se + "])*", Uo = "a-zA-Z", Ho = "[" + Uo + "]+((\\-)*[" + Se + "])*", jo = "^(" + Bo + "\\.)*" + Ho + "\\.?$", Go = new RegExp(jo, "g"), vr = "tel:", Ae = ";phone-context=", Yo = ";isub=";
|
|
5050
5050
|
function Vo(e) {
|
|
5051
5051
|
var t = e.indexOf(Ae);
|
|
5052
5052
|
if (t < 0)
|
|
@@ -5063,7 +5063,7 @@ function zo(e) {
|
|
|
5063
5063
|
function qo(e, t) {
|
|
5064
5064
|
var r = t.extractFormattedPhoneNumber, n = Vo(e);
|
|
5065
5065
|
if (!zo(n))
|
|
5066
|
-
throw new
|
|
5066
|
+
throw new j("NOT_A_NUMBER");
|
|
5067
5067
|
var i;
|
|
5068
5068
|
if (n === null)
|
|
5069
5069
|
i = r(e) || "";
|
|
@@ -5081,32 +5081,32 @@ function qo(e, t) {
|
|
|
5081
5081
|
var Ko = 250, Wo = new RegExp("[" + re + T + "]"), Qo = new RegExp("[^" + T + "#]+$");
|
|
5082
5082
|
function Jo(e, t, r) {
|
|
5083
5083
|
if (t = t || {}, r = new I(r), t.defaultCountry && !r.hasCountry(t.defaultCountry))
|
|
5084
|
-
throw t.v2 ? new
|
|
5084
|
+
throw t.v2 ? new j("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
|
|
5085
5085
|
var n = Zo(e, t.v2, t.extract), i = n.number, a = n.ext, o = n.error;
|
|
5086
5086
|
if (!i) {
|
|
5087
5087
|
if (t.v2)
|
|
5088
|
-
throw o === "TOO_SHORT" ? new
|
|
5088
|
+
throw o === "TOO_SHORT" ? new j("TOO_SHORT") : new j("NOT_A_NUMBER");
|
|
5089
5089
|
return {};
|
|
5090
5090
|
}
|
|
5091
5091
|
var s = es(i, t.defaultCountry, t.defaultCallingCode, r), d = s.country, l = s.nationalNumber, c = s.countryCallingCode, h = s.countryCallingCodeSource, u = s.carrierCode;
|
|
5092
5092
|
if (!r.hasSelectedNumberingPlan()) {
|
|
5093
5093
|
if (t.v2)
|
|
5094
|
-
throw new
|
|
5094
|
+
throw new j("INVALID_COUNTRY");
|
|
5095
5095
|
return {};
|
|
5096
5096
|
}
|
|
5097
|
-
if (!l || l.length <
|
|
5097
|
+
if (!l || l.length < He) {
|
|
5098
5098
|
if (t.v2)
|
|
5099
|
-
throw new
|
|
5099
|
+
throw new j("TOO_SHORT");
|
|
5100
5100
|
return {};
|
|
5101
5101
|
}
|
|
5102
5102
|
if (l.length > Ra) {
|
|
5103
5103
|
if (t.v2)
|
|
5104
|
-
throw new
|
|
5104
|
+
throw new j("TOO_LONG");
|
|
5105
5105
|
return {};
|
|
5106
5106
|
}
|
|
5107
5107
|
if (t.v2) {
|
|
5108
|
-
var
|
|
5109
|
-
return d && (
|
|
5108
|
+
var m = new Cn(c, l, r.metadata);
|
|
5109
|
+
return d && (m.country = d), u && (m.carrierCode = u), a && (m.ext = a), m.__countryCallingCodeSource = h, m;
|
|
5110
5110
|
}
|
|
5111
5111
|
var p = (t.extended ? r.hasSelectedNumberingPlan() : d) ? G(l, r.nationalNumberPattern()) : !1;
|
|
5112
5112
|
return t.extended ? {
|
|
@@ -5123,7 +5123,7 @@ function Xo(e, t, r) {
|
|
|
5123
5123
|
if (e) {
|
|
5124
5124
|
if (e.length > Ko) {
|
|
5125
5125
|
if (r)
|
|
5126
|
-
throw new
|
|
5126
|
+
throw new j("TOO_LONG");
|
|
5127
5127
|
return;
|
|
5128
5128
|
}
|
|
5129
5129
|
if (t === !1)
|
|
@@ -5169,7 +5169,7 @@ function es(e, t, r, n) {
|
|
|
5169
5169
|
countryCallingCodeSource: a,
|
|
5170
5170
|
countryCallingCode: o
|
|
5171
5171
|
};
|
|
5172
|
-
var l = Ne(yr(s), d, n), c = l.nationalNumber, h = l.carrierCode, u =
|
|
5172
|
+
var l = Ne(yr(s), d, n), c = l.nationalNumber, h = l.carrierCode, u = je(o, {
|
|
5173
5173
|
nationalNumber: c,
|
|
5174
5174
|
metadata: n
|
|
5175
5175
|
});
|
|
@@ -5189,7 +5189,7 @@ function Ct(e) {
|
|
|
5189
5189
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
5190
5190
|
}, Ct(e);
|
|
5191
5191
|
}
|
|
5192
|
-
function
|
|
5192
|
+
function Pr(e, t) {
|
|
5193
5193
|
var r = Object.keys(e);
|
|
5194
5194
|
if (Object.getOwnPropertySymbols) {
|
|
5195
5195
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -5199,12 +5199,12 @@ function wr(e, t) {
|
|
|
5199
5199
|
}
|
|
5200
5200
|
return r;
|
|
5201
5201
|
}
|
|
5202
|
-
function
|
|
5202
|
+
function wr(e) {
|
|
5203
5203
|
for (var t = 1; t < arguments.length; t++) {
|
|
5204
5204
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
5205
|
-
t % 2 ?
|
|
5205
|
+
t % 2 ? Pr(Object(r), !0).forEach(function(n) {
|
|
5206
5206
|
rs(e, n, r[n]);
|
|
5207
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
|
5207
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Pr(Object(r)).forEach(function(n) {
|
|
5208
5208
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
5209
5209
|
});
|
|
5210
5210
|
}
|
|
@@ -5228,7 +5228,7 @@ function is(e, t) {
|
|
|
5228
5228
|
return (t === "string" ? String : Number)(e);
|
|
5229
5229
|
}
|
|
5230
5230
|
function An(e, t, r) {
|
|
5231
|
-
return Jo(e,
|
|
5231
|
+
return Jo(e, wr(wr({}, t), {}, {
|
|
5232
5232
|
v2: !0
|
|
5233
5233
|
}), r);
|
|
5234
5234
|
}
|
|
@@ -5279,7 +5279,7 @@ function ds(e, t) {
|
|
|
5279
5279
|
return (t === "string" ? String : Number)(e);
|
|
5280
5280
|
}
|
|
5281
5281
|
function ls(e, t) {
|
|
5282
|
-
return
|
|
5282
|
+
return fs(e) || hs(e, t) || us(e, t) || cs();
|
|
5283
5283
|
}
|
|
5284
5284
|
function cs() {
|
|
5285
5285
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -5315,7 +5315,7 @@ function hs(e, t) {
|
|
|
5315
5315
|
return s;
|
|
5316
5316
|
}
|
|
5317
5317
|
}
|
|
5318
|
-
function
|
|
5318
|
+
function fs(e) {
|
|
5319
5319
|
if (Array.isArray(e)) return e;
|
|
5320
5320
|
}
|
|
5321
5321
|
function kn(e) {
|
|
@@ -5336,7 +5336,7 @@ function kn(e) {
|
|
|
5336
5336
|
metadata: l
|
|
5337
5337
|
};
|
|
5338
5338
|
}
|
|
5339
|
-
function
|
|
5339
|
+
function ps() {
|
|
5340
5340
|
var e = kn(arguments), t = e.text, r = e.options, n = e.metadata;
|
|
5341
5341
|
return An(t, r, n);
|
|
5342
5342
|
}
|
|
@@ -5393,7 +5393,7 @@ function ys(e, t, r) {
|
|
|
5393
5393
|
try {
|
|
5394
5394
|
return An(e, t, r);
|
|
5395
5395
|
} catch (n) {
|
|
5396
|
-
if (!(n instanceof
|
|
5396
|
+
if (!(n instanceof j)) throw n;
|
|
5397
5397
|
}
|
|
5398
5398
|
}
|
|
5399
5399
|
function At(e) {
|
|
@@ -5429,10 +5429,10 @@ function bs(e, t, r) {
|
|
|
5429
5429
|
return (t = vs(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
5430
5430
|
}
|
|
5431
5431
|
function vs(e) {
|
|
5432
|
-
var t =
|
|
5432
|
+
var t = Ps(e, "string");
|
|
5433
5433
|
return At(t) == "symbol" ? t : t + "";
|
|
5434
5434
|
}
|
|
5435
|
-
function
|
|
5435
|
+
function Ps(e, t) {
|
|
5436
5436
|
if (At(e) != "object" || !e) return e;
|
|
5437
5437
|
var r = e[Symbol.toPrimitive];
|
|
5438
5438
|
if (r !== void 0) {
|
|
@@ -5442,7 +5442,7 @@ function ws(e, t) {
|
|
|
5442
5442
|
}
|
|
5443
5443
|
return (t === "string" ? String : Number)(e);
|
|
5444
5444
|
}
|
|
5445
|
-
function
|
|
5445
|
+
function ws() {
|
|
5446
5446
|
var e = kn(arguments), t = e.text, r = e.options, n = e.metadata;
|
|
5447
5447
|
r = kr(kr({}, r), {}, {
|
|
5448
5448
|
extract: !1
|
|
@@ -5616,7 +5616,7 @@ function Ts(e, t, r) {
|
|
|
5616
5616
|
function Ms(e, t, r) {
|
|
5617
5617
|
var n = r.metadata, i = r.shouldTryNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, o = new RegExp("^(?:".concat(t.pattern(), ")$"));
|
|
5618
5618
|
if (o.test(e.nationalSignificantNumber))
|
|
5619
|
-
return
|
|
5619
|
+
return Os(e, t, {
|
|
5620
5620
|
metadata: n,
|
|
5621
5621
|
shouldTryNationalPrefixFormattingRule: i,
|
|
5622
5622
|
getSeparatorAfterNationalPrefix: a
|
|
@@ -5625,7 +5625,7 @@ function Ms(e, t, r) {
|
|
|
5625
5625
|
function Fs(e, t, r) {
|
|
5626
5626
|
return ee(e, t, r) === "IS_POSSIBLE";
|
|
5627
5627
|
}
|
|
5628
|
-
function
|
|
5628
|
+
function Os(e, t, r) {
|
|
5629
5629
|
var n = r.metadata, i = r.shouldTryNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix;
|
|
5630
5630
|
if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, i(t)) {
|
|
5631
5631
|
var o = Ir(e, t, {
|
|
@@ -5643,16 +5643,16 @@ function Ds(e, t, r) {
|
|
|
5643
5643
|
});
|
|
5644
5644
|
}
|
|
5645
5645
|
function Ir(e, t, r) {
|
|
5646
|
-
var n = r.metadata, i = r.useNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, o =
|
|
5646
|
+
var n = r.metadata, i = r.useNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, o = Pn(e.nationalSignificantNumber, t, {
|
|
5647
5647
|
carrierCode: e.carrierCode,
|
|
5648
5648
|
useInternationalFormat: e.international,
|
|
5649
5649
|
withNationalPrefix: i,
|
|
5650
5650
|
metadata: n
|
|
5651
5651
|
});
|
|
5652
|
-
if (i || (e.nationalPrefix ? o = e.nationalPrefix + a(t) + o : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (o = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + o)),
|
|
5652
|
+
if (i || (e.nationalPrefix ? o = e.nationalPrefix + a(t) + o : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (o = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + o)), Ds(o, e))
|
|
5653
5653
|
return o;
|
|
5654
5654
|
}
|
|
5655
|
-
function
|
|
5655
|
+
function Ds(e, t) {
|
|
5656
5656
|
return zt(e) === t.getNationalDigits();
|
|
5657
5657
|
}
|
|
5658
5658
|
function Et(e) {
|
|
@@ -5676,10 +5676,10 @@ function Bs(e, t, r) {
|
|
|
5676
5676
|
return t && Ls(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
5677
5677
|
}
|
|
5678
5678
|
function Us(e) {
|
|
5679
|
-
var t =
|
|
5679
|
+
var t = Hs(e, "string");
|
|
5680
5680
|
return Et(t) == "symbol" ? t : t + "";
|
|
5681
5681
|
}
|
|
5682
|
-
function
|
|
5682
|
+
function Hs(e, t) {
|
|
5683
5683
|
if (Et(e) != "object" || !e) return e;
|
|
5684
5684
|
var r = e[Symbol.toPrimitive];
|
|
5685
5685
|
if (r !== void 0) {
|
|
@@ -5689,7 +5689,7 @@ function js(e, t) {
|
|
|
5689
5689
|
}
|
|
5690
5690
|
return String(e);
|
|
5691
5691
|
}
|
|
5692
|
-
var
|
|
5692
|
+
var js = /* @__PURE__ */ function() {
|
|
5693
5693
|
function e() {
|
|
5694
5694
|
Rs(this, e);
|
|
5695
5695
|
}
|
|
@@ -5869,7 +5869,7 @@ function Js(e, t) {
|
|
|
5869
5869
|
}
|
|
5870
5870
|
var Xs = /* @__PURE__ */ function() {
|
|
5871
5871
|
function e(t) {
|
|
5872
|
-
qs(this, e), this.matchTree = new
|
|
5872
|
+
qs(this, e), this.matchTree = new js().parse(t);
|
|
5873
5873
|
}
|
|
5874
5874
|
return Ws(e, [{
|
|
5875
5875
|
key: "match",
|
|
@@ -5957,7 +5957,7 @@ function ke(e, t, r) {
|
|
|
5957
5957
|
// matchedChars: ...
|
|
5958
5958
|
} : void 0;
|
|
5959
5959
|
case "[]":
|
|
5960
|
-
for (var
|
|
5960
|
+
for (var m = Tr(t.args), p; !(p = m()).done; ) {
|
|
5961
5961
|
var $ = p.value;
|
|
5962
5962
|
if (e[0] === $)
|
|
5963
5963
|
return e.length === 1 ? {
|
|
@@ -5998,12 +5998,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5998
5998
|
}
|
|
5999
5999
|
function Zs(e, t) {
|
|
6000
6000
|
if (e) {
|
|
6001
|
-
if (typeof e == "string") return
|
|
6001
|
+
if (typeof e == "string") return Or(e, t);
|
|
6002
6002
|
var r = {}.toString.call(e).slice(8, -1);
|
|
6003
|
-
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ?
|
|
6003
|
+
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Or(e, t) : void 0;
|
|
6004
6004
|
}
|
|
6005
6005
|
}
|
|
6006
|
-
function
|
|
6006
|
+
function Or(e, t) {
|
|
6007
6007
|
(t == null || t > e.length) && (t = e.length);
|
|
6008
6008
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
6009
6009
|
return n;
|
|
@@ -6038,7 +6038,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
|
|
|
6038
6038
|
return /\[([^\[\]])*\]/g;
|
|
6039
6039
|
}, ld = function() {
|
|
6040
6040
|
return /\d(?=[^,}][^,}])/g;
|
|
6041
|
-
}, cd = new RegExp("[" + L + "]*\\$1[" + L + "]*(\\$\\d[" + L + "]*)*$"),
|
|
6041
|
+
}, cd = new RegExp("[" + L + "]*\\$1[" + L + "]*(\\$\\d[" + L + "]*)*$"), Dr = 3, ud = /* @__PURE__ */ function() {
|
|
6042
6042
|
function e(t) {
|
|
6043
6043
|
t.state;
|
|
6044
6044
|
var r = t.metadata;
|
|
@@ -6094,7 +6094,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
|
|
|
6094
6094
|
}, {
|
|
6095
6095
|
key: "narrowDownMatchingFormats",
|
|
6096
6096
|
value: function(r) {
|
|
6097
|
-
var n = this, i = r.nationalSignificantNumber, a = r.nationalPrefix, o = r.international, s = i, d = s.length -
|
|
6097
|
+
var n = this, i = r.nationalSignificantNumber, a = r.nationalPrefix, o = r.international, s = i, d = s.length - Dr;
|
|
6098
6098
|
d < 0 && (d = 0), this.matchingFormats = this.matchingFormats.filter(function(l) {
|
|
6099
6099
|
return n.formatSuits(l, o, a) && n.formatMatches(l, s, d);
|
|
6100
6100
|
}), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
|
|
@@ -6113,7 +6113,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
|
|
|
6113
6113
|
return !0;
|
|
6114
6114
|
i = Math.min(i, a - 1);
|
|
6115
6115
|
var o = r.leadingDigitsPatterns()[i];
|
|
6116
|
-
if (n.length <
|
|
6116
|
+
if (n.length < Dr)
|
|
6117
6117
|
try {
|
|
6118
6118
|
return new Xs(o).match(n, {
|
|
6119
6119
|
allowOverflow: !0
|
|
@@ -6192,18 +6192,18 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
|
|
|
6192
6192
|
if (!(i.length > l.length)) {
|
|
6193
6193
|
var c = new RegExp("^" + d + "$"), h = i.replace(/\d/g, Ee);
|
|
6194
6194
|
c.test(h) && (l = h);
|
|
6195
|
-
var u = this.getFormatFormat(r, a),
|
|
6195
|
+
var u = this.getFormatFormat(r, a), m;
|
|
6196
6196
|
if (this.shouldTryNationalPrefixFormattingRule(r, {
|
|
6197
6197
|
international: a,
|
|
6198
6198
|
nationalPrefix: o
|
|
6199
6199
|
})) {
|
|
6200
6200
|
var p = u.replace(vn, r.nationalPrefixFormattingRule());
|
|
6201
|
-
if (zt(r.nationalPrefixFormattingRule()) === (o || "") + zt("$1") && (u = p,
|
|
6201
|
+
if (zt(r.nationalPrefixFormattingRule()) === (o || "") + zt("$1") && (u = p, m = !0, o))
|
|
6202
6202
|
for (var $ = o.length; $ > 0; )
|
|
6203
6203
|
u = u.replace(/\d/, R), $--;
|
|
6204
6204
|
}
|
|
6205
6205
|
var N = l.replace(new RegExp(d), u).replace(new RegExp(Ee, "g"), R);
|
|
6206
|
-
return
|
|
6206
|
+
return m || (s ? N = Ut(R, s.length) + " " + N : o && (N = Ut(R, o.length) + this.getSeparatorAfterNationalPrefix(r) + N)), a && (N = bn(N)), N;
|
|
6207
6207
|
}
|
|
6208
6208
|
}
|
|
6209
6209
|
}, {
|
|
@@ -6237,13 +6237,13 @@ function Tt(e) {
|
|
|
6237
6237
|
}, Tt(e);
|
|
6238
6238
|
}
|
|
6239
6239
|
function En(e, t) {
|
|
6240
|
-
return md(e) ||
|
|
6240
|
+
return md(e) || pd(e, t) || fd(e, t) || hd();
|
|
6241
6241
|
}
|
|
6242
6242
|
function hd() {
|
|
6243
6243
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6244
6244
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
6245
6245
|
}
|
|
6246
|
-
function
|
|
6246
|
+
function fd(e, t) {
|
|
6247
6247
|
if (e) {
|
|
6248
6248
|
if (typeof e == "string") return Rr(e, t);
|
|
6249
6249
|
var r = {}.toString.call(e).slice(8, -1);
|
|
@@ -6255,7 +6255,7 @@ function Rr(e, t) {
|
|
|
6255
6255
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
6256
6256
|
return n;
|
|
6257
6257
|
}
|
|
6258
|
-
function
|
|
6258
|
+
function pd(e, t) {
|
|
6259
6259
|
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
6260
6260
|
if (r != null) {
|
|
6261
6261
|
var n, i, a, o, s = [], d = !0, l = !1;
|
|
@@ -6302,7 +6302,7 @@ function vd(e, t) {
|
|
|
6302
6302
|
}
|
|
6303
6303
|
return String(e);
|
|
6304
6304
|
}
|
|
6305
|
-
var
|
|
6305
|
+
var Pd = "[" + L + T + "]+", wd = new RegExp("^" + Pd + "$", "i"), Nd = "(?:[" + re + "][" + L + T + "]*|[" + L + T + "]+)", Cd = new RegExp("[^" + L + T + "]+.*$"), xd = /[^\d\[\]]/, Sd = /* @__PURE__ */ function() {
|
|
6306
6306
|
function e(t) {
|
|
6307
6307
|
var r = t.defaultCountry, n = t.defaultCallingCode, i = t.metadata, a = t.onNationalSignificantNumberChange;
|
|
6308
6308
|
$d(this, e), this.defaultCountry = r, this.defaultCallingCode = n, this.metadata = i, this.onNationalSignificantNumberChange = a;
|
|
@@ -6372,7 +6372,7 @@ var wd = "[" + L + T + "]+", Pd = new RegExp("^" + wd + "$", "i"), Nd = "(?:[" +
|
|
|
6372
6372
|
key: "extractNationalSignificantNumber",
|
|
6373
6373
|
value: function(r, n) {
|
|
6374
6374
|
if (this.hasSelectedNumberingPlan) {
|
|
6375
|
-
var i =
|
|
6375
|
+
var i = we(r, this.metadata), a = i.nationalPrefix, o = i.nationalNumber, s = i.carrierCode;
|
|
6376
6376
|
if (o !== r)
|
|
6377
6377
|
return this.onExtractedNationalNumber(a, s, o, r, n), !0;
|
|
6378
6378
|
}
|
|
@@ -6388,7 +6388,7 @@ var wd = "[" + L + T + "]+", Pd = new RegExp("^" + wd + "$", "i"), Nd = "(?:[" +
|
|
|
6388
6388
|
if (!this.hasExtractedNationalSignificantNumber)
|
|
6389
6389
|
return this.extractNationalSignificantNumber(r, i);
|
|
6390
6390
|
if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
|
|
6391
|
-
var a =
|
|
6391
|
+
var a = we(r, this.metadata), o = a.nationalPrefix, s = a.nationalNumber, d = a.carrierCode;
|
|
6392
6392
|
if (s !== n)
|
|
6393
6393
|
return this.onExtractedNationalNumber(o, d, s, r, i), !0;
|
|
6394
6394
|
}
|
|
@@ -6481,7 +6481,7 @@ function kd(e) {
|
|
|
6481
6481
|
}
|
|
6482
6482
|
function Ed(e) {
|
|
6483
6483
|
var t = kd(e), r = En(t, 2), n = r[0], i = r[1];
|
|
6484
|
-
return
|
|
6484
|
+
return wd.test(n) || (n = ""), [n, i];
|
|
6485
6485
|
}
|
|
6486
6486
|
function Mt(e) {
|
|
6487
6487
|
"@babel/helpers - typeof";
|
|
@@ -6531,17 +6531,17 @@ function Md(e, t) {
|
|
|
6531
6531
|
function Fd(e) {
|
|
6532
6532
|
if (Array.isArray(e)) return e;
|
|
6533
6533
|
}
|
|
6534
|
-
function
|
|
6534
|
+
function Od(e, t) {
|
|
6535
6535
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
6536
6536
|
}
|
|
6537
|
-
function
|
|
6537
|
+
function Dd(e, t) {
|
|
6538
6538
|
for (var r = 0; r < t.length; r++) {
|
|
6539
6539
|
var n = t[r];
|
|
6540
6540
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ld(n.key), n);
|
|
6541
6541
|
}
|
|
6542
6542
|
}
|
|
6543
6543
|
function Rd(e, t, r) {
|
|
6544
|
-
return t &&
|
|
6544
|
+
return t && Dd(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
6545
6545
|
}
|
|
6546
6546
|
function Ld(e) {
|
|
6547
6547
|
var t = Bd(e, "string");
|
|
@@ -6559,7 +6559,7 @@ function Bd(e, t) {
|
|
|
6559
6559
|
}
|
|
6560
6560
|
var _n = /* @__PURE__ */ function() {
|
|
6561
6561
|
function e(t, r) {
|
|
6562
|
-
|
|
6562
|
+
Od(this, e), this.metadata = new I(r);
|
|
6563
6563
|
var n = this.getCountryAndCallingCode(t), i = _d(n, 2), a = i[0], o = i[1];
|
|
6564
6564
|
this.defaultCountry = a, this.defaultCallingCode = o, this.reset();
|
|
6565
6565
|
}
|
|
@@ -6722,7 +6722,7 @@ var _n = /* @__PURE__ */ function() {
|
|
|
6722
6722
|
}, {
|
|
6723
6723
|
key: "determineTheCountry",
|
|
6724
6724
|
value: function() {
|
|
6725
|
-
this.state.setCountry(
|
|
6725
|
+
this.state.setCountry(je(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
|
|
6726
6726
|
nationalNumber: this.state.nationalSignificantNumber,
|
|
6727
6727
|
metadata: this.metadata
|
|
6728
6728
|
}));
|
|
@@ -6838,22 +6838,22 @@ var _n = /* @__PURE__ */ function() {
|
|
|
6838
6838
|
}]);
|
|
6839
6839
|
}();
|
|
6840
6840
|
function Ud() {
|
|
6841
|
-
return hn(
|
|
6841
|
+
return hn(ps, arguments);
|
|
6842
6842
|
}
|
|
6843
|
-
function
|
|
6844
|
-
return hn(
|
|
6843
|
+
function Hd() {
|
|
6844
|
+
return hn(ws, arguments);
|
|
6845
6845
|
}
|
|
6846
6846
|
function qt(e) {
|
|
6847
6847
|
return _n.call(this, e, un);
|
|
6848
6848
|
}
|
|
6849
6849
|
qt.prototype = Object.create(_n.prototype, {});
|
|
6850
6850
|
qt.prototype.constructor = qt;
|
|
6851
|
-
var
|
|
6851
|
+
var jd = Object.defineProperty, Gd = Object.getOwnPropertyDescriptor, C = (e, t, r, n) => {
|
|
6852
6852
|
for (var i = n > 1 ? void 0 : n ? Gd(t, r) : t, a = e.length - 1, o; a >= 0; a--)
|
|
6853
6853
|
(o = e[a]) && (i = (n ? o(t, r, i) : o(i)) || i);
|
|
6854
|
-
return n && i &&
|
|
6854
|
+
return n && i && jd(t, r, i), i;
|
|
6855
6855
|
};
|
|
6856
|
-
let
|
|
6856
|
+
let w = class extends mt {
|
|
6857
6857
|
constructor() {
|
|
6858
6858
|
super(...arguments), this.currentState = { status: "idle" }, this.selectedMethod = null, this.cardFormData = {
|
|
6859
6859
|
cardNumber: "",
|
|
@@ -6884,8 +6884,8 @@ let P = class extends mt {
|
|
|
6884
6884
|
}, this.themeMediaQuery = null, this.themeMediaQueryHandler = null, this.handle3DSPostMessage = (e) => {
|
|
6885
6885
|
e.data === "ON_AWX_3DS_START_PAGE_LEAVE" && (this.leaveEventsCounter++, this.leaveEventsCounter > 1 && this.handle3DSComplete());
|
|
6886
6886
|
}, this.MIN_PHONE_LENGTH = 8, this.JAPAN_ONLY_PHONE_METHODS = [
|
|
6887
|
-
|
|
6888
|
-
|
|
6887
|
+
f.KONBINI,
|
|
6888
|
+
f.PAYEASY
|
|
6889
6889
|
], this.COUNTRY_OPTIONS = [
|
|
6890
6890
|
{ code: "JP", name: "Japan", flag: "🇯🇵", dialCode: "+81" },
|
|
6891
6891
|
{ code: "SG", name: "Singapore", flag: "🇸🇬", dialCode: "+65" },
|
|
@@ -6905,7 +6905,33 @@ let P = class extends mt {
|
|
|
6905
6905
|
* the element is already in the DOM.
|
|
6906
6906
|
*/
|
|
6907
6907
|
hasAllRequiredProps() {
|
|
6908
|
-
return !(!this.config || !this.adapters || !this.amount || !this.currency || !this.orderId || !this.firstName || typeof this.firstName != "string" || this.firstName.trim() === "" || !this.lastName || typeof this.lastName != "string" || this.lastName.trim() === "" || !this.email || typeof this.email != "string" || this.email.trim() === ""
|
|
6908
|
+
return !(!this.config || !this.adapters || !this.amount || !this.currency || !this.orderId || !this.firstName || typeof this.firstName != "string" || this.firstName.trim() === "" || !this.lastName || typeof this.lastName != "string" || this.lastName.trim() === "" || !this.email || typeof this.email != "string" || this.email.trim() === "");
|
|
6909
|
+
}
|
|
6910
|
+
/**
|
|
6911
|
+
* Check if a payment method requires phone number
|
|
6912
|
+
* Only these 5 methods require phone number: Boost, ShopeePay, Konbini, PayEasy, Atome
|
|
6913
|
+
*/
|
|
6914
|
+
requiresPhoneNumber(e) {
|
|
6915
|
+
return [
|
|
6916
|
+
f.BOOST,
|
|
6917
|
+
f.SHOPEEPAY,
|
|
6918
|
+
f.KONBINI,
|
|
6919
|
+
f.PAYEASY,
|
|
6920
|
+
f.ATOM
|
|
6921
|
+
].includes(e);
|
|
6922
|
+
}
|
|
6923
|
+
/**
|
|
6924
|
+
* Check if phone number is available for payment
|
|
6925
|
+
* Returns true if the user has entered a valid number in the input field
|
|
6926
|
+
*/
|
|
6927
|
+
hasPhoneNumber(e) {
|
|
6928
|
+
return this.requiresPhoneNumber(e) ? !!this.phoneInputValue.trim() : !0;
|
|
6929
|
+
}
|
|
6930
|
+
/**
|
|
6931
|
+
* Check if the pay button should be disabled for a method
|
|
6932
|
+
*/
|
|
6933
|
+
isPayButtonDisabled(e) {
|
|
6934
|
+
return !!(this.currentState.status === "processing" || this.currentState.status === "requires_action" || this.requiresPhoneNumber(e) && !this.hasPhoneNumber(e));
|
|
6909
6935
|
}
|
|
6910
6936
|
/**
|
|
6911
6937
|
* Apply appearance settings to the component
|
|
@@ -7096,7 +7122,7 @@ let P = class extends mt {
|
|
|
7096
7122
|
const r = this.qrCode.startsWith("http://") || this.qrCode.startsWith("https://"), n = this.qrCode.startsWith("data:image");
|
|
7097
7123
|
if (!r && !n)
|
|
7098
7124
|
try {
|
|
7099
|
-
const i = await
|
|
7125
|
+
const i = await Ot.toDataURL(this.qrCode, {
|
|
7100
7126
|
width: 300,
|
|
7101
7127
|
margin: 2,
|
|
7102
7128
|
color: {
|
|
@@ -7250,8 +7276,8 @@ let P = class extends mt {
|
|
|
7250
7276
|
const d = /* @__PURE__ */ new Date(), l = d.getFullYear(), c = d.getMonth() + 1;
|
|
7251
7277
|
let h;
|
|
7252
7278
|
if (o.length === 2) {
|
|
7253
|
-
const u = parseInt(o, 10),
|
|
7254
|
-
u <
|
|
7279
|
+
const u = parseInt(o, 10), m = l % 100, p = Math.floor(l / 100) * 100;
|
|
7280
|
+
u < m && m - u > 80 ? h = p + 100 + u : h = p + u;
|
|
7255
7281
|
} else
|
|
7256
7282
|
return { valid: !1, error: "Invalid year format" };
|
|
7257
7283
|
return h < l ? { valid: !1, error: "Card has expired" } : h === l && s < c ? { valid: !1, error: "Card has expired" } : { valid: !0 };
|
|
@@ -7271,15 +7297,14 @@ let P = class extends mt {
|
|
|
7271
7297
|
return;
|
|
7272
7298
|
this.paymentLocked = !0;
|
|
7273
7299
|
const e = this.cardFormData.expiry.split("/"), t = (e[0] || "").trim(), n = `20${(e[1] || "").trim().substring(0, 2)}`, i = this.formatNamesUppercase();
|
|
7274
|
-
this.sdk.submitPayment(
|
|
7300
|
+
this.sdk.submitPayment(f.CARD, {
|
|
7275
7301
|
cardNumber: this.cardFormData.cardNumber.replace(/\s/g, ""),
|
|
7276
7302
|
expiryMonth: t,
|
|
7277
7303
|
expiryYear: n,
|
|
7278
7304
|
cvv: this.cardFormData.cvv,
|
|
7279
7305
|
firstName: i.firstName,
|
|
7280
7306
|
lastName: i.lastName,
|
|
7281
|
-
email: this.email
|
|
7282
|
-
phoneNumber: this.phoneNumber
|
|
7307
|
+
email: this.email
|
|
7283
7308
|
});
|
|
7284
7309
|
}
|
|
7285
7310
|
handlePayNowPayment() {
|
|
@@ -7287,11 +7312,10 @@ let P = class extends mt {
|
|
|
7287
7312
|
return;
|
|
7288
7313
|
this.paymentLocked = !0;
|
|
7289
7314
|
const e = this.formatNamesUppercase();
|
|
7290
|
-
this.sdk.submitPayment(
|
|
7315
|
+
this.sdk.submitPayment(f.PAYNOW, {
|
|
7291
7316
|
firstName: e.firstName,
|
|
7292
7317
|
lastName: e.lastName,
|
|
7293
|
-
email: this.email
|
|
7294
|
-
phoneNumber: this.phoneNumber
|
|
7318
|
+
email: this.email
|
|
7295
7319
|
});
|
|
7296
7320
|
}
|
|
7297
7321
|
handlePromptPayPayment() {
|
|
@@ -7299,11 +7323,10 @@ let P = class extends mt {
|
|
|
7299
7323
|
return;
|
|
7300
7324
|
this.paymentLocked = !0;
|
|
7301
7325
|
const e = this.formatNamesUppercase();
|
|
7302
|
-
this.sdk.submitPayment(
|
|
7326
|
+
this.sdk.submitPayment(f.PROMPTPAY, {
|
|
7303
7327
|
firstName: e.firstName,
|
|
7304
7328
|
lastName: e.lastName,
|
|
7305
|
-
email: this.email
|
|
7306
|
-
phoneNumber: this.phoneNumber
|
|
7329
|
+
email: this.email
|
|
7307
7330
|
});
|
|
7308
7331
|
}
|
|
7309
7332
|
handleDuitNowPayment() {
|
|
@@ -7311,11 +7334,10 @@ let P = class extends mt {
|
|
|
7311
7334
|
return;
|
|
7312
7335
|
this.paymentLocked = !0;
|
|
7313
7336
|
const e = this.formatNamesUppercase();
|
|
7314
|
-
this.sdk.submitPayment(
|
|
7337
|
+
this.sdk.submitPayment(f.DUITNOW, {
|
|
7315
7338
|
firstName: e.firstName,
|
|
7316
7339
|
lastName: e.lastName,
|
|
7317
|
-
email: this.email
|
|
7318
|
-
phoneNumber: this.phoneNumber
|
|
7340
|
+
email: this.email
|
|
7319
7341
|
});
|
|
7320
7342
|
}
|
|
7321
7343
|
handleGoPayPayment() {
|
|
@@ -7323,19 +7345,18 @@ let P = class extends mt {
|
|
|
7323
7345
|
return;
|
|
7324
7346
|
this.paymentLocked = !0;
|
|
7325
7347
|
const e = this.formatNamesUppercase();
|
|
7326
|
-
this.sdk.submitPayment(
|
|
7348
|
+
this.sdk.submitPayment(f.GOPAY, {
|
|
7327
7349
|
firstName: e.firstName,
|
|
7328
7350
|
lastName: e.lastName,
|
|
7329
|
-
email: this.email
|
|
7330
|
-
phoneNumber: this.phoneNumber
|
|
7351
|
+
email: this.email
|
|
7331
7352
|
});
|
|
7332
7353
|
}
|
|
7333
7354
|
handleBoostPayment() {
|
|
7334
7355
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7335
7356
|
return;
|
|
7336
7357
|
this.paymentLocked = !0;
|
|
7337
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7338
|
-
this.sdk.submitPayment(
|
|
7358
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.BOOST);
|
|
7359
|
+
this.sdk.submitPayment(f.BOOST, {
|
|
7339
7360
|
firstName: e.firstName,
|
|
7340
7361
|
lastName: e.lastName,
|
|
7341
7362
|
email: this.email,
|
|
@@ -7346,8 +7367,8 @@ let P = class extends mt {
|
|
|
7346
7367
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7347
7368
|
return;
|
|
7348
7369
|
this.paymentLocked = !0;
|
|
7349
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7350
|
-
this.sdk.submitPayment(
|
|
7370
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.SHOPEEPAY);
|
|
7371
|
+
this.sdk.submitPayment(f.SHOPEEPAY, {
|
|
7351
7372
|
firstName: e.firstName,
|
|
7352
7373
|
lastName: e.lastName,
|
|
7353
7374
|
email: this.email,
|
|
@@ -7358,8 +7379,8 @@ let P = class extends mt {
|
|
|
7358
7379
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7359
7380
|
return;
|
|
7360
7381
|
this.paymentLocked = !0;
|
|
7361
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7362
|
-
this.sdk.submitPayment(
|
|
7382
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ATOM);
|
|
7383
|
+
this.sdk.submitPayment(f.ATOM, {
|
|
7363
7384
|
firstName: e.firstName,
|
|
7364
7385
|
lastName: e.lastName,
|
|
7365
7386
|
email: this.email,
|
|
@@ -7370,8 +7391,8 @@ let P = class extends mt {
|
|
|
7370
7391
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7371
7392
|
return;
|
|
7372
7393
|
this.paymentLocked = !0;
|
|
7373
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7374
|
-
this.sdk.submitPayment(
|
|
7394
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.DANA);
|
|
7395
|
+
this.sdk.submitPayment(f.DANA, {
|
|
7375
7396
|
firstName: e.firstName,
|
|
7376
7397
|
lastName: e.lastName,
|
|
7377
7398
|
email: this.email,
|
|
@@ -7382,8 +7403,8 @@ let P = class extends mt {
|
|
|
7382
7403
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7383
7404
|
return;
|
|
7384
7405
|
this.paymentLocked = !0;
|
|
7385
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7386
|
-
this.sdk.submitPayment(
|
|
7406
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.TNG);
|
|
7407
|
+
this.sdk.submitPayment(f.TNG, {
|
|
7387
7408
|
firstName: e.firstName,
|
|
7388
7409
|
lastName: e.lastName,
|
|
7389
7410
|
email: this.email,
|
|
@@ -7394,8 +7415,8 @@ let P = class extends mt {
|
|
|
7394
7415
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7395
7416
|
return;
|
|
7396
7417
|
this.paymentLocked = !0;
|
|
7397
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7398
|
-
this.sdk.submitPayment(
|
|
7418
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ALIPAYCN);
|
|
7419
|
+
this.sdk.submitPayment(f.ALIPAYCN, {
|
|
7399
7420
|
firstName: e.firstName,
|
|
7400
7421
|
lastName: e.lastName,
|
|
7401
7422
|
email: this.email,
|
|
@@ -7406,8 +7427,8 @@ let P = class extends mt {
|
|
|
7406
7427
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7407
7428
|
return;
|
|
7408
7429
|
this.paymentLocked = !0;
|
|
7409
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7410
|
-
this.sdk.submitPayment(
|
|
7430
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ALIPAYHK);
|
|
7431
|
+
this.sdk.submitPayment(f.ALIPAYHK, {
|
|
7411
7432
|
firstName: e.firstName,
|
|
7412
7433
|
lastName: e.lastName,
|
|
7413
7434
|
email: this.email,
|
|
@@ -7418,8 +7439,8 @@ let P = class extends mt {
|
|
|
7418
7439
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7419
7440
|
return;
|
|
7420
7441
|
this.paymentLocked = !0;
|
|
7421
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7422
|
-
this.sdk.submitPayment(
|
|
7442
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.GCASH);
|
|
7443
|
+
this.sdk.submitPayment(f.GCASH, {
|
|
7423
7444
|
firstName: e.firstName,
|
|
7424
7445
|
lastName: e.lastName,
|
|
7425
7446
|
email: this.email,
|
|
@@ -7430,8 +7451,8 @@ let P = class extends mt {
|
|
|
7430
7451
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7431
7452
|
return;
|
|
7432
7453
|
this.paymentLocked = !0;
|
|
7433
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7434
|
-
this.sdk.submitPayment(
|
|
7454
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.KONBINI);
|
|
7455
|
+
this.sdk.submitPayment(f.KONBINI, {
|
|
7435
7456
|
firstName: e.firstName,
|
|
7436
7457
|
lastName: e.lastName,
|
|
7437
7458
|
email: this.email,
|
|
@@ -7442,8 +7463,8 @@ let P = class extends mt {
|
|
|
7442
7463
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7443
7464
|
return;
|
|
7444
7465
|
this.paymentLocked = !0;
|
|
7445
|
-
const e = this.getEffectivePhoneNumber(
|
|
7446
|
-
this.sdk.submitPayment(
|
|
7466
|
+
const e = this.getEffectivePhoneNumber(f.PAYEASY), t = this.formatNamesForPayEasy(this.firstName, this.lastName);
|
|
7467
|
+
this.sdk.submitPayment(f.PAYEASY, {
|
|
7447
7468
|
firstName: t.firstName,
|
|
7448
7469
|
lastName: t.lastName,
|
|
7449
7470
|
email: this.email,
|
|
@@ -7455,11 +7476,10 @@ let P = class extends mt {
|
|
|
7455
7476
|
return;
|
|
7456
7477
|
this.paymentLocked = !0;
|
|
7457
7478
|
const e = this.formatNamesUppercase();
|
|
7458
|
-
this.sdk.submitPayment(
|
|
7479
|
+
this.sdk.submitPayment(f.GRABPAY_SG, {
|
|
7459
7480
|
firstName: e.firstName,
|
|
7460
7481
|
lastName: e.lastName,
|
|
7461
|
-
email: this.email
|
|
7462
|
-
phoneNumber: this.phoneNumber
|
|
7482
|
+
email: this.email
|
|
7463
7483
|
});
|
|
7464
7484
|
}
|
|
7465
7485
|
handleFPXPayment() {
|
|
@@ -7467,11 +7487,10 @@ let P = class extends mt {
|
|
|
7467
7487
|
return;
|
|
7468
7488
|
this.paymentLocked = !0;
|
|
7469
7489
|
const e = this.formatNamesUppercase();
|
|
7470
|
-
this.sdk.submitPayment(
|
|
7490
|
+
this.sdk.submitPayment(f.FPX, {
|
|
7471
7491
|
firstName: e.firstName,
|
|
7472
7492
|
lastName: e.lastName,
|
|
7473
7493
|
email: this.email,
|
|
7474
|
-
phoneNumber: this.phoneNumber,
|
|
7475
7494
|
bankName: this.selectedBank.bankName
|
|
7476
7495
|
});
|
|
7477
7496
|
}
|
|
@@ -7536,11 +7555,10 @@ let P = class extends mt {
|
|
|
7536
7555
|
* - Other methods: Keep international format (+XX XXXX XXXX)
|
|
7537
7556
|
*/
|
|
7538
7557
|
getEffectivePhoneNumber(e) {
|
|
7539
|
-
if (this.phoneInputValue.trim())
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
return this.phoneNumber || "";
|
|
7558
|
+
if (!this.phoneInputValue.trim())
|
|
7559
|
+
return "";
|
|
7560
|
+
const t = this.getFormattedPhoneWithCountryCode();
|
|
7561
|
+
return this.isJapanOnlyPhoneMethod(e) ? this.formatPhoneForJapan(t) : t;
|
|
7544
7562
|
}
|
|
7545
7563
|
/**
|
|
7546
7564
|
* Format phone number for Japan (convert +81 to 0)
|
|
@@ -7588,7 +7606,7 @@ let P = class extends mt {
|
|
|
7588
7606
|
if (e.replace(/\D/g, "").length < this.MIN_PHONE_LENGTH)
|
|
7589
7607
|
return this.phoneInputError = `Phone number must be at least ${this.MIN_PHONE_LENGTH} digits`, !1;
|
|
7590
7608
|
try {
|
|
7591
|
-
if (!
|
|
7609
|
+
if (!Hd(e, this.selectedCountry))
|
|
7592
7610
|
return this.phoneInputError = "Please enter a valid phone number", !1;
|
|
7593
7611
|
} catch {
|
|
7594
7612
|
return this.phoneInputError = "Please enter a valid phone number", !1;
|
|
@@ -8083,7 +8101,7 @@ let P = class extends mt {
|
|
|
8083
8101
|
<div class="paynow-instructions">
|
|
8084
8102
|
<h3 class="instructions-title">How to Pay with Boost:</h3>
|
|
8085
8103
|
|
|
8086
|
-
${this.renderPhoneInput(
|
|
8104
|
+
${this.renderPhoneInput(f.BOOST)}
|
|
8087
8105
|
|
|
8088
8106
|
<div class="instruction-steps">
|
|
8089
8107
|
<div class="instruction-step">
|
|
@@ -8106,9 +8124,9 @@ let P = class extends mt {
|
|
|
8106
8124
|
<button
|
|
8107
8125
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8108
8126
|
@click=${this.handleBoostPayment}
|
|
8109
|
-
?disabled=${this.
|
|
8127
|
+
?disabled=${this.isPayButtonDisabled(f.BOOST)}
|
|
8110
8128
|
>
|
|
8111
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
|
|
8129
|
+
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.BOOST) && !this.hasPhoneNumber(f.BOOST) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
|
|
8112
8130
|
</button>
|
|
8113
8131
|
</div>
|
|
8114
8132
|
</div>
|
|
@@ -8121,7 +8139,7 @@ let P = class extends mt {
|
|
|
8121
8139
|
<div class="paynow-instructions">
|
|
8122
8140
|
<h3 class="instructions-title">How to Pay with ShopeePay:</h3>
|
|
8123
8141
|
|
|
8124
|
-
${this.renderPhoneInput(
|
|
8142
|
+
${this.renderPhoneInput(f.SHOPEEPAY)}
|
|
8125
8143
|
|
|
8126
8144
|
<div class="instruction-steps">
|
|
8127
8145
|
<div class="instruction-step">
|
|
@@ -8144,9 +8162,9 @@ let P = class extends mt {
|
|
|
8144
8162
|
<button
|
|
8145
8163
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8146
8164
|
@click=${this.handleShopeePayPayment}
|
|
8147
|
-
?disabled=${this.
|
|
8165
|
+
?disabled=${this.isPayButtonDisabled(f.SHOPEEPAY)}
|
|
8148
8166
|
>
|
|
8149
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
|
|
8167
|
+
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.SHOPEEPAY) && !this.hasPhoneNumber(f.SHOPEEPAY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
|
|
8150
8168
|
</button>
|
|
8151
8169
|
</div>
|
|
8152
8170
|
</div>
|
|
@@ -8159,7 +8177,7 @@ let P = class extends mt {
|
|
|
8159
8177
|
<div class="paynow-instructions">
|
|
8160
8178
|
<h3 class="instructions-title">How to Pay with Atome:</h3>
|
|
8161
8179
|
|
|
8162
|
-
${this.renderPhoneInput(
|
|
8180
|
+
${this.renderPhoneInput(f.ATOM)}
|
|
8163
8181
|
|
|
8164
8182
|
<div class="instruction-steps">
|
|
8165
8183
|
<div class="instruction-step">
|
|
@@ -8182,9 +8200,9 @@ let P = class extends mt {
|
|
|
8182
8200
|
<button
|
|
8183
8201
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8184
8202
|
@click=${this.handleAtomPayment}
|
|
8185
|
-
?disabled=${this.
|
|
8203
|
+
?disabled=${this.isPayButtonDisabled(f.ATOM)}
|
|
8186
8204
|
>
|
|
8187
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
|
|
8205
|
+
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.ATOM) && !this.hasPhoneNumber(f.ATOM) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
|
|
8188
8206
|
</button>
|
|
8189
8207
|
</div>
|
|
8190
8208
|
</div>
|
|
@@ -8197,7 +8215,7 @@ let P = class extends mt {
|
|
|
8197
8215
|
<div class="paynow-instructions">
|
|
8198
8216
|
<h3 class="instructions-title">How to Pay with Dana:</h3>
|
|
8199
8217
|
|
|
8200
|
-
${this.renderPhoneInput(
|
|
8218
|
+
${this.renderPhoneInput(f.DANA)}
|
|
8201
8219
|
|
|
8202
8220
|
<div class="instruction-steps">
|
|
8203
8221
|
<div class="instruction-step">
|
|
@@ -8235,7 +8253,7 @@ let P = class extends mt {
|
|
|
8235
8253
|
<div class="paynow-instructions">
|
|
8236
8254
|
<h3 class="instructions-title">How to Pay with Touch 'n Go:</h3>
|
|
8237
8255
|
|
|
8238
|
-
${this.renderPhoneInput(
|
|
8256
|
+
${this.renderPhoneInput(f.TNG)}
|
|
8239
8257
|
|
|
8240
8258
|
<div class="instruction-steps">
|
|
8241
8259
|
<div class="instruction-step">
|
|
@@ -8273,7 +8291,7 @@ let P = class extends mt {
|
|
|
8273
8291
|
<div class="paynow-instructions">
|
|
8274
8292
|
<h3 class="instructions-title">How to Pay with Alipay:</h3>
|
|
8275
8293
|
|
|
8276
|
-
${this.renderPhoneInput(
|
|
8294
|
+
${this.renderPhoneInput(f.ALIPAYCN)}
|
|
8277
8295
|
|
|
8278
8296
|
<div class="instruction-steps">
|
|
8279
8297
|
<div class="instruction-step">
|
|
@@ -8311,7 +8329,7 @@ let P = class extends mt {
|
|
|
8311
8329
|
<div class="paynow-instructions">
|
|
8312
8330
|
<h3 class="instructions-title">How to Pay with AlipayHK:</h3>
|
|
8313
8331
|
|
|
8314
|
-
${this.renderPhoneInput(
|
|
8332
|
+
${this.renderPhoneInput(f.ALIPAYHK)}
|
|
8315
8333
|
|
|
8316
8334
|
<div class="instruction-steps">
|
|
8317
8335
|
<div class="instruction-step">
|
|
@@ -8349,7 +8367,7 @@ let P = class extends mt {
|
|
|
8349
8367
|
<div class="paynow-instructions">
|
|
8350
8368
|
<h3 class="instructions-title">How to Pay with GCash:</h3>
|
|
8351
8369
|
|
|
8352
|
-
${this.renderPhoneInput(
|
|
8370
|
+
${this.renderPhoneInput(f.GCASH)}
|
|
8353
8371
|
|
|
8354
8372
|
<div class="instruction-steps">
|
|
8355
8373
|
<div class="instruction-step">
|
|
@@ -8387,7 +8405,7 @@ let P = class extends mt {
|
|
|
8387
8405
|
<div class="paynow-instructions">
|
|
8388
8406
|
<h3 class="instructions-title">How to Pay with Konbini:</h3>
|
|
8389
8407
|
|
|
8390
|
-
${this.renderPhoneInput(
|
|
8408
|
+
${this.renderPhoneInput(f.KONBINI)}
|
|
8391
8409
|
|
|
8392
8410
|
<div class="instruction-steps">
|
|
8393
8411
|
<div class="instruction-step">
|
|
@@ -8410,9 +8428,9 @@ let P = class extends mt {
|
|
|
8410
8428
|
<button
|
|
8411
8429
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8412
8430
|
@click=${this.handleKonbiniPayment}
|
|
8413
|
-
?disabled=${this.
|
|
8431
|
+
?disabled=${this.isPayButtonDisabled(f.KONBINI)}
|
|
8414
8432
|
>
|
|
8415
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
|
|
8433
|
+
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.KONBINI) && !this.hasPhoneNumber(f.KONBINI) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
|
|
8416
8434
|
</button>
|
|
8417
8435
|
</div>
|
|
8418
8436
|
</div>
|
|
@@ -8425,7 +8443,7 @@ let P = class extends mt {
|
|
|
8425
8443
|
<div class="paynow-instructions">
|
|
8426
8444
|
<h3 class="instructions-title">How to Pay with Pay-Easy:</h3>
|
|
8427
8445
|
|
|
8428
|
-
${this.renderPhoneInput(
|
|
8446
|
+
${this.renderPhoneInput(f.PAYEASY)}
|
|
8429
8447
|
|
|
8430
8448
|
<div class="instruction-steps">
|
|
8431
8449
|
<div class="instruction-step">
|
|
@@ -8450,9 +8468,9 @@ let P = class extends mt {
|
|
|
8450
8468
|
<button
|
|
8451
8469
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8452
8470
|
@click=${this.handlePayEasyPayment}
|
|
8453
|
-
?disabled=${this.
|
|
8471
|
+
?disabled=${this.isPayButtonDisabled(f.PAYEASY)}
|
|
8454
8472
|
>
|
|
8455
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
|
|
8473
|
+
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.PAYEASY) && !this.hasPhoneNumber(f.PAYEASY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
|
|
8456
8474
|
</button>
|
|
8457
8475
|
</div>
|
|
8458
8476
|
</div>
|
|
@@ -8676,44 +8694,44 @@ let P = class extends mt {
|
|
|
8676
8694
|
}
|
|
8677
8695
|
const n = (o) => {
|
|
8678
8696
|
switch (o) {
|
|
8679
|
-
case
|
|
8697
|
+
case f.CARD:
|
|
8680
8698
|
return "Card";
|
|
8681
|
-
case
|
|
8699
|
+
case f.PAYNOW:
|
|
8682
8700
|
return "PayNow";
|
|
8683
|
-
case
|
|
8701
|
+
case f.PROMPTPAY:
|
|
8684
8702
|
return "PromptPay";
|
|
8685
|
-
case
|
|
8703
|
+
case f.DUITNOW:
|
|
8686
8704
|
return "DuitNow";
|
|
8687
|
-
case
|
|
8705
|
+
case f.GOPAY:
|
|
8688
8706
|
return "GoPay";
|
|
8689
|
-
case
|
|
8707
|
+
case f.BOOST:
|
|
8690
8708
|
return "Boost";
|
|
8691
|
-
case
|
|
8709
|
+
case f.SHOPEEPAY:
|
|
8692
8710
|
return "ShopeePay";
|
|
8693
|
-
case
|
|
8711
|
+
case f.ATOM:
|
|
8694
8712
|
return "Atome";
|
|
8695
|
-
case
|
|
8713
|
+
case f.DANA:
|
|
8696
8714
|
return "Dana";
|
|
8697
|
-
case
|
|
8715
|
+
case f.TNG:
|
|
8698
8716
|
return "Touch 'n Go";
|
|
8699
|
-
case
|
|
8717
|
+
case f.ALIPAYCN:
|
|
8700
8718
|
return "Alipay";
|
|
8701
|
-
case
|
|
8719
|
+
case f.ALIPAYHK:
|
|
8702
8720
|
return "AlipayHK";
|
|
8703
|
-
case
|
|
8721
|
+
case f.GCASH:
|
|
8704
8722
|
return "GCash";
|
|
8705
|
-
case
|
|
8723
|
+
case f.KONBINI:
|
|
8706
8724
|
return "Konbini";
|
|
8707
|
-
case
|
|
8725
|
+
case f.PAYEASY:
|
|
8708
8726
|
return "Pay-Easy";
|
|
8709
|
-
case
|
|
8727
|
+
case f.GRABPAY_SG:
|
|
8710
8728
|
return "GrabPay";
|
|
8711
|
-
case
|
|
8729
|
+
case f.FPX:
|
|
8712
8730
|
return "FPX Online Banking";
|
|
8713
8731
|
default:
|
|
8714
8732
|
return o;
|
|
8715
8733
|
}
|
|
8716
|
-
}, i = (o) => o ===
|
|
8734
|
+
}, i = (o) => o === f.CARD ? g`
|
|
8717
8735
|
<div class="method-icon-right">
|
|
8718
8736
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
8719
8737
|
<path
|
|
@@ -8726,11 +8744,11 @@ let P = class extends mt {
|
|
|
8726
8744
|
/>
|
|
8727
8745
|
</svg>
|
|
8728
8746
|
</div>
|
|
8729
|
-
` : o ===
|
|
8747
|
+
` : o === f.PAYNOW ? g`
|
|
8730
8748
|
<div class="method-icon-right">
|
|
8731
8749
|
<img src="${ai}" alt="PayNow" style="width: 45px; height: auto;" />
|
|
8732
8750
|
</div>
|
|
8733
|
-
` : o ===
|
|
8751
|
+
` : o === f.PROMPTPAY ? g`
|
|
8734
8752
|
<div class="method-icon-right">
|
|
8735
8753
|
<img
|
|
8736
8754
|
src="${oi}"
|
|
@@ -8738,19 +8756,19 @@ let P = class extends mt {
|
|
|
8738
8756
|
style="width: 45px; height: auto;"
|
|
8739
8757
|
/>
|
|
8740
8758
|
</div>
|
|
8741
|
-
` : o ===
|
|
8759
|
+
` : o === f.DUITNOW ? g`
|
|
8742
8760
|
<div class="method-icon-right">
|
|
8743
8761
|
<img src="${si}" alt="DuitNow" style="width: 45px; height: auto;" />
|
|
8744
8762
|
</div>
|
|
8745
|
-
` : o ===
|
|
8763
|
+
` : o === f.GOPAY ? g`
|
|
8746
8764
|
<div class="method-icon-right">
|
|
8747
8765
|
<img src="${di}" alt="GoPay" style="width: 45px; height: auto;" />
|
|
8748
8766
|
</div>
|
|
8749
|
-
` : o ===
|
|
8767
|
+
` : o === f.BOOST ? g`
|
|
8750
8768
|
<div class="method-icon-right">
|
|
8751
8769
|
<img src="${li}" alt="Boost" style="width: 45px; height: auto;" />
|
|
8752
8770
|
</div>
|
|
8753
|
-
` : o ===
|
|
8771
|
+
` : o === f.SHOPEEPAY ? g`
|
|
8754
8772
|
<div class="method-icon-right">
|
|
8755
8773
|
<img
|
|
8756
8774
|
src="${ci}"
|
|
@@ -8758,23 +8776,23 @@ let P = class extends mt {
|
|
|
8758
8776
|
style="width: 45px; height: auto;"
|
|
8759
8777
|
/>
|
|
8760
8778
|
</div>
|
|
8761
|
-
` : o ===
|
|
8779
|
+
` : o === f.ATOM ? g`
|
|
8762
8780
|
<div class="method-icon-right">
|
|
8763
8781
|
<img src="${ui}" alt="Atome" style="width: 45px; height: auto;" />
|
|
8764
8782
|
</div>
|
|
8765
|
-
` : o ===
|
|
8783
|
+
` : o === f.DANA ? g`
|
|
8766
8784
|
<div class="method-icon-right">
|
|
8767
8785
|
<img src="${hi}" alt="Dana" style="width: 45px; height: auto;" />
|
|
8768
8786
|
</div>
|
|
8769
|
-
` : o ===
|
|
8787
|
+
` : o === f.TNG ? g`
|
|
8770
8788
|
<div class="method-icon-right">
|
|
8771
|
-
<img src="${
|
|
8789
|
+
<img src="${fi}" alt="Touch 'n Go" style="width: 45px; height: auto;" />
|
|
8772
8790
|
</div>
|
|
8773
|
-
` : o ===
|
|
8791
|
+
` : o === f.ALIPAYCN ? g`
|
|
8774
8792
|
<div class="method-icon-right">
|
|
8775
|
-
<img src="${
|
|
8793
|
+
<img src="${pi}" alt="Alipay" style="width: 45px; height: auto;" />
|
|
8776
8794
|
</div>
|
|
8777
|
-
` : o ===
|
|
8795
|
+
` : o === f.ALIPAYHK ? g`
|
|
8778
8796
|
<div class="method-icon-right">
|
|
8779
8797
|
<img
|
|
8780
8798
|
src="${mi}"
|
|
@@ -8782,23 +8800,23 @@ let P = class extends mt {
|
|
|
8782
8800
|
style="width: 45px; height: auto;"
|
|
8783
8801
|
/>
|
|
8784
8802
|
</div>
|
|
8785
|
-
` : o ===
|
|
8803
|
+
` : o === f.GCASH ? g`
|
|
8786
8804
|
<div class="method-icon-right">
|
|
8787
8805
|
<img src="${$i}" alt="GCash" style="width: 45px; height: auto;" />
|
|
8788
8806
|
</div>
|
|
8789
|
-
` : o ===
|
|
8807
|
+
` : o === f.KONBINI ? g`
|
|
8790
8808
|
<div class="method-icon-right">
|
|
8791
8809
|
<img src="${gi}" alt="Konbini" style="width: 45px; height: auto;" />
|
|
8792
8810
|
</div>
|
|
8793
|
-
` : o ===
|
|
8811
|
+
` : o === f.PAYEASY ? g`
|
|
8794
8812
|
<div class="method-icon-right">
|
|
8795
8813
|
<img src="${yi}" alt="Pay-Easy" style="width: 45px; height: auto;" />
|
|
8796
8814
|
</div>
|
|
8797
|
-
` : o ===
|
|
8815
|
+
` : o === f.GRABPAY_SG ? g`
|
|
8798
8816
|
<div class="method-icon-right">
|
|
8799
8817
|
<img src="${bi}" alt="GrabPay" style="width: 45px; height: auto;" />
|
|
8800
8818
|
</div>
|
|
8801
|
-
` : o ===
|
|
8819
|
+
` : o === f.FPX ? g`
|
|
8802
8820
|
<div class="method-icon-right">
|
|
8803
8821
|
<img
|
|
8804
8822
|
src="${vi}"
|
|
@@ -8841,7 +8859,7 @@ let P = class extends mt {
|
|
|
8841
8859
|
${i(o.id)}
|
|
8842
8860
|
</div>
|
|
8843
8861
|
${s ? g`<div class="method-content">
|
|
8844
|
-
${o.id ===
|
|
8862
|
+
${o.id === f.CARD ? this.renderCardForm() : o.id === f.PAYNOW ? this.renderPayNowContent() : o.id === f.PROMPTPAY ? this.renderPromptPayContent() : o.id === f.DUITNOW ? this.renderDuitNowContent() : o.id === f.GOPAY ? this.renderGoPayContent() : o.id === f.BOOST ? this.renderBoostContent() : o.id === f.SHOPEEPAY ? this.renderShopeePayContent() : o.id === f.ATOM ? this.renderAtomContent() : o.id === f.DANA ? this.renderDanaContent() : o.id === f.TNG ? this.renderTngContent() : o.id === f.ALIPAYCN ? this.renderAlipayCNContent() : o.id === f.ALIPAYHK ? this.renderAlipayHKContent() : o.id === f.GCASH ? this.renderGCashContent() : o.id === f.KONBINI ? this.renderKonbiniContent() : o.id === f.PAYEASY ? this.renderPayEasyContent() : o.id === f.GRABPAY_SG ? this.renderGrabPaySGContent() : o.id === f.FPX ? this.renderFPXContent() : null}
|
|
8845
8863
|
</div>` : ""}
|
|
8846
8864
|
</div>
|
|
8847
8865
|
`;
|
|
@@ -8855,7 +8873,7 @@ let P = class extends mt {
|
|
|
8855
8873
|
`;
|
|
8856
8874
|
}
|
|
8857
8875
|
};
|
|
8858
|
-
|
|
8876
|
+
w.styles = Tn`
|
|
8859
8877
|
/* ═══════════════════════════════════════════════════════════════
|
|
8860
8878
|
CSS CUSTOM PROPERTIES (Theming)
|
|
8861
8879
|
═══════════════════════════════════════════════════════════════ */
|
|
@@ -10506,119 +10524,116 @@ P.styles = Tn`
|
|
|
10506
10524
|
`;
|
|
10507
10525
|
C([
|
|
10508
10526
|
M({ type: Object })
|
|
10509
|
-
],
|
|
10527
|
+
], w.prototype, "config", 2);
|
|
10510
10528
|
C([
|
|
10511
10529
|
M({ type: Object })
|
|
10512
|
-
],
|
|
10530
|
+
], w.prototype, "adapters", 2);
|
|
10513
10531
|
C([
|
|
10514
10532
|
M({ type: Number })
|
|
10515
|
-
],
|
|
10516
|
-
C([
|
|
10517
|
-
M({ type: String })
|
|
10518
|
-
], P.prototype, "currency", 2);
|
|
10533
|
+
], w.prototype, "amount", 2);
|
|
10519
10534
|
C([
|
|
10520
10535
|
M({ type: String })
|
|
10521
|
-
],
|
|
10536
|
+
], w.prototype, "currency", 2);
|
|
10522
10537
|
C([
|
|
10523
10538
|
M({ type: String })
|
|
10524
|
-
],
|
|
10539
|
+
], w.prototype, "orderId", 2);
|
|
10525
10540
|
C([
|
|
10526
10541
|
M({ type: String })
|
|
10527
|
-
],
|
|
10542
|
+
], w.prototype, "firstName", 2);
|
|
10528
10543
|
C([
|
|
10529
10544
|
M({ type: String })
|
|
10530
|
-
],
|
|
10545
|
+
], w.prototype, "lastName", 2);
|
|
10531
10546
|
C([
|
|
10532
10547
|
M({ type: String })
|
|
10533
|
-
],
|
|
10548
|
+
], w.prototype, "email", 2);
|
|
10534
10549
|
C([
|
|
10535
10550
|
M({ type: Array })
|
|
10536
|
-
],
|
|
10551
|
+
], w.prototype, "excludePaymentMethods", 2);
|
|
10537
10552
|
C([
|
|
10538
10553
|
M({ type: String })
|
|
10539
|
-
],
|
|
10554
|
+
], w.prototype, "width", 2);
|
|
10540
10555
|
C([
|
|
10541
10556
|
M({ type: String })
|
|
10542
|
-
],
|
|
10557
|
+
], w.prototype, "maxWidth", 2);
|
|
10543
10558
|
C([
|
|
10544
10559
|
M({ type: Object })
|
|
10545
|
-
],
|
|
10560
|
+
], w.prototype, "appearance", 2);
|
|
10546
10561
|
C([
|
|
10547
10562
|
A()
|
|
10548
|
-
],
|
|
10563
|
+
], w.prototype, "currentState", 2);
|
|
10549
10564
|
C([
|
|
10550
10565
|
A()
|
|
10551
|
-
],
|
|
10566
|
+
], w.prototype, "selectedMethod", 2);
|
|
10552
10567
|
C([
|
|
10553
10568
|
A()
|
|
10554
|
-
],
|
|
10569
|
+
], w.prototype, "cardFormData", 2);
|
|
10555
10570
|
C([
|
|
10556
10571
|
A()
|
|
10557
|
-
],
|
|
10572
|
+
], w.prototype, "formErrors", 2);
|
|
10558
10573
|
C([
|
|
10559
10574
|
A()
|
|
10560
|
-
],
|
|
10575
|
+
], w.prototype, "paymentData", 2);
|
|
10561
10576
|
C([
|
|
10562
10577
|
A()
|
|
10563
|
-
],
|
|
10578
|
+
], w.prototype, "feesExpanded", 2);
|
|
10564
10579
|
C([
|
|
10565
10580
|
A()
|
|
10566
|
-
],
|
|
10581
|
+
], w.prototype, "isInitializing", 2);
|
|
10567
10582
|
C([
|
|
10568
10583
|
A()
|
|
10569
|
-
],
|
|
10584
|
+
], w.prototype, "cardBrand", 2);
|
|
10570
10585
|
C([
|
|
10571
10586
|
A()
|
|
10572
|
-
],
|
|
10587
|
+
], w.prototype, "paymentLocked", 2);
|
|
10573
10588
|
C([
|
|
10574
10589
|
A()
|
|
10575
|
-
],
|
|
10590
|
+
], w.prototype, "show3DSModal", 2);
|
|
10576
10591
|
C([
|
|
10577
10592
|
A()
|
|
10578
|
-
],
|
|
10593
|
+
], w.prototype, "showQRModal", 2);
|
|
10579
10594
|
C([
|
|
10580
10595
|
A()
|
|
10581
|
-
],
|
|
10596
|
+
], w.prototype, "nextActionUrl", 2);
|
|
10582
10597
|
C([
|
|
10583
10598
|
A()
|
|
10584
|
-
],
|
|
10599
|
+
], w.prototype, "qrCode", 2);
|
|
10585
10600
|
C([
|
|
10586
10601
|
A()
|
|
10587
|
-
],
|
|
10602
|
+
], w.prototype, "qrCodeDataUrl", 2);
|
|
10588
10603
|
C([
|
|
10589
10604
|
A()
|
|
10590
|
-
],
|
|
10605
|
+
], w.prototype, "qrAutoResumeTimer", 2);
|
|
10591
10606
|
C([
|
|
10592
10607
|
A()
|
|
10593
|
-
],
|
|
10608
|
+
], w.prototype, "qrPollingInProgress", 2);
|
|
10594
10609
|
C([
|
|
10595
10610
|
A()
|
|
10596
|
-
],
|
|
10611
|
+
], w.prototype, "availableBanks", 2);
|
|
10597
10612
|
C([
|
|
10598
10613
|
A()
|
|
10599
|
-
],
|
|
10614
|
+
], w.prototype, "selectedBank", 2);
|
|
10600
10615
|
C([
|
|
10601
10616
|
A()
|
|
10602
|
-
],
|
|
10617
|
+
], w.prototype, "banksLoading", 2);
|
|
10603
10618
|
C([
|
|
10604
10619
|
A()
|
|
10605
|
-
],
|
|
10620
|
+
], w.prototype, "bankSearchQuery", 2);
|
|
10606
10621
|
C([
|
|
10607
10622
|
A()
|
|
10608
|
-
],
|
|
10623
|
+
], w.prototype, "phoneInputValue", 2);
|
|
10609
10624
|
C([
|
|
10610
10625
|
A()
|
|
10611
|
-
],
|
|
10626
|
+
], w.prototype, "phoneInputError", 2);
|
|
10612
10627
|
C([
|
|
10613
10628
|
A()
|
|
10614
|
-
],
|
|
10615
|
-
|
|
10629
|
+
], w.prototype, "selectedCountry", 2);
|
|
10630
|
+
w = C([
|
|
10616
10631
|
Jn("one-payment")
|
|
10617
|
-
],
|
|
10632
|
+
], w);
|
|
10618
10633
|
const Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10619
10634
|
__proto__: null,
|
|
10620
10635
|
get OnePayment() {
|
|
10621
|
-
return
|
|
10636
|
+
return w;
|
|
10622
10637
|
}
|
|
10623
10638
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10624
10639
|
function qd() {
|
|
@@ -10627,7 +10642,7 @@ function qd() {
|
|
|
10627
10642
|
});
|
|
10628
10643
|
}
|
|
10629
10644
|
export {
|
|
10630
|
-
|
|
10631
|
-
|
|
10645
|
+
w as OnePayment,
|
|
10646
|
+
w as OnePaymentElement,
|
|
10632
10647
|
qd as defineCustomElements
|
|
10633
10648
|
};
|