@feedmepos/mf-inventory-portal 1.2.7 → 1.2.8-dev.1

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.
Files changed (88) hide show
  1. package/dist/{App-BtLCesbn.js → App-BL2MW6zc.js} +1 -1
  2. package/dist/{ApprovalView-Ba4XBhGf.js → ApprovalView-C18JNyKG.js} +69 -68
  3. package/dist/{BindingsDialog-BbBUniCu.js → BindingsDialog-DxXGq2TK.js} +2 -2
  4. package/dist/{BindingsPicker-C3q3ROku.js → BindingsPicker-BsuXkTQv.js} +1 -1
  5. package/dist/{BindingsTable-BTxWMif_.js → BindingsTable-BeGm5MK6.js} +1 -1
  6. package/dist/{ClosingDraftView-DGITBnaY.js → ClosingDraftView-yzzV-yhQ.js} +203 -203
  7. package/dist/ClosingTemplateView-DgI8ANjn.js +1862 -0
  8. package/dist/{DeliveryOrderPrintPreview-CUaHpblV.js → DeliveryOrderPrintPreview-B3xmuRAQ.js} +8 -8
  9. package/dist/{FmAdminBadge-BdwGZY-f.js → FmAdminBadge-9bTzCMaP.js} +6 -6
  10. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B1pioWnC.js +230 -0
  11. package/dist/{FmMultiselectDialog-BETfHs3j.js → FmMultiselectDialog-D4QIUWaf.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BNdbeRQp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CwuM-hJU.js} +23 -23
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-VYMMcwLl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BFeK6K0l.js} +1 -1
  14. package/dist/{IngredientGroupView-C4d9b3Td.js → IngredientGroupView-Ku7t3MgL.js} +12 -12
  15. package/dist/IngredientsView-CAn1-40w.js +2306 -0
  16. package/dist/{IntegrationView-CWFzRDWO.js → IntegrationView-DEtbdogx.js} +4 -4
  17. package/dist/{InventoryBindingForm-Cx0Prlq8.js → InventoryBindingForm-BqBGbblS.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-cpR3Sf2Y.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CpVc2nGE.js} +41 -41
  19. package/dist/{InventoryBindingSummary-l8XvpxVU.js → InventoryBindingSummary-dEM8P354.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BjRvIX-v.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-0AaD13Wg.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-gjuZveKy.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BqVwcG4Z.js} +11 -11
  22. package/dist/{PublishView-D2iUnDan.js → PublishView-CE2Ul9NM.js} +14 -14
  23. package/dist/{PurchaseOrderPrintPreview-DdLvM-wt.js → PurchaseOrderPrintPreview-C6Lg4V4I.js} +11 -11
  24. package/dist/{ReceiveRequestView-DpF5ZzvH.js → ReceiveRequestView-CDTT3m48.js} +148 -145
  25. package/dist/{RecipeView-Dvtm8o1Y.js → RecipeView-CROKnpq9.js} +49 -49
  26. package/dist/StockView-Wv700Rt6.js +2104 -0
  27. package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BdtRkUS6.js +158 -0
  28. package/dist/{SupplierView-7GtIJ3Fz.js → SupplierView-BNWtlH7a.js} +1133 -1015
  29. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BvzSua6d.js +3058 -0
  30. package/dist/{TransferTemplateView-Cmvg-yvW.js → TransferTemplateView-DlxBMSPW.js} +131 -130
  31. package/dist/{UnitView-DjVm1iVX.js → UnitView-B56YIwiR.js} +59 -59
  32. package/dist/WarehouseView-C0d-uE4n.js +1066 -0
  33. package/dist/api/inventory.d.ts +8 -0
  34. package/dist/api/netsuite.d.ts +3 -0
  35. package/dist/api/purchase-order-template.d.ts +1 -0
  36. package/dist/api/purchase-order.d.ts +2 -0
  37. package/dist/api/shipment.d.ts +11 -0
  38. package/dist/api/warehouse.d.ts +3 -1
  39. package/dist/{app-Z-ylwRmy.js → app-Bo3plhvb.js} +17877 -17113
  40. package/dist/app.d.ts +96 -9
  41. package/dist/app.js +3 -3
  42. package/dist/closing-template-ByR3kWir.js +53 -0
  43. package/dist/components/FmInventoryTableToolbar.vue.d.ts +9 -2
  44. package/dist/components/netsuite/SubsidiaryTreeDialog.vue.d.ts +2 -0
  45. package/dist/{decimal-D1pJ2776.js → decimal-YpqAHWnk.js} +1 -1
  46. package/dist/{format-unit-display-9BMm-8A4.js → format-unit-display-CpusApo9.js} +372 -404
  47. package/dist/{index-rEIM0AVC.js → index-BHD7bEuA.js} +1 -1
  48. package/dist/{index-BOl10vcm.js → index-CJTjmcUN.js} +1 -1
  49. package/dist/purchase-order-template-CNhjKd6p.js +41 -0
  50. package/dist/{stock-B8ewk80v.js → stock-BhgeS5mL.js} +1 -1
  51. package/dist/stores/feature.d.ts +10 -0
  52. package/dist/stores/integration/netsuite.d.ts +19 -0
  53. package/dist/stores/inventory.d.ts +1 -0
  54. package/dist/stores/location.d.ts +57 -1
  55. package/dist/stores/supplier.d.ts +96 -0
  56. package/dist/stores/warehouse.d.ts +4 -0
  57. package/dist/{supplier-DLSXYY1o.js → supplier-DG8JyhMj.js} +1 -1
  58. package/dist/tsconfig.app.tsbuildinfo +1 -1
  59. package/dist/{use-ingredient-select-dialog-CTjwdY3T.js → use-ingredient-select-dialog-LIEBAng-.js} +5 -5
  60. package/dist/{use-inventory-binding-dialog-zXJB7MQY.js → use-inventory-binding-dialog-Df7DfQ1b.js} +8 -8
  61. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +24 -0
  62. package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +6 -0
  63. package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
  64. package/dist/views/receive-request/components/delivery-order-form/CreateForm.vue.d.ts +16 -0
  65. package/dist/views/receive-request/components/delivery-order-form/CreateFormProps.d.ts +4 -0
  66. package/dist/views/receive-request/components/delivery-order-form/EditForm.vue.d.ts +16 -0
  67. package/dist/views/receive-request/components/delivery-order-form/EditFormProps.d.ts +4 -0
  68. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  69. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +60 -0
  70. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +10 -0
  71. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +94 -0
  72. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +72 -1
  73. package/dist/views/supplier/components/SupplierForm.vue.d.ts +8 -0
  74. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
  75. package/dist/views/supplier/composables/use-supplier-table.d.ts +4 -0
  76. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -0
  77. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -0
  78. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -0
  79. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -0
  80. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -0
  81. package/package.json +3 -3
  82. package/dist/ClosingTemplateView-eRvwxXBq.js +0 -1908
  83. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-lDkElrkF.js +0 -227
  84. package/dist/IngredientsView-BvqWuIVT.js +0 -1876
  85. package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
  86. package/dist/StockView-CRDu_GQ_.js +0 -2086
  87. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DbmLtbZt.js +0 -2494
  88. package/dist/WarehouseView-CBso3SXT.js +0 -1034
