@fileverse-dev/ddoc 2.1.4-patch-4 → 2.1.4-patch-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +113 -113
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -14,7 +14,7 @@ var H2 = (t, e, n, r) => ({
|
|
14
14
|
}
|
15
15
|
});
|
16
16
|
import * as T from "react";
|
17
|
-
import Me, { createContext as Vn, useContext as jt, forwardRef as an, useRef as
|
17
|
+
import Me, { createContext as Vn, useContext as jt, forwardRef as an, useRef as Xe, useState as ze, useDebugValue as LF, useEffect as Be, useLayoutEffect as nl, createElement as Ne, useCallback as Ct, memo as EF, Children as Zl, isValidElement as vh, cloneElement as o2, useMemo as kn, useId as l2, Fragment as kc, useInsertionEffect as L8, useReducer as dae, createRef as Tc, Suspense as hae, Component as VC, useImperativeHandle as TF } from "react";
|
18
18
|
import * as c2 from "react-dom";
|
19
19
|
import _C, { flushSync as qC, createPortal as NF } from "react-dom";
|
20
20
|
var $r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
@@ -433,7 +433,7 @@ function mae() {
|
|
433
433
|
});
|
434
434
|
}
|
435
435
|
}
|
436
|
-
var
|
436
|
+
var Qe = function(O, ie, ge, Re, it, mt, at) {
|
437
437
|
var st = {
|
438
438
|
// This tag allows us to uniquely identify this as a React Element
|
439
439
|
$$typeof: e,
|
@@ -477,7 +477,7 @@ function mae() {
|
|
477
477
|
var Ee = typeof O == "function" ? O.displayName || O.name || "Unknown" : O;
|
478
478
|
st && Se(at, Ee), Ke && qe(at, Ee);
|
479
479
|
}
|
480
|
-
return
|
480
|
+
return Qe(O, st, Ke, it, Re, Ye.current, at);
|
481
481
|
}
|
482
482
|
}
|
483
483
|
var Et = v.ReactCurrentOwner, rt = v.ReactDebugCurrentFrame;
|
@@ -14266,10 +14266,10 @@ function P0e(t, e) {
|
|
14266
14266
|
function K(Se) {
|
14267
14267
|
Se === void 0 && (Se = !1), C.style.pointerEvents = w.props.interactive && !Se ? "" : "none", C.style.zIndex = "" + w.props.zIndex;
|
14268
14268
|
}
|
14269
|
-
function ae(Se, qe,
|
14270
|
-
if (
|
14269
|
+
function ae(Se, qe, Qe) {
|
14270
|
+
if (Qe === void 0 && (Qe = !0), L.forEach(function(Et) {
|
14271
14271
|
Et[Se] && Et[Se].apply(Et, qe);
|
14272
|
-
}),
|
14272
|
+
}), Qe) {
|
14273
14273
|
var Ft;
|
14274
14274
|
(Ft = w.props)[Se].apply(Ft, qe);
|
14275
14275
|
}
|
@@ -14277,13 +14277,13 @@ function P0e(t, e) {
|
|
14277
14277
|
function Y() {
|
14278
14278
|
var Se = w.props.aria;
|
14279
14279
|
if (Se.content) {
|
14280
|
-
var qe = "aria-" + Se.content,
|
14280
|
+
var qe = "aria-" + Se.content, Qe = C.id, Ft = qf(w.props.triggerTarget || t);
|
14281
14281
|
Ft.forEach(function(Et) {
|
14282
14282
|
var rt = Et.getAttribute(qe);
|
14283
14283
|
if (w.state.isVisible)
|
14284
|
-
Et.setAttribute(qe, rt ? rt + " " +
|
14284
|
+
Et.setAttribute(qe, rt ? rt + " " + Qe : Qe);
|
14285
14285
|
else {
|
14286
|
-
var ft = rt && rt.replace(
|
14286
|
+
var ft = rt && rt.replace(Qe, "").trim();
|
14287
14287
|
ft ? Et.setAttribute(qe, ft) : Et.removeAttribute(qe);
|
14288
14288
|
}
|
14289
14289
|
});
|
@@ -14306,8 +14306,8 @@ function P0e(t, e) {
|
|
14306
14306
|
if (!(Eo.isTouch && (l || Se.type === "mousedown"))) {
|
14307
14307
|
var qe = Se.composedPath && Se.composedPath()[0] || Se.target;
|
14308
14308
|
if (!(w.props.interactive && Gj(C, qe))) {
|
14309
|
-
if (qf(w.props.triggerTarget || t).some(function(
|
14310
|
-
return Gj(
|
14309
|
+
if (qf(w.props.triggerTarget || t).some(function(Qe) {
|
14310
|
+
return Gj(Qe, qe);
|
14311
14311
|
})) {
|
14312
14312
|
if (Eo.isTouch || w.state.isVisible && w.props.trigger.indexOf("click") >= 0)
|
14313
14313
|
return;
|
@@ -14342,23 +14342,23 @@ function P0e(t, e) {
|
|
14342
14342
|
Oe(Se, qe);
|
14343
14343
|
}
|
14344
14344
|
function Oe(Se, qe) {
|
14345
|
-
var
|
14345
|
+
var Qe = U().box;
|
14346
14346
|
function Ft(Et) {
|
14347
|
-
Et.target ===
|
14347
|
+
Et.target === Qe && (hb(Qe, "remove", Ft), qe());
|
14348
14348
|
}
|
14349
14349
|
if (Se === 0)
|
14350
14350
|
return qe();
|
14351
|
-
hb(
|
14351
|
+
hb(Qe, "remove", f), hb(Qe, "add", Ft), f = Ft;
|
14352
14352
|
}
|
14353
|
-
function Pe(Se, qe,
|
14354
|
-
|
14353
|
+
function Pe(Se, qe, Qe) {
|
14354
|
+
Qe === void 0 && (Qe = !1);
|
14355
14355
|
var Ft = qf(w.props.triggerTarget || t);
|
14356
14356
|
Ft.forEach(function(Et) {
|
14357
|
-
Et.addEventListener(Se, qe,
|
14357
|
+
Et.addEventListener(Se, qe, Qe), h.push({
|
14358
14358
|
node: Et,
|
14359
14359
|
eventType: Se,
|
14360
14360
|
handler: qe,
|
14361
|
-
options:
|
14361
|
+
options: Qe
|
14362
14362
|
});
|
14363
14363
|
});
|
14364
14364
|
}
|
@@ -14384,22 +14384,22 @@ function P0e(t, e) {
|
|
14384
14384
|
}
|
14385
14385
|
function Le() {
|
14386
14386
|
h.forEach(function(Se) {
|
14387
|
-
var qe = Se.node,
|
14388
|
-
qe.removeEventListener(
|
14387
|
+
var qe = Se.node, Qe = Se.eventType, Ft = Se.handler, Et = Se.options;
|
14388
|
+
qe.removeEventListener(Qe, Ft, Et);
|
14389
14389
|
}), h = [];
|
14390
14390
|
}
|
14391
14391
|
function je(Se) {
|
14392
|
-
var qe,
|
14392
|
+
var qe, Qe = !1;
|
14393
14393
|
if (!(!w.state.isEnabled || ee(Se) || o)) {
|
14394
14394
|
var Ft = ((qe = u) == null ? void 0 : qe.type) === "focus";
|
14395
14395
|
u = Se, m = Se.currentTarget, oe(), !w.state.isVisible && m0e(Se) && ag.forEach(function(Et) {
|
14396
14396
|
return Et(Se);
|
14397
|
-
}), Se.type === "click" && (w.props.trigger.indexOf("mouseenter") < 0 || s) && w.props.hideOnClick !== !1 && w.state.isVisible ?
|
14397
|
+
}), Se.type === "click" && (w.props.trigger.indexOf("mouseenter") < 0 || s) && w.props.hideOnClick !== !1 && w.state.isVisible ? Qe = !0 : B(Se), Se.type === "click" && (s = !Qe), Qe && !Ft && te(Se);
|
14398
14398
|
}
|
14399
14399
|
}
|
14400
14400
|
function ce(Se) {
|
14401
|
-
var qe = Se.target,
|
14402
|
-
if (!(Se.type === "mousemove" &&
|
14401
|
+
var qe = Se.target, Qe = _().contains(qe) || C.contains(qe);
|
14402
|
+
if (!(Se.type === "mousemove" && Qe)) {
|
14403
14403
|
var Ft = I().concat(C).map(function(Et) {
|
14404
14404
|
var rt, ft = Et._tippy, Ot = (rt = ft.popperInstance) == null ? void 0 : rt.state;
|
14405
14405
|
return Ot ? {
|
@@ -14429,7 +14429,7 @@ function P0e(t, e) {
|
|
14429
14429
|
}
|
14430
14430
|
function Ie() {
|
14431
14431
|
G();
|
14432
|
-
var Se = w.props, qe = Se.popperOptions,
|
14432
|
+
var Se = w.props, qe = Se.popperOptions, Qe = Se.placement, Ft = Se.offset, Et = Se.getReferenceClientRect, rt = Se.moveTransition, ft = F() ? Rk(C).arrow : null, Ot = Et ? {
|
14433
14433
|
getBoundingClientRect: Et,
|
14434
14434
|
contextElement: Et.contextElement || _()
|
14435
14435
|
} : t, kt = {
|
@@ -14479,7 +14479,7 @@ function P0e(t, e) {
|
|
14479
14479
|
padding: 3
|
14480
14480
|
}
|
14481
14481
|
}), ct.push.apply(ct, (qe == null ? void 0 : qe.modifiers) || []), w.popperInstance = s0e(Ot, C, Object.assign({}, qe, {
|
14482
|
-
placement:
|
14482
|
+
placement: Qe,
|
14483
14483
|
onFirstUpdate: d,
|
14484
14484
|
modifiers: ct
|
14485
14485
|
}));
|
@@ -14488,8 +14488,8 @@ function P0e(t, e) {
|
|
14488
14488
|
w.popperInstance && (w.popperInstance.destroy(), w.popperInstance = null);
|
14489
14489
|
}
|
14490
14490
|
function M() {
|
14491
|
-
var Se = w.props.appendTo, qe,
|
14492
|
-
w.props.interactive && Se === I_ || Se === "parent" ? qe =
|
14491
|
+
var Se = w.props.appendTo, qe, Qe = _();
|
14492
|
+
w.props.interactive && Se === I_ || Se === "parent" ? qe = Qe.parentNode : qe = P_(Se, [Qe]), qe.contains(C) || qe.appendChild(C), w.state.isMounted = !0, Ie(), process.env.NODE_ENV !== "production" && xl(w.props.interactive && Se === Da.appendTo && Qe.nextElementSibling !== C, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
14493
14493
|
|
14494
14494
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
14495
14495
|
|
@@ -14502,7 +14502,7 @@ function P0e(t, e) {
|
|
14502
14502
|
}
|
14503
14503
|
function B(Se) {
|
14504
14504
|
w.clearDelayTimeouts(), Se && ae("onTrigger", [w, Se]), be();
|
14505
|
-
var qe = q(!0),
|
14505
|
+
var qe = q(!0), Qe = D(), Ft = Qe[0], Et = Qe[1];
|
14506
14506
|
Eo.isTouch && Ft === "hold" && Et && (qe = Et), qe ? r = setTimeout(function() {
|
14507
14507
|
w.show();
|
14508
14508
|
}, qe) : w.show();
|
@@ -14533,12 +14533,12 @@ function P0e(t, e) {
|
|
14533
14533
|
function Ye(Se) {
|
14534
14534
|
if (process.env.NODE_ENV !== "production" && xl(w.state.isDestroyed, Lf("setProps")), !w.state.isDestroyed) {
|
14535
14535
|
ae("onBeforeUpdate", [w, Se]), Le();
|
14536
|
-
var qe = w.props,
|
14536
|
+
var qe = w.props, Qe = Yj(t, Object.assign({}, qe, qj(Se), {
|
14537
14537
|
ignoreAttributes: !0
|
14538
14538
|
}));
|
14539
|
-
w.props =
|
14539
|
+
w.props = Qe, ve(), qe.interactiveDebounce !== Qe.interactiveDebounce && (he(), p = Vj(ce, Qe.interactiveDebounce)), qe.triggerTarget && !Qe.triggerTarget ? qf(qe.triggerTarget).forEach(function(Ft) {
|
14540
14540
|
Ft.removeAttribute("aria-expanded");
|
14541
|
-
}) :
|
14541
|
+
}) : Qe.triggerTarget && t.removeAttribute("aria-expanded"), oe(), K(), S && S(qe, Qe), w.popperInstance && (Ie(), I().forEach(function(Ft) {
|
14542
14542
|
requestAnimationFrame(Ft._tippy.popperInstance.forceUpdate);
|
14543
14543
|
})), ae("onAfterUpdate", [w, Se]);
|
14544
14544
|
}
|
@@ -14550,8 +14550,8 @@ function P0e(t, e) {
|
|
14550
14550
|
}
|
14551
14551
|
function Te() {
|
14552
14552
|
process.env.NODE_ENV !== "production" && xl(w.state.isDestroyed, Lf("show"));
|
14553
|
-
var Se = w.state.isVisible, qe = w.state.isDestroyed,
|
14554
|
-
if (!(Se || qe ||
|
14553
|
+
var Se = w.state.isVisible, qe = w.state.isDestroyed, Qe = !w.state.isEnabled, Ft = Eo.isTouch && !w.props.touch, Et = fb(w.props.duration, 0, Da.duration);
|
14554
|
+
if (!(Se || qe || Qe || Ft) && !_().hasAttribute("disabled") && (ae("onShow", [w], !1), w.props.onShow(w) !== !1)) {
|
14555
14555
|
if (w.state.isVisible = !0, F() && (C.style.visibility = "visible"), K(), be(), w.state.isMounted || (C.style.transition = "none"), F()) {
|
14556
14556
|
var rt = U(), ft = rt.box, Ot = rt.content;
|
14557
14557
|
db([ft, Ot], 0);
|
@@ -14572,8 +14572,8 @@ function P0e(t, e) {
|
|
14572
14572
|
}
|
14573
14573
|
function We() {
|
14574
14574
|
process.env.NODE_ENV !== "production" && xl(w.state.isDestroyed, Lf("hide"));
|
14575
|
-
var Se = !w.state.isVisible, qe = w.state.isDestroyed,
|
14576
|
-
if (!(Se || qe ||
|
14575
|
+
var Se = !w.state.isVisible, qe = w.state.isDestroyed, Qe = !w.state.isEnabled, Ft = fb(w.props.duration, 1, Da.duration);
|
14576
|
+
if (!(Se || qe || Qe) && (ae("onHide", [w], !1), w.props.onHide(w) !== !1)) {
|
14577
14577
|
if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, s = !1, F() && (C.style.visibility = "hidden"), he(), J(), K(!0), F()) {
|
14578
14578
|
var Et = U(), rt = Et.box, ft = Et.content;
|
14579
14579
|
w.props.animation && (db([rt, ft], Ft), Uj([rt, ft], "hidden"));
|
@@ -15357,7 +15357,7 @@ class SA {
|
|
15357
15357
|
}
|
15358
15358
|
}
|
15359
15359
|
function __(t = {}, e = []) {
|
15360
|
-
const n =
|
15360
|
+
const n = Xe(t);
|
15361
15361
|
n.current = t;
|
15362
15362
|
const [r] = ze(() => new SA(n)), i = U8.useSyncExternalStore(r.subscribe, r.getEditor, r.getServerSnapshot);
|
15363
15363
|
return LF(i), Be(r.onRender(e)), X0e({
|
@@ -16057,7 +16057,7 @@ function o1e() {
|
|
16057
16057
|
});
|
16058
16058
|
}
|
16059
16059
|
}
|
16060
|
-
var
|
16060
|
+
var Qe = function(O, ie, ge, Re, it, mt, at) {
|
16061
16061
|
var st = {
|
16062
16062
|
// This tag allows us to uniquely identify this as a React Element
|
16063
16063
|
$$typeof: e,
|
@@ -16101,7 +16101,7 @@ function o1e() {
|
|
16101
16101
|
var Ee = typeof O == "function" ? O.displayName || O.name || "Unknown" : O;
|
16102
16102
|
st && Se(at, Ee), Ke && qe(at, Ee);
|
16103
16103
|
}
|
16104
|
-
return
|
16104
|
+
return Qe(O, st, Ke, it, Re, Ye.current, at);
|
16105
16105
|
}
|
16106
16106
|
}
|
16107
16107
|
var Et = v.ReactCurrentOwner, rt = v.ReactDebugCurrentFrame;
|
@@ -46223,7 +46223,7 @@ function Qf(t) {
|
|
46223
46223
|
const Xq = Vn({});
|
46224
46224
|
let kD = !1;
|
46225
46225
|
function Plt(t, e, n, r, i) {
|
46226
|
-
const { visualElement: a } = jt(X8), s = jt(Kq), o = jt($8), l = jt(GA).reducedMotion, c =
|
46226
|
+
const { visualElement: a } = jt(X8), s = jt(Kq), o = jt($8), l = jt(GA).reducedMotion, c = Xe();
|
46227
46227
|
r = r || s.renderer, !c.current && r && (c.current = r(t, {
|
46228
46228
|
visualState: e,
|
46229
46229
|
parent: a,
|
@@ -46236,7 +46236,7 @@ function Plt(t, e, n, r, i) {
|
|
46236
46236
|
u && !u.projection && i && (u.type === "html" || u.type === "svg") && Olt(c.current, n, i, f), L8(() => {
|
46237
46237
|
u && u.update(n, o);
|
46238
46238
|
});
|
46239
|
-
const d =
|
46239
|
+
const d = Xe(!!(n[Jq] && !window.HandoffComplete));
|
46240
46240
|
return ZA(() => {
|
46241
46241
|
u && (u.updateFeatures(), YA.render(u.render), d.current && u.animationState && u.animationState.animateChanges());
|
46242
46242
|
}), Be(() => {
|
@@ -46834,7 +46834,7 @@ function sS(t, e, n, r) {
|
|
46834
46834
|
return e;
|
46835
46835
|
}
|
46836
46836
|
function dU(t) {
|
46837
|
-
const e =
|
46837
|
+
const e = Xe(null);
|
46838
46838
|
return e.current === null && (e.current = t()), e.current;
|
46839
46839
|
}
|
46840
46840
|
const Yk = (t) => Array.isArray(t), vct = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), bct = (t) => Yk(t) ? t[t.length - 1] || 0 : t;
|
@@ -50698,7 +50698,7 @@ const Z1t = (t, e) => XA(t) ? new W1t(e) : new G1t(e, {
|
|
50698
50698
|
...Y1t
|
50699
50699
|
}, D1 = /* @__PURE__ */ Wlt((t, e) => Act(t, e, K1t, Z1t));
|
50700
50700
|
function kG() {
|
50701
|
-
const t =
|
50701
|
+
const t = Xe(!1);
|
50702
50702
|
return ZA(() => (t.current = !0, () => {
|
50703
50703
|
t.current = !1;
|
50704
50704
|
}), []), t;
|
@@ -50728,7 +50728,7 @@ class Q1t extends T.Component {
|
|
50728
50728
|
}
|
50729
50729
|
}
|
50730
50730
|
function X1t({ children: t, isPresent: e }) {
|
50731
|
-
const n = l2(), r =
|
50731
|
+
const n = l2(), r = Xe(null), i = Xe({
|
50732
50732
|
width: 0,
|
50733
50733
|
height: 0,
|
50734
50734
|
top: 0,
|
@@ -50805,7 +50805,7 @@ const rft = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, exitB
|
|
50805
50805
|
dc(!i, "Replace exitBeforeEnter with mode='wait'");
|
50806
50806
|
const o = jt(QA).forceRender || J1t()[0], l = kG(), c = nft(t);
|
50807
50807
|
let u = c;
|
50808
|
-
const f =
|
50808
|
+
const f = Xe(/* @__PURE__ */ new Map()).current, d = Xe(u), h = Xe(/* @__PURE__ */ new Map()).current, p = Xe(!0);
|
50809
50809
|
if (ZA(() => {
|
50810
50810
|
p.current = !1, tft(c, h), d.current = u;
|
50811
50811
|
}), eft(() => {
|
@@ -51000,7 +51000,7 @@ const xG = ({
|
|
51000
51000
|
onAddTag: n,
|
51001
51001
|
isPreviewMode: r
|
51002
51002
|
}) => {
|
51003
|
-
const [i, a] = ze(""), [s, o] = ze(!1), l =
|
51003
|
+
const [i, a] = ze(""), [s, o] = ze(!1), l = Xe(null), c = (h) => {
|
51004
51004
|
a(h), o(!0);
|
51005
51005
|
}, u = (h) => {
|
51006
51006
|
const p = t.find(
|
@@ -56612,7 +56612,7 @@ function tpt({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56612
56612
|
}), [
|
56613
56613
|
U
|
56614
56614
|
]);
|
56615
|
-
function
|
56615
|
+
function Qe(rt) {
|
56616
56616
|
const ft = rt ? (window.innerWidth - kg) / window.innerWidth : 1, Ot = rt ? -16 : 0;
|
56617
56617
|
Oe.current && window.clearTimeout(Oe.current), Nr(ce.current, {
|
56618
56618
|
transition: `transform ${Wn.DURATION}s cubic-bezier(${Wn.EASE.join(",")})`,
|
@@ -56671,7 +56671,7 @@ function tpt({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, s
|
|
56671
56671
|
shouldFade: me,
|
56672
56672
|
closeDrawer: Vt,
|
56673
56673
|
onNestedDrag: Ft,
|
56674
|
-
onNestedOpenChange:
|
56674
|
+
onNestedOpenChange: Qe,
|
56675
56675
|
onNestedRelease: Et,
|
56676
56676
|
keyboardIsOpen: ve,
|
56677
56677
|
modal: g,
|
@@ -57588,7 +57588,7 @@ const zpt = ({
|
|
57588
57588
|
content: a,
|
57589
57589
|
size: s
|
57590
57590
|
}) => {
|
57591
|
-
const o =
|
57591
|
+
const o = Xe(null), l = () => {
|
57592
57592
|
o.current && o.current.click();
|
57593
57593
|
};
|
57594
57594
|
return /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
|
@@ -57673,7 +57673,7 @@ an(
|
|
57673
57673
|
)
|
57674
57674
|
);
|
57675
57675
|
const Bpt = ({ content: t }) => {
|
57676
|
-
const [e, n] = ze(0), r =
|
57676
|
+
const [e, n] = ze(0), r = Xe(null);
|
57677
57677
|
return Be(() => {
|
57678
57678
|
t && r.current ? n(r.current.scrollHeight) : n(0);
|
57679
57679
|
}, [t]), /* @__PURE__ */ A.jsx(
|
@@ -75342,7 +75342,7 @@ function d4t(t) {
|
|
75342
75342
|
}
|
75343
75343
|
function lP(t, e) {
|
75344
75344
|
e === void 0 && (e = 0);
|
75345
|
-
var n = ze(t), r = n[0], i = n[1], a =
|
75345
|
+
var n = ze(t), r = n[0], i = n[1], a = Xe(null);
|
75346
75346
|
function s(o) {
|
75347
75347
|
return new Promise(function(l) {
|
75348
75348
|
var c;
|
@@ -75360,7 +75360,7 @@ function h4t() {
|
|
75360
75360
|
};
|
75361
75361
|
}
|
75362
75362
|
function cK() {
|
75363
|
-
var t =
|
75363
|
+
var t = Xe({}), e = c4t();
|
75364
75364
|
return kn(function() {
|
75365
75365
|
var n = parseFloat("" + e);
|
75366
75366
|
return !e || Number.isNaN(n) ? t.current : Nv.reduce(function(r, i) {
|
@@ -75384,7 +75384,7 @@ function y4t(t) {
|
|
75384
75384
|
}, [t]);
|
75385
75385
|
}
|
75386
75386
|
function g4t(t) {
|
75387
|
-
var e = t.children, n = cK(), r = Qmt(), i = l4t(), a =
|
75387
|
+
var e = t.children, n = cK(), r = Qmt(), i = l4t(), a = Xe(Zp), s = Xe(!1), o = Xe(!1), l = Xe(n), c = lP(Date.now(), 200), u = lP("", 100), f = ze(!1), d = ze(r), h = ze(null), p = ze(/* @__PURE__ */ new Set()), m = ze(null), g = ze(i), v = ze(!1), k = v[0], b = v[1];
|
75388
75388
|
return y4t(b), Ne(Es.Provider, {
|
75389
75389
|
value: {
|
75390
75390
|
activeCategoryState: h,
|
@@ -75513,7 +75513,7 @@ function Vm() {
|
|
75513
75513
|
return document.activeElement;
|
75514
75514
|
}
|
75515
75515
|
function w4t(t) {
|
75516
|
-
var e = t.children, n =
|
75516
|
+
var e = t.children, n = Xe(null), r = Xe(null), i = Xe(null), a = Xe(null), s = Xe(null), o = Xe(null), l = Xe(null), c = Xe(null);
|
75517
75517
|
return Ne(mK.Provider, {
|
75518
75518
|
value: {
|
75519
75519
|
AnchoredEmojiRef: r,
|
@@ -76482,7 +76482,7 @@ function UK(t) {
|
|
76482
76482
|
return t.imgUrl !== void 0;
|
76483
76483
|
}
|
76484
76484
|
function GK(t, e) {
|
76485
|
-
var n =
|
76485
|
+
var n = Xe(), r = MK(), i = v4t(), a = C2(), s = a[1], o = vf(), l = sL(), c = l[0], u = t4t(e), f = fK(), d = f[1], h = M2(), p = gf(), m = Ct(function(k) {
|
76486
76486
|
if (!i.current) {
|
76487
76487
|
o();
|
76488
76488
|
var b = yP(k), w = b[0], x = b[1];
|
@@ -76955,7 +76955,7 @@ function Pyt(t) {
|
|
76955
76955
|
})) : null;
|
76956
76956
|
}
|
76957
76957
|
function Ryt() {
|
76958
|
-
var t = aK(), e =
|
76958
|
+
var t = aK(), e = Xe(0);
|
76959
76959
|
return Ne("ul", {
|
76960
76960
|
className: on(zyt.emojiList)
|
76961
76961
|
}, t.map(function(n) {
|
@@ -77914,7 +77914,7 @@ function Agt(t) {
|
|
77914
77914
|
}
|
77915
77915
|
an(
|
77916
77916
|
({ handleEmojiClick: t, handleAvatarInput: e, onRemove: n, className: r, ...i }, a) => {
|
77917
|
-
const [s, o] = ze("emojiPicker"), l =
|
77917
|
+
const [s, o] = ze("emojiPicker"), l = Xe(null), c = () => {
|
77918
77918
|
l.current && l.current.click();
|
77919
77919
|
};
|
77920
77920
|
return /* @__PURE__ */ A.jsx("div", { ref: a, className: r, ...i, children: /* @__PURE__ */ A.jsxs(
|
@@ -78198,7 +78198,7 @@ function r9(t) {
|
|
78198
78198
|
]), t || (e ? `radix-${e}` : "");
|
78199
78199
|
}
|
78200
78200
|
function Y1(t) {
|
78201
|
-
const e =
|
78201
|
+
const e = Xe(t);
|
78202
78202
|
return Be(() => {
|
78203
78203
|
e.current = t;
|
78204
78204
|
}), kn(
|
@@ -78231,7 +78231,7 @@ function Vgt({ prop: t, defaultProp: e, onChange: n = () => {
|
|
78231
78231
|
];
|
78232
78232
|
}
|
78233
78233
|
function _gt({ defaultProp: t, onChange: e }) {
|
78234
|
-
const n = ze(t), [r] = n, i =
|
78234
|
+
const n = ze(t), [r] = n, i = Xe(r), a = Y1(e);
|
78235
78235
|
return Be(() => {
|
78236
78236
|
i.current !== r && (a(r), i.current = r);
|
78237
78237
|
}, [
|
@@ -78394,7 +78394,7 @@ const Qgt = /* @__PURE__ */ Vn({
|
|
78394
78394
|
}));
|
78395
78395
|
});
|
78396
78396
|
function $gt(t, e = globalThis == null ? void 0 : globalThis.document) {
|
78397
|
-
const n = Y1(t), r =
|
78397
|
+
const n = Y1(t), r = Xe(!1), i = Xe(() => {
|
78398
78398
|
});
|
78399
78399
|
return Be(() => {
|
78400
78400
|
const a = (o) => {
|
@@ -78428,7 +78428,7 @@ function $gt(t, e = globalThis == null ? void 0 : globalThis.document) {
|
|
78428
78428
|
};
|
78429
78429
|
}
|
78430
78430
|
function e3t(t, e = globalThis == null ? void 0 : globalThis.document) {
|
78431
|
-
const n = Y1(t), r =
|
78431
|
+
const n = Y1(t), r = Xe(!1);
|
78432
78432
|
return Be(() => {
|
78433
78433
|
const i = (a) => {
|
78434
78434
|
a.target && !r.current && $K(Jgt, n, {
|
@@ -78464,10 +78464,10 @@ const i9 = "focusScope.autoFocusOnMount", a9 = "focusScope.autoFocusOnUnmount",
|
|
78464
78464
|
bubbles: !1,
|
78465
78465
|
cancelable: !0
|
78466
78466
|
}, t3t = /* @__PURE__ */ an((t, e) => {
|
78467
|
-
const { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...s } = t, [o, l] = ze(null), c = Y1(i), u = Y1(a), f =
|
78467
|
+
const { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...s } = t, [o, l] = ze(null), c = Y1(i), u = Y1(a), f = Xe(null), d = Sy(
|
78468
78468
|
e,
|
78469
78469
|
(m) => l(m)
|
78470
|
-
), h =
|
78470
|
+
), h = Xe({
|
78471
78471
|
paused: !1,
|
78472
78472
|
pause() {
|
78473
78473
|
this.paused = !0;
|
@@ -78650,7 +78650,7 @@ const Vv = (t) => {
|
|
78650
78650
|
};
|
78651
78651
|
Vv.displayName = "Presence";
|
78652
78652
|
function u3t(t) {
|
78653
|
-
const [e, n] = ze(), r =
|
78653
|
+
const [e, n] = ze(), r = Xe({}), i = Xe(t), a = Xe("none"), s = t ? "mounted" : "unmounted", [o, l] = c3t(s, {
|
78654
78654
|
mounted: {
|
78655
78655
|
UNMOUNT: "unmounted",
|
78656
78656
|
ANIMATION_OUT: "unmountSuspended"
|
@@ -78920,7 +78920,7 @@ var aJ = T.forwardRef(function(t, e) {
|
|
78920
78920
|
});
|
78921
78921
|
aJ.classNames = _v.classNames;
|
78922
78922
|
const sJ = "Dialog", [oJ, eqt] = zgt(sJ), [C3t, wf] = oJ(sJ), A3t = (t) => {
|
78923
|
-
const { __scopeDialog: e, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !0 } = t, o =
|
78923
|
+
const { __scopeDialog: e, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !0 } = t, o = Xe(null), l = Xe(null), [c = !1, u] = Vgt({
|
78924
78924
|
prop: r,
|
78925
78925
|
defaultProp: i,
|
78926
78926
|
onChange: a
|
@@ -78998,7 +78998,7 @@ const sJ = "Dialog", [oJ, eqt] = zgt(sJ), [C3t, wf] = oJ(sJ), A3t = (t) => {
|
|
78998
78998
|
ref: e
|
78999
78999
|
})));
|
79000
79000
|
}), j3t = /* @__PURE__ */ an((t, e) => {
|
79001
|
-
const n = wf(Um, t.__scopeDialog), r =
|
79001
|
+
const n = wf(Um, t.__scopeDialog), r = Xe(null), i = Sy(e, n.contentRef, r);
|
79002
79002
|
return Be(() => {
|
79003
79003
|
const a = r.current;
|
79004
79004
|
if (a) return pv(a);
|
@@ -79020,7 +79020,7 @@ const sJ = "Dialog", [oJ, eqt] = zgt(sJ), [C3t, wf] = oJ(sJ), A3t = (t) => {
|
|
79020
79020
|
)
|
79021
79021
|
}));
|
79022
79022
|
}), D3t = /* @__PURE__ */ an((t, e) => {
|
79023
|
-
const n = wf(Um, t.__scopeDialog), r =
|
79023
|
+
const n = wf(Um, t.__scopeDialog), r = Xe(!1), i = Xe(!1);
|
79024
79024
|
return /* @__PURE__ */ Ne(uJ, Gi({}, t, {
|
79025
79025
|
ref: e,
|
79026
79026
|
trapFocus: !1,
|
@@ -79041,7 +79041,7 @@ const sJ = "Dialog", [oJ, eqt] = zgt(sJ), [C3t, wf] = oJ(sJ), A3t = (t) => {
|
|
79041
79041
|
}
|
79042
79042
|
}));
|
79043
79043
|
}), uJ = /* @__PURE__ */ an((t, e) => {
|
79044
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...s } = t, o = wf(Um, n), l =
|
79044
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...s } = t, o = wf(Um, n), l = Xe(null), c = Sy(e, l);
|
79045
79045
|
return f3t(), /* @__PURE__ */ Ne(kc, null, /* @__PURE__ */ Ne(t3t, {
|
79046
79046
|
asChild: !0,
|
79047
79047
|
loop: !0,
|
@@ -80121,7 +80121,7 @@ var Bx = /* @__PURE__ */ ((t) => (t.LIST = "LIST", t.CARD = "CARD", t))(Bx || {}
|
|
80121
80121
|
const j6t = ({
|
80122
80122
|
delay: t = 2e3
|
80123
80123
|
}) => {
|
80124
|
-
const [e, n] = ze(!1), [r, i] = ze(!1), a =
|
80124
|
+
const [e, n] = ze(!1), [r, i] = ze(!1), a = Xe(null), s = Ct(() => {
|
80125
80125
|
a.current && clearTimeout(a.current), a.current = setTimeout(() => {
|
80126
80126
|
n(!0), i(!0);
|
80127
80127
|
}, t);
|
@@ -80238,7 +80238,7 @@ const j6t = ({
|
|
80238
80238
|
};
|
80239
80239
|
var xt = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.HEADING = 1] = "HEADING", t[t.TEXT_COLOR = 2] = "TEXT_COLOR", t[t.HIGHLIGHT = 3] = "HIGHLIGHT", t[t.LINK = 4] = "LINK", t[t.FONT_FAMILY = 5] = "FONT_FAMILY", t[t.ALIGNMENT = 6] = "ALIGNMENT", t[t.LIST = 7] = "LIST", t[t.TEXT_FORMATING = 8] = "TEXT_FORMATING", t[t.TEXT_COLOR_PICKER = 9] = "TEXT_COLOR_PICKER", t[t.LINK_POPUP = 10] = "LINK_POPUP", t[t.SCRIPTS = 11] = "SCRIPTS", t))(xt || {});
|
80240
80240
|
function I6t(t) {
|
80241
|
-
const [e, n] = ze(t), r =
|
80241
|
+
const [e, n] = ze(t), r = Xe(null), i = (a) => {
|
80242
80242
|
r && r.current && !r.current.contains(a.target) && n(
|
80243
80243
|
0
|
80244
80244
|
/* NONE */
|
@@ -81498,7 +81498,7 @@ function A5t(t, e, n, r, i, a, s) {
|
|
81498
81498
|
offsetLocation: vn,
|
81499
81499
|
previousLocation: Se,
|
81500
81500
|
scrollLooper: qe,
|
81501
|
-
slideLooper:
|
81501
|
+
slideLooper: Qe,
|
81502
81502
|
dragHandler: Ft,
|
81503
81503
|
animation: Et,
|
81504
81504
|
eventHandler: rt,
|
@@ -81510,7 +81510,7 @@ function A5t(t, e, n, r, i, a, s) {
|
|
81510
81510
|
const ct = We.settled(), pn = !ft.shouldConstrain(), Rt = Ot ? ct : ct && pn;
|
81511
81511
|
Rt && !Ft.pointerDown() && (Et.stop(), rt.emit("settle")), Rt || rt.emit("scroll");
|
81512
81512
|
const mn = Vt.get() * kt + Se.get() * (1 - kt);
|
81513
|
-
vn.set(mn), Ot && (qe.loop(We.direction()),
|
81513
|
+
vn.set(mn), Ot && (qe.loop(We.direction()), Qe.loop()), yt.to(vn.get());
|
81514
81514
|
}, ce = n5t(r, i, () => Le(Te), (We) => je(Te, We)), X = 0.68, Q = we[Oe.get()], ee = bp(Q), Ie = bp(Q), G = bp(Q), M = bp(Q), I = c5t(ee, G, Ie, M, d, X), B = g5t(f, we, ue, xe, M), te = v5t(ce, Oe, Pe, I, B, M, s), le = p5t(xe), me = Jm(), He = x5t(e, n, s, m), {
|
81515
81515
|
slideRegistry: Ye
|
81516
81516
|
} = y5t(U, k, we, J, he, ve), nt = b5t(t, n, Ye, te, I, me, s, C), Te = {
|
@@ -81761,7 +81761,7 @@ function W6(t, e, n) {
|
|
81761
81761
|
}
|
81762
81762
|
W6.globalOptions = void 0;
|
81763
81763
|
function TL(t = {}, e = []) {
|
81764
|
-
const n =
|
81764
|
+
const n = Xe(t), r = Xe(e), [i, a] = ze(), [s, o] = ze(), l = Ct(() => {
|
81765
81765
|
i && i.reInit(n.current, r.current);
|
81766
81766
|
}, [i]);
|
81767
81767
|
return Be(() => {
|
@@ -81956,7 +81956,7 @@ var D5t = typeof $r == "object" && $r && $r.Object === Object && $r, I5t = typeo
|
|
81956
81956
|
D5t || I5t || Function("return this")();
|
81957
81957
|
var $J = typeof window < "u" ? nl : Be;
|
81958
81958
|
function P5t(t, e, n, r) {
|
81959
|
-
const i =
|
81959
|
+
const i = Xe(e);
|
81960
81960
|
$J(() => {
|
81961
81961
|
i.current = e;
|
81962
81962
|
}, [e]), Be(() => {
|
@@ -97091,7 +97091,7 @@ const XX = async (t, e) => {
|
|
97091
97091
|
onComment: x,
|
97092
97092
|
setCommentDrawerOpen: C
|
97093
97093
|
}) => {
|
97094
|
-
const [S, L] = ze(!0), [P, D] = ze(""), [R, F] = ze(""), [_, W] = ze(null), U =
|
97094
|
+
const [S, L] = ze(!0), [P, D] = ze(""), [R, F] = ze(""), [_, W] = ze(null), U = Xe(null), q = Xe(null), [K, ae] = ze(""), [Y, oe] = ze(!1), he = Xe(null), se = Xe(null), pe = Xe(null), ue = e.isActive("comment"), be = e.getAttributes("comment").resolved, [J, we] = ze({
|
97095
97095
|
inlineCommentText: "",
|
97096
97096
|
handleClick: !1
|
97097
97097
|
});
|
@@ -97148,10 +97148,10 @@ const XX = async (t, e) => {
|
|
97148
97148
|
yt.closest('[class*="editor"]'),
|
97149
97149
|
e.view.dom.parentElement
|
97150
97150
|
].filter(Boolean).find(
|
97151
|
-
(
|
97151
|
+
(Qe) => Qe && (Qe.scrollHeight > Qe.clientHeight || window.getComputedStyle(Qe).overflow === "auto" || window.getComputedStyle(Qe).overflowY === "auto")
|
97152
97152
|
);
|
97153
97153
|
qe && requestAnimationFrame(() => {
|
97154
|
-
const
|
97154
|
+
const Qe = qe.getBoundingClientRect(), Ft = yt.getBoundingClientRect(), Et = Ft.top - Qe.top - Qe.height / 2 + Ft.height / 2;
|
97155
97155
|
qe.scrollBy({
|
97156
97156
|
top: Et,
|
97157
97157
|
behavior: "smooth"
|
@@ -99108,7 +99108,7 @@ const i$ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99108
99108
|
version: p,
|
99109
99109
|
emptyComment: m
|
99110
99110
|
}) => {
|
99111
|
-
const g =
|
99111
|
+
const g = Xe(null), [v, k] = ze(!1), [b, w] = ze(!1), x = Xe(null), { setOpenReplyId: C } = y0(), S = nE(t);
|
99112
99112
|
Be(() => {
|
99113
99113
|
c && w(!0), f !== u && w(!1), x.current && i && x.current.scrollTo({
|
99114
99114
|
top: x.current.scrollHeight,
|
@@ -99368,7 +99368,7 @@ const i$ = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.length
|
|
99368
99368
|
isDisabled: i,
|
99369
99369
|
isCommentOwner: a
|
99370
99370
|
}) => {
|
99371
|
-
const [s, o] = ze(e), [l, c] = ze(""), [u, f] = ze(!0), [d, h] = ze(!!t), p =
|
99371
|
+
const [s, o] = ze(e), [l, c] = ze(""), [u, f] = ze(!0), [d, h] = ze(!!t), p = Xe(null), [m, g] = ze(!1), {
|
99372
99372
|
inlineCommentData: v,
|
99373
99373
|
setInlineCommentData: k,
|
99374
99374
|
addComment: b,
|
@@ -108543,8 +108543,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108543
108543
|
}, h.prototype._read = function() {
|
108544
108544
|
ee(this, new X("_read()"));
|
108545
108545
|
}, h.prototype.pipe = function(G, M) {
|
108546
|
-
function I(qe,
|
108547
|
-
Y("onunpipe"), qe === Te &&
|
108546
|
+
function I(qe, Qe) {
|
108547
|
+
Y("onunpipe"), qe === Te && Qe && Qe.hasUnpiped === !1 && (Qe.hasUnpiped = !0, te());
|
108548
108548
|
}
|
108549
108549
|
function B() {
|
108550
108550
|
Y("onend"), G.end();
|
@@ -108554,8 +108554,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
108554
108554
|
}
|
108555
108555
|
function le(qe) {
|
108556
108556
|
Y("ondata");
|
108557
|
-
var
|
108558
|
-
Y("dest.write",
|
108557
|
+
var Qe = G.write(qe);
|
108558
|
+
Y("dest.write", Qe), Qe === !1 && ((We.pipesCount === 1 && We.pipes === G || 1 < We.pipesCount && K(We.pipes, G) !== -1) && !Se && (Y("false write response, pause", We.awaitDrain), We.awaitDrain++), Te.pause());
|
108559
108559
|
}
|
108560
108560
|
function me(qe) {
|
108561
108561
|
Y("onerror", qe), nt(), G.removeListener("error", me), oe(G, "error") === 0 && ee(G, qe);
|
@@ -114197,7 +114197,7 @@ const ste = ({
|
|
114197
114197
|
updateAttributes: e,
|
114198
114198
|
deleteNode: n
|
114199
114199
|
}) => {
|
114200
|
-
const r = f7(), [i, a] = ze(), [s, o] = ze(0), [l, c] = ze(0), [u, f] = ze({}), d =
|
114200
|
+
const r = f7(), [i, a] = ze(), [s, o] = ze(0), [l, c] = ze(0), [u, f] = ze({}), d = Xe(null), [h, p] = ze(!1), [m, g] = ze(!1), [v, k] = ze(null), b = Xe(null), w = () => {
|
114201
114201
|
const oe = {};
|
114202
114202
|
sz.forEach(({ tooltip: he, isActive: se }) => {
|
114203
114203
|
oe[he] = !!(se != null && se(t.attrs));
|
@@ -118348,7 +118348,7 @@ function qLt(t, e) {
|
|
118348
118348
|
}
|
118349
118349
|
var ow = xte ? nl : Be;
|
118350
118350
|
function ULt(t) {
|
118351
|
-
var e =
|
118351
|
+
var e = Xe();
|
118352
118352
|
return e.current || (e.current = typeof t == "function" ? t() : t), e.current;
|
118353
118353
|
}
|
118354
118354
|
function Ez(t, e, n) {
|
@@ -118612,7 +118612,7 @@ const KLt = [
|
|
118612
118612
|
selected: n,
|
118613
118613
|
editor: r
|
118614
118614
|
}) => {
|
118615
|
-
const [i, a] = ze(!1), s = f7(), o =
|
118615
|
+
const [i, a] = ze(!1), s = f7(), o = Xe(null), l = () => {
|
118616
118616
|
const { from: u, to: f } = r.state.selection, d = e(), h = d + t.nodeSize;
|
118617
118617
|
a(d <= u && f <= h);
|
118618
118618
|
};
|
@@ -119064,7 +119064,7 @@ const nEt = un.create({
|
|
119064
119064
|
}, [r]), Be(() => {
|
119065
119065
|
e == null || e.chain().focus();
|
119066
119066
|
}, []);
|
119067
|
-
const p =
|
119067
|
+
const p = Xe(null);
|
119068
119068
|
return Be(() => {
|
119069
119069
|
var m;
|
119070
119070
|
(m = p.current) == null || m.focus();
|
@@ -124050,7 +124050,7 @@ function cne() {
|
|
124050
124050
|
const Te = rn({}, ["audio", "video", "img", "source", "image", "track"]);
|
124051
124051
|
let We = null;
|
124052
124052
|
const yt = rn({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Vt = "http://www.w3.org/1998/Math/MathML", vn = "http://www.w3.org/2000/svg", Se = "http://www.w3.org/1999/xhtml";
|
124053
|
-
let qe = Se,
|
124053
|
+
let qe = Se, Qe = !1, Ft = null;
|
124054
124054
|
const Et = rn({}, [Vt, vn, Se], bw);
|
124055
124055
|
let rt = rn({}, ["mi", "mo", "mn", "ms", "mtext"]), ft = rn({}, ["annotation-xml"]);
|
124056
124056
|
const Ot = rn({}, ["title", "style", "font", "a", "script"]);
|
@@ -124131,7 +124131,7 @@ function cne() {
|
|
124131
124131
|
if (!Ee || !Ee.documentElement) {
|
124132
124132
|
Ee = C.createDocument(qe, "template", null);
|
124133
124133
|
try {
|
124134
|
-
Ee.documentElement.innerHTML =
|
124134
|
+
Ee.documentElement.innerHTML = Qe ? x : Xt;
|
124135
124135
|
} catch {
|
124136
124136
|
}
|
124137
124137
|
}
|
@@ -124278,7 +124278,7 @@ function cne() {
|
|
124278
124278
|
};
|
124279
124279
|
return e.sanitize = function(Ke) {
|
124280
124280
|
let re = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Ee = null, Je = null, Xt = null, yn = null;
|
124281
|
-
if (
|
124281
|
+
if (Qe = !Ke, Qe && (Ke = "<!-->"), typeof Ke != "string" && !ie(Ke))
|
124282
124282
|
if (typeof Ke.toString == "function") {
|
124283
124283
|
if (Ke = Ke.toString(), typeof Ke != "string")
|
124284
124284
|
throw lp("dirty is not a string, aborting");
|
@@ -139134,7 +139134,7 @@ const nzt = un.create({
|
|
139134
139134
|
}, [a, r, i, l]), Be(() => {
|
139135
139135
|
i(0);
|
139136
139136
|
}, [a]);
|
139137
|
-
const c =
|
139137
|
+
const c = Xe(null);
|
139138
139138
|
return nl(() => {
|
139139
139139
|
const u = c == null ? void 0 : c.current, f = u == null ? void 0 : u.children[r];
|
139140
139140
|
f && u && XOt(u, f);
|
@@ -139992,7 +139992,7 @@ const Ww = CC.getInstance(), jzt = (t) => ({
|
|
139992
139992
|
proExtensions: C
|
139993
139993
|
}) => {
|
139994
139994
|
var ce, X;
|
139995
|
-
const [S] = ze(new g0()), [L, P] = ze(null), D =
|
139995
|
+
const [S] = ze(new g0()), [L, P] = ze(null), D = Xe(null), R = (Q) => {
|
139996
139996
|
if (!D.current) return;
|
139997
139997
|
const ee = D.current.querySelector(`input#${Q}`);
|
139998
139998
|
ee && ee.scrollIntoView({
|
@@ -140032,7 +140032,7 @@ const Ww = CC.getInstance(), jzt = (t) => ({
|
|
140032
140032
|
})
|
140033
140033
|
]);
|
140034
140034
|
}, [t]);
|
140035
|
-
const q =
|
140035
|
+
const q = Xe(!1), [K, ae] = ze(!0), [Y, oe] = ze([]), he = (Q, ee, Ie) => {
|
140036
140036
|
let G = !1;
|
140037
140037
|
return Q.doc.nodesBetween(ee, Ie, (M) => {
|
140038
140038
|
M.marks && M.marks.some(
|
@@ -140106,7 +140106,7 @@ const Ww = CC.getInstance(), jzt = (t) => ({
|
|
140106
140106
|
return () => clearTimeout(Q);
|
140107
140107
|
}
|
140108
140108
|
}, [k, K, e, ue == null ? void 0 : ue.isEmpty]);
|
140109
|
-
const be =
|
140109
|
+
const be = Xe(() => {
|
140110
140110
|
}), J = (Q, ee = !1) => {
|
140111
140111
|
if (!n || !r)
|
140112
140112
|
throw new Error("docId or username is not provided");
|
@@ -140129,11 +140129,11 @@ const Ww = CC.getInstance(), jzt = (t) => ({
|
|
140129
140129
|
]), be.current = () => {
|
140130
140130
|
Ie.destroy(), S.destroy();
|
140131
140131
|
}, be.current;
|
140132
|
-
}, we =
|
140132
|
+
}, we = Xe(null);
|
140133
140133
|
Be(() => {
|
140134
140134
|
ue == null || ue.setEditable(!t);
|
140135
140135
|
}, [t, ue]);
|
140136
|
-
const xe =
|
140136
|
+
const xe = Xe(null), Oe = async () => {
|
140137
140137
|
const Q = xe.current;
|
140138
140138
|
if (Q && await Q.destroy(), g && m) {
|
140139
140139
|
const ee = new Nzt(m, S);
|
@@ -140230,7 +140230,7 @@ const Ww = CC.getInstance(), jzt = (t) => ({
|
|
140230
140230
|
};
|
140231
140231
|
}, RT = Vn({});
|
140232
140232
|
function OT(t) {
|
140233
|
-
const e =
|
140233
|
+
const e = Xe(null);
|
140234
140234
|
return e.current === null && (e.current = t()), e.current;
|
140235
140235
|
}
|
140236
140236
|
const H7 = Vn(null), zT = Vn({
|
@@ -140257,7 +140257,7 @@ class Pzt extends T.Component {
|
|
140257
140257
|
}
|
140258
140258
|
}
|
140259
140259
|
function Rzt({ children: t, isPresent: e }) {
|
140260
|
-
const n = l2(), r =
|
140260
|
+
const n = l2(), r = Xe(null), i = Xe({
|
140261
140261
|
width: 0,
|
140262
140262
|
height: 0,
|
140263
140263
|
top: 0,
|
@@ -140333,7 +140333,7 @@ function nH(t) {
|
|
140333
140333
|
}), e;
|
140334
140334
|
}
|
140335
140335
|
const BT = typeof window < "u", Ore = BT ? nl : Be, HT = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: s = !1 }) => {
|
140336
|
-
const [o, l] = Rre(s), c = kn(() => nH(t), [t]), u = s && !o ? [] : c.map(w3), f =
|
140336
|
+
const [o, l] = Rre(s), c = kn(() => nH(t), [t]), u = s && !o ? [] : c.map(w3), f = Xe(!0), d = Xe(c), h = OT(() => /* @__PURE__ */ new Map()), [p, m] = ze(c), [g, v] = ze(c);
|
140337
140337
|
Ore(() => {
|
140338
140338
|
f.current = !1, d.current = c;
|
140339
140339
|
for (let w = 0; w < g.length; w++) {
|
@@ -140614,7 +140614,7 @@ function Kzt(t, e, n) {
|
|
140614
140614
|
const qT = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Jzt = "framerAppearId", Vre = "data-" + qT(Jzt), { schedule: UT } = zre(queueMicrotask, !1), _re = Vn({});
|
140615
140615
|
function Qzt(t, e, n, r, i) {
|
140616
140616
|
var a, s;
|
140617
|
-
const { visualElement: o } = jt(V7), l = jt(Bre), c = jt(H7), u = jt(zT).reducedMotion, f =
|
140617
|
+
const { visualElement: o } = jt(V7), l = jt(Bre), c = jt(H7), u = jt(zT).reducedMotion, f = Xe(null);
|
140618
140618
|
r = r || l.renderer, !f.current && r && (f.current = r(t, {
|
140619
140619
|
visualState: e,
|
140620
140620
|
parent: o,
|
@@ -140625,11 +140625,11 @@ function Qzt(t, e, n, r, i) {
|
|
140625
140625
|
}));
|
140626
140626
|
const d = f.current, h = jt(_re);
|
140627
140627
|
d && !d.projection && i && (d.type === "html" || d.type === "svg") && Xzt(f.current, n, i, h);
|
140628
|
-
const p =
|
140628
|
+
const p = Xe(!1);
|
140629
140629
|
L8(() => {
|
140630
140630
|
d && p.current && d.update(n, c);
|
140631
140631
|
});
|
140632
|
-
const m = n[Vre], g =
|
140632
|
+
const m = n[Vre], g = Xe(!!m && !(!((a = window.MotionHandoffIsComplete) === null || a === void 0) && a.call(window, m)) && ((s = window.MotionHasOptimisedAnimation) === null || s === void 0 ? void 0 : s.call(window, m)));
|
140633
140633
|
return Ore(() => {
|
140634
140634
|
d && (p.current = !0, window.MotionIsMounted = !0, d.updateFeatures(), UT.render(d.render), g.current && d.animationState && d.animationState.animateChanges());
|
140635
140635
|
}), Be(() => {
|
@@ -145311,7 +145311,7 @@ const l_t = (t) => {
|
|
145311
145311
|
setCurrentSlide: n,
|
145312
145312
|
previewEditors: r
|
145313
145313
|
}) => {
|
145314
|
-
const i =
|
145314
|
+
const i = Xe({}), a = Xe(null), s = ak() === "iOS" || ak() === "Android" || ak() === "Windows Phone", o = Vo("(max-width: 1280px)"), l = (c) => {
|
145315
145315
|
if (!a.current || !i.current[c]) return;
|
145316
145316
|
const u = a.current, f = i.current[c];
|
145317
145317
|
if (f)
|
@@ -146837,7 +146837,7 @@ const MF = ({
|
|
146837
146837
|
isCollabDocumentPublished: He = !0,
|
146838
146838
|
disableInlineComment: Ye
|
146839
146839
|
}, nt) => {
|
146840
|
-
const [Te, We] = ze(!1), [yt, Vt] = ze(!1), vn =
|
146840
|
+
const [Te, We] = ze(!1), [yt, Vt] = ze(!1), vn = Xe(null), Se = Vo("(min-width: 1500px)"), qe = Vo("(min-width: 3000px)"), { isNativeMobile: Qe, isIOS: Ft } = L2(), [Et, rt] = ze(!1), ft = Xe(null), Ot = (x == null ? void 0 : x.slice(0, 4)) || [], kt = x ? Math.max(0, x.length - 4) : 0;
|
146841
146841
|
NL(ft, () => {
|
146842
146842
|
rt(!1);
|
146843
146843
|
}), Be(() => {
|
@@ -146929,7 +146929,7 @@ const MF = ({
|
|
146929
146929
|
it && it.startsWith("slides=") && (ie.hash = Re, window.history.replaceState({}, "", ie.toString()));
|
146930
146930
|
};
|
146931
146931
|
return Be(() => {
|
146932
|
-
if (ct &&
|
146932
|
+
if (ct && Qe) {
|
146933
146933
|
const { selection: ie } = ct.state, ge = H8(ie), Re = () => {
|
146934
146934
|
We(!0);
|
146935
146935
|
}, it = () => {
|
@@ -146939,7 +146939,7 @@ const MF = ({
|
|
146939
146939
|
ct.off("focus", Re), ct.off("blur", it);
|
146940
146940
|
};
|
146941
146941
|
}
|
146942
|
-
}, [
|
146942
|
+
}, [Qe, ct]), Be(() => {
|
146943
146943
|
if (!ct) return;
|
146944
146944
|
const ie = (Re) => {
|
146945
146945
|
Re.key === "Enter" && ct.commands.scrollIntoView();
|
@@ -146948,14 +146948,14 @@ const MF = ({
|
|
146948
146948
|
ge.removeEventListener("keydown", ie);
|
146949
146949
|
};
|
146950
146950
|
}, [ct]), Be(() => {
|
146951
|
-
if (!
|
146951
|
+
if (!Qe || !ct) return;
|
146952
146952
|
const ie = () => {
|
146953
146953
|
pn.current && pn.current.scrollIntoView();
|
146954
146954
|
}, ge = ct.view.dom;
|
146955
146955
|
return ge.addEventListener("resize", ie), () => {
|
146956
146956
|
ge.removeEventListener("resize", ie);
|
146957
146957
|
};
|
146958
|
-
}, [ct, pn,
|
146958
|
+
}, [ct, pn, Qe]), !ct || Rt ? /* @__PURE__ */ N.jsxs("div", { className: "w-screen h-screen flex flex-col gap-4 justify-center items-center", children: [
|
146959
146959
|
/* @__PURE__ */ N.jsx(sE, {}),
|
146960
146960
|
/* @__PURE__ */ N.jsx("p", { children: "Loading Editor..." })
|
146961
146961
|
] }) : /* @__PURE__ */ N.jsxs(
|
@@ -147073,13 +147073,13 @@ const MF = ({
|
|
147073
147073
|
{
|
147074
147074
|
className: Bt(
|
147075
147075
|
"color-bg-default w-full mx-auto rounded",
|
147076
|
-
{ "mt-4 md:!mt-16": t },
|
147076
|
+
{ "mt-4 md:!mt-16 !py-20": t && !Qe },
|
147077
147077
|
{ "md:!mt-16": !t },
|
147078
147078
|
{ "pt-20 md:!mt-[7.5rem]": K && !t },
|
147079
147079
|
{ "pt-6 md:!mt-16": !K && !t },
|
147080
|
-
{ "mt-4 md:!mt-16 px-4 py-6": t &&
|
147080
|
+
{ "mt-4 md:!mt-16 px-4 py-6": t && Qe },
|
147081
147081
|
{
|
147082
|
-
"max-[1080px]:!mx-auto min-[1081px]:!ml-[18%] min-[1700px]:!mx-auto": S && !
|
147082
|
+
"max-[1080px]:!mx-auto min-[1081px]:!ml-[18%] min-[1700px]:!mx-auto": S && !Qe && _ !== "0.5" && _ !== "0.75" && _ !== "1.4" && _ !== "1.5" && _ !== "2"
|
147083
147083
|
},
|
147084
147084
|
{
|
147085
147085
|
"!mx-auto": !S || _ === "0.5" || _ === "0.75" || _ === "1.4" || _ === "1.5"
|
@@ -147214,7 +147214,7 @@ const MF = ({
|
|
147214
147214
|
]
|
147215
147215
|
}
|
147216
147216
|
),
|
147217
|
-
h && !
|
147217
|
+
h && !Qe && /* @__PURE__ */ N.jsx(
|
147218
147218
|
sn,
|
147219
147219
|
{
|
147220
147220
|
ref: vn,
|
@@ -147302,7 +147302,7 @@ const MF = ({
|
|
147302
147302
|
className: k,
|
147303
147303
|
unFocused: b
|
147304
147304
|
}, w) => {
|
147305
|
-
const [x, C] = ze(!1), S =
|
147305
|
+
const [x, C] = ze(!1), S = Xe(null), L = (g == null ? void 0 : g.slice(0, 4)) || [], P = g ? Math.max(0, g.length - 4) : 0;
|
147306
147306
|
NL(S, () => {
|
147307
147307
|
C(!1);
|
147308
147308
|
}), Be(() => {
|