@openhive-eu/payment 1.0.0-next.11 → 1.0.0-next.13
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 +178 -185
- package/dist/index.js.gz +0 -0
- package/dist/index.min.js +23 -29
- package/dist/index.min.js.gz +0 -0
- package/dist/lib/i18n.d.ts +0 -1
- package/dist/payment-widget.d.ts +0 -3
- package/dist/react-widget.d.ts +9 -39
- package/dist/react.js +829 -856
- package/dist/styles.css +1 -1
- package/dist/styles.css.gz +0 -0
- package/package.json +2 -1
package/dist/react.js
CHANGED
|
@@ -1,7 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import l2 from "react";
|
|
2
|
+
const $2 = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), Ot = /* @__PURE__ */ new WeakMap(), Rt = (t, e, r, n, d) => {
|
|
3
|
+
const o = d?.[e];
|
|
4
|
+
o === void 0 ? (t[e] = r, r == null && e in HTMLElement.prototype && t.removeAttribute(e)) : r !== n && ((i, a, s) => {
|
|
5
|
+
let l = Ot.get(i);
|
|
6
|
+
l === void 0 && Ot.set(i, l = /* @__PURE__ */ new Map());
|
|
7
|
+
let $ = l.get(a);
|
|
8
|
+
s !== void 0 ? $ === void 0 ? (l.set(a, $ = { handleEvent: s }), i.addEventListener(a, $)) : $.handleEvent = s : $ !== void 0 && (l.delete(a), i.removeEventListener(a, $));
|
|
9
|
+
})(t, o, r);
|
|
10
|
+
}, c2 = ({ react: t, tagName: e, elementClass: r, events: n, displayName: d }) => {
|
|
11
|
+
const o = new Set(Object.keys(n ?? {})), i = t.forwardRef(((a, s) => {
|
|
12
|
+
const l = t.useRef(/* @__PURE__ */ new Map()), $ = t.useRef(null), c = {}, u = {};
|
|
13
|
+
for (const [y, b] of Object.entries(a)) $2.has(y) ? c[y === "className" ? "class" : y] = b : o.has(y) || y in r.prototype ? u[y] = b : c[y] = b;
|
|
14
|
+
return t.useLayoutEffect((() => {
|
|
15
|
+
if ($.current === null) return;
|
|
16
|
+
const y = /* @__PURE__ */ new Map();
|
|
17
|
+
for (const b in u) Rt($.current, b, a[b], l.current.get(b), n), l.current.delete(b), y.set(b, a[b]);
|
|
18
|
+
for (const [b, A] of l.current) Rt($.current, b, void 0, A, n);
|
|
19
|
+
l.current = y;
|
|
20
|
+
})), t.useLayoutEffect((() => {
|
|
21
|
+
$.current?.removeAttribute("defer-hydration");
|
|
22
|
+
}), []), c.suppressHydrationWarning = !0, t.createElement(e, { ...c, ref: t.useCallback(((y) => {
|
|
23
|
+
$.current = y, typeof s == "function" ? s(y) : s !== null && (s.current = y);
|
|
24
|
+
}), [s]) });
|
|
25
|
+
}));
|
|
26
|
+
return i.displayName = d, i;
|
|
27
|
+
};
|
|
3
28
|
const Ge = globalThis, mt = Ge.ShadowRoot && (Ge.ShadyCSS === void 0 || Ge.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, S1 = /* @__PURE__ */ Symbol(), It = /* @__PURE__ */ new WeakMap();
|
|
4
|
-
let
|
|
29
|
+
let u2 = class {
|
|
5
30
|
constructor(e, r, n) {
|
|
6
31
|
if (this._$cssResult$ = !0, n !== S1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
7
32
|
this.cssText = e, this.t = r;
|
|
@@ -19,7 +44,7 @@ let c2 = class {
|
|
|
19
44
|
return this.cssText;
|
|
20
45
|
}
|
|
21
46
|
};
|
|
22
|
-
const
|
|
47
|
+
const f2 = (t) => new u2(typeof t == "string" ? t : t + "", void 0, S1), h2 = (t, e) => {
|
|
23
48
|
if (mt) t.adoptedStyleSheets = e.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
|
|
24
49
|
else for (const r of e) {
|
|
25
50
|
const n = document.createElement("style"), d = Ge.litNonce;
|
|
@@ -28,12 +53,12 @@ const u2 = (t) => new c2(typeof t == "string" ? t : t + "", void 0, S1), f2 = (t
|
|
|
28
53
|
}, Mt = mt ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
|
|
29
54
|
let r = "";
|
|
30
55
|
for (const n of e.cssRules) r += n.cssText;
|
|
31
|
-
return
|
|
56
|
+
return f2(r);
|
|
32
57
|
})(t) : t;
|
|
33
|
-
const { is:
|
|
58
|
+
const { is: p2, defineProperty: m2, getOwnPropertyDescriptor: y2, getOwnPropertyNames: g2, getOwnPropertySymbols: b2, getPrototypeOf: v2 } = Object, qe = globalThis, Tt = qe.trustedTypes, C2 = Tt ? Tt.emptyScript : "", _2 = qe.reactiveElementPolyfillSupport, ve = (t, e) => t, Be = { toAttribute(t, e) {
|
|
34
59
|
switch (e) {
|
|
35
60
|
case Boolean:
|
|
36
|
-
t = t ?
|
|
61
|
+
t = t ? C2 : null;
|
|
37
62
|
break;
|
|
38
63
|
case Object:
|
|
39
64
|
case Array:
|
|
@@ -58,7 +83,7 @@ const { is: h2, defineProperty: p2, getOwnPropertyDescriptor: m2, getOwnProperty
|
|
|
58
83
|
}
|
|
59
84
|
}
|
|
60
85
|
return r;
|
|
61
|
-
} }, yt = (t, e) => !
|
|
86
|
+
} }, yt = (t, e) => !p2(t, e), Lt = { attribute: !0, type: String, converter: Be, reflect: !1, useDefault: !1, hasChanged: yt };
|
|
62
87
|
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), qe.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
63
88
|
let he = class extends HTMLElement {
|
|
64
89
|
static addInitializer(e) {
|
|
@@ -70,11 +95,11 @@ let he = class extends HTMLElement {
|
|
|
70
95
|
static createProperty(e, r = Lt) {
|
|
71
96
|
if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
|
|
72
97
|
const n = /* @__PURE__ */ Symbol(), d = this.getPropertyDescriptor(e, n, r);
|
|
73
|
-
d !== void 0 &&
|
|
98
|
+
d !== void 0 && m2(this.prototype, e, d);
|
|
74
99
|
}
|
|
75
100
|
}
|
|
76
101
|
static getPropertyDescriptor(e, r, n) {
|
|
77
|
-
const { get: d, set: o } =
|
|
102
|
+
const { get: d, set: o } = y2(this.prototype, e) ?? { get() {
|
|
78
103
|
return this[r];
|
|
79
104
|
}, set(i) {
|
|
80
105
|
this[r] = i;
|
|
@@ -89,13 +114,13 @@ let he = class extends HTMLElement {
|
|
|
89
114
|
}
|
|
90
115
|
static _$Ei() {
|
|
91
116
|
if (this.hasOwnProperty(ve("elementProperties"))) return;
|
|
92
|
-
const e =
|
|
117
|
+
const e = v2(this);
|
|
93
118
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
94
119
|
}
|
|
95
120
|
static finalize() {
|
|
96
121
|
if (this.hasOwnProperty(ve("finalized"))) return;
|
|
97
122
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ve("properties"))) {
|
|
98
|
-
const r = this.properties, n = [...
|
|
123
|
+
const r = this.properties, n = [...g2(r), ...b2(r)];
|
|
99
124
|
for (const d of n) this.createProperty(d, r[d]);
|
|
100
125
|
}
|
|
101
126
|
const e = this[Symbol.metadata];
|
|
@@ -141,7 +166,7 @@ let he = class extends HTMLElement {
|
|
|
141
166
|
}
|
|
142
167
|
createRenderRoot() {
|
|
143
168
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
144
|
-
return
|
|
169
|
+
return h2(e, this.constructor.elementStyles), e;
|
|
145
170
|
}
|
|
146
171
|
connectedCallback() {
|
|
147
172
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((e) => e.hostConnected?.());
|
|
@@ -241,23 +266,23 @@ let he = class extends HTMLElement {
|
|
|
241
266
|
firstUpdated(e) {
|
|
242
267
|
}
|
|
243
268
|
};
|
|
244
|
-
he.elementStyles = [], he.shadowRootOptions = { mode: "open" }, he[ve("elementProperties")] = /* @__PURE__ */ new Map(), he[ve("finalized")] = /* @__PURE__ */ new Map(),
|
|
245
|
-
const gt = globalThis, Ft = (t) => t, ze = gt.trustedTypes,
|
|
246
|
-
\f\r]`, ge = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
247
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, Ut = /"/g, O1 = /^(?:script|style|textarea|title)$/i,
|
|
269
|
+
he.elementStyles = [], he.shadowRootOptions = { mode: "open" }, he[ve("elementProperties")] = /* @__PURE__ */ new Map(), he[ve("finalized")] = /* @__PURE__ */ new Map(), _2?.({ ReactiveElement: he }), (qe.reactiveElementVersions ??= []).push("2.1.2");
|
|
270
|
+
const gt = globalThis, Ft = (t) => t, ze = gt.trustedTypes, Ht = ze ? ze.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, N1 = "$lit$", te = `lit$${Math.random().toFixed(9).slice(2)}$`, k1 = "?" + te, w2 = `<${k1}>`, se = document, _e = () => se.createComment(""), we = (t) => t === null || typeof t != "object" && typeof t != "function", bt = Array.isArray, x2 = (t) => bt(t) || typeof t?.[Symbol.iterator] == "function", rt = `[
|
|
271
|
+
\f\r]`, ge = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dt = /-->/g, Vt = />/g, oe = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
|
|
272
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, Ut = /"/g, O1 = /^(?:script|style|textarea|title)$/i, P2 = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), _ = P2(1), le = /* @__PURE__ */ Symbol.for("lit-noChange"), C = /* @__PURE__ */ Symbol.for("lit-nothing"), Gt = /* @__PURE__ */ new WeakMap(), ae = se.createTreeWalker(se, 129);
|
|
248
273
|
function R1(t, e) {
|
|
249
274
|
if (!bt(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
250
|
-
return
|
|
275
|
+
return Ht !== void 0 ? Ht.createHTML(e) : e;
|
|
251
276
|
}
|
|
252
|
-
const
|
|
277
|
+
const E2 = (t, e) => {
|
|
253
278
|
const r = t.length - 1, n = [];
|
|
254
279
|
let d, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", i = ge;
|
|
255
280
|
for (let a = 0; a < r; a++) {
|
|
256
281
|
const s = t[a];
|
|
257
|
-
let l, c
|
|
258
|
-
for (; u < s.length && (i.lastIndex = u,
|
|
259
|
-
const
|
|
260
|
-
o += i === ge ? s +
|
|
282
|
+
let l, $, c = -1, u = 0;
|
|
283
|
+
for (; u < s.length && (i.lastIndex = u, $ = i.exec(s), $ !== null); ) u = i.lastIndex, i === ge ? $[1] === "!--" ? i = Dt : $[1] !== void 0 ? i = Vt : $[2] !== void 0 ? (O1.test($[2]) && (d = RegExp("</" + $[2], "g")), i = oe) : $[3] !== void 0 && (i = oe) : i === oe ? $[0] === ">" ? (i = d ?? ge, c = -1) : $[1] === void 0 ? c = -2 : (c = i.lastIndex - $[2].length, l = $[1], i = $[3] === void 0 ? oe : $[3] === '"' ? Ut : jt) : i === Ut || i === jt ? i = oe : i === Dt || i === Vt ? i = ge : (i = oe, d = void 0);
|
|
284
|
+
const y = i === oe && t[a + 1].startsWith("/>") ? " " : "";
|
|
285
|
+
o += i === ge ? s + w2 : c >= 0 ? (n.push(l), s.slice(0, c) + N1 + s.slice(c) + te + y) : s + te + (c === -2 ? a : y);
|
|
261
286
|
}
|
|
262
287
|
return [R1(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
|
|
263
288
|
};
|
|
@@ -266,29 +291,29 @@ class xe {
|
|
|
266
291
|
let d;
|
|
267
292
|
this.parts = [];
|
|
268
293
|
let o = 0, i = 0;
|
|
269
|
-
const a = e.length - 1, s = this.parts, [l,
|
|
294
|
+
const a = e.length - 1, s = this.parts, [l, $] = E2(e, r);
|
|
270
295
|
if (this.el = xe.createElement(l, n), ae.currentNode = this.el.content, r === 2 || r === 3) {
|
|
271
|
-
const
|
|
272
|
-
|
|
296
|
+
const c = this.el.content.firstChild;
|
|
297
|
+
c.replaceWith(...c.childNodes);
|
|
273
298
|
}
|
|
274
299
|
for (; (d = ae.nextNode()) !== null && s.length < a; ) {
|
|
275
300
|
if (d.nodeType === 1) {
|
|
276
|
-
if (d.hasAttributes()) for (const
|
|
277
|
-
const u =
|
|
278
|
-
s.push({ type: 1, index: o, name: b[2], strings:
|
|
279
|
-
} else
|
|
301
|
+
if (d.hasAttributes()) for (const c of d.getAttributeNames()) if (c.endsWith(N1)) {
|
|
302
|
+
const u = $[i++], y = d.getAttribute(c).split(te), b = /([.?@])?(.*)/.exec(u);
|
|
303
|
+
s.push({ type: 1, index: o, name: b[2], strings: y, ctor: b[1] === "." ? S2 : b[1] === "?" ? N2 : b[1] === "@" ? k2 : Xe }), d.removeAttribute(c);
|
|
304
|
+
} else c.startsWith(te) && (s.push({ type: 6, index: o }), d.removeAttribute(c));
|
|
280
305
|
if (O1.test(d.tagName)) {
|
|
281
|
-
const
|
|
306
|
+
const c = d.textContent.split(te), u = c.length - 1;
|
|
282
307
|
if (u > 0) {
|
|
283
308
|
d.textContent = ze ? ze.emptyScript : "";
|
|
284
|
-
for (let
|
|
285
|
-
d.append(
|
|
309
|
+
for (let y = 0; y < u; y++) d.append(c[y], _e()), ae.nextNode(), s.push({ type: 2, index: ++o });
|
|
310
|
+
d.append(c[u], _e());
|
|
286
311
|
}
|
|
287
312
|
}
|
|
288
313
|
} else if (d.nodeType === 8) if (d.data === k1) s.push({ type: 2, index: o });
|
|
289
314
|
else {
|
|
290
|
-
let
|
|
291
|
-
for (; (
|
|
315
|
+
let c = -1;
|
|
316
|
+
for (; (c = d.data.indexOf(te, c + 1)) !== -1; ) s.push({ type: 7, index: o }), c += te.length - 1;
|
|
292
317
|
}
|
|
293
318
|
o++;
|
|
294
319
|
}
|
|
@@ -304,7 +329,7 @@ function me(t, e, r = t, n) {
|
|
|
304
329
|
const o = we(e) ? void 0 : e._$litDirective$;
|
|
305
330
|
return d?.constructor !== o && (d?._$AO?.(!1), o === void 0 ? d = void 0 : (d = new o(t), d._$AT(t, r, n)), n !== void 0 ? (r._$Co ??= [])[n] = d : r._$Cl = d), d !== void 0 && (e = me(t, d._$AS(t, e.values), d, n)), e;
|
|
306
331
|
}
|
|
307
|
-
class
|
|
332
|
+
class A2 {
|
|
308
333
|
constructor(e, r) {
|
|
309
334
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = r;
|
|
310
335
|
}
|
|
@@ -321,7 +346,7 @@ class E2 {
|
|
|
321
346
|
for (; s !== void 0; ) {
|
|
322
347
|
if (i === s.index) {
|
|
323
348
|
let l;
|
|
324
|
-
s.type === 2 ? l = new Oe(o, o.nextSibling, this, e) : s.type === 1 ? l = new s.ctor(o, s.name, s.strings, this, e) : s.type === 6 && (l = new
|
|
349
|
+
s.type === 2 ? l = new Oe(o, o.nextSibling, this, e) : s.type === 1 ? l = new s.ctor(o, s.name, s.strings, this, e) : s.type === 6 && (l = new O2(o, this, e)), this._$AV.push(l), s = n[++a];
|
|
325
350
|
}
|
|
326
351
|
i !== s?.index && (o = ae.nextNode(), i++);
|
|
327
352
|
}
|
|
@@ -337,7 +362,7 @@ class Oe {
|
|
|
337
362
|
return this._$AM?._$AU ?? this._$Cv;
|
|
338
363
|
}
|
|
339
364
|
constructor(e, r, n, d) {
|
|
340
|
-
this.type = 2, this._$AH =
|
|
365
|
+
this.type = 2, this._$AH = C, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = n, this.options = d, this._$Cv = d?.isConnected ?? !0;
|
|
341
366
|
}
|
|
342
367
|
get parentNode() {
|
|
343
368
|
let e = this._$AA.parentNode;
|
|
@@ -351,7 +376,7 @@ class Oe {
|
|
|
351
376
|
return this._$AB;
|
|
352
377
|
}
|
|
353
378
|
_$AI(e, r = this) {
|
|
354
|
-
e = me(this, e, r), we(e) ? e ===
|
|
379
|
+
e = me(this, e, r), we(e) ? e === C || e == null || e === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : e !== this._$AH && e !== le && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : x2(e) ? this.k(e) : this._(e);
|
|
355
380
|
}
|
|
356
381
|
O(e) {
|
|
357
382
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -360,13 +385,13 @@ class Oe {
|
|
|
360
385
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
361
386
|
}
|
|
362
387
|
_(e) {
|
|
363
|
-
this._$AH !==
|
|
388
|
+
this._$AH !== C && we(this._$AH) ? this._$AA.nextSibling.data = e : this.T(se.createTextNode(e)), this._$AH = e;
|
|
364
389
|
}
|
|
365
390
|
$(e) {
|
|
366
391
|
const { values: r, _$litType$: n } = e, d = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = xe.createElement(R1(n.h, n.h[0]), this.options)), n);
|
|
367
392
|
if (this._$AH?._$AD === d) this._$AH.p(r);
|
|
368
393
|
else {
|
|
369
|
-
const o = new
|
|
394
|
+
const o = new A2(d, this), i = o.u(this.options);
|
|
370
395
|
o.p(r), this.T(i), this._$AH = o;
|
|
371
396
|
}
|
|
372
397
|
}
|
|
@@ -399,7 +424,7 @@ class Xe {
|
|
|
399
424
|
return this._$AM._$AU;
|
|
400
425
|
}
|
|
401
426
|
constructor(e, r, n, d, o) {
|
|
402
|
-
this.type = 1, this._$AH =
|
|
427
|
+
this.type = 1, this._$AH = C, this._$AN = void 0, this.element = e, this.name = r, this._$AM = d, this.options = o, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = C;
|
|
403
428
|
}
|
|
404
429
|
_$AI(e, r = this, n, d) {
|
|
405
430
|
const o = this.strings;
|
|
@@ -408,44 +433,44 @@ class Xe {
|
|
|
408
433
|
else {
|
|
409
434
|
const a = e;
|
|
410
435
|
let s, l;
|
|
411
|
-
for (e = o[0], s = 0; s < o.length - 1; s++) l = me(this, a[n + s], r, s), l === le && (l = this._$AH[s]), i ||= !we(l) || l !== this._$AH[s], l ===
|
|
436
|
+
for (e = o[0], s = 0; s < o.length - 1; s++) l = me(this, a[n + s], r, s), l === le && (l = this._$AH[s]), i ||= !we(l) || l !== this._$AH[s], l === C ? e = C : e !== C && (e += (l ?? "") + o[s + 1]), this._$AH[s] = l;
|
|
412
437
|
}
|
|
413
438
|
i && !d && this.j(e);
|
|
414
439
|
}
|
|
415
440
|
j(e) {
|
|
416
|
-
e ===
|
|
441
|
+
e === C ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
417
442
|
}
|
|
418
443
|
}
|
|
419
|
-
class
|
|
444
|
+
class S2 extends Xe {
|
|
420
445
|
constructor() {
|
|
421
446
|
super(...arguments), this.type = 3;
|
|
422
447
|
}
|
|
423
448
|
j(e) {
|
|
424
|
-
this.element[this.name] = e ===
|
|
449
|
+
this.element[this.name] = e === C ? void 0 : e;
|
|
425
450
|
}
|
|
426
451
|
}
|
|
427
|
-
class
|
|
452
|
+
class N2 extends Xe {
|
|
428
453
|
constructor() {
|
|
429
454
|
super(...arguments), this.type = 4;
|
|
430
455
|
}
|
|
431
456
|
j(e) {
|
|
432
|
-
this.element.toggleAttribute(this.name, !!e && e !==
|
|
457
|
+
this.element.toggleAttribute(this.name, !!e && e !== C);
|
|
433
458
|
}
|
|
434
459
|
}
|
|
435
|
-
class
|
|
460
|
+
class k2 extends Xe {
|
|
436
461
|
constructor(e, r, n, d, o) {
|
|
437
462
|
super(e, r, n, d, o), this.type = 5;
|
|
438
463
|
}
|
|
439
464
|
_$AI(e, r = this) {
|
|
440
|
-
if ((e = me(this, e, r, 0) ??
|
|
441
|
-
const n = this._$AH, d = e ===
|
|
465
|
+
if ((e = me(this, e, r, 0) ?? C) === le) return;
|
|
466
|
+
const n = this._$AH, d = e === C && n !== C || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== C && (n === C || d);
|
|
442
467
|
d && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
443
468
|
}
|
|
444
469
|
handleEvent(e) {
|
|
445
470
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
|
|
446
471
|
}
|
|
447
472
|
}
|
|
448
|
-
class
|
|
473
|
+
class O2 {
|
|
449
474
|
constructor(e, r, n) {
|
|
450
475
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = n;
|
|
451
476
|
}
|
|
@@ -456,9 +481,9 @@ class k2 {
|
|
|
456
481
|
me(this, e);
|
|
457
482
|
}
|
|
458
483
|
}
|
|
459
|
-
const
|
|
460
|
-
|
|
461
|
-
const
|
|
484
|
+
const R2 = gt.litHtmlPolyfillSupport;
|
|
485
|
+
R2?.(xe, Oe), (gt.litHtmlVersions ??= []).push("3.3.2");
|
|
486
|
+
const I2 = (t, e, r) => {
|
|
462
487
|
const n = r?.renderBefore ?? e;
|
|
463
488
|
let d = n._$litPart$;
|
|
464
489
|
if (d === void 0) {
|
|
@@ -478,7 +503,7 @@ let Ce = class extends he {
|
|
|
478
503
|
}
|
|
479
504
|
update(e) {
|
|
480
505
|
const r = this.render();
|
|
481
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
506
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = I2(r, this.renderRoot, this.renderOptions);
|
|
482
507
|
}
|
|
483
508
|
connectedCallback() {
|
|
484
509
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -491,10 +516,10 @@ let Ce = class extends he {
|
|
|
491
516
|
}
|
|
492
517
|
};
|
|
493
518
|
Ce._$litElement$ = !0, Ce.finalized = !0, vt.litElementHydrateSupport?.({ LitElement: Ce });
|
|
494
|
-
const
|
|
495
|
-
|
|
519
|
+
const M2 = vt.litElementPolyfillSupport;
|
|
520
|
+
M2?.({ LitElement: Ce });
|
|
496
521
|
(vt.litElementVersions ??= []).push("4.2.2");
|
|
497
|
-
const
|
|
522
|
+
const T2 = { attribute: !0, type: String, converter: Be, reflect: !1, hasChanged: yt }, L2 = (t = T2, e, r) => {
|
|
498
523
|
const { kind: n, metadata: d } = r;
|
|
499
524
|
let o = globalThis.litPropertyMetadata.get(d);
|
|
500
525
|
if (o === void 0 && globalThis.litPropertyMetadata.set(d, o = /* @__PURE__ */ new Map()), n === "setter" && ((t = Object.create(t)).wrapped = !0), o.set(r.name, t), n === "accessor") {
|
|
@@ -515,17 +540,17 @@ const M2 = { attribute: !0, type: String, converter: Be, reflect: !1, hasChanged
|
|
|
515
540
|
}
|
|
516
541
|
throw Error("Unsupported decorator location: " + n);
|
|
517
542
|
};
|
|
518
|
-
function
|
|
519
|
-
return (e, r) => typeof r == "object" ?
|
|
543
|
+
function j(t) {
|
|
544
|
+
return (e, r) => typeof r == "object" ? L2(t, e, r) : ((n, d, o) => {
|
|
520
545
|
const i = d.hasOwnProperty(o);
|
|
521
546
|
return d.constructor.createProperty(o, n), i ? Object.getOwnPropertyDescriptor(d, o) : void 0;
|
|
522
547
|
})(t, e, r);
|
|
523
548
|
}
|
|
524
|
-
function
|
|
525
|
-
return
|
|
549
|
+
function F(t) {
|
|
550
|
+
return j({ ...t, state: !0, attribute: !1 });
|
|
526
551
|
}
|
|
527
|
-
const
|
|
528
|
-
`,
|
|
552
|
+
const F2 = `<svg xmlns="http://www.w3.org/2000/svg" width="92" height="30" viewBox="0 0 92 30" fill="currentColor"><path d="M0.666626 7H14C15.4733 7 16.6666 8.19333 16.6666 9.66667V23H3.33329C1.85996 23 0.666626 21.8067 0.666626 20.3333V13.6667H7.33329V19H9.99996V11H0.666626V7Z"></path><path d="M75.3333 7V23H82V11H84.6666V23H91.3333V9.66667C91.3333 8.19333 90.14 7 88.6666 7H75.3333Z"></path><path d="M38 29.6667H51.3333C52.8067 29.6667 54 28.4733 54 27V7H47.3333V19H44.6667V7H38V20.3333C38 21.8067 39.1933 23 40.6667 23H47.3333V25.6667H38V29.6667Z"></path><path d="M72.6666 23H59.3333C57.86 23 56.6666 21.8067 56.6666 20.3333V7H70C71.4733 7 72.6666 8.19333 72.6666 9.66667V16.3333H66V11H63.3333V19H72.6666V23Z"></path><path d="M35.3333 0.333344V23H21.9999C20.5266 23 19.3333 21.8067 19.3333 20.3333V9.66668C19.3333 8.19334 20.5266 7.00001 21.9999 7.00001H25.9999V19H28.6666V0.333344H35.3333Z"></path></svg>
|
|
553
|
+
`, H2 = `<svg xmlns="http://www.w3.org/2000/svg" width="60" height="25" viewBox="0 0 60 25" fill="currentColor"><path fill-rule="evenodd" d="M59.6444 14.2813h-8.062c.1843 1.9296 1.5983 2.5476 3.2032 2.5476 1.6352 0 2.9534-.3656 4.0453-.9506v3.3179c-1.1186.7115-2.5964 1.1068-4.5645 1.1068-4.011 0-6.8218-2.5122-6.8218-7.4783 0-4.19441 2.3837-7.52509 6.3017-7.52509 3.912 0 5.9537 3.28038 5.9537 7.49819 0 .3982-.0372 1.261-.0556 1.4835Zm-5.9241-5.62407c-1.0294 0-2.1739.72812-2.1739 2.58387h4.2573c0-1.85362-1.0721-2.58387-2.0834-2.58387ZM40.9547 20.303c-1.4411 0-2.322-.6087-2.9133-1.0417l-.0088 4.6271-4.1181.8755-.0014-19.19053h3.7543l.0864 1.01784c.6035-.52914 1.6114-1.29157 3.2256-1.29162 2.8925 0 5.6162 2.6052 5.6162 7.39971 0 5.2327-2.6948 7.6037-5.6409 7.6037Zm-.959-11.35573c-.9453 0-1.5376.34559-1.9669.81586l.0245 6.11967c.3997.433.9763.7813 1.9424.7813 1.5231 0 2.5437-1.6575 2.5437-3.8745 0-2.1544-1.037-3.84233-2.5437-3.84233Zm-11.7602-3.3739h4.1341V20.0088h-4.1341V5.57337Zm0-4.694699L32.3696 0v3.35821l-4.1341.87868V.878671ZM23.9198 10.2223v9.7861h-4.1156V5.57296h3.6867l.1317 1.21751c1.0035-1.7722 3.0722-1.41321 3.6209-1.21594v3.78524c-.5242-.16908-2.2894-.42779-3.3237.86253Zm-8.5525 4.7221c0 2.4275 2.5988 1.6719 3.1263 1.4609v3.3522c-.5492.3013-1.5437.5458-2.8901.5458-2.4441 0-4.2773-1.7999-4.2773-4.2379l.0173-13.17658 4.0206-.85464.0032 3.5395h3.1278V9.0857h-3.1278v5.8588-.0001Zm-4.9069.7026c0 2.9645-2.31051 4.6562-5.73464 4.6562-1.41958 0-2.92289-.2761-4.453935-.9347v-3.9319c1.382085.7516 3.093705 1.315 4.457755 1.315.91864 0 1.53106-.2459 1.53106-1.0069C6.26064 13.7786 0 14.5192 0 9.95995 0 7.04457 2.27622 5.2998 5.61655 5.2998c1.36404 0 2.72806.20934 4.09208.75351V9.9317c-1.25265-.67618-2.84332-1.05979-4.09588-1.05979-.86296 0-1.44753.24965-1.44753.8924.0001 1.85329 6.29518.97249 6.29518 5.88279v-.0001Z" clip-rule="evenodd"></path></svg>
|
|
529
554
|
`, D2 = `<svg width="142" height="48" viewBox="0 0 142 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
530
555
|
<path d="M71.4206 14.3934H59.6679C58.2045 14.3934 57.0576 15.5403 57.0576 17.0036V33.5533C57.0576 35.0166 58.2045 36.1636 59.6679 36.1636C61.1312 36.1636 62.2773 35.0166 62.2773 33.5533V27.8582H70.0718C71.4173 27.8582 72.4719 26.8044 72.4719 25.4581C72.4719 24.1118 71.4181 23.058 70.0718 23.058H62.2773V19.1929H71.4214C72.7446 19.1929 73.8215 18.116 73.8215 16.7927C73.8215 15.4695 72.7446 14.3926 71.4214 14.3926L71.4206 14.3934Z" fill="currentColor"/>
|
|
531
556
|
<path d="M80.6981 14.2188C79.2348 14.2188 78.0879 15.3649 78.0879 16.8282V33.3795C78.0879 34.8428 79.2348 35.9897 80.6981 35.9897H91.5519C92.8974 35.9897 93.952 34.9359 93.952 33.5896C93.952 32.2433 92.8982 31.1895 91.5519 31.1895H83.3076V16.8282C83.3076 15.3649 82.1615 14.2188 80.6981 14.2188Z" fill="currentColor"/>
|
|
@@ -533,12 +558,12 @@ const L2 = `<svg xmlns="http://www.w3.org/2000/svg" width="92" height="30" viewB
|
|
|
533
558
|
<path d="M129.066 36.3692C131.478 36.3692 133.623 35.5988 135.272 34.1421L135.639 33.8174L135.757 34.2937C136.023 35.373 137.099 36.1278 138.372 36.1278C139.874 36.1278 141.05 34.9693 141.05 33.4903V23.0172C141.05 20.0601 140.251 17.7827 138.674 16.2469L138.668 16.2411C137.096 14.6262 134.584 13.7734 131.403 13.7734C128.869 13.7734 126.788 14.1533 124.444 15.044C123.551 15.3908 122.925 16.3013 122.925 17.2571C122.925 18.5333 123.981 19.5723 125.28 19.5723C125.539 19.5723 125.807 19.5311 126.121 19.4413L126.163 19.4273C127.57 18.8745 129.073 18.605 130.759 18.605C132.318 18.605 133.531 18.9437 134.363 19.6127C135.211 20.2941 135.67 21.3133 135.728 22.6415L135.745 23.051L135.35 22.9406C134.326 22.6539 132.689 22.2732 130.314 22.2732C127.5 22.2732 125.181 22.934 123.607 24.1831C122.053 25.4165 121.232 27.2284 121.232 29.4217V29.5016C121.232 33.5455 124.453 36.3692 129.065 36.3692H129.066ZM126.588 29.2207C126.588 27.9592 127.238 27.01 128.469 26.477C129.425 26.0633 130.527 25.976 131.282 25.976C133.214 25.976 134.704 26.3476 135.614 26.659L135.815 26.7274V27.9699C135.815 30.4335 133.553 32.2215 130.436 32.2215C129.465 32.2215 128.561 31.9982 127.892 31.5928C127.038 31.0754 126.588 30.2827 126.588 29.3006V29.2207Z" fill="currentColor"/>
|
|
534
559
|
<path d="M47.1258 1.77857C45.3395 -0.00773262 42.7804 -0.489738 40.4486 0.520414C37.2872 1.8898 35.6088 4.95569 34.3836 7.77274L29.6212 19.2832L41.1069 14.5315L41.1317 14.5208C43.9495 13.2956 47.0146 11.6172 48.3848 8.45579C49.395 6.12321 48.913 3.56487 47.1267 1.77857H47.1258ZM45.6625 7.27673C45.1245 8.51841 44.0262 10.0254 39.9608 11.7952L35.0963 13.8081L37.1084 8.94356C38.102 6.6596 39.4162 4.19931 41.6269 3.24189C42.8356 2.71786 44.1069 2.95516 45.0281 3.87632C45.9484 4.79667 46.1857 6.06883 45.6625 7.27755V7.27673ZM40.4915 20.4029C37.1603 19.0854 33.6659 20.108 30.6857 21.2821L27.5836 22.5682C27.2244 22.0854 26.7959 21.6561 26.3131 21.2977L27.5894 18.2203L27.5993 18.1956C28.7734 15.2162 29.7951 11.7211 28.4784 8.38987C27.5111 5.94277 25.2848 4.4226 22.6696 4.42342C20.0544 4.42342 17.8282 5.94359 16.8608 8.38987C16.5453 9.18827 16.3648 9.99656 16.2882 10.8048C15.662 10.2882 14.9633 9.84413 14.1756 9.50219C11.7607 8.45579 9.11251 8.9551 7.26277 10.8048C5.41302 12.6546 4.91454 15.3027 5.96012 17.7177C6.30123 18.5054 6.74533 19.2041 7.26277 19.8303C6.45448 19.9069 5.64702 20.0874 4.8478 20.4029C2.40152 21.3711 0.881348 23.5965 0.881348 26.2117C0.881348 28.8269 2.40152 31.0532 4.8478 32.0205C5.6462 32.3361 6.45448 32.5173 7.26194 32.594C6.74533 33.2193 6.30123 33.918 5.96012 34.7057C4.91371 37.1199 5.41302 39.7688 7.26277 41.6186C8.47231 42.8281 10.0238 43.4601 11.6272 43.4601C12.4758 43.4601 13.3393 43.2829 14.1748 42.9212C14.9625 42.5801 15.6612 42.136 16.2874 41.6186C16.364 42.4269 16.5445 43.2343 16.86 44.0336C17.8273 46.4807 20.0536 48.0008 22.6688 48C25.284 48 27.5103 46.4798 28.4776 44.0336C28.7932 43.2352 28.9736 42.4269 29.0502 41.6186C29.6764 42.1352 30.3751 42.5793 31.1628 42.9212C31.9983 43.2829 32.8618 43.4601 33.7104 43.4601C35.3146 43.4601 36.8661 42.8281 38.0748 41.6186C39.9238 39.7688 40.4231 37.1207 39.3775 34.7057C39.0364 33.918 38.5923 33.2193 38.0757 32.594C38.884 32.5173 39.6914 32.3361 40.4898 32.0205C42.9369 31.0532 44.4571 28.8269 44.4571 26.2117C44.4571 23.5965 42.9369 21.3702 40.4898 20.4029H40.4915ZM5.93869 29.2628C4.62945 28.7445 3.84753 27.6042 3.84753 26.2125C3.84753 24.8209 4.62945 23.6797 5.93869 23.1623C6.5138 22.9349 7.20427 22.7487 8.15427 22.7487C9.37041 22.7487 11.0133 23.056 13.3822 23.9722C13.4267 23.992 13.4712 24.011 13.5148 24.0307L16.6153 25.3136C16.5716 25.6078 16.5486 25.9077 16.5486 26.2134C16.5486 26.519 16.5716 26.819 16.6153 27.1131L13.5395 28.3861L13.5148 28.3968C13.4637 28.419 13.4127 28.4413 13.3616 28.4644C10.9689 29.3921 8.24408 30.1773 5.93787 29.2652L5.93869 29.2628ZM17.7499 34.2039L17.74 34.2287C17.7202 34.2797 17.6996 34.3308 17.6798 34.3827C16.6442 36.7318 15.2723 39.2143 12.9966 40.2006C11.7046 40.76 10.3451 40.5071 9.36052 39.5225C8.37591 38.5379 8.12214 37.1784 8.68242 35.8864C9.24352 34.592 10.3797 33.0249 14.5184 31.1949C14.5637 31.1776 14.609 31.1603 14.6535 31.1422L17.7556 29.856C18.1149 30.3388 18.5433 30.7681 19.0262 31.1265L17.7499 34.2039ZM17.7556 22.5682L14.6782 21.292L14.6535 21.2821C14.6024 21.2615 14.5505 21.2417 14.4986 21.2219C12.1504 20.1862 9.66785 18.8144 8.68242 16.5386C8.12296 15.2467 8.37591 13.8872 9.36052 12.9026C10.3451 11.918 11.7046 11.665 12.9966 12.2245C14.291 12.7848 15.8573 13.9218 17.6864 18.0572C17.7046 18.1033 17.7227 18.1503 17.7408 18.1956L19.027 21.2977C18.5442 21.657 18.1149 22.0854 17.7565 22.5682H17.7556ZM25.7207 42.9427C25.2024 44.2519 24.0629 45.0338 22.6705 45.0338C21.278 45.0338 20.1377 44.2519 19.6202 42.9427C19.102 41.6309 18.7971 39.7202 20.4285 35.5025C20.4483 35.4572 20.4689 35.411 20.4887 35.3657L21.7715 32.2652C22.0657 32.3089 22.3656 32.3319 22.6713 32.3319C22.977 32.3319 23.2769 32.3089 23.571 32.2652L24.844 35.341L24.8547 35.3657C24.877 35.4168 24.8992 35.467 24.9215 35.5181C25.85 37.9108 26.6344 40.6364 25.7223 42.9427H25.7207ZM19.5156 26.2117C19.5156 24.4724 20.9303 23.0577 22.6696 23.0577C24.409 23.0577 25.8237 24.4724 25.8237 26.2117C25.8237 27.9511 24.409 29.3658 22.6696 29.3658C20.9303 29.3658 19.5156 27.9511 19.5156 26.2117ZM24.8448 17.0965L23.5751 20.159C23.2802 20.1154 22.9778 20.0915 22.6705 20.0915C22.3631 20.0915 22.0649 20.1145 21.7707 20.1582L20.4977 17.0824L20.4878 17.0577C20.4656 17.0066 20.4433 16.9564 20.4211 16.9053C19.4933 14.5126 18.7081 11.787 19.6202 9.48077C20.1385 8.17153 21.278 7.38961 22.6705 7.38961C24.0629 7.38961 25.2032 8.17153 25.7207 9.48077C26.2464 10.8106 26.5537 12.7543 24.8448 17.0965ZM35.9796 39.5217C34.995 40.5063 33.6363 40.76 32.3435 40.1998C31.0499 39.6395 29.4836 38.5033 27.6545 34.3687C27.6363 34.3218 27.6182 34.2748 27.6001 34.2287L26.3139 31.1265C26.7967 30.7673 27.226 30.3388 27.5844 29.856L30.6619 31.1323L30.6866 31.1422C30.736 31.1619 30.7871 31.1809 30.8374 31.2007C33.1872 32.2364 35.6714 33.6091 36.6585 35.8856C37.2179 37.1775 36.965 38.537 35.9804 39.5217H35.9796ZM39.4014 29.2628C38.0897 29.781 36.179 30.0859 31.9604 28.4545C31.9151 28.4347 31.8697 28.4149 31.8244 28.3952L28.7239 27.1123C28.7676 26.8181 28.7907 26.5182 28.7907 26.2125C28.7907 25.9069 28.7676 25.6028 28.7231 25.3078L31.7857 24.0373C34.2237 23.0774 37.0334 22.2255 39.4006 23.1615C40.7098 23.6797 41.4917 24.8201 41.4917 26.2117C41.4917 27.6033 40.7098 28.7445 39.4006 29.2619L39.4014 29.2628Z" fill="currentColor"/>
|
|
535
560
|
</svg>
|
|
536
|
-
`, H2 = `<svg xmlns="http://www.w3.org/2000/svg" width="139" height="31" viewBox="0 0 139 31" fill="none"><g clip-path="url(#clip0_782_7162)"><path d="M5.69972 26.3627C5.61723 26.3067 5.54125 26.2423 5.4707 26.1726C5.54125 26.2423 5.61832 26.3057 5.69972 26.3627Z" fill="none"></path><path d="M10.2109 14.7389C10.2728 14.666 10.3401 14.5974 10.4139 14.534C10.3412 14.5974 10.2728 14.666 10.2109 14.7389Z" fill="none"></path><path d="M18.8822 12.0569C18.8269 12.0907 18.7715 12.1234 18.7129 12.152C18.7715 12.1234 18.8279 12.0918 18.8822 12.0569Z" fill="none"></path><path d="M19.7185 5.75569V10.5887C19.7185 11.3618 19.1709 12.0192 18.4511 12.2395L11.1947 14.1108C10.4097 14.3162 9.81621 14.9773 9.81621 15.7989V27.0336L6.40056 26.6228C5.57728 26.507 4.95695 25.775 4.95312 24.9309V12.6952C4.97993 12.0117 5.41646 11.4291 6.02913 11.1714L19.7185 5.75569Z" fill="none"></path><path d="M17.9155 0C17.6029 0 17.3099 0.0781681 17.0548 0.215491C17.0548 0.215491 0.914988 9.27771 0.904134 9.28299C0.38423 9.56714 0 10.0911 0 10.7133V27.7613C0 28.4891 0.569832 29.0838 1.25906 29.2866L7.57063 30.9377C7.72041 30.9778 7.8778 31 8.0406 31C8.96428 31 9.81522 30.3081 9.81522 29.4377V27.0493L6.39949 26.6374C5.57567 26.5233 4.95808 25.7881 4.95266 24.9462V12.7097C4.97979 12.0252 5.41503 11.4453 6.02828 11.1875L19.7195 5.77177V1.594C19.6467 0.702457 18.85 0 17.9155 0Z" fill="currentColor"></path><path d="M11.1951 14.1252C10.4103 14.3322 9.81445 14.9914 9.81445 15.8121V27.0483L12.9968 27.4328C13.9911 27.5627 14.7769 26.6574 14.7769 25.7004L14.7899 19.4892C14.7877 18.6505 15.5182 17.9871 16.3724 17.8656L23.116 17.0385C23.116 17.0385 23.1181 17.0385 23.1192 17.0385C23.9311 16.9287 24.6257 16.3181 24.6257 15.5216V6.16366C24.6257 5.29747 23.7661 4.66156 22.8631 4.66156C22.6449 4.66156 22.4376 4.7017 22.2444 4.77142L19.7187 5.7707V10.6023C19.7187 11.3777 19.1716 12.0326 18.4499 12.2544L11.1951 14.1252Z" fill="currentColor"></path><path d="M37.1697 11.6819C37.2305 11.7411 37.2609 11.8118 37.2609 11.8963V13.8875C37.2609 13.972 37.2305 14.0428 37.1697 14.102C37.1089 14.1611 37.0362 14.1907 36.9494 14.1907H34.3857C34.2988 14.1907 34.2565 14.2329 34.2565 14.3164V24.1952C34.2565 24.2797 34.2261 24.3504 34.1653 24.4096C34.1045 24.4687 34.0318 24.4983 33.945 24.4983H31.5626C31.4757 24.4983 31.403 24.4687 31.3422 24.4096C31.2814 24.3504 31.251 24.2797 31.251 24.1952V14.3164C31.251 14.2329 31.2076 14.1907 31.1219 14.1907H29.5166C29.4298 14.1907 29.357 14.1611 29.2963 14.102C29.2355 14.0428 29.2051 13.972 29.2051 13.8875V11.8963C29.2051 11.8129 29.2355 11.7411 29.2963 11.6819C29.357 11.6228 29.4298 11.5932 29.5166 11.5932H31.1219C31.2076 11.5932 31.251 11.5509 31.251 11.4675V11.0143C31.251 9.92207 31.3976 9.07807 31.6917 8.48124C31.9848 7.88548 32.4689 7.46083 33.1418 7.20837C33.8147 6.95591 34.7645 6.83866 35.9899 6.85556H36.8962C36.9819 6.85556 37.0557 6.88513 37.1165 6.94429C37.1773 7.00344 37.2077 7.07422 37.2077 7.15872V8.92279C37.2077 9.00729 37.1773 9.07807 37.1165 9.13722C37.0557 9.19638 36.983 9.22595 36.8962 9.22595H36.2232C35.4808 9.22595 34.9674 9.36856 34.682 9.65482C34.3976 9.94109 34.2543 10.4608 34.2543 11.2171V11.4696C34.2543 11.5541 34.2977 11.5953 34.3835 11.5953H36.9472C37.0329 11.5953 37.1068 11.6249 37.1675 11.684L37.1697 11.6819ZM40.186 9.3506C39.8409 9.01469 39.6683 8.58582 39.6683 8.06505C39.6683 7.54428 39.8409 7.11647 40.186 6.7795C40.5312 6.44359 40.9718 6.27563 41.5069 6.27563C42.042 6.27563 42.4816 6.44359 42.8279 6.7795C43.173 7.11541 43.3456 7.54428 43.3456 8.06505C43.3456 8.58582 43.173 9.01469 42.8279 9.3506C42.4827 9.68651 42.042 9.85447 41.5069 9.85447C40.9718 9.85447 40.5312 9.68651 40.186 9.3506ZM40.0438 24.4085C39.983 24.3494 39.9527 24.2786 39.9527 24.1941V11.8953C39.9527 11.8118 39.983 11.74 40.0438 11.6809C40.1046 11.6217 40.1773 11.5921 40.2642 11.5921H42.6466C42.7324 11.5921 42.8062 11.6217 42.8669 11.6809C42.9277 11.74 42.9581 11.8108 42.9581 11.8953V24.1941C42.9581 24.2786 42.9277 24.3494 42.8669 24.4085C42.8062 24.4677 42.7334 24.4973 42.6466 24.4973H40.2642C40.1773 24.4973 40.1046 24.4677 40.0438 24.4085Z" fill="currentColor"></path><path d="M55.7097 12.6273C56.5466 13.4333 56.9655 14.534 56.9655 15.9283V24.1941C56.9655 24.2786 56.9351 24.3494 56.8754 24.4085C56.8147 24.4677 56.7419 24.4973 56.6551 24.4973H54.2727C54.1858 24.4973 54.1131 24.4677 54.0523 24.4085C53.9915 24.3494 53.9622 24.2786 53.9622 24.1941V16.5326C53.9622 15.7604 53.7376 15.134 53.2893 14.6555C52.8399 14.1769 52.2441 13.9372 51.5027 13.9372C50.7614 13.9372 50.1601 14.1727 49.7031 14.6428C49.2451 15.1129 49.0172 15.735 49.0172 16.5072V24.1941C49.0172 24.2786 48.9868 24.3494 48.926 24.4085C48.8652 24.4677 48.7925 24.4973 48.7057 24.4973H46.3232C46.2364 24.4973 46.1637 24.4677 46.1029 24.4085C46.0421 24.3494 46.0117 24.2786 46.0117 24.1941V11.9206C46.0117 11.8372 46.0421 11.7654 46.1029 11.7062C46.1637 11.647 46.2364 11.6175 46.3232 11.6175H48.7057C48.7914 11.6175 48.8652 11.647 48.926 11.7062C48.9868 11.7654 49.0172 11.8361 49.0172 11.9206V12.7266C49.0172 12.7773 49.0345 12.8111 49.0693 12.827C49.104 12.8439 49.1301 12.827 49.1474 12.7763C49.8551 11.8689 50.9253 11.4157 52.358 11.4157C53.7907 11.4157 54.874 11.8192 55.7119 12.6252L55.7097 12.6273Z" fill="currentColor"></path><path d="M66.6384 13.8991C66.5776 13.9583 66.5049 13.9868 66.4181 13.9868H63.7773C63.6905 13.9868 63.6481 14.0291 63.6481 14.1125V20.1864C63.6481 20.8255 63.7903 21.2871 64.0758 21.5723C64.3602 21.8586 64.8138 22.0012 65.4358 22.0012H66.2129C66.2987 22.0012 66.3725 22.0307 66.4333 22.0899C66.494 22.149 66.5244 22.2198 66.5244 22.3043V24.1941C66.5244 24.3789 66.4213 24.4877 66.214 24.5215L64.867 24.5469C63.5027 24.5469 62.4846 24.3198 61.8116 23.8666C61.1387 23.4135 60.7925 22.5557 60.7762 21.2966V14.1146C60.7762 14.0312 60.7328 13.9889 60.647 13.9889H59.1709C59.0841 13.9889 59.0113 13.9593 58.9505 13.9012C58.8898 13.8421 58.8594 13.7713 58.8594 13.6868V11.9227C58.8594 11.8393 58.8898 11.7675 58.9505 11.7083C59.0113 11.6492 59.0841 11.6196 59.1709 11.6196H60.647C60.7328 11.6196 60.7762 11.5773 60.7762 11.4939V8.54567C60.7762 8.46222 60.8066 8.39039 60.8663 8.33124C60.9271 8.27209 60.9998 8.24251 61.0866 8.24251H63.3399C63.4256 8.24251 63.4994 8.27209 63.5602 8.33124C63.621 8.39039 63.6514 8.46117 63.6514 8.54567V11.4939C63.6514 11.5784 63.6948 11.6196 63.7806 11.6196H66.4213C66.5071 11.6196 66.5809 11.6492 66.6416 11.7083C66.7024 11.7675 66.7317 11.8382 66.7317 11.9227V13.6868C66.7317 13.7713 66.7013 13.8421 66.6416 13.9012L66.6384 13.8991Z" fill="currentColor"></path><path d="M80.0111 18.0199L79.985 18.8015C79.985 19.0033 79.8819 19.1037 79.6746 19.1037H71.57C71.4831 19.1037 71.4408 19.1459 71.4408 19.2294C71.4929 19.7839 71.57 20.1621 71.6741 20.3639C72.0888 21.5733 73.0982 22.1871 74.7035 22.204C75.8768 22.204 76.8092 21.7339 77.5006 20.7927C77.5689 20.6924 77.6558 20.6417 77.76 20.6417C77.8283 20.6417 77.8891 20.667 77.9412 20.7177L79.5465 22.0033C79.7017 22.1205 79.7278 22.2557 79.6247 22.4068C79.0896 23.1462 78.3776 23.7177 77.4886 24.1201C76.5997 24.5237 75.6109 24.7254 74.5233 24.7254C73.1763 24.7254 72.0334 24.4318 71.0924 23.8434C70.1513 23.255 69.4654 22.4321 69.0334 21.3737C68.6361 20.4663 68.4375 19.2061 68.4375 17.5931C68.4375 16.6192 68.5406 15.829 68.7479 15.2238C69.0931 14.0481 69.7454 13.1196 70.7027 12.4393C71.6611 11.759 72.8127 11.4189 74.1597 11.4189C77.5603 11.4189 79.4771 13.1491 79.908 16.6107C79.9763 17.0311 80.0111 17.5012 80.0111 18.022V18.0199ZM72.5663 14.403C72.143 14.7136 71.8456 15.1467 71.6731 15.7012C71.57 15.9875 71.5005 16.3562 71.4658 16.8104C71.431 16.8949 71.4658 16.9361 71.5689 16.9361H76.8254C76.9112 16.9361 76.9546 16.8938 76.9546 16.8104C76.9199 16.391 76.8678 16.0709 76.7994 15.8523C76.6442 15.247 76.337 14.7769 75.8801 14.441C75.422 14.1051 74.8478 13.9372 74.1575 13.9372C73.5182 13.9372 72.9875 14.0924 72.5653 14.403H72.5663Z" fill="currentColor"></path><path d="M84.4404 23.7029C83.4733 23.0395 82.8004 22.1448 82.4205 21.0188C82.1437 20.2624 82.0059 19.2547 82.0059 17.9945C82.0059 16.7343 82.1437 15.7942 82.4205 15.021C82.783 13.9118 83.4516 13.034 84.4274 12.3875C85.4021 11.7411 86.5548 11.4178 87.8844 11.4178C89.214 11.4178 90.4046 11.7453 91.4065 12.4002C92.4072 13.0551 93.0725 13.8791 93.4003 14.8699C93.4861 15.1393 93.5469 15.4076 93.5816 15.6759V15.7266C93.5816 15.8945 93.4861 15.9959 93.2972 16.0287L90.9669 16.3562H90.9148C90.7596 16.3562 90.6554 16.2727 90.6044 16.1037C90.6044 16.0202 90.5957 15.9526 90.5783 15.9019C90.5436 15.7678 90.5088 15.6495 90.4752 15.5491C90.32 15.0791 90.0096 14.6924 89.5428 14.3903C89.0772 14.0882 88.5237 13.9372 87.8854 13.9372C87.2472 13.9372 86.672 14.1009 86.215 14.4284C85.757 14.7558 85.4509 15.2058 85.2957 15.7762C85.1231 16.3139 85.0363 17.0618 85.0363 18.0188C85.0363 18.9758 85.1144 19.691 85.2696 20.2614C85.4422 20.8498 85.7526 21.3156 86.202 21.66C86.6503 22.0043 87.2114 22.1765 87.8854 22.1765C88.5595 22.1765 89.1065 22.0128 89.5819 21.6853C90.0562 21.3579 90.3623 20.9163 90.5012 20.3617C90.5186 20.3279 90.5273 20.2857 90.5273 20.236C90.5447 20.2191 90.5533 20.1938 90.5533 20.16C90.6054 19.9582 90.7259 19.8748 90.9159 19.9075L93.2462 20.2603C93.332 20.2772 93.4058 20.3153 93.4665 20.3734C93.5273 20.4325 93.5479 20.5117 93.5317 20.6131C93.4796 20.8825 93.4362 21.0758 93.4025 21.1931C93.0747 22.2684 92.4094 23.1209 91.4086 23.7515C90.4068 24.3811 89.2335 24.6969 87.8865 24.6969C86.5396 24.6969 85.4097 24.3652 84.4426 23.7018L84.4404 23.7029Z" fill="currentColor"></path><path d="M102.656 13.8991C102.595 13.9583 102.522 13.9868 102.436 13.9868H99.7949C99.708 13.9868 99.6657 14.0291 99.6657 14.1125V20.1864C99.6657 20.8255 99.8079 21.2871 100.093 21.5723C100.378 21.8586 100.831 22.0012 101.453 22.0012H102.23C102.316 22.0012 102.39 22.0307 102.451 22.0899C102.512 22.149 102.541 22.2198 102.541 22.3043V24.1941C102.541 24.3789 102.438 24.4877 102.23 24.5215L100.884 24.5469C99.5192 24.5469 98.5011 24.3198 97.8281 23.8666C97.1552 23.4135 96.809 22.5557 96.7927 21.2966V14.1146C96.7927 14.0312 96.7493 13.9889 96.6635 13.9889H95.1874C95.1005 13.9889 95.0278 13.9593 94.967 13.9012C94.9063 13.8421 94.877 13.7713 94.877 13.6868V11.9227C94.877 11.8393 94.9073 11.7675 94.967 11.7083C95.0278 11.6492 95.1005 11.6196 95.1874 11.6196H96.6635C96.7493 11.6196 96.7927 11.5773 96.7927 11.4939V8.54567C96.7927 8.46222 96.8231 8.39039 96.8838 8.33124C96.9446 8.27209 97.0174 8.24251 97.1042 8.24251H99.3575C99.4432 8.24251 99.517 8.27209 99.5778 8.33124C99.6386 8.39039 99.6679 8.46117 99.6679 8.54567V11.4939C99.6679 11.5784 99.7113 11.6196 99.797 11.6196H102.438C102.524 11.6196 102.597 11.6492 102.658 11.7083C102.719 11.7675 102.749 11.8382 102.749 11.9227V13.6868C102.749 13.7713 102.719 13.8421 102.658 13.9012L102.656 13.8991Z" fill="currentColor"></path><path d="M112.938 11.7073C112.999 11.6481 113.071 11.6185 113.158 11.6185H115.514C115.6 11.6185 115.674 11.6481 115.735 11.7073C115.796 11.7664 115.825 11.8372 115.825 11.9217V24.1951C115.825 24.2797 115.795 24.3504 115.735 24.4096C115.675 24.4687 115.601 24.4983 115.514 24.4983H113.158C113.071 24.4983 112.999 24.4687 112.938 24.4096C112.877 24.3504 112.847 24.2797 112.847 24.1951V23.3892C112.847 23.3385 112.829 23.3057 112.794 23.2888C112.76 23.2719 112.725 23.2888 112.691 23.3395C111.984 24.23 110.921 24.6747 109.507 24.6747C108.195 24.6747 107.094 24.305 106.205 23.5656C105.316 22.8261 104.871 21.7762 104.871 20.4156V11.9228C104.871 11.8393 104.901 11.7675 104.962 11.7083C105.023 11.6492 105.096 11.6196 105.183 11.6196H107.565C107.651 11.6196 107.725 11.6492 107.785 11.7083C107.846 11.7675 107.877 11.8382 107.877 11.9228V19.5843C107.877 20.3744 108.088 21.004 108.512 21.4741C108.935 21.9441 109.525 22.1797 110.285 22.1797C111.045 22.1797 111.683 21.9441 112.15 21.4741C112.615 21.004 112.849 20.3744 112.849 19.5843V11.9228C112.849 11.8393 112.879 11.7675 112.94 11.7083L112.938 11.7073Z" fill="currentColor"></path><path d="M126.259 11.7949C126.397 11.8625 126.449 11.9882 126.415 12.1731L125.974 14.441C125.957 14.6428 125.836 14.7019 125.611 14.6174C125.352 14.534 125.05 14.4917 124.705 14.4917C124.48 14.4917 124.308 14.5002 124.187 14.5171C123.462 14.5509 122.858 14.7981 122.375 15.2607C121.892 15.7234 121.65 16.3234 121.65 17.0628V24.1951C121.65 24.2796 121.619 24.3504 121.56 24.4096C121.5 24.4687 121.426 24.4983 121.339 24.4983H118.957C118.87 24.4983 118.797 24.4687 118.737 24.4096C118.676 24.3504 118.646 24.2796 118.646 24.1951V11.9217C118.646 11.8382 118.677 11.7664 118.737 11.7073C118.797 11.6481 118.87 11.6185 118.957 11.6185H121.339C121.425 11.6185 121.499 11.6481 121.56 11.7073C121.62 11.7664 121.65 11.8372 121.65 11.9217V13.0562C121.65 13.1238 121.663 13.1618 121.689 13.1692C121.715 13.1777 121.744 13.1565 121.779 13.1058C122.504 12.0136 123.513 11.4675 124.808 11.4675C125.361 11.4675 125.844 11.5773 126.258 11.7949H126.259Z" fill="currentColor"></path><path d="M138.999 18.0199L138.973 18.8015C138.973 19.0033 138.87 19.1037 138.663 19.1037H130.558C130.471 19.1037 130.429 19.1459 130.429 19.2294C130.481 19.7839 130.558 20.1621 130.662 20.3639C131.077 21.5733 132.086 22.1871 133.692 22.204C134.865 22.204 135.797 21.7339 136.489 20.7927C136.557 20.6924 136.644 20.6417 136.748 20.6417C136.817 20.6417 136.877 20.667 136.929 20.7177L138.535 22.0033C138.69 22.1205 138.716 22.2557 138.613 22.4068C138.078 23.1462 137.366 23.7177 136.477 24.1201C135.588 24.5237 134.599 24.7254 133.512 24.7254C132.165 24.7254 131.022 24.4318 130.081 23.8434C129.14 23.255 128.454 22.4321 128.022 21.3737C127.624 20.4663 127.426 19.2061 127.426 17.5931C127.426 16.6192 127.529 15.829 127.736 15.2238C128.081 14.0481 128.734 13.1196 129.691 12.4393C130.649 11.759 131.801 11.4189 133.148 11.4189C136.549 11.4189 138.465 13.1491 138.896 16.6107C138.965 17.0311 138.999 17.5012 138.999 18.022V18.0199ZM131.555 14.403C131.131 14.7136 130.834 15.1467 130.661 15.7012C130.558 15.9875 130.489 16.3562 130.454 16.8104C130.419 16.8949 130.454 16.9361 130.557 16.9361H135.814C135.899 16.9361 135.943 16.8938 135.943 16.8104C135.908 16.391 135.856 16.0709 135.788 15.8523C135.632 15.247 135.325 14.7769 134.868 14.441C134.41 14.1051 133.836 13.9372 133.146 13.9372C132.507 13.9372 131.976 14.0924 131.554 14.403H131.555Z" fill="currentColor"></path></g><defs><clipPath id="clip0_782_7162"><rect width="139" height="31" fill="none"></rect></clipPath></defs></svg>
|
|
537
|
-
`,
|
|
538
|
-
function
|
|
561
|
+
`, V2 = `<svg xmlns="http://www.w3.org/2000/svg" width="139" height="31" viewBox="0 0 139 31" fill="none"><g clip-path="url(#clip0_782_7162)"><path d="M5.69972 26.3627C5.61723 26.3067 5.54125 26.2423 5.4707 26.1726C5.54125 26.2423 5.61832 26.3057 5.69972 26.3627Z" fill="none"></path><path d="M10.2109 14.7389C10.2728 14.666 10.3401 14.5974 10.4139 14.534C10.3412 14.5974 10.2728 14.666 10.2109 14.7389Z" fill="none"></path><path d="M18.8822 12.0569C18.8269 12.0907 18.7715 12.1234 18.7129 12.152C18.7715 12.1234 18.8279 12.0918 18.8822 12.0569Z" fill="none"></path><path d="M19.7185 5.75569V10.5887C19.7185 11.3618 19.1709 12.0192 18.4511 12.2395L11.1947 14.1108C10.4097 14.3162 9.81621 14.9773 9.81621 15.7989V27.0336L6.40056 26.6228C5.57728 26.507 4.95695 25.775 4.95312 24.9309V12.6952C4.97993 12.0117 5.41646 11.4291 6.02913 11.1714L19.7185 5.75569Z" fill="none"></path><path d="M17.9155 0C17.6029 0 17.3099 0.0781681 17.0548 0.215491C17.0548 0.215491 0.914988 9.27771 0.904134 9.28299C0.38423 9.56714 0 10.0911 0 10.7133V27.7613C0 28.4891 0.569832 29.0838 1.25906 29.2866L7.57063 30.9377C7.72041 30.9778 7.8778 31 8.0406 31C8.96428 31 9.81522 30.3081 9.81522 29.4377V27.0493L6.39949 26.6374C5.57567 26.5233 4.95808 25.7881 4.95266 24.9462V12.7097C4.97979 12.0252 5.41503 11.4453 6.02828 11.1875L19.7195 5.77177V1.594C19.6467 0.702457 18.85 0 17.9155 0Z" fill="currentColor"></path><path d="M11.1951 14.1252C10.4103 14.3322 9.81445 14.9914 9.81445 15.8121V27.0483L12.9968 27.4328C13.9911 27.5627 14.7769 26.6574 14.7769 25.7004L14.7899 19.4892C14.7877 18.6505 15.5182 17.9871 16.3724 17.8656L23.116 17.0385C23.116 17.0385 23.1181 17.0385 23.1192 17.0385C23.9311 16.9287 24.6257 16.3181 24.6257 15.5216V6.16366C24.6257 5.29747 23.7661 4.66156 22.8631 4.66156C22.6449 4.66156 22.4376 4.7017 22.2444 4.77142L19.7187 5.7707V10.6023C19.7187 11.3777 19.1716 12.0326 18.4499 12.2544L11.1951 14.1252Z" fill="currentColor"></path><path d="M37.1697 11.6819C37.2305 11.7411 37.2609 11.8118 37.2609 11.8963V13.8875C37.2609 13.972 37.2305 14.0428 37.1697 14.102C37.1089 14.1611 37.0362 14.1907 36.9494 14.1907H34.3857C34.2988 14.1907 34.2565 14.2329 34.2565 14.3164V24.1952C34.2565 24.2797 34.2261 24.3504 34.1653 24.4096C34.1045 24.4687 34.0318 24.4983 33.945 24.4983H31.5626C31.4757 24.4983 31.403 24.4687 31.3422 24.4096C31.2814 24.3504 31.251 24.2797 31.251 24.1952V14.3164C31.251 14.2329 31.2076 14.1907 31.1219 14.1907H29.5166C29.4298 14.1907 29.357 14.1611 29.2963 14.102C29.2355 14.0428 29.2051 13.972 29.2051 13.8875V11.8963C29.2051 11.8129 29.2355 11.7411 29.2963 11.6819C29.357 11.6228 29.4298 11.5932 29.5166 11.5932H31.1219C31.2076 11.5932 31.251 11.5509 31.251 11.4675V11.0143C31.251 9.92207 31.3976 9.07807 31.6917 8.48124C31.9848 7.88548 32.4689 7.46083 33.1418 7.20837C33.8147 6.95591 34.7645 6.83866 35.9899 6.85556H36.8962C36.9819 6.85556 37.0557 6.88513 37.1165 6.94429C37.1773 7.00344 37.2077 7.07422 37.2077 7.15872V8.92279C37.2077 9.00729 37.1773 9.07807 37.1165 9.13722C37.0557 9.19638 36.983 9.22595 36.8962 9.22595H36.2232C35.4808 9.22595 34.9674 9.36856 34.682 9.65482C34.3976 9.94109 34.2543 10.4608 34.2543 11.2171V11.4696C34.2543 11.5541 34.2977 11.5953 34.3835 11.5953H36.9472C37.0329 11.5953 37.1068 11.6249 37.1675 11.684L37.1697 11.6819ZM40.186 9.3506C39.8409 9.01469 39.6683 8.58582 39.6683 8.06505C39.6683 7.54428 39.8409 7.11647 40.186 6.7795C40.5312 6.44359 40.9718 6.27563 41.5069 6.27563C42.042 6.27563 42.4816 6.44359 42.8279 6.7795C43.173 7.11541 43.3456 7.54428 43.3456 8.06505C43.3456 8.58582 43.173 9.01469 42.8279 9.3506C42.4827 9.68651 42.042 9.85447 41.5069 9.85447C40.9718 9.85447 40.5312 9.68651 40.186 9.3506ZM40.0438 24.4085C39.983 24.3494 39.9527 24.2786 39.9527 24.1941V11.8953C39.9527 11.8118 39.983 11.74 40.0438 11.6809C40.1046 11.6217 40.1773 11.5921 40.2642 11.5921H42.6466C42.7324 11.5921 42.8062 11.6217 42.8669 11.6809C42.9277 11.74 42.9581 11.8108 42.9581 11.8953V24.1941C42.9581 24.2786 42.9277 24.3494 42.8669 24.4085C42.8062 24.4677 42.7334 24.4973 42.6466 24.4973H40.2642C40.1773 24.4973 40.1046 24.4677 40.0438 24.4085Z" fill="currentColor"></path><path d="M55.7097 12.6273C56.5466 13.4333 56.9655 14.534 56.9655 15.9283V24.1941C56.9655 24.2786 56.9351 24.3494 56.8754 24.4085C56.8147 24.4677 56.7419 24.4973 56.6551 24.4973H54.2727C54.1858 24.4973 54.1131 24.4677 54.0523 24.4085C53.9915 24.3494 53.9622 24.2786 53.9622 24.1941V16.5326C53.9622 15.7604 53.7376 15.134 53.2893 14.6555C52.8399 14.1769 52.2441 13.9372 51.5027 13.9372C50.7614 13.9372 50.1601 14.1727 49.7031 14.6428C49.2451 15.1129 49.0172 15.735 49.0172 16.5072V24.1941C49.0172 24.2786 48.9868 24.3494 48.926 24.4085C48.8652 24.4677 48.7925 24.4973 48.7057 24.4973H46.3232C46.2364 24.4973 46.1637 24.4677 46.1029 24.4085C46.0421 24.3494 46.0117 24.2786 46.0117 24.1941V11.9206C46.0117 11.8372 46.0421 11.7654 46.1029 11.7062C46.1637 11.647 46.2364 11.6175 46.3232 11.6175H48.7057C48.7914 11.6175 48.8652 11.647 48.926 11.7062C48.9868 11.7654 49.0172 11.8361 49.0172 11.9206V12.7266C49.0172 12.7773 49.0345 12.8111 49.0693 12.827C49.104 12.8439 49.1301 12.827 49.1474 12.7763C49.8551 11.8689 50.9253 11.4157 52.358 11.4157C53.7907 11.4157 54.874 11.8192 55.7119 12.6252L55.7097 12.6273Z" fill="currentColor"></path><path d="M66.6384 13.8991C66.5776 13.9583 66.5049 13.9868 66.4181 13.9868H63.7773C63.6905 13.9868 63.6481 14.0291 63.6481 14.1125V20.1864C63.6481 20.8255 63.7903 21.2871 64.0758 21.5723C64.3602 21.8586 64.8138 22.0012 65.4358 22.0012H66.2129C66.2987 22.0012 66.3725 22.0307 66.4333 22.0899C66.494 22.149 66.5244 22.2198 66.5244 22.3043V24.1941C66.5244 24.3789 66.4213 24.4877 66.214 24.5215L64.867 24.5469C63.5027 24.5469 62.4846 24.3198 61.8116 23.8666C61.1387 23.4135 60.7925 22.5557 60.7762 21.2966V14.1146C60.7762 14.0312 60.7328 13.9889 60.647 13.9889H59.1709C59.0841 13.9889 59.0113 13.9593 58.9505 13.9012C58.8898 13.8421 58.8594 13.7713 58.8594 13.6868V11.9227C58.8594 11.8393 58.8898 11.7675 58.9505 11.7083C59.0113 11.6492 59.0841 11.6196 59.1709 11.6196H60.647C60.7328 11.6196 60.7762 11.5773 60.7762 11.4939V8.54567C60.7762 8.46222 60.8066 8.39039 60.8663 8.33124C60.9271 8.27209 60.9998 8.24251 61.0866 8.24251H63.3399C63.4256 8.24251 63.4994 8.27209 63.5602 8.33124C63.621 8.39039 63.6514 8.46117 63.6514 8.54567V11.4939C63.6514 11.5784 63.6948 11.6196 63.7806 11.6196H66.4213C66.5071 11.6196 66.5809 11.6492 66.6416 11.7083C66.7024 11.7675 66.7317 11.8382 66.7317 11.9227V13.6868C66.7317 13.7713 66.7013 13.8421 66.6416 13.9012L66.6384 13.8991Z" fill="currentColor"></path><path d="M80.0111 18.0199L79.985 18.8015C79.985 19.0033 79.8819 19.1037 79.6746 19.1037H71.57C71.4831 19.1037 71.4408 19.1459 71.4408 19.2294C71.4929 19.7839 71.57 20.1621 71.6741 20.3639C72.0888 21.5733 73.0982 22.1871 74.7035 22.204C75.8768 22.204 76.8092 21.7339 77.5006 20.7927C77.5689 20.6924 77.6558 20.6417 77.76 20.6417C77.8283 20.6417 77.8891 20.667 77.9412 20.7177L79.5465 22.0033C79.7017 22.1205 79.7278 22.2557 79.6247 22.4068C79.0896 23.1462 78.3776 23.7177 77.4886 24.1201C76.5997 24.5237 75.6109 24.7254 74.5233 24.7254C73.1763 24.7254 72.0334 24.4318 71.0924 23.8434C70.1513 23.255 69.4654 22.4321 69.0334 21.3737C68.6361 20.4663 68.4375 19.2061 68.4375 17.5931C68.4375 16.6192 68.5406 15.829 68.7479 15.2238C69.0931 14.0481 69.7454 13.1196 70.7027 12.4393C71.6611 11.759 72.8127 11.4189 74.1597 11.4189C77.5603 11.4189 79.4771 13.1491 79.908 16.6107C79.9763 17.0311 80.0111 17.5012 80.0111 18.022V18.0199ZM72.5663 14.403C72.143 14.7136 71.8456 15.1467 71.6731 15.7012C71.57 15.9875 71.5005 16.3562 71.4658 16.8104C71.431 16.8949 71.4658 16.9361 71.5689 16.9361H76.8254C76.9112 16.9361 76.9546 16.8938 76.9546 16.8104C76.9199 16.391 76.8678 16.0709 76.7994 15.8523C76.6442 15.247 76.337 14.7769 75.8801 14.441C75.422 14.1051 74.8478 13.9372 74.1575 13.9372C73.5182 13.9372 72.9875 14.0924 72.5653 14.403H72.5663Z" fill="currentColor"></path><path d="M84.4404 23.7029C83.4733 23.0395 82.8004 22.1448 82.4205 21.0188C82.1437 20.2624 82.0059 19.2547 82.0059 17.9945C82.0059 16.7343 82.1437 15.7942 82.4205 15.021C82.783 13.9118 83.4516 13.034 84.4274 12.3875C85.4021 11.7411 86.5548 11.4178 87.8844 11.4178C89.214 11.4178 90.4046 11.7453 91.4065 12.4002C92.4072 13.0551 93.0725 13.8791 93.4003 14.8699C93.4861 15.1393 93.5469 15.4076 93.5816 15.6759V15.7266C93.5816 15.8945 93.4861 15.9959 93.2972 16.0287L90.9669 16.3562H90.9148C90.7596 16.3562 90.6554 16.2727 90.6044 16.1037C90.6044 16.0202 90.5957 15.9526 90.5783 15.9019C90.5436 15.7678 90.5088 15.6495 90.4752 15.5491C90.32 15.0791 90.0096 14.6924 89.5428 14.3903C89.0772 14.0882 88.5237 13.9372 87.8854 13.9372C87.2472 13.9372 86.672 14.1009 86.215 14.4284C85.757 14.7558 85.4509 15.2058 85.2957 15.7762C85.1231 16.3139 85.0363 17.0618 85.0363 18.0188C85.0363 18.9758 85.1144 19.691 85.2696 20.2614C85.4422 20.8498 85.7526 21.3156 86.202 21.66C86.6503 22.0043 87.2114 22.1765 87.8854 22.1765C88.5595 22.1765 89.1065 22.0128 89.5819 21.6853C90.0562 21.3579 90.3623 20.9163 90.5012 20.3617C90.5186 20.3279 90.5273 20.2857 90.5273 20.236C90.5447 20.2191 90.5533 20.1938 90.5533 20.16C90.6054 19.9582 90.7259 19.8748 90.9159 19.9075L93.2462 20.2603C93.332 20.2772 93.4058 20.3153 93.4665 20.3734C93.5273 20.4325 93.5479 20.5117 93.5317 20.6131C93.4796 20.8825 93.4362 21.0758 93.4025 21.1931C93.0747 22.2684 92.4094 23.1209 91.4086 23.7515C90.4068 24.3811 89.2335 24.6969 87.8865 24.6969C86.5396 24.6969 85.4097 24.3652 84.4426 23.7018L84.4404 23.7029Z" fill="currentColor"></path><path d="M102.656 13.8991C102.595 13.9583 102.522 13.9868 102.436 13.9868H99.7949C99.708 13.9868 99.6657 14.0291 99.6657 14.1125V20.1864C99.6657 20.8255 99.8079 21.2871 100.093 21.5723C100.378 21.8586 100.831 22.0012 101.453 22.0012H102.23C102.316 22.0012 102.39 22.0307 102.451 22.0899C102.512 22.149 102.541 22.2198 102.541 22.3043V24.1941C102.541 24.3789 102.438 24.4877 102.23 24.5215L100.884 24.5469C99.5192 24.5469 98.5011 24.3198 97.8281 23.8666C97.1552 23.4135 96.809 22.5557 96.7927 21.2966V14.1146C96.7927 14.0312 96.7493 13.9889 96.6635 13.9889H95.1874C95.1005 13.9889 95.0278 13.9593 94.967 13.9012C94.9063 13.8421 94.877 13.7713 94.877 13.6868V11.9227C94.877 11.8393 94.9073 11.7675 94.967 11.7083C95.0278 11.6492 95.1005 11.6196 95.1874 11.6196H96.6635C96.7493 11.6196 96.7927 11.5773 96.7927 11.4939V8.54567C96.7927 8.46222 96.8231 8.39039 96.8838 8.33124C96.9446 8.27209 97.0174 8.24251 97.1042 8.24251H99.3575C99.4432 8.24251 99.517 8.27209 99.5778 8.33124C99.6386 8.39039 99.6679 8.46117 99.6679 8.54567V11.4939C99.6679 11.5784 99.7113 11.6196 99.797 11.6196H102.438C102.524 11.6196 102.597 11.6492 102.658 11.7083C102.719 11.7675 102.749 11.8382 102.749 11.9227V13.6868C102.749 13.7713 102.719 13.8421 102.658 13.9012L102.656 13.8991Z" fill="currentColor"></path><path d="M112.938 11.7073C112.999 11.6481 113.071 11.6185 113.158 11.6185H115.514C115.6 11.6185 115.674 11.6481 115.735 11.7073C115.796 11.7664 115.825 11.8372 115.825 11.9217V24.1951C115.825 24.2797 115.795 24.3504 115.735 24.4096C115.675 24.4687 115.601 24.4983 115.514 24.4983H113.158C113.071 24.4983 112.999 24.4687 112.938 24.4096C112.877 24.3504 112.847 24.2797 112.847 24.1951V23.3892C112.847 23.3385 112.829 23.3057 112.794 23.2888C112.76 23.2719 112.725 23.2888 112.691 23.3395C111.984 24.23 110.921 24.6747 109.507 24.6747C108.195 24.6747 107.094 24.305 106.205 23.5656C105.316 22.8261 104.871 21.7762 104.871 20.4156V11.9228C104.871 11.8393 104.901 11.7675 104.962 11.7083C105.023 11.6492 105.096 11.6196 105.183 11.6196H107.565C107.651 11.6196 107.725 11.6492 107.785 11.7083C107.846 11.7675 107.877 11.8382 107.877 11.9228V19.5843C107.877 20.3744 108.088 21.004 108.512 21.4741C108.935 21.9441 109.525 22.1797 110.285 22.1797C111.045 22.1797 111.683 21.9441 112.15 21.4741C112.615 21.004 112.849 20.3744 112.849 19.5843V11.9228C112.849 11.8393 112.879 11.7675 112.94 11.7083L112.938 11.7073Z" fill="currentColor"></path><path d="M126.259 11.7949C126.397 11.8625 126.449 11.9882 126.415 12.1731L125.974 14.441C125.957 14.6428 125.836 14.7019 125.611 14.6174C125.352 14.534 125.05 14.4917 124.705 14.4917C124.48 14.4917 124.308 14.5002 124.187 14.5171C123.462 14.5509 122.858 14.7981 122.375 15.2607C121.892 15.7234 121.65 16.3234 121.65 17.0628V24.1951C121.65 24.2796 121.619 24.3504 121.56 24.4096C121.5 24.4687 121.426 24.4983 121.339 24.4983H118.957C118.87 24.4983 118.797 24.4687 118.737 24.4096C118.676 24.3504 118.646 24.2796 118.646 24.1951V11.9217C118.646 11.8382 118.677 11.7664 118.737 11.7073C118.797 11.6481 118.87 11.6185 118.957 11.6185H121.339C121.425 11.6185 121.499 11.6481 121.56 11.7073C121.62 11.7664 121.65 11.8372 121.65 11.9217V13.0562C121.65 13.1238 121.663 13.1618 121.689 13.1692C121.715 13.1777 121.744 13.1565 121.779 13.1058C122.504 12.0136 123.513 11.4675 124.808 11.4675C125.361 11.4675 125.844 11.5773 126.258 11.7949H126.259Z" fill="currentColor"></path><path d="M138.999 18.0199L138.973 18.8015C138.973 19.0033 138.87 19.1037 138.663 19.1037H130.558C130.471 19.1037 130.429 19.1459 130.429 19.2294C130.481 19.7839 130.558 20.1621 130.662 20.3639C131.077 21.5733 132.086 22.1871 133.692 22.204C134.865 22.204 135.797 21.7339 136.489 20.7927C136.557 20.6924 136.644 20.6417 136.748 20.6417C136.817 20.6417 136.877 20.667 136.929 20.7177L138.535 22.0033C138.69 22.1205 138.716 22.2557 138.613 22.4068C138.078 23.1462 137.366 23.7177 136.477 24.1201C135.588 24.5237 134.599 24.7254 133.512 24.7254C132.165 24.7254 131.022 24.4318 130.081 23.8434C129.14 23.255 128.454 22.4321 128.022 21.3737C127.624 20.4663 127.426 19.2061 127.426 17.5931C127.426 16.6192 127.529 15.829 127.736 15.2238C128.081 14.0481 128.734 13.1196 129.691 12.4393C130.649 11.759 131.801 11.4189 133.148 11.4189C136.549 11.4189 138.465 13.1491 138.896 16.6107C138.965 17.0311 138.999 17.5012 138.999 18.022V18.0199ZM131.555 14.403C131.131 14.7136 130.834 15.1467 130.661 15.7012C130.558 15.9875 130.489 16.3562 130.454 16.8104C130.419 16.8949 130.454 16.9361 130.557 16.9361H135.814C135.899 16.9361 135.943 16.8938 135.943 16.8104C135.908 16.391 135.856 16.0709 135.788 15.8523C135.632 15.247 135.325 14.7769 134.868 14.441C134.41 14.1051 133.836 13.9372 133.146 13.9372C132.507 13.9372 131.976 14.0924 131.554 14.403H131.555Z" fill="currentColor"></path></g><defs><clipPath id="clip0_782_7162"><rect width="139" height="31" fill="none"></rect></clipPath></defs></svg>
|
|
562
|
+
`, j2 = /\{[^{}]+\}/g, U2 = () => typeof process == "object" && Number.parseInt(process?.versions?.node?.substring(0, 2)) >= 18 && process.versions.undici;
|
|
563
|
+
function G2() {
|
|
539
564
|
return Math.random().toString(36).slice(2, 11);
|
|
540
565
|
}
|
|
541
|
-
function
|
|
566
|
+
function B2(t) {
|
|
542
567
|
let {
|
|
543
568
|
baseUrl: e = "",
|
|
544
569
|
Request: r = globalThis.Request,
|
|
@@ -549,37 +574,37 @@ function G2(t) {
|
|
|
549
574
|
requestInitExt: a = void 0,
|
|
550
575
|
...s
|
|
551
576
|
} = { ...t };
|
|
552
|
-
a =
|
|
577
|
+
a = U2() ? a : void 0, e = Zt(e);
|
|
553
578
|
const l = [];
|
|
554
|
-
async function c
|
|
579
|
+
async function $(c, u) {
|
|
555
580
|
const {
|
|
556
|
-
baseUrl:
|
|
581
|
+
baseUrl: y,
|
|
557
582
|
fetch: b = n,
|
|
558
|
-
Request:
|
|
583
|
+
Request: A = r,
|
|
559
584
|
headers: x,
|
|
560
|
-
params:
|
|
561
|
-
parseAs:
|
|
562
|
-
querySerializer:
|
|
563
|
-
bodySerializer:
|
|
564
|
-
body:
|
|
565
|
-
middleware:
|
|
585
|
+
params: I = {},
|
|
586
|
+
parseAs: H = "json",
|
|
587
|
+
querySerializer: U,
|
|
588
|
+
bodySerializer: B = o ?? Z2,
|
|
589
|
+
body: z,
|
|
590
|
+
middleware: Z = [],
|
|
566
591
|
...W
|
|
567
592
|
} = u || {};
|
|
568
593
|
let m = e;
|
|
569
|
-
|
|
570
|
-
let
|
|
571
|
-
|
|
594
|
+
y && (m = Zt(y) ?? e);
|
|
595
|
+
let O = typeof d == "function" ? d : Bt(d);
|
|
596
|
+
U && (O = typeof U == "function" ? U : Bt({
|
|
572
597
|
...typeof d == "object" ? d : {},
|
|
573
|
-
...
|
|
598
|
+
...U
|
|
574
599
|
}));
|
|
575
|
-
const ce =
|
|
576
|
-
|
|
600
|
+
const ce = z === void 0 ? void 0 : B(
|
|
601
|
+
z,
|
|
577
602
|
// Note: we declare mergeHeaders() both here and below because it’s a bit of a chicken-or-egg situation:
|
|
578
603
|
// bodySerializer() needs all headers so we aren’t dropping ones set by the user, however,
|
|
579
604
|
// the result of this ALSO sets the lowest-priority content-type header. So we re-merge below,
|
|
580
605
|
// setting the content-type at the very beginning to be overwritten.
|
|
581
606
|
// Lastly, based on the way headers work, it’s not a simple “present-or-not” check becauase null intentionally un-sets headers.
|
|
582
|
-
zt(i, x,
|
|
607
|
+
zt(i, x, I.header)
|
|
583
608
|
), Ie = zt(
|
|
584
609
|
// with no body, we should not to set Content-Type
|
|
585
610
|
ce === void 0 || // if serialized body is FormData; browser will correctly set Content-Type & boundary expression
|
|
@@ -588,159 +613,159 @@ function G2(t) {
|
|
|
588
613
|
},
|
|
589
614
|
i,
|
|
590
615
|
x,
|
|
591
|
-
|
|
592
|
-
),
|
|
616
|
+
I.header
|
|
617
|
+
), L = [...l, ...Z], Me = {
|
|
593
618
|
redirect: "follow",
|
|
594
619
|
...s,
|
|
595
620
|
...W,
|
|
596
621
|
body: ce,
|
|
597
622
|
headers: Ie
|
|
598
623
|
};
|
|
599
|
-
let J,
|
|
600
|
-
|
|
624
|
+
let J, D, S = new A(
|
|
625
|
+
W2(c, { baseUrl: m, params: I, querySerializer: O }),
|
|
601
626
|
Me
|
|
602
|
-
),
|
|
627
|
+
), v;
|
|
603
628
|
for (const f in W)
|
|
604
|
-
f in
|
|
605
|
-
if (
|
|
606
|
-
J =
|
|
629
|
+
f in S || (S[f] = W[f]);
|
|
630
|
+
if (L.length) {
|
|
631
|
+
J = G2(), D = Object.freeze({
|
|
607
632
|
baseUrl: m,
|
|
608
633
|
fetch: b,
|
|
609
|
-
parseAs:
|
|
610
|
-
querySerializer:
|
|
611
|
-
bodySerializer:
|
|
634
|
+
parseAs: H,
|
|
635
|
+
querySerializer: O,
|
|
636
|
+
bodySerializer: B
|
|
612
637
|
});
|
|
613
|
-
for (const f of
|
|
638
|
+
for (const f of L)
|
|
614
639
|
if (f && typeof f == "object" && typeof f.onRequest == "function") {
|
|
615
|
-
const
|
|
616
|
-
request:
|
|
617
|
-
schemaPath:
|
|
618
|
-
params:
|
|
619
|
-
options:
|
|
640
|
+
const P = await f.onRequest({
|
|
641
|
+
request: S,
|
|
642
|
+
schemaPath: c,
|
|
643
|
+
params: I,
|
|
644
|
+
options: D,
|
|
620
645
|
id: J
|
|
621
646
|
});
|
|
622
|
-
if (
|
|
623
|
-
if (
|
|
624
|
-
|
|
625
|
-
else if (
|
|
626
|
-
|
|
647
|
+
if (P)
|
|
648
|
+
if (P instanceof A)
|
|
649
|
+
S = P;
|
|
650
|
+
else if (P instanceof Response) {
|
|
651
|
+
v = P;
|
|
627
652
|
break;
|
|
628
653
|
} else
|
|
629
654
|
throw new Error("onRequest: must return new Request() or Response() when modifying the request");
|
|
630
655
|
}
|
|
631
656
|
}
|
|
632
|
-
if (!
|
|
657
|
+
if (!v) {
|
|
633
658
|
try {
|
|
634
|
-
|
|
659
|
+
v = await b(S, a);
|
|
635
660
|
} catch (f) {
|
|
636
|
-
let
|
|
637
|
-
if (
|
|
638
|
-
for (let
|
|
639
|
-
const de =
|
|
661
|
+
let P = f;
|
|
662
|
+
if (L.length)
|
|
663
|
+
for (let G = L.length - 1; G >= 0; G--) {
|
|
664
|
+
const de = L[G];
|
|
640
665
|
if (de && typeof de == "object" && typeof de.onError == "function") {
|
|
641
666
|
const K = await de.onError({
|
|
642
|
-
request:
|
|
643
|
-
error:
|
|
644
|
-
schemaPath:
|
|
645
|
-
params:
|
|
646
|
-
options:
|
|
667
|
+
request: S,
|
|
668
|
+
error: P,
|
|
669
|
+
schemaPath: c,
|
|
670
|
+
params: I,
|
|
671
|
+
options: D,
|
|
647
672
|
id: J
|
|
648
673
|
});
|
|
649
674
|
if (K) {
|
|
650
675
|
if (K instanceof Response) {
|
|
651
|
-
|
|
676
|
+
P = void 0, v = K;
|
|
652
677
|
break;
|
|
653
678
|
}
|
|
654
679
|
if (K instanceof Error) {
|
|
655
|
-
|
|
680
|
+
P = K;
|
|
656
681
|
continue;
|
|
657
682
|
}
|
|
658
683
|
throw new Error("onError: must return new Response() or instance of Error");
|
|
659
684
|
}
|
|
660
685
|
}
|
|
661
686
|
}
|
|
662
|
-
if (
|
|
663
|
-
throw
|
|
687
|
+
if (P)
|
|
688
|
+
throw P;
|
|
664
689
|
}
|
|
665
|
-
if (
|
|
666
|
-
for (let f =
|
|
667
|
-
const
|
|
668
|
-
if (
|
|
669
|
-
const
|
|
670
|
-
request:
|
|
671
|
-
response:
|
|
672
|
-
schemaPath:
|
|
673
|
-
params:
|
|
674
|
-
options:
|
|
690
|
+
if (L.length)
|
|
691
|
+
for (let f = L.length - 1; f >= 0; f--) {
|
|
692
|
+
const P = L[f];
|
|
693
|
+
if (P && typeof P == "object" && typeof P.onResponse == "function") {
|
|
694
|
+
const G = await P.onResponse({
|
|
695
|
+
request: S,
|
|
696
|
+
response: v,
|
|
697
|
+
schemaPath: c,
|
|
698
|
+
params: I,
|
|
699
|
+
options: D,
|
|
675
700
|
id: J
|
|
676
701
|
});
|
|
677
|
-
if (
|
|
678
|
-
if (!(
|
|
702
|
+
if (G) {
|
|
703
|
+
if (!(G instanceof Response))
|
|
679
704
|
throw new Error("onResponse: must return new Response() when modifying the response");
|
|
680
|
-
|
|
705
|
+
v = G;
|
|
681
706
|
}
|
|
682
707
|
}
|
|
683
708
|
}
|
|
684
709
|
}
|
|
685
|
-
const ue =
|
|
686
|
-
if (
|
|
687
|
-
return
|
|
688
|
-
if (
|
|
710
|
+
const ue = v.headers.get("Content-Length");
|
|
711
|
+
if (v.status === 204 || S.method === "HEAD" || ue === "0")
|
|
712
|
+
return v.ok ? { data: void 0, response: v } : { error: void 0, response: v };
|
|
713
|
+
if (v.ok)
|
|
689
714
|
return { data: await (async () => {
|
|
690
|
-
if (
|
|
691
|
-
return
|
|
692
|
-
if (
|
|
693
|
-
const
|
|
694
|
-
return
|
|
715
|
+
if (H === "stream")
|
|
716
|
+
return v.body;
|
|
717
|
+
if (H === "json" && !ue) {
|
|
718
|
+
const P = await v.text();
|
|
719
|
+
return P ? JSON.parse(P) : void 0;
|
|
695
720
|
}
|
|
696
|
-
return await
|
|
697
|
-
})(), response:
|
|
698
|
-
let ne = await
|
|
721
|
+
return await v[H]();
|
|
722
|
+
})(), response: v };
|
|
723
|
+
let ne = await v.text();
|
|
699
724
|
try {
|
|
700
725
|
ne = JSON.parse(ne);
|
|
701
726
|
} catch {
|
|
702
727
|
}
|
|
703
|
-
return { error: ne, response:
|
|
728
|
+
return { error: ne, response: v };
|
|
704
729
|
}
|
|
705
730
|
return {
|
|
706
|
-
request(
|
|
707
|
-
return
|
|
731
|
+
request(c, u, y) {
|
|
732
|
+
return $(u, { ...y, method: c.toUpperCase() });
|
|
708
733
|
},
|
|
709
734
|
/** Call a GET endpoint */
|
|
710
|
-
GET(
|
|
711
|
-
return c
|
|
735
|
+
GET(c, u) {
|
|
736
|
+
return $(c, { ...u, method: "GET" });
|
|
712
737
|
},
|
|
713
738
|
/** Call a PUT endpoint */
|
|
714
|
-
PUT(
|
|
715
|
-
return c
|
|
739
|
+
PUT(c, u) {
|
|
740
|
+
return $(c, { ...u, method: "PUT" });
|
|
716
741
|
},
|
|
717
742
|
/** Call a POST endpoint */
|
|
718
|
-
POST(
|
|
719
|
-
return c
|
|
743
|
+
POST(c, u) {
|
|
744
|
+
return $(c, { ...u, method: "POST" });
|
|
720
745
|
},
|
|
721
746
|
/** Call a DELETE endpoint */
|
|
722
|
-
DELETE(
|
|
723
|
-
return c
|
|
747
|
+
DELETE(c, u) {
|
|
748
|
+
return $(c, { ...u, method: "DELETE" });
|
|
724
749
|
},
|
|
725
750
|
/** Call a OPTIONS endpoint */
|
|
726
|
-
OPTIONS(
|
|
727
|
-
return c
|
|
751
|
+
OPTIONS(c, u) {
|
|
752
|
+
return $(c, { ...u, method: "OPTIONS" });
|
|
728
753
|
},
|
|
729
754
|
/** Call a HEAD endpoint */
|
|
730
|
-
HEAD(
|
|
731
|
-
return c
|
|
755
|
+
HEAD(c, u) {
|
|
756
|
+
return $(c, { ...u, method: "HEAD" });
|
|
732
757
|
},
|
|
733
758
|
/** Call a PATCH endpoint */
|
|
734
|
-
PATCH(
|
|
735
|
-
return c
|
|
759
|
+
PATCH(c, u) {
|
|
760
|
+
return $(c, { ...u, method: "PATCH" });
|
|
736
761
|
},
|
|
737
762
|
/** Call a TRACE endpoint */
|
|
738
|
-
TRACE(
|
|
739
|
-
return c
|
|
763
|
+
TRACE(c, u) {
|
|
764
|
+
return $(c, { ...u, method: "TRACE" });
|
|
740
765
|
},
|
|
741
766
|
/** Register middleware */
|
|
742
|
-
use(
|
|
743
|
-
for (const u of
|
|
767
|
+
use(...c) {
|
|
768
|
+
for (const u of c)
|
|
744
769
|
if (u) {
|
|
745
770
|
if (typeof u != "object" || !("onRequest" in u || "onResponse" in u || "onError" in u))
|
|
746
771
|
throw new Error("Middleware must be an object with one of `onRequest()`, `onResponse() or `onError()`");
|
|
@@ -748,10 +773,10 @@ function G2(t) {
|
|
|
748
773
|
}
|
|
749
774
|
},
|
|
750
775
|
/** Unregister middleware */
|
|
751
|
-
eject(
|
|
752
|
-
for (const u of
|
|
753
|
-
const
|
|
754
|
-
|
|
776
|
+
eject(...c) {
|
|
777
|
+
for (const u of c) {
|
|
778
|
+
const y = l.indexOf(u);
|
|
779
|
+
y !== -1 && l.splice(y, 1);
|
|
755
780
|
}
|
|
756
781
|
}
|
|
757
782
|
};
|
|
@@ -855,9 +880,9 @@ function Bt(t) {
|
|
|
855
880
|
return n.join("&");
|
|
856
881
|
};
|
|
857
882
|
}
|
|
858
|
-
function
|
|
883
|
+
function z2(t, e) {
|
|
859
884
|
let r = t;
|
|
860
|
-
for (const n of t.match(
|
|
885
|
+
for (const n of t.match(j2) ?? []) {
|
|
861
886
|
let d = n.substring(1, n.length - 1), o = !1, i = "simple";
|
|
862
887
|
if (d.endsWith("*") && (o = !0, d = d.substring(0, d.length - 1)), d.startsWith(".") ? (i = "label", d = d.substring(1)) : d.startsWith(";") && (i = "matrix", d = d.substring(1)), !e || e[d] === void 0 || e[d] === null)
|
|
863
888
|
continue;
|
|
@@ -878,12 +903,12 @@ function B2(t, e) {
|
|
|
878
903
|
}
|
|
879
904
|
return r;
|
|
880
905
|
}
|
|
881
|
-
function
|
|
906
|
+
function Z2(t, e) {
|
|
882
907
|
return t instanceof FormData ? t : e && (e.get instanceof Function ? e.get("Content-Type") ?? e.get("content-type") : e["Content-Type"] ?? e["content-type"]) === "application/x-www-form-urlencoded" ? new URLSearchParams(t).toString() : JSON.stringify(t);
|
|
883
908
|
}
|
|
884
|
-
function
|
|
909
|
+
function W2(t, e) {
|
|
885
910
|
let r = `${e.baseUrl}${t}`;
|
|
886
|
-
e.params?.path && (r =
|
|
911
|
+
e.params?.path && (r = z2(r, e.params.path));
|
|
887
912
|
let n = e.querySerializer(e.params.query ?? {});
|
|
888
913
|
return n.startsWith("?") && (n = n.substring(1)), n && (r += `?${n}`), r;
|
|
889
914
|
}
|
|
@@ -906,7 +931,7 @@ function zt(...t) {
|
|
|
906
931
|
function Zt(t) {
|
|
907
932
|
return t.endsWith("/") ? t.substring(0, t.length - 1) : t;
|
|
908
933
|
}
|
|
909
|
-
function
|
|
934
|
+
function K2(t, e, r = "fr") {
|
|
910
935
|
const n = {
|
|
911
936
|
async onRequest({ request: i }) {
|
|
912
937
|
return i.headers.set("Authorization", `Bearer ${e}`), i;
|
|
@@ -915,19 +940,19 @@ function W2(t, e, r = "fr") {
|
|
|
915
940
|
async onRequest({ request: i }) {
|
|
916
941
|
return i.headers.set("Accept-Language", r), i;
|
|
917
942
|
}
|
|
918
|
-
}, o =
|
|
943
|
+
}, o = B2({ baseUrl: t });
|
|
919
944
|
return o.use(n), o.use(d), o;
|
|
920
945
|
}
|
|
921
|
-
const
|
|
922
|
-
adyen:
|
|
923
|
-
stripe:
|
|
946
|
+
const q2 = {
|
|
947
|
+
adyen: F2,
|
|
948
|
+
stripe: H2,
|
|
924
949
|
floa: D2,
|
|
925
|
-
fintecture:
|
|
950
|
+
fintecture: V2
|
|
926
951
|
};
|
|
927
|
-
class
|
|
952
|
+
class X2 {
|
|
928
953
|
constructor(e, r, n = "fr") {
|
|
929
954
|
this.baseUrl = e, this.token = r, this.locale = n, this.getPaymentMethods = async () => {
|
|
930
|
-
const o = await
|
|
955
|
+
const o = await K2(this.baseUrl, this.token, this.locale).GET("/api/payment-methods");
|
|
931
956
|
if (o.error)
|
|
932
957
|
throw new Error("Error fetching payment methods");
|
|
933
958
|
return o.data?.map((i) => {
|
|
@@ -938,14 +963,14 @@ class q2 {
|
|
|
938
963
|
code: i.method || "",
|
|
939
964
|
provider: i.partner || "",
|
|
940
965
|
description: i.description || "",
|
|
941
|
-
logoSvg:
|
|
966
|
+
logoSvg: q2[a] || ""
|
|
942
967
|
};
|
|
943
968
|
}) ?? [];
|
|
944
969
|
};
|
|
945
970
|
}
|
|
946
971
|
}
|
|
947
972
|
const Ct = { 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-579]|61)", "5(?:[0-579]|61[06])", "5(?:[0-579]|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|5[12]"]], ["(\\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})|5(?:0\\d{3}|2[0-2]))\\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}"]]] } };
|
|
948
|
-
function
|
|
973
|
+
function Y2(t, e) {
|
|
949
974
|
var r = Array.prototype.slice.call(e);
|
|
950
975
|
return r.push(Ct), t.apply(this, r);
|
|
951
976
|
}
|
|
@@ -960,9 +985,9 @@ function Wt(t, e) {
|
|
|
960
985
|
}
|
|
961
986
|
return t[1] && e[1] ? t[1] > e[1] ? 1 : t[1] < e[1] ? -1 : 0 : !t[1] && e[1] ? 1 : t[1] && !e[1] ? -1 : 0;
|
|
962
987
|
}
|
|
963
|
-
var
|
|
988
|
+
var J2 = {}.constructor;
|
|
964
989
|
function pe(t) {
|
|
965
|
-
return t != null && t.constructor ===
|
|
990
|
+
return t != null && t.constructor === J2;
|
|
966
991
|
}
|
|
967
992
|
function ye(t) {
|
|
968
993
|
"@babel/helpers - typeof";
|
|
@@ -975,20 +1000,20 @@ function ye(t) {
|
|
|
975
1000
|
function Je(t, e) {
|
|
976
1001
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
977
1002
|
}
|
|
978
|
-
function
|
|
1003
|
+
function Q2(t, e) {
|
|
979
1004
|
for (var r = 0; r < e.length; r++) {
|
|
980
1005
|
var n = e[r];
|
|
981
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t,
|
|
1006
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, er(n.key), n);
|
|
982
1007
|
}
|
|
983
1008
|
}
|
|
984
1009
|
function Qe(t, e, r) {
|
|
985
|
-
return e &&
|
|
1010
|
+
return e && Q2(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
986
1011
|
}
|
|
987
|
-
function
|
|
988
|
-
var e =
|
|
1012
|
+
function er(t) {
|
|
1013
|
+
var e = tr(t, "string");
|
|
989
1014
|
return ye(e) == "symbol" ? e : e + "";
|
|
990
1015
|
}
|
|
991
|
-
function
|
|
1016
|
+
function tr(t, e) {
|
|
992
1017
|
if (ye(t) != "object" || !t) return t;
|
|
993
1018
|
var r = t[Symbol.toPrimitive];
|
|
994
1019
|
if (r !== void 0) {
|
|
@@ -998,7 +1023,7 @@ function er(t, e) {
|
|
|
998
1023
|
}
|
|
999
1024
|
return String(t);
|
|
1000
1025
|
}
|
|
1001
|
-
var
|
|
1026
|
+
var rr = "1.2.0", nr = "1.7.35", Kt = " ext. ", dr = /^\d+$/, R = /* @__PURE__ */ (function() {
|
|
1002
1027
|
function t(e) {
|
|
1003
1028
|
Je(this, t), T1(e), this.metadata = e, L1.call(this, e);
|
|
1004
1029
|
}
|
|
@@ -1053,7 +1078,7 @@ var tr = "1.2.0", rr = "1.7.35", Kt = " ext. ", nr = /^\d+$/, I = /* @__PURE__ *
|
|
|
1053
1078
|
}, {
|
|
1054
1079
|
key: "selectNumberingPlan",
|
|
1055
1080
|
value: function(r, n) {
|
|
1056
|
-
if (r &&
|
|
1081
|
+
if (r && dr.test(r) && (n = r, r = null), r && r !== "001") {
|
|
1057
1082
|
if (!this.hasCountry(r))
|
|
1058
1083
|
throw new Error("Unknown country: ".concat(r));
|
|
1059
1084
|
this.numberingPlan = new qt(this.getCountryMetadata(r), this);
|
|
@@ -1243,7 +1268,7 @@ var tr = "1.2.0", rr = "1.7.35", Kt = " ext. ", nr = /^\d+$/, I = /* @__PURE__ *
|
|
|
1243
1268
|
value: function() {
|
|
1244
1269
|
var r = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
1245
1270
|
return n.map(function(d) {
|
|
1246
|
-
return new
|
|
1271
|
+
return new or(d, r);
|
|
1247
1272
|
});
|
|
1248
1273
|
}
|
|
1249
1274
|
}, {
|
|
@@ -1312,7 +1337,7 @@ var tr = "1.2.0", rr = "1.7.35", Kt = " ext. ", nr = /^\d+$/, I = /* @__PURE__ *
|
|
|
1312
1337
|
key: "type",
|
|
1313
1338
|
value: function(r) {
|
|
1314
1339
|
if (this.hasTypes() && Xt(this.types(), r))
|
|
1315
|
-
return new
|
|
1340
|
+
return new ar(Xt(this.types(), r), this);
|
|
1316
1341
|
}
|
|
1317
1342
|
}, {
|
|
1318
1343
|
key: "ext",
|
|
@@ -1320,7 +1345,7 @@ var tr = "1.2.0", rr = "1.7.35", Kt = " ext. ", nr = /^\d+$/, I = /* @__PURE__ *
|
|
|
1320
1345
|
return this.v1 || this.v2 ? Kt : this.metadata[13] || Kt;
|
|
1321
1346
|
}
|
|
1322
1347
|
}]);
|
|
1323
|
-
})(),
|
|
1348
|
+
})(), or = /* @__PURE__ */ (function() {
|
|
1324
1349
|
function t(e, r) {
|
|
1325
1350
|
Je(this, t), this._format = e, this.metadata = r;
|
|
1326
1351
|
}
|
|
@@ -1359,7 +1384,7 @@ var tr = "1.2.0", rr = "1.7.35", Kt = " ext. ", nr = /^\d+$/, I = /* @__PURE__ *
|
|
|
1359
1384
|
key: "usesNationalPrefix",
|
|
1360
1385
|
value: function() {
|
|
1361
1386
|
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
1362
|
-
!
|
|
1387
|
+
!ir.test(this.nationalPrefixFormattingRule()));
|
|
1363
1388
|
}
|
|
1364
1389
|
}, {
|
|
1365
1390
|
key: "internationalFormat",
|
|
@@ -1367,7 +1392,7 @@ var tr = "1.2.0", rr = "1.7.35", Kt = " ext. ", nr = /^\d+$/, I = /* @__PURE__ *
|
|
|
1367
1392
|
return this._format[5] || this.format();
|
|
1368
1393
|
}
|
|
1369
1394
|
}]);
|
|
1370
|
-
})(),
|
|
1395
|
+
})(), ir = /^\(?\$1\)?$/, ar = /* @__PURE__ */ (function() {
|
|
1371
1396
|
function t(e, r) {
|
|
1372
1397
|
Je(this, t), this.type = e, this.metadata = r;
|
|
1373
1398
|
}
|
|
@@ -1412,36 +1437,36 @@ function T1(t) {
|
|
|
1412
1437
|
if (!t)
|
|
1413
1438
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
1414
1439
|
if (!pe(t) || !pe(t.countries))
|
|
1415
|
-
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(pe(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " +
|
|
1440
|
+
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(pe(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + sr(t) + ": " + t, "."));
|
|
1416
1441
|
}
|
|
1417
|
-
var
|
|
1442
|
+
var sr = function(e) {
|
|
1418
1443
|
return ye(e);
|
|
1419
1444
|
};
|
|
1420
1445
|
function et(t, e) {
|
|
1421
|
-
if (e = new
|
|
1446
|
+
if (e = new R(e), e.hasCountry(t))
|
|
1422
1447
|
return e.selectNumberingPlan(t).countryCallingCode();
|
|
1423
1448
|
throw new Error("Unknown country: ".concat(t));
|
|
1424
1449
|
}
|
|
1425
|
-
function
|
|
1450
|
+
function lr(t, e) {
|
|
1426
1451
|
return e.countries.hasOwnProperty(t);
|
|
1427
1452
|
}
|
|
1428
1453
|
function L1(t) {
|
|
1429
1454
|
var e = t.version;
|
|
1430
|
-
typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? Wt(e,
|
|
1455
|
+
typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? Wt(e, rr) === -1 ? this.v2 = !0 : Wt(e, nr) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
1431
1456
|
}
|
|
1432
1457
|
function _t(t, e, r) {
|
|
1433
|
-
return
|
|
1458
|
+
return $r(t, e, void 0, r);
|
|
1434
1459
|
}
|
|
1435
|
-
function
|
|
1436
|
-
e && (n = new
|
|
1460
|
+
function $r(t, e, r, n) {
|
|
1461
|
+
e && (n = new R(n.metadata), n.selectNumberingPlan(e));
|
|
1437
1462
|
var d = n.type(r), o = d && d.possibleLengths() || n.possibleLengths();
|
|
1438
1463
|
if (!o)
|
|
1439
1464
|
return "IS_POSSIBLE";
|
|
1440
1465
|
var i = t.length, a = o[0];
|
|
1441
1466
|
return a === i ? "IS_POSSIBLE" : a > i ? "TOO_SHORT" : o[o.length - 1] < i ? "TOO_LONG" : o.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
1442
1467
|
}
|
|
1443
|
-
function
|
|
1444
|
-
if (e === void 0 && (e = {}), r = new
|
|
1468
|
+
function cr(t, e, r) {
|
|
1469
|
+
if (e === void 0 && (e = {}), r = new R(r), e.v2) {
|
|
1445
1470
|
if (!t.countryCallingCode)
|
|
1446
1471
|
throw new Error("Invalid phone number object passed");
|
|
1447
1472
|
r.selectNumberingPlan(t.countryCallingCode);
|
|
@@ -1470,10 +1495,10 @@ function F1(t, e, r) {
|
|
|
1470
1495
|
function Y(t, e) {
|
|
1471
1496
|
return t = t || "", new RegExp("^(?:" + e + ")$").test(t);
|
|
1472
1497
|
}
|
|
1473
|
-
function
|
|
1498
|
+
function ur(t, e) {
|
|
1474
1499
|
var r = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1475
1500
|
if (r) return (r = r.call(t)).next.bind(r);
|
|
1476
|
-
if (Array.isArray(t) || (r =
|
|
1501
|
+
if (Array.isArray(t) || (r = fr(t)) || e) {
|
|
1477
1502
|
r && (t = r);
|
|
1478
1503
|
var n = 0;
|
|
1479
1504
|
return function() {
|
|
@@ -1483,7 +1508,7 @@ function cr(t, e) {
|
|
|
1483
1508
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1484
1509
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1485
1510
|
}
|
|
1486
|
-
function
|
|
1511
|
+
function fr(t, e) {
|
|
1487
1512
|
if (t) {
|
|
1488
1513
|
if (typeof t == "string") return Yt(t, e);
|
|
1489
1514
|
var r = {}.toString.call(t).slice(8, -1);
|
|
@@ -1495,15 +1520,15 @@ function Yt(t, e) {
|
|
|
1495
1520
|
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
|
|
1496
1521
|
return n;
|
|
1497
1522
|
}
|
|
1498
|
-
var
|
|
1523
|
+
var hr = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
1499
1524
|
function wt(t, e, r) {
|
|
1500
1525
|
if (e = e || {}, !(!t.country && !t.countryCallingCode)) {
|
|
1501
|
-
r = new
|
|
1526
|
+
r = new R(r), r.selectNumberingPlan(t.country, t.countryCallingCode);
|
|
1502
1527
|
var n = e.v2 ? t.nationalNumber : t.phone;
|
|
1503
1528
|
if (Y(n, r.nationalNumberPattern())) {
|
|
1504
1529
|
if (nt(n, "FIXED_LINE", r))
|
|
1505
1530
|
return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") || nt(n, "MOBILE", r) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
1506
|
-
for (var d =
|
|
1531
|
+
for (var d = ur(hr), o; !(o = d()).done; ) {
|
|
1507
1532
|
var i = o.value;
|
|
1508
1533
|
if (nt(n, i, r))
|
|
1509
1534
|
return i;
|
|
@@ -1515,37 +1540,37 @@ function nt(t, e, r) {
|
|
|
1515
1540
|
var n = r.type(e);
|
|
1516
1541
|
return !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(t.length) < 0 ? !1 : Y(t, n.pattern());
|
|
1517
1542
|
}
|
|
1518
|
-
function
|
|
1519
|
-
if (e = e || {}, r = new
|
|
1543
|
+
function pr(t, e, r) {
|
|
1544
|
+
if (e = e || {}, r = new R(r), r.selectNumberingPlan(t.country, t.countryCallingCode), r.hasTypes())
|
|
1520
1545
|
return wt(t, e, r.metadata) !== void 0;
|
|
1521
1546
|
var n = e.v2 ? t.nationalNumber : t.phone;
|
|
1522
1547
|
return Y(n, r.nationalNumberPattern());
|
|
1523
1548
|
}
|
|
1524
|
-
function
|
|
1525
|
-
var n = new
|
|
1549
|
+
function mr(t, e, r) {
|
|
1550
|
+
var n = new R(r), d = n.getCountryCodesForCallingCode(t);
|
|
1526
1551
|
return d ? d.filter(function(o) {
|
|
1527
|
-
return
|
|
1552
|
+
return yr(e, o, r);
|
|
1528
1553
|
}) : [];
|
|
1529
1554
|
}
|
|
1530
|
-
function
|
|
1531
|
-
var n = new
|
|
1555
|
+
function yr(t, e, r) {
|
|
1556
|
+
var n = new R(r);
|
|
1532
1557
|
return n.selectNumberingPlan(e), n.numberingPlan.possibleLengths().indexOf(t.length) >= 0;
|
|
1533
1558
|
}
|
|
1534
|
-
var xt = 2,
|
|
1535
|
-
function
|
|
1559
|
+
var xt = 2, gr = 17, br = 3, V = "0-90-9٠-٩۰-۹", vr = "-‐-―−ー-", Cr = "//", _r = "..", wr = " ", xr = "()()[]\\[\\]", Pr = "~⁓∼~", Ze = "".concat(vr).concat(Cr).concat(_r).concat(wr).concat(xr).concat(Pr), Pt = "++", Er = new RegExp("([" + V + "])");
|
|
1560
|
+
function Ar(t, e, r, n) {
|
|
1536
1561
|
if (e) {
|
|
1537
|
-
var d = new
|
|
1562
|
+
var d = new R(n);
|
|
1538
1563
|
d.selectNumberingPlan(e, r);
|
|
1539
1564
|
var o = new RegExp(d.IDDPrefix());
|
|
1540
1565
|
if (t.search(o) === 0) {
|
|
1541
1566
|
t = t.slice(t.match(o)[0].length);
|
|
1542
|
-
var i = t.match(
|
|
1567
|
+
var i = t.match(Er);
|
|
1543
1568
|
if (!(i && i[1] != null && i[1].length > 0 && i[1] === "0"))
|
|
1544
1569
|
return t;
|
|
1545
1570
|
}
|
|
1546
1571
|
}
|
|
1547
1572
|
}
|
|
1548
|
-
function
|
|
1573
|
+
function Sr(t, e) {
|
|
1549
1574
|
if (t && e.numberingPlan.nationalPrefixForParsing()) {
|
|
1550
1575
|
var r = new RegExp("^(?:" + e.numberingPlan.nationalPrefixForParsing() + ")"), n = r.exec(t);
|
|
1551
1576
|
if (n) {
|
|
@@ -1558,8 +1583,8 @@ function Ar(t, e) {
|
|
|
1558
1583
|
}
|
|
1559
1584
|
var l;
|
|
1560
1585
|
if (a) {
|
|
1561
|
-
var
|
|
1562
|
-
|
|
1586
|
+
var $ = t.indexOf(n[1]), c = t.slice(0, $);
|
|
1587
|
+
c === e.numberingPlan.nationalPrefix() && (l = e.numberingPlan.nationalPrefix());
|
|
1563
1588
|
} else
|
|
1564
1589
|
l = n[0];
|
|
1565
1590
|
return {
|
|
@@ -1573,10 +1598,10 @@ function Ar(t, e) {
|
|
|
1573
1598
|
nationalNumber: t
|
|
1574
1599
|
};
|
|
1575
1600
|
}
|
|
1576
|
-
function
|
|
1601
|
+
function Nr(t, e) {
|
|
1577
1602
|
var r = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1578
1603
|
if (r) return (r = r.call(t)).next.bind(r);
|
|
1579
|
-
if (Array.isArray(t) || (r =
|
|
1604
|
+
if (Array.isArray(t) || (r = kr(t)) || e) {
|
|
1580
1605
|
r && (t = r);
|
|
1581
1606
|
var n = 0;
|
|
1582
1607
|
return function() {
|
|
@@ -1586,7 +1611,7 @@ function Sr(t, e) {
|
|
|
1586
1611
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1587
1612
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1588
1613
|
}
|
|
1589
|
-
function
|
|
1614
|
+
function kr(t, e) {
|
|
1590
1615
|
if (t) {
|
|
1591
1616
|
if (typeof t == "string") return Jt(t, e);
|
|
1592
1617
|
var r = {}.toString.call(t).slice(8, -1);
|
|
@@ -1598,10 +1623,10 @@ function Jt(t, e) {
|
|
|
1598
1623
|
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
|
|
1599
1624
|
return n;
|
|
1600
1625
|
}
|
|
1601
|
-
function
|
|
1626
|
+
function Or(t, e) {
|
|
1602
1627
|
var r = e.countries, n = e.metadata;
|
|
1603
|
-
n = new
|
|
1604
|
-
for (var d =
|
|
1628
|
+
n = new R(n);
|
|
1629
|
+
for (var d = Nr(r), o; !(o = d()).done; ) {
|
|
1605
1630
|
var i = o.value;
|
|
1606
1631
|
if (n.selectNumberingPlan(i), n.leadingDigits()) {
|
|
1607
1632
|
if (t && t.search(n.leadingDigits()) === 0)
|
|
@@ -1613,25 +1638,25 @@ function kr(t, e) {
|
|
|
1613
1638
|
return i;
|
|
1614
1639
|
}
|
|
1615
1640
|
}
|
|
1616
|
-
function
|
|
1641
|
+
function H1(t, e) {
|
|
1617
1642
|
var r = e.nationalNumber, n = e.metadata, d = n.getCountryCodesForCallingCode(t);
|
|
1618
1643
|
if (d)
|
|
1619
|
-
return d.length === 1 ? d[0] :
|
|
1644
|
+
return d.length === 1 ? d[0] : Or(r, {
|
|
1620
1645
|
countries: d,
|
|
1621
1646
|
metadata: n.metadata
|
|
1622
1647
|
});
|
|
1623
1648
|
}
|
|
1624
1649
|
function st(t, e, r) {
|
|
1625
|
-
var n =
|
|
1650
|
+
var n = Sr(t, r), d = n.carrierCode, o = n.nationalNumber;
|
|
1626
1651
|
if (o !== t) {
|
|
1627
|
-
if (!
|
|
1652
|
+
if (!Rr(t, o, r))
|
|
1628
1653
|
return {
|
|
1629
1654
|
nationalNumber: t
|
|
1630
1655
|
};
|
|
1631
|
-
if (r.numberingPlan.possibleLengths() && (e || (e =
|
|
1656
|
+
if (r.numberingPlan.possibleLengths() && (e || (e = H1(r.numberingPlan.callingCode(), {
|
|
1632
1657
|
nationalNumber: o,
|
|
1633
1658
|
metadata: r
|
|
1634
|
-
})), !
|
|
1659
|
+
})), !Ir(o, e, r)))
|
|
1635
1660
|
return {
|
|
1636
1661
|
nationalNumber: t
|
|
1637
1662
|
};
|
|
@@ -1641,10 +1666,10 @@ function st(t, e, r) {
|
|
|
1641
1666
|
carrierCode: d
|
|
1642
1667
|
};
|
|
1643
1668
|
}
|
|
1644
|
-
function
|
|
1669
|
+
function Rr(t, e, r) {
|
|
1645
1670
|
return !(Y(t, r.nationalNumberPattern()) && !Y(e, r.nationalNumberPattern()));
|
|
1646
1671
|
}
|
|
1647
|
-
function
|
|
1672
|
+
function Ir(t, e, r) {
|
|
1648
1673
|
switch (_t(t, e, r)) {
|
|
1649
1674
|
case "TOO_SHORT":
|
|
1650
1675
|
case "INVALID_LENGTH":
|
|
@@ -1653,12 +1678,12 @@ function Rr(t, e, r) {
|
|
|
1653
1678
|
return !0;
|
|
1654
1679
|
}
|
|
1655
1680
|
}
|
|
1656
|
-
function
|
|
1681
|
+
function Mr(t, e, r, n, d) {
|
|
1657
1682
|
var o = r ? et(r, d) : n;
|
|
1658
1683
|
if (t.indexOf(o) === 0) {
|
|
1659
|
-
d = new
|
|
1660
|
-
var i = t.slice(o.length), a = st(i, e, d), s = a.nationalNumber, l = st(t, e, d),
|
|
1661
|
-
if (!Y(
|
|
1684
|
+
d = new R(d), d.selectNumberingPlan(r, o);
|
|
1685
|
+
var i = t.slice(o.length), a = st(i, e, d), s = a.nationalNumber, l = st(t, e, d), $ = l.nationalNumber;
|
|
1686
|
+
if (!Y($, d.nationalNumberPattern()) && Y(s, d.nationalNumberPattern()) || _t($, e, d) === "TOO_LONG")
|
|
1662
1687
|
return {
|
|
1663
1688
|
countryCallingCode: o,
|
|
1664
1689
|
number: i
|
|
@@ -1668,17 +1693,17 @@ function Ir(t, e, r, n, d) {
|
|
|
1668
1693
|
number: t
|
|
1669
1694
|
};
|
|
1670
1695
|
}
|
|
1671
|
-
function
|
|
1696
|
+
function D1(t, e, r, n, d) {
|
|
1672
1697
|
if (!t)
|
|
1673
1698
|
return {};
|
|
1674
1699
|
var o;
|
|
1675
1700
|
if (t[0] !== "+") {
|
|
1676
|
-
var i =
|
|
1701
|
+
var i = Ar(t, r, n, d);
|
|
1677
1702
|
if (i && i !== t)
|
|
1678
1703
|
o = !0, t = "+" + i;
|
|
1679
1704
|
else {
|
|
1680
1705
|
if (r || n) {
|
|
1681
|
-
var a =
|
|
1706
|
+
var a = Mr(t, e, r, n, d), s = a.countryCallingCode, l = a.number;
|
|
1682
1707
|
if (s)
|
|
1683
1708
|
return {
|
|
1684
1709
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -1695,24 +1720,24 @@ function H1(t, e, r, n, d) {
|
|
|
1695
1720
|
}
|
|
1696
1721
|
if (t[1] === "0")
|
|
1697
1722
|
return {};
|
|
1698
|
-
d = new
|
|
1699
|
-
for (var
|
|
1700
|
-
var
|
|
1701
|
-
if (d.hasCallingCode(
|
|
1702
|
-
return d.selectNumberingPlan(
|
|
1723
|
+
d = new R(d);
|
|
1724
|
+
for (var $ = 2; $ - 1 <= br && $ <= t.length; ) {
|
|
1725
|
+
var c = t.slice(1, $);
|
|
1726
|
+
if (d.hasCallingCode(c))
|
|
1727
|
+
return d.selectNumberingPlan(c), {
|
|
1703
1728
|
countryCallingCodeSource: o ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
|
|
1704
|
-
countryCallingCode:
|
|
1705
|
-
number: t.slice(
|
|
1729
|
+
countryCallingCode: c,
|
|
1730
|
+
number: t.slice($)
|
|
1706
1731
|
};
|
|
1707
|
-
|
|
1732
|
+
$++;
|
|
1708
1733
|
}
|
|
1709
1734
|
return {};
|
|
1710
1735
|
}
|
|
1711
|
-
function
|
|
1736
|
+
function Tr(t) {
|
|
1712
1737
|
return t.replace(new RegExp("[".concat(Ze, "]+"), "g"), " ").trim();
|
|
1713
1738
|
}
|
|
1714
|
-
var
|
|
1715
|
-
function
|
|
1739
|
+
var Lr = /(\$\d)/;
|
|
1740
|
+
function Fr(t, e, r) {
|
|
1716
1741
|
var n = r.useInternationalFormat, d = r.withNationalPrefix, o = t.replace(new RegExp(e.pattern()), n ? e.internationalFormat() : (
|
|
1717
1742
|
// This library doesn't use `domestic_carrier_code_formatting_rule`,
|
|
1718
1743
|
// because that one is only used when formatting phone numbers
|
|
@@ -1727,38 +1752,38 @@ function Lr(t, e, r) {
|
|
|
1727
1752
|
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
|
1728
1753
|
// : format.format()
|
|
1729
1754
|
// )
|
|
1730
|
-
d && e.nationalPrefixFormattingRule() ? e.format().replace(
|
|
1755
|
+
d && e.nationalPrefixFormattingRule() ? e.format().replace(Lr, e.nationalPrefixFormattingRule()) : e.format()
|
|
1731
1756
|
));
|
|
1732
|
-
return n ?
|
|
1757
|
+
return n ? Tr(o) : o;
|
|
1733
1758
|
}
|
|
1734
|
-
var
|
|
1759
|
+
var Hr = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
1735
1760
|
function Dr(t, e, r) {
|
|
1736
|
-
var n = new
|
|
1761
|
+
var n = new R(r);
|
|
1737
1762
|
if (n.selectNumberingPlan(t, e), n.defaultIDDPrefix())
|
|
1738
1763
|
return n.defaultIDDPrefix();
|
|
1739
|
-
if (
|
|
1764
|
+
if (Hr.test(n.IDDPrefix()))
|
|
1740
1765
|
return n.IDDPrefix();
|
|
1741
1766
|
}
|
|
1742
|
-
var
|
|
1743
|
-
return "([".concat(
|
|
1767
|
+
var Vr = ";ext=", fe = function(e) {
|
|
1768
|
+
return "([".concat(V, "]{1,").concat(e, "})");
|
|
1744
1769
|
};
|
|
1745
1770
|
function V1(t) {
|
|
1746
|
-
var e = "20", r = "15", n = "9", d = "6", o = "[ \\t,]*", i = "[:\\..]?[ \\t,-]*", a = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)",
|
|
1747
|
-
return
|
|
1771
|
+
var e = "20", r = "15", n = "9", d = "6", o = "[ \\t,]*", i = "[:\\..]?[ \\t,-]*", a = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", $ = "[- ]+", c = "[ \\t]*", u = "(?:,{2}|;)", y = Vr + fe(e), b = o + s + i + fe(e) + a, A = o + l + i + fe(n) + a, x = $ + fe(d) + "#", I = c + u + i + fe(r) + a, H = c + "(?:,)+" + i + fe(n) + a;
|
|
1772
|
+
return y + "|" + b + "|" + A + "|" + x + "|" + I + "|" + H;
|
|
1748
1773
|
}
|
|
1749
|
-
var
|
|
1750
|
-
"(?:" + V1() + ")?",
|
|
1774
|
+
var jr = "[" + V + "]{" + xt + "}", Ur = "[" + Pt + "]{0,1}(?:[" + Ze + "]*[" + V + "]){3,}[" + Ze + V + "]*", Gr = new RegExp("^[" + Pt + "]{0,1}(?:[" + Ze + "]*[" + V + "]){1,2}$", "i"), Br = Ur + // Phone number extensions
|
|
1775
|
+
"(?:" + V1() + ")?", zr = new RegExp(
|
|
1751
1776
|
// Either a short two-digit-only phone number
|
|
1752
|
-
"^" +
|
|
1777
|
+
"^" + jr + "$|^" + Br + "$",
|
|
1753
1778
|
"i"
|
|
1754
1779
|
);
|
|
1755
|
-
function zr(t) {
|
|
1756
|
-
return t.length >= xt && Br.test(t);
|
|
1757
|
-
}
|
|
1758
1780
|
function Zr(t) {
|
|
1759
|
-
return
|
|
1781
|
+
return t.length >= xt && zr.test(t);
|
|
1760
1782
|
}
|
|
1761
1783
|
function Wr(t) {
|
|
1784
|
+
return Gr.test(t);
|
|
1785
|
+
}
|
|
1786
|
+
function Kr(t) {
|
|
1762
1787
|
var e = t.number, r = t.ext;
|
|
1763
1788
|
if (!e)
|
|
1764
1789
|
return "";
|
|
@@ -1771,8 +1796,8 @@ var Qt = {
|
|
|
1771
1796
|
return "".concat(e).concat(n.ext()).concat(r);
|
|
1772
1797
|
}
|
|
1773
1798
|
};
|
|
1774
|
-
function
|
|
1775
|
-
if (r ? r =
|
|
1799
|
+
function qr(t, e, r, n) {
|
|
1800
|
+
if (r ? r = Jr({}, Qt, r) : r = Qt, n = new R(n), t.country && t.country !== "001") {
|
|
1776
1801
|
if (!n.hasCountry(t.country))
|
|
1777
1802
|
throw new Error("Unknown country: ".concat(t.country));
|
|
1778
1803
|
n.selectNumberingPlan(t.country);
|
|
@@ -1788,7 +1813,7 @@ function Kr(t, e, r, n) {
|
|
|
1788
1813
|
case "E.164":
|
|
1789
1814
|
return "+".concat(d).concat(o);
|
|
1790
1815
|
case "RFC3966":
|
|
1791
|
-
return
|
|
1816
|
+
return Kr({
|
|
1792
1817
|
number: "+".concat(d).concat(o),
|
|
1793
1818
|
ext: t.ext
|
|
1794
1819
|
});
|
|
@@ -1799,21 +1824,21 @@ function Kr(t, e, r, n) {
|
|
|
1799
1824
|
case "IDD":
|
|
1800
1825
|
if (!r.fromCountry)
|
|
1801
1826
|
return;
|
|
1802
|
-
var a =
|
|
1827
|
+
var a = Yr(o, t.carrierCode, d, r.fromCountry, n);
|
|
1803
1828
|
return a ? dt(a, t.ext, n, r.formatExtension) : void 0;
|
|
1804
1829
|
default:
|
|
1805
1830
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e, '"'));
|
|
1806
1831
|
}
|
|
1807
1832
|
}
|
|
1808
1833
|
function We(t, e, r, n, d) {
|
|
1809
|
-
var o =
|
|
1810
|
-
return o ?
|
|
1834
|
+
var o = Xr(n.formats(), t);
|
|
1835
|
+
return o ? Fr(t, o, {
|
|
1811
1836
|
useInternationalFormat: r === "INTERNATIONAL",
|
|
1812
1837
|
withNationalPrefix: !(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && d && d.nationalPrefix === !1)
|
|
1813
1838
|
}) : t;
|
|
1814
1839
|
}
|
|
1815
|
-
function
|
|
1816
|
-
return
|
|
1840
|
+
function Xr(t, e) {
|
|
1841
|
+
return Qr(t, function(r) {
|
|
1817
1842
|
if (r.leadingDigitsPatterns().length > 0) {
|
|
1818
1843
|
var n = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
|
|
1819
1844
|
if (e.search(n) !== 0)
|
|
@@ -1825,7 +1850,7 @@ function qr(t, e) {
|
|
|
1825
1850
|
function dt(t, e, r, n) {
|
|
1826
1851
|
return e ? n(t, e, r) : t;
|
|
1827
1852
|
}
|
|
1828
|
-
function
|
|
1853
|
+
function Yr(t, e, r, n, d) {
|
|
1829
1854
|
var o = et(n, d.metadata);
|
|
1830
1855
|
if (o === r) {
|
|
1831
1856
|
var i = We(t, e, "NATIONAL", d);
|
|
@@ -1835,7 +1860,7 @@ function Xr(t, e, r, n, d) {
|
|
|
1835
1860
|
if (a)
|
|
1836
1861
|
return "".concat(a, " ").concat(r, " ").concat(We(t, null, "INTERNATIONAL", d));
|
|
1837
1862
|
}
|
|
1838
|
-
function
|
|
1863
|
+
function Jr() {
|
|
1839
1864
|
for (var t = 1, e = arguments.length, r = new Array(e), n = 0; n < e; n++)
|
|
1840
1865
|
r[n] = arguments[n];
|
|
1841
1866
|
for (; t < r.length; ) {
|
|
@@ -1846,7 +1871,7 @@ function Yr() {
|
|
|
1846
1871
|
}
|
|
1847
1872
|
return r[0];
|
|
1848
1873
|
}
|
|
1849
|
-
function
|
|
1874
|
+
function Qr(t, e) {
|
|
1850
1875
|
for (var r = 0; r < t.length; ) {
|
|
1851
1876
|
if (e(t[r]))
|
|
1852
1877
|
return t[r];
|
|
@@ -1875,33 +1900,33 @@ function t1(t) {
|
|
|
1875
1900
|
for (var e = 1; e < arguments.length; e++) {
|
|
1876
1901
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
1877
1902
|
e % 2 ? e1(Object(r), !0).forEach(function(n) {
|
|
1878
|
-
|
|
1903
|
+
en(t, n, r[n]);
|
|
1879
1904
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : e1(Object(r)).forEach(function(n) {
|
|
1880
1905
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
|
1881
1906
|
});
|
|
1882
1907
|
}
|
|
1883
1908
|
return t;
|
|
1884
1909
|
}
|
|
1885
|
-
function
|
|
1910
|
+
function en(t, e, r) {
|
|
1886
1911
|
return (e = j1(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
1887
1912
|
}
|
|
1888
|
-
function
|
|
1913
|
+
function tn(t, e) {
|
|
1889
1914
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
1890
1915
|
}
|
|
1891
|
-
function
|
|
1916
|
+
function rn(t, e) {
|
|
1892
1917
|
for (var r = 0; r < e.length; r++) {
|
|
1893
1918
|
var n = e[r];
|
|
1894
1919
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, j1(n.key), n);
|
|
1895
1920
|
}
|
|
1896
1921
|
}
|
|
1897
|
-
function
|
|
1898
|
-
return e &&
|
|
1922
|
+
function nn(t, e, r) {
|
|
1923
|
+
return e && rn(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1899
1924
|
}
|
|
1900
1925
|
function j1(t) {
|
|
1901
|
-
var e =
|
|
1926
|
+
var e = dn(t, "string");
|
|
1902
1927
|
return Pe(e) == "symbol" ? e : e + "";
|
|
1903
1928
|
}
|
|
1904
|
-
function
|
|
1929
|
+
function dn(t, e) {
|
|
1905
1930
|
if (Pe(t) != "object" || !t) return t;
|
|
1906
1931
|
var r = t[Symbol.toPrimitive];
|
|
1907
1932
|
if (r !== void 0) {
|
|
@@ -1911,9 +1936,9 @@ function nn(t, e) {
|
|
|
1911
1936
|
}
|
|
1912
1937
|
return String(t);
|
|
1913
1938
|
}
|
|
1914
|
-
var
|
|
1939
|
+
var on = /* @__PURE__ */ (function() {
|
|
1915
1940
|
function t(e, r, n) {
|
|
1916
|
-
if (
|
|
1941
|
+
if (tn(this, t), !e)
|
|
1917
1942
|
throw new TypeError("First argument is required");
|
|
1918
1943
|
if (typeof e != "string")
|
|
1919
1944
|
throw new TypeError("First argument must be a string");
|
|
@@ -1922,9 +1947,9 @@ var dn = /* @__PURE__ */ (function() {
|
|
|
1922
1947
|
if (pe(r) && pe(r.countries)) {
|
|
1923
1948
|
n = r;
|
|
1924
1949
|
var d = e;
|
|
1925
|
-
if (!
|
|
1950
|
+
if (!ln.test(d))
|
|
1926
1951
|
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
1927
|
-
var o =
|
|
1952
|
+
var o = D1(d, void 0, void 0, void 0, n), i = o.countryCallingCode, a = o.number;
|
|
1928
1953
|
if (r = a, e = i, !r)
|
|
1929
1954
|
throw new Error("Invalid `number` argument passed: too short");
|
|
1930
1955
|
}
|
|
@@ -1933,12 +1958,12 @@ var dn = /* @__PURE__ */ (function() {
|
|
|
1933
1958
|
if (typeof r != "string")
|
|
1934
1959
|
throw new TypeError("`nationalNumber` argument must be a string");
|
|
1935
1960
|
T1(n);
|
|
1936
|
-
var s =
|
|
1937
|
-
this.country = l, this.countryCallingCode =
|
|
1961
|
+
var s = sn(e, n), l = s.country, $ = s.countryCallingCode;
|
|
1962
|
+
this.country = l, this.countryCallingCode = $, this.nationalNumber = r, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
1938
1963
|
return n;
|
|
1939
1964
|
};
|
|
1940
1965
|
}
|
|
1941
|
-
return
|
|
1966
|
+
return nn(t, [{
|
|
1942
1967
|
key: "setExt",
|
|
1943
1968
|
value: function(r) {
|
|
1944
1969
|
this.ext = r;
|
|
@@ -1946,26 +1971,26 @@ var dn = /* @__PURE__ */ (function() {
|
|
|
1946
1971
|
}, {
|
|
1947
1972
|
key: "getPossibleCountries",
|
|
1948
1973
|
value: function() {
|
|
1949
|
-
return this.country ? [this.country] :
|
|
1974
|
+
return this.country ? [this.country] : mr(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
1950
1975
|
}
|
|
1951
1976
|
}, {
|
|
1952
1977
|
key: "isPossible",
|
|
1953
1978
|
value: function() {
|
|
1954
|
-
return
|
|
1979
|
+
return cr(this, {
|
|
1955
1980
|
v2: !0
|
|
1956
1981
|
}, this.getMetadata());
|
|
1957
1982
|
}
|
|
1958
1983
|
}, {
|
|
1959
1984
|
key: "isValid",
|
|
1960
1985
|
value: function() {
|
|
1961
|
-
return
|
|
1986
|
+
return pr(this, {
|
|
1962
1987
|
v2: !0
|
|
1963
1988
|
}, this.getMetadata());
|
|
1964
1989
|
}
|
|
1965
1990
|
}, {
|
|
1966
1991
|
key: "isNonGeographic",
|
|
1967
1992
|
value: function() {
|
|
1968
|
-
var r = new
|
|
1993
|
+
var r = new R(this.getMetadata());
|
|
1969
1994
|
return r.isNonGeographicCallingCode(this.countryCallingCode);
|
|
1970
1995
|
}
|
|
1971
1996
|
}, {
|
|
@@ -1997,7 +2022,7 @@ var dn = /* @__PURE__ */ (function() {
|
|
|
1997
2022
|
}, {
|
|
1998
2023
|
key: "format",
|
|
1999
2024
|
value: function(r, n) {
|
|
2000
|
-
return
|
|
2025
|
+
return qr(this, r, n ? t1(t1({}, n), {}, {
|
|
2001
2026
|
v2: !0
|
|
2002
2027
|
}) : {
|
|
2003
2028
|
v2: !0
|
|
@@ -2019,17 +2044,17 @@ var dn = /* @__PURE__ */ (function() {
|
|
|
2019
2044
|
return this.format("RFC3966", r);
|
|
2020
2045
|
}
|
|
2021
2046
|
}]);
|
|
2022
|
-
})(),
|
|
2047
|
+
})(), an = function(e) {
|
|
2023
2048
|
return /^[A-Z]{2}$/.test(e);
|
|
2024
2049
|
};
|
|
2025
|
-
function
|
|
2026
|
-
var r, n, d = new
|
|
2027
|
-
return
|
|
2050
|
+
function sn(t, e) {
|
|
2051
|
+
var r, n, d = new R(e);
|
|
2052
|
+
return an(t) ? (r = t, d.selectNumberingPlan(r), n = d.countryCallingCode()) : n = t, {
|
|
2028
2053
|
country: r,
|
|
2029
2054
|
countryCallingCode: n
|
|
2030
2055
|
};
|
|
2031
2056
|
}
|
|
2032
|
-
var
|
|
2057
|
+
var ln = /^\+\d+$/;
|
|
2033
2058
|
function lt(t) {
|
|
2034
2059
|
"@babel/helpers - typeof";
|
|
2035
2060
|
return lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -2038,44 +2063,44 @@ function lt(t) {
|
|
|
2038
2063
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
2039
2064
|
}, lt(t);
|
|
2040
2065
|
}
|
|
2041
|
-
function
|
|
2066
|
+
function $n(t, e, r) {
|
|
2042
2067
|
return Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2043
2068
|
}
|
|
2044
|
-
function
|
|
2069
|
+
function cn(t, e) {
|
|
2045
2070
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
2046
2071
|
}
|
|
2047
|
-
function
|
|
2048
|
-
return e = Ae(e),
|
|
2072
|
+
function un(t, e, r) {
|
|
2073
|
+
return e = Ae(e), fn(t, Et() ? Reflect.construct(e, r || [], Ae(t).constructor) : e.apply(t, r));
|
|
2049
2074
|
}
|
|
2050
|
-
function
|
|
2075
|
+
function fn(t, e) {
|
|
2051
2076
|
if (e && (lt(e) == "object" || typeof e == "function")) return e;
|
|
2052
2077
|
if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2053
|
-
return
|
|
2078
|
+
return hn(t);
|
|
2054
2079
|
}
|
|
2055
|
-
function
|
|
2080
|
+
function hn(t) {
|
|
2056
2081
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2057
2082
|
return t;
|
|
2058
2083
|
}
|
|
2059
|
-
function
|
|
2084
|
+
function pn(t, e) {
|
|
2060
2085
|
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2061
2086
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && Ee(t, e);
|
|
2062
2087
|
}
|
|
2063
2088
|
function $t(t) {
|
|
2064
2089
|
var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
2065
2090
|
return $t = function(n) {
|
|
2066
|
-
if (n === null || !
|
|
2091
|
+
if (n === null || !yn(n)) return n;
|
|
2067
2092
|
if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
|
|
2068
2093
|
if (e !== void 0) {
|
|
2069
2094
|
if (e.has(n)) return e.get(n);
|
|
2070
2095
|
e.set(n, d);
|
|
2071
2096
|
}
|
|
2072
2097
|
function d() {
|
|
2073
|
-
return
|
|
2098
|
+
return mn(n, arguments, Ae(this).constructor);
|
|
2074
2099
|
}
|
|
2075
2100
|
return d.prototype = Object.create(n.prototype, { constructor: { value: d, enumerable: !1, writable: !0, configurable: !0 } }), Ee(d, n);
|
|
2076
2101
|
}, $t(t);
|
|
2077
2102
|
}
|
|
2078
|
-
function
|
|
2103
|
+
function mn(t, e, r) {
|
|
2079
2104
|
if (Et()) return Reflect.construct.apply(null, arguments);
|
|
2080
2105
|
var n = [null];
|
|
2081
2106
|
n.push.apply(n, e);
|
|
@@ -2092,7 +2117,7 @@ function Et() {
|
|
|
2092
2117
|
return !!t;
|
|
2093
2118
|
})();
|
|
2094
2119
|
}
|
|
2095
|
-
function
|
|
2120
|
+
function yn(t) {
|
|
2096
2121
|
try {
|
|
2097
2122
|
return Function.toString.call(t).indexOf("[native code]") !== -1;
|
|
2098
2123
|
} catch {
|
|
@@ -2112,11 +2137,11 @@ function Ae(t) {
|
|
|
2112
2137
|
var X = /* @__PURE__ */ (function(t) {
|
|
2113
2138
|
function e(r) {
|
|
2114
2139
|
var n;
|
|
2115
|
-
return
|
|
2140
|
+
return cn(this, e), n = un(this, e, [r]), Object.setPrototypeOf(n, e.prototype), n.name = n.constructor.name, n;
|
|
2116
2141
|
}
|
|
2117
|
-
return
|
|
2142
|
+
return pn(e, t), $n(e);
|
|
2118
2143
|
})(/* @__PURE__ */ $t(Error)), r1 = new RegExp("(?:" + V1() + ")$", "i");
|
|
2119
|
-
function
|
|
2144
|
+
function gn(t) {
|
|
2120
2145
|
var e = t.search(r1);
|
|
2121
2146
|
if (e < 0)
|
|
2122
2147
|
return {};
|
|
@@ -2129,7 +2154,7 @@ function yn(t) {
|
|
|
2129
2154
|
d++;
|
|
2130
2155
|
}
|
|
2131
2156
|
}
|
|
2132
|
-
var
|
|
2157
|
+
var bn = {
|
|
2133
2158
|
0: "0",
|
|
2134
2159
|
1: "1",
|
|
2135
2160
|
2: "2",
|
|
@@ -2201,13 +2226,13 @@ var gn = {
|
|
|
2201
2226
|
"۹": "9"
|
|
2202
2227
|
// Eastern-Arabic digit 9
|
|
2203
2228
|
};
|
|
2204
|
-
function
|
|
2205
|
-
return
|
|
2229
|
+
function vn(t) {
|
|
2230
|
+
return bn[t];
|
|
2206
2231
|
}
|
|
2207
|
-
function
|
|
2232
|
+
function Cn(t, e) {
|
|
2208
2233
|
var r = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2209
2234
|
if (r) return (r = r.call(t)).next.bind(r);
|
|
2210
|
-
if (Array.isArray(t) || (r =
|
|
2235
|
+
if (Array.isArray(t) || (r = _n(t)) || e) {
|
|
2211
2236
|
r && (t = r);
|
|
2212
2237
|
var n = 0;
|
|
2213
2238
|
return function() {
|
|
@@ -2217,7 +2242,7 @@ function vn(t, e) {
|
|
|
2217
2242
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2218
2243
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2219
2244
|
}
|
|
2220
|
-
function
|
|
2245
|
+
function _n(t, e) {
|
|
2221
2246
|
if (t) {
|
|
2222
2247
|
if (typeof t == "string") return n1(t, e);
|
|
2223
2248
|
var r = {}.toString.call(t).slice(8, -1);
|
|
@@ -2230,17 +2255,17 @@ function n1(t, e) {
|
|
|
2230
2255
|
return n;
|
|
2231
2256
|
}
|
|
2232
2257
|
function d1(t) {
|
|
2233
|
-
for (var e = "", r =
|
|
2258
|
+
for (var e = "", r = Cn(t.split("")), n; !(n = r()).done; ) {
|
|
2234
2259
|
var d = n.value;
|
|
2235
|
-
e +=
|
|
2260
|
+
e += wn(d, e) || "";
|
|
2236
2261
|
}
|
|
2237
2262
|
return e;
|
|
2238
2263
|
}
|
|
2239
|
-
function
|
|
2240
|
-
return t === "+" ? e ? void 0 : "+" :
|
|
2264
|
+
function wn(t, e, r) {
|
|
2265
|
+
return t === "+" ? e ? void 0 : "+" : vn(t);
|
|
2241
2266
|
}
|
|
2242
|
-
var U1 = "+",
|
|
2243
|
-
function
|
|
2267
|
+
var U1 = "+", xn = "[\\-\\.\\(\\)]?", o1 = "([" + V + "]|" + xn + ")", Pn = "^\\" + U1 + o1 + "*[" + V + "]" + o1 + "*$", En = new RegExp(Pn, "g"), ct = V, An = "[" + ct + "]+((\\-)*[" + ct + "])*", Sn = "a-zA-Z", Nn = "[" + Sn + "]+((\\-)*[" + ct + "])*", kn = "^(" + An + "\\.)*" + Nn + "\\.?$", On = new RegExp(kn, "g"), i1 = "tel:", ut = ";phone-context=", Rn = ";isub=";
|
|
2268
|
+
function In(t) {
|
|
2244
2269
|
var e = t.indexOf(ut);
|
|
2245
2270
|
if (e < 0)
|
|
2246
2271
|
return null;
|
|
@@ -2250,12 +2275,12 @@ function Rn(t) {
|
|
|
2250
2275
|
var n = t.indexOf(";", r);
|
|
2251
2276
|
return n >= 0 ? t.substring(r, n) : t.substring(r);
|
|
2252
2277
|
}
|
|
2253
|
-
function
|
|
2254
|
-
return t === null ? !0 : t.length === 0 ? !1 :
|
|
2278
|
+
function Mn(t) {
|
|
2279
|
+
return t === null ? !0 : t.length === 0 ? !1 : En.test(t) || On.test(t);
|
|
2255
2280
|
}
|
|
2256
|
-
function
|
|
2257
|
-
var r = e.extractFormattedPhoneNumber, n =
|
|
2258
|
-
if (!
|
|
2281
|
+
function Tn(t, e) {
|
|
2282
|
+
var r = e.extractFormattedPhoneNumber, n = In(t);
|
|
2283
|
+
if (!Mn(n))
|
|
2259
2284
|
throw new X("NOT_A_NUMBER");
|
|
2260
2285
|
var d;
|
|
2261
2286
|
if (n === null)
|
|
@@ -2267,21 +2292,21 @@ function Mn(t, e) {
|
|
|
2267
2292
|
var a = t.indexOf(ut);
|
|
2268
2293
|
d += t.substring(i, a);
|
|
2269
2294
|
}
|
|
2270
|
-
var s = d.indexOf(
|
|
2295
|
+
var s = d.indexOf(Rn);
|
|
2271
2296
|
if (s > 0 && (d = d.substring(0, s)), d !== "")
|
|
2272
2297
|
return d;
|
|
2273
2298
|
}
|
|
2274
|
-
var
|
|
2299
|
+
var Ln = 250, Fn = new RegExp("[" + Pt + V + "]"), Hn = new RegExp("[^" + V + "#]+$");
|
|
2275
2300
|
function Dn(t, e, r) {
|
|
2276
|
-
if (e = e || {}, r = new
|
|
2301
|
+
if (e = e || {}, r = new R(r), e.defaultCountry && !r.hasCountry(e.defaultCountry))
|
|
2277
2302
|
throw e.v2 ? new X("INVALID_COUNTRY") : new Error("Unknown country: ".concat(e.defaultCountry));
|
|
2278
|
-
var n =
|
|
2303
|
+
var n = jn(t, e.v2, e.extract), d = n.number, o = n.ext, i = n.error;
|
|
2279
2304
|
if (!d) {
|
|
2280
2305
|
if (e.v2)
|
|
2281
2306
|
throw i === "TOO_SHORT" ? new X("TOO_SHORT") : new X("NOT_A_NUMBER");
|
|
2282
2307
|
return {};
|
|
2283
2308
|
}
|
|
2284
|
-
var a =
|
|
2309
|
+
var a = Gn(d, e.defaultCountry, e.defaultCallingCode, r), s = a.country, l = a.nationalNumber, $ = a.countryCallingCode, c = a.countryCallingCodeSource, u = a.carrierCode;
|
|
2285
2310
|
if (!r.hasSelectedNumberingPlan()) {
|
|
2286
2311
|
if (e.v2)
|
|
2287
2312
|
throw new X("INVALID_COUNTRY");
|
|
@@ -2292,66 +2317,66 @@ function Dn(t, e, r) {
|
|
|
2292
2317
|
throw new X("TOO_SHORT");
|
|
2293
2318
|
return {};
|
|
2294
2319
|
}
|
|
2295
|
-
if (l.length >
|
|
2320
|
+
if (l.length > gr) {
|
|
2296
2321
|
if (e.v2)
|
|
2297
2322
|
throw new X("TOO_LONG");
|
|
2298
2323
|
return {};
|
|
2299
2324
|
}
|
|
2300
2325
|
if (e.v2) {
|
|
2301
|
-
var
|
|
2302
|
-
return s && (
|
|
2326
|
+
var y = new on($, l, r.metadata);
|
|
2327
|
+
return s && (y.country = s), u && (y.carrierCode = u), o && (y.ext = o), y.__countryCallingCodeSource = c, y;
|
|
2303
2328
|
}
|
|
2304
2329
|
var b = (e.extended ? r.hasSelectedNumberingPlan() : s) ? Y(l, r.nationalNumberPattern()) : !1;
|
|
2305
2330
|
return e.extended ? {
|
|
2306
2331
|
country: s,
|
|
2307
|
-
countryCallingCode:
|
|
2332
|
+
countryCallingCode: $,
|
|
2308
2333
|
carrierCode: u,
|
|
2309
2334
|
valid: b,
|
|
2310
2335
|
possible: b ? !0 : !!(e.extended === !0 && r.possibleLengths() && F1(l, s, r)),
|
|
2311
2336
|
phone: l,
|
|
2312
2337
|
ext: o
|
|
2313
|
-
} : b ?
|
|
2338
|
+
} : b ? Un(s, l, o) : {};
|
|
2314
2339
|
}
|
|
2315
|
-
function
|
|
2340
|
+
function Vn(t, e, r) {
|
|
2316
2341
|
if (t) {
|
|
2317
|
-
if (t.length >
|
|
2342
|
+
if (t.length > Ln) {
|
|
2318
2343
|
if (r)
|
|
2319
2344
|
throw new X("TOO_LONG");
|
|
2320
2345
|
return;
|
|
2321
2346
|
}
|
|
2322
2347
|
if (e === !1)
|
|
2323
2348
|
return t;
|
|
2324
|
-
var n = t.search(
|
|
2349
|
+
var n = t.search(Fn);
|
|
2325
2350
|
if (!(n < 0))
|
|
2326
|
-
return t.slice(n).replace(
|
|
2351
|
+
return t.slice(n).replace(Hn, "");
|
|
2327
2352
|
}
|
|
2328
2353
|
}
|
|
2329
|
-
function
|
|
2330
|
-
var n =
|
|
2354
|
+
function jn(t, e, r) {
|
|
2355
|
+
var n = Tn(t, {
|
|
2331
2356
|
extractFormattedPhoneNumber: function(i) {
|
|
2332
|
-
return
|
|
2357
|
+
return Vn(i, r, e);
|
|
2333
2358
|
}
|
|
2334
2359
|
});
|
|
2335
2360
|
if (!n)
|
|
2336
2361
|
return {};
|
|
2337
|
-
if (!
|
|
2338
|
-
return
|
|
2362
|
+
if (!Zr(n))
|
|
2363
|
+
return Wr(n) ? {
|
|
2339
2364
|
error: "TOO_SHORT"
|
|
2340
2365
|
} : {};
|
|
2341
|
-
var d =
|
|
2366
|
+
var d = gn(n);
|
|
2342
2367
|
return d.ext ? d : {
|
|
2343
2368
|
number: n
|
|
2344
2369
|
};
|
|
2345
2370
|
}
|
|
2346
|
-
function
|
|
2371
|
+
function Un(t, e, r) {
|
|
2347
2372
|
var n = {
|
|
2348
2373
|
country: t,
|
|
2349
2374
|
phone: e
|
|
2350
2375
|
};
|
|
2351
2376
|
return r && (n.ext = r), n;
|
|
2352
2377
|
}
|
|
2353
|
-
function
|
|
2354
|
-
var d =
|
|
2378
|
+
function Gn(t, e, r, n) {
|
|
2379
|
+
var d = D1(d1(t), void 0, e, r, n.metadata), o = d.countryCallingCodeSource, i = d.countryCallingCode, a = d.number, s;
|
|
2355
2380
|
if (i)
|
|
2356
2381
|
n.selectNumberingPlan(i);
|
|
2357
2382
|
else if (a && (e || r))
|
|
@@ -2362,16 +2387,16 @@ function Un(t, e, r, n) {
|
|
|
2362
2387
|
countryCallingCodeSource: o,
|
|
2363
2388
|
countryCallingCode: i
|
|
2364
2389
|
};
|
|
2365
|
-
var l = st(d1(a), s, n),
|
|
2366
|
-
nationalNumber:
|
|
2390
|
+
var l = st(d1(a), s, n), $ = l.nationalNumber, c = l.carrierCode, u = H1(i, {
|
|
2391
|
+
nationalNumber: $,
|
|
2367
2392
|
metadata: n
|
|
2368
2393
|
});
|
|
2369
2394
|
return u && (s = u, u === "001" || n.selectNumberingPlan(s)), {
|
|
2370
2395
|
country: s,
|
|
2371
2396
|
countryCallingCode: i,
|
|
2372
2397
|
countryCallingCodeSource: o,
|
|
2373
|
-
nationalNumber:
|
|
2374
|
-
carrierCode:
|
|
2398
|
+
nationalNumber: $,
|
|
2399
|
+
carrierCode: c
|
|
2375
2400
|
};
|
|
2376
2401
|
}
|
|
2377
2402
|
function Se(t) {
|
|
@@ -2396,21 +2421,21 @@ function s1(t) {
|
|
|
2396
2421
|
for (var e = 1; e < arguments.length; e++) {
|
|
2397
2422
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
2398
2423
|
e % 2 ? a1(Object(r), !0).forEach(function(n) {
|
|
2399
|
-
|
|
2424
|
+
Bn(t, n, r[n]);
|
|
2400
2425
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : a1(Object(r)).forEach(function(n) {
|
|
2401
2426
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2402
2427
|
});
|
|
2403
2428
|
}
|
|
2404
2429
|
return t;
|
|
2405
2430
|
}
|
|
2406
|
-
function
|
|
2407
|
-
return (e =
|
|
2431
|
+
function Bn(t, e, r) {
|
|
2432
|
+
return (e = zn(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
2408
2433
|
}
|
|
2409
|
-
function
|
|
2410
|
-
var e =
|
|
2434
|
+
function zn(t) {
|
|
2435
|
+
var e = Zn(t, "string");
|
|
2411
2436
|
return Se(e) == "symbol" ? e : e + "";
|
|
2412
2437
|
}
|
|
2413
|
-
function
|
|
2438
|
+
function Zn(t, e) {
|
|
2414
2439
|
if (Se(t) != "object" || !t) return t;
|
|
2415
2440
|
var r = t[Symbol.toPrimitive];
|
|
2416
2441
|
if (r !== void 0) {
|
|
@@ -2420,7 +2445,7 @@ function zn(t, e) {
|
|
|
2420
2445
|
}
|
|
2421
2446
|
return (e === "string" ? String : Number)(t);
|
|
2422
2447
|
}
|
|
2423
|
-
function
|
|
2448
|
+
function Wn(t, e, r) {
|
|
2424
2449
|
return Dn(t, s1(s1({}, e), {}, {
|
|
2425
2450
|
v2: !0
|
|
2426
2451
|
}), r);
|
|
@@ -2443,25 +2468,25 @@ function l1(t, e) {
|
|
|
2443
2468
|
}
|
|
2444
2469
|
return r;
|
|
2445
2470
|
}
|
|
2446
|
-
function
|
|
2471
|
+
function Kn(t) {
|
|
2447
2472
|
for (var e = 1; e < arguments.length; e++) {
|
|
2448
2473
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
2449
2474
|
e % 2 ? l1(Object(r), !0).forEach(function(n) {
|
|
2450
|
-
|
|
2475
|
+
qn(t, n, r[n]);
|
|
2451
2476
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : l1(Object(r)).forEach(function(n) {
|
|
2452
2477
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2453
2478
|
});
|
|
2454
2479
|
}
|
|
2455
2480
|
return t;
|
|
2456
2481
|
}
|
|
2457
|
-
function
|
|
2458
|
-
return (e =
|
|
2482
|
+
function qn(t, e, r) {
|
|
2483
|
+
return (e = Xn(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
2459
2484
|
}
|
|
2460
|
-
function
|
|
2461
|
-
var e =
|
|
2485
|
+
function Xn(t) {
|
|
2486
|
+
var e = Yn(t, "string");
|
|
2462
2487
|
return Ne(e) == "symbol" ? e : e + "";
|
|
2463
2488
|
}
|
|
2464
|
-
function
|
|
2489
|
+
function Yn(t, e) {
|
|
2465
2490
|
if (Ne(t) != "object" || !t) return t;
|
|
2466
2491
|
var r = t[Symbol.toPrimitive];
|
|
2467
2492
|
if (r !== void 0) {
|
|
@@ -2471,14 +2496,14 @@ function Xn(t, e) {
|
|
|
2471
2496
|
}
|
|
2472
2497
|
return (e === "string" ? String : Number)(t);
|
|
2473
2498
|
}
|
|
2474
|
-
function
|
|
2475
|
-
return
|
|
2499
|
+
function Jn(t, e) {
|
|
2500
|
+
return r0(t) || t0(t, e) || e0(t, e) || Qn();
|
|
2476
2501
|
}
|
|
2477
|
-
function
|
|
2502
|
+
function Qn() {
|
|
2478
2503
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2479
2504
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2480
2505
|
}
|
|
2481
|
-
function
|
|
2506
|
+
function e0(t, e) {
|
|
2482
2507
|
if (t) {
|
|
2483
2508
|
if (typeof t == "string") return $1(t, e);
|
|
2484
2509
|
var r = {}.toString.call(t).slice(8, -1);
|
|
@@ -2490,14 +2515,14 @@ function $1(t, e) {
|
|
|
2490
2515
|
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
|
|
2491
2516
|
return n;
|
|
2492
2517
|
}
|
|
2493
|
-
function
|
|
2518
|
+
function t0(t, e) {
|
|
2494
2519
|
var r = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2495
2520
|
if (r != null) {
|
|
2496
2521
|
var n, d, o, i, a = [], s = !0, l = !1;
|
|
2497
2522
|
try {
|
|
2498
2523
|
if (o = (r = r.call(t)).next, e !== 0) for (; !(s = (n = o.call(r)).done) && (a.push(n.value), a.length !== e); s = !0) ;
|
|
2499
|
-
} catch (
|
|
2500
|
-
l = !0, d =
|
|
2524
|
+
} catch ($) {
|
|
2525
|
+
l = !0, d = $;
|
|
2501
2526
|
} finally {
|
|
2502
2527
|
try {
|
|
2503
2528
|
if (!s && r.return != null && (i = r.return(), Object(i) !== i)) return;
|
|
@@ -2508,16 +2533,16 @@ function e0(t, e) {
|
|
|
2508
2533
|
return a;
|
|
2509
2534
|
}
|
|
2510
2535
|
}
|
|
2511
|
-
function
|
|
2536
|
+
function r0(t) {
|
|
2512
2537
|
if (Array.isArray(t)) return t;
|
|
2513
2538
|
}
|
|
2514
|
-
function
|
|
2515
|
-
var e = Array.prototype.slice.call(t), r =
|
|
2539
|
+
function n0(t) {
|
|
2540
|
+
var e = Array.prototype.slice.call(t), r = Jn(e, 4), n = r[0], d = r[1], o = r[2], i = r[3], a, s, l;
|
|
2516
2541
|
if (typeof n == "string")
|
|
2517
2542
|
a = n;
|
|
2518
2543
|
else throw new TypeError("A text for parsing must be a string.");
|
|
2519
2544
|
if (!d || typeof d == "string")
|
|
2520
|
-
i ? (s = o, l = i) : (s = void 0, l = o), d && (s =
|
|
2545
|
+
i ? (s = o, l = i) : (s = void 0, l = o), d && (s = Kn({
|
|
2521
2546
|
defaultCountry: d
|
|
2522
2547
|
}, s));
|
|
2523
2548
|
else if (pe(d))
|
|
@@ -2551,21 +2576,21 @@ function u1(t) {
|
|
|
2551
2576
|
for (var e = 1; e < arguments.length; e++) {
|
|
2552
2577
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
2553
2578
|
e % 2 ? c1(Object(r), !0).forEach(function(n) {
|
|
2554
|
-
|
|
2579
|
+
d0(t, n, r[n]);
|
|
2555
2580
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : c1(Object(r)).forEach(function(n) {
|
|
2556
2581
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2557
2582
|
});
|
|
2558
2583
|
}
|
|
2559
2584
|
return t;
|
|
2560
2585
|
}
|
|
2561
|
-
function
|
|
2562
|
-
return (e =
|
|
2586
|
+
function d0(t, e, r) {
|
|
2587
|
+
return (e = o0(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
2563
2588
|
}
|
|
2564
|
-
function
|
|
2565
|
-
var e =
|
|
2589
|
+
function o0(t) {
|
|
2590
|
+
var e = i0(t, "string");
|
|
2566
2591
|
return ke(e) == "symbol" ? e : e + "";
|
|
2567
2592
|
}
|
|
2568
|
-
function
|
|
2593
|
+
function i0(t, e) {
|
|
2569
2594
|
if (ke(t) != "object" || !t) return t;
|
|
2570
2595
|
var r = t[Symbol.toPrimitive];
|
|
2571
2596
|
if (r !== void 0) {
|
|
@@ -2575,48 +2600,48 @@ function o0(t, e) {
|
|
|
2575
2600
|
}
|
|
2576
2601
|
return (e === "string" ? String : Number)(t);
|
|
2577
2602
|
}
|
|
2578
|
-
function
|
|
2579
|
-
e && e.defaultCountry && !
|
|
2603
|
+
function a0(t, e, r) {
|
|
2604
|
+
e && e.defaultCountry && !lr(e.defaultCountry, r) && (e = u1(u1({}, e), {}, {
|
|
2580
2605
|
defaultCountry: void 0
|
|
2581
2606
|
}));
|
|
2582
2607
|
try {
|
|
2583
|
-
return
|
|
2608
|
+
return Wn(t, e, r);
|
|
2584
2609
|
} catch (n) {
|
|
2585
2610
|
if (!(n instanceof X)) throw n;
|
|
2586
2611
|
}
|
|
2587
2612
|
}
|
|
2588
|
-
function
|
|
2589
|
-
var t =
|
|
2590
|
-
return
|
|
2613
|
+
function s0() {
|
|
2614
|
+
var t = n0(arguments), e = t.text, r = t.options, n = t.metadata;
|
|
2615
|
+
return a0(e, r, n);
|
|
2591
2616
|
}
|
|
2592
|
-
function
|
|
2593
|
-
return new
|
|
2617
|
+
function l0(t) {
|
|
2618
|
+
return new R(t).getCountries();
|
|
2594
2619
|
}
|
|
2595
2620
|
function G1() {
|
|
2596
|
-
return
|
|
2621
|
+
return Y2(s0, arguments);
|
|
2597
2622
|
}
|
|
2598
2623
|
function f1(t) {
|
|
2599
2624
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t);
|
|
2600
2625
|
}
|
|
2601
|
-
function
|
|
2626
|
+
function $0(t, e) {
|
|
2602
2627
|
const r = G1(e, t);
|
|
2603
2628
|
return r ? r?.formatNational() : e;
|
|
2604
2629
|
}
|
|
2605
2630
|
function h1(t, e) {
|
|
2606
2631
|
return G1(e, t)?.isValid() ?? !1;
|
|
2607
2632
|
}
|
|
2608
|
-
const
|
|
2609
|
-
function
|
|
2633
|
+
const c0 = l0(Ct);
|
|
2634
|
+
function u0(t) {
|
|
2610
2635
|
return t.toUpperCase().replace(/./g, (e) => String.fromCodePoint(127397 + e.charCodeAt(0)));
|
|
2611
2636
|
}
|
|
2612
2637
|
const p1 = ["FR"], B1 = [
|
|
2613
2638
|
...p1,
|
|
2614
|
-
|
|
2639
|
+
...c0.filter((t) => !p1.includes(t))
|
|
2615
2640
|
].map((t) => ({
|
|
2616
2641
|
code: t,
|
|
2617
2642
|
dial: "+" + et(t, Ct),
|
|
2618
|
-
flag:
|
|
2619
|
-
})),
|
|
2643
|
+
flag: u0(t)
|
|
2644
|
+
})), f0 = B1.find((t) => t.code === "FR"), m1 = {
|
|
2620
2645
|
fr: {
|
|
2621
2646
|
title: "Terminal de paiement",
|
|
2622
2647
|
amount: "Montant",
|
|
@@ -2636,8 +2661,7 @@ const p1 = ["FR"], B1 = [
|
|
|
2636
2661
|
close: "Fermer",
|
|
2637
2662
|
textMessage: "SMS",
|
|
2638
2663
|
email: "Email",
|
|
2639
|
-
errorFallback: "Une erreur s'est produite lors du chargement du composant de paiement."
|
|
2640
|
-
submitError: "Une erreur est survenue lors de l'envoi du lien de paiement."
|
|
2664
|
+
errorFallback: "Une erreur s'est produite lors du chargement du composant de paiement."
|
|
2641
2665
|
},
|
|
2642
2666
|
en: {
|
|
2643
2667
|
title: "Payment terminal",
|
|
@@ -2658,8 +2682,7 @@ const p1 = ["FR"], B1 = [
|
|
|
2658
2682
|
close: "Close",
|
|
2659
2683
|
textMessage: "SMS",
|
|
2660
2684
|
email: "Email",
|
|
2661
|
-
errorFallback: "Something went wrong while loading the payment component."
|
|
2662
|
-
submitError: "An error occurred while sending the payment link."
|
|
2685
|
+
errorFallback: "Something went wrong while loading the payment component."
|
|
2663
2686
|
}
|
|
2664
2687
|
}, ot = (t) => m1[t] ?? m1.fr;
|
|
2665
2688
|
function z1(t) {
|
|
@@ -2679,61 +2702,61 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2679
2702
|
var n;
|
|
2680
2703
|
if (e?.variants == null) return g1(t, r?.class, r?.className);
|
|
2681
2704
|
const { variants: d, defaultVariants: o } = e, i = Object.keys(d).map((l) => {
|
|
2682
|
-
const
|
|
2683
|
-
if (
|
|
2684
|
-
const u = y1(
|
|
2705
|
+
const $ = r?.[l], c = o?.[l];
|
|
2706
|
+
if ($ === null) return null;
|
|
2707
|
+
const u = y1($) || y1(c);
|
|
2685
2708
|
return d[l][u];
|
|
2686
|
-
}), a = r && Object.entries(r).reduce((l,
|
|
2687
|
-
let [
|
|
2688
|
-
return u === void 0 || (l[
|
|
2689
|
-
}, {}), s = e == null || (n = e.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((l,
|
|
2690
|
-
let { class:
|
|
2691
|
-
return Object.entries(
|
|
2692
|
-
let [
|
|
2709
|
+
}), a = r && Object.entries(r).reduce((l, $) => {
|
|
2710
|
+
let [c, u] = $;
|
|
2711
|
+
return u === void 0 || (l[c] = u), l;
|
|
2712
|
+
}, {}), s = e == null || (n = e.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((l, $) => {
|
|
2713
|
+
let { class: c, className: u, ...y } = $;
|
|
2714
|
+
return Object.entries(y).every((b) => {
|
|
2715
|
+
let [A, x] = b;
|
|
2693
2716
|
return Array.isArray(x) ? x.includes({
|
|
2694
2717
|
...o,
|
|
2695
2718
|
...a
|
|
2696
|
-
}[
|
|
2719
|
+
}[A]) : {
|
|
2697
2720
|
...o,
|
|
2698
2721
|
...a
|
|
2699
|
-
}[
|
|
2722
|
+
}[A] === x;
|
|
2700
2723
|
}) ? [
|
|
2701
2724
|
...l,
|
|
2702
|
-
|
|
2725
|
+
c,
|
|
2703
2726
|
u
|
|
2704
2727
|
] : l;
|
|
2705
2728
|
}, []);
|
|
2706
2729
|
return g1(t, i, s, r?.class, r?.className);
|
|
2707
|
-
},
|
|
2730
|
+
}, h0 = (t, e) => {
|
|
2708
2731
|
const r = new Array(t.length + e.length);
|
|
2709
2732
|
for (let n = 0; n < t.length; n++)
|
|
2710
2733
|
r[n] = t[n];
|
|
2711
2734
|
for (let n = 0; n < e.length; n++)
|
|
2712
2735
|
r[t.length + n] = e[n];
|
|
2713
2736
|
return r;
|
|
2714
|
-
},
|
|
2737
|
+
}, p0 = (t, e) => ({
|
|
2715
2738
|
classGroupId: t,
|
|
2716
2739
|
validator: e
|
|
2717
2740
|
}), W1 = (t = /* @__PURE__ */ new Map(), e = null, r) => ({
|
|
2718
2741
|
nextPart: t,
|
|
2719
2742
|
validators: e,
|
|
2720
2743
|
classGroupId: r
|
|
2721
|
-
}), Ke = "-", b1 = [],
|
|
2722
|
-
const e =
|
|
2744
|
+
}), Ke = "-", b1 = [], m0 = "arbitrary..", y0 = (t) => {
|
|
2745
|
+
const e = b0(t), {
|
|
2723
2746
|
conflictingClassGroups: r,
|
|
2724
2747
|
conflictingClassGroupModifiers: n
|
|
2725
2748
|
} = t;
|
|
2726
2749
|
return {
|
|
2727
2750
|
getClassGroupId: (i) => {
|
|
2728
2751
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
2729
|
-
return
|
|
2752
|
+
return g0(i);
|
|
2730
2753
|
const a = i.split(Ke), s = a[0] === "" && a.length > 1 ? 1 : 0;
|
|
2731
2754
|
return K1(a, s, e);
|
|
2732
2755
|
},
|
|
2733
2756
|
getConflictingClassGroupIds: (i, a) => {
|
|
2734
2757
|
if (a) {
|
|
2735
2758
|
const s = n[i], l = r[i];
|
|
2736
|
-
return s ? l ?
|
|
2759
|
+
return s ? l ? h0(l, s) : s : l || b1;
|
|
2737
2760
|
}
|
|
2738
2761
|
return r[i] || b1;
|
|
2739
2762
|
}
|
|
@@ -2751,20 +2774,20 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2751
2774
|
return;
|
|
2752
2775
|
const a = e === 0 ? t.join(Ke) : t.slice(e).join(Ke), s = i.length;
|
|
2753
2776
|
for (let l = 0; l < s; l++) {
|
|
2754
|
-
const
|
|
2755
|
-
if (
|
|
2756
|
-
return
|
|
2777
|
+
const $ = i[l];
|
|
2778
|
+
if ($.validator(a))
|
|
2779
|
+
return $.classGroupId;
|
|
2757
2780
|
}
|
|
2758
|
-
},
|
|
2781
|
+
}, g0 = (t) => t.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
2759
2782
|
const e = t.slice(1, -1), r = e.indexOf(":"), n = e.slice(0, r);
|
|
2760
|
-
return n ?
|
|
2761
|
-
})(),
|
|
2783
|
+
return n ? m0 + n : void 0;
|
|
2784
|
+
})(), b0 = (t) => {
|
|
2762
2785
|
const {
|
|
2763
2786
|
theme: e,
|
|
2764
2787
|
classGroups: r
|
|
2765
2788
|
} = t;
|
|
2766
|
-
return
|
|
2767
|
-
},
|
|
2789
|
+
return v0(r, e);
|
|
2790
|
+
}, v0 = (t, e) => {
|
|
2768
2791
|
const r = W1();
|
|
2769
2792
|
for (const n in t) {
|
|
2770
2793
|
const d = t[n];
|
|
@@ -2775,28 +2798,28 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2775
2798
|
const d = t.length;
|
|
2776
2799
|
for (let o = 0; o < d; o++) {
|
|
2777
2800
|
const i = t[o];
|
|
2778
|
-
|
|
2801
|
+
C0(i, e, r, n);
|
|
2779
2802
|
}
|
|
2780
|
-
},
|
|
2803
|
+
}, C0 = (t, e, r, n) => {
|
|
2781
2804
|
if (typeof t == "string") {
|
|
2782
|
-
|
|
2805
|
+
_0(t, e, r);
|
|
2783
2806
|
return;
|
|
2784
2807
|
}
|
|
2785
2808
|
if (typeof t == "function") {
|
|
2786
|
-
|
|
2809
|
+
w0(t, e, r, n);
|
|
2787
2810
|
return;
|
|
2788
2811
|
}
|
|
2789
|
-
|
|
2790
|
-
},
|
|
2812
|
+
x0(t, e, r, n);
|
|
2813
|
+
}, _0 = (t, e, r) => {
|
|
2791
2814
|
const n = t === "" ? e : q1(e, t);
|
|
2792
2815
|
n.classGroupId = r;
|
|
2793
|
-
},
|
|
2794
|
-
if (
|
|
2816
|
+
}, w0 = (t, e, r, n) => {
|
|
2817
|
+
if (P0(t)) {
|
|
2795
2818
|
At(t(n), e, r, n);
|
|
2796
2819
|
return;
|
|
2797
2820
|
}
|
|
2798
|
-
e.validators === null && (e.validators = []), e.validators.push(
|
|
2799
|
-
},
|
|
2821
|
+
e.validators === null && (e.validators = []), e.validators.push(p0(r, t));
|
|
2822
|
+
}, x0 = (t, e, r, n) => {
|
|
2800
2823
|
const d = Object.entries(t), o = d.length;
|
|
2801
2824
|
for (let i = 0; i < o; i++) {
|
|
2802
2825
|
const [a, s] = d[i];
|
|
@@ -2811,7 +2834,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2811
2834
|
a || (a = W1(), r.nextPart.set(i, a)), r = a;
|
|
2812
2835
|
}
|
|
2813
2836
|
return r;
|
|
2814
|
-
},
|
|
2837
|
+
}, P0 = (t) => "isThemeGetter" in t && t.isThemeGetter === !0, E0 = (t) => {
|
|
2815
2838
|
if (t < 1)
|
|
2816
2839
|
return {
|
|
2817
2840
|
get: () => {
|
|
@@ -2835,13 +2858,13 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2835
2858
|
o in r ? r[o] = i : d(o, i);
|
|
2836
2859
|
}
|
|
2837
2860
|
};
|
|
2838
|
-
}, ft = "!", v1 = ":",
|
|
2861
|
+
}, ft = "!", v1 = ":", A0 = [], C1 = (t, e, r, n, d) => ({
|
|
2839
2862
|
modifiers: t,
|
|
2840
2863
|
hasImportantModifier: e,
|
|
2841
2864
|
baseClassName: r,
|
|
2842
2865
|
maybePostfixModifierPosition: n,
|
|
2843
2866
|
isExternal: d
|
|
2844
|
-
}),
|
|
2867
|
+
}), S0 = (t) => {
|
|
2845
2868
|
const {
|
|
2846
2869
|
prefix: e,
|
|
2847
2870
|
experimentalParseClassName: r
|
|
@@ -2849,36 +2872,36 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2849
2872
|
let n = (d) => {
|
|
2850
2873
|
const o = [];
|
|
2851
2874
|
let i = 0, a = 0, s = 0, l;
|
|
2852
|
-
const
|
|
2853
|
-
for (let
|
|
2854
|
-
const x = d[
|
|
2875
|
+
const $ = d.length;
|
|
2876
|
+
for (let A = 0; A < $; A++) {
|
|
2877
|
+
const x = d[A];
|
|
2855
2878
|
if (i === 0 && a === 0) {
|
|
2856
2879
|
if (x === v1) {
|
|
2857
|
-
o.push(d.slice(s,
|
|
2880
|
+
o.push(d.slice(s, A)), s = A + 1;
|
|
2858
2881
|
continue;
|
|
2859
2882
|
}
|
|
2860
2883
|
if (x === "/") {
|
|
2861
|
-
l =
|
|
2884
|
+
l = A;
|
|
2862
2885
|
continue;
|
|
2863
2886
|
}
|
|
2864
2887
|
}
|
|
2865
2888
|
x === "[" ? i++ : x === "]" ? i-- : x === "(" ? a++ : x === ")" && a--;
|
|
2866
2889
|
}
|
|
2867
|
-
const
|
|
2868
|
-
let u =
|
|
2869
|
-
|
|
2890
|
+
const c = o.length === 0 ? d : d.slice(s);
|
|
2891
|
+
let u = c, y = !1;
|
|
2892
|
+
c.endsWith(ft) ? (u = c.slice(0, -1), y = !0) : (
|
|
2870
2893
|
/**
|
|
2871
2894
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
2872
2895
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
2873
2896
|
*/
|
|
2874
|
-
|
|
2897
|
+
c.startsWith(ft) && (u = c.slice(1), y = !0)
|
|
2875
2898
|
);
|
|
2876
2899
|
const b = l && l > s ? l - s : void 0;
|
|
2877
|
-
return C1(o,
|
|
2900
|
+
return C1(o, y, u, b);
|
|
2878
2901
|
};
|
|
2879
2902
|
if (e) {
|
|
2880
2903
|
const d = e + v1, o = n;
|
|
2881
|
-
n = (i) => i.startsWith(d) ? o(i.slice(d.length)) : C1(
|
|
2904
|
+
n = (i) => i.startsWith(d) ? o(i.slice(d.length)) : C1(A0, !1, i, void 0, !0);
|
|
2882
2905
|
}
|
|
2883
2906
|
if (r) {
|
|
2884
2907
|
const d = n;
|
|
@@ -2888,7 +2911,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2888
2911
|
});
|
|
2889
2912
|
}
|
|
2890
2913
|
return n;
|
|
2891
|
-
},
|
|
2914
|
+
}, N0 = (t) => {
|
|
2892
2915
|
const e = /* @__PURE__ */ new Map();
|
|
2893
2916
|
return t.orderSensitiveModifiers.forEach((r, n) => {
|
|
2894
2917
|
e.set(r, 1e6 + n);
|
|
@@ -2901,56 +2924,56 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2901
2924
|
}
|
|
2902
2925
|
return d.length > 0 && (d.sort(), n.push(...d)), n;
|
|
2903
2926
|
};
|
|
2904
|
-
},
|
|
2905
|
-
cache:
|
|
2906
|
-
parseClassName:
|
|
2907
|
-
sortModifiers:
|
|
2908
|
-
...
|
|
2909
|
-
}),
|
|
2927
|
+
}, k0 = (t) => ({
|
|
2928
|
+
cache: E0(t.cacheSize),
|
|
2929
|
+
parseClassName: S0(t),
|
|
2930
|
+
sortModifiers: N0(t),
|
|
2931
|
+
...y0(t)
|
|
2932
|
+
}), O0 = /\s+/, R0 = (t, e) => {
|
|
2910
2933
|
const {
|
|
2911
2934
|
parseClassName: r,
|
|
2912
2935
|
getClassGroupId: n,
|
|
2913
2936
|
getConflictingClassGroupIds: d,
|
|
2914
2937
|
sortModifiers: o
|
|
2915
|
-
} = e, i = [], a = t.trim().split(
|
|
2938
|
+
} = e, i = [], a = t.trim().split(O0);
|
|
2916
2939
|
let s = "";
|
|
2917
2940
|
for (let l = a.length - 1; l >= 0; l -= 1) {
|
|
2918
|
-
const
|
|
2919
|
-
isExternal:
|
|
2941
|
+
const $ = a[l], {
|
|
2942
|
+
isExternal: c,
|
|
2920
2943
|
modifiers: u,
|
|
2921
|
-
hasImportantModifier:
|
|
2944
|
+
hasImportantModifier: y,
|
|
2922
2945
|
baseClassName: b,
|
|
2923
|
-
maybePostfixModifierPosition:
|
|
2924
|
-
} = r(
|
|
2925
|
-
if (
|
|
2926
|
-
s =
|
|
2946
|
+
maybePostfixModifierPosition: A
|
|
2947
|
+
} = r($);
|
|
2948
|
+
if (c) {
|
|
2949
|
+
s = $ + (s.length > 0 ? " " + s : s);
|
|
2927
2950
|
continue;
|
|
2928
2951
|
}
|
|
2929
|
-
let x = !!
|
|
2930
|
-
if (!
|
|
2952
|
+
let x = !!A, I = n(x ? b.substring(0, A) : b);
|
|
2953
|
+
if (!I) {
|
|
2931
2954
|
if (!x) {
|
|
2932
|
-
s =
|
|
2955
|
+
s = $ + (s.length > 0 ? " " + s : s);
|
|
2933
2956
|
continue;
|
|
2934
2957
|
}
|
|
2935
|
-
if (
|
|
2936
|
-
s =
|
|
2958
|
+
if (I = n(b), !I) {
|
|
2959
|
+
s = $ + (s.length > 0 ? " " + s : s);
|
|
2937
2960
|
continue;
|
|
2938
2961
|
}
|
|
2939
2962
|
x = !1;
|
|
2940
2963
|
}
|
|
2941
|
-
const
|
|
2942
|
-
if (i.indexOf(
|
|
2964
|
+
const H = u.length === 0 ? "" : u.length === 1 ? u[0] : o(u).join(":"), U = y ? H + ft : H, B = U + I;
|
|
2965
|
+
if (i.indexOf(B) > -1)
|
|
2943
2966
|
continue;
|
|
2944
|
-
i.push(
|
|
2945
|
-
const
|
|
2946
|
-
for (let
|
|
2947
|
-
const W =
|
|
2948
|
-
i.push(
|
|
2967
|
+
i.push(B);
|
|
2968
|
+
const z = d(I, x);
|
|
2969
|
+
for (let Z = 0; Z < z.length; ++Z) {
|
|
2970
|
+
const W = z[Z];
|
|
2971
|
+
i.push(U + W);
|
|
2949
2972
|
}
|
|
2950
|
-
s =
|
|
2973
|
+
s = $ + (s.length > 0 ? " " + s : s);
|
|
2951
2974
|
}
|
|
2952
2975
|
return s;
|
|
2953
|
-
},
|
|
2976
|
+
}, I0 = (...t) => {
|
|
2954
2977
|
let e = 0, r, n, d = "";
|
|
2955
2978
|
for (; e < t.length; )
|
|
2956
2979
|
(r = t[e++]) && (n = X1(r)) && (d && (d += " "), d += n);
|
|
@@ -2962,35 +2985,35 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
2962
2985
|
for (let n = 0; n < t.length; n++)
|
|
2963
2986
|
t[n] && (e = X1(t[n])) && (r && (r += " "), r += e);
|
|
2964
2987
|
return r;
|
|
2965
|
-
},
|
|
2988
|
+
}, M0 = (t, ...e) => {
|
|
2966
2989
|
let r, n, d, o;
|
|
2967
2990
|
const i = (s) => {
|
|
2968
|
-
const l = e.reduce((c
|
|
2969
|
-
return r =
|
|
2991
|
+
const l = e.reduce(($, c) => c($), t());
|
|
2992
|
+
return r = k0(l), n = r.cache.get, d = r.cache.set, o = a, a(s);
|
|
2970
2993
|
}, a = (s) => {
|
|
2971
2994
|
const l = n(s);
|
|
2972
2995
|
if (l)
|
|
2973
2996
|
return l;
|
|
2974
|
-
const
|
|
2975
|
-
return d(s,
|
|
2997
|
+
const $ = R0(s, r);
|
|
2998
|
+
return d(s, $), $;
|
|
2976
2999
|
};
|
|
2977
|
-
return o = i, (...s) => o(
|
|
2978
|
-
},
|
|
2979
|
-
const e = (r) => r[t] ||
|
|
3000
|
+
return o = i, (...s) => o(I0(...s));
|
|
3001
|
+
}, T0 = [], N = (t) => {
|
|
3002
|
+
const e = (r) => r[t] || T0;
|
|
2980
3003
|
return e.isThemeGetter = !0, e;
|
|
2981
|
-
}, Y1 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, J1 = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
3004
|
+
}, Y1 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, J1 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, L0 = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, F0 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, H0 = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, D0 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, V0 = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, j0 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (t) => L0.test(t), g = (t) => !!t && !Number.isNaN(Number(t)), ee = (t) => !!t && Number.isInteger(Number(t)), it = (t) => t.endsWith("%") && g(t.slice(0, -1)), q = (t) => F0.test(t), Q1 = () => !0, U0 = (t) => (
|
|
2982
3005
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
2983
3006
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
2984
3007
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
2985
|
-
|
|
2986
|
-
), St = () => !1,
|
|
3008
|
+
H0.test(t) && !D0.test(t)
|
|
3009
|
+
), St = () => !1, G0 = (t) => V0.test(t), B0 = (t) => j0.test(t), z0 = (t) => !h(t) && !p(t), Z0 = (t) => re(t, r2, St), h = (t) => Y1.test(t), ie = (t) => re(t, n2, U0), _1 = (t) => re(t, ed, g), W0 = (t) => re(t, o2, Q1), K0 = (t) => re(t, d2, St), w1 = (t) => re(t, e2, St), q0 = (t) => re(t, t2, B0), De = (t) => re(t, i2, G0), p = (t) => J1.test(t), be = (t) => $e(t, n2), X0 = (t) => $e(t, d2), x1 = (t) => $e(t, e2), Y0 = (t) => $e(t, r2), J0 = (t) => $e(t, t2), Ve = (t) => $e(t, i2, !0), Q0 = (t) => $e(t, o2, !0), re = (t, e, r) => {
|
|
2987
3010
|
const n = Y1.exec(t);
|
|
2988
3011
|
return n ? n[1] ? e(n[1]) : r(n[2]) : !1;
|
|
2989
3012
|
}, $e = (t, e, r = !1) => {
|
|
2990
3013
|
const n = J1.exec(t);
|
|
2991
3014
|
return n ? n[1] ? e(n[1]) : r : !1;
|
|
2992
|
-
}, e2 = (t) => t === "position" || t === "percentage", t2 = (t) => t === "image" || t === "url", r2 = (t) => t === "length" || t === "size" || t === "bg-size", n2 = (t) => t === "length",
|
|
2993
|
-
const t =
|
|
3015
|
+
}, e2 = (t) => t === "position" || t === "percentage", t2 = (t) => t === "image" || t === "url", r2 = (t) => t === "length" || t === "size" || t === "bg-size", n2 = (t) => t === "length", ed = (t) => t === "number", d2 = (t) => t === "family-name", o2 = (t) => t === "number" || t === "weight", i2 = (t) => t === "shadow", td = () => {
|
|
3016
|
+
const t = N("color"), e = N("font"), r = N("text"), n = N("font-weight"), d = N("tracking"), o = N("leading"), i = N("breakpoint"), a = N("container"), s = N("spacing"), l = N("radius"), $ = N("shadow"), c = N("inset-shadow"), u = N("text-shadow"), y = N("drop-shadow"), b = N("blur"), A = N("perspective"), x = N("aspect"), I = N("ease"), H = N("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [
|
|
2994
3017
|
"center",
|
|
2995
3018
|
"top",
|
|
2996
3019
|
"bottom",
|
|
@@ -3008,13 +3031,13 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3008
3031
|
"bottom-left",
|
|
3009
3032
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
3010
3033
|
"left-bottom"
|
|
3011
|
-
],
|
|
3034
|
+
], z = () => [...B(), p, h], Z = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], m = () => [p, h, s], O = () => [Q, "full", "auto", ...m()], ce = () => [ee, "none", "subgrid", p, h], Ie = () => ["auto", {
|
|
3012
3035
|
span: ["full", ee, p, h]
|
|
3013
|
-
}, ee, p, h],
|
|
3036
|
+
}, ee, p, h], L = () => [ee, "auto", p, h], Me = () => ["auto", "min", "max", "fr", p, h], J = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], D = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...m()], v = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], ue = () => [Q, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...m()], ne = () => [Q, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...m()], f = () => [t, p, h], P = () => [...B(), x1, w1, {
|
|
3014
3037
|
position: [p, h]
|
|
3015
|
-
}],
|
|
3038
|
+
}], G = () => ["no-repeat", {
|
|
3016
3039
|
repeat: ["", "x", "y", "space", "round"]
|
|
3017
|
-
}], de = () => ["auto", "cover", "contain",
|
|
3040
|
+
}], de = () => ["auto", "cover", "contain", Y0, Z0, {
|
|
3018
3041
|
size: [p, h]
|
|
3019
3042
|
}], K = () => [it, be, ie], M = () => [
|
|
3020
3043
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -3024,14 +3047,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3024
3047
|
l,
|
|
3025
3048
|
p,
|
|
3026
3049
|
h
|
|
3027
|
-
], T = () => ["",
|
|
3050
|
+
], T = () => ["", g, be, ie], Te = () => ["solid", "dashed", "dotted", "double"], Nt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], k = () => [g, it, x1, w1], kt = () => [
|
|
3028
3051
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3029
3052
|
"",
|
|
3030
3053
|
"none",
|
|
3031
3054
|
b,
|
|
3032
3055
|
p,
|
|
3033
3056
|
h
|
|
3034
|
-
], Le = () => ["none",
|
|
3057
|
+
], Le = () => ["none", g, p, h], Fe = () => ["none", g, p, h], tt = () => [g, p, h], He = () => [Q, "full", ...m()];
|
|
3035
3058
|
return {
|
|
3036
3059
|
cacheSize: 500,
|
|
3037
3060
|
theme: {
|
|
@@ -3043,14 +3066,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3043
3066
|
container: [q],
|
|
3044
3067
|
"drop-shadow": [q],
|
|
3045
3068
|
ease: ["in", "out", "in-out"],
|
|
3046
|
-
font: [
|
|
3069
|
+
font: [z0],
|
|
3047
3070
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
3048
3071
|
"inset-shadow": [q],
|
|
3049
3072
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
3050
3073
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
3051
3074
|
radius: [q],
|
|
3052
3075
|
shadow: [q],
|
|
3053
|
-
spacing: ["px",
|
|
3076
|
+
spacing: ["px", g],
|
|
3054
3077
|
text: [q],
|
|
3055
3078
|
"text-shadow": [q],
|
|
3056
3079
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -3077,21 +3100,21 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3077
3100
|
* @see https://tailwindcss.com/docs/columns
|
|
3078
3101
|
*/
|
|
3079
3102
|
columns: [{
|
|
3080
|
-
columns: [
|
|
3103
|
+
columns: [g, h, p, a]
|
|
3081
3104
|
}],
|
|
3082
3105
|
/**
|
|
3083
3106
|
* Break After
|
|
3084
3107
|
* @see https://tailwindcss.com/docs/break-after
|
|
3085
3108
|
*/
|
|
3086
3109
|
"break-after": [{
|
|
3087
|
-
"break-after":
|
|
3110
|
+
"break-after": U()
|
|
3088
3111
|
}],
|
|
3089
3112
|
/**
|
|
3090
3113
|
* Break Before
|
|
3091
3114
|
* @see https://tailwindcss.com/docs/break-before
|
|
3092
3115
|
*/
|
|
3093
3116
|
"break-before": [{
|
|
3094
|
-
"break-before":
|
|
3117
|
+
"break-before": U()
|
|
3095
3118
|
}],
|
|
3096
3119
|
/**
|
|
3097
3120
|
* Break Inside
|
|
@@ -3155,28 +3178,28 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3155
3178
|
* @see https://tailwindcss.com/docs/object-position
|
|
3156
3179
|
*/
|
|
3157
3180
|
"object-position": [{
|
|
3158
|
-
object:
|
|
3181
|
+
object: z()
|
|
3159
3182
|
}],
|
|
3160
3183
|
/**
|
|
3161
3184
|
* Overflow
|
|
3162
3185
|
* @see https://tailwindcss.com/docs/overflow
|
|
3163
3186
|
*/
|
|
3164
3187
|
overflow: [{
|
|
3165
|
-
overflow:
|
|
3188
|
+
overflow: Z()
|
|
3166
3189
|
}],
|
|
3167
3190
|
/**
|
|
3168
3191
|
* Overflow X
|
|
3169
3192
|
* @see https://tailwindcss.com/docs/overflow
|
|
3170
3193
|
*/
|
|
3171
3194
|
"overflow-x": [{
|
|
3172
|
-
"overflow-x":
|
|
3195
|
+
"overflow-x": Z()
|
|
3173
3196
|
}],
|
|
3174
3197
|
/**
|
|
3175
3198
|
* Overflow Y
|
|
3176
3199
|
* @see https://tailwindcss.com/docs/overflow
|
|
3177
3200
|
*/
|
|
3178
3201
|
"overflow-y": [{
|
|
3179
|
-
"overflow-y":
|
|
3202
|
+
"overflow-y": Z()
|
|
3180
3203
|
}],
|
|
3181
3204
|
/**
|
|
3182
3205
|
* Overscroll Behavior
|
|
@@ -3209,21 +3232,21 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3209
3232
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3210
3233
|
*/
|
|
3211
3234
|
inset: [{
|
|
3212
|
-
inset:
|
|
3235
|
+
inset: O()
|
|
3213
3236
|
}],
|
|
3214
3237
|
/**
|
|
3215
3238
|
* Inset Inline
|
|
3216
3239
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3217
3240
|
*/
|
|
3218
3241
|
"inset-x": [{
|
|
3219
|
-
"inset-x":
|
|
3242
|
+
"inset-x": O()
|
|
3220
3243
|
}],
|
|
3221
3244
|
/**
|
|
3222
3245
|
* Inset Block
|
|
3223
3246
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3224
3247
|
*/
|
|
3225
3248
|
"inset-y": [{
|
|
3226
|
-
"inset-y":
|
|
3249
|
+
"inset-y": O()
|
|
3227
3250
|
}],
|
|
3228
3251
|
/**
|
|
3229
3252
|
* Inset Inline Start
|
|
@@ -3231,12 +3254,12 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3231
3254
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
3232
3255
|
*/
|
|
3233
3256
|
start: [{
|
|
3234
|
-
"inset-s":
|
|
3257
|
+
"inset-s": O(),
|
|
3235
3258
|
/**
|
|
3236
3259
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
3237
3260
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
3238
3261
|
*/
|
|
3239
|
-
start:
|
|
3262
|
+
start: O()
|
|
3240
3263
|
}],
|
|
3241
3264
|
/**
|
|
3242
3265
|
* Inset Inline End
|
|
@@ -3244,54 +3267,54 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3244
3267
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
3245
3268
|
*/
|
|
3246
3269
|
end: [{
|
|
3247
|
-
"inset-e":
|
|
3270
|
+
"inset-e": O(),
|
|
3248
3271
|
/**
|
|
3249
3272
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
3250
3273
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
3251
3274
|
*/
|
|
3252
|
-
end:
|
|
3275
|
+
end: O()
|
|
3253
3276
|
}],
|
|
3254
3277
|
/**
|
|
3255
3278
|
* Inset Block Start
|
|
3256
3279
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3257
3280
|
*/
|
|
3258
3281
|
"inset-bs": [{
|
|
3259
|
-
"inset-bs":
|
|
3282
|
+
"inset-bs": O()
|
|
3260
3283
|
}],
|
|
3261
3284
|
/**
|
|
3262
3285
|
* Inset Block End
|
|
3263
3286
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3264
3287
|
*/
|
|
3265
3288
|
"inset-be": [{
|
|
3266
|
-
"inset-be":
|
|
3289
|
+
"inset-be": O()
|
|
3267
3290
|
}],
|
|
3268
3291
|
/**
|
|
3269
3292
|
* Top
|
|
3270
3293
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3271
3294
|
*/
|
|
3272
3295
|
top: [{
|
|
3273
|
-
top:
|
|
3296
|
+
top: O()
|
|
3274
3297
|
}],
|
|
3275
3298
|
/**
|
|
3276
3299
|
* Right
|
|
3277
3300
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3278
3301
|
*/
|
|
3279
3302
|
right: [{
|
|
3280
|
-
right:
|
|
3303
|
+
right: O()
|
|
3281
3304
|
}],
|
|
3282
3305
|
/**
|
|
3283
3306
|
* Bottom
|
|
3284
3307
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3285
3308
|
*/
|
|
3286
3309
|
bottom: [{
|
|
3287
|
-
bottom:
|
|
3310
|
+
bottom: O()
|
|
3288
3311
|
}],
|
|
3289
3312
|
/**
|
|
3290
3313
|
* Left
|
|
3291
3314
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
3292
3315
|
*/
|
|
3293
3316
|
left: [{
|
|
3294
|
-
left:
|
|
3317
|
+
left: O()
|
|
3295
3318
|
}],
|
|
3296
3319
|
/**
|
|
3297
3320
|
* Visibility
|
|
@@ -3334,21 +3357,21 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3334
3357
|
* @see https://tailwindcss.com/docs/flex
|
|
3335
3358
|
*/
|
|
3336
3359
|
flex: [{
|
|
3337
|
-
flex: [
|
|
3360
|
+
flex: [g, Q, "auto", "initial", "none", h]
|
|
3338
3361
|
}],
|
|
3339
3362
|
/**
|
|
3340
3363
|
* Flex Grow
|
|
3341
3364
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
3342
3365
|
*/
|
|
3343
3366
|
grow: [{
|
|
3344
|
-
grow: ["",
|
|
3367
|
+
grow: ["", g, p, h]
|
|
3345
3368
|
}],
|
|
3346
3369
|
/**
|
|
3347
3370
|
* Flex Shrink
|
|
3348
3371
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
3349
3372
|
*/
|
|
3350
3373
|
shrink: [{
|
|
3351
|
-
shrink: ["",
|
|
3374
|
+
shrink: ["", g, p, h]
|
|
3352
3375
|
}],
|
|
3353
3376
|
/**
|
|
3354
3377
|
* Order
|
|
@@ -3376,14 +3399,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3376
3399
|
* @see https://tailwindcss.com/docs/grid-column
|
|
3377
3400
|
*/
|
|
3378
3401
|
"col-start": [{
|
|
3379
|
-
"col-start":
|
|
3402
|
+
"col-start": L()
|
|
3380
3403
|
}],
|
|
3381
3404
|
/**
|
|
3382
3405
|
* Grid Column End
|
|
3383
3406
|
* @see https://tailwindcss.com/docs/grid-column
|
|
3384
3407
|
*/
|
|
3385
3408
|
"col-end": [{
|
|
3386
|
-
"col-end":
|
|
3409
|
+
"col-end": L()
|
|
3387
3410
|
}],
|
|
3388
3411
|
/**
|
|
3389
3412
|
* Grid Template Rows
|
|
@@ -3404,14 +3427,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3404
3427
|
* @see https://tailwindcss.com/docs/grid-row
|
|
3405
3428
|
*/
|
|
3406
3429
|
"row-start": [{
|
|
3407
|
-
"row-start":
|
|
3430
|
+
"row-start": L()
|
|
3408
3431
|
}],
|
|
3409
3432
|
/**
|
|
3410
3433
|
* Grid Row End
|
|
3411
3434
|
* @see https://tailwindcss.com/docs/grid-row
|
|
3412
3435
|
*/
|
|
3413
3436
|
"row-end": [{
|
|
3414
|
-
"row-end":
|
|
3437
|
+
"row-end": L()
|
|
3415
3438
|
}],
|
|
3416
3439
|
/**
|
|
3417
3440
|
* Grid Auto Flow
|
|
@@ -3467,14 +3490,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3467
3490
|
* @see https://tailwindcss.com/docs/justify-items
|
|
3468
3491
|
*/
|
|
3469
3492
|
"justify-items": [{
|
|
3470
|
-
"justify-items": [...
|
|
3493
|
+
"justify-items": [...D(), "normal"]
|
|
3471
3494
|
}],
|
|
3472
3495
|
/**
|
|
3473
3496
|
* Justify Self
|
|
3474
3497
|
* @see https://tailwindcss.com/docs/justify-self
|
|
3475
3498
|
*/
|
|
3476
3499
|
"justify-self": [{
|
|
3477
|
-
"justify-self": ["auto", ...
|
|
3500
|
+
"justify-self": ["auto", ...D()]
|
|
3478
3501
|
}],
|
|
3479
3502
|
/**
|
|
3480
3503
|
* Align Content
|
|
@@ -3488,7 +3511,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3488
3511
|
* @see https://tailwindcss.com/docs/align-items
|
|
3489
3512
|
*/
|
|
3490
3513
|
"align-items": [{
|
|
3491
|
-
items: [...
|
|
3514
|
+
items: [...D(), {
|
|
3492
3515
|
baseline: ["", "last"]
|
|
3493
3516
|
}]
|
|
3494
3517
|
}],
|
|
@@ -3497,7 +3520,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3497
3520
|
* @see https://tailwindcss.com/docs/align-self
|
|
3498
3521
|
*/
|
|
3499
3522
|
"align-self": [{
|
|
3500
|
-
self: ["auto", ...
|
|
3523
|
+
self: ["auto", ...D(), {
|
|
3501
3524
|
baseline: ["", "last"]
|
|
3502
3525
|
}]
|
|
3503
3526
|
}],
|
|
@@ -3513,14 +3536,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3513
3536
|
* @see https://tailwindcss.com/docs/place-items
|
|
3514
3537
|
*/
|
|
3515
3538
|
"place-items": [{
|
|
3516
|
-
"place-items": [...
|
|
3539
|
+
"place-items": [...D(), "baseline"]
|
|
3517
3540
|
}],
|
|
3518
3541
|
/**
|
|
3519
3542
|
* Place Self
|
|
3520
3543
|
* @see https://tailwindcss.com/docs/place-self
|
|
3521
3544
|
*/
|
|
3522
3545
|
"place-self": [{
|
|
3523
|
-
"place-self": ["auto", ...
|
|
3546
|
+
"place-self": ["auto", ...D()]
|
|
3524
3547
|
}],
|
|
3525
3548
|
// Spacing
|
|
3526
3549
|
/**
|
|
@@ -3605,77 +3628,77 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3605
3628
|
* @see https://tailwindcss.com/docs/margin
|
|
3606
3629
|
*/
|
|
3607
3630
|
m: [{
|
|
3608
|
-
m:
|
|
3631
|
+
m: S()
|
|
3609
3632
|
}],
|
|
3610
3633
|
/**
|
|
3611
3634
|
* Margin Inline
|
|
3612
3635
|
* @see https://tailwindcss.com/docs/margin
|
|
3613
3636
|
*/
|
|
3614
3637
|
mx: [{
|
|
3615
|
-
mx:
|
|
3638
|
+
mx: S()
|
|
3616
3639
|
}],
|
|
3617
3640
|
/**
|
|
3618
3641
|
* Margin Block
|
|
3619
3642
|
* @see https://tailwindcss.com/docs/margin
|
|
3620
3643
|
*/
|
|
3621
3644
|
my: [{
|
|
3622
|
-
my:
|
|
3645
|
+
my: S()
|
|
3623
3646
|
}],
|
|
3624
3647
|
/**
|
|
3625
3648
|
* Margin Inline Start
|
|
3626
3649
|
* @see https://tailwindcss.com/docs/margin
|
|
3627
3650
|
*/
|
|
3628
3651
|
ms: [{
|
|
3629
|
-
ms:
|
|
3652
|
+
ms: S()
|
|
3630
3653
|
}],
|
|
3631
3654
|
/**
|
|
3632
3655
|
* Margin Inline End
|
|
3633
3656
|
* @see https://tailwindcss.com/docs/margin
|
|
3634
3657
|
*/
|
|
3635
3658
|
me: [{
|
|
3636
|
-
me:
|
|
3659
|
+
me: S()
|
|
3637
3660
|
}],
|
|
3638
3661
|
/**
|
|
3639
3662
|
* Margin Block Start
|
|
3640
3663
|
* @see https://tailwindcss.com/docs/margin
|
|
3641
3664
|
*/
|
|
3642
3665
|
mbs: [{
|
|
3643
|
-
mbs:
|
|
3666
|
+
mbs: S()
|
|
3644
3667
|
}],
|
|
3645
3668
|
/**
|
|
3646
3669
|
* Margin Block End
|
|
3647
3670
|
* @see https://tailwindcss.com/docs/margin
|
|
3648
3671
|
*/
|
|
3649
3672
|
mbe: [{
|
|
3650
|
-
mbe:
|
|
3673
|
+
mbe: S()
|
|
3651
3674
|
}],
|
|
3652
3675
|
/**
|
|
3653
3676
|
* Margin Top
|
|
3654
3677
|
* @see https://tailwindcss.com/docs/margin
|
|
3655
3678
|
*/
|
|
3656
3679
|
mt: [{
|
|
3657
|
-
mt:
|
|
3680
|
+
mt: S()
|
|
3658
3681
|
}],
|
|
3659
3682
|
/**
|
|
3660
3683
|
* Margin Right
|
|
3661
3684
|
* @see https://tailwindcss.com/docs/margin
|
|
3662
3685
|
*/
|
|
3663
3686
|
mr: [{
|
|
3664
|
-
mr:
|
|
3687
|
+
mr: S()
|
|
3665
3688
|
}],
|
|
3666
3689
|
/**
|
|
3667
3690
|
* Margin Bottom
|
|
3668
3691
|
* @see https://tailwindcss.com/docs/margin
|
|
3669
3692
|
*/
|
|
3670
3693
|
mb: [{
|
|
3671
|
-
mb:
|
|
3694
|
+
mb: S()
|
|
3672
3695
|
}],
|
|
3673
3696
|
/**
|
|
3674
3697
|
* Margin Left
|
|
3675
3698
|
* @see https://tailwindcss.com/docs/margin
|
|
3676
3699
|
*/
|
|
3677
3700
|
ml: [{
|
|
3678
|
-
ml:
|
|
3701
|
+
ml: S()
|
|
3679
3702
|
}],
|
|
3680
3703
|
/**
|
|
3681
3704
|
* Space Between X
|
|
@@ -3709,7 +3732,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3709
3732
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
3710
3733
|
*/
|
|
3711
3734
|
size: [{
|
|
3712
|
-
size:
|
|
3735
|
+
size: v()
|
|
3713
3736
|
}],
|
|
3714
3737
|
/**
|
|
3715
3738
|
* Inline Size
|
|
@@ -3758,7 +3781,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3758
3781
|
* @see https://tailwindcss.com/docs/width
|
|
3759
3782
|
*/
|
|
3760
3783
|
w: [{
|
|
3761
|
-
w: [a, "screen", ...
|
|
3784
|
+
w: [a, "screen", ...v()]
|
|
3762
3785
|
}],
|
|
3763
3786
|
/**
|
|
3764
3787
|
* Min-Width
|
|
@@ -3770,7 +3793,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3770
3793
|
"screen",
|
|
3771
3794
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
3772
3795
|
"none",
|
|
3773
|
-
...
|
|
3796
|
+
...v()
|
|
3774
3797
|
]
|
|
3775
3798
|
}],
|
|
3776
3799
|
/**
|
|
@@ -3788,7 +3811,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3788
3811
|
{
|
|
3789
3812
|
screen: [i]
|
|
3790
3813
|
},
|
|
3791
|
-
...
|
|
3814
|
+
...v()
|
|
3792
3815
|
]
|
|
3793
3816
|
}],
|
|
3794
3817
|
/**
|
|
@@ -3796,21 +3819,21 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3796
3819
|
* @see https://tailwindcss.com/docs/height
|
|
3797
3820
|
*/
|
|
3798
3821
|
h: [{
|
|
3799
|
-
h: ["screen", "lh", ...
|
|
3822
|
+
h: ["screen", "lh", ...v()]
|
|
3800
3823
|
}],
|
|
3801
3824
|
/**
|
|
3802
3825
|
* Min-Height
|
|
3803
3826
|
* @see https://tailwindcss.com/docs/min-height
|
|
3804
3827
|
*/
|
|
3805
3828
|
"min-h": [{
|
|
3806
|
-
"min-h": ["screen", "lh", "none", ...
|
|
3829
|
+
"min-h": ["screen", "lh", "none", ...v()]
|
|
3807
3830
|
}],
|
|
3808
3831
|
/**
|
|
3809
3832
|
* Max-Height
|
|
3810
3833
|
* @see https://tailwindcss.com/docs/max-height
|
|
3811
3834
|
*/
|
|
3812
3835
|
"max-h": [{
|
|
3813
|
-
"max-h": ["screen", "lh", ...
|
|
3836
|
+
"max-h": ["screen", "lh", ...v()]
|
|
3814
3837
|
}],
|
|
3815
3838
|
// ------------------
|
|
3816
3839
|
// --- Typography ---
|
|
@@ -3837,7 +3860,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3837
3860
|
* @see https://tailwindcss.com/docs/font-weight
|
|
3838
3861
|
*/
|
|
3839
3862
|
"font-weight": [{
|
|
3840
|
-
font: [n,
|
|
3863
|
+
font: [n, Q0, W0]
|
|
3841
3864
|
}],
|
|
3842
3865
|
/**
|
|
3843
3866
|
* Font Stretch
|
|
@@ -3851,7 +3874,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3851
3874
|
* @see https://tailwindcss.com/docs/font-family
|
|
3852
3875
|
*/
|
|
3853
3876
|
"font-family": [{
|
|
3854
|
-
font: [
|
|
3877
|
+
font: [X0, K0, e]
|
|
3855
3878
|
}],
|
|
3856
3879
|
/**
|
|
3857
3880
|
* Font Feature Settings
|
|
@@ -3902,7 +3925,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3902
3925
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
3903
3926
|
*/
|
|
3904
3927
|
"line-clamp": [{
|
|
3905
|
-
"line-clamp": [
|
|
3928
|
+
"line-clamp": [g, "none", p, _1]
|
|
3906
3929
|
}],
|
|
3907
3930
|
/**
|
|
3908
3931
|
* Line Height
|
|
@@ -3975,7 +3998,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3975
3998
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
3976
3999
|
*/
|
|
3977
4000
|
"text-decoration-thickness": [{
|
|
3978
|
-
decoration: [
|
|
4001
|
+
decoration: [g, "from-font", "auto", p, ie]
|
|
3979
4002
|
}],
|
|
3980
4003
|
/**
|
|
3981
4004
|
* Text Decoration Color
|
|
@@ -3989,7 +4012,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
3989
4012
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
3990
4013
|
*/
|
|
3991
4014
|
"underline-offset": [{
|
|
3992
|
-
"underline-offset": [
|
|
4015
|
+
"underline-offset": [g, "auto", p, h]
|
|
3993
4016
|
}],
|
|
3994
4017
|
/**
|
|
3995
4018
|
* Text Transform
|
|
@@ -4086,14 +4109,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4086
4109
|
* @see https://tailwindcss.com/docs/background-position
|
|
4087
4110
|
*/
|
|
4088
4111
|
"bg-position": [{
|
|
4089
|
-
bg:
|
|
4112
|
+
bg: P()
|
|
4090
4113
|
}],
|
|
4091
4114
|
/**
|
|
4092
4115
|
* Background Repeat
|
|
4093
4116
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
4094
4117
|
*/
|
|
4095
4118
|
"bg-repeat": [{
|
|
4096
|
-
bg:
|
|
4119
|
+
bg: G()
|
|
4097
4120
|
}],
|
|
4098
4121
|
/**
|
|
4099
4122
|
* Background Size
|
|
@@ -4113,7 +4136,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4113
4136
|
}, ee, p, h],
|
|
4114
4137
|
radial: ["", p, h],
|
|
4115
4138
|
conic: [ee, p, h]
|
|
4116
|
-
},
|
|
4139
|
+
}, J0, q0]
|
|
4117
4140
|
}],
|
|
4118
4141
|
/**
|
|
4119
4142
|
* Background Color
|
|
@@ -4483,14 +4506,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4483
4506
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
4484
4507
|
*/
|
|
4485
4508
|
"outline-offset": [{
|
|
4486
|
-
"outline-offset": [
|
|
4509
|
+
"outline-offset": [g, p, h]
|
|
4487
4510
|
}],
|
|
4488
4511
|
/**
|
|
4489
4512
|
* Outline Width
|
|
4490
4513
|
* @see https://tailwindcss.com/docs/outline-width
|
|
4491
4514
|
*/
|
|
4492
4515
|
"outline-w": [{
|
|
4493
|
-
outline: ["",
|
|
4516
|
+
outline: ["", g, be, ie]
|
|
4494
4517
|
}],
|
|
4495
4518
|
/**
|
|
4496
4519
|
* Outline Color
|
|
@@ -4511,9 +4534,9 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4511
4534
|
// Deprecated since Tailwind CSS v4.0.0
|
|
4512
4535
|
"",
|
|
4513
4536
|
"none",
|
|
4514
|
-
|
|
4537
|
+
$,
|
|
4515
4538
|
Ve,
|
|
4516
|
-
|
|
4539
|
+
De
|
|
4517
4540
|
]
|
|
4518
4541
|
}],
|
|
4519
4542
|
/**
|
|
@@ -4528,7 +4551,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4528
4551
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
4529
4552
|
*/
|
|
4530
4553
|
"inset-shadow": [{
|
|
4531
|
-
"inset-shadow": ["none",
|
|
4554
|
+
"inset-shadow": ["none", c, Ve, De]
|
|
4532
4555
|
}],
|
|
4533
4556
|
/**
|
|
4534
4557
|
* Inset Box Shadow Color
|
|
@@ -4565,7 +4588,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4565
4588
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
4566
4589
|
*/
|
|
4567
4590
|
"ring-offset-w": [{
|
|
4568
|
-
"ring-offset": [
|
|
4591
|
+
"ring-offset": [g, ie]
|
|
4569
4592
|
}],
|
|
4570
4593
|
/**
|
|
4571
4594
|
* Ring Offset Color
|
|
@@ -4595,7 +4618,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4595
4618
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
4596
4619
|
*/
|
|
4597
4620
|
"text-shadow": [{
|
|
4598
|
-
"text-shadow": ["none", u, Ve,
|
|
4621
|
+
"text-shadow": ["none", u, Ve, De]
|
|
4599
4622
|
}],
|
|
4600
4623
|
/**
|
|
4601
4624
|
* Text Shadow Color
|
|
@@ -4609,7 +4632,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4609
4632
|
* @see https://tailwindcss.com/docs/opacity
|
|
4610
4633
|
*/
|
|
4611
4634
|
opacity: [{
|
|
4612
|
-
opacity: [
|
|
4635
|
+
opacity: [g, p, h]
|
|
4613
4636
|
}],
|
|
4614
4637
|
/**
|
|
4615
4638
|
* Mix Blend Mode
|
|
@@ -4644,13 +4667,13 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4644
4667
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4645
4668
|
*/
|
|
4646
4669
|
"mask-image-linear-pos": [{
|
|
4647
|
-
"mask-linear": [
|
|
4670
|
+
"mask-linear": [g]
|
|
4648
4671
|
}],
|
|
4649
4672
|
"mask-image-linear-from-pos": [{
|
|
4650
|
-
"mask-linear-from":
|
|
4673
|
+
"mask-linear-from": k()
|
|
4651
4674
|
}],
|
|
4652
4675
|
"mask-image-linear-to-pos": [{
|
|
4653
|
-
"mask-linear-to":
|
|
4676
|
+
"mask-linear-to": k()
|
|
4654
4677
|
}],
|
|
4655
4678
|
"mask-image-linear-from-color": [{
|
|
4656
4679
|
"mask-linear-from": f()
|
|
@@ -4659,10 +4682,10 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4659
4682
|
"mask-linear-to": f()
|
|
4660
4683
|
}],
|
|
4661
4684
|
"mask-image-t-from-pos": [{
|
|
4662
|
-
"mask-t-from":
|
|
4685
|
+
"mask-t-from": k()
|
|
4663
4686
|
}],
|
|
4664
4687
|
"mask-image-t-to-pos": [{
|
|
4665
|
-
"mask-t-to":
|
|
4688
|
+
"mask-t-to": k()
|
|
4666
4689
|
}],
|
|
4667
4690
|
"mask-image-t-from-color": [{
|
|
4668
4691
|
"mask-t-from": f()
|
|
@@ -4671,10 +4694,10 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4671
4694
|
"mask-t-to": f()
|
|
4672
4695
|
}],
|
|
4673
4696
|
"mask-image-r-from-pos": [{
|
|
4674
|
-
"mask-r-from":
|
|
4697
|
+
"mask-r-from": k()
|
|
4675
4698
|
}],
|
|
4676
4699
|
"mask-image-r-to-pos": [{
|
|
4677
|
-
"mask-r-to":
|
|
4700
|
+
"mask-r-to": k()
|
|
4678
4701
|
}],
|
|
4679
4702
|
"mask-image-r-from-color": [{
|
|
4680
4703
|
"mask-r-from": f()
|
|
@@ -4683,10 +4706,10 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4683
4706
|
"mask-r-to": f()
|
|
4684
4707
|
}],
|
|
4685
4708
|
"mask-image-b-from-pos": [{
|
|
4686
|
-
"mask-b-from":
|
|
4709
|
+
"mask-b-from": k()
|
|
4687
4710
|
}],
|
|
4688
4711
|
"mask-image-b-to-pos": [{
|
|
4689
|
-
"mask-b-to":
|
|
4712
|
+
"mask-b-to": k()
|
|
4690
4713
|
}],
|
|
4691
4714
|
"mask-image-b-from-color": [{
|
|
4692
4715
|
"mask-b-from": f()
|
|
@@ -4695,10 +4718,10 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4695
4718
|
"mask-b-to": f()
|
|
4696
4719
|
}],
|
|
4697
4720
|
"mask-image-l-from-pos": [{
|
|
4698
|
-
"mask-l-from":
|
|
4721
|
+
"mask-l-from": k()
|
|
4699
4722
|
}],
|
|
4700
4723
|
"mask-image-l-to-pos": [{
|
|
4701
|
-
"mask-l-to":
|
|
4724
|
+
"mask-l-to": k()
|
|
4702
4725
|
}],
|
|
4703
4726
|
"mask-image-l-from-color": [{
|
|
4704
4727
|
"mask-l-from": f()
|
|
@@ -4707,10 +4730,10 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4707
4730
|
"mask-l-to": f()
|
|
4708
4731
|
}],
|
|
4709
4732
|
"mask-image-x-from-pos": [{
|
|
4710
|
-
"mask-x-from":
|
|
4733
|
+
"mask-x-from": k()
|
|
4711
4734
|
}],
|
|
4712
4735
|
"mask-image-x-to-pos": [{
|
|
4713
|
-
"mask-x-to":
|
|
4736
|
+
"mask-x-to": k()
|
|
4714
4737
|
}],
|
|
4715
4738
|
"mask-image-x-from-color": [{
|
|
4716
4739
|
"mask-x-from": f()
|
|
@@ -4719,10 +4742,10 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4719
4742
|
"mask-x-to": f()
|
|
4720
4743
|
}],
|
|
4721
4744
|
"mask-image-y-from-pos": [{
|
|
4722
|
-
"mask-y-from":
|
|
4745
|
+
"mask-y-from": k()
|
|
4723
4746
|
}],
|
|
4724
4747
|
"mask-image-y-to-pos": [{
|
|
4725
|
-
"mask-y-to":
|
|
4748
|
+
"mask-y-to": k()
|
|
4726
4749
|
}],
|
|
4727
4750
|
"mask-image-y-from-color": [{
|
|
4728
4751
|
"mask-y-from": f()
|
|
@@ -4734,10 +4757,10 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4734
4757
|
"mask-radial": [p, h]
|
|
4735
4758
|
}],
|
|
4736
4759
|
"mask-image-radial-from-pos": [{
|
|
4737
|
-
"mask-radial-from":
|
|
4760
|
+
"mask-radial-from": k()
|
|
4738
4761
|
}],
|
|
4739
4762
|
"mask-image-radial-to-pos": [{
|
|
4740
|
-
"mask-radial-to":
|
|
4763
|
+
"mask-radial-to": k()
|
|
4741
4764
|
}],
|
|
4742
4765
|
"mask-image-radial-from-color": [{
|
|
4743
4766
|
"mask-radial-from": f()
|
|
@@ -4755,16 +4778,16 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4755
4778
|
}]
|
|
4756
4779
|
}],
|
|
4757
4780
|
"mask-image-radial-pos": [{
|
|
4758
|
-
"mask-radial-at":
|
|
4781
|
+
"mask-radial-at": B()
|
|
4759
4782
|
}],
|
|
4760
4783
|
"mask-image-conic-pos": [{
|
|
4761
|
-
"mask-conic": [
|
|
4784
|
+
"mask-conic": [g]
|
|
4762
4785
|
}],
|
|
4763
4786
|
"mask-image-conic-from-pos": [{
|
|
4764
|
-
"mask-conic-from":
|
|
4787
|
+
"mask-conic-from": k()
|
|
4765
4788
|
}],
|
|
4766
4789
|
"mask-image-conic-to-pos": [{
|
|
4767
|
-
"mask-conic-to":
|
|
4790
|
+
"mask-conic-to": k()
|
|
4768
4791
|
}],
|
|
4769
4792
|
"mask-image-conic-from-color": [{
|
|
4770
4793
|
"mask-conic-from": f()
|
|
@@ -4791,14 +4814,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4791
4814
|
* @see https://tailwindcss.com/docs/mask-position
|
|
4792
4815
|
*/
|
|
4793
4816
|
"mask-position": [{
|
|
4794
|
-
mask:
|
|
4817
|
+
mask: P()
|
|
4795
4818
|
}],
|
|
4796
4819
|
/**
|
|
4797
4820
|
* Mask Repeat
|
|
4798
4821
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
4799
4822
|
*/
|
|
4800
4823
|
"mask-repeat": [{
|
|
4801
|
-
mask:
|
|
4824
|
+
mask: G()
|
|
4802
4825
|
}],
|
|
4803
4826
|
/**
|
|
4804
4827
|
* Mask Size
|
|
@@ -4849,14 +4872,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4849
4872
|
* @see https://tailwindcss.com/docs/brightness
|
|
4850
4873
|
*/
|
|
4851
4874
|
brightness: [{
|
|
4852
|
-
brightness: [
|
|
4875
|
+
brightness: [g, p, h]
|
|
4853
4876
|
}],
|
|
4854
4877
|
/**
|
|
4855
4878
|
* Contrast
|
|
4856
4879
|
* @see https://tailwindcss.com/docs/contrast
|
|
4857
4880
|
*/
|
|
4858
4881
|
contrast: [{
|
|
4859
|
-
contrast: [
|
|
4882
|
+
contrast: [g, p, h]
|
|
4860
4883
|
}],
|
|
4861
4884
|
/**
|
|
4862
4885
|
* Drop Shadow
|
|
@@ -4867,9 +4890,9 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4867
4890
|
// Deprecated since Tailwind CSS v4.0.0
|
|
4868
4891
|
"",
|
|
4869
4892
|
"none",
|
|
4870
|
-
|
|
4893
|
+
y,
|
|
4871
4894
|
Ve,
|
|
4872
|
-
|
|
4895
|
+
De
|
|
4873
4896
|
]
|
|
4874
4897
|
}],
|
|
4875
4898
|
/**
|
|
@@ -4884,35 +4907,35 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4884
4907
|
* @see https://tailwindcss.com/docs/grayscale
|
|
4885
4908
|
*/
|
|
4886
4909
|
grayscale: [{
|
|
4887
|
-
grayscale: ["",
|
|
4910
|
+
grayscale: ["", g, p, h]
|
|
4888
4911
|
}],
|
|
4889
4912
|
/**
|
|
4890
4913
|
* Hue Rotate
|
|
4891
4914
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
4892
4915
|
*/
|
|
4893
4916
|
"hue-rotate": [{
|
|
4894
|
-
"hue-rotate": [
|
|
4917
|
+
"hue-rotate": [g, p, h]
|
|
4895
4918
|
}],
|
|
4896
4919
|
/**
|
|
4897
4920
|
* Invert
|
|
4898
4921
|
* @see https://tailwindcss.com/docs/invert
|
|
4899
4922
|
*/
|
|
4900
4923
|
invert: [{
|
|
4901
|
-
invert: ["",
|
|
4924
|
+
invert: ["", g, p, h]
|
|
4902
4925
|
}],
|
|
4903
4926
|
/**
|
|
4904
4927
|
* Saturate
|
|
4905
4928
|
* @see https://tailwindcss.com/docs/saturate
|
|
4906
4929
|
*/
|
|
4907
4930
|
saturate: [{
|
|
4908
|
-
saturate: [
|
|
4931
|
+
saturate: [g, p, h]
|
|
4909
4932
|
}],
|
|
4910
4933
|
/**
|
|
4911
4934
|
* Sepia
|
|
4912
4935
|
* @see https://tailwindcss.com/docs/sepia
|
|
4913
4936
|
*/
|
|
4914
4937
|
sepia: [{
|
|
4915
|
-
sepia: ["",
|
|
4938
|
+
sepia: ["", g, p, h]
|
|
4916
4939
|
}],
|
|
4917
4940
|
/**
|
|
4918
4941
|
* Backdrop Filter
|
|
@@ -4939,56 +4962,56 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
4939
4962
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
4940
4963
|
*/
|
|
4941
4964
|
"backdrop-brightness": [{
|
|
4942
|
-
"backdrop-brightness": [
|
|
4965
|
+
"backdrop-brightness": [g, p, h]
|
|
4943
4966
|
}],
|
|
4944
4967
|
/**
|
|
4945
4968
|
* Backdrop Contrast
|
|
4946
4969
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
4947
4970
|
*/
|
|
4948
4971
|
"backdrop-contrast": [{
|
|
4949
|
-
"backdrop-contrast": [
|
|
4972
|
+
"backdrop-contrast": [g, p, h]
|
|
4950
4973
|
}],
|
|
4951
4974
|
/**
|
|
4952
4975
|
* Backdrop Grayscale
|
|
4953
4976
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
4954
4977
|
*/
|
|
4955
4978
|
"backdrop-grayscale": [{
|
|
4956
|
-
"backdrop-grayscale": ["",
|
|
4979
|
+
"backdrop-grayscale": ["", g, p, h]
|
|
4957
4980
|
}],
|
|
4958
4981
|
/**
|
|
4959
4982
|
* Backdrop Hue Rotate
|
|
4960
4983
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
4961
4984
|
*/
|
|
4962
4985
|
"backdrop-hue-rotate": [{
|
|
4963
|
-
"backdrop-hue-rotate": [
|
|
4986
|
+
"backdrop-hue-rotate": [g, p, h]
|
|
4964
4987
|
}],
|
|
4965
4988
|
/**
|
|
4966
4989
|
* Backdrop Invert
|
|
4967
4990
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
4968
4991
|
*/
|
|
4969
4992
|
"backdrop-invert": [{
|
|
4970
|
-
"backdrop-invert": ["",
|
|
4993
|
+
"backdrop-invert": ["", g, p, h]
|
|
4971
4994
|
}],
|
|
4972
4995
|
/**
|
|
4973
4996
|
* Backdrop Opacity
|
|
4974
4997
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
4975
4998
|
*/
|
|
4976
4999
|
"backdrop-opacity": [{
|
|
4977
|
-
"backdrop-opacity": [
|
|
5000
|
+
"backdrop-opacity": [g, p, h]
|
|
4978
5001
|
}],
|
|
4979
5002
|
/**
|
|
4980
5003
|
* Backdrop Saturate
|
|
4981
5004
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
4982
5005
|
*/
|
|
4983
5006
|
"backdrop-saturate": [{
|
|
4984
|
-
"backdrop-saturate": [
|
|
5007
|
+
"backdrop-saturate": [g, p, h]
|
|
4985
5008
|
}],
|
|
4986
5009
|
/**
|
|
4987
5010
|
* Backdrop Sepia
|
|
4988
5011
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
4989
5012
|
*/
|
|
4990
5013
|
"backdrop-sepia": [{
|
|
4991
|
-
"backdrop-sepia": ["",
|
|
5014
|
+
"backdrop-sepia": ["", g, p, h]
|
|
4992
5015
|
}],
|
|
4993
5016
|
// --------------
|
|
4994
5017
|
// --- Tables ---
|
|
@@ -5057,28 +5080,28 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
5057
5080
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
5058
5081
|
*/
|
|
5059
5082
|
duration: [{
|
|
5060
|
-
duration: [
|
|
5083
|
+
duration: [g, "initial", p, h]
|
|
5061
5084
|
}],
|
|
5062
5085
|
/**
|
|
5063
5086
|
* Transition Timing Function
|
|
5064
5087
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
5065
5088
|
*/
|
|
5066
5089
|
ease: [{
|
|
5067
|
-
ease: ["linear", "initial",
|
|
5090
|
+
ease: ["linear", "initial", I, p, h]
|
|
5068
5091
|
}],
|
|
5069
5092
|
/**
|
|
5070
5093
|
* Transition Delay
|
|
5071
5094
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
5072
5095
|
*/
|
|
5073
5096
|
delay: [{
|
|
5074
|
-
delay: [
|
|
5097
|
+
delay: [g, p, h]
|
|
5075
5098
|
}],
|
|
5076
5099
|
/**
|
|
5077
5100
|
* Animation
|
|
5078
5101
|
* @see https://tailwindcss.com/docs/animation
|
|
5079
5102
|
*/
|
|
5080
5103
|
animate: [{
|
|
5081
|
-
animate: ["none",
|
|
5104
|
+
animate: ["none", H, p, h]
|
|
5082
5105
|
}],
|
|
5083
5106
|
// ------------------
|
|
5084
5107
|
// --- Transforms ---
|
|
@@ -5095,14 +5118,14 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
5095
5118
|
* @see https://tailwindcss.com/docs/perspective
|
|
5096
5119
|
*/
|
|
5097
5120
|
perspective: [{
|
|
5098
|
-
perspective: [
|
|
5121
|
+
perspective: [A, p, h]
|
|
5099
5122
|
}],
|
|
5100
5123
|
/**
|
|
5101
5124
|
* Perspective Origin
|
|
5102
5125
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
5103
5126
|
*/
|
|
5104
5127
|
"perspective-origin": [{
|
|
5105
|
-
"perspective-origin":
|
|
5128
|
+
"perspective-origin": z()
|
|
5106
5129
|
}],
|
|
5107
5130
|
/**
|
|
5108
5131
|
* Rotate
|
|
@@ -5198,7 +5221,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
5198
5221
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
5199
5222
|
*/
|
|
5200
5223
|
"transform-origin": [{
|
|
5201
|
-
origin:
|
|
5224
|
+
origin: z()
|
|
5202
5225
|
}],
|
|
5203
5226
|
/**
|
|
5204
5227
|
* Transform Style
|
|
@@ -5212,28 +5235,28 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
5212
5235
|
* @see https://tailwindcss.com/docs/translate
|
|
5213
5236
|
*/
|
|
5214
5237
|
translate: [{
|
|
5215
|
-
translate:
|
|
5238
|
+
translate: He()
|
|
5216
5239
|
}],
|
|
5217
5240
|
/**
|
|
5218
5241
|
* Translate X
|
|
5219
5242
|
* @see https://tailwindcss.com/docs/translate
|
|
5220
5243
|
*/
|
|
5221
5244
|
"translate-x": [{
|
|
5222
|
-
"translate-x":
|
|
5245
|
+
"translate-x": He()
|
|
5223
5246
|
}],
|
|
5224
5247
|
/**
|
|
5225
5248
|
* Translate Y
|
|
5226
5249
|
* @see https://tailwindcss.com/docs/translate
|
|
5227
5250
|
*/
|
|
5228
5251
|
"translate-y": [{
|
|
5229
|
-
"translate-y":
|
|
5252
|
+
"translate-y": He()
|
|
5230
5253
|
}],
|
|
5231
5254
|
/**
|
|
5232
5255
|
* Translate Z
|
|
5233
5256
|
* @see https://tailwindcss.com/docs/translate
|
|
5234
5257
|
*/
|
|
5235
5258
|
"translate-z": [{
|
|
5236
|
-
"translate-z":
|
|
5259
|
+
"translate-z": He()
|
|
5237
5260
|
}],
|
|
5238
5261
|
/**
|
|
5239
5262
|
* Translate None
|
|
@@ -5543,7 +5566,7 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
5543
5566
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
5544
5567
|
*/
|
|
5545
5568
|
"stroke-w": [{
|
|
5546
|
-
stroke: [
|
|
5569
|
+
stroke: [g, be, ie, _1]
|
|
5547
5570
|
}],
|
|
5548
5571
|
/**
|
|
5549
5572
|
* Stroke
|
|
@@ -5618,9 +5641,9 @@ const y1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, g1 = Z1, R
|
|
|
5618
5641
|
},
|
|
5619
5642
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
5620
5643
|
};
|
|
5621
|
-
},
|
|
5644
|
+
}, rd = /* @__PURE__ */ M0(td);
|
|
5622
5645
|
function ht(...t) {
|
|
5623
|
-
return
|
|
5646
|
+
return rd(Z1(t));
|
|
5624
5647
|
}
|
|
5625
5648
|
function P1(t) {
|
|
5626
5649
|
const e = t.replace(/[^\d]/g, "");
|
|
@@ -5628,12 +5651,12 @@ function P1(t) {
|
|
|
5628
5651
|
const r = parseInt(e) / 100, n = Math.floor(r), d = Math.round((r - n) * 100).toString().padStart(2, "0");
|
|
5629
5652
|
return `${n.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ")},${d}`;
|
|
5630
5653
|
}
|
|
5631
|
-
function
|
|
5654
|
+
function nd(t) {
|
|
5632
5655
|
const e = parseFloat(t.replace(",", ".").replace(/\s/g, ""));
|
|
5633
5656
|
if (isNaN(e)) throw new Error("Amount should be a number");
|
|
5634
5657
|
return Math.round(e * 100);
|
|
5635
5658
|
}
|
|
5636
|
-
const
|
|
5659
|
+
const dd = Re(
|
|
5637
5660
|
"pay:inline-flex pay:items-center pay:justify-center pay:gap-2 pay:whitespace-nowrap pay:rounded-md pay:text-sm pay:font-medium pay:transition-all pay:outline-none pay:cursor-pointer pay:border-0 pay:disabled:pointer-events-none pay:disabled:opacity-50 pay:focus-visible:border-ring pay:focus-visible:ring-ring/50 pay:focus-visible:ring-[3px]",
|
|
5638
5661
|
{
|
|
5639
5662
|
variants: {
|
|
@@ -5662,10 +5685,10 @@ const nd = Re(
|
|
|
5662
5685
|
);
|
|
5663
5686
|
function E1(t, e) {
|
|
5664
5687
|
const { type: r = "button", variant: n, size: d, disabled: o, onClick: i } = t;
|
|
5665
|
-
return
|
|
5688
|
+
return _`
|
|
5666
5689
|
<button
|
|
5667
5690
|
type=${r}
|
|
5668
|
-
class=${ht(
|
|
5691
|
+
class=${ht(dd({ variant: n, size: d }), t.class)}
|
|
5669
5692
|
?disabled=${o}
|
|
5670
5693
|
@click=${i}
|
|
5671
5694
|
>
|
|
@@ -5674,30 +5697,30 @@ function E1(t, e) {
|
|
|
5674
5697
|
`;
|
|
5675
5698
|
}
|
|
5676
5699
|
function je(t, e) {
|
|
5677
|
-
return
|
|
5700
|
+
return _`<label
|
|
5678
5701
|
for=${e}
|
|
5679
5702
|
class="pay:flex pay:items-center pay:gap-2 pay:text-sm pay:leading-none pay:font-medium pay:select-none"
|
|
5680
5703
|
>${t}</label
|
|
5681
5704
|
>`;
|
|
5682
5705
|
}
|
|
5683
5706
|
function at(t) {
|
|
5684
|
-
return t ?
|
|
5707
|
+
return t ? _`<div
|
|
5685
5708
|
role="alert"
|
|
5686
5709
|
class="pay:text-destructive pay:text-sm pay:font-normal"
|
|
5687
5710
|
>
|
|
5688
5711
|
${t}
|
|
5689
|
-
</div>` :
|
|
5712
|
+
</div>` : C;
|
|
5690
5713
|
}
|
|
5691
|
-
function
|
|
5692
|
-
return
|
|
5714
|
+
function od(t = "") {
|
|
5715
|
+
return _`<div
|
|
5693
5716
|
class="pay:bg-accent pay:animate-pulse pay:rounded-md ${t}"
|
|
5694
5717
|
></div>`;
|
|
5695
5718
|
}
|
|
5696
|
-
function od() {
|
|
5697
|
-
return dd("pay:h-16 pay:w-full pay:rounded-xl");
|
|
5698
|
-
}
|
|
5699
5719
|
function id() {
|
|
5700
|
-
return w
|
|
5720
|
+
return od("pay:h-16 pay:w-full pay:rounded-xl");
|
|
5721
|
+
}
|
|
5722
|
+
function ad() {
|
|
5723
|
+
return _`<svg
|
|
5701
5724
|
role="status"
|
|
5702
5725
|
aria-label="Loading"
|
|
5703
5726
|
class="pay:size-4 pay:animate-spin"
|
|
@@ -5712,8 +5735,8 @@ function id() {
|
|
|
5712
5735
|
<path d="M21 12a9 9 0 1 1-6.219-8.56" />
|
|
5713
5736
|
</svg>`;
|
|
5714
5737
|
}
|
|
5715
|
-
const
|
|
5716
|
-
class
|
|
5738
|
+
const sd = { CHILD: 2 }, ld = (t) => (...e) => ({ _$litDirective$: t, values: e });
|
|
5739
|
+
class $d {
|
|
5717
5740
|
constructor(e) {
|
|
5718
5741
|
}
|
|
5719
5742
|
get _$AU() {
|
|
@@ -5729,12 +5752,12 @@ class ld {
|
|
|
5729
5752
|
return this.render(...r);
|
|
5730
5753
|
}
|
|
5731
5754
|
}
|
|
5732
|
-
class pt extends
|
|
5755
|
+
class pt extends $d {
|
|
5733
5756
|
constructor(e) {
|
|
5734
|
-
if (super(e), this.it =
|
|
5757
|
+
if (super(e), this.it = C, e.type !== sd.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
5735
5758
|
}
|
|
5736
5759
|
render(e) {
|
|
5737
|
-
if (e ===
|
|
5760
|
+
if (e === C || e == null) return this._t = void 0, this.it = e;
|
|
5738
5761
|
if (e === le) return e;
|
|
5739
5762
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
5740
5763
|
if (e === this.it) return this._t;
|
|
@@ -5744,13 +5767,13 @@ class pt extends ld {
|
|
|
5744
5767
|
}
|
|
5745
5768
|
}
|
|
5746
5769
|
pt.directiveName = "unsafeHTML", pt.resultType = 1;
|
|
5747
|
-
const
|
|
5770
|
+
const cd = ld(pt), ud = Re(
|
|
5748
5771
|
"pay:appearance-none pay:peer pay:block pay:w-4 pay:h-4 pay:border pay:border-input pay:rounded-full pay:shrink-0 pay:cursor-pointer pay:shadow-xs pay:outline-none pay:transition-[color,box-shadow] pay:focus-visible:border-ring pay:focus-visible:ring-[3px] pay:focus-visible:ring-ring/50"
|
|
5749
|
-
),
|
|
5772
|
+
), fd = Re(
|
|
5750
5773
|
"pay:pointer-events-none pay:absolute pay:size-2 pay:rounded-full pay:bg-primary pay:top-1/2 pay:left-1/2 pay:-translate-x-1/2 pay:-translate-y-1/2 pay:scale-0 pay:peer-checked:scale-100 pay:transition-transform pay:duration-200"
|
|
5751
5774
|
);
|
|
5752
5775
|
function a2(t) {
|
|
5753
|
-
return
|
|
5776
|
+
return _`
|
|
5754
5777
|
<div class="pay:relative pay:shrink-0 pay:w-4 pay:h-4">
|
|
5755
5778
|
<input
|
|
5756
5779
|
type="radio"
|
|
@@ -5758,9 +5781,9 @@ function a2(t) {
|
|
|
5758
5781
|
value=${t.value}
|
|
5759
5782
|
.checked=${t.checked}
|
|
5760
5783
|
@change=${t.onChange}
|
|
5761
|
-
class=${
|
|
5784
|
+
class=${ud()}
|
|
5762
5785
|
/>
|
|
5763
|
-
<div class=${
|
|
5786
|
+
<div class=${fd()}></div>
|
|
5764
5787
|
</div>
|
|
5765
5788
|
`;
|
|
5766
5789
|
}
|
|
@@ -5778,25 +5801,25 @@ const s2 = Re(
|
|
|
5778
5801
|
}
|
|
5779
5802
|
}
|
|
5780
5803
|
);
|
|
5781
|
-
function
|
|
5782
|
-
return
|
|
5804
|
+
function hd(t) {
|
|
5805
|
+
return _`
|
|
5783
5806
|
<label class=${s2({ size: "method" })}>
|
|
5784
5807
|
${a2(t)}
|
|
5785
5808
|
<div
|
|
5786
5809
|
class="pay:flex pay:items-center pay:gap-1 pay:grow pay:justify-between pay:ml-2"
|
|
5787
5810
|
>
|
|
5788
5811
|
<span class="pay:text-sm pay:font-medium">${t.label}</span>
|
|
5789
|
-
${t.logoSvg ?
|
|
5812
|
+
${t.logoSvg ? _`<span
|
|
5790
5813
|
class="pay:inline-flex pay:h-4 pay:shrink-0 pay:text-foreground pay:[&>svg]:block pay:[&>svg]:h-full pay:[&>svg]:w-auto"
|
|
5791
5814
|
role="img"
|
|
5792
5815
|
aria-label=${t.label}
|
|
5793
|
-
>${
|
|
5816
|
+
>${cd(t.logoSvg)}</span>` : ""}
|
|
5794
5817
|
</div>
|
|
5795
5818
|
</label>
|
|
5796
5819
|
`;
|
|
5797
5820
|
}
|
|
5798
5821
|
function A1(t) {
|
|
5799
|
-
return
|
|
5822
|
+
return _`
|
|
5800
5823
|
<label class=${s2({ size: "channel" })}>
|
|
5801
5824
|
${a2(t)}
|
|
5802
5825
|
<div
|
|
@@ -5808,9 +5831,9 @@ function A1(t) {
|
|
|
5808
5831
|
</label>
|
|
5809
5832
|
`;
|
|
5810
5833
|
}
|
|
5811
|
-
const
|
|
5834
|
+
const pd = Re(
|
|
5812
5835
|
"pay:file:text-foreground pay:placeholder:text-muted-foreground pay:selection:bg-primary pay:selection:text-primary-foreground pay:border-input pay:h-9 pay:w-full pay:min-w-0 pay:rounded-md pay:border pay:bg-transparent pay:px-3 pay:py-1 pay:text-sm pay:shadow-xs pay:transition-[color,box-shadow] pay:outline-none pay:disabled:pointer-events-none pay:disabled:cursor-not-allowed pay:disabled:opacity-50 pay:focus-visible:border-ring pay:focus-visible:ring-ring/50 pay:focus-visible:ring-[3px] pay:aria-invalid:ring-destructive/20 pay:aria-invalid:border-destructive"
|
|
5813
|
-
), Ue =
|
|
5836
|
+
), Ue = pd(), md = _`<svg
|
|
5814
5837
|
class="pay:size-4 pay:text-muted-foreground"
|
|
5815
5838
|
viewBox="0 0 24 24"
|
|
5816
5839
|
fill="none"
|
|
@@ -5821,7 +5844,7 @@ const hd = Re(
|
|
|
5821
5844
|
>
|
|
5822
5845
|
<rect x="2" y="4" width="20" height="16" rx="2" />
|
|
5823
5846
|
<path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" />
|
|
5824
|
-
</svg>`,
|
|
5847
|
+
</svg>`, yd = _`<svg
|
|
5825
5848
|
class="pay:size-4 pay:text-muted-foreground"
|
|
5826
5849
|
viewBox="0 0 24 24"
|
|
5827
5850
|
fill="none"
|
|
@@ -5832,15 +5855,15 @@ const hd = Re(
|
|
|
5832
5855
|
>
|
|
5833
5856
|
<path d="M7.9 20A9 9 0 1 0 4 16.1L2 22Z" />
|
|
5834
5857
|
</svg>`;
|
|
5835
|
-
function
|
|
5836
|
-
return
|
|
5858
|
+
function gd(t) {
|
|
5859
|
+
return _`
|
|
5837
5860
|
<select
|
|
5838
5861
|
class="pay:border-input pay:h-9 pay:flex-shrink-0 pay:rounded-md pay:border pay:bg-transparent pay:px-3 pay:py-1 pay:text-sm pay:shadow-xs pay:transition-[color,box-shadow] pay:outline-none pay:focus-visible:ring-[3px] pay:focus-visible:border-ring pay:focus-visible:ring-ring/50 pay:cursor-pointer"
|
|
5839
5862
|
aria-label=${t.label}
|
|
5840
5863
|
@change=${t.onChange}
|
|
5841
5864
|
>
|
|
5842
5865
|
${B1.map(
|
|
5843
|
-
(e) =>
|
|
5866
|
+
(e) => _`
|
|
5844
5867
|
<option value=${e.code} ?selected=${e.code === t.value}>
|
|
5845
5868
|
${e.flag} ${e.code} ${e.dial}
|
|
5846
5869
|
</option>
|
|
@@ -5849,8 +5872,8 @@ function yd(t) {
|
|
|
5849
5872
|
</select>
|
|
5850
5873
|
`;
|
|
5851
5874
|
}
|
|
5852
|
-
function
|
|
5853
|
-
return
|
|
5875
|
+
function bd() {
|
|
5876
|
+
return _`
|
|
5854
5877
|
<div
|
|
5855
5878
|
role="alert"
|
|
5856
5879
|
class="pay:bg-red-50 pay:border pay:border-red-400 pay:text-red-700 pay:p-4 pay:rounded-md"
|
|
@@ -5859,14 +5882,14 @@ function gd() {
|
|
|
5859
5882
|
</div>
|
|
5860
5883
|
`;
|
|
5861
5884
|
}
|
|
5862
|
-
var
|
|
5885
|
+
var vd = Object.defineProperty, E = (t, e, r, n) => {
|
|
5863
5886
|
for (var d = void 0, o = t.length - 1, i; o >= 0; o--)
|
|
5864
5887
|
(i = t[o]) && (d = i(e, r, d) || d);
|
|
5865
|
-
return d &&
|
|
5888
|
+
return d && vd(e, r, d), d;
|
|
5866
5889
|
};
|
|
5867
|
-
class
|
|
5890
|
+
class w extends Ce {
|
|
5868
5891
|
constructor() {
|
|
5869
|
-
super(...arguments), this.token = "", this.currency = "EUR", this.defaultAmount = "", this.defaultReference = "", this.readOnlyAmount = !1, this.customerName = "", this.customerEmail = "", this.customerPhone = "", this.locale = "fr", this.payClientRef = "", this._amount = "", this._email = "", this._phone = "", this._paymentReference = "", this._method = "", this._channel = void 0, this._country =
|
|
5892
|
+
super(...arguments), this.token = "", this.currency = "EUR", this.defaultAmount = "", this.defaultReference = "", this.readOnlyAmount = !1, this.customerName = "", this.customerEmail = "", this.customerPhone = "", this.locale = "fr", this.payClientRef = "", this._amount = "", this._email = "", this._phone = "", this._paymentReference = "", this._method = "", this._channel = void 0, this._country = f0.code, this._loading = !1, this._success = !1, this._paymentMethods = [], this._methodsLoading = !0, this._methodsError = null, this._initialized = !1, this._t = ot("fr"), this._apiUrl = "https://localhost:4004";
|
|
5870
5893
|
}
|
|
5871
5894
|
createRenderRoot() {
|
|
5872
5895
|
return this;
|
|
@@ -5889,7 +5912,7 @@ class P extends Ce {
|
|
|
5889
5912
|
const e = globalThis[this.payClientRef];
|
|
5890
5913
|
if (e) return e;
|
|
5891
5914
|
}
|
|
5892
|
-
return new
|
|
5915
|
+
return new X2(this._apiUrl, this.token, this.locale);
|
|
5893
5916
|
}
|
|
5894
5917
|
async _fetchPaymentMethods() {
|
|
5895
5918
|
this._methodsLoading = !0, this._methodsError = null;
|
|
@@ -5925,7 +5948,7 @@ class P extends Ce {
|
|
|
5925
5948
|
this._email = e.target.value;
|
|
5926
5949
|
}
|
|
5927
5950
|
_onPhoneInput(e) {
|
|
5928
|
-
this._phone =
|
|
5951
|
+
this._phone = $0(
|
|
5929
5952
|
this._country,
|
|
5930
5953
|
e.target.value
|
|
5931
5954
|
);
|
|
@@ -5933,29 +5956,33 @@ class P extends Ce {
|
|
|
5933
5956
|
_onCountryChange(e) {
|
|
5934
5957
|
this._country = e.target.value;
|
|
5935
5958
|
}
|
|
5936
|
-
_onSubmit(e) {
|
|
5937
|
-
e.preventDefault(), this._loading = !0
|
|
5959
|
+
async _onSubmit(e) {
|
|
5960
|
+
e.preventDefault(), this._loading = !0;
|
|
5938
5961
|
const r = this._method.indexOf("_"), n = r >= 0 ? this._method.substring(0, r) : this._method, d = r >= 0 ? this._method.substring(r + 1) : "", o = {
|
|
5939
5962
|
order_reference: this._paymentReference,
|
|
5940
5963
|
channel: this._channel === "email" ? "email" : this._channel === "sms" ? "sms" : "link",
|
|
5941
|
-
amount:
|
|
5964
|
+
amount: nd(this._amount),
|
|
5942
5965
|
currency: this.currency,
|
|
5943
5966
|
method: d,
|
|
5944
5967
|
customer_contact: this._channel === "email" ? this._email : this._channel === "sms" ? this._phone : this._email,
|
|
5945
5968
|
partner: n
|
|
5946
|
-
}
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5969
|
+
};
|
|
5970
|
+
this._success = !0;
|
|
5971
|
+
try {
|
|
5972
|
+
await Promise.resolve(
|
|
5973
|
+
this.dispatchEvent(
|
|
5974
|
+
new CustomEvent("request-to-pay", {
|
|
5975
|
+
detail: o,
|
|
5976
|
+
bubbles: !0,
|
|
5977
|
+
composed: !0
|
|
5978
|
+
})
|
|
5979
|
+
)
|
|
5980
|
+
);
|
|
5981
|
+
} catch (i) {
|
|
5982
|
+
console.error(i);
|
|
5983
|
+
} finally {
|
|
5984
|
+
this._loading = !1;
|
|
5985
|
+
}
|
|
5959
5986
|
}
|
|
5960
5987
|
_onClose() {
|
|
5961
5988
|
this._success = !1, this.dispatchEvent(
|
|
@@ -5963,8 +5990,8 @@ class P extends Ce {
|
|
|
5963
5990
|
);
|
|
5964
5991
|
}
|
|
5965
5992
|
_renderMethods() {
|
|
5966
|
-
return this._methodsLoading ?
|
|
5967
|
-
(e) =>
|
|
5993
|
+
return this._methodsLoading ? id() : this._paymentMethods.map(
|
|
5994
|
+
(e) => hd({
|
|
5968
5995
|
name: "payment-method",
|
|
5969
5996
|
value: e.id,
|
|
5970
5997
|
checked: this._method === e.id,
|
|
@@ -5975,14 +6002,14 @@ class P extends Ce {
|
|
|
5975
6002
|
);
|
|
5976
6003
|
}
|
|
5977
6004
|
_renderChannels() {
|
|
5978
|
-
return
|
|
6005
|
+
return _`
|
|
5979
6006
|
${A1({
|
|
5980
6007
|
name: "channel",
|
|
5981
6008
|
value: "email",
|
|
5982
6009
|
checked: this._channel === "email",
|
|
5983
6010
|
onChange: this._onChannelChange.bind(this),
|
|
5984
6011
|
label: this._t.email,
|
|
5985
|
-
icon:
|
|
6012
|
+
icon: md
|
|
5986
6013
|
})}
|
|
5987
6014
|
${A1({
|
|
5988
6015
|
name: "channel",
|
|
@@ -5990,13 +6017,13 @@ class P extends Ce {
|
|
|
5990
6017
|
checked: this._channel === "sms",
|
|
5991
6018
|
onChange: this._onChannelChange.bind(this),
|
|
5992
6019
|
label: this._t.textMessage,
|
|
5993
|
-
icon:
|
|
6020
|
+
icon: yd
|
|
5994
6021
|
})}
|
|
5995
6022
|
`;
|
|
5996
6023
|
}
|
|
5997
6024
|
_renderForm() {
|
|
5998
6025
|
const e = this._amount ? !this._validateAmount(this._amount) : !1, r = this._email ? !f1(this._email) : !1, n = this._phone ? !h1(this._country, this._phone) : !1;
|
|
5999
|
-
return
|
|
6026
|
+
return _`
|
|
6000
6027
|
<form @submit=${this._onSubmit} class="pay:space-y-4">
|
|
6001
6028
|
<p
|
|
6002
6029
|
class="pay:text-xl pay:font-bold pay:text-accent-foreground pay:text-center"
|
|
@@ -6051,7 +6078,7 @@ class P extends Ce {
|
|
|
6051
6078
|
<div class="pay:grid pay:gap-1">${this._renderMethods()}</div>
|
|
6052
6079
|
</div>
|
|
6053
6080
|
|
|
6054
|
-
${this._method ?
|
|
6081
|
+
${this._method ? _`
|
|
6055
6082
|
<div
|
|
6056
6083
|
class="pay:animate-in pay:fade-in pay:slide-in-from-bottom-1 pay:duration-300"
|
|
6057
6084
|
>
|
|
@@ -6062,8 +6089,8 @@ class P extends Ce {
|
|
|
6062
6089
|
${this._renderChannels()}
|
|
6063
6090
|
</div>
|
|
6064
6091
|
</div>
|
|
6065
|
-
` :
|
|
6066
|
-
${this._channel === "email" ?
|
|
6092
|
+
` : C}
|
|
6093
|
+
${this._channel === "email" ? _`
|
|
6067
6094
|
<div
|
|
6068
6095
|
class="pay:flex pay:flex-col pay:gap-1 pay:animate-in pay:fade-in pay:slide-in-from-bottom-1 pay:duration-300"
|
|
6069
6096
|
>
|
|
@@ -6084,14 +6111,14 @@ class P extends Ce {
|
|
|
6084
6111
|
/>
|
|
6085
6112
|
${at(r && this._t.emailInvalid)}
|
|
6086
6113
|
</div>
|
|
6087
|
-
` :
|
|
6088
|
-
${this._channel === "sms" ?
|
|
6114
|
+
` : C}
|
|
6115
|
+
${this._channel === "sms" ? _`
|
|
6089
6116
|
<div
|
|
6090
6117
|
class="pay:flex pay:flex-col pay:gap-1 pay:animate-in pay:fade-in pay:slide-in-from-bottom-1 pay:duration-300"
|
|
6091
6118
|
>
|
|
6092
6119
|
${je(this._t.phoneNumber, "phone")}
|
|
6093
6120
|
<div class="pay:flex pay:gap-2">
|
|
6094
|
-
${
|
|
6121
|
+
${gd({
|
|
6095
6122
|
value: this._country,
|
|
6096
6123
|
label: this._t.countryCode,
|
|
6097
6124
|
onChange: this._onCountryChange.bind(this)
|
|
@@ -6109,26 +6136,20 @@ class P extends Ce {
|
|
|
6109
6136
|
</div>
|
|
6110
6137
|
${at(n && this._t.phoneInvalid)}
|
|
6111
6138
|
</div>
|
|
6112
|
-
` :
|
|
6113
|
-
${this._submitError ? w`<div
|
|
6114
|
-
role="alert"
|
|
6115
|
-
class="pay:bg-red-50 pay:border pay:border-red-400 pay:text-red-700 pay:p-3 pay:rounded-md pay:text-sm"
|
|
6116
|
-
>
|
|
6117
|
-
${this._submitError}
|
|
6118
|
-
</div>` : _}
|
|
6139
|
+
` : C}
|
|
6119
6140
|
${E1(
|
|
6120
6141
|
{
|
|
6121
6142
|
type: "submit",
|
|
6122
6143
|
class: "pay:w-full",
|
|
6123
6144
|
disabled: this._loading || !this._isValid
|
|
6124
6145
|
},
|
|
6125
|
-
this._loading ?
|
|
6146
|
+
this._loading ? ad() : this._t.sendPaymentLink
|
|
6126
6147
|
)}
|
|
6127
6148
|
</form>
|
|
6128
6149
|
`;
|
|
6129
6150
|
}
|
|
6130
6151
|
_renderSuccess() {
|
|
6131
|
-
return
|
|
6152
|
+
return _`
|
|
6132
6153
|
<div
|
|
6133
6154
|
class="pay:absolute pay:inset-0 pay:flex pay:items-center pay:justify-center pay:z-10 pay:bg-background pay:rounded-lg pay:px-6 pay:animate-in pay:fade-in pay:duration-300"
|
|
6134
6155
|
>
|
|
@@ -6136,147 +6157,99 @@ class P extends Ce {
|
|
|
6136
6157
|
<h2 class="pay:text-xl pay:font-bold pay:text-accent-foreground">
|
|
6137
6158
|
${this._t.paymentLinkSent}
|
|
6138
6159
|
</h2>
|
|
6139
|
-
${this._channel === "email" ?
|
|
6160
|
+
${this._channel === "email" ? _`<p>
|
|
6140
6161
|
${this._t.emailSentTo} <strong>${this._email}</strong>
|
|
6141
|
-
</p>` :
|
|
6162
|
+
</p>` : _`<p>${this._t.smsSentTo} <strong>${this._phone}</strong></p>`}
|
|
6142
6163
|
${E1({ type: "button", onClick: this._onClose }, this._t.close)}
|
|
6143
6164
|
</div>
|
|
6144
6165
|
</div>
|
|
6145
6166
|
`;
|
|
6146
6167
|
}
|
|
6147
6168
|
render() {
|
|
6148
|
-
return !this._methodsLoading && this._methodsError ?
|
|
6169
|
+
return !this._methodsLoading && this._methodsError ? _`<div class="pay:p-4">${bd()}</div>` : _`
|
|
6149
6170
|
<div class="pay:relative pay:p-4 pay:space-y-6">
|
|
6150
|
-
${this._renderForm()} ${this._success ? this._renderSuccess() :
|
|
6171
|
+
${this._renderForm()} ${this._success ? this._renderSuccess() : C}
|
|
6151
6172
|
</div>
|
|
6152
6173
|
`;
|
|
6153
6174
|
}
|
|
6154
6175
|
}
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
],
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
],
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
],
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
],
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
],
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
],
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
],
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
],
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
],
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
],
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
],
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
],
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
],
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
],
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
],
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
],
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
],
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
],
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
],
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
],
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
],
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
],
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
customerEmail: i,
|
|
6233
|
-
customerPhone: a,
|
|
6234
|
-
locale: s,
|
|
6235
|
-
payClient: l,
|
|
6236
|
-
onRequestToPay: c,
|
|
6237
|
-
onClose: $,
|
|
6238
|
-
className: u,
|
|
6239
|
-
style: g
|
|
6240
|
-
}) {
|
|
6241
|
-
const b = Ot(null), E = Ot(l);
|
|
6242
|
-
E.current = l;
|
|
6243
|
-
const x = $2((v) => {
|
|
6244
|
-
b.current = v, v && E.current !== void 0 && (v.payClient = E.current);
|
|
6245
|
-
}, []);
|
|
6246
|
-
return Rt(() => {
|
|
6247
|
-
b.current && (b.current.payClient = l);
|
|
6248
|
-
}, [l]), Rt(() => {
|
|
6249
|
-
const v = b.current;
|
|
6250
|
-
if (!v) return;
|
|
6251
|
-
const L = (V) => {
|
|
6252
|
-
if (!c) return;
|
|
6253
|
-
V.preventDefault();
|
|
6254
|
-
const j = b.current;
|
|
6255
|
-
Promise.resolve(c(V.detail)).then(() => j.reportSuccess()).catch((U) => {
|
|
6256
|
-
j.reportError(U instanceof Error ? U.message : void 0);
|
|
6257
|
-
});
|
|
6258
|
-
}, F = () => $?.();
|
|
6259
|
-
return v.addEventListener("request-to-pay", L), v.addEventListener("close", F), () => {
|
|
6260
|
-
v.removeEventListener("request-to-pay", L), v.removeEventListener("close", F);
|
|
6261
|
-
};
|
|
6262
|
-
}, [c, $]), /* @__PURE__ */ l2(
|
|
6263
|
-
"openhive-pay",
|
|
6264
|
-
{
|
|
6265
|
-
ref: x,
|
|
6266
|
-
token: t,
|
|
6267
|
-
currency: e,
|
|
6268
|
-
"default-amount": r,
|
|
6269
|
-
"default-reference": n,
|
|
6270
|
-
"read-only-amount": d ? "" : void 0,
|
|
6271
|
-
"customer-name": o,
|
|
6272
|
-
"customer-email": i,
|
|
6273
|
-
"customer-phone": a,
|
|
6274
|
-
locale: s,
|
|
6275
|
-
className: u,
|
|
6276
|
-
style: g
|
|
6277
|
-
}
|
|
6278
|
-
);
|
|
6279
|
-
}
|
|
6176
|
+
E([
|
|
6177
|
+
j({ type: String })
|
|
6178
|
+
], w.prototype, "token");
|
|
6179
|
+
E([
|
|
6180
|
+
j({ type: String })
|
|
6181
|
+
], w.prototype, "currency");
|
|
6182
|
+
E([
|
|
6183
|
+
j({ type: String, attribute: "default-amount" })
|
|
6184
|
+
], w.prototype, "defaultAmount");
|
|
6185
|
+
E([
|
|
6186
|
+
j({ type: String, attribute: "default-reference" })
|
|
6187
|
+
], w.prototype, "defaultReference");
|
|
6188
|
+
E([
|
|
6189
|
+
j({ type: Boolean, attribute: "read-only-amount" })
|
|
6190
|
+
], w.prototype, "readOnlyAmount");
|
|
6191
|
+
E([
|
|
6192
|
+
j({ type: String, attribute: "customer-name" })
|
|
6193
|
+
], w.prototype, "customerName");
|
|
6194
|
+
E([
|
|
6195
|
+
j({ type: String, attribute: "customer-email" })
|
|
6196
|
+
], w.prototype, "customerEmail");
|
|
6197
|
+
E([
|
|
6198
|
+
j({ type: String, attribute: "customer-phone" })
|
|
6199
|
+
], w.prototype, "customerPhone");
|
|
6200
|
+
E([
|
|
6201
|
+
j({ type: String })
|
|
6202
|
+
], w.prototype, "locale");
|
|
6203
|
+
E([
|
|
6204
|
+
j({ type: String, attribute: "pay-client-ref" })
|
|
6205
|
+
], w.prototype, "payClientRef");
|
|
6206
|
+
E([
|
|
6207
|
+
F()
|
|
6208
|
+
], w.prototype, "_amount");
|
|
6209
|
+
E([
|
|
6210
|
+
F()
|
|
6211
|
+
], w.prototype, "_email");
|
|
6212
|
+
E([
|
|
6213
|
+
F()
|
|
6214
|
+
], w.prototype, "_phone");
|
|
6215
|
+
E([
|
|
6216
|
+
F()
|
|
6217
|
+
], w.prototype, "_paymentReference");
|
|
6218
|
+
E([
|
|
6219
|
+
F()
|
|
6220
|
+
], w.prototype, "_method");
|
|
6221
|
+
E([
|
|
6222
|
+
F()
|
|
6223
|
+
], w.prototype, "_channel");
|
|
6224
|
+
E([
|
|
6225
|
+
F()
|
|
6226
|
+
], w.prototype, "_country");
|
|
6227
|
+
E([
|
|
6228
|
+
F()
|
|
6229
|
+
], w.prototype, "_loading");
|
|
6230
|
+
E([
|
|
6231
|
+
F()
|
|
6232
|
+
], w.prototype, "_success");
|
|
6233
|
+
E([
|
|
6234
|
+
F()
|
|
6235
|
+
], w.prototype, "_paymentMethods");
|
|
6236
|
+
E([
|
|
6237
|
+
F()
|
|
6238
|
+
], w.prototype, "_methodsLoading");
|
|
6239
|
+
E([
|
|
6240
|
+
F()
|
|
6241
|
+
], w.prototype, "_methodsError");
|
|
6242
|
+
customElements.get("openhive-pay") || customElements.define("openhive-pay", w);
|
|
6243
|
+
const Pd = c2({
|
|
6244
|
+
tagName: "openhive-pay",
|
|
6245
|
+
elementClass: w,
|
|
6246
|
+
react: l2,
|
|
6247
|
+
events: {
|
|
6248
|
+
onRequestToPay: "request-to-pay",
|
|
6249
|
+
onClose: "close"
|
|
6250
|
+
},
|
|
6251
|
+
displayName: "Payment"
|
|
6252
|
+
});
|
|
6280
6253
|
export {
|
|
6281
6254
|
Pd as Payment
|
|
6282
6255
|
};
|