ghost 5.128.0 → 5.129.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/components/tryghost-i18n-5.129.0.tgz +0 -0
  2. package/core/built/admin/assets/admin-x-activitypub/admin-x-activitypub.js +2 -2
  3. package/core/built/admin/assets/admin-x-activitypub/{index-CAyELgjK.mjs → index-Ou5BZ-qx.mjs} +7 -6
  4. package/core/built/admin/assets/admin-x-activitypub/{index-Dw9BlNtX.mjs → index-q-fcRpYq.mjs} +2 -2
  5. package/core/built/admin/assets/admin-x-settings/{CodeEditorView-D-2S3E5-.mjs → CodeEditorView-BdOUrhjH.mjs} +2 -2
  6. package/core/built/admin/assets/admin-x-settings/admin-x-settings.js +2 -2
  7. package/core/built/admin/assets/admin-x-settings/{index-3ewKySD9.mjs → index-BIcU5l8u.mjs} +105 -105
  8. package/core/built/admin/assets/admin-x-settings/{index-0OLkY3Hc.mjs → index-CyYRbOBi.mjs} +5485 -5307
  9. package/core/built/admin/assets/admin-x-settings/{modals-viB8Wk3n.mjs → modals-r5LXiWii.mjs} +8221 -8196
  10. package/core/built/admin/assets/{chunk.524.293f624425ff9f9e45d1.js → chunk.524.59a57ec279b535711b3f.js} +5 -5
  11. package/core/built/admin/assets/{chunk.582.20f1821e20aec8197bfc.js → chunk.582.324905279ae25a297c8e.js} +9 -9
  12. package/core/built/admin/assets/{ghost-edcc476760aeb9eaddd24341ec19f261.js → ghost-29e715d82674921e3f545fd4778b09ac.js} +375 -345
  13. package/core/built/admin/assets/{ghost-673f1a892cb83c3441c2ad448d4b634d.css → ghost-415f8e3c36dbe0e09f87608628da382d.css} +1 -1
  14. package/core/built/admin/assets/{ghost-dark-1e5d92b26a08ecf6f98999c53102f221.css → ghost-dark-2043bca95512f1fa2ff0bea2f8a632b0.css} +1 -1
  15. package/core/built/admin/assets/posts/posts.js +63002 -62842
  16. package/core/built/admin/assets/stats/stats.js +32122 -31899
  17. package/core/built/admin/assets/{vendor-9631e49a9ba32620e8fdc561f1380348.js → vendor-c89102f24c3d9502e9db741509767580.js} +20 -18
  18. package/core/built/admin/index.html +5 -5
  19. package/core/frontend/helpers/ghost_head.js +4 -2
  20. package/core/frontend/public/ghost-stats.min.js +1 -1
  21. package/core/frontend/src/ghost-stats/ghost-stats.js +9 -5
  22. package/core/server/api/endpoints/comments.js +86 -0
  23. package/core/server/api/endpoints/index.js +5 -1
  24. package/core/server/api/endpoints/search-index-public.js +26 -4
  25. package/core/server/api/endpoints/search-index.js +84 -0
  26. package/core/server/api/endpoints/utils/serializers/output/search-index.js +79 -18
  27. package/core/server/data/schema/schema.js +1 -1
  28. package/core/server/data/seeders/importers/TagsImporter.js +2 -2
  29. package/core/server/services/comments/CommentsService.js +21 -7
  30. package/core/server/services/email-service/email-templates/partials/styles.hbs +1 -0
  31. package/core/server/services/media-inliner/ExternalMediaInliner.js +21 -2
  32. package/core/server/services/permissions/can-this.js +10 -3
  33. package/core/server/services/stats/PostsStatsService.js +52 -0
  34. package/core/server/web/api/endpoints/admin/middleware.js +5 -3
  35. package/core/server/web/api/endpoints/admin/routes.js +7 -0
  36. package/core/server/web/api/endpoints/content/routes.js +3 -3
  37. package/core/shared/labs.js +1 -2
  38. package/core/shared/settings-cache/CacheManager.js +1 -0
  39. package/package.json +6 -5
  40. package/tsconfig.tsbuildinfo +1 -1
  41. package/yarn.lock +121 -90
  42. package/components/tryghost-i18n-5.128.0.tgz +0 -0
  43. package/core/server/services/search-index/SearchIndexService.js +0 -43
  44. package/core/server/services/search-index/index.js +0 -8
