animot-presenter 0.6.7 → 0.6.8
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.
|
@@ -1917,7 +1917,7 @@ function no(t, e) {
|
|
|
1917
1917
|
n.nodes === null && (n.nodes = { start: t, end: e, a: null, t: null });
|
|
1918
1918
|
}
|
|
1919
1919
|
// @__NO_SIDE_EFFECTS__
|
|
1920
|
-
function
|
|
1920
|
+
function It(t, e) {
|
|
1921
1921
|
var n = (e & od) !== 0, A = (e & Gl) !== 0, a, r = !t.startsWith("<!>");
|
|
1922
1922
|
return () => {
|
|
1923
1923
|
a === void 0 && (a = zd(r ? t : "<!>" + t), n || (a = /** @type {TemplateNode} */
|
|
@@ -9779,7 +9779,7 @@ function PB(t) {
|
|
|
9779
9779
|
function UB(t) {
|
|
9780
9780
|
return t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
9781
9781
|
}
|
|
9782
|
-
var qB = /* @__PURE__ */
|
|
9782
|
+
var qB = /* @__PURE__ */ It("<div></div>");
|
|
9783
9783
|
function YB(t, e) {
|
|
9784
9784
|
QA(e, !0);
|
|
9785
9785
|
let n = Bn(e, "language", 3, "javascript"), A = Bn(e, "theme", 3, "github-dark"), a = Bn(e, "mode", 3, "highlight-changes"), r = Bn(e, "speed", 3, 50), s = Bn(e, "highlightColor", 3, "#facc15"), p = Bn(e, "highlightDuration", 3, 1e3), d = Bn(e, "showLineNumbers", 3, !1);
|
|
@@ -9838,7 +9838,7 @@ function YB(t, e) {
|
|
|
9838
9838
|
});
|
|
9839
9839
|
}), ae(t, $), yA();
|
|
9840
9840
|
}
|
|
9841
|
-
var OB = /* @__PURE__ */
|
|
9841
|
+
var OB = /* @__PURE__ */ It('<canvas style="position:absolute;inset:0;pointer-events:none;z-index:0;"></canvas>');
|
|
9842
9842
|
function TB(t, e) {
|
|
9843
9843
|
QA(e, !0);
|
|
9844
9844
|
let n, A, a = [];
|
|
@@ -10205,8 +10205,8 @@ var xc = {};
|
|
|
10205
10205
|
function ge(N, D) {
|
|
10206
10206
|
var z = !N, Z = !!I(D || {}, "resize"), fe = !1, de = I(D, "disableForReducedMotion", Boolean), Fe = r && !!I(D || {}, "useWorker"), ye = Fe ? b() : null, L = z ? re : Qe, ee = N && ye ? !!N.__confetti_initialized : !1, Ae = typeof matchMedia == "function" && matchMedia("(prefers-reduced-motion)").matches, Ce;
|
|
10207
10207
|
function De(ce, at, Ge) {
|
|
10208
|
-
for (var Be = I(ce, "particleCount", M), W = I(ce, "angle", Number), pe = I(ce, "spread", Number), Le = I(ce, "startVelocity", Number), ze = I(ce, "decay", Number), Pe = I(ce, "gravity", Number), Ke = I(ce, "drift", Number), gt = I(ce, "colors", ue), jt = I(ce, "ticks", Number), Yt = I(ce, "shapes"), Ft = I(ce, "scalar"), Gt = !!I(ce, "flat"), Lt = he(ce), tt = Be,
|
|
10209
|
-
|
|
10208
|
+
for (var Be = I(ce, "particleCount", M), W = I(ce, "angle", Number), pe = I(ce, "spread", Number), Le = I(ce, "startVelocity", Number), ze = I(ce, "decay", Number), Pe = I(ce, "gravity", Number), Ke = I(ce, "drift", Number), gt = I(ce, "colors", ue), jt = I(ce, "ticks", Number), Yt = I(ce, "shapes"), Ft = I(ce, "scalar"), Gt = !!I(ce, "flat"), Lt = he(ce), tt = Be, bt = [], hn = N.width * Lt.x, an = N.height * Lt.y; tt--; )
|
|
10209
|
+
bt.push(
|
|
10210
10210
|
oe({
|
|
10211
10211
|
x: hn,
|
|
10212
10212
|
y: an,
|
|
@@ -10223,7 +10223,7 @@ var xc = {};
|
|
|
10223
10223
|
flat: Gt
|
|
10224
10224
|
})
|
|
10225
10225
|
);
|
|
10226
|
-
return Ce ? Ce.addFettis(
|
|
10226
|
+
return Ce ? Ce.addFettis(bt) : (Ce = Ie(N, bt, L, at, Ge), Ce.promise);
|
|
10227
10227
|
}
|
|
10228
10228
|
function Me(ce) {
|
|
10229
10229
|
var at = de || I(ce, "disableForReducedMotion", Boolean), Ge = I(ce, "zIndex", Number);
|
|
@@ -10333,7 +10333,7 @@ var xc = {};
|
|
|
10333
10333
|
}(), xc, !1);
|
|
10334
10334
|
const KB = xc.exports;
|
|
10335
10335
|
xc.exports.create;
|
|
10336
|
-
var WB = /* @__PURE__ */
|
|
10336
|
+
var WB = /* @__PURE__ */ It('<canvas style="position:absolute;inset:0;pointer-events:none;z-index:1;"></canvas>');
|
|
10337
10337
|
function JB(t, e) {
|
|
10338
10338
|
QA(e, !0);
|
|
10339
10339
|
let n, A = null, a;
|
|
@@ -10424,7 +10424,7 @@ function JB(t, e) {
|
|
|
10424
10424
|
K(B, "width", e.width), K(B, "height", e.height);
|
|
10425
10425
|
}), ae(t, B), yA();
|
|
10426
10426
|
}
|
|
10427
|
-
var zB = /* @__PURE__ */
|
|
10427
|
+
var zB = /* @__PURE__ */ It('<div class="counter svelte-1er5jjj"> </div>');
|
|
10428
10428
|
function ZB(t, e) {
|
|
10429
10429
|
QA(e, !0);
|
|
10430
10430
|
let n = /* @__PURE__ */ pt(0), A = null;
|
|
@@ -10523,7 +10523,7 @@ function XB(t) {
|
|
|
10523
10523
|
const a = (p = t.yAxis) == null ? void 0 : p.min, r = (d = t.yAxis) == null ? void 0 : d.max;
|
|
10524
10524
|
return a !== void 0 && (n = a), r !== void 0 && (A = r), A === n && (A = n + 1), { min: n, max: A };
|
|
10525
10525
|
}
|
|
10526
|
-
var eh = /* @__PURE__ */
|
|
10526
|
+
var eh = /* @__PURE__ */ It('<div class="animot-chart-title svelte-1mq2d7j"> </div>'), th = /* @__PURE__ */ rt('<line x1="0" x2="100" stroke="currentColor" stroke-opacity="0.1" stroke-width="0.5"></line>'), nh = /* @__PURE__ */ rt('<line x1="0" x2="100" stroke="currentColor" stroke-opacity="0.3" stroke-width="0.5"></line>'), Ah = /* @__PURE__ */ rt("<rect></rect>"), ah = /* @__PURE__ */ rt('<text y="98" text-anchor="middle" font-size="4" fill="currentColor"> </text>'), oh = /* @__PURE__ */ rt("<!><!>", 1), rh = /* @__PURE__ */ rt('<text text-anchor="middle" font-size="3" fill="currentColor"> </text>'), ih = /* @__PURE__ */ rt('<rect rx="0.5"></rect><!>', 1), sh = /* @__PURE__ */ rt('<text y="98" text-anchor="middle" font-size="4" fill="currentColor"> </text>'), ch = /* @__PURE__ */ rt("<!><!>", 1), uh = /* @__PURE__ */ rt('<text x="1" font-size="3" fill="currentColor" opacity="0.7"> </text>'), dh = /* @__PURE__ */ rt('<svg viewBox="0 0 100 100" preserveAspectRatio="xMidYMid meet" class="animot-bar-chart svelte-1mq2d7j"><!><!><!><!></svg>'), ph = /* @__PURE__ */ rt('<line x1="0" x2="100" stroke="currentColor" stroke-opacity="0.1" stroke-width="0.5"></line>'), lh = /* @__PURE__ */ rt('<line x1="10" x2="90" stroke="currentColor" stroke-opacity="0.3" stroke-width="0.5"></line>'), gh = /* @__PURE__ */ rt("<polygon></polygon>"), mh = /* @__PURE__ */ rt('<text text-anchor="middle" font-size="3" fill="currentColor"> </text>'), fh = /* @__PURE__ */ rt('<circle r="1.4"></circle><!>', 1), bh = /* @__PURE__ */ rt('<!><polyline fill="none" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></polyline><!>', 1), Bh = /* @__PURE__ */ rt('<text y="98" text-anchor="middle" font-size="4" fill="currentColor"> </text>'), hh = /* @__PURE__ */ rt('<text x="1" font-size="3" fill="currentColor" opacity="0.7"> </text>'), Ch = /* @__PURE__ */ rt('<svg viewBox="0 0 100 100" preserveAspectRatio="xMidYMid meet" class="animot-line-chart svelte-1mq2d7j"><!><!><!><!><!></svg>'), Eh = /* @__PURE__ */ rt('<text text-anchor="middle" dominant-baseline="middle" font-size="4" fill="white" font-weight="600"> </text>'), wh = /* @__PURE__ */ rt('<text dominant-baseline="middle" font-size="3.5" fill="currentColor"> </text>'), Qh = /* @__PURE__ */ rt("<path></path><!><!>", 1), yh = /* @__PURE__ */ rt('<rect x="85" width="4" height="4"></rect><text x="91" font-size="4" fill="currentColor"> </text>', 1), kh = /* @__PURE__ */ rt('<svg viewBox="0 0 100 100" class="animot-pie-chart svelte-1mq2d7j"><!><!></svg>'), _h = /* @__PURE__ */ rt('<text text-anchor="middle" dominant-baseline="middle" font-size="3.5" fill="white" font-weight="600"> </text>'), Ih = /* @__PURE__ */ rt('<text dominant-baseline="middle" font-size="3.5" fill="currentColor"> </text>'), Dh = /* @__PURE__ */ rt("<path></path><!><!>", 1), xh = /* @__PURE__ */ rt('<rect x="85" width="4" height="4"></rect><text x="91" font-size="4" fill="currentColor"> </text>', 1), vh = /* @__PURE__ */ rt('<svg viewBox="0 0 100 100" class="animot-donut-chart svelte-1mq2d7j"><!><!></svg>'), Fh = /* @__PURE__ */ It('<span class="animot-legend-item svelte-1mq2d7j"><span class="animot-swatch svelte-1mq2d7j"></span> </span>'), Mh = /* @__PURE__ */ It('<div class="animot-series-legend svelte-1mq2d7j"></div>'), Nh = /* @__PURE__ */ It('<div class="animot-chart svelte-1mq2d7j"><!> <div class="animot-chart-content svelte-1mq2d7j"><!> <!></div></div>');
|
|
10527
10527
|
function Sh(t, e) {
|
|
10528
10528
|
QA(e, !0);
|
|
10529
10529
|
let n = Bn(e, "previousElement", 3, null), A = /* @__PURE__ */ pt(1), a = /* @__PURE__ */ pt(1), r = null;
|
|
@@ -10695,7 +10695,7 @@ function Sh(t, e) {
|
|
|
10695
10695
|
const Ke = /* @__PURE__ */ R(() => re(o(Pe).pIdx)), gt = /* @__PURE__ */ R(Qe);
|
|
10696
10696
|
var jt = oh(), Yt = Ht(jt);
|
|
10697
10697
|
bn(Yt, 17, () => o(Pe).segments, fn, (Lt, tt) => {
|
|
10698
|
-
var
|
|
10698
|
+
var bt = ln(), hn = Ht(bt);
|
|
10699
10699
|
{
|
|
10700
10700
|
var an = (In) => {
|
|
10701
10701
|
var gn = Ah();
|
|
@@ -10712,14 +10712,14 @@ function Sh(t, e) {
|
|
|
10712
10712
|
o(tt).h > 0.01 && In(an);
|
|
10713
10713
|
});
|
|
10714
10714
|
}
|
|
10715
|
-
ae(Lt,
|
|
10715
|
+
ae(Lt, bt);
|
|
10716
10716
|
});
|
|
10717
10717
|
var Ft = lt(Yt);
|
|
10718
10718
|
{
|
|
10719
10719
|
var Gt = (Lt) => {
|
|
10720
|
-
var tt = ah(),
|
|
10720
|
+
var tt = ah(), bt = At(tt);
|
|
10721
10721
|
Re(() => {
|
|
10722
|
-
K(tt, "x", o(Ke) + o(gt) / 2), An(
|
|
10722
|
+
K(tt, "x", o(Ke) + o(gt) / 2), An(bt, o(Pe).basePoint.label);
|
|
10723
10723
|
}), ae(Lt, tt);
|
|
10724
10724
|
};
|
|
10725
10725
|
ot(Ft, (Lt) => {
|
|
@@ -10759,7 +10759,7 @@ function Sh(t, e) {
|
|
|
10759
10759
|
]
|
|
10760
10760
|
), ae(an, na);
|
|
10761
10761
|
});
|
|
10762
|
-
var
|
|
10762
|
+
var bt = lt(tt);
|
|
10763
10763
|
{
|
|
10764
10764
|
var hn = (an) => {
|
|
10765
10765
|
var In = sh(), gn = At(In);
|
|
@@ -10767,7 +10767,7 @@ function Sh(t, e) {
|
|
|
10767
10767
|
K(In, "x", o(gt) + o(jt) / 2), An(gn, o(Pe).label);
|
|
10768
10768
|
}), ae(an, In);
|
|
10769
10769
|
};
|
|
10770
|
-
ot(
|
|
10770
|
+
ot(bt, (an) => {
|
|
10771
10771
|
e.element.showLabels && an(hn);
|
|
10772
10772
|
});
|
|
10773
10773
|
}
|
|
@@ -10821,8 +10821,8 @@ function Sh(t, e) {
|
|
|
10821
10821
|
var ce = lt(De);
|
|
10822
10822
|
bn(ce, 17, () => o(g), fn, (W, pe, Le) => {
|
|
10823
10823
|
const ze = /* @__PURE__ */ R(() => o(pe).data.map((Gt, Lt) => {
|
|
10824
|
-
const tt = 10 + Lt / Math.max(o(pe).data.length - 1, 1) * 80,
|
|
10825
|
-
return `${tt},${
|
|
10824
|
+
const tt = 10 + Lt / Math.max(o(pe).data.length - 1, 1) * 80, bt = S(y(Le, Lt));
|
|
10825
|
+
return `${tt},${bt}`;
|
|
10826
10826
|
}).join(" ")), Pe = /* @__PURE__ */ R(() => ra(e.element, Le, 0, void 0, o(pe)));
|
|
10827
10827
|
var Ke = bh(), gt = Ht(Ke);
|
|
10828
10828
|
{
|
|
@@ -10839,14 +10839,14 @@ function Sh(t, e) {
|
|
|
10839
10839
|
}
|
|
10840
10840
|
var Yt = lt(gt), Ft = lt(Yt);
|
|
10841
10841
|
bn(Ft, 17, () => o(pe).data, fn, (Gt, Lt, tt) => {
|
|
10842
|
-
const
|
|
10842
|
+
const bt = /* @__PURE__ */ R(() => 10 + tt / Math.max(o(pe).data.length - 1, 1) * 80), hn = /* @__PURE__ */ R(() => S(y(Le, tt)));
|
|
10843
10843
|
var an = fh(), In = Ht(an), gn = lt(In);
|
|
10844
10844
|
{
|
|
10845
10845
|
var cA = (Fn) => {
|
|
10846
10846
|
var Xn = mh(), nn = At(Xn);
|
|
10847
10847
|
Re(
|
|
10848
10848
|
(sn) => {
|
|
10849
|
-
K(Xn, "x", o(
|
|
10849
|
+
K(Xn, "x", o(bt)), K(Xn, "y", o(hn) - 2.5), An(nn, sn);
|
|
10850
10850
|
},
|
|
10851
10851
|
[
|
|
10852
10852
|
() => Ur(y(Le, tt), e.element.valueFormat)
|
|
@@ -10859,7 +10859,7 @@ function Sh(t, e) {
|
|
|
10859
10859
|
}
|
|
10860
10860
|
Re(
|
|
10861
10861
|
(Fn) => {
|
|
10862
|
-
K(In, "cx", o(
|
|
10862
|
+
K(In, "cx", o(bt)), K(In, "cy", o(hn)), K(In, "fill", Fn);
|
|
10863
10863
|
},
|
|
10864
10864
|
[
|
|
10865
10865
|
() => ra(e.element, Le, tt, o(Lt), o(pe))
|
|
@@ -10913,13 +10913,13 @@ function Sh(t, e) {
|
|
|
10913
10913
|
var gt = Qh(), jt = Ht(gt), Yt = lt(jt);
|
|
10914
10914
|
{
|
|
10915
10915
|
var Ft = (tt) => {
|
|
10916
|
-
var
|
|
10916
|
+
var bt = Eh(), hn = At(bt);
|
|
10917
10917
|
Re(
|
|
10918
10918
|
(an) => {
|
|
10919
|
-
K(
|
|
10919
|
+
K(bt, "x", o(Le).x), K(bt, "y", o(Le).y), An(hn, `${an ?? ""}%`);
|
|
10920
10920
|
},
|
|
10921
10921
|
[() => Math.round(o(ce).percentage * 100)]
|
|
10922
|
-
), ae(tt,
|
|
10922
|
+
), ae(tt, bt);
|
|
10923
10923
|
};
|
|
10924
10924
|
ot(Yt, (tt) => {
|
|
10925
10925
|
e.element.showValues && tt(Ft);
|
|
@@ -10928,10 +10928,10 @@ function Sh(t, e) {
|
|
|
10928
10928
|
var Gt = lt(Yt);
|
|
10929
10929
|
{
|
|
10930
10930
|
var Lt = (tt) => {
|
|
10931
|
-
var
|
|
10931
|
+
var bt = wh(), hn = At(bt);
|
|
10932
10932
|
Re(() => {
|
|
10933
|
-
K(
|
|
10934
|
-
}), ae(tt,
|
|
10933
|
+
K(bt, "x", o(ze).x), K(bt, "y", o(ze).y), K(bt, "text-anchor", o(Pe)), An(hn, o(ce).point.label);
|
|
10934
|
+
}), ae(tt, bt);
|
|
10935
10935
|
};
|
|
10936
10936
|
ot(Gt, (tt) => {
|
|
10937
10937
|
e.element.showLabels && tt(Lt);
|
|
@@ -10987,13 +10987,13 @@ function Sh(t, e) {
|
|
|
10987
10987
|
var gt = Dh(), jt = Ht(gt), Yt = lt(jt);
|
|
10988
10988
|
{
|
|
10989
10989
|
var Ft = (tt) => {
|
|
10990
|
-
var
|
|
10990
|
+
var bt = _h(), hn = At(bt);
|
|
10991
10991
|
Re(
|
|
10992
10992
|
(an) => {
|
|
10993
|
-
K(
|
|
10993
|
+
K(bt, "x", o(Le).x), K(bt, "y", o(Le).y), An(hn, `${an ?? ""}%`);
|
|
10994
10994
|
},
|
|
10995
10995
|
[() => Math.round(o(ce).percentage * 100)]
|
|
10996
|
-
), ae(tt,
|
|
10996
|
+
), ae(tt, bt);
|
|
10997
10997
|
};
|
|
10998
10998
|
ot(Yt, (tt) => {
|
|
10999
10999
|
e.element.showValues && tt(Ft);
|
|
@@ -11002,10 +11002,10 @@ function Sh(t, e) {
|
|
|
11002
11002
|
var Gt = lt(Yt);
|
|
11003
11003
|
{
|
|
11004
11004
|
var Lt = (tt) => {
|
|
11005
|
-
var
|
|
11005
|
+
var bt = Ih(), hn = At(bt);
|
|
11006
11006
|
Re(() => {
|
|
11007
|
-
K(
|
|
11008
|
-
}), ae(tt,
|
|
11007
|
+
K(bt, "x", o(ze).x), K(bt, "y", o(ze).y), K(bt, "text-anchor", o(Pe)), An(hn, o(ce).point.label);
|
|
11008
|
+
}), ae(tt, bt);
|
|
11009
11009
|
};
|
|
11010
11010
|
ot(Gt, (tt) => {
|
|
11011
11011
|
e.element.showLabels && tt(Lt);
|
|
@@ -11260,7 +11260,7 @@ function vc(t) {
|
|
|
11260
11260
|
const { type: e, angle: n = 135, colors: A, stops: a, radialShape: r = "circle", radialPosition: s = "center" } = t, p = Ph(A, a);
|
|
11261
11261
|
return e === "conic" ? `conic-gradient(from ${n}deg at ${s}, ${p})` : e === "radial" ? `radial-gradient(${r} at ${s}, ${p})` : `linear-gradient(${n}deg, ${p})`;
|
|
11262
11262
|
}
|
|
11263
|
-
var qh = /* @__PURE__ */
|
|
11263
|
+
var qh = /* @__PURE__ */ It('<div class="label outside svelte-10tny4e"> </div>'), Yh = /* @__PURE__ */ It('<span class="label inside svelte-10tny4e"> </span>'), Oh = /* @__PURE__ */ It('<div class="bar-fill svelte-10tny4e"><!></div>'), Th = /* @__PURE__ */ It('<div class="bar-stripe-clip svelte-10tny4e"><div></div></div>'), Kh = /* @__PURE__ */ It('<span class="label inside-vertical svelte-10tny4e"> </span>'), Wh = /* @__PURE__ */ It('<div class="bar-track svelte-10tny4e"><!> <!></div>'), Jh = /* @__PURE__ */ rt('<circle cx="50" cy="50" fill="none"></circle>'), zh = /* @__PURE__ */ rt('<circle cx="50" cy="50" fill="none"></circle>'), Zh = /* @__PURE__ */ rt('<circle cx="50" cy="50" fill="none" stroke-linecap="round" class="ring-spin svelte-10tny4e"></circle>'), Vh = /* @__PURE__ */ rt("<stop></stop>"), Xh = /* @__PURE__ */ rt("<defs><linearGradient></linearGradient></defs>"), eC = /* @__PURE__ */ It('<div class="label center svelte-10tny4e"> </div>'), tC = /* @__PURE__ */ rt('<svg class="ring-svg svelte-10tny4e" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid meet"><g><!><!></g><!></svg><!>', 1), nC = /* @__PURE__ */ It('<div class="label outside svelte-10tny4e"> </div>'), AC = /* @__PURE__ */ It("<div><!> <!> <!></div>");
|
|
11264
11264
|
function aC(t, e) {
|
|
11265
11265
|
QA(e, !0);
|
|
11266
11266
|
let n = Bn(e, "isPresenting", 3, !1), A = Bn(e, "slideId", 3, ""), a = Bn(e, "previousElement", 3, null), r = /* @__PURE__ */ pt(0), s = null;
|
|
@@ -11537,7 +11537,7 @@ function aC(t, e) {
|
|
|
11537
11537
|
});
|
|
11538
11538
|
}), ae(t, Te), yA();
|
|
11539
11539
|
}
|
|
11540
|
-
var oC = /* @__PURE__ */
|
|
11540
|
+
var oC = /* @__PURE__ */ It('<div class="animot-container-element svelte-e5oeuv"></div>');
|
|
11541
11541
|
function rC(t, e) {
|
|
11542
11542
|
QA(e, !0);
|
|
11543
11543
|
const n = /* @__PURE__ */ R(() => e.element.fillColor || "transparent"), A = /* @__PURE__ */ R(() => e.element.borderWidth && e.element.borderColor ? `${e.element.borderWidth}px solid ${e.element.borderColor}` : "none");
|
|
@@ -11676,7 +11676,7 @@ function wo(t, e) {
|
|
|
11676
11676
|
}
|
|
11677
11677
|
};
|
|
11678
11678
|
}
|
|
11679
|
-
var sC = /* @__PURE__ */
|
|
11679
|
+
var sC = /* @__PURE__ */ It('<div class="icon-element svelte-2ld65o"></div>');
|
|
11680
11680
|
function cC(t, e) {
|
|
11681
11681
|
QA(e, !0);
|
|
11682
11682
|
const n = /* @__PURE__ */ R(() => () => {
|
|
@@ -12701,7 +12701,7 @@ async function DC(t) {
|
|
|
12701
12701
|
})
|
|
12702
12702
|
};
|
|
12703
12703
|
}
|
|
12704
|
-
var xC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="currentColor" class="svelte-1u59mvz"><rect x="6" y="5" width="4" height="14"></rect><rect x="14" y="5" width="4" height="14"></rect></svg>'), vC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="currentColor" class="svelte-1u59mvz"><polygon points="6 4 20 12 6 20 6 4"></polygon></svg>'), FC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-1u59mvz"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line></svg>'), MC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-1u59mvz"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>'), NC = /* @__PURE__ */
|
|
12704
|
+
var xC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="currentColor" class="svelte-1u59mvz"><rect x="6" y="5" width="4" height="14"></rect><rect x="14" y="5" width="4" height="14"></rect></svg>'), vC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="currentColor" class="svelte-1u59mvz"><polygon points="6 4 20 12 6 20 6 4"></polygon></svg>'), FC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-1u59mvz"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line></svg>'), MC = /* @__PURE__ */ rt('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-1u59mvz"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>'), NC = /* @__PURE__ */ It('<div class="custom-controls svelte-1u59mvz" role="toolbar" aria-label="Video controls"><button class="ctrl-btn svelte-1u59mvz"><!></button> <input class="scrub svelte-1u59mvz" type="range" min="0" step="0.1" aria-label="Seek"/> <span class="time svelte-1u59mvz"> </span> <button class="ctrl-btn svelte-1u59mvz"><!></button></div>'), SC = /* @__PURE__ */ It('<div class="embed-player svelte-1u59mvz"><iframe frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe> <!></div>');
|
|
12705
12705
|
function jC(t, e) {
|
|
12706
12706
|
QA(e, !0);
|
|
12707
12707
|
let n = Bn(e, "controlsOverlay", 3, !1), A = Bn(e, "passthroughClicks", 3, !1), a = /* @__PURE__ */ pt(null), r = /* @__PURE__ */ pt(null), s = /* @__PURE__ */ pt(!1), p = /* @__PURE__ */ pt(!0), d = /* @__PURE__ */ pt(0), g = /* @__PURE__ */ pt(0);
|
|
@@ -13257,7 +13257,7 @@ var rc = { exports: {} };
|
|
|
13257
13257
|
function F(i, u, c, l, m, h, C, _, Q, w) {
|
|
13258
13258
|
var j = w * (i - c) / 2 + Q * (u - l) / 2, k = -Q * (i - c) / 2 + w * (u - l) / 2, J = C * C, Ee = _ * _, Ze = j * j, qe = k * k, ct = J * Ee - J * qe - Ee * Ze;
|
|
13259
13259
|
ct < 0 && (ct = 0), ct /= J * qe + Ee * Ze, ct = Math.sqrt(ct) * (m === h ? -1 : 1);
|
|
13260
|
-
var nt = ct * C / _ * k, Ye = ct * -_ / C * j, Ne = w * nt - Q * Ye + (i + c) / 2, G = Q * nt + w * Ye + (u + l) / 2, U = (j - nt) / C,
|
|
13260
|
+
var nt = ct * C / _ * k, Ye = ct * -_ / C * j, Ne = w * nt - Q * Ye + (i + c) / 2, G = Q * nt + w * Ye + (u + l) / 2, U = (j - nt) / C, Dt = (k - Ye) / _, Vt = (-j - nt) / C, mt = (-k - Ye) / _, me = y(1, 0, U, Dt), it = y(U, Dt, Vt, mt);
|
|
13261
13261
|
return h === 0 && it > 0 && (it -= _A), h === 1 && it < 0 && (it += _A), [Ne, G, me, it];
|
|
13262
13262
|
}
|
|
13263
13263
|
function I(i, u) {
|
|
@@ -13335,7 +13335,7 @@ var rc = { exports: {} };
|
|
|
13335
13335
|
function ke(i, u, c, l, m, h, C, _, Q, w) {
|
|
13336
13336
|
var j = w * (i - c) / 2 + Q * (u - l) / 2, k = -Q * (i - c) / 2 + w * (u - l) / 2, J = C * C, Ee = _ * _, Ze = j * j, qe = k * k, ct = J * Ee - J * qe - Ee * Ze;
|
|
13337
13337
|
ct < 0 && (ct = 0), ct /= J * qe + Ee * Ze, ct = Math.sqrt(ct) * (m === h ? -1 : 1);
|
|
13338
|
-
var nt = ct * C / _ * k, Ye = ct * -_ / C * j, Ne = w * nt - Q * Ye + (i + c) / 2, G = Q * nt + w * Ye + (u + l) / 2, U = (j - nt) / C,
|
|
13338
|
+
var nt = ct * C / _ * k, Ye = ct * -_ / C * j, Ne = w * nt - Q * Ye + (i + c) / 2, G = Q * nt + w * Ye + (u + l) / 2, U = (j - nt) / C, Dt = (k - Ye) / _, Vt = (-j - nt) / C, mt = (-k - Ye) / _, me = be(1, 0, U, Dt), it = be(U, Dt, Vt, mt);
|
|
13339
13339
|
return h === 0 && it > 0 && (it -= Y), h === 1 && it < 0 && (it += Y), [Ne, G, me, it];
|
|
13340
13340
|
}
|
|
13341
13341
|
function ve(i, u) {
|
|
@@ -13560,13 +13560,13 @@ var rc = { exports: {} };
|
|
|
13560
13560
|
function Lt(i, u, c, l) {
|
|
13561
13561
|
var m, h, C, _, Q, w = [];
|
|
13562
13562
|
for (m = 0, h = u.length; m < h; m++) C = u[m] * l, _ = m < h - 1 ? u[m + 1] * l : i.length, Q = Pe(i, C, _, l, !1), Q === Q.next && (Q.steiner = !0), w.push(cA(Q));
|
|
13563
|
-
for (w.sort(tt), m = 0; m < w.length; m++)
|
|
13563
|
+
for (w.sort(tt), m = 0; m < w.length; m++) bt(w[m], c), c = Ke(c, c.next);
|
|
13564
13564
|
return c;
|
|
13565
13565
|
}
|
|
13566
13566
|
function tt(i, u) {
|
|
13567
13567
|
return i.x - u.x;
|
|
13568
13568
|
}
|
|
13569
|
-
function
|
|
13569
|
+
function bt(i, u) {
|
|
13570
13570
|
if (u = hn(i, u)) {
|
|
13571
13571
|
var c = Ct(u, i);
|
|
13572
13572
|
Ke(c, c.next);
|
|
@@ -13806,7 +13806,7 @@ var rc = { exports: {} };
|
|
|
13806
13806
|
for (var c = i.objects.triangles.geometries, l = Xe(function(m) {
|
|
13807
13807
|
return m.area;
|
|
13808
13808
|
}).left; c.length > u; ) (function() {
|
|
13809
|
-
var m = c[0], h =
|
|
13809
|
+
var m = c[0], h = Bt(c)[0][0], C = c[h], _ = Mi(i, [m, C]);
|
|
13810
13810
|
_.area = m.area + C.area, _.type = "Polygon", _.arcs = _.arcs[0], c.splice(h, 1), c.shift(), c.splice(l(c, _.area), 0, _);
|
|
13811
13811
|
})();
|
|
13812
13812
|
if (u > c.length) throw new RangeError("Can't collapse topology into " + u + " pieces.");
|
|
@@ -14055,9 +14055,9 @@ var rc = { exports: {} };
|
|
|
14055
14055
|
for (var Ne = 0; Ne < Ye; Ne++) qe.push(I(ct, nt)), ct += nt;
|
|
14056
14056
|
return qe.map(function(G) {
|
|
14057
14057
|
for (var U = 0; U < G.length; U += 2) {
|
|
14058
|
-
var
|
|
14059
|
-
|
|
14060
|
-
var mt = j *
|
|
14058
|
+
var Dt = G[U + 0], Vt = G[U + 1];
|
|
14059
|
+
Dt *= C, Vt *= _;
|
|
14060
|
+
var mt = j * Dt - w * Vt, me = w * Dt + j * Vt;
|
|
14061
14061
|
G[U + 0] = mt + Ze[0], G[U + 1] = me + Ze[1];
|
|
14062
14062
|
}
|
|
14063
14063
|
return G;
|
|
@@ -14268,9 +14268,9 @@ var rc = { exports: {} };
|
|
|
14268
14268
|
for (var Ne = 0; Ne < Ye; Ne++) qe.push(ve(ct, nt)), ct += nt;
|
|
14269
14269
|
return qe.map(function(G) {
|
|
14270
14270
|
for (var U = 0; U < G.length; U += 2) {
|
|
14271
|
-
var
|
|
14272
|
-
|
|
14273
|
-
var mt = j *
|
|
14271
|
+
var Dt = G[U + 0], Vt = G[U + 1];
|
|
14272
|
+
Dt *= c, Vt *= l;
|
|
14273
|
+
var mt = j * Dt - w * Vt, me = w * Dt + j * Vt;
|
|
14274
14274
|
G[U + 0] = mt + Ze[0], G[U + 1] = me + Ze[1];
|
|
14275
14275
|
}
|
|
14276
14276
|
return G;
|
|
@@ -14439,7 +14439,7 @@ Example valid ways of supplying a shape would be:
|
|
|
14439
14439
|
i[m] < u ? c = m + 1 : l = m;
|
|
14440
14440
|
}
|
|
14441
14441
|
return c;
|
|
14442
|
-
},
|
|
14442
|
+
}, Bt = function(i) {
|
|
14443
14443
|
function u(qe, ct) {
|
|
14444
14444
|
qe.forEach(function(nt) {
|
|
14445
14445
|
nt < 0 && (nt = ~nt);
|
|
@@ -14910,7 +14910,7 @@ function BE(t, e, n, A, a, r, s, p, d) {
|
|
|
14910
14910
|
return "";
|
|
14911
14911
|
}
|
|
14912
14912
|
}
|
|
14913
|
-
var hE = /* @__PURE__ */
|
|
14913
|
+
var hE = /* @__PURE__ */ It('<div class="animot-loading svelte-16ocdv9"><div class="animot-skeleton svelte-16ocdv9"></div></div>'), CE = /* @__PURE__ */ It('<div class="animot-error svelte-16ocdv9"> </div>'), EE = /* @__PURE__ */ It('<div class="animot-window-controls svelte-16ocdv9"><span class="animot-control close svelte-16ocdv9"></span> <span class="animot-control minimize svelte-16ocdv9"></span> <span class="animot-control maximize svelte-16ocdv9"></span></div>'), wE = /* @__PURE__ */ It('<div class="animot-window-controls svelte-16ocdv9"><span class="animot-control win-minimize svelte-16ocdv9"><svg width="10" height="10" viewBox="0 0 10 10" class="svelte-16ocdv9"><path d="M2 5h6" stroke="currentColor" stroke-width="1.2" class="svelte-16ocdv9"></path></svg></span> <span class="animot-control win-maximize svelte-16ocdv9"><svg width="10" height="10" viewBox="0 0 10 10" class="svelte-16ocdv9"><rect x="1.5" y="1.5" width="7" height="7" rx="0.5" fill="none" stroke="currentColor" stroke-width="1.2" class="svelte-16ocdv9"></rect></svg></span> <span class="animot-control win-close svelte-16ocdv9"><svg width="10" height="10" viewBox="0 0 10 10" class="svelte-16ocdv9"><path d="M2 2l6 6M8 2l-6 6" stroke="currentColor" stroke-width="1.2" class="svelte-16ocdv9"></path></svg></span></div>'), QE = /* @__PURE__ */ It('<div><!> <div class="animot-filename-tab svelte-16ocdv9"><svg class="animot-file-icon svelte-16ocdv9" width="14" height="14" viewBox="0 0 16 16" fill="none"><path d="M4 1h5.5L13 4.5V14a1 1 0 01-1 1H4a1 1 0 01-1-1V2a1 1 0 011-1z" stroke="currentColor" stroke-width="1.2" opacity="0.5" class="svelte-16ocdv9"></path><path d="M9.5 1v3.5H13" stroke="currentColor" stroke-width="1.2" opacity="0.5" class="svelte-16ocdv9"></path></svg> <span class="animot-filename svelte-16ocdv9"> </span></div> <button class="animot-copy-code-btn svelte-16ocdv9"><span class="animot-copy-label svelte-16ocdv9">Copy</span><span class="animot-copied-label svelte-16ocdv9">Copied!</span> <svg class="animot-copy-icon svelte-16ocdv9" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" class="svelte-16ocdv9"></rect><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1" class="svelte-16ocdv9"></path></svg> <svg class="animot-check-icon svelte-16ocdv9" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="20 6 9 17 4 12" class="svelte-16ocdv9"></polyline></svg></button></div>'), yE = /* @__PURE__ */ It('<button class="animot-copy-code-btn animot-floating svelte-16ocdv9"><span class="animot-copy-label svelte-16ocdv9">Copy</span><span class="animot-copied-label svelte-16ocdv9">Copied!</span> <svg class="animot-copy-icon svelte-16ocdv9" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" class="svelte-16ocdv9"></rect><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1" class="svelte-16ocdv9"></path></svg> <svg class="animot-check-icon svelte-16ocdv9" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="20 6 9 17 4 12" class="svelte-16ocdv9"></polyline></svg></button>'), kE = /* @__PURE__ */ It('<div><!> <div class="animot-code-content svelte-16ocdv9"><div class="animot-highlighted-code svelte-16ocdv9"><!></div></div></div>'), _E = /* @__PURE__ */ It('<span class="animot-typewriter-cursor svelte-16ocdv9">|</span>'), IE = /* @__PURE__ */ It(" <!>", 1), DE = /* @__PURE__ */ It('<div class="animot-text-element svelte-16ocdv9"><!></div>'), xE = /* @__PURE__ */ rt('<path class="arrow-head svelte-16ocdv9" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>'), vE = /* @__PURE__ */ rt('<svg preserveAspectRatio="none"><path class="arrow-path svelte-16ocdv9" fill="none" stroke-linecap="round" stroke-linejoin="round"></path><!><!></svg>'), FE = /* @__PURE__ */ It('<img class="animot-image-element svelte-16ocdv9" alt=""/>'), ME = /* @__PURE__ */ It('<div class="animot-video-element animot-embed-wrap svelte-16ocdv9"><!></div>'), NE = /* @__PURE__ */ It('<video class="animot-video-element svelte-16ocdv9" playsinline="" preload="auto"></video>', 2), SE = /* @__PURE__ */ rt('<path fill-rule="evenodd" class="svelte-16ocdv9"></path>'), jE = /* @__PURE__ */ rt('<path class="svelte-16ocdv9"></path>'), GE = /* @__PURE__ */ rt('<svg class="animot-shape-element svelte-16ocdv9" width="100%" height="100%" preserveAspectRatio="none"><!></svg>'), LE = /* @__PURE__ */ rt('<svg class="animot-shape-element svelte-16ocdv9"></svg>'), RE = /* @__PURE__ */ rt('<path fill-rule="evenodd" class="svelte-16ocdv9"></path>'), $E = /* @__PURE__ */ rt('<svg class="animot-svg-element svelte-16ocdv9" width="100%" height="100%" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"></svg>'), HE = /* @__PURE__ */ It('<div class="animot-svg-element svelte-16ocdv9"><svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" class="svelte-16ocdv9"><g class="svelte-16ocdv9"></g></svg></div>'), PE = /* @__PURE__ */ rt('<svg width="100%" height="100%" style="position:absolute;top:0;left:0;pointer-events:none;overflow:visible;" class="svelte-16ocdv9"><path fill="none" stroke-dasharray="8 4" class="svelte-16ocdv9"></path></svg>'), UE = /* @__PURE__ */ rt('<path fill-rule="evenodd" class="svelte-16ocdv9"></path>'), qE = /* @__PURE__ */ rt('<path class="svelte-16ocdv9"></path>'), YE = /* @__PURE__ */ rt('<path class="svelte-16ocdv9"></path>'), OE = /* @__PURE__ */ rt('<svg class="animot-draw-element svelte-16ocdv9" width="100%" height="100%" preserveAspectRatio="none" style="display:block;overflow:visible;" xmlns="http://www.w3.org/2000/svg"><!></svg>'), TE = /* @__PURE__ */ It('<div class="animot-sticky-element svelte-16ocdv9"><div class="animot-sticky-sheen svelte-16ocdv9"></div> <div class="animot-sticky-fold svelte-16ocdv9"></div> <div class="animot-sticky-text svelte-16ocdv9"> </div></div>'), KE = /* @__PURE__ */ It("<div><!></div>"), WE = /* @__PURE__ */ It('<button class="animot-arrow animot-arrow-left svelte-16ocdv9" aria-label="Previous slide"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-16ocdv9"><path d="M15 18l-6-6 6-6" class="svelte-16ocdv9"></path></svg></button> <button class="animot-arrow animot-arrow-right svelte-16ocdv9" aria-label="Next slide"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-16ocdv9"><path d="M9 18l6-6-6-6" class="svelte-16ocdv9"></path></svg></button>', 1), JE = /* @__PURE__ */ rt('<rect x="6" y="4" width="4" height="16" class="svelte-16ocdv9"></rect><rect x="14" y="4" width="4" height="16" class="svelte-16ocdv9"></rect>', 1), zE = /* @__PURE__ */ rt('<polygon points="5 3 19 12 5 21 5 3" class="svelte-16ocdv9"></polygon>'), ZE = /* @__PURE__ */ It('<div class="animot-controls svelte-16ocdv9"><button aria-label="Previous" class="svelte-16ocdv9"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-16ocdv9"><path d="M19 12H5M12 19l-7-7 7-7" class="svelte-16ocdv9"></path></svg></button> <span class="animot-slide-indicator svelte-16ocdv9"> </span> <button aria-label="Next" class="svelte-16ocdv9"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-16ocdv9"><path d="M5 12h14M12 5l7 7-7 7" class="svelte-16ocdv9"></path></svg></button> <button><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="svelte-16ocdv9"><!></svg></button></div>'), VE = /* @__PURE__ */ It('<div class="animot-progress-bar svelte-16ocdv9"><div class="animot-progress-fill svelte-16ocdv9"></div></div>'), XE = /* @__PURE__ */ It('<div class="animot-canvas-wrapper svelte-16ocdv9"><div><!> <!> <div></div></div></div> <!> <!> <!>', 1), ew = /* @__PURE__ */ It('<div role="region" aria-label="Animot Presentation"><!></div>');
|
|
14914
14914
|
function tw(t, e) {
|
|
14915
14915
|
QA(e, !0);
|
|
14916
14916
|
function n(x) {
|
|
@@ -15033,16 +15033,16 @@ function tw(t, e) {
|
|
|
15033
15033
|
Y.set(He.id, He.easing(Ue)), Ue < 1 && (le = !1);
|
|
15034
15034
|
}
|
|
15035
15035
|
if (V(Lt, Y, !0), !le)
|
|
15036
|
-
|
|
15036
|
+
bt = requestAnimationFrame(te);
|
|
15037
15037
|
else {
|
|
15038
|
-
|
|
15038
|
+
bt = null;
|
|
15039
15039
|
const He = new Map(o(Lt)), Ue = new Map(o(Ft));
|
|
15040
15040
|
for (const Et of x)
|
|
15041
15041
|
He.delete(Et.id), Ue.delete(Et.id);
|
|
15042
15042
|
V(Lt, He, !0), V(Ft, Ue, !0);
|
|
15043
15043
|
}
|
|
15044
15044
|
};
|
|
15045
|
-
|
|
15045
|
+
bt = requestAnimationFrame(te);
|
|
15046
15046
|
}
|
|
15047
15047
|
function he(x, P) {
|
|
15048
15048
|
var H, ne, Y;
|
|
@@ -15080,7 +15080,7 @@ function tw(t, e) {
|
|
|
15080
15080
|
o(Lt).size > 0 && V(Lt, new Map(o(Lt)), !0);
|
|
15081
15081
|
}
|
|
15082
15082
|
function re(x, P) {
|
|
15083
|
-
var ne, Y, le, He, Ue, Et, ft, Mt, ie, Pt, et, wt, Jt, pn, Nn, Wn, Ot,
|
|
15083
|
+
var ne, Y, le, He, Ue, Et, ft, Mt, ie, Pt, et, wt, Jt, pn, Nn, Wn, Ot, Bt, _e, Xe, mn;
|
|
15084
15084
|
F();
|
|
15085
15085
|
const te = x.canvas.elements.some((kt) => kt.keyframes && kt.keyframes.length > 0);
|
|
15086
15086
|
if (o(y).size > 0 && V(y, /* @__PURE__ */ new Map(), !0), o(Gt).size > 0 && V(Gt, /* @__PURE__ */ new Map(), !0), !te) return;
|
|
@@ -15091,7 +15091,7 @@ function tw(t, e) {
|
|
|
15091
15091
|
const i = o(Be).get(kt.id);
|
|
15092
15092
|
if (!i) continue;
|
|
15093
15093
|
const u = [...kt.keyframes].sort((w, j) => w.time - j.time), c = u[0], m = (P == null ? void 0 : P.canvas.elements.find((w) => w.id === kt.id)) ? Math.max(50, c.time || 600) : 0, h = M("ease-in-out");
|
|
15094
|
-
c.position && ((ne = i.x) == null || ne.to(c.position.x, { duration: m, easing: h }), (Y = i.y) == null || Y.to(c.position.y, { duration: m, easing: h })), c.size && ((le = i.width) == null || le.to(c.size.width, { duration: m, easing: h }), (He = i.height) == null || He.to(c.size.height, { duration: m, easing: h })), c.rotation !== void 0 && ((Ue = i.rotation) == null || Ue.to(c.rotation, { duration: m, easing: h })), c.opacity !== void 0 && ((Et = i.opacity) == null || Et.to(c.opacity, { duration: 0 })), c.skewX !== void 0 && ((ft = i.skewX) == null || ft.to(c.skewX, { duration: m, easing: h })), c.skewY !== void 0 && ((Mt = i.skewY) == null || Mt.to(c.skewY, { duration: m, easing: h })), c.tiltX !== void 0 && ((ie = i.tiltX) == null || ie.to(c.tiltX, { duration: 0 })), c.tiltY !== void 0 && ((Pt = i.tiltY) == null || Pt.to(c.tiltY, { duration: 0 })), c.borderRadius !== void 0 && ((et = i.borderRadius) == null || et.to(c.borderRadius, { duration: 0 })), c.fontSize !== void 0 && ((wt = i.fontSize) == null || wt.to(c.fontSize, { duration: 0 })), c.fillColor !== void 0 && ((Jt = i.fillColor) == null || Jt.to(c.fillColor, { duration: 0 })), c.strokeColor !== void 0 && ((pn = i.strokeColor) == null || pn.to(c.strokeColor, { duration: 0 })), c.strokeWidth !== void 0 && ((Nn = i.strokeWidth) == null || Nn.to(c.strokeWidth, { duration: 0 })), c.blur !== void 0 && ((Wn = i.blur) == null || Wn.to(c.blur, { duration: 0 })), c.brightness !== void 0 && ((Ot = i.brightness) == null || Ot.to(c.brightness, { duration: 0 })), c.contrast !== void 0 && ((
|
|
15094
|
+
c.position && ((ne = i.x) == null || ne.to(c.position.x, { duration: m, easing: h }), (Y = i.y) == null || Y.to(c.position.y, { duration: m, easing: h })), c.size && ((le = i.width) == null || le.to(c.size.width, { duration: m, easing: h }), (He = i.height) == null || He.to(c.size.height, { duration: m, easing: h })), c.rotation !== void 0 && ((Ue = i.rotation) == null || Ue.to(c.rotation, { duration: m, easing: h })), c.opacity !== void 0 && ((Et = i.opacity) == null || Et.to(c.opacity, { duration: 0 })), c.skewX !== void 0 && ((ft = i.skewX) == null || ft.to(c.skewX, { duration: m, easing: h })), c.skewY !== void 0 && ((Mt = i.skewY) == null || Mt.to(c.skewY, { duration: m, easing: h })), c.tiltX !== void 0 && ((ie = i.tiltX) == null || ie.to(c.tiltX, { duration: 0 })), c.tiltY !== void 0 && ((Pt = i.tiltY) == null || Pt.to(c.tiltY, { duration: 0 })), c.borderRadius !== void 0 && ((et = i.borderRadius) == null || et.to(c.borderRadius, { duration: 0 })), c.fontSize !== void 0 && ((wt = i.fontSize) == null || wt.to(c.fontSize, { duration: 0 })), c.fillColor !== void 0 && ((Jt = i.fillColor) == null || Jt.to(c.fillColor, { duration: 0 })), c.strokeColor !== void 0 && ((pn = i.strokeColor) == null || pn.to(c.strokeColor, { duration: 0 })), c.strokeWidth !== void 0 && ((Nn = i.strokeWidth) == null || Nn.to(c.strokeWidth, { duration: 0 })), c.blur !== void 0 && ((Wn = i.blur) == null || Wn.to(c.blur, { duration: 0 })), c.brightness !== void 0 && ((Ot = i.brightness) == null || Ot.to(c.brightness, { duration: 0 })), c.contrast !== void 0 && ((Bt = i.contrast) == null || Bt.to(c.contrast, { duration: 0 })), c.saturate !== void 0 && ((_e = i.saturate) == null || _e.to(c.saturate, { duration: 0 })), c.grayscale !== void 0 && ((Xe = i.grayscale) == null || Xe.to(c.grayscale, { duration: 0 })), c.backgroundColor !== void 0 && I(kt.id, "backgroundColor", c.backgroundColor), c.color !== void 0 && I(kt.id, "color", c.color);
|
|
15095
15095
|
const C = a(kt), _ = (mn = Is(kt)) == null ? void 0 : mn.viewBox;
|
|
15096
15096
|
if (c.path && i.pathMorph) {
|
|
15097
15097
|
const w = P == null ? void 0 : P.canvas.elements.find((k) => k.id === kt.id);
|
|
@@ -15129,10 +15129,10 @@ function tw(t, e) {
|
|
|
15129
15129
|
w.path && (Q = w.path);
|
|
15130
15130
|
const k = u.indexOf(w), J = k <= 1 ? u[0].time : u[k - 1].time, Ee = setTimeout(
|
|
15131
15131
|
() => {
|
|
15132
|
-
var Ye, Ne, G, U,
|
|
15132
|
+
var Ye, Ne, G, U, Dt, Vt, mt, me, it, tn, je, cn, Se, dA, PA, tA, Ra, we, v, Ve;
|
|
15133
15133
|
if (H.aborted) return;
|
|
15134
15134
|
const Ze = M(w.easing), qe = u.indexOf(w), ct = qe === 0 ? 0 : u[qe - 1].time, nt = Math.max(50, w.time - ct);
|
|
15135
|
-
w.position && ((Ye = i.x) == null || Ye.to(w.position.x, { duration: nt, easing: Ze }), (Ne = i.y) == null || Ne.to(w.position.y, { duration: nt, easing: Ze })), w.size && ((G = i.width) == null || G.to(w.size.width, { duration: nt, easing: Ze }), (U = i.height) == null || U.to(w.size.height, { duration: nt, easing: Ze })), w.rotation !== void 0 && ((
|
|
15135
|
+
w.position && ((Ye = i.x) == null || Ye.to(w.position.x, { duration: nt, easing: Ze }), (Ne = i.y) == null || Ne.to(w.position.y, { duration: nt, easing: Ze })), w.size && ((G = i.width) == null || G.to(w.size.width, { duration: nt, easing: Ze }), (U = i.height) == null || U.to(w.size.height, { duration: nt, easing: Ze })), w.rotation !== void 0 && ((Dt = i.rotation) == null || Dt.to(w.rotation, { duration: nt, easing: Ze })), w.opacity !== void 0 && ((Vt = i.opacity) == null || Vt.to(w.opacity, { duration: nt, easing: Ze })), w.skewX !== void 0 && ((mt = i.skewX) == null || mt.to(w.skewX, { duration: nt, easing: Ze })), w.skewY !== void 0 && ((me = i.skewY) == null || me.to(w.skewY, { duration: nt, easing: Ze })), w.tiltX !== void 0 && ((it = i.tiltX) == null || it.to(w.tiltX, { duration: nt, easing: Ze })), w.tiltY !== void 0 && ((tn = i.tiltY) == null || tn.to(w.tiltY, { duration: nt, easing: Ze })), w.borderRadius !== void 0 && ((je = i.borderRadius) == null || je.to(w.borderRadius, { duration: nt, easing: Ze })), w.fontSize !== void 0 && ((cn = i.fontSize) == null || cn.to(w.fontSize, { duration: nt, easing: Ze })), w.fillColor !== void 0 && ((Se = i.fillColor) == null || Se.to(w.fillColor, { duration: nt, easing: Ze })), w.strokeColor !== void 0 && ((dA = i.strokeColor) == null || dA.to(w.strokeColor, { duration: nt, easing: Ze })), w.strokeWidth !== void 0 && ((PA = i.strokeWidth) == null || PA.to(w.strokeWidth, { duration: nt, easing: Ze })), w.blur !== void 0 && ((tA = i.blur) == null || tA.to(w.blur, { duration: nt, easing: Ze })), w.brightness !== void 0 && ((Ra = i.brightness) == null || Ra.to(w.brightness, { duration: nt, easing: Ze })), w.contrast !== void 0 && ((we = i.contrast) == null || we.to(w.contrast, { duration: nt, easing: Ze })), w.saturate !== void 0 && ((v = i.saturate) == null || v.to(w.saturate, { duration: nt, easing: Ze })), w.grayscale !== void 0 && ((Ve = i.grayscale) == null || Ve.to(w.grayscale, { duration: nt, easing: Ze })), w.backgroundColor !== void 0 && I(kt.id, "backgroundColor", w.backgroundColor), w.color !== void 0 && I(kt.id, "color", w.color), w.path && j && w.path !== j && i.pathMorph && (o(Gt).set(kt.id, {
|
|
15136
15136
|
interp: Xu(j, w.path),
|
|
15137
15137
|
fromColor: C,
|
|
15138
15138
|
toColor: C,
|
|
@@ -15172,13 +15172,13 @@ function tw(t, e) {
|
|
|
15172
15172
|
if (x.length < 2) return { x: ((Ue = x[0]) == null ? void 0 : Ue.x) ?? 0, y: ((Et = x[0]) == null ? void 0 : Et.y) ?? 0, angle: 0 };
|
|
15173
15173
|
const H = [], ne = P ? x.length : x.length - 1;
|
|
15174
15174
|
for (let et = 0; et < ne; et++) {
|
|
15175
|
-
const wt = x[et], Jt = x[(et + 1) % x.length], pn = wt.x, Nn = wt.y, Wn = wt.x + (((ft = wt.handleOut) == null ? void 0 : ft.x) ?? 0), Ot = wt.y + (((Mt = wt.handleOut) == null ? void 0 : Mt.y) ?? 0),
|
|
15175
|
+
const wt = x[et], Jt = x[(et + 1) % x.length], pn = wt.x, Nn = wt.y, Wn = wt.x + (((ft = wt.handleOut) == null ? void 0 : ft.x) ?? 0), Ot = wt.y + (((Mt = wt.handleOut) == null ? void 0 : Mt.y) ?? 0), Bt = Jt.x + (((ie = Jt.handleIn) == null ? void 0 : ie.x) ?? 0), _e = Jt.y + (((Pt = Jt.handleIn) == null ? void 0 : Pt.y) ?? 0), Xe = Jt.x, mn = Jt.y;
|
|
15176
15176
|
let kt = 0, i = pn, u = Nn;
|
|
15177
15177
|
for (let c = 1; c <= 20; c++) {
|
|
15178
|
-
const l = c / 20, m = $e(pn, Wn,
|
|
15178
|
+
const l = c / 20, m = $e(pn, Wn, Bt, Xe, l), h = $e(Nn, Ot, _e, mn, l);
|
|
15179
15179
|
kt += Math.sqrt((m - i) ** 2 + (h - u) ** 2), i = m, u = h;
|
|
15180
15180
|
}
|
|
15181
|
-
H.push({ p0x: pn, p0y: Nn, p1x: Wn, p1y: Ot, p2x:
|
|
15181
|
+
H.push({ p0x: pn, p0y: Nn, p1x: Wn, p1y: Ot, p2x: Bt, p2y: _e, p3x: Xe, p3y: mn, length: kt });
|
|
15182
15182
|
}
|
|
15183
15183
|
const Y = H.reduce((et, wt) => et + wt.length, 0), le = te * Y;
|
|
15184
15184
|
let He = 0;
|
|
@@ -15246,9 +15246,9 @@ function tw(t, e) {
|
|
|
15246
15246
|
);
|
|
15247
15247
|
ye.set(Et, Mt);
|
|
15248
15248
|
}
|
|
15249
|
-
let ee = /* @__PURE__ */ pt(0), Ae = /* @__PURE__ */ pt(!1), Ce = /* @__PURE__ */ pt(""), De = /* @__PURE__ */ pt("forward"), Me = /* @__PURE__ */ pt(500), ce, at = /* @__PURE__ */ pt(0), Ge = /* @__PURE__ */ pt(0), Be = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), W = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), pe = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Le = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), ze = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Pe = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Ke = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), gt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), jt = /* @__PURE__ */ new Map(), Yt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Ft = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Gt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Lt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), tt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())),
|
|
15249
|
+
let ee = /* @__PURE__ */ pt(0), Ae = /* @__PURE__ */ pt(!1), Ce = /* @__PURE__ */ pt(""), De = /* @__PURE__ */ pt("forward"), Me = /* @__PURE__ */ pt(500), ce, at = /* @__PURE__ */ pt(0), Ge = /* @__PURE__ */ pt(0), Be = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), W = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), pe = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Le = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), ze = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Pe = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Ke = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), gt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), jt = /* @__PURE__ */ new Map(), Yt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Ft = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Gt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), Lt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), tt = /* @__PURE__ */ pt(wn(/* @__PURE__ */ new Map())), bt = null;
|
|
15250
15250
|
function hn() {
|
|
15251
|
-
|
|
15251
|
+
bt !== null && typeof cancelAnimationFrame < "u" && cancelAnimationFrame(bt), bt = null;
|
|
15252
15252
|
}
|
|
15253
15253
|
let an = /* @__PURE__ */ new Map();
|
|
15254
15254
|
function In() {
|
|
@@ -15379,7 +15379,7 @@ function tw(t, e) {
|
|
|
15379
15379
|
if (!o(Be).has(H.id)) {
|
|
15380
15380
|
const ne = Mn(o(Ct), H.id);
|
|
15381
15381
|
let Y = ne ? ne.opacity ?? 1 : 0;
|
|
15382
|
-
const le = H.borderRadius ?? 0, Ue = H.type === "shape" ? H : null, ft = H.type === "text" ? H : null, Mt = H.keyframes && H.keyframes.length > 0 ? [...H.keyframes].sort((_, Q) => _.time - Q.time) : null, ie = Mt ? Mt[0] : null, Pt = ie != null && ie.position ? ie.position.x : H.position.x, et = ie != null && ie.position ? ie.position.y : H.position.y, wt = ie != null && ie.size ? ie.size.width : H.size.width, Jt = ie != null && ie.size ? ie.size.height : H.size.height, pn = (ie == null ? void 0 : ie.rotation) !== void 0 ? ie.rotation : H.rotation, Nn = (ie == null ? void 0 : ie.skewX) !== void 0 ? ie.skewX : H.skewX ?? 0, Wn = (ie == null ? void 0 : ie.skewY) !== void 0 ? ie.skewY : H.skewY ?? 0, Ot = (ie == null ? void 0 : ie.tiltX) !== void 0 ? ie.tiltX : H.tiltX ?? 0,
|
|
15382
|
+
const le = H.borderRadius ?? 0, Ue = H.type === "shape" ? H : null, ft = H.type === "text" ? H : null, Mt = H.keyframes && H.keyframes.length > 0 ? [...H.keyframes].sort((_, Q) => _.time - Q.time) : null, ie = Mt ? Mt[0] : null, Pt = ie != null && ie.position ? ie.position.x : H.position.x, et = ie != null && ie.position ? ie.position.y : H.position.y, wt = ie != null && ie.size ? ie.size.width : H.size.width, Jt = ie != null && ie.size ? ie.size.height : H.size.height, pn = (ie == null ? void 0 : ie.rotation) !== void 0 ? ie.rotation : H.rotation, Nn = (ie == null ? void 0 : ie.skewX) !== void 0 ? ie.skewX : H.skewX ?? 0, Wn = (ie == null ? void 0 : ie.skewY) !== void 0 ? ie.skewY : H.skewY ?? 0, Ot = (ie == null ? void 0 : ie.tiltX) !== void 0 ? ie.tiltX : H.tiltX ?? 0, Bt = (ie == null ? void 0 : ie.tiltY) !== void 0 ? ie.tiltY : H.tiltY ?? 0;
|
|
15383
15383
|
(ie == null ? void 0 : ie.opacity) !== void 0 && (Y = ie.opacity);
|
|
15384
15384
|
const _e = (ie == null ? void 0 : ie.borderRadius) !== void 0 ? ie.borderRadius : le, Xe = (ie == null ? void 0 : ie.fontSize) !== void 0 ? ie.fontSize : ft ? ft.fontSize : 0, mn = (ie == null ? void 0 : ie.fillColor) !== void 0 ? ie.fillColor : Ue ? Ue.fillColor : "", kt = (ie == null ? void 0 : ie.strokeColor) !== void 0 ? ie.strokeColor : Ue ? Ue.strokeColor : "", i = (ie == null ? void 0 : ie.strokeWidth) !== void 0 ? ie.strokeWidth : Ue ? Ue.strokeWidth : 0, u = (ie == null ? void 0 : ie.blur) !== void 0 ? ie.blur : H.blur ?? 0, c = (ie == null ? void 0 : ie.brightness) !== void 0 ? ie.brightness : H.brightness ?? 100, l = (ie == null ? void 0 : ie.contrast) !== void 0 ? ie.contrast : H.contrast ?? 100, m = (ie == null ? void 0 : ie.saturate) !== void 0 ? ie.saturate : H.saturate ?? 100, h = (ie == null ? void 0 : ie.grayscale) !== void 0 ? ie.grayscale : H.grayscale ?? 0;
|
|
15385
15385
|
o(Be).set(H.id, {
|
|
@@ -15391,7 +15391,7 @@ function tw(t, e) {
|
|
|
15391
15391
|
skewX: A(Nn, { duration: 500 }),
|
|
15392
15392
|
skewY: A(Wn, { duration: 500 }),
|
|
15393
15393
|
tiltX: A(Ot, { duration: 500 }),
|
|
15394
|
-
tiltY: A(
|
|
15394
|
+
tiltY: A(Bt, { duration: 500 }),
|
|
15395
15395
|
perspective: A(H.perspective ?? 1e3, { duration: 500 }),
|
|
15396
15396
|
opacity: A(Y, { duration: 300 }),
|
|
15397
15397
|
borderRadius: A(_e, { duration: 500 }),
|
|
@@ -15492,7 +15492,7 @@ function tw(t, e) {
|
|
|
15492
15492
|
re(x), ja(x), Ko(0), (H = e.onslidechange) == null || H.call(e, 0, o(en).length);
|
|
15493
15493
|
}
|
|
15494
15494
|
async function eA(x) {
|
|
15495
|
-
var wt, Jt, pn, Nn, Wn, Ot,
|
|
15495
|
+
var wt, Jt, pn, Nn, Wn, Ot, Bt, _e, Xe, mn, kt, i, u, c, l, m, h, C, _, Q, w, j, k, J, Ee, Ze, qe, ct, nt;
|
|
15496
15496
|
if (o(Fe) || x < 0 || x >= o(en).length || x === o(de)) return;
|
|
15497
15497
|
V(Fe, !0), V(De, x > o(de) ? "forward" : "backward", !0);
|
|
15498
15498
|
const P = o(en)[x], te = o(en)[o(de)];
|
|
@@ -15513,7 +15513,7 @@ function tw(t, e) {
|
|
|
15513
15513
|
Se && setTimeout(() => Se.opacity.to(0, { duration: 0 }), je);
|
|
15514
15514
|
}
|
|
15515
15515
|
Ye > 0 && await new Promise((mt) => setTimeout(mt, Ye)), V(Ce, `transition-${H.type}-out`), await new Promise((mt) => setTimeout(mt, ne * 0.4));
|
|
15516
|
-
const Ne = new Map(o(pe)), G = new Map(o(Ke)), U = new Map(o(Le)),
|
|
15516
|
+
const Ne = new Map(o(pe)), G = new Map(o(Ke)), U = new Map(o(Le)), Dt = new Map(o(ze)), Vt = new Map(o(Pe));
|
|
15517
15517
|
for (const mt of o(uA)) {
|
|
15518
15518
|
const me = Mn(P, mt), it = o(Be).get(mt);
|
|
15519
15519
|
if (me) {
|
|
@@ -15529,14 +15529,14 @@ function tw(t, e) {
|
|
|
15529
15529
|
}
|
|
15530
15530
|
if (me.type === "chart") {
|
|
15531
15531
|
const tn = o(pe).get(mt);
|
|
15532
|
-
tn && tn.type === "chart" &&
|
|
15532
|
+
tn && tn.type === "chart" && Dt.set(mt, JSON.parse(JSON.stringify(tn)));
|
|
15533
15533
|
}
|
|
15534
15534
|
if (me.type === "progress") {
|
|
15535
15535
|
const tn = o(pe).get(mt);
|
|
15536
15536
|
tn && tn.type === "progress" && Vt.set(mt, JSON.parse(JSON.stringify(tn)));
|
|
15537
15537
|
}
|
|
15538
15538
|
if (Ne.set(mt, JSON.parse(JSON.stringify(me))), it) {
|
|
15539
|
-
if (it.x.to(me.position.x, { duration: 0 }), it.y.to(me.position.y, { duration: 0 }), it.width.to(me.size.width, { duration: 0 }), it.height.to(me.size.height, { duration: 0 }), it.rotation.to(me.rotation, { duration: 0 }), it.skewX.to(me.skewX ?? 0, { duration: 0 }), it.skewY.to(me.skewY ?? 0, { duration: 0 }), it.tiltX.to(me.tiltX ?? 0, { duration: 0 }), it.tiltY.to(me.tiltY ?? 0, { duration: 0 }), it.perspective.to(me.perspective ?? 1e3, { duration: 0 }), it.opacity.to(me.opacity ?? 1, { duration: 0 }), it.borderRadius.to(me.borderRadius ?? 0, { duration: 0 }), it.blur.to(me.blur ?? 0, { duration: 0 }), it.brightness.to(me.brightness ?? 100, { duration: 0 }), it.contrast.to(me.contrast ?? 100, { duration: 0 }), it.saturate.to(me.saturate ?? 100, { duration: 0 }), it.grayscale.to(me.grayscale ?? 0, { duration: 0 }), me.type === "text" && ((
|
|
15539
|
+
if (it.x.to(me.position.x, { duration: 0 }), it.y.to(me.position.y, { duration: 0 }), it.width.to(me.size.width, { duration: 0 }), it.height.to(me.size.height, { duration: 0 }), it.rotation.to(me.rotation, { duration: 0 }), it.skewX.to(me.skewX ?? 0, { duration: 0 }), it.skewY.to(me.skewY ?? 0, { duration: 0 }), it.tiltX.to(me.tiltX ?? 0, { duration: 0 }), it.tiltY.to(me.tiltY ?? 0, { duration: 0 }), it.perspective.to(me.perspective ?? 1e3, { duration: 0 }), it.opacity.to(me.opacity ?? 1, { duration: 0 }), it.borderRadius.to(me.borderRadius ?? 0, { duration: 0 }), it.blur.to(me.blur ?? 0, { duration: 0 }), it.brightness.to(me.brightness ?? 100, { duration: 0 }), it.contrast.to(me.contrast ?? 100, { duration: 0 }), it.saturate.to(me.saturate ?? 100, { duration: 0 }), it.grayscale.to(me.grayscale ?? 0, { duration: 0 }), me.type === "text" && ((Bt = it.fontSize) == null || Bt.to(me.fontSize, { duration: 0 })), me.type === "shape") {
|
|
15540
15540
|
const tn = me;
|
|
15541
15541
|
(_e = it.fillColor) == null || _e.to(tn.fillColor, { duration: 0 }), (Xe = it.strokeColor) == null || Xe.to(tn.strokeColor, { duration: 0 }), (mn = it.strokeWidth) == null || mn.to(tn.strokeWidth, { duration: 0 });
|
|
15542
15542
|
}
|
|
@@ -15555,7 +15555,7 @@ function tw(t, e) {
|
|
|
15555
15555
|
o(W).set(it, tn);
|
|
15556
15556
|
}
|
|
15557
15557
|
}
|
|
15558
|
-
V(W, new Map(o(W)), !0), V(Yt, /* @__PURE__ */ new Map(), !0), V(Ke, G, !0), V(Le, U, !0), V(ze,
|
|
15558
|
+
V(W, new Map(o(W)), !0), V(Yt, /* @__PURE__ */ new Map(), !0), V(Ke, G, !0), V(Le, U, !0), V(ze, Dt, !0), V(Pe, Vt, !0), V(pe, Ne, !0), V(Be, new Map(o(Be)), !0), V(de, x, !0), se();
|
|
15559
15559
|
for (const mt of o(uA)) {
|
|
15560
15560
|
const me = Mn(P, mt);
|
|
15561
15561
|
if ((me == null ? void 0 : me.type) === "text") {
|
|
@@ -15593,7 +15593,7 @@ function tw(t, e) {
|
|
|
15593
15593
|
for (const Ye of o(uA)) {
|
|
15594
15594
|
const Ne = Mn(o(Ct), Ye), G = Mn(P, Ye), U = o(Be).get(Ye);
|
|
15595
15595
|
if (!U) continue;
|
|
15596
|
-
const
|
|
15596
|
+
const Dt = (G == null ? void 0 : G.animationConfig) || (Ne == null ? void 0 : Ne.animationConfig), Vt = (Dt == null ? void 0 : Dt.order) ?? 0, mt = (Dt == null ? void 0 : Dt.delay) ?? 0, me = (Dt == null ? void 0 : Dt.duration) ?? ne, it = (l = Ne == null ? void 0 : Ne.animationConfig) == null ? void 0 : l.exit;
|
|
15597
15597
|
if (!!Ne && !!G && it && it !== "none" && it !== "fade") {
|
|
15598
15598
|
const je = Bs(it), cn = ((m = Ne.animationConfig) == null ? void 0 : m.exitDuration) ?? me, Se = (h = G.animationConfig) == null ? void 0 : h.entrance, dA = Se ? bs(Se) : null, PA = Se && Se !== "none" && Se !== "fade" ? ((C = G.animationConfig) == null ? void 0 : C.entranceDuration) ?? ((_ = G.animationConfig) == null ? void 0 : _.duration) ?? 600 : 0;
|
|
15599
15599
|
je && L(Ne.id, "exit", je, cn), He.push({
|
|
@@ -15614,7 +15614,7 @@ function tw(t, e) {
|
|
|
15614
15614
|
continue;
|
|
15615
15615
|
}
|
|
15616
15616
|
if (G) {
|
|
15617
|
-
const je = Vo(
|
|
15617
|
+
const je = Vo(Dt == null ? void 0 : Dt.easing), cn = (Q = G.animationConfig) == null ? void 0 : Q.propertySequences;
|
|
15618
15618
|
if (G.type === "text") {
|
|
15619
15619
|
const Se = G;
|
|
15620
15620
|
((w = Se.animation) == null ? void 0 : w.mode) === "typewriter" && co(Ye, Se.content, Se.animation.typewriterSpeed || 50);
|
|
@@ -15630,16 +15630,16 @@ function tw(t, e) {
|
|
|
15630
15630
|
if (cn != null && cn.length) {
|
|
15631
15631
|
const we = new Set(cn.map((We) => We.property));
|
|
15632
15632
|
if (we.has("position") || (Se.push(U.x.to(G.position.x, { duration: me, easing: je })), Se.push(U.y.to(G.position.y, { duration: me, easing: je }))), we.has("rotation") || Se.push(U.rotation.to(G.rotation, { duration: me, easing: je })), we.has("tilt") || (Se.push(U.tiltX.to(G.tiltX ?? 0, { duration: me, easing: je })), Se.push(U.tiltY.to(G.tiltY ?? 0, { duration: me, easing: je }))), we.has("skew") || (Se.push(U.skewX.to(G.skewX ?? 0, { duration: me, easing: je })), Se.push(U.skewY.to(G.skewY ?? 0, { duration: me, easing: je }))), we.has("size") || (Se.push(U.width.to(G.size.width, { duration: me, easing: je })), Se.push(U.height.to(G.size.height, { duration: me, easing: je }))), we.has("borderRadius") || Se.push(U.borderRadius.to(G.borderRadius ?? 0, { duration: me, easing: je })), we.has("blur") || (U.blur.to(G.blur ?? 0, { duration: me, easing: je }), U.brightness.to(G.brightness ?? 100, { duration: me, easing: je }), U.contrast.to(G.contrast ?? 100, { duration: me, easing: je }), U.saturate.to(G.saturate ?? 100, { duration: me, easing: je }), U.grayscale.to(G.grayscale ?? 0, { duration: me, easing: je })), we.has("perspective") || Se.push(U.perspective.to(G.perspective ?? 1e3, { duration: me, easing: je })), !we.has("opacity")) {
|
|
15633
|
-
const We = G.opacity ?? 1,
|
|
15634
|
-
!(
|
|
15633
|
+
const We = G.opacity ?? 1, xt = (dA = G.animationConfig) == null ? void 0 : dA.entrance;
|
|
15634
|
+
!(xt && xt !== "fade" && xt !== "none") && U.opacity.current !== We && Se.push(U.opacity.to(We, { duration: me, easing: je }));
|
|
15635
15635
|
}
|
|
15636
|
-
const v = [...cn].sort((We,
|
|
15636
|
+
const v = [...cn].sort((We, xt) => We.order - xt.order);
|
|
15637
15637
|
let Ve = 0;
|
|
15638
15638
|
for (const We of v) {
|
|
15639
|
-
const
|
|
15639
|
+
const xt = Ve + We.delay, Je = We.duration;
|
|
15640
15640
|
setTimeout(
|
|
15641
15641
|
() => {
|
|
15642
|
-
var Xt,
|
|
15642
|
+
var Xt, ht, Tt;
|
|
15643
15643
|
if (We.property === "position")
|
|
15644
15644
|
U.x.to(G.position.x, { duration: Je, easing: je }), U.y.to(G.position.y, { duration: Je, easing: je });
|
|
15645
15645
|
else if (We.property === "rotation") U.rotation.to(G.rotation, { duration: Je, easing: je });
|
|
@@ -15654,11 +15654,11 @@ function tw(t, e) {
|
|
|
15654
15654
|
U.blur.to(G.blur ?? 0, { duration: Je, easing: je }), U.brightness.to(G.brightness ?? 100, { duration: Je, easing: je }), U.contrast.to(G.contrast ?? 100, { duration: Je, easing: je }), U.saturate.to(G.saturate ?? 100, { duration: Je, easing: je }), U.grayscale.to(G.grayscale ?? 0, { duration: Je, easing: je });
|
|
15655
15655
|
else if (We.property === "color" && G.type === "shape") {
|
|
15656
15656
|
const Ut = G;
|
|
15657
|
-
(Xt = U.fillColor) == null || Xt.to(Ut.fillColor, { duration: Je, easing: je }), (
|
|
15657
|
+
(Xt = U.fillColor) == null || Xt.to(Ut.fillColor, { duration: Je, easing: je }), (ht = U.strokeColor) == null || ht.to(Ut.strokeColor, { duration: Je, easing: je }), (Tt = U.strokeWidth) == null || Tt.to(Ut.strokeWidth, { duration: Je, easing: je });
|
|
15658
15658
|
} else We.property === "perspective" ? U.perspective.to(G.perspective ?? 1e3, { duration: Je, easing: je }) : We.property === "opacity" && U.opacity.to(G.opacity ?? 1, { duration: Je, easing: je });
|
|
15659
15659
|
},
|
|
15660
|
-
|
|
15661
|
-
), Ve =
|
|
15660
|
+
xt
|
|
15661
|
+
), Ve = xt + Je;
|
|
15662
15662
|
}
|
|
15663
15663
|
Se.push(new Promise((We) => setTimeout(We, Ve)));
|
|
15664
15664
|
} else {
|
|
@@ -15729,16 +15729,16 @@ function tw(t, e) {
|
|
|
15729
15729
|
const Et = [...Ue.keys()].sort((Ye, Ne) => Ye - Ne);
|
|
15730
15730
|
for (let Ye = 0; Ye < Et.length; Ye++) {
|
|
15731
15731
|
const Ne = Et[Ye], G = Ue.get(Ne), U = [];
|
|
15732
|
-
for (const
|
|
15733
|
-
|
|
15732
|
+
for (const Dt of G)
|
|
15733
|
+
Dt.delay > 0 ? setTimeout(
|
|
15734
15734
|
() => {
|
|
15735
|
-
|
|
15735
|
+
Dt.run().forEach((Vt) => le.push(Vt));
|
|
15736
15736
|
},
|
|
15737
|
-
|
|
15738
|
-
) : U.push(...
|
|
15737
|
+
Dt.delay
|
|
15738
|
+
) : U.push(...Dt.run());
|
|
15739
15739
|
if (le.push(...U), Ye < Et.length - 1) {
|
|
15740
|
-
const
|
|
15741
|
-
await new Promise((Vt) => setTimeout(Vt,
|
|
15740
|
+
const Dt = Math.max(...G.map((Vt) => Vt.elementDuration));
|
|
15741
|
+
await new Promise((Vt) => setTimeout(Vt, Dt * 0.3));
|
|
15742
15742
|
}
|
|
15743
15743
|
}
|
|
15744
15744
|
const ft = new Map(o(pe)), Mt = new Map(o(Ke)), ie = new Map(o(Le));
|
|
@@ -15982,8 +15982,8 @@ function tw(t, e) {
|
|
|
15982
15982
|
});
|
|
15983
15983
|
};
|
|
15984
15984
|
ot(He, (Ot) => {
|
|
15985
|
-
var
|
|
15986
|
-
(
|
|
15985
|
+
var Bt;
|
|
15986
|
+
(Bt = o(Ct).canvas.background.particles) != null && Bt.enabled && Ot(Ue);
|
|
15987
15987
|
});
|
|
15988
15988
|
}
|
|
15989
15989
|
var Et = lt(He, 2);
|
|
@@ -16002,14 +16002,14 @@ function tw(t, e) {
|
|
|
16002
16002
|
});
|
|
16003
16003
|
};
|
|
16004
16004
|
ot(Et, (Ot) => {
|
|
16005
|
-
var
|
|
16006
|
-
(
|
|
16005
|
+
var Bt;
|
|
16006
|
+
(Bt = o(Ct).canvas.background.confetti) != null && Bt.enabled && Ot(ft);
|
|
16007
16007
|
});
|
|
16008
16008
|
}
|
|
16009
16009
|
var Mt = lt(Et, 2);
|
|
16010
16010
|
let ie, Pt;
|
|
16011
|
-
bn(Mt, 21, () => o(Si), fn, (Ot,
|
|
16012
|
-
const _e = /* @__PURE__ */ R(() => o(pe).get(o(
|
|
16011
|
+
bn(Mt, 21, () => o(Si), fn, (Ot, Bt) => {
|
|
16012
|
+
const _e = /* @__PURE__ */ R(() => o(pe).get(o(Bt))), Xe = /* @__PURE__ */ R(() => o(Be).get(o(Bt))), mn = /* @__PURE__ */ R(() => {
|
|
16013
16013
|
var qe;
|
|
16014
16014
|
return (qe = o(_e)) == null ? void 0 : qe.floatingAnimation;
|
|
16015
16015
|
}), kt = /* @__PURE__ */ R(() => {
|
|
@@ -16041,7 +16041,7 @@ function tw(t, e) {
|
|
|
16041
16041
|
return o(kA) && ((qe = o(_e)) != null && qe.depth) ? EC(o(io), o(_e).depth, o($A), o(ba)) : { x: 0, y: 0 };
|
|
16042
16042
|
}), k = /* @__PURE__ */ R(() => (() => {
|
|
16043
16043
|
var ct, nt;
|
|
16044
|
-
return o(ee), typeof window < "u" && !!((nt = (ct = window.__animotPresenterRuntime) == null ? void 0 : ct.get(o(
|
|
16044
|
+
return o(ee), typeof window < "u" && !!((nt = (ct = window.__animotPresenterRuntime) == null ? void 0 : ct.get(o(Bt))) != null && nt.entrance) && !!Mn(o(Ct), o(Bt));
|
|
16045
16045
|
})());
|
|
16046
16046
|
var J = ln(), Ee = Ht(J);
|
|
16047
16047
|
{
|
|
@@ -16053,10 +16053,10 @@ function tw(t, e) {
|
|
|
16053
16053
|
var G = (we) => {
|
|
16054
16054
|
const v = /* @__PURE__ */ R(() => Ba(o(_e))), Ve = /* @__PURE__ */ R(() => o(Ke).get(o(v).id));
|
|
16055
16055
|
var We = kE();
|
|
16056
|
-
let
|
|
16056
|
+
let xt, Je;
|
|
16057
16057
|
var Xt = At(We);
|
|
16058
16058
|
{
|
|
16059
|
-
var
|
|
16059
|
+
var ht = ($t) => {
|
|
16060
16060
|
var dt = QE();
|
|
16061
16061
|
let st, qt;
|
|
16062
16062
|
var Cn = At(dt);
|
|
@@ -16064,12 +16064,12 @@ function tw(t, e) {
|
|
|
16064
16064
|
var yn = (IA) => {
|
|
16065
16065
|
var lo = EE();
|
|
16066
16066
|
ae(IA, lo);
|
|
16067
|
-
},
|
|
16067
|
+
}, _t = (IA) => {
|
|
16068
16068
|
var lo = wE();
|
|
16069
16069
|
ae(IA, lo);
|
|
16070
16070
|
};
|
|
16071
16071
|
ot(Cn, (IA) => {
|
|
16072
|
-
o(v).headerStyle === "macos" ? IA(yn) : o(v).headerStyle === "windows" && IA(
|
|
16072
|
+
o(v).headerStyle === "macos" ? IA(yn) : o(v).headerStyle === "windows" && IA(_t, 1);
|
|
16073
16073
|
});
|
|
16074
16074
|
}
|
|
16075
16075
|
var ut = lt(Cn, 2);
|
|
@@ -16096,7 +16096,7 @@ function tw(t, e) {
|
|
|
16096
16096
|
}), ae($t, dt);
|
|
16097
16097
|
};
|
|
16098
16098
|
ot(Xt, ($t) => {
|
|
16099
|
-
o(v).showHeader ? $t(
|
|
16099
|
+
o(v).showHeader ? $t(ht) : $t(Tt, -1);
|
|
16100
16100
|
});
|
|
16101
16101
|
}
|
|
16102
16102
|
var Ut = lt(Xt, 2), un = At(Ut), Nt = At(un);
|
|
@@ -16111,7 +16111,7 @@ function tw(t, e) {
|
|
|
16111
16111
|
}), yn = /* @__PURE__ */ R(() => {
|
|
16112
16112
|
var on;
|
|
16113
16113
|
return ((on = o(Ve)) == null ? void 0 : on.newCode) ?? "";
|
|
16114
|
-
}),
|
|
16114
|
+
}), _t = /* @__PURE__ */ R(() => {
|
|
16115
16115
|
var on;
|
|
16116
16116
|
return ((on = o(Ve)) == null ? void 0 : on.mode) ?? "highlight-changes";
|
|
16117
16117
|
}), ut = /* @__PURE__ */ R(() => {
|
|
@@ -16141,7 +16141,7 @@ function tw(t, e) {
|
|
|
16141
16141
|
return o(v).theme;
|
|
16142
16142
|
},
|
|
16143
16143
|
get mode() {
|
|
16144
|
-
return o(
|
|
16144
|
+
return o(_t);
|
|
16145
16145
|
},
|
|
16146
16146
|
get speed() {
|
|
16147
16147
|
return o(ut);
|
|
@@ -16167,7 +16167,7 @@ function tw(t, e) {
|
|
|
16167
16167
|
});
|
|
16168
16168
|
}
|
|
16169
16169
|
Re(() => {
|
|
16170
|
-
|
|
16170
|
+
xt = bA(We, 1, "animot-code-block svelte-16ocdv9", null, xt, { "transparent-bg": o(v).transparentBackground }), Je = zt(We, "", Je, {
|
|
16171
16171
|
"font-size": `${o(v).fontSize ?? ""}px`,
|
|
16172
16172
|
"font-weight": o(v).fontWeight || 400,
|
|
16173
16173
|
padding: `${o(v).padding ?? ""}px`,
|
|
@@ -16179,16 +16179,16 @@ function tw(t, e) {
|
|
|
16179
16179
|
const v = /* @__PURE__ */ R(() => Ba(o(_e))), Ve = /* @__PURE__ */ R(() => {
|
|
16180
16180
|
var Nt;
|
|
16181
16181
|
return ((Nt = o(Xe).fontSize) == null ? void 0 : Nt.current) ?? o(v).fontSize;
|
|
16182
|
-
}), We = /* @__PURE__ */ R(() => o(gt).get(o(_e).id)),
|
|
16182
|
+
}), We = /* @__PURE__ */ R(() => o(gt).get(o(_e).id)), xt = /* @__PURE__ */ R(() => {
|
|
16183
16183
|
var Nt;
|
|
16184
16184
|
return (Nt = o(We)) != null && Nt.isAnimating ? o(We).fullText.slice(0, o(We).displayedChars) : o(v).content;
|
|
16185
16185
|
}), Je = /* @__PURE__ */ R(() => {
|
|
16186
16186
|
var Nt;
|
|
16187
16187
|
return ((Nt = o(v).animation) == null ? void 0 : Nt.mode) ?? "instant";
|
|
16188
16188
|
}), Xt = /* @__PURE__ */ R(() => o(Je) === "fade-letters" || o(Je) === "bounce-in" || o(Je) === "handwriting" || o(Je) === "scramble-in" || o(Je) === "slot-machine" || o(Je) === "drop" || o(Je) === "glitch" || o(Je) === "marquee" || o(Je) === "blur-in" || o(Je) === "stretch" || o(Je) === "slide-words" || o(Je) === "wave" || o(Je) === "typewriter-erase");
|
|
16189
|
-
var
|
|
16189
|
+
var ht = DE();
|
|
16190
16190
|
let Tt;
|
|
16191
|
-
var Ut = At(
|
|
16191
|
+
var Ut = At(ht);
|
|
16192
16192
|
{
|
|
16193
16193
|
var un = (Nt) => {
|
|
16194
16194
|
var Kt = IE(), St = Ht(Kt, !0), $t = lt(St);
|
|
@@ -16202,13 +16202,13 @@ function tw(t, e) {
|
|
|
16202
16202
|
(qt = o(We)) != null && qt.isAnimating && st(dt);
|
|
16203
16203
|
});
|
|
16204
16204
|
}
|
|
16205
|
-
Re(() => An(St, o(
|
|
16205
|
+
Re(() => An(St, o(xt))), ae(Nt, Kt);
|
|
16206
16206
|
};
|
|
16207
16207
|
ot(Ut, (Nt) => {
|
|
16208
16208
|
o(Xt) || Nt(un);
|
|
16209
16209
|
});
|
|
16210
16210
|
}
|
|
16211
|
-
go(
|
|
16211
|
+
go(ht, (Nt, Kt) => Es == null ? void 0 : Es(Nt, Kt), () => {
|
|
16212
16212
|
var Nt, Kt, St, $t;
|
|
16213
16213
|
return {
|
|
16214
16214
|
enabled: o(Xt),
|
|
@@ -16226,7 +16226,7 @@ function tw(t, e) {
|
|
|
16226
16226
|
slideDuration: ($t = o(Ct)) == null ? void 0 : $t.duration,
|
|
16227
16227
|
key: `text-${o(de)}`
|
|
16228
16228
|
};
|
|
16229
|
-
}), Re((Nt) => Tt = zt(
|
|
16229
|
+
}), Re((Nt) => Tt = zt(ht, "", Tt, Nt), [
|
|
16230
16230
|
() => {
|
|
16231
16231
|
var Nt, Kt, St;
|
|
16232
16232
|
return {
|
|
@@ -16250,38 +16250,38 @@ function tw(t, e) {
|
|
|
16250
16250
|
"text-shadow": (St = o(v).textShadow) != null && St.enabled ? `${o(v).textShadow.offsetX}px ${o(v).textShadow.offsetY}px ${o(v).textShadow.blur}px ${o(v).textShadow.color}` : "none"
|
|
16251
16251
|
};
|
|
16252
16252
|
}
|
|
16253
|
-
]), ae(we,
|
|
16254
|
-
},
|
|
16255
|
-
const v = /* @__PURE__ */ R(() => Ba(o(_e))), Ve = /* @__PURE__ */ R(() => o(v).controlPoints || []), We = /* @__PURE__ */ R(() => o(Ve).length === 0 ? `M ${o(v).startPoint.x} ${o(v).startPoint.y} L ${o(v).endPoint.x} ${o(v).endPoint.y}` : o(Ve).length === 1 ? `M ${o(v).startPoint.x} ${o(v).startPoint.y} Q ${o(Ve)[0].x} ${o(Ve)[0].y} ${o(v).endPoint.x} ${o(v).endPoint.y}` : o(Ve).length === 2 ? `M ${o(v).startPoint.x} ${o(v).startPoint.y} C ${o(Ve)[0].x} ${o(Ve)[0].y} ${o(Ve)[1].x} ${o(Ve)[1].y} ${o(v).endPoint.x} ${o(v).endPoint.y}` : ji(o(v).startPoint, o(Ve), o(v).endPoint)),
|
|
16256
|
-
var
|
|
16257
|
-
return ((
|
|
16253
|
+
]), ae(we, ht);
|
|
16254
|
+
}, Dt = (we) => {
|
|
16255
|
+
const v = /* @__PURE__ */ R(() => Ba(o(_e))), Ve = /* @__PURE__ */ R(() => o(v).controlPoints || []), We = /* @__PURE__ */ R(() => o(Ve).length === 0 ? `M ${o(v).startPoint.x} ${o(v).startPoint.y} L ${o(v).endPoint.x} ${o(v).endPoint.y}` : o(Ve).length === 1 ? `M ${o(v).startPoint.x} ${o(v).startPoint.y} Q ${o(Ve)[0].x} ${o(Ve)[0].y} ${o(v).endPoint.x} ${o(v).endPoint.y}` : o(Ve).length === 2 ? `M ${o(v).startPoint.x} ${o(v).startPoint.y} C ${o(Ve)[0].x} ${o(Ve)[0].y} ${o(Ve)[1].x} ${o(Ve)[1].y} ${o(v).endPoint.x} ${o(v).endPoint.y}` : ji(o(v).startPoint, o(Ve), o(v).endPoint)), xt = /* @__PURE__ */ R(() => o(Ve).length > 0 ? o(Ve)[o(Ve).length - 1] : o(v).startPoint), Je = /* @__PURE__ */ R(() => Math.atan2(o(v).endPoint.y - o(xt).y, o(v).endPoint.x - o(xt).x)), Xt = /* @__PURE__ */ R(() => Math.PI / 6), ht = /* @__PURE__ */ R(() => o(v).headSize), Tt = /* @__PURE__ */ R(() => `M ${o(v).endPoint.x - o(ht) * Math.cos(o(Je) - o(Xt))} ${o(v).endPoint.y - o(ht) * Math.sin(o(Je) - o(Xt))} L ${o(v).endPoint.x} ${o(v).endPoint.y} L ${o(v).endPoint.x - o(ht) * Math.cos(o(Je) + o(Xt))} ${o(v).endPoint.y - o(ht) * Math.sin(o(Je) + o(Xt))}`), Ut = /* @__PURE__ */ R(() => {
|
|
16256
|
+
var _t;
|
|
16257
|
+
return ((_t = o(v).animation) == null ? void 0 : _t.mode) ?? "none";
|
|
16258
16258
|
}), un = /* @__PURE__ */ R(() => {
|
|
16259
|
-
var
|
|
16260
|
-
return ((
|
|
16259
|
+
var _t;
|
|
16260
|
+
return ((_t = o(v).animation) == null ? void 0 : _t.duration) ?? 500;
|
|
16261
16261
|
}), Nt = /* @__PURE__ */ R(() => o(Ut) === "draw" || o(Ut) === "undraw" || o(Ut) === "draw-undraw" || o(Ut) === "flow"), Kt = /* @__PURE__ */ R(() => o(v).style === "dashed" ? "10,5" : o(v).style === "dotted" ? "2,5" : "none");
|
|
16262
16262
|
var St = vE();
|
|
16263
16263
|
let $t;
|
|
16264
16264
|
var dt = At(St), st = lt(dt);
|
|
16265
16265
|
{
|
|
16266
|
-
var qt = (
|
|
16266
|
+
var qt = (_t) => {
|
|
16267
16267
|
var ut = xE();
|
|
16268
16268
|
Re(() => {
|
|
16269
16269
|
K(ut, "d", o(Tt)), K(ut, "stroke", o(v).color), K(ut, "stroke-width", o(v).strokeWidth);
|
|
16270
|
-
}), ae(
|
|
16270
|
+
}), ae(_t, ut);
|
|
16271
16271
|
};
|
|
16272
|
-
ot(st, (
|
|
16273
|
-
o(v).showHead !== !1 &&
|
|
16272
|
+
ot(st, (_t) => {
|
|
16273
|
+
o(v).showHead !== !1 && _t(qt);
|
|
16274
16274
|
});
|
|
16275
16275
|
}
|
|
16276
16276
|
var Cn = lt(st);
|
|
16277
16277
|
{
|
|
16278
|
-
var yn = (
|
|
16278
|
+
var yn = (_t) => {
|
|
16279
16279
|
{
|
|
16280
16280
|
let ut = /* @__PURE__ */ R(() => {
|
|
16281
16281
|
var dn;
|
|
16282
16282
|
return (dn = o(Ct)) == null ? void 0 : dn.duration;
|
|
16283
16283
|
});
|
|
16284
|
-
bC(
|
|
16284
|
+
bC(_t, {
|
|
16285
16285
|
get config() {
|
|
16286
16286
|
return o(v).flowMarkers;
|
|
16287
16287
|
},
|
|
@@ -16300,13 +16300,13 @@ function tw(t, e) {
|
|
|
16300
16300
|
});
|
|
16301
16301
|
}
|
|
16302
16302
|
};
|
|
16303
|
-
ot(Cn, (
|
|
16303
|
+
ot(Cn, (_t) => {
|
|
16304
16304
|
var ut;
|
|
16305
|
-
(ut = o(v).flowMarkers) != null && ut.enabled &&
|
|
16305
|
+
(ut = o(v).flowMarkers) != null && ut.enabled && _t(yn);
|
|
16306
16306
|
});
|
|
16307
16307
|
}
|
|
16308
|
-
go(St, (
|
|
16309
|
-
var
|
|
16308
|
+
go(St, (_t, ut) => Cs == null ? void 0 : Cs(_t, ut), () => {
|
|
16309
|
+
var _t, ut, dn;
|
|
16310
16310
|
return {
|
|
16311
16311
|
enabled: o(Nt),
|
|
16312
16312
|
mode: o(Ut),
|
|
@@ -16315,7 +16315,7 @@ function tw(t, e) {
|
|
|
16315
16315
|
startY: o(v).startPoint.y,
|
|
16316
16316
|
endX: o(v).endPoint.x,
|
|
16317
16317
|
endY: o(v).endPoint.y,
|
|
16318
|
-
loop: !!((
|
|
16318
|
+
loop: !!((_t = o(v).animation) != null && _t.loop),
|
|
16319
16319
|
reverse: ((ut = o(v).animation) == null ? void 0 : ut.direction) === "reverse",
|
|
16320
16320
|
slideDuration: (dn = o(Ct)) == null ? void 0 : dn.duration,
|
|
16321
16321
|
key: `arrow-${o(de)}`
|
|
@@ -16329,10 +16329,10 @@ function tw(t, e) {
|
|
|
16329
16329
|
return (Je = o(v).clipMask) != null && Je.enabled ? o(v).clipMask.shapeType === "circle" ? "circle(50% at 50% 50%)" : o(v).clipMask.shapeType === "ellipse" ? "ellipse(50% 50% at 50% 50%)" : o(v).clipMask.shapeType === "triangle" ? "polygon(50% 0%, 0% 100%, 100% 100%)" : o(v).clipMask.shapeType === "star" ? "polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)" : o(v).clipMask.shapeType === "hexagon" ? "polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%)" : (o(v).clipMask.borderRadius ?? 0) > 0 ? `inset(0 round ${o(v).clipMask.borderRadius}px)` : "none" : "none";
|
|
16330
16330
|
});
|
|
16331
16331
|
var We = FE();
|
|
16332
|
-
let
|
|
16332
|
+
let xt;
|
|
16333
16333
|
Re(() => {
|
|
16334
16334
|
var Je;
|
|
16335
|
-
K(We, "src", o(v).src),
|
|
16335
|
+
K(We, "src", o(v).src), xt = zt(We, "", xt, {
|
|
16336
16336
|
"object-fit": o(v).objectFit,
|
|
16337
16337
|
"border-radius": `${((Je = o(v).clipMask) != null && Je.enabled ? 0 : o(v).borderRadius) ?? ""}px`,
|
|
16338
16338
|
"clip-path": o(Ve),
|
|
@@ -16341,9 +16341,9 @@ function tw(t, e) {
|
|
|
16341
16341
|
}), ae(we, We);
|
|
16342
16342
|
}, mt = (we) => {
|
|
16343
16343
|
const v = /* @__PURE__ */ R(() => Ba(o(_e))), Ve = /* @__PURE__ */ R(() => el(o(v).src));
|
|
16344
|
-
var We = ln(),
|
|
16344
|
+
var We = ln(), xt = Ht(We);
|
|
16345
16345
|
{
|
|
16346
|
-
var Je = (
|
|
16346
|
+
var Je = (ht) => {
|
|
16347
16347
|
var Tt = ME();
|
|
16348
16348
|
let Ut;
|
|
16349
16349
|
var un = At(Tt);
|
|
@@ -16361,8 +16361,8 @@ function tw(t, e) {
|
|
|
16361
16361
|
Re(() => Ut = zt(Tt, "", Ut, {
|
|
16362
16362
|
"border-radius": `${o(v).borderRadius ?? ""}px`,
|
|
16363
16363
|
opacity: o(v).opacity
|
|
16364
|
-
})), ae(
|
|
16365
|
-
}, Xt = (
|
|
16364
|
+
})), ae(ht, Tt);
|
|
16365
|
+
}, Xt = (ht) => {
|
|
16366
16366
|
var Tt = NE();
|
|
16367
16367
|
let Ut;
|
|
16368
16368
|
Re(() => {
|
|
@@ -16371,10 +16371,10 @@ function tw(t, e) {
|
|
|
16371
16371
|
"border-radius": `${o(v).borderRadius ?? ""}px`,
|
|
16372
16372
|
opacity: o(v).opacity
|
|
16373
16373
|
});
|
|
16374
|
-
}), ae(
|
|
16374
|
+
}), ae(ht, Tt);
|
|
16375
16375
|
};
|
|
16376
|
-
ot(
|
|
16377
|
-
o(Ve) ?
|
|
16376
|
+
ot(xt, (ht) => {
|
|
16377
|
+
o(Ve) ? ht(Je) : ht(Xt, -1);
|
|
16378
16378
|
});
|
|
16379
16379
|
}
|
|
16380
16380
|
ae(we, We);
|
|
@@ -16385,22 +16385,22 @@ function tw(t, e) {
|
|
|
16385
16385
|
}), We = /* @__PURE__ */ R(() => {
|
|
16386
16386
|
var dt;
|
|
16387
16387
|
return ((dt = o(Xe).strokeColor) == null ? void 0 : dt.current) ?? o(v).strokeColor;
|
|
16388
|
-
}),
|
|
16388
|
+
}), xt = /* @__PURE__ */ R(() => {
|
|
16389
16389
|
var dt;
|
|
16390
16390
|
return ((dt = o(Xe).strokeWidth) == null ? void 0 : dt.current) ?? o(v).strokeWidth;
|
|
16391
|
-
}), Je = /* @__PURE__ */ R(() => o(Gt).get(o(_e).id)), Xt = /* @__PURE__ */ R(() => o(Ft).get(o(_e).id)),
|
|
16391
|
+
}), Je = /* @__PURE__ */ R(() => o(Gt).get(o(_e).id)), Xt = /* @__PURE__ */ R(() => o(Ft).get(o(_e).id)), ht = /* @__PURE__ */ R(() => {
|
|
16392
16392
|
var dt;
|
|
16393
|
-
return o(Lt).get(o(
|
|
16393
|
+
return o(Lt).get(o(Bt)) ?? ((dt = o(Xe).pathMorph) == null ? void 0 : dt.current) ?? 1;
|
|
16394
16394
|
}), Tt = /* @__PURE__ */ R(() => {
|
|
16395
16395
|
var dt;
|
|
16396
|
-
return o(tt).get(o(
|
|
16397
|
-
}), Ut = /* @__PURE__ */ R(() => o(Je) ? o(Tt) : o(
|
|
16396
|
+
return o(tt).get(o(Bt)) ?? ((dt = o(Xe).pathMorph) == null ? void 0 : dt.current) ?? 1;
|
|
16397
|
+
}), Ut = /* @__PURE__ */ R(() => o(Je) ? o(Tt) : o(ht)), un = /* @__PURE__ */ R(() => o(Je) ?? (o(Xt) && o(ht) < 1 ? o(Xt) : r(o(_e))));
|
|
16398
16398
|
var Nt = ln(), Kt = Ht(Nt);
|
|
16399
16399
|
{
|
|
16400
16400
|
var St = (dt) => {
|
|
16401
16401
|
var st = GE(), qt = At(st);
|
|
16402
16402
|
{
|
|
16403
|
-
var Cn = (
|
|
16403
|
+
var Cn = (_t) => {
|
|
16404
16404
|
var ut = ln(), dn = Ht(ut);
|
|
16405
16405
|
bn(dn, 17, () => o(un).parts, fn, (ha, oa) => {
|
|
16406
16406
|
var on = SE();
|
|
@@ -16412,33 +16412,33 @@ function tw(t, e) {
|
|
|
16412
16412
|
() => o(oa).interp(Math.max(0, Math.min(1, o(Ut))))
|
|
16413
16413
|
]
|
|
16414
16414
|
), ae(ha, on);
|
|
16415
|
-
}), ae(
|
|
16416
|
-
}, yn = (
|
|
16415
|
+
}), ae(_t, ut);
|
|
16416
|
+
}, yn = (_t) => {
|
|
16417
16417
|
var ut = jE();
|
|
16418
16418
|
Re(
|
|
16419
16419
|
(dn) => {
|
|
16420
|
-
K(ut, "d", dn), K(ut, "fill", o(Ve)), K(ut, "stroke", o(We)), K(ut, "stroke-width", o(
|
|
16420
|
+
K(ut, "d", dn), K(ut, "fill", o(Ve)), K(ut, "stroke", o(We)), K(ut, "stroke-width", o(xt));
|
|
16421
16421
|
},
|
|
16422
16422
|
[
|
|
16423
16423
|
() => o(un).interp(Math.max(0, Math.min(1, o(Ut))))
|
|
16424
16424
|
]
|
|
16425
|
-
), ae(
|
|
16425
|
+
), ae(_t, ut);
|
|
16426
16426
|
};
|
|
16427
|
-
ot(qt, (
|
|
16428
|
-
o(un).parts && o(un).parts.length > 1 ?
|
|
16427
|
+
ot(qt, (_t) => {
|
|
16428
|
+
o(un).parts && o(un).parts.length > 1 ? _t(Cn) : _t(yn, -1);
|
|
16429
16429
|
});
|
|
16430
16430
|
}
|
|
16431
|
-
Re((
|
|
16431
|
+
Re((_t) => K(st, "viewBox", _t), [
|
|
16432
16432
|
() => o(un).viewBox ?? `0 0 ${Math.max(1, o(Xe).width.current)} ${Math.max(1, o(Xe).height.current)}`
|
|
16433
16433
|
]), ae(dt, st);
|
|
16434
16434
|
}, $t = (dt) => {
|
|
16435
16435
|
var st = LE();
|
|
16436
16436
|
let qt;
|
|
16437
|
-
Ar(st, () => BE(o(v).shapeType, Math.max(0, o(Xe).width.current), Math.max(0, o(Xe).height.current), o(Xe).borderRadius.current, o(Ve), o(We), o(
|
|
16437
|
+
Ar(st, () => BE(o(v).shapeType, Math.max(0, o(Xe).width.current), Math.max(0, o(Xe).height.current), o(Xe).borderRadius.current, o(Ve), o(We), o(xt), o(v).strokeStyle, o(v).strokeDashGap), !0), Re(
|
|
16438
16438
|
(Cn, yn) => {
|
|
16439
|
-
var
|
|
16439
|
+
var _t;
|
|
16440
16440
|
K(st, "viewBox", `0 0 ${Cn ?? ""} ${yn ?? ""}`), K(st, "fill-opacity", o(v).fillOpacity ?? 1), K(st, "stroke-opacity", o(v).strokeOpacity ?? 1), qt = zt(st, "", qt, {
|
|
16441
|
-
filter: (
|
|
16441
|
+
filter: (_t = o(v).boxShadow) != null && _t.enabled ? `drop-shadow(${o(v).boxShadow.offsetX}px ${o(v).boxShadow.offsetY}px ${o(v).boxShadow.blur}px ${o(v).boxShadow.color})` : "none"
|
|
16442
16442
|
});
|
|
16443
16443
|
},
|
|
16444
16444
|
[
|
|
@@ -16517,13 +16517,13 @@ function tw(t, e) {
|
|
|
16517
16517
|
}
|
|
16518
16518
|
});
|
|
16519
16519
|
}, dA = (we) => {
|
|
16520
|
-
const v = /* @__PURE__ */ R(() => o(_e)), Ve = /* @__PURE__ */ R(() => o(Gt).get(o(_e).id)), We = /* @__PURE__ */ R(() => o(Ft).get(o(_e).id)),
|
|
16520
|
+
const v = /* @__PURE__ */ R(() => o(_e)), Ve = /* @__PURE__ */ R(() => o(Gt).get(o(_e).id)), We = /* @__PURE__ */ R(() => o(Ft).get(o(_e).id)), xt = /* @__PURE__ */ R(() => {
|
|
16521
16521
|
var Kt;
|
|
16522
|
-
return o(Lt).get(o(
|
|
16522
|
+
return o(Lt).get(o(Bt)) ?? ((Kt = o(Xe).pathMorph) == null ? void 0 : Kt.current) ?? 1;
|
|
16523
16523
|
}), Je = /* @__PURE__ */ R(() => {
|
|
16524
16524
|
var Kt;
|
|
16525
|
-
return o(tt).get(o(
|
|
16526
|
-
}), Xt = /* @__PURE__ */ R(() => o(Ve) ? o(Je) : o(
|
|
16525
|
+
return o(tt).get(o(Bt)) ?? ((Kt = o(Xe).pathMorph) == null ? void 0 : Kt.current) ?? 1;
|
|
16526
|
+
}), Xt = /* @__PURE__ */ R(() => o(Ve) ? o(Je) : o(xt)), ht = /* @__PURE__ */ R(() => o(Ve) ?? (o(We) && o(xt) < 1 ? o(We) : r(o(_e))));
|
|
16527
16527
|
var Tt = ln(), Ut = Ht(Tt);
|
|
16528
16528
|
{
|
|
16529
16529
|
var un = (Kt) => {
|
|
@@ -16531,11 +16531,11 @@ function tw(t, e) {
|
|
|
16531
16531
|
bn(
|
|
16532
16532
|
St,
|
|
16533
16533
|
21,
|
|
16534
|
-
() => o(
|
|
16534
|
+
() => o(ht).parts ?? [
|
|
16535
16535
|
{
|
|
16536
|
-
interp: o(
|
|
16537
|
-
fromColor: o(
|
|
16538
|
-
toColor: o(
|
|
16536
|
+
interp: o(ht).interp,
|
|
16537
|
+
fromColor: o(ht).fromColor,
|
|
16538
|
+
toColor: o(ht).toColor
|
|
16539
16539
|
}
|
|
16540
16540
|
],
|
|
16541
16541
|
fn,
|
|
@@ -16551,7 +16551,7 @@ function tw(t, e) {
|
|
|
16551
16551
|
), ae($t, st);
|
|
16552
16552
|
}
|
|
16553
16553
|
), Re(($t) => K(St, "viewBox", $t), [
|
|
16554
|
-
() => o(
|
|
16554
|
+
() => o(ht).viewBox ?? s(o(_e), o(Xe).width.current, o(Xe).height.current)
|
|
16555
16555
|
]), ae(Kt, St);
|
|
16556
16556
|
}, Nt = (Kt) => {
|
|
16557
16557
|
const St = /* @__PURE__ */ R(() => (() => {
|
|
@@ -16574,8 +16574,8 @@ function tw(t, e) {
|
|
|
16574
16574
|
var ut;
|
|
16575
16575
|
return ((ut = o(v).animation) == null ? void 0 : ut.direction) === "reverse";
|
|
16576
16576
|
});
|
|
16577
|
-
var Cn = HE(), yn = At(Cn),
|
|
16578
|
-
Ar(
|
|
16577
|
+
var Cn = HE(), yn = At(Cn), _t = At(yn);
|
|
16578
|
+
Ar(_t, () => o(St).inner, !0), go(Cn, (ut, dn) => wo == null ? void 0 : wo(ut, dn), () => ({
|
|
16579
16579
|
enabled: o($t) !== "none",
|
|
16580
16580
|
mode: o($t),
|
|
16581
16581
|
duration: o(dt),
|
|
@@ -16583,11 +16583,11 @@ function tw(t, e) {
|
|
|
16583
16583
|
reverse: o(qt),
|
|
16584
16584
|
key: `${o(v).id}-${o($t)}-${o(dt)}-${o(de)}`
|
|
16585
16585
|
})), Re(() => {
|
|
16586
|
-
K(yn, "viewBox", o(v).viewBox ?? o(St).viewBox ?? `0 0 ${o(v).size.width} ${o(v).size.height}`), K(yn, "preserveAspectRatio", o(v).preserveAspectRatio), zt(
|
|
16586
|
+
K(yn, "viewBox", o(v).viewBox ?? o(St).viewBox ?? `0 0 ${o(v).size.width} ${o(v).size.height}`), K(yn, "preserveAspectRatio", o(v).preserveAspectRatio), zt(_t, o(v).color ? `fill:${o(v).color};stroke:${o(v).color}` : "");
|
|
16587
16587
|
}), ae(Kt, Cn);
|
|
16588
16588
|
};
|
|
16589
16589
|
ot(Ut, (Kt) => {
|
|
16590
|
-
o(
|
|
16590
|
+
o(ht) ? Kt(un) : Kt(Nt, -1);
|
|
16591
16591
|
});
|
|
16592
16592
|
}
|
|
16593
16593
|
ae(we, Tt);
|
|
@@ -16595,11 +16595,11 @@ function tw(t, e) {
|
|
|
16595
16595
|
const v = /* @__PURE__ */ R(() => o(_e));
|
|
16596
16596
|
var Ve = ln(), We = Ht(Ve);
|
|
16597
16597
|
{
|
|
16598
|
-
var
|
|
16599
|
-
var Xt = PE(),
|
|
16598
|
+
var xt = (Je) => {
|
|
16599
|
+
var Xt = PE(), ht = At(Xt);
|
|
16600
16600
|
Re(
|
|
16601
16601
|
(Tt, Ut, un) => {
|
|
16602
|
-
K(Xt, "viewBox", `0 0 ${Tt ?? ""} ${Ut ?? ""}`), K(
|
|
16602
|
+
K(Xt, "viewBox", `0 0 ${Tt ?? ""} ${Ut ?? ""}`), K(ht, "d", un), K(ht, "stroke", o(v).pathColor), K(ht, "stroke-width", o(v).pathWidth);
|
|
16603
16603
|
},
|
|
16604
16604
|
[
|
|
16605
16605
|
() => Math.max(0, o(Xe).width.current),
|
|
@@ -16609,21 +16609,21 @@ function tw(t, e) {
|
|
|
16609
16609
|
), ae(Je, Xt);
|
|
16610
16610
|
};
|
|
16611
16611
|
ot(We, (Je) => {
|
|
16612
|
-
o(v).showInPresentation && Je(
|
|
16612
|
+
o(v).showInPresentation && Je(xt);
|
|
16613
16613
|
});
|
|
16614
16614
|
}
|
|
16615
16615
|
ae(we, Ve);
|
|
16616
16616
|
}, tA = (we) => {
|
|
16617
|
-
const v = /* @__PURE__ */ R(() => o(_e)), Ve = /* @__PURE__ */ R(() => o(Gt).get(o(_e).id)), We = /* @__PURE__ */ R(() => o(Ft).get(o(_e).id)),
|
|
16617
|
+
const v = /* @__PURE__ */ R(() => o(_e)), Ve = /* @__PURE__ */ R(() => o(Gt).get(o(_e).id)), We = /* @__PURE__ */ R(() => o(Ft).get(o(_e).id)), xt = /* @__PURE__ */ R(() => {
|
|
16618
16618
|
var st;
|
|
16619
|
-
return o(Lt).get(o(
|
|
16619
|
+
return o(Lt).get(o(Bt)) ?? ((st = o(Xe).pathMorph) == null ? void 0 : st.current) ?? 1;
|
|
16620
16620
|
}), Je = /* @__PURE__ */ R(() => {
|
|
16621
16621
|
var st;
|
|
16622
|
-
return o(tt).get(o(
|
|
16623
|
-
}), Xt = /* @__PURE__ */ R(() => o(Ve) ? o(Je) : o(
|
|
16622
|
+
return o(tt).get(o(Bt)) ?? ((st = o(Xe).pathMorph) == null ? void 0 : st.current) ?? 1;
|
|
16623
|
+
}), Xt = /* @__PURE__ */ R(() => o(Ve) ? o(Je) : o(xt)), ht = /* @__PURE__ */ R(() => o(Ve) ?? (o(We) && o(xt) < 1 ? o(We) : r(o(_e)))), Tt = /* @__PURE__ */ R(() => xi(o(v))), Ut = /* @__PURE__ */ R(() => {
|
|
16624
16624
|
var st;
|
|
16625
16625
|
return ((st = o(v).animation) == null ? void 0 : st.mode) ?? "none";
|
|
16626
|
-
}), un = /* @__PURE__ */ R(() => !o(
|
|
16626
|
+
}), un = /* @__PURE__ */ R(() => !o(ht) && (o(Ut) === "draw" || o(Ut) === "undraw" || o(Ut) === "draw-undraw"));
|
|
16627
16627
|
var Nt = OE(), Kt = At(Nt);
|
|
16628
16628
|
{
|
|
16629
16629
|
var St = (st) => {
|
|
@@ -16631,22 +16631,22 @@ function tw(t, e) {
|
|
|
16631
16631
|
bn(
|
|
16632
16632
|
Cn,
|
|
16633
16633
|
17,
|
|
16634
|
-
() => o(
|
|
16634
|
+
() => o(ht).parts ?? [
|
|
16635
16635
|
{
|
|
16636
|
-
interp: o(
|
|
16637
|
-
fromColor: o(
|
|
16638
|
-
toColor: o(
|
|
16636
|
+
interp: o(ht).interp,
|
|
16637
|
+
fromColor: o(ht).fromColor,
|
|
16638
|
+
toColor: o(ht).toColor
|
|
16639
16639
|
}
|
|
16640
16640
|
],
|
|
16641
16641
|
fn,
|
|
16642
|
-
(yn,
|
|
16642
|
+
(yn, _t) => {
|
|
16643
16643
|
var ut = UE();
|
|
16644
16644
|
Re(
|
|
16645
16645
|
(dn) => {
|
|
16646
|
-
K(ut, "d", dn), K(ut, "fill", o(_e).morphColor ?? o(
|
|
16646
|
+
K(ut, "d", dn), K(ut, "fill", o(_e).morphColor ?? o(_t).toColor);
|
|
16647
16647
|
},
|
|
16648
16648
|
[
|
|
16649
|
-
() => o(
|
|
16649
|
+
() => o(_t).interp(Math.max(0, Math.min(1, o(Xt))))
|
|
16650
16650
|
]
|
|
16651
16651
|
), ae(yn, ut);
|
|
16652
16652
|
}
|
|
@@ -16654,14 +16654,14 @@ function tw(t, e) {
|
|
|
16654
16654
|
}, $t = (st) => {
|
|
16655
16655
|
var qt = qE();
|
|
16656
16656
|
go(qt, (Cn, yn) => _s == null ? void 0 : _s(Cn, yn), () => {
|
|
16657
|
-
var Cn, yn,
|
|
16657
|
+
var Cn, yn, _t, ut, dn, ha, oa;
|
|
16658
16658
|
return {
|
|
16659
16659
|
enabled: !0,
|
|
16660
16660
|
mode: o(Ut),
|
|
16661
16661
|
duration: ((Cn = o(v).animation) == null ? void 0 : Cn.duration) ?? 800,
|
|
16662
16662
|
el: o(v),
|
|
16663
16663
|
loop: !!((yn = o(v).animation) != null && yn.loop),
|
|
16664
|
-
reverse: ((
|
|
16664
|
+
reverse: ((_t = o(v).animation) == null ? void 0 : _t.direction) === "reverse",
|
|
16665
16665
|
slideDuration: (ut = o(Ct)) == null ? void 0 : ut.duration,
|
|
16666
16666
|
key: `draw-${o(de)}-${o(Ut)}-${(dn = o(v).animation) == null ? void 0 : dn.duration}-${(ha = o(v).animation) == null ? void 0 : ha.loop}-${(oa = o(v).animation) == null ? void 0 : oa.direction}`
|
|
16667
16667
|
};
|
|
@@ -16673,20 +16673,20 @@ function tw(t, e) {
|
|
|
16673
16673
|
}), ae(st, qt);
|
|
16674
16674
|
};
|
|
16675
16675
|
ot(Kt, (st) => {
|
|
16676
|
-
o(
|
|
16676
|
+
o(ht) ? st(St) : o(un) ? st($t, 1) : st(dt, -1);
|
|
16677
16677
|
});
|
|
16678
16678
|
}
|
|
16679
16679
|
Re(() => {
|
|
16680
16680
|
var st;
|
|
16681
|
-
return K(Nt, "viewBox", ((st = o(
|
|
16681
|
+
return K(Nt, "viewBox", ((st = o(ht)) == null ? void 0 : st.viewBox) ?? o(Tt).viewBox);
|
|
16682
16682
|
}), ae(we, Nt);
|
|
16683
16683
|
}, Ra = (we) => {
|
|
16684
16684
|
const v = /* @__PURE__ */ R(() => o(_e));
|
|
16685
16685
|
var Ve = TE();
|
|
16686
16686
|
let We;
|
|
16687
|
-
var
|
|
16687
|
+
var xt = lt(At(Ve), 4);
|
|
16688
16688
|
let Je;
|
|
16689
|
-
var Xt = At(
|
|
16689
|
+
var Xt = At(xt);
|
|
16690
16690
|
Re(() => {
|
|
16691
16691
|
We = zt(Ve, "", We, {
|
|
16692
16692
|
background: o(v).bgColor,
|
|
@@ -16694,7 +16694,7 @@ function tw(t, e) {
|
|
|
16694
16694
|
"border-radius": `${o(v).borderRadius ?? ""}px`,
|
|
16695
16695
|
padding: `${o(v).padding ?? ""}px`,
|
|
16696
16696
|
"box-shadow": o(v).shadow === !1 ? "none" : "0 10px 24px rgba(0,0,0,0.30), 0 3px 6px rgba(0,0,0,0.20)"
|
|
16697
|
-
}), Je = zt(
|
|
16697
|
+
}), Je = zt(xt, "", Je, {
|
|
16698
16698
|
"font-size": `${o(v).fontSize ?? ""}px`,
|
|
16699
16699
|
"font-family": `'${o(v).fontFamily ?? ""}', sans-serif`,
|
|
16700
16700
|
"font-weight": o(v).fontWeight,
|
|
@@ -16703,7 +16703,7 @@ function tw(t, e) {
|
|
|
16703
16703
|
}), ae(we, Ve);
|
|
16704
16704
|
};
|
|
16705
16705
|
ot(Ne, (we) => {
|
|
16706
|
-
o(_e).type === "code" ? we(G) : o(_e).type === "text" ? we(U, 1) : o(_e).type === "arrow" ? we(
|
|
16706
|
+
o(_e).type === "code" ? we(G) : o(_e).type === "text" ? we(U, 1) : o(_e).type === "arrow" ? we(Dt, 2) : o(_e).type === "image" ? we(Vt, 3) : o(_e).type === "video" ? we(mt, 4) : o(_e).type === "shape" ? we(me, 5) : o(_e).type === "counter" ? we(it, 6) : o(_e).type === "chart" ? we(tn, 7) : o(_e).type === "progress" ? we(je, 8) : o(_e).type === "container" ? we(cn, 9) : o(_e).type === "icon" ? we(Se, 10) : o(_e).type === "svg" ? we(dA, 11) : o(_e).type === "motionPath" ? we(PA, 12) : o(_e).type === "draw" ? we(tA, 13) : o(_e).type === "sticky" && we(Ra, 14);
|
|
16707
16707
|
});
|
|
16708
16708
|
}
|
|
16709
16709
|
go(ct, (we, v) => ws == null ? void 0 : ws(we, v), () => {
|
|
@@ -16733,15 +16733,15 @@ function tw(t, e) {
|
|
|
16733
16733
|
"transform-origin": o(_e).tiltOrigin ?? "center",
|
|
16734
16734
|
"backface-visibility": o(_e).backfaceVisibility ?? "visible",
|
|
16735
16735
|
"z-index": o(_e).zIndex,
|
|
16736
|
-
"--float-amp": `${(o(kt) ? hs(o(mn), o(i) || o(
|
|
16737
|
-
"--float-amp-scale": o(kt) ? 1 + hs(o(mn), o(i) || o(
|
|
16738
|
-
"--float-amp-rot": `${o(kt) ? hs(o(mn), o(i) || o(
|
|
16739
|
-
"--float-speed": `${(o(kt) ? vu(o(mn), o(i) || o(
|
|
16740
|
-
"--float-delay": `${Di(o(i) || o(
|
|
16736
|
+
"--float-amp": `${(o(kt) ? hs(o(mn), o(i) || o(Bt)) : 10) ?? ""}px`,
|
|
16737
|
+
"--float-amp-scale": o(kt) ? 1 + hs(o(mn), o(i) || o(Bt)) / 200 : 1.05,
|
|
16738
|
+
"--float-amp-rot": `${o(kt) ? hs(o(mn), o(i) || o(Bt)) / 2 : 5}deg`,
|
|
16739
|
+
"--float-speed": `${(o(kt) ? vu(o(mn), o(i) || o(Bt)) : 3) ?? ""}s`,
|
|
16740
|
+
"--float-delay": `${Di(o(i) || o(Bt), 3) * 2}s`,
|
|
16741
16741
|
animation: (() => {
|
|
16742
|
-
var We,
|
|
16742
|
+
var We, xt, Je, Xt, ht, Tt, Ut, un, Nt, Kt;
|
|
16743
16743
|
o(ee);
|
|
16744
|
-
const we = [], v = typeof window < "u" && window.__animotPresenterRuntime ? window.__animotPresenterRuntime.get(o(
|
|
16744
|
+
const we = [], v = typeof window < "u" && window.__animotPresenterRuntime ? window.__animotPresenterRuntime.get(o(Bt)) : null;
|
|
16745
16745
|
if (v != null && v.exit) {
|
|
16746
16746
|
const St = v.exitDelayMs ?? 0;
|
|
16747
16747
|
St > 0 ? we.push(`${v.durationMs}ms ease-in ${St}ms 1 forwards ${v.exit}`) : we.push(`${v.durationMs}ms ease-in 1 forwards ${v.exit}`);
|
|
@@ -16750,20 +16750,20 @@ function tw(t, e) {
|
|
|
16750
16750
|
const St = v.entranceDelayMs ?? 0;
|
|
16751
16751
|
St > 0 ? we.push(`${v.durationMs}ms ease-out ${St}ms 1 both ${v.entrance}`) : we.push(`${v.durationMs}ms ease-out 1 both ${v.entrance}`);
|
|
16752
16752
|
}
|
|
16753
|
-
const Ve = $h((
|
|
16753
|
+
const Ve = $h((xt = (We = o(_e)) == null ? void 0 : We.animationConfig) == null ? void 0 : xt.emphasis);
|
|
16754
16754
|
if (Ve) {
|
|
16755
|
-
const St = ((Xt = (Je = o(_e)) == null ? void 0 : Je.animationConfig) == null ? void 0 : Xt.emphasis) === "tada" || ((Tt = (
|
|
16755
|
+
const St = ((Xt = (Je = o(_e)) == null ? void 0 : Je.animationConfig) == null ? void 0 : Xt.emphasis) === "tada" || ((Tt = (ht = o(_e)) == null ? void 0 : ht.animationConfig) == null ? void 0 : Tt.emphasis) === "bob-once", $t = (un = (Ut = o(_e)) == null ? void 0 : Ut.animationConfig) == null ? void 0 : un.emphasisDuration, dt = St ? 1200 : 2200, st = typeof $t == "number" && $t > 0 ? $t : dt, qt = ((Kt = (Nt = o(_e)) == null ? void 0 : Nt.animationConfig) == null ? void 0 : Kt.emphasisDelay) ?? 0;
|
|
16756
16756
|
we.push(`${st}ms ease-in-out ${qt}ms ${St ? "1" : "infinite"} ${St ? "both" : "none"} ${Ve}`);
|
|
16757
16757
|
}
|
|
16758
16758
|
if (o(kt)) {
|
|
16759
|
-
const St = vu(o(mn), o(i) || o(
|
|
16760
|
-
we.push(`${St}s ease-in-out infinite none ${Hh(o(mn), o(i) || o(
|
|
16759
|
+
const St = vu(o(mn), o(i) || o(Bt));
|
|
16760
|
+
we.push(`${St}s ease-in-out infinite none ${Hh(o(mn), o(i) || o(Bt))}`);
|
|
16761
16761
|
}
|
|
16762
16762
|
return we.length ? we.join(", ") : "none";
|
|
16763
16763
|
})(),
|
|
16764
16764
|
filter: (() => {
|
|
16765
|
-
const we = [], v = o(Xe).blur.current, Ve = o(Xe).brightness.current, We = o(Xe).contrast.current,
|
|
16766
|
-
return v && we.push(`blur(${v}px)`), Ve !== 100 && we.push(`brightness(${Ve}%)`), We !== 100 && we.push(`contrast(${We}%)`),
|
|
16765
|
+
const we = [], v = o(Xe).blur.current, Ve = o(Xe).brightness.current, We = o(Xe).contrast.current, xt = o(Xe).saturate.current, Je = o(Xe).grayscale.current;
|
|
16766
|
+
return v && we.push(`blur(${v}px)`), Ve !== 100 && we.push(`brightness(${Ve}%)`), We !== 100 && we.push(`contrast(${We}%)`), xt !== 100 && we.push(`saturate(${xt}%)`), Je && we.push(`grayscale(${Je}%)`), we.length ? we.join(" ") : "none";
|
|
16767
16767
|
})()
|
|
16768
16768
|
})
|
|
16769
16769
|
]
|
|
@@ -16778,10 +16778,10 @@ function tw(t, e) {
|
|
|
16778
16778
|
var et = lt(te, 2);
|
|
16779
16779
|
{
|
|
16780
16780
|
var wt = (Ot) => {
|
|
16781
|
-
var
|
|
16781
|
+
var Bt = WE(), _e = Ht(Bt), Xe = lt(_e, 2);
|
|
16782
16782
|
Re(() => {
|
|
16783
16783
|
_e.disabled = o(de) === 0 || o(Fe), Xe.disabled = !ge() && o(de) === o(en).length - 1 || o(Fe);
|
|
16784
|
-
}), xA("click", _e, () => eA(o(de) - 1)), xA("click", Xe, () => Ga()), ae(Ot,
|
|
16784
|
+
}), xA("click", _e, () => eA(o(de) - 1)), xA("click", Xe, () => Ga()), ae(Ot, Bt);
|
|
16785
16785
|
};
|
|
16786
16786
|
ot(et, (Ot) => {
|
|
16787
16787
|
ke() && Ot(wt);
|
|
@@ -16790,7 +16790,7 @@ function tw(t, e) {
|
|
|
16790
16790
|
var Jt = lt(et, 2);
|
|
16791
16791
|
{
|
|
16792
16792
|
var pn = (Ot) => {
|
|
16793
|
-
var
|
|
16793
|
+
var Bt = ZE(), _e = At(Bt), Xe = lt(_e, 2), mn = At(Xe), kt = lt(Xe, 2), i = lt(kt, 2);
|
|
16794
16794
|
let u;
|
|
16795
16795
|
var c = At(i), l = At(c);
|
|
16796
16796
|
{
|
|
@@ -16809,7 +16809,7 @@ function tw(t, e) {
|
|
|
16809
16809
|
_e.disabled = o(de) === 0 || o(Fe), An(mn, `${o(de) + 1} / ${o(en).length ?? ""}`), kt.disabled = !ge() && o(de) === o(en).length - 1 || o(Fe), K(i, "aria-label", o(Ae) ? "Pause" : "Play"), u = bA(i, 1, "svelte-16ocdv9", null, u, { active: o(Ae) });
|
|
16810
16810
|
}), xA("click", _e, () => eA(o(de) - 1)), xA("click", kt, () => Ga()), xA("click", i, () => {
|
|
16811
16811
|
V(Ae, !o(Ae)), o(Ae) || aa();
|
|
16812
|
-
}), ae(Ot,
|
|
16812
|
+
}), ae(Ot, Bt);
|
|
16813
16813
|
};
|
|
16814
16814
|
ot(Jt, (Ot) => {
|
|
16815
16815
|
be() && Ot(pn);
|
|
@@ -16818,11 +16818,11 @@ function tw(t, e) {
|
|
|
16818
16818
|
var Nn = lt(Jt, 2);
|
|
16819
16819
|
{
|
|
16820
16820
|
var Wn = (Ot) => {
|
|
16821
|
-
var
|
|
16821
|
+
var Bt = VE(), _e = At(Bt);
|
|
16822
16822
|
let Xe;
|
|
16823
16823
|
Re(() => Xe = zt(_e, "", Xe, {
|
|
16824
16824
|
width: `${(o(de) + 1) / o(en).length * 100}%`
|
|
16825
|
-
})), ae(Ot,
|
|
16825
|
+
})), ae(Ot, Bt);
|
|
16826
16826
|
};
|
|
16827
16827
|
ot(Nn, (Ot) => {
|
|
16828
16828
|
ve() && Ot(Wn);
|