@feedmepos/mf-inventory-portal 0.0.23-dev.4 → 0.0.23-dev.5

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 (54) hide show
  1. package/dist/{App-DReDvY0M.js → App-FsTwD8n6.js} +3 -3
  2. package/dist/{ApprovalView-BMZlYmRk.js → ApprovalView-BXPFwc54.js} +4 -4
  3. package/dist/{BindingsDialog-Y2K4I7H7.js → BindingsDialog-CHkMKliu.js} +2 -2
  4. package/dist/{BindingsPicker-DKBq9c37.js → BindingsPicker-D12ragAp.js} +2 -2
  5. package/dist/{BindingsTable-45v4SDfp.js → BindingsTable-COag_o6k.js} +4 -4
  6. package/dist/{ClosingTemplateView-CKJVYSbj.js → ClosingTemplateView-D8jKBDLt.js} +10 -10
  7. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CMEOp-0r.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BQtdWZI5.js} +4 -4
  8. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhdcqRh-.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-RNrM3eSt.js} +2 -2
  9. package/dist/{FmMultiselectDialog-D7YtdoyJ.js → FmMultiselectDialog-BQVgChfN.js} +3 -3
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C1DjyjyH.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DECE_vKa.js} +2 -2
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-zjvFEF5C.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BUy5XAra.js} +1 -1
  12. package/dist/{IngredientGroupView-BuP-HGeg.js → IngredientGroupView-C5W6TKVb.js} +5 -5
  13. package/dist/IngredientsView-DS18EGAg.js +1665 -0
  14. package/dist/{IntegrationView-kYCaKG0o.js → IntegrationView-BCXq5C_i.js} +4 -4
  15. package/dist/{InventoryBindingForm-BXHq4h-n.js → InventoryBindingForm-D2oUHybU.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CVxJ_bV3.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Do_WCGzA.js} +5 -5
  17. package/dist/{InventoryBindingSummary-Bjasfc_v.js → InventoryBindingSummary-CTzl--8n.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DM0C4raP.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CrdZrQaL.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C3O3JebE.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Ce01_vRB.js} +2 -2
  20. package/dist/{PurchaseOrderPrintPreview-CmjkfTTS.js → PurchaseOrderPrintPreview-C_cUNqE4.js} +1 -1
  21. package/dist/{ReceiveRequestView-aQZJO8sq.js → ReceiveRequestView-iKUSCnjc.js} +18 -18
  22. package/dist/{RecipeView-DXO43tFi.js → RecipeView-9jSzsC2o.js} +7 -7
  23. package/dist/{StockView-D9no-mrA.js → StockView-CkLx8c-q.js} +12 -12
  24. package/dist/{SupplierView-DAx7E7sR.js → SupplierView-zo_pVaja.js} +463 -461
  25. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DCA0RUfu.js → TransferDetails.vue_vue_type_script_setup_true_lang-DVkVNrNG.js} +9 -9
  26. package/dist/{TransferTemplateView-CfxdQF1t.js → TransferTemplateView-CkJs2zmu.js} +13 -13
  27. package/dist/{UnitView-CQPGZ8-r.js → UnitView-DdUCn3QX.js} +5 -5
  28. package/dist/{WarehouseView-jy-RNCgy.js → WarehouseView-BSKKIUlu.js} +4 -4
  29. package/dist/{app-KnSMkJBV.js → app-CVmmRPWd.js} +8 -8
  30. package/dist/app.js +1 -1
  31. package/dist/{date2-CIeUqUIc.js → date2-B8or025L.js} +1 -1
  32. package/dist/{dayjs.min-Df5jSnDJ.js → dayjs.min-CIK0S4n6.js} +1 -1
  33. package/dist/{decimal-BAc9M88Q.js → decimal-DnON7sYp.js} +1 -1
  34. package/dist/{defineDeepModel-BfuQAIoM.js → defineDeepModel-ZvHrR7G4.js} +1 -1
  35. package/dist/{feature-dwB4OxRQ.js → feature-CfLuWtSb.js} +12 -6
  36. package/dist/{format-time-from-id-BbvzyIN6.js → format-time-from-id-DgZIvkJL.js} +1 -1
  37. package/dist/{format-unit-display-BBWblJEt.js → format-unit-display-BL51mLWH.js} +8 -8
  38. package/dist/{fuzzy-B9ryZ9VZ.js → fuzzy-BrZpb26S.js} +1 -1
  39. package/dist/{index-C4yL_7rR.js → index-20AY5LL4.js} +1 -1
  40. package/dist/{index-Bj1fJum-.js → index-BHBzUsyp.js} +1 -1
  41. package/dist/{index-BN0CY3sZ.js → index-Cgi2fvdH.js} +27 -21
  42. package/dist/netsuite-C6f_DtMT.js +224 -0
  43. package/dist/{rules-C12nWDD1.js → rules-CyLD3MFT.js} +3 -2
  44. package/dist/stores/feature.d.ts +1 -0
  45. package/dist/stores/integration/netsuite.d.ts +67 -0
  46. package/dist/{supplier-DJC0UZWv.js → supplier-pYrSAyO6.js} +1 -1
  47. package/dist/tsconfig.app.tsbuildinfo +1 -1
  48. package/dist/{use-inventory-binding-dialog-PEQbFRvO.js → use-inventory-binding-dialog-BRfRiwVk.js} +2 -2
  49. package/dist/{use-template-enabled-locations-2-k9g5t8tt.js → use-template-enabled-locations-2-BFm4_EuV.js} +2 -2
  50. package/dist/{xlsx-B4XHad7S.js → xlsx-BFsAkixf.js} +1 -1
  51. package/dist/{xlsx.util-BSO4SHJi.js → xlsx.util-ClkX4qFH.js} +1 -1
  52. package/package.json +3 -3
  53. package/dist/IngredientsView-DMRN-odY.js +0 -1613
  54. package/dist/netsuite-ByWOS6tI.js +0 -194
@@ -1,74 +1,74 @@
1
- import { defineComponent as Z, mergeModels as Hd, computed as E, useModel as Kd, resolveComponent as w, openBlock as x, createElementBlock as P, createElementVNode as c, createVNode as C, withCtx as U, toDisplayString as R, unref as a, Fragment as Y, renderList as J, ref as F, createBlock as G, createCommentVNode as H, isRef as Nd, normalizeClass as W, createTextVNode as Od, watch as kd, createSlots as Yd, onMounted as Wd, normalizeStyle as Zd, Teleport as zd } from "vue";
2
- import { u as q } from "./supplier-DJC0UZWv.js";
3
- import { D as Ad, R as ed, F as D } from "./row-action.enum-PMKMRrZR.js";
1
+ import { defineComponent as z, mergeModels as Od, computed as E, useModel as Kd, resolveComponent as w, openBlock as x, createElementBlock as P, createElementVNode as c, createVNode as C, withCtx as B, toDisplayString as R, unref as n, Fragment as W, renderList as J, ref as F, createBlock as G, createCommentVNode as H, isRef as Nd, createTextVNode as kd, normalizeClass as Z, watch as Fd, createSlots as Yd, onMounted as Wd, normalizeStyle as Zd, Teleport as zd } from "vue";
2
+ import { u as q } from "./supplier-pYrSAyO6.js";
3
+ import { D as Ad, R as ed, F as L } from "./row-action.enum-PMKMRrZR.js";
4
4
  import { c as Jd, _ as qd, F as $d } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
5
- import { c as nd, a as Fd, f as Ed, d as jd, C as sd, i as Bd, u as td } from "./app-KnSMkJBV.js";
6
- import { useI18n as O, useCoreStore as ld } from "@feedmepos/mf-common";
7
- import { u as ad } from "./netsuite-ByWOS6tI.js";
5
+ import { c as nd, a as Bd, f as Ed, d as jd, C as sd, i as Dd, u as td } from "./app-CVmmRPWd.js";
6
+ import { useI18n as K, useCoreStore as ld } from "@feedmepos/mf-common";
7
+ import { u as ad } from "./netsuite-C6f_DtMT.js";
8
8
  import { useDialog as id, useSnackbar as od, useProxiedModel as Pd, useDialogChild as Qd, useBreakpoints as Xd } from "@feedmepos/ui-library";
9
- import { u as d0, _ as e0, a as $0 } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhdcqRh-.js";
10
- import { R as L } from "./rules-C12nWDD1.js";
11
- import { F as t0 } from "./FmMultiselectDialog-D7YtdoyJ.js";
9
+ import { u as d0, _ as e0, a as $0 } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-RNrM3eSt.js";
10
+ import { R as U } from "./rules-CyLD3MFT.js";
11
+ import { F as t0 } from "./FmMultiselectDialog-BQVgChfN.js";
12
12
  import { _ as o0 } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
13
- import { _ as r0 } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C1DjyjyH.js";
14
- import { u as Dd } from "./feature-dwB4OxRQ.js";
13
+ import { _ as r0 } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DECE_vKa.js";
14
+ import { u as Ld } from "./feature-CfLuWtSb.js";
15
15
  import { defineStore as s0 } from "pinia";
16
- import { t as Ud, d as Ld, s as n0, r as l0 } from "./xlsx.util-BSO4SHJi.js";
17
- import { f as a0 } from "./date2-CIeUqUIc.js";
16
+ import { t as Ud, d as Gd, s as n0, r as l0 } from "./xlsx.util-ClkX4qFH.js";
17
+ import { f as a0 } from "./date2-B8or025L.js";
18
18
  import { i as i0, p as u0, P as p0, n as c0 } from "./normalizeArguments-DP7Hrren.js";
19
19
  import { F as m0 } from "./FmDroppableField-8RzKjEdL.js";
