var du = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
import "./modulepreload-polyfill.b7f2da20.js";
import {
  C as Li,
  d as _f,
  e as ft,
  D as xf,
  o as et,
  c as dt,
  a as _t,
  w as Yr,
  u as _e,
  i as Bn,
  F as ln,
  E as i0,
  r as Ur,
  q as _u,
  p as xu,
  s as mu,
  v as pu,
  b as ke,
  G as qa,
  H as $i,
  I as vu,
  J as s0,
  L as gu,
  M as xa,
  N as Tu,
  O as Eu,
  P as wu,
  Q as Oi,
  f as Su,
  R as Au,
  h as ls,
  S as Dn,
  t as Qt,
  g as yu,
  T as ma,
  k as Nn,
  m as Fu,
  U as us,
  _ as Lu,
  x as Ou,
  y as Ru,
  z as Cu,
  A as Iu,
  B as Du,
} from "./windi.01aa7873.js";
var Dw = du((Pw, Ca) => {
  let ji = !1;
  async function Nu() {
    const e = await Li.cookies.get({
      url: "https://www.instagram.com",
      name: "ds_user_id",
    });
    if (!e) {
      ji = !1;
      return;
    }
    const t = e.value,
      { value: r } = await Li.cookies.get({
        url: "https://www.instagram.com",
        name: "csrftoken",
      });
    await Li.storage.local.set({ uid: t, csrftoken: r }), (ji = !0);
  }
  const ku = () => ji,
    Mu = _f({
      __name: "App",
      setup(e) {
        let { on: t, clear: r } = i0(),
          n = ft(!1),
          a = ft(!1),
          i = ft(!1),
          s = ft(!1);
        return (
          t("popup", ({ name: f }) => {
            switch (f) {
              case "Setting":
                n.value = !0;
                break;
              case "Help":
                a.value = !0;
                break;
              case "Tool":
                i.value = !0;
                break;
              case "Pro":
                s.value = !0;
                break;
            }
          }),
          xf(() => {
            r();
          }),
          (f, o) => {
            const l = Ur("router-view"),
              u = _u,
              x = Ur("a-modal"),
              d = xu,
              _ = mu,
              v = pu;
            return (
              et(),
              dt(
                ln,
                null,
                [
                  _t(l),
                  _t(
                    x,
                    {
                      visible: _e(n),
                      "onUpdate:visible":
                        o[0] ||
                        (o[0] = (c) => (Bn(n) ? (n.value = c) : (n = c))),
                      title: "Settings",
                      footer: null,
                      destroyOnClose: "",
                    },
                    { default: Yr(() => [_t(u)]), _: 1 },
                    8,
                    ["visible"]
                  ),
                  _t(
                    x,
                    {
                      visible: _e(a),
                      "onUpdate:visible":
                        o[1] ||
                        (o[1] = (c) => (Bn(a) ? (a.value = c) : (a = c))),
                      title: "Help",
                      footer: null,
                    },
                    { default: Yr(() => [_t(d)]), _: 1 },
                    8,
                    ["visible"]
                  ),
                  _t(
                    x,
                    {
                      visible: _e(i),
                      "onUpdate:visible":
                        o[2] ||
                        (o[2] = (c) => (Bn(i) ? (i.value = c) : (i = c))),
                      title: "More Tools",
                      footer: null,
                    },
                    { default: Yr(() => [_t(_)]), _: 1 },
                    8,
                    ["visible"]
                  ),
                  _t(
                    x,
                    {
                      visible: _e(s),
                      "onUpdate:visible":
                        o[3] ||
                        (o[3] = (c) => (Bn(s) ? (s.value = c) : (s = c))),
                      title: "VIP",
                      footer: null,
                    },
                    { default: Yr(() => [_t(v)]), _: 1 },
                    8,
                    ["visible"]
                  ),
                ],
                64
              )
            );
          }
        );
      },
    }),
    Pu = { viewBox: "0 0 24 24", width: "1.2em", height: "1.2em" },
    Bu = ke(
      "path",
      {
        fill: "currentColor",
        d: "M12 15.575q-.2 0-.375-.063q-.175-.062-.325-.212l-3.6-3.6q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.712-.288q.438-.012.713.263L11 12.15V5q0-.425.288-.713Q11.575 4 12 4t.713.287Q13 4.575 13 5v7.15l1.875-1.875q.275-.275.713-.263q.437.013.712.288q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063ZM6 20q-.825 0-1.412-.587Q4 18.825 4 18v-2q0-.425.287-.713Q4.575 15 5 15t.713.287Q6 15.575 6 16v2h12v-2q0-.425.288-.713Q18.575 15 19 15t.712.287Q20 15.575 20 16v2q0 .825-.587 1.413Q18.825 20 18 20Z",
      },
      null,
      -1
    ),
    bu = [Bu];
  function Uu(e, t) {
    return et(), dt("svg", Pu, bu);
  }
  var Wu = { name: "material-symbols-download-rounded", render: Uu };
  const Hu = { viewBox: "0 0 1024 1024", width: "1.2em", height: "1.2em" },
    Yu = ke(
      "path",
      {
        fill: "currentColor",
        d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 0 1-12.7-6.5V353.7a8 8 0 0 1 12.7-6.5L656.1 506a7.9 7.9 0 0 1 0 12.9z",
      },
      null,
      -1
    ),
    Gu = [Yu];
  function Vu(e, t) {
    return et(), dt("svg", Hu, Gu);
  }
  var $u = { name: "ant-design-play-circle-filled", render: Vu };
  const ju = { viewBox: "0 0 1024 1024", width: "1.2em", height: "1.2em" },
    Xu = ke(
      "path",
      {
        fill: "currentColor",
        d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64zm-80 600c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304zm224 0c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V360c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v304z",
      },
      null,
      -1
    ),
    Ku = [Xu];
  function zu(e, t) {
    return et(), dt("svg", ju, Ku);
  }
  var Ju = { name: "ant-design-pause-circle-filled", render: zu };
  let Ri = ft(!0);
  function Zu() {
    async function e() {
      return await Nu(), (Ri.value = ku()), Ri.value;
    }
    return { insReady: Ri, boot: e };
  } //! moment.js
  //! version : 2.29.4
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  //! license : MIT
  //! momentjs.com
  var mf;
  function re() {
    return mf.apply(null, arguments);
  }
  function qu(e) {
    mf = e;
  }
  function zt(e) {
    return (
      e instanceof Array ||
      Object.prototype.toString.call(e) === "[object Array]"
    );
  }
  function Vr(e) {
    return e != null && Object.prototype.toString.call(e) === "[object Object]";
  }
  function Ee(e, t) {
    return Object.prototype.hasOwnProperty.call(e, t);
  }
  function f0(e) {
    if (Object.getOwnPropertyNames)
      return Object.getOwnPropertyNames(e).length === 0;
    var t;
    for (t in e) if (Ee(e, t)) return !1;
    return !0;
  }
  function At(e) {
    return e === void 0;
  }
  function gr(e) {
    return (
      typeof e == "number" ||
      Object.prototype.toString.call(e) === "[object Number]"
    );
  }
  function na(e) {
    return (
      e instanceof Date || Object.prototype.toString.call(e) === "[object Date]"
    );
  }
  function pf(e, t) {
    var r = [],
      n,
      a = e.length;
    for (n = 0; n < a; ++n) r.push(t(e[n], n));
    return r;
  }
  function Fr(e, t) {
    for (var r in t) Ee(t, r) && (e[r] = t[r]);
    return (
      Ee(t, "toString") && (e.toString = t.toString),
      Ee(t, "valueOf") && (e.valueOf = t.valueOf),
      e
    );
  }
  function ir(e, t, r, n) {
    return Hf(e, t, r, n, !0).utc();
  }
  function Qu() {
    return {
      empty: !1,
      unusedTokens: [],
      unusedInput: [],
      overflow: -2,
      charsLeftOver: 0,
      nullInput: !1,
      invalidEra: null,
      invalidMonth: null,
      invalidFormat: !1,
      userInvalidated: !1,
      iso: !1,
      parsedDateParts: [],
      era: null,
      meridiem: null,
      rfc2822: !1,
      weekdayMismatch: !1,
    };
  }
  function de(e) {
    return e._pf == null && (e._pf = Qu()), e._pf;
  }
  var Xi;
  Array.prototype.some
    ? (Xi = Array.prototype.some)
    : (Xi = function (e) {
        var t = Object(this),
          r = t.length >>> 0,
          n;
        for (n = 0; n < r; n++)
          if (n in t && e.call(this, t[n], n, t)) return !0;
        return !1;
      });
  function o0(e) {
    if (e._isValid == null) {
      var t = de(e),
        r = Xi.call(t.parsedDateParts, function (a) {
          return a != null;
        }),
        n =
          !isNaN(e._d.getTime()) &&
          t.overflow < 0 &&
          !t.empty &&
          !t.invalidEra &&
          !t.invalidMonth &&
          !t.invalidWeekday &&
          !t.weekdayMismatch &&
          !t.nullInput &&
          !t.invalidFormat &&
          !t.userInvalidated &&
          (!t.meridiem || (t.meridiem && r));
      if (
        (e._strict &&
          (n =
            n &&
            t.charsLeftOver === 0 &&
            t.unusedTokens.length === 0 &&
            t.bigHour === void 0),
        Object.isFrozen == null || !Object.isFrozen(e))
      )
        e._isValid = n;
      else return n;
    }
    return e._isValid;
  }
  function Qa(e) {
    var t = ir(NaN);
    return e != null ? Fr(de(t), e) : (de(t).userInvalidated = !0), t;
  }
  var cs = (re.momentProperties = []),
    Ci = !1;
  function l0(e, t) {
    var r,
      n,
      a,
      i = cs.length;
    if (
      (At(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject),
      At(t._i) || (e._i = t._i),
      At(t._f) || (e._f = t._f),
      At(t._l) || (e._l = t._l),
      At(t._strict) || (e._strict = t._strict),
      At(t._tzm) || (e._tzm = t._tzm),
      At(t._isUTC) || (e._isUTC = t._isUTC),
      At(t._offset) || (e._offset = t._offset),
      At(t._pf) || (e._pf = de(t)),
      At(t._locale) || (e._locale = t._locale),
      i > 0)
    )
      for (r = 0; r < i; r++) (n = cs[r]), (a = t[n]), At(a) || (e[n] = a);
    return e;
  }
  function aa(e) {
    l0(this, e),
      (this._d = new Date(e._d != null ? e._d.getTime() : NaN)),
      this.isValid() || (this._d = new Date(NaN)),
      Ci === !1 && ((Ci = !0), re.updateOffset(this), (Ci = !1));
  }
  function Jt(e) {
    return e instanceof aa || (e != null && e._isAMomentObject != null);
  }
  function vf(e) {
    re.suppressDeprecationWarnings === !1 &&
      typeof console != "undefined" &&
      console.warn &&
      console.warn("Deprecation warning: " + e);
  }
  function Wt(e, t) {
    var r = !0;
    return Fr(function () {
      if (
        (re.deprecationHandler != null && re.deprecationHandler(null, e), r)
      ) {
        var n = [],
          a,
          i,
          s,
          f = arguments.length;
        for (i = 0; i < f; i++) {
          if (((a = ""), typeof arguments[i] == "object")) {
            a +=
              `
[` +
              i +
              "] ";
            for (s in arguments[0])
              Ee(arguments[0], s) && (a += s + ": " + arguments[0][s] + ", ");
            a = a.slice(0, -2);
          } else a = arguments[i];
          n.push(a);
        }
        vf(
          e +
            `
Arguments: ` +
            Array.prototype.slice.call(n).join("") +
            `
` +
            new Error().stack
        ),
          (r = !1);
      }
      return t.apply(this, arguments);
    }, t);
  }
  var hs = {};
  function gf(e, t) {
    re.deprecationHandler != null && re.deprecationHandler(e, t),
      hs[e] || (vf(t), (hs[e] = !0));
  }
  re.suppressDeprecationWarnings = !1;
  re.deprecationHandler = null;
  function sr(e) {
    return (
      (typeof Function != "undefined" && e instanceof Function) ||
      Object.prototype.toString.call(e) === "[object Function]"
    );
  }
  function ec(e) {
    var t, r;
    for (r in e)
      Ee(e, r) && ((t = e[r]), sr(t) ? (this[r] = t) : (this["_" + r] = t));
    (this._config = e),
      (this._dayOfMonthOrdinalParseLenient = new RegExp(
        (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +
          "|" +
          /\d{1,2}/.source
      ));
  }
  function Ki(e, t) {
    var r = Fr({}, e),
      n;
    for (n in t)
      Ee(t, n) &&
        (Vr(e[n]) && Vr(t[n])
          ? ((r[n] = {}), Fr(r[n], e[n]), Fr(r[n], t[n]))
          : t[n] != null
          ? (r[n] = t[n])
          : delete r[n]);
    for (n in e) Ee(e, n) && !Ee(t, n) && Vr(e[n]) && (r[n] = Fr({}, r[n]));
    return r;
  }
  function u0(e) {
    e != null && this.set(e);
  }
  var zi;
  Object.keys
    ? (zi = Object.keys)
    : (zi = function (e) {
        var t,
          r = [];
        for (t in e) Ee(e, t) && r.push(t);
        return r;
      });
  var tc = {
    sameDay: "[Today at] LT",
    nextDay: "[Tomorrow at] LT",
    nextWeek: "dddd [at] LT",
    lastDay: "[Yesterday at] LT",
    lastWeek: "[Last] dddd [at] LT",
    sameElse: "L",
  };
  function rc(e, t, r) {
    var n = this._calendar[e] || this._calendar.sameElse;
    return sr(n) ? n.call(t, r) : n;
  }
  function nr(e, t, r) {
    var n = "" + Math.abs(e),
      a = t - n.length,
      i = e >= 0;
    return (
      (i ? (r ? "+" : "") : "-") +
      Math.pow(10, Math.max(0, a)).toString().substr(1) +
      n
    );
  }
  var c0 =
      /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
    pa = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
    Ii = {},
    _n = {};
  function ue(e, t, r, n) {
    var a = n;
    typeof n == "string" &&
      (a = function () {
        return this[n]();
      }),
      e && (_n[e] = a),
      t &&
        (_n[t[0]] = function () {
          return nr(a.apply(this, arguments), t[1], t[2]);
        }),
      r &&
        (_n[r] = function () {
          return this.localeData().ordinal(a.apply(this, arguments), e);
        });
  }
  function nc(e) {
    return e.match(/\[[\s\S]/)
      ? e.replace(/^\[|\]$/g, "")
      : e.replace(/\\/g, "");
  }
  function ac(e) {
    var t = e.match(c0),
      r,
      n;
    for (r = 0, n = t.length; r < n; r++)
      _n[t[r]] ? (t[r] = _n[t[r]]) : (t[r] = nc(t[r]));
    return function (a) {
      var i = "",
        s;
      for (s = 0; s < n; s++) i += sr(t[s]) ? t[s].call(a, e) : t[s];
      return i;
    };
  }
  function La(e, t) {
    return e.isValid()
      ? ((t = Tf(t, e.localeData())), (Ii[t] = Ii[t] || ac(t)), Ii[t](e))
      : e.localeData().invalidDate();
  }
  function Tf(e, t) {
    var r = 5;
    function n(a) {
      return t.longDateFormat(a) || a;
    }
    for (pa.lastIndex = 0; r >= 0 && pa.test(e); )
      (e = e.replace(pa, n)), (pa.lastIndex = 0), (r -= 1);
    return e;
  }
  var ic = {
    LTS: "h:mm:ss A",
    LT: "h:mm A",
    L: "MM/DD/YYYY",
    LL: "MMMM D, YYYY",
    LLL: "MMMM D, YYYY h:mm A",
    LLLL: "dddd, MMMM D, YYYY h:mm A",
  };
  function sc(e) {
    var t = this._longDateFormat[e],
      r = this._longDateFormat[e.toUpperCase()];
    return t || !r
      ? t
      : ((this._longDateFormat[e] = r
          .match(c0)
          .map(function (n) {
            return n === "MMMM" || n === "MM" || n === "DD" || n === "dddd"
              ? n.slice(1)
              : n;
          })
          .join("")),
        this._longDateFormat[e]);
  }
  var fc = "Invalid date";
  function oc() {
    return this._invalidDate;
  }
  var lc = "%d",
    uc = /\d{1,2}/;
  function cc(e) {
    return this._ordinal.replace("%d", e);
  }
  var hc = {
    future: "in %s",
    past: "%s ago",
    s: "a few seconds",
    ss: "%d seconds",
    m: "a minute",
    mm: "%d minutes",
    h: "an hour",
    hh: "%d hours",
    d: "a day",
    dd: "%d days",
    w: "a week",
    ww: "%d weeks",
    M: "a month",
    MM: "%d months",
    y: "a year",
    yy: "%d years",
  };
  function dc(e, t, r, n) {
    var a = this._relativeTime[r];
    return sr(a) ? a(e, t, r, n) : a.replace(/%d/i, e);
  }
  function _c(e, t) {
    var r = this._relativeTime[e > 0 ? "future" : "past"];
    return sr(r) ? r(t) : r.replace(/%s/i, t);
  }
  var Un = {};
  function vt(e, t) {
    var r = e.toLowerCase();
    Un[r] = Un[r + "s"] = Un[t] = e;
  }
  function Ht(e) {
    return typeof e == "string" ? Un[e] || Un[e.toLowerCase()] : void 0;
  }
  function h0(e) {
    var t = {},
      r,
      n;
    for (n in e) Ee(e, n) && ((r = Ht(n)), r && (t[r] = e[n]));
    return t;
  }
  var Ef = {};
  function gt(e, t) {
    Ef[e] = t;
  }
  function xc(e) {
    var t = [],
      r;
    for (r in e) Ee(e, r) && t.push({ unit: r, priority: Ef[r] });
    return (
      t.sort(function (n, a) {
        return n.priority - a.priority;
      }),
      t
    );
  }
  function ei(e) {
    return (e % 4 === 0 && e % 100 !== 0) || e % 400 === 0;
  }
  function Ut(e) {
    return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
  }
  function me(e) {
    var t = +e,
      r = 0;
    return t !== 0 && isFinite(t) && (r = Ut(t)), r;
  }
  function wn(e, t) {
    return function (r) {
      return r != null
        ? (wf(this, e, r), re.updateOffset(this, t), this)
        : Ia(this, e);
    };
  }
  function Ia(e, t) {
    return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN;
  }
  function wf(e, t, r) {
    e.isValid() &&
      !isNaN(r) &&
      (t === "FullYear" && ei(e.year()) && e.month() === 1 && e.date() === 29
        ? ((r = me(r)),
          e._d["set" + (e._isUTC ? "UTC" : "") + t](
            r,
            e.month(),
            si(r, e.month())
          ))
        : e._d["set" + (e._isUTC ? "UTC" : "") + t](r));
  }
  function mc(e) {
    return (e = Ht(e)), sr(this[e]) ? this[e]() : this;
  }
  function pc(e, t) {
    if (typeof e == "object") {
      e = h0(e);
      var r = xc(e),
        n,
        a = r.length;
      for (n = 0; n < a; n++) this[r[n].unit](e[r[n].unit]);
    } else if (((e = Ht(e)), sr(this[e]))) return this[e](t);
    return this;
  }
  var Sf = /\d/,
    Mt = /\d\d/,
    Af = /\d{3}/,
    d0 = /\d{4}/,
    ti = /[+-]?\d{6}/,
    Be = /\d\d?/,
    yf = /\d\d\d\d?/,
    Ff = /\d\d\d\d\d\d?/,
    ri = /\d{1,3}/,
    _0 = /\d{1,4}/,
    ni = /[+-]?\d{1,6}/,
    Sn = /\d+/,
    ai = /[+-]?\d+/,
    vc = /Z|[+-]\d\d:?\d\d/gi,
    ii = /Z|[+-]\d\d(?::?\d\d)?/gi,
    gc = /[+-]?\d+(\.\d{1,3})?/,
    ia =
      /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
    Da;
  Da = {};
  function se(e, t, r) {
    Da[e] = sr(t)
      ? t
      : function (n, a) {
          return n && r ? r : t;
        };
  }
  function Tc(e, t) {
    return Ee(Da, e) ? Da[e](t._strict, t._locale) : new RegExp(Ec(e));
  }
  function Ec(e) {
    return It(
      e
        .replace("\\", "")
        .replace(
          /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
          function (t, r, n, a, i) {
            return r || n || a || i;
          }
        )
    );
  }
  function It(e) {
    return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
  }
  var Ji = {};
  function Ie(e, t) {
    var r,
      n = t,
      a;
    for (
      typeof e == "string" && (e = [e]),
        gr(t) &&
          (n = function (i, s) {
            s[t] = me(i);
          }),
        a = e.length,
        r = 0;
      r < a;
      r++
    )
      Ji[e[r]] = n;
  }
  function sa(e, t) {
    Ie(e, function (r, n, a, i) {
      (a._w = a._w || {}), t(r, a._w, a, i);
    });
  }
  function wc(e, t, r) {
    t != null && Ee(Ji, e) && Ji[e](t, r._a, r, e);
  }
  var xt = 0,
    hr = 1,
    rr = 2,
    Ze = 3,
    jt = 4,
    dr = 5,
    Gr = 6,
    Sc = 7,
    Ac = 8;
  function yc(e, t) {
    return ((e % t) + t) % t;
  }
  var $e;
  Array.prototype.indexOf
    ? ($e = Array.prototype.indexOf)
    : ($e = function (e) {
        var t;
        for (t = 0; t < this.length; ++t) if (this[t] === e) return t;
        return -1;
      });
  function si(e, t) {
    if (isNaN(e) || isNaN(t)) return NaN;
    var r = yc(t, 12);
    return (
      (e += (t - r) / 12), r === 1 ? (ei(e) ? 29 : 28) : 31 - ((r % 7) % 2)
    );
  }
  ue("M", ["MM", 2], "Mo", function () {
    return this.month() + 1;
  });
  ue("MMM", 0, 0, function (e) {
    return this.localeData().monthsShort(this, e);
  });
  ue("MMMM", 0, 0, function (e) {
    return this.localeData().months(this, e);
  });
  vt("month", "M");
  gt("month", 8);
  se("M", Be);
  se("MM", Be, Mt);
  se("MMM", function (e, t) {
    return t.monthsShortRegex(e);
  });
  se("MMMM", function (e, t) {
    return t.monthsRegex(e);
  });
  Ie(["M", "MM"], function (e, t) {
    t[hr] = me(e) - 1;
  });
  Ie(["MMM", "MMMM"], function (e, t, r, n) {
    var a = r._locale.monthsParse(e, n, r._strict);
    a != null ? (t[hr] = a) : (de(r).invalidMonth = e);
  });
  var Fc =
      "January_February_March_April_May_June_July_August_September_October_November_December".split(
        "_"
      ),
    Lf = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
    Of = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
    Lc = ia,
    Oc = ia;
  function Rc(e, t) {
    return e
      ? zt(this._months)
        ? this._months[e.month()]
        : this._months[
            (this._months.isFormat || Of).test(t) ? "format" : "standalone"
          ][e.month()]
      : zt(this._months)
      ? this._months
      : this._months.standalone;
  }
  function Cc(e, t) {
    return e
      ? zt(this._monthsShort)
        ? this._monthsShort[e.month()]
        : this._monthsShort[Of.test(t) ? "format" : "standalone"][e.month()]
      : zt(this._monthsShort)
      ? this._monthsShort
      : this._monthsShort.standalone;
  }
  function Ic(e, t, r) {
    var n,
      a,
      i,
      s = e.toLocaleLowerCase();
    if (!this._monthsParse)
      for (
        this._monthsParse = [],
          this._longMonthsParse = [],
          this._shortMonthsParse = [],
          n = 0;
        n < 12;
        ++n
      )
        (i = ir([2e3, n])),
          (this._shortMonthsParse[n] = this.monthsShort(
            i,
            ""
          ).toLocaleLowerCase()),
          (this._longMonthsParse[n] = this.months(i, "").toLocaleLowerCase());
    return r
      ? t === "MMM"
        ? ((a = $e.call(this._shortMonthsParse, s)), a !== -1 ? a : null)
        : ((a = $e.call(this._longMonthsParse, s)), a !== -1 ? a : null)
      : t === "MMM"
      ? ((a = $e.call(this._shortMonthsParse, s)),
        a !== -1
          ? a
          : ((a = $e.call(this._longMonthsParse, s)), a !== -1 ? a : null))
      : ((a = $e.call(this._longMonthsParse, s)),
        a !== -1
          ? a
          : ((a = $e.call(this._shortMonthsParse, s)), a !== -1 ? a : null));
  }
  function Dc(e, t, r) {
    var n, a, i;
    if (this._monthsParseExact) return Ic.call(this, e, t, r);
    for (
      this._monthsParse ||
        ((this._monthsParse = []),
        (this._longMonthsParse = []),
        (this._shortMonthsParse = [])),
        n = 0;
      n < 12;
      n++
    ) {
      if (
        ((a = ir([2e3, n])),
        r &&
          !this._longMonthsParse[n] &&
          ((this._longMonthsParse[n] = new RegExp(
            "^" + this.months(a, "").replace(".", "") + "$",
            "i"
          )),
          (this._shortMonthsParse[n] = new RegExp(
            "^" + this.monthsShort(a, "").replace(".", "") + "$",
            "i"
          ))),
        !r &&
          !this._monthsParse[n] &&
          ((i = "^" + this.months(a, "") + "|^" + this.monthsShort(a, "")),
          (this._monthsParse[n] = new RegExp(i.replace(".", ""), "i"))),
        r && t === "MMMM" && this._longMonthsParse[n].test(e))
      )
        return n;
      if (r && t === "MMM" && this._shortMonthsParse[n].test(e)) return n;
      if (!r && this._monthsParse[n].test(e)) return n;
    }
  }
  function Rf(e, t) {
    var r;
    if (!e.isValid()) return e;
    if (typeof t == "string") {
      if (/^\d+$/.test(t)) t = me(t);
      else if (((t = e.localeData().monthsParse(t)), !gr(t))) return e;
    }
    return (
      (r = Math.min(e.date(), si(e.year(), t))),
      e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, r),
      e
    );
  }
  function Cf(e) {
    return e != null
      ? (Rf(this, e), re.updateOffset(this, !0), this)
      : Ia(this, "Month");
  }
  function Nc() {
    return si(this.year(), this.month());
  }
  function kc(e) {
    return this._monthsParseExact
      ? (Ee(this, "_monthsRegex") || If.call(this),
        e ? this._monthsShortStrictRegex : this._monthsShortRegex)
      : (Ee(this, "_monthsShortRegex") || (this._monthsShortRegex = Lc),
        this._monthsShortStrictRegex && e
          ? this._monthsShortStrictRegex
          : this._monthsShortRegex);
  }
  function Mc(e) {
    return this._monthsParseExact
      ? (Ee(this, "_monthsRegex") || If.call(this),
        e ? this._monthsStrictRegex : this._monthsRegex)
      : (Ee(this, "_monthsRegex") || (this._monthsRegex = Oc),
        this._monthsStrictRegex && e
          ? this._monthsStrictRegex
          : this._monthsRegex);
  }
  function If() {
    function e(s, f) {
      return f.length - s.length;
    }
    var t = [],
      r = [],
      n = [],
      a,
      i;
    for (a = 0; a < 12; a++)
      (i = ir([2e3, a])),
        t.push(this.monthsShort(i, "")),
        r.push(this.months(i, "")),
        n.push(this.months(i, "")),
        n.push(this.monthsShort(i, ""));
    for (t.sort(e), r.sort(e), n.sort(e), a = 0; a < 12; a++)
      (t[a] = It(t[a])), (r[a] = It(r[a]));
    for (a = 0; a < 24; a++) n[a] = It(n[a]);
    (this._monthsRegex = new RegExp("^(" + n.join("|") + ")", "i")),
      (this._monthsShortRegex = this._monthsRegex),
      (this._monthsStrictRegex = new RegExp("^(" + r.join("|") + ")", "i")),
      (this._monthsShortStrictRegex = new RegExp(
        "^(" + t.join("|") + ")",
        "i"
      ));
  }
  ue("Y", 0, 0, function () {
    var e = this.year();
    return e <= 9999 ? nr(e, 4) : "+" + e;
  });
  ue(0, ["YY", 2], 0, function () {
    return this.year() % 100;
  });
  ue(0, ["YYYY", 4], 0, "year");
  ue(0, ["YYYYY", 5], 0, "year");
  ue(0, ["YYYYYY", 6, !0], 0, "year");
  vt("year", "y");
  gt("year", 1);
  se("Y", ai);
  se("YY", Be, Mt);
  se("YYYY", _0, d0);
  se("YYYYY", ni, ti);
  se("YYYYYY", ni, ti);
  Ie(["YYYYY", "YYYYYY"], xt);
  Ie("YYYY", function (e, t) {
    t[xt] = e.length === 2 ? re.parseTwoDigitYear(e) : me(e);
  });
  Ie("YY", function (e, t) {
    t[xt] = re.parseTwoDigitYear(e);
  });
  Ie("Y", function (e, t) {
    t[xt] = parseInt(e, 10);
  });
  function Wn(e) {
    return ei(e) ? 366 : 365;
  }
  re.parseTwoDigitYear = function (e) {
    return me(e) + (me(e) > 68 ? 1900 : 2e3);
  };
  var Df = wn("FullYear", !0);
  function Pc() {
    return ei(this.year());
  }
  function Bc(e, t, r, n, a, i, s) {
    var f;
    return (
      e < 100 && e >= 0
        ? ((f = new Date(e + 400, t, r, n, a, i, s)),
          isFinite(f.getFullYear()) && f.setFullYear(e))
        : (f = new Date(e, t, r, n, a, i, s)),
      f
    );
  }
  function Xn(e) {
    var t, r;
    return (
      e < 100 && e >= 0
        ? ((r = Array.prototype.slice.call(arguments)),
          (r[0] = e + 400),
          (t = new Date(Date.UTC.apply(null, r))),
          isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e))
        : (t = new Date(Date.UTC.apply(null, arguments))),
      t
    );
  }
  function Na(e, t, r) {
    var n = 7 + t - r,
      a = (7 + Xn(e, 0, n).getUTCDay() - t) % 7;
    return -a + n - 1;
  }
  function Nf(e, t, r, n, a) {
    var i = (7 + r - n) % 7,
      s = Na(e, n, a),
      f = 1 + 7 * (t - 1) + i + s,
      o,
      l;
    return (
      f <= 0
        ? ((o = e - 1), (l = Wn(o) + f))
        : f > Wn(e)
        ? ((o = e + 1), (l = f - Wn(e)))
        : ((o = e), (l = f)),
      { year: o, dayOfYear: l }
    );
  }
  function Kn(e, t, r) {
    var n = Na(e.year(), t, r),
      a = Math.floor((e.dayOfYear() - n - 1) / 7) + 1,
      i,
      s;
    return (
      a < 1
        ? ((s = e.year() - 1), (i = a + xr(s, t, r)))
        : a > xr(e.year(), t, r)
        ? ((i = a - xr(e.year(), t, r)), (s = e.year() + 1))
        : ((s = e.year()), (i = a)),
      { week: i, year: s }
    );
  }
  function xr(e, t, r) {
    var n = Na(e, t, r),
      a = Na(e + 1, t, r);
    return (Wn(e) - n + a) / 7;
  }
  ue("w", ["ww", 2], "wo", "week");
  ue("W", ["WW", 2], "Wo", "isoWeek");
  vt("week", "w");
  vt("isoWeek", "W");
  gt("week", 5);
  gt("isoWeek", 5);
  se("w", Be);
  se("ww", Be, Mt);
  se("W", Be);
  se("WW", Be, Mt);
  sa(["w", "ww", "W", "WW"], function (e, t, r, n) {
    t[n.substr(0, 1)] = me(e);
  });
  function bc(e) {
    return Kn(e, this._week.dow, this._week.doy).week;
  }
  var Uc = { dow: 0, doy: 6 };
  function Wc() {
    return this._week.dow;
  }
  function Hc() {
    return this._week.doy;
  }
  function Yc(e) {
    var t = this.localeData().week(this);
    return e == null ? t : this.add((e - t) * 7, "d");
  }
  function Gc(e) {
    var t = Kn(this, 1, 4).week;
    return e == null ? t : this.add((e - t) * 7, "d");
  }
  ue("d", 0, "do", "day");
  ue("dd", 0, 0, function (e) {
    return this.localeData().weekdaysMin(this, e);
  });
  ue("ddd", 0, 0, function (e) {
    return this.localeData().weekdaysShort(this, e);
  });
  ue("dddd", 0, 0, function (e) {
    return this.localeData().weekdays(this, e);
  });
  ue("e", 0, 0, "weekday");
  ue("E", 0, 0, "isoWeekday");
  vt("day", "d");
  vt("weekday", "e");
  vt("isoWeekday", "E");
  gt("day", 11);
  gt("weekday", 11);
  gt("isoWeekday", 11);
  se("d", Be);
  se("e", Be);
  se("E", Be);
  se("dd", function (e, t) {
    return t.weekdaysMinRegex(e);
  });
  se("ddd", function (e, t) {
    return t.weekdaysShortRegex(e);
  });
  se("dddd", function (e, t) {
    return t.weekdaysRegex(e);
  });
  sa(["dd", "ddd", "dddd"], function (e, t, r, n) {
    var a = r._locale.weekdaysParse(e, n, r._strict);
    a != null ? (t.d = a) : (de(r).invalidWeekday = e);
  });
  sa(["d", "e", "E"], function (e, t, r, n) {
    t[n] = me(e);
  });
  function Vc(e, t) {
    return typeof e != "string"
      ? e
      : isNaN(e)
      ? ((e = t.weekdaysParse(e)), typeof e == "number" ? e : null)
      : parseInt(e, 10);
  }
  function $c(e, t) {
    return typeof e == "string"
      ? t.weekdaysParse(e) % 7 || 7
      : isNaN(e)
      ? null
      : e;
  }
  function x0(e, t) {
    return e.slice(t, 7).concat(e.slice(0, t));
  }
  var jc = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split(
      "_"
    ),
    kf = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
    Xc = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
    Kc = ia,
    zc = ia,
    Jc = ia;
  function Zc(e, t) {
    var r = zt(this._weekdays)
      ? this._weekdays
      : this._weekdays[
          e && e !== !0 && this._weekdays.isFormat.test(t)
            ? "format"
            : "standalone"
        ];
    return e === !0 ? x0(r, this._week.dow) : e ? r[e.day()] : r;
  }
  function qc(e) {
    return e === !0
      ? x0(this._weekdaysShort, this._week.dow)
      : e
      ? this._weekdaysShort[e.day()]
      : this._weekdaysShort;
  }
  function Qc(e) {
    return e === !0
      ? x0(this._weekdaysMin, this._week.dow)
      : e
      ? this._weekdaysMin[e.day()]
      : this._weekdaysMin;
  }
  function eh(e, t, r) {
    var n,
      a,
      i,
      s = e.toLocaleLowerCase();
    if (!this._weekdaysParse)
      for (
        this._weekdaysParse = [],
          this._shortWeekdaysParse = [],
          this._minWeekdaysParse = [],
          n = 0;
        n < 7;
        ++n
      )
        (i = ir([2e3, 1]).day(n)),
          (this._minWeekdaysParse[n] = this.weekdaysMin(
            i,
            ""
          ).toLocaleLowerCase()),
          (this._shortWeekdaysParse[n] = this.weekdaysShort(
            i,
            ""
          ).toLocaleLowerCase()),
          (this._weekdaysParse[n] = this.weekdays(i, "").toLocaleLowerCase());
    return r
      ? t === "dddd"
        ? ((a = $e.call(this._weekdaysParse, s)), a !== -1 ? a : null)
        : t === "ddd"
        ? ((a = $e.call(this._shortWeekdaysParse, s)), a !== -1 ? a : null)
        : ((a = $e.call(this._minWeekdaysParse, s)), a !== -1 ? a : null)
      : t === "dddd"
      ? ((a = $e.call(this._weekdaysParse, s)),
        a !== -1 || ((a = $e.call(this._shortWeekdaysParse, s)), a !== -1)
          ? a
          : ((a = $e.call(this._minWeekdaysParse, s)), a !== -1 ? a : null))
      : t === "ddd"
      ? ((a = $e.call(this._shortWeekdaysParse, s)),
        a !== -1 || ((a = $e.call(this._weekdaysParse, s)), a !== -1)
          ? a
          : ((a = $e.call(this._minWeekdaysParse, s)), a !== -1 ? a : null))
      : ((a = $e.call(this._minWeekdaysParse, s)),
        a !== -1 || ((a = $e.call(this._weekdaysParse, s)), a !== -1)
          ? a
          : ((a = $e.call(this._shortWeekdaysParse, s)), a !== -1 ? a : null));
  }
  function th(e, t, r) {
    var n, a, i;
    if (this._weekdaysParseExact) return eh.call(this, e, t, r);
    for (
      this._weekdaysParse ||
        ((this._weekdaysParse = []),
        (this._minWeekdaysParse = []),
        (this._shortWeekdaysParse = []),
        (this._fullWeekdaysParse = [])),
        n = 0;
      n < 7;
      n++
    ) {
      if (
        ((a = ir([2e3, 1]).day(n)),
        r &&
          !this._fullWeekdaysParse[n] &&
          ((this._fullWeekdaysParse[n] = new RegExp(
            "^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
            "i"
          )),
          (this._shortWeekdaysParse[n] = new RegExp(
            "^" + this.weekdaysShort(a, "").replace(".", "\\.?") + "$",
            "i"
          )),
          (this._minWeekdaysParse[n] = new RegExp(
            "^" + this.weekdaysMin(a, "").replace(".", "\\.?") + "$",
            "i"
          ))),
        this._weekdaysParse[n] ||
          ((i =
            "^" +
            this.weekdays(a, "") +
            "|^" +
            this.weekdaysShort(a, "") +
            "|^" +
            this.weekdaysMin(a, "")),
          (this._weekdaysParse[n] = new RegExp(i.replace(".", ""), "i"))),
        r && t === "dddd" && this._fullWeekdaysParse[n].test(e))
      )
        return n;
      if (r && t === "ddd" && this._shortWeekdaysParse[n].test(e)) return n;
      if (r && t === "dd" && this._minWeekdaysParse[n].test(e)) return n;
      if (!r && this._weekdaysParse[n].test(e)) return n;
    }
  }
  function rh(e) {
    if (!this.isValid()) return e != null ? this : NaN;
    var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
    return e != null
      ? ((e = Vc(e, this.localeData())), this.add(e - t, "d"))
      : t;
  }
  function nh(e) {
    if (!this.isValid()) return e != null ? this : NaN;
    var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
    return e == null ? t : this.add(e - t, "d");
  }
  function ah(e) {
    if (!this.isValid()) return e != null ? this : NaN;
    if (e != null) {
      var t = $c(e, this.localeData());
      return this.day(this.day() % 7 ? t : t - 7);
    } else return this.day() || 7;
  }
  function ih(e) {
    return this._weekdaysParseExact
      ? (Ee(this, "_weekdaysRegex") || m0.call(this),
        e ? this._weekdaysStrictRegex : this._weekdaysRegex)
      : (Ee(this, "_weekdaysRegex") || (this._weekdaysRegex = Kc),
        this._weekdaysStrictRegex && e
          ? this._weekdaysStrictRegex
          : this._weekdaysRegex);
  }
  function sh(e) {
    return this._weekdaysParseExact
      ? (Ee(this, "_weekdaysRegex") || m0.call(this),
        e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
      : (Ee(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = zc),
        this._weekdaysShortStrictRegex && e
          ? this._weekdaysShortStrictRegex
          : this._weekdaysShortRegex);
  }
  function fh(e) {
    return this._weekdaysParseExact
      ? (Ee(this, "_weekdaysRegex") || m0.call(this),
        e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
      : (Ee(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Jc),
        this._weekdaysMinStrictRegex && e
          ? this._weekdaysMinStrictRegex
          : this._weekdaysMinRegex);
  }
  function m0() {
    function e(u, x) {
      return x.length - u.length;
    }
    var t = [],
      r = [],
      n = [],
      a = [],
      i,
      s,
      f,
      o,
      l;
    for (i = 0; i < 7; i++)
      (s = ir([2e3, 1]).day(i)),
        (f = It(this.weekdaysMin(s, ""))),
        (o = It(this.weekdaysShort(s, ""))),
        (l = It(this.weekdays(s, ""))),
        t.push(f),
        r.push(o),
        n.push(l),
        a.push(f),
        a.push(o),
        a.push(l);
    t.sort(e),
      r.sort(e),
      n.sort(e),
      a.sort(e),
      (this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i")),
      (this._weekdaysShortRegex = this._weekdaysRegex),
      (this._weekdaysMinRegex = this._weekdaysRegex),
      (this._weekdaysStrictRegex = new RegExp("^(" + n.join("|") + ")", "i")),
      (this._weekdaysShortStrictRegex = new RegExp(
        "^(" + r.join("|") + ")",
        "i"
      )),
      (this._weekdaysMinStrictRegex = new RegExp(
        "^(" + t.join("|") + ")",
        "i"
      ));
  }
  function p0() {
    return this.hours() % 12 || 12;
  }
  function oh() {
    return this.hours() || 24;
  }
  ue("H", ["HH", 2], 0, "hour");
  ue("h", ["hh", 2], 0, p0);
  ue("k", ["kk", 2], 0, oh);
  ue("hmm", 0, 0, function () {
    return "" + p0.apply(this) + nr(this.minutes(), 2);
  });
  ue("hmmss", 0, 0, function () {
    return "" + p0.apply(this) + nr(this.minutes(), 2) + nr(this.seconds(), 2);
  });
  ue("Hmm", 0, 0, function () {
    return "" + this.hours() + nr(this.minutes(), 2);
  });
  ue("Hmmss", 0, 0, function () {
    return "" + this.hours() + nr(this.minutes(), 2) + nr(this.seconds(), 2);
  });
  function Mf(e, t) {
    ue(e, 0, 0, function () {
      return this.localeData().meridiem(this.hours(), this.minutes(), t);
    });
  }
  Mf("a", !0);
  Mf("A", !1);
  vt("hour", "h");
  gt("hour", 13);
  function Pf(e, t) {
    return t._meridiemParse;
  }
  se("a", Pf);
  se("A", Pf);
  se("H", Be);
  se("h", Be);
  se("k", Be);
  se("HH", Be, Mt);
  se("hh", Be, Mt);
  se("kk", Be, Mt);
  se("hmm", yf);
  se("hmmss", Ff);
  se("Hmm", yf);
  se("Hmmss", Ff);
  Ie(["H", "HH"], Ze);
  Ie(["k", "kk"], function (e, t, r) {
    var n = me(e);
    t[Ze] = n === 24 ? 0 : n;
  });
  Ie(["a", "A"], function (e, t, r) {
    (r._isPm = r._locale.isPM(e)), (r._meridiem = e);
  });
  Ie(["h", "hh"], function (e, t, r) {
    (t[Ze] = me(e)), (de(r).bigHour = !0);
  });
  Ie("hmm", function (e, t, r) {
    var n = e.length - 2;
    (t[Ze] = me(e.substr(0, n))),
      (t[jt] = me(e.substr(n))),
      (de(r).bigHour = !0);
  });
  Ie("hmmss", function (e, t, r) {
    var n = e.length - 4,
      a = e.length - 2;
    (t[Ze] = me(e.substr(0, n))),
      (t[jt] = me(e.substr(n, 2))),
      (t[dr] = me(e.substr(a))),
      (de(r).bigHour = !0);
  });
  Ie("Hmm", function (e, t, r) {
    var n = e.length - 2;
    (t[Ze] = me(e.substr(0, n))), (t[jt] = me(e.substr(n)));
  });
  Ie("Hmmss", function (e, t, r) {
    var n = e.length - 4,
      a = e.length - 2;
    (t[Ze] = me(e.substr(0, n))),
      (t[jt] = me(e.substr(n, 2))),
      (t[dr] = me(e.substr(a)));
  });
  function lh(e) {
    return (e + "").toLowerCase().charAt(0) === "p";
  }
  var uh = /[ap]\.?m?\.?/i,
    ch = wn("Hours", !0);
  function hh(e, t, r) {
    return e > 11 ? (r ? "pm" : "PM") : r ? "am" : "AM";
  }
  var Bf = {
      calendar: tc,
      longDateFormat: ic,
      invalidDate: fc,
      ordinal: lc,
      dayOfMonthOrdinalParse: uc,
      relativeTime: hc,
      months: Fc,
      monthsShort: Lf,
      week: Uc,
      weekdays: jc,
      weekdaysMin: Xc,
      weekdaysShort: kf,
      meridiemParse: uh,
    },
    Ue = {},
    kn = {},
    zn;
  function dh(e, t) {
    var r,
      n = Math.min(e.length, t.length);
    for (r = 0; r < n; r += 1) if (e[r] !== t[r]) return r;
    return n;
  }
  function ds(e) {
    return e && e.toLowerCase().replace("_", "-");
  }
  function _h(e) {
    for (var t = 0, r, n, a, i; t < e.length; ) {
      for (
        i = ds(e[t]).split("-"),
          r = i.length,
          n = ds(e[t + 1]),
          n = n ? n.split("-") : null;
        r > 0;

      ) {
        if (((a = fi(i.slice(0, r).join("-"))), a)) return a;
        if (n && n.length >= r && dh(i, n) >= r - 1) break;
        r--;
      }
      t++;
    }
    return zn;
  }
  function xh(e) {
    return e.match("^[^/\\\\]*$") != null;
  }
  function fi(e) {
    var t = null,
      r;
    if (
      Ue[e] === void 0 &&
      typeof Ca != "undefined" &&
      Ca &&
      Ca.exports &&
      xh(e)
    )
      try {
        (t = zn._abbr), (r = require), r("./locale/" + e), Cr(t);
      } catch {
        Ue[e] = null;
      }
    return Ue[e];
  }
  function Cr(e, t) {
    var r;
    return (
      e &&
        (At(t) ? (r = wr(e)) : (r = v0(e, t)),
        r
          ? (zn = r)
          : typeof console != "undefined" &&
            console.warn &&
            console.warn(
              "Locale " + e + " not found. Did you forget to load it?"
            )),
      zn._abbr
    );
  }
  function v0(e, t) {
    if (t !== null) {
      var r,
        n = Bf;
      if (((t.abbr = e), Ue[e] != null))
        gf(
          "defineLocaleOverride",
          "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
        ),
          (n = Ue[e]._config);
      else if (t.parentLocale != null)
        if (Ue[t.parentLocale] != null) n = Ue[t.parentLocale]._config;
        else if (((r = fi(t.parentLocale)), r != null)) n = r._config;
        else
          return (
            kn[t.parentLocale] || (kn[t.parentLocale] = []),
            kn[t.parentLocale].push({ name: e, config: t }),
            null
          );
      return (
        (Ue[e] = new u0(Ki(n, t))),
        kn[e] &&
          kn[e].forEach(function (a) {
            v0(a.name, a.config);
          }),
        Cr(e),
        Ue[e]
      );
    } else return delete Ue[e], null;
  }
  function mh(e, t) {
    if (t != null) {
      var r,
        n,
        a = Bf;
      Ue[e] != null && Ue[e].parentLocale != null
        ? Ue[e].set(Ki(Ue[e]._config, t))
        : ((n = fi(e)),
          n != null && (a = n._config),
          (t = Ki(a, t)),
          n == null && (t.abbr = e),
          (r = new u0(t)),
          (r.parentLocale = Ue[e]),
          (Ue[e] = r)),
        Cr(e);
    } else
      Ue[e] != null &&
        (Ue[e].parentLocale != null
          ? ((Ue[e] = Ue[e].parentLocale), e === Cr() && Cr(e))
          : Ue[e] != null && delete Ue[e]);
    return Ue[e];
  }
  function wr(e) {
    var t;
    if ((e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e))
      return zn;
    if (!zt(e)) {
      if (((t = fi(e)), t)) return t;
      e = [e];
    }
    return _h(e);
  }
  function ph() {
    return zi(Ue);
  }
  function g0(e) {
    var t,
      r = e._a;
    return (
      r &&
        de(e).overflow === -2 &&
        ((t =
          r[hr] < 0 || r[hr] > 11
            ? hr
            : r[rr] < 1 || r[rr] > si(r[xt], r[hr])
            ? rr
            : r[Ze] < 0 ||
              r[Ze] > 24 ||
              (r[Ze] === 24 && (r[jt] !== 0 || r[dr] !== 0 || r[Gr] !== 0))
            ? Ze
            : r[jt] < 0 || r[jt] > 59
            ? jt
            : r[dr] < 0 || r[dr] > 59
            ? dr
            : r[Gr] < 0 || r[Gr] > 999
            ? Gr
            : -1),
        de(e)._overflowDayOfYear && (t < xt || t > rr) && (t = rr),
        de(e)._overflowWeeks && t === -1 && (t = Sc),
        de(e)._overflowWeekday && t === -1 && (t = Ac),
        (de(e).overflow = t)),
      e
    );
  }
  var vh =
      /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
    gh =
      /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
    Th = /Z|[+-]\d\d(?::?\d\d)?/,
    va = [
      ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
      ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
      ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
      ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
      ["YYYY-DDD", /\d{4}-\d{3}/],
      ["YYYY-MM", /\d{4}-\d\d/, !1],
      ["YYYYYYMMDD", /[+-]\d{10}/],
      ["YYYYMMDD", /\d{8}/],
      ["GGGG[W]WWE", /\d{4}W\d{3}/],
      ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
      ["YYYYDDD", /\d{7}/],
      ["YYYYMM", /\d{6}/, !1],
      ["YYYY", /\d{4}/, !1],
    ],
    Di = [
      ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
      ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
      ["HH:mm:ss", /\d\d:\d\d:\d\d/],
      ["HH:mm", /\d\d:\d\d/],
      ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
      ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
      ["HHmmss", /\d\d\d\d\d\d/],
      ["HHmm", /\d\d\d\d/],
      ["HH", /\d\d/],
    ],
    Eh = /^\/?Date\((-?\d+)/i,
    wh =
      /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
    Sh = {
      UT: 0,
      GMT: 0,
      EDT: -4 * 60,
      EST: -5 * 60,
      CDT: -5 * 60,
      CST: -6 * 60,
      MDT: -6 * 60,
      MST: -7 * 60,
      PDT: -7 * 60,
      PST: -8 * 60,
    };
  function bf(e) {
    var t,
      r,
      n = e._i,
      a = vh.exec(n) || gh.exec(n),
      i,
      s,
      f,
      o,
      l = va.length,
      u = Di.length;
    if (a) {
      for (de(e).iso = !0, t = 0, r = l; t < r; t++)
        if (va[t][1].exec(a[1])) {
          (s = va[t][0]), (i = va[t][2] !== !1);
          break;
        }
      if (s == null) {
        e._isValid = !1;
        return;
      }
      if (a[3]) {
        for (t = 0, r = u; t < r; t++)
          if (Di[t][1].exec(a[3])) {
            f = (a[2] || " ") + Di[t][0];
            break;
          }
        if (f == null) {
          e._isValid = !1;
          return;
        }
      }
      if (!i && f != null) {
        e._isValid = !1;
        return;
      }
      if (a[4])
        if (Th.exec(a[4])) o = "Z";
        else {
          e._isValid = !1;
          return;
        }
      (e._f = s + (f || "") + (o || "")), E0(e);
    } else e._isValid = !1;
  }
  function Ah(e, t, r, n, a, i) {
    var s = [
      yh(e),
      Lf.indexOf(t),
      parseInt(r, 10),
      parseInt(n, 10),
      parseInt(a, 10),
    ];
    return i && s.push(parseInt(i, 10)), s;
  }
  function yh(e) {
    var t = parseInt(e, 10);
    return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
  }
  function Fh(e) {
    return e
      .replace(/\([^()]*\)|[\n\t]/g, " ")
      .replace(/(\s\s+)/g, " ")
      .replace(/^\s\s*/, "")
      .replace(/\s\s*$/, "");
  }
  function Lh(e, t, r) {
    if (e) {
      var n = kf.indexOf(e),
        a = new Date(t[0], t[1], t[2]).getDay();
      if (n !== a) return (de(r).weekdayMismatch = !0), (r._isValid = !1), !1;
    }
    return !0;
  }
  function Oh(e, t, r) {
    if (e) return Sh[e];
    if (t) return 0;
    var n = parseInt(r, 10),
      a = n % 100,
      i = (n - a) / 100;
    return i * 60 + a;
  }
  function Uf(e) {
    var t = wh.exec(Fh(e._i)),
      r;
    if (t) {
      if (((r = Ah(t[4], t[3], t[2], t[5], t[6], t[7])), !Lh(t[1], r, e)))
        return;
      (e._a = r),
        (e._tzm = Oh(t[8], t[9], t[10])),
        (e._d = Xn.apply(null, e._a)),
        e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm),
        (de(e).rfc2822 = !0);
    } else e._isValid = !1;
  }
  function Rh(e) {
    var t = Eh.exec(e._i);
    if (t !== null) {
      e._d = new Date(+t[1]);
      return;
    }
    if ((bf(e), e._isValid === !1)) delete e._isValid;
    else return;
    if ((Uf(e), e._isValid === !1)) delete e._isValid;
    else return;
    e._strict ? (e._isValid = !1) : re.createFromInputFallback(e);
  }
  re.createFromInputFallback = Wt(
    "value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
    function (e) {
      e._d = new Date(e._i + (e._useUTC ? " UTC" : ""));
    }
  );
  function un(e, t, r) {
    return e != null ? e : t != null ? t : r;
  }
  function Ch(e) {
    var t = new Date(re.now());
    return e._useUTC
      ? [t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()]
      : [t.getFullYear(), t.getMonth(), t.getDate()];
  }
  function T0(e) {
    var t,
      r,
      n = [],
      a,
      i,
      s;
    if (!e._d) {
      for (
        a = Ch(e),
          e._w && e._a[rr] == null && e._a[hr] == null && Ih(e),
          e._dayOfYear != null &&
            ((s = un(e._a[xt], a[xt])),
            (e._dayOfYear > Wn(s) || e._dayOfYear === 0) &&
              (de(e)._overflowDayOfYear = !0),
            (r = Xn(s, 0, e._dayOfYear)),
            (e._a[hr] = r.getUTCMonth()),
            (e._a[rr] = r.getUTCDate())),
          t = 0;
        t < 3 && e._a[t] == null;
        ++t
      )
        e._a[t] = n[t] = a[t];
      for (; t < 7; t++)
        e._a[t] = n[t] = e._a[t] == null ? (t === 2 ? 1 : 0) : e._a[t];
      e._a[Ze] === 24 &&
        e._a[jt] === 0 &&
        e._a[dr] === 0 &&
        e._a[Gr] === 0 &&
        ((e._nextDay = !0), (e._a[Ze] = 0)),
        (e._d = (e._useUTC ? Xn : Bc).apply(null, n)),
        (i = e._useUTC ? e._d.getUTCDay() : e._d.getDay()),
        e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm),
        e._nextDay && (e._a[Ze] = 24),
        e._w &&
          typeof e._w.d != "undefined" &&
          e._w.d !== i &&
          (de(e).weekdayMismatch = !0);
    }
  }
  function Ih(e) {
    var t, r, n, a, i, s, f, o, l;
    (t = e._w),
      t.GG != null || t.W != null || t.E != null
        ? ((i = 1),
          (s = 4),
          (r = un(t.GG, e._a[xt], Kn(Me(), 1, 4).year)),
          (n = un(t.W, 1)),
          (a = un(t.E, 1)),
          (a < 1 || a > 7) && (o = !0))
        : ((i = e._locale._week.dow),
          (s = e._locale._week.doy),
          (l = Kn(Me(), i, s)),
          (r = un(t.gg, e._a[xt], l.year)),
          (n = un(t.w, l.week)),
          t.d != null
            ? ((a = t.d), (a < 0 || a > 6) && (o = !0))
            : t.e != null
            ? ((a = t.e + i), (t.e < 0 || t.e > 6) && (o = !0))
            : (a = i)),
      n < 1 || n > xr(r, i, s)
        ? (de(e)._overflowWeeks = !0)
        : o != null
        ? (de(e)._overflowWeekday = !0)
        : ((f = Nf(r, n, a, i, s)),
          (e._a[xt] = f.year),
          (e._dayOfYear = f.dayOfYear));
  }
  re.ISO_8601 = function () {};
  re.RFC_2822 = function () {};
  function E0(e) {
    if (e._f === re.ISO_8601) {
      bf(e);
      return;
    }
    if (e._f === re.RFC_2822) {
      Uf(e);
      return;
    }
    (e._a = []), (de(e).empty = !0);
    var t = "" + e._i,
      r,
      n,
      a,
      i,
      s,
      f = t.length,
      o = 0,
      l,
      u;
    for (
      a = Tf(e._f, e._locale).match(c0) || [], u = a.length, r = 0;
      r < u;
      r++
    )
      (i = a[r]),
        (n = (t.match(Tc(i, e)) || [])[0]),
        n &&
          ((s = t.substr(0, t.indexOf(n))),
          s.length > 0 && de(e).unusedInput.push(s),
          (t = t.slice(t.indexOf(n) + n.length)),
          (o += n.length)),
        _n[i]
          ? (n ? (de(e).empty = !1) : de(e).unusedTokens.push(i), wc(i, n, e))
          : e._strict && !n && de(e).unusedTokens.push(i);
    (de(e).charsLeftOver = f - o),
      t.length > 0 && de(e).unusedInput.push(t),
      e._a[Ze] <= 12 &&
        de(e).bigHour === !0 &&
        e._a[Ze] > 0 &&
        (de(e).bigHour = void 0),
      (de(e).parsedDateParts = e._a.slice(0)),
      (de(e).meridiem = e._meridiem),
      (e._a[Ze] = Dh(e._locale, e._a[Ze], e._meridiem)),
      (l = de(e).era),
      l !== null && (e._a[xt] = e._locale.erasConvertYear(l, e._a[xt])),
      T0(e),
      g0(e);
  }
  function Dh(e, t, r) {
    var n;
    return r == null
      ? t
      : e.meridiemHour != null
      ? e.meridiemHour(t, r)
      : (e.isPM != null &&
          ((n = e.isPM(r)),
          n && t < 12 && (t += 12),
          !n && t === 12 && (t = 0)),
        t);
  }
  function Nh(e) {
    var t,
      r,
      n,
      a,
      i,
      s,
      f = !1,
      o = e._f.length;
    if (o === 0) {
      (de(e).invalidFormat = !0), (e._d = new Date(NaN));
      return;
    }
    for (a = 0; a < o; a++)
      (i = 0),
        (s = !1),
        (t = l0({}, e)),
        e._useUTC != null && (t._useUTC = e._useUTC),
        (t._f = e._f[a]),
        E0(t),
        o0(t) && (s = !0),
        (i += de(t).charsLeftOver),
        (i += de(t).unusedTokens.length * 10),
        (de(t).score = i),
        f
          ? i < n && ((n = i), (r = t))
          : (n == null || i < n || s) && ((n = i), (r = t), s && (f = !0));
    Fr(e, r || t);
  }
  function kh(e) {
    if (!e._d) {
      var t = h0(e._i),
        r = t.day === void 0 ? t.date : t.day;
      (e._a = pf(
        [t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
        function (n) {
          return n && parseInt(n, 10);
        }
      )),
        T0(e);
    }
  }
  function Mh(e) {
    var t = new aa(g0(Wf(e)));
    return t._nextDay && (t.add(1, "d"), (t._nextDay = void 0)), t;
  }
  function Wf(e) {
    var t = e._i,
      r = e._f;
    return (
      (e._locale = e._locale || wr(e._l)),
      t === null || (r === void 0 && t === "")
        ? Qa({ nullInput: !0 })
        : (typeof t == "string" && (e._i = t = e._locale.preparse(t)),
          Jt(t)
            ? new aa(g0(t))
            : (na(t) ? (e._d = t) : zt(r) ? Nh(e) : r ? E0(e) : Ph(e),
              o0(e) || (e._d = null),
              e))
    );
  }
  function Ph(e) {
    var t = e._i;
    At(t)
      ? (e._d = new Date(re.now()))
      : na(t)
      ? (e._d = new Date(t.valueOf()))
      : typeof t == "string"
      ? Rh(e)
      : zt(t)
      ? ((e._a = pf(t.slice(0), function (r) {
          return parseInt(r, 10);
        })),
        T0(e))
      : Vr(t)
      ? kh(e)
      : gr(t)
      ? (e._d = new Date(t))
      : re.createFromInputFallback(e);
  }
  function Hf(e, t, r, n, a) {
    var i = {};
    return (
      (t === !0 || t === !1) && ((n = t), (t = void 0)),
      (r === !0 || r === !1) && ((n = r), (r = void 0)),
      ((Vr(e) && f0(e)) || (zt(e) && e.length === 0)) && (e = void 0),
      (i._isAMomentObject = !0),
      (i._useUTC = i._isUTC = a),
      (i._l = r),
      (i._i = e),
      (i._f = t),
      (i._strict = n),
      Mh(i)
    );
  }
  function Me(e, t, r, n) {
    return Hf(e, t, r, n, !1);
  }
  var Bh = Wt(
      "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
      function () {
        var e = Me.apply(null, arguments);
        return this.isValid() && e.isValid() ? (e < this ? this : e) : Qa();
      }
    ),
    bh = Wt(
      "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
      function () {
        var e = Me.apply(null, arguments);
        return this.isValid() && e.isValid() ? (e > this ? this : e) : Qa();
      }
    );
  function Yf(e, t) {
    var r, n;
    if ((t.length === 1 && zt(t[0]) && (t = t[0]), !t.length)) return Me();
    for (r = t[0], n = 1; n < t.length; ++n)
      (!t[n].isValid() || t[n][e](r)) && (r = t[n]);
    return r;
  }
  function Uh() {
    var e = [].slice.call(arguments, 0);
    return Yf("isBefore", e);
  }
  function Wh() {
    var e = [].slice.call(arguments, 0);
    return Yf("isAfter", e);
  }
  var Hh = function () {
      return Date.now ? Date.now() : +new Date();
    },
    Mn = [
      "year",
      "quarter",
      "month",
      "week",
      "day",
      "hour",
      "minute",
      "second",
      "millisecond",
    ];
  function Yh(e) {
    var t,
      r = !1,
      n,
      a = Mn.length;
    for (t in e)
      if (
        Ee(e, t) &&
        !($e.call(Mn, t) !== -1 && (e[t] == null || !isNaN(e[t])))
      )
        return !1;
    for (n = 0; n < a; ++n)
      if (e[Mn[n]]) {
        if (r) return !1;
        parseFloat(e[Mn[n]]) !== me(e[Mn[n]]) && (r = !0);
      }
    return !0;
  }
  function Gh() {
    return this._isValid;
  }
  function Vh() {
    return Zt(NaN);
  }
  function oi(e) {
    var t = h0(e),
      r = t.year || 0,
      n = t.quarter || 0,
      a = t.month || 0,
      i = t.week || t.isoWeek || 0,
      s = t.day || 0,
      f = t.hour || 0,
      o = t.minute || 0,
      l = t.second || 0,
      u = t.millisecond || 0;
    (this._isValid = Yh(t)),
      (this._milliseconds = +u + l * 1e3 + o * 6e4 + f * 1e3 * 60 * 60),
      (this._days = +s + i * 7),
      (this._months = +a + n * 3 + r * 12),
      (this._data = {}),
      (this._locale = wr()),
      this._bubble();
  }
  function Oa(e) {
    return e instanceof oi;
  }
  function Zi(e) {
    return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
  }
  function $h(e, t, r) {
    var n = Math.min(e.length, t.length),
      a = Math.abs(e.length - t.length),
      i = 0,
      s;
    for (s = 0; s < n; s++)
      ((r && e[s] !== t[s]) || (!r && me(e[s]) !== me(t[s]))) && i++;
    return i + a;
  }
  function Gf(e, t) {
    ue(e, 0, 0, function () {
      var r = this.utcOffset(),
        n = "+";
      return (
        r < 0 && ((r = -r), (n = "-")),
        n + nr(~~(r / 60), 2) + t + nr(~~r % 60, 2)
      );
    });
  }
  Gf("Z", ":");
  Gf("ZZ", "");
  se("Z", ii);
  se("ZZ", ii);
  Ie(["Z", "ZZ"], function (e, t, r) {
    (r._useUTC = !0), (r._tzm = w0(ii, e));
  });
  var jh = /([\+\-]|\d\d)/gi;
  function w0(e, t) {
    var r = (t || "").match(e),
      n,
      a,
      i;
    return r === null
      ? null
      : ((n = r[r.length - 1] || []),
        (a = (n + "").match(jh) || ["-", 0, 0]),
        (i = +(a[1] * 60) + me(a[2])),
        i === 0 ? 0 : a[0] === "+" ? i : -i);
  }
  function S0(e, t) {
    var r, n;
    return t._isUTC
      ? ((r = t.clone()),
        (n = (Jt(e) || na(e) ? e.valueOf() : Me(e).valueOf()) - r.valueOf()),
        r._d.setTime(r._d.valueOf() + n),
        re.updateOffset(r, !1),
        r)
      : Me(e).local();
  }
  function qi(e) {
    return -Math.round(e._d.getTimezoneOffset());
  }
  re.updateOffset = function () {};
  function Xh(e, t, r) {
    var n = this._offset || 0,
      a;
    if (!this.isValid()) return e != null ? this : NaN;
    if (e != null) {
      if (typeof e == "string") {
        if (((e = w0(ii, e)), e === null)) return this;
      } else Math.abs(e) < 16 && !r && (e = e * 60);
      return (
        !this._isUTC && t && (a = qi(this)),
        (this._offset = e),
        (this._isUTC = !0),
        a != null && this.add(a, "m"),
        n !== e &&
          (!t || this._changeInProgress
            ? jf(this, Zt(e - n, "m"), 1, !1)
            : this._changeInProgress ||
              ((this._changeInProgress = !0),
              re.updateOffset(this, !0),
              (this._changeInProgress = null))),
        this
      );
    } else return this._isUTC ? n : qi(this);
  }
  function Kh(e, t) {
    return e != null
      ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this)
      : -this.utcOffset();
  }
  function zh(e) {
    return this.utcOffset(0, e);
  }
  function Jh(e) {
    return (
      this._isUTC &&
        (this.utcOffset(0, e),
        (this._isUTC = !1),
        e && this.subtract(qi(this), "m")),
      this
    );
  }
  function Zh() {
    if (this._tzm != null) this.utcOffset(this._tzm, !1, !0);
    else if (typeof this._i == "string") {
      var e = w0(vc, this._i);
      e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
    }
    return this;
  }
  function qh(e) {
    return this.isValid()
      ? ((e = e ? Me(e).utcOffset() : 0), (this.utcOffset() - e) % 60 === 0)
      : !1;
  }
  function Qh() {
    return (
      this.utcOffset() > this.clone().month(0).utcOffset() ||
      this.utcOffset() > this.clone().month(5).utcOffset()
    );
  }
  function e1() {
    if (!At(this._isDSTShifted)) return this._isDSTShifted;
    var e = {},
      t;
    return (
      l0(e, this),
      (e = Wf(e)),
      e._a
        ? ((t = e._isUTC ? ir(e._a) : Me(e._a)),
          (this._isDSTShifted = this.isValid() && $h(e._a, t.toArray()) > 0))
        : (this._isDSTShifted = !1),
      this._isDSTShifted
    );
  }
  function t1() {
    return this.isValid() ? !this._isUTC : !1;
  }
  function r1() {
    return this.isValid() ? this._isUTC : !1;
  }
  function Vf() {
    return this.isValid() ? this._isUTC && this._offset === 0 : !1;
  }
  var n1 = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
    a1 =
      /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
  function Zt(e, t) {
    var r = e,
      n = null,
      a,
      i,
      s;
    return (
      Oa(e)
        ? (r = { ms: e._milliseconds, d: e._days, M: e._months })
        : gr(e) || !isNaN(+e)
        ? ((r = {}), t ? (r[t] = +e) : (r.milliseconds = +e))
        : (n = n1.exec(e))
        ? ((a = n[1] === "-" ? -1 : 1),
          (r = {
            y: 0,
            d: me(n[rr]) * a,
            h: me(n[Ze]) * a,
            m: me(n[jt]) * a,
            s: me(n[dr]) * a,
            ms: me(Zi(n[Gr] * 1e3)) * a,
          }))
        : (n = a1.exec(e))
        ? ((a = n[1] === "-" ? -1 : 1),
          (r = {
            y: br(n[2], a),
            M: br(n[3], a),
            w: br(n[4], a),
            d: br(n[5], a),
            h: br(n[6], a),
            m: br(n[7], a),
            s: br(n[8], a),
          }))
        : r == null
        ? (r = {})
        : typeof r == "object" &&
          ("from" in r || "to" in r) &&
          ((s = i1(Me(r.from), Me(r.to))),
          (r = {}),
          (r.ms = s.milliseconds),
          (r.M = s.months)),
      (i = new oi(r)),
      Oa(e) && Ee(e, "_locale") && (i._locale = e._locale),
      Oa(e) && Ee(e, "_isValid") && (i._isValid = e._isValid),
      i
    );
  }
  Zt.fn = oi.prototype;
  Zt.invalid = Vh;
  function br(e, t) {
    var r = e && parseFloat(e.replace(",", "."));
    return (isNaN(r) ? 0 : r) * t;
  }
  function _s(e, t) {
    var r = {};
    return (
      (r.months = t.month() - e.month() + (t.year() - e.year()) * 12),
      e.clone().add(r.months, "M").isAfter(t) && --r.months,
      (r.milliseconds = +t - +e.clone().add(r.months, "M")),
      r
    );
  }
  function i1(e, t) {
    var r;
    return e.isValid() && t.isValid()
      ? ((t = S0(t, e)),
        e.isBefore(t)
          ? (r = _s(e, t))
          : ((r = _s(t, e)),
            (r.milliseconds = -r.milliseconds),
            (r.months = -r.months)),
        r)
      : { milliseconds: 0, months: 0 };
  }
  function $f(e, t) {
    return function (r, n) {
      var a, i;
      return (
        n !== null &&
          !isNaN(+n) &&
          (gf(
            t,
            "moment()." +
              t +
              "(period, number) is deprecated. Please use moment()." +
              t +
              "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
          ),
          (i = r),
          (r = n),
          (n = i)),
        (a = Zt(r, n)),
        jf(this, a, e),
        this
      );
    };
  }
  function jf(e, t, r, n) {
    var a = t._milliseconds,
      i = Zi(t._days),
      s = Zi(t._months);
    !e.isValid() ||
      ((n = n == null ? !0 : n),
      s && Rf(e, Ia(e, "Month") + s * r),
      i && wf(e, "Date", Ia(e, "Date") + i * r),
      a && e._d.setTime(e._d.valueOf() + a * r),
      n && re.updateOffset(e, i || s));
  }
  var s1 = $f(1, "add"),
    f1 = $f(-1, "subtract");
  function Xf(e) {
    return typeof e == "string" || e instanceof String;
  }
  function o1(e) {
    return (
      Jt(e) ||
      na(e) ||
      Xf(e) ||
      gr(e) ||
      u1(e) ||
      l1(e) ||
      e === null ||
      e === void 0
    );
  }
  function l1(e) {
    var t = Vr(e) && !f0(e),
      r = !1,
      n = [
        "years",
        "year",
        "y",
        "months",
        "month",
        "M",
        "days",
        "day",
        "d",
        "dates",
        "date",
        "D",
        "hours",
        "hour",
        "h",
        "minutes",
        "minute",
        "m",
        "seconds",
        "second",
        "s",
        "milliseconds",
        "millisecond",
        "ms",
      ],
      a,
      i,
      s = n.length;
    for (a = 0; a < s; a += 1) (i = n[a]), (r = r || Ee(e, i));
    return t && r;
  }
  function u1(e) {
    var t = zt(e),
      r = !1;
    return (
      t &&
        (r =
          e.filter(function (n) {
            return !gr(n) && Xf(e);
          }).length === 0),
      t && r
    );
  }
  function c1(e) {
    var t = Vr(e) && !f0(e),
      r = !1,
      n = ["sameDay", "nextDay", "lastDay", "nextWeek", "lastWeek", "sameElse"],
      a,
      i;
    for (a = 0; a < n.length; a += 1) (i = n[a]), (r = r || Ee(e, i));
    return t && r;
  }
  function h1(e, t) {
    var r = e.diff(t, "days", !0);
    return r < -6
      ? "sameElse"
      : r < -1
      ? "lastWeek"
      : r < 0
      ? "lastDay"
      : r < 1
      ? "sameDay"
      : r < 2
      ? "nextDay"
      : r < 7
      ? "nextWeek"
      : "sameElse";
  }
  function d1(e, t) {
    arguments.length === 1 &&
      (arguments[0]
        ? o1(arguments[0])
          ? ((e = arguments[0]), (t = void 0))
          : c1(arguments[0]) && ((t = arguments[0]), (e = void 0))
        : ((e = void 0), (t = void 0)));
    var r = e || Me(),
      n = S0(r, this).startOf("day"),
      a = re.calendarFormat(this, n) || "sameElse",
      i = t && (sr(t[a]) ? t[a].call(this, r) : t[a]);
    return this.format(i || this.localeData().calendar(a, this, Me(r)));
  }
  function _1() {
    return new aa(this);
  }
  function x1(e, t) {
    var r = Jt(e) ? e : Me(e);
    return this.isValid() && r.isValid()
      ? ((t = Ht(t) || "millisecond"),
        t === "millisecond"
          ? this.valueOf() > r.valueOf()
          : r.valueOf() < this.clone().startOf(t).valueOf())
      : !1;
  }
  function m1(e, t) {
    var r = Jt(e) ? e : Me(e);
    return this.isValid() && r.isValid()
      ? ((t = Ht(t) || "millisecond"),
        t === "millisecond"
          ? this.valueOf() < r.valueOf()
          : this.clone().endOf(t).valueOf() < r.valueOf())
      : !1;
  }
  function p1(e, t, r, n) {
    var a = Jt(e) ? e : Me(e),
      i = Jt(t) ? t : Me(t);
    return this.isValid() && a.isValid() && i.isValid()
      ? ((n = n || "()"),
        (n[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) &&
          (n[1] === ")" ? this.isBefore(i, r) : !this.isAfter(i, r)))
      : !1;
  }
  function v1(e, t) {
    var r = Jt(e) ? e : Me(e),
      n;
    return this.isValid() && r.isValid()
      ? ((t = Ht(t) || "millisecond"),
        t === "millisecond"
          ? this.valueOf() === r.valueOf()
          : ((n = r.valueOf()),
            this.clone().startOf(t).valueOf() <= n &&
              n <= this.clone().endOf(t).valueOf()))
      : !1;
  }
  function g1(e, t) {
    return this.isSame(e, t) || this.isAfter(e, t);
  }
  function T1(e, t) {
    return this.isSame(e, t) || this.isBefore(e, t);
  }
  function E1(e, t, r) {
    var n, a, i;
    if (!this.isValid()) return NaN;
    if (((n = S0(e, this)), !n.isValid())) return NaN;
    switch (((a = (n.utcOffset() - this.utcOffset()) * 6e4), (t = Ht(t)), t)) {
      case "year":
        i = Ra(this, n) / 12;
        break;
      case "month":
        i = Ra(this, n);
        break;
      case "quarter":
        i = Ra(this, n) / 3;
        break;
      case "second":
        i = (this - n) / 1e3;
        break;
      case "minute":
        i = (this - n) / 6e4;
        break;
      case "hour":
        i = (this - n) / 36e5;
        break;
      case "day":
        i = (this - n - a) / 864e5;
        break;
      case "week":
        i = (this - n - a) / 6048e5;
        break;
      default:
        i = this - n;
    }
    return r ? i : Ut(i);
  }
  function Ra(e, t) {
    if (e.date() < t.date()) return -Ra(t, e);
    var r = (t.year() - e.year()) * 12 + (t.month() - e.month()),
      n = e.clone().add(r, "months"),
      a,
      i;
    return (
      t - n < 0
        ? ((a = e.clone().add(r - 1, "months")), (i = (t - n) / (n - a)))
        : ((a = e.clone().add(r + 1, "months")), (i = (t - n) / (a - n))),
      -(r + i) || 0
    );
  }
  re.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
  re.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
  function w1() {
    return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
  }
  function S1(e) {
    if (!this.isValid()) return null;
    var t = e !== !0,
      r = t ? this.clone().utc() : this;
    return r.year() < 0 || r.year() > 9999
      ? La(
          r,
          t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
        )
      : sr(Date.prototype.toISOString)
      ? t
        ? this.toDate().toISOString()
        : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3)
            .toISOString()
            .replace("Z", La(r, "Z"))
      : La(
          r,
          t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
        );
  }
  function A1() {
    if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)";
    var e = "moment",
      t = "",
      r,
      n,
      a,
      i;
    return (
      this.isLocal() ||
        ((e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone"),
        (t = "Z")),
      (r = "[" + e + '("]'),
      (n = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY"),
      (a = "-MM-DD[T]HH:mm:ss.SSS"),
      (i = t + '[")]'),
      this.format(r + n + a + i)
    );
  }
  function y1(e) {
    e || (e = this.isUtc() ? re.defaultFormatUtc : re.defaultFormat);
    var t = La(this, e);
    return this.localeData().postformat(t);
  }
  function F1(e, t) {
    return this.isValid() && ((Jt(e) && e.isValid()) || Me(e).isValid())
      ? Zt({ to: this, from: e }).locale(this.locale()).humanize(!t)
      : this.localeData().invalidDate();
  }
  function L1(e) {
    return this.from(Me(), e);
  }
  function O1(e, t) {
    return this.isValid() && ((Jt(e) && e.isValid()) || Me(e).isValid())
      ? Zt({ from: this, to: e }).locale(this.locale()).humanize(!t)
      : this.localeData().invalidDate();
  }
  function R1(e) {
    return this.to(Me(), e);
  }
  function Kf(e) {
    var t;
    return e === void 0
      ? this._locale._abbr
      : ((t = wr(e)), t != null && (this._locale = t), this);
  }
  var zf = Wt(
    "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
    function (e) {
      return e === void 0 ? this.localeData() : this.locale(e);
    }
  );
  function Jf() {
    return this._locale;
  }
  var ka = 1e3,
    xn = 60 * ka,
    Ma = 60 * xn,
    Zf = (365 * 400 + 97) * 24 * Ma;
  function mn(e, t) {
    return ((e % t) + t) % t;
  }
  function qf(e, t, r) {
    return e < 100 && e >= 0
      ? new Date(e + 400, t, r) - Zf
      : new Date(e, t, r).valueOf();
  }
  function Qf(e, t, r) {
    return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - Zf : Date.UTC(e, t, r);
  }
  function C1(e) {
    var t, r;
    if (((e = Ht(e)), e === void 0 || e === "millisecond" || !this.isValid()))
      return this;
    switch (((r = this._isUTC ? Qf : qf), e)) {
      case "year":
        t = r(this.year(), 0, 1);
        break;
      case "quarter":
        t = r(this.year(), this.month() - (this.month() % 3), 1);
        break;
      case "month":
        t = r(this.year(), this.month(), 1);
        break;
      case "week":
        t = r(this.year(), this.month(), this.date() - this.weekday());
        break;
      case "isoWeek":
        t = r(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
        break;
      case "day":
      case "date":
        t = r(this.year(), this.month(), this.date());
        break;
      case "hour":
        (t = this._d.valueOf()),
          (t -= mn(t + (this._isUTC ? 0 : this.utcOffset() * xn), Ma));
        break;
      case "minute":
        (t = this._d.valueOf()), (t -= mn(t, xn));
        break;
      case "second":
        (t = this._d.valueOf()), (t -= mn(t, ka));
        break;
    }
    return this._d.setTime(t), re.updateOffset(this, !0), this;
  }
  function I1(e) {
    var t, r;
    if (((e = Ht(e)), e === void 0 || e === "millisecond" || !this.isValid()))
      return this;
    switch (((r = this._isUTC ? Qf : qf), e)) {
      case "year":
        t = r(this.year() + 1, 0, 1) - 1;
        break;
      case "quarter":
        t = r(this.year(), this.month() - (this.month() % 3) + 3, 1) - 1;
        break;
      case "month":
        t = r(this.year(), this.month() + 1, 1) - 1;
        break;
      case "week":
        t = r(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
        break;
      case "isoWeek":
        t =
          r(
            this.year(),
            this.month(),
            this.date() - (this.isoWeekday() - 1) + 7
          ) - 1;
        break;
      case "day":
      case "date":
        t = r(this.year(), this.month(), this.date() + 1) - 1;
        break;
      case "hour":
        (t = this._d.valueOf()),
          (t += Ma - mn(t + (this._isUTC ? 0 : this.utcOffset() * xn), Ma) - 1);
        break;
      case "minute":
        (t = this._d.valueOf()), (t += xn - mn(t, xn) - 1);
        break;
      case "second":
        (t = this._d.valueOf()), (t += ka - mn(t, ka) - 1);
        break;
    }
    return this._d.setTime(t), re.updateOffset(this, !0), this;
  }
  function D1() {
    return this._d.valueOf() - (this._offset || 0) * 6e4;
  }
  function N1() {
    return Math.floor(this.valueOf() / 1e3);
  }
  function k1() {
    return new Date(this.valueOf());
  }
  function M1() {
    var e = this;
    return [
      e.year(),
      e.month(),
      e.date(),
      e.hour(),
      e.minute(),
      e.second(),
      e.millisecond(),
    ];
  }
  function P1() {
    var e = this;
    return {
      years: e.year(),
      months: e.month(),
      date: e.date(),
      hours: e.hours(),
      minutes: e.minutes(),
      seconds: e.seconds(),
      milliseconds: e.milliseconds(),
    };
  }
  function B1() {
    return this.isValid() ? this.toISOString() : null;
  }
  function b1() {
    return o0(this);
  }
  function U1() {
    return Fr({}, de(this));
  }
  function W1() {
    return de(this).overflow;
  }
  function H1() {
    return {
      input: this._i,
      format: this._f,
      locale: this._locale,
      isUTC: this._isUTC,
      strict: this._strict,
    };
  }
  ue("N", 0, 0, "eraAbbr");
  ue("NN", 0, 0, "eraAbbr");
  ue("NNN", 0, 0, "eraAbbr");
  ue("NNNN", 0, 0, "eraName");
  ue("NNNNN", 0, 0, "eraNarrow");
  ue("y", ["y", 1], "yo", "eraYear");
  ue("y", ["yy", 2], 0, "eraYear");
  ue("y", ["yyy", 3], 0, "eraYear");
  ue("y", ["yyyy", 4], 0, "eraYear");
  se("N", A0);
  se("NN", A0);
  se("NNN", A0);
  se("NNNN", q1);
  se("NNNNN", Q1);
  Ie(["N", "NN", "NNN", "NNNN", "NNNNN"], function (e, t, r, n) {
    var a = r._locale.erasParse(e, n, r._strict);
    a ? (de(r).era = a) : (de(r).invalidEra = e);
  });
  se("y", Sn);
  se("yy", Sn);
  se("yyy", Sn);
  se("yyyy", Sn);
  se("yo", ed);
  Ie(["y", "yy", "yyy", "yyyy"], xt);
  Ie(["yo"], function (e, t, r, n) {
    var a;
    r._locale._eraYearOrdinalRegex &&
      (a = e.match(r._locale._eraYearOrdinalRegex)),
      r._locale.eraYearOrdinalParse
        ? (t[xt] = r._locale.eraYearOrdinalParse(e, a))
        : (t[xt] = parseInt(e, 10));
  });
  function Y1(e, t) {
    var r,
      n,
      a,
      i = this._eras || wr("en")._eras;
    for (r = 0, n = i.length; r < n; ++r) {
      switch (typeof i[r].since) {
        case "string":
          (a = re(i[r].since).startOf("day")), (i[r].since = a.valueOf());
          break;
      }
      switch (typeof i[r].until) {
        case "undefined":
          i[r].until = 1 / 0;
          break;
        case "string":
          (a = re(i[r].until).startOf("day").valueOf()),
            (i[r].until = a.valueOf());
          break;
      }
    }
    return i;
  }
  function G1(e, t, r) {
    var n,
      a,
      i = this.eras(),
      s,
      f,
      o;
    for (e = e.toUpperCase(), n = 0, a = i.length; n < a; ++n)
      if (
        ((s = i[n].name.toUpperCase()),
        (f = i[n].abbr.toUpperCase()),
        (o = i[n].narrow.toUpperCase()),
        r)
      )
        switch (t) {
          case "N":
          case "NN":
          case "NNN":
            if (f === e) return i[n];
            break;
          case "NNNN":
            if (s === e) return i[n];
            break;
          case "NNNNN":
            if (o === e) return i[n];
            break;
        }
      else if ([s, f, o].indexOf(e) >= 0) return i[n];
  }
  function V1(e, t) {
    var r = e.since <= e.until ? 1 : -1;
    return t === void 0
      ? re(e.since).year()
      : re(e.since).year() + (t - e.offset) * r;
  }
  function $1() {
    var e,
      t,
      r,
      n = this.localeData().eras();
    for (e = 0, t = n.length; e < t; ++e)
      if (
        ((r = this.clone().startOf("day").valueOf()),
        (n[e].since <= r && r <= n[e].until) ||
          (n[e].until <= r && r <= n[e].since))
      )
        return n[e].name;
    return "";
  }
  function j1() {
    var e,
      t,
      r,
      n = this.localeData().eras();
    for (e = 0, t = n.length; e < t; ++e)
      if (
        ((r = this.clone().startOf("day").valueOf()),
        (n[e].since <= r && r <= n[e].until) ||
          (n[e].until <= r && r <= n[e].since))
      )
        return n[e].narrow;
    return "";
  }
  function X1() {
    var e,
      t,
      r,
      n = this.localeData().eras();
    for (e = 0, t = n.length; e < t; ++e)
      if (
        ((r = this.clone().startOf("day").valueOf()),
        (n[e].since <= r && r <= n[e].until) ||
          (n[e].until <= r && r <= n[e].since))
      )
        return n[e].abbr;
    return "";
  }
  function K1() {
    var e,
      t,
      r,
      n,
      a = this.localeData().eras();
    for (e = 0, t = a.length; e < t; ++e)
      if (
        ((r = a[e].since <= a[e].until ? 1 : -1),
        (n = this.clone().startOf("day").valueOf()),
        (a[e].since <= n && n <= a[e].until) ||
          (a[e].until <= n && n <= a[e].since))
      )
        return (this.year() - re(a[e].since).year()) * r + a[e].offset;
    return this.year();
  }
  function z1(e) {
    return (
      Ee(this, "_erasNameRegex") || y0.call(this),
      e ? this._erasNameRegex : this._erasRegex
    );
  }
  function J1(e) {
    return (
      Ee(this, "_erasAbbrRegex") || y0.call(this),
      e ? this._erasAbbrRegex : this._erasRegex
    );
  }
  function Z1(e) {
    return (
      Ee(this, "_erasNarrowRegex") || y0.call(this),
      e ? this._erasNarrowRegex : this._erasRegex
    );
  }
  function A0(e, t) {
    return t.erasAbbrRegex(e);
  }
  function q1(e, t) {
    return t.erasNameRegex(e);
  }
  function Q1(e, t) {
    return t.erasNarrowRegex(e);
  }
  function ed(e, t) {
    return t._eraYearOrdinalRegex || Sn;
  }
  function y0() {
    var e = [],
      t = [],
      r = [],
      n = [],
      a,
      i,
      s = this.eras();
    for (a = 0, i = s.length; a < i; ++a)
      t.push(It(s[a].name)),
        e.push(It(s[a].abbr)),
        r.push(It(s[a].narrow)),
        n.push(It(s[a].name)),
        n.push(It(s[a].abbr)),
        n.push(It(s[a].narrow));
    (this._erasRegex = new RegExp("^(" + n.join("|") + ")", "i")),
      (this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i")),
      (this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i")),
      (this._erasNarrowRegex = new RegExp("^(" + r.join("|") + ")", "i"));
  }
  ue(0, ["gg", 2], 0, function () {
    return this.weekYear() % 100;
  });
  ue(0, ["GG", 2], 0, function () {
    return this.isoWeekYear() % 100;
  });
  function li(e, t) {
    ue(0, [e, e.length], 0, t);
  }
  li("gggg", "weekYear");
  li("ggggg", "weekYear");
  li("GGGG", "isoWeekYear");
  li("GGGGG", "isoWeekYear");
  vt("weekYear", "gg");
  vt("isoWeekYear", "GG");
  gt("weekYear", 1);
  gt("isoWeekYear", 1);
  se("G", ai);
  se("g", ai);
  se("GG", Be, Mt);
  se("gg", Be, Mt);
  se("GGGG", _0, d0);
  se("gggg", _0, d0);
  se("GGGGG", ni, ti);
  se("ggggg", ni, ti);
  sa(["gggg", "ggggg", "GGGG", "GGGGG"], function (e, t, r, n) {
    t[n.substr(0, 2)] = me(e);
  });
  sa(["gg", "GG"], function (e, t, r, n) {
    t[n] = re.parseTwoDigitYear(e);
  });
  function td(e) {
    return eo.call(
      this,
      e,
      this.week(),
      this.weekday(),
      this.localeData()._week.dow,
      this.localeData()._week.doy
    );
  }
  function rd(e) {
    return eo.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4);
  }
  function nd() {
    return xr(this.year(), 1, 4);
  }
  function ad() {
    return xr(this.isoWeekYear(), 1, 4);
  }
  function id() {
    var e = this.localeData()._week;
    return xr(this.year(), e.dow, e.doy);
  }
  function sd() {
    var e = this.localeData()._week;
    return xr(this.weekYear(), e.dow, e.doy);
  }
  function eo(e, t, r, n, a) {
    var i;
    return e == null
      ? Kn(this, n, a).year
      : ((i = xr(e, n, a)), t > i && (t = i), fd.call(this, e, t, r, n, a));
  }
  function fd(e, t, r, n, a) {
    var i = Nf(e, t, r, n, a),
      s = Xn(i.year, 0, i.dayOfYear);
    return (
      this.year(s.getUTCFullYear()),
      this.month(s.getUTCMonth()),
      this.date(s.getUTCDate()),
      this
    );
  }
  ue("Q", 0, "Qo", "quarter");
  vt("quarter", "Q");
  gt("quarter", 7);
  se("Q", Sf);
  Ie("Q", function (e, t) {
    t[hr] = (me(e) - 1) * 3;
  });
  function od(e) {
    return e == null
      ? Math.ceil((this.month() + 1) / 3)
      : this.month((e - 1) * 3 + (this.month() % 3));
  }
  ue("D", ["DD", 2], "Do", "date");
  vt("date", "D");
  gt("date", 9);
  se("D", Be);
  se("DD", Be, Mt);
  se("Do", function (e, t) {
    return e
      ? t._dayOfMonthOrdinalParse || t._ordinalParse
      : t._dayOfMonthOrdinalParseLenient;
  });
  Ie(["D", "DD"], rr);
  Ie("Do", function (e, t) {
    t[rr] = me(e.match(Be)[0]);
  });
  var to = wn("Date", !0);
  ue("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
  vt("dayOfYear", "DDD");
  gt("dayOfYear", 4);
  se("DDD", ri);
  se("DDDD", Af);
  Ie(["DDD", "DDDD"], function (e, t, r) {
    r._dayOfYear = me(e);
  });
  function ld(e) {
    var t =
      Math.round(
        (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
      ) + 1;
    return e == null ? t : this.add(e - t, "d");
  }
  ue("m", ["mm", 2], 0, "minute");
  vt("minute", "m");
  gt("minute", 14);
  se("m", Be);
  se("mm", Be, Mt);
  Ie(["m", "mm"], jt);
  var ud = wn("Minutes", !1);
  ue("s", ["ss", 2], 0, "second");
  vt("second", "s");
  gt("second", 15);
  se("s", Be);
  se("ss", Be, Mt);
  Ie(["s", "ss"], dr);
  var cd = wn("Seconds", !1);
  ue("S", 0, 0, function () {
    return ~~(this.millisecond() / 100);
  });
  ue(0, ["SS", 2], 0, function () {
    return ~~(this.millisecond() / 10);
  });
  ue(0, ["SSS", 3], 0, "millisecond");
  ue(0, ["SSSS", 4], 0, function () {
    return this.millisecond() * 10;
  });
  ue(0, ["SSSSS", 5], 0, function () {
    return this.millisecond() * 100;
  });
  ue(0, ["SSSSSS", 6], 0, function () {
    return this.millisecond() * 1e3;
  });
  ue(0, ["SSSSSSS", 7], 0, function () {
    return this.millisecond() * 1e4;
  });
  ue(0, ["SSSSSSSS", 8], 0, function () {
    return this.millisecond() * 1e5;
  });
  ue(0, ["SSSSSSSSS", 9], 0, function () {
    return this.millisecond() * 1e6;
  });
  vt("millisecond", "ms");
  gt("millisecond", 16);
  se("S", ri, Sf);
  se("SS", ri, Mt);
  se("SSS", ri, Af);
  var Lr, ro;
  for (Lr = "SSSS"; Lr.length <= 9; Lr += "S") se(Lr, Sn);
  function hd(e, t) {
    t[Gr] = me(("0." + e) * 1e3);
  }
  for (Lr = "S"; Lr.length <= 9; Lr += "S") Ie(Lr, hd);
  ro = wn("Milliseconds", !1);
  ue("z", 0, 0, "zoneAbbr");
  ue("zz", 0, 0, "zoneName");
  function dd() {
    return this._isUTC ? "UTC" : "";
  }
  function _d() {
    return this._isUTC ? "Coordinated Universal Time" : "";
  }
  var X = aa.prototype;
  X.add = s1;
  X.calendar = d1;
  X.clone = _1;
  X.diff = E1;
  X.endOf = I1;
  X.format = y1;
  X.from = F1;
  X.fromNow = L1;
  X.to = O1;
  X.toNow = R1;
  X.get = mc;
  X.invalidAt = W1;
  X.isAfter = x1;
  X.isBefore = m1;
  X.isBetween = p1;
  X.isSame = v1;
  X.isSameOrAfter = g1;
  X.isSameOrBefore = T1;
  X.isValid = b1;
  X.lang = zf;
  X.locale = Kf;
  X.localeData = Jf;
  X.max = bh;
  X.min = Bh;
  X.parsingFlags = U1;
  X.set = pc;
  X.startOf = C1;
  X.subtract = f1;
  X.toArray = M1;
  X.toObject = P1;
  X.toDate = k1;
  X.toISOString = S1;
  X.inspect = A1;
  typeof Symbol != "undefined" &&
    Symbol.for != null &&
    (X[Symbol.for("nodejs.util.inspect.custom")] = function () {
      return "Moment<" + this.format() + ">";
    });
  X.toJSON = B1;
  X.toString = w1;
  X.unix = N1;
  X.valueOf = D1;
  X.creationData = H1;
  X.eraName = $1;
  X.eraNarrow = j1;
  X.eraAbbr = X1;
  X.eraYear = K1;
  X.year = Df;
  X.isLeapYear = Pc;
  X.weekYear = td;
  X.isoWeekYear = rd;
  X.quarter = X.quarters = od;
  X.month = Cf;
  X.daysInMonth = Nc;
  X.week = X.weeks = Yc;
  X.isoWeek = X.isoWeeks = Gc;
  X.weeksInYear = id;
  X.weeksInWeekYear = sd;
  X.isoWeeksInYear = nd;
  X.isoWeeksInISOWeekYear = ad;
  X.date = to;
  X.day = X.days = rh;
  X.weekday = nh;
  X.isoWeekday = ah;
  X.dayOfYear = ld;
  X.hour = X.hours = ch;
  X.minute = X.minutes = ud;
  X.second = X.seconds = cd;
  X.millisecond = X.milliseconds = ro;
  X.utcOffset = Xh;
  X.utc = zh;
  X.local = Jh;
  X.parseZone = Zh;
  X.hasAlignedHourOffset = qh;
  X.isDST = Qh;
  X.isLocal = t1;
  X.isUtcOffset = r1;
  X.isUtc = Vf;
  X.isUTC = Vf;
  X.zoneAbbr = dd;
  X.zoneName = _d;
  X.dates = Wt("dates accessor is deprecated. Use date instead.", to);
  X.months = Wt("months accessor is deprecated. Use month instead", Cf);
  X.years = Wt("years accessor is deprecated. Use year instead", Df);
  X.zone = Wt(
    "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
    Kh
  );
  X.isDSTShifted = Wt(
    "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
    e1
  );
  function xd(e) {
    return Me(e * 1e3);
  }
  function md() {
    return Me.apply(null, arguments).parseZone();
  }
  function no(e) {
    return e;
  }
  var we = u0.prototype;
  we.calendar = rc;
  we.longDateFormat = sc;
  we.invalidDate = oc;
  we.ordinal = cc;
  we.preparse = no;
  we.postformat = no;
  we.relativeTime = dc;
  we.pastFuture = _c;
  we.set = ec;
  we.eras = Y1;
  we.erasParse = G1;
  we.erasConvertYear = V1;
  we.erasAbbrRegex = J1;
  we.erasNameRegex = z1;
  we.erasNarrowRegex = Z1;
  we.months = Rc;
  we.monthsShort = Cc;
  we.monthsParse = Dc;
  we.monthsRegex = Mc;
  we.monthsShortRegex = kc;
  we.week = bc;
  we.firstDayOfYear = Hc;
  we.firstDayOfWeek = Wc;
  we.weekdays = Zc;
  we.weekdaysMin = Qc;
  we.weekdaysShort = qc;
  we.weekdaysParse = th;
  we.weekdaysRegex = ih;
  we.weekdaysShortRegex = sh;
  we.weekdaysMinRegex = fh;
  we.isPM = lh;
  we.meridiem = hh;
  function Pa(e, t, r, n) {
    var a = wr(),
      i = ir().set(n, t);
    return a[r](i, e);
  }
  function ao(e, t, r) {
    if ((gr(e) && ((t = e), (e = void 0)), (e = e || ""), t != null))
      return Pa(e, t, r, "month");
    var n,
      a = [];
    for (n = 0; n < 12; n++) a[n] = Pa(e, n, r, "month");
    return a;
  }
  function F0(e, t, r, n) {
    typeof e == "boolean"
      ? (gr(t) && ((r = t), (t = void 0)), (t = t || ""))
      : ((t = e),
        (r = t),
        (e = !1),
        gr(t) && ((r = t), (t = void 0)),
        (t = t || ""));
    var a = wr(),
      i = e ? a._week.dow : 0,
      s,
      f = [];
    if (r != null) return Pa(t, (r + i) % 7, n, "day");
    for (s = 0; s < 7; s++) f[s] = Pa(t, (s + i) % 7, n, "day");
    return f;
  }
  function pd(e, t) {
    return ao(e, t, "months");
  }
  function vd(e, t) {
    return ao(e, t, "monthsShort");
  }
  function gd(e, t, r) {
    return F0(e, t, r, "weekdays");
  }
  function Td(e, t, r) {
    return F0(e, t, r, "weekdaysShort");
  }
  function Ed(e, t, r) {
    return F0(e, t, r, "weekdaysMin");
  }
  Cr("en", {
    eras: [
      {
        since: "0001-01-01",
        until: 1 / 0,
        offset: 1,
        name: "Anno Domini",
        narrow: "AD",
        abbr: "AD",
      },
      {
        since: "0000-12-31",
        until: -1 / 0,
        offset: 1,
        name: "Before Christ",
        narrow: "BC",
        abbr: "BC",
      },
    ],
    dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
    ordinal: function (e) {
      var t = e % 10,
        r =
          me((e % 100) / 10) === 1
            ? "th"
            : t === 1
            ? "st"
            : t === 2
            ? "nd"
            : t === 3
            ? "rd"
            : "th";
      return e + r;
    },
  });
  re.lang = Wt("moment.lang is deprecated. Use moment.locale instead.", Cr);
  re.langData = Wt(
    "moment.langData is deprecated. Use moment.localeData instead.",
    wr
  );
  var ur = Math.abs;
  function wd() {
    var e = this._data;
    return (
      (this._milliseconds = ur(this._milliseconds)),
      (this._days = ur(this._days)),
      (this._months = ur(this._months)),
      (e.milliseconds = ur(e.milliseconds)),
      (e.seconds = ur(e.seconds)),
      (e.minutes = ur(e.minutes)),
      (e.hours = ur(e.hours)),
      (e.months = ur(e.months)),
      (e.years = ur(e.years)),
      this
    );
  }
  function io(e, t, r, n) {
    var a = Zt(t, r);
    return (
      (e._milliseconds += n * a._milliseconds),
      (e._days += n * a._days),
      (e._months += n * a._months),
      e._bubble()
    );
  }
  function Sd(e, t) {
    return io(this, e, t, 1);
  }
  function Ad(e, t) {
    return io(this, e, t, -1);
  }
  function xs(e) {
    return e < 0 ? Math.floor(e) : Math.ceil(e);
  }
  function yd() {
    var e = this._milliseconds,
      t = this._days,
      r = this._months,
      n = this._data,
      a,
      i,
      s,
      f,
      o;
    return (
      (e >= 0 && t >= 0 && r >= 0) ||
        (e <= 0 && t <= 0 && r <= 0) ||
        ((e += xs(Qi(r) + t) * 864e5), (t = 0), (r = 0)),
      (n.milliseconds = e % 1e3),
      (a = Ut(e / 1e3)),
      (n.seconds = a % 60),
      (i = Ut(a / 60)),
      (n.minutes = i % 60),
      (s = Ut(i / 60)),
      (n.hours = s % 24),
      (t += Ut(s / 24)),
      (o = Ut(so(t))),
      (r += o),
      (t -= xs(Qi(o))),
      (f = Ut(r / 12)),
      (r %= 12),
      (n.days = t),
      (n.months = r),
      (n.years = f),
      this
    );
  }
  function so(e) {
    return (e * 4800) / 146097;
  }
  function Qi(e) {
    return (e * 146097) / 4800;
  }
  function Fd(e) {
    if (!this.isValid()) return NaN;
    var t,
      r,
      n = this._milliseconds;
    if (((e = Ht(e)), e === "month" || e === "quarter" || e === "year"))
      switch (((t = this._days + n / 864e5), (r = this._months + so(t)), e)) {
        case "month":
          return r;
        case "quarter":
          return r / 3;
        case "year":
          return r / 12;
      }
    else
      switch (((t = this._days + Math.round(Qi(this._months))), e)) {
        case "week":
          return t / 7 + n / 6048e5;
        case "day":
          return t + n / 864e5;
        case "hour":
          return t * 24 + n / 36e5;
        case "minute":
          return t * 1440 + n / 6e4;
        case "second":
          return t * 86400 + n / 1e3;
        case "millisecond":
          return Math.floor(t * 864e5) + n;
        default:
          throw new Error("Unknown unit " + e);
      }
  }
  function Ld() {
    return this.isValid()
      ? this._milliseconds +
          this._days * 864e5 +
          (this._months % 12) * 2592e6 +
          me(this._months / 12) * 31536e6
      : NaN;
  }
  function Sr(e) {
    return function () {
      return this.as(e);
    };
  }
  var Od = Sr("ms"),
    Rd = Sr("s"),
    Cd = Sr("m"),
    Id = Sr("h"),
    Dd = Sr("d"),
    Nd = Sr("w"),
    kd = Sr("M"),
    Md = Sr("Q"),
    Pd = Sr("y");
  function Bd() {
    return Zt(this);
  }
  function bd(e) {
    return (e = Ht(e)), this.isValid() ? this[e + "s"]() : NaN;
  }
  function Jr(e) {
    return function () {
      return this.isValid() ? this._data[e] : NaN;
    };
  }
  var Ud = Jr("milliseconds"),
    Wd = Jr("seconds"),
    Hd = Jr("minutes"),
    Yd = Jr("hours"),
    Gd = Jr("days"),
    Vd = Jr("months"),
    $d = Jr("years");
  function jd() {
    return Ut(this.days() / 7);
  }
  var cr = Math.round,
    hn = { ss: 44, s: 45, m: 45, h: 22, d: 26, w: null, M: 11 };
  function Xd(e, t, r, n, a) {
    return a.relativeTime(t || 1, !!r, e, n);
  }
  function Kd(e, t, r, n) {
    var a = Zt(e).abs(),
      i = cr(a.as("s")),
      s = cr(a.as("m")),
      f = cr(a.as("h")),
      o = cr(a.as("d")),
      l = cr(a.as("M")),
      u = cr(a.as("w")),
      x = cr(a.as("y")),
      d =
        (i <= r.ss && ["s", i]) ||
        (i < r.s && ["ss", i]) ||
        (s <= 1 && ["m"]) ||
        (s < r.m && ["mm", s]) ||
        (f <= 1 && ["h"]) ||
        (f < r.h && ["hh", f]) ||
        (o <= 1 && ["d"]) ||
        (o < r.d && ["dd", o]);
    return (
      r.w != null && (d = d || (u <= 1 && ["w"]) || (u < r.w && ["ww", u])),
      (d = d ||
        (l <= 1 && ["M"]) ||
        (l < r.M && ["MM", l]) ||
        (x <= 1 && ["y"]) || ["yy", x]),
      (d[2] = t),
      (d[3] = +e > 0),
      (d[4] = n),
      Xd.apply(null, d)
    );
  }
  function zd(e) {
    return e === void 0 ? cr : typeof e == "function" ? ((cr = e), !0) : !1;
  }
  function Jd(e, t) {
    return hn[e] === void 0
      ? !1
      : t === void 0
      ? hn[e]
      : ((hn[e] = t), e === "s" && (hn.ss = t - 1), !0);
  }
  function Zd(e, t) {
    if (!this.isValid()) return this.localeData().invalidDate();
    var r = !1,
      n = hn,
      a,
      i;
    return (
      typeof e == "object" && ((t = e), (e = !1)),
      typeof e == "boolean" && (r = e),
      typeof t == "object" &&
        ((n = Object.assign({}, hn, t)),
        t.s != null && t.ss == null && (n.ss = t.s - 1)),
      (a = this.localeData()),
      (i = Kd(this, !r, n, a)),
      r && (i = a.pastFuture(+this, i)),
      a.postformat(i)
    );
  }
  var Ni = Math.abs;
  function an(e) {
    return (e > 0) - (e < 0) || +e;
  }
  function ui() {
    if (!this.isValid()) return this.localeData().invalidDate();
    var e = Ni(this._milliseconds) / 1e3,
      t = Ni(this._days),
      r = Ni(this._months),
      n,
      a,
      i,
      s,
      f = this.asSeconds(),
      o,
      l,
      u,
      x;
    return f
      ? ((n = Ut(e / 60)),
        (a = Ut(n / 60)),
        (e %= 60),
        (n %= 60),
        (i = Ut(r / 12)),
        (r %= 12),
        (s = e ? e.toFixed(3).replace(/\.?0+$/, "") : ""),
        (o = f < 0 ? "-" : ""),
        (l = an(this._months) !== an(f) ? "-" : ""),
        (u = an(this._days) !== an(f) ? "-" : ""),
        (x = an(this._milliseconds) !== an(f) ? "-" : ""),
        o +
          "P" +
          (i ? l + i + "Y" : "") +
          (r ? l + r + "M" : "") +
          (t ? u + t + "D" : "") +
          (a || n || e ? "T" : "") +
          (a ? x + a + "H" : "") +
          (n ? x + n + "M" : "") +
          (e ? x + s + "S" : ""))
      : "P0D";
  }
  var ve = oi.prototype;
  ve.isValid = Gh;
  ve.abs = wd;
  ve.add = Sd;
  ve.subtract = Ad;
  ve.as = Fd;
  ve.asMilliseconds = Od;
  ve.asSeconds = Rd;
  ve.asMinutes = Cd;
  ve.asHours = Id;
  ve.asDays = Dd;
  ve.asWeeks = Nd;
  ve.asMonths = kd;
  ve.asQuarters = Md;
  ve.asYears = Pd;
  ve.valueOf = Ld;
  ve._bubble = yd;
  ve.clone = Bd;
  ve.get = bd;
  ve.milliseconds = Ud;
  ve.seconds = Wd;
  ve.minutes = Hd;
  ve.hours = Yd;
  ve.days = Gd;
  ve.weeks = jd;
  ve.months = Vd;
  ve.years = $d;
  ve.humanize = Zd;
  ve.toISOString = ui;
  ve.toString = ui;
  ve.toJSON = ui;
  ve.locale = Kf;
  ve.localeData = Jf;
  ve.toIsoString = Wt(
    "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
    ui
  );
  ve.lang = zf;
  ue("X", 0, 0, "unix");
  ue("x", 0, 0, "valueOf");
  se("x", ai);
  se("X", gc);
  Ie("X", function (e, t, r) {
    r._d = new Date(parseFloat(e) * 1e3);
  });
  Ie("x", function (e, t, r) {
    r._d = new Date(me(e));
  }); //! moment.js
  re.version = "2.29.4";
  qu(Me);
  re.fn = X;
  re.min = Uh;
  re.max = Wh;
  re.now = Hh;
  re.utc = ir;
  re.unix = xd;
  re.months = pd;
  re.isDate = na;
  re.locale = Cr;
  re.invalid = Qa;
  re.duration = Zt;
  re.isMoment = Jt;
  re.weekdays = gd;
  re.parseZone = md;
  re.localeData = wr;
  re.isDuration = Oa;
  re.monthsShort = vd;
  re.weekdaysMin = Ed;
  re.defineLocale = v0;
  re.updateLocale = mh;
  re.locales = ph;
  re.weekdaysShort = Td;
  re.normalizeUnits = Ht;
  re.relativeTimeRounding = zd;
  re.relativeTimeThreshold = Jd;
  re.calendarFormat = h1;
  re.prototype = X;
  re.HTML5_FMT = {
    DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
    DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
    DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
    DATE: "YYYY-MM-DD",
    TIME: "HH:mm",
    TIME_SECONDS: "HH:mm:ss",
    TIME_MS: "HH:mm:ss.SSS",
    WEEK: "GGGG-[W]WW",
    MONTH: "YYYY-MM",
  };
  const { getSetting: qd } = qa(),
    Ba = {
      unknown:
        "Instagram returns unkown error, please check your Instagram account.",
      "Login again":
        "Instagram warns, you may need to re-login your Instagram account.",
      "403 forbidden error":
        "Instagram returns 403 forbidden error, please check your Instagram account is well.",
      "429 too many requests":
        "Instagram returns too many request error, please take a rest.",
      "400 error": "Instagram returns 400 error.",
    };
  function Qd() {
    async function e(t, r) {
      if (
        ((r.value = Ba[t.message] || Ba.unknown), t.message === "Login again")
      )
        return 0;
      const { rule: n } = await qd(),
        { action_when_403: a, action_when_429: i, action_when_400: s } = n;
      return t.message === "403 forbidden error"
        ? a <= 0
          ? 0
          : a * 6e4
        : t.message === "429 too many requests"
        ? i <= 0
          ? 0
          : i * 6e4
        : t.message === "400 error"
        ? s <= 0
          ? 0
          : s * 36e5
        : 0;
    }
    return { processError: e };
  }
  const { getSetting: e_ } = qa(),
    t_ = s0(),
    r_ = i0(),
    yt = { pending: 0, running: 1, pause: 2, finished: 9, fail: -1 };
  function n_() {
    let e = ft(""),
      t = null,
      r = ft(yt.pending),
      n = ft(""),
      a = { last: {}, page: 0 },
      i = { list: ft([]), count: ft(0) },
      s = ft(0);
    const { processError: f } = Qd();
    async function o() {
      if (
        (t && clearTimeout(t),
        (e.value = ""),
        !n.value || r.value !== yt.running)
      )
        return;
      const { interval: d, pause: _ } = await e_();
      try {
        const v = await t_.fetch(_e(n), a.last);
        if (r.value !== yt.running) return;
        const { count: c, edges: g, last: L } = v;
        if (
          (i.count.value === 0 &&
            ((i.count.value = c), r_.emit("count-changed", { cnt: c })),
          (i.list.value = i.list.value.concat(g.map((O) => O.node))),
          (a.last = L),
          s.value++,
          i.list.value.length < i.count.value)
        ) {
          if (!L.has_next_page) {
            (i.count.value = i.list.value.length), (r.value = yt.finished);
            return;
          }
          a.page++;
          let O = vu(d[0] * 1e3, d[1] * 1e3);
          if (
            (_.num && a.page % _.num === 0 && (O = _.wait * 6e4),
            r.value !== yt.running)
          )
            return;
          t = setTimeout(o, O);
        } else
          i.list.value.length > i.count.value &&
            (i.list.value = i.list.value.slice(0, i.count.value)),
            (r.value = yt.finished);
      } catch (v) {
        console.error(v);
        const c = await f(v, e);
        if (c > 0) {
          const g = re()
            .add(c / 1e3, "seconds")
            .format("HH:mm");
          (e.value += ` Will automatically retry at ${g} by your settings.`),
            (t = setTimeout(o, c));
        } else r.value = yt.pause;
      }
    }
    function l(d) {
      (n.value = _e(d)), (r.value = yt.running), $i(o);
    }
    function u() {
      (r.value = yt.pause), t && clearTimeout(t), (e.value = "");
    }
    function x() {
      (r.value = yt.running), $i(o);
    }
    return {
      fetchErrorMsg: e,
      shortcode: n,
      params: a,
      result: i,
      start: l,
      pause: u,
      resume: x,
      status: r,
      FETCH_STATUS: yt,
    };
  }
  function a_() {
    const e = ft(!1),
      t = ft(""),
      r = s0(),
      { paramsOk: n } = r;
    async function a() {
      if (!!n.value)
        try {
          await r.prepare(), (e.value = !0);
        } catch (s) {
          console.error(s), (t.value = Ba[s.message] || Ba.unknown);
        }
    }
    function i() {
      try {
        const { t: s, k: f } = gu();
        r.parse(s, f);
      } catch (s) {
        t.value = s.message || "Please enter correct params.";
      }
    }
    return { ready: e, loadErrorMsg: t, prepare: a, loadParams: i };
  }
  function ms(e, t, r) {
    const n = new Blob([e], { type: r || "application/octet-binary" }),
      a = URL.createObjectURL(n);
    var i = document.createElement("a");
    (i.style.display = "none"),
      (i.href = a),
      i.setAttribute("download", t),
      typeof i.download == "undefined" && i.setAttribute("target", "_blank"),
      document.body.appendChild(i),
      i.click(),
      document.body.removeChild(i),
      setTimeout(() => {
        window.URL.revokeObjectURL(a);
      }, 100);
  }
  var i_ = "Expected a function",
    fo = "__lodash_hash_undefined__",
    oo = 1 / 0,
    s_ = "[object Function]",
    f_ = "[object GeneratorFunction]",
    o_ = "[object Symbol]",
    l_ = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
    u_ = /^\w*$/,
    c_ = /^\./,
    h_ =
      /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
    d_ = /[\\^$.*+?()[\]{}|]/g,
    __ = /\\(\\)?/g,
    x_ = /^\[object .+?Constructor\]$/,
    m_ = typeof xa == "object" && xa && xa.Object === Object && xa,
    p_ = typeof self == "object" && self && self.Object === Object && self,
    L0 = m_ || p_ || Function("return this")();
  function v_(e, t) {
    return e == null ? void 0 : e[t];
  }
  function g_(e) {
    var t = !1;
    if (e != null && typeof e.toString != "function")
      try {
        t = !!(e + "");
      } catch {}
    return t;
  }
  var T_ = Array.prototype,
    E_ = Function.prototype,
    lo = Object.prototype,
    ki = L0["__core-js_shared__"],
    ps = (function () {
      var e = /[^.]+$/.exec((ki && ki.keys && ki.keys.IE_PROTO) || "");
      return e ? "Symbol(src)_1." + e : "";
    })(),
    uo = E_.toString,
    O0 = lo.hasOwnProperty,
    co = lo.toString,
    w_ = RegExp(
      "^" +
        uo
          .call(O0)
          .replace(d_, "\\$&")
          .replace(
            /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
            "$1.*?"
          ) +
        "$"
    ),
    vs = L0.Symbol,
    S_ = T_.splice,
    A_ = ho(L0, "Map"),
    Jn = ho(Object, "create"),
    gs = vs ? vs.prototype : void 0,
    Ts = gs ? gs.toString : void 0;
  function jr(e) {
    var t = -1,
      r = e ? e.length : 0;
    for (this.clear(); ++t < r; ) {
      var n = e[t];
      this.set(n[0], n[1]);
    }
  }
  function y_() {
    this.__data__ = Jn ? Jn(null) : {};
  }
  function F_(e) {
    return this.has(e) && delete this.__data__[e];
  }
  function L_(e) {
    var t = this.__data__;
    if (Jn) {
      var r = t[e];
      return r === fo ? void 0 : r;
    }
    return O0.call(t, e) ? t[e] : void 0;
  }
  function O_(e) {
    var t = this.__data__;
    return Jn ? t[e] !== void 0 : O0.call(t, e);
  }
  function R_(e, t) {
    var r = this.__data__;
    return (r[e] = Jn && t === void 0 ? fo : t), this;
  }
  jr.prototype.clear = y_;
  jr.prototype.delete = F_;
  jr.prototype.get = L_;
  jr.prototype.has = O_;
  jr.prototype.set = R_;
  function An(e) {
    var t = -1,
      r = e ? e.length : 0;
    for (this.clear(); ++t < r; ) {
      var n = e[t];
      this.set(n[0], n[1]);
    }
  }
  function C_() {
    this.__data__ = [];
  }
  function I_(e) {
    var t = this.__data__,
      r = ci(t, e);
    if (r < 0) return !1;
    var n = t.length - 1;
    return r == n ? t.pop() : S_.call(t, r, 1), !0;
  }
  function D_(e) {
    var t = this.__data__,
      r = ci(t, e);
    return r < 0 ? void 0 : t[r][1];
  }
  function N_(e) {
    return ci(this.__data__, e) > -1;
  }
  function k_(e, t) {
    var r = this.__data__,
      n = ci(r, e);
    return n < 0 ? r.push([e, t]) : (r[n][1] = t), this;
  }
  An.prototype.clear = C_;
  An.prototype.delete = I_;
  An.prototype.get = D_;
  An.prototype.has = N_;
  An.prototype.set = k_;
  function Zr(e) {
    var t = -1,
      r = e ? e.length : 0;
    for (this.clear(); ++t < r; ) {
      var n = e[t];
      this.set(n[0], n[1]);
    }
  }
  function M_() {
    this.__data__ = { hash: new jr(), map: new (A_ || An)(), string: new jr() };
  }
  function P_(e) {
    return hi(this, e).delete(e);
  }
  function B_(e) {
    return hi(this, e).get(e);
  }
  function b_(e) {
    return hi(this, e).has(e);
  }
  function U_(e, t) {
    return hi(this, e).set(e, t), this;
  }
  Zr.prototype.clear = M_;
  Zr.prototype.delete = P_;
  Zr.prototype.get = B_;
  Zr.prototype.has = b_;
  Zr.prototype.set = U_;
  function ci(e, t) {
    for (var r = e.length; r--; ) if (J_(e[r][0], t)) return r;
    return -1;
  }
  function W_(e, t) {
    t = V_(t, e) ? [t] : G_(t);
    for (var r = 0, n = t.length; e != null && r < n; ) e = e[K_(t[r++])];
    return r && r == n ? e : void 0;
  }
  function H_(e) {
    if (!xo(e) || j_(e)) return !1;
    var t = Z_(e) || g_(e) ? w_ : x_;
    return t.test(z_(e));
  }
  function Y_(e) {
    if (typeof e == "string") return e;
    if (C0(e)) return Ts ? Ts.call(e) : "";
    var t = e + "";
    return t == "0" && 1 / e == -oo ? "-0" : t;
  }
  function G_(e) {
    return _o(e) ? e : X_(e);
  }
  function hi(e, t) {
    var r = e.__data__;
    return $_(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
  }
  function ho(e, t) {
    var r = v_(e, t);
    return H_(r) ? r : void 0;
  }
  function V_(e, t) {
    if (_o(e)) return !1;
    var r = typeof e;
    return r == "number" ||
      r == "symbol" ||
      r == "boolean" ||
      e == null ||
      C0(e)
      ? !0
      : u_.test(e) || !l_.test(e) || (t != null && e in Object(t));
  }
  function $_(e) {
    var t = typeof e;
    return t == "string" || t == "number" || t == "symbol" || t == "boolean"
      ? e !== "__proto__"
      : e === null;
  }
  function j_(e) {
    return !!ps && ps in e;
  }
  var X_ = R0(function (e) {
    e = Q_(e);
    var t = [];
    return (
      c_.test(e) && t.push(""),
      e.replace(h_, function (r, n, a, i) {
        t.push(a ? i.replace(__, "$1") : n || r);
      }),
      t
    );
  });
  function K_(e) {
    if (typeof e == "string" || C0(e)) return e;
    var t = e + "";
    return t == "0" && 1 / e == -oo ? "-0" : t;
  }
  function z_(e) {
    if (e != null) {
      try {
        return uo.call(e);
      } catch {}
      try {
        return e + "";
      } catch {}
    }
    return "";
  }
  function R0(e, t) {
    if (typeof e != "function" || (t && typeof t != "function"))
      throw new TypeError(i_);
    var r = function () {
      var n = arguments,
        a = t ? t.apply(this, n) : n[0],
        i = r.cache;
      if (i.has(a)) return i.get(a);
      var s = e.apply(this, n);
      return (r.cache = i.set(a, s)), s;
    };
    return (r.cache = new (R0.Cache || Zr)()), r;
  }
  R0.Cache = Zr;
  function J_(e, t) {
    return e === t || (e !== e && t !== t);
  }
  var _o = Array.isArray;
  function Z_(e) {
    var t = xo(e) ? co.call(e) : "";
    return t == s_ || t == f_;
  }
  function xo(e) {
    var t = typeof e;
    return !!e && (t == "object" || t == "function");
  }
  function q_(e) {
    return !!e && typeof e == "object";
  }
  function C0(e) {
    return typeof e == "symbol" || (q_(e) && co.call(e) == o_);
  }
  function Q_(e) {
    return e == null ? "" : Y_(e);
  }
  function ex(e, t, r) {
    var n = e == null ? void 0 : W_(e, t);
    return n === void 0 ? r : n;
  }
  var Es = ex;
  function Mi(e) {
    return e == null ? "" : `${e}`;
  }
  function tx(e = {}) {
    return e.separator
      ? e.decimals
        ? (t) => t.toFixed(e.decimals).replace(".", e.separator)
        : (t) => `${t}`.replace(".", e.separator)
      : e.decimals
      ? (t) => t.toFixed(e.decimals)
      : (t) => `${t}`;
  }
  function I0(e = {}) {
    const t = typeof e.quote == "string" ? e.quote : '"',
      r = typeof e.escapedQuote == "string" ? e.escapedQuote : `${t}${t}`;
    return !t || t === r
      ? (n) => n
      : (n) => (
          n.includes(t) && (n = n.replace(new RegExp(t, "g"), r)),
          `${t}${n}${t}`
        );
  }
  function rx(e = { stringFormatter: I0() }) {
    return (t) => e.stringFormatter(t.toString().slice(7, -1));
  }
  function nx(e = { stringFormatter: I0() }) {
    return (t) =>
      t === null || ((t = JSON.stringify(t)), t === void 0)
        ? ""
        : (t[0] === '"' && (t = t.replace(/^"(.+)"$/, "$1")),
          e.stringFormatter(t));
  }
  function ws(e, t, r) {
    const n = e[t];
    return n === void 0 ? r : n;
  }
  function mo(e, t) {
    try {
      return e.push(...t), e;
    } catch {
      return e.concat(t);
    }
  }
  function e0(e, t) {
    let r = !0;
    return e.reduce(
      (n, a) => (
        a == null && (a = ""), r ? ((r = !1), `${a}`) : `${n}${t}${a}`
      ),
      ""
    );
  }
  class ax {
    constructor(t) {
      this.opts = this.preprocessOpts(t);
    }
    preprocessOpts(t) {
      const r = Object.assign({}, t);
      r.fields &&
        (r.fields = this.preprocessFieldsInfo(r.fields, r.defaultValue)),
        (r.transforms = r.transforms || []);
      const n = (r.formatters && r.formatters.string) || I0(),
        a = nx({ stringFormatter: n }),
        i = {
          header: n,
          undefined: Mi,
          boolean: Mi,
          number: tx(),
          bigint: Mi,
          string: n,
          symbol: rx({ stringFormatter: n }),
          function: a,
          object: a,
        };
      return (
        (r.formatters = { ...i, ...r.formatters }),
        (r.delimiter = r.delimiter || ","),
        (r.eol =
          r.eol ||
          `
`),
        (r.header = r.header !== !1),
        (r.includeEmptyRows = r.includeEmptyRows || !1),
        (r.withBOM = r.withBOM || !1),
        r
      );
    }
    preprocessFieldsInfo(t, r) {
      return t.map((n) => {
        if (typeof n == "string")
          return {
            label: n,
            value:
              n.includes(".") || n.includes("[")
                ? (a) => Es(a, n, r)
                : (a) => ws(a, n, r),
          };
        if (typeof n == "object") {
          const a = "default" in n ? n.default : r;
          if (typeof n.value == "string")
            return {
              label: n.label || n.value,
              value:
                n.value.includes(".") || n.value.includes("[")
                  ? (i) => Es(i, n.value, a)
                  : (i) => ws(i, n.value, a),
            };
          if (typeof n.value == "function") {
            const i = n.label || n.value.name || "",
              s = { label: i, default: a };
            return {
              label: i,
              value(f) {
                const o = n.value(f, s);
                return o == null ? a : o;
              },
            };
          }
        }
        throw new Error("Invalid field info option. " + JSON.stringify(n));
      });
    }
    getHeader() {
      return e0(
        this.opts.fields.map((t) => this.opts.formatters.header(t.label)),
        this.opts.delimiter
      );
    }
    preprocessRow(t) {
      return this.opts.transforms.reduce(
        (r, n) => r.map((a) => n(a)).reduce(mo, []),
        [t]
      );
    }
    processRow(t) {
      if (!t) return;
      const r = this.opts.fields.map((n) => this.processCell(t, n));
      if (!(!this.opts.includeEmptyRows && r.every((n) => n === "")))
        return e0(r, this.opts.delimiter);
    }
    processCell(t, r) {
      return this.processValue(r.value(t));
    }
    processValue(t) {
      return this.opts.formatters[typeof t](t);
    }
  }
  class ix extends ax {
    constructor(t) {
      super(t);
    }
    parse(t) {
      const r = this.preprocessData(t);
      this.opts.fields =
        this.opts.fields ||
        this.preprocessFieldsInfo(
          r.reduce(
            (s, f) => (
              Object.keys(f).forEach((o) => {
                s.includes(o) || s.push(o);
              }),
              s
            ),
            []
          )
        );
      const n = this.opts.header ? this.getHeader() : "",
        a = this.processData(r);
      return (
        (this.opts.withBOM ? "\uFEFF" : "") +
        n +
        (n && a ? this.opts.eol : "") +
        a
      );
    }
    preprocessData(t) {
      const r = Array.isArray(t) ? t : [t];
      if (!this.opts.fields && (r.length === 0 || typeof r[0] != "object"))
        throw new Error(
          'Data should not be empty or the "fields" option should be included'
        );
      return this.opts.transforms.length === 0
        ? r
        : r.map((n) => this.preprocessRow(n)).reduce(mo, []);
    }
    processData(t) {
      return e0(
        t.map((r) => this.processRow(r)).filter((r) => r),
        this.opts.eol
      );
    }
  }
  var Qe;
  (function (e) {
    (e[(e.BACKSPACE = 8)] = "BACKSPACE"),
      (e[(e.FORM_FEED = 12)] = "FORM_FEED"),
      (e[(e.NEWLINE = 10)] = "NEWLINE"),
      (e[(e.CARRIAGE_RETURN = 13)] = "CARRIAGE_RETURN"),
      (e[(e.TAB = 9)] = "TAB"),
      (e[(e.SPACE = 32)] = "SPACE"),
      (e[(e.EXCLAMATION_MARK = 33)] = "EXCLAMATION_MARK"),
      (e[(e.QUOTATION_MARK = 34)] = "QUOTATION_MARK"),
      (e[(e.NUMBER_SIGN = 35)] = "NUMBER_SIGN"),
      (e[(e.DOLLAR_SIGN = 36)] = "DOLLAR_SIGN"),
      (e[(e.PERCENT_SIGN = 37)] = "PERCENT_SIGN"),
      (e[(e.AMPERSAND = 38)] = "AMPERSAND"),
      (e[(e.APOSTROPHE = 39)] = "APOSTROPHE"),
      (e[(e.LEFT_PARENTHESIS = 40)] = "LEFT_PARENTHESIS"),
      (e[(e.RIGHT_PARENTHESIS = 41)] = "RIGHT_PARENTHESIS"),
      (e[(e.ASTERISK = 42)] = "ASTERISK"),
      (e[(e.PLUS_SIGN = 43)] = "PLUS_SIGN"),
      (e[(e.COMMA = 44)] = "COMMA"),
      (e[(e.HYPHEN_MINUS = 45)] = "HYPHEN_MINUS"),
      (e[(e.FULL_STOP = 46)] = "FULL_STOP"),
      (e[(e.SOLIDUS = 47)] = "SOLIDUS"),
      (e[(e.DIGIT_ZERO = 48)] = "DIGIT_ZERO"),
      (e[(e.DIGIT_ONE = 49)] = "DIGIT_ONE"),
      (e[(e.DIGIT_TWO = 50)] = "DIGIT_TWO"),
      (e[(e.DIGIT_THREE = 51)] = "DIGIT_THREE"),
      (e[(e.DIGIT_FOUR = 52)] = "DIGIT_FOUR"),
      (e[(e.DIGIT_FIVE = 53)] = "DIGIT_FIVE"),
      (e[(e.DIGIT_SIX = 54)] = "DIGIT_SIX"),
      (e[(e.DIGIT_SEVEN = 55)] = "DIGIT_SEVEN"),
      (e[(e.DIGIT_EIGHT = 56)] = "DIGIT_EIGHT"),
      (e[(e.DIGIT_NINE = 57)] = "DIGIT_NINE"),
      (e[(e.COLON = 58)] = "COLON"),
      (e[(e.SEMICOLON = 59)] = "SEMICOLON"),
      (e[(e.LESS_THAN_SIGN = 60)] = "LESS_THAN_SIGN"),
      (e[(e.EQUALS_SIGN = 61)] = "EQUALS_SIGN"),
      (e[(e.GREATER_THAN_SIGN = 62)] = "GREATER_THAN_SIGN"),
      (e[(e.QUESTION_MARK = 63)] = "QUESTION_MARK"),
      (e[(e.COMMERCIAL_AT = 64)] = "COMMERCIAL_AT"),
      (e[(e.LATIN_CAPITAL_LETTER_A = 65)] = "LATIN_CAPITAL_LETTER_A"),
      (e[(e.LATIN_CAPITAL_LETTER_B = 66)] = "LATIN_CAPITAL_LETTER_B"),
      (e[(e.LATIN_CAPITAL_LETTER_C = 67)] = "LATIN_CAPITAL_LETTER_C"),
      (e[(e.LATIN_CAPITAL_LETTER_D = 68)] = "LATIN_CAPITAL_LETTER_D"),
      (e[(e.LATIN_CAPITAL_LETTER_E = 69)] = "LATIN_CAPITAL_LETTER_E"),
      (e[(e.LATIN_CAPITAL_LETTER_F = 70)] = "LATIN_CAPITAL_LETTER_F"),
      (e[(e.LATIN_CAPITAL_LETTER_G = 71)] = "LATIN_CAPITAL_LETTER_G"),
      (e[(e.LATIN_CAPITAL_LETTER_H = 72)] = "LATIN_CAPITAL_LETTER_H"),
      (e[(e.LATIN_CAPITAL_LETTER_I = 73)] = "LATIN_CAPITAL_LETTER_I"),
      (e[(e.LATIN_CAPITAL_LETTER_J = 74)] = "LATIN_CAPITAL_LETTER_J"),
      (e[(e.LATIN_CAPITAL_LETTER_K = 75)] = "LATIN_CAPITAL_LETTER_K"),
      (e[(e.LATIN_CAPITAL_LETTER_L = 76)] = "LATIN_CAPITAL_LETTER_L"),
      (e[(e.LATIN_CAPITAL_LETTER_M = 77)] = "LATIN_CAPITAL_LETTER_M"),
      (e[(e.LATIN_CAPITAL_LETTER_N = 78)] = "LATIN_CAPITAL_LETTER_N"),
      (e[(e.LATIN_CAPITAL_LETTER_O = 79)] = "LATIN_CAPITAL_LETTER_O"),
      (e[(e.LATIN_CAPITAL_LETTER_P = 80)] = "LATIN_CAPITAL_LETTER_P"),
      (e[(e.LATIN_CAPITAL_LETTER_Q = 81)] = "LATIN_CAPITAL_LETTER_Q"),
      (e[(e.LATIN_CAPITAL_LETTER_R = 82)] = "LATIN_CAPITAL_LETTER_R"),
      (e[(e.LATIN_CAPITAL_LETTER_S = 83)] = "LATIN_CAPITAL_LETTER_S"),
      (e[(e.LATIN_CAPITAL_LETTER_T = 84)] = "LATIN_CAPITAL_LETTER_T"),
      (e[(e.LATIN_CAPITAL_LETTER_U = 85)] = "LATIN_CAPITAL_LETTER_U"),
      (e[(e.LATIN_CAPITAL_LETTER_V = 86)] = "LATIN_CAPITAL_LETTER_V"),
      (e[(e.LATIN_CAPITAL_LETTER_W = 87)] = "LATIN_CAPITAL_LETTER_W"),
      (e[(e.LATIN_CAPITAL_LETTER_X = 88)] = "LATIN_CAPITAL_LETTER_X"),
      (e[(e.LATIN_CAPITAL_LETTER_Y = 89)] = "LATIN_CAPITAL_LETTER_Y"),
      (e[(e.LATIN_CAPITAL_LETTER_Z = 90)] = "LATIN_CAPITAL_LETTER_Z"),
      (e[(e.LEFT_SQUARE_BRACKET = 91)] = "LEFT_SQUARE_BRACKET"),
      (e[(e.REVERSE_SOLIDUS = 92)] = "REVERSE_SOLIDUS"),
      (e[(e.RIGHT_SQUARE_BRACKET = 93)] = "RIGHT_SQUARE_BRACKET"),
      (e[(e.CIRCUMFLEX_ACCENT = 94)] = "CIRCUMFLEX_ACCENT"),
      (e[(e.LOW_LINE = 95)] = "LOW_LINE"),
      (e[(e.GRAVE_ACCENT = 96)] = "GRAVE_ACCENT"),
      (e[(e.LATIN_SMALL_LETTER_A = 97)] = "LATIN_SMALL_LETTER_A"),
      (e[(e.LATIN_SMALL_LETTER_B = 98)] = "LATIN_SMALL_LETTER_B"),
      (e[(e.LATIN_SMALL_LETTER_C = 99)] = "LATIN_SMALL_LETTER_C"),
      (e[(e.LATIN_SMALL_LETTER_D = 100)] = "LATIN_SMALL_LETTER_D"),
      (e[(e.LATIN_SMALL_LETTER_E = 101)] = "LATIN_SMALL_LETTER_E"),
      (e[(e.LATIN_SMALL_LETTER_F = 102)] = "LATIN_SMALL_LETTER_F"),
      (e[(e.LATIN_SMALL_LETTER_G = 103)] = "LATIN_SMALL_LETTER_G"),
      (e[(e.LATIN_SMALL_LETTER_H = 104)] = "LATIN_SMALL_LETTER_H"),
      (e[(e.LATIN_SMALL_LETTER_I = 105)] = "LATIN_SMALL_LETTER_I"),
      (e[(e.LATIN_SMALL_LETTER_J = 106)] = "LATIN_SMALL_LETTER_J"),
      (e[(e.LATIN_SMALL_LETTER_K = 107)] = "LATIN_SMALL_LETTER_K"),
      (e[(e.LATIN_SMALL_LETTER_L = 108)] = "LATIN_SMALL_LETTER_L"),
      (e[(e.LATIN_SMALL_LETTER_M = 109)] = "LATIN_SMALL_LETTER_M"),
      (e[(e.LATIN_SMALL_LETTER_N = 110)] = "LATIN_SMALL_LETTER_N"),
      (e[(e.LATIN_SMALL_LETTER_O = 111)] = "LATIN_SMALL_LETTER_O"),
      (e[(e.LATIN_SMALL_LETTER_P = 112)] = "LATIN_SMALL_LETTER_P"),
      (e[(e.LATIN_SMALL_LETTER_Q = 113)] = "LATIN_SMALL_LETTER_Q"),
      (e[(e.LATIN_SMALL_LETTER_R = 114)] = "LATIN_SMALL_LETTER_R"),
      (e[(e.LATIN_SMALL_LETTER_S = 115)] = "LATIN_SMALL_LETTER_S"),
      (e[(e.LATIN_SMALL_LETTER_T = 116)] = "LATIN_SMALL_LETTER_T"),
      (e[(e.LATIN_SMALL_LETTER_U = 117)] = "LATIN_SMALL_LETTER_U"),
      (e[(e.LATIN_SMALL_LETTER_V = 118)] = "LATIN_SMALL_LETTER_V"),
      (e[(e.LATIN_SMALL_LETTER_W = 119)] = "LATIN_SMALL_LETTER_W"),
      (e[(e.LATIN_SMALL_LETTER_X = 120)] = "LATIN_SMALL_LETTER_X"),
      (e[(e.LATIN_SMALL_LETTER_Y = 121)] = "LATIN_SMALL_LETTER_Y"),
      (e[(e.LATIN_SMALL_LETTER_Z = 122)] = "LATIN_SMALL_LETTER_Z"),
      (e[(e.LEFT_CURLY_BRACKET = 123)] = "LEFT_CURLY_BRACKET"),
      (e[(e.VERTICAL_LINE = 124)] = "VERTICAL_LINE"),
      (e[(e.RIGHT_CURLY_BRACKET = 125)] = "RIGHT_CURLY_BRACKET"),
      (e[(e.TILDE = 126)] = "TILDE");
  })(Qe || (Qe = {}));
  Qe.QUOTATION_MARK + "",
    Qe.QUOTATION_MARK,
    Qe.REVERSE_SOLIDUS + "",
    Qe.REVERSE_SOLIDUS,
    Qe.SOLIDUS + "",
    Qe.SOLIDUS,
    Qe.LATIN_SMALL_LETTER_B + "",
    Qe.BACKSPACE,
    Qe.LATIN_SMALL_LETTER_F + "",
    Qe.FORM_FEED,
    Qe.LATIN_SMALL_LETTER_N + "",
    Qe.NEWLINE,
    Qe.LATIN_SMALL_LETTER_R + "",
    Qe.CARRIAGE_RETURN,
    Qe.LATIN_SMALL_LETTER_T + "",
    Qe.TAB;
  var Ss;
  (function (e) {
    (e[(e.LEFT_BRACE = 1)] = "LEFT_BRACE"),
      (e[(e.RIGHT_BRACE = 2)] = "RIGHT_BRACE"),
      (e[(e.LEFT_BRACKET = 3)] = "LEFT_BRACKET"),
      (e[(e.RIGHT_BRACKET = 4)] = "RIGHT_BRACKET"),
      (e[(e.COLON = 5)] = "COLON"),
      (e[(e.COMMA = 6)] = "COMMA"),
      (e[(e.TRUE = 7)] = "TRUE"),
      (e[(e.FALSE = 8)] = "FALSE"),
      (e[(e.NULL = 9)] = "NULL"),
      (e[(e.STRING = 10)] = "STRING"),
      (e[(e.NUMBER = 11)] = "NUMBER"),
      (e[(e.SEPARATOR = 12)] = "SEPARATOR");
  })(Ss || (Ss = {}));
  var As;
  (function (e) {
    (e[(e.START = 0)] = "START"),
      (e[(e.ENDED = 1)] = "ENDED"),
      (e[(e.ERROR = 2)] = "ERROR"),
      (e[(e.TRUE1 = 3)] = "TRUE1"),
      (e[(e.TRUE2 = 4)] = "TRUE2"),
      (e[(e.TRUE3 = 5)] = "TRUE3"),
      (e[(e.FALSE1 = 6)] = "FALSE1"),
      (e[(e.FALSE2 = 7)] = "FALSE2"),
      (e[(e.FALSE3 = 8)] = "FALSE3"),
      (e[(e.FALSE4 = 9)] = "FALSE4"),
      (e[(e.NULL1 = 10)] = "NULL1"),
      (e[(e.NULL2 = 11)] = "NULL2"),
      (e[(e.NULL3 = 12)] = "NULL3"),
      (e[(e.STRING_DEFAULT = 13)] = "STRING_DEFAULT"),
      (e[(e.STRING_AFTER_BACKSLASH = 14)] = "STRING_AFTER_BACKSLASH"),
      (e[(e.STRING_UNICODE_DIGIT_1 = 15)] = "STRING_UNICODE_DIGIT_1"),
      (e[(e.STRING_UNICODE_DIGIT_2 = 16)] = "STRING_UNICODE_DIGIT_2"),
      (e[(e.STRING_UNICODE_DIGIT_3 = 17)] = "STRING_UNICODE_DIGIT_3"),
      (e[(e.STRING_UNICODE_DIGIT_4 = 18)] = "STRING_UNICODE_DIGIT_4"),
      (e[(e.STRING_INCOMPLETE_CHAR = 19)] = "STRING_INCOMPLETE_CHAR"),
      (e[(e.NUMBER_AFTER_INITIAL_MINUS = 20)] = "NUMBER_AFTER_INITIAL_MINUS"),
      (e[(e.NUMBER_AFTER_INITIAL_ZERO = 21)] = "NUMBER_AFTER_INITIAL_ZERO"),
      (e[(e.NUMBER_AFTER_INITIAL_NON_ZERO = 22)] =
        "NUMBER_AFTER_INITIAL_NON_ZERO"),
      (e[(e.NUMBER_AFTER_FULL_STOP = 23)] = "NUMBER_AFTER_FULL_STOP"),
      (e[(e.NUMBER_AFTER_DECIMAL = 24)] = "NUMBER_AFTER_DECIMAL"),
      (e[(e.NUMBER_AFTER_E = 25)] = "NUMBER_AFTER_E"),
      (e[(e.NUMBER_AFTER_E_AND_SIGN = 26)] = "NUMBER_AFTER_E_AND_SIGN"),
      (e[(e.NUMBER_AFTER_E_AND_DIGIT = 27)] = "NUMBER_AFTER_E_AND_DIGIT"),
      (e[(e.SEPARATOR = 28)] = "SEPARATOR");
  })(As || (As = {}));
  var ys;
  (function (e) {
    (e[(e.VALUE = 0)] = "VALUE"),
      (e[(e.KEY = 1)] = "KEY"),
      (e[(e.COLON = 2)] = "COLON"),
      (e[(e.COMMA = 3)] = "COMMA"),
      (e[(e.ENDED = 4)] = "ENDED"),
      (e[(e.ERROR = 5)] = "ERROR"),
      (e[(e.SEPARATOR = 6)] = "SEPARATOR");
  })(ys || (ys = {}));
  var Fs;
  (function (e) {
    (e[(e.OBJECT = 0)] = "OBJECT"), (e[(e.ARRAY = 1)] = "ARRAY");
  })(Fs || (Fs = {}));
  function sx({ fields: e, data: t }) {
    const r = { fields: e, withBOM: !0 },
      n = new ix(r);
    try {
      return n.parse(t);
    } catch (a) {
      console.error(a);
    }
  }
  const fx = [
    "Media ID",
    "Shortcode",
    "Likes",
    "Comments",
    "Caption",
    "Hashtags",
    "Post URL",
    "Thumbnail URL",
    "Image URL",
    "Is Video",
    "Video URL",
    "Video View Count",
    "User ID",
    "User Name",
    "Location ID",
    "Location Name",
    "Location URL",
    "Location Slug",
    "Location Lat",
    "Location Long",
    "Date(GMT)",
    "Timestamp",
  ];
  function ox(e) {
    const t = e.map((r) => {
      const { id: n, lat: a, lng: i, name: s, slug: f } = r.location || {},
        o = n ? `https://www.instagram.com/explore/locations/${n}/${f}` : "",
        l =
          r.edge_media_to_caption.edges.length > 0
            ? r.edge_media_to_caption.edges[0].node.text
            : "";
      return {
        "Media ID": r.id + "",
        Shortcode: r.shortcode,
        "Date(GMT)": new Date(r.taken_at_timestamp * 1e3).toUTCString(),
        Timestamp: r.taken_at_timestamp,
        Caption: l,
        Hashtags: Tu(l),
        Likes: r.edge_media_preview_like.count,
        Comments: r.edge_media_to_comment.count,
        "Post URL": "https://www.instagram.com/p/" + r.shortcode + "/",
        "Thumbnail URL": r.thumbnail_src,
        "Image URL": r.display_url,
        "Is Video": r.is_video ? "YES" : "NO",
        "Video URL": r.video_url,
        "Video View Count": r.video_view_count,
        "User ID": r.owner.id,
        "User Name": r.owner.username,
        "Location ID": n || "",
        "Location Name": s || "",
        "Location URL": o || "",
        "Location Slug": f || "",
        "Location Lat": a || "",
        "Location Long": i || "",
      };
    });
    return { fields: fx, data: t };
  }
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */ var ba = {};
  ba.version = "0.18.5";
  var po = 1252,
    lx = [
      874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257,
      1258, 1e4,
    ],
    vo = function (e) {
      lx.indexOf(e) != -1 && (po = e);
    };
  function ux() {
    vo(1252);
  }
  var Zn = function (e) {
    vo(e);
  };
  function cx() {
    Zn(1200), ux();
  }
  function hx(e) {
    for (var t = [], r = 0; r < e.length >> 1; ++r)
      t[r] = String.fromCharCode(
        e.charCodeAt(2 * r + 1) + (e.charCodeAt(2 * r) << 8)
      );
    return t.join("");
  }
  var ga = function (t) {
      return String.fromCharCode(t);
    },
    Ls = function (t) {
      return String.fromCharCode(t);
    },
    Wr,
    Or = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  function qn(e) {
    for (
      var t = "", r = 0, n = 0, a = 0, i = 0, s = 0, f = 0, o = 0, l = 0;
      l < e.length;

    )
      (r = e.charCodeAt(l++)),
        (i = r >> 2),
        (n = e.charCodeAt(l++)),
        (s = ((r & 3) << 4) | (n >> 4)),
        (a = e.charCodeAt(l++)),
        (f = ((n & 15) << 2) | (a >> 6)),
        (o = a & 63),
        isNaN(n) ? (f = o = 64) : isNaN(a) && (o = 64),
        (t += Or.charAt(i) + Or.charAt(s) + Or.charAt(f) + Or.charAt(o));
    return t;
  }
  function Tr(e) {
    var t = "",
      r = 0,
      n = 0,
      a = 0,
      i = 0,
      s = 0,
      f = 0,
      o = 0;
    e = e.replace(/[^\w\+\/\=]/g, "");
    for (var l = 0; l < e.length; )
      (i = Or.indexOf(e.charAt(l++))),
        (s = Or.indexOf(e.charAt(l++))),
        (r = (i << 2) | (s >> 4)),
        (t += String.fromCharCode(r)),
        (f = Or.indexOf(e.charAt(l++))),
        (n = ((s & 15) << 4) | (f >> 2)),
        f !== 64 && (t += String.fromCharCode(n)),
        (o = Or.indexOf(e.charAt(l++))),
        (a = ((f & 3) << 6) | o),
        o !== 64 && (t += String.fromCharCode(a));
    return t;
  }
  var Se = (function () {
      return (
        typeof Buffer != "undefined" &&
        typeof process != "undefined" &&
        typeof process.versions != "undefined" &&
        !!process.versions.node
      );
    })(),
    Ar = (function () {
      if (typeof Buffer != "undefined") {
        var e = !Buffer.from;
        if (!e)
          try {
            Buffer.from("foo", "utf8");
          } catch {
            e = !0;
          }
        return e
          ? function (t, r) {
              return r ? new Buffer(t, r) : new Buffer(t);
            }
          : Buffer.from.bind(Buffer);
      }
      return function () {};
    })();
  function Xr(e) {
    return Se
      ? Buffer.alloc
        ? Buffer.alloc(e)
        : new Buffer(e)
      : typeof Uint8Array != "undefined"
      ? new Uint8Array(e)
      : new Array(e);
  }
  function Os(e) {
    return Se
      ? Buffer.allocUnsafe
        ? Buffer.allocUnsafe(e)
        : new Buffer(e)
      : typeof Uint8Array != "undefined"
      ? new Uint8Array(e)
      : new Array(e);
  }
  var $t = function (t) {
    return Se
      ? Ar(t, "binary")
      : t.split("").map(function (r) {
          return r.charCodeAt(0) & 255;
        });
  };
  function di(e) {
    if (typeof ArrayBuffer == "undefined") return $t(e);
    for (
      var t = new ArrayBuffer(e.length), r = new Uint8Array(t), n = 0;
      n != e.length;
      ++n
    )
      r[n] = e.charCodeAt(n) & 255;
    return t;
  }
  function fa(e) {
    if (Array.isArray(e))
      return e
        .map(function (n) {
          return String.fromCharCode(n);
        })
        .join("");
    for (var t = [], r = 0; r < e.length; ++r) t[r] = String.fromCharCode(e[r]);
    return t.join("");
  }
  function dx(e) {
    if (typeof Uint8Array == "undefined") throw new Error("Unsupported");
    return new Uint8Array(e);
  }
  var ot = Se
    ? function (e) {
        return Buffer.concat(
          e.map(function (t) {
            return Buffer.isBuffer(t) ? t : Ar(t);
          })
        );
      }
    : function (e) {
        if (typeof Uint8Array != "undefined") {
          var t = 0,
            r = 0;
          for (t = 0; t < e.length; ++t) r += e[t].length;
          var n = new Uint8Array(r),
            a = 0;
          for (t = 0, r = 0; t < e.length; r += a, ++t)
            if (((a = e[t].length), e[t] instanceof Uint8Array)) n.set(e[t], r);
            else {
              if (typeof e[t] == "string") throw "wtf";
              n.set(new Uint8Array(e[t]), r);
            }
          return n;
        }
        return [].concat.apply(
          [],
          e.map(function (i) {
            return Array.isArray(i) ? i : [].slice.call(i);
          })
        );
      };
  function _x(e) {
    for (
      var t = [], r = 0, n = e.length + 250, a = Xr(e.length + 255), i = 0;
      i < e.length;
      ++i
    ) {
      var s = e.charCodeAt(i);
      if (s < 128) a[r++] = s;
      else if (s < 2048)
        (a[r++] = 192 | ((s >> 6) & 31)), (a[r++] = 128 | (s & 63));
      else if (s >= 55296 && s < 57344) {
        s = (s & 1023) + 64;
        var f = e.charCodeAt(++i) & 1023;
        (a[r++] = 240 | ((s >> 8) & 7)),
          (a[r++] = 128 | ((s >> 2) & 63)),
          (a[r++] = 128 | ((f >> 6) & 15) | ((s & 3) << 4)),
          (a[r++] = 128 | (f & 63));
      } else
        (a[r++] = 224 | ((s >> 12) & 15)),
          (a[r++] = 128 | ((s >> 6) & 63)),
          (a[r++] = 128 | (s & 63));
      r > n && (t.push(a.slice(0, r)), (r = 0), (a = Xr(65535)), (n = 65530));
    }
    return t.push(a.slice(0, r)), ot(t);
  }
  var Hn = /\u0000/g,
    Ta = /[\u0001-\u0006]/g;
  function pn(e) {
    for (var t = "", r = e.length - 1; r >= 0; ) t += e.charAt(r--);
    return t;
  }
  function Xt(e, t) {
    var r = "" + e;
    return r.length >= t ? r : Ge("0", t - r.length) + r;
  }
  function D0(e, t) {
    var r = "" + e;
    return r.length >= t ? r : Ge(" ", t - r.length) + r;
  }
  function Ua(e, t) {
    var r = "" + e;
    return r.length >= t ? r : r + Ge(" ", t - r.length);
  }
  function xx(e, t) {
    var r = "" + Math.round(e);
    return r.length >= t ? r : Ge("0", t - r.length) + r;
  }
  function mx(e, t) {
    var r = "" + e;
    return r.length >= t ? r : Ge("0", t - r.length) + r;
  }
  var Rs = Math.pow(2, 32);
  function sn(e, t) {
    if (e > Rs || e < -Rs) return xx(e, t);
    var r = Math.round(e);
    return mx(r, t);
  }
  function Wa(e, t) {
    return (
      (t = t || 0),
      e.length >= 7 + t &&
        (e.charCodeAt(t) | 32) === 103 &&
        (e.charCodeAt(t + 1) | 32) === 101 &&
        (e.charCodeAt(t + 2) | 32) === 110 &&
        (e.charCodeAt(t + 3) | 32) === 101 &&
        (e.charCodeAt(t + 4) | 32) === 114 &&
        (e.charCodeAt(t + 5) | 32) === 97 &&
        (e.charCodeAt(t + 6) | 32) === 108
    );
  }
  var Cs = [
      ["Sun", "Sunday"],
      ["Mon", "Monday"],
      ["Tue", "Tuesday"],
      ["Wed", "Wednesday"],
      ["Thu", "Thursday"],
      ["Fri", "Friday"],
      ["Sat", "Saturday"],
    ],
    Pi = [
      ["J", "Jan", "January"],
      ["F", "Feb", "February"],
      ["M", "Mar", "March"],
      ["A", "Apr", "April"],
      ["M", "May", "May"],
      ["J", "Jun", "June"],
      ["J", "Jul", "July"],
      ["A", "Aug", "August"],
      ["S", "Sep", "September"],
      ["O", "Oct", "October"],
      ["N", "Nov", "November"],
      ["D", "Dec", "December"],
    ];
  function px(e) {
    return (
      e || (e = {}),
      (e[0] = "General"),
      (e[1] = "0"),
      (e[2] = "0.00"),
      (e[3] = "#,##0"),
      (e[4] = "#,##0.00"),
      (e[9] = "0%"),
      (e[10] = "0.00%"),
      (e[11] = "0.00E+00"),
      (e[12] = "# ?/?"),
      (e[13] = "# ??/??"),
      (e[14] = "m/d/yy"),
      (e[15] = "d-mmm-yy"),
      (e[16] = "d-mmm"),
      (e[17] = "mmm-yy"),
      (e[18] = "h:mm AM/PM"),
      (e[19] = "h:mm:ss AM/PM"),
      (e[20] = "h:mm"),
      (e[21] = "h:mm:ss"),
      (e[22] = "m/d/yy h:mm"),
      (e[37] = "#,##0 ;(#,##0)"),
      (e[38] = "#,##0 ;[Red](#,##0)"),
      (e[39] = "#,##0.00;(#,##0.00)"),
      (e[40] = "#,##0.00;[Red](#,##0.00)"),
      (e[45] = "mm:ss"),
      (e[46] = "[h]:mm:ss"),
      (e[47] = "mmss.0"),
      (e[48] = "##0.0E+0"),
      (e[49] = "@"),
      (e[56] = '"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'),
      e
    );
  }
  var Ve = {
      0: "General",
      1: "0",
      2: "0.00",
      3: "#,##0",
      4: "#,##0.00",
      9: "0%",
      10: "0.00%",
      11: "0.00E+00",
      12: "# ?/?",
      13: "# ??/??",
      14: "m/d/yy",
      15: "d-mmm-yy",
      16: "d-mmm",
      17: "mmm-yy",
      18: "h:mm AM/PM",
      19: "h:mm:ss AM/PM",
      20: "h:mm",
      21: "h:mm:ss",
      22: "m/d/yy h:mm",
      37: "#,##0 ;(#,##0)",
      38: "#,##0 ;[Red](#,##0)",
      39: "#,##0.00;(#,##0.00)",
      40: "#,##0.00;[Red](#,##0.00)",
      45: "mm:ss",
      46: "[h]:mm:ss",
      47: "mmss.0",
      48: "##0.0E+0",
      49: "@",
      56: '"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',
    },
    Is = {
      5: 37,
      6: 38,
      7: 39,
      8: 40,
      23: 0,
      24: 0,
      25: 0,
      26: 0,
      27: 14,
      28: 14,
      29: 14,
      30: 14,
      31: 14,
      50: 14,
      51: 14,
      52: 14,
      53: 14,
      54: 14,
      55: 14,
      56: 14,
      57: 14,
      58: 14,
      59: 1,
      60: 2,
      61: 3,
      62: 4,
      67: 9,
      68: 10,
      69: 12,
      70: 13,
      71: 14,
      72: 14,
      73: 15,
      74: 16,
      75: 17,
      76: 20,
      77: 21,
      78: 22,
      79: 45,
      80: 46,
      81: 47,
      82: 0,
    },
    vx = {
      5: '"$"#,##0_);\\("$"#,##0\\)',
      63: '"$"#,##0_);\\("$"#,##0\\)',
      6: '"$"#,##0_);[Red]\\("$"#,##0\\)',
      64: '"$"#,##0_);[Red]\\("$"#,##0\\)',
      7: '"$"#,##0.00_);\\("$"#,##0.00\\)',
      65: '"$"#,##0.00_);\\("$"#,##0.00\\)',
      8: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',
      66: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',
      41: '_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',
      42: '_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',
      43: '_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',
      44: '_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)',
    };
  function Ha(e, t, r) {
    for (
      var n = e < 0 ? -1 : 1,
        a = e * n,
        i = 0,
        s = 1,
        f = 0,
        o = 1,
        l = 0,
        u = 0,
        x = Math.floor(a);
      l < t &&
      ((x = Math.floor(a)), (f = x * s + i), (u = x * l + o), !(a - x < 5e-8));

    )
      (a = 1 / (a - x)), (i = s), (s = f), (o = l), (l = u);
    if ((u > t && (l > t ? ((u = o), (f = i)) : ((u = l), (f = s))), !r))
      return [0, n * f, u];
    var d = Math.floor((n * f) / u);
    return [d, n * f - d * u, u];
  }
  function Ea(e, t, r) {
    if (e > 2958465 || e < 0) return null;
    var n = e | 0,
      a = Math.floor(86400 * (e - n)),
      i = 0,
      s = [],
      f = {
        D: n,
        T: a,
        u: 86400 * (e - n) - a,
        y: 0,
        m: 0,
        d: 0,
        H: 0,
        M: 0,
        S: 0,
        q: 0,
      };
    if (
      (Math.abs(f.u) < 1e-6 && (f.u = 0),
      t && t.date1904 && (n += 1462),
      f.u > 0.9999 && ((f.u = 0), ++a == 86400 && ((f.T = a = 0), ++n, ++f.D)),
      n === 60)
    )
      (s = r ? [1317, 10, 29] : [1900, 2, 29]), (i = 3);
    else if (n === 0) (s = r ? [1317, 8, 29] : [1900, 1, 0]), (i = 6);
    else {
      n > 60 && --n;
      var o = new Date(1900, 0, 1);
      o.setDate(o.getDate() + n - 1),
        (s = [o.getFullYear(), o.getMonth() + 1, o.getDate()]),
        (i = o.getDay()),
        n < 60 && (i = (i + 6) % 7),
        r && (i = yx(o, s));
    }
    return (
      (f.y = s[0]),
      (f.m = s[1]),
      (f.d = s[2]),
      (f.S = a % 60),
      (a = Math.floor(a / 60)),
      (f.M = a % 60),
      (a = Math.floor(a / 60)),
      (f.H = a),
      (f.q = i),
      f
    );
  }
  var go = new Date(1899, 11, 31, 0, 0, 0),
    gx = go.getTime(),
    Tx = new Date(1900, 2, 1, 0, 0, 0);
  function To(e, t) {
    var r = e.getTime();
    return (
      t
        ? (r -= 1461 * 24 * 60 * 60 * 1e3)
        : e >= Tx && (r += 24 * 60 * 60 * 1e3),
      (r - (gx + (e.getTimezoneOffset() - go.getTimezoneOffset()) * 6e4)) /
        (24 * 60 * 60 * 1e3)
    );
  }
  function N0(e) {
    return e.indexOf(".") == -1
      ? e
      : e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/, "$1");
  }
  function Ex(e) {
    return e.indexOf("E") == -1
      ? e
      : e
          .replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/, "$1E")
          .replace(/(E[+-])(\d)$/, "$10$2");
  }
  function wx(e) {
    var t = e < 0 ? 12 : 11,
      r = N0(e.toFixed(12));
    return r.length <= t || ((r = e.toPrecision(10)), r.length <= t)
      ? r
      : e.toExponential(5);
  }
  function Sx(e) {
    var t = N0(e.toFixed(11));
    return t.length > (e < 0 ? 12 : 11) || t === "0" || t === "-0"
      ? e.toPrecision(6)
      : t;
  }
  function Ax(e) {
    var t = Math.floor(Math.log(Math.abs(e)) * Math.LOG10E),
      r;
    return (
      t >= -4 && t <= -1
        ? (r = e.toPrecision(10 + t))
        : Math.abs(t) <= 9
        ? (r = wx(e))
        : t === 10
        ? (r = e.toFixed(10).substr(0, 12))
        : (r = Sx(e)),
      N0(Ex(r.toUpperCase()))
    );
  }
  function t0(e, t) {
    switch (typeof e) {
      case "string":
        return e;
      case "boolean":
        return e ? "TRUE" : "FALSE";
      case "number":
        return (e | 0) === e ? e.toString(10) : Ax(e);
      case "undefined":
        return "";
      case "object":
        if (e == null) return "";
        if (e instanceof Date) return Ir(14, To(e, t && t.date1904), t);
    }
    throw new Error("unsupported value in General format: " + e);
  }
  function yx(e, t) {
    t[0] -= 581;
    var r = e.getDay();
    return e < 60 && (r = (r + 6) % 7), r;
  }
  function Fx(e, t, r, n) {
    var a = "",
      i = 0,
      s = 0,
      f = r.y,
      o,
      l = 0;
    switch (e) {
      case 98:
        f = r.y + 543;
      case 121:
        switch (t.length) {
          case 1:
          case 2:
            (o = f % 100), (l = 2);
            break;
          default:
            (o = f % 1e4), (l = 4);
            break;
        }
        break;
      case 109:
        switch (t.length) {
          case 1:
          case 2:
            (o = r.m), (l = t.length);
            break;
          case 3:
            return Pi[r.m - 1][1];
          case 5:
            return Pi[r.m - 1][0];
          default:
            return Pi[r.m - 1][2];
        }
        break;
      case 100:
        switch (t.length) {
          case 1:
          case 2:
            (o = r.d), (l = t.length);
            break;
          case 3:
            return Cs[r.q][0];
          default:
            return Cs[r.q][1];
        }
        break;
      case 104:
        switch (t.length) {
          case 1:
          case 2:
            (o = 1 + ((r.H + 11) % 12)), (l = t.length);
            break;
          default:
            throw "bad hour format: " + t;
        }
        break;
      case 72:
        switch (t.length) {
          case 1:
          case 2:
            (o = r.H), (l = t.length);
            break;
          default:
            throw "bad hour format: " + t;
        }
        break;
      case 77:
        switch (t.length) {
          case 1:
          case 2:
            (o = r.M), (l = t.length);
            break;
          default:
            throw "bad minute format: " + t;
        }
        break;
      case 115:
        if (t != "s" && t != "ss" && t != ".0" && t != ".00" && t != ".000")
          throw "bad second format: " + t;
        return r.u === 0 && (t == "s" || t == "ss")
          ? Xt(r.S, t.length)
          : (n >= 2 ? (s = n === 3 ? 1e3 : 100) : (s = n === 1 ? 10 : 1),
            (i = Math.round(s * (r.S + r.u))),
            i >= 60 * s && (i = 0),
            t === "s"
              ? i === 0
                ? "0"
                : "" + i / s
              : ((a = Xt(i, 2 + n)),
                t === "ss" ? a.substr(0, 2) : "." + a.substr(2, t.length - 1)));
      case 90:
        switch (t) {
          case "[h]":
          case "[hh]":
            o = r.D * 24 + r.H;
            break;
          case "[m]":
          case "[mm]":
            o = (r.D * 24 + r.H) * 60 + r.M;
            break;
          case "[s]":
          case "[ss]":
            o = ((r.D * 24 + r.H) * 60 + r.M) * 60 + Math.round(r.S + r.u);
            break;
          default:
            throw "bad abstime format: " + t;
        }
        l = t.length === 3 ? 1 : 2;
        break;
      case 101:
        (o = f), (l = 1);
        break;
    }
    var u = l > 0 ? Xt(o, l) : "";
    return u;
  }
  function Rr(e) {
    var t = 3;
    if (e.length <= t) return e;
    for (var r = e.length % t, n = e.substr(0, r); r != e.length; r += t)
      n += (n.length > 0 ? "," : "") + e.substr(r, t);
    return n;
  }
  var Eo = /%/g;
  function Lx(e, t, r) {
    var n = t.replace(Eo, ""),
      a = t.length - n.length;
    return mr(e, n, r * Math.pow(10, 2 * a)) + Ge("%", a);
  }
  function Ox(e, t, r) {
    for (var n = t.length - 1; t.charCodeAt(n - 1) === 44; ) --n;
    return mr(e, t.substr(0, n), r / Math.pow(10, 3 * (t.length - n)));
  }
  function wo(e, t) {
    var r,
      n = e.indexOf("E") - e.indexOf(".") - 1;
    if (e.match(/^#+0.0E\+0$/)) {
      if (t == 0) return "0.0E+0";
      if (t < 0) return "-" + wo(e, -t);
      var a = e.indexOf(".");
      a === -1 && (a = e.indexOf("E"));
      var i = Math.floor(Math.log(t) * Math.LOG10E) % a;
      if (
        (i < 0 && (i += a),
        (r = (t / Math.pow(10, i)).toPrecision(n + 1 + ((a + i) % a))),
        r.indexOf("e") === -1)
      ) {
        var s = Math.floor(Math.log(t) * Math.LOG10E);
        for (
          r.indexOf(".") === -1
            ? (r = r.charAt(0) + "." + r.substr(1) + "E+" + (s - r.length + i))
            : (r += "E+" + (s - i));
          r.substr(0, 2) === "0.";

        )
          (r = r.charAt(0) + r.substr(2, a) + "." + r.substr(2 + a)),
            (r = r.replace(/^0+([1-9])/, "$1").replace(/^0+\./, "0."));
        r = r.replace(/\+-/, "-");
      }
      r = r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function (f, o, l, u) {
        return o + l + u.substr(0, (a + i) % a) + "." + u.substr(i) + "E";
      });
    } else r = t.toExponential(n);
    return (
      e.match(/E\+00$/) &&
        r.match(/e[+-]\d$/) &&
        (r = r.substr(0, r.length - 1) + "0" + r.charAt(r.length - 1)),
      e.match(/E\-/) && r.match(/e\+/) && (r = r.replace(/e\+/, "e")),
      r.replace("e", "E")
    );
  }
  var So = /# (\?+)( ?)\/( ?)(\d+)/;
  function Rx(e, t, r) {
    var n = parseInt(e[4], 10),
      a = Math.round(t * n),
      i = Math.floor(a / n),
      s = a - i * n,
      f = n;
    return (
      r +
      (i === 0 ? "" : "" + i) +
      " " +
      (s === 0
        ? Ge(" ", e[1].length + 1 + e[4].length)
        : D0(s, e[1].length) + e[2] + "/" + e[3] + Xt(f, e[4].length))
    );
  }
  function Cx(e, t, r) {
    return r + (t === 0 ? "" : "" + t) + Ge(" ", e[1].length + 2 + e[4].length);
  }
  var Ao = /^#*0*\.([0#]+)/,
    yo = /\).*[0#]/,
    Fo = /\(###\) ###\\?-####/;
  function Et(e) {
    for (var t = "", r, n = 0; n != e.length; ++n)
      switch ((r = e.charCodeAt(n))) {
        case 35:
          break;
        case 63:
          t += " ";
          break;
        case 48:
          t += "0";
          break;
        default:
          t += String.fromCharCode(r);
      }
    return t;
  }
  function Ds(e, t) {
    var r = Math.pow(10, t);
    return "" + Math.round(e * r) / r;
  }
  function Ns(e, t) {
    var r = e - Math.floor(e),
      n = Math.pow(10, t);
    return t < ("" + Math.round(r * n)).length ? 0 : Math.round(r * n);
  }
  function Ix(e, t) {
    return t < ("" + Math.round((e - Math.floor(e)) * Math.pow(10, t))).length
      ? 1
      : 0;
  }
  function Dx(e) {
    return e < 2147483647 && e > -2147483648
      ? "" + (e >= 0 ? e | 0 : (e - 1) | 0)
      : "" + Math.floor(e);
  }
  function Bt(e, t, r) {
    if (e.charCodeAt(0) === 40 && !t.match(yo)) {
      var n = t.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, "");
      return r >= 0 ? Bt("n", n, r) : "(" + Bt("n", n, -r) + ")";
    }
    if (t.charCodeAt(t.length - 1) === 44) return Ox(e, t, r);
    if (t.indexOf("%") !== -1) return Lx(e, t, r);
    if (t.indexOf("E") !== -1) return wo(t, r);
    if (t.charCodeAt(0) === 36)
      return "$" + Bt(e, t.substr(t.charAt(1) == " " ? 2 : 1), r);
    var a,
      i,
      s,
      f,
      o = Math.abs(r),
      l = r < 0 ? "-" : "";
    if (t.match(/^00+$/)) return l + sn(o, t.length);
    if (t.match(/^[#?]+$/))
      return (
        (a = sn(r, 0)),
        a === "0" && (a = ""),
        a.length > t.length ? a : Et(t.substr(0, t.length - a.length)) + a
      );
    if ((i = t.match(So))) return Rx(i, o, l);
    if (t.match(/^#+0+$/)) return l + sn(o, t.length - t.indexOf("0"));
    if ((i = t.match(Ao)))
      return (
        (a = Ds(r, i[1].length)
          .replace(/^([^\.]+)$/, "$1." + Et(i[1]))
          .replace(/\.$/, "." + Et(i[1]))
          .replace(/\.(\d*)$/, function (v, c) {
            return "." + c + Ge("0", Et(i[1]).length - c.length);
          })),
        t.indexOf("0.") !== -1 ? a : a.replace(/^0\./, ".")
      );
    if (((t = t.replace(/^#+([0.])/, "$1")), (i = t.match(/^(0*)\.(#*)$/))))
      return (
        l +
        Ds(o, i[2].length)
          .replace(/\.(\d*[1-9])0*$/, ".$1")
          .replace(/^(-?\d*)$/, "$1.")
          .replace(/^0\./, i[1].length ? "0." : ".")
      );
    if ((i = t.match(/^#{1,3},##0(\.?)$/))) return l + Rr(sn(o, 0));
    if ((i = t.match(/^#,##0\.([#0]*0)$/)))
      return r < 0
        ? "-" + Bt(e, t, -r)
        : Rr("" + (Math.floor(r) + Ix(r, i[1].length))) +
            "." +
            Xt(Ns(r, i[1].length), i[1].length);
    if ((i = t.match(/^#,#*,#0/))) return Bt(e, t.replace(/^#,#*,/, ""), r);
    if ((i = t.match(/^([0#]+)(\\?-([0#]+))+$/)))
      return (
        (a = pn(Bt(e, t.replace(/[\\-]/g, ""), r))),
        (s = 0),
        pn(
          pn(t.replace(/\\/g, "")).replace(/[0#]/g, function (v) {
            return s < a.length ? a.charAt(s++) : v === "0" ? "0" : "";
          })
        )
      );
    if (t.match(Fo))
      return (
        (a = Bt(e, "##########", r)),
        "(" + a.substr(0, 3) + ") " + a.substr(3, 3) + "-" + a.substr(6)
      );
    var u = "";
    if ((i = t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)))
      return (
        (s = Math.min(i[4].length, 7)),
        (f = Ha(o, Math.pow(10, s) - 1, !1)),
        (a = "" + l),
        (u = mr("n", i[1], f[1])),
        u.charAt(u.length - 1) == " " && (u = u.substr(0, u.length - 1) + "0"),
        (a += u + i[2] + "/" + i[3]),
        (u = Ua(f[2], s)),
        u.length < i[4].length &&
          (u = Et(i[4].substr(i[4].length - u.length)) + u),
        (a += u),
        a
      );
    if ((i = t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)))
      return (
        (s = Math.min(Math.max(i[1].length, i[4].length), 7)),
        (f = Ha(o, Math.pow(10, s) - 1, !0)),
        l +
          (f[0] || (f[1] ? "" : "0")) +
          " " +
          (f[1]
            ? D0(f[1], s) + i[2] + "/" + i[3] + Ua(f[2], s)
            : Ge(" ", 2 * s + 1 + i[2].length + i[3].length))
      );
    if ((i = t.match(/^[#0?]+$/)))
      return (
        (a = sn(r, 0)),
        t.length <= a.length ? a : Et(t.substr(0, t.length - a.length)) + a
      );
    if ((i = t.match(/^([#0?]+)\.([#0]+)$/))) {
      (a =
        "" + r.toFixed(Math.min(i[2].length, 10)).replace(/([^0])0+$/, "$1")),
        (s = a.indexOf("."));
      var x = t.indexOf(".") - s,
        d = t.length - a.length - x;
      return Et(t.substr(0, x) + a + t.substr(t.length - d));
    }
    if ((i = t.match(/^00,000\.([#0]*0)$/)))
      return (
        (s = Ns(r, i[1].length)),
        r < 0
          ? "-" + Bt(e, t, -r)
          : Rr(Dx(r))
              .replace(/^\d,\d{3}$/, "0$&")
              .replace(/^\d*$/, function (v) {
                return "00," + (v.length < 3 ? Xt(0, 3 - v.length) : "") + v;
              }) +
            "." +
            Xt(s, i[1].length)
      );
    switch (t) {
      case "###,##0.00":
        return Bt(e, "#,##0.00", r);
      case "###,###":
      case "##,###":
      case "#,###":
        var _ = Rr(sn(o, 0));
        return _ !== "0" ? l + _ : "";
      case "###,###.00":
        return Bt(e, "###,##0.00", r).replace(/^0\./, ".");
      case "#,###.00":
        return Bt(e, "#,##0.00", r).replace(/^0\./, ".");
    }
    throw new Error("unsupported format |" + t + "|");
  }
  function Nx(e, t, r) {
    for (var n = t.length - 1; t.charCodeAt(n - 1) === 44; ) --n;
    return mr(e, t.substr(0, n), r / Math.pow(10, 3 * (t.length - n)));
  }
  function kx(e, t, r) {
    var n = t.replace(Eo, ""),
      a = t.length - n.length;
    return mr(e, n, r * Math.pow(10, 2 * a)) + Ge("%", a);
  }
  function Lo(e, t) {
    var r,
      n = e.indexOf("E") - e.indexOf(".") - 1;
    if (e.match(/^#+0.0E\+0$/)) {
      if (t == 0) return "0.0E+0";
      if (t < 0) return "-" + Lo(e, -t);
      var a = e.indexOf(".");
      a === -1 && (a = e.indexOf("E"));
      var i = Math.floor(Math.log(t) * Math.LOG10E) % a;
      if (
        (i < 0 && (i += a),
        (r = (t / Math.pow(10, i)).toPrecision(n + 1 + ((a + i) % a))),
        !r.match(/[Ee]/))
      ) {
        var s = Math.floor(Math.log(t) * Math.LOG10E);
        r.indexOf(".") === -1
          ? (r = r.charAt(0) + "." + r.substr(1) + "E+" + (s - r.length + i))
          : (r += "E+" + (s - i)),
          (r = r.replace(/\+-/, "-"));
      }
      r = r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/, function (f, o, l, u) {
        return o + l + u.substr(0, (a + i) % a) + "." + u.substr(i) + "E";
      });
    } else r = t.toExponential(n);
    return (
      e.match(/E\+00$/) &&
        r.match(/e[+-]\d$/) &&
        (r = r.substr(0, r.length - 1) + "0" + r.charAt(r.length - 1)),
      e.match(/E\-/) && r.match(/e\+/) && (r = r.replace(/e\+/, "e")),
      r.replace("e", "E")
    );
  }
  function er(e, t, r) {
    if (e.charCodeAt(0) === 40 && !t.match(yo)) {
      var n = t.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, "");
      return r >= 0 ? er("n", n, r) : "(" + er("n", n, -r) + ")";
    }
    if (t.charCodeAt(t.length - 1) === 44) return Nx(e, t, r);
    if (t.indexOf("%") !== -1) return kx(e, t, r);
    if (t.indexOf("E") !== -1) return Lo(t, r);
    if (t.charCodeAt(0) === 36)
      return "$" + er(e, t.substr(t.charAt(1) == " " ? 2 : 1), r);
    var a,
      i,
      s,
      f,
      o = Math.abs(r),
      l = r < 0 ? "-" : "";
    if (t.match(/^00+$/)) return l + Xt(o, t.length);
    if (t.match(/^[#?]+$/))
      return (
        (a = "" + r),
        r === 0 && (a = ""),
        a.length > t.length ? a : Et(t.substr(0, t.length - a.length)) + a
      );
    if ((i = t.match(So))) return Cx(i, o, l);
    if (t.match(/^#+0+$/)) return l + Xt(o, t.length - t.indexOf("0"));
    if ((i = t.match(Ao)))
      return (
        (a = ("" + r)
          .replace(/^([^\.]+)$/, "$1." + Et(i[1]))
          .replace(/\.$/, "." + Et(i[1]))),
        (a = a.replace(/\.(\d*)$/, function (v, c) {
          return "." + c + Ge("0", Et(i[1]).length - c.length);
        })),
        t.indexOf("0.") !== -1 ? a : a.replace(/^0\./, ".")
      );
    if (((t = t.replace(/^#+([0.])/, "$1")), (i = t.match(/^(0*)\.(#*)$/))))
      return (
        l +
        ("" + o)
          .replace(/\.(\d*[1-9])0*$/, ".$1")
          .replace(/^(-?\d*)$/, "$1.")
          .replace(/^0\./, i[1].length ? "0." : ".")
      );
    if ((i = t.match(/^#{1,3},##0(\.?)$/))) return l + Rr("" + o);
    if ((i = t.match(/^#,##0\.([#0]*0)$/)))
      return r < 0
        ? "-" + er(e, t, -r)
        : Rr("" + r) + "." + Ge("0", i[1].length);
    if ((i = t.match(/^#,#*,#0/))) return er(e, t.replace(/^#,#*,/, ""), r);
    if ((i = t.match(/^([0#]+)(\\?-([0#]+))+$/)))
      return (
        (a = pn(er(e, t.replace(/[\\-]/g, ""), r))),
        (s = 0),
        pn(
          pn(t.replace(/\\/g, "")).replace(/[0#]/g, function (v) {
            return s < a.length ? a.charAt(s++) : v === "0" ? "0" : "";
          })
        )
      );
    if (t.match(Fo))
      return (
        (a = er(e, "##########", r)),
        "(" + a.substr(0, 3) + ") " + a.substr(3, 3) + "-" + a.substr(6)
      );
    var u = "";
    if ((i = t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)))
      return (
        (s = Math.min(i[4].length, 7)),
        (f = Ha(o, Math.pow(10, s) - 1, !1)),
        (a = "" + l),
        (u = mr("n", i[1], f[1])),
        u.charAt(u.length - 1) == " " && (u = u.substr(0, u.length - 1) + "0"),
        (a += u + i[2] + "/" + i[3]),
        (u = Ua(f[2], s)),
        u.length < i[4].length &&
          (u = Et(i[4].substr(i[4].length - u.length)) + u),
        (a += u),
        a
      );
    if ((i = t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)))
      return (
        (s = Math.min(Math.max(i[1].length, i[4].length), 7)),
        (f = Ha(o, Math.pow(10, s) - 1, !0)),
        l +
          (f[0] || (f[1] ? "" : "0")) +
          " " +
          (f[1]
            ? D0(f[1], s) + i[2] + "/" + i[3] + Ua(f[2], s)
            : Ge(" ", 2 * s + 1 + i[2].length + i[3].length))
      );
    if ((i = t.match(/^[#0?]+$/)))
      return (
        (a = "" + r),
        t.length <= a.length ? a : Et(t.substr(0, t.length - a.length)) + a
      );
    if ((i = t.match(/^([#0]+)\.([#0]+)$/))) {
      (a =
        "" + r.toFixed(Math.min(i[2].length, 10)).replace(/([^0])0+$/, "$1")),
        (s = a.indexOf("."));
      var x = t.indexOf(".") - s,
        d = t.length - a.length - x;
      return Et(t.substr(0, x) + a + t.substr(t.length - d));
    }
    if ((i = t.match(/^00,000\.([#0]*0)$/)))
      return r < 0
        ? "-" + er(e, t, -r)
        : Rr("" + r)
            .replace(/^\d,\d{3}$/, "0$&")
            .replace(/^\d*$/, function (v) {
              return "00," + (v.length < 3 ? Xt(0, 3 - v.length) : "") + v;
            }) +
            "." +
            Xt(0, i[1].length);
    switch (t) {
      case "###,###":
      case "##,###":
      case "#,###":
        var _ = Rr("" + o);
        return _ !== "0" ? l + _ : "";
      default:
        if (t.match(/\.[0#?]*$/))
          return (
            er(e, t.slice(0, t.lastIndexOf(".")), r) +
            Et(t.slice(t.lastIndexOf(".")))
          );
    }
    throw new Error("unsupported format |" + t + "|");
  }
  function mr(e, t, r) {
    return (r | 0) === r ? er(e, t, r) : Bt(e, t, r);
  }
  function Mx(e) {
    for (var t = [], r = !1, n = 0, a = 0; n < e.length; ++n)
      switch (e.charCodeAt(n)) {
        case 34:
          r = !r;
          break;
        case 95:
        case 42:
        case 92:
          ++n;
          break;
        case 59:
          (t[t.length] = e.substr(a, n - a)), (a = n + 1);
      }
    if (((t[t.length] = e.substr(a)), r === !0))
      throw new Error("Format |" + e + "| unterminated string ");
    return t;
  }
  var Oo = /\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;
  function Ro(e) {
    for (var t = 0, r = "", n = ""; t < e.length; )
      switch ((r = e.charAt(t))) {
        case "G":
          Wa(e, t) && (t += 6), t++;
          break;
        case '"':
          for (; e.charCodeAt(++t) !== 34 && t < e.length; );
          ++t;
          break;
        case "\\":
          t += 2;
          break;
        case "_":
          t += 2;
          break;
        case "@":
          ++t;
          break;
        case "B":
        case "b":
          if (e.charAt(t + 1) === "1" || e.charAt(t + 1) === "2") return !0;
        case "M":
        case "D":
        case "Y":
        case "H":
        case "S":
        case "E":
        case "m":
        case "d":
        case "y":
        case "h":
        case "s":
        case "e":
        case "g":
          return !0;
        case "A":
        case "a":
        case "\u4E0A":
          if (
            e.substr(t, 3).toUpperCase() === "A/P" ||
            e.substr(t, 5).toUpperCase() === "AM/PM" ||
            e.substr(t, 5).toUpperCase() === "\u4E0A\u5348/\u4E0B\u5348"
          )
            return !0;
          ++t;
          break;
        case "[":
          for (n = r; e.charAt(t++) !== "]" && t < e.length; ) n += e.charAt(t);
          if (n.match(Oo)) return !0;
          break;
        case ".":
        case "0":
        case "#":
          for (
            ;
            t < e.length &&
            ("0#?.,E+-%".indexOf((r = e.charAt(++t))) > -1 ||
              (r == "\\" &&
                e.charAt(t + 1) == "-" &&
                "0#".indexOf(e.charAt(t + 2)) > -1));

          );
          break;
        case "?":
          for (; e.charAt(++t) === r; );
          break;
        case "*":
          ++t, (e.charAt(t) == " " || e.charAt(t) == "*") && ++t;
          break;
        case "(":
        case ")":
          ++t;
          break;
        case "1":
        case "2":
        case "3":
        case "4":
        case "5":
        case "6":
        case "7":
        case "8":
        case "9":
          for (; t < e.length && "0123456789".indexOf(e.charAt(++t)) > -1; );
          break;
        case " ":
          ++t;
          break;
        default:
          ++t;
          break;
      }
    return !1;
  }
  function Px(e, t, r, n) {
    for (
      var a = [], i = "", s = 0, f = "", o = "t", l, u, x, d = "H";
      s < e.length;

    )
      switch ((f = e.charAt(s))) {
        case "G":
          if (!Wa(e, s))
            throw new Error("unrecognized character " + f + " in " + e);
          (a[a.length] = { t: "G", v: "General" }), (s += 7);
          break;
        case '"':
          for (i = ""; (x = e.charCodeAt(++s)) !== 34 && s < e.length; )
            i += String.fromCharCode(x);
          (a[a.length] = { t: "t", v: i }), ++s;
          break;
        case "\\":
          var _ = e.charAt(++s),
            v = _ === "(" || _ === ")" ? _ : "t";
          (a[a.length] = { t: v, v: _ }), ++s;
          break;
        case "_":
          (a[a.length] = { t: "t", v: " " }), (s += 2);
          break;
        case "@":
          (a[a.length] = { t: "T", v: t }), ++s;
          break;
        case "B":
        case "b":
          if (e.charAt(s + 1) === "1" || e.charAt(s + 1) === "2") {
            if (
              l == null &&
              ((l = Ea(t, r, e.charAt(s + 1) === "2")), l == null)
            )
              return "";
            (a[a.length] = { t: "X", v: e.substr(s, 2) }), (o = f), (s += 2);
            break;
          }
        case "M":
        case "D":
        case "Y":
        case "H":
        case "S":
        case "E":
          f = f.toLowerCase();
        case "m":
        case "d":
        case "y":
        case "h":
        case "s":
        case "e":
        case "g":
          if (t < 0 || (l == null && ((l = Ea(t, r)), l == null))) return "";
          for (i = f; ++s < e.length && e.charAt(s).toLowerCase() === f; )
            i += f;
          f === "m" && o.toLowerCase() === "h" && (f = "M"),
            f === "h" && (f = d),
            (a[a.length] = { t: f, v: i }),
            (o = f);
          break;
        case "A":
        case "a":
        case "\u4E0A":
          var c = { t: f, v: f };
          if (
            (l == null && (l = Ea(t, r)),
            e.substr(s, 3).toUpperCase() === "A/P"
              ? (l != null && (c.v = l.H >= 12 ? "P" : "A"),
                (c.t = "T"),
                (d = "h"),
                (s += 3))
              : e.substr(s, 5).toUpperCase() === "AM/PM"
              ? (l != null && (c.v = l.H >= 12 ? "PM" : "AM"),
                (c.t = "T"),
                (s += 5),
                (d = "h"))
              : e.substr(s, 5).toUpperCase() === "\u4E0A\u5348/\u4E0B\u5348"
              ? (l != null &&
                  (c.v = l.H >= 12 ? "\u4E0B\u5348" : "\u4E0A\u5348"),
                (c.t = "T"),
                (s += 5),
                (d = "h"))
              : ((c.t = "t"), ++s),
            l == null && c.t === "T")
          )
            return "";
          (a[a.length] = c), (o = f);
          break;
        case "[":
          for (i = f; e.charAt(s++) !== "]" && s < e.length; ) i += e.charAt(s);
          if (i.slice(-1) !== "]") throw 'unterminated "[" block: |' + i + "|";
          if (i.match(Oo)) {
            if (l == null && ((l = Ea(t, r)), l == null)) return "";
            (a[a.length] = { t: "Z", v: i.toLowerCase() }), (o = i.charAt(1));
          } else
            i.indexOf("$") > -1 &&
              ((i = (i.match(/\$([^-\[\]]*)/) || [])[1] || "$"),
              Ro(e) || (a[a.length] = { t: "t", v: i }));
          break;
        case ".":
          if (l != null) {
            for (i = f; ++s < e.length && (f = e.charAt(s)) === "0"; ) i += f;
            a[a.length] = { t: "s", v: i };
            break;
          }
        case "0":
        case "#":
          for (
            i = f;
            ++s < e.length && "0#?.,E+-%".indexOf((f = e.charAt(s))) > -1;

          )
            i += f;
          a[a.length] = { t: "n", v: i };
          break;
        case "?":
          for (i = f; e.charAt(++s) === f; ) i += f;
          (a[a.length] = { t: f, v: i }), (o = f);
          break;
        case "*":
          ++s, (e.charAt(s) == " " || e.charAt(s) == "*") && ++s;
          break;
        case "(":
        case ")":
          (a[a.length] = { t: n === 1 ? "t" : f, v: f }), ++s;
          break;
        case "1":
        case "2":
        case "3":
        case "4":
        case "5":
        case "6":
        case "7":
        case "8":
        case "9":
          for (
            i = f;
            s < e.length && "0123456789".indexOf(e.charAt(++s)) > -1;

          )
            i += e.charAt(s);
          a[a.length] = { t: "D", v: i };
          break;
        case " ":
          (a[a.length] = { t: f, v: f }), ++s;
          break;
        case "$":
          (a[a.length] = { t: "t", v: "$" }), ++s;
          break;
        default:
          if (",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(f) === -1)
            throw new Error("unrecognized character " + f + " in " + e);
          (a[a.length] = { t: "t", v: f }), ++s;
          break;
      }
    var g = 0,
      L = 0,
      O;
    for (s = a.length - 1, o = "t"; s >= 0; --s)
      switch (a[s].t) {
        case "h":
        case "H":
          (a[s].t = d), (o = "h"), g < 1 && (g = 1);
          break;
        case "s":
          (O = a[s].v.match(/\.0+$/)) && (L = Math.max(L, O[0].length - 1)),
            g < 3 && (g = 3);
        case "d":
        case "y":
        case "M":
        case "e":
          o = a[s].t;
          break;
        case "m":
          o === "s" && ((a[s].t = "M"), g < 2 && (g = 2));
          break;
        case "X":
          break;
        case "Z":
          g < 1 && a[s].v.match(/[Hh]/) && (g = 1),
            g < 2 && a[s].v.match(/[Mm]/) && (g = 2),
            g < 3 && a[s].v.match(/[Ss]/) && (g = 3);
      }
    switch (g) {
      case 0:
        break;
      case 1:
        l.u >= 0.5 && ((l.u = 0), ++l.S),
          l.S >= 60 && ((l.S = 0), ++l.M),
          l.M >= 60 && ((l.M = 0), ++l.H);
        break;
      case 2:
        l.u >= 0.5 && ((l.u = 0), ++l.S), l.S >= 60 && ((l.S = 0), ++l.M);
        break;
    }
    var F = "",
      P;
    for (s = 0; s < a.length; ++s)
      switch (a[s].t) {
        case "t":
        case "T":
        case " ":
        case "D":
          break;
        case "X":
          (a[s].v = ""), (a[s].t = ";");
          break;
        case "d":
        case "m":
        case "y":
        case "h":
        case "H":
        case "M":
        case "s":
        case "e":
        case "b":
        case "Z":
          (a[s].v = Fx(a[s].t.charCodeAt(0), a[s].v, l, L)), (a[s].t = "t");
          break;
        case "n":
        case "?":
          for (
            P = s + 1;
            a[P] != null &&
            ((f = a[P].t) === "?" ||
              f === "D" ||
              ((f === " " || f === "t") &&
                a[P + 1] != null &&
                (a[P + 1].t === "?" ||
                  (a[P + 1].t === "t" && a[P + 1].v === "/"))) ||
              (a[s].t === "(" && (f === " " || f === "n" || f === ")")) ||
              (f === "t" &&
                (a[P].v === "/" ||
                  (a[P].v === " " && a[P + 1] != null && a[P + 1].t == "?"))));

          )
            (a[s].v += a[P].v), (a[P] = { v: "", t: ";" }), ++P;
          (F += a[s].v), (s = P - 1);
          break;
        case "G":
          (a[s].t = "t"), (a[s].v = t0(t, r));
          break;
      }
    var K = "",
      Q,
      R;
    if (F.length > 0) {
      F.charCodeAt(0) == 40
        ? ((Q = t < 0 && F.charCodeAt(0) === 45 ? -t : t), (R = mr("n", F, Q)))
        : ((Q = t < 0 && n > 1 ? -t : t),
          (R = mr("n", F, Q)),
          Q < 0 &&
            a[0] &&
            a[0].t == "t" &&
            ((R = R.substr(1)), (a[0].v = "-" + a[0].v))),
        (P = R.length - 1);
      var U = a.length;
      for (s = 0; s < a.length; ++s)
        if (a[s] != null && a[s].t != "t" && a[s].v.indexOf(".") > -1) {
          U = s;
          break;
        }
      var M = a.length;
      if (U === a.length && R.indexOf("E") === -1) {
        for (s = a.length - 1; s >= 0; --s)
          a[s] == null ||
            "n?".indexOf(a[s].t) === -1 ||
            (P >= a[s].v.length - 1
              ? ((P -= a[s].v.length),
                (a[s].v = R.substr(P + 1, a[s].v.length)))
              : P < 0
              ? (a[s].v = "")
              : ((a[s].v = R.substr(0, P + 1)), (P = -1)),
            (a[s].t = "t"),
            (M = s));
        P >= 0 && M < a.length && (a[M].v = R.substr(0, P + 1) + a[M].v);
      } else if (U !== a.length && R.indexOf("E") === -1) {
        for (P = R.indexOf(".") - 1, s = U; s >= 0; --s)
          if (!(a[s] == null || "n?".indexOf(a[s].t) === -1)) {
            for (
              u =
                a[s].v.indexOf(".") > -1 && s === U
                  ? a[s].v.indexOf(".") - 1
                  : a[s].v.length - 1,
                K = a[s].v.substr(u + 1);
              u >= 0;
              --u
            )
              P >= 0 &&
                (a[s].v.charAt(u) === "0" || a[s].v.charAt(u) === "#") &&
                (K = R.charAt(P--) + K);
            (a[s].v = K), (a[s].t = "t"), (M = s);
          }
        for (
          P >= 0 && M < a.length && (a[M].v = R.substr(0, P + 1) + a[M].v),
            P = R.indexOf(".") + 1,
            s = U;
          s < a.length;
          ++s
        )
          if (!(a[s] == null || ("n?(".indexOf(a[s].t) === -1 && s !== U))) {
            for (
              u =
                a[s].v.indexOf(".") > -1 && s === U
                  ? a[s].v.indexOf(".") + 1
                  : 0,
                K = a[s].v.substr(0, u);
              u < a[s].v.length;
              ++u
            )
              P < R.length && (K += R.charAt(P++));
            (a[s].v = K), (a[s].t = "t"), (M = s);
          }
      }
    }
    for (s = 0; s < a.length; ++s)
      a[s] != null &&
        "n?".indexOf(a[s].t) > -1 &&
        ((Q = n > 1 && t < 0 && s > 0 && a[s - 1].v === "-" ? -t : t),
        (a[s].v = mr(a[s].t, a[s].v, Q)),
        (a[s].t = "t"));
    var G = "";
    for (s = 0; s !== a.length; ++s) a[s] != null && (G += a[s].v);
    return G;
  }
  var ks = /\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;
  function Ms(e, t) {
    if (t == null) return !1;
    var r = parseFloat(t[2]);
    switch (t[1]) {
      case "=":
        if (e == r) return !0;
        break;
      case ">":
        if (e > r) return !0;
        break;
      case "<":
        if (e < r) return !0;
        break;
      case "<>":
        if (e != r) return !0;
        break;
      case ">=":
        if (e >= r) return !0;
        break;
      case "<=":
        if (e <= r) return !0;
        break;
    }
    return !1;
  }
  function Bx(e, t) {
    var r = Mx(e),
      n = r.length,
      a = r[n - 1].indexOf("@");
    if ((n < 4 && a > -1 && --n, r.length > 4))
      throw new Error("cannot find right format for |" + r.join("|") + "|");
    if (typeof t != "number")
      return [4, r.length === 4 || a > -1 ? r[r.length - 1] : "@"];
    switch (r.length) {
      case 1:
        r =
          a > -1
            ? ["General", "General", "General", r[0]]
            : [r[0], r[0], r[0], "@"];
        break;
      case 2:
        r = a > -1 ? [r[0], r[0], r[0], r[1]] : [r[0], r[1], r[0], "@"];
        break;
      case 3:
        r = a > -1 ? [r[0], r[1], r[0], r[2]] : [r[0], r[1], r[2], "@"];
        break;
    }
    var i = t > 0 ? r[0] : t < 0 ? r[1] : r[2];
    if (r[0].indexOf("[") === -1 && r[1].indexOf("[") === -1) return [n, i];
    if (r[0].match(/\[[=<>]/) != null || r[1].match(/\[[=<>]/) != null) {
      var s = r[0].match(ks),
        f = r[1].match(ks);
      return Ms(t, s)
        ? [n, r[0]]
        : Ms(t, f)
        ? [n, r[1]]
        : [n, r[s != null && f != null ? 2 : 1]];
    }
    return [n, i];
  }
  function Ir(e, t, r) {
    r == null && (r = {});
    var n = "";
    switch (typeof e) {
      case "string":
        e == "m/d/yy" && r.dateNF ? (n = r.dateNF) : (n = e);
        break;
      case "number":
        e == 14 && r.dateNF
          ? (n = r.dateNF)
          : (n = (r.table != null ? r.table : Ve)[e]),
          n == null && (n = (r.table && r.table[Is[e]]) || Ve[Is[e]]),
          n == null && (n = vx[e] || "General");
        break;
    }
    if (Wa(n, 0)) return t0(t, r);
    t instanceof Date && (t = To(t, r.date1904));
    var a = Bx(n, t);
    if (Wa(a[1])) return t0(t, r);
    if (t === !0) t = "TRUE";
    else if (t === !1) t = "FALSE";
    else if (t === "" || t == null) return "";
    return Px(a[1], t, r, a[0]);
  }
  function Co(e, t) {
    if (typeof t != "number") {
      t = +t || -1;
      for (var r = 0; r < 392; ++r) {
        if (Ve[r] == null) {
          t < 0 && (t = r);
          continue;
        }
        if (Ve[r] == e) {
          t = r;
          break;
        }
      }
      t < 0 && (t = 391);
    }
    return (Ve[t] = e), t;
  }
  function _i(e) {
    for (var t = 0; t != 392; ++t) e[t] !== void 0 && Co(e[t], t);
  }
  function xi() {
    Ve = px();
  }
  var Io = /[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;
  function bx(e) {
    var t = typeof e == "number" ? Ve[e] : e;
    return (t = t.replace(Io, "(\\d+)")), new RegExp("^" + t + "$");
  }
  function Ux(e, t, r) {
    var n = -1,
      a = -1,
      i = -1,
      s = -1,
      f = -1,
      o = -1;
    (t.match(Io) || []).forEach(function (x, d) {
      var _ = parseInt(r[d + 1], 10);
      switch (x.toLowerCase().charAt(0)) {
        case "y":
          n = _;
          break;
        case "d":
          i = _;
          break;
        case "h":
          s = _;
          break;
        case "s":
          o = _;
          break;
        case "m":
          s >= 0 ? (f = _) : (a = _);
          break;
      }
    }),
      o >= 0 && f == -1 && a >= 0 && ((f = a), (a = -1));
    var l =
      ("" + (n >= 0 ? n : new Date().getFullYear())).slice(-4) +
      "-" +
      ("00" + (a >= 1 ? a : 1)).slice(-2) +
      "-" +
      ("00" + (i >= 1 ? i : 1)).slice(-2);
    l.length == 7 && (l = "0" + l), l.length == 8 && (l = "20" + l);
    var u =
      ("00" + (s >= 0 ? s : 0)).slice(-2) +
      ":" +
      ("00" + (f >= 0 ? f : 0)).slice(-2) +
      ":" +
      ("00" + (o >= 0 ? o : 0)).slice(-2);
    return s == -1 && f == -1 && o == -1
      ? l
      : n == -1 && a == -1 && i == -1
      ? u
      : l + "T" + u;
  }
  var Wx = (function () {
      var e = {};
      e.version = "1.2.0";
      function t() {
        for (var R = 0, U = new Array(256), M = 0; M != 256; ++M)
          (R = M),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (R = R & 1 ? -306674912 ^ (R >>> 1) : R >>> 1),
            (U[M] = R);
        return typeof Int32Array != "undefined" ? new Int32Array(U) : U;
      }
      var r = t();
      function n(R) {
        var U = 0,
          M = 0,
          G = 0,
          Y =
            typeof Int32Array != "undefined"
              ? new Int32Array(4096)
              : new Array(4096);
        for (G = 0; G != 256; ++G) Y[G] = R[G];
        for (G = 0; G != 256; ++G)
          for (M = R[G], U = 256 + G; U < 4096; U += 256)
            M = Y[U] = (M >>> 8) ^ R[M & 255];
        var V = [];
        for (G = 1; G != 16; ++G)
          V[G - 1] =
            typeof Int32Array != "undefined"
              ? Y.subarray(G * 256, G * 256 + 256)
              : Y.slice(G * 256, G * 256 + 256);
        return V;
      }
      var a = n(r),
        i = a[0],
        s = a[1],
        f = a[2],
        o = a[3],
        l = a[4],
        u = a[5],
        x = a[6],
        d = a[7],
        _ = a[8],
        v = a[9],
        c = a[10],
        g = a[11],
        L = a[12],
        O = a[13],
        F = a[14];
      function P(R, U) {
        for (var M = U ^ -1, G = 0, Y = R.length; G < Y; )
          M = (M >>> 8) ^ r[(M ^ R.charCodeAt(G++)) & 255];
        return ~M;
      }
      function K(R, U) {
        for (var M = U ^ -1, G = R.length - 15, Y = 0; Y < G; )
          M =
            F[R[Y++] ^ (M & 255)] ^
            O[R[Y++] ^ ((M >> 8) & 255)] ^
            L[R[Y++] ^ ((M >> 16) & 255)] ^
            g[R[Y++] ^ (M >>> 24)] ^
            c[R[Y++]] ^
            v[R[Y++]] ^
            _[R[Y++]] ^
            d[R[Y++]] ^
            x[R[Y++]] ^
            u[R[Y++]] ^
            l[R[Y++]] ^
            o[R[Y++]] ^
            f[R[Y++]] ^
            s[R[Y++]] ^
            i[R[Y++]] ^
            r[R[Y++]];
        for (G += 15; Y < G; ) M = (M >>> 8) ^ r[(M ^ R[Y++]) & 255];
        return ~M;
      }
      function Q(R, U) {
        for (var M = U ^ -1, G = 0, Y = R.length, V = 0, ne = 0; G < Y; )
          (V = R.charCodeAt(G++)),
            V < 128
              ? (M = (M >>> 8) ^ r[(M ^ V) & 255])
              : V < 2048
              ? ((M = (M >>> 8) ^ r[(M ^ (192 | ((V >> 6) & 31))) & 255]),
                (M = (M >>> 8) ^ r[(M ^ (128 | (V & 63))) & 255]))
              : V >= 55296 && V < 57344
              ? ((V = (V & 1023) + 64),
                (ne = R.charCodeAt(G++) & 1023),
                (M = (M >>> 8) ^ r[(M ^ (240 | ((V >> 8) & 7))) & 255]),
                (M = (M >>> 8) ^ r[(M ^ (128 | ((V >> 2) & 63))) & 255]),
                (M =
                  (M >>> 8) ^
                  r[(M ^ (128 | ((ne >> 6) & 15) | ((V & 3) << 4))) & 255]),
                (M = (M >>> 8) ^ r[(M ^ (128 | (ne & 63))) & 255]))
              : ((M = (M >>> 8) ^ r[(M ^ (224 | ((V >> 12) & 15))) & 255]),
                (M = (M >>> 8) ^ r[(M ^ (128 | ((V >> 6) & 63))) & 255]),
                (M = (M >>> 8) ^ r[(M ^ (128 | (V & 63))) & 255]));
        return ~M;
      }
      return (e.table = r), (e.bstr = P), (e.buf = K), (e.str = Q), e;
    })(),
    Ce = (function () {
      var t = {};
      t.version = "1.2.1";
      function r(h, T) {
        for (
          var m = h.split("/"),
            p = T.split("/"),
            E = 0,
            w = 0,
            I = Math.min(m.length, p.length);
          E < I;
          ++E
        ) {
          if ((w = m[E].length - p[E].length)) return w;
          if (m[E] != p[E]) return m[E] < p[E] ? -1 : 1;
        }
        return m.length - p.length;
      }
      function n(h) {
        if (h.charAt(h.length - 1) == "/")
          return h.slice(0, -1).indexOf("/") === -1 ? h : n(h.slice(0, -1));
        var T = h.lastIndexOf("/");
        return T === -1 ? h : h.slice(0, T + 1);
      }
      function a(h) {
        if (h.charAt(h.length - 1) == "/") return a(h.slice(0, -1));
        var T = h.lastIndexOf("/");
        return T === -1 ? h : h.slice(T + 1);
      }
      function i(h, T) {
        typeof T == "string" && (T = new Date(T));
        var m = T.getHours();
        (m = (m << 6) | T.getMinutes()),
          (m = (m << 5) | (T.getSeconds() >>> 1)),
          h.write_shift(2, m);
        var p = T.getFullYear() - 1980;
        (p = (p << 4) | (T.getMonth() + 1)),
          (p = (p << 5) | T.getDate()),
          h.write_shift(2, p);
      }
      function s(h) {
        var T = h.read_shift(2) & 65535,
          m = h.read_shift(2) & 65535,
          p = new Date(),
          E = m & 31;
        m >>>= 5;
        var w = m & 15;
        (m >>>= 4),
          p.setMilliseconds(0),
          p.setFullYear(m + 1980),
          p.setMonth(w - 1),
          p.setDate(E);
        var I = T & 31;
        T >>>= 5;
        var b = T & 63;
        return (
          (T >>>= 6), p.setHours(T), p.setMinutes(b), p.setSeconds(I << 1), p
        );
      }
      function f(h) {
        Ct(h, 0);
        for (var T = {}, m = 0; h.l <= h.length - 4; ) {
          var p = h.read_shift(2),
            E = h.read_shift(2),
            w = h.l + E,
            I = {};
          switch (p) {
            case 21589:
              (m = h.read_shift(1)),
                m & 1 && (I.mtime = h.read_shift(4)),
                E > 5 &&
                  (m & 2 && (I.atime = h.read_shift(4)),
                  m & 4 && (I.ctime = h.read_shift(4))),
                I.mtime && (I.mt = new Date(I.mtime * 1e3));
              break;
          }
          (h.l = w), (T[p] = I);
        }
        return T;
      }
      var o;
      function l() {
        return o || (o = {});
      }
      function u(h, T) {
        if (h[0] == 80 && h[1] == 75) return os(h, T);
        if ((h[0] | 32) == 109 && (h[1] | 32) == 105) return fu(h, T);
        if (h.length < 512)
          throw new Error("CFB file size " + h.length + " < 512");
        var m = 3,
          p = 512,
          E = 0,
          w = 0,
          I = 0,
          b = 0,
          C = 0,
          D = [],
          k = h.slice(0, 512);
        Ct(k, 0);
        var j = x(k);
        switch (((m = j[0]), m)) {
          case 3:
            p = 512;
            break;
          case 4:
            p = 4096;
            break;
          case 0:
            if (j[1] == 0) return os(h, T);
          default:
            throw new Error("Major Version: Expected 3 or 4 saw " + m);
        }
        p !== 512 && ((k = h.slice(0, p)), Ct(k, 28));
        var q = h.slice(0, p);
        d(k, m);
        var ie = k.read_shift(4, "i");
        if (m === 3 && ie !== 0)
          throw new Error("# Directory Sectors: Expected 0 saw " + ie);
        (k.l += 4),
          (I = k.read_shift(4, "i")),
          (k.l += 4),
          k.chk("00100000", "Mini Stream Cutoff Size: "),
          (b = k.read_shift(4, "i")),
          (E = k.read_shift(4, "i")),
          (C = k.read_shift(4, "i")),
          (w = k.read_shift(4, "i"));
        for (
          var z = -1, ae = 0;
          ae < 109 && ((z = k.read_shift(4, "i")), !(z < 0));
          ++ae
        )
          D[ae] = z;
        var he = _(h, p);
        g(C, w, he, p, D);
        var We = O(he, I, D, p);
        (We[I].name = "!Directory"),
          E > 0 && b !== ne && (We[b].name = "!MiniFAT"),
          (We[D[0]].name = "!FAT"),
          (We.fat_addrs = D),
          (We.ssz = p);
        var He = {},
          ht = [],
          Rn = [],
          Cn = [];
        F(I, We, he, ht, E, He, Rn, b), v(Rn, Cn, ht), ht.shift();
        var In = { FileIndex: Rn, FullPaths: Cn };
        return T && T.raw && (In.raw = { header: q, sectors: he }), In;
      }
      function x(h) {
        if (h[h.l] == 80 && h[h.l + 1] == 75) return [0, 0];
        h.chk(Ae, "Header Signature: "), (h.l += 16);
        var T = h.read_shift(2, "u");
        return [h.read_shift(2, "u"), T];
      }
      function d(h, T) {
        var m = 9;
        switch (((h.l += 2), (m = h.read_shift(2)))) {
          case 9:
            if (T != 3) throw new Error("Sector Shift: Expected 9 saw " + m);
            break;
          case 12:
            if (T != 4) throw new Error("Sector Shift: Expected 12 saw " + m);
            break;
          default:
            throw new Error("Sector Shift: Expected 9 or 12 saw " + m);
        }
        h.chk("0600", "Mini Sector Shift: "),
          h.chk("000000000000", "Reserved: ");
      }
      function _(h, T) {
        for (var m = Math.ceil(h.length / T) - 1, p = [], E = 1; E < m; ++E)
          p[E - 1] = h.slice(E * T, (E + 1) * T);
        return (p[m - 1] = h.slice(m * T)), p;
      }
      function v(h, T, m) {
        for (
          var p = 0, E = 0, w = 0, I = 0, b = 0, C = m.length, D = [], k = [];
          p < C;
          ++p
        )
          (D[p] = k[p] = p), (T[p] = m[p]);
        for (; b < k.length; ++b)
          (p = k[b]),
            (E = h[p].L),
            (w = h[p].R),
            (I = h[p].C),
            D[p] === p &&
              (E !== -1 && D[E] !== E && (D[p] = D[E]),
              w !== -1 && D[w] !== w && (D[p] = D[w])),
            I !== -1 && (D[I] = p),
            E !== -1 &&
              p != D[p] &&
              ((D[E] = D[p]), k.lastIndexOf(E) < b && k.push(E)),
            w !== -1 &&
              p != D[p] &&
              ((D[w] = D[p]), k.lastIndexOf(w) < b && k.push(w));
        for (p = 1; p < C; ++p)
          D[p] === p &&
            (w !== -1 && D[w] !== w
              ? (D[p] = D[w])
              : E !== -1 && D[E] !== E && (D[p] = D[E]));
        for (p = 1; p < C; ++p)
          if (h[p].type !== 0) {
            if (((b = p), b != D[b]))
              do (b = D[b]), (T[p] = T[b] + "/" + T[p]);
              while (b !== 0 && D[b] !== -1 && b != D[b]);
            D[p] = -1;
          }
        for (T[0] += "/", p = 1; p < C; ++p) h[p].type !== 2 && (T[p] += "/");
      }
      function c(h, T, m) {
        for (var p = h.start, E = h.size, w = [], I = p; m && E > 0 && I >= 0; )
          w.push(T.slice(I * V, I * V + V)), (E -= V), (I = Hr(m, I * 4));
        return w.length === 0 ? B(0) : ot(w).slice(0, h.size);
      }
      function g(h, T, m, p, E) {
        var w = ne;
        if (h === ne) {
          if (T !== 0) throw new Error("DIFAT chain shorter than expected");
        } else if (h !== -1) {
          var I = m[h],
            b = (p >>> 2) - 1;
          if (!I) return;
          for (var C = 0; C < b && (w = Hr(I, C * 4)) !== ne; ++C) E.push(w);
          g(Hr(I, p - 4), T - 1, m, p, E);
        }
      }
      function L(h, T, m, p, E) {
        var w = [],
          I = [];
        E || (E = []);
        var b = p - 1,
          C = 0,
          D = 0;
        for (C = T; C >= 0; ) {
          (E[C] = !0), (w[w.length] = C), I.push(h[C]);
          var k = m[Math.floor((C * 4) / p)];
          if (((D = (C * 4) & b), p < 4 + D))
            throw new Error("FAT boundary crossed: " + C + " 4 " + p);
          if (!h[k]) break;
          C = Hr(h[k], D);
        }
        return { nodes: w, data: Gs([I]) };
      }
      function O(h, T, m, p) {
        var E = h.length,
          w = [],
          I = [],
          b = [],
          C = [],
          D = p - 1,
          k = 0,
          j = 0,
          q = 0,
          ie = 0;
        for (k = 0; k < E; ++k)
          if (((b = []), (q = k + T), q >= E && (q -= E), !I[q])) {
            C = [];
            var z = [];
            for (j = q; j >= 0; ) {
              (z[j] = !0), (I[j] = !0), (b[b.length] = j), C.push(h[j]);
              var ae = m[Math.floor((j * 4) / p)];
              if (((ie = (j * 4) & D), p < 4 + ie))
                throw new Error("FAT boundary crossed: " + j + " 4 " + p);
              if (!h[ae] || ((j = Hr(h[ae], ie)), z[j])) break;
            }
            w[q] = { nodes: b, data: Gs([C]) };
          }
        return w;
      }
      function F(h, T, m, p, E, w, I, b) {
        for (
          var C = 0, D = p.length ? 2 : 0, k = T[h].data, j = 0, q = 0, ie;
          j < k.length;
          j += 128
        ) {
          var z = k.slice(j, j + 128);
          Ct(z, 64), (q = z.read_shift(2)), (ie = b0(z, 0, q - D)), p.push(ie);
          var ae = {
              name: ie,
              type: z.read_shift(1),
              color: z.read_shift(1),
              L: z.read_shift(4, "i"),
              R: z.read_shift(4, "i"),
              C: z.read_shift(4, "i"),
              clsid: z.read_shift(16),
              state: z.read_shift(4, "i"),
              start: 0,
              size: 0,
            },
            he =
              z.read_shift(2) +
              z.read_shift(2) +
              z.read_shift(2) +
              z.read_shift(2);
          he !== 0 && (ae.ct = P(z, z.l - 8));
          var We =
            z.read_shift(2) +
            z.read_shift(2) +
            z.read_shift(2) +
            z.read_shift(2);
          We !== 0 && (ae.mt = P(z, z.l - 8)),
            (ae.start = z.read_shift(4, "i")),
            (ae.size = z.read_shift(4, "i")),
            ae.size < 0 &&
              ae.start < 0 &&
              ((ae.size = ae.type = 0), (ae.start = ne), (ae.name = "")),
            ae.type === 5
              ? ((C = ae.start),
                E > 0 && C !== ne && (T[C].name = "!StreamData"))
              : ae.size >= 4096
              ? ((ae.storage = "fat"),
                T[ae.start] === void 0 &&
                  (T[ae.start] = L(m, ae.start, T.fat_addrs, T.ssz)),
                (T[ae.start].name = ae.name),
                (ae.content = T[ae.start].data.slice(0, ae.size)))
              : ((ae.storage = "minifat"),
                ae.size < 0
                  ? (ae.size = 0)
                  : C !== ne &&
                    ae.start !== ne &&
                    T[C] &&
                    (ae.content = c(ae, T[C].data, (T[b] || {}).data))),
            ae.content && Ct(ae.content, 0),
            (w[ie] = ae),
            I.push(ae);
        }
      }
      function P(h, T) {
        return new Date(
          ((Nt(h, T + 4) / 1e7) * Math.pow(2, 32) +
            Nt(h, T) / 1e7 -
            11644473600) *
            1e3
        );
      }
      function K(h, T) {
        return l(), u(o.readFileSync(h), T);
      }
      function Q(h, T) {
        var m = T && T.type;
        switch (
          (m || (Se && Buffer.isBuffer(h) && (m = "buffer")), m || "base64")
        ) {
          case "file":
            return K(h, T);
          case "base64":
            return u($t(Tr(h)), T);
          case "binary":
            return u($t(h), T);
        }
        return u(h, T);
      }
      function R(h, T) {
        var m = T || {},
          p = m.root || "Root Entry";
        if (
          (h.FullPaths || (h.FullPaths = []),
          h.FileIndex || (h.FileIndex = []),
          h.FullPaths.length !== h.FileIndex.length)
        )
          throw new Error("inconsistent CFB structure");
        h.FullPaths.length === 0 &&
          ((h.FullPaths[0] = p + "/"), (h.FileIndex[0] = { name: p, type: 5 })),
          m.CLSID && (h.FileIndex[0].clsid = m.CLSID),
          U(h);
      }
      function U(h) {
        var T = "Sh33tJ5";
        if (!Ce.find(h, "/" + T)) {
          var m = B(4);
          (m[0] = 55),
            (m[1] = m[3] = 50),
            (m[2] = 54),
            h.FileIndex.push({
              name: T,
              type: 2,
              content: m,
              size: 4,
              L: 69,
              R: 69,
              C: 69,
            }),
            h.FullPaths.push(h.FullPaths[0] + T),
            M(h);
        }
      }
      function M(h, T) {
        R(h);
        for (var m = !1, p = !1, E = h.FullPaths.length - 1; E >= 0; --E) {
          var w = h.FileIndex[E];
          switch (w.type) {
            case 0:
              p ? (m = !0) : (h.FileIndex.pop(), h.FullPaths.pop());
              break;
            case 1:
            case 2:
            case 5:
              (p = !0),
                isNaN(w.R * w.L * w.C) && (m = !0),
                w.R > -1 && w.L > -1 && w.R == w.L && (m = !0);
              break;
            default:
              m = !0;
              break;
          }
        }
        if (!(!m && !T)) {
          var I = new Date(1987, 1, 19),
            b = 0,
            C = Object.create ? Object.create(null) : {},
            D = [];
          for (E = 0; E < h.FullPaths.length; ++E)
            (C[h.FullPaths[E]] = !0),
              h.FileIndex[E].type !== 0 &&
                D.push([h.FullPaths[E], h.FileIndex[E]]);
          for (E = 0; E < D.length; ++E) {
            var k = n(D[E][0]);
            (p = C[k]),
              p ||
                (D.push([
                  k,
                  {
                    name: a(k).replace("/", ""),
                    type: 1,
                    clsid: ze,
                    ct: I,
                    mt: I,
                    content: null,
                  },
                ]),
                (C[k] = !0));
          }
          for (
            D.sort(function (ie, z) {
              return r(ie[0], z[0]);
            }),
              h.FullPaths = [],
              h.FileIndex = [],
              E = 0;
            E < D.length;
            ++E
          )
            (h.FullPaths[E] = D[E][0]), (h.FileIndex[E] = D[E][1]);
          for (E = 0; E < D.length; ++E) {
            var j = h.FileIndex[E],
              q = h.FullPaths[E];
            if (
              ((j.name = a(q).replace("/", "")),
              (j.L = j.R = j.C = -(j.color = 1)),
              (j.size = j.content ? j.content.length : 0),
              (j.start = 0),
              (j.clsid = j.clsid || ze),
              E === 0)
            )
              (j.C = D.length > 1 ? 1 : -1), (j.size = 0), (j.type = 5);
            else if (q.slice(-1) == "/") {
              for (b = E + 1; b < D.length && n(h.FullPaths[b]) != q; ++b);
              for (
                j.C = b >= D.length ? -1 : b, b = E + 1;
                b < D.length && n(h.FullPaths[b]) != n(q);
                ++b
              );
              (j.R = b >= D.length ? -1 : b), (j.type = 1);
            } else
              n(h.FullPaths[E + 1] || "") == n(q) && (j.R = E + 1),
                (j.type = 2);
          }
        }
      }
      function G(h, T) {
        var m = T || {};
        if (m.fileType == "mad") return ou(h, m);
        switch ((M(h), m.fileType)) {
          case "zip":
            return tu(h, m);
        }
        var p = (function (ie) {
            for (var z = 0, ae = 0, he = 0; he < ie.FileIndex.length; ++he) {
              var We = ie.FileIndex[he];
              if (!!We.content) {
                var He = We.content.length;
                He > 0 &&
                  (He < 4096 ? (z += (He + 63) >> 6) : (ae += (He + 511) >> 9));
              }
            }
            for (
              var ht = (ie.FullPaths.length + 3) >> 2,
                Rn = (z + 7) >> 3,
                Cn = (z + 127) >> 7,
                In = Rn + ae + ht + Cn,
                Br = (In + 127) >> 7,
                Fi = Br <= 109 ? 0 : Math.ceil((Br - 109) / 127);
              (In + Br + Fi + 127) >> 7 > Br;

            )
              Fi = ++Br <= 109 ? 0 : Math.ceil((Br - 109) / 127);
            var lr = [1, Fi, Br, Cn, ht, ae, z, 0];
            return (
              (ie.FileIndex[0].size = z << 6),
              (lr[7] =
                (ie.FileIndex[0].start =
                  lr[0] + lr[1] + lr[2] + lr[3] + lr[4] + lr[5]) +
                ((lr[6] + 7) >> 3)),
              lr
            );
          })(h),
          E = B(p[7] << 9),
          w = 0,
          I = 0;
        {
          for (w = 0; w < 8; ++w) E.write_shift(1, ce[w]);
          for (w = 0; w < 8; ++w) E.write_shift(2, 0);
          for (
            E.write_shift(2, 62),
              E.write_shift(2, 3),
              E.write_shift(2, 65534),
              E.write_shift(2, 9),
              E.write_shift(2, 6),
              w = 0;
            w < 3;
            ++w
          )
            E.write_shift(2, 0);
          for (
            E.write_shift(4, 0),
              E.write_shift(4, p[2]),
              E.write_shift(4, p[0] + p[1] + p[2] + p[3] - 1),
              E.write_shift(4, 0),
              E.write_shift(4, 1 << 12),
              E.write_shift(4, p[3] ? p[0] + p[1] + p[2] - 1 : ne),
              E.write_shift(4, p[3]),
              E.write_shift(-4, p[1] ? p[0] - 1 : ne),
              E.write_shift(4, p[1]),
              w = 0;
            w < 109;
            ++w
          )
            E.write_shift(-4, w < p[2] ? p[1] + w : -1);
        }
        if (p[1])
          for (I = 0; I < p[1]; ++I) {
            for (; w < 236 + I * 127; ++w)
              E.write_shift(-4, w < p[2] ? p[1] + w : -1);
            E.write_shift(-4, I === p[1] - 1 ? ne : I + 1);
          }
        var b = function (ie) {
          for (I += ie; w < I - 1; ++w) E.write_shift(-4, w + 1);
          ie && (++w, E.write_shift(-4, ne));
        };
        for (I = w = 0, I += p[1]; w < I; ++w) E.write_shift(-4, be.DIFSECT);
        for (I += p[2]; w < I; ++w) E.write_shift(-4, be.FATSECT);
        b(p[3]), b(p[4]);
        for (var C = 0, D = 0, k = h.FileIndex[0]; C < h.FileIndex.length; ++C)
          (k = h.FileIndex[C]),
            k.content &&
              ((D = k.content.length),
              !(D < 4096) && ((k.start = I), b((D + 511) >> 9)));
        for (b((p[6] + 7) >> 3); E.l & 511; ) E.write_shift(-4, be.ENDOFCHAIN);
        for (I = w = 0, C = 0; C < h.FileIndex.length; ++C)
          (k = h.FileIndex[C]),
            k.content &&
              ((D = k.content.length),
              !(!D || D >= 4096) && ((k.start = I), b((D + 63) >> 6)));
        for (; E.l & 511; ) E.write_shift(-4, be.ENDOFCHAIN);
        for (w = 0; w < p[4] << 2; ++w) {
          var j = h.FullPaths[w];
          if (!j || j.length === 0) {
            for (C = 0; C < 17; ++C) E.write_shift(4, 0);
            for (C = 0; C < 3; ++C) E.write_shift(4, -1);
            for (C = 0; C < 12; ++C) E.write_shift(4, 0);
            continue;
          }
          (k = h.FileIndex[w]),
            w === 0 && (k.start = k.size ? k.start - 1 : ne);
          var q = (w === 0 && m.root) || k.name;
          if (
            ((D = 2 * (q.length + 1)),
            E.write_shift(64, q, "utf16le"),
            E.write_shift(2, D),
            E.write_shift(1, k.type),
            E.write_shift(1, k.color),
            E.write_shift(-4, k.L),
            E.write_shift(-4, k.R),
            E.write_shift(-4, k.C),
            k.clsid)
          )
            E.write_shift(16, k.clsid, "hex");
          else for (C = 0; C < 4; ++C) E.write_shift(4, 0);
          E.write_shift(4, k.state || 0),
            E.write_shift(4, 0),
            E.write_shift(4, 0),
            E.write_shift(4, 0),
            E.write_shift(4, 0),
            E.write_shift(4, k.start),
            E.write_shift(4, k.size),
            E.write_shift(4, 0);
        }
        for (w = 1; w < h.FileIndex.length; ++w)
          if (((k = h.FileIndex[w]), k.size >= 4096))
            if (((E.l = (k.start + 1) << 9), Se && Buffer.isBuffer(k.content)))
              k.content.copy(E, E.l, 0, k.size), (E.l += (k.size + 511) & -512);
            else {
              for (C = 0; C < k.size; ++C) E.write_shift(1, k.content[C]);
              for (; C & 511; ++C) E.write_shift(1, 0);
            }
        for (w = 1; w < h.FileIndex.length; ++w)
          if (((k = h.FileIndex[w]), k.size > 0 && k.size < 4096))
            if (Se && Buffer.isBuffer(k.content))
              k.content.copy(E, E.l, 0, k.size), (E.l += (k.size + 63) & -64);
            else {
              for (C = 0; C < k.size; ++C) E.write_shift(1, k.content[C]);
              for (; C & 63; ++C) E.write_shift(1, 0);
            }
        if (Se) E.l = E.length;
        else for (; E.l < E.length; ) E.write_shift(1, 0);
        return E;
      }
      function Y(h, T) {
        var m = h.FullPaths.map(function (C) {
            return C.toUpperCase();
          }),
          p = m.map(function (C) {
            var D = C.split("/");
            return D[D.length - (C.slice(-1) == "/" ? 2 : 1)];
          }),
          E = !1;
        T.charCodeAt(0) === 47
          ? ((E = !0), (T = m[0].slice(0, -1) + T))
          : (E = T.indexOf("/") !== -1);
        var w = T.toUpperCase(),
          I = E === !0 ? m.indexOf(w) : p.indexOf(w);
        if (I !== -1) return h.FileIndex[I];
        var b = !w.match(Ta);
        for (
          w = w.replace(Hn, ""), b && (w = w.replace(Ta, "!")), I = 0;
          I < m.length;
          ++I
        )
          if (
            (b ? m[I].replace(Ta, "!") : m[I]).replace(Hn, "") == w ||
            (b ? p[I].replace(Ta, "!") : p[I]).replace(Hn, "") == w
          )
            return h.FileIndex[I];
        return null;
      }
      var V = 64,
        ne = -2,
        Ae = "d0cf11e0a1b11ae1",
        ce = [208, 207, 17, 224, 161, 177, 26, 225],
        ze = "00000000000000000000000000000000",
        be = {
          MAXREGSECT: -6,
          DIFSECT: -4,
          FATSECT: -3,
          ENDOFCHAIN: ne,
          FREESECT: -1,
          HEADER_SIGNATURE: Ae,
          HEADER_MINOR_VERSION: "3e00",
          MAXREGSID: -6,
          NOSTREAM: -1,
          HEADER_CLSID: ze,
          EntryTypes: [
            "unknown",
            "storage",
            "stream",
            "lockbytes",
            "property",
            "root",
          ],
        };
      function De(h, T, m) {
        l();
        var p = G(h, m);
        o.writeFileSync(T, p);
      }
      function pe(h) {
        for (var T = new Array(h.length), m = 0; m < h.length; ++m)
          T[m] = String.fromCharCode(h[m]);
        return T.join("");
      }
      function qe(h, T) {
        var m = G(h, T);
        switch ((T && T.type) || "buffer") {
          case "file":
            return l(), o.writeFileSync(T.filename, m), m;
          case "binary":
            return typeof m == "string" ? m : pe(m);
          case "base64":
            return qn(typeof m == "string" ? m : pe(m));
          case "buffer":
            if (Se) return Buffer.isBuffer(m) ? m : Ar(m);
          case "array":
            return typeof m == "string" ? $t(m) : m;
        }
        return m;
      }
      var at;
      function S(h) {
        try {
          var T = h.InflateRaw,
            m = new T();
          if (
            (m._processChunk(new Uint8Array([3, 0]), m._finishFlushFlag),
            m.bytesRead)
          )
            at = h;
          else throw new Error("zlib does not expose bytesRead");
        } catch (p) {
          console.error("cannot use native zlib: " + (p.message || p));
        }
      }
      function N(h, T) {
        if (!at) return ss(h, T);
        var m = at.InflateRaw,
          p = new m(),
          E = p._processChunk(h.slice(h.l), p._finishFlushFlag);
        return (h.l += p.bytesRead), E;
      }
      function y(h) {
        return at ? at.deflateRawSync(h) : es(h);
      }
      var A = [
          16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15,
        ],
        H = [
          3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51,
          59, 67, 83, 99, 115, 131, 163, 195, 227, 258,
        ],
        oe = [
          1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385,
          513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385,
          24577,
        ];
      function le(h) {
        var T =
          (((h << 1) | (h << 11)) & 139536) | (((h << 5) | (h << 15)) & 558144);
        return ((T >> 16) | (T >> 8) | T) & 255;
      }
      for (
        var te = typeof Uint8Array != "undefined",
          ee = te ? new Uint8Array(1 << 8) : [],
          Ne = 0;
        Ne < 1 << 8;
        ++Ne
      )
        ee[Ne] = le(Ne);
      function ge(h, T) {
        var m = ee[h & 255];
        return T <= 8
          ? m >>> (8 - T)
          : ((m = (m << 8) | ee[(h >> 8) & 255]),
            T <= 16
              ? m >>> (16 - T)
              : ((m = (m << 8) | ee[(h >> 16) & 255]), m >>> (24 - T)));
      }
      function Tt(h, T) {
        var m = T & 7,
          p = T >>> 3;
        return ((h[p] | (m <= 6 ? 0 : h[p + 1] << 8)) >>> m) & 3;
      }
      function ye(h, T) {
        var m = T & 7,
          p = T >>> 3;
        return ((h[p] | (m <= 5 ? 0 : h[p + 1] << 8)) >>> m) & 7;
      }
      function fr(h, T) {
        var m = T & 7,
          p = T >>> 3;
        return ((h[p] | (m <= 4 ? 0 : h[p + 1] << 8)) >>> m) & 15;
      }
      function Ye(h, T) {
        var m = T & 7,
          p = T >>> 3;
        return ((h[p] | (m <= 3 ? 0 : h[p + 1] << 8)) >>> m) & 31;
      }
      function fe(h, T) {
        var m = T & 7,
          p = T >>> 3;
        return ((h[p] | (m <= 1 ? 0 : h[p + 1] << 8)) >>> m) & 127;
      }
      function Pt(h, T, m) {
        var p = T & 7,
          E = T >>> 3,
          w = (1 << m) - 1,
          I = h[E] >>> p;
        return (
          m < 8 - p ||
            ((I |= h[E + 1] << (8 - p)), m < 16 - p) ||
            ((I |= h[E + 2] << (16 - p)), m < 24 - p) ||
            (I |= h[E + 3] << (24 - p)),
          I & w
        );
      }
      function or(h, T, m) {
        var p = T & 7,
          E = T >>> 3;
        return (
          p <= 5
            ? (h[E] |= (m & 7) << p)
            : ((h[E] |= (m << p) & 255), (h[E + 1] = (m & 7) >> (8 - p))),
          T + 3
        );
      }
      function Mr(h, T, m) {
        var p = T & 7,
          E = T >>> 3;
        return (m = (m & 1) << p), (h[E] |= m), T + 1;
      }
      function nn(h, T, m) {
        var p = T & 7,
          E = T >>> 3;
        return (m <<= p), (h[E] |= m & 255), (m >>>= 8), (h[E + 1] = m), T + 8;
      }
      function Q0(h, T, m) {
        var p = T & 7,
          E = T >>> 3;
        return (
          (m <<= p),
          (h[E] |= m & 255),
          (m >>>= 8),
          (h[E + 1] = m & 255),
          (h[E + 2] = m >>> 8),
          T + 16
        );
      }
      function wi(h, T) {
        var m = h.length,
          p = 2 * m > T ? 2 * m : T + 5,
          E = 0;
        if (m >= T) return h;
        if (Se) {
          var w = Os(p);
          if (h.copy) h.copy(w);
          else for (; E < h.length; ++E) w[E] = h[E];
          return w;
        } else if (te) {
          var I = new Uint8Array(p);
          if (I.set) I.set(h);
          else for (; E < m; ++E) I[E] = h[E];
          return I;
        }
        return (h.length = p), h;
      }
      function qt(h) {
        for (var T = new Array(h), m = 0; m < h; ++m) T[m] = 0;
        return T;
      }
      function da(h, T, m) {
        var p = 1,
          E = 0,
          w = 0,
          I = 0,
          b = 0,
          C = h.length,
          D = te ? new Uint16Array(32) : qt(32);
        for (w = 0; w < 32; ++w) D[w] = 0;
        for (w = C; w < m; ++w) h[w] = 0;
        C = h.length;
        var k = te ? new Uint16Array(C) : qt(C);
        for (w = 0; w < C; ++w) D[(E = h[w])]++, p < E && (p = E), (k[w] = 0);
        for (D[0] = 0, w = 1; w <= p; ++w) D[w + 16] = b = (b + D[w - 1]) << 1;
        for (w = 0; w < C; ++w) (b = h[w]), b != 0 && (k[w] = D[b + 16]++);
        var j = 0;
        for (w = 0; w < C; ++w)
          if (((j = h[w]), j != 0))
            for (
              b = ge(k[w], p) >> (p - j), I = (1 << (p + 4 - j)) - 1;
              I >= 0;
              --I
            )
              T[b | (I << j)] = (j & 15) | (w << 4);
        return p;
      }
      var Si = te ? new Uint16Array(512) : qt(512),
        Ai = te ? new Uint16Array(32) : qt(32);
      if (!te) {
        for (var Pr = 0; Pr < 512; ++Pr) Si[Pr] = 0;
        for (Pr = 0; Pr < 32; ++Pr) Ai[Pr] = 0;
      }
      (function () {
        for (var h = [], T = 0; T < 32; T++) h.push(5);
        da(h, Ai, 32);
        var m = [];
        for (T = 0; T <= 143; T++) m.push(8);
        for (; T <= 255; T++) m.push(9);
        for (; T <= 279; T++) m.push(7);
        for (; T <= 287; T++) m.push(8);
        da(m, Si, 288);
      })();
      var Zl = (function () {
        for (
          var T = te ? new Uint8Array(32768) : [], m = 0, p = 0;
          m < oe.length - 1;
          ++m
        )
          for (; p < oe[m + 1]; ++p) T[p] = m;
        for (; p < 32768; ++p) T[p] = 29;
        var E = te ? new Uint8Array(259) : [];
        for (m = 0, p = 0; m < H.length - 1; ++m)
          for (; p < H[m + 1]; ++p) E[p] = m;
        function w(b, C) {
          for (var D = 0; D < b.length; ) {
            var k = Math.min(65535, b.length - D),
              j = D + k == b.length;
            for (
              C.write_shift(1, +j),
                C.write_shift(2, k),
                C.write_shift(2, ~k & 65535);
              k-- > 0;

            )
              C[C.l++] = b[D++];
          }
          return C.l;
        }
        function I(b, C) {
          for (
            var D = 0, k = 0, j = te ? new Uint16Array(32768) : [];
            k < b.length;

          ) {
            var q = Math.min(65535, b.length - k);
            if (q < 10) {
              for (
                D = or(C, D, +(k + q == b.length)),
                  D & 7 && (D += 8 - (D & 7)),
                  C.l = (D / 8) | 0,
                  C.write_shift(2, q),
                  C.write_shift(2, ~q & 65535);
                q-- > 0;

              )
                C[C.l++] = b[k++];
              D = C.l * 8;
              continue;
            }
            D = or(C, D, +(k + q == b.length) + 2);
            for (var ie = 0; q-- > 0; ) {
              var z = b[k];
              ie = ((ie << 5) ^ z) & 32767;
              var ae = -1,
                he = 0;
              if (
                (ae = j[ie]) &&
                ((ae |= k & -32768), ae > k && (ae -= 32768), ae < k)
              )
                for (; b[ae + he] == b[k + he] && he < 250; ) ++he;
              if (he > 2) {
                (z = E[he]),
                  z <= 22
                    ? (D = nn(C, D, ee[z + 1] >> 1) - 1)
                    : (nn(C, D, 3),
                      (D += 5),
                      nn(C, D, ee[z - 23] >> 5),
                      (D += 3));
                var We = z < 8 ? 0 : (z - 4) >> 2;
                We > 0 && (Q0(C, D, he - H[z]), (D += We)),
                  (z = T[k - ae]),
                  (D = nn(C, D, ee[z] >> 3)),
                  (D -= 3);
                var He = z < 4 ? 0 : (z - 2) >> 1;
                He > 0 && (Q0(C, D, k - ae - oe[z]), (D += He));
                for (var ht = 0; ht < he; ++ht)
                  (j[ie] = k & 32767), (ie = ((ie << 5) ^ b[k]) & 32767), ++k;
                q -= he - 1;
              } else
                z <= 143 ? (z = z + 48) : (D = Mr(C, D, 1)),
                  (D = nn(C, D, ee[z])),
                  (j[ie] = k & 32767),
                  ++k;
            }
            D = nn(C, D, 0) - 1;
          }
          return (C.l = ((D + 7) / 8) | 0), C.l;
        }
        return function (C, D) {
          return C.length < 8 ? w(C, D) : I(C, D);
        };
      })();
      function es(h) {
        var T = B(50 + Math.floor(h.length * 1.1)),
          m = Zl(h, T);
        return T.slice(0, m);
      }
      var ts = te ? new Uint16Array(32768) : qt(32768),
        rs = te ? new Uint16Array(32768) : qt(32768),
        ns = te ? new Uint16Array(128) : qt(128),
        as = 1,
        is = 1;
      function ql(h, T) {
        var m = Ye(h, T) + 257;
        T += 5;
        var p = Ye(h, T) + 1;
        T += 5;
        var E = fr(h, T) + 4;
        T += 4;
        for (
          var w = 0,
            I = te ? new Uint8Array(19) : qt(19),
            b = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
            C = 1,
            D = te ? new Uint8Array(8) : qt(8),
            k = te ? new Uint8Array(8) : qt(8),
            j = I.length,
            q = 0;
          q < E;
          ++q
        )
          (I[A[q]] = w = ye(h, T)), C < w && (C = w), D[w]++, (T += 3);
        var ie = 0;
        for (D[0] = 0, q = 1; q <= C; ++q) k[q] = ie = (ie + D[q - 1]) << 1;
        for (q = 0; q < j; ++q) (ie = I[q]) != 0 && (b[q] = k[ie]++);
        var z = 0;
        for (q = 0; q < j; ++q)
          if (((z = I[q]), z != 0)) {
            ie = ee[b[q]] >> (8 - z);
            for (var ae = (1 << (7 - z)) - 1; ae >= 0; --ae)
              ns[ie | (ae << z)] = (z & 7) | (q << 3);
          }
        var he = [];
        for (C = 1; he.length < m + p; )
          switch (((ie = ns[fe(h, T)]), (T += ie & 7), (ie >>>= 3))) {
            case 16:
              for (w = 3 + Tt(h, T), T += 2, ie = he[he.length - 1]; w-- > 0; )
                he.push(ie);
              break;
            case 17:
              for (w = 3 + ye(h, T), T += 3; w-- > 0; ) he.push(0);
              break;
            case 18:
              for (w = 11 + fe(h, T), T += 7; w-- > 0; ) he.push(0);
              break;
            default:
              he.push(ie), C < ie && (C = ie);
              break;
          }
        var We = he.slice(0, m),
          He = he.slice(m);
        for (q = m; q < 286; ++q) We[q] = 0;
        for (q = p; q < 30; ++q) He[q] = 0;
        return (as = da(We, ts, 286)), (is = da(He, rs, 30)), T;
      }
      function Ql(h, T) {
        if (h[0] == 3 && !(h[1] & 3)) return [Xr(T), 2];
        for (
          var m = 0,
            p = 0,
            E = Os(T || 1 << 18),
            w = 0,
            I = E.length >>> 0,
            b = 0,
            C = 0;
          (p & 1) == 0;

        ) {
          if (((p = ye(h, m)), (m += 3), p >>> 1 == 0)) {
            m & 7 && (m += 8 - (m & 7));
            var D = h[m >>> 3] | (h[(m >>> 3) + 1] << 8);
            if (((m += 32), D > 0))
              for (
                !T && I < w + D && ((E = wi(E, w + D)), (I = E.length));
                D-- > 0;

              )
                (E[w++] = h[m >>> 3]), (m += 8);
            continue;
          } else
            p >> 1 == 1
              ? ((b = 9), (C = 5))
              : ((m = ql(h, m)), (b = as), (C = is));
          for (;;) {
            !T && I < w + 32767 && ((E = wi(E, w + 32767)), (I = E.length));
            var k = Pt(h, m, b),
              j = p >>> 1 == 1 ? Si[k] : ts[k];
            if (((m += j & 15), (j >>>= 4), ((j >>> 8) & 255) === 0))
              E[w++] = j;
            else {
              if (j == 256) break;
              j -= 257;
              var q = j < 8 ? 0 : (j - 4) >> 2;
              q > 5 && (q = 0);
              var ie = w + H[j];
              q > 0 && ((ie += Pt(h, m, q)), (m += q)),
                (k = Pt(h, m, C)),
                (j = p >>> 1 == 1 ? Ai[k] : rs[k]),
                (m += j & 15),
                (j >>>= 4);
              var z = j < 4 ? 0 : (j - 2) >> 1,
                ae = oe[j];
              for (
                z > 0 && ((ae += Pt(h, m, z)), (m += z)),
                  !T && I < ie && ((E = wi(E, ie + 100)), (I = E.length));
                w < ie;

              )
                (E[w] = E[w - ae]), ++w;
            }
          }
        }
        return T ? [E, (m + 7) >>> 3] : [E.slice(0, w), (m + 7) >>> 3];
      }
      function ss(h, T) {
        var m = h.slice(h.l || 0),
          p = Ql(m, T);
        return (h.l += p[1]), p[0];
      }
      function fs(h, T) {
        if (h) typeof console != "undefined" && console.error(T);
        else throw new Error(T);
      }
      function os(h, T) {
        var m = h;
        Ct(m, 0);
        var p = [],
          E = [],
          w = { FileIndex: p, FullPaths: E };
        R(w, { root: T.root });
        for (
          var I = m.length - 4;
          (m[I] != 80 || m[I + 1] != 75 || m[I + 2] != 5 || m[I + 3] != 6) &&
          I >= 0;

        )
          --I;
        (m.l = I + 4), (m.l += 4);
        var b = m.read_shift(2);
        m.l += 6;
        var C = m.read_shift(4);
        for (m.l = C, I = 0; I < b; ++I) {
          m.l += 20;
          var D = m.read_shift(4),
            k = m.read_shift(4),
            j = m.read_shift(2),
            q = m.read_shift(2),
            ie = m.read_shift(2);
          m.l += 8;
          var z = m.read_shift(4),
            ae = f(m.slice(m.l + j, m.l + j + q));
          m.l += j + q + ie;
          var he = m.l;
          (m.l = z + 4), eu(m, D, k, w, ae), (m.l = he);
        }
        return w;
      }
      function eu(h, T, m, p, E) {
        h.l += 2;
        var w = h.read_shift(2),
          I = h.read_shift(2),
          b = s(h);
        if (w & 8257) throw new Error("Unsupported ZIP encryption");
        for (
          var C = h.read_shift(4),
            D = h.read_shift(4),
            k = h.read_shift(4),
            j = h.read_shift(2),
            q = h.read_shift(2),
            ie = "",
            z = 0;
          z < j;
          ++z
        )
          ie += String.fromCharCode(h[h.l++]);
        if (q) {
          var ae = f(h.slice(h.l, h.l + q));
          (ae[21589] || {}).mt && (b = ae[21589].mt),
            ((E || {})[21589] || {}).mt && (b = E[21589].mt);
        }
        h.l += q;
        var he = h.slice(h.l, h.l + D);
        switch (I) {
          case 8:
            he = N(h, k);
            break;
          case 0:
            break;
          default:
            throw new Error("Unsupported ZIP Compression method " + I);
        }
        var We = !1;
        w & 8 &&
          ((C = h.read_shift(4)),
          C == 134695760 && ((C = h.read_shift(4)), (We = !0)),
          (D = h.read_shift(4)),
          (k = h.read_shift(4))),
          D != T && fs(We, "Bad compressed size: " + T + " != " + D),
          k != m && fs(We, "Bad uncompressed size: " + m + " != " + k),
          yi(p, ie, he, { unsafe: !0, mt: b });
      }
      function tu(h, T) {
        var m = T || {},
          p = [],
          E = [],
          w = B(1),
          I = m.compression ? 8 : 0,
          b = 0,
          C = 0,
          D = 0,
          k = 0,
          j = 0,
          q = h.FullPaths[0],
          ie = q,
          z = h.FileIndex[0],
          ae = [],
          he = 0;
        for (C = 1; C < h.FullPaths.length; ++C)
          if (
            ((ie = h.FullPaths[C].slice(q.length)),
            (z = h.FileIndex[C]),
            !(!z.size || !z.content || ie == "Sh33tJ5"))
          ) {
            var We = k,
              He = B(ie.length);
            for (D = 0; D < ie.length; ++D)
              He.write_shift(1, ie.charCodeAt(D) & 127);
            (He = He.slice(0, He.l)), (ae[j] = Wx.buf(z.content, 0));
            var ht = z.content;
            I == 8 && (ht = y(ht)),
              (w = B(30)),
              w.write_shift(4, 67324752),
              w.write_shift(2, 20),
              w.write_shift(2, b),
              w.write_shift(2, I),
              z.mt ? i(w, z.mt) : w.write_shift(4, 0),
              w.write_shift(-4, ae[j]),
              w.write_shift(4, ht.length),
              w.write_shift(4, z.content.length),
              w.write_shift(2, He.length),
              w.write_shift(2, 0),
              (k += w.length),
              p.push(w),
              (k += He.length),
              p.push(He),
              (k += ht.length),
              p.push(ht),
              (w = B(46)),
              w.write_shift(4, 33639248),
              w.write_shift(2, 0),
              w.write_shift(2, 20),
              w.write_shift(2, b),
              w.write_shift(2, I),
              w.write_shift(4, 0),
              w.write_shift(-4, ae[j]),
              w.write_shift(4, ht.length),
              w.write_shift(4, z.content.length),
              w.write_shift(2, He.length),
              w.write_shift(2, 0),
              w.write_shift(2, 0),
              w.write_shift(2, 0),
              w.write_shift(2, 0),
              w.write_shift(4, 0),
              w.write_shift(4, We),
              (he += w.l),
              E.push(w),
              (he += He.length),
              E.push(He),
              ++j;
          }
        return (
          (w = B(22)),
          w.write_shift(4, 101010256),
          w.write_shift(2, 0),
          w.write_shift(2, 0),
          w.write_shift(2, j),
          w.write_shift(2, j),
          w.write_shift(4, he),
          w.write_shift(4, k),
          w.write_shift(2, 0),
          ot([ot(p), ot(E), w])
        );
      }
      var _a = {
        htm: "text/html",
        xml: "text/xml",
        gif: "image/gif",
        jpg: "image/jpeg",
        png: "image/png",
        mso: "application/x-mso",
        thmx: "application/vnd.ms-officetheme",
        sh33tj5: "application/octet-stream",
      };
      function ru(h, T) {
        if (h.ctype) return h.ctype;
        var m = h.name || "",
          p = m.match(/\.([^\.]+)$/);
        return (p && _a[p[1]]) ||
          (T && ((p = (m = T).match(/[\.\\]([^\.\\])+$/)), p && _a[p[1]]))
          ? _a[p[1]]
          : "application/octet-stream";
      }
      function nu(h) {
        for (var T = qn(h), m = [], p = 0; p < T.length; p += 76)
          m.push(T.slice(p, p + 76));
        return (
          m.join(`\r
`) +
          `\r
`
        );
      }
      function au(h) {
        var T = h.replace(
          /[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,
          function (D) {
            var k = D.charCodeAt(0).toString(16).toUpperCase();
            return "=" + (k.length == 1 ? "0" + k : k);
          }
        );
        (T = T.replace(/ $/gm, "=20").replace(/\t$/gm, "=09")),
          T.charAt(0) ==
            `
` && (T = "=0D" + T.slice(1)),
          (T = T.replace(/\r(?!\n)/gm, "=0D")
            .replace(
              /\n\n/gm,
              `
=0A`
            )
            .replace(/([^\r\n])\n/gm, "$1=0A"));
        for (
          var m = [],
            p = T.split(`\r
`),
            E = 0;
          E < p.length;
          ++E
        ) {
          var w = p[E];
          if (w.length == 0) {
            m.push("");
            continue;
          }
          for (var I = 0; I < w.length; ) {
            var b = 76,
              C = w.slice(I, I + b);
            C.charAt(b - 1) == "="
              ? b--
              : C.charAt(b - 2) == "="
              ? (b -= 2)
              : C.charAt(b - 3) == "=" && (b -= 3),
              (C = w.slice(I, I + b)),
              (I += b),
              I < w.length && (C += "="),
              m.push(C);
          }
        }
        return m.join(`\r
`);
      }
      function iu(h) {
        for (var T = [], m = 0; m < h.length; ++m) {
          for (var p = h[m]; m <= h.length && p.charAt(p.length - 1) == "="; )
            p = p.slice(0, p.length - 1) + h[++m];
          T.push(p);
        }
        for (var E = 0; E < T.length; ++E)
          T[E] = T[E].replace(/[=][0-9A-Fa-f]{2}/g, function (w) {
            return String.fromCharCode(parseInt(w.slice(1), 16));
          });
        return $t(
          T.join(`\r
`)
        );
      }
      function su(h, T, m) {
        for (var p = "", E = "", w = "", I, b = 0; b < 10; ++b) {
          var C = T[b];
          if (!C || C.match(/^\s*$/)) break;
          var D = C.match(/^(.*?):\s*([^\s].*)$/);
          if (D)
            switch (D[1].toLowerCase()) {
              case "content-location":
                p = D[2].trim();
                break;
              case "content-type":
                w = D[2].trim();
                break;
              case "content-transfer-encoding":
                E = D[2].trim();
                break;
            }
        }
        switch ((++b, E.toLowerCase())) {
          case "base64":
            I = $t(Tr(T.slice(b).join("")));
            break;
          case "quoted-printable":
            I = iu(T.slice(b));
            break;
          default:
            throw new Error("Unsupported Content-Transfer-Encoding " + E);
        }
        var k = yi(h, p.slice(m.length), I, { unsafe: !0 });
        w && (k.ctype = w);
      }
      function fu(h, T) {
        if (pe(h.slice(0, 13)).toLowerCase() != "mime-version:")
          throw new Error("Unsupported MAD header");
        var m = (T && T.root) || "",
          p = (Se && Buffer.isBuffer(h) ? h.toString("binary") : pe(h))
            .split(`\r
`),
          E = 0,
          w = "";
        for (E = 0; E < p.length; ++E)
          if (
            ((w = p[E]),
            !!/^Content-Location:/i.test(w) &&
              ((w = w.slice(w.indexOf("file"))),
              m || (m = w.slice(0, w.lastIndexOf("/") + 1)),
              w.slice(0, m.length) != m))
          )
            for (
              ;
              m.length > 0 &&
              ((m = m.slice(0, m.length - 1)),
              (m = m.slice(0, m.lastIndexOf("/") + 1)),
              w.slice(0, m.length) != m);

            );
        var I = (p[1] || "").match(/boundary="(.*?)"/);
        if (!I) throw new Error("MAD cannot find boundary");
        var b = "--" + (I[1] || ""),
          C = [],
          D = [],
          k = { FileIndex: C, FullPaths: D };
        R(k);
        var j,
          q = 0;
        for (E = 0; E < p.length; ++E) {
          var ie = p[E];
          (ie !== b && ie !== b + "--") ||
            (q++ && su(k, p.slice(j, E), m), (j = E));
        }
        return k;
      }
      function ou(h, T) {
        var m = T || {},
          p = m.boundary || "SheetJS";
        p = "------=" + p;
        for (
          var E = [
              "MIME-Version: 1.0",
              'Content-Type: multipart/related; boundary="' + p.slice(2) + '"',
              "",
              "",
              "",
            ],
            w = h.FullPaths[0],
            I = w,
            b = h.FileIndex[0],
            C = 1;
          C < h.FullPaths.length;
          ++C
        )
          if (
            ((I = h.FullPaths[C].slice(w.length)),
            (b = h.FileIndex[C]),
            !(!b.size || !b.content || I == "Sh33tJ5"))
          ) {
            I = I.replace(
              /[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,
              function (he) {
                return "_x" + he.charCodeAt(0).toString(16) + "_";
              }
            ).replace(/[\u0080-\uFFFF]/g, function (he) {
              return "_u" + he.charCodeAt(0).toString(16) + "_";
            });
            for (
              var D = b.content,
                k = Se && Buffer.isBuffer(D) ? D.toString("binary") : pe(D),
                j = 0,
                q = Math.min(1024, k.length),
                ie = 0,
                z = 0;
              z <= q;
              ++z
            )
              (ie = k.charCodeAt(z)) >= 32 && ie < 128 && ++j;
            var ae = j >= (q * 4) / 5;
            E.push(p),
              E.push(
                "Content-Location: " + (m.root || "file:///C:/SheetJS/") + I
              ),
              E.push(
                "Content-Transfer-Encoding: " +
                  (ae ? "quoted-printable" : "base64")
              ),
              E.push("Content-Type: " + ru(b, I)),
              E.push(""),
              E.push(ae ? au(k) : nu(k));
          }
        return (
          E.push(
            p +
              `--\r
`
          ),
          E.join(`\r
`)
        );
      }
      function lu(h) {
        var T = {};
        return R(T, h), T;
      }
      function yi(h, T, m, p) {
        var E = p && p.unsafe;
        E || R(h);
        var w = !E && Ce.find(h, T);
        if (!w) {
          var I = h.FullPaths[0];
          T.slice(0, I.length) == I
            ? (I = T)
            : (I.slice(-1) != "/" && (I += "/"),
              (I = (I + T).replace("//", "/"))),
            (w = { name: a(T), type: 2 }),
            h.FileIndex.push(w),
            h.FullPaths.push(I),
            E || Ce.utils.cfb_gc(h);
        }
        return (
          (w.content = m),
          (w.size = m ? m.length : 0),
          p &&
            (p.CLSID && (w.clsid = p.CLSID),
            p.mt && (w.mt = p.mt),
            p.ct && (w.ct = p.ct)),
          w
        );
      }
      function uu(h, T) {
        R(h);
        var m = Ce.find(h, T);
        if (m) {
          for (var p = 0; p < h.FileIndex.length; ++p)
            if (h.FileIndex[p] == m)
              return h.FileIndex.splice(p, 1), h.FullPaths.splice(p, 1), !0;
        }
        return !1;
      }
      function cu(h, T, m) {
        R(h);
        var p = Ce.find(h, T);
        if (p) {
          for (var E = 0; E < h.FileIndex.length; ++E)
            if (h.FileIndex[E] == p)
              return (h.FileIndex[E].name = a(m)), (h.FullPaths[E] = m), !0;
        }
        return !1;
      }
      function hu(h) {
        M(h, !0);
      }
      return (
        (t.find = Y),
        (t.read = Q),
        (t.parse = u),
        (t.write = qe),
        (t.writeFile = De),
        (t.utils = {
          cfb_new: lu,
          cfb_add: yi,
          cfb_del: uu,
          cfb_mov: cu,
          cfb_gc: hu,
          ReadShift: Gn,
          CheckField: zo,
          prep_blob: Ct,
          bconcat: ot,
          use_zlib: S,
          _deflateRaw: es,
          _inflateRaw: ss,
          consts: be,
        }),
        t
      );
    })();
  function Hx(e) {
    return typeof e == "string" ? di(e) : Array.isArray(e) ? dx(e) : e;
  }
  function oa(e, t, r) {
    if (typeof Deno != "undefined") {
      if (r && typeof t == "string")
        switch (r) {
          case "utf8":
            t = new TextEncoder(r).encode(t);
            break;
          case "binary":
            t = di(t);
            break;
          default:
            throw new Error("Unsupported encoding " + r);
        }
      return Deno.writeFileSync(e, t);
    }
    var n = r == "utf8" ? _r(t) : t;
    if (typeof IE_SaveFile != "undefined") return IE_SaveFile(n, e);
    if (typeof Blob != "undefined") {
      var a = new Blob([Hx(n)], { type: "application/octet-stream" });
      if (typeof navigator != "undefined" && navigator.msSaveBlob)
        return navigator.msSaveBlob(a, e);
      if (typeof saveAs != "undefined") return saveAs(a, e);
      if (
        typeof URL != "undefined" &&
        typeof document != "undefined" &&
        document.createElement &&
        URL.createObjectURL
      ) {
        var i = URL.createObjectURL(a);
        if (
          typeof chrome == "object" &&
          typeof (chrome.downloads || {}).download == "function"
        )
          return (
            URL.revokeObjectURL &&
              typeof setTimeout != "undefined" &&
              setTimeout(function () {
                URL.revokeObjectURL(i);
              }, 6e4),
            chrome.downloads.download({ url: i, filename: e, saveAs: !0 })
          );
        var s = document.createElement("a");
        if (s.download != null)
          return (
            (s.download = e),
            (s.href = i),
            document.body.appendChild(s),
            s.click(),
            document.body.removeChild(s),
            URL.revokeObjectURL &&
              typeof setTimeout != "undefined" &&
              setTimeout(function () {
                URL.revokeObjectURL(i);
              }, 6e4),
            i
          );
      }
    }
    if (
      typeof $ != "undefined" &&
      typeof File != "undefined" &&
      typeof Folder != "undefined"
    )
      try {
        var f = File(e);
        return (
          f.open("w"),
          (f.encoding = "binary"),
          Array.isArray(t) && (t = fa(t)),
          f.write(t),
          f.close(),
          t
        );
      } catch (o) {
        if (!o.message || !o.message.match(/onstruct/)) throw o;
      }
    throw new Error("cannot save file " + e);
  }
  function ct(e) {
    for (var t = Object.keys(e), r = [], n = 0; n < t.length; ++n)
      Object.prototype.hasOwnProperty.call(e, t[n]) && r.push(t[n]);
    return r;
  }
  function Ps(e, t) {
    for (var r = [], n = ct(e), a = 0; a !== n.length; ++a)
      r[e[n[a]][t]] == null && (r[e[n[a]][t]] = n[a]);
    return r;
  }
  function k0(e) {
    for (var t = [], r = ct(e), n = 0; n !== r.length; ++n) t[e[r[n]]] = r[n];
    return t;
  }
  function mi(e) {
    for (var t = [], r = ct(e), n = 0; n !== r.length; ++n)
      t[e[r[n]]] = parseInt(r[n], 10);
    return t;
  }
  function Yx(e) {
    for (var t = [], r = ct(e), n = 0; n !== r.length; ++n)
      t[e[r[n]]] == null && (t[e[r[n]]] = []), t[e[r[n]]].push(r[n]);
    return t;
  }
  var Ya = new Date(1899, 11, 30, 0, 0, 0);
  function Lt(e, t) {
    var r = e.getTime();
    t && (r -= 1462 * 24 * 60 * 60 * 1e3);
    var n =
      Ya.getTime() + (e.getTimezoneOffset() - Ya.getTimezoneOffset()) * 6e4;
    return (r - n) / (24 * 60 * 60 * 1e3);
  }
  var Do = new Date(),
    Gx = Ya.getTime() + (Do.getTimezoneOffset() - Ya.getTimezoneOffset()) * 6e4,
    Bs = Do.getTimezoneOffset();
  function No(e) {
    var t = new Date();
    return (
      t.setTime(e * 24 * 60 * 60 * 1e3 + Gx),
      t.getTimezoneOffset() !== Bs &&
        t.setTime(t.getTime() + (t.getTimezoneOffset() - Bs) * 6e4),
      t
    );
  }
  var bs = new Date("2017-02-19T19:06:09.000Z"),
    ko = isNaN(bs.getFullYear()) ? new Date("2/19/17") : bs,
    Vx = ko.getFullYear() == 2017;
  function St(e, t) {
    var r = new Date(e);
    if (Vx)
      return (
        t > 0
          ? r.setTime(r.getTime() + r.getTimezoneOffset() * 60 * 1e3)
          : t < 0 && r.setTime(r.getTime() - r.getTimezoneOffset() * 60 * 1e3),
        r
      );
    if (e instanceof Date) return e;
    if (ko.getFullYear() == 1917 && !isNaN(r.getFullYear())) {
      var n = r.getFullYear();
      return e.indexOf("" + n) > -1 || r.setFullYear(r.getFullYear() + 100), r;
    }
    var a = e.match(/\d+/g) || ["2017", "2", "19", "0", "0", "0"],
      i = new Date(+a[0], +a[1] - 1, +a[2], +a[3] || 0, +a[4] || 0, +a[5] || 0);
    return (
      e.indexOf("Z") > -1 &&
        (i = new Date(i.getTime() - i.getTimezoneOffset() * 60 * 1e3)),
      i
    );
  }
  function pi(e, t) {
    if (Se && Buffer.isBuffer(e)) {
      if (t) {
        if (e[0] == 255 && e[1] == 254)
          return _r(e.slice(2).toString("utf16le"));
        if (e[1] == 254 && e[2] == 255)
          return _r(hx(e.slice(2).toString("binary")));
      }
      return e.toString("binary");
    }
    if (typeof TextDecoder != "undefined")
      try {
        if (t) {
          if (e[0] == 255 && e[1] == 254)
            return _r(new TextDecoder("utf-16le").decode(e.slice(2)));
          if (e[0] == 254 && e[1] == 255)
            return _r(new TextDecoder("utf-16be").decode(e.slice(2)));
        }
        var r = {
          "\u20AC": "\x80",
          "\u201A": "\x82",
          ƒ: "\x83",
          "\u201E": "\x84",
          "\u2026": "\x85",
          "\u2020": "\x86",
          "\u2021": "\x87",
          "\u02C6": "\x88",
          "\u2030": "\x89",
          Š: "\x8A",
          "\u2039": "\x8B",
          Œ: "\x8C",
          Ž: "\x8E",
          "\u2018": "\x91",
          "\u2019": "\x92",
          "\u201C": "\x93",
          "\u201D": "\x94",
          "\u2022": "\x95",
          "\u2013": "\x96",
          "\u2014": "\x97",
          "\u02DC": "\x98",
          "\u2122": "\x99",
          š: "\x9A",
          "\u203A": "\x9B",
          œ: "\x9C",
          ž: "\x9E",
          Ÿ: "\x9F",
        };
        return (
          Array.isArray(e) && (e = new Uint8Array(e)),
          new TextDecoder("latin1")
            .decode(e)
            .replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g, function (i) {
              return r[i] || i;
            })
        );
      } catch {}
    for (var n = [], a = 0; a != e.length; ++a)
      n.push(String.fromCharCode(e[a]));
    return n.join("");
  }
  function Ot(e) {
    if (typeof JSON != "undefined" && !Array.isArray(e))
      return JSON.parse(JSON.stringify(e));
    if (typeof e != "object" || e == null) return e;
    if (e instanceof Date) return new Date(e.getTime());
    var t = {};
    for (var r in e)
      Object.prototype.hasOwnProperty.call(e, r) && (t[r] = Ot(e[r]));
    return t;
  }
  function Ge(e, t) {
    for (var r = ""; r.length < t; ) r += e;
    return r;
  }
  function pr(e) {
    var t = Number(e);
    if (!isNaN(t)) return isFinite(t) ? t : NaN;
    if (!/\d/.test(e)) return t;
    var r = 1,
      n = e
        .replace(/([\d]),([\d])/g, "$1$2")
        .replace(/[$]/g, "")
        .replace(/[%]/g, function () {
          return (r *= 100), "";
        });
    return !isNaN((t = Number(n))) ||
      ((n = n.replace(/[(](.*)[)]/, function (a, i) {
        return (r = -r), i;
      })),
      !isNaN((t = Number(n))))
      ? t / r
      : t;
  }
  var $x = [
    "january",
    "february",
    "march",
    "april",
    "may",
    "june",
    "july",
    "august",
    "september",
    "october",
    "november",
    "december",
  ];
  function Qn(e) {
    var t = new Date(e),
      r = new Date(NaN),
      n = t.getYear(),
      a = t.getMonth(),
      i = t.getDate();
    if (isNaN(i)) return r;
    var s = e.toLowerCase();
    if (s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)) {
      if (
        ((s = s
          .replace(/[^a-z]/g, "")
          .replace(/([^a-z]|^)[ap]m?([^a-z]|$)/, "")),
        s.length > 3 && $x.indexOf(s) == -1)
      )
        return r;
    } else if (s.match(/[a-z]/)) return r;
    return n < 0 || n > 8099
      ? r
      : (a > 0 || i > 1) && n != 101
      ? t
      : e.match(/[^-0-9:,\/\\]/)
      ? r
      : t;
  }
  function xe(e, t, r) {
    if (e.FullPaths) {
      if (typeof r == "string") {
        var n;
        return Se ? (n = Ar(r)) : (n = _x(r)), Ce.utils.cfb_add(e, t, n);
      }
      Ce.utils.cfb_add(e, t, r);
    } else e.file(t, r);
  }
  function M0() {
    return Ce.utils.cfb_new();
  }
  var Ke = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
`,
    jx = {
      "&quot;": '"',
      "&apos;": "'",
      "&gt;": ">",
      "&lt;": "<",
      "&amp;": "&",
    },
    P0 = k0(jx),
    B0 = /[&<>'"]/g,
    Xx = /[\u0000-\u0008\u000b-\u001f]/g;
  function Oe(e) {
    var t = e + "";
    return t
      .replace(B0, function (r) {
        return P0[r];
      })
      .replace(Xx, function (r) {
        return "_x" + ("000" + r.charCodeAt(0).toString(16)).slice(-4) + "_";
      });
  }
  function Us(e) {
    return Oe(e).replace(/ /g, "_x0020_");
  }
  var Mo = /[\u0000-\u001f]/g;
  function Kx(e) {
    var t = e + "";
    return t
      .replace(B0, function (r) {
        return P0[r];
      })
      .replace(/\n/g, "<br/>")
      .replace(Mo, function (r) {
        return "&#x" + ("000" + r.charCodeAt(0).toString(16)).slice(-4) + ";";
      });
  }
  function zx(e) {
    var t = e + "";
    return t
      .replace(B0, function (r) {
        return P0[r];
      })
      .replace(Mo, function (r) {
        return "&#x" + r.charCodeAt(0).toString(16).toUpperCase() + ";";
      });
  }
  function Jx(e) {
    return e.replace(/(\r\n|[\r\n])/g, "&#10;");
  }
  function Zx(e) {
    switch (e) {
      case 1:
      case !0:
      case "1":
      case "true":
      case "TRUE":
        return !0;
      default:
        return !1;
    }
  }
  function Bi(e) {
    for (var t = "", r = 0, n = 0, a = 0, i = 0, s = 0, f = 0; r < e.length; ) {
      if (((n = e.charCodeAt(r++)), n < 128)) {
        t += String.fromCharCode(n);
        continue;
      }
      if (((a = e.charCodeAt(r++)), n > 191 && n < 224)) {
        (s = (n & 31) << 6), (s |= a & 63), (t += String.fromCharCode(s));
        continue;
      }
      if (((i = e.charCodeAt(r++)), n < 240)) {
        t += String.fromCharCode(((n & 15) << 12) | ((a & 63) << 6) | (i & 63));
        continue;
      }
      (s = e.charCodeAt(r++)),
        (f =
          (((n & 7) << 18) | ((a & 63) << 12) | ((i & 63) << 6) | (s & 63)) -
          65536),
        (t += String.fromCharCode(55296 + ((f >>> 10) & 1023))),
        (t += String.fromCharCode(56320 + (f & 1023)));
    }
    return t;
  }
  function Ws(e) {
    var t = Xr(2 * e.length),
      r,
      n,
      a = 1,
      i = 0,
      s = 0,
      f;
    for (n = 0; n < e.length; n += a)
      (a = 1),
        (f = e.charCodeAt(n)) < 128
          ? (r = f)
          : f < 224
          ? ((r = (f & 31) * 64 + (e.charCodeAt(n + 1) & 63)), (a = 2))
          : f < 240
          ? ((r =
              (f & 15) * 4096 +
              (e.charCodeAt(n + 1) & 63) * 64 +
              (e.charCodeAt(n + 2) & 63)),
            (a = 3))
          : ((a = 4),
            (r =
              (f & 7) * 262144 +
              (e.charCodeAt(n + 1) & 63) * 4096 +
              (e.charCodeAt(n + 2) & 63) * 64 +
              (e.charCodeAt(n + 3) & 63)),
            (r -= 65536),
            (s = 55296 + ((r >>> 10) & 1023)),
            (r = 56320 + (r & 1023))),
        s !== 0 && ((t[i++] = s & 255), (t[i++] = s >>> 8), (s = 0)),
        (t[i++] = r % 256),
        (t[i++] = r >>> 8);
    return t.slice(0, i).toString("ucs2");
  }
  function Hs(e) {
    return Ar(e, "binary").toString("utf8");
  }
  var wa = "foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",
    Yn = (Se && ((Hs(wa) == Bi(wa) && Hs) || (Ws(wa) == Bi(wa) && Ws))) || Bi,
    _r = Se
      ? function (e) {
          return Ar(e, "utf8").toString("binary");
        }
      : function (e) {
          for (var t = [], r = 0, n = 0, a = 0; r < e.length; )
            switch (((n = e.charCodeAt(r++)), !0)) {
              case n < 128:
                t.push(String.fromCharCode(n));
                break;
              case n < 2048:
                t.push(String.fromCharCode(192 + (n >> 6))),
                  t.push(String.fromCharCode(128 + (n & 63)));
                break;
              case n >= 55296 && n < 57344:
                (n -= 55296),
                  (a = e.charCodeAt(r++) - 56320 + (n << 10)),
                  t.push(String.fromCharCode(240 + ((a >> 18) & 7))),
                  t.push(String.fromCharCode(144 + ((a >> 12) & 63))),
                  t.push(String.fromCharCode(128 + ((a >> 6) & 63))),
                  t.push(String.fromCharCode(128 + (a & 63)));
                break;
              default:
                t.push(String.fromCharCode(224 + (n >> 12))),
                  t.push(String.fromCharCode(128 + ((n >> 6) & 63))),
                  t.push(String.fromCharCode(128 + (n & 63)));
            }
          return t.join("");
        },
    qx = (function () {
      var e = [
        ["nbsp", " "],
        ["middot", "\xB7"],
        ["quot", '"'],
        ["apos", "'"],
        ["gt", ">"],
        ["lt", "<"],
        ["amp", "&"],
      ].map(function (t) {
        return [new RegExp("&" + t[0] + ";", "ig"), t[1]];
      });
      return function (r) {
        for (
          var n = r
              .replace(/^[\t\n\r ]+/, "")
              .replace(/[\t\n\r ]+$/, "")
              .replace(/>\s+/g, ">")
              .replace(/\s+</g, "<")
              .replace(/[\t\n\r ]+/g, " ")
              .replace(
                /<\s*[bB][rR]\s*\/?>/g,
                `
`
              )
              .replace(/<[^>]*>/g, ""),
            a = 0;
          a < e.length;
          ++a
        )
          n = n.replace(e[a][0], e[a][1]);
        return n;
      };
    })(),
    Po = /(^\s|\s$|\n)/;
  function lt(e, t) {
    return (
      "<" +
      e +
      (t.match(Po) ? ' xml:space="preserve"' : "") +
      ">" +
      t +
      "</" +
      e +
      ">"
    );
  }
  function ea(e) {
    return ct(e)
      .map(function (t) {
        return " " + t + '="' + e[t] + '"';
      })
      .join("");
  }
  function J(e, t, r) {
    return (
      "<" +
      e +
      (r != null ? ea(r) : "") +
      (t != null
        ? (t.match(Po) ? ' xml:space="preserve"' : "") + ">" + t + "</" + e
        : "/") +
      ">"
    );
  }
  function r0(e, t) {
    try {
      return e.toISOString().replace(/\.\d*/, "");
    } catch (r) {
      if (t) throw r;
    }
    return "";
  }
  function Qx(e, t) {
    switch (typeof e) {
      case "string":
        var r = J("vt:lpwstr", Oe(e));
        return t && (r = r.replace(/&quot;/g, "_x0022_")), r;
      case "number":
        return J((e | 0) == e ? "vt:i4" : "vt:r8", Oe(String(e)));
      case "boolean":
        return J("vt:bool", e ? "true" : "false");
    }
    if (e instanceof Date) return J("vt:filetime", r0(e));
    throw new Error("Unable to serialize " + e);
  }
  var tt = {
      CORE_PROPS:
        "http://schemas.openxmlformats.org/package/2006/metadata/core-properties",
      CUST_PROPS:
        "http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",
      EXT_PROPS:
        "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
      CT: "http://schemas.openxmlformats.org/package/2006/content-types",
      RELS: "http://schemas.openxmlformats.org/package/2006/relationships",
      TCMNT:
        "http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",
      dc: "http://purl.org/dc/elements/1.1/",
      dcterms: "http://purl.org/dc/terms/",
      dcmitype: "http://purl.org/dc/dcmitype/",
      mx: "http://schemas.microsoft.com/office/mac/excel/2008/main",
      r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
      sjs: "http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",
      vt: "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",
      xsi: "http://www.w3.org/2001/XMLSchema-instance",
      xsd: "http://www.w3.org/2001/XMLSchema",
    },
    yn = [
      "http://schemas.openxmlformats.org/spreadsheetml/2006/main",
      "http://purl.oclc.org/ooxml/spreadsheetml/main",
      "http://schemas.microsoft.com/office/excel/2006/main",
      "http://schemas.microsoft.com/office/excel/2006/2",
    ],
    Dt = {
      o: "urn:schemas-microsoft-com:office:office",
      x: "urn:schemas-microsoft-com:office:excel",
      ss: "urn:schemas-microsoft-com:office:spreadsheet",
      dt: "uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",
      mv: "http://macVmlSchemaUri",
      v: "urn:schemas-microsoft-com:vml",
      html: "http://www.w3.org/TR/REC-html40",
    };
  function em(e, t) {
    for (
      var r = 1 - 2 * (e[t + 7] >>> 7),
        n = ((e[t + 7] & 127) << 4) + ((e[t + 6] >>> 4) & 15),
        a = e[t + 6] & 15,
        i = 5;
      i >= 0;
      --i
    )
      a = a * 256 + e[t + i];
    return n == 2047
      ? a == 0
        ? r * (1 / 0)
        : NaN
      : (n == 0 ? (n = -1022) : ((n -= 1023), (a += Math.pow(2, 52))),
        r * Math.pow(2, n - 52) * a);
  }
  function tm(e, t, r) {
    var n = (t < 0 || 1 / t == -1 / 0 ? 1 : 0) << 7,
      a = 0,
      i = 0,
      s = n ? -t : t;
    isFinite(s)
      ? s == 0
        ? (a = i = 0)
        : ((a = Math.floor(Math.log(s) / Math.LN2)),
          (i = s * Math.pow(2, 52 - a)),
          a <= -1023 && (!isFinite(i) || i < Math.pow(2, 52))
            ? (a = -1022)
            : ((i -= Math.pow(2, 52)), (a += 1023)))
      : ((a = 2047), (i = isNaN(t) ? 26985 : 0));
    for (var f = 0; f <= 5; ++f, i /= 256) e[r + f] = i & 255;
    (e[r + 6] = ((a & 15) << 4) | (i & 15)), (e[r + 7] = (a >> 4) | n);
  }
  var Ys = function (e) {
      for (var t = [], r = 10240, n = 0; n < e[0].length; ++n)
        if (e[0][n])
          for (var a = 0, i = e[0][n].length; a < i; a += r)
            t.push.apply(t, e[0][n].slice(a, a + r));
      return t;
    },
    Gs = Se
      ? function (e) {
          return e[0].length > 0 && Buffer.isBuffer(e[0][0])
            ? Buffer.concat(
                e[0].map(function (t) {
                  return Buffer.isBuffer(t) ? t : Ar(t);
                })
              )
            : Ys(e);
        }
      : Ys,
    Vs = function (e, t, r) {
      for (var n = [], a = t; a < r; a += 2)
        n.push(String.fromCharCode(bn(e, a)));
      return n.join("").replace(Hn, "");
    },
    b0 = Se
      ? function (e, t, r) {
          return Buffer.isBuffer(e)
            ? e.toString("utf16le", t, r).replace(Hn, "")
            : Vs(e, t, r);
        }
      : Vs,
    $s = function (e, t, r) {
      for (var n = [], a = t; a < t + r; ++a)
        n.push(("0" + e[a].toString(16)).slice(-2));
      return n.join("");
    },
    Bo = Se
      ? function (e, t, r) {
          return Buffer.isBuffer(e) ? e.toString("hex", t, t + r) : $s(e, t, r);
        }
      : $s,
    js = function (e, t, r) {
      for (var n = [], a = t; a < r; a++) n.push(String.fromCharCode(cn(e, a)));
      return n.join("");
    },
    la = Se
      ? function (t, r, n) {
          return Buffer.isBuffer(t) ? t.toString("utf8", r, n) : js(t, r, n);
        }
      : js,
    bo = function (e, t) {
      var r = Nt(e, t);
      return r > 0 ? la(e, t + 4, t + 4 + r - 1) : "";
    },
    Uo = bo,
    Wo = function (e, t) {
      var r = Nt(e, t);
      return r > 0 ? la(e, t + 4, t + 4 + r - 1) : "";
    },
    Ho = Wo,
    Yo = function (e, t) {
      var r = 2 * Nt(e, t);
      return r > 0 ? la(e, t + 4, t + 4 + r - 1) : "";
    },
    Go = Yo,
    Vo = function (t, r) {
      var n = Nt(t, r);
      return n > 0 ? b0(t, r + 4, r + 4 + n) : "";
    },
    $o = Vo,
    jo = function (e, t) {
      var r = Nt(e, t);
      return r > 0 ? la(e, t + 4, t + 4 + r) : "";
    },
    Xo = jo,
    Ko = function (e, t) {
      return em(e, t);
    },
    Ga = Ko,
    U0 = function (t) {
      return (
        Array.isArray(t) ||
        (typeof Uint8Array != "undefined" && t instanceof Uint8Array)
      );
    };
  Se &&
    ((Uo = function (t, r) {
      if (!Buffer.isBuffer(t)) return bo(t, r);
      var n = t.readUInt32LE(r);
      return n > 0 ? t.toString("utf8", r + 4, r + 4 + n - 1) : "";
    }),
    (Ho = function (t, r) {
      if (!Buffer.isBuffer(t)) return Wo(t, r);
      var n = t.readUInt32LE(r);
      return n > 0 ? t.toString("utf8", r + 4, r + 4 + n - 1) : "";
    }),
    (Go = function (t, r) {
      if (!Buffer.isBuffer(t)) return Yo(t, r);
      var n = 2 * t.readUInt32LE(r);
      return t.toString("utf16le", r + 4, r + 4 + n - 1);
    }),
    ($o = function (t, r) {
      if (!Buffer.isBuffer(t)) return Vo(t, r);
      var n = t.readUInt32LE(r);
      return t.toString("utf16le", r + 4, r + 4 + n);
    }),
    (Xo = function (t, r) {
      if (!Buffer.isBuffer(t)) return jo(t, r);
      var n = t.readUInt32LE(r);
      return t.toString("utf8", r + 4, r + 4 + n);
    }),
    (Ga = function (t, r) {
      return Buffer.isBuffer(t) ? t.readDoubleLE(r) : Ko(t, r);
    }),
    (U0 = function (t) {
      return (
        Buffer.isBuffer(t) ||
        Array.isArray(t) ||
        (typeof Uint8Array != "undefined" && t instanceof Uint8Array)
      );
    }));
  var cn = function (e, t) {
      return e[t];
    },
    bn = function (e, t) {
      return e[t + 1] * (1 << 8) + e[t];
    },
    rm = function (e, t) {
      var r = e[t + 1] * 256 + e[t];
      return r < 32768 ? r : (65535 - r + 1) * -1;
    },
    Nt = function (e, t) {
      return e[t + 3] * (1 << 24) + (e[t + 2] << 16) + (e[t + 1] << 8) + e[t];
    },
    Hr = function (e, t) {
      return (e[t + 3] << 24) | (e[t + 2] << 16) | (e[t + 1] << 8) | e[t];
    },
    nm = function (e, t) {
      return (e[t] << 24) | (e[t + 1] << 16) | (e[t + 2] << 8) | e[t + 3];
    };
  function Gn(e, t) {
    var r = "",
      n,
      a,
      i = [],
      s,
      f,
      o,
      l;
    switch (t) {
      case "dbcs":
        if (((l = this.l), Se && Buffer.isBuffer(this)))
          r = this.slice(this.l, this.l + 2 * e).toString("utf16le");
        else
          for (o = 0; o < e; ++o)
            (r += String.fromCharCode(bn(this, l))), (l += 2);
        e *= 2;
        break;
      case "utf8":
        r = la(this, this.l, this.l + e);
        break;
      case "utf16le":
        (e *= 2), (r = b0(this, this.l, this.l + e));
        break;
      case "wstr":
        return Gn.call(this, e, "dbcs");
      case "lpstr-ansi":
        (r = Uo(this, this.l)), (e = 4 + Nt(this, this.l));
        break;
      case "lpstr-cp":
        (r = Ho(this, this.l)), (e = 4 + Nt(this, this.l));
        break;
      case "lpwstr":
        (r = Go(this, this.l)), (e = 4 + 2 * Nt(this, this.l));
        break;
      case "lpp4":
        (e = 4 + Nt(this, this.l)), (r = $o(this, this.l)), e & 2 && (e += 2);
        break;
      case "8lpp4":
        (e = 4 + Nt(this, this.l)),
          (r = Xo(this, this.l)),
          e & 3 && (e += 4 - (e & 3));
        break;
      case "cstr":
        for (e = 0, r = ""; (s = cn(this, this.l + e++)) !== 0; ) i.push(ga(s));
        r = i.join("");
        break;
      case "_wstr":
        for (e = 0, r = ""; (s = bn(this, this.l + e)) !== 0; )
          i.push(ga(s)), (e += 2);
        (e += 2), (r = i.join(""));
        break;
      case "dbcs-cont":
        for (r = "", l = this.l, o = 0; o < e; ++o) {
          if (this.lens && this.lens.indexOf(l) !== -1)
            return (
              (s = cn(this, l)),
              (this.l = l + 1),
              (f = Gn.call(this, e - o, s ? "dbcs-cont" : "sbcs-cont")),
              i.join("") + f
            );
          i.push(ga(bn(this, l))), (l += 2);
        }
        (r = i.join("")), (e *= 2);
        break;
      case "cpstr":
      case "sbcs-cont":
        for (r = "", l = this.l, o = 0; o != e; ++o) {
          if (this.lens && this.lens.indexOf(l) !== -1)
            return (
              (s = cn(this, l)),
              (this.l = l + 1),
              (f = Gn.call(this, e - o, s ? "dbcs-cont" : "sbcs-cont")),
              i.join("") + f
            );
          i.push(ga(cn(this, l))), (l += 1);
        }
        r = i.join("");
        break;
      default:
        switch (e) {
          case 1:
            return (n = cn(this, this.l)), this.l++, n;
          case 2:
            return (n = (t === "i" ? rm : bn)(this, this.l)), (this.l += 2), n;
          case 4:
          case -4:
            return t === "i" || (this[this.l + 3] & 128) === 0
              ? ((n = (e > 0 ? Hr : nm)(this, this.l)), (this.l += 4), n)
              : ((a = Nt(this, this.l)), (this.l += 4), a);
          case 8:
          case -8:
            if (t === "f")
              return (
                e == 8
                  ? (a = Ga(this, this.l))
                  : (a = Ga(
                      [
                        this[this.l + 7],
                        this[this.l + 6],
                        this[this.l + 5],
                        this[this.l + 4],
                        this[this.l + 3],
                        this[this.l + 2],
                        this[this.l + 1],
                        this[this.l + 0],
                      ],
                      0
                    )),
                (this.l += 8),
                a
              );
            e = 8;
          case 16:
            r = Bo(this, this.l, e);
            break;
        }
    }
    return (this.l += e), r;
  }
  var am = function (e, t, r) {
      (e[r] = t & 255),
        (e[r + 1] = (t >>> 8) & 255),
        (e[r + 2] = (t >>> 16) & 255),
        (e[r + 3] = (t >>> 24) & 255);
    },
    im = function (e, t, r) {
      (e[r] = t & 255),
        (e[r + 1] = (t >> 8) & 255),
        (e[r + 2] = (t >> 16) & 255),
        (e[r + 3] = (t >> 24) & 255);
    },
    sm = function (e, t, r) {
      (e[r] = t & 255), (e[r + 1] = (t >>> 8) & 255);
    };
  function fm(e, t, r) {
    var n = 0,
      a = 0;
    if (r === "dbcs") {
      for (a = 0; a != t.length; ++a) sm(this, t.charCodeAt(a), this.l + 2 * a);
      n = 2 * t.length;
    } else if (r === "sbcs") {
      for (t = t.replace(/[^\x00-\x7F]/g, "_"), a = 0; a != t.length; ++a)
        this[this.l + a] = t.charCodeAt(a) & 255;
      n = t.length;
    } else if (r === "hex") {
      for (; a < e; ++a)
        this[this.l++] = parseInt(t.slice(2 * a, 2 * a + 2), 16) || 0;
      return this;
    } else if (r === "utf16le") {
      var i = Math.min(this.l + e, this.length);
      for (a = 0; a < Math.min(t.length, e); ++a) {
        var s = t.charCodeAt(a);
        (this[this.l++] = s & 255), (this[this.l++] = s >> 8);
      }
      for (; this.l < i; ) this[this.l++] = 0;
      return this;
    } else
      switch (e) {
        case 1:
          (n = 1), (this[this.l] = t & 255);
          break;
        case 2:
          (n = 2),
            (this[this.l] = t & 255),
            (t >>>= 8),
            (this[this.l + 1] = t & 255);
          break;
        case 3:
          (n = 3),
            (this[this.l] = t & 255),
            (t >>>= 8),
            (this[this.l + 1] = t & 255),
            (t >>>= 8),
            (this[this.l + 2] = t & 255);
          break;
        case 4:
          (n = 4), am(this, t, this.l);
          break;
        case 8:
          if (((n = 8), r === "f")) {
            tm(this, t, this.l);
            break;
          }
        case 16:
          break;
        case -4:
          (n = 4), im(this, t, this.l);
          break;
      }
    return (this.l += n), this;
  }
  function zo(e, t) {
    var r = Bo(this, this.l, e.length >> 1);
    if (r !== e) throw new Error(t + "Expected " + e + " saw " + r);
    this.l += e.length >> 1;
  }
  function Ct(e, t) {
    (e.l = t), (e.read_shift = Gn), (e.chk = zo), (e.write_shift = fm);
  }
  function ar(e, t) {
    e.l += t;
  }
  function B(e) {
    var t = Xr(e);
    return Ct(t, 0), t;
  }
  function Ft() {
    var e = [],
      t = Se ? 256 : 2048,
      r = function (l) {
        var u = B(l);
        return Ct(u, 0), u;
      },
      n = r(t),
      a = function () {
        !n ||
          (n.length > n.l && ((n = n.slice(0, n.l)), (n.l = n.length)),
          n.length > 0 && e.push(n),
          (n = null));
      },
      i = function (l) {
        return n && l < n.length - n.l ? n : (a(), (n = r(Math.max(l + 1, t))));
      },
      s = function () {
        return a(), ot(e);
      },
      f = function (l) {
        a(), (n = l), n.l == null && (n.l = n.length), i(t);
      };
    return { next: i, push: f, end: s, _bufs: e };
  }
  function W(e, t, r, n) {
    var a = +t,
      i;
    if (!isNaN(a)) {
      n || (n = eE[a].p || (r || []).length || 0),
        (i = 1 + (a >= 128 ? 1 : 0) + 1),
        n >= 128 && ++i,
        n >= 16384 && ++i,
        n >= 2097152 && ++i;
      var s = e.next(i);
      a <= 127
        ? s.write_shift(1, a)
        : (s.write_shift(1, (a & 127) + 128), s.write_shift(1, a >> 7));
      for (var f = 0; f != 4; ++f)
        if (n >= 128) s.write_shift(1, (n & 127) + 128), (n >>= 7);
        else {
          s.write_shift(1, n);
          break;
        }
      n > 0 && U0(r) && e.push(r);
    }
  }
  function Vn(e, t, r) {
    var n = Ot(e);
    if (
      (t.s
        ? (n.cRel && (n.c += t.s.c), n.rRel && (n.r += t.s.r))
        : (n.cRel && (n.c += t.c), n.rRel && (n.r += t.r)),
      !r || r.biff < 12)
    ) {
      for (; n.c >= 256; ) n.c -= 256;
      for (; n.r >= 65536; ) n.r -= 65536;
    }
    return n;
  }
  function Xs(e, t, r) {
    var n = Ot(e);
    return (n.s = Vn(n.s, t.s, r)), (n.e = Vn(n.e, t.s, r)), n;
  }
  function $n(e, t) {
    if (e.cRel && e.c < 0)
      for (e = Ot(e); e.c < 0; ) e.c += t > 8 ? 16384 : 256;
    if (e.rRel && e.r < 0)
      for (e = Ot(e); e.r < 0; ) e.r += t > 8 ? 1048576 : t > 5 ? 65536 : 16384;
    var r = Re(e);
    return (
      !e.cRel && e.cRel != null && (r = um(r)),
      !e.rRel && e.rRel != null && (r = om(r)),
      r
    );
  }
  function bi(e, t) {
    return e.s.r == 0 &&
      !e.s.rRel &&
      e.e.r == (t.biff >= 12 ? 1048575 : t.biff >= 8 ? 65536 : 16384) &&
      !e.e.rRel
      ? (e.s.cRel ? "" : "$") +
          mt(e.s.c) +
          ":" +
          (e.e.cRel ? "" : "$") +
          mt(e.e.c)
      : e.s.c == 0 &&
        !e.s.cRel &&
        e.e.c == (t.biff >= 12 ? 16383 : 255) &&
        !e.e.cRel
      ? (e.s.rRel ? "" : "$") +
        ut(e.s.r) +
        ":" +
        (e.e.rRel ? "" : "$") +
        ut(e.e.r)
      : $n(e.s, t.biff) + ":" + $n(e.e, t.biff);
  }
  function W0(e) {
    return parseInt(lm(e), 10) - 1;
  }
  function ut(e) {
    return "" + (e + 1);
  }
  function om(e) {
    return e.replace(/([A-Z]|^)(\d+)$/, "$1$$$2");
  }
  function lm(e) {
    return e.replace(/\$(\d+)$/, "$1");
  }
  function H0(e) {
    for (var t = cm(e), r = 0, n = 0; n !== t.length; ++n)
      r = 26 * r + t.charCodeAt(n) - 64;
    return r - 1;
  }
  function mt(e) {
    if (e < 0) throw new Error("invalid column " + e);
    var t = "";
    for (++e; e; e = Math.floor((e - 1) / 26))
      t = String.fromCharCode(((e - 1) % 26) + 65) + t;
    return t;
  }
  function um(e) {
    return e.replace(/^([A-Z])/, "$$$1");
  }
  function cm(e) {
    return e.replace(/^\$([A-Z])/, "$1");
  }
  function hm(e) {
    return e.replace(/(\$?[A-Z]*)(\$?\d*)/, "$1,$2").split(",");
  }
  function rt(e) {
    for (var t = 0, r = 0, n = 0; n < e.length; ++n) {
      var a = e.charCodeAt(n);
      a >= 48 && a <= 57
        ? (t = 10 * t + (a - 48))
        : a >= 65 && a <= 90 && (r = 26 * r + (a - 64));
    }
    return { c: r - 1, r: t - 1 };
  }
  function Re(e) {
    for (var t = e.c + 1, r = ""; t; t = ((t - 1) / 26) | 0)
      r = String.fromCharCode(((t - 1) % 26) + 65) + r;
    return r + (e.r + 1);
  }
  function kt(e) {
    var t = e.indexOf(":");
    return t == -1
      ? { s: rt(e), e: rt(e) }
      : { s: rt(e.slice(0, t)), e: rt(e.slice(t + 1)) };
  }
  function Xe(e, t) {
    return typeof t == "undefined" || typeof t == "number"
      ? Xe(e.s, e.e)
      : (typeof e != "string" && (e = Re(e)),
        typeof t != "string" && (t = Re(t)),
        e == t ? e : e + ":" + t);
  }
  function Pe(e) {
    var t = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } },
      r = 0,
      n = 0,
      a = 0,
      i = e.length;
    for (r = 0; n < i && !((a = e.charCodeAt(n) - 64) < 1 || a > 26); ++n)
      r = 26 * r + a;
    for (
      t.s.c = --r, r = 0;
      n < i && !((a = e.charCodeAt(n) - 48) < 0 || a > 9);
      ++n
    )
      r = 10 * r + a;
    if (((t.s.r = --r), n === i || a != 10))
      return (t.e.c = t.s.c), (t.e.r = t.s.r), t;
    for (++n, r = 0; n != i && !((a = e.charCodeAt(n) - 64) < 1 || a > 26); ++n)
      r = 26 * r + a;
    for (
      t.e.c = --r, r = 0;
      n != i && !((a = e.charCodeAt(n) - 48) < 0 || a > 9);
      ++n
    )
      r = 10 * r + a;
    return (t.e.r = --r), t;
  }
  function Ks(e, t) {
    var r = e.t == "d" && t instanceof Date;
    if (e.z != null)
      try {
        return (e.w = Ir(e.z, r ? Lt(t) : t));
      } catch {}
    try {
      return (e.w = Ir((e.XF || {}).numFmtId || (r ? 14 : 0), r ? Lt(t) : t));
    } catch {
      return "" + t;
    }
  }
  function Er(e, t, r) {
    return e == null || e.t == null || e.t == "z"
      ? ""
      : e.w !== void 0
      ? e.w
      : (e.t == "d" && !e.z && r && r.dateNF && (e.z = r.dateNF),
        e.t == "e" ? ua[e.v] || e.v : t == null ? Ks(e, e.v) : Ks(e, t));
  }
  function qr(e, t) {
    var r = t && t.sheet ? t.sheet : "Sheet1",
      n = {};
    return (n[r] = e), { SheetNames: [r], Sheets: n };
  }
  function Jo(e, t, r) {
    var n = r || {},
      a = e ? Array.isArray(e) : n.dense,
      i = e || (a ? [] : {}),
      s = 0,
      f = 0;
    if (i && n.origin != null) {
      if (typeof n.origin == "number") s = n.origin;
      else {
        var o = typeof n.origin == "string" ? rt(n.origin) : n.origin;
        (s = o.r), (f = o.c);
      }
      i["!ref"] || (i["!ref"] = "A1:A1");
    }
    var l = { s: { c: 1e7, r: 1e7 }, e: { c: 0, r: 0 } };
    if (i["!ref"]) {
      var u = Pe(i["!ref"]);
      (l.s.c = u.s.c),
        (l.s.r = u.s.r),
        (l.e.c = Math.max(l.e.c, u.e.c)),
        (l.e.r = Math.max(l.e.r, u.e.r)),
        s == -1 && (l.e.r = s = u.e.r + 1);
    }
    for (var x = 0; x != t.length; ++x)
      if (!!t[x]) {
        if (!Array.isArray(t[x]))
          throw new Error("aoa_to_sheet expects an array of arrays");
        for (var d = 0; d != t[x].length; ++d)
          if (typeof t[x][d] != "undefined") {
            var _ = { v: t[x][d] },
              v = s + x,
              c = f + d;
            if (
              (l.s.r > v && (l.s.r = v),
              l.s.c > c && (l.s.c = c),
              l.e.r < v && (l.e.r = v),
              l.e.c < c && (l.e.c = c),
              t[x][d] &&
                typeof t[x][d] == "object" &&
                !Array.isArray(t[x][d]) &&
                !(t[x][d] instanceof Date))
            )
              _ = t[x][d];
            else if (
              (Array.isArray(_.v) && ((_.f = t[x][d][1]), (_.v = _.v[0])),
              _.v === null)
            )
              if (_.f) _.t = "n";
              else if (n.nullError) (_.t = "e"), (_.v = 0);
              else if (n.sheetStubs) _.t = "z";
              else continue;
            else
              typeof _.v == "number"
                ? (_.t = "n")
                : typeof _.v == "boolean"
                ? (_.t = "b")
                : _.v instanceof Date
                ? ((_.z = n.dateNF || Ve[14]),
                  n.cellDates
                    ? ((_.t = "d"), (_.w = Ir(_.z, Lt(_.v))))
                    : ((_.t = "n"), (_.v = Lt(_.v)), (_.w = Ir(_.z, _.v))))
                : (_.t = "s");
            if (a)
              i[v] || (i[v] = []),
                i[v][c] && i[v][c].z && (_.z = i[v][c].z),
                (i[v][c] = _);
            else {
              var g = Re({ c, r: v });
              i[g] && i[g].z && (_.z = i[g].z), (i[g] = _);
            }
          }
      }
    return l.s.c < 1e7 && (i["!ref"] = Xe(l)), i;
  }
  function Fn(e, t) {
    return Jo(null, e, t);
  }
  function dm(e) {
    return e.read_shift(4, "i");
  }
  function Kt(e, t) {
    return t || (t = B(4)), t.write_shift(4, e), t;
  }
  function pt(e) {
    var t = e.read_shift(4);
    return t === 0 ? "" : e.read_shift(t, "dbcs");
  }
  function nt(e, t) {
    var r = !1;
    return (
      t == null && ((r = !0), (t = B(4 + 2 * e.length))),
      t.write_shift(4, e.length),
      e.length > 0 && t.write_shift(0, e, "dbcs"),
      r ? t.slice(0, t.l) : t
    );
  }
  function _m(e) {
    return { ich: e.read_shift(2), ifnt: e.read_shift(2) };
  }
  function xm(e, t) {
    return (
      t || (t = B(4)),
      t.write_shift(2, e.ich || 0),
      t.write_shift(2, e.ifnt || 0),
      t
    );
  }
  function Y0(e, t) {
    var r = e.l,
      n = e.read_shift(1),
      a = pt(e),
      i = [],
      s = { t: a, h: a };
    if ((n & 1) !== 0) {
      for (var f = e.read_shift(4), o = 0; o != f; ++o) i.push(_m(e));
      s.r = i;
    } else s.r = [{ ich: 0, ifnt: 0 }];
    return (e.l = r + t), s;
  }
  function mm(e, t) {
    var r = !1;
    return (
      t == null && ((r = !0), (t = B(15 + 4 * e.t.length))),
      t.write_shift(1, 0),
      nt(e.t, t),
      r ? t.slice(0, t.l) : t
    );
  }
  var pm = Y0;
  function vm(e, t) {
    var r = !1;
    return (
      t == null && ((r = !0), (t = B(23 + 4 * e.t.length))),
      t.write_shift(1, 1),
      nt(e.t, t),
      t.write_shift(4, 1),
      xm({ ich: 0, ifnt: 0 }, t),
      r ? t.slice(0, t.l) : t
    );
  }
  function Yt(e) {
    var t = e.read_shift(4),
      r = e.read_shift(2);
    return (r += e.read_shift(1) << 16), e.l++, { c: t, iStyleRef: r };
  }
  function Qr(e, t) {
    return (
      t == null && (t = B(8)),
      t.write_shift(-4, e.c),
      t.write_shift(3, e.iStyleRef || e.s),
      t.write_shift(1, 0),
      t
    );
  }
  function en(e) {
    var t = e.read_shift(2);
    return (t += e.read_shift(1) << 16), e.l++, { c: -1, iStyleRef: t };
  }
  function tn(e, t) {
    return (
      t == null && (t = B(4)),
      t.write_shift(3, e.iStyleRef || e.s),
      t.write_shift(1, 0),
      t
    );
  }
  var gm = pt,
    Zo = nt;
  function G0(e) {
    var t = e.read_shift(4);
    return t === 0 || t === 4294967295 ? "" : e.read_shift(t, "dbcs");
  }
  function Va(e, t) {
    var r = !1;
    return (
      t == null && ((r = !0), (t = B(127))),
      t.write_shift(4, e.length > 0 ? e.length : 4294967295),
      e.length > 0 && t.write_shift(0, e, "dbcs"),
      r ? t.slice(0, t.l) : t
    );
  }
  var Tm = pt,
    n0 = G0,
    V0 = Va;
  function qo(e) {
    var t = e.slice(e.l, e.l + 4),
      r = t[0] & 1,
      n = t[0] & 2;
    e.l += 4;
    var a =
      n === 0
        ? Ga([0, 0, 0, 0, t[0] & 252, t[1], t[2], t[3]], 0)
        : Hr(t, 0) >> 2;
    return r ? a / 100 : a;
  }
  function Qo(e, t) {
    t == null && (t = B(4));
    var r = 0,
      n = 0,
      a = e * 100;
    if (
      (e == (e | 0) && e >= -(1 << 29) && e < 1 << 29
        ? (n = 1)
        : a == (a | 0) && a >= -(1 << 29) && a < 1 << 29 && ((n = 1), (r = 1)),
      n)
    )
      t.write_shift(-4, ((r ? a : e) << 2) + (r + 2));
    else throw new Error("unsupported RkNumber " + e);
  }
  function el(e) {
    var t = { s: {}, e: {} };
    return (
      (t.s.r = e.read_shift(4)),
      (t.e.r = e.read_shift(4)),
      (t.s.c = e.read_shift(4)),
      (t.e.c = e.read_shift(4)),
      t
    );
  }
  function Em(e, t) {
    return (
      t || (t = B(16)),
      t.write_shift(4, e.s.r),
      t.write_shift(4, e.e.r),
      t.write_shift(4, e.s.c),
      t.write_shift(4, e.e.c),
      t
    );
  }
  var rn = el,
    Ln = Em;
  function On(e) {
    if (e.length - e.l < 8) throw "XLS Xnum Buffer underflow";
    return e.read_shift(8, "f");
  }
  function Kr(e, t) {
    return (t || B(8)).write_shift(8, e, "f");
  }
  function wm(e) {
    var t = {},
      r = e.read_shift(1),
      n = r >>> 1,
      a = e.read_shift(1),
      i = e.read_shift(2, "i"),
      s = e.read_shift(1),
      f = e.read_shift(1),
      o = e.read_shift(1);
    switch ((e.l++, n)) {
      case 0:
        t.auto = 1;
        break;
      case 1:
        t.index = a;
        var l = Im[a];
        l && (t.rgb = sf(l));
        break;
      case 2:
        t.rgb = sf([s, f, o]);
        break;
      case 3:
        t.theme = a;
        break;
    }
    return i != 0 && (t.tint = i > 0 ? i / 32767 : i / 32768), t;
  }
  function $a(e, t) {
    if ((t || (t = B(8)), !e || e.auto))
      return t.write_shift(4, 0), t.write_shift(4, 0), t;
    e.index != null
      ? (t.write_shift(1, 2), t.write_shift(1, e.index))
      : e.theme != null
      ? (t.write_shift(1, 6), t.write_shift(1, e.theme))
      : (t.write_shift(1, 5), t.write_shift(1, 0));
    var r = e.tint || 0;
    if (
      (r > 0 ? (r *= 32767) : r < 0 && (r *= 32768),
      t.write_shift(2, r),
      !e.rgb || e.theme != null)
    )
      t.write_shift(2, 0), t.write_shift(1, 0), t.write_shift(1, 0);
    else {
      var n = e.rgb || "FFFFFF";
      typeof n == "number" && (n = ("000000" + n.toString(16)).slice(-6)),
        t.write_shift(1, parseInt(n.slice(0, 2), 16)),
        t.write_shift(1, parseInt(n.slice(2, 4), 16)),
        t.write_shift(1, parseInt(n.slice(4, 6), 16)),
        t.write_shift(1, 255);
    }
    return t;
  }
  function Sm(e) {
    var t = e.read_shift(1);
    e.l++;
    var r = {
      fBold: t & 1,
      fItalic: t & 2,
      fUnderline: t & 4,
      fStrikeout: t & 8,
      fOutline: t & 16,
      fShadow: t & 32,
      fCondense: t & 64,
      fExtend: t & 128,
    };
    return r;
  }
  function Am(e, t) {
    t || (t = B(2));
    var r =
      (e.italic ? 2 : 0) |
      (e.strike ? 8 : 0) |
      (e.outline ? 16 : 0) |
      (e.shadow ? 32 : 0) |
      (e.condense ? 64 : 0) |
      (e.extend ? 128 : 0);
    return t.write_shift(1, r), t.write_shift(1, 0), t;
  }
  var tl = 2,
    Rt = 3,
    Sa = 11,
    ja = 19,
    Aa = 64,
    ym = 65,
    Fm = 71,
    Lm = 4108,
    Om = 4126,
    st = 80,
    zs = {
      1: { n: "CodePage", t: tl },
      2: { n: "Category", t: st },
      3: { n: "PresentationFormat", t: st },
      4: { n: "ByteCount", t: Rt },
      5: { n: "LineCount", t: Rt },
      6: { n: "ParagraphCount", t: Rt },
      7: { n: "SlideCount", t: Rt },
      8: { n: "NoteCount", t: Rt },
      9: { n: "HiddenCount", t: Rt },
      10: { n: "MultimediaClipCount", t: Rt },
      11: { n: "ScaleCrop", t: Sa },
      12: { n: "HeadingPairs", t: Lm },
      13: { n: "TitlesOfParts", t: Om },
      14: { n: "Manager", t: st },
      15: { n: "Company", t: st },
      16: { n: "LinksUpToDate", t: Sa },
      17: { n: "CharacterCount", t: Rt },
      19: { n: "SharedDoc", t: Sa },
      22: { n: "HyperlinksChanged", t: Sa },
      23: { n: "AppVersion", t: Rt, p: "version" },
      24: { n: "DigSig", t: ym },
      26: { n: "ContentType", t: st },
      27: { n: "ContentStatus", t: st },
      28: { n: "Language", t: st },
      29: { n: "Version", t: st },
      255: {},
      2147483648: { n: "Locale", t: ja },
      2147483651: { n: "Behavior", t: ja },
      1919054434: {},
    },
    Js = {
      1: { n: "CodePage", t: tl },
      2: { n: "Title", t: st },
      3: { n: "Subject", t: st },
      4: { n: "Author", t: st },
      5: { n: "Keywords", t: st },
      6: { n: "Comments", t: st },
      7: { n: "Template", t: st },
      8: { n: "LastAuthor", t: st },
      9: { n: "RevNumber", t: st },
      10: { n: "EditTime", t: Aa },
      11: { n: "LastPrinted", t: Aa },
      12: { n: "CreatedDate", t: Aa },
      13: { n: "ModifiedDate", t: Aa },
      14: { n: "PageCount", t: Rt },
      15: { n: "WordCount", t: Rt },
      16: { n: "CharCount", t: Rt },
      17: { n: "Thumbnail", t: Fm },
      18: { n: "Application", t: st },
      19: { n: "DocSecurity", t: Rt },
      255: {},
      2147483648: { n: "Locale", t: ja },
      2147483651: { n: "Behavior", t: ja },
      1919054434: {},
    };
  function Rm(e) {
    return e.map(function (t) {
      return [(t >> 16) & 255, (t >> 8) & 255, t & 255];
    });
  }
  var Cm = Rm([
      0, 16777215, 16711680, 65280, 255, 16776960, 16711935, 65535, 0, 16777215,
      16711680, 65280, 255, 16776960, 16711935, 65535, 8388608, 32768, 128,
      8421376, 8388736, 32896, 12632256, 8421504, 10066431, 10040166, 16777164,
      13434879, 6684774, 16744576, 26316, 13421823, 128, 16711935, 16776960,
      65535, 8388736, 8388608, 32896, 255, 52479, 13434879, 13434828, 16777113,
      10079487, 16751052, 13408767, 16764057, 3368703, 3394764, 10079232,
      16763904, 16750848, 16737792, 6710937, 9868950, 13158, 3381606, 13056,
      3355392, 10040064, 10040166, 3355545, 3355443, 16777215, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    ]),
    Im = Ot(Cm),
    ua = {
      0: "#NULL!",
      7: "#DIV/0!",
      15: "#VALUE!",
      23: "#REF!",
      29: "#NAME?",
      36: "#NUM!",
      42: "#N/A",
      43: "#GETTING_DATA",
      255: "#WTF?",
    },
    Dm = {
      "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":
        "workbooks",
      "application/vnd.ms-excel.sheet.macroEnabled.main+xml": "workbooks",
      "application/vnd.ms-excel.sheet.binary.macroEnabled.main": "workbooks",
      "application/vnd.ms-excel.addin.macroEnabled.main+xml": "workbooks",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":
        "workbooks",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":
        "sheets",
      "application/vnd.ms-excel.worksheet": "sheets",
      "application/vnd.ms-excel.binIndexWs": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":
        "charts",
      "application/vnd.ms-excel.chartsheet": "charts",
      "application/vnd.ms-excel.macrosheet+xml": "macros",
      "application/vnd.ms-excel.macrosheet": "macros",
      "application/vnd.ms-excel.intlmacrosheet": "TODO",
      "application/vnd.ms-excel.binIndexMs": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":
        "dialogs",
      "application/vnd.ms-excel.dialogsheet": "dialogs",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":
        "strs",
      "application/vnd.ms-excel.sharedStrings": "strs",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":
        "styles",
      "application/vnd.ms-excel.styles": "styles",
      "application/vnd.openxmlformats-package.core-properties+xml": "coreprops",
      "application/vnd.openxmlformats-officedocument.custom-properties+xml":
        "custprops",
      "application/vnd.openxmlformats-officedocument.extended-properties+xml":
        "extprops",
      "application/vnd.openxmlformats-officedocument.customXmlProperties+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":
        "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":
        "comments",
      "application/vnd.ms-excel.comments": "comments",
      "application/vnd.ms-excel.threadedcomments+xml": "threadedcomments",
      "application/vnd.ms-excel.person+xml": "people",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":
        "metadata",
      "application/vnd.ms-excel.sheetMetadata": "metadata",
      "application/vnd.ms-excel.pivotTable": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.drawingml.chart+xml":
        "TODO",
      "application/vnd.ms-office.chartcolorstyle+xml": "TODO",
      "application/vnd.ms-office.chartstyle+xml": "TODO",
      "application/vnd.ms-office.chartex+xml": "TODO",
      "application/vnd.ms-excel.calcChain": "calcchains",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":
        "calcchains",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":
        "TODO",
      "application/vnd.ms-office.activeX": "TODO",
      "application/vnd.ms-office.activeX+xml": "TODO",
      "application/vnd.ms-excel.attachedToolbars": "TODO",
      "application/vnd.ms-excel.connections": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":
        "TODO",
      "application/vnd.ms-excel.externalLink": "links",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":
        "links",
      "application/vnd.ms-excel.pivotCacheDefinition": "TODO",
      "application/vnd.ms-excel.pivotCacheRecords": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":
        "TODO",
      "application/vnd.ms-excel.queryTable": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":
        "TODO",
      "application/vnd.ms-excel.userNames": "TODO",
      "application/vnd.ms-excel.revisionHeaders": "TODO",
      "application/vnd.ms-excel.revisionLog": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":
        "TODO",
      "application/vnd.ms-excel.tableSingleCells": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":
        "TODO",
      "application/vnd.ms-excel.slicer": "TODO",
      "application/vnd.ms-excel.slicerCache": "TODO",
      "application/vnd.ms-excel.slicer+xml": "TODO",
      "application/vnd.ms-excel.slicerCache+xml": "TODO",
      "application/vnd.ms-excel.wsSortMap": "TODO",
      "application/vnd.ms-excel.table": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.theme+xml": "themes",
      "application/vnd.openxmlformats-officedocument.themeOverride+xml": "TODO",
      "application/vnd.ms-excel.Timeline+xml": "TODO",
      "application/vnd.ms-excel.TimelineCache+xml": "TODO",
      "application/vnd.ms-office.vbaProject": "vba",
      "application/vnd.ms-office.vbaProjectSignature": "TODO",
      "application/vnd.ms-office.volatileDependencies": "TODO",
      "application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":
        "TODO",
      "application/vnd.ms-excel.controlproperties+xml": "TODO",
      "application/vnd.openxmlformats-officedocument.model+data": "TODO",
      "application/vnd.ms-excel.Survey+xml": "TODO",
      "application/vnd.openxmlformats-officedocument.drawing+xml": "drawings",
      "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":
        "TODO",
      "application/vnd.openxmlformats-officedocument.vmlDrawing": "TODO",
      "application/vnd.openxmlformats-package.relationships+xml": "rels",
      "application/vnd.openxmlformats-officedocument.oleObject": "TODO",
      "image/png": "TODO",
      sheet: "js",
    },
    ya = {
      workbooks: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",
        xlsm: "application/vnd.ms-excel.sheet.macroEnabled.main+xml",
        xlsb: "application/vnd.ms-excel.sheet.binary.macroEnabled.main",
        xlam: "application/vnd.ms-excel.addin.macroEnabled.main+xml",
        xltx: "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml",
      },
      strs: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",
        xlsb: "application/vnd.ms-excel.sharedStrings",
      },
      comments: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",
        xlsb: "application/vnd.ms-excel.comments",
      },
      sheets: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",
        xlsb: "application/vnd.ms-excel.worksheet",
      },
      charts: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",
        xlsb: "application/vnd.ms-excel.chartsheet",
      },
      dialogs: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",
        xlsb: "application/vnd.ms-excel.dialogsheet",
      },
      macros: {
        xlsx: "application/vnd.ms-excel.macrosheet+xml",
        xlsb: "application/vnd.ms-excel.macrosheet",
      },
      metadata: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",
        xlsb: "application/vnd.ms-excel.sheetMetadata",
      },
      styles: {
        xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",
        xlsb: "application/vnd.ms-excel.styles",
      },
    };
  function rl() {
    return {
      workbooks: [],
      sheets: [],
      charts: [],
      dialogs: [],
      macros: [],
      rels: [],
      strs: [],
      comments: [],
      threadedcomments: [],
      links: [],
      coreprops: [],
      extprops: [],
      custprops: [],
      themes: [],
      styles: [],
      calcchains: [],
      vba: [],
      drawings: [],
      metadata: [],
      people: [],
      TODO: [],
      xmlns: "",
    };
  }
  function nl(e, t) {
    var r = Yx(Dm),
      n = [],
      a;
    (n[n.length] = Ke),
      (n[n.length] = J("Types", null, {
        xmlns: tt.CT,
        "xmlns:xsd": tt.xsd,
        "xmlns:xsi": tt.xsi,
      })),
      (n = n.concat(
        [
          ["xml", "application/xml"],
          ["bin", "application/vnd.ms-excel.sheet.binary.macroEnabled.main"],
          ["vml", "application/vnd.openxmlformats-officedocument.vmlDrawing"],
          ["data", "application/vnd.openxmlformats-officedocument.model+data"],
          ["bmp", "image/bmp"],
          ["png", "image/png"],
          ["gif", "image/gif"],
          ["emf", "image/x-emf"],
          ["wmf", "image/x-wmf"],
          ["jpg", "image/jpeg"],
          ["jpeg", "image/jpeg"],
          ["tif", "image/tiff"],
          ["tiff", "image/tiff"],
          ["pdf", "application/pdf"],
          ["rels", "application/vnd.openxmlformats-package.relationships+xml"],
        ].map(function (o) {
          return J("Default", null, { Extension: o[0], ContentType: o[1] });
        })
      ));
    var i = function (o) {
        e[o] &&
          e[o].length > 0 &&
          ((a = e[o][0]),
          (n[n.length] = J("Override", null, {
            PartName: (a[0] == "/" ? "" : "/") + a,
            ContentType: ya[o][t.bookType] || ya[o].xlsx,
          })));
      },
      s = function (o) {
        (e[o] || []).forEach(function (l) {
          n[n.length] = J("Override", null, {
            PartName: (l[0] == "/" ? "" : "/") + l,
            ContentType: ya[o][t.bookType] || ya[o].xlsx,
          });
        });
      },
      f = function (o) {
        (e[o] || []).forEach(function (l) {
          n[n.length] = J("Override", null, {
            PartName: (l[0] == "/" ? "" : "/") + l,
            ContentType: r[o][0],
          });
        });
      };
    return (
      i("workbooks"),
      s("sheets"),
      s("charts"),
      f("themes"),
      ["strs", "styles"].forEach(i),
      ["coreprops", "extprops", "custprops"].forEach(f),
      f("vba"),
      f("comments"),
      f("threadedcomments"),
      f("drawings"),
      s("metadata"),
      f("people"),
      n.length > 2 &&
        ((n[n.length] = "</Types>"), (n[1] = n[1].replace("/>", ">"))),
      n.join("")
    );
  }
  var Te = {
    WB: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",
    SHEET:
      "http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",
    HLINK:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",
    VML: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",
    XPATH:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",
    XMISS:
      "http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",
    XLINK:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",
    CXML: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",
    CXMLP:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",
    CMNT: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",
    CORE_PROPS:
      "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",
    EXT_PROPS:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",
    CUST_PROPS:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",
    SST: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",
    STY: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",
    THEME:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",
    CHART:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",
    CHARTEX: "http://schemas.microsoft.com/office/2014/relationships/chartEx",
    CS: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",
    WS: [
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",
      "http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet",
    ],
    DS: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",
    MS: "http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",
    IMG: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
    DRAW: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",
    XLMETA:
      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",
    TCMNT:
      "http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",
    PEOPLE: "http://schemas.microsoft.com/office/2017/10/relationships/person",
    VBA: "http://schemas.microsoft.com/office/2006/relationships/vbaProject",
  };
  function al(e) {
    var t = e.lastIndexOf("/");
    return e.slice(0, t + 1) + "_rels/" + e.slice(t + 1) + ".rels";
  }
  function vn(e) {
    var t = [Ke, J("Relationships", null, { xmlns: tt.RELS })];
    return (
      ct(e["!id"]).forEach(function (r) {
        t[t.length] = J("Relationship", null, e["!id"][r]);
      }),
      t.length > 2 &&
        ((t[t.length] = "</Relationships>"), (t[1] = t[1].replace("/>", ">"))),
      t.join("")
    );
  }
  function Le(e, t, r, n, a, i) {
    if (
      (a || (a = {}),
      e["!id"] || (e["!id"] = {}),
      e["!idx"] || (e["!idx"] = 1),
      t < 0)
    )
      for (t = e["!idx"]; e["!id"]["rId" + t]; ++t);
    if (
      ((e["!idx"] = t + 1),
      (a.Id = "rId" + t),
      (a.Type = n),
      (a.Target = r),
      i
        ? (a.TargetMode = i)
        : [Te.HLINK, Te.XPATH, Te.XMISS].indexOf(a.Type) > -1 &&
          (a.TargetMode = "External"),
      e["!id"][a.Id])
    )
      throw new Error("Cannot rewrite rId " + t);
    return (
      (e["!id"][a.Id] = a), (e[("/" + a.Target).replace("//", "/")] = a), t
    );
  }
  function Nm(e) {
    var t = [Ke];
    t.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
`),
      t.push(`  <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
`);
    for (var r = 0; r < e.length; ++r)
      t.push(
        '  <manifest:file-entry manifest:full-path="' +
          e[r][0] +
          '" manifest:media-type="' +
          e[r][1] +
          `"/>
`
      );
    return t.push("</manifest:manifest>"), t.join("");
  }
  function Zs(e, t, r) {
    return [
      '  <rdf:Description rdf:about="' +
        e +
        `">
`,
      '    <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/' +
        (r || "odf") +
        "#" +
        t +
        `"/>
`,
      `  </rdf:Description>
`,
    ].join("");
  }
  function km(e, t) {
    return [
      '  <rdf:Description rdf:about="' +
        e +
        `">
`,
      '    <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="' +
        t +
        `"/>
`,
      `  </rdf:Description>
`,
    ].join("");
  }
  function Mm(e) {
    var t = [Ke];
    t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
`);
    for (var r = 0; r != e.length; ++r)
      t.push(Zs(e[r][0], e[r][1])), t.push(km("", e[r][0]));
    return t.push(Zs("", "Document", "pkg")), t.push("</rdf:RDF>"), t.join("");
  }
  function il() {
    return (
      '<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS ' +
      ba.version +
      "</meta:generator></office:meta></office:document-meta>"
    );
  }
  var $r = [
    ["cp:category", "Category"],
    ["cp:contentStatus", "ContentStatus"],
    ["cp:keywords", "Keywords"],
    ["cp:lastModifiedBy", "LastAuthor"],
    ["cp:lastPrinted", "LastPrinted"],
    ["cp:revision", "RevNumber"],
    ["cp:version", "Version"],
    ["dc:creator", "Author"],
    ["dc:description", "Comments"],
    ["dc:identifier", "Identifier"],
    ["dc:language", "Language"],
    ["dc:subject", "Subject"],
    ["dc:title", "Title"],
    ["dcterms:created", "CreatedDate", "date"],
    ["dcterms:modified", "ModifiedDate", "date"],
  ];
  function Ui(e, t, r, n, a) {
    a[e] != null ||
      t == null ||
      t === "" ||
      ((a[e] = t), (t = Oe(t)), (n[n.length] = r ? J(e, t, r) : lt(e, t)));
  }
  function sl(e, t) {
    var r = t || {},
      n = [
        Ke,
        J("cp:coreProperties", null, {
          "xmlns:cp": tt.CORE_PROPS,
          "xmlns:dc": tt.dc,
          "xmlns:dcterms": tt.dcterms,
          "xmlns:dcmitype": tt.dcmitype,
          "xmlns:xsi": tt.xsi,
        }),
      ],
      a = {};
    if (!e && !r.Props) return n.join("");
    e &&
      (e.CreatedDate != null &&
        Ui(
          "dcterms:created",
          typeof e.CreatedDate == "string"
            ? e.CreatedDate
            : r0(e.CreatedDate, r.WTF),
          { "xsi:type": "dcterms:W3CDTF" },
          n,
          a
        ),
      e.ModifiedDate != null &&
        Ui(
          "dcterms:modified",
          typeof e.ModifiedDate == "string"
            ? e.ModifiedDate
            : r0(e.ModifiedDate, r.WTF),
          { "xsi:type": "dcterms:W3CDTF" },
          n,
          a
        ));
    for (var i = 0; i != $r.length; ++i) {
      var s = $r[i],
        f =
          r.Props && r.Props[s[1]] != null ? r.Props[s[1]] : e ? e[s[1]] : null;
      f === !0
        ? (f = "1")
        : f === !1
        ? (f = "0")
        : typeof f == "number" && (f = String(f)),
        f != null && Ui(s[0], f, null, n, a);
    }
    return (
      n.length > 2 &&
        ((n[n.length] = "</cp:coreProperties>"),
        (n[1] = n[1].replace("/>", ">"))),
      n.join("")
    );
  }
  var gn = [
      ["Application", "Application", "string"],
      ["AppVersion", "AppVersion", "string"],
      ["Company", "Company", "string"],
      ["DocSecurity", "DocSecurity", "string"],
      ["Manager", "Manager", "string"],
      ["HyperlinksChanged", "HyperlinksChanged", "bool"],
      ["SharedDoc", "SharedDoc", "bool"],
      ["LinksUpToDate", "LinksUpToDate", "bool"],
      ["ScaleCrop", "ScaleCrop", "bool"],
      ["HeadingPairs", "HeadingPairs", "raw"],
      ["TitlesOfParts", "TitlesOfParts", "raw"],
    ],
    fl = [
      "Worksheets",
      "SheetNames",
      "NamedRanges",
      "DefinedNames",
      "Chartsheets",
      "ChartNames",
    ];
  function ol(e) {
    var t = [],
      r = J;
    return (
      e || (e = {}),
      (e.Application = "SheetJS"),
      (t[t.length] = Ke),
      (t[t.length] = J("Properties", null, {
        xmlns: tt.EXT_PROPS,
        "xmlns:vt": tt.vt,
      })),
      gn.forEach(function (n) {
        if (e[n[1]] !== void 0) {
          var a;
          switch (n[2]) {
            case "string":
              a = Oe(String(e[n[1]]));
              break;
            case "bool":
              a = e[n[1]] ? "true" : "false";
              break;
          }
          a !== void 0 && (t[t.length] = r(n[0], a));
        }
      }),
      (t[t.length] = r(
        "HeadingPairs",
        r(
          "vt:vector",
          r("vt:variant", "<vt:lpstr>Worksheets</vt:lpstr>") +
            r("vt:variant", r("vt:i4", String(e.Worksheets))),
          { size: 2, baseType: "variant" }
        )
      )),
      (t[t.length] = r(
        "TitlesOfParts",
        r(
          "vt:vector",
          e.SheetNames.map(function (n) {
            return "<vt:lpstr>" + Oe(n) + "</vt:lpstr>";
          }).join(""),
          { size: e.Worksheets, baseType: "lpstr" }
        )
      )),
      t.length > 2 &&
        ((t[t.length] = "</Properties>"), (t[1] = t[1].replace("/>", ">"))),
      t.join("")
    );
  }
  function ll(e) {
    var t = [
      Ke,
      J("Properties", null, { xmlns: tt.CUST_PROPS, "xmlns:vt": tt.vt }),
    ];
    if (!e) return t.join("");
    var r = 1;
    return (
      ct(e).forEach(function (a) {
        ++r,
          (t[t.length] = J("property", Qx(e[a], !0), {
            fmtid: "{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",
            pid: r,
            name: Oe(a),
          }));
      }),
      t.length > 2 &&
        ((t[t.length] = "</Properties>"), (t[1] = t[1].replace("/>", ">"))),
      t.join("")
    );
  }
  var qs = {
    Title: "Title",
    Subject: "Subject",
    Author: "Author",
    Keywords: "Keywords",
    Comments: "Description",
    LastAuthor: "LastAuthor",
    RevNumber: "Revision",
    Application: "AppName",
    LastPrinted: "LastPrinted",
    CreatedDate: "Created",
    ModifiedDate: "LastSaved",
    Category: "Category",
    Manager: "Manager",
    Company: "Company",
    AppVersion: "Version",
    ContentStatus: "ContentStatus",
    Identifier: "Identifier",
    Language: "Language",
  };
  function Pm(e, t) {
    var r = [];
    return (
      ct(qs)
        .map(function (n) {
          for (var a = 0; a < $r.length; ++a) if ($r[a][1] == n) return $r[a];
          for (a = 0; a < gn.length; ++a) if (gn[a][1] == n) return gn[a];
          throw n;
        })
        .forEach(function (n) {
          if (e[n[1]] != null) {
            var a =
              t && t.Props && t.Props[n[1]] != null ? t.Props[n[1]] : e[n[1]];
            switch (n[2]) {
              case "date":
                a = new Date(a).toISOString().replace(/\.\d*Z/, "Z");
                break;
            }
            typeof a == "number"
              ? (a = String(a))
              : a === !0 || a === !1
              ? (a = a ? "1" : "0")
              : a instanceof Date &&
                (a = new Date(a).toISOString().replace(/\.\d*Z/, "")),
              r.push(lt(qs[n[1]] || n[1], a));
          }
        }),
      J("DocumentProperties", r.join(""), { xmlns: Dt.o })
    );
  }
  function Bm(e, t) {
    var r = ["Worksheets", "SheetNames"],
      n = "CustomDocumentProperties",
      a = [];
    return (
      e &&
        ct(e).forEach(function (i) {
          if (!!Object.prototype.hasOwnProperty.call(e, i)) {
            for (var s = 0; s < $r.length; ++s) if (i == $r[s][1]) return;
            for (s = 0; s < gn.length; ++s) if (i == gn[s][1]) return;
            for (s = 0; s < r.length; ++s) if (i == r[s]) return;
            var f = e[i],
              o = "string";
            typeof f == "number"
              ? ((o = "float"), (f = String(f)))
              : f === !0 || f === !1
              ? ((o = "boolean"), (f = f ? "1" : "0"))
              : (f = String(f)),
              a.push(J(Us(i), f, { "dt:dt": o }));
          }
        }),
      t &&
        ct(t).forEach(function (i) {
          if (
            !!Object.prototype.hasOwnProperty.call(t, i) &&
            !(e && Object.prototype.hasOwnProperty.call(e, i))
          ) {
            var s = t[i],
              f = "string";
            typeof s == "number"
              ? ((f = "float"), (s = String(s)))
              : s === !0 || s === !1
              ? ((f = "boolean"), (s = s ? "1" : "0"))
              : s instanceof Date
              ? ((f = "dateTime.tz"), (s = s.toISOString()))
              : (s = String(s)),
              a.push(J(Us(i), s, { "dt:dt": f }));
          }
        }),
      "<" + n + ' xmlns="' + Dt.o + '">' + a.join("") + "</" + n + ">"
    );
  }
  function bm(e) {
    var t = typeof e == "string" ? new Date(Date.parse(e)) : e,
      r = t.getTime() / 1e3 + 11644473600,
      n = r % Math.pow(2, 32),
      a = (r - n) / Math.pow(2, 32);
    (n *= 1e7), (a *= 1e7);
    var i = (n / Math.pow(2, 32)) | 0;
    i > 0 && ((n = n % Math.pow(2, 32)), (a += i));
    var s = B(8);
    return s.write_shift(4, n), s.write_shift(4, a), s;
  }
  function Qs(e, t) {
    var r = B(4),
      n = B(4);
    switch ((r.write_shift(4, e == 80 ? 31 : e), e)) {
      case 3:
        n.write_shift(-4, t);
        break;
      case 5:
        (n = B(8)), n.write_shift(8, t, "f");
        break;
      case 11:
        n.write_shift(4, t ? 1 : 0);
        break;
      case 64:
        n = bm(t);
        break;
      case 31:
      case 80:
        for (
          n = B(4 + 2 * (t.length + 1) + (t.length % 2 ? 0 : 2)),
            n.write_shift(4, t.length + 1),
            n.write_shift(0, t, "dbcs");
          n.l != n.length;

        )
          n.write_shift(1, 0);
        break;
      default:
        throw new Error("TypedPropertyValue unrecognized type " + e + " " + t);
    }
    return ot([r, n]);
  }
  var ul = [
    "CodePage",
    "Thumbnail",
    "_PID_LINKBASE",
    "_PID_HLINKS",
    "SystemIdentifier",
    "FMTID",
  ];
  function Um(e) {
    switch (typeof e) {
      case "boolean":
        return 11;
      case "number":
        return (e | 0) == e ? 3 : 5;
      case "string":
        return 31;
      case "object":
        if (e instanceof Date) return 64;
        break;
    }
    return -1;
  }
  function ef(e, t, r) {
    var n = B(8),
      a = [],
      i = [],
      s = 8,
      f = 0,
      o = B(8),
      l = B(8);
    if (
      (o.write_shift(4, 2),
      o.write_shift(4, 1200),
      l.write_shift(4, 1),
      i.push(o),
      a.push(l),
      (s += 8 + o.length),
      !t)
    ) {
      (l = B(8)), l.write_shift(4, 0), a.unshift(l);
      var u = [B(4)];
      for (u[0].write_shift(4, e.length), f = 0; f < e.length; ++f) {
        var x = e[f][0];
        for (
          o = B(4 + 4 + 2 * (x.length + 1) + (x.length % 2 ? 0 : 2)),
            o.write_shift(4, f + 2),
            o.write_shift(4, x.length + 1),
            o.write_shift(0, x, "dbcs");
          o.l != o.length;

        )
          o.write_shift(1, 0);
        u.push(o);
      }
      (o = ot(u)), i.unshift(o), (s += 8 + o.length);
    }
    for (f = 0; f < e.length; ++f)
      if (
        !(t && !t[e[f][0]]) &&
        !(ul.indexOf(e[f][0]) > -1 || fl.indexOf(e[f][0]) > -1) &&
        e[f][1] != null
      ) {
        var d = e[f][1],
          _ = 0;
        if (t) {
          _ = +t[e[f][0]];
          var v = r[_];
          if (v.p == "version" && typeof d == "string") {
            var c = d.split(".");
            d = (+c[0] << 16) + (+c[1] || 0);
          }
          o = Qs(v.t, d);
        } else {
          var g = Um(d);
          g == -1 && ((g = 31), (d = String(d))), (o = Qs(g, d));
        }
        i.push(o),
          (l = B(8)),
          l.write_shift(4, t ? _ : 2 + f),
          a.push(l),
          (s += 8 + o.length);
      }
    var L = 8 * (i.length + 1);
    for (f = 0; f < i.length; ++f) a[f].write_shift(4, L), (L += i[f].length);
    return (
      n.write_shift(4, s),
      n.write_shift(4, i.length),
      ot([n].concat(a).concat(i))
    );
  }
  function tf(e, t, r, n, a, i) {
    var s = B(a ? 68 : 48),
      f = [s];
    s.write_shift(2, 65534),
      s.write_shift(2, 0),
      s.write_shift(4, 842412599),
      s.write_shift(16, Ce.utils.consts.HEADER_CLSID, "hex"),
      s.write_shift(4, a ? 2 : 1),
      s.write_shift(16, t, "hex"),
      s.write_shift(4, a ? 68 : 48);
    var o = ef(e, r, n);
    if ((f.push(o), a)) {
      var l = ef(a, null, null);
      s.write_shift(16, i, "hex"), s.write_shift(4, 68 + o.length), f.push(l);
    }
    return ot(f);
  }
  function Wm(e, t) {
    t || (t = B(e));
    for (var r = 0; r < e; ++r) t.write_shift(1, 0);
    return t;
  }
  function Hm(e, t) {
    return e.read_shift(t) === 1;
  }
  function wt(e, t) {
    return t || (t = B(2)), t.write_shift(2, +!!e), t;
  }
  function cl(e) {
    return e.read_shift(2, "u");
  }
  function bt(e, t) {
    return t || (t = B(2)), t.write_shift(2, e), t;
  }
  function hl(e, t, r) {
    return (
      r || (r = B(2)),
      r.write_shift(1, t == "e" ? +e : +!!e),
      r.write_shift(1, t == "e" ? 1 : 0),
      r
    );
  }
  function dl(e, t, r) {
    var n = e.read_shift(r && r.biff >= 12 ? 2 : 1),
      a = "sbcs-cont";
    if ((r && r.biff >= 8, !r || r.biff == 8)) {
      var i = e.read_shift(1);
      i && (a = "dbcs-cont");
    } else r.biff == 12 && (a = "wstr");
    r.biff >= 2 && r.biff <= 5 && (a = "cpstr");
    var s = n ? e.read_shift(n, a) : "";
    return s;
  }
  function Ym(e) {
    var t = e.t || "",
      r = B(3 + 0);
    r.write_shift(2, t.length), r.write_shift(1, 1);
    var n = B(2 * t.length);
    n.write_shift(2 * t.length, t, "utf16le");
    var a = [r, n];
    return ot(a);
  }
  function Gm(e, t, r) {
    var n;
    if (r) {
      if (r.biff >= 2 && r.biff <= 5) return e.read_shift(t, "cpstr");
      if (r.biff >= 12) return e.read_shift(t, "dbcs-cont");
    }
    var a = e.read_shift(1);
    return (
      a === 0
        ? (n = e.read_shift(t, "sbcs-cont"))
        : (n = e.read_shift(t, "dbcs-cont")),
      n
    );
  }
  function Vm(e, t, r) {
    var n = e.read_shift(r && r.biff == 2 ? 1 : 2);
    return n === 0 ? (e.l++, "") : Gm(e, n, r);
  }
  function $m(e, t, r) {
    if (r.biff > 5) return Vm(e, t, r);
    var n = e.read_shift(1);
    return n === 0
      ? (e.l++, "")
      : e.read_shift(n, r.biff <= 4 || !e.lens ? "cpstr" : "sbcs-cont");
  }
  function _l(e, t, r) {
    return (
      r || (r = B(3 + 2 * e.length)),
      r.write_shift(2, e.length),
      r.write_shift(1, 1),
      r.write_shift(31, e, "utf16le"),
      r
    );
  }
  function rf(e, t) {
    t || (t = B(6 + e.length * 2)), t.write_shift(4, 1 + e.length);
    for (var r = 0; r < e.length; ++r) t.write_shift(2, e.charCodeAt(r));
    return t.write_shift(2, 0), t;
  }
  function jm(e) {
    var t = B(512),
      r = 0,
      n = e.Target;
    n.slice(0, 7) == "file://" && (n = n.slice(7));
    var a = n.indexOf("#"),
      i = a > -1 ? 31 : 23;
    switch (n.charAt(0)) {
      case "#":
        i = 28;
        break;
      case ".":
        i &= -3;
        break;
    }
    t.write_shift(4, 2), t.write_shift(4, i);
    var s = [8, 6815827, 6619237, 4849780, 83];
    for (r = 0; r < s.length; ++r) t.write_shift(4, s[r]);
    if (i == 28) (n = n.slice(1)), rf(n, t);
    else if (i & 2) {
      for (
        s = "e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "), r = 0;
        r < s.length;
        ++r
      )
        t.write_shift(1, parseInt(s[r], 16));
      var f = a > -1 ? n.slice(0, a) : n;
      for (t.write_shift(4, 2 * (f.length + 1)), r = 0; r < f.length; ++r)
        t.write_shift(2, f.charCodeAt(r));
      t.write_shift(2, 0), i & 8 && rf(a > -1 ? n.slice(a + 1) : "", t);
    } else {
      for (
        s = "03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "), r = 0;
        r < s.length;
        ++r
      )
        t.write_shift(1, parseInt(s[r], 16));
      for (
        var o = 0;
        n.slice(o * 3, o * 3 + 3) == "../" ||
        n.slice(o * 3, o * 3 + 3) == "..\\";

      )
        ++o;
      for (
        t.write_shift(2, o), t.write_shift(4, n.length - 3 * o + 1), r = 0;
        r < n.length - 3 * o;
        ++r
      )
        t.write_shift(1, n.charCodeAt(r + 3 * o) & 255);
      for (
        t.write_shift(1, 0),
          t.write_shift(2, 65535),
          t.write_shift(2, 57005),
          r = 0;
        r < 6;
        ++r
      )
        t.write_shift(4, 0);
    }
    return t.slice(0, t.l);
  }
  function zr(e, t, r, n) {
    return (
      n || (n = B(6)),
      n.write_shift(2, e),
      n.write_shift(2, t),
      n.write_shift(2, r || 0),
      n
    );
  }
  function Xm(e, t, r) {
    var n = r.biff > 8 ? 4 : 2,
      a = e.read_shift(n),
      i = e.read_shift(n, "i"),
      s = e.read_shift(n, "i");
    return [a, i, s];
  }
  function Km(e) {
    var t = e.read_shift(2),
      r = e.read_shift(2),
      n = e.read_shift(2),
      a = e.read_shift(2);
    return { s: { c: n, r: t }, e: { c: a, r } };
  }
  function xl(e, t) {
    return (
      t || (t = B(8)),
      t.write_shift(2, e.s.r),
      t.write_shift(2, e.e.r),
      t.write_shift(2, e.s.c),
      t.write_shift(2, e.e.c),
      t
    );
  }
  function $0(e, t, r) {
    var n = 1536,
      a = 16;
    switch (r.bookType) {
      case "biff8":
        break;
      case "biff5":
        (n = 1280), (a = 8);
        break;
      case "biff4":
        (n = 4), (a = 6);
        break;
      case "biff3":
        (n = 3), (a = 6);
        break;
      case "biff2":
        (n = 2), (a = 4);
        break;
      case "xla":
        break;
      default:
        throw new Error("unsupported BIFF version");
    }
    var i = B(a);
    return (
      i.write_shift(2, n),
      i.write_shift(2, t),
      a > 4 && i.write_shift(2, 29282),
      a > 6 && i.write_shift(2, 1997),
      a > 8 &&
        (i.write_shift(2, 49161),
        i.write_shift(2, 1),
        i.write_shift(2, 1798),
        i.write_shift(2, 0)),
      i
    );
  }
  function zm(e, t) {
    var r = !t || t.biff == 8,
      n = B(r ? 112 : 54);
    for (
      n.write_shift(t.biff == 8 ? 2 : 1, 7),
        r && n.write_shift(1, 0),
        n.write_shift(4, 859007059),
        n.write_shift(4, 5458548 | (r ? 0 : 536870912));
      n.l < n.length;

    )
      n.write_shift(1, r ? 0 : 32);
    return n;
  }
  function Jm(e, t) {
    var r = !t || t.biff >= 8 ? 2 : 1,
      n = B(8 + r * e.name.length);
    n.write_shift(4, e.pos),
      n.write_shift(1, e.hs || 0),
      n.write_shift(1, e.dt),
      n.write_shift(1, e.name.length),
      t.biff >= 8 && n.write_shift(1, 1),
      n.write_shift(r * e.name.length, e.name, t.biff < 8 ? "sbcs" : "utf16le");
    var a = n.slice(0, n.l);
    return (a.l = n.l), a;
  }
  function Zm(e, t) {
    var r = B(8);
    r.write_shift(4, e.Count), r.write_shift(4, e.Unique);
    for (var n = [], a = 0; a < e.length; ++a) n[a] = Ym(e[a]);
    var i = ot([r].concat(n));
    return (
      (i.parts = [r.length].concat(
        n.map(function (s) {
          return s.length;
        })
      )),
      i
    );
  }
  function qm() {
    var e = B(18);
    return (
      e.write_shift(2, 0),
      e.write_shift(2, 0),
      e.write_shift(2, 29280),
      e.write_shift(2, 17600),
      e.write_shift(2, 56),
      e.write_shift(2, 0),
      e.write_shift(2, 0),
      e.write_shift(2, 1),
      e.write_shift(2, 500),
      e
    );
  }
  function Qm(e) {
    var t = B(18),
      r = 1718;
    return (
      e && e.RTL && (r |= 64),
      t.write_shift(2, r),
      t.write_shift(4, 0),
      t.write_shift(4, 64),
      t.write_shift(4, 0),
      t.write_shift(4, 0),
      t
    );
  }
  function e2(e, t) {
    var r = e.name || "Arial",
      n = t && t.biff == 5,
      a = n ? 15 + r.length : 16 + 2 * r.length,
      i = B(a);
    return (
      i.write_shift(2, (e.sz || 12) * 20),
      i.write_shift(4, 0),
      i.write_shift(2, 400),
      i.write_shift(4, 0),
      i.write_shift(2, 0),
      i.write_shift(1, r.length),
      n || i.write_shift(1, 1),
      i.write_shift((n ? 1 : 2) * r.length, r, n ? "sbcs" : "utf16le"),
      i
    );
  }
  function t2(e, t, r, n) {
    var a = B(10);
    return zr(e, t, n, a), a.write_shift(4, r), a;
  }
  function r2(e, t, r, n, a) {
    var i = !a || a.biff == 8,
      s = B(6 + 2 + +i + (1 + i) * r.length);
    return (
      zr(e, t, n, s),
      s.write_shift(2, r.length),
      i && s.write_shift(1, 1),
      s.write_shift((1 + i) * r.length, r, i ? "utf16le" : "sbcs"),
      s
    );
  }
  function n2(e, t, r, n) {
    var a = r && r.biff == 5;
    n || (n = B(a ? 3 + t.length : 5 + 2 * t.length)),
      n.write_shift(2, e),
      n.write_shift(a ? 1 : 2, t.length),
      a || n.write_shift(1, 1),
      n.write_shift((a ? 1 : 2) * t.length, t, a ? "sbcs" : "utf16le");
    var i = n.length > n.l ? n.slice(0, n.l) : n;
    return i.l == null && (i.l = i.length), i;
  }
  function a2(e, t) {
    var r = t.biff == 8 || !t.biff ? 4 : 2,
      n = B(2 * r + 6);
    return (
      n.write_shift(r, e.s.r),
      n.write_shift(r, e.e.r + 1),
      n.write_shift(2, e.s.c),
      n.write_shift(2, e.e.c + 1),
      n.write_shift(2, 0),
      n
    );
  }
  function nf(e, t, r, n) {
    var a = r && r.biff == 5;
    n || (n = B(a ? 16 : 20)),
      n.write_shift(2, 0),
      e.style
        ? (n.write_shift(2, e.numFmtId || 0), n.write_shift(2, 65524))
        : (n.write_shift(2, e.numFmtId || 0), n.write_shift(2, t << 4));
    var i = 0;
    return (
      e.numFmtId > 0 && a && (i |= 1024),
      n.write_shift(4, i),
      n.write_shift(4, 0),
      a || n.write_shift(4, 0),
      n.write_shift(2, 0),
      n
    );
  }
  function i2(e) {
    var t = B(8);
    return (
      t.write_shift(4, 0),
      t.write_shift(2, e[0] ? e[0] + 1 : 0),
      t.write_shift(2, e[1] ? e[1] + 1 : 0),
      t
    );
  }
  function s2(e, t, r, n, a, i) {
    var s = B(8);
    return zr(e, t, n, s), hl(r, i, s), s;
  }
  function f2(e, t, r, n) {
    var a = B(14);
    return zr(e, t, n, a), Kr(r, a), a;
  }
  function o2(e, t, r) {
    if (r.biff < 8) return l2(e, t, r);
    for (
      var n = [], a = e.l + t, i = e.read_shift(r.biff > 8 ? 4 : 2);
      i-- !== 0;

    )
      n.push(Xm(e, r.biff > 8 ? 12 : 6, r));
    if (e.l != a) throw new Error("Bad ExternSheet: " + e.l + " != " + a);
    return n;
  }
  function l2(e, t, r) {
    e[e.l + 1] == 3 && e[e.l]++;
    var n = dl(e, t, r);
    return n.charCodeAt(0) == 3 ? n.slice(1) : n;
  }
  function u2(e) {
    var t = B(2 + e.length * 8);
    t.write_shift(2, e.length);
    for (var r = 0; r < e.length; ++r) xl(e[r], t);
    return t;
  }
  function c2(e) {
    var t = B(24),
      r = rt(e[0]);
    t.write_shift(2, r.r),
      t.write_shift(2, r.r),
      t.write_shift(2, r.c),
      t.write_shift(2, r.c);
    for (
      var n = "d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),
        a = 0;
      a < 16;
      ++a
    )
      t.write_shift(1, parseInt(n[a], 16));
    return ot([t, jm(e[1])]);
  }
  function h2(e) {
    var t = e[1].Tooltip,
      r = B(10 + 2 * (t.length + 1));
    r.write_shift(2, 2048);
    var n = rt(e[0]);
    r.write_shift(2, n.r),
      r.write_shift(2, n.r),
      r.write_shift(2, n.c),
      r.write_shift(2, n.c);
    for (var a = 0; a < t.length; ++a) r.write_shift(2, t.charCodeAt(a));
    return r.write_shift(2, 0), r;
  }
  function d2(e) {
    return e || (e = B(4)), e.write_shift(2, 1), e.write_shift(2, 1), e;
  }
  function _2(e, t, r) {
    if (!r.cellStyles) return ar(e, t);
    var n = r && r.biff >= 12 ? 4 : 2,
      a = e.read_shift(n),
      i = e.read_shift(n),
      s = e.read_shift(n),
      f = e.read_shift(n),
      o = e.read_shift(2);
    n == 2 && (e.l += 2);
    var l = { s: a, e: i, w: s, ixfe: f, flags: o };
    return (r.biff >= 5 || !r.biff) && (l.level = (o >> 8) & 7), l;
  }
  function x2(e, t) {
    var r = B(12);
    r.write_shift(2, t),
      r.write_shift(2, t),
      r.write_shift(2, e.width * 256),
      r.write_shift(2, 0);
    var n = 0;
    return (
      e.hidden && (n |= 1),
      r.write_shift(1, n),
      (n = e.level || 0),
      r.write_shift(1, n),
      r.write_shift(2, 0),
      r
    );
  }
  function m2(e) {
    for (var t = B(2 * e), r = 0; r < e; ++r) t.write_shift(2, r + 1);
    return t;
  }
  function p2(e, t, r) {
    var n = B(15);
    return ha(n, e, t), n.write_shift(8, r, "f"), n;
  }
  function v2(e, t, r) {
    var n = B(9);
    return ha(n, e, t), n.write_shift(2, r), n;
  }
  var g2 = (function () {
      var e = {
          1: 437,
          2: 850,
          3: 1252,
          4: 1e4,
          100: 852,
          101: 866,
          102: 865,
          103: 861,
          104: 895,
          105: 620,
          106: 737,
          107: 857,
          120: 950,
          121: 949,
          122: 936,
          123: 932,
          124: 874,
          125: 1255,
          126: 1256,
          150: 10007,
          151: 10029,
          152: 10006,
          200: 1250,
          201: 1251,
          202: 1254,
          203: 1253,
          0: 20127,
          8: 865,
          9: 437,
          10: 850,
          11: 437,
          13: 437,
          14: 850,
          15: 437,
          16: 850,
          17: 437,
          18: 850,
          19: 932,
          20: 850,
          21: 437,
          22: 850,
          23: 865,
          24: 437,
          25: 437,
          26: 850,
          27: 437,
          28: 863,
          29: 850,
          31: 852,
          34: 852,
          35: 852,
          36: 860,
          37: 850,
          38: 866,
          55: 850,
          64: 852,
          77: 936,
          78: 949,
          79: 950,
          80: 874,
          87: 1252,
          88: 1252,
          89: 1252,
          108: 863,
          134: 737,
          135: 852,
          136: 857,
          204: 1257,
          255: 16969,
        },
        t = k0({
          1: 437,
          2: 850,
          3: 1252,
          4: 1e4,
          100: 852,
          101: 866,
          102: 865,
          103: 861,
          104: 895,
          105: 620,
          106: 737,
          107: 857,
          120: 950,
          121: 949,
          122: 936,
          123: 932,
          124: 874,
          125: 1255,
          126: 1256,
          150: 10007,
          151: 10029,
          152: 10006,
          200: 1250,
          201: 1251,
          202: 1254,
          203: 1253,
          0: 20127,
        });
      function r(f, o) {
        var l = [],
          u = Xr(1);
        switch (o.type) {
          case "base64":
            u = $t(Tr(f));
            break;
          case "binary":
            u = $t(f);
            break;
          case "buffer":
          case "array":
            u = f;
            break;
        }
        Ct(u, 0);
        var x = u.read_shift(1),
          d = !!(x & 136),
          _ = !1,
          v = !1;
        switch (x) {
          case 2:
            break;
          case 3:
            break;
          case 48:
            (_ = !0), (d = !0);
            break;
          case 49:
            (_ = !0), (d = !0);
            break;
          case 131:
            break;
          case 139:
            break;
          case 140:
            v = !0;
            break;
          case 245:
            break;
          default:
            throw new Error("DBF Unsupported Version: " + x.toString(16));
        }
        var c = 0,
          g = 521;
        x == 2 && (c = u.read_shift(2)),
          (u.l += 3),
          x != 2 && (c = u.read_shift(4)),
          c > 1048576 && (c = 1e6),
          x != 2 && (g = u.read_shift(2));
        var L = u.read_shift(2),
          O = o.codepage || 1252;
        x != 2 &&
          ((u.l += 16),
          u.read_shift(1),
          u[u.l] !== 0 && (O = e[u[u.l]]),
          (u.l += 1),
          (u.l += 2)),
          v && (u.l += 36);
        for (
          var F = [],
            P = {},
            K = Math.min(u.length, x == 2 ? 521 : g - 10 - (_ ? 264 : 0)),
            Q = v ? 32 : 11;
          u.l < K && u[u.l] != 13;

        )
          switch (
            ((P = {}),
            (P.name = Wr.utils
              .decode(O, u.slice(u.l, u.l + Q))
              .replace(/[\u0000\r\n].*$/g, "")),
            (u.l += Q),
            (P.type = String.fromCharCode(u.read_shift(1))),
            x != 2 && !v && (P.offset = u.read_shift(4)),
            (P.len = u.read_shift(1)),
            x == 2 && (P.offset = u.read_shift(2)),
            (P.dec = u.read_shift(1)),
            P.name.length && F.push(P),
            x != 2 && (u.l += v ? 13 : 14),
            P.type)
          ) {
            case "B":
              (!_ || P.len != 8) &&
                o.WTF &&
                console.log("Skipping " + P.name + ":" + P.type);
              break;
            case "G":
            case "P":
              o.WTF && console.log("Skipping " + P.name + ":" + P.type);
              break;
            case "+":
            case "0":
            case "@":
            case "C":
            case "D":
            case "F":
            case "I":
            case "L":
            case "M":
            case "N":
            case "O":
            case "T":
            case "Y":
              break;
            default:
              throw new Error("Unknown Field Type: " + P.type);
          }
        if ((u[u.l] !== 13 && (u.l = g - 1), u.read_shift(1) !== 13))
          throw new Error("DBF Terminator not found " + u.l + " " + u[u.l]);
        u.l = g;
        var R = 0,
          U = 0;
        for (l[0] = [], U = 0; U != F.length; ++U) l[0][U] = F[U].name;
        for (; c-- > 0; ) {
          if (u[u.l] === 42) {
            u.l += L;
            continue;
          }
          for (++u.l, l[++R] = [], U = 0, U = 0; U != F.length; ++U) {
            var M = u.slice(u.l, u.l + F[U].len);
            (u.l += F[U].len), Ct(M, 0);
            var G = Wr.utils.decode(O, M);
            switch (F[U].type) {
              case "C":
                G.trim().length && (l[R][U] = G.replace(/\s+$/, ""));
                break;
              case "D":
                G.length === 8
                  ? (l[R][U] = new Date(
                      +G.slice(0, 4),
                      +G.slice(4, 6) - 1,
                      +G.slice(6, 8)
                    ))
                  : (l[R][U] = G);
                break;
              case "F":
                l[R][U] = parseFloat(G.trim());
                break;
              case "+":
              case "I":
                l[R][U] = v
                  ? M.read_shift(-4, "i") ^ 2147483648
                  : M.read_shift(4, "i");
                break;
              case "L":
                switch (G.trim().toUpperCase()) {
                  case "Y":
                  case "T":
                    l[R][U] = !0;
                    break;
                  case "N":
                  case "F":
                    l[R][U] = !1;
                    break;
                  case "":
                  case "?":
                    break;
                  default:
                    throw new Error("DBF Unrecognized L:|" + G + "|");
                }
                break;
              case "M":
                if (!d)
                  throw new Error(
                    "DBF Unexpected MEMO for type " + x.toString(16)
                  );
                l[R][U] =
                  "##MEMO##" + (v ? parseInt(G.trim(), 10) : M.read_shift(4));
                break;
              case "N":
                (G = G.replace(/\u0000/g, "").trim()),
                  G && G != "." && (l[R][U] = +G || 0);
                break;
              case "@":
                l[R][U] = new Date(M.read_shift(-8, "f") - 621356832e5);
                break;
              case "T":
                l[R][U] = new Date(
                  (M.read_shift(4) - 2440588) * 864e5 + M.read_shift(4)
                );
                break;
              case "Y":
                l[R][U] =
                  M.read_shift(4, "i") / 1e4 +
                  (M.read_shift(4, "i") / 1e4) * Math.pow(2, 32);
                break;
              case "O":
                l[R][U] = -M.read_shift(-8, "f");
                break;
              case "B":
                if (_ && F[U].len == 8) {
                  l[R][U] = M.read_shift(8, "f");
                  break;
                }
              case "G":
              case "P":
                M.l += F[U].len;
                break;
              case "0":
                if (F[U].name === "_NullFlags") break;
              default:
                throw new Error("DBF Unsupported data type " + F[U].type);
            }
          }
        }
        if (x != 2 && u.l < u.length && u[u.l++] != 26)
          throw new Error(
            "DBF EOF Marker missing " +
              (u.l - 1) +
              " of " +
              u.length +
              " " +
              u[u.l - 1].toString(16)
          );
        return (
          o && o.sheetRows && (l = l.slice(0, o.sheetRows)), (o.DBF = F), l
        );
      }
      function n(f, o) {
        var l = o || {};
        l.dateNF || (l.dateNF = "yyyymmdd");
        var u = Fn(r(f, l), l);
        return (
          (u["!cols"] = l.DBF.map(function (x) {
            return { wch: x.len, DBF: x };
          })),
          delete l.DBF,
          u
        );
      }
      function a(f, o) {
        try {
          return qr(n(f, o), o);
        } catch (l) {
          if (o && o.WTF) throw l;
        }
        return { SheetNames: [], Sheets: {} };
      }
      var i = { B: 8, C: 250, L: 1, D: 8, "?": 0, "": 0 };
      function s(f, o) {
        var l = o || {};
        if ((+l.codepage >= 0 && Zn(+l.codepage), l.type == "string"))
          throw new Error("Cannot write DBF to JS string");
        var u = Ft(),
          x = Za(f, { header: 1, raw: !0, cellDates: !0 }),
          d = x[0],
          _ = x.slice(1),
          v = f["!cols"] || [],
          c = 0,
          g = 0,
          L = 0,
          O = 1;
        for (c = 0; c < d.length; ++c) {
          if (((v[c] || {}).DBF || {}).name) {
            (d[c] = v[c].DBF.name), ++L;
            continue;
          }
          if (d[c] != null) {
            if (
              (++L,
              typeof d[c] == "number" && (d[c] = d[c].toString(10)),
              typeof d[c] != "string")
            )
              throw new Error(
                "DBF Invalid column name " + d[c] + " |" + typeof d[c] + "|"
              );
            if (d.indexOf(d[c]) !== c) {
              for (g = 0; g < 1024; ++g)
                if (d.indexOf(d[c] + "_" + g) == -1) {
                  d[c] += "_" + g;
                  break;
                }
            }
          }
        }
        var F = Pe(f["!ref"]),
          P = [],
          K = [],
          Q = [];
        for (c = 0; c <= F.e.c - F.s.c; ++c) {
          var R = "",
            U = "",
            M = 0,
            G = [];
          for (g = 0; g < _.length; ++g) _[g][c] != null && G.push(_[g][c]);
          if (G.length == 0 || d[c] == null) {
            P[c] = "?";
            continue;
          }
          for (g = 0; g < G.length; ++g) {
            switch (typeof G[g]) {
              case "number":
                U = "B";
                break;
              case "string":
                U = "C";
                break;
              case "boolean":
                U = "L";
                break;
              case "object":
                U = G[g] instanceof Date ? "D" : "C";
                break;
              default:
                U = "C";
            }
            (M = Math.max(M, String(G[g]).length)), (R = R && R != U ? "C" : U);
          }
          M > 250 && (M = 250),
            (U = ((v[c] || {}).DBF || {}).type),
            U == "C" && v[c].DBF.len > M && (M = v[c].DBF.len),
            R == "B" &&
              U == "N" &&
              ((R = "N"), (Q[c] = v[c].DBF.dec), (M = v[c].DBF.len)),
            (K[c] = R == "C" || U == "N" ? M : i[R] || 0),
            (O += K[c]),
            (P[c] = R);
        }
        var Y = u.next(32);
        for (
          Y.write_shift(4, 318902576),
            Y.write_shift(4, _.length),
            Y.write_shift(2, 296 + 32 * L),
            Y.write_shift(2, O),
            c = 0;
          c < 4;
          ++c
        )
          Y.write_shift(4, 0);
        for (
          Y.write_shift(4, 0 | ((+t[po] || 3) << 8)), c = 0, g = 0;
          c < d.length;
          ++c
        )
          if (d[c] != null) {
            var V = u.next(32),
              ne = (d[c].slice(-10) + "\0\0\0\0\0\0\0\0\0\0\0").slice(0, 11);
            V.write_shift(1, ne, "sbcs"),
              V.write_shift(1, P[c] == "?" ? "C" : P[c], "sbcs"),
              V.write_shift(4, g),
              V.write_shift(1, K[c] || i[P[c]] || 0),
              V.write_shift(1, Q[c] || 0),
              V.write_shift(1, 2),
              V.write_shift(4, 0),
              V.write_shift(1, 0),
              V.write_shift(4, 0),
              V.write_shift(4, 0),
              (g += K[c] || i[P[c]] || 0);
          }
        var Ae = u.next(264);
        for (Ae.write_shift(4, 13), c = 0; c < 65; ++c) Ae.write_shift(4, 0);
        for (c = 0; c < _.length; ++c) {
          var ce = u.next(O);
          for (ce.write_shift(1, 0), g = 0; g < d.length; ++g)
            if (d[g] != null)
              switch (P[g]) {
                case "L":
                  ce.write_shift(1, _[c][g] == null ? 63 : _[c][g] ? 84 : 70);
                  break;
                case "B":
                  ce.write_shift(8, _[c][g] || 0, "f");
                  break;
                case "N":
                  var ze = "0";
                  for (
                    typeof _[c][g] == "number" &&
                      (ze = _[c][g].toFixed(Q[g] || 0)),
                      L = 0;
                    L < K[g] - ze.length;
                    ++L
                  )
                    ce.write_shift(1, 32);
                  ce.write_shift(1, ze, "sbcs");
                  break;
                case "D":
                  _[c][g]
                    ? (ce.write_shift(
                        4,
                        ("0000" + _[c][g].getFullYear()).slice(-4),
                        "sbcs"
                      ),
                      ce.write_shift(
                        2,
                        ("00" + (_[c][g].getMonth() + 1)).slice(-2),
                        "sbcs"
                      ),
                      ce.write_shift(
                        2,
                        ("00" + _[c][g].getDate()).slice(-2),
                        "sbcs"
                      ))
                    : ce.write_shift(8, "00000000", "sbcs");
                  break;
                case "C":
                  var be = String(_[c][g] != null ? _[c][g] : "").slice(
                    0,
                    K[g]
                  );
                  for (
                    ce.write_shift(1, be, "sbcs"), L = 0;
                    L < K[g] - be.length;
                    ++L
                  )
                    ce.write_shift(1, 32);
                  break;
              }
        }
        return u.next(1).write_shift(1, 26), u.end();
      }
      return { to_workbook: a, to_sheet: n, from_sheet: s };
    })(),
    T2 = (function () {
      var e = {
          AA: "\xC0",
          BA: "\xC1",
          CA: "\xC2",
          DA: 195,
          HA: "\xC4",
          JA: 197,
          AE: "\xC8",
          BE: "\xC9",
          CE: "\xCA",
          HE: "\xCB",
          AI: "\xCC",
          BI: "\xCD",
          CI: "\xCE",
          HI: "\xCF",
          AO: "\xD2",
          BO: "\xD3",
          CO: "\xD4",
          DO: 213,
          HO: "\xD6",
          AU: "\xD9",
          BU: "\xDA",
          CU: "\xDB",
          HU: "\xDC",
          Aa: "\xE0",
          Ba: "\xE1",
          Ca: "\xE2",
          Da: 227,
          Ha: "\xE4",
          Ja: 229,
          Ae: "\xE8",
          Be: "\xE9",
          Ce: "\xEA",
          He: "\xEB",
          Ai: "\xEC",
          Bi: "\xED",
          Ci: "\xEE",
          Hi: "\xEF",
          Ao: "\xF2",
          Bo: "\xF3",
          Co: "\xF4",
          Do: 245,
          Ho: "\xF6",
          Au: "\xF9",
          Bu: "\xFA",
          Cu: "\xFB",
          Hu: "\xFC",
          KC: "\xC7",
          Kc: "\xE7",
          q: "\xE6",
          z: "\u0153",
          a: "\xC6",
          j: "\u0152",
          DN: 209,
          Dn: 241,
          Hy: 255,
          S: 169,
          c: 170,
          R: 174,
          "B ": 180,
          0: 176,
          1: 177,
          2: 178,
          3: 179,
          5: 181,
          6: 182,
          7: 183,
          Q: 185,
          k: 186,
          b: 208,
          i: 216,
          l: 222,
          s: 240,
          y: 248,
          "!": 161,
          '"': 162,
          "#": 163,
          "(": 164,
          "%": 165,
          "'": 167,
          "H ": 168,
          "+": 171,
          ";": 187,
          "<": 188,
          "=": 189,
          ">": 190,
          "?": 191,
          "{": 223,
        },
        t = new RegExp(
          "\x1BN(" +
            ct(e)
              .join("|")
              .replace(/\|\|\|/, "|\\||")
              .replace(/([?()+])/g, "\\$1") +
            "|\\|)",
          "gm"
        ),
        r = function (d, _) {
          var v = e[_];
          return typeof v == "number" ? Ls(v) : v;
        },
        n = function (d, _, v) {
          var c = ((_.charCodeAt(0) - 32) << 4) | (v.charCodeAt(0) - 48);
          return c == 59 ? d : Ls(c);
        };
      e["|"] = 254;
      function a(d, _) {
        switch (_.type) {
          case "base64":
            return i(Tr(d), _);
          case "binary":
            return i(d, _);
          case "buffer":
            return i(
              Se && Buffer.isBuffer(d) ? d.toString("binary") : fa(d),
              _
            );
          case "array":
            return i(pi(d), _);
        }
        throw new Error("Unrecognized type " + _.type);
      }
      function i(d, _) {
        var v = d.split(/[\n\r]+/),
          c = -1,
          g = -1,
          L = 0,
          O = 0,
          F = [],
          P = [],
          K = null,
          Q = {},
          R = [],
          U = [],
          M = [],
          G = 0,
          Y;
        for (+_.codepage >= 0 && Zn(+_.codepage); L !== v.length; ++L) {
          G = 0;
          var V = v[L].trim()
              .replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g, n)
              .replace(t, r),
            ne = V.replace(/;;/g, "\0")
              .split(";")
              .map(function (A) {
                return A.replace(/\u0000/g, ";");
              }),
            Ae = ne[0],
            ce;
          if (V.length > 0)
            switch (Ae) {
              case "ID":
                break;
              case "E":
                break;
              case "B":
                break;
              case "O":
                break;
              case "W":
                break;
              case "P":
                ne[1].charAt(0) == "P" &&
                  P.push(V.slice(3).replace(/;;/g, ";"));
                break;
              case "C":
                var ze = !1,
                  be = !1,
                  De = !1,
                  pe = !1,
                  qe = -1,
                  at = -1;
                for (O = 1; O < ne.length; ++O)
                  switch (ne[O].charAt(0)) {
                    case "A":
                      break;
                    case "X":
                      (g = parseInt(ne[O].slice(1)) - 1), (be = !0);
                      break;
                    case "Y":
                      for (
                        c = parseInt(ne[O].slice(1)) - 1,
                          be || (g = 0),
                          Y = F.length;
                        Y <= c;
                        ++Y
                      )
                        F[Y] = [];
                      break;
                    case "K":
                      (ce = ne[O].slice(1)),
                        ce.charAt(0) === '"'
                          ? (ce = ce.slice(1, ce.length - 1))
                          : ce === "TRUE"
                          ? (ce = !0)
                          : ce === "FALSE"
                          ? (ce = !1)
                          : isNaN(pr(ce))
                          ? isNaN(Qn(ce).getDate()) || (ce = St(ce))
                          : ((ce = pr(ce)),
                            K !== null && Ro(K) && (ce = No(ce))),
                        (ze = !0);
                      break;
                    case "E":
                      pe = !0;
                      var S = vp(ne[O].slice(1), { r: c, c: g });
                      F[c][g] = [F[c][g], S];
                      break;
                    case "S":
                      (De = !0), (F[c][g] = [F[c][g], "S5S"]);
                      break;
                    case "G":
                      break;
                    case "R":
                      qe = parseInt(ne[O].slice(1)) - 1;
                      break;
                    case "C":
                      at = parseInt(ne[O].slice(1)) - 1;
                      break;
                    default:
                      if (_ && _.WTF) throw new Error("SYLK bad record " + V);
                  }
                if (
                  (ze &&
                    (F[c][g] && F[c][g].length == 2
                      ? (F[c][g][0] = ce)
                      : (F[c][g] = ce),
                    (K = null)),
                  De)
                ) {
                  if (pe)
                    throw new Error(
                      "SYLK shared formula cannot have own formula"
                    );
                  var N = qe > -1 && F[qe][at];
                  if (!N || !N[1])
                    throw new Error("SYLK shared formula cannot find base");
                  F[c][g][1] = gp(N[1], { r: c - qe, c: g - at });
                }
                break;
              case "F":
                var y = 0;
                for (O = 1; O < ne.length; ++O)
                  switch (ne[O].charAt(0)) {
                    case "X":
                      (g = parseInt(ne[O].slice(1)) - 1), ++y;
                      break;
                    case "Y":
                      for (
                        c = parseInt(ne[O].slice(1)) - 1, Y = F.length;
                        Y <= c;
                        ++Y
                      )
                        F[Y] = [];
                      break;
                    case "M":
                      G = parseInt(ne[O].slice(1)) / 20;
                      break;
                    case "F":
                      break;
                    case "G":
                      break;
                    case "P":
                      K = P[parseInt(ne[O].slice(1))];
                      break;
                    case "S":
                      break;
                    case "D":
                      break;
                    case "N":
                      break;
                    case "W":
                      for (
                        M = ne[O].slice(1).split(" "), Y = parseInt(M[0], 10);
                        Y <= parseInt(M[1], 10);
                        ++Y
                      )
                        (G = parseInt(M[2], 10)),
                          (U[Y - 1] = G === 0 ? { hidden: !0 } : { wch: G }),
                          j0(U[Y - 1]);
                      break;
                    case "C":
                      (g = parseInt(ne[O].slice(1)) - 1), U[g] || (U[g] = {});
                      break;
                    case "R":
                      (c = parseInt(ne[O].slice(1)) - 1),
                        R[c] || (R[c] = {}),
                        G > 0
                          ? ((R[c].hpt = G), (R[c].hpx = Tl(G)))
                          : G === 0 && (R[c].hidden = !0);
                      break;
                    default:
                      if (_ && _.WTF) throw new Error("SYLK bad record " + V);
                  }
                y < 1 && (K = null);
                break;
              default:
                if (_ && _.WTF) throw new Error("SYLK bad record " + V);
            }
        }
        return (
          R.length > 0 && (Q["!rows"] = R),
          U.length > 0 && (Q["!cols"] = U),
          _ && _.sheetRows && (F = F.slice(0, _.sheetRows)),
          [F, Q]
        );
      }
      function s(d, _) {
        var v = a(d, _),
          c = v[0],
          g = v[1],
          L = Fn(c, _);
        return (
          ct(g).forEach(function (O) {
            L[O] = g[O];
          }),
          L
        );
      }
      function f(d, _) {
        return qr(s(d, _), _);
      }
      function o(d, _, v, c) {
        var g = "C;Y" + (v + 1) + ";X" + (c + 1) + ";K";
        switch (d.t) {
          case "n":
            (g += d.v || 0), d.f && !d.F && (g += ";E" + K0(d.f, { r: v, c }));
            break;
          case "b":
            g += d.v ? "TRUE" : "FALSE";
            break;
          case "e":
            g += d.w || d.v;
            break;
          case "d":
            g += '"' + (d.w || d.v) + '"';
            break;
          case "s":
            g += '"' + d.v.replace(/"/g, "").replace(/;/g, ";;") + '"';
            break;
        }
        return g;
      }
      function l(d, _) {
        _.forEach(function (v, c) {
          var g = "F;W" + (c + 1) + " " + (c + 1) + " ";
          v.hidden
            ? (g += "0")
            : (typeof v.width == "number" && !v.wpx && (v.wpx = Xa(v.width)),
              typeof v.wpx == "number" && !v.wch && (v.wch = Ka(v.wpx)),
              typeof v.wch == "number" && (g += Math.round(v.wch))),
            g.charAt(g.length - 1) != " " && d.push(g);
        });
      }
      function u(d, _) {
        _.forEach(function (v, c) {
          var g = "F;";
          v.hidden
            ? (g += "M0;")
            : v.hpt
            ? (g += "M" + 20 * v.hpt + ";")
            : v.hpx && (g += "M" + 20 * za(v.hpx) + ";"),
            g.length > 2 && d.push(g + "R" + (c + 1));
        });
      }
      function x(d, _) {
        var v = ["ID;PWXL;N;E"],
          c = [],
          g = Pe(d["!ref"]),
          L,
          O = Array.isArray(d),
          F = `\r
`;
        v.push("P;PGeneral"),
          v.push("F;P0;DG0G8;M255"),
          d["!cols"] && l(v, d["!cols"]),
          d["!rows"] && u(v, d["!rows"]),
          v.push(
            "B;Y" +
              (g.e.r - g.s.r + 1) +
              ";X" +
              (g.e.c - g.s.c + 1) +
              ";D" +
              [g.s.c, g.s.r, g.e.c, g.e.r].join(" ")
          );
        for (var P = g.s.r; P <= g.e.r; ++P)
          for (var K = g.s.c; K <= g.e.c; ++K) {
            var Q = Re({ r: P, c: K });
            (L = O ? (d[P] || [])[K] : d[Q]),
              !(!L || (L.v == null && (!L.f || L.F))) && c.push(o(L, d, P, K));
          }
        return v.join(F) + F + c.join(F) + F + "E" + F;
      }
      return { to_workbook: f, to_sheet: s, from_sheet: x };
    })(),
    E2 = (function () {
      function e(i, s) {
        switch (s.type) {
          case "base64":
            return t(Tr(i), s);
          case "binary":
            return t(i, s);
          case "buffer":
            return t(
              Se && Buffer.isBuffer(i) ? i.toString("binary") : fa(i),
              s
            );
          case "array":
            return t(pi(i), s);
        }
        throw new Error("Unrecognized type " + s.type);
      }
      function t(i, s) {
        for (
          var f = i.split(`
`),
            o = -1,
            l = -1,
            u = 0,
            x = [];
          u !== f.length;
          ++u
        ) {
          if (f[u].trim() === "BOT") {
            (x[++o] = []), (l = 0);
            continue;
          }
          if (!(o < 0)) {
            var d = f[u].trim().split(","),
              _ = d[0],
              v = d[1];
            ++u;
            for (
              var c = f[u] || "";
              (c.match(/["]/g) || []).length & 1 && u < f.length - 1;

            )
              c +=
                `
` + f[++u];
            switch (((c = c.trim()), +_)) {
              case -1:
                if (c === "BOT") {
                  (x[++o] = []), (l = 0);
                  continue;
                } else if (c !== "EOD")
                  throw new Error("Unrecognized DIF special command " + c);
                break;
              case 0:
                c === "TRUE"
                  ? (x[o][l] = !0)
                  : c === "FALSE"
                  ? (x[o][l] = !1)
                  : isNaN(pr(v))
                  ? isNaN(Qn(v).getDate())
                    ? (x[o][l] = v)
                    : (x[o][l] = St(v))
                  : (x[o][l] = pr(v)),
                  ++l;
                break;
              case 1:
                (c = c.slice(1, c.length - 1)),
                  (c = c.replace(/""/g, '"')),
                  c && c.match(/^=".*"$/) && (c = c.slice(2, -1)),
                  (x[o][l++] = c !== "" ? c : null);
                break;
            }
            if (c === "EOD") break;
          }
        }
        return s && s.sheetRows && (x = x.slice(0, s.sheetRows)), x;
      }
      function r(i, s) {
        return Fn(e(i, s), s);
      }
      function n(i, s) {
        return qr(r(i, s), s);
      }
      var a = (function () {
        var i = function (o, l, u, x, d) {
            o.push(l),
              o.push(u + "," + x),
              o.push('"' + d.replace(/"/g, '""') + '"');
          },
          s = function (o, l, u, x) {
            o.push(l + "," + u),
              o.push(l == 1 ? '"' + x.replace(/"/g, '""') + '"' : x);
          };
        return function (o) {
          var l = [],
            u = Pe(o["!ref"]),
            x,
            d = Array.isArray(o);
          i(l, "TABLE", 0, 1, "sheetjs"),
            i(l, "VECTORS", 0, u.e.r - u.s.r + 1, ""),
            i(l, "TUPLES", 0, u.e.c - u.s.c + 1, ""),
            i(l, "DATA", 0, 0, "");
          for (var _ = u.s.r; _ <= u.e.r; ++_) {
            s(l, -1, 0, "BOT");
            for (var v = u.s.c; v <= u.e.c; ++v) {
              var c = Re({ r: _, c: v });
              if (((x = d ? (o[_] || [])[v] : o[c]), !x)) {
                s(l, 1, 0, "");
                continue;
              }
              switch (x.t) {
                case "n":
                  var g = x.w;
                  !g && x.v != null && (g = x.v),
                    g == null
                      ? x.f && !x.F
                        ? s(l, 1, 0, "=" + x.f)
                        : s(l, 1, 0, "")
                      : s(l, 0, g, "V");
                  break;
                case "b":
                  s(l, 0, x.v ? 1 : 0, x.v ? "TRUE" : "FALSE");
                  break;
                case "s":
                  s(l, 1, 0, isNaN(x.v) ? x.v : '="' + x.v + '"');
                  break;
                case "d":
                  x.w || (x.w = Ir(x.z || Ve[14], Lt(St(x.v)))),
                    s(l, 0, x.w, "V");
                  break;
                default:
                  s(l, 1, 0, "");
              }
            }
          }
          s(l, -1, 0, "EOD");
          var L = `\r
`,
            O = l.join(L);
          return O;
        };
      })();
      return { to_workbook: n, to_sheet: r, from_sheet: a };
    })(),
    ml = (function () {
      function e(x) {
        return x
          .replace(/\\b/g, "\\")
          .replace(/\\c/g, ":")
          .replace(
            /\\n/g,
            `
`
          );
      }
      function t(x) {
        return x
          .replace(/\\/g, "\\b")
          .replace(/:/g, "\\c")
          .replace(/\n/g, "\\n");
      }
      function r(x, d) {
        for (
          var _ = x.split(`
`),
            v = -1,
            c = -1,
            g = 0,
            L = [];
          g !== _.length;
          ++g
        ) {
          var O = _[g].trim().split(":");
          if (O[0] === "cell") {
            var F = rt(O[1]);
            if (L.length <= F.r)
              for (v = L.length; v <= F.r; ++v) L[v] || (L[v] = []);
            switch (((v = F.r), (c = F.c), O[2])) {
              case "t":
                L[v][c] = e(O[3]);
                break;
              case "v":
                L[v][c] = +O[3];
                break;
              case "vtf":
                var P = O[O.length - 1];
              case "vtc":
                switch (O[3]) {
                  case "nl":
                    L[v][c] = !!+O[4];
                    break;
                  default:
                    L[v][c] = +O[4];
                    break;
                }
                O[2] == "vtf" && (L[v][c] = [L[v][c], P]);
            }
          }
        }
        return d && d.sheetRows && (L = L.slice(0, d.sheetRows)), L;
      }
      function n(x, d) {
        return Fn(r(x, d), d);
      }
      function a(x, d) {
        return qr(n(x, d), d);
      }
      var i = [
          "socialcalc:version:1.5",
          "MIME-Version: 1.0",
          "Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave",
        ].join(`
`),
        s =
          [
            "--SocialCalcSpreadsheetControlSave",
            "Content-type: text/plain; charset=UTF-8",
          ].join(`
`) +
          `
`,
        f = ["# SocialCalc Spreadsheet Control Save", "part:sheet"].join(`
`),
        o = "--SocialCalcSpreadsheetControlSave--";
      function l(x) {
        if (!x || !x["!ref"]) return "";
        for (
          var d = [],
            _ = [],
            v,
            c = "",
            g = kt(x["!ref"]),
            L = Array.isArray(x),
            O = g.s.r;
          O <= g.e.r;
          ++O
        )
          for (var F = g.s.c; F <= g.e.c; ++F)
            if (
              ((c = Re({ r: O, c: F })),
              (v = L ? (x[O] || [])[F] : x[c]),
              !(!v || v.v == null || v.t === "z"))
            ) {
              switch (((_ = ["cell", c, "t"]), v.t)) {
                case "s":
                case "str":
                  _.push(t(v.v));
                  break;
                case "n":
                  v.f
                    ? ((_[2] = "vtf"),
                      (_[3] = "n"),
                      (_[4] = v.v),
                      (_[5] = t(v.f)))
                    : ((_[2] = "v"), (_[3] = v.v));
                  break;
                case "b":
                  (_[2] = "vt" + (v.f ? "f" : "c")),
                    (_[3] = "nl"),
                    (_[4] = v.v ? "1" : "0"),
                    (_[5] = t(v.f || (v.v ? "TRUE" : "FALSE")));
                  break;
                case "d":
                  var P = Lt(St(v.v));
                  (_[2] = "vtc"),
                    (_[3] = "nd"),
                    (_[4] = "" + P),
                    (_[5] = v.w || Ir(v.z || Ve[14], P));
                  break;
                case "e":
                  continue;
              }
              d.push(_.join(":"));
            }
        return (
          d.push(
            "sheet:c:" +
              (g.e.c - g.s.c + 1) +
              ":r:" +
              (g.e.r - g.s.r + 1) +
              ":tvf:1"
          ),
          d.push("valueformat:1:text-wiki"),
          d.join(`
`)
        );
      }
      function u(x) {
        return [i, s, f, s, l(x), o].join(`
`);
      }
      return { to_workbook: a, to_sheet: n, from_sheet: u };
    })(),
    w2 = (function () {
      function e(u, x, d, _, v) {
        v.raw
          ? (x[d][_] = u)
          : u === "" ||
            (u === "TRUE"
              ? (x[d][_] = !0)
              : u === "FALSE"
              ? (x[d][_] = !1)
              : isNaN(pr(u))
              ? isNaN(Qn(u).getDate())
                ? (x[d][_] = u)
                : (x[d][_] = St(u))
              : (x[d][_] = pr(u)));
      }
      function t(u, x) {
        var d = x || {},
          _ = [];
        if (!u || u.length === 0) return _;
        for (
          var v = u.split(/[\r\n]/), c = v.length - 1;
          c >= 0 && v[c].length === 0;

        )
          --c;
        for (var g = 10, L = 0, O = 0; O <= c; ++O)
          (L = v[O].indexOf(" ")),
            L == -1 ? (L = v[O].length) : L++,
            (g = Math.max(g, L));
        for (O = 0; O <= c; ++O) {
          _[O] = [];
          var F = 0;
          for (
            e(v[O].slice(0, g).trim(), _, O, F, d), F = 1;
            F <= (v[O].length - g) / 10 + 1;
            ++F
          )
            e(v[O].slice(g + (F - 1) * 10, g + F * 10).trim(), _, O, F, d);
        }
        return d.sheetRows && (_ = _.slice(0, d.sheetRows)), _;
      }
      var r = { 44: ",", 9: "	", 59: ";", 124: "|" },
        n = { 44: 3, 9: 2, 59: 1, 124: 0 };
      function a(u) {
        for (var x = {}, d = !1, _ = 0, v = 0; _ < u.length; ++_)
          (v = u.charCodeAt(_)) == 34
            ? (d = !d)
            : !d && v in r && (x[v] = (x[v] || 0) + 1);
        v = [];
        for (_ in x)
          Object.prototype.hasOwnProperty.call(x, _) && v.push([x[_], _]);
        if (!v.length) {
          x = n;
          for (_ in x)
            Object.prototype.hasOwnProperty.call(x, _) && v.push([x[_], _]);
        }
        return (
          v.sort(function (c, g) {
            return c[0] - g[0] || n[c[1]] - n[g[1]];
          }),
          r[v.pop()[1]] || 44
        );
      }
      function i(u, x) {
        var d = x || {},
          _ = "",
          v = d.dense ? [] : {},
          c = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } };
        u.slice(0, 4) == "sep="
          ? u.charCodeAt(5) == 13 && u.charCodeAt(6) == 10
            ? ((_ = u.charAt(4)), (u = u.slice(7)))
            : u.charCodeAt(5) == 13 || u.charCodeAt(5) == 10
            ? ((_ = u.charAt(4)), (u = u.slice(6)))
            : (_ = a(u.slice(0, 1024)))
          : d && d.FS
          ? (_ = d.FS)
          : (_ = a(u.slice(0, 1024)));
        var g = 0,
          L = 0,
          O = 0,
          F = 0,
          P = 0,
          K = _.charCodeAt(0),
          Q = !1,
          R = 0,
          U = u.charCodeAt(0);
        u = u.replace(
          /\r\n/gm,
          `
`
        );
        var M = d.dateNF != null ? bx(d.dateNF) : null;
        function G() {
          var Y = u.slice(F, P),
            V = {};
          if (
            (Y.charAt(0) == '"' &&
              Y.charAt(Y.length - 1) == '"' &&
              (Y = Y.slice(1, -1).replace(/""/g, '"')),
            Y.length === 0)
          )
            V.t = "z";
          else if (d.raw) (V.t = "s"), (V.v = Y);
          else if (Y.trim().length === 0) (V.t = "s"), (V.v = Y);
          else if (Y.charCodeAt(0) == 61)
            Y.charCodeAt(1) == 34 && Y.charCodeAt(Y.length - 1) == 34
              ? ((V.t = "s"), (V.v = Y.slice(2, -1).replace(/""/g, '"')))
              : Tp(Y)
              ? ((V.t = "n"), (V.f = Y.slice(1)))
              : ((V.t = "s"), (V.v = Y));
          else if (Y == "TRUE") (V.t = "b"), (V.v = !0);
          else if (Y == "FALSE") (V.t = "b"), (V.v = !1);
          else if (!isNaN((O = pr(Y))))
            (V.t = "n"), d.cellText !== !1 && (V.w = Y), (V.v = O);
          else if (!isNaN(Qn(Y).getDate()) || (M && Y.match(M))) {
            V.z = d.dateNF || Ve[14];
            var ne = 0;
            M &&
              Y.match(M) &&
              ((Y = Ux(Y, d.dateNF, Y.match(M) || [])), (ne = 1)),
              d.cellDates
                ? ((V.t = "d"), (V.v = St(Y, ne)))
                : ((V.t = "n"), (V.v = Lt(St(Y, ne)))),
              d.cellText !== !1 &&
                (V.w = Ir(V.z, V.v instanceof Date ? Lt(V.v) : V.v)),
              d.cellNF || delete V.z;
          } else (V.t = "s"), (V.v = Y);
          if (
            (V.t == "z" ||
              (d.dense
                ? (v[g] || (v[g] = []), (v[g][L] = V))
                : (v[Re({ c: L, r: g })] = V)),
            (F = P + 1),
            (U = u.charCodeAt(F)),
            c.e.c < L && (c.e.c = L),
            c.e.r < g && (c.e.r = g),
            R == K)
          )
            ++L;
          else if (((L = 0), ++g, d.sheetRows && d.sheetRows <= g)) return !0;
        }
        e: for (; P < u.length; ++P)
          switch ((R = u.charCodeAt(P))) {
            case 34:
              U === 34 && (Q = !Q);
              break;
            case K:
            case 10:
            case 13:
              if (!Q && G()) break e;
              break;
          }
        return P - F > 0 && G(), (v["!ref"] = Xe(c)), v;
      }
      function s(u, x) {
        return !(x && x.PRN) ||
          x.FS ||
          u.slice(0, 4) == "sep=" ||
          u.indexOf("	") >= 0 ||
          u.indexOf(",") >= 0 ||
          u.indexOf(";") >= 0
          ? i(u, x)
          : Fn(t(u, x), x);
      }
      function f(u, x) {
        var d = "",
          _ = x.type == "string" ? [0, 0, 0, 0] : kE(u, x);
        switch (x.type) {
          case "base64":
            d = Tr(u);
            break;
          case "binary":
            d = u;
            break;
          case "buffer":
            x.codepage == 65001
              ? (d = u.toString("utf8"))
              : x.codepage && typeof Wr != "undefined"
              ? (d = Wr.utils.decode(x.codepage, u))
              : (d = Se && Buffer.isBuffer(u) ? u.toString("binary") : fa(u));
            break;
          case "array":
            d = pi(u);
            break;
          case "string":
            d = u;
            break;
          default:
            throw new Error("Unrecognized type " + x.type);
        }
        return (
          _[0] == 239 && _[1] == 187 && _[2] == 191
            ? (d = Yn(d.slice(3)))
            : x.type != "string" && x.type != "buffer" && x.codepage == 65001
            ? (d = Yn(d))
            : x.type == "binary" &&
              typeof Wr != "undefined" &&
              x.codepage &&
              (d = Wr.utils.decode(x.codepage, Wr.utils.encode(28591, d))),
          d.slice(0, 19) == "socialcalc:version:"
            ? ml.to_sheet(x.type == "string" ? d : Yn(d), x)
            : s(d, x)
        );
      }
      function o(u, x) {
        return qr(f(u, x), x);
      }
      function l(u) {
        for (
          var x = [], d = Pe(u["!ref"]), _, v = Array.isArray(u), c = d.s.r;
          c <= d.e.r;
          ++c
        ) {
          for (var g = [], L = d.s.c; L <= d.e.c; ++L) {
            var O = Re({ r: c, c: L });
            if (((_ = v ? (u[c] || [])[L] : u[O]), !_ || _.v == null)) {
              g.push("          ");
              continue;
            }
            for (
              var F = (_.w || (Er(_), _.w) || "").slice(0, 10);
              F.length < 10;

            )
              F += " ";
            g.push(F + (L === 0 ? " " : ""));
          }
          x.push(g.join(""));
        }
        return x.join(`
`);
      }
      return { to_workbook: o, to_sheet: f, from_sheet: l };
    })(),
    af = (function () {
      function e(S, N, y) {
        if (!!S) {
          Ct(S, S.l || 0);
          for (var A = y.Enum || qe; S.l < S.length; ) {
            var H = S.read_shift(2),
              oe = A[H] || A[65535],
              le = S.read_shift(2),
              te = S.l + le,
              ee = oe.f && oe.f(S, le, y);
            if (((S.l = te), N(ee, oe, H))) return;
          }
        }
      }
      function t(S, N) {
        switch (N.type) {
          case "base64":
            return r($t(Tr(S)), N);
          case "binary":
            return r($t(S), N);
          case "buffer":
          case "array":
            return r(S, N);
        }
        throw "Unsupported type " + N.type;
      }
      function r(S, N) {
        if (!S) return S;
        var y = N || {},
          A = y.dense ? [] : {},
          H = "Sheet1",
          oe = "",
          le = 0,
          te = {},
          ee = [],
          Ne = [],
          ge = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } },
          Tt = y.sheetRows || 0;
        if (
          S[2] == 0 &&
          (S[3] == 8 || S[3] == 9) &&
          S.length >= 16 &&
          S[14] == 5 &&
          S[15] === 108
        )
          throw new Error("Unsupported Works 3 for Mac file");
        if (S[2] == 2)
          (y.Enum = qe),
            e(
              S,
              function (fe, Pt, or) {
                switch (or) {
                  case 0:
                    (y.vers = fe), fe >= 4096 && (y.qpro = !0);
                    break;
                  case 6:
                    ge = fe;
                    break;
                  case 204:
                    fe && (oe = fe);
                    break;
                  case 222:
                    oe = fe;
                    break;
                  case 15:
                  case 51:
                    y.qpro || (fe[1].v = fe[1].v.slice(1));
                  case 13:
                  case 14:
                  case 16:
                    or == 14 &&
                      (fe[2] & 112) == 112 &&
                      (fe[2] & 15) > 1 &&
                      (fe[2] & 15) < 15 &&
                      ((fe[1].z = y.dateNF || Ve[14]),
                      y.cellDates &&
                        ((fe[1].t = "d"), (fe[1].v = No(fe[1].v)))),
                      y.qpro &&
                        fe[3] > le &&
                        ((A["!ref"] = Xe(ge)),
                        (te[H] = A),
                        ee.push(H),
                        (A = y.dense ? [] : {}),
                        (ge = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }),
                        (le = fe[3]),
                        (H = oe || "Sheet" + (le + 1)),
                        (oe = ""));
                    var Mr = y.dense
                      ? (A[fe[0].r] || [])[fe[0].c]
                      : A[Re(fe[0])];
                    if (Mr) {
                      (Mr.t = fe[1].t),
                        (Mr.v = fe[1].v),
                        fe[1].z != null && (Mr.z = fe[1].z),
                        fe[1].f != null && (Mr.f = fe[1].f);
                      break;
                    }
                    y.dense
                      ? (A[fe[0].r] || (A[fe[0].r] = []),
                        (A[fe[0].r][fe[0].c] = fe[1]))
                      : (A[Re(fe[0])] = fe[1]);
                    break;
                }
              },
              y
            );
        else if (S[2] == 26 || S[2] == 14)
          (y.Enum = at),
            S[2] == 14 && ((y.qpro = !0), (S.l = 0)),
            e(
              S,
              function (fe, Pt, or) {
                switch (or) {
                  case 204:
                    H = fe;
                    break;
                  case 22:
                    fe[1].v = fe[1].v.slice(1);
                  case 23:
                  case 24:
                  case 25:
                  case 37:
                  case 39:
                  case 40:
                    if (
                      (fe[3] > le &&
                        ((A["!ref"] = Xe(ge)),
                        (te[H] = A),
                        ee.push(H),
                        (A = y.dense ? [] : {}),
                        (ge = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }),
                        (le = fe[3]),
                        (H = "Sheet" + (le + 1))),
                      Tt > 0 && fe[0].r >= Tt)
                    )
                      break;
                    y.dense
                      ? (A[fe[0].r] || (A[fe[0].r] = []),
                        (A[fe[0].r][fe[0].c] = fe[1]))
                      : (A[Re(fe[0])] = fe[1]),
                      ge.e.c < fe[0].c && (ge.e.c = fe[0].c),
                      ge.e.r < fe[0].r && (ge.e.r = fe[0].r);
                    break;
                  case 27:
                    fe[14e3] && (Ne[fe[14e3][0]] = fe[14e3][1]);
                    break;
                  case 1537:
                    (Ne[fe[0]] = fe[1]), fe[0] == le && (H = fe[1]);
                    break;
                }
              },
              y
            );
        else throw new Error("Unrecognized LOTUS BOF " + S[2]);
        if (
          ((A["!ref"] = Xe(ge)),
          (te[oe || H] = A),
          ee.push(oe || H),
          !Ne.length)
        )
          return { SheetNames: ee, Sheets: te };
        for (var ye = {}, fr = [], Ye = 0; Ye < Ne.length; ++Ye)
          te[ee[Ye]]
            ? (fr.push(Ne[Ye] || ee[Ye]),
              (ye[Ne[Ye]] = te[Ne[Ye]] || te[ee[Ye]]))
            : (fr.push(Ne[Ye]), (ye[Ne[Ye]] = { "!ref": "A1" }));
        return { SheetNames: fr, Sheets: ye };
      }
      function n(S, N) {
        var y = N || {};
        if ((+y.codepage >= 0 && Zn(+y.codepage), y.type == "string"))
          throw new Error("Cannot write WK1 to JS string");
        var A = Ft(),
          H = Pe(S["!ref"]),
          oe = Array.isArray(S),
          le = [];
        Z(A, 0, i(1030)), Z(A, 6, o(H));
        for (var te = Math.min(H.e.r, 8191), ee = H.s.r; ee <= te; ++ee)
          for (var Ne = ut(ee), ge = H.s.c; ge <= H.e.c; ++ge) {
            ee === H.s.r && (le[ge] = mt(ge));
            var Tt = le[ge] + Ne,
              ye = oe ? (S[ee] || [])[ge] : S[Tt];
            if (!(!ye || ye.t == "z"))
              if (ye.t == "n")
                (ye.v | 0) == ye.v && ye.v >= -32768 && ye.v <= 32767
                  ? Z(A, 13, _(ee, ge, ye.v))
                  : Z(A, 14, c(ee, ge, ye.v));
              else {
                var fr = Er(ye);
                Z(A, 15, x(ee, ge, fr.slice(0, 239)));
              }
          }
        return Z(A, 1), A.end();
      }
      function a(S, N) {
        var y = N || {};
        if ((+y.codepage >= 0 && Zn(+y.codepage), y.type == "string"))
          throw new Error("Cannot write WK3 to JS string");
        var A = Ft();
        Z(A, 0, s(S));
        for (var H = 0, oe = 0; H < S.SheetNames.length; ++H)
          (S.Sheets[S.SheetNames[H]] || {})["!ref"] &&
            Z(A, 27, pe(S.SheetNames[H], oe++));
        var le = 0;
        for (H = 0; H < S.SheetNames.length; ++H) {
          var te = S.Sheets[S.SheetNames[H]];
          if (!(!te || !te["!ref"])) {
            for (
              var ee = Pe(te["!ref"]),
                Ne = Array.isArray(te),
                ge = [],
                Tt = Math.min(ee.e.r, 8191),
                ye = ee.s.r;
              ye <= Tt;
              ++ye
            )
              for (var fr = ut(ye), Ye = ee.s.c; Ye <= ee.e.c; ++Ye) {
                ye === ee.s.r && (ge[Ye] = mt(Ye));
                var fe = ge[Ye] + fr,
                  Pt = Ne ? (te[ye] || [])[Ye] : te[fe];
                if (!(!Pt || Pt.t == "z"))
                  if (Pt.t == "n") Z(A, 23, G(ye, Ye, le, Pt.v));
                  else {
                    var or = Er(Pt);
                    Z(A, 22, R(ye, Ye, le, or.slice(0, 239)));
                  }
              }
            ++le;
          }
        }
        return Z(A, 1), A.end();
      }
      function i(S) {
        var N = B(2);
        return N.write_shift(2, S), N;
      }
      function s(S) {
        var N = B(26);
        N.write_shift(2, 4096), N.write_shift(2, 4), N.write_shift(4, 0);
        for (var y = 0, A = 0, H = 0, oe = 0; oe < S.SheetNames.length; ++oe) {
          var le = S.SheetNames[oe],
            te = S.Sheets[le];
          if (!(!te || !te["!ref"])) {
            ++H;
            var ee = kt(te["!ref"]);
            y < ee.e.r && (y = ee.e.r), A < ee.e.c && (A = ee.e.c);
          }
        }
        return (
          y > 8191 && (y = 8191),
          N.write_shift(2, y),
          N.write_shift(1, H),
          N.write_shift(1, A),
          N.write_shift(2, 0),
          N.write_shift(2, 0),
          N.write_shift(1, 1),
          N.write_shift(1, 2),
          N.write_shift(4, 0),
          N.write_shift(4, 0),
          N
        );
      }
      function f(S, N, y) {
        var A = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } };
        return N == 8 && y.qpro
          ? ((A.s.c = S.read_shift(1)),
            S.l++,
            (A.s.r = S.read_shift(2)),
            (A.e.c = S.read_shift(1)),
            S.l++,
            (A.e.r = S.read_shift(2)),
            A)
          : ((A.s.c = S.read_shift(2)),
            (A.s.r = S.read_shift(2)),
            N == 12 && y.qpro && (S.l += 2),
            (A.e.c = S.read_shift(2)),
            (A.e.r = S.read_shift(2)),
            N == 12 && y.qpro && (S.l += 2),
            A.s.c == 65535 && (A.s.c = A.e.c = A.s.r = A.e.r = 0),
            A);
      }
      function o(S) {
        var N = B(8);
        return (
          N.write_shift(2, S.s.c),
          N.write_shift(2, S.s.r),
          N.write_shift(2, S.e.c),
          N.write_shift(2, S.e.r),
          N
        );
      }
      function l(S, N, y) {
        var A = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0, 0];
        return (
          y.qpro && y.vers != 20768
            ? ((A[0].c = S.read_shift(1)),
              (A[3] = S.read_shift(1)),
              (A[0].r = S.read_shift(2)),
              (S.l += 2))
            : ((A[2] = S.read_shift(1)),
              (A[0].c = S.read_shift(2)),
              (A[0].r = S.read_shift(2))),
          A
        );
      }
      function u(S, N, y) {
        var A = S.l + N,
          H = l(S, N, y);
        if (((H[1].t = "s"), y.vers == 20768)) {
          S.l++;
          var oe = S.read_shift(1);
          return (H[1].v = S.read_shift(oe, "utf8")), H;
        }
        return y.qpro && S.l++, (H[1].v = S.read_shift(A - S.l, "cstr")), H;
      }
      function x(S, N, y) {
        var A = B(7 + y.length);
        A.write_shift(1, 255),
          A.write_shift(2, N),
          A.write_shift(2, S),
          A.write_shift(1, 39);
        for (var H = 0; H < A.length; ++H) {
          var oe = y.charCodeAt(H);
          A.write_shift(1, oe >= 128 ? 95 : oe);
        }
        return A.write_shift(1, 0), A;
      }
      function d(S, N, y) {
        var A = l(S, N, y);
        return (A[1].v = S.read_shift(2, "i")), A;
      }
      function _(S, N, y) {
        var A = B(7);
        return (
          A.write_shift(1, 255),
          A.write_shift(2, N),
          A.write_shift(2, S),
          A.write_shift(2, y, "i"),
          A
        );
      }
      function v(S, N, y) {
        var A = l(S, N, y);
        return (A[1].v = S.read_shift(8, "f")), A;
      }
      function c(S, N, y) {
        var A = B(13);
        return (
          A.write_shift(1, 255),
          A.write_shift(2, N),
          A.write_shift(2, S),
          A.write_shift(8, y, "f"),
          A
        );
      }
      function g(S, N, y) {
        var A = S.l + N,
          H = l(S, N, y);
        if (((H[1].v = S.read_shift(8, "f")), y.qpro)) S.l = A;
        else {
          var oe = S.read_shift(2);
          P(S.slice(S.l, S.l + oe), H), (S.l += oe);
        }
        return H;
      }
      function L(S, N, y) {
        var A = N & 32768;
        return (
          (N &= -32769),
          (N = (A ? S : 0) + (N >= 8192 ? N - 16384 : N)),
          (A ? "" : "$") + (y ? mt(N) : ut(N))
        );
      }
      var O = {
          51: ["FALSE", 0],
          52: ["TRUE", 0],
          70: ["LEN", 1],
          80: ["SUM", 69],
          81: ["AVERAGEA", 69],
          82: ["COUNTA", 69],
          83: ["MINA", 69],
          84: ["MAXA", 69],
          111: ["T", 1],
        },
        F = [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "+",
          "-",
          "*",
          "/",
          "^",
          "=",
          "<>",
          "<=",
          ">=",
          "<",
          ">",
          "",
          "",
          "",
          "",
          "&",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
        ];
      function P(S, N) {
        Ct(S, 0);
        for (
          var y = [], A = 0, H = "", oe = "", le = "", te = "";
          S.l < S.length;

        ) {
          var ee = S[S.l++];
          switch (ee) {
            case 0:
              y.push(S.read_shift(8, "f"));
              break;
            case 1:
              (oe = L(N[0].c, S.read_shift(2), !0)),
                (H = L(N[0].r, S.read_shift(2), !1)),
                y.push(oe + H);
              break;
            case 2:
              {
                var Ne = L(N[0].c, S.read_shift(2), !0),
                  ge = L(N[0].r, S.read_shift(2), !1);
                (oe = L(N[0].c, S.read_shift(2), !0)),
                  (H = L(N[0].r, S.read_shift(2), !1)),
                  y.push(Ne + ge + ":" + oe + H);
              }
              break;
            case 3:
              if (S.l < S.length) {
                console.error("WK1 premature formula end");
                return;
              }
              break;
            case 4:
              y.push("(" + y.pop() + ")");
              break;
            case 5:
              y.push(S.read_shift(2));
              break;
            case 6:
              {
                for (var Tt = ""; (ee = S[S.l++]); )
                  Tt += String.fromCharCode(ee);
                y.push('"' + Tt.replace(/"/g, '""') + '"');
              }
              break;
            case 8:
              y.push("-" + y.pop());
              break;
            case 23:
              y.push("+" + y.pop());
              break;
            case 22:
              y.push("NOT(" + y.pop() + ")");
              break;
            case 20:
            case 21:
              (te = y.pop()),
                (le = y.pop()),
                y.push(["AND", "OR"][ee - 20] + "(" + le + "," + te + ")");
              break;
            default:
              if (ee < 32 && F[ee])
                (te = y.pop()), (le = y.pop()), y.push(le + F[ee] + te);
              else if (O[ee]) {
                if (((A = O[ee][1]), A == 69 && (A = S[S.l++]), A > y.length)) {
                  console.error(
                    "WK1 bad formula parse 0x" +
                      ee.toString(16) +
                      ":|" +
                      y.join("|") +
                      "|"
                  );
                  return;
                }
                var ye = y.slice(-A);
                (y.length -= A), y.push(O[ee][0] + "(" + ye.join(",") + ")");
              } else
                return ee <= 7
                  ? console.error("WK1 invalid opcode " + ee.toString(16))
                  : ee <= 24
                  ? console.error("WK1 unsupported op " + ee.toString(16))
                  : ee <= 30
                  ? console.error("WK1 invalid opcode " + ee.toString(16))
                  : ee <= 115
                  ? console.error(
                      "WK1 unsupported function opcode " + ee.toString(16)
                    )
                  : console.error("WK1 unrecognized opcode " + ee.toString(16));
          }
        }
        y.length == 1
          ? (N[1].f = "" + y[0])
          : console.error("WK1 bad formula parse |" + y.join("|") + "|");
      }
      function K(S) {
        var N = [{ c: 0, r: 0 }, { t: "n", v: 0 }, 0];
        return (
          (N[0].r = S.read_shift(2)), (N[3] = S[S.l++]), (N[0].c = S[S.l++]), N
        );
      }
      function Q(S, N) {
        var y = K(S);
        return (y[1].t = "s"), (y[1].v = S.read_shift(N - 4, "cstr")), y;
      }
      function R(S, N, y, A) {
        var H = B(6 + A.length);
        H.write_shift(2, S),
          H.write_shift(1, y),
          H.write_shift(1, N),
          H.write_shift(1, 39);
        for (var oe = 0; oe < A.length; ++oe) {
          var le = A.charCodeAt(oe);
          H.write_shift(1, le >= 128 ? 95 : le);
        }
        return H.write_shift(1, 0), H;
      }
      function U(S, N) {
        var y = K(S);
        y[1].v = S.read_shift(2);
        var A = y[1].v >> 1;
        if (y[1].v & 1)
          switch (A & 7) {
            case 0:
              A = (A >> 3) * 5e3;
              break;
            case 1:
              A = (A >> 3) * 500;
              break;
            case 2:
              A = (A >> 3) / 20;
              break;
            case 3:
              A = (A >> 3) / 200;
              break;
            case 4:
              A = (A >> 3) / 2e3;
              break;
            case 5:
              A = (A >> 3) / 2e4;
              break;
            case 6:
              A = (A >> 3) / 16;
              break;
            case 7:
              A = (A >> 3) / 64;
              break;
          }
        return (y[1].v = A), y;
      }
      function M(S, N) {
        var y = K(S),
          A = S.read_shift(4),
          H = S.read_shift(4),
          oe = S.read_shift(2);
        if (oe == 65535)
          return (
            A === 0 && H === 3221225472
              ? ((y[1].t = "e"), (y[1].v = 15))
              : A === 0 && H === 3489660928
              ? ((y[1].t = "e"), (y[1].v = 42))
              : (y[1].v = 0),
            y
          );
        var le = oe & 32768;
        return (
          (oe = (oe & 32767) - 16446),
          (y[1].v =
            (1 - le * 2) * (H * Math.pow(2, oe + 32) + A * Math.pow(2, oe))),
          y
        );
      }
      function G(S, N, y, A) {
        var H = B(14);
        if (
          (H.write_shift(2, S),
          H.write_shift(1, y),
          H.write_shift(1, N),
          A == 0)
        )
          return (
            H.write_shift(4, 0), H.write_shift(4, 0), H.write_shift(2, 65535), H
          );
        var oe = 0,
          le = 0,
          te = 0,
          ee = 0;
        return (
          A < 0 && ((oe = 1), (A = -A)),
          (le = Math.log2(A) | 0),
          (A /= Math.pow(2, le - 31)),
          (ee = A >>> 0),
          (ee & 2147483648) == 0 && ((A /= 2), ++le, (ee = A >>> 0)),
          (A -= ee),
          (ee |= 2147483648),
          (ee >>>= 0),
          (A *= Math.pow(2, 32)),
          (te = A >>> 0),
          H.write_shift(4, te),
          H.write_shift(4, ee),
          (le += 16383 + (oe ? 32768 : 0)),
          H.write_shift(2, le),
          H
        );
      }
      function Y(S, N) {
        var y = M(S);
        return (S.l += N - 14), y;
      }
      function V(S, N) {
        var y = K(S),
          A = S.read_shift(4);
        return (y[1].v = A >> 6), y;
      }
      function ne(S, N) {
        var y = K(S),
          A = S.read_shift(8, "f");
        return (y[1].v = A), y;
      }
      function Ae(S, N) {
        var y = ne(S);
        return (S.l += N - 10), y;
      }
      function ce(S, N) {
        return S[S.l + N - 1] == 0 ? S.read_shift(N, "cstr") : "";
      }
      function ze(S, N) {
        var y = S[S.l++];
        y > N - 1 && (y = N - 1);
        for (var A = ""; A.length < y; ) A += String.fromCharCode(S[S.l++]);
        return A;
      }
      function be(S, N, y) {
        if (!(!y.qpro || N < 21)) {
          var A = S.read_shift(1);
          (S.l += 17), (S.l += 1), (S.l += 2);
          var H = S.read_shift(N - 21, "cstr");
          return [A, H];
        }
      }
      function De(S, N) {
        for (var y = {}, A = S.l + N; S.l < A; ) {
          var H = S.read_shift(2);
          if (H == 14e3) {
            for (y[H] = [0, ""], y[H][0] = S.read_shift(2); S[S.l]; )
              (y[H][1] += String.fromCharCode(S[S.l])), S.l++;
            S.l++;
          }
        }
        return y;
      }
      function pe(S, N) {
        var y = B(5 + S.length);
        y.write_shift(2, 14e3), y.write_shift(2, N);
        for (var A = 0; A < S.length; ++A) {
          var H = S.charCodeAt(A);
          y[y.l++] = H > 127 ? 95 : H;
        }
        return (y[y.l++] = 0), y;
      }
      var qe = {
          0: { n: "BOF", f: cl },
          1: { n: "EOF" },
          2: { n: "CALCMODE" },
          3: { n: "CALCORDER" },
          4: { n: "SPLIT" },
          5: { n: "SYNC" },
          6: { n: "RANGE", f },
          7: { n: "WINDOW1" },
          8: { n: "COLW1" },
          9: { n: "WINTWO" },
          10: { n: "COLW2" },
          11: { n: "NAME" },
          12: { n: "BLANK" },
          13: { n: "INTEGER", f: d },
          14: { n: "NUMBER", f: v },
          15: { n: "LABEL", f: u },
          16: { n: "FORMULA", f: g },
          24: { n: "TABLE" },
          25: { n: "ORANGE" },
          26: { n: "PRANGE" },
          27: { n: "SRANGE" },
          28: { n: "FRANGE" },
          29: { n: "KRANGE1" },
          32: { n: "HRANGE" },
          35: { n: "KRANGE2" },
          36: { n: "PROTEC" },
          37: { n: "FOOTER" },
          38: { n: "HEADER" },
          39: { n: "SETUP" },
          40: { n: "MARGINS" },
          41: { n: "LABELFMT" },
          42: { n: "TITLES" },
          43: { n: "SHEETJS" },
          45: { n: "GRAPH" },
          46: { n: "NGRAPH" },
          47: { n: "CALCCOUNT" },
          48: { n: "UNFORMATTED" },
          49: { n: "CURSORW12" },
          50: { n: "WINDOW" },
          51: { n: "STRING", f: u },
          55: { n: "PASSWORD" },
          56: { n: "LOCKED" },
          60: { n: "QUERY" },
          61: { n: "QUERYNAME" },
          62: { n: "PRINT" },
          63: { n: "PRINTNAME" },
          64: { n: "GRAPH2" },
          65: { n: "GRAPHNAME" },
          66: { n: "ZOOM" },
          67: { n: "SYMSPLIT" },
          68: { n: "NSROWS" },
          69: { n: "NSCOLS" },
          70: { n: "RULER" },
          71: { n: "NNAME" },
          72: { n: "ACOMM" },
          73: { n: "AMACRO" },
          74: { n: "PARSE" },
          102: { n: "PRANGES??" },
          103: { n: "RRANGES??" },
          104: { n: "FNAME??" },
          105: { n: "MRANGES??" },
          204: { n: "SHEETNAMECS", f: ce },
          222: { n: "SHEETNAMELP", f: ze },
          65535: { n: "" },
        },
        at = {
          0: { n: "BOF" },
          1: { n: "EOF" },
          2: { n: "PASSWORD" },
          3: { n: "CALCSET" },
          4: { n: "WINDOWSET" },
          5: { n: "SHEETCELLPTR" },
          6: { n: "SHEETLAYOUT" },
          7: { n: "COLUMNWIDTH" },
          8: { n: "HIDDENCOLUMN" },
          9: { n: "USERRANGE" },
          10: { n: "SYSTEMRANGE" },
          11: { n: "ZEROFORCE" },
          12: { n: "SORTKEYDIR" },
          13: { n: "FILESEAL" },
          14: { n: "DATAFILLNUMS" },
          15: { n: "PRINTMAIN" },
          16: { n: "PRINTSTRING" },
          17: { n: "GRAPHMAIN" },
          18: { n: "GRAPHSTRING" },
          19: { n: "??" },
          20: { n: "ERRCELL" },
          21: { n: "NACELL" },
          22: { n: "LABEL16", f: Q },
          23: { n: "NUMBER17", f: M },
          24: { n: "NUMBER18", f: U },
          25: { n: "FORMULA19", f: Y },
          26: { n: "FORMULA1A" },
          27: { n: "XFORMAT", f: De },
          28: { n: "DTLABELMISC" },
          29: { n: "DTLABELCELL" },
          30: { n: "GRAPHWINDOW" },
          31: { n: "CPA" },
          32: { n: "LPLAUTO" },
          33: { n: "QUERY" },
          34: { n: "HIDDENSHEET" },
          35: { n: "??" },
          37: { n: "NUMBER25", f: V },
          38: { n: "??" },
          39: { n: "NUMBER27", f: ne },
          40: { n: "FORMULA28", f: Ae },
          142: { n: "??" },
          147: { n: "??" },
          150: { n: "??" },
          151: { n: "??" },
          152: { n: "??" },
          153: { n: "??" },
          154: { n: "??" },
          155: { n: "??" },
          156: { n: "??" },
          163: { n: "??" },
          174: { n: "??" },
          175: { n: "??" },
          176: { n: "??" },
          177: { n: "??" },
          184: { n: "??" },
          185: { n: "??" },
          186: { n: "??" },
          187: { n: "??" },
          188: { n: "??" },
          195: { n: "??" },
          201: { n: "??" },
          204: { n: "SHEETNAMECS", f: ce },
          205: { n: "??" },
          206: { n: "??" },
          207: { n: "??" },
          208: { n: "??" },
          256: { n: "??" },
          259: { n: "??" },
          260: { n: "??" },
          261: { n: "??" },
          262: { n: "??" },
          263: { n: "??" },
          265: { n: "??" },
          266: { n: "??" },
          267: { n: "??" },
          268: { n: "??" },
          270: { n: "??" },
          271: { n: "??" },
          384: { n: "??" },
          389: { n: "??" },
          390: { n: "??" },
          393: { n: "??" },
          396: { n: "??" },
          512: { n: "??" },
          514: { n: "??" },
          513: { n: "??" },
          516: { n: "??" },
          517: { n: "??" },
          640: { n: "??" },
          641: { n: "??" },
          642: { n: "??" },
          643: { n: "??" },
          644: { n: "??" },
          645: { n: "??" },
          646: { n: "??" },
          647: { n: "??" },
          648: { n: "??" },
          658: { n: "??" },
          659: { n: "??" },
          660: { n: "??" },
          661: { n: "??" },
          662: { n: "??" },
          665: { n: "??" },
          666: { n: "??" },
          768: { n: "??" },
          772: { n: "??" },
          1537: { n: "SHEETINFOQP", f: be },
          1600: { n: "??" },
          1602: { n: "??" },
          1793: { n: "??" },
          1794: { n: "??" },
          1795: { n: "??" },
          1796: { n: "??" },
          1920: { n: "??" },
          2048: { n: "??" },
          2049: { n: "??" },
          2052: { n: "??" },
          2688: { n: "??" },
          10998: { n: "??" },
          12849: { n: "??" },
          28233: { n: "??" },
          28484: { n: "??" },
          65535: { n: "" },
        };
      return { sheet_to_wk1: n, book_to_wk3: a, to_workbook: t };
    })(),
    S2 = /^\s|\s$|[\t\n\r]/;
  function pl(e, t) {
    if (!t.bookSST) return "";
    var r = [Ke];
    r[r.length] = J("sst", null, {
      xmlns: yn[0],
      count: e.Count,
      uniqueCount: e.Unique,
    });
    for (var n = 0; n != e.length; ++n)
      if (e[n] != null) {
        var a = e[n],
          i = "<si>";
        a.r
          ? (i += a.r)
          : ((i += "<t"),
            a.t || (a.t = ""),
            a.t.match(S2) && (i += ' xml:space="preserve"'),
            (i += ">" + Oe(a.t) + "</t>")),
          (i += "</si>"),
          (r[r.length] = i);
      }
    return (
      r.length > 2 &&
        ((r[r.length] = "</sst>"), (r[1] = r[1].replace("/>", ">"))),
      r.join("")
    );
  }
  function A2(e) {
    return [e.read_shift(4), e.read_shift(4)];
  }
  function y2(e, t) {
    return (
      t || (t = B(8)), t.write_shift(4, e.Count), t.write_shift(4, e.Unique), t
    );
  }
  var F2 = mm;
  function L2(e) {
    var t = Ft();
    W(t, 159, y2(e));
    for (var r = 0; r < e.length; ++r) W(t, 19, F2(e[r]));
    return W(t, 160), t.end();
  }
  function O2(e) {
    for (var t = [], r = e.split(""), n = 0; n < r.length; ++n)
      t[n] = r[n].charCodeAt(0);
    return t;
  }
  function vl(e) {
    var t = 0,
      r,
      n = O2(e),
      a = n.length + 1,
      i,
      s,
      f,
      o,
      l;
    for (r = Xr(a), r[0] = n.length, i = 1; i != a; ++i) r[i] = n[i - 1];
    for (i = a - 1; i >= 0; --i)
      (s = r[i]),
        (f = (t & 16384) === 0 ? 0 : 1),
        (o = (t << 1) & 32767),
        (l = f | o),
        (t = l ^ s);
    return t ^ 52811;
  }
  var R2 = (function () {
    function e(a, i) {
      switch (i.type) {
        case "base64":
          return t(Tr(a), i);
        case "binary":
          return t(a, i);
        case "buffer":
          return t(Se && Buffer.isBuffer(a) ? a.toString("binary") : fa(a), i);
        case "array":
          return t(pi(a), i);
      }
      throw new Error("Unrecognized type " + i.type);
    }
    function t(a, i) {
      var s = i || {},
        f = s.dense ? [] : {},
        o = a.match(/\\trowd.*?\\row\b/g);
      if (!o.length) throw new Error("RTF missing table");
      var l = { s: { c: 0, r: 0 }, e: { c: 0, r: o.length - 1 } };
      return (
        o.forEach(function (u, x) {
          Array.isArray(f) && (f[x] = []);
          for (var d = /\\\w+\b/g, _ = 0, v, c = -1; (v = d.exec(u)); ) {
            switch (v[0]) {
              case "\\cell":
                var g = u.slice(_, d.lastIndex - v[0].length);
                if ((g[0] == " " && (g = g.slice(1)), ++c, g.length)) {
                  var L = { v: g, t: "s" };
                  Array.isArray(f) ? (f[x][c] = L) : (f[Re({ r: x, c })] = L);
                }
                break;
            }
            _ = d.lastIndex;
          }
          c > l.e.c && (l.e.c = c);
        }),
        (f["!ref"] = Xe(l)),
        f
      );
    }
    function r(a, i) {
      return qr(e(a, i), i);
    }
    function n(a) {
      for (
        var i = ["{\\rtf1\\ansi"],
          s = Pe(a["!ref"]),
          f,
          o = Array.isArray(a),
          l = s.s.r;
        l <= s.e.r;
        ++l
      ) {
        i.push("\\trowd\\trautofit1");
        for (var u = s.s.c; u <= s.e.c; ++u) i.push("\\cellx" + (u + 1));
        for (i.push("\\pard\\intbl"), u = s.s.c; u <= s.e.c; ++u) {
          var x = Re({ r: l, c: u });
          (f = o ? (a[l] || [])[u] : a[x]),
            !(!f || (f.v == null && (!f.f || f.F))) &&
              (i.push(" " + (f.w || (Er(f), f.w))), i.push("\\cell"));
        }
        i.push("\\pard\\intbl\\row");
      }
      return i.join("") + "}";
    }
    return { to_workbook: r, to_sheet: e, from_sheet: n };
  })();
  function sf(e) {
    for (var t = 0, r = 1; t != 3; ++t)
      r = r * 256 + (e[t] > 255 ? 255 : e[t] < 0 ? 0 : e[t]);
    return r.toString(16).toUpperCase().slice(1);
  }
  var C2 = 6,
    vr = C2;
  function Xa(e) {
    return Math.floor((e + Math.round(128 / vr) / 256) * vr);
  }
  function Ka(e) {
    return Math.floor(((e - 5) / vr) * 100 + 0.5) / 100;
  }
  function a0(e) {
    return Math.round(((e * vr + 5) / vr) * 256) / 256;
  }
  function j0(e) {
    e.width
      ? ((e.wpx = Xa(e.width)), (e.wch = Ka(e.wpx)), (e.MDW = vr))
      : e.wpx
      ? ((e.wch = Ka(e.wpx)), (e.width = a0(e.wch)), (e.MDW = vr))
      : typeof e.wch == "number" &&
        ((e.width = a0(e.wch)), (e.wpx = Xa(e.width)), (e.MDW = vr)),
      e.customWidth && delete e.customWidth;
  }
  var I2 = 96,
    gl = I2;
  function za(e) {
    return (e * 96) / gl;
  }
  function Tl(e) {
    return (e * gl) / 96;
  }
  function D2(e) {
    var t = ["<numFmts>"];
    return (
      [
        [5, 8],
        [23, 26],
        [41, 44],
        [50, 392],
      ].forEach(function (r) {
        for (var n = r[0]; n <= r[1]; ++n)
          e[n] != null &&
            (t[t.length] = J("numFmt", null, {
              numFmtId: n,
              formatCode: Oe(e[n]),
            }));
      }),
      t.length === 1
        ? ""
        : ((t[t.length] = "</numFmts>"),
          (t[0] = J("numFmts", null, { count: t.length - 2 }).replace(
            "/>",
            ">"
          )),
          t.join(""))
    );
  }
  function N2(e) {
    var t = [];
    return (
      (t[t.length] = J("cellXfs", null)),
      e.forEach(function (r) {
        t[t.length] = J("xf", null, r);
      }),
      (t[t.length] = "</cellXfs>"),
      t.length === 2
        ? ""
        : ((t[0] = J("cellXfs", null, { count: t.length - 2 }).replace(
            "/>",
            ">"
          )),
          t.join(""))
    );
  }
  function El(e, t) {
    var r = [Ke, J("styleSheet", null, { xmlns: yn[0], "xmlns:vt": tt.vt })],
      n;
    return (
      e.SSF && (n = D2(e.SSF)) != null && (r[r.length] = n),
      (r[r.length] =
        '<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>'),
      (r[r.length] =
        '<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>'),
      (r[r.length] =
        '<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>'),
      (r[r.length] =
        '<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>'),
      (n = N2(t.cellXfs)) && (r[r.length] = n),
      (r[r.length] =
        '<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>'),
      (r[r.length] = '<dxfs count="0"/>'),
      (r[r.length] =
        '<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>'),
      r.length > 2 &&
        ((r[r.length] = "</styleSheet>"), (r[1] = r[1].replace("/>", ">"))),
      r.join("")
    );
  }
  function k2(e, t) {
    var r = e.read_shift(2),
      n = pt(e);
    return [r, n];
  }
  function M2(e, t, r) {
    r || (r = B(6 + 4 * t.length)), r.write_shift(2, e), nt(t, r);
    var n = r.length > r.l ? r.slice(0, r.l) : r;
    return r.l == null && (r.l = r.length), n;
  }
  function P2(e, t, r) {
    var n = {};
    n.sz = e.read_shift(2) / 20;
    var a = Sm(e);
    a.fItalic && (n.italic = 1),
      a.fCondense && (n.condense = 1),
      a.fExtend && (n.extend = 1),
      a.fShadow && (n.shadow = 1),
      a.fOutline && (n.outline = 1),
      a.fStrikeout && (n.strike = 1);
    var i = e.read_shift(2);
    switch ((i === 700 && (n.bold = 1), e.read_shift(2))) {
      case 1:
        n.vertAlign = "superscript";
        break;
      case 2:
        n.vertAlign = "subscript";
        break;
    }
    var s = e.read_shift(1);
    s != 0 && (n.underline = s);
    var f = e.read_shift(1);
    f > 0 && (n.family = f);
    var o = e.read_shift(1);
    switch (
      (o > 0 && (n.charset = o), e.l++, (n.color = wm(e)), e.read_shift(1))
    ) {
      case 1:
        n.scheme = "major";
        break;
      case 2:
        n.scheme = "minor";
        break;
    }
    return (n.name = pt(e)), n;
  }
  function B2(e, t) {
    t || (t = B(25 + 4 * 32)),
      t.write_shift(2, e.sz * 20),
      Am(e, t),
      t.write_shift(2, e.bold ? 700 : 400);
    var r = 0;
    e.vertAlign == "superscript"
      ? (r = 1)
      : e.vertAlign == "subscript" && (r = 2),
      t.write_shift(2, r),
      t.write_shift(1, e.underline || 0),
      t.write_shift(1, e.family || 0),
      t.write_shift(1, e.charset || 0),
      t.write_shift(1, 0),
      $a(e.color, t);
    var n = 0;
    return (
      e.scheme == "major" && (n = 1),
      e.scheme == "minor" && (n = 2),
      t.write_shift(1, n),
      nt(e.name, t),
      t.length > t.l ? t.slice(0, t.l) : t
    );
  }
  var b2 = [
      "none",
      "solid",
      "mediumGray",
      "darkGray",
      "lightGray",
      "darkHorizontal",
      "darkVertical",
      "darkDown",
      "darkUp",
      "darkGrid",
      "darkTrellis",
      "lightHorizontal",
      "lightVertical",
      "lightDown",
      "lightUp",
      "lightGrid",
      "lightTrellis",
      "gray125",
      "gray0625",
    ],
    Wi,
    U2 = ar;
  function ff(e, t) {
    t || (t = B(4 * 3 + 8 * 7 + 16 * 1)), Wi || (Wi = k0(b2));
    var r = Wi[e.patternType];
    r == null && (r = 40), t.write_shift(4, r);
    var n = 0;
    if (r != 40)
      for ($a({ auto: 1 }, t), $a({ auto: 1 }, t); n < 12; ++n)
        t.write_shift(4, 0);
    else {
      for (; n < 4; ++n) t.write_shift(4, 0);
      for (; n < 12; ++n) t.write_shift(4, 0);
    }
    return t.length > t.l ? t.slice(0, t.l) : t;
  }
  function W2(e, t) {
    var r = e.l + t,
      n = e.read_shift(2),
      a = e.read_shift(2);
    return (e.l = r), { ixfe: n, numFmtId: a };
  }
  function wl(e, t, r) {
    r || (r = B(16)),
      r.write_shift(2, t || 0),
      r.write_shift(2, e.numFmtId || 0),
      r.write_shift(2, 0),
      r.write_shift(2, 0),
      r.write_shift(2, 0),
      r.write_shift(1, 0),
      r.write_shift(1, 0);
    var n = 0;
    return (
      r.write_shift(1, n),
      r.write_shift(1, 0),
      r.write_shift(1, 0),
      r.write_shift(1, 0),
      r
    );
  }
  function Pn(e, t) {
    return (
      t || (t = B(10)),
      t.write_shift(1, 0),
      t.write_shift(1, 0),
      t.write_shift(4, 0),
      t.write_shift(4, 0),
      t
    );
  }
  var H2 = ar;
  function Y2(e, t) {
    return (
      t || (t = B(51)),
      t.write_shift(1, 0),
      Pn(null, t),
      Pn(null, t),
      Pn(null, t),
      Pn(null, t),
      Pn(null, t),
      t.length > t.l ? t.slice(0, t.l) : t
    );
  }
  function G2(e, t) {
    return (
      t || (t = B(12 + 4 * 10)),
      t.write_shift(4, e.xfId),
      t.write_shift(2, 1),
      t.write_shift(1, +e.builtinId),
      t.write_shift(1, 0),
      Va(e.name || "", t),
      t.length > t.l ? t.slice(0, t.l) : t
    );
  }
  function V2(e, t, r) {
    var n = B(2052);
    return (
      n.write_shift(4, e),
      Va(t, n),
      Va(r, n),
      n.length > n.l ? n.slice(0, n.l) : n
    );
  }
  function $2(e, t) {
    if (!!t) {
      var r = 0;
      [
        [5, 8],
        [23, 26],
        [41, 44],
        [50, 392],
      ].forEach(function (n) {
        for (var a = n[0]; a <= n[1]; ++a) t[a] != null && ++r;
      }),
        r != 0 &&
          (W(e, 615, Kt(r)),
          [
            [5, 8],
            [23, 26],
            [41, 44],
            [50, 392],
          ].forEach(function (n) {
            for (var a = n[0]; a <= n[1]; ++a)
              t[a] != null && W(e, 44, M2(a, t[a]));
          }),
          W(e, 616));
    }
  }
  function j2(e) {
    var t = 1;
    W(e, 611, Kt(t)),
      W(
        e,
        43,
        B2({
          sz: 12,
          color: { theme: 1 },
          name: "Calibri",
          family: 2,
          scheme: "minor",
        })
      ),
      W(e, 612);
  }
  function X2(e) {
    var t = 2;
    W(e, 603, Kt(t)),
      W(e, 45, ff({ patternType: "none" })),
      W(e, 45, ff({ patternType: "gray125" })),
      W(e, 604);
  }
  function K2(e) {
    var t = 1;
    W(e, 613, Kt(t)), W(e, 46, Y2()), W(e, 614);
  }
  function z2(e) {
    var t = 1;
    W(e, 626, Kt(t)),
      W(e, 47, wl({ numFmtId: 0, fontId: 0, fillId: 0, borderId: 0 }, 65535)),
      W(e, 627);
  }
  function J2(e, t) {
    W(e, 617, Kt(t.length)),
      t.forEach(function (r) {
        W(e, 47, wl(r, 0));
      }),
      W(e, 618);
  }
  function Z2(e) {
    var t = 1;
    W(e, 619, Kt(t)),
      W(e, 48, G2({ xfId: 0, builtinId: 0, name: "Normal" })),
      W(e, 620);
  }
  function q2(e) {
    var t = 0;
    W(e, 505, Kt(t)), W(e, 506);
  }
  function Q2(e) {
    var t = 0;
    W(e, 508, V2(t, "TableStyleMedium9", "PivotStyleMedium4")), W(e, 509);
  }
  function ep(e, t) {
    var r = Ft();
    return (
      W(r, 278),
      $2(r, e.SSF),
      j2(r),
      X2(r),
      K2(r),
      z2(r),
      J2(r, t.cellXfs),
      Z2(r),
      q2(r),
      Q2(r),
      W(r, 279),
      r.end()
    );
  }
  function Sl(e, t) {
    if (t && t.themeXLSX) return t.themeXLSX;
    if (e && typeof e.raw == "string") return e.raw;
    var r = [Ke];
    return (
      (r[r.length] =
        '<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">'),
      (r[r.length] = "<a:themeElements>"),
      (r[r.length] = '<a:clrScheme name="Office">'),
      (r[r.length] =
        '<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>'),
      (r[r.length] =
        '<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>'),
      (r[r.length] = '<a:dk2><a:srgbClr val="1F497D"/></a:dk2>'),
      (r[r.length] = '<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>'),
      (r[r.length] = '<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>'),
      (r[r.length] = '<a:accent2><a:srgbClr val="C0504D"/></a:accent2>'),
      (r[r.length] = '<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>'),
      (r[r.length] = '<a:accent4><a:srgbClr val="8064A2"/></a:accent4>'),
      (r[r.length] = '<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>'),
      (r[r.length] = '<a:accent6><a:srgbClr val="F79646"/></a:accent6>'),
      (r[r.length] = '<a:hlink><a:srgbClr val="0000FF"/></a:hlink>'),
      (r[r.length] = '<a:folHlink><a:srgbClr val="800080"/></a:folHlink>'),
      (r[r.length] = "</a:clrScheme>"),
      (r[r.length] = '<a:fontScheme name="Office">'),
      (r[r.length] = "<a:majorFont>"),
      (r[r.length] = '<a:latin typeface="Cambria"/>'),
      (r[r.length] = '<a:ea typeface=""/>'),
      (r[r.length] = '<a:cs typeface=""/>'),
      (r[r.length] =
        '<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>'),
      (r[r.length] =
        '<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>'),
      (r[r.length] = '<a:font script="Hans" typeface="\u5B8B\u4F53"/>'),
      (r[r.length] =
        '<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>'),
      (r[r.length] = '<a:font script="Arab" typeface="Times New Roman"/>'),
      (r[r.length] = '<a:font script="Hebr" typeface="Times New Roman"/>'),
      (r[r.length] = '<a:font script="Thai" typeface="Tahoma"/>'),
      (r[r.length] = '<a:font script="Ethi" typeface="Nyala"/>'),
      (r[r.length] = '<a:font script="Beng" typeface="Vrinda"/>'),
      (r[r.length] = '<a:font script="Gujr" typeface="Shruti"/>'),
      (r[r.length] = '<a:font script="Khmr" typeface="MoolBoran"/>'),
      (r[r.length] = '<a:font script="Knda" typeface="Tunga"/>'),
      (r[r.length] = '<a:font script="Guru" typeface="Raavi"/>'),
      (r[r.length] = '<a:font script="Cans" typeface="Euphemia"/>'),
      (r[r.length] = '<a:font script="Cher" typeface="Plantagenet Cherokee"/>'),
      (r[r.length] = '<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>'),
      (r[r.length] = '<a:font script="Tibt" typeface="Microsoft Himalaya"/>'),
      (r[r.length] = '<a:font script="Thaa" typeface="MV Boli"/>'),
      (r[r.length] = '<a:font script="Deva" typeface="Mangal"/>'),
      (r[r.length] = '<a:font script="Telu" typeface="Gautami"/>'),
      (r[r.length] = '<a:font script="Taml" typeface="Latha"/>'),
      (r[r.length] = '<a:font script="Syrc" typeface="Estrangelo Edessa"/>'),
      (r[r.length] = '<a:font script="Orya" typeface="Kalinga"/>'),
      (r[r.length] = '<a:font script="Mlym" typeface="Kartika"/>'),
      (r[r.length] = '<a:font script="Laoo" typeface="DokChampa"/>'),
      (r[r.length] = '<a:font script="Sinh" typeface="Iskoola Pota"/>'),
      (r[r.length] = '<a:font script="Mong" typeface="Mongolian Baiti"/>'),
      (r[r.length] = '<a:font script="Viet" typeface="Times New Roman"/>'),
      (r[r.length] = '<a:font script="Uigh" typeface="Microsoft Uighur"/>'),
      (r[r.length] = '<a:font script="Geor" typeface="Sylfaen"/>'),
      (r[r.length] = "</a:majorFont>"),
      (r[r.length] = "<a:minorFont>"),
      (r[r.length] = '<a:latin typeface="Calibri"/>'),
      (r[r.length] = '<a:ea typeface=""/>'),
      (r[r.length] = '<a:cs typeface=""/>'),
      (r[r.length] =
        '<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>'),
      (r[r.length] =
        '<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>'),
      (r[r.length] = '<a:font script="Hans" typeface="\u5B8B\u4F53"/>'),
      (r[r.length] =
        '<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>'),
      (r[r.length] = '<a:font script="Arab" typeface="Arial"/>'),
      (r[r.length] = '<a:font script="Hebr" typeface="Arial"/>'),
      (r[r.length] = '<a:font script="Thai" typeface="Tahoma"/>'),
      (r[r.length] = '<a:font script="Ethi" typeface="Nyala"/>'),
      (r[r.length] = '<a:font script="Beng" typeface="Vrinda"/>'),
      (r[r.length] = '<a:font script="Gujr" typeface="Shruti"/>'),
      (r[r.length] = '<a:font script="Khmr" typeface="DaunPenh"/>'),
      (r[r.length] = '<a:font script="Knda" typeface="Tunga"/>'),
      (r[r.length] = '<a:font script="Guru" typeface="Raavi"/>'),
      (r[r.length] = '<a:font script="Cans" typeface="Euphemia"/>'),
      (r[r.length] = '<a:font script="Cher" typeface="Plantagenet Cherokee"/>'),
      (r[r.length] = '<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>'),
      (r[r.length] = '<a:font script="Tibt" typeface="Microsoft Himalaya"/>'),
      (r[r.length] = '<a:font script="Thaa" typeface="MV Boli"/>'),
      (r[r.length] = '<a:font script="Deva" typeface="Mangal"/>'),
      (r[r.length] = '<a:font script="Telu" typeface="Gautami"/>'),
      (r[r.length] = '<a:font script="Taml" typeface="Latha"/>'),
      (r[r.length] = '<a:font script="Syrc" typeface="Estrangelo Edessa"/>'),
      (r[r.length] = '<a:font script="Orya" typeface="Kalinga"/>'),
      (r[r.length] = '<a:font script="Mlym" typeface="Kartika"/>'),
      (r[r.length] = '<a:font script="Laoo" typeface="DokChampa"/>'),
      (r[r.length] = '<a:font script="Sinh" typeface="Iskoola Pota"/>'),
      (r[r.length] = '<a:font script="Mong" typeface="Mongolian Baiti"/>'),
      (r[r.length] = '<a:font script="Viet" typeface="Arial"/>'),
      (r[r.length] = '<a:font script="Uigh" typeface="Microsoft Uighur"/>'),
      (r[r.length] = '<a:font script="Geor" typeface="Sylfaen"/>'),
      (r[r.length] = "</a:minorFont>"),
      (r[r.length] = "</a:fontScheme>"),
      (r[r.length] = '<a:fmtScheme name="Office">'),
      (r[r.length] = "<a:fillStyleLst>"),
      (r[r.length] = '<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>'),
      (r[r.length] = '<a:gradFill rotWithShape="1">'),
      (r[r.length] = "<a:gsLst>"),
      (r[r.length] =
        '<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>'),
      (r[r.length] =
        '<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>'),
      (r[r.length] =
        '<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>'),
      (r[r.length] = "</a:gsLst>"),
      (r[r.length] = '<a:lin ang="16200000" scaled="1"/>'),
      (r[r.length] = "</a:gradFill>"),
      (r[r.length] = '<a:gradFill rotWithShape="1">'),
      (r[r.length] = "<a:gsLst>"),
      (r[r.length] =
        '<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>'),
      (r[r.length] =
        '<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>'),
      (r[r.length] = "</a:gsLst>"),
      (r[r.length] = '<a:lin ang="16200000" scaled="0"/>'),
      (r[r.length] = "</a:gradFill>"),
      (r[r.length] = "</a:fillStyleLst>"),
      (r[r.length] = "<a:lnStyleLst>"),
      (r[r.length] =
        '<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>'),
      (r[r.length] =
        '<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>'),
      (r[r.length] =
        '<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>'),
      (r[r.length] = "</a:lnStyleLst>"),
      (r[r.length] = "<a:effectStyleLst>"),
      (r[r.length] = "<a:effectStyle>"),
      (r[r.length] = "<a:effectLst>"),
      (r[r.length] =
        '<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>'),
      (r[r.length] = "</a:effectLst>"),
      (r[r.length] = "</a:effectStyle>"),
      (r[r.length] = "<a:effectStyle>"),
      (r[r.length] = "<a:effectLst>"),
      (r[r.length] =
        '<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>'),
      (r[r.length] = "</a:effectLst>"),
      (r[r.length] = "</a:effectStyle>"),
      (r[r.length] = "<a:effectStyle>"),
      (r[r.length] = "<a:effectLst>"),
      (r[r.length] =
        '<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>'),
      (r[r.length] = "</a:effectLst>"),
      (r[r.length] =
        '<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>'),
      (r[r.length] = '<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>'),
      (r[r.length] = "</a:effectStyle>"),
      (r[r.length] = "</a:effectStyleLst>"),
      (r[r.length] = "<a:bgFillStyleLst>"),
      (r[r.length] = '<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>'),
      (r[r.length] = '<a:gradFill rotWithShape="1">'),
      (r[r.length] = "<a:gsLst>"),
      (r[r.length] =
        '<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>'),
      (r[r.length] =
        '<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>'),
      (r[r.length] =
        '<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>'),
      (r[r.length] = "</a:gsLst>"),
      (r[r.length] =
        '<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>'),
      (r[r.length] = "</a:gradFill>"),
      (r[r.length] = '<a:gradFill rotWithShape="1">'),
      (r[r.length] = "<a:gsLst>"),
      (r[r.length] =
        '<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>'),
      (r[r.length] =
        '<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>'),
      (r[r.length] = "</a:gsLst>"),
      (r[r.length] =
        '<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>'),
      (r[r.length] = "</a:gradFill>"),
      (r[r.length] = "</a:bgFillStyleLst>"),
      (r[r.length] = "</a:fmtScheme>"),
      (r[r.length] = "</a:themeElements>"),
      (r[r.length] = "<a:objectDefaults>"),
      (r[r.length] = "<a:spDef>"),
      (r[r.length] =
        '<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>'),
      (r[r.length] = "</a:spDef>"),
      (r[r.length] = "<a:lnDef>"),
      (r[r.length] =
        '<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>'),
      (r[r.length] = "</a:lnDef>"),
      (r[r.length] = "</a:objectDefaults>"),
      (r[r.length] = "<a:extraClrSchemeLst/>"),
      (r[r.length] = "</a:theme>"),
      r.join("")
    );
  }
  function tp(e, t) {
    return { flags: e.read_shift(4), version: e.read_shift(4), name: pt(e) };
  }
  function rp(e) {
    var t = B(12 + 2 * e.name.length);
    return (
      t.write_shift(4, e.flags),
      t.write_shift(4, e.version),
      nt(e.name, t),
      t.slice(0, t.l)
    );
  }
  function np(e) {
    for (var t = [], r = e.read_shift(4); r-- > 0; )
      t.push([e.read_shift(4), e.read_shift(4)]);
    return t;
  }
  function ap(e) {
    var t = B(4 + 8 * e.length);
    t.write_shift(4, e.length);
    for (var r = 0; r < e.length; ++r)
      t.write_shift(4, e[r][0]), t.write_shift(4, e[r][1]);
    return t;
  }
  function ip(e, t) {
    var r = B(8 + 2 * t.length);
    return r.write_shift(4, e), nt(t, r), r.slice(0, r.l);
  }
  function sp(e) {
    return (e.l += 4), e.read_shift(4) != 0;
  }
  function fp(e, t) {
    var r = B(8);
    return r.write_shift(4, e), r.write_shift(4, t ? 1 : 0), r;
  }
  function op() {
    var e = Ft();
    return (
      W(e, 332),
      W(e, 334, Kt(1)),
      W(e, 335, rp({ name: "XLDAPR", version: 12e4, flags: 3496657072 })),
      W(e, 336),
      W(e, 339, ip(1, "XLDAPR")),
      W(e, 52),
      W(e, 35, Kt(514)),
      W(e, 4096, Kt(0)),
      W(e, 4097, bt(1)),
      W(e, 36),
      W(e, 53),
      W(e, 340),
      W(e, 337, fp(1, !0)),
      W(e, 51, ap([[1, 0]])),
      W(e, 338),
      W(e, 333),
      e.end()
    );
  }
  function Al() {
    var e = [Ke];
    return (
      e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
  <metadataTypes count="1">
    <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
  </metadataTypes>
  <futureMetadata name="XLDAPR" count="1">
    <bk>
      <extLst>
        <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
          <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
        </ext>
      </extLst>
    </bk>
  </futureMetadata>
  <cellMetadata count="1">
    <bk>
      <rc t="1" v="0"/>
    </bk>
  </cellMetadata>
</metadata>`),
      e.join("")
    );
  }
  function lp(e) {
    var t = {};
    t.i = e.read_shift(4);
    var r = {};
    (r.r = e.read_shift(4)), (r.c = e.read_shift(4)), (t.r = Re(r));
    var n = e.read_shift(1);
    return n & 2 && (t.l = "1"), n & 8 && (t.a = "1"), t;
  }
  var dn = 1024;
  function yl(e, t) {
    for (
      var r = [21600, 21600],
        n = ["m0,0l0", r[1], r[0], r[1], r[0], "0xe"].join(","),
        a = [
          J("xml", null, {
            "xmlns:v": Dt.v,
            "xmlns:o": Dt.o,
            "xmlns:x": Dt.x,
            "xmlns:mv": Dt.mv,
          }).replace(/\/>/, ">"),
          J("o:shapelayout", J("o:idmap", null, { "v:ext": "edit", data: e }), {
            "v:ext": "edit",
          }),
          J(
            "v:shapetype",
            [
              J("v:stroke", null, { joinstyle: "miter" }),
              J("v:path", null, {
                gradientshapeok: "t",
                "o:connecttype": "rect",
              }),
            ].join(""),
            { id: "_x0000_t202", "o:spt": 202, coordsize: r.join(","), path: n }
          ),
        ];
      dn < e * 1e3;

    )
      dn += 1e3;
    return (
      t.forEach(function (i) {
        var s = rt(i[0]),
          f = { color2: "#BEFF82", type: "gradient" };
        f.type == "gradient" && (f.angle = "-180");
        var o =
            f.type == "gradient"
              ? J("o:fill", null, { type: "gradientUnscaled", "v:ext": "view" })
              : null,
          l = J("v:fill", o, f),
          u = { on: "t", obscured: "t" };
        ++dn,
          (a = a.concat([
            "<v:shape" +
              ea({
                id: "_x0000_s" + dn,
                type: "#_x0000_t202",
                style:
                  "position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10" +
                  (i[1].hidden ? ";visibility:hidden" : ""),
                fillcolor: "#ECFAD4",
                strokecolor: "#edeaa1",
              }) +
              ">",
            l,
            J("v:shadow", null, u),
            J("v:path", null, { "o:connecttype": "none" }),
            '<v:textbox><div style="text-align:left"></div></v:textbox>',
            '<x:ClientData ObjectType="Note">',
            "<x:MoveWithCells/>",
            "<x:SizeWithCells/>",
            lt(
              "x:Anchor",
              [s.c + 1, 0, s.r + 1, 0, s.c + 3, 20, s.r + 5, 20].join(",")
            ),
            lt("x:AutoFill", "False"),
            lt("x:Row", String(s.r)),
            lt("x:Column", String(s.c)),
            i[1].hidden ? "" : "<x:Visible/>",
            "</x:ClientData>",
            "</v:shape>",
          ]));
      }),
      a.push("</xml>"),
      a.join("")
    );
  }
  function Fl(e) {
    var t = [Ke, J("comments", null, { xmlns: yn[0] })],
      r = [];
    return (
      t.push("<authors>"),
      e.forEach(function (n) {
        n[1].forEach(function (a) {
          var i = Oe(a.a);
          r.indexOf(i) == -1 &&
            (r.push(i), t.push("<author>" + i + "</author>")),
            a.T &&
              a.ID &&
              r.indexOf("tc=" + a.ID) == -1 &&
              (r.push("tc=" + a.ID),
              t.push("<author>tc=" + a.ID + "</author>"));
        });
      }),
      r.length == 0 && (r.push("SheetJ5"), t.push("<author>SheetJ5</author>")),
      t.push("</authors>"),
      t.push("<commentList>"),
      e.forEach(function (n) {
        var a = 0,
          i = [];
        if (
          (n[1][0] && n[1][0].T && n[1][0].ID
            ? (a = r.indexOf("tc=" + n[1][0].ID))
            : n[1].forEach(function (o) {
                o.a && (a = r.indexOf(Oe(o.a))), i.push(o.t || "");
              }),
          t.push('<comment ref="' + n[0] + '" authorId="' + a + '"><text>'),
          i.length <= 1)
        )
          t.push(lt("t", Oe(i[0] || "")));
        else {
          for (
            var s =
                `Comment:
    ` +
                i[0] +
                `
`,
              f = 1;
            f < i.length;
            ++f
          )
            s +=
              `Reply:
    ` +
              i[f] +
              `
`;
          t.push(lt("t", Oe(s)));
        }
        t.push("</text></comment>");
      }),
      t.push("</commentList>"),
      t.length > 2 &&
        ((t[t.length] = "</comments>"), (t[1] = t[1].replace("/>", ">"))),
      t.join("")
    );
  }
  function up(e, t, r) {
    var n = [
      Ke,
      J("ThreadedComments", null, { xmlns: tt.TCMNT }).replace(/[\/]>/, ">"),
    ];
    return (
      e.forEach(function (a) {
        var i = "";
        (a[1] || []).forEach(function (s, f) {
          if (!s.T) {
            delete s.ID;
            return;
          }
          s.a && t.indexOf(s.a) == -1 && t.push(s.a);
          var o = {
            ref: a[0],
            id:
              "{54EE7951-7262-4200-6969-" +
              ("000000000000" + r.tcid++).slice(-12) +
              "}",
          };
          f == 0 ? (i = o.id) : (o.parentId = i),
            (s.ID = o.id),
            s.a &&
              (o.personId =
                "{54EE7950-7262-4200-6969-" +
                ("000000000000" + t.indexOf(s.a)).slice(-12) +
                "}"),
            n.push(J("threadedComment", lt("text", s.t || ""), o));
        });
      }),
      n.push("</ThreadedComments>"),
      n.join("")
    );
  }
  function cp(e) {
    var t = [
      Ke,
      J("personList", null, { xmlns: tt.TCMNT, "xmlns:x": yn[0] }).replace(
        /[\/]>/,
        ">"
      ),
    ];
    return (
      e.forEach(function (r, n) {
        t.push(
          J("person", null, {
            displayName: r,
            id:
              "{54EE7950-7262-4200-6969-" +
              ("000000000000" + n).slice(-12) +
              "}",
            userId: r,
            providerId: "None",
          })
        );
      }),
      t.push("</personList>"),
      t.join("")
    );
  }
  function hp(e) {
    var t = {};
    t.iauthor = e.read_shift(4);
    var r = rn(e);
    return (t.rfx = r.s), (t.ref = Re(r.s)), (e.l += 16), t;
  }
  function dp(e, t) {
    return (
      t == null && (t = B(36)),
      t.write_shift(4, e[1].iauthor),
      Ln(e[0], t),
      t.write_shift(4, 0),
      t.write_shift(4, 0),
      t.write_shift(4, 0),
      t.write_shift(4, 0),
      t
    );
  }
  var _p = pt;
  function xp(e) {
    return nt(e.slice(0, 54));
  }
  function mp(e) {
    var t = Ft(),
      r = [];
    return (
      W(t, 628),
      W(t, 630),
      e.forEach(function (n) {
        n[1].forEach(function (a) {
          r.indexOf(a.a) > -1 || (r.push(a.a.slice(0, 54)), W(t, 632, xp(a.a)));
        });
      }),
      W(t, 631),
      W(t, 633),
      e.forEach(function (n) {
        n[1].forEach(function (a) {
          a.iauthor = r.indexOf(a.a);
          var i = { s: rt(n[0]), e: rt(n[0]) };
          W(t, 635, dp([i, a])),
            a.t && a.t.length > 0 && W(t, 637, vm(a)),
            W(t, 636),
            delete a.iauthor;
        });
      }),
      W(t, 634),
      W(t, 629),
      t.end()
    );
  }
  function pp(e, t) {
    t.FullPaths.forEach(function (r, n) {
      if (n != 0) {
        var a = r.replace(/[^\/]*[\/]/, "/_VBA_PROJECT_CUR/");
        a.slice(-1) !== "/" && Ce.utils.cfb_add(e, a, t.FileIndex[n].content);
      }
    });
  }
  var Ll = ["xlsb", "xlsm", "xlam", "biff8", "xla"],
    vp = (function () {
      var e =
          /(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,
        t = { r: 0, c: 0 };
      function r(n, a, i, s) {
        var f = !1,
          o = !1;
        i.length == 0
          ? (o = !0)
          : i.charAt(0) == "[" && ((o = !0), (i = i.slice(1, -1))),
          s.length == 0
            ? (f = !0)
            : s.charAt(0) == "[" && ((f = !0), (s = s.slice(1, -1)));
        var l = i.length > 0 ? parseInt(i, 10) | 0 : 0,
          u = s.length > 0 ? parseInt(s, 10) | 0 : 0;
        return (
          f ? (u += t.c) : --u,
          o ? (l += t.r) : --l,
          a + (f ? "" : "$") + mt(u) + (o ? "" : "$") + ut(l)
        );
      }
      return function (a, i) {
        return (t = i), a.replace(e, r);
      };
    })(),
    X0 =
      /(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,
    K0 = (function () {
      return function (t, r) {
        return t.replace(X0, function (n, a, i, s, f, o) {
          var l = H0(s) - (i ? 0 : r.c),
            u = W0(o) - (f ? 0 : r.r),
            x = u == 0 ? "" : f ? u + 1 : "[" + u + "]",
            d = l == 0 ? "" : i ? l + 1 : "[" + l + "]";
          return a + "R" + x + "C" + d;
        });
      };
    })();
  function gp(e, t) {
    return e.replace(X0, function (r, n, a, i, s, f) {
      return (
        n +
        (a == "$" ? a + i : mt(H0(i) + t.c)) +
        (s == "$" ? s + f : ut(W0(f) + t.r))
      );
    });
  }
  function Tp(e) {
    return e.length != 1;
  }
  function je(e) {
    e.l += 1;
  }
  function Dr(e, t) {
    var r = e.read_shift(t == 1 ? 1 : 2);
    return [r & 16383, (r >> 14) & 1, (r >> 15) & 1];
  }
  function Ol(e, t, r) {
    var n = 2;
    if (r) {
      if (r.biff >= 2 && r.biff <= 5) return Rl(e);
      r.biff == 12 && (n = 4);
    }
    var a = e.read_shift(n),
      i = e.read_shift(n),
      s = Dr(e, 2),
      f = Dr(e, 2);
    return {
      s: { r: a, c: s[0], cRel: s[1], rRel: s[2] },
      e: { r: i, c: f[0], cRel: f[1], rRel: f[2] },
    };
  }
  function Rl(e) {
    var t = Dr(e, 2),
      r = Dr(e, 2),
      n = e.read_shift(1),
      a = e.read_shift(1);
    return {
      s: { r: t[0], c: n, cRel: t[1], rRel: t[2] },
      e: { r: r[0], c: a, cRel: r[1], rRel: r[2] },
    };
  }
  function Ep(e, t, r) {
    if (r.biff < 8) return Rl(e);
    var n = e.read_shift(r.biff == 12 ? 4 : 2),
      a = e.read_shift(r.biff == 12 ? 4 : 2),
      i = Dr(e, 2),
      s = Dr(e, 2);
    return {
      s: { r: n, c: i[0], cRel: i[1], rRel: i[2] },
      e: { r: a, c: s[0], cRel: s[1], rRel: s[2] },
    };
  }
  function Cl(e, t, r) {
    if (r && r.biff >= 2 && r.biff <= 5) return wp(e);
    var n = e.read_shift(r && r.biff == 12 ? 4 : 2),
      a = Dr(e, 2);
    return { r: n, c: a[0], cRel: a[1], rRel: a[2] };
  }
  function wp(e) {
    var t = Dr(e, 2),
      r = e.read_shift(1);
    return { r: t[0], c: r, cRel: t[1], rRel: t[2] };
  }
  function Sp(e) {
    var t = e.read_shift(2),
      r = e.read_shift(2);
    return {
      r: t,
      c: r & 255,
      fQuoted: !!(r & 16384),
      cRel: r >> 15,
      rRel: r >> 15,
    };
  }
  function Ap(e, t, r) {
    var n = r && r.biff ? r.biff : 8;
    if (n >= 2 && n <= 5) return yp(e);
    var a = e.read_shift(n >= 12 ? 4 : 2),
      i = e.read_shift(2),
      s = (i & 16384) >> 14,
      f = (i & 32768) >> 15;
    if (((i &= 16383), f == 1)) for (; a > 524287; ) a -= 1048576;
    if (s == 1) for (; i > 8191; ) i = i - 16384;
    return { r: a, c: i, cRel: s, rRel: f };
  }
  function yp(e) {
    var t = e.read_shift(2),
      r = e.read_shift(1),
      n = (t & 32768) >> 15,
      a = (t & 16384) >> 14;
    return (
      (t &= 16383),
      n == 1 && t >= 8192 && (t = t - 16384),
      a == 1 && r >= 128 && (r = r - 256),
      { r: t, c: r, cRel: a, rRel: n }
    );
  }
  function Fp(e, t, r) {
    var n = (e[e.l++] & 96) >> 5,
      a = Ol(e, r.biff >= 2 && r.biff <= 5 ? 6 : 8, r);
    return [n, a];
  }
  function Lp(e, t, r) {
    var n = (e[e.l++] & 96) >> 5,
      a = e.read_shift(2, "i"),
      i = 8;
    if (r)
      switch (r.biff) {
        case 5:
          (e.l += 12), (i = 6);
          break;
        case 12:
          i = 12;
          break;
      }
    var s = Ol(e, i, r);
    return [n, a, s];
  }
  function Op(e, t, r) {
    var n = (e[e.l++] & 96) >> 5;
    return (e.l += r && r.biff > 8 ? 12 : r.biff < 8 ? 6 : 8), [n];
  }
  function Rp(e, t, r) {
    var n = (e[e.l++] & 96) >> 5,
      a = e.read_shift(2),
      i = 8;
    if (r)
      switch (r.biff) {
        case 5:
          (e.l += 12), (i = 6);
          break;
        case 12:
          i = 12;
          break;
      }
    return (e.l += i), [n, a];
  }
  function Cp(e, t, r) {
    var n = (e[e.l++] & 96) >> 5,
      a = Ep(e, t - 1, r);
    return [n, a];
  }
  function Ip(e, t, r) {
    var n = (e[e.l++] & 96) >> 5;
    return (e.l += r.biff == 2 ? 6 : r.biff == 12 ? 14 : 7), [n];
  }
  function of(e) {
    var t = e[e.l + 1] & 1,
      r = 1;
    return (e.l += 4), [t, r];
  }
  function Dp(e, t, r) {
    e.l += 2;
    for (
      var n = e.read_shift(r && r.biff == 2 ? 1 : 2), a = [], i = 0;
      i <= n;
      ++i
    )
      a.push(e.read_shift(r && r.biff == 2 ? 1 : 2));
    return a;
  }
  function Np(e, t, r) {
    var n = e[e.l + 1] & 255 ? 1 : 0;
    return (e.l += 2), [n, e.read_shift(r && r.biff == 2 ? 1 : 2)];
  }
  function kp(e, t, r) {
    var n = e[e.l + 1] & 255 ? 1 : 0;
    return (e.l += 2), [n, e.read_shift(r && r.biff == 2 ? 1 : 2)];
  }
  function Mp(e) {
    var t = e[e.l + 1] & 255 ? 1 : 0;
    return (e.l += 2), [t, e.read_shift(2)];
  }
  function Pp(e, t, r) {
    var n = e[e.l + 1] & 255 ? 1 : 0;
    return (e.l += r && r.biff == 2 ? 3 : 4), [n];
  }
  function Il(e) {
    var t = e.read_shift(1),
      r = e.read_shift(1);
    return [t, r];
  }
  function Bp(e) {
    return e.read_shift(2), Il(e);
  }
  function bp(e) {
    return e.read_shift(2), Il(e);
  }
  function Up(e, t, r) {
    var n = (e[e.l] & 96) >> 5;
    e.l += 1;
    var a = Cl(e, 0, r);
    return [n, a];
  }
  function Wp(e, t, r) {
    var n = (e[e.l] & 96) >> 5;
    e.l += 1;
    var a = Ap(e, 0, r);
    return [n, a];
  }
  function Hp(e, t, r) {
    var n = (e[e.l] & 96) >> 5;
    e.l += 1;
    var a = e.read_shift(2);
    r && r.biff == 5 && (e.l += 12);
    var i = Cl(e, 0, r);
    return [n, a, i];
  }
  function Yp(e, t, r) {
    var n = (e[e.l] & 96) >> 5;
    e.l += 1;
    var a = e.read_shift(r && r.biff <= 3 ? 1 : 2);
    return [Yv[a], kl[a], n];
  }
  function Gp(e, t, r) {
    var n = e[e.l++],
      a = e.read_shift(1),
      i = r && r.biff <= 3 ? [n == 88 ? -1 : 0, e.read_shift(1)] : Vp(e);
    return [a, (i[0] === 0 ? kl : Hv)[i[1]]];
  }
  function Vp(e) {
    return [e[e.l + 1] >> 7, e.read_shift(2) & 32767];
  }
  function $p(e, t, r) {
    e.l += r && r.biff == 2 ? 3 : 4;
  }
  function jp(e, t, r) {
    if ((e.l++, r && r.biff == 12)) return [e.read_shift(4, "i"), 0];
    var n = e.read_shift(2),
      a = e.read_shift(r && r.biff == 2 ? 1 : 2);
    return [n, a];
  }
  function Xp(e) {
    return e.l++, ua[e.read_shift(1)];
  }
  function Kp(e) {
    return e.l++, e.read_shift(2);
  }
  function zp(e) {
    return e.l++, e.read_shift(1) !== 0;
  }
  function Jp(e) {
    return e.l++, On(e);
  }
  function Zp(e, t, r) {
    return e.l++, dl(e, t - 1, r);
  }
  function qp(e, t) {
    var r = [e.read_shift(1)];
    if (t == 12)
      switch (r[0]) {
        case 2:
          r[0] = 4;
          break;
        case 4:
          r[0] = 16;
          break;
        case 0:
          r[0] = 1;
          break;
        case 1:
          r[0] = 2;
          break;
      }
    switch (r[0]) {
      case 4:
        (r[1] = Hm(e, 1) ? "TRUE" : "FALSE"), t != 12 && (e.l += 7);
        break;
      case 37:
      case 16:
        (r[1] = ua[e[e.l]]), (e.l += t == 12 ? 4 : 8);
        break;
      case 0:
        e.l += 8;
        break;
      case 1:
        r[1] = On(e);
        break;
      case 2:
        r[1] = $m(e, 0, { biff: t > 0 && t < 8 ? 2 : t });
        break;
      default:
        throw new Error("Bad SerAr: " + r[0]);
    }
    return r;
  }
  function Qp(e, t, r) {
    for (var n = e.read_shift(r.biff == 12 ? 4 : 2), a = [], i = 0; i != n; ++i)
      a.push((r.biff == 12 ? rn : Km)(e));
    return a;
  }
  function ev(e, t, r) {
    var n = 0,
      a = 0;
    r.biff == 12
      ? ((n = e.read_shift(4)), (a = e.read_shift(4)))
      : ((a = 1 + e.read_shift(1)), (n = 1 + e.read_shift(2))),
      r.biff >= 2 && r.biff < 8 && (--n, --a == 0 && (a = 256));
    for (var i = 0, s = []; i != n && (s[i] = []); ++i)
      for (var f = 0; f != a; ++f) s[i][f] = qp(e, r.biff);
    return s;
  }
  function tv(e, t, r) {
    var n = (e.read_shift(1) >>> 5) & 3,
      a = !r || r.biff >= 8 ? 4 : 2,
      i = e.read_shift(a);
    switch (r.biff) {
      case 2:
        e.l += 5;
        break;
      case 3:
      case 4:
        e.l += 8;
        break;
      case 5:
        e.l += 12;
        break;
    }
    return [n, 0, i];
  }
  function rv(e, t, r) {
    if (r.biff == 5) return nv(e);
    var n = (e.read_shift(1) >>> 5) & 3,
      a = e.read_shift(2),
      i = e.read_shift(4);
    return [n, a, i];
  }
  function nv(e) {
    var t = (e.read_shift(1) >>> 5) & 3,
      r = e.read_shift(2, "i");
    e.l += 8;
    var n = e.read_shift(2);
    return (e.l += 12), [t, r, n];
  }
  function av(e, t, r) {
    var n = (e.read_shift(1) >>> 5) & 3;
    e.l += r && r.biff == 2 ? 3 : 4;
    var a = e.read_shift(r && r.biff == 2 ? 1 : 2);
    return [n, a];
  }
  function iv(e, t, r) {
    var n = (e.read_shift(1) >>> 5) & 3,
      a = e.read_shift(r && r.biff == 2 ? 1 : 2);
    return [n, a];
  }
  function sv(e, t, r) {
    var n = (e.read_shift(1) >>> 5) & 3;
    return (e.l += 4), r.biff < 8 && e.l--, r.biff == 12 && (e.l += 2), [n];
  }
  function fv(e, t, r) {
    var n = (e[e.l++] & 96) >> 5,
      a = e.read_shift(2),
      i = 4;
    if (r)
      switch (r.biff) {
        case 5:
          i = 15;
          break;
        case 12:
          i = 6;
          break;
      }
    return (e.l += i), [n, a];
  }
  var ov = ar,
    lv = ar,
    uv = ar;
  function ca(e, t, r) {
    return (e.l += 2), [Sp(e)];
  }
  function z0(e) {
    return (e.l += 6), [];
  }
  var cv = ca,
    hv = z0,
    dv = z0,
    _v = ca;
  function Dl(e) {
    return (e.l += 2), [cl(e), e.read_shift(2) & 1];
  }
  var xv = ca,
    mv = Dl,
    pv = z0,
    vv = ca,
    gv = ca,
    Tv = [
      "Data",
      "All",
      "Headers",
      "??",
      "?Data2",
      "??",
      "?DataHeaders",
      "??",
      "Totals",
      "??",
      "??",
      "??",
      "?DataTotals",
      "??",
      "??",
      "??",
      "?Current",
    ];
  function Ev(e) {
    e.l += 2;
    var t = e.read_shift(2),
      r = e.read_shift(2),
      n = e.read_shift(4),
      a = e.read_shift(2),
      i = e.read_shift(2),
      s = Tv[(r >> 2) & 31];
    return { ixti: t, coltype: r & 3, rt: s, idx: n, c: a, C: i };
  }
  function wv(e) {
    return (e.l += 2), [e.read_shift(4)];
  }
  function Sv(e, t, r) {
    return (e.l += 5), (e.l += 2), (e.l += r.biff == 2 ? 1 : 4), ["PTGSHEET"];
  }
  function Av(e, t, r) {
    return (e.l += r.biff == 2 ? 4 : 5), ["PTGENDSHEET"];
  }
  function yv(e) {
    var t = (e.read_shift(1) >>> 5) & 3,
      r = e.read_shift(2);
    return [t, r];
  }
  function Fv(e) {
    var t = (e.read_shift(1) >>> 5) & 3,
      r = e.read_shift(2);
    return [t, r];
  }
  function Lv(e) {
    return (e.l += 4), [0, 0];
  }
  var lf = {
      1: { n: "PtgExp", f: jp },
      2: { n: "PtgTbl", f: uv },
      3: { n: "PtgAdd", f: je },
      4: { n: "PtgSub", f: je },
      5: { n: "PtgMul", f: je },
      6: { n: "PtgDiv", f: je },
      7: { n: "PtgPower", f: je },
      8: { n: "PtgConcat", f: je },
      9: { n: "PtgLt", f: je },
      10: { n: "PtgLe", f: je },
      11: { n: "PtgEq", f: je },
      12: { n: "PtgGe", f: je },
      13: { n: "PtgGt", f: je },
      14: { n: "PtgNe", f: je },
      15: { n: "PtgIsect", f: je },
      16: { n: "PtgUnion", f: je },
      17: { n: "PtgRange", f: je },
      18: { n: "PtgUplus", f: je },
      19: { n: "PtgUminus", f: je },
      20: { n: "PtgPercent", f: je },
      21: { n: "PtgParen", f: je },
      22: { n: "PtgMissArg", f: je },
      23: { n: "PtgStr", f: Zp },
      26: { n: "PtgSheet", f: Sv },
      27: { n: "PtgEndSheet", f: Av },
      28: { n: "PtgErr", f: Xp },
      29: { n: "PtgBool", f: zp },
      30: { n: "PtgInt", f: Kp },
      31: { n: "PtgNum", f: Jp },
      32: { n: "PtgArray", f: Ip },
      33: { n: "PtgFunc", f: Yp },
      34: { n: "PtgFuncVar", f: Gp },
      35: { n: "PtgName", f: tv },
      36: { n: "PtgRef", f: Up },
      37: { n: "PtgArea", f: Fp },
      38: { n: "PtgMemArea", f: av },
      39: { n: "PtgMemErr", f: ov },
      40: { n: "PtgMemNoMem", f: lv },
      41: { n: "PtgMemFunc", f: iv },
      42: { n: "PtgRefErr", f: sv },
      43: { n: "PtgAreaErr", f: Op },
      44: { n: "PtgRefN", f: Wp },
      45: { n: "PtgAreaN", f: Cp },
      46: { n: "PtgMemAreaN", f: yv },
      47: { n: "PtgMemNoMemN", f: Fv },
      57: { n: "PtgNameX", f: rv },
      58: { n: "PtgRef3d", f: Hp },
      59: { n: "PtgArea3d", f: Lp },
      60: { n: "PtgRefErr3d", f: fv },
      61: { n: "PtgAreaErr3d", f: Rp },
      255: {},
    },
    Ov = {
      64: 32,
      96: 32,
      65: 33,
      97: 33,
      66: 34,
      98: 34,
      67: 35,
      99: 35,
      68: 36,
      100: 36,
      69: 37,
      101: 37,
      70: 38,
      102: 38,
      71: 39,
      103: 39,
      72: 40,
      104: 40,
      73: 41,
      105: 41,
      74: 42,
      106: 42,
      75: 43,
      107: 43,
      76: 44,
      108: 44,
      77: 45,
      109: 45,
      78: 46,
      110: 46,
      79: 47,
      111: 47,
      88: 34,
      120: 34,
      89: 57,
      121: 57,
      90: 58,
      122: 58,
      91: 59,
      123: 59,
      92: 60,
      124: 60,
      93: 61,
      125: 61,
    },
    Rv = {
      1: { n: "PtgElfLel", f: Dl },
      2: { n: "PtgElfRw", f: vv },
      3: { n: "PtgElfCol", f: cv },
      6: { n: "PtgElfRwV", f: gv },
      7: { n: "PtgElfColV", f: _v },
      10: { n: "PtgElfRadical", f: xv },
      11: { n: "PtgElfRadicalS", f: pv },
      13: { n: "PtgElfColS", f: hv },
      15: { n: "PtgElfColSV", f: dv },
      16: { n: "PtgElfRadicalLel", f: mv },
      25: { n: "PtgList", f: Ev },
      29: { n: "PtgSxName", f: wv },
      255: {},
    },
    Cv = {
      0: { n: "PtgAttrNoop", f: Lv },
      1: { n: "PtgAttrSemi", f: Pp },
      2: { n: "PtgAttrIf", f: kp },
      4: { n: "PtgAttrChoose", f: Dp },
      8: { n: "PtgAttrGoto", f: Np },
      16: { n: "PtgAttrSum", f: $p },
      32: { n: "PtgAttrBaxcel", f: of },
      33: { n: "PtgAttrBaxcel", f: of },
      64: { n: "PtgAttrSpace", f: Bp },
      65: { n: "PtgAttrSpaceSemi", f: bp },
      128: { n: "PtgAttrIfError", f: Mp },
      255: {},
    };
  function Iv(e, t, r, n) {
    if (n.biff < 8) return ar(e, t);
    for (var a = e.l + t, i = [], s = 0; s !== r.length; ++s)
      switch (r[s][0]) {
        case "PtgArray":
          (r[s][1] = ev(e, 0, n)), i.push(r[s][1]);
          break;
        case "PtgMemArea":
          (r[s][2] = Qp(e, r[s][1], n)), i.push(r[s][2]);
          break;
        case "PtgExp":
          n &&
            n.biff == 12 &&
            ((r[s][1][1] = e.read_shift(4)), i.push(r[s][1]));
          break;
        case "PtgList":
        case "PtgElfRadicalS":
        case "PtgElfColS":
        case "PtgElfColSV":
          throw "Unsupported " + r[s][0];
      }
    return (t = a - e.l), t !== 0 && i.push(ar(e, t)), i;
  }
  function Dv(e, t, r) {
    for (var n = e.l + t, a, i, s = []; n != e.l; )
      (t = n - e.l),
        (i = e[e.l]),
        (a = lf[i] || lf[Ov[i]]),
        (i === 24 || i === 25) && (a = (i === 24 ? Rv : Cv)[e[e.l + 1]]),
        !a || !a.f ? ar(e, t) : s.push([a.n, a.f(e, t, r)]);
    return s;
  }
  function Nv(e) {
    for (var t = [], r = 0; r < e.length; ++r) {
      for (var n = e[r], a = [], i = 0; i < n.length; ++i) {
        var s = n[i];
        if (s)
          switch (s[0]) {
            case 2:
              a.push('"' + s[1].replace(/"/g, '""') + '"');
              break;
            default:
              a.push(s[1]);
          }
        else a.push("");
      }
      t.push(a.join(","));
    }
    return t.join(";");
  }
  var kv = {
    PtgAdd: "+",
    PtgConcat: "&",
    PtgDiv: "/",
    PtgEq: "=",
    PtgGe: ">=",
    PtgGt: ">",
    PtgLe: "<=",
    PtgLt: "<",
    PtgMul: "*",
    PtgNe: "<>",
    PtgPower: "^",
    PtgSub: "-",
  };
  function Mv(e, t) {
    if (!e && !(t && t.biff <= 5 && t.biff >= 2))
      throw new Error("empty sheet name");
    return /[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e) ? "'" + e + "'" : e;
  }
  function Nl(e, t, r) {
    if (!e) return "SH33TJSERR0";
    if (r.biff > 8 && (!e.XTI || !e.XTI[t])) return e.SheetNames[t];
    if (!e.XTI) return "SH33TJSERR6";
    var n = e.XTI[t];
    if (r.biff < 8)
      return (
        t > 1e4 && (t -= 65536), t < 0 && (t = -t), t == 0 ? "" : e.XTI[t - 1]
      );
    if (!n) return "SH33TJSERR1";
    var a = "";
    if (r.biff > 8)
      switch (e[n[0]][0]) {
        case 357:
          return (
            (a = n[1] == -1 ? "#REF" : e.SheetNames[n[1]]),
            n[1] == n[2] ? a : a + ":" + e.SheetNames[n[2]]
          );
        case 358:
          return r.SID != null
            ? e.SheetNames[r.SID]
            : "SH33TJSSAME" + e[n[0]][0];
        case 355:
        default:
          return "SH33TJSSRC" + e[n[0]][0];
      }
    switch (e[n[0]][0][0]) {
      case 1025:
        return (
          (a = n[1] == -1 ? "#REF" : e.SheetNames[n[1]] || "SH33TJSERR3"),
          n[1] == n[2] ? a : a + ":" + e.SheetNames[n[2]]
        );
      case 14849:
        return e[n[0]]
          .slice(1)
          .map(function (i) {
            return i.Name;
          })
          .join(";;");
      default:
        return e[n[0]][0][3]
          ? ((a = n[1] == -1 ? "#REF" : e[n[0]][0][3][n[1]] || "SH33TJSERR4"),
            n[1] == n[2] ? a : a + ":" + e[n[0]][0][3][n[2]])
          : "SH33TJSERR2";
    }
  }
  function uf(e, t, r) {
    var n = Nl(e, t, r);
    return n == "#REF" ? n : Mv(n, r);
  }
  function En(e, t, r, n, a) {
    var i = (a && a.biff) || 8,
      s = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } },
      f = [],
      o,
      l,
      u,
      x = 0,
      d = 0,
      _,
      v = "";
    if (!e[0] || !e[0][0]) return "";
    for (var c = -1, g = "", L = 0, O = e[0].length; L < O; ++L) {
      var F = e[0][L];
      switch (F[0]) {
        case "PtgUminus":
          f.push("-" + f.pop());
          break;
        case "PtgUplus":
          f.push("+" + f.pop());
          break;
        case "PtgPercent":
          f.push(f.pop() + "%");
          break;
        case "PtgAdd":
        case "PtgConcat":
        case "PtgDiv":
        case "PtgEq":
        case "PtgGe":
        case "PtgGt":
        case "PtgLe":
        case "PtgLt":
        case "PtgMul":
        case "PtgNe":
        case "PtgPower":
        case "PtgSub":
          if (((o = f.pop()), (l = f.pop()), c >= 0)) {
            switch (e[0][c][1][0]) {
              case 0:
                g = Ge(" ", e[0][c][1][1]);
                break;
              case 1:
                g = Ge("\r", e[0][c][1][1]);
                break;
              default:
                if (((g = ""), a.WTF))
                  throw new Error(
                    "Unexpected PtgAttrSpaceType " + e[0][c][1][0]
                  );
            }
            (l = l + g), (c = -1);
          }
          f.push(l + kv[F[0]] + o);
          break;
        case "PtgIsect":
          (o = f.pop()), (l = f.pop()), f.push(l + " " + o);
          break;
        case "PtgUnion":
          (o = f.pop()), (l = f.pop()), f.push(l + "," + o);
          break;
        case "PtgRange":
          (o = f.pop()), (l = f.pop()), f.push(l + ":" + o);
          break;
        case "PtgAttrChoose":
          break;
        case "PtgAttrGoto":
          break;
        case "PtgAttrIf":
          break;
        case "PtgAttrIfError":
          break;
        case "PtgRef":
          (u = Vn(F[1][1], s, a)), f.push($n(u, i));
          break;
        case "PtgRefN":
          (u = r ? Vn(F[1][1], r, a) : F[1][1]), f.push($n(u, i));
          break;
        case "PtgRef3d":
          (x = F[1][1]),
            (u = Vn(F[1][2], s, a)),
            (v = uf(n, x, a)),
            f.push(v + "!" + $n(u, i));
          break;
        case "PtgFunc":
        case "PtgFuncVar":
          var P = F[1][0],
            K = F[1][1];
          P || (P = 0), (P &= 127);
          var Q = P == 0 ? [] : f.slice(-P);
          (f.length -= P),
            K === "User" && (K = Q.shift()),
            f.push(K + "(" + Q.join(",") + ")");
          break;
        case "PtgBool":
          f.push(F[1] ? "TRUE" : "FALSE");
          break;
        case "PtgInt":
          f.push(F[1]);
          break;
        case "PtgNum":
          f.push(String(F[1]));
          break;
        case "PtgStr":
          f.push('"' + F[1].replace(/"/g, '""') + '"');
          break;
        case "PtgErr":
          f.push(F[1]);
          break;
        case "PtgAreaN":
          (_ = Xs(F[1][1], r ? { s: r } : s, a)), f.push(bi(_, a));
          break;
        case "PtgArea":
          (_ = Xs(F[1][1], s, a)), f.push(bi(_, a));
          break;
        case "PtgArea3d":
          (x = F[1][1]),
            (_ = F[1][2]),
            (v = uf(n, x, a)),
            f.push(v + "!" + bi(_, a));
          break;
        case "PtgAttrSum":
          f.push("SUM(" + f.pop() + ")");
          break;
        case "PtgAttrBaxcel":
        case "PtgAttrSemi":
          break;
        case "PtgName":
          d = F[1][2];
          var R = (n.names || [])[d - 1] || (n[0] || [])[d],
            U = R ? R.Name : "SH33TJSNAME" + String(d);
          U && U.slice(0, 6) == "_xlfn." && !a.xlfn && (U = U.slice(6)),
            f.push(U);
          break;
        case "PtgNameX":
          var M = F[1][1];
          d = F[1][2];
          var G;
          if (a.biff <= 5) M < 0 && (M = -M), n[M] && (G = n[M][d]);
          else {
            var Y = "";
            if (
              (((n[M] || [])[0] || [])[0] == 14849 ||
                (((n[M] || [])[0] || [])[0] == 1025
                  ? n[M][d] &&
                    n[M][d].itab > 0 &&
                    (Y = n.SheetNames[n[M][d].itab - 1] + "!")
                  : (Y = n.SheetNames[d - 1] + "!")),
              n[M] && n[M][d])
            )
              Y += n[M][d].Name;
            else if (n[0] && n[0][d]) Y += n[0][d].Name;
            else {
              var V = (Nl(n, M, a) || "").split(";;");
              V[d - 1] ? (Y = V[d - 1]) : (Y += "SH33TJSERRX");
            }
            f.push(Y);
            break;
          }
          G || (G = { Name: "SH33TJSERRY" }), f.push(G.Name);
          break;
        case "PtgParen":
          var ne = "(",
            Ae = ")";
          if (c >= 0) {
            switch (((g = ""), e[0][c][1][0])) {
              case 2:
                ne = Ge(" ", e[0][c][1][1]) + ne;
                break;
              case 3:
                ne = Ge("\r", e[0][c][1][1]) + ne;
                break;
              case 4:
                Ae = Ge(" ", e[0][c][1][1]) + Ae;
                break;
              case 5:
                Ae = Ge("\r", e[0][c][1][1]) + Ae;
                break;
              default:
                if (a.WTF)
                  throw new Error(
                    "Unexpected PtgAttrSpaceType " + e[0][c][1][0]
                  );
            }
            c = -1;
          }
          f.push(ne + f.pop() + Ae);
          break;
        case "PtgRefErr":
          f.push("#REF!");
          break;
        case "PtgRefErr3d":
          f.push("#REF!");
          break;
        case "PtgExp":
          u = { c: F[1][1], r: F[1][0] };
          var ce = { c: r.c, r: r.r };
          if (n.sharedf[Re(u)]) {
            var ze = n.sharedf[Re(u)];
            f.push(En(ze, s, ce, n, a));
          } else {
            var be = !1;
            for (o = 0; o != n.arrayf.length; ++o)
              if (
                ((l = n.arrayf[o]),
                !(u.c < l[0].s.c || u.c > l[0].e.c) &&
                  !(u.r < l[0].s.r || u.r > l[0].e.r))
              ) {
                f.push(En(l[1], s, ce, n, a)), (be = !0);
                break;
              }
            be || f.push(F[1]);
          }
          break;
        case "PtgArray":
          f.push("{" + Nv(F[1]) + "}");
          break;
        case "PtgMemArea":
          break;
        case "PtgAttrSpace":
        case "PtgAttrSpaceSemi":
          c = L;
          break;
        case "PtgTbl":
          break;
        case "PtgMemErr":
          break;
        case "PtgMissArg":
          f.push("");
          break;
        case "PtgAreaErr":
          f.push("#REF!");
          break;
        case "PtgAreaErr3d":
          f.push("#REF!");
          break;
        case "PtgList":
          f.push("Table" + F[1].idx + "[#" + F[1].rt + "]");
          break;
        case "PtgMemAreaN":
        case "PtgMemNoMemN":
        case "PtgAttrNoop":
        case "PtgSheet":
        case "PtgEndSheet":
          break;
        case "PtgMemFunc":
          break;
        case "PtgMemNoMem":
          break;
        case "PtgElfCol":
        case "PtgElfColS":
        case "PtgElfColSV":
        case "PtgElfColV":
        case "PtgElfLel":
        case "PtgElfRadical":
        case "PtgElfRadicalLel":
        case "PtgElfRadicalS":
        case "PtgElfRw":
        case "PtgElfRwV":
          throw new Error("Unsupported ELFs");
        case "PtgSxName":
          throw new Error("Unrecognized Formula Token: " + String(F));
        default:
          throw new Error("Unrecognized Formula Token: " + String(F));
      }
      var De = ["PtgAttrSpace", "PtgAttrSpaceSemi", "PtgAttrGoto"];
      if (a.biff != 3 && c >= 0 && De.indexOf(e[0][L][0]) == -1) {
        F = e[0][c];
        var pe = !0;
        switch (F[1][0]) {
          case 4:
            pe = !1;
          case 0:
            g = Ge(" ", F[1][1]);
            break;
          case 5:
            pe = !1;
          case 1:
            g = Ge("\r", F[1][1]);
            break;
          default:
            if (((g = ""), a.WTF))
              throw new Error("Unexpected PtgAttrSpaceType " + F[1][0]);
        }
        f.push((pe ? g : "") + f.pop() + (pe ? "" : g)), (c = -1);
      }
    }
    if (f.length > 1 && a.WTF) throw new Error("bad formula stack");
    return f[0];
  }
  function Pv(e) {
    if (e == null) {
      var t = B(8);
      return (
        t.write_shift(1, 3),
        t.write_shift(1, 0),
        t.write_shift(2, 0),
        t.write_shift(2, 0),
        t.write_shift(2, 65535),
        t
      );
    } else if (typeof e == "number") return Kr(e);
    return Kr(0);
  }
  function Bv(e, t, r, n, a) {
    var i = zr(t, r, a),
      s = Pv(e.v),
      f = B(6),
      o = 33;
    f.write_shift(2, o), f.write_shift(4, 0);
    for (var l = B(e.bf.length), u = 0; u < e.bf.length; ++u) l[u] = e.bf[u];
    var x = ot([i, s, f, l]);
    return x;
  }
  function vi(e, t, r) {
    var n = e.read_shift(4),
      a = Dv(e, n, r),
      i = e.read_shift(4),
      s = i > 0 ? Iv(e, i, a, r) : null;
    return [a, s];
  }
  var bv = vi,
    gi = vi,
    Uv = vi,
    Wv = vi,
    Hv = {
      0: "BEEP",
      1: "OPEN",
      2: "OPEN.LINKS",
      3: "CLOSE.ALL",
      4: "SAVE",
      5: "SAVE.AS",
      6: "FILE.DELETE",
      7: "PAGE.SETUP",
      8: "PRINT",
      9: "PRINTER.SETUP",
      10: "QUIT",
      11: "NEW.WINDOW",
      12: "ARRANGE.ALL",
      13: "WINDOW.SIZE",
      14: "WINDOW.MOVE",
      15: "FULL",
      16: "CLOSE",
      17: "RUN",
      22: "SET.PRINT.AREA",
      23: "SET.PRINT.TITLES",
      24: "SET.PAGE.BREAK",
      25: "REMOVE.PAGE.BREAK",
      26: "FONT",
      27: "DISPLAY",
      28: "PROTECT.DOCUMENT",
      29: "PRECISION",
      30: "A1.R1C1",
      31: "CALCULATE.NOW",
      32: "CALCULATION",
      34: "DATA.FIND",
      35: "EXTRACT",
      36: "DATA.DELETE",
      37: "SET.DATABASE",
      38: "SET.CRITERIA",
      39: "SORT",
      40: "DATA.SERIES",
      41: "TABLE",
      42: "FORMAT.NUMBER",
      43: "ALIGNMENT",
      44: "STYLE",
      45: "BORDER",
      46: "CELL.PROTECTION",
      47: "COLUMN.WIDTH",
      48: "UNDO",
      49: "CUT",
      50: "COPY",
      51: "PASTE",
      52: "CLEAR",
      53: "PASTE.SPECIAL",
      54: "EDIT.DELETE",
      55: "INSERT",
      56: "FILL.RIGHT",
      57: "FILL.DOWN",
      61: "DEFINE.NAME",
      62: "CREATE.NAMES",
      63: "FORMULA.GOTO",
      64: "FORMULA.FIND",
      65: "SELECT.LAST.CELL",
      66: "SHOW.ACTIVE.CELL",
      67: "GALLERY.AREA",
      68: "GALLERY.BAR",
      69: "GALLERY.COLUMN",
      70: "GALLERY.LINE",
      71: "GALLERY.PIE",
      72: "GALLERY.SCATTER",
      73: "COMBINATION",
      74: "PREFERRED",
      75: "ADD.OVERLAY",
      76: "GRIDLINES",
      77: "SET.PREFERRED",
      78: "AXES",
      79: "LEGEND",
      80: "ATTACH.TEXT",
      81: "ADD.ARROW",
      82: "SELECT.CHART",
      83: "SELECT.PLOT.AREA",
      84: "PATTERNS",
      85: "MAIN.CHART",
      86: "OVERLAY",
      87: "SCALE",
      88: "FORMAT.LEGEND",
      89: "FORMAT.TEXT",
      90: "EDIT.REPEAT",
      91: "PARSE",
      92: "JUSTIFY",
      93: "HIDE",
      94: "UNHIDE",
      95: "WORKSPACE",
      96: "FORMULA",
      97: "FORMULA.FILL",
      98: "FORMULA.ARRAY",
      99: "DATA.FIND.NEXT",
      100: "DATA.FIND.PREV",
      101: "FORMULA.FIND.NEXT",
      102: "FORMULA.FIND.PREV",
      103: "ACTIVATE",
      104: "ACTIVATE.NEXT",
      105: "ACTIVATE.PREV",
      106: "UNLOCKED.NEXT",
      107: "UNLOCKED.PREV",
      108: "COPY.PICTURE",
      109: "SELECT",
      110: "DELETE.NAME",
      111: "DELETE.FORMAT",
      112: "VLINE",
      113: "HLINE",
      114: "VPAGE",
      115: "HPAGE",
      116: "VSCROLL",
      117: "HSCROLL",
      118: "ALERT",
      119: "NEW",
      120: "CANCEL.COPY",
      121: "SHOW.CLIPBOARD",
      122: "MESSAGE",
      124: "PASTE.LINK",
      125: "APP.ACTIVATE",
      126: "DELETE.ARROW",
      127: "ROW.HEIGHT",
      128: "FORMAT.MOVE",
      129: "FORMAT.SIZE",
      130: "FORMULA.REPLACE",
      131: "SEND.KEYS",
      132: "SELECT.SPECIAL",
      133: "APPLY.NAMES",
      134: "REPLACE.FONT",
      135: "FREEZE.PANES",
      136: "SHOW.INFO",
      137: "SPLIT",
      138: "ON.WINDOW",
      139: "ON.DATA",
      140: "DISABLE.INPUT",
      142: "OUTLINE",
      143: "LIST.NAMES",
      144: "FILE.CLOSE",
      145: "SAVE.WORKBOOK",
      146: "DATA.FORM",
      147: "COPY.CHART",
      148: "ON.TIME",
      149: "WAIT",
      150: "FORMAT.FONT",
      151: "FILL.UP",
      152: "FILL.LEFT",
      153: "DELETE.OVERLAY",
      155: "SHORT.MENUS",
      159: "SET.UPDATE.STATUS",
      161: "COLOR.PALETTE",
      162: "DELETE.STYLE",
      163: "WINDOW.RESTORE",
      164: "WINDOW.MAXIMIZE",
      166: "CHANGE.LINK",
      167: "CALCULATE.DOCUMENT",
      168: "ON.KEY",
      169: "APP.RESTORE",
      170: "APP.MOVE",
      171: "APP.SIZE",
      172: "APP.MINIMIZE",
      173: "APP.MAXIMIZE",
      174: "BRING.TO.FRONT",
      175: "SEND.TO.BACK",
      185: "MAIN.CHART.TYPE",
      186: "OVERLAY.CHART.TYPE",
      187: "SELECT.END",
      188: "OPEN.MAIL",
      189: "SEND.MAIL",
      190: "STANDARD.FONT",
      191: "CONSOLIDATE",
      192: "SORT.SPECIAL",
      193: "GALLERY.3D.AREA",
      194: "GALLERY.3D.COLUMN",
      195: "GALLERY.3D.LINE",
      196: "GALLERY.3D.PIE",
      197: "VIEW.3D",
      198: "GOAL.SEEK",
      199: "WORKGROUP",
      200: "FILL.GROUP",
      201: "UPDATE.LINK",
      202: "PROMOTE",
      203: "DEMOTE",
      204: "SHOW.DETAIL",
      206: "UNGROUP",
      207: "OBJECT.PROPERTIES",
      208: "SAVE.NEW.OBJECT",
      209: "SHARE",
      210: "SHARE.NAME",
      211: "DUPLICATE",
      212: "APPLY.STYLE",
      213: "ASSIGN.TO.OBJECT",
      214: "OBJECT.PROTECTION",
      215: "HIDE.OBJECT",
      216: "SET.EXTRACT",
      217: "CREATE.PUBLISHER",
      218: "SUBSCRIBE.TO",
      219: "ATTRIBUTES",
      220: "SHOW.TOOLBAR",
      222: "PRINT.PREVIEW",
      223: "EDIT.COLOR",
      224: "SHOW.LEVELS",
      225: "FORMAT.MAIN",
      226: "FORMAT.OVERLAY",
      227: "ON.RECALC",
      228: "EDIT.SERIES",
      229: "DEFINE.STYLE",
      240: "LINE.PRINT",
      243: "ENTER.DATA",
      249: "GALLERY.RADAR",
      250: "MERGE.STYLES",
      251: "EDITION.OPTIONS",
      252: "PASTE.PICTURE",
      253: "PASTE.PICTURE.LINK",
      254: "SPELLING",
      256: "ZOOM",
      259: "INSERT.OBJECT",
      260: "WINDOW.MINIMIZE",
      265: "SOUND.NOTE",
      266: "SOUND.PLAY",
      267: "FORMAT.SHAPE",
      268: "EXTEND.POLYGON",
      269: "FORMAT.AUTO",
      272: "GALLERY.3D.BAR",
      273: "GALLERY.3D.SURFACE",
      274: "FILL.AUTO",
      276: "CUSTOMIZE.TOOLBAR",
      277: "ADD.TOOL",
      278: "EDIT.OBJECT",
      279: "ON.DOUBLECLICK",
      280: "ON.ENTRY",
      281: "WORKBOOK.ADD",
      282: "WORKBOOK.MOVE",
      283: "WORKBOOK.COPY",
      284: "WORKBOOK.OPTIONS",
      285: "SAVE.WORKSPACE",
      288: "CHART.WIZARD",
      289: "DELETE.TOOL",
      290: "MOVE.TOOL",
      291: "WORKBOOK.SELECT",
      292: "WORKBOOK.ACTIVATE",
      293: "ASSIGN.TO.TOOL",
      295: "COPY.TOOL",
      296: "RESET.TOOL",
      297: "CONSTRAIN.NUMERIC",
      298: "PASTE.TOOL",
      302: "WORKBOOK.NEW",
      305: "SCENARIO.CELLS",
      306: "SCENARIO.DELETE",
      307: "SCENARIO.ADD",
      308: "SCENARIO.EDIT",
      309: "SCENARIO.SHOW",
      310: "SCENARIO.SHOW.NEXT",
      311: "SCENARIO.SUMMARY",
      312: "PIVOT.TABLE.WIZARD",
      313: "PIVOT.FIELD.PROPERTIES",
      314: "PIVOT.FIELD",
      315: "PIVOT.ITEM",
      316: "PIVOT.ADD.FIELDS",
      318: "OPTIONS.CALCULATION",
      319: "OPTIONS.EDIT",
      320: "OPTIONS.VIEW",
      321: "ADDIN.MANAGER",
      322: "MENU.EDITOR",
      323: "ATTACH.TOOLBARS",
      324: "VBAActivate",
      325: "OPTIONS.CHART",
      328: "VBA.INSERT.FILE",
      330: "VBA.PROCEDURE.DEFINITION",
      336: "ROUTING.SLIP",
      338: "ROUTE.DOCUMENT",
      339: "MAIL.LOGON",
      342: "INSERT.PICTURE",
      343: "EDIT.TOOL",
      344: "GALLERY.DOUGHNUT",
      350: "CHART.TREND",
      352: "PIVOT.ITEM.PROPERTIES",
      354: "WORKBOOK.INSERT",
      355: "OPTIONS.TRANSITION",
      356: "OPTIONS.GENERAL",
      370: "FILTER.ADVANCED",
      373: "MAIL.ADD.MAILER",
      374: "MAIL.DELETE.MAILER",
      375: "MAIL.REPLY",
      376: "MAIL.REPLY.ALL",
      377: "MAIL.FORWARD",
      378: "MAIL.NEXT.LETTER",
      379: "DATA.LABEL",
      380: "INSERT.TITLE",
      381: "FONT.PROPERTIES",
      382: "MACRO.OPTIONS",
      383: "WORKBOOK.HIDE",
      384: "WORKBOOK.UNHIDE",
      385: "WORKBOOK.DELETE",
      386: "WORKBOOK.NAME",
      388: "GALLERY.CUSTOM",
      390: "ADD.CHART.AUTOFORMAT",
      391: "DELETE.CHART.AUTOFORMAT",
      392: "CHART.ADD.DATA",
      393: "AUTO.OUTLINE",
      394: "TAB.ORDER",
      395: "SHOW.DIALOG",
      396: "SELECT.ALL",
      397: "UNGROUP.SHEETS",
      398: "SUBTOTAL.CREATE",
      399: "SUBTOTAL.REMOVE",
      400: "RENAME.OBJECT",
      412: "WORKBOOK.SCROLL",
      413: "WORKBOOK.NEXT",
      414: "WORKBOOK.PREV",
      415: "WORKBOOK.TAB.SPLIT",
      416: "FULL.SCREEN",
      417: "WORKBOOK.PROTECT",
      420: "SCROLLBAR.PROPERTIES",
      421: "PIVOT.SHOW.PAGES",
      422: "TEXT.TO.COLUMNS",
      423: "FORMAT.CHARTTYPE",
      424: "LINK.FORMAT",
      425: "TRACER.DISPLAY",
      430: "TRACER.NAVIGATE",
      431: "TRACER.CLEAR",
      432: "TRACER.ERROR",
      433: "PIVOT.FIELD.GROUP",
      434: "PIVOT.FIELD.UNGROUP",
      435: "CHECKBOX.PROPERTIES",
      436: "LABEL.PROPERTIES",
      437: "LISTBOX.PROPERTIES",
      438: "EDITBOX.PROPERTIES",
      439: "PIVOT.REFRESH",
      440: "LINK.COMBO",
      441: "OPEN.TEXT",
      442: "HIDE.DIALOG",
      443: "SET.DIALOG.FOCUS",
      444: "ENABLE.OBJECT",
      445: "PUSHBUTTON.PROPERTIES",
      446: "SET.DIALOG.DEFAULT",
      447: "FILTER",
      448: "FILTER.SHOW.ALL",
      449: "CLEAR.OUTLINE",
      450: "FUNCTION.WIZARD",
      451: "ADD.LIST.ITEM",
      452: "SET.LIST.ITEM",
      453: "REMOVE.LIST.ITEM",
      454: "SELECT.LIST.ITEM",
      455: "SET.CONTROL.VALUE",
      456: "SAVE.COPY.AS",
      458: "OPTIONS.LISTS.ADD",
      459: "OPTIONS.LISTS.DELETE",
      460: "SERIES.AXES",
      461: "SERIES.X",
      462: "SERIES.Y",
      463: "ERRORBAR.X",
      464: "ERRORBAR.Y",
      465: "FORMAT.CHART",
      466: "SERIES.ORDER",
      467: "MAIL.LOGOFF",
      468: "CLEAR.ROUTING.SLIP",
      469: "APP.ACTIVATE.MICROSOFT",
      470: "MAIL.EDIT.MAILER",
      471: "ON.SHEET",
      472: "STANDARD.WIDTH",
      473: "SCENARIO.MERGE",
      474: "SUMMARY.INFO",
      475: "FIND.FILE",
      476: "ACTIVE.CELL.FONT",
      477: "ENABLE.TIPWIZARD",
      478: "VBA.MAKE.ADDIN",
      480: "INSERTDATATABLE",
      481: "WORKGROUP.OPTIONS",
      482: "MAIL.SEND.MAILER",
      485: "AUTOCORRECT",
      489: "POST.DOCUMENT",
      491: "PICKLIST",
      493: "VIEW.SHOW",
      494: "VIEW.DEFINE",
      495: "VIEW.DELETE",
      509: "SHEET.BACKGROUND",
      510: "INSERT.MAP.OBJECT",
      511: "OPTIONS.MENONO",
      517: "MSOCHECKS",
      518: "NORMAL",
      519: "LAYOUT",
      520: "RM.PRINT.AREA",
      521: "CLEAR.PRINT.AREA",
      522: "ADD.PRINT.AREA",
      523: "MOVE.BRK",
      545: "HIDECURR.NOTE",
      546: "HIDEALL.NOTES",
      547: "DELETE.NOTE",
      548: "TRAVERSE.NOTES",
      549: "ACTIVATE.NOTES",
      620: "PROTECT.REVISIONS",
      621: "UNPROTECT.REVISIONS",
      647: "OPTIONS.ME",
      653: "WEB.PUBLISH",
      667: "NEWWEBQUERY",
      673: "PIVOT.TABLE.CHART",
      753: "OPTIONS.SAVE",
      755: "OPTIONS.SPELL",
      808: "HIDEALL.INKANNOTS",
    },
    kl = {
      0: "COUNT",
      1: "IF",
      2: "ISNA",
      3: "ISERROR",
      4: "SUM",
      5: "AVERAGE",
      6: "MIN",
      7: "MAX",
      8: "ROW",
      9: "COLUMN",
      10: "NA",
      11: "NPV",
      12: "STDEV",
      13: "DOLLAR",
      14: "FIXED",
      15: "SIN",
      16: "COS",
      17: "TAN",
      18: "ATAN",
      19: "PI",
      20: "SQRT",
      21: "EXP",
      22: "LN",
      23: "LOG10",
      24: "ABS",
      25: "INT",
      26: "SIGN",
      27: "ROUND",
      28: "LOOKUP",
      29: "INDEX",
      30: "REPT",
      31: "MID",
      32: "LEN",
      33: "VALUE",
      34: "TRUE",
      35: "FALSE",
      36: "AND",
      37: "OR",
      38: "NOT",
      39: "MOD",
      40: "DCOUNT",
      41: "DSUM",
      42: "DAVERAGE",
      43: "DMIN",
      44: "DMAX",
      45: "DSTDEV",
      46: "VAR",
      47: "DVAR",
      48: "TEXT",
      49: "LINEST",
      50: "TREND",
      51: "LOGEST",
      52: "GROWTH",
      53: "GOTO",
      54: "HALT",
      55: "RETURN",
      56: "PV",
      57: "FV",
      58: "NPER",
      59: "PMT",
      60: "RATE",
      61: "MIRR",
      62: "IRR",
      63: "RAND",
      64: "MATCH",
      65: "DATE",
      66: "TIME",
      67: "DAY",
      68: "MONTH",
      69: "YEAR",
      70: "WEEKDAY",
      71: "HOUR",
      72: "MINUTE",
      73: "SECOND",
      74: "NOW",
      75: "AREAS",
      76: "ROWS",
      77: "COLUMNS",
      78: "OFFSET",
      79: "ABSREF",
      80: "RELREF",
      81: "ARGUMENT",
      82: "SEARCH",
      83: "TRANSPOSE",
      84: "ERROR",
      85: "STEP",
      86: "TYPE",
      87: "ECHO",
      88: "SET.NAME",
      89: "CALLER",
      90: "DEREF",
      91: "WINDOWS",
      92: "SERIES",
      93: "DOCUMENTS",
      94: "ACTIVE.CELL",
      95: "SELECTION",
      96: "RESULT",
      97: "ATAN2",
      98: "ASIN",
      99: "ACOS",
      100: "CHOOSE",
      101: "HLOOKUP",
      102: "VLOOKUP",
      103: "LINKS",
      104: "INPUT",
      105: "ISREF",
      106: "GET.FORMULA",
      107: "GET.NAME",
      108: "SET.VALUE",
      109: "LOG",
      110: "EXEC",
      111: "CHAR",
      112: "LOWER",
      113: "UPPER",
      114: "PROPER",
      115: "LEFT",
      116: "RIGHT",
      117: "EXACT",
      118: "TRIM",
      119: "REPLACE",
      120: "SUBSTITUTE",
      121: "CODE",
      122: "NAMES",
      123: "DIRECTORY",
      124: "FIND",
      125: "CELL",
      126: "ISERR",
      127: "ISTEXT",
      128: "ISNUMBER",
      129: "ISBLANK",
      130: "T",
      131: "N",
      132: "FOPEN",
      133: "FCLOSE",
      134: "FSIZE",
      135: "FREADLN",
      136: "FREAD",
      137: "FWRITELN",
      138: "FWRITE",
      139: "FPOS",
      140: "DATEVALUE",
      141: "TIMEVALUE",
      142: "SLN",
      143: "SYD",
      144: "DDB",
      145: "GET.DEF",
      146: "REFTEXT",
      147: "TEXTREF",
      148: "INDIRECT",
      149: "REGISTER",
      150: "CALL",
      151: "ADD.BAR",
      152: "ADD.MENU",
      153: "ADD.COMMAND",
      154: "ENABLE.COMMAND",
      155: "CHECK.COMMAND",
      156: "RENAME.COMMAND",
      157: "SHOW.BAR",
      158: "DELETE.MENU",
      159: "DELETE.COMMAND",
      160: "GET.CHART.ITEM",
      161: "DIALOG.BOX",
      162: "CLEAN",
      163: "MDETERM",
      164: "MINVERSE",
      165: "MMULT",
      166: "FILES",
      167: "IPMT",
      168: "PPMT",
      169: "COUNTA",
      170: "CANCEL.KEY",
      171: "FOR",
      172: "WHILE",
      173: "BREAK",
      174: "NEXT",
      175: "INITIATE",
      176: "REQUEST",
      177: "POKE",
      178: "EXECUTE",
      179: "TERMINATE",
      180: "RESTART",
      181: "HELP",
      182: "GET.BAR",
      183: "PRODUCT",
      184: "FACT",
      185: "GET.CELL",
      186: "GET.WORKSPACE",
      187: "GET.WINDOW",
      188: "GET.DOCUMENT",
      189: "DPRODUCT",
      190: "ISNONTEXT",
      191: "GET.NOTE",
      192: "NOTE",
      193: "STDEVP",
      194: "VARP",
      195: "DSTDEVP",
      196: "DVARP",
      197: "TRUNC",
      198: "ISLOGICAL",
      199: "DCOUNTA",
      200: "DELETE.BAR",
      201: "UNREGISTER",
      204: "USDOLLAR",
      205: "FINDB",
      206: "SEARCHB",
      207: "REPLACEB",
      208: "LEFTB",
      209: "RIGHTB",
      210: "MIDB",
      211: "LENB",
      212: "ROUNDUP",
      213: "ROUNDDOWN",
      214: "ASC",
      215: "DBCS",
      216: "RANK",
      219: "ADDRESS",
      220: "DAYS360",
      221: "TODAY",
      222: "VDB",
      223: "ELSE",
      224: "ELSE.IF",
      225: "END.IF",
      226: "FOR.CELL",
      227: "MEDIAN",
      228: "SUMPRODUCT",
      229: "SINH",
      230: "COSH",
      231: "TANH",
      232: "ASINH",
      233: "ACOSH",
      234: "ATANH",
      235: "DGET",
      236: "CREATE.OBJECT",
      237: "VOLATILE",
      238: "LAST.ERROR",
      239: "CUSTOM.UNDO",
      240: "CUSTOM.REPEAT",
      241: "FORMULA.CONVERT",
      242: "GET.LINK.INFO",
      243: "TEXT.BOX",
      244: "INFO",
      245: "GROUP",
      246: "GET.OBJECT",
      247: "DB",
      248: "PAUSE",
      251: "RESUME",
      252: "FREQUENCY",
      253: "ADD.TOOLBAR",
      254: "DELETE.TOOLBAR",
      255: "User",
      256: "RESET.TOOLBAR",
      257: "EVALUATE",
      258: "GET.TOOLBAR",
      259: "GET.TOOL",
      260: "SPELLING.CHECK",
      261: "ERROR.TYPE",
      262: "APP.TITLE",
      263: "WINDOW.TITLE",
      264: "SAVE.TOOLBAR",
      265: "ENABLE.TOOL",
      266: "PRESS.TOOL",
      267: "REGISTER.ID",
      268: "GET.WORKBOOK",
      269: "AVEDEV",
      270: "BETADIST",
      271: "GAMMALN",
      272: "BETAINV",
      273: "BINOMDIST",
      274: "CHIDIST",
      275: "CHIINV",
      276: "COMBIN",
      277: "CONFIDENCE",
      278: "CRITBINOM",
      279: "EVEN",
      280: "EXPONDIST",
      281: "FDIST",
      282: "FINV",
      283: "FISHER",
      284: "FISHERINV",
      285: "FLOOR",
      286: "GAMMADIST",
      287: "GAMMAINV",
      288: "CEILING",
      289: "HYPGEOMDIST",
      290: "LOGNORMDIST",
      291: "LOGINV",
      292: "NEGBINOMDIST",
      293: "NORMDIST",
      294: "NORMSDIST",
      295: "NORMINV",
      296: "NORMSINV",
      297: "STANDARDIZE",
      298: "ODD",
      299: "PERMUT",
      300: "POISSON",
      301: "TDIST",
      302: "WEIBULL",
      303: "SUMXMY2",
      304: "SUMX2MY2",
      305: "SUMX2PY2",
      306: "CHITEST",
      307: "CORREL",
      308: "COVAR",
      309: "FORECAST",
      310: "FTEST",
      311: "INTERCEPT",
      312: "PEARSON",
      313: "RSQ",
      314: "STEYX",
      315: "SLOPE",
      316: "TTEST",
      317: "PROB",
      318: "DEVSQ",
      319: "GEOMEAN",
      320: "HARMEAN",
      321: "SUMSQ",
      322: "KURT",
      323: "SKEW",
      324: "ZTEST",
      325: "LARGE",
      326: "SMALL",
      327: "QUARTILE",
      328: "PERCENTILE",
      329: "PERCENTRANK",
      330: "MODE",
      331: "TRIMMEAN",
      332: "TINV",
      334: "MOVIE.COMMAND",
      335: "GET.MOVIE",
      336: "CONCATENATE",
      337: "POWER",
      338: "PIVOT.ADD.DATA",
      339: "GET.PIVOT.TABLE",
      340: "GET.PIVOT.FIELD",
      341: "GET.PIVOT.ITEM",
      342: "RADIANS",
      343: "DEGREES",
      344: "SUBTOTAL",
      345: "SUMIF",
      346: "COUNTIF",
      347: "COUNTBLANK",
      348: "SCENARIO.GET",
      349: "OPTIONS.LISTS.GET",
      350: "ISPMT",
      351: "DATEDIF",
      352: "DATESTRING",
      353: "NUMBERSTRING",
      354: "ROMAN",
      355: "OPEN.DIALOG",
      356: "SAVE.DIALOG",
      357: "VIEW.GET",
      358: "GETPIVOTDATA",
      359: "HYPERLINK",
      360: "PHONETIC",
      361: "AVERAGEA",
      362: "MAXA",
      363: "MINA",
      364: "STDEVPA",
      365: "VARPA",
      366: "STDEVA",
      367: "VARA",
      368: "BAHTTEXT",
      369: "THAIDAYOFWEEK",
      370: "THAIDIGIT",
      371: "THAIMONTHOFYEAR",
      372: "THAINUMSOUND",
      373: "THAINUMSTRING",
      374: "THAISTRINGLENGTH",
      375: "ISTHAIDIGIT",
      376: "ROUNDBAHTDOWN",
      377: "ROUNDBAHTUP",
      378: "THAIYEAR",
      379: "RTD",
      380: "CUBEVALUE",
      381: "CUBEMEMBER",
      382: "CUBEMEMBERPROPERTY",
      383: "CUBERANKEDMEMBER",
      384: "HEX2BIN",
      385: "HEX2DEC",
      386: "HEX2OCT",
      387: "DEC2BIN",
      388: "DEC2HEX",
      389: "DEC2OCT",
      390: "OCT2BIN",
      391: "OCT2HEX",
      392: "OCT2DEC",
      393: "BIN2DEC",
      394: "BIN2OCT",
      395: "BIN2HEX",
      396: "IMSUB",
      397: "IMDIV",
      398: "IMPOWER",
      399: "IMABS",
      400: "IMSQRT",
      401: "IMLN",
      402: "IMLOG2",
      403: "IMLOG10",
      404: "IMSIN",
      405: "IMCOS",
      406: "IMEXP",
      407: "IMARGUMENT",
      408: "IMCONJUGATE",
      409: "IMAGINARY",
      410: "IMREAL",
      411: "COMPLEX",
      412: "IMSUM",
      413: "IMPRODUCT",
      414: "SERIESSUM",
      415: "FACTDOUBLE",
      416: "SQRTPI",
      417: "QUOTIENT",
      418: "DELTA",
      419: "GESTEP",
      420: "ISEVEN",
      421: "ISODD",
      422: "MROUND",
      423: "ERF",
      424: "ERFC",
      425: "BESSELJ",
      426: "BESSELK",
      427: "BESSELY",
      428: "BESSELI",
      429: "XIRR",
      430: "XNPV",
      431: "PRICEMAT",
      432: "YIELDMAT",
      433: "INTRATE",
      434: "RECEIVED",
      435: "DISC",
      436: "PRICEDISC",
      437: "YIELDDISC",
      438: "TBILLEQ",
      439: "TBILLPRICE",
      440: "TBILLYIELD",
      441: "PRICE",
      442: "YIELD",
      443: "DOLLARDE",
      444: "DOLLARFR",
      445: "NOMINAL",
      446: "EFFECT",
      447: "CUMPRINC",
      448: "CUMIPMT",
      449: "EDATE",
      450: "EOMONTH",
      451: "YEARFRAC",
      452: "COUPDAYBS",
      453: "COUPDAYS",
      454: "COUPDAYSNC",
      455: "COUPNCD",
      456: "COUPNUM",
      457: "COUPPCD",
      458: "DURATION",
      459: "MDURATION",
      460: "ODDLPRICE",
      461: "ODDLYIELD",
      462: "ODDFPRICE",
      463: "ODDFYIELD",
      464: "RANDBETWEEN",
      465: "WEEKNUM",
      466: "AMORDEGRC",
      467: "AMORLINC",
      468: "CONVERT",
      724: "SHEETJS",
      469: "ACCRINT",
      470: "ACCRINTM",
      471: "WORKDAY",
      472: "NETWORKDAYS",
      473: "GCD",
      474: "MULTINOMIAL",
      475: "LCM",
      476: "FVSCHEDULE",
      477: "CUBEKPIMEMBER",
      478: "CUBESET",
      479: "CUBESETCOUNT",
      480: "IFERROR",
      481: "COUNTIFS",
      482: "SUMIFS",
      483: "AVERAGEIF",
      484: "AVERAGEIFS",
    },
    Yv = {
      2: 1,
      3: 1,
      10: 0,
      15: 1,
      16: 1,
      17: 1,
      18: 1,
      19: 0,
      20: 1,
      21: 1,
      22: 1,
      23: 1,
      24: 1,
      25: 1,
      26: 1,
      27: 2,
      30: 2,
      31: 3,
      32: 1,
      33: 1,
      34: 0,
      35: 0,
      38: 1,
      39: 2,
      40: 3,
      41: 3,
      42: 3,
      43: 3,
      44: 3,
      45: 3,
      47: 3,
      48: 2,
      53: 1,
      61: 3,
      63: 0,
      65: 3,
      66: 3,
      67: 1,
      68: 1,
      69: 1,
      70: 1,
      71: 1,
      72: 1,
      73: 1,
      74: 0,
      75: 1,
      76: 1,
      77: 1,
      79: 2,
      80: 2,
      83: 1,
      85: 0,
      86: 1,
      89: 0,
      90: 1,
      94: 0,
      95: 0,
      97: 2,
      98: 1,
      99: 1,
      101: 3,
      102: 3,
      105: 1,
      106: 1,
      108: 2,
      111: 1,
      112: 1,
      113: 1,
      114: 1,
      117: 2,
      118: 1,
      119: 4,
      121: 1,
      126: 1,
      127: 1,
      128: 1,
      129: 1,
      130: 1,
      131: 1,
      133: 1,
      134: 1,
      135: 1,
      136: 2,
      137: 2,
      138: 2,
      140: 1,
      141: 1,
      142: 3,
      143: 4,
      144: 4,
      161: 1,
      162: 1,
      163: 1,
      164: 1,
      165: 2,
      172: 1,
      175: 2,
      176: 2,
      177: 3,
      178: 2,
      179: 1,
      184: 1,
      186: 1,
      189: 3,
      190: 1,
      195: 3,
      196: 3,
      197: 1,
      198: 1,
      199: 3,
      201: 1,
      207: 4,
      210: 3,
      211: 1,
      212: 2,
      213: 2,
      214: 1,
      215: 1,
      225: 0,
      229: 1,
      230: 1,
      231: 1,
      232: 1,
      233: 1,
      234: 1,
      235: 3,
      244: 1,
      247: 4,
      252: 2,
      257: 1,
      261: 1,
      271: 1,
      273: 4,
      274: 2,
      275: 2,
      276: 2,
      277: 3,
      278: 3,
      279: 1,
      280: 3,
      281: 3,
      282: 3,
      283: 1,
      284: 1,
      285: 2,
      286: 4,
      287: 3,
      288: 2,
      289: 4,
      290: 3,
      291: 3,
      292: 3,
      293: 4,
      294: 1,
      295: 3,
      296: 1,
      297: 3,
      298: 1,
      299: 2,
      300: 3,
      301: 3,
      302: 4,
      303: 2,
      304: 2,
      305: 2,
      306: 2,
      307: 2,
      308: 2,
      309: 3,
      310: 2,
      311: 2,
      312: 2,
      313: 2,
      314: 2,
      315: 2,
      316: 4,
      325: 2,
      326: 2,
      327: 2,
      328: 2,
      331: 2,
      332: 2,
      337: 2,
      342: 1,
      343: 1,
      346: 2,
      347: 1,
      350: 4,
      351: 3,
      352: 1,
      353: 2,
      360: 1,
      368: 1,
      369: 1,
      370: 1,
      371: 1,
      372: 1,
      373: 1,
      374: 1,
      375: 1,
      376: 1,
      377: 1,
      378: 1,
      382: 3,
      385: 1,
      392: 1,
      393: 1,
      396: 2,
      397: 2,
      398: 2,
      399: 1,
      400: 1,
      401: 1,
      402: 1,
      403: 1,
      404: 1,
      405: 1,
      406: 1,
      407: 1,
      408: 1,
      409: 1,
      410: 1,
      414: 4,
      415: 1,
      416: 1,
      417: 2,
      420: 1,
      421: 1,
      422: 2,
      424: 1,
      425: 2,
      426: 2,
      427: 2,
      428: 2,
      430: 3,
      438: 3,
      439: 3,
      440: 3,
      443: 2,
      444: 2,
      445: 2,
      446: 2,
      447: 6,
      448: 6,
      449: 2,
      450: 2,
      464: 2,
      468: 3,
      476: 2,
      479: 1,
      480: 2,
      65535: 0,
    };
  function Gv(e) {
    var t = "of:=" + e.replace(X0, "$1[.$2$3$4$5]").replace(/\]:\[/g, ":");
    return t.replace(/;/g, "|").replace(/,/g, ";");
  }
  function Vv(e) {
    return e.replace(/\./, "!");
  }
  var jn = typeof Map != "undefined";
  function J0(e, t, r) {
    var n = 0,
      a = e.length;
    if (r) {
      if (jn ? r.has(t) : Object.prototype.hasOwnProperty.call(r, t)) {
        for (var i = jn ? r.get(t) : r[t]; n < i.length; ++n)
          if (e[i[n]].t === t) return e.Count++, i[n];
      }
    } else for (; n < a; ++n) if (e[n].t === t) return e.Count++, n;
    return (
      (e[a] = { t }),
      e.Count++,
      e.Unique++,
      r &&
        (jn
          ? (r.has(t) || r.set(t, []), r.get(t).push(a))
          : (Object.prototype.hasOwnProperty.call(r, t) || (r[t] = []),
            r[t].push(a))),
      a
    );
  }
  function Ti(e, t) {
    var r = { min: e + 1, max: e + 1 },
      n = -1;
    return (
      t.MDW && (vr = t.MDW),
      t.width != null
        ? (r.customWidth = 1)
        : t.wpx != null
        ? (n = Ka(t.wpx))
        : t.wch != null && (n = t.wch),
      n > -1
        ? ((r.width = a0(n)), (r.customWidth = 1))
        : t.width != null && (r.width = t.width),
      t.hidden && (r.hidden = !0),
      t.level != null && (r.outlineLevel = r.level = t.level),
      r
    );
  }
  function Ml(e, t) {
    if (!!e) {
      var r = [0.7, 0.7, 0.75, 0.75, 0.3, 0.3];
      t == "xlml" && (r = [1, 1, 1, 1, 0.5, 0.5]),
        e.left == null && (e.left = r[0]),
        e.right == null && (e.right = r[1]),
        e.top == null && (e.top = r[2]),
        e.bottom == null && (e.bottom = r[3]),
        e.header == null && (e.header = r[4]),
        e.footer == null && (e.footer = r[5]);
    }
  }
  function kr(e, t, r) {
    var n = r.revssf[t.z != null ? t.z : "General"],
      a = 60,
      i = e.length;
    if (n == null && r.ssf) {
      for (; a < 392; ++a)
        if (r.ssf[a] == null) {
          Co(t.z, a), (r.ssf[a] = t.z), (r.revssf[t.z] = n = a);
          break;
        }
    }
    for (a = 0; a != i; ++a) if (e[a].numFmtId === n) return a;
    return (
      (e[i] = {
        numFmtId: n,
        fontId: 0,
        fillId: 0,
        borderId: 0,
        xfId: 0,
        applyNumberFormat: 1,
      }),
      i
    );
  }
  function $v(e, t, r) {
    if (e && e["!ref"]) {
      var n = Pe(e["!ref"]);
      if (n.e.c < n.s.c || n.e.r < n.s.r)
        throw new Error("Bad range (" + r + "): " + e["!ref"]);
    }
  }
  function jv(e) {
    if (e.length === 0) return "";
    for (
      var t = '<mergeCells count="' + e.length + '">', r = 0;
      r != e.length;
      ++r
    )
      t += '<mergeCell ref="' + Xe(e[r]) + '"/>';
    return t + "</mergeCells>";
  }
  function Xv(e, t, r, n, a) {
    var i = !1,
      s = {},
      f = null;
    if (n.bookType !== "xlsx" && t.vbaraw) {
      var o = t.SheetNames[r];
      try {
        t.Workbook && (o = t.Workbook.Sheets[r].CodeName || o);
      } catch {}
      (i = !0), (s.codeName = _r(Oe(o)));
    }
    if (e && e["!outline"]) {
      var l = { summaryBelow: 1, summaryRight: 1 };
      e["!outline"].above && (l.summaryBelow = 0),
        e["!outline"].left && (l.summaryRight = 0),
        (f = (f || "") + J("outlinePr", null, l));
    }
    (!i && !f) || (a[a.length] = J("sheetPr", f, s));
  }
  var Kv = ["objects", "scenarios", "selectLockedCells", "selectUnlockedCells"],
    zv = [
      "formatColumns",
      "formatRows",
      "formatCells",
      "insertColumns",
      "insertRows",
      "insertHyperlinks",
      "deleteColumns",
      "deleteRows",
      "sort",
      "autoFilter",
      "pivotTables",
    ];
  function Jv(e) {
    var t = { sheet: 1 };
    return (
      Kv.forEach(function (r) {
        e[r] != null && e[r] && (t[r] = "1");
      }),
      zv.forEach(function (r) {
        e[r] != null && !e[r] && (t[r] = "0");
      }),
      e.password && (t.password = vl(e.password).toString(16).toUpperCase()),
      J("sheetProtection", null, t)
    );
  }
  function Zv(e) {
    return Ml(e), J("pageMargins", null, e);
  }
  function qv(e, t) {
    for (var r = ["<cols>"], n, a = 0; a != t.length; ++a)
      !(n = t[a]) || (r[r.length] = J("col", null, Ti(a, n)));
    return (r[r.length] = "</cols>"), r.join("");
  }
  function Qv(e, t, r, n) {
    var a = typeof e.ref == "string" ? e.ref : Xe(e.ref);
    r.Workbook || (r.Workbook = { Sheets: [] }),
      r.Workbook.Names || (r.Workbook.Names = []);
    var i = r.Workbook.Names,
      s = kt(a);
    s.s.r == s.e.r && ((s.e.r = kt(t["!ref"]).e.r), (a = Xe(s)));
    for (var f = 0; f < i.length; ++f) {
      var o = i[f];
      if (o.Name == "_xlnm._FilterDatabase" && o.Sheet == n) {
        o.Ref = "'" + r.SheetNames[n] + "'!" + a;
        break;
      }
    }
    return (
      f == i.length &&
        i.push({
          Name: "_xlnm._FilterDatabase",
          Sheet: n,
          Ref: "'" + r.SheetNames[n] + "'!" + a,
        }),
      J("autoFilter", null, { ref: a })
    );
  }
  function eg(e, t, r, n) {
    var a = { workbookViewId: "0" };
    return (
      (((n || {}).Workbook || {}).Views || [])[0] &&
        (a.rightToLeft = n.Workbook.Views[0].RTL ? "1" : "0"),
      J("sheetViews", J("sheetView", null, a), {})
    );
  }
  function tg(e, t, r, n) {
    if (
      (e.c && r["!comments"].push([t, e.c]),
      (e.v === void 0 && typeof e.f != "string") || (e.t === "z" && !e.f))
    )
      return "";
    var a = "",
      i = e.t,
      s = e.v;
    if (e.t !== "z")
      switch (e.t) {
        case "b":
          a = e.v ? "1" : "0";
          break;
        case "n":
          a = "" + e.v;
          break;
        case "e":
          a = ua[e.v];
          break;
        case "d":
          n && n.cellDates
            ? (a = St(e.v, -1).toISOString())
            : ((e = Ot(e)), (e.t = "n"), (a = "" + (e.v = Lt(St(e.v))))),
            typeof e.z == "undefined" && (e.z = Ve[14]);
          break;
        default:
          a = e.v;
          break;
      }
    var f = lt("v", Oe(a)),
      o = { r: t },
      l = kr(n.cellXfs, e, n);
    switch ((l !== 0 && (o.s = l), e.t)) {
      case "n":
        break;
      case "d":
        o.t = "d";
        break;
      case "b":
        o.t = "b";
        break;
      case "e":
        o.t = "e";
        break;
      case "z":
        break;
      default:
        if (e.v == null) {
          delete e.t;
          break;
        }
        if (e.v.length > 32767)
          throw new Error("Text length must not exceed 32767 characters");
        if (n && n.bookSST) {
          (f = lt("v", "" + J0(n.Strings, e.v, n.revStrings))), (o.t = "s");
          break;
        }
        o.t = "str";
        break;
    }
    if ((e.t != i && ((e.t = i), (e.v = s)), typeof e.f == "string" && e.f)) {
      var u =
        e.F && e.F.slice(0, t.length) == t ? { t: "array", ref: e.F } : null;
      f = J("f", Oe(e.f), u) + (e.v != null ? f : "");
    }
    return e.l && r["!links"].push([t, e.l]), e.D && (o.cm = 1), J("c", f, o);
  }
  function rg(e, t, r, n) {
    var a = [],
      i = [],
      s = Pe(e["!ref"]),
      f = "",
      o,
      l = "",
      u = [],
      x = 0,
      d = 0,
      _ = e["!rows"],
      v = Array.isArray(e),
      c = { r: l },
      g,
      L = -1;
    for (d = s.s.c; d <= s.e.c; ++d) u[d] = mt(d);
    for (x = s.s.r; x <= s.e.r; ++x) {
      for (i = [], l = ut(x), d = s.s.c; d <= s.e.c; ++d) {
        o = u[d] + l;
        var O = v ? (e[x] || [])[d] : e[o];
        O !== void 0 && (f = tg(O, o, e, t)) != null && i.push(f);
      }
      (i.length > 0 || (_ && _[x])) &&
        ((c = { r: l }),
        _ &&
          _[x] &&
          ((g = _[x]),
          g.hidden && (c.hidden = 1),
          (L = -1),
          g.hpx ? (L = za(g.hpx)) : g.hpt && (L = g.hpt),
          L > -1 && ((c.ht = L), (c.customHeight = 1)),
          g.level && (c.outlineLevel = g.level)),
        (a[a.length] = J("row", i.join(""), c)));
    }
    if (_)
      for (; x < _.length; ++x)
        _ &&
          _[x] &&
          ((c = { r: x + 1 }),
          (g = _[x]),
          g.hidden && (c.hidden = 1),
          (L = -1),
          g.hpx ? (L = za(g.hpx)) : g.hpt && (L = g.hpt),
          L > -1 && ((c.ht = L), (c.customHeight = 1)),
          g.level && (c.outlineLevel = g.level),
          (a[a.length] = J("row", "", c)));
    return a.join("");
  }
  function Pl(e, t, r, n) {
    var a = [Ke, J("worksheet", null, { xmlns: yn[0], "xmlns:r": tt.r })],
      i = r.SheetNames[e],
      s = 0,
      f = "",
      o = r.Sheets[i];
    o == null && (o = {});
    var l = o["!ref"] || "A1",
      u = Pe(l);
    if (u.e.c > 16383 || u.e.r > 1048575) {
      if (t.WTF)
        throw new Error("Range " + l + " exceeds format limit A1:XFD1048576");
      (u.e.c = Math.min(u.e.c, 16383)),
        (u.e.r = Math.min(u.e.c, 1048575)),
        (l = Xe(u));
    }
    n || (n = {}), (o["!comments"] = []);
    var x = [];
    Xv(o, r, e, t, a),
      (a[a.length] = J("dimension", null, { ref: l })),
      (a[a.length] = eg(o, t, e, r)),
      t.sheetFormat &&
        (a[a.length] = J("sheetFormatPr", null, {
          defaultRowHeight: t.sheetFormat.defaultRowHeight || "16",
          baseColWidth: t.sheetFormat.baseColWidth || "10",
          outlineLevelRow: t.sheetFormat.outlineLevelRow || "7",
        })),
      o["!cols"] != null &&
        o["!cols"].length > 0 &&
        (a[a.length] = qv(o, o["!cols"])),
      (a[(s = a.length)] = "<sheetData/>"),
      (o["!links"] = []),
      o["!ref"] != null && ((f = rg(o, t)), f.length > 0 && (a[a.length] = f)),
      a.length > s + 1 &&
        ((a[a.length] = "</sheetData>"), (a[s] = a[s].replace("/>", ">"))),
      o["!protect"] && (a[a.length] = Jv(o["!protect"])),
      o["!autofilter"] != null && (a[a.length] = Qv(o["!autofilter"], o, r, e)),
      o["!merges"] != null &&
        o["!merges"].length > 0 &&
        (a[a.length] = jv(o["!merges"]));
    var d = -1,
      _,
      v = -1;
    return (
      o["!links"].length > 0 &&
        ((a[a.length] = "<hyperlinks>"),
        o["!links"].forEach(function (c) {
          !c[1].Target ||
            ((_ = { ref: c[0] }),
            c[1].Target.charAt(0) != "#" &&
              ((v = Le(n, -1, Oe(c[1].Target).replace(/#.*$/, ""), Te.HLINK)),
              (_["r:id"] = "rId" + v)),
            (d = c[1].Target.indexOf("#")) > -1 &&
              (_.location = Oe(c[1].Target.slice(d + 1))),
            c[1].Tooltip && (_.tooltip = Oe(c[1].Tooltip)),
            (a[a.length] = J("hyperlink", null, _)));
        }),
        (a[a.length] = "</hyperlinks>")),
      delete o["!links"],
      o["!margins"] != null && (a[a.length] = Zv(o["!margins"])),
      (!t || t.ignoreEC || t.ignoreEC == null) &&
        (a[a.length] = lt(
          "ignoredErrors",
          J("ignoredError", null, { numberStoredAsText: 1, sqref: l })
        )),
      x.length > 0 &&
        ((v = Le(n, -1, "../drawings/drawing" + (e + 1) + ".xml", Te.DRAW)),
        (a[a.length] = J("drawing", null, { "r:id": "rId" + v })),
        (o["!drawing"] = x)),
      o["!comments"].length > 0 &&
        ((v = Le(n, -1, "../drawings/vmlDrawing" + (e + 1) + ".vml", Te.VML)),
        (a[a.length] = J("legacyDrawing", null, { "r:id": "rId" + v })),
        (o["!legacy"] = v)),
      a.length > 1 &&
        ((a[a.length] = "</worksheet>"), (a[1] = a[1].replace("/>", ">"))),
      a.join("")
    );
  }
  function ng(e, t) {
    var r = {},
      n = e.l + t;
    (r.r = e.read_shift(4)), (e.l += 4);
    var a = e.read_shift(2);
    e.l += 1;
    var i = e.read_shift(1);
    return (
      (e.l = n),
      i & 7 && (r.level = i & 7),
      i & 16 && (r.hidden = !0),
      i & 32 && (r.hpt = a / 20),
      r
    );
  }
  function ag(e, t, r) {
    var n = B(145),
      a = (r["!rows"] || [])[e] || {};
    n.write_shift(4, e), n.write_shift(4, 0);
    var i = 320;
    a.hpx ? (i = za(a.hpx) * 20) : a.hpt && (i = a.hpt * 20),
      n.write_shift(2, i),
      n.write_shift(1, 0);
    var s = 0;
    a.level && (s |= a.level),
      a.hidden && (s |= 16),
      (a.hpx || a.hpt) && (s |= 32),
      n.write_shift(1, s),
      n.write_shift(1, 0);
    var f = 0,
      o = n.l;
    n.l += 4;
    for (var l = { r: e, c: 0 }, u = 0; u < 16; ++u)
      if (!(t.s.c > (u + 1) << 10 || t.e.c < u << 10)) {
        for (var x = -1, d = -1, _ = u << 10; _ < (u + 1) << 10; ++_) {
          l.c = _;
          var v = Array.isArray(r) ? (r[l.r] || [])[l.c] : r[Re(l)];
          v && (x < 0 && (x = _), (d = _));
        }
        x < 0 || (++f, n.write_shift(4, x), n.write_shift(4, d));
      }
    var c = n.l;
    return (
      (n.l = o),
      n.write_shift(4, f),
      (n.l = c),
      n.length > n.l ? n.slice(0, n.l) : n
    );
  }
  function ig(e, t, r, n) {
    var a = ag(n, r, t);
    (a.length > 17 || (t["!rows"] || [])[n]) && W(e, 0, a);
  }
  var sg = rn,
    fg = Ln;
  function og() {}
  function lg(e, t) {
    var r = {},
      n = e[e.l];
    return (
      ++e.l,
      (r.above = !(n & 64)),
      (r.left = !(n & 128)),
      (e.l += 18),
      (r.name = gm(e)),
      r
    );
  }
  function ug(e, t, r) {
    r == null && (r = B(84 + 4 * e.length));
    var n = 192;
    t && (t.above && (n &= -65), t.left && (n &= -129)), r.write_shift(1, n);
    for (var a = 1; a < 3; ++a) r.write_shift(1, 0);
    return (
      $a({ auto: 1 }, r),
      r.write_shift(-4, -1),
      r.write_shift(-4, -1),
      Zo(e, r),
      r.slice(0, r.l)
    );
  }
  function cg(e) {
    var t = Yt(e);
    return [t];
  }
  function hg(e, t, r) {
    return r == null && (r = B(8)), Qr(t, r);
  }
  function dg(e) {
    var t = en(e);
    return [t];
  }
  function _g(e, t, r) {
    return r == null && (r = B(4)), tn(t, r);
  }
  function xg(e) {
    var t = Yt(e),
      r = e.read_shift(1);
    return [t, r, "b"];
  }
  function mg(e, t, r) {
    return r == null && (r = B(9)), Qr(t, r), r.write_shift(1, e.v ? 1 : 0), r;
  }
  function pg(e) {
    var t = en(e),
      r = e.read_shift(1);
    return [t, r, "b"];
  }
  function vg(e, t, r) {
    return r == null && (r = B(5)), tn(t, r), r.write_shift(1, e.v ? 1 : 0), r;
  }
  function gg(e) {
    var t = Yt(e),
      r = e.read_shift(1);
    return [t, r, "e"];
  }
  function Tg(e, t, r) {
    return r == null && (r = B(9)), Qr(t, r), r.write_shift(1, e.v), r;
  }
  function Eg(e) {
    var t = en(e),
      r = e.read_shift(1);
    return [t, r, "e"];
  }
  function wg(e, t, r) {
    return (
      r == null && (r = B(8)),
      tn(t, r),
      r.write_shift(1, e.v),
      r.write_shift(2, 0),
      r.write_shift(1, 0),
      r
    );
  }
  function Sg(e) {
    var t = Yt(e),
      r = e.read_shift(4);
    return [t, r, "s"];
  }
  function Ag(e, t, r) {
    return r == null && (r = B(12)), Qr(t, r), r.write_shift(4, t.v), r;
  }
  function yg(e) {
    var t = en(e),
      r = e.read_shift(4);
    return [t, r, "s"];
  }
  function Fg(e, t, r) {
    return r == null && (r = B(8)), tn(t, r), r.write_shift(4, t.v), r;
  }
  function Lg(e) {
    var t = Yt(e),
      r = On(e);
    return [t, r, "n"];
  }
  function Og(e, t, r) {
    return r == null && (r = B(16)), Qr(t, r), Kr(e.v, r), r;
  }
  function Rg(e) {
    var t = en(e),
      r = On(e);
    return [t, r, "n"];
  }
  function Cg(e, t, r) {
    return r == null && (r = B(12)), tn(t, r), Kr(e.v, r), r;
  }
  function Ig(e) {
    var t = Yt(e),
      r = qo(e);
    return [t, r, "n"];
  }
  function Dg(e, t, r) {
    return r == null && (r = B(12)), Qr(t, r), Qo(e.v, r), r;
  }
  function Ng(e) {
    var t = en(e),
      r = qo(e);
    return [t, r, "n"];
  }
  function kg(e, t, r) {
    return r == null && (r = B(8)), tn(t, r), Qo(e.v, r), r;
  }
  function Mg(e) {
    var t = Yt(e),
      r = Y0(e);
    return [t, r, "is"];
  }
  function Pg(e) {
    var t = Yt(e),
      r = pt(e);
    return [t, r, "str"];
  }
  function Bg(e, t, r) {
    return (
      r == null && (r = B(12 + 4 * e.v.length)),
      Qr(t, r),
      nt(e.v, r),
      r.length > r.l ? r.slice(0, r.l) : r
    );
  }
  function bg(e) {
    var t = en(e),
      r = pt(e);
    return [t, r, "str"];
  }
  function Ug(e, t, r) {
    return (
      r == null && (r = B(8 + 4 * e.v.length)),
      tn(t, r),
      nt(e.v, r),
      r.length > r.l ? r.slice(0, r.l) : r
    );
  }
  function Wg(e, t, r) {
    var n = e.l + t,
      a = Yt(e);
    a.r = r["!row"];
    var i = e.read_shift(1),
      s = [a, i, "b"];
    if (r.cellFormula) {
      e.l += 2;
      var f = gi(e, n - e.l, r);
      s[3] = En(f, null, a, r.supbooks, r);
    } else e.l = n;
    return s;
  }
  function Hg(e, t, r) {
    var n = e.l + t,
      a = Yt(e);
    a.r = r["!row"];
    var i = e.read_shift(1),
      s = [a, i, "e"];
    if (r.cellFormula) {
      e.l += 2;
      var f = gi(e, n - e.l, r);
      s[3] = En(f, null, a, r.supbooks, r);
    } else e.l = n;
    return s;
  }
  function Yg(e, t, r) {
    var n = e.l + t,
      a = Yt(e);
    a.r = r["!row"];
    var i = On(e),
      s = [a, i, "n"];
    if (r.cellFormula) {
      e.l += 2;
      var f = gi(e, n - e.l, r);
      s[3] = En(f, null, a, r.supbooks, r);
    } else e.l = n;
    return s;
  }
  function Gg(e, t, r) {
    var n = e.l + t,
      a = Yt(e);
    a.r = r["!row"];
    var i = pt(e),
      s = [a, i, "str"];
    if (r.cellFormula) {
      e.l += 2;
      var f = gi(e, n - e.l, r);
      s[3] = En(f, null, a, r.supbooks, r);
    } else e.l = n;
    return s;
  }
  var Vg = rn,
    $g = Ln;
  function jg(e, t) {
    return t == null && (t = B(4)), t.write_shift(4, e), t;
  }
  function Xg(e, t) {
    var r = e.l + t,
      n = rn(e),
      a = G0(e),
      i = pt(e),
      s = pt(e),
      f = pt(e);
    e.l = r;
    var o = { rfx: n, relId: a, loc: i, display: f };
    return s && (o.Tooltip = s), o;
  }
  function Kg(e, t) {
    var r = B(50 + 4 * (e[1].Target.length + (e[1].Tooltip || "").length));
    Ln({ s: rt(e[0]), e: rt(e[0]) }, r), V0("rId" + t, r);
    var n = e[1].Target.indexOf("#"),
      a = n == -1 ? "" : e[1].Target.slice(n + 1);
    return (
      nt(a || "", r), nt(e[1].Tooltip || "", r), nt("", r), r.slice(0, r.l)
    );
  }
  function zg() {}
  function Jg(e, t, r) {
    var n = e.l + t,
      a = el(e),
      i = e.read_shift(1),
      s = [a];
    if (((s[2] = i), r.cellFormula)) {
      var f = bv(e, n - e.l, r);
      s[1] = f;
    } else e.l = n;
    return s;
  }
  function Zg(e, t, r) {
    var n = e.l + t,
      a = rn(e),
      i = [a];
    if (r.cellFormula) {
      var s = Wv(e, n - e.l, r);
      (i[1] = s), (e.l = n);
    } else e.l = n;
    return i;
  }
  function qg(e, t, r) {
    r == null && (r = B(18));
    var n = Ti(e, t);
    r.write_shift(-4, e),
      r.write_shift(-4, e),
      r.write_shift(4, (n.width || 10) * 256),
      r.write_shift(4, 0);
    var a = 0;
    return (
      t.hidden && (a |= 1),
      typeof n.width == "number" && (a |= 2),
      t.level && (a |= t.level << 8),
      r.write_shift(2, a),
      r
    );
  }
  var Bl = ["left", "right", "top", "bottom", "header", "footer"];
  function Qg(e) {
    var t = {};
    return (
      Bl.forEach(function (r) {
        t[r] = On(e);
      }),
      t
    );
  }
  function eT(e, t) {
    return (
      t == null && (t = B(6 * 8)),
      Ml(e),
      Bl.forEach(function (r) {
        Kr(e[r], t);
      }),
      t
    );
  }
  function tT(e) {
    var t = e.read_shift(2);
    return (e.l += 28), { RTL: t & 32 };
  }
  function rT(e, t, r) {
    r == null && (r = B(30));
    var n = 924;
    return (
      (((t || {}).Views || [])[0] || {}).RTL && (n |= 32),
      r.write_shift(2, n),
      r.write_shift(4, 0),
      r.write_shift(4, 0),
      r.write_shift(4, 0),
      r.write_shift(1, 0),
      r.write_shift(1, 0),
      r.write_shift(2, 0),
      r.write_shift(2, 100),
      r.write_shift(2, 0),
      r.write_shift(2, 0),
      r.write_shift(2, 0),
      r.write_shift(4, 0),
      r
    );
  }
  function nT(e) {
    var t = B(24);
    return t.write_shift(4, 4), t.write_shift(4, 1), Ln(e, t), t;
  }
  function aT(e, t) {
    return (
      t == null && (t = B(16 * 4 + 2)),
      t.write_shift(2, e.password ? vl(e.password) : 0),
      t.write_shift(4, 1),
      [
        ["objects", !1],
        ["scenarios", !1],
        ["formatCells", !0],
        ["formatColumns", !0],
        ["formatRows", !0],
        ["insertColumns", !0],
        ["insertRows", !0],
        ["insertHyperlinks", !0],
        ["deleteColumns", !0],
        ["deleteRows", !0],
        ["selectLockedCells", !1],
        ["sort", !0],
        ["autoFilter", !0],
        ["pivotTables", !0],
        ["selectUnlockedCells", !1],
      ].forEach(function (r) {
        r[1]
          ? t.write_shift(4, e[r[0]] != null && !e[r[0]] ? 1 : 0)
          : t.write_shift(4, e[r[0]] != null && e[r[0]] ? 0 : 1);
      }),
      t
    );
  }
  function iT() {}
  function sT() {}
  function fT(e, t, r, n, a, i, s) {
    if (t.v === void 0) return !1;
    var f = "";
    switch (t.t) {
      case "b":
        f = t.v ? "1" : "0";
        break;
      case "d":
        (t = Ot(t)), (t.z = t.z || Ve[14]), (t.v = Lt(St(t.v))), (t.t = "n");
        break;
      case "n":
      case "e":
        f = "" + t.v;
        break;
      default:
        f = t.v;
        break;
    }
    var o = { r, c: n };
    switch (
      ((o.s = kr(a.cellXfs, t, a)),
      t.l && i["!links"].push([Re(o), t.l]),
      t.c && i["!comments"].push([Re(o), t.c]),
      t.t)
    ) {
      case "s":
      case "str":
        return (
          a.bookSST
            ? ((f = J0(a.Strings, t.v, a.revStrings)),
              (o.t = "s"),
              (o.v = f),
              s ? W(e, 18, Fg(t, o)) : W(e, 7, Ag(t, o)))
            : ((o.t = "str"), s ? W(e, 17, Ug(t, o)) : W(e, 6, Bg(t, o))),
          !0
        );
      case "n":
        return (
          t.v == (t.v | 0) && t.v > -1e3 && t.v < 1e3
            ? s
              ? W(e, 13, kg(t, o))
              : W(e, 2, Dg(t, o))
            : s
            ? W(e, 16, Cg(t, o))
            : W(e, 5, Og(t, o)),
          !0
        );
      case "b":
        return (o.t = "b"), s ? W(e, 15, vg(t, o)) : W(e, 4, mg(t, o)), !0;
      case "e":
        return (o.t = "e"), s ? W(e, 14, wg(t, o)) : W(e, 3, Tg(t, o)), !0;
    }
    return s ? W(e, 12, _g(t, o)) : W(e, 1, hg(t, o)), !0;
  }
  function oT(e, t, r, n) {
    var a = Pe(t["!ref"] || "A1"),
      i,
      s = "",
      f = [];
    W(e, 145);
    var o = Array.isArray(t),
      l = a.e.r;
    t["!rows"] && (l = Math.max(a.e.r, t["!rows"].length - 1));
    for (var u = a.s.r; u <= l; ++u) {
      (s = ut(u)), ig(e, t, a, u);
      var x = !1;
      if (u <= a.e.r)
        for (var d = a.s.c; d <= a.e.c; ++d) {
          u === a.s.r && (f[d] = mt(d)), (i = f[d] + s);
          var _ = o ? (t[u] || [])[d] : t[i];
          if (!_) {
            x = !1;
            continue;
          }
          x = fT(e, _, u, d, n, t, x);
        }
    }
    W(e, 146);
  }
  function lT(e, t) {
    !t ||
      !t["!merges"] ||
      (W(e, 177, jg(t["!merges"].length)),
      t["!merges"].forEach(function (r) {
        W(e, 176, $g(r));
      }),
      W(e, 178));
  }
  function uT(e, t) {
    !t ||
      !t["!cols"] ||
      (W(e, 390),
      t["!cols"].forEach(function (r, n) {
        r && W(e, 60, qg(n, r));
      }),
      W(e, 391));
  }
  function cT(e, t) {
    !t || !t["!ref"] || (W(e, 648), W(e, 649, nT(Pe(t["!ref"]))), W(e, 650));
  }
  function hT(e, t, r) {
    t["!links"].forEach(function (n) {
      if (!!n[1].Target) {
        var a = Le(r, -1, n[1].Target.replace(/#.*$/, ""), Te.HLINK);
        W(e, 494, Kg(n, a));
      }
    }),
      delete t["!links"];
  }
  function dT(e, t, r, n) {
    if (t["!comments"].length > 0) {
      var a = Le(n, -1, "../drawings/vmlDrawing" + (r + 1) + ".vml", Te.VML);
      W(e, 551, V0("rId" + a)), (t["!legacy"] = a);
    }
  }
  function _T(e, t, r, n) {
    if (!!t["!autofilter"]) {
      var a = t["!autofilter"],
        i = typeof a.ref == "string" ? a.ref : Xe(a.ref);
      r.Workbook || (r.Workbook = { Sheets: [] }),
        r.Workbook.Names || (r.Workbook.Names = []);
      var s = r.Workbook.Names,
        f = kt(i);
      f.s.r == f.e.r && ((f.e.r = kt(t["!ref"]).e.r), (i = Xe(f)));
      for (var o = 0; o < s.length; ++o) {
        var l = s[o];
        if (l.Name == "_xlnm._FilterDatabase" && l.Sheet == n) {
          l.Ref = "'" + r.SheetNames[n] + "'!" + i;
          break;
        }
      }
      o == s.length &&
        s.push({
          Name: "_xlnm._FilterDatabase",
          Sheet: n,
          Ref: "'" + r.SheetNames[n] + "'!" + i,
        }),
        W(e, 161, Ln(Pe(i))),
        W(e, 162);
    }
  }
  function xT(e, t, r) {
    W(e, 133), W(e, 137, rT(t, r)), W(e, 138), W(e, 134);
  }
  function mT(e, t) {
    !t["!protect"] || W(e, 535, aT(t["!protect"]));
  }
  function pT(e, t, r, n) {
    var a = Ft(),
      i = r.SheetNames[e],
      s = r.Sheets[i] || {},
      f = i;
    try {
      r && r.Workbook && (f = r.Workbook.Sheets[e].CodeName || f);
    } catch {}
    var o = Pe(s["!ref"] || "A1");
    if (o.e.c > 16383 || o.e.r > 1048575) {
      if (t.WTF)
        throw new Error(
          "Range " + (s["!ref"] || "A1") + " exceeds format limit A1:XFD1048576"
        );
      (o.e.c = Math.min(o.e.c, 16383)), (o.e.r = Math.min(o.e.c, 1048575));
    }
    return (
      (s["!links"] = []),
      (s["!comments"] = []),
      W(a, 129),
      (r.vbaraw || s["!outline"]) && W(a, 147, ug(f, s["!outline"])),
      W(a, 148, fg(o)),
      xT(a, s, r.Workbook),
      uT(a, s),
      oT(a, s, e, t),
      mT(a, s),
      _T(a, s, r, e),
      lT(a, s),
      hT(a, s, n),
      s["!margins"] && W(a, 476, eT(s["!margins"])),
      (!t || t.ignoreEC || t.ignoreEC == null) && cT(a, s),
      dT(a, s, e, n),
      W(a, 130),
      a.end()
    );
  }
  function vT(e, t) {
    e.l += 10;
    var r = pt(e);
    return { name: r };
  }
  var gT = [
    ["allowRefreshQuery", !1, "bool"],
    ["autoCompressPictures", !0, "bool"],
    ["backupFile", !1, "bool"],
    ["checkCompatibility", !1, "bool"],
    ["CodeName", ""],
    ["date1904", !1, "bool"],
    ["defaultThemeVersion", 0, "int"],
    ["filterPrivacy", !1, "bool"],
    ["hidePivotFieldList", !1, "bool"],
    ["promptedSolutions", !1, "bool"],
    ["publishItems", !1, "bool"],
    ["refreshAllConnections", !1, "bool"],
    ["saveExternalLinkValues", !0, "bool"],
    ["showBorderUnselectedTables", !0, "bool"],
    ["showInkAnnotation", !0, "bool"],
    ["showObjects", "all"],
    ["showPivotChartFilter", !1, "bool"],
    ["updateLinks", "userSet"],
  ];
  function TT(e) {
    return !e.Workbook || !e.Workbook.WBProps
      ? "false"
      : Zx(e.Workbook.WBProps.date1904)
      ? "true"
      : "false";
  }
  var ET = "][*?/\\".split("");
  function bl(e, t) {
    if (e.length > 31) {
      if (t) return !1;
      throw new Error("Sheet names cannot exceed 31 chars");
    }
    var r = !0;
    return (
      ET.forEach(function (n) {
        if (e.indexOf(n) != -1) {
          if (!t) throw new Error("Sheet name cannot contain : \\ / ? * [ ]");
          r = !1;
        }
      }),
      r
    );
  }
  function wT(e, t, r) {
    e.forEach(function (n, a) {
      bl(n);
      for (var i = 0; i < a; ++i)
        if (n == e[i]) throw new Error("Duplicate Sheet Name: " + n);
      if (r) {
        var s = (t && t[a] && t[a].CodeName) || n;
        if (s.charCodeAt(0) == 95 && s.length > 22)
          throw new Error("Bad Code Name: Worksheet" + s);
      }
    });
  }
  function ST(e) {
    if (!e || !e.SheetNames || !e.Sheets) throw new Error("Invalid Workbook");
    if (!e.SheetNames.length) throw new Error("Workbook is empty");
    var t = (e.Workbook && e.Workbook.Sheets) || [];
    wT(e.SheetNames, t, !!e.vbaraw);
    for (var r = 0; r < e.SheetNames.length; ++r)
      $v(e.Sheets[e.SheetNames[r]], e.SheetNames[r], r);
  }
  function Ul(e) {
    var t = [Ke];
    t[t.length] = J("workbook", null, { xmlns: yn[0], "xmlns:r": tt.r });
    var r = e.Workbook && (e.Workbook.Names || []).length > 0,
      n = { codeName: "ThisWorkbook" };
    e.Workbook &&
      e.Workbook.WBProps &&
      (gT.forEach(function (f) {
        e.Workbook.WBProps[f[0]] != null &&
          e.Workbook.WBProps[f[0]] != f[1] &&
          (n[f[0]] = e.Workbook.WBProps[f[0]]);
      }),
      e.Workbook.WBProps.CodeName &&
        ((n.codeName = e.Workbook.WBProps.CodeName), delete n.CodeName)),
      (t[t.length] = J("workbookPr", null, n));
    var a = (e.Workbook && e.Workbook.Sheets) || [],
      i = 0;
    if (a && a[0] && !!a[0].Hidden) {
      for (
        t[t.length] = "<bookViews>", i = 0;
        i != e.SheetNames.length && !(!a[i] || !a[i].Hidden);
        ++i
      );
      i == e.SheetNames.length && (i = 0),
        (t[t.length] =
          '<workbookView firstSheet="' + i + '" activeTab="' + i + '"/>'),
        (t[t.length] = "</bookViews>");
    }
    for (t[t.length] = "<sheets>", i = 0; i != e.SheetNames.length; ++i) {
      var s = { name: Oe(e.SheetNames[i].slice(0, 31)) };
      if (((s.sheetId = "" + (i + 1)), (s["r:id"] = "rId" + (i + 1)), a[i]))
        switch (a[i].Hidden) {
          case 1:
            s.state = "hidden";
            break;
          case 2:
            s.state = "veryHidden";
            break;
        }
      t[t.length] = J("sheet", null, s);
    }
    return (
      (t[t.length] = "</sheets>"),
      r &&
        ((t[t.length] = "<definedNames>"),
        e.Workbook &&
          e.Workbook.Names &&
          e.Workbook.Names.forEach(function (f) {
            var o = { name: f.Name };
            f.Comment && (o.comment = f.Comment),
              f.Sheet != null && (o.localSheetId = "" + f.Sheet),
              f.Hidden && (o.hidden = "1"),
              f.Ref && (t[t.length] = J("definedName", Oe(f.Ref), o));
          }),
        (t[t.length] = "</definedNames>")),
      t.length > 2 &&
        ((t[t.length] = "</workbook>"), (t[1] = t[1].replace("/>", ">"))),
      t.join("")
    );
  }
  function AT(e, t) {
    var r = {};
    return (
      (r.Hidden = e.read_shift(4)),
      (r.iTabID = e.read_shift(4)),
      (r.strRelID = n0(e)),
      (r.name = pt(e)),
      r
    );
  }
  function yT(e, t) {
    return (
      t || (t = B(127)),
      t.write_shift(4, e.Hidden),
      t.write_shift(4, e.iTabID),
      V0(e.strRelID, t),
      nt(e.name.slice(0, 31), t),
      t.length > t.l ? t.slice(0, t.l) : t
    );
  }
  function FT(e, t) {
    var r = {},
      n = e.read_shift(4);
    r.defaultThemeVersion = e.read_shift(4);
    var a = t > 8 ? pt(e) : "";
    return (
      a.length > 0 && (r.CodeName = a),
      (r.autoCompressPictures = !!(n & 65536)),
      (r.backupFile = !!(n & 64)),
      (r.checkCompatibility = !!(n & 4096)),
      (r.date1904 = !!(n & 1)),
      (r.filterPrivacy = !!(n & 8)),
      (r.hidePivotFieldList = !!(n & 1024)),
      (r.promptedSolutions = !!(n & 16)),
      (r.publishItems = !!(n & 2048)),
      (r.refreshAllConnections = !!(n & 262144)),
      (r.saveExternalLinkValues = !!(n & 128)),
      (r.showBorderUnselectedTables = !!(n & 4)),
      (r.showInkAnnotation = !!(n & 32)),
      (r.showObjects = ["all", "placeholders", "none"][(n >> 13) & 3]),
      (r.showPivotChartFilter = !!(n & 32768)),
      (r.updateLinks = ["userSet", "never", "always"][(n >> 8) & 3]),
      r
    );
  }
  function LT(e, t) {
    t || (t = B(72));
    var r = 0;
    return (
      e && e.filterPrivacy && (r |= 8),
      t.write_shift(4, r),
      t.write_shift(4, 0),
      Zo((e && e.CodeName) || "ThisWorkbook", t),
      t.slice(0, t.l)
    );
  }
  function OT(e, t, r) {
    var n = e.l + t;
    (e.l += 4), (e.l += 1);
    var a = e.read_shift(4),
      i = Tm(e),
      s = Uv(e, 0, r),
      f = G0(e);
    e.l = n;
    var o = { Name: i, Ptg: s };
    return a < 268435455 && (o.Sheet = a), f && (o.Comment = f), o;
  }
  function RT(e, t) {
    W(e, 143);
    for (var r = 0; r != t.SheetNames.length; ++r) {
      var n =
          (t.Workbook &&
            t.Workbook.Sheets &&
            t.Workbook.Sheets[r] &&
            t.Workbook.Sheets[r].Hidden) ||
          0,
        a = {
          Hidden: n,
          iTabID: r + 1,
          strRelID: "rId" + (r + 1),
          name: t.SheetNames[r],
        };
      W(e, 156, yT(a));
    }
    W(e, 144);
  }
  function CT(e, t) {
    t || (t = B(127));
    for (var r = 0; r != 4; ++r) t.write_shift(4, 0);
    return (
      nt("SheetJS", t),
      nt(ba.version, t),
      nt(ba.version, t),
      nt("7262", t),
      t.length > t.l ? t.slice(0, t.l) : t
    );
  }
  function IT(e, t) {
    t || (t = B(29)),
      t.write_shift(-4, 0),
      t.write_shift(-4, 460),
      t.write_shift(4, 28800),
      t.write_shift(4, 17600),
      t.write_shift(4, 500),
      t.write_shift(4, e),
      t.write_shift(4, e);
    var r = 120;
    return t.write_shift(1, r), t.length > t.l ? t.slice(0, t.l) : t;
  }
  function DT(e, t) {
    if (!(!t.Workbook || !t.Workbook.Sheets)) {
      for (var r = t.Workbook.Sheets, n = 0, a = -1, i = -1; n < r.length; ++n)
        !r[n] || (!r[n].Hidden && a == -1)
          ? (a = n)
          : r[n].Hidden == 1 && i == -1 && (i = n);
      i > a || (W(e, 135), W(e, 158, IT(a)), W(e, 136));
    }
  }
  function NT(e, t) {
    var r = Ft();
    return (
      W(r, 131),
      W(r, 128, CT()),
      W(r, 153, LT((e.Workbook && e.Workbook.WBProps) || null)),
      DT(r, e),
      RT(r, e),
      W(r, 132),
      r.end()
    );
  }
  function kT(e, t, r) {
    return (t.slice(-4) === ".bin" ? NT : Ul)(e);
  }
  function MT(e, t, r, n, a) {
    return (t.slice(-4) === ".bin" ? pT : Pl)(e, r, n, a);
  }
  function PT(e, t, r) {
    return (t.slice(-4) === ".bin" ? ep : El)(e, r);
  }
  function BT(e, t, r) {
    return (t.slice(-4) === ".bin" ? L2 : pl)(e, r);
  }
  function bT(e, t, r) {
    return (t.slice(-4) === ".bin" ? mp : Fl)(e);
  }
  function UT(e) {
    return (e.slice(-4) === ".bin" ? op : Al)();
  }
  function WT(e, t) {
    var r = [];
    return (
      e.Props && r.push(Pm(e.Props, t)),
      e.Custprops && r.push(Bm(e.Props, e.Custprops)),
      r.join("")
    );
  }
  function HT() {
    return "";
  }
  function YT(e, t) {
    var r = ['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];
    return (
      t.cellXfs.forEach(function (n, a) {
        var i = [];
        i.push(J("NumberFormat", null, { "ss:Format": Oe(Ve[n.numFmtId]) }));
        var s = { "ss:ID": "s" + (21 + a) };
        r.push(J("Style", i.join(""), s));
      }),
      J("Styles", r.join(""))
    );
  }
  function Wl(e) {
    return J("NamedRange", null, {
      "ss:Name": e.Name,
      "ss:RefersTo": "=" + K0(e.Ref, { r: 0, c: 0 }),
    });
  }
  function GT(e) {
    if (!((e || {}).Workbook || {}).Names) return "";
    for (var t = e.Workbook.Names, r = [], n = 0; n < t.length; ++n) {
      var a = t[n];
      a.Sheet == null && (a.Name.match(/^_xlfn\./) || r.push(Wl(a)));
    }
    return J("Names", r.join(""));
  }
  function VT(e, t, r, n) {
    if (!e || !((n || {}).Workbook || {}).Names) return "";
    for (var a = n.Workbook.Names, i = [], s = 0; s < a.length; ++s) {
      var f = a[s];
      f.Sheet == r && (f.Name.match(/^_xlfn\./) || i.push(Wl(f)));
    }
    return i.join("");
  }
  function $T(e, t, r, n) {
    if (!e) return "";
    var a = [];
    if (
      (e["!margins"] &&
        (a.push("<PageSetup>"),
        e["!margins"].header &&
          a.push(J("Header", null, { "x:Margin": e["!margins"].header })),
        e["!margins"].footer &&
          a.push(J("Footer", null, { "x:Margin": e["!margins"].footer })),
        a.push(
          J("PageMargins", null, {
            "x:Bottom": e["!margins"].bottom || "0.75",
            "x:Left": e["!margins"].left || "0.7",
            "x:Right": e["!margins"].right || "0.7",
            "x:Top": e["!margins"].top || "0.75",
          })
        ),
        a.push("</PageSetup>")),
      n && n.Workbook && n.Workbook.Sheets && n.Workbook.Sheets[r])
    )
      if (n.Workbook.Sheets[r].Hidden)
        a.push(
          J(
            "Visible",
            n.Workbook.Sheets[r].Hidden == 1
              ? "SheetHidden"
              : "SheetVeryHidden",
            {}
          )
        );
      else {
        for (
          var i = 0;
          i < r && !(n.Workbook.Sheets[i] && !n.Workbook.Sheets[i].Hidden);
          ++i
        );
        i == r && a.push("<Selected/>");
      }
    return (
      ((((n || {}).Workbook || {}).Views || [])[0] || {}).RTL &&
        a.push("<DisplayRightToLeft/>"),
      e["!protect"] &&
        (a.push(lt("ProtectContents", "True")),
        e["!protect"].objects && a.push(lt("ProtectObjects", "True")),
        e["!protect"].scenarios && a.push(lt("ProtectScenarios", "True")),
        e["!protect"].selectLockedCells != null &&
        !e["!protect"].selectLockedCells
          ? a.push(lt("EnableSelection", "NoSelection"))
          : e["!protect"].selectUnlockedCells != null &&
            !e["!protect"].selectUnlockedCells &&
            a.push(lt("EnableSelection", "UnlockedCells")),
        [
          ["formatCells", "AllowFormatCells"],
          ["formatColumns", "AllowSizeCols"],
          ["formatRows", "AllowSizeRows"],
          ["insertColumns", "AllowInsertCols"],
          ["insertRows", "AllowInsertRows"],
          ["insertHyperlinks", "AllowInsertHyperlinks"],
          ["deleteColumns", "AllowDeleteCols"],
          ["deleteRows", "AllowDeleteRows"],
          ["sort", "AllowSort"],
          ["autoFilter", "AllowFilter"],
          ["pivotTables", "AllowUsePivotTables"],
        ].forEach(function (s) {
          e["!protect"][s[0]] && a.push("<" + s[1] + "/>");
        })),
      a.length == 0 ? "" : J("WorksheetOptions", a.join(""), { xmlns: Dt.x })
    );
  }
  function jT(e) {
    return e
      .map(function (t) {
        var r = Jx(t.t || ""),
          n = J("ss:Data", r, { xmlns: "http://www.w3.org/TR/REC-html40" });
        return J("Comment", n, { "ss:Author": t.a });
      })
      .join("");
  }
  function XT(e, t, r, n, a, i, s) {
    if (!e || (e.v == null && e.f == null)) return "";
    var f = {};
    if (
      (e.f && (f["ss:Formula"] = "=" + Oe(K0(e.f, s))),
      e.F && e.F.slice(0, t.length) == t)
    ) {
      var o = rt(e.F.slice(t.length + 1));
      f["ss:ArrayRange"] =
        "RC:R" +
        (o.r == s.r ? "" : "[" + (o.r - s.r) + "]") +
        "C" +
        (o.c == s.c ? "" : "[" + (o.c - s.c) + "]");
    }
    if (
      (e.l &&
        e.l.Target &&
        ((f["ss:HRef"] = Oe(e.l.Target)),
        e.l.Tooltip && (f["x:HRefScreenTip"] = Oe(e.l.Tooltip))),
      r["!merges"])
    )
      for (var l = r["!merges"], u = 0; u != l.length; ++u)
        l[u].s.c != s.c ||
          l[u].s.r != s.r ||
          (l[u].e.c > l[u].s.c && (f["ss:MergeAcross"] = l[u].e.c - l[u].s.c),
          l[u].e.r > l[u].s.r && (f["ss:MergeDown"] = l[u].e.r - l[u].s.r));
    var x = "",
      d = "";
    switch (e.t) {
      case "z":
        if (!n.sheetStubs) return "";
        break;
      case "n":
        (x = "Number"), (d = String(e.v));
        break;
      case "b":
        (x = "Boolean"), (d = e.v ? "1" : "0");
        break;
      case "e":
        (x = "Error"), (d = ua[e.v]);
        break;
      case "d":
        (x = "DateTime"),
          (d = new Date(e.v).toISOString()),
          e.z == null && (e.z = e.z || Ve[14]);
        break;
      case "s":
        (x = "String"), (d = zx(e.v || ""));
        break;
    }
    var _ = kr(n.cellXfs, e, n);
    (f["ss:StyleID"] = "s" + (21 + _)), (f["ss:Index"] = s.c + 1);
    var v = e.v != null ? d : "",
      c = e.t == "z" ? "" : '<Data ss:Type="' + x + '">' + v + "</Data>";
    return (e.c || []).length > 0 && (c += jT(e.c)), J("Cell", c, f);
  }
  function KT(e, t) {
    var r = '<Row ss:Index="' + (e + 1) + '"';
    return (
      t &&
        (t.hpt && !t.hpx && (t.hpx = Tl(t.hpt)),
        t.hpx && (r += ' ss:AutoFitHeight="0" ss:Height="' + t.hpx + '"'),
        t.hidden && (r += ' ss:Hidden="1"')),
      r + ">"
    );
  }
  function zT(e, t, r, n) {
    if (!e["!ref"]) return "";
    var a = Pe(e["!ref"]),
      i = e["!merges"] || [],
      s = 0,
      f = [];
    e["!cols"] &&
      e["!cols"].forEach(function (g, L) {
        j0(g);
        var O = !!g.width,
          F = Ti(L, g),
          P = { "ss:Index": L + 1 };
        O && (P["ss:Width"] = Xa(F.width)),
          g.hidden && (P["ss:Hidden"] = "1"),
          f.push(J("Column", null, P));
      });
    for (var o = Array.isArray(e), l = a.s.r; l <= a.e.r; ++l) {
      for (var u = [KT(l, (e["!rows"] || [])[l])], x = a.s.c; x <= a.e.c; ++x) {
        var d = !1;
        for (s = 0; s != i.length; ++s)
          if (
            !(i[s].s.c > x) &&
            !(i[s].s.r > l) &&
            !(i[s].e.c < x) &&
            !(i[s].e.r < l)
          ) {
            (i[s].s.c != x || i[s].s.r != l) && (d = !0);
            break;
          }
        if (!d) {
          var _ = { r: l, c: x },
            v = Re(_),
            c = o ? (e[l] || [])[x] : e[v];
          u.push(XT(c, v, e, t, r, n, _));
        }
      }
      u.push("</Row>"), u.length > 2 && f.push(u.join(""));
    }
    return f.join("");
  }
  function JT(e, t, r) {
    var n = [],
      a = r.SheetNames[e],
      i = r.Sheets[a],
      s = i ? VT(i, t, e, r) : "";
    return (
      s.length > 0 && n.push("<Names>" + s + "</Names>"),
      (s = i ? zT(i, t, e, r) : ""),
      s.length > 0 && n.push("<Table>" + s + "</Table>"),
      n.push($T(i, t, e, r)),
      n.join("")
    );
  }
  function ZT(e, t) {
    t || (t = {}),
      e.SSF || (e.SSF = Ot(Ve)),
      e.SSF &&
        (xi(),
        _i(e.SSF),
        (t.revssf = mi(e.SSF)),
        (t.revssf[e.SSF[65535]] = 0),
        (t.ssf = e.SSF),
        (t.cellXfs = []),
        kr(t.cellXfs, {}, { revssf: { General: 0 } }));
    var r = [];
    r.push(WT(e, t)), r.push(HT()), r.push(""), r.push("");
    for (var n = 0; n < e.SheetNames.length; ++n)
      r.push(J("Worksheet", JT(n, t, e), { "ss:Name": Oe(e.SheetNames[n]) }));
    return (
      (r[2] = YT(e, t)),
      (r[3] = GT(e)),
      Ke +
        J("Workbook", r.join(""), {
          xmlns: Dt.ss,
          "xmlns:o": Dt.o,
          "xmlns:x": Dt.x,
          "xmlns:ss": Dt.ss,
          "xmlns:dt": Dt.dt,
          "xmlns:html": Dt.html,
        })
    );
  }
  var Hi = {
    SI: "e0859ff2f94f6810ab9108002b27b3d9",
    DSI: "02d5cdd59c2e1b10939708002b2cf9ae",
    UDI: "05d5cdd59c2e1b10939708002b2cf9ae",
  };
  function qT(e, t) {
    var r = [],
      n = [],
      a = [],
      i = 0,
      s,
      f = Ps(zs, "n"),
      o = Ps(Js, "n");
    if (e.Props)
      for (s = ct(e.Props), i = 0; i < s.length; ++i)
        (Object.prototype.hasOwnProperty.call(f, s[i])
          ? r
          : Object.prototype.hasOwnProperty.call(o, s[i])
          ? n
          : a
        ).push([s[i], e.Props[s[i]]]);
    if (e.Custprops)
      for (s = ct(e.Custprops), i = 0; i < s.length; ++i)
        Object.prototype.hasOwnProperty.call(e.Props || {}, s[i]) ||
          (Object.prototype.hasOwnProperty.call(f, s[i])
            ? r
            : Object.prototype.hasOwnProperty.call(o, s[i])
            ? n
            : a
          ).push([s[i], e.Custprops[s[i]]]);
    var l = [];
    for (i = 0; i < a.length; ++i)
      ul.indexOf(a[i][0]) > -1 ||
        fl.indexOf(a[i][0]) > -1 ||
        (a[i][1] != null && l.push(a[i]));
    n.length && Ce.utils.cfb_add(t, "/SummaryInformation", tf(n, Hi.SI, o, Js)),
      (r.length || l.length) &&
        Ce.utils.cfb_add(
          t,
          "/DocumentSummaryInformation",
          tf(r, Hi.DSI, f, zs, l.length ? l : null, Hi.UDI)
        );
  }
  function QT(e, t) {
    var r = t || {},
      n = Ce.utils.cfb_new({ root: "R" }),
      a = "/Workbook";
    switch (r.bookType || "xls") {
      case "xls":
        r.bookType = "biff8";
      case "xla":
        r.bookType || (r.bookType = "xla");
      case "biff8":
        (a = "/Workbook"), (r.biff = 8);
        break;
      case "biff5":
        (a = "/Book"), (r.biff = 5);
        break;
      default:
        throw new Error("invalid type " + r.bookType + " for XLS CFB");
    }
    return (
      Ce.utils.cfb_add(n, a, Hl(e, r)),
      r.biff == 8 && (e.Props || e.Custprops) && qT(e, n),
      r.biff == 8 &&
        e.vbaraw &&
        pp(
          n,
          Ce.read(e.vbaraw, {
            type: typeof e.vbaraw == "string" ? "binary" : "buffer",
          })
        ),
      n
    );
  }
  var eE = {
    0: { f: ng },
    1: { f: cg },
    2: { f: Ig },
    3: { f: gg },
    4: { f: xg },
    5: { f: Lg },
    6: { f: Pg },
    7: { f: Sg },
    8: { f: Gg },
    9: { f: Yg },
    10: { f: Wg },
    11: { f: Hg },
    12: { f: dg },
    13: { f: Ng },
    14: { f: Eg },
    15: { f: pg },
    16: { f: Rg },
    17: { f: bg },
    18: { f: yg },
    19: { f: Y0 },
    20: {},
    21: {},
    22: {},
    23: {},
    24: {},
    25: {},
    26: {},
    27: {},
    28: {},
    29: {},
    30: {},
    31: {},
    32: {},
    33: {},
    34: {},
    35: { T: 1 },
    36: { T: -1 },
    37: { T: 1 },
    38: { T: -1 },
    39: { f: OT },
    40: {},
    42: {},
    43: { f: P2 },
    44: { f: k2 },
    45: { f: U2 },
    46: { f: H2 },
    47: { f: W2 },
    48: {},
    49: { f: dm },
    50: {},
    51: { f: np },
    52: { T: 1 },
    53: { T: -1 },
    54: { T: 1 },
    55: { T: -1 },
    56: { T: 1 },
    57: { T: -1 },
    58: {},
    59: {},
    60: { f: _2 },
    62: { f: Mg },
    63: { f: lp },
    64: { f: iT },
    65: {},
    66: {},
    67: {},
    68: {},
    69: {},
    70: {},
    128: {},
    129: { T: 1 },
    130: { T: -1 },
    131: { T: 1, f: ar, p: 0 },
    132: { T: -1 },
    133: { T: 1 },
    134: { T: -1 },
    135: { T: 1 },
    136: { T: -1 },
    137: { T: 1, f: tT },
    138: { T: -1 },
    139: { T: 1 },
    140: { T: -1 },
    141: { T: 1 },
    142: { T: -1 },
    143: { T: 1 },
    144: { T: -1 },
    145: { T: 1 },
    146: { T: -1 },
    147: { f: lg },
    148: { f: sg, p: 16 },
    151: { f: zg },
    152: {},
    153: { f: FT },
    154: {},
    155: {},
    156: { f: AT },
    157: {},
    158: {},
    159: { T: 1, f: A2 },
    160: { T: -1 },
    161: { T: 1, f: rn },
    162: { T: -1 },
    163: { T: 1 },
    164: { T: -1 },
    165: { T: 1 },
    166: { T: -1 },
    167: {},
    168: {},
    169: {},
    170: {},
    171: {},
    172: { T: 1 },
    173: { T: -1 },
    174: {},
    175: {},
    176: { f: Vg },
    177: { T: 1 },
    178: { T: -1 },
    179: { T: 1 },
    180: { T: -1 },
    181: { T: 1 },
    182: { T: -1 },
    183: { T: 1 },
    184: { T: -1 },
    185: { T: 1 },
    186: { T: -1 },
    187: { T: 1 },
    188: { T: -1 },
    189: { T: 1 },
    190: { T: -1 },
    191: { T: 1 },
    192: { T: -1 },
    193: { T: 1 },
    194: { T: -1 },
    195: { T: 1 },
    196: { T: -1 },
    197: { T: 1 },
    198: { T: -1 },
    199: { T: 1 },
    200: { T: -1 },
    201: { T: 1 },
    202: { T: -1 },
    203: { T: 1 },
    204: { T: -1 },
    205: { T: 1 },
    206: { T: -1 },
    207: { T: 1 },
    208: { T: -1 },
    209: { T: 1 },
    210: { T: -1 },
    211: { T: 1 },
    212: { T: -1 },
    213: { T: 1 },
    214: { T: -1 },
    215: { T: 1 },
    216: { T: -1 },
    217: { T: 1 },
    218: { T: -1 },
    219: { T: 1 },
    220: { T: -1 },
    221: { T: 1 },
    222: { T: -1 },
    223: { T: 1 },
    224: { T: -1 },
    225: { T: 1 },
    226: { T: -1 },
    227: { T: 1 },
    228: { T: -1 },
    229: { T: 1 },
    230: { T: -1 },
    231: { T: 1 },
    232: { T: -1 },
    233: { T: 1 },
    234: { T: -1 },
    235: { T: 1 },
    236: { T: -1 },
    237: { T: 1 },
    238: { T: -1 },
    239: { T: 1 },
    240: { T: -1 },
    241: { T: 1 },
    242: { T: -1 },
    243: { T: 1 },
    244: { T: -1 },
    245: { T: 1 },
    246: { T: -1 },
    247: { T: 1 },
    248: { T: -1 },
    249: { T: 1 },
    250: { T: -1 },
    251: { T: 1 },
    252: { T: -1 },
    253: { T: 1 },
    254: { T: -1 },
    255: { T: 1 },
    256: { T: -1 },
    257: { T: 1 },
    258: { T: -1 },
    259: { T: 1 },
    260: { T: -1 },
    261: { T: 1 },
    262: { T: -1 },
    263: { T: 1 },
    264: { T: -1 },
    265: { T: 1 },
    266: { T: -1 },
    267: { T: 1 },
    268: { T: -1 },
    269: { T: 1 },
    270: { T: -1 },
    271: { T: 1 },
    272: { T: -1 },
    273: { T: 1 },
    274: { T: -1 },
    275: { T: 1 },
    276: { T: -1 },
    277: {},
    278: { T: 1 },
    279: { T: -1 },
    280: { T: 1 },
    281: { T: -1 },
    282: { T: 1 },
    283: { T: 1 },
    284: { T: -1 },
    285: { T: 1 },
    286: { T: -1 },
    287: { T: 1 },
    288: { T: -1 },
    289: { T: 1 },
    290: { T: -1 },
    291: { T: 1 },
    292: { T: -1 },
    293: { T: 1 },
    294: { T: -1 },
    295: { T: 1 },
    296: { T: -1 },
    297: { T: 1 },
    298: { T: -1 },
    299: { T: 1 },
    300: { T: -1 },
    301: { T: 1 },
    302: { T: -1 },
    303: { T: 1 },
    304: { T: -1 },
    305: { T: 1 },
    306: { T: -1 },
    307: { T: 1 },
    308: { T: -1 },
    309: { T: 1 },
    310: { T: -1 },
    311: { T: 1 },
    312: { T: -1 },
    313: { T: -1 },
    314: { T: 1 },
    315: { T: -1 },
    316: { T: 1 },
    317: { T: -1 },
    318: { T: 1 },
    319: { T: -1 },
    320: { T: 1 },
    321: { T: -1 },
    322: { T: 1 },
    323: { T: -1 },
    324: { T: 1 },
    325: { T: -1 },
    326: { T: 1 },
    327: { T: -1 },
    328: { T: 1 },
    329: { T: -1 },
    330: { T: 1 },
    331: { T: -1 },
    332: { T: 1 },
    333: { T: -1 },
    334: { T: 1 },
    335: { f: tp },
    336: { T: -1 },
    337: { f: sp, T: 1 },
    338: { T: -1 },
    339: { T: 1 },
    340: { T: -1 },
    341: { T: 1 },
    342: { T: -1 },
    343: { T: 1 },
    344: { T: -1 },
    345: { T: 1 },
    346: { T: -1 },
    347: { T: 1 },
    348: { T: -1 },
    349: { T: 1 },
    350: { T: -1 },
    351: {},
    352: {},
    353: { T: 1 },
    354: { T: -1 },
    355: { f: n0 },
    357: {},
    358: {},
    359: {},
    360: { T: 1 },
    361: {},
    362: { f: o2 },
    363: {},
    364: {},
    366: {},
    367: {},
    368: {},
    369: {},
    370: {},
    371: {},
    372: { T: 1 },
    373: { T: -1 },
    374: { T: 1 },
    375: { T: -1 },
    376: { T: 1 },
    377: { T: -1 },
    378: { T: 1 },
    379: { T: -1 },
    380: { T: 1 },
    381: { T: -1 },
    382: { T: 1 },
    383: { T: -1 },
    384: { T: 1 },
    385: { T: -1 },
    386: { T: 1 },
    387: { T: -1 },
    388: { T: 1 },
    389: { T: -1 },
    390: { T: 1 },
    391: { T: -1 },
    392: { T: 1 },
    393: { T: -1 },
    394: { T: 1 },
    395: { T: -1 },
    396: {},
    397: {},
    398: {},
    399: {},
    400: {},
    401: { T: 1 },
    403: {},
    404: {},
    405: {},
    406: {},
    407: {},
    408: {},
    409: {},
    410: {},
    411: {},
    412: {},
    413: {},
    414: {},
    415: {},
    416: {},
    417: {},
    418: {},
    419: {},
    420: {},
    421: {},
    422: { T: 1 },
    423: { T: 1 },
    424: { T: -1 },
    425: { T: -1 },
    426: { f: Jg },
    427: { f: Zg },
    428: {},
    429: { T: 1 },
    430: { T: -1 },
    431: { T: 1 },
    432: { T: -1 },
    433: { T: 1 },
    434: { T: -1 },
    435: { T: 1 },
    436: { T: -1 },
    437: { T: 1 },
    438: { T: -1 },
    439: { T: 1 },
    440: { T: -1 },
    441: { T: 1 },
    442: { T: -1 },
    443: { T: 1 },
    444: { T: -1 },
    445: { T: 1 },
    446: { T: -1 },
    447: { T: 1 },
    448: { T: -1 },
    449: { T: 1 },
    450: { T: -1 },
    451: { T: 1 },
    452: { T: -1 },
    453: { T: 1 },
    454: { T: -1 },
    455: { T: 1 },
    456: { T: -1 },
    457: { T: 1 },
    458: { T: -1 },
    459: { T: 1 },
    460: { T: -1 },
    461: { T: 1 },
    462: { T: -1 },
    463: { T: 1 },
    464: { T: -1 },
    465: { T: 1 },
    466: { T: -1 },
    467: { T: 1 },
    468: { T: -1 },
    469: { T: 1 },
    470: { T: -1 },
    471: {},
    472: {},
    473: { T: 1 },
    474: { T: -1 },
    475: {},
    476: { f: Qg },
    477: {},
    478: {},
    479: { T: 1 },
    480: { T: -1 },
    481: { T: 1 },
    482: { T: -1 },
    483: { T: 1 },
    484: { T: -1 },
    485: { f: og },
    486: { T: 1 },
    487: { T: -1 },
    488: { T: 1 },
    489: { T: -1 },
    490: { T: 1 },
    491: { T: -1 },
    492: { T: 1 },
    493: { T: -1 },
    494: { f: Xg },
    495: { T: 1 },
    496: { T: -1 },
    497: { T: 1 },
    498: { T: -1 },
    499: {},
    500: { T: 1 },
    501: { T: -1 },
    502: { T: 1 },
    503: { T: -1 },
    504: {},
    505: { T: 1 },
    506: { T: -1 },
    507: {},
    508: { T: 1 },
    509: { T: -1 },
    510: { T: 1 },
    511: { T: -1 },
    512: {},
    513: {},
    514: { T: 1 },
    515: { T: -1 },
    516: { T: 1 },
    517: { T: -1 },
    518: { T: 1 },
    519: { T: -1 },
    520: { T: 1 },
    521: { T: -1 },
    522: {},
    523: {},
    524: {},
    525: {},
    526: {},
    527: {},
    528: { T: 1 },
    529: { T: -1 },
    530: { T: 1 },
    531: { T: -1 },
    532: { T: 1 },
    533: { T: -1 },
    534: {},
    535: {},
    536: {},
    537: {},
    538: { T: 1 },
    539: { T: -1 },
    540: { T: 1 },
    541: { T: -1 },
    542: { T: 1 },
    548: {},
    549: {},
    550: { f: n0 },
    551: {},
    552: {},
    553: {},
    554: { T: 1 },
    555: { T: -1 },
    556: { T: 1 },
    557: { T: -1 },
    558: { T: 1 },
    559: { T: -1 },
    560: { T: 1 },
    561: { T: -1 },
    562: {},
    564: {},
    565: { T: 1 },
    566: { T: -1 },
    569: { T: 1 },
    570: { T: -1 },
    572: {},
    573: { T: 1 },
    574: { T: -1 },
    577: {},
    578: {},
    579: {},
    580: {},
    581: {},
    582: {},
    583: {},
    584: {},
    585: {},
    586: {},
    587: {},
    588: { T: -1 },
    589: {},
    590: { T: 1 },
    591: { T: -1 },
    592: { T: 1 },
    593: { T: -1 },
    594: { T: 1 },
    595: { T: -1 },
    596: {},
    597: { T: 1 },
    598: { T: -1 },
    599: { T: 1 },
    600: { T: -1 },
    601: { T: 1 },
    602: { T: -1 },
    603: { T: 1 },
    604: { T: -1 },
    605: { T: 1 },
    606: { T: -1 },
    607: {},
    608: { T: 1 },
    609: { T: -1 },
    610: {},
    611: { T: 1 },
    612: { T: -1 },
    613: { T: 1 },
    614: { T: -1 },
    615: { T: 1 },
    616: { T: -1 },
    617: { T: 1 },
    618: { T: -1 },
    619: { T: 1 },
    620: { T: -1 },
    625: {},
    626: { T: 1 },
    627: { T: -1 },
    628: { T: 1 },
    629: { T: -1 },
    630: { T: 1 },
    631: { T: -1 },
    632: { f: _p },
    633: { T: 1 },
    634: { T: -1 },
    635: { T: 1, f: hp },
    636: { T: -1 },
    637: { f: pm },
    638: { T: 1 },
    639: {},
    640: { T: -1 },
    641: { T: 1 },
    642: { T: -1 },
    643: { T: 1 },
    644: {},
    645: { T: -1 },
    646: { T: 1 },
    648: { T: 1 },
    649: {},
    650: { T: -1 },
    651: { f: vT },
    652: {},
    653: { T: 1 },
    654: { T: -1 },
    655: { T: 1 },
    656: { T: -1 },
    657: { T: 1 },
    658: { T: -1 },
    659: {},
    660: { T: 1 },
    661: {},
    662: { T: -1 },
    663: {},
    664: { T: 1 },
    665: {},
    666: { T: -1 },
    667: {},
    668: {},
    669: {},
    671: { T: 1 },
    672: { T: -1 },
    673: { T: 1 },
    674: { T: -1 },
    675: {},
    676: {},
    677: {},
    678: {},
    679: {},
    680: {},
    681: {},
    1024: {},
    1025: {},
    1026: { T: 1 },
    1027: { T: -1 },
    1028: { T: 1 },
    1029: { T: -1 },
    1030: {},
    1031: { T: 1 },
    1032: { T: -1 },
    1033: { T: 1 },
    1034: { T: -1 },
    1035: {},
    1036: {},
    1037: {},
    1038: { T: 1 },
    1039: { T: -1 },
    1040: {},
    1041: { T: 1 },
    1042: { T: -1 },
    1043: {},
    1044: {},
    1045: {},
    1046: { T: 1 },
    1047: { T: -1 },
    1048: { T: 1 },
    1049: { T: -1 },
    1050: {},
    1051: { T: 1 },
    1052: { T: 1 },
    1053: { f: sT },
    1054: { T: 1 },
    1055: {},
    1056: { T: 1 },
    1057: { T: -1 },
    1058: { T: 1 },
    1059: { T: -1 },
    1061: {},
    1062: { T: 1 },
    1063: { T: -1 },
    1064: { T: 1 },
    1065: { T: -1 },
    1066: { T: 1 },
    1067: { T: -1 },
    1068: { T: 1 },
    1069: { T: -1 },
    1070: { T: 1 },
    1071: { T: -1 },
    1072: { T: 1 },
    1073: { T: -1 },
    1075: { T: 1 },
    1076: { T: -1 },
    1077: { T: 1 },
    1078: { T: -1 },
    1079: { T: 1 },
    1080: { T: -1 },
    1081: { T: 1 },
    1082: { T: -1 },
    1083: { T: 1 },
    1084: { T: -1 },
    1085: {},
    1086: { T: 1 },
    1087: { T: -1 },
    1088: { T: 1 },
    1089: { T: -1 },
    1090: { T: 1 },
    1091: { T: -1 },
    1092: { T: 1 },
    1093: { T: -1 },
    1094: { T: 1 },
    1095: { T: -1 },
    1096: {},
    1097: { T: 1 },
    1098: {},
    1099: { T: -1 },
    1100: { T: 1 },
    1101: { T: -1 },
    1102: {},
    1103: {},
    1104: {},
    1105: {},
    1111: {},
    1112: {},
    1113: { T: 1 },
    1114: { T: -1 },
    1115: { T: 1 },
    1116: { T: -1 },
    1117: {},
    1118: { T: 1 },
    1119: { T: -1 },
    1120: { T: 1 },
    1121: { T: -1 },
    1122: { T: 1 },
    1123: { T: -1 },
    1124: { T: 1 },
    1125: { T: -1 },
    1126: {},
    1128: { T: 1 },
    1129: { T: -1 },
    1130: {},
    1131: { T: 1 },
    1132: { T: -1 },
    1133: { T: 1 },
    1134: { T: -1 },
    1135: { T: 1 },
    1136: { T: -1 },
    1137: { T: 1 },
    1138: { T: -1 },
    1139: { T: 1 },
    1140: { T: -1 },
    1141: {},
    1142: { T: 1 },
    1143: { T: -1 },
    1144: { T: 1 },
    1145: { T: -1 },
    1146: {},
    1147: { T: 1 },
    1148: { T: -1 },
    1149: { T: 1 },
    1150: { T: -1 },
    1152: { T: 1 },
    1153: { T: -1 },
    1154: { T: -1 },
    1155: { T: -1 },
    1156: { T: -1 },
    1157: { T: 1 },
    1158: { T: -1 },
    1159: { T: 1 },
    1160: { T: -1 },
    1161: { T: 1 },
    1162: { T: -1 },
    1163: { T: 1 },
    1164: { T: -1 },
    1165: { T: 1 },
    1166: { T: -1 },
    1167: { T: 1 },
    1168: { T: -1 },
    1169: { T: 1 },
    1170: { T: -1 },
    1171: {},
    1172: { T: 1 },
    1173: { T: -1 },
    1177: {},
    1178: { T: 1 },
    1180: {},
    1181: {},
    1182: {},
    2048: { T: 1 },
    2049: { T: -1 },
    2050: {},
    2051: { T: 1 },
    2052: { T: -1 },
    2053: {},
    2054: {},
    2055: { T: 1 },
    2056: { T: -1 },
    2057: { T: 1 },
    2058: { T: -1 },
    2060: {},
    2067: {},
    2068: { T: 1 },
    2069: { T: -1 },
    2070: {},
    2071: {},
    2072: { T: 1 },
    2073: { T: -1 },
    2075: {},
    2076: {},
    2077: { T: 1 },
    2078: { T: -1 },
    2079: {},
    2080: { T: 1 },
    2081: { T: -1 },
    2082: {},
    2083: { T: 1 },
    2084: { T: -1 },
    2085: { T: 1 },
    2086: { T: -1 },
    2087: { T: 1 },
    2088: { T: -1 },
    2089: { T: 1 },
    2090: { T: -1 },
    2091: {},
    2092: {},
    2093: { T: 1 },
    2094: { T: -1 },
    2095: {},
    2096: { T: 1 },
    2097: { T: -1 },
    2098: { T: 1 },
    2099: { T: -1 },
    2100: { T: 1 },
    2101: { T: -1 },
    2102: {},
    2103: { T: 1 },
    2104: { T: -1 },
    2105: {},
    2106: { T: 1 },
    2107: { T: -1 },
    2108: {},
    2109: { T: 1 },
    2110: { T: -1 },
    2111: { T: 1 },
    2112: { T: -1 },
    2113: { T: 1 },
    2114: { T: -1 },
    2115: {},
    2116: {},
    2117: {},
    2118: { T: 1 },
    2119: { T: -1 },
    2120: {},
    2121: { T: 1 },
    2122: { T: -1 },
    2123: { T: 1 },
    2124: { T: -1 },
    2125: {},
    2126: { T: 1 },
    2127: { T: -1 },
    2128: {},
    2129: { T: 1 },
    2130: { T: -1 },
    2131: { T: 1 },
    2132: { T: -1 },
    2133: { T: 1 },
    2134: {},
    2135: {},
    2136: {},
    2137: { T: 1 },
    2138: { T: -1 },
    2139: { T: 1 },
    2140: { T: -1 },
    2141: {},
    3072: {},
    3073: {},
    4096: { T: 1 },
    4097: { T: -1 },
    5002: { T: 1 },
    5003: { T: -1 },
    5081: { T: 1 },
    5082: { T: -1 },
    5083: {},
    5084: { T: 1 },
    5085: { T: -1 },
    5086: { T: 1 },
    5087: { T: -1 },
    5088: {},
    5089: {},
    5090: {},
    5092: { T: 1 },
    5093: { T: -1 },
    5094: {},
    5095: { T: 1 },
    5096: { T: -1 },
    5097: {},
    5099: {},
    65535: { n: "" },
  };
  function Z(e, t, r, n) {
    var a = t;
    if (!isNaN(a)) {
      var i = n || (r || []).length || 0,
        s = e.next(4);
      s.write_shift(2, a), s.write_shift(2, i), i > 0 && U0(r) && e.push(r);
    }
  }
  function tE(e, t, r, n) {
    var a = n || (r || []).length || 0;
    if (a <= 8224) return Z(e, t, r, a);
    var i = t;
    if (!isNaN(i)) {
      for (
        var s = r.parts || [], f = 0, o = 0, l = 0;
        l + (s[f] || 8224) <= 8224;

      )
        (l += s[f] || 8224), f++;
      var u = e.next(4);
      for (
        u.write_shift(2, i),
          u.write_shift(2, l),
          e.push(r.slice(o, o + l)),
          o += l;
        o < a;

      ) {
        for (
          u = e.next(4), u.write_shift(2, 60), l = 0;
          l + (s[f] || 8224) <= 8224;

        )
          (l += s[f] || 8224), f++;
        u.write_shift(2, l), e.push(r.slice(o, o + l)), (o += l);
      }
    }
  }
  function ha(e, t, r) {
    return (
      e || (e = B(7)),
      e.write_shift(2, t),
      e.write_shift(2, r),
      e.write_shift(2, 0),
      e.write_shift(1, 0),
      e
    );
  }
  function rE(e, t, r, n) {
    var a = B(9);
    return ha(a, e, t), hl(r, n || "b", a), a;
  }
  function nE(e, t, r) {
    var n = B(8 + 2 * r.length);
    return (
      ha(n, e, t),
      n.write_shift(1, r.length),
      n.write_shift(r.length, r, "sbcs"),
      n.l < n.length ? n.slice(0, n.l) : n
    );
  }
  function aE(e, t, r, n) {
    if (t.v != null)
      switch (t.t) {
        case "d":
        case "n":
          var a = t.t == "d" ? Lt(St(t.v)) : t.v;
          a == (a | 0) && a >= 0 && a < 65536
            ? Z(e, 2, v2(r, n, a))
            : Z(e, 3, p2(r, n, a));
          return;
        case "b":
        case "e":
          Z(e, 5, rE(r, n, t.v, t.t));
          return;
        case "s":
        case "str":
          Z(e, 4, nE(r, n, (t.v || "").slice(0, 255)));
          return;
      }
    Z(e, 1, ha(null, r, n));
  }
  function iE(e, t, r, n) {
    var a = Array.isArray(t),
      i = Pe(t["!ref"] || "A1"),
      s,
      f = "",
      o = [];
    if (i.e.c > 255 || i.e.r > 16383) {
      if (n.WTF)
        throw new Error(
          "Range " + (t["!ref"] || "A1") + " exceeds format limit A1:IV16384"
        );
      (i.e.c = Math.min(i.e.c, 255)),
        (i.e.r = Math.min(i.e.c, 16383)),
        (s = Xe(i));
    }
    for (var l = i.s.r; l <= i.e.r; ++l) {
      f = ut(l);
      for (var u = i.s.c; u <= i.e.c; ++u) {
        l === i.s.r && (o[u] = mt(u)), (s = o[u] + f);
        var x = a ? (t[l] || [])[u] : t[s];
        !x || aE(e, x, l, u);
      }
    }
  }
  function sE(e, t) {
    for (var r = t || {}, n = Ft(), a = 0, i = 0; i < e.SheetNames.length; ++i)
      e.SheetNames[i] == r.sheet && (a = i);
    if (a == 0 && !!r.sheet && e.SheetNames[0] != r.sheet)
      throw new Error("Sheet not found: " + r.sheet);
    return (
      Z(n, r.biff == 4 ? 1033 : r.biff == 3 ? 521 : 9, $0(e, 16, r)),
      iE(n, e.Sheets[e.SheetNames[a]], a, r),
      Z(n, 10),
      n.end()
    );
  }
  function fE(e, t, r) {
    Z(
      e,
      49,
      e2(
        {
          sz: 12,
          color: { theme: 1 },
          name: "Arial",
          family: 2,
          scheme: "minor",
        },
        r
      )
    );
  }
  function oE(e, t, r) {
    !t ||
      [
        [5, 8],
        [23, 26],
        [41, 44],
        [50, 392],
      ].forEach(function (n) {
        for (var a = n[0]; a <= n[1]; ++a)
          t[a] != null && Z(e, 1054, n2(a, t[a], r));
      });
  }
  function lE(e, t) {
    var r = B(19);
    r.write_shift(4, 2151),
      r.write_shift(4, 0),
      r.write_shift(4, 0),
      r.write_shift(2, 3),
      r.write_shift(1, 1),
      r.write_shift(4, 0),
      Z(e, 2151, r),
      (r = B(39)),
      r.write_shift(4, 2152),
      r.write_shift(4, 0),
      r.write_shift(4, 0),
      r.write_shift(2, 3),
      r.write_shift(1, 0),
      r.write_shift(4, 0),
      r.write_shift(2, 1),
      r.write_shift(4, 4),
      r.write_shift(2, 0),
      xl(Pe(t["!ref"] || "A1"), r),
      r.write_shift(4, 4),
      Z(e, 2152, r);
  }
  function uE(e, t) {
    for (var r = 0; r < 16; ++r)
      Z(e, 224, nf({ numFmtId: 0, style: !0 }, 0, t));
    t.cellXfs.forEach(function (n) {
      Z(e, 224, nf(n, 0, t));
    });
  }
  function cE(e, t) {
    for (var r = 0; r < t["!links"].length; ++r) {
      var n = t["!links"][r];
      Z(e, 440, c2(n)), n[1].Tooltip && Z(e, 2048, h2(n));
    }
    delete t["!links"];
  }
  function hE(e, t) {
    if (!!t) {
      var r = 0;
      t.forEach(function (n, a) {
        ++r <= 256 && n && Z(e, 125, x2(Ti(a, n), a));
      });
    }
  }
  function dE(e, t, r, n, a) {
    var i = 16 + kr(a.cellXfs, t, a);
    if (t.v == null && !t.bf) {
      Z(e, 513, zr(r, n, i));
      return;
    }
    if (t.bf) Z(e, 6, Bv(t, r, n, a, i));
    else
      switch (t.t) {
        case "d":
        case "n":
          var s = t.t == "d" ? Lt(St(t.v)) : t.v;
          Z(e, 515, f2(r, n, s, i));
          break;
        case "b":
        case "e":
          Z(e, 517, s2(r, n, t.v, i, a, t.t));
          break;
        case "s":
        case "str":
          if (a.bookSST) {
            var f = J0(a.Strings, t.v, a.revStrings);
            Z(e, 253, t2(r, n, f, i));
          } else Z(e, 516, r2(r, n, (t.v || "").slice(0, 255), i, a));
          break;
        default:
          Z(e, 513, zr(r, n, i));
      }
  }
  function _E(e, t, r) {
    var n = Ft(),
      a = r.SheetNames[e],
      i = r.Sheets[a] || {},
      s = (r || {}).Workbook || {},
      f = (s.Sheets || [])[e] || {},
      o = Array.isArray(i),
      l = t.biff == 8,
      u,
      x = "",
      d = [],
      _ = Pe(i["!ref"] || "A1"),
      v = l ? 65536 : 16384;
    if (_.e.c > 255 || _.e.r >= v) {
      if (t.WTF)
        throw new Error(
          "Range " + (i["!ref"] || "A1") + " exceeds format limit A1:IV16384"
        );
      (_.e.c = Math.min(_.e.c, 255)), (_.e.r = Math.min(_.e.c, v - 1));
    }
    Z(n, 2057, $0(r, 16, t)),
      Z(n, 13, bt(1)),
      Z(n, 12, bt(100)),
      Z(n, 15, wt(!0)),
      Z(n, 17, wt(!1)),
      Z(n, 16, Kr(0.001)),
      Z(n, 95, wt(!0)),
      Z(n, 42, wt(!1)),
      Z(n, 43, wt(!1)),
      Z(n, 130, bt(1)),
      Z(n, 128, i2([0, 0])),
      Z(n, 131, wt(!1)),
      Z(n, 132, wt(!1)),
      l && hE(n, i["!cols"]),
      Z(n, 512, a2(_, t)),
      l && (i["!links"] = []);
    for (var c = _.s.r; c <= _.e.r; ++c) {
      x = ut(c);
      for (var g = _.s.c; g <= _.e.c; ++g) {
        c === _.s.r && (d[g] = mt(g)), (u = d[g] + x);
        var L = o ? (i[c] || [])[g] : i[u];
        !L || (dE(n, L, c, g, t), l && L.l && i["!links"].push([u, L.l]));
      }
    }
    var O = f.CodeName || f.name || a;
    return (
      l && Z(n, 574, Qm((s.Views || [])[0])),
      l && (i["!merges"] || []).length && Z(n, 229, u2(i["!merges"])),
      l && cE(n, i),
      Z(n, 442, _l(O)),
      l && lE(n, i),
      Z(n, 10),
      n.end()
    );
  }
  function xE(e, t, r) {
    var n = Ft(),
      a = (e || {}).Workbook || {},
      i = a.Sheets || [],
      s = a.WBProps || {},
      f = r.biff == 8,
      o = r.biff == 5;
    if (
      (Z(n, 2057, $0(e, 5, r)),
      r.bookType == "xla" && Z(n, 135),
      Z(n, 225, f ? bt(1200) : null),
      Z(n, 193, Wm(2)),
      o && Z(n, 191),
      o && Z(n, 192),
      Z(n, 226),
      Z(n, 92, zm("SheetJS", r)),
      Z(n, 66, bt(f ? 1200 : 1252)),
      f && Z(n, 353, bt(0)),
      f && Z(n, 448),
      Z(n, 317, m2(e.SheetNames.length)),
      f && e.vbaraw && Z(n, 211),
      f && e.vbaraw)
    ) {
      var l = s.CodeName || "ThisWorkbook";
      Z(n, 442, _l(l));
    }
    Z(n, 156, bt(17)),
      Z(n, 25, wt(!1)),
      Z(n, 18, wt(!1)),
      Z(n, 19, bt(0)),
      f && Z(n, 431, wt(!1)),
      f && Z(n, 444, bt(0)),
      Z(n, 61, qm()),
      Z(n, 64, wt(!1)),
      Z(n, 141, bt(0)),
      Z(n, 34, wt(TT(e) == "true")),
      Z(n, 14, wt(!0)),
      f && Z(n, 439, wt(!1)),
      Z(n, 218, bt(0)),
      fE(n, e, r),
      oE(n, e.SSF, r),
      uE(n, r),
      f && Z(n, 352, wt(!1));
    var u = n.end(),
      x = Ft();
    f && Z(x, 140, d2()), f && r.Strings && tE(x, 252, Zm(r.Strings)), Z(x, 10);
    var d = x.end(),
      _ = Ft(),
      v = 0,
      c = 0;
    for (c = 0; c < e.SheetNames.length; ++c)
      v += (f ? 12 : 11) + (f ? 2 : 1) * e.SheetNames[c].length;
    var g = u.length + v + d.length;
    for (c = 0; c < e.SheetNames.length; ++c) {
      var L = i[c] || {};
      Z(
        _,
        133,
        Jm({ pos: g, hs: L.Hidden || 0, dt: 0, name: e.SheetNames[c] }, r)
      ),
        (g += t[c].length);
    }
    var O = _.end();
    if (v != O.length) throw new Error("BS8 " + v + " != " + O.length);
    var F = [];
    return (
      u.length && F.push(u), O.length && F.push(O), d.length && F.push(d), ot(F)
    );
  }
  function mE(e, t) {
    var r = t || {},
      n = [];
    e && !e.SSF && (e.SSF = Ot(Ve)),
      e &&
        e.SSF &&
        (xi(),
        _i(e.SSF),
        (r.revssf = mi(e.SSF)),
        (r.revssf[e.SSF[65535]] = 0),
        (r.ssf = e.SSF)),
      (r.Strings = []),
      (r.Strings.Count = 0),
      (r.Strings.Unique = 0),
      Z0(r),
      (r.cellXfs = []),
      kr(r.cellXfs, {}, { revssf: { General: 0 } }),
      e.Props || (e.Props = {});
    for (var a = 0; a < e.SheetNames.length; ++a) n[n.length] = _E(a, r, e);
    return n.unshift(xE(e, n, r)), ot(n);
  }
  function Hl(e, t) {
    for (var r = 0; r <= e.SheetNames.length; ++r) {
      var n = e.Sheets[e.SheetNames[r]];
      if (!(!n || !n["!ref"])) {
        var a = kt(n["!ref"]);
        a.e.c > 255 &&
          typeof console != "undefined" &&
          console.error &&
          console.error(
            "Worksheet '" +
              e.SheetNames[r] +
              "' extends beyond column IV (255).  Data may be lost."
          );
      }
    }
    var i = t || {};
    switch (i.biff || 2) {
      case 8:
      case 5:
        return mE(e, t);
      case 4:
      case 3:
      case 2:
        return sE(e, t);
    }
    throw new Error("invalid type " + i.bookType + " for BIFF");
  }
  function pE(e, t, r, n) {
    for (var a = e["!merges"] || [], i = [], s = t.s.c; s <= t.e.c; ++s) {
      for (var f = 0, o = 0, l = 0; l < a.length; ++l)
        if (
          !(a[l].s.r > r || a[l].s.c > s) &&
          !(a[l].e.r < r || a[l].e.c < s)
        ) {
          if (a[l].s.r < r || a[l].s.c < s) {
            f = -1;
            break;
          }
          (f = a[l].e.r - a[l].s.r + 1), (o = a[l].e.c - a[l].s.c + 1);
          break;
        }
      if (!(f < 0)) {
        var u = Re({ r, c: s }),
          x = n.dense ? (e[r] || [])[s] : e[u],
          d =
            (x && x.v != null && (x.h || Kx(x.w || (Er(x), x.w) || ""))) || "",
          _ = {};
        f > 1 && (_.rowspan = f),
          o > 1 && (_.colspan = o),
          n.editable
            ? (d = '<span contenteditable="true">' + d + "</span>")
            : x &&
              ((_["data-t"] = (x && x.t) || "z"),
              x.v != null && (_["data-v"] = x.v),
              x.z != null && (_["data-z"] = x.z),
              x.l &&
                (x.l.Target || "#").charAt(0) != "#" &&
                (d = '<a href="' + x.l.Target + '">' + d + "</a>")),
          (_.id = (n.id || "sjs") + "-" + u),
          i.push(J("td", d, _));
      }
    }
    var v = "<tr>";
    return v + i.join("") + "</tr>";
  }
  var vE =
      '<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',
    gE = "</body></html>";
  function TE(e, t, r) {
    var n = [];
    return (
      n.join("") + "<table" + (r && r.id ? ' id="' + r.id + '"' : "") + ">"
    );
  }
  function Yl(e, t) {
    var r = t || {},
      n = r.header != null ? r.header : vE,
      a = r.footer != null ? r.footer : gE,
      i = [n],
      s = kt(e["!ref"]);
    (r.dense = Array.isArray(e)), i.push(TE(e, s, r));
    for (var f = s.s.r; f <= s.e.r; ++f) i.push(pE(e, s, f, r));
    return i.push("</table>" + a), i.join("");
  }
  function Gl(e, t, r) {
    var n = r || {},
      a = 0,
      i = 0;
    if (n.origin != null)
      if (typeof n.origin == "number") a = n.origin;
      else {
        var s = typeof n.origin == "string" ? rt(n.origin) : n.origin;
        (a = s.r), (i = s.c);
      }
    var f = t.getElementsByTagName("tr"),
      o = Math.min(n.sheetRows || 1e7, f.length),
      l = { s: { r: 0, c: 0 }, e: { r: a, c: i } };
    if (e["!ref"]) {
      var u = kt(e["!ref"]);
      (l.s.r = Math.min(l.s.r, u.s.r)),
        (l.s.c = Math.min(l.s.c, u.s.c)),
        (l.e.r = Math.max(l.e.r, u.e.r)),
        (l.e.c = Math.max(l.e.c, u.e.c)),
        a == -1 && (l.e.r = a = u.e.r + 1);
    }
    var x = [],
      d = 0,
      _ = e["!rows"] || (e["!rows"] = []),
      v = 0,
      c = 0,
      g = 0,
      L = 0,
      O = 0,
      F = 0;
    for (e["!cols"] || (e["!cols"] = []); v < f.length && c < o; ++v) {
      var P = f[v];
      if (cf(P)) {
        if (n.display) continue;
        _[c] = { hidden: !0 };
      }
      var K = P.children;
      for (g = L = 0; g < K.length; ++g) {
        var Q = K[g];
        if (!(n.display && cf(Q))) {
          var R = Q.hasAttribute("data-v")
              ? Q.getAttribute("data-v")
              : Q.hasAttribute("v")
              ? Q.getAttribute("v")
              : qx(Q.innerHTML),
            U = Q.getAttribute("data-z") || Q.getAttribute("z");
          for (d = 0; d < x.length; ++d) {
            var M = x[d];
            M.s.c == L + i &&
              M.s.r < c + a &&
              c + a <= M.e.r &&
              ((L = M.e.c + 1 - i), (d = -1));
          }
          (F = +Q.getAttribute("colspan") || 1),
            ((O = +Q.getAttribute("rowspan") || 1) > 1 || F > 1) &&
              x.push({
                s: { r: c + a, c: L + i },
                e: { r: c + a + (O || 1) - 1, c: L + i + (F || 1) - 1 },
              });
          var G = { t: "s", v: R },
            Y = Q.getAttribute("data-t") || Q.getAttribute("t") || "";
          R != null &&
            (R.length == 0
              ? (G.t = Y || "z")
              : n.raw ||
                R.trim().length == 0 ||
                Y == "s" ||
                (R === "TRUE"
                  ? (G = { t: "b", v: !0 })
                  : R === "FALSE"
                  ? (G = { t: "b", v: !1 })
                  : isNaN(pr(R))
                  ? isNaN(Qn(R).getDate()) ||
                    ((G = { t: "d", v: St(R) }),
                    n.cellDates || (G = { t: "n", v: Lt(G.v) }),
                    (G.z = n.dateNF || Ve[14]))
                  : (G = { t: "n", v: pr(R) }))),
            G.z === void 0 && U != null && (G.z = U);
          var V = "",
            ne = Q.getElementsByTagName("A");
          if (ne && ne.length)
            for (
              var Ae = 0;
              Ae < ne.length &&
              !(
                ne[Ae].hasAttribute("href") &&
                ((V = ne[Ae].getAttribute("href")), V.charAt(0) != "#")
              );
              ++Ae
            );
          V && V.charAt(0) != "#" && (G.l = { Target: V }),
            n.dense
              ? (e[c + a] || (e[c + a] = []), (e[c + a][L + i] = G))
              : (e[Re({ c: L + i, r: c + a })] = G),
            l.e.c < L + i && (l.e.c = L + i),
            (L += F);
        }
      }
      ++c;
    }
    return (
      x.length && (e["!merges"] = (e["!merges"] || []).concat(x)),
      (l.e.r = Math.max(l.e.r, c - 1 + a)),
      (e["!ref"] = Xe(l)),
      c >= o && (e["!fullref"] = Xe(((l.e.r = f.length - v + c - 1 + a), l))),
      e
    );
  }
  function Vl(e, t) {
    var r = t || {},
      n = r.dense ? [] : {};
    return Gl(n, e, t);
  }
  function EE(e, t) {
    return qr(Vl(e, t), t);
  }
  function cf(e) {
    var t = "",
      r = wE(e);
    return (
      r && (t = r(e).getPropertyValue("display")),
      t || (t = e.style && e.style.display),
      t === "none"
    );
  }
  function wE(e) {
    return e.ownerDocument.defaultView &&
      typeof e.ownerDocument.defaultView.getComputedStyle == "function"
      ? e.ownerDocument.defaultView.getComputedStyle
      : typeof getComputedStyle == "function"
      ? getComputedStyle
      : null;
  }
  var SE = (function () {
      var e = [
          "<office:master-styles>",
          '<style:master-page style:name="mp1" style:page-layout-name="mp1">',
          "<style:header/>",
          '<style:header-left style:display="false"/>',
          "<style:footer/>",
          '<style:footer-left style:display="false"/>',
          "</style:master-page>",
          "</office:master-styles>",
        ].join(""),
        t =
          "<office:document-styles " +
          ea({
            "xmlns:office": "urn:oasis:names:tc:opendocument:xmlns:office:1.0",
            "xmlns:table": "urn:oasis:names:tc:opendocument:xmlns:table:1.0",
            "xmlns:style": "urn:oasis:names:tc:opendocument:xmlns:style:1.0",
            "xmlns:text": "urn:oasis:names:tc:opendocument:xmlns:text:1.0",
            "xmlns:draw": "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0",
            "xmlns:fo":
              "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0",
            "xmlns:xlink": "http://www.w3.org/1999/xlink",
            "xmlns:dc": "http://purl.org/dc/elements/1.1/",
            "xmlns:number":
              "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0",
            "xmlns:svg":
              "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0",
            "xmlns:of": "urn:oasis:names:tc:opendocument:xmlns:of:1.2",
            "office:version": "1.2",
          }) +
          ">" +
          e +
          "</office:document-styles>";
      return function () {
        return Ke + t;
      };
    })(),
    hf = (function () {
      var e = function (i) {
          return Oe(i)
            .replace(/  +/g, function (s) {
              return '<text:s text:c="' + s.length + '"/>';
            })
            .replace(/\t/g, "<text:tab/>")
            .replace(/\n/g, "</text:p><text:p>")
            .replace(/^ /, "<text:s/>")
            .replace(/ $/, "<text:s/>");
        },
        t = `          <table:table-cell />
`,
        r = `          <table:covered-table-cell/>
`,
        n = function (i, s, f) {
          var o = [];
          o.push(
            '      <table:table table:name="' +
              Oe(s.SheetNames[f]) +
              `" table:style-name="ta1">
`
          );
          var l = 0,
            u = 0,
            x = kt(i["!ref"] || "A1"),
            d = i["!merges"] || [],
            _ = 0,
            v = Array.isArray(i);
          if (i["!cols"])
            for (u = 0; u <= x.e.c; ++u)
              o.push(
                "        <table:table-column" +
                  (i["!cols"][u]
                    ? ' table:style-name="co' + i["!cols"][u].ods + '"'
                    : "") +
                  `></table:table-column>
`
              );
          var c = "",
            g = i["!rows"] || [];
          for (l = 0; l < x.s.r; ++l)
            (c = g[l] ? ' table:style-name="ro' + g[l].ods + '"' : ""),
              o.push(
                "        <table:table-row" +
                  c +
                  `></table:table-row>
`
              );
          for (; l <= x.e.r; ++l) {
            for (
              c = g[l] ? ' table:style-name="ro' + g[l].ods + '"' : "",
                o.push(
                  "        <table:table-row" +
                    c +
                    `>
`
                ),
                u = 0;
              u < x.s.c;
              ++u
            )
              o.push(t);
            for (; u <= x.e.c; ++u) {
              var L = !1,
                O = {},
                F = "";
              for (_ = 0; _ != d.length; ++_)
                if (
                  !(d[_].s.c > u) &&
                  !(d[_].s.r > l) &&
                  !(d[_].e.c < u) &&
                  !(d[_].e.r < l)
                ) {
                  (d[_].s.c != u || d[_].s.r != l) && (L = !0),
                    (O["table:number-columns-spanned"] =
                      d[_].e.c - d[_].s.c + 1),
                    (O["table:number-rows-spanned"] = d[_].e.r - d[_].s.r + 1);
                  break;
                }
              if (L) {
                o.push(r);
                continue;
              }
              var P = Re({ r: l, c: u }),
                K = v ? (i[l] || [])[u] : i[P];
              if (
                K &&
                K.f &&
                ((O["table:formula"] = Oe(Gv(K.f))),
                K.F && K.F.slice(0, P.length) == P)
              ) {
                var Q = kt(K.F);
                (O["table:number-matrix-columns-spanned"] = Q.e.c - Q.s.c + 1),
                  (O["table:number-matrix-rows-spanned"] = Q.e.r - Q.s.r + 1);
              }
              if (!K) {
                o.push(t);
                continue;
              }
              switch (K.t) {
                case "b":
                  (F = K.v ? "TRUE" : "FALSE"),
                    (O["office:value-type"] = "boolean"),
                    (O["office:boolean-value"] = K.v ? "true" : "false");
                  break;
                case "n":
                  (F = K.w || String(K.v || 0)),
                    (O["office:value-type"] = "float"),
                    (O["office:value"] = K.v || 0);
                  break;
                case "s":
                case "str":
                  (F = K.v == null ? "" : K.v),
                    (O["office:value-type"] = "string");
                  break;
                case "d":
                  (F = K.w || St(K.v).toISOString()),
                    (O["office:value-type"] = "date"),
                    (O["office:date-value"] = St(K.v).toISOString()),
                    (O["table:style-name"] = "ce1");
                  break;
                default:
                  o.push(t);
                  continue;
              }
              var R = e(F);
              if (K.l && K.l.Target) {
                var U = K.l.Target;
                (U = U.charAt(0) == "#" ? "#" + Vv(U.slice(1)) : U),
                  U.charAt(0) != "#" && !U.match(/^\w+:/) && (U = "../" + U),
                  (R = J("text:a", R, {
                    "xlink:href": U.replace(/&/g, "&amp;"),
                  }));
              }
              o.push(
                "          " +
                  J("table:table-cell", J("text:p", R, {}), O) +
                  `
`
              );
            }
            o.push(`        </table:table-row>
`);
          }
          return (
            o.push(`      </table:table>
`),
            o.join("")
          );
        },
        a = function (i, s) {
          i.push(` <office:automatic-styles>
`),
            i.push(`  <number:date-style style:name="N37" number:automatic-order="true">
`),
            i.push(`   <number:month number:style="long"/>
`),
            i.push(`   <number:text>/</number:text>
`),
            i.push(`   <number:day number:style="long"/>
`),
            i.push(`   <number:text>/</number:text>
`),
            i.push(`   <number:year/>
`),
            i.push(`  </number:date-style>
`);
          var f = 0;
          s.SheetNames.map(function (l) {
            return s.Sheets[l];
          }).forEach(function (l) {
            if (!!l && l["!cols"]) {
              for (var u = 0; u < l["!cols"].length; ++u)
                if (l["!cols"][u]) {
                  var x = l["!cols"][u];
                  if (x.width == null && x.wpx == null && x.wch == null)
                    continue;
                  j0(x), (x.ods = f);
                  var d = l["!cols"][u].wpx + "px";
                  i.push(
                    '  <style:style style:name="co' +
                      f +
                      `" style:family="table-column">
`
                  ),
                    i.push(
                      '   <style:table-column-properties fo:break-before="auto" style:column-width="' +
                        d +
                        `"/>
`
                    ),
                    i.push(`  </style:style>
`),
                    ++f;
                }
            }
          });
          var o = 0;
          s.SheetNames.map(function (l) {
            return s.Sheets[l];
          }).forEach(function (l) {
            if (!!l && l["!rows"]) {
              for (var u = 0; u < l["!rows"].length; ++u)
                if (l["!rows"][u]) {
                  l["!rows"][u].ods = o;
                  var x = l["!rows"][u].hpx + "px";
                  i.push(
                    '  <style:style style:name="ro' +
                      o +
                      `" style:family="table-row">
`
                  ),
                    i.push(
                      '   <style:table-row-properties fo:break-before="auto" style:row-height="' +
                        x +
                        `"/>
`
                    ),
                    i.push(`  </style:style>
`),
                    ++o;
                }
            }
          }),
            i.push(`  <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
`),
            i.push(`   <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
`),
            i.push(`  </style:style>
`),
            i.push(`  <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
`),
            i.push(` </office:automatic-styles>
`);
        };
      return function (s, f) {
        var o = [Ke],
          l = ea({
            "xmlns:office": "urn:oasis:names:tc:opendocument:xmlns:office:1.0",
            "xmlns:table": "urn:oasis:names:tc:opendocument:xmlns:table:1.0",
            "xmlns:style": "urn:oasis:names:tc:opendocument:xmlns:style:1.0",
            "xmlns:text": "urn:oasis:names:tc:opendocument:xmlns:text:1.0",
            "xmlns:draw": "urn:oasis:names:tc:opendocument:xmlns:drawing:1.0",
            "xmlns:fo":
              "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0",
            "xmlns:xlink": "http://www.w3.org/1999/xlink",
            "xmlns:dc": "http://purl.org/dc/elements/1.1/",
            "xmlns:meta": "urn:oasis:names:tc:opendocument:xmlns:meta:1.0",
            "xmlns:number":
              "urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0",
            "xmlns:presentation":
              "urn:oasis:names:tc:opendocument:xmlns:presentation:1.0",
            "xmlns:svg":
              "urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0",
            "xmlns:chart": "urn:oasis:names:tc:opendocument:xmlns:chart:1.0",
            "xmlns:dr3d": "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0",
            "xmlns:math": "http://www.w3.org/1998/Math/MathML",
            "xmlns:form": "urn:oasis:names:tc:opendocument:xmlns:form:1.0",
            "xmlns:script": "urn:oasis:names:tc:opendocument:xmlns:script:1.0",
            "xmlns:ooo": "http://openoffice.org/2004/office",
            "xmlns:ooow": "http://openoffice.org/2004/writer",
            "xmlns:oooc": "http://openoffice.org/2004/calc",
            "xmlns:dom": "http://www.w3.org/2001/xml-events",
            "xmlns:xforms": "http://www.w3.org/2002/xforms",
            "xmlns:xsd": "http://www.w3.org/2001/XMLSchema",
            "xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
            "xmlns:sheet": "urn:oasis:names:tc:opendocument:sh33tjs:1.0",
            "xmlns:rpt": "http://openoffice.org/2005/report",
            "xmlns:of": "urn:oasis:names:tc:opendocument:xmlns:of:1.2",
            "xmlns:xhtml": "http://www.w3.org/1999/xhtml",
            "xmlns:grddl": "http://www.w3.org/2003/g/data-view#",
            "xmlns:tableooo": "http://openoffice.org/2009/table",
            "xmlns:drawooo": "http://openoffice.org/2010/draw",
            "xmlns:calcext":
              "urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0",
            "xmlns:loext":
              "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0",
            "xmlns:field":
              "urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0",
            "xmlns:formx":
              "urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0",
            "xmlns:css3t": "http://www.w3.org/TR/css3-text/",
            "office:version": "1.2",
          }),
          u = ea({
            "xmlns:config": "urn:oasis:names:tc:opendocument:xmlns:config:1.0",
            "office:mimetype": "application/vnd.oasis.opendocument.spreadsheet",
          });
        f.bookType == "fods"
          ? (o.push(
              "<office:document" +
                l +
                u +
                `>
`
            ),
            o.push(il().replace(/office:document-meta/g, "office:meta")))
          : o.push(
              "<office:document-content" +
                l +
                `>
`
            ),
          a(o, s),
          o.push(`  <office:body>
`),
          o.push(`    <office:spreadsheet>
`);
        for (var x = 0; x != s.SheetNames.length; ++x)
          o.push(n(s.Sheets[s.SheetNames[x]], s, x));
        return (
          o.push(`    </office:spreadsheet>
`),
          o.push(`  </office:body>
`),
          f.bookType == "fods"
            ? o.push("</office:document>")
            : o.push("</office:document-content>"),
          o.join("")
        );
      };
    })();
  function $l(e, t) {
    if (t.bookType == "fods") return hf(e, t);
    var r = M0(),
      n = "",
      a = [],
      i = [];
    return (
      (n = "mimetype"),
      xe(r, n, "application/vnd.oasis.opendocument.spreadsheet"),
      (n = "content.xml"),
      xe(r, n, hf(e, t)),
      a.push([n, "text/xml"]),
      i.push([n, "ContentFile"]),
      (n = "styles.xml"),
      xe(r, n, SE(e, t)),
      a.push([n, "text/xml"]),
      i.push([n, "StylesFile"]),
      (n = "meta.xml"),
      xe(r, n, Ke + il()),
      a.push([n, "text/xml"]),
      i.push([n, "MetadataFile"]),
      (n = "manifest.rdf"),
      xe(r, n, Mm(i)),
      a.push([n, "application/rdf+xml"]),
      (n = "META-INF/manifest.xml"),
      xe(r, n, Nm(a)),
      r
    );
  }
  /*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */ function Ja(e) {
    return new DataView(e.buffer, e.byteOffset, e.byteLength);
  }
  function AE(e) {
    return typeof TextEncoder != "undefined"
      ? new TextEncoder().encode(e)
      : $t(_r(e));
  }
  function yE(e, t) {
    e: for (var r = 0; r <= e.length - t.length; ++r) {
      for (var n = 0; n < t.length; ++n) if (e[r + n] != t[n]) continue e;
      return !0;
    }
    return !1;
  }
  function Nr(e) {
    var t = e.reduce(function (a, i) {
        return a + i.length;
      }, 0),
      r = new Uint8Array(t),
      n = 0;
    return (
      e.forEach(function (a) {
        r.set(a, n), (n += a.length);
      }),
      r
    );
  }
  function FE(e, t, r) {
    var n =
        Math.floor(r == 0 ? 0 : Math.LOG10E * Math.log(Math.abs(r))) +
        6176 -
        20,
      a = r / Math.pow(10, n - 6176);
    (e[t + 15] |= n >> 7), (e[t + 14] |= (n & 127) << 1);
    for (var i = 0; a >= 1; ++i, a /= 256) e[t + i] = a & 255;
    e[t + 15] |= r >= 0 ? 0 : 128;
  }
  function ta(e, t) {
    var r = t ? t[0] : 0,
      n = e[r] & 127;
    e: if (
      e[r++] >= 128 &&
      ((n |= (e[r] & 127) << 7),
      e[r++] < 128 ||
        ((n |= (e[r] & 127) << 14), e[r++] < 128) ||
        ((n |= (e[r] & 127) << 21), e[r++] < 128) ||
        ((n += (e[r] & 127) * Math.pow(2, 28)), ++r, e[r++] < 128) ||
        ((n += (e[r] & 127) * Math.pow(2, 35)), ++r, e[r++] < 128) ||
        ((n += (e[r] & 127) * Math.pow(2, 42)), ++r, e[r++] < 128))
    )
      break e;
    return t && (t[0] = r), n;
  }
  function Fe(e) {
    var t = new Uint8Array(7);
    t[0] = e & 127;
    var r = 1;
    e: if (e > 127) {
      if (
        ((t[r - 1] |= 128),
        (t[r] = (e >> 7) & 127),
        ++r,
        e <= 16383 ||
          ((t[r - 1] |= 128), (t[r] = (e >> 14) & 127), ++r, e <= 2097151) ||
          ((t[r - 1] |= 128), (t[r] = (e >> 21) & 127), ++r, e <= 268435455) ||
          ((t[r - 1] |= 128),
          (t[r] = ((e / 256) >>> 21) & 127),
          ++r,
          e <= 34359738367) ||
          ((t[r - 1] |= 128),
          (t[r] = ((e / 65536) >>> 21) & 127),
          ++r,
          e <= 4398046511103))
      )
        break e;
      (t[r - 1] |= 128), (t[r] = ((e / 16777216) >>> 21) & 127), ++r;
    }
    return t.slice(0, r);
  }
  function Tn(e) {
    var t = 0,
      r = e[t] & 127;
    e: if (e[t++] >= 128) {
      if (
        ((r |= (e[t] & 127) << 7),
        e[t++] < 128 ||
          ((r |= (e[t] & 127) << 14), e[t++] < 128) ||
          ((r |= (e[t] & 127) << 21), e[t++] < 128))
      )
        break e;
      r |= (e[t] & 127) << 28;
    }
    return r;
  }
  function Je(e) {
    for (var t = [], r = [0]; r[0] < e.length; ) {
      var n = r[0],
        a = ta(e, r),
        i = a & 7;
      a = Math.floor(a / 8);
      var s = 0,
        f;
      if (a == 0) break;
      switch (i) {
        case 0:
          {
            for (var o = r[0]; e[r[0]++] >= 128; );
            f = e.slice(o, r[0]);
          }
          break;
        case 5:
          (s = 4), (f = e.slice(r[0], r[0] + s)), (r[0] += s);
          break;
        case 1:
          (s = 8), (f = e.slice(r[0], r[0] + s)), (r[0] += s);
          break;
        case 2:
          (s = ta(e, r)), (f = e.slice(r[0], r[0] + s)), (r[0] += s);
          break;
        case 3:
        case 4:
        default:
          throw new Error(
            "PB Type "
              .concat(i, " for Field ")
              .concat(a, " at offset ")
              .concat(n)
          );
      }
      var l = { data: f, type: i };
      t[a] == null ? (t[a] = [l]) : t[a].push(l);
    }
    return t;
  }
  function it(e) {
    var t = [];
    return (
      e.forEach(function (r, n) {
        r.forEach(function (a) {
          !a.data ||
            (t.push(Fe(n * 8 + a.type)),
            a.type == 2 && t.push(Fe(a.data.length)),
            t.push(a.data));
        });
      }),
      Nr(t)
    );
  }
  function Gt(e) {
    for (var t, r = [], n = [0]; n[0] < e.length; ) {
      var a = ta(e, n),
        i = Je(e.slice(n[0], n[0] + a));
      n[0] += a;
      var s = { id: Tn(i[1][0].data), messages: [] };
      i[2].forEach(function (f) {
        var o = Je(f.data),
          l = Tn(o[3][0].data);
        s.messages.push({ meta: o, data: e.slice(n[0], n[0] + l) }),
          (n[0] += l);
      }),
        (t = i[3]) != null && t[0] && (s.merge = Tn(i[3][0].data) >>> 0 > 0),
        r.push(s);
    }
    return r;
  }
  function fn(e) {
    var t = [];
    return (
      e.forEach(function (r) {
        var n = [];
        (n[1] = [{ data: Fe(r.id), type: 0 }]),
          (n[2] = []),
          r.merge != null && (n[3] = [{ data: Fe(+!!r.merge), type: 0 }]);
        var a = [];
        r.messages.forEach(function (s) {
          a.push(s.data),
            (s.meta[3] = [{ type: 0, data: Fe(s.data.length) }]),
            n[2].push({ data: it(s.meta), type: 2 });
        });
        var i = it(n);
        t.push(Fe(i.length)),
          t.push(i),
          a.forEach(function (s) {
            return t.push(s);
          });
      }),
      Nr(t)
    );
  }
  function LE(e, t) {
    if (e != 0) throw new Error("Unexpected Snappy chunk type ".concat(e));
    for (var r = [0], n = ta(t, r), a = []; r[0] < t.length; ) {
      var i = t[r[0]] & 3;
      if (i == 0) {
        var s = t[r[0]++] >> 2;
        if (s < 60) ++s;
        else {
          var f = s - 59;
          (s = t[r[0]]),
            f > 1 && (s |= t[r[0] + 1] << 8),
            f > 2 && (s |= t[r[0] + 2] << 16),
            f > 3 && (s |= t[r[0] + 3] << 24),
            (s >>>= 0),
            s++,
            (r[0] += f);
        }
        a.push(t.slice(r[0], r[0] + s)), (r[0] += s);
        continue;
      } else {
        var o = 0,
          l = 0;
        if (
          (i == 1
            ? ((l = ((t[r[0]] >> 2) & 7) + 4),
              (o = (t[r[0]++] & 224) << 3),
              (o |= t[r[0]++]))
            : ((l = (t[r[0]++] >> 2) + 1),
              i == 2
                ? ((o = t[r[0]] | (t[r[0] + 1] << 8)), (r[0] += 2))
                : ((o =
                    (t[r[0]] |
                      (t[r[0] + 1] << 8) |
                      (t[r[0] + 2] << 16) |
                      (t[r[0] + 3] << 24)) >>>
                    0),
                  (r[0] += 4))),
          (a = [Nr(a)]),
          o == 0)
        )
          throw new Error("Invalid offset 0");
        if (o > a[0].length) throw new Error("Invalid offset beyond length");
        if (l >= o)
          for (a.push(a[0].slice(-o)), l -= o; l >= a[a.length - 1].length; )
            a.push(a[a.length - 1]), (l -= a[a.length - 1].length);
        a.push(a[0].slice(-o, -o + l));
      }
    }
    var u = Nr(a);
    if (u.length != n)
      throw new Error("Unexpected length: ".concat(u.length, " != ").concat(n));
    return u;
  }
  function Vt(e) {
    for (var t = [], r = 0; r < e.length; ) {
      var n = e[r++],
        a = e[r] | (e[r + 1] << 8) | (e[r + 2] << 16);
      (r += 3), t.push(LE(n, e.slice(r, r + a))), (r += a);
    }
    if (r !== e.length) throw new Error("data is not a valid framed stream!");
    return Nr(t);
  }
  function on(e) {
    for (var t = [], r = 0; r < e.length; ) {
      var n = Math.min(e.length - r, 268435455),
        a = new Uint8Array(4);
      t.push(a);
      var i = Fe(n),
        s = i.length;
      t.push(i),
        n <= 60
          ? (s++, t.push(new Uint8Array([(n - 1) << 2])))
          : n <= 256
          ? ((s += 2), t.push(new Uint8Array([240, (n - 1) & 255])))
          : n <= 65536
          ? ((s += 3),
            t.push(new Uint8Array([244, (n - 1) & 255, ((n - 1) >> 8) & 255])))
          : n <= 16777216
          ? ((s += 4),
            t.push(
              new Uint8Array([
                248,
                (n - 1) & 255,
                ((n - 1) >> 8) & 255,
                ((n - 1) >> 16) & 255,
              ])
            ))
          : n <= 4294967296 &&
            ((s += 5),
            t.push(
              new Uint8Array([
                252,
                (n - 1) & 255,
                ((n - 1) >> 8) & 255,
                ((n - 1) >> 16) & 255,
                ((n - 1) >>> 24) & 255,
              ])
            )),
        t.push(e.slice(r, r + n)),
        (s += n),
        (a[0] = 0),
        (a[1] = s & 255),
        (a[2] = (s >> 8) & 255),
        (a[3] = (s >> 16) & 255),
        (r += n);
    }
    return Nr(t);
  }
  function Yi(e, t) {
    var r = new Uint8Array(32),
      n = Ja(r),
      a = 12,
      i = 0;
    switch (((r[0] = 5), e.t)) {
      case "n":
        (r[1] = 2), FE(r, a, e.v), (i |= 1), (a += 16);
        break;
      case "b":
        (r[1] = 6), n.setFloat64(a, e.v ? 1 : 0, !0), (i |= 2), (a += 8);
        break;
      case "s":
        if (t.indexOf(e.v) == -1)
          throw new Error("Value ".concat(e.v, " missing from SST!"));
        (r[1] = 3), n.setUint32(a, t.indexOf(e.v), !0), (i |= 8), (a += 4);
        break;
      default:
        throw "unsupported cell type " + e.t;
    }
    return n.setUint32(8, i, !0), r.slice(0, a);
  }
  function Gi(e, t) {
    var r = new Uint8Array(32),
      n = Ja(r),
      a = 12,
      i = 0;
    switch (((r[0] = 3), e.t)) {
      case "n":
        (r[2] = 2), n.setFloat64(a, e.v, !0), (i |= 32), (a += 8);
        break;
      case "b":
        (r[2] = 6), n.setFloat64(a, e.v ? 1 : 0, !0), (i |= 32), (a += 8);
        break;
      case "s":
        if (t.indexOf(e.v) == -1)
          throw new Error("Value ".concat(e.v, " missing from SST!"));
        (r[2] = 3), n.setUint32(a, t.indexOf(e.v), !0), (i |= 16), (a += 4);
        break;
      default:
        throw "unsupported cell type " + e.t;
    }
    return n.setUint32(4, i, !0), r.slice(0, a);
  }
  function yr(e) {
    var t = Je(e);
    return ta(t[1][0].data);
  }
  function OE(e, t, r) {
    var n, a, i, s;
    if (!((n = e[6]) != null && n[0]) || !((a = e[7]) != null && a[0]))
      throw "Mutation only works on post-BNC storages!";
    var f =
      (((s = (i = e[8]) == null ? void 0 : i[0]) == null ? void 0 : s.data) &&
        Tn(e[8][0].data) > 0) ||
      !1;
    if (f) throw "Math only works with normal offsets";
    for (
      var o = 0,
        l = Ja(e[7][0].data),
        u = 0,
        x = [],
        d = Ja(e[4][0].data),
        _ = 0,
        v = [],
        c = 0;
      c < t.length;
      ++c
    ) {
      if (t[c] == null) {
        l.setUint16(c * 2, 65535, !0), d.setUint16(c * 2, 65535);
        continue;
      }
      l.setUint16(c * 2, u, !0), d.setUint16(c * 2, _, !0);
      var g, L;
      switch (typeof t[c]) {
        case "string":
          (g = Yi({ t: "s", v: t[c] }, r)), (L = Gi({ t: "s", v: t[c] }, r));
          break;
        case "number":
          (g = Yi({ t: "n", v: t[c] }, r)), (L = Gi({ t: "n", v: t[c] }, r));
          break;
        case "boolean":
          (g = Yi({ t: "b", v: t[c] }, r)), (L = Gi({ t: "b", v: t[c] }, r));
          break;
        default:
          throw new Error("Unsupported value " + t[c]);
      }
      x.push(g), (u += g.length), v.push(L), (_ += L.length), ++o;
    }
    for (e[2][0].data = Fe(o); c < e[7][0].data.length / 2; ++c)
      l.setUint16(c * 2, 65535, !0), d.setUint16(c * 2, 65535, !0);
    return (e[6][0].data = Nr(x)), (e[3][0].data = Nr(v)), o;
  }
  function RE(e, t) {
    if (!t || !t.numbers)
      throw new Error("Must pass a `numbers` option -- check the README");
    var r = e.Sheets[e.SheetNames[0]];
    e.SheetNames.length > 1 &&
      console.error("The Numbers writer currently writes only the first table");
    var n = kt(r["!ref"]);
    n.s.r = n.s.c = 0;
    var a = !1;
    n.e.c > 9 && ((a = !0), (n.e.c = 9)),
      n.e.r > 49 && ((a = !0), (n.e.r = 49)),
      a &&
        console.error(
          "The Numbers writer is currently limited to ".concat(Xe(n))
        );
    var i = Za(r, { range: n, header: 1 }),
      s = ["~Sh33tJ5~"];
    i.forEach(function (N) {
      return N.forEach(function (y) {
        typeof y == "string" && s.push(y);
      });
    });
    var f = {},
      o = [],
      l = Ce.read(t.numbers, { type: "base64" });
    l.FileIndex.map(function (N, y) {
      return [N, l.FullPaths[y]];
    }).forEach(function (N) {
      var y = N[0],
        A = N[1];
      if (y.type == 2 && !!y.name.match(/\.iwa/)) {
        var H = y.content,
          oe = Vt(H),
          le = Gt(oe);
        le.forEach(function (te) {
          o.push(te.id),
            (f[te.id] = {
              deps: [],
              location: A,
              type: Tn(te.messages[0].meta[1][0].data),
            });
        });
      }
    }),
      o.sort(function (N, y) {
        return N - y;
      });
    var u = o
      .filter(function (N) {
        return N > 1;
      })
      .map(function (N) {
        return [N, Fe(N)];
      });
    l.FileIndex.map(function (N, y) {
      return [N, l.FullPaths[y]];
    }).forEach(function (N) {
      var y = N[0];
      if ((N[1], !!y.name.match(/\.iwa/))) {
        var A = Gt(Vt(y.content));
        A.forEach(function (H) {
          H.messages.forEach(function (oe) {
            u.forEach(function (le) {
              H.messages.some(function (te) {
                return Tn(te.meta[1][0].data) != 11006 && yE(te.data, le[1]);
              }) && f[le[0]].deps.push(H.id);
            });
          });
        });
      }
    });
    for (
      var x = Ce.find(l, f[1].location), d = Gt(Vt(x.content)), _, v = 0;
      v < d.length;
      ++v
    ) {
      var c = d[v];
      c.id == 1 && (_ = c);
    }
    var g = yr(Je(_.messages[0].data)[1][0].data);
    for (
      x = Ce.find(l, f[g].location), d = Gt(Vt(x.content)), v = 0;
      v < d.length;
      ++v
    )
      (c = d[v]), c.id == g && (_ = c);
    for (
      g = yr(Je(_.messages[0].data)[2][0].data),
        x = Ce.find(l, f[g].location),
        d = Gt(Vt(x.content)),
        v = 0;
      v < d.length;
      ++v
    )
      (c = d[v]), c.id == g && (_ = c);
    for (
      g = yr(Je(_.messages[0].data)[2][0].data),
        x = Ce.find(l, f[g].location),
        d = Gt(Vt(x.content)),
        v = 0;
      v < d.length;
      ++v
    )
      (c = d[v]), c.id == g && (_ = c);
    var L = Je(_.messages[0].data);
    {
      (L[6][0].data = Fe(n.e.r + 1)), (L[7][0].data = Fe(n.e.c + 1));
      var O = yr(L[46][0].data),
        F = Ce.find(l, f[O].location),
        P = Gt(Vt(F.content));
      {
        for (var K = 0; K < P.length && P[K].id != O; ++K);
        if (P[K].id != O) throw "Bad ColumnRowUIDMapArchive";
        var Q = Je(P[K].messages[0].data);
        (Q[1] = []), (Q[2] = []), (Q[3] = []);
        for (var R = 0; R <= n.e.c; ++R) {
          var U = [];
          (U[1] = U[2] = [{ type: 0, data: Fe(R + 420690) }]),
            Q[1].push({ type: 2, data: it(U) }),
            Q[2].push({ type: 0, data: Fe(R) }),
            Q[3].push({ type: 0, data: Fe(R) });
        }
        (Q[4] = []), (Q[5] = []), (Q[6] = []);
        for (var M = 0; M <= n.e.r; ++M)
          (U = []),
            (U[1] = U[2] = [{ type: 0, data: Fe(M + 726270) }]),
            Q[4].push({ type: 2, data: it(U) }),
            Q[5].push({ type: 0, data: Fe(M) }),
            Q[6].push({ type: 0, data: Fe(M) });
        P[K].messages[0].data = it(Q);
      }
      (F.content = on(fn(P))), (F.size = F.content.length), delete L[46];
      var G = Je(L[4][0].data);
      {
        G[7][0].data = Fe(n.e.r + 1);
        var Y = Je(G[1][0].data),
          V = yr(Y[2][0].data);
        (F = Ce.find(l, f[V].location)), (P = Gt(Vt(F.content)));
        {
          if (P[0].id != V) throw "Bad HeaderStorageBucket";
          var ne = Je(P[0].messages[0].data);
          for (M = 0; M < i.length; ++M) {
            var Ae = Je(ne[2][0].data);
            (Ae[1][0].data = Fe(M)),
              (Ae[4][0].data = Fe(i[M].length)),
              (ne[2][M] = { type: ne[2][0].type, data: it(Ae) });
          }
          P[0].messages[0].data = it(ne);
        }
        (F.content = on(fn(P))), (F.size = F.content.length);
        var ce = yr(G[2][0].data);
        (F = Ce.find(l, f[ce].location)), (P = Gt(Vt(F.content)));
        {
          if (P[0].id != ce) throw "Bad HeaderStorageBucket";
          for (ne = Je(P[0].messages[0].data), R = 0; R <= n.e.c; ++R)
            (Ae = Je(ne[2][0].data)),
              (Ae[1][0].data = Fe(R)),
              (Ae[4][0].data = Fe(n.e.r + 1)),
              (ne[2][R] = { type: ne[2][0].type, data: it(Ae) });
          P[0].messages[0].data = it(ne);
        }
        (F.content = on(fn(P))), (F.size = F.content.length);
        var ze = yr(G[4][0].data);
        (function () {
          for (
            var N = Ce.find(l, f[ze].location), y = Gt(Vt(N.content)), A, H = 0;
            H < y.length;
            ++H
          ) {
            var oe = y[H];
            oe.id == ze && (A = oe);
          }
          var le = Je(A.messages[0].data);
          {
            le[3] = [];
            var te = [];
            s.forEach(function (ge, Tt) {
              (te[1] = [{ type: 0, data: Fe(Tt) }]),
                (te[2] = [{ type: 0, data: Fe(1) }]),
                (te[3] = [{ type: 2, data: AE(ge) }]),
                le[3].push({ type: 2, data: it(te) });
            });
          }
          A.messages[0].data = it(le);
          var ee = fn(y),
            Ne = on(ee);
          (N.content = Ne), (N.size = N.content.length);
        })();
        var be = Je(G[3][0].data);
        {
          var De = be[1][0];
          delete be[2];
          var pe = Je(De.data);
          {
            var qe = yr(pe[2][0].data);
            (function () {
              for (
                var N = Ce.find(l, f[qe].location),
                  y = Gt(Vt(N.content)),
                  A,
                  H = 0;
                H < y.length;
                ++H
              ) {
                var oe = y[H];
                oe.id == qe && (A = oe);
              }
              var le = Je(A.messages[0].data);
              {
                delete le[6], delete be[7];
                var te = new Uint8Array(le[5][0].data);
                le[5] = [];
                for (var ee = 0, Ne = 0; Ne <= n.e.r; ++Ne) {
                  var ge = Je(te);
                  (ee += OE(ge, i[Ne], s)),
                    (ge[1][0].data = Fe(Ne)),
                    le[5].push({ data: it(ge), type: 2 });
                }
                (le[1] = [{ type: 0, data: Fe(n.e.c + 1) }]),
                  (le[2] = [{ type: 0, data: Fe(n.e.r + 1) }]),
                  (le[3] = [{ type: 0, data: Fe(ee) }]),
                  (le[4] = [{ type: 0, data: Fe(n.e.r + 1) }]);
              }
              A.messages[0].data = it(le);
              var Tt = fn(y),
                ye = on(Tt);
              (N.content = ye), (N.size = N.content.length);
            })();
          }
          De.data = it(pe);
        }
        G[3][0].data = it(be);
      }
      L[4][0].data = it(G);
    }
    _.messages[0].data = it(L);
    var at = fn(d),
      S = on(at);
    return (x.content = S), (x.size = x.content.length), l;
  }
  function CE(e) {
    return function (r) {
      for (var n = 0; n != e.length; ++n) {
        var a = e[n];
        r[a[0]] === void 0 && (r[a[0]] = a[1]),
          a[2] === "n" && (r[a[0]] = Number(r[a[0]]));
      }
    };
  }
  function Z0(e) {
    CE([
      ["cellDates", !1],
      ["bookSST", !1],
      ["bookType", "xlsx"],
      ["compression", !1],
      ["WTF", !1],
    ])(e);
  }
  function IE(e, t) {
    return t.bookType == "ods"
      ? $l(e, t)
      : t.bookType == "numbers"
      ? RE(e, t)
      : t.bookType == "xlsb"
      ? DE(e, t)
      : NE(e, t);
  }
  function DE(e, t) {
    (dn = 1024),
      e && !e.SSF && (e.SSF = Ot(Ve)),
      e &&
        e.SSF &&
        (xi(),
        _i(e.SSF),
        (t.revssf = mi(e.SSF)),
        (t.revssf[e.SSF[65535]] = 0),
        (t.ssf = e.SSF)),
      (t.rels = {}),
      (t.wbrels = {}),
      (t.Strings = []),
      (t.Strings.Count = 0),
      (t.Strings.Unique = 0),
      jn
        ? (t.revStrings = new Map())
        : ((t.revStrings = {}),
          (t.revStrings.foo = []),
          delete t.revStrings.foo);
    var r = t.bookType == "xlsb" ? "bin" : "xml",
      n = Ll.indexOf(t.bookType) > -1,
      a = rl();
    Z0((t = t || {}));
    var i = M0(),
      s = "",
      f = 0;
    if (
      ((t.cellXfs = []),
      kr(t.cellXfs, {}, { revssf: { General: 0 } }),
      e.Props || (e.Props = {}),
      (s = "docProps/core.xml"),
      xe(i, s, sl(e.Props, t)),
      a.coreprops.push(s),
      Le(t.rels, 2, s, Te.CORE_PROPS),
      (s = "docProps/app.xml"),
      !(e.Props && e.Props.SheetNames))
    )
      if (!e.Workbook || !e.Workbook.Sheets) e.Props.SheetNames = e.SheetNames;
      else {
        for (var o = [], l = 0; l < e.SheetNames.length; ++l)
          (e.Workbook.Sheets[l] || {}).Hidden != 2 && o.push(e.SheetNames[l]);
        e.Props.SheetNames = o;
      }
    for (
      e.Props.Worksheets = e.Props.SheetNames.length,
        xe(i, s, ol(e.Props)),
        a.extprops.push(s),
        Le(t.rels, 3, s, Te.EXT_PROPS),
        e.Custprops !== e.Props &&
          ct(e.Custprops || {}).length > 0 &&
          ((s = "docProps/custom.xml"),
          xe(i, s, ll(e.Custprops)),
          a.custprops.push(s),
          Le(t.rels, 4, s, Te.CUST_PROPS)),
        f = 1;
      f <= e.SheetNames.length;
      ++f
    ) {
      var u = { "!id": {} },
        x = e.Sheets[e.SheetNames[f - 1]],
        d = (x || {})["!type"] || "sheet";
      switch (d) {
        case "chart":
        default:
          (s = "xl/worksheets/sheet" + f + "." + r),
            xe(i, s, MT(f - 1, s, t, e, u)),
            a.sheets.push(s),
            Le(t.wbrels, -1, "worksheets/sheet" + f + "." + r, Te.WS[0]);
      }
      if (x) {
        var _ = x["!comments"],
          v = !1,
          c = "";
        _ &&
          _.length > 0 &&
          ((c = "xl/comments" + f + "." + r),
          xe(i, c, bT(_, c)),
          a.comments.push(c),
          Le(u, -1, "../comments" + f + "." + r, Te.CMNT),
          (v = !0)),
          x["!legacy"] &&
            v &&
            xe(i, "xl/drawings/vmlDrawing" + f + ".vml", yl(f, x["!comments"])),
          delete x["!comments"],
          delete x["!legacy"];
      }
      u["!id"].rId1 && xe(i, al(s), vn(u));
    }
    return (
      t.Strings != null &&
        t.Strings.length > 0 &&
        ((s = "xl/sharedStrings." + r),
        xe(i, s, BT(t.Strings, s, t)),
        a.strs.push(s),
        Le(t.wbrels, -1, "sharedStrings." + r, Te.SST)),
      (s = "xl/workbook." + r),
      xe(i, s, kT(e, s)),
      a.workbooks.push(s),
      Le(t.rels, 1, s, Te.WB),
      (s = "xl/theme/theme1.xml"),
      xe(i, s, Sl(e.Themes, t)),
      a.themes.push(s),
      Le(t.wbrels, -1, "theme/theme1.xml", Te.THEME),
      (s = "xl/styles." + r),
      xe(i, s, PT(e, s, t)),
      a.styles.push(s),
      Le(t.wbrels, -1, "styles." + r, Te.STY),
      e.vbaraw &&
        n &&
        ((s = "xl/vbaProject.bin"),
        xe(i, s, e.vbaraw),
        a.vba.push(s),
        Le(t.wbrels, -1, "vbaProject.bin", Te.VBA)),
      (s = "xl/metadata." + r),
      xe(i, s, UT(s)),
      a.metadata.push(s),
      Le(t.wbrels, -1, "metadata." + r, Te.XLMETA),
      xe(i, "[Content_Types].xml", nl(a, t)),
      xe(i, "_rels/.rels", vn(t.rels)),
      xe(i, "xl/_rels/workbook." + r + ".rels", vn(t.wbrels)),
      delete t.revssf,
      delete t.ssf,
      i
    );
  }
  function NE(e, t) {
    (dn = 1024),
      e && !e.SSF && (e.SSF = Ot(Ve)),
      e &&
        e.SSF &&
        (xi(),
        _i(e.SSF),
        (t.revssf = mi(e.SSF)),
        (t.revssf[e.SSF[65535]] = 0),
        (t.ssf = e.SSF)),
      (t.rels = {}),
      (t.wbrels = {}),
      (t.Strings = []),
      (t.Strings.Count = 0),
      (t.Strings.Unique = 0),
      jn
        ? (t.revStrings = new Map())
        : ((t.revStrings = {}),
          (t.revStrings.foo = []),
          delete t.revStrings.foo);
    var r = "xml",
      n = Ll.indexOf(t.bookType) > -1,
      a = rl();
    Z0((t = t || {}));
    var i = M0(),
      s = "",
      f = 0;
    if (
      ((t.cellXfs = []),
      kr(t.cellXfs, {}, { revssf: { General: 0 } }),
      e.Props || (e.Props = {}),
      (s = "docProps/core.xml"),
      xe(i, s, sl(e.Props, t)),
      a.coreprops.push(s),
      Le(t.rels, 2, s, Te.CORE_PROPS),
      (s = "docProps/app.xml"),
      !(e.Props && e.Props.SheetNames))
    )
      if (!e.Workbook || !e.Workbook.Sheets) e.Props.SheetNames = e.SheetNames;
      else {
        for (var o = [], l = 0; l < e.SheetNames.length; ++l)
          (e.Workbook.Sheets[l] || {}).Hidden != 2 && o.push(e.SheetNames[l]);
        e.Props.SheetNames = o;
      }
    (e.Props.Worksheets = e.Props.SheetNames.length),
      xe(i, s, ol(e.Props)),
      a.extprops.push(s),
      Le(t.rels, 3, s, Te.EXT_PROPS),
      e.Custprops !== e.Props &&
        ct(e.Custprops || {}).length > 0 &&
        ((s = "docProps/custom.xml"),
        xe(i, s, ll(e.Custprops)),
        a.custprops.push(s),
        Le(t.rels, 4, s, Te.CUST_PROPS));
    var u = ["SheetJ5"];
    for (t.tcid = 0, f = 1; f <= e.SheetNames.length; ++f) {
      var x = { "!id": {} },
        d = e.Sheets[e.SheetNames[f - 1]],
        _ = (d || {})["!type"] || "sheet";
      switch (_) {
        case "chart":
        default:
          (s = "xl/worksheets/sheet" + f + "." + r),
            xe(i, s, Pl(f - 1, t, e, x)),
            a.sheets.push(s),
            Le(t.wbrels, -1, "worksheets/sheet" + f + "." + r, Te.WS[0]);
      }
      if (d) {
        var v = d["!comments"],
          c = !1,
          g = "";
        if (v && v.length > 0) {
          var L = !1;
          v.forEach(function (O) {
            O[1].forEach(function (F) {
              F.T == !0 && (L = !0);
            });
          }),
            L &&
              ((g = "xl/threadedComments/threadedComment" + f + "." + r),
              xe(i, g, up(v, u, t)),
              a.threadedcomments.push(g),
              Le(
                x,
                -1,
                "../threadedComments/threadedComment" + f + "." + r,
                Te.TCMNT
              )),
            (g = "xl/comments" + f + "." + r),
            xe(i, g, Fl(v)),
            a.comments.push(g),
            Le(x, -1, "../comments" + f + "." + r, Te.CMNT),
            (c = !0);
        }
        d["!legacy"] &&
          c &&
          xe(i, "xl/drawings/vmlDrawing" + f + ".vml", yl(f, d["!comments"])),
          delete d["!comments"],
          delete d["!legacy"];
      }
      x["!id"].rId1 && xe(i, al(s), vn(x));
    }
    return (
      t.Strings != null &&
        t.Strings.length > 0 &&
        ((s = "xl/sharedStrings." + r),
        xe(i, s, pl(t.Strings, t)),
        a.strs.push(s),
        Le(t.wbrels, -1, "sharedStrings." + r, Te.SST)),
      (s = "xl/workbook." + r),
      xe(i, s, Ul(e)),
      a.workbooks.push(s),
      Le(t.rels, 1, s, Te.WB),
      (s = "xl/theme/theme1.xml"),
      xe(i, s, Sl(e.Themes, t)),
      a.themes.push(s),
      Le(t.wbrels, -1, "theme/theme1.xml", Te.THEME),
      (s = "xl/styles." + r),
      xe(i, s, El(e, t)),
      a.styles.push(s),
      Le(t.wbrels, -1, "styles." + r, Te.STY),
      e.vbaraw &&
        n &&
        ((s = "xl/vbaProject.bin"),
        xe(i, s, e.vbaraw),
        a.vba.push(s),
        Le(t.wbrels, -1, "vbaProject.bin", Te.VBA)),
      (s = "xl/metadata." + r),
      xe(i, s, Al()),
      a.metadata.push(s),
      Le(t.wbrels, -1, "metadata." + r, Te.XLMETA),
      u.length > 1 &&
        ((s = "xl/persons/person.xml"),
        xe(i, s, cp(u)),
        a.people.push(s),
        Le(t.wbrels, -1, "persons/person.xml", Te.PEOPLE)),
      xe(i, "[Content_Types].xml", nl(a, t)),
      xe(i, "_rels/.rels", vn(t.rels)),
      xe(i, "xl/_rels/workbook." + r + ".rels", vn(t.wbrels)),
      delete t.revssf,
      delete t.ssf,
      i
    );
  }
  function kE(e, t) {
    var r = "";
    switch ((t || {}).type || "base64") {
      case "buffer":
        return [e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7]];
      case "base64":
        r = Tr(e.slice(0, 12));
        break;
      case "binary":
        r = e;
        break;
      case "array":
        return [e[0], e[1], e[2], e[3], e[4], e[5], e[6], e[7]];
      default:
        throw new Error("Unrecognized type " + ((t && t.type) || "undefined"));
    }
    return [
      r.charCodeAt(0),
      r.charCodeAt(1),
      r.charCodeAt(2),
      r.charCodeAt(3),
      r.charCodeAt(4),
      r.charCodeAt(5),
      r.charCodeAt(6),
      r.charCodeAt(7),
    ];
  }
  function jl(e, t) {
    switch (t.type) {
      case "base64":
      case "binary":
        break;
      case "buffer":
      case "array":
        t.type = "";
        break;
      case "file":
        return oa(t.file, Ce.write(e, { type: Se ? "buffer" : "" }));
      case "string":
        throw new Error(
          "'string' output type invalid for '" + t.bookType + "' files"
        );
      default:
        throw new Error("Unrecognized type " + t.type);
    }
    return Ce.write(e, t);
  }
  function ME(e, t) {
    var r = Ot(t || {}),
      n = IE(e, r);
    return PE(n, r);
  }
  function PE(e, t) {
    var r = {},
      n = Se
        ? "nodebuffer"
        : typeof Uint8Array != "undefined"
        ? "array"
        : "string";
    if ((t.compression && (r.compression = "DEFLATE"), t.password)) r.type = n;
    else
      switch (t.type) {
        case "base64":
          r.type = "base64";
          break;
        case "binary":
          r.type = "string";
          break;
        case "string":
          throw new Error(
            "'string' output type invalid for '" + t.bookType + "' files"
          );
        case "buffer":
        case "file":
          r.type = n;
          break;
        default:
          throw new Error("Unrecognized type " + t.type);
      }
    var a = e.FullPaths
      ? Ce.write(e, {
          fileType: "zip",
          type: { nodebuffer: "buffer", string: "binary" }[r.type] || r.type,
          compression: !!t.compression,
        })
      : e.generate(r);
    if (typeof Deno != "undefined" && typeof a == "string") {
      if (t.type == "binary" || t.type == "base64") return a;
      a = new Uint8Array(di(a));
    }
    return t.password && typeof encrypt_agile != "undefined"
      ? jl(encrypt_agile(a, t.password), t)
      : t.type === "file"
      ? oa(t.file, a)
      : t.type == "string"
      ? Yn(a)
      : a;
  }
  function BE(e, t) {
    var r = t || {},
      n = QT(e, r);
    return jl(n, r);
  }
  function tr(e, t, r) {
    r || (r = "");
    var n = r + e;
    switch (t.type) {
      case "base64":
        return qn(_r(n));
      case "binary":
        return _r(n);
      case "string":
        return e;
      case "file":
        return oa(t.file, n, "utf8");
      case "buffer":
        return Se
          ? Ar(n, "utf8")
          : typeof TextEncoder != "undefined"
          ? new TextEncoder().encode(n)
          : tr(n, { type: "binary" })
              .split("")
              .map(function (a) {
                return a.charCodeAt(0);
              });
    }
    throw new Error("Unrecognized type " + t.type);
  }
  function bE(e, t) {
    switch (t.type) {
      case "base64":
        return qn(e);
      case "binary":
        return e;
      case "string":
        return e;
      case "file":
        return oa(t.file, e, "binary");
      case "buffer":
        return Se
          ? Ar(e, "binary")
          : e.split("").map(function (r) {
              return r.charCodeAt(0);
            });
    }
    throw new Error("Unrecognized type " + t.type);
  }
  function Fa(e, t) {
    switch (t.type) {
      case "string":
      case "base64":
      case "binary":
        for (var r = "", n = 0; n < e.length; ++n)
          r += String.fromCharCode(e[n]);
        return t.type == "base64" ? qn(r) : t.type == "string" ? Yn(r) : r;
      case "file":
        return oa(t.file, e);
      case "buffer":
        return e;
      default:
        throw new Error("Unrecognized type " + t.type);
    }
  }
  function Xl(e, t) {
    cx(), ST(e);
    var r = Ot(t || {});
    if (
      (r.cellStyles && ((r.cellNF = !0), (r.sheetStubs = !0)),
      r.type == "array")
    ) {
      r.type = "binary";
      var n = Xl(e, r);
      return (r.type = "array"), di(n);
    }
    var a = 0;
    if (
      r.sheet &&
      (typeof r.sheet == "number"
        ? (a = r.sheet)
        : (a = e.SheetNames.indexOf(r.sheet)),
      !e.SheetNames[a])
    )
      throw new Error("Sheet not found: " + r.sheet + " : " + typeof r.sheet);
    switch (r.bookType || "xlsb") {
      case "xml":
      case "xlml":
        return tr(ZT(e, r), r);
      case "slk":
      case "sylk":
        return tr(T2.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
      case "htm":
      case "html":
        return tr(Yl(e.Sheets[e.SheetNames[a]], r), r);
      case "txt":
        return bE(Kl(e.Sheets[e.SheetNames[a]], r), r);
      case "csv":
        return tr(q0(e.Sheets[e.SheetNames[a]], r), r, "\uFEFF");
      case "dif":
        return tr(E2.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
      case "dbf":
        return Fa(g2.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
      case "prn":
        return tr(w2.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
      case "rtf":
        return tr(R2.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
      case "eth":
        return tr(ml.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
      case "fods":
        return tr($l(e, r), r);
      case "wk1":
        return Fa(af.sheet_to_wk1(e.Sheets[e.SheetNames[a]], r), r);
      case "wk3":
        return Fa(af.book_to_wk3(e, r), r);
      case "biff2":
        r.biff || (r.biff = 2);
      case "biff3":
        r.biff || (r.biff = 3);
      case "biff4":
        return r.biff || (r.biff = 4), Fa(Hl(e, r), r);
      case "biff5":
        r.biff || (r.biff = 5);
      case "biff8":
      case "xla":
      case "xls":
        return r.biff || (r.biff = 8), BE(e, r);
      case "xlsx":
      case "xlsm":
      case "xlam":
      case "xlsb":
      case "numbers":
      case "ods":
        return ME(e, r);
      default:
        throw new Error("Unrecognized bookType |" + r.bookType + "|");
    }
  }
  function UE(e) {
    if (!e.bookType) {
      var t = {
          xls: "biff8",
          htm: "html",
          slk: "sylk",
          socialcalc: "eth",
          Sh33tJS: "WTF",
        },
        r = e.file.slice(e.file.lastIndexOf(".")).toLowerCase();
      r.match(/^\.[a-z]+$/) && (e.bookType = r.slice(1)),
        (e.bookType = t[e.bookType] || e.bookType);
    }
  }
  function WE(e, t, r) {
    var n = r || {};
    return (n.type = "file"), (n.file = t), UE(n), Xl(e, n);
  }
  function HE(e, t, r, n, a, i, s, f) {
    var o = ut(r),
      l = f.defval,
      u = f.raw || !Object.prototype.hasOwnProperty.call(f, "raw"),
      x = !0,
      d = a === 1 ? [] : {};
    if (a !== 1)
      if (Object.defineProperty)
        try {
          Object.defineProperty(d, "__rowNum__", { value: r, enumerable: !1 });
        } catch {
          d.__rowNum__ = r;
        }
      else d.__rowNum__ = r;
    if (!s || e[r])
      for (var _ = t.s.c; _ <= t.e.c; ++_) {
        var v = s ? e[r][_] : e[n[_] + o];
        if (v === void 0 || v.t === void 0) {
          if (l === void 0) continue;
          i[_] != null && (d[i[_]] = l);
          continue;
        }
        var c = v.v;
        switch (v.t) {
          case "z":
            if (c == null) break;
            continue;
          case "e":
            c = c == 0 ? null : void 0;
            break;
          case "s":
          case "d":
          case "b":
          case "n":
            break;
          default:
            throw new Error("unrecognized type " + v.t);
        }
        if (i[_] != null) {
          if (c == null)
            if (v.t == "e" && c === null) d[i[_]] = null;
            else if (l !== void 0) d[i[_]] = l;
            else if (u && c === null) d[i[_]] = null;
            else continue;
          else
            d[i[_]] =
              u && (v.t !== "n" || (v.t === "n" && f.rawNumbers !== !1))
                ? c
                : Er(v, c, f);
          c != null && (x = !1);
        }
      }
    return { row: d, isempty: x };
  }
  function Za(e, t) {
    if (e == null || e["!ref"] == null) return [];
    var r = { t: "n", v: 0 },
      n = 0,
      a = 1,
      i = [],
      s = 0,
      f = "",
      o = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } },
      l = t || {},
      u = l.range != null ? l.range : e["!ref"];
    switch (
      (l.header === 1
        ? (n = 1)
        : l.header === "A"
        ? (n = 2)
        : Array.isArray(l.header)
        ? (n = 3)
        : l.header == null && (n = 0),
      typeof u)
    ) {
      case "string":
        o = Pe(u);
        break;
      case "number":
        (o = Pe(e["!ref"])), (o.s.r = u);
        break;
      default:
        o = u;
    }
    n > 0 && (a = 0);
    var x = ut(o.s.r),
      d = [],
      _ = [],
      v = 0,
      c = 0,
      g = Array.isArray(e),
      L = o.s.r,
      O = 0,
      F = {};
    g && !e[L] && (e[L] = []);
    var P = (l.skipHidden && e["!cols"]) || [],
      K = (l.skipHidden && e["!rows"]) || [];
    for (O = o.s.c; O <= o.e.c; ++O)
      if (!(P[O] || {}).hidden)
        switch (((d[O] = mt(O)), (r = g ? e[L][O] : e[d[O] + x]), n)) {
          case 1:
            i[O] = O - o.s.c;
            break;
          case 2:
            i[O] = d[O];
            break;
          case 3:
            i[O] = l.header[O - o.s.c];
            break;
          default:
            if (
              (r == null && (r = { w: "__EMPTY", t: "s" }),
              (f = s = Er(r, null, l)),
              (c = F[s] || 0),
              !c)
            )
              F[s] = 1;
            else {
              do f = s + "_" + c++;
              while (F[f]);
              (F[s] = c), (F[f] = 1);
            }
            i[O] = f;
        }
    for (L = o.s.r + a; L <= o.e.r; ++L)
      if (!(K[L] || {}).hidden) {
        var Q = HE(e, o, L, d, n, i, g, l);
        (Q.isempty === !1 || (n === 1 ? l.blankrows !== !1 : !!l.blankrows)) &&
          (_[v++] = Q.row);
      }
    return (_.length = v), _;
  }
  var df = /"/g;
  function YE(e, t, r, n, a, i, s, f) {
    for (var o = !0, l = [], u = "", x = ut(r), d = t.s.c; d <= t.e.c; ++d)
      if (!!n[d]) {
        var _ = f.dense ? (e[r] || [])[d] : e[n[d] + x];
        if (_ == null) u = "";
        else if (_.v != null) {
          (o = !1),
            (u = "" + (f.rawNumbers && _.t == "n" ? _.v : Er(_, null, f)));
          for (var v = 0, c = 0; v !== u.length; ++v)
            if (
              (c = u.charCodeAt(v)) === a ||
              c === i ||
              c === 34 ||
              f.forceQuotes
            ) {
              u = '"' + u.replace(df, '""') + '"';
              break;
            }
          u == "ID" && (u = '"ID"');
        } else
          _.f != null && !_.F
            ? ((o = !1),
              (u = "=" + _.f),
              u.indexOf(",") >= 0 && (u = '"' + u.replace(df, '""') + '"'))
            : (u = "");
        l.push(u);
      }
    return f.blankrows === !1 && o ? null : l.join(s);
  }
  function q0(e, t) {
    var r = [],
      n = t == null ? {} : t;
    if (e == null || e["!ref"] == null) return "";
    var a = Pe(e["!ref"]),
      i = n.FS !== void 0 ? n.FS : ",",
      s = i.charCodeAt(0),
      f =
        n.RS !== void 0
          ? n.RS
          : `
`,
      o = f.charCodeAt(0),
      l = new RegExp((i == "|" ? "\\|" : i) + "+$"),
      u = "",
      x = [];
    n.dense = Array.isArray(e);
    for (
      var d = (n.skipHidden && e["!cols"]) || [],
        _ = (n.skipHidden && e["!rows"]) || [],
        v = a.s.c;
      v <= a.e.c;
      ++v
    )
      (d[v] || {}).hidden || (x[v] = mt(v));
    for (var c = 0, g = a.s.r; g <= a.e.r; ++g)
      (_[g] || {}).hidden ||
        ((u = YE(e, a, g, x, s, o, i, n)),
        u != null &&
          (n.strip && (u = u.replace(l, "")),
          (u || n.blankrows !== !1) && r.push((c++ ? f : "") + u)));
    return delete n.dense, r.join("");
  }
  function Kl(e, t) {
    t || (t = {}),
      (t.FS = "	"),
      (t.RS = `
`);
    var r = q0(e, t);
    return r;
  }
  function GE(e) {
    var t = "",
      r,
      n = "";
    if (e == null || e["!ref"] == null) return [];
    var a = Pe(e["!ref"]),
      i = "",
      s = [],
      f,
      o = [],
      l = Array.isArray(e);
    for (f = a.s.c; f <= a.e.c; ++f) s[f] = mt(f);
    for (var u = a.s.r; u <= a.e.r; ++u)
      for (i = ut(u), f = a.s.c; f <= a.e.c; ++f)
        if (
          ((t = s[f] + i),
          (r = l ? (e[u] || [])[f] : e[t]),
          (n = ""),
          r !== void 0)
        ) {
          if (r.F != null) {
            if (((t = r.F), !r.f)) continue;
            (n = r.f), t.indexOf(":") == -1 && (t = t + ":" + t);
          }
          if (r.f != null) n = r.f;
          else {
            if (r.t == "z") continue;
            if (r.t == "n" && r.v != null) n = "" + r.v;
            else if (r.t == "b") n = r.v ? "TRUE" : "FALSE";
            else if (r.w !== void 0) n = "'" + r.w;
            else {
              if (r.v === void 0) continue;
              r.t == "s" ? (n = "'" + r.v) : (n = "" + r.v);
            }
          }
          o[o.length] = t + "=" + n;
        }
    return o;
  }
  function zl(e, t, r) {
    var n = r || {},
      a = +!n.skipHeader,
      i = e || {},
      s = 0,
      f = 0;
    if (i && n.origin != null)
      if (typeof n.origin == "number") s = n.origin;
      else {
        var o = typeof n.origin == "string" ? rt(n.origin) : n.origin;
        (s = o.r), (f = o.c);
      }
    var l,
      u = { s: { c: 0, r: 0 }, e: { c: f, r: s + t.length - 1 + a } };
    if (i["!ref"]) {
      var x = Pe(i["!ref"]);
      (u.e.c = Math.max(u.e.c, x.e.c)),
        (u.e.r = Math.max(u.e.r, x.e.r)),
        s == -1 && ((s = x.e.r + 1), (u.e.r = s + t.length - 1 + a));
    } else s == -1 && ((s = 0), (u.e.r = t.length - 1 + a));
    var d = n.header || [],
      _ = 0;
    t.forEach(function (c, g) {
      ct(c).forEach(function (L) {
        (_ = d.indexOf(L)) == -1 && (d[(_ = d.length)] = L);
        var O = c[L],
          F = "z",
          P = "",
          K = Re({ c: f + _, r: s + g + a });
        (l = ra(i, K)),
          O && typeof O == "object" && !(O instanceof Date)
            ? (i[K] = O)
            : (typeof O == "number"
                ? (F = "n")
                : typeof O == "boolean"
                ? (F = "b")
                : typeof O == "string"
                ? (F = "s")
                : O instanceof Date
                ? ((F = "d"),
                  n.cellDates || ((F = "n"), (O = Lt(O))),
                  (P = n.dateNF || Ve[14]))
                : O === null && n.nullError && ((F = "e"), (O = 0)),
              l
                ? ((l.t = F), (l.v = O), delete l.w, delete l.R, P && (l.z = P))
                : (i[K] = l = { t: F, v: O }),
              P && (l.z = P));
      });
    }),
      (u.e.c = Math.max(u.e.c, f + d.length - 1));
    var v = ut(s);
    if (a)
      for (_ = 0; _ < d.length; ++_) i[mt(_ + f) + v] = { t: "s", v: d[_] };
    return (i["!ref"] = Xe(u)), i;
  }
  function VE(e, t) {
    return zl(null, e, t);
  }
  function ra(e, t, r) {
    if (typeof t == "string") {
      if (Array.isArray(e)) {
        var n = rt(t);
        return (
          e[n.r] || (e[n.r] = []), e[n.r][n.c] || (e[n.r][n.c] = { t: "z" })
        );
      }
      return e[t] || (e[t] = { t: "z" });
    }
    return typeof t != "number" ? ra(e, Re(t)) : ra(e, Re({ r: t, c: r || 0 }));
  }
  function $E(e, t) {
    if (typeof t == "number") {
      if (t >= 0 && e.SheetNames.length > t) return t;
      throw new Error("Cannot find sheet # " + t);
    } else if (typeof t == "string") {
      var r = e.SheetNames.indexOf(t);
      if (r > -1) return r;
      throw new Error("Cannot find sheet name |" + t + "|");
    } else throw new Error("Cannot find sheet |" + t + "|");
  }
  function jE() {
    return { SheetNames: [], Sheets: {} };
  }
  function XE(e, t, r, n) {
    var a = 1;
    if (!r)
      for (
        ;
        a <= 65535 && e.SheetNames.indexOf((r = "Sheet" + a)) != -1;
        ++a, r = void 0
      );
    if (!r || e.SheetNames.length >= 65535)
      throw new Error("Too many worksheets");
    if (n && e.SheetNames.indexOf(r) >= 0) {
      var i = r.match(/(^.*?)(\d+)$/);
      a = (i && +i[2]) || 0;
      var s = (i && i[1]) || r;
      for (++a; a <= 65535 && e.SheetNames.indexOf((r = s + a)) != -1; ++a);
    }
    if ((bl(r), e.SheetNames.indexOf(r) >= 0))
      throw new Error("Worksheet with name |" + r + "| already exists!");
    return e.SheetNames.push(r), (e.Sheets[r] = t), r;
  }
  function KE(e, t, r) {
    e.Workbook || (e.Workbook = {}),
      e.Workbook.Sheets || (e.Workbook.Sheets = []);
    var n = $E(e, t);
    switch ((e.Workbook.Sheets[n] || (e.Workbook.Sheets[n] = {}), r)) {
      case 0:
      case 1:
      case 2:
        break;
      default:
        throw new Error("Bad sheet visibility setting " + r);
    }
    e.Workbook.Sheets[n].Hidden = r;
  }
  function zE(e, t) {
    return (e.z = t), e;
  }
  function Jl(e, t, r) {
    return t ? ((e.l = { Target: t }), r && (e.l.Tooltip = r)) : delete e.l, e;
  }
  function JE(e, t, r) {
    return Jl(e, "#" + t, r);
  }
  function ZE(e, t, r) {
    e.c || (e.c = []), e.c.push({ t, a: r || "SheetJS" });
  }
  function qE(e, t, r, n) {
    for (
      var a = typeof t != "string" ? t : Pe(t),
        i = typeof t == "string" ? t : Xe(t),
        s = a.s.r;
      s <= a.e.r;
      ++s
    )
      for (var f = a.s.c; f <= a.e.c; ++f) {
        var o = ra(e, s, f);
        (o.t = "n"),
          (o.F = i),
          delete o.v,
          s == a.s.r && f == a.s.c && ((o.f = r), n && (o.D = !0));
      }
    return e;
  }
  var Vi = {
    encode_col: mt,
    encode_row: ut,
    encode_cell: Re,
    encode_range: Xe,
    decode_col: H0,
    decode_row: W0,
    split_cell: hm,
    decode_cell: rt,
    decode_range: kt,
    format_cell: Er,
    sheet_add_aoa: Jo,
    sheet_add_json: zl,
    sheet_add_dom: Gl,
    aoa_to_sheet: Fn,
    json_to_sheet: VE,
    table_to_sheet: Vl,
    table_to_book: EE,
    sheet_to_csv: q0,
    sheet_to_txt: Kl,
    sheet_to_json: Za,
    sheet_to_html: Yl,
    sheet_to_formulae: GE,
    sheet_to_row_object_array: Za,
    sheet_get_cell: ra,
    book_new: jE,
    book_append_sheet: XE,
    book_set_sheet_visibility: KE,
    cell_set_number_format: zE,
    cell_set_hyperlink: Jl,
    cell_set_internal_link: JE,
    cell_add_comment: ZE,
    sheet_set_array_formula: qE,
    consts: { SHEET_VISIBLE: 0, SHEET_HIDDEN: 1, SHEET_VERY_HIDDEN: 2 },
  };
  function QE(e, { data: t }) {
    var r = Vi.json_to_sheet(t),
      n = Vi.book_new();
    Vi.book_append_sheet(n, r, "Sheet1"), WE(n, e);
  }
  const { getSetting: ew } = qa();
  function tw() {
    async function e(t = "", r = []) {
      r = _e(r);
      const { export_type: n } = await ew(),
        a = ox(r);
      switch (n) {
        case "csv":
          ms(sx(a), `${t}.csv`, "text/csv");
          break;
        case "json":
          ms(JSON.stringify(a.data), `${t}.json`, "text/json");
          break;
        case "excel":
          QE(`${t}.xlsx`, a);
          break;
      }
    }
    return { download: e };
  }
  const rw = {
      class: "flex flex-col items-center justify-center w-screen h-screen",
    },
    nw = { class: "absolute z-0 inset-0 overflow-hidden" },
    aw = ["src"],
    iw = ke(
      "div",
      {
        class: "absolute z-1 inset-0",
        style: {
          background: "rgba(135, 118, 243, 0.46)",
          "background-blend-mode": "darken",
          "backdrop-filter": "blur(12px)",
        },
      },
      null,
      -1
    ),
    sw = { class: "flex flex-col items-center absolute z-3" },
    fw = { class: "max-w-480px" },
    ow = { class: "w-500px shadow-md rounded-md overflow-hidden", style: {} },
    lw = { class: "bg-white p-20px grid grid-cols-1 gap-10px" },
    uw = { class: "flex gap-10px" },
    cw = { class: "flex-shrink-0" },
    hw = ["src"],
    dw = { class: "flex-auto w-full overflow-hidden" },
    _w = { class: "flex gap-10px items-baseline" },
    xw = ["href"],
    mw = { key: 1, class: "font-semibold flex-shrink-0" },
    pw = {
      key: 2,
      class:
        "w-full text-gray-500 font-semibold leading-tight overflow-hidden whitespace-nowrap text-ellipsis",
    },
    vw = { key: 0 },
    gw = { class: "font-semibold" },
    Tw = { class: "flex items-center gap-10px" },
    Ew = { class: "flex items-center justify-center" },
    ww = { class: "anticon" },
    Sw = { key: 0, class: "flex flex-col items-center justify-center" },
    Aw = ["src"],
    yw = { class: "mt-3 font-semibold" },
    Fw = { class: "text-gray-300/50 my-15px text-shadow-sm" },
    Lw = ke("b", null, "Unlimited", -1),
    Ow = _f({
      __name: "Index",
      setup(e) {
        const {
            getSetting: t,
            onSettingChanged: r,
            removeSettingEvent: n,
          } = qa(),
          a = Eu(),
          { loadErrorMsg: i, ready: s, prepare: f, loadParams: o } = a_(),
          { id: l, kind: u, kind_str: x, shortcode: d, media: _ } = s0(),
          {
            fetchErrorMsg: v,
            result: c,
            start: g,
            pause: L,
            resume: O,
            status: F,
          } = n_(),
          { download: P } = tw();
        let K = ft("csv");
        const { isPro: Q, login: R } = wu();
        Oi(F, async (De) => {
          if (De != yt.finished) return;
          const { auto_download: pe } = await t();
          !pe || (await R(), Q.value && V());
        });
        let U = ft(0);
        Oi(c.list, async (De, pe) => {
          const qe = De.length;
          if (qe < us || qe <= pe.length) return;
          const { auto_download: at, auto_split_download: S } = await t();
          if (!at || !S || (await R(), !Q.value)) return;
          let N = parseInt(qe / us);
          N > U.value && ((U.value = N), V());
        });
        const M = ft(!1);
        Oi(v, (De) => (M.value = !!De));
        const G = Su(() =>
          parseInt((c.list.value.length / c.count.value) * 100)
        );
        let Y = ft(!1);
        async function V() {
          if ((await R(), c.list.value.length > ma && !Q.value)) {
            Y.value = !0;
            return;
          }
          ce(c.list.value);
        }
        function ne() {
          Y.value = !1;
          const { emit: De } = i0();
          De("popup", { name: "Pro" });
        }
        function Ae() {
          ce(c.list.value.slice(0, ma));
        }
        function ce(De = []) {
          const pe = `IGPOSTS_${x.value}_${d.value}_${De.length}`;
          P(pe, De);
        }
        let { boot: ze } = Zu();
        function be({ data: De }) {
          K.value = De.export_type;
        }
        return (
          Au(async () => {
            const De = await t();
            if (((K.value = De.export_type), r(be), !(await ze()))) {
              i.value = "Please login Instagram first.";
              return;
            }
            o(),
              $i(async () => {
                await f(), s.value && g(_e(l));
              });
          }),
          xf(() => {
            n(be);
          }),
          (De, pe) => {
            const qe = Ur("a-alert"),
              at = Lu,
              S = Ur("a-progress"),
              N = Ju,
              y = $u,
              A = Wu,
              H = Ur("a-button"),
              oe = Ur("a-spin"),
              le = Ur("a-modal");
            return (
              et(),
              dt(
                ln,
                null,
                [
                  ke("div", rw, [
                    ke("div", nw, [
                      ke(
                        "img",
                        {
                          src: _e(_).img,
                          class: "absolute z-0 inset-0 object-cover w-full",
                        },
                        null,
                        8,
                        aw
                      ),
                    ]),
                    iw,
                    ke("div", sw, [
                      ke("div", fw, [
                        M.value
                          ? (et(),
                            ls(
                              qe,
                              {
                                key: 0,
                                message: _e(v),
                                type: "warning",
                                "show-icon": "",
                                banner: "",
                                closable: "",
                                onClose:
                                  pe[0] || (pe[0] = (te) => (M.value = !1)),
                              },
                              null,
                              8,
                              ["message"]
                            ))
                          : Dn("", !0),
                      ]),
                      ke("div", ow, [
                        _t(at, { mode: "popup" }),
                        ke("div", lw, [
                          _e(s)
                            ? (et(),
                              dt(
                                ln,
                                { key: 0 },
                                [
                                  ke("div", uw, [
                                    ke("div", cw, [
                                      ke(
                                        "img",
                                        {
                                          src: _e(_).img,
                                          class:
                                            "w-40px h-40px object-cover rounded-sm",
                                        },
                                        null,
                                        8,
                                        hw
                                      ),
                                    ]),
                                    ke("div", dw, [
                                      ke("div", _w, [
                                        _e(_).link
                                          ? (et(),
                                            dt(
                                              "a",
                                              {
                                                key: 0,
                                                href: _e(_).link,
                                                target: "_blank",
                                                class:
                                                  "font-semibold flex-shrink-0",
                                              },
                                              Qt(_e(_).name),
                                              9,
                                              xw
                                            ))
                                          : (et(),
                                            dt("span", mw, Qt(_e(_).name), 1)),
                                        _e(_).desc
                                          ? (et(),
                                            dt("span", pw, Qt(_e(_).desc), 1))
                                          : Dn("", !0),
                                      ]),
                                      _e(_).tags && _e(_).tags.length > 0
                                        ? (et(),
                                          dt("div", vw, [
                                            (et(!0),
                                            dt(
                                              ln,
                                              null,
                                              yu(
                                                _e(_).tags,
                                                (te) => (
                                                  et(),
                                                  dt(
                                                    ln,
                                                    null,
                                                    [
                                                      ke(
                                                        "span",
                                                        gw,
                                                        Qt(te.value),
                                                        1
                                                      ),
                                                      Nn(" " + Qt(te.name), 1),
                                                    ],
                                                    64
                                                  )
                                                )
                                              ),
                                              256
                                            )),
                                          ]))
                                        : Dn("", !0),
                                    ]),
                                  ]),
                                  ke("div", Tw, [
                                    _t(S, { percent: _e(G) }, null, 8, [
                                      "percent",
                                    ]),
                                    _e(F) == _e(yt).running
                                      ? (et(),
                                        dt(
                                          "div",
                                          {
                                            key: 0,
                                            onClick:
                                              pe[1] ||
                                              (pe[1] = (...te) =>
                                                _e(L) && _e(L)(...te)),
                                            class:
                                              "h-16px w-16px cursor-pointer text-red-500",
                                          },
                                          [_t(N)]
                                        ))
                                      : Dn("", !0),
                                    _e(F) == _e(yt).pause
                                      ? (et(),
                                        dt(
                                          "div",
                                          {
                                            key: 1,
                                            onClick:
                                              pe[2] ||
                                              (pe[2] = (...te) =>
                                                _e(O) && _e(O)(...te)),
                                            class:
                                              "h-16px w-16px cursor-pointer text-blue-500",
                                          },
                                          [_t(y)]
                                        ))
                                      : Dn("", !0),
                                  ]),
                                  ke("div", Ew, [
                                    _t(
                                      H,
                                      {
                                        onClick: V,
                                        disabled: _e(c).list.value.length <= 0,
                                        type: "primary",
                                      },
                                      {
                                        icon: Yr(() => [
                                          ke("span", ww, [_t(A)]),
                                        ]),
                                        default: Yr(() => [
                                          Nn(
                                            " Download (" +
                                              Qt(_e(c).list.value.length) +
                                              ") to " +
                                              Qt(_e(K).toUpperCase()),
                                            1
                                          ),
                                        ]),
                                        _: 1,
                                      },
                                      8,
                                      ["disabled"]
                                    ),
                                  ]),
                                ],
                                64
                              ))
                            : (et(),
                              dt(
                                ln,
                                { key: 1 },
                                [
                                  _e(i)
                                    ? (et(),
                                      dt("div", Sw, [
                                        ke(
                                          "img",
                                          {
                                            src: _e(Fu)(
                                              "/assets/icn-error.png"
                                            ),
                                            class: "w-300px",
                                          },
                                          null,
                                          8,
                                          Aw
                                        ),
                                        ke("div", yw, Qt(_e(i)), 1),
                                      ]))
                                    : (et(), ls(oe, { key: 1 })),
                                ],
                                64
                              )),
                        ]),
                      ]),
                      ke("div", Fw, "v" + Qt(_e(a)), 1),
                    ]),
                  ]),
                  _t(
                    le,
                    {
                      visible: _e(Y),
                      "onUpdate:visible":
                        pe[3] ||
                        (pe[3] = (te) => (Bn(Y) ? (Y.value = te) : (Y = te))),
                      title: "",
                      okText: "Upgrade now",
                      cancelText: `Download ${_e(ma)} rows`,
                      onOk: ne,
                      onCancel: Ae,
                      closable: !1,
                      maskClosable: !1,
                      keyboard: !1,
                    },
                    {
                      default: Yr(() => [
                        Nn(
                          " The maximum number of export for a free account is "
                        ),
                        ke("b", null, Qt(_e(ma)), 1),
                        Nn(
                          ". you can upgrade to the Pro version, whose maximum number is "
                        ),
                        Lw,
                        Nn(". "),
                      ]),
                      _: 1,
                    },
                    8,
                    ["visible", "cancelText"]
                  ),
                ],
                64
              )
            );
          }
        );
      },
    }),
    Rw = [{ path: "/", name: "Index", component: Ow }],
    Cw = Ou({ history: Ru(), routes: Rw }),
    Iw = Cu(),
    Ei = Iu(Mu);
  Ei.use(Cw);
  Ei.use(Iw);
  Ei.use(Du);
  Ei.mount("#app");
});
export default Dw();
