school-erp-ui-shared 1.0.44 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3091,7 +3091,7 @@ function gl(t, r, e, n, i) {
3091
3091
  if (!(this instanceof gl)) return new gl(t, r, e, n, i);
3092
3092
  this.boundingBox = t, this.xStep = r, this.yStep = e, this.stream = "", this.cloneIndex = 0, U9.call(this, n, i);
3093
3093
  }
3094
- function Yt(t) {
3094
+ function Gt(t) {
3095
3095
  var r, e = typeof arguments[0] == "string" ? arguments[0] : "p", n = arguments[1], i = arguments[2], a = arguments[3], s = [], l = 1, u = 16, o = "S", c = null;
3096
3096
  Ur(t = t || {}) === "object" && (e = t.orientation, n = t.unit || n, i = t.format || i, a = t.compress || t.compressPdf || a, (c = t.encryption || null) !== null && (c.userPassword = c.userPassword || "", c.ownerPassword = c.ownerPassword || "", c.userPermissions = c.userPermissions || []), l = typeof t.userUnit == "number" ? Math.abs(t.userUnit) : 1, t.precision !== void 0 && (r = t.precision), t.floatPrecision !== void 0 && (u = t.floatPrecision), o = t.defaultPathOperation || "S"), s = t.filters || (a === !0 ? ["FlateEncode"] : s), n = n || "mm", e = ("" + (e || "P")).toLowerCase();
3097
3097
  var d = t.putOnlyUsedFonts || !1, h = {}, f = { internal: {}, __private__: {} };
@@ -3278,7 +3278,7 @@ function Yt(t) {
3278
3278
  if (Object.keys(ft).indexOf(K) === -1) throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
3279
3279
  return ft[K] = ue;
3280
3280
  };
3281
- var bt, Ze, It, lt, gt, dt = {}, St = {}, Pt = [], jt = {}, or = {}, Oe = {}, _t = {}, Ft = null, Tt = 0, xt = [], kt = new Hw(f), zt = t.hotfixes || [], Gt = {}, mr = {}, Wt = [], Nt = function K(ue, Ee, Me, We, et, yt) {
3281
+ var bt, Ze, It, lt, gt, dt = {}, St = {}, Pt = [], jt = {}, or = {}, Oe = {}, _t = {}, Ft = null, Tt = 0, xt = [], kt = new Hw(f), zt = t.hotfixes || [], Xt = {}, mr = {}, Wt = [], Nt = function K(ue, Ee, Me, We, et, yt) {
3282
3282
  if (!(this instanceof K)) return new K(ue, Ee, Me, We, et, yt);
3283
3283
  isNaN(ue) && (ue = 1), isNaN(Ee) && (Ee = 0), isNaN(Me) && (Me = 0), isNaN(We) && (We = 1), isNaN(et) && (et = 0), isNaN(yt) && (yt = 0), this._matrix = [ue, Ee, Me, We, et, yt];
3284
3284
  };
@@ -3346,13 +3346,13 @@ function Yt(t) {
3346
3346
  }, Nt.prototype.decompose = function() {
3347
3347
  var K = this.sx, ue = this.shy, Ee = this.shx, Me = this.sy, We = this.tx, et = this.ty, yt = Math.sqrt(K * K + ue * ue), Bt = (K /= yt) * Ee + (ue /= yt) * Me;
3348
3348
  Ee -= K * Bt, Me -= ue * Bt;
3349
- var Xt = Math.sqrt(Ee * Ee + Me * Me);
3350
- return Bt /= Xt, K * (Me /= Xt) < ue * (Ee /= Xt) && (K = -K, ue = -ue, Bt = -Bt, yt = -yt), { scale: new Nt(yt, 0, 0, Xt, 0, 0), translate: new Nt(1, 0, 0, 1, We, et), rotate: new Nt(K, ue, -ue, K, 0, 0), skew: new Nt(1, 0, Bt, 1, 0, 0) };
3349
+ var Yt = Math.sqrt(Ee * Ee + Me * Me);
3350
+ return Bt /= Yt, K * (Me /= Yt) < ue * (Ee /= Yt) && (K = -K, ue = -ue, Bt = -Bt, yt = -yt), { scale: new Nt(yt, 0, 0, Yt, 0, 0), translate: new Nt(1, 0, 0, 1, We, et), rotate: new Nt(K, ue, -ue, K, 0, 0), skew: new Nt(1, 0, Bt, 1, 0, 0) };
3351
3351
  }, Nt.prototype.toString = function(K) {
3352
3352
  return this.join(" ");
3353
3353
  }, Nt.prototype.inversed = function() {
3354
- var K = this.sx, ue = this.shy, Ee = this.shx, Me = this.sy, We = this.tx, et = this.ty, yt = 1 / (K * Me - ue * Ee), Bt = Me * yt, Xt = -ue * yt, dr = -Ee * yt, cr = K * yt;
3355
- return new Nt(Bt, Xt, dr, cr, -Bt * We - dr * et, -Xt * We - cr * et);
3354
+ var K = this.sx, ue = this.shy, Ee = this.shx, Me = this.sy, We = this.tx, et = this.ty, yt = 1 / (K * Me - ue * Ee), Bt = Me * yt, Yt = -ue * yt, dr = -Ee * yt, cr = K * yt;
3355
+ return new Nt(Bt, Yt, dr, cr, -Bt * We - dr * et, -Yt * We - cr * et);
3356
3356
  }, Nt.prototype.applyToPoint = function(K) {
3357
3357
  var ue = K.x * this.sx + K.y * this.shx + this.tx, Ee = K.x * this.shy + K.y * this.sy + this.ty;
3358
3358
  return new Ql(ue, Ee);
@@ -3413,8 +3413,8 @@ function Yt(t) {
3413
3413
  else if (!/^\d*\.?\d*$/.test(Ee)) throw new Error('Invalid color "' + Ee + '" passed to jsPDF.encodeColorString.');
3414
3414
  }
3415
3415
  if (typeof Ee == "string" && /^#[0-9A-Fa-f]{3}$/.test(Ee) && (Ee = "#" + Ee[1] + Ee[1] + Ee[2] + Ee[2] + Ee[3] + Ee[3]), typeof Ee == "string" && /^#[0-9A-Fa-f]{6}$/.test(Ee)) {
3416
- var Xt = parseInt(Ee.substr(1), 16);
3417
- Ee = Xt >> 16 & 255, Me = Xt >> 8 & 255, We = 255 & Xt;
3416
+ var Yt = parseInt(Ee.substr(1), 16);
3417
+ Ee = Yt >> 16 & 255, Me = Yt >> 8 & 255, We = 255 & Yt;
3418
3418
  }
3419
3419
  if (Me === void 0 || et === void 0 && Ee === Me && Me === We) if (typeof Ee == "string") ue = Ee + " " + yt[0];
3420
3420
  else switch (K.precision) {
@@ -3454,20 +3454,20 @@ function Yt(t) {
3454
3454
  };
3455
3455
  if (c !== null && yt === void 0) throw new Error("ObjectId must be passed to putStream for file encryption");
3456
3456
  c !== null && (Bt = Tn.encryptor(yt, 0));
3457
- var Xt = {};
3457
+ var Yt = {};
3458
3458
  Ee === !0 && (Ee = ["FlateEncode"]);
3459
- var dr = K.additionalKeyValues || [], cr = (Xt = Yt.API.processDataByFilters !== void 0 ? Yt.API.processDataByFilters(ue, Ee) : { data: ue, reverseChain: [] }).reverseChain + (Array.isArray(Me) ? Me.join(" ") : Me.toString());
3460
- if (Xt.data.length !== 0 && (dr.push({ key: "Length", value: Xt.data.length }), We === !0 && dr.push({ key: "Length1", value: et })), cr.length != 0) if (cr.split("/").length - 1 == 1) dr.push({ key: "Filter", value: cr });
3459
+ var dr = K.additionalKeyValues || [], cr = (Yt = Gt.API.processDataByFilters !== void 0 ? Gt.API.processDataByFilters(ue, Ee) : { data: ue, reverseChain: [] }).reverseChain + (Array.isArray(Me) ? Me.join(" ") : Me.toString());
3460
+ if (Yt.data.length !== 0 && (dr.push({ key: "Length", value: Yt.data.length }), We === !0 && dr.push({ key: "Length1", value: et })), cr.length != 0) if (cr.split("/").length - 1 == 1) dr.push({ key: "Filter", value: cr });
3461
3461
  else {
3462
3462
  dr.push({ key: "Filter", value: "[" + cr + "]" });
3463
3463
  for (var Ar = 0; Ar < dr.length; Ar += 1) if (dr[Ar].key === "DecodeParms") {
3464
- for (var fn = [], hn = 0; hn < Xt.reverseChain.split("/").length - 1; hn += 1) fn.push("null");
3464
+ for (var fn = [], hn = 0; hn < Yt.reverseChain.split("/").length - 1; hn += 1) fn.push("null");
3465
3465
  fn.push(dr[Ar].value), dr[Ar].value = "[" + fn.join(" ") + "]";
3466
3466
  }
3467
3467
  }
3468
3468
  ne("<<");
3469
3469
  for (var En = 0; En < dr.length; En++) ne("/" + dr[En].key + " " + dr[En].value);
3470
- ne(">>"), Xt.data.length !== 0 && (ne("stream"), ne(Bt(Xt.data)), ne("endstream"));
3470
+ ne(">>"), Yt.data.length !== 0 && (ne("stream"), ne(Bt(Yt.data)), ne("endstream"));
3471
3471
  }, Le = f.__private__.putPage = function(K) {
3472
3472
  var ue = K.number, Ee = K.data, Me = K.objId, We = K.contentsObjId;
3473
3473
  se(Me, !0), ne("<</Type /Page"), ne("/Parent " + K.rootDictionaryObjId + " 0 R"), ne("/Resources " + K.resourceDictionaryObjId + " 0 R"), ne("/MediaBox [" + parseFloat(M(K.mediaBox.bottomLeftX)) + " " + parseFloat(M(K.mediaBox.bottomLeftY)) + " " + M(K.mediaBox.topRightX) + " " + M(K.mediaBox.topRightY) + "]"), K.cropBox !== null && ne("/CropBox [" + M(K.cropBox.bottomLeftX) + " " + M(K.cropBox.bottomLeftY) + " " + M(K.cropBox.topRightX) + " " + M(K.cropBox.topRightY) + "]"), K.bleedBox !== null && ne("/BleedBox [" + M(K.bleedBox.bottomLeftX) + " " + M(K.bleedBox.bottomLeftY) + " " + M(K.bleedBox.topRightX) + " " + M(K.bleedBox.topRightY) + "]"), K.trimBox !== null && ne("/TrimBox [" + M(K.trimBox.bottomLeftX) + " " + M(K.trimBox.bottomLeftY) + " " + M(K.trimBox.topRightX) + " " + M(K.trimBox.topRightY) + "]"), K.artBox !== null && ne("/ArtBox [" + M(K.artBox.bottomLeftX) + " " + M(K.artBox.bottomLeftY) + " " + M(K.artBox.topRightX) + " " + M(K.artBox.topRightY) + "]"), typeof K.userUnit == "number" && K.userUnit !== 1 && ne("/UserUnit " + K.userUnit), kt.publish("putPage", { objId: Me, pageContext: xt[ue], pageNumber: ue, page: Ee }), ne("/Contents " + We + " 0 R"), ne(">>"), ne("endobj");
@@ -3495,7 +3495,7 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3495
3495
  `);
3496
3496
  ze({ data: Ee, additionalKeyValues: ue, objectId: K.objectNumber }), ne("endobj");
3497
3497
  }, Et = function() {
3498
- for (var K in Gt) Gt.hasOwnProperty(K) && vt(Gt[K]);
3498
+ for (var K in Xt) Xt.hasOwnProperty(K) && vt(Xt[K]);
3499
3499
  }, pe = function(K, ue) {
3500
3500
  var Ee, Me = [], We = 1 / (ue - 1);
3501
3501
  for (Ee = 0; Ee < 1; Ee += We) Me.push(Ee);
@@ -3507,9 +3507,9 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3507
3507
  var yt = { offset: 1, color: K[K.length - 1].color };
3508
3508
  K.push(yt);
3509
3509
  }
3510
- for (var Bt = "", Xt = 0, dr = 0; dr < Me.length; dr++) {
3511
- for (Ee = Me[dr]; Ee > K[Xt + 1].offset; ) Xt++;
3512
- var cr = K[Xt].offset, Ar = (Ee - cr) / (K[Xt + 1].offset - cr), fn = K[Xt].color, hn = K[Xt + 1].color;
3510
+ for (var Bt = "", Yt = 0, dr = 0; dr < Me.length; dr++) {
3511
+ for (Ee = Me[dr]; Ee > K[Yt + 1].offset; ) Yt++;
3512
+ var cr = K[Yt].offset, Ar = (Ee - cr) / (K[Yt + 1].offset - cr), fn = K[Yt].color, hn = K[Yt + 1].color;
3513
3513
  Bt += X(Math.round((1 - Ar) * fn[0] + Ar * hn[0]).toString(16)) + X(Math.round((1 - Ar) * fn[1] + Ar * hn[1]).toString(16)) + X(Math.round((1 - Ar) * fn[2] + Ar * hn[2]).toString(16));
3514
3514
  }
3515
3515
  return Bt.trim();
@@ -3540,7 +3540,7 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3540
3540
  var K;
3541
3541
  for (K in Oe) Oe.hasOwnProperty(K) && At(Oe[K]);
3542
3542
  }, wt = function() {
3543
- for (var K in ne("/XObject <<"), Gt) Gt.hasOwnProperty(K) && Gt[K].objectNumber >= 0 && ne("/" + K + " " + Gt[K].objectNumber + " 0 R");
3543
+ for (var K in ne("/XObject <<"), Xt) Xt.hasOwnProperty(K) && Xt[K].objectNumber >= 0 && ne("/" + K + " " + Xt[K].objectNumber + " 0 R");
3544
3544
  kt.publish("putXobjectDict"), ne(">>");
3545
3545
  }, ar = function() {
3546
3546
  Tn.oid = $e(), ne("<<"), ne("/Filter /Standard"), ne("/V " + Tn.v), ne("/R " + Tn.r), ne("/U <" + Tn.toHexString(Tn.U) + ">"), ne("/O <" + Tn.toHexString(Tn.O) + ">"), ne("/P " + Tn.P), ne(">>"), ne("endobj");
@@ -3602,13 +3602,13 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3602
3602
  }
3603
3603
  }, K.foo.bar = K, K.foo;
3604
3604
  }, Gi = function(K, ue) {
3605
- var Ee, Me, We, et, yt, Bt, Xt, dr, cr;
3605
+ var Ee, Me, We, et, yt, Bt, Yt, dr, cr;
3606
3606
  if (We = (ue = ue || {}).sourceEncoding || "Unicode", yt = ue.outputEncoding, (ue.autoencode || yt) && dt[bt].metadata && dt[bt].metadata[We] && dt[bt].metadata[We].encoding && (et = dt[bt].metadata[We].encoding, !yt && dt[bt].encoding && (yt = dt[bt].encoding), !yt && et.codePages && (yt = et.codePages[0]), typeof yt == "string" && (yt = et[yt]), yt)) {
3607
- for (Xt = !1, Bt = [], Ee = 0, Me = K.length; Ee < Me; Ee++) (dr = yt[K.charCodeAt(Ee)]) ? Bt.push(String.fromCharCode(dr)) : Bt.push(K[Ee]), Bt[Ee].charCodeAt(0) >> 8 && (Xt = !0);
3607
+ for (Yt = !1, Bt = [], Ee = 0, Me = K.length; Ee < Me; Ee++) (dr = yt[K.charCodeAt(Ee)]) ? Bt.push(String.fromCharCode(dr)) : Bt.push(K[Ee]), Bt[Ee].charCodeAt(0) >> 8 && (Yt = !0);
3608
3608
  K = Bt.join("");
3609
3609
  }
3610
- for (Ee = K.length; Xt === void 0 && Ee !== 0; ) K.charCodeAt(Ee - 1) >> 8 && (Xt = !0), Ee--;
3611
- if (!Xt) return K;
3610
+ for (Ee = K.length; Yt === void 0 && Ee !== 0; ) K.charCodeAt(Ee - 1) >> 8 && (Yt = !0), Ee--;
3611
+ if (!Yt) return K;
3612
3612
  for (Bt = ue.noBOM ? [] : [254, 255], Ee = 0, Me = K.length; Ee < Me; Ee++) {
3613
3613
  if ((cr = (dr = K.charCodeAt(Ee)) >> 8) >> 8) throw new Error("Character at position " + Ee + " of string '" + K + "' exceeds 16bits. Cannot be encoded into UCS-2 BE");
3614
3614
  Bt.push(cr), Bt.push(dr - (cr << 8));
@@ -3641,7 +3641,7 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3641
3641
  var K = $e(), ue = function(Me) {
3642
3642
  return Me;
3643
3643
  };
3644
- for (var Ee in c !== null && (ue = Tn.encryptor(K, 0)), ne("<<"), ne("/Producer (" + yn(ue("jsPDF " + Yt.version)) + ")"), ft) ft.hasOwnProperty(Ee) && ft[Ee] && ne("/" + Ee.substr(0, 1).toUpperCase() + Ee.substr(1) + " (" + yn(ue(ft[Ee])) + ")");
3644
+ for (var Ee in c !== null && (ue = Tn.encryptor(K, 0)), ne("<<"), ne("/Producer (" + yn(ue("jsPDF " + Gt.version)) + ")"), ft) ft.hasOwnProperty(Ee) && ft[Ee] && ne("/" + Ee.substr(0, 1).toUpperCase() + Ee.substr(1) + " (" + yn(ue(ft[Ee])) + ")");
3645
3645
  ne("/CreationDate (" + yn(ue(E)) + ")"), ne(">>"), ne("endobj");
3646
3646
  }, _i = f.__private__.putCatalog = function(K) {
3647
3647
  var ue = (K = K || {}).rootDictionaryObjId || ce;
@@ -3728,9 +3728,9 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3728
3728
  throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");
3729
3729
  case "pdfjsnewwindow":
3730
3730
  if (Object.prototype.toString.call(nr) === "[object Window]") {
3731
- var Xt = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="' + (ue.pdfJsUrl || "examples/PDF.js/web/viewer.html") + "?file=&downloadName=" + ue.filename + '" width="500px" height="400px" /></body></html>', dr = nr.open();
3731
+ var Yt = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="' + (ue.pdfJsUrl || "examples/PDF.js/web/viewer.html") + "?file=&downloadName=" + ue.filename + '" width="500px" height="400px" /></body></html>', dr = nr.open();
3732
3732
  if (dr !== null) {
3733
- dr.document.write(Xt);
3733
+ dr.document.write(Yt);
3734
3734
  var cr = this;
3735
3735
  dr.document.documentElement.querySelector("#pdfViewer").onload = function() {
3736
3736
  dr.document.title = ue.filename, dr.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(cr.output("bloburl"));
@@ -3817,12 +3817,12 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3817
3817
  }, f.deletePage = function() {
3818
3818
  return xr.apply(this, arguments), this;
3819
3819
  }, f.__private__.text = f.text = function(K, ue, Ee, Me, We) {
3820
- var et, yt, Bt, Xt, dr, cr, Ar, fn, hn, En = (Me = Me || {}).scope || this;
3820
+ var et, yt, Bt, Yt, dr, cr, Ar, fn, hn, En = (Me = Me || {}).scope || this;
3821
3821
  if (typeof K == "number" && typeof ue == "number" && (typeof Ee == "string" || Array.isArray(Ee))) {
3822
3822
  var fi = Ee;
3823
3823
  Ee = ue, ue = K, K = fi;
3824
3824
  }
3825
- if (arguments[3] instanceof Nt ? (C("The transform parameter of text() with a Matrix value"), hn = We) : (Bt = arguments[4], Xt = arguments[5], Ur(Ar = arguments[3]) === "object" && Ar !== null || (typeof Bt == "string" && (Xt = Bt, Bt = null), typeof Ar == "string" && (Xt = Ar, Ar = null), typeof Ar == "number" && (Bt = Ar, Ar = null), Me = { flags: Ar, angle: Bt, align: Xt })), isNaN(ue) || isNaN(Ee) || K == null) throw new Error("Invalid arguments passed to jsPDF.text");
3825
+ if (arguments[3] instanceof Nt ? (C("The transform parameter of text() with a Matrix value"), hn = We) : (Bt = arguments[4], Yt = arguments[5], Ur(Ar = arguments[3]) === "object" && Ar !== null || (typeof Bt == "string" && (Yt = Bt, Bt = null), typeof Ar == "string" && (Yt = Ar, Ar = null), typeof Ar == "number" && (Bt = Ar, Ar = null), Me = { flags: Ar, angle: Bt, align: Yt })), isNaN(ue) || isNaN(Ee) || K == null) throw new Error("Invalid arguments passed to jsPDF.text");
3826
3826
  if (K.length === 0) return En;
3827
3827
  var Hn = "", Pa = !1, Yi = typeof Me.lineHeightFactor == "number" ? Me.lineHeightFactor : Qo, rs = En.internal.scaleFactor;
3828
3828
  function bd(en) {
@@ -3914,7 +3914,7 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3914
3914
  var yd = Jc.usedRenderingMode !== void 0 ? Jc.usedRenderingMode : -1;
3915
3915
  Li !== -1 ? Hn += Li + ` Tr
3916
3916
  ` : yd !== -1 && (Hn += `0 Tr
3917
- `), Li !== -1 && (Jc.usedRenderingMode = Li), Xt = Me.align || "left";
3917
+ `), Li !== -1 && (Jc.usedRenderingMode = Li), Yt = Me.align || "left";
3918
3918
  var fa, su = Te * Yi, xd = En.internal.pageSize.getWidth(), wd = dt[bt];
3919
3919
  dr = Me.charSpace || Jl, cr = Me.maxWidth || 0, Ar = Object.assign({ autoencode: !0, noBOM: !0 }, Me.flags);
3920
3920
  var ho = [], rl = function(en) {
@@ -3922,18 +3922,18 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3922
3922
  };
3923
3923
  if (Object.prototype.toString.call(K) === "[object Array]") {
3924
3924
  var ji;
3925
- yt = Gc(K), Xt !== "left" && (fa = yt.map(rl));
3925
+ yt = Gc(K), Yt !== "left" && (fa = yt.map(rl));
3926
3926
  var Ai, po = 0;
3927
- if (Xt === "right") {
3927
+ if (Yt === "right") {
3928
3928
  ue -= fa[0], K = [], Qn = yt.length;
3929
3929
  for (var Es = 0; Es < Qn; Es++) Es === 0 ? (Ai = ts(ue), ji = Ts(Ee)) : (Ai = I(po - fa[Es]), ji = -su), K.push([yt[Es], Ai, ji]), po = fa[Es];
3930
- } else if (Xt === "center") {
3930
+ } else if (Yt === "center") {
3931
3931
  ue -= fa[0] / 2, K = [], Qn = yt.length;
3932
3932
  for (var ks = 0; ks < Qn; ks++) ks === 0 ? (Ai = ts(ue), ji = Ts(Ee)) : (Ai = I((po - fa[ks]) / 2), ji = -su), K.push([yt[ks], Ai, ji]), po = fa[ks];
3933
- } else if (Xt === "left") {
3933
+ } else if (Yt === "left") {
3934
3934
  K = [], Qn = yt.length;
3935
3935
  for (var ou = 0; ou < Qn; ou++) K.push(yt[ou]);
3936
- } else if (Xt === "justify" && wd.encoding === "Identity-H") {
3936
+ } else if (Yt === "justify" && wd.encoding === "Identity-H") {
3937
3937
  K = [], Qn = yt.length, cr = cr !== 0 ? cr : xd;
3938
3938
  for (var Ns = 0, xn = 0; xn < Qn; xn++) if (ji = xn === 0 ? Ts(Ee) : -su, Ai = xn === 0 ? ts(ue) : Ns, xn < Qn - 1) {
3939
3939
  var Qc = I((cr - fa[xn]) / (yt[xn].split(" ").length - 1)), Ti = yt[xn].split(" ");
@@ -3945,7 +3945,7 @@ Q`), se(We, !0), ze({ data: et, filters: Ie(), objectId: We }), ne("endobj"), Me
3945
3945
  } else K.push([yt[xn], Ai, ji]);
3946
3946
  K.push(["", Ns, 0]);
3947
3947
  } else {
3948
- if (Xt !== "justify") throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
3948
+ if (Yt !== "justify") throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
3949
3949
  for (K = [], Qn = yt.length, cr = cr !== 0 ? cr : xd, xn = 0; xn < Qn; xn++) ji = xn === 0 ? Ts(Ee) : -su, Ai = xn === 0 ? ts(ue) : 0, xn < Qn - 1 ? ho.push(M(I((cr - fa[xn]) / (yt[xn].split(" ").length - 1)))) : ho.push(0), K.push([yt[xn], Ai, ji]);
3950
3950
  }
3951
3951
  }
@@ -4079,9 +4079,9 @@ T* `) : K.join(` Tj
4079
4079
  if (isNaN(K) || isNaN(ue) || isNaN(Ee) || isNaN(Me) || !es(We)) throw new Error("Invalid arguments passed to jsPDF.line");
4080
4080
  return y === b.COMPAT ? this.lines([[Ee - K, Me - ue]], K, ue, [1, 1], We || "S") : this.lines([[Ee - K, Me - ue]], K, ue, [1, 1]).stroke();
4081
4081
  }, f.__private__.lines = f.lines = function(K, ue, Ee, Me, We, et) {
4082
- var yt, Bt, Xt, dr, cr, Ar, fn, hn, En, fi, Hn, Pa;
4082
+ var yt, Bt, Yt, dr, cr, Ar, fn, hn, En, fi, Hn, Pa;
4083
4083
  if (typeof K == "number" && (Pa = Ee, Ee = ue, ue = K, K = Pa), Me = Me || [1, 1], et = et || !1, isNaN(ue) || isNaN(Ee) || !Array.isArray(K) || !Array.isArray(Me) || !es(We) || typeof et != "boolean") throw new Error("Invalid arguments passed to jsPDF.lines");
4084
- for (Dc(ue, Ee), yt = Me[0], Bt = Me[1], dr = K.length, fi = ue, Hn = Ee, Xt = 0; Xt < dr; Xt++) (cr = K[Xt]).length === 2 ? (fi = cr[0] * yt + fi, Hn = cr[1] * Bt + Hn, Jo(fi, Hn)) : (Ar = cr[0] * yt + fi, fn = cr[1] * Bt + Hn, hn = cr[2] * yt + fi, En = cr[3] * Bt + Hn, fi = cr[4] * yt + fi, Hn = cr[5] * Bt + Hn, uo(Ar, fn, hn, En, fi, Hn));
4084
+ for (Dc(ue, Ee), yt = Me[0], Bt = Me[1], dr = K.length, fi = ue, Hn = Ee, Yt = 0; Yt < dr; Yt++) (cr = K[Yt]).length === 2 ? (fi = cr[0] * yt + fi, Hn = cr[1] * Bt + Hn, Jo(fi, Hn)) : (Ar = cr[0] * yt + fi, fn = cr[1] * Bt + Hn, hn = cr[2] * yt + fi, En = cr[3] * Bt + Hn, fi = cr[4] * yt + fi, Hn = cr[5] * Bt + Hn, uo(Ar, fn, hn, En, fi, Hn));
4085
4085
  return et && fd(), Fc(We), this;
4086
4086
  }, f.path = function(K) {
4087
4087
  for (var ue = 0; ue < K.length; ue++) {
@@ -4137,7 +4137,7 @@ T* `) : K.join(` Tj
4137
4137
  }, hd = f.__private__.setLineWidth = f.setLineWidth = function(K) {
4138
4138
  return Bc = K, ne(M(I(K)) + " w"), this;
4139
4139
  };
4140
- f.__private__.setLineDash = Yt.API.setLineDash = Yt.API.setLineDashPattern = function(K, ue) {
4140
+ f.__private__.setLineDash = Gt.API.setLineDash = Gt.API.setLineDashPattern = function(K, ue) {
4141
4141
  if (K = K || [], ue = ue || 0, isNaN(ue) || !Array.isArray(K)) throw new Error("Invalid arguments passed to jsPDF.setLineDash");
4142
4142
  return K = K.map((function(Ee) {
4143
4143
  return M(I(Ee));
@@ -4277,8 +4277,8 @@ T* `) : K.join(` Tj
4277
4277
  }, zm = function(K) {
4278
4278
  if (mr[K]) Wt.pop().restore();
4279
4279
  else {
4280
- var ue = new Hc(), Ee = "Xo" + (Object.keys(Gt).length + 1).toString(10);
4281
- ue.id = Ee, mr[K] = Ee, Gt[Ee] = ue, kt.publish("addFormObject", ue), Wt.pop().restore();
4280
+ var ue = new Hc(), Ee = "Xo" + (Object.keys(Xt).length + 1).toString(10);
4281
+ ue.id = Ee, mr[K] = Ee, Xt[Ee] = ue, kt.publish("addFormObject", ue), Wt.pop().restore();
4282
4282
  }
4283
4283
  };
4284
4284
  for (var eu in f.beginFormObject = function(K, ue, Ee, Me, We) {
@@ -4286,10 +4286,10 @@ T* `) : K.join(` Tj
4286
4286
  }, f.endFormObject = function(K) {
4287
4287
  return zm(K), this;
4288
4288
  }, f.doFormObject = function(K, ue) {
4289
- var Ee = Gt[mr[K]];
4289
+ var Ee = Xt[mr[K]];
4290
4290
  return ne("q"), ne(ue.toString() + " cm"), ne("/" + Ee.id + " Do"), ne("Q"), this;
4291
4291
  }, f.getFormObject = function(K) {
4292
- var ue = Gt[mr[K]];
4292
+ var ue = Xt[mr[K]];
4293
4293
  return { x: ue.x, y: ue.y, width: ue.width, height: ue.height, matrix: ue.matrix };
4294
4294
  }, f.save = function(K, ue) {
4295
4295
  return K = K || "generated.pdf", (ue = ue || {}).returnPromise = ue.returnPromise || !1, ue.returnPromise === !1 ? (fl(Si(ci()), K), typeof fl.unload == "function" && nr.setTimeout && setTimeout(fl.unload, 911), this) : new Promise((function(Ee, Me) {
@@ -4300,10 +4300,10 @@ T* `) : K.join(` Tj
4300
4300
  Me(et.message);
4301
4301
  }
4302
4302
  }));
4303
- }, Yt.API) Yt.API.hasOwnProperty(eu) && (eu === "events" && Yt.API.events.length ? (function(K, ue) {
4303
+ }, Gt.API) Gt.API.hasOwnProperty(eu) && (eu === "events" && Gt.API.events.length ? (function(K, ue) {
4304
4304
  var Ee, Me, We;
4305
4305
  for (We = ue.length - 1; We !== -1; We--) Ee = ue[We][0], Me = ue[We][1], K.subscribe.apply(K, [Ee].concat(typeof Me == "function" ? [Me] : Me));
4306
- })(kt, Yt.API.events) : f[eu] = Yt.API[eu]);
4306
+ })(kt, Gt.API.events) : f[eu] = Gt.API[eu]);
4307
4307
  var tl = f.getPageWidth = function(K) {
4308
4308
  return (xt[K = K || H].mediaBox.topRightX - xt[K].mediaBox.bottomLeftX) / Ze;
4309
4309
  }, Wc = f.setPageWidth = function(K, ue) {
@@ -4357,8 +4357,8 @@ ku.prototype.lsbFirstWord = function(t) {
4357
4357
  }
4358
4358
  for (r in t) t.hasOwnProperty(r) && e.indexOf(r) < 0 && n--;
4359
4359
  return n === 0;
4360
- }, Yt.API = { events: [] }, Yt.version = "2.5.2";
4361
- var pn = Yt.API, Lx = 1, Dl = function(t) {
4360
+ }, Gt.API = { events: [] }, Gt.version = "2.5.2";
4361
+ var pn = Gt.API, Lx = 1, Dl = function(t) {
4362
4362
  return t.replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)");
4363
4363
  }, mu = function(t) {
4364
4364
  return t.replace(/\\\\/g, "\\").replace(/\\\(/g, "(").replace(/\\\)/g, ")");
@@ -5151,8 +5151,8 @@ var EM = pn.addField = function(t) {
5151
5151
  var r;
5152
5152
  return (r = t).scope.internal.acroformPlugin.printedOut && (r.scope.internal.acroformPlugin.printedOut = !1, r.scope.internal.acroformPlugin.acroFormDictionaryRoot = null), r.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(r), t.page = t.scope.internal.getCurrentPageInfo().pageNumber, this;
5153
5153
  };
5154
- pn.AcroFormChoiceField = Al, pn.AcroFormListBox = Tl, pn.AcroFormComboBox = El, pn.AcroFormEditBox = Mf, pn.AcroFormButton = zn, pn.AcroFormPushButton = If, pn.AcroFormRadioButton = kl, pn.AcroFormCheckBox = Rf, pn.AcroFormTextField = Do, pn.AcroFormPasswordField = Lf, pn.AcroFormAppearance = qt, pn.AcroForm = { ChoiceField: Al, ListBox: Tl, ComboBox: El, EditBox: Mf, Button: zn, PushButton: If, RadioButton: kl, CheckBox: Rf, TextField: Do, PasswordField: Lf, Appearance: qt }, Yt.AcroForm = { ChoiceField: Al, ListBox: Tl, ComboBox: El, EditBox: Mf, Button: zn, PushButton: If, RadioButton: kl, CheckBox: Rf, TextField: Do, PasswordField: Lf, Appearance: qt };
5155
- var kM = Yt.AcroForm;
5154
+ pn.AcroFormChoiceField = Al, pn.AcroFormListBox = Tl, pn.AcroFormComboBox = El, pn.AcroFormEditBox = Mf, pn.AcroFormButton = zn, pn.AcroFormPushButton = If, pn.AcroFormRadioButton = kl, pn.AcroFormCheckBox = Rf, pn.AcroFormTextField = Do, pn.AcroFormPasswordField = Lf, pn.AcroFormAppearance = qt, pn.AcroForm = { ChoiceField: Al, ListBox: Tl, ComboBox: El, EditBox: Mf, Button: zn, PushButton: If, RadioButton: kl, CheckBox: Rf, TextField: Do, PasswordField: Lf, Appearance: qt }, Gt.AcroForm = { ChoiceField: Al, ListBox: Tl, ComboBox: El, EditBox: Mf, Button: zn, PushButton: If, RadioButton: kl, CheckBox: Rf, TextField: Do, PasswordField: Lf, Appearance: qt };
5155
+ var kM = Gt.AcroForm;
5156
5156
  function V9(t) {
5157
5157
  return t.reduce((function(r, e, n) {
5158
5158
  return r[e] = n, r;
@@ -5338,7 +5338,7 @@ function V9(t) {
5338
5338
  if (!T() || F instanceof Uint8Array || (F = M(F)), !(I = this["process" + k.toUpperCase()](F))) throw new Error("An unknown error occurred whilst processing the image");
5339
5339
  return I.fileType = k, I;
5340
5340
  };
5341
- })(Yt.API), /**
5341
+ })(Gt.API), /**
5342
5342
  * @license
5343
5343
  * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
5344
5344
  *
@@ -5349,7 +5349,7 @@ function V9(t) {
5349
5349
  var r = function(e) {
5350
5350
  if (e !== void 0 && e != "") return !0;
5351
5351
  };
5352
- Yt.API.events.push(["addPage", function(e) {
5352
+ Gt.API.events.push(["addPage", function(e) {
5353
5353
  this.internal.getPageInfo(e.pageNumber).pageContext.annotations = [];
5354
5354
  }]), t.events.push(["putPage", function(e) {
5355
5355
  for (var n, i, a, s = this.internal.getCoordinateString, l = this.internal.getVerticalCoordinateString, u = this.internal.getPageInfoByObjId(e.objId), o = e.pageContext.annotations, c = !1, d = 0; d < o.length && !c; d++) switch ((n = o[d]).type) {
@@ -5433,7 +5433,7 @@ function V9(t) {
5433
5433
  var n = this.internal.getFontSize();
5434
5434
  return this.getStringUnitWidth(e) * n / this.internal.scaleFactor;
5435
5435
  };
5436
- })(Yt.API), /**
5436
+ })(Gt.API), /**
5437
5437
  * @license
5438
5438
  * Copyright (c) 2017 Aras Abbasi
5439
5439
  *
@@ -5490,7 +5490,7 @@ function V9(t) {
5490
5490
  return typeof arguments[0] == "string" ? m : (arguments[0].text = m, arguments[0]);
5491
5491
  };
5492
5492
  t.events.push(["preProcessText", g]);
5493
- })(Yt.API), Yt.API.autoPrint = function(t) {
5493
+ })(Gt.API), Gt.API.autoPrint = function(t) {
5494
5494
  var r;
5495
5495
  switch ((t = t || {}).variant = t.variant || "non-conform", t.variant) {
5496
5496
  case "javascript":
@@ -5555,7 +5555,7 @@ function V9(t) {
5555
5555
  }, t.events.push(["initialized", function() {
5556
5556
  this.canvas = new r(), this.canvas.pdf = this;
5557
5557
  }]);
5558
- })(Yt.API), (function(t) {
5558
+ })(Gt.API), (function(t) {
5559
5559
  var r = { left: 0, top: 0, bottom: 0, right: 0 }, e = !1, n = function() {
5560
5560
  this.internal.__cell__ === void 0 && (this.internal.__cell__ = {}, this.internal.__cell__.padding = 3, this.internal.__cell__.headerFunction = void 0, this.internal.__cell__.margins = Object.assign({}, r), this.internal.__cell__.margins.width = this.getPageWidth(), i.call(this));
5561
5561
  }, i = function() {
@@ -5705,7 +5705,7 @@ function V9(t) {
5705
5705
  }
5706
5706
  h.length > 0 && this.setTableHeaderRow(h), this.setFont(void 0, "normal"), e = !1;
5707
5707
  };
5708
- })(Yt.API);
5708
+ })(Gt.API);
5709
5709
  var G9 = { italic: ["italic", "oblique", "normal"], oblique: ["oblique", "italic", "normal"], normal: ["normal", "oblique", "italic"] }, X9 = ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"], X2 = V9(X9), Y9 = [100, 200, 300, 400, 500, 600, 700, 800, 900], NM = V9(Y9);
5710
5710
  function Y2(t) {
5711
5711
  var r = t.family.replace(/"|'/g, "").toLowerCase(), e = (function(a) {
@@ -6392,7 +6392,7 @@ var Vd, Kw, Zw, p1 = ["times"];
6392
6392
  this.prevLineDash !== W && (this.pdf.setLineDash(this.ctx.lineDash, this.ctx.lineDashOffset), this.prevLineDash = W);
6393
6393
  }
6394
6394
  };
6395
- })(Yt.API), /**
6395
+ })(Gt.API), /**
6396
6396
  * @license
6397
6397
  * jsPDF filters PlugIn
6398
6398
  * Copyright (c) 2014 Aras Abbasi
@@ -6454,7 +6454,7 @@ var Vd, Kw, Zw, p1 = ["times"];
6454
6454
  }
6455
6455
  return { data: u, reverseChain: o.reverse().join(" ") };
6456
6456
  };
6457
- })(Yt.API), /**
6457
+ })(Gt.API), /**
6458
6458
  * @license
6459
6459
  * jsPDF fileloading PlugIn
6460
6460
  * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
@@ -6484,7 +6484,7 @@ var Vd, Kw, Zw, p1 = ["times"];
6484
6484
  return l;
6485
6485
  })(r, e, n);
6486
6486
  }, t.loadImageFile = t.loadFile;
6487
- })(Yt.API), (function(t) {
6487
+ })(Gt.API), (function(t) {
6488
6488
  function r() {
6489
6489
  return (nr.html2canvas ? Promise.resolve(nr.html2canvas) : import("./html2canvas.esm-dgT_1dIT.mjs")).catch((function(s) {
6490
6490
  return Promise.reject(new Error("Could not load html2canvas: " + s));
@@ -6691,7 +6691,7 @@ var Vd, Kw, Zw, p1 = ["times"];
6691
6691
  return Math.floor(u * o / 72 * 96);
6692
6692
  }
6693
6693
  return this.then((function() {
6694
- (s = s || Yt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner") || (s.inner = { width: s.width - this.opt.margin[1] - this.opt.margin[3], height: s.height - this.opt.margin[0] - this.opt.margin[2] }, s.inner.px = { width: l(s.inner.width, s.k), height: l(s.inner.height, s.k) }, s.inner.ratio = s.inner.height / s.inner.width), this.prop.pageSize = s;
6694
+ (s = s || Gt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner") || (s.inner = { width: s.width - this.opt.margin[1] - this.opt.margin[3], height: s.height - this.opt.margin[0] - this.opt.margin[2] }, s.inner.px = { width: l(s.inner.width, s.k), height: l(s.inner.height, s.k) }, s.inner.ratio = s.inner.height / s.inner.width), this.prop.pageSize = s;
6695
6695
  }));
6696
6696
  }, a.prototype.setProgress = function(s, l, u, o) {
6697
6697
  return s != null && (this.progress.val = s), l != null && (this.progress.state = l), u != null && (this.progress.n = u), o != null && (this.progress.stack = o), this.progress.ratio = this.progress.val / this.progress.state, this;
@@ -6727,7 +6727,7 @@ var Vd, Kw, Zw, p1 = ["times"];
6727
6727
  return this.then((function() {
6728
6728
  throw new Error(s);
6729
6729
  }));
6730
- }, a.prototype.using = a.prototype.set, a.prototype.saveAs = a.prototype.save, a.prototype.export = a.prototype.output, a.prototype.run = a.prototype.then, Yt.getPageSize = function(s, l, u) {
6730
+ }, a.prototype.using = a.prototype.set, a.prototype.saveAs = a.prototype.save, a.prototype.export = a.prototype.output, a.prototype.run = a.prototype.then, Gt.getPageSize = function(s, l, u) {
6731
6731
  if (Ur(s) === "object") {
6732
6732
  var o = s;
6733
6733
  s = o.orientation, l = o.unit || l, u = o.format || u;
@@ -6779,7 +6779,7 @@ var Vd, Kw, Zw, p1 = ["times"];
6779
6779
  var u = new a(l);
6780
6780
  return l.worker ? u : u.from(s).doCallback();
6781
6781
  };
6782
- })(Yt.API), Yt.API.addJS = function(t) {
6782
+ })(Gt.API), Gt.API.addJS = function(t) {
6783
6783
  return Zw = t, this.internal.events.subscribe("postPutResources", (function() {
6784
6784
  Vd = this.internal.newObject(), this.internal.out("<<"), this.internal.out("/Names [(EmbeddedJS) " + (Vd + 1) + " 0 R]"), this.internal.out(">>"), this.internal.out("endobj"), Kw = this.internal.newObject(), this.internal.out("<<"), this.internal.out("/S /JavaScript"), this.internal.out("/JS (" + Zw + ")"), this.internal.out(">>"), this.internal.out("endobj");
6785
6785
  })), this.internal.events.subscribe("putCatalog", (function() {
@@ -6863,7 +6863,7 @@ endobj\r
6863
6863
  return n.count;
6864
6864
  };
6865
6865
  }]);
6866
- })(Yt.API), /**
6866
+ })(Gt.API), /**
6867
6867
  * @license
6868
6868
  *
6869
6869
  * Licensed under the MIT License.
@@ -6897,7 +6897,7 @@ endobj\r
6897
6897
  }
6898
6898
  return c;
6899
6899
  };
6900
- })(Yt.API);
6900
+ })(Gt.API);
6901
6901
  var gu, Gd, Jw, Qw, e3, IM = (function() {
6902
6902
  var t, r, e;
6903
6903
  function n(a) {
@@ -7283,8 +7283,8 @@ function m1(t) {
7283
7283
  me[Ze] = Oe + Ft, me[Ze + 4] = Oe - Ft;
7284
7284
  var xt = 0.707106781 * (Tt + _t);
7285
7285
  me[Ze + 2] = _t + xt, me[Ze + 6] = _t - xt;
7286
- var kt = 0.382683433 * ((Oe = or + Pt) - (Tt = dt + lt)), zt = 0.5411961 * Oe + kt, Gt = 1.306562965 * Tt + kt, mr = 0.707106781 * (Ft = Pt + dt), Wt = lt + mr, Nt = lt - mr;
7287
- me[Ze + 5] = Nt + zt, me[Ze + 3] = Nt - zt, me[Ze + 1] = Wt + Gt, me[Ze + 7] = Wt - Gt, Ze += 8;
7286
+ var kt = 0.382683433 * ((Oe = or + Pt) - (Tt = dt + lt)), zt = 0.5411961 * Oe + kt, Xt = 1.306562965 * Tt + kt, mr = 0.707106781 * (Ft = Pt + dt), Wt = lt + mr, Nt = lt - mr;
7287
+ me[Ze + 5] = Nt + zt, me[Ze + 3] = Nt - zt, me[Ze + 1] = Wt + Xt, me[Ze + 7] = Wt - Xt, Ze += 8;
7288
7288
  }
7289
7289
  for (Ze = 0, ft = 0; ft < 8; ++ft) {
7290
7290
  Ae = me[Ze], ke = me[Ze + 8], Re = me[Ze + 16], De = me[Ze + 24], Ye = me[Ze + 32], rt = me[Ze + 40], it = me[Ze + 48];
@@ -7690,7 +7690,7 @@ function r3(t) {
7690
7690
  }
7691
7691
  return 0;
7692
7692
  }
7693
- function Gt(z) {
7693
+ function Xt(z) {
7694
7694
  var V = z.ma, J = V.ba.S, te = 11 > J, le = J == Ed || J == kd || J == Nd || J == Hm || J == 12 || jt(J);
7695
7695
  if (V.memory = null, V.Ib = null, V.Jb = null, V.Nd = null, !Yc(V.Oa, z, le ? 11 : 12)) return 0;
7696
7696
  if (le && jt(J) && yt(), z.da) alert("todo:use_scaling");
@@ -8643,7 +8643,7 @@ function r3(t) {
8643
8643
  var ge = z.Fa, ye = z.P, Se = z.qc, je = z.mb, Ge = z.nb, Xe = ye + 1, Ue = Se - 1, ct = de.l;
8644
8644
  if (r(ge != null && je != null && V != null), bo[0] = null, bo[1] = tl, bo[2] = Wc, bo[3] = fo, de.ca = je, de.tb = Ge, de.c = V.width, de.i = V.height, r(0 < de.c && 0 < de.i), 1 >= Se) V = 0;
8645
8645
  else if (de.$a = ge[ye + 0] >> 0 & 3, de.Z = ge[ye + 0] >> 2 & 3, de.Lc = ge[ye + 0] >> 4 & 3, ye = ge[ye + 0] >> 6 & 3, 0 > de.$a || 1 < de.$a || 4 <= de.Z || 1 < de.Lc || ye) V = 0;
8646
- else if (ct.put = mr, ct.ac = Gt, ct.bc = Wt, ct.ma = de, ct.width = V.width, ct.height = V.height, ct.Da = V.Da, ct.v = V.v, ct.va = V.va, ct.j = V.j, ct.o = V.o, de.$a) e: {
8646
+ else if (ct.put = mr, ct.ac = Xt, ct.bc = Wt, ct.ma = de, ct.width = V.width, ct.height = V.height, ct.Da = V.Da, ct.v = V.v, ct.va = V.va, ct.j = V.j, ct.o = V.o, de.$a) e: {
8647
8647
  r(de.$a == 1), V = ze();
8648
8648
  t: for (; ; ) {
8649
8649
  if (V == null) {
@@ -8767,7 +8767,7 @@ function r3(t) {
8767
8767
  function Bt(z) {
8768
8768
  return z & -16384 ? 0 > z ? 0 : 255 : z >> AC;
8769
8769
  }
8770
- function Xt(z, V) {
8770
+ function Yt(z, V) {
8771
8771
  return Bt((19077 * z >> 8) + (26149 * V >> 8) - 14234);
8772
8772
  }
8773
8773
  function dr(z, V, J) {
@@ -8777,18 +8777,18 @@ function r3(t) {
8777
8777
  return Bt((19077 * z >> 8) + (33050 * V >> 8) - 17685);
8778
8778
  }
8779
8779
  function Ar(z, V, J, te, le) {
8780
- te[le + 0] = Xt(z, J), te[le + 1] = dr(z, V, J), te[le + 2] = cr(z, V);
8780
+ te[le + 0] = Yt(z, J), te[le + 1] = dr(z, V, J), te[le + 2] = cr(z, V);
8781
8781
  }
8782
8782
  function fn(z, V, J, te, le) {
8783
- te[le + 0] = cr(z, V), te[le + 1] = dr(z, V, J), te[le + 2] = Xt(z, J);
8783
+ te[le + 0] = cr(z, V), te[le + 1] = dr(z, V, J), te[le + 2] = Yt(z, J);
8784
8784
  }
8785
8785
  function hn(z, V, J, te, le) {
8786
8786
  var he = dr(z, V, J);
8787
- V = he << 3 & 224 | cr(z, V) >> 3, te[le + 0] = 248 & Xt(z, J) | he >> 5, te[le + 1] = V;
8787
+ V = he << 3 & 224 | cr(z, V) >> 3, te[le + 0] = 248 & Yt(z, J) | he >> 5, te[le + 1] = V;
8788
8788
  }
8789
8789
  function En(z, V, J, te, le) {
8790
8790
  var he = 240 & cr(z, V) | 15;
8791
- te[le + 0] = 240 & Xt(z, J) | dr(z, V, J) >> 4, te[le + 1] = he;
8791
+ te[le + 0] = 240 & Yt(z, J) | dr(z, V, J) >> 4, te[le + 1] = he;
8792
8792
  }
8793
8793
  function fi(z, V, J, te, le) {
8794
8794
  te[le + 0] = 255, Ar(z, V, J, te, le + 1);
@@ -9094,7 +9094,7 @@ function r3(t) {
9094
9094
  ge.width = ge.width[0], ge.height = ge.height[0], te != null && (te[0] = ge.width), le != null && (le[0] = ge.height);
9095
9095
  e: {
9096
9096
  if (te = new Ht(), (le = new qc()).data = z, le.w = V, le.ha = J, le.kd = 1, V = [0], r(le != null), ((z = tu(le.data, le.w, le.ha, null, null, null, V, null, le)) == 0 || z == 7) && V[0] && (z = 4), (V = z) == 0) {
9097
- if (r(de != null), te.data = le.data, te.w = le.w + le.offset, te.ha = le.ha - le.offset, te.put = mr, te.ac = Gt, te.bc = Wt, te.ma = de, le.xa) {
9097
+ if (r(de != null), te.data = le.data, te.w = le.w + le.offset, te.ha = le.ha - le.offset, te.put = mr, te.ac = Xt, te.bc = Wt, te.ma = de, le.xa) {
9098
9098
  if ((z = ze()) == null) {
9099
9099
  de = 1;
9100
9100
  break e;
@@ -9351,14 +9351,14 @@ function r3(t) {
9351
9351
  return E === this.decode.FLATE_DECODE && (x = "/Predictor " + N + " "), x += "/Colors " + _ + " /BitsPerComponent " + v + " /Columns " + b.width, (this.__addimage__.isArrayBuffer(h) || this.__addimage__.isArrayBufferView(h)) && (h = this.__addimage__.arrayBufferToBinaryString(h)), (O && this.__addimage__.isArrayBuffer(O) || this.__addimage__.isArrayBufferView(O)) && (O = this.__addimage__.arrayBufferToBinaryString(O)), { alias: g, data: h, index: f, filter: E, decodeParameters: x, transparency: y, palette: T, sMask: O, predictor: N, width: b.width, height: b.height, bitsPerComponent: v, colorSpace: p };
9352
9352
  }
9353
9353
  };
9354
- })(Yt.API), (function(t) {
9354
+ })(Gt.API), (function(t) {
9355
9355
  t.processGIF89A = function(r, e, n, i) {
9356
9356
  var a = new RM(r), s = a.width, l = a.height, u = [];
9357
9357
  a.decodeAndBlitFrameRGBA(0, u);
9358
9358
  var o = { data: u, width: s, height: l }, c = new m1(100).encode(o, 100);
9359
9359
  return t.processJPEG.call(this, c, e, n, i);
9360
9360
  }, t.processGIF87A = t.processGIF89A;
9361
- })(Yt.API), La.prototype.parseHeader = function() {
9361
+ })(Gt.API), La.prototype.parseHeader = function() {
9362
9362
  if (this.fileSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.reserved = this.datav.getUint32(this.pos, !0), this.pos += 4, this.offset = this.datav.getUint32(this.pos, !0), this.pos += 4, this.headerSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.width = this.datav.getUint32(this.pos, !0), this.pos += 4, this.height = this.datav.getInt32(this.pos, !0), this.pos += 4, this.planes = this.datav.getUint16(this.pos, !0), this.pos += 2, this.bitPP = this.datav.getUint16(this.pos, !0), this.pos += 2, this.compress = this.datav.getUint32(this.pos, !0), this.pos += 4, this.rawSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.hr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.vr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.colors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.importantColors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.bitPP === 16 && this.is_with_alpha && (this.bitPP = 15), this.bitPP < 15) {
9363
9363
  var t = this.colors === 0 ? 1 << this.bitPP : this.colors;
9364
9364
  this.palette = new Array(t);
@@ -9452,7 +9452,7 @@ function r3(t) {
9452
9452
  var a = new La(r, !1), s = a.width, l = a.height, u = { data: a.getData(), width: s, height: l }, o = new m1(100).encode(u, 100);
9453
9453
  return t.processJPEG.call(this, o, e, n, i);
9454
9454
  };
9455
- })(Yt.API), r3.prototype.getData = function() {
9455
+ })(Gt.API), r3.prototype.getData = function() {
9456
9456
  return this.data;
9457
9457
  }, /**
9458
9458
  * @license
@@ -9466,18 +9466,18 @@ function r3(t) {
9466
9466
  var a = new r3(r), s = a.width, l = a.height, u = { data: a.getData(), width: s, height: l }, o = new m1(100).encode(u, 100);
9467
9467
  return t.processJPEG.call(this, o, e, n, i);
9468
9468
  };
9469
- })(Yt.API), Yt.API.processRGBA = function(t, r, e) {
9469
+ })(Gt.API), Gt.API.processRGBA = function(t, r, e) {
9470
9470
  for (var n = t.data, i = n.length, a = new Uint8Array(i / 4 * 3), s = new Uint8Array(i / 4), l = 0, u = 0, o = 0; o < i; o += 4) {
9471
9471
  var c = n[o], d = n[o + 1], h = n[o + 2], f = n[o + 3];
9472
9472
  a[l++] = c, a[l++] = d, a[l++] = h, s[u++] = f;
9473
9473
  }
9474
9474
  var g = this.__addimage__.arrayBufferToBinaryString(a);
9475
9475
  return { alpha: this.__addimage__.arrayBufferToBinaryString(s), data: g, index: r, alias: e, colorSpace: "DeviceRGB", bitsPerComponent: 8, width: t.width, height: t.height };
9476
- }, Yt.API.setLanguage = function(t) {
9476
+ }, Gt.API.setLanguage = function(t) {
9477
9477
  return this.internal.languageSettings === void 0 && (this.internal.languageSettings = {}, this.internal.languageSettings.isSubscribed = !1), { af: "Afrikaans", sq: "Albanian", ar: "Arabic (Standard)", "ar-DZ": "Arabic (Algeria)", "ar-BH": "Arabic (Bahrain)", "ar-EG": "Arabic (Egypt)", "ar-IQ": "Arabic (Iraq)", "ar-JO": "Arabic (Jordan)", "ar-KW": "Arabic (Kuwait)", "ar-LB": "Arabic (Lebanon)", "ar-LY": "Arabic (Libya)", "ar-MA": "Arabic (Morocco)", "ar-OM": "Arabic (Oman)", "ar-QA": "Arabic (Qatar)", "ar-SA": "Arabic (Saudi Arabia)", "ar-SY": "Arabic (Syria)", "ar-TN": "Arabic (Tunisia)", "ar-AE": "Arabic (U.A.E.)", "ar-YE": "Arabic (Yemen)", an: "Aragonese", hy: "Armenian", as: "Assamese", ast: "Asturian", az: "Azerbaijani", eu: "Basque", be: "Belarusian", bn: "Bengali", bs: "Bosnian", br: "Breton", bg: "Bulgarian", my: "Burmese", ca: "Catalan", ch: "Chamorro", ce: "Chechen", zh: "Chinese", "zh-HK": "Chinese (Hong Kong)", "zh-CN": "Chinese (PRC)", "zh-SG": "Chinese (Singapore)", "zh-TW": "Chinese (Taiwan)", cv: "Chuvash", co: "Corsican", cr: "Cree", hr: "Croatian", cs: "Czech", da: "Danish", nl: "Dutch (Standard)", "nl-BE": "Dutch (Belgian)", en: "English", "en-AU": "English (Australia)", "en-BZ": "English (Belize)", "en-CA": "English (Canada)", "en-IE": "English (Ireland)", "en-JM": "English (Jamaica)", "en-NZ": "English (New Zealand)", "en-PH": "English (Philippines)", "en-ZA": "English (South Africa)", "en-TT": "English (Trinidad & Tobago)", "en-GB": "English (United Kingdom)", "en-US": "English (United States)", "en-ZW": "English (Zimbabwe)", eo: "Esperanto", et: "Estonian", fo: "Faeroese", fj: "Fijian", fi: "Finnish", fr: "French (Standard)", "fr-BE": "French (Belgium)", "fr-CA": "French (Canada)", "fr-FR": "French (France)", "fr-LU": "French (Luxembourg)", "fr-MC": "French (Monaco)", "fr-CH": "French (Switzerland)", fy: "Frisian", fur: "Friulian", gd: "Gaelic (Scots)", "gd-IE": "Gaelic (Irish)", gl: "Galacian", ka: "Georgian", de: "German (Standard)", "de-AT": "German (Austria)", "de-DE": "German (Germany)", "de-LI": "German (Liechtenstein)", "de-LU": "German (Luxembourg)", "de-CH": "German (Switzerland)", el: "Greek", gu: "Gujurati", ht: "Haitian", he: "Hebrew", hi: "Hindi", hu: "Hungarian", is: "Icelandic", id: "Indonesian", iu: "Inuktitut", ga: "Irish", it: "Italian (Standard)", "it-CH": "Italian (Switzerland)", ja: "Japanese", kn: "Kannada", ks: "Kashmiri", kk: "Kazakh", km: "Khmer", ky: "Kirghiz", tlh: "Klingon", ko: "Korean", "ko-KP": "Korean (North Korea)", "ko-KR": "Korean (South Korea)", la: "Latin", lv: "Latvian", lt: "Lithuanian", lb: "Luxembourgish", mk: "North Macedonia", ms: "Malay", ml: "Malayalam", mt: "Maltese", mi: "Maori", mr: "Marathi", mo: "Moldavian", nv: "Navajo", ng: "Ndonga", ne: "Nepali", no: "Norwegian", nb: "Norwegian (Bokmal)", nn: "Norwegian (Nynorsk)", oc: "Occitan", or: "Oriya", om: "Oromo", fa: "Persian", "fa-IR": "Persian/Iran", pl: "Polish", pt: "Portuguese", "pt-BR": "Portuguese (Brazil)", pa: "Punjabi", "pa-IN": "Punjabi (India)", "pa-PK": "Punjabi (Pakistan)", qu: "Quechua", rm: "Rhaeto-Romanic", ro: "Romanian", "ro-MO": "Romanian (Moldavia)", ru: "Russian", "ru-MO": "Russian (Moldavia)", sz: "Sami (Lappish)", sg: "Sango", sa: "Sanskrit", sc: "Sardinian", sd: "Sindhi", si: "Singhalese", sr: "Serbian", sk: "Slovak", sl: "Slovenian", so: "Somani", sb: "Sorbian", es: "Spanish", "es-AR": "Spanish (Argentina)", "es-BO": "Spanish (Bolivia)", "es-CL": "Spanish (Chile)", "es-CO": "Spanish (Colombia)", "es-CR": "Spanish (Costa Rica)", "es-DO": "Spanish (Dominican Republic)", "es-EC": "Spanish (Ecuador)", "es-SV": "Spanish (El Salvador)", "es-GT": "Spanish (Guatemala)", "es-HN": "Spanish (Honduras)", "es-MX": "Spanish (Mexico)", "es-NI": "Spanish (Nicaragua)", "es-PA": "Spanish (Panama)", "es-PY": "Spanish (Paraguay)", "es-PE": "Spanish (Peru)", "es-PR": "Spanish (Puerto Rico)", "es-ES": "Spanish (Spain)", "es-UY": "Spanish (Uruguay)", "es-VE": "Spanish (Venezuela)", sx: "Sutu", sw: "Swahili", sv: "Swedish", "sv-FI": "Swedish (Finland)", "sv-SV": "Swedish (Sweden)", ta: "Tamil", tt: "Tatar", te: "Teluga", th: "Thai", tig: "Tigre", ts: "Tsonga", tn: "Tswana", tr: "Turkish", tk: "Turkmen", uk: "Ukrainian", hsb: "Upper Sorbian", ur: "Urdu", ve: "Venda", vi: "Vietnamese", vo: "Volapuk", wa: "Walloon", cy: "Welsh", xh: "Xhosa", ji: "Yiddish", zu: "Zulu" }[t] !== void 0 && (this.internal.languageSettings.languageCode = t, this.internal.languageSettings.isSubscribed === !1 && (this.internal.events.subscribe("putCatalog", (function() {
9478
9478
  this.internal.write("/Lang (" + this.internal.languageSettings.languageCode + ")");
9479
9479
  })), this.internal.languageSettings.isSubscribed = !0)), this;
9480
- }, gu = Yt.API, Gd = gu.getCharWidthsArray = function(t, r) {
9480
+ }, gu = Gt.API, Gd = gu.getCharWidthsArray = function(t, r) {
9481
9481
  var e, n, i = (r = r || {}).font || this.internal.getFont(), a = r.fontSize || this.internal.getFontSize(), s = r.charSpace || this.internal.getCharSpace(), l = r.widths ? r.widths : i.metadata.Unicode.widths, u = l.fof ? l.fof : 1, o = r.kerning ? r.kerning : i.metadata.Unicode.kerning, c = o.fof ? o.fof : 1, d = r.doKerning !== !1, h = 0, f = t.length, g = 0, m = l[0] || u, p = [];
9482
9482
  for (e = 0; e < f; e++) n = t.charCodeAt(e), typeof i.metadata.widthOfString == "function" ? p.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n)) + s * (1e3 / a) || 0) / 1e3) : (h = d && Ur(o[n]) === "object" && !isNaN(parseInt(o[n][g], 10)) ? o[n][g] / c : 0, p.push((l[n] || m) / u + h)), g = n;
9483
9483
  return p;
@@ -9563,7 +9563,7 @@ function r3(t) {
9563
9563
  var g = o.Unicode[h.postScriptName];
9564
9564
  g && (h.metadata.Unicode.encoding = g, h.encoding = g.codePages[0]);
9565
9565
  }]);
9566
- })(Yt.API), /**
9566
+ })(Gt.API), /**
9567
9567
  * @license
9568
9568
  * Licensed under the MIT License.
9569
9569
  * http://opensource.org/licenses/mit-license
@@ -9583,7 +9583,7 @@ function r3(t) {
9583
9583
  })(i, n);
9584
9584
  }
9585
9585
  }]);
9586
- })(Yt), /** @license
9586
+ })(Gt), /** @license
9587
9587
  * Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
9588
9588
  *
9589
9589
  * Permission is hereby granted, free of charge, to any person obtaining
@@ -9608,13 +9608,13 @@ function r3(t) {
9608
9608
  */
9609
9609
  (function(t) {
9610
9610
  function r() {
9611
- return (nr.canvg ? Promise.resolve(nr.canvg) : import("./index.es-CBVe9lGE.mjs")).catch((function(e) {
9611
+ return (nr.canvg ? Promise.resolve(nr.canvg) : import("./index.es-DCidSzTx.mjs")).catch((function(e) {
9612
9612
  return Promise.reject(new Error("Could not load canvg: " + e));
9613
9613
  })).then((function(e) {
9614
9614
  return e.default ? e.default : e;
9615
9615
  }));
9616
9616
  }
9617
- Yt.API.addSvgAsImage = function(e, n, i, a, s, l, u, o) {
9617
+ Gt.API.addSvgAsImage = function(e, n, i, a, s, l, u, o) {
9618
9618
  if (isNaN(n) || isNaN(i)) throw Jr.error("jsPDF.addSvgAsImage: Invalid coordinates", arguments), new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");
9619
9619
  if (isNaN(a) || isNaN(s)) throw Jr.error("jsPDF.addSvgAsImage: Invalid measurements", arguments), new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");
9620
9620
  var c = document.createElement("canvas");
@@ -9632,12 +9632,12 @@ function r3(t) {
9632
9632
  f.addImage(c.toDataURL("image/jpeg", 1), n, i, a, s, u, o);
9633
9633
  }));
9634
9634
  };
9635
- })(), Yt.API.putTotalPages = function(t) {
9635
+ })(), Gt.API.putTotalPages = function(t) {
9636
9636
  var r, e = 0;
9637
9637
  parseInt(this.internal.getFont().id.substr(1), 10) < 15 ? (r = new RegExp(t, "g"), e = this.internal.getNumberOfPages()) : (r = new RegExp(this.pdfEscape16(t, this.internal.getFont()), "g"), e = this.pdfEscape16(this.internal.getNumberOfPages() + "", this.internal.getFont()));
9638
9638
  for (var n = 1; n <= this.internal.getNumberOfPages(); n++) for (var i = 0; i < this.internal.pages[n].length; i++) this.internal.pages[n][i] = this.internal.pages[n][i].replace(r, e);
9639
9639
  return this;
9640
- }, Yt.API.viewerPreferences = function(t, r) {
9640
+ }, Gt.API.viewerPreferences = function(t, r) {
9641
9641
  var e;
9642
9642
  t = t || {}, r = r || !1;
9643
9643
  var n, i, a, s = { HideToolbar: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, HideMenubar: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, HideWindowUI: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, FitWindow: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, CenterWindow: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.3 }, DisplayDocTitle: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.4 }, NonFullScreenPageMode: { defaultValue: "UseNone", value: "UseNone", type: "name", explicitSet: !1, valueSet: ["UseNone", "UseOutlines", "UseThumbs", "UseOC"], pdfVersion: 1.3 }, Direction: { defaultValue: "L2R", value: "L2R", type: "name", explicitSet: !1, valueSet: ["L2R", "R2L"], pdfVersion: 1.3 }, ViewArea: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, ViewClip: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, PrintArea: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, PrintClip: { defaultValue: "CropBox", value: "CropBox", type: "name", explicitSet: !1, valueSet: ["MediaBox", "CropBox", "TrimBox", "BleedBox", "ArtBox"], pdfVersion: 1.4 }, PrintScaling: { defaultValue: "AppDefault", value: "AppDefault", type: "name", explicitSet: !1, valueSet: ["AppDefault", "None"], pdfVersion: 1.6 }, Duplex: { defaultValue: "", value: "none", type: "name", explicitSet: !1, valueSet: ["Simplex", "DuplexFlipShortEdge", "DuplexFlipLongEdge", "none"], pdfVersion: 1.7 }, PickTrayByPDFSize: { defaultValue: !1, value: !1, type: "boolean", explicitSet: !1, valueSet: [!0, !1], pdfVersion: 1.7 }, PrintPageRange: { defaultValue: "", value: "", type: "array", explicitSet: !1, valueSet: null, pdfVersion: 1.7 }, NumCopies: { defaultValue: 1, value: 1, type: "integer", explicitSet: !1, valueSet: null, pdfVersion: 1.7 } }, l = Object.keys(s), u = [], o = 0, c = 0, d = 0;
@@ -9710,7 +9710,7 @@ function r3(t) {
9710
9710
  t.addMetadata = function(n, i) {
9711
9711
  return this.internal.__metadata__ === void 0 && (this.internal.__metadata__ = { metadata: n, namespaceuri: i || "http://jspdf.default.namespaceuri/" }, this.internal.events.subscribe("putCatalog", e), this.internal.events.subscribe("postPutResources", r)), this;
9712
9712
  };
9713
- })(Yt.API), (function(t) {
9713
+ })(Gt.API), (function(t) {
9714
9714
  var r = t.API, e = r.pdfEscape16 = function(a, s) {
9715
9715
  for (var l, u = s.metadata.Unicode.widths, o = ["", "0", "00", "000", "0000"], c = [""], d = 0, h = a.length; d < h; ++d) {
9716
9716
  if (l = s.metadata.characterToGlyph(a.charCodeAt(d)), s.metadata.glyIdsUsed.push(l), s.metadata.toUnicode[l] = a.charCodeAt(d), u.indexOf(l) == -1 && (u.push(l), u.push([parseInt(s.metadata.widthOfGlyph(l), 10)])), l == "0") return c.join("");
@@ -9796,7 +9796,7 @@ end`;
9796
9796
  a.text = l;
9797
9797
  } else a.text = i(Object.assign({}, u, { text: s })).text;
9798
9798
  }]);
9799
- })(Yt), /**
9799
+ })(Gt), /**
9800
9800
  * @license
9801
9801
  * jsPDF virtual FileSystem functionality
9802
9802
  *
@@ -9814,7 +9814,7 @@ end`;
9814
9814
  }, t.getFileFromVFS = function(e) {
9815
9815
  return r.call(this), this.internal.vFS[e] !== void 0 ? this.internal.vFS[e] : null;
9816
9816
  };
9817
- })(Yt.API), /**
9817
+ })(Gt.API), /**
9818
9818
  * @license
9819
9819
  * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
9820
9820
  * MIT License
@@ -9971,7 +9971,7 @@ end`;
9971
9971
  } else n.text = e.doBidiReorder(i);
9972
9972
  e.setOptions({ isInputVisual: !0 });
9973
9973
  }]);
9974
- })(Yt), Yt.API.TTFFont = (function() {
9974
+ })(Gt), Gt.API.TTFFont = (function() {
9975
9975
  function t(r) {
9976
9976
  var e;
9977
9977
  if (this.rawData = r, e = this.contents = new Uo(r), this.contents.pos = 4, e.readString(4) === "ttcf") throw new Error("TTCF not supported.");
@@ -10365,7 +10365,7 @@ var FM = (function(t) {
10365
10365
  })(), a = this.font.glyf.encode(s, m, f), o = this.font.loca.encode(a.offsets, m), p = { cmap: this.font.cmap.raw(), glyf: a.table, loca: o, hmtx: this.font.hmtx.raw(), hhea: this.font.hhea.raw(), maxp: this.font.maxp.raw(), post: this.font.post.raw(), name: this.font.name.raw(), head: this.font.head.encode(e) }, this.font.os2.exists && (p["OS/2"] = this.font.os2.raw()), this.font.directory.encode(p);
10366
10366
  }, t;
10367
10367
  })();
10368
- Yt.API.PDFObject = (function() {
10368
+ Gt.API.PDFObject = (function() {
10369
10369
  var t;
10370
10370
  function r() {
10371
10371
  }
@@ -10406,8 +10406,8 @@ const KM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10406
10406
  GState: Zf,
10407
10407
  ShadingPattern: Co,
10408
10408
  TilingPattern: gl,
10409
- default: Yt,
10410
- jsPDF: Yt
10409
+ default: Gt,
10410
+ jsPDF: Gt
10411
10411
  }, Symbol.toStringTag, { value: "Module" }));
10412
10412
  var lr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10413
10413
  function Fr(t) {
@@ -11866,7 +11866,7 @@ function Vp(t) {
11866
11866
  t.setPage(n), t.setFontSize(7), t.setTextColor(148, 163, 184), t.setFont(void 0, "normal"), t.text(`Page ${n} of ${r}`, e - 14, t.internal.pageSize.height - 8, { align: "right" });
11867
11867
  }
11868
11868
  function Uae({ title: t, subtitle: r, headers: e, rows: n, filename: i, orientation: a = "portrait", schoolInfo: s = null }) {
11869
- const l = new Yt(a), u = Wp(l, s, t, a);
11869
+ const l = new Gt(a), u = Wp(l, s, t, a);
11870
11870
  r && (l.setFontSize(10), l.setTextColor(100, 116, 139), l.setFont(void 0, "normal"), l.text(r, 14, u)), l.autoTable({
11871
11871
  startY: r ? u + 6 : u,
11872
11872
  head: [e],
@@ -11879,7 +11879,7 @@ function Uae({ title: t, subtitle: r, headers: e, rows: n, filename: i, orientat
11879
11879
  }
11880
11880
  function qae({ student: t, exams: r, schoolName: e, schoolInfo: n = null }) {
11881
11881
  var l;
11882
- const i = new Yt(), a = Wp(i, n || (e ? { name: e } : null), "Student Report Card");
11882
+ const i = new Gt(), a = Wp(i, n || (e ? { name: e } : null), "Student Report Card");
11883
11883
  i.setFontSize(10), i.setTextColor(71, 85, 105), i.setFont(void 0, "normal"), i.text(`Name: ${t.full_name}`, 14, a), i.text(`Roll No: ${t.roll_number || t.admission_number || ""}`, 14, a + 6), i.text(`Class: ${t.class_section || t.class_name + "-" + t.section}`, 120, a), i.text("Academic Year: 2025-2026", 120, a + 6);
11884
11884
  let s = a + 14;
11885
11885
  (r || []).forEach((u) => {
@@ -11893,10 +11893,10 @@ function qae({ student: t, exams: r, schoolName: e, schoolInfo: n = null }) {
11893
11893
  }), s = i.lastAutoTable.finalY + 8);
11894
11894
  }), Vp(i), i.save(`report-card-${(l = t.full_name) == null ? void 0 : l.replace(/\s+/g, "-")}.pdf`);
11895
11895
  }
11896
- function Hae({ student: t, payment: r, schoolName: e, schoolInfo: n = null }) {
11897
- const i = new Yt(), a = Wp(i, n || (e ? { name: e } : null), "Fee Payment Receipt");
11898
- i.setFontSize(10), i.setTextColor(71, 85, 105);
11899
- const s = [
11896
+ function Hae({ student: t, payment: r, schoolName: e, schoolInfo: n = null, filename: i = null }) {
11897
+ const a = new Gt(), s = Wp(a, n || (e ? { name: e } : null), "Fee Payment Receipt");
11898
+ a.setFontSize(10), a.setTextColor(71, 85, 105);
11899
+ const l = [
11900
11900
  ["Student Name", t.name || t.full_name || ""],
11901
11901
  ["Class", t.class_name || ""],
11902
11902
  ["Receipt No", r.ref || r.reference || `RCP-${Date.now()}`],
@@ -11905,16 +11905,16 @@ function Hae({ student: t, payment: r, schoolName: e, schoolInfo: n = null }) {
11905
11905
  ["Payment Method", r.method || "Online"],
11906
11906
  ["Status", r.status || "Paid"]
11907
11907
  ];
11908
- i.autoTable({
11909
- startY: a,
11910
- body: s,
11908
+ a.autoTable({
11909
+ startY: s,
11910
+ body: l,
11911
11911
  styles: { fontSize: 10 },
11912
11912
  columnStyles: { 0: { fontStyle: "bold", cellWidth: 50 } },
11913
11913
  margin: { left: 14, right: 14 }
11914
- }), i.setFontSize(8), i.setTextColor(148, 163, 184), i.text("This is a computer-generated receipt.", 105, i.internal.pageSize.height - 15, { align: "center" }), Vp(i), i.save(`fee-receipt-${t.name || "student"}.pdf`);
11914
+ }), a.setFontSize(8), a.setTextColor(148, 163, 184), a.text("This is a computer-generated receipt.", 105, a.internal.pageSize.height - 15, { align: "center" }), Vp(a), a.save(`${i || `fee-receipt-${t.name || "student"}`}.pdf`);
11915
11915
  }
11916
11916
  function Wae({ className: t, date: r, records: e, summary: n, schoolInfo: i = null }) {
11917
- const a = new Yt(), s = Wp(a, i, "Attendance Report");
11917
+ const a = new Gt(), s = Wp(a, i, "Attendance Report");
11918
11918
  a.setFontSize(10), a.setTextColor(71, 85, 105), a.setFont(void 0, "normal"), a.text(`Class: ${t} | Date: ${r}`, 14, s), a.text(`Present: ${(n == null ? void 0 : n.present) || 0} | Absent: ${(n == null ? void 0 : n.absent) || 0} | Late: ${(n == null ? void 0 : n.late) || 0} | Total: ${(e == null ? void 0 : e.length) || 0}`, 14, s + 6), a.autoTable({
11919
11919
  startY: s + 12,
11920
11920
  head: [["Roll No", "Student Name", "Status"]],
@@ -11925,6 +11925,53 @@ function Wae({ className: t, date: r, records: e, summary: n, schoolInfo: i = nu
11925
11925
  margin: { left: 14, right: 14 }
11926
11926
  }), Vp(a), a.save(`Attendance_${t}_${r}.pdf`);
11927
11927
  }
11928
+ function Vae({ schoolInfo: t, className: r, section: e, periods: n, days: i, slots: a, academicYear: s, title: l }) {
11929
+ const u = new Gt("landscape"), o = u.internal.pageSize.width;
11930
+ let c = 12;
11931
+ const d = 10, h = o - 10;
11932
+ if (t != null && t.name) {
11933
+ u.setFontSize(14), u.setTextColor(30, 58, 95), u.setFont(void 0, "bold"), u.text(t.name, d, c), u.setFontSize(12), u.setTextColor(30, 41, 59), u.text(l || `Class ${r} - ${e} Timetable`, h, c, { align: "right" }), c += 5;
11934
+ const y = [t.address || "", t.phone ? `Ph: ${t.phone}` : "", t.email || ""].filter(Boolean);
11935
+ y.length && (u.setFontSize(8), u.setTextColor(100, 116, 139), u.setFont(void 0, "normal"), u.text(y.join(" | "), d, c)), u.setFontSize(8), u.setTextColor(100, 116, 139), u.setFont(void 0, "normal");
11936
+ const _ = [s ? `AY: ${s}` : "", `Generated: ${(/* @__PURE__ */ new Date()).toLocaleDateString("en-IN", { day: "2-digit", month: "short", year: "numeric" })}`].filter(Boolean).join(" | ");
11937
+ u.text(_, h, c, { align: "right" }), c += 6;
11938
+ } else
11939
+ u.setFontSize(13), u.setTextColor(30, 41, 59), u.setFont(void 0, "bold"), u.text(l || `Class ${r || ""} - ${e || ""} Timetable`, d, c), c += 8;
11940
+ u.setDrawColor(220, 225, 230), u.setLineWidth(0.4), u.line(d, c, h, c), c += 4;
11941
+ const f = (y) => y ? y.slice(0, 5) : "", g = 2 + i.length, m = ["Period", "Time", ...i.map((y) => y.slice(0, 3))], p = [];
11942
+ let v = 0;
11943
+ for (const y of n)
11944
+ if (y.is_break) {
11945
+ const T = [`${y.name || "BREAK"} (${f(y.start_time)} - ${f(y.end_time)})`, ...Array(g - 1).fill("")];
11946
+ p.push({ data: T, isBreak: !0 });
11947
+ } else {
11948
+ const _ = [y.name || `Period ${v + 1}`, `${f(y.start_time)} - ${f(y.end_time)}`];
11949
+ i.forEach((T) => {
11950
+ const M = (a[T] || [])[v] || null;
11951
+ _.push(M ? `${M.subject || M.subject_name || ""}
11952
+ ${M.teacher_name || M.teacher || ""}` : "");
11953
+ }), p.push({ data: _, isBreak: !1 }), v++;
11954
+ }
11955
+ u.autoTable({
11956
+ startY: c,
11957
+ head: [m],
11958
+ body: p.map((y) => y.data),
11959
+ styles: { fontSize: 8.5, cellPadding: 2.5, valign: "middle", halign: "center", lineColor: [220, 225, 230], lineWidth: 0.3, minCellHeight: 12 },
11960
+ headStyles: { fillColor: [43, 87, 154], textColor: 255, fontStyle: "bold", fontSize: 9, minCellHeight: 10 },
11961
+ columnStyles: { 0: { cellWidth: 20, fontStyle: "bold", halign: "left" }, 1: { cellWidth: 22, halign: "center", fontSize: 8 } },
11962
+ didParseCell: (y) => {
11963
+ if (y.section === "body") {
11964
+ const _ = p[y.row.index];
11965
+ _ != null && _.isBreak ? (y.cell.styles.fillColor = [254, 243, 199], y.cell.styles.textColor = [146, 64, 14], y.cell.styles.fontStyle = "bold", y.cell.styles.fontSize = 9, y.cell.styles.halign = "center", y.column.index > 0 && (y.cell.text = []), y.column.index === 0 && (y.cell.colSpan = g)) : y.row.index % 2 === 0 && (y.cell.styles.fillColor = [248, 250, 252]);
11966
+ }
11967
+ },
11968
+ margin: { left: 8, right: 8 }
11969
+ });
11970
+ const b = u.internal.getNumberOfPages();
11971
+ for (let y = 1; y <= b; y++)
11972
+ u.setPage(y), u.setFontSize(7), u.setTextColor(148, 163, 184), u.text(`Page ${y} of ${b}`, o - 10, u.internal.pageSize.height - 8, { align: "right" });
11973
+ u.save(`Timetable_${r || "My"}_${e || "Schedule"}.pdf`);
11974
+ }
11928
11975
  /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
11929
11976
  var A0 = {};
11930
11977
  A0.version = "0.18.5";
@@ -13925,7 +13972,7 @@ var CI = /* @__PURE__ */ (function() {
13925
13972
  return ce.join(`\r
