doct-ui-auth-kit 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as H, Fragment as
|
|
3
|
-
import { g as fe, A as ii, h as ai, u as oi, i as di, e as ui, L as li, f as si, d as ci, c as fi, b as
|
|
4
|
-
import { B as A1, D as _1, l as w1, E as R1, I as x1, a as F1, m as M1, M as L1, n as D1, o as k1, p as j1, R as G1, q as U1, r as B1, s as W1, t as H1, v as V1, w as K1 } from "./signup-page-
|
|
5
|
-
import S, { createContext as hi, useContext as ur, useRef as se, useEffect as
|
|
2
|
+
import { jsx as H, Fragment as Xt } from "react/jsx-runtime";
|
|
3
|
+
import { g as fe, A as ii, h as ai, u as oi, i as di, e as ui, L as li, f as si, d as ci, c as fi, b as Jt, j as $i, k as at, O as pi, S as yi } from "./signup-page-7_oiaTGe.js";
|
|
4
|
+
import { B as A1, D as _1, l as w1, E as R1, I as x1, a as F1, m as M1, M as L1, n as D1, o as k1, p as j1, R as G1, q as U1, r as B1, s as W1, t as H1, v as V1, w as K1 } from "./signup-page-7_oiaTGe.js";
|
|
5
|
+
import S, { createContext as hi, useContext as ur, useRef as se, useEffect as Ee, useCallback as ue, useMemo as Ve, useReducer as mi } from "react";
|
|
6
6
|
import { DoctCircularProgress as gi } from "docthub-core-components";
|
|
7
7
|
import "react-icons/md";
|
|
8
8
|
import "react-hook-form";
|
|
9
|
-
function
|
|
9
|
+
function Lt(e) {
|
|
10
10
|
return e.replace(/\/+$/, "");
|
|
11
11
|
}
|
|
12
12
|
async function de(e, t, n, r = !1) {
|
|
13
|
-
const i = `${
|
|
13
|
+
const i = `${Lt(e)}${t}`, a = await fetch(i, {
|
|
14
14
|
method: "POST",
|
|
15
15
|
headers: {
|
|
16
16
|
"Content-Type": "application/json"
|
|
@@ -28,7 +28,7 @@ async function de(e, t, n, r = !1) {
|
|
|
28
28
|
return a.json();
|
|
29
29
|
}
|
|
30
30
|
async function vi(e, t) {
|
|
31
|
-
const n = `${
|
|
31
|
+
const n = `${Lt(e)}${t}`, r = await fetch(n, {
|
|
32
32
|
method: "GET",
|
|
33
33
|
credentials: "include"
|
|
34
34
|
});
|
|
@@ -39,7 +39,7 @@ async function vi(e, t) {
|
|
|
39
39
|
return r.json();
|
|
40
40
|
}
|
|
41
41
|
function P1(e) {
|
|
42
|
-
const t =
|
|
42
|
+
const t = Lt(e), r = `${t.endsWith("/api") ? t : `${t}/api`}/auth`;
|
|
43
43
|
return {
|
|
44
44
|
async sendOtp(i) {
|
|
45
45
|
return de(r, "/send-otp", i);
|
|
@@ -118,14 +118,14 @@ function Pi(e) {
|
|
|
118
118
|
} = e;
|
|
119
119
|
if (n === "") {
|
|
120
120
|
let h;
|
|
121
|
-
return t[0] !== r ? (h = /* @__PURE__ */ H(
|
|
121
|
+
return t[0] !== r ? (h = /* @__PURE__ */ H(Xt, { children: r }), t[0] = r, t[1] = h) : h = t[1], h;
|
|
122
122
|
}
|
|
123
123
|
let $;
|
|
124
124
|
t[2] !== n ? ($ = Ci(n), t[2] = n, t[3] = $) : $ = t[3];
|
|
125
125
|
const s = $;
|
|
126
126
|
if (!s) {
|
|
127
127
|
let h;
|
|
128
|
-
return t[4] !== r ? (h = /* @__PURE__ */ H(
|
|
128
|
+
return t[4] !== r ? (h = /* @__PURE__ */ H(Xt, { children: r }), t[4] = r, t[5] = h) : h = t[5], h;
|
|
129
129
|
}
|
|
130
130
|
let f;
|
|
131
131
|
t[6] !== c ? (f = c != null && {
|
|
@@ -137,7 +137,7 @@ function Pi(e) {
|
|
|
137
137
|
const sr = {
|
|
138
138
|
...ai,
|
|
139
139
|
Preset: Pi
|
|
140
|
-
},
|
|
140
|
+
}, Ei = "CHECKING_SESSION";
|
|
141
141
|
function he(e, t = "INDIAN") {
|
|
142
142
|
return {
|
|
143
143
|
step: e,
|
|
@@ -155,8 +155,8 @@ function he(e, t = "INDIAN") {
|
|
|
155
155
|
linkOrMerge: null
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return he(
|
|
158
|
+
function Ni() {
|
|
159
|
+
return he(Ei);
|
|
160
160
|
}
|
|
161
161
|
function Si(e, t) {
|
|
162
162
|
switch (t.type) {
|
|
@@ -237,10 +237,19 @@ function Si(e, t) {
|
|
|
237
237
|
...t.oldEmail && {
|
|
238
238
|
oldEmail: t.oldEmail
|
|
239
239
|
},
|
|
240
|
+
...t.oldCountryCode && {
|
|
241
|
+
oldCountryCode: t.oldCountryCode
|
|
242
|
+
},
|
|
243
|
+
...t.oldPhone && {
|
|
244
|
+
oldPhone: t.oldPhone
|
|
245
|
+
},
|
|
240
246
|
newEmail: t.newEmail
|
|
241
247
|
} : {
|
|
242
248
|
conflictField: "phone",
|
|
243
249
|
name: t.name,
|
|
250
|
+
...t.oldEmail && {
|
|
251
|
+
oldEmail: t.oldEmail
|
|
252
|
+
},
|
|
244
253
|
...t.oldCountryCode && {
|
|
245
254
|
oldCountryCode: t.oldCountryCode
|
|
246
255
|
},
|
|
@@ -285,8 +294,8 @@ function Si(e, t) {
|
|
|
285
294
|
return e;
|
|
286
295
|
}
|
|
287
296
|
}
|
|
288
|
-
const
|
|
289
|
-
function
|
|
297
|
+
const Dt = "doct-auth-kit:flow-state", Ti = /* @__PURE__ */ new Set(["CHECKING_SESSION", "METHOD_SELECT", "PHONE_ENTRY", "EMAIL_ENTRY", "OTP_VERIFICATION", "SIGNUP_DETAILS", "REPEAT_LOGIN", "PROVIDER_PENDING", "AUTHENTICATED"]);
|
|
298
|
+
function kt() {
|
|
290
299
|
if (typeof window > "u") return null;
|
|
291
300
|
try {
|
|
292
301
|
return window.sessionStorage;
|
|
@@ -300,10 +309,10 @@ function Oi(e) {
|
|
|
300
309
|
return typeof t == "string" && Ti.has(t);
|
|
301
310
|
}
|
|
302
311
|
function Ii() {
|
|
303
|
-
const e =
|
|
312
|
+
const e = kt();
|
|
304
313
|
if (!e) return null;
|
|
305
314
|
try {
|
|
306
|
-
const t = e.getItem(
|
|
315
|
+
const t = e.getItem(Dt);
|
|
307
316
|
if (!t) return null;
|
|
308
317
|
const n = JSON.parse(t);
|
|
309
318
|
return Oi(n) ? {
|
|
@@ -315,30 +324,30 @@ function Ii() {
|
|
|
315
324
|
}
|
|
316
325
|
}
|
|
317
326
|
function Ai(e) {
|
|
318
|
-
const t =
|
|
327
|
+
const t = kt();
|
|
319
328
|
if (t)
|
|
320
329
|
try {
|
|
321
|
-
t.setItem(
|
|
330
|
+
t.setItem(Dt, JSON.stringify(e));
|
|
322
331
|
} catch {
|
|
323
332
|
}
|
|
324
333
|
}
|
|
325
334
|
function _i() {
|
|
326
|
-
const e =
|
|
335
|
+
const e = kt();
|
|
327
336
|
if (e)
|
|
328
337
|
try {
|
|
329
|
-
e.removeItem(
|
|
338
|
+
e.removeItem(Dt);
|
|
330
339
|
} catch {
|
|
331
340
|
}
|
|
332
341
|
}
|
|
333
|
-
const
|
|
342
|
+
const jt = hi(null);
|
|
334
343
|
function cr() {
|
|
335
|
-
const e = ur(
|
|
344
|
+
const e = ur(jt);
|
|
336
345
|
if (!e)
|
|
337
346
|
throw new Error("useAuthFlow must be used within SSOAuthProvider");
|
|
338
347
|
return e;
|
|
339
348
|
}
|
|
340
|
-
function
|
|
341
|
-
const e = fe.c(6), t = ur(
|
|
349
|
+
function E1() {
|
|
350
|
+
const e = fe.c(6), t = ur(jt);
|
|
342
351
|
if (!t)
|
|
343
352
|
throw new Error("useAuthSession must be used within SSOAuthProvider");
|
|
344
353
|
const n = t.session, r = n != null, i = n?.authMethod ?? null;
|
|
@@ -351,7 +360,7 @@ function N1() {
|
|
|
351
360
|
authMethod: i
|
|
352
361
|
}, e[0] = t.actions.signOut, e[1] = t.isLoading, e[2] = n, e[3] = r, e[4] = i, e[5] = a) : a = e[5], a;
|
|
353
362
|
}
|
|
354
|
-
const
|
|
363
|
+
const zt = /* @__PURE__ */ new Set(["METHOD_SELECT", "PHONE_ENTRY", "EMAIL_ENTRY"]), wi = {
|
|
355
364
|
METHOD_SELECT: ["PHONE_ENTRY", "EMAIL_ENTRY", "OTP_VERIFICATION", "SIGNUP_DETAILS", "REPEAT_LOGIN"],
|
|
356
365
|
PHONE_ENTRY: ["OTP_VERIFICATION", "SIGNUP_DETAILS"],
|
|
357
366
|
EMAIL_ENTRY: ["OTP_VERIFICATION", "SIGNUP_DETAILS"]
|
|
@@ -359,11 +368,11 @@ const Jt = /* @__PURE__ */ new Set(["METHOD_SELECT", "PHONE_ENTRY", "EMAIL_ENTRY
|
|
|
359
368
|
function Ri(e, t) {
|
|
360
369
|
return wi[t]?.includes(e) ?? !1;
|
|
361
370
|
}
|
|
362
|
-
function
|
|
371
|
+
function Qt(e, t) {
|
|
363
372
|
for (const n of Object.keys(e))
|
|
364
373
|
if (e[n] === t) return n;
|
|
365
374
|
}
|
|
366
|
-
function
|
|
375
|
+
function en(e, t) {
|
|
367
376
|
switch (t) {
|
|
368
377
|
case "METHOD_SELECT":
|
|
369
378
|
e.reset();
|
|
@@ -387,7 +396,7 @@ function xi(e, t) {
|
|
|
387
396
|
const a = se(r);
|
|
388
397
|
a.current = r;
|
|
389
398
|
const o = se(!1), d = se(null), u = se(!1);
|
|
390
|
-
|
|
399
|
+
Ee(() => {
|
|
391
400
|
if (!e || !t || n.step === "CHECKING_SESSION") return;
|
|
392
401
|
const l = t[n.step];
|
|
393
402
|
if (l == null) return;
|
|
@@ -397,9 +406,9 @@ function xi(e, t) {
|
|
|
397
406
|
return;
|
|
398
407
|
}
|
|
399
408
|
if (!o.current) {
|
|
400
|
-
const f =
|
|
401
|
-
if (f &&
|
|
402
|
-
o.current = !0,
|
|
409
|
+
const f = Qt(t, c);
|
|
410
|
+
if (f && zt.has(f)) {
|
|
411
|
+
o.current = !0, en(a.current, f);
|
|
403
412
|
return;
|
|
404
413
|
}
|
|
405
414
|
e.replace(l), o.current = !0, d.current = n.step;
|
|
@@ -411,24 +420,24 @@ function xi(e, t) {
|
|
|
411
420
|
}
|
|
412
421
|
const $ = d.current;
|
|
413
422
|
$ != null && Ri($, n.step) ? e.replace(l) : e.push(l), d.current = n.step;
|
|
414
|
-
}, [e, t, n.step]),
|
|
423
|
+
}, [e, t, n.step]), Ee(() => {
|
|
415
424
|
if (!(!e || !t))
|
|
416
425
|
return e.subscribe((l) => {
|
|
417
426
|
const c = i.current;
|
|
418
427
|
if (t[c.step] === l) return;
|
|
419
|
-
const $ =
|
|
428
|
+
const $ = Qt(t, l);
|
|
420
429
|
if ($ && $ !== c.step) {
|
|
421
|
-
if (!
|
|
430
|
+
if (!zt.has($)) {
|
|
422
431
|
const s = t[c.step];
|
|
423
432
|
s && s !== l && e.replace(s);
|
|
424
433
|
return;
|
|
425
434
|
}
|
|
426
|
-
u.current = !0,
|
|
435
|
+
u.current = !0, en(a.current, $);
|
|
427
436
|
}
|
|
428
437
|
});
|
|
429
438
|
}, [e, t]);
|
|
430
439
|
}
|
|
431
|
-
function
|
|
440
|
+
function tn() {
|
|
432
441
|
const e = fe.c(1);
|
|
433
442
|
let t;
|
|
434
443
|
return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ H("div", { className: "flex min-h-svh w-full items-center justify-center", children: /* @__PURE__ */ H(gi, { size: 32 }) }), e[0] = t) : t = e[0], t;
|
|
@@ -450,9 +459,9 @@ function Fi(e) {
|
|
|
450
459
|
xi(r, i);
|
|
451
460
|
const c = l?.google, $ = l?.apple, s = d.step === "METHOD_SELECT" && !!c?.clientId && c.enableOneTap !== !1, f = c?.clientId ?? "";
|
|
452
461
|
let y;
|
|
453
|
-
t[2] !== u ? (y = (
|
|
462
|
+
t[2] !== u ? (y = (v) => u.providerCallback({
|
|
454
463
|
provider: "google",
|
|
455
|
-
credential:
|
|
464
|
+
credential: v
|
|
456
465
|
}), t[2] = u, t[3] = y) : y = t[3];
|
|
457
466
|
let h;
|
|
458
467
|
t[4] !== s || t[5] !== f || t[6] !== y ? (h = {
|
|
@@ -462,32 +471,32 @@ function Fi(e) {
|
|
|
462
471
|
}, t[4] = s, t[5] = f, t[6] = y, t[7] = h) : h = t[7];
|
|
463
472
|
const {
|
|
464
473
|
loginWithGoogle: p
|
|
465
|
-
} = oi(h), P = $?.clientId ?? "",
|
|
466
|
-
let
|
|
467
|
-
t[8] !== u ? (
|
|
474
|
+
} = oi(h), P = $?.clientId ?? "", O = $?.redirectUri ?? "";
|
|
475
|
+
let N;
|
|
476
|
+
t[8] !== u ? (N = (v) => u.providerCallback({
|
|
468
477
|
provider: "apple",
|
|
469
|
-
credential:
|
|
470
|
-
}), t[8] = u, t[9] =
|
|
471
|
-
let
|
|
472
|
-
t[10] !== P || t[11] !==
|
|
478
|
+
credential: v
|
|
479
|
+
}), t[8] = u, t[9] = N) : N = t[9];
|
|
480
|
+
let T;
|
|
481
|
+
t[10] !== P || t[11] !== O || t[12] !== N ? (T = {
|
|
473
482
|
clientId: P,
|
|
474
|
-
redirectUri:
|
|
475
|
-
onCredential:
|
|
476
|
-
}, t[10] = P, t[11] =
|
|
483
|
+
redirectUri: O,
|
|
484
|
+
onCredential: N
|
|
485
|
+
}, t[10] = P, t[11] = O, t[12] = N, t[13] = T) : T = t[13];
|
|
477
486
|
const {
|
|
478
487
|
triggerSignIn: m
|
|
479
488
|
} = di();
|
|
480
489
|
switch (d.step) {
|
|
481
490
|
case "CHECKING_SESSION": {
|
|
482
|
-
let
|
|
483
|
-
return t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
491
|
+
let v;
|
|
492
|
+
return t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ H(tn, {}), t[14] = v) : v = t[14], v;
|
|
484
493
|
}
|
|
485
494
|
case "METHOD_SELECT": {
|
|
486
|
-
const
|
|
495
|
+
const v = l?.google?.clientId, A = l?.apple?.clientId;
|
|
487
496
|
let F, G;
|
|
488
497
|
t[15] !== u ? (G = () => u.selectMethod("phone"), F = () => u.selectMethod("email"), t[15] = u, t[16] = F, t[17] = G) : (F = t[16], G = t[17]);
|
|
489
498
|
let B;
|
|
490
|
-
t[18] !==
|
|
499
|
+
t[18] !== v || t[19] !== p ? (B = v ? p : Li, t[18] = v, t[19] = p, t[20] = B) : B = t[20];
|
|
491
500
|
let W;
|
|
492
501
|
t[21] !== A || t[22] !== m ? (W = A ? m : Mi, t[21] = A, t[22] = m, t[23] = W) : W = t[23];
|
|
493
502
|
let K;
|
|
@@ -498,39 +507,39 @@ function Fi(e) {
|
|
|
498
507
|
return t[26] !== F || t[27] !== B || t[28] !== W || t[29] !== K || t[30] !== G ? (q = /* @__PURE__ */ H(fi, { onContinueWithMobile: G, onContinueWithEmail: F, onContinueWithGoogle: B, onContinueWithApple: W, ...K }), t[26] = F, t[27] = B, t[28] = W, t[29] = K, t[30] = G, t[31] = q) : q = t[31], q;
|
|
499
508
|
}
|
|
500
509
|
case "PHONE_ENTRY": {
|
|
501
|
-
let
|
|
502
|
-
return t[32] !== u ? (
|
|
510
|
+
let v;
|
|
511
|
+
return t[32] !== u ? (v = /* @__PURE__ */ H(Jt, { mode: "phone", layoutType: "withSlider", variant: "desktop", onBack: () => u.goBack(), onSubmit: (A) => u.submitIdentifier(A) }), t[32] = u, t[33] = v) : v = t[33], v;
|
|
503
512
|
}
|
|
504
513
|
case "EMAIL_ENTRY": {
|
|
505
|
-
let
|
|
506
|
-
return t[34] !== u ? (
|
|
514
|
+
let v;
|
|
515
|
+
return t[34] !== u ? (v = /* @__PURE__ */ H(Jt, { mode: "email", layoutType: "withSlider", variant: "desktop", onBack: () => u.goBack(), onSubmit: (A) => u.submitIdentifier(A) }), t[34] = u, t[35] = v) : v = t[35], v;
|
|
507
516
|
}
|
|
508
517
|
case "OTP_VERIFICATION": {
|
|
509
|
-
const
|
|
518
|
+
const v = d.userType === "FOREIGN", A = v ? "standalone" : "withSlider", F = v ? "mobile" : "desktop";
|
|
510
519
|
let G, B, W;
|
|
511
520
|
t[36] !== u ? (W = () => u.goBack(), G = (q) => u.verifyOtp(q), B = () => u.resendOtp(), t[36] = u, t[37] = G, t[38] = B, t[39] = W) : (G = t[37], B = t[38], W = t[39]);
|
|
512
521
|
let K;
|
|
513
|
-
return t[40] !==
|
|
522
|
+
return t[40] !== v || t[41] !== A || t[42] !== d.identifierType || t[43] !== d.maskedRecipient || t[44] !== G || t[45] !== B || t[46] !== W || t[47] !== a || t[48] !== F ? (K = /* @__PURE__ */ H(ci, { mode: d.identifierType, recipientDisplay: d.maskedRecipient, isForeignUser: v, layoutType: A, variant: F, onBack: W, submitApi: G, onResendCode: B, validate: a }), t[40] = v, t[41] = A, t[42] = d.identifierType, t[43] = d.maskedRecipient, t[44] = G, t[45] = B, t[46] = W, t[47] = a, t[48] = F, t[49] = K) : K = t[49], K;
|
|
514
523
|
}
|
|
515
524
|
case "SIGNUP_DETAILS": {
|
|
516
|
-
let
|
|
517
|
-
t[50] !== u ? (
|
|
525
|
+
let v;
|
|
526
|
+
t[50] !== u ? (v = (F) => u.submitSignupDetails(F), t[50] = u, t[51] = v) : v = t[51];
|
|
518
527
|
let A;
|
|
519
|
-
return t[52] !== d.identifierType || t[53] !== d.pendingPhone || t[54] !== d.signupCollectField || t[55] !== d.userType || t[56] !==
|
|
528
|
+
return t[52] !== d.identifierType || t[53] !== d.pendingPhone || t[54] !== d.signupCollectField || t[55] !== d.userType || t[56] !== v ? (A = /* @__PURE__ */ H(si, { userType: d.userType, loginMethod: d.identifierType, signupCollectField: d.signupCollectField, pendingPhone: d.pendingPhone, layoutType: "standalone", variant: "mobile", onSubmit: v }), t[52] = d.identifierType, t[53] = d.pendingPhone, t[54] = d.signupCollectField, t[55] = d.userType, t[56] = v, t[57] = A) : A = t[57], A;
|
|
520
529
|
}
|
|
521
530
|
case "LINK_OR_MERGE": {
|
|
522
|
-
let
|
|
523
|
-
return t[58] !== u || t[59] !== d.linkOrMerge ? (
|
|
531
|
+
let v;
|
|
532
|
+
return t[58] !== u || t[59] !== d.linkOrMerge ? (v = d.linkOrMerge ? /* @__PURE__ */ H(li, { details: d.linkOrMerge, onBack: () => u.goBack(), onVerify: () => u.verifyLinkOrMerge() }) : null, t[58] = u, t[59] = d.linkOrMerge, t[60] = v) : v = t[60], v;
|
|
524
533
|
}
|
|
525
534
|
case "REPEAT_LOGIN": {
|
|
526
|
-
let
|
|
527
|
-
t[61] !== u ? (A = () => u.continueWithLastMethod(),
|
|
535
|
+
let v, A;
|
|
536
|
+
t[61] !== u ? (A = () => u.continueWithLastMethod(), v = () => u.reset(), t[61] = u, t[62] = v, t[63] = A) : (v = t[62], A = t[63]);
|
|
528
537
|
let F;
|
|
529
|
-
return t[64] !== d.lastMethod || t[65] !==
|
|
538
|
+
return t[64] !== d.lastMethod || t[65] !== v || t[66] !== A ? (F = /* @__PURE__ */ H(ui, { lastUsedMethod: d.lastMethod, layoutType: "withSlider", variant: "desktop", onContinueWithLastMethod: A, onUseAnotherMethod: v }), t[64] = d.lastMethod, t[65] = v, t[66] = A, t[67] = F) : F = t[67], F;
|
|
530
539
|
}
|
|
531
540
|
case "PROVIDER_PENDING": {
|
|
532
|
-
let
|
|
533
|
-
return t[68] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
541
|
+
let v;
|
|
542
|
+
return t[68] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ H(tn, {}), t[68] = v) : v = t[68], v;
|
|
534
543
|
}
|
|
535
544
|
case "AUTHENTICATED":
|
|
536
545
|
return null;
|
|
@@ -544,15 +553,15 @@ function Li() {
|
|
|
544
553
|
}
|
|
545
554
|
const fr = { 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", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 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", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|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", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|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, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
546
555
|
var je = { exports: {} }, Ge = { exports: {} }, k = {};
|
|
547
|
-
var
|
|
556
|
+
var nn;
|
|
548
557
|
function Di() {
|
|
549
|
-
if (
|
|
550
|
-
|
|
551
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, o = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, $ = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, s = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, p = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, P = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118,
|
|
552
|
-
function
|
|
558
|
+
if (nn) return k;
|
|
559
|
+
nn = 1;
|
|
560
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, o = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, $ = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, s = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, p = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, P = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, O = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
561
|
+
function N(m) {
|
|
553
562
|
if (typeof m == "object" && m !== null) {
|
|
554
|
-
var
|
|
555
|
-
switch (
|
|
563
|
+
var v = m.$$typeof;
|
|
564
|
+
switch (v) {
|
|
556
565
|
case t:
|
|
557
566
|
switch (m = m.type, m) {
|
|
558
567
|
case u:
|
|
@@ -571,55 +580,55 @@ function Di() {
|
|
|
571
580
|
case o:
|
|
572
581
|
return m;
|
|
573
582
|
default:
|
|
574
|
-
return
|
|
583
|
+
return v;
|
|
575
584
|
}
|
|
576
585
|
}
|
|
577
586
|
case n:
|
|
578
|
-
return
|
|
587
|
+
return v;
|
|
579
588
|
}
|
|
580
589
|
}
|
|
581
590
|
}
|
|
582
|
-
function
|
|
583
|
-
return
|
|
591
|
+
function T(m) {
|
|
592
|
+
return N(m) === l;
|
|
584
593
|
}
|
|
585
594
|
return k.AsyncMode = u, k.ConcurrentMode = l, k.ContextConsumer = d, k.ContextProvider = o, k.Element = t, k.ForwardRef = c, k.Fragment = r, k.Lazy = y, k.Memo = f, k.Portal = n, k.Profiler = a, k.StrictMode = i, k.Suspense = $, k.isAsyncMode = function(m) {
|
|
586
|
-
return
|
|
587
|
-
}, k.isConcurrentMode =
|
|
588
|
-
return
|
|
595
|
+
return T(m) || N(m) === u;
|
|
596
|
+
}, k.isConcurrentMode = T, k.isContextConsumer = function(m) {
|
|
597
|
+
return N(m) === d;
|
|
589
598
|
}, k.isContextProvider = function(m) {
|
|
590
|
-
return
|
|
599
|
+
return N(m) === o;
|
|
591
600
|
}, k.isElement = function(m) {
|
|
592
601
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
593
602
|
}, k.isForwardRef = function(m) {
|
|
594
|
-
return
|
|
603
|
+
return N(m) === c;
|
|
595
604
|
}, k.isFragment = function(m) {
|
|
596
|
-
return
|
|
605
|
+
return N(m) === r;
|
|
597
606
|
}, k.isLazy = function(m) {
|
|
598
|
-
return
|
|
607
|
+
return N(m) === y;
|
|
599
608
|
}, k.isMemo = function(m) {
|
|
600
|
-
return
|
|
609
|
+
return N(m) === f;
|
|
601
610
|
}, k.isPortal = function(m) {
|
|
602
|
-
return
|
|
611
|
+
return N(m) === n;
|
|
603
612
|
}, k.isProfiler = function(m) {
|
|
604
|
-
return
|
|
613
|
+
return N(m) === a;
|
|
605
614
|
}, k.isStrictMode = function(m) {
|
|
606
|
-
return
|
|
615
|
+
return N(m) === i;
|
|
607
616
|
}, k.isSuspense = function(m) {
|
|
608
|
-
return
|
|
617
|
+
return N(m) === $;
|
|
609
618
|
}, k.isValidElementType = function(m) {
|
|
610
|
-
return typeof m == "string" || typeof m == "function" || m === r || m === l || m === a || m === i || m === $ || m === s || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === f || m.$$typeof === o || m.$$typeof === d || m.$$typeof === c || m.$$typeof === p || m.$$typeof === P || m.$$typeof ===
|
|
611
|
-
}, k.typeOf =
|
|
619
|
+
return typeof m == "string" || typeof m == "function" || m === r || m === l || m === a || m === i || m === $ || m === s || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === f || m.$$typeof === o || m.$$typeof === d || m.$$typeof === c || m.$$typeof === p || m.$$typeof === P || m.$$typeof === O || m.$$typeof === h);
|
|
620
|
+
}, k.typeOf = N, k;
|
|
612
621
|
}
|
|
613
622
|
var j = {};
|
|
614
|
-
var
|
|
623
|
+
var rn;
|
|
615
624
|
function ki() {
|
|
616
|
-
return
|
|
617
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, o = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, $ = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, s = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, p = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, P = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118,
|
|
618
|
-
function
|
|
625
|
+
return rn || (rn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
626
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, n = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, r = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, o = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, d = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, u = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, $ = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, s = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, y = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, h = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, p = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, P = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, O = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
627
|
+
function N(C) {
|
|
619
628
|
return typeof C == "string" || typeof C == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
620
|
-
C === r || C === l || C === a || C === i || C === $ || C === s || typeof C == "object" && C !== null && (C.$$typeof === y || C.$$typeof === f || C.$$typeof === o || C.$$typeof === d || C.$$typeof === c || C.$$typeof === p || C.$$typeof === P || C.$$typeof ===
|
|
629
|
+
C === r || C === l || C === a || C === i || C === $ || C === s || typeof C == "object" && C !== null && (C.$$typeof === y || C.$$typeof === f || C.$$typeof === o || C.$$typeof === d || C.$$typeof === c || C.$$typeof === p || C.$$typeof === P || C.$$typeof === O || C.$$typeof === h);
|
|
621
630
|
}
|
|
622
|
-
function
|
|
631
|
+
function T(C) {
|
|
623
632
|
if (typeof C == "object" && C !== null) {
|
|
624
633
|
var ne = C.$$typeof;
|
|
625
634
|
switch (ne) {
|
|
@@ -634,14 +643,14 @@ function ki() {
|
|
|
634
643
|
case $:
|
|
635
644
|
return ke;
|
|
636
645
|
default:
|
|
637
|
-
var
|
|
638
|
-
switch (
|
|
646
|
+
var Zt = ke && ke.$$typeof;
|
|
647
|
+
switch (Zt) {
|
|
639
648
|
case d:
|
|
640
649
|
case c:
|
|
641
650
|
case y:
|
|
642
651
|
case f:
|
|
643
652
|
case o:
|
|
644
|
-
return
|
|
653
|
+
return Zt;
|
|
645
654
|
default:
|
|
646
655
|
return ne;
|
|
647
656
|
}
|
|
@@ -651,57 +660,57 @@ function ki() {
|
|
|
651
660
|
}
|
|
652
661
|
}
|
|
653
662
|
}
|
|
654
|
-
var m = u,
|
|
663
|
+
var m = u, v = l, A = d, F = o, G = t, B = c, W = r, K = y, q = f, te = n, $e = a, J = i, X = $, oe = !1;
|
|
655
664
|
function De(C) {
|
|
656
|
-
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
665
|
+
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), b(C) || T(C) === u;
|
|
657
666
|
}
|
|
658
|
-
function
|
|
659
|
-
return
|
|
667
|
+
function b(C) {
|
|
668
|
+
return T(C) === l;
|
|
660
669
|
}
|
|
661
|
-
function
|
|
662
|
-
return
|
|
670
|
+
function E(C) {
|
|
671
|
+
return T(C) === d;
|
|
663
672
|
}
|
|
664
673
|
function x(C) {
|
|
665
|
-
return
|
|
674
|
+
return T(C) === o;
|
|
666
675
|
}
|
|
667
676
|
function w(C) {
|
|
668
677
|
return typeof C == "object" && C !== null && C.$$typeof === t;
|
|
669
678
|
}
|
|
670
679
|
function I(C) {
|
|
671
|
-
return
|
|
680
|
+
return T(C) === c;
|
|
672
681
|
}
|
|
673
682
|
function M(C) {
|
|
674
|
-
return
|
|
683
|
+
return T(C) === r;
|
|
675
684
|
}
|
|
676
685
|
function _(C) {
|
|
677
|
-
return
|
|
686
|
+
return T(C) === y;
|
|
678
687
|
}
|
|
679
688
|
function R(C) {
|
|
680
|
-
return
|
|
689
|
+
return T(C) === f;
|
|
681
690
|
}
|
|
682
691
|
function L(C) {
|
|
683
|
-
return
|
|
692
|
+
return T(C) === n;
|
|
684
693
|
}
|
|
685
694
|
function U(C) {
|
|
686
|
-
return
|
|
695
|
+
return T(C) === a;
|
|
687
696
|
}
|
|
688
697
|
function D(C) {
|
|
689
|
-
return
|
|
698
|
+
return T(C) === i;
|
|
690
699
|
}
|
|
691
700
|
function Z(C) {
|
|
692
|
-
return
|
|
701
|
+
return T(C) === $;
|
|
693
702
|
}
|
|
694
|
-
j.AsyncMode = m, j.ConcurrentMode =
|
|
703
|
+
j.AsyncMode = m, j.ConcurrentMode = v, j.ContextConsumer = A, j.ContextProvider = F, j.Element = G, j.ForwardRef = B, j.Fragment = W, j.Lazy = K, j.Memo = q, j.Portal = te, j.Profiler = $e, j.StrictMode = J, j.Suspense = X, j.isAsyncMode = De, j.isConcurrentMode = b, j.isContextConsumer = E, j.isContextProvider = x, j.isElement = w, j.isForwardRef = I, j.isFragment = M, j.isLazy = _, j.isMemo = R, j.isPortal = L, j.isProfiler = U, j.isStrictMode = D, j.isSuspense = Z, j.isValidElementType = N, j.typeOf = T;
|
|
695
704
|
})()), j;
|
|
696
705
|
}
|
|
697
|
-
var
|
|
706
|
+
var an;
|
|
698
707
|
function $r() {
|
|
699
|
-
return
|
|
708
|
+
return an || (an = 1, process.env.NODE_ENV === "production" ? Ge.exports = Di() : Ge.exports = ki()), Ge.exports;
|
|
700
709
|
}
|
|
701
|
-
var ot,
|
|
710
|
+
var ot, on;
|
|
702
711
|
function ji() {
|
|
703
|
-
if (
|
|
704
|
-
|
|
712
|
+
if (on) return ot;
|
|
713
|
+
on = 1;
|
|
705
714
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
706
715
|
function r(a) {
|
|
707
716
|
if (a == null)
|
|
@@ -744,25 +753,25 @@ function ji() {
|
|
|
744
753
|
return u;
|
|
745
754
|
}, ot;
|
|
746
755
|
}
|
|
747
|
-
var dt,
|
|
748
|
-
function
|
|
749
|
-
if (
|
|
750
|
-
|
|
756
|
+
var dt, dn;
|
|
757
|
+
function Gt() {
|
|
758
|
+
if (dn) return dt;
|
|
759
|
+
dn = 1;
|
|
751
760
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
752
761
|
return dt = e, dt;
|
|
753
762
|
}
|
|
754
|
-
var ut,
|
|
763
|
+
var ut, un;
|
|
755
764
|
function pr() {
|
|
756
|
-
return
|
|
765
|
+
return un || (un = 1, ut = Function.call.bind(Object.prototype.hasOwnProperty)), ut;
|
|
757
766
|
}
|
|
758
|
-
var lt,
|
|
767
|
+
var lt, ln;
|
|
759
768
|
function Gi() {
|
|
760
|
-
if (
|
|
761
|
-
|
|
769
|
+
if (ln) return lt;
|
|
770
|
+
ln = 1;
|
|
762
771
|
var e = function() {
|
|
763
772
|
};
|
|
764
773
|
if (process.env.NODE_ENV !== "production") {
|
|
765
|
-
var t = /* @__PURE__ */
|
|
774
|
+
var t = /* @__PURE__ */ Gt(), n = {}, r = /* @__PURE__ */ pr();
|
|
766
775
|
e = function(a) {
|
|
767
776
|
var o = "Warning: " + a;
|
|
768
777
|
typeof console < "u" && console.error(o);
|
|
@@ -804,11 +813,11 @@ function Gi() {
|
|
|
804
813
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
805
814
|
}, lt = i, lt;
|
|
806
815
|
}
|
|
807
|
-
var st,
|
|
816
|
+
var st, sn;
|
|
808
817
|
function Ui() {
|
|
809
|
-
if (
|
|
810
|
-
|
|
811
|
-
var e = $r(), t = ji(), n = /* @__PURE__ */
|
|
818
|
+
if (sn) return st;
|
|
819
|
+
sn = 1;
|
|
820
|
+
var e = $r(), t = ji(), n = /* @__PURE__ */ Gt(), r = /* @__PURE__ */ pr(), i = /* @__PURE__ */ Gi(), a = function() {
|
|
812
821
|
};
|
|
813
822
|
process.env.NODE_ENV !== "production" && (a = function(d) {
|
|
814
823
|
var u = "Warning: " + d;
|
|
@@ -823,10 +832,10 @@ function Ui() {
|
|
|
823
832
|
}
|
|
824
833
|
return st = function(d, u) {
|
|
825
834
|
var l = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
|
|
826
|
-
function $(
|
|
827
|
-
var
|
|
828
|
-
if (typeof
|
|
829
|
-
return
|
|
835
|
+
function $(b) {
|
|
836
|
+
var E = b && (l && b[l] || b[c]);
|
|
837
|
+
if (typeof E == "function")
|
|
838
|
+
return E;
|
|
830
839
|
}
|
|
831
840
|
var s = "<<anonymous>>", f = {
|
|
832
841
|
array: P("array"),
|
|
@@ -837,11 +846,11 @@ function Ui() {
|
|
|
837
846
|
object: P("object"),
|
|
838
847
|
string: P("string"),
|
|
839
848
|
symbol: P("symbol"),
|
|
840
|
-
any:
|
|
841
|
-
arrayOf:
|
|
842
|
-
element:
|
|
849
|
+
any: O(),
|
|
850
|
+
arrayOf: N,
|
|
851
|
+
element: T(),
|
|
843
852
|
elementType: m(),
|
|
844
|
-
instanceOf:
|
|
853
|
+
instanceOf: v,
|
|
845
854
|
node: B(),
|
|
846
855
|
objectOf: F,
|
|
847
856
|
oneOf: A,
|
|
@@ -849,16 +858,16 @@ function Ui() {
|
|
|
849
858
|
shape: K,
|
|
850
859
|
exact: q
|
|
851
860
|
};
|
|
852
|
-
function y(
|
|
853
|
-
return
|
|
861
|
+
function y(b, E) {
|
|
862
|
+
return b === E ? b !== 0 || 1 / b === 1 / E : b !== b && E !== E;
|
|
854
863
|
}
|
|
855
|
-
function h(
|
|
856
|
-
this.message =
|
|
864
|
+
function h(b, E) {
|
|
865
|
+
this.message = b, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
|
|
857
866
|
}
|
|
858
867
|
h.prototype = Error.prototype;
|
|
859
|
-
function p(
|
|
868
|
+
function p(b) {
|
|
860
869
|
if (process.env.NODE_ENV !== "production")
|
|
861
|
-
var
|
|
870
|
+
var E = {}, x = 0;
|
|
862
871
|
function w(M, _, R, L, U, D, Z) {
|
|
863
872
|
if (L = L || s, D = D || R, Z !== n) {
|
|
864
873
|
if (u) {
|
|
@@ -868,37 +877,37 @@ function Ui() {
|
|
|
868
877
|
throw C.name = "Invariant Violation", C;
|
|
869
878
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
870
879
|
var ne = L + ":" + R;
|
|
871
|
-
!
|
|
880
|
+
!E[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
872
881
|
x < 3 && (a(
|
|
873
882
|
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + L + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
874
|
-
),
|
|
883
|
+
), E[ne] = !0, x++);
|
|
875
884
|
}
|
|
876
885
|
}
|
|
877
|
-
return _[R] == null ? M ? _[R] === null ? new h("The " + U + " `" + D + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new h("The " + U + " `" + D + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null :
|
|
886
|
+
return _[R] == null ? M ? _[R] === null ? new h("The " + U + " `" + D + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new h("The " + U + " `" + D + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : b(_, R, L, U, D);
|
|
878
887
|
}
|
|
879
888
|
var I = w.bind(null, !1);
|
|
880
889
|
return I.isRequired = w.bind(null, !0), I;
|
|
881
890
|
}
|
|
882
|
-
function P(
|
|
883
|
-
function
|
|
891
|
+
function P(b) {
|
|
892
|
+
function E(x, w, I, M, _, R) {
|
|
884
893
|
var L = x[w], U = J(L);
|
|
885
|
-
if (U !==
|
|
894
|
+
if (U !== b) {
|
|
886
895
|
var D = X(L);
|
|
887
896
|
return new h(
|
|
888
|
-
"Invalid " + M + " `" + _ + "` of type " + ("`" + D + "` supplied to `" + I + "`, expected ") + ("`" +
|
|
889
|
-
{ expectedType:
|
|
897
|
+
"Invalid " + M + " `" + _ + "` of type " + ("`" + D + "` supplied to `" + I + "`, expected ") + ("`" + b + "`."),
|
|
898
|
+
{ expectedType: b }
|
|
890
899
|
);
|
|
891
900
|
}
|
|
892
901
|
return null;
|
|
893
902
|
}
|
|
894
|
-
return p(
|
|
903
|
+
return p(E);
|
|
895
904
|
}
|
|
896
|
-
function
|
|
905
|
+
function O() {
|
|
897
906
|
return p(o);
|
|
898
907
|
}
|
|
899
|
-
function
|
|
900
|
-
function
|
|
901
|
-
if (typeof
|
|
908
|
+
function N(b) {
|
|
909
|
+
function E(x, w, I, M, _) {
|
|
910
|
+
if (typeof b != "function")
|
|
902
911
|
return new h("Property `" + _ + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
903
912
|
var R = x[w];
|
|
904
913
|
if (!Array.isArray(R)) {
|
|
@@ -906,93 +915,93 @@ function Ui() {
|
|
|
906
915
|
return new h("Invalid " + M + " `" + _ + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected an array."));
|
|
907
916
|
}
|
|
908
917
|
for (var U = 0; U < R.length; U++) {
|
|
909
|
-
var D =
|
|
918
|
+
var D = b(R, U, I, M, _ + "[" + U + "]", n);
|
|
910
919
|
if (D instanceof Error)
|
|
911
920
|
return D;
|
|
912
921
|
}
|
|
913
922
|
return null;
|
|
914
923
|
}
|
|
915
|
-
return p(
|
|
924
|
+
return p(E);
|
|
916
925
|
}
|
|
917
|
-
function
|
|
918
|
-
function
|
|
919
|
-
var _ =
|
|
926
|
+
function T() {
|
|
927
|
+
function b(E, x, w, I, M) {
|
|
928
|
+
var _ = E[x];
|
|
920
929
|
if (!d(_)) {
|
|
921
930
|
var R = J(_);
|
|
922
931
|
return new h("Invalid " + I + " `" + M + "` of type " + ("`" + R + "` supplied to `" + w + "`, expected a single ReactElement."));
|
|
923
932
|
}
|
|
924
933
|
return null;
|
|
925
934
|
}
|
|
926
|
-
return p(
|
|
935
|
+
return p(b);
|
|
927
936
|
}
|
|
928
937
|
function m() {
|
|
929
|
-
function
|
|
930
|
-
var _ =
|
|
938
|
+
function b(E, x, w, I, M) {
|
|
939
|
+
var _ = E[x];
|
|
931
940
|
if (!e.isValidElementType(_)) {
|
|
932
941
|
var R = J(_);
|
|
933
942
|
return new h("Invalid " + I + " `" + M + "` of type " + ("`" + R + "` supplied to `" + w + "`, expected a single ReactElement type."));
|
|
934
943
|
}
|
|
935
944
|
return null;
|
|
936
945
|
}
|
|
937
|
-
return p(
|
|
946
|
+
return p(b);
|
|
938
947
|
}
|
|
939
|
-
function b
|
|
940
|
-
function
|
|
941
|
-
if (!(x[w] instanceof
|
|
942
|
-
var R =
|
|
948
|
+
function v(b) {
|
|
949
|
+
function E(x, w, I, M, _) {
|
|
950
|
+
if (!(x[w] instanceof b)) {
|
|
951
|
+
var R = b.name || s, L = De(x[w]);
|
|
943
952
|
return new h("Invalid " + M + " `" + _ + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected ") + ("instance of `" + R + "`."));
|
|
944
953
|
}
|
|
945
954
|
return null;
|
|
946
955
|
}
|
|
947
|
-
return p(
|
|
956
|
+
return p(E);
|
|
948
957
|
}
|
|
949
|
-
function A(
|
|
950
|
-
if (!Array.isArray(
|
|
958
|
+
function A(b) {
|
|
959
|
+
if (!Array.isArray(b))
|
|
951
960
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
952
961
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
953
962
|
) : a("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
954
|
-
function
|
|
955
|
-
for (var R = x[w], L = 0; L <
|
|
956
|
-
if (y(R,
|
|
963
|
+
function E(x, w, I, M, _) {
|
|
964
|
+
for (var R = x[w], L = 0; L < b.length; L++)
|
|
965
|
+
if (y(R, b[L]))
|
|
957
966
|
return null;
|
|
958
|
-
var U = JSON.stringify(
|
|
967
|
+
var U = JSON.stringify(b, function(Z, C) {
|
|
959
968
|
var ne = X(C);
|
|
960
969
|
return ne === "symbol" ? String(C) : C;
|
|
961
970
|
});
|
|
962
971
|
return new h("Invalid " + M + " `" + _ + "` of value `" + String(R) + "` " + ("supplied to `" + I + "`, expected one of " + U + "."));
|
|
963
972
|
}
|
|
964
|
-
return p(
|
|
973
|
+
return p(E);
|
|
965
974
|
}
|
|
966
|
-
function F(
|
|
967
|
-
function
|
|
968
|
-
if (typeof
|
|
975
|
+
function F(b) {
|
|
976
|
+
function E(x, w, I, M, _) {
|
|
977
|
+
if (typeof b != "function")
|
|
969
978
|
return new h("Property `" + _ + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
970
979
|
var R = x[w], L = J(R);
|
|
971
980
|
if (L !== "object")
|
|
972
981
|
return new h("Invalid " + M + " `" + _ + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected an object."));
|
|
973
982
|
for (var U in R)
|
|
974
983
|
if (r(R, U)) {
|
|
975
|
-
var D =
|
|
984
|
+
var D = b(R, U, I, M, _ + "." + U, n);
|
|
976
985
|
if (D instanceof Error)
|
|
977
986
|
return D;
|
|
978
987
|
}
|
|
979
988
|
return null;
|
|
980
989
|
}
|
|
981
|
-
return p(
|
|
990
|
+
return p(E);
|
|
982
991
|
}
|
|
983
|
-
function G(
|
|
984
|
-
if (!Array.isArray(
|
|
992
|
+
function G(b) {
|
|
993
|
+
if (!Array.isArray(b))
|
|
985
994
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
|
|
986
|
-
for (var
|
|
987
|
-
var x =
|
|
995
|
+
for (var E = 0; E < b.length; E++) {
|
|
996
|
+
var x = b[E];
|
|
988
997
|
if (typeof x != "function")
|
|
989
998
|
return a(
|
|
990
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(x) + " at index " +
|
|
999
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(x) + " at index " + E + "."
|
|
991
1000
|
), o;
|
|
992
1001
|
}
|
|
993
1002
|
function w(I, M, _, R, L) {
|
|
994
|
-
for (var U = [], D = 0; D <
|
|
995
|
-
var Z =
|
|
1003
|
+
for (var U = [], D = 0; D < b.length; D++) {
|
|
1004
|
+
var Z = b[D], C = Z(I, M, _, R, L, n);
|
|
996
1005
|
if (C == null)
|
|
997
1006
|
return null;
|
|
998
1007
|
C.data && r(C.data, "expectedType") && U.push(C.data.expectedType);
|
|
@@ -1003,23 +1012,23 @@ function Ui() {
|
|
|
1003
1012
|
return p(w);
|
|
1004
1013
|
}
|
|
1005
1014
|
function B() {
|
|
1006
|
-
function
|
|
1007
|
-
return te(
|
|
1015
|
+
function b(E, x, w, I, M) {
|
|
1016
|
+
return te(E[x]) ? null : new h("Invalid " + I + " `" + M + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
|
|
1008
1017
|
}
|
|
1009
|
-
return p(
|
|
1018
|
+
return p(b);
|
|
1010
1019
|
}
|
|
1011
|
-
function W(
|
|
1020
|
+
function W(b, E, x, w, I) {
|
|
1012
1021
|
return new h(
|
|
1013
|
-
(
|
|
1022
|
+
(b || "React class") + ": " + E + " type `" + x + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1014
1023
|
);
|
|
1015
1024
|
}
|
|
1016
|
-
function K(
|
|
1017
|
-
function
|
|
1025
|
+
function K(b) {
|
|
1026
|
+
function E(x, w, I, M, _) {
|
|
1018
1027
|
var R = x[w], L = J(R);
|
|
1019
1028
|
if (L !== "object")
|
|
1020
1029
|
return new h("Invalid " + M + " `" + _ + "` of type `" + L + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1021
|
-
for (var U in
|
|
1022
|
-
var D =
|
|
1030
|
+
for (var U in b) {
|
|
1031
|
+
var D = b[U];
|
|
1023
1032
|
if (typeof D != "function")
|
|
1024
1033
|
return W(I, M, _, U, X(D));
|
|
1025
1034
|
var Z = D(R, U, I, M, _ + "." + U, n);
|
|
@@ -1028,22 +1037,22 @@ function Ui() {
|
|
|
1028
1037
|
}
|
|
1029
1038
|
return null;
|
|
1030
1039
|
}
|
|
1031
|
-
return p(
|
|
1040
|
+
return p(E);
|
|
1032
1041
|
}
|
|
1033
|
-
function q(
|
|
1034
|
-
function
|
|
1042
|
+
function q(b) {
|
|
1043
|
+
function E(x, w, I, M, _) {
|
|
1035
1044
|
var R = x[w], L = J(R);
|
|
1036
1045
|
if (L !== "object")
|
|
1037
1046
|
return new h("Invalid " + M + " `" + _ + "` of type `" + L + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1038
|
-
var U = t({}, x[w],
|
|
1047
|
+
var U = t({}, x[w], b);
|
|
1039
1048
|
for (var D in U) {
|
|
1040
|
-
var Z =
|
|
1041
|
-
if (r(
|
|
1049
|
+
var Z = b[D];
|
|
1050
|
+
if (r(b, D) && typeof Z != "function")
|
|
1042
1051
|
return W(I, M, _, D, X(Z));
|
|
1043
1052
|
if (!Z)
|
|
1044
1053
|
return new h(
|
|
1045
1054
|
"Invalid " + M + " `" + _ + "` key `" + D + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(x[w], null, " ") + `
|
|
1046
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1055
|
+
Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
1047
1056
|
);
|
|
1048
1057
|
var C = Z(R, D, I, M, _ + "." + D, n);
|
|
1049
1058
|
if (C)
|
|
@@ -1051,25 +1060,25 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1051
1060
|
}
|
|
1052
1061
|
return null;
|
|
1053
1062
|
}
|
|
1054
|
-
return p(
|
|
1063
|
+
return p(E);
|
|
1055
1064
|
}
|
|
1056
|
-
function te(
|
|
1057
|
-
switch (typeof
|
|
1065
|
+
function te(b) {
|
|
1066
|
+
switch (typeof b) {
|
|
1058
1067
|
case "number":
|
|
1059
1068
|
case "string":
|
|
1060
1069
|
case "undefined":
|
|
1061
1070
|
return !0;
|
|
1062
1071
|
case "boolean":
|
|
1063
|
-
return !
|
|
1072
|
+
return !b;
|
|
1064
1073
|
case "object":
|
|
1065
|
-
if (Array.isArray(
|
|
1066
|
-
return
|
|
1067
|
-
if (
|
|
1074
|
+
if (Array.isArray(b))
|
|
1075
|
+
return b.every(te);
|
|
1076
|
+
if (b === null || d(b))
|
|
1068
1077
|
return !0;
|
|
1069
|
-
var
|
|
1070
|
-
if (
|
|
1071
|
-
var x =
|
|
1072
|
-
if (
|
|
1078
|
+
var E = $(b);
|
|
1079
|
+
if (E) {
|
|
1080
|
+
var x = E.call(b), w;
|
|
1081
|
+
if (E !== b.entries) {
|
|
1073
1082
|
for (; !(w = x.next()).done; )
|
|
1074
1083
|
if (!te(w.value))
|
|
1075
1084
|
return !1;
|
|
@@ -1086,50 +1095,50 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1086
1095
|
return !1;
|
|
1087
1096
|
}
|
|
1088
1097
|
}
|
|
1089
|
-
function $e(
|
|
1090
|
-
return
|
|
1098
|
+
function $e(b, E) {
|
|
1099
|
+
return b === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
|
|
1091
1100
|
}
|
|
1092
|
-
function J(
|
|
1093
|
-
var
|
|
1094
|
-
return Array.isArray(
|
|
1101
|
+
function J(b) {
|
|
1102
|
+
var E = typeof b;
|
|
1103
|
+
return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : $e(E, b) ? "symbol" : E;
|
|
1095
1104
|
}
|
|
1096
|
-
function X(
|
|
1097
|
-
if (typeof
|
|
1098
|
-
return "" +
|
|
1099
|
-
var
|
|
1100
|
-
if (
|
|
1101
|
-
if (
|
|
1105
|
+
function X(b) {
|
|
1106
|
+
if (typeof b > "u" || b === null)
|
|
1107
|
+
return "" + b;
|
|
1108
|
+
var E = J(b);
|
|
1109
|
+
if (E === "object") {
|
|
1110
|
+
if (b instanceof Date)
|
|
1102
1111
|
return "date";
|
|
1103
|
-
if (
|
|
1112
|
+
if (b instanceof RegExp)
|
|
1104
1113
|
return "regexp";
|
|
1105
1114
|
}
|
|
1106
|
-
return
|
|
1115
|
+
return E;
|
|
1107
1116
|
}
|
|
1108
|
-
function oe(
|
|
1109
|
-
var
|
|
1110
|
-
switch (
|
|
1117
|
+
function oe(b) {
|
|
1118
|
+
var E = X(b);
|
|
1119
|
+
switch (E) {
|
|
1111
1120
|
case "array":
|
|
1112
1121
|
case "object":
|
|
1113
|
-
return "an " +
|
|
1122
|
+
return "an " + E;
|
|
1114
1123
|
case "boolean":
|
|
1115
1124
|
case "date":
|
|
1116
1125
|
case "regexp":
|
|
1117
|
-
return "a " +
|
|
1126
|
+
return "a " + E;
|
|
1118
1127
|
default:
|
|
1119
|
-
return
|
|
1128
|
+
return E;
|
|
1120
1129
|
}
|
|
1121
1130
|
}
|
|
1122
|
-
function De(
|
|
1123
|
-
return !
|
|
1131
|
+
function De(b) {
|
|
1132
|
+
return !b.constructor || !b.constructor.name ? s : b.constructor.name;
|
|
1124
1133
|
}
|
|
1125
1134
|
return f.checkPropTypes = i, f.resetWarningCache = i.resetWarningCache, f.PropTypes = f, f;
|
|
1126
1135
|
}, st;
|
|
1127
1136
|
}
|
|
1128
|
-
var ct,
|
|
1137
|
+
var ct, cn;
|
|
1129
1138
|
function Bi() {
|
|
1130
|
-
if (
|
|
1131
|
-
|
|
1132
|
-
var e = /* @__PURE__ */
|
|
1139
|
+
if (cn) return ct;
|
|
1140
|
+
cn = 1;
|
|
1141
|
+
var e = /* @__PURE__ */ Gt();
|
|
1133
1142
|
function t() {
|
|
1134
1143
|
}
|
|
1135
1144
|
function n() {
|
|
@@ -1173,10 +1182,10 @@ function Bi() {
|
|
|
1173
1182
|
return a.PropTypes = a, a;
|
|
1174
1183
|
}, ct;
|
|
1175
1184
|
}
|
|
1176
|
-
var
|
|
1185
|
+
var fn;
|
|
1177
1186
|
function Wi() {
|
|
1178
|
-
if (
|
|
1179
|
-
if (
|
|
1187
|
+
if (fn) return je.exports;
|
|
1188
|
+
if (fn = 1, process.env.NODE_ENV !== "production") {
|
|
1180
1189
|
var e = $r(), t = !0;
|
|
1181
1190
|
je.exports = /* @__PURE__ */ Ui()(e.isElement, t);
|
|
1182
1191
|
} else
|
|
@@ -1186,9 +1195,9 @@ function Wi() {
|
|
|
1186
1195
|
var Hi = /* @__PURE__ */ Wi();
|
|
1187
1196
|
const g = /* @__PURE__ */ lr(Hi);
|
|
1188
1197
|
var ft = { exports: {} };
|
|
1189
|
-
var
|
|
1198
|
+
var $n;
|
|
1190
1199
|
function Vi() {
|
|
1191
|
-
return
|
|
1200
|
+
return $n || ($n = 1, (function(e) {
|
|
1192
1201
|
(function() {
|
|
1193
1202
|
var t = {}.hasOwnProperty;
|
|
1194
1203
|
function n() {
|
|
@@ -1262,19 +1271,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1262
1271
|
}
|
|
1263
1272
|
function Xi(e, t) {
|
|
1264
1273
|
if (e) {
|
|
1265
|
-
if (typeof e == "string") return
|
|
1274
|
+
if (typeof e == "string") return pn(e, t);
|
|
1266
1275
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
1267
1276
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
1268
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
1277
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return pn(e, t);
|
|
1269
1278
|
}
|
|
1270
1279
|
}
|
|
1271
|
-
function
|
|
1280
|
+
function pn(e, t) {
|
|
1272
1281
|
(t == null || t > e.length) && (t = e.length);
|
|
1273
1282
|
for (var n = 0, r = new Array(t); n < t; n++)
|
|
1274
1283
|
r[n] = e[n];
|
|
1275
1284
|
return r;
|
|
1276
1285
|
}
|
|
1277
|
-
function
|
|
1286
|
+
function gt(e, t) {
|
|
1278
1287
|
for (var n = 0, r = Zi(t.split("")), i; !(i = r()).done; ) {
|
|
1279
1288
|
var a = i.value;
|
|
1280
1289
|
a === e && n++;
|
|
@@ -1282,7 +1291,7 @@ function mt(e, t) {
|
|
|
1282
1291
|
return n;
|
|
1283
1292
|
}
|
|
1284
1293
|
function Ji(e, t) {
|
|
1285
|
-
for (var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "x", r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : " ", i = e.length, a =
|
|
1294
|
+
for (var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "x", r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : " ", i = e.length, a = gt("(", e), o = gt(")", e), d = a - o; d > 0 && i < t.length; )
|
|
1286
1295
|
e += t[i].replace(n, r), t[i] === ")" && d--, i++;
|
|
1287
1296
|
return e;
|
|
1288
1297
|
}
|
|
@@ -1301,13 +1310,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1301
1310
|
}
|
|
1302
1311
|
function Qi(e, t) {
|
|
1303
1312
|
if (e) {
|
|
1304
|
-
if (typeof e == "string") return
|
|
1313
|
+
if (typeof e == "string") return yn(e, t);
|
|
1305
1314
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
1306
1315
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
1307
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
1316
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return yn(e, t);
|
|
1308
1317
|
}
|
|
1309
1318
|
}
|
|
1310
|
-
function
|
|
1319
|
+
function yn(e, t) {
|
|
1311
1320
|
(t == null || t > e.length) && (t = e.length);
|
|
1312
1321
|
for (var n = 0, r = new Array(t); n < t; n++)
|
|
1313
1322
|
r[n] = e[n];
|
|
@@ -1321,7 +1330,7 @@ function ea(e) {
|
|
|
1321
1330
|
text: i
|
|
1322
1331
|
};
|
|
1323
1332
|
};
|
|
1324
|
-
var r =
|
|
1333
|
+
var r = gt(t, e);
|
|
1325
1334
|
return function(i) {
|
|
1326
1335
|
if (!i)
|
|
1327
1336
|
return {
|
|
@@ -1377,15 +1386,15 @@ function ra(e) {
|
|
|
1377
1386
|
end: e.selectionEnd
|
|
1378
1387
|
};
|
|
1379
1388
|
}
|
|
1380
|
-
var
|
|
1389
|
+
var hn = {
|
|
1381
1390
|
Backspace: 8,
|
|
1382
1391
|
Delete: 46
|
|
1383
1392
|
};
|
|
1384
1393
|
function ia(e) {
|
|
1385
1394
|
switch (e.keyCode) {
|
|
1386
|
-
case
|
|
1395
|
+
case hn.Backspace:
|
|
1387
1396
|
return "Backspace";
|
|
1388
|
-
case
|
|
1397
|
+
case hn.Delete:
|
|
1389
1398
|
return "Delete";
|
|
1390
1399
|
}
|
|
1391
1400
|
}
|
|
@@ -1403,7 +1412,7 @@ function oa() {
|
|
|
1403
1412
|
}
|
|
1404
1413
|
var da = /Android/i;
|
|
1405
1414
|
function ua(e, t, n, r, i) {
|
|
1406
|
-
|
|
1415
|
+
vt(t, n, r, void 0, i);
|
|
1407
1416
|
}
|
|
1408
1417
|
function la(e, t, n, r, i) {
|
|
1409
1418
|
if (!na(t)) {
|
|
@@ -1413,7 +1422,7 @@ function la(e, t, n, r, i) {
|
|
|
1413
1422
|
case "Backspace":
|
|
1414
1423
|
e.preventDefault();
|
|
1415
1424
|
var o = ra(t);
|
|
1416
|
-
return o ? (sa(t, o),
|
|
1425
|
+
return o ? (sa(t, o), vt(t, n, r, void 0, i)) : vt(t, n, r, a, i);
|
|
1417
1426
|
}
|
|
1418
1427
|
}
|
|
1419
1428
|
}
|
|
@@ -1421,7 +1430,7 @@ function sa(e, t) {
|
|
|
1421
1430
|
var n = e.value;
|
|
1422
1431
|
n = n.slice(0, t.start) + n.slice(t.end), e.value = n, yr(e, t.start);
|
|
1423
1432
|
}
|
|
1424
|
-
function
|
|
1433
|
+
function vt(e, t, n, r, i) {
|
|
1425
1434
|
var a = qi(e.value, aa(e), t), o = a.value, d = a.caret;
|
|
1426
1435
|
if (r) {
|
|
1427
1436
|
var u = Yi(o, d, r);
|
|
@@ -1431,7 +1440,7 @@ function gt(e, t, n, r, i) {
|
|
|
1431
1440
|
d = l.caret, e.value = c, yr(e, d), i && i(o);
|
|
1432
1441
|
}
|
|
1433
1442
|
var ca = ["ref", "parse", "format", "value", "defaultValue", "controlled", "onChange", "onKeyDown"];
|
|
1434
|
-
function
|
|
1443
|
+
function mn(e, t) {
|
|
1435
1444
|
var n = Object.keys(e);
|
|
1436
1445
|
if (Object.getOwnPropertySymbols) {
|
|
1437
1446
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -1444,9 +1453,9 @@ function hn(e, t) {
|
|
|
1444
1453
|
function pe(e) {
|
|
1445
1454
|
for (var t = 1; t < arguments.length; t++) {
|
|
1446
1455
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1447
|
-
t % 2 ?
|
|
1456
|
+
t % 2 ? mn(Object(n), !0).forEach(function(r) {
|
|
1448
1457
|
fa(e, r, n[r]);
|
|
1449
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1458
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mn(Object(n)).forEach(function(r) {
|
|
1450
1459
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1451
1460
|
});
|
|
1452
1461
|
}
|
|
@@ -1486,16 +1495,16 @@ function ya(e) {
|
|
|
1486
1495
|
onKeyDown: y
|
|
1487
1496
|
});
|
|
1488
1497
|
return d ? pe(pe({}, h), {}, {
|
|
1489
|
-
value: r(
|
|
1498
|
+
value: r(gn(i) ? "" : i).text
|
|
1490
1499
|
}) : pe(pe({}, h), {}, {
|
|
1491
|
-
defaultValue: r(
|
|
1500
|
+
defaultValue: r(gn(a) ? "" : a).text
|
|
1492
1501
|
});
|
|
1493
1502
|
}
|
|
1494
|
-
function
|
|
1503
|
+
function gn(e) {
|
|
1495
1504
|
return e == null;
|
|
1496
1505
|
}
|
|
1497
1506
|
var ha = ["inputComponent", "parse", "format", "value", "defaultValue", "onChange", "controlled", "onKeyDown", "type"];
|
|
1498
|
-
function
|
|
1507
|
+
function vn(e, t) {
|
|
1499
1508
|
var n = Object.keys(e);
|
|
1500
1509
|
if (Object.getOwnPropertySymbols) {
|
|
1501
1510
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -1508,9 +1517,9 @@ function gn(e, t) {
|
|
|
1508
1517
|
function ma(e) {
|
|
1509
1518
|
for (var t = 1; t < arguments.length; t++) {
|
|
1510
1519
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1511
|
-
t % 2 ?
|
|
1520
|
+
t % 2 ? vn(Object(n), !0).forEach(function(r) {
|
|
1512
1521
|
ga(e, r, n[r]);
|
|
1513
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1522
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vn(Object(n)).forEach(function(r) {
|
|
1514
1523
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1515
1524
|
});
|
|
1516
1525
|
}
|
|
@@ -1574,7 +1583,7 @@ Ye.propTypes = {
|
|
|
1574
1583
|
onCut: g.func,
|
|
1575
1584
|
onPaste: g.func
|
|
1576
1585
|
};
|
|
1577
|
-
function
|
|
1586
|
+
function bn(e, t) {
|
|
1578
1587
|
e = e.split("-"), t = t.split("-");
|
|
1579
1588
|
for (var n = e[0].split("."), r = t[0].split("."), i = 0; i < 3; i++) {
|
|
1580
1589
|
var a = Number(n[i]), o = Number(r[i]);
|
|
@@ -1603,17 +1612,17 @@ function Qe(e, t) {
|
|
|
1603
1612
|
function Pa(e, t) {
|
|
1604
1613
|
for (var n = 0; n < t.length; n++) {
|
|
1605
1614
|
var r = t[n];
|
|
1606
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
1615
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Ea(r.key), r);
|
|
1607
1616
|
}
|
|
1608
1617
|
}
|
|
1609
1618
|
function et(e, t, n) {
|
|
1610
1619
|
return t && Pa(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
1611
1620
|
}
|
|
1612
|
-
function
|
|
1613
|
-
var t =
|
|
1621
|
+
function Ea(e) {
|
|
1622
|
+
var t = Na(e, "string");
|
|
1614
1623
|
return be(t) == "symbol" ? t : t + "";
|
|
1615
1624
|
}
|
|
1616
|
-
function
|
|
1625
|
+
function Na(e, t) {
|
|
1617
1626
|
if (be(e) != "object" || !e) return e;
|
|
1618
1627
|
var n = e[Symbol.toPrimitive];
|
|
1619
1628
|
if (n !== void 0) {
|
|
@@ -1623,7 +1632,7 @@ function Ea(e, t) {
|
|
|
1623
1632
|
}
|
|
1624
1633
|
return String(e);
|
|
1625
1634
|
}
|
|
1626
|
-
var Sa = "1.2.0", Ta = "1.7.35",
|
|
1635
|
+
var Sa = "1.2.0", Ta = "1.7.35", Cn = " ext. ", Oa = /^\d+$/, V = /* @__PURE__ */ (function() {
|
|
1627
1636
|
function e(t) {
|
|
1628
1637
|
Qe(this, e), hr(t), this.metadata = t, gr.call(this, t);
|
|
1629
1638
|
}
|
|
@@ -1681,11 +1690,11 @@ var Sa = "1.2.0", Ta = "1.7.35", bn = " ext. ", Oa = /^\d+$/, V = /* @__PURE__ *
|
|
|
1681
1690
|
if (n && Oa.test(n) && (r = n, n = null), n && n !== "001") {
|
|
1682
1691
|
if (!this.hasCountry(n))
|
|
1683
1692
|
throw new Error("Unknown country: ".concat(n));
|
|
1684
|
-
this.numberingPlan = new
|
|
1693
|
+
this.numberingPlan = new Pn(this.getCountryMetadata(n), this);
|
|
1685
1694
|
} else if (r) {
|
|
1686
1695
|
if (!this.hasCallingCode(r))
|
|
1687
1696
|
throw new Error("Unknown calling code: ".concat(r));
|
|
1688
|
-
this.numberingPlan = new
|
|
1697
|
+
this.numberingPlan = new Pn(this.getNumberingPlanMetadata(r), this);
|
|
1689
1698
|
} else
|
|
1690
1699
|
this.numberingPlan = void 0;
|
|
1691
1700
|
return this;
|
|
@@ -1809,7 +1818,7 @@ var Sa = "1.2.0", Ta = "1.7.35", bn = " ext. ", Oa = /^\d+$/, V = /* @__PURE__ *
|
|
|
1809
1818
|
return this.numberingPlan !== void 0;
|
|
1810
1819
|
}
|
|
1811
1820
|
}]);
|
|
1812
|
-
})(),
|
|
1821
|
+
})(), Pn = /* @__PURE__ */ (function() {
|
|
1813
1822
|
function e(t, n) {
|
|
1814
1823
|
Qe(this, e), this.globalMetadataObject = n, this.metadata = t, gr.call(this, n.metadata);
|
|
1815
1824
|
}
|
|
@@ -1936,13 +1945,13 @@ var Sa = "1.2.0", Ta = "1.7.35", bn = " ext. ", Oa = /^\d+$/, V = /* @__PURE__ *
|
|
|
1936
1945
|
}, {
|
|
1937
1946
|
key: "type",
|
|
1938
1947
|
value: function(n) {
|
|
1939
|
-
if (this.hasTypes() &&
|
|
1940
|
-
return new _a(
|
|
1948
|
+
if (this.hasTypes() && En(this.types(), n))
|
|
1949
|
+
return new _a(En(this.types(), n), this);
|
|
1941
1950
|
}
|
|
1942
1951
|
}, {
|
|
1943
1952
|
key: "ext",
|
|
1944
1953
|
value: function() {
|
|
1945
|
-
return this.v1 || this.v2 ?
|
|
1954
|
+
return this.v1 || this.v2 ? Cn : this.metadata[13] || Cn;
|
|
1946
1955
|
}
|
|
1947
1956
|
}]);
|
|
1948
1957
|
})(), Ia = /* @__PURE__ */ (function() {
|
|
@@ -2009,7 +2018,7 @@ var Sa = "1.2.0", Ta = "1.7.35", bn = " ext. ", Oa = /^\d+$/, V = /* @__PURE__ *
|
|
|
2009
2018
|
}
|
|
2010
2019
|
}]);
|
|
2011
2020
|
})();
|
|
2012
|
-
function
|
|
2021
|
+
function En(e, t) {
|
|
2013
2022
|
switch (t) {
|
|
2014
2023
|
case "FIXED_LINE":
|
|
2015
2024
|
return e[0];
|
|
@@ -2052,7 +2061,7 @@ function mr(e, t) {
|
|
|
2052
2061
|
}
|
|
2053
2062
|
function gr(e) {
|
|
2054
2063
|
var t = e.version;
|
|
2055
|
-
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ?
|
|
2064
|
+
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? bn(t, Sa) === -1 ? this.v2 = !0 : bn(t, Ta) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
2056
2065
|
}
|
|
2057
2066
|
function tt(e, t, n) {
|
|
2058
2067
|
return Ra(e, t, void 0, n);
|
|
@@ -2121,7 +2130,7 @@ function Nn(e, t) {
|
|
|
2121
2130
|
return r;
|
|
2122
2131
|
}
|
|
2123
2132
|
var La = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
2124
|
-
function
|
|
2133
|
+
function Ut(e, t, n) {
|
|
2125
2134
|
if (t = t || {}, !(!e.country && !e.countryCallingCode)) {
|
|
2126
2135
|
n = new V(n), n.selectNumberingPlan(e.country, e.countryCallingCode);
|
|
2127
2136
|
var r = t.v2 ? e.nationalNumber : e.phone;
|
|
@@ -2141,7 +2150,7 @@ function $t(e, t, n) {
|
|
|
2141
2150
|
}
|
|
2142
2151
|
function Da(e, t, n) {
|
|
2143
2152
|
if (t = t || {}, n = new V(n), n.selectNumberingPlan(e.country, e.countryCallingCode), n.hasTypes())
|
|
2144
|
-
return
|
|
2153
|
+
return Ut(e, t, n.metadata) !== void 0;
|
|
2145
2154
|
var r = t.v2 ? e.nationalNumber : e.phone;
|
|
2146
2155
|
return ae(r, n.nationalNumberPattern());
|
|
2147
2156
|
}
|
|
@@ -2155,7 +2164,7 @@ function ja(e, t, n) {
|
|
|
2155
2164
|
var r = new V(n);
|
|
2156
2165
|
return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
|
|
2157
2166
|
}
|
|
2158
|
-
var
|
|
2167
|
+
var Bt = 2, Ga = 17, Ua = 3, Y = "0-90-9٠-٩۰-۹", Ba = "-‐-―−ー-", Wa = "//", Ha = "..", Va = " ", Ka = "()()[]\\[\\]", Ya = "~⁓∼~", ee = "".concat(Ba).concat(Wa).concat(Ha).concat(Va).concat(Ka).concat(Ya), nt = "++", qa = new RegExp("([" + Y + "])");
|
|
2159
2168
|
function br(e, t, n, r) {
|
|
2160
2169
|
if (t) {
|
|
2161
2170
|
var i = new V(r);
|
|
@@ -2169,7 +2178,7 @@ function br(e, t, n, r) {
|
|
|
2169
2178
|
}
|
|
2170
2179
|
}
|
|
2171
2180
|
}
|
|
2172
|
-
function
|
|
2181
|
+
function bt(e, t) {
|
|
2173
2182
|
if (e && t.numberingPlan.nationalPrefixForParsing()) {
|
|
2174
2183
|
var n = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), r = n.exec(e);
|
|
2175
2184
|
if (r) {
|
|
@@ -2212,12 +2221,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2212
2221
|
}
|
|
2213
2222
|
function Xa(e, t) {
|
|
2214
2223
|
if (e) {
|
|
2215
|
-
if (typeof e == "string") return
|
|
2224
|
+
if (typeof e == "string") return Sn(e, t);
|
|
2216
2225
|
var n = {}.toString.call(e).slice(8, -1);
|
|
2217
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
2226
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Sn(e, t) : void 0;
|
|
2218
2227
|
}
|
|
2219
2228
|
}
|
|
2220
|
-
function
|
|
2229
|
+
function Sn(e, t) {
|
|
2221
2230
|
(t == null || t > e.length) && (t = e.length);
|
|
2222
2231
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
2223
2232
|
return r;
|
|
@@ -2230,14 +2239,14 @@ function Cr(e, t) {
|
|
|
2230
2239
|
if (r.selectNumberingPlan(o), r.leadingDigits()) {
|
|
2231
2240
|
if (e && e.search(r.leadingDigits()) === 0)
|
|
2232
2241
|
return o;
|
|
2233
|
-
} else if (
|
|
2242
|
+
} else if (Ut({
|
|
2234
2243
|
phone: e,
|
|
2235
2244
|
country: o
|
|
2236
2245
|
}, void 0, r.metadata))
|
|
2237
2246
|
return o;
|
|
2238
2247
|
}
|
|
2239
2248
|
}
|
|
2240
|
-
function
|
|
2249
|
+
function Wt(e, t) {
|
|
2241
2250
|
var n = t.nationalNumber, r = t.metadata, i = r.getCountryCodesForCallingCode(e);
|
|
2242
2251
|
if (i)
|
|
2243
2252
|
return i.length === 1 ? i[0] : Cr(n, {
|
|
@@ -2245,14 +2254,14 @@ function Bt(e, t) {
|
|
|
2245
2254
|
metadata: r.metadata
|
|
2246
2255
|
});
|
|
2247
2256
|
}
|
|
2248
|
-
function
|
|
2249
|
-
var r =
|
|
2257
|
+
function Ct(e, t, n) {
|
|
2258
|
+
var r = bt(e, n), i = r.carrierCode, a = r.nationalNumber;
|
|
2250
2259
|
if (a !== e) {
|
|
2251
2260
|
if (!Ja(e, a, n))
|
|
2252
2261
|
return {
|
|
2253
2262
|
nationalNumber: e
|
|
2254
2263
|
};
|
|
2255
|
-
if (n.numberingPlan.possibleLengths() && (t || (t =
|
|
2264
|
+
if (n.numberingPlan.possibleLengths() && (t || (t = Wt(n.numberingPlan.callingCode(), {
|
|
2256
2265
|
nationalNumber: a,
|
|
2257
2266
|
metadata: n
|
|
2258
2267
|
})), !za(a, t, n)))
|
|
@@ -2281,7 +2290,7 @@ function Pr(e, t, n, r, i) {
|
|
|
2281
2290
|
var a = t || n ? le(t || n, i) : r;
|
|
2282
2291
|
if (e.indexOf(a) === 0) {
|
|
2283
2292
|
i = new V(i), i.selectNumberingPlan(t || n, a);
|
|
2284
|
-
var o = e.slice(a.length), d =
|
|
2293
|
+
var o = e.slice(a.length), d = Ct(o, t, i), u = d.nationalNumber, l = Ct(e, t, i), c = l.nationalNumber;
|
|
2285
2294
|
if (!ae(c, i.nationalNumberPattern()) && ae(u, i.nationalNumberPattern()) || tt(c, t, i) === "TOO_LONG")
|
|
2286
2295
|
return {
|
|
2287
2296
|
countryCallingCode: a,
|
|
@@ -2292,7 +2301,7 @@ function Pr(e, t, n, r, i) {
|
|
|
2292
2301
|
number: e
|
|
2293
2302
|
};
|
|
2294
2303
|
}
|
|
2295
|
-
function
|
|
2304
|
+
function Ht(e, t, n, r, i) {
|
|
2296
2305
|
if (!e)
|
|
2297
2306
|
return {};
|
|
2298
2307
|
var a;
|
|
@@ -2332,10 +2341,10 @@ function Wt(e, t, n, r, i) {
|
|
|
2332
2341
|
}
|
|
2333
2342
|
return {};
|
|
2334
2343
|
}
|
|
2335
|
-
function
|
|
2344
|
+
function Er(e) {
|
|
2336
2345
|
return e.replace(new RegExp("[".concat(ee, "]+"), "g"), " ").trim();
|
|
2337
2346
|
}
|
|
2338
|
-
var
|
|
2347
|
+
var Nr = /(\$\d)/;
|
|
2339
2348
|
function Sr(e, t, n) {
|
|
2340
2349
|
var r = n.useInternationalFormat, i = n.withNationalPrefix;
|
|
2341
2350
|
n.carrierCode, n.metadata;
|
|
@@ -2353,9 +2362,9 @@ function Sr(e, t, n) {
|
|
|
2353
2362
|
// ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
|
|
2354
2363
|
// : format.format()
|
|
2355
2364
|
// )
|
|
2356
|
-
i && t.nationalPrefixFormattingRule() ? t.format().replace(
|
|
2365
|
+
i && t.nationalPrefixFormattingRule() ? t.format().replace(Nr, t.nationalPrefixFormattingRule()) : t.format()
|
|
2357
2366
|
));
|
|
2358
|
-
return r ?
|
|
2367
|
+
return r ? Er(a) : a;
|
|
2359
2368
|
}
|
|
2360
2369
|
var Qa = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
2361
2370
|
function eo(e, t, n) {
|
|
@@ -2369,17 +2378,17 @@ var to = ";ext=", ye = function(t) {
|
|
|
2369
2378
|
return "([".concat(Y, "]{1,").concat(t, "})");
|
|
2370
2379
|
};
|
|
2371
2380
|
function Tr(e) {
|
|
2372
|
-
var t = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", o = "[:\\..]?[ \\t,-]*", d = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", c = "[- ]+", $ = "[ \\t]*", s = "(?:,{2}|;)", f = to + ye(t), y = a + u + o + ye(t) + d, h = a + l + o + ye(r) + d, p = c + ye(i) + "#", P = $ + s + o + ye(n) + d,
|
|
2373
|
-
return f + "|" + y + "|" + h + "|" + p + "|" + P + "|" +
|
|
2381
|
+
var t = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", o = "[:\\..]?[ \\t,-]*", d = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", c = "[- ]+", $ = "[ \\t]*", s = "(?:,{2}|;)", f = to + ye(t), y = a + u + o + ye(t) + d, h = a + l + o + ye(r) + d, p = c + ye(i) + "#", P = $ + s + o + ye(n) + d, O = $ + "(?:,)+" + o + ye(r) + d;
|
|
2382
|
+
return f + "|" + y + "|" + h + "|" + p + "|" + P + "|" + O;
|
|
2374
2383
|
}
|
|
2375
|
-
var no = "[" + Y + "]{" +
|
|
2384
|
+
var no = "[" + Y + "]{" + Bt + "}", ro = "[" + nt + "]{0,1}(?:[" + ee + "]*[" + Y + "]){3,}[" + ee + Y + "]*", io = new RegExp("^[" + nt + "]{0,1}(?:[" + ee + "]*[" + Y + "]){1,2}$", "i"), ao = ro + // Phone number extensions
|
|
2376
2385
|
"(?:" + Tr() + ")?", oo = new RegExp(
|
|
2377
2386
|
// Either a short two-digit-only phone number
|
|
2378
2387
|
"^" + no + "$|^" + ao + "$",
|
|
2379
2388
|
"i"
|
|
2380
2389
|
);
|
|
2381
2390
|
function uo(e) {
|
|
2382
|
-
return e.length >=
|
|
2391
|
+
return e.length >= Bt && oo.test(e);
|
|
2383
2392
|
}
|
|
2384
2393
|
function lo(e) {
|
|
2385
2394
|
return io.test(e);
|
|
@@ -2392,13 +2401,13 @@ function so(e) {
|
|
|
2392
2401
|
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
2393
2402
|
return "tel:".concat(t).concat(n ? ";ext=" + n : "");
|
|
2394
2403
|
}
|
|
2395
|
-
var
|
|
2404
|
+
var Tn = {
|
|
2396
2405
|
formatExtension: function(t, n, r) {
|
|
2397
2406
|
return "".concat(t).concat(r.ext()).concat(n);
|
|
2398
2407
|
}
|
|
2399
2408
|
};
|
|
2400
2409
|
function co(e, t, n, r) {
|
|
2401
|
-
if (n ? n = po({},
|
|
2410
|
+
if (n ? n = po({}, Tn, n) : n = Tn, r = new V(r), e.country && e.country !== "001") {
|
|
2402
2411
|
if (!r.hasCountry(e.country))
|
|
2403
2412
|
throw new Error("Unknown country: ".concat(e.country));
|
|
2404
2413
|
r.selectNumberingPlan(e.country);
|
|
@@ -2481,15 +2490,15 @@ function yo(e, t) {
|
|
|
2481
2490
|
n++;
|
|
2482
2491
|
}
|
|
2483
2492
|
}
|
|
2484
|
-
function
|
|
2493
|
+
function Ne(e) {
|
|
2485
2494
|
"@babel/helpers - typeof";
|
|
2486
|
-
return
|
|
2495
|
+
return Ne = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2487
2496
|
return typeof t;
|
|
2488
2497
|
} : function(t) {
|
|
2489
2498
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2490
|
-
},
|
|
2499
|
+
}, Ne(e);
|
|
2491
2500
|
}
|
|
2492
|
-
function
|
|
2501
|
+
function On(e, t) {
|
|
2493
2502
|
var n = Object.keys(e);
|
|
2494
2503
|
if (Object.getOwnPropertySymbols) {
|
|
2495
2504
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -2499,12 +2508,12 @@ function Tn(e, t) {
|
|
|
2499
2508
|
}
|
|
2500
2509
|
return n;
|
|
2501
2510
|
}
|
|
2502
|
-
function
|
|
2511
|
+
function In(e) {
|
|
2503
2512
|
for (var t = 1; t < arguments.length; t++) {
|
|
2504
2513
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
2505
|
-
t % 2 ?
|
|
2514
|
+
t % 2 ? On(Object(n), !0).forEach(function(r) {
|
|
2506
2515
|
ho(e, r, n[r]);
|
|
2507
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
2516
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : On(Object(n)).forEach(function(r) {
|
|
2508
2517
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
2509
2518
|
});
|
|
2510
2519
|
}
|
|
@@ -2527,14 +2536,14 @@ function vo(e, t, n) {
|
|
|
2527
2536
|
}
|
|
2528
2537
|
function Or(e) {
|
|
2529
2538
|
var t = bo(e, "string");
|
|
2530
|
-
return
|
|
2539
|
+
return Ne(t) == "symbol" ? t : t + "";
|
|
2531
2540
|
}
|
|
2532
2541
|
function bo(e, t) {
|
|
2533
|
-
if (
|
|
2542
|
+
if (Ne(e) != "object" || !e) return e;
|
|
2534
2543
|
var n = e[Symbol.toPrimitive];
|
|
2535
2544
|
if (n !== void 0) {
|
|
2536
2545
|
var r = n.call(e, t);
|
|
2537
|
-
if (
|
|
2546
|
+
if (Ne(r) != "object") return r;
|
|
2538
2547
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2539
2548
|
}
|
|
2540
2549
|
return String(e);
|
|
@@ -2550,9 +2559,9 @@ var Ir = /* @__PURE__ */ (function() {
|
|
|
2550
2559
|
if (ce(n) && ce(n.countries)) {
|
|
2551
2560
|
r = n;
|
|
2552
2561
|
var i = t;
|
|
2553
|
-
if (!
|
|
2562
|
+
if (!Eo.test(i))
|
|
2554
2563
|
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
2555
|
-
var a =
|
|
2564
|
+
var a = Ht(i, void 0, void 0, void 0, r), o = a.countryCallingCode, d = a.number;
|
|
2556
2565
|
if (n = d, t = o, !n)
|
|
2557
2566
|
throw new Error("Invalid `number` argument passed: too short");
|
|
2558
2567
|
}
|
|
@@ -2618,14 +2627,14 @@ var Ir = /* @__PURE__ */ (function() {
|
|
|
2618
2627
|
}, {
|
|
2619
2628
|
key: "getType",
|
|
2620
2629
|
value: function() {
|
|
2621
|
-
return
|
|
2630
|
+
return Ut(this, {
|
|
2622
2631
|
v2: !0
|
|
2623
2632
|
}, this.getMetadata());
|
|
2624
2633
|
}
|
|
2625
2634
|
}, {
|
|
2626
2635
|
key: "format",
|
|
2627
2636
|
value: function(n, r) {
|
|
2628
|
-
return co(this, n, r ?
|
|
2637
|
+
return co(this, n, r ? In(In({}, r), {}, {
|
|
2629
2638
|
v2: !0
|
|
2630
2639
|
}) : {
|
|
2631
2640
|
v2: !0
|
|
@@ -2657,26 +2666,26 @@ function Po(e, t) {
|
|
|
2657
2666
|
countryCallingCode: r
|
|
2658
2667
|
};
|
|
2659
2668
|
}
|
|
2660
|
-
var
|
|
2661
|
-
function
|
|
2669
|
+
var Eo = /^\+\d+$/;
|
|
2670
|
+
function Pt(e) {
|
|
2662
2671
|
"@babel/helpers - typeof";
|
|
2663
|
-
return
|
|
2672
|
+
return Pt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2664
2673
|
return typeof t;
|
|
2665
2674
|
} : function(t) {
|
|
2666
2675
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2667
|
-
},
|
|
2676
|
+
}, Pt(e);
|
|
2668
2677
|
}
|
|
2669
|
-
function
|
|
2678
|
+
function No(e, t, n) {
|
|
2670
2679
|
return Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
2671
2680
|
}
|
|
2672
2681
|
function So(e, t) {
|
|
2673
2682
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2674
2683
|
}
|
|
2675
2684
|
function To(e, t, n) {
|
|
2676
|
-
return t = Te(t), Oo(e,
|
|
2685
|
+
return t = Te(t), Oo(e, Vt() ? Reflect.construct(t, n || [], Te(e).constructor) : t.apply(e, n));
|
|
2677
2686
|
}
|
|
2678
2687
|
function Oo(e, t) {
|
|
2679
|
-
if (t && (
|
|
2688
|
+
if (t && (Pt(t) == "object" || typeof t == "function")) return t;
|
|
2680
2689
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2681
2690
|
return Io(e);
|
|
2682
2691
|
}
|
|
@@ -2688,9 +2697,9 @@ function Ao(e, t) {
|
|
|
2688
2697
|
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
2689
2698
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Se(e, t);
|
|
2690
2699
|
}
|
|
2691
|
-
function
|
|
2700
|
+
function Et(e) {
|
|
2692
2701
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
2693
|
-
return
|
|
2702
|
+
return Et = function(r) {
|
|
2694
2703
|
if (r === null || !wo(r)) return r;
|
|
2695
2704
|
if (typeof r != "function") throw new TypeError("Super expression must either be null or a function");
|
|
2696
2705
|
if (t !== void 0) {
|
|
@@ -2701,22 +2710,22 @@ function Pt(e) {
|
|
|
2701
2710
|
return _o(r, arguments, Te(this).constructor);
|
|
2702
2711
|
}
|
|
2703
2712
|
return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Se(i, r);
|
|
2704
|
-
},
|
|
2713
|
+
}, Et(e);
|
|
2705
2714
|
}
|
|
2706
2715
|
function _o(e, t, n) {
|
|
2707
|
-
if (
|
|
2716
|
+
if (Vt()) return Reflect.construct.apply(null, arguments);
|
|
2708
2717
|
var r = [null];
|
|
2709
2718
|
r.push.apply(r, t);
|
|
2710
2719
|
var i = new (e.bind.apply(e, r))();
|
|
2711
2720
|
return n && Se(i, n.prototype), i;
|
|
2712
2721
|
}
|
|
2713
|
-
function
|
|
2722
|
+
function Vt() {
|
|
2714
2723
|
try {
|
|
2715
2724
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
2716
2725
|
}));
|
|
2717
2726
|
} catch {
|
|
2718
2727
|
}
|
|
2719
|
-
return (
|
|
2728
|
+
return (Vt = function() {
|
|
2720
2729
|
return !!e;
|
|
2721
2730
|
})();
|
|
2722
2731
|
}
|
|
@@ -2742,13 +2751,13 @@ var re = /* @__PURE__ */ (function(e) {
|
|
|
2742
2751
|
var r;
|
|
2743
2752
|
return So(this, t), r = To(this, t, [n]), Object.setPrototypeOf(r, t.prototype), r.name = r.constructor.name, r;
|
|
2744
2753
|
}
|
|
2745
|
-
return Ao(t, e),
|
|
2746
|
-
})(/* @__PURE__ */
|
|
2754
|
+
return Ao(t, e), No(t);
|
|
2755
|
+
})(/* @__PURE__ */ Et(Error)), An = new RegExp("(?:" + Tr() + ")$", "i");
|
|
2747
2756
|
function Ro(e) {
|
|
2748
|
-
var t = e.search(
|
|
2757
|
+
var t = e.search(An);
|
|
2749
2758
|
if (t < 0)
|
|
2750
2759
|
return {};
|
|
2751
|
-
for (var n = e.slice(0, t), r = e.match(
|
|
2760
|
+
for (var n = e.slice(0, t), r = e.match(An), i = 1; i < r.length; ) {
|
|
2752
2761
|
if (r[i])
|
|
2753
2762
|
return {
|
|
2754
2763
|
number: n,
|
|
@@ -2772,12 +2781,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2772
2781
|
}
|
|
2773
2782
|
function Fo(e, t) {
|
|
2774
2783
|
if (e) {
|
|
2775
|
-
if (typeof e == "string") return
|
|
2784
|
+
if (typeof e == "string") return _n(e, t);
|
|
2776
2785
|
var n = {}.toString.call(e).slice(8, -1);
|
|
2777
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
2786
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _n(e, t) : void 0;
|
|
2778
2787
|
}
|
|
2779
2788
|
}
|
|
2780
|
-
function
|
|
2789
|
+
function _n(e, t) {
|
|
2781
2790
|
(t == null || t > e.length) && (t = e.length);
|
|
2782
2791
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
2783
2792
|
return r;
|
|
@@ -2879,12 +2888,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2879
2888
|
}
|
|
2880
2889
|
function Do(e, t) {
|
|
2881
2890
|
if (e) {
|
|
2882
|
-
if (typeof e == "string") return
|
|
2891
|
+
if (typeof e == "string") return wn(e, t);
|
|
2883
2892
|
var n = {}.toString.call(e).slice(8, -1);
|
|
2884
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
2893
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wn(e, t) : void 0;
|
|
2885
2894
|
}
|
|
2886
2895
|
}
|
|
2887
|
-
function
|
|
2896
|
+
function wn(e, t) {
|
|
2888
2897
|
(t == null || t > e.length) && (t = e.length);
|
|
2889
2898
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
2890
2899
|
return r;
|
|
@@ -2906,12 +2915,12 @@ function _r(e, t, n) {
|
|
|
2906
2915
|
}
|
|
2907
2916
|
return Ar(e);
|
|
2908
2917
|
}
|
|
2909
|
-
var wr = "+", ko = "[\\-\\.\\(\\)]?",
|
|
2918
|
+
var wr = "+", ko = "[\\-\\.\\(\\)]?", Rn = "([" + Y + "]|" + ko + ")", jo = "^\\" + wr + Rn + "*[" + Y + "]" + Rn + "*$", Go = new RegExp(jo, "g"), St = Y, Uo = "[" + St + "]+((\\-)*[" + St + "])*", Bo = "a-zA-Z", Wo = "[" + Bo + "]+((\\-)*[" + St + "])*", Ho = "^(" + Uo + "\\.)*" + Wo + "\\.?$", Vo = new RegExp(Ho, "g"), xn = "tel:", Tt = ";phone-context=", Ko = ";isub=";
|
|
2910
2919
|
function Yo(e) {
|
|
2911
|
-
var t = e.indexOf(
|
|
2920
|
+
var t = e.indexOf(Tt);
|
|
2912
2921
|
if (t < 0)
|
|
2913
2922
|
return null;
|
|
2914
|
-
var n = t +
|
|
2923
|
+
var n = t + Tt.length;
|
|
2915
2924
|
if (n >= e.length)
|
|
2916
2925
|
return "";
|
|
2917
2926
|
var r = e.indexOf(";", n);
|
|
@@ -2929,9 +2938,9 @@ function Zo(e, t) {
|
|
|
2929
2938
|
i = n(e) || "";
|
|
2930
2939
|
else {
|
|
2931
2940
|
i = "", r.charAt(0) === wr && (i += r);
|
|
2932
|
-
var a = e.indexOf(
|
|
2933
|
-
a >= 0 ? o = a +
|
|
2934
|
-
var d = e.indexOf(
|
|
2941
|
+
var a = e.indexOf(xn), o;
|
|
2942
|
+
a >= 0 ? o = a + xn.length : o = 0;
|
|
2943
|
+
var d = e.indexOf(Tt);
|
|
2935
2944
|
i += e.substring(o, d);
|
|
2936
2945
|
}
|
|
2937
2946
|
var u = i.indexOf(Ko);
|
|
@@ -2954,7 +2963,7 @@ function Qo(e, t, n) {
|
|
|
2954
2963
|
throw new re("INVALID_COUNTRY");
|
|
2955
2964
|
return {};
|
|
2956
2965
|
}
|
|
2957
|
-
if (!l || l.length <
|
|
2966
|
+
if (!l || l.length < Bt) {
|
|
2958
2967
|
if (t.v2)
|
|
2959
2968
|
throw new re("TOO_SHORT");
|
|
2960
2969
|
return {};
|
|
@@ -3018,7 +3027,7 @@ function nd(e, t, n) {
|
|
|
3018
3027
|
return n && (r.ext = n), r;
|
|
3019
3028
|
}
|
|
3020
3029
|
function rd(e, t, n, r) {
|
|
3021
|
-
var i =
|
|
3030
|
+
var i = Ht(Nt(e), void 0, t, n, r.metadata), a = i.countryCallingCodeSource, o = i.countryCallingCode, d = i.number, u;
|
|
3022
3031
|
if (o)
|
|
3023
3032
|
r.selectNumberingPlan(o);
|
|
3024
3033
|
else if (d && (t || n))
|
|
@@ -3029,7 +3038,7 @@ function rd(e, t, n, r) {
|
|
|
3029
3038
|
countryCallingCodeSource: a,
|
|
3030
3039
|
countryCallingCode: o
|
|
3031
3040
|
};
|
|
3032
|
-
var l =
|
|
3041
|
+
var l = Ct(Nt(d), u, r), c = l.nationalNumber, $ = l.carrierCode, s = Wt(o, {
|
|
3033
3042
|
nationalNumber: c,
|
|
3034
3043
|
metadata: r
|
|
3035
3044
|
});
|
|
@@ -3049,7 +3058,7 @@ function Oe(e) {
|
|
|
3049
3058
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3050
3059
|
}, Oe(e);
|
|
3051
3060
|
}
|
|
3052
|
-
function
|
|
3061
|
+
function Fn(e, t) {
|
|
3053
3062
|
var n = Object.keys(e);
|
|
3054
3063
|
if (Object.getOwnPropertySymbols) {
|
|
3055
3064
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -3059,12 +3068,12 @@ function xn(e, t) {
|
|
|
3059
3068
|
}
|
|
3060
3069
|
return n;
|
|
3061
3070
|
}
|
|
3062
|
-
function
|
|
3071
|
+
function Mn(e) {
|
|
3063
3072
|
for (var t = 1; t < arguments.length; t++) {
|
|
3064
3073
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3065
|
-
t % 2 ?
|
|
3074
|
+
t % 2 ? Fn(Object(n), !0).forEach(function(r) {
|
|
3066
3075
|
id(e, r, n[r]);
|
|
3067
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3076
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fn(Object(n)).forEach(function(r) {
|
|
3068
3077
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
3069
3078
|
});
|
|
3070
3079
|
}
|
|
@@ -3088,7 +3097,7 @@ function od(e, t) {
|
|
|
3088
3097
|
return (t === "string" ? String : Number)(e);
|
|
3089
3098
|
}
|
|
3090
3099
|
function dd(e, t, n) {
|
|
3091
|
-
return Qo(e,
|
|
3100
|
+
return Qo(e, Mn(Mn({}, t), {}, {
|
|
3092
3101
|
v2: !0
|
|
3093
3102
|
}), n);
|
|
3094
3103
|
}
|
|
@@ -3100,7 +3109,7 @@ function Ie(e) {
|
|
|
3100
3109
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3101
3110
|
}, Ie(e);
|
|
3102
3111
|
}
|
|
3103
|
-
function
|
|
3112
|
+
function Ln(e, t) {
|
|
3104
3113
|
var n = Object.keys(e);
|
|
3105
3114
|
if (Object.getOwnPropertySymbols) {
|
|
3106
3115
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -3113,9 +3122,9 @@ function Mn(e, t) {
|
|
|
3113
3122
|
function ud(e) {
|
|
3114
3123
|
for (var t = 1; t < arguments.length; t++) {
|
|
3115
3124
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3116
|
-
t % 2 ?
|
|
3125
|
+
t % 2 ? Ln(Object(n), !0).forEach(function(r) {
|
|
3117
3126
|
ld(e, r, n[r]);
|
|
3118
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3127
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ln(Object(n)).forEach(function(r) {
|
|
3119
3128
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
3120
3129
|
});
|
|
3121
3130
|
}
|
|
@@ -3147,12 +3156,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3147
3156
|
}
|
|
3148
3157
|
function pd(e, t) {
|
|
3149
3158
|
if (e) {
|
|
3150
|
-
if (typeof e == "string") return
|
|
3159
|
+
if (typeof e == "string") return Dn(e, t);
|
|
3151
3160
|
var n = {}.toString.call(e).slice(8, -1);
|
|
3152
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
3161
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Dn(e, t) : void 0;
|
|
3153
3162
|
}
|
|
3154
3163
|
}
|
|
3155
|
-
function
|
|
3164
|
+
function Dn(e, t) {
|
|
3156
3165
|
(t == null || t > e.length) && (t = e.length);
|
|
3157
3166
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
3158
3167
|
return r;
|
|
@@ -3204,7 +3213,7 @@ function Ae(e) {
|
|
|
3204
3213
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3205
3214
|
}, Ae(e);
|
|
3206
3215
|
}
|
|
3207
|
-
function
|
|
3216
|
+
function kn(e, t) {
|
|
3208
3217
|
var n = Object.keys(e);
|
|
3209
3218
|
if (Object.getOwnPropertySymbols) {
|
|
3210
3219
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -3214,12 +3223,12 @@ function Dn(e, t) {
|
|
|
3214
3223
|
}
|
|
3215
3224
|
return n;
|
|
3216
3225
|
}
|
|
3217
|
-
function
|
|
3226
|
+
function jn(e) {
|
|
3218
3227
|
for (var t = 1; t < arguments.length; t++) {
|
|
3219
3228
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3220
|
-
t % 2 ?
|
|
3229
|
+
t % 2 ? kn(Object(n), !0).forEach(function(r) {
|
|
3221
3230
|
gd(e, r, n[r]);
|
|
3222
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3231
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kn(Object(n)).forEach(function(r) {
|
|
3223
3232
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
3224
3233
|
});
|
|
3225
3234
|
}
|
|
@@ -3243,7 +3252,7 @@ function bd(e, t) {
|
|
|
3243
3252
|
return (t === "string" ? String : Number)(e);
|
|
3244
3253
|
}
|
|
3245
3254
|
function Cd(e, t, n) {
|
|
3246
|
-
t && t.defaultCountry && !mr(t.defaultCountry, n) && (t =
|
|
3255
|
+
t && t.defaultCountry && !mr(t.defaultCountry, n) && (t = jn(jn({}, t), {}, {
|
|
3247
3256
|
defaultCountry: void 0
|
|
3248
3257
|
}));
|
|
3249
3258
|
try {
|
|
@@ -3267,14 +3276,14 @@ function _e(e) {
|
|
|
3267
3276
|
function Pd(e, t) {
|
|
3268
3277
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
3269
3278
|
}
|
|
3270
|
-
function
|
|
3279
|
+
function Ed(e, t) {
|
|
3271
3280
|
for (var n = 0; n < t.length; n++) {
|
|
3272
3281
|
var r = t[n];
|
|
3273
3282
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Sd(r.key), r);
|
|
3274
3283
|
}
|
|
3275
3284
|
}
|
|
3276
|
-
function
|
|
3277
|
-
return t &&
|
|
3285
|
+
function Nd(e, t, n) {
|
|
3286
|
+
return t && Ed(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
3278
3287
|
}
|
|
3279
3288
|
function Sd(e) {
|
|
3280
3289
|
var t = Td(e, "string");
|
|
@@ -3295,7 +3304,7 @@ var Od = /* @__PURE__ */ (function() {
|
|
|
3295
3304
|
var n = t.onCountryChange, r = t.onCallingCodeChange;
|
|
3296
3305
|
Pd(this, e), this.onCountryChange = n, this.onCallingCodeChange = r;
|
|
3297
3306
|
}
|
|
3298
|
-
return
|
|
3307
|
+
return Nd(e, [{
|
|
3299
3308
|
key: "reset",
|
|
3300
3309
|
value: function(n) {
|
|
3301
3310
|
var r = n.country, i = n.callingCode;
|
|
@@ -3378,12 +3387,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3378
3387
|
}
|
|
3379
3388
|
function Ad(e, t) {
|
|
3380
3389
|
if (e) {
|
|
3381
|
-
if (typeof e == "string") return
|
|
3390
|
+
if (typeof e == "string") return Gn(e, t);
|
|
3382
3391
|
var n = {}.toString.call(e).slice(8, -1);
|
|
3383
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
3392
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Gn(e, t) : void 0;
|
|
3384
3393
|
}
|
|
3385
3394
|
}
|
|
3386
|
-
function
|
|
3395
|
+
function Gn(e, t) {
|
|
3387
3396
|
(t == null || t > e.length) && (t = e.length);
|
|
3388
3397
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
3389
3398
|
return r;
|
|
@@ -3396,7 +3405,7 @@ function He(e, t) {
|
|
|
3396
3405
|
t & 1 && (n += e), t >>= 1, e += e;
|
|
3397
3406
|
return n + e;
|
|
3398
3407
|
}
|
|
3399
|
-
function
|
|
3408
|
+
function Un(e, t) {
|
|
3400
3409
|
return e[t] === ")" && t++, _d(e.slice(0, t));
|
|
3401
3410
|
}
|
|
3402
3411
|
function _d(e) {
|
|
@@ -3434,7 +3443,7 @@ function xd(e, t, n) {
|
|
|
3434
3443
|
function Fd(e, t, n) {
|
|
3435
3444
|
var r = n.metadata, i = n.shouldTryNationalPrefixFormattingRule, a = n.getSeparatorAfterNationalPrefix;
|
|
3436
3445
|
if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, i(t)) {
|
|
3437
|
-
var o =
|
|
3446
|
+
var o = Bn(e, t, {
|
|
3438
3447
|
useNationalPrefixFormattingRule: !0,
|
|
3439
3448
|
getSeparatorAfterNationalPrefix: a,
|
|
3440
3449
|
metadata: r
|
|
@@ -3442,13 +3451,13 @@ function Fd(e, t, n) {
|
|
|
3442
3451
|
if (o)
|
|
3443
3452
|
return o;
|
|
3444
3453
|
}
|
|
3445
|
-
return
|
|
3454
|
+
return Bn(e, t, {
|
|
3446
3455
|
useNationalPrefixFormattingRule: !1,
|
|
3447
3456
|
getSeparatorAfterNationalPrefix: a,
|
|
3448
3457
|
metadata: r
|
|
3449
3458
|
});
|
|
3450
3459
|
}
|
|
3451
|
-
function
|
|
3460
|
+
function Bn(e, t, n) {
|
|
3452
3461
|
var r = n.metadata, i = n.useNationalPrefixFormattingRule, a = n.getSeparatorAfterNationalPrefix, o = Sr(e.nationalSignificantNumber, t, {
|
|
3453
3462
|
carrierCode: e.carrierCode,
|
|
3454
3463
|
useInternationalFormat: e.international,
|
|
@@ -3615,7 +3624,7 @@ var Wd = /[\(\)\[\]\?\:\|]/, Hd = new RegExp(
|
|
|
3615
3624
|
function ht(e) {
|
|
3616
3625
|
return e.length === 1 ? e[0] : e;
|
|
3617
3626
|
}
|
|
3618
|
-
function
|
|
3627
|
+
function Wn(e, t) {
|
|
3619
3628
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3620
3629
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
3621
3630
|
if (Array.isArray(e) || (n = Vd(e)) || t) {
|
|
@@ -3630,12 +3639,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3630
3639
|
}
|
|
3631
3640
|
function Vd(e, t) {
|
|
3632
3641
|
if (e) {
|
|
3633
|
-
if (typeof e == "string") return
|
|
3642
|
+
if (typeof e == "string") return Hn(e, t);
|
|
3634
3643
|
var n = {}.toString.call(e).slice(8, -1);
|
|
3635
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
3644
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Hn(e, t) : void 0;
|
|
3636
3645
|
}
|
|
3637
3646
|
}
|
|
3638
|
-
function
|
|
3647
|
+
function Hn(e, t) {
|
|
3639
3648
|
(t == null || t > e.length) && (t = e.length);
|
|
3640
3649
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
3641
3650
|
return r;
|
|
@@ -3684,13 +3693,13 @@ var Jd = /* @__PURE__ */ (function() {
|
|
|
3684
3693
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.allowOverflow;
|
|
3685
3694
|
if (!n)
|
|
3686
3695
|
throw new Error("String is required");
|
|
3687
|
-
var a =
|
|
3696
|
+
var a = Ot(n.split(""), this.matchTree, !0);
|
|
3688
3697
|
if (a && a.match && delete a.matchedChars, !(a && a.overflow && !i))
|
|
3689
3698
|
return a;
|
|
3690
3699
|
}
|
|
3691
3700
|
}]);
|
|
3692
3701
|
})();
|
|
3693
|
-
function
|
|
3702
|
+
function Ot(e, t, n) {
|
|
3694
3703
|
if (typeof t == "string") {
|
|
3695
3704
|
var r = e.join("");
|
|
3696
3705
|
return t.indexOf(r) === 0 ? e.length === t.length ? {
|
|
@@ -3708,7 +3717,7 @@ function Tt(e, t, n) {
|
|
|
3708
3717
|
}
|
|
3709
3718
|
if (Array.isArray(t)) {
|
|
3710
3719
|
for (var i = e.slice(), a = 0; a < t.length; ) {
|
|
3711
|
-
var o = t[a], d =
|
|
3720
|
+
var o = t[a], d = Ot(i, o, n && a === t.length - 1);
|
|
3712
3721
|
if (d) {
|
|
3713
3722
|
if (d.overflow)
|
|
3714
3723
|
return d;
|
|
@@ -3742,8 +3751,8 @@ function Tt(e, t, n) {
|
|
|
3742
3751
|
}
|
|
3743
3752
|
switch (t.op) {
|
|
3744
3753
|
case "|":
|
|
3745
|
-
for (var u, l =
|
|
3746
|
-
var $ = c.value, s =
|
|
3754
|
+
for (var u, l = Wn(t.args), c; !(c = l()).done; ) {
|
|
3755
|
+
var $ = c.value, s = Ot(e, $, n);
|
|
3747
3756
|
if (s) {
|
|
3748
3757
|
if (s.overflow)
|
|
3749
3758
|
return s;
|
|
@@ -3764,7 +3773,7 @@ function Tt(e, t, n) {
|
|
|
3764
3773
|
// matchedChars: ...
|
|
3765
3774
|
} : void 0;
|
|
3766
3775
|
case "[]":
|
|
3767
|
-
for (var f =
|
|
3776
|
+
for (var f = Wn(t.args), y; !(y = f()).done; ) {
|
|
3768
3777
|
var h = y.value;
|
|
3769
3778
|
if (e[0] === h)
|
|
3770
3779
|
return e.length === 1 ? {
|
|
@@ -3791,7 +3800,7 @@ function xe(e) {
|
|
|
3791
3800
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
3792
3801
|
}, xe(e);
|
|
3793
3802
|
}
|
|
3794
|
-
function
|
|
3803
|
+
function Vn(e, t) {
|
|
3795
3804
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3796
3805
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
3797
3806
|
if (Array.isArray(e) || (n = zd(e)) || t) {
|
|
@@ -3806,12 +3815,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3806
3815
|
}
|
|
3807
3816
|
function zd(e, t) {
|
|
3808
3817
|
if (e) {
|
|
3809
|
-
if (typeof e == "string") return
|
|
3818
|
+
if (typeof e == "string") return Kn(e, t);
|
|
3810
3819
|
var n = {}.toString.call(e).slice(8, -1);
|
|
3811
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
3820
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Kn(e, t) : void 0;
|
|
3812
3821
|
}
|
|
3813
3822
|
}
|
|
3814
|
-
function
|
|
3823
|
+
function Kn(e, t) {
|
|
3815
3824
|
(t == null || t > e.length) && (t = e.length);
|
|
3816
3825
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
3817
3826
|
return r;
|
|
@@ -3842,11 +3851,11 @@ function ru(e, t) {
|
|
|
3842
3851
|
}
|
|
3843
3852
|
return String(e);
|
|
3844
3853
|
}
|
|
3845
|
-
var
|
|
3854
|
+
var It = "9", iu = 15, au = He(It, iu), ou = /[- ]/, du = function() {
|
|
3846
3855
|
return /\[([^\[\]])*\]/g;
|
|
3847
3856
|
}, uu = function() {
|
|
3848
3857
|
return /\d(?=[^,}][^,}])/g;
|
|
3849
|
-
}, lu = new RegExp("[" + ee + "]*\\$1[" + ee + "]*(\\$\\d[" + ee + "]*)*$"),
|
|
3858
|
+
}, lu = new RegExp("[" + ee + "]*\\$1[" + ee + "]*(\\$\\d[" + ee + "]*)*$"), Yn = 3, su = /* @__PURE__ */ (function() {
|
|
3850
3859
|
function e(t) {
|
|
3851
3860
|
t.state;
|
|
3852
3861
|
var n = t.metadata;
|
|
@@ -3873,7 +3882,7 @@ var Ot = "9", iu = 15, au = He(Ot, iu), ou = /[- ]/, du = function() {
|
|
|
3873
3882
|
value: function(n, r) {
|
|
3874
3883
|
var i = this;
|
|
3875
3884
|
if (xd(r.nationalSignificantNumber, r.country, this.metadata))
|
|
3876
|
-
for (var a =
|
|
3885
|
+
for (var a = Vn(this.matchingFormats), o; !(o = a()).done; ) {
|
|
3877
3886
|
var d = o.value, u = Rd(r, d, {
|
|
3878
3887
|
metadata: this.metadata,
|
|
3879
3888
|
shouldTryNationalPrefixFormattingRule: function(c) {
|
|
@@ -3902,7 +3911,7 @@ var Ot = "9", iu = 15, au = He(Ot, iu), ou = /[- ]/, du = function() {
|
|
|
3902
3911
|
}, {
|
|
3903
3912
|
key: "narrowDownMatchingFormats",
|
|
3904
3913
|
value: function(n) {
|
|
3905
|
-
var r = this, i = n.nationalSignificantNumber, a = n.nationalPrefix, o = n.international, d = i, u = d.length -
|
|
3914
|
+
var r = this, i = n.nationalSignificantNumber, a = n.nationalPrefix, o = n.international, d = i, u = d.length - Yn;
|
|
3906
3915
|
u < 0 && (u = 0), this.matchingFormats = this.matchingFormats.filter(function(l) {
|
|
3907
3916
|
return r.formatSuits(l, o, a) && r.formatMatches(l, d, u);
|
|
3908
3917
|
}), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
|
|
@@ -3921,7 +3930,7 @@ var Ot = "9", iu = 15, au = He(Ot, iu), ou = /[- ]/, du = function() {
|
|
|
3921
3930
|
return !0;
|
|
3922
3931
|
i = Math.min(i, a - 1);
|
|
3923
3932
|
var o = n.leadingDigitsPatterns()[i];
|
|
3924
|
-
if (r.length <
|
|
3933
|
+
if (r.length < Yn)
|
|
3925
3934
|
try {
|
|
3926
3935
|
return new Jd(o).match(r, {
|
|
3927
3936
|
allowOverflow: !0
|
|
@@ -3944,7 +3953,7 @@ var Ot = "9", iu = 15, au = He(Ot, iu), ou = /[- ]/, du = function() {
|
|
|
3944
3953
|
return r.chosenFormat === l ? 0 : lu.test(r.getFormatFormat(l, n.international)) ? r.createTemplateForFormat(l, n) ? (r.chosenFormat = l, 0) : (r.matchingFormats = r.matchingFormats.filter(function(c) {
|
|
3945
3954
|
return c !== l;
|
|
3946
3955
|
}), 1) : 1;
|
|
3947
|
-
}, a, o =
|
|
3956
|
+
}, a, o = Vn(this.matchingFormats.slice()), d; !(d = o()).done && (a = i(), a !== 0); )
|
|
3948
3957
|
;
|
|
3949
3958
|
return this.chosenFormat || this.resetFormat(), this.chosenFormat;
|
|
3950
3959
|
}
|
|
@@ -3976,7 +3985,7 @@ var Ot = "9", iu = 15, au = He(Ot, iu), ou = /[- ]/, du = function() {
|
|
|
3976
3985
|
spacing: !1
|
|
3977
3986
|
}) : ""; i < a.length + n.getDigitsWithoutInternationalPrefix().length; )
|
|
3978
3987
|
r = this.template.indexOf(Q, r + 1), i++;
|
|
3979
|
-
return
|
|
3988
|
+
return Un(this.template, r + 1);
|
|
3980
3989
|
}
|
|
3981
3990
|
}
|
|
3982
3991
|
}, {
|
|
@@ -3998,20 +4007,20 @@ var Ot = "9", iu = 15, au = He(Ot, iu), ou = /[- ]/, du = function() {
|
|
|
3998
4007
|
u = u.replace(du(), "\\d").replace(uu(), "\\d");
|
|
3999
4008
|
var l = au.match(u)[0];
|
|
4000
4009
|
if (!(i.length > l.length)) {
|
|
4001
|
-
var c = new RegExp("^" + u + "$"), $ = i.replace(/\d/g,
|
|
4010
|
+
var c = new RegExp("^" + u + "$"), $ = i.replace(/\d/g, It);
|
|
4002
4011
|
c.test($) && (l = $);
|
|
4003
4012
|
var s = this.getFormatFormat(n, a), f;
|
|
4004
4013
|
if (this.shouldTryNationalPrefixFormattingRule(n, {
|
|
4005
4014
|
international: a,
|
|
4006
4015
|
nationalPrefix: o
|
|
4007
4016
|
})) {
|
|
4008
|
-
var y = s.replace(
|
|
4017
|
+
var y = s.replace(Nr, n.nationalPrefixFormattingRule());
|
|
4009
4018
|
if (Ze(n.nationalPrefixFormattingRule()) === (o || "") + Ze("$1") && (s = y, f = !0, o))
|
|
4010
4019
|
for (var h = o.length; h > 0; )
|
|
4011
4020
|
s = s.replace(/\d/, Q), h--;
|
|
4012
4021
|
}
|
|
4013
|
-
var p = l.replace(new RegExp(u), s).replace(new RegExp(
|
|
4014
|
-
return f || (d ? p = He(Q, d.length) + " " + p : o && (p = He(Q, o.length) + this.getSeparatorAfterNationalPrefix(n) + p)), a && (p =
|
|
4022
|
+
var p = l.replace(new RegExp(u), s).replace(new RegExp(It, "g"), Q);
|
|
4023
|
+
return f || (d ? p = He(Q, d.length) + " " + p : o && (p = He(Q, o.length) + this.getSeparatorAfterNationalPrefix(n) + p)), a && (p = Er(p)), p;
|
|
4015
4024
|
}
|
|
4016
4025
|
}
|
|
4017
4026
|
}, {
|
|
@@ -4022,7 +4031,7 @@ var Ot = "9", iu = 15, au = He(Ot, iu), ou = /[- ]/, du = function() {
|
|
|
4022
4031
|
this.resetFormat();
|
|
4023
4032
|
return;
|
|
4024
4033
|
}
|
|
4025
|
-
return this.populatedNationalNumberTemplate = r[0], this.populatedNationalNumberTemplatePosition = r[1],
|
|
4034
|
+
return this.populatedNationalNumberTemplate = r[0], this.populatedNationalNumberTemplatePosition = r[1], Un(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
|
|
4026
4035
|
}
|
|
4027
4036
|
}, {
|
|
4028
4037
|
key: "shouldTryNationalPrefixFormattingRule",
|
|
@@ -4053,12 +4062,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4053
4062
|
}
|
|
4054
4063
|
function fu(e, t) {
|
|
4055
4064
|
if (e) {
|
|
4056
|
-
if (typeof e == "string") return
|
|
4065
|
+
if (typeof e == "string") return qn(e, t);
|
|
4057
4066
|
var n = {}.toString.call(e).slice(8, -1);
|
|
4058
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
4067
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qn(e, t) : void 0;
|
|
4059
4068
|
}
|
|
4060
4069
|
}
|
|
4061
|
-
function
|
|
4070
|
+
function qn(e, t) {
|
|
4062
4071
|
(t == null || t > e.length) && (t = e.length);
|
|
4063
4072
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
4064
4073
|
return r;
|
|
@@ -4110,7 +4119,7 @@ function vu(e, t) {
|
|
|
4110
4119
|
}
|
|
4111
4120
|
return String(e);
|
|
4112
4121
|
}
|
|
4113
|
-
var bu = "[" + ee + Y + "]+", Cu = new RegExp("^" + bu + "$", "i"), Pu = "(?:[" + nt + "][" + ee + Y + "]*|[" + ee + Y + "]+)",
|
|
4122
|
+
var bu = "[" + ee + Y + "]+", Cu = new RegExp("^" + bu + "$", "i"), Pu = "(?:[" + nt + "][" + ee + Y + "]*|[" + ee + Y + "]+)", Eu = new RegExp("[^" + ee + Y + "]+.*$"), Nu = /[^\d\[\]]/, Su = /* @__PURE__ */ (function() {
|
|
4114
4123
|
function e(t) {
|
|
4115
4124
|
var n = t.defaultCountry, r = t.defaultCallingCode, i = t.metadata, a = t.onNationalSignificantNumberChange;
|
|
4116
4125
|
yu(this, e), this.defaultCountry = n, this.defaultCallingCode = r, this.metadata = i, this.onNationalSignificantNumberChange = a;
|
|
@@ -4153,7 +4162,7 @@ var bu = "[" + ee + Y + "]+", Cu = new RegExp("^" + bu + "$", "i"), Pu = "(?:["
|
|
|
4153
4162
|
}, {
|
|
4154
4163
|
key: "extractCountryCallingCode",
|
|
4155
4164
|
value: function(n) {
|
|
4156
|
-
var r =
|
|
4165
|
+
var r = Ht("+" + n.getDigitsWithoutInternationalPrefix(), n.country, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), i = r.countryCallingCode, a = r.number;
|
|
4157
4166
|
if (i)
|
|
4158
4167
|
return n.setCallingCode(i), n.update({
|
|
4159
4168
|
nationalSignificantNumber: a
|
|
@@ -4165,7 +4174,7 @@ var bu = "[" + ee + Y + "]+", Cu = new RegExp("^" + bu + "$", "i"), Pu = "(?:["
|
|
|
4165
4174
|
if (n) {
|
|
4166
4175
|
this.hasSelectedNumberingPlan = !0;
|
|
4167
4176
|
var r = n._nationalPrefixForParsing();
|
|
4168
|
-
this.couldPossiblyExtractAnotherNationalSignificantNumber = r &&
|
|
4177
|
+
this.couldPossiblyExtractAnotherNationalSignificantNumber = r && Nu.test(r);
|
|
4169
4178
|
} else
|
|
4170
4179
|
this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
|
|
4171
4180
|
}
|
|
@@ -4180,7 +4189,7 @@ var bu = "[" + ee + Y + "]+", Cu = new RegExp("^" + bu + "$", "i"), Pu = "(?:["
|
|
|
4180
4189
|
key: "extractNationalSignificantNumber",
|
|
4181
4190
|
value: function(n, r) {
|
|
4182
4191
|
if (this.hasSelectedNumberingPlan) {
|
|
4183
|
-
var i =
|
|
4192
|
+
var i = bt(n, this.metadata), a = i.nationalPrefix, o = i.nationalNumber, d = i.carrierCode;
|
|
4184
4193
|
if (o !== n)
|
|
4185
4194
|
return this.onExtractedNationalNumber(a, d, o, n, r), !0;
|
|
4186
4195
|
}
|
|
@@ -4196,7 +4205,7 @@ var bu = "[" + ee + Y + "]+", Cu = new RegExp("^" + bu + "$", "i"), Pu = "(?:["
|
|
|
4196
4205
|
if (!this.hasExtractedNationalSignificantNumber)
|
|
4197
4206
|
return this.extractNationalSignificantNumber(n, i);
|
|
4198
4207
|
if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
|
|
4199
|
-
var a =
|
|
4208
|
+
var a = bt(n, this.metadata), o = a.nationalPrefix, d = a.nationalNumber, u = a.carrierCode;
|
|
4200
4209
|
if (d !== r)
|
|
4201
4210
|
return this.onExtractedNationalNumber(o, u, d, n, i), !0;
|
|
4202
4211
|
}
|
|
@@ -4280,7 +4289,7 @@ function Tu(e) {
|
|
|
4280
4289
|
if (!(t < 0)) {
|
|
4281
4290
|
e = e.slice(t);
|
|
4282
4291
|
var n;
|
|
4283
|
-
return e[0] === "+" && (n = !0, e = e.slice(1)), e = e.replace(
|
|
4292
|
+
return e[0] === "+" && (n = !0, e = e.slice(1)), e = e.replace(Eu, ""), n && (e = "+" + e), e;
|
|
4284
4293
|
}
|
|
4285
4294
|
}
|
|
4286
4295
|
function Ou(e) {
|
|
@@ -4308,12 +4317,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4308
4317
|
}
|
|
4309
4318
|
function wu(e, t) {
|
|
4310
4319
|
if (e) {
|
|
4311
|
-
if (typeof e == "string") return
|
|
4320
|
+
if (typeof e == "string") return Zn(e, t);
|
|
4312
4321
|
var n = {}.toString.call(e).slice(8, -1);
|
|
4313
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
4322
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Zn(e, t) : void 0;
|
|
4314
4323
|
}
|
|
4315
4324
|
}
|
|
4316
|
-
function
|
|
4325
|
+
function Zn(e, t) {
|
|
4317
4326
|
(t == null || t > e.length) && (t = e.length);
|
|
4318
4327
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
4319
4328
|
return r;
|
|
@@ -4530,7 +4539,7 @@ var Pe = /* @__PURE__ */ (function() {
|
|
|
4530
4539
|
}, {
|
|
4531
4540
|
key: "determineTheCountry",
|
|
4532
4541
|
value: function() {
|
|
4533
|
-
this.state.setCountry(
|
|
4542
|
+
this.state.setCountry(Wt(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
|
|
4534
4543
|
nationalNumber: this.state.nationalSignificantNumber,
|
|
4535
4544
|
metadata: this.metadata
|
|
4536
4545
|
}));
|
|
@@ -4645,7 +4654,7 @@ var Pe = /* @__PURE__ */ (function() {
|
|
|
4645
4654
|
}
|
|
4646
4655
|
}]);
|
|
4647
4656
|
})();
|
|
4648
|
-
function
|
|
4657
|
+
function Xn(e) {
|
|
4649
4658
|
return new V(e).getCountries();
|
|
4650
4659
|
}
|
|
4651
4660
|
function ju(e, t, n) {
|
|
@@ -4655,7 +4664,7 @@ function Fr(e) {
|
|
|
4655
4664
|
var t = e.inputFormat, n = e.country, r = e.metadata;
|
|
4656
4665
|
return t === "NATIONAL_PART_OF_INTERNATIONAL" ? "+".concat(le(n, r)) : "";
|
|
4657
4666
|
}
|
|
4658
|
-
function
|
|
4667
|
+
function At(e, t) {
|
|
4659
4668
|
return t && (e = e.slice(t.length), e[0] === " " && (e = e.slice(1))), e;
|
|
4660
4669
|
}
|
|
4661
4670
|
function Gu(e, t, n) {
|
|
@@ -4680,15 +4689,15 @@ function Uu(e) {
|
|
|
4680
4689
|
return e.selectionStart;
|
|
4681
4690
|
}
|
|
4682
4691
|
var Bu = 8, Wu = "+", Hu = ["onKeyDown", "country", "inputFormat", "metadata", "international", "withCountryCallingCode"];
|
|
4683
|
-
function
|
|
4684
|
-
return
|
|
4692
|
+
function _t() {
|
|
4693
|
+
return _t = Object.assign ? Object.assign.bind() : function(e) {
|
|
4685
4694
|
for (var t = 1; t < arguments.length; t++) {
|
|
4686
4695
|
var n = arguments[t];
|
|
4687
4696
|
for (var r in n)
|
|
4688
4697
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
4689
4698
|
}
|
|
4690
4699
|
return e;
|
|
4691
|
-
},
|
|
4700
|
+
}, _t.apply(this, arguments);
|
|
4692
4701
|
}
|
|
4693
4702
|
function Vu(e, t) {
|
|
4694
4703
|
if (e == null) return {};
|
|
@@ -4717,7 +4726,7 @@ function Yu(e) {
|
|
|
4717
4726
|
country: a,
|
|
4718
4727
|
metadata: u
|
|
4719
4728
|
}), h = f.input(y + s), p = f.getTemplate();
|
|
4720
|
-
return y && (h =
|
|
4729
|
+
return y && (h = At(h, y), p && (p = At(p, y))), {
|
|
4721
4730
|
text: h,
|
|
4722
4731
|
template: p
|
|
4723
4732
|
};
|
|
@@ -4725,7 +4734,7 @@ function Yu(e) {
|
|
|
4725
4734
|
onKeyDown: i,
|
|
4726
4735
|
inputFormat: o
|
|
4727
4736
|
});
|
|
4728
|
-
return /* @__PURE__ */ S.createElement(Ye,
|
|
4737
|
+
return /* @__PURE__ */ S.createElement(Ye, _t({}, l, {
|
|
4729
4738
|
ref: r,
|
|
4730
4739
|
parse: Gu,
|
|
4731
4740
|
format: c,
|
|
@@ -4775,15 +4784,15 @@ function Yu(e) {
|
|
|
4775
4784
|
}
|
|
4776
4785
|
const qu = Yu();
|
|
4777
4786
|
var Zu = ["value", "onChange", "onKeyDown", "country", "inputFormat", "metadata", "inputComponent", "international", "withCountryCallingCode"];
|
|
4778
|
-
function
|
|
4779
|
-
return
|
|
4787
|
+
function wt() {
|
|
4788
|
+
return wt = Object.assign ? Object.assign.bind() : function(e) {
|
|
4780
4789
|
for (var t = 1; t < arguments.length; t++) {
|
|
4781
4790
|
var n = arguments[t];
|
|
4782
4791
|
for (var r in n)
|
|
4783
4792
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
4784
4793
|
}
|
|
4785
4794
|
return e;
|
|
4786
|
-
},
|
|
4795
|
+
}, wt.apply(this, arguments);
|
|
4787
4796
|
}
|
|
4788
4797
|
function Xu(e, t) {
|
|
4789
4798
|
if (e == null) return {};
|
|
@@ -4811,19 +4820,19 @@ function zu(e) {
|
|
|
4811
4820
|
country: d,
|
|
4812
4821
|
metadata: c
|
|
4813
4822
|
}), h = ue(function(P) {
|
|
4814
|
-
var
|
|
4815
|
-
if (
|
|
4816
|
-
var
|
|
4817
|
-
|
|
4823
|
+
var O = Nt(P.target.value);
|
|
4824
|
+
if (O === i) {
|
|
4825
|
+
var N = Jn(y, O, d, c);
|
|
4826
|
+
N.indexOf(P.target.value) === 0 && (O = O.slice(0, -1));
|
|
4818
4827
|
}
|
|
4819
|
-
a(
|
|
4828
|
+
a(O);
|
|
4820
4829
|
}, [y, i, a, d, c]), p = Mr({
|
|
4821
4830
|
onKeyDown: o,
|
|
4822
4831
|
inputFormat: u
|
|
4823
4832
|
});
|
|
4824
|
-
return /* @__PURE__ */ S.createElement(s,
|
|
4833
|
+
return /* @__PURE__ */ S.createElement(s, wt({}, f, {
|
|
4825
4834
|
ref: r,
|
|
4826
|
-
value:
|
|
4835
|
+
value: Jn(y, i, d, c),
|
|
4827
4836
|
onChange: h,
|
|
4828
4837
|
onKeyDown: p
|
|
4829
4838
|
}));
|
|
@@ -4874,13 +4883,13 @@ function zu(e) {
|
|
|
4874
4883
|
}, t;
|
|
4875
4884
|
}
|
|
4876
4885
|
const Qu = zu();
|
|
4877
|
-
function
|
|
4878
|
-
return
|
|
4886
|
+
function Jn(e, t, n, r) {
|
|
4887
|
+
return At(ju(e + t, n, r), e);
|
|
4879
4888
|
}
|
|
4880
4889
|
function el(e) {
|
|
4881
|
-
return
|
|
4890
|
+
return zn(e[0]) + zn(e[1]);
|
|
4882
4891
|
}
|
|
4883
|
-
function
|
|
4892
|
+
function zn(e) {
|
|
4884
4893
|
return String.fromCodePoint(127397 + e.toUpperCase().charCodeAt(0));
|
|
4885
4894
|
}
|
|
4886
4895
|
var tl = ["value", "onChange", "options", "disabled", "readOnly"], nl = ["value", "options", "className", "iconComponent", "getIconAspectRatio", "arrowComponent", "unicodeFlags"];
|
|
@@ -4899,13 +4908,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4899
4908
|
}
|
|
4900
4909
|
function il(e, t) {
|
|
4901
4910
|
if (e) {
|
|
4902
|
-
if (typeof e == "string") return
|
|
4911
|
+
if (typeof e == "string") return Qn(e, t);
|
|
4903
4912
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
4904
4913
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
4905
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
4914
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Qn(e, t);
|
|
4906
4915
|
}
|
|
4907
4916
|
}
|
|
4908
|
-
function
|
|
4917
|
+
function Qn(e, t) {
|
|
4909
4918
|
(t == null || t > e.length) && (t = e.length);
|
|
4910
4919
|
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
|
|
4911
4920
|
return r;
|
|
@@ -5034,15 +5043,15 @@ function ul(e, t) {
|
|
|
5034
5043
|
return e == null ? t == null : e === t;
|
|
5035
5044
|
}
|
|
5036
5045
|
var ll = ["country", "countryName", "flags", "flagUrl"];
|
|
5037
|
-
function
|
|
5038
|
-
return
|
|
5046
|
+
function Rt() {
|
|
5047
|
+
return Rt = Object.assign ? Object.assign.bind() : function(e) {
|
|
5039
5048
|
for (var t = 1; t < arguments.length; t++) {
|
|
5040
5049
|
var n = arguments[t];
|
|
5041
5050
|
for (var r in n)
|
|
5042
5051
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
5043
5052
|
}
|
|
5044
5053
|
return e;
|
|
5045
|
-
},
|
|
5054
|
+
}, Rt.apply(this, arguments);
|
|
5046
5055
|
}
|
|
5047
5056
|
function sl(e, t) {
|
|
5048
5057
|
if (e == null) return {};
|
|
@@ -5061,17 +5070,17 @@ function cl(e, t) {
|
|
|
5061
5070
|
i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
5062
5071
|
return n;
|
|
5063
5072
|
}
|
|
5064
|
-
function
|
|
5073
|
+
function Kt(e) {
|
|
5065
5074
|
var t = e.country, n = e.countryName, r = e.flags, i = e.flagUrl, a = sl(e, ll);
|
|
5066
5075
|
return r && r[t] ? r[t]({
|
|
5067
5076
|
title: n
|
|
5068
|
-
}) : /* @__PURE__ */ S.createElement("img",
|
|
5077
|
+
}) : /* @__PURE__ */ S.createElement("img", Rt({}, a, {
|
|
5069
5078
|
alt: n,
|
|
5070
5079
|
role: n ? void 0 : "presentation",
|
|
5071
5080
|
src: i.replace("{XX}", t).replace("{xx}", t.toLowerCase())
|
|
5072
5081
|
}));
|
|
5073
5082
|
}
|
|
5074
|
-
|
|
5083
|
+
Kt.propTypes = {
|
|
5075
5084
|
// The country to be selected by default.
|
|
5076
5085
|
// Two-letter country code ("ISO 3166-1 alpha-2").
|
|
5077
5086
|
country: g.string.isRequired,
|
|
@@ -5100,7 +5109,7 @@ function Je() {
|
|
|
5100
5109
|
return e;
|
|
5101
5110
|
}, Je.apply(this, arguments);
|
|
5102
5111
|
}
|
|
5103
|
-
function
|
|
5112
|
+
function Yt(e, t) {
|
|
5104
5113
|
if (e == null) return {};
|
|
5105
5114
|
var n = yl(e, t), r, i;
|
|
5106
5115
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -5118,7 +5127,7 @@ function yl(e, t) {
|
|
|
5118
5127
|
return n;
|
|
5119
5128
|
}
|
|
5120
5129
|
function rt(e) {
|
|
5121
|
-
var t = e.aspectRatio, n =
|
|
5130
|
+
var t = e.aspectRatio, n = Yt(e, fl);
|
|
5122
5131
|
return t === 1 ? /* @__PURE__ */ S.createElement(Ur, n) : /* @__PURE__ */ S.createElement(Gr, n);
|
|
5123
5132
|
}
|
|
5124
5133
|
rt.propTypes = {
|
|
@@ -5126,7 +5135,7 @@ rt.propTypes = {
|
|
|
5126
5135
|
aspectRatio: g.number
|
|
5127
5136
|
};
|
|
5128
5137
|
function Gr(e) {
|
|
5129
|
-
var t = e.title, n =
|
|
5138
|
+
var t = e.title, n = Yt(e, $l);
|
|
5130
5139
|
return /* @__PURE__ */ S.createElement("svg", Je({}, n, {
|
|
5131
5140
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5132
5141
|
viewBox: "0 0 75 50"
|
|
@@ -5168,7 +5177,7 @@ Gr.propTypes = {
|
|
|
5168
5177
|
title: g.string.isRequired
|
|
5169
5178
|
};
|
|
5170
5179
|
function Ur(e) {
|
|
5171
|
-
var t = e.title, n =
|
|
5180
|
+
var t = e.title, n = Yt(e, pl);
|
|
5172
5181
|
return /* @__PURE__ */ S.createElement("svg", Je({}, n, {
|
|
5173
5182
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5174
5183
|
viewBox: "0 0 50 50"
|
|
@@ -5234,13 +5243,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5234
5243
|
}
|
|
5235
5244
|
function gl(e, t) {
|
|
5236
5245
|
if (e) {
|
|
5237
|
-
if (typeof e == "string") return
|
|
5246
|
+
if (typeof e == "string") return er(e, t);
|
|
5238
5247
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
5239
5248
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
5240
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
5249
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return er(e, t);
|
|
5241
5250
|
}
|
|
5242
5251
|
}
|
|
5243
|
-
function
|
|
5252
|
+
function er(e, t) {
|
|
5244
5253
|
(t == null || t > e.length) && (t = e.length);
|
|
5245
5254
|
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
|
|
5246
5255
|
return r;
|
|
@@ -5291,19 +5300,19 @@ function Wr(e, t) {
|
|
|
5291
5300
|
}), e.length === 0 && (e = void 0)), e;
|
|
5292
5301
|
}
|
|
5293
5302
|
var Cl = ["country", "label", "aspectRatio"];
|
|
5294
|
-
function
|
|
5295
|
-
return
|
|
5303
|
+
function xt() {
|
|
5304
|
+
return xt = Object.assign ? Object.assign.bind() : function(e) {
|
|
5296
5305
|
for (var t = 1; t < arguments.length; t++) {
|
|
5297
5306
|
var n = arguments[t];
|
|
5298
5307
|
for (var r in n)
|
|
5299
5308
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
5300
5309
|
}
|
|
5301
5310
|
return e;
|
|
5302
|
-
},
|
|
5311
|
+
}, xt.apply(this, arguments);
|
|
5303
5312
|
}
|
|
5304
5313
|
function Pl(e, t) {
|
|
5305
5314
|
if (e == null) return {};
|
|
5306
|
-
var n =
|
|
5315
|
+
var n = El(e, t), r, i;
|
|
5307
5316
|
if (Object.getOwnPropertySymbols) {
|
|
5308
5317
|
var a = Object.getOwnPropertySymbols(e);
|
|
5309
5318
|
for (i = 0; i < a.length; i++)
|
|
@@ -5311,7 +5320,7 @@ function Pl(e, t) {
|
|
|
5311
5320
|
}
|
|
5312
5321
|
return n;
|
|
5313
5322
|
}
|
|
5314
|
-
function
|
|
5323
|
+
function El(e, t) {
|
|
5315
5324
|
if (e == null) return {};
|
|
5316
5325
|
var n = {}, r = Object.keys(e), i, a;
|
|
5317
5326
|
for (a = 0; a < r.length; a++)
|
|
@@ -5322,7 +5331,7 @@ function Hr(e) {
|
|
|
5322
5331
|
var t = e.flags, n = e.flagUrl, r = e.flagComponent, i = e.internationalIcon;
|
|
5323
5332
|
function a(o) {
|
|
5324
5333
|
var d = o.country, u = o.label, l = o.aspectRatio, c = Pl(o, Cl), $ = i === rt ? l : void 0;
|
|
5325
|
-
return /* @__PURE__ */ S.createElement("div",
|
|
5334
|
+
return /* @__PURE__ */ S.createElement("div", xt({}, c, {
|
|
5326
5335
|
className: Ke("PhoneInputCountryIcon", {
|
|
5327
5336
|
"PhoneInputCountryIcon--square": $ === 1,
|
|
5328
5337
|
"PhoneInputCountryIcon--border": d
|
|
@@ -5348,10 +5357,10 @@ function Hr(e) {
|
|
|
5348
5357
|
Hr({
|
|
5349
5358
|
// Must be equal to `defaultProps.flagUrl` in `./PhoneInputWithCountry.js`.
|
|
5350
5359
|
flagUrl: "https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",
|
|
5351
|
-
flagComponent:
|
|
5360
|
+
flagComponent: Kt,
|
|
5352
5361
|
internationalIcon: rt
|
|
5353
5362
|
});
|
|
5354
|
-
function
|
|
5363
|
+
function Nl(e, t) {
|
|
5355
5364
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
5356
5365
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
5357
5366
|
if (Array.isArray(e) || (n = Sl(e)) || t) {
|
|
@@ -5366,19 +5375,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5366
5375
|
}
|
|
5367
5376
|
function Sl(e, t) {
|
|
5368
5377
|
if (e) {
|
|
5369
|
-
if (typeof e == "string") return
|
|
5378
|
+
if (typeof e == "string") return tr(e, t);
|
|
5370
5379
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
5371
5380
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
5372
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
5381
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return tr(e, t);
|
|
5373
5382
|
}
|
|
5374
5383
|
}
|
|
5375
|
-
function
|
|
5384
|
+
function tr(e, t) {
|
|
5376
5385
|
(t == null || t > e.length) && (t = e.length);
|
|
5377
5386
|
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
|
|
5378
5387
|
return r;
|
|
5379
5388
|
}
|
|
5380
5389
|
function Tl(e, t) {
|
|
5381
|
-
for (var n =
|
|
5390
|
+
for (var n = Nl(e), r; !(r = n()).done; ) {
|
|
5382
5391
|
var i = r.value;
|
|
5383
5392
|
i && Ol(i, t);
|
|
5384
5393
|
}
|
|
@@ -5506,7 +5515,7 @@ function Fl(e, t) {
|
|
|
5506
5515
|
};
|
|
5507
5516
|
}
|
|
5508
5517
|
}
|
|
5509
|
-
l === !1 && r && e && e[0] === "+" && (e =
|
|
5518
|
+
l === !1 && r && e && e[0] === "+" && (e = nr(e, r, s)), e && r && c && (e = Rl(e, r, s)), e && e[0] !== "+" && (!r || l) && (e = "+" + e), !e && n && n[0] === "+" && (l ? r = void 0 : r = i), e === "+" && n && n[0] === "+" && n.length > 1 && (r = void 0);
|
|
5510
5519
|
var p;
|
|
5511
5520
|
return e && (e[0] === "+" && (e === "+" || r && ie(r, s).indexOf(e) === 0) ? p = void 0 : p = me(e, r, s)), p && (r = qr(p, {
|
|
5512
5521
|
country: r,
|
|
@@ -5517,7 +5526,7 @@ function Fl(e, t) {
|
|
|
5517
5526
|
// Instead, it's explicitly checked a bit later in the code.
|
|
5518
5527
|
required: !1,
|
|
5519
5528
|
metadata: s
|
|
5520
|
-
}), l === !1 && r && e && e[0] === "+" && (e =
|
|
5529
|
+
}), l === !1 && r && e && e[0] === "+" && (e = nr(e, r, s), p = me(e, r, s))), !r && o && (r = i || d()), {
|
|
5521
5530
|
// `phoneDigits` returned here are a "normalized" version of the original `phoneDigits`.
|
|
5522
5531
|
// The returned `phoneDigits` shouldn't be used anywhere except for passing it as
|
|
5523
5532
|
// `prevPhoneDigits` parameter to this same function on next input change event.
|
|
@@ -5526,7 +5535,7 @@ function Fl(e, t) {
|
|
|
5526
5535
|
value: p
|
|
5527
5536
|
};
|
|
5528
5537
|
}
|
|
5529
|
-
function
|
|
5538
|
+
function nr(e, t, n) {
|
|
5530
5539
|
if (e.indexOf(ie(t, n)) === 0) {
|
|
5531
5540
|
var r = new Pe(t, n);
|
|
5532
5541
|
r.input(e);
|
|
@@ -5584,7 +5593,7 @@ function Le(e) {
|
|
|
5584
5593
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
5585
5594
|
}, Le(e);
|
|
5586
5595
|
}
|
|
5587
|
-
function
|
|
5596
|
+
function rr(e, t) {
|
|
5588
5597
|
var n = Object.keys(e);
|
|
5589
5598
|
if (Object.getOwnPropertySymbols) {
|
|
5590
5599
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -5597,9 +5606,9 @@ function nr(e, t) {
|
|
|
5597
5606
|
function Ue(e) {
|
|
5598
5607
|
for (var t = 1; t < arguments.length; t++) {
|
|
5599
5608
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
5600
|
-
t % 2 ?
|
|
5609
|
+
t % 2 ? rr(Object(n), !0).forEach(function(r) {
|
|
5601
5610
|
kl(e, r, n[r]);
|
|
5602
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
5611
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rr(Object(n)).forEach(function(r) {
|
|
5603
5612
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
5604
5613
|
});
|
|
5605
5614
|
}
|
|
@@ -5644,7 +5653,7 @@ function Ul(e, t, n) {
|
|
|
5644
5653
|
hasUserSelectedACountry: void 0
|
|
5645
5654
|
};
|
|
5646
5655
|
if (a !== $) {
|
|
5647
|
-
var
|
|
5656
|
+
var O = !a || it(a, r), N = (
|
|
5648
5657
|
// By default, "no value has been entered" means `value` is `undefined`.
|
|
5649
5658
|
!y || // When `international` is `true`, and some country has been pre-selected,
|
|
5650
5659
|
// then the `<input/>` contains a pre-filled value of `+${countryCallingCode}${leadingDigits}`,
|
|
@@ -5654,8 +5663,8 @@ function Ul(e, t, n) {
|
|
|
5654
5663
|
value: void 0,
|
|
5655
5664
|
defaultCountry: $
|
|
5656
5665
|
})
|
|
5657
|
-
),
|
|
5658
|
-
if (!h &&
|
|
5666
|
+
), T = !o && N;
|
|
5667
|
+
if (!h && O && T)
|
|
5659
5668
|
return {
|
|
5660
5669
|
country: a,
|
|
5661
5670
|
// If `phoneDigits` is empty, then automatically select the new `country`
|
|
@@ -5671,22 +5680,22 @@ function Ul(e, t, n) {
|
|
|
5671
5680
|
value: void 0
|
|
5672
5681
|
};
|
|
5673
5682
|
}
|
|
5674
|
-
if (!
|
|
5675
|
-
var m,
|
|
5683
|
+
if (!ir(o, s) && !ir(o, y)) {
|
|
5684
|
+
var m, v;
|
|
5676
5685
|
if (o) {
|
|
5677
5686
|
o && Br(o), m = Yr(o, r);
|
|
5678
5687
|
var A = Wr(i, r);
|
|
5679
|
-
m && m.country ? (!A || A.indexOf(m.country) >= 0) && (
|
|
5688
|
+
m && m.country ? (!A || A.indexOf(m.country) >= 0) && (v = m.country) : (v = qr(o, {
|
|
5680
5689
|
country: void 0,
|
|
5681
5690
|
countries: A,
|
|
5682
5691
|
metadata: r
|
|
5683
|
-
}),
|
|
5692
|
+
}), v || a && o.indexOf(ie(a, r)) === 0 && (v = a));
|
|
5684
5693
|
}
|
|
5685
5694
|
var F;
|
|
5686
5695
|
if (o) {
|
|
5687
5696
|
if (p) {
|
|
5688
|
-
var G =
|
|
5689
|
-
G ?
|
|
5697
|
+
var G = v ? p === v : ge(o, p, r);
|
|
5698
|
+
G ? v || (v = p) : F = {
|
|
5690
5699
|
latestCountrySelectedByUser: void 0
|
|
5691
5700
|
};
|
|
5692
5701
|
}
|
|
@@ -5702,11 +5711,11 @@ function Ul(e, t, n) {
|
|
|
5702
5711
|
defaultCountry: a
|
|
5703
5712
|
}),
|
|
5704
5713
|
value: o,
|
|
5705
|
-
country: o ?
|
|
5714
|
+
country: o ? v : a
|
|
5706
5715
|
});
|
|
5707
5716
|
}
|
|
5708
5717
|
}
|
|
5709
|
-
function
|
|
5718
|
+
function ir(e, t) {
|
|
5710
5719
|
return e === null && (e = void 0), t === null && (t = void 0), e === t;
|
|
5711
5720
|
}
|
|
5712
5721
|
var Bl = ["name", "disabled", "readOnly", "autoComplete", "style", "className", "inputRef", "inputComponent", "numberInputProps", "smartCaret", "countrySelectComponent", "countrySelectProps", "containerComponent", "containerComponentProps", "defaultCountry", "countries", "countryOptionsOrder", "labels", "flags", "flagComponent", "flagUrl", "addInternationalOption", "internationalIcon", "displayInitialValueAsLocalNumber", "initialValueFormat", "onCountryChange", "limitMaxLength", "countryCallingCodeEditable", "focusInputOnCountrySelection", "reset", "metadata", "international", "locales"];
|
|
@@ -5718,7 +5727,7 @@ function Ce(e) {
|
|
|
5718
5727
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
5719
5728
|
}, Ce(e);
|
|
5720
5729
|
}
|
|
5721
|
-
function
|
|
5730
|
+
function ar(e, t) {
|
|
5722
5731
|
var n = Object.keys(e);
|
|
5723
5732
|
if (Object.getOwnPropertySymbols) {
|
|
5724
5733
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -5731,9 +5740,9 @@ function ir(e, t) {
|
|
|
5731
5740
|
function Jr(e) {
|
|
5732
5741
|
for (var t = 1; t < arguments.length; t++) {
|
|
5733
5742
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
5734
|
-
t % 2 ?
|
|
5743
|
+
t % 2 ? ar(Object(n), !0).forEach(function(r) {
|
|
5735
5744
|
z(e, r, n[r]);
|
|
5736
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
5745
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ar(Object(n)).forEach(function(r) {
|
|
5737
5746
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
5738
5747
|
});
|
|
5739
5748
|
}
|
|
@@ -5770,14 +5779,14 @@ function Vl(e, t) {
|
|
|
5770
5779
|
if (!(e instanceof t))
|
|
5771
5780
|
throw new TypeError("Cannot call a class as a function");
|
|
5772
5781
|
}
|
|
5773
|
-
function
|
|
5782
|
+
function or(e, t) {
|
|
5774
5783
|
for (var n = 0; n < t.length; n++) {
|
|
5775
5784
|
var r = t[n];
|
|
5776
5785
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Qr(r.key), r);
|
|
5777
5786
|
}
|
|
5778
5787
|
}
|
|
5779
5788
|
function Kl(e, t, n) {
|
|
5780
|
-
return t &&
|
|
5789
|
+
return t && or(e.prototype, t), n && or(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
5781
5790
|
}
|
|
5782
5791
|
function Yl(e, t, n) {
|
|
5783
5792
|
return t = ze(t), ql(e, zr() ? Reflect.construct(t, n || [], ze(e).constructor) : t.apply(e, n));
|
|
@@ -5812,12 +5821,12 @@ function ze(e) {
|
|
|
5812
5821
|
function Xl(e, t) {
|
|
5813
5822
|
if (typeof t != "function" && t !== null)
|
|
5814
5823
|
throw new TypeError("Super expression must either be null or a function");
|
|
5815
|
-
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t &&
|
|
5824
|
+
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Ft(e, t);
|
|
5816
5825
|
}
|
|
5817
|
-
function
|
|
5818
|
-
return
|
|
5826
|
+
function Ft(e, t) {
|
|
5827
|
+
return Ft = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
|
|
5819
5828
|
return r.__proto__ = i, r;
|
|
5820
|
-
},
|
|
5829
|
+
}, Ft(e, t);
|
|
5821
5830
|
}
|
|
5822
5831
|
function z(e, t, n) {
|
|
5823
5832
|
return t = Qr(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
@@ -5845,14 +5854,14 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
5845
5854
|
var P = r.props.metadata;
|
|
5846
5855
|
return it(p, P);
|
|
5847
5856
|
}), z(r, "onCountryChange", function(p) {
|
|
5848
|
-
var P = r.props,
|
|
5857
|
+
var P = r.props, O = P.international, N = P.metadata, T = P.onChange, m = P.focusInputOnCountrySelection, v = r.state, A = v.phoneDigits, F = v.country, G = wl(A, {
|
|
5849
5858
|
prevCountry: F,
|
|
5850
5859
|
newCountry: p,
|
|
5851
|
-
metadata:
|
|
5860
|
+
metadata: N,
|
|
5852
5861
|
// Convert the phone number to "national" format
|
|
5853
5862
|
// when the user changes the selected country by hand.
|
|
5854
|
-
useNationalFormat: !
|
|
5855
|
-
}), B = me(G, p,
|
|
5863
|
+
useNationalFormat: !O
|
|
5864
|
+
}), B = me(G, p, N);
|
|
5856
5865
|
m && r.inputRef.current.focus(), r.setState({
|
|
5857
5866
|
country: p,
|
|
5858
5867
|
latestCountrySelectedByUser: p,
|
|
@@ -5860,14 +5869,14 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
5860
5869
|
phoneDigits: G,
|
|
5861
5870
|
value: B
|
|
5862
5871
|
}, function() {
|
|
5863
|
-
|
|
5872
|
+
T(B);
|
|
5864
5873
|
});
|
|
5865
5874
|
}), z(r, "onChange", function(p) {
|
|
5866
|
-
var P = r.props,
|
|
5875
|
+
var P = r.props, O = P.defaultCountry, N = P.onChange, T = P.addInternationalOption, m = P.international, v = P.limitMaxLength, A = P.countryCallingCodeEditable, F = P.metadata, G = r.state, B = G.countries, W = G.phoneDigits, K = G.country, q = G.latestCountrySelectedByUser, te = Fl(p, {
|
|
5867
5876
|
prevPhoneDigits: W,
|
|
5868
5877
|
country: K,
|
|
5869
|
-
countryRequired: !
|
|
5870
|
-
defaultCountry:
|
|
5878
|
+
countryRequired: !T,
|
|
5879
|
+
defaultCountry: O,
|
|
5871
5880
|
latestCountrySelectedByUser: q,
|
|
5872
5881
|
getAnyCountry: function() {
|
|
5873
5882
|
return r.getFirstSupportedCountry({
|
|
@@ -5876,7 +5885,7 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
5876
5885
|
},
|
|
5877
5886
|
countries: B,
|
|
5878
5887
|
international: m,
|
|
5879
|
-
limitMaxLength:
|
|
5888
|
+
limitMaxLength: v,
|
|
5880
5889
|
countryCallingCodeEditable: A,
|
|
5881
5890
|
metadata: F
|
|
5882
5891
|
}), $e = te.phoneDigits, J = te.country, X = te.value, oe = {
|
|
@@ -5891,7 +5900,7 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
5891
5900
|
// because `onChange()` will trigger `getDerivedStateFromProps()`
|
|
5892
5901
|
// with the new `value` which will be compared to `state.value` there.
|
|
5893
5902
|
function() {
|
|
5894
|
-
return
|
|
5903
|
+
return N(X);
|
|
5895
5904
|
}
|
|
5896
5905
|
);
|
|
5897
5906
|
}), z(r, "_onFocus", function() {
|
|
@@ -5913,15 +5922,15 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
5913
5922
|
r._onFocus();
|
|
5914
5923
|
var P = r.props.countrySelectProps;
|
|
5915
5924
|
if (P) {
|
|
5916
|
-
var
|
|
5917
|
-
|
|
5925
|
+
var O = P.onFocus;
|
|
5926
|
+
O && O(p);
|
|
5918
5927
|
}
|
|
5919
5928
|
}), z(r, "onCountryBlur", function(p) {
|
|
5920
5929
|
r._onBlur();
|
|
5921
5930
|
var P = r.props.countrySelectProps;
|
|
5922
5931
|
if (P) {
|
|
5923
|
-
var
|
|
5924
|
-
|
|
5932
|
+
var O = P.onBlur;
|
|
5933
|
+
O && O(p);
|
|
5925
5934
|
}
|
|
5926
5935
|
}), r.inputRef = /* @__PURE__ */ S.createRef();
|
|
5927
5936
|
var i = r.props, a = i.value;
|
|
@@ -5935,7 +5944,7 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
5935
5944
|
phoneNumber: y,
|
|
5936
5945
|
defaultCountry: s,
|
|
5937
5946
|
required: !d,
|
|
5938
|
-
countries: f ||
|
|
5947
|
+
countries: f || Xn(c),
|
|
5939
5948
|
getAnyCountry: function() {
|
|
5940
5949
|
return r.getFirstSupportedCountry({
|
|
5941
5950
|
countries: f
|
|
@@ -6001,7 +6010,7 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
6001
6010
|
var i = r.countries, a = this.props, o = a.international, d = a.countryCallingCodeEditable, u = a.countryOptionsOrder, l = a.addInternationalOption, c = a.labels, $ = a.locales, s = a.metadata;
|
|
6002
6011
|
return this.useMemoCountrySelectOptions(function() {
|
|
6003
6012
|
return vl(Al({
|
|
6004
|
-
countries: i ||
|
|
6013
|
+
countries: i || Xn(s),
|
|
6005
6014
|
countryNames: c,
|
|
6006
6015
|
addInternationalOption: o && d === !1 ? !1 : l,
|
|
6007
6016
|
compareStringsLocales: $
|
|
@@ -6031,9 +6040,9 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
6031
6040
|
r.defaultCountry, r.countries, r.countryOptionsOrder;
|
|
6032
6041
|
var P = r.labels;
|
|
6033
6042
|
r.flags, r.flagComponent, r.flagUrl, r.addInternationalOption, r.internationalIcon, r.displayInitialValueAsLocalNumber, r.initialValueFormat, r.onCountryChange, r.limitMaxLength, r.countryCallingCodeEditable, r.focusInputOnCountrySelection, r.reset;
|
|
6034
|
-
var
|
|
6043
|
+
var O = r.metadata, N = r.international;
|
|
6035
6044
|
r.locales;
|
|
6036
|
-
var
|
|
6045
|
+
var T = Wl(r, Bl), m = this.state, v = m.country, A = m.countries, F = m.phoneDigits, G = m.isFocused, B = s ? qu : Qu, W = this.getCountrySelectOptions({
|
|
6037
6046
|
countries: A
|
|
6038
6047
|
});
|
|
6039
6048
|
return /* @__PURE__ */ S.createElement(h, ve({
|
|
@@ -6047,7 +6056,7 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
6047
6056
|
name: i ? "".concat(i, "Country") : void 0,
|
|
6048
6057
|
"aria-label": P.country
|
|
6049
6058
|
}, y, {
|
|
6050
|
-
value:
|
|
6059
|
+
value: v,
|
|
6051
6060
|
options: W,
|
|
6052
6061
|
onChange: this.onCountryChange,
|
|
6053
6062
|
onFocus: this.onCountryFocus,
|
|
@@ -6059,13 +6068,13 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
6059
6068
|
ref: this.setInputRef,
|
|
6060
6069
|
type: "tel",
|
|
6061
6070
|
autoComplete: d
|
|
6062
|
-
}, $,
|
|
6063
|
-
inputFormat:
|
|
6064
|
-
international:
|
|
6065
|
-
withCountryCallingCode:
|
|
6071
|
+
}, $, T, {
|
|
6072
|
+
inputFormat: N === !0 ? "INTERNATIONAL" : N === !1 ? "NATIONAL" : "INTERNATIONAL_OR_NATIONAL",
|
|
6073
|
+
international: N ? !0 : void 0,
|
|
6074
|
+
withCountryCallingCode: N ? !0 : void 0,
|
|
6066
6075
|
name: i,
|
|
6067
|
-
metadata:
|
|
6068
|
-
country:
|
|
6076
|
+
metadata: O,
|
|
6077
|
+
country: v,
|
|
6069
6078
|
value: F || "",
|
|
6070
6079
|
onChange: this.onChange,
|
|
6071
6080
|
onFocus: this.onFocus,
|
|
@@ -6073,7 +6082,7 @@ var zl = /* @__PURE__ */ (function(e) {
|
|
|
6073
6082
|
disabled: a,
|
|
6074
6083
|
readOnly: o,
|
|
6075
6084
|
inputComponent: c,
|
|
6076
|
-
className: Ke("PhoneInputInput", $ && $.className,
|
|
6085
|
+
className: Ke("PhoneInputInput", $ && $.className, T.className)
|
|
6077
6086
|
})));
|
|
6078
6087
|
}
|
|
6079
6088
|
}], [{
|
|
@@ -6431,7 +6440,7 @@ ei.propTypes = {
|
|
|
6431
6440
|
*/
|
|
6432
6441
|
focusInputOnCountrySelection: g.bool
|
|
6433
6442
|
};
|
|
6434
|
-
var
|
|
6443
|
+
var dr = {
|
|
6435
6444
|
/**
|
|
6436
6445
|
* Remember (and autofill) the value as a phone number.
|
|
6437
6446
|
*/
|
|
@@ -6443,7 +6452,7 @@ var or = {
|
|
|
6443
6452
|
/**
|
|
6444
6453
|
* Flag icon component.
|
|
6445
6454
|
*/
|
|
6446
|
-
flagComponent:
|
|
6455
|
+
flagComponent: Kt,
|
|
6447
6456
|
/**
|
|
6448
6457
|
* By default, uses icons from `country-flag-icons` gitlab pages website.
|
|
6449
6458
|
*/
|
|
@@ -6506,8 +6515,8 @@ var or = {
|
|
|
6506
6515
|
};
|
|
6507
6516
|
function Ql(e) {
|
|
6508
6517
|
e = Jr({}, e);
|
|
6509
|
-
for (var t in
|
|
6510
|
-
e[t] === void 0 && (e[t] =
|
|
6518
|
+
for (var t in dr)
|
|
6519
|
+
e[t] === void 0 && (e[t] = dr[t]);
|
|
6511
6520
|
return e;
|
|
6512
6521
|
}
|
|
6513
6522
|
function e1(e, t) {
|
|
@@ -6781,15 +6790,15 @@ const t1 = {
|
|
|
6781
6790
|
ZZ: "International"
|
|
6782
6791
|
};
|
|
6783
6792
|
var n1 = ["metadata", "labels"];
|
|
6784
|
-
function
|
|
6785
|
-
return
|
|
6793
|
+
function Mt() {
|
|
6794
|
+
return Mt = Object.assign ? Object.assign.bind() : function(e) {
|
|
6786
6795
|
for (var t = 1; t < arguments.length; t++) {
|
|
6787
6796
|
var n = arguments[t];
|
|
6788
6797
|
for (var r in n)
|
|
6789
6798
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
6790
6799
|
}
|
|
6791
6800
|
return e;
|
|
6792
|
-
},
|
|
6801
|
+
}, Mt.apply(this, arguments);
|
|
6793
6802
|
}
|
|
6794
6803
|
function r1(e, t) {
|
|
6795
6804
|
if (e == null) return {};
|
|
@@ -6811,7 +6820,7 @@ function i1(e, t) {
|
|
|
6811
6820
|
function ti(e) {
|
|
6812
6821
|
var t = /* @__PURE__ */ S.forwardRef(function(n, r) {
|
|
6813
6822
|
var i = n.metadata, a = i === void 0 ? e : i, o = n.labels, d = o === void 0 ? t1 : o, u = r1(n, n1);
|
|
6814
|
-
return /* @__PURE__ */ S.createElement(ei,
|
|
6823
|
+
return /* @__PURE__ */ S.createElement(ei, Mt({}, u, {
|
|
6815
6824
|
ref: r,
|
|
6816
6825
|
metadata: a,
|
|
6817
6826
|
labels: d
|
|
@@ -6831,11 +6840,11 @@ ti(fr);
|
|
|
6831
6840
|
function ni() {
|
|
6832
6841
|
return a1(Rr, arguments);
|
|
6833
6842
|
}
|
|
6834
|
-
const
|
|
6843
|
+
const qt = "doct-auth-last-login";
|
|
6835
6844
|
function o1() {
|
|
6836
6845
|
if (typeof window > "u") return null;
|
|
6837
6846
|
try {
|
|
6838
|
-
const e = window.localStorage.getItem(
|
|
6847
|
+
const e = window.localStorage.getItem(qt);
|
|
6839
6848
|
if (!e) return null;
|
|
6840
6849
|
const t = JSON.parse(e);
|
|
6841
6850
|
if (t && typeof t.method == "string" && typeof t.maskedIdentifier == "string" && typeof t.timestamp == "number")
|
|
@@ -6847,14 +6856,14 @@ function o1() {
|
|
|
6847
6856
|
function d1(e) {
|
|
6848
6857
|
if (!(typeof window > "u"))
|
|
6849
6858
|
try {
|
|
6850
|
-
window.localStorage.setItem(
|
|
6859
|
+
window.localStorage.setItem(qt, JSON.stringify(e));
|
|
6851
6860
|
} catch {
|
|
6852
6861
|
}
|
|
6853
6862
|
}
|
|
6854
6863
|
function u1() {
|
|
6855
6864
|
if (!(typeof window > "u"))
|
|
6856
6865
|
try {
|
|
6857
|
-
window.localStorage.removeItem(
|
|
6866
|
+
window.localStorage.removeItem(qt);
|
|
6858
6867
|
} catch {
|
|
6859
6868
|
}
|
|
6860
6869
|
}
|
|
@@ -6886,7 +6895,7 @@ function l1() {
|
|
|
6886
6895
|
}
|
|
6887
6896
|
};
|
|
6888
6897
|
}
|
|
6889
|
-
function
|
|
6898
|
+
function N1() {
|
|
6890
6899
|
return {
|
|
6891
6900
|
get() {
|
|
6892
6901
|
return null;
|
|
@@ -6924,7 +6933,7 @@ function c1(e, t) {
|
|
|
6924
6933
|
const n = e?.code, r = ri(e).toLowerCase();
|
|
6925
6934
|
return n === "IDENTIFIER_CONFLICT" && t.email || t.email && r.includes("email") && r.includes("exists") ? "email" : n === "IDENTIFIER_CONFLICT" && t.phone || t.phone && (r.includes("mobile") || r.includes("phone")) && r.includes("exists") ? "phone" : null;
|
|
6926
6935
|
}
|
|
6927
|
-
function
|
|
6936
|
+
function mt(e) {
|
|
6928
6937
|
const t = ni(e);
|
|
6929
6938
|
return t ? {
|
|
6930
6939
|
countryCode: t.countryCallingCode,
|
|
@@ -6940,18 +6949,18 @@ function f1({
|
|
|
6940
6949
|
}) {
|
|
6941
6950
|
const n = se(e);
|
|
6942
6951
|
n.current = e;
|
|
6943
|
-
const r = e.tokenStorage ?? l1(), [i, a] = mi(Si,
|
|
6952
|
+
const r = e.tokenStorage ?? l1(), [i, a] = mi(Si, Ni()), o = ue((l) => {
|
|
6944
6953
|
r.set(l.accessToken, l.expiresAt), d1({
|
|
6945
6954
|
method: l.authMethod,
|
|
6946
6955
|
maskedIdentifier: l.authMethod === "phone" ? l.user.phone ?? "***" : l.user.email ?? "***",
|
|
6947
6956
|
timestamp: Date.now()
|
|
6948
6957
|
}), n.current.onAuthSuccess(l);
|
|
6949
6958
|
}, [r]);
|
|
6950
|
-
|
|
6959
|
+
Ee(() => {
|
|
6951
6960
|
i.step === "AUTHENTICATED" && ($i(), _i());
|
|
6952
|
-
}, [i.step]),
|
|
6961
|
+
}, [i.step]), Ee(() => {
|
|
6953
6962
|
i.step === "CHECKING_SESSION" || i.step === "AUTHENTICATED" || Ai(i);
|
|
6954
|
-
}, [i]),
|
|
6963
|
+
}, [i]), Ee(() => {
|
|
6955
6964
|
if (i.step !== "CHECKING_SESSION") return;
|
|
6956
6965
|
const l = n.current.apiAdapter, c = r.get(), $ = () => {
|
|
6957
6966
|
const s = Ii();
|
|
@@ -7005,26 +7014,35 @@ function f1({
|
|
|
7005
7014
|
const y = c1(s, f);
|
|
7006
7015
|
if (!y) return !1;
|
|
7007
7016
|
if (y === "email") {
|
|
7008
|
-
const
|
|
7009
|
-
if (!
|
|
7010
|
-
const
|
|
7017
|
+
const N = (f.email ?? "").trim();
|
|
7018
|
+
if (!N) return !1;
|
|
7019
|
+
const T = i.identifierType === "email" ? i.identifierValue : i.pendingEmail, m = i.identifierType === "phone" ? i.identifierValue : i.pendingPhone, v = m ? mt(m) : null;
|
|
7011
7020
|
return a({
|
|
7012
7021
|
type: "SET_STEP_LINK_OR_MERGE",
|
|
7013
7022
|
conflictField: "email",
|
|
7014
7023
|
name: f.fullName,
|
|
7015
|
-
...
|
|
7016
|
-
oldEmail:
|
|
7024
|
+
...T && T !== N && {
|
|
7025
|
+
oldEmail: T
|
|
7026
|
+
},
|
|
7027
|
+
...v?.countryCode && {
|
|
7028
|
+
oldCountryCode: v.countryCode
|
|
7017
7029
|
},
|
|
7018
|
-
|
|
7030
|
+
...v?.phone && {
|
|
7031
|
+
oldPhone: v.phone
|
|
7032
|
+
},
|
|
7033
|
+
newEmail: N
|
|
7019
7034
|
}), !0;
|
|
7020
7035
|
}
|
|
7021
7036
|
const h = at(f.phone, f.countryCode);
|
|
7022
7037
|
if (!h) return !1;
|
|
7023
|
-
const p =
|
|
7038
|
+
const p = mt(h), P = i.identifierType === "phone" && i.identifierValue ? mt(i.identifierValue) : null, O = i.identifierType === "email" ? i.identifierValue : i.pendingEmail;
|
|
7024
7039
|
return a({
|
|
7025
7040
|
type: "SET_STEP_LINK_OR_MERGE",
|
|
7026
7041
|
conflictField: "phone",
|
|
7027
7042
|
name: f.fullName,
|
|
7043
|
+
...O && {
|
|
7044
|
+
oldEmail: O
|
|
7045
|
+
},
|
|
7028
7046
|
...P?.countryCode && {
|
|
7029
7047
|
oldCountryCode: P.countryCode
|
|
7030
7048
|
},
|
|
@@ -7050,13 +7068,13 @@ function f1({
|
|
|
7050
7068
|
if (f === "phone" && y) {
|
|
7051
7069
|
const p = ni(y)?.country;
|
|
7052
7070
|
if ((p && p !== "IN" ? "FOREIGN" : "INDIAN") === "FOREIGN") {
|
|
7053
|
-
const
|
|
7054
|
-
if (
|
|
7055
|
-
|
|
7071
|
+
const O = y.length > 4 ? `+** ***${y.replaceAll(/\D/g, "").slice(-4)}` : "+** ***", N = l().checkIdentifier;
|
|
7072
|
+
if (N) {
|
|
7073
|
+
N({
|
|
7056
7074
|
type: "phone",
|
|
7057
7075
|
value: y
|
|
7058
|
-
}).then((
|
|
7059
|
-
if (!
|
|
7076
|
+
}).then((T) => {
|
|
7077
|
+
if (!T.exists) {
|
|
7060
7078
|
a({
|
|
7061
7079
|
type: "SET_STEP_SIGNUP_DETAILS",
|
|
7062
7080
|
userType: "FOREIGN",
|
|
@@ -7064,7 +7082,7 @@ function f1({
|
|
|
7064
7082
|
pendingPhone: y,
|
|
7065
7083
|
identifierType: "phone",
|
|
7066
7084
|
identifierValue: y,
|
|
7067
|
-
maskedRecipient:
|
|
7085
|
+
maskedRecipient: O
|
|
7068
7086
|
});
|
|
7069
7087
|
return;
|
|
7070
7088
|
}
|
|
@@ -7083,7 +7101,7 @@ function f1({
|
|
|
7083
7101
|
userType: "FOREIGN",
|
|
7084
7102
|
identifierType: "phone",
|
|
7085
7103
|
value: y,
|
|
7086
|
-
maskedValue: m.maskedValue ??
|
|
7104
|
+
maskedValue: m.maskedValue ?? O
|
|
7087
7105
|
});
|
|
7088
7106
|
}).catch(() => c({
|
|
7089
7107
|
code: "NETWORK_ERROR"
|
|
@@ -7100,7 +7118,7 @@ function f1({
|
|
|
7100
7118
|
pendingPhone: y,
|
|
7101
7119
|
identifierType: "phone",
|
|
7102
7120
|
identifierValue: y,
|
|
7103
|
-
maskedRecipient:
|
|
7121
|
+
maskedRecipient: O
|
|
7104
7122
|
});
|
|
7105
7123
|
return;
|
|
7106
7124
|
}
|
|
@@ -7245,51 +7263,51 @@ function f1({
|
|
|
7245
7263
|
userType: h,
|
|
7246
7264
|
pendingFullName: p,
|
|
7247
7265
|
pendingEmail: P,
|
|
7248
|
-
pendingPhone:
|
|
7266
|
+
pendingPhone: O
|
|
7249
7267
|
} = i;
|
|
7250
7268
|
try {
|
|
7251
|
-
const
|
|
7269
|
+
const N = await l().verifyOtp({
|
|
7252
7270
|
type: f,
|
|
7253
7271
|
value: y,
|
|
7254
7272
|
otp: s
|
|
7255
7273
|
});
|
|
7256
|
-
if (
|
|
7257
|
-
o(
|
|
7274
|
+
if (N.session) {
|
|
7275
|
+
o(N.session), a({
|
|
7258
7276
|
type: "SET_STEP_AUTHENTICATED",
|
|
7259
|
-
session:
|
|
7277
|
+
session: N.session
|
|
7260
7278
|
});
|
|
7261
7279
|
return;
|
|
7262
7280
|
}
|
|
7263
|
-
if (
|
|
7281
|
+
if (N.isNewUser) {
|
|
7264
7282
|
if (h === "FOREIGN" && p && P) {
|
|
7265
7283
|
try {
|
|
7266
|
-
const
|
|
7284
|
+
const T = await l().completeProfile({
|
|
7267
7285
|
fullName: p,
|
|
7268
7286
|
email: P,
|
|
7269
|
-
...
|
|
7270
|
-
phone:
|
|
7287
|
+
...O && {
|
|
7288
|
+
phone: O
|
|
7271
7289
|
}
|
|
7272
7290
|
});
|
|
7273
|
-
o(
|
|
7291
|
+
o(T), a({
|
|
7274
7292
|
type: "SET_STEP_AUTHENTICATED",
|
|
7275
|
-
session:
|
|
7293
|
+
session: T
|
|
7276
7294
|
});
|
|
7277
|
-
} catch (
|
|
7278
|
-
if ($(
|
|
7295
|
+
} catch (T) {
|
|
7296
|
+
if ($(T, {
|
|
7279
7297
|
fullName: p,
|
|
7280
7298
|
email: P,
|
|
7281
|
-
...
|
|
7282
|
-
phone:
|
|
7299
|
+
...O && {
|
|
7300
|
+
phone: O
|
|
7283
7301
|
}
|
|
7284
7302
|
}))
|
|
7285
7303
|
return;
|
|
7286
|
-
const m =
|
|
7304
|
+
const m = T?.message, v = T?.code != null ? T : {
|
|
7287
7305
|
code: "UNKNOWN",
|
|
7288
7306
|
...m && {
|
|
7289
7307
|
message: m
|
|
7290
7308
|
}
|
|
7291
7309
|
};
|
|
7292
|
-
throw c(
|
|
7310
|
+
throw c(v), v;
|
|
7293
7311
|
}
|
|
7294
7312
|
return;
|
|
7295
7313
|
}
|
|
@@ -7310,12 +7328,12 @@ function f1({
|
|
|
7310
7328
|
signupCollectField: f === "phone" ? "email" : "phone"
|
|
7311
7329
|
});
|
|
7312
7330
|
}
|
|
7313
|
-
} catch (
|
|
7314
|
-
const
|
|
7331
|
+
} catch (N) {
|
|
7332
|
+
const T = N?.code != null ? N : {
|
|
7315
7333
|
code: "OTP_INVALID",
|
|
7316
|
-
message:
|
|
7334
|
+
message: N?.message ?? "Invalid OTP"
|
|
7317
7335
|
};
|
|
7318
|
-
throw c(
|
|
7336
|
+
throw c(T), T;
|
|
7319
7337
|
}
|
|
7320
7338
|
},
|
|
7321
7339
|
resendOtp() {
|
|
@@ -7372,11 +7390,20 @@ function f1({
|
|
|
7372
7390
|
...s.oldEmail && {
|
|
7373
7391
|
oldEmail: s.oldEmail
|
|
7374
7392
|
},
|
|
7393
|
+
...s.oldCountryCode && {
|
|
7394
|
+
oldCountryCode: s.oldCountryCode
|
|
7395
|
+
},
|
|
7396
|
+
...s.oldPhone && {
|
|
7397
|
+
oldPhone: s.oldPhone
|
|
7398
|
+
},
|
|
7375
7399
|
newEmail: s.newEmail
|
|
7376
7400
|
} : {
|
|
7377
7401
|
isLinking: !0,
|
|
7378
7402
|
name: s.name,
|
|
7379
7403
|
conflictField: "phone",
|
|
7404
|
+
...s.oldEmail && {
|
|
7405
|
+
oldEmail: s.oldEmail
|
|
7406
|
+
},
|
|
7380
7407
|
...s.oldCountryCode && {
|
|
7381
7408
|
oldCountryCode: s.oldCountryCode
|
|
7382
7409
|
},
|
|
@@ -7442,7 +7469,7 @@ function f1({
|
|
|
7442
7469
|
isLoading: i.step === "CHECKING_SESSION",
|
|
7443
7470
|
providerConfig: e.providers
|
|
7444
7471
|
}), [i, d, e.providers]);
|
|
7445
|
-
return /* @__PURE__ */ H(
|
|
7472
|
+
return /* @__PURE__ */ H(jt.Provider, { value: u, children: t });
|
|
7446
7473
|
}
|
|
7447
7474
|
function $1() {
|
|
7448
7475
|
const e = fe.c(1);
|
|
@@ -7468,7 +7495,7 @@ const T1 = {
|
|
|
7468
7495
|
export {
|
|
7469
7496
|
T1 as Auth,
|
|
7470
7497
|
Fi as AuthFlow,
|
|
7471
|
-
|
|
7498
|
+
jt as AuthFlowContext,
|
|
7472
7499
|
sr as AuthLayout,
|
|
7473
7500
|
Pi as AuthLayoutPreset,
|
|
7474
7501
|
ii as AuthLayoutWrapper,
|
|
@@ -7476,11 +7503,11 @@ export {
|
|
|
7476
7503
|
_1 as DEFAULT_OTP_TITLES,
|
|
7477
7504
|
w1 as DefaultFooter,
|
|
7478
7505
|
R1 as EnterpriseHeader,
|
|
7479
|
-
|
|
7506
|
+
Ei as INITIAL_STEP,
|
|
7480
7507
|
x1 as ImageSlider,
|
|
7481
7508
|
li as LinkOrMergePage,
|
|
7482
7509
|
F1 as LoginEntry,
|
|
7483
|
-
|
|
7510
|
+
Jt as LoginEntryPage,
|
|
7484
7511
|
M1 as MainLayout,
|
|
7485
7512
|
L1 as MainLogin,
|
|
7486
7513
|
fi as MainLoginPage,
|
|
@@ -7499,15 +7526,15 @@ export {
|
|
|
7499
7526
|
S1 as createAxiosAuthInterceptors,
|
|
7500
7527
|
P1 as createHttpAuthAdapter,
|
|
7501
7528
|
he as defaultState,
|
|
7502
|
-
|
|
7529
|
+
Ni as getInitialAuthFlowState,
|
|
7503
7530
|
o1 as getRepeatLoginInfo,
|
|
7504
7531
|
l1 as localStorageTokenStorage,
|
|
7505
|
-
|
|
7532
|
+
N1 as serverCookieTokenStorage,
|
|
7506
7533
|
d1 as setRepeatLoginInfo,
|
|
7507
7534
|
di as useAppleSignIn,
|
|
7508
7535
|
cr as useAuthFlow,
|
|
7509
7536
|
xi as useAuthFlowRouterSync,
|
|
7510
|
-
|
|
7537
|
+
E1 as useAuthSession,
|
|
7511
7538
|
U1 as useFormStatePersistence,
|
|
7512
7539
|
oi as useGoogleAuth,
|
|
7513
7540
|
B1 as useLoginEntryForm,
|