/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function Vn(e, t) {
  const r = new Set(e.split(","));
  return t ? (n) => r.has(n.toLowerCase()) : (n) => r.has(n);
}
const q = {}, mt = [], ye = () => {
}, Nd = () => !1, Ar = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Hn = (e) => e.startsWith("onUpdate:"), se = Object.assign, Kn = (e, t) => {
  const r = e.indexOf(t);
  r > -1 && e.splice(r, 1);
}, xd = Object.prototype.hasOwnProperty, U = (e, t) => xd.call(e, t), M = Array.isArray, bt = (e) => Or(e) === "[object Map]", zi = (e) => Or(e) === "[object Set]", R = (e) => typeof e == "function", ne = (e) => typeof e == "string", _t = (e) => typeof e == "symbol", J = (e) => e !== null && typeof e == "object", Qi = (e) => (J(e) || R(e)) && R(e.then) && R(e.catch), Zi = Object.prototype.toString, Or = (e) => Zi.call(e), Fd = (e) => Or(e).slice(8, -1), Ji = (e) => Or(e) === "[object Object]", Wn = (e) => ne(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, It = /* @__PURE__ */ Vn(
  // the leading comma is intentional so empty string "" is also included
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
), Nr = (e) => {
  const t = /* @__PURE__ */ Object.create(null);
  return (r) => t[r] || (t[r] = e(r));
}, Td = /-(\w)/g, Ie = Nr((e) => e.replace(Td, (t, r) => r ? r.toUpperCase() : "")), Md = /\B([A-Z])/g, Pt = Nr(
  (e) => e.replace(Md, "-$1").toLowerCase()
), xr = Nr((e) => e.charAt(0).toUpperCase() + e.slice(1)), Yr = Nr((e) => e ? `on${xr(e)}` : ""), Xe = (e, t) => !Object.is(e, t), ar = (e, t) => {
  for (let r = 0; r < e.length; r++)
    e[r](t);
}, yr = (e, t, r) => {
  Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !1,
    value: r
  });
}, pn = (e) => {
  const t = parseFloat(e);
  return isNaN(t) ? e : t;
};
let Po;
const Yi = () => Po || (Po = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function Fr(e) {
  if (M(e)) {
    const t = {};
    for (let r = 0; r < e.length; r++) {
      const n = e[r], o = ne(n) ? Bd(n) : Fr(n);
      if (o)
        for (const i in o)
          t[i] = o[i];
    }
    return t;
  } else if (ne(e) || J(e))
    return e;
}
const Rd = /;(?![^(]*\))/g, Id = /:([^]+)/, Ld = /\/\*[^]*?\*\//g;
function Bd(e) {
  const t = {};
  return e.replace(Ld, "").split(Rd).forEach((r) => {
    if (r) {
      const n = r.split(Id);
      n.length > 1 && (t[n[0].trim()] = n[1].trim());
    }
  }), t;
}
function Le(e) {
  let t = "";
  if (ne(e))
    t = e;
  else if (M(e))
    for (let r = 0; r < e.length; r++) {
      const n = Le(e[r]);
      n && (t += n + " ");
    }
  else if (J(e))
    for (const r in e)
      e[r] && (t += r + " ");
  return t.trim();
}
const kd = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Dd = /* @__PURE__ */ Vn(kd);
function Xi(e) {
  return !!e || e === "";
}
const Lt = (e) => ne(e) ? e : e == null ? "" : M(e) || J(e) && (e.toString === Zi || !R(e.toString)) ? JSON.stringify(e, es, 2) : String(e), es = (e, t) => t && t.__v_isRef ? es(e, t.value) : bt(t) ? {
  [`Map(${t.size})`]: [...t.entries()].reduce(
    (r, [n, o], i) => (r[Xr(n, i) + " =>"] = o, r),
    {}
  )
} : zi(t) ? {
  [`Set(${t.size})`]: [...t.values()].map((r) => Xr(r))
} : _t(t) ? Xr(t) : J(t) && !M(t) && !Ji(t) ? String(t) : t, Xr = (e, t = "") => {
  var r;
  return _t(e) ? `Symbol(${(r = e.description) != null ? r : t})` : e;
};
/**
* @vue/reactivity v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
let ve;
class ts {
  constructor(t = !1) {
    this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this.parent = ve, !t && ve && (this.index = (ve.scopes || (ve.scopes = [])).push(
      this
    ) - 1);
  }
  get active() {
    return this._active;
  }
  run(t) {
    if (this._active) {
      const r = ve;
      try {
        return ve = this, t();
      } finally {
        ve = r;
      }
    }
  }
  /**
   * This should only be called on non-detached scopes
   * @internal
   */
  on() {
    ve = this;
  }
  /**
   * This should only be called on non-detached scopes
   * @internal
   */
  off() {
    ve = this.parent;
  }
  stop(t) {
    if (this._active) {
      let r, n;
      for (r = 0, n = this.effects.length; r < n; r++)
        this.effects[r].stop();
      for (r = 0, n = this.cleanups.length; r < n; r++)
        this.cleanups[r]();
      if (this.scopes)
        for (r = 0, n = this.scopes.length; r < n; r++)
          this.scopes[r].stop(!0);
      if (!this.detached && this.parent && !t) {
        const o = this.parent.scopes.pop();
        o && o !== this && (this.parent.scopes[this.index] = o, o.index = this.index);
      }
      this.parent = void 0, this._active = !1;
    }
  }
}
function Ud(e) {
  return new ts(e);
}
function Gd(e, t = ve) {
  t && t.active && t.effects.push(e);
}
function jd() {
  return ve;
}
let at;
class qn {
  constructor(t, r, n, o) {
    this.fn = t, this.trigger = r, this.scheduler = n, this.active = !0, this.deps = [], this._dirtyLevel = 4, this._trackId = 0, this._runnings = 0, this._shouldSchedule = !1, this._depsLength = 0, Gd(this, o);
  }
  get dirty() {
    if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
      this._dirtyLevel = 1, ut();
      for (let t = 0; t < this._depsLength; t++) {
        const r = this.deps[t];
        if (r.computed && (Vd(r.computed), this._dirtyLevel >= 4))
          break;
      }
      this._dirtyLevel === 1 && (this._dirtyLevel = 0), ft();
    }
    return this._dirtyLevel >= 4;
  }
  set dirty(t) {
    this._dirtyLevel = t ? 4 : 0;
  }
  run() {
    if (this._dirtyLevel = 0, !this.active)
      return this.fn();
    let t = Je, r = at;
    try {
      return Je = !0, at = this, this._runnings++, Ao(this), this.fn();
    } finally {
      Oo(this), this._runnings--, at = r, Je = t;
    }
  }
  stop() {
    var t;
    this.active && (Ao(this), Oo(this), (t = this.onStop) == null || t.call(this), this.active = !1);
  }
}
function Vd(e) {
  return e.value;
}
function Ao(e) {
  e._trackId++, e._depsLength = 0;
}
function Oo(e) {
  if (e.deps.length > e._depsLength) {
    for (let t = e._depsLength; t < e.deps.length; t++)
      rs(e.deps[t], e);
    e.deps.length = e._depsLength;
  }
}
function rs(e, t) {
  const r = e.get(t);
  r !== void 0 && t._trackId !== r && (e.delete(t), e.size === 0 && e.cleanup());
}
let Je = !0, gn = 0;
const ns = [];
function ut() {
  ns.push(Je), Je = !1;
}
function ft() {
  const e = ns.pop();
  Je = e === void 0 ? !0 : e;
}
function zn() {
  gn++;
}
function Qn() {
  for (gn--; !gn && mn.length; )
    mn.shift()();
}
function os(e, t, r) {
  if (t.get(e) !== e._trackId) {
    t.set(e, e._trackId);
    const n = e.deps[e._depsLength];
    n !== t ? (n && rs(n, e), e.deps[e._depsLength++] = t) : e._depsLength++;
  }
}
const mn = [];
function is(e, t, r) {
  zn();
  for (const n of e.keys()) {
    let o;
    n._dirtyLevel < t && (o ?? (o = e.get(n) === n._trackId)) && (n._shouldSchedule || (n._shouldSchedule = n._dirtyLevel === 0), n._dirtyLevel = t), n._shouldSchedule && (o ?? (o = e.get(n) === n._trackId)) && (n.trigger(), (!n._runnings || n.allowRecurse) && n._dirtyLevel !== 2 && (n._shouldSchedule = !1, n.scheduler && mn.push(n.scheduler)));
  }
  Qn();
}
const ss = (e, t) => {
  const r = /* @__PURE__ */ new Map();
  return r.cleanup = e, r.computed = t, r;
}, bn = /* @__PURE__ */ new WeakMap(), lt = Symbol(""), yn = Symbol("");
function pe(e, t, r) {
  if (Je && at) {
    let n = bn.get(e);
    n || bn.set(e, n = /* @__PURE__ */ new Map());
    let o = n.get(r);
    o || n.set(r, o = ss(() => n.delete(r))), os(
      at,
      o
    );
  }
}
function Ge(e, t, r, n, o, i) {
  const s = bn.get(e);
  if (!s)
    return;
  let d = [];
  if (t === "clear")
    d = [...s.values()];
  else if (r === "length" && M(e)) {
    const a = Number(n);
    s.forEach((c, u) => {
      (u === "length" || !_t(u) && u >= a) && d.push(c);
    });
  } else
    switch (r !== void 0 && d.push(s.get(r)), t) {
      case "add":
        M(e) ? Wn(r) && d.push(s.get("length")) : (d.push(s.get(lt)), bt(e) && d.push(s.get(yn)));
        break;
      case "delete":
        M(e) || (d.push(s.get(lt)), bt(e) && d.push(s.get(yn)));
        break;
      case "set":
        bt(e) && d.push(s.get(lt));
        break;
    }
  zn();
  for (const a of d)
    a && is(
      a,
      4
    );
  Qn();
}
const Hd = /* @__PURE__ */ Vn("__proto__,__v_isRef,__isVue"), ds = new Set(
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(_t)
), No = /* @__PURE__ */ Kd();
function Kd() {
  const e = {};
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
    e[t] = function(...r) {
      const n = j(this);
      for (let i = 0, s = this.length; i < s; i++)
        pe(n, "get", i + "");
      const o = n[t](...r);
      return o === -1 || o === !1 ? n[t](...r.map(j)) : o;
    };
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
    e[t] = function(...r) {
      ut(), zn();
      const n = j(this)[t].apply(this, r);
      return Qn(), ft(), n;
    };
  }), e;
}
function Wd(e) {
  const t = j(this);
  return pe(t, "has", e), t.hasOwnProperty(e);
}
class as {
  constructor(t = !1, r = !1) {
    this._isReadonly = t, this._isShallow = r;
  }
  get(t, r, n) {
    const o = this._isReadonly, i = this._isShallow;
    if (r === "__v_isReactive")
      return !o;
    if (r === "__v_isReadonly")
      return o;
    if (r === "__v_isShallow")
      return i;
    if (r === "__v_raw")
      return n === (o ? i ? ia : fs : i ? us : cs).get(t) || // receiver is not the reactive proxy, but has the same prototype
      // this means the reciever is a user proxy of the reactive proxy
      Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
    const s = M(t);
    if (!o) {
      if (s && U(No, r))
        return Reflect.get(No, r, n);
      if (r === "hasOwnProperty")
        return Wd;
    }
    const d = Reflect.get(t, r, n);
    return (_t(r) ? ds.has(r) : Hd(r)) || (o || pe(t, "get", r), i) ? d : ge(d) ? s && Wn(r) ? d : d.value : J(d) ? o ? $s(d) : Yn(d) : d;
  }
}
class ls extends as {
  constructor(t = !1) {
    super(!1, t);
  }
  set(t, r, n, o) {
    let i = t[r];
    if (!this._isShallow) {
      const a = vt(i);
      if (!Cr(n) && !vt(n) && (i = j(i), n = j(n)), !M(t) && ge(i) && !ge(n))
        return a ? !1 : (i.value = n, !0);
    }
    const s = M(t) && Wn(r) ? Number(r) < t.length : U(t, r), d = Reflect.set(t, r, n, o);
    return t === j(o) && (s ? Xe(n, i) && Ge(t, "set", r, n) : Ge(t, "add", r, n)), d;
  }
  deleteProperty(t, r) {
    const n = U(t, r);
    t[r];
    const o = Reflect.deleteProperty(t, r);
    return o && n && Ge(t, "delete", r, void 0), o;
  }
  has(t, r) {
    const n = Reflect.has(t, r);
    return (!_t(r) || !ds.has(r)) && pe(t, "has", r), n;
  }
  ownKeys(t) {
    return pe(
      t,
      "iterate",
      M(t) ? "length" : lt
    ), Reflect.ownKeys(t);
  }
}
class qd extends as {
  constructor(t = !1) {
    super(!0, t);
  }
  set(t, r) {
    return !0;
  }
  deleteProperty(t, r) {
    return !0;
  }
}
const zd = /* @__PURE__ */ new ls(), Qd = /* @__PURE__ */ new qd(), Zd = /* @__PURE__ */ new ls(
  !0
), Zn = (e) => e, Tr = (e) => Reflect.getPrototypeOf(e);
function rr(e, t, r = !1, n = !1) {
  e = e.__v_raw;
  const o = j(e), i = j(t);
  r || (Xe(t, i) && pe(o, "get", t), pe(o, "get", i));
  const { has: s } = Tr(o), d = n ? Zn : r ? to : Ut;
  if (s.call(o, t))
    return d(e.get(t));
  if (s.call(o, i))
    return d(e.get(i));
  e !== o && e.get(t);
}
function nr(e, t = !1) {
  const r = this.__v_raw, n = j(r), o = j(e);
  return t || (Xe(e, o) && pe(n, "has", e), pe(n, "has", o)), e === o ? r.has(e) : r.has(e) || r.has(o);
}
function or(e, t = !1) {
  return e = e.__v_raw, !t && pe(j(e), "iterate", lt), Reflect.get(e, "size", e);
}
function xo(e) {
  e = j(e);
  const t = j(this);
  return Tr(t).has.call(t, e) || (t.add(e), Ge(t, "add", e, e)), this;
}
function Fo(e, t) {
  t = j(t);
  const r = j(this), { has: n, get: o } = Tr(r);
  let i = n.call(r, e);
  i || (e = j(e), i = n.call(r, e));
  const s = o.call(r, e);
  return r.set(e, t), i ? Xe(t, s) && Ge(r, "set", e, t) : Ge(r, "add", e, t), this;
}
function To(e) {
  const t = j(this), { has: r, get: n } = Tr(t);
  let o = r.call(t, e);
  o || (e = j(e), o = r.call(t, e)), n && n.call(t, e);
  const i = t.delete(e);
  return o && Ge(t, "delete", e, void 0), i;
}
function Mo() {
  const e = j(this), t = e.size !== 0, r = e.clear();
  return t && Ge(e, "clear", void 0, void 0), r;
}
function ir(e, t) {
  return function(n, o) {
    const i = this, s = i.__v_raw, d = j(s), a = t ? Zn : e ? to : Ut;
    return !e && pe(d, "iterate", lt), s.forEach((c, u) => n.call(o, a(c), a(u), i));
  };
}
function sr(e, t, r) {
  return function(...n) {
    const o = this.__v_raw, i = j(o), s = bt(i), d = e === "entries" || e === Symbol.iterator && s, a = e === "keys" && s, c = o[e](...n), u = r ? Zn : t ? to : Ut;
    return !t && pe(
      i,
      "iterate",
      a ? yn : lt
    ), {
      // iterator protocol
      next() {
        const { value: $, done: C } = c.next();
        return C ? { value: $, done: C } : {
          value: d ? [u($[0]), u($[1])] : u($),
          done: C
        };
      },
      // iterable protocol
      [Symbol.iterator]() {
        return this;
      }
    };
  };
}
function Ke(e) {
  return function(...t) {
    return e === "delete" ? !1 : e === "clear" ? void 0 : this;
  };
}
function Jd() {
  const e = {
    get(i) {
      return rr(this, i);
    },
    get size() {
      return or(this);
    },
    has: nr,
    add: xo,
    set: Fo,
    delete: To,
    clear: Mo,
    forEach: ir(!1, !1)
  }, t = {
    get(i) {
      return rr(this, i, !1, !0);
    },
    get size() {
      return or(this);
    },
    has: nr,
    add: xo,
    set: Fo,
    delete: To,
    clear: Mo,
    forEach: ir(!1, !0)
  }, r = {
    get(i) {
      return rr(this, i, !0);
    },
    get size() {
      return or(this, !0);
    },
    has(i) {
      return nr.call(this, i, !0);
    },
    add: Ke("add"),
    set: Ke("set"),
    delete: Ke("delete"),
    clear: Ke("clear"),
    forEach: ir(!0, !1)
  }, n = {
    get(i) {
      return rr(this, i, !0, !0);
    },
    get size() {
      return or(this, !0);
    },
    has(i) {
      return nr.call(this, i, !0);
    },
    add: Ke("add"),
    set: Ke("set"),
    delete: Ke("delete"),
    clear: Ke("clear"),
    forEach: ir(!0, !0)
  };
  return ["keys", "values", "entries", Symbol.iterator].forEach((i) => {
    e[i] = sr(
      i,
      !1,
      !1
    ), r[i] = sr(
      i,
      !0,
      !1
    ), t[i] = sr(
      i,
      !1,
      !0
    ), n[i] = sr(
      i,
      !0,
      !0
    );
  }), [
    e,
    r,
    t,
    n
  ];
}
const [
  Yd,
  Xd,
  ea,
  ta
] = /* @__PURE__ */ Jd();
function Jn(e, t) {
  const r = t ? e ? ta : ea : e ? Xd : Yd;
  return (n, o, i) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? n : Reflect.get(
    U(r, o) && o in n ? r : n,
    o,
    i
  );
}
const ra = {
  get: /* @__PURE__ */ Jn(!1, !1)
}, na = {
  get: /* @__PURE__ */ Jn(!1, !0)
}, oa = {
  get: /* @__PURE__ */ Jn(!0, !1)
}, cs = /* @__PURE__ */ new WeakMap(), us = /* @__PURE__ */ new WeakMap(), fs = /* @__PURE__ */ new WeakMap(), ia = /* @__PURE__ */ new WeakMap();
function sa(e) {
  switch (e) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function da(e) {
  return e.__v_skip || !Object.isExtensible(e) ? 0 : sa(Fd(e));
}
function Yn(e) {
  return vt(e) ? e : Xn(
    e,
    !1,
    zd,
    ra,
    cs
  );
}
function aa(e) {
  return Xn(
    e,
    !1,
    Zd,
    na,
    us
  );
}
function $s(e) {
  return Xn(
    e,
    !0,
    Qd,
    oa,
    fs
  );
}
function Xn(e, t, r, n, o) {
  if (!J(e) || e.__v_raw && !(t && e.__v_isReactive))
    return e;
  const i = o.get(e);
  if (i)
    return i;
  const s = da(e);
  if (s === 0)
    return e;
  const d = new Proxy(
    e,
    s === 2 ? n : r
  );
  return o.set(e, d), d;
}
function yt(e) {
  return vt(e) ? yt(e.__v_raw) : !!(e && e.__v_isReactive);
}
function vt(e) {
  return !!(e && e.__v_isReadonly);
}
function Cr(e) {
  return !!(e && e.__v_isShallow);
}
function hs(e) {
  return yt(e) || vt(e);
}
function j(e) {
  const t = e && e.__v_raw;
  return t ? j(t) : e;
}
function eo(e) {
  return Object.isExtensible(e) && yr(e, "__v_skip", !0), e;
}
const Ut = (e) => J(e) ? Yn(e) : e, to = (e) => J(e) ? $s(e) : e;
class ps {
  constructor(t, r, n, o) {
    this.getter = t, this._setter = r, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this.effect = new qn(
      () => t(this._value),
      () => lr(
        this,
        this.effect._dirtyLevel === 2 ? 2 : 3
      )
    ), this.effect.computed = this, this.effect.active = this._cacheable = !o, this.__v_isReadonly = n;
  }
  get value() {
    const t = j(this);
    return (!t._cacheable || t.effect.dirty) && Xe(t._value, t._value = t.effect.run()) && lr(t, 4), gs(t), t.effect._dirtyLevel >= 2 && lr(t, 2), t._value;
  }
  set value(t) {
    this._setter(t);
  }
  // #region polyfill _dirty for backward compatibility third party code for Vue <= 3.3.x
  get _dirty() {
    return this.effect.dirty;
  }
  set _dirty(t) {
    this.effect.dirty = t;
  }
  // #endregion
}
function la(e, t, r = !1) {
  let n, o;
  const i = R(e);
  return i ? (n = e, o = ye) : (n = e.get, o = e.set), new ps(n, o, i || !o, r);
}
function gs(e) {
  var t;
  Je && at && (e = j(e), os(
    at,
    (t = e.dep) != null ? t : e.dep = ss(
      () => e.dep = void 0,
      e instanceof ps ? e : void 0
    )
  ));
}
function lr(e, t = 4, r) {
  e = j(e);
  const n = e.dep;
  n && is(
    n,
    t
  );
}
function ge(e) {
  return !!(e && e.__v_isRef === !0);
}
function ms(e) {
  return ca(e, !1);
}
function ca(e, t) {
  return ge(e) ? e : new ua(e, t);
}
class ua {
  constructor(t, r) {
    this.__v_isShallow = r, this.dep = void 0, this.__v_isRef = !0, this._rawValue = r ? t : j(t), this._value = r ? t : Ut(t);
  }
  get value() {
    return gs(this), this._value;
  }
  set value(t) {
    const r = this.__v_isShallow || Cr(t) || vt(t);
    t = r ? t : j(t), Xe(t, this._rawValue) && (this._rawValue = t, this._value = r ? t : Ut(t), lr(this, 4));
  }
}
function Cn(e) {
  return ge(e) ? e.value : e;
}
const fa = {
  get: (e, t, r) => Cn(Reflect.get(e, t, r)),
  set: (e, t, r, n) => {
    const o = e[t];
    return ge(o) && !ge(r) ? (o.value = r, !0) : Reflect.set(e, t, r, n);
  }
};
function bs(e) {
  return yt(e) ? e : new Proxy(e, fa);
}
/**
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function Ye(e, t, r, n) {
  try {
    return n ? e(...n) : e();
  } catch (o) {
    Mr(o, t, r);
  }
}
function _e(e, t, r, n) {
  if (R(e)) {
    const i = Ye(e, t, r, n);
    return i && Qi(i) && i.catch((s) => {
      Mr(s, t, r);
    }), i;
  }
  const o = [];
  for (let i = 0; i < e.length; i++)
    o.push(_e(e[i], t, r, n));
  return o;
}
function Mr(e, t, r, n = !0) {
  const o = t ? t.vnode : null;
  if (t) {
    let i = t.parent;
    const s = t.proxy, d = `https://vuejs.org/error-reference/#runtime-${r}`;
    for (; i; ) {
      const c = i.ec;
      if (c) {
        for (let u = 0; u < c.length; u++)
          if (c[u](e, s, d) === !1)
            return;
      }
      i = i.parent;
    }
    const a = t.appContext.config.errorHandler;
    if (a) {
      Ye(
        a,
        null,
        10,
        [e, s, d]
      );
      return;
    }
  }
  $a(e, r, o, n);
}
function $a(e, t, r, n = !0) {
  console.error(e);
}
let Gt = !1, wn = !1;
const de = [];
let Te = 0;
const Ct = [];
let ze = null, it = 0;
const ys = /* @__PURE__ */ Promise.resolve();
let ro = null;
function ha(e) {
  const t = ro || ys;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function pa(e) {
  let t = Te + 1, r = de.length;
  for (; t < r; ) {
    const n = t + r >>> 1, o = de[n], i = jt(o);
    i < e || i === e && o.pre ? t = n + 1 : r = n;
  }
  return t;
}
function no(e) {
  (!de.length || !de.includes(
    e,
    Gt && e.allowRecurse ? Te + 1 : Te
  )) && (e.id == null ? de.push(e) : de.splice(pa(e.id), 0, e), Cs());
}
function Cs() {
  !Gt && !wn && (wn = !0, ro = ys.then(vs));
}
function ga(e) {
  const t = de.indexOf(e);
  t > Te && de.splice(t, 1);
}
function ma(e) {
  M(e) ? Ct.push(...e) : (!ze || !ze.includes(
    e,
    e.allowRecurse ? it + 1 : it
  )) && Ct.push(e), Cs();
}
function Ro(e, t, r = Gt ? Te + 1 : 0) {
  for (; r < de.length; r++) {
    const n = de[r];
    if (n && n.pre) {
      if (e && n.id !== e.uid)
        continue;
      de.splice(r, 1), r--, n();
    }
  }
}
function ws(e) {
  if (Ct.length) {
    const t = [...new Set(Ct)].sort(
      (r, n) => jt(r) - jt(n)
    );
    if (Ct.length = 0, ze) {
      ze.push(...t);
      return;
    }
    for (ze = t, it = 0; it < ze.length; it++)
      ze[it]();
    ze = null, it = 0;
  }
}
const jt = (e) => e.id == null ? 1 / 0 : e.id, ba = (e, t) => {
  const r = jt(e) - jt(t);
  if (r === 0) {
    if (e.pre && !t.pre)
      return -1;
    if (t.pre && !e.pre)
      return 1;
  }
  return r;
};
function vs(e) {
  wn = !1, Gt = !0, de.sort(ba);
  try {
    for (Te = 0; Te < de.length; Te++) {
      const t = de[Te];
      t && t.active !== !1 && Ye(t, null, 14);
    }
  } finally {
    Te = 0, de.length = 0, ws(), Gt = !1, ro = null, (de.length || Ct.length) && vs();
  }
}
function ya(e, t, ...r) {
  if (e.isUnmounted)
    return;
  const n = e.vnode.props || q;
  let o = r;
  const i = t.startsWith("update:"), s = i && t.slice(7);
  if (s && s in n) {
    const u = `${s === "modelValue" ? "model" : s}Modifiers`, { number: $, trim: C } = n[u] || q;
    C && (o = r.map((O) => ne(O) ? O.trim() : O)), $ && (o = r.map(pn));
  }
  let d, a = n[d = Yr(t)] || // also try camelCase event handler (#2249)
  n[d = Yr(Ie(t))];
  !a && i && (a = n[d = Yr(Pt(t))]), a && _e(
    a,
    e,
    6,
    o
  );
  const c = n[d + "Once"];
  if (c) {
    if (!e.emitted)
      e.emitted = {};
    else if (e.emitted[d])
      return;
    e.emitted[d] = !0, _e(
      c,
      e,
      6,
      o
    );
  }
}
function Ss(e, t, r = !1) {
  const n = t.emitsCache, o = n.get(e);
  if (o !== void 0)
    return o;
  const i = e.emits;
  let s = {}, d = !1;
  if (!R(e)) {
    const a = (c) => {
      const u = Ss(c, t, !0);
      u && (d = !0, se(s, u));
    };
    !r && t.mixins.length && t.mixins.forEach(a), e.extends && a(e.extends), e.mixins && e.mixins.forEach(a);
  }
  return !i && !d ? (J(e) && n.set(e, null), null) : (M(i) ? i.forEach((a) => s[a] = null) : se(s, i), J(e) && n.set(e, s), s);
}
function Rr(e, t) {
  return !e || !Ar(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), U(e, t[0].toLowerCase() + t.slice(1)) || U(e, Pt(t)) || U(e, t));
}
let he = null, Es = null;
function wr(e) {
  const t = he;
  return he = e, Es = e && e.type.__scopeId || null, t;
}
function Ca(e, t = he, r) {
  if (!t || e._n)
    return e;
  const n = (...o) => {
    n._d && Ko(-1);
    const i = wr(t);
    let s;
    try {
      s = e(...o);
    } finally {
      wr(i), n._d && Ko(1);
    }
    return s;
  };
  return n._n = !0, n._c = !0, n._d = !0, n;
}
function en(e) {
  const {
    type: t,
    vnode: r,
    proxy: n,
    withProxy: o,
    props: i,
    propsOptions: [s],
    slots: d,
    attrs: a,
    emit: c,
    render: u,
    renderCache: $,
    data: C,
    setupState: O,
    ctx: _,
    inheritAttrs: S
  } = e;
  let I, L;
  const Y = wr(e);
  try {
    if (r.shapeFlag & 4) {
      const te = o || n, be = te;
      I = Fe(
        u.call(
          be,
          te,
          $,
          i,
          O,
          C,
          _
        )
      ), L = a;
    } else {
      const te = t;
      I = Fe(
        te.length > 1 ? te(
          i,
          { attrs: a, slots: d, emit: c }
        ) : te(
          i,
          null
          /* we know it doesn't need it */
        )
      ), L = t.props ? a : wa(a);
    }
  } catch (te) {
    Dt.length = 0, Mr(te, e, 1), I = re(ct);
  }
  let k = I;
  if (L && S !== !1) {
    const te = Object.keys(L), { shapeFlag: be } = k;
    te.length && be & 7 && (s && te.some(Hn) && (L = va(
      L,
      s
    )), k = St(k, L));
  }
  return r.dirs && (k = St(k), k.dirs = k.dirs ? k.dirs.concat(r.dirs) : r.dirs), r.transition && (k.transition = r.transition), I = k, wr(Y), I;
}
const wa = (e) => {
  let t;
  for (const r in e)
    (r === "class" || r === "style" || Ar(r)) && ((t || (t = {}))[r] = e[r]);
  return t;
}, va = (e, t) => {
  const r = {};
  for (const n in e)
    (!Hn(n) || !(n.slice(9) in t)) && (r[n] = e[n]);
  return r;
};
function Sa(e, t, r) {
  const { props: n, children: o, component: i } = e, { props: s, children: d, patchFlag: a } = t, c = i.emitsOptions;
  if (t.dirs || t.transition)
    return !0;
  if (r && a >= 0) {
    if (a & 1024)
      return !0;
    if (a & 16)
      return n ? Io(n, s, c) : !!s;
    if (a & 8) {
      const u = t.dynamicProps;
      for (let $ = 0; $ < u.length; $++) {
        const C = u[$];
        if (s[C] !== n[C] && !Rr(c, C))
          return !0;
      }
    }
  } else
    return (o || d) && (!d || !d.$stable) ? !0 : n === s ? !1 : n ? s ? Io(n, s, c) : !0 : !!s;
  return !1;
}
function Io(e, t, r) {
  const n = Object.keys(t);
  if (n.length !== Object.keys(e).length)
    return !0;
  for (let o = 0; o < n.length; o++) {
    const i = n[o];
    if (t[i] !== e[i] && !Rr(r, i))
      return !0;
  }
  return !1;
}
function Ea({ vnode: e, parent: t }, r) {
  for (; t; ) {
    const n = t.subTree;
    if (n.suspense && n.suspense.activeBranch === e && (n.el = e.el), n === e)
      (e = t.vnode).el = r, t = t.parent;
    else
      break;
  }
}
const _s = "components";
function Me(e, t) {
  return Pa(_s, e, !0, t) || e;
}
const _a = Symbol.for("v-ndc");
function Pa(e, t, r = !0, n = !1) {
  const o = he || ae;
  if (o) {
    const i = o.type;
    if (e === _s) {
      const d = vl(
        i,
        !1
      );
      if (d && (d === t || d === Ie(t) || d === xr(Ie(t))))
        return i;
    }
    const s = (
      // local registration
      // check instance[type] first which is resolved for options API
      Lo(o[e] || i[e], t) || // global registration
      Lo(o.appContext[e], t)
    );
    return !s && n ? i : s;
  }
}
function Lo(e, t) {
  return e && (e[t] || e[Ie(t)] || e[xr(Ie(t))]);
}
const Aa = (e) => e.__isSuspense;
function Oa(e, t) {
  t && t.pendingBranch ? M(e) ? t.effects.push(...e) : t.effects.push(e) : ma(e);
}
const Na = Symbol.for("v-scx"), xa = () => ur(Na), dr = {};
function tn(e, t, r) {
  return Ps(e, t, r);
}
function Ps(e, t, {
  immediate: r,
  deep: n,
  flush: o,
  once: i,
  onTrack: s,
  onTrigger: d
} = q) {
  if (t && i) {
    const G = t;
    t = (...ke) => {
      G(...ke), be();
    };
  }
  const a = ae, c = (G) => n === !0 ? G : (
    // for deep: false, only traverse root-level properties
    st(G, n === !1 ? 1 : void 0)
  );
  let u, $ = !1, C = !1;
  if (ge(e) ? (u = () => e.value, $ = Cr(e)) : yt(e) ? (u = () => c(e), $ = !0) : M(e) ? (C = !0, $ = e.some((G) => yt(G) || Cr(G)), u = () => e.map((G) => {
    if (ge(G))
      return G.value;
    if (yt(G))
      return c(G);
    if (R(G))
      return Ye(G, a, 2);
  })) : R(e) ? t ? u = () => Ye(e, a, 2) : u = () => (O && O(), _e(
    e,
    a,
    3,
    [_]
  )) : u = ye, t && n) {
    const G = u;
    u = () => st(G());
  }
  let O, _ = (G) => {
    O = k.onStop = () => {
      Ye(G, a, 4), O = k.onStop = void 0;
    };
  }, S;
  if (kr)
    if (_ = ye, t ? r && _e(t, a, 3, [
      u(),
      C ? [] : void 0,
      _
    ]) : u(), o === "sync") {
      const G = xa();
      S = G.__watcherHandles || (G.__watcherHandles = []);
    } else
      return ye;
  let I = C ? new Array(e.length).fill(dr) : dr;
  const L = () => {
    if (!(!k.active || !k.dirty))
      if (t) {
        const G = k.run();
        (n || $ || (C ? G.some((ke, Ae) => Xe(ke, I[Ae])) : Xe(G, I))) && (O && O(), _e(t, a, 3, [
          G,
          // pass undefined as the old value when it's changed for the first time
          I === dr ? void 0 : C && I[0] === dr ? [] : I,
          _
        ]), I = G);
      } else
        k.run();
  };
  L.allowRecurse = !!t;
  let Y;
  o === "sync" ? Y = L : o === "post" ? Y = () => $e(L, a && a.suspense) : (L.pre = !0, a && (L.id = a.uid), Y = () => no(L));
  const k = new qn(u, ye, Y), te = jd(), be = () => {
    k.stop(), te && Kn(te.effects, k);
  };
  return t ? r ? L() : I = k.run() : o === "post" ? $e(
    k.run.bind(k),
    a && a.suspense
  ) : k.run(), S && S.push(be), be;
}
function Fa(e, t, r) {
  const n = this.proxy, o = ne(e) ? e.includes(".") ? As(n, e) : () => n[e] : e.bind(n, n);
  let i;
  R(t) ? i = t : (i = t.handler, r = t);
  const s = zt(this), d = Ps(o, i.bind(n), r);
  return s(), d;
}
function As(e, t) {
  const r = t.split(".");
  return () => {
    let n = e;
    for (let o = 0; o < r.length && n; o++)
      n = n[r[o]];
    return n;
  };
}
function st(e, t, r = 0, n) {
  if (!J(e) || e.__v_skip)
    return e;
  if (t && t > 0) {
    if (r >= t)
      return e;
    r++;
  }
  if (n = n || /* @__PURE__ */ new Set(), n.has(e))
    return e;
  if (n.add(e), ge(e))
    st(e.value, t, r, n);
  else if (M(e))
    for (let o = 0; o < e.length; o++)
      st(e[o], t, r, n);
  else if (zi(e) || bt(e))
    e.forEach((o) => {
      st(o, t, r, n);
    });
  else if (Ji(e))
    for (const o in e)
      st(e[o], t, r, n);
  return e;
}
function vn(e, t) {
  if (he === null)
    return e;
  const r = Dr(he) || he.proxy, n = e.dirs || (e.dirs = []);
  for (let o = 0; o < t.length; o++) {
    let [i, s, d, a = q] = t[o];
    i && (R(i) && (i = {
      mounted: i,
      updated: i
    }), i.deep && st(s), n.push({
      dir: i,
      instance: r,
      value: s,
      oldValue: void 0,
      arg: d,
      modifiers: a
    }));
  }
  return e;
}
function nt(e, t, r, n) {
  const o = e.dirs, i = t && t.dirs;
  for (let s = 0; s < o.length; s++) {
    const d = o[s];
    i && (d.oldValue = i[s].value);
    let a = d.dir[n];
    a && (ut(), _e(a, r, 8, [
      e.el,
      d,
      e,
      t
    ]), ft());
  }
}
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__
function At(e, t) {
  return R(e) ? (
    // #8326: extend call and options.name access are considered side-effects
    // by Rollup, so we have to wrap it in a pure-annotated IIFE.
    se({ name: e.name }, t, { setup: e })
  ) : e;
}
const cr = (e) => !!e.type.__asyncLoader, Os = (e) => e.type.__isKeepAlive;
function Ta(e, t) {
  Ns(e, "a", t);
}
function Ma(e, t) {
  Ns(e, "da", t);
}
function Ns(e, t, r = ae) {
  const n = e.__wdc || (e.__wdc = () => {
    let o = r;
    for (; o; ) {
      if (o.isDeactivated)
        return;
      o = o.parent;
    }
    return e();
  });
  if (Ir(t, n, r), r) {
    let o = r.parent;
    for (; o && o.parent; )
      Os(o.parent.vnode) && Ra(n, t, r, o), o = o.parent;
  }
}
function Ra(e, t, r, n) {
  const o = Ir(
    t,
    e,
    n,
    !0
    /* prepend */
  );
  xs(() => {
    Kn(n[t], o);
  }, r);
}
function Ir(e, t, r = ae, n = !1) {
  if (r) {
    const o = r[e] || (r[e] = []), i = t.__weh || (t.__weh = (...s) => {
      if (r.isUnmounted)
        return;
      ut();
      const d = zt(r), a = _e(t, r, e, s);
      return d(), ft(), a;
    });
    return n ? o.unshift(i) : o.push(i), i;
  }
}
const He = (e) => (t, r = ae) => (
  // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
  (!kr || e === "sp") && Ir(e, (...n) => t(...n), r)
), Ia = He("bm"), La = He("m"), Ba = He("bu"), ka = He("u"), Da = He("bum"), xs = He("um"), Ua = He("sp"), Ga = He(
  "rtg"
), ja = He(
  "rtc"
);
function Va(e, t = ae) {
  Ir("ec", e, t);
}
function Fs(e, t, r, n) {
  let o;
  const i = r && r[n];
  if (M(e) || ne(e)) {
    o = new Array(e.length);
    for (let s = 0, d = e.length; s < d; s++)
      o[s] = t(e[s], s, void 0, i && i[s]);
  } else if (typeof e == "number") {
    o = new Array(e);
    for (let s = 0; s < e; s++)
      o[s] = t(s + 1, s, void 0, i && i[s]);
  } else if (J(e))
    if (e[Symbol.iterator])
      o = Array.from(
        e,
        (s, d) => t(s, d, void 0, i && i[d])
      );
    else {
      const s = Object.keys(e);
      o = new Array(s.length);
      for (let d = 0, a = s.length; d < a; d++) {
        const c = s[d];
        o[d] = t(e[c], c, d, i && i[d]);
      }
    }
  else
    o = [];
  return r && (r[n] = o), o;
}
const Sn = (e) => e ? Vs(e) ? Dr(e) || e.proxy : Sn(e.parent) : null, Bt = (
  // Move PURE marker to new line to workaround compiler discarding it
  // due to type annotation
  /* @__PURE__ */ se(/* @__PURE__ */ Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => e.props,
    $attrs: (e) => e.attrs,
    $slots: (e) => e.slots,
    $refs: (e) => e.refs,
    $parent: (e) => Sn(e.parent),
    $root: (e) => Sn(e.root),
    $emit: (e) => e.emit,
    $options: (e) => oo(e),
    $forceUpdate: (e) => e.f || (e.f = () => {
      e.effect.dirty = !0, no(e.update);
    }),
    $nextTick: (e) => e.n || (e.n = ha.bind(e.proxy)),
    $watch: (e) => Fa.bind(e)
  })
), rn = (e, t) => e !== q && !e.__isScriptSetup && U(e, t), Ha = {
  get({ _: e }, t) {
    const { ctx: r, setupState: n, data: o, props: i, accessCache: s, type: d, appContext: a } = e;
    let c;
    if (t[0] !== "$") {
      const O = s[t];
      if (O !== void 0)
        switch (O) {
          case 1:
            return n[t];
          case 2:
            return o[t];
          case 4:
            return r[t];
          case 3:
            return i[t];
        }
      else {
        if (rn(n, t))
          return s[t] = 1, n[t];
        if (o !== q && U(o, t))
          return s[t] = 2, o[t];
        if (
          // only cache other properties when instance has declared (thus stable)
          // props
          (c = e.propsOptions[0]) && U(c, t)
        )
          return s[t] = 3, i[t];
        if (r !== q && U(r, t))
          return s[t] = 4, r[t];
        En && (s[t] = 0);
      }
    }
    const u = Bt[t];
    let $, C;
    if (u)
      return t === "$attrs" && pe(e, "get", t), u(e);
    if (
      // css module (injected by vue-loader)
      ($ = d.__cssModules) && ($ = $[t])
    )
      return $;
    if (r !== q && U(r, t))
      return s[t] = 4, r[t];
    if (
      // global properties
      C = a.config.globalProperties, U(C, t)
    )
      return C[t];
  },
  set({ _: e }, t, r) {
    const { data: n, setupState: o, ctx: i } = e;
    return rn(o, t) ? (o[t] = r, !0) : n !== q && U(n, t) ? (n[t] = r, !0) : U(e.props, t) || t[0] === "$" && t.slice(1) in e ? !1 : (i[t] = r, !0);
  },
  has({
    _: { data: e, setupState: t, accessCache: r, ctx: n, appContext: o, propsOptions: i }
  }, s) {
    let d;
    return !!r[s] || e !== q && U(e, s) || rn(t, s) || (d = i[0]) && U(d, s) || U(n, s) || U(Bt, s) || U(o.config.globalProperties, s);
  },
  defineProperty(e, t, r) {
    return r.get != null ? e._.accessCache[t] = 0 : U(r, "value") && this.set(e, t, r.value, null), Reflect.defineProperty(e, t, r);
  }
};
function Bo(e) {
  return M(e) ? e.reduce(
    (t, r) => (t[r] = null, t),
    {}
  ) : e;
}
let En = !0;
function Ka(e) {
  const t = oo(e), r = e.proxy, n = e.ctx;
  En = !1, t.beforeCreate && ko(t.beforeCreate, e, "bc");
  const {
    // state
    data: o,
    computed: i,
    methods: s,
    watch: d,
    provide: a,
    inject: c,
    // lifecycle
    created: u,
    beforeMount: $,
    mounted: C,
    beforeUpdate: O,
    updated: _,
    activated: S,
    deactivated: I,
    beforeDestroy: L,
    beforeUnmount: Y,
    destroyed: k,
    unmounted: te,
    render: be,
    renderTracked: G,
    renderTriggered: ke,
    errorCaptured: Ae,
    serverPrefetch: qr,
    // public API
    expose: et,
    inheritAttrs: Nt,
    // assets
    components: Yt,
    directives: Xt,
    filters: zr
  } = t;
  if (c && Wa(c, n, null), s)
    for (const Z in s) {
      const W = s[Z];
      R(W) && (n[Z] = W.bind(r));
    }
  if (o) {
    const Z = o.call(r, r);
    J(Z) && (e.data = Yn(Z));
  }
  if (En = !0, i)
    for (const Z in i) {
      const W = i[Z], tt = R(W) ? W.bind(r, r) : R(W.get) ? W.get.bind(r, r) : ye, er = !R(W) && R(W.set) ? W.set.bind(r) : ye, rt = El({
        get: tt,
        set: er
      });
      Object.defineProperty(n, Z, {
        enumerable: !0,
        configurable: !0,
        get: () => rt.value,
        set: (Oe) => rt.value = Oe
      });
    }
  if (d)
    for (const Z in d)
      Ts(d[Z], n, r, Z);
  if (a) {
    const Z = R(a) ? a.call(r) : a;
    Reflect.ownKeys(Z).forEach((W) => {
      Ya(W, Z[W]);
    });
  }
  u && ko(u, e, "c");
  function le(Z, W) {
    M(W) ? W.forEach((tt) => Z(tt.bind(r))) : W && Z(W.bind(r));
  }
  if (le(Ia, $), le(La, C), le(Ba, O), le(ka, _), le(Ta, S), le(Ma, I), le(Va, Ae), le(ja, G), le(Ga, ke), le(Da, Y), le(xs, te), le(Ua, qr), M(et))
    if (et.length) {
      const Z = e.exposed || (e.exposed = {});
      et.forEach((W) => {
        Object.defineProperty(Z, W, {
          get: () => r[W],
          set: (tt) => r[W] = tt
        });
      });
    } else
      e.exposed || (e.exposed = {});
  be && e.render === ye && (e.render = be), Nt != null && (e.inheritAttrs = Nt), Yt && (e.components = Yt), Xt && (e.directives = Xt);
}
function Wa(e, t, r = ye) {
  M(e) && (e = _n(e));
  for (const n in e) {
    const o = e[n];
    let i;
    J(o) ? "default" in o ? i = ur(
      o.from || n,
      o.default,
      !0
    ) : i = ur(o.from || n) : i = ur(o), ge(i) ? Object.defineProperty(t, n, {
      enumerable: !0,
      configurable: !0,
      get: () => i.value,
      set: (s) => i.value = s
    }) : t[n] = i;
  }
}
function ko(e, t, r) {
  _e(
    M(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
    t,
    r
  );
}
function Ts(e, t, r, n) {
  const o = n.includes(".") ? As(r, n) : () => r[n];
  if (ne(e)) {
    const i = t[e];
    R(i) && tn(o, i);
  } else if (R(e))
    tn(o, e.bind(r));
  else if (J(e))
    if (M(e))
      e.forEach((i) => Ts(i, t, r, n));
    else {
      const i = R(e.handler) ? e.handler.bind(r) : t[e.handler];
      R(i) && tn(o, i, e);
    }
}
function oo(e) {
  const t = e.type, { mixins: r, extends: n } = t, {
    mixins: o,
    optionsCache: i,
    config: { optionMergeStrategies: s }
  } = e.appContext, d = i.get(t);
  let a;
  return d ? a = d : !o.length && !r && !n ? a = t : (a = {}, o.length && o.forEach(
    (c) => vr(a, c, s, !0)
  ), vr(a, t, s)), J(t) && i.set(t, a), a;
}
function vr(e, t, r, n = !1) {
  const { mixins: o, extends: i } = t;
  i && vr(e, i, r, !0), o && o.forEach(
    (s) => vr(e, s, r, !0)
  );
  for (const s in t)
    if (!(n && s === "expose")) {
      const d = qa[s] || r && r[s];
      e[s] = d ? d(e[s], t[s]) : t[s];
    }
  return e;
}
const qa = {
  data: Do,
  props: Uo,
  emits: Uo,
  // objects
  methods: Mt,
  computed: Mt,
  // lifecycle
  beforeCreate: ce,
  created: ce,
  beforeMount: ce,
  mounted: ce,
  beforeUpdate: ce,
  updated: ce,
  beforeDestroy: ce,
  beforeUnmount: ce,
  destroyed: ce,
  unmounted: ce,
  activated: ce,
  deactivated: ce,
  errorCaptured: ce,
  serverPrefetch: ce,
  // assets
  components: Mt,
  directives: Mt,
  // watch
  watch: Qa,
  // provide / inject
  provide: Do,
  inject: za
};
function Do(e, t) {
  return t ? e ? function() {
    return se(
      R(e) ? e.call(this, this) : e,
      R(t) ? t.call(this, this) : t
    );
  } : t : e;
}
function za(e, t) {
  return Mt(_n(e), _n(t));
}
function _n(e) {
  if (M(e)) {
    const t = {};
    for (let r = 0; r < e.length; r++)
      t[e[r]] = e[r];
    return t;
  }
  return e;
}
function ce(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function Mt(e, t) {
  return e ? se(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function Uo(e, t) {
  return e ? M(e) && M(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : se(
    /* @__PURE__ */ Object.create(null),
    Bo(e),
    Bo(t ?? {})
  ) : t;
}
function Qa(e, t) {
  if (!e)
    return t;
  if (!t)
    return e;
  const r = se(/* @__PURE__ */ Object.create(null), e);
  for (const n in t)
    r[n] = ce(e[n], t[n]);
  return r;
}
function Ms() {
  return {
    app: null,
    config: {
      isNativeTag: Nd,
      performance: !1,
      globalProperties: {},
      optionMergeStrategies: {},
      errorHandler: void 0,
      warnHandler: void 0,
      compilerOptions: {}
    },
    mixins: [],
    components: {},
    directives: {},
    provides: /* @__PURE__ */ Object.create(null),
    optionsCache: /* @__PURE__ */ new WeakMap(),
    propsCache: /* @__PURE__ */ new WeakMap(),
    emitsCache: /* @__PURE__ */ new WeakMap()
  };
}
let Za = 0;
function Ja(e, t) {
  return function(n, o = null) {
    R(n) || (n = se({}, n)), o != null && !J(o) && (o = null);
    const i = Ms(), s = /* @__PURE__ */ new WeakSet();
    let d = !1;
    const a = i.app = {
      _uid: Za++,
      _component: n,
      _props: o,
      _container: null,
      _context: i,
      _instance: null,
      version: _l,
      get config() {
        return i.config;
      },
      set config(c) {
      },
      use(c, ...u) {
        return s.has(c) || (c && R(c.install) ? (s.add(c), c.install(a, ...u)) : R(c) && (s.add(c), c(a, ...u))), a;
      },
      mixin(c) {
        return i.mixins.includes(c) || i.mixins.push(c), a;
      },
      component(c, u) {
        return u ? (i.components[c] = u, a) : i.components[c];
      },
      directive(c, u) {
        return u ? (i.directives[c] = u, a) : i.directives[c];
      },
      mount(c, u, $) {
        if (!d) {
          const C = re(n, o);
          return C.appContext = i, $ === !0 ? $ = "svg" : $ === !1 && ($ = void 0), u && t ? t(C, c) : e(C, c, $), d = !0, a._container = c, c.__vue_app__ = a, Dr(C.component) || C.component.proxy;
        }
      },
      unmount() {
        d && (e(null, a._container), delete a._container.__vue_app__);
      },
      provide(c, u) {
        return i.provides[c] = u, a;
      },
      runWithContext(c) {
        const u = kt;
        kt = a;
        try {
          return c();
        } finally {
          kt = u;
        }
      }
    };
    return a;
  };
}
let kt = null;
function Ya(e, t) {
  if (ae) {
    let r = ae.provides;
    const n = ae.parent && ae.parent.provides;
    n === r && (r = ae.provides = Object.create(n)), r[e] = t;
  }
}
function ur(e, t, r = !1) {
  const n = ae || he;
  if (n || kt) {
    const o = n ? n.parent == null ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : kt._context.provides;
    if (o && e in o)
      return o[e];
    if (arguments.length > 1)
      return r && R(t) ? t.call(n && n.proxy) : t;
  }
}
function Xa(e, t, r, n = !1) {
  const o = {}, i = {};
  yr(i, Br, 1), e.propsDefaults = /* @__PURE__ */ Object.create(null), Rs(e, t, o, i);
  for (const s in e.propsOptions[0])
    s in o || (o[s] = void 0);
  r ? e.props = n ? o : aa(o) : e.type.props ? e.props = o : e.props = i, e.attrs = i;
}
function el(e, t, r, n) {
  const {
    props: o,
    attrs: i,
    vnode: { patchFlag: s }
  } = e, d = j(o), [a] = e.propsOptions;
  let c = !1;
  if (
    // always force full diff in dev
    // - #1942 if hmr is enabled with sfc component
    // - vite#872 non-sfc component used by sfc component
    (n || s > 0) && !(s & 16)
  ) {
    if (s & 8) {
      const u = e.vnode.dynamicProps;
      for (let $ = 0; $ < u.length; $++) {
        let C = u[$];
        if (Rr(e.emitsOptions, C))
          continue;
        const O = t[C];
        if (a)
          if (U(i, C))
            O !== i[C] && (i[C] = O, c = !0);
          else {
            const _ = Ie(C);
            o[_] = Pn(
              a,
              d,
              _,
              O,
              e,
              !1
            );
          }
        else
          O !== i[C] && (i[C] = O, c = !0);
      }
    }
  } else {
    Rs(e, t, o, i) && (c = !0);
    let u;
    for (const $ in d)
      (!t || // for camelCase
      !U(t, $) && // it's possible the original props was passed in as kebab-case
      // and converted to camelCase (#955)
      ((u = Pt($)) === $ || !U(t, u))) && (a ? r && // for camelCase
      (r[$] !== void 0 || // for kebab-case
      r[u] !== void 0) && (o[$] = Pn(
        a,
        d,
        $,
        void 0,
        e,
        !0
      )) : delete o[$]);
    if (i !== d)
      for (const $ in i)
        (!t || !U(t, $)) && (delete i[$], c = !0);
  }
  c && Ge(e, "set", "$attrs");
}
function Rs(e, t, r, n) {
  const [o, i] = e.propsOptions;
  let s = !1, d;
  if (t)
    for (let a in t) {
      if (It(a))
        continue;
      const c = t[a];
      let u;
      o && U(o, u = Ie(a)) ? !i || !i.includes(u) ? r[u] = c : (d || (d = {}))[u] = c : Rr(e.emitsOptions, a) || (!(a in n) || c !== n[a]) && (n[a] = c, s = !0);
    }
  if (i) {
    const a = j(r), c = d || q;
    for (let u = 0; u < i.length; u++) {
      const $ = i[u];
      r[$] = Pn(
        o,
        a,
        $,
        c[$],
        e,
        !U(c, $)
      );
    }
  }
  return s;
}
function Pn(e, t, r, n, o, i) {
  const s = e[r];
  if (s != null) {
    const d = U(s, "default");
    if (d && n === void 0) {
      const a = s.default;
      if (s.type !== Function && !s.skipFactory && R(a)) {
        const { propsDefaults: c } = o;
        if (r in c)
          n = c[r];
        else {
          const u = zt(o);
          n = c[r] = a.call(
            null,
            t
          ), u();
        }
      } else
        n = a;
    }
    s[
      0
      /* shouldCast */
    ] && (i && !d ? n = !1 : s[
      1
      /* shouldCastTrue */
    ] && (n === "" || n === Pt(r)) && (n = !0));
  }
  return n;
}
function Is(e, t, r = !1) {
  const n = t.propsCache, o = n.get(e);
  if (o)
    return o;
  const i = e.props, s = {}, d = [];
  let a = !1;
  if (!R(e)) {
    const u = ($) => {
      a = !0;
      const [C, O] = Is($, t, !0);
      se(s, C), O && d.push(...O);
    };
    !r && t.mixins.length && t.mixins.forEach(u), e.extends && u(e.extends), e.mixins && e.mixins.forEach(u);
  }
  if (!i && !a)
    return J(e) && n.set(e, mt), mt;
  if (M(i))
    for (let u = 0; u < i.length; u++) {
      const $ = Ie(i[u]);
      Go($) && (s[$] = q);
    }
  else if (i)
    for (const u in i) {
      const $ = Ie(u);
      if (Go($)) {
        const C = i[u], O = s[$] = M(C) || R(C) ? { type: C } : se({}, C);
        if (O) {
          const _ = Ho(Boolean, O.type), S = Ho(String, O.type);
          O[
            0
            /* shouldCast */
          ] = _ > -1, O[
            1
            /* shouldCastTrue */
          ] = S < 0 || _ < S, (_ > -1 || U(O, "default")) && d.push($);
        }
      }
    }
  const c = [s, d];
  return J(e) && n.set(e, c), c;
}
function Go(e) {
  return e[0] !== "$" && !It(e);
}
function jo(e) {
  return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
}
function Vo(e, t) {
  return jo(e) === jo(t);
}
function Ho(e, t) {
  return M(t) ? t.findIndex((r) => Vo(r, e)) : R(t) && Vo(t, e) ? 0 : -1;
}
const Ls = (e) => e[0] === "_" || e === "$stable", io = (e) => M(e) ? e.map(Fe) : [Fe(e)], tl = (e, t, r) => {
  if (t._n)
    return t;
  const n = Ca((...o) => io(t(...o)), r);
  return n._c = !1, n;
}, Bs = (e, t, r) => {
  const n = e._ctx;
  for (const o in e) {
    if (Ls(o))
      continue;
    const i = e[o];
    if (R(i))
      t[o] = tl(o, i, n);
    else if (i != null) {
      const s = io(i);
      t[o] = () => s;
    }
  }
}, ks = (e, t) => {
  const r = io(t);
  e.slots.default = () => r;
}, rl = (e, t) => {
  if (e.vnode.shapeFlag & 32) {
    const r = t._;
    r ? (e.slots = j(t), yr(t, "_", r)) : Bs(
      t,
      e.slots = {}
    );
  } else
    e.slots = {}, t && ks(e, t);
  yr(e.slots, Br, 1);
}, nl = (e, t, r) => {
  const { vnode: n, slots: o } = e;
  let i = !0, s = q;
  if (n.shapeFlag & 32) {
    const d = t._;
    d ? r && d === 1 ? i = !1 : (se(o, t), !r && d === 1 && delete o._) : (i = !t.$stable, Bs(t, o)), s = t;
  } else
    t && (ks(e, t), s = { default: 1 });
  if (i)
    for (const d in o)
      !Ls(d) && s[d] == null && delete o[d];
};
function An(e, t, r, n, o = !1) {
  if (M(e)) {
    e.forEach(
      (C, O) => An(
        C,
        t && (M(t) ? t[O] : t),
        r,
        n,
        o
      )
    );
    return;
  }
  if (cr(n) && !o)
    return;
  const i = n.shapeFlag & 4 ? Dr(n.component) || n.component.proxy : n.el, s = o ? null : i, { i: d, r: a } = e, c = t && t.r, u = d.refs === q ? d.refs = {} : d.refs, $ = d.setupState;
  if (c != null && c !== a && (ne(c) ? (u[c] = null, U($, c) && ($[c] = null)) : ge(c) && (c.value = null)), R(a))
    Ye(a, d, 12, [s, u]);
  else {
    const C = ne(a), O = ge(a);
    if (C || O) {
      const _ = () => {
        if (e.f) {
          const S = C ? U($, a) ? $[a] : u[a] : a.value;
          o ? M(S) && Kn(S, i) : M(S) ? S.includes(i) || S.push(i) : C ? (u[a] = [i], U($, a) && ($[a] = u[a])) : (a.value = [i], e.k && (u[e.k] = a.value));
        } else
          C ? (u[a] = s, U($, a) && ($[a] = s)) : O && (a.value = s, e.k && (u[e.k] = s));
      };
      s ? (_.id = -1, $e(_, r)) : _();
    }
  }
}
const $e = Oa;
function ol(e) {
  return il(e);
}
function il(e, t) {
  const r = Yi();
  r.__VUE__ = !0;
  const {
    insert: n,
    remove: o,
    patchProp: i,
    createElement: s,
    createText: d,
    createComment: a,
    setText: c,
    setElementText: u,
    parentNode: $,
    nextSibling: C,
    setScopeId: O = ye,
    insertStaticContent: _
  } = e, S = (l, f, h, m = null, b = null, v = null, P = void 0, w = null, E = !!f.dynamicChildren) => {
    if (l === f)
      return;
    l && !Ft(l, f) && (m = tr(l), Oe(l, b, v, !0), l = null), f.patchFlag === -2 && (E = !1, f.dynamicChildren = null);
    const { type: y, ref: A, shapeFlag: x } = f;
    switch (y) {
      case Lr:
        I(l, f, h, m);
        break;
      case ct:
        L(l, f, h, m);
        break;
      case fr:
        l == null && Y(f, h, m, P);
        break;
      case Se:
        Yt(
          l,
          f,
          h,
          m,
          b,
          v,
          P,
          w,
          E
        );
        break;
      default:
        x & 1 ? be(
          l,
          f,
          h,
          m,
          b,
          v,
          P,
          w,
          E
        ) : x & 6 ? Xt(
          l,
          f,
          h,
          m,
          b,
          v,
          P,
          w,
          E
        ) : (x & 64 || x & 128) && y.process(
          l,
          f,
          h,
          m,
          b,
          v,
          P,
          w,
          E,
          $t
        );
    }
    A != null && b && An(A, l && l.ref, v, f || l, !f);
  }, I = (l, f, h, m) => {
    if (l == null)
      n(
        f.el = d(f.children),
        h,
        m
      );
    else {
      const b = f.el = l.el;
      f.children !== l.children && c(b, f.children);
    }
  }, L = (l, f, h, m) => {
    l == null ? n(
      f.el = a(f.children || ""),
      h,
      m
    ) : f.el = l.el;
  }, Y = (l, f, h, m) => {
    [l.el, l.anchor] = _(
      l.children,
      f,
      h,
      m,
      l.el,
      l.anchor
    );
  }, k = ({ el: l, anchor: f }, h, m) => {
    let b;
    for (; l && l !== f; )
      b = C(l), n(l, h, m), l = b;
    n(f, h, m);
  }, te = ({ el: l, anchor: f }) => {
    let h;
    for (; l && l !== f; )
      h = C(l), o(l), l = h;
    o(f);
  }, be = (l, f, h, m, b, v, P, w, E) => {
    f.type === "svg" ? P = "svg" : f.type === "math" && (P = "mathml"), l == null ? G(
      f,
      h,
      m,
      b,
      v,
      P,
      w,
      E
    ) : qr(
      l,
      f,
      b,
      v,
      P,
      w,
      E
    );
  }, G = (l, f, h, m, b, v, P, w) => {
    let E, y;
    const { props: A, shapeFlag: x, transition: N, dirs: T } = l;
    if (E = l.el = s(
      l.type,
      v,
      A && A.is,
      A
    ), x & 8 ? u(E, l.children) : x & 16 && Ae(
      l.children,
      E,
      null,
      m,
      b,
      nn(l, v),
      P,
      w
    ), T && nt(l, null, m, "created"), ke(E, l, l.scopeId, P, m), A) {
      for (const V in A)
        V !== "value" && !It(V) && i(
          E,
          V,
          null,
          A[V],
          v,
          l.children,
          m,
          b,
          De
        );
      "value" in A && i(E, "value", null, A.value, v), (y = A.onVnodeBeforeMount) && xe(y, m, l);
    }
    T && nt(l, null, m, "beforeMount");
    const B = sl(b, N);
    B && N.beforeEnter(E), n(E, f, h), ((y = A && A.onVnodeMounted) || B || T) && $e(() => {
      y && xe(y, m, l), B && N.enter(E), T && nt(l, null, m, "mounted");
    }, b);
  }, ke = (l, f, h, m, b) => {
    if (h && O(l, h), m)
      for (let v = 0; v < m.length; v++)
        O(l, m[v]);
    if (b) {
      let v = b.subTree;
      if (f === v) {
        const P = b.vnode;
        ke(
          l,
          P,
          P.scopeId,
          P.slotScopeIds,
          b.parent
        );
      }
    }
  }, Ae = (l, f, h, m, b, v, P, w, E = 0) => {
    for (let y = E; y < l.length; y++) {
      const A = l[y] = w ? Qe(l[y]) : Fe(l[y]);
      S(
        null,
        A,
        f,
        h,
        m,
        b,
        v,
        P,
        w
      );
    }
  }, qr = (l, f, h, m, b, v, P) => {
    const w = f.el = l.el;
    let { patchFlag: E, dynamicChildren: y, dirs: A } = f;
    E |= l.patchFlag & 16;
    const x = l.props || q, N = f.props || q;
    let T;
    if (h && ot(h, !1), (T = N.onVnodeBeforeUpdate) && xe(T, h, f, l), A && nt(f, l, h, "beforeUpdate"), h && ot(h, !0), y ? et(
      l.dynamicChildren,
      y,
      w,
      h,
      m,
      nn(f, b),
      v
    ) : P || W(
      l,
      f,
      w,
      null,
      h,
      m,
      nn(f, b),
      v,
      !1
    ), E > 0) {
      if (E & 16)
        Nt(
          w,
          f,
          x,
          N,
          h,
          m,
          b
        );
      else if (E & 2 && x.class !== N.class && i(w, "class", null, N.class, b), E & 4 && i(w, "style", x.style, N.style, b), E & 8) {
        const B = f.dynamicProps;
        for (let V = 0; V < B.length; V++) {
          const z = B[V], oe = x[z], we = N[z];
          (we !== oe || z === "value") && i(
            w,
            z,
            oe,
            we,
            b,
            l.children,
            h,
            m,
            De
          );
        }
      }
      E & 1 && l.children !== f.children && u(w, f.children);
    } else
      !P && y == null && Nt(
        w,
        f,
        x,
        N,
        h,
        m,
        b
      );
    ((T = N.onVnodeUpdated) || A) && $e(() => {
      T && xe(T, h, f, l), A && nt(f, l, h, "updated");
    }, m);
  }, et = (l, f, h, m, b, v, P) => {
    for (let w = 0; w < f.length; w++) {
      const E = l[w], y = f[w], A = (
        // oldVNode may be an errored async setup() component inside Suspense
        // which will not have a mounted element
        E.el && // - In the case of a Fragment, we need to provide the actual parent
        // of the Fragment itself so it can move its children.
        (E.type === Se || // - In the case of different nodes, there is going to be a replacement
        // which also requires the correct parent container
        !Ft(E, y) || // - In the case of a component, it could contain anything.
        E.shapeFlag & 70) ? $(E.el) : (
          // In other cases, the parent container is not actually used so we
          // just pass the block element here to avoid a DOM parentNode call.
          h
        )
      );
      S(
        E,
        y,
        A,
        null,
        m,
        b,
        v,
        P,
        !0
      );
    }
  }, Nt = (l, f, h, m, b, v, P) => {
    if (h !== m) {
      if (h !== q)
        for (const w in h)
          !It(w) && !(w in m) && i(
            l,
            w,
            h[w],
            null,
            P,
            f.children,
            b,
            v,
            De
          );
      for (const w in m) {
        if (It(w))
          continue;
        const E = m[w], y = h[w];
        E !== y && w !== "value" && i(
          l,
          w,
          y,
          E,
          P,
          f.children,
          b,
          v,
          De
        );
      }
      "value" in m && i(l, "value", h.value, m.value, P);
    }
  }, Yt = (l, f, h, m, b, v, P, w, E) => {
    const y = f.el = l ? l.el : d(""), A = f.anchor = l ? l.anchor : d("");
    let { patchFlag: x, dynamicChildren: N, slotScopeIds: T } = f;
    T && (w = w ? w.concat(T) : T), l == null ? (n(y, h, m), n(A, h, m), Ae(
      // #10007
      // such fragment like `<></>` will be compiled into
      // a fragment which doesn't have a children.
      // In this case fallback to an empty array
      f.children || [],
      h,
      A,
      b,
      v,
      P,
      w,
      E
    )) : x > 0 && x & 64 && N && // #2715 the previous fragment could've been a BAILed one as a result
    // of renderSlot() with no valid children
    l.dynamicChildren ? (et(
      l.dynamicChildren,
      N,
      h,
      b,
      v,
      P,
      w
    ), // #2080 if the stable fragment has a key, it's a <template v-for> that may
    //  get moved around. Make sure all root level vnodes inherit el.
    // #2134 or if it's a component root, it may also get moved around
    // as the component is being moved.
    (f.key != null || b && f === b.subTree) && Ds(
      l,
      f,
      !0
      /* shallow */
    )) : W(
      l,
      f,
      h,
      A,
      b,
      v,
      P,
      w,
      E
    );
  }, Xt = (l, f, h, m, b, v, P, w, E) => {
    f.slotScopeIds = w, l == null ? f.shapeFlag & 512 ? b.ctx.activate(
      f,
      h,
      m,
      P,
      E
    ) : zr(
      f,
      h,
      m,
      b,
      v,
      P,
      E
    ) : Co(l, f, E);
  }, zr = (l, f, h, m, b, v, P) => {
    const w = l.component = ml(
      l,
      m,
      b
    );
    if (Os(l) && (w.ctx.renderer = $t), bl(w), w.asyncDep) {
      if (b && b.registerDep(w, le), !l.el) {
        const E = w.subTree = re(ct);
        L(null, E, f, h);
      }
    } else
      le(
        w,
        l,
        f,
        h,
        b,
        v,
        P
      );
  }, Co = (l, f, h) => {
    const m = f.component = l.component;
    if (Sa(l, f, h))
      if (m.asyncDep && !m.asyncResolved) {
        Z(m, f, h);
        return;
      } else
        m.next = f, ga(m.update), m.effect.dirty = !0, m.update();
    else
      f.el = l.el, m.vnode = f;
  }, le = (l, f, h, m, b, v, P) => {
    const w = () => {
      if (l.isMounted) {
        let { next: A, bu: x, u: N, parent: T, vnode: B } = l;
        {
          const ht = Us(l);
          if (ht) {
            A && (A.el = B.el, Z(l, A, P)), ht.asyncDep.then(() => {
              l.isUnmounted || w();
            });
            return;
          }
        }
        let V = A, z;
        ot(l, !1), A ? (A.el = B.el, Z(l, A, P)) : A = B, x && ar(x), (z = A.props && A.props.onVnodeBeforeUpdate) && xe(z, T, A, B), ot(l, !0);
        const oe = en(l), we = l.subTree;
        l.subTree = oe, S(
          we,
          oe,
          // parent may have changed if it's in a teleport
          $(we.el),
          // anchor may have changed if it's in a fragment
          tr(we),
          l,
          b,
          v
        ), A.el = oe.el, V === null && Ea(l, oe.el), N && $e(N, b), (z = A.props && A.props.onVnodeUpdated) && $e(
          () => xe(z, T, A, B),
          b
        );
      } else {
        let A;
        const { el: x, props: N } = f, { bm: T, m: B, parent: V } = l, z = cr(f);
        if (ot(l, !1), T && ar(T), !z && (A = N && N.onVnodeBeforeMount) && xe(A, V, f), ot(l, !0), x && Jr) {
          const oe = () => {
            l.subTree = en(l), Jr(
              x,
              l.subTree,
              l,
              b,
              null
            );
          };
          z ? f.type.__asyncLoader().then(
            // note: we are moving the render call into an async callback,
            // which means it won't track dependencies - but it's ok because
            // a server-rendered async wrapper is already in resolved state
            // and it will never need to change.
            () => !l.isUnmounted && oe()
          ) : oe();
        } else {
          const oe = l.subTree = en(l);
          S(
            null,
            oe,
            h,
            m,
            l,
            b,
            v
          ), f.el = oe.el;
        }
        if (B && $e(B, b), !z && (A = N && N.onVnodeMounted)) {
          const oe = f;
          $e(
            () => xe(A, V, oe),
            b
          );
        }
        (f.shapeFlag & 256 || V && cr(V.vnode) && V.vnode.shapeFlag & 256) && l.a && $e(l.a, b), l.isMounted = !0, f = h = m = null;
      }
    }, E = l.effect = new qn(
      w,
      ye,
      () => no(y),
      l.scope
      // track it in component's effect scope
    ), y = l.update = () => {
      E.dirty && E.run();
    };
    y.id = l.uid, ot(l, !0), y();
  }, Z = (l, f, h) => {
    f.component = l;
    const m = l.vnode.props;
    l.vnode = f, l.next = null, el(l, f.props, m, h), nl(l, f.children, h), ut(), Ro(l), ft();
  }, W = (l, f, h, m, b, v, P, w, E = !1) => {
    const y = l && l.children, A = l ? l.shapeFlag : 0, x = f.children, { patchFlag: N, shapeFlag: T } = f;
    if (N > 0) {
      if (N & 128) {
        er(
          y,
          x,
          h,
          m,
          b,
          v,
          P,
          w,
          E
        );
        return;
      } else if (N & 256) {
        tt(
          y,
          x,
          h,
          m,
          b,
          v,
          P,
          w,
          E
        );
        return;
      }
    }
    T & 8 ? (A & 16 && De(y, b, v), x !== y && u(h, x)) : A & 16 ? T & 16 ? er(
      y,
      x,
      h,
      m,
      b,
      v,
      P,
      w,
      E
    ) : De(y, b, v, !0) : (A & 8 && u(h, ""), T & 16 && Ae(
      x,
      h,
      m,
      b,
      v,
      P,
      w,
      E
    ));
  }, tt = (l, f, h, m, b, v, P, w, E) => {
    l = l || mt, f = f || mt;
    const y = l.length, A = f.length, x = Math.min(y, A);
    let N;
    for (N = 0; N < x; N++) {
      const T = f[N] = E ? Qe(f[N]) : Fe(f[N]);
      S(
        l[N],
        T,
        h,
        null,
        b,
        v,
        P,
        w,
        E
      );
    }
    y > A ? De(
      l,
      b,
      v,
      !0,
      !1,
      x
    ) : Ae(
      f,
      h,
      m,
      b,
      v,
      P,
      w,
      E,
      x
    );
  }, er = (l, f, h, m, b, v, P, w, E) => {
    let y = 0;
    const A = f.length;
    let x = l.length - 1, N = A - 1;
    for (; y <= x && y <= N; ) {
      const T = l[y], B = f[y] = E ? Qe(f[y]) : Fe(f[y]);
      if (Ft(T, B))
        S(
          T,
          B,
          h,
          null,
          b,
          v,
          P,
          w,
          E
        );
      else
        break;
      y++;
    }
    for (; y <= x && y <= N; ) {
      const T = l[x], B = f[N] = E ? Qe(f[N]) : Fe(f[N]);
      if (Ft(T, B))
        S(
          T,
          B,
          h,
          null,
          b,
          v,
          P,
          w,
          E
        );
      else
        break;
      x--, N--;
    }
    if (y > x) {
      if (y <= N) {
        const T = N + 1, B = T < A ? f[T].el : m;
        for (; y <= N; )
          S(
            null,
            f[y] = E ? Qe(f[y]) : Fe(f[y]),
            h,
            B,
            b,
            v,
            P,
            w,
            E
          ), y++;
      }
    } else if (y > N)
      for (; y <= x; )
        Oe(l[y], b, v, !0), y++;
    else {
      const T = y, B = y, V = /* @__PURE__ */ new Map();
      for (y = B; y <= N; y++) {
        const me = f[y] = E ? Qe(f[y]) : Fe(f[y]);
        me.key != null && V.set(me.key, y);
      }
      let z, oe = 0;
      const we = N - B + 1;
      let ht = !1, So = 0;
      const xt = new Array(we);
      for (y = 0; y < we; y++)
        xt[y] = 0;
      for (y = T; y <= x; y++) {
        const me = l[y];
        if (oe >= we) {
          Oe(me, b, v, !0);
          continue;
        }
        let Ne;
        if (me.key != null)
          Ne = V.get(me.key);
        else
          for (z = B; z <= N; z++)
            if (xt[z - B] === 0 && Ft(me, f[z])) {
              Ne = z;
              break;
            }
        Ne === void 0 ? Oe(me, b, v, !0) : (xt[Ne - B] = y + 1, Ne >= So ? So = Ne : ht = !0, S(
          me,
          f[Ne],
          h,
          null,
          b,
          v,
          P,
          w,
          E
        ), oe++);
      }
      const Eo = ht ? dl(xt) : mt;
      for (z = Eo.length - 1, y = we - 1; y >= 0; y--) {
        const me = B + y, Ne = f[me], _o = me + 1 < A ? f[me + 1].el : m;
        xt[y] === 0 ? S(
          null,
          Ne,
          h,
          _o,
          b,
          v,
          P,
          w,
          E
        ) : ht && (z < 0 || y !== Eo[z] ? rt(Ne, h, _o, 2) : z--);
      }
    }
  }, rt = (l, f, h, m, b = null) => {
    const { el: v, type: P, transition: w, children: E, shapeFlag: y } = l;
    if (y & 6) {
      rt(l.component.subTree, f, h, m);
      return;
    }
    if (y & 128) {
      l.suspense.move(f, h, m);
      return;
    }
    if (y & 64) {
      P.move(l, f, h, $t);
      return;
    }
    if (P === Se) {
      n(v, f, h);
      for (let x = 0; x < E.length; x++)
        rt(E[x], f, h, m);
      n(l.anchor, f, h);
      return;
    }
    if (P === fr) {
      k(l, f, h);
      return;
    }
    if (m !== 2 && y & 1 && w)
      if (m === 0)
        w.beforeEnter(v), n(v, f, h), $e(() => w.enter(v), b);
      else {
        const { leave: x, delayLeave: N, afterLeave: T } = w, B = () => n(v, f, h), V = () => {
          x(v, () => {
            B(), T && T();
          });
        };
        N ? N(v, B, V) : V();
      }
    else
      n(v, f, h);
  }, Oe = (l, f, h, m = !1, b = !1) => {
    const {
      type: v,
      props: P,
      ref: w,
      children: E,
      dynamicChildren: y,
      shapeFlag: A,
      patchFlag: x,
      dirs: N
    } = l;
    if (w != null && An(w, null, h, l, !0), A & 256) {
      f.ctx.deactivate(l);
      return;
    }
    const T = A & 1 && N, B = !cr(l);
    let V;
    if (B && (V = P && P.onVnodeBeforeUnmount) && xe(V, f, l), A & 6)
      Od(l.component, h, m);
    else {
      if (A & 128) {
        l.suspense.unmount(h, m);
        return;
      }
      T && nt(l, null, f, "beforeUnmount"), A & 64 ? l.type.remove(
        l,
        f,
        h,
        b,
        $t,
        m
      ) : y && // #1153: fast path should not be taken for non-stable (v-for) fragments
      (v !== Se || x > 0 && x & 64) ? De(
        y,
        f,
        h,
        !1,
        !0
      ) : (v === Se && x & 384 || !b && A & 16) && De(E, f, h), m && wo(l);
    }
    (B && (V = P && P.onVnodeUnmounted) || T) && $e(() => {
      V && xe(V, f, l), T && nt(l, null, f, "unmounted");
    }, h);
  }, wo = (l) => {
    const { type: f, el: h, anchor: m, transition: b } = l;
    if (f === Se) {
      Ad(h, m);
      return;
    }
    if (f === fr) {
      te(l);
      return;
    }
    const v = () => {
      o(h), b && !b.persisted && b.afterLeave && b.afterLeave();
    };
    if (l.shapeFlag & 1 && b && !b.persisted) {
      const { leave: P, delayLeave: w } = b, E = () => P(h, v);
      w ? w(l.el, v, E) : E();
    } else
      v();
  }, Ad = (l, f) => {
    let h;
    for (; l !== f; )
      h = C(l), o(l), l = h;
    o(f);
  }, Od = (l, f, h) => {
    const { bum: m, scope: b, update: v, subTree: P, um: w } = l;
    m && ar(m), b.stop(), v && (v.active = !1, Oe(P, l, f, h)), w && $e(w, f), $e(() => {
      l.isUnmounted = !0;
    }, f), f && f.pendingBranch && !f.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === f.pendingId && (f.deps--, f.deps === 0 && f.resolve());
  }, De = (l, f, h, m = !1, b = !1, v = 0) => {
    for (let P = v; P < l.length; P++)
      Oe(l[P], f, h, m, b);
  }, tr = (l) => l.shapeFlag & 6 ? tr(l.component.subTree) : l.shapeFlag & 128 ? l.suspense.next() : C(l.anchor || l.el);
  let Qr = !1;
  const vo = (l, f, h) => {
    l == null ? f._vnode && Oe(f._vnode, null, null, !0) : S(
      f._vnode || null,
      l,
      f,
      null,
      null,
      null,
      h
    ), Qr || (Qr = !0, Ro(), ws(), Qr = !1), f._vnode = l;
  }, $t = {
    p: S,
    um: Oe,
    m: rt,
    r: wo,
    mt: zr,
    mc: Ae,
    pc: W,
    pbc: et,
    n: tr,
    o: e
  };
  let Zr, Jr;
  return t && ([Zr, Jr] = t(
    $t
  )), {
    render: vo,
    hydrate: Zr,
    createApp: Ja(vo, Zr)
  };
}
function nn({ type: e, props: t }, r) {
  return r === "svg" && e === "foreignObject" || r === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : r;
}
function ot({ effect: e, update: t }, r) {
  e.allowRecurse = t.allowRecurse = r;
}
function sl(e, t) {
  return (!e || e && !e.pendingBranch) && t && !t.persisted;
}
function Ds(e, t, r = !1) {
  const n = e.children, o = t.children;
  if (M(n) && M(o))
    for (let i = 0; i < n.length; i++) {
      const s = n[i];
      let d = o[i];
      d.shapeFlag & 1 && !d.dynamicChildren && ((d.patchFlag <= 0 || d.patchFlag === 32) && (d = o[i] = Qe(o[i]), d.el = s.el), r || Ds(s, d)), d.type === Lr && (d.el = s.el);
    }
}
function dl(e) {
  const t = e.slice(), r = [0];
  let n, o, i, s, d;
  const a = e.length;
  for (n = 0; n < a; n++) {
    const c = e[n];
    if (c !== 0) {
      if (o = r[r.length - 1], e[o] < c) {
        t[n] = o, r.push(n);
        continue;
      }
      for (i = 0, s = r.length - 1; i < s; )
        d = i + s >> 1, e[r[d]] < c ? i = d + 1 : s = d;
      c < e[r[i]] && (i > 0 && (t[n] = r[i - 1]), r[i] = n);
    }
  }
  for (i = r.length, s = r[i - 1]; i-- > 0; )
    r[i] = s, s = t[s];
  return r;
}
function Us(e) {
  const t = e.subTree.component;
  if (t)
    return t.asyncDep && !t.asyncResolved ? t : Us(t);
}
const al = (e) => e.__isTeleport, Se = Symbol.for("v-fgt"), Lr = Symbol.for("v-txt"), ct = Symbol.for("v-cmt"), fr = Symbol.for("v-stc"), Dt = [];
let Ee = null;
function K(e = !1) {
  Dt.push(Ee = e ? null : []);
}
function ll() {
  Dt.pop(), Ee = Dt[Dt.length - 1] || null;
}
let Vt = 1;
function Ko(e) {
  Vt += e;
}
function Gs(e) {
  return e.dynamicChildren = Vt > 0 ? Ee || mt : null, ll(), Vt > 0 && Ee && Ee.push(e), e;
}
function Q(e, t, r, n, o, i) {
  return Gs(
    F(
      e,
      t,
      r,
      n,
      o,
      i,
      !0
    )
  );
}
function On(e, t, r, n, o) {
  return Gs(
    re(
      e,
      t,
      r,
      n,
      o,
      !0
    )
  );
}
function cl(e) {
  return e ? e.__v_isVNode === !0 : !1;
}
function Ft(e, t) {
  return e.type === t.type && e.key === t.key;
}
const Br = "__vInternal", js = ({ key: e }) => e ?? null, $r = ({
  ref: e,
  ref_key: t,
  ref_for: r
}) => (typeof e == "number" && (e = "" + e), e != null ? ne(e) || ge(e) || R(e) ? { i: he, r: e, k: t, f: !!r } : e : null);
function F(e, t = null, r = null, n = 0, o = null, i = e === Se ? 0 : 1, s = !1, d = !1) {
  const a = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && js(t),
    ref: t && $r(t),
    scopeId: Es,
    slotScopeIds: null,
    children: r,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: i,
    patchFlag: n,
    dynamicProps: o,
    dynamicChildren: null,
    appContext: null,
    ctx: he
  };
  return d ? (so(a, r), i & 128 && e.normalize(a)) : r && (a.shapeFlag |= ne(r) ? 8 : 16), Vt > 0 && // avoid a block node from tracking itself
  !s && // has current parent block
  Ee && // presence of a patch flag indicates this node needs patching on updates.
  // component nodes also should always be patched, because even if the
  // component doesn't need to update, it needs to persist the instance on to
  // the next vnode so that it can be properly unmounted later.
  (a.patchFlag > 0 || i & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
  // vnode should not be considered dynamic due to handler caching.
  a.patchFlag !== 32 && Ee.push(a), a;
}
const re = ul;
function ul(e, t = null, r = null, n = 0, o = null, i = !1) {
  if ((!e || e === _a) && (e = ct), cl(e)) {
    const d = St(
      e,
      t,
      !0
      /* mergeRef: true */
    );
    return r && so(d, r), Vt > 0 && !i && Ee && (d.shapeFlag & 6 ? Ee[Ee.indexOf(e)] = d : Ee.push(d)), d.patchFlag |= -2, d;
  }
  if (Sl(e) && (e = e.__vccOpts), t) {
    t = fl(t);
    let { class: d, style: a } = t;
    d && !ne(d) && (t.class = Le(d)), J(a) && (hs(a) && !M(a) && (a = se({}, a)), t.style = Fr(a));
  }
  const s = ne(e) ? 1 : Aa(e) ? 128 : al(e) ? 64 : J(e) ? 4 : R(e) ? 2 : 0;
  return F(
    e,
    t,
    r,
    n,
    o,
    s,
    i,
    !0
  );
}
function fl(e) {
  return e ? hs(e) || Br in e ? se({}, e) : e : null;
}
function St(e, t, r = !1) {
  const { props: n, ref: o, patchFlag: i, children: s } = e, d = t ? hl(n || {}, t) : n;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: d,
    key: d && js(d),
    ref: t && t.ref ? (
      // #2078 in the case of <component :is="vnode" ref="extra"/>
      // if the vnode itself already has a ref, cloneVNode will need to merge
      // the refs so the single vnode can be set on multiple refs
      r && o ? M(o) ? o.concat($r(t)) : [o, $r(t)] : $r(t)
    ) : o,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: s,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    // if the vnode is cloned with extra props, we can no longer assume its
    // existing patch flag to be reliable and need to add the FULL_PROPS flag.
    // note: preserve flag for fragments since they use the flag for children
    // fast paths only.
    patchFlag: t && e.type !== Se ? i === -1 ? 16 : i | 16 : i,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    // These should technically only be non-null on mounted VNodes. However,
    // they *should* be copied for kept-alive vnodes. So we just always copy
    // them since them being non-null during a mount doesn't affect the logic as
    // they will simply be overwritten.
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && St(e.ssContent),
    ssFallback: e.ssFallback && St(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
    ctx: e.ctx,
    ce: e.ce
  };
}
function qt(e = " ", t = 0) {
  return re(Lr, null, e, t);
}
function $l(e, t) {
  const r = re(fr, null, e);
  return r.staticCount = t, r;
}
function dt(e = "", t = !1) {
  return t ? (K(), On(ct, null, e)) : re(ct, null, e);
}
function Fe(e) {
  return e == null || typeof e == "boolean" ? re(ct) : M(e) ? re(
    Se,
    null,
    // #3666, avoid reference pollution when reusing vnode
    e.slice()
  ) : typeof e == "object" ? Qe(e) : re(Lr, null, String(e));
}
function Qe(e) {
  return e.el === null && e.patchFlag !== -1 || e.memo ? e : St(e);
}
function so(e, t) {
  let r = 0;
  const { shapeFlag: n } = e;
  if (t == null)
    t = null;
  else if (M(t))
    r = 16;
  else if (typeof t == "object")
    if (n & 65) {
      const o = t.default;
      o && (o._c && (o._d = !1), so(e, o()), o._c && (o._d = !0));
      return;
    } else {
      r = 32;
      const o = t._;
      !o && !(Br in t) ? t._ctx = he : o === 3 && he && (he.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
    }
  else
    R(t) ? (t = { default: t, _ctx: he }, r = 32) : (t = String(t), n & 64 ? (r = 16, t = [qt(t)]) : r = 8);
  e.children = t, e.shapeFlag |= r;
}
function hl(...e) {
  const t = {};
  for (let r = 0; r < e.length; r++) {
    const n = e[r];
    for (const o in n)
      if (o === "class")
        t.class !== n.class && (t.class = Le([t.class, n.class]));
      else if (o === "style")
        t.style = Fr([t.style, n.style]);
      else if (Ar(o)) {
        const i = t[o], s = n[o];
        s && i !== s && !(M(i) && i.includes(s)) && (t[o] = i ? [].concat(i, s) : s);
      } else
        o !== "" && (t[o] = n[o]);
  }
  return t;
}
function xe(e, t, r, n = null) {
  _e(e, t, 7, [
    r,
    n
  ]);
}
const pl = Ms();
let gl = 0;
function ml(e, t, r) {
  const n = e.type, o = (t ? t.appContext : e.appContext) || pl, i = {
    uid: gl++,
    vnode: e,
    type: n,
    parent: t,
    appContext: o,
    root: null,
    // to be immediately set
    next: null,
    subTree: null,
    // will be set synchronously right after creation
    effect: null,
    update: null,
    // will be set synchronously right after creation
    scope: new ts(
      !0
      /* detached */
    ),
    render: null,
    proxy: null,
    exposed: null,
    exposeProxy: null,
    withProxy: null,
    provides: t ? t.provides : Object.create(o.provides),
    accessCache: null,
    renderCache: [],
    // local resolved assets
    components: null,
    directives: null,
    // resolved props and emits options
    propsOptions: Is(n, o),
    emitsOptions: Ss(n, o),
    // emit
    emit: null,
    // to be set immediately
    emitted: null,
    // props default value
    propsDefaults: q,
    // inheritAttrs
    inheritAttrs: n.inheritAttrs,
    // state
    ctx: q,
    data: q,
    props: q,
    attrs: q,
    slots: q,
    refs: q,
    setupState: q,
    setupContext: null,
    attrsProxy: null,
    slotsProxy: null,
    // suspense related
    suspense: r,
    suspenseId: r ? r.pendingId : 0,
    asyncDep: null,
    asyncResolved: !1,
    // lifecycle hooks
    // not using enums here because it results in computed properties
    isMounted: !1,
    isUnmounted: !1,
    isDeactivated: !1,
    bc: null,
    c: null,
    bm: null,
    m: null,
    bu: null,
    u: null,
    um: null,
    bum: null,
    da: null,
    a: null,
    rtg: null,
    rtc: null,
    ec: null,
    sp: null
  };
  return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = ya.bind(null, i), e.ce && e.ce(i), i;
}
let ae = null, Sr, Nn;
{
  const e = Yi(), t = (r, n) => {
    let o;
    return (o = e[r]) || (o = e[r] = []), o.push(n), (i) => {
      o.length > 1 ? o.forEach((s) => s(i)) : o[0](i);
    };
  };
  Sr = t(
    "__VUE_INSTANCE_SETTERS__",
    (r) => ae = r
  ), Nn = t(
    "__VUE_SSR_SETTERS__",
    (r) => kr = r
  );
}
const zt = (e) => {
  const t = ae;
  return Sr(e), e.scope.on(), () => {
    e.scope.off(), Sr(t);
  };
}, Wo = () => {
  ae && ae.scope.off(), Sr(null);
};
function Vs(e) {
  return e.vnode.shapeFlag & 4;
}
let kr = !1;
function bl(e, t = !1) {
  t && Nn(t);
  const { props: r, children: n } = e.vnode, o = Vs(e);
  Xa(e, r, o, t), rl(e, n);
  const i = o ? yl(e, t) : void 0;
  return t && Nn(!1), i;
}
function yl(e, t) {
  const r = e.type;
  e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = eo(new Proxy(e.ctx, Ha));
  const { setup: n } = r;
  if (n) {
    const o = e.setupContext = n.length > 1 ? wl(e) : null, i = zt(e);
    ut();
    const s = Ye(
      n,
      e,
      0,
      [
        e.props,
        o
      ]
    );
    if (ft(), i(), Qi(s)) {
      if (s.then(Wo, Wo), t)
        return s.then((d) => {
          qo(e, d, t);
        }).catch((d) => {
          Mr(d, e, 0);
        });
      e.asyncDep = s;
    } else
      qo(e, s, t);
  } else
    Hs(e, t);
}
function qo(e, t, r) {
  R(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : J(t) && (e.setupState = bs(t)), Hs(e, r);
}
let zo;
function Hs(e, t, r) {
  const n = e.type;
  if (!e.render) {
    if (!t && zo && !n.render) {
      const o = n.template || oo(e).template;
      if (o) {
        const { isCustomElement: i, compilerOptions: s } = e.appContext.config, { delimiters: d, compilerOptions: a } = n, c = se(
          se(
            {
              isCustomElement: i,
              delimiters: d
            },
            s
          ),
          a
        );
        n.render = zo(o, c);
      }
    }
    e.render = n.render || ye;
  }
  {
    const o = zt(e);
    ut();
    try {
      Ka(e);
    } finally {
      ft(), o();
    }
  }
}
function Cl(e) {
  return e.attrsProxy || (e.attrsProxy = new Proxy(
    e.attrs,
    {
      get(t, r) {
        return pe(e, "get", "$attrs"), t[r];
      }
    }
  ));
}
function wl(e) {
  const t = (r) => {
    e.exposed = r || {};
  };
  return {
    get attrs() {
      return Cl(e);
    },
    slots: e.slots,
    emit: e.emit,
    expose: t
  };
}
function Dr(e) {
  if (e.exposed)
    return e.exposeProxy || (e.exposeProxy = new Proxy(bs(eo(e.exposed)), {
      get(t, r) {
        if (r in t)
          return t[r];
        if (r in Bt)
          return Bt[r](e);
      },
      has(t, r) {
        return r in t || r in Bt;
      }
    }));
}
function vl(e, t = !0) {
  return R(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function Sl(e) {
  return R(e) && "__vccOpts" in e;
}
const El = (e, t) => la(e, t, kr), _l = "3.4.21";
/**
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
const Pl = "http://www.w3.org/2000/svg", Al = "http://www.w3.org/1998/Math/MathML", Ze = typeof document < "u" ? document : null, Qo = Ze && /* @__PURE__ */ Ze.createElement("template"), Ol = {
  insert: (e, t, r) => {
    t.insertBefore(e, r || null);
  },
  remove: (e) => {
    const t = e.parentNode;
    t && t.removeChild(e);
  },
  createElement: (e, t, r, n) => {
    const o = t === "svg" ? Ze.createElementNS(Pl, e) : t === "mathml" ? Ze.createElementNS(Al, e) : Ze.createElement(e, r ? { is: r } : void 0);
    return e === "select" && n && n.multiple != null && o.setAttribute("multiple", n.multiple), o;
  },
  createText: (e) => Ze.createTextNode(e),
  createComment: (e) => Ze.createComment(e),
  setText: (e, t) => {
    e.nodeValue = t;
  },
  setElementText: (e, t) => {
    e.textContent = t;
  },
  parentNode: (e) => e.parentNode,
  nextSibling: (e) => e.nextSibling,
  querySelector: (e) => Ze.querySelector(e),
  setScopeId(e, t) {
    e.setAttribute(t, "");
  },
  // __UNSAFE__
  // Reason: innerHTML.
  // Static content here can only come from compiled templates.
  // As long as the user only uses trusted templates, this is safe.
  insertStaticContent(e, t, r, n, o, i) {
    const s = r ? r.previousSibling : t.lastChild;
    if (o && (o === i || o.nextSibling))
      for (; t.insertBefore(o.cloneNode(!0), r), !(o === i || !(o = o.nextSibling)); )
        ;
    else {
      Qo.innerHTML = n === "svg" ? `<svg>${e}</svg>` : n === "mathml" ? `<math>${e}</math>` : e;
      const d = Qo.content;
      if (n === "svg" || n === "mathml") {
        const a = d.firstChild;
        for (; a.firstChild; )
          d.appendChild(a.firstChild);
        d.removeChild(a);
      }
      t.insertBefore(d, r);
    }
    return [
      // first
      s ? s.nextSibling : t.firstChild,
      // last
      r ? r.previousSibling : t.lastChild
    ];
  }
}, Nl = Symbol("_vtc");
function xl(e, t, r) {
  const n = e[Nl];
  n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : r ? e.setAttribute("class", t) : e.className = t;
}
const Zo = Symbol("_vod"), Fl = Symbol("_vsh"), Tl = Symbol(""), Ml = /(^|;)\s*display\s*:/;
function Rl(e, t, r) {
  const n = e.style, o = ne(r);
  let i = !1;
  if (r && !o) {
    if (t)
      if (ne(t))
        for (const s of t.split(";")) {
          const d = s.slice(0, s.indexOf(":")).trim();
          r[d] == null && hr(n, d, "");
        }
      else
        for (const s in t)
          r[s] == null && hr(n, s, "");
    for (const s in r)
      s === "display" && (i = !0), hr(n, s, r[s]);
  } else if (o) {
    if (t !== r) {
      const s = n[Tl];
      s && (r += ";" + s), n.cssText = r, i = Ml.test(r);
    }
  } else
    t && e.removeAttribute("style");
  Zo in e && (e[Zo] = i ? n.display : "", e[Fl] && (n.display = "none"));
}
const Jo = /\s*!important$/;
function hr(e, t, r) {
  if (M(r))
    r.forEach((n) => hr(e, t, n));
  else if (r == null && (r = ""), t.startsWith("--"))
    e.setProperty(t, r);
  else {
    const n = Il(e, t);
    Jo.test(r) ? e.setProperty(
      Pt(n),
      r.replace(Jo, ""),
      "important"
    ) : e[n] = r;
  }
}
const Yo = ["Webkit", "Moz", "ms"], on = {};
function Il(e, t) {
  const r = on[t];
  if (r)
    return r;
  let n = Ie(t);
  if (n !== "filter" && n in e)
    return on[t] = n;
  n = xr(n);
  for (let o = 0; o < Yo.length; o++) {
    const i = Yo[o] + n;
    if (i in e)
      return on[t] = i;
  }
  return t;
}
const Xo = "http://www.w3.org/1999/xlink";
function Ll(e, t, r, n, o) {
  if (n && t.startsWith("xlink:"))
    r == null ? e.removeAttributeNS(Xo, t.slice(6, t.length)) : e.setAttributeNS(Xo, t, r);
  else {
    const i = Dd(t);
    r == null || i && !Xi(r) ? e.removeAttribute(t) : e.setAttribute(t, i ? "" : r);
  }
}
function Bl(e, t, r, n, o, i, s) {
  if (t === "innerHTML" || t === "textContent") {
    n && s(n, o, i), e[t] = r ?? "";
    return;
  }
  const d = e.tagName;
  if (t === "value" && d !== "PROGRESS" && // custom elements may use _value internally
  !d.includes("-")) {
    const c = d === "OPTION" ? e.getAttribute("value") || "" : e.value, u = r ?? "";
    (c !== u || !("_value" in e)) && (e.value = u), r == null && e.removeAttribute(t), e._value = r;
    return;
  }
  let a = !1;
  if (r === "" || r == null) {
    const c = typeof e[t];
    c === "boolean" ? r = Xi(r) : r == null && c === "string" ? (r = "", a = !0) : c === "number" && (r = 0, a = !0);
  }
  try {
    e[t] = r;
  } catch {
  }
  a && e.removeAttribute(t);
}
function gt(e, t, r, n) {
  e.addEventListener(t, r, n);
}
function kl(e, t, r, n) {
  e.removeEventListener(t, r, n);
}
const ei = Symbol("_vei");
function Dl(e, t, r, n, o = null) {
  const i = e[ei] || (e[ei] = {}), s = i[t];
  if (n && s)
    s.value = n;
  else {
    const [d, a] = Ul(t);
    if (n) {
      const c = i[t] = Vl(n, o);
      gt(e, d, c, a);
    } else
      s && (kl(e, d, s, a), i[t] = void 0);
  }
}
const ti = /(?:Once|Passive|Capture)$/;
function Ul(e) {
  let t;
  if (ti.test(e)) {
    t = {};
    let n;
    for (; n = e.match(ti); )
      e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
  }
  return [e[2] === ":" ? e.slice(3) : Pt(e.slice(2)), t];
}
let sn = 0;
const Gl = /* @__PURE__ */ Promise.resolve(), jl = () => sn || (Gl.then(() => sn = 0), sn = Date.now());
function Vl(e, t) {
  const r = (n) => {
    if (!n._vts)
      n._vts = Date.now();
    else if (n._vts <= r.attached)
      return;
    _e(
      Hl(n, r.value),
      t,
      5,
      [n]
    );
  };
  return r.value = e, r.attached = jl(), r;
}
function Hl(e, t) {
  if (M(t)) {
    const r = e.stopImmediatePropagation;
    return e.stopImmediatePropagation = () => {
      r.call(e), e._stopped = !0;
    }, t.map((n) => (o) => !o._stopped && n && n(o));
  } else
    return t;
}
const ri = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Kl = (e, t, r, n, o, i, s, d, a) => {
  const c = o === "svg";
  t === "class" ? xl(e, n, c) : t === "style" ? Rl(e, r, n) : Ar(t) ? Hn(t) || Dl(e, t, r, n, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Wl(e, t, n, c)) ? Bl(
    e,
    t,
    n,
    i,
    s,
    d,
    a
  ) : (t === "true-value" ? e._trueValue = n : t === "false-value" && (e._falseValue = n), Ll(e, t, n, c));
};
function Wl(e, t, r, n) {
  if (n)
    return !!(t === "innerHTML" || t === "textContent" || t in e && ri(t) && R(r));
  if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
    return !1;
  if (t === "width" || t === "height") {
    const o = e.tagName;
    if (o === "IMG" || o === "VIDEO" || o === "CANVAS" || o === "SOURCE")
      return !1;
  }
  return ri(t) && ne(r) ? !1 : t in e;
}
const ni = (e) => {
  const t = e.props["onUpdate:modelValue"] || !1;
  return M(t) ? (r) => ar(t, r) : t;
};
function ql(e) {
  e.target.composing = !0;
}
function oi(e) {
  const t = e.target;
  t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
}
const dn = Symbol("_assign"), xn = {
  created(e, { modifiers: { lazy: t, trim: r, number: n } }, o) {
    e[dn] = ni(o);
    const i = n || o.props && o.props.type === "number";
    gt(e, t ? "change" : "input", (s) => {
      if (s.target.composing)
        return;
      let d = e.value;
      r && (d = d.trim()), i && (d = pn(d)), e[dn](d);
    }), r && gt(e, "change", () => {
      e.value = e.value.trim();
    }), t || (gt(e, "compositionstart", ql), gt(e, "compositionend", oi), gt(e, "change", oi));
  },
  // set value on mounted so it's after min/max for type="range"
  mounted(e, { value: t }) {
    e.value = t ?? "";
  },
  beforeUpdate(e, { value: t, modifiers: { lazy: r, trim: n, number: o } }, i) {
    if (e[dn] = ni(i), e.composing)
      return;
    const s = o || e.type === "number" ? pn(e.value) : e.value, d = t ?? "";
    s !== d && (document.activeElement === e && e.type !== "range" && (r || n && e.value.trim() === d) || (e.value = d));
  }
}, zl = /* @__PURE__ */ se({ patchProp: Kl }, Ol);
let ii;
function Ql() {
  return ii || (ii = ol(zl));
}
const Zl = (...e) => {
  const t = Ql().createApp(...e), { mount: r } = t;
  return t.mount = (n) => {
    const o = Yl(n);
    if (!o)
      return;
    const i = t._component;
    !R(i) && !i.render && !i.template && (i.template = o.innerHTML), o.innerHTML = "";
    const s = r(o, !1, Jl(o));
    return o instanceof Element && (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")), s;
  }, t;
};
function Jl(e) {
  if (e instanceof SVGElement)
    return "svg";
  if (typeof MathMLElement == "function" && e instanceof MathMLElement)
    return "mathml";
}
function Yl(e) {
  return ne(e) ? document.querySelector(e) : e;
}
var Xl = !1;
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
const e0 = (
  /* istanbul ignore next */
  Symbol()
);
var si;
(function(e) {
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
})(si || (si = {}));
function t0() {
  const e = Ud(!0), t = e.run(() => ms({}));
  let r = [], n = [];
  const o = eo({
    install(i) {
      o._a = i, i.provide(e0, o), i.config.globalProperties.$pinia = o, n.forEach((s) => r.push(s)), n = [];
    },
    use(i) {
      return !this._a && !Xl ? n.push(i) : r.push(i), this;
    },
    _p: r,
    // it's actually undefined here
    // @ts-expect-error
    _a: null,
    _e: e,
    _s: /* @__PURE__ */ new Map(),
    state: t
  });
  return o;
}
const r0 = /* @__PURE__ */ At({
  name: "WidgetButton",
  props: {
    bounce: Boolean
  }
}), n0 = "data:image/png;base64,UklGRvQaAABXRUJQVlA4TOgaAAAv/8F/EFVhebZt2txIP33+z6BBPfm+8pJ9d5fX7rad3fuSfXcczxIv9/O87/c8zztbfcAyN4pMU8j61KzUm280ixM8WzT7ZlSRac0WmUazua3eraCafaIEFTAzKhLkKLRXK9QyC416NbWij/S+N91jhY1sNKalZk1L6a1AzWJFoUETFQ2KShpkmRXN7C5gFtPerdAwy9QV6YtCo7DeN8++FEoCZ1/MSpZn8ZimjEyt3sNtA9ORYzT7Epl+6rVCK6zwHfUWHgfOPtMrMouKBtklBZV6K5XCIgeVzGafT5GCQiMzK2xkZFn6ZrPMrGKWWVSzpphltVHTUu/BtoKGlsIjf9u2pcnm///L1/k+z7vubmDdAurC4oV1b3YLiBJt23bSyvz/T7z+zjmAvXdARDANuya5F7tp9g4IrFAACDiH2QmcgwW8ALZtb0lsVLBT2MbX7U2AFTC3/UfcfEiFJqQxM+CyGfDSBHRjQnw3AzKYv/M0M8CFCXHJBDjqQaDgMt9SsVb2MR7//5ebgHZNQH9oYJuQfk2AO2bAshg2uX8JSWaAjtPQ8DYDPpqQJnN/+ZEG9z62QMiEQr0Z4AUNcRPgk5lg7WcC5fyHOSbEYzTMzQQOTUTIAjFRoeI70UA3Ib2ZKJQCDDETiKChbkL6NyH2VZMJaA4NdzOB6Wrw+P+/DQ14M8Geqmr8r0bcv86HVFIV9/tONORNSG8/UIXP/Co06M0ABx9wcBesnAmoAQ17M8GqylzG8zfFhPRs3P3EQzfiQWAQDXwzQK/Vao0xAd4beSaku/cNCTFWa2M09K9vtT7V2DMT3LL+zv8be2aAn5iro8FvAswbYfSZAUdSjT4z4MK1jD4T0LmZwK3RZyZwZQb8NPrMBD/MBCJG31no5X8v/3v538v/Xv738r+X/7387+V/L/97+f8j9JnDLlo4nLRkKs9TUBWsmQofPluu11H88k3p8VjZ2dTKy4XQ1XbfVr9aecY6j3trXK89Y/X9UmhouflccgnGrTDoKSI1FKrX5S1ULJUuWCSalssZZGQt4I/Jk5ddrnlv+V5XqdHIhPVfTj7AFsC6wvvVGtcrZaYTK5wNXKH9qOnCoQQPQMZSTodkiWReoea9lc4GVll/aEt8VzRdq+2XiitMy6WzJbndIYbQAr6opsv3u1bdftnQuiHNrvd6lnyFzpPFE1l2I+dVl28/Sl7v5YS0v8H7VbnFXFG5YfF4lhmJEZPDIVk6L5u71u0G6WeFt4vkyzXqFvBGGCvze8Iu13pQfvVuw48b0ttKtoDBReWmhUNJRkl4gZqp7HyuknVDOt1l2eOWxxofSQXrptBKnz7S9dWvVgqLlvm9EYaG74rnL9qS/jtD85WqPCgxKHK5gqJWv14hS9ln7kLBOANioWBC99lkSR1tQgwG35KazUkW9xmRCYaBB5L8Zd3qV0tkmdd5PKiRZAjYM9e63yHLHV1EasjpECk/V9ODyLKv/3bxqhi151moWONmjSz/ui8nl2898KACddfVj8Rw7YedTEW3VzGFcZIwrrz+sGgsQ8HloIIaGxgOEkmHj79qy8PJ3k6i+cRdXSottyuomMJ8wKePBHTSrdVZgaohmjTt7jOpzHSqOGOW7/cUFi27XRQSskS6wNd3ymLxDN/FkzkhIZflVZGFO0+W63YUu3hVZjzm9/Z0TZH3MscttdTYQoG48ssF0myf8ouFT4rq/dgcdgGytC0YiFsqW1KwZli227H/Og97Do0QrXm3NUyFRWaRJpv4tByX2xOG/OZ0Snas8/w1b9acWiDnlgmqa0jp0Qjx75ywwmlf3oJmfl8UajExDyfrG7qh6eKOaPD5amtcB+I9KDkyHLUcEzL3GbzRNWoorLQVBj0O4vthyxw1LRbPcKEOLhSM23iVzScHV0RHDlFVYTOI6y59F4mkoH4GRIY6eKJ1n44mq6krBRPH0YcsGk1DvV3QF3VKE47oGr1UVFQ6ceuYFBWDuuxbTGEqmh5uiEpqthjVlNMhKjUeI26zVhj0TUH9DigiWTpwQ6vtlx6olmadQ7wG9x2C+p6Wudr+Gy8U7KuSeswhTgfkL1UloAUcdzAnVNFwefIKdRSyge4gPrtE2tFCLpHKa8MHOV+lioamE5dr3W1F2tCCbrry6h0XRM0TlNAyJ23EZXChusmGFrb3mrcbXFDpyUQt9eN6O/EY3z0RLa89MogH2iZG9bi6E49tpqBlzuUOmevNAa2y/ZKodmwlVBtxuM7jQR5Ohpb7fD8O6BkBKqfWkcS+kuVbYdAzEi25feMsdtTCX93Y+hH7h01GS7/XpezoYQGqxl5yOETMnXPTUAAzK+gOZjRgiJpxFVMYYr7O08GVUAynT2VGE3I5JSrGtdLFK2KeHIiiaK8Rz4pW3XxKUjDtiPXtvwhFcsd1n49YUbn5XIJyqUOs177f6YFiGdCYFRVnjGq5LKeoyapjIIqmra+DERWVG9SK7+2JrbOIZHGhgF6Uxcidv1KjUh7YgdjOvgjFtMe6TwdsKH3pXJk6GdGF2Ab7oqg2as2GKuiOx6oS1y8Q2xbTUVyTyk6n2FB2oiI5hdjOSESRtT2fDSW7lEieXJmTTbn5TAwKbl82NFiFTI8mpv3SUHhfxcaRh1Ooj5hdiGlxxtlQgDd2s6DoBQMxyqMbMS12+caFQlzHzYKOsymOo9xMSqqcHQX58p0nTChWbYSt/3pGLC9NQGG+AZOam6oM177EcnQaCvSy3Q4WtM7jQaLCuAGxnBGHQr3S+QsW9NfqYpFwkjeL6oEo1rbRLChfUaMq7PWIYfB0FO2Y1bZfWJwerihSiGFF07NEMgfFO+A8BlSCcWpizAaGi4HDk1egiI96IgN3iJIoO5shhkWPmlDMezvhaFBnBVGgUkMMj3QJGjZkQCerh859GGRHoKi7ykwmGNTsoRzaEXzdUSjuEdvDUWPVMMWbQYFqDYr8YvGseDjyFCoUw2iCT0axLyxaGDSJUwrjCP7oIYLnOhyOBqsEewu4mkumC1D09wqCywpTCNMIfksU/23h6GR1YMuGy06VACw9GoHb8MPzQGUwlMAdE5Fz+8RlT9r6TQ1tk/y7/zV3y7nL9To62QXBPxqMuqmCuPFwK54NIN8xrwqmapzgLwYYCRdfXxFsTOCDkvg69+1U7dWTxAAPBqMSjFMDcX3gPHkFcr1bOkF2E4QpGWCVLN9CoQQlMJTAyy/mkOtCjTo3gTpuLQaYDUbdVICrC1j6KK52r0nAfy0II+eA+YQpgPYEfgjyPDCDoJ1jxACPAKOGCsAPLCiQp8XiGfck+GxBcH0sWFCM9C2eyCHwFOQ4YBAxDIoTAzwXjGpLX6nhCNicOI5sWxHT/BWdIODeYOe5JC8sHqwOcrxst4PY1hOFndxQ1F/yiogWgl77YS+No1bpjGhnQcD9wfrJnWt7sGnIr/1jifXzRWHRSIoDKj5M6sYRdBMbRynEvKLhShQE3B+KTpW6rcFuivymBrOjjUXhk8C2d0lcgDdUdBJHNyAOu7gEASdB0UCJq03QeyC/qX14oHGicBHY70rcDKgMf45qE5elJxOiYF/rfgcqOk3a9nJClVA55Hj1qxU+0hsJAt4Uii7LK6QthaCHcdSDOG0oCoE+UCVVTtomQT0MOY7lZb3nozRBwI+BumeqpC3oj3FDpfDUkxfKV9aJwqZQtK2ktSRgn0COhji4OU4UsAVUSc0maQdDldSGkONOxO9isQxRuAFUkF3KRmZAtefp/hx9hyhc4ACiyVLWnoA3r8XTaI6uESAIOBVqTynrBlWcMcjzeRzRqaJwU6gJUtYEKoQnVzxP422CEFYTyBEmYaMIOMiDEp7CiGtPQSUIGApEx0tYFFQJ1YY8t+KrsSikQDWXMB+ofGUdV+fy5R4lCFOgqktYE6CaQ7gaxxf9lyDg9kDucOmaRcD1kOujOMuKEYQTgaiTdOUraqCKyg189eeMBgpCHk4G1U66DoHy5Wsib9MEIdUbqJ50HQZU0XB5UMJXK97aCwJOAspIkyxbRdMDFIp8B3Dm01kU5gJRK8l6LAH35Qzr8lWCcSiKnoIK6njJ2hrqDbw9jKv0KcIQ7gaaK1lbAjlH8FZqOMLV76I4VgfaRrJGA10feS8sPuMp6wKBKKlyQB0k6+1A/bgbyNOuKJDDgShcqka6gZ7BXUwGP3+NIvkGqCUzRVJ1awJuzx1uxU3rJKEIgypQNUhVe6gG/L2Klw6NUCyDgPaUqpsCPRH5H8XJ7K4omFsBfYxUbQa0+tWKBrAFF857oGgWUxggP6m6FOhSLTTkIgqF81VAc6SqNdAKgx4tLBSMc3CwB4pnvrIOyJkmU0FAN9UChrI7AQV0MhCNkShXTaBmmshktrdLRMKgukrUEAJ+qSZsZ7PqgULqA9Rbos6H8tcE3pTRT6KYjgfKX9FJ1EQgtwcl2ogJYtPWJSbPAEqRKE9eAVRBd6BGY9nQYvEMMWkMtIdEFawZgOZpJTyLzdZiUmo4BNRNoloCTdAKnsLGfSUh6Q60nURdDLS3ZmI6MKHqtURkD6BkiYoFOlIzWLBmYkNF5QYROQVotEQt2+0AKj0a0Y59FzY+C4cSBGQ40N4SNReopGbTDl7JzYR6polHCtAMiToEqDhjNITfwYZixSMKaJJEdQN6vpYi+rCpZPl2FI5eQD0l6gCgE7SEX8SGsnM6RKJxBNBBEtUN6Pmawk3Y0PNFo1DdBHSYRJ0ItIO2Isazce8uGLWBjpOozYBury0818mE6o4SiyscPgMKlah2QGdqDO/Phh42UigGA+0rUX2BOmotrTUb2k4oYoH2l6hLgPy0hi/NYEPPEIl2QGdKVB2gXTSHYxm5MwXid4FKME6iZgIN0p5rXzaUMVEc9gdaftAjUc2Anqg9nBXEhn7yscIwFaiI3CBRE4HcqdrDo9xsqEN9Ubg+0N0kagoQnaoD2I0Rbe8vCD8JdA+J6gx1rh6k9mREu4QLQZoT6EoShRVND1CmHuCYaEbUpZEI/DABHypTg4DG6gI+wMGIzpsuACFQATJ1HFA3fcCGrCj4pZavDlBdlOmSmg3oQp2wb8OKgs7lbVwJ1Xbh5r8QoSvL9bqAHiZVWwKt83igExg+iBV578bXlrTR+ORNdeRMoI5SNRTIGacTuPNsVkSb2Tg6nKp8zrRaejEA6ESp6g9EB+oF3sPBjMrN5xK56XGNqiA6Y3hnXUjzBqohVQ+EitQN3I8dZe/MSdL1qRrb7hGgAy8l4N2lylUXaDP9wKbsyHusi4umVO2zVzzta6C5X4B6qVThOUChOlJrK3ZE+4ZxsCuBxnc6X2PtgLzT5MoHKNqlH5h4EAcU7MkrmB0TD0Pk3OSlmtoGaADKdRGpAYjO1xGc9XYOiEqPRvzZNPhJgndcurN2XG2Bbi9ZvaF66Qk+NogHqqA7CtVNLgYxq1+tEFN3mx218lICLixaJCsAqrmuoO8TeSCqNxnMlUzML1wqU6SNXaF6SxYeDfQwfcFhFQ0XF+T2eSDQFsTj1DdowQdqlmyNBnKE6QsOvAYXRBVNz/L9njCI3YjTw9rz93agM1C2i8oNQPRFOoN5OJk3H0S3nxtQTQPjeSFa/WpldxdfYwi4n3T9DVRxxugNNsvghMin25Sqe2xb4vkZO3G1K1RL6YqJBxqvO9h/Ni9EztKTiU2rImAe8e08nqfRUF2lCw8DolG6g8dkcUNEq+2XZiZUJnAw8e49hJ+42wPVtcnXZlCv0h+c3JYjouB2PWwj85aqzib+x/ETQsAXonwfBTVBh7DVGTxp93h+TobaU8KS4oEce+kQNmhhAUZw4xoENUzC0A+IausRRszQv5ncDCPgaJuM7QPlp0tY6691rz03J0JtjTLeFcrRQJfQtaVb5xaLZ/Bi7wNVoGqQMlcHILpYnxA73VPfAnkZSMAOfynD50Ptold4aLae/STy+h1QPVHOm0FRV73CiLKzGR1rzEsup+T2UA0lLbUu1AG6ha7YSpZPtz6JlyiCHiVpuB3U7UfoFuLk8/SqGS/PgBqAst4JiuroGI4opjD6VDORkwMJej9pq1VBd0DtomeI+cq6zfVo1d035LQ52A9LGxZnDBT11zVs0EuHTuUk7BpQ56C8/w1YufmcviHmLWrO0J0f5mTZbgdBD5c4VxMo9611Dkd0d+rLschnUjRUur/EYSwUlWCc3iH69tSVe3CSQtCXosw3cEClT9E9tOev6ObpxwzkM+3tYHk4mdTh4VD0HfqHmFY7WCeeOIWTOgQ9yC537cHS61sAxJwO0X5P1APn7shn3BywWJR7+9lQtLlFQIwYPkh7tZHTFIKu2Ujy8FQw560tA6LtpHrackYhpyNPBys9GkHZD58NRR0tBSLu9Nfe2vHxFFTI66sIfLL04X+B0ZUsB2L4TQdrJHgi8uqfBeaH8r9QMK6S5QM7x25BEPHWn9RHA6MDkNsdCLy9AsAzwehulgXRfkwxhZnN1zVquJDbrg6wbLsK6OoGCxpiYRAxIupYjk47Ffl1HUvgu6ES7AVG3SwPIv7wq3ry8bBxyHMkgY+vpQZ83WDOHS0RIta/5GPdrAbMtCHPYdFwQ1ER9gKjFrUsEyI+sOVUJ5zz4Ae4kO+tCfw8D0pUQVc3GDW0WIg4ZNsTukD4TE3xR949eQXBH4/KsB9cfA8LttG9pjX/2CdWKbrNcr2OaT1syH9iB7jqdnXww/FgNKCWZatso/4FqoaoqKG9Fw4luFCjOxD821Ah/hccfZIAaD2T4D/WpRLCsuAcAwVvTAXdAeeYjEpxOBzNEDvbVIL/GFSLaWvd78CdInaxBF93lmLAELhXCV2Ik8HFqByPg3oGivyp0QQ/L045JARBXSxyqc8gePcbUDn2JmB3fZH7GGK4A6rH74A6DAW+iGQhhqeHq4e0aKgbCFymg8VJqB6bEbB7jLhdKYMYtkEFWUK1QU1CYR/Vlhi2baQg4p4IlSJsF7ydWJ6ECnJ3AnY0ErWwLsTyd1FFbgLlh4Ie2JpYzhuhIlKzoGoLWuI5xDJ9iWQOqsi3EbAzTMwiJhHTwqIFlWTp0QjUhSjk4YcR044uJZHTIZoNdTchm/UwYrp9BCrJLyLg9AARqz+PmN7+pagmT4PaGwV85z7E1H0SqskR14AqWDMIWB5OlkVst0BFOY2A4wPFK8VJbMvOZmyqoiNUGxRtW3di3DMJFWWgN9Q00QpoTIwHzUJVWbBmIuCMRMHyHUSM79kKleU2UKehWEfFE+P4/qgsw9OhZgpVxCbE2pmvqEF1eTcC9uksUhObEGv3UFSYoVA1UZwT+jqJtbs2KsywSpYPamtxOnS1/RKxH4sqszYB3z6GD9vfvPWAMAsX19eb2O+DStMPahPkMOGY7sFE9MQaNku2aRfisCEqzVlOqIuY5XJK8pV1Z2ZRFQf7WqyA5zuIveOmqDZTCDgrlU14ZPJsqmpHSc0WYJE8KIkKIg6du6HiPA6qpMohwzEt/ZxU7UFDbZbnqGzi0fseqDgf6IBqDzaqqNzQ003AXba1ML4HE5d134CqcywBb14LxLXTFtnE9Nj+FuTA0W7issOBqDwnQO2A1W4b1/1oYj+puYXocamb+GzdCJXndDdU82pJ7bRDNHE6eGaa/g1s4yBOe3VG9XkxAUcnVFXizNKjkbrEc/Ce/rqWMHP1qxXitrsNFWhPqGIKg1UOu9vh3sR9/HafpFuN9hlP3F6jYM2EKvSHCXpc5aaPneokjQ6OTNKhhIt6OYnfsxeLZ6ASLSo3QP2kDRFfuk9r0nRFw+XzBpu+TF5h0BNMPO87BNXoAKhurk+auz3pYPDz+9v0ouvcdR4PiGtHrAvV6CiC9utAuhldgnGZgZob2ey/mhDncwaiKo0F09lKlq9e7DFxmrG3uqRxBnF/ZiAq0+qWYaPX8OvbLIy7pHGx29yTNHjPI1CdvpQs7PjSk4nYtz3Wxsd0T16x35ktapI2j6uPCnXZboelqax39V7dx247bHoqSFyjVp6CquUhRw7IIu1m3dSOKjXbIlXlPc8+aGqb5FLDkebNmzcvwbjk5G1CW4+/PWn/yAtQqS4WzyDZDI5ExbqFZKR3j0DVOk8uQnugcp1MMpntyStQwf6lHhwUG9lCCII2TkAF6xqkNcfqVyt9H4uIrqa7WLy2fSNQyQ4jTTsn1dgLq2jPzLZodecGoqJ9q4Zun5y/oovAqk8YcbbFeuIegahq7R20El2CcU1TETDt+MEWadDYXE4JqtsrkSaPbt40DcF9fdItTevIBFS5J2ggu91kF7J94BbRFiS+9GTiSqh2bafz9ox9bo08xtSZYCGuPzwMVe844tkxqYjUcD7yO+ZV5+leRnKIC9XvAfx4h9aYhbz7dg/SMe82kYmoghOCOKnb74tGoCZrbbtdtC55d5yWiIr4DcRjUHHGtI9DDduGLdfrGKAzwZ3ylXURqI43ZzfnxIE21P4DozrO1ol0v1cd6EKVnNaWUZdsX9RND0p8U7Yer7Gsxg1DOqNqbkYM3efsNwp1t1G+ouaQCRVNjybiB5TUbDc90IYquoRqA3POSGmAeu1aKBh31PDvOLaC7uAmfl6v7C96aQKq6rgnwmT02i0A9d9/4BGXnLzdjC5tgWbPOahxpz0LVA3HPNCOant3ArxnqeFIZme0rHFjzvedHPKGzMyoqKiCNUNm5gNCBrZqlIqqfJNqivbxFFRxaKSnZlXd+O4hCWiwn0RVeXb3Y1xovCdXoUvfQ9GQz+kQzSYi56QaF6BR/0WU0SbKHw38AlXDSUno5X8v/3v538v/Xv738r+X/7387+V/L/9/RGXPMvrOepTR953/YPQ991pGnwnx7FONPjPAvAlpzOgzAwxf3eh7f7uUe5lvqdj/N/Z+OsZqBtw29kxIG1brnxh7HgSLrdaYfzby/uEuVqvVDDBg5F3RarVa3w+jyZ9o3JkJPDx0I1bzf6gz7kyIldbKfqaZwKFRZyaw957KWT3+Cem/YcyZCbz+gLXKv/avRtxZZoQia9WaqNBixJnJ/05r1ZsBZ4w3E+CUtVpNlNrPMtb+9Rus1T4fUokJ6c1I+6P/sUL+wLcaZzfLCX8zrLDvmQ+o+ieMsSt+/nus4CbX70QzQIcJ6dr4uqIJafIjrUzvcn0T4OZPG1k//fUvvIuV/V1+/fUmwMVffu5ZRtNZz/3lb3v9N9/FCgg=", Qt = (e, t) => {
  const r = e.__vccOpts || e;
  for (const [n, o] of t)
    r[n] = o;
  return r;
}, o0 = /* @__PURE__ */ F("img", {
  src: n0,
  class: "rc-w-[60px] rc-h-[60px] rc-rounded-full rc-shadow-sm rc-cursor-pointer rc-relative rc-self-end rc-z-50",
  alt: "whatsapp icon"
}, null, -1), i0 = [
  o0
];
function s0(e, t, r, n, o, i) {
  return K(), Q("div", {
    class: Le([{
      "rc-bounce": e.bounce
    }, "rc-w-max rc-transition rc-ease-in-out rc-flex rc-group rc-p-0 rc-duration-300 rc-bg-white rc-cursor-pointer rc-items-center rc-gap-2 rc-self-end rc-shadow rc-rounded-full"])
  }, i0, 2);
}
const d0 = /* @__PURE__ */ Qt(r0, [["render", s0]]);
function a0(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    fill: "none",
    viewBox: "0 0 24 24",
    "stroke-width": "1.5",
    stroke: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "stroke-linecap": "round",
      "stroke-linejoin": "round",
      d: "M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z"
    })
  ]);
}
function l0(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    fill: "none",
    viewBox: "0 0 24 24",
    "stroke-width": "1.5",
    stroke: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "stroke-linecap": "round",
      "stroke-linejoin": "round",
      d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
    })
  ]);
}
function c0(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    fill: "none",
    viewBox: "0 0 24 24",
    "stroke-width": "1.5",
    stroke: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "stroke-linecap": "round",
      "stroke-linejoin": "round",
      d: "M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"
    })
  ]);
}
function u0(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    fill: "none",
    viewBox: "0 0 24 24",
    "stroke-width": "1.5",
    stroke: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "stroke-linecap": "round",
      "stroke-linejoin": "round",
      d: "M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"
    })
  ]);
}
function f0(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    fill: "none",
    viewBox: "0 0 24 24",
    "stroke-width": "1.5",
    stroke: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "stroke-linecap": "round",
      "stroke-linejoin": "round",
      d: "M6 18 18 6M6 6l12 12"
    })
  ]);
}
const $0 = { 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-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-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-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[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}|[257-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", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "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", ["[257-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-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "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-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "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[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|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|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
function h0(e, t) {
  var r = Array.prototype.slice.call(t);
  return r.push($0), e.apply(this, r);
}
function di(e, t) {
  e = e.split("-"), t = t.split("-");
  for (var r = e[0].split("."), n = t[0].split("."), o = 0; o < 3; o++) {
    var i = Number(r[o]), s = Number(n[o]);
    if (i > s)
      return 1;
    if (s > i)
      return -1;
    if (!isNaN(i) && isNaN(s))
      return 1;
    if (isNaN(i) && !isNaN(s))
      return -1;
  }
  return e[1] && t[1] ? e[1] > t[1] ? 1 : e[1] < t[1] ? -1 : 0 : !e[1] && t[1] ? 1 : e[1] && !t[1] ? -1 : 0;
}
var p0 = {}.constructor;
function wt(e) {
  return e != null && e.constructor === p0;
}
function Fn(e) {
  "@babel/helpers - typeof";
  return Fn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, Fn(e);
}
function Ur(e, t) {
  if (!(e instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function ai(e, t) {
  for (var r = 0; r < t.length; r++) {
    var n = t[r];
    n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
  }
}
function Gr(e, t, r) {
  return t && ai(e.prototype, t), r && ai(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
var g0 = "1.2.0", m0 = "1.7.35", li = " ext. ", b0 = /^\d+$/, fe = /* @__PURE__ */ function() {
  function e(t) {
    Ur(this, e), Ks(t), this.metadata = t, Ws.call(this, t);
  }
  return Gr(e, [{
    key: "getCountries",
    value: function() {
      return Object.keys(this.metadata.countries).filter(function(r) {
        return r !== "001";
      });
    }
  }, {
    key: "getCountryMetadata",
    value: function(r) {
      return this.metadata.countries[r];
    }
  }, {
    key: "nonGeographic",
    value: function() {
      if (!(this.v1 || this.v2 || this.v3))
        return this.metadata.nonGeographic || this.metadata.nonGeographical;
    }
  }, {
    key: "hasCountry",
    value: function(r) {
      return this.getCountryMetadata(r) !== void 0;
    }
  }, {
    key: "hasCallingCode",
    value: function(r) {
      if (this.getCountryCodesForCallingCode(r))
        return !0;
      if (this.nonGeographic()) {
        if (this.nonGeographic()[r])
          return !0;
      } else {
        var n = this.countryCallingCodes()[r];
        if (n && n.length === 1 && n[0] === "001")
          return !0;
      }
    }
  }, {
    key: "isNonGeographicCallingCode",
    value: function(r) {
      return this.nonGeographic() ? !!this.nonGeographic()[r] : !this.getCountryCodesForCallingCode(r);
    }
    // Deprecated.
  }, {
    key: "country",
    value: function(r) {
      return this.selectNumberingPlan(r);
    }
  }, {
    key: "selectNumberingPlan",
    value: function(r, n) {
      if (r && b0.test(r) && (n = r, r = null), r && r !== "001") {
        if (!this.hasCountry(r))
          throw new Error("Unknown country: ".concat(r));
        this.numberingPlan = new ci(this.getCountryMetadata(r), this);
      } else if (n) {
        if (!this.hasCallingCode(n))
          throw new Error("Unknown calling code: ".concat(n));
        this.numberingPlan = new ci(this.getNumberingPlanMetadata(n), this);
      } else
        this.numberingPlan = void 0;
      return this;
    }
  }, {
    key: "getCountryCodesForCallingCode",
    value: function(r) {
      var n = this.countryCallingCodes()[r];
      if (n)
        return n.length === 1 && n[0].length === 3 ? void 0 : n;
    }
  }, {
    key: "getCountryCodeForCallingCode",
    value: function(r) {
      var n = this.getCountryCodesForCallingCode(r);
      if (n)
        return n[0];
    }
  }, {
    key: "getNumberingPlanMetadata",
    value: function(r) {
      var n = this.getCountryCodeForCallingCode(r);
      if (n)
        return this.getCountryMetadata(n);
      if (this.nonGeographic()) {
        var o = this.nonGeographic()[r];
        if (o)
          return o;
      } else {
        var i = this.countryCallingCodes()[r];
        if (i && i.length === 1 && i[0] === "001")
          return this.metadata.countries["001"];
      }
    }
    // Deprecated.
  }, {
    key: "countryCallingCode",
    value: function() {
      return this.numberingPlan.callingCode();
    }
    // Deprecated.
  }, {
    key: "IDDPrefix",
    value: function() {
      return this.numberingPlan.IDDPrefix();
    }
    // Deprecated.
  }, {
    key: "defaultIDDPrefix",
    value: function() {
      return this.numberingPlan.defaultIDDPrefix();
    }
    // Deprecated.
  }, {
    key: "nationalNumberPattern",
    value: function() {
      return this.numberingPlan.nationalNumberPattern();
    }
    // Deprecated.
  }, {
    key: "possibleLengths",
    value: function() {
      return this.numberingPlan.possibleLengths();
    }
    // Deprecated.
  }, {
    key: "formats",
    value: function() {
      return this.numberingPlan.formats();
    }
    // Deprecated.
  }, {
    key: "nationalPrefixForParsing",
    value: function() {
      return this.numberingPlan.nationalPrefixForParsing();
    }
    // Deprecated.
  }, {
    key: "nationalPrefixTransformRule",
    value: function() {
      return this.numberingPlan.nationalPrefixTransformRule();
    }
    // Deprecated.
  }, {
    key: "leadingDigits",
    value: function() {
      return this.numberingPlan.leadingDigits();
    }
    // Deprecated.
  }, {
    key: "hasTypes",
    value: function() {
      return this.numberingPlan.hasTypes();
    }
    // Deprecated.
  }, {
    key: "type",
    value: function(r) {
      return this.numberingPlan.type(r);
    }
    // Deprecated.
  }, {
    key: "ext",
    value: function() {
      return this.numberingPlan.ext();
    }
  }, {
    key: "countryCallingCodes",
    value: function() {
      return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
    }
    // Deprecated.
  }, {
    key: "chooseCountryByCountryCallingCode",
    value: function(r) {
      return this.selectNumberingPlan(r);
    }
  }, {
    key: "hasSelectedNumberingPlan",
    value: function() {
      return this.numberingPlan !== void 0;
    }
  }]), e;
}(), ci = /* @__PURE__ */ function() {
  function e(t, r) {
    Ur(this, e), this.globalMetadataObject = r, this.metadata = t, Ws.call(this, r.metadata);
  }
  return Gr(e, [{
    key: "callingCode",
    value: function() {
      return this.metadata[0];
    }
    // Formatting information for regions which share
    // a country calling code is contained by only one region
    // for performance reasons. For example, for NANPA region
    // ("North American Numbering Plan Administration",
    //  which includes USA, Canada, Cayman Islands, Bahamas, etc)
    // it will be contained in the metadata for `US`.
  }, {
    key: "getDefaultCountryMetadataForRegion",
    value: function() {
      return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
    }
    // Is always present.
  }, {
    key: "IDDPrefix",
    value: function() {
      if (!(this.v1 || this.v2))
        return this.metadata[1];
    }
    // Is only present when a country supports multiple IDD prefixes.
  }, {
    key: "defaultIDDPrefix",
    value: function() {
      if (!(this.v1 || this.v2))
        return this.metadata[12];
    }
  }, {
    key: "nationalNumberPattern",
    value: function() {
      return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
    }
    // "possible length" data is always present in Google's metadata.
  }, {
    key: "possibleLengths",
    value: function() {
      if (!this.v1)
        return this.metadata[this.v2 ? 2 : 3];
    }
  }, {
    key: "_getFormats",
    value: function(r) {
      return r[this.v1 ? 2 : this.v2 ? 3 : 4];
    }
    // For countries of the same region (e.g. NANPA)
    // formats are all stored in the "main" country for that region.
    // E.g. "RU" and "KZ", "US" and "CA".
  }, {
    key: "formats",
    value: function() {
      var r = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
      return n.map(function(o) {
        return new y0(o, r);
      });
    }
  }, {
    key: "nationalPrefix",
    value: function() {
      return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
    }
  }, {
    key: "_getNationalPrefixFormattingRule",
    value: function(r) {
      return r[this.v1 ? 4 : this.v2 ? 5 : 6];
    }
    // For countries of the same region (e.g. NANPA)
    // national prefix formatting rule is stored in the "main" country for that region.
    // E.g. "RU" and "KZ", "US" and "CA".
  }, {
    key: "nationalPrefixFormattingRule",
    value: function() {
      return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
    }
  }, {
    key: "_nationalPrefixForParsing",
    value: function() {
      return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
    }
  }, {
    key: "nationalPrefixForParsing",
    value: function() {
      return this._nationalPrefixForParsing() || this.nationalPrefix();
    }
  }, {
    key: "nationalPrefixTransformRule",
    value: function() {
      return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
    }
  }, {
    key: "_getNationalPrefixIsOptionalWhenFormatting",
    value: function() {
      return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
    }
    // For countries of the same region (e.g. NANPA)
    // "national prefix is optional when formatting" flag is
    // stored in the "main" country for that region.
    // E.g. "RU" and "KZ", "US" and "CA".
  }, {
    key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
    value: function() {
      return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
    }
  }, {
    key: "leadingDigits",
    value: function() {
      return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
    }
  }, {
    key: "types",
    value: function() {
      return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
    }
  }, {
    key: "hasTypes",
    value: function() {
      return this.types() && this.types().length === 0 ? !1 : !!this.types();
    }
  }, {
    key: "type",
    value: function(r) {
      if (this.hasTypes() && ui(this.types(), r))
        return new w0(ui(this.types(), r), this);
    }
  }, {
    key: "ext",
    value: function() {
      return this.v1 || this.v2 ? li : this.metadata[13] || li;
    }
  }]), e;
}(), y0 = /* @__PURE__ */ function() {
  function e(t, r) {
    Ur(this, e), this._format = t, this.metadata = r;
  }
  return Gr(e, [{
    key: "pattern",
    value: function() {
      return this._format[0];
    }
  }, {
    key: "format",
    value: function() {
      return this._format[1];
    }
  }, {
    key: "leadingDigitsPatterns",
    value: function() {
      return this._format[2] || [];
    }
  }, {
    key: "nationalPrefixFormattingRule",
    value: function() {
      return this._format[3] || this.metadata.nationalPrefixFormattingRule();
    }
  }, {
    key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
    value: function() {
      return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
    }
  }, {
    key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
    value: function() {
      return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
    }
    // Checks whether national prefix formatting rule contains national prefix.
  }, {
    key: "usesNationalPrefix",
    value: function() {
      return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
      !C0.test(this.nationalPrefixFormattingRule()));
    }
  }, {
    key: "internationalFormat",
    value: function() {
      return this._format[5] || this.format();
    }
  }]), e;
}(), C0 = /^\(?\$1\)?$/, w0 = /* @__PURE__ */ function() {
  function e(t, r) {
    Ur(this, e), this.type = t, this.metadata = r;
  }
  return Gr(e, [{
    key: "pattern",
    value: function() {
      return this.metadata.v1 ? this.type : this.type[0];
    }
  }, {
    key: "possibleLengths",
    value: function() {
      if (!this.metadata.v1)
        return this.type[1] || this.metadata.possibleLengths();
    }
  }]), e;
}();
function ui(e, t) {
  switch (t) {
    case "FIXED_LINE":
      return e[0];
    case "MOBILE":
      return e[1];
    case "TOLL_FREE":
      return e[2];
    case "PREMIUM_RATE":
      return e[3];
    case "PERSONAL_NUMBER":
      return e[4];
    case "VOICEMAIL":
      return e[5];
    case "UAN":
      return e[6];
    case "PAGER":
      return e[7];
    case "VOIP":
      return e[8];
    case "SHARED_COST":
      return e[9];
  }
}
function Ks(e) {
  if (!e)
    throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
  if (!wt(e) || !wt(e.countries))
    throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(wt(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + v0(e) + ": " + e, "."));
}
var v0 = function(t) {
  return Fn(t);
};
function ao(e, t) {
  if (t = new fe(t), t.hasCountry(e))
    return t.country(e).countryCallingCode();
  throw new Error("Unknown country: ".concat(e));
}
function S0(e, t) {
  return t.countries.hasOwnProperty(e);
}
function Ws(e) {
  var t = e.version;
  typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? di(t, g0) === -1 ? this.v2 = !0 : di(t, m0) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
}
function E0(e, t) {
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (r)
    return (r = r.call(e)).next.bind(r);
  if (Array.isArray(e) || (r = _0(e)) || t && e && typeof e.length == "number") {
    r && (e = r);
    var n = 0;
    return function() {
      return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function _0(e, t) {
  if (e) {
    if (typeof e == "string")
      return fi(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return fi(e, t);
  }
}
function fi(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++)
    n[r] = e[r];
  return n;
}
function P0(e, t) {
  for (var r = e.slice(), n = E0(t), o; !(o = n()).done; ) {
    var i = o.value;
    e.indexOf(i) < 0 && r.push(i);
  }
  return r.sort(function(s, d) {
    return s - d;
  });
}
function lo(e, t) {
  return qs(e, void 0, t);
}
function qs(e, t, r) {
  var n = r.type(t), o = n && n.possibleLengths() || r.possibleLengths();
  if (!o)
    return "IS_POSSIBLE";
  if (t === "FIXED_LINE_OR_MOBILE") {
    if (!r.type("FIXED_LINE"))
      return qs(e, "MOBILE", r);
    var i = r.type("MOBILE");
    i && (o = P0(o, i.possibleLengths()));
  } else if (t && !n)
    return "INVALID_LENGTH";
  var s = e.length, d = o[0];
  return d === s ? "IS_POSSIBLE" : d > s ? "TOO_SHORT" : o[o.length - 1] < s ? "TOO_LONG" : o.indexOf(s, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
}
function A0(e, t, r) {
  if (t === void 0 && (t = {}), r = new fe(r), t.v2) {
    if (!e.countryCallingCode)
      throw new Error("Invalid phone number object passed");
    r.selectNumberingPlan(e.countryCallingCode);
  } else {
    if (!e.phone)
      return !1;
    if (e.country) {
      if (!r.hasCountry(e.country))
        throw new Error("Unknown country: ".concat(e.country));
      r.country(e.country);
    } else {
      if (!e.countryCallingCode)
        throw new Error("Invalid phone number object passed");
      r.selectNumberingPlan(e.countryCallingCode);
    }
  }
  if (r.possibleLengths())
    return zs(e.phone || e.nationalNumber, r);
  if (e.countryCallingCode && r.isNonGeographicCallingCode(e.countryCallingCode))
    return !0;
  throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
}
function zs(e, t) {
  switch (lo(e, t)) {
    case "IS_POSSIBLE":
      return !0;
    default:
      return !1;
  }
}
function Ve(e, t) {
  return e = e || "", new RegExp("^(?:" + t + ")$").test(e);
}
function O0(e, t) {
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (r)
    return (r = r.call(e)).next.bind(r);
  if (Array.isArray(e) || (r = N0(e)) || t && e && typeof e.length == "number") {
    r && (e = r);
    var n = 0;
    return function() {
      return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function N0(e, t) {
  if (e) {
    if (typeof e == "string")
      return $i(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return $i(e, t);
  }
}
function $i(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++)
    n[r] = e[r];
  return n;
}
var x0 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
function co(e, t, r) {
  if (t = t || {}, !(!e.country && !e.countryCallingCode)) {
    r = new fe(r), r.selectNumberingPlan(e.country, e.countryCallingCode);
    var n = t.v2 ? e.nationalNumber : e.phone;
    if (Ve(n, r.nationalNumberPattern())) {
      if (an(n, "FIXED_LINE", r))
        return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") || an(n, "MOBILE", r) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
      for (var o = O0(x0), i; !(i = o()).done; ) {
        var s = i.value;
        if (an(n, s, r))
          return s;
      }
    }
  }
}
function an(e, t, r) {
  return t = r.type(t), !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(e.length) < 0 ? !1 : Ve(e, t.pattern());
}
function F0(e, t, r) {
  if (t = t || {}, r = new fe(r), r.selectNumberingPlan(e.country, e.countryCallingCode), r.hasTypes())
    return co(e, t, r.metadata) !== void 0;
  var n = t.v2 ? e.nationalNumber : e.phone;
  return Ve(n, r.nationalNumberPattern());
}
function T0(e, t, r) {
  var n = new fe(r), o = n.getCountryCodesForCallingCode(e);
  return o ? o.filter(function(i) {
    return M0(t, i, r);
  }) : [];
}
function M0(e, t, r) {
  var n = new fe(r);
  return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
}
var uo = 2, R0 = 17, I0 = 3, Pe = "0-9０-９٠-٩۰-۹", L0 = "-‐-―−ー－", B0 = "／/", k0 = "．.", D0 = "  ­​⁠　", U0 = "()（）［］\\[\\]", G0 = "~⁓∼～", Er = "".concat(L0).concat(B0).concat(k0).concat(D0).concat(U0).concat(G0), fo = "+＋", j0 = new RegExp("([" + Pe + "])");
function V0(e, t, r, n) {
  if (t) {
    var o = new fe(n);
    o.selectNumberingPlan(t, r);
    var i = new RegExp(o.IDDPrefix());
    if (e.search(i) === 0) {
      e = e.slice(e.match(i)[0].length);
      var s = e.match(j0);
      if (!(s && s[1] != null && s[1].length > 0 && s[1] === "0"))
        return e;
    }
  }
}
function H0(e, t) {
  if (e && t.numberingPlan.nationalPrefixForParsing()) {
    var r = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), n = r.exec(e);
    if (n) {
      var o, i, s = n.length - 1, d = s > 0 && n[s];
      if (t.nationalPrefixTransformRule() && d)
        o = e.replace(r, t.nationalPrefixTransformRule()), s > 1 && (i = n[1]);
      else {
        var a = n[0];
        o = e.slice(a.length), d && (i = n[1]);
      }
      var c;
      if (d) {
        var u = e.indexOf(n[1]), $ = e.slice(0, u);
        $ === t.numberingPlan.nationalPrefix() && (c = t.numberingPlan.nationalPrefix());
      } else
        c = n[0];
      return {
        nationalNumber: o,
        nationalPrefix: c,
        carrierCode: i
      };
    }
  }
  return {
    nationalNumber: e
  };
}
function Tn(e, t) {
  var r = H0(e, t), n = r.carrierCode, o = r.nationalNumber;
  if (o !== e) {
    if (!K0(e, o, t))
      return {
        nationalNumber: e
      };
    if (t.possibleLengths() && !W0(o, t))
      return {
        nationalNumber: e
      };
  }
  return {
    nationalNumber: o,
    carrierCode: n
  };
}
function K0(e, t, r) {
  return !(Ve(e, r.nationalNumberPattern()) && !Ve(t, r.nationalNumberPattern()));
}
function W0(e, t) {
  switch (lo(e, t)) {
    case "TOO_SHORT":
    case "INVALID_LENGTH":
      return !1;
    default:
      return !0;
  }
}
function q0(e, t, r, n) {
  var o = t ? ao(t, n) : r;
  if (e.indexOf(o) === 0) {
    n = new fe(n), n.selectNumberingPlan(t, r);
    var i = e.slice(o.length), s = Tn(i, n), d = s.nationalNumber, a = Tn(e, n), c = a.nationalNumber;
    if (!Ve(c, n.nationalNumberPattern()) && Ve(d, n.nationalNumberPattern()) || lo(c, n) === "TOO_LONG")
      return {
        countryCallingCode: o,
        number: i
      };
  }
  return {
    number: e
  };
}
function Qs(e, t, r, n) {
  if (!e)
    return {};
  var o;
  if (e[0] !== "+") {
    var i = V0(e, t, r, n);
    if (i && i !== e)
      o = !0, e = "+" + i;
    else {
      if (t || r) {
        var s = q0(e, t, r, n), d = s.countryCallingCode, a = s.number;
        if (d)
          return {
            countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
            countryCallingCode: d,
            number: a
          };
      }
      return {
        // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
        // countryCallingCodeSource: 'UNSPECIFIED',
        number: e
      };
    }
  }
  if (e[1] === "0")
    return {};
  n = new fe(n);
  for (var c = 2; c - 1 <= I0 && c <= e.length; ) {
    var u = e.slice(1, c);
    if (n.hasCallingCode(u))
      return n.selectNumberingPlan(u), {
        countryCallingCodeSource: o ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
        countryCallingCode: u,
        number: e.slice(c)
      };
    c++;
  }
  return {};
}
function z0(e) {
  return e.replace(new RegExp("[".concat(Er, "]+"), "g"), " ").trim();
}
var Q0 = /(\$\d)/;
function Z0(e, t, r) {
  var n = r.useInternationalFormat, o = r.withNationalPrefix;
  r.carrierCode, r.metadata;
  var i = e.replace(new RegExp(t.pattern()), n ? t.internationalFormat() : (
    // This library doesn't use `domestic_carrier_code_formatting_rule`,
    // because that one is only used when formatting phone numbers
    // for dialing from a mobile phone, and this is not a dialing library.
    // carrierCode && format.domesticCarrierCodeFormattingRule()
    // 	// First, replace the $CC in the formatting rule with the desired carrier code.
    // 	// Then, replace the $FG in the formatting rule with the first group
    // 	// and the carrier code combined in the appropriate way.
    // 	? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
    // 	: (
    // 		withNationalPrefix && format.nationalPrefixFormattingRule()
    // 			? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
    // 			: format.format()
    // 	)
    o && t.nationalPrefixFormattingRule() ? t.format().replace(Q0, t.nationalPrefixFormattingRule()) : t.format()
  ));
  return n ? z0(i) : i;
}
var J0 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
function Y0(e, t, r) {
  var n = new fe(r);
  if (n.selectNumberingPlan(e, t), n.defaultIDDPrefix())
    return n.defaultIDDPrefix();
  if (J0.test(n.IDDPrefix()))
    return n.IDDPrefix();
}
var X0 = ";ext=", pt = function(t) {
  return "([".concat(Pe, "]{1,").concat(t, "})");
};
function Zs(e) {
  var t = "20", r = "15", n = "9", o = "6", i = "[  \\t,]*", s = "[:\\.．]?[  \\t,-]*", d = "#?", a = "(?:e?xt(?:ensi(?:ó?|ó))?n?|ｅ?ｘｔｎ?|доб|anexo)", c = "(?:[xｘ#＃~～]|int|ｉｎｔ)", u = "[- ]+", $ = "[  \\t]*", C = "(?:,{2}|;)", O = X0 + pt(t), _ = i + a + s + pt(t) + d, S = i + c + s + pt(n) + d, I = u + pt(o) + "#", L = $ + C + s + pt(r) + d, Y = $ + "(?:,)+" + s + pt(n) + d;
  return O + "|" + _ + "|" + S + "|" + I + "|" + L + "|" + Y;
}
var e1 = "[" + Pe + "]{" + uo + "}", t1 = "[" + fo + "]{0,1}(?:[" + Er + "]*[" + Pe + "]){3,}[" + Er + Pe + "]*", r1 = new RegExp("^[" + fo + "]{0,1}(?:[" + Er + "]*[" + Pe + "]){1,2}$", "i"), n1 = t1 + // Phone number extensions
"(?:" + Zs() + ")?", o1 = new RegExp(
  // Either a short two-digit-only phone number
  "^" + e1 + "$|^" + n1 + "$",
  "i"
);
function i1(e) {
  return e.length >= uo && o1.test(e);
}
function s1(e) {
  return r1.test(e);
}
function d1(e) {
  var t = e.number, r = e.ext;
  if (!t)
    return "";
  if (t[0] !== "+")
    throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
  return "tel:".concat(t).concat(r ? ";ext=" + r : "");
}
function a1(e, t) {
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (r)
    return (r = r.call(e)).next.bind(r);
  if (Array.isArray(e) || (r = l1(e)) || t && e && typeof e.length == "number") {
    r && (e = r);
    var n = 0;
    return function() {
      return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function l1(e, t) {
  if (e) {
    if (typeof e == "string")
      return hi(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return hi(e, t);
  }
}
function hi(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++)
    n[r] = e[r];
  return n;
}
function pi(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function gi(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? pi(Object(r), !0).forEach(function(n) {
      c1(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : pi(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function c1(e, t, r) {
  return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
var mi = {
  formatExtension: function(t, r, n) {
    return "".concat(t).concat(n.ext()).concat(r);
  }
};
function u1(e, t, r, n) {
  if (r ? r = gi(gi({}, mi), r) : r = mi, n = new fe(n), e.country && e.country !== "001") {
    if (!n.hasCountry(e.country))
      throw new Error("Unknown country: ".concat(e.country));
    n.country(e.country);
  } else if (e.countryCallingCode)
    n.selectNumberingPlan(e.countryCallingCode);
  else
    return e.phone || "";
  var o = n.countryCallingCode(), i = r.v2 ? e.nationalNumber : e.phone, s;
  switch (t) {
    case "NATIONAL":
      return i ? (s = _r(i, e.carrierCode, "NATIONAL", n, r), ln(s, e.ext, n, r.formatExtension)) : "";
    case "INTERNATIONAL":
      return i ? (s = _r(i, null, "INTERNATIONAL", n, r), s = "+".concat(o, " ").concat(s), ln(s, e.ext, n, r.formatExtension)) : "+".concat(o);
    case "E.164":
      return "+".concat(o).concat(i);
    case "RFC3966":
      return d1({
        number: "+".concat(o).concat(i),
        ext: e.ext
      });
    case "IDD":
      if (!r.fromCountry)
        return;
      var d = $1(i, e.carrierCode, o, r.fromCountry, n);
      return ln(d, e.ext, n, r.formatExtension);
    default:
      throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
  }
}
function _r(e, t, r, n, o) {
  var i = f1(n.formats(), e);
  return i ? Z0(e, i, {
    useInternationalFormat: r === "INTERNATIONAL",
    withNationalPrefix: !(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && o && o.nationalPrefix === !1),
    carrierCode: t,
    metadata: n
  }) : e;
}
function f1(e, t) {
  for (var r = a1(e), n; !(n = r()).done; ) {
    var o = n.value;
    if (o.leadingDigitsPatterns().length > 0) {
      var i = o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length - 1];
      if (t.search(i) !== 0)
        continue;
    }
    if (Ve(t, o.pattern()))
      return o;
  }
}
function ln(e, t, r, n) {
  return t ? n(e, t, r) : e;
}
function $1(e, t, r, n, o) {
  var i = ao(n, o.metadata);
  if (i === r) {
    var s = _r(e, t, "NATIONAL", o);
    return r === "1" ? r + " " + s : s;
  }
  var d = Y0(n, void 0, o.metadata);
  if (d)
    return "".concat(d, " ").concat(r, " ").concat(_r(e, null, "INTERNATIONAL", o));
}
function bi(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function yi(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? bi(Object(r), !0).forEach(function(n) {
      h1(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : bi(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function h1(e, t, r) {
  return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function p1(e, t) {
  if (!(e instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function Ci(e, t) {
  for (var r = 0; r < t.length; r++) {
    var n = t[r];
    n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
  }
}
function g1(e, t, r) {
  return t && Ci(e.prototype, t), r && Ci(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
var m1 = /* @__PURE__ */ function() {
  function e(t, r, n) {
    if (p1(this, e), !t)
      throw new TypeError("First argument is required");
    if (typeof t != "string")
      throw new TypeError("First argument must be a string");
    if (typeof t == "string") {
      if (t[0] === "+" && !r)
        throw new TypeError("`metadata` argument not passed");
      if (wt(r) && wt(r.countries)) {
        n = r;
        var o = t;
        if (!C1.test(o))
          throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
        var i = Qs(o, void 0, void 0, n), s = i.countryCallingCode, d = i.number;
        if (r = d, t = s, !r)
          throw new Error("Invalid `number` argument passed: too short");
      }
    }
    if (!r)
      throw new TypeError("`nationalNumber` argument is required");
    if (typeof r != "string")
      throw new TypeError("`nationalNumber` argument must be a string");
    Ks(n);
    var a = y1(t, n), c = a.country, u = a.countryCallingCode;
    this.country = c, this.countryCallingCode = u, this.nationalNumber = r, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
      return n;
    };
  }
  return g1(e, [{
    key: "setExt",
    value: function(r) {
      this.ext = r;
    }
  }, {
    key: "getPossibleCountries",
    value: function() {
      return this.country ? [this.country] : T0(this.countryCallingCode, this.nationalNumber, this.getMetadata());
    }
  }, {
    key: "isPossible",
    value: function() {
      return A0(this, {
        v2: !0
      }, this.getMetadata());
    }
  }, {
    key: "isValid",
    value: function() {
      return F0(this, {
        v2: !0
      }, this.getMetadata());
    }
  }, {
    key: "isNonGeographic",
    value: function() {
      var r = new fe(this.getMetadata());
      return r.isNonGeographicCallingCode(this.countryCallingCode);
    }
  }, {
    key: "isEqual",
    value: function(r) {
      return this.number === r.number && this.ext === r.ext;
    }
    // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
    // but later it was found out that it doesn't include the possible `TOO_SHORT` result
    // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
    // so eventually I simply commented out this method from the `PhoneNumber` class
    // and just left the `validatePhoneNumberLength()` function, even though that one would require
    // and additional step to also validate the actual country / calling code of the phone number.
    // validateLength() {
    // 	const metadata = new Metadata(this.getMetadata())
    // 	metadata.selectNumberingPlan(this.countryCallingCode)
    // 	const result = checkNumberLength(this.nationalNumber, metadata)
    // 	if (result !== 'IS_POSSIBLE') {
    // 		return result
    // 	}
    // }
  }, {
    key: "getType",
    value: function() {
      return co(this, {
        v2: !0
      }, this.getMetadata());
    }
  }, {
    key: "format",
    value: function(r, n) {
      return u1(this, r, n ? yi(yi({}, n), {}, {
        v2: !0
      }) : {
        v2: !0
      }, this.getMetadata());
    }
  }, {
    key: "formatNational",
    value: function(r) {
      return this.format("NATIONAL", r);
    }
  }, {
    key: "formatInternational",
    value: function(r) {
      return this.format("INTERNATIONAL", r);
    }
  }, {
    key: "getURI",
    value: function(r) {
      return this.format("RFC3966", r);
    }
  }]), e;
}(), b1 = function(t) {
  return /^[A-Z]{2}$/.test(t);
};
function y1(e, t) {
  var r, n, o = new fe(t);
  return b1(e) ? (r = e, o.selectNumberingPlan(r), n = o.countryCallingCode()) : n = e, {
    country: r,
    countryCallingCode: n
  };
}
var C1 = /^\+\d+$/;
function Mn(e) {
  "@babel/helpers - typeof";
  return Mn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, Mn(e);
}
function wi(e, t) {
  for (var r = 0; r < t.length; r++) {
    var n = t[r];
    n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
  }
}
function w1(e, t, r) {
  return t && wi(e.prototype, t), r && wi(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
function v1(e, t) {
  if (!(e instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function S1(e, t) {
  if (typeof t != "function" && t !== null)
    throw new TypeError("Super expression must either be null or a function");
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Ht(e, t);
}
function E1(e) {
  var t = Ys();
  return function() {
    var n = Kt(e), o;
    if (t) {
      var i = Kt(this).constructor;
      o = Reflect.construct(n, arguments, i);
    } else
      o = n.apply(this, arguments);
    return _1(this, o);
  };
}
function _1(e, t) {
  if (t && (Mn(t) === "object" || typeof t == "function"))
    return t;
  if (t !== void 0)
    throw new TypeError("Derived constructors may only return object or undefined");
  return Js(e);
}
function Js(e) {
  if (e === void 0)
    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e;
}
function Rn(e) {
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
  return Rn = function(n) {
    if (n === null || !P1(n))
      return n;
    if (typeof n != "function")
      throw new TypeError("Super expression must either be null or a function");
    if (typeof t < "u") {
      if (t.has(n))
        return t.get(n);
      t.set(n, o);
    }
    function o() {
      return pr(n, arguments, Kt(this).constructor);
    }
    return o.prototype = Object.create(n.prototype, { constructor: { value: o, enumerable: !1, writable: !0, configurable: !0 } }), Ht(o, n);
  }, Rn(e);
}
function pr(e, t, r) {
  return Ys() ? pr = Reflect.construct : pr = function(o, i, s) {
    var d = [null];
    d.push.apply(d, i);
    var a = Function.bind.apply(o, d), c = new a();
    return s && Ht(c, s.prototype), c;
  }, pr.apply(null, arguments);
}
function Ys() {
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
    return !1;
  if (typeof Proxy == "function")
    return !0;
  try {
    return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
    })), !0;
  } catch {
    return !1;
  }
}
function P1(e) {
  return Function.toString.call(e).indexOf("[native code]") !== -1;
}
function Ht(e, t) {
  return Ht = Object.setPrototypeOf || function(n, o) {
    return n.__proto__ = o, n;
  }, Ht(e, t);
}
function Kt(e) {
  return Kt = Object.setPrototypeOf ? Object.getPrototypeOf : function(r) {
    return r.__proto__ || Object.getPrototypeOf(r);
  }, Kt(e);
}
var Ue = /* @__PURE__ */ function(e) {
  S1(r, e);
  var t = E1(r);
  function r(n) {
    var o;
    return v1(this, r), o = t.call(this, n), Object.setPrototypeOf(Js(o), r.prototype), o.name = o.constructor.name, o;
  }
  return w1(r);
}(/* @__PURE__ */ Rn(Error)), vi = new RegExp("(?:" + Zs() + ")$", "i");
function A1(e) {
  var t = e.search(vi);
  if (t < 0)
    return {};
  for (var r = e.slice(0, t), n = e.match(vi), o = 1; o < n.length; ) {
    if (n[o])
      return {
        number: r,
        ext: n[o]
      };
    o++;
  }
}
var O1 = {
  0: "0",
  1: "1",
  2: "2",
  3: "3",
  4: "4",
  5: "5",
  6: "6",
  7: "7",
  8: "8",
  9: "9",
  "０": "0",
  // Fullwidth digit 0
  "１": "1",
  // Fullwidth digit 1
  "２": "2",
  // Fullwidth digit 2
  "３": "3",
  // Fullwidth digit 3
  "４": "4",
  // Fullwidth digit 4
  "５": "5",
  // Fullwidth digit 5
  "６": "6",
  // Fullwidth digit 6
  "７": "7",
  // Fullwidth digit 7
  "８": "8",
  // Fullwidth digit 8
  "９": "9",
  // Fullwidth digit 9
  "٠": "0",
  // Arabic-indic digit 0
  "١": "1",
  // Arabic-indic digit 1
  "٢": "2",
  // Arabic-indic digit 2
  "٣": "3",
  // Arabic-indic digit 3
  "٤": "4",
  // Arabic-indic digit 4
  "٥": "5",
  // Arabic-indic digit 5
  "٦": "6",
  // Arabic-indic digit 6
  "٧": "7",
  // Arabic-indic digit 7
  "٨": "8",
  // Arabic-indic digit 8
  "٩": "9",
  // Arabic-indic digit 9
  "۰": "0",
  // Eastern-Arabic digit 0
  "۱": "1",
  // Eastern-Arabic digit 1
  "۲": "2",
  // Eastern-Arabic digit 2
  "۳": "3",
  // Eastern-Arabic digit 3
  "۴": "4",
  // Eastern-Arabic digit 4
  "۵": "5",
  // Eastern-Arabic digit 5
  "۶": "6",
  // Eastern-Arabic digit 6
  "۷": "7",
  // Eastern-Arabic digit 7
  "۸": "8",
  // Eastern-Arabic digit 8
  "۹": "9"
  // Eastern-Arabic digit 9
};
function N1(e) {
  return O1[e];
}
function x1(e, t) {
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (r)
    return (r = r.call(e)).next.bind(r);
  if (Array.isArray(e) || (r = F1(e)) || t && e && typeof e.length == "number") {
    r && (e = r);
    var n = 0;
    return function() {
      return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function F1(e, t) {
  if (e) {
    if (typeof e == "string")
      return Si(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return Si(e, t);
  }
}
function Si(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++)
    n[r] = e[r];
  return n;
}
function Ei(e) {
  for (var t = "", r = x1(e.split("")), n; !(n = r()).done; ) {
    var o = n.value;
    t += T1(o, t) || "";
  }
  return t;
}
function T1(e, t, r) {
  if (e === "+") {
    if (t) {
      typeof r == "function" && r("end");
      return;
    }
    return "+";
  }
  return N1(e);
}
function M1(e, t) {
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (r)
    return (r = r.call(e)).next.bind(r);
  if (Array.isArray(e) || (r = R1(e)) || t && e && typeof e.length == "number") {
    r && (e = r);
    var n = 0;
    return function() {
      return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function R1(e, t) {
  if (e) {
    if (typeof e == "string")
      return _i(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return _i(e, t);
  }
}
function _i(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++)
    n[r] = e[r];
  return n;
}
function I1(e, t) {
  var r = t.countries;
  t.defaultCountry;
  var n = t.metadata;
  n = new fe(n);
  for (var o = M1(r), i; !(i = o()).done; ) {
    var s = i.value;
    if (n.country(s), n.leadingDigits()) {
      if (e && e.search(n.leadingDigits()) === 0)
        return s;
    } else if (co({
      phone: e,
      country: s
    }, void 0, n.metadata))
      return s;
  }
}
var L1 = !1;
function B1(e, t) {
  var r = t.nationalNumber, n = t.defaultCountry, o = t.metadata;
  if (L1 && o.isNonGeographicCallingCode(e))
    return "001";
  var i = o.getCountryCodesForCallingCode(e);
  if (i)
    return i.length === 1 ? i[0] : I1(r, {
      countries: i,
      defaultCountry: n,
      metadata: o.metadata
    });
}
var Xs = "+", k1 = "[\\-\\.\\(\\)]?", Pi = "([" + Pe + "]|" + k1 + ")", D1 = "^\\" + Xs + Pi + "*[" + Pe + "]" + Pi + "*$", U1 = new RegExp(D1, "g"), In = Pe, G1 = "[" + In + "]+((\\-)*[" + In + "])*", j1 = "a-zA-Z", V1 = "[" + j1 + "]+((\\-)*[" + In + "])*", H1 = "^(" + G1 + "\\.)*" + V1 + "\\.?$", K1 = new RegExp(H1, "g"), Ai = "tel:", Ln = ";phone-context=", W1 = ";isub=";
function q1(e) {
  var t = e.indexOf(Ln);
  if (t < 0)
    return null;
  var r = t + Ln.length;
  if (r >= e.length)
    return "";
  var n = e.indexOf(";", r);
  return n >= 0 ? e.substring(r, n) : e.substring(r);
}
function z1(e) {
  return e === null ? !0 : e.length === 0 ? !1 : U1.test(e) || K1.test(e);
}
function Q1(e, t) {
  var r = t.extractFormattedPhoneNumber, n = q1(e);
  if (!z1(n))
    throw new Ue("NOT_A_NUMBER");
  var o;
  if (n === null)
    o = r(e) || "";
  else {
    o = "", n.charAt(0) === Xs && (o += n);
    var i = e.indexOf(Ai), s;
    i >= 0 ? s = i + Ai.length : s = 0;
    var d = e.indexOf(Ln);
    o += e.substring(s, d);
  }
  var a = o.indexOf(W1);
  if (a > 0 && (o = o.substring(0, a)), o !== "")
    return o;
}
var Z1 = 250, J1 = new RegExp("[" + fo + Pe + "]"), Y1 = new RegExp("[^" + Pe + "#]+$");
function X1(e, t, r) {
  if (t = t || {}, r = new fe(r), t.defaultCountry && !r.hasCountry(t.defaultCountry))
    throw t.v2 ? new Ue("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
  var n = tc(e, t.v2, t.extract), o = n.number, i = n.ext, s = n.error;
  if (!o) {
    if (t.v2)
      throw s === "TOO_SHORT" ? new Ue("TOO_SHORT") : new Ue("NOT_A_NUMBER");
    return {};
  }
  var d = nc(o, t.defaultCountry, t.defaultCallingCode, r), a = d.country, c = d.nationalNumber, u = d.countryCallingCode, $ = d.countryCallingCodeSource, C = d.carrierCode;
  if (!r.hasSelectedNumberingPlan()) {
    if (t.v2)
      throw new Ue("INVALID_COUNTRY");
    return {};
  }
  if (!c || c.length < uo) {
    if (t.v2)
      throw new Ue("TOO_SHORT");
    return {};
  }
  if (c.length > R0) {
    if (t.v2)
      throw new Ue("TOO_LONG");
    return {};
  }
  if (t.v2) {
    var O = new m1(u, c, r.metadata);
    return a && (O.country = a), C && (O.carrierCode = C), i && (O.ext = i), O.__countryCallingCodeSource = $, O;
  }
  var _ = (t.extended ? r.hasSelectedNumberingPlan() : a) ? Ve(c, r.nationalNumberPattern()) : !1;
  return t.extended ? {
    country: a,
    countryCallingCode: u,
    carrierCode: C,
    valid: _,
    possible: _ ? !0 : !!(t.extended === !0 && r.possibleLengths() && zs(c, r)),
    phone: c,
    ext: i
  } : _ ? rc(a, c, i) : {};
}
function ec(e, t, r) {
  if (e) {
    if (e.length > Z1) {
      if (r)
        throw new Ue("TOO_LONG");
      return;
    }
    if (t === !1)
      return e;
    var n = e.search(J1);
    if (!(n < 0))
      return e.slice(n).replace(Y1, "");
  }
}
function tc(e, t, r) {
  var n = Q1(e, {
    extractFormattedPhoneNumber: function(s) {
      return ec(s, r, t);
    }
  });
  if (!n)
    return {};
  if (!i1(n))
    return s1(n) ? {
      error: "TOO_SHORT"
    } : {};
  var o = A1(n);
  return o.ext ? o : {
    number: n
  };
}
function rc(e, t, r) {
  var n = {
    country: e,
    phone: t
  };
  return r && (n.ext = r), n;
}
function nc(e, t, r, n) {
  var o = Qs(Ei(e), t, r, n.metadata), i = o.countryCallingCodeSource, s = o.countryCallingCode, d = o.number, a;
  if (s)
    n.selectNumberingPlan(s);
  else if (d && (t || r))
    n.selectNumberingPlan(t, r), t && (a = t), s = r || ao(t, n.metadata);
  else
    return {};
  if (!d)
    return {
      countryCallingCodeSource: i,
      countryCallingCode: s
    };
  var c = Tn(Ei(d), n), u = c.nationalNumber, $ = c.carrierCode, C = B1(s, {
    nationalNumber: u,
    defaultCountry: t,
    metadata: n
  });
  return C && (a = C, C === "001" || n.country(a)), {
    country: a,
    countryCallingCode: s,
    countryCallingCodeSource: i,
    nationalNumber: u,
    carrierCode: $
  };
}
function Oi(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function Ni(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? Oi(Object(r), !0).forEach(function(n) {
      oc(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Oi(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function oc(e, t, r) {
  return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function ic(e, t, r) {
  return X1(e, Ni(Ni({}, t), {}, {
    v2: !0
  }), r);
}
function xi(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function sc(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? xi(Object(r), !0).forEach(function(n) {
      dc(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : xi(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function dc(e, t, r) {
  return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function ac(e, t) {
  return fc(e) || uc(e, t) || cc(e, t) || lc();
}
function lc() {
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function cc(e, t) {
  if (e) {
    if (typeof e == "string")
      return Fi(e, t);
    var r = Object.prototype.toString.call(e).slice(8, -1);
    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
      return Array.from(e);
    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
      return Fi(e, t);
  }
}
function Fi(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = new Array(t); r < t; r++)
    n[r] = e[r];
  return n;
}
function uc(e, t) {
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
  if (r != null) {
    var n = [], o = !0, i = !1, s, d;
    try {
      for (r = r.call(e); !(o = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); o = !0)
        ;
    } catch (a) {
      i = !0, d = a;
    } finally {
      try {
        !o && r.return != null && r.return();
      } finally {
        if (i)
          throw d;
      }
    }
    return n;
  }
}
function fc(e) {
  if (Array.isArray(e))
    return e;
}
function $c(e) {
  var t = Array.prototype.slice.call(e), r = ac(t, 4), n = r[0], o = r[1], i = r[2], s = r[3], d, a, c;
  if (typeof n == "string")
    d = n;
  else
    throw new TypeError("A text for parsing must be a string.");
  if (!o || typeof o == "string")
    s ? (a = i, c = s) : (a = void 0, c = i), o && (a = sc({
      defaultCountry: o
    }, a));
  else if (wt(o))
    i ? (a = o, c = i) : c = o;
  else
    throw new Error("Invalid second argument: ".concat(o));
  return {
    text: d,
    options: a,
    metadata: c
  };
}
function Ti(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function Mi(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? Ti(Object(r), !0).forEach(function(n) {
      hc(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ti(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function hc(e, t, r) {
  return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function pc(e, t, r) {
  t && t.defaultCountry && !S0(t.defaultCountry, r) && (t = Mi(Mi({}, t), {}, {
    defaultCountry: void 0
  }));
  try {
    return ic(e, t, r);
  } catch (n) {
    if (!(n instanceof Ue))
      throw n;
  }
}
function gc() {
  var e = $c(arguments), t = e.text, r = e.options, n = e.metadata;
  return pc(t, r, n);
}
function mc() {
  return h0(gc, arguments);
}
const cn = [
  {
    name: "Afghanistan",
    dialCode: "93",
    code: "AF",
    flag: 16
  },
  {
    name: "Albania",
    dialCode: "355",
    code: "AL",
    flag: 18
  },
  {
    name: "Algeria",
    dialCode: "213",
    code: "DZ",
    flag: 116
  },
  {
    name: "American Samoa",
    dialCode: "1",
    code: "AS",
    flag: 35
  },
  {
    name: "Andorra",
    dialCode: "376",
    code: "AD",
    flag: 1
  },
  {
    name: "Angola",
    dialCode: "244",
    code: "AO",
    flag: 34
  },
  {
    name: "Anguilla",
    dialCode: "1264",
    code: "AI",
    flag: 2
  },
  {
    name: "Antigua and Barbuda",
    dialCode: "1268",
    code: "AG",
    flag: 17
  },
  {
    name: "Argentina",
    dialCode: "54",
    code: "AR",
    flag: 19
  },
  {
    name: "Armenia",
    dialCode: "374",
    code: "AM",
    flag: 32
  },
  {
    name: "Aruba",
    dialCode: "297",
    code: "AW",
    flag: 50
  },
  {
    name: "Australia",
    dialCode: "61",
    code: "AU",
    flag: 49
  },
  {
    name: "Austria",
    dialCode: "43",
    code: "AT",
    flag: 48
  },
  {
    name: "Azerbaijan",
    dialCode: "994",
    code: "AZ",
    flag: 4
  },
  {
    name: "Bahamas",
    dialCode: "1242",
    code: "BS",
    flag: 81
  },
  {
    name: "Bahrain",
    dialCode: "973",
    code: "BH",
    flag: 67
  },
  {
    name: "Bangladesh",
    dialCode: "880",
    code: "BD",
    flag: 52
  },
  {
    name: "Barbados",
    dialCode: "1246",
    code: "BB",
    flag: 36
  },
  {
    name: "Belarus",
    dialCode: "375",
    code: "BY",
    flag: 84
  },
  {
    name: "Belgium",
    dialCode: "32",
    code: "BE",
    flag: 64
  },
  {
    name: "Belize",
    dialCode: "501",
    code: "BZ",
    flag: 85
  },
  {
    name: "Benin",
    dialCode: "229",
    code: "BJ",
    flag: 5
  },
  {
    name: "Bermuda",
    dialCode: "1441",
    code: "BM",
    flag: 37
  },
  {
    name: "Bhutan",
    dialCode: "975",
    code: "BT",
    flag: 82
  },
  {
    name: "Bolivia",
    dialCode: "591",
    code: "BO",
    flag: 69
  },
  {
    name: "Bosnia and Herzegovina",
    dialCode: "387",
    code: "BA",
    flag: 20
  },
  {
    name: "Botswana",
    dialCode: "267",
    code: "BW",
    flag: 83
  },
  {
    name: "Brazil",
    dialCode: "55",
    code: "BR",
    flag: 80
  },
  {
    name: "Brunei",
    dialCode: "673",
    code: "BN",
    flag: 53
  },
  {
    name: "Bulgaria",
    dialCode: "359",
    code: "BG",
    flag: 66
  },
  {
    name: "Burkina Faso",
    dialCode: "226",
    code: "BF",
    flag: 65
  },
  {
    name: "Burundi",
    dialCode: "257",
    code: "BI",
    flag: 68
  },
  {
    name: "Cambodia",
    dialCode: "855",
    code: "KH",
    flag: 165
  },
  {
    name: "Cameroon",
    dialCode: "237",
    code: "CM",
    flag: 99
  },
  {
    name: "Canada",
    dialCode: "1",
    code: "CA",
    flag: 6
  },
  {
    name: "Cayman Islands",
    dialCode: " 345",
    code: "KY",
    flag: 43
  },
  {
    name: "Central African Republic",
    dialCode: "236",
    code: "CF",
    flag: 54
  },
  {
    name: "Chad",
    dialCode: "235",
    code: "TD",
    flag: 225
  },
  {
    name: "Chile",
    dialCode: "56",
    code: "CL",
    flag: 98
  },
  {
    name: "China",
    dialCode: "86",
    code: "CN",
    flag: 100
  },
  {
    name: "Colombia",
    dialCode: "57",
    code: "CO",
    flag: 101
  },
  {
    name: "Congo",
    dialCode: "242",
    code: "CG",
    flag: 70
  },
  {
    name: "Congo (DRC)",
    dialCode: "243",
    code: "CD",
    flag: 38
  },
  {
    name: "Cook Islands",
    dialCode: "682",
    code: "CK",
    flag: 97
  },
  {
    name: "Costa Rica",
    dialCode: "506",
    code: "CR",
    flag: 102
  },
  {
    name: "Cote d'Ivoire",
    dialCode: "225",
    code: "CI",
    flag: 96
  },
  {
    name: "Croatia",
    dialCode: "385",
    code: "HR",
    flag: 150
  },
  {
    name: "Cuba",
    dialCode: "53",
    code: "CU",
    flag: 7
  },
  {
    name: "Cyprus",
    dialCode: "357",
    code: "CY",
    flag: 71
  },
  {
    name: "Czech Republic",
    dialCode: "420",
    code: "CZ",
    flag: 87
  },
  {
    name: "Denmark",
    dialCode: "45",
    code: "DK",
    flag: 113
  },
  {
    name: "Djibouti",
    dialCode: "253",
    code: "DJ",
    flag: 112
  },
  {
    name: "Dominican Republic",
    dialCode: "1849",
    code: "DO",
    flag: 115
  },
  {
    name: "Ecuador",
    dialCode: "593",
    code: "EC",
    flag: 117
  },
  {
    name: "Egypt",
    dialCode: "20",
    code: "EG",
    flag: 119
  },
  {
    name: "El Salvador",
    dialCode: "503",
    code: "SV",
    flag: 190
  },
  {
    name: "Equatorial Guinea",
    dialCode: "240",
    code: "GQ",
    flag: 105
  },
  {
    name: "Estonia",
    dialCode: "372",
    code: "EE",
    flag: 118
  },
  {
    name: "Ethiopia",
    dialCode: "251",
    code: "ET",
    flag: 56
  },
  {
    name: "Falkland Islands",
    dialCode: "500",
    code: "FK",
    flag: 120
  },
  {
    name: "Faroe Islands",
    dialCode: "298",
    code: "FO",
    flag: 129
  },
  {
    name: "Fiji",
    dialCode: "679",
    code: "FJ",
    flag: 104
  },
  {
    name: "Finland",
    dialCode: "358",
    code: "FI",
    flag: 88
  },
  {
    name: "France",
    dialCode: "33",
    code: "FR",
    flag: 130
  },
  {
    name: "Gabon",
    dialCode: "241",
    code: "GA",
    flag: 131
  },
  {
    name: "Gambia",
    dialCode: "220",
    code: "GM",
    flag: 57
  },
  {
    name: "Georgia",
    dialCode: "995",
    code: "GE",
    flag: 134
  },
  {
    name: "Germany",
    dialCode: "49",
    code: "DE",
    flag: 103
  },
  {
    name: "Ghana",
    dialCode: "233",
    code: "GH",
    flag: 9
  },
  {
    name: "Gibraltar",
    dialCode: "350",
    code: "GI",
    flag: 25
  },
  {
    name: "Greece",
    dialCode: "30",
    code: "GR",
    flag: 121
  },
  {
    name: "Greenland",
    dialCode: "299",
    code: "GL",
    flag: 41
  },
  {
    name: "Grenada",
    dialCode: "1473",
    code: "GD",
    flag: 133
  },
  {
    name: "Guadeloupe",
    dialCode: "590",
    code: "GP",
    flag: 89
  },
  {
    name: "Guam",
    dialCode: "1671",
    code: "GU",
    flag: 145
  },
  {
    name: "Guatemala",
    dialCode: "502",
    code: "GT",
    flag: 144
  },
  {
    name: "Guernsey",
    dialCode: "44",
    code: "GG",
    flag: 136
  },
  {
    name: "Guinea",
    dialCode: "224",
    code: "GN",
    flag: 73
  },
  {
    name: "Guinea-Bissau",
    dialCode: "245",
    code: "GW",
    flag: 146
  },
  {
    name: "Guyana",
    dialCode: "595",
    code: "GY",
    flag: 147
  },
  {
    name: "Haiti",
    dialCode: "509",
    code: "HT",
    flag: 151
  },
  {
    name: "Honduras",
    dialCode: "504",
    code: "HN",
    flag: 149
  },
  {
    name: "Hong Kong",
    dialCode: "852",
    code: "HK",
    flag: 148
  },
  {
    name: "Hungary",
    dialCode: "36",
    code: "HU",
    flag: 152
  },
  {
    name: "Iceland",
    dialCode: "354",
    code: "IS",
    flag: 122
  },
  {
    name: "India",
    dialCode: "91",
    code: "IN",
    flag: 74
  },
  {
    name: "Indonesia",
    dialCode: "62",
    code: "ID",
    flag: 10
  },
  {
    name: "Iran",
    dialCode: "98",
    code: "IR",
    flag: 106
  },
  {
    name: "Iraq",
    dialCode: "964",
    code: "IQ",
    flag: 90
  },
  {
    name: "Ireland",
    dialCode: "353",
    code: "IE",
    flag: 26
  },
  {
    name: "Israel",
    dialCode: "972",
    code: "IL",
    flag: 42
  },
  {
    name: "Italy",
    dialCode: "39",
    code: "IT",
    flag: 138
  },
  {
    name: "Jamaica",
    dialCode: "1876",
    code: "JM",
    flag: 160
  },
  {
    name: "Japan",
    dialCode: "81",
    code: "JP",
    flag: 162
  },
  {
    name: "Jersey",
    dialCode: "44",
    code: "JE",
    flag: 154
  },
  {
    name: "Jordan",
    dialCode: "962",
    code: "JO",
    flag: 161
  },
  {
    name: "Kazakhstan",
    dialCode: "77",
    code: "KZ",
    flag: 59
  },
  {
    name: "Kenya",
    dialCode: "254",
    code: "KE",
    flag: 163
  },
  {
    name: "Kiribati",
    dialCode: "686",
    code: "KI",
    flag: 166
  },
  {
    name: "Kuwait",
    dialCode: "965",
    code: "KW",
    flag: 27
  },
  {
    name: "Kyrgyzstan",
    dialCode: "996",
    code: "KG",
    flag: 164
  },
  {
    name: "Laos",
    dialCode: "856",
    code: "LA",
    flag: 75
  },
  {
    name: "Latvia",
    dialCode: "371",
    code: "LV",
    flag: 178
  },
  {
    name: "Lebanon",
    dialCode: "961",
    code: "LB",
    flag: 0
  },
  {
    name: "Lesotho",
    dialCode: "266",
    code: "LS",
    flag: 171
  },
  {
    name: "Liberia",
    dialCode: "231",
    code: "LR",
    flag: 155
  },
  {
    name: "Libya",
    dialCode: "218",
    code: "LY",
    flag: 179
  },
  {
    name: "Liechtenstein",
    dialCode: "423",
    code: "LI",
    flag: 123
  },
  {
    name: "Lithuania",
    dialCode: "370",
    code: "LT",
    flag: 176
  },
  {
    name: "Luxembourg",
    dialCode: "352",
    code: "LU",
    flag: 177
  },
  {
    name: "Macao",
    dialCode: "853",
    code: "MO",
    flag: 60
  },
  {
    name: "Madagascar",
    dialCode: "261",
    code: "MG",
    flag: 185
  },
  {
    name: "Malawi",
    dialCode: "265",
    code: "MW",
    flag: 188
  },
  {
    name: "Malaysia",
    dialCode: "60",
    code: "MY",
    flag: 193
  },
  {
    name: "Maldives",
    dialCode: "960",
    code: "MV",
    flag: 172
  },
  {
    name: "Mali",
    dialCode: "223",
    code: "ML",
    flag: 12
  },
  {
    name: "Malta",
    dialCode: "356",
    code: "MT",
    flag: 140
  },
  {
    name: "Marshall Islands",
    dialCode: "692",
    code: "MH",
    flag: 186
  },
  {
    name: "Martinique",
    dialCode: "596",
    code: "MQ",
    flag: 92
  },
  {
    name: "Mauritania",
    dialCode: "222",
    code: "MR",
    flag: 108
  },
  {
    name: "Mauritius",
    dialCode: "230",
    code: "MU",
    flag: 156
  },
  {
    name: "Mayotte",
    dialCode: "262",
    code: "YT",
    flag: 248
  },
  {
    name: "Mexico",
    dialCode: "52",
    code: "MX",
    flag: 192
  },
  {
    name: "Micronesia",
    dialCode: "691",
    code: "FM",
    flag: 128
  },
  {
    name: "Moldova",
    dialCode: "373",
    code: "MD",
    flag: 182
  },
  {
    name: "Monaco",
    dialCode: "377",
    code: "MC",
    flag: 181
  },
  {
    name: "Mongolia",
    dialCode: "976",
    code: "MN",
    flag: 44
  },
  {
    name: "Montenegro",
    dialCode: "382",
    code: "ME",
    flag: 183
  },
  {
    name: "Montserrat",
    dialCode: "1664",
    code: "MS",
    flag: 124
  },
  {
    name: "Morocco",
    dialCode: "212",
    code: "MA",
    flag: 180
  },
  {
    name: "Mozambique",
    dialCode: "258",
    code: "MZ",
    flag: 194
  },
  {
    name: "Myanmar",
    dialCode: "95",
    code: "MM",
    flag: 28
  },
  {
    name: "Namibia",
    dialCode: "264",
    code: "NA",
    flag: 195
  },
  {
    name: "Nauru",
    dialCode: "674",
    code: "NR",
    flag: 204
  },
  {
    name: "Nepal",
    dialCode: "977",
    code: "NP",
    flag: 203
  },
  {
    name: "Netherlands",
    dialCode: "31",
    code: "NL",
    flag: 201
  },
  {
    name: "New Caledonia",
    dialCode: "687",
    code: "NC",
    flag: 196
  },
  {
    name: "New Zealand",
    dialCode: "64",
    code: "NZ",
    flag: 29
  },
  {
    name: "Nicaragua",
    dialCode: "505",
    code: "NI",
    flag: 200
  },
  {
    name: "Niger",
    dialCode: "227",
    code: "NE",
    flag: 197
  },
  {
    name: "Nigeria",
    dialCode: "234",
    code: "NG",
    flag: 199
  },
  {
    name: "Niue",
    dialCode: "683",
    code: "NU",
    flag: 13
  },
  {
    name: "North Korea",
    dialCode: "850",
    code: "KP",
    flag: 169
  },
  {
    name: "Norway",
    dialCode: "47",
    code: "NO",
    flag: 202
  },
  {
    name: "Oman",
    dialCode: "968",
    code: "OM",
    flag: 45
  },
  {
    name: "Pakistan",
    dialCode: "92",
    code: "PK",
    flag: 141
  },
  {
    name: "Palau",
    dialCode: "680",
    code: "PW",
    flag: 209
  },
  {
    name: "Panama",
    dialCode: "507",
    code: "PA",
    flag: 61
  },
  {
    name: "Papua New Guinea",
    dialCode: "675",
    code: "PG",
    flag: 109
  },
  {
    name: "Paraguay",
    dialCode: "595",
    code: "PY",
    flag: 210
  },
  {
    name: "Peru",
    dialCode: "51",
    code: "PE",
    flag: 77
  },
  {
    name: "Philippines",
    dialCode: "63",
    code: "PH",
    flag: 125
  },
  {
    name: "Poland",
    dialCode: "48",
    code: "PL",
    flag: 157
  },
  {
    name: "Portugal",
    dialCode: "351",
    code: "PT",
    flag: 208
  },
  {
    name: "Puerto Rico",
    dialCode: "1939",
    code: "PR",
    flag: 189
  },
  {
    name: "Qatar",
    dialCode: "974",
    code: "QA",
    flag: 211
  },
  {
    name: "Romania",
    dialCode: "40",
    code: "RO",
    flag: 213
  },
  {
    name: "Russia",
    dialCode: "7",
    code: "RU",
    flag: 215
  },
  {
    name: "Rwanda",
    dialCode: "250",
    code: "RW",
    flag: 216
  },
  {
    name: "Samoa",
    dialCode: "685",
    code: "WS",
    flag: 239
  },
  {
    name: "San Marino",
    dialCode: "378",
    code: "SM",
    flag: 94
  },
  {
    name: "Sao Tome and Principe",
    dialCode: "239",
    code: "ST",
    flag: 174
  },
  {
    name: "Saudi Arabia",
    dialCode: "966",
    code: "SA",
    flag: 217
  },
  {
    name: "Senegal",
    dialCode: "221",
    code: "SN",
    flag: 110
  },
  {
    name: "Serbia",
    dialCode: "381",
    code: "RS",
    flag: 214
  },
  {
    name: "Seychelles",
    dialCode: "248",
    code: "SC",
    flag: 219
  },
  {
    name: "Sierra Leone",
    dialCode: "232",
    code: "SL",
    flag: 78
  },
  {
    name: "Singapore",
    dialCode: "65",
    code: "SG",
    flag: 14
  },
  {
    name: "Slovakia",
    dialCode: "421",
    code: "SK",
    flag: 62
  },
  {
    name: "Slovenia",
    dialCode: "386",
    code: "SI",
    flag: 46
  },
  {
    name: "Solomon Islands",
    dialCode: "677",
    code: "SB",
    flag: 218
  },
  {
    name: "Somalia",
    dialCode: "252",
    code: "SO",
    flag: 126
  },
  {
    name: "South Africa",
    dialCode: "27",
    code: "ZA",
    flag: 249
  },
  {
    name: "South Korea",
    dialCode: "82",
    code: "KR",
    flag: 170
  },
  {
    name: "South Sudan",
    dialCode: "211",
    code: "SS",
    flag: 158
  },
  {
    name: "Spain",
    dialCode: "34",
    code: "ES",
    flag: 40
  },
  {
    name: "Sri Lanka",
    dialCode: "94",
    code: "LK",
    flag: 139
  },
  {
    name: "St. Barthelemy",
    dialCode: "590",
    code: "BL",
    flag: 21
  },
  {
    name: "St. Kitts",
    dialCode: "1869",
    code: "KN",
    flag: 168
  },
  {
    name: "St. Lucia",
    dialCode: "1758",
    code: "LC",
    flag: 107
  },
  {
    name: "St. Vincent",
    dialCode: "1784",
    code: "VC",
    flag: 127
  },
  {
    name: "Sudan",
    dialCode: "249",
    code: "SD",
    flag: 220
  },
  {
    name: "Suriname",
    dialCode: "597",
    code: "SR",
    flag: 142
  },
  {
    name: "Swaziland",
    dialCode: "268",
    code: "SZ",
    flag: 222
  },
  {
    name: "Sweden",
    dialCode: "46",
    code: "SE",
    flag: 221
  },
  {
    name: "Switzerland",
    dialCode: "41",
    code: "CH",
    flag: 86
  },
  {
    name: "Syria",
    dialCode: "963",
    code: "SY",
    flag: 206
  },
  {
    name: "Taiwan",
    dialCode: "886",
    code: "TW",
    flag: 238
  },
  {
    name: "Tajikistan",
    dialCode: "992",
    code: "TJ",
    flag: 229
  },
  {
    name: "Tanzania",
    dialCode: "255",
    code: "TZ",
    flag: 15
  },
  {
    name: "Thailand",
    dialCode: "66",
    code: "TH",
    flag: 228
  },
  {
    name: "Timor-Leste",
    dialCode: "670",
    code: "TL",
    flag: 231
  },
  {
    name: "Togo",
    dialCode: "228",
    code: "TG",
    flag: 227
  },
  {
    name: "Tonga",
    dialCode: "676",
    code: "TO",
    flag: 234
  },
  {
    name: "Trinidad and Tobago",
    dialCode: "1868",
    code: "TT",
    flag: 236
  },
  {
    name: "Tunisia",
    dialCode: "216",
    code: "TN",
    flag: 233
  },
  {
    name: "Turkey",
    dialCode: "90",
    code: "TR",
    flag: 235
  },
  {
    name: "Turkmenistan",
    dialCode: "993",
    code: "TM",
    flag: 232
  },
  {
    name: "Turks and Caicos Islands",
    dialCode: "1649",
    code: "TC",
    flag: 224
  },
  {
    name: "Tuvalu",
    dialCode: "688",
    code: "TV",
    flag: 237
  },
  {
    name: "Uganda",
    dialCode: "256",
    code: "UG",
    flag: 47
  },
  {
    name: "Ukraine",
    dialCode: "380",
    code: "UA",
    flag: 31
  },
  {
    name: "United Arab Emirates",
    dialCode: "971",
    code: "AE",
    flag: 91
  },
  {
    name: "United Kingdom",
    dialCode: "44",
    code: "GB",
    flag: 132
  },
  {
    name: "United States of America",
    dialCode: "1",
    code: "US",
    flag: 63
  },
  {
    name: "Uruguay",
    dialCode: "598",
    code: "UY",
    flag: 79
  },
  {
    name: "Uzbekistan",
    dialCode: "998",
    code: "UZ",
    flag: 95
  },
  {
    name: "Vanuatu",
    dialCode: "678",
    code: "VU",
    flag: 207
  },
  {
    name: "Venezuela",
    dialCode: "58",
    code: "VE",
    flag: 143
  },
  {
    name: "Vietnam",
    dialCode: "84",
    code: "VN",
    flag: 191
  },
  {
    name: "Virgin Islands, British",
    dialCode: "1284",
    code: "VG",
    flag: 159
  },
  {
    name: "Virgin Islands, U.S.",
    dialCode: "1340",
    code: "VI",
    flag: 175
  },
  {
    name: "Yemen",
    dialCode: "967",
    code: "YE",
    flag: 247
  },
  {
    name: "Zambia",
    dialCode: "260",
    code: "ZM",
    flag: 250
  },
  {
    name: "Zimbabwe",
    dialCode: "263",
    code: "ZW",
    flag: 251
  }
], bc = {
  code: "",
  name: "",
  dialCode: "",
  flag: 0
};
function yc(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    viewBox: "0 0 24 24",
    fill: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "fill-rule": "evenodd",
      d: "M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",
      "clip-rule": "evenodd"
    })
  ]);
}
function Cc(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    viewBox: "0 0 24 24",
    fill: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "fill-rule": "evenodd",
      d: "M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z",
      "clip-rule": "evenodd"
    })
  ]);
}
function ed(e, t) {
  return K(), Q("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    viewBox: "0 0 24 24",
    fill: "currentColor",
    "aria-hidden": "true",
    "data-slot": "icon"
  }, [
    F("path", {
      "fill-rule": "evenodd",
      d: "M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",
      "clip-rule": "evenodd"
    })
  ]);
}
const ie = document.querySelector("script[data-channel]"), $o = ie == null ? void 0 : ie.getAttribute("data-company"), td = ie == null ? void 0 : ie.getAttribute("data-phrase"), wc = ie == null ? void 0 : ie.getAttribute("data-default-country-code"), Rt = ie == null ? void 0 : ie.getAttribute("data-available-countries"), Bn = ie == null ? void 0 : ie.getAttribute("data-channel"), Ri = ie == null ? void 0 : ie.getAttribute("data-popup-messages");
console.log(
  "[RC] Script loaded with company:",
  $o,
  "and channel:",
  Bn,
  "company phrase :",
  td,
  "countries",
  Rt
);
const vc = /* @__PURE__ */ At({
  name: "PhoneInput",
  components: {
    //icons
    ChevronDownIcon: yc,
    XMarkIcon: ed
  },
  props: {
    modelValue: String
  },
  data: () => {
    var e;
    return {
      countries: Rt ? cn.filter(
        (t) => Rt == null ? void 0 : Rt.includes(t.code)
      ) : cn,
      selectedCountryCode: ((e = cn.filter(
        (t) => t.code === wc
      )[0]) == null ? void 0 : e.code) || "ZA",
      // Default to South Africa
      localNumber: "",
      showCountries: !1,
      hasLeadingZero: !1,
      isValidNumber: !1,
      countrySearch: ""
    };
  },
  methods: {
    selectCountry(e) {
      this.selectedCountryCode = e.code, this.updatePhoneNumber();
    },
    getCountryFlagPosition(e) {
      let t = Math.floor(e.flag / 16);
      return {
        "background-position": `-${e.flag % 16 * 42}px -${t * 42 + 4}px`
      };
    },
    updatePhoneNumber() {
      if (this.localNumber = this.localNumber.toString(), this.localNumber[0] === "0" ? (this.localNumber = this.localNumber.slice(1, this.localNumber.length), this.hasLeadingZero = !0) : this.hasLeadingZero = !1, this.localNumber.length) {
        const e = `+${this.selectedCountry.dialCode}${this.localNumber}`, t = mc(
          e,
          this.selectedCountryCode
        );
        t && t.isValid() ? this.isValidNumber = !0 : this.isValidNumber = !1, this.$emit(
          "update:modelValue",
          `${this.selectedCountry.dialCode}${this.localNumber}`
        ), this.$emit("handleIsValidNumber", this.isValidNumber);
      } else
        this.$emit("update:modelValue", "");
    }
  },
  computed: {
    selectedCountry() {
      return this.countries.find(
        (e) => e.code === this.selectedCountryCode
      ) || bc;
    }
  }
}), Sc = { class: "rc-w-full rc-max-w-sm rc-mb-4" }, Ec = /* @__PURE__ */ F("label", { class: "rc-block rc-mb-2 rc-text-sm rc-text-black dark:rc-text-gray-200 rc-font-semibold" }, " Phone Number * ", -1), _c = { class: "rc-flex rc-gap-0" }, Pc = { class: "rc-relative" }, Ac = { class: "rc-flex rc-gap-0 rc-items-center" }, Oc = ["src", "alt"], Nc = { class: "rc-text-sm rc-font-medium dark:rc-text-gray-400" }, xc = { class: "rc-border-r rc-h-full rc-flex rc-items-center rc-pr-2" }, Fc = { class: "rc-sticky rc-top-0 rc-bg-white rc-px-3 rc-py-2 rc-border-b dark:rc-bg-neutral-900" }, Tc = ["onClick"], Mc = { class: "rc-text-sm rc-font-regular dark:rc-text-gray-400" }, Rc = {
  key: 0,
  class: "rc-text-xs rc-text-red-700 rc-mr-auto rc-mt-2"
};
function Ic(e, t, r, n, o, i) {
  const s = Me("chevron-down-icon");
  return K(), Q("div", Sc, [
    Ec,
    F("div", _c, [
      F("div", Pc, [
        F("button", {
          class: "rc-button rc-w-max rc-h-full rc-border rc-border-slate-200 rc-border-r-0 rc-rounded-e-none rc-flex rc-items-center rc-gap-2",
          onClick: t[0] || (t[0] = (d) => e.showCountries = !e.showCountries)
        }, [
          F("div", Ac, [
            F("img", {
              src: `https://flagcdn.com/16x12/${e.selectedCountry.code.toLowerCase()}.png`,
              width: "16",
              height: "12",
              class: "rc-mr-1",
              alt: e.selectedCountry.name
            }, null, 8, Oc),
            F("span", Nc, " +" + Lt(e.selectedCountry.dialCode), 1)
          ]),
          F("div", xc, [
            re(s, { class: "rc-text-black dark:rc-text-white rc-size-3" })
          ])
        ]),
        F("div", {
          class: Le(["rc-min-w-[230px] rc-h-[200px] dark:rc-bg-neutral-900 rc-overflow-auto -rc-top-[390%] rc-z-10 rc-absolute rc-overflow-x-hidden rc-shadow rc-bg-white rc-rounded-lg", { "rc-hidden": !e.showCountries }])
        }, [
          F("div", Fc, [
            vn(F("input", {
              class: "rc-input-field -rc-mt-0 rc-py-2",
              placeholder: "Search country",
              "onUpdate:modelValue": t[1] || (t[1] = (d) => e.countrySearch = d)
            }, null, 512), [
              [xn, e.countrySearch]
            ])
          ]),
          F("div", null, [
            (K(!0), Q(Se, null, Fs(e.countries.filter(
              (d) => d.name.toLocaleLowerCase().includes(e.countrySearch.toLocaleLowerCase())
            ), (d) => (K(), Q("div", {
              key: d.name,
              onClick: (a) => (e.selectCountry(d), e.showCountries = !1),
              class: Le(["rc-flex hover:rc-bg-gray-100 dark:hover:rc-bg-neutral-800 rc-items-center rc-cursor-pointer rc-py-2 rc-px-4 rc-text-nowrap", { "rc-bg-gray-200": e.selectedCountry.name === d.name }])
            }, [
              F("i", {
                class: "rc-flag-sprites",
                style: Fr(e.getCountryFlagPosition(d))
              }, null, 4),
              F("span", Mc, Lt(d.name), 1)
            ], 10, Tc))), 128))
          ])
        ], 2)
      ]),
      vn(F("input", {
        class: "rc-input-field !rc-border-l-0 rc-rounded-s-none",
        "onUpdate:modelValue": t[2] || (t[2] = (d) => e.localNumber = d),
        onKeyup: t[3] || (t[3] = (...d) => e.updatePhoneNumber && e.updatePhoneNumber(...d)),
        type: "number",
        placeholder: "Phone number"
      }, null, 544), [
        [xn, e.localNumber]
      ])
    ]),
    e.hasLeadingZero || !e.isValidNumber ? (K(), Q("p", Rc, Lt(e.hasLeadingZero ? "Enter your phone number without the leading '0' as the country code is selected." : "Please enter a valid number."), 1)) : dt("", !0)
  ]);
}
const Lc = /* @__PURE__ */ Qt(vc, [["render", Ic]]);
function rd(e, t) {
  return function() {
    return e.apply(t, arguments);
  };
}
const { toString: Bc } = Object.prototype, { getPrototypeOf: ho } = Object, jr = /* @__PURE__ */ ((e) => (t) => {
  const r = Bc.call(t);
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
})(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => jr(t) === e), Vr = (e) => (t) => typeof t === e, { isArray: Ot } = Array, Wt = Vr("undefined");
function kc(e) {
  return e !== null && !Wt(e) && e.constructor !== null && !Wt(e.constructor) && Ce(e.constructor.isBuffer) && e.constructor.isBuffer(e);
}
const nd = Be("ArrayBuffer");
function Dc(e) {
  let t;
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && nd(e.buffer), t;
}
const Uc = Vr("string"), Ce = Vr("function"), od = Vr("number"), Hr = (e) => e !== null && typeof e == "object", Gc = (e) => e === !0 || e === !1, gr = (e) => {
  if (jr(e) !== "object")
    return !1;
  const t = ho(e);
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
}, jc = Be("Date"), Vc = Be("File"), Hc = Be("Blob"), Kc = Be("FileList"), Wc = (e) => Hr(e) && Ce(e.pipe), qc = (e) => {
  let t;
  return e && (typeof FormData == "function" && e instanceof FormData || Ce(e.append) && ((t = jr(e)) === "formdata" || // detect form-data instance
  t === "object" && Ce(e.toString) && e.toString() === "[object FormData]"));
}, zc = Be("URLSearchParams"), Qc = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
function Zt(e, t, { allOwnKeys: r = !1 } = {}) {
  if (e === null || typeof e > "u")
    return;
  let n, o;
  if (typeof e != "object" && (e = [e]), Ot(e))
    for (n = 0, o = e.length; n < o; n++)
      t.call(null, e[n], n, e);
  else {
    const i = r ? Object.getOwnPropertyNames(e) : Object.keys(e), s = i.length;
    let d;
    for (n = 0; n < s; n++)
      d = i[n], t.call(null, e[d], d, e);
  }
}
function id(e, t) {
  t = t.toLowerCase();
  const r = Object.keys(e);
  let n = r.length, o;
  for (; n-- > 0; )
    if (o = r[n], t === o.toLowerCase())
      return o;
  return null;
}
const sd = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, dd = (e) => !Wt(e) && e !== sd;
function kn() {
  const { caseless: e } = dd(this) && this || {}, t = {}, r = (n, o) => {
    const i = e && id(t, o) || o;
    gr(t[i]) && gr(n) ? t[i] = kn(t[i], n) : gr(n) ? t[i] = kn({}, n) : Ot(n) ? t[i] = n.slice() : t[i] = n;
  };
  for (let n = 0, o = arguments.length; n < o; n++)
    arguments[n] && Zt(arguments[n], r);
  return t;
}
const Zc = (e, t, r, { allOwnKeys: n } = {}) => (Zt(t, (o, i) => {
  r && Ce(o) ? e[i] = rd(o, r) : e[i] = o;
}, { allOwnKeys: n }), e), Jc = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Yc = (e, t, r, n) => {
  e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
    value: t.prototype
  }), r && Object.assign(e.prototype, r);
}, Xc = (e, t, r, n) => {
  let o, i, s;
  const d = {};
  if (t = t || {}, e == null)
    return t;
  do {
    for (o = Object.getOwnPropertyNames(e), i = o.length; i-- > 0; )
      s = o[i], (!n || n(s, e, t)) && !d[s] && (t[s] = e[s], d[s] = !0);
    e = r !== !1 && ho(e);
  } while (e && (!r || r(e, t)) && e !== Object.prototype);
  return t;
}, eu = (e, t, r) => {
  e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
  const n = e.indexOf(t, r);
  return n !== -1 && n === r;
}, tu = (e) => {
  if (!e)
    return null;
  if (Ot(e))
    return e;
  let t = e.length;
  if (!od(t))
    return null;
  const r = new Array(t);
  for (; t-- > 0; )
    r[t] = e[t];
  return r;
}, ru = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ho(Uint8Array)), nu = (e, t) => {
  const n = (e && e[Symbol.iterator]).call(e);
  let o;
  for (; (o = n.next()) && !o.done; ) {
    const i = o.value;
    t.call(e, i[0], i[1]);
  }
}, ou = (e, t) => {
  let r;
  const n = [];
  for (; (r = e.exec(t)) !== null; )
    n.push(r);
  return n;
}, iu = Be("HTMLFormElement"), su = (e) => e.toLowerCase().replace(
  /[-_\s]([a-z\d])(\w*)/g,
  function(r, n, o) {
    return n.toUpperCase() + o;
  }
), Ii = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), du = Be("RegExp"), ad = (e, t) => {
  const r = Object.getOwnPropertyDescriptors(e), n = {};
  Zt(r, (o, i) => {
    let s;
    (s = t(o, i, e)) !== !1 && (n[i] = s || o);
  }), Object.defineProperties(e, n);
}, au = (e) => {
  ad(e, (t, r) => {
    if (Ce(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
      return !1;
    const n = e[r];
    if (Ce(n)) {
      if (t.enumerable = !1, "writable" in t) {
        t.writable = !1;
        return;
      }
      t.set || (t.set = () => {
        throw Error("Can not rewrite read-only method '" + r + "'");
      });
    }
  });
}, lu = (e, t) => {
  const r = {}, n = (o) => {
    o.forEach((i) => {
      r[i] = !0;
    });
  };
  return Ot(e) ? n(e) : n(String(e).split(t)), r;
}, cu = () => {
}, uu = (e, t) => (e = +e, Number.isFinite(e) ? e : t), un = "abcdefghijklmnopqrstuvwxyz", Li = "0123456789", ld = {
  DIGIT: Li,
  ALPHA: un,
  ALPHA_DIGIT: un + un.toUpperCase() + Li
}, fu = (e = 16, t = ld.ALPHA_DIGIT) => {
  let r = "";
  const { length: n } = t;
  for (; e--; )
    r += t[Math.random() * n | 0];
  return r;
};
function $u(e) {
  return !!(e && Ce(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
}
const hu = (e) => {
  const t = new Array(10), r = (n, o) => {
    if (Hr(n)) {
      if (t.indexOf(n) >= 0)
        return;
      if (!("toJSON" in n)) {
        t[o] = n;
        const i = Ot(n) ? [] : {};
        return Zt(n, (s, d) => {
          const a = r(s, o + 1);
          !Wt(a) && (i[d] = a);
        }), t[o] = void 0, i;
      }
    }
    return n;
  };
  return r(e, 0);
}, pu = Be("AsyncFunction"), gu = (e) => e && (Hr(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), p = {
  isArray: Ot,
  isArrayBuffer: nd,
  isBuffer: kc,
  isFormData: qc,
  isArrayBufferView: Dc,
  isString: Uc,
  isNumber: od,
  isBoolean: Gc,
  isObject: Hr,
  isPlainObject: gr,
  isUndefined: Wt,
  isDate: jc,
  isFile: Vc,
  isBlob: Hc,
  isRegExp: du,
  isFunction: Ce,
  isStream: Wc,
  isURLSearchParams: zc,
  isTypedArray: ru,
  isFileList: Kc,
  forEach: Zt,
  merge: kn,
  extend: Zc,
  trim: Qc,
  stripBOM: Jc,
  inherits: Yc,
  toFlatObject: Xc,
  kindOf: jr,
  kindOfTest: Be,
  endsWith: eu,
  toArray: tu,
  forEachEntry: nu,
  matchAll: ou,
  isHTMLForm: iu,
  hasOwnProperty: Ii,
  hasOwnProp: Ii,
  // an alias to avoid ESLint no-prototype-builtins detection
  reduceDescriptors: ad,
  freezeMethods: au,
  toObjectSet: lu,
  toCamelCase: su,
  noop: cu,
  toFiniteNumber: uu,
  findKey: id,
  global: sd,
  isContextDefined: dd,
  ALPHABET: ld,
  generateString: fu,
  isSpecCompliantForm: $u,
  toJSONObject: hu,
  isAsyncFn: pu,
  isThenable: gu
};
function D(e, t, r, n, o) {
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), o && (this.response = o);
}
p.inherits(D, Error, {
  toJSON: function() {
    return {
      // Standard
      message: this.message,
      name: this.name,
      // Microsoft
      description: this.description,
      number: this.number,
      // Mozilla
      fileName: this.fileName,
      lineNumber: this.lineNumber,
      columnNumber: this.columnNumber,
      stack: this.stack,
      // Axios
      config: p.toJSONObject(this.config),
      code: this.code,
      status: this.response && this.response.status ? this.response.status : null
    };
  }
});
const cd = D.prototype, ud = {};
[
  "ERR_BAD_OPTION_VALUE",
  "ERR_BAD_OPTION",
  "ECONNABORTED",
  "ETIMEDOUT",
  "ERR_NETWORK",
  "ERR_FR_TOO_MANY_REDIRECTS",
  "ERR_DEPRECATED",
  "ERR_BAD_RESPONSE",
  "ERR_BAD_REQUEST",
  "ERR_CANCELED",
  "ERR_NOT_SUPPORT",
  "ERR_INVALID_URL"
  // eslint-disable-next-line func-names
].forEach((e) => {
  ud[e] = { value: e };
});
Object.defineProperties(D, ud);
Object.defineProperty(cd, "isAxiosError", { value: !0 });
D.from = (e, t, r, n, o, i) => {
  const s = Object.create(cd);
  return p.toFlatObject(e, s, function(a) {
    return a !== Error.prototype;
  }, (d) => d !== "isAxiosError"), D.call(s, e.message, t, r, n, o), s.cause = e, s.name = e.name, i && Object.assign(s, i), s;
};
const mu = null;
function Dn(e) {
  return p.isPlainObject(e) || p.isArray(e);
}
function fd(e) {
  return p.endsWith(e, "[]") ? e.slice(0, -2) : e;
}
function Bi(e, t, r) {
  return e ? e.concat(t).map(function(o, i) {
    return o = fd(o), !r && i ? "[" + o + "]" : o;
  }).join(r ? "." : "") : t;
}
function bu(e) {
  return p.isArray(e) && !e.some(Dn);
}
const yu = p.toFlatObject(p, {}, null, function(t) {
  return /^is[A-Z]/.test(t);
});
function Kr(e, t, r) {
  if (!p.isObject(e))
    throw new TypeError("target must be an object");
  t = t || new FormData(), r = p.toFlatObject(r, {
    metaTokens: !0,
    dots: !1,
    indexes: !1
  }, !1, function(S, I) {
    return !p.isUndefined(I[S]);
  });
  const n = r.metaTokens, o = r.visitor || u, i = r.dots, s = r.indexes, a = (r.Blob || typeof Blob < "u" && Blob) && p.isSpecCompliantForm(t);
  if (!p.isFunction(o))
    throw new TypeError("visitor must be a function");
  function c(_) {
    if (_ === null)
      return "";
    if (p.isDate(_))
      return _.toISOString();
    if (!a && p.isBlob(_))
      throw new D("Blob is not supported. Use a Buffer instead.");
    return p.isArrayBuffer(_) || p.isTypedArray(_) ? a && typeof Blob == "function" ? new Blob([_]) : Buffer.from(_) : _;
  }
  function u(_, S, I) {
    let L = _;
    if (_ && !I && typeof _ == "object") {
      if (p.endsWith(S, "{}"))
        S = n ? S : S.slice(0, -2), _ = JSON.stringify(_);
      else if (p.isArray(_) && bu(_) || (p.isFileList(_) || p.endsWith(S, "[]")) && (L = p.toArray(_)))
        return S = fd(S), L.forEach(function(k, te) {
          !(p.isUndefined(k) || k === null) && t.append(
            // eslint-disable-next-line no-nested-ternary
            s === !0 ? Bi([S], te, i) : s === null ? S : S + "[]",
            c(k)
          );
        }), !1;
    }
    return Dn(_) ? !0 : (t.append(Bi(I, S, i), c(_)), !1);
  }
  const $ = [], C = Object.assign(yu, {
    defaultVisitor: u,
    convertValue: c,
    isVisitable: Dn
  });
  function O(_, S) {
    if (!p.isUndefined(_)) {
      if ($.indexOf(_) !== -1)
        throw Error("Circular reference detected in " + S.join("."));
      $.push(_), p.forEach(_, function(L, Y) {
        (!(p.isUndefined(L) || L === null) && o.call(
          t,
          L,
          p.isString(Y) ? Y.trim() : Y,
          S,
          C
        )) === !0 && O(L, S ? S.concat(Y) : [Y]);
      }), $.pop();
    }
  }
  if (!p.isObject(e))
    throw new TypeError("data must be an object");
  return O(e), t;
}
function ki(e) {
  const t = {
    "!": "%21",
    "'": "%27",
    "(": "%28",
    ")": "%29",
    "~": "%7E",
    "%20": "+",
    "%00": "\0"
  };
  return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(n) {
    return t[n];
  });
}
function po(e, t) {
  this._pairs = [], e && Kr(e, this, t);
}
const $d = po.prototype;
$d.append = function(t, r) {
  this._pairs.push([t, r]);
};
$d.toString = function(t) {
  const r = t ? function(n) {
    return t.call(this, n, ki);
  } : ki;
  return this._pairs.map(function(o) {
    return r(o[0]) + "=" + r(o[1]);
  }, "").join("&");
};
function Cu(e) {
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
}
function hd(e, t, r) {
  if (!t)
    return e;
  const n = r && r.encode || Cu, o = r && r.serialize;
  let i;
  if (o ? i = o(t, r) : i = p.isURLSearchParams(t) ? t.toString() : new po(t, r).toString(n), i) {
    const s = e.indexOf("#");
    s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
  }
  return e;
}
class Di {
  constructor() {
    this.handlers = [];
  }
  /**
   * Add a new interceptor to the stack
   *
   * @param {Function} fulfilled The function to handle `then` for a `Promise`
   * @param {Function} rejected The function to handle `reject` for a `Promise`
   *
   * @return {Number} An ID used to remove interceptor later
   */
  use(t, r, n) {
    return this.handlers.push({
      fulfilled: t,
      rejected: r,
      synchronous: n ? n.synchronous : !1,
      runWhen: n ? n.runWhen : null
    }), this.handlers.length - 1;
  }
  /**
   * Remove an interceptor from the stack
   *
   * @param {Number} id The ID that was returned by `use`
   *
   * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
   */
  eject(t) {
    this.handlers[t] && (this.handlers[t] = null);
  }
  /**
   * Clear all interceptors from the stack
   *
   * @returns {void}
   */
  clear() {
    this.handlers && (this.handlers = []);
  }
  /**
   * Iterate over all the registered interceptors
   *
   * This method is particularly useful for skipping over any
   * interceptors that may have become `null` calling `eject`.
   *
   * @param {Function} fn The function to call for each interceptor
   *
   * @returns {void}
   */
  forEach(t) {
    p.forEach(this.handlers, function(n) {
      n !== null && t(n);
    });
  }
}
const pd = {
  silentJSONParsing: !0,
  forcedJSONParsing: !0,
  clarifyTimeoutError: !1
}, wu = typeof URLSearchParams < "u" ? URLSearchParams : po, vu = typeof FormData < "u" ? FormData : null, Su = typeof Blob < "u" ? Blob : null, Eu = {
  isBrowser: !0,
  classes: {
    URLSearchParams: wu,
    FormData: vu,
    Blob: Su
  },
  protocols: ["http", "https", "file", "blob", "url", "data"]
}, gd = typeof window < "u" && typeof document < "u", _u = ((e) => gd && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Pu = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  hasBrowserEnv: gd,
  hasStandardBrowserEnv: _u,
  hasStandardBrowserWebWorkerEnv: Pu
}, Symbol.toStringTag, { value: "Module" })), Re = {
  ...Au,
  ...Eu
};
function Ou(e, t) {
  return Kr(e, new Re.classes.URLSearchParams(), Object.assign({
    visitor: function(r, n, o, i) {
      return Re.isNode && p.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
    }
  }, t));
}
function Nu(e) {
  return p.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
}
function xu(e) {
  const t = {}, r = Object.keys(e);
  let n;
  const o = r.length;
  let i;
  for (n = 0; n < o; n++)
    i = r[n], t[i] = e[i];
  return t;
}
function md(e) {
  function t(r, n, o, i) {
    let s = r[i++];
    if (s === "__proto__")
      return !0;
    const d = Number.isFinite(+s), a = i >= r.length;
    return s = !s && p.isArray(o) ? o.length : s, a ? (p.hasOwnProp(o, s) ? o[s] = [o[s], n] : o[s] = n, !d) : ((!o[s] || !p.isObject(o[s])) && (o[s] = []), t(r, n, o[s], i) && p.isArray(o[s]) && (o[s] = xu(o[s])), !d);
  }
  if (p.isFormData(e) && p.isFunction(e.entries)) {
    const r = {};
    return p.forEachEntry(e, (n, o) => {
      t(Nu(n), o, r, 0);
    }), r;
  }
  return null;
}
function Fu(e, t, r) {
  if (p.isString(e))
    try {
      return (t || JSON.parse)(e), p.trim(e);
    } catch (n) {
      if (n.name !== "SyntaxError")
        throw n;
    }
  return (r || JSON.stringify)(e);
}
const go = {
  transitional: pd,
  adapter: ["xhr", "http"],
  transformRequest: [function(t, r) {
    const n = r.getContentType() || "", o = n.indexOf("application/json") > -1, i = p.isObject(t);
    if (i && p.isHTMLForm(t) && (t = new FormData(t)), p.isFormData(t))
      return o ? JSON.stringify(md(t)) : t;
    if (p.isArrayBuffer(t) || p.isBuffer(t) || p.isStream(t) || p.isFile(t) || p.isBlob(t))
      return t;
    if (p.isArrayBufferView(t))
      return t.buffer;
    if (p.isURLSearchParams(t))
      return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
    let d;
    if (i) {
      if (n.indexOf("application/x-www-form-urlencoded") > -1)
        return Ou(t, this.formSerializer).toString();
      if ((d = p.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
        const a = this.env && this.env.FormData;
        return Kr(
          d ? { "files[]": t } : t,
          a && new a(),
          this.formSerializer
        );
      }
    }
    return i || o ? (r.setContentType("application/json", !1), Fu(t)) : t;
  }],
  transformResponse: [function(t) {
    const r = this.transitional || go.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
    if (t && p.isString(t) && (n && !this.responseType || o)) {
      const s = !(r && r.silentJSONParsing) && o;
      try {
        return JSON.parse(t);
      } catch (d) {
        if (s)
          throw d.name === "SyntaxError" ? D.from(d, D.ERR_BAD_RESPONSE, this, null, this.response) : d;
      }
    }
    return t;
  }],
  /**
   * A timeout in milliseconds to abort a request. If set to 0 (default) a
   * timeout is not created.
   */
  timeout: 0,
  xsrfCookieName: "XSRF-TOKEN",
  xsrfHeaderName: "X-XSRF-TOKEN",
  maxContentLength: -1,
  maxBodyLength: -1,
  env: {
    FormData: Re.classes.FormData,
    Blob: Re.classes.Blob
  },
  validateStatus: function(t) {
    return t >= 200 && t < 300;
  },
  headers: {
    common: {
      Accept: "application/json, text/plain, */*",
      "Content-Type": void 0
    }
  }
};
p.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
  go.headers[e] = {};
});
const mo = go, Tu = p.toObjectSet([
  "age",
  "authorization",
  "content-length",
  "content-type",
  "etag",
  "expires",
  "from",
  "host",
  "if-modified-since",
  "if-unmodified-since",
  "last-modified",
  "location",
  "max-forwards",
  "proxy-authorization",
  "referer",
  "retry-after",
  "user-agent"
]), Mu = (e) => {
  const t = {};
  let r, n, o;
  return e && e.split(`
`).forEach(function(s) {
    o = s.indexOf(":"), r = s.substring(0, o).trim().toLowerCase(), n = s.substring(o + 1).trim(), !(!r || t[r] && Tu[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
  }), t;
}, Ui = Symbol("internals");
function Tt(e) {
  return e && String(e).trim().toLowerCase();
}
function mr(e) {
  return e === !1 || e == null ? e : p.isArray(e) ? e.map(mr) : String(e);
}
function Ru(e) {
  const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
  let n;
  for (; n = r.exec(e); )
    t[n[1]] = n[2];
  return t;
}
const Iu = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
function fn(e, t, r, n, o) {
  if (p.isFunction(n))
    return n.call(this, t, r);
  if (o && (t = r), !!p.isString(t)) {
    if (p.isString(n))
      return t.indexOf(n) !== -1;
    if (p.isRegExp(n))
      return n.test(t);
  }
}
function Lu(e) {
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
}
function Bu(e, t) {
  const r = p.toCamelCase(" " + t);
  ["get", "set", "has"].forEach((n) => {
    Object.defineProperty(e, n + r, {
      value: function(o, i, s) {
        return this[n].call(this, t, o, i, s);
      },
      configurable: !0
    });
  });
}
class Wr {
  constructor(t) {
    t && this.set(t);
  }
  set(t, r, n) {
    const o = this;
    function i(d, a, c) {
      const u = Tt(a);
      if (!u)
        throw new Error("header name must be a non-empty string");
      const $ = p.findKey(o, u);
      (!$ || o[$] === void 0 || c === !0 || c === void 0 && o[$] !== !1) && (o[$ || a] = mr(d));
    }
    const s = (d, a) => p.forEach(d, (c, u) => i(c, u, a));
    return p.isPlainObject(t) || t instanceof this.constructor ? s(t, r) : p.isString(t) && (t = t.trim()) && !Iu(t) ? s(Mu(t), r) : t != null && i(r, t, n), this;
  }
  get(t, r) {
    if (t = Tt(t), t) {
      const n = p.findKey(this, t);
      if (n) {
        const o = this[n];
        if (!r)
          return o;
        if (r === !0)
          return Ru(o);
        if (p.isFunction(r))
          return r.call(this, o, n);
        if (p.isRegExp(r))
          return r.exec(o);
        throw new TypeError("parser must be boolean|regexp|function");
      }
    }
  }
  has(t, r) {
    if (t = Tt(t), t) {
      const n = p.findKey(this, t);
      return !!(n && this[n] !== void 0 && (!r || fn(this, this[n], n, r)));
    }
    return !1;
  }
  delete(t, r) {
    const n = this;
    let o = !1;
    function i(s) {
      if (s = Tt(s), s) {
        const d = p.findKey(n, s);
        d && (!r || fn(n, n[d], d, r)) && (delete n[d], o = !0);
      }
    }
    return p.isArray(t) ? t.forEach(i) : i(t), o;
  }
  clear(t) {
    const r = Object.keys(this);
    let n = r.length, o = !1;
    for (; n--; ) {
      const i = r[n];
      (!t || fn(this, this[i], i, t, !0)) && (delete this[i], o = !0);
    }
    return o;
  }
  normalize(t) {
    const r = this, n = {};
    return p.forEach(this, (o, i) => {
      const s = p.findKey(n, i);
      if (s) {
        r[s] = mr(o), delete r[i];
        return;
      }
      const d = t ? Lu(i) : String(i).trim();
      d !== i && delete r[i], r[d] = mr(o), n[d] = !0;
    }), this;
  }
  concat(...t) {
    return this.constructor.concat(this, ...t);
  }
  toJSON(t) {
    const r = /* @__PURE__ */ Object.create(null);
    return p.forEach(this, (n, o) => {
      n != null && n !== !1 && (r[o] = t && p.isArray(n) ? n.join(", ") : n);
    }), r;
  }
  [Symbol.iterator]() {
    return Object.entries(this.toJSON())[Symbol.iterator]();
  }
  toString() {
    return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(`
`);
  }
  get [Symbol.toStringTag]() {
    return "AxiosHeaders";
  }
  static from(t) {
    return t instanceof this ? t : new this(t);
  }
  static concat(t, ...r) {
    const n = new this(t);
    return r.forEach((o) => n.set(o)), n;
  }
  static accessor(t) {
    const n = (this[Ui] = this[Ui] = {
      accessors: {}
    }).accessors, o = this.prototype;
    function i(s) {
      const d = Tt(s);
      n[d] || (Bu(o, s), n[d] = !0);
    }
    return p.isArray(t) ? t.forEach(i) : i(t), this;
  }
}
Wr.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
p.reduceDescriptors(Wr.prototype, ({ value: e }, t) => {
  let r = t[0].toUpperCase() + t.slice(1);
  return {
    get: () => e,
    set(n) {
      this[r] = n;
    }
  };
});
p.freezeMethods(Wr);
const je = Wr;
function $n(e, t) {
  const r = this || mo, n = t || r, o = je.from(n.headers);
  let i = n.data;
  return p.forEach(e, function(d) {
    i = d.call(r, i, o.normalize(), t ? t.status : void 0);
  }), o.normalize(), i;
}
function bd(e) {
  return !!(e && e.__CANCEL__);
}
function Jt(e, t, r) {
  D.call(this, e ?? "canceled", D.ERR_CANCELED, t, r), this.name = "CanceledError";
}
p.inherits(Jt, D, {
  __CANCEL__: !0
});
function ku(e, t, r) {
  const n = r.config.validateStatus;
  !r.status || !n || n(r.status) ? e(r) : t(new D(
    "Request failed with status code " + r.status,
    [D.ERR_BAD_REQUEST, D.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
    r.config,
    r.request,
    r
  ));
}
const Du = Re.hasStandardBrowserEnv ? (
  // Standard browser envs support document.cookie
  {
    write(e, t, r, n, o, i) {
      const s = [e + "=" + encodeURIComponent(t)];
      p.isNumber(r) && s.push("expires=" + new Date(r).toGMTString()), p.isString(n) && s.push("path=" + n), p.isString(o) && s.push("domain=" + o), i === !0 && s.push("secure"), document.cookie = s.join("; ");
    },
    read(e) {
      const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
      return t ? decodeURIComponent(t[3]) : null;
    },
    remove(e) {
      this.write(e, "", Date.now() - 864e5);
    }
  }
) : (
  // Non-standard browser env (web workers, react-native) lack needed support.
  {
    write() {
    },
    read() {
      return null;
    },
    remove() {
    }
  }
);
function Uu(e) {
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
}
function Gu(e, t) {
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
}
function yd(e, t) {
  return e && !Uu(t) ? Gu(e, t) : t;
}
const ju = Re.hasStandardBrowserEnv ? (
  // Standard browser envs have full support of the APIs needed to test
  // whether the request URL is of the same origin as current location.
  function() {
    const t = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a");
    let n;
    function o(i) {
      let s = i;
      return t && (r.setAttribute("href", s), s = r.href), r.setAttribute("href", s), {
        href: r.href,
        protocol: r.protocol ? r.protocol.replace(/:$/, "") : "",
        host: r.host,
        search: r.search ? r.search.replace(/^\?/, "") : "",
        hash: r.hash ? r.hash.replace(/^#/, "") : "",
        hostname: r.hostname,
        port: r.port,
        pathname: r.pathname.charAt(0) === "/" ? r.pathname : "/" + r.pathname
      };
    }
    return n = o(window.location.href), function(s) {
      const d = p.isString(s) ? o(s) : s;
      return d.protocol === n.protocol && d.host === n.host;
    };
  }()
) : (
  // Non standard browser envs (web workers, react-native) lack needed support.
  /* @__PURE__ */ function() {
    return function() {
      return !0;
    };
  }()
);
function Vu(e) {
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
  return t && t[1] || "";
}
function Hu(e, t) {
  e = e || 10;
  const r = new Array(e), n = new Array(e);
  let o = 0, i = 0, s;
  return t = t !== void 0 ? t : 1e3, function(a) {
    const c = Date.now(), u = n[i];
    s || (s = c), r[o] = a, n[o] = c;
    let $ = i, C = 0;
    for (; $ !== o; )
      C += r[$++], $ = $ % e;
    if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - s < t)
      return;
    const O = u && c - u;
    return O ? Math.round(C * 1e3 / O) : void 0;
  };
}
function Gi(e, t) {
  let r = 0;
  const n = Hu(50, 250);
  return (o) => {
    const i = o.loaded, s = o.lengthComputable ? o.total : void 0, d = i - r, a = n(d), c = i <= s;
    r = i;
    const u = {
      loaded: i,
      total: s,
      progress: s ? i / s : void 0,
      bytes: d,
      rate: a || void 0,
      estimated: a && s && c ? (s - i) / a : void 0,
      event: o
    };
    u[t ? "download" : "upload"] = !0, e(u);
  };
}
const Ku = typeof XMLHttpRequest < "u", Wu = Ku && function(e) {
  return new Promise(function(r, n) {
    let o = e.data;
    const i = je.from(e.headers).normalize();
    let { responseType: s, withXSRFToken: d } = e, a;
    function c() {
      e.cancelToken && e.cancelToken.unsubscribe(a), e.signal && e.signal.removeEventListener("abort", a);
    }
    let u;
    if (p.isFormData(o)) {
      if (Re.hasStandardBrowserEnv || Re.hasStandardBrowserWebWorkerEnv)
        i.setContentType(!1);
      else if ((u = i.getContentType()) !== !1) {
        const [S, ...I] = u ? u.split(";").map((L) => L.trim()).filter(Boolean) : [];
        i.setContentType([S || "multipart/form-data", ...I].join("; "));
      }
    }
    let $ = new XMLHttpRequest();
    if (e.auth) {
      const S = e.auth.username || "", I = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
      i.set("Authorization", "Basic " + btoa(S + ":" + I));
    }
    const C = yd(e.baseURL, e.url);
    $.open(e.method.toUpperCase(), hd(C, e.params, e.paramsSerializer), !0), $.timeout = e.timeout;
    function O() {
      if (!$)
        return;
      const S = je.from(
        "getAllResponseHeaders" in $ && $.getAllResponseHeaders()
      ), L = {
        data: !s || s === "text" || s === "json" ? $.responseText : $.response,
        status: $.status,
        statusText: $.statusText,
        headers: S,
        config: e,
        request: $
      };
      ku(function(k) {
        r(k), c();
      }, function(k) {
        n(k), c();
      }, L), $ = null;
    }
    if ("onloadend" in $ ? $.onloadend = O : $.onreadystatechange = function() {
      !$ || $.readyState !== 4 || $.status === 0 && !($.responseURL && $.responseURL.indexOf("file:") === 0) || setTimeout(O);
    }, $.onabort = function() {
      $ && (n(new D("Request aborted", D.ECONNABORTED, e, $)), $ = null);
    }, $.onerror = function() {
      n(new D("Network Error", D.ERR_NETWORK, e, $)), $ = null;
    }, $.ontimeout = function() {
      let I = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
      const L = e.transitional || pd;
      e.timeoutErrorMessage && (I = e.timeoutErrorMessage), n(new D(
        I,
        L.clarifyTimeoutError ? D.ETIMEDOUT : D.ECONNABORTED,
        e,
        $
      )), $ = null;
    }, Re.hasStandardBrowserEnv && (d && p.isFunction(d) && (d = d(e)), d || d !== !1 && ju(C))) {
      const S = e.xsrfHeaderName && e.xsrfCookieName && Du.read(e.xsrfCookieName);
      S && i.set(e.xsrfHeaderName, S);
    }
    o === void 0 && i.setContentType(null), "setRequestHeader" in $ && p.forEach(i.toJSON(), function(I, L) {
      $.setRequestHeader(L, I);
    }), p.isUndefined(e.withCredentials) || ($.withCredentials = !!e.withCredentials), s && s !== "json" && ($.responseType = e.responseType), typeof e.onDownloadProgress == "function" && $.addEventListener("progress", Gi(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && $.upload && $.upload.addEventListener("progress", Gi(e.onUploadProgress)), (e.cancelToken || e.signal) && (a = (S) => {
      $ && (n(!S || S.type ? new Jt(null, e, $) : S), $.abort(), $ = null);
    }, e.cancelToken && e.cancelToken.subscribe(a), e.signal && (e.signal.aborted ? a() : e.signal.addEventListener("abort", a)));
    const _ = Vu(C);
    if (_ && Re.protocols.indexOf(_) === -1) {
      n(new D("Unsupported protocol " + _ + ":", D.ERR_BAD_REQUEST, e));
      return;
    }
    $.send(o || null);
  });
}, Un = {
  http: mu,
  xhr: Wu
};
p.forEach(Un, (e, t) => {
  if (e) {
    try {
      Object.defineProperty(e, "name", { value: t });
    } catch {
    }
    Object.defineProperty(e, "adapterName", { value: t });
  }
});
const ji = (e) => `- ${e}`, qu = (e) => p.isFunction(e) || e === null || e === !1, Cd = {
  getAdapter: (e) => {
    e = p.isArray(e) ? e : [e];
    const { length: t } = e;
    let r, n;
    const o = {};
    for (let i = 0; i < t; i++) {
      r = e[i];
      let s;
      if (n = r, !qu(r) && (n = Un[(s = String(r)).toLowerCase()], n === void 0))
        throw new D(`Unknown adapter '${s}'`);
      if (n)
        break;
      o[s || "#" + i] = n;
    }
    if (!n) {
      const i = Object.entries(o).map(
        ([d, a]) => `adapter ${d} ` + (a === !1 ? "is not supported by the environment" : "is not available in the build")
      );
      let s = t ? i.length > 1 ? `since :
` + i.map(ji).join(`
`) : " " + ji(i[0]) : "as no adapter specified";
      throw new D(
        "There is no suitable adapter to dispatch the request " + s,
        "ERR_NOT_SUPPORT"
      );
    }
    return n;
  },
  adapters: Un
};
function hn(e) {
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
    throw new Jt(null, e);
}
function Vi(e) {
  return hn(e), e.headers = je.from(e.headers), e.data = $n.call(
    e,
    e.transformRequest
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Cd.getAdapter(e.adapter || mo.adapter)(e).then(function(n) {
    return hn(e), n.data = $n.call(
      e,
      e.transformResponse,
      n
    ), n.headers = je.from(n.headers), n;
  }, function(n) {
    return bd(n) || (hn(e), n && n.response && (n.response.data = $n.call(
      e,
      e.transformResponse,
      n.response
    ), n.response.headers = je.from(n.response.headers))), Promise.reject(n);
  });
}
const Hi = (e) => e instanceof je ? { ...e } : e;
function Et(e, t) {
  t = t || {};
  const r = {};
  function n(c, u, $) {
    return p.isPlainObject(c) && p.isPlainObject(u) ? p.merge.call({ caseless: $ }, c, u) : p.isPlainObject(u) ? p.merge({}, u) : p.isArray(u) ? u.slice() : u;
  }
  function o(c, u, $) {
    if (p.isUndefined(u)) {
      if (!p.isUndefined(c))
        return n(void 0, c, $);
    } else
      return n(c, u, $);
  }
  function i(c, u) {
    if (!p.isUndefined(u))
      return n(void 0, u);
  }
  function s(c, u) {
    if (p.isUndefined(u)) {
      if (!p.isUndefined(c))
        return n(void 0, c);
    } else
      return n(void 0, u);
  }
  function d(c, u, $) {
    if ($ in t)
      return n(c, u);
    if ($ in e)
      return n(void 0, c);
  }
  const a = {
    url: i,
    method: i,
    data: i,
    baseURL: s,
    transformRequest: s,
    transformResponse: s,
    paramsSerializer: s,
    timeout: s,
    timeoutMessage: s,
    withCredentials: s,
    withXSRFToken: s,
    adapter: s,
    responseType: s,
    xsrfCookieName: s,
    xsrfHeaderName: s,
    onUploadProgress: s,
    onDownloadProgress: s,
    decompress: s,
    maxContentLength: s,
    maxBodyLength: s,
    beforeRedirect: s,
    transport: s,
    httpAgent: s,
    httpsAgent: s,
    cancelToken: s,
    socketPath: s,
    responseEncoding: s,
    validateStatus: d,
    headers: (c, u) => o(Hi(c), Hi(u), !0)
  };
  return p.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
    const $ = a[u] || o, C = $(e[u], t[u], u);
    p.isUndefined(C) && $ !== d || (r[u] = C);
  }), r;
}
const wd = "1.6.8", bo = {};
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
  bo[e] = function(n) {
    return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
  };
});
const Ki = {};
bo.transitional = function(t, r, n) {
  function o(i, s) {
    return "[Axios v" + wd + "] Transitional option '" + i + "'" + s + (n ? ". " + n : "");
  }
  return (i, s, d) => {
    if (t === !1)
      throw new D(
        o(s, " has been removed" + (r ? " in " + r : "")),
        D.ERR_DEPRECATED
      );
    return r && !Ki[s] && (Ki[s] = !0, console.warn(
      o(
        s,
        " has been deprecated since v" + r + " and will be removed in the near future"
      )
    )), t ? t(i, s, d) : !0;
  };
};
function zu(e, t, r) {
  if (typeof e != "object")
    throw new D("options must be an object", D.ERR_BAD_OPTION_VALUE);
  const n = Object.keys(e);
  let o = n.length;
  for (; o-- > 0; ) {
    const i = n[o], s = t[i];
    if (s) {
      const d = e[i], a = d === void 0 || s(d, i, e);
      if (a !== !0)
        throw new D("option " + i + " must be " + a, D.ERR_BAD_OPTION_VALUE);
      continue;
    }
    if (r !== !0)
      throw new D("Unknown option " + i, D.ERR_BAD_OPTION);
  }
}
const Gn = {
  assertOptions: zu,
  validators: bo
}, We = Gn.validators;
class Pr {
  constructor(t) {
    this.defaults = t, this.interceptors = {
      request: new Di(),
      response: new Di()
    };
  }
  /**
   * Dispatch a request
   *
   * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
   * @param {?Object} config
   *
   * @returns {Promise} The Promise to be fulfilled
   */
  async request(t, r) {
    try {
      return await this._request(t, r);
    } catch (n) {
      if (n instanceof Error) {
        let o;
        Error.captureStackTrace ? Error.captureStackTrace(o = {}) : o = new Error();
        const i = o.stack ? o.stack.replace(/^.+\n/, "") : "";
        n.stack ? i && !String(n.stack).endsWith(i.replace(/^.+\n.+\n/, "")) && (n.stack += `
` + i) : n.stack = i;
      }
      throw n;
    }
  }
  _request(t, r) {
    typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = Et(this.defaults, r);
    const { transitional: n, paramsSerializer: o, headers: i } = r;
    n !== void 0 && Gn.assertOptions(n, {
      silentJSONParsing: We.transitional(We.boolean),
      forcedJSONParsing: We.transitional(We.boolean),
      clarifyTimeoutError: We.transitional(We.boolean)
    }, !1), o != null && (p.isFunction(o) ? r.paramsSerializer = {
      serialize: o
    } : Gn.assertOptions(o, {
      encode: We.function,
      serialize: We.function
    }, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
    let s = i && p.merge(
      i.common,
      i[r.method]
    );
    i && p.forEach(
      ["delete", "get", "head", "post", "put", "patch", "common"],
      (_) => {
        delete i[_];
      }
    ), r.headers = je.concat(s, i);
    const d = [];
    let a = !0;
    this.interceptors.request.forEach(function(S) {
      typeof S.runWhen == "function" && S.runWhen(r) === !1 || (a = a && S.synchronous, d.unshift(S.fulfilled, S.rejected));
    });
    const c = [];
    this.interceptors.response.forEach(function(S) {
      c.push(S.fulfilled, S.rejected);
    });
    let u, $ = 0, C;
    if (!a) {
      const _ = [Vi.bind(this), void 0];
      for (_.unshift.apply(_, d), _.push.apply(_, c), C = _.length, u = Promise.resolve(r); $ < C; )
        u = u.then(_[$++], _[$++]);
      return u;
    }
    C = d.length;
    let O = r;
    for ($ = 0; $ < C; ) {
      const _ = d[$++], S = d[$++];
      try {
        O = _(O);
      } catch (I) {
        S.call(this, I);
        break;
      }
    }
    try {
      u = Vi.call(this, O);
    } catch (_) {
      return Promise.reject(_);
    }
    for ($ = 0, C = c.length; $ < C; )
      u = u.then(c[$++], c[$++]);
    return u;
  }
  getUri(t) {
    t = Et(this.defaults, t);
    const r = yd(t.baseURL, t.url);
    return hd(r, t.params, t.paramsSerializer);
  }
}
p.forEach(["delete", "get", "head", "options"], function(t) {
  Pr.prototype[t] = function(r, n) {
    return this.request(Et(n || {}, {
      method: t,
      url: r,
      data: (n || {}).data
    }));
  };
});
p.forEach(["post", "put", "patch"], function(t) {
  function r(n) {
    return function(i, s, d) {
      return this.request(Et(d || {}, {
        method: t,
        headers: n ? {
          "Content-Type": "multipart/form-data"
        } : {},
        url: i,
        data: s
      }));
    };
  }
  Pr.prototype[t] = r(), Pr.prototype[t + "Form"] = r(!0);
});
const br = Pr;
class yo {
  constructor(t) {
    if (typeof t != "function")
      throw new TypeError("executor must be a function.");
    let r;
    this.promise = new Promise(function(i) {
      r = i;
    });
    const n = this;
    this.promise.then((o) => {
      if (!n._listeners)
        return;
      let i = n._listeners.length;
      for (; i-- > 0; )
        n._listeners[i](o);
      n._listeners = null;
    }), this.promise.then = (o) => {
      let i;
      const s = new Promise((d) => {
        n.subscribe(d), i = d;
      }).then(o);
      return s.cancel = function() {
        n.unsubscribe(i);
      }, s;
    }, t(function(i, s, d) {
      n.reason || (n.reason = new Jt(i, s, d), r(n.reason));
    });
  }
  /**
   * Throws a `CanceledError` if cancellation has been requested.
   */
  throwIfRequested() {
    if (this.reason)
      throw this.reason;
  }
  /**
   * Subscribe to the cancel signal
   */
  subscribe(t) {
    if (this.reason) {
      t(this.reason);
      return;
    }
    this._listeners ? this._listeners.push(t) : this._listeners = [t];
  }
  /**
   * Unsubscribe from the cancel signal
   */
  unsubscribe(t) {
    if (!this._listeners)
      return;
    const r = this._listeners.indexOf(t);
    r !== -1 && this._listeners.splice(r, 1);
  }
  /**
   * Returns an object that contains a new `CancelToken` and a function that, when called,
   * cancels the `CancelToken`.
   */
  static source() {
    let t;
    return {
      token: new yo(function(o) {
        t = o;
      }),
      cancel: t
    };
  }
}
const Qu = yo;
function Zu(e) {
  return function(r) {
    return e.apply(null, r);
  };
}
function Ju(e) {
  return p.isObject(e) && e.isAxiosError === !0;
}
const jn = {
  Continue: 100,
  SwitchingProtocols: 101,
  Processing: 102,
  EarlyHints: 103,
  Ok: 200,
  Created: 201,
  Accepted: 202,
  NonAuthoritativeInformation: 203,
  NoContent: 204,
  ResetContent: 205,
  PartialContent: 206,
  MultiStatus: 207,
  AlreadyReported: 208,
  ImUsed: 226,
  MultipleChoices: 300,
  MovedPermanently: 301,
  Found: 302,
  SeeOther: 303,
  NotModified: 304,
  UseProxy: 305,
  Unused: 306,
  TemporaryRedirect: 307,
  PermanentRedirect: 308,
  BadRequest: 400,
  Unauthorized: 401,
  PaymentRequired: 402,
  Forbidden: 403,
  NotFound: 404,
  MethodNotAllowed: 405,
  NotAcceptable: 406,
  ProxyAuthenticationRequired: 407,
  RequestTimeout: 408,
  Conflict: 409,
  Gone: 410,
  LengthRequired: 411,
  PreconditionFailed: 412,
  PayloadTooLarge: 413,
  UriTooLong: 414,
  UnsupportedMediaType: 415,
  RangeNotSatisfiable: 416,
  ExpectationFailed: 417,
  ImATeapot: 418,
  MisdirectedRequest: 421,
  UnprocessableEntity: 422,
  Locked: 423,
  FailedDependency: 424,
  TooEarly: 425,
  UpgradeRequired: 426,
  PreconditionRequired: 428,
  TooManyRequests: 429,
  RequestHeaderFieldsTooLarge: 431,
  UnavailableForLegalReasons: 451,
  InternalServerError: 500,
  NotImplemented: 501,
  BadGateway: 502,
  ServiceUnavailable: 503,
  GatewayTimeout: 504,
  HttpVersionNotSupported: 505,
  VariantAlsoNegotiates: 506,
  InsufficientStorage: 507,
  LoopDetected: 508,
  NotExtended: 510,
  NetworkAuthenticationRequired: 511
};
Object.entries(jn).forEach(([e, t]) => {
  jn[t] = e;
});
const Yu = jn;
function vd(e) {
  const t = new br(e), r = rd(br.prototype.request, t);
  return p.extend(r, br.prototype, t, { allOwnKeys: !0 }), p.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
    return vd(Et(e, o));
  }, r;
}
const ee = vd(mo);
ee.Axios = br;
ee.CanceledError = Jt;
ee.CancelToken = Qu;
ee.isCancel = bd;
ee.VERSION = wd;
ee.toFormData = Kr;
ee.AxiosError = D;
ee.Cancel = ee.CanceledError;
ee.all = function(t) {
  return Promise.all(t);
};
ee.spread = Zu;
ee.isAxiosError = Ju;
ee.mergeConfig = Et;
ee.AxiosHeaders = je;
ee.formToJSON = (e) => md(p.isHTMLForm(e) ? new FormData(e) : e);
ee.getAdapter = Cd.getAdapter;
ee.HttpStatusCode = Yu;
ee.default = ee;
const Xu = {
  "Amazon Silk": "amazon_silk",
  "Android Browser": "android",
  Bada: "bada",
  BlackBerry: "blackberry",
  Chrome: "chrome",
  Chromium: "chromium",
  Electron: "electron",
  Epiphany: "epiphany",
  Firefox: "firefox",
  Focus: "focus",
  Generic: "generic",
  "Google Search": "google_search",
  Googlebot: "googlebot",
  "Internet Explorer": "ie",
  "K-Meleon": "k_meleon",
  Maxthon: "maxthon",
  "Microsoft Edge": "edge",
  "MZ Browser": "mz",
  "NAVER Whale Browser": "naver",
  Opera: "opera",
  "Opera Coast": "opera_coast",
  PhantomJS: "phantomjs",
  Puffin: "puffin",
  QupZilla: "qupzilla",
  QQ: "qq",
  QQLite: "qqlite",
  Safari: "safari",
  Sailfish: "sailfish",
  "Samsung Internet for Android": "samsung_internet",
  SeaMonkey: "seamonkey",
  Sleipnir: "sleipnir",
  Swing: "swing",
  Tizen: "tizen",
  "UC Browser": "uc",
  Vivaldi: "vivaldi",
  "WebOS Browser": "webos",
  WeChat: "wechat",
  "Yandex Browser": "yandex",
  Roku: "roku"
}, Sd = {
  amazon_silk: "Amazon Silk",
  android: "Android Browser",
  bada: "Bada",
  blackberry: "BlackBerry",
  chrome: "Chrome",
  chromium: "Chromium",
  electron: "Electron",
  epiphany: "Epiphany",
  firefox: "Firefox",
  focus: "Focus",
  generic: "Generic",
  googlebot: "Googlebot",
  google_search: "Google Search",
  ie: "Internet Explorer",
  k_meleon: "K-Meleon",
  maxthon: "Maxthon",
  edge: "Microsoft Edge",
  mz: "MZ Browser",
  naver: "NAVER Whale Browser",
  opera: "Opera",
  opera_coast: "Opera Coast",
  phantomjs: "PhantomJS",
  puffin: "Puffin",
  qupzilla: "QupZilla",
  qq: "QQ Browser",
  qqlite: "QQ Browser Lite",
  safari: "Safari",
  sailfish: "Sailfish",
  samsung_internet: "Samsung Internet for Android",
  seamonkey: "SeaMonkey",
  sleipnir: "Sleipnir",
  swing: "Swing",
  tizen: "Tizen",
  uc: "UC Browser",
  vivaldi: "Vivaldi",
  webos: "WebOS Browser",
  wechat: "WeChat",
  yandex: "Yandex Browser"
}, X = {
  tablet: "tablet",
  mobile: "mobile",
  desktop: "desktop",
  tv: "tv"
}, ue = {
  WindowsPhone: "Windows Phone",
  Windows: "Windows",
  MacOS: "macOS",
  iOS: "iOS",
  Android: "Android",
  WebOS: "WebOS",
  BlackBerry: "BlackBerry",
  Bada: "Bada",
  Tizen: "Tizen",
  Linux: "Linux",
  ChromeOS: "Chrome OS",
  PlayStation4: "PlayStation 4",
  Roku: "Roku"
}, qe = {
  EdgeHTML: "EdgeHTML",
  Blink: "Blink",
  Trident: "Trident",
  Presto: "Presto",
  Gecko: "Gecko",
  WebKit: "WebKit"
};
class g {
  /**
   * Get first matched item for a string
   * @param {RegExp} regexp
   * @param {String} ua
   * @return {Array|{index: number, input: string}|*|boolean|string}
   */
  static getFirstMatch(t, r) {
    const n = r.match(t);
    return n && n.length > 0 && n[1] || "";
  }
  /**
   * Get second matched item for a string
   * @param regexp
   * @param {String} ua
   * @return {Array|{index: number, input: string}|*|boolean|string}
   */
  static getSecondMatch(t, r) {
    const n = r.match(t);
    return n && n.length > 1 && n[2] || "";
  }
  /**
   * Match a regexp and return a constant or undefined
   * @param {RegExp} regexp
   * @param {String} ua
   * @param {*} _const Any const that will be returned if regexp matches the string
   * @return {*}
   */
  static matchAndReturnConst(t, r, n) {
    if (t.test(r))
      return n;
  }
  static getWindowsVersionName(t) {
    switch (t) {
      case "NT":
        return "NT";
      case "XP":
        return "XP";
      case "NT 5.0":
        return "2000";
      case "NT 5.1":
        return "XP";
      case "NT 5.2":
        return "2003";
      case "NT 6.0":
        return "Vista";
      case "NT 6.1":
        return "7";
      case "NT 6.2":
        return "8";
      case "NT 6.3":
        return "8.1";
      case "NT 10.0":
        return "10";
      default:
        return;
    }
  }
  /**
   * Get macOS version name
   *    10.5 - Leopard
   *    10.6 - Snow Leopard
   *    10.7 - Lion
   *    10.8 - Mountain Lion
   *    10.9 - Mavericks
   *    10.10 - Yosemite
   *    10.11 - El Capitan
   *    10.12 - Sierra
   *    10.13 - High Sierra
   *    10.14 - Mojave
   *    10.15 - Catalina
   *
   * @example
   *   getMacOSVersionName("10.14") // 'Mojave'
   *
   * @param  {string} version
   * @return {string} versionName
   */
  static getMacOSVersionName(t) {
    const r = t.split(".").splice(0, 2).map((n) => parseInt(n, 10) || 0);
    if (r.push(0), r[0] === 10)
      switch (r[1]) {
        case 5:
          return "Leopard";
        case 6:
          return "Snow Leopard";
        case 7:
          return "Lion";
        case 8:
          return "Mountain Lion";
        case 9:
          return "Mavericks";
        case 10:
          return "Yosemite";
        case 11:
          return "El Capitan";
        case 12:
          return "Sierra";
        case 13:
          return "High Sierra";
        case 14:
          return "Mojave";
        case 15:
          return "Catalina";
        default:
          return;
      }
  }
  /**
   * Get Android version name
   *    1.5 - Cupcake
   *    1.6 - Donut
   *    2.0 - Eclair
   *    2.1 - Eclair
   *    2.2 - Froyo
   *    2.x - Gingerbread
   *    3.x - Honeycomb
   *    4.0 - Ice Cream Sandwich
   *    4.1 - Jelly Bean
   *    4.4 - KitKat
   *    5.x - Lollipop
   *    6.x - Marshmallow
   *    7.x - Nougat
   *    8.x - Oreo
   *    9.x - Pie
   *
   * @example
   *   getAndroidVersionName("7.0") // 'Nougat'
   *
   * @param  {string} version
   * @return {string} versionName
   */
  static getAndroidVersionName(t) {
    const r = t.split(".").splice(0, 2).map((n) => parseInt(n, 10) || 0);
    if (r.push(0), !(r[0] === 1 && r[1] < 5)) {
      if (r[0] === 1 && r[1] < 6)
        return "Cupcake";
      if (r[0] === 1 && r[1] >= 6)
        return "Donut";
      if (r[0] === 2 && r[1] < 2)
        return "Eclair";
      if (r[0] === 2 && r[1] === 2)
        return "Froyo";
      if (r[0] === 2 && r[1] > 2)
        return "Gingerbread";
      if (r[0] === 3)
        return "Honeycomb";
      if (r[0] === 4 && r[1] < 1)
        return "Ice Cream Sandwich";
      if (r[0] === 4 && r[1] < 4)
        return "Jelly Bean";
      if (r[0] === 4 && r[1] >= 4)
        return "KitKat";
      if (r[0] === 5)
        return "Lollipop";
      if (r[0] === 6)
        return "Marshmallow";
      if (r[0] === 7)
        return "Nougat";
      if (r[0] === 8)
        return "Oreo";
      if (r[0] === 9)
        return "Pie";
    }
  }
  /**
   * Get version precisions count
   *
   * @example
   *   getVersionPrecision("1.10.3") // 3
   *
   * @param  {string} version
   * @return {number}
   */
  static getVersionPrecision(t) {
    return t.split(".").length;
  }
  /**
   * Calculate browser version weight
   *
   * @example
   *   compareVersions('1.10.2.1',  '1.8.2.1.90')    // 1
   *   compareVersions('1.010.2.1', '1.09.2.1.90');  // 1
   *   compareVersions('1.10.2.1',  '1.10.2.1');     // 0
   *   compareVersions('1.10.2.1',  '1.0800.2');     // -1
   *   compareVersions('1.10.2.1',  '1.10',  true);  // 0
   *
   * @param {String} versionA versions versions to compare
   * @param {String} versionB versions versions to compare
   * @param {boolean} [isLoose] enable loose comparison
   * @return {Number} comparison result: -1 when versionA is lower,
   * 1 when versionA is bigger, 0 when both equal
   */
  /* eslint consistent-return: 1 */
  static compareVersions(t, r, n = !1) {
    const o = g.getVersionPrecision(t), i = g.getVersionPrecision(r);
    let s = Math.max(o, i), d = 0;
    const a = g.map([t, r], (c) => {
      const u = s - g.getVersionPrecision(c), $ = c + new Array(u + 1).join(".0");
      return g.map($.split("."), (C) => new Array(20 - C.length).join("0") + C).reverse();
    });
    for (n && (d = s - Math.min(o, i)), s -= 1; s >= d; ) {
      if (a[0][s] > a[1][s])
        return 1;
      if (a[0][s] === a[1][s]) {
        if (s === d)
          return 0;
        s -= 1;
      } else if (a[0][s] < a[1][s])
        return -1;
    }
  }
  /**
   * Array::map polyfill
   *
   * @param  {Array} arr
   * @param  {Function} iterator
   * @return {Array}
   */
  static map(t, r) {
    const n = [];
    let o;
    if (Array.prototype.map)
      return Array.prototype.map.call(t, r);
    for (o = 0; o < t.length; o += 1)
      n.push(r(t[o]));
    return n;
  }
  /**
   * Array::find polyfill
   *
   * @param  {Array} arr
   * @param  {Function} predicate
   * @return {Array}
   */
  static find(t, r) {
    let n, o;
    if (Array.prototype.find)
      return Array.prototype.find.call(t, r);
    for (n = 0, o = t.length; n < o; n += 1) {
      const i = t[n];
      if (r(i, n))
        return i;
    }
  }
  /**
   * Object::assign polyfill
   *
   * @param  {Object} obj
   * @param  {Object} ...objs
   * @return {Object}
   */
  static assign(t, ...r) {
    const n = t;
    let o, i;
    if (Object.assign)
      return Object.assign(t, ...r);
    for (o = 0, i = r.length; o < i; o += 1) {
      const s = r[o];
      typeof s == "object" && s !== null && Object.keys(s).forEach((a) => {
        n[a] = s[a];
      });
    }
    return t;
  }
  /**
   * Get short version/alias for a browser name
   *
   * @example
   *   getBrowserAlias('Microsoft Edge') // edge
   *
   * @param  {string} browserName
   * @return {string}
   */
  static getBrowserAlias(t) {
    return Xu[t];
  }
  /**
   * Get short version/alias for a browser name
   *
   * @example
   *   getBrowserAlias('edge') // Microsoft Edge
   *
   * @param  {string} browserAlias
   * @return {string}
   */
  static getBrowserTypeByAlias(t) {
    return Sd[t] || "";
  }
}
const H = /version\/(\d+(\.?_?\d+)+)/i, e2 = [
  /* Googlebot */
  {
    test: [/googlebot/i],
    describe(e) {
      const t = {
        name: "Googlebot"
      }, r = g.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  /* Opera < 13.0 */
  {
    test: [/opera/i],
    describe(e) {
      const t = {
        name: "Opera"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  /* Opera > 13.0 */
  {
    test: [/opr\/|opios/i],
    describe(e) {
      const t = {
        name: "Opera"
      }, r = g.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/SamsungBrowser/i],
    describe(e) {
      const t = {
        name: "Samsung Internet for Android"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/Whale/i],
    describe(e) {
      const t = {
        name: "NAVER Whale Browser"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/MZBrowser/i],
    describe(e) {
      const t = {
        name: "MZ Browser"
      }, r = g.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/focus/i],
    describe(e) {
      const t = {
        name: "Focus"
      }, r = g.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/swing/i],
    describe(e) {
      const t = {
        name: "Swing"
      }, r = g.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/coast/i],
    describe(e) {
      const t = {
        name: "Opera Coast"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/opt\/\d+(?:.?_?\d+)+/i],
    describe(e) {
      const t = {
        name: "Opera Touch"
      }, r = g.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/yabrowser/i],
    describe(e) {
      const t = {
        name: "Yandex Browser"
      }, r = g.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/ucbrowser/i],
    describe(e) {
      const t = {
        name: "UC Browser"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/Maxthon|mxios/i],
    describe(e) {
      const t = {
        name: "Maxthon"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/epiphany/i],
    describe(e) {
      const t = {
        name: "Epiphany"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/puffin/i],
    describe(e) {
      const t = {
        name: "Puffin"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/sleipnir/i],
    describe(e) {
      const t = {
        name: "Sleipnir"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/k-meleon/i],
    describe(e) {
      const t = {
        name: "K-Meleon"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/micromessenger/i],
    describe(e) {
      const t = {
        name: "WeChat"
      }, r = g.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/qqbrowser/i],
    describe(e) {
      const t = {
        name: /qqbrowserlite/i.test(e) ? "QQ Browser Lite" : "QQ Browser"
      }, r = g.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/msie|trident/i],
    describe(e) {
      const t = {
        name: "Internet Explorer"
      }, r = g.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/\sedg\//i],
    describe(e) {
      const t = {
        name: "Microsoft Edge"
      }, r = g.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/edg([ea]|ios)/i],
    describe(e) {
      const t = {
        name: "Microsoft Edge"
      }, r = g.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/vivaldi/i],
    describe(e) {
      const t = {
        name: "Vivaldi"
      }, r = g.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/seamonkey/i],
    describe(e) {
      const t = {
        name: "SeaMonkey"
      }, r = g.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/sailfish/i],
    describe(e) {
      const t = {
        name: "Sailfish"
      }, r = g.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/silk/i],
    describe(e) {
      const t = {
        name: "Amazon Silk"
      }, r = g.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/phantom/i],
    describe(e) {
      const t = {
        name: "PhantomJS"
      }, r = g.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/slimerjs/i],
    describe(e) {
      const t = {
        name: "SlimerJS"
      }, r = g.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/blackberry|\bbb\d+/i, /rim\stablet/i],
    describe(e) {
      const t = {
        name: "BlackBerry"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/(web|hpw)[o0]s/i],
    describe(e) {
      const t = {
        name: "WebOS Browser"
      }, r = g.getFirstMatch(H, e) || g.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/bada/i],
    describe(e) {
      const t = {
        name: "Bada"
      }, r = g.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/tizen/i],
    describe(e) {
      const t = {
        name: "Tizen"
      }, r = g.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/qupzilla/i],
    describe(e) {
      const t = {
        name: "QupZilla"
      }, r = g.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/firefox|iceweasel|fxios/i],
    describe(e) {
      const t = {
        name: "Firefox"
      }, r = g.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/electron/i],
    describe(e) {
      const t = {
        name: "Electron"
      }, r = g.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/MiuiBrowser/i],
    describe(e) {
      const t = {
        name: "Miui"
      }, r = g.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/chromium/i],
    describe(e) {
      const t = {
        name: "Chromium"
      }, r = g.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, e) || g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/chrome|crios|crmo/i],
    describe(e) {
      const t = {
        name: "Chrome"
      }, r = g.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  {
    test: [/GSA/i],
    describe(e) {
      const t = {
        name: "Google Search"
      }, r = g.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  /* Android Browser */
  {
    test(e) {
      const t = !e.test(/like android/i), r = e.test(/android/i);
      return t && r;
    },
    describe(e) {
      const t = {
        name: "Android Browser"
      }, r = g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  /* PlayStation 4 */
  {
    test: [/playstation 4/i],
    describe(e) {
      const t = {
        name: "PlayStation 4"
      }, r = g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  /* Safari */
  {
    test: [/safari|applewebkit/i],
    describe(e) {
      const t = {
        name: "Safari"
      }, r = g.getFirstMatch(H, e);
      return r && (t.version = r), t;
    }
  },
  /* Something else */
  {
    test: [/.*/i],
    describe(e) {
      const t = /^(.*)\/(.*) /, r = /^(.*)\/(.*)[ \t]\((.*)/, o = e.search("\\(") !== -1 ? r : t;
      return {
        name: g.getFirstMatch(o, e),
        version: g.getSecondMatch(o, e)
      };
    }
  }
], t2 = [
  /* Roku */
  {
    test: [/Roku\/DVP/],
    describe(e) {
      const t = g.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i, e);
      return {
        name: ue.Roku,
        version: t
      };
    }
  },
  /* Windows Phone */
  {
    test: [/windows phone/i],
    describe(e) {
      const t = g.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i, e);
      return {
        name: ue.WindowsPhone,
        version: t
      };
    }
  },
  /* Windows */
  {
    test: [/windows /i],
    describe(e) {
      const t = g.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i, e), r = g.getWindowsVersionName(t);
      return {
        name: ue.Windows,
        version: t,
        versionName: r
      };
    }
  },
  /* Firefox on iPad */
  {
    test: [/Macintosh(.*?) FxiOS(.*?)\//],
    describe(e) {
      const t = {
        name: ue.iOS
      }, r = g.getSecondMatch(/(Version\/)(\d[\d.]+)/, e);
      return r && (t.version = r), t;
    }
  },
  /* macOS */
  {
    test: [/macintosh/i],
    describe(e) {
      const t = g.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i, e).replace(/[_\s]/g, "."), r = g.getMacOSVersionName(t), n = {
        name: ue.MacOS,
        version: t
      };
      return r && (n.versionName = r), n;
    }
  },
  /* iOS */
  {
    test: [/(ipod|iphone|ipad)/i],
    describe(e) {
      const t = g.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i, e).replace(/[_\s]/g, ".");
      return {
        name: ue.iOS,
        version: t
      };
    }
  },
  /* Android */
  {
    test(e) {
      const t = !e.test(/like android/i), r = e.test(/android/i);
      return t && r;
    },
    describe(e) {
      const t = g.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i, e), r = g.getAndroidVersionName(t), n = {
        name: ue.Android,
        version: t
      };
      return r && (n.versionName = r), n;
    }
  },
  /* WebOS */
  {
    test: [/(web|hpw)[o0]s/i],
    describe(e) {
      const t = g.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i, e), r = {
        name: ue.WebOS
      };
      return t && t.length && (r.version = t), r;
    }
  },
  /* BlackBerry */
  {
    test: [/blackberry|\bbb\d+/i, /rim\stablet/i],
    describe(e) {
      const t = g.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i, e) || g.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i, e) || g.getFirstMatch(/\bbb(\d+)/i, e);
      return {
        name: ue.BlackBerry,
        version: t
      };
    }
  },
  /* Bada */
  {
    test: [/bada/i],
    describe(e) {
      const t = g.getFirstMatch(/bada\/(\d+(\.\d+)*)/i, e);
      return {
        name: ue.Bada,
        version: t
      };
    }
  },
  /* Tizen */
  {
    test: [/tizen/i],
    describe(e) {
      const t = g.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i, e);
      return {
        name: ue.Tizen,
        version: t
      };
    }
  },
  /* Linux */
  {
    test: [/linux/i],
    describe() {
      return {
        name: ue.Linux
      };
    }
  },
  /* Chrome OS */
  {
    test: [/CrOS/],
    describe() {
      return {
        name: ue.ChromeOS
      };
    }
  },
  /* Playstation 4 */
  {
    test: [/PlayStation 4/],
    describe(e) {
      const t = g.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, e);
      return {
        name: ue.PlayStation4,
        version: t
      };
    }
  }
], r2 = [
  /* Googlebot */
  {
    test: [/googlebot/i],
    describe() {
      return {
        type: "bot",
        vendor: "Google"
      };
    }
  },
  /* Huawei */
  {
    test: [/huawei/i],
    describe(e) {
      const t = g.getFirstMatch(/(can-l01)/i, e) && "Nova", r = {
        type: X.mobile,
        vendor: "Huawei"
      };
      return t && (r.model = t), r;
    }
  },
  /* Nexus Tablet */
  {
    test: [/nexus\s*(?:7|8|9|10).*/i],
    describe() {
      return {
        type: X.tablet,
        vendor: "Nexus"
      };
    }
  },
  /* iPad */
  {
    test: [/ipad/i],
    describe() {
      return {
        type: X.tablet,
        vendor: "Apple",
        model: "iPad"
      };
    }
  },
  /* Firefox on iPad */
  {
    test: [/Macintosh(.*?) FxiOS(.*?)\//],
    describe() {
      return {
        type: X.tablet,
        vendor: "Apple",
        model: "iPad"
      };
    }
  },
  /* Amazon Kindle Fire */
  {
    test: [/kftt build/i],
    describe() {
      return {
        type: X.tablet,
        vendor: "Amazon",
        model: "Kindle Fire HD 7"
      };
    }
  },
  /* Another Amazon Tablet with Silk */
  {
    test: [/silk/i],
    describe() {
      return {
        type: X.tablet,
        vendor: "Amazon"
      };
    }
  },
  /* Tablet */
  {
    test: [/tablet(?! pc)/i],
    describe() {
      return {
        type: X.tablet
      };
    }
  },
  /* iPod/iPhone */
  {
    test(e) {
      const t = e.test(/ipod|iphone/i), r = e.test(/like (ipod|iphone)/i);
      return t && !r;
    },
    describe(e) {
      const t = g.getFirstMatch(/(ipod|iphone)/i, e);
      return {
        type: X.mobile,
        vendor: "Apple",
        model: t
      };
    }
  },
  /* Nexus Mobile */
  {
    test: [/nexus\s*[0-6].*/i, /galaxy nexus/i],
    describe() {
      return {
        type: X.mobile,
        vendor: "Nexus"
      };
    }
  },
  /* Mobile */
  {
    test: [/[^-]mobi/i],
    describe() {
      return {
        type: X.mobile
      };
    }
  },
  /* BlackBerry */
  {
    test(e) {
      return e.getBrowserName(!0) === "blackberry";
    },
    describe() {
      return {
        type: X.mobile,
        vendor: "BlackBerry"
      };
    }
  },
  /* Bada */
  {
    test(e) {
      return e.getBrowserName(!0) === "bada";
    },
    describe() {
      return {
        type: X.mobile
      };
    }
  },
  /* Windows Phone */
  {
    test(e) {
      return e.getBrowserName() === "windows phone";
    },
    describe() {
      return {
        type: X.mobile,
        vendor: "Microsoft"
      };
    }
  },
  /* Android Tablet */
  {
    test(e) {
      const t = Number(String(e.getOSVersion()).split(".")[0]);
      return e.getOSName(!0) === "android" && t >= 3;
    },
    describe() {
      return {
        type: X.tablet
      };
    }
  },
  /* Android Mobile */
  {
    test(e) {
      return e.getOSName(!0) === "android";
    },
    describe() {
      return {
        type: X.mobile
      };
    }
  },
  /* desktop */
  {
    test(e) {
      return e.getOSName(!0) === "macos";
    },
    describe() {
      return {
        type: X.desktop,
        vendor: "Apple"
      };
    }
  },
  /* Windows */
  {
    test(e) {
      return e.getOSName(!0) === "windows";
    },
    describe() {
      return {
        type: X.desktop
      };
    }
  },
  /* Linux */
  {
    test(e) {
      return e.getOSName(!0) === "linux";
    },
    describe() {
      return {
        type: X.desktop
      };
    }
  },
  /* PlayStation 4 */
  {
    test(e) {
      return e.getOSName(!0) === "playstation 4";
    },
    describe() {
      return {
        type: X.tv
      };
    }
  },
  /* Roku */
  {
    test(e) {
      return e.getOSName(!0) === "roku";
    },
    describe() {
      return {
        type: X.tv
      };
    }
  }
], n2 = [
  /* EdgeHTML */
  {
    test(e) {
      return e.getBrowserName(!0) === "microsoft edge";
    },
    describe(e) {
      if (/\sedg\//i.test(e))
        return {
          name: qe.Blink
        };
      const r = g.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i, e);
      return {
        name: qe.EdgeHTML,
        version: r
      };
    }
  },
  /* Trident */
  {
    test: [/trident/i],
    describe(e) {
      const t = {
        name: qe.Trident
      }, r = g.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  /* Presto */
  {
    test(e) {
      return e.test(/presto/i);
    },
    describe(e) {
      const t = {
        name: qe.Presto
      }, r = g.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  /* Gecko */
  {
    test(e) {
      const t = e.test(/gecko/i), r = e.test(/like gecko/i);
      return t && !r;
    },
    describe(e) {
      const t = {
        name: qe.Gecko
      }, r = g.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  },
  /* Blink */
  {
    test: [/(apple)?webkit\/537\.36/i],
    describe() {
      return {
        name: qe.Blink
      };
    }
  },
  /* WebKit */
  {
    test: [/(apple)?webkit/i],
    describe(e) {
      const t = {
        name: qe.WebKit
      }, r = g.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i, e);
      return r && (t.version = r), t;
    }
  }
];
class Wi {
  /**
   * Create instance of Parser
   *
   * @param {String} UA User-Agent string
   * @param {Boolean} [skipParsing=false] parser can skip parsing in purpose of performance
   * improvements if you need to make a more particular parsing
   * like {@link Parser#parseBrowser} or {@link Parser#parsePlatform}
   *
   * @throw {Error} in case of empty UA String
   *
   * @constructor
   */
  constructor(t, r = !1) {
    if (t == null || t === "")
      throw new Error("UserAgent parameter can't be empty");
    this._ua = t, this.parsedResult = {}, r !== !0 && this.parse();
  }
  /**
   * Get UserAgent string of current Parser instance
   * @return {String} User-Agent String of the current <Parser> object
   *
   * @public
   */
  getUA() {
    return this._ua;
  }
  /**
   * Test a UA string for a regexp
   * @param {RegExp} regex
   * @return {Boolean}
   */
  test(t) {
    return t.test(this._ua);
  }
  /**
   * Get parsed browser object
   * @return {Object}
   */
  parseBrowser() {
    this.parsedResult.browser = {};
    const t = g.find(e2, (r) => {
      if (typeof r.test == "function")
        return r.test(this);
      if (r.test instanceof Array)
        return r.test.some((n) => this.test(n));
      throw new Error("Browser's test function is not valid");
    });
    return t && (this.parsedResult.browser = t.describe(this.getUA())), this.parsedResult.browser;
  }
  /**
   * Get parsed browser object
   * @return {Object}
   *
   * @public
   */
  getBrowser() {
    return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser();
  }
  /**
   * Get browser's name
   * @return {String} Browser's name or an empty string
   *
   * @public
   */
  getBrowserName(t) {
    return t ? String(this.getBrowser().name).toLowerCase() || "" : this.getBrowser().name || "";
  }
  /**
   * Get browser's version
   * @return {String} version of browser
   *
   * @public
   */
  getBrowserVersion() {
    return this.getBrowser().version;
  }
  /**
   * Get OS
   * @return {Object}
   *
   * @example
   * this.getOS();
   * {
   *   name: 'macOS',
   *   version: '10.11.12'
   * }
   */
  getOS() {
    return this.parsedResult.os ? this.parsedResult.os : this.parseOS();
  }
  /**
   * Parse OS and save it to this.parsedResult.os
   * @return {*|{}}
   */
  parseOS() {
    this.parsedResult.os = {};
    const t = g.find(t2, (r) => {
      if (typeof r.test == "function")
        return r.test(this);
      if (r.test instanceof Array)
        return r.test.some((n) => this.test(n));
      throw new Error("Browser's test function is not valid");
    });
    return t && (this.parsedResult.os = t.describe(this.getUA())), this.parsedResult.os;
  }
  /**
   * Get OS name
   * @param {Boolean} [toLowerCase] return lower-cased value
   * @return {String} name of the OS — macOS, Windows, Linux, etc.
   */
  getOSName(t) {
    const { name: r } = this.getOS();
    return t ? String(r).toLowerCase() || "" : r || "";
  }
  /**
   * Get OS version
   * @return {String} full version with dots ('10.11.12', '5.6', etc)
   */
  getOSVersion() {
    return this.getOS().version;
  }
  /**
   * Get parsed platform
   * @return {{}}
   */
  getPlatform() {
    return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform();
  }
  /**
   * Get platform name
   * @param {Boolean} [toLowerCase=false]
   * @return {*}
   */
  getPlatformType(t = !1) {
    const { type: r } = this.getPlatform();
    return t ? String(r).toLowerCase() || "" : r || "";
  }
  /**
   * Get parsed platform
   * @return {{}}
   */
  parsePlatform() {
    this.parsedResult.platform = {};
    const t = g.find(r2, (r) => {
      if (typeof r.test == "function")
        return r.test(this);
      if (r.test instanceof Array)
        return r.test.some((n) => this.test(n));
      throw new Error("Browser's test function is not valid");
    });
    return t && (this.parsedResult.platform = t.describe(this.getUA())), this.parsedResult.platform;
  }
  /**
   * Get parsed engine
   * @return {{}}
   */
  getEngine() {
    return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine();
  }
  /**
   * Get engines's name
   * @return {String} Engines's name or an empty string
   *
   * @public
   */
  getEngineName(t) {
    return t ? String(this.getEngine().name).toLowerCase() || "" : this.getEngine().name || "";
  }
  /**
   * Get parsed platform
   * @return {{}}
   */
  parseEngine() {
    this.parsedResult.engine = {};
    const t = g.find(n2, (r) => {
      if (typeof r.test == "function")
        return r.test(this);
      if (r.test instanceof Array)
        return r.test.some((n) => this.test(n));
      throw new Error("Browser's test function is not valid");
    });
    return t && (this.parsedResult.engine = t.describe(this.getUA())), this.parsedResult.engine;
  }
  /**
   * Parse full information about the browser
   * @returns {Parser}
   */
  parse() {
    return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this;
  }
  /**
   * Get parsed result
   * @return {ParsedResult}
   */
  getResult() {
    return g.assign({}, this.parsedResult);
  }
  /**
   * Check if parsed browser matches certain conditions
   *
   * @param {Object} checkTree It's one or two layered object,
   * which can include a platform or an OS on the first layer
   * and should have browsers specs on the bottom-laying layer
   *
   * @returns {Boolean|undefined} Whether the browser satisfies the set conditions or not.
   * Returns `undefined` when the browser is no described in the checkTree object.
   *
   * @example
   * const browser = Bowser.getParser(window.navigator.userAgent);
   * if (browser.satisfies({chrome: '>118.01.1322' }))
   * // or with os
   * if (browser.satisfies({windows: { chrome: '>118.01.1322' } }))
   * // or with platforms
   * if (browser.satisfies({desktop: { chrome: '>118.01.1322' } }))
   */
  satisfies(t) {
    const r = {};
    let n = 0;
    const o = {};
    let i = 0;
    if (Object.keys(t).forEach((d) => {
      const a = t[d];
      typeof a == "string" ? (o[d] = a, i += 1) : typeof a == "object" && (r[d] = a, n += 1);
    }), n > 0) {
      const d = Object.keys(r), a = g.find(d, (u) => this.isOS(u));
      if (a) {
        const u = this.satisfies(r[a]);
        if (u !== void 0)
          return u;
      }
      const c = g.find(
        d,
        (u) => this.isPlatform(u)
      );
      if (c) {
        const u = this.satisfies(r[c]);
        if (u !== void 0)
          return u;
      }
    }
    if (i > 0) {
      const d = Object.keys(o), a = g.find(d, (c) => this.isBrowser(c, !0));
      if (a !== void 0)
        return this.compareVersion(o[a]);
    }
  }
  /**
   * Check if the browser name equals the passed string
   * @param browserName The string to compare with the browser name
   * @param [includingAlias=false] The flag showing whether alias will be included into comparison
   * @returns {boolean}
   */
  isBrowser(t, r = !1) {
    const n = this.getBrowserName().toLowerCase();
    let o = t.toLowerCase();
    const i = g.getBrowserTypeByAlias(o);
    return r && i && (o = i.toLowerCase()), o === n;
  }
  compareVersion(t) {
    let r = [0], n = t, o = !1;
    const i = this.getBrowserVersion();
    if (typeof i == "string")
      return t[0] === ">" || t[0] === "<" ? (n = t.substr(1), t[1] === "=" ? (o = !0, n = t.substr(2)) : r = [], t[0] === ">" ? r.push(1) : r.push(-1)) : t[0] === "=" ? n = t.substr(1) : t[0] === "~" && (o = !0, n = t.substr(1)), r.indexOf(
        g.compareVersions(i, n, o)
      ) > -1;
  }
  isOS(t) {
    return this.getOSName(!0) === String(t).toLowerCase();
  }
  isPlatform(t) {
    return this.getPlatformType(!0) === String(t).toLowerCase();
  }
  isEngine(t) {
    return this.getEngineName(!0) === String(t).toLowerCase();
  }
  /**
   * Is anything? Check if the browser is called "anything",
   * the OS called "anything" or the platform called "anything"
   * @param {String} anything
   * @param [includingAlias=false] The flag showing whether alias will be included into comparison
   * @returns {Boolean}
   */
  is(t, r = !1) {
    return this.isBrowser(t, r) || this.isOS(t) || this.isPlatform(t);
  }
  /**
   * Check if any of the given values satisfies this.is(anything)
   * @param {String[]} anythings
   * @returns {Boolean}
   */
  some(t = []) {
    return t.some((r) => this.is(r));
  }
}
/*!
 * Bowser - a browser detector
 * https://github.com/lancedikson/bowser
 * MIT License | (c) Dustin Diaz 2012-2015
 * MIT License | (c) Denis Demchenko 2015-2019
 */
class o2 {
  /**
   * Creates a {@link Parser} instance
   *
   * @param {String} UA UserAgent string
   * @param {Boolean} [skipParsing=false] Will make the Parser postpone parsing until you ask it
   * explicitly. Same as `skipParsing` for {@link Parser}.
   * @returns {Parser}
   * @throws {Error} when UA is not a String
   *
   * @example
   * const parser = Bowser.getParser(window.navigator.userAgent);
   * const result = parser.getResult();
   */
  static getParser(t, r = !1) {
    if (typeof t != "string")
      throw new Error("UserAgent should be a string");
    return new Wi(t, r);
  }
  /**
   * Creates a {@link Parser} instance and runs {@link Parser.getResult} immediately
   *
   * @param UA
   * @return {ParsedResult}
   *
   * @example
   * const result = Bowser.parse(window.navigator.userAgent);
   */
  static parse(t) {
    return new Wi(t).getResult();
  }
  static get BROWSER_MAP() {
    return Sd;
  }
  static get ENGINE_MAP() {
    return qe;
  }
  static get OS_MAP() {
    return ue;
  }
  static get PLATFORMS_MAP() {
    return X;
  }
}
const Ed = "https://business-staging.rather.chat";
function _d() {
  console.log("[RC] Notifying server that script has loaded");
  const e = o2.getParser(window.navigator.userAgent);
  ee.post(`${Ed}/api/plugin-metrics/`, {
    company: $o,
    browser: e.getBrowser(),
    os: e.getOS(),
    platform: e.getPlatform(),
    domain: {
      hostName: window.location.hostname,
      href: window.location.href
    }
  }).then((t) => {
    console.log("[RC] Server notified that script has loaded");
  }).catch((t) => {
    console.error("[RC] Error notifying server that script has loaded", t);
  });
}
function Pd(e, t) {
  return console.log("[RC] Triggering chat to:", Bn), ee.post(`${Ed}/api/channels/${Bn}/trigger/`, {
    user_name: e,
    user_external_id: t,
    company: $o,
    phrase: td || "Plugin inbound"
  });
}
const i2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  notifyScriptLoaded: _d,
  triggerChat: Pd
}, Symbol.toStringTag, { value: "Module" })), s2 = /* @__PURE__ */ At({
  name: "ConversationWindow",
  components: {
    PhoneInput: Lc,
    //icons
    XMarkIcon: f0,
    PaperAirplaneIcon: c0,
    UserIcon: u0
  },
  props: {
    modelValue: Boolean
  },
  data: () => ({
    name: "",
    phoneNumber: "",
    isValidNumber: !1,
    loading: !1
  }),
  methods: {
    showSuccess() {
      this.$emit("showMessageAlert", "error");
    },
    startChat() {
      console.log("[RC] Start Chat", i2), this.loading = !0, Pd(this.name, this.phoneNumber).then((e) => {
        var t;
        ((t = e == null ? void 0 : e.data) == null ? void 0 : t.status) === "failed" ? this.$emit("showMessageAlert", "error") : this.$emit("showMessageAlert", "success");
      }).catch((e) => {
        console.error("[RC] Error starting chat", e), this.$emit("showMessageAlert", "error");
      }).finally(() => {
        this.loading = !1, this.isActive = !1;
      });
    }
  },
  computed: {
    isActive: {
      get() {
        return this.modelValue;
      },
      set(e) {
        this.$emit("update:modelValue", e);
      }
    }
  }
}), d2 = { class: "rc-flex rc-justify-between rc-px-5 rc-pb-4" }, a2 = /* @__PURE__ */ F("h3", { class: "rc-text-lg rc-font-semibold rc-text-black dark:rc-text-gray-50" }, " WhatsApp Chat ", -1), l2 = { class: "rc-px-5" }, c2 = { class: "rc-w-full rc-max-w-sm rc-mb-4" }, u2 = /* @__PURE__ */ F("label", { class: "rc-block rc-mb-2 rc-text-sm rc-text-black dark:rc-text-gray-200 rc-font-semibold" }, " Your Name * ", -1), f2 = ["disabled"], $2 = {
  key: 0,
  "aria-hidden": "true",
  class: "rc-size-5 rc-text-gray-200 rc-animate-spin dark:rc-text-gray-600 rc-fill-blue-600",
  viewBox: "0 0 100 101",
  fill: "none",
  xmlns: "http://www.w3.org/2000/svg"
}, h2 = /* @__PURE__ */ F("path", {
  d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",
  fill: "currentColor"
}, null, -1), p2 = /* @__PURE__ */ F("path", {
  d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
  fill: "currentFill"
}, null, -1), g2 = [
  h2,
  p2
], m2 = /* @__PURE__ */ F("div", { class: "rc-w-100 rc-text-center dark:rc-text-gray-200 rc-text-xs rc-mt-3 rc-mb-1" }, [
  /* @__PURE__ */ qt(" Powered by "),
  /* @__PURE__ */ F("a", {
    class: "rc-text-whatsapp rc-ml-1",
    href: "https://rather.chat",
    target: "_blank"
  }, " rather.chat ")
], -1);
function b2(e, t, r, n, o, i) {
  const s = Me("x-mark-icon"), d = Me("phone-input"), a = Me("paper-airplane-icon");
  return K(), Q("div", {
    class: Le([[
      e.isActive ? "rc-animate-scale-from-br" : "",
      e.modelValue ? "" : "rc-scale-0 rc-hidden"
    ], "rc-w-full rc-max-w-[320px] rc-min-w-[320px] rc-bg-white rc-shadow rc-rounded-xl rc-mb-3 rc-py-5 dark:rc-bg-neutral-800"])
  }, [
    F("div", d2, [
      a2,
      re(s, {
        class: "rc-text-black dark:rc-text-gray-50 dark:hover:rc-bg-neutral-700 rc-size-6 hover:rc-bg-gray-50 rc-rounded-full rc-cursor-pointer",
        onClick: t[0] || (t[0] = (c) => e.$emit("update:modelValue", !1))
      })
    ]),
    F("div", l2, [
      F("div", c2, [
        u2,
        vn(F("input", {
          class: "rc-input-field w-[-webkit-fill-available]",
          "onUpdate:modelValue": t[1] || (t[1] = (c) => e.name = c),
          placeholder: "Type here"
        }, null, 512), [
          [xn, e.name]
        ])
      ]),
      re(d, {
        modelValue: e.phoneNumber,
        "onUpdate:modelValue": t[2] || (t[2] = (c) => e.phoneNumber = c),
        onHandleIsValidNumber: t[3] || (t[3] = (c) => e.isValidNumber = c)
      }, null, 8, ["modelValue"]),
      F("button", {
        disabled: !e.name || !e.phoneNumber || e.loading === !0 || !e.isValidNumber,
        onClick: t[4] || (t[4] = (...c) => e.startChat && e.startChat(...c)),
        class: "rc-button rc-bg-whatsapp rc-text-white rc-w-full rc-mt-4 rc-flex rc-justify-center rc-items-center rc-gap-2"
      }, [
        e.loading ? (K(), Q("svg", $2, g2)) : dt("", !0),
        qt(" Start Whatsapp Chat "),
        re(a, { class: "rc-size-4" })
      ], 8, f2)
    ]),
    m2
  ], 2);
}
const y2 = /* @__PURE__ */ Qt(s2, [["render", b2]]), C2 = { class: "rc-flex rc-pb-4 rc-mb-4 rc-justify-between rc-items-center rc-rounded-t-lg" }, w2 = /* @__PURE__ */ $l('<div class="rc-flex rc-items-center rc-justify-between"><div class="rc-ai-avatar"><span class="rc-ai-avatar-inner"></span><span class="rc-ai-avatar-inner"></span></div><div class="rc-ml-4"><h3 class="rc-text-md rc-font-semibold rc-text-black dark:rc-text-gray-50"> Chat Bot </h3><p class="rc-text-xs rc-text-gray-400">Online</p></div></div>', 1), v2 = { class: "rc-pa-3" }, S2 = {
  key: 0,
  class: "rc-pa-2 rc-pb-0 rc-w-100 rc-text-right"
}, E2 = {
  key: 1,
  class: "rc-border dark:rc-border-0 rc-h-[30px] rc-w-[30px] rc-chat-avatar rc-rounded-full rc-flex rc-align-center rc-items-center rc-bg-white dark:rc-bg-neutral-900 rc-text-lg rc-p-1.5 rc-mr-2"
}, _2 = {
  key: 2,
  class: "rc-px-2 rc-rounded-lg rc-text-gray-400 dark:rc-text-gray-200 rc-text-subtitle-2 rc-font-weight-regular"
}, P2 = {
  key: 3,
  class: "chat-pop-up-message rc-pa-2 rc-rounded-lg",
  style: { width: "70px" }
}, A2 = /* @__PURE__ */ F("div", { class: "rc-chat-message-loader" }, null, -1), O2 = [
  A2
], N2 = /* @__PURE__ */ F("div", { class: "rc-w-100 rc-text-center dark:rc-text-gray-200 rc-text-xs rc-mt-3 rc-mb-1" }, [
  /* @__PURE__ */ qt(" Powered by "),
  /* @__PURE__ */ F("a", {
    class: "rc-text-whatsapp rc-ml-1",
    href: "https://rather.chat",
    target: "_blank"
  }, " rather.chat ")
], -1), qi = 2e3, x2 = /* @__PURE__ */ At({
  __name: "PopupMessage",
  props: {
    showPopup: {
      type: Boolean,
      default: !1
    },
    popupMessages: {
      type: Array
    }
  },
  emits: ["hideMessagePopup", "startChat"],
  setup(e, { emit: t }) {
    const r = e, n = ms([]), o = t;
    function i() {
      o("hideMessagePopup", !1);
    }
    function s() {
      o("startChat");
    }
    function d() {
      var a;
      (a = r.popupMessages) == null || a.forEach((c, u) => {
        setTimeout(() => {
          n.value.push(c);
        }, qi * u);
      });
    }
    return r.showPopup && setTimeout(() => {
      d();
    }, qi), (a, c) => r.showPopup && n.value.length ? (K(), Q("div", {
      key: 0,
      class: Le([[
        r.showPopup && n.value.length ? "rc-animate-scale-from-br" : "rc-hidden rc-scale-0"
      ], "rc-mb-3 rc-bg-white rc-shadow rc-rounded-xl rc-p-5 dark:rc-bg-neutral-800 rc-w-full rc-max-w-[320px] rc-min-w-[320px]"]),
      style: { "max-width": "300px", width: "302px" }
    }, [
      F("div", C2, [
        w2,
        F("div", null, [
          re(Cn(ed), {
            class: "rc-text-black dark:rc-text-gray-50 dark:hover:rc-bg-neutral-700 rc-size-6 hover:rc-bg-gray-50 rc-rounded-full rc-cursor-pointer",
            onClick: i
          })
        ])
      ]),
      F("div", v2, [
        (K(!0), Q(Se, null, Fs(n.value.length > 1 ? n.value.slice(1) : n.value, (u) => (K(), Q("div", {
          key: u,
          class: Le(["rc-mb-3 rc-message-container", [
            u === "button" ? "" : "rc-flex rc-align-start rc-items-center"
          ]])
        }, [
          u === "button" ? (K(), Q("div", S2, [
            F("button", {
              onClick: s,
              class: "rc-button rc-bg-whatsapp rc-text-white rc-w-full rc-mt-6 rc-flex rc-justify-center rc-items-center rc-gap-2"
            }, " Start Chat ")
          ])) : dt("", !0),
          u !== "button" ? (K(), Q("div", E2, [
            re(Cn(Cc), { class: "rc-text-black dark:rc-text-white rc-size-6 rc-rounded-full" })
          ])) : dt("", !0),
          u !== "loader" && u !== "button" ? (K(), Q("div", _2, Lt(u), 1)) : u === "loader" ? (K(), Q("div", P2, O2)) : dt("", !0)
        ], 2))), 128)),
        N2
      ])
    ], 2)) : dt("", !0);
  }
}), F2 = /* @__PURE__ */ At({
  name: "AlertWindow",
  components: { ExclamationTriangleIcon: l0, CheckBadgeIcon: a0 },
  props: {
    modelValue: {
      type: Boolean,
      default: !1
    },
    alertType: {
      type: String,
      default: "success"
    }
  },
  methods: {
    handleAnimationEnd() {
      this.isActive && (this.isActive = !1);
    }
  },
  computed: {
    isActive: {
      get() {
        return this.modelValue;
      },
      set(e) {
        this.$emit("update:modelValue", e);
      }
    }
  }
}), T2 = { class: "rc-flex rc-gap-2" };
function M2(e, t, r, n, o, i) {
  const s = Me("ExclamationTriangleIcon"), d = Me("CheckBadgeIcon");
  return e.isActive ? (K(), Q("div", {
    key: 0,
    class: Le(["container rc-relative", [
      e.alertType === "error" ? "rc-bg-red-600" : "rc-bg-whatsapp",
      e.isActive ? "is-active" : ""
    ]]),
    onAnimationend: t[0] || (t[0] = (...a) => e.handleAnimationEnd && e.handleAnimationEnd(...a))
  }, [
    F("div", T2, [
      e.alertType === "error" ? (K(), On(s, {
        key: 0,
        class: "rc-size-6"
      })) : (K(), On(d, {
        key: 1,
        class: "rc-size-6"
      })),
      qt(" " + Lt(e.alertType === "error" ? "Error occured. Please try again." : "Message Sent. Check your inbox."), 1)
    ])
  ], 34)) : dt("", !0);
}
const R2 = /* @__PURE__ */ Qt(F2, [["render", M2], ["__scopeId", "data-v-fefd9edc"]]), I2 = /* @__PURE__ */ At({
  name: "App",
  components: { AlertWindow: R2, WidgetButton: d0, ConversationWindow: y2, PopupMessage: x2 },
  mounted() {
    console.debug("[RC] Widget Mounted"), _d(), Ri ? (this.showPopup = !0, this.popupMessagesArr = Ri.split(";"), this.popupMessagesArr.unshift("loader"), this.popupMessagesArr.push("button")) : this.showPopup = !1;
  },
  data: () => ({
    showWindow: !1,
    popupMessagesArr: Array(),
    showAlert: !1,
    showPopup: !0,
    alertType: ""
  })
}), L2 = {
  class: "rc-chat-container rc-app-container !rc-flex",
  style: { display: "none" },
  id: "rcChatWidgetApp"
};
function B2(e, t, r, n, o, i) {
  const s = Me("conversation-window"), d = Me("alert-window"), a = Me("popup-message"), c = Me("widget-button");
  return K(), Q("div", L2, [
    re(s, {
      modelValue: e.showWindow,
      "onUpdate:modelValue": t[0] || (t[0] = (u) => e.showWindow = u),
      onShowMessageAlert: t[1] || (t[1] = (u) => {
        e.alertType = u, e.showAlert = !0;
      })
    }, null, 8, ["modelValue"]),
    re(d, {
      modelValue: e.showAlert,
      "onUpdate:modelValue": t[2] || (t[2] = (u) => e.showAlert = u),
      alertType: e.alertType
    }, null, 8, ["modelValue", "alertType"]),
    re(a, {
      showPopup: e.showPopup,
      popupMessages: e.popupMessagesArr,
      onHideMessagePopup: t[3] || (t[3] = (u) => e.showPopup = u),
      onStartChat: t[4] || (t[4] = (u) => (e.showWindow = !0, e.showPopup = !1))
    }, null, 8, ["showPopup", "popupMessages"]),
    re(c, {
      class: "rc-block rc-relative",
      onClick: t[5] || (t[5] = (u) => (e.showWindow = !e.showWindow, e.showPopup = !1)),
      bounce: !(e.showWindow || e.showPopup)
    }, null, 8, ["bounce"])
  ]);
}
const k2 = /* @__PURE__ */ Qt(I2, [["render", B2], ["__scopeId", "data-v-637bd4d8"]]), D2 = function() {
  const e = document.getElementsByTagName("script");
  let t = "";
  for (let r = 0; r < e.length; r++)
    if (e[r].src.includes("chat-widget.js")) {
      t = e[r].src.replace(/chat-widget\.js$/, "");
      break;
    }
  return t;
}, U2 = function() {
  const e = Zl(k2);
  return e.use(t0()), e;
}, G2 = () => {
  const e = document.createElement("div");
  document.body.append(e);
  const t = e, r = t.shadowRoot ? t.shadowRoot : t.attachShadow({ mode: "open" }), n = D2(), o = document.createElement("script");
  o.src = "https://unpkg.com/vue@3/dist/vue.global.js", o.defer = !0;
  const i = document.createElement("link");
  i.rel = "stylesheet", i.type = "text/css", i.href = `${n}style.css`;
  const s = document.createElement("link");
  s.rel = "stylesheet", s.href = "./../dist/tailwind.css";
  const d = document.createElement("link");
  return d.rel = "stylesheet", d.href = "./src/assets/main.css", {
    shadowroot: r,
    twCSSLink: s,
    mainCSSLink: d,
    styleCSSLink: i,
    vueCdnScript: o
  };
};
(async function() {
  {
    const { shadowroot: e, twCSSLink: t, mainCSSLink: r, styleCSSLink: n, vueCdnScript: o } = G2();
    await new Promise((i, s) => {
      o.onload = i, console.debug("[RC] loading vue script"), n.onload = i, console.log("[RC] loading CSS to shadowdom"), U2().mount(e), e.appendChild(n), e.appendChild(o);
    });
  }
})();
