ode-explorer 1.3.3-develop-pedago.202402201007 → 1.3.3-develop-b2school.202402271516
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.
- package/dist/index.html +11 -17
- package/dist/index.js +1342 -1452
- package/dist/version.txt +1 -1
- package/lib/ActionBarContainer.js +180 -190
- package/lib/DeleteModal.js +3 -3
- package/lib/FolderModal.js +16 -16
- package/lib/Library.js +6 -4
- package/lib/MoveModal.js +6 -6
- package/lib/features/ActionBar/useActionBar.d.ts +1 -1
- package/lib/features/SideBar/Library/Library.d.ts +1 -1
- package/lib/index2.js +588 -643
- package/lib/services/api/index.d.ts +0 -7
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -7435,117 +7435,664 @@ function clsx() {
|
|
|
7435
7435
|
(e2 = arguments[f2]) && (t2 = r$3(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
7436
7436
|
return n2;
|
|
7437
7437
|
}
|
|
7438
|
-
var
|
|
7438
|
+
var dayjs_min = { exports: {} };
|
|
7439
7439
|
(function(module, exports) {
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
var
|
|
7444
|
-
var
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7440
|
+
!function(t2, e2) {
|
|
7441
|
+
module.exports = e2();
|
|
7442
|
+
}(commonjsGlobal, function() {
|
|
7443
|
+
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s2 = "minute", u2 = "hour", a2 = "day", o2 = "week", c6 = "month", f2 = "quarter", h2 = "year", d2 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y2 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
|
|
7444
|
+
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
|
|
7445
|
+
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
|
|
7446
|
+
} }, m2 = function(t3, e3, n3) {
|
|
7447
|
+
var r3 = String(t3);
|
|
7448
|
+
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
|
|
7449
|
+
}, v2 = { s: m2, z: function(t3) {
|
|
7450
|
+
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i3 = n3 % 60;
|
|
7451
|
+
return (e3 <= 0 ? "+" : "-") + m2(r3, 2, "0") + ":" + m2(i3, 2, "0");
|
|
7452
|
+
}, m: function t3(e3, n3) {
|
|
7453
|
+
if (e3.date() < n3.date())
|
|
7454
|
+
return -t3(n3, e3);
|
|
7455
|
+
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i3 = e3.clone().add(r3, c6), s3 = n3 - i3 < 0, u3 = e3.clone().add(r3 + (s3 ? -1 : 1), c6);
|
|
7456
|
+
return +(-(r3 + (n3 - i3) / (s3 ? i3 - u3 : u3 - i3)) || 0);
|
|
7457
|
+
}, a: function(t3) {
|
|
7458
|
+
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
|
|
7459
|
+
}, p: function(t3) {
|
|
7460
|
+
return { M: c6, y: h2, w: o2, d: a2, D: d2, h: u2, m: s2, s: i2, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
|
|
7461
|
+
}, u: function(t3) {
|
|
7462
|
+
return void 0 === t3;
|
|
7463
|
+
} }, g2 = "en", D2 = {};
|
|
7464
|
+
D2[g2] = M2;
|
|
7465
|
+
var p2 = "$isDayjsObject", S2 = function(t3) {
|
|
7466
|
+
return t3 instanceof _2 || !(!t3 || !t3[p2]);
|
|
7467
|
+
}, w2 = function t3(e3, n3, r3) {
|
|
7468
|
+
var i3;
|
|
7469
|
+
if (!e3)
|
|
7470
|
+
return g2;
|
|
7471
|
+
if ("string" == typeof e3) {
|
|
7472
|
+
var s3 = e3.toLowerCase();
|
|
7473
|
+
D2[s3] && (i3 = s3), n3 && (D2[s3] = n3, i3 = s3);
|
|
7474
|
+
var u3 = e3.split("-");
|
|
7475
|
+
if (!i3 && u3.length > 1)
|
|
7476
|
+
return t3(u3[0]);
|
|
7477
|
+
} else {
|
|
7478
|
+
var a3 = e3.name;
|
|
7479
|
+
D2[a3] = e3, i3 = a3;
|
|
7457
7480
|
}
|
|
7458
|
-
return
|
|
7459
|
-
},
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7481
|
+
return !r3 && i3 && (g2 = i3), i3 || !r3 && g2;
|
|
7482
|
+
}, O2 = function(t3, e3) {
|
|
7483
|
+
if (S2(t3))
|
|
7484
|
+
return t3.clone();
|
|
7485
|
+
var n3 = "object" == typeof e3 ? e3 : {};
|
|
7486
|
+
return n3.date = t3, n3.args = arguments, new _2(n3);
|
|
7487
|
+
}, b2 = v2;
|
|
7488
|
+
b2.l = w2, b2.i = S2, b2.w = function(t3, e3) {
|
|
7489
|
+
return O2(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
|
|
7490
|
+
};
|
|
7491
|
+
var _2 = function() {
|
|
7492
|
+
function M3(t3) {
|
|
7493
|
+
this.$L = w2(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
|
|
7469
7494
|
}
|
|
7495
|
+
var m3 = M3.prototype;
|
|
7496
|
+
return m3.parse = function(t3) {
|
|
7497
|
+
this.$d = function(t4) {
|
|
7498
|
+
var e3 = t4.date, n3 = t4.utc;
|
|
7499
|
+
if (null === e3)
|
|
7500
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
7501
|
+
if (b2.u(e3))
|
|
7502
|
+
return /* @__PURE__ */ new Date();
|
|
7503
|
+
if (e3 instanceof Date)
|
|
7504
|
+
return new Date(e3);
|
|
7505
|
+
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
|
|
7506
|
+
var r3 = e3.match($2);
|
|
7507
|
+
if (r3) {
|
|
7508
|
+
var i3 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
|
|
7509
|
+
return n3 ? new Date(Date.UTC(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
|
|
7510
|
+
}
|
|
7511
|
+
}
|
|
7512
|
+
return new Date(e3);
|
|
7513
|
+
}(t3), this.init();
|
|
7514
|
+
}, m3.init = function() {
|
|
7515
|
+
var t3 = this.$d;
|
|
7516
|
+
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
|
|
7517
|
+
}, m3.$utils = function() {
|
|
7518
|
+
return b2;
|
|
7519
|
+
}, m3.isValid = function() {
|
|
7520
|
+
return !(this.$d.toString() === l2);
|
|
7521
|
+
}, m3.isSame = function(t3, e3) {
|
|
7522
|
+
var n3 = O2(t3);
|
|
7523
|
+
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
|
|
7524
|
+
}, m3.isAfter = function(t3, e3) {
|
|
7525
|
+
return O2(t3) < this.startOf(e3);
|
|
7526
|
+
}, m3.isBefore = function(t3, e3) {
|
|
7527
|
+
return this.endOf(e3) < O2(t3);
|
|
7528
|
+
}, m3.$g = function(t3, e3, n3) {
|
|
7529
|
+
return b2.u(t3) ? this[e3] : this.set(n3, t3);
|
|
7530
|
+
}, m3.unix = function() {
|
|
7531
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
7532
|
+
}, m3.valueOf = function() {
|
|
7533
|
+
return this.$d.getTime();
|
|
7534
|
+
}, m3.startOf = function(t3, e3) {
|
|
7535
|
+
var n3 = this, r3 = !!b2.u(e3) || e3, f3 = b2.p(t3), l3 = function(t4, e4) {
|
|
7536
|
+
var i3 = b2.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
|
|
7537
|
+
return r3 ? i3 : i3.endOf(a2);
|
|
7538
|
+
}, $3 = function(t4, e4) {
|
|
7539
|
+
return b2.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
|
|
7540
|
+
}, y3 = this.$W, M4 = this.$M, m4 = this.$D, v3 = "set" + (this.$u ? "UTC" : "");
|
|
7541
|
+
switch (f3) {
|
|
7542
|
+
case h2:
|
|
7543
|
+
return r3 ? l3(1, 0) : l3(31, 11);
|
|
7544
|
+
case c6:
|
|
7545
|
+
return r3 ? l3(1, M4) : l3(0, M4 + 1);
|
|
7546
|
+
case o2:
|
|
7547
|
+
var g3 = this.$locale().weekStart || 0, D3 = (y3 < g3 ? y3 + 7 : y3) - g3;
|
|
7548
|
+
return l3(r3 ? m4 - D3 : m4 + (6 - D3), M4);
|
|
7549
|
+
case a2:
|
|
7550
|
+
case d2:
|
|
7551
|
+
return $3(v3 + "Hours", 0);
|
|
7552
|
+
case u2:
|
|
7553
|
+
return $3(v3 + "Minutes", 1);
|
|
7554
|
+
case s2:
|
|
7555
|
+
return $3(v3 + "Seconds", 2);
|
|
7556
|
+
case i2:
|
|
7557
|
+
return $3(v3 + "Milliseconds", 3);
|
|
7558
|
+
default:
|
|
7559
|
+
return this.clone();
|
|
7560
|
+
}
|
|
7561
|
+
}, m3.endOf = function(t3) {
|
|
7562
|
+
return this.startOf(t3, false);
|
|
7563
|
+
}, m3.$set = function(t3, e3) {
|
|
7564
|
+
var n3, o3 = b2.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a2] = f3 + "Date", n3[d2] = f3 + "Date", n3[c6] = f3 + "Month", n3[h2] = f3 + "FullYear", n3[u2] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i2] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a2 ? this.$D + (e3 - this.$W) : e3;
|
|
7565
|
+
if (o3 === c6 || o3 === h2) {
|
|
7566
|
+
var y3 = this.clone().set(d2, 1);
|
|
7567
|
+
y3.$d[l3]($3), y3.init(), this.$d = y3.set(d2, Math.min(this.$D, y3.daysInMonth())).$d;
|
|
7568
|
+
} else
|
|
7569
|
+
l3 && this.$d[l3]($3);
|
|
7570
|
+
return this.init(), this;
|
|
7571
|
+
}, m3.set = function(t3, e3) {
|
|
7572
|
+
return this.clone().$set(t3, e3);
|
|
7573
|
+
}, m3.get = function(t3) {
|
|
7574
|
+
return this[b2.p(t3)]();
|
|
7575
|
+
}, m3.add = function(r3, f3) {
|
|
7576
|
+
var d3, l3 = this;
|
|
7577
|
+
r3 = Number(r3);
|
|
7578
|
+
var $3 = b2.p(f3), y3 = function(t3) {
|
|
7579
|
+
var e3 = O2(l3);
|
|
7580
|
+
return b2.w(e3.date(e3.date() + Math.round(t3 * r3)), l3);
|
|
7581
|
+
};
|
|
7582
|
+
if ($3 === c6)
|
|
7583
|
+
return this.set(c6, this.$M + r3);
|
|
7584
|
+
if ($3 === h2)
|
|
7585
|
+
return this.set(h2, this.$y + r3);
|
|
7586
|
+
if ($3 === a2)
|
|
7587
|
+
return y3(1);
|
|
7588
|
+
if ($3 === o2)
|
|
7589
|
+
return y3(7);
|
|
7590
|
+
var M4 = (d3 = {}, d3[s2] = e2, d3[u2] = n2, d3[i2] = t2, d3)[$3] || 1, m4 = this.$d.getTime() + r3 * M4;
|
|
7591
|
+
return b2.w(m4, this);
|
|
7592
|
+
}, m3.subtract = function(t3, e3) {
|
|
7593
|
+
return this.add(-1 * t3, e3);
|
|
7594
|
+
}, m3.format = function(t3) {
|
|
7595
|
+
var e3 = this, n3 = this.$locale();
|
|
7596
|
+
if (!this.isValid())
|
|
7597
|
+
return n3.invalidDate || l2;
|
|
7598
|
+
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b2.z(this), s3 = this.$H, u3 = this.$m, a3 = this.$M, o3 = n3.weekdays, c7 = n3.months, f3 = n3.meridiem, h3 = function(t4, n4, i4, s4) {
|
|
7599
|
+
return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
|
|
7600
|
+
}, d3 = function(t4) {
|
|
7601
|
+
return b2.s(s3 % 12 || 12, t4, "0");
|
|
7602
|
+
}, $3 = f3 || function(t4, e4, n4) {
|
|
7603
|
+
var r4 = t4 < 12 ? "AM" : "PM";
|
|
7604
|
+
return n4 ? r4.toLowerCase() : r4;
|
|
7605
|
+
};
|
|
7606
|
+
return r3.replace(y2, function(t4, r4) {
|
|
7607
|
+
return r4 || function(t5) {
|
|
7608
|
+
switch (t5) {
|
|
7609
|
+
case "YY":
|
|
7610
|
+
return String(e3.$y).slice(-2);
|
|
7611
|
+
case "YYYY":
|
|
7612
|
+
return b2.s(e3.$y, 4, "0");
|
|
7613
|
+
case "M":
|
|
7614
|
+
return a3 + 1;
|
|
7615
|
+
case "MM":
|
|
7616
|
+
return b2.s(a3 + 1, 2, "0");
|
|
7617
|
+
case "MMM":
|
|
7618
|
+
return h3(n3.monthsShort, a3, c7, 3);
|
|
7619
|
+
case "MMMM":
|
|
7620
|
+
return h3(c7, a3);
|
|
7621
|
+
case "D":
|
|
7622
|
+
return e3.$D;
|
|
7623
|
+
case "DD":
|
|
7624
|
+
return b2.s(e3.$D, 2, "0");
|
|
7625
|
+
case "d":
|
|
7626
|
+
return String(e3.$W);
|
|
7627
|
+
case "dd":
|
|
7628
|
+
return h3(n3.weekdaysMin, e3.$W, o3, 2);
|
|
7629
|
+
case "ddd":
|
|
7630
|
+
return h3(n3.weekdaysShort, e3.$W, o3, 3);
|
|
7631
|
+
case "dddd":
|
|
7632
|
+
return o3[e3.$W];
|
|
7633
|
+
case "H":
|
|
7634
|
+
return String(s3);
|
|
7635
|
+
case "HH":
|
|
7636
|
+
return b2.s(s3, 2, "0");
|
|
7637
|
+
case "h":
|
|
7638
|
+
return d3(1);
|
|
7639
|
+
case "hh":
|
|
7640
|
+
return d3(2);
|
|
7641
|
+
case "a":
|
|
7642
|
+
return $3(s3, u3, true);
|
|
7643
|
+
case "A":
|
|
7644
|
+
return $3(s3, u3, false);
|
|
7645
|
+
case "m":
|
|
7646
|
+
return String(u3);
|
|
7647
|
+
case "mm":
|
|
7648
|
+
return b2.s(u3, 2, "0");
|
|
7649
|
+
case "s":
|
|
7650
|
+
return String(e3.$s);
|
|
7651
|
+
case "ss":
|
|
7652
|
+
return b2.s(e3.$s, 2, "0");
|
|
7653
|
+
case "SSS":
|
|
7654
|
+
return b2.s(e3.$ms, 3, "0");
|
|
7655
|
+
case "Z":
|
|
7656
|
+
return i3;
|
|
7657
|
+
}
|
|
7658
|
+
return null;
|
|
7659
|
+
}(t4) || i3.replace(":", "");
|
|
7660
|
+
});
|
|
7661
|
+
}, m3.utcOffset = function() {
|
|
7662
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
7663
|
+
}, m3.diff = function(r3, d3, l3) {
|
|
7664
|
+
var $3, y3 = this, M4 = b2.p(d3), m4 = O2(r3), v3 = (m4.utcOffset() - this.utcOffset()) * e2, g3 = this - m4, D3 = function() {
|
|
7665
|
+
return b2.m(y3, m4);
|
|
7666
|
+
};
|
|
7667
|
+
switch (M4) {
|
|
7668
|
+
case h2:
|
|
7669
|
+
$3 = D3() / 12;
|
|
7670
|
+
break;
|
|
7671
|
+
case c6:
|
|
7672
|
+
$3 = D3();
|
|
7673
|
+
break;
|
|
7674
|
+
case f2:
|
|
7675
|
+
$3 = D3() / 3;
|
|
7676
|
+
break;
|
|
7677
|
+
case o2:
|
|
7678
|
+
$3 = (g3 - v3) / 6048e5;
|
|
7679
|
+
break;
|
|
7680
|
+
case a2:
|
|
7681
|
+
$3 = (g3 - v3) / 864e5;
|
|
7682
|
+
break;
|
|
7683
|
+
case u2:
|
|
7684
|
+
$3 = g3 / n2;
|
|
7685
|
+
break;
|
|
7686
|
+
case s2:
|
|
7687
|
+
$3 = g3 / e2;
|
|
7688
|
+
break;
|
|
7689
|
+
case i2:
|
|
7690
|
+
$3 = g3 / t2;
|
|
7691
|
+
break;
|
|
7692
|
+
default:
|
|
7693
|
+
$3 = g3;
|
|
7694
|
+
}
|
|
7695
|
+
return l3 ? $3 : b2.a($3);
|
|
7696
|
+
}, m3.daysInMonth = function() {
|
|
7697
|
+
return this.endOf(c6).$D;
|
|
7698
|
+
}, m3.$locale = function() {
|
|
7699
|
+
return D2[this.$L];
|
|
7700
|
+
}, m3.locale = function(t3, e3) {
|
|
7701
|
+
if (!t3)
|
|
7702
|
+
return this.$L;
|
|
7703
|
+
var n3 = this.clone(), r3 = w2(t3, e3, true);
|
|
7704
|
+
return r3 && (n3.$L = r3), n3;
|
|
7705
|
+
}, m3.clone = function() {
|
|
7706
|
+
return b2.w(this.$d, this);
|
|
7707
|
+
}, m3.toDate = function() {
|
|
7708
|
+
return new Date(this.valueOf());
|
|
7709
|
+
}, m3.toJSON = function() {
|
|
7710
|
+
return this.isValid() ? this.toISOString() : null;
|
|
7711
|
+
}, m3.toISOString = function() {
|
|
7712
|
+
return this.$d.toISOString();
|
|
7713
|
+
}, m3.toString = function() {
|
|
7714
|
+
return this.$d.toUTCString();
|
|
7715
|
+
}, M3;
|
|
7716
|
+
}(), k2 = _2.prototype;
|
|
7717
|
+
return O2.prototype = k2, [["$ms", r2], ["$s", i2], ["$m", s2], ["$H", u2], ["$W", a2], ["$M", c6], ["$y", h2], ["$D", d2]].forEach(function(t3) {
|
|
7718
|
+
k2[t3[1]] = function(e3) {
|
|
7719
|
+
return this.$g(e3, t3[0], t3[1]);
|
|
7720
|
+
};
|
|
7721
|
+
}), O2.extend = function(t3, e3) {
|
|
7722
|
+
return t3.$i || (t3(e3, _2, O2), t3.$i = true), O2;
|
|
7723
|
+
}, O2.locale = w2, O2.isDayjs = S2, O2.unix = function(t3) {
|
|
7724
|
+
return O2(1e3 * t3);
|
|
7725
|
+
}, O2.en = D2[g2], O2.Ls = D2, O2.p = {}, O2;
|
|
7726
|
+
});
|
|
7727
|
+
})(dayjs_min);
|
|
7728
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
7729
|
+
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
7730
|
+
var customParseFormat$1 = { exports: {} };
|
|
7731
|
+
(function(module, exports) {
|
|
7732
|
+
!function(e2, t2) {
|
|
7733
|
+
module.exports = t2();
|
|
7734
|
+
}(commonjsGlobal, function() {
|
|
7735
|
+
var e2 = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, t2 = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n2 = /\d\d/, r2 = /\d\d?/, i2 = /\d*[^-_:/,()\s\d]+/, o2 = {}, s2 = function(e3) {
|
|
7736
|
+
return (e3 = +e3) + (e3 > 68 ? 1900 : 2e3);
|
|
7470
7737
|
};
|
|
7471
|
-
var
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7738
|
+
var a2 = function(e3) {
|
|
7739
|
+
return function(t3) {
|
|
7740
|
+
this[e3] = +t3;
|
|
7741
|
+
};
|
|
7742
|
+
}, f2 = [/[+-]\d\d:?(\d\d)?|Z/, function(e3) {
|
|
7743
|
+
(this.zone || (this.zone = {})).offset = function(e4) {
|
|
7744
|
+
if (!e4)
|
|
7745
|
+
return 0;
|
|
7746
|
+
if ("Z" === e4)
|
|
7747
|
+
return 0;
|
|
7748
|
+
var t3 = e4.match(/([+-]|\d\d)/g), n3 = 60 * t3[1] + (+t3[2] || 0);
|
|
7749
|
+
return 0 === n3 ? 0 : "+" === t3[0] ? -n3 : n3;
|
|
7750
|
+
}(e3);
|
|
7751
|
+
}], h2 = function(e3) {
|
|
7752
|
+
var t3 = o2[e3];
|
|
7753
|
+
return t3 && (t3.indexOf ? t3 : t3.s.concat(t3.f));
|
|
7754
|
+
}, u2 = function(e3, t3) {
|
|
7755
|
+
var n3, r3 = o2.meridiem;
|
|
7756
|
+
if (r3) {
|
|
7757
|
+
for (var i3 = 1; i3 <= 24; i3 += 1)
|
|
7758
|
+
if (e3.indexOf(r3(i3, 0, t3)) > -1) {
|
|
7759
|
+
n3 = i3 > 12;
|
|
7478
7760
|
break;
|
|
7479
7761
|
}
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7762
|
+
} else
|
|
7763
|
+
n3 = e3 === (t3 ? "pm" : "PM");
|
|
7764
|
+
return n3;
|
|
7765
|
+
}, d2 = { A: [i2, function(e3) {
|
|
7766
|
+
this.afternoon = u2(e3, false);
|
|
7767
|
+
}], a: [i2, function(e3) {
|
|
7768
|
+
this.afternoon = u2(e3, true);
|
|
7769
|
+
}], S: [/\d/, function(e3) {
|
|
7770
|
+
this.milliseconds = 100 * +e3;
|
|
7771
|
+
}], SS: [n2, function(e3) {
|
|
7772
|
+
this.milliseconds = 10 * +e3;
|
|
7773
|
+
}], SSS: [/\d{3}/, function(e3) {
|
|
7774
|
+
this.milliseconds = +e3;
|
|
7775
|
+
}], s: [r2, a2("seconds")], ss: [r2, a2("seconds")], m: [r2, a2("minutes")], mm: [r2, a2("minutes")], H: [r2, a2("hours")], h: [r2, a2("hours")], HH: [r2, a2("hours")], hh: [r2, a2("hours")], D: [r2, a2("day")], DD: [n2, a2("day")], Do: [i2, function(e3) {
|
|
7776
|
+
var t3 = o2.ordinal, n3 = e3.match(/\d+/);
|
|
7777
|
+
if (this.day = n3[0], t3)
|
|
7778
|
+
for (var r3 = 1; r3 <= 31; r3 += 1)
|
|
7779
|
+
t3(r3).replace(/\[|\]/g, "") === e3 && (this.day = r3);
|
|
7780
|
+
}], M: [r2, a2("month")], MM: [n2, a2("month")], MMM: [i2, function(e3) {
|
|
7781
|
+
var t3 = h2("months"), n3 = (h2("monthsShort") || t3.map(function(e4) {
|
|
7782
|
+
return e4.slice(0, 3);
|
|
7783
|
+
})).indexOf(e3) + 1;
|
|
7784
|
+
if (n3 < 1)
|
|
7785
|
+
throw new Error();
|
|
7786
|
+
this.month = n3 % 12 || n3;
|
|
7787
|
+
}], MMMM: [i2, function(e3) {
|
|
7788
|
+
var t3 = h2("months").indexOf(e3) + 1;
|
|
7789
|
+
if (t3 < 1)
|
|
7790
|
+
throw new Error();
|
|
7791
|
+
this.month = t3 % 12 || t3;
|
|
7792
|
+
}], Y: [/[+-]?\d+/, a2("year")], YY: [n2, function(e3) {
|
|
7793
|
+
this.year = s2(e3);
|
|
7794
|
+
}], YYYY: [/\d{4}/, a2("year")], Z: f2, ZZ: f2 };
|
|
7795
|
+
function c6(n3) {
|
|
7796
|
+
var r3, i3;
|
|
7797
|
+
r3 = n3, i3 = o2 && o2.formats;
|
|
7798
|
+
for (var s3 = (n3 = r3.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(t3, n4, r4) {
|
|
7799
|
+
var o3 = r4 && r4.toUpperCase();
|
|
7800
|
+
return n4 || i3[r4] || e2[r4] || i3[o3].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(e3, t4, n5) {
|
|
7801
|
+
return t4 || n5.slice(1);
|
|
7802
|
+
});
|
|
7803
|
+
})).match(t2), a3 = s3.length, f3 = 0; f3 < a3; f3 += 1) {
|
|
7804
|
+
var h3 = s3[f3], u3 = d2[h3], c7 = u3 && u3[0], l2 = u3 && u3[1];
|
|
7805
|
+
s3[f3] = l2 ? { regex: c7, parser: l2 } : h3.replace(/^\[|\]$/g, "");
|
|
7806
|
+
}
|
|
7807
|
+
return function(e3) {
|
|
7808
|
+
for (var t3 = {}, n4 = 0, r4 = 0; n4 < a3; n4 += 1) {
|
|
7809
|
+
var i4 = s3[n4];
|
|
7810
|
+
if ("string" == typeof i4)
|
|
7811
|
+
r4 += i4.length;
|
|
7812
|
+
else {
|
|
7813
|
+
var o3 = i4.regex, f4 = i4.parser, h4 = e3.slice(r4), u4 = o3.exec(h4)[0];
|
|
7814
|
+
f4.call(t3, u4), e3 = e3.replace(u4, "");
|
|
7505
7815
|
}
|
|
7506
7816
|
}
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7817
|
+
return function(e4) {
|
|
7818
|
+
var t4 = e4.afternoon;
|
|
7819
|
+
if (void 0 !== t4) {
|
|
7820
|
+
var n5 = e4.hours;
|
|
7821
|
+
t4 ? n5 < 12 && (e4.hours += 12) : 12 === n5 && (e4.hours = 0), delete e4.afternoon;
|
|
7822
|
+
}
|
|
7823
|
+
}(t3), t3;
|
|
7824
|
+
};
|
|
7825
|
+
}
|
|
7826
|
+
return function(e3, t3, n3) {
|
|
7827
|
+
n3.p.customParseFormat = true, e3 && e3.parseTwoDigitYear && (s2 = e3.parseTwoDigitYear);
|
|
7828
|
+
var r3 = t3.prototype, i3 = r3.parse;
|
|
7829
|
+
r3.parse = function(e4) {
|
|
7830
|
+
var t4 = e4.date, r4 = e4.utc, s3 = e4.args;
|
|
7831
|
+
this.$u = r4;
|
|
7832
|
+
var a3 = s3[1];
|
|
7833
|
+
if ("string" == typeof a3) {
|
|
7834
|
+
var f3 = true === s3[2], h3 = true === s3[3], u3 = f3 || h3, d3 = s3[2];
|
|
7835
|
+
h3 && (d3 = s3[2]), o2 = this.$locale(), !f3 && d3 && (o2 = n3.Ls[d3]), this.$d = function(e5, t5, n4) {
|
|
7836
|
+
try {
|
|
7837
|
+
if (["x", "X"].indexOf(t5) > -1)
|
|
7838
|
+
return new Date(("X" === t5 ? 1e3 : 1) * e5);
|
|
7839
|
+
var r5 = c6(t5)(e5), i4 = r5.year, o3 = r5.month, s4 = r5.day, a4 = r5.hours, f4 = r5.minutes, h4 = r5.seconds, u4 = r5.milliseconds, d4 = r5.zone, l3 = /* @__PURE__ */ new Date(), m3 = s4 || (i4 || o3 ? 1 : l3.getDate()), M3 = i4 || l3.getFullYear(), Y2 = 0;
|
|
7840
|
+
i4 && !o3 || (Y2 = o3 > 0 ? o3 - 1 : l3.getMonth());
|
|
7841
|
+
var p2 = a4 || 0, v2 = f4 || 0, D2 = h4 || 0, g2 = u4 || 0;
|
|
7842
|
+
return d4 ? new Date(Date.UTC(M3, Y2, m3, p2, v2, D2, g2 + 60 * d4.offset * 1e3)) : n4 ? new Date(Date.UTC(M3, Y2, m3, p2, v2, D2, g2)) : new Date(M3, Y2, m3, p2, v2, D2, g2);
|
|
7843
|
+
} catch (e6) {
|
|
7844
|
+
return /* @__PURE__ */ new Date("");
|
|
7845
|
+
}
|
|
7846
|
+
}(t4, a3, r4), this.init(), d3 && true !== d3 && (this.$L = this.locale(d3).$L), u3 && t4 != this.format(a3) && (this.$d = /* @__PURE__ */ new Date("")), o2 = {};
|
|
7847
|
+
} else if (a3 instanceof Array)
|
|
7848
|
+
for (var l2 = a3.length, m2 = 1; m2 <= l2; m2 += 1) {
|
|
7849
|
+
s3[1] = a3[m2 - 1];
|
|
7850
|
+
var M2 = n3.apply(this, s3);
|
|
7851
|
+
if (M2.isValid()) {
|
|
7852
|
+
this.$d = M2.$d, this.$L = M2.$L, this.init();
|
|
7853
|
+
break;
|
|
7515
7854
|
}
|
|
7855
|
+
m2 === l2 && (this.$d = /* @__PURE__ */ new Date(""));
|
|
7516
7856
|
}
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7520
|
-
}
|
|
7521
|
-
return str;
|
|
7522
|
-
};
|
|
7523
|
-
var oldSafariMap = {
|
|
7524
|
-
"1.0": "/8",
|
|
7525
|
-
"1.2": "/1",
|
|
7526
|
-
"1.3": "/3",
|
|
7527
|
-
"2.0": "/412",
|
|
7528
|
-
"2.0.2": "/416",
|
|
7529
|
-
"2.0.3": "/417",
|
|
7530
|
-
"2.0.4": "/419",
|
|
7531
|
-
"?": "/"
|
|
7532
|
-
}, windowsVersionMap = {
|
|
7533
|
-
"ME": "4.90",
|
|
7534
|
-
"NT 3.11": "NT3.51",
|
|
7535
|
-
"NT 4.0": "NT4.0",
|
|
7536
|
-
"2000": "NT 5.0",
|
|
7537
|
-
"XP": ["NT 5.1", "NT 5.2"],
|
|
7538
|
-
"Vista": "NT 6.0",
|
|
7539
|
-
"7": "NT 6.1",
|
|
7540
|
-
"8": "NT 6.2",
|
|
7541
|
-
"8.1": "NT 6.3",
|
|
7542
|
-
"10": ["NT 6.4", "NT 10.0"],
|
|
7543
|
-
"RT": "ARM"
|
|
7857
|
+
else
|
|
7858
|
+
i3.call(this, e4);
|
|
7859
|
+
};
|
|
7544
7860
|
};
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7861
|
+
});
|
|
7862
|
+
})(customParseFormat$1);
|
|
7863
|
+
var customParseFormatExports = customParseFormat$1.exports;
|
|
7864
|
+
const customParseFormat = /* @__PURE__ */ getDefaultExportFromCjs(customParseFormatExports);
|
|
7865
|
+
var relativeTime$1 = { exports: {} };
|
|
7866
|
+
(function(module, exports) {
|
|
7867
|
+
!function(r2, e2) {
|
|
7868
|
+
module.exports = e2();
|
|
7869
|
+
}(commonjsGlobal, function() {
|
|
7870
|
+
return function(r2, e2, t2) {
|
|
7871
|
+
r2 = r2 || {};
|
|
7872
|
+
var n2 = e2.prototype, o2 = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
7873
|
+
function i2(r3, e3, t3, o3) {
|
|
7874
|
+
return n2.fromToBase(r3, e3, t3, o3);
|
|
7875
|
+
}
|
|
7876
|
+
t2.en.relativeTime = o2, n2.fromToBase = function(e3, n3, i3, d3, u2) {
|
|
7877
|
+
for (var f2, a2, s2, l2 = i3.$locale().relativeTime || o2, h2 = r2.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], m2 = h2.length, c6 = 0; c6 < m2; c6 += 1) {
|
|
7878
|
+
var y2 = h2[c6];
|
|
7879
|
+
y2.d && (f2 = d3 ? t2(e3).diff(i3, y2.d, true) : i3.diff(e3, y2.d, true));
|
|
7880
|
+
var p2 = (r2.rounding || Math.round)(Math.abs(f2));
|
|
7881
|
+
if (s2 = f2 > 0, p2 <= y2.r || !y2.r) {
|
|
7882
|
+
p2 <= 1 && c6 > 0 && (y2 = h2[c6 - 1]);
|
|
7883
|
+
var v2 = l2[y2.l];
|
|
7884
|
+
u2 && (p2 = u2("" + p2)), a2 = "string" == typeof v2 ? v2.replace("%d", p2) : v2(p2, n3, y2.l, s2);
|
|
7885
|
+
break;
|
|
7886
|
+
}
|
|
7887
|
+
}
|
|
7888
|
+
if (n3)
|
|
7889
|
+
return a2;
|
|
7890
|
+
var M2 = s2 ? l2.future : l2.past;
|
|
7891
|
+
return "function" == typeof M2 ? M2(a2) : M2.replace("%s", a2);
|
|
7892
|
+
}, n2.to = function(r3, e3) {
|
|
7893
|
+
return i2(r3, e3, this, true);
|
|
7894
|
+
}, n2.from = function(r3, e3) {
|
|
7895
|
+
return i2(r3, e3, this);
|
|
7896
|
+
};
|
|
7897
|
+
var d2 = function(r3) {
|
|
7898
|
+
return r3.$u ? t2.utc() : t2();
|
|
7899
|
+
};
|
|
7900
|
+
n2.toNow = function(r3) {
|
|
7901
|
+
return this.to(d2(this), r3);
|
|
7902
|
+
}, n2.fromNow = function(r3) {
|
|
7903
|
+
return this.from(d2(this), r3);
|
|
7904
|
+
};
|
|
7905
|
+
};
|
|
7906
|
+
});
|
|
7907
|
+
})(relativeTime$1);
|
|
7908
|
+
var relativeTimeExports = relativeTime$1.exports;
|
|
7909
|
+
const relativeTime = /* @__PURE__ */ getDefaultExportFromCjs(relativeTimeExports);
|
|
7910
|
+
var de$2 = { exports: {} };
|
|
7911
|
+
(function(module, exports) {
|
|
7912
|
+
!function(e2, n2) {
|
|
7913
|
+
module.exports = n2(dayjs_minExports);
|
|
7914
|
+
}(commonjsGlobal, function(e2) {
|
|
7915
|
+
function n2(e3) {
|
|
7916
|
+
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
7917
|
+
}
|
|
7918
|
+
var t2 = n2(e2), a2 = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
|
|
7919
|
+
function i2(e3, n3, t3) {
|
|
7920
|
+
var i3 = a2[t3];
|
|
7921
|
+
return Array.isArray(i3) && (i3 = i3[n3 ? 0 : 1]), i3.replace("%d", e3);
|
|
7922
|
+
}
|
|
7923
|
+
var r2 = { name: "de", weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"), ordinal: function(e3) {
|
|
7924
|
+
return e3 + ".";
|
|
7925
|
+
}, weekStart: 1, yearStart: 4, formats: { LTS: "HH:mm:ss", LT: "HH:mm", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY HH:mm", LLLL: "dddd, D. MMMM YYYY HH:mm" }, relativeTime: { future: "in %s", past: "vor %s", s: i2, m: i2, mm: i2, h: i2, hh: i2, d: i2, dd: i2, M: i2, MM: i2, y: i2, yy: i2 } };
|
|
7926
|
+
return t2.default.locale(r2, null, true), r2;
|
|
7927
|
+
});
|
|
7928
|
+
})(de$2);
|
|
7929
|
+
var es = { exports: {} };
|
|
7930
|
+
(function(module, exports) {
|
|
7931
|
+
!function(e2, o2) {
|
|
7932
|
+
module.exports = o2(dayjs_minExports);
|
|
7933
|
+
}(commonjsGlobal, function(e2) {
|
|
7934
|
+
function o2(e3) {
|
|
7935
|
+
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
7936
|
+
}
|
|
7937
|
+
var s2 = o2(e2), d2 = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(e3) {
|
|
7938
|
+
return e3 + "º";
|
|
7939
|
+
} };
|
|
7940
|
+
return s2.default.locale(d2, null, true), d2;
|
|
7941
|
+
});
|
|
7942
|
+
})(es);
|
|
7943
|
+
var pt = { exports: {} };
|
|
7944
|
+
(function(module, exports) {
|
|
7945
|
+
!function(e2, a2) {
|
|
7946
|
+
module.exports = a2(dayjs_minExports);
|
|
7947
|
+
}(commonjsGlobal, function(e2) {
|
|
7948
|
+
function a2(e3) {
|
|
7949
|
+
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
7950
|
+
}
|
|
7951
|
+
var o2 = a2(e2), t2 = { name: "pt", weekdays: "domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"), weekdaysShort: "dom_seg_ter_qua_qui_sex_sab".split("_"), weekdaysMin: "Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"), months: "janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"), monthsShort: "jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"), ordinal: function(e3) {
|
|
7952
|
+
return e3 + "º";
|
|
7953
|
+
}, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY [às] HH:mm", LLLL: "dddd, D [de] MMMM [de] YYYY [às] HH:mm" }, relativeTime: { future: "em %s", past: "há %s", s: "alguns segundos", m: "um minuto", mm: "%d minutos", h: "uma hora", hh: "%d horas", d: "um dia", dd: "%d dias", M: "um mês", MM: "%d meses", y: "um ano", yy: "%d anos" } };
|
|
7954
|
+
return o2.default.locale(t2, null, true), t2;
|
|
7955
|
+
});
|
|
7956
|
+
})(pt);
|
|
7957
|
+
var fr = { exports: {} };
|
|
7958
|
+
(function(module, exports) {
|
|
7959
|
+
!function(e2, n2) {
|
|
7960
|
+
module.exports = n2(dayjs_minExports);
|
|
7961
|
+
}(commonjsGlobal, function(e2) {
|
|
7962
|
+
function n2(e3) {
|
|
7963
|
+
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
7964
|
+
}
|
|
7965
|
+
var t2 = n2(e2), i2 = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(e3) {
|
|
7966
|
+
return "" + e3 + (1 === e3 ? "er" : "");
|
|
7967
|
+
} };
|
|
7968
|
+
return t2.default.locale(i2, null, true), i2;
|
|
7969
|
+
});
|
|
7970
|
+
})(fr);
|
|
7971
|
+
var it = { exports: {} };
|
|
7972
|
+
(function(module, exports) {
|
|
7973
|
+
!function(e2, o2) {
|
|
7974
|
+
module.exports = o2(dayjs_minExports);
|
|
7975
|
+
}(commonjsGlobal, function(e2) {
|
|
7976
|
+
function o2(e3) {
|
|
7977
|
+
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
7978
|
+
}
|
|
7979
|
+
var t2 = o2(e2), n2 = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e3) {
|
|
7980
|
+
return e3 + "º";
|
|
7981
|
+
} };
|
|
7982
|
+
return t2.default.locale(n2, null, true), n2;
|
|
7983
|
+
});
|
|
7984
|
+
})(it);
|
|
7985
|
+
var uaParser = { exports: {} };
|
|
7986
|
+
(function(module, exports) {
|
|
7987
|
+
(function(window2, undefined$12) {
|
|
7988
|
+
var LIBVERSION = "1.0.36", EMPTY = "", UNKNOWN = "?", FUNC_TYPE = "function", UNDEF_TYPE = "undefined", OBJ_TYPE = "object", STR_TYPE = "string", MAJOR = "major", MODEL = "model", NAME2 = "name", TYPE2 = "type", VENDOR = "vendor", VERSION = "version", ARCHITECTURE = "architecture", CONSOLE = "console", MOBILE = "mobile", TABLET = "tablet", SMARTTV = "smarttv", WEARABLE = "wearable", EMBEDDED = "embedded", UA_MAX_LENGTH = 350;
|
|
7989
|
+
var AMAZON = "Amazon", APPLE = "Apple", ASUS = "ASUS", BLACKBERRY = "BlackBerry", BROWSER = "Browser", CHROME = "Chrome", EDGE = "Edge", FIREFOX = "Firefox", GOOGLE = "Google", HUAWEI = "Huawei", LG = "LG", MICROSOFT = "Microsoft", MOTOROLA = "Motorola", OPERA = "Opera", SAMSUNG = "Samsung", SHARP = "Sharp", SONY = "Sony", XIAOMI = "Xiaomi", ZEBRA = "Zebra", FACEBOOK = "Facebook", CHROMIUM_OS = "Chromium OS", MAC_OS = "Mac OS";
|
|
7990
|
+
var extend2 = function(regexes2, extensions2) {
|
|
7991
|
+
var mergedRegexes = {};
|
|
7992
|
+
for (var i2 in regexes2) {
|
|
7993
|
+
if (extensions2[i2] && extensions2[i2].length % 2 === 0) {
|
|
7994
|
+
mergedRegexes[i2] = extensions2[i2].concat(regexes2[i2]);
|
|
7995
|
+
} else {
|
|
7996
|
+
mergedRegexes[i2] = regexes2[i2];
|
|
7997
|
+
}
|
|
7998
|
+
}
|
|
7999
|
+
return mergedRegexes;
|
|
8000
|
+
}, enumerize = function(arr2) {
|
|
8001
|
+
var enums = {};
|
|
8002
|
+
for (var i2 = 0; i2 < arr2.length; i2++) {
|
|
8003
|
+
enums[arr2[i2].toUpperCase()] = arr2[i2];
|
|
8004
|
+
}
|
|
8005
|
+
return enums;
|
|
8006
|
+
}, has2 = function(str1, str2) {
|
|
8007
|
+
return typeof str1 === STR_TYPE ? lowerize(str2).indexOf(lowerize(str1)) !== -1 : false;
|
|
8008
|
+
}, lowerize = function(str) {
|
|
8009
|
+
return str.toLowerCase();
|
|
8010
|
+
}, majorize = function(version) {
|
|
8011
|
+
return typeof version === STR_TYPE ? version.replace(/[^\d\.]/g, EMPTY).split(".")[0] : undefined$12;
|
|
8012
|
+
}, trim2 = function(str, len) {
|
|
8013
|
+
if (typeof str === STR_TYPE) {
|
|
8014
|
+
str = str.replace(/^\s\s*/, EMPTY);
|
|
8015
|
+
return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
|
|
8016
|
+
}
|
|
8017
|
+
};
|
|
8018
|
+
var rgxMapper = function(ua2, arrays) {
|
|
8019
|
+
var i2 = 0, j2, k2, p2, q2, matches, match;
|
|
8020
|
+
while (i2 < arrays.length && !matches) {
|
|
8021
|
+
var regex = arrays[i2], props = arrays[i2 + 1];
|
|
8022
|
+
j2 = k2 = 0;
|
|
8023
|
+
while (j2 < regex.length && !matches) {
|
|
8024
|
+
if (!regex[j2]) {
|
|
8025
|
+
break;
|
|
8026
|
+
}
|
|
8027
|
+
matches = regex[j2++].exec(ua2);
|
|
8028
|
+
if (!!matches) {
|
|
8029
|
+
for (p2 = 0; p2 < props.length; p2++) {
|
|
8030
|
+
match = matches[++k2];
|
|
8031
|
+
q2 = props[p2];
|
|
8032
|
+
if (typeof q2 === OBJ_TYPE && q2.length > 0) {
|
|
8033
|
+
if (q2.length === 2) {
|
|
8034
|
+
if (typeof q2[1] == FUNC_TYPE) {
|
|
8035
|
+
this[q2[0]] = q2[1].call(this, match);
|
|
8036
|
+
} else {
|
|
8037
|
+
this[q2[0]] = q2[1];
|
|
8038
|
+
}
|
|
8039
|
+
} else if (q2.length === 3) {
|
|
8040
|
+
if (typeof q2[1] === FUNC_TYPE && !(q2[1].exec && q2[1].test)) {
|
|
8041
|
+
this[q2[0]] = match ? q2[1].call(this, match, q2[2]) : undefined$12;
|
|
8042
|
+
} else {
|
|
8043
|
+
this[q2[0]] = match ? match.replace(q2[1], q2[2]) : undefined$12;
|
|
8044
|
+
}
|
|
8045
|
+
} else if (q2.length === 4) {
|
|
8046
|
+
this[q2[0]] = match ? q2[3].call(this, match.replace(q2[1], q2[2])) : undefined$12;
|
|
8047
|
+
}
|
|
8048
|
+
} else {
|
|
8049
|
+
this[q2] = match ? match : undefined$12;
|
|
8050
|
+
}
|
|
8051
|
+
}
|
|
8052
|
+
}
|
|
8053
|
+
}
|
|
8054
|
+
i2 += 2;
|
|
8055
|
+
}
|
|
8056
|
+
}, strMapper = function(str, map2) {
|
|
8057
|
+
for (var i2 in map2) {
|
|
8058
|
+
if (typeof map2[i2] === OBJ_TYPE && map2[i2].length > 0) {
|
|
8059
|
+
for (var j2 = 0; j2 < map2[i2].length; j2++) {
|
|
8060
|
+
if (has2(map2[i2][j2], str)) {
|
|
8061
|
+
return i2 === UNKNOWN ? undefined$12 : i2;
|
|
8062
|
+
}
|
|
8063
|
+
}
|
|
8064
|
+
} else if (has2(map2[i2], str)) {
|
|
8065
|
+
return i2 === UNKNOWN ? undefined$12 : i2;
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
return str;
|
|
8069
|
+
};
|
|
8070
|
+
var oldSafariMap = {
|
|
8071
|
+
"1.0": "/8",
|
|
8072
|
+
"1.2": "/1",
|
|
8073
|
+
"1.3": "/3",
|
|
8074
|
+
"2.0": "/412",
|
|
8075
|
+
"2.0.2": "/416",
|
|
8076
|
+
"2.0.3": "/417",
|
|
8077
|
+
"2.0.4": "/419",
|
|
8078
|
+
"?": "/"
|
|
8079
|
+
}, windowsVersionMap = {
|
|
8080
|
+
"ME": "4.90",
|
|
8081
|
+
"NT 3.11": "NT3.51",
|
|
8082
|
+
"NT 4.0": "NT4.0",
|
|
8083
|
+
"2000": "NT 5.0",
|
|
8084
|
+
"XP": ["NT 5.1", "NT 5.2"],
|
|
8085
|
+
"Vista": "NT 6.0",
|
|
8086
|
+
"7": "NT 6.1",
|
|
8087
|
+
"8": "NT 6.2",
|
|
8088
|
+
"8.1": "NT 6.3",
|
|
8089
|
+
"10": ["NT 6.4", "NT 10.0"],
|
|
8090
|
+
"RT": "ARM"
|
|
8091
|
+
};
|
|
8092
|
+
var regexes = {
|
|
8093
|
+
browser: [
|
|
8094
|
+
[
|
|
8095
|
+
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
7549
8096
|
// Chrome for Android/iOS
|
|
7550
8097
|
],
|
|
7551
8098
|
[VERSION, [NAME2, "Chrome"]],
|
|
@@ -8937,7 +9484,7 @@ from {
|
|
|
8937
9484
|
to {
|
|
8938
9485
|
transform: scale(1) rotate(45deg);
|
|
8939
9486
|
opacity: 1;
|
|
8940
|
-
}`, de$
|
|
9487
|
+
}`, de$1 = h$4`
|
|
8941
9488
|
0% {
|
|
8942
9489
|
height: 0;
|
|
8943
9490
|
width: 0;
|
|
@@ -8966,7 +9513,7 @@ to {
|
|
|
8966
9513
|
&:after {
|
|
8967
9514
|
content: '';
|
|
8968
9515
|
box-sizing: border-box;
|
|
8969
|
-
animation: ${de$
|
|
9516
|
+
animation: ${de$1} 0.2s ease-out forwards;
|
|
8970
9517
|
opacity: 0;
|
|
8971
9518
|
animation-delay: 200ms;
|
|
8972
9519
|
position: absolute;
|
|
@@ -10819,7 +11366,7 @@ var Qd = A({}, ud, { key: function(a2) {
|
|
|
10819
11366
|
deltaMode: 0
|
|
10820
11367
|
}), Zd = rd(Yd), $d = [9, 13, 27, 32], ae = ia && "CompositionEvent" in window, be = null;
|
|
10821
11368
|
ia && "documentMode" in document && (be = document.documentMode);
|
|
10822
|
-
var ce = ia && "TextEvent" in window && !be, de
|
|
11369
|
+
var ce = ia && "TextEvent" in window && !be, de = ia && (!ae || be && 8 < be && 11 >= be), ee = String.fromCharCode(32), fe = false;
|
|
10823
11370
|
function ge(a2, b2) {
|
|
10824
11371
|
switch (a2) {
|
|
10825
11372
|
case "keyup":
|
|
@@ -10869,7 +11416,7 @@ function ke(a2, b2) {
|
|
|
10869
11416
|
}
|
|
10870
11417
|
return null;
|
|
10871
11418
|
case "compositionend":
|
|
10872
|
-
return de
|
|
11419
|
+
return de && "ko" !== b2.locale ? null : b2.data;
|
|
10873
11420
|
default:
|
|
10874
11421
|
return null;
|
|
10875
11422
|
}
|
|
@@ -11414,7 +11961,7 @@ function hd(a2, b2, c6, d2, e2) {
|
|
|
11414
11961
|
}
|
|
11415
11962
|
else
|
|
11416
11963
|
ie ? ge(a2, c6) && (ba = "onCompositionEnd") : "keydown" === a2 && 229 === c6.keyCode && (ba = "onCompositionStart");
|
|
11417
|
-
ba && (de
|
|
11964
|
+
ba && (de && "ko" !== c6.locale && (ie || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie && ($a = nd()) : (kd = e3, ld = "value" in kd ? kd.value : kd.textContent, ie = true)), xa = oe(d3, ba), 0 < xa.length && (ba = new Ld(ba, a2, null, c6, e3), g3.push({ event: ba, listeners: xa }), $a ? ba.data = $a : ($a = he(c6), null !== $a && (ba.data = $a))));
|
|
11418
11965
|
if ($a = ce ? je(a2, c6) : ke(a2, c6))
|
|
11419
11966
|
d3 = oe(d3, "onBeforeInput"), 0 < d3.length && (e3 = new Ld("onBeforeInput", "beforeinput", null, c6, e3), g3.push({ event: e3, listeners: d3 }), e3.data = $a);
|
|
11420
11967
|
}
|
|
@@ -35905,1156 +36452,609 @@ const inflate$2 = (strm, flush2) => {
|
|
|
35905
36452
|
bits -= here_bits;
|
|
35906
36453
|
len = 0;
|
|
35907
36454
|
copy2 = 3 + (hold & 7);
|
|
35908
|
-
hold >>>= 3;
|
|
35909
|
-
bits -= 3;
|
|
35910
|
-
} else {
|
|
35911
|
-
n2 = here_bits + 7;
|
|
35912
|
-
while (bits < n2) {
|
|
35913
|
-
if (have === 0) {
|
|
35914
|
-
break inf_leave;
|
|
35915
|
-
}
|
|
35916
|
-
have--;
|
|
35917
|
-
hold += input[next++] << bits;
|
|
35918
|
-
bits += 8;
|
|
35919
|
-
}
|
|
35920
|
-
hold >>>= here_bits;
|
|
35921
|
-
bits -= here_bits;
|
|
35922
|
-
len = 0;
|
|
35923
|
-
copy2 = 11 + (hold & 127);
|
|
35924
|
-
hold >>>= 7;
|
|
35925
|
-
bits -= 7;
|
|
35926
|
-
}
|
|
35927
|
-
if (state.have + copy2 > state.nlen + state.ndist) {
|
|
35928
|
-
strm.msg = "invalid bit length repeat";
|
|
35929
|
-
state.mode = BAD;
|
|
35930
|
-
break;
|
|
35931
|
-
}
|
|
35932
|
-
while (copy2--) {
|
|
35933
|
-
state.lens[state.have++] = len;
|
|
35934
|
-
}
|
|
35935
|
-
}
|
|
35936
|
-
}
|
|
35937
|
-
if (state.mode === BAD) {
|
|
35938
|
-
break;
|
|
35939
|
-
}
|
|
35940
|
-
if (state.lens[256] === 0) {
|
|
35941
|
-
strm.msg = "invalid code -- missing end-of-block";
|
|
35942
|
-
state.mode = BAD;
|
|
35943
|
-
break;
|
|
35944
|
-
}
|
|
35945
|
-
state.lenbits = 9;
|
|
35946
|
-
opts = { bits: state.lenbits };
|
|
35947
|
-
ret = inftrees(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);
|
|
35948
|
-
state.lenbits = opts.bits;
|
|
35949
|
-
if (ret) {
|
|
35950
|
-
strm.msg = "invalid literal/lengths set";
|
|
35951
|
-
state.mode = BAD;
|
|
35952
|
-
break;
|
|
35953
|
-
}
|
|
35954
|
-
state.distbits = 6;
|
|
35955
|
-
state.distcode = state.distdyn;
|
|
35956
|
-
opts = { bits: state.distbits };
|
|
35957
|
-
ret = inftrees(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);
|
|
35958
|
-
state.distbits = opts.bits;
|
|
35959
|
-
if (ret) {
|
|
35960
|
-
strm.msg = "invalid distances set";
|
|
35961
|
-
state.mode = BAD;
|
|
35962
|
-
break;
|
|
35963
|
-
}
|
|
35964
|
-
state.mode = LEN_;
|
|
35965
|
-
if (flush2 === Z_TREES) {
|
|
35966
|
-
break inf_leave;
|
|
35967
|
-
}
|
|
35968
|
-
case LEN_:
|
|
35969
|
-
state.mode = LEN;
|
|
35970
|
-
case LEN:
|
|
35971
|
-
if (have >= 6 && left2 >= 258) {
|
|
35972
|
-
strm.next_out = put;
|
|
35973
|
-
strm.avail_out = left2;
|
|
35974
|
-
strm.next_in = next;
|
|
35975
|
-
strm.avail_in = have;
|
|
35976
|
-
state.hold = hold;
|
|
35977
|
-
state.bits = bits;
|
|
35978
|
-
inffast(strm, _out);
|
|
35979
|
-
put = strm.next_out;
|
|
35980
|
-
output = strm.output;
|
|
35981
|
-
left2 = strm.avail_out;
|
|
35982
|
-
next = strm.next_in;
|
|
35983
|
-
input = strm.input;
|
|
35984
|
-
have = strm.avail_in;
|
|
35985
|
-
hold = state.hold;
|
|
35986
|
-
bits = state.bits;
|
|
35987
|
-
if (state.mode === TYPE) {
|
|
35988
|
-
state.back = -1;
|
|
35989
|
-
}
|
|
35990
|
-
break;
|
|
35991
|
-
}
|
|
35992
|
-
state.back = 0;
|
|
35993
|
-
for (; ; ) {
|
|
35994
|
-
here = state.lencode[hold & (1 << state.lenbits) - 1];
|
|
35995
|
-
here_bits = here >>> 24;
|
|
35996
|
-
here_op = here >>> 16 & 255;
|
|
35997
|
-
here_val = here & 65535;
|
|
35998
|
-
if (here_bits <= bits) {
|
|
35999
|
-
break;
|
|
36000
|
-
}
|
|
36001
|
-
if (have === 0) {
|
|
36002
|
-
break inf_leave;
|
|
36003
|
-
}
|
|
36004
|
-
have--;
|
|
36005
|
-
hold += input[next++] << bits;
|
|
36006
|
-
bits += 8;
|
|
36007
|
-
}
|
|
36008
|
-
if (here_op && (here_op & 240) === 0) {
|
|
36009
|
-
last_bits = here_bits;
|
|
36010
|
-
last_op = here_op;
|
|
36011
|
-
last_val = here_val;
|
|
36012
|
-
for (; ; ) {
|
|
36013
|
-
here = state.lencode[last_val + ((hold & (1 << last_bits + last_op) - 1) >> last_bits)];
|
|
36014
|
-
here_bits = here >>> 24;
|
|
36015
|
-
here_op = here >>> 16 & 255;
|
|
36016
|
-
here_val = here & 65535;
|
|
36017
|
-
if (last_bits + here_bits <= bits) {
|
|
36018
|
-
break;
|
|
36019
|
-
}
|
|
36020
|
-
if (have === 0) {
|
|
36021
|
-
break inf_leave;
|
|
36022
|
-
}
|
|
36023
|
-
have--;
|
|
36024
|
-
hold += input[next++] << bits;
|
|
36025
|
-
bits += 8;
|
|
36026
|
-
}
|
|
36027
|
-
hold >>>= last_bits;
|
|
36028
|
-
bits -= last_bits;
|
|
36029
|
-
state.back += last_bits;
|
|
36030
|
-
}
|
|
36031
|
-
hold >>>= here_bits;
|
|
36032
|
-
bits -= here_bits;
|
|
36033
|
-
state.back += here_bits;
|
|
36034
|
-
state.length = here_val;
|
|
36035
|
-
if (here_op === 0) {
|
|
36036
|
-
state.mode = LIT;
|
|
36037
|
-
break;
|
|
36038
|
-
}
|
|
36039
|
-
if (here_op & 32) {
|
|
36040
|
-
state.back = -1;
|
|
36041
|
-
state.mode = TYPE;
|
|
36042
|
-
break;
|
|
36043
|
-
}
|
|
36044
|
-
if (here_op & 64) {
|
|
36045
|
-
strm.msg = "invalid literal/length code";
|
|
36046
|
-
state.mode = BAD;
|
|
36047
|
-
break;
|
|
36048
|
-
}
|
|
36049
|
-
state.extra = here_op & 15;
|
|
36050
|
-
state.mode = LENEXT;
|
|
36051
|
-
case LENEXT:
|
|
36052
|
-
if (state.extra) {
|
|
36053
|
-
n2 = state.extra;
|
|
36054
|
-
while (bits < n2) {
|
|
36055
|
-
if (have === 0) {
|
|
36056
|
-
break inf_leave;
|
|
36057
|
-
}
|
|
36058
|
-
have--;
|
|
36059
|
-
hold += input[next++] << bits;
|
|
36060
|
-
bits += 8;
|
|
36061
|
-
}
|
|
36062
|
-
state.length += hold & (1 << state.extra) - 1;
|
|
36063
|
-
hold >>>= state.extra;
|
|
36064
|
-
bits -= state.extra;
|
|
36065
|
-
state.back += state.extra;
|
|
36066
|
-
}
|
|
36067
|
-
state.was = state.length;
|
|
36068
|
-
state.mode = DIST;
|
|
36069
|
-
case DIST:
|
|
36070
|
-
for (; ; ) {
|
|
36071
|
-
here = state.distcode[hold & (1 << state.distbits) - 1];
|
|
36072
|
-
here_bits = here >>> 24;
|
|
36073
|
-
here_op = here >>> 16 & 255;
|
|
36074
|
-
here_val = here & 65535;
|
|
36075
|
-
if (here_bits <= bits) {
|
|
36076
|
-
break;
|
|
36077
|
-
}
|
|
36078
|
-
if (have === 0) {
|
|
36079
|
-
break inf_leave;
|
|
36080
|
-
}
|
|
36081
|
-
have--;
|
|
36082
|
-
hold += input[next++] << bits;
|
|
36083
|
-
bits += 8;
|
|
36084
|
-
}
|
|
36085
|
-
if ((here_op & 240) === 0) {
|
|
36086
|
-
last_bits = here_bits;
|
|
36087
|
-
last_op = here_op;
|
|
36088
|
-
last_val = here_val;
|
|
36089
|
-
for (; ; ) {
|
|
36090
|
-
here = state.distcode[last_val + ((hold & (1 << last_bits + last_op) - 1) >> last_bits)];
|
|
36091
|
-
here_bits = here >>> 24;
|
|
36092
|
-
here_op = here >>> 16 & 255;
|
|
36093
|
-
here_val = here & 65535;
|
|
36094
|
-
if (last_bits + here_bits <= bits) {
|
|
36095
|
-
break;
|
|
36096
|
-
}
|
|
36097
|
-
if (have === 0) {
|
|
36098
|
-
break inf_leave;
|
|
36099
|
-
}
|
|
36100
|
-
have--;
|
|
36101
|
-
hold += input[next++] << bits;
|
|
36102
|
-
bits += 8;
|
|
36103
|
-
}
|
|
36104
|
-
hold >>>= last_bits;
|
|
36105
|
-
bits -= last_bits;
|
|
36106
|
-
state.back += last_bits;
|
|
36107
|
-
}
|
|
36108
|
-
hold >>>= here_bits;
|
|
36109
|
-
bits -= here_bits;
|
|
36110
|
-
state.back += here_bits;
|
|
36111
|
-
if (here_op & 64) {
|
|
36112
|
-
strm.msg = "invalid distance code";
|
|
36113
|
-
state.mode = BAD;
|
|
36114
|
-
break;
|
|
36115
|
-
}
|
|
36116
|
-
state.offset = here_val;
|
|
36117
|
-
state.extra = here_op & 15;
|
|
36118
|
-
state.mode = DISTEXT;
|
|
36119
|
-
case DISTEXT:
|
|
36120
|
-
if (state.extra) {
|
|
36121
|
-
n2 = state.extra;
|
|
36122
|
-
while (bits < n2) {
|
|
36123
|
-
if (have === 0) {
|
|
36124
|
-
break inf_leave;
|
|
36125
|
-
}
|
|
36126
|
-
have--;
|
|
36127
|
-
hold += input[next++] << bits;
|
|
36128
|
-
bits += 8;
|
|
36129
|
-
}
|
|
36130
|
-
state.offset += hold & (1 << state.extra) - 1;
|
|
36131
|
-
hold >>>= state.extra;
|
|
36132
|
-
bits -= state.extra;
|
|
36133
|
-
state.back += state.extra;
|
|
36134
|
-
}
|
|
36135
|
-
if (state.offset > state.dmax) {
|
|
36136
|
-
strm.msg = "invalid distance too far back";
|
|
36137
|
-
state.mode = BAD;
|
|
36138
|
-
break;
|
|
36139
|
-
}
|
|
36140
|
-
state.mode = MATCH;
|
|
36141
|
-
case MATCH:
|
|
36142
|
-
if (left2 === 0) {
|
|
36143
|
-
break inf_leave;
|
|
36144
|
-
}
|
|
36145
|
-
copy2 = _out - left2;
|
|
36146
|
-
if (state.offset > copy2) {
|
|
36147
|
-
copy2 = state.offset - copy2;
|
|
36148
|
-
if (copy2 > state.whave) {
|
|
36149
|
-
if (state.sane) {
|
|
36150
|
-
strm.msg = "invalid distance too far back";
|
|
36151
|
-
state.mode = BAD;
|
|
36152
|
-
break;
|
|
36153
|
-
}
|
|
36154
|
-
}
|
|
36155
|
-
if (copy2 > state.wnext) {
|
|
36156
|
-
copy2 -= state.wnext;
|
|
36157
|
-
from = state.wsize - copy2;
|
|
36158
|
-
} else {
|
|
36159
|
-
from = state.wnext - copy2;
|
|
36160
|
-
}
|
|
36161
|
-
if (copy2 > state.length) {
|
|
36162
|
-
copy2 = state.length;
|
|
36163
|
-
}
|
|
36164
|
-
from_source = state.window;
|
|
36165
|
-
} else {
|
|
36166
|
-
from_source = output;
|
|
36167
|
-
from = put - state.offset;
|
|
36168
|
-
copy2 = state.length;
|
|
36169
|
-
}
|
|
36170
|
-
if (copy2 > left2) {
|
|
36171
|
-
copy2 = left2;
|
|
36172
|
-
}
|
|
36173
|
-
left2 -= copy2;
|
|
36174
|
-
state.length -= copy2;
|
|
36175
|
-
do {
|
|
36176
|
-
output[put++] = from_source[from++];
|
|
36177
|
-
} while (--copy2);
|
|
36178
|
-
if (state.length === 0) {
|
|
36179
|
-
state.mode = LEN;
|
|
36180
|
-
}
|
|
36181
|
-
break;
|
|
36182
|
-
case LIT:
|
|
36183
|
-
if (left2 === 0) {
|
|
36184
|
-
break inf_leave;
|
|
36185
|
-
}
|
|
36186
|
-
output[put++] = state.length;
|
|
36187
|
-
left2--;
|
|
36188
|
-
state.mode = LEN;
|
|
36189
|
-
break;
|
|
36190
|
-
case CHECK:
|
|
36191
|
-
if (state.wrap) {
|
|
36192
|
-
while (bits < 32) {
|
|
36193
|
-
if (have === 0) {
|
|
36194
|
-
break inf_leave;
|
|
36195
|
-
}
|
|
36196
|
-
have--;
|
|
36197
|
-
hold |= input[next++] << bits;
|
|
36198
|
-
bits += 8;
|
|
36199
|
-
}
|
|
36200
|
-
_out -= left2;
|
|
36201
|
-
strm.total_out += _out;
|
|
36202
|
-
state.total += _out;
|
|
36203
|
-
if (state.wrap & 4 && _out) {
|
|
36204
|
-
strm.adler = state.check = /*UPDATE_CHECK(state.check, put - _out, _out);*/
|
|
36205
|
-
state.flags ? crc32_1(state.check, output, _out, put - _out) : adler32_1(state.check, output, _out, put - _out);
|
|
36206
|
-
}
|
|
36207
|
-
_out = left2;
|
|
36208
|
-
if (state.wrap & 4 && (state.flags ? hold : zswap32(hold)) !== state.check) {
|
|
36209
|
-
strm.msg = "incorrect data check";
|
|
36210
|
-
state.mode = BAD;
|
|
36211
|
-
break;
|
|
36212
|
-
}
|
|
36213
|
-
hold = 0;
|
|
36214
|
-
bits = 0;
|
|
36215
|
-
}
|
|
36216
|
-
state.mode = LENGTH;
|
|
36217
|
-
case LENGTH:
|
|
36218
|
-
if (state.wrap && state.flags) {
|
|
36219
|
-
while (bits < 32) {
|
|
36220
|
-
if (have === 0) {
|
|
36221
|
-
break inf_leave;
|
|
36222
|
-
}
|
|
36223
|
-
have--;
|
|
36224
|
-
hold += input[next++] << bits;
|
|
36225
|
-
bits += 8;
|
|
36226
|
-
}
|
|
36227
|
-
if (state.wrap & 4 && hold !== (state.total & 4294967295)) {
|
|
36228
|
-
strm.msg = "incorrect length check";
|
|
36229
|
-
state.mode = BAD;
|
|
36230
|
-
break;
|
|
36231
|
-
}
|
|
36232
|
-
hold = 0;
|
|
36233
|
-
bits = 0;
|
|
36234
|
-
}
|
|
36235
|
-
state.mode = DONE;
|
|
36236
|
-
case DONE:
|
|
36237
|
-
ret = Z_STREAM_END$1;
|
|
36238
|
-
break inf_leave;
|
|
36239
|
-
case BAD:
|
|
36240
|
-
ret = Z_DATA_ERROR$1;
|
|
36241
|
-
break inf_leave;
|
|
36242
|
-
case MEM:
|
|
36243
|
-
return Z_MEM_ERROR$1;
|
|
36244
|
-
case SYNC:
|
|
36245
|
-
default:
|
|
36246
|
-
return Z_STREAM_ERROR$1;
|
|
36247
|
-
}
|
|
36248
|
-
}
|
|
36249
|
-
strm.next_out = put;
|
|
36250
|
-
strm.avail_out = left2;
|
|
36251
|
-
strm.next_in = next;
|
|
36252
|
-
strm.avail_in = have;
|
|
36253
|
-
state.hold = hold;
|
|
36254
|
-
state.bits = bits;
|
|
36255
|
-
if (state.wsize || _out !== strm.avail_out && state.mode < BAD && (state.mode < CHECK || flush2 !== Z_FINISH$1)) {
|
|
36256
|
-
if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out))
|
|
36257
|
-
;
|
|
36258
|
-
}
|
|
36259
|
-
_in -= strm.avail_in;
|
|
36260
|
-
_out -= strm.avail_out;
|
|
36261
|
-
strm.total_in += _in;
|
|
36262
|
-
strm.total_out += _out;
|
|
36263
|
-
state.total += _out;
|
|
36264
|
-
if (state.wrap & 4 && _out) {
|
|
36265
|
-
strm.adler = state.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
|
|
36266
|
-
state.flags ? crc32_1(state.check, output, _out, strm.next_out - _out) : adler32_1(state.check, output, _out, strm.next_out - _out);
|
|
36267
|
-
}
|
|
36268
|
-
strm.data_type = state.bits + (state.last ? 64 : 0) + (state.mode === TYPE ? 128 : 0) + (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);
|
|
36269
|
-
if ((_in === 0 && _out === 0 || flush2 === Z_FINISH$1) && ret === Z_OK$1) {
|
|
36270
|
-
ret = Z_BUF_ERROR;
|
|
36271
|
-
}
|
|
36272
|
-
return ret;
|
|
36273
|
-
};
|
|
36274
|
-
const inflateEnd = (strm) => {
|
|
36275
|
-
if (inflateStateCheck(strm)) {
|
|
36276
|
-
return Z_STREAM_ERROR$1;
|
|
36277
|
-
}
|
|
36278
|
-
let state = strm.state;
|
|
36279
|
-
if (state.window) {
|
|
36280
|
-
state.window = null;
|
|
36281
|
-
}
|
|
36282
|
-
strm.state = null;
|
|
36283
|
-
return Z_OK$1;
|
|
36284
|
-
};
|
|
36285
|
-
const inflateGetHeader = (strm, head) => {
|
|
36286
|
-
if (inflateStateCheck(strm)) {
|
|
36287
|
-
return Z_STREAM_ERROR$1;
|
|
36288
|
-
}
|
|
36289
|
-
const state = strm.state;
|
|
36290
|
-
if ((state.wrap & 2) === 0) {
|
|
36291
|
-
return Z_STREAM_ERROR$1;
|
|
36292
|
-
}
|
|
36293
|
-
state.head = head;
|
|
36294
|
-
head.done = false;
|
|
36295
|
-
return Z_OK$1;
|
|
36296
|
-
};
|
|
36297
|
-
const inflateSetDictionary = (strm, dictionary) => {
|
|
36298
|
-
const dictLength = dictionary.length;
|
|
36299
|
-
let state;
|
|
36300
|
-
let dictid;
|
|
36301
|
-
let ret;
|
|
36302
|
-
if (inflateStateCheck(strm)) {
|
|
36303
|
-
return Z_STREAM_ERROR$1;
|
|
36304
|
-
}
|
|
36305
|
-
state = strm.state;
|
|
36306
|
-
if (state.wrap !== 0 && state.mode !== DICT) {
|
|
36307
|
-
return Z_STREAM_ERROR$1;
|
|
36308
|
-
}
|
|
36309
|
-
if (state.mode === DICT) {
|
|
36310
|
-
dictid = 1;
|
|
36311
|
-
dictid = adler32_1(dictid, dictionary, dictLength, 0);
|
|
36312
|
-
if (dictid !== state.check) {
|
|
36313
|
-
return Z_DATA_ERROR$1;
|
|
36314
|
-
}
|
|
36315
|
-
}
|
|
36316
|
-
ret = updatewindow(strm, dictionary, dictLength, dictLength);
|
|
36317
|
-
if (ret) {
|
|
36318
|
-
state.mode = MEM;
|
|
36319
|
-
return Z_MEM_ERROR$1;
|
|
36320
|
-
}
|
|
36321
|
-
state.havedict = 1;
|
|
36322
|
-
return Z_OK$1;
|
|
36323
|
-
};
|
|
36324
|
-
var inflateReset_1 = inflateReset;
|
|
36325
|
-
var inflateReset2_1 = inflateReset2;
|
|
36326
|
-
var inflateResetKeep_1 = inflateResetKeep;
|
|
36327
|
-
var inflateInit_1 = inflateInit;
|
|
36328
|
-
var inflateInit2_1 = inflateInit2;
|
|
36329
|
-
var inflate_2$1 = inflate$2;
|
|
36330
|
-
var inflateEnd_1 = inflateEnd;
|
|
36331
|
-
var inflateGetHeader_1 = inflateGetHeader;
|
|
36332
|
-
var inflateSetDictionary_1 = inflateSetDictionary;
|
|
36333
|
-
var inflateInfo = "pako inflate (from Nodeca project)";
|
|
36334
|
-
var inflate_1$2 = {
|
|
36335
|
-
inflateReset: inflateReset_1,
|
|
36336
|
-
inflateReset2: inflateReset2_1,
|
|
36337
|
-
inflateResetKeep: inflateResetKeep_1,
|
|
36338
|
-
inflateInit: inflateInit_1,
|
|
36339
|
-
inflateInit2: inflateInit2_1,
|
|
36340
|
-
inflate: inflate_2$1,
|
|
36341
|
-
inflateEnd: inflateEnd_1,
|
|
36342
|
-
inflateGetHeader: inflateGetHeader_1,
|
|
36343
|
-
inflateSetDictionary: inflateSetDictionary_1,
|
|
36344
|
-
inflateInfo
|
|
36345
|
-
};
|
|
36346
|
-
function GZheader() {
|
|
36347
|
-
this.text = 0;
|
|
36348
|
-
this.time = 0;
|
|
36349
|
-
this.xflags = 0;
|
|
36350
|
-
this.os = 0;
|
|
36351
|
-
this.extra = null;
|
|
36352
|
-
this.extra_len = 0;
|
|
36353
|
-
this.name = "";
|
|
36354
|
-
this.comment = "";
|
|
36355
|
-
this.hcrc = 0;
|
|
36356
|
-
this.done = false;
|
|
36357
|
-
}
|
|
36358
|
-
var gzheader = GZheader;
|
|
36359
|
-
const toString = Object.prototype.toString;
|
|
36360
|
-
const {
|
|
36361
|
-
Z_NO_FLUSH,
|
|
36362
|
-
Z_FINISH,
|
|
36363
|
-
Z_OK,
|
|
36364
|
-
Z_STREAM_END,
|
|
36365
|
-
Z_NEED_DICT,
|
|
36366
|
-
Z_STREAM_ERROR,
|
|
36367
|
-
Z_DATA_ERROR,
|
|
36368
|
-
Z_MEM_ERROR
|
|
36369
|
-
} = constants$2;
|
|
36370
|
-
function Inflate$1(options) {
|
|
36371
|
-
this.options = common.assign({
|
|
36372
|
-
chunkSize: 1024 * 64,
|
|
36373
|
-
windowBits: 15,
|
|
36374
|
-
to: ""
|
|
36375
|
-
}, options || {});
|
|
36376
|
-
const opt = this.options;
|
|
36377
|
-
if (opt.raw && opt.windowBits >= 0 && opt.windowBits < 16) {
|
|
36378
|
-
opt.windowBits = -opt.windowBits;
|
|
36379
|
-
if (opt.windowBits === 0) {
|
|
36380
|
-
opt.windowBits = -15;
|
|
36381
|
-
}
|
|
36382
|
-
}
|
|
36383
|
-
if (opt.windowBits >= 0 && opt.windowBits < 16 && !(options && options.windowBits)) {
|
|
36384
|
-
opt.windowBits += 32;
|
|
36385
|
-
}
|
|
36386
|
-
if (opt.windowBits > 15 && opt.windowBits < 48) {
|
|
36387
|
-
if ((opt.windowBits & 15) === 0) {
|
|
36388
|
-
opt.windowBits |= 15;
|
|
36389
|
-
}
|
|
36390
|
-
}
|
|
36391
|
-
this.err = 0;
|
|
36392
|
-
this.msg = "";
|
|
36393
|
-
this.ended = false;
|
|
36394
|
-
this.chunks = [];
|
|
36395
|
-
this.strm = new zstream();
|
|
36396
|
-
this.strm.avail_out = 0;
|
|
36397
|
-
let status = inflate_1$2.inflateInit2(
|
|
36398
|
-
this.strm,
|
|
36399
|
-
opt.windowBits
|
|
36400
|
-
);
|
|
36401
|
-
if (status !== Z_OK) {
|
|
36402
|
-
throw new Error(messages[status]);
|
|
36403
|
-
}
|
|
36404
|
-
this.header = new gzheader();
|
|
36405
|
-
inflate_1$2.inflateGetHeader(this.strm, this.header);
|
|
36406
|
-
if (opt.dictionary) {
|
|
36407
|
-
if (typeof opt.dictionary === "string") {
|
|
36408
|
-
opt.dictionary = strings.string2buf(opt.dictionary);
|
|
36409
|
-
} else if (toString.call(opt.dictionary) === "[object ArrayBuffer]") {
|
|
36410
|
-
opt.dictionary = new Uint8Array(opt.dictionary);
|
|
36411
|
-
}
|
|
36412
|
-
if (opt.raw) {
|
|
36413
|
-
status = inflate_1$2.inflateSetDictionary(this.strm, opt.dictionary);
|
|
36414
|
-
if (status !== Z_OK) {
|
|
36415
|
-
throw new Error(messages[status]);
|
|
36416
|
-
}
|
|
36417
|
-
}
|
|
36418
|
-
}
|
|
36419
|
-
}
|
|
36420
|
-
Inflate$1.prototype.push = function(data, flush_mode) {
|
|
36421
|
-
const strm = this.strm;
|
|
36422
|
-
const chunkSize = this.options.chunkSize;
|
|
36423
|
-
const dictionary = this.options.dictionary;
|
|
36424
|
-
let status, _flush_mode, last_avail_out;
|
|
36425
|
-
if (this.ended)
|
|
36426
|
-
return false;
|
|
36427
|
-
if (flush_mode === ~~flush_mode)
|
|
36428
|
-
_flush_mode = flush_mode;
|
|
36429
|
-
else
|
|
36430
|
-
_flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;
|
|
36431
|
-
if (toString.call(data) === "[object ArrayBuffer]") {
|
|
36432
|
-
strm.input = new Uint8Array(data);
|
|
36433
|
-
} else {
|
|
36434
|
-
strm.input = data;
|
|
36435
|
-
}
|
|
36436
|
-
strm.next_in = 0;
|
|
36437
|
-
strm.avail_in = strm.input.length;
|
|
36438
|
-
for (; ; ) {
|
|
36439
|
-
if (strm.avail_out === 0) {
|
|
36440
|
-
strm.output = new Uint8Array(chunkSize);
|
|
36441
|
-
strm.next_out = 0;
|
|
36442
|
-
strm.avail_out = chunkSize;
|
|
36443
|
-
}
|
|
36444
|
-
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
36445
|
-
if (status === Z_NEED_DICT && dictionary) {
|
|
36446
|
-
status = inflate_1$2.inflateSetDictionary(strm, dictionary);
|
|
36447
|
-
if (status === Z_OK) {
|
|
36448
|
-
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
36449
|
-
} else if (status === Z_DATA_ERROR) {
|
|
36450
|
-
status = Z_NEED_DICT;
|
|
36451
|
-
}
|
|
36452
|
-
}
|
|
36453
|
-
while (strm.avail_in > 0 && status === Z_STREAM_END && strm.state.wrap > 0 && data[strm.next_in] !== 0) {
|
|
36454
|
-
inflate_1$2.inflateReset(strm);
|
|
36455
|
-
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
36456
|
-
}
|
|
36457
|
-
switch (status) {
|
|
36458
|
-
case Z_STREAM_ERROR:
|
|
36459
|
-
case Z_DATA_ERROR:
|
|
36460
|
-
case Z_NEED_DICT:
|
|
36461
|
-
case Z_MEM_ERROR:
|
|
36462
|
-
this.onEnd(status);
|
|
36463
|
-
this.ended = true;
|
|
36464
|
-
return false;
|
|
36465
|
-
}
|
|
36466
|
-
last_avail_out = strm.avail_out;
|
|
36467
|
-
if (strm.next_out) {
|
|
36468
|
-
if (strm.avail_out === 0 || status === Z_STREAM_END) {
|
|
36469
|
-
if (this.options.to === "string") {
|
|
36470
|
-
let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);
|
|
36471
|
-
let tail = strm.next_out - next_out_utf8;
|
|
36472
|
-
let utf8str = strings.buf2string(strm.output, next_out_utf8);
|
|
36473
|
-
strm.next_out = tail;
|
|
36474
|
-
strm.avail_out = chunkSize - tail;
|
|
36475
|
-
if (tail)
|
|
36476
|
-
strm.output.set(strm.output.subarray(next_out_utf8, next_out_utf8 + tail), 0);
|
|
36477
|
-
this.onData(utf8str);
|
|
36478
|
-
} else {
|
|
36479
|
-
this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));
|
|
36480
|
-
}
|
|
36481
|
-
}
|
|
36482
|
-
}
|
|
36483
|
-
if (status === Z_OK && last_avail_out === 0)
|
|
36484
|
-
continue;
|
|
36485
|
-
if (status === Z_STREAM_END) {
|
|
36486
|
-
status = inflate_1$2.inflateEnd(this.strm);
|
|
36487
|
-
this.onEnd(status);
|
|
36488
|
-
this.ended = true;
|
|
36489
|
-
return true;
|
|
36490
|
-
}
|
|
36491
|
-
if (strm.avail_in === 0)
|
|
36492
|
-
break;
|
|
36493
|
-
}
|
|
36494
|
-
return true;
|
|
36495
|
-
};
|
|
36496
|
-
Inflate$1.prototype.onData = function(chunk) {
|
|
36497
|
-
this.chunks.push(chunk);
|
|
36498
|
-
};
|
|
36499
|
-
Inflate$1.prototype.onEnd = function(status) {
|
|
36500
|
-
if (status === Z_OK) {
|
|
36501
|
-
if (this.options.to === "string") {
|
|
36502
|
-
this.result = this.chunks.join("");
|
|
36503
|
-
} else {
|
|
36504
|
-
this.result = common.flattenChunks(this.chunks);
|
|
36505
|
-
}
|
|
36506
|
-
}
|
|
36507
|
-
this.chunks = [];
|
|
36508
|
-
this.err = status;
|
|
36509
|
-
this.msg = this.strm.msg;
|
|
36510
|
-
};
|
|
36511
|
-
var dayjs_min = { exports: {} };
|
|
36512
|
-
(function(module, exports) {
|
|
36513
|
-
!function(t2, e2) {
|
|
36514
|
-
module.exports = e2();
|
|
36515
|
-
}(commonjsGlobal, function() {
|
|
36516
|
-
var t2 = 1e3, e2 = 6e4, n2 = 36e5, r2 = "millisecond", i2 = "second", s2 = "minute", u2 = "hour", a2 = "day", o2 = "week", c6 = "month", f2 = "quarter", h2 = "year", d2 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y2 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t3) {
|
|
36517
|
-
var e3 = ["th", "st", "nd", "rd"], n3 = t3 % 100;
|
|
36518
|
-
return "[" + t3 + (e3[(n3 - 20) % 10] || e3[n3] || e3[0]) + "]";
|
|
36519
|
-
} }, m2 = function(t3, e3, n3) {
|
|
36520
|
-
var r3 = String(t3);
|
|
36521
|
-
return !r3 || r3.length >= e3 ? t3 : "" + Array(e3 + 1 - r3.length).join(n3) + t3;
|
|
36522
|
-
}, v2 = { s: m2, z: function(t3) {
|
|
36523
|
-
var e3 = -t3.utcOffset(), n3 = Math.abs(e3), r3 = Math.floor(n3 / 60), i3 = n3 % 60;
|
|
36524
|
-
return (e3 <= 0 ? "+" : "-") + m2(r3, 2, "0") + ":" + m2(i3, 2, "0");
|
|
36525
|
-
}, m: function t3(e3, n3) {
|
|
36526
|
-
if (e3.date() < n3.date())
|
|
36527
|
-
return -t3(n3, e3);
|
|
36528
|
-
var r3 = 12 * (n3.year() - e3.year()) + (n3.month() - e3.month()), i3 = e3.clone().add(r3, c6), s3 = n3 - i3 < 0, u3 = e3.clone().add(r3 + (s3 ? -1 : 1), c6);
|
|
36529
|
-
return +(-(r3 + (n3 - i3) / (s3 ? i3 - u3 : u3 - i3)) || 0);
|
|
36530
|
-
}, a: function(t3) {
|
|
36531
|
-
return t3 < 0 ? Math.ceil(t3) || 0 : Math.floor(t3);
|
|
36532
|
-
}, p: function(t3) {
|
|
36533
|
-
return { M: c6, y: h2, w: o2, d: a2, D: d2, h: u2, m: s2, s: i2, ms: r2, Q: f2 }[t3] || String(t3 || "").toLowerCase().replace(/s$/, "");
|
|
36534
|
-
}, u: function(t3) {
|
|
36535
|
-
return void 0 === t3;
|
|
36536
|
-
} }, g2 = "en", D2 = {};
|
|
36537
|
-
D2[g2] = M2;
|
|
36538
|
-
var p2 = "$isDayjsObject", S2 = function(t3) {
|
|
36539
|
-
return t3 instanceof _2 || !(!t3 || !t3[p2]);
|
|
36540
|
-
}, w2 = function t3(e3, n3, r3) {
|
|
36541
|
-
var i3;
|
|
36542
|
-
if (!e3)
|
|
36543
|
-
return g2;
|
|
36544
|
-
if ("string" == typeof e3) {
|
|
36545
|
-
var s3 = e3.toLowerCase();
|
|
36546
|
-
D2[s3] && (i3 = s3), n3 && (D2[s3] = n3, i3 = s3);
|
|
36547
|
-
var u3 = e3.split("-");
|
|
36548
|
-
if (!i3 && u3.length > 1)
|
|
36549
|
-
return t3(u3[0]);
|
|
36550
|
-
} else {
|
|
36551
|
-
var a3 = e3.name;
|
|
36552
|
-
D2[a3] = e3, i3 = a3;
|
|
36553
|
-
}
|
|
36554
|
-
return !r3 && i3 && (g2 = i3), i3 || !r3 && g2;
|
|
36555
|
-
}, O2 = function(t3, e3) {
|
|
36556
|
-
if (S2(t3))
|
|
36557
|
-
return t3.clone();
|
|
36558
|
-
var n3 = "object" == typeof e3 ? e3 : {};
|
|
36559
|
-
return n3.date = t3, n3.args = arguments, new _2(n3);
|
|
36560
|
-
}, b2 = v2;
|
|
36561
|
-
b2.l = w2, b2.i = S2, b2.w = function(t3, e3) {
|
|
36562
|
-
return O2(t3, { locale: e3.$L, utc: e3.$u, x: e3.$x, $offset: e3.$offset });
|
|
36563
|
-
};
|
|
36564
|
-
var _2 = function() {
|
|
36565
|
-
function M3(t3) {
|
|
36566
|
-
this.$L = w2(t3.locale, null, true), this.parse(t3), this.$x = this.$x || t3.x || {}, this[p2] = true;
|
|
36567
|
-
}
|
|
36568
|
-
var m3 = M3.prototype;
|
|
36569
|
-
return m3.parse = function(t3) {
|
|
36570
|
-
this.$d = function(t4) {
|
|
36571
|
-
var e3 = t4.date, n3 = t4.utc;
|
|
36572
|
-
if (null === e3)
|
|
36573
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
36574
|
-
if (b2.u(e3))
|
|
36575
|
-
return /* @__PURE__ */ new Date();
|
|
36576
|
-
if (e3 instanceof Date)
|
|
36577
|
-
return new Date(e3);
|
|
36578
|
-
if ("string" == typeof e3 && !/Z$/i.test(e3)) {
|
|
36579
|
-
var r3 = e3.match($2);
|
|
36580
|
-
if (r3) {
|
|
36581
|
-
var i3 = r3[2] - 1 || 0, s3 = (r3[7] || "0").substring(0, 3);
|
|
36582
|
-
return n3 ? new Date(Date.UTC(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3)) : new Date(r3[1], i3, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s3);
|
|
36583
|
-
}
|
|
36584
|
-
}
|
|
36585
|
-
return new Date(e3);
|
|
36586
|
-
}(t3), this.init();
|
|
36587
|
-
}, m3.init = function() {
|
|
36588
|
-
var t3 = this.$d;
|
|
36589
|
-
this.$y = t3.getFullYear(), this.$M = t3.getMonth(), this.$D = t3.getDate(), this.$W = t3.getDay(), this.$H = t3.getHours(), this.$m = t3.getMinutes(), this.$s = t3.getSeconds(), this.$ms = t3.getMilliseconds();
|
|
36590
|
-
}, m3.$utils = function() {
|
|
36591
|
-
return b2;
|
|
36592
|
-
}, m3.isValid = function() {
|
|
36593
|
-
return !(this.$d.toString() === l2);
|
|
36594
|
-
}, m3.isSame = function(t3, e3) {
|
|
36595
|
-
var n3 = O2(t3);
|
|
36596
|
-
return this.startOf(e3) <= n3 && n3 <= this.endOf(e3);
|
|
36597
|
-
}, m3.isAfter = function(t3, e3) {
|
|
36598
|
-
return O2(t3) < this.startOf(e3);
|
|
36599
|
-
}, m3.isBefore = function(t3, e3) {
|
|
36600
|
-
return this.endOf(e3) < O2(t3);
|
|
36601
|
-
}, m3.$g = function(t3, e3, n3) {
|
|
36602
|
-
return b2.u(t3) ? this[e3] : this.set(n3, t3);
|
|
36603
|
-
}, m3.unix = function() {
|
|
36604
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
36605
|
-
}, m3.valueOf = function() {
|
|
36606
|
-
return this.$d.getTime();
|
|
36607
|
-
}, m3.startOf = function(t3, e3) {
|
|
36608
|
-
var n3 = this, r3 = !!b2.u(e3) || e3, f3 = b2.p(t3), l3 = function(t4, e4) {
|
|
36609
|
-
var i3 = b2.w(n3.$u ? Date.UTC(n3.$y, e4, t4) : new Date(n3.$y, e4, t4), n3);
|
|
36610
|
-
return r3 ? i3 : i3.endOf(a2);
|
|
36611
|
-
}, $3 = function(t4, e4) {
|
|
36612
|
-
return b2.w(n3.toDate()[t4].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e4)), n3);
|
|
36613
|
-
}, y3 = this.$W, M4 = this.$M, m4 = this.$D, v3 = "set" + (this.$u ? "UTC" : "");
|
|
36614
|
-
switch (f3) {
|
|
36615
|
-
case h2:
|
|
36616
|
-
return r3 ? l3(1, 0) : l3(31, 11);
|
|
36617
|
-
case c6:
|
|
36618
|
-
return r3 ? l3(1, M4) : l3(0, M4 + 1);
|
|
36619
|
-
case o2:
|
|
36620
|
-
var g3 = this.$locale().weekStart || 0, D3 = (y3 < g3 ? y3 + 7 : y3) - g3;
|
|
36621
|
-
return l3(r3 ? m4 - D3 : m4 + (6 - D3), M4);
|
|
36622
|
-
case a2:
|
|
36623
|
-
case d2:
|
|
36624
|
-
return $3(v3 + "Hours", 0);
|
|
36625
|
-
case u2:
|
|
36626
|
-
return $3(v3 + "Minutes", 1);
|
|
36627
|
-
case s2:
|
|
36628
|
-
return $3(v3 + "Seconds", 2);
|
|
36629
|
-
case i2:
|
|
36630
|
-
return $3(v3 + "Milliseconds", 3);
|
|
36631
|
-
default:
|
|
36632
|
-
return this.clone();
|
|
36633
|
-
}
|
|
36634
|
-
}, m3.endOf = function(t3) {
|
|
36635
|
-
return this.startOf(t3, false);
|
|
36636
|
-
}, m3.$set = function(t3, e3) {
|
|
36637
|
-
var n3, o3 = b2.p(t3), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a2] = f3 + "Date", n3[d2] = f3 + "Date", n3[c6] = f3 + "Month", n3[h2] = f3 + "FullYear", n3[u2] = f3 + "Hours", n3[s2] = f3 + "Minutes", n3[i2] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a2 ? this.$D + (e3 - this.$W) : e3;
|
|
36638
|
-
if (o3 === c6 || o3 === h2) {
|
|
36639
|
-
var y3 = this.clone().set(d2, 1);
|
|
36640
|
-
y3.$d[l3]($3), y3.init(), this.$d = y3.set(d2, Math.min(this.$D, y3.daysInMonth())).$d;
|
|
36641
|
-
} else
|
|
36642
|
-
l3 && this.$d[l3]($3);
|
|
36643
|
-
return this.init(), this;
|
|
36644
|
-
}, m3.set = function(t3, e3) {
|
|
36645
|
-
return this.clone().$set(t3, e3);
|
|
36646
|
-
}, m3.get = function(t3) {
|
|
36647
|
-
return this[b2.p(t3)]();
|
|
36648
|
-
}, m3.add = function(r3, f3) {
|
|
36649
|
-
var d3, l3 = this;
|
|
36650
|
-
r3 = Number(r3);
|
|
36651
|
-
var $3 = b2.p(f3), y3 = function(t3) {
|
|
36652
|
-
var e3 = O2(l3);
|
|
36653
|
-
return b2.w(e3.date(e3.date() + Math.round(t3 * r3)), l3);
|
|
36654
|
-
};
|
|
36655
|
-
if ($3 === c6)
|
|
36656
|
-
return this.set(c6, this.$M + r3);
|
|
36657
|
-
if ($3 === h2)
|
|
36658
|
-
return this.set(h2, this.$y + r3);
|
|
36659
|
-
if ($3 === a2)
|
|
36660
|
-
return y3(1);
|
|
36661
|
-
if ($3 === o2)
|
|
36662
|
-
return y3(7);
|
|
36663
|
-
var M4 = (d3 = {}, d3[s2] = e2, d3[u2] = n2, d3[i2] = t2, d3)[$3] || 1, m4 = this.$d.getTime() + r3 * M4;
|
|
36664
|
-
return b2.w(m4, this);
|
|
36665
|
-
}, m3.subtract = function(t3, e3) {
|
|
36666
|
-
return this.add(-1 * t3, e3);
|
|
36667
|
-
}, m3.format = function(t3) {
|
|
36668
|
-
var e3 = this, n3 = this.$locale();
|
|
36669
|
-
if (!this.isValid())
|
|
36670
|
-
return n3.invalidDate || l2;
|
|
36671
|
-
var r3 = t3 || "YYYY-MM-DDTHH:mm:ssZ", i3 = b2.z(this), s3 = this.$H, u3 = this.$m, a3 = this.$M, o3 = n3.weekdays, c7 = n3.months, f3 = n3.meridiem, h3 = function(t4, n4, i4, s4) {
|
|
36672
|
-
return t4 && (t4[n4] || t4(e3, r3)) || i4[n4].slice(0, s4);
|
|
36673
|
-
}, d3 = function(t4) {
|
|
36674
|
-
return b2.s(s3 % 12 || 12, t4, "0");
|
|
36675
|
-
}, $3 = f3 || function(t4, e4, n4) {
|
|
36676
|
-
var r4 = t4 < 12 ? "AM" : "PM";
|
|
36677
|
-
return n4 ? r4.toLowerCase() : r4;
|
|
36678
|
-
};
|
|
36679
|
-
return r3.replace(y2, function(t4, r4) {
|
|
36680
|
-
return r4 || function(t5) {
|
|
36681
|
-
switch (t5) {
|
|
36682
|
-
case "YY":
|
|
36683
|
-
return String(e3.$y).slice(-2);
|
|
36684
|
-
case "YYYY":
|
|
36685
|
-
return b2.s(e3.$y, 4, "0");
|
|
36686
|
-
case "M":
|
|
36687
|
-
return a3 + 1;
|
|
36688
|
-
case "MM":
|
|
36689
|
-
return b2.s(a3 + 1, 2, "0");
|
|
36690
|
-
case "MMM":
|
|
36691
|
-
return h3(n3.monthsShort, a3, c7, 3);
|
|
36692
|
-
case "MMMM":
|
|
36693
|
-
return h3(c7, a3);
|
|
36694
|
-
case "D":
|
|
36695
|
-
return e3.$D;
|
|
36696
|
-
case "DD":
|
|
36697
|
-
return b2.s(e3.$D, 2, "0");
|
|
36698
|
-
case "d":
|
|
36699
|
-
return String(e3.$W);
|
|
36700
|
-
case "dd":
|
|
36701
|
-
return h3(n3.weekdaysMin, e3.$W, o3, 2);
|
|
36702
|
-
case "ddd":
|
|
36703
|
-
return h3(n3.weekdaysShort, e3.$W, o3, 3);
|
|
36704
|
-
case "dddd":
|
|
36705
|
-
return o3[e3.$W];
|
|
36706
|
-
case "H":
|
|
36707
|
-
return String(s3);
|
|
36708
|
-
case "HH":
|
|
36709
|
-
return b2.s(s3, 2, "0");
|
|
36710
|
-
case "h":
|
|
36711
|
-
return d3(1);
|
|
36712
|
-
case "hh":
|
|
36713
|
-
return d3(2);
|
|
36714
|
-
case "a":
|
|
36715
|
-
return $3(s3, u3, true);
|
|
36716
|
-
case "A":
|
|
36717
|
-
return $3(s3, u3, false);
|
|
36718
|
-
case "m":
|
|
36719
|
-
return String(u3);
|
|
36720
|
-
case "mm":
|
|
36721
|
-
return b2.s(u3, 2, "0");
|
|
36722
|
-
case "s":
|
|
36723
|
-
return String(e3.$s);
|
|
36724
|
-
case "ss":
|
|
36725
|
-
return b2.s(e3.$s, 2, "0");
|
|
36726
|
-
case "SSS":
|
|
36727
|
-
return b2.s(e3.$ms, 3, "0");
|
|
36728
|
-
case "Z":
|
|
36729
|
-
return i3;
|
|
36455
|
+
hold >>>= 3;
|
|
36456
|
+
bits -= 3;
|
|
36457
|
+
} else {
|
|
36458
|
+
n2 = here_bits + 7;
|
|
36459
|
+
while (bits < n2) {
|
|
36460
|
+
if (have === 0) {
|
|
36461
|
+
break inf_leave;
|
|
36462
|
+
}
|
|
36463
|
+
have--;
|
|
36464
|
+
hold += input[next++] << bits;
|
|
36465
|
+
bits += 8;
|
|
36466
|
+
}
|
|
36467
|
+
hold >>>= here_bits;
|
|
36468
|
+
bits -= here_bits;
|
|
36469
|
+
len = 0;
|
|
36470
|
+
copy2 = 11 + (hold & 127);
|
|
36471
|
+
hold >>>= 7;
|
|
36472
|
+
bits -= 7;
|
|
36473
|
+
}
|
|
36474
|
+
if (state.have + copy2 > state.nlen + state.ndist) {
|
|
36475
|
+
strm.msg = "invalid bit length repeat";
|
|
36476
|
+
state.mode = BAD;
|
|
36477
|
+
break;
|
|
36478
|
+
}
|
|
36479
|
+
while (copy2--) {
|
|
36480
|
+
state.lens[state.have++] = len;
|
|
36481
|
+
}
|
|
36730
36482
|
}
|
|
36731
|
-
|
|
36732
|
-
|
|
36733
|
-
});
|
|
36734
|
-
}, m3.utcOffset = function() {
|
|
36735
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
36736
|
-
}, m3.diff = function(r3, d3, l3) {
|
|
36737
|
-
var $3, y3 = this, M4 = b2.p(d3), m4 = O2(r3), v3 = (m4.utcOffset() - this.utcOffset()) * e2, g3 = this - m4, D3 = function() {
|
|
36738
|
-
return b2.m(y3, m4);
|
|
36739
|
-
};
|
|
36740
|
-
switch (M4) {
|
|
36741
|
-
case h2:
|
|
36742
|
-
$3 = D3() / 12;
|
|
36483
|
+
}
|
|
36484
|
+
if (state.mode === BAD) {
|
|
36743
36485
|
break;
|
|
36744
|
-
|
|
36745
|
-
|
|
36486
|
+
}
|
|
36487
|
+
if (state.lens[256] === 0) {
|
|
36488
|
+
strm.msg = "invalid code -- missing end-of-block";
|
|
36489
|
+
state.mode = BAD;
|
|
36746
36490
|
break;
|
|
36747
|
-
|
|
36748
|
-
|
|
36491
|
+
}
|
|
36492
|
+
state.lenbits = 9;
|
|
36493
|
+
opts = { bits: state.lenbits };
|
|
36494
|
+
ret = inftrees(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);
|
|
36495
|
+
state.lenbits = opts.bits;
|
|
36496
|
+
if (ret) {
|
|
36497
|
+
strm.msg = "invalid literal/lengths set";
|
|
36498
|
+
state.mode = BAD;
|
|
36749
36499
|
break;
|
|
36750
|
-
|
|
36751
|
-
|
|
36500
|
+
}
|
|
36501
|
+
state.distbits = 6;
|
|
36502
|
+
state.distcode = state.distdyn;
|
|
36503
|
+
opts = { bits: state.distbits };
|
|
36504
|
+
ret = inftrees(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);
|
|
36505
|
+
state.distbits = opts.bits;
|
|
36506
|
+
if (ret) {
|
|
36507
|
+
strm.msg = "invalid distances set";
|
|
36508
|
+
state.mode = BAD;
|
|
36752
36509
|
break;
|
|
36753
|
-
|
|
36754
|
-
|
|
36510
|
+
}
|
|
36511
|
+
state.mode = LEN_;
|
|
36512
|
+
if (flush2 === Z_TREES) {
|
|
36513
|
+
break inf_leave;
|
|
36514
|
+
}
|
|
36515
|
+
case LEN_:
|
|
36516
|
+
state.mode = LEN;
|
|
36517
|
+
case LEN:
|
|
36518
|
+
if (have >= 6 && left2 >= 258) {
|
|
36519
|
+
strm.next_out = put;
|
|
36520
|
+
strm.avail_out = left2;
|
|
36521
|
+
strm.next_in = next;
|
|
36522
|
+
strm.avail_in = have;
|
|
36523
|
+
state.hold = hold;
|
|
36524
|
+
state.bits = bits;
|
|
36525
|
+
inffast(strm, _out);
|
|
36526
|
+
put = strm.next_out;
|
|
36527
|
+
output = strm.output;
|
|
36528
|
+
left2 = strm.avail_out;
|
|
36529
|
+
next = strm.next_in;
|
|
36530
|
+
input = strm.input;
|
|
36531
|
+
have = strm.avail_in;
|
|
36532
|
+
hold = state.hold;
|
|
36533
|
+
bits = state.bits;
|
|
36534
|
+
if (state.mode === TYPE) {
|
|
36535
|
+
state.back = -1;
|
|
36536
|
+
}
|
|
36755
36537
|
break;
|
|
36756
|
-
|
|
36757
|
-
|
|
36538
|
+
}
|
|
36539
|
+
state.back = 0;
|
|
36540
|
+
for (; ; ) {
|
|
36541
|
+
here = state.lencode[hold & (1 << state.lenbits) - 1];
|
|
36542
|
+
here_bits = here >>> 24;
|
|
36543
|
+
here_op = here >>> 16 & 255;
|
|
36544
|
+
here_val = here & 65535;
|
|
36545
|
+
if (here_bits <= bits) {
|
|
36546
|
+
break;
|
|
36547
|
+
}
|
|
36548
|
+
if (have === 0) {
|
|
36549
|
+
break inf_leave;
|
|
36550
|
+
}
|
|
36551
|
+
have--;
|
|
36552
|
+
hold += input[next++] << bits;
|
|
36553
|
+
bits += 8;
|
|
36554
|
+
}
|
|
36555
|
+
if (here_op && (here_op & 240) === 0) {
|
|
36556
|
+
last_bits = here_bits;
|
|
36557
|
+
last_op = here_op;
|
|
36558
|
+
last_val = here_val;
|
|
36559
|
+
for (; ; ) {
|
|
36560
|
+
here = state.lencode[last_val + ((hold & (1 << last_bits + last_op) - 1) >> last_bits)];
|
|
36561
|
+
here_bits = here >>> 24;
|
|
36562
|
+
here_op = here >>> 16 & 255;
|
|
36563
|
+
here_val = here & 65535;
|
|
36564
|
+
if (last_bits + here_bits <= bits) {
|
|
36565
|
+
break;
|
|
36566
|
+
}
|
|
36567
|
+
if (have === 0) {
|
|
36568
|
+
break inf_leave;
|
|
36569
|
+
}
|
|
36570
|
+
have--;
|
|
36571
|
+
hold += input[next++] << bits;
|
|
36572
|
+
bits += 8;
|
|
36573
|
+
}
|
|
36574
|
+
hold >>>= last_bits;
|
|
36575
|
+
bits -= last_bits;
|
|
36576
|
+
state.back += last_bits;
|
|
36577
|
+
}
|
|
36578
|
+
hold >>>= here_bits;
|
|
36579
|
+
bits -= here_bits;
|
|
36580
|
+
state.back += here_bits;
|
|
36581
|
+
state.length = here_val;
|
|
36582
|
+
if (here_op === 0) {
|
|
36583
|
+
state.mode = LIT;
|
|
36758
36584
|
break;
|
|
36759
|
-
|
|
36760
|
-
|
|
36585
|
+
}
|
|
36586
|
+
if (here_op & 32) {
|
|
36587
|
+
state.back = -1;
|
|
36588
|
+
state.mode = TYPE;
|
|
36761
36589
|
break;
|
|
36762
|
-
|
|
36763
|
-
|
|
36590
|
+
}
|
|
36591
|
+
if (here_op & 64) {
|
|
36592
|
+
strm.msg = "invalid literal/length code";
|
|
36593
|
+
state.mode = BAD;
|
|
36764
36594
|
break;
|
|
36765
|
-
|
|
36766
|
-
|
|
36767
|
-
|
|
36768
|
-
|
|
36769
|
-
|
|
36770
|
-
|
|
36771
|
-
|
|
36772
|
-
|
|
36773
|
-
|
|
36774
|
-
|
|
36775
|
-
|
|
36776
|
-
|
|
36777
|
-
|
|
36778
|
-
|
|
36779
|
-
|
|
36780
|
-
|
|
36781
|
-
|
|
36782
|
-
|
|
36783
|
-
|
|
36784
|
-
|
|
36785
|
-
|
|
36786
|
-
|
|
36787
|
-
|
|
36788
|
-
|
|
36789
|
-
|
|
36790
|
-
|
|
36791
|
-
|
|
36792
|
-
|
|
36793
|
-
|
|
36794
|
-
|
|
36795
|
-
|
|
36796
|
-
|
|
36797
|
-
|
|
36798
|
-
|
|
36799
|
-
|
|
36800
|
-
|
|
36801
|
-
|
|
36802
|
-
|
|
36803
|
-
|
|
36804
|
-
|
|
36805
|
-
|
|
36806
|
-
|
|
36807
|
-
|
|
36808
|
-
|
|
36809
|
-
|
|
36810
|
-
|
|
36811
|
-
|
|
36812
|
-
|
|
36813
|
-
|
|
36814
|
-
|
|
36815
|
-
|
|
36816
|
-
|
|
36817
|
-
|
|
36818
|
-
|
|
36819
|
-
|
|
36820
|
-
|
|
36821
|
-
|
|
36822
|
-
|
|
36823
|
-
|
|
36824
|
-
|
|
36825
|
-
|
|
36826
|
-
|
|
36827
|
-
|
|
36828
|
-
|
|
36829
|
-
|
|
36830
|
-
|
|
36831
|
-
if (e3.indexOf(r3(i3, 0, t3)) > -1) {
|
|
36832
|
-
n3 = i3 > 12;
|
|
36595
|
+
}
|
|
36596
|
+
state.extra = here_op & 15;
|
|
36597
|
+
state.mode = LENEXT;
|
|
36598
|
+
case LENEXT:
|
|
36599
|
+
if (state.extra) {
|
|
36600
|
+
n2 = state.extra;
|
|
36601
|
+
while (bits < n2) {
|
|
36602
|
+
if (have === 0) {
|
|
36603
|
+
break inf_leave;
|
|
36604
|
+
}
|
|
36605
|
+
have--;
|
|
36606
|
+
hold += input[next++] << bits;
|
|
36607
|
+
bits += 8;
|
|
36608
|
+
}
|
|
36609
|
+
state.length += hold & (1 << state.extra) - 1;
|
|
36610
|
+
hold >>>= state.extra;
|
|
36611
|
+
bits -= state.extra;
|
|
36612
|
+
state.back += state.extra;
|
|
36613
|
+
}
|
|
36614
|
+
state.was = state.length;
|
|
36615
|
+
state.mode = DIST;
|
|
36616
|
+
case DIST:
|
|
36617
|
+
for (; ; ) {
|
|
36618
|
+
here = state.distcode[hold & (1 << state.distbits) - 1];
|
|
36619
|
+
here_bits = here >>> 24;
|
|
36620
|
+
here_op = here >>> 16 & 255;
|
|
36621
|
+
here_val = here & 65535;
|
|
36622
|
+
if (here_bits <= bits) {
|
|
36623
|
+
break;
|
|
36624
|
+
}
|
|
36625
|
+
if (have === 0) {
|
|
36626
|
+
break inf_leave;
|
|
36627
|
+
}
|
|
36628
|
+
have--;
|
|
36629
|
+
hold += input[next++] << bits;
|
|
36630
|
+
bits += 8;
|
|
36631
|
+
}
|
|
36632
|
+
if ((here_op & 240) === 0) {
|
|
36633
|
+
last_bits = here_bits;
|
|
36634
|
+
last_op = here_op;
|
|
36635
|
+
last_val = here_val;
|
|
36636
|
+
for (; ; ) {
|
|
36637
|
+
here = state.distcode[last_val + ((hold & (1 << last_bits + last_op) - 1) >> last_bits)];
|
|
36638
|
+
here_bits = here >>> 24;
|
|
36639
|
+
here_op = here >>> 16 & 255;
|
|
36640
|
+
here_val = here & 65535;
|
|
36641
|
+
if (last_bits + here_bits <= bits) {
|
|
36642
|
+
break;
|
|
36643
|
+
}
|
|
36644
|
+
if (have === 0) {
|
|
36645
|
+
break inf_leave;
|
|
36646
|
+
}
|
|
36647
|
+
have--;
|
|
36648
|
+
hold += input[next++] << bits;
|
|
36649
|
+
bits += 8;
|
|
36650
|
+
}
|
|
36651
|
+
hold >>>= last_bits;
|
|
36652
|
+
bits -= last_bits;
|
|
36653
|
+
state.back += last_bits;
|
|
36654
|
+
}
|
|
36655
|
+
hold >>>= here_bits;
|
|
36656
|
+
bits -= here_bits;
|
|
36657
|
+
state.back += here_bits;
|
|
36658
|
+
if (here_op & 64) {
|
|
36659
|
+
strm.msg = "invalid distance code";
|
|
36660
|
+
state.mode = BAD;
|
|
36833
36661
|
break;
|
|
36834
36662
|
}
|
|
36835
|
-
|
|
36836
|
-
|
|
36837
|
-
|
|
36838
|
-
|
|
36839
|
-
|
|
36840
|
-
|
|
36841
|
-
|
|
36842
|
-
|
|
36843
|
-
|
|
36844
|
-
|
|
36845
|
-
|
|
36846
|
-
|
|
36847
|
-
|
|
36848
|
-
|
|
36849
|
-
|
|
36850
|
-
|
|
36851
|
-
|
|
36852
|
-
|
|
36853
|
-
|
|
36854
|
-
|
|
36855
|
-
|
|
36856
|
-
|
|
36857
|
-
|
|
36858
|
-
|
|
36859
|
-
|
|
36860
|
-
|
|
36861
|
-
|
|
36862
|
-
|
|
36863
|
-
|
|
36864
|
-
|
|
36865
|
-
|
|
36866
|
-
|
|
36867
|
-
|
|
36868
|
-
|
|
36869
|
-
|
|
36870
|
-
|
|
36871
|
-
|
|
36872
|
-
|
|
36873
|
-
|
|
36874
|
-
|
|
36875
|
-
|
|
36876
|
-
|
|
36877
|
-
|
|
36878
|
-
|
|
36663
|
+
state.offset = here_val;
|
|
36664
|
+
state.extra = here_op & 15;
|
|
36665
|
+
state.mode = DISTEXT;
|
|
36666
|
+
case DISTEXT:
|
|
36667
|
+
if (state.extra) {
|
|
36668
|
+
n2 = state.extra;
|
|
36669
|
+
while (bits < n2) {
|
|
36670
|
+
if (have === 0) {
|
|
36671
|
+
break inf_leave;
|
|
36672
|
+
}
|
|
36673
|
+
have--;
|
|
36674
|
+
hold += input[next++] << bits;
|
|
36675
|
+
bits += 8;
|
|
36676
|
+
}
|
|
36677
|
+
state.offset += hold & (1 << state.extra) - 1;
|
|
36678
|
+
hold >>>= state.extra;
|
|
36679
|
+
bits -= state.extra;
|
|
36680
|
+
state.back += state.extra;
|
|
36681
|
+
}
|
|
36682
|
+
if (state.offset > state.dmax) {
|
|
36683
|
+
strm.msg = "invalid distance too far back";
|
|
36684
|
+
state.mode = BAD;
|
|
36685
|
+
break;
|
|
36686
|
+
}
|
|
36687
|
+
state.mode = MATCH;
|
|
36688
|
+
case MATCH:
|
|
36689
|
+
if (left2 === 0) {
|
|
36690
|
+
break inf_leave;
|
|
36691
|
+
}
|
|
36692
|
+
copy2 = _out - left2;
|
|
36693
|
+
if (state.offset > copy2) {
|
|
36694
|
+
copy2 = state.offset - copy2;
|
|
36695
|
+
if (copy2 > state.whave) {
|
|
36696
|
+
if (state.sane) {
|
|
36697
|
+
strm.msg = "invalid distance too far back";
|
|
36698
|
+
state.mode = BAD;
|
|
36699
|
+
break;
|
|
36700
|
+
}
|
|
36701
|
+
}
|
|
36702
|
+
if (copy2 > state.wnext) {
|
|
36703
|
+
copy2 -= state.wnext;
|
|
36704
|
+
from = state.wsize - copy2;
|
|
36705
|
+
} else {
|
|
36706
|
+
from = state.wnext - copy2;
|
|
36707
|
+
}
|
|
36708
|
+
if (copy2 > state.length) {
|
|
36709
|
+
copy2 = state.length;
|
|
36710
|
+
}
|
|
36711
|
+
from_source = state.window;
|
|
36712
|
+
} else {
|
|
36713
|
+
from_source = output;
|
|
36714
|
+
from = put - state.offset;
|
|
36715
|
+
copy2 = state.length;
|
|
36716
|
+
}
|
|
36717
|
+
if (copy2 > left2) {
|
|
36718
|
+
copy2 = left2;
|
|
36719
|
+
}
|
|
36720
|
+
left2 -= copy2;
|
|
36721
|
+
state.length -= copy2;
|
|
36722
|
+
do {
|
|
36723
|
+
output[put++] = from_source[from++];
|
|
36724
|
+
} while (--copy2);
|
|
36725
|
+
if (state.length === 0) {
|
|
36726
|
+
state.mode = LEN;
|
|
36727
|
+
}
|
|
36728
|
+
break;
|
|
36729
|
+
case LIT:
|
|
36730
|
+
if (left2 === 0) {
|
|
36731
|
+
break inf_leave;
|
|
36732
|
+
}
|
|
36733
|
+
output[put++] = state.length;
|
|
36734
|
+
left2--;
|
|
36735
|
+
state.mode = LEN;
|
|
36736
|
+
break;
|
|
36737
|
+
case CHECK:
|
|
36738
|
+
if (state.wrap) {
|
|
36739
|
+
while (bits < 32) {
|
|
36740
|
+
if (have === 0) {
|
|
36741
|
+
break inf_leave;
|
|
36742
|
+
}
|
|
36743
|
+
have--;
|
|
36744
|
+
hold |= input[next++] << bits;
|
|
36745
|
+
bits += 8;
|
|
36746
|
+
}
|
|
36747
|
+
_out -= left2;
|
|
36748
|
+
strm.total_out += _out;
|
|
36749
|
+
state.total += _out;
|
|
36750
|
+
if (state.wrap & 4 && _out) {
|
|
36751
|
+
strm.adler = state.check = /*UPDATE_CHECK(state.check, put - _out, _out);*/
|
|
36752
|
+
state.flags ? crc32_1(state.check, output, _out, put - _out) : adler32_1(state.check, output, _out, put - _out);
|
|
36753
|
+
}
|
|
36754
|
+
_out = left2;
|
|
36755
|
+
if (state.wrap & 4 && (state.flags ? hold : zswap32(hold)) !== state.check) {
|
|
36756
|
+
strm.msg = "incorrect data check";
|
|
36757
|
+
state.mode = BAD;
|
|
36758
|
+
break;
|
|
36759
|
+
}
|
|
36760
|
+
hold = 0;
|
|
36761
|
+
bits = 0;
|
|
36762
|
+
}
|
|
36763
|
+
state.mode = LENGTH;
|
|
36764
|
+
case LENGTH:
|
|
36765
|
+
if (state.wrap && state.flags) {
|
|
36766
|
+
while (bits < 32) {
|
|
36767
|
+
if (have === 0) {
|
|
36768
|
+
break inf_leave;
|
|
36769
|
+
}
|
|
36770
|
+
have--;
|
|
36771
|
+
hold += input[next++] << bits;
|
|
36772
|
+
bits += 8;
|
|
36773
|
+
}
|
|
36774
|
+
if (state.wrap & 4 && hold !== (state.total & 4294967295)) {
|
|
36775
|
+
strm.msg = "incorrect length check";
|
|
36776
|
+
state.mode = BAD;
|
|
36777
|
+
break;
|
|
36778
|
+
}
|
|
36779
|
+
hold = 0;
|
|
36780
|
+
bits = 0;
|
|
36781
|
+
}
|
|
36782
|
+
state.mode = DONE;
|
|
36783
|
+
case DONE:
|
|
36784
|
+
ret = Z_STREAM_END$1;
|
|
36785
|
+
break inf_leave;
|
|
36786
|
+
case BAD:
|
|
36787
|
+
ret = Z_DATA_ERROR$1;
|
|
36788
|
+
break inf_leave;
|
|
36789
|
+
case MEM:
|
|
36790
|
+
return Z_MEM_ERROR$1;
|
|
36791
|
+
case SYNC:
|
|
36792
|
+
default:
|
|
36793
|
+
return Z_STREAM_ERROR$1;
|
|
36794
|
+
}
|
|
36795
|
+
}
|
|
36796
|
+
strm.next_out = put;
|
|
36797
|
+
strm.avail_out = left2;
|
|
36798
|
+
strm.next_in = next;
|
|
36799
|
+
strm.avail_in = have;
|
|
36800
|
+
state.hold = hold;
|
|
36801
|
+
state.bits = bits;
|
|
36802
|
+
if (state.wsize || _out !== strm.avail_out && state.mode < BAD && (state.mode < CHECK || flush2 !== Z_FINISH$1)) {
|
|
36803
|
+
if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out))
|
|
36804
|
+
;
|
|
36805
|
+
}
|
|
36806
|
+
_in -= strm.avail_in;
|
|
36807
|
+
_out -= strm.avail_out;
|
|
36808
|
+
strm.total_in += _in;
|
|
36809
|
+
strm.total_out += _out;
|
|
36810
|
+
state.total += _out;
|
|
36811
|
+
if (state.wrap & 4 && _out) {
|
|
36812
|
+
strm.adler = state.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/
|
|
36813
|
+
state.flags ? crc32_1(state.check, output, _out, strm.next_out - _out) : adler32_1(state.check, output, _out, strm.next_out - _out);
|
|
36814
|
+
}
|
|
36815
|
+
strm.data_type = state.bits + (state.last ? 64 : 0) + (state.mode === TYPE ? 128 : 0) + (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);
|
|
36816
|
+
if ((_in === 0 && _out === 0 || flush2 === Z_FINISH$1) && ret === Z_OK$1) {
|
|
36817
|
+
ret = Z_BUF_ERROR;
|
|
36818
|
+
}
|
|
36819
|
+
return ret;
|
|
36820
|
+
};
|
|
36821
|
+
const inflateEnd = (strm) => {
|
|
36822
|
+
if (inflateStateCheck(strm)) {
|
|
36823
|
+
return Z_STREAM_ERROR$1;
|
|
36824
|
+
}
|
|
36825
|
+
let state = strm.state;
|
|
36826
|
+
if (state.window) {
|
|
36827
|
+
state.window = null;
|
|
36828
|
+
}
|
|
36829
|
+
strm.state = null;
|
|
36830
|
+
return Z_OK$1;
|
|
36831
|
+
};
|
|
36832
|
+
const inflateGetHeader = (strm, head) => {
|
|
36833
|
+
if (inflateStateCheck(strm)) {
|
|
36834
|
+
return Z_STREAM_ERROR$1;
|
|
36835
|
+
}
|
|
36836
|
+
const state = strm.state;
|
|
36837
|
+
if ((state.wrap & 2) === 0) {
|
|
36838
|
+
return Z_STREAM_ERROR$1;
|
|
36839
|
+
}
|
|
36840
|
+
state.head = head;
|
|
36841
|
+
head.done = false;
|
|
36842
|
+
return Z_OK$1;
|
|
36843
|
+
};
|
|
36844
|
+
const inflateSetDictionary = (strm, dictionary) => {
|
|
36845
|
+
const dictLength = dictionary.length;
|
|
36846
|
+
let state;
|
|
36847
|
+
let dictid;
|
|
36848
|
+
let ret;
|
|
36849
|
+
if (inflateStateCheck(strm)) {
|
|
36850
|
+
return Z_STREAM_ERROR$1;
|
|
36851
|
+
}
|
|
36852
|
+
state = strm.state;
|
|
36853
|
+
if (state.wrap !== 0 && state.mode !== DICT) {
|
|
36854
|
+
return Z_STREAM_ERROR$1;
|
|
36855
|
+
}
|
|
36856
|
+
if (state.mode === DICT) {
|
|
36857
|
+
dictid = 1;
|
|
36858
|
+
dictid = adler32_1(dictid, dictionary, dictLength, 0);
|
|
36859
|
+
if (dictid !== state.check) {
|
|
36860
|
+
return Z_DATA_ERROR$1;
|
|
36861
|
+
}
|
|
36862
|
+
}
|
|
36863
|
+
ret = updatewindow(strm, dictionary, dictLength, dictLength);
|
|
36864
|
+
if (ret) {
|
|
36865
|
+
state.mode = MEM;
|
|
36866
|
+
return Z_MEM_ERROR$1;
|
|
36867
|
+
}
|
|
36868
|
+
state.havedict = 1;
|
|
36869
|
+
return Z_OK$1;
|
|
36870
|
+
};
|
|
36871
|
+
var inflateReset_1 = inflateReset;
|
|
36872
|
+
var inflateReset2_1 = inflateReset2;
|
|
36873
|
+
var inflateResetKeep_1 = inflateResetKeep;
|
|
36874
|
+
var inflateInit_1 = inflateInit;
|
|
36875
|
+
var inflateInit2_1 = inflateInit2;
|
|
36876
|
+
var inflate_2$1 = inflate$2;
|
|
36877
|
+
var inflateEnd_1 = inflateEnd;
|
|
36878
|
+
var inflateGetHeader_1 = inflateGetHeader;
|
|
36879
|
+
var inflateSetDictionary_1 = inflateSetDictionary;
|
|
36880
|
+
var inflateInfo = "pako inflate (from Nodeca project)";
|
|
36881
|
+
var inflate_1$2 = {
|
|
36882
|
+
inflateReset: inflateReset_1,
|
|
36883
|
+
inflateReset2: inflateReset2_1,
|
|
36884
|
+
inflateResetKeep: inflateResetKeep_1,
|
|
36885
|
+
inflateInit: inflateInit_1,
|
|
36886
|
+
inflateInit2: inflateInit2_1,
|
|
36887
|
+
inflate: inflate_2$1,
|
|
36888
|
+
inflateEnd: inflateEnd_1,
|
|
36889
|
+
inflateGetHeader: inflateGetHeader_1,
|
|
36890
|
+
inflateSetDictionary: inflateSetDictionary_1,
|
|
36891
|
+
inflateInfo
|
|
36892
|
+
};
|
|
36893
|
+
function GZheader() {
|
|
36894
|
+
this.text = 0;
|
|
36895
|
+
this.time = 0;
|
|
36896
|
+
this.xflags = 0;
|
|
36897
|
+
this.os = 0;
|
|
36898
|
+
this.extra = null;
|
|
36899
|
+
this.extra_len = 0;
|
|
36900
|
+
this.name = "";
|
|
36901
|
+
this.comment = "";
|
|
36902
|
+
this.hcrc = 0;
|
|
36903
|
+
this.done = false;
|
|
36904
|
+
}
|
|
36905
|
+
var gzheader = GZheader;
|
|
36906
|
+
const toString = Object.prototype.toString;
|
|
36907
|
+
const {
|
|
36908
|
+
Z_NO_FLUSH,
|
|
36909
|
+
Z_FINISH,
|
|
36910
|
+
Z_OK,
|
|
36911
|
+
Z_STREAM_END,
|
|
36912
|
+
Z_NEED_DICT,
|
|
36913
|
+
Z_STREAM_ERROR,
|
|
36914
|
+
Z_DATA_ERROR,
|
|
36915
|
+
Z_MEM_ERROR
|
|
36916
|
+
} = constants$2;
|
|
36917
|
+
function Inflate$1(options) {
|
|
36918
|
+
this.options = common.assign({
|
|
36919
|
+
chunkSize: 1024 * 64,
|
|
36920
|
+
windowBits: 15,
|
|
36921
|
+
to: ""
|
|
36922
|
+
}, options || {});
|
|
36923
|
+
const opt = this.options;
|
|
36924
|
+
if (opt.raw && opt.windowBits >= 0 && opt.windowBits < 16) {
|
|
36925
|
+
opt.windowBits = -opt.windowBits;
|
|
36926
|
+
if (opt.windowBits === 0) {
|
|
36927
|
+
opt.windowBits = -15;
|
|
36928
|
+
}
|
|
36929
|
+
}
|
|
36930
|
+
if (opt.windowBits >= 0 && opt.windowBits < 16 && !(options && options.windowBits)) {
|
|
36931
|
+
opt.windowBits += 32;
|
|
36932
|
+
}
|
|
36933
|
+
if (opt.windowBits > 15 && opt.windowBits < 48) {
|
|
36934
|
+
if ((opt.windowBits & 15) === 0) {
|
|
36935
|
+
opt.windowBits |= 15;
|
|
36936
|
+
}
|
|
36937
|
+
}
|
|
36938
|
+
this.err = 0;
|
|
36939
|
+
this.msg = "";
|
|
36940
|
+
this.ended = false;
|
|
36941
|
+
this.chunks = [];
|
|
36942
|
+
this.strm = new zstream();
|
|
36943
|
+
this.strm.avail_out = 0;
|
|
36944
|
+
let status = inflate_1$2.inflateInit2(
|
|
36945
|
+
this.strm,
|
|
36946
|
+
opt.windowBits
|
|
36947
|
+
);
|
|
36948
|
+
if (status !== Z_OK) {
|
|
36949
|
+
throw new Error(messages[status]);
|
|
36950
|
+
}
|
|
36951
|
+
this.header = new gzheader();
|
|
36952
|
+
inflate_1$2.inflateGetHeader(this.strm, this.header);
|
|
36953
|
+
if (opt.dictionary) {
|
|
36954
|
+
if (typeof opt.dictionary === "string") {
|
|
36955
|
+
opt.dictionary = strings.string2buf(opt.dictionary);
|
|
36956
|
+
} else if (toString.call(opt.dictionary) === "[object ArrayBuffer]") {
|
|
36957
|
+
opt.dictionary = new Uint8Array(opt.dictionary);
|
|
36958
|
+
}
|
|
36959
|
+
if (opt.raw) {
|
|
36960
|
+
status = inflate_1$2.inflateSetDictionary(this.strm, opt.dictionary);
|
|
36961
|
+
if (status !== Z_OK) {
|
|
36962
|
+
throw new Error(messages[status]);
|
|
36879
36963
|
}
|
|
36880
|
-
return function(e3) {
|
|
36881
|
-
for (var t3 = {}, n4 = 0, r4 = 0; n4 < a3; n4 += 1) {
|
|
36882
|
-
var i4 = s3[n4];
|
|
36883
|
-
if ("string" == typeof i4)
|
|
36884
|
-
r4 += i4.length;
|
|
36885
|
-
else {
|
|
36886
|
-
var o3 = i4.regex, f4 = i4.parser, h4 = e3.slice(r4), u4 = o3.exec(h4)[0];
|
|
36887
|
-
f4.call(t3, u4), e3 = e3.replace(u4, "");
|
|
36888
|
-
}
|
|
36889
|
-
}
|
|
36890
|
-
return function(e4) {
|
|
36891
|
-
var t4 = e4.afternoon;
|
|
36892
|
-
if (void 0 !== t4) {
|
|
36893
|
-
var n5 = e4.hours;
|
|
36894
|
-
t4 ? n5 < 12 && (e4.hours += 12) : 12 === n5 && (e4.hours = 0), delete e4.afternoon;
|
|
36895
|
-
}
|
|
36896
|
-
}(t3), t3;
|
|
36897
|
-
};
|
|
36898
36964
|
}
|
|
36899
|
-
|
|
36900
|
-
|
|
36901
|
-
|
|
36902
|
-
|
|
36903
|
-
|
|
36904
|
-
|
|
36905
|
-
|
|
36906
|
-
|
|
36907
|
-
|
|
36908
|
-
|
|
36909
|
-
|
|
36910
|
-
|
|
36911
|
-
|
|
36912
|
-
|
|
36913
|
-
|
|
36914
|
-
|
|
36915
|
-
|
|
36916
|
-
|
|
36917
|
-
|
|
36918
|
-
|
|
36919
|
-
|
|
36920
|
-
|
|
36921
|
-
|
|
36922
|
-
|
|
36923
|
-
|
|
36924
|
-
|
|
36925
|
-
|
|
36926
|
-
|
|
36927
|
-
|
|
36928
|
-
|
|
36929
|
-
|
|
36930
|
-
|
|
36931
|
-
|
|
36932
|
-
};
|
|
36933
|
-
};
|
|
36934
|
-
});
|
|
36935
|
-
})(customParseFormat$1);
|
|
36936
|
-
var customParseFormatExports = customParseFormat$1.exports;
|
|
36937
|
-
const customParseFormat = /* @__PURE__ */ getDefaultExportFromCjs(customParseFormatExports);
|
|
36938
|
-
var relativeTime$1 = { exports: {} };
|
|
36939
|
-
(function(module, exports) {
|
|
36940
|
-
!function(r2, e2) {
|
|
36941
|
-
module.exports = e2();
|
|
36942
|
-
}(commonjsGlobal, function() {
|
|
36943
|
-
return function(r2, e2, t2) {
|
|
36944
|
-
r2 = r2 || {};
|
|
36945
|
-
var n2 = e2.prototype, o2 = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
36946
|
-
function i2(r3, e3, t3, o3) {
|
|
36947
|
-
return n2.fromToBase(r3, e3, t3, o3);
|
|
36965
|
+
}
|
|
36966
|
+
}
|
|
36967
|
+
Inflate$1.prototype.push = function(data, flush_mode) {
|
|
36968
|
+
const strm = this.strm;
|
|
36969
|
+
const chunkSize = this.options.chunkSize;
|
|
36970
|
+
const dictionary = this.options.dictionary;
|
|
36971
|
+
let status, _flush_mode, last_avail_out;
|
|
36972
|
+
if (this.ended)
|
|
36973
|
+
return false;
|
|
36974
|
+
if (flush_mode === ~~flush_mode)
|
|
36975
|
+
_flush_mode = flush_mode;
|
|
36976
|
+
else
|
|
36977
|
+
_flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;
|
|
36978
|
+
if (toString.call(data) === "[object ArrayBuffer]") {
|
|
36979
|
+
strm.input = new Uint8Array(data);
|
|
36980
|
+
} else {
|
|
36981
|
+
strm.input = data;
|
|
36982
|
+
}
|
|
36983
|
+
strm.next_in = 0;
|
|
36984
|
+
strm.avail_in = strm.input.length;
|
|
36985
|
+
for (; ; ) {
|
|
36986
|
+
if (strm.avail_out === 0) {
|
|
36987
|
+
strm.output = new Uint8Array(chunkSize);
|
|
36988
|
+
strm.next_out = 0;
|
|
36989
|
+
strm.avail_out = chunkSize;
|
|
36990
|
+
}
|
|
36991
|
+
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
36992
|
+
if (status === Z_NEED_DICT && dictionary) {
|
|
36993
|
+
status = inflate_1$2.inflateSetDictionary(strm, dictionary);
|
|
36994
|
+
if (status === Z_OK) {
|
|
36995
|
+
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
36996
|
+
} else if (status === Z_DATA_ERROR) {
|
|
36997
|
+
status = Z_NEED_DICT;
|
|
36948
36998
|
}
|
|
36949
|
-
t2.en.relativeTime = o2, n2.fromToBase = function(e3, n3, i3, d3, u2) {
|
|
36950
|
-
for (var f2, a2, s2, l2 = i3.$locale().relativeTime || o2, h2 = r2.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], m2 = h2.length, c6 = 0; c6 < m2; c6 += 1) {
|
|
36951
|
-
var y2 = h2[c6];
|
|
36952
|
-
y2.d && (f2 = d3 ? t2(e3).diff(i3, y2.d, true) : i3.diff(e3, y2.d, true));
|
|
36953
|
-
var p2 = (r2.rounding || Math.round)(Math.abs(f2));
|
|
36954
|
-
if (s2 = f2 > 0, p2 <= y2.r || !y2.r) {
|
|
36955
|
-
p2 <= 1 && c6 > 0 && (y2 = h2[c6 - 1]);
|
|
36956
|
-
var v2 = l2[y2.l];
|
|
36957
|
-
u2 && (p2 = u2("" + p2)), a2 = "string" == typeof v2 ? v2.replace("%d", p2) : v2(p2, n3, y2.l, s2);
|
|
36958
|
-
break;
|
|
36959
|
-
}
|
|
36960
|
-
}
|
|
36961
|
-
if (n3)
|
|
36962
|
-
return a2;
|
|
36963
|
-
var M2 = s2 ? l2.future : l2.past;
|
|
36964
|
-
return "function" == typeof M2 ? M2(a2) : M2.replace("%s", a2);
|
|
36965
|
-
}, n2.to = function(r3, e3) {
|
|
36966
|
-
return i2(r3, e3, this, true);
|
|
36967
|
-
}, n2.from = function(r3, e3) {
|
|
36968
|
-
return i2(r3, e3, this);
|
|
36969
|
-
};
|
|
36970
|
-
var d2 = function(r3) {
|
|
36971
|
-
return r3.$u ? t2.utc() : t2();
|
|
36972
|
-
};
|
|
36973
|
-
n2.toNow = function(r3) {
|
|
36974
|
-
return this.to(d2(this), r3);
|
|
36975
|
-
}, n2.fromNow = function(r3) {
|
|
36976
|
-
return this.from(d2(this), r3);
|
|
36977
|
-
};
|
|
36978
|
-
};
|
|
36979
|
-
});
|
|
36980
|
-
})(relativeTime$1);
|
|
36981
|
-
var relativeTimeExports = relativeTime$1.exports;
|
|
36982
|
-
const relativeTime = /* @__PURE__ */ getDefaultExportFromCjs(relativeTimeExports);
|
|
36983
|
-
var de = { exports: {} };
|
|
36984
|
-
(function(module, exports) {
|
|
36985
|
-
!function(e2, n2) {
|
|
36986
|
-
module.exports = n2(dayjs_minExports);
|
|
36987
|
-
}(commonjsGlobal, function(e2) {
|
|
36988
|
-
function n2(e3) {
|
|
36989
|
-
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
36990
36999
|
}
|
|
36991
|
-
|
|
36992
|
-
|
|
36993
|
-
|
|
36994
|
-
return Array.isArray(i3) && (i3 = i3[n3 ? 0 : 1]), i3.replace("%d", e3);
|
|
37000
|
+
while (strm.avail_in > 0 && status === Z_STREAM_END && strm.state.wrap > 0 && data[strm.next_in] !== 0) {
|
|
37001
|
+
inflate_1$2.inflateReset(strm);
|
|
37002
|
+
status = inflate_1$2.inflate(strm, _flush_mode);
|
|
36995
37003
|
}
|
|
36996
|
-
|
|
36997
|
-
|
|
36998
|
-
|
|
36999
|
-
|
|
37000
|
-
|
|
37001
|
-
|
|
37002
|
-
|
|
37003
|
-
|
|
37004
|
-
!function(e2, o2) {
|
|
37005
|
-
module.exports = o2(dayjs_minExports);
|
|
37006
|
-
}(commonjsGlobal, function(e2) {
|
|
37007
|
-
function o2(e3) {
|
|
37008
|
-
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
37004
|
+
switch (status) {
|
|
37005
|
+
case Z_STREAM_ERROR:
|
|
37006
|
+
case Z_DATA_ERROR:
|
|
37007
|
+
case Z_NEED_DICT:
|
|
37008
|
+
case Z_MEM_ERROR:
|
|
37009
|
+
this.onEnd(status);
|
|
37010
|
+
this.ended = true;
|
|
37011
|
+
return false;
|
|
37009
37012
|
}
|
|
37010
|
-
|
|
37011
|
-
|
|
37012
|
-
|
|
37013
|
-
|
|
37014
|
-
|
|
37015
|
-
|
|
37016
|
-
|
|
37017
|
-
|
|
37018
|
-
|
|
37019
|
-
|
|
37020
|
-
|
|
37021
|
-
|
|
37022
|
-
|
|
37013
|
+
last_avail_out = strm.avail_out;
|
|
37014
|
+
if (strm.next_out) {
|
|
37015
|
+
if (strm.avail_out === 0 || status === Z_STREAM_END) {
|
|
37016
|
+
if (this.options.to === "string") {
|
|
37017
|
+
let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);
|
|
37018
|
+
let tail = strm.next_out - next_out_utf8;
|
|
37019
|
+
let utf8str = strings.buf2string(strm.output, next_out_utf8);
|
|
37020
|
+
strm.next_out = tail;
|
|
37021
|
+
strm.avail_out = chunkSize - tail;
|
|
37022
|
+
if (tail)
|
|
37023
|
+
strm.output.set(strm.output.subarray(next_out_utf8, next_out_utf8 + tail), 0);
|
|
37024
|
+
this.onData(utf8str);
|
|
37025
|
+
} else {
|
|
37026
|
+
this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));
|
|
37027
|
+
}
|
|
37028
|
+
}
|
|
37023
37029
|
}
|
|
37024
|
-
|
|
37025
|
-
|
|
37026
|
-
|
|
37027
|
-
|
|
37028
|
-
|
|
37029
|
-
|
|
37030
|
-
|
|
37031
|
-
(function(module, exports) {
|
|
37032
|
-
!function(e2, n2) {
|
|
37033
|
-
module.exports = n2(dayjs_minExports);
|
|
37034
|
-
}(commonjsGlobal, function(e2) {
|
|
37035
|
-
function n2(e3) {
|
|
37036
|
-
return e3 && "object" == typeof e3 && "default" in e3 ? e3 : { default: e3 };
|
|
37030
|
+
if (status === Z_OK && last_avail_out === 0)
|
|
37031
|
+
continue;
|
|
37032
|
+
if (status === Z_STREAM_END) {
|
|
37033
|
+
status = inflate_1$2.inflateEnd(this.strm);
|
|
37034
|
+
this.onEnd(status);
|
|
37035
|
+
this.ended = true;
|
|
37036
|
+
return true;
|
|
37037
37037
|
}
|
|
37038
|
-
|
|
37039
|
-
|
|
37040
|
-
|
|
37041
|
-
|
|
37042
|
-
|
|
37043
|
-
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
|
|
37047
|
-
|
|
37048
|
-
|
|
37049
|
-
|
|
37050
|
-
|
|
37038
|
+
if (strm.avail_in === 0)
|
|
37039
|
+
break;
|
|
37040
|
+
}
|
|
37041
|
+
return true;
|
|
37042
|
+
};
|
|
37043
|
+
Inflate$1.prototype.onData = function(chunk) {
|
|
37044
|
+
this.chunks.push(chunk);
|
|
37045
|
+
};
|
|
37046
|
+
Inflate$1.prototype.onEnd = function(status) {
|
|
37047
|
+
if (status === Z_OK) {
|
|
37048
|
+
if (this.options.to === "string") {
|
|
37049
|
+
this.result = this.chunks.join("");
|
|
37050
|
+
} else {
|
|
37051
|
+
this.result = common.flattenChunks(this.chunks);
|
|
37051
37052
|
}
|
|
37052
|
-
|
|
37053
|
-
|
|
37054
|
-
|
|
37055
|
-
|
|
37056
|
-
|
|
37057
|
-
})(it);
|
|
37053
|
+
}
|
|
37054
|
+
this.chunks = [];
|
|
37055
|
+
this.err = status;
|
|
37056
|
+
this.msg = this.strm.msg;
|
|
37057
|
+
};
|
|
37058
37058
|
var ENV = /* @__PURE__ */ ((ENV2) => (ENV2[ENV2.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", ENV2[ENV2.WEBGL = 1] = "WEBGL", ENV2[ENV2.WEBGL2 = 2] = "WEBGL2", ENV2))(ENV || {}), RENDERER_TYPE = /* @__PURE__ */ ((RENDERER_TYPE2) => (RENDERER_TYPE2[RENDERER_TYPE2.UNKNOWN = 0] = "UNKNOWN", RENDERER_TYPE2[RENDERER_TYPE2.WEBGL = 1] = "WEBGL", RENDERER_TYPE2[RENDERER_TYPE2.CANVAS = 2] = "CANVAS", RENDERER_TYPE2))(RENDERER_TYPE || {}), BUFFER_BITS = /* @__PURE__ */ ((BUFFER_BITS2) => (BUFFER_BITS2[BUFFER_BITS2.COLOR = 16384] = "COLOR", BUFFER_BITS2[BUFFER_BITS2.DEPTH = 256] = "DEPTH", BUFFER_BITS2[BUFFER_BITS2.STENCIL = 1024] = "STENCIL", BUFFER_BITS2))(BUFFER_BITS || {}), BLEND_MODES = /* @__PURE__ */ ((BLEND_MODES2) => (BLEND_MODES2[BLEND_MODES2.NORMAL = 0] = "NORMAL", BLEND_MODES2[BLEND_MODES2.ADD = 1] = "ADD", BLEND_MODES2[BLEND_MODES2.MULTIPLY = 2] = "MULTIPLY", BLEND_MODES2[BLEND_MODES2.SCREEN = 3] = "SCREEN", BLEND_MODES2[BLEND_MODES2.OVERLAY = 4] = "OVERLAY", BLEND_MODES2[BLEND_MODES2.DARKEN = 5] = "DARKEN", BLEND_MODES2[BLEND_MODES2.LIGHTEN = 6] = "LIGHTEN", BLEND_MODES2[BLEND_MODES2.COLOR_DODGE = 7] = "COLOR_DODGE", BLEND_MODES2[BLEND_MODES2.COLOR_BURN = 8] = "COLOR_BURN", BLEND_MODES2[BLEND_MODES2.HARD_LIGHT = 9] = "HARD_LIGHT", BLEND_MODES2[BLEND_MODES2.SOFT_LIGHT = 10] = "SOFT_LIGHT", BLEND_MODES2[BLEND_MODES2.DIFFERENCE = 11] = "DIFFERENCE", BLEND_MODES2[BLEND_MODES2.EXCLUSION = 12] = "EXCLUSION", BLEND_MODES2[BLEND_MODES2.HUE = 13] = "HUE", BLEND_MODES2[BLEND_MODES2.SATURATION = 14] = "SATURATION", BLEND_MODES2[BLEND_MODES2.COLOR = 15] = "COLOR", BLEND_MODES2[BLEND_MODES2.LUMINOSITY = 16] = "LUMINOSITY", BLEND_MODES2[BLEND_MODES2.NORMAL_NPM = 17] = "NORMAL_NPM", BLEND_MODES2[BLEND_MODES2.ADD_NPM = 18] = "ADD_NPM", BLEND_MODES2[BLEND_MODES2.SCREEN_NPM = 19] = "SCREEN_NPM", BLEND_MODES2[BLEND_MODES2.NONE = 20] = "NONE", BLEND_MODES2[BLEND_MODES2.SRC_OVER = 0] = "SRC_OVER", BLEND_MODES2[BLEND_MODES2.SRC_IN = 21] = "SRC_IN", BLEND_MODES2[BLEND_MODES2.SRC_OUT = 22] = "SRC_OUT", BLEND_MODES2[BLEND_MODES2.SRC_ATOP = 23] = "SRC_ATOP", BLEND_MODES2[BLEND_MODES2.DST_OVER = 24] = "DST_OVER", BLEND_MODES2[BLEND_MODES2.DST_IN = 25] = "DST_IN", BLEND_MODES2[BLEND_MODES2.DST_OUT = 26] = "DST_OUT", BLEND_MODES2[BLEND_MODES2.DST_ATOP = 27] = "DST_ATOP", BLEND_MODES2[BLEND_MODES2.ERASE = 26] = "ERASE", BLEND_MODES2[BLEND_MODES2.SUBTRACT = 28] = "SUBTRACT", BLEND_MODES2[BLEND_MODES2.XOR = 29] = "XOR", BLEND_MODES2))(BLEND_MODES || {}), DRAW_MODES = /* @__PURE__ */ ((DRAW_MODES2) => (DRAW_MODES2[DRAW_MODES2.POINTS = 0] = "POINTS", DRAW_MODES2[DRAW_MODES2.LINES = 1] = "LINES", DRAW_MODES2[DRAW_MODES2.LINE_LOOP = 2] = "LINE_LOOP", DRAW_MODES2[DRAW_MODES2.LINE_STRIP = 3] = "LINE_STRIP", DRAW_MODES2[DRAW_MODES2.TRIANGLES = 4] = "TRIANGLES", DRAW_MODES2[DRAW_MODES2.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", DRAW_MODES2[DRAW_MODES2.TRIANGLE_FAN = 6] = "TRIANGLE_FAN", DRAW_MODES2))(DRAW_MODES || {}), FORMATS = /* @__PURE__ */ ((FORMATS2) => (FORMATS2[FORMATS2.RGBA = 6408] = "RGBA", FORMATS2[FORMATS2.RGB = 6407] = "RGB", FORMATS2[FORMATS2.RG = 33319] = "RG", FORMATS2[FORMATS2.RED = 6403] = "RED", FORMATS2[FORMATS2.RGBA_INTEGER = 36249] = "RGBA_INTEGER", FORMATS2[FORMATS2.RGB_INTEGER = 36248] = "RGB_INTEGER", FORMATS2[FORMATS2.RG_INTEGER = 33320] = "RG_INTEGER", FORMATS2[FORMATS2.RED_INTEGER = 36244] = "RED_INTEGER", FORMATS2[FORMATS2.ALPHA = 6406] = "ALPHA", FORMATS2[FORMATS2.LUMINANCE = 6409] = "LUMINANCE", FORMATS2[FORMATS2.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", FORMATS2[FORMATS2.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", FORMATS2[FORMATS2.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL", FORMATS2))(FORMATS || {}), TARGETS = /* @__PURE__ */ ((TARGETS2) => (TARGETS2[TARGETS2.TEXTURE_2D = 3553] = "TEXTURE_2D", TARGETS2[TARGETS2.TEXTURE_CUBE_MAP = 34067] = "TEXTURE_CUBE_MAP", TARGETS2[TARGETS2.TEXTURE_2D_ARRAY = 35866] = "TEXTURE_2D_ARRAY", TARGETS2[TARGETS2.TEXTURE_CUBE_MAP_POSITIVE_X = 34069] = "TEXTURE_CUBE_MAP_POSITIVE_X", TARGETS2[TARGETS2.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070] = "TEXTURE_CUBE_MAP_NEGATIVE_X", TARGETS2[TARGETS2.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071] = "TEXTURE_CUBE_MAP_POSITIVE_Y", TARGETS2[TARGETS2.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072] = "TEXTURE_CUBE_MAP_NEGATIVE_Y", TARGETS2[TARGETS2.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073] = "TEXTURE_CUBE_MAP_POSITIVE_Z", TARGETS2[TARGETS2.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074] = "TEXTURE_CUBE_MAP_NEGATIVE_Z", TARGETS2))(TARGETS || {}), TYPES = /* @__PURE__ */ ((TYPES2) => (TYPES2[TYPES2.UNSIGNED_BYTE = 5121] = "UNSIGNED_BYTE", TYPES2[TYPES2.UNSIGNED_SHORT = 5123] = "UNSIGNED_SHORT", TYPES2[TYPES2.UNSIGNED_SHORT_5_6_5 = 33635] = "UNSIGNED_SHORT_5_6_5", TYPES2[TYPES2.UNSIGNED_SHORT_4_4_4_4 = 32819] = "UNSIGNED_SHORT_4_4_4_4", TYPES2[TYPES2.UNSIGNED_SHORT_5_5_5_1 = 32820] = "UNSIGNED_SHORT_5_5_5_1", TYPES2[TYPES2.UNSIGNED_INT = 5125] = "UNSIGNED_INT", TYPES2[TYPES2.UNSIGNED_INT_10F_11F_11F_REV = 35899] = "UNSIGNED_INT_10F_11F_11F_REV", TYPES2[TYPES2.UNSIGNED_INT_2_10_10_10_REV = 33640] = "UNSIGNED_INT_2_10_10_10_REV", TYPES2[TYPES2.UNSIGNED_INT_24_8 = 34042] = "UNSIGNED_INT_24_8", TYPES2[TYPES2.UNSIGNED_INT_5_9_9_9_REV = 35902] = "UNSIGNED_INT_5_9_9_9_REV", TYPES2[TYPES2.BYTE = 5120] = "BYTE", TYPES2[TYPES2.SHORT = 5122] = "SHORT", TYPES2[TYPES2.INT = 5124] = "INT", TYPES2[TYPES2.FLOAT = 5126] = "FLOAT", TYPES2[TYPES2.FLOAT_32_UNSIGNED_INT_24_8_REV = 36269] = "FLOAT_32_UNSIGNED_INT_24_8_REV", TYPES2[TYPES2.HALF_FLOAT = 36193] = "HALF_FLOAT", TYPES2))(TYPES || {}), SAMPLER_TYPES = /* @__PURE__ */ ((SAMPLER_TYPES2) => (SAMPLER_TYPES2[SAMPLER_TYPES2.FLOAT = 0] = "FLOAT", SAMPLER_TYPES2[SAMPLER_TYPES2.INT = 1] = "INT", SAMPLER_TYPES2[SAMPLER_TYPES2.UINT = 2] = "UINT", SAMPLER_TYPES2))(SAMPLER_TYPES || {}), SCALE_MODES = /* @__PURE__ */ ((SCALE_MODES2) => (SCALE_MODES2[SCALE_MODES2.NEAREST = 0] = "NEAREST", SCALE_MODES2[SCALE_MODES2.LINEAR = 1] = "LINEAR", SCALE_MODES2))(SCALE_MODES || {}), WRAP_MODES = /* @__PURE__ */ ((WRAP_MODES2) => (WRAP_MODES2[WRAP_MODES2.CLAMP = 33071] = "CLAMP", WRAP_MODES2[WRAP_MODES2.REPEAT = 10497] = "REPEAT", WRAP_MODES2[WRAP_MODES2.MIRRORED_REPEAT = 33648] = "MIRRORED_REPEAT", WRAP_MODES2))(WRAP_MODES || {}), MIPMAP_MODES = /* @__PURE__ */ ((MIPMAP_MODES2) => (MIPMAP_MODES2[MIPMAP_MODES2.OFF = 0] = "OFF", MIPMAP_MODES2[MIPMAP_MODES2.POW2 = 1] = "POW2", MIPMAP_MODES2[MIPMAP_MODES2.ON = 2] = "ON", MIPMAP_MODES2[MIPMAP_MODES2.ON_MANUAL = 3] = "ON_MANUAL", MIPMAP_MODES2))(MIPMAP_MODES || {}), ALPHA_MODES = /* @__PURE__ */ ((ALPHA_MODES2) => (ALPHA_MODES2[ALPHA_MODES2.NPM = 0] = "NPM", ALPHA_MODES2[ALPHA_MODES2.UNPACK = 1] = "UNPACK", ALPHA_MODES2[ALPHA_MODES2.PMA = 2] = "PMA", ALPHA_MODES2[ALPHA_MODES2.NO_PREMULTIPLIED_ALPHA = 0] = "NO_PREMULTIPLIED_ALPHA", ALPHA_MODES2[ALPHA_MODES2.PREMULTIPLY_ON_UPLOAD = 1] = "PREMULTIPLY_ON_UPLOAD", ALPHA_MODES2[ALPHA_MODES2.PREMULTIPLIED_ALPHA = 2] = "PREMULTIPLIED_ALPHA", ALPHA_MODES2))(ALPHA_MODES || {}), CLEAR_MODES = /* @__PURE__ */ ((CLEAR_MODES2) => (CLEAR_MODES2[CLEAR_MODES2.NO = 0] = "NO", CLEAR_MODES2[CLEAR_MODES2.YES = 1] = "YES", CLEAR_MODES2[CLEAR_MODES2.AUTO = 2] = "AUTO", CLEAR_MODES2[CLEAR_MODES2.BLEND = 0] = "BLEND", CLEAR_MODES2[CLEAR_MODES2.CLEAR = 1] = "CLEAR", CLEAR_MODES2[CLEAR_MODES2.BLIT = 2] = "BLIT", CLEAR_MODES2))(CLEAR_MODES || {}), GC_MODES = /* @__PURE__ */ ((GC_MODES2) => (GC_MODES2[GC_MODES2.AUTO = 0] = "AUTO", GC_MODES2[GC_MODES2.MANUAL = 1] = "MANUAL", GC_MODES2))(GC_MODES || {}), PRECISION = /* @__PURE__ */ ((PRECISION2) => (PRECISION2.LOW = "lowp", PRECISION2.MEDIUM = "mediump", PRECISION2.HIGH = "highp", PRECISION2))(PRECISION || {}), MASK_TYPES = /* @__PURE__ */ ((MASK_TYPES2) => (MASK_TYPES2[MASK_TYPES2.NONE = 0] = "NONE", MASK_TYPES2[MASK_TYPES2.SCISSOR = 1] = "SCISSOR", MASK_TYPES2[MASK_TYPES2.STENCIL = 2] = "STENCIL", MASK_TYPES2[MASK_TYPES2.SPRITE = 3] = "SPRITE", MASK_TYPES2[MASK_TYPES2.COLOR = 4] = "COLOR", MASK_TYPES2))(MASK_TYPES || {}), MSAA_QUALITY = /* @__PURE__ */ ((MSAA_QUALITY2) => (MSAA_QUALITY2[MSAA_QUALITY2.NONE = 0] = "NONE", MSAA_QUALITY2[MSAA_QUALITY2.LOW = 2] = "LOW", MSAA_QUALITY2[MSAA_QUALITY2.MEDIUM = 4] = "MEDIUM", MSAA_QUALITY2[MSAA_QUALITY2.HIGH = 8] = "HIGH", MSAA_QUALITY2))(MSAA_QUALITY || {}), BUFFER_TYPE = /* @__PURE__ */ ((BUFFER_TYPE2) => (BUFFER_TYPE2[BUFFER_TYPE2.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", BUFFER_TYPE2[BUFFER_TYPE2.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", BUFFER_TYPE2[BUFFER_TYPE2.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER", BUFFER_TYPE2))(BUFFER_TYPE || {});
|
|
37059
37059
|
const BrowserAdapter = {
|
|
37060
37060
|
/**
|
|
@@ -62254,7 +62254,7 @@ const ActionBar$1 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
62254
62254
|
" ",
|
|
62255
62255
|
isConfirm && /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { onClick: hide2, children: t2("close") })
|
|
62256
62256
|
] }),
|
|
62257
|
-
(isDismissible || isConfirm) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "btn-close-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: "btn-close", "data-bs-dismiss": "alert", "aria-label": "
|
|
62257
|
+
(isDismissible || isConfirm) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "btn-close-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: "btn-close", "data-bs-dismiss": "alert", "aria-label": t2("close"), onClick: hide2 }) }),
|
|
62258
62258
|
autoClose && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "alert-progress", style: {
|
|
62259
62259
|
transform: "scaleX(0)"
|
|
62260
62260
|
} })
|
|
@@ -62463,55 +62463,45 @@ function useHasWorkflow(workflow) {
|
|
|
62463
62463
|
}, [workflow, mock]), state;
|
|
62464
62464
|
}
|
|
62465
62465
|
const useConversation = () => {
|
|
62466
|
-
const zimbraWorkflow = useHasWorkflow("fr.openent.zimbra.controllers.ZimbraController|view"), zimbraPreauth = useHasWorkflow("fr.openent.zimbra.controllers.ZimbraController|preauth"), [messages2, setMessages] = reactExports.useState(0), [msgLink, setMsgLink] = reactExports.useState(""),
|
|
62467
|
-
|
|
62468
|
-
|
|
62469
|
-
|
|
62470
|
-
|
|
62471
|
-
|
|
62472
|
-
|
|
62473
|
-
|
|
62474
|
-
|
|
62475
|
-
|
|
62476
|
-
|
|
62477
|
-
|
|
62478
|
-
|
|
62479
|
-
|
|
62480
|
-
|
|
62481
|
-
|
|
62482
|
-
|
|
62483
|
-
|
|
62484
|
-
|
|
62485
|
-
|
|
62486
|
-
|
|
62487
|
-
|
|
62488
|
-
|
|
62489
|
-
|
|
62490
|
-
|
|
62491
|
-
|
|
62492
|
-
|
|
62493
|
-
odeServices.http().get("/userbook/preference/zimbra").then((data) => {
|
|
62494
|
-
try {
|
|
62495
|
-
data.preference && JSON.parse(data.preference).modeExpert && zimbraPreauth ? messagerieLink = "/zimbra/preauth" : messagerieLink = window.location.origin + "/zimbra/zimbra";
|
|
62496
|
-
} catch {
|
|
62497
|
-
messagerieLink = "/zimbra/zimbra";
|
|
62498
|
-
}
|
|
62499
|
-
}), setMsgLink(messagerieLink);
|
|
62500
|
-
}, [zimbraPreauth]);
|
|
62466
|
+
const zimbraWorkflow = useHasWorkflow("fr.openent.zimbra.controllers.ZimbraController|view"), zimbraPreauth = useHasWorkflow("fr.openent.zimbra.controllers.ZimbraController|preauth"), [messages2, setMessages] = reactExports.useState(0), [msgLink, setMsgLink] = reactExports.useState(""), queryParams = {
|
|
62467
|
+
unread: true,
|
|
62468
|
+
_: (/* @__PURE__ */ new Date()).getTime()
|
|
62469
|
+
}, refreshMails = reactExports.useCallback(async () => {
|
|
62470
|
+
const url = zimbraWorkflow ? "/zimbra/count/INBOX" : "/conversation/count/INBOX";
|
|
62471
|
+
try {
|
|
62472
|
+
const {
|
|
62473
|
+
status,
|
|
62474
|
+
count: count2
|
|
62475
|
+
} = await odeServices.http().get(url, {
|
|
62476
|
+
queryParams
|
|
62477
|
+
});
|
|
62478
|
+
setMessages(status === 200 ? count2 : 0);
|
|
62479
|
+
} catch (error) {
|
|
62480
|
+
console.error(error), setMessages(0);
|
|
62481
|
+
}
|
|
62482
|
+
}, [zimbraWorkflow]), goToMessagerie = reactExports.useCallback(async () => {
|
|
62483
|
+
const defaultLink = "/zimbra/zimbra";
|
|
62484
|
+
try {
|
|
62485
|
+
const {
|
|
62486
|
+
preference
|
|
62487
|
+
} = await odeServices.http().get("/userbook/preference/zimbra"), isExpertMode = preference ? JSON.parse(preference).modeExpert : false;
|
|
62488
|
+
setMsgLink(isExpertMode && zimbraPreauth ? "/zimbra/preauth" : window.location.origin + defaultLink);
|
|
62489
|
+
} catch (error) {
|
|
62490
|
+
console.error(error), setMsgLink(window.location.origin + defaultLink);
|
|
62491
|
+
}
|
|
62492
|
+
}, []);
|
|
62501
62493
|
return reactExports.useEffect(() => {
|
|
62502
|
-
|
|
62503
|
-
|
|
62504
|
-
|
|
62505
|
-
|
|
62506
|
-
console.error(error);
|
|
62507
|
-
}
|
|
62508
|
-
})(), goToMessagerie();
|
|
62509
|
-
}, [goToMessagerie, refreshMails]), {
|
|
62494
|
+
zimbraWorkflow && refreshMails();
|
|
62495
|
+
}, [zimbraWorkflow, refreshMails]), reactExports.useEffect(() => {
|
|
62496
|
+
zimbraPreauth && goToMessagerie();
|
|
62497
|
+
}, [zimbraPreauth, goToMessagerie]), {
|
|
62510
62498
|
messages: messages2,
|
|
62511
62499
|
msgLink,
|
|
62512
62500
|
zimbraWorkflow
|
|
62513
62501
|
};
|
|
62514
62502
|
}, useConversation$1 = useConversation;
|
|
62503
|
+
dayjs.extend(relativeTime);
|
|
62504
|
+
dayjs.extend(customParseFormat);
|
|
62515
62505
|
const DEFAULT_EVENTS = ["mousedown", "touchstart"];
|
|
62516
62506
|
function useClickOutside(handler, events2, nodes) {
|
|
62517
62507
|
const ref2 = reactExports.useRef();
|
|
@@ -62560,7 +62550,7 @@ const useDropdown = (placement, extraTriggerKeyDownHandler) => {
|
|
|
62560
62550
|
rects,
|
|
62561
62551
|
elements
|
|
62562
62552
|
}) {
|
|
62563
|
-
elements.floating.style
|
|
62553
|
+
elements.floating.style, `${rects.reference.width}`;
|
|
62564
62554
|
}
|
|
62565
62555
|
}), flip$2({
|
|
62566
62556
|
padding: 0
|
|
@@ -62727,28 +62717,22 @@ const useDropdown = (placement, extraTriggerKeyDownHandler) => {
|
|
|
62727
62717
|
function useToast() {
|
|
62728
62718
|
return {
|
|
62729
62719
|
success: (message, options) => _t.custom(/* @__PURE__ */ jsxRuntimeExports.jsx(Alert$1, { type: "success", isToast: true, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
62730
|
-
id: options == null ? void 0 : options.id,
|
|
62731
62720
|
duration: options == null ? void 0 : options.duration,
|
|
62732
62721
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
62733
62722
|
}),
|
|
62734
62723
|
error: (message, options) => _t.custom(/* @__PURE__ */ jsxRuntimeExports.jsx(Alert$1, { type: "danger", isToast: true, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
62735
|
-
id: options == null ? void 0 : options.id,
|
|
62736
62724
|
duration: options == null ? void 0 : options.duration,
|
|
62737
62725
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
62738
62726
|
}),
|
|
62739
62727
|
info: (message, options) => _t.custom(/* @__PURE__ */ jsxRuntimeExports.jsx(Alert$1, { type: "info", isToast: true, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
62740
|
-
id: options == null ? void 0 : options.id,
|
|
62741
62728
|
duration: options == null ? void 0 : options.duration,
|
|
62742
62729
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
62743
62730
|
}),
|
|
62744
62731
|
warning: (message, options) => _t.custom(/* @__PURE__ */ jsxRuntimeExports.jsx(Alert$1, { type: "warning", isToast: true, isDismissible: options == null ? void 0 : options.isDismissible, className: "mb-12", children: message }), {
|
|
62745
|
-
id: options == null ? void 0 : options.id,
|
|
62746
62732
|
duration: options == null ? void 0 : options.duration,
|
|
62747
62733
|
position: (options == null ? void 0 : options.position) ?? DEFAULT_POSITION
|
|
62748
62734
|
}),
|
|
62749
|
-
loading: _t.loading
|
|
62750
|
-
dismiss: (id2) => _t.dismiss(id2),
|
|
62751
|
-
remove: (id2) => _t.remove(id2)
|
|
62735
|
+
loading: _t.loading
|
|
62752
62736
|
};
|
|
62753
62737
|
}
|
|
62754
62738
|
function useHover() {
|
|
@@ -62868,16 +62852,13 @@ const useLibraryUrl = () => {
|
|
|
62868
62852
|
const {
|
|
62869
62853
|
user,
|
|
62870
62854
|
appCode
|
|
62871
|
-
} = useOdeClient(), appName = libraryMaps[appCode],
|
|
62872
|
-
|
|
62873
|
-
|
|
62874
|
-
const
|
|
62875
|
-
|
|
62876
|
-
|
|
62877
|
-
|
|
62878
|
-
libraryHost.endsWith("/") || (libraryHost = `${libraryHost}/`);
|
|
62879
|
-
const platformURLParam = libraryUrlSplit == null ? void 0 : libraryUrlSplit[1], searchParams = `application%5B0%5D=${appName}&page=1&sort_field=views&sort_order=desc`;
|
|
62880
|
-
return `${libraryHost}search/?${platformURLParam}&${searchParams}`;
|
|
62855
|
+
} = useOdeClient(), appName = libraryMaps[appCode], libraryUrlSplitted = (_a2 = user.apps.find((app) => app.isExternal && app.address.includes("library") && app.name.includes("library"))) == null ? void 0 : _a2.address.split("?");
|
|
62856
|
+
let libraryHost = libraryUrlSplitted == null ? void 0 : libraryUrlSplitted[0];
|
|
62857
|
+
libraryHost != null && libraryHost.endsWith("/") || (libraryHost = `${libraryHost}/`);
|
|
62858
|
+
const platformParam = libraryUrlSplitted == null ? void 0 : libraryUrlSplitted[1], searchParams = `application%5B0%5D=${appName}&page=1&sort_field=views&sort_order=desc`;
|
|
62859
|
+
return {
|
|
62860
|
+
libraryUrl: `${libraryHost}search/?${platformParam}&${searchParams}`
|
|
62861
|
+
};
|
|
62881
62862
|
}, useLibraryUrl$1 = useLibraryUrl;
|
|
62882
62863
|
function useOdeIcons() {
|
|
62883
62864
|
const iconOfWidget = {
|
|
@@ -63050,7 +63031,8 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
63050
63031
|
app,
|
|
63051
63032
|
size: size2 = "24",
|
|
63052
63033
|
iconFit = "contain",
|
|
63053
|
-
variant = "square"
|
|
63034
|
+
variant = "square",
|
|
63035
|
+
className = ""
|
|
63054
63036
|
}, ref2) => {
|
|
63055
63037
|
const {
|
|
63056
63038
|
isIconUrl,
|
|
@@ -63068,14 +63050,19 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
63068
63050
|
}, iconFits = {
|
|
63069
63051
|
"icon-contain": isContain,
|
|
63070
63052
|
"icon-ratio": isRatio
|
|
63071
|
-
}, icon = typeof app == "string" ? app : (app == null ? void 0 : app.icon) !== void 0 ? app.icon : "placeholder", displayName = typeof app != "string" && (app == null ? void 0 : app.displayName) !== void 0 ? app.displayName : "", code = app ? getIconCode(app) : "", isIconURL = isIconUrl(icon), appCode = code || "placeholder"
|
|
63053
|
+
}, icon = typeof app == "string" ? app : (app == null ? void 0 : app.icon) !== void 0 ? app.icon : "placeholder", displayName = typeof app != "string" && (app == null ? void 0 : app.displayName) !== void 0 ? app.displayName : "", code = app ? getIconCode(app) : "", isIconURL = isIconUrl(icon), appCode = code || "placeholder";
|
|
63054
|
+
if (isIconURL) {
|
|
63055
|
+
const classes22 = clsx("h-full", className);
|
|
63056
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Image$2, { src: icon, alt: displayName, objectFit: "contain", width: size2, height: size2, className: classes22 });
|
|
63057
|
+
}
|
|
63058
|
+
const classes2 = clsx("app-icon", {
|
|
63072
63059
|
...iconSizes,
|
|
63073
63060
|
...iconVariant,
|
|
63074
63061
|
...iconFits,
|
|
63075
63062
|
[`bg-light-${appCode}`]: appCode && !isContain,
|
|
63076
63063
|
[`color-app-${appCode}`]: appCode
|
|
63077
|
-
});
|
|
63078
|
-
return
|
|
63064
|
+
}, className);
|
|
63065
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes2, style: {
|
|
63079
63066
|
width: size2 + "px",
|
|
63080
63067
|
height: size2 + "px"
|
|
63081
63068
|
}, children: /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { ref: ref2, width: size2, height: size2, role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntimeExports.jsx("use", { xlinkHref: `${iconPath}/apps.svg#${appCode}` }) }) });
|
|
@@ -63350,7 +63337,7 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
63350
63337
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("input", { ref: ref2, id: id2, className: classes2, type: type2, placeholder, required: isRequired, readOnly: isReadOnly, ...restProps });
|
|
63351
63338
|
}), Input$1 = Input, Label = /* @__PURE__ */ reactExports.forwardRef(({
|
|
63352
63339
|
leftIcon,
|
|
63353
|
-
optionalText = "
|
|
63340
|
+
optionalText = "optional",
|
|
63354
63341
|
requiredText = "*",
|
|
63355
63342
|
children,
|
|
63356
63343
|
className
|
|
@@ -63767,13 +63754,15 @@ const ImagePicker = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
63767
63754
|
} = props, {
|
|
63768
63755
|
ariaLabelId,
|
|
63769
63756
|
focusId
|
|
63770
|
-
} = useModalContext(), closeButtonRef = reactExports.useRef(null)
|
|
63757
|
+
} = useModalContext(), closeButtonRef = reactExports.useRef(null), {
|
|
63758
|
+
t: t2
|
|
63759
|
+
} = useTranslation();
|
|
63771
63760
|
return reactExports.useEffect(() => {
|
|
63772
63761
|
var _a2;
|
|
63773
63762
|
focusId || (_a2 = closeButtonRef.current) == null || _a2.focus();
|
|
63774
63763
|
}, [focusId]), /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "modal-header", children: [
|
|
63775
63764
|
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { id: ariaLabelId, className: "modal-title", tabIndex: -1, children }),
|
|
63776
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { ref: closeButtonRef, "aria-label": "
|
|
63765
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { ref: closeButtonRef, "aria-label": t2("close"), color: "tertiary", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgClose$1, {}), type: "button", variant: "ghost", title: t2("close"), onClick: onModalClose, className: "btn-close" })
|
|
63777
63766
|
] });
|
|
63778
63767
|
}, ModalHeader$1 = ModalHeader, ModalSubtitle = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "modal-subtitle", children: props.children }), ModalSubtitle$1 = ModalSubtitle, Root$4 = /* @__PURE__ */ reactExports.forwardRef((props, ref2) => {
|
|
63779
63768
|
const {
|
|
@@ -63885,12 +63874,12 @@ const ImagePicker = /* @__PURE__ */ reactExports.forwardRef(({
|
|
|
63885
63874
|
onValueChange == null || onValueChange(value);
|
|
63886
63875
|
}
|
|
63887
63876
|
}, [localValue]);
|
|
63888
|
-
const label = typeof localValue == "object" ? localValue.label : localValue
|
|
63877
|
+
const label = typeof localValue == "object" ? localValue.label : localValue;
|
|
63889
63878
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Dropdown$1, { overflow, block, children: [
|
|
63890
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectTrigger$1, { icon
|
|
63879
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SelectTrigger$1, { icon, label: t2(label || placeholderOption), variant, size: size2, disabled }),
|
|
63891
63880
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown$1.Menu, { role: "listbox", children: options == null ? void 0 : options.map((option) => {
|
|
63892
|
-
const value = typeof option == "object" ? option.value : option, label2 = typeof option == "object" ? option.label : option
|
|
63893
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown$1.Item, { type: "action", onClick: () => setLocalValue(option),
|
|
63881
|
+
const value = typeof option == "object" ? option.value : option, label2 = typeof option == "object" ? option.label : option;
|
|
63882
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown$1.Item, { type: "action", onClick: () => setLocalValue(option), children: label2 }, value);
|
|
63894
63883
|
}) })
|
|
63895
63884
|
] });
|
|
63896
63885
|
}, Select$1 = Select;
|
|
@@ -63959,7 +63948,9 @@ const TreeItem = (props) => {
|
|
|
63959
63948
|
onItemFocus,
|
|
63960
63949
|
onItemBlur,
|
|
63961
63950
|
selectedNodesIds
|
|
63962
|
-
} = props,
|
|
63951
|
+
} = props, {
|
|
63952
|
+
t: t2
|
|
63953
|
+
} = useTranslation(), [expanded, setExpanded] = reactExports.useState(false), {
|
|
63963
63954
|
handleItemClick,
|
|
63964
63955
|
handleItemKeyDown,
|
|
63965
63956
|
handleItemFoldUnfoldClick,
|
|
@@ -63976,13 +63967,13 @@ const TreeItem = (props) => {
|
|
|
63976
63967
|
}, [nodeId, selectedNodesIds]);
|
|
63977
63968
|
const rafterSize = section ? 16 : 12, renderItem = () => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { id: `listitem_${nodeId}`, role: "treeitem", "aria-selected": selected, "aria-expanded": expanded, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
63978
63969
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "action-container d-flex align-items-center gap-8 px-2", children: [
|
|
63979
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `py-8 ${Array.isArray(children) ? null : "invisible"}`, tabIndex: 0, role: "button", onClick: handleItemFoldUnfoldClick, onKeyDown: handleItemFoldUnfoldKeyDown, "aria-label": "
|
|
63980
|
-
Array.isArray(children) && !expanded && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterRight$1, { title: "
|
|
63981
|
-
Array.isArray(children) && expanded && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterDown$1, { title: "
|
|
63982
|
-
!Array.isArray(children) && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterRight$1, { title: "
|
|
63970
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `py-8 ${Array.isArray(children) ? null : "invisible"}`, tabIndex: 0, role: "button", onClick: handleItemFoldUnfoldClick, onKeyDown: handleItemFoldUnfoldKeyDown, "aria-label": t2("foldUnfold"), children: [
|
|
63971
|
+
Array.isArray(children) && !expanded && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterRight$1, { title: t2("foldUnfold"), width: rafterSize, height: rafterSize }),
|
|
63972
|
+
Array.isArray(children) && expanded && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterDown$1, { title: t2("foldUnfold"), width: rafterSize, height: rafterSize }),
|
|
63973
|
+
!Array.isArray(children) && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterRight$1, { title: t2("foldUnfold"), width: rafterSize, height: rafterSize, "aria-hidden": "true" })
|
|
63983
63974
|
] }),
|
|
63984
63975
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { tabIndex: 0, role: "button", className: "flex-fill d-flex align-items-center text-truncate gap-8 py-8", onClick: handleItemClick, onKeyDown: handleItemKeyDown, onFocus: handleItemFocus, onBlur: handleItemBlur, children: [
|
|
63985
|
-
section && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgFolder$1, { title: "
|
|
63976
|
+
section && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgFolder$1, { title: t2("folder"), width: 20, height: 20 }),
|
|
63986
63977
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-truncate", children: label })
|
|
63987
63978
|
] })
|
|
63988
63979
|
] }),
|
|
@@ -64460,30 +64451,23 @@ function usePublishModal({
|
|
|
64460
64451
|
watch
|
|
64461
64452
|
};
|
|
64462
64453
|
}
|
|
64463
|
-
const useResource = (application,
|
|
64454
|
+
const useResource = (application, id2) => {
|
|
64464
64455
|
const [resource, setResource] = reactExports.useState(null);
|
|
64465
64456
|
return reactExports.useEffect(() => {
|
|
64466
|
-
if (
|
|
64457
|
+
if (id2 === "") {
|
|
64467
64458
|
console.warn("resourceId must be an assetId and not an empty string");
|
|
64468
64459
|
return;
|
|
64469
64460
|
}
|
|
64470
64461
|
(async () => {
|
|
64471
|
-
|
|
64472
|
-
application
|
|
64473
|
-
|
|
64474
|
-
|
|
64475
|
-
|
|
64476
|
-
|
|
64477
|
-
|
|
64478
|
-
|
|
64479
|
-
|
|
64480
|
-
startIdx: 0,
|
|
64481
|
-
pageSize: assetId.length
|
|
64482
|
-
},
|
|
64483
|
-
types: [application],
|
|
64484
|
-
asset_id: assetId
|
|
64485
|
-
});
|
|
64486
|
-
setResource(response.resources[0]);
|
|
64462
|
+
try {
|
|
64463
|
+
const response = await odeServices.resource(application).searchResource({
|
|
64464
|
+
application,
|
|
64465
|
+
id: id2
|
|
64466
|
+
});
|
|
64467
|
+
setResource(response);
|
|
64468
|
+
} catch (error) {
|
|
64469
|
+
console.error(error);
|
|
64470
|
+
}
|
|
64487
64471
|
})();
|
|
64488
64472
|
}, []), resource;
|
|
64489
64473
|
}, useResource$1 = useResource;
|
|
@@ -64558,8 +64542,8 @@ function PublishModal$2({
|
|
|
64558
64542
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mb-24", children: [
|
|
64559
64543
|
/* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: "", className: "form-label", children: t2("bpr.form.publication.age") }),
|
|
64560
64544
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex gap-8", children: [
|
|
64561
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "col col-
|
|
64562
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "col col-
|
|
64545
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "col col-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(AgeSelect, { control, name: "ageMin", placeholderOption: defaultSelectAgeMinOption, validate: (value, formValues) => parseInt(value) <= parseInt(formValues.ageMax) }) }),
|
|
64546
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "col col-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(AgeSelect, { control, name: "ageMax", placeholderOption: defaultSelectAgeMaxOption, validate: (value, formValues) => parseInt(value) >= parseInt(formValues.ageMin) }) })
|
|
64563
64547
|
] })
|
|
64564
64548
|
] }),
|
|
64565
64549
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-24", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(FormControl$1, { id: "keywords", isOptional: true, children: [
|
|
@@ -65329,13 +65313,13 @@ const defaultActions = [{
|
|
|
65329
65313
|
type: "onChange",
|
|
65330
65314
|
payload: value
|
|
65331
65315
|
});
|
|
65332
|
-
}, search =
|
|
65316
|
+
}, search = async (debouncedSearchInputValue2) => {
|
|
65333
65317
|
if (resource) {
|
|
65334
65318
|
if (dispatch({
|
|
65335
65319
|
type: "isSearching",
|
|
65336
65320
|
payload: true
|
|
65337
65321
|
}), !isAdml && debouncedSearchInputValue2.length >= 1 || isAdml && debouncedSearchInputValue2.length >= 3) {
|
|
65338
|
-
const resSearchShareSubjects =
|
|
65322
|
+
const resSearchShareSubjects = await odeServices.share().searchShareSubjects(appCode, resource.assetId, debouncedSearchInputValue2);
|
|
65339
65323
|
dispatch({
|
|
65340
65324
|
type: "addApiResult",
|
|
65341
65325
|
payload: resSearchShareSubjects
|
|
@@ -65362,7 +65346,7 @@ const defaultActions = [{
|
|
|
65362
65346
|
payload: false
|
|
65363
65347
|
});
|
|
65364
65348
|
}
|
|
65365
|
-
}
|
|
65349
|
+
};
|
|
65366
65350
|
return {
|
|
65367
65351
|
state,
|
|
65368
65352
|
showSearchAdmlHint: () => isAdml && state.searchInputValue.length < 3,
|
|
@@ -65677,7 +65661,7 @@ const useShareBookmark = ({
|
|
|
65677
65661
|
shareRight.type === "sharebookmark" && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgBookmark$1, {})
|
|
65678
65662
|
] }),
|
|
65679
65663
|
/* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex", children: [
|
|
65680
|
-
shareRight.type === "sharebookmark" && /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { color: "tertiary", rightIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterDown$1, { title: "
|
|
65664
|
+
shareRight.type === "sharebookmark" && /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { color: "tertiary", rightIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterDown$1, { title: t2("show"), className: "w-16 min-w-0", style: {
|
|
65681
65665
|
transition: "rotate 0.2s ease-out",
|
|
65682
65666
|
rotate: showBookmark ? "-180deg" : "0deg"
|
|
65683
65667
|
} }), type: "button", variant: "ghost", className: "fw-normal ps-0", onClick: toggleBookmark, children: shareRight.displayName }),
|
|
@@ -65687,7 +65671,7 @@ const useShareBookmark = ({
|
|
|
65687
65671
|
shareRightActions.map((shareRightAction) => /* @__PURE__ */ jsxRuntimeExports.jsx("td", { style: {
|
|
65688
65672
|
width: "80px"
|
|
65689
65673
|
}, className: "text-center text-white", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Checkbox$1, { checked: hasRight(shareRight, shareRightAction), onChange: () => toggleRight(shareRight, shareRightAction.id) }) }, shareRightAction.displayName)),
|
|
65690
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: !shareRight.isBookmarkMember && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { "aria-label": "
|
|
65674
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: !shareRight.isBookmarkMember && /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { "aria-label": t2("close"), color: "tertiary", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgClose$1, {}), type: "button", variant: "ghost", title: t2("close"), onClick: () => onDeleteRow(shareRight) }) })
|
|
65691
65675
|
] }, shareRight.id));
|
|
65692
65676
|
};
|
|
65693
65677
|
function ShareResourceModal({
|
|
@@ -65770,7 +65754,7 @@ function ShareResourceModal({
|
|
|
65770
65754
|
] })
|
|
65771
65755
|
] }) }),
|
|
65772
65756
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-16", children: [
|
|
65773
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { color: "tertiary", leftIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgBookmark$1, {}), rightIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterDown$1, { title: "
|
|
65757
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { color: "tertiary", leftIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgBookmark$1, {}), rightIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRafterDown$1, { title: t2("show"), className: "w-16 min-w-0", style: {
|
|
65774
65758
|
transition: "rotate 0.2s ease-out",
|
|
65775
65759
|
rotate: showBookmarkInput ? "-180deg" : "0deg"
|
|
65776
65760
|
} }), type: "button", variant: "ghost", className: "fw-normal", onClick: () => toggleBookmarkInput(!showBookmarkInput), children: t2("share.save.sharebookmark") }),
|
|
@@ -65782,7 +65766,7 @@ function ShareResourceModal({
|
|
|
65782
65766
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { message: "Vos favoris de partage s’affichent en priorité dans votre liste lorsque vous recherchez un groupe ou une personne, vous pouvez les retrouver dans l’annuaire.", placement: "top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgInfoCircle$1, { className: "c-pointer", height: "18" }) })
|
|
65783
65767
|
] }),
|
|
65784
65768
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "row", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "col-10", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Combobox$1, { value: searchInputValue, placeholder: searchPlaceholder, isLoading: showSearchLoading(), noResult: showSearchNoResults(), options: searchResults, searchMinLength: getSearchMinLength(), onSearchInputChange: handleSearchInputChange, onSearchResultsChange: handleSearchResultsChange }) }) }),
|
|
65785
|
-
children
|
|
65769
|
+
typeof children == "function" ? children(resource) : children
|
|
65786
65770
|
] }),
|
|
65787
65771
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Modal$1.Footer, { children: [
|
|
65788
65772
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { type: "button", color: "tertiary", variant: "ghost", onClick: onCancel, children: t2("explorer.cancel") }),
|
|
@@ -65798,7 +65782,7 @@ function ShareBlog({
|
|
|
65798
65782
|
appCode
|
|
65799
65783
|
} = useOdeClient(), {
|
|
65800
65784
|
t: t2
|
|
65801
|
-
} = useTranslation(appCode), publishType = resource && resource["publish-type"], [radioPublicationValue, setRadioPublicationValue] = reactExports.useState(publishType), handleRadioPublicationChange = async (event) => {
|
|
65785
|
+
} = useTranslation(appCode), publishType = resource && resource["publish-type"], [radioPublicationValue, setRadioPublicationValue] = reactExports.useState(publishType ?? "RESTRAINT"), handleRadioPublicationChange = async (event) => {
|
|
65802
65786
|
const value = event.target.value;
|
|
65803
65787
|
(async () => {
|
|
65804
65788
|
const params = {
|
|
@@ -66170,8 +66154,6 @@ const Layout = ({
|
|
|
66170
66154
|
} })
|
|
66171
66155
|
] });
|
|
66172
66156
|
}, Layout$1 = Layout;
|
|
66173
|
-
dayjs.extend(relativeTime);
|
|
66174
|
-
dayjs.extend(customParseFormat);
|
|
66175
66157
|
const scriptRel = "modulepreload";
|
|
66176
66158
|
const assetsURL = function(dep) {
|
|
66177
66159
|
return "/" + dep;
|
|
@@ -66512,12 +66494,6 @@ const restoreAll = async ({
|
|
|
66512
66494
|
};
|
|
66513
66495
|
return await odeServices.resource(searchParams.application).restoreAll(trashParameters, useAssetIds);
|
|
66514
66496
|
};
|
|
66515
|
-
const copyResource = async (searchParams, resourceId) => {
|
|
66516
|
-
return await odeServices.resource(searchParams.application).copy({
|
|
66517
|
-
application: searchParams.application,
|
|
66518
|
-
resourceId
|
|
66519
|
-
});
|
|
66520
|
-
};
|
|
66521
66497
|
const moveToFolder = async ({
|
|
66522
66498
|
searchParams,
|
|
66523
66499
|
resourceIds,
|
|
@@ -67387,74 +67363,6 @@ const useDelete = () => {
|
|
|
67387
67363
|
}
|
|
67388
67364
|
});
|
|
67389
67365
|
};
|
|
67390
|
-
const useCopyResource = () => {
|
|
67391
|
-
const toast = useToast();
|
|
67392
|
-
const searchParams = useSearchParams();
|
|
67393
|
-
const queryClient2 = useQueryClient();
|
|
67394
|
-
const { user } = useUser();
|
|
67395
|
-
const { filters: filters2, trashed } = searchParams;
|
|
67396
|
-
const TOAST_INFO_ID = "duplicate_start";
|
|
67397
|
-
const queryKey = [
|
|
67398
|
-
"context",
|
|
67399
|
-
{
|
|
67400
|
-
folderId: filters2.folder,
|
|
67401
|
-
filters: filters2,
|
|
67402
|
-
trashed
|
|
67403
|
-
}
|
|
67404
|
-
];
|
|
67405
|
-
return useMutation({
|
|
67406
|
-
mutationFn: async (resource) => {
|
|
67407
|
-
toast.info(t$4("duplicate.start"), {
|
|
67408
|
-
id: TOAST_INFO_ID
|
|
67409
|
-
});
|
|
67410
|
-
return await copyResource(searchParams, resource.assetId);
|
|
67411
|
-
},
|
|
67412
|
-
onSuccess: async (data, variables) => {
|
|
67413
|
-
toast.remove(TOAST_INFO_ID);
|
|
67414
|
-
toast.success(t$4("duplicate.done"));
|
|
67415
|
-
await queryClient2.cancelQueries({ queryKey });
|
|
67416
|
-
const previousData = queryClient2.getQueryData(queryKey);
|
|
67417
|
-
const newResource = {
|
|
67418
|
-
...variables,
|
|
67419
|
-
name: `${variables.name}${t$4("duplicate.suffix")}`,
|
|
67420
|
-
assetId: data.duplicateId,
|
|
67421
|
-
id: data.duplicateId,
|
|
67422
|
-
creatorId: user == null ? void 0 : user.userId,
|
|
67423
|
-
creatorName: user == null ? void 0 : user.username,
|
|
67424
|
-
createdAt: Date.now(),
|
|
67425
|
-
slug: variables.slug || "",
|
|
67426
|
-
modifiedAt: Date.now(),
|
|
67427
|
-
modifierId: (user == null ? void 0 : user.userId) || "",
|
|
67428
|
-
modifierName: (user == null ? void 0 : user.username) || "",
|
|
67429
|
-
updatedAt: Date.now(),
|
|
67430
|
-
trashed: false,
|
|
67431
|
-
rights: [`creator:${user == null ? void 0 : user.userId}`]
|
|
67432
|
-
};
|
|
67433
|
-
if (previousData) {
|
|
67434
|
-
return queryClient2.setQueryData(queryKey, (prev) => {
|
|
67435
|
-
if (prev) {
|
|
67436
|
-
return {
|
|
67437
|
-
...prev,
|
|
67438
|
-
pages: prev == null ? void 0 : prev.pages.map((page) => {
|
|
67439
|
-
return {
|
|
67440
|
-
...page,
|
|
67441
|
-
resources: [newResource, ...page.resources]
|
|
67442
|
-
};
|
|
67443
|
-
})
|
|
67444
|
-
};
|
|
67445
|
-
}
|
|
67446
|
-
return void 0;
|
|
67447
|
-
});
|
|
67448
|
-
}
|
|
67449
|
-
},
|
|
67450
|
-
onError: (error) => {
|
|
67451
|
-
toast.remove(TOAST_INFO_ID);
|
|
67452
|
-
if (typeof error === "string") {
|
|
67453
|
-
toast.error(`${t$4("duplicate.error")}: ${error}`);
|
|
67454
|
-
}
|
|
67455
|
-
}
|
|
67456
|
-
});
|
|
67457
|
-
};
|
|
67458
67366
|
const useMoveItem = () => {
|
|
67459
67367
|
const toast = useToast();
|
|
67460
67368
|
const queryClient2 = useQueryClient();
|
|
@@ -68304,21 +68212,20 @@ const queryClient = new QueryClient({
|
|
|
68304
68212
|
});
|
|
68305
68213
|
const getHTMLConfig = getExplorerConfig();
|
|
68306
68214
|
createRoot(root).render(
|
|
68307
|
-
|
|
68308
|
-
|
|
68309
|
-
|
|
68310
|
-
|
|
68311
|
-
|
|
68312
|
-
|
|
68313
|
-
|
|
68314
|
-
|
|
68315
|
-
|
|
68316
|
-
|
|
68317
|
-
|
|
68318
|
-
|
|
68319
|
-
] }),
|
|
68320
|
-
","
|
|
68215
|
+
// <StrictMode>
|
|
68216
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(QueryClientProvider, { client: queryClient, children: [
|
|
68217
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68218
|
+
OdeClientProvider,
|
|
68219
|
+
{
|
|
68220
|
+
params: {
|
|
68221
|
+
app: getHTMLConfig.app
|
|
68222
|
+
},
|
|
68223
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Root, {}) })
|
|
68224
|
+
}
|
|
68225
|
+
),
|
|
68226
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ReactQueryDevtools2, { initialIsOpen: false })
|
|
68321
68227
|
] })
|
|
68228
|
+
// </StrictMode>,
|
|
68322
68229
|
);
|
|
68323
68230
|
function EmptyScreenApp() {
|
|
68324
68231
|
const { appCode } = useOdeClient();
|
|
@@ -68912,9 +68819,9 @@ const AppAction$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
68912
68819
|
const Library = () => {
|
|
68913
68820
|
const { t: t2 } = useTranslation();
|
|
68914
68821
|
const { theme } = useOdeTheme();
|
|
68915
|
-
const libraryUrl = useLibraryUrl$1();
|
|
68822
|
+
const { libraryUrl } = useLibraryUrl$1();
|
|
68916
68823
|
const [imagePath] = usePaths();
|
|
68917
|
-
return
|
|
68824
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "p-16", children: [
|
|
68918
68825
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68919
68826
|
Image$2,
|
|
68920
68827
|
{
|
|
@@ -69026,7 +68933,6 @@ function useActionBar() {
|
|
|
69026
68933
|
const restoreItem = useRestore();
|
|
69027
68934
|
const isTrashResource = useResourceIsTrash();
|
|
69028
68935
|
const searchParams = useSearchParams();
|
|
69029
|
-
const copyResource2 = useCopyResource();
|
|
69030
68936
|
const {
|
|
69031
68937
|
openResource,
|
|
69032
68938
|
printSelectedResource,
|
|
@@ -69060,8 +68966,6 @@ function useActionBar() {
|
|
|
69060
68966
|
folderId: selectedFolders[0].id
|
|
69061
68967
|
});
|
|
69062
68968
|
}
|
|
69063
|
-
case ACTION.COPY:
|
|
69064
|
-
return onCopy();
|
|
69065
68969
|
case ACTION.MOVE:
|
|
69066
68970
|
return setOpenedModalName("move");
|
|
69067
68971
|
case ACTION.PRINT:
|
|
@@ -69076,11 +68980,7 @@ function useActionBar() {
|
|
|
69076
68980
|
case "edit":
|
|
69077
68981
|
return onEdit();
|
|
69078
68982
|
case "export":
|
|
69079
|
-
|
|
69080
|
-
return onExport();
|
|
69081
|
-
} else {
|
|
69082
|
-
return null;
|
|
69083
|
-
}
|
|
68983
|
+
return onExport();
|
|
69084
68984
|
case ACTION.SHARE:
|
|
69085
68985
|
return setOpenedModalName("share");
|
|
69086
68986
|
default:
|
|
@@ -69103,8 +69003,6 @@ function useActionBar() {
|
|
|
69103
69003
|
return onlyOneItemSelected && noFolderSelected;
|
|
69104
69004
|
case ACTION.SHARE:
|
|
69105
69005
|
return noFolderSelected && onlyOneItemSelected;
|
|
69106
|
-
case "export":
|
|
69107
|
-
return onlyOneItemSelected && noFolderSelected;
|
|
69108
69006
|
case ACTION.PRINT:
|
|
69109
69007
|
return onlyOneItemSelected && noFolderSelected;
|
|
69110
69008
|
case "edit":
|
|
@@ -69152,14 +69050,6 @@ function useActionBar() {
|
|
|
69152
69050
|
const onEditResourceCancel = onFinish("edit_resource");
|
|
69153
69051
|
const onShareResourceSuccess = onFinish("share");
|
|
69154
69052
|
const onShareResourceCancel = onFinish("share");
|
|
69155
|
-
async function onCopy() {
|
|
69156
|
-
if (selectedResources && selectedResources.length > 0) {
|
|
69157
|
-
const selectedResource = selectedResources[0];
|
|
69158
|
-
await copyResource2.mutate(selectedResource);
|
|
69159
|
-
clearSelectedItems();
|
|
69160
|
-
clearSelectedIds();
|
|
69161
|
-
}
|
|
69162
|
-
}
|
|
69163
69053
|
function onEdit() {
|
|
69164
69054
|
if (resourceIds && resourceIds.length > 0) {
|
|
69165
69055
|
const selectedResource = selectedResources[0].assetId;
|