@@ -1,4 +1,4 @@
1
- import { a$ as Oe, X as Xa, b1 as ll } from "./index-0OLkY3Hc.mjs";
1
+ import { b0 as Oe, W as Xa, b2 as ll } from "./index-CyYRbOBi.mjs";
2
2
  function fl(r, e) {
3
3
  for (var n = 0; n < e.length; n++) {
4
4
  const t = e[n];
@@ -4369,21 +4369,21 @@ var QS = typeof window > "u" ? void 0 : window, KS = QS;
4369
4369
  * See the License for the specific language governing permissions and
4370
4370
  * limitations under the License.
4371
4371
  */
4372
- var rE = Jr, eE = Zs, ta = _n, tE = Xs, nE = XS, Dr = KS, Qs;
4373
- function iE() {
4372
+ var r2 = Jr, e2 = Zs, ta = _n, t2 = Xs, n2 = XS, Dr = KS, Qs;
4373
+ function i2() {
4374
4374
  var r;
4375
4375
  if (ta(Dr) === "undefined")
4376
4376
  return !1;
4377
4377
  for (r in Dr)
4378
4378
  try {
4379
- eE(nE, r) === -1 && rE(Dr, r) && Dr[r] !== null && ta(Dr[r]) === "object" && tE(Dr[r]);
4379
+ e2(n2, r) === -1 && r2(Dr, r) && Dr[r] !== null && ta(Dr[r]) === "object" && t2(Dr[r]);
4380
4380
  } catch {
4381
4381
  return !0;
4382
4382
  }
4383
4383
  return !1;
4384
4384
  }
4385
- Qs = iE();
4386
- var aE = Qs;
4385
+ Qs = i2();
4386
+ var a2 = Qs;
4387
4387
  /**
4388
4388
  * @license Apache-2.0
4389
4389
  *
@@ -4401,7 +4401,7 @@ var aE = Qs;
4401
4401
  * See the License for the specific language governing permissions and
4402
4402
  * limitations under the License.
4403
4403
  */
4404
- var oE = typeof window < "u", sE = oE;
4404
+ var o2 = typeof window < "u", s2 = o2;
4405
4405
  /**
4406
4406
  * @license Apache-2.0
4407
4407
  *
@@ -4419,9 +4419,9 @@ var oE = typeof window < "u", sE = oE;
4419
4419
  * See the License for the specific language governing permissions and
4420
4420
  * limitations under the License.
4421
4421
  */
4422
- var uE = aE, na = Xs, lE = sE;
4423
- function fE(r) {
4424
- if (lE === !1 && !uE)
4422
+ var u2 = a2, na = Xs, l2 = s2;
4423
+ function f2(r) {
4424
+ if (l2 === !1 && !u2)
4425
4425
  return na(r);
4426
4426
  try {
4427
4427
  return na(r);
@@ -4429,8 +4429,8 @@ function fE(r) {
4429
4429
  return !1;
4430
4430
  }
4431
4431
  }
4432
- var cE = fE;
4433
- const dE = [
4432
+ var c2 = f2;
4433
+ const d2 = [
4434
4434
  "toString",
4435
4435
  "toLocaleString",
4436
4436
  "valueOf",
@@ -4456,10 +4456,10 @@ const dE = [
4456
4456
  * See the License for the specific language governing permissions and
4457
4457
  * limitations under the License.
4458
4458
  */
4459
- var hE = Os, $t = Jr, vE = Js, mE = HS, yE = YS, pE = cE, ia = dE;
4460
- function gE(r) {
4459
+ var h2 = Os, $t = Jr, v2 = Js, m2 = HS, y2 = YS, p2 = c2, ia = d2;
4460
+ function g2(r) {
4461
4461
  var e, n, t, i, a, l, u;
4462
- if (i = [], vE(r)) {
4462
+ if (i = [], v2(r)) {
4463
4463
  for (u = 0; u < r.length; u++)
4464
4464
  i.push(u.toString());
4465
4465
  return i;
@@ -4469,18 +4469,18 @@ function gE(r) {
4469
4469
  for (u = 0; u < r.length; u++)
4470
4470
  i.push(u.toString());
4471
4471
  } else {
4472
- if (t = typeof r == "function", t === !1 && !hE(r))
4472
+ if (t = typeof r == "function", t === !1 && !h2(r))
4473
4473
  return i;
4474
- n = mE && t;
4474
+ n = m2 && t;
4475
4475
  }
4476
4476
  for (a in r)
4477
4477
  !(n && a === "prototype") && $t(r, a) && i.push(String(a));
4478
- if (yE)
4479
- for (e = pE(r), u = 0; u < ia.length; u++)
4478
+ if (y2)
4479
+ for (e = p2(r), u = 0; u < ia.length; u++)
4480
4480
  l = ia[u], !(e && l === "constructor") && $t(r, l) && i.push(String(l));
4481
4481
  return i;
4482
4482
  }
4483
- var $E = gE;
4483
+ var $2 = g2;
4484
4484
  /**
4485
4485
  * @license Apache-2.0
4486
4486
  *
@@ -4498,9 +4498,9 @@ var $E = gE;
4498
4498
  * See the License for the specific language governing permissions and
4499
4499
  * limitations under the License.
4500
4500
  */
4501
- var bE = nS, wE = aS, SE = Fn, EE = LS, TE = $E, ke;
4502
- wE ? bE() ? ke = EE : ke = SE : ke = TE;
4503
- var OE = ke;
4501
+ var b2 = nS, w2 = aS, S2 = Fn, E2 = LS, T2 = $2, ke;
4502
+ w2 ? b2() ? ke = E2 : ke = S2 : ke = T2;
4503
+ var O2 = ke;
4504
4504
  /**
4505
4505
  * @license Apache-2.0
4506
4506
  *
@@ -4518,7 +4518,7 @@ var OE = ke;
4518
4518
  * See the License for the specific language governing permissions and
4519
4519
  * limitations under the License.
4520
4520
  */
4521
- var IE = OE, Ks = IE;
4521
+ var I2 = O2, Ks = I2;
4522
4522
  /**
4523
4523
  * @license Apache-2.0
4524
4524
  *
@@ -4536,7 +4536,7 @@ var IE = OE, Ks = IE;
4536
4536
  * See the License for the specific language governing permissions and
4537
4537
  * limitations under the License.
4538
4538
  */
4539
- var xE = typeof Object.getOwnPropertyNames < "u", _E = xE;
4539
+ var x2 = typeof Object.getOwnPropertyNames < "u", _2 = x2;
4540
4540
  /**
4541
4541
  * @license Apache-2.0
4542
4542
  *
@@ -4554,11 +4554,11 @@ var xE = typeof Object.getOwnPropertyNames < "u", _E = xE;
4554
4554
  * See the License for the specific language governing permissions and
4555
4555
  * limitations under the License.
4556
4556
  */
4557
- var ru = In, AE = ru.getOwnPropertyNames;
4558
- function CE(r) {
4559
- return AE(ru(r));
4557
+ var ru = In, A2 = ru.getOwnPropertyNames;
4558
+ function C2(r) {
4559
+ return A2(ru(r));
4560
4560
  }
4561
- var NE = CE;
4561
+ var N2 = C2;
4562
4562
  /**
4563
4563
  * @license Apache-2.0
4564
4564
  *
@@ -4576,11 +4576,11 @@ var NE = CE;
4576
4576
  * See the License for the specific language governing permissions and
4577
4577
  * limitations under the License.
4578
4578
  */
4579
- var FE = In, ME = Ks;
4580
- function kE(r) {
4581
- return ME(FE(r));
4579
+ var F2 = In, M2 = Ks;
4580
+ function k2(r) {
4581
+ return M2(F2(r));
4582
4582
  }
4583
- var DE = kE;
4583
+ var D2 = k2;
4584
4584
  /**
4585
4585
  * @license Apache-2.0
4586
4586
  *
@@ -4598,9 +4598,9 @@ var DE = kE;
4598
4598
  * See the License for the specific language governing permissions and
4599
4599
  * limitations under the License.
4600
4600
  */
4601
- var PE = _E, LE = NE, UE = DE, Rt;
4602
- PE ? Rt = LE : Rt = UE;
4603
- var RE = Rt;
4601
+ var P2 = _2, L2 = N2, U2 = D2, Rt;
4602
+ P2 ? Rt = L2 : Rt = U2;
4603
+ var R2 = Rt;
4604
4604
  /**
4605
4605
  * @license Apache-2.0
4606
4606
  *
@@ -4618,7 +4618,7 @@ var RE = Rt;
4618
4618
  * See the License for the specific language governing permissions and
4619
4619
  * limitations under the License.
4620
4620
  */
4621
- var jE = typeof Object.getOwnPropertyDescriptor < "u", BE = jE;
4621
+ var j2 = typeof Object.getOwnPropertyDescriptor < "u", B2 = j2;
4622
4622
  /**
4623
4623
  * @license Apache-2.0
4624
4624
  *
@@ -4636,12 +4636,12 @@ var jE = typeof Object.getOwnPropertyDescriptor < "u", BE = jE;
4636
4636
  * See the License for the specific language governing permissions and
4637
4637
  * limitations under the License.
4638
4638
  */
4639
- var VE = Object.getOwnPropertyDescriptor;
4640
- function zE(r, e) {
4639
+ var V2 = Object.getOwnPropertyDescriptor;
4640
+ function z2(r, e) {
4641
4641
  var n;
4642
- return r == null ? null : (n = VE(r, e), n === void 0 ? null : n);
4642
+ return r == null ? null : (n = V2(r, e), n === void 0 ? null : n);
4643
4643
  }
4644
- var ZE = zE;
4644
+ var Z2 = z2;
4645
4645
  /**
4646
4646
  * @license Apache-2.0
4647
4647
  *
@@ -4659,16 +4659,16 @@ var ZE = zE;
4659
4659
  * See the License for the specific language governing permissions and
4660
4660
  * limitations under the License.
4661
4661
  */
4662
- var HE = Jr;
4663
- function GE(r, e) {
4664
- return HE(r, e) ? {
4662
+ var H2 = Jr;
4663
+ function G2(r, e) {
4664
+ return H2(r, e) ? {
4665
4665
  configurable: !0,
4666
4666
  enumerable: !0,
4667
4667
  writable: !0,
4668
4668
  value: r[e]
4669
4669
  } : null;
4670
4670
  }
4671
- var qE = GE;
4671
+ var q2 = G2;
4672
4672
  /**
4673
4673
  * @license Apache-2.0
4674
4674
  *
@@ -4686,9 +4686,9 @@ var qE = GE;
4686
4686
  * See the License for the specific language governing permissions and
4687
4687
  * limitations under the License.
4688
4688
  */
4689
- var WE = BE, YE = ZE, JE = qE, jt;
4690
- WE ? jt = YE : jt = JE;
4691
- var XE = jt;
4689
+ var W2 = B2, Y2 = Z2, J2 = q2, jt;
4690
+ W2 ? jt = Y2 : jt = J2;
4691
+ var X2 = jt;
4692
4692
  /**
4693
4693
  * @license Apache-2.0
4694
4694
  *
@@ -4706,7 +4706,7 @@ var XE = jt;
4706
4706
  * See the License for the specific language governing permissions and
4707
4707
  * limitations under the License.
4708
4708
  */
4709
- var QE = typeof Buffer == "function" ? Buffer : null, KE = QE;
4709
+ var Q2 = typeof Buffer == "function" ? Buffer : null, K2 = Q2;
4710
4710
  /**
4711
4711
  * @license Apache-2.0
4712
4712
  *
@@ -4724,19 +4724,19 @@ var QE = typeof Buffer == "function" ? Buffer : null, KE = QE;
4724
4724
  * See the License for the specific language governing permissions and
4725
4725
  * limitations under the License.
4726
4726
  */
4727
- var r2 = pe, Ae = KE;
4728
- function e2() {
4727
+ var rE = pe, Ae = K2;
4728
+ function eE() {
4729
4729
  var r, e;
4730
4730
  if (typeof Ae != "function")
4731
4731
  return !1;
4732
4732
  try {
4733
- typeof Ae.from == "function" ? e = Ae.from([1, 2, 3, 4]) : e = new Ae([1, 2, 3, 4]), r = r2(e) && e[0] === 1 && e[1] === 2 && e[2] === 3 && e[3] === 4;
4733
+ typeof Ae.from == "function" ? e = Ae.from([1, 2, 3, 4]) : e = new Ae([1, 2, 3, 4]), r = rE(e) && e[0] === 1 && e[1] === 2 && e[2] === 3 && e[3] === 4;
4734
4734
  } catch {
4735
4735
  r = !1;
4736
4736
  }
4737
4737
  return r;
4738
4738
  }
4739
- var t2 = e2;
4739
+ var tE = eE;
4740
4740
  /**
4741
4741
  * @license Apache-2.0
4742
4742
  *
@@ -4754,12 +4754,12 @@ var t2 = e2;
4754
4754
  * See the License for the specific language governing permissions and
4755
4755
  * limitations under the License.
4756
4756
  */
4757
- var n2 = t2, i2 = n2, eu = {}, nt = {};
4758
- nt.byteLength = s2;
4759
- nt.toByteArray = l2;
4760
- nt.fromByteArray = d2;
4761
- var fr = [], Q = [], a2 = typeof Uint8Array < "u" ? Uint8Array : Array, bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
4762
- for (var Pr = 0, o2 = bt.length; Pr < o2; ++Pr)
4757
+ var nE = tE, iE = nE, eu = {}, nt = {};
4758
+ nt.byteLength = sE;
4759
+ nt.toByteArray = lE;
4760
+ nt.fromByteArray = dE;
4761
+ var fr = [], Q = [], aE = typeof Uint8Array < "u" ? Uint8Array : Array, bt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
4762
+ for (var Pr = 0, oE = bt.length; Pr < oE; ++Pr)
4763
4763
  fr[Pr] = bt[Pr], Q[bt.charCodeAt(Pr)] = Pr;
4764
4764
  Q[45] = 62;
4765
4765
  Q[95] = 63;
@@ -4772,30 +4772,30 @@ function tu(r) {
4772
4772
  var t = n === e ? 0 : 4 - n % 4;
4773
4773
  return [n, t];
4774
4774
  }
4775
- function s2(r) {
4775
+ function sE(r) {
4776
4776
  var e = tu(r), n = e[0], t = e[1];
4777
4777
  return (n + t) * 3 / 4 - t;
4778
4778
  }
4779
- function u2(r, e, n) {
4779
+ function uE(r, e, n) {
4780
4780
  return (e + n) * 3 / 4 - n;
4781
4781
  }
4782
- function l2(r) {
4783
- var e, n = tu(r), t = n[0], i = n[1], a = new a2(u2(r, t, i)), l = 0, u = i > 0 ? t - 4 : t, d;
4782
+ function lE(r) {
4783
+ var e, n = tu(r), t = n[0], i = n[1], a = new aE(uE(r, t, i)), l = 0, u = i > 0 ? t - 4 : t, d;
4784
4784
  for (d = 0; d < u; d += 4)
4785
4785
  e = Q[r.charCodeAt(d)] << 18 | Q[r.charCodeAt(d + 1)] << 12 | Q[r.charCodeAt(d + 2)] << 6 | Q[r.charCodeAt(d + 3)], a[l++] = e >> 16 & 255, a[l++] = e >> 8 & 255, a[l++] = e & 255;
4786
4786
  return i === 2 && (e = Q[r.charCodeAt(d)] << 2 | Q[r.charCodeAt(d + 1)] >> 4, a[l++] = e & 255), i === 1 && (e = Q[r.charCodeAt(d)] << 10 | Q[r.charCodeAt(d + 1)] << 4 | Q[r.charCodeAt(d + 2)] >> 2, a[l++] = e >> 8 & 255, a[l++] = e & 255), a;
4787
4787
  }
4788
- function f2(r) {
4788
+ function fE(r) {
4789
4789
  return fr[r >> 18 & 63] + fr[r >> 12 & 63] + fr[r >> 6 & 63] + fr[r & 63];
4790
4790
  }
4791
- function c2(r, e, n) {
4791
+ function cE(r, e, n) {
4792
4792
  for (var t, i = [], a = e; a < n; a += 3)
4793
- t = (r[a] << 16 & 16711680) + (r[a + 1] << 8 & 65280) + (r[a + 2] & 255), i.push(f2(t));
4793
+ t = (r[a] << 16 & 16711680) + (r[a + 1] << 8 & 65280) + (r[a + 2] & 255), i.push(fE(t));
4794
4794
  return i.join("");
4795
4795
  }
4796
- function d2(r) {
4796
+ function dE(r) {
4797
4797
  for (var e, n = r.length, t = n % 3, i = [], a = 16383, l = 0, u = n - t; l < u; l += a)
4798
- i.push(c2(r, l, l + a > u ? u : l + a));
4798
+ i.push(cE(r, l, l + a > u ? u : l + a));
4799
4799
  return t === 1 ? (e = r[n - 1], i.push(
4800
4800
  fr[e >> 2] + fr[e << 4 & 63] + "=="
4801
4801
  )) : t === 2 && (e = (r[n - 2] << 8) + r[n - 1], i.push(
@@ -5788,7 +5788,7 @@ kn.write = function(r, e, n, t, i, a) {
5788
5788
  * See the License for the specific language governing permissions and
5789
5789
  * limitations under the License.
5790
5790
  */
5791
- var h2 = eu.Buffer, v2 = h2;
5791
+ var hE = eu.Buffer, vE = hE;
5792
5792
  /**
5793
5793
  * @license Apache-2.0
5794
5794
  *
@@ -5806,10 +5806,10 @@ var h2 = eu.Buffer, v2 = h2;
5806
5806
  * See the License for the specific language governing permissions and
5807
5807
  * limitations under the License.
5808
5808
  */
5809
- function m2() {
5809
+ function mE() {
5810
5810
  throw new Error("not implemented");
5811
5811
  }
5812
- var y2 = m2;
5812
+ var yE = mE;
5813
5813
  /**
5814
5814
  * @license Apache-2.0
5815
5815
  *
@@ -5827,8 +5827,8 @@ var y2 = m2;
5827
5827
  * See the License for the specific language governing permissions and
5828
5828
  * limitations under the License.
5829
5829
  */
5830
- var p2 = i2, g2 = v2, $2 = y2, Bt;
5831
- p2() ? Bt = g2 : Bt = $2;
5830
+ var pE = iE, gE = vE, $E = yE, Bt;
5831
+ pE() ? Bt = gE : Bt = $E;
5832
5832
  var Dn = Bt;
5833
5833
  /**
5834
5834
  * @license Apache-2.0
@@ -5847,7 +5847,7 @@ var Dn = Bt;
5847
5847
  * See the License for the specific language governing permissions and
5848
5848
  * limitations under the License.
5849
5849
  */
5850
- var b2 = Fs, w2 = Dn, S2 = b2(w2.from), E2 = S2;
5850
+ var bE = Fs, wE = Dn, SE = bE(wE.from), EE = SE;
5851
5851
  /**
5852
5852
  * @license Apache-2.0
5853
5853
  *
@@ -5865,13 +5865,13 @@ var b2 = Fs, w2 = Dn, S2 = b2(w2.from), E2 = S2;
5865
5865
  * See the License for the specific language governing permissions and
5866
5866
  * limitations under the License.
5867
5867
  */
5868
- var T2 = pe, O2 = wr, I2 = Dn;
5869
- function x2(r) {
5870
- if (!T2(r))
5871
- throw new TypeError(O2("invalid argument. Must provide a Buffer. Value: `%s`.", r));
5872
- return I2.from(r);
5868
+ var TE = pe, OE = wr, IE = Dn;
5869
+ function xE(r) {
5870
+ if (!TE(r))
5871
+ throw new TypeError(OE("invalid argument. Must provide a Buffer. Value: `%s`.", r));
5872
+ return IE.from(r);
5873
5873
  }
5874
- var _2 = x2;
5874
+ var _E = xE;
5875
5875
  /**
5876
5876
  * @license Apache-2.0
5877
5877
  *
@@ -5889,13 +5889,13 @@ var _2 = x2;
5889
5889
  * See the License for the specific language governing permissions and
5890
5890
  * limitations under the License.
5891
5891
  */
5892
- var A2 = pe, C2 = wr, N2 = Dn;
5893
- function F2(r) {
5894
- if (!A2(r))
5895
- throw new TypeError(C2("invalid argument. Must provide a Buffer. Value: `%s`.", r));
5896
- return new N2(r);
5892
+ var AE = pe, CE = wr, NE = Dn;
5893
+ function FE(r) {
5894
+ if (!AE(r))
5895
+ throw new TypeError(CE("invalid argument. Must provide a Buffer. Value: `%s`.", r));
5896
+ return new NE(r);
5897
5897
  }
5898
- var M2 = F2;
5898
+ var ME = FE;
5899
5899
  /**
5900
5900
  * @license Apache-2.0
5901
5901
  *
@@ -5913,9 +5913,9 @@ var M2 = F2;
5913
5913
  * See the License for the specific language governing permissions and
5914
5914
  * limitations under the License.
5915
5915
  */
5916
- var k2 = E2, D2 = _2, P2 = M2, Vt;
5917
- k2 ? Vt = D2 : Vt = P2;
5918
- var L2 = Vt;
5916
+ var kE = EE, DE = _E, PE = ME, Vt;
5917
+ kE ? Vt = DE : Vt = PE;
5918
+ var LE = Vt;
5919
5919
  /**
5920
5920
  * @license Apache-2.0
5921
5921
  *
@@ -5933,12 +5933,12 @@ var L2 = Vt;
5933
5933
  * See the License for the specific language governing permissions and
5934
5934
  * limitations under the License.
5935
5935
  */
5936
- var U2 = z, R2 = typeof Int8Array == "function";
5937
- function j2(r) {
5938
- return R2 && r instanceof Int8Array || // eslint-disable-line stdlib/require-globals
5939
- U2(r) === "[object Int8Array]";
5936
+ var UE = z, RE = typeof Int8Array == "function";
5937
+ function jE(r) {
5938
+ return RE && r instanceof Int8Array || // eslint-disable-line stdlib/require-globals
5939
+ UE(r) === "[object Int8Array]";
5940
5940
  }
5941
- var B2 = j2;
5941
+ var BE = jE;
5942
5942
  /**
5943
5943
  * @license Apache-2.0
5944
5944
  *
@@ -5956,7 +5956,7 @@ var B2 = j2;
5956
5956
  * See the License for the specific language governing permissions and
5957
5957
  * limitations under the License.
5958
5958
  */
5959
- var V2 = B2, z2 = V2;
5959
+ var VE = BE, zE = VE;
5960
5960
  /**
5961
5961
  * @license Apache-2.0
5962
5962
  *
@@ -5974,7 +5974,7 @@ var V2 = B2, z2 = V2;
5974
5974
  * See the License for the specific language governing permissions and
5975
5975
  * limitations under the License.
5976
5976
  */
5977
- var Z2 = 127, H2 = Z2;
5977
+ var ZE = 127, HE = ZE;
5978
5978
  /**
5979
5979
  * @license Apache-2.0
5980
5980
  *
@@ -5992,7 +5992,7 @@ var Z2 = 127, H2 = Z2;
5992
5992
  * See the License for the specific language governing permissions and
5993
5993
  * limitations under the License.
5994
5994
  */
5995
- var G2 = -128, q2 = G2;
5995
+ var GE = -128, qE = GE;
5996
5996
  /**
5997
5997
  * @license Apache-2.0
5998
5998
  *
@@ -6010,7 +6010,7 @@ var G2 = -128, q2 = G2;
6010
6010
  * See the License for the specific language governing permissions and
6011
6011
  * limitations under the License.
6012
6012
  */
6013
- var W2 = typeof Int8Array == "function" ? Int8Array : null, Y2 = W2;
6013
+ var WE = typeof Int8Array == "function" ? Int8Array : null, YE = WE;
6014
6014
  /**
6015
6015
  * @license Apache-2.0
6016
6016
  *
@@ -6028,21 +6028,21 @@ var W2 = typeof Int8Array == "function" ? Int8Array : null, Y2 = W2;
6028
6028
  * See the License for the specific language governing permissions and
6029
6029
  * limitations under the License.
6030
6030
  */
6031
- var J2 = z2, X2 = H2, Q2 = q2, aa = Y2;
6032
- function K2() {
6031
+ var JE = zE, XE = HE, QE = qE, aa = YE;
6032
+ function KE() {
6033
6033
  var r, e;
6034
6034
  if (typeof aa != "function")
6035
6035
  return !1;
6036
6036
  try {
6037
- e = new aa([1, 3.14, -3.14, X2 + 1]), r = J2(e) && e[0] === 1 && e[1] === 3 && // truncation
6037
+ e = new aa([1, 3.14, -3.14, XE + 1]), r = JE(e) && e[0] === 1 && e[1] === 3 && // truncation
6038
6038
  e[2] === -3 && // truncation
6039
- e[3] === Q2;
6039
+ e[3] === QE;
6040
6040
  } catch {
6041
6041
  r = !1;
6042
6042
  }
6043
6043
  return r;
6044
6044
  }
6045
- var rT = K2;
6045
+ var rT = KE;
6046
6046
  /**
6047
6047
  * @license Apache-2.0
6048
6048
  *
@@ -7650,7 +7650,7 @@ var Kx = nu;
7650
7650
  * See the License for the specific language governing permissions and
7651
7651
  * limitations under the License.
7652
7652
  */
7653
- var je = Jr, Pn = rt, va = pe, r_ = Gb, ma = _n, e_ = Ew, t_ = Zs, iu = Ks, n_ = RE, de = XE, i_ = Ms, he = vs, a_ = L2, o_ = Kx;
7653
+ var je = Jr, Pn = rt, va = pe, r_ = Gb, ma = _n, e_ = Ew, t_ = Zs, iu = Ks, n_ = R2, de = X2, i_ = Ms, he = vs, a_ = LE, o_ = Kx;
7654
7654
  function s_(r) {
7655
7655
  var e, n, t, i, a, l, u, d;
7656
7656
  for (e = [], i = [], u = Object.create(i_(r)), e.push(r), i.push(u), n = n_(r), d = 0; d < n.length; d++)
@@ -12447,4 +12447,4 @@ const l6 = /* @__PURE__ */ Xa(Yu), p6 = /* @__PURE__ */ fl({
12447
12447
  export {
12448
12448
  p6 as i
12449
12449
  };
12450
- //# sourceMappingURL=index-3ewKySD9.mjs.map
12450
+ //# sourceMappingURL=index-BIcU5l8u.mjs.map