@@ -1,20 +1,21 @@
1
- import { defineComponent as de, mergeModels as Bd, computed as x, useModel as Gd, resolveComponent as A, openBlock as N, createElementBlock as I, createElementVNode as b, createVNode as P, withCtx as L, toDisplayString as w, unref as c, Fragment as Q, renderList as te, ref as M, createBlock as Y, createCommentVNode as X, isRef as Qe, normalizeClass as ee, createTextVNode as Hd, watch as Od, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
2
- import { u as oe } from "./supplier-DLSXYY1o.js";
3
- import { b as we, h as Yd, D as ed, i as se, f as Ne, a as Fd, p as dd, q as td, k as Xd, a3 as Zd, x as wd, u as ye, n as K, c as ve, e as U, s as Ad, v as zd, w as Td, y as qd, z as Jd, B as Qd, C as et, _ as dt, E as tt, G as rt, J as ue } from "./app-Z-ylwRmy.js";
4
- import { useI18n as z, useCoreStore as ge } from "@feedmepos/mf-common";
5
- import { useDialog as Ae, useSnackbar as he, useProxiedModel as rd, useDialogChild as nt, useBreakpoints as ot } from "@feedmepos/ui-library";
6
- import { _ as at } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
7
- import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BNdbeRQp.js";
8
- import { defineStore as it } from "pinia";
9
- function lt(e, d) {
10
- const { t } = z(), r = we();
11
- function n(o, i) {
12
- if (o === se.Edit) {
13
- e(Ne(i));
1
+ import { defineComponent as ae, mergeModels as Hd, computed as E, useModel as ed, resolveComponent as L, openBlock as S, createElementBlock as w, createElementVNode as h, createVNode as P, withCtx as U, toDisplayString as T, unref as p, Fragment as ne, renderList as $e, ref as k, createBlock as J, createCommentVNode as W, createTextVNode as wd, isRef as dd, normalizeClass as oe, watch as Ad, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
2
+ import { u as ue } from "./supplier-DG8JyhMj.js";
3
+ import { b as De, h as Yd, D as td, i as me, f as Fe, a as ke, q as rd, r as nd, l as Xd, s as Zd, C as Td, u as _e, o as q, c as Pe, e as H, w as qd, y as Rd, z as zd, B as Md, E as Jd, G as Qd, H as et, K as dt, _ as tt, L as rt, O as nt, P as ye } from "./app-Bo3plhvb.js";
4
+ import { useI18n as ee, useCoreStore as Ce } from "@feedmepos/mf-common";
5
+ import { useDialog as Ne, useSnackbar as Se, useProxiedModel as od, useDialogChild as ot, useBreakpoints as at } from "@feedmepos/ui-library";
6
+ import { _ as it } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
7
+ import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CwuM-hJU.js";
8
+ import { u as lt } from "./purchase-order-template-CNhjKd6p.js";
9
+ import { defineStore as st } from "pinia";
10
+ function ut(e, d) {
11
+ const { t } = ee(), r = De();
12
+ function n(o, l) {
13
+ if (o === me.Edit) {
14
+ e(Fe(l));
14
15
  return;
15
16
  }
16
- if (o === se.Delete) {
17
- d(Ne(i));
17
+ if (o === me.Delete) {
18
+ d(Fe(l));
18
19
  return;
19
20
  }
20
21
  }
@@ -55,9 +56,9 @@ function lt(e, d) {
55
56
  header: "",
56
57
  cell(o) {
57
58
  return Yd(
58
- [ed[se.Edit], ed[se.Delete]],
59
- (i) => {
60
- n(i, o.row.original);
59
+ [td[me.Edit], td[me.Delete]],
60
+ (l) => {
61
+ n(l, o.row.original);
61
62
  }
62
63
  );
63
64
  },
@@ -69,27 +70,31 @@ function lt(e, d) {
69
70
  }
70
71
  ] };
71
72
  }
72
- const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, ct = { class: "flex items-center gap-8 py-8" }, ft = { class: "flex-1" }, pt = { class: "fm-typo-en-title-sm-800" }, mt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, yt = { class: "flex flex-col gap-4" }, vt = { class: "flex-1" }, gt = { class: "flex flex-col" }, ht = { class: "fm-typo-en-body-lg-400" }, bt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _t = { class: "flex-1" }, Pt = { class: "flex" }, Ct = { class: "text-fm-color-typo-secondary" }, Nt = /* @__PURE__ */ de({
73
+ const ct = { class: "flex flex-col gap-12" }, pt = { class: "flex flex-col" }, ft = { class: "flex items-center gap-8 py-8" }, mt = { class: "flex-1" }, yt = { class: "fm-typo-en-title-sm-800" }, vt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gt = { class: "flex flex-col gap-4" }, ht = { class: "flex-1" }, bt = { class: "flex flex-col" }, _t = { class: "fm-typo-en-body-lg-400" }, Pt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ct = { class: "flex-1" }, Nt = { class: "flex" }, St = { class: "text-fm-color-typo-secondary" }, xt = /* @__PURE__ */ ae({
73
74
  __name: "SupplierSupplyItemField",
74
- props: /* @__PURE__ */ Bd({
75
- modelValue: {}
75
+ props: /* @__PURE__ */ Hd({
76
+ modelValue: {},
77
+ autoAppendToTemplates: { type: Boolean }
76
78
  }, {
77
79
  modelValue: {},
78
- modelModifiers: {}
80
+ modelModifiers: {},
81
+ autoAppendToTemplates: { type: Boolean },
82
+ autoAppendToTemplatesModifiers: {}
79
83
  }),
80
- emits: ["update:modelValue"],
84
+ emits: ["update:modelValue", "update:autoAppendToTemplates"],
81
85
  setup(e) {
82
- const d = ge(), t = Fd(), r = x(() => t.skus), n = Ae(), { t: $ } = z(), o = Gd(e, "modelValue");
83
- function i() {
86
+ const d = Ce(), t = ke(), r = E(() => t.skus), n = Ne(), { t: $ } = ee(), o = ed(e, "modelValue");
87
+ ed(e, "autoAppendToTemplates");
88
+ function l() {
84
89
  var C;
85
- const u = t.skus.map((g) => ({
86
- label: g.name,
87
- sublabel: g.code,
88
- value: g._id
89
- })), v = ((C = o.value) == null ? void 0 : C.map((g) => g.skuId)) ?? [], p = x(
90
+ const c = t.skus.map((f) => ({
91
+ label: f.name,
92
+ sublabel: f.code,
93
+ value: f._id
94
+ })), y = ((C = o.value) == null ? void 0 : C.map((f) => f.skuId)) ?? [], g = E(
90
95
  () => {
91
- var g;
92
- return ((g = Xd(d.currentCountry.value)) == null ? void 0 : g.currency) ?? "MYR";
96
+ var f;
97
+ return ((f = Xd(d.currentCountry.value)) == null ? void 0 : f.currency) ?? "MYR";
93
98
  }
94
99
  );
95
100
  n.open({
@@ -97,8 +102,8 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
97
102
  closeButton: !0,
98
103
  contentComponent: Zd,
99
104
  contentComponentProps: {
100
- modelValue: v,
101
- items: u
105
+ modelValue: y,
106
+ items: c
102
107
  },
103
108
  primaryActions: {
104
109
  text: "Confirm",
@@ -109,119 +114,119 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
109
114
  close: !0,
110
115
  variant: "tertiary"
111
116
  }
112
- }).onPrimary((g) => {
113
- const O = g.map((m) => t.skuById[m]).filter((m) => m);
114
- O.sort((m, _) => m.code.localeCompare(_.code));
115
- const E = O.map((m) => {
116
- var j;
117
- const _ = (j = o.value) == null ? void 0 : j.find((G) => G.skuId === m._id);
118
- return _ || {
119
- skuId: m._id,
120
- defaultCost: m.defaultCost ?? {
117
+ }).onPrimary((f) => {
118
+ const O = f.map((F) => t.skuById[F]).filter((F) => F);
119
+ O.sort((F, A) => F.code.localeCompare(A.code));
120
+ const b = O.map((F) => {
121
+ var Y;
122
+ const A = (Y = o.value) == null ? void 0 : Y.find((X) => X.skuId === F._id);
123
+ return A || {
124
+ skuId: F._id,
125
+ defaultCost: F.defaultCost ?? {
121
126
  costPerUnit: {
122
- currency: p.value,
127
+ currency: g.value,
123
128
  amount: 0,
124
129
  precision: 2
125
130
  }
126
131
  }
127
132
  };
128
133
  });
129
- o.value = E;
134
+ o.value = b;
130
135
  });
131
136
  }
132
- function l(u) {
133
- const v = [...(o == null ? void 0 : o.value) ?? []];
134
- v.splice(u, 1), o.value = v;
137
+ function s(c) {
138
+ const y = [...(o == null ? void 0 : o.value) ?? []];
139
+ y.splice(c, 1), o.value = y;
135
140
  }
136
- function f(u) {
141
+ function u(c) {
137
142
  var C;
138
- const v = u.skuId, p = (C = r.value.find((g) => g._id === v)) == null ? void 0 : C.unit;
139
- if (!p)
140
- throw new Error(`Cannot find ingredient: ${v}`);
141
- return p;
143
+ const y = c.skuId, g = (C = r.value.find((f) => f._id === y)) == null ? void 0 : C.unit;
144
+ if (!g)
145
+ throw new Error(`Cannot find ingredient: ${y}`);
146
+ return g;
142
147
  }
143
- function h(u) {
148
+ function v(c) {
144
149
  return {
145
- amount: u.defaultCost.costPerUnit,
146
- measurement: u.defaultCost.measurement
150
+ amount: c.defaultCost.costPerUnit,
151
+ measurement: c.defaultCost.measurement
147
152
  };
148
153
  }
149
- function y(u, v) {
150
- const C = (o.value ?? []).map((g) => g.skuId !== u.skuId ? g : {
151
- ...g,
154
+ function m(c, y) {
155
+ const C = (o.value ?? []).map((f) => f.skuId !== c.skuId ? f : {
156
+ ...f,
152
157
  defaultCost: {
153
- ...g.defaultCost,
154
- measurement: v.measurement,
158
+ ...f.defaultCost,
159
+ measurement: y.measurement,
155
160
  costPerUnit: {
156
- ...g.defaultCost.costPerUnit,
157
- ...v.amount
161
+ ...f.defaultCost.costPerUnit,
162
+ ...y.amount
158
163
  }
159
164
  }
160
165
  });
161
166
  o.value = C;
162
167
  }
163
- return (u, v) => {
164
- const p = A("FmButton");
165
- return N(), I("div", st, [
166
- b("div", ut, [
167
- b("div", ct, [
168
- b("div", ft, [
169
- P(at, { "z-index": 50 }, {
170
- default: L(() => [
171
- b("div", pt, w(c($)("inventory.supplier.supplyItems.title")), 1)
168
+ return (c, y) => {
169
+ const g = L("FmButton");
170
+ return S(), w("div", ct, [
171
+ h("div", pt, [
172
+ h("div", ft, [
173
+ h("div", mt, [
174
+ P(it, { "z-index": 50 }, {
175
+ default: U(() => [
176
+ h("div", yt, T(p($)("inventory.supplier.supplyItems.title")), 1)
172
177
  ]),
173
178
  _: 1
174
179
  })
175
180
  ]),
176
- b("div", null, [
177
- P(p, {
181
+ h("div", null, [
182
+ P(g, {
178
183
  "prepend-icon": "link",
179
- label: c($)("inventory.supplier.supplyItems.addItems"),
184
+ label: p($)("inventory.supplier.supplyItems.addItems"),
180
185
  variant: "plain",
181
- onClick: i
186
+ onClick: l
182
187
  }, null, 8, ["label"])
183
188
  ])
184
189
  ]),
185
- b("div", mt, w(c($)("inventory.supplier.supplyItems.overridePriceHint")), 1)
190
+ h("div", vt, T(p($)("inventory.supplier.supplyItems.overridePriceHint")), 1)
186
191
  ]),
187
- b("div", yt, [
188
- (N(!0), I(Q, null, te(o.value, (C, g) => {
189
- var O, E, m;
190
- return N(), I("div", {
192
+ h("div", gt, [
193
+ (S(!0), w(ne, null, $e(o.value, (C, f) => {
194
+ var O, b, F;
195
+ return S(), w("div", {
191
196
  key: C.skuId,
192
197
  class: "flex"
193
198
  }, [
194
- b("div", vt, [
195
- b("div", gt, [
196
- b("div", ht, w((O = c(t).skuById[C.skuId]) == null ? void 0 : O.name), 1),
197
- b("div", bt, w((E = c(t).skuById[C.skuId]) == null ? void 0 : E.code), 1)
199
+ h("div", ht, [
200
+ h("div", bt, [
201
+ h("div", _t, T((O = p(t).skuById[C.skuId]) == null ? void 0 : O.name), 1),
202
+ h("div", Pt, T((b = p(t).skuById[C.skuId]) == null ? void 0 : b.code), 1)
198
203
  ])
199
204
  ]),
200
- b("div", _t, [
201
- b("div", Pt, [
205
+ h("div", Ct, [
206
+ h("div", Nt, [
202
207
  P($t, {
203
- "model-value": h(C),
204
- unit: f(C),
205
- "onUpdate:modelValue": (_) => y(C, _),
206
- placement: o.value && g === ((m = o.value) == null ? void 0 : m.length) - 1 ? "top" : "bottom",
208
+ "model-value": v(C),
209
+ unit: u(C),
210
+ "onUpdate:modelValue": (A) => m(C, A),
211
+ placement: o.value && f === ((F = o.value) == null ? void 0 : F.length) - 1 ? "top" : "bottom",
207
212
  separator: "/",
208
213
  "apply-default-rules": "",
209
214
  precision: 4,
210
215
  "format-minimum-precision": 2
211
216
  }, {
212
- prepend: L(() => {
213
- var _, D;
217
+ prepend: U(() => {
218
+ var A, V;
214
219
  return [
215
- b("div", Ct, w(c(dd)(((_ = c(d).currentCountry) == null ? void 0 : _.value) ?? c(td)) === "MYR" ? "RM" : c(dd)(((D = c(d).currentCountry) == null ? void 0 : D.value) ?? c(td))), 1)
220
+ h("div", St, T(p(rd)(((A = p(d).currentCountry) == null ? void 0 : A.value) ?? p(nd)) === "MYR" ? "RM" : p(rd)(((V = p(d).currentCountry) == null ? void 0 : V.value) ?? p(nd))), 1)
216
221
  ];
217
222
  }),
218
223
  _: 2
219
224
  }, 1032, ["model-value", "unit", "onUpdate:modelValue", "placement"]),
220
- b("div", null, [
221
- P(p, {
225
+ h("div", null, [
226
+ P(g, {
222
227
  "prepend-icon": "close",
223
228
  variant: "tertiary",
224
- onClick: (_) => l(g)
229
+ onClick: (A) => s(f)
225
230
  }, null, 8, ["onClick"])
226
231
  ])
227
232
  ])
@@ -232,10 +237,13 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
232
237
  ]);
233
238
  };
234
239
  }
235
- }), St = { class: "flex flex-col gap-40" }, Et = { class: "flex flex-col gap-16" }, xt = { key: 0 }, It = { class: "flex flex-col gap-8" }, Ot = { class: "fm-typo-en-title-sm-800" }, Ft = { class: "grid grid-cols-2 gap-24" }, wt = { class: "flex flex-col gap-8" }, At = { class: "fm-typo-en-title-sm-800" }, Tt = { class: "flex flex-col gap-16" }, Rt = {
240
+ }), Et = { class: "flex flex-col gap-40" }, It = { class: "flex flex-col gap-16" }, Ot = { key: 0 }, Ft = { class: "flex flex-col gap-8" }, wt = { class: "fm-typo-en-title-sm-800" }, At = { class: "grid grid-cols-2 gap-24" }, Tt = { class: "flex flex-col gap-8" }, Rt = { class: "fm-typo-en-title-sm-800" }, Mt = { class: "flex flex-col gap-16" }, Lt = {
236
241
  key: 0,
237
242
  class: "flex flex-col gap-8"
238
- }, Mt = /* @__PURE__ */ de({
243
+ }, Dt = { class: "fm-typo-en-title-sm-800" }, kt = { class: "flex flex-col gap-16" }, Vt = {
244
+ key: 1,
245
+ class: "flex flex-col gap-8"
246
+ }, Bt = /* @__PURE__ */ ae({
239
247
  __name: "SupplierForm",
240
248
  props: {
241
249
  modelValue: {},
@@ -243,261 +251,289 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
243
251
  },
244
252
  emits: ["update:modelValue", "validation-success"],
245
253
  setup(e, { expose: d, emit: t }) {
246
- const r = e, n = t, $ = ve(), o = Fd(), i = x(() => wd(o.skus, "_id")), { t: l } = z(), f = ye(), h = x(
247
- () => f.businessLevel || $.businessSupplierOnly
248
- ), y = x({
254
+ const r = e, n = t, $ = Pe(), o = ke(), l = E(() => Td(o.skus, "_id")), { t: s } = ee(), u = _e(), v = E(
255
+ () => u.businessLevel || $.businessSupplierOnly
256
+ ), m = E({
249
257
  get() {
250
- var s;
251
- return ((s = r.modelValue) == null ? void 0 : s.name) ?? "";
258
+ var i;
259
+ return ((i = r.modelValue) == null ? void 0 : i.name) ?? "";
252
260
  },
253
- set(s) {
261
+ set(i) {
254
262
  const a = r.modelValue ?? {};
255
- a.name = s, n("update:modelValue", a);
263
+ a.name = i, n("update:modelValue", a);
256
264
  }
257
- }), u = x({
265
+ }), c = E({
258
266
  get() {
259
- var s;
260
- return ((s = r.modelValue) == null ? void 0 : s.registrationNumber) ?? "";
267
+ var i;
268
+ return ((i = r.modelValue) == null ? void 0 : i.registrationNumber) ?? "";
261
269
  },
262
- set(s) {
270
+ set(i) {
263
271
  const a = r.modelValue ?? {};
264
- a.registrationNumber = s, n("update:modelValue", a);
272
+ a.registrationNumber = i, n("update:modelValue", a);
265
273
  }
266
- }), v = x({
274
+ }), y = E({
267
275
  get() {
268
- var s, a;
269
- return ((a = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : a.line1) ?? "";
276
+ var i, a;
277
+ return ((a = (i = r.modelValue) == null ? void 0 : i.address) == null ? void 0 : a.line1) ?? "";
270
278
  },
271
- set(s) {
279
+ set(i) {
272
280
  const a = r.modelValue ?? {};
273
- a.address ?? (a.address = {}), a.address.line1 = s, n("update:modelValue", a);
281
+ a.address ?? (a.address = {}), a.address.line1 = i, n("update:modelValue", a);
274
282
  }
275
- }), p = x({
283
+ }), g = E({
276
284
  get() {
277
- var s, a;
278
- return ((a = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : a.line2) ?? "";
285
+ var i, a;
286
+ return ((a = (i = r.modelValue) == null ? void 0 : i.address) == null ? void 0 : a.line2) ?? "";
279
287
  },
280
- set(s) {
288
+ set(i) {
281
289
  const a = r.modelValue ?? {};
282
- a.address ?? (a.address = {}), a.address.line2 = s, n("update:modelValue", a);
290
+ a.address ?? (a.address = {}), a.address.line2 = i, n("update:modelValue", a);
283
291
  }
284
- }), C = x({
292
+ }), C = E({
285
293
  get() {
286
- var s, a;
287
- return ((a = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : a.city) ?? "";
294
+ var i, a;
295
+ return ((a = (i = r.modelValue) == null ? void 0 : i.address) == null ? void 0 : a.city) ?? "";
288
296
  },
289
- set(s) {
297
+ set(i) {
290
298
  const a = r.modelValue ?? {};
291
- a.address ?? (a.address = {}), a.address.city = s, n("update:modelValue", a);
299
+ a.address ?? (a.address = {}), a.address.city = i, n("update:modelValue", a);
292
300
  }
293
- }), g = x({
301
+ }), f = E({
294
302
  get() {
295
- var s, a;
296
- return ((a = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : a.postcode) ?? "";
303
+ var i, a;
304
+ return ((a = (i = r.modelValue) == null ? void 0 : i.address) == null ? void 0 : a.postcode) ?? "";
297
305
  },
298
- set(s) {
306
+ set(i) {
299
307
  const a = r.modelValue ?? {};
300
- a.address ?? (a.address = {}), a.address.postcode = s, n("update:modelValue", a);
308
+ a.address ?? (a.address = {}), a.address.postcode = i, n("update:modelValue", a);
301
309
  }
302
- }), O = x({
310
+ }), O = E({
303
311
  get() {
304
- var s, a;
305
- return ((a = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : a.state) ?? "";
312
+ var i, a;
313
+ return ((a = (i = r.modelValue) == null ? void 0 : i.address) == null ? void 0 : a.state) ?? "";
306
314
  },
307
- set(s) {
315
+ set(i) {
308
316
  const a = r.modelValue ?? {};
309
- a.address ?? (a.address = {}), a.address.state = s, n("update:modelValue", a);
317
+ a.address ?? (a.address = {}), a.address.state = i, n("update:modelValue", a);
310
318
  }
311
- }), E = x({
319
+ }), b = E({
312
320
  get() {
313
- var s, a;
314
- return ((a = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : a.country) ?? "";
321
+ var i, a;
322
+ return ((a = (i = r.modelValue) == null ? void 0 : i.address) == null ? void 0 : a.country) ?? "";
315
323
  },
316
- set(s) {
324
+ set(i) {
317
325
  const a = r.modelValue ?? {};
318
- a.address ?? (a.address = {}), a.address.country = s, n("update:modelValue", a);
326
+ a.address ?? (a.address = {}), a.address.country = i, n("update:modelValue", a);
319
327
  }
320
- }), m = x({
328
+ }), F = E({
321
329
  get() {
322
- var s;
323
- return ((s = r.modelValue) == null ? void 0 : s.contactName) ?? "";
330
+ var i;
331
+ return ((i = r.modelValue) == null ? void 0 : i.contactName) ?? "";
324
332
  },
325
- set(s) {
333
+ set(i) {
326
334
  const a = r.modelValue ?? {};
327
- a.contactName = s, n("update:modelValue", a);
335
+ a.contactName = i, n("update:modelValue", a);
328
336
  }
329
- }), _ = x({
337
+ }), A = E({
330
338
  get() {
331
- var s;
332
- return ((s = r.modelValue) == null ? void 0 : s.phoneNumber) ?? "";
339
+ var i;
340
+ return ((i = r.modelValue) == null ? void 0 : i.phoneNumber) ?? "";
333
341
  },
334
- set(s) {
342
+ set(i) {
335
343
  const a = r.modelValue ?? {};
336
- a.phoneNumber = s, n("update:modelValue", a);
344
+ a.phoneNumber = i, n("update:modelValue", a);
337
345
  }
338
- }), { enabledCountries: D, currentCountry: j } = ge(), G = x({
346
+ }), V = E({
339
347
  get() {
340
- var s;
341
- return ((s = r.modelValue) == null ? void 0 : s.email) ?? "";
348
+ var a;
349
+ const i = (a = r.modelValue) == null ? void 0 : a.preparationTime;
350
+ return i && typeof i == "object" && "value" in i ? i.value.toString() : "";
342
351
  },
343
- set(s) {
352
+ set(i) {
344
353
  const a = r.modelValue ?? {};
345
- a.email = s, n("update:modelValue", a);
354
+ a.preparationTime = {
355
+ value: parseInt(i),
356
+ unit: "day"
357
+ }, n("update:modelValue", a);
346
358
  }
347
- }), q = x({
359
+ }), { enabledCountries: Y, currentCountry: X } = Ce(), de = E({
360
+ get() {
361
+ var i;
362
+ return ((i = r.modelValue) == null ? void 0 : i.email) ?? "";
363
+ },
364
+ set(i) {
365
+ const a = r.modelValue ?? {};
366
+ a.email = i, n("update:modelValue", a);
367
+ }
368
+ }), _ = E({
348
369
  get() {
349
370
  var a;
350
- return (((a = r.modelValue) == null ? void 0 : a.supplyItems) ?? []).filter((F) => i.value[F.skuId]);
371
+ return (((a = r.modelValue) == null ? void 0 : a.supplyItems) ?? []).filter((Z) => l.value[Z.skuId]);
351
372
  },
352
- set(s) {
373
+ set(i) {
353
374
  const a = r.modelValue ?? {};
354
- a.supplyItems = s, n("update:modelValue", a);
375
+ a.supplyItems = i, n("update:modelValue", a);
355
376
  }
356
- }), k = M();
377
+ }), x = k();
357
378
  return d({
358
379
  validateInputs: () => {
359
- var s, a;
360
- (a = (s = k.value) == null ? void 0 : s.validateInputs) == null || a.call(s);
380
+ var i, a;
381
+ (a = (i = x.value) == null ? void 0 : i.validateInputs) == null || a.call(i);
361
382
  },
362
383
  resetInputsValidation: () => {
363
- var s, a;
364
- (a = (s = k.value) == null ? void 0 : s.resetInputsValidation) == null || a.call(s);
384
+ var i, a;
385
+ (a = (i = x.value) == null ? void 0 : i.resetInputsValidation) == null || a.call(i);
365
386
  },
366
387
  resetInputs: () => {
367
- var s, a;
368
- (a = (s = k.value) == null ? void 0 : s.resetInputs) == null || a.call(s);
388
+ var i, a;
389
+ (a = (i = x.value) == null ? void 0 : i.resetInputs) == null || a.call(i);
369
390
  }
370
- }), (s, a) => {
371
- const F = A("FmChip"), R = A("FmTextField"), V = A("FmPhoneNumber"), H = A("FmForm");
372
- return N(), Y(H, {
391
+ }), (i, a) => {
392
+ const Z = L("FmChip"), I = L("FmTextField"), R = L("FmPhoneNumber"), M = L("FmPill"), G = L("FmForm");
393
+ return S(), J(G, {
373
394
  ref_key: "formRef",
374
- ref: k,
375
- onValidationSuccess: a[12] || (a[12] = (S) => n("validation-success"))
395
+ ref: x,
396
+ onValidationSuccess: a[13] || (a[13] = (N) => n("validation-success"))
376
397
  }, {
377
- default: L(() => [
378
- b("div", St, [
379
- b("div", Et, [
380
- h.value ? (N(), I("div", xt, [
381
- P(F, {
398
+ default: U(() => [
399
+ h("div", Et, [
400
+ h("div", It, [
401
+ v.value ? (S(), w("div", Ot, [
402
+ P(Z, {
382
403
  label: "Business supplier",
383
404
  compact: ""
384
405
  })
385
- ])) : X("", !0),
386
- P(R, {
387
- disabled: s.disabled,
388
- rules: [c(K)()],
406
+ ])) : W("", !0),
407
+ P(I, {
408
+ disabled: i.disabled,
409
+ rules: [p(q)()],
389
410
  "label-mark": "required",
390
- label: c(l)("inventory.supplier.companyName"),
391
- modelValue: y.value,
392
- "onUpdate:modelValue": a[0] || (a[0] = (S) => y.value = S)
411
+ label: p(s)("inventory.supplier.companyName"),
412
+ modelValue: m.value,
413
+ "onUpdate:modelValue": a[0] || (a[0] = (N) => m.value = N)
393
414
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
394
- P(R, {
395
- disabled: s.disabled,
396
- rules: [c(K)()],
415
+ P(I, {
416
+ disabled: i.disabled,
417
+ rules: [p(q)()],
397
418
  "label-mark": "required",
398
- label: c(l)("inventory.supplier.registrationNo"),
399
- modelValue: u.value,
400
- "onUpdate:modelValue": a[1] || (a[1] = (S) => u.value = S)
419
+ label: p(s)("inventory.supplier.registrationNo"),
420
+ modelValue: c.value,
421
+ "onUpdate:modelValue": a[1] || (a[1] = (N) => c.value = N)
401
422
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
402
423
  ]),
403
- b("div", It, [
404
- b("div", Ot, w(c(l)("inventory.supplier.address.title")), 1),
405
- b("div", Ft, [
406
- P(R, {
407
- disabled: s.disabled,
408
- rules: [c(K)()],
424
+ h("div", Ft, [
425
+ h("div", wt, T(p(s)("inventory.supplier.address.title")), 1),
426
+ h("div", At, [
427
+ P(I, {
428
+ disabled: i.disabled,
429
+ rules: [p(q)()],
409
430
  "label-mark": "required",
410
- label: c(l)("inventory.supplier.address.line1"),
411
- modelValue: v.value,
412
- "onUpdate:modelValue": a[2] || (a[2] = (S) => v.value = S)
431
+ label: p(s)("inventory.supplier.address.line1"),
432
+ modelValue: y.value,
433
+ "onUpdate:modelValue": a[2] || (a[2] = (N) => y.value = N)
413
434
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
414
- P(R, {
415
- disabled: s.disabled,
435
+ P(I, {
436
+ disabled: i.disabled,
416
437
  "label-mark": "optional",
417
- label: c(l)("inventory.supplier.address.line2"),
418
- modelValue: p.value,
419
- "onUpdate:modelValue": a[3] || (a[3] = (S) => p.value = S)
438
+ label: p(s)("inventory.supplier.address.line2"),
439
+ modelValue: g.value,
440
+ "onUpdate:modelValue": a[3] || (a[3] = (N) => g.value = N)
420
441
  }, null, 8, ["disabled", "label", "modelValue"]),
421
- P(R, {
422
- disabled: s.disabled,
423
- rules: [c(K)()],
442
+ P(I, {
443
+ disabled: i.disabled,
444
+ rules: [p(q)()],
424
445
  "label-mark": "required",
425
- label: c(l)("inventory.supplier.address.city"),
446
+ label: p(s)("inventory.supplier.address.city"),
426
447
  modelValue: C.value,
427
- "onUpdate:modelValue": a[4] || (a[4] = (S) => C.value = S)
448
+ "onUpdate:modelValue": a[4] || (a[4] = (N) => C.value = N)
428
449
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
429
- P(R, {
430
- disabled: s.disabled,
431
- rules: [c(K)()],
450
+ P(I, {
451
+ disabled: i.disabled,
452
+ rules: [p(q)()],
432
453
  "label-mark": "required",
433
- label: c(l)("inventory.supplier.address.postcode"),
434
- modelValue: g.value,
435
- "onUpdate:modelValue": a[5] || (a[5] = (S) => g.value = S)
454
+ label: p(s)("inventory.supplier.address.postcode"),
455
+ modelValue: f.value,
456
+ "onUpdate:modelValue": a[5] || (a[5] = (N) => f.value = N)
436
457
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
437
- P(R, {
438
- disabled: s.disabled,
439
- rules: [c(K)()],
458
+ P(I, {
459
+ disabled: i.disabled,
460
+ rules: [p(q)()],
440
461
  "label-mark": "required",
441
- label: c(l)("inventory.supplier.address.state"),
462
+ label: p(s)("inventory.supplier.address.state"),
442
463
  modelValue: O.value,
443
- "onUpdate:modelValue": a[6] || (a[6] = (S) => O.value = S)
464
+ "onUpdate:modelValue": a[6] || (a[6] = (N) => O.value = N)
444
465
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
445
- P(R, {
446
- disabled: s.disabled,
447
- rules: [c(K)()],
466
+ P(I, {
467
+ disabled: i.disabled,
468
+ rules: [p(q)()],
448
469
  "label-mark": "required",
449
- label: c(l)("inventory.supplier.address.country"),
450
- modelValue: E.value,
451
- "onUpdate:modelValue": a[7] || (a[7] = (S) => E.value = S)
470
+ label: p(s)("inventory.supplier.address.country"),
471
+ modelValue: b.value,
472
+ "onUpdate:modelValue": a[7] || (a[7] = (N) => b.value = N)
452
473
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
453
474
  ])
454
475
  ]),
455
- b("div", wt, [
456
- b("div", At, w(c(l)("inventory.supplier.contact.title")), 1),
457
- b("div", Tt, [
458
- P(R, {
459
- disabled: s.disabled,
460
- rules: [c(K)()],
476
+ h("div", Tt, [
477
+ h("div", Rt, T(p(s)("inventory.supplier.contact.title")), 1),
478
+ h("div", Mt, [
479
+ P(I, {
480
+ disabled: i.disabled,
481
+ rules: [p(q)()],
461
482
  "label-mark": "required",
462
- label: c(l)("inventory.supplier.contact.pic"),
463
- modelValue: m.value,
464
- "onUpdate:modelValue": a[8] || (a[8] = (S) => m.value = S)
483
+ label: p(s)("inventory.supplier.contact.pic"),
484
+ modelValue: F.value,
485
+ "onUpdate:modelValue": a[8] || (a[8] = (N) => F.value = N)
465
486
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
466
- P(V, {
467
- disabled: s.disabled,
468
- rules: [c(K)()],
487
+ P(R, {
488
+ disabled: i.disabled,
489
+ rules: [p(q)()],
469
490
  "label-mark": "required",
470
- label: c(l)("inventory.supplier.contact.phoneNumber"),
471
- modelValue: _.value,
472
- "onUpdate:modelValue": a[9] || (a[9] = (S) => _.value = S),
473
- "extra-country-codes": c(D),
474
- "default-country": c(j)
491
+ label: p(s)("inventory.supplier.contact.phoneNumber"),
492
+ modelValue: A.value,
493
+ "onUpdate:modelValue": a[9] || (a[9] = (N) => A.value = N),
494
+ "extra-country-codes": p(Y),
495
+ "default-country": p(X)
475
496
  }, null, 8, ["disabled", "rules", "label", "modelValue", "extra-country-codes", "default-country"]),
476
- P(R, {
477
- disabled: s.disabled,
497
+ P(I, {
498
+ disabled: i.disabled,
478
499
  "label-mark": "optional",
479
- label: c(l)("inventory.supplier.contact.email"),
480
- modelValue: G.value,
481
- "onUpdate:modelValue": a[10] || (a[10] = (S) => G.value = S)
500
+ label: p(s)("inventory.supplier.contact.email"),
501
+ modelValue: de.value,
502
+ "onUpdate:modelValue": a[10] || (a[10] = (N) => de.value = N)
482
503
  }, null, 8, ["disabled", "label", "modelValue"])
483
504
  ])
484
505
  ]),
485
- c($).enableTotalCost ? (N(), I("div", Rt, [
486
- P(Nt, {
487
- modelValue: q.value,
488
- "onUpdate:modelValue": a[11] || (a[11] = (S) => q.value = S)
506
+ p($).enableSupplierPreparationTime ? (S(), w("div", Lt, [
507
+ h("div", Dt, [
508
+ wd(T(p(s)("inventory.supplier.delivery.title")) + " ", 1),
509
+ P(M, { variant: "beta" })
510
+ ]),
511
+ h("div", kt, [
512
+ P(I, {
513
+ disabled: i.disabled,
514
+ label: p(s)("inventory.supplier.delivery.preparationTime"),
515
+ modelValue: V.value,
516
+ "onUpdate:modelValue": a[11] || (a[11] = (N) => V.value = N),
517
+ type: "number"
518
+ }, null, 8, ["disabled", "label", "modelValue"])
519
+ ])
520
+ ])) : W("", !0),
521
+ p($).enableTotalCost ? (S(), w("div", Vt, [
522
+ P(xt, {
523
+ modelValue: _.value,
524
+ "onUpdate:modelValue": a[12] || (a[12] = (N) => _.value = N)
489
525
  }, null, 8, ["modelValue"])
490
- ])) : X("", !0)
526
+ ])) : W("", !0)
491
527
  ])
492
528
  ]),
493
529
  _: 1
494
530
  }, 512);
495
531
  };
496
532
  }
497
- }), Lt = {
533
+ }), Ut = {
498
534
  key: 0,
499
535
  class: "mt-5 flex flex-col gap-4"
500
- }, Dt = { class: "line-clamp-1" }, kt = { class: "flex gap-4" }, Vt = /* @__PURE__ */ de({
536
+ }, Gt = { class: "line-clamp-1" }, Ht = { class: "flex gap-4" }, jt = /* @__PURE__ */ ae({
501
537
  __name: "SupplierDialog",
502
538
  props: {
503
539
  mode: {},
@@ -506,146 +542,228 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
506
542
  },
507
543
  emits: ["update:show", "submitted"],
508
544
  setup(e, { expose: d, emit: t }) {
509
- const r = we(), n = e, $ = t, o = M(!1), i = he(), { t: l } = z(), f = oe(), h = x(() => {
545
+ const r = De(), n = e, $ = t, o = k(!1), l = Se(), s = Ne(), { t: u } = ee(), v = ue(), m = lt(), c = ke(), y = k(!1), g = E(() => {
510
546
  switch (n.mode) {
511
- case U.READ:
547
+ case H.READ:
512
548
  return "";
513
- case U.UPDATE:
514
- return l("inventory.supplier.update.title");
515
- case U.CREATE:
516
- return l("inventory.supplier.create.title");
549
+ case H.UPDATE:
550
+ return u("inventory.supplier.update.title");
551
+ case H.CREATE:
552
+ return u("inventory.supplier.create.title");
517
553
  }
518
554
  return "";
519
- }), y = x(() => {
555
+ }), C = E(() => {
520
556
  switch (n.mode) {
521
- case U.READ:
557
+ case H.READ:
522
558
  return "";
523
- case U.UPDATE:
524
- return l("common.save");
525
- case U.CREATE:
526
- return l("common.add");
559
+ case H.UPDATE:
560
+ return u("common.save");
561
+ case H.CREATE:
562
+ return u("common.add");
527
563
  }
528
564
  return "";
529
- }), u = M();
565
+ }), f = k();
530
566
  d({
531
567
  validateInputs: () => {
532
- var m, _;
533
- (_ = (m = u.value) == null ? void 0 : m.validateInputs) == null || _.call(m);
568
+ var _, x;
569
+ (x = (_ = f.value) == null ? void 0 : _.validateInputs) == null || x.call(_);
534
570
  },
535
571
  resetInputsValidation: () => {
536
- var m, _;
537
- (_ = (m = u.value) == null ? void 0 : m.resetInputsValidation) == null || _.call(m);
572
+ var _, x;
573
+ (x = (_ = f.value) == null ? void 0 : _.resetInputsValidation) == null || x.call(_);
538
574
  },
539
575
  resetInputs: () => {
540
- var m, _;
541
- (_ = (m = u.value) == null ? void 0 : m.resetInputs) == null || _.call(m);
576
+ var _, x;
577
+ (x = (_ = f.value) == null ? void 0 : _.resetInputs) == null || x.call(_);
542
578
  }
543
579
  });
544
- const v = rd(n, "show"), p = rd(n, "supplier");
545
- function C() {
546
- var m, _;
547
- (_ = (m = u.value) == null ? void 0 : m.validateInputs) == null || _.call(m);
580
+ const O = od(n, "show"), b = od(n, "supplier");
581
+ function F() {
582
+ var _, x;
583
+ (x = (_ = f.value) == null ? void 0 : _.validateInputs) == null || x.call(_);
584
+ }
585
+ function A() {
586
+ return new Promise((_) => {
587
+ s.open({
588
+ title: u("inventory.supplier.autoAppendToTemplates.title"),
589
+ message: u("inventory.supplier.autoAppendToTemplates.description"),
590
+ closeButton: !0,
591
+ primaryActions: {
592
+ text: "Yes",
593
+ close: !0
594
+ },
595
+ secondaryActions: {
596
+ text: "No",
597
+ close: !0,
598
+ variant: "tertiary"
599
+ }
600
+ }).onPrimary(() => {
601
+ y.value = !0, _(!0);
602
+ }).onSecondary(() => {
603
+ y.value = !1, _(!1);
604
+ });
605
+ });
548
606
  }
549
- function g() {
607
+ async function V() {
608
+ var _;
550
609
  switch (n.mode) {
551
- case U.READ:
610
+ case H.READ:
552
611
  return;
553
- case U.UPDATE:
554
- return E();
555
- case U.CREATE:
556
- return O();
612
+ case H.UPDATE:
613
+ return ((_ = b.value.supplyItems) == null ? void 0 : _.length) > 0 ? await A() : y.value = !1, X();
614
+ case H.CREATE:
615
+ return Y();
557
616
  }
558
617
  }
559
- async function O() {
618
+ async function Y() {
560
619
  o.value = !0;
561
620
  try {
562
621
  await Promise.all([
563
- f.createSupplier(p.value),
564
- new Promise((m) => setTimeout(m, 1e3))
565
- ]), i.open({
566
- title: l("inventory.common.success"),
567
- message: l("inventory.supplier.create.success", { name: p.value.name }),
622
+ v.createSupplier(b.value),
623
+ new Promise((_) => setTimeout(_, 1e3))
624
+ ]), l.open({
625
+ title: u("inventory.common.success"),
626
+ message: u("inventory.supplier.create.success", { name: b.value.name }),
568
627
  type: "success"
569
628
  }), $("update:show", !1), $("submitted");
570
- } catch (m) {
571
- i.open({
629
+ } catch (_) {
630
+ l.open({
572
631
  title: "Something went wrong",
573
- message: `Cannot create ${p.value.name} supplier. Please try again`,
632
+ message: `Cannot create ${b.value.name} supplier. Please try again`,
574
633
  type: "error"
575
- }), console.error("cannot create supplier", m);
634
+ }), console.error("cannot create supplier", _);
576
635
  } finally {
577
636
  o.value = !1;
578
637
  }
579
638
  }
580
- async function E() {
581
- if (p.value === null) {
582
- i.open({
583
- title: l("inventory.supplier.update.error.title"),
584
- message: l("inventory.supplier.update.error.emptySupplier"),
639
+ async function X() {
640
+ var _;
641
+ if (b.value === null) {
642
+ l.open({
643
+ title: u("inventory.supplier.update.error.title"),
644
+ message: u("inventory.supplier.update.error.emptySupplier"),
585
645
  type: "error"
586
646
  });
587
647
  return;
588
648
  }
589
649
  o.value = !0;
590
650
  try {
591
- await Promise.all([
592
- f.updateSupplier(p.value),
593
- new Promise((m) => setTimeout(m, 1e3))
594
- ]), i.open({
595
- title: l("inventory.common.success"),
596
- message: l("inventory.supplier.update.success", { name: p.value.name }),
651
+ if (await Promise.all([
652
+ v.updateSupplier(b.value),
653
+ new Promise((x) => setTimeout(x, 1e3))
654
+ ]), y.value && ((_ = b.value.supplyItems) == null ? void 0 : _.length) > 0) {
655
+ const x = b.value.supplyItems.map((i) => i.skuId);
656
+ b.value._id && await de(b.value._id, b.value.supplyItems);
657
+ }
658
+ l.open({
659
+ title: u("inventory.common.success"),
660
+ message: u("inventory.supplier.update.success", { name: b.value.name }),
597
661
  type: "success"
598
662
  }), $("update:show", !1), $("submitted");
599
- } catch (m) {
600
- i.open({
601
- title: l("inventory.supplier.update.error.title"),
602
- message: l("inventory.supplier.update.error.message"),
663
+ } catch (x) {
664
+ l.open({
665
+ title: u("inventory.supplier.update.error.title"),
666
+ message: u("inventory.supplier.update.error.message"),
603
667
  type: "error"
604
- }), console.error("cannot update supplier", m);
668
+ }), console.error("cannot update supplier", x);
605
669
  } finally {
606
670
  o.value = !1;
607
671
  }
608
672
  }
609
- return (m, _) => {
610
- const D = A("FmLabel"), j = A("FmField"), G = A("FmButton"), q = A("FmSideSheet");
611
- return N(), Y(q, {
612
- header: h.value,
613
- modelValue: c(v),
614
- "onUpdate:modelValue": _[1] || (_[1] = (k) => Qe(v) ? v.value = k : null),
673
+ async function de(_, x) {
674
+ try {
675
+ if (!x.length) return;
676
+ const i = await m.getTemplateBySupplierId(_);
677
+ if (i.length === 0) {
678
+ console.error("No purchase order templates found for supplier", _);
679
+ return;
680
+ }
681
+ const a = x.flatMap((M) => {
682
+ const G = c.skuById[M.skuId];
683
+ return G ? [{ supplyItem: M, ingredient: G }] : [];
684
+ });
685
+ if (a.length === 0) {
686
+ console.warn("No valid ingredients found for the provided supply items");
687
+ return;
688
+ }
689
+ const Z = i.map(async (M) => {
690
+ const G = new Set(
691
+ M.purchaseOrder.items.map((B) => {
692
+ var K;
693
+ return (K = B.sku) == null ? void 0 : K._id;
694
+ }).filter(Boolean)
695
+ ), N = a.filter(({ ingredient: B }) => !G.has(B._id)).map(({ supplyItem: B, ingredient: K }) => {
696
+ var ie;
697
+ const te = {
698
+ amount: 1,
699
+ precision: qd(K.unit)
700
+ };
701
+ return {
702
+ sku: K,
703
+ name: K.name,
704
+ code: K.code,
705
+ quantity: te,
706
+ minimumQuantity: te,
707
+ quantityStep: te,
708
+ measurement: ((ie = B.defaultCost) == null ? void 0 : ie.measurement) || null
709
+ };
710
+ });
711
+ if (N.length > 0) {
712
+ const B = {
713
+ ...M,
714
+ purchaseOrder: {
715
+ ...M.purchaseOrder,
716
+ items: [...M.purchaseOrder.items, ...N]
717
+ }
718
+ };
719
+ return await m.updateTemplate(B), N.length;
720
+ }
721
+ return 0;
722
+ }), R = (await Promise.all(Z)).reduce((M, G) => M + G, 0);
723
+ } catch (i) {
724
+ throw console.error("Error appending ingredients to purchase order templates:", i), i;
725
+ }
726
+ }
727
+ return (_, x) => {
728
+ const i = L("FmLabel"), a = L("FmField"), Z = L("FmButton"), I = L("FmSideSheet");
729
+ return S(), J(I, {
730
+ header: g.value,
731
+ modelValue: p(O),
732
+ "onUpdate:modelValue": x[1] || (x[1] = (R) => dd(O) ? O.value = R : null),
615
733
  "dismiss-away": !o.value,
616
734
  "close-button": "",
617
735
  "max-width": 500
618
736
  }, {
619
- default: L(() => {
620
- var k;
737
+ default: U(() => {
738
+ var R;
621
739
  return [
622
- (N(), Y(Mt, {
740
+ (S(), J(Bt, {
623
741
  class: "w-full",
624
742
  ref_key: "formRef",
625
- ref: u,
626
- modelValue: c(p),
627
- "onUpdate:modelValue": _[0] || (_[0] = (s) => Qe(p) ? p.value = s : null),
628
- onValidationSuccess: g,
629
- key: ((k = m.supplier) == null ? void 0 : k._id) ?? "",
743
+ ref: f,
744
+ modelValue: p(b),
745
+ "onUpdate:modelValue": x[0] || (x[0] = (M) => dd(b) ? b.value = M : null),
746
+ onValidationSuccess: V,
747
+ key: ((R = _.supplier) == null ? void 0 : R._id) ?? "",
630
748
  disabled: o.value
631
749
  }, null, 8, ["modelValue", "disabled"])),
632
- c(r).isEnabled && c(r).getVendorSubsidiaryName(c(p)._id) ? (N(), I("div", Lt, [
633
- P(D, { label: "NetSuite Subsidiary" }),
634
- P(j, null, {
635
- default: L(() => [
636
- b("span", Dt, w(c(r).getVendorSubsidiaryName(c(p)._id)), 1)
750
+ p(r).isEnabled && p(r).getVendorSubsidiaryName(p(b)._id) ? (S(), w("div", Ut, [
751
+ P(i, { label: "NetSuite Subsidiary" }),
752
+ P(a, null, {
753
+ default: U(() => [
754
+ h("span", Gt, T(p(r).getVendorSubsidiaryName(p(b)._id)), 1)
637
755
  ]),
638
756
  _: 1
639
757
  })
640
- ])) : X("", !0)
758
+ ])) : W("", !0)
641
759
  ];
642
760
  }),
643
- "side-sheet-footer": L(() => [
644
- b("div", kt, [
645
- P(G, {
761
+ "side-sheet-footer": U(() => [
762
+ h("div", Ht, [
763
+ P(Z, {
646
764
  loading: o.value,
647
- label: y.value,
648
- onClick: C
765
+ label: C.value,
766
+ onClick: F
649
767
  }, null, 8, ["loading", "label"])
650
768
  ])
651
769
  ]),
@@ -653,59 +771,59 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
653
771
  }, 8, ["header", "modelValue", "dismiss-away"]);
654
772
  };
655
773
  }
656
- }), Ut = { 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(?: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, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\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])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[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}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-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{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-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|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\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-5])\\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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\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", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], 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|50|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]|33|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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-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{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[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[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]|91"]], ["(\\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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-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]|31)"], "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, "528[89]"], 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, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\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", "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-5])\\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", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,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-489]\\d|55)\\d{6}", [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", "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|83)|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]|8[124-6])\\d|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", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[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,10}|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", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|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[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["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", "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|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", ["7"], "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[259]\\d{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, "33|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", ["30[0135-9]"], "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-7]|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", "(?:[245]\\d|33|77|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|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|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{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[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}"]]], MC: ["377", "00", "(?:[3489]|6\\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", ["6"], "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-5])\\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", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\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", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], 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", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,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", ["[26]1|3[289]|4[1246-8]|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[16]|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[013]|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-5]|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, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [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{3,4})", "$1 $2 $3", ["81"], "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]|68|[78]\\d)\\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-8]"]]]], 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", "[267]\\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", ["[267]"]], ["(\\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|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-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{8}", [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", ["[0-57-9]"]]], 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, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|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-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|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-47-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-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|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-389]|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]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\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|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "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}"]]] } };
657
- function Bt(e, d) {
774
+ }), Kt = { 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(?: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, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\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])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[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}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-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{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-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|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\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-5])\\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-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\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", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], 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|50|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]|33|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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-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{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[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[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]|91"]], ["(\\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-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-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]|31)"], "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, "528[89]"], 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, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\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", "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-5])\\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", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,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-489]\\d|55)\\d{6}", [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", "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|83)|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]|8[124-6])\\d|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", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[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,10}|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", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|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[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["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", "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|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", ["7"], "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[259]\\d{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, "33|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", ["30[0135-9]"], "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-7]|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", "(?:[245]\\d|33|77|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|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|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{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[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}"]]], MC: ["377", "00", "(?:[3489]|6\\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", ["6"], "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-5])\\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", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\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", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], 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", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,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", ["[26]1|3[289]|4[1246-8]|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[16]|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[013]|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-5]|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, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [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{3,4})", "$1 $2 $3", ["81"], "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]|68|[78]\\d)\\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-8]"]]]], 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", "[267]\\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", ["[267]"]], ["(\\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|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-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{8}", [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", ["[0-57-9]"]]], 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, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|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-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|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-47-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-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|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-389]|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]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\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|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "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}"]]] } };
775
+ function Wt(e, d) {
658
776
  var t = Array.prototype.slice.call(d);
659
- return t.push(Ut), e.apply(this, t);
777
+ return t.push(Kt), e.apply(this, t);
660
778
  }
661
- function Se(e) {
779
+ function we(e) {
662
780
  "@babel/helpers - typeof";
663
- return Se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
781
+ return we = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
664
782
  return typeof d;
665
783
  } : function(d) {
666
784
  return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
667
- }, Se(e);
785
+ }, we(e);
668
786
  }
669
- function Gt(e, d, t) {
787
+ function Yt(e, d, t) {
670
788
  return Object.defineProperty(e, "prototype", { writable: !1 }), e;
671
789
  }
672
- function Ht(e, d) {
790
+ function Xt(e, d) {
673
791
  if (!(e instanceof d))
674
792
  throw new TypeError("Cannot call a class as a function");
675
793
  }
676
- function jt(e, d) {
794
+ function Zt(e, d) {
677
795
  if (typeof d != "function" && d !== null)
678
796
  throw new TypeError("Super expression must either be null or a function");
679
- e.prototype = Object.create(d && d.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), d && re(e, d);
797
+ e.prototype = Object.create(d && d.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), d && le(e, d);
680
798
  }
681
- function Kt(e) {
682
- var d = Md();
799
+ function qt(e) {
800
+ var d = Dd();
683
801
  return function() {
684
- var r = ne(e), n;
802
+ var r = se(e), n;
685
803
  if (d) {
686
- var $ = ne(this).constructor;
804
+ var $ = se(this).constructor;
687
805
  n = Reflect.construct(r, arguments, $);
688
806
  } else
689
807
  n = r.apply(this, arguments);
690
- return Wt(this, n);
808
+ return zt(this, n);
691
809
  };
692
810
  }
693
- function Wt(e, d) {
694
- if (d && (Se(d) === "object" || typeof d == "function"))
811
+ function zt(e, d) {
812
+ if (d && (we(d) === "object" || typeof d == "function"))
695
813
  return d;
696
814
  if (d !== void 0)
697
815
  throw new TypeError("Derived constructors may only return object or undefined");
698
- return Rd(e);
816
+ return Ld(e);
699
817
  }
700
- function Rd(e) {
818
+ function Ld(e) {
701
819
  if (e === void 0)
702
820
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
703
821
  return e;
704
822
  }
705
- function Ee(e) {
823
+ function Ae(e) {
706
824
  var d = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
707
- return Ee = function(r) {
708
- if (r === null || !Yt(r)) return r;
825
+ return Ae = function(r) {
826
+ if (r === null || !Jt(r)) return r;
709
827
  if (typeof r != "function")
710
828
  throw new TypeError("Super expression must either be null or a function");
711
829
  if (typeof d < "u") {
@@ -713,20 +831,20 @@ function Ee(e) {
713
831
  d.set(r, n);
714
832
  }
715
833
  function n() {
716
- return ce(r, arguments, ne(this).constructor);
834
+ return ve(r, arguments, se(this).constructor);
717
835
  }
718
- return n.prototype = Object.create(r.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), re(n, r);
719
- }, Ee(e);
836
+ return n.prototype = Object.create(r.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), le(n, r);
837
+ }, Ae(e);
720
838
  }
721
- function ce(e, d, t) {
722
- return Md() ? ce = Reflect.construct : ce = function(n, $, o) {
723
- var i = [null];
724
- i.push.apply(i, $);
725
- var l = Function.bind.apply(n, i), f = new l();
726
- return o && re(f, o.prototype), f;
727
- }, ce.apply(null, arguments);
839
+ function ve(e, d, t) {
840
+ return Dd() ? ve = Reflect.construct : ve = function(n, $, o) {
841
+ var l = [null];
842
+ l.push.apply(l, $);
843
+ var s = Function.bind.apply(n, l), u = new s();
844
+ return o && le(u, o.prototype), u;
845
+ }, ve.apply(null, arguments);
728
846
  }
729
- function Md() {
847
+ function Dd() {
730
848
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
731
849
  if (typeof Proxy == "function") return !0;
732
850
  try {
@@ -736,29 +854,29 @@ function Md() {
736
854
  return !1;
737
855
  }
738
856
  }
739
- function Yt(e) {
857
+ function Jt(e) {
740
858
  return Function.toString.call(e).indexOf("[native code]") !== -1;
741
859
  }
742
- function re(e, d) {
743
- return re = Object.setPrototypeOf || function(r, n) {
860
+ function le(e, d) {
861
+ return le = Object.setPrototypeOf || function(r, n) {
744
862
  return r.__proto__ = n, r;
745
- }, re(e, d);
863
+ }, le(e, d);
746
864
  }
747
- function ne(e) {
748
- return ne = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
865
+ function se(e) {
866
+ return se = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
749
867
  return t.__proto__ || Object.getPrototypeOf(t);
750
- }, ne(e);
868
+ }, se(e);
751
869
  }
752
- var W = /* @__PURE__ */ function(e) {
753
- jt(t, e);
754
- var d = Kt(t);
870
+ var z = /* @__PURE__ */ function(e) {
871
+ Zt(t, e);
872
+ var d = qt(t);
755
873
  function t(r) {
756
874
  var n;
757
- return Ht(this, t), n = d.call(this, r), Object.setPrototypeOf(Rd(n), t.prototype), n.name = n.constructor.name, n;
875
+ return Xt(this, t), n = d.call(this, r), Object.setPrototypeOf(Ld(n), t.prototype), n.name = n.constructor.name, n;
758
876
  }
759
- return Gt(t);
760
- }(/* @__PURE__ */ Ee(Error)), Te = 2, Xt = 17, Zt = 3, B = "0-90-9٠-٩۰-۹", zt = "-‐-―−ー-", qt = "//", Jt = "..", Qt = "  ­​⁠ ", e0 = "()()[]\\[\\]", d0 = "~⁓∼~", pe = "".concat(zt).concat(qt).concat(Jt).concat(Qt).concat(e0).concat(d0), Re = "++";
761
- function nd(e, d) {
877
+ return Yt(t);
878
+ }(/* @__PURE__ */ Ae(Error)), Ve = 2, Qt = 17, er = 3, j = "0-90-9٠-٩۰-۹", dr = "-‐-―−ー-", tr = "//", rr = "..", nr = "  ­​⁠ ", or = "()()[]\\[\\]", ar = "~⁓∼~", he = "".concat(dr).concat(tr).concat(rr).concat(nr).concat(or).concat(ar), Be = "++";
879
+ function ad(e, d) {
762
880
  e = e.split("-"), d = d.split("-");
763
881
  for (var t = e[0].split("."), r = d[0].split("."), n = 0; n < 3; n++) {
764
882
  var $ = Number(t[n]), o = Number(r[n]);
@@ -769,36 +887,36 @@ function nd(e, d) {
769
887
  }
770
888
  return e[1] && d[1] ? e[1] > d[1] ? 1 : e[1] < d[1] ? -1 : 0 : !e[1] && d[1] ? 1 : e[1] && !d[1] ? -1 : 0;
771
889
  }
772
- var t0 = {}.constructor;
773
- function fe(e) {
774
- return e != null && e.constructor === t0;
890
+ var ir = {}.constructor;
891
+ function ge(e) {
892
+ return e != null && e.constructor === ir;
775
893
  }
776
- function xe(e) {
894
+ function Te(e) {
777
895
  "@babel/helpers - typeof";
778
- return xe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
896
+ return Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
779
897
  return typeof d;
780
898
  } : function(d) {
781
899
  return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
782
- }, xe(e);
900
+ }, Te(e);
783
901
  }
784
- function be(e, d) {
902
+ function xe(e, d) {
785
903
  if (!(e instanceof d))
786
904
  throw new TypeError("Cannot call a class as a function");
787
905
  }
788
- function r0(e, d) {
906
+ function $r(e, d) {
789
907
  for (var t = 0; t < d.length; t++) {
790
908
  var r = d[t];
791
909
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
792
910
  }
793
911
  }
794
- function _e(e, d, t) {
795
- return d && r0(e.prototype, d), Object.defineProperty(e, "prototype", { writable: !1 }), e;
912
+ function Ee(e, d, t) {
913
+ return d && $r(e.prototype, d), Object.defineProperty(e, "prototype", { writable: !1 }), e;
796
914
  }
797
- var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ */ function() {
915
+ var lr = "1.2.0", sr = "1.7.35", id = " ext. ", ur = /^\d+$/, D = /* @__PURE__ */ function() {
798
916
  function e(d) {
799
- be(this, e), s0(d), this.metadata = d, Ld.call(this, d);
917
+ xe(this, e), mr(d), this.metadata = d, kd.call(this, d);
800
918
  }
801
- return _e(e, [{
919
+ return Ee(e, [{
802
920
  key: "getCountries",
803
921
  value: function() {
804
922
  return Object.keys(this.metadata.countries).filter(function(t) {
@@ -849,14 +967,14 @@ var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ *
849
967
  }, {
850
968
  key: "selectNumberingPlan",
851
969
  value: function(t, r) {
852
- if (t && a0.test(t) && (r = t, t = null), t && t !== "001") {
970
+ if (t && ur.test(t) && (r = t, t = null), t && t !== "001") {
853
971
  if (!this.hasCountry(t))
854
972
  throw new Error("Unknown country: ".concat(t));
855
- this.numberingPlan = new ad(this.getCountryMetadata(t), this);
973
+ this.numberingPlan = new $d(this.getCountryMetadata(t), this);
856
974
  } else if (r) {
857
975
  if (!this.hasCallingCode(r))
858
976
  throw new Error("Unknown calling code: ".concat(r));
859
- this.numberingPlan = new ad(this.getNumberingPlanMetadata(r), this);
977
+ this.numberingPlan = new $d(this.getNumberingPlanMetadata(r), this);
860
978
  } else
861
979
  this.numberingPlan = void 0;
862
980
  return this;
@@ -980,11 +1098,11 @@ var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ *
980
1098
  return this.numberingPlan !== void 0;
981
1099
  }
982
1100
  }]), e;
983
- }(), ad = /* @__PURE__ */ function() {
1101
+ }(), $d = /* @__PURE__ */ function() {
984
1102
  function e(d, t) {
985
- be(this, e), this.globalMetadataObject = t, this.metadata = d, Ld.call(this, t.metadata);
1103
+ xe(this, e), this.globalMetadataObject = t, this.metadata = d, kd.call(this, t.metadata);
986
1104
  }
987
- return _e(e, [{
1105
+ return Ee(e, [{
988
1106
  key: "callingCode",
989
1107
  value: function() {
990
1108
  return this.metadata[0];
@@ -1039,7 +1157,7 @@ var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ *
1039
1157
  value: function() {
1040
1158
  var t = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
1041
1159
  return r.map(function(n) {
1042
- return new $0(n, t);
1160
+ return new cr(n, t);
1043
1161
  });
1044
1162
  }
1045
1163
  }, {
@@ -1107,20 +1225,20 @@ var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ *
1107
1225
  }, {
1108
1226
  key: "type",
1109
1227
  value: function(t) {
1110
- if (this.hasTypes() && $d(this.types(), t))
1111
- return new l0($d(this.types(), t), this);
1228
+ if (this.hasTypes() && ld(this.types(), t))
1229
+ return new fr(ld(this.types(), t), this);
1112
1230
  }
1113
1231
  }, {
1114
1232
  key: "ext",
1115
1233
  value: function() {
1116
- return this.v1 || this.v2 ? od : this.metadata[13] || od;
1234
+ return this.v1 || this.v2 ? id : this.metadata[13] || id;
1117
1235
  }
1118
1236
  }]), e;
1119
- }(), $0 = /* @__PURE__ */ function() {
1237
+ }(), cr = /* @__PURE__ */ function() {
1120
1238
  function e(d, t) {
1121
- be(this, e), this._format = d, this.metadata = t;
1239
+ xe(this, e), this._format = d, this.metadata = t;
1122
1240
  }
1123
- return _e(e, [{
1241
+ return Ee(e, [{
1124
1242
  key: "pattern",
1125
1243
  value: function() {
1126
1244
  return this._format[0];
@@ -1155,7 +1273,7 @@ var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ *
1155
1273
  key: "usesNationalPrefix",
1156
1274
  value: function() {
1157
1275
  return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
1158
- !i0.test(this.nationalPrefixFormattingRule()));
1276
+ !pr.test(this.nationalPrefixFormattingRule()));
1159
1277
  }
1160
1278
  }, {
1161
1279
  key: "internationalFormat",
@@ -1163,11 +1281,11 @@ var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ *
1163
1281
  return this._format[5] || this.format();
1164
1282
  }
1165
1283
  }]), e;
1166
- }(), i0 = /^\(?\$1\)?$/, l0 = /* @__PURE__ */ function() {
1284
+ }(), pr = /^\(?\$1\)?$/, fr = /* @__PURE__ */ function() {
1167
1285
  function e(d, t) {
1168
- be(this, e), this.type = d, this.metadata = t;
1286
+ xe(this, e), this.type = d, this.metadata = t;
1169
1287
  }
1170
- return _e(e, [{
1288
+ return Ee(e, [{
1171
1289
  key: "pattern",
1172
1290
  value: function() {
1173
1291
  return this.metadata.v1 ? this.type : this.type[0];
@@ -1180,7 +1298,7 @@ var n0 = "1.2.0", o0 = "1.7.35", od = " ext. ", a0 = /^\d+$/, T = /* @__PURE__ *
1180
1298
  }
1181
1299
  }]), e;
1182
1300
  }();
1183
- function $d(e, d) {
1301
+ function ld(e, d) {
1184
1302
  switch (d) {
1185
1303
  case "FIXED_LINE":
1186
1304
  return e[0];
@@ -1204,52 +1322,52 @@ function $d(e, d) {
1204
1322
  return e[9];
1205
1323
  }
1206
1324
  }
1207
- function s0(e) {
1325
+ function mr(e) {
1208
1326
  if (!e)
1209
1327
  throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
1210
- if (!fe(e) || !fe(e.countries))
1211
- throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(fe(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + u0(e) + ": " + e, "."));
1328
+ if (!ge(e) || !ge(e.countries))
1329
+ throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(ge(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + yr(e) + ": " + e, "."));
1212
1330
  }
1213
- var u0 = function(d) {
1214
- return xe(d);
1331
+ var yr = function(d) {
1332
+ return Te(d);
1215
1333
  };
1216
- function Me(e, d) {
1217
- if (d = new T(d), d.hasCountry(e))
1334
+ function Ue(e, d) {
1335
+ if (d = new D(d), d.hasCountry(e))
1218
1336
  return d.country(e).countryCallingCode();
1219
1337
  throw new Error("Unknown country: ".concat(e));
1220
1338
  }
1221
- function c0(e, d) {
1339
+ function vr(e, d) {
1222
1340
  return d.countries.hasOwnProperty(e);
1223
1341
  }
1224
- function Ld(e) {
1342
+ function kd(e) {
1225
1343
  var d = e.version;
1226
- typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ? nd(d, n0) === -1 ? this.v2 = !0 : nd(d, o0) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
1344
+ typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ? ad(d, lr) === -1 ? this.v2 = !0 : ad(d, sr) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
1227
1345
  }
1228
- var f0 = ";ext=", J = function(d) {
1229
- return "([".concat(B, "]{1,").concat(d, "})");
1346
+ var gr = ";ext=", re = function(d) {
1347
+ return "([".concat(j, "]{1,").concat(d, "})");
1230
1348
  };
1231
- function Dd(e) {
1232
- var d = "20", t = "15", r = "9", n = "6", $ = "[  \\t,]*", o = "[:\\..]?[  \\t,-]*", i = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", f = "(?:[xx##~~]|int|int)", h = "[- ]+", y = "[  \\t]*", u = "(?:,{2}|;)", v = f0 + J(d), p = $ + l + o + J(d) + i, C = $ + f + o + J(r) + i, g = h + J(n) + "#", O = y + u + o + J(t) + i, E = y + "(?:,)+" + o + J(r) + i;
1233
- return v + "|" + p + "|" + C + "|" + g + "|" + O + "|" + E;
1349
+ function Vd(e) {
1350
+ var d = "20", t = "15", r = "9", n = "6", $ = "[  \\t,]*", o = "[:\\..]?[  \\t,-]*", l = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", v = "[- ]+", m = "[  \\t]*", c = "(?:,{2}|;)", y = gr + re(d), g = $ + s + o + re(d) + l, C = $ + u + o + re(r) + l, f = v + re(n) + "#", O = m + c + o + re(t) + l, b = m + "(?:,)+" + o + re(r) + l;
1351
+ return y + "|" + g + "|" + C + "|" + f + "|" + O + "|" + b;
1234
1352
  }
1235
- var p0 = "[" + B + "]{" + Te + "}", m0 = "[" + Re + "]{0,1}(?:[" + pe + "]*[" + B + "]){3,}[" + pe + B + "]*", y0 = new RegExp("^[" + Re + "]{0,1}(?:[" + pe + "]*[" + B + "]){1,2}$", "i"), v0 = m0 + // Phone number extensions
1236
- "(?:" + Dd() + ")?", g0 = new RegExp(
1353
+ var hr = "[" + j + "]{" + Ve + "}", br = "[" + Be + "]{0,1}(?:[" + he + "]*[" + j + "]){3,}[" + he + j + "]*", _r = new RegExp("^[" + Be + "]{0,1}(?:[" + he + "]*[" + j + "]){1,2}$", "i"), Pr = br + // Phone number extensions
1354
+ "(?:" + Vd() + ")?", Cr = new RegExp(
1237
1355
  // Either a short two-digit-only phone number
1238
- "^" + p0 + "$|^" + v0 + "$",
1356
+ "^" + hr + "$|^" + Pr + "$",
1239
1357
  "i"
1240
1358
  );
1241
- function h0(e) {
1242
- return e.length >= Te && g0.test(e);
1359
+ function Nr(e) {
1360
+ return e.length >= Ve && Cr.test(e);
1243
1361
  }
1244
- function b0(e) {
1245
- return y0.test(e);
1362
+ function Sr(e) {
1363
+ return _r.test(e);
1246
1364
  }
1247
- var id = new RegExp("(?:" + Dd() + ")$", "i");
1248
- function _0(e) {
1249
- var d = e.search(id);
1365
+ var sd = new RegExp("(?:" + Vd() + ")$", "i");
1366
+ function xr(e) {
1367
+ var d = e.search(sd);
1250
1368
  if (d < 0)
1251
1369
  return {};
1252
- for (var t = e.slice(0, d), r = e.match(id), n = 1; n < r.length; ) {
1370
+ for (var t = e.slice(0, d), r = e.match(sd), n = 1; n < r.length; ) {
1253
1371
  if (r[n])
1254
1372
  return {
1255
1373
  number: t,
@@ -1258,7 +1376,7 @@ function _0(e) {
1258
1376
  n++;
1259
1377
  }
1260
1378
  }
1261
- var P0 = {
1379
+ var Er = {
1262
1380
  0: "0",
1263
1381
  1: "1",
1264
1382
  2: "2",
@@ -1330,13 +1448,13 @@ var P0 = {
1330
1448
  "۹": "9"
1331
1449
  // Eastern-Arabic digit 9
1332
1450
  };
1333
- function C0(e) {
1334
- return P0[e];
1451
+ function Ir(e) {
1452
+ return Er[e];
1335
1453
  }
1336
- function N0(e, d) {
1454
+ function Or(e, d) {
1337
1455
  var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1338
1456
  if (t) return (t = t.call(e)).next.bind(t);
1339
- if (Array.isArray(e) || (t = S0(e)) || d) {
1457
+ if (Array.isArray(e) || (t = Fr(e)) || d) {
1340
1458
  t && (e = t);
1341
1459
  var r = 0;
1342
1460
  return function() {
@@ -1346,42 +1464,42 @@ function N0(e, d) {
1346
1464
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1347
1465
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1348
1466
  }
1349
- function S0(e, d) {
1467
+ function Fr(e, d) {
1350
1468
  if (e) {
1351
- if (typeof e == "string") return ld(e, d);
1469
+ if (typeof e == "string") return ud(e, d);
1352
1470
  var t = Object.prototype.toString.call(e).slice(8, -1);
1353
1471
  if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1354
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ld(e, d);
1472
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ud(e, d);
1355
1473
  }
1356
1474
  }
1357
- function ld(e, d) {
1475
+ function ud(e, d) {
1358
1476
  (d == null || d > e.length) && (d = e.length);
1359
1477
  for (var t = 0, r = new Array(d); t < d; t++)
1360
1478
  r[t] = e[t];
1361
1479
  return r;
1362
1480
  }
1363
- function sd(e) {
1364
- for (var d = "", t = N0(e.split("")), r; !(r = t()).done; ) {
1481
+ function cd(e) {
1482
+ for (var d = "", t = Or(e.split("")), r; !(r = t()).done; ) {
1365
1483
  var n = r.value;
1366
- d += E0(n, d) || "";
1484
+ d += wr(n, d) || "";
1367
1485
  }
1368
1486
  return d;
1369
1487
  }
1370
- function E0(e, d, t) {
1371
- return e === "+" ? d ? void 0 : "+" : C0(e);
1488
+ function wr(e, d, t) {
1489
+ return e === "+" ? d ? void 0 : "+" : Ir(e);
1372
1490
  }
1373
- function Le(e, d) {
1374
- return x0(e, void 0, d);
1491
+ function Ge(e, d) {
1492
+ return Ar(e, void 0, d);
1375
1493
  }
1376
- function x0(e, d, t) {
1494
+ function Ar(e, d, t) {
1377
1495
  var r = t.type(d), n = r && r.possibleLengths() || t.possibleLengths();
1378
1496
  if (!n)
1379
1497
  return "IS_POSSIBLE";
1380
1498
  var $ = e.length, o = n[0];
1381
1499
  return o === $ ? "IS_POSSIBLE" : o > $ ? "TOO_SHORT" : n[n.length - 1] < $ ? "TOO_LONG" : n.indexOf($, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
1382
1500
  }
1383
- function I0(e, d, t) {
1384
- if (d === void 0 && (d = {}), t = new T(t), d.v2) {
1501
+ function Tr(e, d, t) {
1502
+ if (d === void 0 && (d = {}), t = new D(t), d.v2) {
1385
1503
  if (!e.countryCallingCode)
1386
1504
  throw new Error("Invalid phone number object passed");
1387
1505
  t.selectNumberingPlan(e.countryCallingCode);
@@ -1399,26 +1517,26 @@ function I0(e, d, t) {
1399
1517
  }
1400
1518
  }
1401
1519
  if (t.possibleLengths())
1402
- return kd(e.phone || e.nationalNumber, t);
1520
+ return Bd(e.phone || e.nationalNumber, t);
1403
1521
  if (e.countryCallingCode && t.isNonGeographicCallingCode(e.countryCallingCode))
1404
1522
  return !0;
1405
1523
  throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
1406
1524
  }
1407
- function kd(e, d) {
1408
- switch (Le(e, d)) {
1525
+ function Bd(e, d) {
1526
+ switch (Ge(e, d)) {
1409
1527
  case "IS_POSSIBLE":
1410
1528
  return !0;
1411
1529
  default:
1412
1530
  return !1;
1413
1531
  }
1414
1532
  }
1415
- function Z(e, d) {
1533
+ function Q(e, d) {
1416
1534
  return e = e || "", new RegExp("^(?:" + d + ")$").test(e);
1417
1535
  }
1418
- function O0(e, d) {
1536
+ function Rr(e, d) {
1419
1537
  var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1420
1538
  if (t) return (t = t.call(e)).next.bind(t);
1421
- if (Array.isArray(e) || (t = F0(e)) || d) {
1539
+ if (Array.isArray(e) || (t = Mr(e)) || d) {
1422
1540
  t && (e = t);
1423
1541
  var r = 0;
1424
1542
  return function() {
@@ -1428,60 +1546,60 @@ function O0(e, d) {
1428
1546
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1429
1547
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1430
1548
  }
1431
- function F0(e, d) {
1549
+ function Mr(e, d) {
1432
1550
  if (e) {
1433
- if (typeof e == "string") return ud(e, d);
1551
+ if (typeof e == "string") return pd(e, d);
1434
1552
  var t = Object.prototype.toString.call(e).slice(8, -1);
1435
1553
  if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1436
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ud(e, d);
1554
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return pd(e, d);
1437
1555
  }
1438
1556
  }
1439
- function ud(e, d) {
1557
+ function pd(e, d) {
1440
1558
  (d == null || d > e.length) && (d = e.length);
1441
1559
  for (var t = 0, r = new Array(d); t < d; t++)
1442
1560
  r[t] = e[t];
1443
1561
  return r;
1444
1562
  }
1445
- var w0 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
1446
- function De(e, d, t) {
1563
+ var Lr = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
1564
+ function He(e, d, t) {
1447
1565
  if (d = d || {}, !(!e.country && !e.countryCallingCode)) {
1448
- t = new T(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
1566
+ t = new D(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
1449
1567
  var r = d.v2 ? e.nationalNumber : e.phone;
1450
- if (Z(r, t.nationalNumberPattern())) {
1451
- if (Pe(r, "FIXED_LINE", t))
1452
- return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || Pe(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
1453
- for (var n = O0(w0), $; !($ = n()).done; ) {
1568
+ if (Q(r, t.nationalNumberPattern())) {
1569
+ if (Ie(r, "FIXED_LINE", t))
1570
+ return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || Ie(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
1571
+ for (var n = Rr(Lr), $; !($ = n()).done; ) {
1454
1572
  var o = $.value;
1455
- if (Pe(r, o, t))
1573
+ if (Ie(r, o, t))
1456
1574
  return o;
1457
1575
  }
1458
1576
  }
1459
1577
  }
1460
1578
  }
1461
- function Pe(e, d, t) {
1462
- return d = t.type(d), !d || !d.pattern() || d.possibleLengths() && d.possibleLengths().indexOf(e.length) < 0 ? !1 : Z(e, d.pattern());
1579
+ function Ie(e, d, t) {
1580
+ return d = t.type(d), !d || !d.pattern() || d.possibleLengths() && d.possibleLengths().indexOf(e.length) < 0 ? !1 : Q(e, d.pattern());
1463
1581
  }
1464
- function A0(e, d, t) {
1465
- if (d = d || {}, t = new T(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
1466
- return De(e, d, t.metadata) !== void 0;
1582
+ function Dr(e, d, t) {
1583
+ if (d = d || {}, t = new D(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
1584
+ return He(e, d, t.metadata) !== void 0;
1467
1585
  var r = d.v2 ? e.nationalNumber : e.phone;
1468
- return Z(r, t.nationalNumberPattern());
1586
+ return Q(r, t.nationalNumberPattern());
1469
1587
  }
1470
- function T0(e, d, t) {
1471
- var r = new T(t), n = r.getCountryCodesForCallingCode(e);
1588
+ function kr(e, d, t) {
1589
+ var r = new D(t), n = r.getCountryCodesForCallingCode(e);
1472
1590
  return n ? n.filter(function($) {
1473
- return R0(d, $, t);
1591
+ return Vr(d, $, t);
1474
1592
  }) : [];
1475
1593
  }
1476
- function R0(e, d, t) {
1477
- var r = new T(t);
1594
+ function Vr(e, d, t) {
1595
+ var r = new D(t);
1478
1596
  return r.selectNumberingPlan(d), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
1479
1597
  }
1480
- function M0(e) {
1481
- return e.replace(new RegExp("[".concat(pe, "]+"), "g"), " ").trim();
1598
+ function Br(e) {
1599
+ return e.replace(new RegExp("[".concat(he, "]+"), "g"), " ").trim();
1482
1600
  }
1483
- var L0 = /(\$\d)/;
1484
- function D0(e, d, t) {
1601
+ var Ur = /(\$\d)/;
1602
+ function Gr(e, d, t) {
1485
1603
  var r = t.useInternationalFormat, n = t.withNationalPrefix, $ = e.replace(new RegExp(d.pattern()), r ? d.internationalFormat() : (
1486
1604
  // This library doesn't use `domestic_carrier_code_formatting_rule`,
1487
1605
  // because that one is only used when formatting phone numbers
@@ -1496,19 +1614,19 @@ function D0(e, d, t) {
1496
1614
  // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
1497
1615
  // : format.format()
1498
1616
  // )
1499
- n && d.nationalPrefixFormattingRule() ? d.format().replace(L0, d.nationalPrefixFormattingRule()) : d.format()
1617
+ n && d.nationalPrefixFormattingRule() ? d.format().replace(Ur, d.nationalPrefixFormattingRule()) : d.format()
1500
1618
  ));
1501
- return r ? M0($) : $;
1619
+ return r ? Br($) : $;
1502
1620
  }
1503
- var k0 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
1504
- function V0(e, d, t) {
1505
- var r = new T(t);
1621
+ var Hr = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
1622
+ function jr(e, d, t) {
1623
+ var r = new D(t);
1506
1624
  if (r.selectNumberingPlan(e, d), r.defaultIDDPrefix())
1507
1625
  return r.defaultIDDPrefix();
1508
- if (k0.test(r.IDDPrefix()))
1626
+ if (Hr.test(r.IDDPrefix()))
1509
1627
  return r.IDDPrefix();
1510
1628
  }
1511
- function U0(e) {
1629
+ function Kr(e) {
1512
1630
  var d = e.number, t = e.ext;
1513
1631
  if (!d)
1514
1632
  return "";
@@ -1516,10 +1634,10 @@ function U0(e) {
1516
1634
  throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
1517
1635
  return "tel:".concat(d).concat(t ? ";ext=" + t : "");
1518
1636
  }
1519
- function B0(e, d) {
1637
+ function Wr(e, d) {
1520
1638
  var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1521
1639
  if (t) return (t = t.call(e)).next.bind(t);
1522
- if (Array.isArray(e) || (t = G0(e)) || d) {
1640
+ if (Array.isArray(e) || (t = Yr(e)) || d) {
1523
1641
  t && (e = t);
1524
1642
  var r = 0;
1525
1643
  return function() {
@@ -1529,21 +1647,21 @@ function B0(e, d) {
1529
1647
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1530
1648
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1531
1649
  }
1532
- function G0(e, d) {
1650
+ function Yr(e, d) {
1533
1651
  if (e) {
1534
- if (typeof e == "string") return cd(e, d);
1652
+ if (typeof e == "string") return fd(e, d);
1535
1653
  var t = Object.prototype.toString.call(e).slice(8, -1);
1536
1654
  if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1537
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return cd(e, d);
1655
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return fd(e, d);
1538
1656
  }
1539
1657
  }
1540
- function cd(e, d) {
1658
+ function fd(e, d) {
1541
1659
  (d == null || d > e.length) && (d = e.length);
1542
1660
  for (var t = 0, r = new Array(d); t < d; t++)
1543
1661
  r[t] = e[t];
1544
1662
  return r;
1545
1663
  }
1546
- function fd(e, d) {
1664
+ function md(e, d) {
1547
1665
  var t = Object.keys(e);
1548
1666
  if (Object.getOwnPropertySymbols) {
1549
1667
  var r = Object.getOwnPropertySymbols(e);
@@ -1553,27 +1671,27 @@ function fd(e, d) {
1553
1671
  }
1554
1672
  return t;
1555
1673
  }
1556
- function pd(e) {
1674
+ function yd(e) {
1557
1675
  for (var d = 1; d < arguments.length; d++) {
1558
1676
  var t = arguments[d] != null ? arguments[d] : {};
1559
- d % 2 ? fd(Object(t), !0).forEach(function(r) {
1560
- H0(e, r, t[r]);
1561
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : fd(Object(t)).forEach(function(r) {
1677
+ d % 2 ? md(Object(t), !0).forEach(function(r) {
1678
+ Xr(e, r, t[r]);
1679
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : md(Object(t)).forEach(function(r) {
1562
1680
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
1563
1681
  });
1564
1682
  }
1565
1683
  return e;
1566
1684
  }
1567
- function H0(e, d, t) {
1685
+ function Xr(e, d, t) {
1568
1686
  return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
1569
1687
  }
1570
- var md = {
1688
+ var vd = {
1571
1689
  formatExtension: function(d, t, r) {
1572
1690
  return "".concat(d).concat(r.ext()).concat(t);
1573
1691
  }
1574
1692
  };
1575
- function j0(e, d, t, r) {
1576
- if (t ? t = pd(pd({}, md), t) : t = md, r = new T(r), e.country && e.country !== "001") {
1693
+ function Zr(e, d, t, r) {
1694
+ if (t ? t = yd(yd({}, vd), t) : t = vd, r = new D(r), e.country && e.country !== "001") {
1577
1695
  if (!r.hasCountry(e.country))
1578
1696
  throw new Error("Unknown country: ".concat(e.country));
1579
1697
  r.country(e.country);
@@ -1583,60 +1701,60 @@ function j0(e, d, t, r) {
1583
1701
  var n = r.countryCallingCode(), $ = t.v2 ? e.nationalNumber : e.phone, o;
1584
1702
  switch (d) {
1585
1703
  case "NATIONAL":
1586
- return $ ? (o = me($, e.carrierCode, "NATIONAL", r, t), Ce(o, e.ext, r, t.formatExtension)) : "";
1704
+ return $ ? (o = be($, e.carrierCode, "NATIONAL", r, t), Oe(o, e.ext, r, t.formatExtension)) : "";
1587
1705
  case "INTERNATIONAL":
1588
- return $ ? (o = me($, null, "INTERNATIONAL", r, t), o = "+".concat(n, " ").concat(o), Ce(o, e.ext, r, t.formatExtension)) : "+".concat(n);
1706
+ return $ ? (o = be($, null, "INTERNATIONAL", r, t), o = "+".concat(n, " ").concat(o), Oe(o, e.ext, r, t.formatExtension)) : "+".concat(n);
1589
1707
  case "E.164":
1590
1708
  return "+".concat(n).concat($);
1591
1709
  case "RFC3966":
1592
- return U0({
1710
+ return Kr({
1593
1711
  number: "+".concat(n).concat($),
1594
1712
  ext: e.ext
1595
1713
  });
1596
1714
  case "IDD":
1597
1715
  if (!t.fromCountry)
1598
1716
  return;
1599
- var i = W0($, e.carrierCode, n, t.fromCountry, r);
1600
- return Ce(i, e.ext, r, t.formatExtension);
1717
+ var l = zr($, e.carrierCode, n, t.fromCountry, r);
1718
+ return Oe(l, e.ext, r, t.formatExtension);
1601
1719
  default:
1602
1720
  throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(d, '"'));
1603
1721
  }
1604
1722
  }
1605
- function me(e, d, t, r, n) {
1606
- var $ = K0(r.formats(), e);
1607
- return $ ? D0(e, $, {
1723
+ function be(e, d, t, r, n) {
1724
+ var $ = qr(r.formats(), e);
1725
+ return $ ? Gr(e, $, {
1608
1726
  useInternationalFormat: t === "INTERNATIONAL",
1609
1727
  withNationalPrefix: !($.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && n && n.nationalPrefix === !1),
1610
1728
  carrierCode: d,
1611
1729
  metadata: r
1612
1730
  }) : e;
1613
1731
  }
1614
- function K0(e, d) {
1615
- for (var t = B0(e), r; !(r = t()).done; ) {
1732
+ function qr(e, d) {
1733
+ for (var t = Wr(e), r; !(r = t()).done; ) {
1616
1734
  var n = r.value;
1617
1735
  if (n.leadingDigitsPatterns().length > 0) {
1618
1736
  var $ = n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length - 1];
1619
1737
  if (d.search($) !== 0)
1620
1738
  continue;
1621
1739
  }
1622
- if (Z(d, n.pattern()))
1740
+ if (Q(d, n.pattern()))
1623
1741
  return n;
1624
1742
  }
1625
1743
  }
1626
- function Ce(e, d, t, r) {
1744
+ function Oe(e, d, t, r) {
1627
1745
  return d ? r(e, d, t) : e;
1628
1746
  }
1629
- function W0(e, d, t, r, n) {
1630
- var $ = Me(r, n.metadata);
1747
+ function zr(e, d, t, r, n) {
1748
+ var $ = Ue(r, n.metadata);
1631
1749
  if ($ === t) {
1632
- var o = me(e, d, "NATIONAL", n);
1750
+ var o = be(e, d, "NATIONAL", n);
1633
1751
  return t === "1" ? t + " " + o : o;
1634
1752
  }
1635
- var i = V0(r, void 0, n.metadata);
1636
- if (i)
1637
- return "".concat(i, " ").concat(t, " ").concat(me(e, null, "INTERNATIONAL", n));
1753
+ var l = jr(r, void 0, n.metadata);
1754
+ if (l)
1755
+ return "".concat(l, " ").concat(t, " ").concat(be(e, null, "INTERNATIONAL", n));
1638
1756
  }
1639
- function yd(e, d) {
1757
+ function gd(e, d) {
1640
1758
  var t = Object.keys(e);
1641
1759
  if (Object.getOwnPropertySymbols) {
1642
1760
  var r = Object.getOwnPropertySymbols(e);
@@ -1646,47 +1764,47 @@ function yd(e, d) {
1646
1764
  }
1647
1765
  return t;
1648
1766
  }
1649
- function vd(e) {
1767
+ function hd(e) {
1650
1768
  for (var d = 1; d < arguments.length; d++) {
1651
1769
  var t = arguments[d] != null ? arguments[d] : {};
1652
- d % 2 ? yd(Object(t), !0).forEach(function(r) {
1653
- Y0(e, r, t[r]);
1654
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : yd(Object(t)).forEach(function(r) {
1770
+ d % 2 ? gd(Object(t), !0).forEach(function(r) {
1771
+ Jr(e, r, t[r]);
1772
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : gd(Object(t)).forEach(function(r) {
1655
1773
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
1656
1774
  });
1657
1775
  }
1658
1776
  return e;
1659
1777
  }
1660
- function Y0(e, d, t) {
1778
+ function Jr(e, d, t) {
1661
1779
  return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
1662
1780
  }
1663
- function X0(e, d) {
1781
+ function Qr(e, d) {
1664
1782
  if (!(e instanceof d))
1665
1783
  throw new TypeError("Cannot call a class as a function");
1666
1784
  }
1667
- function Z0(e, d) {
1785
+ function e0(e, d) {
1668
1786
  for (var t = 0; t < d.length; t++) {
1669
1787
  var r = d[t];
1670
1788
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1671
1789
  }
1672
1790
  }
1673
- function z0(e, d, t) {
1674
- return d && Z0(e.prototype, d), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1791
+ function d0(e, d, t) {
1792
+ return d && e0(e.prototype, d), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1675
1793
  }
1676
- var q0 = /* @__PURE__ */ function() {
1794
+ var t0 = /* @__PURE__ */ function() {
1677
1795
  function e(d, t, r) {
1678
- if (X0(this, e), !d)
1796
+ if (Qr(this, e), !d)
1679
1797
  throw new TypeError("`country` or `countryCallingCode` not passed");
1680
1798
  if (!t)
1681
1799
  throw new TypeError("`nationalNumber` not passed");
1682
1800
  if (!r)
1683
1801
  throw new TypeError("`metadata` not passed");
1684
- var n = Q0(d, r), $ = n.country, o = n.countryCallingCode;
1802
+ var n = n0(d, r), $ = n.country, o = n.countryCallingCode;
1685
1803
  this.country = $, this.countryCallingCode = o, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
1686
1804
  return r;
1687
1805
  };
1688
1806
  }
1689
- return z0(e, [{
1807
+ return d0(e, [{
1690
1808
  key: "setExt",
1691
1809
  value: function(t) {
1692
1810
  this.ext = t;
@@ -1694,26 +1812,26 @@ var q0 = /* @__PURE__ */ function() {
1694
1812
  }, {
1695
1813
  key: "getPossibleCountries",
1696
1814
  value: function() {
1697
- return this.country ? [this.country] : T0(this.countryCallingCode, this.nationalNumber, this.getMetadata());
1815
+ return this.country ? [this.country] : kr(this.countryCallingCode, this.nationalNumber, this.getMetadata());
1698
1816
  }
1699
1817
  }, {
1700
1818
  key: "isPossible",
1701
1819
  value: function() {
1702
- return I0(this, {
1820
+ return Tr(this, {
1703
1821
  v2: !0
1704
1822
  }, this.getMetadata());
1705
1823
  }
1706
1824
  }, {
1707
1825
  key: "isValid",
1708
1826
  value: function() {
1709
- return A0(this, {
1827
+ return Dr(this, {
1710
1828
  v2: !0
1711
1829
  }, this.getMetadata());
1712
1830
  }
1713
1831
  }, {
1714
1832
  key: "isNonGeographic",
1715
1833
  value: function() {
1716
- var t = new T(this.getMetadata());
1834
+ var t = new D(this.getMetadata());
1717
1835
  return t.isNonGeographicCallingCode(this.countryCallingCode);
1718
1836
  }
1719
1837
  }, {
@@ -1738,14 +1856,14 @@ var q0 = /* @__PURE__ */ function() {
1738
1856
  }, {
1739
1857
  key: "getType",
1740
1858
  value: function() {
1741
- return De(this, {
1859
+ return He(this, {
1742
1860
  v2: !0
1743
1861
  }, this.getMetadata());
1744
1862
  }
1745
1863
  }, {
1746
1864
  key: "format",
1747
1865
  value: function(t, r) {
1748
- return j0(this, t, r ? vd(vd({}, r), {}, {
1866
+ return Zr(this, t, r ? hd(hd({}, r), {}, {
1749
1867
  v2: !0
1750
1868
  }) : {
1751
1869
  v2: !0
@@ -1767,50 +1885,50 @@ var q0 = /* @__PURE__ */ function() {
1767
1885
  return this.format("RFC3966", t);
1768
1886
  }
1769
1887
  }]), e;
1770
- }(), J0 = function(d) {
1888
+ }(), r0 = function(d) {
1771
1889
  return /^[A-Z]{2}$/.test(d);
1772
1890
  };
1773
- function Q0(e, d) {
1774
- var t, r, n = new T(d);
1775
- return J0(e) ? (t = e, n.selectNumberingPlan(t), r = n.countryCallingCode()) : r = e, {
1891
+ function n0(e, d) {
1892
+ var t, r, n = new D(d);
1893
+ return r0(e) ? (t = e, n.selectNumberingPlan(t), r = n.countryCallingCode()) : r = e, {
1776
1894
  country: t,
1777
1895
  countryCallingCode: r
1778
1896
  };
1779
1897
  }
1780
- var e1 = new RegExp("([" + B + "])");
1781
- function d1(e, d, t, r) {
1898
+ var o0 = new RegExp("([" + j + "])");
1899
+ function a0(e, d, t, r) {
1782
1900
  if (d) {
1783
- var n = new T(r);
1901
+ var n = new D(r);
1784
1902
  n.selectNumberingPlan(d, t);
1785
1903
  var $ = new RegExp(n.IDDPrefix());
1786
1904
  if (e.search($) === 0) {
1787
1905
  e = e.slice(e.match($)[0].length);
1788
- var o = e.match(e1);
1906
+ var o = e.match(o0);
1789
1907
  if (!(o && o[1] != null && o[1].length > 0 && o[1] === "0"))
1790
1908
  return e;
1791
1909
  }
1792
1910
  }
1793
1911
  }
1794
- function t1(e, d) {
1912
+ function i0(e, d) {
1795
1913
  if (e && d.numberingPlan.nationalPrefixForParsing()) {
1796
1914
  var t = new RegExp("^(?:" + d.numberingPlan.nationalPrefixForParsing() + ")"), r = t.exec(e);
1797
1915
  if (r) {
1798
- var n, $, o = r.length - 1, i = o > 0 && r[o];
1799
- if (d.nationalPrefixTransformRule() && i)
1916
+ var n, $, o = r.length - 1, l = o > 0 && r[o];
1917
+ if (d.nationalPrefixTransformRule() && l)
1800
1918
  n = e.replace(t, d.nationalPrefixTransformRule()), o > 1 && ($ = r[1]);
1801
1919
  else {
1802
- var l = r[0];
1803
- n = e.slice(l.length), i && ($ = r[1]);
1920
+ var s = r[0];
1921
+ n = e.slice(s.length), l && ($ = r[1]);
1804
1922
  }
1805
- var f;
1806
- if (i) {
1807
- var h = e.indexOf(r[1]), y = e.slice(0, h);
1808
- y === d.numberingPlan.nationalPrefix() && (f = d.numberingPlan.nationalPrefix());
1923
+ var u;
1924
+ if (l) {
1925
+ var v = e.indexOf(r[1]), m = e.slice(0, v);
1926
+ m === d.numberingPlan.nationalPrefix() && (u = d.numberingPlan.nationalPrefix());
1809
1927
  } else
1810
- f = r[0];
1928
+ u = r[0];
1811
1929
  return {
1812
1930
  nationalNumber: n,
1813
- nationalPrefix: f,
1931
+ nationalPrefix: u,
1814
1932
  carrierCode: $
1815
1933
  };
1816
1934
  }
@@ -1819,14 +1937,14 @@ function t1(e, d) {
1819
1937
  nationalNumber: e
1820
1938
  };
1821
1939
  }
1822
- function Ie(e, d) {
1823
- var t = t1(e, d), r = t.carrierCode, n = t.nationalNumber;
1940
+ function Re(e, d) {
1941
+ var t = i0(e, d), r = t.carrierCode, n = t.nationalNumber;
1824
1942
  if (n !== e) {
1825
- if (!r1(e, n, d))
1943
+ if (!$0(e, n, d))
1826
1944
  return {
1827
1945
  nationalNumber: e
1828
1946
  };
1829
- if (d.possibleLengths() && !n1(n, d))
1947
+ if (d.possibleLengths() && !l0(n, d))
1830
1948
  return {
1831
1949
  nationalNumber: e
1832
1950
  };
@@ -1836,11 +1954,11 @@ function Ie(e, d) {
1836
1954
  carrierCode: r
1837
1955
  };
1838
1956
  }
1839
- function r1(e, d, t) {
1840
- return !(Z(e, t.nationalNumberPattern()) && !Z(d, t.nationalNumberPattern()));
1957
+ function $0(e, d, t) {
1958
+ return !(Q(e, t.nationalNumberPattern()) && !Q(d, t.nationalNumberPattern()));
1841
1959
  }
1842
- function n1(e, d) {
1843
- switch (Le(e, d)) {
1960
+ function l0(e, d) {
1961
+ switch (Ge(e, d)) {
1844
1962
  case "TOO_SHORT":
1845
1963
  case "INVALID_LENGTH":
1846
1964
  return !1;
@@ -1848,12 +1966,12 @@ function n1(e, d) {
1848
1966
  return !0;
1849
1967
  }
1850
1968
  }
1851
- function o1(e, d, t, r) {
1852
- var n = d ? Me(d, r) : t;
1969
+ function s0(e, d, t, r) {
1970
+ var n = d ? Ue(d, r) : t;
1853
1971
  if (e.indexOf(n) === 0) {
1854
- r = new T(r), r.selectNumberingPlan(d, t);
1855
- var $ = e.slice(n.length), o = Ie($, r), i = o.nationalNumber, l = Ie(e, r), f = l.nationalNumber;
1856
- if (!Z(f, r.nationalNumberPattern()) && Z(i, r.nationalNumberPattern()) || Le(f, r) === "TOO_LONG")
1972
+ r = new D(r), r.selectNumberingPlan(d, t);
1973
+ var $ = e.slice(n.length), o = Re($, r), l = o.nationalNumber, s = Re(e, r), u = s.nationalNumber;
1974
+ if (!Q(u, r.nationalNumberPattern()) && Q(l, r.nationalNumberPattern()) || Ge(u, r) === "TOO_LONG")
1857
1975
  return {
1858
1976
  countryCallingCode: n,
1859
1977
  number: $
@@ -1863,22 +1981,22 @@ function o1(e, d, t, r) {
1863
1981
  number: e
1864
1982
  };
1865
1983
  }
1866
- function a1(e, d, t, r) {
1984
+ function u0(e, d, t, r) {
1867
1985
  if (!e)
1868
1986
  return {};
1869
1987
  var n;
1870
1988
  if (e[0] !== "+") {
1871
- var $ = d1(e, d, t, r);
1989
+ var $ = a0(e, d, t, r);
1872
1990
  if ($ && $ !== e)
1873
1991
  n = !0, e = "+" + $;
1874
1992
  else {
1875
1993
  if (d || t) {
1876
- var o = o1(e, d, t, r), i = o.countryCallingCode, l = o.number;
1877
- if (i)
1994
+ var o = s0(e, d, t, r), l = o.countryCallingCode, s = o.number;
1995
+ if (l)
1878
1996
  return {
1879
1997
  countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
1880
- countryCallingCode: i,
1881
- number: l
1998
+ countryCallingCode: l,
1999
+ number: s
1882
2000
  };
1883
2001
  }
1884
2002
  return {
@@ -1890,23 +2008,23 @@ function a1(e, d, t, r) {
1890
2008
  }
1891
2009
  if (e[1] === "0")
1892
2010
  return {};
1893
- r = new T(r);
1894
- for (var f = 2; f - 1 <= Zt && f <= e.length; ) {
1895
- var h = e.slice(1, f);
1896
- if (r.hasCallingCode(h))
1897
- return r.selectNumberingPlan(h), {
2011
+ r = new D(r);
2012
+ for (var u = 2; u - 1 <= er && u <= e.length; ) {
2013
+ var v = e.slice(1, u);
2014
+ if (r.hasCallingCode(v))
2015
+ return r.selectNumberingPlan(v), {
1898
2016
  countryCallingCodeSource: n ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
1899
- countryCallingCode: h,
1900
- number: e.slice(f)
2017
+ countryCallingCode: v,
2018
+ number: e.slice(u)
1901
2019
  };
1902
- f++;
2020
+ u++;
1903
2021
  }
1904
2022
  return {};
1905
2023
  }
1906
- function $1(e, d) {
2024
+ function c0(e, d) {
1907
2025
  var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1908
2026
  if (t) return (t = t.call(e)).next.bind(t);
1909
- if (Array.isArray(e) || (t = i1(e)) || d) {
2027
+ if (Array.isArray(e) || (t = p0(e)) || d) {
1910
2028
  t && (e = t);
1911
2029
  var r = 0;
1912
2030
  return function() {
@@ -1916,181 +2034,181 @@ function $1(e, d) {
1916
2034
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1917
2035
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1918
2036
  }
1919
- function i1(e, d) {
2037
+ function p0(e, d) {
1920
2038
  if (e) {
1921
- if (typeof e == "string") return gd(e, d);
2039
+ if (typeof e == "string") return bd(e, d);
1922
2040
  var t = Object.prototype.toString.call(e).slice(8, -1);
1923
2041
  if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1924
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return gd(e, d);
2042
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return bd(e, d);
1925
2043
  }
1926
2044
  }
1927
- function gd(e, d) {
2045
+ function bd(e, d) {
1928
2046
  (d == null || d > e.length) && (d = e.length);
1929
2047
  for (var t = 0, r = new Array(d); t < d; t++)
1930
2048
  r[t] = e[t];
1931
2049
  return r;
1932
2050
  }
1933
- function l1(e, d) {
2051
+ function f0(e, d) {
1934
2052
  var t = d.countries, r = d.metadata;
1935
- r = new T(r);
1936
- for (var n = $1(t), $; !($ = n()).done; ) {
2053
+ r = new D(r);
2054
+ for (var n = c0(t), $; !($ = n()).done; ) {
1937
2055
  var o = $.value;
1938
2056
  if (r.country(o), r.leadingDigits()) {
1939
2057
  if (e && e.search(r.leadingDigits()) === 0)
1940
2058
  return o;
1941
- } else if (De({
2059
+ } else if (He({
1942
2060
  phone: e,
1943
2061
  country: o
1944
2062
  }, void 0, r.metadata))
1945
2063
  return o;
1946
2064
  }
1947
2065
  }
1948
- function s1(e, d) {
2066
+ function m0(e, d) {
1949
2067
  var t = d.nationalNumber, r = d.defaultCountry, n = d.metadata, $ = n.getCountryCodesForCallingCode(e);
1950
2068
  if ($)
1951
- return $.length === 1 ? $[0] : l1(t, {
2069
+ return $.length === 1 ? $[0] : f0(t, {
1952
2070
  countries: $,
1953
2071
  defaultCountry: r,
1954
2072
  metadata: n.metadata
1955
2073
  });
1956
2074
  }
1957
- var Vd = "+", u1 = "[\\-\\.\\(\\)]?", hd = "([" + B + "]|" + u1 + ")", c1 = "^\\" + Vd + hd + "*[" + B + "]" + hd + "*$", f1 = new RegExp(c1, "g"), Oe = B, p1 = "[" + Oe + "]+((\\-)*[" + Oe + "])*", m1 = "a-zA-Z", y1 = "[" + m1 + "]+((\\-)*[" + Oe + "])*", v1 = "^(" + p1 + "\\.)*" + y1 + "\\.?$", g1 = new RegExp(v1, "g"), bd = "tel:", Fe = ";phone-context=", h1 = ";isub=";
1958
- function b1(e) {
1959
- var d = e.indexOf(Fe);
2075
+ var Ud = "+", y0 = "[\\-\\.\\(\\)]?", _d = "([" + j + "]|" + y0 + ")", v0 = "^\\" + Ud + _d + "*[" + j + "]" + _d + "*$", g0 = new RegExp(v0, "g"), Me = j, h0 = "[" + Me + "]+((\\-)*[" + Me + "])*", b0 = "a-zA-Z", _0 = "[" + b0 + "]+((\\-)*[" + Me + "])*", P0 = "^(" + h0 + "\\.)*" + _0 + "\\.?$", C0 = new RegExp(P0, "g"), Pd = "tel:", Le = ";phone-context=", N0 = ";isub=";
2076
+ function S0(e) {
2077
+ var d = e.indexOf(Le);
1960
2078
  if (d < 0)
1961
2079
  return null;
1962
- var t = d + Fe.length;
2080
+ var t = d + Le.length;
1963
2081
  if (t >= e.length)
1964
2082
  return "";
1965
2083
  var r = e.indexOf(";", t);
1966
2084
  return r >= 0 ? e.substring(t, r) : e.substring(t);
1967
2085
  }
1968
- function _1(e) {
1969
- return e === null ? !0 : e.length === 0 ? !1 : f1.test(e) || g1.test(e);
2086
+ function x0(e) {
2087
+ return e === null ? !0 : e.length === 0 ? !1 : g0.test(e) || C0.test(e);
1970
2088
  }
1971
- function P1(e, d) {
1972
- var t = d.extractFormattedPhoneNumber, r = b1(e);
1973
- if (!_1(r))
1974
- throw new W("NOT_A_NUMBER");
2089
+ function E0(e, d) {
2090
+ var t = d.extractFormattedPhoneNumber, r = S0(e);
2091
+ if (!x0(r))
2092
+ throw new z("NOT_A_NUMBER");
1975
2093
  var n;
1976
2094
  if (r === null)
1977
2095
  n = t(e) || "";
1978
2096
  else {
1979
- n = "", r.charAt(0) === Vd && (n += r);
1980
- var $ = e.indexOf(bd), o;
1981
- $ >= 0 ? o = $ + bd.length : o = 0;
1982
- var i = e.indexOf(Fe);
1983
- n += e.substring(o, i);
1984
- }
1985
- var l = n.indexOf(h1);
1986
- if (l > 0 && (n = n.substring(0, l)), n !== "")
2097
+ n = "", r.charAt(0) === Ud && (n += r);
2098
+ var $ = e.indexOf(Pd), o;
2099
+ $ >= 0 ? o = $ + Pd.length : o = 0;
2100
+ var l = e.indexOf(Le);
2101
+ n += e.substring(o, l);
2102
+ }
2103
+ var s = n.indexOf(N0);
2104
+ if (s > 0 && (n = n.substring(0, s)), n !== "")
1987
2105
  return n;
1988
2106
  }
1989
- var C1 = 250, N1 = new RegExp("[" + Re + B + "]"), S1 = new RegExp("[^" + B + "#]+$");
1990
- function E1(e, d, t) {
1991
- if (d = d || {}, t = new T(t), d.defaultCountry && !t.hasCountry(d.defaultCountry))
1992
- throw d.v2 ? new W("INVALID_COUNTRY") : new Error("Unknown country: ".concat(d.defaultCountry));
1993
- var r = I1(e, d.v2, d.extract), n = r.number, $ = r.ext, o = r.error;
2107
+ var I0 = 250, O0 = new RegExp("[" + Be + j + "]"), F0 = new RegExp("[^" + j + "#]+$");
2108
+ function w0(e, d, t) {
2109
+ if (d = d || {}, t = new D(t), d.defaultCountry && !t.hasCountry(d.defaultCountry))
2110
+ throw d.v2 ? new z("INVALID_COUNTRY") : new Error("Unknown country: ".concat(d.defaultCountry));
2111
+ var r = T0(e, d.v2, d.extract), n = r.number, $ = r.ext, o = r.error;
1994
2112
  if (!n) {
1995
2113
  if (d.v2)
1996
- throw o === "TOO_SHORT" ? new W("TOO_SHORT") : new W("NOT_A_NUMBER");
2114
+ throw o === "TOO_SHORT" ? new z("TOO_SHORT") : new z("NOT_A_NUMBER");
1997
2115
  return {};
1998
2116
  }
1999
- var i = F1(n, d.defaultCountry, d.defaultCallingCode, t), l = i.country, f = i.nationalNumber, h = i.countryCallingCode, y = i.countryCallingCodeSource, u = i.carrierCode;
2117
+ var l = M0(n, d.defaultCountry, d.defaultCallingCode, t), s = l.country, u = l.nationalNumber, v = l.countryCallingCode, m = l.countryCallingCodeSource, c = l.carrierCode;
2000
2118
  if (!t.hasSelectedNumberingPlan()) {
2001
2119
  if (d.v2)
2002
- throw new W("INVALID_COUNTRY");
2120
+ throw new z("INVALID_COUNTRY");
2003
2121
  return {};
2004
2122
  }
2005
- if (!f || f.length < Te) {
2123
+ if (!u || u.length < Ve) {
2006
2124
  if (d.v2)
2007
- throw new W("TOO_SHORT");
2125
+ throw new z("TOO_SHORT");
2008
2126
  return {};
2009
2127
  }
2010
- if (f.length > Xt) {
2128
+ if (u.length > Qt) {
2011
2129
  if (d.v2)
2012
- throw new W("TOO_LONG");
2130
+ throw new z("TOO_LONG");
2013
2131
  return {};
2014
2132
  }
2015
2133
  if (d.v2) {
2016
- var v = new q0(h, f, t.metadata);
2017
- return l && (v.country = l), u && (v.carrierCode = u), $ && (v.ext = $), v.__countryCallingCodeSource = y, v;
2134
+ var y = new t0(v, u, t.metadata);
2135
+ return s && (y.country = s), c && (y.carrierCode = c), $ && (y.ext = $), y.__countryCallingCodeSource = m, y;
2018
2136
  }
2019
- var p = (d.extended ? t.hasSelectedNumberingPlan() : l) ? Z(f, t.nationalNumberPattern()) : !1;
2137
+ var g = (d.extended ? t.hasSelectedNumberingPlan() : s) ? Q(u, t.nationalNumberPattern()) : !1;
2020
2138
  return d.extended ? {
2021
- country: l,
2022
- countryCallingCode: h,
2023
- carrierCode: u,
2024
- valid: p,
2025
- possible: p ? !0 : !!(d.extended === !0 && t.possibleLengths() && kd(f, t)),
2026
- phone: f,
2139
+ country: s,
2140
+ countryCallingCode: v,
2141
+ carrierCode: c,
2142
+ valid: g,
2143
+ possible: g ? !0 : !!(d.extended === !0 && t.possibleLengths() && Bd(u, t)),
2144
+ phone: u,
2027
2145
  ext: $
2028
- } : p ? O1(l, f, $) : {};
2146
+ } : g ? R0(s, u, $) : {};
2029
2147
  }
2030
- function x1(e, d, t) {
2148
+ function A0(e, d, t) {
2031
2149
  if (e) {
2032
- if (e.length > C1) {
2150
+ if (e.length > I0) {
2033
2151
  if (t)
2034
- throw new W("TOO_LONG");
2152
+ throw new z("TOO_LONG");
2035
2153
  return;
2036
2154
  }
2037
2155
  if (d === !1)
2038
2156
  return e;
2039
- var r = e.search(N1);
2157
+ var r = e.search(O0);
2040
2158
  if (!(r < 0))
2041
- return e.slice(r).replace(S1, "");
2159
+ return e.slice(r).replace(F0, "");
2042
2160
  }
2043
2161
  }
2044
- function I1(e, d, t) {
2045
- var r = P1(e, {
2162
+ function T0(e, d, t) {
2163
+ var r = E0(e, {
2046
2164
  extractFormattedPhoneNumber: function(o) {
2047
- return x1(o, t, d);
2165
+ return A0(o, t, d);
2048
2166
  }
2049
2167
  });
2050
2168
  if (!r)
2051
2169
  return {};
2052
- if (!h0(r))
2053
- return b0(r) ? {
2170
+ if (!Nr(r))
2171
+ return Sr(r) ? {
2054
2172
  error: "TOO_SHORT"
2055
2173
  } : {};
2056
- var n = _0(r);
2174
+ var n = xr(r);
2057
2175
  return n.ext ? n : {
2058
2176
  number: r
2059
2177
  };
2060
2178
  }
2061
- function O1(e, d, t) {
2179
+ function R0(e, d, t) {
2062
2180
  var r = {
2063
2181
  country: e,
2064
2182
  phone: d
2065
2183
  };
2066
2184
  return t && (r.ext = t), r;
2067
2185
  }
2068
- function F1(e, d, t, r) {
2069
- var n = a1(sd(e), d, t, r.metadata), $ = n.countryCallingCodeSource, o = n.countryCallingCode, i = n.number, l;
2186
+ function M0(e, d, t, r) {
2187
+ var n = u0(cd(e), d, t, r.metadata), $ = n.countryCallingCodeSource, o = n.countryCallingCode, l = n.number, s;
2070
2188
  if (o)
2071
2189
  r.selectNumberingPlan(o);
2072
- else if (i && (d || t))
2073
- r.selectNumberingPlan(d, t), d && (l = d), o = t || Me(d, r.metadata);
2190
+ else if (l && (d || t))
2191
+ r.selectNumberingPlan(d, t), d && (s = d), o = t || Ue(d, r.metadata);
2074
2192
  else return {};
2075
- if (!i)
2193
+ if (!l)
2076
2194
  return {
2077
2195
  countryCallingCodeSource: $,
2078
2196
  countryCallingCode: o
2079
2197
  };
2080
- var f = Ie(sd(i), r), h = f.nationalNumber, y = f.carrierCode, u = s1(o, {
2081
- nationalNumber: h,
2198
+ var u = Re(cd(l), r), v = u.nationalNumber, m = u.carrierCode, c = m0(o, {
2199
+ nationalNumber: v,
2082
2200
  defaultCountry: d,
2083
2201
  metadata: r
2084
2202
  });
2085
- return u && (l = u, u === "001" || r.country(l)), {
2086
- country: l,
2203
+ return c && (s = c, c === "001" || r.country(s)), {
2204
+ country: s,
2087
2205
  countryCallingCode: o,
2088
2206
  countryCallingCodeSource: $,
2089
- nationalNumber: h,
2090
- carrierCode: y
2207
+ nationalNumber: v,
2208
+ carrierCode: m
2091
2209
  };
2092
2210
  }
2093
- function _d(e, d) {
2211
+ function Cd(e, d) {
2094
2212
  var t = Object.keys(e);
2095
2213
  if (Object.getOwnPropertySymbols) {
2096
2214
  var r = Object.getOwnPropertySymbols(e);
@@ -2100,26 +2218,26 @@ function _d(e, d) {
2100
2218
  }
2101
2219
  return t;
2102
2220
  }
2103
- function Pd(e) {
2221
+ function Nd(e) {
2104
2222
  for (var d = 1; d < arguments.length; d++) {
2105
2223
  var t = arguments[d] != null ? arguments[d] : {};
2106
- d % 2 ? _d(Object(t), !0).forEach(function(r) {
2107
- w1(e, r, t[r]);
2108
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : _d(Object(t)).forEach(function(r) {
2224
+ d % 2 ? Cd(Object(t), !0).forEach(function(r) {
2225
+ L0(e, r, t[r]);
2226
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Cd(Object(t)).forEach(function(r) {
2109
2227
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2110
2228
  });
2111
2229
  }
2112
2230
  return e;
2113
2231
  }
2114
- function w1(e, d, t) {
2232
+ function L0(e, d, t) {
2115
2233
  return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
2116
2234
  }
2117
- function A1(e, d, t) {
2118
- return E1(e, Pd(Pd({}, d), {}, {
2235
+ function D0(e, d, t) {
2236
+ return w0(e, Nd(Nd({}, d), {}, {
2119
2237
  v2: !0
2120
2238
  }), t);
2121
2239
  }
2122
- function Cd(e, d) {
2240
+ function Sd(e, d) {
2123
2241
  var t = Object.keys(e);
2124
2242
  if (Object.getOwnPropertySymbols) {
2125
2243
  var r = Object.getOwnPropertySymbols(e);
@@ -2129,82 +2247,82 @@ function Cd(e, d) {
2129
2247
  }
2130
2248
  return t;
2131
2249
  }
2132
- function T1(e) {
2250
+ function k0(e) {
2133
2251
  for (var d = 1; d < arguments.length; d++) {
2134
2252
  var t = arguments[d] != null ? arguments[d] : {};
2135
- d % 2 ? Cd(Object(t), !0).forEach(function(r) {
2136
- R1(e, r, t[r]);
2137
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Cd(Object(t)).forEach(function(r) {
2253
+ d % 2 ? Sd(Object(t), !0).forEach(function(r) {
2254
+ V0(e, r, t[r]);
2255
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Sd(Object(t)).forEach(function(r) {
2138
2256
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2139
2257
  });
2140
2258
  }
2141
2259
  return e;
2142
2260
  }
2143
- function R1(e, d, t) {
2261
+ function V0(e, d, t) {
2144
2262
  return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
2145
2263
  }
2146
- function M1(e, d) {
2147
- return V1(e) || k1(e, d) || D1(e, d) || L1();
2264
+ function B0(e, d) {
2265
+ return j0(e) || H0(e, d) || G0(e, d) || U0();
2148
2266
  }
2149
- function L1() {
2267
+ function U0() {
2150
2268
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2151
2269
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2152
2270
  }
2153
- function D1(e, d) {
2271
+ function G0(e, d) {
2154
2272
  if (e) {
2155
- if (typeof e == "string") return Nd(e, d);
2273
+ if (typeof e == "string") return xd(e, d);
2156
2274
  var t = Object.prototype.toString.call(e).slice(8, -1);
2157
2275
  if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
2158
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Nd(e, d);
2276
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return xd(e, d);
2159
2277
  }
2160
2278
  }
2161
- function Nd(e, d) {
2279
+ function xd(e, d) {
2162
2280
  (d == null || d > e.length) && (d = e.length);
2163
2281
  for (var t = 0, r = new Array(d); t < d; t++)
2164
2282
  r[t] = e[t];
2165
2283
  return r;
2166
2284
  }
2167
- function k1(e, d) {
2285
+ function H0(e, d) {
2168
2286
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2169
2287
  if (t != null) {
2170
- var r = [], n = !0, $ = !1, o, i;
2288
+ var r = [], n = !0, $ = !1, o, l;
2171
2289
  try {
2172
2290
  for (t = t.call(e); !(n = (o = t.next()).done) && (r.push(o.value), !(d && r.length === d)); n = !0)
2173
2291
  ;
2174
- } catch (l) {
2175
- $ = !0, i = l;
2292
+ } catch (s) {
2293
+ $ = !0, l = s;
2176
2294
  } finally {
2177
2295
  try {
2178
2296
  !n && t.return != null && t.return();
2179
2297
  } finally {
2180
- if ($) throw i;
2298
+ if ($) throw l;
2181
2299
  }
2182
2300
  }
2183
2301
  return r;
2184
2302
  }
2185
2303
  }
2186
- function V1(e) {
2304
+ function j0(e) {
2187
2305
  if (Array.isArray(e)) return e;
2188
2306
  }
2189
- function U1(e) {
2190
- var d = Array.prototype.slice.call(e), t = M1(d, 4), r = t[0], n = t[1], $ = t[2], o = t[3], i, l, f;
2307
+ function K0(e) {
2308
+ var d = Array.prototype.slice.call(e), t = B0(d, 4), r = t[0], n = t[1], $ = t[2], o = t[3], l, s, u;
2191
2309
  if (typeof r == "string")
2192
- i = r;
2310
+ l = r;
2193
2311
  else throw new TypeError("A text for parsing must be a string.");
2194
2312
  if (!n || typeof n == "string")
2195
- o ? (l = $, f = o) : (l = void 0, f = $), n && (l = T1({
2313
+ o ? (s = $, u = o) : (s = void 0, u = $), n && (s = k0({
2196
2314
  defaultCountry: n
2197
- }, l));
2198
- else if (fe(n))
2199
- $ ? (l = n, f = $) : f = n;
2315
+ }, s));
2316
+ else if (ge(n))
2317
+ $ ? (s = n, u = $) : u = n;
2200
2318
  else throw new Error("Invalid second argument: ".concat(n));
2201
2319
  return {
2202
- text: i,
2203
- options: l,
2204
- metadata: f
2320
+ text: l,
2321
+ options: s,
2322
+ metadata: u
2205
2323
  };
2206
2324
  }
2207
- function Sd(e, d) {
2325
+ function Ed(e, d) {
2208
2326
  var t = Object.keys(e);
2209
2327
  if (Object.getOwnPropertySymbols) {
2210
2328
  var r = Object.getOwnPropertySymbols(e);
@@ -2214,38 +2332,38 @@ function Sd(e, d) {
2214
2332
  }
2215
2333
  return t;
2216
2334
  }
2217
- function Ed(e) {
2335
+ function Id(e) {
2218
2336
  for (var d = 1; d < arguments.length; d++) {
2219
2337
  var t = arguments[d] != null ? arguments[d] : {};
2220
- d % 2 ? Sd(Object(t), !0).forEach(function(r) {
2221
- B1(e, r, t[r]);
2222
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Sd(Object(t)).forEach(function(r) {
2338
+ d % 2 ? Ed(Object(t), !0).forEach(function(r) {
2339
+ W0(e, r, t[r]);
2340
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Ed(Object(t)).forEach(function(r) {
2223
2341
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2224
2342
  });
2225
2343
  }
2226
2344
  return e;
2227
2345
  }
2228
- function B1(e, d, t) {
2346
+ function W0(e, d, t) {
2229
2347
  return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
2230
2348
  }
2231
- function G1(e, d, t) {
2232
- d && d.defaultCountry && !c0(d.defaultCountry, t) && (d = Ed(Ed({}, d), {}, {
2349
+ function Y0(e, d, t) {
2350
+ d && d.defaultCountry && !vr(d.defaultCountry, t) && (d = Id(Id({}, d), {}, {
2233
2351
  defaultCountry: void 0
2234
2352
  }));
2235
2353
  try {
2236
- return A1(e, d, t);
2354
+ return D0(e, d, t);
2237
2355
  } catch (r) {
2238
- if (!(r instanceof W)) throw r;
2356
+ if (!(r instanceof z)) throw r;
2239
2357
  }
2240
2358
  }
2241
- function H1() {
2242
- var e = U1(arguments), d = e.text, t = e.options, r = e.metadata;
2243
- return G1(d, t, r);
2359
+ function X0() {
2360
+ var e = K0(arguments), d = e.text, t = e.options, r = e.metadata;
2361
+ return Y0(d, t, r);
2244
2362
  }
2245
- function j1() {
2246
- return Bt(H1, arguments);
2363
+ function Z0() {
2364
+ return Wt(X0, arguments);
2247
2365
  }
2248
- function K1(e) {
2366
+ function q0(e) {
2249
2367
  return {
2250
2368
  id: e._id,
2251
2369
  name: e.name,
@@ -2261,7 +2379,7 @@ function K1(e) {
2261
2379
  picEmail: e.email ?? ""
2262
2380
  };
2263
2381
  }
2264
- function Ud() {
2382
+ function Gd() {
2265
2383
  return [
2266
2384
  {
2267
2385
  id: "id",
@@ -2313,7 +2431,7 @@ function Ud() {
2313
2431
  }
2314
2432
  ];
2315
2433
  }
2316
- function W1() {
2434
+ function z0() {
2317
2435
  return [
2318
2436
  {
2319
2437
  id: "name",
@@ -2353,28 +2471,28 @@ function W1() {
2353
2471
  }
2354
2472
  ];
2355
2473
  }
2356
- function Y1() {
2357
- const e = ye(), d = oe(), t = ve(), n = (e.businessLevel || t.businessSupplierOnly ? d.businessSuppliers : d.locationSuppliers).map(K1), o = ge().currentBusiness.value, i = Ud(), l = [
2474
+ function J0() {
2475
+ const e = _e(), d = ue(), t = Pe(), n = (e.businessLevel || t.businessSupplierOnly ? d.businessSuppliers : d.locationSuppliers).map(q0), o = Ce().currentBusiness.value, l = Gd(), s = [
2358
2476
  ["Business name:", o == null ? void 0 : o.name],
2359
2477
  ["Business ID:", o == null ? void 0 : o._id],
2360
2478
  ["Menu version", o == null ? void 0 : o.menuVersion],
2361
2479
  [],
2362
- i.map((u) => u.name),
2363
- ...n.map((u) => i.map((v) => u[v.id]))
2364
- ], f = i.map((u) => `system:${u.id}`), h = Ad(l, f), y = `${o == null ? void 0 : o.name} suppliers (${zd(/* @__PURE__ */ new Date())}).xlsx`;
2365
- return Td(h, y), y;
2480
+ l.map((c) => c.name),
2481
+ ...n.map((c) => l.map((y) => c[y.id]))
2482
+ ], u = l.map((c) => `system:${c.id}`), v = Rd(s, u), m = `${o == null ? void 0 : o.name} suppliers (${zd(/* @__PURE__ */ new Date())}).xlsx`;
2483
+ return Md(v, m), m;
2366
2484
  }
2367
- function X1() {
2368
- const d = ge().currentBusiness.value, t = Ud(), r = [
2485
+ function Q0() {
2486
+ const d = Ce().currentBusiness.value, t = Gd(), r = [
2369
2487
  ["Business name:", d == null ? void 0 : d.name],
2370
2488
  ["Business ID:", d == null ? void 0 : d._id],
2371
2489
  ["Menu version", d == null ? void 0 : d.menuVersion],
2372
2490
  [],
2373
- t.map((i) => i.name)
2374
- ], n = t.map((i) => `system:${i.id}`), $ = Ad(r, n), o = "FeedMe supplier template.xlsx";
2375
- return Td($, o), o;
2491
+ t.map((l) => l.name)
2492
+ ], n = t.map((l) => `system:${l.id}`), $ = Rd(r, n), o = "FeedMe supplier template.xlsx";
2493
+ return Md($, o), o;
2376
2494
  }
2377
- function Z1(e) {
2495
+ function e1(e) {
2378
2496
  const [
2379
2497
  d,
2380
2498
  t,
@@ -2382,11 +2500,11 @@ function Z1(e) {
2382
2500
  n,
2383
2501
  $,
2384
2502
  o,
2385
- ...i
2386
- ] = qd(e);
2387
- if (!d || !d.length || d.some((u) => u.length && !u.startsWith("system:")))
2503
+ ...l
2504
+ ] = Jd(e);
2505
+ if (!d || !d.length || d.some((c) => c.length && !c.startsWith("system:")))
2388
2506
  throw new Error("Missing meta header. Excel file does not come from the template.");
2389
- const l = d.map((u) => u.split(":")[1]), h = [
2507
+ const s = d.map((c) => c.split(":")[1]), v = [
2390
2508
  "id",
2391
2509
  "name",
2392
2510
  "regNo",
@@ -2397,27 +2515,27 @@ function Z1(e) {
2397
2515
  "addressCountry",
2398
2516
  "picName",
2399
2517
  "picPhoneNumber"
2400
- ].filter((u) => !l.includes(u));
2401
- if (h.length)
2518
+ ].filter((c) => !s.includes(c));
2519
+ if (v.length)
2402
2520
  throw new Error(
2403
- `Missing meta headers (${h.join()}). Excel file does not come from the template.`
2521
+ `Missing meta headers (${v.join()}). Excel file does not come from the template.`
2404
2522
  );
2405
- return i.map((u, v) => {
2406
- const p = {};
2407
- for (const C in l) {
2408
- const g = l[C];
2409
- Object.assign(p, { [g]: u[C] });
2523
+ return l.map((c, y) => {
2524
+ const g = {};
2525
+ for (const C in s) {
2526
+ const f = s[C];
2527
+ Object.assign(g, { [f]: c[C] });
2410
2528
  }
2411
2529
  return {
2412
- index: v,
2413
- data: p
2530
+ index: y,
2531
+ data: g
2414
2532
  };
2415
2533
  });
2416
2534
  }
2417
- function xd(e, d) {
2535
+ function Od(e, d) {
2418
2536
  var o;
2419
- const t = new Array(), n = W1().filter((i) => !`${e[i.id] || ""}`.trim().length);
2420
- return n.length && t.push(`Missing required values: ${n.map((i) => i.name).join(", ")}`), (o = j1(e.picPhoneNumber)) == null || o.isValid(), {
2537
+ const t = new Array(), n = z0().filter((l) => !`${e[l.id] || ""}`.trim().length);
2538
+ return n.length && t.push(`Missing required values: ${n.map((l) => l.name).join(", ")}`), (o = Z0(e.picPhoneNumber)) == null || o.isValid(), {
2421
2539
  type: "create",
2422
2540
  supplier: {
2423
2541
  _id: "",
@@ -2439,49 +2557,49 @@ function xd(e, d) {
2439
2557
  excelRowNumber: d + 6
2440
2558
  };
2441
2559
  }
2442
- function z1(e) {
2560
+ function d1(e) {
2443
2561
  try {
2444
- const d = Z1(e).filter((y) => y.data.name), t = ye(), r = oe(), n = ve(), $ = t.businessLevel || n.businessSupplierOnly ? r.businessSuppliers : r.locationSuppliers, o = wd($, "_id"), i = d.filter((y) => !y.data.id), l = d.filter((y) => y.data.id), f = i.map((y) => xd(y.data, y.index)), h = l.map((y) => {
2445
- const u = xd(y.data, y.index), v = o[y.data.id];
2446
- if (!v)
2562
+ const d = e1(e).filter((m) => m.data.name), t = _e(), r = ue(), n = Pe(), $ = t.businessLevel || n.businessSupplierOnly ? r.businessSuppliers : r.locationSuppliers, o = Td($, "_id"), l = d.filter((m) => !m.data.id), s = d.filter((m) => m.data.id), u = l.map((m) => Od(m.data, m.index)), v = s.map((m) => {
2563
+ const c = Od(m.data, m.index), y = o[m.data.id];
2564
+ if (!y)
2447
2565
  return {
2448
- ...u,
2566
+ ...c,
2449
2567
  type: "update",
2450
- original: u.supplier,
2451
- supplier: u.supplier,
2568
+ original: c.supplier,
2569
+ supplier: c.supplier,
2452
2570
  errors: [
2453
- ...u.errors,
2454
- `Cannot find supplier id ${y.data.id} in the system. Reexport supplier excel to obtain the correct value.`
2571
+ ...c.errors,
2572
+ `Cannot find supplier id ${m.data.id} in the system. Reexport supplier excel to obtain the correct value.`
2455
2573
  ]
2456
2574
  };
2457
- const p = d.filter(
2458
- (g) => g.index !== y.index && g.data.id === v._id
2575
+ const g = d.filter(
2576
+ (f) => f.index !== m.index && f.data.id === y._id
2459
2577
  );
2460
- return p.length > 1 && u.errors.push(
2461
- `ID ${v._id} is already used in row ${p.map((g) => g.index + 6).join()}.`
2578
+ return g.length > 1 && c.errors.push(
2579
+ `ID ${y._id} is already used in row ${g.map((f) => f.index + 6).join()}.`
2462
2580
  ), {
2463
- ...u,
2581
+ ...c,
2464
2582
  type: "update",
2465
- original: v,
2583
+ original: y,
2466
2584
  supplier: {
2467
- ...v,
2468
- name: u.supplier.name,
2585
+ ...y,
2586
+ name: c.supplier.name,
2469
2587
  address: {
2470
- line2: u.supplier.address.line2,
2471
- line1: u.supplier.address.line1,
2472
- state: u.supplier.address.state,
2473
- city: u.supplier.address.city,
2474
- postcode: u.supplier.address.postcode,
2475
- country: u.supplier.address.country
2588
+ line2: c.supplier.address.line2,
2589
+ line1: c.supplier.address.line1,
2590
+ state: c.supplier.address.state,
2591
+ city: c.supplier.address.city,
2592
+ postcode: c.supplier.address.postcode,
2593
+ country: c.supplier.address.country
2476
2594
  },
2477
- registrationNumber: u.supplier.registrationNumber
2595
+ registrationNumber: c.supplier.registrationNumber
2478
2596
  }
2479
2597
  };
2480
2598
  });
2481
2599
  return {
2482
2600
  invalidExcel: !1,
2483
- importCreateResult: f,
2484
- importUpdateResult: h
2601
+ importCreateResult: u,
2602
+ importUpdateResult: v
2485
2603
  };
2486
2604
  } catch (d) {
2487
2605
  return {
@@ -2492,10 +2610,10 @@ function z1(e) {
2492
2610
  };
2493
2611
  }
2494
2612
  }
2495
- const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-col" }, Q1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, er = {
2613
+ const t1 = { class: "flex items-center gap-12 pl-8" }, r1 = { class: "flex flex-col" }, n1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, o1 = {
2496
2614
  key: 0,
2497
2615
  class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400"
2498
- }, dr = { key: 0 }, Id = /* @__PURE__ */ de({
2616
+ }, a1 = { key: 0 }, Fd = /* @__PURE__ */ ae({
2499
2617
  __name: "SupplierImportItem",
2500
2618
  props: {
2501
2619
  type: {},
@@ -2504,29 +2622,29 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2504
2622
  errors: {}
2505
2623
  },
2506
2624
  setup(e) {
2507
- const { t: d } = z();
2625
+ const { t: d } = ee();
2508
2626
  return (t, r) => {
2509
- const n = A("FmIcon"), $ = A("FmTooltip");
2510
- return N(), I("div", q1, [
2511
- r[0] || (r[0] = b("div", null, "•", -1)),
2512
- b("div", J1, [
2513
- b("div", Q1, [
2514
- b("div", {
2515
- class: ee({
2627
+ const n = L("FmIcon"), $ = L("FmTooltip");
2628
+ return S(), w("div", t1, [
2629
+ r[0] || (r[0] = h("div", null, "•", -1)),
2630
+ h("div", r1, [
2631
+ h("div", n1, [
2632
+ h("div", {
2633
+ class: oe({
2516
2634
  "text-fm-color-system-error-300": t.errors.length
2517
2635
  })
2518
2636
  }, [
2519
- Hd(w(t.name) + " ", 1),
2520
- t.type === "create" ? (N(), I("span", er, "(" + w(c(d)("inventory.closing.template.import.new")) + ")", 1)) : X("", !0)
2637
+ wd(T(t.name) + " ", 1),
2638
+ t.type === "create" ? (S(), w("span", o1, "(" + T(p(d)("inventory.closing.template.import.new")) + ")", 1)) : W("", !0)
2521
2639
  ], 2),
2522
- t.errors.length ? (N(), I("div", dr, [
2640
+ t.errors.length ? (S(), w("div", a1, [
2523
2641
  P($, { "z-index": 50 }, {
2524
- content: L(() => [
2525
- b("ol", null, [
2526
- (N(!0), I(Q, null, te(t.errors, (o, i) => (N(), I("li", { key: i }, w(o), 1))), 128))
2642
+ content: U(() => [
2643
+ h("ol", null, [
2644
+ (S(!0), w(ne, null, $e(t.errors, (o, l) => (S(), w("li", { key: l }, T(o), 1))), 128))
2527
2645
  ])
2528
2646
  ]),
2529
- default: L(() => [
2647
+ default: U(() => [
2530
2648
  P(n, {
2531
2649
  name: "error",
2532
2650
  size: "sm",
@@ -2535,130 +2653,130 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2535
2653
  ]),
2536
2654
  _: 1
2537
2655
  })
2538
- ])) : X("", !0)
2656
+ ])) : W("", !0)
2539
2657
  ]),
2540
- b("div", {
2541
- class: ee([
2658
+ h("div", {
2659
+ class: oe([
2542
2660
  "fm-typo-en-body-sm-400",
2543
2661
  {
2544
2662
  "text-fm-color-system-error-200": t.errors.length,
2545
2663
  "text-fm-color-typo-secondary": !t.errors.length
2546
2664
  }
2547
2665
  ])
2548
- }, w(t.pic), 3)
2666
+ }, T(t.pic), 3)
2549
2667
  ])
2550
2668
  ]);
2551
2669
  };
2552
2670
  }
2553
- }), tr = { class: "flex flex-col gap-24" }, rr = { class: "fm-typo-en-body-md-400" }, nr = {
2671
+ }), i1 = { class: "flex flex-col gap-24" }, $1 = { class: "fm-typo-en-body-md-400" }, l1 = {
2554
2672
  key: 0,
2555
2673
  class: "flex items-center gap-8"
2556
- }, or = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ar = { class: "flex flex-col gap-8" }, $r = { class: "line-clamp-2 text-ellipsis break-all" }, ir = {
2674
+ }, s1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, u1 = { class: "flex flex-col gap-8" }, c1 = { class: "line-clamp-2 text-ellipsis break-all" }, p1 = {
2557
2675
  key: 2,
2558
2676
  class: "shrink-0"
2559
- }, lr = {
2677
+ }, f1 = {
2560
2678
  key: 0,
2561
2679
  class: "flex flex-col"
2562
- }, sr = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, ur = {
2680
+ }, m1 = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, y1 = {
2563
2681
  key: 0,
2564
2682
  class: "max-h-[200px] overflow-y-auto flex flex-col gap-8"
2565
- }, cr = { class: "fm-typo-en-body-lg-600" }, fr = /* @__PURE__ */ de({
2683
+ }, v1 = { class: "fm-typo-en-body-lg-600" }, g1 = /* @__PURE__ */ ae({
2566
2684
  __name: "SupplierImport",
2567
2685
  setup(e) {
2568
- const d = M(null), t = nt(), r = he(), n = M(!1), $ = M(!1), o = M(new Array()), i = M([]), l = M([]), f = x(
2569
- () => !!o.value.length || i.value.some((v) => v.errors.length) || l.value.some((v) => v.errors.length)
2570
- ), h = x(
2571
- () => !!i.value.length || !!l.value.length
2572
- ), { t: y } = z();
2573
- async function u(v) {
2574
- o.value = [], i.value = [], l.value = [];
2686
+ const d = k(null), t = ot(), r = Se(), n = k(!1), $ = k(!1), o = k(new Array()), l = k([]), s = k([]), u = E(
2687
+ () => !!o.value.length || l.value.some((y) => y.errors.length) || s.value.some((y) => y.errors.length)
2688
+ ), v = E(
2689
+ () => !!l.value.length || !!s.value.length
2690
+ ), { t: m } = ee();
2691
+ async function c(y) {
2692
+ o.value = [], l.value = [], s.value = [];
2575
2693
  try {
2576
2694
  n.value = !0;
2577
- const [p] = await Promise.all([
2578
- Qd(v),
2695
+ const [g] = await Promise.all([
2696
+ et(y),
2579
2697
  // fake buffer
2580
2698
  new Promise((O) => setTimeout(O, 1e3))
2581
- ]), C = p.SheetNames.find((O) => O);
2699
+ ]), C = g.SheetNames.find((O) => O);
2582
2700
  if (!C) {
2583
- o.value.push(y("inventory.ingredient.import.fileError.noSheet"));
2701
+ o.value.push(m("inventory.ingredient.import.fileError.noSheet"));
2584
2702
  return;
2585
2703
  }
2586
- const g = z1(p.Sheets[C]);
2587
- if (g.invalidExcel) {
2704
+ const f = d1(g.Sheets[C]);
2705
+ if (f.invalidExcel) {
2588
2706
  o.value.push(
2589
- g.invalidExcelMessage ?? y("inventory.ingredient.import.fileError.invalidExcel")
2707
+ f.invalidExcelMessage ?? m("inventory.ingredient.import.fileError.invalidExcel")
2590
2708
  );
2591
2709
  return;
2592
2710
  }
2593
- if (i.value = g.importCreateResult, l.value = g.importUpdateResult, !i.value.length && !l.value.length) {
2594
- o.value.push(y("inventory.ingredient.import.fileError.noData"));
2711
+ if (l.value = f.importCreateResult, s.value = f.importUpdateResult, !l.value.length && !s.value.length) {
2712
+ o.value.push(m("inventory.ingredient.import.fileError.noData"));
2595
2713
  return;
2596
2714
  }
2597
- t.emitData(g);
2598
- } catch (p) {
2715
+ t.emitData(f);
2716
+ } catch (g) {
2599
2717
  r.open({
2600
- title: y("inventory.ingredient.import.fileError.unableToRead"),
2601
- message: p == null ? void 0 : p.message,
2718
+ title: m("inventory.ingredient.import.fileError.unableToRead"),
2719
+ message: g == null ? void 0 : g.message,
2602
2720
  type: "error"
2603
- }), console.error("Error in reading file", p);
2721
+ }), console.error("Error in reading file", g);
2604
2722
  } finally {
2605
2723
  o.value.length && r.open({
2606
- title: y("inventory.ingredient.import.fileError.invalidExcel"),
2724
+ title: m("inventory.ingredient.import.fileError.invalidExcel"),
2607
2725
  type: "error"
2608
2726
  }), n.value = !1;
2609
2727
  }
2610
2728
  }
2611
- return Od(d, (v) => {
2612
- v && u(v);
2613
- }), (v, p) => {
2614
- const C = A("FmCircularProgress"), g = A("FmIcon"), O = A("FmButton");
2615
- return N(), I("div", tr, [
2616
- b("div", rr, w(c(y)("inventory.supplier.import.message")), 1),
2617
- $.value ? (N(), I("div", nr, [
2618
- b("div", null, [
2729
+ return Ad(d, (y) => {
2730
+ y && c(y);
2731
+ }), (y, g) => {
2732
+ const C = L("FmCircularProgress"), f = L("FmIcon"), O = L("FmButton");
2733
+ return S(), w("div", i1, [
2734
+ h("div", $1, T(p(m)("inventory.supplier.import.message")), 1),
2735
+ $.value ? (S(), w("div", l1, [
2736
+ h("div", null, [
2619
2737
  P(C, {
2620
2738
  size: "md",
2621
2739
  color: "neutral-gray-200"
2622
2740
  })
2623
2741
  ]),
2624
- b("div", or, w(c(y)("inventory.formField.loading")), 1)
2625
- ])) : (N(), I(Q, { key: 1 }, [
2626
- P(Jd, {
2627
- class: ee({
2742
+ h("div", s1, T(p(m)("inventory.formField.loading")), 1)
2743
+ ])) : (S(), w(ne, { key: 1 }, [
2744
+ P(Qd, {
2745
+ class: oe({
2628
2746
  "w-full": !0,
2629
2747
  "h-[200px]": !d.value
2630
2748
  }),
2631
2749
  accept: ".xlsx",
2632
- onFileUpload: p[0] || (p[0] = (E) => d.value = E),
2633
- label: c(y)("inventory.ingredient.import.uploadTemplate"),
2634
- "button-label": c(y)("inventory.ingredient.import.selectFile")
2750
+ onFileUpload: g[0] || (g[0] = (b) => d.value = b),
2751
+ label: p(m)("inventory.ingredient.import.uploadTemplate"),
2752
+ "button-label": p(m)("inventory.ingredient.import.selectFile")
2635
2753
  }, jd({ _: 2 }, [
2636
2754
  d.value ? {
2637
2755
  name: "default",
2638
- fn: L(({ openFileDialog: E }) => [
2639
- b("div", ar, [
2640
- b("div", {
2641
- class: ee([
2756
+ fn: U(({ openFileDialog: b }) => [
2757
+ h("div", u1, [
2758
+ h("div", {
2759
+ class: oe([
2642
2760
  "fm-corner-radius-md p-16 flex items-center gap-16",
2643
2761
  {
2644
2762
  "border border-fm-color-neutral-gray-100": n.value,
2645
- "border border-fm-color-neutral-gray-200": !n.value && !f.value,
2646
- "border border-fm-color-system-error-200": f.value
2763
+ "border border-fm-color-neutral-gray-200": !n.value && !u.value,
2764
+ "border border-fm-color-system-error-200": u.value
2647
2765
  }
2648
2766
  ])
2649
2767
  }, [
2650
- n.value ? (N(), Y(C, {
2768
+ n.value ? (S(), J(C, {
2651
2769
  key: 0,
2652
2770
  size: "md",
2653
2771
  color: "neutral-gray-200"
2654
- })) : (N(), Y(g, {
2772
+ })) : (S(), J(f, {
2655
2773
  key: 1,
2656
- name: f.value ? "error" : "attach_file",
2774
+ name: u.value ? "error" : "attach_file",
2657
2775
  outline: "",
2658
- color: f.value ? "system-error-300" : void 0
2776
+ color: u.value ? "system-error-300" : void 0
2659
2777
  }, null, 8, ["name", "color"])),
2660
- b("div", {
2661
- class: ee([
2778
+ h("div", {
2779
+ class: oe([
2662
2780
  "fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center",
2663
2781
  {
2664
2782
  "text-fm-color-typo-disabled": n.value,
@@ -2666,62 +2784,62 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2666
2784
  }
2667
2785
  ])
2668
2786
  }, [
2669
- b("div", $r, w(d.value.name), 1)
2787
+ h("div", c1, T(d.value.name), 1)
2670
2788
  ], 2),
2671
- n.value ? X("", !0) : (N(), I("div", ir, [
2789
+ n.value ? W("", !0) : (S(), w("div", p1, [
2672
2790
  P(O, {
2673
- label: c(y)("inventory.ingredient.import.replaceFile"),
2674
- variant: f.value ? "destructive" : "secondary",
2675
- "prepend-icon": f.value ? void 0 : "autorenew",
2676
- onClick: E
2791
+ label: p(m)("inventory.ingredient.import.replaceFile"),
2792
+ variant: u.value ? "destructive" : "secondary",
2793
+ "prepend-icon": u.value ? void 0 : "autorenew",
2794
+ onClick: b
2677
2795
  }, null, 8, ["label", "variant", "prepend-icon", "onClick"])
2678
2796
  ]))
2679
2797
  ], 2),
2680
- o.value.length ? (N(), I("div", lr, [
2681
- (N(!0), I(Q, null, te(o.value, (m, _) => (N(), I("div", {
2682
- key: _,
2798
+ o.value.length ? (S(), w("div", f1, [
2799
+ (S(!0), w(ne, null, $e(o.value, (F, A) => (S(), w("div", {
2800
+ key: A,
2683
2801
  class: "flex gap-8 items-center"
2684
2802
  }, [
2685
- P(g, {
2803
+ P(f, {
2686
2804
  name: "error",
2687
2805
  size: "sm",
2688
2806
  color: "system-error-300"
2689
2807
  }),
2690
- b("div", sr, w(m), 1)
2808
+ h("div", m1, T(F), 1)
2691
2809
  ]))), 128))
2692
- ])) : X("", !0)
2810
+ ])) : W("", !0)
2693
2811
  ])
2694
2812
  ]),
2695
2813
  key: "0"
2696
2814
  } : void 0
2697
2815
  ]), 1032, ["class", "label", "button-label"]),
2698
- h.value ? (N(), I("div", ur, [
2699
- b("div", cr, w(c(y)("inventory.ingredient.import.summary")), 1),
2700
- (N(!0), I(Q, null, te(i.value, (E, m) => (N(), Y(Id, {
2701
- key: m,
2702
- name: E.supplier.name,
2703
- pic: E.supplier.contactName ?? "",
2704
- errors: E.errors,
2816
+ v.value ? (S(), w("div", y1, [
2817
+ h("div", v1, T(p(m)("inventory.ingredient.import.summary")), 1),
2818
+ (S(!0), w(ne, null, $e(l.value, (b, F) => (S(), J(Fd, {
2819
+ key: F,
2820
+ name: b.supplier.name,
2821
+ pic: b.supplier.contactName ?? "",
2822
+ errors: b.errors,
2705
2823
  type: "create"
2706
2824
  }, null, 8, ["name", "pic", "errors"]))), 128)),
2707
- (N(!0), I(Q, null, te(l.value, (E) => (N(), Y(Id, {
2708
- key: E.supplier._id,
2709
- name: E.supplier.name,
2710
- pic: E.supplier.contactName ?? "",
2711
- errors: E.errors,
2825
+ (S(!0), w(ne, null, $e(s.value, (b) => (S(), J(Fd, {
2826
+ key: b.supplier._id,
2827
+ name: b.supplier.name,
2828
+ pic: b.supplier.contactName ?? "",
2829
+ errors: b.errors,
2712
2830
  type: "update"
2713
2831
  }, null, 8, ["name", "pic", "errors"]))), 128))
2714
- ])) : X("", !0)
2832
+ ])) : W("", !0)
2715
2833
  ], 64))
2716
2834
  ]);
2717
2835
  };
2718
2836
  }
2719
- }), pr = it("supplierActions", function() {
2720
- const e = oe(), d = Ae(), { t } = z(), r = he();
2837
+ }), h1 = st("supplierActions", function() {
2838
+ const e = ue(), d = Ne(), { t } = ee(), r = Se();
2721
2839
  function n() {
2722
2840
  d.open({
2723
2841
  title: t("inventory.supplier.import.title"),
2724
- contentComponent: fr,
2842
+ contentComponent: g1,
2725
2843
  overlay: !0,
2726
2844
  closeButton: !0,
2727
2845
  primaryActions: {
@@ -2737,15 +2855,15 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2737
2855
  close: !1,
2738
2856
  variant: "plain"
2739
2857
  }
2740
- }).onPrimary((i) => {
2741
- if (!i) {
2858
+ }).onPrimary((l) => {
2859
+ if (!l) {
2742
2860
  r.open({
2743
2861
  title: t("inventory.supplier.import.error.noData"),
2744
2862
  type: "error"
2745
2863
  });
2746
2864
  return;
2747
2865
  }
2748
- if (!i.importCreateResult.length && !i.importUpdateResult.length) {
2866
+ if (!l.importCreateResult.length && !l.importUpdateResult.length) {
2749
2867
  r.open({
2750
2868
  title: t("inventory.supplier.import.error.invalidContent"),
2751
2869
  message: t("inventory.supplier.import.error.noImportData"),
@@ -2753,7 +2871,7 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2753
2871
  });
2754
2872
  return;
2755
2873
  }
2756
- if (i.importCreateResult.some((l) => l.errors.length) || i.importUpdateResult.some((l) => l.errors.length)) {
2874
+ if (l.importCreateResult.some((s) => s.errors.length) || l.importUpdateResult.some((s) => s.errors.length)) {
2757
2875
  r.open({
2758
2876
  title: t("inventory.supplier.import.error.invalidContent"),
2759
2877
  message: t("inventory.supplier.import.error.hasErrors"),
@@ -2761,44 +2879,44 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2761
2879
  });
2762
2880
  return;
2763
2881
  }
2764
- d.close(), o(i);
2765
- }).onTertiary(X1);
2882
+ d.close(), o(l);
2883
+ }).onTertiary(Q0);
2766
2884
  }
2767
2885
  function $() {
2768
- const i = Y1();
2886
+ const l = J0();
2769
2887
  r.open({
2770
2888
  title: t("inventory.supplier.export.success"),
2771
- message: t("inventory.supplier.export.filename", [i]),
2889
+ message: t("inventory.supplier.export.filename", [l]),
2772
2890
  type: "success"
2773
2891
  });
2774
2892
  }
2775
- async function o(i) {
2893
+ async function o(l) {
2776
2894
  try {
2777
- const l = [
2778
- ...i.importCreateResult.map((u) => u.supplier),
2779
- ...i.importUpdateResult.map((u) => u.supplier)
2780
- ], f = 100;
2781
- let h = 0;
2782
- const y = () => {
2783
- h += f, r.open({
2895
+ const s = [
2896
+ ...l.importCreateResult.map((c) => c.supplier),
2897
+ ...l.importUpdateResult.map((c) => c.supplier)
2898
+ ], u = 100;
2899
+ let v = 0;
2900
+ const m = () => {
2901
+ v += u, r.open({
2784
2902
  title: t("inventory.supplier.import.progress", [
2785
- Math.min(h, l.length),
2786
- l.length
2903
+ Math.min(v, s.length),
2904
+ s.length
2787
2905
  ])
2788
2906
  });
2789
2907
  };
2790
- for (const u of l.chunk(100))
2791
- y(), await e.importSuppliers(u);
2908
+ for (const c of s.chunk(100))
2909
+ m(), await e.importSuppliers(c);
2792
2910
  r.open({
2793
2911
  title: t("inventory.supplier.import.success"),
2794
2912
  type: "success"
2795
2913
  });
2796
- } catch (l) {
2914
+ } catch (s) {
2797
2915
  r.open({
2798
2916
  title: t("inventory.supplier.import.error.failed"),
2799
- message: t("inventory.supplier.import.error.systemMessage", [l == null ? void 0 : l.message]),
2917
+ message: t("inventory.supplier.import.error.systemMessage", [s == null ? void 0 : s.message]),
2800
2918
  type: "error"
2801
- }), console.error("Error in importing skus", i, l);
2919
+ }), console.error("Error in importing skus", l, s);
2802
2920
  } finally {
2803
2921
  e.readSuppliers();
2804
2922
  }
@@ -2807,86 +2925,86 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2807
2925
  importSuppliers: n,
2808
2926
  exportSuppliers: $
2809
2927
  };
2810
- }), mr = { class: "flex flex-col py-8" }, yr = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, vr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, hr = {
2928
+ }), b1 = { class: "flex flex-col py-8" }, _1 = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, P1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, C1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, N1 = {
2811
2929
  key: 0,
2812
2930
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
2813
- }, br = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", Or = /* @__PURE__ */ de({
2931
+ }, S1 = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", M1 = /* @__PURE__ */ ae({
2814
2932
  __name: "SupplierView",
2815
2933
  setup(e) {
2816
- const { importSuppliers: d, exportSuppliers: t } = pr(), r = oe(), n = ye(), $ = ve(), o = we(), i = M(!1), l = Ae(), f = he(), { t: h } = z();
2817
- n.watchLocation(u);
2818
- const y = x(() => n.businessLevel);
2819
- Od(y, u);
2820
- async function u() {
2934
+ const { importSuppliers: d, exportSuppliers: t } = h1(), r = ue(), n = _e(), $ = Pe(), o = De(), l = k(!1), s = Ne(), u = Se(), { t: v } = ee();
2935
+ n.watchLocation(c);
2936
+ const m = E(() => n.businessLevel);
2937
+ Ad(m, c);
2938
+ async function c() {
2821
2939
  if (n._currentLocation) {
2822
- i.value = !0;
2940
+ l.value = !0;
2823
2941
  try {
2824
2942
  await Promise.all([
2825
2943
  r.readSuppliers(),
2826
- new Promise((F) => setTimeout(F, 1e3))
2944
+ new Promise((a) => setTimeout(a, 1e3))
2827
2945
  ]);
2828
2946
  } catch {
2829
- f.open({
2947
+ u.open({
2830
2948
  title: "Cannot fetch supplier list",
2831
2949
  type: "error"
2832
2950
  });
2833
2951
  } finally {
2834
- i.value = !1;
2952
+ l.value = !1;
2835
2953
  }
2836
2954
  }
2837
2955
  }
2838
- const v = x(
2956
+ const y = E(
2839
2957
  () => n.businessLevel || $.businessSupplierOnly ? r.businessSuppliers : r.locationSuppliers
2840
- ), p = M({});
2958
+ ), g = k({});
2841
2959
  function C() {
2842
- p.value.mode = U.CREATE, p.value.supplier = {}, p.value.show = !0;
2960
+ g.value.mode = H.CREATE, g.value.supplier = {}, g.value.show = !0;
2843
2961
  }
2844
- function g(a) {
2845
- p.value.mode = U.UPDATE, p.value.supplier = Ne(a), p.value.show = !0;
2962
+ function f(i) {
2963
+ g.value.mode = H.UPDATE, g.value.supplier = Fe(i), g.value.show = !0;
2846
2964
  }
2847
- async function O(a) {
2848
- l.open({
2849
- title: h("inventory.supplier.delete.confirm"),
2850
- message: h("inventory.supplier.delete.confirmMessage", { name: a.name }),
2965
+ async function O(i) {
2966
+ s.open({
2967
+ title: v("inventory.supplier.delete.confirm"),
2968
+ message: v("inventory.supplier.delete.confirmMessage", { name: i.name }),
2851
2969
  primaryActions: {
2852
- text: h("common.delete"),
2970
+ text: v("common.delete"),
2853
2971
  close: !0,
2854
2972
  variant: "destructive"
2855
2973
  },
2856
2974
  secondaryActions: {
2857
- text: h("common.cancel"),
2975
+ text: v("common.cancel"),
2858
2976
  close: !0
2859
2977
  }
2860
- }).onPrimary(() => E(a));
2978
+ }).onPrimary(() => b(i));
2861
2979
  }
2862
- async function E(a) {
2863
- l.open({
2864
- title: h("inventory.supplier.deletingSupplier"),
2980
+ async function b(i) {
2981
+ s.open({
2982
+ title: v("inventory.supplier.deletingSupplier"),
2865
2983
  closeButton: !1
2866
2984
  });
2867
2985
  try {
2868
- await r.deleteSupplier(a), f.open({
2869
- title: h("inventory.supplier.delete.success"),
2870
- message: h("inventory.supplier.delete.successMessage", { name: a == null ? void 0 : a.name }),
2986
+ await r.deleteSupplier(i), u.open({
2987
+ title: v("inventory.supplier.delete.success"),
2988
+ message: v("inventory.supplier.delete.successMessage", { name: i == null ? void 0 : i.name }),
2871
2989
  type: "success"
2872
- }), u();
2873
- } catch (F) {
2874
- f.open({
2875
- title: h("inventory.supplier.delete.error"),
2876
- message: h("inventory.supplier.delete.errorMessage", { name: a == null ? void 0 : a.name }),
2990
+ }), c();
2991
+ } catch (a) {
2992
+ u.open({
2993
+ title: v("inventory.supplier.delete.error"),
2994
+ message: v("inventory.supplier.delete.errorMessage", { name: i == null ? void 0 : i.name }),
2877
2995
  type: "error"
2878
- }), console.error("failed to delete supplier", F);
2996
+ }), console.error("failed to delete supplier", a);
2879
2997
  } finally {
2880
- l.close();
2998
+ s.close();
2881
2999
  }
2882
3000
  }
2883
- const { columnDefs: m } = lt(g, O);
2884
- function _(a) {
2885
- if (a === "create")
3001
+ const { columnDefs: F } = ut(f, O);
3002
+ function A(i) {
3003
+ if (i === "create")
2886
3004
  return C();
2887
- if (a === "import") {
2888
- if (i.value) {
2889
- f.open({
3005
+ if (i === "import") {
3006
+ if (l.value) {
3007
+ u.open({
2890
3008
  title: "Loading data...",
2891
3009
  message: "Please wait.",
2892
3010
  type: "info"
@@ -2895,103 +3013,103 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2895
3013
  }
2896
3014
  return d();
2897
3015
  }
2898
- if (a === "export")
3016
+ if (i === "export")
2899
3017
  return t();
2900
- if (a === "refresh")
2901
- return u();
3018
+ if (i === "refresh")
3019
+ return c();
2902
3020
  }
2903
- const D = M(""), { breakpoints: j } = ot(), G = x(() => j.value.xs || j.value.sm), q = x(() => G.value ? 10 : 20), k = et(), s = x(() => [
3021
+ const V = k(""), { breakpoints: Y } = at(), X = E(() => Y.value.xs || Y.value.sm), de = E(() => X.value ? 10 : 20), _ = dt(), x = E(() => [
2904
3022
  {
2905
- label: h("inventory.supplier.create.title"),
3023
+ label: v("inventory.supplier.create.title"),
2906
3024
  value: "create",
2907
3025
  isPrimary: !0,
2908
3026
  prependIcon: "add"
2909
3027
  },
2910
3028
  {
2911
- label: h("inventory.common.refresh"),
3029
+ label: v("inventory.common.refresh"),
2912
3030
  value: "refresh",
2913
3031
  isPrimary: !1
2914
3032
  },
2915
3033
  {
2916
- label: h("inventory.common.import"),
3034
+ label: v("inventory.common.import"),
2917
3035
  value: "import",
2918
3036
  isPrimary: !1
2919
3037
  },
2920
3038
  {
2921
- label: h("inventory.common.export"),
3039
+ label: v("inventory.common.export"),
2922
3040
  value: "export",
2923
3041
  isPrimary: !1
2924
3042
  }
2925
3043
  ]);
2926
- return (a, F) => {
2927
- const R = A("FmTable");
2928
- return N(), Y(dt, {
2929
- title: c(h)("inventory.supplier.title"),
2930
- actions: s.value,
2931
- "onClick:action": _,
2932
- "helper-text": c(n).businessLevel || c($).businessSupplierOnly ? br : void 0
3044
+ return (i, a) => {
3045
+ const Z = L("FmTable");
3046
+ return S(), J(tt, {
3047
+ title: p(v)("inventory.supplier.title"),
3048
+ actions: x.value,
3049
+ "onClick:action": A,
3050
+ "helper-text": p(n).businessLevel || p($).businessSupplierOnly ? S1 : void 0
2933
3051
  }, {
2934
- default: L(() => [
2935
- b("div", {
2936
- class: ee([
3052
+ default: U(() => [
3053
+ h("div", {
3054
+ class: oe([
2937
3055
  "flex flex-col gap-8 max-h-full",
2938
3056
  {
2939
- "p-0": G.value,
2940
- "px-24 ": !G.value
3057
+ "p-0": X.value,
3058
+ "px-24 ": !X.value
2941
3059
  }
2942
3060
  ])
2943
3061
  }, [
2944
- P(tt, {
3062
+ P(rt, {
2945
3063
  searchable: "",
2946
- "change-location": !(c(n).businessLevel || c($).businessSupplierOnly),
2947
- search: D.value,
2948
- "onUpdate:search": F[0] || (F[0] = (V) => D.value = V)
3064
+ "change-location": !(p(n).businessLevel || p($).businessSupplierOnly),
3065
+ search: V.value,
3066
+ "onUpdate:search": a[0] || (a[0] = (I) => V.value = I)
2949
3067
  }, null, 8, ["change-location", "search"]),
2950
- P(R, {
2951
- style: Kd(c(k).tableHeight),
2952
- "column-defs": c(m),
3068
+ P(Z, {
3069
+ style: Kd(p(_).tableHeight),
3070
+ "column-defs": p(F),
2953
3071
  columnVisibility: {
2954
- netsuiteIdSubsidiary: c(o).isEnabled
3072
+ netsuiteIdSubsidiary: p(o).isEnabled
2955
3073
  },
2956
- "row-data": v.value,
2957
- "search-value": D.value,
2958
- loading: (!c(n)._currentLocation || i.value) && c(o).isReady,
2959
- onRowClick: F[1] || (F[1] = (V) => g(V.original)),
2960
- "page-size": q.value
3074
+ "row-data": y.value,
3075
+ "search-value": V.value,
3076
+ loading: (!p(n)._currentLocation || l.value) && p(o).isReady,
3077
+ onRowClick: a[1] || (a[1] = (I) => f(I.original)),
3078
+ "page-size": de.value
2961
3079
  }, {
2962
- "list-row": L((V) => [
2963
- P(rt, {
2964
- row: V,
2965
- onRowClick: g
3080
+ "list-row": U((I) => [
3081
+ P(nt, {
3082
+ row: I,
3083
+ onRowClick: f
2966
3084
  }, {
2967
- default: L((H) => {
2968
- var S, ke, Ve, ae, Ue, Be, Ge, He, $e, je, Ke, We, Ye, ie, Xe, Ze, ze, qe, le, Je;
3085
+ default: U((R) => {
3086
+ var M, G, N, B, K, te, ie, je, ce, Ke, We, Ye, Xe, pe, Ze, qe, ze, Je, fe, Qe;
2969
3087
  return [
2970
- b("div", mr, [
2971
- b("div", yr, [
2972
- P(c(ue), {
2973
- render: (Ve = (ke = (S = H.name) == null ? void 0 : S.column) == null ? void 0 : ke.columnDef) == null ? void 0 : Ve.cell,
2974
- props: (Ue = (ae = H.name) == null ? void 0 : ae.getContext) == null ? void 0 : Ue.call(ae)
3088
+ h("div", b1, [
3089
+ h("div", _1, [
3090
+ P(p(ye), {
3091
+ render: (N = (G = (M = R.name) == null ? void 0 : M.column) == null ? void 0 : G.columnDef) == null ? void 0 : N.cell,
3092
+ props: (K = (B = R.name) == null ? void 0 : B.getContext) == null ? void 0 : K.call(B)
2975
3093
  }, null, 8, ["render", "props"])
2976
3094
  ]),
2977
- b("div", vr, [
2978
- P(c(ue), {
2979
- render: (He = (Ge = (Be = H.contactName) == null ? void 0 : Be.column) == null ? void 0 : Ge.columnDef) == null ? void 0 : He.cell,
2980
- props: (je = ($e = H.contactName) == null ? void 0 : $e.getContext) == null ? void 0 : je.call($e)
3095
+ h("div", P1, [
3096
+ P(p(ye), {
3097
+ render: (je = (ie = (te = R.contactName) == null ? void 0 : te.column) == null ? void 0 : ie.columnDef) == null ? void 0 : je.cell,
3098
+ props: (Ke = (ce = R.contactName) == null ? void 0 : ce.getContext) == null ? void 0 : Ke.call(ce)
2981
3099
  }, null, 8, ["render", "props"])
2982
3100
  ]),
2983
- b("div", gr, [
2984
- P(c(ue), {
2985
- render: (Ye = (We = (Ke = H.phoneNumber) == null ? void 0 : Ke.column) == null ? void 0 : We.columnDef) == null ? void 0 : Ye.cell,
2986
- props: (Xe = (ie = H.phoneNumber) == null ? void 0 : ie.getContext) == null ? void 0 : Xe.call(ie)
3101
+ h("div", C1, [
3102
+ P(p(ye), {
3103
+ render: (Xe = (Ye = (We = R.phoneNumber) == null ? void 0 : We.column) == null ? void 0 : Ye.columnDef) == null ? void 0 : Xe.cell,
3104
+ props: (Ze = (pe = R.phoneNumber) == null ? void 0 : pe.getContext) == null ? void 0 : Ze.call(pe)
2987
3105
  }, null, 8, ["render", "props"])
2988
3106
  ]),
2989
- V.original.email ? (N(), I("div", hr, [
2990
- P(c(ue), {
2991
- render: (qe = (ze = (Ze = H.email) == null ? void 0 : Ze.column) == null ? void 0 : ze.columnDef) == null ? void 0 : qe.cell,
2992
- props: (Je = (le = H.email) == null ? void 0 : le.getContext) == null ? void 0 : Je.call(le)
3107
+ I.original.email ? (S(), w("div", N1, [
3108
+ P(p(ye), {
3109
+ render: (Je = (ze = (qe = R.email) == null ? void 0 : qe.column) == null ? void 0 : ze.columnDef) == null ? void 0 : Je.cell,
3110
+ props: (Qe = (fe = R.email) == null ? void 0 : fe.getContext) == null ? void 0 : Qe.call(fe)
2993
3111
  }, null, 8, ["render", "props"])
2994
- ])) : X("", !0)
3112
+ ])) : W("", !0)
2995
3113
  ])
2996
3114
  ];
2997
3115
  }),
@@ -3001,13 +3119,13 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
3001
3119
  _: 1
3002
3120
  }, 8, ["style", "column-defs", "columnVisibility", "row-data", "search-value", "loading", "page-size"])
3003
3121
  ], 2),
3004
- (N(), Y(Wd, { to: "body" }, [
3005
- P(Vt, {
3006
- show: p.value.show,
3007
- "onUpdate:show": F[2] || (F[2] = (V) => p.value.show = V),
3008
- supplier: p.value.supplier,
3009
- mode: p.value.mode,
3010
- onSubmitted: F[3] || (F[3] = (V) => u())
3122
+ (S(), J(Wd, { to: "body" }, [
3123
+ P(jt, {
3124
+ show: g.value.show,
3125
+ "onUpdate:show": a[2] || (a[2] = (I) => g.value.show = I),
3126
+ supplier: g.value.supplier,
3127
+ mode: g.value.mode,
3128
+ onSubmitted: a[3] || (a[3] = (I) => c())
3011
3129
  }, null, 8, ["show", "supplier", "mode"])
3012
3130
  ]))
3013
3131
  ]),
@@ -3017,5 +3135,5 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
3017
3135
  }
3018
3136
  });
3019
3137
  export {
3020
- Or as default
3138
+ M1 as default
3021
3139
  };