20
- function y0(r, $) {
21
- const { t } = O(), o = ad();
22
- function i(n, l) {
23
- if (n === ed.Edit) {
24
- r(nd(l));
20
+ function y0(r, t) {
21
+ const { t: o } = K(), $ = ad();
22
+ function i(l, a) {
23
+ if (l === ed.Edit) {
24
+ r(nd(a));
25
25
  return;
26
26
  }
27
- if (n === ed.Delete) {
28
- $(nd(l));
27
+ if (l === ed.Delete) {
28
+ t(nd(a));
29
29
  return;
30
30
  }
31
31
  }
32
32
  return { columnDefs: [
33
33
  {
34
34
  accessorKey: "name",
35
- header: () => t("inventory.supplier.table.supplier"),
35
+ header: () => o("inventory.supplier.table.supplier"),
36
36
  enableSorting: !0,
37
37
  size: 200
38
38
  },
39
39
  {
40
40
  accessorKey: "netsuiteIdSubsidiary",
41
- cell: (n) => o.getVendorSubsidiaryName(n.row.original._id),
41
+ cell: (l) => $.getVendorSubsidiaryName(l.row.original._id),
42
42
  header: () => "NetSuite Subsidiary",
43
43
  enableSorting: !0,
44
44
  size: "auto"
45
45
  },
46
46
  {
47
47
  accessorKey: "contactName",
48
- header: () => t("inventory.supplier.table.pic"),
48
+ header: () => o("inventory.supplier.table.pic"),
49
49
  enableSorting: !1,
50
50
  size: 250
51
51
  },
52
52
  {
53
53
  accessorKey: "phoneNumber",
54
- header: () => t("inventory.supplier.table.contact"),
54
+ header: () => o("inventory.supplier.table.contact"),
55
55
  enableSorting: !1,
56
56
  size: 200
57
57
  },
58
58
  {
59
59
  accessorKey: "email",
60
- header: () => t("inventory.supplier.table.email"),
60
+ header: () => o("inventory.supplier.table.email"),
61
61
  enableSorting: !1,
62
62
  size: "auto"
63
63
  },
64
64
  {
65
65
  id: "action",
66
66
  header: "",
67
- cell(n) {
67
+ cell(l) {
68
68
  return Jd(
69
69
  [Ad[ed.Edit], Ad[ed.Delete]],
70
- (l) => {
71
- i(l, n.row.original);
70
+ (a) => {
71
+ i(a, l.row.original);
72
72
  }
73
73
  );
74
74
  },
@@ -80,9 +80,9 @@ function y0(r, $) {
80
80
  }
81
81
  ] };
82
82
  }
83
- const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b0 = { class: "flex items-center gap-8 py-8" }, g0 = { class: "flex-1" }, S0 = { class: "fm-typo-en-title-sm-800" }, h0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _0 = { class: "flex flex-col gap-4" }, C0 = { class: "flex-1" }, x0 = { class: "flex flex-col" }, M0 = { class: "fm-typo-en-body-lg-400" }, V0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, N0 = { class: "flex-1" }, A0 = { class: "flex" }, E0 = { class: "text-fm-color-typo-secondary" }, P0 = /* @__PURE__ */ Z({
83
+ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b0 = { class: "flex items-center gap-8 py-8" }, g0 = { class: "flex-1" }, S0 = { class: "fm-typo-en-title-sm-800" }, h0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _0 = { class: "flex flex-col gap-4" }, C0 = { class: "flex-1" }, x0 = { class: "flex flex-col" }, V0 = { class: "fm-typo-en-body-lg-400" }, M0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, N0 = { class: "flex-1" }, A0 = { class: "flex" }, E0 = { class: "text-fm-color-typo-secondary" }, P0 = /* @__PURE__ */ z({
84
84
  __name: "SupplierSupplyItemField",
85
- props: /* @__PURE__ */ Hd({
85
+ props: /* @__PURE__ */ Od({
86
86
  modelValue: {}
87
87
  }, {
88
88
  modelValue: {},
@@ -90,21 +90,21 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
90
90
  }),
91
91
  emits: ["update:modelValue"],
92
92
  setup(r) {
93
- const $ = ld(), t = Fd(), o = E(() => t.skus), i = id(), { t: v } = O(), n = Kd(r, "modelValue");
94
- function l() {
93
+ const t = ld(), o = Bd(), $ = E(() => o.skus), i = id(), { t: m } = K(), l = Kd(r, "modelValue");
94
+ function a() {
95
95
  var S;
96
- const b = t.skus.map((h) => ({
96
+ const b = o.skus.map((h) => ({
97
97
  label: h.name,
98
98
  sublabel: h.code,
99
99
  value: h._id
100
- })), u = ((S = n.value) == null ? void 0 : S.map((h) => h.skuId)) ?? [], M = E(
100
+ })), u = ((S = l.value) == null ? void 0 : S.map((h) => h.skuId)) ?? [], V = E(
101
101
  () => {
102
102
  var h;
103
- return ((h = jd($.currentCountry.value)) == null ? void 0 : h.currency) ?? "MYR";
103
+ return ((h = jd(t.currentCountry.value)) == null ? void 0 : h.currency) ?? "MYR";
104
104
  }
105
105
  );
106
106
  i.open({
107
- title: v("inventory.supplier.supplyItems.selectItem"),
107
+ title: m("inventory.supplier.supplyItems.selectItem"),
108
108
  closeButton: !0,
109
109
  contentComponent: t0,
110
110
  contentComponentProps: {
@@ -121,23 +121,23 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
121
121
  variant: "tertiary"
122
122
  }
123
123
  }).onPrimary((h) => {
124
- const N = h.map((g) => t.skuById[g]).filter((g) => g);
124
+ const N = h.map((g) => o.skuById[g]).filter((g) => g);
125
125
  N.sort((g, I) => g.code.localeCompare(I.code));
126
- const y = N.map((g) => {
126
+ const f = N.map((g) => {
127
127
  var k;
128
- const I = (k = n.value) == null ? void 0 : k.find((e) => e.skuId === g._id);
128
+ const I = (k = l.value) == null ? void 0 : k.find((e) => e.skuId === g._id);
129
129
  return I || {
130
130
  skuId: g._id,
131
131
  defaultCost: g.defaultCost ?? {
132
132
  costPerUnit: {
133
- currency: M.value,
133
+ currency: V.value,
134
134
  amount: 0,
135
135
  precision: 2
136
136
  }
137
137
  }
138
138
  };
139
139
  });
140
- n.value = y;
140
+ l.value = f;
141
141
  });
142
142
  }
143
143
  function s(b) {
@@ -153,15 +153,15 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
153
153
  }
154
154
  }
155
155
  function A(b) {
156
- const u = [...(n == null ? void 0 : n.value) ?? []];
157
- u.splice(b, 1), n.value = u;
156
+ const u = [...(l == null ? void 0 : l.value) ?? []];
157
+ u.splice(b, 1), l.value = u;
158
158
  }
159
- function m(b) {
159
+ function y(b) {
160
160
  var S;
161
- const u = b.skuId, M = (S = o.value.find((h) => h._id === u)) == null ? void 0 : S.unit;
162
- if (!M)
161
+ const u = b.skuId, V = (S = $.value.find((h) => h._id === u)) == null ? void 0 : S.unit;
162
+ if (!V)
163
163
  throw new Error(`Cannot find ingredient: ${u}`);
164
- return M;
164
+ return V;
165
165
  }
166
166
  function p(b) {
167
167
  return {
@@ -169,8 +169,8 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
169
169
  measurement: b.defaultCost.measurement
170
170
  };
171
171
  }
172
- function f(b, u) {
173
- const S = (n.value ?? []).map((h) => h.skuId !== b.skuId ? h : {
172
+ function v(b, u) {
173
+ const S = (l.value ?? []).map((h) => h.skuId !== b.skuId ? h : {
174
174
  ...h,
175
175
  defaultCost: {
176
176
  ...h.defaultCost,
@@ -181,67 +181,67 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
181
181
  }
182
182
  }
183
183
  });
184
- n.value = S;
184
+ l.value = S;
185
185
  }
186
186
  return (b, u) => {
187
- const M = w("FmButton");
187
+ const V = w("FmButton");
188
188
  return x(), P("div", f0, [
189
189
  c("div", v0, [
190
190
  c("div", b0, [
191
191
  c("div", g0, [
192
192
  C(o0, { "z-index": 50 }, {
193
- default: U(() => [
194
- c("div", S0, R(a(v)("inventory.supplier.supplyItems.title")), 1)
193
+ default: B(() => [
194
+ c("div", S0, R(n(m)("inventory.supplier.supplyItems.title")), 1)
195
195
  ]),
196
196
  _: 1
197
197
  })
198
198
  ]),
199
199
  c("div", null, [
200
- C(M, {
200
+ C(V, {
201
201
  "prepend-icon": "link",
202
- label: a(v)("inventory.supplier.supplyItems.addItems"),
202
+ label: n(m)("inventory.supplier.supplyItems.addItems"),
203
203
  variant: "plain",
204
- onClick: l
204
+ onClick: a
205
205
  }, null, 8, ["label"])
206
206
  ])
207
207
  ]),
208
- c("div", h0, R(a(v)("inventory.supplier.supplyItems.overridePriceHint")), 1)
208
+ c("div", h0, R(n(m)("inventory.supplier.supplyItems.overridePriceHint")), 1)
209
209
  ]),
210
210
  c("div", _0, [
211
- (x(!0), P(Y, null, J(n.value, (S, h) => {
212
- var N, y, g;
211
+ (x(!0), P(W, null, J(l.value, (S, h) => {
212
+ var N, f, g;
213
213
  return x(), P("div", {
214
214
  key: S.skuId,
215
215
  class: "flex"
216
216
  }, [
217
217
  c("div", C0, [
218
218
  c("div", x0, [
219
- c("div", M0, R((N = a(t).skuById[S.skuId]) == null ? void 0 : N.name), 1),
220
- c("div", V0, R((y = a(t).skuById[S.skuId]) == null ? void 0 : y.code), 1)
219
+ c("div", V0, R((N = n(o).skuById[S.skuId]) == null ? void 0 : N.name), 1),
220
+ c("div", M0, R((f = n(o).skuById[S.skuId]) == null ? void 0 : f.code), 1)
221
221
  ])
222
222
  ]),
223
223
  c("div", N0, [
224
224
  c("div", A0, [
225
225
  C(r0, {
226
226
  "model-value": p(S),
227
- unit: m(S),
228
- "onUpdate:modelValue": (I) => f(S, I),
229
- placement: n.value && h === ((g = n.value) == null ? void 0 : g.length) - 1 ? "top" : "bottom",
227
+ unit: y(S),
228
+ "onUpdate:modelValue": (I) => v(S, I),
229
+ placement: l.value && h === ((g = l.value) == null ? void 0 : g.length) - 1 ? "top" : "bottom",
230
230
  separator: "/",
231
231
  "apply-default-rules": "",
232
232
  precision: 4,
233
233
  "format-minimum-precision": 2
234
234
  }, {
235
- prepend: U(() => {
236
- var I, B;
235
+ prepend: B(() => {
236
+ var I, D;
237
237
  return [
238
- c("div", E0, R(s(((I = a($).currentCountry) == null ? void 0 : I.value) ?? a(Ed)) === "MYR" ? "RM" : s(((B = a($).currentCountry) == null ? void 0 : B.value) ?? a(Ed))), 1)
238
+ c("div", E0, R(s(((I = n(t).currentCountry) == null ? void 0 : I.value) ?? n(Ed)) === "MYR" ? "RM" : s(((D = n(t).currentCountry) == null ? void 0 : D.value) ?? n(Ed))), 1)
239
239
  ];
240
240
  }),
241
241
  _: 2
242
242
  }, 1032, ["model-value", "unit", "onUpdate:modelValue", "placement"]),
243
243
  c("div", null, [
244
- C(M, {
244
+ C(V, {
245
245
  "prepend-icon": "close",
246
246
  variant: "tertiary",
247
247
  onClick: (I) => A(h)
@@ -255,127 +255,127 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
255
255
  ]);
256
256
  };
257
257
  }
258
- }), I0 = { class: "flex flex-col gap-40" }, R0 = { class: "flex flex-col gap-16" }, T0 = { key: 0 }, w0 = { class: "flex flex-col gap-8" }, k0 = { class: "fm-typo-en-title-sm-800" }, F0 = { class: "grid grid-cols-2 gap-24" }, B0 = { class: "flex flex-col gap-8" }, D0 = { class: "fm-typo-en-title-sm-800" }, U0 = { class: "flex flex-col gap-16" }, L0 = {
258
+ }), I0 = { class: "flex flex-col gap-40" }, R0 = { class: "flex flex-col gap-16" }, T0 = { key: 0 }, w0 = { class: "flex flex-col gap-8" }, k0 = { class: "fm-typo-en-title-sm-800" }, F0 = { class: "grid grid-cols-2 gap-24" }, B0 = { class: "flex flex-col gap-8" }, D0 = { class: "fm-typo-en-title-sm-800" }, L0 = { class: "flex flex-col gap-16" }, U0 = {
259
259
  key: 0,
260
260
  class: "flex flex-col gap-8"
261
- }, G0 = /* @__PURE__ */ Z({
261
+ }, G0 = /* @__PURE__ */ z({
262
262
  __name: "SupplierForm",
263
263
  props: {
264
264
  modelValue: {},
265
265
  disabled: { type: Boolean }
266
266
  },
267
267
  emits: ["update:modelValue", "validation-success"],
268
- setup(r, { expose: $, emit: t }) {
269
- const o = r, i = t, v = Dd(), n = Fd(), l = E(() => Bd(n.skus, "_id")), { t: s } = O(), A = td(), m = E(() => A.businessLevel), p = E({
268
+ setup(r, { expose: t, emit: o }) {
269
+ const $ = r, i = o, m = Ld(), l = Bd(), a = E(() => Dd(l.skus, "_id")), { t: s } = K(), A = td(), y = E(() => A.businessLevel), p = E({
270
270
  get() {
271
271
  var e;
272
- return ((e = o.modelValue) == null ? void 0 : e.name) ?? "";
272
+ return ((e = $.modelValue) == null ? void 0 : e.name) ?? "";
273
273
  },
274
274
  set(e) {
275
- const d = o.modelValue ?? {};
275
+ const d = $.modelValue ?? {};
276
276
  d.name = e, i("update:modelValue", d);
277
277
  }
278
- }), f = E({
278
+ }), v = E({
279
279
  get() {
280
280
  var e;
281
- return ((e = o.modelValue) == null ? void 0 : e.registrationNumber) ?? "";
281
+ return ((e = $.modelValue) == null ? void 0 : e.registrationNumber) ?? "";
282
282
  },
283
283
  set(e) {
284
- const d = o.modelValue ?? {};
284
+ const d = $.modelValue ?? {};
285
285
  d.registrationNumber = e, i("update:modelValue", d);
286
286
  }
287
287
  }), b = E({
288
288
  get() {
289
289
  var e, d;
290
- return ((d = (e = o.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line1) ?? "";
290
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line1) ?? "";
291
291
  },
292
292
  set(e) {
293
- const d = o.modelValue ?? {};
293
+ const d = $.modelValue ?? {};
294
294
  d.address ?? (d.address = {}), d.address.line1 = e, i("update:modelValue", d);
295
295
  }
296
296
  }), u = E({
297
297
  get() {
298
298
  var e, d;
299
- return ((d = (e = o.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line2) ?? "";
299
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line2) ?? "";
300
300
  },
301
301
  set(e) {
302
- const d = o.modelValue ?? {};
302
+ const d = $.modelValue ?? {};
303
303
  d.address ?? (d.address = {}), d.address.line2 = e, i("update:modelValue", d);
304
304
  }
305
- }), M = E({
305
+ }), V = E({
306
306
  get() {
307
307
  var e, d;
308
- return ((d = (e = o.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.city) ?? "";
308
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.city) ?? "";
309
309
  },
310
310
  set(e) {
311
- const d = o.modelValue ?? {};
311
+ const d = $.modelValue ?? {};
312
312
  d.address ?? (d.address = {}), d.address.city = e, i("update:modelValue", d);
313
313
  }
314
314
  }), S = E({
315
315
  get() {
316
316
  var e, d;
317
- return ((d = (e = o.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.postcode) ?? "";
317
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.postcode) ?? "";
318
318
  },
319
319
  set(e) {
320
- const d = o.modelValue ?? {};
320
+ const d = $.modelValue ?? {};
321
321
  d.address ?? (d.address = {}), d.address.postcode = e, i("update:modelValue", d);
322
322
  }
323
323
  }), h = E({
324
324
  get() {
325
325
  var e, d;
326
- return ((d = (e = o.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.state) ?? "";
326
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.state) ?? "";
327
327
  },
328
328
  set(e) {
329
- const d = o.modelValue ?? {};
329
+ const d = $.modelValue ?? {};
330
330
  d.address ?? (d.address = {}), d.address.state = e, i("update:modelValue", d);
331
331
  }
332
332
  }), N = E({
333
333
  get() {
334
334
  var e, d;
335
- return ((d = (e = o.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.country) ?? "";
335
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.country) ?? "";
336
336
  },
337
337
  set(e) {
338
- const d = o.modelValue ?? {};
338
+ const d = $.modelValue ?? {};
339
339
  d.address ?? (d.address = {}), d.address.country = e, i("update:modelValue", d);
340
340
  }
341
- }), y = E({
341
+ }), f = E({
342
342
  get() {
343
343
  var e;
344
- return ((e = o.modelValue) == null ? void 0 : e.contactName) ?? "";
344
+ return ((e = $.modelValue) == null ? void 0 : e.contactName) ?? "";
345
345
  },
346
346
  set(e) {
347
- const d = o.modelValue ?? {};
347
+ const d = $.modelValue ?? {};
348
348
  d.contactName = e, i("update:modelValue", d);
349
349
  }
350
350
  }), g = E({
351
351
  get() {
352
352
  var e;
353
- return ((e = o.modelValue) == null ? void 0 : e.phoneNumber) ?? "";
353
+ return ((e = $.modelValue) == null ? void 0 : e.phoneNumber) ?? "";
354
354
  },
355
355
  set(e) {
356
- const d = o.modelValue ?? {};
356
+ const d = $.modelValue ?? {};
357
357
  d.phoneNumber = e, i("update:modelValue", d);
358
358
  }
359
359
  }), I = E({
360
360
  get() {
361
361
  var e;
362
- return ((e = o.modelValue) == null ? void 0 : e.email) ?? "";
362
+ return ((e = $.modelValue) == null ? void 0 : e.email) ?? "";
363
363
  },
364
364
  set(e) {
365
- const d = o.modelValue ?? {};
365
+ const d = $.modelValue ?? {};
366
366
  d.email = e, i("update:modelValue", d);
367
367
  }
368
- }), B = E({
368
+ }), D = E({
369
369
  get() {
370
370
  var d;
371
- return (((d = o.modelValue) == null ? void 0 : d.supplyItems) ?? []).filter((z) => l.value[z.skuId]);
371
+ return (((d = $.modelValue) == null ? void 0 : d.supplyItems) ?? []).filter((Y) => a.value[Y.skuId]);
372
372
  },
373
373
  set(e) {
374
- const d = o.modelValue ?? {};
374
+ const d = $.modelValue ?? {};
375
375
  d.supplyItems = e, i("update:modelValue", d);
376
376
  }
377
377
  }), k = F();
378
- return $({
378
+ return t({
379
379
  validateInputs: () => {
380
380
  var e, d;
381
381
  (d = (e = k.value) == null ? void 0 : e.validateInputs) == null || d.call(e);
@@ -389,122 +389,122 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
389
389
  (d = (e = k.value) == null ? void 0 : e.resetInputs) == null || d.call(e);
390
390
  }
391
391
  }), (e, d) => {
392
- const z = w("FmChip"), V = w("FmTextField"), T = w("FmPhoneNumber"), rd = w("FmForm");
392
+ const Y = w("FmChip"), M = w("FmTextField"), T = w("FmPhoneNumber"), rd = w("FmForm");
393
393
  return x(), G(rd, {
394
394
  ref_key: "formRef",
395
395
  ref: k,
396
396
  onValidationSuccess: d[12] || (d[12] = (_) => i("validation-success"))
397
397
  }, {
398
- default: U(() => [
398
+ default: B(() => [
399
399
  c("div", I0, [
400
400
  c("div", R0, [
401
- m.value ? (x(), P("div", T0, [
402
- C(z, {
401
+ y.value ? (x(), P("div", T0, [
402
+ C(Y, {
403
403
  label: "Business supplier",
404
404
  compact: ""
405
405
  })
406
406
  ])) : H("", !0),
407
- C(V, {
407
+ C(M, {
408
408
  disabled: e.disabled,
409
- rules: [a(L)()],
409
+ rules: [n(U)()],
410
410
  "label-mark": "required",
411
- label: a(s)("inventory.supplier.companyName"),
411
+ label: n(s)("inventory.supplier.companyName"),
412
412
  modelValue: p.value,
413
413
  "onUpdate:modelValue": d[0] || (d[0] = (_) => p.value = _)
414
414
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
415
- C(V, {
415
+ C(M, {
416
416
  disabled: e.disabled,
417
- rules: [a(L)()],
417
+ rules: [n(U)()],
418
418
  "label-mark": "required",
419
- label: a(s)("inventory.supplier.registrationNo"),
420
- modelValue: f.value,
421
- "onUpdate:modelValue": d[1] || (d[1] = (_) => f.value = _)
419
+ label: n(s)("inventory.supplier.registrationNo"),
420
+ modelValue: v.value,
421
+ "onUpdate:modelValue": d[1] || (d[1] = (_) => v.value = _)
422
422
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
423
423
  ]),
424
424
  c("div", w0, [
425
- c("div", k0, R(a(s)("inventory.supplier.address.title")), 1),
425
+ c("div", k0, R(n(s)("inventory.supplier.address.title")), 1),
426
426
  c("div", F0, [
427
- C(V, {
427
+ C(M, {
428
428
  disabled: e.disabled,
429
- rules: [a(L)()],
429
+ rules: [n(U)()],
430
430
  "label-mark": "required",
431
- label: a(s)("inventory.supplier.address.line1"),
431
+ label: n(s)("inventory.supplier.address.line1"),
432
432
  modelValue: b.value,
433
433
  "onUpdate:modelValue": d[2] || (d[2] = (_) => b.value = _)
434
434
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
435
- C(V, {
435
+ C(M, {
436
436
  disabled: e.disabled,
437
437
  "label-mark": "optional",
438
- label: a(s)("inventory.supplier.address.line2"),
438
+ label: n(s)("inventory.supplier.address.line2"),
439
439
  modelValue: u.value,
440
440
  "onUpdate:modelValue": d[3] || (d[3] = (_) => u.value = _)
441
441
  }, null, 8, ["disabled", "label", "modelValue"]),
442
- C(V, {
442
+ C(M, {
443
443
  disabled: e.disabled,
444
- rules: [a(L)()],
444
+ rules: [n(U)()],
445
445
  "label-mark": "required",
446
- label: a(s)("inventory.supplier.address.city"),
447
- modelValue: M.value,
448
- "onUpdate:modelValue": d[4] || (d[4] = (_) => M.value = _)
446
+ label: n(s)("inventory.supplier.address.city"),
447
+ modelValue: V.value,
448
+ "onUpdate:modelValue": d[4] || (d[4] = (_) => V.value = _)
449
449
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
450
- C(V, {
450
+ C(M, {
451
451
  disabled: e.disabled,
452
- rules: [a(L)()],
452
+ rules: [n(U)()],
453
453
  "label-mark": "required",
454
- label: a(s)("inventory.supplier.address.postcode"),
454
+ label: n(s)("inventory.supplier.address.postcode"),
455
455
  modelValue: S.value,
456
456
  "onUpdate:modelValue": d[5] || (d[5] = (_) => S.value = _)
457
457
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
458
- C(V, {
458
+ C(M, {
459
459
  disabled: e.disabled,
460
- rules: [a(L)()],
460
+ rules: [n(U)()],
461
461
  "label-mark": "required",
462
- label: a(s)("inventory.supplier.address.state"),
462
+ label: n(s)("inventory.supplier.address.state"),
463
463
  modelValue: h.value,
464
464
  "onUpdate:modelValue": d[6] || (d[6] = (_) => h.value = _)
465
465
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
466
- C(V, {
466
+ C(M, {
467
467
  disabled: e.disabled,
468
- rules: [a(L)()],
468
+ rules: [n(U)()],
469
469
  "label-mark": "required",
470
- label: a(s)("inventory.supplier.address.country"),
470
+ label: n(s)("inventory.supplier.address.country"),
471
471
  modelValue: N.value,
472
472
  "onUpdate:modelValue": d[7] || (d[7] = (_) => N.value = _)
473
473
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
474
474
  ])
475
475
  ]),
476
476
  c("div", B0, [
477
- c("div", D0, R(a(s)("inventory.supplier.contact.title")), 1),
478
- c("div", U0, [
479
- C(V, {
477
+ c("div", D0, R(n(s)("inventory.supplier.contact.title")), 1),
478
+ c("div", L0, [
479
+ C(M, {
480
480
  disabled: e.disabled,
481
- rules: [a(L)()],
481
+ rules: [n(U)()],
482
482
  "label-mark": "required",
483
- label: a(s)("inventory.supplier.contact.pic"),
484
- modelValue: y.value,
485
- "onUpdate:modelValue": d[8] || (d[8] = (_) => y.value = _)
483
+ label: n(s)("inventory.supplier.contact.pic"),
484
+ modelValue: f.value,
485
+ "onUpdate:modelValue": d[8] || (d[8] = (_) => f.value = _)
486
486
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
487
487
  C(T, {
488
488
  disabled: e.disabled,
489
- rules: [a(L)()],
489
+ rules: [n(U)()],
490
490
  "label-mark": "required",
491
- label: a(s)("inventory.supplier.contact.phoneNumber"),
491
+ label: n(s)("inventory.supplier.contact.phoneNumber"),
492
492
  modelValue: g.value,
493
493
  "onUpdate:modelValue": d[9] || (d[9] = (_) => g.value = _)
494
494
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
495
- C(V, {
495
+ C(M, {
496
496
  disabled: e.disabled,
497
497
  "label-mark": "optional",
498
- label: a(s)("inventory.supplier.contact.email"),
498
+ label: n(s)("inventory.supplier.contact.email"),
499
499
  modelValue: I.value,
500
500
  "onUpdate:modelValue": d[10] || (d[10] = (_) => I.value = _)
501
501
  }, null, 8, ["disabled", "label", "modelValue"])
502
502
  ])
503
503
  ]),
504
- a(v).enableTotalCost ? (x(), P("div", L0, [
504
+ n(m).enableTotalCost ? (x(), P("div", U0, [
505
505
  C(P0, {
506
- modelValue: B.value,
507
- "onUpdate:modelValue": d[11] || (d[11] = (_) => B.value = _)
506
+ modelValue: D.value,
507
+ "onUpdate:modelValue": d[11] || (d[11] = (_) => D.value = _)
508
508
  }, null, 8, ["modelValue"])
509
509
  ])) : H("", !0)
510
510
  ])
@@ -515,8 +515,8 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
515
515
  }
516
516
  }), H0 = {
517
517
  key: 0,
518
- class: "mt-5"
519
- }, K0 = { class: "flex gap-4" }, O0 = /* @__PURE__ */ Z({
518
+ class: "mt-5 flex flex-col gap-4"
519
+ }, O0 = { class: "flex gap-4" }, K0 = /* @__PURE__ */ z({
520
520
  __name: "SupplierDialog",
521
521
  props: {
522
522
  mode: {},
@@ -524,145 +524,147 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
524
524
  show: { type: Boolean }
525
525
  },
526
526
  emits: ["update:show", "submitted"],
527
- setup(r, { expose: $, emit: t }) {
528
- const o = ad(), i = r, v = t, n = F(!1), l = od(), { t: s } = O(), A = q(), m = E(() => {
527
+ setup(r, { expose: t, emit: o }) {
528
+ const $ = ad(), i = r, m = o, l = F(!1), a = od(), { t: s } = K(), A = q(), y = E(() => {
529
529
  switch (i.mode) {
530
- case D.READ:
530
+ case L.READ:
531
531
  return "";
532
- case D.UPDATE:
532
+ case L.UPDATE:
533
533
  return s("inventory.supplier.update.title");
534
- case D.CREATE:
534
+ case L.CREATE:
535
535
  return s("inventory.supplier.create.title");
536
536
  }
537
537
  return "";
538
538
  }), p = E(() => {
539
539
  switch (i.mode) {
540
- case D.READ:
540
+ case L.READ:
541
541
  return "";
542
- case D.UPDATE:
542
+ case L.UPDATE:
543
543
  return s("common.save");
544
- case D.CREATE:
544
+ case L.CREATE:
545
545
  return s("common.add");
546
546
  }
547
547
  return "";
548
- }), f = F();
549
- $({
548
+ }), v = F();
549
+ t({
550
550
  validateInputs: () => {
551
- var y, g;
552
- (g = (y = f.value) == null ? void 0 : y.validateInputs) == null || g.call(y);
551
+ var f, g;
552
+ (g = (f = v.value) == null ? void 0 : f.validateInputs) == null || g.call(f);
553
553
  },
554
554
  resetInputsValidation: () => {
555
- var y, g;
556
- (g = (y = f.value) == null ? void 0 : y.resetInputsValidation) == null || g.call(y);
555
+ var f, g;
556
+ (g = (f = v.value) == null ? void 0 : f.resetInputsValidation) == null || g.call(f);
557
557
  },
558
558
  resetInputs: () => {
559
- var y, g;
560
- (g = (y = f.value) == null ? void 0 : y.resetInputs) == null || g.call(y);
559
+ var f, g;
560
+ (g = (f = v.value) == null ? void 0 : f.resetInputs) == null || g.call(f);
561
561
  }
562
562
  });
563
563
  const b = Pd(i, "show"), u = Pd(i, "supplier");
564
- function M() {
565
- var y, g;
566
- (g = (y = f.value) == null ? void 0 : y.validateInputs) == null || g.call(y);
564
+ function V() {
565
+ var f, g;
566
+ (g = (f = v.value) == null ? void 0 : f.validateInputs) == null || g.call(f);
567
567
  }
568
568
  function S() {
569
569
  switch (i.mode) {
570
- case D.READ:
570
+ case L.READ:
571
571
  return;
572
- case D.UPDATE:
572
+ case L.UPDATE:
573
573
  return N();
574
- case D.CREATE:
574
+ case L.CREATE:
575
575
  return h();
576
576
  }
577
577
  }
578
578
  async function h() {
579
- n.value = !0;
579
+ l.value = !0;
580
580
  try {
581
581
  await Promise.all([
582
582
  A.createSupplier(u.value),
583
- new Promise((y) => setTimeout(y, 1e3))
584
- ]), l.open({
583
+ new Promise((f) => setTimeout(f, 1e3))
584
+ ]), a.open({
585
585
  title: s("inventory.common.success"),
586
586
  message: s("inventory.supplier.create.success", { name: u.value.name }),
587
587
  type: "success"
588
- }), v("update:show", !1), v("submitted");
589
- } catch (y) {
590
- l.open({
588
+ }), m("update:show", !1), m("submitted");
589
+ } catch (f) {
590
+ a.open({
591
591
  title: "Something went wrong",
592
592
  message: `Cannot create ${u.value.name} supplier. Please try again`,
593
593
  type: "error"
594
- }), console.error("cannot create supplier", y);
594
+ }), console.error("cannot create supplier", f);
595
595
  } finally {
596
- n.value = !1;
596
+ l.value = !1;
597
597
  }
598
598
  }
599
599
  async function N() {
600
600
  if (u.value === null) {
601
- l.open({
601
+ a.open({
602
602
  title: s("inventory.supplier.update.error.title"),
603
603
  message: s("inventory.supplier.update.error.emptySupplier"),
604
604
  type: "error"
605
605
  });
606
606
  return;
607
607
  }
608
- n.value = !0;
608
+ l.value = !0;
609
609
  try {
610
610
  await Promise.all([
611
611
  A.updateSupplier(u.value),
612
- new Promise((y) => setTimeout(y, 1e3))
613
- ]), l.open({
612
+ new Promise((f) => setTimeout(f, 1e3))
613
+ ]), a.open({
614
614
  title: s("inventory.common.success"),
615
615
  message: s("inventory.supplier.update.success", { name: u.value.name }),
616
616
  type: "success"
617
- }), v("update:show", !1), v("submitted");
618
- } catch (y) {
619
- l.open({
617
+ }), m("update:show", !1), m("submitted");
618
+ } catch (f) {
619
+ a.open({
620
620
  title: s("inventory.supplier.update.error.title"),
621
621
  message: s("inventory.supplier.update.error.message"),
622
622
  type: "error"
623
- }), console.error("cannot update supplier", y);
623
+ }), console.error("cannot update supplier", f);
624
624
  } finally {
625
- n.value = !1;
625
+ l.value = !1;
626
626
  }
627
627
  }
628
- return (y, g) => {
629
- const I = w("FmTextField"), B = w("FmButton"), k = w("FmSideSheet");
630
- return x(), G(k, {
631
- header: m.value,
632
- modelValue: a(b),
633
- "onUpdate:modelValue": g[1] || (g[1] = (e) => Nd(b) ? b.value = e : null),
634
- "dismiss-away": !n.value,
628
+ return (f, g) => {
629
+ const I = w("FmLabel"), D = w("FmField"), k = w("FmButton"), e = w("FmSideSheet");
630
+ return x(), G(e, {
631
+ header: y.value,
632
+ modelValue: n(b),
633
+ "onUpdate:modelValue": g[1] || (g[1] = (d) => Nd(b) ? b.value = d : null),
634
+ "dismiss-away": !l.value,
635
635
  "close-button": "",
636
636
  "max-width": 500
637
637
  }, {
638
- default: U(() => {
639
- var e;
638
+ default: B(() => {
639
+ var d;
640
640
  return [
641
641
  (x(), G(G0, {
642
642
  class: "w-full",
643
643
  ref_key: "formRef",
644
- ref: f,
645
- modelValue: a(u),
646
- "onUpdate:modelValue": g[0] || (g[0] = (d) => Nd(u) ? u.value = d : null),
644
+ ref: v,
645
+ modelValue: n(u),
646
+ "onUpdate:modelValue": g[0] || (g[0] = (Y) => Nd(u) ? u.value = Y : null),
647
647
  onValidationSuccess: S,
648
- key: ((e = y.supplier) == null ? void 0 : e._id) ?? "",
649
- disabled: n.value
648
+ key: ((d = f.supplier) == null ? void 0 : d._id) ?? "",
649
+ disabled: l.value
650
650
  }, null, 8, ["modelValue", "disabled"])),
651
- a(o).isEnabled ? (x(), P("div", H0, [
652
- C(I, {
653
- disabled: !0,
654
- label: "NetSuite Subsidiary",
655
- "model-value": a(o).getVendorSubsidiaryName(a(u)._id)
656
- }, null, 8, ["model-value"])
651
+ n($).isEnabled && n($).getVendorSubsidiaryName(n(u)._id) ? (x(), P("div", H0, [
652
+ C(I, { label: "NetSuite Subsidiary" }),
653
+ C(D, null, {
654
+ default: B(() => [
655
+ kd(R(n($).getVendorSubsidiaryName(n(u)._id)), 1)
656
+ ]),
657
+ _: 1
658
+ })
657
659
  ])) : H("", !0)
658
660
  ];
659
661
  }),
660
- "side-sheet-footer": U(() => [
661
- c("div", K0, [
662
- C(B, {
663
- loading: n.value,
662
+ "side-sheet-footer": B(() => [
663
+ c("div", O0, [
664
+ C(k, {
665
+ loading: l.value,
664
666
  label: p.value,
665
- onClick: M
667
+ onClick: V
666
668
  }, null, 8, ["loading", "label"])
667
669
  ])
668
670
  ]),
@@ -671,47 +673,47 @@ const f0 = { class: "flex flex-col gap-12" }, v0 = { class: "flex flex-col" }, b
671
673
  };
672
674
  }
673
675
  }), Y0 = { 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}"]]] } };
674
- function W0(r, $) {
675
- var t = Array.prototype.slice.call($);
676
- return t.push(Y0), r.apply(this, t);
676
+ function W0(r, t) {
677
+ var o = Array.prototype.slice.call(t);
678
+ return o.push(Y0), r.apply(this, o);
677
679
  }
678
- function Id(r, $) {
679
- var t = Object.keys(r);
680
+ function Id(r, t) {
681
+ var o = Object.keys(r);
680
682
  if (Object.getOwnPropertySymbols) {
681
- var o = Object.getOwnPropertySymbols(r);
682
- $ && (o = o.filter(function(i) {
683
+ var $ = Object.getOwnPropertySymbols(r);
684
+ t && ($ = $.filter(function(i) {
683
685
  return Object.getOwnPropertyDescriptor(r, i).enumerable;
684
- })), t.push.apply(t, o);
686
+ })), o.push.apply(o, $);
685
687
  }
686
- return t;
688
+ return o;
687
689
  }
688
690
  function Rd(r) {
689
- for (var $ = 1; $ < arguments.length; $++) {
690
- var t = arguments[$] != null ? arguments[$] : {};
691
- $ % 2 ? Id(Object(t), !0).forEach(function(o) {
692
- Z0(r, o, t[o]);
693
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : Id(Object(t)).forEach(function(o) {
694
- Object.defineProperty(r, o, Object.getOwnPropertyDescriptor(t, o));
691
+ for (var t = 1; t < arguments.length; t++) {
692
+ var o = arguments[t] != null ? arguments[t] : {};
693
+ t % 2 ? Id(Object(o), !0).forEach(function($) {
694
+ Z0(r, $, o[$]);
695
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(o)) : Id(Object(o)).forEach(function($) {
696
+ Object.defineProperty(r, $, Object.getOwnPropertyDescriptor(o, $));
695
697
  });
696
698
  }
697
699
  return r;
698
700
  }
699
- function Z0(r, $, t) {
700
- return $ in r ? Object.defineProperty(r, $, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[$] = t, r;
701
+ function Z0(r, t, o) {
702
+ return t in r ? Object.defineProperty(r, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = o, r;
701
703
  }
702
- function z0(r, $, t) {
703
- $ && $.defaultCountry && !i0($.defaultCountry, t) && ($ = Rd(Rd({}, $), {}, {
704
+ function z0(r, t, o) {
705
+ t && t.defaultCountry && !i0(t.defaultCountry, o) && (t = Rd(Rd({}, t), {}, {
704
706
  defaultCountry: void 0
705
707
  }));
706
708
  try {
707
- return u0(r, $, t);
708
- } catch (o) {
709
- if (!(o instanceof p0)) throw o;
709
+ return u0(r, t, o);
710
+ } catch ($) {
711
+ if (!($ instanceof p0)) throw $;
710
712
  }
711
713
  }
712
714
  function J0() {
713
- var r = c0(arguments), $ = r.text, t = r.options, o = r.metadata;
714
- return z0($, t, o);
715
+ var r = c0(arguments), t = r.text, o = r.options, $ = r.metadata;
716
+ return z0(t, o, $);
715
717
  }
716
718
  function q0() {
717
719
  return W0(J0, arguments);
@@ -732,7 +734,7 @@ function j0(r) {
732
734
  picEmail: r.email ?? ""
733
735
  };
734
736
  }
735
- function Gd() {
737
+ function Hd() {
736
738
  return [
737
739
  {
738
740
  id: "id",
@@ -825,39 +827,39 @@ function Q0() {
825
827
  ];
826
828
  }
827
829
  function X0() {
828
- const r = td(), $ = q(), o = (r.businessLevel ? $.businessSuppliers : $.locationSuppliers).map(j0), v = ld().currentBusiness.value, n = Gd(), l = [
829
- ["Business name:", v == null ? void 0 : v.name],
830
- ["Business ID:", v == null ? void 0 : v._id],
831
- ["Menu version", v == null ? void 0 : v.menuVersion],
830
+ const r = td(), t = q(), $ = (r.businessLevel ? t.businessSuppliers : t.locationSuppliers).map(j0), m = ld().currentBusiness.value, l = Hd(), a = [
831
+ ["Business name:", m == null ? void 0 : m.name],
832
+ ["Business ID:", m == null ? void 0 : m._id],
833
+ ["Menu version", m == null ? void 0 : m.menuVersion],
832
834
  [],
833
- n.map((p) => p.name),
834
- ...o.map((p) => n.map((f) => p[f.id]))
835
- ], s = n.map((p) => `system:${p.id}`), A = Ud(l, s), m = `${v == null ? void 0 : v.name} suppliers (${a0(/* @__PURE__ */ new Date())}).xlsx`;
836
- return Ld(A, m), m;
835
+ l.map((p) => p.name),
836
+ ...$.map((p) => l.map((v) => p[v.id]))
837
+ ], s = l.map((p) => `system:${p.id}`), A = Ud(a, s), y = `${m == null ? void 0 : m.name} suppliers (${a0(/* @__PURE__ */ new Date())}).xlsx`;
838
+ return Gd(A, y), y;
837
839
  }
838
840
  function d1() {
839
- const $ = ld().currentBusiness.value, t = Gd(), o = [
840
- ["Business name:", $ == null ? void 0 : $.name],
841
- ["Business ID:", $ == null ? void 0 : $._id],
842
- ["Menu version", $ == null ? void 0 : $.menuVersion],
841
+ const t = ld().currentBusiness.value, o = Hd(), $ = [
842
+ ["Business name:", t == null ? void 0 : t.name],
843
+ ["Business ID:", t == null ? void 0 : t._id],
844
+ ["Menu version", t == null ? void 0 : t.menuVersion],
843
845
  [],
844
- t.map((l) => l.name)
845
- ], i = t.map((l) => `system:${l.id}`), v = Ud(o, i), n = "FeedMe supplier template.xlsx";
846
- return Ld(v, n), n;
846
+ o.map((a) => a.name)
847
+ ], i = o.map((a) => `system:${a.id}`), m = Ud($, i), l = "FeedMe supplier template.xlsx";
848
+ return Gd(m, l), l;
847
849
  }
848
850
  function e1(r) {
849
851
  const [
850
- $,
851
852
  t,
852
853
  o,
854
+ $,
853
855
  i,
854
- v,
855
- n,
856
- ...l
856
+ m,
857
+ l,
858
+ ...a
857
859
  ] = n0(r);
858
- if (!$ || !$.length || $.some((f) => f.length && !f.startsWith("system:")))
860
+ if (!t || !t.length || t.some((v) => v.length && !v.startsWith("system:")))
859
861
  throw new Error("Missing meta header. Excel file does not come from the template.");
860
- const s = $.map((f) => f.split(":")[1]), m = [
862
+ const s = t.map((v) => v.split(":")[1]), y = [
861
863
  "id",
862
864
  "name",
863
865
  "regNo",
@@ -868,16 +870,16 @@ function e1(r) {
868
870
  "addressCountry",
869
871
  "picName",
870
872
  "picPhoneNumber"
871
- ].filter((f) => !s.includes(f));
872
- if (m.length)
873
+ ].filter((v) => !s.includes(v));
874
+ if (y.length)
873
875
  throw new Error(
874
- `Missing meta headers (${m.join()}). Excel file does not come from the template.`
876
+ `Missing meta headers (${y.join()}). Excel file does not come from the template.`
875
877
  );
876
- return l.map((f, b) => {
878
+ return a.map((v, b) => {
877
879
  const u = {};
878
- for (const M in s) {
879
- const S = s[M];
880
- Object.assign(u, { [S]: f[M] });
880
+ for (const V in s) {
881
+ const S = s[V];
882
+ Object.assign(u, { [S]: v[V] });
881
883
  }
882
884
  return {
883
885
  index: b,
@@ -885,10 +887,10 @@ function e1(r) {
885
887
  };
886
888
  });
887
889
  }
888
- function Td(r, $) {
889
- var n;
890
- const t = new Array(), i = Q0().filter((l) => !`${r[l.id] || ""}`.trim().length);
891
- return i.length && t.push(`Missing required values: ${i.map((l) => l.name).join(", ")}`), (n = q0(r.picPhoneNumber)) == null || n.isValid(), {
890
+ function Td(r, t) {
891
+ var l;
892
+ const o = new Array(), i = Q0().filter((a) => !`${r[a.id] || ""}`.trim().length);
893
+ return i.length && o.push(`Missing required values: ${i.map((a) => a.name).join(", ")}`), (l = q0(r.picPhoneNumber)) == null || l.isValid(), {
892
894
  type: "create",
893
895
  supplier: {
894
896
  _id: "",
@@ -906,15 +908,15 @@ function Td(r, $) {
906
908
  phoneNumber: r.picPhoneNumber,
907
909
  email: r.picEmail
908
910
  },
909
- errors: t,
910
- excelRowNumber: $ + 6
911
+ errors: o,
912
+ excelRowNumber: t + 6
911
913
  };
912
914
  }
913
915
  function $1(r) {
914
916
  try {
915
- const $ = e1(r).filter((m) => m.data.name), t = td(), o = q(), i = t.businessLevel ? o.businessSuppliers : o.locationSuppliers, v = Bd(i, "_id"), n = $.filter((m) => !m.data.id), l = $.filter((m) => m.data.id), s = n.map((m) => Td(m.data, m.index)), A = l.map((m) => {
916
- const p = Td(m.data, m.index), f = v[m.data.id];
917
- if (!f)
917
+ const t = e1(r).filter((y) => y.data.name), o = td(), $ = q(), i = o.businessLevel ? $.businessSuppliers : $.locationSuppliers, m = Dd(i, "_id"), l = t.filter((y) => !y.data.id), a = t.filter((y) => y.data.id), s = l.map((y) => Td(y.data, y.index)), A = a.map((y) => {
918
+ const p = Td(y.data, y.index), v = m[y.data.id];
919
+ if (!v)
918
920
  return {
919
921
  ...p,
920
922
  type: "update",
@@ -922,20 +924,20 @@ function $1(r) {
922
924
  supplier: p.supplier,
923
925
  errors: [
924
926
  ...p.errors,
925
- `Cannot find supplier id ${m.data.id} in the system. Reexport supplier excel to obtain the correct value.`
927
+ `Cannot find supplier id ${y.data.id} in the system. Reexport supplier excel to obtain the correct value.`
926
928
  ]
927
929
  };
928
- const b = $.filter(
929
- (M) => M.index !== m.index && M.data.id === f._id
930
+ const b = t.filter(
931
+ (V) => V.index !== y.index && V.data.id === v._id
930
932
  );
931
933
  return b.length > 1 && p.errors.push(
932
- `ID ${f._id} is already used in row ${b.map((M) => M.index + 6).join()}.`
934
+ `ID ${v._id} is already used in row ${b.map((V) => V.index + 6).join()}.`
933
935
  ), {
934
936
  ...p,
935
937
  type: "update",
936
- original: f,
938
+ original: v,
937
939
  supplier: {
938
- ...f,
940
+ ...v,
939
941
  name: p.supplier.name,
940
942
  address: {
941
943
  line2: p.supplier.address.line2,
@@ -954,10 +956,10 @@ function $1(r) {
954
956
  importCreateResult: s,
955
957
  importUpdateResult: A
956
958
  };
957
- } catch ($) {
959
+ } catch (t) {
958
960
  return {
959
961
  invalidExcel: !0,
960
- invalidExcelMessage: ($ == null ? void 0 : $.message) ?? "Invalid excel",
962
+ invalidExcelMessage: (t == null ? void 0 : t.message) ?? "Invalid excel",
961
963
  importCreateResult: [],
962
964
  importUpdateResult: []
963
965
  };
@@ -966,7 +968,7 @@ function $1(r) {
966
968
  const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-col" }, r1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, s1 = {
967
969
  key: 0,
968
970
  class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400"
969
- }, n1 = { key: 0 }, wd = /* @__PURE__ */ Z({
971
+ }, n1 = { key: 0 }, wd = /* @__PURE__ */ z({
970
972
  __name: "SupplierImportItem",
971
973
  props: {
972
974
  type: {},
@@ -975,29 +977,29 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
975
977
  errors: {}
976
978
  },
977
979
  setup(r) {
978
- const { t: $ } = O();
979
- return (t, o) => {
980
- const i = w("FmIcon"), v = w("FmTooltip");
980
+ const { t } = K();
981
+ return (o, $) => {
982
+ const i = w("FmIcon"), m = w("FmTooltip");
981
983
  return x(), P("div", t1, [
982
- o[0] || (o[0] = c("div", null, "•", -1)),
984
+ $[0] || ($[0] = c("div", null, "•", -1)),
983
985
  c("div", o1, [
984
986
  c("div", r1, [
985
987
  c("div", {
986
- class: W({
987
- "text-fm-color-system-error-300": t.errors.length
988
+ class: Z({
989
+ "text-fm-color-system-error-300": o.errors.length
988
990
  })
989
991
  }, [
990
- Od(R(t.name) + " ", 1),
991
- t.type === "create" ? (x(), P("span", s1, "(" + R(a($)("inventory.closing.template.import.new")) + ")", 1)) : H("", !0)
992
+ kd(R(o.name) + " ", 1),
993
+ o.type === "create" ? (x(), P("span", s1, "(" + R(n(t)("inventory.closing.template.import.new")) + ")", 1)) : H("", !0)
992
994
  ], 2),
993
- t.errors.length ? (x(), P("div", n1, [
994
- C(v, { "z-index": 50 }, {
995
- content: U(() => [
995
+ o.errors.length ? (x(), P("div", n1, [
996
+ C(m, { "z-index": 50 }, {
997
+ content: B(() => [
996
998
  c("ol", null, [
997
- (x(!0), P(Y, null, J(t.errors, (n, l) => (x(), P("li", { key: l }, R(n), 1))), 128))
999
+ (x(!0), P(W, null, J(o.errors, (l, a) => (x(), P("li", { key: a }, R(l), 1))), 128))
998
1000
  ])
999
1001
  ]),
1000
- default: U(() => [
1002
+ default: B(() => [
1001
1003
  C(i, {
1002
1004
  name: "error",
1003
1005
  size: "sm",
@@ -1009,14 +1011,14 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1009
1011
  ])) : H("", !0)
1010
1012
  ]),
1011
1013
  c("div", {
1012
- class: W([
1014
+ class: Z([
1013
1015
  "fm-typo-en-body-sm-400",
1014
1016
  {
1015
- "text-fm-color-system-error-200": t.errors.length,
1016
- "text-fm-color-typo-secondary": !t.errors.length
1017
+ "text-fm-color-system-error-200": o.errors.length,
1018
+ "text-fm-color-typo-secondary": !o.errors.length
1017
1019
  }
1018
1020
  ])
1019
- }, R(t.pic), 3)
1021
+ }, R(o.pic), 3)
1020
1022
  ])
1021
1023
  ]);
1022
1024
  };
@@ -1033,83 +1035,83 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1033
1035
  }, f1 = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, v1 = {
1034
1036
  key: 0,
1035
1037
  class: "max-h-[200px] overflow-y-auto flex flex-col gap-8"
1036
- }, b1 = { class: "fm-typo-en-body-lg-600" }, g1 = /* @__PURE__ */ Z({
1038
+ }, b1 = { class: "fm-typo-en-body-lg-600" }, g1 = /* @__PURE__ */ z({
1037
1039
  __name: "SupplierImport",
1038
1040
  setup(r) {
1039
- const $ = F(null), t = Qd(), o = od(), i = F(!1), v = F(!1), n = F(new Array()), l = F([]), s = F([]), A = E(
1040
- () => !!n.value.length || l.value.some((b) => b.errors.length) || s.value.some((b) => b.errors.length)
1041
- ), m = E(
1042
- () => !!l.value.length || !!s.value.length
1043
- ), { t: p } = O();
1044
- async function f(b) {
1045
- n.value = [], l.value = [], s.value = [];
1041
+ const t = F(null), o = Qd(), $ = od(), i = F(!1), m = F(!1), l = F(new Array()), a = F([]), s = F([]), A = E(
1042
+ () => !!l.value.length || a.value.some((b) => b.errors.length) || s.value.some((b) => b.errors.length)
1043
+ ), y = E(
1044
+ () => !!a.value.length || !!s.value.length
1045
+ ), { t: p } = K();
1046
+ async function v(b) {
1047
+ l.value = [], a.value = [], s.value = [];
1046
1048
  try {
1047
1049
  i.value = !0;
1048
1050
  const [u] = await Promise.all([
1049
1051
  l0(b),
1050
1052
  // fake buffer
1051
1053
  new Promise((h) => setTimeout(h, 1e3))
1052
- ]), M = u.SheetNames.find((h) => h);
1053
- if (!M) {
1054
- n.value.push(p("inventory.ingredient.import.fileError.noSheet"));
1054
+ ]), V = u.SheetNames.find((h) => h);
1055
+ if (!V) {
1056
+ l.value.push(p("inventory.ingredient.import.fileError.noSheet"));
1055
1057
  return;
1056
1058
  }
1057
- const S = $1(u.Sheets[M]);
1059
+ const S = $1(u.Sheets[V]);
1058
1060
  if (S.invalidExcel) {
1059
- n.value.push(
1061
+ l.value.push(
1060
1062
  S.invalidExcelMessage ?? p("inventory.ingredient.import.fileError.invalidExcel")
1061
1063
  );
1062
1064
  return;
1063
1065
  }
1064
- if (l.value = S.importCreateResult, s.value = S.importUpdateResult, !l.value.length && !s.value.length) {
1065
- n.value.push(p("inventory.ingredient.import.fileError.noData"));
1066
+ if (a.value = S.importCreateResult, s.value = S.importUpdateResult, !a.value.length && !s.value.length) {
1067
+ l.value.push(p("inventory.ingredient.import.fileError.noData"));
1066
1068
  return;
1067
1069
  }
1068
- t.emitData(S);
1070
+ o.emitData(S);
1069
1071
  } catch (u) {
1070
- o.open({
1072
+ $.open({
1071
1073
  title: p("inventory.ingredient.import.fileError.unableToRead"),
1072
1074
  message: u == null ? void 0 : u.message,
1073
1075
  type: "error"
1074
1076
  }), console.error("Error in reading file", u);
1075
1077
  } finally {
1076
- n.value.length && o.open({
1078
+ l.value.length && $.open({
1077
1079
  title: p("inventory.ingredient.import.fileError.invalidExcel"),
1078
1080
  type: "error"
1079
1081
  }), i.value = !1;
1080
1082
  }
1081
1083
  }
1082
- return kd($, (b) => {
1083
- b && f(b);
1084
+ return Fd(t, (b) => {
1085
+ b && v(b);
1084
1086
  }), (b, u) => {
1085
- const M = w("FmCircularProgress"), S = w("FmIcon"), h = w("FmButton");
1087
+ const V = w("FmCircularProgress"), S = w("FmIcon"), h = w("FmButton");
1086
1088
  return x(), P("div", l1, [
1087
- c("div", a1, R(a(p)("inventory.supplier.import.message")), 1),
1088
- v.value ? (x(), P("div", i1, [
1089
+ c("div", a1, R(n(p)("inventory.supplier.import.message")), 1),
1090
+ m.value ? (x(), P("div", i1, [
1089
1091
  c("div", null, [
1090
- C(M, {
1092
+ C(V, {
1091
1093
  size: "md",
1092
1094
  color: "neutral-gray-200"
1093
1095
  })
1094
1096
  ]),
1095
- c("div", u1, R(a(p)("inventory.formField.loading")), 1)
1096
- ])) : (x(), P(Y, { key: 1 }, [
1097
+ c("div", u1, R(n(p)("inventory.formField.loading")), 1)
1098
+ ])) : (x(), P(W, { key: 1 }, [
1097
1099
  C(m0, {
1098
- class: W({
1100
+ class: Z({
1099
1101
  "w-full": !0,
1100
- "h-[200px]": !$.value
1102
+ "h-[200px]": !t.value
1101
1103
  }),
1102
1104
  accept: ".xlsx",
1103
- onFileUpload: u[0] || (u[0] = (N) => $.value = N),
1104
- label: a(p)("inventory.ingredient.import.uploadTemplate"),
1105
- "button-label": a(p)("inventory.ingredient.import.selectFile")
1105
+ onFileUpload: u[0] || (u[0] = (N) => t.value = N),
1106
+ label: n(p)("inventory.ingredient.import.uploadTemplate"),
1107
+ "button-label": n(p)("inventory.ingredient.import.selectFile")
1106
1108
  }, Yd({ _: 2 }, [
1107
- $.value ? {
1109
+ t.value ? {
1108
1110
  name: "default",
1109
- fn: U(({ openFileDialog: N }) => [
1111
+ fn: B(({ openFileDialog: N }) => [
1110
1112
  c("div", p1, [
1111
1113
  c("div", {
1112
- class: W([
1114
+ class: Z([
1113
1115
  "fm-corner-radius-md p-16 flex items-center gap-16",
1114
1116
  {
1115
1117
  "border border-fm-color-neutral-gray-100": i.value,
@@ -1118,7 +1120,7 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1118
1120
  }
1119
1121
  ])
1120
1122
  }, [
1121
- i.value ? (x(), G(M, {
1123
+ i.value ? (x(), G(V, {
1122
1124
  key: 0,
1123
1125
  size: "md",
1124
1126
  color: "neutral-gray-200"
@@ -1129,7 +1131,7 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1129
1131
  color: A.value ? "system-error-300" : void 0
1130
1132
  }, null, 8, ["name", "color"])),
1131
1133
  c("div", {
1132
- class: W([
1134
+ class: Z([
1133
1135
  "fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center",
1134
1136
  {
1135
1137
  "text-fm-color-typo-disabled": i.value,
@@ -1137,19 +1139,19 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1137
1139
  }
1138
1140
  ])
1139
1141
  }, [
1140
- c("div", c1, R($.value.name), 1)
1142
+ c("div", c1, R(t.value.name), 1)
1141
1143
  ], 2),
1142
1144
  i.value ? H("", !0) : (x(), P("div", m1, [
1143
1145
  C(h, {
1144
- label: a(p)("inventory.ingredient.import.replaceFile"),
1146
+ label: n(p)("inventory.ingredient.import.replaceFile"),
1145
1147
  variant: A.value ? "destructive" : "secondary",
1146
1148
  "prepend-icon": A.value ? void 0 : "autorenew",
1147
1149
  onClick: N
1148
1150
  }, null, 8, ["label", "variant", "prepend-icon", "onClick"])
1149
1151
  ]))
1150
1152
  ], 2),
1151
- n.value.length ? (x(), P("div", y1, [
1152
- (x(!0), P(Y, null, J(n.value, (y, g) => (x(), P("div", {
1153
+ l.value.length ? (x(), P("div", y1, [
1154
+ (x(!0), P(W, null, J(l.value, (f, g) => (x(), P("div", {
1153
1155
  key: g,
1154
1156
  class: "flex gap-8 items-center"
1155
1157
  }, [
@@ -1158,7 +1160,7 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1158
1160
  size: "sm",
1159
1161
  color: "system-error-300"
1160
1162
  }),
1161
- c("div", f1, R(y), 1)
1163
+ c("div", f1, R(f), 1)
1162
1164
  ]))), 128))
1163
1165
  ])) : H("", !0)
1164
1166
  ])
@@ -1166,16 +1168,16 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1166
1168
  key: "0"
1167
1169
  } : void 0
1168
1170
  ]), 1032, ["class", "label", "button-label"]),
1169
- m.value ? (x(), P("div", v1, [
1170
- c("div", b1, R(a(p)("inventory.ingredient.import.summary")), 1),
1171
- (x(!0), P(Y, null, J(l.value, (N, y) => (x(), G(wd, {
1172
- key: y,
1171
+ y.value ? (x(), P("div", v1, [
1172
+ c("div", b1, R(n(p)("inventory.ingredient.import.summary")), 1),
1173
+ (x(!0), P(W, null, J(a.value, (N, f) => (x(), G(wd, {
1174
+ key: f,
1173
1175
  name: N.supplier.name,
1174
1176
  pic: N.supplier.contactName ?? "",
1175
1177
  errors: N.errors,
1176
1178
  type: "create"
1177
1179
  }, null, 8, ["name", "pic", "errors"]))), 128)),
1178
- (x(!0), P(Y, null, J(s.value, (N) => (x(), G(wd, {
1180
+ (x(!0), P(W, null, J(s.value, (N) => (x(), G(wd, {
1179
1181
  key: N.supplier._id,
1180
1182
  name: N.supplier.name,
1181
1183
  pic: N.supplier.contactName ?? "",
@@ -1188,114 +1190,114 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1188
1190
  };
1189
1191
  }
1190
1192
  }), S1 = s0("supplierActions", function() {
1191
- const r = q(), $ = id(), { t } = O(), o = od();
1193
+ const r = q(), t = id(), { t: o } = K(), $ = od();
1192
1194
  function i() {
1193
- $.open({
1194
- title: t("inventory.supplier.import.title"),
1195
+ t.open({
1196
+ title: o("inventory.supplier.import.title"),
1195
1197
  contentComponent: g1,
1196
1198
  overlay: !0,
1197
1199
  closeButton: !0,
1198
1200
  primaryActions: {
1199
- text: t("common.import"),
1201
+ text: o("common.import"),
1200
1202
  close: !1
1201
1203
  },
1202
1204
  secondaryActions: {
1203
- text: t("common.close"),
1205
+ text: o("common.close"),
1204
1206
  close: !0
1205
1207
  },
1206
1208
  tertiaryActions: {
1207
- text: t("inventory.supplier.import.actions.downloadTemplate"),
1209
+ text: o("inventory.supplier.import.actions.downloadTemplate"),
1208
1210
  close: !1,
1209
1211
  variant: "plain"
1210
1212
  }
1211
- }).onPrimary((l) => {
1212
- if (!l) {
1213
- o.open({
1214
- title: t("inventory.supplier.import.error.noData"),
1213
+ }).onPrimary((a) => {
1214
+ if (!a) {
1215
+ $.open({
1216
+ title: o("inventory.supplier.import.error.noData"),
1215
1217
  type: "error"
1216
1218
  });
1217
1219
  return;
1218
1220
  }
1219
- if (!l.importCreateResult.length && !l.importUpdateResult.length) {
1220
- o.open({
1221
- title: t("inventory.supplier.import.error.invalidContent"),
1222
- message: t("inventory.supplier.import.error.noImportData"),
1221
+ if (!a.importCreateResult.length && !a.importUpdateResult.length) {
1222
+ $.open({
1223
+ title: o("inventory.supplier.import.error.invalidContent"),
1224
+ message: o("inventory.supplier.import.error.noImportData"),
1223
1225
  type: "error"
1224
1226
  });
1225
1227
  return;
1226
1228
  }
1227
- if (l.importCreateResult.some((s) => s.errors.length) || l.importUpdateResult.some((s) => s.errors.length)) {
1228
- o.open({
1229
- title: t("inventory.supplier.import.error.invalidContent"),
1230
- message: t("inventory.supplier.import.error.hasErrors"),
1229
+ if (a.importCreateResult.some((s) => s.errors.length) || a.importUpdateResult.some((s) => s.errors.length)) {
1230
+ $.open({
1231
+ title: o("inventory.supplier.import.error.invalidContent"),
1232
+ message: o("inventory.supplier.import.error.hasErrors"),
1231
1233
  type: "error"
1232
1234
  });
1233
1235
  return;
1234
1236
  }
1235
- $.close(), n(l);
1237
+ t.close(), l(a);
1236
1238
  }).onTertiary(d1);
1237
1239
  }
1238
- function v() {
1239
- const l = X0();
1240
- o.open({
1241
- title: t("inventory.supplier.export.success"),
1242
- message: t("inventory.supplier.export.filename", [l]),
1240
+ function m() {
1241
+ const a = X0();
1242
+ $.open({
1243
+ title: o("inventory.supplier.export.success"),
1244
+ message: o("inventory.supplier.export.filename", [a]),
1243
1245
  type: "success"
1244
1246
  });
1245
1247
  }
1246
- async function n(l) {
1248
+ async function l(a) {
1247
1249
  try {
1248
1250
  const s = [
1249
- ...l.importCreateResult.map((f) => f.supplier),
1250
- ...l.importUpdateResult.map((f) => f.supplier)
1251
+ ...a.importCreateResult.map((v) => v.supplier),
1252
+ ...a.importUpdateResult.map((v) => v.supplier)
1251
1253
  ], A = 100;
1252
- let m = 0;
1254
+ let y = 0;
1253
1255
  const p = () => {
1254
- m += A, o.open({
1255
- title: t("inventory.supplier.import.progress", [
1256
- Math.min(m, s.length),
1256
+ y += A, $.open({
1257
+ title: o("inventory.supplier.import.progress", [
1258
+ Math.min(y, s.length),
1257
1259
  s.length
1258
1260
  ])
1259
1261
  });
1260
1262
  };
1261
- for (const f of s.chunk(100))
1262
- p(), await r.importSuppliers(f);
1263
- o.open({
1264
- title: t("inventory.supplier.import.success"),
1263
+ for (const v of s.chunk(100))
1264
+ p(), await r.importSuppliers(v);
1265
+ $.open({
1266
+ title: o("inventory.supplier.import.success"),
1265
1267
  type: "success"
1266
1268
  });
1267
1269
  } catch (s) {
1268
- o.open({
1269
- title: t("inventory.supplier.import.error.failed"),
1270
- message: t("inventory.supplier.import.error.systemMessage", [s == null ? void 0 : s.message]),
1270
+ $.open({
1271
+ title: o("inventory.supplier.import.error.failed"),
1272
+ message: o("inventory.supplier.import.error.systemMessage", [s == null ? void 0 : s.message]),
1271
1273
  type: "error"
1272
- }), console.error("Error in importing skus", l, s);
1274
+ }), console.error("Error in importing skus", a, s);
1273
1275
  } finally {
1274
1276
  r.readSuppliers();
1275
1277
  }
1276
1278
  }
1277
1279
  return {
1278
1280
  importSuppliers: i,
1279
- exportSuppliers: v
1281
+ exportSuppliers: m
1280
1282
  };
1281
- }), h1 = { class: "flex flex-col py-8" }, _1 = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, C1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, x1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, M1 = {
1283
+ }), h1 = { class: "flex flex-col py-8" }, _1 = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, C1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, x1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, V1 = {
1282
1284
  key: 0,
1283
1285
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
1284
- }, V1 = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", W1 = /* @__PURE__ */ Z({
1286
+ }, M1 = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", W1 = /* @__PURE__ */ z({
1285
1287
  __name: "SupplierView",
1286
1288
  setup(r) {
1287
- const { importSuppliers: $, exportSuppliers: t } = S1(), o = q(), i = td(), v = Dd(), n = ad(), l = F(!1), s = id(), A = od(), { t: m } = O();
1288
- i.watchLocation(f);
1289
+ const { importSuppliers: t, exportSuppliers: o } = S1(), $ = q(), i = td(), m = Ld(), l = ad(), a = F(!1), s = id(), A = od(), { t: y } = K();
1290
+ i.watchLocation(v);
1289
1291
  const p = E(() => i.businessLevel);
1290
- kd(p, f), Wd(() => {
1291
- v.enableSupplierMasterList || (i.businessLevel = !1);
1292
+ Fd(p, v), Wd(() => {
1293
+ m.enableSupplierMasterList ? m.businessSupplierOnly && (i.businessLevel = !0) : i.businessLevel = !1;
1292
1294
  });
1293
- async function f() {
1295
+ async function v() {
1294
1296
  if (i._currentLocation) {
1295
- l.value = !0;
1297
+ a.value = !0;
1296
1298
  try {
1297
1299
  await Promise.all([
1298
- o.readSuppliers(),
1300
+ $.readSuppliers(),
1299
1301
  new Promise((T) => setTimeout(T, 1e3))
1300
1302
  ]);
1301
1303
  } catch {
@@ -1304,61 +1306,61 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1304
1306
  type: "error"
1305
1307
  });
1306
1308
  } finally {
1307
- l.value = !1;
1309
+ a.value = !1;
1308
1310
  }
1309
1311
  }
1310
1312
  }
1311
1313
  const b = E(
1312
- () => p.value ? o.businessSuppliers : o.locationSuppliers
1314
+ () => p.value ? $.businessSuppliers : $.locationSuppliers
1313
1315
  ), u = F({});
1314
- function M() {
1315
- u.value.mode = D.CREATE, u.value.supplier = {}, u.value.show = !0;
1316
+ function V() {
1317
+ u.value.mode = L.CREATE, u.value.supplier = {}, u.value.show = !0;
1316
1318
  }
1317
- function S(V) {
1318
- u.value.mode = D.UPDATE, u.value.supplier = nd(V), u.value.show = !0;
1319
+ function S(M) {
1320
+ u.value.mode = L.UPDATE, u.value.supplier = nd(M), u.value.show = !0;
1319
1321
  }
1320
- async function h(V) {
1322
+ async function h(M) {
1321
1323
  s.open({
1322
- title: m("inventory.supplier.delete.confirm"),
1323
- message: m("inventory.supplier.delete.confirmMessage", { name: V.name }),
1324
+ title: y("inventory.supplier.delete.confirm"),
1325
+ message: y("inventory.supplier.delete.confirmMessage", { name: M.name }),
1324
1326
  primaryActions: {
1325
- text: m("common.delete"),
1327
+ text: y("common.delete"),
1326
1328
  close: !0,
1327
1329
  variant: "destructive"
1328
1330
  },
1329
1331
  secondaryActions: {
1330
- text: m("common.cancel"),
1332
+ text: y("common.cancel"),
1331
1333
  close: !0
1332
1334
  }
1333
- }).onPrimary(() => N(V));
1335
+ }).onPrimary(() => N(M));
1334
1336
  }
1335
- async function N(V) {
1337
+ async function N(M) {
1336
1338
  s.open({
1337
- title: m("inventory.supplier.deletingSupplier"),
1339
+ title: y("inventory.supplier.deletingSupplier"),
1338
1340
  closeButton: !1
1339
1341
  });
1340
1342
  try {
1341
- await o.deleteSupplier(V), A.open({
1342
- title: m("inventory.supplier.delete.success"),
1343
- message: m("inventory.supplier.delete.successMessage", { name: V == null ? void 0 : V.name }),
1343
+ await $.deleteSupplier(M), A.open({
1344
+ title: y("inventory.supplier.delete.success"),
1345
+ message: y("inventory.supplier.delete.successMessage", { name: M == null ? void 0 : M.name }),
1344
1346
  type: "success"
1345
- }), f();
1347
+ }), v();
1346
1348
  } catch (T) {
1347
1349
  A.open({
1348
- title: m("inventory.supplier.delete.error"),
1349
- message: m("inventory.supplier.delete.errorMessage", { name: V == null ? void 0 : V.name }),
1350
+ title: y("inventory.supplier.delete.error"),
1351
+ message: y("inventory.supplier.delete.errorMessage", { name: M == null ? void 0 : M.name }),
1350
1352
  type: "error"
1351
1353
  }), console.error("failed to delete supplier", T);
1352
1354
  } finally {
1353
1355
  s.close();
1354
1356
  }
1355
1357
  }
1356
- const { columnDefs: y } = y0(S, h);
1357
- function g(V) {
1358
- if (V === "create")
1359
- return M();
1360
- if (V === "import") {
1361
- if (l.value) {
1358
+ const { columnDefs: f } = y0(S, h);
1359
+ function g(M) {
1360
+ if (M === "create")
1361
+ return V();
1362
+ if (M === "import") {
1363
+ if (a.value) {
1362
1364
  A.open({
1363
1365
  title: "Loading data...",
1364
1366
  message: "Please wait.",
@@ -1366,16 +1368,16 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1366
1368
  });
1367
1369
  return;
1368
1370
  }
1369
- return $();
1370
- }
1371
- if (V === "export")
1372
1371
  return t();
1373
- if (V === "refresh")
1374
- return f();
1372
+ }
1373
+ if (M === "export")
1374
+ return o();
1375
+ if (M === "refresh")
1376
+ return v();
1375
1377
  }
1376
- const I = F(""), { breakpoints: B } = Xd(), k = E(() => B.value.xs || B.value.sm), e = E(() => k.value ? 10 : 20), d = d0(), z = E(() => [
1378
+ const I = F(""), { breakpoints: D } = Xd(), k = E(() => D.value.xs || D.value.sm), e = E(() => k.value ? 10 : 20), d = d0(), Y = E(() => [
1377
1379
  {
1378
- label: m("inventory.supplier.create.title"),
1380
+ label: y("inventory.supplier.create.title"),
1379
1381
  value: "create",
1380
1382
  isPrimary: !0,
1381
1383
  prependIcon: "add"
@@ -1396,17 +1398,17 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1396
1398
  isPrimary: !1
1397
1399
  }
1398
1400
  ]);
1399
- return (V, T) => {
1401
+ return (M, T) => {
1400
1402
  const rd = w("FmTable");
1401
1403
  return x(), G(e0, {
1402
- title: a(m)("inventory.supplier.title"),
1403
- actions: z.value,
1404
+ title: n(y)("inventory.supplier.title"),
1405
+ actions: Y.value,
1404
1406
  "onClick:action": g,
1405
- "using-business-helper-text": V1
1407
+ "using-business-helper-text": n(m).businessSupplierOnly ? void 0 : M1
1406
1408
  }, {
1407
- default: U(() => [
1409
+ default: B(() => [
1408
1410
  c("div", {
1409
- class: W([
1411
+ class: Z([
1410
1412
  "flex flex-col gap-8 max-h-full",
1411
1413
  {
1412
1414
  "p-0": k.value,
@@ -1416,54 +1418,54 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1416
1418
  }, [
1417
1419
  C($0, {
1418
1420
  searchable: "",
1419
- "change-location": "",
1421
+ "change-location": !n(m).businessSupplierOnly,
1420
1422
  search: I.value,
1421
1423
  "onUpdate:search": T[0] || (T[0] = (_) => I.value = _),
1422
- "show-business": a(v).enableSupplierMasterList
1423
- }, null, 8, ["search", "show-business"]),
1424
+ "show-business": n(m).enableSupplierMasterList
1425
+ }, null, 8, ["change-location", "search", "show-business"]),
1424
1426
  C(rd, {
1425
- style: Zd(a(d).tableHeight),
1426
- "column-defs": a(y),
1427
+ style: Zd(n(d).tableHeight),
1428
+ "column-defs": n(f),
1427
1429
  columnVisibility: {
1428
- netsuiteIdSubsidiary: a(n).isEnabled
1430
+ netsuiteIdSubsidiary: n(l).isEnabled
1429
1431
  },
1430
1432
  "row-data": b.value,
1431
1433
  "search-value": I.value,
1432
- loading: (!a(i)._currentLocation || l.value) && a(n).isReady,
1434
+ loading: (!n(i)._currentLocation || a.value) && n(l).isReady,
1433
1435
  onRowClick: T[1] || (T[1] = (_) => S(_.original)),
1434
1436
  "page-size": e.value
1435
1437
  }, {
1436
- "list-row": U((_) => [
1438
+ "list-row": B((_) => [
1437
1439
  C(qd, {
1438
1440
  row: _,
1439
1441
  onRowClick: S
1440
1442
  }, {
1441
- default: U((K) => {
1442
- var ud, pd, cd, j, md, yd, fd, vd, Q, bd, gd, Sd, hd, X, _d, Cd, xd, Md, dd, Vd;
1443
+ default: B((O) => {
1444
+ var ud, pd, cd, j, md, yd, fd, vd, Q, bd, gd, Sd, hd, X, _d, Cd, xd, Vd, dd, Md;
1443
1445
  return [
1444
1446
  c("div", h1, [
1445
1447
  c("div", _1, [
1446
- C(a($d), {
1447
- render: (cd = (pd = (ud = K.name) == null ? void 0 : ud.column) == null ? void 0 : pd.columnDef) == null ? void 0 : cd.cell,
1448
- props: (md = (j = K.name) == null ? void 0 : j.getContext) == null ? void 0 : md.call(j)
1448
+ C(n($d), {
1449
+ render: (cd = (pd = (ud = O.name) == null ? void 0 : ud.column) == null ? void 0 : pd.columnDef) == null ? void 0 : cd.cell,
1450
+ props: (md = (j = O.name) == null ? void 0 : j.getContext) == null ? void 0 : md.call(j)
1449
1451
  }, null, 8, ["render", "props"])
1450
1452
  ]),
1451
1453
  c("div", C1, [
1452
- C(a($d), {
1453
- render: (vd = (fd = (yd = K.contactName) == null ? void 0 : yd.column) == null ? void 0 : fd.columnDef) == null ? void 0 : vd.cell,
1454
- props: (bd = (Q = K.contactName) == null ? void 0 : Q.getContext) == null ? void 0 : bd.call(Q)
1454
+ C(n($d), {
1455
+ render: (vd = (fd = (yd = O.contactName) == null ? void 0 : yd.column) == null ? void 0 : fd.columnDef) == null ? void 0 : vd.cell,
1456
+ props: (bd = (Q = O.contactName) == null ? void 0 : Q.getContext) == null ? void 0 : bd.call(Q)
1455
1457
  }, null, 8, ["render", "props"])
1456
1458
  ]),
1457
1459
  c("div", x1, [
1458
- C(a($d), {
1459
- render: (hd = (Sd = (gd = K.phoneNumber) == null ? void 0 : gd.column) == null ? void 0 : Sd.columnDef) == null ? void 0 : hd.cell,
1460
- props: (_d = (X = K.phoneNumber) == null ? void 0 : X.getContext) == null ? void 0 : _d.call(X)
1460
+ C(n($d), {
1461
+ render: (hd = (Sd = (gd = O.phoneNumber) == null ? void 0 : gd.column) == null ? void 0 : Sd.columnDef) == null ? void 0 : hd.cell,
1462
+ props: (_d = (X = O.phoneNumber) == null ? void 0 : X.getContext) == null ? void 0 : _d.call(X)
1461
1463
  }, null, 8, ["render", "props"])
1462
1464
  ]),
1463
- _.original.email ? (x(), P("div", M1, [
1464
- C(a($d), {
1465
- render: (Md = (xd = (Cd = K.email) == null ? void 0 : Cd.column) == null ? void 0 : xd.columnDef) == null ? void 0 : Md.cell,
1466
- props: (Vd = (dd = K.email) == null ? void 0 : dd.getContext) == null ? void 0 : Vd.call(dd)
1465
+ _.original.email ? (x(), P("div", V1, [
1466
+ C(n($d), {
1467
+ render: (Vd = (xd = (Cd = O.email) == null ? void 0 : Cd.column) == null ? void 0 : xd.columnDef) == null ? void 0 : Vd.cell,
1468
+ props: (Md = (dd = O.email) == null ? void 0 : dd.getContext) == null ? void 0 : Md.call(dd)
1467
1469
  }, null, 8, ["render", "props"])
1468
1470
  ])) : H("", !0)
1469
1471
  ])
@@ -1476,17 +1478,17 @@ const t1 = { class: "flex items-center gap-12 pl-8" }, o1 = { class: "flex flex-
1476
1478
  }, 8, ["style", "column-defs", "columnVisibility", "row-data", "search-value", "loading", "page-size"])
1477
1479
  ], 2),
1478
1480
  (x(), G(zd, { to: "body" }, [
1479
- C(O0, {
1481
+ C(K0, {
1480
1482
  show: u.value.show,
1481
1483
  "onUpdate:show": T[2] || (T[2] = (_) => u.value.show = _),
1482
1484
  supplier: u.value.supplier,
1483
1485
  mode: u.value.mode,
1484
- onSubmitted: T[3] || (T[3] = (_) => f())
1486
+ onSubmitted: T[3] || (T[3] = (_) => v())
1485
1487
  }, null, 8, ["show", "supplier", "mode"])
1486
1488
  ]))
1487
1489
  ]),
1488
1490
  _: 1
1489
- }, 8, ["title", "actions"]);
1491
+ }, 8, ["title", "actions", "using-business-helper-text"]);
1490
1492
  };
1491
1493
  }
1492
1494
  });