@8btc/wujie-ppt 0.0.14-beta → 0.0.15

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.
@@ -4731,7 +4731,11 @@ const yv = {
4731
4731
  );
4732
4732
  }, rb = "_elementOutlineSvg_1jkv6_1", nb = {
4733
4733
  elementOutlineSvg: rb
4734
- }, xc = ({ width: t, height: e, outline: r }) => {
4734
+ }, xc = ({
4735
+ width: t,
4736
+ height: e,
4737
+ outline: r
4738
+ }) => {
4735
4739
  const { outlineWidth: n, outlineColor: i, strokeDashArray: a } = io(r);
4736
4740
  return r ? /* @__PURE__ */ A.createElement(
4737
4741
  "svg",
@@ -32057,9 +32061,14 @@ const W3 = ({
32057
32061
  for (t = MB(t); u < t.length; )
32058
32062
  r = t.charCodeAt(u++), n = t.charCodeAt(u++), i = t.charCodeAt(u++), a = r >> 2, o = (r & 3) << 4 | n >> 4, s = (n & 15) << 2 | i >> 6, l = i & 63, isNaN(n) ? s = l = 64 : isNaN(i) && (l = 64), e = e + iu.charAt(a) + iu.charAt(o) + iu.charAt(s) + iu.charAt(l);
32059
32063
  return e;
32064
+ }, AB = (t) => {
32065
+ if (typeof t != "string") return t;
32066
+ let e = t;
32067
+ const r = /fill\s*[=:]\s*["']?#([0-9a-fA-F]{8})["']?/g, n = /fill\s*[=:]\s*["']?rgba\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*[0-9.]+\s*\)["']?/g;
32068
+ return e = e.replace(r, (i) => i.includes(":") ? "fill: transparent" : 'fill="transparent"'), e = e.replace(n, (i) => i.includes(":") ? "fill: transparent" : 'fill="transparent"'), e;
32060
32069
  }, m2 = (t) => {
32061
- const r = new XMLSerializer().serializeToString(t);
32062
- return CB + DB(r);
32070
+ let r = new XMLSerializer().serializeToString(t);
32071
+ return r = AB(r), CB + DB(r);
32063
32072
  }, le = (t) => {
32064
32073
  if (!t)
32065
32074
  return {
@@ -32071,13 +32080,13 @@ const W3 = ({
32071
32080
  alpha: r,
32072
32081
  color: n
32073
32082
  };
32074
- }, AB = (t) => {
32083
+ }, PB = (t) => {
32075
32084
  const e = /^data:image\/svg\+xml;base64,/.test(t), r = /\.svg$/.test(t);
32076
32085
  return e || r;
32077
32086
  }, Ih = (t) => {
32078
32087
  const e = /^data:image\/[^;]+;base64,/;
32079
32088
  return t.match(e) !== null;
32080
- }, au = 16, PB = () => {
32089
+ }, au = 16, kB = () => {
32081
32090
  const { viewportRatio: t, viewportSize: e, theme: r, slides: n, title: i } = Rt(), a = nt(() => 96 * (e / 960), [e]), o = nt(() => 96 / 72 * (e / 960), [e]), s = (p) => {
32082
32091
  const v = EB(p);
32083
32092
  let g = !1, m = 0;
@@ -32224,7 +32233,7 @@ const W3 = ({
32224
32233
  if (H.background) {
32225
32234
  const D = H.background;
32226
32235
  if (D.type === "image" && D.image)
32227
- AB(D.image.src) ? F.addImage({
32236
+ PB(D.image.src) ? F.addImage({
32228
32237
  data: D.image.src,
32229
32238
  x: 0,
32230
32239
  y: 0,
@@ -32307,7 +32316,7 @@ const W3 = ({
32307
32316
  const G = document.querySelector(
32308
32317
  `.thumbnail-list .base-element-${D.id} svg`
32309
32318
  );
32310
- if (G.clientWidth < 1 || G.clientHeight < 1) continue;
32319
+ if (!G || G.clientWidth < 1 || G.clientHeight < 1) continue;
32311
32320
  const Q = {
32312
32321
  data: m2(G),
32313
32322
  x: D.left / a,
@@ -32539,7 +32548,7 @@ const W3 = ({
32539
32548
  S.write({ outputType: "blob" }).then(b).catch(_);
32540
32549
  }, 200);
32541
32550
  } };
32542
- }, kB = ({ initialSlidesData: t, onDataUpdate: e, renderPageExtra: r }, n) => {
32551
+ }, NB = ({ initialSlidesData: t, onDataUpdate: e, renderPageExtra: r }, n) => {
32543
32552
  const {
32544
32553
  slides: i,
32545
32554
  theme: a,
@@ -32547,7 +32556,7 @@ const W3 = ({
32547
32556
  setTheme: s,
32548
32557
  setViewportRatio: l,
32549
32558
  setViewportSize: u
32550
- } = Rt.getState(), { applyThemeToAllSlides: c, applyPresetTheme: f, applyFontToAllSlides: d } = uB(), { exportPPTX: h } = PB();
32559
+ } = Rt.getState(), { applyThemeToAllSlides: c, applyPresetTheme: f, applyFontToAllSlides: d } = uB(), { exportPPTX: h } = kB();
32551
32560
  return Lt(() => {
32552
32561
  if (t) {
32553
32562
  const { slides: p, theme: v, viewportRatio: g, viewportSize: m } = lB(t);
@@ -32570,13 +32579,13 @@ const W3 = ({
32570
32579
  applyFontToAllSlides: d,
32571
32580
  exportPPTX: h
32572
32581
  })), /* @__PURE__ */ A.createElement("div", { style: { width: "100%", height: "100%", position: "relative" } }, /* @__PURE__ */ A.createElement(iB, { renderPageExtra: r }));
32573
- }, BV = yc(kB), NB = "_thumbnails_1awpq_1", OB = "_thumbnailList_1awpq_6", RB = "_thumbnailItem_1awpq_11", IB = "_thumbnail_1awpq_1", BB = "_active_1awpq_19", $B = "_label_1awpq_25", Hn = {
32574
- thumbnails: NB,
32575
- thumbnailList: OB,
32576
- thumbnailItem: RB,
32577
- thumbnail: IB,
32578
- active: BB,
32579
- label: $B
32582
+ }, $V = yc(NB), OB = "_thumbnails_1awpq_1", RB = "_thumbnailList_1awpq_6", IB = "_thumbnailItem_1awpq_11", BB = "_thumbnail_1awpq_1", $B = "_active_1awpq_19", VB = "_label_1awpq_25", Hn = {
32583
+ thumbnails: OB,
32584
+ thumbnailList: RB,
32585
+ thumbnailItem: IB,
32586
+ thumbnail: BB,
32587
+ active: $B,
32588
+ label: VB
32580
32589
  };
32581
32590
  var Xp = ol(), Nt = (t) => al(t, Xp), Up = ol();
32582
32591
  Nt.write = (t) => al(t, Up);
@@ -32639,7 +32648,7 @@ function al(t, e) {
32639
32648
  function e7() {
32640
32649
  qn < 0 && (qn = 0, Nt.frameLoop !== "demand" && qp(r7));
32641
32650
  }
32642
- function VB() {
32651
+ function zB() {
32643
32652
  qn = -1;
32644
32653
  }
32645
32654
  function r7() {
@@ -32650,7 +32659,7 @@ function n7() {
32650
32659
  qn = Nt.now();
32651
32660
  const e = t7(qn);
32652
32661
  if (e && (i7(Ba.splice(0, e), (r) => r.handler()), jn -= e), !jn) {
32653
- VB();
32662
+ zB();
32654
32663
  return;
32655
32664
  }
32656
32665
  qc.flush(), Xp.flush(t ? Math.min(64, qn - t) : 16.667), Yp.flush(), Up.flush(), Zp.flush();
@@ -32678,12 +32687,12 @@ function i7(t, e) {
32678
32687
  }
32679
32688
  });
32680
32689
  }
32681
- var zB = Object.defineProperty, FB = (t, e) => {
32690
+ var FB = Object.defineProperty, HB = (t, e) => {
32682
32691
  for (var r in e)
32683
- zB(t, r, { get: e[r], enumerable: !0 });
32692
+ FB(t, r, { get: e[r], enumerable: !0 });
32684
32693
  }, $r = {};
32685
- FB($r, {
32686
- assign: () => GB,
32694
+ HB($r, {
32695
+ assign: () => WB,
32687
32696
  colors: () => ti,
32688
32697
  createStringInterpolator: () => Qp,
32689
32698
  skipAnimation: () => o7,
@@ -32692,7 +32701,7 @@ FB($r, {
32692
32701
  });
32693
32702
  function md() {
32694
32703
  }
32695
- var HB = (t, e, r) => Object.defineProperty(t, e, { value: r, writable: !0, configurable: !0 }), ot = {
32704
+ var GB = (t, e, r) => Object.defineProperty(t, e, { value: r, writable: !0, configurable: !0 }), ot = {
32696
32705
  arr: Array.isArray,
32697
32706
  obj: (t) => !!t && t.constructor.name === "Object",
32698
32707
  fun: (t) => typeof t == "function",
@@ -32726,7 +32735,7 @@ function ps(t, e) {
32726
32735
  t.clear(), Vt(r, e);
32727
32736
  }
32728
32737
  }
32729
- var Jo = (t, ...e) => ps(t, (r) => r(...e)), jp = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), Qp, a7, ti = null, o7 = !1, Kp = md, GB = (t) => {
32738
+ var Jo = (t, ...e) => ps(t, (r) => r(...e)), jp = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), Qp, a7, ti = null, o7 = !1, Kp = md, WB = (t) => {
32730
32739
  t.to && (a7 = t.to), t.now && (Nt.now = t.now), t.colors !== void 0 && (ti = t.colors), t.skipAnimation != null && (o7 = t.skipAnimation), t.createStringInterpolator && (Qp = t.createStringInterpolator), t.requestAnimationFrame && Nt.use(t.requestAnimationFrame), t.batchedUpdates && (Nt.batchedUpdates = t.batchedUpdates), t.willAdvance && (Kp = t.willAdvance), t.frameLoop && (Nt.frameLoop = t.frameLoop);
32731
32740
  }, vs = /* @__PURE__ */ new Set(), wr = [], Bh = [], dc = 0, jc = {
32732
32741
  get idle() {
@@ -32734,7 +32743,7 @@ var Jo = (t, ...e) => ps(t, (r) => r(...e)), jp = () => typeof window > "u" || !
32734
32743
  },
32735
32744
  /** Advance the given animation on every frame until idle. */
32736
32745
  start(t) {
32737
- dc > t.priority ? (vs.add(t), Nt.onStart(WB)) : (s7(t), Nt(yd));
32746
+ dc > t.priority ? (vs.add(t), Nt.onStart(XB)) : (s7(t), Nt(yd));
32738
32747
  },
32739
32748
  /** Advance all animations by the given time. */
32740
32749
  advance: yd,
@@ -32756,7 +32765,7 @@ var Jo = (t, ...e) => ps(t, (r) => r(...e)), jp = () => typeof window > "u" || !
32756
32765
  wr = [], vs.clear();
32757
32766
  }
32758
32767
  };
32759
- function WB() {
32768
+ function XB() {
32760
32769
  vs.forEach(s7), vs.clear(), Nt(yd);
32761
32770
  }
32762
32771
  function s7(t) {
@@ -32764,7 +32773,7 @@ function s7(t) {
32764
32773
  }
32765
32774
  function l7(t) {
32766
32775
  wr.splice(
32767
- XB(wr, (e) => e.priority > t.priority),
32776
+ UB(wr, (e) => e.priority > t.priority),
32768
32777
  0,
32769
32778
  t
32770
32779
  );
@@ -32777,11 +32786,11 @@ function yd(t) {
32777
32786
  }
32778
32787
  return dc = 0, Bh = wr, Bh.length = 0, wr = e, wr.length > 0;
32779
32788
  }
32780
- function XB(t, e) {
32789
+ function UB(t, e) {
32781
32790
  const r = t.findIndex(e);
32782
32791
  return r < 0 ? t.length : r;
32783
32792
  }
32784
- var UB = (t, e, r) => Math.min(Math.max(r, t), e), YB = {
32793
+ var YB = (t, e, r) => Math.min(Math.max(r, t), e), ZB = {
32785
32794
  transparent: 0,
32786
32795
  aliceblue: 4042850303,
32787
32796
  antiquewhite: 4209760255,
@@ -32936,34 +32945,34 @@ var UB = (t, e, r) => Math.min(Math.max(r, t), e), YB = {
32936
32945
  function Qc(...t) {
32937
32946
  return "\\(\\s*(" + t.join(")\\s*,\\s*(") + ")\\s*\\)";
32938
32947
  }
32939
- var ZB = new RegExp("rgb" + Qc(Rr, Rr, Rr)), qB = new RegExp("rgba" + Qc(Rr, Rr, Rr, Rr)), jB = new RegExp("hsl" + Qc(Rr, pc, pc)), QB = new RegExp(
32948
+ var qB = new RegExp("rgb" + Qc(Rr, Rr, Rr)), jB = new RegExp("rgba" + Qc(Rr, Rr, Rr, Rr)), QB = new RegExp("hsl" + Qc(Rr, pc, pc)), KB = new RegExp(
32940
32949
  "hsla" + Qc(Rr, pc, pc, Rr)
32941
- ), KB = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, JB = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, t$ = /^#([0-9a-fA-F]{6})$/, e$ = /^#([0-9a-fA-F]{8})$/;
32942
- function r$(t) {
32950
+ ), JB = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, t$ = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, e$ = /^#([0-9a-fA-F]{6})$/, r$ = /^#([0-9a-fA-F]{8})$/;
32951
+ function n$(t) {
32943
32952
  let e;
32944
- return typeof t == "number" ? t >>> 0 === t && t >= 0 && t <= 4294967295 ? t : null : (e = t$.exec(t)) ? parseInt(e[1] + "ff", 16) >>> 0 : ti && ti[t] !== void 0 ? ti[t] : (e = ZB.exec(t)) ? (wa(e[1]) << 24 | // r
32953
+ return typeof t == "number" ? t >>> 0 === t && t >= 0 && t <= 4294967295 ? t : null : (e = e$.exec(t)) ? parseInt(e[1] + "ff", 16) >>> 0 : ti && ti[t] !== void 0 ? ti[t] : (e = qB.exec(t)) ? (wa(e[1]) << 24 | // r
32945
32954
  wa(e[2]) << 16 | // g
32946
32955
  wa(e[3]) << 8 | // b
32947
32956
  255) >>> // a
32948
- 0 : (e = qB.exec(t)) ? (wa(e[1]) << 24 | // r
32957
+ 0 : (e = jB.exec(t)) ? (wa(e[1]) << 24 | // r
32949
32958
  wa(e[2]) << 16 | // g
32950
32959
  wa(e[3]) << 8 | // b
32951
32960
  b2(e[4])) >>> // a
32952
- 0 : (e = KB.exec(t)) ? parseInt(
32961
+ 0 : (e = JB.exec(t)) ? parseInt(
32953
32962
  e[1] + e[1] + // r
32954
32963
  e[2] + e[2] + // g
32955
32964
  e[3] + e[3] + // b
32956
32965
  "ff",
32957
32966
  // a
32958
32967
  16
32959
- ) >>> 0 : (e = e$.exec(t)) ? parseInt(e[1], 16) >>> 0 : (e = JB.exec(t)) ? parseInt(
32968
+ ) >>> 0 : (e = r$.exec(t)) ? parseInt(e[1], 16) >>> 0 : (e = t$.exec(t)) ? parseInt(
32960
32969
  e[1] + e[1] + // r
32961
32970
  e[2] + e[2] + // g
32962
32971
  e[3] + e[3] + // b
32963
32972
  e[4] + e[4],
32964
32973
  // a
32965
32974
  16
32966
- ) >>> 0 : (e = jB.exec(t)) ? (y2(
32975
+ ) >>> 0 : (e = QB.exec(t)) ? (y2(
32967
32976
  _2(e[1]),
32968
32977
  // h
32969
32978
  ou(e[2]),
@@ -32971,7 +32980,7 @@ function r$(t) {
32971
32980
  ou(e[3])
32972
32981
  // l
32973
32982
  ) | 255) >>> // a
32974
- 0 : (e = QB.exec(t)) ? (y2(
32983
+ 0 : (e = KB.exec(t)) ? (y2(
32975
32984
  _2(e[1]),
32976
32985
  // h
32977
32986
  ou(e[2]),
@@ -33004,7 +33013,7 @@ function ou(t) {
33004
33013
  return e < 0 ? 0 : e > 100 ? 1 : e / 100;
33005
33014
  }
33006
33015
  function S2(t) {
33007
- let e = r$(t);
33016
+ let e = n$(t);
33008
33017
  if (e === null) return t;
33009
33018
  e = e || 0;
33010
33019
  const r = (e & 4278190080) >>> 24, n = (e & 16711680) >>> 16, i = (e & 65280) >>> 8, a = (e & 255) / 255;
@@ -33023,8 +33032,8 @@ var $s = (t, e, r) => {
33023
33032
  return Qp(t);
33024
33033
  const n = t, i = n.output, a = n.range || [0, 1], o = n.extrapolateLeft || n.extrapolate || "extend", s = n.extrapolateRight || n.extrapolate || "extend", l = n.easing || ((u) => u);
33025
33034
  return (u) => {
33026
- const c = i$(u, a);
33027
- return n$(
33035
+ const c = a$(u, a);
33036
+ return i$(
33028
33037
  u,
33029
33038
  a[c],
33030
33039
  a[c + 1],
@@ -33037,7 +33046,7 @@ var $s = (t, e, r) => {
33037
33046
  );
33038
33047
  };
33039
33048
  };
33040
- function n$(t, e, r, n, i, a, o, s, l) {
33049
+ function i$(t, e, r, n, i, a, o, s, l) {
33041
33050
  let u = l ? l(t) : t;
33042
33051
  if (u < e) {
33043
33052
  if (o === "identity") return u;
@@ -33049,16 +33058,16 @@ function n$(t, e, r, n, i, a, o, s, l) {
33049
33058
  }
33050
33059
  return n === i ? n : e === r ? t <= e ? n : i : (e === -1 / 0 ? u = -u : r === 1 / 0 ? u = u - e : u = (u - e) / (r - e), u = a(u), n === -1 / 0 ? u = -u : i === 1 / 0 ? u = u + n : u = u * (i - n) + n, u);
33051
33060
  }
33052
- function i$(t, e) {
33061
+ function a$(t, e) {
33053
33062
  for (var r = 1; r < e.length - 1 && !(e[r] >= t); ++r)
33054
33063
  ;
33055
33064
  return r - 1;
33056
33065
  }
33057
- var a$ = (t, e = "end") => (r) => {
33066
+ var o$ = (t, e = "end") => (r) => {
33058
33067
  r = e === "end" ? Math.min(r, 0.999) : Math.max(r, 1e-3);
33059
33068
  const n = r * t, i = e === "end" ? Math.floor(n) : Math.ceil(n);
33060
- return UB(0, 1, i / t);
33061
- }, vc = 1.70158, su = vc * 1.525, x2 = vc + 1, w2 = 2 * Math.PI / 3, T2 = 2 * Math.PI / 4.5, lu = (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375 : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375, o$ = {
33069
+ return YB(0, 1, i / t);
33070
+ }, vc = 1.70158, su = vc * 1.525, x2 = vc + 1, w2 = 2 * Math.PI / 3, T2 = 2 * Math.PI / 4.5, lu = (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375 : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375, s$ = {
33062
33071
  linear: (t) => t,
33063
33072
  easeInQuad: (t) => t * t,
33064
33073
  easeOutQuad: (t) => 1 - (1 - t) * (1 - t),
@@ -33090,24 +33099,24 @@ var a$ = (t, e = "end") => (r) => {
33090
33099
  easeInBounce: (t) => 1 - lu(1 - t),
33091
33100
  easeOutBounce: lu,
33092
33101
  easeInOutBounce: (t) => t < 0.5 ? (1 - lu(1 - 2 * t)) / 2 : (1 + lu(2 * t - 1)) / 2,
33093
- steps: a$
33102
+ steps: o$
33094
33103
  }, Vs = Symbol.for("FluidValue.get"), eo = Symbol.for("FluidValue.observers"), br = (t) => !!(t && t[Vs]), qe = (t) => t && t[Vs] ? t[Vs]() : t, L2 = (t) => t[eo] || null;
33095
- function s$(t, e) {
33104
+ function l$(t, e) {
33096
33105
  t.eventObserved ? t.eventObserved(e) : t(e);
33097
33106
  }
33098
33107
  function zs(t, e) {
33099
33108
  const r = t[eo];
33100
33109
  r && r.forEach((n) => {
33101
- s$(n, e);
33110
+ l$(n, e);
33102
33111
  });
33103
33112
  }
33104
33113
  var u7 = class {
33105
33114
  constructor(t) {
33106
33115
  if (!t && !(t = this.get))
33107
33116
  throw Error("Unknown getter");
33108
- l$(this, t);
33117
+ u$(this, t);
33109
33118
  }
33110
- }, l$ = (t, e) => c7(t, Vs, e);
33119
+ }, u$ = (t, e) => c7(t, Vs, e);
33111
33120
  function co(t, e) {
33112
33121
  if (t[Vs]) {
33113
33122
  let r = t[eo];
@@ -33126,8 +33135,8 @@ var c7 = (t, e, r) => Object.defineProperty(t, e, {
33126
33135
  value: r,
33127
33136
  writable: !0,
33128
33137
  configurable: !0
33129
- }), Tu = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, u$ = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, E2 = new RegExp(`(${Tu.source})(%|[a-z]+)`, "i"), c$ = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, Kc = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, f7 = (t) => {
33130
- const [e, r] = f$(t);
33138
+ }), Tu = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, c$ = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, E2 = new RegExp(`(${Tu.source})(%|[a-z]+)`, "i"), f$ = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, Kc = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, f7 = (t) => {
33139
+ const [e, r] = h$(t);
33131
33140
  if (!e || jp())
33132
33141
  return t;
33133
33142
  const n = window.getComputedStyle(document.documentElement).getPropertyValue(e);
@@ -33143,12 +33152,12 @@ var c7 = (t, e, r) => Object.defineProperty(t, e, {
33143
33152
  return r;
33144
33153
  }
33145
33154
  return t;
33146
- }, f$ = (t) => {
33155
+ }, h$ = (t) => {
33147
33156
  const e = Kc.exec(t);
33148
33157
  if (!e) return [,];
33149
33158
  const [, r, n] = e;
33150
33159
  return [r, n];
33151
- }, Vh, h$ = (t, e, r, n, i) => `rgba(${Math.round(e)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`, h7 = (t) => {
33160
+ }, Vh, d$ = (t, e, r, n, i) => `rgba(${Math.round(e)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`, h7 = (t) => {
33152
33161
  Vh || (Vh = ti ? (
33153
33162
  // match color names, ignore partial matches
33154
33163
  new RegExp(`(${Object.keys(ti).join("|")})(?!\\w)`, "g")
@@ -33156,7 +33165,7 @@ var c7 = (t, e, r) => Object.defineProperty(t, e, {
33156
33165
  // never match
33157
33166
  /^\b$/
33158
33167
  ));
33159
- const e = t.output.map((a) => qe(a).replace(Kc, f7).replace(u$, S2).replace(Vh, S2)), r = e.map((a) => a.match(Tu).map(Number)), i = r[0].map(
33168
+ const e = t.output.map((a) => qe(a).replace(Kc, f7).replace(c$, S2).replace(Vh, S2)), r = e.map((a) => a.match(Tu).map(Number)), i = r[0].map(
33160
33169
  (a, o) => r.map((s) => {
33161
33170
  if (!(o in s))
33162
33171
  throw Error('The arity of each "output" value must be equal');
@@ -33172,7 +33181,7 @@ var c7 = (t, e, r) => Object.defineProperty(t, e, {
33172
33181
  return e[0].replace(
33173
33182
  Tu,
33174
33183
  () => `${i[s++](a)}${o || ""}`
33175
- ).replace(c$, h$);
33184
+ ).replace(f$, d$);
33176
33185
  };
33177
33186
  }, Jp = "react-spring: ", d7 = (t) => {
33178
33187
  const e = t;
@@ -33182,15 +33191,15 @@ var c7 = (t, e, r) => Object.defineProperty(t, e, {
33182
33191
  return (...n) => {
33183
33192
  r || (e(...n), r = !0);
33184
33193
  };
33185
- }, d$ = d7(console.warn);
33186
- function p$() {
33187
- d$(
33194
+ }, p$ = d7(console.warn);
33195
+ function v$() {
33196
+ p$(
33188
33197
  `${Jp}The "interpolate" function is deprecated in v9 (use "to" instead)`
33189
33198
  );
33190
33199
  }
33191
- var v$ = d7(console.warn);
33192
- function g$() {
33193
- v$(
33200
+ var g$ = d7(console.warn);
33201
+ function m$() {
33202
+ g$(
33194
33203
  `${Jp}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`
33195
33204
  );
33196
33205
  }
@@ -33198,26 +33207,26 @@ function Jc(t) {
33198
33207
  return ot.str(t) && (t[0] == "#" || /\d/.test(t) || // Do not identify a CSS variable as an AnimatedString if its SSR
33199
33208
  !jp() && Kc.test(t) || t in (ti || {}));
33200
33209
  }
33201
- var tv = jp() ? Lt : O7, m$ = () => {
33210
+ var tv = jp() ? Lt : O7, y$ = () => {
33202
33211
  const t = bt(!1);
33203
33212
  return tv(() => (t.current = !0, () => {
33204
33213
  t.current = !1;
33205
33214
  }), []), t;
33206
33215
  };
33207
33216
  function p7() {
33208
- const t = Mt()[1], e = m$();
33217
+ const t = Mt()[1], e = y$();
33209
33218
  return () => {
33210
33219
  e.current && t(Math.random());
33211
33220
  };
33212
33221
  }
33213
- var v7 = (t) => Lt(t, y$), y$ = [];
33222
+ var v7 = (t) => Lt(t, _$), _$ = [];
33214
33223
  function C2(t) {
33215
33224
  const e = bt(void 0);
33216
33225
  return Lt(() => {
33217
33226
  e.current = t;
33218
33227
  }), e.current;
33219
33228
  }
33220
- var Hs = Symbol.for("Animated:node"), _$ = (t) => !!t && t[Hs] === t, qr = (t) => t && t[Hs], ev = (t, e) => HB(t, Hs, e), tf = (t) => t && t[Hs] && t[Hs].getPayload(), g7 = class {
33229
+ var Hs = Symbol.for("Animated:node"), b$ = (t) => !!t && t[Hs] === t, qr = (t) => t && t[Hs], ev = (t, e) => GB(t, Hs, e), tf = (t) => t && t[Hs] && t[Hs].getPayload(), g7 = class {
33221
33230
  constructor() {
33222
33231
  ev(this, this);
33223
33232
  }
@@ -33283,7 +33292,7 @@ var Hs = Symbol.for("Animated:node"), _$ = (t) => !!t && t[Hs] === t, qr = (t) =
33283
33292
  getValue(t) {
33284
33293
  const e = {};
33285
33294
  return sn(this.source, (r, n) => {
33286
- _$(r) ? e[n] = r.getValue(t) : br(r) ? e[n] = qe(r) : t || (e[n] = r);
33295
+ b$(r) ? e[n] = r.getValue(t) : br(r) ? e[n] = qe(r) : t || (e[n] = r);
33287
33296
  }), e;
33288
33297
  }
33289
33298
  /** Replace the raw object data */
@@ -33306,7 +33315,7 @@ var Hs = Symbol.for("Animated:node"), _$ = (t) => !!t && t[Hs] === t, qr = (t) =
33306
33315
  const e = tf(t);
33307
33316
  e && Vt(e, (r) => this.add(r));
33308
33317
  }
33309
- }, b$ = class _7 extends rf {
33318
+ }, S$ = class _7 extends rf {
33310
33319
  constructor(e) {
33311
33320
  super(e);
33312
33321
  }
@@ -33319,15 +33328,15 @@ var Hs = Symbol.for("Animated:node"), _$ = (t) => !!t && t[Hs] === t, qr = (t) =
33319
33328
  }
33320
33329
  setValue(e) {
33321
33330
  const r = this.getPayload();
33322
- return e.length == r.length ? r.map((n, i) => n.setValue(e[i])).some(Boolean) : (super.setValue(e.map(S$)), !0);
33331
+ return e.length == r.length ? r.map((n, i) => n.setValue(e[i])).some(Boolean) : (super.setValue(e.map(x$)), !0);
33323
33332
  }
33324
33333
  };
33325
- function S$(t) {
33334
+ function x$(t) {
33326
33335
  return (Jc(t) ? gc : ef).create(t);
33327
33336
  }
33328
33337
  function _d(t) {
33329
33338
  const e = qr(t);
33330
- return e ? e.constructor : ot.arr(t) ? b$ : Jc(t) ? gc : ef;
33339
+ return e ? e.constructor : ot.arr(t) ? S$ : Jc(t) ? gc : ef;
33331
33340
  }
33332
33341
  var M2 = (t, e) => {
33333
33342
  const r = (
@@ -33339,15 +33348,15 @@ var M2 = (t, e) => {
33339
33348
  const a = bt(null), o = r && // eslint-disable-next-line react-hooks/rules-of-hooks
33340
33349
  ne(
33341
33350
  (p) => {
33342
- a.current = T$(i, p);
33351
+ a.current = L$(i, p);
33343
33352
  },
33344
33353
  [i]
33345
- ), [s, l] = w$(n, e), u = p7(), c = () => {
33354
+ ), [s, l] = T$(n, e), u = p7(), c = () => {
33346
33355
  const p = a.current;
33347
33356
  if (r && !p)
33348
33357
  return;
33349
33358
  (p ? e.applyAnimatedValues(p, s.getValue(!0)) : !1) === !1 && u();
33350
- }, f = new x$(c, l), d = bt(void 0);
33359
+ }, f = new w$(c, l), d = bt(void 0);
33351
33360
  tv(() => (d.current = f, Vt(l, (p) => co(p, f)), () => {
33352
33361
  d.current && (Vt(
33353
33362
  d.current.deps,
@@ -33360,7 +33369,7 @@ var M2 = (t, e) => {
33360
33369
  const h = e.getComponentProps(s.getValue());
33361
33370
  return /* @__PURE__ */ H2.createElement(t, { ...h, ref: o });
33362
33371
  });
33363
- }, x$ = class {
33372
+ }, w$ = class {
33364
33373
  constructor(t, e) {
33365
33374
  this.update = t, this.deps = e;
33366
33375
  }
@@ -33368,17 +33377,17 @@ var M2 = (t, e) => {
33368
33377
  t.type == "change" && Nt.write(this.update);
33369
33378
  }
33370
33379
  };
33371
- function w$(t, e) {
33380
+ function T$(t, e) {
33372
33381
  const r = /* @__PURE__ */ new Set();
33373
33382
  return mc.dependencies = r, t.style && (t = {
33374
33383
  ...t,
33375
33384
  style: e.createAnimatedStyle(t.style)
33376
33385
  }), t = new rf(t), mc.dependencies = null, [t, r];
33377
33386
  }
33378
- function T$(t, e) {
33387
+ function L$(t, e) {
33379
33388
  return t && (ot.fun(t) ? t(e) : t.current = e), e;
33380
33389
  }
33381
- var D2 = Symbol.for("AnimatedComponent"), L$ = (t, {
33390
+ var D2 = Symbol.for("AnimatedComponent"), E$ = (t, {
33382
33391
  applyAnimatedValues: e = () => !1,
33383
33392
  createAnimatedStyle: r = (i) => new rf(i),
33384
33393
  getComponentProps: n = (i) => i
@@ -33400,8 +33409,8 @@ var D2 = Symbol.for("AnimatedComponent"), L$ = (t, {
33400
33409
  function zi(t, ...e) {
33401
33410
  return ot.fun(t) ? t(...e) : t;
33402
33411
  }
33403
- var gs = (t, e) => t === !0 || !!(e && t && (ot.fun(t) ? t(e) : or(t).includes(e))), b7 = (t, e) => ot.obj(t) ? e && t[e] : t, S7 = (t, e) => t.default === !0 ? t[e] : t.default ? t.default[e] : void 0, E$ = (t) => t, rv = (t, e = E$) => {
33404
- let r = C$;
33412
+ var gs = (t, e) => t === !0 || !!(e && t && (ot.fun(t) ? t(e) : or(t).includes(e))), b7 = (t, e) => ot.obj(t) ? e && t[e] : t, S7 = (t, e) => t.default === !0 ? t[e] : t.default ? t.default[e] : void 0, C$ = (t) => t, rv = (t, e = C$) => {
33413
+ let r = M$;
33405
33414
  t.default && t.default !== !0 && (t = t.default, r = Object.keys(t));
33406
33415
  const n = {};
33407
33416
  for (const i of r) {
@@ -33409,7 +33418,7 @@ var gs = (t, e) => t === !0 || !!(e && t && (ot.fun(t) ? t(e) : or(t).includes(e
33409
33418
  ot.und(a) || (n[i] = a);
33410
33419
  }
33411
33420
  return n;
33412
- }, C$ = [
33421
+ }, M$ = [
33413
33422
  "config",
33414
33423
  "onProps",
33415
33424
  "onStart",
@@ -33417,7 +33426,7 @@ var gs = (t, e) => t === !0 || !!(e && t && (ot.fun(t) ? t(e) : or(t).includes(e
33417
33426
  "onPause",
33418
33427
  "onResume",
33419
33428
  "onRest"
33420
- ], M$ = {
33429
+ ], D$ = {
33421
33430
  config: 1,
33422
33431
  from: 1,
33423
33432
  to: 1,
@@ -33453,16 +33462,16 @@ var gs = (t, e) => t === !0 || !!(e && t && (ot.fun(t) ? t(e) : or(t).includes(e
33453
33462
  callId: 1,
33454
33463
  parentId: 1
33455
33464
  };
33456
- function D$(t) {
33465
+ function A$(t) {
33457
33466
  const e = {};
33458
33467
  let r = 0;
33459
33468
  if (sn(t, (n, i) => {
33460
- M$[i] || (e[i] = n, r++);
33469
+ D$[i] || (e[i] = n, r++);
33461
33470
  }), r)
33462
33471
  return e;
33463
33472
  }
33464
33473
  function x7(t) {
33465
- const e = D$(t);
33474
+ const e = A$(t);
33466
33475
  if (e) {
33467
33476
  const r = { to: e };
33468
33477
  return sn(t, (n, i) => i in e || (r[i] = n)), r;
@@ -33475,22 +33484,22 @@ function Gs(t) {
33475
33484
  output: [t, t]
33476
33485
  })(1) : t;
33477
33486
  }
33478
- function A$(t) {
33487
+ function P$(t) {
33479
33488
  for (const e in t) return !0;
33480
33489
  return !1;
33481
33490
  }
33482
33491
  function bd(t) {
33483
33492
  return ot.fun(t) || ot.arr(t) && ot.obj(t[0]);
33484
33493
  }
33485
- function P$(t, e) {
33494
+ function k$(t, e) {
33486
33495
  var r;
33487
33496
  (r = t.ref) == null || r.delete(t), e == null || e.delete(t);
33488
33497
  }
33489
- function k$(t, e) {
33498
+ function N$(t, e) {
33490
33499
  var r;
33491
33500
  e && t.ref !== e && ((r = t.ref) == null || r.delete(t), e.add(t), t.ref = e);
33492
33501
  }
33493
- var N$ = {
33502
+ var O$ = {
33494
33503
  default: { tension: 170, friction: 26 },
33495
33504
  gentle: { tension: 120, friction: 14 },
33496
33505
  wobbly: { tension: 180, friction: 12 },
@@ -33498,17 +33507,17 @@ var N$ = {
33498
33507
  slow: { tension: 280, friction: 60 },
33499
33508
  molasses: { tension: 280, friction: 120 }
33500
33509
  }, Sd = {
33501
- ...N$.default,
33510
+ ...O$.default,
33502
33511
  mass: 1,
33503
33512
  damping: 1,
33504
- easing: o$.linear,
33513
+ easing: s$.linear,
33505
33514
  clamp: !1
33506
- }, O$ = class {
33515
+ }, R$ = class {
33507
33516
  constructor() {
33508
33517
  this.velocity = 0, Object.assign(this, Sd);
33509
33518
  }
33510
33519
  };
33511
- function R$(t, e, r) {
33520
+ function I$(t, e, r) {
33512
33521
  r && (r = { ...r }, P2(r, e), e = { ...r, ...e }), P2(t, e), Object.assign(t, e);
33513
33522
  for (const o in Sd)
33514
33523
  t[o] == null && (t[o] = Sd[o]);
@@ -33524,9 +33533,9 @@ function P2(t, e) {
33524
33533
  (r || !ot.und(e.frequency) || !ot.und(e.damping) || !ot.und(e.mass)) && (t.duration = void 0, t.decay = void 0), r && (t.frequency = void 0);
33525
33534
  }
33526
33535
  }
33527
- var k2 = [], I$ = class {
33536
+ var k2 = [], B$ = class {
33528
33537
  constructor() {
33529
- this.changed = !1, this.values = k2, this.toValues = null, this.fromValues = k2, this.config = new O$(), this.immediate = !1;
33538
+ this.changed = !1, this.values = k2, this.toValues = null, this.fromValues = k2, this.config = new R$(), this.immediate = !1;
33530
33539
  }
33531
33540
  };
33532
33541
  function w7(t, { key: e, props: r, defaultProps: n, state: i, actions: a }) {
@@ -33647,9 +33656,9 @@ var N2 = class extends Error {
33647
33656
  constructor() {
33648
33657
  super("SkipAnimationSignal");
33649
33658
  }
33650
- }, xd = (t) => t instanceof iv, B$ = 1, iv = class extends u7 {
33659
+ }, xd = (t) => t instanceof iv, $$ = 1, iv = class extends u7 {
33651
33660
  constructor() {
33652
- super(...arguments), this.id = B$++, this._priority = 0;
33661
+ super(...arguments), this.id = $$++, this._priority = 0;
33653
33662
  }
33654
33663
  get priority() {
33655
33664
  return this._priority;
@@ -33668,7 +33677,7 @@ var N2 = class extends Error {
33668
33677
  }
33669
33678
  /** @deprecated Use the `to` method instead. */
33670
33679
  interpolate(...t) {
33671
- return p$(), $r.to(this, t);
33680
+ return v$(), $r.to(this, t);
33672
33681
  }
33673
33682
  toJSON() {
33674
33683
  return this.get();
@@ -33702,9 +33711,9 @@ var N2 = class extends Error {
33702
33711
  priority: t
33703
33712
  });
33704
33713
  }
33705
- }, ta = Symbol.for("SpringPhase"), E7 = 1, wd = 2, Td = 4, zh = (t) => (t[ta] & E7) > 0, Vn = (t) => (t[ta] & wd) > 0, Vo = (t) => (t[ta] & Td) > 0, R2 = (t, e) => e ? t[ta] |= wd | E7 : t[ta] &= ~wd, I2 = (t, e) => e ? t[ta] |= Td : t[ta] &= ~Td, $$ = class extends iv {
33714
+ }, ta = Symbol.for("SpringPhase"), E7 = 1, wd = 2, Td = 4, zh = (t) => (t[ta] & E7) > 0, Vn = (t) => (t[ta] & wd) > 0, Vo = (t) => (t[ta] & Td) > 0, R2 = (t, e) => e ? t[ta] |= wd | E7 : t[ta] &= ~wd, I2 = (t, e) => e ? t[ta] |= Td : t[ta] &= ~Td, V$ = class extends iv {
33706
33715
  constructor(t, e) {
33707
- if (super(), this.animation = new I$(), this.defaultProps = {}, this._state = {
33716
+ if (super(), this.animation = new B$(), this.defaultProps = {}, this._state = {
33708
33717
  paused: !1,
33709
33718
  delayed: !1,
33710
33719
  pauseQueue: /* @__PURE__ */ new Set(),
@@ -33937,7 +33946,7 @@ var N2 = class extends Error {
33937
33946
  const h = !vn(c, l);
33938
33947
  h && this._focus(c);
33939
33948
  const p = bd(e.to), { config: v } = s, { decay: g, velocity: m } = v;
33940
- (n || i) && (v.velocity = 0), e.config && !p && R$(
33949
+ (n || i) && (v.velocity = 0), e.config && !p && I$(
33941
33950
  v,
33942
33951
  zi(e.config, a),
33943
33952
  // Avoid calling the same "config" prop twice.
@@ -33970,7 +33979,7 @@ var N2 = class extends Error {
33970
33979
  }
33971
33980
  if (C && Vn(this) && (s.changed && !_ ? E = !0 : E || this._stop(l)), !p && ((E || br(l)) && (s.values = y.getPayload(), s.toValues = br(c) ? null : T == gc ? [1] : or(S)), s.immediate != w && (s.immediate = w, !w && !_ && this._set(l)), E)) {
33972
33981
  const { onRest: L } = s;
33973
- Vt(z$, (M) => $2(this, e, M));
33982
+ Vt(F$, (M) => $2(this, e, M));
33974
33983
  const k = Or(this, zo(this, l));
33975
33984
  Jo(this._pendingCalls, k), this._pendingCalls.add(r), s.changed && Nt.batchedUpdates(() => {
33976
33985
  var M;
@@ -34084,14 +34093,14 @@ function Xs(t) {
34084
34093
  const { to: e, from: r } = t = x7(t), n = /* @__PURE__ */ new Set();
34085
34094
  return ot.obj(e) && B2(e, n), ot.obj(r) && B2(r, n), t.keys = n.size ? Array.from(n) : null, t;
34086
34095
  }
34087
- function V$(t) {
34096
+ function z$(t) {
34088
34097
  const e = Xs(t);
34089
34098
  return ot.und(e.default) && (e.default = rv(e)), e;
34090
34099
  }
34091
34100
  function B2(t, e) {
34092
34101
  sn(t, (r, n) => r != null && e.add(n));
34093
34102
  }
34094
- var z$ = [
34103
+ var F$ = [
34095
34104
  "onStart",
34096
34105
  "onRest",
34097
34106
  "onChange",
@@ -34105,9 +34114,9 @@ function Fo(t, e, ...r) {
34105
34114
  var n, i, a, o;
34106
34115
  (i = (n = t.animation)[e]) == null || i.call(n, ...r), (o = (a = t.defaultProps)[e]) == null || o.call(a, ...r);
34107
34116
  }
34108
- var F$ = ["onStart", "onChange", "onRest"], H$ = 1, G$ = class {
34117
+ var H$ = ["onStart", "onChange", "onRest"], G$ = 1, W$ = class {
34109
34118
  constructor(t, e) {
34110
- this.id = H$++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
34119
+ this.id = G$++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
34111
34120
  paused: !1,
34112
34121
  pauseQueue: /* @__PURE__ */ new Set(),
34113
34122
  resumeQueue: /* @__PURE__ */ new Set(),
@@ -34223,7 +34232,7 @@ async function M7(t, e, r) {
34223
34232
  const { keys: n, to: i, from: a, loop: o, onRest: s, onResolve: l } = e, u = ot.obj(e.default) && e.default;
34224
34233
  o && (e.loop = !1), i === !1 && (e.to = null), a === !1 && (e.from = null);
34225
34234
  const c = ot.arr(i) || ot.fun(i) ? i : void 0;
34226
- c ? (e.to = void 0, e.onRest = void 0, u && (u.onRest = void 0)) : Vt(F$, (v) => {
34235
+ c ? (e.to = void 0, e.onRest = void 0, u && (u.onRest = void 0)) : Vt(H$, (v) => {
34227
34236
  const g = e[v];
34228
34237
  if (ot.fun(g)) {
34229
34238
  const m = t._events[v];
@@ -34284,7 +34293,7 @@ function D7(t, e) {
34284
34293
  });
34285
34294
  }
34286
34295
  function A7(t, e) {
34287
- const r = new $$();
34296
+ const r = new V$();
34288
34297
  return r.key = t, e && co(r, e), r;
34289
34298
  }
34290
34299
  function P7(t, e, r) {
@@ -34297,12 +34306,12 @@ function k7(t, e) {
34297
34306
  P7(t.springs, r, (n) => A7(n, t));
34298
34307
  });
34299
34308
  }
34300
- var W$ = H2.createContext({
34309
+ var X$ = H2.createContext({
34301
34310
  pause: !1,
34302
34311
  immediate: !1
34303
- }), X$ = () => {
34312
+ }), U$ = () => {
34304
34313
  const t = [], e = function(n) {
34305
- g$();
34314
+ m$();
34306
34315
  const i = [];
34307
34316
  return Vt(t, (a, o) => {
34308
34317
  if (ot.und(n))
@@ -34347,11 +34356,11 @@ var W$ = H2.createContext({
34347
34356
  };
34348
34357
  return e._getProps = r, e;
34349
34358
  };
34350
- function U$(t, e, r) {
34359
+ function Y$(t, e, r) {
34351
34360
  const n = ot.fun(e) && e;
34352
34361
  n && !r && (r = []);
34353
34362
  const i = nt(
34354
- () => n || arguments.length == 3 ? X$() : void 0,
34363
+ () => n || arguments.length == 3 ? U$() : void 0,
34355
34364
  []
34356
34365
  ), a = bt(0), o = p7(), s = nt(
34357
34366
  () => ({
@@ -34370,27 +34379,27 @@ function U$(t, e, r) {
34370
34379
  ), l = bt([...s.ctrls]), u = bt([]), c = C2(t) || 0;
34371
34380
  nt(() => {
34372
34381
  Vt(l.current.slice(t, c), (m) => {
34373
- P$(m, i), m.stop(!0);
34382
+ k$(m, i), m.stop(!0);
34374
34383
  }), l.current.length = t, f(c, t);
34375
34384
  }, [t]), nt(() => {
34376
34385
  f(0, Math.min(c, t));
34377
34386
  }, r);
34378
34387
  function f(m, y) {
34379
34388
  for (let _ = m; _ < y; _++) {
34380
- const b = l.current[_] || (l.current[_] = new G$(null, s.flush)), S = n ? n(_, b) : e[_];
34381
- S && (u.current[_] = V$(S));
34389
+ const b = l.current[_] || (l.current[_] = new W$(null, s.flush)), S = n ? n(_, b) : e[_];
34390
+ S && (u.current[_] = z$(S));
34382
34391
  }
34383
34392
  }
34384
34393
  const d = l.current.map(
34385
34394
  (m, y) => V2(m, u.current[y])
34386
- ), h = R7(W$), p = C2(h), v = h !== p && A$(h);
34395
+ ), h = R7(X$), p = C2(h), v = h !== p && P$(h);
34387
34396
  tv(() => {
34388
34397
  a.current++, s.ctrls = l.current;
34389
34398
  const { queue: m } = s;
34390
34399
  m.length && (s.queue = [], Vt(m, (y) => y())), Vt(l.current, (y, _) => {
34391
34400
  i == null || i.add(y), v && y.start({ default: h });
34392
34401
  const b = u.current[_];
34393
- b && (k$(y, b.ref), y.ref ? y.queue.push(b) : y.start(b));
34402
+ b && (N$(y, b.ref), y.ref ? y.queue.push(b) : y.start(b));
34394
34403
  });
34395
34404
  }), v7(() => () => {
34396
34405
  Vt(s.ctrls, (m) => m.stop(!0));
@@ -34398,15 +34407,15 @@ function U$(t, e, r) {
34398
34407
  const g = d.map((m) => ({ ...m }));
34399
34408
  return i ? [g, i] : g;
34400
34409
  }
34401
- function Y$(t, e) {
34402
- const r = ot.fun(t), [[n], i] = U$(
34410
+ function Z$(t, e) {
34411
+ const r = ot.fun(t), [[n], i] = Y$(
34403
34412
  1,
34404
34413
  r ? t : [t],
34405
34414
  r ? [] : e
34406
34415
  );
34407
34416
  return r || arguments.length == 2 ? [n, i] : n;
34408
34417
  }
34409
- var Z$ = class extends iv {
34418
+ var q$ = class extends iv {
34410
34419
  constructor(t, e) {
34411
34420
  super(), this.source = t, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = $s(...e);
34412
34421
  const r = this._get(), n = _d(r);
@@ -34446,11 +34455,11 @@ var Z$ = class extends iv {
34446
34455
  ));
34447
34456
  }
34448
34457
  };
34449
- function q$(t) {
34458
+ function j$(t) {
34450
34459
  return t.idle !== !1;
34451
34460
  }
34452
34461
  function z2(t) {
34453
- return !t.size || Array.from(t).every(q$);
34462
+ return !t.size || Array.from(t).every(j$);
34454
34463
  }
34455
34464
  function Fh(t) {
34456
34465
  t.idle || (t.idle = !0, Vt(tf(t), (e) => {
@@ -34462,14 +34471,14 @@ function Fh(t) {
34462
34471
  }
34463
34472
  $r.assign({
34464
34473
  createStringInterpolator: h7,
34465
- to: (t, e) => new Z$(t, e)
34474
+ to: (t, e) => new q$(t, e)
34466
34475
  });
34467
34476
  var N7 = /^--/;
34468
- function j$(t, e) {
34477
+ function Q$(t, e) {
34469
34478
  return e == null || typeof e == "boolean" || e === "" ? "" : typeof e == "number" && e !== 0 && !N7.test(t) && !(ms.hasOwnProperty(t) && ms[t]) ? e + "px" : ("" + e).trim();
34470
34479
  }
34471
34480
  var F2 = {};
34472
- function Q$(t, e) {
34481
+ function K$(t, e) {
34473
34482
  if (!t.nodeType || !t.setAttribute)
34474
34483
  return !1;
34475
34484
  const r = t.nodeName === "filter" || t.parentNode && t.parentNode.nodeName === "filter", {
@@ -34490,7 +34499,7 @@ function Q$(t, e) {
34490
34499
  a !== void 0 && (t.textContent = a);
34491
34500
  for (const d in i)
34492
34501
  if (i.hasOwnProperty(d)) {
34493
- const h = j$(d, i[d]);
34502
+ const h = Q$(d, i[d]);
34494
34503
  N7.test(d) ? t.style.setProperty(d, h) : t.style[d] = h;
34495
34504
  }
34496
34505
  f.forEach((d, h) => {
@@ -34540,9 +34549,9 @@ var ms = {
34540
34549
  strokeMiterlimit: !0,
34541
34550
  strokeOpacity: !0,
34542
34551
  strokeWidth: !0
34543
- }, K$ = (t, e) => t + e.charAt(0).toUpperCase() + e.substring(1), J$ = ["Webkit", "Ms", "Moz", "O"];
34544
- ms = Object.keys(ms).reduce((t, e) => (J$.forEach((r) => t[K$(r, e)] = t[e]), t), ms);
34545
- var tV = /^(matrix|translate|scale|rotate|skew)/, eV = /^(translate)/, rV = /^(rotate|skew)/, Hh = (t, e) => ot.num(t) && t !== 0 ? t + e : t, Lu = (t, e) => ot.arr(t) ? t.every((r) => Lu(r, e)) : ot.num(t) ? t === e : parseFloat(t) === e, nV = class extends rf {
34552
+ }, J$ = (t, e) => t + e.charAt(0).toUpperCase() + e.substring(1), tV = ["Webkit", "Ms", "Moz", "O"];
34553
+ ms = Object.keys(ms).reduce((t, e) => (tV.forEach((r) => t[J$(r, e)] = t[e]), t), ms);
34554
+ var eV = /^(matrix|translate|scale|rotate|skew)/, rV = /^(translate)/, nV = /^(rotate|skew)/, Hh = (t, e) => ot.num(t) && t !== 0 ? t + e : t, Lu = (t, e) => ot.arr(t) ? t.every((r) => Lu(r, e)) : ot.num(t) ? t === e : parseFloat(t) === e, iV = class extends rf {
34546
34555
  constructor({ x: t, y: e, z: r, ...n }) {
34547
34556
  const i = [], a = [];
34548
34557
  (t || e || r) && (i.push([t || 0, e || 0, r || 0]), a.push((o) => [
@@ -34552,9 +34561,9 @@ var tV = /^(matrix|translate|scale|rotate|skew)/, eV = /^(translate)/, rV = /^(r
34552
34561
  ])), sn(n, (o, s) => {
34553
34562
  if (s === "transform")
34554
34563
  i.push([o || ""]), a.push((l) => [l, l === ""]);
34555
- else if (tV.test(s)) {
34564
+ else if (eV.test(s)) {
34556
34565
  if (delete n[s], ot.und(o)) return;
34557
- const l = eV.test(s) ? "px" : rV.test(s) ? "deg" : "";
34566
+ const l = rV.test(s) ? "px" : nV.test(s) ? "deg" : "";
34558
34567
  i.push(or(o)), a.push(
34559
34568
  s === "rotate3d" ? ([u, c, f, d]) => [
34560
34569
  `rotate3d(${u},${c},${f},${Hh(d, l)})`,
@@ -34565,9 +34574,9 @@ var tV = /^(matrix|translate|scale|rotate|skew)/, eV = /^(translate)/, rV = /^(r
34565
34574
  ]
34566
34575
  );
34567
34576
  }
34568
- }), i.length && (n.transform = new iV(i, a)), super(n);
34577
+ }), i.length && (n.transform = new aV(i, a)), super(n);
34569
34578
  }
34570
- }, iV = class extends u7 {
34579
+ }, aV = class extends u7 {
34571
34580
  constructor(t, e) {
34572
34581
  super(), this.inputs = t, this.transforms = e, this._value = null;
34573
34582
  }
@@ -34606,7 +34615,7 @@ var tV = /^(matrix|translate|scale|rotate|skew)/, eV = /^(translate)/, rV = /^(r
34606
34615
  eventObserved(t) {
34607
34616
  t.type == "change" && (this._value = null), zs(this, t);
34608
34617
  }
34609
- }, aV = [
34618
+ }, oV = [
34610
34619
  "a",
34611
34620
  "abbr",
34612
34621
  "address",
@@ -34745,15 +34754,15 @@ var tV = /^(matrix|translate|scale|rotate|skew)/, eV = /^(translate)/, rV = /^(r
34745
34754
  $r.assign({
34746
34755
  batchedUpdates: T6,
34747
34756
  createStringInterpolator: h7,
34748
- colors: YB
34757
+ colors: ZB
34749
34758
  });
34750
- var oV = L$(aV, {
34751
- applyAnimatedValues: Q$,
34752
- createAnimatedStyle: (t) => new nV(t),
34759
+ var sV = E$(oV, {
34760
+ applyAnimatedValues: K$,
34761
+ createAnimatedStyle: (t) => new iV(t),
34753
34762
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
34754
34763
  getComponentProps: ({ scrollTop: t, scrollLeft: e, ...r }) => r
34755
- }), sV = oV.animated;
34756
- const lV = ({
34764
+ }), lV = sV.animated;
34765
+ const uV = ({
34757
34766
  slide: t,
34758
34767
  index: e,
34759
34768
  selected: r,
@@ -34774,14 +34783,14 @@ const lV = ({
34774
34783
  /* @__PURE__ */ A.createElement("div", { className: Hn.thumbnail }, /* @__PURE__ */ A.createElement(q3, { slide: t, size: 112 })),
34775
34784
  /* @__PURE__ */ A.createElement("div", { className: kt(Hn.label) }, U6(e + 1, 2))
34776
34785
  );
34777
- }, uV = ({ className: t }) => {
34786
+ }, cV = ({ className: t }) => {
34778
34787
  const {
34779
34788
  selectedSlidesIndex: e,
34780
34789
  updateSelectedSlidesIndex: r
34781
34790
  } = xt(), { slides: n, slideIndex: i, updateSlideIndex: a } = Rt(), o = nt(
34782
34791
  () => [...e, i],
34783
34792
  [e, i]
34784
- ), s = bt(null), [{ scrollTop: l }, u] = Y$(() => ({
34793
+ ), s = bt(null), [{ scrollTop: l }, u] = Z$(() => ({
34785
34794
  scrollTop: 0,
34786
34795
  config: {
34787
34796
  tension: 300,
@@ -34821,14 +34830,14 @@ const lV = ({
34821
34830
  return Lt(() => {
34822
34831
  c();
34823
34832
  }, [i, n.length]), /* @__PURE__ */ A.createElement(
34824
- sV.div,
34833
+ lV.div,
34825
34834
  {
34826
34835
  className: kt(Hn.thumbnails, t),
34827
34836
  ref: s,
34828
34837
  scrollTop: l
34829
34838
  },
34830
34839
  /* @__PURE__ */ A.createElement("div", { className: kt("thumbnail-list", Hn.thumbnailList) }, n.map((h, p) => /* @__PURE__ */ A.createElement("div", { className: Hn.thumbnailContainer, key: h.id }, /* @__PURE__ */ A.createElement(
34831
- lV,
34840
+ uV,
34832
34841
  {
34833
34842
  slide: h,
34834
34843
  index: p,
@@ -34838,10 +34847,10 @@ const lV = ({
34838
34847
  }
34839
34848
  ))))
34840
34849
  );
34841
- }, $V = () => /* @__PURE__ */ A.createElement(uV, null);
34850
+ }, VV = () => /* @__PURE__ */ A.createElement(cV, null);
34842
34851
  export {
34843
34852
  qt as ElementTypes,
34844
- BV as PPTCanvas,
34845
- $V as PPThumbnails,
34853
+ $V as PPTCanvas,
34854
+ VV as PPThumbnails,
34846
34855
  Bt as ShapePathFormulasKeys
34847
34856
  };