@one-payments/web-components 1.7.1 → 1.7.3

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 CHANGED
@@ -45,7 +45,7 @@ const In = (e) => new Ur(typeof e == "string" ? e : e + "", void 0, Ie), Tn = (e
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Fn, defineProperty: Dn, getOwnPropertyDescriptor: On, getOwnPropertyNames: Rn, getOwnPropertySymbols: Ln, getPrototypeOf: Bn } = Object, q = globalThis, qe = q.trustedTypes, Un = qe ? qe.emptyScript : "", ie = q.reactiveElementPolyfillSupport, pt = (e, t) => e, jt = { toAttribute(e, t) {
48
+ const { is: On, defineProperty: Fn, getOwnPropertyDescriptor: Dn, getOwnPropertyNames: Rn, getOwnPropertySymbols: Ln, getPrototypeOf: Bn } = Object, q = globalThis, qe = q.trustedTypes, Un = qe ? qe.emptyScript : "", ie = q.reactiveElementPolyfillSupport, pt = (e, t) => e, Ht = { toAttribute(e, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  e = e ? Un : null;
@@ -73,7 +73,7 @@ const { is: Fn, defineProperty: Dn, getOwnPropertyDescriptor: On, getOwnProperty
73
73
  }
74
74
  }
75
75
  return r;
76
- } }, Te = (e, t) => !Fn(e, t), Ke = { attribute: !0, type: String, converter: jt, reflect: !1, useDefault: !1, hasChanged: Te };
76
+ } }, Te = (e, t) => !On(e, t), Ke = { attribute: !0, type: String, converter: Ht, reflect: !1, useDefault: !1, hasChanged: Te };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), q.litPropertyMetadata ?? (q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let rt = class extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -85,11 +85,11 @@ let rt = class extends HTMLElement {
85
85
  static createProperty(t, r = Ke) {
86
86
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(t, r), !r.noAccessor) {
87
87
  const n = Symbol(), i = this.getPropertyDescriptor(t, n, r);
88
- i !== void 0 && Dn(this.prototype, t, i);
88
+ i !== void 0 && Fn(this.prototype, t, i);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, r, n) {
92
- const { get: i, set: a } = On(this.prototype, t) ?? { get() {
92
+ const { get: i, set: a } = Dn(this.prototype, t) ?? { get() {
93
93
  return this[r];
94
94
  }, set(o) {
95
95
  this[r] = o;
@@ -184,7 +184,7 @@ let rt = class extends HTMLElement {
184
184
  var a;
185
185
  const n = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, n);
186
186
  if (i !== void 0 && n.reflect === !0) {
187
- const o = (((a = n.converter) == null ? void 0 : a.toAttribute) !== void 0 ? n.converter : jt).toAttribute(r, n.type);
187
+ const o = (((a = n.converter) == null ? void 0 : a.toAttribute) !== void 0 ? n.converter : Ht).toAttribute(r, n.type);
188
188
  this._$Em = t, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
189
189
  }
190
190
  }
@@ -192,7 +192,7 @@ let rt = class extends HTMLElement {
192
192
  var a, o;
193
193
  const n = this.constructor, i = n._$Eh.get(t);
194
194
  if (i !== void 0 && this._$Em !== i) {
195
- const s = n.getPropertyOptions(i), d = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((a = s.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? s.converter : jt;
195
+ const s = n.getPropertyOptions(i), d = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((a = s.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? s.converter : Ht;
196
196
  this._$Em = i;
197
197
  const l = d.fromAttribute(r, s.type);
198
198
  this[i] = l ?? ((o = this._$Ej) == null ? void 0 : o.get(i)) ?? l, this._$Em = null;
@@ -284,7 +284,7 @@ rt.elementStyles = [], rt.shadowRootOptions = { mode: "open" }, rt[pt("elementPr
284
284
  * Copyright 2017 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const ft = globalThis, We = (e) => e, Ht = ft.trustedTypes, Qe = Ht ? Ht.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, jr = "$lit$", V = `lit$${Math.random().toFixed(9).slice(2)}$`, Hr = "?" + V, jn = `<${Hr}>`, tt = document, gt = () => tt.createComment(""), yt = (e) => e === null || typeof e != "object" && typeof e != "function", Me = Array.isArray, Hn = (e) => Me(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ae = `[
287
+ const ft = globalThis, We = (e) => e, jt = ft.trustedTypes, Qe = jt ? jt.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Hr = "$lit$", V = `lit$${Math.random().toFixed(9).slice(2)}$`, jr = "?" + V, Hn = `<${jr}>`, tt = document, gt = () => tt.createComment(""), yt = (e) => e === null || typeof e != "object" && typeof e != "function", Me = Array.isArray, jn = (e) => Me(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ae = `[
288
288
  \f\r]`, ht = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Je = /-->/g, Xe = />/g, W = RegExp(`>|${ae}(?:([^\\s"'>=/]+)(${ae}*=${ae}*(?:[^
289
289
  \f\r"'\`<>=]|("|')|))|$)`, "g"), Ze = /'/g, tr = /"/g, Gr = /^(?:script|style|textarea|title)$/i, Gn = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), g = Gn(1), it = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), er = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
290
290
  function Yr(e, t) {
@@ -298,8 +298,8 @@ const Yn = (e, t) => {
298
298
  const d = e[s];
299
299
  let l, c, h = -1, u = 0;
300
300
  for (; u < d.length && (o.lastIndex = u, c = o.exec(d), c !== null); ) u = o.lastIndex, o === ht ? c[1] === "!--" ? o = Je : c[1] !== void 0 ? o = Xe : c[2] !== void 0 ? (Gr.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = W) : c[3] !== void 0 && (o = W) : o === W ? c[0] === ">" ? (o = i ?? ht, h = -1) : c[1] === void 0 ? h = -2 : (h = o.lastIndex - c[2].length, l = c[1], o = c[3] === void 0 ? W : c[3] === '"' ? tr : Ze) : o === tr || o === Ze ? o = W : o === Je || o === Xe ? o = ht : (o = W, i = void 0);
301
- const f = o === W && e[s + 1].startsWith("/>") ? " " : "";
302
- a += o === ht ? d + jn : h >= 0 ? (n.push(l), d.slice(0, h) + jr + d.slice(h) + V + f) : d + V + (h === -2 ? s : f);
301
+ const m = o === W && e[s + 1].startsWith("/>") ? " " : "";
302
+ a += o === ht ? d + Hn : h >= 0 ? (n.push(l), d.slice(0, h) + Hr + d.slice(h) + V + m) : d + V + (h === -2 ? s : m);
303
303
  }
304
304
  return [Yr(e, a + (e[r] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
305
305
  };
@@ -315,19 +315,19 @@ class bt {
315
315
  }
316
316
  for (; (i = Q.nextNode()) !== null && d.length < s; ) {
317
317
  if (i.nodeType === 1) {
318
- if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(jr)) {
319
- const u = c[o++], f = i.getAttribute(h).split(V), p = /([.?@])?(.*)/.exec(u);
320
- d.push({ type: 1, index: a, name: p[2], strings: f, ctor: p[1] === "." ? zn : p[1] === "?" ? qn : p[1] === "@" ? Kn : Kt }), i.removeAttribute(h);
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), f = /([.?@])?(.*)/.exec(u);
320
+ d.push({ type: 1, index: a, name: f[2], strings: m, ctor: f[1] === "." ? zn : f[1] === "?" ? qn : f[1] === "@" ? Kn : Kt }), i.removeAttribute(h);
321
321
  } else h.startsWith(V) && (d.push({ type: 6, index: a }), i.removeAttribute(h));
322
322
  if (Gr.test(i.tagName)) {
323
323
  const h = i.textContent.split(V), u = h.length - 1;
324
324
  if (u > 0) {
325
- i.textContent = Ht ? Ht.emptyScript : "";
326
- for (let f = 0; f < u; f++) i.append(h[f], gt()), Q.nextNode(), d.push({ type: 2, index: ++a });
325
+ i.textContent = jt ? jt.emptyScript : "";
326
+ for (let m = 0; m < u; m++) i.append(h[m], gt()), Q.nextNode(), d.push({ type: 2, index: ++a });
327
327
  i.append(h[u], gt());
328
328
  }
329
329
  }
330
- } else if (i.nodeType === 8) if (i.data === Hr) d.push({ type: 2, index: a });
330
+ } else if (i.nodeType === 8) if (i.data === jr) d.push({ type: 2, index: a });
331
331
  else {
332
332
  let h = -1;
333
333
  for (; (h = i.data.indexOf(V, h + 1)) !== -1; ) d.push({ type: 7, index: a }), h += V.length - 1;
@@ -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 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];
367
+ d.type === 2 ? l = new Ot(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 Ft {
378
+ class Ot {
379
379
  get _$AU() {
380
380
  var t;
381
381
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -395,7 +395,7 @@ class Ft {
395
395
  return this._$AB;
396
396
  }
397
397
  _$AI(t, r = this) {
398
- t = at(this, t, r), yt(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== it && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Hn(t) ? this.k(t) : this._(t);
398
+ t = at(this, t, r), yt(t) ? t === _ || t == null || t === "" ? (this._$AH !== _ && this._$AR(), this._$AH = _) : t !== this._$AH && t !== it && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : jn(t) ? this.k(t) : this._(t);
399
399
  }
400
400
  O(t) {
401
401
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -423,7 +423,7 @@ class Ft {
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 Ft(this.O(gt()), this.O(gt()), this, this.options)) : n = r[i], n._$AI(a), i++;
426
+ for (const a of t) i === r.length ? r.push(n = new Ot(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) {
@@ -505,13 +505,13 @@ class Wn {
505
505
  }
506
506
  }
507
507
  const oe = ft.litHtmlPolyfillSupport;
508
- oe == null || oe(bt, Ft), (ft.litHtmlVersions ?? (ft.litHtmlVersions = [])).push("3.3.2");
508
+ oe == null || oe(bt, Ot), (ft.litHtmlVersions ?? (ft.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 Ft(t.insertBefore(gt(), a), a, void 0, r ?? {});
514
+ n._$litPart$ = i = new Ot(t.insertBefore(gt(), a), a, void 0, r ?? {});
515
515
  }
516
516
  return i._$AI(e), i;
517
517
  };
@@ -566,7 +566,7 @@ const Jn = (e) => (t, r) => {
566
566
  * Copyright 2017 Google LLC
567
567
  * SPDX-License-Identifier: BSD-3-Clause
568
568
  */
569
- const Xn = { attribute: !0, type: String, converter: jt, reflect: !1, hasChanged: Te }, Zn = (e = Xn, t, r) => {
569
+ const Xn = { attribute: !0, type: String, converter: Ht, reflect: !1, hasChanged: Te }, Zn = (e = Xn, t, r) => {
570
570
  const { kind: n, metadata: i } = r;
571
571
  let a = globalThis.litPropertyMetadata.get(i);
572
572
  if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), n === "setter" && ((e = Object.create(e)).wrapped = !0), a.set(r.name, e), n === "accessor") {
@@ -604,7 +604,7 @@ function A(e) {
604
604
  function ti(e) {
605
605
  return e instanceof Error && ("response" in e && typeof e.response == "object" && e.response !== null || "data" in e && typeof e.data == "object" && e.data !== null);
606
606
  }
607
- var m = {
607
+ var p = {
608
608
  CARD: "card",
609
609
  PAYNOW: "paynow",
610
610
  PROMPTPAY: "promptpay",
@@ -622,7 +622,7 @@ var m = {
622
622
  PAYEASY: "payeasy",
623
623
  GRABPAY_SG: "grabpay_sg",
624
624
  FPX: "fpx"
625
- }, D = {
625
+ }, F = {
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: D.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;
772
+ this.state = { status: F.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: D.INITIALIZING }), this.emit({
927
+ this.setState({ status: F.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: D.READY,
961
+ status: F.READY,
962
962
  ...e.metadata && { metadata: e.metadata }
963
963
  }, h = [];
964
964
  let u = 0;
@@ -966,75 +966,75 @@ var ii = class {
966
966
  id: "card",
967
967
  enabled: !0,
968
968
  priority: u++
969
- }), l.result.paymentMethods.forEach((f) => {
970
- const p = f.type.toLowerCase(), $ = f.capabilities || [];
971
- p.includes("card") || ((p.includes("paynow") || $.includes("payments_pay_now")) && h.push({
969
+ }), l.result.paymentMethods.forEach((m) => {
970
+ const f = m.type.toLowerCase(), $ = m.capabilities || [];
971
+ f.includes("card") || ((f.includes("paynow") || $.includes("payments_pay_now")) && h.push({
972
972
  id: "paynow",
973
973
  enabled: !0,
974
974
  priority: u++
975
- }), (p.includes("promptpay") || p.includes("prompt pay") || $.includes("payments_prompt_pay")) && h.push({
975
+ }), (f.includes("promptpay") || f.includes("prompt pay") || $.includes("payments_prompt_pay")) && h.push({
976
976
  id: "promptpay",
977
977
  enabled: !0,
978
978
  priority: u++
979
- }), (p.includes("duitnow") || p.includes("duit now") || $.includes("payments_duit_now")) && h.push({
979
+ }), (f.includes("duitnow") || f.includes("duit now") || $.includes("payments_duit_now")) && h.push({
980
980
  id: "duitnow",
981
981
  enabled: !0,
982
982
  priority: u++
983
- }), (p.includes("gopay") || p.includes("go pay") || $.includes("payments_go_pay")) && h.push({
983
+ }), (f.includes("gopay") || f.includes("go pay") || $.includes("payments_go_pay")) && h.push({
984
984
  id: "gopay",
985
985
  enabled: !0,
986
986
  priority: u++
987
- }), (p.includes("boost") || $.includes("payments_boost")) && h.push({
987
+ }), (f.includes("boost") || $.includes("payments_boost")) && h.push({
988
988
  id: "boost",
989
989
  enabled: !0,
990
990
  priority: u++
991
- }), (p.includes("shopeepay") || p.includes("shopee pay") || p.includes("shopee_pay") || $.includes("payments_shopee_pay")) && h.push({
991
+ }), (f.includes("shopeepay") || f.includes("shopee pay") || f.includes("shopee_pay") || $.includes("payments_shopee_pay")) && h.push({
992
992
  id: "shopeepay",
993
993
  enabled: !0,
994
994
  priority: u++
995
- }), (p.includes("atom") || p.includes("atome") || $.includes("payments_atome")) && h.push({
995
+ }), (f.includes("atom") || f.includes("atome") || $.includes("payments_atome")) && h.push({
996
996
  id: "atom",
997
997
  enabled: !0,
998
998
  priority: u++
999
- }), (p.includes("dana") || $.includes("payments_dana")) && h.push({
999
+ }), (f.includes("dana") || $.includes("payments_dana")) && h.push({
1000
1000
  id: "dana",
1001
1001
  enabled: !0,
1002
1002
  priority: u++
1003
- }), (p.includes("tng") || p.includes("touch") || $.includes("payments_tng")) && h.push({
1003
+ }), (f.includes("tng") || f.includes("touch") || $.includes("payments_tng")) && h.push({
1004
1004
  id: "tng",
1005
1005
  enabled: !0,
1006
1006
  priority: u++
1007
- }), (p.includes("alipaycn") || p.includes("alipay cn") || p.includes("alipay_cn") || $.includes("payments_alipaycn")) && h.push({
1007
+ }), (f.includes("alipaycn") || f.includes("alipay cn") || f.includes("alipay_cn") || $.includes("payments_alipaycn")) && h.push({
1008
1008
  id: "alipaycn",
1009
1009
  enabled: !0,
1010
1010
  priority: u++
1011
- }), (p.includes("alipayhk") || p.includes("alipay hk") || p.includes("alipay_hk") || $.includes("payments_alipayhk")) && h.push({
1011
+ }), (f.includes("alipayhk") || f.includes("alipay hk") || f.includes("alipay_hk") || $.includes("payments_alipayhk")) && h.push({
1012
1012
  id: "alipayhk",
1013
1013
  enabled: !0,
1014
1014
  priority: u++
1015
- }), (p.includes("gcash") || p.includes("g cash") || $.includes("payments_gcash")) && h.push({
1015
+ }), (f.includes("gcash") || f.includes("g cash") || $.includes("payments_gcash")) && h.push({
1016
1016
  id: "gcash",
1017
1017
  enabled: !0,
1018
1018
  priority: u++
1019
- }), (p.includes("konbini") || $.includes("payments_konbini")) && h.push({
1019
+ }), (f.includes("konbini") || $.includes("payments_konbini")) && h.push({
1020
1020
  id: "konbini",
1021
1021
  enabled: !0,
1022
1022
  priority: u++
1023
- }), (p.includes("payeasy") || p.includes("pay-easy") || p.includes("pay easy") || $.includes("payments_payeasy")) && h.push({
1023
+ }), (f.includes("payeasy") || f.includes("pay-easy") || f.includes("pay easy") || $.includes("payments_payeasy")) && h.push({
1024
1024
  id: "payeasy",
1025
1025
  enabled: !0,
1026
1026
  priority: u++
1027
- }), (p.includes("grabpay") || p.includes("grab pay") || $.includes("payments_grabpay_sg")) && h.push({
1027
+ }), (f.includes("grabpay") || f.includes("grab pay") || $.includes("payments_grabpay_sg")) && h.push({
1028
1028
  id: "grabpay_sg",
1029
1029
  enabled: !0,
1030
1030
  priority: u++
1031
- }), (p.includes("fpx") || $.includes("payments_fpx")) && h.push({
1031
+ }), (f.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: D.READY,
1037
+ status: F.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: D.FAILED,
1054
+ status: F.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: D.PROCESSING,
1156
+ status: F.PROCESSING,
1157
1157
  paymentIntent: r.paymentIntent,
1158
1158
  selectedMethod: e,
1159
1159
  availableMethods: r.availableMethods
@@ -1203,12 +1203,12 @@ var ii = class {
1203
1203
  return "qr";
1204
1204
  }
1205
1205
  }, l = ($, N) => (N === "konbini" || N === "payeasy") && $.startsWith("+81") ? "0" + $.slice(3).replace(/\s/g, "") : $, c = ($, N) => {
1206
- let w = $.toUpperCase(), y = N.toUpperCase();
1207
- if (w.length + y.length > 9) {
1206
+ let P = $.toUpperCase(), y = N.toUpperCase();
1207
+ if (P.length + y.length > 9) {
1208
1208
  const S = Math.ceil(4.5);
1209
- w = w.slice(0, S), y = y.slice(0, 9 - w.length);
1209
+ P = P.slice(0, S), y = y.slice(0, 9 - P.length);
1210
1210
  }
1211
- return { firstName: w, lastName: y };
1211
+ return { firstName: P, lastName: y };
1212
1212
  };
1213
1213
  let h = String(t.firstName), u = String(t.lastName);
1214
1214
  if (e === "payeasy") {
@@ -1216,7 +1216,7 @@ var ii = class {
1216
1216
  h = $.firstName, u = $.lastName;
1217
1217
  } else
1218
1218
  h = h.toUpperCase(), u = u.toUpperCase();
1219
- const f = t.bankName ? String(t.bankName) : void 0, p = {
1219
+ const m = t.bankName ? String(t.bankName) : void 0, f = {
1220
1220
  firstName: h,
1221
1221
  lastName: u,
1222
1222
  email: String(t.email),
@@ -1230,11 +1230,11 @@ var ii = class {
1230
1230
  cvc: String(t.cvv)
1231
1231
  }
1232
1232
  } : { type: d(e) },
1233
- ...f && { bankName: f }
1233
+ ...m && { bankName: m }
1234
1234
  };
1235
1235
  return await this.adapters.http.patch(
1236
1236
  `${this.getApiBaseUrl()}/payment-intent/confirm`,
1237
- p,
1237
+ f,
1238
1238
  {
1239
1239
  "x-token": this.paymentToken
1240
1240
  }
@@ -1242,15 +1242,15 @@ var ii = class {
1242
1242
  id: this.paymentIntentId || "",
1243
1243
  amount: r.paymentIntent.amount,
1244
1244
  currency: r.paymentIntent.currency,
1245
- status: D.PROCESSING
1245
+ status: F.PROCESSING
1246
1246
  };
1247
1247
  } catch (d) {
1248
1248
  let l = "Unknown error", c = "PAYMENT_FAILED";
1249
1249
  if (d instanceof Error)
1250
1250
  try {
1251
1251
  if (ti(d)) {
1252
- const u = (n = d.response) == null ? void 0 : n.data, f = d.data;
1253
- u ? (l = u.message || ((i = u.error) == null ? void 0 : i.message) || d.message, c = u.code || ((a = u.error) == null ? void 0 : a.code) || c) : f ? (l = f.message || ((o = f.error) == null ? void 0 : o.message) || d.message, c = f.code || ((s = f.error) == null ? void 0 : s.code) || c) : l = d.message;
1252
+ const u = (n = d.response) == null ? void 0 : n.data, m = d.data;
1253
+ u ? (l = u.message || ((i = u.error) == null ? void 0 : i.message) || d.message, c = u.code || ((a = u.error) == null ? void 0 : a.code) || c) : m ? (l = m.message || ((o = m.error) == null ? void 0 : o.message) || d.message, c = m.code || ((s = m.error) == null ? void 0 : s.code) || c) : l = d.message;
1254
1254
  } else
1255
1255
  l = d.message;
1256
1256
  } catch {
@@ -1262,7 +1262,7 @@ var ii = class {
1262
1262
  timestamp: this.adapters.timer.now()
1263
1263
  };
1264
1264
  throw this.setState({
1265
- status: D.FAILED,
1265
+ status: F.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: D.REQUIRES_ACTION,
1573
+ status: F.REQUIRES_ACTION,
1574
1574
  ...e.metadata && {
1575
1575
  metadata: e.metadata
1576
1576
  }
1577
1577
  };
1578
1578
  this.setState({
1579
- status: D.REQUIRES_ACTION,
1579
+ status: F.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: D.SUCCEEDED,
1605
+ status: F.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: D.FAILED,
1623
+ status: F.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", pi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/15FHwC4H3W0JrNvsqy6TWH/5d18aa44231c55d6457389e17ac7ea0c/TnG.svg", fi = "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/7ij6D6G25TBPGfmU7G0Fk5/4c9ee7f5dd1f5f3b2c7c3f7d6e2c5a4b/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) {
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", pi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/15FHwC4H3W0JrNvsqy6TWH/5d18aa44231c55d6457389e17ac7ea0c/TnG.svg", fi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/5EK8VF1nACmJ0KpPocLuR7/785178078004e82cb69782c570623b8c/Alipay.svg", mi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3sNSjVq0K9mq5whYcGJhBe/78857434adff807c8e293425491e0bd4/AlipayHK.svg", $i = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4WAO5JJPUOrZ9jBA0Vf4tf/c3896e1a5508efa0c569bd3eaa577dad/GCash.svg", gi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/2k2M0v6xdd5HvUNxX2sYCi/c9de881648bdd61adb15ec1941f2d47e/konbini_420x280.png", yi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3DKc8YOvmllqXs9MIZvDFU/195c73003eacb07b60dd2740c59ab4e3/Pay-easy.svg", bi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1DshnBdElQDmhfINo/abfc59a3c7cb7f3a89b2d32504971c39/GrabPay.svg", vi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/35hEmofKsxnjVV4zidB0Ir/00447c59f79d5c1e095f1354f6b909ce/FPX.svg", nt = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, J = function(e, t, r, n, i, a, o, s, d, l) {
1660
1660
  var c = this;
1661
1661
  c.numeralDecimalMark = e || ".", c.numeralIntegerScale = t > 0 ? t : 0, c.numeralDecimalScale = r >= 0 ? r : 2, c.numeralThousandsGroupStyle = n || J.groupStyle.thousand, c.numeralPositiveOnly = !!i, c.stripLeadingZeroes = a !== !1, c.prefix = o || o === "" ? o : "", c.signBeforePrefix = !!s, c.tailPrefix = !!d, c.delimiter = l || l === "" ? l : ",", c.delimiterRE = l ? new RegExp("\\" + l, "g") : "";
1662
1662
  };
@@ -1686,7 +1686,7 @@ J.prototype = {
1686
1686
  return t.tailPrefix ? n + a.toString() + (t.numeralDecimalScale > 0 ? o.toString() : "") + t.prefix : i + a.toString() + (t.numeralDecimalScale > 0 ? o.toString() : "");
1687
1687
  }
1688
1688
  };
1689
- var wi = J, Vr = function(e, t, r) {
1689
+ var Pi = J, Vr = function(e, t, r) {
1690
1690
  var n = this;
1691
1691
  n.date = [], n.blocks = [], n.datePattern = e, n.dateMin = t.split("-").reverse().map(function(i) {
1692
1692
  return parseInt(i, 10);
@@ -1726,7 +1726,7 @@ Vr.prototype = {
1726
1726
  }), this.getFixedDateString(r);
1727
1727
  },
1728
1728
  getFixedDateString: function(e) {
1729
- var t = this, r = t.datePattern, n = [], i = 0, a = 0, o = 0, s = 0, d = 0, l = 0, c, h, u, f = !1;
1729
+ var t = this, r = t.datePattern, n = [], i = 0, a = 0, o = 0, s = 0, d = 0, l = 0, c, h, u, m = !1;
1730
1730
  e.length === 4 && r[0].toLowerCase() !== "y" && r[1].toLowerCase() !== "y" && (s = r[0] === "d" ? 0 : 2, d = 2 - s, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), n = this.getFixedDate(c, h, 0)), e.length === 8 && (r.forEach(function($, N) {
1731
1731
  switch ($) {
1732
1732
  case "d":
@@ -1739,20 +1739,20 @@ Vr.prototype = {
1739
1739
  o = N;
1740
1740
  break;
1741
1741
  }
1742
- }), l = o * 2, s = i <= o ? i * 2 : i * 2 + 2, d = a <= o ? a * 2 : a * 2 + 2, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 4), 10), f = 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), f = 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), f = e.slice(l, l + 4).length === 4, n = [0, h, u]), n = t.getRangeFixedDate(n), t.date = n;
1743
- var p = n.length === 0 ? e : r.reduce(function($, N) {
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 f = 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]));
1747
1747
  case "m":
1748
1748
  return $ + (n[1] === 0 ? "" : t.addLeadingZero(n[1]));
1749
1749
  case "y":
1750
- return $ + (f ? t.addLeadingZeroForYear(n[2], !1) : "");
1750
+ return $ + (m ? t.addLeadingZeroForYear(n[2], !1) : "");
1751
1751
  case "Y":
1752
- return $ + (f ? t.addLeadingZeroForYear(n[2], !0) : "");
1752
+ return $ + (m ? t.addLeadingZeroForYear(n[2], !0) : "");
1753
1753
  }
1754
1754
  }, "");
1755
- return p;
1755
+ return f;
1756
1756
  },
1757
1757
  getRangeFixedDate: function(e) {
1758
1758
  var t = this, r = t.datePattern, n = t.dateMin || [], i = t.dateMax || [];
@@ -1773,7 +1773,7 @@ Vr.prototype = {
1773
1773
  return t ? (e < 10 ? "000" : e < 100 ? "00" : e < 1e3 ? "0" : "") + e : (e < 10 ? "0" : "") + e;
1774
1774
  }
1775
1775
  };
1776
- var Pi = Vr, zr = function(e, t) {
1776
+ var wi = Vr, zr = function(e, t) {
1777
1777
  var r = this;
1778
1778
  r.time = [], r.blocks = [], r.timePattern = e, r.timeFormat = t, r.initBlocks();
1779
1779
  };
@@ -1827,35 +1827,35 @@ 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(f, p) {
1831
- switch (f) {
1830
+ return e.length === 6 && (r.forEach(function(m, f) {
1831
+ switch (m) {
1832
1832
  case "s":
1833
- i = p * 2;
1833
+ i = f * 2;
1834
1834
  break;
1835
1835
  case "m":
1836
- a = p * 2;
1836
+ a = f * 2;
1837
1837
  break;
1838
1838
  case "h":
1839
- o = p * 2;
1839
+ o = f * 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(f, p) {
1843
- switch (f) {
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, f) {
1843
+ switch (m) {
1844
1844
  case "m":
1845
- a = p * 2;
1845
+ a = f * 2;
1846
1846
  break;
1847
1847
  case "h":
1848
- o = p * 2;
1848
+ o = f * 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(f, p) {
1852
- switch (p) {
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, f) {
1852
+ switch (f) {
1853
1853
  case "s":
1854
- return f + t.addLeadingZero(n[2]);
1854
+ return m + t.addLeadingZero(n[2]);
1855
1855
  case "m":
1856
- return f + t.addLeadingZero(n[1]);
1856
+ return m + t.addLeadingZero(n[1]);
1857
1857
  case "h":
1858
- return f + t.addLeadingZero(n[0]);
1858
+ return m + t.addLeadingZero(n[0]);
1859
1859
  }
1860
1860
  }, "");
1861
1861
  },
@@ -2257,18 +2257,18 @@ x.prototype = {
2257
2257
  return "[Cleave Object]";
2258
2258
  }
2259
2259
  };
2260
- x.NumeralFormatter = wi;
2261
- x.DateFormatter = Pi;
2260
+ x.NumeralFormatter = Pi;
2261
+ x.DateFormatter = wi;
2262
2262
  x.TimeFormatter = Ni;
2263
2263
  x.PhoneFormatter = Ci;
2264
2264
  x.CreditCardDetector = xi;
2265
2265
  x.Util = Ai;
2266
2266
  x.DefaultProperties = Ei;
2267
2267
  (typeof nt == "object" && nt ? nt : window).Cleave = x;
2268
- var rr = x, Dt = {}, _i = function() {
2268
+ var rr = x, Ft = {}, _i = function() {
2269
2269
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
2270
- }, Kr = {}, F = {};
2271
- let Fe;
2270
+ }, Kr = {}, O = {};
2271
+ let Oe;
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
- F.getSymbolSize = function(t) {
2316
+ O.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
- F.getSymbolTotalCodewords = function(t) {
2321
+ O.getSymbolTotalCodewords = function(t) {
2322
2322
  return Ii[t];
2323
2323
  };
2324
- F.getBCHDigit = function(e) {
2324
+ O.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
- F.setToSJISFunction = function(t) {
2330
+ O.setToSJISFunction = function(t) {
2331
2331
  if (typeof t != "function")
2332
2332
  throw new Error('"toSJISFunc" is not a valid function.');
2333
- Fe = t;
2333
+ Oe = t;
2334
2334
  };
2335
- F.isKanjiModeEnabled = function() {
2336
- return typeof Fe < "u";
2335
+ O.isKanjiModeEnabled = function() {
2336
+ return typeof Oe < "u";
2337
2337
  };
2338
- F.toSJIS = function(t) {
2339
- return Fe(t);
2338
+ O.toSJIS = function(t) {
2339
+ return Oe(t);
2340
2340
  };
2341
2341
  var Wt = {};
2342
2342
  (function(e) {
@@ -2394,27 +2394,27 @@ Wr.prototype = {
2394
2394
  }
2395
2395
  };
2396
2396
  var Ti = Wr;
2397
- function Ot(e) {
2397
+ function Dt(e) {
2398
2398
  if (!e || e < 1)
2399
2399
  throw new Error("BitMatrix size must be defined and greater than 0");
2400
2400
  this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);
2401
2401
  }
2402
- Ot.prototype.set = function(e, t, r, n) {
2402
+ Dt.prototype.set = function(e, t, r, n) {
2403
2403
  const i = e * this.size + t;
2404
2404
  this.data[i] = r, n && (this.reservedBit[i] = !0);
2405
2405
  };
2406
- Ot.prototype.get = function(e, t) {
2406
+ Dt.prototype.get = function(e, t) {
2407
2407
  return this.data[e * this.size + t];
2408
2408
  };
2409
- Ot.prototype.xor = function(e, t, r) {
2409
+ Dt.prototype.xor = function(e, t, r) {
2410
2410
  this.data[e * this.size + t] ^= r;
2411
2411
  };
2412
- Ot.prototype.isReserved = function(e, t) {
2412
+ Dt.prototype.isReserved = function(e, t) {
2413
2413
  return this.reservedBit[e * this.size + t];
2414
2414
  };
2415
- var Mi = Ot, Qr = {};
2415
+ var Mi = Dt, Qr = {};
2416
2416
  (function(e) {
2417
- const t = F.getSymbolSize;
2417
+ const t = O.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 = Ot, Qr = {};
2432
2432
  };
2433
2433
  })(Qr);
2434
2434
  var Jr = {};
2435
- const Fi = F.getSymbolSize, nr = 7;
2435
+ const Oi = O.getSymbolSize, nr = 7;
2436
2436
  Jr.getPositions = function(t) {
2437
- const r = Fi(t);
2437
+ const r = Oi(t);
2438
2438
  return [
2439
2439
  // top-left
2440
2440
  [0, 0],
@@ -2472,8 +2472,8 @@ var Xr = {};
2472
2472
  for (let h = 0; h < a; h++) {
2473
2473
  s = d = 0, l = c = null;
2474
2474
  for (let u = 0; u < a; u++) {
2475
- let f = i.get(h, u);
2476
- f === l ? s++ : (s >= 5 && (o += t.N1 + (s - 5)), l = f, s = 1), f = i.get(u, h), f === c ? d++ : (d >= 5 && (o += t.N1 + (d - 5)), c = f, d = 1);
2475
+ let m = i.get(h, u);
2476
+ m === l ? s++ : (s >= 5 && (o += t.N1 + (s - 5)), l = m, s = 1), m = i.get(u, h), m === c ? d++ : (d >= 5 && (o += t.N1 + (d - 5)), c = m, d = 1);
2477
2477
  }
2478
2478
  s >= 5 && (o += t.N1 + (s - 5)), d >= 5 && (o += t.N1 + (d - 5));
2479
2479
  }
@@ -2940,13 +2940,13 @@ Jt.mul = function(t, r) {
2940
2940
  };
2941
2941
  })(Zr);
2942
2942
  const tn = Zr;
2943
- function De(e) {
2943
+ function Fe(e) {
2944
2944
  this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
2945
2945
  }
2946
- De.prototype.initialize = function(t) {
2946
+ Fe.prototype.initialize = function(t) {
2947
2947
  this.degree = t, this.genPoly = tn.generateECPolynomial(this.degree);
2948
2948
  };
2949
- De.prototype.encode = function(t) {
2949
+ Fe.prototype.encode = function(t) {
2950
2950
  if (!this.genPoly)
2951
2951
  throw new Error("Encoder not initialized");
2952
2952
  const r = new Uint8Array(t.length + this.degree);
@@ -2958,12 +2958,12 @@ De.prototype.encode = function(t) {
2958
2958
  }
2959
2959
  return n;
2960
2960
  };
2961
- var Di = De, en = {}, K = {}, Oe = {};
2962
- Oe.isValid = function(t) {
2961
+ var Fi = Fe, en = {}, K = {}, De = {};
2962
+ De.isValid = function(t) {
2963
2963
  return !isNaN(t) && t >= 1 && t <= 40;
2964
2964
  };
2965
2965
  var U = {};
2966
- const rn = "[0-9]+", Oi = "[A-Z $%*+\\-./:]+";
2966
+ const rn = "[0-9]+", Di = "[A-Z $%*+\\-./:]+";
2967
2967
  let vt = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
2968
2968
  vt = vt.replace(/u/g, "\\u");
2969
2969
  const Ri = "(?:(?![A-Z0-9 $%*+\\-./:]|" + vt + `)(?:.|[\r
@@ -2972,7 +2972,7 @@ U.KANJI = new RegExp(vt, "g");
2972
2972
  U.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
2973
2973
  U.BYTE = new RegExp(Ri, "g");
2974
2974
  U.NUMERIC = new RegExp(rn, "g");
2975
- U.ALPHANUMERIC = new RegExp(Oi, "g");
2975
+ U.ALPHANUMERIC = new RegExp(Di, "g");
2976
2976
  const Li = new RegExp("^" + vt + "$"), Bi = new RegExp("^" + rn + "$"), Ui = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
2977
2977
  U.testKanji = function(t) {
2978
2978
  return Li.test(t);
@@ -2984,7 +2984,7 @@ U.testAlphanumeric = function(t) {
2984
2984
  return Ui.test(t);
2985
2985
  };
2986
2986
  (function(e) {
2987
- const t = Oe, r = U;
2987
+ const t = De, r = U;
2988
2988
  e.NUMERIC = {
2989
2989
  id: "Numeric",
2990
2990
  bit: 1,
@@ -3043,36 +3043,36 @@ U.testAlphanumeric = function(t) {
3043
3043
  };
3044
3044
  })(K);
3045
3045
  (function(e) {
3046
- const t = F, r = Qt, n = Wt, i = K, a = Oe, o = 7973, s = t.getBCHDigit(o);
3047
- function d(u, f, p) {
3046
+ const t = O, r = Qt, n = Wt, i = K, a = De, o = 7973, s = t.getBCHDigit(o);
3047
+ function d(u, m, f) {
3048
3048
  for (let $ = 1; $ <= 40; $++)
3049
- if (f <= e.getCapacity($, p, u))
3049
+ if (m <= e.getCapacity($, f, u))
3050
3050
  return $;
3051
3051
  }
3052
- function l(u, f) {
3053
- return i.getCharCountIndicator(u, f) + 4;
3052
+ function l(u, m) {
3053
+ return i.getCharCountIndicator(u, m) + 4;
3054
3054
  }
3055
- function c(u, f) {
3056
- let p = 0;
3055
+ function c(u, m) {
3056
+ let f = 0;
3057
3057
  return u.forEach(function($) {
3058
- const N = l($.mode, f);
3059
- p += N + $.getBitsLength();
3060
- }), p;
3061
- }
3062
- function h(u, f) {
3063
- for (let p = 1; p <= 40; p++)
3064
- if (c(u, p) <= e.getCapacity(p, f, i.MIXED))
3065
- return p;
3066
- }
3067
- e.from = function(f, p) {
3068
- return a.isValid(f) ? parseInt(f, 10) : p;
3069
- }, e.getCapacity = function(f, p, $) {
3070
- if (!a.isValid(f))
3058
+ const N = l($.mode, m);
3059
+ f += N + $.getBitsLength();
3060
+ }), f;
3061
+ }
3062
+ function h(u, m) {
3063
+ for (let f = 1; f <= 40; f++)
3064
+ if (c(u, f) <= e.getCapacity(f, m, i.MIXED))
3065
+ return f;
3066
+ }
3067
+ e.from = function(m, f) {
3068
+ return a.isValid(m) ? parseInt(m, 10) : f;
3069
+ }, e.getCapacity = function(m, f, $) {
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(f), b = r.getTotalCodewordsCount(f, p), w = (N - b) * 8;
3074
- if ($ === i.MIXED) return w;
3075
- const y = w - l($, f);
3073
+ const N = t.getSymbolTotalCodewords(m), b = r.getTotalCodewordsCount(m, f), P = (N - b) * 8;
3074
+ if ($ === i.MIXED) return P;
3075
+ const y = P - l($, m);
3076
3076
  switch ($) {
3077
3077
  case i.NUMERIC:
3078
3078
  return Math.floor(y / 10 * 3);
@@ -3084,40 +3084,40 @@ U.testAlphanumeric = function(t) {
3084
3084
  default:
3085
3085
  return Math.floor(y / 8);
3086
3086
  }
3087
- }, e.getBestVersionForData = function(f, p) {
3087
+ }, e.getBestVersionForData = function(m, f) {
3088
3088
  let $;
3089
- const N = n.from(p, n.M);
3090
- if (Array.isArray(f)) {
3091
- if (f.length > 1)
3092
- return h(f, N);
3093
- if (f.length === 0)
3089
+ const N = n.from(f, n.M);
3090
+ if (Array.isArray(m)) {
3091
+ if (m.length > 1)
3092
+ return h(m, N);
3093
+ if (m.length === 0)
3094
3094
  return 1;
3095
- $ = f[0];
3095
+ $ = m[0];
3096
3096
  } else
3097
- $ = f;
3097
+ $ = m;
3098
3098
  return d($.mode, $.getLength(), N);
3099
- }, e.getEncodedBits = function(f) {
3100
- if (!a.isValid(f) || f < 7)
3099
+ }, e.getEncodedBits = function(m) {
3100
+ if (!a.isValid(m) || m < 7)
3101
3101
  throw new Error("Invalid QR Code version");
3102
- let p = f << 12;
3103
- for (; t.getBCHDigit(p) - s >= 0; )
3104
- p ^= o << t.getBCHDigit(p) - s;
3105
- return f << 12 | p;
3102
+ let f = m << 12;
3103
+ for (; t.getBCHDigit(f) - s >= 0; )
3104
+ f ^= o << t.getBCHDigit(f) - s;
3105
+ return m << 12 | f;
3106
3106
  };
3107
3107
  })(en);
3108
3108
  var nn = {};
3109
- const ye = F, an = 1335, ji = 21522, ir = ye.getBCHDigit(an);
3109
+ const ye = O, an = 1335, Hi = 21522, ir = ye.getBCHDigit(an);
3110
3110
  nn.getEncodedBits = function(t, r) {
3111
3111
  const n = t.bit << 3 | r;
3112
3112
  let i = n << 10;
3113
3113
  for (; ye.getBCHDigit(i) - ir >= 0; )
3114
3114
  i ^= an << ye.getBCHDigit(i) - ir;
3115
- return (n << 10 | i) ^ ji;
3115
+ return (n << 10 | i) ^ Hi;
3116
3116
  };
3117
3117
  var on = {};
3118
- const Hi = K;
3118
+ const ji = K;
3119
3119
  function ot(e) {
3120
- this.mode = Hi.NUMERIC, this.data = e.toString();
3120
+ this.mode = ji.NUMERIC, this.data = e.toString();
3121
3121
  }
3122
3122
  ot.getBitsLength = function(t) {
3123
3123
  return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
@@ -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 = F;
3225
+ const Ki = K, Wi = O;
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, f, p, $, N; !s.empty(); ) {
3262
+ for (var d, l, c, h, u, m, f, $, 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) && (f = u[c], p = h + f, $ = o[c], N = typeof o[c] > "u", (N || $ > p) && (o[c] = p, s.push(c, p), a[c] = l));
3265
+ u.hasOwnProperty(c) && (m = u[c], f = h + m, $ = o[c], N = typeof o[c] > "u", (N || $ > f) && (o[c] = f, s.push(c, f), 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,27 +3319,27 @@ 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 = F, d = Ji;
3322
+ const t = K, r = Gi, n = Vi, i = qi, a = Qi, o = U, s = O, d = Ji;
3323
3323
  function l(b) {
3324
3324
  return unescape(encodeURIComponent(b)).length;
3325
3325
  }
3326
- function c(b, w, y) {
3326
+ function c(b, P, y) {
3327
3327
  const v = [];
3328
3328
  let S;
3329
3329
  for (; (S = b.exec(y)) !== null; )
3330
3330
  v.push({
3331
3331
  data: S[0],
3332
3332
  index: S.index,
3333
- mode: w,
3333
+ mode: P,
3334
3334
  length: S[0].length
3335
3335
  });
3336
3336
  return v;
3337
3337
  }
3338
3338
  function h(b) {
3339
- const w = c(o.NUMERIC, t.NUMERIC, b), y = c(o.ALPHANUMERIC, t.ALPHANUMERIC, b);
3339
+ const P = c(o.NUMERIC, t.NUMERIC, b), y = c(o.ALPHANUMERIC, t.ALPHANUMERIC, b);
3340
3340
  let v, S;
3341
- return s.isKanjiModeEnabled() ? (v = c(o.BYTE, t.BYTE, b), S = c(o.KANJI, t.KANJI, b)) : (v = c(o.BYTE_KANJI, t.BYTE, b), S = []), w.concat(y, v, S).sort(function(E, O) {
3342
- return E.index - O.index;
3341
+ return s.isKanjiModeEnabled() ? (v = c(o.BYTE, t.BYTE, b), S = c(o.KANJI, t.KANJI, b)) : (v = c(o.BYTE_KANJI, t.BYTE, b), S = []), P.concat(y, v, S).sort(function(E, D) {
3342
+ return E.index - D.index;
3343
3343
  }).map(function(E) {
3344
3344
  return {
3345
3345
  data: E.data,
@@ -3348,8 +3348,8 @@ var Ji = sn.exports;
3348
3348
  };
3349
3349
  });
3350
3350
  }
3351
- function u(b, w) {
3352
- switch (w) {
3351
+ function u(b, P) {
3352
+ switch (P) {
3353
3353
  case t.NUMERIC:
3354
3354
  return r.getBitsLength(b);
3355
3355
  case t.ALPHANUMERIC:
@@ -3360,67 +3360,67 @@ var Ji = sn.exports;
3360
3360
  return i.getBitsLength(b);
3361
3361
  }
3362
3362
  }
3363
- function f(b) {
3364
- return b.reduce(function(w, y) {
3365
- const v = w.length - 1 >= 0 ? w[w.length - 1] : null;
3366
- return v && v.mode === y.mode ? (w[w.length - 1].data += y.data, w) : (w.push(y), w);
3363
+ function m(b) {
3364
+ return b.reduce(function(P, y) {
3365
+ const v = P.length - 1 >= 0 ? P[P.length - 1] : null;
3366
+ return v && v.mode === y.mode ? (P[P.length - 1].data += y.data, P) : (P.push(y), P);
3367
3367
  }, []);
3368
3368
  }
3369
- function p(b) {
3370
- const w = [];
3369
+ function f(b) {
3370
+ const P = [];
3371
3371
  for (let y = 0; y < b.length; y++) {
3372
3372
  const v = b[y];
3373
3373
  switch (v.mode) {
3374
3374
  case t.NUMERIC:
3375
- w.push([
3375
+ P.push([
3376
3376
  v,
3377
3377
  { data: v.data, mode: t.ALPHANUMERIC, length: v.length },
3378
3378
  { data: v.data, mode: t.BYTE, length: v.length }
3379
3379
  ]);
3380
3380
  break;
3381
3381
  case t.ALPHANUMERIC:
3382
- w.push([
3382
+ P.push([
3383
3383
  v,
3384
3384
  { data: v.data, mode: t.BYTE, length: v.length }
3385
3385
  ]);
3386
3386
  break;
3387
3387
  case t.KANJI:
3388
- w.push([
3388
+ P.push([
3389
3389
  v,
3390
3390
  { data: v.data, mode: t.BYTE, length: l(v.data) }
3391
3391
  ]);
3392
3392
  break;
3393
3393
  case t.BYTE:
3394
- w.push([
3394
+ P.push([
3395
3395
  { data: v.data, mode: t.BYTE, length: l(v.data) }
3396
3396
  ]);
3397
3397
  }
3398
3398
  }
3399
- return w;
3399
+ return P;
3400
3400
  }
3401
- function $(b, w) {
3401
+ function $(b, P) {
3402
3402
  const y = {}, v = { start: {} };
3403
3403
  let S = ["start"];
3404
3404
  for (let k = 0; k < b.length; k++) {
3405
- const E = b[k], O = [];
3405
+ const E = b[k], D = [];
3406
3406
  for (let Y = 0; Y < E.length; Y++) {
3407
3407
  const B = E[Y], ut = "" + k + Y;
3408
- O.push(ut), y[ut] = { node: B, lastCount: 0 }, v[ut] = {};
3408
+ D.push(ut), y[ut] = { node: B, lastCount: 0 }, v[ut] = {};
3409
3409
  for (let ne = 0; ne < S.length; ne++) {
3410
- const j = S[ne];
3411
- y[j] && y[j].node.mode === B.mode ? (v[j][ut] = u(y[j].lastCount + B.length, B.mode) - u(y[j].lastCount, B.mode), y[j].lastCount += B.length) : (y[j] && (y[j].lastCount = B.length), v[j][ut] = u(B.length, B.mode) + 4 + t.getCharCountIndicator(B.mode, w));
3410
+ const H = S[ne];
3411
+ y[H] && y[H].node.mode === B.mode ? (v[H][ut] = u(y[H].lastCount + B.length, B.mode) - u(y[H].lastCount, B.mode), y[H].lastCount += B.length) : (y[H] && (y[H].lastCount = B.length), v[H][ut] = u(B.length, B.mode) + 4 + t.getCharCountIndicator(B.mode, P));
3412
3412
  }
3413
3413
  }
3414
- S = O;
3414
+ S = D;
3415
3415
  }
3416
3416
  for (let k = 0; k < S.length; k++)
3417
3417
  v[S[k]].end = 0;
3418
3418
  return { map: v, table: y };
3419
3419
  }
3420
- function N(b, w) {
3420
+ function N(b, P) {
3421
3421
  let y;
3422
3422
  const v = t.getBestModeForData(b);
3423
- if (y = t.from(w, v), y !== t.BYTE && y.bit < v.bit)
3423
+ if (y = t.from(P, v), y !== t.BYTE && y.bit < v.bit)
3424
3424
  throw new Error('"' + b + '" cannot be encoded with mode ' + t.toString(y) + `.
3425
3425
  Suggested mode is: ` + t.toString(v));
3426
3426
  switch (y === t.KANJI && !s.isKanjiModeEnabled() && (y = t.BYTE), y) {
@@ -3434,22 +3434,22 @@ var Ji = sn.exports;
3434
3434
  return new i(b);
3435
3435
  }
3436
3436
  }
3437
- e.fromArray = function(w) {
3438
- return w.reduce(function(y, v) {
3437
+ e.fromArray = function(P) {
3438
+ return P.reduce(function(y, v) {
3439
3439
  return typeof v == "string" ? y.push(N(v, null)) : v.data && y.push(N(v.data, v.mode)), y;
3440
3440
  }, []);
3441
- }, e.fromString = function(w, y) {
3442
- const v = h(w, s.isKanjiModeEnabled()), S = p(v), k = $(S, y), E = d.find_path(k.map, "start", "end"), O = [];
3441
+ }, e.fromString = function(P, y) {
3442
+ const v = h(P, s.isKanjiModeEnabled()), S = f(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
- O.push(k.table[E[Y]].node);
3445
- return e.fromArray(f(O));
3446
- }, e.rawSplit = function(w) {
3444
+ D.push(k.table[E[Y]].node);
3445
+ return e.fromArray(m(D));
3446
+ }, e.rawSplit = function(P) {
3447
3447
  return e.fromArray(
3448
- h(w, s.isKanjiModeEnabled())
3448
+ h(P, s.isKanjiModeEnabled())
3449
3449
  );
3450
3450
  };
3451
3451
  })(on);
3452
- const Xt = F, le = Wt, Xi = Ti, Zi = Mi, ta = Qr, ea = Jr, be = Xr, ve = Qt, ra = Di, Yt = en, na = nn, ia = K, ce = on;
3452
+ const Xt = O, le = Wt, Xi = Ti, Zi = Mi, ta = Qr, ea = Jr, be = Xr, ve = Qt, ra = Fi, Yt = en, na = nn, ia = K, ce = on;
3453
3453
  function aa(e, t) {
3454
3454
  const r = e.size, n = ea.getPositions(t);
3455
3455
  for (let i = 0; i < n.length; i++) {
@@ -3519,14 +3519,14 @@ function ca(e, t, r) {
3519
3519
  return ua(n, e, t);
3520
3520
  }
3521
3521
  function ua(e, t, r) {
3522
- const n = Xt.getSymbolTotalCodewords(t), i = ve.getTotalCodewordsCount(t, r), a = n - i, o = ve.getBlocksCount(t, r), s = n % o, d = o - s, l = Math.floor(n / o), c = Math.floor(a / o), h = c + 1, u = l - c, f = new ra(u);
3523
- let p = 0;
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 f = 0;
3524
3524
  const $ = new Array(o), N = new Array(o);
3525
3525
  let b = 0;
3526
- const w = new Uint8Array(e.buffer);
3526
+ const P = new Uint8Array(e.buffer);
3527
3527
  for (let E = 0; E < o; E++) {
3528
- const O = E < d ? c : h;
3529
- $[E] = w.slice(p, p + O), N[E] = f.encode($[E]), p += O, b = Math.max(b, O);
3528
+ const D = E < d ? c : h;
3529
+ $[E] = P.slice(f, f + D), N[E] = m.encode($[E]), f += D, b = Math.max(b, D);
3530
3530
  }
3531
3531
  const y = new Uint8Array(n);
3532
3532
  let v = 0, S, k;
@@ -3623,13 +3623,13 @@ var dn = {}, Re = {};
3623
3623
  }, e.qrToImageData = function(n, i, a) {
3624
3624
  const o = i.modules.size, s = i.modules.data, d = e.getScale(o, a), l = Math.floor((o + a.margin * 2) * d), c = a.margin * d, h = [a.color.light, a.color.dark];
3625
3625
  for (let u = 0; u < l; u++)
3626
- for (let f = 0; f < l; f++) {
3627
- let p = (u * l + f) * 4, $ = a.color.light;
3628
- if (u >= c && f >= c && u < l - c && f < l - c) {
3629
- const N = Math.floor((u - c) / d), b = Math.floor((f - c) / d);
3626
+ for (let m = 0; m < l; m++) {
3627
+ let f = (u * l + m) * 4, $ = a.color.light;
3628
+ if (u >= c && m >= c && u < l - c && m < l - c) {
3629
+ const N = Math.floor((u - c) / d), b = Math.floor((m - c) / d);
3630
3630
  $ = h[s[N * o + b] ? 1 : 0];
3631
3631
  }
3632
- n[p++] = $.r, n[p++] = $.g, n[p++] = $.b, n[p] = $.a;
3632
+ n[f++] = $.r, n[f++] = $.g, n[f++] = $.b, n[f] = $.a;
3633
3633
  }
3634
3634
  };
3635
3635
  })(Re);
@@ -3680,7 +3680,7 @@ ln.render = function(t, r, n) {
3680
3680
  `;
3681
3681
  return typeof n == "function" && n(null, u), u;
3682
3682
  };
3683
- const ma = _i, we = Kr, cn = dn, $a = ln;
3683
+ const ma = _i, Pe = Kr, cn = dn, $a = ln;
3684
3684
  function Le(e, t, r, n, i) {
3685
3685
  const a = [].slice.call(arguments, 1), o = a.length, s = typeof a[o - 1] == "function";
3686
3686
  if (!s && !ma())
@@ -3694,7 +3694,7 @@ function Le(e, t, r, n, i) {
3694
3694
  throw new Error("Too few arguments provided");
3695
3695
  return o === 1 ? (r = t, t = n = void 0) : o === 2 && !t.getContext && (n = r, r = t, t = void 0), new Promise(function(d, l) {
3696
3696
  try {
3697
- const c = we.create(r, n);
3697
+ const c = Pe.create(r, n);
3698
3698
  d(e(c, t, n));
3699
3699
  } catch (c) {
3700
3700
  l(c);
@@ -3702,16 +3702,16 @@ function Le(e, t, r, n, i) {
3702
3702
  });
3703
3703
  }
3704
3704
  try {
3705
- const d = we.create(r, n);
3705
+ const d = Pe.create(r, n);
3706
3706
  i(null, e(d, t, n));
3707
3707
  } catch (d) {
3708
3708
  i(d);
3709
3709
  }
3710
3710
  }
3711
- Dt.create = we.create;
3712
- Dt.toCanvas = Le.bind(null, cn.render);
3713
- Dt.toDataURL = Le.bind(null, cn.renderToDataURL);
3714
- Dt.toString = Le.bind(null, function(e, t, r) {
3711
+ Ft.create = Pe.create;
3712
+ Ft.toCanvas = Le.bind(null, cn.render);
3713
+ Ft.toDataURL = Le.bind(null, cn.renderToDataURL);
3714
+ Ft.toString = Le.bind(null, function(e, t, r) {
3715
3715
  return $a.render(e, r);
3716
3716
  });
3717
3717
  const un = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "(?:[025-7]\\d|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "8776\\d{4}|(?:[27]\\d|61)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-8]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, 0, [["528[89]\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "8\\d{13}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["20"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["20"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{4})(\\d{5})", "$1-$2", ["892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8(?:0[0-7]|9)"], "0$1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[5-8]"], "0$1"]], "0", 0, 0, 0, 0, "[5-8]"], MC: ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["3[289]|4[246-8]|61|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "[3489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
@@ -3768,7 +3768,7 @@ function va(e, t) {
3768
3768
  }
3769
3769
  return String(e);
3770
3770
  }
3771
- var wa = "1.2.0", Pa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ */ function() {
3771
+ var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ */ function() {
3772
3772
  function e(t) {
3773
3773
  Zt(this, e), pn(t), this.metadata = t, fn.call(this, t);
3774
3774
  }
@@ -4197,7 +4197,7 @@ function ka(e, t) {
4197
4197
  }
4198
4198
  function fn(e) {
4199
4199
  var t = e.version;
4200
- typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? or(t, wa) === -1 ? this.v2 = !0 : or(t, Pa) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
4200
+ typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? or(t, Pa) === -1 ? this.v2 = !0 : or(t, wa) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
4201
4201
  }
4202
4202
  function ee(e, t, r) {
4203
4203
  return Ea(e, t, void 0, r);
@@ -4290,23 +4290,23 @@ function pe(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 Fa(e, t, r) {
4293
+ function Oa(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 Da(e, t, r) {
4299
+ function Fa(e, t, r) {
4300
4300
  var n = new I(r), i = n.getCountryCodesForCallingCode(e);
4301
4301
  return i ? i.filter(function(a) {
4302
- return Oa(t, a, r);
4302
+ return Da(t, a, r);
4303
4303
  }) : [];
4304
4304
  }
4305
- function Oa(e, t, r) {
4305
+ function Da(e, t, r) {
4306
4306
  var n = new I(r);
4307
4307
  return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
4308
4308
  }
4309
- var je = 2, Ra = 17, La = 3, T = "0-90-9٠-٩۰-۹", Ba = "-‐-―−ー-", Ua = "//", ja = "..", Ha = "  ­​⁠ ", Ga = "()()[]\\[\\]", Ya = "~⁓∼~", L = "".concat(Ba).concat(Ua).concat(ja).concat(Ha).concat(Ga).concat(Ya), re = "++", Va = new RegExp("([" + T + "])");
4309
+ var He = 2, Ra = 17, La = 3, T = "0-90-9٠-٩۰-۹", Ba = "-‐-―−ー-", Ua = "//", Ha = "..", ja = "  ­​⁠ ", Ga = "()()[]\\[\\]", Ya = "~⁓∼~", L = "".concat(Ba).concat(Ua).concat(Ha).concat(ja).concat(Ga).concat(Ya), re = "++", Va = new RegExp("([" + T + "])");
4310
4310
  function $n(e, t, r, n) {
4311
4311
  if (t) {
4312
4312
  var i = new I(n);
@@ -4320,7 +4320,7 @@ function $n(e, t, r, n) {
4320
4320
  }
4321
4321
  }
4322
4322
  }
4323
- function Pe(e, t) {
4323
+ function we(e, t) {
4324
4324
  if (e && t.numberingPlan.nationalPrefixForParsing()) {
4325
4325
  var r = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), n = r.exec(e);
4326
4326
  if (n) {
@@ -4388,7 +4388,7 @@ function gn(e, t) {
4388
4388
  return o;
4389
4389
  }
4390
4390
  }
4391
- function He(e, t) {
4391
+ function je(e, t) {
4392
4392
  var r = t.nationalNumber, n = t.metadata, i = n.getCountryCodesForCallingCode(e);
4393
4393
  if (i)
4394
4394
  return i.length === 1 ? i[0] : gn(r, {
@@ -4397,13 +4397,13 @@ function He(e, t) {
4397
4397
  });
4398
4398
  }
4399
4399
  function Ne(e, t, r) {
4400
- var n = Pe(e, r), i = n.carrierCode, a = n.nationalNumber;
4400
+ var n = we(e, r), i = n.carrierCode, a = n.nationalNumber;
4401
4401
  if (a !== e) {
4402
4402
  if (!Ka(e, a, r))
4403
4403
  return {
4404
4404
  nationalNumber: e
4405
4405
  };
4406
- if (r.numberingPlan.possibleLengths() && (t || (t = He(r.numberingPlan.callingCode(), {
4406
+ if (r.numberingPlan.possibleLengths() && (t || (t = je(r.numberingPlan.callingCode(), {
4407
4407
  nationalNumber: a,
4408
4408
  metadata: r
4409
4409
  })), !Wa(a, t, r)))
@@ -4487,7 +4487,7 @@ function bn(e) {
4487
4487
  return e.replace(new RegExp("[".concat(L, "]+"), "g"), " ").trim();
4488
4488
  }
4489
4489
  var vn = /(\$\d)/;
4490
- function wn(e, t, r) {
4490
+ function Pn(e, t, r) {
4491
4491
  var n = r.useInternationalFormat, i = r.withNationalPrefix;
4492
4492
  r.carrierCode, r.metadata;
4493
4493
  var a = e.replace(new RegExp(t.pattern()), n ? t.internationalFormat() : (
@@ -4519,18 +4519,18 @@ function Ja(e, t, r) {
4519
4519
  var Xa = ";ext=", et = function(t) {
4520
4520
  return "([".concat(T, "]{1,").concat(t, "})");
4521
4521
  };
4522
- function Pn(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}|;)", f = 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, w = h + "(?:,)+" + o + et(n) + s;
4524
- return f + "|" + p + "|" + $ + "|" + N + "|" + b + "|" + w;
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), f = 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 + "|" + f + "|" + $ + "|" + N + "|" + b + "|" + P;
4525
4525
  }
4526
- var Za = "[" + T + "]{" + je + "}", 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
- "(?:" + Pn() + ")?", no = new RegExp(
4526
+ var Za = "[" + T + "]{" + He + "}", to = "[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){3,}[" + L + T + "]*", eo = new RegExp("^[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){1,2}$", "i"), ro = to + // Phone number extensions
4527
+ "(?:" + wn() + ")?", no = new RegExp(
4528
4528
  // Either a short two-digit-only phone number
4529
4529
  "^" + Za + "$|^" + ro + "$",
4530
4530
  "i"
4531
4531
  );
4532
4532
  function io(e) {
4533
- return e.length >= je && no.test(e);
4533
+ return e.length >= He && no.test(e);
4534
4534
  }
4535
4535
  function ao(e) {
4536
4536
  return eo.test(e);
@@ -4580,7 +4580,7 @@ function so(e, t, r, n) {
4580
4580
  }
4581
4581
  function Vt(e, t, r, n, i) {
4582
4582
  var a = lo(n.formats(), e);
4583
- return a ? wn(e, a, {
4583
+ return a ? Pn(e, a, {
4584
4584
  useInternationalFormat: r === "INTERNATIONAL",
4585
4585
  withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
4586
4586
  carrierCode: t,
@@ -4628,13 +4628,13 @@ function ho(e, t) {
4628
4628
  r++;
4629
4629
  }
4630
4630
  }
4631
- function wt(e) {
4631
+ function Pt(e) {
4632
4632
  "@babel/helpers - typeof";
4633
- return wt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4633
+ return Pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4634
4634
  return typeof t;
4635
4635
  } : function(t) {
4636
4636
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4637
- }, wt(e);
4637
+ }, Pt(e);
4638
4638
  }
4639
4639
  function pr(e, t) {
4640
4640
  var r = Object.keys(e);
@@ -4674,14 +4674,14 @@ function $o(e, t, r) {
4674
4674
  }
4675
4675
  function Nn(e) {
4676
4676
  var t = go(e, "string");
4677
- return wt(t) == "symbol" ? t : t + "";
4677
+ return Pt(t) == "symbol" ? t : t + "";
4678
4678
  }
4679
4679
  function go(e, t) {
4680
- if (wt(e) != "object" || !e) return e;
4680
+ if (Pt(e) != "object" || !e) return e;
4681
4681
  var r = e[Symbol.toPrimitive];
4682
4682
  if (r !== void 0) {
4683
4683
  var n = r.call(e, t);
4684
- if (wt(n) != "object") return n;
4684
+ if (Pt(n) != "object") return n;
4685
4685
  throw new TypeError("@@toPrimitive must return a primitive value.");
4686
4686
  }
4687
4687
  return String(e);
@@ -4721,7 +4721,7 @@ var Cn = /* @__PURE__ */ function() {
4721
4721
  }, {
4722
4722
  key: "getPossibleCountries",
4723
4723
  value: function() {
4724
- return this.country ? [this.country] : Da(this.countryCallingCode, this.nationalNumber, this.getMetadata());
4724
+ return this.country ? [this.country] : Fa(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 Fa(this, {
4736
+ return Oa(this, {
4737
4737
  v2: !0
4738
4738
  }, this.getMetadata());
4739
4739
  }
@@ -4813,10 +4813,10 @@ function Ce(e) {
4813
4813
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4814
4814
  }, Ce(e);
4815
4815
  }
4816
- function wo(e, t, r) {
4816
+ function Po(e, t, r) {
4817
4817
  return Object.defineProperty(e, "prototype", { writable: !1 }), e;
4818
4818
  }
4819
- function Po(e, t) {
4819
+ function wo(e, t) {
4820
4820
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
4821
4821
  }
4822
4822
  function No(e, t, r) {
@@ -4833,7 +4833,7 @@ function xo(e) {
4833
4833
  }
4834
4834
  function So(e, t) {
4835
4835
  if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
4836
- e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Pt(e, t);
4836
+ e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && wt(e, t);
4837
4837
  }
4838
4838
  function xe(e) {
4839
4839
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
@@ -4847,7 +4847,7 @@ function xe(e) {
4847
4847
  function i() {
4848
4848
  return Ao(n, arguments, Nt(this).constructor);
4849
4849
  }
4850
- return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Pt(i, n);
4850
+ return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), wt(i, n);
4851
4851
  }, xe(e);
4852
4852
  }
4853
4853
  function Ao(e, t, r) {
@@ -4855,7 +4855,7 @@ function Ao(e, t, r) {
4855
4855
  var n = [null];
4856
4856
  n.push.apply(n, t);
4857
4857
  var i = new (e.bind.apply(e, n))();
4858
- return r && Pt(i, r.prototype), i;
4858
+ return r && wt(i, r.prototype), i;
4859
4859
  }
4860
4860
  function Ye() {
4861
4861
  try {
@@ -4874,23 +4874,23 @@ function ko(e) {
4874
4874
  return typeof e == "function";
4875
4875
  }
4876
4876
  }
4877
- function Pt(e, t) {
4878
- return Pt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
4877
+ function wt(e, t) {
4878
+ return wt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
4879
4879
  return r.__proto__ = n, r;
4880
- }, Pt(e, t);
4880
+ }, wt(e, t);
4881
4881
  }
4882
4882
  function Nt(e) {
4883
4883
  return Nt = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
4884
4884
  return t.__proto__ || Object.getPrototypeOf(t);
4885
4885
  }, Nt(e);
4886
4886
  }
4887
- var H = /* @__PURE__ */ function(e) {
4887
+ var j = /* @__PURE__ */ function(e) {
4888
4888
  function t(r) {
4889
4889
  var n;
4890
- return Po(this, t), n = No(this, t, [r]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
4890
+ return wo(this, t), n = No(this, t, [r]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
4891
4891
  }
4892
- return So(t, e), wo(t);
4893
- }(/* @__PURE__ */ xe(Error)), mr = new RegExp("(?:" + Pn() + ")$", "i");
4892
+ return So(t, e), Po(t);
4893
+ }(/* @__PURE__ */ xe(Error)), mr = new RegExp("(?:" + wn() + ")$", "i");
4894
4894
  function Eo(e) {
4895
4895
  var t = e.search(mr);
4896
4896
  if (t < 0)
@@ -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 = Fo(e)) || t) {
5017
+ if (Array.isArray(e) || (r = Oo(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 Fo(e, t) {
5027
+ function Oo(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,14 +5039,14 @@ function gr(e, t) {
5039
5039
  function yr(e) {
5040
5040
  for (var t = "", r = Mo(e.split("")), n; !(n = r()).done; ) {
5041
5041
  var i = n.value;
5042
- t += Do(i, t) || "";
5042
+ t += Fo(i, t) || "";
5043
5043
  }
5044
5044
  return t;
5045
5045
  }
5046
- function Do(e, t, r) {
5046
+ function Fo(e, t, r) {
5047
5047
  return e === "+" ? t ? void 0 : "+" : xn(e);
5048
5048
  }
5049
- var Sn = "+", Oo = "[\\-\\.\\(\\)]?", br = "([" + T + "]|" + Oo + ")", Ro = "^\\" + Sn + br + "*[" + T + "]" + br + "*$", Lo = new RegExp(Ro, "g"), Se = T, Bo = "[" + Se + "]+((\\-)*[" + Se + "])*", Uo = "a-zA-Z", jo = "[" + Uo + "]+((\\-)*[" + Se + "])*", Ho = "^(" + Bo + "\\.)*" + jo + "\\.?$", Go = new RegExp(Ho, "g"), vr = "tel:", Ae = ";phone-context=", Yo = ";isub=";
5049
+ var Sn = "+", Do = "[\\-\\.\\(\\)]?", br = "([" + T + "]|" + Do + ")", Ro = "^\\" + Sn + br + "*[" + T + "]" + br + "*$", Lo = new RegExp(Ro, "g"), Se = T, Bo = "[" + Se + "]+((\\-)*[" + Se + "])*", Uo = "a-zA-Z", Ho = "[" + Uo + "]+((\\-)*[" + Se + "])*", jo = "^(" + Bo + "\\.)*" + Ho + "\\.?$", Go = new RegExp(jo, "g"), vr = "tel:", Ae = ";phone-context=", Yo = ";isub=";
5050
5050
  function Vo(e) {
5051
5051
  var t = e.indexOf(Ae);
5052
5052
  if (t < 0)
@@ -5063,7 +5063,7 @@ function zo(e) {
5063
5063
  function qo(e, t) {
5064
5064
  var r = t.extractFormattedPhoneNumber, n = Vo(e);
5065
5065
  if (!zo(n))
5066
- throw new H("NOT_A_NUMBER");
5066
+ throw new j("NOT_A_NUMBER");
5067
5067
  var i;
5068
5068
  if (n === null)
5069
5069
  i = r(e) || "";
@@ -5081,49 +5081,49 @@ function qo(e, t) {
5081
5081
  var Ko = 250, Wo = new RegExp("[" + re + T + "]"), Qo = new RegExp("[^" + T + "#]+$");
5082
5082
  function Jo(e, t, r) {
5083
5083
  if (t = t || {}, r = new I(r), t.defaultCountry && !r.hasCountry(t.defaultCountry))
5084
- throw t.v2 ? new H("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
5084
+ throw t.v2 ? new j("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
5085
5085
  var n = Zo(e, t.v2, t.extract), i = n.number, a = n.ext, o = n.error;
5086
5086
  if (!i) {
5087
5087
  if (t.v2)
5088
- throw o === "TOO_SHORT" ? new H("TOO_SHORT") : new H("NOT_A_NUMBER");
5088
+ throw o === "TOO_SHORT" ? new j("TOO_SHORT") : new j("NOT_A_NUMBER");
5089
5089
  return {};
5090
5090
  }
5091
5091
  var s = es(i, t.defaultCountry, t.defaultCallingCode, r), d = s.country, l = s.nationalNumber, c = s.countryCallingCode, h = s.countryCallingCodeSource, u = s.carrierCode;
5092
5092
  if (!r.hasSelectedNumberingPlan()) {
5093
5093
  if (t.v2)
5094
- throw new H("INVALID_COUNTRY");
5094
+ throw new j("INVALID_COUNTRY");
5095
5095
  return {};
5096
5096
  }
5097
- if (!l || l.length < je) {
5097
+ if (!l || l.length < He) {
5098
5098
  if (t.v2)
5099
- throw new H("TOO_SHORT");
5099
+ throw new j("TOO_SHORT");
5100
5100
  return {};
5101
5101
  }
5102
5102
  if (l.length > Ra) {
5103
5103
  if (t.v2)
5104
- throw new H("TOO_LONG");
5104
+ throw new j("TOO_LONG");
5105
5105
  return {};
5106
5106
  }
5107
5107
  if (t.v2) {
5108
- var f = new Cn(c, l, r.metadata);
5109
- return d && (f.country = d), u && (f.carrierCode = u), a && (f.ext = a), f.__countryCallingCodeSource = h, f;
5108
+ var m = new Cn(c, l, r.metadata);
5109
+ return d && (m.country = d), u && (m.carrierCode = u), a && (m.ext = a), m.__countryCallingCodeSource = h, m;
5110
5110
  }
5111
- var p = (t.extended ? r.hasSelectedNumberingPlan() : d) ? G(l, r.nationalNumberPattern()) : !1;
5111
+ var f = (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: p,
5117
- possible: p ? !0 : !!(t.extended === !0 && r.possibleLengths() && mn(l, d, r)),
5116
+ valid: f,
5117
+ possible: f ? !0 : !!(t.extended === !0 && r.possibleLengths() && mn(l, d, r)),
5118
5118
  phone: l,
5119
5119
  ext: a
5120
- } : p ? ts(d, l, a) : {};
5120
+ } : f ? ts(d, l, a) : {};
5121
5121
  }
5122
5122
  function Xo(e, t, r) {
5123
5123
  if (e) {
5124
5124
  if (e.length > Ko) {
5125
5125
  if (r)
5126
- throw new H("TOO_LONG");
5126
+ throw new j("TOO_LONG");
5127
5127
  return;
5128
5128
  }
5129
5129
  if (t === !1)
@@ -5169,7 +5169,7 @@ function es(e, t, r, n) {
5169
5169
  countryCallingCodeSource: a,
5170
5170
  countryCallingCode: o
5171
5171
  };
5172
- var l = Ne(yr(s), d, n), c = l.nationalNumber, h = l.carrierCode, u = He(o, {
5172
+ var l = Ne(yr(s), d, n), c = l.nationalNumber, h = l.carrierCode, u = je(o, {
5173
5173
  nationalNumber: c,
5174
5174
  metadata: n
5175
5175
  });
@@ -5189,7 +5189,7 @@ function Ct(e) {
5189
5189
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
5190
5190
  }, Ct(e);
5191
5191
  }
5192
- function wr(e, t) {
5192
+ function Pr(e, t) {
5193
5193
  var r = Object.keys(e);
5194
5194
  if (Object.getOwnPropertySymbols) {
5195
5195
  var n = Object.getOwnPropertySymbols(e);
@@ -5199,12 +5199,12 @@ function wr(e, t) {
5199
5199
  }
5200
5200
  return r;
5201
5201
  }
5202
- function Pr(e) {
5202
+ function wr(e) {
5203
5203
  for (var t = 1; t < arguments.length; t++) {
5204
5204
  var r = arguments[t] != null ? arguments[t] : {};
5205
- t % 2 ? wr(Object(r), !0).forEach(function(n) {
5205
+ t % 2 ? Pr(Object(r), !0).forEach(function(n) {
5206
5206
  rs(e, n, r[n]);
5207
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : wr(Object(r)).forEach(function(n) {
5207
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Pr(Object(r)).forEach(function(n) {
5208
5208
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
5209
5209
  });
5210
5210
  }
@@ -5228,7 +5228,7 @@ function is(e, t) {
5228
5228
  return (t === "string" ? String : Number)(e);
5229
5229
  }
5230
5230
  function An(e, t, r) {
5231
- return Jo(e, Pr(Pr({}, t), {}, {
5231
+ return Jo(e, wr(wr({}, t), {}, {
5232
5232
  v2: !0
5233
5233
  }), r);
5234
5234
  }
@@ -5393,7 +5393,7 @@ function ys(e, t, r) {
5393
5393
  try {
5394
5394
  return An(e, t, r);
5395
5395
  } catch (n) {
5396
- if (!(n instanceof H)) throw n;
5396
+ if (!(n instanceof j)) throw n;
5397
5397
  }
5398
5398
  }
5399
5399
  function At(e) {
@@ -5429,10 +5429,10 @@ function bs(e, t, r) {
5429
5429
  return (t = vs(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5430
5430
  }
5431
5431
  function vs(e) {
5432
- var t = ws(e, "string");
5432
+ var t = Ps(e, "string");
5433
5433
  return At(t) == "symbol" ? t : t + "";
5434
5434
  }
5435
- function ws(e, t) {
5435
+ function Ps(e, t) {
5436
5436
  if (At(e) != "object" || !e) return e;
5437
5437
  var r = e[Symbol.toPrimitive];
5438
5438
  if (r !== void 0) {
@@ -5442,7 +5442,7 @@ function ws(e, t) {
5442
5442
  }
5443
5443
  return (t === "string" ? String : Number)(e);
5444
5444
  }
5445
- function Ps() {
5445
+ function ws() {
5446
5446
  var e = kn(arguments), t = e.text, r = e.options, n = e.metadata;
5447
5447
  r = kr(kr({}, r), {}, {
5448
5448
  extract: !1
@@ -5616,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 Ds(e, t, {
5619
+ return Fs(e, t, {
5620
5620
  metadata: n,
5621
5621
  shouldTryNationalPrefixFormattingRule: i,
5622
5622
  getSeparatorAfterNationalPrefix: a
5623
5623
  });
5624
5624
  }
5625
- function Fs(e, t, r) {
5625
+ function Os(e, t, r) {
5626
5626
  return ee(e, t, r) === "IS_POSSIBLE";
5627
5627
  }
5628
- function Ds(e, t, r) {
5628
+ function Fs(e, t, r) {
5629
5629
  var n = r.metadata, i = r.shouldTryNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix;
5630
5630
  if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, i(t)) {
5631
5631
  var o = Ir(e, t, {
@@ -5643,16 +5643,16 @@ function Ds(e, t, r) {
5643
5643
  });
5644
5644
  }
5645
5645
  function Ir(e, t, r) {
5646
- var n = r.metadata, i = r.useNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, o = wn(e.nationalSignificantNumber, t, {
5646
+ var n = r.metadata, i = r.useNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, o = Pn(e.nationalSignificantNumber, t, {
5647
5647
  carrierCode: e.carrierCode,
5648
5648
  useInternationalFormat: e.international,
5649
5649
  withNationalPrefix: i,
5650
5650
  metadata: n
5651
5651
  });
5652
- if (i || (e.nationalPrefix ? o = e.nationalPrefix + a(t) + o : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (o = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + o)), Os(o, e))
5652
+ if (i || (e.nationalPrefix ? o = e.nationalPrefix + a(t) + o : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (o = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + o)), Ds(o, e))
5653
5653
  return o;
5654
5654
  }
5655
- function Os(e, t) {
5655
+ function Ds(e, t) {
5656
5656
  return zt(e) === t.getNationalDigits();
5657
5657
  }
5658
5658
  function Et(e) {
@@ -5676,10 +5676,10 @@ function Bs(e, t, r) {
5676
5676
  return t && Ls(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5677
5677
  }
5678
5678
  function Us(e) {
5679
- var t = js(e, "string");
5679
+ var t = Hs(e, "string");
5680
5680
  return Et(t) == "symbol" ? t : t + "";
5681
5681
  }
5682
- function js(e, t) {
5682
+ function Hs(e, t) {
5683
5683
  if (Et(e) != "object" || !e) return e;
5684
5684
  var r = e[Symbol.toPrimitive];
5685
5685
  if (r !== void 0) {
@@ -5689,7 +5689,7 @@ function js(e, t) {
5689
5689
  }
5690
5690
  return String(e);
5691
5691
  }
5692
- var Hs = /* @__PURE__ */ function() {
5692
+ var js = /* @__PURE__ */ function() {
5693
5693
  function e() {
5694
5694
  Rs(this, e);
5695
5695
  }
@@ -5869,7 +5869,7 @@ function Js(e, t) {
5869
5869
  }
5870
5870
  var Xs = /* @__PURE__ */ function() {
5871
5871
  function e(t) {
5872
- qs(this, e), this.matchTree = new Hs().parse(t);
5872
+ qs(this, e), this.matchTree = new js().parse(t);
5873
5873
  }
5874
5874
  return Ws(e, [{
5875
5875
  key: "match",
@@ -5957,8 +5957,8 @@ function ke(e, t, r) {
5957
5957
  // matchedChars: ...
5958
5958
  } : void 0;
5959
5959
  case "[]":
5960
- for (var f = Tr(t.args), p; !(p = f()).done; ) {
5961
- var $ = p.value;
5960
+ for (var m = Tr(t.args), f; !(f = m()).done; ) {
5961
+ var $ = f.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 Fr(e, t) {
5986
+ function Or(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 Dr(e, t);
6001
+ if (typeof e == "string") return Fr(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) ? Dr(e, t) : void 0;
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) ? Fr(e, t) : void 0;
6004
6004
  }
6005
6005
  }
6006
- function Dr(e, t) {
6006
+ function Fr(e, t) {
6007
6007
  (t == null || t > e.length) && (t = e.length);
6008
6008
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
6009
6009
  return n;
@@ -6038,7 +6038,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6038
6038
  return /\[([^\[\]])*\]/g;
6039
6039
  }, ld = function() {
6040
6040
  return /\d(?=[^,}][^,}])/g;
6041
- }, cd = new RegExp("[" + L + "]*\\$1[" + L + "]*(\\$\\d[" + L + "]*)*$"), Or = 3, ud = /* @__PURE__ */ function() {
6041
+ }, cd = new RegExp("[" + L + "]*\\$1[" + L + "]*(\\$\\d[" + L + "]*)*$"), Dr = 3, ud = /* @__PURE__ */ function() {
6042
6042
  function e(t) {
6043
6043
  t.state;
6044
6044
  var r = t.metadata;
@@ -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 (Fs(n.nationalSignificantNumber, n.country, this.metadata))
6068
- for (var a = Fr(this.matchingFormats), o; !(o = a()).done; ) {
6067
+ if (Os(n.nationalSignificantNumber, n.country, this.metadata))
6068
+ for (var a = Or(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) {
@@ -6094,7 +6094,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6094
6094
  }, {
6095
6095
  key: "narrowDownMatchingFormats",
6096
6096
  value: function(r) {
6097
- var n = this, i = r.nationalSignificantNumber, a = r.nationalPrefix, o = r.international, s = i, d = s.length - Or;
6097
+ var n = this, i = r.nationalSignificantNumber, a = r.nationalPrefix, o = r.international, s = i, d = s.length - Dr;
6098
6098
  d < 0 && (d = 0), this.matchingFormats = this.matchingFormats.filter(function(l) {
6099
6099
  return n.formatSuits(l, o, a) && n.formatMatches(l, s, d);
6100
6100
  }), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
@@ -6113,7 +6113,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6113
6113
  return !0;
6114
6114
  i = Math.min(i, a - 1);
6115
6115
  var o = r.leadingDigitsPatterns()[i];
6116
- if (n.length < Or)
6116
+ if (n.length < Dr)
6117
6117
  try {
6118
6118
  return new Xs(o).match(n, {
6119
6119
  allowOverflow: !0
@@ -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 = Fr(this.matchingFormats.slice()), s; !(s = o()).done && (a = i(), a !== 0); )
6139
+ }, a, o = Or(this.matchingFormats.slice()), s; !(s = o()).done && (a = i(), a !== 0); )
6140
6140
  ;
6141
6141
  return this.chosenFormat || this.resetFormat(), this.chosenFormat;
6142
6142
  }
@@ -6192,18 +6192,18 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6192
6192
  if (!(i.length > l.length)) {
6193
6193
  var c = new RegExp("^" + d + "$"), h = i.replace(/\d/g, Ee);
6194
6194
  c.test(h) && (l = h);
6195
- var u = this.getFormatFormat(r, a), f;
6195
+ var u = this.getFormatFormat(r, a), m;
6196
6196
  if (this.shouldTryNationalPrefixFormattingRule(r, {
6197
6197
  international: a,
6198
6198
  nationalPrefix: o
6199
6199
  })) {
6200
- var p = u.replace(vn, r.nationalPrefixFormattingRule());
6201
- if (zt(r.nationalPrefixFormattingRule()) === (o || "") + zt("$1") && (u = p, f = !0, o))
6200
+ var f = u.replace(vn, r.nationalPrefixFormattingRule());
6201
+ if (zt(r.nationalPrefixFormattingRule()) === (o || "") + zt("$1") && (u = f, m = !0, o))
6202
6202
  for (var $ = o.length; $ > 0; )
6203
6203
  u = u.replace(/\d/, R), $--;
6204
6204
  }
6205
6205
  var N = l.replace(new RegExp(d), u).replace(new RegExp(Ee, "g"), R);
6206
- return f || (s ? N = Ut(R, s.length) + " " + N : o && (N = Ut(R, o.length) + this.getSeparatorAfterNationalPrefix(r) + N)), a && (N = bn(N)), N;
6206
+ return m || (s ? N = Ut(R, s.length) + " " + N : o && (N = Ut(R, o.length) + this.getSeparatorAfterNationalPrefix(r) + N)), a && (N = bn(N)), N;
6207
6207
  }
6208
6208
  }
6209
6209
  }, {
@@ -6302,7 +6302,7 @@ function vd(e, t) {
6302
6302
  }
6303
6303
  return String(e);
6304
6304
  }
6305
- var wd = "[" + L + T + "]+", Pd = new RegExp("^" + wd + "$", "i"), Nd = "(?:[" + re + "][" + L + T + "]*|[" + L + T + "]+)", Cd = new RegExp("[^" + L + T + "]+.*$"), xd = /[^\d\[\]]/, Sd = /* @__PURE__ */ function() {
6305
+ var Pd = "[" + L + T + "]+", wd = new RegExp("^" + Pd + "$", "i"), Nd = "(?:[" + re + "][" + L + T + "]*|[" + L + T + "]+)", Cd = new RegExp("[^" + L + T + "]+.*$"), xd = /[^\d\[\]]/, Sd = /* @__PURE__ */ function() {
6306
6306
  function e(t) {
6307
6307
  var r = t.defaultCountry, n = t.defaultCallingCode, i = t.metadata, a = t.onNationalSignificantNumberChange;
6308
6308
  $d(this, e), this.defaultCountry = r, this.defaultCallingCode = n, this.metadata = i, this.onNationalSignificantNumberChange = a;
@@ -6372,7 +6372,7 @@ var wd = "[" + L + T + "]+", Pd = new RegExp("^" + wd + "$", "i"), Nd = "(?:[" +
6372
6372
  key: "extractNationalSignificantNumber",
6373
6373
  value: function(r, n) {
6374
6374
  if (this.hasSelectedNumberingPlan) {
6375
- var i = Pe(r, this.metadata), a = i.nationalPrefix, o = i.nationalNumber, s = i.carrierCode;
6375
+ var i = we(r, this.metadata), a = i.nationalPrefix, o = i.nationalNumber, s = i.carrierCode;
6376
6376
  if (o !== r)
6377
6377
  return this.onExtractedNationalNumber(a, s, o, r, n), !0;
6378
6378
  }
@@ -6388,7 +6388,7 @@ var wd = "[" + L + T + "]+", Pd = new RegExp("^" + wd + "$", "i"), Nd = "(?:[" +
6388
6388
  if (!this.hasExtractedNationalSignificantNumber)
6389
6389
  return this.extractNationalSignificantNumber(r, i);
6390
6390
  if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
6391
- var a = Pe(r, this.metadata), o = a.nationalPrefix, s = a.nationalNumber, d = a.carrierCode;
6391
+ var a = we(r, this.metadata), o = a.nationalPrefix, s = a.nationalNumber, d = a.carrierCode;
6392
6392
  if (s !== n)
6393
6393
  return this.onExtractedNationalNumber(o, d, s, r, i), !0;
6394
6394
  }
@@ -6481,7 +6481,7 @@ function kd(e) {
6481
6481
  }
6482
6482
  function Ed(e) {
6483
6483
  var t = kd(e), r = En(t, 2), n = r[0], i = r[1];
6484
- return Pd.test(n) || (n = ""), [n, i];
6484
+ return wd.test(n) || (n = ""), [n, i];
6485
6485
  }
6486
6486
  function Mt(e) {
6487
6487
  "@babel/helpers - typeof";
@@ -6492,7 +6492,7 @@ function Mt(e) {
6492
6492
  }, Mt(e);
6493
6493
  }
6494
6494
  function _d(e, t) {
6495
- return Fd(e) || Md(e, t) || Td(e, t) || Id();
6495
+ return Od(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,20 +6528,20 @@ function Md(e, t) {
6528
6528
  return s;
6529
6529
  }
6530
6530
  }
6531
- function Fd(e) {
6531
+ function Od(e) {
6532
6532
  if (Array.isArray(e)) return e;
6533
6533
  }
6534
- function Dd(e, t) {
6534
+ function Fd(e, t) {
6535
6535
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
6536
6536
  }
6537
- function Od(e, t) {
6537
+ function Dd(e, t) {
6538
6538
  for (var r = 0; r < t.length; r++) {
6539
6539
  var n = t[r];
6540
6540
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ld(n.key), n);
6541
6541
  }
6542
6542
  }
6543
6543
  function Rd(e, t, r) {
6544
- return t && Od(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6544
+ return t && Dd(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6545
6545
  }
6546
6546
  function Ld(e) {
6547
6547
  var t = Bd(e, "string");
@@ -6559,7 +6559,7 @@ function Bd(e, t) {
6559
6559
  }
6560
6560
  var _n = /* @__PURE__ */ function() {
6561
6561
  function e(t, r) {
6562
- Dd(this, e), this.metadata = new I(r);
6562
+ Fd(this, e), this.metadata = new I(r);
6563
6563
  var n = this.getCountryAndCallingCode(t), i = _d(n, 2), a = i[0], o = i[1];
6564
6564
  this.defaultCountry = a, this.defaultCallingCode = o, this.reset();
6565
6565
  }
@@ -6722,7 +6722,7 @@ var _n = /* @__PURE__ */ function() {
6722
6722
  }, {
6723
6723
  key: "determineTheCountry",
6724
6724
  value: function() {
6725
- this.state.setCountry(He(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
6725
+ this.state.setCountry(je(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
6726
6726
  nationalNumber: this.state.nationalSignificantNumber,
6727
6727
  metadata: this.metadata
6728
6728
  }));
@@ -6840,20 +6840,20 @@ var _n = /* @__PURE__ */ function() {
6840
6840
  function Ud() {
6841
6841
  return hn(fs, arguments);
6842
6842
  }
6843
- function jd() {
6844
- return hn(Ps, arguments);
6843
+ function Hd() {
6844
+ return hn(ws, arguments);
6845
6845
  }
6846
6846
  function qt(e) {
6847
6847
  return _n.call(this, e, un);
6848
6848
  }
6849
6849
  qt.prototype = Object.create(_n.prototype, {});
6850
6850
  qt.prototype.constructor = qt;
6851
- var Hd = Object.defineProperty, Gd = Object.getOwnPropertyDescriptor, C = (e, t, r, n) => {
6851
+ var jd = Object.defineProperty, Gd = Object.getOwnPropertyDescriptor, C = (e, t, r, n) => {
6852
6852
  for (var i = n > 1 ? void 0 : n ? Gd(t, r) : t, a = e.length - 1, o; a >= 0; a--)
6853
6853
  (o = e[a]) && (i = (n ? o(t, r, i) : o(i)) || i);
6854
- return n && i && Hd(t, r, i), i;
6854
+ return n && i && jd(t, r, i), i;
6855
6855
  };
6856
- let P = class extends mt {
6856
+ let w = class extends mt {
6857
6857
  constructor() {
6858
6858
  super(...arguments), this.currentState = { status: "idle" }, this.selectedMethod = null, this.cardFormData = {
6859
6859
  cardNumber: "",
@@ -6884,8 +6884,8 @@ let P = class extends mt {
6884
6884
  }, this.themeMediaQuery = null, this.themeMediaQueryHandler = null, this.handle3DSPostMessage = (e) => {
6885
6885
  e.data === "ON_AWX_3DS_START_PAGE_LEAVE" && (this.leaveEventsCounter++, this.leaveEventsCounter > 1 && this.handle3DSComplete());
6886
6886
  }, this.MIN_PHONE_LENGTH = 8, this.JAPAN_ONLY_PHONE_METHODS = [
6887
- m.KONBINI,
6888
- m.PAYEASY
6887
+ p.KONBINI,
6888
+ p.PAYEASY
6889
6889
  ], this.COUNTRY_OPTIONS = [
6890
6890
  { code: "JP", name: "Japan", flag: "🇯🇵", dialCode: "+81" },
6891
6891
  { code: "SG", name: "Singapore", flag: "🇸🇬", dialCode: "+65" },
@@ -6907,6 +6907,38 @@ let P = class extends mt {
6907
6907
  hasAllRequiredProps() {
6908
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() === "" || !this.phoneNumber || typeof this.phoneNumber != "string" || this.phoneNumber.trim() === "");
6909
6909
  }
6910
+ /**
6911
+ * Check if a payment method requires phone number
6912
+ * Only these 5 methods require phone number: Boost, ShopeePay, Konbini, PayEasy, Atome
6913
+ */
6914
+ requiresPhoneNumber(e) {
6915
+ return [
6916
+ p.BOOST,
6917
+ p.SHOPEEPAY,
6918
+ p.KONBINI,
6919
+ p.PAYEASY,
6920
+ p.ATOM
6921
+ ].includes(e);
6922
+ }
6923
+ /**
6924
+ * Check if phone number is available for payment
6925
+ * Returns true if either the prop is set or the user has entered a valid number in the input
6926
+ */
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());
6935
+ }
6936
+ /**
6937
+ * Check if the pay button should be disabled for a method
6938
+ */
6939
+ isPayButtonDisabled(e) {
6940
+ return !!(this.currentState.status === "processing" || this.currentState.status === "requires_action" || this.requiresPhoneNumber(e) && !this.hasPhoneNumber(e));
6941
+ }
6910
6942
  /**
6911
6943
  * Apply appearance settings to the component
6912
6944
  *
@@ -7096,7 +7128,7 @@ let P = class extends mt {
7096
7128
  const r = this.qrCode.startsWith("http://") || this.qrCode.startsWith("https://"), n = this.qrCode.startsWith("data:image");
7097
7129
  if (!r && !n)
7098
7130
  try {
7099
- const i = await Dt.toDataURL(this.qrCode, {
7131
+ const i = await Ft.toDataURL(this.qrCode, {
7100
7132
  width: 300,
7101
7133
  margin: 2,
7102
7134
  color: {
@@ -7250,8 +7282,8 @@ let P = class extends mt {
7250
7282
  const d = /* @__PURE__ */ new Date(), l = d.getFullYear(), c = d.getMonth() + 1;
7251
7283
  let h;
7252
7284
  if (o.length === 2) {
7253
- const u = parseInt(o, 10), f = l % 100, p = Math.floor(l / 100) * 100;
7254
- u < f && f - u > 80 ? h = p + 100 + u : h = p + u;
7285
+ const u = parseInt(o, 10), m = l % 100, f = Math.floor(l / 100) * 100;
7286
+ u < m && m - u > 80 ? h = f + 100 + u : h = f + u;
7255
7287
  } else
7256
7288
  return { valid: !1, error: "Invalid year format" };
7257
7289
  return h < l ? { valid: !1, error: "Card has expired" } : h === l && s < c ? { valid: !1, error: "Card has expired" } : { valid: !0 };
@@ -7271,7 +7303,7 @@ let P = class extends mt {
7271
7303
  return;
7272
7304
  this.paymentLocked = !0;
7273
7305
  const e = this.cardFormData.expiry.split("/"), t = (e[0] || "").trim(), n = `20${(e[1] || "").trim().substring(0, 2)}`, i = this.formatNamesUppercase();
7274
- this.sdk.submitPayment(m.CARD, {
7306
+ this.sdk.submitPayment(p.CARD, {
7275
7307
  cardNumber: this.cardFormData.cardNumber.replace(/\s/g, ""),
7276
7308
  expiryMonth: t,
7277
7309
  expiryYear: n,
@@ -7287,7 +7319,7 @@ let P = class extends mt {
7287
7319
  return;
7288
7320
  this.paymentLocked = !0;
7289
7321
  const e = this.formatNamesUppercase();
7290
- this.sdk.submitPayment(m.PAYNOW, {
7322
+ this.sdk.submitPayment(p.PAYNOW, {
7291
7323
  firstName: e.firstName,
7292
7324
  lastName: e.lastName,
7293
7325
  email: this.email,
@@ -7299,7 +7331,7 @@ let P = class extends mt {
7299
7331
  return;
7300
7332
  this.paymentLocked = !0;
7301
7333
  const e = this.formatNamesUppercase();
7302
- this.sdk.submitPayment(m.PROMPTPAY, {
7334
+ this.sdk.submitPayment(p.PROMPTPAY, {
7303
7335
  firstName: e.firstName,
7304
7336
  lastName: e.lastName,
7305
7337
  email: this.email,
@@ -7311,7 +7343,7 @@ let P = class extends mt {
7311
7343
  return;
7312
7344
  this.paymentLocked = !0;
7313
7345
  const e = this.formatNamesUppercase();
7314
- this.sdk.submitPayment(m.DUITNOW, {
7346
+ this.sdk.submitPayment(p.DUITNOW, {
7315
7347
  firstName: e.firstName,
7316
7348
  lastName: e.lastName,
7317
7349
  email: this.email,
@@ -7323,7 +7355,7 @@ let P = class extends mt {
7323
7355
  return;
7324
7356
  this.paymentLocked = !0;
7325
7357
  const e = this.formatNamesUppercase();
7326
- this.sdk.submitPayment(m.GOPAY, {
7358
+ this.sdk.submitPayment(p.GOPAY, {
7327
7359
  firstName: e.firstName,
7328
7360
  lastName: e.lastName,
7329
7361
  email: this.email,
@@ -7334,8 +7366,8 @@ let P = class extends mt {
7334
7366
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7335
7367
  return;
7336
7368
  this.paymentLocked = !0;
7337
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.BOOST);
7338
- this.sdk.submitPayment(m.BOOST, {
7369
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.BOOST);
7370
+ this.sdk.submitPayment(p.BOOST, {
7339
7371
  firstName: e.firstName,
7340
7372
  lastName: e.lastName,
7341
7373
  email: this.email,
@@ -7346,8 +7378,8 @@ let P = class extends mt {
7346
7378
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7347
7379
  return;
7348
7380
  this.paymentLocked = !0;
7349
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.SHOPEEPAY);
7350
- this.sdk.submitPayment(m.SHOPEEPAY, {
7381
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.SHOPEEPAY);
7382
+ this.sdk.submitPayment(p.SHOPEEPAY, {
7351
7383
  firstName: e.firstName,
7352
7384
  lastName: e.lastName,
7353
7385
  email: this.email,
@@ -7358,8 +7390,8 @@ let P = class extends mt {
7358
7390
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7359
7391
  return;
7360
7392
  this.paymentLocked = !0;
7361
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.ATOM);
7362
- this.sdk.submitPayment(m.ATOM, {
7393
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.ATOM);
7394
+ this.sdk.submitPayment(p.ATOM, {
7363
7395
  firstName: e.firstName,
7364
7396
  lastName: e.lastName,
7365
7397
  email: this.email,
@@ -7370,8 +7402,8 @@ let P = class extends mt {
7370
7402
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7371
7403
  return;
7372
7404
  this.paymentLocked = !0;
7373
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.DANA);
7374
- this.sdk.submitPayment(m.DANA, {
7405
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.DANA);
7406
+ this.sdk.submitPayment(p.DANA, {
7375
7407
  firstName: e.firstName,
7376
7408
  lastName: e.lastName,
7377
7409
  email: this.email,
@@ -7382,8 +7414,8 @@ let P = class extends mt {
7382
7414
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7383
7415
  return;
7384
7416
  this.paymentLocked = !0;
7385
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.TNG);
7386
- this.sdk.submitPayment(m.TNG, {
7417
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.TNG);
7418
+ this.sdk.submitPayment(p.TNG, {
7387
7419
  firstName: e.firstName,
7388
7420
  lastName: e.lastName,
7389
7421
  email: this.email,
@@ -7394,8 +7426,8 @@ let P = class extends mt {
7394
7426
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7395
7427
  return;
7396
7428
  this.paymentLocked = !0;
7397
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.ALIPAYCN);
7398
- this.sdk.submitPayment(m.ALIPAYCN, {
7429
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.ALIPAYCN);
7430
+ this.sdk.submitPayment(p.ALIPAYCN, {
7399
7431
  firstName: e.firstName,
7400
7432
  lastName: e.lastName,
7401
7433
  email: this.email,
@@ -7406,8 +7438,8 @@ let P = class extends mt {
7406
7438
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7407
7439
  return;
7408
7440
  this.paymentLocked = !0;
7409
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.ALIPAYHK);
7410
- this.sdk.submitPayment(m.ALIPAYHK, {
7441
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.ALIPAYHK);
7442
+ this.sdk.submitPayment(p.ALIPAYHK, {
7411
7443
  firstName: e.firstName,
7412
7444
  lastName: e.lastName,
7413
7445
  email: this.email,
@@ -7418,8 +7450,8 @@ let P = class extends mt {
7418
7450
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7419
7451
  return;
7420
7452
  this.paymentLocked = !0;
7421
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.GCASH);
7422
- this.sdk.submitPayment(m.GCASH, {
7453
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.GCASH);
7454
+ this.sdk.submitPayment(p.GCASH, {
7423
7455
  firstName: e.firstName,
7424
7456
  lastName: e.lastName,
7425
7457
  email: this.email,
@@ -7430,8 +7462,8 @@ let P = class extends mt {
7430
7462
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7431
7463
  return;
7432
7464
  this.paymentLocked = !0;
7433
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(m.KONBINI);
7434
- this.sdk.submitPayment(m.KONBINI, {
7465
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.KONBINI);
7466
+ this.sdk.submitPayment(p.KONBINI, {
7435
7467
  firstName: e.firstName,
7436
7468
  lastName: e.lastName,
7437
7469
  email: this.email,
@@ -7442,8 +7474,8 @@ let P = class extends mt {
7442
7474
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7443
7475
  return;
7444
7476
  this.paymentLocked = !0;
7445
- const e = this.getEffectivePhoneNumber(m.PAYEASY), t = this.formatNamesForPayEasy(this.firstName, this.lastName);
7446
- this.sdk.submitPayment(m.PAYEASY, {
7477
+ const e = this.getEffectivePhoneNumber(p.PAYEASY), t = this.formatNamesForPayEasy(this.firstName, this.lastName);
7478
+ this.sdk.submitPayment(p.PAYEASY, {
7447
7479
  firstName: t.firstName,
7448
7480
  lastName: t.lastName,
7449
7481
  email: this.email,
@@ -7455,7 +7487,7 @@ let P = class extends mt {
7455
7487
  return;
7456
7488
  this.paymentLocked = !0;
7457
7489
  const e = this.formatNamesUppercase();
7458
- this.sdk.submitPayment(m.GRABPAY_SG, {
7490
+ this.sdk.submitPayment(p.GRABPAY_SG, {
7459
7491
  firstName: e.firstName,
7460
7492
  lastName: e.lastName,
7461
7493
  email: this.email,
@@ -7467,7 +7499,7 @@ let P = class extends mt {
7467
7499
  return;
7468
7500
  this.paymentLocked = !0;
7469
7501
  const e = this.formatNamesUppercase();
7470
- this.sdk.submitPayment(m.FPX, {
7502
+ this.sdk.submitPayment(p.FPX, {
7471
7503
  firstName: e.firstName,
7472
7504
  lastName: e.lastName,
7473
7505
  email: this.email,
@@ -7588,7 +7620,7 @@ let P = class extends mt {
7588
7620
  if (e.replace(/\D/g, "").length < this.MIN_PHONE_LENGTH)
7589
7621
  return this.phoneInputError = `Phone number must be at least ${this.MIN_PHONE_LENGTH} digits`, !1;
7590
7622
  try {
7591
- if (!jd(e, this.selectedCountry))
7623
+ if (!Hd(e, this.selectedCountry))
7592
7624
  return this.phoneInputError = "Please enter a valid phone number", !1;
7593
7625
  } catch {
7594
7626
  return this.phoneInputError = "Please enter a valid phone number", !1;
@@ -8083,7 +8115,7 @@ let P = class extends mt {
8083
8115
  <div class="paynow-instructions">
8084
8116
  <h3 class="instructions-title">How to Pay with Boost:</h3>
8085
8117
 
8086
- ${this.renderPhoneInput(m.BOOST)}
8118
+ ${this.renderPhoneInput(p.BOOST)}
8087
8119
 
8088
8120
  <div class="instruction-steps">
8089
8121
  <div class="instruction-step">
@@ -8106,9 +8138,9 @@ let P = class extends mt {
8106
8138
  <button
8107
8139
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8108
8140
  @click=${this.handleBoostPayment}
8109
- ?disabled=${this.currentState.status === "processing" || this.currentState.status === "requires_action"}
8141
+ ?disabled=${this.isPayButtonDisabled(p.BOOST)}
8110
8142
  >
8111
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
8143
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.BOOST) && !this.hasPhoneNumber(p.BOOST) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8112
8144
  </button>
8113
8145
  </div>
8114
8146
  </div>
@@ -8121,7 +8153,7 @@ let P = class extends mt {
8121
8153
  <div class="paynow-instructions">
8122
8154
  <h3 class="instructions-title">How to Pay with ShopeePay:</h3>
8123
8155
 
8124
- ${this.renderPhoneInput(m.SHOPEEPAY)}
8156
+ ${this.renderPhoneInput(p.SHOPEEPAY)}
8125
8157
 
8126
8158
  <div class="instruction-steps">
8127
8159
  <div class="instruction-step">
@@ -8144,9 +8176,9 @@ let P = class extends mt {
8144
8176
  <button
8145
8177
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8146
8178
  @click=${this.handleShopeePayPayment}
8147
- ?disabled=${this.currentState.status === "processing" || this.currentState.status === "requires_action"}
8179
+ ?disabled=${this.isPayButtonDisabled(p.SHOPEEPAY)}
8148
8180
  >
8149
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
8181
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.SHOPEEPAY) && !this.hasPhoneNumber(p.SHOPEEPAY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8150
8182
  </button>
8151
8183
  </div>
8152
8184
  </div>
@@ -8159,7 +8191,7 @@ let P = class extends mt {
8159
8191
  <div class="paynow-instructions">
8160
8192
  <h3 class="instructions-title">How to Pay with Atome:</h3>
8161
8193
 
8162
- ${this.renderPhoneInput(m.ATOM)}
8194
+ ${this.renderPhoneInput(p.ATOM)}
8163
8195
 
8164
8196
  <div class="instruction-steps">
8165
8197
  <div class="instruction-step">
@@ -8182,9 +8214,9 @@ let P = class extends mt {
8182
8214
  <button
8183
8215
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8184
8216
  @click=${this.handleAtomPayment}
8185
- ?disabled=${this.currentState.status === "processing" || this.currentState.status === "requires_action"}
8217
+ ?disabled=${this.isPayButtonDisabled(p.ATOM)}
8186
8218
  >
8187
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
8219
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.ATOM) && !this.hasPhoneNumber(p.ATOM) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8188
8220
  </button>
8189
8221
  </div>
8190
8222
  </div>
@@ -8197,7 +8229,7 @@ let P = class extends mt {
8197
8229
  <div class="paynow-instructions">
8198
8230
  <h3 class="instructions-title">How to Pay with Dana:</h3>
8199
8231
 
8200
- ${this.renderPhoneInput(m.DANA)}
8232
+ ${this.renderPhoneInput(p.DANA)}
8201
8233
 
8202
8234
  <div class="instruction-steps">
8203
8235
  <div class="instruction-step">
@@ -8235,7 +8267,7 @@ let P = class extends mt {
8235
8267
  <div class="paynow-instructions">
8236
8268
  <h3 class="instructions-title">How to Pay with Touch 'n Go:</h3>
8237
8269
 
8238
- ${this.renderPhoneInput(m.TNG)}
8270
+ ${this.renderPhoneInput(p.TNG)}
8239
8271
 
8240
8272
  <div class="instruction-steps">
8241
8273
  <div class="instruction-step">
@@ -8273,7 +8305,7 @@ let P = class extends mt {
8273
8305
  <div class="paynow-instructions">
8274
8306
  <h3 class="instructions-title">How to Pay with Alipay:</h3>
8275
8307
 
8276
- ${this.renderPhoneInput(m.ALIPAYCN)}
8308
+ ${this.renderPhoneInput(p.ALIPAYCN)}
8277
8309
 
8278
8310
  <div class="instruction-steps">
8279
8311
  <div class="instruction-step">
@@ -8311,7 +8343,7 @@ let P = class extends mt {
8311
8343
  <div class="paynow-instructions">
8312
8344
  <h3 class="instructions-title">How to Pay with AlipayHK:</h3>
8313
8345
 
8314
- ${this.renderPhoneInput(m.ALIPAYHK)}
8346
+ ${this.renderPhoneInput(p.ALIPAYHK)}
8315
8347
 
8316
8348
  <div class="instruction-steps">
8317
8349
  <div class="instruction-step">
@@ -8349,7 +8381,7 @@ let P = class extends mt {
8349
8381
  <div class="paynow-instructions">
8350
8382
  <h3 class="instructions-title">How to Pay with GCash:</h3>
8351
8383
 
8352
- ${this.renderPhoneInput(m.GCASH)}
8384
+ ${this.renderPhoneInput(p.GCASH)}
8353
8385
 
8354
8386
  <div class="instruction-steps">
8355
8387
  <div class="instruction-step">
@@ -8387,7 +8419,7 @@ let P = class extends mt {
8387
8419
  <div class="paynow-instructions">
8388
8420
  <h3 class="instructions-title">How to Pay with Konbini:</h3>
8389
8421
 
8390
- ${this.renderPhoneInput(m.KONBINI)}
8422
+ ${this.renderPhoneInput(p.KONBINI)}
8391
8423
 
8392
8424
  <div class="instruction-steps">
8393
8425
  <div class="instruction-step">
@@ -8410,9 +8442,9 @@ let P = class extends mt {
8410
8442
  <button
8411
8443
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8412
8444
  @click=${this.handleKonbiniPayment}
8413
- ?disabled=${this.currentState.status === "processing" || this.currentState.status === "requires_action"}
8445
+ ?disabled=${this.isPayButtonDisabled(p.KONBINI)}
8414
8446
  >
8415
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
8447
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.KONBINI) && !this.hasPhoneNumber(p.KONBINI) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8416
8448
  </button>
8417
8449
  </div>
8418
8450
  </div>
@@ -8425,7 +8457,7 @@ let P = class extends mt {
8425
8457
  <div class="paynow-instructions">
8426
8458
  <h3 class="instructions-title">How to Pay with Pay-Easy:</h3>
8427
8459
 
8428
- ${this.renderPhoneInput(m.PAYEASY)}
8460
+ ${this.renderPhoneInput(p.PAYEASY)}
8429
8461
 
8430
8462
  <div class="instruction-steps">
8431
8463
  <div class="instruction-step">
@@ -8450,9 +8482,9 @@ let P = class extends mt {
8450
8482
  <button
8451
8483
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8452
8484
  @click=${this.handlePayEasyPayment}
8453
- ?disabled=${this.currentState.status === "processing" || this.currentState.status === "requires_action"}
8485
+ ?disabled=${this.isPayButtonDisabled(p.PAYEASY)}
8454
8486
  >
8455
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
8487
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.PAYEASY) && !this.hasPhoneNumber(p.PAYEASY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8456
8488
  </button>
8457
8489
  </div>
8458
8490
  </div>
@@ -8676,44 +8708,44 @@ let P = class extends mt {
8676
8708
  }
8677
8709
  const n = (o) => {
8678
8710
  switch (o) {
8679
- case m.CARD:
8711
+ case p.CARD:
8680
8712
  return "Card";
8681
- case m.PAYNOW:
8713
+ case p.PAYNOW:
8682
8714
  return "PayNow";
8683
- case m.PROMPTPAY:
8715
+ case p.PROMPTPAY:
8684
8716
  return "PromptPay";
8685
- case m.DUITNOW:
8717
+ case p.DUITNOW:
8686
8718
  return "DuitNow";
8687
- case m.GOPAY:
8719
+ case p.GOPAY:
8688
8720
  return "GoPay";
8689
- case m.BOOST:
8721
+ case p.BOOST:
8690
8722
  return "Boost";
8691
- case m.SHOPEEPAY:
8723
+ case p.SHOPEEPAY:
8692
8724
  return "ShopeePay";
8693
- case m.ATOM:
8725
+ case p.ATOM:
8694
8726
  return "Atome";
8695
- case m.DANA:
8727
+ case p.DANA:
8696
8728
  return "Dana";
8697
- case m.TNG:
8729
+ case p.TNG:
8698
8730
  return "Touch 'n Go";
8699
- case m.ALIPAYCN:
8731
+ case p.ALIPAYCN:
8700
8732
  return "Alipay";
8701
- case m.ALIPAYHK:
8733
+ case p.ALIPAYHK:
8702
8734
  return "AlipayHK";
8703
- case m.GCASH:
8735
+ case p.GCASH:
8704
8736
  return "GCash";
8705
- case m.KONBINI:
8737
+ case p.KONBINI:
8706
8738
  return "Konbini";
8707
- case m.PAYEASY:
8739
+ case p.PAYEASY:
8708
8740
  return "Pay-Easy";
8709
- case m.GRABPAY_SG:
8741
+ case p.GRABPAY_SG:
8710
8742
  return "GrabPay";
8711
- case m.FPX:
8743
+ case p.FPX:
8712
8744
  return "FPX Online Banking";
8713
8745
  default:
8714
8746
  return o;
8715
8747
  }
8716
- }, i = (o) => o === m.CARD ? g`
8748
+ }, i = (o) => o === p.CARD ? g`
8717
8749
  <div class="method-icon-right">
8718
8750
  <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
8719
8751
  <path
@@ -8726,11 +8758,11 @@ let P = class extends mt {
8726
8758
  />
8727
8759
  </svg>
8728
8760
  </div>
8729
- ` : o === m.PAYNOW ? g`
8761
+ ` : o === p.PAYNOW ? g`
8730
8762
  <div class="method-icon-right">
8731
8763
  <img src="${ai}" alt="PayNow" style="width: 45px; height: auto;" />
8732
8764
  </div>
8733
- ` : o === m.PROMPTPAY ? g`
8765
+ ` : o === p.PROMPTPAY ? g`
8734
8766
  <div class="method-icon-right">
8735
8767
  <img
8736
8768
  src="${oi}"
@@ -8738,19 +8770,19 @@ let P = class extends mt {
8738
8770
  style="width: 45px; height: auto;"
8739
8771
  />
8740
8772
  </div>
8741
- ` : o === m.DUITNOW ? g`
8773
+ ` : o === p.DUITNOW ? g`
8742
8774
  <div class="method-icon-right">
8743
8775
  <img src="${si}" alt="DuitNow" style="width: 45px; height: auto;" />
8744
8776
  </div>
8745
- ` : o === m.GOPAY ? g`
8777
+ ` : o === p.GOPAY ? g`
8746
8778
  <div class="method-icon-right">
8747
8779
  <img src="${di}" alt="GoPay" style="width: 45px; height: auto;" />
8748
8780
  </div>
8749
- ` : o === m.BOOST ? g`
8781
+ ` : o === p.BOOST ? g`
8750
8782
  <div class="method-icon-right">
8751
8783
  <img src="${li}" alt="Boost" style="width: 45px; height: auto;" />
8752
8784
  </div>
8753
- ` : o === m.SHOPEEPAY ? g`
8785
+ ` : o === p.SHOPEEPAY ? g`
8754
8786
  <div class="method-icon-right">
8755
8787
  <img
8756
8788
  src="${ci}"
@@ -8758,23 +8790,23 @@ let P = class extends mt {
8758
8790
  style="width: 45px; height: auto;"
8759
8791
  />
8760
8792
  </div>
8761
- ` : o === m.ATOM ? g`
8793
+ ` : o === p.ATOM ? g`
8762
8794
  <div class="method-icon-right">
8763
8795
  <img src="${ui}" alt="Atome" style="width: 45px; height: auto;" />
8764
8796
  </div>
8765
- ` : o === m.DANA ? g`
8797
+ ` : o === p.DANA ? g`
8766
8798
  <div class="method-icon-right">
8767
8799
  <img src="${hi}" alt="Dana" style="width: 45px; height: auto;" />
8768
8800
  </div>
8769
- ` : o === m.TNG ? g`
8801
+ ` : o === p.TNG ? g`
8770
8802
  <div class="method-icon-right">
8771
8803
  <img src="${pi}" alt="Touch 'n Go" style="width: 45px; height: auto;" />
8772
8804
  </div>
8773
- ` : o === m.ALIPAYCN ? g`
8805
+ ` : o === p.ALIPAYCN ? g`
8774
8806
  <div class="method-icon-right">
8775
8807
  <img src="${fi}" alt="Alipay" style="width: 45px; height: auto;" />
8776
8808
  </div>
8777
- ` : o === m.ALIPAYHK ? g`
8809
+ ` : o === p.ALIPAYHK ? g`
8778
8810
  <div class="method-icon-right">
8779
8811
  <img
8780
8812
  src="${mi}"
@@ -8782,23 +8814,23 @@ let P = class extends mt {
8782
8814
  style="width: 45px; height: auto;"
8783
8815
  />
8784
8816
  </div>
8785
- ` : o === m.GCASH ? g`
8817
+ ` : o === p.GCASH ? g`
8786
8818
  <div class="method-icon-right">
8787
8819
  <img src="${$i}" alt="GCash" style="width: 45px; height: auto;" />
8788
8820
  </div>
8789
- ` : o === m.KONBINI ? g`
8821
+ ` : o === p.KONBINI ? g`
8790
8822
  <div class="method-icon-right">
8791
8823
  <img src="${gi}" alt="Konbini" style="width: 45px; height: auto;" />
8792
8824
  </div>
8793
- ` : o === m.PAYEASY ? g`
8825
+ ` : o === p.PAYEASY ? g`
8794
8826
  <div class="method-icon-right">
8795
8827
  <img src="${yi}" alt="Pay-Easy" style="width: 45px; height: auto;" />
8796
8828
  </div>
8797
- ` : o === m.GRABPAY_SG ? g`
8829
+ ` : o === p.GRABPAY_SG ? g`
8798
8830
  <div class="method-icon-right">
8799
8831
  <img src="${bi}" alt="GrabPay" style="width: 45px; height: auto;" />
8800
8832
  </div>
8801
- ` : o === m.FPX ? g`
8833
+ ` : o === p.FPX ? g`
8802
8834
  <div class="method-icon-right">
8803
8835
  <img
8804
8836
  src="${vi}"
@@ -8841,7 +8873,7 @@ let P = class extends mt {
8841
8873
  ${i(o.id)}
8842
8874
  </div>
8843
8875
  ${s ? g`<div class="method-content">
8844
- ${o.id === m.CARD ? this.renderCardForm() : o.id === m.PAYNOW ? this.renderPayNowContent() : o.id === m.PROMPTPAY ? this.renderPromptPayContent() : o.id === m.DUITNOW ? this.renderDuitNowContent() : o.id === m.GOPAY ? this.renderGoPayContent() : o.id === m.BOOST ? this.renderBoostContent() : o.id === m.SHOPEEPAY ? this.renderShopeePayContent() : o.id === m.ATOM ? this.renderAtomContent() : o.id === m.DANA ? this.renderDanaContent() : o.id === m.TNG ? this.renderTngContent() : o.id === m.ALIPAYCN ? this.renderAlipayCNContent() : o.id === m.ALIPAYHK ? this.renderAlipayHKContent() : o.id === m.GCASH ? this.renderGCashContent() : o.id === m.KONBINI ? this.renderKonbiniContent() : o.id === m.PAYEASY ? this.renderPayEasyContent() : o.id === m.GRABPAY_SG ? this.renderGrabPaySGContent() : o.id === m.FPX ? this.renderFPXContent() : null}
8876
+ ${o.id === p.CARD ? this.renderCardForm() : o.id === p.PAYNOW ? this.renderPayNowContent() : o.id === p.PROMPTPAY ? this.renderPromptPayContent() : o.id === p.DUITNOW ? this.renderDuitNowContent() : o.id === p.GOPAY ? this.renderGoPayContent() : o.id === p.BOOST ? this.renderBoostContent() : o.id === p.SHOPEEPAY ? this.renderShopeePayContent() : o.id === p.ATOM ? this.renderAtomContent() : o.id === p.DANA ? this.renderDanaContent() : o.id === p.TNG ? this.renderTngContent() : o.id === p.ALIPAYCN ? this.renderAlipayCNContent() : o.id === p.ALIPAYHK ? this.renderAlipayHKContent() : o.id === p.GCASH ? this.renderGCashContent() : o.id === p.KONBINI ? this.renderKonbiniContent() : o.id === p.PAYEASY ? this.renderPayEasyContent() : o.id === p.GRABPAY_SG ? this.renderGrabPaySGContent() : o.id === p.FPX ? this.renderFPXContent() : null}
8845
8877
  </div>` : ""}
8846
8878
  </div>
8847
8879
  `;
@@ -8855,7 +8887,7 @@ let P = class extends mt {
8855
8887
  `;
8856
8888
  }
8857
8889
  };
8858
- P.styles = Tn`
8890
+ w.styles = Tn`
8859
8891
  /* ═══════════════════════════════════════════════════════════════
8860
8892
  CSS CUSTOM PROPERTIES (Theming)
8861
8893
  ═══════════════════════════════════════════════════════════════ */
@@ -10506,119 +10538,119 @@ P.styles = Tn`
10506
10538
  `;
10507
10539
  C([
10508
10540
  M({ type: Object })
10509
- ], P.prototype, "config", 2);
10541
+ ], w.prototype, "config", 2);
10510
10542
  C([
10511
10543
  M({ type: Object })
10512
- ], P.prototype, "adapters", 2);
10544
+ ], w.prototype, "adapters", 2);
10513
10545
  C([
10514
10546
  M({ type: Number })
10515
- ], P.prototype, "amount", 2);
10547
+ ], w.prototype, "amount", 2);
10516
10548
  C([
10517
10549
  M({ type: String })
10518
- ], P.prototype, "currency", 2);
10550
+ ], w.prototype, "currency", 2);
10519
10551
  C([
10520
10552
  M({ type: String })
10521
- ], P.prototype, "orderId", 2);
10553
+ ], w.prototype, "orderId", 2);
10522
10554
  C([
10523
10555
  M({ type: String })
10524
- ], P.prototype, "firstName", 2);
10556
+ ], w.prototype, "firstName", 2);
10525
10557
  C([
10526
10558
  M({ type: String })
10527
- ], P.prototype, "lastName", 2);
10559
+ ], w.prototype, "lastName", 2);
10528
10560
  C([
10529
10561
  M({ type: String })
10530
- ], P.prototype, "email", 2);
10562
+ ], w.prototype, "email", 2);
10531
10563
  C([
10532
10564
  M({ type: String })
10533
- ], P.prototype, "phoneNumber", 2);
10565
+ ], w.prototype, "phoneNumber", 2);
10534
10566
  C([
10535
10567
  M({ type: Array })
10536
- ], P.prototype, "excludePaymentMethods", 2);
10568
+ ], w.prototype, "excludePaymentMethods", 2);
10537
10569
  C([
10538
10570
  M({ type: String })
10539
- ], P.prototype, "width", 2);
10571
+ ], w.prototype, "width", 2);
10540
10572
  C([
10541
10573
  M({ type: String })
10542
- ], P.prototype, "maxWidth", 2);
10574
+ ], w.prototype, "maxWidth", 2);
10543
10575
  C([
10544
10576
  M({ type: Object })
10545
- ], P.prototype, "appearance", 2);
10577
+ ], w.prototype, "appearance", 2);
10546
10578
  C([
10547
10579
  A()
10548
- ], P.prototype, "currentState", 2);
10580
+ ], w.prototype, "currentState", 2);
10549
10581
  C([
10550
10582
  A()
10551
- ], P.prototype, "selectedMethod", 2);
10583
+ ], w.prototype, "selectedMethod", 2);
10552
10584
  C([
10553
10585
  A()
10554
- ], P.prototype, "cardFormData", 2);
10586
+ ], w.prototype, "cardFormData", 2);
10555
10587
  C([
10556
10588
  A()
10557
- ], P.prototype, "formErrors", 2);
10589
+ ], w.prototype, "formErrors", 2);
10558
10590
  C([
10559
10591
  A()
10560
- ], P.prototype, "paymentData", 2);
10592
+ ], w.prototype, "paymentData", 2);
10561
10593
  C([
10562
10594
  A()
10563
- ], P.prototype, "feesExpanded", 2);
10595
+ ], w.prototype, "feesExpanded", 2);
10564
10596
  C([
10565
10597
  A()
10566
- ], P.prototype, "isInitializing", 2);
10598
+ ], w.prototype, "isInitializing", 2);
10567
10599
  C([
10568
10600
  A()
10569
- ], P.prototype, "cardBrand", 2);
10601
+ ], w.prototype, "cardBrand", 2);
10570
10602
  C([
10571
10603
  A()
10572
- ], P.prototype, "paymentLocked", 2);
10604
+ ], w.prototype, "paymentLocked", 2);
10573
10605
  C([
10574
10606
  A()
10575
- ], P.prototype, "show3DSModal", 2);
10607
+ ], w.prototype, "show3DSModal", 2);
10576
10608
  C([
10577
10609
  A()
10578
- ], P.prototype, "showQRModal", 2);
10610
+ ], w.prototype, "showQRModal", 2);
10579
10611
  C([
10580
10612
  A()
10581
- ], P.prototype, "nextActionUrl", 2);
10613
+ ], w.prototype, "nextActionUrl", 2);
10582
10614
  C([
10583
10615
  A()
10584
- ], P.prototype, "qrCode", 2);
10616
+ ], w.prototype, "qrCode", 2);
10585
10617
  C([
10586
10618
  A()
10587
- ], P.prototype, "qrCodeDataUrl", 2);
10619
+ ], w.prototype, "qrCodeDataUrl", 2);
10588
10620
  C([
10589
10621
  A()
10590
- ], P.prototype, "qrAutoResumeTimer", 2);
10622
+ ], w.prototype, "qrAutoResumeTimer", 2);
10591
10623
  C([
10592
10624
  A()
10593
- ], P.prototype, "qrPollingInProgress", 2);
10625
+ ], w.prototype, "qrPollingInProgress", 2);
10594
10626
  C([
10595
10627
  A()
10596
- ], P.prototype, "availableBanks", 2);
10628
+ ], w.prototype, "availableBanks", 2);
10597
10629
  C([
10598
10630
  A()
10599
- ], P.prototype, "selectedBank", 2);
10631
+ ], w.prototype, "selectedBank", 2);
10600
10632
  C([
10601
10633
  A()
10602
- ], P.prototype, "banksLoading", 2);
10634
+ ], w.prototype, "banksLoading", 2);
10603
10635
  C([
10604
10636
  A()
10605
- ], P.prototype, "bankSearchQuery", 2);
10637
+ ], w.prototype, "bankSearchQuery", 2);
10606
10638
  C([
10607
10639
  A()
10608
- ], P.prototype, "phoneInputValue", 2);
10640
+ ], w.prototype, "phoneInputValue", 2);
10609
10641
  C([
10610
10642
  A()
10611
- ], P.prototype, "phoneInputError", 2);
10643
+ ], w.prototype, "phoneInputError", 2);
10612
10644
  C([
10613
10645
  A()
10614
- ], P.prototype, "selectedCountry", 2);
10615
- P = C([
10646
+ ], w.prototype, "selectedCountry", 2);
10647
+ w = C([
10616
10648
  Jn("one-payment")
10617
- ], P);
10649
+ ], w);
10618
10650
  const Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10619
10651
  __proto__: null,
10620
10652
  get OnePayment() {
10621
- return P;
10653
+ return w;
10622
10654
  }
10623
10655
  }, Symbol.toStringTag, { value: "Module" }));
10624
10656
  function qd() {
@@ -10627,7 +10659,7 @@ function qd() {
10627
10659
  });
10628
10660
  }
10629
10661
  export {
10630
- P as OnePayment,
10631
- P as OnePaymentElement,
10662
+ w as OnePayment,
10663
+ w as OnePaymentElement,
10632
10664
  qd as defineCustomElements
10633
10665
  };