@one-payments/web-components 1.7.3 → 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 +286 -303
- package/dist/one-payment.d.ts +1 -21
- package/dist/one-payment.d.ts.map +1 -1
- package/dist/one-payment.js +15 -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:
|
|
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: On, defineProperty: Fn, getOwnPropertyDescriptor: Dn, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return r;
|
|
76
|
-
} }, Te = (e, t) => !
|
|
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,7 +85,7 @@ 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) {
|
|
@@ -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
|
}
|
|
@@ -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) {
|
|
@@ -316,8 +316,8 @@ class bt {
|
|
|
316
316
|
for (; (i = Q.nextNode()) !== null && d.length < s; ) {
|
|
317
317
|
if (i.nodeType === 1) {
|
|
318
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),
|
|
320
|
-
d.push({ type: 1, index: a, name:
|
|
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;
|
|
@@ -364,7 +364,7 @@ class Vn {
|
|
|
364
364
|
for (; d !== void 0; ) {
|
|
365
365
|
if (o === d.index) {
|
|
366
366
|
let l;
|
|
367
|
-
d.type === 2 ? l = new
|
|
367
|
+
d.type === 2 ? l = new Ft(a, a.nextSibling, this, t) : d.type === 1 ? l = new d.ctor(a, d.name, d.strings, this, t) : d.type === 6 && (l = new Wn(a, this, t)), this._$AV.push(l), d = n[++s];
|
|
368
368
|
}
|
|
369
369
|
o !== (d == null ? void 0 : d.index) && (a = Q.nextNode(), o++);
|
|
370
370
|
}
|
|
@@ -375,7 +375,7 @@ class Vn {
|
|
|
375
375
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, r), r += n.strings.length - 2) : n._$AI(t[r])), r++;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
class
|
|
378
|
+
class Ft {
|
|
379
379
|
get _$AU() {
|
|
380
380
|
var t;
|
|
381
381
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -423,7 +423,7 @@ class Ot {
|
|
|
423
423
|
Me(this._$AH) || (this._$AH = [], this._$AR());
|
|
424
424
|
const r = this._$AH;
|
|
425
425
|
let n, i = 0;
|
|
426
|
-
for (const a of t) i === r.length ? r.push(n = new
|
|
426
|
+
for (const a of t) i === r.length ? r.push(n = new Ft(this.O(gt()), this.O(gt()), this, this.options)) : n = r[i], n._$AI(a), i++;
|
|
427
427
|
i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
|
|
428
428
|
}
|
|
429
429
|
_$AR(t = this._$AA.nextSibling, r) {
|
|
@@ -504,14 +504,14 @@ class Wn {
|
|
|
504
504
|
at(this, t);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const oe =
|
|
508
|
-
oe == null || oe(bt,
|
|
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$;
|
|
512
512
|
if (i === void 0) {
|
|
513
513
|
const a = (r == null ? void 0 : r.renderBefore) ?? null;
|
|
514
|
-
n._$litPart$ = i = new
|
|
514
|
+
n._$litPart$ = i = new Ft(t.insertBefore(gt(), a), a, void 0, r ?? {});
|
|
515
515
|
}
|
|
516
516
|
return i._$AI(e), i;
|
|
517
517
|
};
|
|
@@ -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 p = {
|
|
|
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;
|
|
@@ -967,74 +967,74 @@ var ii = class {
|
|
|
967
967
|
enabled: !0,
|
|
968
968
|
priority: u++
|
|
969
969
|
}), l.result.paymentMethods.forEach((m) => {
|
|
970
|
-
const
|
|
971
|
-
|
|
970
|
+
const p = m.type.toLowerCase(), $ = m.capabilities || [];
|
|
971
|
+
p.includes("card") || ((p.includes("paynow") || $.includes("payments_pay_now")) && h.push({
|
|
972
972
|
id: "paynow",
|
|
973
973
|
enabled: !0,
|
|
974
974
|
priority: u++
|
|
975
|
-
}), (
|
|
975
|
+
}), (p.includes("promptpay") || p.includes("prompt pay") || $.includes("payments_prompt_pay")) && h.push({
|
|
976
976
|
id: "promptpay",
|
|
977
977
|
enabled: !0,
|
|
978
978
|
priority: u++
|
|
979
|
-
}), (
|
|
979
|
+
}), (p.includes("duitnow") || p.includes("duit now") || $.includes("payments_duit_now")) && h.push({
|
|
980
980
|
id: "duitnow",
|
|
981
981
|
enabled: !0,
|
|
982
982
|
priority: u++
|
|
983
|
-
}), (
|
|
983
|
+
}), (p.includes("gopay") || p.includes("go pay") || $.includes("payments_go_pay")) && h.push({
|
|
984
984
|
id: "gopay",
|
|
985
985
|
enabled: !0,
|
|
986
986
|
priority: u++
|
|
987
|
-
}), (
|
|
987
|
+
}), (p.includes("boost") || $.includes("payments_boost")) && h.push({
|
|
988
988
|
id: "boost",
|
|
989
989
|
enabled: !0,
|
|
990
990
|
priority: u++
|
|
991
|
-
}), (
|
|
991
|
+
}), (p.includes("shopeepay") || p.includes("shopee pay") || p.includes("shopee_pay") || $.includes("payments_shopee_pay")) && h.push({
|
|
992
992
|
id: "shopeepay",
|
|
993
993
|
enabled: !0,
|
|
994
994
|
priority: u++
|
|
995
|
-
}), (
|
|
995
|
+
}), (p.includes("atom") || p.includes("atome") || $.includes("payments_atome")) && h.push({
|
|
996
996
|
id: "atom",
|
|
997
997
|
enabled: !0,
|
|
998
998
|
priority: u++
|
|
999
|
-
}), (
|
|
999
|
+
}), (p.includes("dana") || $.includes("payments_dana")) && h.push({
|
|
1000
1000
|
id: "dana",
|
|
1001
1001
|
enabled: !0,
|
|
1002
1002
|
priority: u++
|
|
1003
|
-
}), (
|
|
1003
|
+
}), (p.includes("tng") || p.includes("touch") || $.includes("payments_tng")) && h.push({
|
|
1004
1004
|
id: "tng",
|
|
1005
1005
|
enabled: !0,
|
|
1006
1006
|
priority: u++
|
|
1007
|
-
}), (
|
|
1007
|
+
}), (p.includes("alipaycn") || p.includes("alipay cn") || p.includes("alipay_cn") || $.includes("payments_alipaycn")) && h.push({
|
|
1008
1008
|
id: "alipaycn",
|
|
1009
1009
|
enabled: !0,
|
|
1010
1010
|
priority: u++
|
|
1011
|
-
}), (
|
|
1011
|
+
}), (p.includes("alipayhk") || p.includes("alipay hk") || p.includes("alipay_hk") || $.includes("payments_alipayhk")) && h.push({
|
|
1012
1012
|
id: "alipayhk",
|
|
1013
1013
|
enabled: !0,
|
|
1014
1014
|
priority: u++
|
|
1015
|
-
}), (
|
|
1015
|
+
}), (p.includes("gcash") || p.includes("g cash") || $.includes("payments_gcash")) && h.push({
|
|
1016
1016
|
id: "gcash",
|
|
1017
1017
|
enabled: !0,
|
|
1018
1018
|
priority: u++
|
|
1019
|
-
}), (
|
|
1019
|
+
}), (p.includes("konbini") || $.includes("payments_konbini")) && h.push({
|
|
1020
1020
|
id: "konbini",
|
|
1021
1021
|
enabled: !0,
|
|
1022
1022
|
priority: u++
|
|
1023
|
-
}), (
|
|
1023
|
+
}), (p.includes("payeasy") || p.includes("pay-easy") || p.includes("pay easy") || $.includes("payments_payeasy")) && h.push({
|
|
1024
1024
|
id: "payeasy",
|
|
1025
1025
|
enabled: !0,
|
|
1026
1026
|
priority: u++
|
|
1027
|
-
}), (
|
|
1027
|
+
}), (p.includes("grabpay") || p.includes("grab pay") || $.includes("payments_grabpay_sg")) && h.push({
|
|
1028
1028
|
id: "grabpay_sg",
|
|
1029
1029
|
enabled: !0,
|
|
1030
1030
|
priority: u++
|
|
1031
|
-
}), (
|
|
1031
|
+
}), (p.includes("fpx") || $.includes("payments_fpx")) && h.push({
|
|
1032
1032
|
id: "fpx",
|
|
1033
1033
|
enabled: !0,
|
|
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
|
|
@@ -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 m = t.bankName ? String(t.bankName) : void 0,
|
|
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),
|
|
@@ -1234,7 +1234,7 @@ var ii = class {
|
|
|
1234
1234
|
};
|
|
1235
1235
|
return await this.adapters.http.patch(
|
|
1236
1236
|
`${this.getApiBaseUrl()}/payment-intent/confirm`,
|
|
1237
|
-
|
|
1237
|
+
p,
|
|
1238
1238
|
{
|
|
1239
1239
|
"x-token": this.paymentToken
|
|
1240
1240
|
}
|
|
@@ -1242,7 +1242,7 @@ 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";
|
|
@@ -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
|
};
|
|
@@ -1740,7 +1740,7 @@ Vr.prototype = {
|
|
|
1740
1740
|
break;
|
|
1741
1741
|
}
|
|
1742
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
|
-
var
|
|
1743
|
+
var p = n.length === 0 ? e : r.reduce(function($, N) {
|
|
1744
1744
|
switch (N) {
|
|
1745
1745
|
case "d":
|
|
1746
1746
|
return $ + (n[0] === 0 ? "" : t.addLeadingZero(n[0]));
|
|
@@ -1752,7 +1752,7 @@ Vr.prototype = {
|
|
|
1752
1752
|
return $ + (m ? t.addLeadingZeroForYear(n[2], !0) : "");
|
|
1753
1753
|
}
|
|
1754
1754
|
}, "");
|
|
1755
|
-
return
|
|
1755
|
+
return p;
|
|
1756
1756
|
},
|
|
1757
1757
|
getRangeFixedDate: function(e) {
|
|
1758
1758
|
var t = this, r = t.datePattern, n = t.dateMin || [], i = t.dateMax || [];
|
|
@@ -1827,29 +1827,29 @@ 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(m,
|
|
1830
|
+
return e.length === 6 && (r.forEach(function(m, p) {
|
|
1831
1831
|
switch (m) {
|
|
1832
1832
|
case "s":
|
|
1833
|
-
i =
|
|
1833
|
+
i = p * 2;
|
|
1834
1834
|
break;
|
|
1835
1835
|
case "m":
|
|
1836
|
-
a =
|
|
1836
|
+
a = p * 2;
|
|
1837
1837
|
break;
|
|
1838
1838
|
case "h":
|
|
1839
|
-
o =
|
|
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(m,
|
|
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
1843
|
switch (m) {
|
|
1844
1844
|
case "m":
|
|
1845
|
-
a =
|
|
1845
|
+
a = p * 2;
|
|
1846
1846
|
break;
|
|
1847
1847
|
case "h":
|
|
1848
|
-
o =
|
|
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(m,
|
|
1852
|
-
switch (
|
|
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
|
+
switch (p) {
|
|
1853
1853
|
case "s":
|
|
1854
1854
|
return m + t.addLeadingZero(n[2]);
|
|
1855
1855
|
case "m":
|
|
@@ -2265,10 +2265,10 @@ 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
|
-
}, Kr = {},
|
|
2271
|
-
let
|
|
2270
|
+
}, Kr = {}, F = {};
|
|
2271
|
+
let Fe;
|
|
2272
2272
|
const Ii = [
|
|
2273
2273
|
0,
|
|
2274
2274
|
// Not used
|
|
@@ -2313,30 +2313,30 @@ const Ii = [
|
|
|
2313
2313
|
3532,
|
|
2314
2314
|
3706
|
|
2315
2315
|
];
|
|
2316
|
-
|
|
2316
|
+
F.getSymbolSize = function(t) {
|
|
2317
2317
|
if (!t) throw new Error('"version" cannot be null or undefined');
|
|
2318
2318
|
if (t < 1 || t > 40) throw new Error('"version" should be in range from 1 to 40');
|
|
2319
2319
|
return t * 4 + 17;
|
|
2320
2320
|
};
|
|
2321
|
-
|
|
2321
|
+
F.getSymbolTotalCodewords = function(t) {
|
|
2322
2322
|
return Ii[t];
|
|
2323
2323
|
};
|
|
2324
|
-
|
|
2324
|
+
F.getBCHDigit = function(e) {
|
|
2325
2325
|
let t = 0;
|
|
2326
2326
|
for (; e !== 0; )
|
|
2327
2327
|
t++, e >>>= 1;
|
|
2328
2328
|
return t;
|
|
2329
2329
|
};
|
|
2330
|
-
|
|
2330
|
+
F.setToSJISFunction = function(t) {
|
|
2331
2331
|
if (typeof t != "function")
|
|
2332
2332
|
throw new Error('"toSJISFunc" is not a valid function.');
|
|
2333
|
-
|
|
2333
|
+
Fe = t;
|
|
2334
2334
|
};
|
|
2335
|
-
|
|
2336
|
-
return typeof
|
|
2335
|
+
F.isKanjiModeEnabled = function() {
|
|
2336
|
+
return typeof Fe < "u";
|
|
2337
2337
|
};
|
|
2338
|
-
|
|
2339
|
-
return
|
|
2338
|
+
F.toSJIS = function(t) {
|
|
2339
|
+
return Fe(t);
|
|
2340
2340
|
};
|
|
2341
2341
|
var Wt = {};
|
|
2342
2342
|
(function(e) {
|
|
@@ -2414,7 +2414,7 @@ Dt.prototype.isReserved = function(e, t) {
|
|
|
2414
2414
|
};
|
|
2415
2415
|
var Mi = Dt, Qr = {};
|
|
2416
2416
|
(function(e) {
|
|
2417
|
-
const t =
|
|
2417
|
+
const t = F.getSymbolSize;
|
|
2418
2418
|
e.getRowColCoords = function(n) {
|
|
2419
2419
|
if (n === 1) return [];
|
|
2420
2420
|
const i = Math.floor(n / 7) + 2, a = t(n), o = a === 145 ? 26 : Math.ceil((a - 13) / (2 * i - 2)) * 2, s = [a - 7];
|
|
@@ -2432,9 +2432,9 @@ var Mi = Dt, Qr = {};
|
|
|
2432
2432
|
};
|
|
2433
2433
|
})(Qr);
|
|
2434
2434
|
var Jr = {};
|
|
2435
|
-
const
|
|
2435
|
+
const Fi = F.getSymbolSize, nr = 7;
|
|
2436
2436
|
Jr.getPositions = function(t) {
|
|
2437
|
-
const r =
|
|
2437
|
+
const r = Fi(t);
|
|
2438
2438
|
return [
|
|
2439
2439
|
// top-left
|
|
2440
2440
|
[0, 0],
|
|
@@ -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,7 +2958,7 @@ Fe.prototype.encode = function(t) {
|
|
|
2958
2958
|
}
|
|
2959
2959
|
return n;
|
|
2960
2960
|
};
|
|
2961
|
-
var
|
|
2961
|
+
var Oi = Oe, en = {}, K = {}, De = {};
|
|
2962
2962
|
De.isValid = function(t) {
|
|
2963
2963
|
return !isNaN(t) && t >= 1 && t <= 40;
|
|
2964
2964
|
};
|
|
@@ -3043,34 +3043,34 @@ U.testAlphanumeric = function(t) {
|
|
|
3043
3043
|
};
|
|
3044
3044
|
})(K);
|
|
3045
3045
|
(function(e) {
|
|
3046
|
-
const t =
|
|
3047
|
-
function d(u, m,
|
|
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 (m <= e.getCapacity($,
|
|
3049
|
+
if (m <= e.getCapacity($, p, u))
|
|
3050
3050
|
return $;
|
|
3051
3051
|
}
|
|
3052
3052
|
function l(u, m) {
|
|
3053
3053
|
return i.getCharCountIndicator(u, m) + 4;
|
|
3054
3054
|
}
|
|
3055
3055
|
function c(u, m) {
|
|
3056
|
-
let
|
|
3056
|
+
let p = 0;
|
|
3057
3057
|
return u.forEach(function($) {
|
|
3058
3058
|
const N = l($.mode, m);
|
|
3059
|
-
|
|
3060
|
-
}),
|
|
3059
|
+
p += N + $.getBitsLength();
|
|
3060
|
+
}), p;
|
|
3061
3061
|
}
|
|
3062
3062
|
function h(u, m) {
|
|
3063
|
-
for (let
|
|
3064
|
-
if (c(u,
|
|
3065
|
-
return
|
|
3063
|
+
for (let p = 1; p <= 40; p++)
|
|
3064
|
+
if (c(u, p) <= e.getCapacity(p, m, i.MIXED))
|
|
3065
|
+
return p;
|
|
3066
3066
|
}
|
|
3067
|
-
e.from = function(m,
|
|
3068
|
-
return a.isValid(m) ? parseInt(m, 10) :
|
|
3069
|
-
}, e.getCapacity = function(m,
|
|
3067
|
+
e.from = function(m, p) {
|
|
3068
|
+
return a.isValid(m) ? parseInt(m, 10) : p;
|
|
3069
|
+
}, e.getCapacity = function(m, p, $) {
|
|
3070
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(m), b = r.getTotalCodewordsCount(m,
|
|
3073
|
+
const N = t.getSymbolTotalCodewords(m), b = r.getTotalCodewordsCount(m, p), P = (N - b) * 8;
|
|
3074
3074
|
if ($ === i.MIXED) return P;
|
|
3075
3075
|
const y = P - l($, m);
|
|
3076
3076
|
switch ($) {
|
|
@@ -3084,9 +3084,9 @@ U.testAlphanumeric = function(t) {
|
|
|
3084
3084
|
default:
|
|
3085
3085
|
return Math.floor(y / 8);
|
|
3086
3086
|
}
|
|
3087
|
-
}, e.getBestVersionForData = function(m,
|
|
3087
|
+
}, e.getBestVersionForData = function(m, p) {
|
|
3088
3088
|
let $;
|
|
3089
|
-
const N = n.from(
|
|
3089
|
+
const N = n.from(p, n.M);
|
|
3090
3090
|
if (Array.isArray(m)) {
|
|
3091
3091
|
if (m.length > 1)
|
|
3092
3092
|
return h(m, N);
|
|
@@ -3099,14 +3099,14 @@ U.testAlphanumeric = function(t) {
|
|
|
3099
3099
|
}, e.getEncodedBits = function(m) {
|
|
3100
3100
|
if (!a.isValid(m) || m < 7)
|
|
3101
3101
|
throw new Error("Invalid QR Code version");
|
|
3102
|
-
let
|
|
3103
|
-
for (; t.getBCHDigit(
|
|
3104
|
-
|
|
3105
|
-
return m << 12 |
|
|
3102
|
+
let p = m << 12;
|
|
3103
|
+
for (; t.getBCHDigit(p) - s >= 0; )
|
|
3104
|
+
p ^= o << t.getBCHDigit(p) - s;
|
|
3105
|
+
return m << 12 | p;
|
|
3106
3106
|
};
|
|
3107
3107
|
})(en);
|
|
3108
3108
|
var nn = {};
|
|
3109
|
-
const ye =
|
|
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;
|
|
@@ -3222,7 +3222,7 @@ dt.prototype.write = function(e) {
|
|
|
3222
3222
|
e.put(this.data[t], 8);
|
|
3223
3223
|
};
|
|
3224
3224
|
var qi = dt;
|
|
3225
|
-
const Ki = K, Wi =
|
|
3225
|
+
const Ki = K, Wi = F;
|
|
3226
3226
|
function lt(e) {
|
|
3227
3227
|
this.mode = Ki.KANJI, this.data = e;
|
|
3228
3228
|
}
|
|
@@ -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, m,
|
|
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) && (m = u[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("");
|
|
@@ -3319,7 +3319,7 @@ var Qi = lt, sn = { exports: {} };
|
|
|
3319
3319
|
})(sn);
|
|
3320
3320
|
var Ji = sn.exports;
|
|
3321
3321
|
(function(e) {
|
|
3322
|
-
const t = K, r = Gi, n = Vi, i = qi, a = Qi, o = U, s =
|
|
3322
|
+
const t = K, r = Gi, n = Vi, i = qi, a = Qi, o = U, s = F, d = Ji;
|
|
3323
3323
|
function l(b) {
|
|
3324
3324
|
return unescape(encodeURIComponent(b)).length;
|
|
3325
3325
|
}
|
|
@@ -3366,7 +3366,7 @@ var Ji = sn.exports;
|
|
|
3366
3366
|
return v && v.mode === y.mode ? (P[P.length - 1].data += y.data, P) : (P.push(y), P);
|
|
3367
3367
|
}, []);
|
|
3368
3368
|
}
|
|
3369
|
-
function
|
|
3369
|
+
function p(b) {
|
|
3370
3370
|
const P = [];
|
|
3371
3371
|
for (let y = 0; y < b.length; y++) {
|
|
3372
3372
|
const v = b[y];
|
|
@@ -3439,7 +3439,7 @@ var Ji = sn.exports;
|
|
|
3439
3439
|
return typeof v == "string" ? y.push(N(v, null)) : v.data && y.push(N(v.data, v.mode)), y;
|
|
3440
3440
|
}, []);
|
|
3441
3441
|
}, e.fromString = function(P, y) {
|
|
3442
|
-
const v = h(P, s.isKanjiModeEnabled()), S =
|
|
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
3444
|
D.push(k.table[E[Y]].node);
|
|
3445
3445
|
return e.fromArray(m(D));
|
|
@@ -3449,7 +3449,7 @@ var Ji = sn.exports;
|
|
|
3449
3449
|
);
|
|
3450
3450
|
};
|
|
3451
3451
|
})(on);
|
|
3452
|
-
const Xt =
|
|
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++) {
|
|
@@ -3520,13 +3520,13 @@ function ca(e, t, r) {
|
|
|
3520
3520
|
}
|
|
3521
3521
|
function ua(e, t, r) {
|
|
3522
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
|
-
let
|
|
3523
|
+
let p = 0;
|
|
3524
3524
|
const $ = new Array(o), N = new Array(o);
|
|
3525
3525
|
let b = 0;
|
|
3526
3526
|
const P = new Uint8Array(e.buffer);
|
|
3527
3527
|
for (let E = 0; E < o; E++) {
|
|
3528
3528
|
const D = E < d ? c : h;
|
|
3529
|
-
$[E] = P.slice(
|
|
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;
|
|
@@ -3624,12 +3624,12 @@ var dn = {}, Re = {};
|
|
|
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
3626
|
for (let m = 0; m < l; m++) {
|
|
3627
|
-
let
|
|
3627
|
+
let p = (u * l + m) * 4, $ = a.color.light;
|
|
3628
3628
|
if (u >= c && m >= c && u < l - c && m < l - c) {
|
|
3629
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
|
-
n[
|
|
3632
|
+
n[p++] = $.r, n[p++] = $.g, n[p++] = $.b, n[p] = $.a;
|
|
3633
3633
|
}
|
|
3634
3634
|
};
|
|
3635
3635
|
})(Re);
|
|
@@ -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,7 +3676,7 @@ 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
|
};
|
|
@@ -3708,10 +3708,10 @@ function Le(e, t, r, n, i) {
|
|
|
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}"]]] } };
|
|
@@ -3770,7 +3770,7 @@ function va(e, t) {
|
|
|
3770
3770
|
}
|
|
3771
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 Pa = "1.2.0", wa = "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,7 +4195,7 @@ 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
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
|
}
|
|
@@ -4276,27 +4276,27 @@ 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
|
}
|
|
4293
|
-
function
|
|
4293
|
+
function Fa(e, t, r) {
|
|
4294
4294
|
if (t = t || {}, r = new I(r), r.selectNumberingPlan(e.country, e.countryCallingCode), r.hasTypes())
|
|
4295
4295
|
return Ue(e, t, r.metadata) !== void 0;
|
|
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
4302
|
return Da(t, a, r);
|
|
@@ -4520,8 +4520,8 @@ var Xa = ";ext=", et = function(t) {
|
|
|
4520
4520
|
return "([".concat(T, "]{1,").concat(t, "})");
|
|
4521
4521
|
};
|
|
4522
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),
|
|
4524
|
-
return m + "|" +
|
|
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
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
4527
|
"(?:" + wn() + ")?", no = new RegExp(
|
|
@@ -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,7 +4573,7 @@ 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
|
}
|
|
@@ -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) {
|
|
@@ -4636,7 +4636,7 @@ function Pt(e) {
|
|
|
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) {
|
|
@@ -4688,7 +4688,7 @@ function go(e, t) {
|
|
|
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",
|
|
@@ -4733,7 +4733,7 @@ var Cn = /* @__PURE__ */ function() {
|
|
|
4733
4733
|
}, {
|
|
4734
4734
|
key: "isValid",
|
|
4735
4735
|
value: function() {
|
|
4736
|
-
return
|
|
4736
|
+
return Fa(this, {
|
|
4737
4737
|
v2: !0
|
|
4738
4738
|
}, this.getMetadata());
|
|
4739
4739
|
}
|
|
@@ -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
|
|
@@ -5014,7 +5014,7 @@ function zt(e) {
|
|
|
5014
5014
|
function Mo(e, t) {
|
|
5015
5015
|
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
5016
5016
|
if (r) return (r = r.call(e)).next.bind(r);
|
|
5017
|
-
if (Array.isArray(e) || (r =
|
|
5017
|
+
if (Array.isArray(e) || (r = Fo(e)) || t) {
|
|
5018
5018
|
r && (e = r);
|
|
5019
5019
|
var n = 0;
|
|
5020
5020
|
return function() {
|
|
@@ -5024,7 +5024,7 @@ function Mo(e, t) {
|
|
|
5024
5024
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
5025
5025
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
5026
5026
|
}
|
|
5027
|
-
function
|
|
5027
|
+
function Fo(e, t) {
|
|
5028
5028
|
if (e) {
|
|
5029
5029
|
if (typeof e == "string") return gr(e, t);
|
|
5030
5030
|
var r = {}.toString.call(e).slice(8, -1);
|
|
@@ -5039,11 +5039,11 @@ 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
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=";
|
|
@@ -5108,16 +5108,16 @@ function Jo(e, t, r) {
|
|
|
5108
5108
|
var m = new Cn(c, l, r.metadata);
|
|
5109
5109
|
return d && (m.country = d), u && (m.carrierCode = u), a && (m.ext = a), m.__countryCallingCodeSource = h, m;
|
|
5110
5110
|
}
|
|
5111
|
-
var
|
|
5111
|
+
var p = (t.extended ? r.hasSelectedNumberingPlan() : d) ? G(l, r.nationalNumberPattern()) : !1;
|
|
5112
5112
|
return t.extended ? {
|
|
5113
5113
|
country: d,
|
|
5114
5114
|
countryCallingCode: c,
|
|
5115
5115
|
carrierCode: u,
|
|
5116
|
-
valid:
|
|
5117
|
-
possible:
|
|
5116
|
+
valid: p,
|
|
5117
|
+
possible: p ? !0 : !!(t.extended === !0 && r.possibleLengths() && mn(l, d, r)),
|
|
5118
5118
|
phone: l,
|
|
5119
5119
|
ext: a
|
|
5120
|
-
} :
|
|
5120
|
+
} : p ? ts(d, l, a) : {};
|
|
5121
5121
|
}
|
|
5122
5122
|
function Xo(e, t, r) {
|
|
5123
5123
|
if (e) {
|
|
@@ -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
|
}
|
|
@@ -5616,16 +5616,16 @@ 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
|
|
5623
5623
|
});
|
|
5624
5624
|
}
|
|
5625
|
-
function
|
|
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, {
|
|
@@ -5957,8 +5957,8 @@ function ke(e, t, r) {
|
|
|
5957
5957
|
// matchedChars: ...
|
|
5958
5958
|
} : void 0;
|
|
5959
5959
|
case "[]":
|
|
5960
|
-
for (var m = Tr(t.args),
|
|
5961
|
-
var $ =
|
|
5960
|
+
for (var m = Tr(t.args), p; !(p = m()).done; ) {
|
|
5961
|
+
var $ = p.value;
|
|
5962
5962
|
if (e[0] === $)
|
|
5963
5963
|
return e.length === 1 ? {
|
|
5964
5964
|
match: !0,
|
|
@@ -5983,7 +5983,7 @@ function It(e) {
|
|
|
5983
5983
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
5984
5984
|
}, It(e);
|
|
5985
5985
|
}
|
|
5986
|
-
function
|
|
5986
|
+
function Fr(e, t) {
|
|
5987
5987
|
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
5988
5988
|
if (r) return (r = r.call(e)).next.bind(r);
|
|
5989
5989
|
if (Array.isArray(e) || (r = Zs(e)) || t) {
|
|
@@ -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;
|
|
@@ -6064,8 +6064,8 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
|
|
|
6064
6064
|
key: "format",
|
|
6065
6065
|
value: function(r, n) {
|
|
6066
6066
|
var i = this;
|
|
6067
|
-
if (
|
|
6068
|
-
for (var a =
|
|
6067
|
+
if (Fs(n.nationalSignificantNumber, n.country, this.metadata))
|
|
6068
|
+
for (var a = Fr(this.matchingFormats), o; !(o = a()).done; ) {
|
|
6069
6069
|
var s = o.value, d = Ms(n, s, {
|
|
6070
6070
|
metadata: this.metadata,
|
|
6071
6071
|
shouldTryNationalPrefixFormattingRule: function(c) {
|
|
@@ -6136,7 +6136,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
|
|
|
6136
6136
|
return n.chosenFormat === l ? 0 : cd.test(n.getFormatFormat(l, r.international)) ? n.createTemplateForFormat(l, r) ? (n.chosenFormat = l, 0) : (n.matchingFormats = n.matchingFormats.filter(function(c) {
|
|
6137
6137
|
return c !== l;
|
|
6138
6138
|
}), 1) : 1;
|
|
6139
|
-
}, a, o =
|
|
6139
|
+
}, a, o = Fr(this.matchingFormats.slice()), s; !(s = o()).done && (a = i(), a !== 0); )
|
|
6140
6140
|
;
|
|
6141
6141
|
return this.chosenFormat || this.resetFormat(), this.chosenFormat;
|
|
6142
6142
|
}
|
|
@@ -6197,8 +6197,8 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
|
|
|
6197
6197
|
international: a,
|
|
6198
6198
|
nationalPrefix: o
|
|
6199
6199
|
})) {
|
|
6200
|
-
var
|
|
6201
|
-
if (zt(r.nationalPrefixFormattingRule()) === (o || "") + zt("$1") && (u =
|
|
6200
|
+
var p = u.replace(vn, r.nationalPrefixFormattingRule());
|
|
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
|
}
|
|
@@ -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;
|
|
@@ -6492,7 +6492,7 @@ function Mt(e) {
|
|
|
6492
6492
|
}, Mt(e);
|
|
6493
6493
|
}
|
|
6494
6494
|
function _d(e, t) {
|
|
6495
|
-
return
|
|
6495
|
+
return Fd(e) || Md(e, t) || Td(e, t) || Id();
|
|
6496
6496
|
}
|
|
6497
6497
|
function Id() {
|
|
6498
6498
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -6528,10 +6528,10 @@ function Md(e, t) {
|
|
|
6528
6528
|
return s;
|
|
6529
6529
|
}
|
|
6530
6530
|
}
|
|
6531
|
-
function
|
|
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
6537
|
function Dd(e, t) {
|
|
@@ -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
|
}
|
|
@@ -6838,7 +6838,7 @@ var _n = /* @__PURE__ */ function() {
|
|
|
6838
6838
|
}]);
|
|
6839
6839
|
}();
|
|
6840
6840
|
function Ud() {
|
|
6841
|
-
return hn(
|
|
6841
|
+
return hn(ps, arguments);
|
|
6842
6842
|
}
|
|
6843
6843
|
function Hd() {
|
|
6844
6844
|
return hn(ws, arguments);
|
|
@@ -6884,8 +6884,8 @@ let w = 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,7 @@ let w = 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
6909
|
}
|
|
6910
6910
|
/**
|
|
6911
6911
|
* Check if a payment method requires phone number
|
|
@@ -6913,25 +6913,19 @@ let w = class extends mt {
|
|
|
6913
6913
|
*/
|
|
6914
6914
|
requiresPhoneNumber(e) {
|
|
6915
6915
|
return [
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6916
|
+
f.BOOST,
|
|
6917
|
+
f.SHOPEEPAY,
|
|
6918
|
+
f.KONBINI,
|
|
6919
|
+
f.PAYEASY,
|
|
6920
|
+
f.ATOM
|
|
6921
6921
|
].includes(e);
|
|
6922
6922
|
}
|
|
6923
6923
|
/**
|
|
6924
6924
|
* Check if phone number is available for payment
|
|
6925
|
-
* Returns true if
|
|
6925
|
+
* Returns true if the user has entered a valid number in the input field
|
|
6926
6926
|
*/
|
|
6927
6927
|
hasPhoneNumber(e) {
|
|
6928
|
-
return
|
|
6929
|
-
p.BOOST,
|
|
6930
|
-
p.SHOPEEPAY,
|
|
6931
|
-
p.ATOM,
|
|
6932
|
-
p.KONBINI,
|
|
6933
|
-
p.PAYEASY
|
|
6934
|
-
].includes(e) ? !!(this.phoneInputValue.trim() || this.phoneNumber && this.phoneNumber.trim()) : !!(this.phoneNumber && this.phoneNumber.trim());
|
|
6928
|
+
return this.requiresPhoneNumber(e) ? !!this.phoneInputValue.trim() : !0;
|
|
6935
6929
|
}
|
|
6936
6930
|
/**
|
|
6937
6931
|
* Check if the pay button should be disabled for a method
|
|
@@ -7128,7 +7122,7 @@ let w = class extends mt {
|
|
|
7128
7122
|
const r = this.qrCode.startsWith("http://") || this.qrCode.startsWith("https://"), n = this.qrCode.startsWith("data:image");
|
|
7129
7123
|
if (!r && !n)
|
|
7130
7124
|
try {
|
|
7131
|
-
const i = await
|
|
7125
|
+
const i = await Ot.toDataURL(this.qrCode, {
|
|
7132
7126
|
width: 300,
|
|
7133
7127
|
margin: 2,
|
|
7134
7128
|
color: {
|
|
@@ -7282,8 +7276,8 @@ let w = class extends mt {
|
|
|
7282
7276
|
const d = /* @__PURE__ */ new Date(), l = d.getFullYear(), c = d.getMonth() + 1;
|
|
7283
7277
|
let h;
|
|
7284
7278
|
if (o.length === 2) {
|
|
7285
|
-
const u = parseInt(o, 10), m = l % 100,
|
|
7286
|
-
u < m && m - u > 80 ? h =
|
|
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;
|
|
7287
7281
|
} else
|
|
7288
7282
|
return { valid: !1, error: "Invalid year format" };
|
|
7289
7283
|
return h < l ? { valid: !1, error: "Card has expired" } : h === l && s < c ? { valid: !1, error: "Card has expired" } : { valid: !0 };
|
|
@@ -7303,15 +7297,14 @@ let w = class extends mt {
|
|
|
7303
7297
|
return;
|
|
7304
7298
|
this.paymentLocked = !0;
|
|
7305
7299
|
const e = this.cardFormData.expiry.split("/"), t = (e[0] || "").trim(), n = `20${(e[1] || "").trim().substring(0, 2)}`, i = this.formatNamesUppercase();
|
|
7306
|
-
this.sdk.submitPayment(
|
|
7300
|
+
this.sdk.submitPayment(f.CARD, {
|
|
7307
7301
|
cardNumber: this.cardFormData.cardNumber.replace(/\s/g, ""),
|
|
7308
7302
|
expiryMonth: t,
|
|
7309
7303
|
expiryYear: n,
|
|
7310
7304
|
cvv: this.cardFormData.cvv,
|
|
7311
7305
|
firstName: i.firstName,
|
|
7312
7306
|
lastName: i.lastName,
|
|
7313
|
-
email: this.email
|
|
7314
|
-
phoneNumber: this.phoneNumber
|
|
7307
|
+
email: this.email
|
|
7315
7308
|
});
|
|
7316
7309
|
}
|
|
7317
7310
|
handlePayNowPayment() {
|
|
@@ -7319,11 +7312,10 @@ let w = class extends mt {
|
|
|
7319
7312
|
return;
|
|
7320
7313
|
this.paymentLocked = !0;
|
|
7321
7314
|
const e = this.formatNamesUppercase();
|
|
7322
|
-
this.sdk.submitPayment(
|
|
7315
|
+
this.sdk.submitPayment(f.PAYNOW, {
|
|
7323
7316
|
firstName: e.firstName,
|
|
7324
7317
|
lastName: e.lastName,
|
|
7325
|
-
email: this.email
|
|
7326
|
-
phoneNumber: this.phoneNumber
|
|
7318
|
+
email: this.email
|
|
7327
7319
|
});
|
|
7328
7320
|
}
|
|
7329
7321
|
handlePromptPayPayment() {
|
|
@@ -7331,11 +7323,10 @@ let w = class extends mt {
|
|
|
7331
7323
|
return;
|
|
7332
7324
|
this.paymentLocked = !0;
|
|
7333
7325
|
const e = this.formatNamesUppercase();
|
|
7334
|
-
this.sdk.submitPayment(
|
|
7326
|
+
this.sdk.submitPayment(f.PROMPTPAY, {
|
|
7335
7327
|
firstName: e.firstName,
|
|
7336
7328
|
lastName: e.lastName,
|
|
7337
|
-
email: this.email
|
|
7338
|
-
phoneNumber: this.phoneNumber
|
|
7329
|
+
email: this.email
|
|
7339
7330
|
});
|
|
7340
7331
|
}
|
|
7341
7332
|
handleDuitNowPayment() {
|
|
@@ -7343,11 +7334,10 @@ let w = class extends mt {
|
|
|
7343
7334
|
return;
|
|
7344
7335
|
this.paymentLocked = !0;
|
|
7345
7336
|
const e = this.formatNamesUppercase();
|
|
7346
|
-
this.sdk.submitPayment(
|
|
7337
|
+
this.sdk.submitPayment(f.DUITNOW, {
|
|
7347
7338
|
firstName: e.firstName,
|
|
7348
7339
|
lastName: e.lastName,
|
|
7349
|
-
email: this.email
|
|
7350
|
-
phoneNumber: this.phoneNumber
|
|
7340
|
+
email: this.email
|
|
7351
7341
|
});
|
|
7352
7342
|
}
|
|
7353
7343
|
handleGoPayPayment() {
|
|
@@ -7355,19 +7345,18 @@ let w = class extends mt {
|
|
|
7355
7345
|
return;
|
|
7356
7346
|
this.paymentLocked = !0;
|
|
7357
7347
|
const e = this.formatNamesUppercase();
|
|
7358
|
-
this.sdk.submitPayment(
|
|
7348
|
+
this.sdk.submitPayment(f.GOPAY, {
|
|
7359
7349
|
firstName: e.firstName,
|
|
7360
7350
|
lastName: e.lastName,
|
|
7361
|
-
email: this.email
|
|
7362
|
-
phoneNumber: this.phoneNumber
|
|
7351
|
+
email: this.email
|
|
7363
7352
|
});
|
|
7364
7353
|
}
|
|
7365
7354
|
handleBoostPayment() {
|
|
7366
7355
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7367
7356
|
return;
|
|
7368
7357
|
this.paymentLocked = !0;
|
|
7369
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7370
|
-
this.sdk.submitPayment(
|
|
7358
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.BOOST);
|
|
7359
|
+
this.sdk.submitPayment(f.BOOST, {
|
|
7371
7360
|
firstName: e.firstName,
|
|
7372
7361
|
lastName: e.lastName,
|
|
7373
7362
|
email: this.email,
|
|
@@ -7378,8 +7367,8 @@ let w = class extends mt {
|
|
|
7378
7367
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7379
7368
|
return;
|
|
7380
7369
|
this.paymentLocked = !0;
|
|
7381
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7382
|
-
this.sdk.submitPayment(
|
|
7370
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.SHOPEEPAY);
|
|
7371
|
+
this.sdk.submitPayment(f.SHOPEEPAY, {
|
|
7383
7372
|
firstName: e.firstName,
|
|
7384
7373
|
lastName: e.lastName,
|
|
7385
7374
|
email: this.email,
|
|
@@ -7390,8 +7379,8 @@ let w = class extends mt {
|
|
|
7390
7379
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7391
7380
|
return;
|
|
7392
7381
|
this.paymentLocked = !0;
|
|
7393
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7394
|
-
this.sdk.submitPayment(
|
|
7382
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ATOM);
|
|
7383
|
+
this.sdk.submitPayment(f.ATOM, {
|
|
7395
7384
|
firstName: e.firstName,
|
|
7396
7385
|
lastName: e.lastName,
|
|
7397
7386
|
email: this.email,
|
|
@@ -7402,8 +7391,8 @@ let w = class extends mt {
|
|
|
7402
7391
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7403
7392
|
return;
|
|
7404
7393
|
this.paymentLocked = !0;
|
|
7405
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7406
|
-
this.sdk.submitPayment(
|
|
7394
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.DANA);
|
|
7395
|
+
this.sdk.submitPayment(f.DANA, {
|
|
7407
7396
|
firstName: e.firstName,
|
|
7408
7397
|
lastName: e.lastName,
|
|
7409
7398
|
email: this.email,
|
|
@@ -7414,8 +7403,8 @@ let w = class extends mt {
|
|
|
7414
7403
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7415
7404
|
return;
|
|
7416
7405
|
this.paymentLocked = !0;
|
|
7417
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7418
|
-
this.sdk.submitPayment(
|
|
7406
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.TNG);
|
|
7407
|
+
this.sdk.submitPayment(f.TNG, {
|
|
7419
7408
|
firstName: e.firstName,
|
|
7420
7409
|
lastName: e.lastName,
|
|
7421
7410
|
email: this.email,
|
|
@@ -7426,8 +7415,8 @@ let w = class extends mt {
|
|
|
7426
7415
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7427
7416
|
return;
|
|
7428
7417
|
this.paymentLocked = !0;
|
|
7429
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7430
|
-
this.sdk.submitPayment(
|
|
7418
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ALIPAYCN);
|
|
7419
|
+
this.sdk.submitPayment(f.ALIPAYCN, {
|
|
7431
7420
|
firstName: e.firstName,
|
|
7432
7421
|
lastName: e.lastName,
|
|
7433
7422
|
email: this.email,
|
|
@@ -7438,8 +7427,8 @@ let w = class extends mt {
|
|
|
7438
7427
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7439
7428
|
return;
|
|
7440
7429
|
this.paymentLocked = !0;
|
|
7441
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7442
|
-
this.sdk.submitPayment(
|
|
7430
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ALIPAYHK);
|
|
7431
|
+
this.sdk.submitPayment(f.ALIPAYHK, {
|
|
7443
7432
|
firstName: e.firstName,
|
|
7444
7433
|
lastName: e.lastName,
|
|
7445
7434
|
email: this.email,
|
|
@@ -7450,8 +7439,8 @@ let w = class extends mt {
|
|
|
7450
7439
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7451
7440
|
return;
|
|
7452
7441
|
this.paymentLocked = !0;
|
|
7453
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7454
|
-
this.sdk.submitPayment(
|
|
7442
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.GCASH);
|
|
7443
|
+
this.sdk.submitPayment(f.GCASH, {
|
|
7455
7444
|
firstName: e.firstName,
|
|
7456
7445
|
lastName: e.lastName,
|
|
7457
7446
|
email: this.email,
|
|
@@ -7462,8 +7451,8 @@ let w = class extends mt {
|
|
|
7462
7451
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7463
7452
|
return;
|
|
7464
7453
|
this.paymentLocked = !0;
|
|
7465
|
-
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(
|
|
7466
|
-
this.sdk.submitPayment(
|
|
7454
|
+
const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.KONBINI);
|
|
7455
|
+
this.sdk.submitPayment(f.KONBINI, {
|
|
7467
7456
|
firstName: e.firstName,
|
|
7468
7457
|
lastName: e.lastName,
|
|
7469
7458
|
email: this.email,
|
|
@@ -7474,8 +7463,8 @@ let w = class extends mt {
|
|
|
7474
7463
|
if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
|
|
7475
7464
|
return;
|
|
7476
7465
|
this.paymentLocked = !0;
|
|
7477
|
-
const e = this.getEffectivePhoneNumber(
|
|
7478
|
-
this.sdk.submitPayment(
|
|
7466
|
+
const e = this.getEffectivePhoneNumber(f.PAYEASY), t = this.formatNamesForPayEasy(this.firstName, this.lastName);
|
|
7467
|
+
this.sdk.submitPayment(f.PAYEASY, {
|
|
7479
7468
|
firstName: t.firstName,
|
|
7480
7469
|
lastName: t.lastName,
|
|
7481
7470
|
email: this.email,
|
|
@@ -7487,11 +7476,10 @@ let w = class extends mt {
|
|
|
7487
7476
|
return;
|
|
7488
7477
|
this.paymentLocked = !0;
|
|
7489
7478
|
const e = this.formatNamesUppercase();
|
|
7490
|
-
this.sdk.submitPayment(
|
|
7479
|
+
this.sdk.submitPayment(f.GRABPAY_SG, {
|
|
7491
7480
|
firstName: e.firstName,
|
|
7492
7481
|
lastName: e.lastName,
|
|
7493
|
-
email: this.email
|
|
7494
|
-
phoneNumber: this.phoneNumber
|
|
7482
|
+
email: this.email
|
|
7495
7483
|
});
|
|
7496
7484
|
}
|
|
7497
7485
|
handleFPXPayment() {
|
|
@@ -7499,11 +7487,10 @@ let w = class extends mt {
|
|
|
7499
7487
|
return;
|
|
7500
7488
|
this.paymentLocked = !0;
|
|
7501
7489
|
const e = this.formatNamesUppercase();
|
|
7502
|
-
this.sdk.submitPayment(
|
|
7490
|
+
this.sdk.submitPayment(f.FPX, {
|
|
7503
7491
|
firstName: e.firstName,
|
|
7504
7492
|
lastName: e.lastName,
|
|
7505
7493
|
email: this.email,
|
|
7506
|
-
phoneNumber: this.phoneNumber,
|
|
7507
7494
|
bankName: this.selectedBank.bankName
|
|
7508
7495
|
});
|
|
7509
7496
|
}
|
|
@@ -7568,11 +7555,10 @@ let w = class extends mt {
|
|
|
7568
7555
|
* - Other methods: Keep international format (+XX XXXX XXXX)
|
|
7569
7556
|
*/
|
|
7570
7557
|
getEffectivePhoneNumber(e) {
|
|
7571
|
-
if (this.phoneInputValue.trim())
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
return this.phoneNumber || "";
|
|
7558
|
+
if (!this.phoneInputValue.trim())
|
|
7559
|
+
return "";
|
|
7560
|
+
const t = this.getFormattedPhoneWithCountryCode();
|
|
7561
|
+
return this.isJapanOnlyPhoneMethod(e) ? this.formatPhoneForJapan(t) : t;
|
|
7576
7562
|
}
|
|
7577
7563
|
/**
|
|
7578
7564
|
* Format phone number for Japan (convert +81 to 0)
|
|
@@ -8115,7 +8101,7 @@ let w = class extends mt {
|
|
|
8115
8101
|
<div class="paynow-instructions">
|
|
8116
8102
|
<h3 class="instructions-title">How to Pay with Boost:</h3>
|
|
8117
8103
|
|
|
8118
|
-
${this.renderPhoneInput(
|
|
8104
|
+
${this.renderPhoneInput(f.BOOST)}
|
|
8119
8105
|
|
|
8120
8106
|
<div class="instruction-steps">
|
|
8121
8107
|
<div class="instruction-step">
|
|
@@ -8138,9 +8124,9 @@ let w = class extends mt {
|
|
|
8138
8124
|
<button
|
|
8139
8125
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8140
8126
|
@click=${this.handleBoostPayment}
|
|
8141
|
-
?disabled=${this.isPayButtonDisabled(
|
|
8127
|
+
?disabled=${this.isPayButtonDisabled(f.BOOST)}
|
|
8142
8128
|
>
|
|
8143
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(
|
|
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()}`}
|
|
8144
8130
|
</button>
|
|
8145
8131
|
</div>
|
|
8146
8132
|
</div>
|
|
@@ -8153,7 +8139,7 @@ let w = class extends mt {
|
|
|
8153
8139
|
<div class="paynow-instructions">
|
|
8154
8140
|
<h3 class="instructions-title">How to Pay with ShopeePay:</h3>
|
|
8155
8141
|
|
|
8156
|
-
${this.renderPhoneInput(
|
|
8142
|
+
${this.renderPhoneInput(f.SHOPEEPAY)}
|
|
8157
8143
|
|
|
8158
8144
|
<div class="instruction-steps">
|
|
8159
8145
|
<div class="instruction-step">
|
|
@@ -8176,9 +8162,9 @@ let w = class extends mt {
|
|
|
8176
8162
|
<button
|
|
8177
8163
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8178
8164
|
@click=${this.handleShopeePayPayment}
|
|
8179
|
-
?disabled=${this.isPayButtonDisabled(
|
|
8165
|
+
?disabled=${this.isPayButtonDisabled(f.SHOPEEPAY)}
|
|
8180
8166
|
>
|
|
8181
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(
|
|
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()}`}
|
|
8182
8168
|
</button>
|
|
8183
8169
|
</div>
|
|
8184
8170
|
</div>
|
|
@@ -8191,7 +8177,7 @@ let w = class extends mt {
|
|
|
8191
8177
|
<div class="paynow-instructions">
|
|
8192
8178
|
<h3 class="instructions-title">How to Pay with Atome:</h3>
|
|
8193
8179
|
|
|
8194
|
-
${this.renderPhoneInput(
|
|
8180
|
+
${this.renderPhoneInput(f.ATOM)}
|
|
8195
8181
|
|
|
8196
8182
|
<div class="instruction-steps">
|
|
8197
8183
|
<div class="instruction-step">
|
|
@@ -8214,9 +8200,9 @@ let w = class extends mt {
|
|
|
8214
8200
|
<button
|
|
8215
8201
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8216
8202
|
@click=${this.handleAtomPayment}
|
|
8217
|
-
?disabled=${this.isPayButtonDisabled(
|
|
8203
|
+
?disabled=${this.isPayButtonDisabled(f.ATOM)}
|
|
8218
8204
|
>
|
|
8219
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(
|
|
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()}`}
|
|
8220
8206
|
</button>
|
|
8221
8207
|
</div>
|
|
8222
8208
|
</div>
|
|
@@ -8229,7 +8215,7 @@ let w = class extends mt {
|
|
|
8229
8215
|
<div class="paynow-instructions">
|
|
8230
8216
|
<h3 class="instructions-title">How to Pay with Dana:</h3>
|
|
8231
8217
|
|
|
8232
|
-
${this.renderPhoneInput(
|
|
8218
|
+
${this.renderPhoneInput(f.DANA)}
|
|
8233
8219
|
|
|
8234
8220
|
<div class="instruction-steps">
|
|
8235
8221
|
<div class="instruction-step">
|
|
@@ -8267,7 +8253,7 @@ let w = class extends mt {
|
|
|
8267
8253
|
<div class="paynow-instructions">
|
|
8268
8254
|
<h3 class="instructions-title">How to Pay with Touch 'n Go:</h3>
|
|
8269
8255
|
|
|
8270
|
-
${this.renderPhoneInput(
|
|
8256
|
+
${this.renderPhoneInput(f.TNG)}
|
|
8271
8257
|
|
|
8272
8258
|
<div class="instruction-steps">
|
|
8273
8259
|
<div class="instruction-step">
|
|
@@ -8305,7 +8291,7 @@ let w = class extends mt {
|
|
|
8305
8291
|
<div class="paynow-instructions">
|
|
8306
8292
|
<h3 class="instructions-title">How to Pay with Alipay:</h3>
|
|
8307
8293
|
|
|
8308
|
-
${this.renderPhoneInput(
|
|
8294
|
+
${this.renderPhoneInput(f.ALIPAYCN)}
|
|
8309
8295
|
|
|
8310
8296
|
<div class="instruction-steps">
|
|
8311
8297
|
<div class="instruction-step">
|
|
@@ -8343,7 +8329,7 @@ let w = class extends mt {
|
|
|
8343
8329
|
<div class="paynow-instructions">
|
|
8344
8330
|
<h3 class="instructions-title">How to Pay with AlipayHK:</h3>
|
|
8345
8331
|
|
|
8346
|
-
${this.renderPhoneInput(
|
|
8332
|
+
${this.renderPhoneInput(f.ALIPAYHK)}
|
|
8347
8333
|
|
|
8348
8334
|
<div class="instruction-steps">
|
|
8349
8335
|
<div class="instruction-step">
|
|
@@ -8381,7 +8367,7 @@ let w = class extends mt {
|
|
|
8381
8367
|
<div class="paynow-instructions">
|
|
8382
8368
|
<h3 class="instructions-title">How to Pay with GCash:</h3>
|
|
8383
8369
|
|
|
8384
|
-
${this.renderPhoneInput(
|
|
8370
|
+
${this.renderPhoneInput(f.GCASH)}
|
|
8385
8371
|
|
|
8386
8372
|
<div class="instruction-steps">
|
|
8387
8373
|
<div class="instruction-step">
|
|
@@ -8419,7 +8405,7 @@ let w = class extends mt {
|
|
|
8419
8405
|
<div class="paynow-instructions">
|
|
8420
8406
|
<h3 class="instructions-title">How to Pay with Konbini:</h3>
|
|
8421
8407
|
|
|
8422
|
-
${this.renderPhoneInput(
|
|
8408
|
+
${this.renderPhoneInput(f.KONBINI)}
|
|
8423
8409
|
|
|
8424
8410
|
<div class="instruction-steps">
|
|
8425
8411
|
<div class="instruction-step">
|
|
@@ -8442,9 +8428,9 @@ let w = class extends mt {
|
|
|
8442
8428
|
<button
|
|
8443
8429
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8444
8430
|
@click=${this.handleKonbiniPayment}
|
|
8445
|
-
?disabled=${this.isPayButtonDisabled(
|
|
8431
|
+
?disabled=${this.isPayButtonDisabled(f.KONBINI)}
|
|
8446
8432
|
>
|
|
8447
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(
|
|
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()}`}
|
|
8448
8434
|
</button>
|
|
8449
8435
|
</div>
|
|
8450
8436
|
</div>
|
|
@@ -8457,7 +8443,7 @@ let w = class extends mt {
|
|
|
8457
8443
|
<div class="paynow-instructions">
|
|
8458
8444
|
<h3 class="instructions-title">How to Pay with Pay-Easy:</h3>
|
|
8459
8445
|
|
|
8460
|
-
${this.renderPhoneInput(
|
|
8446
|
+
${this.renderPhoneInput(f.PAYEASY)}
|
|
8461
8447
|
|
|
8462
8448
|
<div class="instruction-steps">
|
|
8463
8449
|
<div class="instruction-step">
|
|
@@ -8482,9 +8468,9 @@ let w = class extends mt {
|
|
|
8482
8468
|
<button
|
|
8483
8469
|
class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
|
|
8484
8470
|
@click=${this.handlePayEasyPayment}
|
|
8485
|
-
?disabled=${this.isPayButtonDisabled(
|
|
8471
|
+
?disabled=${this.isPayButtonDisabled(f.PAYEASY)}
|
|
8486
8472
|
>
|
|
8487
|
-
${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(
|
|
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()}`}
|
|
8488
8474
|
</button>
|
|
8489
8475
|
</div>
|
|
8490
8476
|
</div>
|
|
@@ -8708,44 +8694,44 @@ let w = class extends mt {
|
|
|
8708
8694
|
}
|
|
8709
8695
|
const n = (o) => {
|
|
8710
8696
|
switch (o) {
|
|
8711
|
-
case
|
|
8697
|
+
case f.CARD:
|
|
8712
8698
|
return "Card";
|
|
8713
|
-
case
|
|
8699
|
+
case f.PAYNOW:
|
|
8714
8700
|
return "PayNow";
|
|
8715
|
-
case
|
|
8701
|
+
case f.PROMPTPAY:
|
|
8716
8702
|
return "PromptPay";
|
|
8717
|
-
case
|
|
8703
|
+
case f.DUITNOW:
|
|
8718
8704
|
return "DuitNow";
|
|
8719
|
-
case
|
|
8705
|
+
case f.GOPAY:
|
|
8720
8706
|
return "GoPay";
|
|
8721
|
-
case
|
|
8707
|
+
case f.BOOST:
|
|
8722
8708
|
return "Boost";
|
|
8723
|
-
case
|
|
8709
|
+
case f.SHOPEEPAY:
|
|
8724
8710
|
return "ShopeePay";
|
|
8725
|
-
case
|
|
8711
|
+
case f.ATOM:
|
|
8726
8712
|
return "Atome";
|
|
8727
|
-
case
|
|
8713
|
+
case f.DANA:
|
|
8728
8714
|
return "Dana";
|
|
8729
|
-
case
|
|
8715
|
+
case f.TNG:
|
|
8730
8716
|
return "Touch 'n Go";
|
|
8731
|
-
case
|
|
8717
|
+
case f.ALIPAYCN:
|
|
8732
8718
|
return "Alipay";
|
|
8733
|
-
case
|
|
8719
|
+
case f.ALIPAYHK:
|
|
8734
8720
|
return "AlipayHK";
|
|
8735
|
-
case
|
|
8721
|
+
case f.GCASH:
|
|
8736
8722
|
return "GCash";
|
|
8737
|
-
case
|
|
8723
|
+
case f.KONBINI:
|
|
8738
8724
|
return "Konbini";
|
|
8739
|
-
case
|
|
8725
|
+
case f.PAYEASY:
|
|
8740
8726
|
return "Pay-Easy";
|
|
8741
|
-
case
|
|
8727
|
+
case f.GRABPAY_SG:
|
|
8742
8728
|
return "GrabPay";
|
|
8743
|
-
case
|
|
8729
|
+
case f.FPX:
|
|
8744
8730
|
return "FPX Online Banking";
|
|
8745
8731
|
default:
|
|
8746
8732
|
return o;
|
|
8747
8733
|
}
|
|
8748
|
-
}, i = (o) => o ===
|
|
8734
|
+
}, i = (o) => o === f.CARD ? g`
|
|
8749
8735
|
<div class="method-icon-right">
|
|
8750
8736
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
8751
8737
|
<path
|
|
@@ -8758,11 +8744,11 @@ let w = class extends mt {
|
|
|
8758
8744
|
/>
|
|
8759
8745
|
</svg>
|
|
8760
8746
|
</div>
|
|
8761
|
-
` : o ===
|
|
8747
|
+
` : o === f.PAYNOW ? g`
|
|
8762
8748
|
<div class="method-icon-right">
|
|
8763
8749
|
<img src="${ai}" alt="PayNow" style="width: 45px; height: auto;" />
|
|
8764
8750
|
</div>
|
|
8765
|
-
` : o ===
|
|
8751
|
+
` : o === f.PROMPTPAY ? g`
|
|
8766
8752
|
<div class="method-icon-right">
|
|
8767
8753
|
<img
|
|
8768
8754
|
src="${oi}"
|
|
@@ -8770,19 +8756,19 @@ let w = class extends mt {
|
|
|
8770
8756
|
style="width: 45px; height: auto;"
|
|
8771
8757
|
/>
|
|
8772
8758
|
</div>
|
|
8773
|
-
` : o ===
|
|
8759
|
+
` : o === f.DUITNOW ? g`
|
|
8774
8760
|
<div class="method-icon-right">
|
|
8775
8761
|
<img src="${si}" alt="DuitNow" style="width: 45px; height: auto;" />
|
|
8776
8762
|
</div>
|
|
8777
|
-
` : o ===
|
|
8763
|
+
` : o === f.GOPAY ? g`
|
|
8778
8764
|
<div class="method-icon-right">
|
|
8779
8765
|
<img src="${di}" alt="GoPay" style="width: 45px; height: auto;" />
|
|
8780
8766
|
</div>
|
|
8781
|
-
` : o ===
|
|
8767
|
+
` : o === f.BOOST ? g`
|
|
8782
8768
|
<div class="method-icon-right">
|
|
8783
8769
|
<img src="${li}" alt="Boost" style="width: 45px; height: auto;" />
|
|
8784
8770
|
</div>
|
|
8785
|
-
` : o ===
|
|
8771
|
+
` : o === f.SHOPEEPAY ? g`
|
|
8786
8772
|
<div class="method-icon-right">
|
|
8787
8773
|
<img
|
|
8788
8774
|
src="${ci}"
|
|
@@ -8790,23 +8776,23 @@ let w = class extends mt {
|
|
|
8790
8776
|
style="width: 45px; height: auto;"
|
|
8791
8777
|
/>
|
|
8792
8778
|
</div>
|
|
8793
|
-
` : o ===
|
|
8779
|
+
` : o === f.ATOM ? g`
|
|
8794
8780
|
<div class="method-icon-right">
|
|
8795
8781
|
<img src="${ui}" alt="Atome" style="width: 45px; height: auto;" />
|
|
8796
8782
|
</div>
|
|
8797
|
-
` : o ===
|
|
8783
|
+
` : o === f.DANA ? g`
|
|
8798
8784
|
<div class="method-icon-right">
|
|
8799
8785
|
<img src="${hi}" alt="Dana" style="width: 45px; height: auto;" />
|
|
8800
8786
|
</div>
|
|
8801
|
-
` : o ===
|
|
8787
|
+
` : o === f.TNG ? g`
|
|
8802
8788
|
<div class="method-icon-right">
|
|
8803
|
-
<img src="${
|
|
8789
|
+
<img src="${fi}" alt="Touch 'n Go" style="width: 45px; height: auto;" />
|
|
8804
8790
|
</div>
|
|
8805
|
-
` : o ===
|
|
8791
|
+
` : o === f.ALIPAYCN ? g`
|
|
8806
8792
|
<div class="method-icon-right">
|
|
8807
|
-
<img src="${
|
|
8793
|
+
<img src="${pi}" alt="Alipay" style="width: 45px; height: auto;" />
|
|
8808
8794
|
</div>
|
|
8809
|
-
` : o ===
|
|
8795
|
+
` : o === f.ALIPAYHK ? g`
|
|
8810
8796
|
<div class="method-icon-right">
|
|
8811
8797
|
<img
|
|
8812
8798
|
src="${mi}"
|
|
@@ -8814,23 +8800,23 @@ let w = class extends mt {
|
|
|
8814
8800
|
style="width: 45px; height: auto;"
|
|
8815
8801
|
/>
|
|
8816
8802
|
</div>
|
|
8817
|
-
` : o ===
|
|
8803
|
+
` : o === f.GCASH ? g`
|
|
8818
8804
|
<div class="method-icon-right">
|
|
8819
8805
|
<img src="${$i}" alt="GCash" style="width: 45px; height: auto;" />
|
|
8820
8806
|
</div>
|
|
8821
|
-
` : o ===
|
|
8807
|
+
` : o === f.KONBINI ? g`
|
|
8822
8808
|
<div class="method-icon-right">
|
|
8823
8809
|
<img src="${gi}" alt="Konbini" style="width: 45px; height: auto;" />
|
|
8824
8810
|
</div>
|
|
8825
|
-
` : o ===
|
|
8811
|
+
` : o === f.PAYEASY ? g`
|
|
8826
8812
|
<div class="method-icon-right">
|
|
8827
8813
|
<img src="${yi}" alt="Pay-Easy" style="width: 45px; height: auto;" />
|
|
8828
8814
|
</div>
|
|
8829
|
-
` : o ===
|
|
8815
|
+
` : o === f.GRABPAY_SG ? g`
|
|
8830
8816
|
<div class="method-icon-right">
|
|
8831
8817
|
<img src="${bi}" alt="GrabPay" style="width: 45px; height: auto;" />
|
|
8832
8818
|
</div>
|
|
8833
|
-
` : o ===
|
|
8819
|
+
` : o === f.FPX ? g`
|
|
8834
8820
|
<div class="method-icon-right">
|
|
8835
8821
|
<img
|
|
8836
8822
|
src="${vi}"
|
|
@@ -8873,7 +8859,7 @@ let w = class extends mt {
|
|
|
8873
8859
|
${i(o.id)}
|
|
8874
8860
|
</div>
|
|
8875
8861
|
${s ? g`<div class="method-content">
|
|
8876
|
-
${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}
|
|
8877
8863
|
</div>` : ""}
|
|
8878
8864
|
</div>
|
|
8879
8865
|
`;
|
|
@@ -10560,9 +10546,6 @@ C([
|
|
|
10560
10546
|
C([
|
|
10561
10547
|
M({ type: String })
|
|
10562
10548
|
], w.prototype, "email", 2);
|
|
10563
|
-
C([
|
|
10564
|
-
M({ type: String })
|
|
10565
|
-
], w.prototype, "phoneNumber", 2);
|
|
10566
10549
|
C([
|
|
10567
10550
|
M({ type: Array })
|
|
10568
10551
|
], w.prototype, "excludePaymentMethods", 2);
|