13926
13973
  `);
13927
13974
  }
13928
- function Gt(se) {
13975
+ function Xt(se) {
13929
13976
  for (var xe = [], ce = 0; ce < se.length; ++ce) {
13930
13977
  for (var ve = se[ce]; ce <= se.length && ve.charAt(ve.length - 1) == "="; ) ve = ve.slice(0, ve.length - 1) + se[++ce];
13931
13978
  xe.push(ve);
@@ -13958,7 +14005,7 @@ var CI = /* @__PURE__ */ (function() {
13958
14005
  Ie = qa(Ys(xe.slice(ze).join("")));
13959
14006
  break;
13960
14007
  case "quoted-printable":
13961
- Ie = Gt(xe.slice(ze));
14008
+ Ie = Xt(xe.slice(ze));
13962
14009
  break;
13963
14010
  default:
13964
14011
  throw new Error("Unsupported Content-Transfer-Encoding " + be);
@@ -27543,7 +27590,7 @@ function ry(t, r, e) {
27543
27590
  t["!merges"].push({ s: { r: i, c: 0 }, e: { r: i, c: e - 1 } });
27544
27591
  }));
27545
27592
  }
27546
- function Vae(t, r, e, n = "Sheet1", i = null, a = null) {
27593
+ function Gae(t, r, e, n = "Sheet1", i = null, a = null) {
27547
27594
  let s, l, u;
27548
27595
  if (Array.isArray(t) && typeof t[0] == "object" && !Array.isArray(t[0])) {
27549
27596
  const o = t;
@@ -27568,7 +27615,7 @@ function Vae(t, r, e, n = "Sheet1", i = null, a = null) {
27568
27615
  os.book_append_sheet(h, s, n), ey(h, `${l}.xlsx`);
27569
27616
  }
27570
27617
  }
27571
- function Gae(t, r, e = null, n = null) {
27618
+ function Xae(t, r, e = null, n = null) {
27572
27619
  const i = os.book_new(), a = ty(e, n);
27573
27620
  r.forEach(({ name: s, headers: l, rows: u }) => {
27574
27621
  const o = [...a, l, ...u], c = os.aoa_to_sheet(o);
@@ -36645,7 +36692,7 @@ function U$() {
36645
36692
  return this.clone().isub(k);
36646
36693
  };
36647
36694
  var b = function(k, R, E) {
36648
- var x, w, S, A = k.words, P = R.words, q = E.words, N = 0, H = 0 | A[0], W = 8191 & H, X = H >>> 13, B = 0 | A[1], Z = 8191 & B, D = B >>> 13, j = 0 | A[2], G = 8191 & j, Q = j >>> 13, ee = 0 | A[3], re = 8191 & ee, ae = ee >>> 13, fe = 0 | A[4], ne = 8191 & fe, ie = fe >>> 13, _e = 0 | A[5], me = 8191 & _e, Te = _e >>> 13, Ae = 0 | A[6], ke = 8191 & Ae, Re = Ae >>> 13, De = 0 | A[7], Ye = 8191 & De, rt = De >>> 13, it = 0 | A[8], at = 8191 & it, ft = it >>> 13, bt = 0 | A[9], Ze = 8191 & bt, It = bt >>> 13, lt = 0 | P[0], gt = 8191 & lt, dt = lt >>> 13, St = 0 | P[1], Pt = 8191 & St, jt = St >>> 13, or = 0 | P[2], Oe = 8191 & or, _t = or >>> 13, Ft = 0 | P[3], Tt = 8191 & Ft, xt = Ft >>> 13, kt = 0 | P[4], zt = 8191 & kt, Gt = kt >>> 13, mr = 0 | P[5], Wt = 8191 & mr, Nt = mr >>> 13, hr = 0 | P[6], Vt = 8191 & hr, Ce = hr >>> 13, $e = 0 | P[7], Ke = 8191 & $e, se = $e >>> 13, xe = 0 | P[8], ce = 8191 & xe, ve = xe >>> 13, be = 0 | P[9], we = 8191 & be, Ie = be >>> 13;
36695
+ var x, w, S, A = k.words, P = R.words, q = E.words, N = 0, H = 0 | A[0], W = 8191 & H, X = H >>> 13, B = 0 | A[1], Z = 8191 & B, D = B >>> 13, j = 0 | A[2], G = 8191 & j, Q = j >>> 13, ee = 0 | A[3], re = 8191 & ee, ae = ee >>> 13, fe = 0 | A[4], ne = 8191 & fe, ie = fe >>> 13, _e = 0 | A[5], me = 8191 & _e, Te = _e >>> 13, Ae = 0 | A[6], ke = 8191 & Ae, Re = Ae >>> 13, De = 0 | A[7], Ye = 8191 & De, rt = De >>> 13, it = 0 | A[8], at = 8191 & it, ft = it >>> 13, bt = 0 | A[9], Ze = 8191 & bt, It = bt >>> 13, lt = 0 | P[0], gt = 8191 & lt, dt = lt >>> 13, St = 0 | P[1], Pt = 8191 & St, jt = St >>> 13, or = 0 | P[2], Oe = 8191 & or, _t = or >>> 13, Ft = 0 | P[3], Tt = 8191 & Ft, xt = Ft >>> 13, kt = 0 | P[4], zt = 8191 & kt, Xt = kt >>> 13, mr = 0 | P[5], Wt = 8191 & mr, Nt = mr >>> 13, hr = 0 | P[6], Vt = 8191 & hr, Ce = hr >>> 13, $e = 0 | P[7], Ke = 8191 & $e, se = $e >>> 13, xe = 0 | P[8], ce = 8191 & xe, ve = xe >>> 13, be = 0 | P[9], we = 8191 & be, Ie = be >>> 13;
36649
36696
  E.negative = k.negative ^ R.negative, E.length = 19;
36650
36697
  var ze = (N + (x = Math.imul(W, gt)) | 0) + ((8191 & (w = (w = Math.imul(W, dt)) + Math.imul(X, gt) | 0)) << 13) | 0;
36651
36698
  N = ((S = Math.imul(X, dt)) + (w >>> 13) | 0) + (ze >>> 26) | 0, ze &= 67108863, x = Math.imul(Z, gt), w = (w = Math.imul(Z, dt)) + Math.imul(D, gt) | 0, S = Math.imul(D, dt);
@@ -36655,24 +36702,24 @@ function U$() {
36655
36702
  N = ((S = S + Math.imul(X, _t) | 0) + (w >>> 13) | 0) + (qe >>> 26) | 0, qe &= 67108863, x = Math.imul(re, gt), w = (w = Math.imul(re, dt)) + Math.imul(ae, gt) | 0, S = Math.imul(ae, dt), x = x + Math.imul(G, Pt) | 0, w = (w = w + Math.imul(G, jt) | 0) + Math.imul(Q, Pt) | 0, S = S + Math.imul(Q, jt) | 0, x = x + Math.imul(Z, Oe) | 0, w = (w = w + Math.imul(Z, _t) | 0) + Math.imul(D, Oe) | 0, S = S + Math.imul(D, _t) | 0;
36656
36703
  var He = (N + (x = x + Math.imul(W, Tt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, xt) | 0) + Math.imul(X, Tt) | 0)) << 13) | 0;
36657
36704
  N = ((S = S + Math.imul(X, xt) | 0) + (w >>> 13) | 0) + (He >>> 26) | 0, He &= 67108863, x = Math.imul(ne, gt), w = (w = Math.imul(ne, dt)) + Math.imul(ie, gt) | 0, S = Math.imul(ie, dt), x = x + Math.imul(re, Pt) | 0, w = (w = w + Math.imul(re, jt) | 0) + Math.imul(ae, Pt) | 0, S = S + Math.imul(ae, jt) | 0, x = x + Math.imul(G, Oe) | 0, w = (w = w + Math.imul(G, _t) | 0) + Math.imul(Q, Oe) | 0, S = S + Math.imul(Q, _t) | 0, x = x + Math.imul(Z, Tt) | 0, w = (w = w + Math.imul(Z, xt) | 0) + Math.imul(D, Tt) | 0, S = S + Math.imul(D, xt) | 0;
36658
- var st = (N + (x = x + Math.imul(W, zt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, Gt) | 0) + Math.imul(X, zt) | 0)) << 13) | 0;
36659
- N = ((S = S + Math.imul(X, Gt) | 0) + (w >>> 13) | 0) + (st >>> 26) | 0, st &= 67108863, x = Math.imul(me, gt), w = (w = Math.imul(me, dt)) + Math.imul(Te, gt) | 0, S = Math.imul(Te, dt), x = x + Math.imul(ne, Pt) | 0, w = (w = w + Math.imul(ne, jt) | 0) + Math.imul(ie, Pt) | 0, S = S + Math.imul(ie, jt) | 0, x = x + Math.imul(re, Oe) | 0, w = (w = w + Math.imul(re, _t) | 0) + Math.imul(ae, Oe) | 0, S = S + Math.imul(ae, _t) | 0, x = x + Math.imul(G, Tt) | 0, w = (w = w + Math.imul(G, xt) | 0) + Math.imul(Q, Tt) | 0, S = S + Math.imul(Q, xt) | 0, x = x + Math.imul(Z, zt) | 0, w = (w = w + Math.imul(Z, Gt) | 0) + Math.imul(D, zt) | 0, S = S + Math.imul(D, Gt) | 0;
36705
+ var st = (N + (x = x + Math.imul(W, zt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, Xt) | 0) + Math.imul(X, zt) | 0)) << 13) | 0;
36706
+ N = ((S = S + Math.imul(X, Xt) | 0) + (w >>> 13) | 0) + (st >>> 26) | 0, st &= 67108863, x = Math.imul(me, gt), w = (w = Math.imul(me, dt)) + Math.imul(Te, gt) | 0, S = Math.imul(Te, dt), x = x + Math.imul(ne, Pt) | 0, w = (w = w + Math.imul(ne, jt) | 0) + Math.imul(ie, Pt) | 0, S = S + Math.imul(ie, jt) | 0, x = x + Math.imul(re, Oe) | 0, w = (w = w + Math.imul(re, _t) | 0) + Math.imul(ae, Oe) | 0, S = S + Math.imul(ae, _t) | 0, x = x + Math.imul(G, Tt) | 0, w = (w = w + Math.imul(G, xt) | 0) + Math.imul(Q, Tt) | 0, S = S + Math.imul(Q, xt) | 0, x = x + Math.imul(Z, zt) | 0, w = (w = w + Math.imul(Z, Xt) | 0) + Math.imul(D, zt) | 0, S = S + Math.imul(D, Xt) | 0;
36660
36707
  var vt = (N + (x = x + Math.imul(W, Wt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, Nt) | 0) + Math.imul(X, Wt) | 0)) << 13) | 0;
36661
- N = ((S = S + Math.imul(X, Nt) | 0) + (w >>> 13) | 0) + (vt >>> 26) | 0, vt &= 67108863, x = Math.imul(ke, gt), w = (w = Math.imul(ke, dt)) + Math.imul(Re, gt) | 0, S = Math.imul(Re, dt), x = x + Math.imul(me, Pt) | 0, w = (w = w + Math.imul(me, jt) | 0) + Math.imul(Te, Pt) | 0, S = S + Math.imul(Te, jt) | 0, x = x + Math.imul(ne, Oe) | 0, w = (w = w + Math.imul(ne, _t) | 0) + Math.imul(ie, Oe) | 0, S = S + Math.imul(ie, _t) | 0, x = x + Math.imul(re, Tt) | 0, w = (w = w + Math.imul(re, xt) | 0) + Math.imul(ae, Tt) | 0, S = S + Math.imul(ae, xt) | 0, x = x + Math.imul(G, zt) | 0, w = (w = w + Math.imul(G, Gt) | 0) + Math.imul(Q, zt) | 0, S = S + Math.imul(Q, Gt) | 0, x = x + Math.imul(Z, Wt) | 0, w = (w = w + Math.imul(Z, Nt) | 0) + Math.imul(D, Wt) | 0, S = S + Math.imul(D, Nt) | 0;
36708
+ N = ((S = S + Math.imul(X, Nt) | 0) + (w >>> 13) | 0) + (vt >>> 26) | 0, vt &= 67108863, x = Math.imul(ke, gt), w = (w = Math.imul(ke, dt)) + Math.imul(Re, gt) | 0, S = Math.imul(Re, dt), x = x + Math.imul(me, Pt) | 0, w = (w = w + Math.imul(me, jt) | 0) + Math.imul(Te, Pt) | 0, S = S + Math.imul(Te, jt) | 0, x = x + Math.imul(ne, Oe) | 0, w = (w = w + Math.imul(ne, _t) | 0) + Math.imul(ie, Oe) | 0, S = S + Math.imul(ie, _t) | 0, x = x + Math.imul(re, Tt) | 0, w = (w = w + Math.imul(re, xt) | 0) + Math.imul(ae, Tt) | 0, S = S + Math.imul(ae, xt) | 0, x = x + Math.imul(G, zt) | 0, w = (w = w + Math.imul(G, Xt) | 0) + Math.imul(Q, zt) | 0, S = S + Math.imul(Q, Xt) | 0, x = x + Math.imul(Z, Wt) | 0, w = (w = w + Math.imul(Z, Nt) | 0) + Math.imul(D, Wt) | 0, S = S + Math.imul(D, Nt) | 0;
36662
36709
  var Et = (N + (x = x + Math.imul(W, Vt) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, Ce) | 0) + Math.imul(X, Vt) | 0)) << 13) | 0;
36663
- N = ((S = S + Math.imul(X, Ce) | 0) + (w >>> 13) | 0) + (Et >>> 26) | 0, Et &= 67108863, x = Math.imul(Ye, gt), w = (w = Math.imul(Ye, dt)) + Math.imul(rt, gt) | 0, S = Math.imul(rt, dt), x = x + Math.imul(ke, Pt) | 0, w = (w = w + Math.imul(ke, jt) | 0) + Math.imul(Re, Pt) | 0, S = S + Math.imul(Re, jt) | 0, x = x + Math.imul(me, Oe) | 0, w = (w = w + Math.imul(me, _t) | 0) + Math.imul(Te, Oe) | 0, S = S + Math.imul(Te, _t) | 0, x = x + Math.imul(ne, Tt) | 0, w = (w = w + Math.imul(ne, xt) | 0) + Math.imul(ie, Tt) | 0, S = S + Math.imul(ie, xt) | 0, x = x + Math.imul(re, zt) | 0, w = (w = w + Math.imul(re, Gt) | 0) + Math.imul(ae, zt) | 0, S = S + Math.imul(ae, Gt) | 0, x = x + Math.imul(G, Wt) | 0, w = (w = w + Math.imul(G, Nt) | 0) + Math.imul(Q, Wt) | 0, S = S + Math.imul(Q, Nt) | 0, x = x + Math.imul(Z, Vt) | 0, w = (w = w + Math.imul(Z, Ce) | 0) + Math.imul(D, Vt) | 0, S = S + Math.imul(D, Ce) | 0;
36710
+ N = ((S = S + Math.imul(X, Ce) | 0) + (w >>> 13) | 0) + (Et >>> 26) | 0, Et &= 67108863, x = Math.imul(Ye, gt), w = (w = Math.imul(Ye, dt)) + Math.imul(rt, gt) | 0, S = Math.imul(rt, dt), x = x + Math.imul(ke, Pt) | 0, w = (w = w + Math.imul(ke, jt) | 0) + Math.imul(Re, Pt) | 0, S = S + Math.imul(Re, jt) | 0, x = x + Math.imul(me, Oe) | 0, w = (w = w + Math.imul(me, _t) | 0) + Math.imul(Te, Oe) | 0, S = S + Math.imul(Te, _t) | 0, x = x + Math.imul(ne, Tt) | 0, w = (w = w + Math.imul(ne, xt) | 0) + Math.imul(ie, Tt) | 0, S = S + Math.imul(ie, xt) | 0, x = x + Math.imul(re, zt) | 0, w = (w = w + Math.imul(re, Xt) | 0) + Math.imul(ae, zt) | 0, S = S + Math.imul(ae, Xt) | 0, x = x + Math.imul(G, Wt) | 0, w = (w = w + Math.imul(G, Nt) | 0) + Math.imul(Q, Wt) | 0, S = S + Math.imul(Q, Nt) | 0, x = x + Math.imul(Z, Vt) | 0, w = (w = w + Math.imul(Z, Ce) | 0) + Math.imul(D, Vt) | 0, S = S + Math.imul(D, Ce) | 0;
36664
36711
  var pe = (N + (x = x + Math.imul(W, Ke) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, se) | 0) + Math.imul(X, Ke) | 0)) << 13) | 0;
36665
- N = ((S = S + Math.imul(X, se) | 0) + (w >>> 13) | 0) + (pe >>> 26) | 0, pe &= 67108863, x = Math.imul(at, gt), w = (w = Math.imul(at, dt)) + Math.imul(ft, gt) | 0, S = Math.imul(ft, dt), x = x + Math.imul(Ye, Pt) | 0, w = (w = w + Math.imul(Ye, jt) | 0) + Math.imul(rt, Pt) | 0, S = S + Math.imul(rt, jt) | 0, x = x + Math.imul(ke, Oe) | 0, w = (w = w + Math.imul(ke, _t) | 0) + Math.imul(Re, Oe) | 0, S = S + Math.imul(Re, _t) | 0, x = x + Math.imul(me, Tt) | 0, w = (w = w + Math.imul(me, xt) | 0) + Math.imul(Te, Tt) | 0, S = S + Math.imul(Te, xt) | 0, x = x + Math.imul(ne, zt) | 0, w = (w = w + Math.imul(ne, Gt) | 0) + Math.imul(ie, zt) | 0, S = S + Math.imul(ie, Gt) | 0, x = x + Math.imul(re, Wt) | 0, w = (w = w + Math.imul(re, Nt) | 0) + Math.imul(ae, Wt) | 0, S = S + Math.imul(ae, Nt) | 0, x = x + Math.imul(G, Vt) | 0, w = (w = w + Math.imul(G, Ce) | 0) + Math.imul(Q, Vt) | 0, S = S + Math.imul(Q, Ce) | 0, x = x + Math.imul(Z, Ke) | 0, w = (w = w + Math.imul(Z, se) | 0) + Math.imul(D, Ke) | 0, S = S + Math.imul(D, se) | 0;
36712
+ N = ((S = S + Math.imul(X, se) | 0) + (w >>> 13) | 0) + (pe >>> 26) | 0, pe &= 67108863, x = Math.imul(at, gt), w = (w = Math.imul(at, dt)) + Math.imul(ft, gt) | 0, S = Math.imul(ft, dt), x = x + Math.imul(Ye, Pt) | 0, w = (w = w + Math.imul(Ye, jt) | 0) + Math.imul(rt, Pt) | 0, S = S + Math.imul(rt, jt) | 0, x = x + Math.imul(ke, Oe) | 0, w = (w = w + Math.imul(ke, _t) | 0) + Math.imul(Re, Oe) | 0, S = S + Math.imul(Re, _t) | 0, x = x + Math.imul(me, Tt) | 0, w = (w = w + Math.imul(me, xt) | 0) + Math.imul(Te, Tt) | 0, S = S + Math.imul(Te, xt) | 0, x = x + Math.imul(ne, zt) | 0, w = (w = w + Math.imul(ne, Xt) | 0) + Math.imul(ie, zt) | 0, S = S + Math.imul(ie, Xt) | 0, x = x + Math.imul(re, Wt) | 0, w = (w = w + Math.imul(re, Nt) | 0) + Math.imul(ae, Wt) | 0, S = S + Math.imul(ae, Nt) | 0, x = x + Math.imul(G, Vt) | 0, w = (w = w + Math.imul(G, Ce) | 0) + Math.imul(Q, Vt) | 0, S = S + Math.imul(Q, Ce) | 0, x = x + Math.imul(Z, Ke) | 0, w = (w = w + Math.imul(Z, se) | 0) + Math.imul(D, Ke) | 0, S = S + Math.imul(D, se) | 0;
36666
36713
  var Ne = (N + (x = x + Math.imul(W, ce) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, ve) | 0) + Math.imul(X, ce) | 0)) << 13) | 0;
36667
- N = ((S = S + Math.imul(X, ve) | 0) + (w >>> 13) | 0) + (Ne >>> 26) | 0, Ne &= 67108863, x = Math.imul(Ze, gt), w = (w = Math.imul(Ze, dt)) + Math.imul(It, gt) | 0, S = Math.imul(It, dt), x = x + Math.imul(at, Pt) | 0, w = (w = w + Math.imul(at, jt) | 0) + Math.imul(ft, Pt) | 0, S = S + Math.imul(ft, jt) | 0, x = x + Math.imul(Ye, Oe) | 0, w = (w = w + Math.imul(Ye, _t) | 0) + Math.imul(rt, Oe) | 0, S = S + Math.imul(rt, _t) | 0, x = x + Math.imul(ke, Tt) | 0, w = (w = w + Math.imul(ke, xt) | 0) + Math.imul(Re, Tt) | 0, S = S + Math.imul(Re, xt) | 0, x = x + Math.imul(me, zt) | 0, w = (w = w + Math.imul(me, Gt) | 0) + Math.imul(Te, zt) | 0, S = S + Math.imul(Te, Gt) | 0, x = x + Math.imul(ne, Wt) | 0, w = (w = w + Math.imul(ne, Nt) | 0) + Math.imul(ie, Wt) | 0, S = S + Math.imul(ie, Nt) | 0, x = x + Math.imul(re, Vt) | 0, w = (w = w + Math.imul(re, Ce) | 0) + Math.imul(ae, Vt) | 0, S = S + Math.imul(ae, Ce) | 0, x = x + Math.imul(G, Ke) | 0, w = (w = w + Math.imul(G, se) | 0) + Math.imul(Q, Ke) | 0, S = S + Math.imul(Q, se) | 0, x = x + Math.imul(Z, ce) | 0, w = (w = w + Math.imul(Z, ve) | 0) + Math.imul(D, ce) | 0, S = S + Math.imul(D, ve) | 0;
36714
+ N = ((S = S + Math.imul(X, ve) | 0) + (w >>> 13) | 0) + (Ne >>> 26) | 0, Ne &= 67108863, x = Math.imul(Ze, gt), w = (w = Math.imul(Ze, dt)) + Math.imul(It, gt) | 0, S = Math.imul(It, dt), x = x + Math.imul(at, Pt) | 0, w = (w = w + Math.imul(at, jt) | 0) + Math.imul(ft, Pt) | 0, S = S + Math.imul(ft, jt) | 0, x = x + Math.imul(Ye, Oe) | 0, w = (w = w + Math.imul(Ye, _t) | 0) + Math.imul(rt, Oe) | 0, S = S + Math.imul(rt, _t) | 0, x = x + Math.imul(ke, Tt) | 0, w = (w = w + Math.imul(ke, xt) | 0) + Math.imul(Re, Tt) | 0, S = S + Math.imul(Re, xt) | 0, x = x + Math.imul(me, zt) | 0, w = (w = w + Math.imul(me, Xt) | 0) + Math.imul(Te, zt) | 0, S = S + Math.imul(Te, Xt) | 0, x = x + Math.imul(ne, Wt) | 0, w = (w = w + Math.imul(ne, Nt) | 0) + Math.imul(ie, Wt) | 0, S = S + Math.imul(ie, Nt) | 0, x = x + Math.imul(re, Vt) | 0, w = (w = w + Math.imul(re, Ce) | 0) + Math.imul(ae, Vt) | 0, S = S + Math.imul(ae, Ce) | 0, x = x + Math.imul(G, Ke) | 0, w = (w = w + Math.imul(G, se) | 0) + Math.imul(Q, Ke) | 0, S = S + Math.imul(Q, se) | 0, x = x + Math.imul(Z, ce) | 0, w = (w = w + Math.imul(Z, ve) | 0) + Math.imul(D, ce) | 0, S = S + Math.imul(D, ve) | 0;
36668
36715
  var Ve = (N + (x = x + Math.imul(W, we) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(W, Ie) | 0) + Math.imul(X, we) | 0)) << 13) | 0;
36669
- N = ((S = S + Math.imul(X, Ie) | 0) + (w >>> 13) | 0) + (Ve >>> 26) | 0, Ve &= 67108863, x = Math.imul(Ze, Pt), w = (w = Math.imul(Ze, jt)) + Math.imul(It, Pt) | 0, S = Math.imul(It, jt), x = x + Math.imul(at, Oe) | 0, w = (w = w + Math.imul(at, _t) | 0) + Math.imul(ft, Oe) | 0, S = S + Math.imul(ft, _t) | 0, x = x + Math.imul(Ye, Tt) | 0, w = (w = w + Math.imul(Ye, xt) | 0) + Math.imul(rt, Tt) | 0, S = S + Math.imul(rt, xt) | 0, x = x + Math.imul(ke, zt) | 0, w = (w = w + Math.imul(ke, Gt) | 0) + Math.imul(Re, zt) | 0, S = S + Math.imul(Re, Gt) | 0, x = x + Math.imul(me, Wt) | 0, w = (w = w + Math.imul(me, Nt) | 0) + Math.imul(Te, Wt) | 0, S = S + Math.imul(Te, Nt) | 0, x = x + Math.imul(ne, Vt) | 0, w = (w = w + Math.imul(ne, Ce) | 0) + Math.imul(ie, Vt) | 0, S = S + Math.imul(ie, Ce) | 0, x = x + Math.imul(re, Ke) | 0, w = (w = w + Math.imul(re, se) | 0) + Math.imul(ae, Ke) | 0, S = S + Math.imul(ae, se) | 0, x = x + Math.imul(G, ce) | 0, w = (w = w + Math.imul(G, ve) | 0) + Math.imul(Q, ce) | 0, S = S + Math.imul(Q, ve) | 0;
36716
+ N = ((S = S + Math.imul(X, Ie) | 0) + (w >>> 13) | 0) + (Ve >>> 26) | 0, Ve &= 67108863, x = Math.imul(Ze, Pt), w = (w = Math.imul(Ze, jt)) + Math.imul(It, Pt) | 0, S = Math.imul(It, jt), x = x + Math.imul(at, Oe) | 0, w = (w = w + Math.imul(at, _t) | 0) + Math.imul(ft, Oe) | 0, S = S + Math.imul(ft, _t) | 0, x = x + Math.imul(Ye, Tt) | 0, w = (w = w + Math.imul(Ye, xt) | 0) + Math.imul(rt, Tt) | 0, S = S + Math.imul(rt, xt) | 0, x = x + Math.imul(ke, zt) | 0, w = (w = w + Math.imul(ke, Xt) | 0) + Math.imul(Re, zt) | 0, S = S + Math.imul(Re, Xt) | 0, x = x + Math.imul(me, Wt) | 0, w = (w = w + Math.imul(me, Nt) | 0) + Math.imul(Te, Wt) | 0, S = S + Math.imul(Te, Nt) | 0, x = x + Math.imul(ne, Vt) | 0, w = (w = w + Math.imul(ne, Ce) | 0) + Math.imul(ie, Vt) | 0, S = S + Math.imul(ie, Ce) | 0, x = x + Math.imul(re, Ke) | 0, w = (w = w + Math.imul(re, se) | 0) + Math.imul(ae, Ke) | 0, S = S + Math.imul(ae, se) | 0, x = x + Math.imul(G, ce) | 0, w = (w = w + Math.imul(G, ve) | 0) + Math.imul(Q, ce) | 0, S = S + Math.imul(Q, ve) | 0;
36670
36717
  var Qe = (N + (x = x + Math.imul(Z, we) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(Z, Ie) | 0) + Math.imul(D, we) | 0)) << 13) | 0;
36671
- N = ((S = S + Math.imul(D, Ie) | 0) + (w >>> 13) | 0) + (Qe >>> 26) | 0, Qe &= 67108863, x = Math.imul(Ze, Oe), w = (w = Math.imul(Ze, _t)) + Math.imul(It, Oe) | 0, S = Math.imul(It, _t), x = x + Math.imul(at, Tt) | 0, w = (w = w + Math.imul(at, xt) | 0) + Math.imul(ft, Tt) | 0, S = S + Math.imul(ft, xt) | 0, x = x + Math.imul(Ye, zt) | 0, w = (w = w + Math.imul(Ye, Gt) | 0) + Math.imul(rt, zt) | 0, S = S + Math.imul(rt, Gt) | 0, x = x + Math.imul(ke, Wt) | 0, w = (w = w + Math.imul(ke, Nt) | 0) + Math.imul(Re, Wt) | 0, S = S + Math.imul(Re, Nt) | 0, x = x + Math.imul(me, Vt) | 0, w = (w = w + Math.imul(me, Ce) | 0) + Math.imul(Te, Vt) | 0, S = S + Math.imul(Te, Ce) | 0, x = x + Math.imul(ne, Ke) | 0, w = (w = w + Math.imul(ne, se) | 0) + Math.imul(ie, Ke) | 0, S = S + Math.imul(ie, se) | 0, x = x + Math.imul(re, ce) | 0, w = (w = w + Math.imul(re, ve) | 0) + Math.imul(ae, ce) | 0, S = S + Math.imul(ae, ve) | 0;
36718
+ N = ((S = S + Math.imul(D, Ie) | 0) + (w >>> 13) | 0) + (Qe >>> 26) | 0, Qe &= 67108863, x = Math.imul(Ze, Oe), w = (w = Math.imul(Ze, _t)) + Math.imul(It, Oe) | 0, S = Math.imul(It, _t), x = x + Math.imul(at, Tt) | 0, w = (w = w + Math.imul(at, xt) | 0) + Math.imul(ft, Tt) | 0, S = S + Math.imul(ft, xt) | 0, x = x + Math.imul(Ye, zt) | 0, w = (w = w + Math.imul(Ye, Xt) | 0) + Math.imul(rt, zt) | 0, S = S + Math.imul(rt, Xt) | 0, x = x + Math.imul(ke, Wt) | 0, w = (w = w + Math.imul(ke, Nt) | 0) + Math.imul(Re, Wt) | 0, S = S + Math.imul(Re, Nt) | 0, x = x + Math.imul(me, Vt) | 0, w = (w = w + Math.imul(me, Ce) | 0) + Math.imul(Te, Vt) | 0, S = S + Math.imul(Te, Ce) | 0, x = x + Math.imul(ne, Ke) | 0, w = (w = w + Math.imul(ne, se) | 0) + Math.imul(ie, Ke) | 0, S = S + Math.imul(ie, se) | 0, x = x + Math.imul(re, ce) | 0, w = (w = w + Math.imul(re, ve) | 0) + Math.imul(ae, ce) | 0, S = S + Math.imul(ae, ve) | 0;
36672
36719
  var At = (N + (x = x + Math.imul(G, we) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(G, Ie) | 0) + Math.imul(Q, we) | 0)) << 13) | 0;
36673
- N = ((S = S + Math.imul(Q, Ie) | 0) + (w >>> 13) | 0) + (At >>> 26) | 0, At &= 67108863, x = Math.imul(Ze, Tt), w = (w = Math.imul(Ze, xt)) + Math.imul(It, Tt) | 0, S = Math.imul(It, xt), x = x + Math.imul(at, zt) | 0, w = (w = w + Math.imul(at, Gt) | 0) + Math.imul(ft, zt) | 0, S = S + Math.imul(ft, Gt) | 0, x = x + Math.imul(Ye, Wt) | 0, w = (w = w + Math.imul(Ye, Nt) | 0) + Math.imul(rt, Wt) | 0, S = S + Math.imul(rt, Nt) | 0, x = x + Math.imul(ke, Vt) | 0, w = (w = w + Math.imul(ke, Ce) | 0) + Math.imul(Re, Vt) | 0, S = S + Math.imul(Re, Ce) | 0, x = x + Math.imul(me, Ke) | 0, w = (w = w + Math.imul(me, se) | 0) + Math.imul(Te, Ke) | 0, S = S + Math.imul(Te, se) | 0, x = x + Math.imul(ne, ce) | 0, w = (w = w + Math.imul(ne, ve) | 0) + Math.imul(ie, ce) | 0, S = S + Math.imul(ie, ve) | 0;
36720
+ N = ((S = S + Math.imul(Q, Ie) | 0) + (w >>> 13) | 0) + (At >>> 26) | 0, At &= 67108863, x = Math.imul(Ze, Tt), w = (w = Math.imul(Ze, xt)) + Math.imul(It, Tt) | 0, S = Math.imul(It, xt), x = x + Math.imul(at, zt) | 0, w = (w = w + Math.imul(at, Xt) | 0) + Math.imul(ft, zt) | 0, S = S + Math.imul(ft, Xt) | 0, x = x + Math.imul(Ye, Wt) | 0, w = (w = w + Math.imul(Ye, Nt) | 0) + Math.imul(rt, Wt) | 0, S = S + Math.imul(rt, Nt) | 0, x = x + Math.imul(ke, Vt) | 0, w = (w = w + Math.imul(ke, Ce) | 0) + Math.imul(Re, Vt) | 0, S = S + Math.imul(Re, Ce) | 0, x = x + Math.imul(me, Ke) | 0, w = (w = w + Math.imul(me, se) | 0) + Math.imul(Te, Ke) | 0, S = S + Math.imul(Te, se) | 0, x = x + Math.imul(ne, ce) | 0, w = (w = w + Math.imul(ne, ve) | 0) + Math.imul(ie, ce) | 0, S = S + Math.imul(ie, ve) | 0;
36674
36721
  var ht = (N + (x = x + Math.imul(re, we) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(re, Ie) | 0) + Math.imul(ae, we) | 0)) << 13) | 0;
36675
- N = ((S = S + Math.imul(ae, Ie) | 0) + (w >>> 13) | 0) + (ht >>> 26) | 0, ht &= 67108863, x = Math.imul(Ze, zt), w = (w = Math.imul(Ze, Gt)) + Math.imul(It, zt) | 0, S = Math.imul(It, Gt), x = x + Math.imul(at, Wt) | 0, w = (w = w + Math.imul(at, Nt) | 0) + Math.imul(ft, Wt) | 0, S = S + Math.imul(ft, Nt) | 0, x = x + Math.imul(Ye, Vt) | 0, w = (w = w + Math.imul(Ye, Ce) | 0) + Math.imul(rt, Vt) | 0, S = S + Math.imul(rt, Ce) | 0, x = x + Math.imul(ke, Ke) | 0, w = (w = w + Math.imul(ke, se) | 0) + Math.imul(Re, Ke) | 0, S = S + Math.imul(Re, se) | 0, x = x + Math.imul(me, ce) | 0, w = (w = w + Math.imul(me, ve) | 0) + Math.imul(Te, ce) | 0, S = S + Math.imul(Te, ve) | 0;
36722
+ N = ((S = S + Math.imul(ae, Ie) | 0) + (w >>> 13) | 0) + (ht >>> 26) | 0, ht &= 67108863, x = Math.imul(Ze, zt), w = (w = Math.imul(Ze, Xt)) + Math.imul(It, zt) | 0, S = Math.imul(It, Xt), x = x + Math.imul(at, Wt) | 0, w = (w = w + Math.imul(at, Nt) | 0) + Math.imul(ft, Wt) | 0, S = S + Math.imul(ft, Nt) | 0, x = x + Math.imul(Ye, Vt) | 0, w = (w = w + Math.imul(Ye, Ce) | 0) + Math.imul(rt, Vt) | 0, S = S + Math.imul(rt, Ce) | 0, x = x + Math.imul(ke, Ke) | 0, w = (w = w + Math.imul(ke, se) | 0) + Math.imul(Re, Ke) | 0, S = S + Math.imul(Re, se) | 0, x = x + Math.imul(me, ce) | 0, w = (w = w + Math.imul(me, ve) | 0) + Math.imul(Te, ce) | 0, S = S + Math.imul(Te, ve) | 0;
36676
36723
  var wt = (N + (x = x + Math.imul(ne, we) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(ne, Ie) | 0) + Math.imul(ie, we) | 0)) << 13) | 0;
36677
36724
  N = ((S = S + Math.imul(ie, Ie) | 0) + (w >>> 13) | 0) + (wt >>> 26) | 0, wt &= 67108863, x = Math.imul(Ze, Wt), w = (w = Math.imul(Ze, Nt)) + Math.imul(It, Wt) | 0, S = Math.imul(It, Nt), x = x + Math.imul(at, Vt) | 0, w = (w = w + Math.imul(at, Ce) | 0) + Math.imul(ft, Vt) | 0, S = S + Math.imul(ft, Ce) | 0, x = x + Math.imul(Ye, Ke) | 0, w = (w = w + Math.imul(Ye, se) | 0) + Math.imul(rt, Ke) | 0, S = S + Math.imul(rt, se) | 0, x = x + Math.imul(ke, ce) | 0, w = (w = w + Math.imul(ke, ve) | 0) + Math.imul(Re, ce) | 0, S = S + Math.imul(Re, ve) | 0;
36678
36725
  var ar = (N + (x = x + Math.imul(me, we) | 0) | 0) + ((8191 & (w = (w = w + Math.imul(me, Ie) | 0) + Math.imul(Te, we) | 0)) << 13) | 0;
@@ -37540,7 +37587,7 @@ function U$() {
37540
37587
  return this.clone().isub(E);
37541
37588
  };
37542
37589
  var _ = function(E, x, w) {
37543
- var S, A, P, q = E.words, N = x.words, H = w.words, W = 0, X = 0 | q[0], B = 8191 & X, Z = X >>> 13, D = 0 | q[1], j = 8191 & D, G = D >>> 13, Q = 0 | q[2], ee = 8191 & Q, re = Q >>> 13, ae = 0 | q[3], fe = 8191 & ae, ne = ae >>> 13, ie = 0 | q[4], _e = 8191 & ie, me = ie >>> 13, Te = 0 | q[5], Ae = 8191 & Te, ke = Te >>> 13, Re = 0 | q[6], De = 8191 & Re, Ye = Re >>> 13, rt = 0 | q[7], it = 8191 & rt, at = rt >>> 13, ft = 0 | q[8], bt = 8191 & ft, Ze = ft >>> 13, It = 0 | q[9], lt = 8191 & It, gt = It >>> 13, dt = 0 | N[0], St = 8191 & dt, Pt = dt >>> 13, jt = 0 | N[1], or = 8191 & jt, Oe = jt >>> 13, _t = 0 | N[2], Ft = 8191 & _t, Tt = _t >>> 13, xt = 0 | N[3], kt = 8191 & xt, zt = xt >>> 13, Gt = 0 | N[4], mr = 8191 & Gt, Wt = Gt >>> 13, Nt = 0 | N[5], hr = 8191 & Nt, Vt = Nt >>> 13, Ce = 0 | N[6], $e = 8191 & Ce, Ke = Ce >>> 13, se = 0 | N[7], xe = 8191 & se, ce = se >>> 13, ve = 0 | N[8], be = 8191 & ve, we = ve >>> 13, Ie = 0 | N[9], ze = 8191 & Ie, Le = Ie >>> 13;
37590
+ var S, A, P, q = E.words, N = x.words, H = w.words, W = 0, X = 0 | q[0], B = 8191 & X, Z = X >>> 13, D = 0 | q[1], j = 8191 & D, G = D >>> 13, Q = 0 | q[2], ee = 8191 & Q, re = Q >>> 13, ae = 0 | q[3], fe = 8191 & ae, ne = ae >>> 13, ie = 0 | q[4], _e = 8191 & ie, me = ie >>> 13, Te = 0 | q[5], Ae = 8191 & Te, ke = Te >>> 13, Re = 0 | q[6], De = 8191 & Re, Ye = Re >>> 13, rt = 0 | q[7], it = 8191 & rt, at = rt >>> 13, ft = 0 | q[8], bt = 8191 & ft, Ze = ft >>> 13, It = 0 | q[9], lt = 8191 & It, gt = It >>> 13, dt = 0 | N[0], St = 8191 & dt, Pt = dt >>> 13, jt = 0 | N[1], or = 8191 & jt, Oe = jt >>> 13, _t = 0 | N[2], Ft = 8191 & _t, Tt = _t >>> 13, xt = 0 | N[3], kt = 8191 & xt, zt = xt >>> 13, Xt = 0 | N[4], mr = 8191 & Xt, Wt = Xt >>> 13, Nt = 0 | N[5], hr = 8191 & Nt, Vt = Nt >>> 13, Ce = 0 | N[6], $e = 8191 & Ce, Ke = Ce >>> 13, se = 0 | N[7], xe = 8191 & se, ce = se >>> 13, ve = 0 | N[8], be = 8191 & ve, we = ve >>> 13, Ie = 0 | N[9], ze = 8191 & Ie, Le = Ie >>> 13;
37544
37591
  w.negative = E.negative ^ x.negative, w.length = 19;
37545
37592
  var qe = (W + (S = Math.imul(B, St)) | 0) + ((8191 & (A = (A = Math.imul(B, Pt)) + Math.imul(Z, St) | 0)) << 13) | 0;
37546
37593
  W = ((P = Math.imul(Z, Pt)) + (A >>> 13) | 0) + (qe >>> 26) | 0, qe &= 67108863, S = Math.imul(j, St), A = (A = Math.imul(j, Pt)) + Math.imul(G, St) | 0, P = Math.imul(G, Pt);
@@ -45797,7 +45844,7 @@ function U$() {
45797
45844
  function or(pe, Ne, Ve, Qe, At) {
45798
45845
  return pe === Ne || (pe == null || Ne == null || !Le(pe) && !qe(Ne) ? pe != pe && Ne != Ne : (function(ht, wt, ar, Jt, Qt, Ht) {
45799
45846
  var ur = be(ht), er = be(wt), Sr = "[object Array]", Wr = "[object Array]";
45800
- ur || (Sr = (Sr = Gt(ht)) == s ? u : Sr), er || (Wr = (Wr = Gt(wt)) == s ? u : Wr);
45847
+ ur || (Sr = (Sr = Xt(ht)) == s ? u : Sr), er || (Wr = (Wr = Xt(wt)) == s ? u : Wr);
45801
45848
  var cn = Sr == u && !I(ht), bn = Wr == u && !I(wt), wi = Sr == Wr;
45802
45849
  if (wi && !cn) return Ht || (Ht = new bt()), ur || st(ht) ? xt(ht, wt, ar, Jt, Qt, Ht) : (function(_r, xr, Xi, Oa, xs, Jn, _i) {
45803
45850
  switch (Xi) {
@@ -45974,7 +46021,7 @@ function U$() {
45974
46021
  })(pe, Ne);
45975
46022
  return Oe(Ve) ? Ve : void 0;
45976
46023
  }
45977
- var Gt = function(pe) {
46024
+ var Xt = function(pe) {
45978
46025
  return X.call(pe);
45979
46026
  };
45980
46027
  function mr(pe, Ne) {
@@ -45993,7 +46040,7 @@ function U$() {
45993
46040
  return Ve != null && Ve[pe] === Ne && (Ne !== void 0 || pe in Object(Ve));
45994
46041
  };
45995
46042
  }
45996
- (ee && Gt(new ee(new ArrayBuffer(1))) != "[object DataView]" || re && Gt(new re()) != l || ae && Gt(ae.resolve()) != "[object Promise]" || fe && Gt(new fe()) != o || ne && Gt(new ne()) != "[object WeakMap]") && (Gt = function(pe) {
46043
+ (ee && Xt(new ee(new ArrayBuffer(1))) != "[object DataView]" || re && Xt(new re()) != l || ae && Xt(ae.resolve()) != "[object Promise]" || fe && Xt(new fe()) != o || ne && Xt(new ne()) != "[object WeakMap]") && (Xt = function(pe) {
45997
46044
  var Ne = X.call(pe), Ve = Ne == u ? pe.constructor : void 0, Qe = Ve ? $e(Ve) : void 0;
45998
46045
  if (Qe) switch (Qe) {
45999
46046
  case _e:
@@ -46274,7 +46321,7 @@ function U$() {
46274
46321
  function lt(Ce) {
46275
46322
  return !(!Wt(Ce) || (function($e) {
46276
46323
  return !!S && S in $e;
46277
- })(Ce)) && (Gt(Ce) ? P : c).test(Ft(Ce));
46324
+ })(Ce)) && (Xt(Ce) ? P : c).test(Ft(Ce));
46278
46325
  }
46279
46326
  function gt(Ce) {
46280
46327
  if (Ke = ($e = Ce) && $e.constructor, se = typeof Ke == "function" && Ke.prototype || R, $e !== se) return j(Ce);
@@ -46450,7 +46497,7 @@ function U$() {
46450
46497
  }, kt = Array.isArray, zt = D || function() {
46451
46498
  return !1;
46452
46499
  };
46453
- function Gt(Ce) {
46500
+ function Xt(Ce) {
46454
46501
  if (!Wt(Ce)) return !1;
46455
46502
  var $e = bt(Ce);
46456
46503
  return $e == "[object Function]" || $e == "[object GeneratorFunction]" || $e == "[object AsyncFunction]" || $e == "[object Proxy]";
@@ -46473,7 +46520,7 @@ function U$() {
46473
46520
  return Nt(Ce) && mr(Ce.length) && !!h[bt(Ce)];
46474
46521
  };
46475
46522
  function Vt(Ce) {
46476
- return ($e = Ce) != null && mr($e.length) && !Gt($e) ? at(Ce) : gt(Ce);
46523
+ return ($e = Ce) != null && mr($e.length) && !Xt($e) ? at(Ce) : gt(Ce);
46477
46524
  var $e;
46478
46525
  }
46479
46526
  n.exports = function(Ce, $e) {
@@ -50669,7 +50716,7 @@ function W$() {
50669
50716
  })(_0)), _0.exports;
50670
50717
  }
50671
50718
  var IE = W$();
50672
- async function Xae({ filename: t, schoolInfo: r, reportTitle: e, headers: n, rows: i, sheetName: a = "Sheet1" }) {
50719
+ async function Yae({ filename: t, schoolInfo: r, reportTitle: e, headers: n, rows: i, sheetName: a = "Sheet1" }) {
50673
50720
  const s = new ME.Workbook(), l = s.addWorksheet(a), u = n.length;
50674
50721
  let o = 1;
50675
50722
  if (r != null && r.name) {
@@ -50722,7 +50769,7 @@ async function Xae({ filename: t, schoolInfo: r, reportTitle: e, headers: n, row
50722
50769
  const d = await s.xlsx.writeBuffer();
50723
50770
  IE.saveAs(new Blob([d]), `${t}.xlsx`);
50724
50771
  }
50725
- async function Yae({ filename: t, schoolInfo: r, reportTitle: e, sheets: n }) {
50772
+ async function Kae({ filename: t, schoolInfo: r, reportTitle: e, sheets: n }) {
50726
50773
  const i = new ME.Workbook();
50727
50774
  for (const s of n) {
50728
50775
  const l = i.addWorksheet(s.name), u = s.headers.length;
@@ -50776,7 +50823,7 @@ async function Yae({ filename: t, schoolInfo: r, reportTitle: e, sheets: n }) {
50776
50823
  const a = await i.xlsx.writeBuffer();
50777
50824
  IE.saveAs(new Blob([a]), `${t}.xlsx`);
50778
50825
  }
50779
- function Kae(t) {
50826
+ function Zae(t) {
50780
50827
  return t != null && t.school_name ? {
50781
50828
  name: t.school_name,
50782
50829
  code: t.school_code || "",
@@ -50786,7 +50833,7 @@ function Kae(t) {
50786
50833
  board: t.board || ""
50787
50834
  } : null;
50788
50835
  }
50789
- function Zae(t, r) {
50836
+ function Jae(t, r) {
50790
50837
  const [e, n] = Dt(() => {
50791
50838
  try {
50792
50839
  const a = window.localStorage.getItem(t);
@@ -50804,7 +50851,7 @@ function Zae(t, r) {
50804
50851
  }, [t, e]);
50805
50852
  return [e, i];
50806
50853
  }
50807
- function Jae(t) {
50854
+ function Qae(t) {
50808
50855
  Yr(() => {
50809
50856
  const r = (e) => {
50810
50857
  t.forEach(({ key: n, ctrl: i, meta: a, shift: s, handler: l }) => {
@@ -50815,7 +50862,7 @@ function Jae(t) {
50815
50862
  return document.addEventListener("keydown", r), () => document.removeEventListener("keydown", r);
50816
50863
  }, [t]);
50817
50864
  }
50818
- function Qae(t, r = {}) {
50865
+ function ese(t, r = {}) {
50819
50866
  const e = `form-draft-${t}`, [n, i] = Dt(() => {
50820
50867
  try {
50821
50868
  return !!localStorage.getItem(e);
@@ -50846,7 +50893,7 @@ function Qae(t, r = {}) {
50846
50893
  return { hasDraft: n, saveDraft: a, loadDraft: s, clearDraft: l };
50847
50894
  }
50848
50895
  const T1 = "recently-viewed", V$ = 8;
50849
- function ese() {
50896
+ function tse() {
50850
50897
  const [t, r] = Dt(() => {
50851
50898
  try {
50852
50899
  return JSON.parse(localStorage.getItem(T1)) || [];
@@ -50871,7 +50918,7 @@ function ese() {
50871
50918
  }, []);
50872
50919
  return { items: t, addItem: e, clearAll: n };
50873
50920
  }
50874
- function tse(t = [], { paramName: r = "tab" } = {}) {
50921
+ function rse(t = [], { paramName: r = "tab" } = {}) {
50875
50922
  const e = Xs(
50876
50923
  () => t.map((l) => l.id || G$(l.label || "")),
50877
50924
  [t]
@@ -50901,7 +50948,7 @@ function tse(t = [], { paramName: r = "tab" } = {}) {
50901
50948
  function G$(t) {
50902
50949
  return t.toLowerCase().replace(/&/g, "and").replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "");
50903
50950
  }
50904
- function rse(t, r = null) {
50951
+ function nse(t, r = null) {
50905
50952
  const [e, n] = Dt(r);
50906
50953
  return { sortedData: Xs(() => {
50907
50954
  if (!e || !t) return t || [];
@@ -50938,7 +50985,7 @@ function Y$(t, r) {
50938
50985
  } catch {
50939
50986
  }
50940
50987
  }
50941
- function nse(t = 20, r) {
50988
+ function ise(t = 20, r) {
50942
50989
  const [e, n] = Dt(0), [i, a] = Dt(() => X$(r, t)), s = oi((o) => {
50943
50990
  a(o), n(0), Y$(r, o);
50944
50991
  }, [r]), l = oi(() => n(0), []), u = {
@@ -50948,7 +50995,7 @@ function nse(t = 20, r) {
50948
50995
  return { page: e, pageSize: i, setPage: n, setPageSize: s, params: u, reset: l, pageSizeOptions: RE };
50949
50996
  }
50950
50997
  const X3 = 1440 * 60 * 1e3;
50951
- function ise(t, { allClassesLabel: r = "All Classes", allSectionsLabel: e = "All Sections" } = {}) {
50998
+ function ase(t, { allClassesLabel: r = "All Classes", allSectionsLabel: e = "All Sections" } = {}) {
50952
50999
  const [n, i] = Dt(""), [a, s] = Dt(""), { data: l, isLoading: u } = VC({
50953
51000
  queryKey: ["class-sections-lookup"],
50954
51001
  queryFn: t,
@@ -51034,7 +51081,7 @@ function Er({ children: t, variant: r = "primary", size: e = "md", icon: n, load
51034
51081
  }
51035
51082
  );
51036
51083
  }
51037
- function ase({ children: t, className: r, hover: e = !1, interactive: n = !1, ...i }) {
51084
+ function sse({ children: t, className: r, hover: e = !1, interactive: n = !1, ...i }) {
51038
51085
  return /* @__PURE__ */ Y(
51039
51086
  "div",
51040
51087
  {
@@ -51049,13 +51096,13 @@ function ase({ children: t, className: r, hover: e = !1, interactive: n = !1, ..
51049
51096
  }
51050
51097
  );
51051
51098
  }
51052
- function sse({ children: t, className: r }) {
51099
+ function ose({ children: t, className: r }) {
51053
51100
  return /* @__PURE__ */ Y("div", { className: Kt("pb-4 mb-4 border-b border-slate-200", r), children: t });
51054
51101
  }
51055
- function ose({ children: t, className: r }) {
51102
+ function lse({ children: t, className: r }) {
51056
51103
  return /* @__PURE__ */ Y("div", { className: Kt(r), children: t });
51057
51104
  }
51058
- function lse({ children: t, className: r }) {
51105
+ function use({ children: t, className: r }) {
51059
51106
  return /* @__PURE__ */ Y("h3", { className: Kt("text-lg font-semibold text-slate-900", r), children: t });
51060
51107
  }
51061
51108
  const Q$ = {
@@ -51132,7 +51179,7 @@ function rz({ value: t, onChange: r, placeholder: e = "Search...", className: n
51132
51179
  }
51133
51180
  );
51134
51181
  }
51135
- function use({ label: t, options: r = [], value: e, onChange: n, placeholder: i = "Select...", error: a, className: s, ...l }) {
51182
+ function cse({ label: t, options: r = [], value: e, onChange: n, placeholder: i = "Select...", error: a, className: s, ...l }) {
51136
51183
  return /* @__PURE__ */ oe("div", { className: "space-y-1.5", children: [
51137
51184
  t && /* @__PURE__ */ Y("label", { className: "text-sm font-medium text-slate-700", children: t }),
51138
51185
  /* @__PURE__ */ oe("div", { className: "relative", children: [
@@ -51306,7 +51353,7 @@ function Po({ value: t, onChange: r, options: e = [], onSearch: n, placeholder:
51306
51353
  )
51307
51354
  ] });
51308
51355
  }
51309
- function cse({
51356
+ function fse({
51310
51357
  columns: t = [],
51311
51358
  data: r = [],
51312
51359
  loading: e = !1,
@@ -51515,7 +51562,7 @@ function iz({ page: t = 0, totalPages: r = 1, totalCount: e, pageSize: n = 20, o
51515
51562
  ] })
51516
51563
  ] });
51517
51564
  }
51518
- function fse({ items: t, brand: r, user: e, collapsed: n, onToggle: i, onLogout: a, onSettings: s }) {
51565
+ function hse({ items: t, brand: r, user: e, collapsed: n, onToggle: i, onLogout: a, onSettings: s }) {
51519
51566
  const l = yP(), [u, o] = Dt(!1);
51520
51567
  t.findIndex((p) => l.pathname.startsWith(p.path)), Yr(() => {
51521
51568
  const p = l.pathname, v = t.find((b) => p.startsWith(b.path));
@@ -51725,7 +51772,7 @@ function az({ items: t, onLogout: r }) {
51725
51772
  ] }) }) })
51726
51773
  ] });
51727
51774
  }
51728
- function hse({ title: t, subtitle: r, school: e, user: n, notificationCount: i = 0, onNotificationClick: a, onLogout: s, onProfile: l, onSettings: u, onChangePassword: o, navItems: c = [], extraActions: d }) {
51775
+ function dse({ title: t, subtitle: r, school: e, user: n, notificationCount: i = 0, onNotificationClick: a, onLogout: s, onProfile: l, onSettings: u, onChangePassword: o, navItems: c = [], extraActions: d }) {
51729
51776
  const [h, f] = Dt(!1), g = Pn(null), m = S9(), p = (() => {
51730
51777
  try {
51731
51778
  return JSON.parse(sessionStorage.getItem("sidebar-recent") || "[]").slice(0, 5);
@@ -51836,7 +51883,7 @@ function hse({ title: t, subtitle: r, school: e, user: n, notificationCount: i =
51836
51883
  function Bi({ className: t }) {
51837
51884
  return /* @__PURE__ */ Y("div", { className: Kt("rounded-lg bg-gradient-to-r from-slate-200 via-slate-100 to-slate-200 bg-[length:200%_100%] animate-shimmer", t) });
51838
51885
  }
51839
- function dse() {
51886
+ function pse() {
51840
51887
  return /* @__PURE__ */ oe("div", { className: "bg-white rounded-xl shadow-soft border border-slate-100 p-6 space-y-3", children: [
51841
51888
  /* @__PURE__ */ Y(Bi, { className: "h-4 w-1/3" }),
51842
51889
  /* @__PURE__ */ Y(Bi, { className: "h-8 w-1/2" }),
@@ -51868,16 +51915,16 @@ function sz() {
51868
51915
  ] })
51869
51916
  ] });
51870
51917
  }
51871
- function pse({ rows: t = 5, cols: r = 4 }) {
51918
+ function mse({ rows: t = 5, cols: r = 4 }) {
51872
51919
  return /* @__PURE__ */ oe("div", { className: "rounded-xl border border-slate-200 overflow-hidden", children: [
51873
51920
  /* @__PURE__ */ Y("div", { className: "flex gap-4 px-4 py-3 bg-slate-50 border-b border-slate-200", children: Array.from({ length: r }).map((e, n) => /* @__PURE__ */ Y(Bi, { className: "h-3 flex-1" }, n)) }),
51874
51921
  Array.from({ length: t }).map((e, n) => /* @__PURE__ */ Y("div", { className: "flex gap-4 px-4 py-3 border-b border-slate-100 last:border-0", children: Array.from({ length: r }).map((i, a) => /* @__PURE__ */ Y(Bi, { className: "h-3 flex-1" }, a)) }, n))
51875
51922
  ] });
51876
51923
  }
51877
- function mse({ children: t, user: r, allowedRoles: e, redirectTo: n = "/login" }) {
51924
+ function gse({ children: t, user: r, allowedRoles: e, redirectTo: n = "/login" }) {
51878
51925
  return r ? e && !e.includes(r.role) ? /* @__PURE__ */ Y(Lw, { to: n, replace: !0 }) : t : /* @__PURE__ */ Y(Lw, { to: n, replace: !0 });
51879
51926
  }
51880
- function gse({ activities: t = [], className: r }) {
51927
+ function vse({ activities: t = [], className: r }) {
51881
51928
  return t.length === 0 ? null : /* @__PURE__ */ Y("div", { className: Kt("space-y-1", r), children: t.map((e, n) => /* @__PURE__ */ oe("div", { className: "flex items-start gap-3 py-3 border-b border-surface-50 last:border-0", children: [
51882
51929
  /* @__PURE__ */ Y("div", { className: Kt("w-8 h-8 rounded flex items-center justify-center flex-shrink-0", e.bgColor || "bg-info-100"), children: e.icon || /* @__PURE__ */ Y(tP, { className: "w-3.5 h-3.5 text-info-600" }) }),
51883
51930
  /* @__PURE__ */ oe("div", { className: "flex-1 min-w-0", children: [
@@ -51949,7 +51996,7 @@ function fz({ id: t, message: r, onConfirm: e, onUndo: n, timeout: i = 5e3, onRe
51949
51996
  /* @__PURE__ */ Y("button", { onClick: d, className: "text-sm font-bold text-primary-400 hover:text-primary-300 transition-colors whitespace-nowrap px-3 py-1.5 bg-slate-800 rounded-lg hover:bg-slate-700", children: "Undo" })
51950
51997
  ] });
51951
51998
  }
51952
- function vse({ children: t }) {
51999
+ function bse({ children: t }) {
51953
52000
  const [r, e] = Dt([]), [n, i] = Dt([]), a = oi((c, d = "info") => {
51954
52001
  const h = Date.now() + Math.random();
51955
52002
  e((f) => [...f, { id: h, message: c, type: d }]);
@@ -51975,7 +52022,7 @@ function vse({ children: t }) {
51975
52022
  ] })
51976
52023
  ] });
51977
52024
  }
51978
- function bse() {
52025
+ function yse() {
51979
52026
  const t = gs(jE);
51980
52027
  if (!t) throw new Error("useToast must be used within ToastProvider");
51981
52028
  return t;
@@ -51997,7 +52044,7 @@ function Y3({ open: t, onClose: r, onConfirm: e, title: n = "Confirm Delete", me
51997
52044
  ] })
51998
52045
  ] });
51999
52046
  }
52000
- function yse({ tabs: t, active: r, onChange: e, className: n }) {
52047
+ function xse({ tabs: t, active: r, onChange: e, className: n }) {
52001
52048
  return /* @__PURE__ */ Y("div", { className: Kt("flex gap-1 bg-slate-100/80 rounded-xl p-1.5 max-w-full overflow-x-auto", n), children: t.map((i, a) => {
52002
52049
  const s = r === a, l = typeof i == "string" ? i : i.label, u = typeof i == "object" ? i.icon : null;
52003
52050
  return /* @__PURE__ */ oe(
@@ -52021,7 +52068,7 @@ function yse({ tabs: t, active: r, onChange: e, className: n }) {
52021
52068
  );
52022
52069
  }) });
52023
52070
  }
52024
- function xse({ checked: t, onChange: r, label: e, description: n, disabled: i, className: a }) {
52071
+ function wse({ checked: t, onChange: r, label: e, description: n, disabled: i, className: a }) {
52025
52072
  return /* @__PURE__ */ oe("label", { className: Kt("flex items-center gap-3 cursor-pointer group", i && "opacity-50 cursor-not-allowed", a), children: [
52026
52073
  /* @__PURE__ */ oe("div", { className: "relative", children: [
52027
52074
  /* @__PURE__ */ Y(
@@ -52213,7 +52260,7 @@ function bz({ value: t, onChange: r, label: e, placeholder: n, min: i, max: a, c
52213
52260
  ] })
52214
52261
  ] });
52215
52262
  }
52216
- function wse({ value: t, onChange: r, label: e, placeholder: n, min: i, max: a, className: s, disabled: l, error: u }) {
52263
+ function _se({ value: t, onChange: r, label: e, placeholder: n, min: i, max: a, className: s, disabled: l, error: u }) {
52217
52264
  return /* @__PURE__ */ Y(
52218
52265
  bz,
52219
52266
  {
@@ -52292,7 +52339,7 @@ function J3({ year: t, month: r, startDate: e, endDate: n, hoverDate: i, onSelec
52292
52339
  ] })
52293
52340
  ] });
52294
52341
  }
52295
- function _se({ startValue: t, endValue: r, onChange: e, label: n, placeholder: i, min: a, max: s, className: l, disabled: u, error: o }) {
52342
+ function Sse({ startValue: t, endValue: r, onChange: e, label: n, placeholder: i, min: a, max: s, className: l, disabled: u, error: o }) {
52296
52343
  const [c, d] = Dt(!1), [h, f] = Dt("start"), [g, m] = Dt(null), [p, v] = Dt(null), [b, y] = Dt(null), [_, T] = Dt(() => {
52297
52344
  const S = vl(t) || /* @__PURE__ */ new Date();
52298
52345
  return { year: S.getFullYear(), month: S.getMonth() };
@@ -52477,7 +52524,7 @@ function _se({ startValue: t, endValue: r, onChange: e, label: n, placeholder: i
52477
52524
  )
52478
52525
  ] });
52479
52526
  }
52480
- function Sse({ value: t, onChange: r, label: e, className: n, disabled: i }) {
52527
+ function Ase({ value: t, onChange: r, label: e, className: n, disabled: i }) {
52481
52528
  return /* @__PURE__ */ oe("div", { className: n, children: [
52482
52529
  e && /* @__PURE__ */ Y("label", { className: "text-xs font-medium text-slate-500 mb-1.5 block", children: e }),
52483
52530
  /* @__PURE__ */ oe("div", { className: "relative", children: [
@@ -52501,7 +52548,7 @@ function Sse({ value: t, onChange: r, label: e, className: n, disabled: i }) {
52501
52548
  ] })
52502
52549
  ] });
52503
52550
  }
52504
- class Ase extends kx {
52551
+ class Tse extends kx {
52505
52552
  constructor(r) {
52506
52553
  super(r), this.state = { hasError: !1, error: null };
52507
52554
  }
@@ -52529,7 +52576,7 @@ class Ase extends kx {
52529
52576
  ] }) : this.props.children;
52530
52577
  }
52531
52578
  }
52532
- function Tse() {
52579
+ function Ese() {
52533
52580
  const [t, r] = Dt(navigator.onLine), [e, n] = Dt(!1);
52534
52581
  return Yr(() => {
52535
52582
  const i = () => {
@@ -52546,7 +52593,7 @@ function Tse() {
52546
52593
  " You're offline. Some features may not work."
52547
52594
  ] }) });
52548
52595
  }
52549
- function Ese({ label: t, sortKey: r, sortConfig: e, onSort: n, className: i }) {
52596
+ function kse({ label: t, sortKey: r, sortConfig: e, onSort: n, className: i }) {
52550
52597
  const a = (e == null ? void 0 : e.key) === r, s = a ? e.direction : null;
52551
52598
  return /* @__PURE__ */ oe(
52552
52599
  "button",
@@ -52564,7 +52611,7 @@ function Ese({ label: t, sortKey: r, sortConfig: e, onSort: n, className: i }) {
52564
52611
  }
52565
52612
  );
52566
52613
  }
52567
- function kse({ children: t, content: r, className: e }) {
52614
+ function Nse({ children: t, content: r, className: e }) {
52568
52615
  const [n, i] = Dt(!1), [a, s] = Dt({ top: 0, left: 0 }), l = Pn(null), u = Pn(null), o = () => {
52569
52616
  clearTimeout(u.current), u.current = setTimeout(() => {
52570
52617
  if (l.current) {
@@ -52631,7 +52678,7 @@ const Q3 = {
52631
52678
  /* @__PURE__ */ Y("path", { d: "M80 75 L95 90 L120 60", stroke: "#22c55e", strokeWidth: "4", strokeLinecap: "round", strokeLinejoin: "round" })
52632
52679
  ] })
52633
52680
  };
52634
- function Nse({ type: t = "noData", title: r, message: e, action: n, className: i }) {
52681
+ function Ose({ type: t = "noData", title: r, message: e, action: n, className: i }) {
52635
52682
  return /* @__PURE__ */ oe("div", { className: Kt("flex flex-col items-center justify-center py-12 text-center", i), children: [
52636
52683
  Q3[t] || Q3.noData,
52637
52684
  r && /* @__PURE__ */ Y("p", { className: "text-base font-semibold text-slate-700 mt-4", children: r }),
@@ -52639,7 +52686,7 @@ function Nse({ type: t = "noData", title: r, message: e, action: n, className: i
52639
52686
  n && /* @__PURE__ */ Y("div", { className: "mt-4", children: n })
52640
52687
  ] });
52641
52688
  }
52642
- function Ose({ title: t, children: r, className: e }) {
52689
+ function Cse({ title: t, children: r, className: e }) {
52643
52690
  return /* @__PURE__ */ oe("div", { className: Kt("bg-white border border-slate-200 rounded-xl p-5 transition-all duration-200 hover:shadow-sm", e), children: [
52644
52691
  /* @__PURE__ */ oe("h3", { className: "text-sm font-bold text-slate-900 mb-4 flex items-center gap-2", children: [
52645
52692
  /* @__PURE__ */ Y("span", { className: "w-1.5 h-1.5 rounded-full bg-primary-500" }),
@@ -52648,7 +52695,7 @@ function Ose({ title: t, children: r, className: e }) {
52648
52695
  r
52649
52696
  ] });
52650
52697
  }
52651
- function Cse({ tokenExpiresAt: t, onLogout: r, onRefresh: e, warningMinutes: n = 5 }) {
52698
+ function Pse({ tokenExpiresAt: t, onLogout: r, onRefresh: e, warningMinutes: n = 5 }) {
52652
52699
  const [i, a] = Dt(!1), [s, l] = Dt(0), [u, o] = Dt(!1), c = Pn(null);
52653
52700
  Yr(() => {
52654
52701
  if (!t) return;
@@ -52708,7 +52755,7 @@ function i0(t) {
52708
52755
  const [r, e] = t.split(":"), n = parseInt(r);
52709
52756
  return `${n > 12 ? n - 12 : n}:${e} ${n >= 12 ? "PM" : "AM"}`;
52710
52757
  }
52711
- function Pse({
52758
+ function Mse({
52712
52759
  periods: t = [],
52713
52760
  timetable: r = {},
52714
52761
  days: e = Az,
@@ -52822,7 +52869,7 @@ function Pse({
52822
52869
  })
52823
52870
  ] }) });
52824
52871
  }
52825
- function Mse({ page: t = 0, totalPages: r = 1, totalCount: e, pageSize: n = 20, onPageChange: i }) {
52872
+ function Ise({ page: t = 0, totalPages: r = 1, totalCount: e, pageSize: n = 20, onPageChange: i }) {
52826
52873
  if (r <= 1) return null;
52827
52874
  const a = t * n + 1, s = Math.min((t + 1) * n, e || (t + 1) * n), l = () => {
52828
52875
  const u = [];
@@ -52885,7 +52932,7 @@ function Mse({ page: t = 0, totalPages: r = 1, totalCount: e, pageSize: n = 20,
52885
52932
  ] })
52886
52933
  ] });
52887
52934
  }
52888
- function Ise({
52935
+ function Rse({
52889
52936
  title: t = "Portal",
52890
52937
  subtitle: r = "Sign in to your account",
52891
52938
  icon: e,
@@ -52980,7 +53027,7 @@ function Ise({
52980
53027
  ] })
52981
53028
  ] });
52982
53029
  }
52983
- function Rse({ open: t, onClose: r, onSubmit: e, loading: n, error: i }) {
53030
+ function Lse({ open: t, onClose: r, onSubmit: e, loading: n, error: i }) {
52984
53031
  const [a, s] = Dt({ current_password: "", new_password: "", confirm_password: "" }), [l, u] = Dt(!1), [o, c] = Dt(!1), [d, h] = Dt(!1), [f, g] = Dt({}), m = () => {
52985
53032
  const b = {};
52986
53033
  return a.current_password || (b.current_password = "Current password is required"), a.new_password ? a.new_password.length < 6 && (b.new_password = "Password must be at least 6 characters") : b.new_password = "New password is required", a.confirm_password ? a.new_password !== a.confirm_password && (b.confirm_password = "Passwords do not match") : b.confirm_password = "Please confirm your new password", b;
@@ -53078,7 +53125,7 @@ function Rse({ open: t, onClose: r, onSubmit: e, loading: n, error: i }) {
53078
53125
  ] })
53079
53126
  ] });
53080
53127
  }
53081
- function Lse({ open: t, onClose: r, onSubmit: e, loading: n = !1, userName: i = "" }) {
53128
+ function jse({ open: t, onClose: r, onSubmit: e, loading: n = !1, userName: i = "" }) {
53082
53129
  const [a, s] = Dt(""), [l, u] = Dt(!1), [o, c] = Dt(!1), [d, h] = Dt(""), f = () => {
53083
53130
  if (!a || a.length < 6) {
53084
53131
  h("Password must be at least 6 characters");
@@ -53132,7 +53179,7 @@ function Lse({ open: t, onClose: r, onSubmit: e, loading: n = !1, userName: i =
53132
53179
  ] })
53133
53180
  ] });
53134
53181
  }
53135
- function jse({ name: t, subtitle: r, avatarInitials: e, badges: n = [], extra: i }) {
53182
+ function Fse({ name: t, subtitle: r, avatarInitials: e, badges: n = [], extra: i }) {
53136
53183
  const a = {
53137
53184
  primary: "bg-indigo-50 text-indigo-600",
53138
53185
  success: "bg-green-100 text-green-600",
@@ -53160,7 +53207,7 @@ function jse({ name: t, subtitle: r, avatarInitials: e, badges: n = [], extra: i
53160
53207
  i && /* @__PURE__ */ Y("div", { className: "flex-shrink-0", children: i })
53161
53208
  ] }) });
53162
53209
  }
53163
- function Fse({ title: t, titleIcon: r, titleIconColor: e, titleIconBg: n, items: i = [], columns: a = 2 }) {
53210
+ function Dse({ title: t, titleIcon: r, titleIconColor: e, titleIconBg: n, items: i = [], columns: a = 2 }) {
53164
53211
  const s = a === 3 ? "grid grid-cols-1 md:grid-cols-3 gap-4" : "grid grid-cols-1 md:grid-cols-2 gap-4";
53165
53212
  return /* @__PURE__ */ oe("div", { className: "bg-white border border-slate-200 rounded-xl p-4 md:p-5 mb-4 transition-all duration-200 hover:shadow-soft-lg hover:border-slate-300", children: [
53166
53213
  t && /* @__PURE__ */ oe("div", { className: "flex items-center gap-2 mb-3", children: [
@@ -72538,7 +72585,7 @@ var Ex = function(r, e, n, i) {
72538
72585
  outerRadius: "80%"
72539
72586
  }
72540
72587
  });
72541
- function Dse({
72588
+ function Bse({
72542
72589
  student: t,
72543
72590
  examResults: r = [],
72544
72591
  meetings: e = [],
@@ -73038,7 +73085,7 @@ function Dse({
73038
73085
  O
73039
73086
  ] });
73040
73087
  }
73041
- function Bse({
73088
+ function $se({
73042
73089
  teacher: t,
73043
73090
  assignments: r = [],
73044
73091
  onEdit: e,
@@ -73290,7 +73337,7 @@ function an({ label: t, value: r }) {
73290
73337
  /* @__PURE__ */ Y("p", { className: "text-sm font-medium text-slate-800", children: r || "-" })
73291
73338
  ] });
73292
73339
  }
73293
- function $se({
73340
+ function zse({
73294
73341
  open: t,
73295
73342
  onClose: r,
73296
73343
  title: e,
@@ -73344,7 +73391,7 @@ function $se({
73344
73391
  ] })
73345
73392
  ] });
73346
73393
  }
73347
- function zse({ school: t = {}, title: r, subtitle: e }) {
73394
+ function Use({ school: t = {}, title: r, subtitle: e }) {
73348
73395
  return /* @__PURE__ */ oe("div", { className: "print-header border-b-2 border-slate-800 pb-4 mb-6", children: [
73349
73396
  /* @__PURE__ */ oe("div", { className: "flex items-center gap-4", children: [
73350
73397
  t.logo_url ? /* @__PURE__ */ Y("img", { src: t.logo_url, alt: t.name, className: "w-16 h-16 object-contain rounded" }) : /* @__PURE__ */ Y("div", { className: "w-16 h-16 bg-primary-100 rounded flex items-center justify-center text-primary-700 text-2xl font-bold", children: (t.name || "S").charAt(0) }),
@@ -73387,7 +73434,7 @@ function l9(t, r) {
73387
73434
  function u9(t) {
73388
73435
  return t ? (/* @__PURE__ */ new Date(t + "T00:00:00")).toLocaleDateString("en-IN", { weekday: "short", day: "numeric", month: "short" }) : "";
73389
73436
  }
73390
- function Use({
73437
+ function qse({
73391
73438
  studentList: t = [],
73392
73439
  isSubmitted: r = !1,
73393
73440
  isLoading: e = !1,
@@ -73689,7 +73736,7 @@ const c9 = [
73689
73736
  { label: "Transport", emojis: ["🚌", "🚗", "🚐", "🏍️", "🚲", "🛣️", "📍", "🗺️", "🏠", "🧭", "✈️", "🚂", "⛽", "🚦", "🛑", "🅿️"] },
73690
73737
  { label: "Health", emojis: ["🏥", "💊", "🩺", "🩹", "😷", "🧴", "🧼", "💉", "🌡️", "🍎", "🥗", "💧", "🏋️", "🧘", "❤️", "🫀"] }
73691
73738
  ];
73692
- function qse({
73739
+ function Hse({
73693
73740
  title: t,
73694
73741
  setTitle: r,
73695
73742
  message: e,
@@ -73880,7 +73927,7 @@ function qse({
73880
73927
  ] }) })
73881
73928
  ] });
73882
73929
  }
73883
- function Hse({ pages: t = [], maxVisible: r = 8 }) {
73930
+ function Wse({ pages: t = [], maxVisible: r = 8 }) {
73884
73931
  const [e, n] = Dt(!1), [i, a] = Dt(""), [s, l] = Dt(0), u = Pn(null), o = Pn(null), c = S9(), d = i.trim() ? t.filter((m) => {
73885
73932
  const p = i.toLowerCase();
73886
73933
  return m.label.toLowerCase().includes(p) || (m.keywords || "").toLowerCase().includes(p);
@@ -73970,76 +74017,77 @@ export {
73970
74017
  Kt as $,
73971
74018
  K$ as A,
73972
74019
  $u as B,
73973
- ase as C,
73974
- cse as D,
73975
- Nse as E,
74020
+ sse as C,
74021
+ fse as D,
74022
+ Ose as E,
73976
74023
  hz as F,
73977
74024
  Bi as G,
73978
- kse as H,
74025
+ Nse as H,
73979
74026
  tz as I,
73980
- dse as J,
74027
+ pse as J,
73981
74028
  sz as K,
73982
- Ise as L,
74029
+ Rse as L,
73983
74030
  Xh as M,
73984
- Tse as N,
73985
- pse as O,
73986
- Mse as P,
73987
- Ese as Q,
73988
- gse as R,
74031
+ Ese as N,
74032
+ mse as O,
74033
+ Ise as P,
74034
+ kse as Q,
74035
+ vse as R,
73989
74036
  rz as S,
73990
- Dse as T,
73991
- yse as U,
73992
- Bse as V,
73993
- Sse as W,
73994
- Pse as X,
73995
- vse as Y,
73996
- hse as Z,
74037
+ Bse as T,
74038
+ xse as U,
74039
+ $se as V,
74040
+ Ase as W,
74041
+ Mse as X,
74042
+ bse as Y,
74043
+ dse as Z,
73997
74044
  Ur as _,
73998
- Use as a,
74045
+ qse as a,
73999
74046
  lr as a0,
74000
- Gae as a1,
74001
- Xae as a2,
74002
- Yae as a3,
74047
+ Xae as a1,
74048
+ Yae as a2,
74049
+ Kae as a3,
74003
74050
  zae as a4,
74004
- Vae as a5,
74051
+ Gae as a5,
74005
74052
  Wae as a6,
74006
74053
  Hae as a7,
74007
74054
  Uae as a8,
74008
74055
  qae as a9,
74009
- Fr as aa,
74010
- Kae as ab,
74011
- ise as ac,
74012
- Qae as ad,
74013
- Jae as ae,
74014
- Zae as af,
74015
- nse as ag,
74016
- ese as ah,
74017
- rse as ai,
74018
- tse as aj,
74019
- bse as ak,
74056
+ Vae as aa,
74057
+ Fr as ab,
74058
+ Zae as ac,
74059
+ ase as ad,
74060
+ ese as ae,
74061
+ Qae as af,
74062
+ Jae as ag,
74063
+ ise as ah,
74064
+ tse as ai,
74065
+ nse as aj,
74066
+ rse as ak,
74067
+ yse as al,
74020
74068
  LE as b,
74021
74069
  Er as c,
74022
- ose as d,
74023
- sse as e,
74024
- lse as f,
74025
- Rse as g,
74026
- xse as h,
74027
- Hse as i,
74070
+ lse as d,
74071
+ ose as e,
74072
+ use as f,
74073
+ Lse as g,
74074
+ wse as h,
74075
+ Wse as i,
74028
74076
  Y3 as j,
74029
- wse as k,
74077
+ _se as k,
74030
74078
  bz as l,
74031
- _se as m,
74032
- Ase as n,
74033
- $se as o,
74034
- qse as p,
74035
- zse as q,
74036
- jse as r,
74037
- Fse as s,
74038
- mse as t,
74039
- Lse as u,
74079
+ Sse as m,
74080
+ Tse as n,
74081
+ zse as o,
74082
+ Hse as p,
74083
+ Use as q,
74084
+ Fse as r,
74085
+ Dse as s,
74086
+ gse as t,
74087
+ jse as u,
74040
74088
  Po as v,
74041
- Ose as w,
74042
- use as x,
74043
- Cse as y,
74044
- fse as z
74089
+ Cse as w,
74090
+ cse as x,
74091
+ Pse as y,
74092
+ hse as z
74045
74093
  };