@fileverse-dev/ddoc 2.0.9-patch-8 → 2.0.9-patch-9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +546 -542
- package/dist/package/types.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -102,7 +102,7 @@ function Hse() {
|
|
102
102
|
function H(R) {
|
103
103
|
return R.displayName || "Context";
|
104
104
|
}
|
105
|
-
function
|
105
|
+
function W(R) {
|
106
106
|
if (R == null)
|
107
107
|
return null;
|
108
108
|
if (typeof R.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof R == "function")
|
@@ -135,11 +135,11 @@ function Hse() {
|
|
135
135
|
return O(R, R.render, "ForwardRef");
|
136
136
|
case f:
|
137
137
|
var Fe = R.displayName || null;
|
138
|
-
return Fe !== null ? Fe :
|
138
|
+
return Fe !== null ? Fe : W(R.type) || "Memo";
|
139
139
|
case d: {
|
140
140
|
var ut = R, pt = ut._payload, rt = ut._init;
|
141
141
|
try {
|
142
|
-
return
|
142
|
+
return W(rt(pt));
|
143
143
|
} catch {
|
144
144
|
return null;
|
145
145
|
}
|
@@ -147,14 +147,14 @@ function Hse() {
|
|
147
147
|
}
|
148
148
|
return null;
|
149
149
|
}
|
150
|
-
var
|
150
|
+
var G = Object.assign, U = 0, q, Y, re, Q, oe, de, se;
|
151
151
|
function pe() {
|
152
152
|
}
|
153
153
|
pe.__reactDisabledLog = !0;
|
154
154
|
function be() {
|
155
155
|
{
|
156
156
|
if (U === 0) {
|
157
|
-
|
157
|
+
q = console.log, Y = console.info, re = console.warn, Q = console.error, oe = console.group, de = console.groupCollapsed, se = console.groupEnd;
|
158
158
|
var R = {
|
159
159
|
configurable: !0,
|
160
160
|
enumerable: !0,
|
@@ -183,25 +183,25 @@ function Hse() {
|
|
183
183
|
writable: !0
|
184
184
|
};
|
185
185
|
Object.defineProperties(console, {
|
186
|
-
log:
|
187
|
-
value:
|
186
|
+
log: G({}, R, {
|
187
|
+
value: q
|
188
188
|
}),
|
189
|
-
info:
|
189
|
+
info: G({}, R, {
|
190
190
|
value: Y
|
191
191
|
}),
|
192
|
-
warn:
|
192
|
+
warn: G({}, R, {
|
193
193
|
value: re
|
194
194
|
}),
|
195
|
-
error:
|
195
|
+
error: G({}, R, {
|
196
196
|
value: Q
|
197
197
|
}),
|
198
|
-
group:
|
198
|
+
group: G({}, R, {
|
199
199
|
value: oe
|
200
200
|
}),
|
201
|
-
groupCollapsed:
|
201
|
+
groupCollapsed: G({}, R, {
|
202
202
|
value: de
|
203
203
|
}),
|
204
|
-
groupEnd:
|
204
|
+
groupEnd: G({}, R, {
|
205
205
|
value: se
|
206
206
|
})
|
207
207
|
});
|
@@ -411,8 +411,8 @@ function Hse() {
|
|
411
411
|
}
|
412
412
|
function xe(R, ae) {
|
413
413
|
if (typeof R.ref == "string" && qe.current && ae && qe.current.stateNode !== ae) {
|
414
|
-
var Ce =
|
415
|
-
en[Ce] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
414
|
+
var Ce = W(qe.current.type);
|
415
|
+
en[Ce] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(qe.current.type), R.ref), en[Ce] = !0);
|
416
416
|
}
|
417
417
|
}
|
418
418
|
function Je(R, ae) {
|
@@ -500,7 +500,7 @@ function Hse() {
|
|
500
500
|
function gn() {
|
501
501
|
{
|
502
502
|
if (Ke.current) {
|
503
|
-
var R =
|
503
|
+
var R = W(Ke.current.type);
|
504
504
|
if (R)
|
505
505
|
return `
|
506
506
|
|
@@ -535,7 +535,7 @@ Check the top-level render call using <` + Ce + ">.");
|
|
535
535
|
return;
|
536
536
|
jn[Ce] = !0;
|
537
537
|
var Fe = "";
|
538
|
-
R && R._owner && R._owner !== Ke.current && (Fe = " It was passed a child from " +
|
538
|
+
R && R._owner && R._owner !== Ke.current && (Fe = " It was passed a child from " + W(R._owner.type) + "."), St(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ce, Fe), St(null);
|
539
539
|
}
|
540
540
|
}
|
541
541
|
function mr(R, ae) {
|
@@ -572,11 +572,11 @@ Check the top-level render call using <` + Ce + ">.");
|
|
572
572
|
else
|
573
573
|
return;
|
574
574
|
if (Ce) {
|
575
|
-
var Fe =
|
575
|
+
var Fe = W(ae);
|
576
576
|
M(Ce, R.props, "prop", Fe, R);
|
577
577
|
} else if (ae.PropTypes !== void 0 && !ct) {
|
578
578
|
ct = !0;
|
579
|
-
var ut =
|
579
|
+
var ut = W(ae);
|
580
580
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
|
581
581
|
}
|
582
582
|
typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -604,7 +604,7 @@ Check the top-level render call using <` + Ce + ">.");
|
|
604
604
|
var ie = wn();
|
605
605
|
ie ? Le += ie : Le += gn();
|
606
606
|
var Se;
|
607
|
-
R === null ? Se = "null" : B(R) ? Se = "array" : R !== void 0 && R.$$typeof === e ? (Se = "<" + (
|
607
|
+
R === null ? Se = "null" : B(R) ? Se = "array" : R !== void 0 && R.$$typeof === e ? (Se = "<" + (W(R.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
|
608
608
|
}
|
609
609
|
var Oe = Ot(R, ae, Ce, ut, pt);
|
610
610
|
if (Oe == null)
|
@@ -623,7 +623,7 @@ Check the top-level render call using <` + Ce + ">.");
|
|
623
623
|
mr(Mt, R);
|
624
624
|
}
|
625
625
|
if (ee.call(ae, "key")) {
|
626
|
-
var an =
|
626
|
+
var an = W(R), zt = Object.keys(ae).filter(function(xr) {
|
627
627
|
return xr !== "key";
|
628
628
|
}), Tr = zt.length > 0 ? "{key: someKey, " + zt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
629
629
|
if (!oa[an + Tr]) {
|
@@ -13058,8 +13058,8 @@ function UD(t) {
|
|
13058
13058
|
y: m
|
13059
13059
|
};
|
13060
13060
|
if (h = H.x, m = H.y, l) {
|
13061
|
-
var
|
13062
|
-
return Object.assign({}, O, (
|
13061
|
+
var W;
|
13062
|
+
return Object.assign({}, O, (W = {}, W[w] = k ? "0" : "", W[b] = v ? "0" : "", W.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", W));
|
13063
13063
|
}
|
13064
13064
|
return Object.assign({}, O, (e = {}, e[w] = k ? m + "px" : "", e[b] = v ? h + "px" : "", e.transform = "", e));
|
13065
13065
|
}
|
@@ -13274,9 +13274,9 @@ function jm(t, e) {
|
|
13274
13274
|
}, O = t.modifiersData.offset;
|
13275
13275
|
if (d === ap && O) {
|
13276
13276
|
var H = O[i];
|
13277
|
-
Object.keys(I).forEach(function(
|
13278
|
-
var
|
13279
|
-
I[
|
13277
|
+
Object.keys(I).forEach(function(W) {
|
13278
|
+
var G = [po, ho].indexOf(W) >= 0 ? 1 : -1, U = [es, ho].indexOf(W) >= 0 ? "y" : "x";
|
13279
|
+
I[W] += H[U] * G;
|
13280
13280
|
});
|
13281
13281
|
}
|
13282
13282
|
return I;
|
@@ -13320,16 +13320,16 @@ function v0e(t) {
|
|
13320
13320
|
allowedAutoPlacements: m
|
13321
13321
|
}) : ge);
|
13322
13322
|
}, []), x = e.rects.reference, S = e.rects.popper, E = /* @__PURE__ */ new Map(), L = !0, D = w[0], I = 0; I < w.length; I++) {
|
13323
|
-
var O = w[I], H = Ia(O),
|
13323
|
+
var O = w[I], H = Ia(O), W = Uh(O) === Fh, G = [es, ho].indexOf(H) >= 0, U = G ? "width" : "height", q = jm(e, {
|
13324
13324
|
placement: O,
|
13325
13325
|
boundary: u,
|
13326
13326
|
rootBoundary: f,
|
13327
13327
|
altBoundary: d,
|
13328
13328
|
padding: c
|
13329
|
-
}), Y =
|
13329
|
+
}), Y = G ? W ? po : ts : W ? ho : es;
|
13330
13330
|
x[U] > S[U] && (Y = O3(Y));
|
13331
13331
|
var re = O3(Y), Q = [];
|
13332
|
-
if (s && Q.push(
|
13332
|
+
if (s && Q.push(q[H] <= 0), a && Q.push(q[Y] <= 0, q[re] <= 0), Q.every(function(be) {
|
13333
13333
|
return be;
|
13334
13334
|
})) {
|
13335
13335
|
D = O, L = !1;
|
@@ -13468,10 +13468,10 @@ function E0e(t) {
|
|
13468
13468
|
};
|
13469
13469
|
if (S) {
|
13470
13470
|
if (s) {
|
13471
|
-
var
|
13471
|
+
var W, G = w === "y" ? es : ts, U = w === "y" ? ho : po, q = w === "y" ? "height" : "width", Y = S[w], re = Y + g[G], Q = Y - g[U], oe = h ? -L[q] / 2 : 0, de = k === Fh ? E[q] : L[q], se = k === Fh ? -L[q] : -E[q], pe = e.elements.arrow, be = h && pe ? NA(pe) : {
|
13472
13472
|
width: 0,
|
13473
13473
|
height: 0
|
13474
|
-
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : AV(), J = ge[
|
13474
|
+
}, ge = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : AV(), J = ge[G], ke = ge[U], me = Jp(0, E[q], be[q]), Pe = b ? E[q] / 2 - oe - me - J - I.mainAxis : de - me - J - I.mainAxis, je = b ? -E[q] / 2 + oe + me + ke + I.mainAxis : se + me + ke + I.mainAxis, Ae = e.elements.arrow && uy(e.elements.arrow), Ee = Ae ? w === "y" ? Ae.clientTop || 0 : Ae.clientLeft || 0 : 0, Te = (W = O == null ? void 0 : O[w]) != null ? W : 0, le = Y + Pe - Te - Ee, K = Y + je - Te, ee = Jp(h ? O6(re, le) : re, Y, h ? R1(Q, K) : Q);
|
13475
13475
|
S[w] = ee, H[w] = ee - Y;
|
13476
13476
|
}
|
13477
13477
|
if (a) {
|
@@ -14085,7 +14085,7 @@ function p1e(t, e) {
|
|
14085
14085
|
return Ae(), oe(), Y(), re("onCreate", [w]), n.showOnCreate && B(), S.addEventListener("mouseenter", function() {
|
14086
14086
|
w.props.interactive && w.state.isVisible && w.clearDelayTimeouts();
|
14087
14087
|
}), S.addEventListener("mouseleave", function() {
|
14088
|
-
w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 &&
|
14088
|
+
w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 && G().addEventListener("mousemove", p);
|
14089
14089
|
}), w;
|
14090
14090
|
function I() {
|
14091
14091
|
var xe = w.props.touch;
|
@@ -14098,17 +14098,17 @@ function p1e(t, e) {
|
|
14098
14098
|
var xe;
|
14099
14099
|
return !!((xe = w.props.render) != null && xe.$$tippy);
|
14100
14100
|
}
|
14101
|
-
function
|
14101
|
+
function W() {
|
14102
14102
|
return m || t;
|
14103
14103
|
}
|
14104
|
-
function
|
14105
|
-
var xe =
|
14104
|
+
function G() {
|
14105
|
+
var xe = W().parentNode;
|
14106
14106
|
return xe ? K0e(xe) : document;
|
14107
14107
|
}
|
14108
14108
|
function U() {
|
14109
14109
|
return Yk(S);
|
14110
14110
|
}
|
14111
|
-
function
|
14111
|
+
function q(xe) {
|
14112
14112
|
return w.state.isMounted && !w.state.isVisible || xa.isTouch || u && u.type === "focus" ? 0 : x7(w.props.delay, xe ? 0 : 1, Ms.delay);
|
14113
14113
|
}
|
14114
14114
|
function Y(xe) {
|
@@ -14141,12 +14141,12 @@ function p1e(t, e) {
|
|
14141
14141
|
if (!(D || !w.props.aria.expanded)) {
|
14142
14142
|
var xe = ed(w.props.triggerTarget || t);
|
14143
14143
|
xe.forEach(function(Je) {
|
14144
|
-
w.props.interactive ? Je.setAttribute("aria-expanded", w.state.isVisible && Je ===
|
14144
|
+
w.props.interactive ? Je.setAttribute("aria-expanded", w.state.isVisible && Je === W() ? "true" : "false") : Je.removeAttribute("aria-expanded");
|
14145
14145
|
});
|
14146
14146
|
}
|
14147
14147
|
}
|
14148
14148
|
function de() {
|
14149
|
-
|
14149
|
+
G().removeEventListener("mousemove", p), cg = cg.filter(function(xe) {
|
14150
14150
|
return xe !== p;
|
14151
14151
|
});
|
14152
14152
|
}
|
@@ -14174,11 +14174,11 @@ function p1e(t, e) {
|
|
14174
14174
|
l = !1;
|
14175
14175
|
}
|
14176
14176
|
function ge() {
|
14177
|
-
var xe =
|
14177
|
+
var xe = G();
|
14178
14178
|
xe.addEventListener("mousedown", se, !0), xe.addEventListener("touchend", se, D0), xe.addEventListener("touchstart", be, D0), xe.addEventListener("touchmove", pe, D0);
|
14179
14179
|
}
|
14180
14180
|
function J() {
|
14181
|
-
var xe =
|
14181
|
+
var xe = G();
|
14182
14182
|
xe.removeEventListener("mousedown", se, !0), xe.removeEventListener("touchend", se, D0), xe.removeEventListener("touchstart", be, D0), xe.removeEventListener("touchmove", pe, D0);
|
14183
14183
|
}
|
14184
14184
|
function ke(xe, Je) {
|
@@ -14246,7 +14246,7 @@ function p1e(t, e) {
|
|
14246
14246
|
}
|
14247
14247
|
}
|
14248
14248
|
function le(xe) {
|
14249
|
-
var Je = xe.target, st =
|
14249
|
+
var Je = xe.target, st = W().contains(Je) || S.contains(Je);
|
14250
14250
|
if (!(xe.type === "mousemove" && st)) {
|
14251
14251
|
var Vt = j().concat(S).map(function(Ot) {
|
14252
14252
|
var Ke, xt = Ot._tippy, St = (Ke = xt.popperInstance) == null ? void 0 : Ke.state;
|
@@ -14270,7 +14270,7 @@ function p1e(t, e) {
|
|
14270
14270
|
}
|
14271
14271
|
}
|
14272
14272
|
function ee(xe) {
|
14273
|
-
w.props.trigger.indexOf("focusin") < 0 && xe.target !==
|
14273
|
+
w.props.trigger.indexOf("focusin") < 0 && xe.target !== W() || w.props.interactive && xe.relatedTarget && S.contains(xe.relatedTarget) || te(xe);
|
14274
14274
|
}
|
14275
14275
|
function ne(xe) {
|
14276
14276
|
return xa.isTouch ? O() !== xe.type.indexOf("touch") >= 0 : !1;
|
@@ -14279,7 +14279,7 @@ function p1e(t, e) {
|
|
14279
14279
|
V();
|
14280
14280
|
var xe = w.props, Je = xe.popperOptions, st = xe.placement, Vt = xe.offset, Ot = xe.getReferenceClientRect, Ke = xe.moveTransition, xt = H() ? Yk(S).arrow : null, St = Ot ? {
|
14281
14281
|
getBoundingClientRect: Ot,
|
14282
|
-
contextElement: Ot.contextElement ||
|
14282
|
+
contextElement: Ot.contextElement || W()
|
14283
14283
|
} : t, ct = {
|
14284
14284
|
name: "$$tippy",
|
14285
14285
|
enabled: !0,
|
@@ -14336,7 +14336,7 @@ function p1e(t, e) {
|
|
14336
14336
|
w.popperInstance && (w.popperInstance.destroy(), w.popperInstance = null);
|
14337
14337
|
}
|
14338
14338
|
function M() {
|
14339
|
-
var xe = w.props.appendTo, Je, st =
|
14339
|
+
var xe = w.props.appendTo, Je, st = W();
|
14340
14340
|
w.props.interactive && xe === IV || xe === "parent" ? Je = st.parentNode : Je = RV(xe, [st]), Je.contains(S) || Je.appendChild(S), w.state.isMounted = !0, Re(), process.env.NODE_ENV !== "production" && pl(w.props.interactive && xe === Ms.appendTo && st.nextElementSibling !== S, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
14341
14341
|
|
14342
14342
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
@@ -14350,7 +14350,7 @@ function p1e(t, e) {
|
|
14350
14350
|
}
|
14351
14351
|
function B(xe) {
|
14352
14352
|
w.clearDelayTimeouts(), xe && re("onTrigger", [w, xe]), ge();
|
14353
|
-
var Je =
|
14353
|
+
var Je = q(!0), st = I(), Vt = st[0], Ot = st[1];
|
14354
14354
|
xa.isTouch && Vt === "hold" && Ot && (Je = Ot), Je ? r = setTimeout(function() {
|
14355
14355
|
w.show();
|
14356
14356
|
}, Je) : w.show();
|
@@ -14361,7 +14361,7 @@ function p1e(t, e) {
|
|
14361
14361
|
return;
|
14362
14362
|
}
|
14363
14363
|
if (!(w.props.trigger.indexOf("mouseenter") >= 0 && w.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(xe.type) >= 0 && o)) {
|
14364
|
-
var Je =
|
14364
|
+
var Je = q(!1);
|
14365
14365
|
Je ? i = setTimeout(function() {
|
14366
14366
|
w.state.isVisible && w.hide();
|
14367
14367
|
}, Je) : s = requestAnimationFrame(function() {
|
@@ -14399,7 +14399,7 @@ function p1e(t, e) {
|
|
14399
14399
|
function lt() {
|
14400
14400
|
process.env.NODE_ENV !== "production" && pl(w.state.isDestroyed, Rf("show"));
|
14401
14401
|
var xe = w.state.isVisible, Je = w.state.isDestroyed, st = !w.state.isEnabled, Vt = xa.isTouch && !w.props.touch, Ot = x7(w.props.duration, 0, Ms.duration);
|
14402
|
-
if (!(xe || Je || st || Vt) && !
|
14402
|
+
if (!(xe || Je || st || Vt) && !W().hasAttribute("disabled") && (re("onShow", [w], !1), w.props.onShow(w) !== !1)) {
|
14403
14403
|
if (w.state.isVisible = !0, H() && (S.style.visibility = "visible"), Y(), ge(), w.state.isMounted || (S.style.transition = "none"), H()) {
|
14404
14404
|
var Ke = U(), xt = Ke.box, St = Ke.content;
|
14405
14405
|
M7([xt, St], 0);
|
@@ -14430,7 +14430,7 @@ function p1e(t, e) {
|
|
14430
14430
|
}
|
14431
14431
|
}
|
14432
14432
|
function en(xe) {
|
14433
|
-
process.env.NODE_ENV !== "production" && pl(w.state.isDestroyed, Rf("hideWithInteractivity")),
|
14433
|
+
process.env.NODE_ENV !== "production" && pl(w.state.isDestroyed, Rf("hideWithInteractivity")), G().addEventListener("mousemove", p), $D(cg, p), p(xe);
|
14434
14434
|
}
|
14435
14435
|
function bn() {
|
14436
14436
|
process.env.NODE_ENV !== "production" && pl(w.state.isDestroyed, Rf("unmount")), w.state.isVisible && w.hide(), w.state.isMounted && (V(), j().forEach(function(xe) {
|
@@ -14990,19 +14990,19 @@ function E1e() {
|
|
14990
14990
|
var x = !1, S, E, L = function(H) {
|
14991
14991
|
if (!x) {
|
14992
14992
|
x = !0, S = H;
|
14993
|
-
var
|
14993
|
+
var W = h(H);
|
14994
14994
|
if (p !== void 0 && g.hasValue) {
|
14995
|
-
var
|
14996
|
-
if (p(
|
14997
|
-
return E =
|
14995
|
+
var G = g.value;
|
14996
|
+
if (p(G, W))
|
14997
|
+
return E = G, G;
|
14998
14998
|
}
|
14999
|
-
return E =
|
14999
|
+
return E = W, W;
|
15000
15000
|
}
|
15001
|
-
var U = S,
|
15001
|
+
var U = S, q = E;
|
15002
15002
|
if (r(U, H))
|
15003
|
-
return
|
15003
|
+
return q;
|
15004
15004
|
var Y = h(H);
|
15005
|
-
return p !== void 0 && p(
|
15005
|
+
return p !== void 0 && p(q, Y) ? q : (S = H, E = Y, Y);
|
15006
15006
|
}, D = d === void 0 ? null : d, I = function() {
|
15007
15007
|
return L(f());
|
15008
15008
|
}, O = D === null ? void 0 : function() {
|
@@ -15561,7 +15561,7 @@ function V1e() {
|
|
15561
15561
|
function H(R) {
|
15562
15562
|
return R.displayName || "Context";
|
15563
15563
|
}
|
15564
|
-
function
|
15564
|
+
function W(R) {
|
15565
15565
|
if (R == null)
|
15566
15566
|
return null;
|
15567
15567
|
if (typeof R.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof R == "function")
|
@@ -15594,11 +15594,11 @@ function V1e() {
|
|
15594
15594
|
return O(R, R.render, "ForwardRef");
|
15595
15595
|
case f:
|
15596
15596
|
var Fe = R.displayName || null;
|
15597
|
-
return Fe !== null ? Fe :
|
15597
|
+
return Fe !== null ? Fe : W(R.type) || "Memo";
|
15598
15598
|
case d: {
|
15599
15599
|
var ut = R, pt = ut._payload, rt = ut._init;
|
15600
15600
|
try {
|
15601
|
-
return
|
15601
|
+
return W(rt(pt));
|
15602
15602
|
} catch {
|
15603
15603
|
return null;
|
15604
15604
|
}
|
@@ -15606,14 +15606,14 @@ function V1e() {
|
|
15606
15606
|
}
|
15607
15607
|
return null;
|
15608
15608
|
}
|
15609
|
-
var
|
15609
|
+
var G = Object.assign, U = 0, q, Y, re, Q, oe, de, se;
|
15610
15610
|
function pe() {
|
15611
15611
|
}
|
15612
15612
|
pe.__reactDisabledLog = !0;
|
15613
15613
|
function be() {
|
15614
15614
|
{
|
15615
15615
|
if (U === 0) {
|
15616
|
-
|
15616
|
+
q = console.log, Y = console.info, re = console.warn, Q = console.error, oe = console.group, de = console.groupCollapsed, se = console.groupEnd;
|
15617
15617
|
var R = {
|
15618
15618
|
configurable: !0,
|
15619
15619
|
enumerable: !0,
|
@@ -15642,25 +15642,25 @@ function V1e() {
|
|
15642
15642
|
writable: !0
|
15643
15643
|
};
|
15644
15644
|
Object.defineProperties(console, {
|
15645
|
-
log:
|
15646
|
-
value:
|
15645
|
+
log: G({}, R, {
|
15646
|
+
value: q
|
15647
15647
|
}),
|
15648
|
-
info:
|
15648
|
+
info: G({}, R, {
|
15649
15649
|
value: Y
|
15650
15650
|
}),
|
15651
|
-
warn:
|
15651
|
+
warn: G({}, R, {
|
15652
15652
|
value: re
|
15653
15653
|
}),
|
15654
|
-
error:
|
15654
|
+
error: G({}, R, {
|
15655
15655
|
value: Q
|
15656
15656
|
}),
|
15657
|
-
group:
|
15657
|
+
group: G({}, R, {
|
15658
15658
|
value: oe
|
15659
15659
|
}),
|
15660
|
-
groupCollapsed:
|
15660
|
+
groupCollapsed: G({}, R, {
|
15661
15661
|
value: de
|
15662
15662
|
}),
|
15663
|
-
groupEnd:
|
15663
|
+
groupEnd: G({}, R, {
|
15664
15664
|
value: se
|
15665
15665
|
})
|
15666
15666
|
});
|
@@ -15870,8 +15870,8 @@ function V1e() {
|
|
15870
15870
|
}
|
15871
15871
|
function xe(R, ae) {
|
15872
15872
|
if (typeof R.ref == "string" && qe.current && ae && qe.current.stateNode !== ae) {
|
15873
|
-
var Ce =
|
15874
|
-
en[Ce] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
15873
|
+
var Ce = W(qe.current.type);
|
15874
|
+
en[Ce] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(qe.current.type), R.ref), en[Ce] = !0);
|
15875
15875
|
}
|
15876
15876
|
}
|
15877
15877
|
function Je(R, ae) {
|
@@ -15959,7 +15959,7 @@ function V1e() {
|
|
15959
15959
|
function gn() {
|
15960
15960
|
{
|
15961
15961
|
if (Ke.current) {
|
15962
|
-
var R =
|
15962
|
+
var R = W(Ke.current.type);
|
15963
15963
|
if (R)
|
15964
15964
|
return `
|
15965
15965
|
|
@@ -15994,7 +15994,7 @@ Check the top-level render call using <` + Ce + ">.");
|
|
15994
15994
|
return;
|
15995
15995
|
jn[Ce] = !0;
|
15996
15996
|
var Fe = "";
|
15997
|
-
R && R._owner && R._owner !== Ke.current && (Fe = " It was passed a child from " +
|
15997
|
+
R && R._owner && R._owner !== Ke.current && (Fe = " It was passed a child from " + W(R._owner.type) + "."), St(R), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ce, Fe), St(null);
|
15998
15998
|
}
|
15999
15999
|
}
|
16000
16000
|
function mr(R, ae) {
|
@@ -16031,11 +16031,11 @@ Check the top-level render call using <` + Ce + ">.");
|
|
16031
16031
|
else
|
16032
16032
|
return;
|
16033
16033
|
if (Ce) {
|
16034
|
-
var Fe =
|
16034
|
+
var Fe = W(ae);
|
16035
16035
|
M(Ce, R.props, "prop", Fe, R);
|
16036
16036
|
} else if (ae.PropTypes !== void 0 && !ct) {
|
16037
16037
|
ct = !0;
|
16038
|
-
var ut =
|
16038
|
+
var ut = W(ae);
|
16039
16039
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
|
16040
16040
|
}
|
16041
16041
|
typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
@@ -16063,7 +16063,7 @@ Check the top-level render call using <` + Ce + ">.");
|
|
16063
16063
|
var ie = wn();
|
16064
16064
|
ie ? Le += ie : Le += gn();
|
16065
16065
|
var Se;
|
16066
|
-
R === null ? Se = "null" : B(R) ? Se = "array" : R !== void 0 && R.$$typeof === e ? (Se = "<" + (
|
16066
|
+
R === null ? Se = "null" : B(R) ? Se = "array" : R !== void 0 && R.$$typeof === e ? (Se = "<" + (W(R.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof R, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
|
16067
16067
|
}
|
16068
16068
|
var Oe = Ot(R, ae, Ce, ut, pt);
|
16069
16069
|
if (Oe == null)
|
@@ -16082,7 +16082,7 @@ Check the top-level render call using <` + Ce + ">.");
|
|
16082
16082
|
mr(Mt, R);
|
16083
16083
|
}
|
16084
16084
|
if (ee.call(ae, "key")) {
|
16085
|
-
var an =
|
16085
|
+
var an = W(R), zt = Object.keys(ae).filter(function(xr) {
|
16086
16086
|
return xr !== "key";
|
16087
16087
|
}), Tr = zt.length > 0 ? "{key: someKey, " + zt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
16088
16088
|
if (!oa[an + Tr]) {
|
@@ -16437,7 +16437,7 @@ function vfe(t) {
|
|
16437
16437
|
return lfe.test(t);
|
16438
16438
|
}
|
16439
16439
|
function bfe() {
|
16440
|
-
const t = In("colors"), e = In("spacing"), n = In("blur"), r = In("brightness"), i = In("borderColor"), s = In("borderRadius"), o = In("borderSpacing"), a = In("borderWidth"), l = In("contrast"), c = In("grayscale"), u = In("hueRotate"), f = In("invert"), d = In("gap"), h = In("gradientColorStops"), p = In("gradientColorStopPositions"), m = In("inset"), g = In("margin"), v = In("opacity"), k = In("padding"), b = In("saturate"), w = In("scale"), x = In("sepia"), S = In("skew"), E = In("space"), L = In("translate"), D = () => ["auto", "contain", "none"], I = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", Ut, e], H = () => [Ut, e],
|
16440
|
+
const t = In("colors"), e = In("spacing"), n = In("blur"), r = In("brightness"), i = In("borderColor"), s = In("borderRadius"), o = In("borderSpacing"), a = In("borderWidth"), l = In("contrast"), c = In("grayscale"), u = In("hueRotate"), f = In("invert"), d = In("gap"), h = In("gradientColorStops"), p = In("gradientColorStopPositions"), m = In("inset"), g = In("margin"), v = In("opacity"), k = In("padding"), b = In("saturate"), w = In("scale"), x = In("sepia"), S = In("skew"), E = In("space"), L = In("translate"), D = () => ["auto", "contain", "none"], I = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", Ut, e], H = () => [Ut, e], W = () => ["", cl, Lc], G = () => ["auto", Q0, Ut], U = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], q = () => ["solid", "dashed", "dotted", "double", "none"], Y = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Q = () => ["", "0", Ut], oe = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], de = () => [Q0, dg], se = () => [Q0, Ut];
|
16441
16441
|
return {
|
16442
16442
|
cacheSize: 500,
|
16443
16443
|
separator: ":",
|
@@ -16449,7 +16449,7 @@ function bfe() {
|
|
16449
16449
|
borderColor: [t],
|
16450
16450
|
borderRadius: ["none", "", "full", Ec, Ut],
|
16451
16451
|
borderSpacing: H(),
|
16452
|
-
borderWidth:
|
16452
|
+
borderWidth: W(),
|
16453
16453
|
contrast: de(),
|
16454
16454
|
grayscale: Q(),
|
16455
16455
|
hueRotate: se(),
|
@@ -16755,14 +16755,14 @@ function bfe() {
|
|
16755
16755
|
* @see https://tailwindcss.com/docs/grid-column
|
16756
16756
|
*/
|
16757
16757
|
"col-start": [{
|
16758
|
-
"col-start":
|
16758
|
+
"col-start": G()
|
16759
16759
|
}],
|
16760
16760
|
/**
|
16761
16761
|
* Grid Column End
|
16762
16762
|
* @see https://tailwindcss.com/docs/grid-column
|
16763
16763
|
*/
|
16764
16764
|
"col-end": [{
|
16765
|
-
"col-end":
|
16765
|
+
"col-end": G()
|
16766
16766
|
}],
|
16767
16767
|
/**
|
16768
16768
|
* Grid Template Rows
|
@@ -16785,14 +16785,14 @@ function bfe() {
|
|
16785
16785
|
* @see https://tailwindcss.com/docs/grid-row
|
16786
16786
|
*/
|
16787
16787
|
"row-start": [{
|
16788
|
-
"row-start":
|
16788
|
+
"row-start": G()
|
16789
16789
|
}],
|
16790
16790
|
/**
|
16791
16791
|
* Grid Row End
|
16792
16792
|
* @see https://tailwindcss.com/docs/grid-row
|
16793
16793
|
*/
|
16794
16794
|
"row-end": [{
|
16795
|
-
"row-end":
|
16795
|
+
"row-end": G()
|
16796
16796
|
}],
|
16797
16797
|
/**
|
16798
16798
|
* Grid Auto Flow
|
@@ -17252,7 +17252,7 @@ function bfe() {
|
|
17252
17252
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
17253
17253
|
*/
|
17254
17254
|
"text-decoration-style": [{
|
17255
|
-
decoration: [...
|
17255
|
+
decoration: [...q(), "wavy"]
|
17256
17256
|
}],
|
17257
17257
|
/**
|
17258
17258
|
* Text Decoration Thickness
|
@@ -17626,7 +17626,7 @@ function bfe() {
|
|
17626
17626
|
* @see https://tailwindcss.com/docs/border-style
|
17627
17627
|
*/
|
17628
17628
|
"border-style": [{
|
17629
|
-
border: [...
|
17629
|
+
border: [...q(), "hidden"]
|
17630
17630
|
}],
|
17631
17631
|
/**
|
17632
17632
|
* Divide Width X
|
@@ -17664,7 +17664,7 @@ function bfe() {
|
|
17664
17664
|
* @see https://tailwindcss.com/docs/divide-style
|
17665
17665
|
*/
|
17666
17666
|
"divide-style": [{
|
17667
|
-
divide:
|
17667
|
+
divide: q()
|
17668
17668
|
}],
|
17669
17669
|
/**
|
17670
17670
|
* Border Color
|
@@ -17727,7 +17727,7 @@ function bfe() {
|
|
17727
17727
|
* @see https://tailwindcss.com/docs/outline-style
|
17728
17728
|
*/
|
17729
17729
|
"outline-style": [{
|
17730
|
-
outline: ["", ...
|
17730
|
+
outline: ["", ...q()]
|
17731
17731
|
}],
|
17732
17732
|
/**
|
17733
17733
|
* Outline Offset
|
@@ -17755,7 +17755,7 @@ function bfe() {
|
|
17755
17755
|
* @see https://tailwindcss.com/docs/ring-width
|
17756
17756
|
*/
|
17757
17757
|
"ring-w": [{
|
17758
|
-
ring:
|
17758
|
+
ring: W()
|
17759
17759
|
}],
|
17760
17760
|
/**
|
17761
17761
|
* Ring Width Inset
|
@@ -41963,17 +41963,17 @@ const KNe = (t) => ({
|
|
41963
41963
|
}, h = qA(i), p = UA(h), m = await o.getDimensions(c), g = h === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
|
41964
41964
|
let E = S ? S[b] : 0;
|
41965
41965
|
(!E || !await (o.isElement == null ? void 0 : o.isElement(S))) && (E = a.floating[b] || s.floating[p]);
|
41966
|
-
const L = w / 2 - x / 2, D = E / 2 - m[p] / 2 - 1, I = Ta(f[v], D), O = Ta(f[k], D), H = I,
|
41966
|
+
const L = w / 2 - x / 2, D = E / 2 - m[p] / 2 - 1, I = Ta(f[v], D), O = Ta(f[k], D), H = I, W = E - m[p] - O, G = E / 2 - m[p] / 2 + L, U = rx(H, G, W), q = !l.arrow && D2(i) != null && G !== U && s.reference[p] / 2 - (G < H ? I : O) - m[p] / 2 < 0, Y = q ? G < H ? G - H : G - W : 0;
|
41967
41967
|
return {
|
41968
41968
|
[h]: d[h] + Y,
|
41969
41969
|
data: {
|
41970
41970
|
[h]: U,
|
41971
|
-
centerOffset:
|
41972
|
-
...
|
41971
|
+
centerOffset: G - U - Y,
|
41972
|
+
...q && {
|
41973
41973
|
alignmentOffset: Y
|
41974
41974
|
}
|
41975
41975
|
},
|
41976
|
-
reset:
|
41976
|
+
reset: q
|
41977
41977
|
};
|
41978
41978
|
}
|
41979
41979
|
}), XNe = function(t) {
|
@@ -42005,31 +42005,31 @@ const KNe = (t) => ({
|
|
42005
42005
|
const E = [a, ...x], L = await Om(e, g), D = [];
|
42006
42006
|
let I = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
42007
42007
|
if (u && D.push(L[v]), f) {
|
42008
|
-
const
|
42009
|
-
D.push(L[
|
42008
|
+
const G = WNe(i, o, w);
|
42009
|
+
D.push(L[G[0]], L[G[1]]);
|
42010
42010
|
}
|
42011
42011
|
if (I = [...I, {
|
42012
42012
|
placement: i,
|
42013
42013
|
overflows: D
|
42014
|
-
}], !D.every((
|
42014
|
+
}], !D.every((G) => G <= 0)) {
|
42015
42015
|
var O, H;
|
42016
|
-
const
|
42016
|
+
const G = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, U = E[G];
|
42017
42017
|
if (U)
|
42018
42018
|
return {
|
42019
42019
|
data: {
|
42020
|
-
index:
|
42020
|
+
index: G,
|
42021
42021
|
overflows: I
|
42022
42022
|
},
|
42023
42023
|
reset: {
|
42024
42024
|
placement: U
|
42025
42025
|
}
|
42026
42026
|
};
|
42027
|
-
let
|
42028
|
-
if (!
|
42027
|
+
let q = (H = I.filter((Y) => Y.overflows[0] <= 0).sort((Y, re) => Y.overflows[1] - re.overflows[1])[0]) == null ? void 0 : H.placement;
|
42028
|
+
if (!q)
|
42029
42029
|
switch (h) {
|
42030
42030
|
case "bestFit": {
|
42031
|
-
var
|
42032
|
-
const Y = (
|
42031
|
+
var W;
|
42032
|
+
const Y = (W = I.filter((re) => {
|
42033
42033
|
if (S) {
|
42034
42034
|
const Q = Pu(re.placement);
|
42035
42035
|
return Q === k || // Create a bias to the `y` side axis due to horizontal
|
@@ -42037,18 +42037,18 @@ const KNe = (t) => ({
|
|
42037
42037
|
Q === "y";
|
42038
42038
|
}
|
42039
42039
|
return !0;
|
42040
|
-
}).map((re) => [re.placement, re.overflows.filter((Q) => Q > 0).reduce((Q, oe) => Q + oe, 0)]).sort((re, Q) => re[1] - Q[1])[0]) == null ? void 0 :
|
42041
|
-
Y && (
|
42040
|
+
}).map((re) => [re.placement, re.overflows.filter((Q) => Q > 0).reduce((Q, oe) => Q + oe, 0)]).sort((re, Q) => re[1] - Q[1])[0]) == null ? void 0 : W[0];
|
42041
|
+
Y && (q = Y);
|
42042
42042
|
break;
|
42043
42043
|
}
|
42044
42044
|
case "initialPlacement":
|
42045
|
-
|
42045
|
+
q = a;
|
42046
42046
|
break;
|
42047
42047
|
}
|
42048
|
-
if (i !==
|
42048
|
+
if (i !== q)
|
42049
42049
|
return {
|
42050
42050
|
reset: {
|
42051
|
-
placement:
|
42051
|
+
placement: q
|
42052
42052
|
}
|
42053
42053
|
};
|
42054
42054
|
}
|
@@ -42833,7 +42833,7 @@ function DDe(t) {
|
|
42833
42833
|
...re,
|
42834
42834
|
isPositioned: !0
|
42835
42835
|
};
|
42836
|
-
|
42836
|
+
W.current && !H6(L.current, Q) && (L.current = Q, n0.flushSync(() => {
|
42837
42837
|
f(Q);
|
42838
42838
|
}));
|
42839
42839
|
});
|
@@ -42844,9 +42844,9 @@ function DDe(t) {
|
|
42844
42844
|
isPositioned: !1
|
42845
42845
|
})));
|
42846
42846
|
}, [c]);
|
42847
|
-
const
|
42848
|
-
z3(() => (
|
42849
|
-
|
42847
|
+
const W = C.useRef(!1);
|
42848
|
+
z3(() => (W.current = !0, () => {
|
42849
|
+
W.current = !1;
|
42850
42850
|
}), []), z3(() => {
|
42851
42851
|
if (w && (S.current = w), x && (E.current = x), w && x) {
|
42852
42852
|
if (I.current)
|
@@ -42854,7 +42854,7 @@ function DDe(t) {
|
|
42854
42854
|
H();
|
42855
42855
|
}
|
42856
42856
|
}, [w, x, H, I, D]);
|
42857
|
-
const
|
42857
|
+
const G = C.useMemo(() => ({
|
42858
42858
|
reference: S,
|
42859
42859
|
floating: E,
|
42860
42860
|
setReference: k,
|
@@ -42862,7 +42862,7 @@ function DDe(t) {
|
|
42862
42862
|
}), [k, b]), U = C.useMemo(() => ({
|
42863
42863
|
reference: w,
|
42864
42864
|
floating: x
|
42865
|
-
}), [w, x]),
|
42865
|
+
}), [w, x]), q = C.useMemo(() => {
|
42866
42866
|
const Y = {
|
42867
42867
|
position: n,
|
42868
42868
|
left: 0,
|
@@ -42886,10 +42886,10 @@ function DDe(t) {
|
|
42886
42886
|
return C.useMemo(() => ({
|
42887
42887
|
...u,
|
42888
42888
|
update: H,
|
42889
|
-
refs:
|
42889
|
+
refs: G,
|
42890
42890
|
elements: U,
|
42891
|
-
floatingStyles:
|
42892
|
-
}), [u, H,
|
42891
|
+
floatingStyles: q
|
42892
|
+
}), [u, H, G, U, q]);
|
42893
42893
|
}
|
42894
42894
|
const jDe = (t) => {
|
42895
42895
|
function e(n) {
|
@@ -42982,8 +42982,8 @@ var JA = "PopperContent", [UDe, qDe] = jU(JA), zU = C.forwardRef(
|
|
42982
42982
|
updatePositionStrategy: b = "optimized",
|
42983
42983
|
onPlaced: w,
|
42984
42984
|
...x
|
42985
|
-
} = t, S = IU(JA, l), [E, L] = C.useState(null), D = Kt(e, (Te) => L(Te)), [I, O] = C.useState(null), H = FA(I),
|
42986
|
-
padding:
|
42985
|
+
} = t, S = IU(JA, l), [E, L] = C.useState(null), D = Kt(e, (Te) => L(Te)), [I, O] = C.useState(null), H = FA(I), W = (H == null ? void 0 : H.width) ?? 0, G = (H == null ? void 0 : H.height) ?? 0, U = c + (f !== "center" ? "-" + f : ""), q = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, Y = Array.isArray(m) ? m : [m], re = Y.length > 0, Q = {
|
42986
|
+
padding: q,
|
42987
42987
|
boundary: Y.filter(WDe),
|
42988
42988
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
42989
42989
|
altBoundary: re
|
@@ -42998,7 +42998,7 @@ var JA = "PopperContent", [UDe, qDe] = jU(JA), zU = C.forwardRef(
|
|
42998
42998
|
reference: S.anchor
|
42999
42999
|
},
|
43000
43000
|
middleware: [
|
43001
|
-
IDe({ mainAxis: u +
|
43001
|
+
IDe({ mainAxis: u + G, alignmentAxis: d }),
|
43002
43002
|
p && RDe({
|
43003
43003
|
mainAxis: !0,
|
43004
43004
|
crossAxis: !1,
|
@@ -43014,7 +43014,7 @@ var JA = "PopperContent", [UDe, qDe] = jU(JA), zU = C.forwardRef(
|
|
43014
43014
|
}
|
43015
43015
|
}),
|
43016
43016
|
I && _De({ element: I, padding: h }),
|
43017
|
-
ZDe({ arrowWidth:
|
43017
|
+
ZDe({ arrowWidth: W, arrowHeight: G }),
|
43018
43018
|
k && BDe({ strategy: "referenceHidden", ...Q })
|
43019
43019
|
]
|
43020
43020
|
}), [ge, J] = FU(se), ke = ns(w);
|
@@ -46243,20 +46243,20 @@ function dPe(t) {
|
|
46243
46243
|
const { prevResolvedValues: O = {} } = k, H = {
|
46244
46244
|
...O,
|
46245
46245
|
...I
|
46246
|
-
},
|
46247
|
-
E = !0, d.has(
|
46248
|
-
const U = t.getValue(
|
46246
|
+
}, W = (G) => {
|
46247
|
+
E = !0, d.has(G) && (L = !0, d.delete(G)), k.needsAnimating[G] = !0;
|
46248
|
+
const U = t.getValue(G);
|
46249
46249
|
U && (U.liveStyle = !1);
|
46250
46250
|
};
|
46251
|
-
for (const
|
46252
|
-
const U = I[
|
46253
|
-
if (h.hasOwnProperty(
|
46251
|
+
for (const G in H) {
|
46252
|
+
const U = I[G], q = O[G];
|
46253
|
+
if (h.hasOwnProperty(G))
|
46254
46254
|
continue;
|
46255
46255
|
let Y = !1;
|
46256
|
-
ax(U) && ax(
|
46256
|
+
ax(U) && ax(q) ? Y = !Cq(U, q) : Y = U !== q, Y ? U != null ? W(G) : d.add(G) : U !== void 0 && d.has(G) ? W(G) : k.protectedKeys[G] = !0;
|
46257
46257
|
}
|
46258
|
-
k.prevProp = b, k.prevResolvedValues = I, k.isActive && (h = { ...h, ...I }), r && t.blockInitialAnimation && (E = !1), E && (!S || L) && f.push(...D.map((
|
46259
|
-
animation:
|
46258
|
+
k.prevProp = b, k.prevResolvedValues = I, k.isActive && (h = { ...h, ...I }), r && t.blockInitialAnimation && (E = !1), E && (!S || L) && f.push(...D.map((G) => ({
|
46259
|
+
animation: G,
|
46260
46260
|
options: { type: v }
|
46261
46261
|
})));
|
46262
46262
|
}
|
@@ -49893,10 +49893,10 @@ var cze = C.forwardRef((t, e) => {
|
|
49893
49893
|
if (L.target === L.currentTarget && D && !v) {
|
49894
49894
|
const I = new CustomEvent(W7, ize);
|
49895
49895
|
if (L.currentTarget.dispatchEvent(I), !I.defaultPrevented) {
|
49896
|
-
const O = w().filter((U) => U.focusable), H = O.find((U) => U.active),
|
49896
|
+
const O = w().filter((U) => U.focusable), H = O.find((U) => U.active), W = O.find((U) => U.id === m), G = [H, W, ...O].filter(
|
49897
49897
|
Boolean
|
49898
49898
|
).map((U) => U.ref.current);
|
49899
|
-
DG(
|
49899
|
+
DG(G, u);
|
49900
49900
|
}
|
49901
49901
|
}
|
49902
49902
|
x.current = !1;
|
@@ -52219,11 +52219,11 @@ var ml = 10, [bZ, h0] = B2(K1), J_e = "SelectContentImpl", wZ = C.forwardRef(
|
|
52219
52219
|
...v
|
52220
52220
|
} = t, k = d0(K1, n), [b, w] = C.useState(null), [x, S] = C.useState(null), E = Kt(e, (ke) => w(ke)), [L, D] = C.useState(null), [I, O] = C.useState(
|
52221
52221
|
null
|
52222
|
-
), H = Pb(n), [
|
52222
|
+
), H = Pb(n), [W, G] = C.useState(!1), U = C.useRef(!1);
|
52223
52223
|
C.useEffect(() => {
|
52224
52224
|
if (b) return Db(b);
|
52225
52225
|
}, [b]), ES();
|
52226
|
-
const
|
52226
|
+
const q = C.useCallback(
|
52227
52227
|
(ke) => {
|
52228
52228
|
const [me, ...Pe] = H().map((Ee) => Ee.ref.current), [je] = Pe.slice(-1), Ae = document.activeElement;
|
52229
52229
|
for (const Ee of ke)
|
@@ -52231,12 +52231,12 @@ var ml = 10, [bZ, h0] = B2(K1), J_e = "SelectContentImpl", wZ = C.forwardRef(
|
|
52231
52231
|
},
|
52232
52232
|
[H, x]
|
52233
52233
|
), Y = C.useCallback(
|
52234
|
-
() =>
|
52235
|
-
[
|
52234
|
+
() => q([L, b]),
|
52235
|
+
[q, L, b]
|
52236
52236
|
);
|
52237
52237
|
C.useEffect(() => {
|
52238
|
-
|
52239
|
-
}, [
|
52238
|
+
W && Y();
|
52239
|
+
}, [W, Y]);
|
52240
52240
|
const { onOpenChange: re, triggerPointerDownPosRef: Q } = k;
|
52241
52241
|
C.useEffect(() => {
|
52242
52242
|
if (b) {
|
@@ -52301,7 +52301,7 @@ var ml = 10, [bZ, h0] = B2(K1), J_e = "SelectContentImpl", wZ = C.forwardRef(
|
|
52301
52301
|
focusSelectedItem: Y,
|
52302
52302
|
selectedItemText: I,
|
52303
52303
|
position: r,
|
52304
|
-
isPositioned:
|
52304
|
+
isPositioned: W,
|
52305
52305
|
searchRef: oe,
|
52306
52306
|
children: /* @__PURE__ */ A.jsx(Nb, { as: qa, allowPinchZoom: !0, children: /* @__PURE__ */ A.jsx(
|
52307
52307
|
z2,
|
@@ -52334,7 +52334,7 @@ var ml = 10, [bZ, h0] = B2(K1), J_e = "SelectContentImpl", wZ = C.forwardRef(
|
|
52334
52334
|
onContextMenu: (ke) => ke.preventDefault(),
|
52335
52335
|
...v,
|
52336
52336
|
...J,
|
52337
|
-
onPlaced: () =>
|
52337
|
+
onPlaced: () => G(!0),
|
52338
52338
|
ref: E,
|
52339
52339
|
style: {
|
52340
52340
|
// flex layout so we can place the scroll buttons properly
|
@@ -52352,7 +52352,7 @@ var ml = 10, [bZ, h0] = B2(K1), J_e = "SelectContentImpl", wZ = C.forwardRef(
|
|
52352
52352
|
const je = ke.target, Ae = Pe.indexOf(je);
|
52353
52353
|
Pe = Pe.slice(Ae + 1);
|
52354
52354
|
}
|
52355
|
-
setTimeout(() =>
|
52355
|
+
setTimeout(() => q(Pe)), ke.preventDefault();
|
52356
52356
|
}
|
52357
52357
|
})
|
52358
52358
|
}
|
@@ -52377,7 +52377,7 @@ var Q_e = "SelectItemAlignedPosition", kZ = C.forwardRef((t, e) => {
|
|
52377
52377
|
const je = L.right - I.right, Ae = window.innerWidth - D.right - je, Ee = window.innerWidth - E.right - Ae, Te = E.width + Ee, le = Math.max(Te, L.width), K = window.innerWidth - ml, ee = sR(Ae, [ml, K - le]);
|
52378
52378
|
a.style.minWidth = Te + "px", a.style.right = ee + "px";
|
52379
52379
|
}
|
52380
|
-
const O = d(), H = window.innerHeight - ml * 2,
|
52380
|
+
const O = d(), H = window.innerHeight - ml * 2, W = m.scrollHeight, G = window.getComputedStyle(c), U = parseInt(G.borderTopWidth, 10), q = parseInt(G.paddingTop, 10), Y = parseInt(G.borderBottomWidth, 10), re = parseInt(G.paddingBottom, 10), Q = U + q + W + re + Y, oe = Math.min(g.offsetHeight * 5, Q), de = window.getComputedStyle(m), se = parseInt(de.paddingTop, 10), pe = parseInt(de.paddingBottom, 10), be = E.top + E.height / 2 - ml, ge = H - be, J = g.offsetHeight / 2, ke = g.offsetTop + J, me = U + q + ke, Pe = Q - me;
|
52381
52381
|
if (me <= be) {
|
52382
52382
|
const je = g === O[O.length - 1].ref.current;
|
52383
52383
|
a.style.bottom = "0px";
|
@@ -53554,8 +53554,8 @@ function UFe({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
53554
53554
|
const I = typeof D == "string";
|
53555
53555
|
let O = 0;
|
53556
53556
|
if (I && (O = parseInt(D, 10)), Cr(a)) {
|
53557
|
-
const
|
53558
|
-
return d ? a === "bottom" ? E.height -
|
53557
|
+
const W = I ? O : d ? D * E.height : 0;
|
53558
|
+
return d ? a === "bottom" ? E.height - W : -E.height + W : W;
|
53559
53559
|
}
|
53560
53560
|
const H = I ? O : d ? D * E.width : 0;
|
53561
53561
|
return d ? a === "right" ? E.width - H : -E.width + H : H;
|
@@ -53603,25 +53603,25 @@ function UFe({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
|
|
53603
53603
|
]);
|
53604
53604
|
function w({ draggedDistance: E, closeDrawer: L, velocity: D, dismissible: I }) {
|
53605
53605
|
if (s === void 0) return;
|
53606
|
-
const O = a === "bottom" || a === "right" ? (k ?? 0) - E : (k ?? 0) + E, H = m === s - 1,
|
53606
|
+
const O = a === "bottom" || a === "right" ? (k ?? 0) - E : (k ?? 0) + E, H = m === s - 1, W = m === 0, G = E > 0;
|
53607
53607
|
if (H && Mr(i.current, {
|
53608
53608
|
transition: `opacity ${Hn.DURATION}s cubic-bezier(${Hn.EASE.join(",")})`
|
53609
|
-
}), !c && D > 2 && !
|
53609
|
+
}), !c && D > 2 && !G) {
|
53610
53610
|
I ? L() : b(v[0]);
|
53611
53611
|
return;
|
53612
53612
|
}
|
53613
|
-
if (!c && D > 2 &&
|
53613
|
+
if (!c && D > 2 && G && v && n) {
|
53614
53614
|
b(v[n.length - 1]);
|
53615
53615
|
return;
|
53616
53616
|
}
|
53617
|
-
const U = v == null ? void 0 : v.reduce((Y, re) => typeof Y != "number" || typeof re != "number" ? Y : Math.abs(re - O) < Math.abs(Y - O) ? re : Y),
|
53618
|
-
if (D > QZ && Math.abs(E) <
|
53619
|
-
const Y =
|
53617
|
+
const U = v == null ? void 0 : v.reduce((Y, re) => typeof Y != "number" || typeof re != "number" ? Y : Math.abs(re - O) < Math.abs(Y - O) ? re : Y), q = Cr(a) ? window.innerHeight : window.innerWidth;
|
53618
|
+
if (D > QZ && Math.abs(E) < q * 0.4) {
|
53619
|
+
const Y = G ? 1 : -1;
|
53620
53620
|
if (Y > 0 && p && n) {
|
53621
53621
|
b(v[n.length - 1]);
|
53622
53622
|
return;
|
53623
53623
|
}
|
53624
|
-
if (
|
53624
|
+
if (W && Y < 0 && I && L(), m === null) return;
|
53625
53625
|
b(v[m + Y]);
|
53626
53626
|
return;
|
53627
53627
|
}
|
@@ -53767,8 +53767,8 @@ function WFe({ isOpen: t, modal: e, nested: n, hasBeenOpened: r, preventScrollRe
|
|
53767
53767
|
};
|
53768
53768
|
}
|
53769
53769
|
function eY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, snapPoints: s, shouldScaleBackground: o = !1, setBackgroundColorOnScale: a = !0, closeThreshold: l = FFe, scrollLockTimeout: c = HFe, dismissible: u = !0, handleOnly: f = !1, fadeFromIndex: d = s && s.length - 1, activeSnapPoint: h, setActiveSnapPoint: p, fixed: m, modal: g = !0, onClose: v, nested: k, noBodyStyles: b = !1, direction: w = "bottom", defaultOpen: x = !1, disablePreventScroll: S = !0, snapToSequentialPoint: E = !1, preventScrollRestoration: L = !1, repositionInputs: D = !0, onAnimationEnd: I, container: O, autoFocus: H = !1 }) {
|
53770
|
-
var
|
53771
|
-
const [U = !1,
|
53770
|
+
var W, G;
|
53771
|
+
const [U = !1, q] = XZ({
|
53772
53772
|
defaultProp: x,
|
53773
53773
|
prop: t,
|
53774
53774
|
onChange: (Ke) => {
|
@@ -53778,7 +53778,7 @@ function eY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
53778
53778
|
document.body.style.pointerEvents = "auto";
|
53779
53779
|
}), Ke || (document.body.style.pointerEvents = "auto");
|
53780
53780
|
}
|
53781
|
-
}), [Y, re] = Me.useState(!1), [Q, oe] = Me.useState(!1), [de, se] = Me.useState(!1), pe = Me.useRef(null), be = Me.useRef(null), ge = Me.useRef(null), J = Me.useRef(null), ke = Me.useRef(null), me = Me.useRef(!1), Pe = Me.useRef(null), je = Me.useRef(0), Ae = Me.useRef(!1), Ee = Me.useRef(!x), Te = Me.useRef(0), le = Me.useRef(null), K = Me.useRef(((
|
53781
|
+
}), [Y, re] = Me.useState(!1), [Q, oe] = Me.useState(!1), [de, se] = Me.useState(!1), pe = Me.useRef(null), be = Me.useRef(null), ge = Me.useRef(null), J = Me.useRef(null), ke = Me.useRef(null), me = Me.useRef(!1), Pe = Me.useRef(null), je = Me.useRef(0), Ae = Me.useRef(!1), Ee = Me.useRef(!x), Te = Me.useRef(0), le = Me.useRef(null), K = Me.useRef(((W = le.current) == null ? void 0 : W.getBoundingClientRect().height) || 0), ee = Me.useRef(((G = le.current) == null ? void 0 : G.getBoundingClientRect().width) || 0), ne = Me.useRef(0), Re = Me.useCallback((Ke) => {
|
53782
53782
|
s && Ke === te.length - 1 && (be.current = /* @__PURE__ */ new Date());
|
53783
53783
|
}, []), { activeSnapPoint: V, activeSnapPointIndex: M, setActiveSnapPoint: j, onRelease: B, snapPointsOffset: te, onDrag: fe, shouldFade: ye, getPercentageDragged: _e } = UFe({
|
53784
53784
|
snapPoints: s,
|
@@ -53918,7 +53918,7 @@ function eY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
53918
53918
|
te
|
53919
53919
|
]);
|
53920
53920
|
function bn(Ke) {
|
53921
|
-
xe(), v == null || v(), Ke ||
|
53921
|
+
xe(), v == null || v(), Ke || q(!1), setTimeout(() => {
|
53922
53922
|
s && j(s[0]);
|
53923
53923
|
}, Hn.DURATION * 1e3);
|
53924
53924
|
}
|
@@ -54028,7 +54028,7 @@ function eY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
|
|
54028
54028
|
]), /* @__PURE__ */ Me.createElement(CW, {
|
54029
54029
|
defaultOpen: x,
|
54030
54030
|
onOpenChange: (Ke) => {
|
54031
|
-
!u && !Ke || (Ke ? re(!0) : bn(!0),
|
54031
|
+
!u && !Ke || (Ke ? re(!0) : bn(!0), q(Ke));
|
54032
54032
|
},
|
54033
54033
|
open: U
|
54034
54034
|
}, /* @__PURE__ */ Me.createElement(GZ.Provider, {
|
@@ -54086,16 +54086,16 @@ tY.displayName = "Drawer.Overlay";
|
|
54086
54086
|
const nY = /* @__PURE__ */ Me.forwardRef(function({ onPointerDownOutside: t, style: e, onOpenAutoFocus: n, ...r }, i) {
|
54087
54087
|
const { drawerRef: s, onPress: o, onRelease: a, onDrag: l, keyboardIsOpen: c, snapPointsOffset: u, activeSnapPointIndex: f, modal: d, isOpen: h, direction: p, snapPoints: m, container: g, handleOnly: v, shouldAnimate: k, autoFocus: b } = _2(), [w, x] = Me.useState(!1), S = YZ(i, s), E = Me.useRef(null), L = Me.useRef(null), D = Me.useRef(!1), I = m && m.length > 0;
|
54088
54088
|
GFe();
|
54089
|
-
const O = (
|
54089
|
+
const O = (W, G, U = 0) => {
|
54090
54090
|
if (D.current) return !0;
|
54091
|
-
const
|
54091
|
+
const q = Math.abs(W.y), Y = Math.abs(W.x), re = Y > q, Q = [
|
54092
54092
|
"bottom",
|
54093
54093
|
"right"
|
54094
|
-
].includes(
|
54095
|
-
if (
|
54096
|
-
if (!(
|
54094
|
+
].includes(G) ? 1 : -1;
|
54095
|
+
if (G === "left" || G === "right") {
|
54096
|
+
if (!(W.x * Q < 0) && Y >= 0 && Y <= U)
|
54097
54097
|
return re;
|
54098
|
-
} else if (!(
|
54098
|
+
} else if (!(W.y * Q < 0) && q >= 0 && q <= U)
|
54099
54099
|
return !re;
|
54100
54100
|
return D.current = !0, !0;
|
54101
54101
|
};
|
@@ -54104,8 +54104,8 @@ const nY = /* @__PURE__ */ Me.forwardRef(function({ onPointerDownOutside: t, sty
|
|
54104
54104
|
x(!0);
|
54105
54105
|
});
|
54106
54106
|
}, []);
|
54107
|
-
function H(
|
54108
|
-
E.current = null, D.current = !1, a(
|
54107
|
+
function H(W) {
|
54108
|
+
E.current = null, D.current = !1, a(W);
|
54109
54109
|
}
|
54110
54110
|
return /* @__PURE__ */ Me.createElement(ky, {
|
54111
54111
|
"data-vaul-drawer-direction": p,
|
@@ -54120,44 +54120,44 @@ const nY = /* @__PURE__ */ Me.forwardRef(function({ onPointerDownOutside: t, sty
|
|
54120
54120
|
"--snap-point-height": `${u[f ?? 0]}px`,
|
54121
54121
|
...e
|
54122
54122
|
} : e,
|
54123
|
-
onPointerDown: (
|
54124
|
-
v || (r.onPointerDown == null || r.onPointerDown.call(r,
|
54125
|
-
x:
|
54126
|
-
y:
|
54127
|
-
}, o(
|
54123
|
+
onPointerDown: (W) => {
|
54124
|
+
v || (r.onPointerDown == null || r.onPointerDown.call(r, W), E.current = {
|
54125
|
+
x: W.pageX,
|
54126
|
+
y: W.pageY
|
54127
|
+
}, o(W));
|
54128
54128
|
},
|
54129
|
-
onOpenAutoFocus: (
|
54130
|
-
n == null || n(
|
54129
|
+
onOpenAutoFocus: (W) => {
|
54130
|
+
n == null || n(W), b || W.preventDefault();
|
54131
54131
|
},
|
54132
|
-
onPointerDownOutside: (
|
54133
|
-
if (t == null || t(
|
54134
|
-
|
54132
|
+
onPointerDownOutside: (W) => {
|
54133
|
+
if (t == null || t(W), !d || W.defaultPrevented) {
|
54134
|
+
W.preventDefault();
|
54135
54135
|
return;
|
54136
54136
|
}
|
54137
54137
|
c.current && (c.current = !1);
|
54138
54138
|
},
|
54139
|
-
onFocusOutside: (
|
54139
|
+
onFocusOutside: (W) => {
|
54140
54140
|
if (!d) {
|
54141
|
-
|
54141
|
+
W.preventDefault();
|
54142
54142
|
return;
|
54143
54143
|
}
|
54144
54144
|
},
|
54145
|
-
onPointerMove: (
|
54146
|
-
if (L.current =
|
54147
|
-
const
|
54145
|
+
onPointerMove: (W) => {
|
54146
|
+
if (L.current = W, v || (r.onPointerMove == null || r.onPointerMove.call(r, W), !E.current)) return;
|
54147
|
+
const G = W.pageY - E.current.y, U = W.pageX - E.current.x, q = W.pointerType === "touch" ? 10 : 2;
|
54148
54148
|
O({
|
54149
54149
|
x: U,
|
54150
|
-
y:
|
54151
|
-
}, p,
|
54150
|
+
y: G
|
54151
|
+
}, p, q) ? l(W) : (Math.abs(U) > q || Math.abs(G) > q) && (E.current = null);
|
54152
54152
|
},
|
54153
|
-
onPointerUp: (
|
54154
|
-
r.onPointerUp == null || r.onPointerUp.call(r,
|
54153
|
+
onPointerUp: (W) => {
|
54154
|
+
r.onPointerUp == null || r.onPointerUp.call(r, W), E.current = null, D.current = !1, a(W);
|
54155
54155
|
},
|
54156
|
-
onPointerOut: (
|
54157
|
-
r.onPointerOut == null || r.onPointerOut.call(r,
|
54156
|
+
onPointerOut: (W) => {
|
54157
|
+
r.onPointerOut == null || r.onPointerOut.call(r, W), H(L.current);
|
54158
54158
|
},
|
54159
|
-
onContextMenu: (
|
54160
|
-
r.onContextMenu == null || r.onContextMenu.call(r,
|
54159
|
+
onContextMenu: (W) => {
|
54160
|
+
r.onContextMenu == null || r.onContextMenu.call(r, W), L.current && H(L.current);
|
54161
54161
|
}
|
54162
54162
|
});
|
54163
54163
|
});
|
@@ -76287,13 +76287,13 @@ var gp = '[cmdk-group=""]', ww = '[cmdk-group-items=""]', AWe = '[cmdk-group-hea
|
|
76287
76287
|
n.current.value = se, E.emit();
|
76288
76288
|
}
|
76289
76289
|
}, [u]), ef(() => {
|
76290
|
-
S(6,
|
76290
|
+
S(6, W);
|
76291
76291
|
}, []);
|
76292
76292
|
let E = C.useMemo(() => ({ subscribe: (se) => (o.current.add(se), () => o.current.delete(se)), snapshot: () => n.current, setState: (se, pe, be) => {
|
76293
76293
|
var ge, J, ke;
|
76294
76294
|
if (!Object.is(n.current[se], pe)) {
|
76295
76295
|
if (n.current[se] = pe, se === "search") H(), I(), S(1, O);
|
76296
|
-
else if (se === "value" && (be || S(5,
|
76296
|
+
else if (se === "value" && (be || S(5, W), ((ge = a.current) == null ? void 0 : ge.value) !== void 0)) {
|
76297
76297
|
let me = pe ?? "";
|
76298
76298
|
(ke = (J = a.current).onValueChange) == null || ke.call(J, me);
|
76299
76299
|
return;
|
@@ -76311,7 +76311,7 @@ var gp = '[cmdk-group=""]', ww = '[cmdk-group-items=""]', AWe = '[cmdk-group-hea
|
|
76311
76311
|
H(), I(), n.current.value || O(), E.emit();
|
76312
76312
|
}), () => {
|
76313
76313
|
s.current.delete(se), r.current.delete(se), n.current.filtered.items.delete(se);
|
76314
|
-
let be =
|
76314
|
+
let be = G();
|
76315
76315
|
S(4, () => {
|
76316
76316
|
H(), (be == null ? void 0 : be.getAttribute("id")) === se && O(), E.emit();
|
76317
76317
|
});
|
@@ -76368,12 +76368,12 @@ var gp = '[cmdk-group=""]', ww = '[cmdk-group-items=""]', AWe = '[cmdk-group-hea
|
|
76368
76368
|
}
|
76369
76369
|
n.current.filtered.count = J;
|
76370
76370
|
}
|
76371
|
-
function
|
76371
|
+
function W() {
|
76372
76372
|
var se, pe, be;
|
76373
|
-
let ge =
|
76373
|
+
let ge = G();
|
76374
76374
|
ge && (((se = ge.parentElement) == null ? void 0 : se.firstChild) === ge && ((be = (pe = ge.closest(gp)) == null ? void 0 : pe.querySelector(AWe)) == null || be.scrollIntoView({ block: "nearest" })), ge.scrollIntoView({ block: "nearest" }));
|
76375
76375
|
}
|
76376
|
-
function
|
76376
|
+
function G() {
|
76377
76377
|
var se;
|
76378
76378
|
return (se = x.current) == null ? void 0 : se.querySelector(`${jL}[aria-selected="true"]`);
|
76379
76379
|
}
|
@@ -76381,24 +76381,24 @@ var gp = '[cmdk-group=""]', ww = '[cmdk-group-items=""]', AWe = '[cmdk-group-hea
|
|
76381
76381
|
var se;
|
76382
76382
|
return Array.from((se = x.current) == null ? void 0 : se.querySelectorAll(UR));
|
76383
76383
|
}
|
76384
|
-
function
|
76384
|
+
function q(se) {
|
76385
76385
|
let pe = U()[se];
|
76386
76386
|
pe && E.setState("value", pe.getAttribute(V0));
|
76387
76387
|
}
|
76388
76388
|
function Y(se) {
|
76389
76389
|
var pe;
|
76390
|
-
let be =
|
76390
|
+
let be = G(), ge = U(), J = ge.findIndex((me) => me === be), ke = ge[J + se];
|
76391
76391
|
(pe = a.current) != null && pe.loop && (ke = J + se < 0 ? ge[ge.length - 1] : J + se === ge.length ? ge[0] : ge[J + se]), ke && E.setState("value", ke.getAttribute(V0));
|
76392
76392
|
}
|
76393
76393
|
function re(se) {
|
76394
|
-
let pe =
|
76394
|
+
let pe = G(), be = pe == null ? void 0 : pe.closest(gp), ge;
|
76395
76395
|
for (; be && !ge; ) be = se > 0 ? PWe(be, gp) : OWe(be, gp), ge = be == null ? void 0 : be.querySelector(UR);
|
76396
76396
|
ge ? E.setState("value", ge.getAttribute(V0)) : Y(se);
|
76397
76397
|
}
|
76398
|
-
let Q = () =>
|
76398
|
+
let Q = () => q(U().length - 1), oe = (se) => {
|
76399
76399
|
se.preventDefault(), se.metaKey ? Q() : se.altKey ? re(1) : Y(1);
|
76400
76400
|
}, de = (se) => {
|
76401
|
-
se.preventDefault(), se.metaKey ?
|
76401
|
+
se.preventDefault(), se.metaKey ? q(0) : se.altKey ? re(-1) : Y(-1);
|
76402
76402
|
};
|
76403
76403
|
return C.createElement(ko.div, { ref: e, tabIndex: -1, ...v, "cmdk-root": "", onKeyDown: (se) => {
|
76404
76404
|
var pe;
|
@@ -76422,7 +76422,7 @@ var gp = '[cmdk-group=""]', ww = '[cmdk-group-items=""]', AWe = '[cmdk-group-hea
|
|
76422
76422
|
break;
|
76423
76423
|
}
|
76424
76424
|
case "Home": {
|
76425
|
-
se.preventDefault(),
|
76425
|
+
se.preventDefault(), q(0);
|
76426
76426
|
break;
|
76427
76427
|
}
|
76428
76428
|
case "End": {
|
@@ -76432,7 +76432,7 @@ var gp = '[cmdk-group=""]', ww = '[cmdk-group-items=""]', AWe = '[cmdk-group-hea
|
|
76432
76432
|
case "Enter":
|
76433
76433
|
if (!se.nativeEvent.isComposing && se.keyCode !== 229) {
|
76434
76434
|
se.preventDefault();
|
76435
|
-
let be =
|
76435
|
+
let be = G();
|
76436
76436
|
if (be) {
|
76437
76437
|
let ge = new Event(Wx);
|
76438
76438
|
be.dispatchEvent(ge);
|
@@ -76864,41 +76864,41 @@ var [QWe, $We] = NQ(t8, {
|
|
76864
76864
|
onSwipeCancel: d,
|
76865
76865
|
onSwipeEnd: h,
|
76866
76866
|
...p
|
76867
|
-
} = t, m = e8(t8, n), [g, v] = C.useState(null), k = Kt(e, (
|
76868
|
-
var
|
76869
|
-
g != null && g.contains(document.activeElement) && ((
|
76867
|
+
} = t, m = e8(t8, n), [g, v] = C.useState(null), k = Kt(e, (G) => v(G)), b = C.useRef(null), w = C.useRef(null), x = i || m.duration, S = C.useRef(0), E = C.useRef(x), L = C.useRef(0), { onToastAdd: D, onToastRemove: I } = m, O = ns(() => {
|
76868
|
+
var G;
|
76869
|
+
g != null && g.contains(document.activeElement) && ((G = m.viewport) == null || G.focus()), o();
|
76870
76870
|
}), H = C.useCallback(
|
76871
|
-
(
|
76872
|
-
!
|
76871
|
+
(G) => {
|
76872
|
+
!G || G === 1 / 0 || (window.clearTimeout(L.current), S.current = (/* @__PURE__ */ new Date()).getTime(), L.current = window.setTimeout(O, G));
|
76873
76873
|
},
|
76874
76874
|
[O]
|
76875
76875
|
);
|
76876
76876
|
C.useEffect(() => {
|
76877
|
-
const
|
76878
|
-
if (
|
76877
|
+
const G = m.viewport;
|
76878
|
+
if (G) {
|
76879
76879
|
const U = () => {
|
76880
76880
|
H(E.current), c == null || c();
|
76881
|
-
},
|
76881
|
+
}, q = () => {
|
76882
76882
|
const Y = (/* @__PURE__ */ new Date()).getTime() - S.current;
|
76883
76883
|
E.current = E.current - Y, window.clearTimeout(L.current), l == null || l();
|
76884
76884
|
};
|
76885
|
-
return
|
76886
|
-
|
76885
|
+
return G.addEventListener(Zx, q), G.addEventListener(Yx, U), () => {
|
76886
|
+
G.removeEventListener(Zx, q), G.removeEventListener(Yx, U);
|
76887
76887
|
};
|
76888
76888
|
}
|
76889
76889
|
}, [m.viewport, x, l, c, H]), C.useEffect(() => {
|
76890
76890
|
s && !m.isClosePausedRef.current && H(x);
|
76891
76891
|
}, [s, x, m.isClosePausedRef, H]), C.useEffect(() => (D(), () => I()), [D, I]);
|
76892
|
-
const
|
76892
|
+
const W = C.useMemo(() => g ? HQ(g) : null, [g]);
|
76893
76893
|
return m.viewport ? /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
|
76894
|
-
|
76894
|
+
W && /* @__PURE__ */ A.jsx(
|
76895
76895
|
XWe,
|
76896
76896
|
{
|
76897
76897
|
__scopeToast: n,
|
76898
76898
|
role: "status",
|
76899
76899
|
"aria-live": r === "foreground" ? "assertive" : "polite",
|
76900
76900
|
"aria-atomic": !0,
|
76901
|
-
children:
|
76901
|
+
children: W
|
76902
76902
|
}
|
76903
76903
|
),
|
76904
76904
|
/* @__PURE__ */ A.jsx(QWe, { scope: n, onClose: O, children: n0.createPortal(
|
@@ -76921,25 +76921,25 @@ var [QWe, $We] = NQ(t8, {
|
|
76921
76921
|
...p,
|
76922
76922
|
ref: k,
|
76923
76923
|
style: { userSelect: "none", touchAction: "none", ...t.style },
|
76924
|
-
onKeyDown: et(t.onKeyDown, (
|
76925
|
-
|
76924
|
+
onKeyDown: et(t.onKeyDown, (G) => {
|
76925
|
+
G.key === "Escape" && (a == null || a(G.nativeEvent), G.nativeEvent.defaultPrevented || (m.isFocusedToastEscapeKeyDownRef.current = !0, O()));
|
76926
76926
|
}),
|
76927
|
-
onPointerDown: et(t.onPointerDown, (
|
76928
|
-
|
76927
|
+
onPointerDown: et(t.onPointerDown, (G) => {
|
76928
|
+
G.button === 0 && (b.current = { x: G.clientX, y: G.clientY });
|
76929
76929
|
}),
|
76930
|
-
onPointerMove: et(t.onPointerMove, (
|
76930
|
+
onPointerMove: et(t.onPointerMove, (G) => {
|
76931
76931
|
if (!b.current) return;
|
76932
|
-
const U =
|
76932
|
+
const U = G.clientX - b.current.x, q = G.clientY - b.current.y, Y = !!w.current, re = ["left", "right"].includes(m.swipeDirection), Q = ["left", "up"].includes(m.swipeDirection) ? Math.min : Math.max, oe = re ? Q(0, U) : 0, de = re ? 0 : Q(0, q), se = G.pointerType === "touch" ? 10 : 2, pe = { x: oe, y: de }, be = { originalEvent: G, delta: pe };
|
76933
76933
|
Y ? (w.current = pe, Dg(ZWe, f, be, {
|
76934
76934
|
discrete: !1
|
76935
76935
|
})) : qR(pe, m.swipeDirection, se) ? (w.current = pe, Dg(WWe, u, be, {
|
76936
76936
|
discrete: !1
|
76937
|
-
}),
|
76937
|
+
}), G.target.setPointerCapture(G.pointerId)) : (Math.abs(U) > se || Math.abs(q) > se) && (b.current = null);
|
76938
76938
|
}),
|
76939
|
-
onPointerUp: et(t.onPointerUp, (
|
76940
|
-
const U = w.current,
|
76941
|
-
if (
|
76942
|
-
const Y =
|
76939
|
+
onPointerUp: et(t.onPointerUp, (G) => {
|
76940
|
+
const U = w.current, q = G.target;
|
76941
|
+
if (q.hasPointerCapture(G.pointerId) && q.releasePointerCapture(G.pointerId), w.current = null, b.current = null, U) {
|
76942
|
+
const Y = G.currentTarget, re = { originalEvent: G, delta: U };
|
76943
76943
|
qR(U, m.swipeDirection, m.swipeThreshold) ? Dg(JWe, h, re, {
|
76944
76944
|
discrete: !0
|
76945
76945
|
}) : Dg(
|
@@ -77979,7 +77979,7 @@ function GZe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, g, v, k) {
|
|
77979
77979
|
mouse: 500,
|
77980
77980
|
touch: 600
|
77981
77981
|
}, H = p ? 43 : 25;
|
77982
|
-
let
|
77982
|
+
let W = !1, G = 0, U = 0, q = !1, Y = !1, re = !1, Q = !1;
|
77983
77983
|
function oe(Ee) {
|
77984
77984
|
if (!k) return;
|
77985
77985
|
function Te(K) {
|
@@ -78010,11 +78010,11 @@ function GZe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, g, v, k) {
|
|
78010
78010
|
}
|
78011
78011
|
function J(Ee) {
|
78012
78012
|
const Te = Xx(Ee, r);
|
78013
|
-
Q = Te, re = p && Te && !Ee.buttons &&
|
78013
|
+
Q = Te, re = p && Te && !Ee.buttons && W, W = am(i.get(), o.get()) >= 2, !(Te && Ee.button !== 0) && (pe(Ee.target) || (q = !0, s.pointerDown(Ee), c.useFriction(0).useDuration(0), i.set(o), se(), G = s.readPoint(Ee), U = s.readPoint(Ee, b), d.emit("pointerDown")));
|
78014
78014
|
}
|
78015
78015
|
function ke(Ee) {
|
78016
78016
|
if (!Xx(Ee, r) && Ee.touches.length >= 2) return me(Ee);
|
78017
|
-
const le = s.readPoint(Ee), K = s.readPoint(Ee, b), ee = am(le,
|
78017
|
+
const le = s.readPoint(Ee), K = s.readPoint(Ee, b), ee = am(le, G), ne = am(K, U);
|
78018
78018
|
if (!Y && !Q && (!Ee.cancelable || (Y = ee > ne, !Y)))
|
78019
78019
|
return me(Ee);
|
78020
78020
|
const Re = s.pointerMove(Ee);
|
@@ -78022,13 +78022,13 @@ function GZe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, g, v, k) {
|
|
78022
78022
|
}
|
78023
78023
|
function me(Ee) {
|
78024
78024
|
const le = u.byDistance(0, !1).index !== f.get(), K = s.pointerUp(Ee) * be(), ee = ge(w(K), le), ne = HZe(K, ee), Re = H - 10 * ne, V = v + ne / 50;
|
78025
|
-
Y = !1,
|
78025
|
+
Y = !1, q = !1, L.clear(), c.useDuration(Re).useFriction(V), l.distance(ee, !p), Q = !1, d.emit("pointerUp");
|
78026
78026
|
}
|
78027
78027
|
function Pe(Ee) {
|
78028
78028
|
re && (Ee.stopPropagation(), Ee.preventDefault(), re = !1);
|
78029
78029
|
}
|
78030
78030
|
function je() {
|
78031
|
-
return
|
78031
|
+
return q;
|
78032
78032
|
}
|
78033
78033
|
return {
|
78034
78034
|
init: oe,
|
@@ -78472,13 +78472,13 @@ function aYe(t, e, n, r, i, s, o, a, l) {
|
|
78472
78472
|
function g(E, L, D) {
|
78473
78473
|
const I = m(L);
|
78474
78474
|
return E.map((O) => {
|
78475
|
-
const H = D ? 0 : -n,
|
78475
|
+
const H = D ? 0 : -n, W = D ? n : 0, G = D ? "end" : "start", U = I[O][G];
|
78476
78476
|
return {
|
78477
78477
|
index: O,
|
78478
78478
|
loopPoint: U,
|
78479
78479
|
slideLocation: Rp(-1),
|
78480
78480
|
translate: XQ(t, l[O]),
|
78481
|
-
target: () => a.get() > U ? H :
|
78481
|
+
target: () => a.get() > U ? H : W
|
78482
78482
|
};
|
78483
78483
|
});
|
78484
78484
|
}
|
@@ -78652,15 +78652,15 @@ function dYe(t, e, n, r, i, s, o) {
|
|
78652
78652
|
watchSlides: w,
|
78653
78653
|
watchDrag: x,
|
78654
78654
|
watchFocus: S
|
78655
|
-
} = s, E = 2, L = ZZe(), D = L.measure(e), I = n.map(L.measure), O = qZe(l, c), H = O.measureSize(D),
|
78655
|
+
} = s, E = 2, L = ZZe(), D = L.measure(e), I = n.map(L.measure), O = qZe(l, c), H = O.measureSize(D), W = YZe(H), G = VZe(a, H), U = !f && !!k, q = f || !!k, {
|
78656
78656
|
slideSizes: Y,
|
78657
78657
|
slideSizesWithGaps: re,
|
78658
78658
|
startGap: Q,
|
78659
78659
|
endGap: oe
|
78660
|
-
} = uYe(O, D, I, n,
|
78660
|
+
} = uYe(O, D, I, n, q, i), de = fYe(O, H, g, f, D, I, Q, oe, E), {
|
78661
78661
|
snaps: se,
|
78662
78662
|
snapsAligned: pe
|
78663
|
-
} = nYe(O,
|
78663
|
+
} = nYe(O, G, D, I, de), be = -Fo(se) + Fo(re), {
|
78664
78664
|
snapsContained: ge,
|
78665
78665
|
scrollContainLimit: J
|
78666
78666
|
} = KZe(H, be, pe, k, E), ke = U ? ge : pe, {
|
@@ -78703,9 +78703,9 @@ function dYe(t, e, n, r, i, s, o) {
|
|
78703
78703
|
slideRects: I,
|
78704
78704
|
animation: le,
|
78705
78705
|
axis: O,
|
78706
|
-
dragHandler: GZe(O, t, r, i, M, WZe(O, i), ne, le, te, j, B, Pe, o,
|
78706
|
+
dragHandler: GZe(O, t, r, i, M, WZe(O, i), ne, le, te, j, B, Pe, o, W, h, p, v, K, x),
|
78707
78707
|
eventStore: ye,
|
78708
|
-
percentOfView:
|
78708
|
+
percentOfView: W,
|
78709
78709
|
index: Pe,
|
78710
78710
|
indexPrevious: je,
|
78711
78711
|
limit: me,
|
@@ -78715,7 +78715,7 @@ function dYe(t, e, n, r, i, s, o) {
|
|
78715
78715
|
options: s,
|
78716
78716
|
resizeHandler: JZe(e, o, i, n, O, b, L),
|
78717
78717
|
scrollBody: j,
|
78718
|
-
scrollBounds: $Ze(me, V, M, j,
|
78718
|
+
scrollBounds: $Ze(me, V, M, j, W),
|
78719
78719
|
scrollLooper: eYe(be, me, V, [ne, V, Re, M]),
|
78720
78720
|
scrollProgress: fe,
|
78721
78721
|
scrollSnapList: ke.map(fe.get),
|
@@ -78863,19 +78863,19 @@ function i5(t, e, n) {
|
|
78863
78863
|
function H() {
|
78864
78864
|
v.dragHandler.destroy(), v.eventStore.clear(), v.translate.clear(), v.slideLooper.clear(), v.resizeHandler.destroy(), v.slidesHandler.destroy(), v.slidesInView.destroy(), v.animation.destroy(), o.destroy(), a.clear();
|
78865
78865
|
}
|
78866
|
-
function
|
78866
|
+
function W() {
|
78867
78867
|
g || (g = !0, a.clear(), H(), l.emit("destroy"), l.clear());
|
78868
78868
|
}
|
78869
|
-
function
|
78869
|
+
function G(Ae, Ee, Te) {
|
78870
78870
|
!b.active || g || (v.scrollBody.useBaseFriction().useDuration(Ee === !0 ? 0 : b.duration), v.scrollTo.index(Ae, Te || 0));
|
78871
78871
|
}
|
78872
78872
|
function U(Ae) {
|
78873
78873
|
const Ee = v.index.add(1).get();
|
78874
|
-
|
78874
|
+
G(Ee, Ae, -1);
|
78875
78875
|
}
|
78876
|
-
function
|
78876
|
+
function q(Ae) {
|
78877
78877
|
const Ee = v.index.add(-1).get();
|
78878
|
-
|
78878
|
+
G(Ee, Ae, 1);
|
78879
78879
|
}
|
78880
78880
|
function Y() {
|
78881
78881
|
return v.index.add(1).get() !== de();
|
@@ -78921,7 +78921,7 @@ function i5(t, e, n) {
|
|
78921
78921
|
canScrollPrev: re,
|
78922
78922
|
containerNode: me,
|
78923
78923
|
internalEngine: J,
|
78924
|
-
destroy:
|
78924
|
+
destroy: W,
|
78925
78925
|
off: h,
|
78926
78926
|
on: d,
|
78927
78927
|
emit: p,
|
@@ -78930,10 +78930,10 @@ function i5(t, e, n) {
|
|
78930
78930
|
reInit: m,
|
78931
78931
|
rootNode: ke,
|
78932
78932
|
scrollNext: U,
|
78933
|
-
scrollPrev:
|
78933
|
+
scrollPrev: q,
|
78934
78934
|
scrollProgress: oe,
|
78935
78935
|
scrollSnapList: Q,
|
78936
|
-
scrollTo:
|
78936
|
+
scrollTo: G,
|
78937
78937
|
selectedScrollSnap: de,
|
78938
78938
|
slideNodes: Pe,
|
78939
78939
|
slidesInView: pe,
|
@@ -80460,7 +80460,7 @@ o5.exports;
|
|
80460
80460
|
I && (D = L, L = null);
|
80461
80461
|
var O = D.navigator || {}, H = O.userAgent || "";
|
80462
80462
|
L || (L = H);
|
80463
|
-
var
|
80463
|
+
var W = I ? !!O.likeChrome : /\bChrome\b/.test(L) && !/internal|\n/i.test(f.toString()), G = "Object", U = I ? G : "ScriptBridgingProxyObject", q = I ? G : "Environment", Y = I && D.java ? "JavaPackage" : v(D.java), re = I ? G : "RuntimeObject", Q = /\bJava/.test(Y) && D.java, oe = Q && v(D.environment) == q, de = Q ? "a" : "α", se = Q ? "b" : "β", pe = D.document || {}, be = D.operamini || D.opera, ge = l.test(ge = I && be ? be["[[Class]]"] : v(be)) ? ge : be = null, J, ke = L, me = [], Pe = null, je = L == H, Ae = je && be && typeof be.version == "function" && be.version(), Ee, Te = Re([
|
80464
80464
|
{ label: "EdgeHTML", pattern: "Edge" },
|
80465
80465
|
"Trident",
|
80466
80466
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
@@ -80676,7 +80676,7 @@ o5.exports;
|
|
80676
80676
|
me.unshift("embedded");
|
80677
80677
|
}
|
80678
80678
|
else (/\bBlackBerry\b/.test(K) || /\bBB10\b/.test(L)) && (J = (RegExp(K.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(L) || 0)[1] || Ae) ? (J = [J, /BB10/.test(L)], ne = (J[1] ? (K = null, ee = "BlackBerry") : "Device Software") + " " + J[0], Ae = null) : this != g && K != "Wii" && (je && be || /Opera/.test(le) && /\b(?:MSIE|Firefox)\b/i.test(L) || le == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(ne) || le == "IE" && (ne && !/^Win/.test(ne) && Ae > 5.5 || /\bWindows XP\b/.test(ne) && Ae > 8 || Ae == 8 && !/\bTrident\b/.test(L))) && !l.test(J = S.call(g, L.replace(l, "") + ";")) && J.name && (J = "ing as " + J.name + ((J = J.version) ? " " + J : ""), l.test(le) ? (/\bIE\b/.test(J) && ne == "Mac OS" && (ne = null), J = "identify" + J) : (J = "mask" + J, ge ? le = m(ge.replace(/([a-z])([A-Z])/g, "$1 $2")) : le = "Opera", /\bIE\b/.test(J) && (ne = null), je || (Ae = null)), Te = ["Presto"], me.push(J));
|
80679
|
-
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], le == "Safari" && J[1].slice(-1) == "+" ? (le = "WebKit Nightly", Pe = "alpha", Ae = J[1].slice(0, -1)) : (Ae == J[1] || Ae == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(L) || 0)[1])) && (Ae = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(L) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && Te == "WebKit" && (Te = ["Blink"]), !je || !
|
80679
|
+
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], le == "Safari" && J[1].slice(-1) == "+" ? (le = "WebKit Nightly", Pe = "alpha", Ae = J[1].slice(0, -1)) : (Ae == J[1] || Ae == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(L) || 0)[1])) && (Ae = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(L) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && Te == "WebKit" && (Te = ["Blink"]), !je || !W && !J[1] ? (Te && (Te[1] = "like Safari"), J = (J = J[0], J < 400 ? 1 : J < 500 ? 2 : J < 526 ? 3 : J < 533 ? 4 : J < 534 ? "4+" : J < 535 ? 5 : J < 537 ? 6 : J < 538 ? 7 : J < 601 ? 8 : J < 602 ? 9 : J < 604 ? 10 : J < 606 ? 11 : J < 608 ? 12 : "12")) : (Te && (Te[1] = "like Chrome"), J = J[1] || (J = J[0], J < 530 ? 1 : J < 532 ? 2 : J < 532.05 ? 3 : J < 533 ? 4 : J < 534.03 ? 5 : J < 534.07 ? 6 : J < 534.1 ? 7 : J < 534.13 ? 8 : J < 534.16 ? 9 : J < 534.24 ? 10 : J < 534.3 ? 11 : J < 535.01 ? 12 : J < 535.02 ? "13+" : J < 535.07 ? 15 : J < 535.11 ? 16 : J < 535.19 ? 17 : J < 536.05 ? 18 : J < 536.1 ? 19 : J < 537.01 ? 20 : J < 537.11 ? "21+" : J < 537.13 ? 23 : J < 537.18 ? 24 : J < 537.24 ? 25 : J < 537.36 ? 26 : Te != "Blink" ? "27" : "28")), Te && (Te[1] += " " + (J += typeof J == "number" ? ".x" : /[.+]/.test(J) ? "" : "+")), le == "Safari" && (!Ae || parseInt(Ae) > 45) ? Ae = J : le == "Chrome" && /\bHeadlessChrome/i.test(L) && me.unshift("headless")), le == "Opera" && (J = /\bzbov|zvav$/.exec(ne)) ? (le += " ", me.unshift("desktop mode"), J == "zvav" ? (le += "Mini", Ae = null) : le += "Mobile", ne = ne.replace(RegExp(" *" + J + "$"), "")) : le == "Safari" && /\bChrome\b/.exec(Te && Te[1]) ? (me.unshift("desktop mode"), le = "Chrome Mobile", Ae = null, /\bOS X\b/.test(ne) ? (ee = "Apple", ne = "iOS 4.3+") : ne = null) : /\bSRWare Iron\b/.test(le) && !Ae && (Ae = te("Chrome")), Ae && Ae.indexOf(J = /[\d.]+$/.exec(ne)) == 0 && L.indexOf("/" + J + "-") > -1 && (ne = x(ne.replace(J, ""))), ne && ne.indexOf(le) != -1 && !RegExp(le + " OS").test(ne) && (ne = ne.replace(RegExp(" *" + b(le) + " *"), "")), Te && !/\b(?:Avant|Nook)\b/.test(le) && (/Browser|Lunascape|Maxthon/.test(le) || le != "Safari" && /^iOS/.test(ne) && /\bSafari\b/.test(Te[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(le) && Te[1]) && (J = Te[Te.length - 1]) && me.push(J), me.length && (me = ["(" + me.join("; ") + ")"]), ee && K && K.indexOf(ee) < 0 && me.push("on " + ee), K && me.push((/^on /.test(me[me.length - 1]) ? "" : "on ") + K), ne && (J = / ([\d.+]+)$/.exec(ne), Ee = J && ne.charAt(ne.length - J[0].length - 1) == "/", ne = {
|
80680
80680
|
architecture: 32,
|
80681
80681
|
family: J && !Ee ? ne.replace(J[0], "") : ne,
|
80682
80682
|
version: J ? J[1] : null,
|
@@ -87950,7 +87950,7 @@ var DK = { exports: {} };
|
|
87950
87950
|
case "binary":
|
87951
87951
|
return oe(this, j, B);
|
87952
87952
|
case "base64":
|
87953
|
-
return
|
87953
|
+
return q(this, j, B);
|
87954
87954
|
case "ucs2":
|
87955
87955
|
case "ucs-2":
|
87956
87956
|
case "utf16le":
|
@@ -88017,16 +88017,16 @@ var DK = { exports: {} };
|
|
88017
88017
|
function H(M, j, B, te) {
|
88018
88018
|
return le(Ae(j), M, B, te);
|
88019
88019
|
}
|
88020
|
-
function
|
88020
|
+
function W(M, j, B, te) {
|
88021
88021
|
return H(M, j, B, te);
|
88022
88022
|
}
|
88023
|
-
function
|
88023
|
+
function G(M, j, B, te) {
|
88024
88024
|
return le(Te(j), M, B, te);
|
88025
88025
|
}
|
88026
88026
|
function U(M, j, B, te) {
|
88027
88027
|
return le(Ee(j, M.length - B), M, B, te);
|
88028
88028
|
}
|
88029
|
-
function
|
88029
|
+
function q(M, j, B) {
|
88030
88030
|
return j === 0 && B === M.length ? ne.fromByteArray(M) : ne.fromByteArray(M.slice(j, B));
|
88031
88031
|
}
|
88032
88032
|
function Y(M, j, B) {
|
@@ -88277,9 +88277,9 @@ var DK = { exports: {} };
|
|
88277
88277
|
return H(this, M, j, B);
|
88278
88278
|
case "latin1":
|
88279
88279
|
case "binary":
|
88280
|
-
return q(this, M, j, B);
|
88281
|
-
case "base64":
|
88282
88280
|
return W(this, M, j, B);
|
88281
|
+
case "base64":
|
88282
|
+
return G(this, M, j, B);
|
88283
88283
|
case "ucs2":
|
88284
88284
|
case "ucs-2":
|
88285
88285
|
case "utf16le":
|
@@ -88575,13 +88575,13 @@ var DK = { exports: {} };
|
|
88575
88575
|
function u(I) {
|
88576
88576
|
return I._maxListeners === void 0 ? l.defaultMaxListeners : I._maxListeners;
|
88577
88577
|
}
|
88578
|
-
function f(I, O, H,
|
88579
|
-
var
|
88580
|
-
if (c(H), U = I._events, U === void 0 ? (U = I._events = /* @__PURE__ */ Object.create(null), I._eventsCount = 0) : (U.newListener !== void 0 && (I.emit("newListener", O, H.listener ? H.listener : H), U = I._events),
|
88581
|
-
else if (typeof
|
88582
|
-
|
88583
|
-
var Y = new Error("Possible EventEmitter memory leak detected. " +
|
88584
|
-
Y.name = "MaxListenersExceededWarning", Y.emitter = I, Y.type = O, Y.count =
|
88578
|
+
function f(I, O, H, W) {
|
88579
|
+
var G, U, q;
|
88580
|
+
if (c(H), U = I._events, U === void 0 ? (U = I._events = /* @__PURE__ */ Object.create(null), I._eventsCount = 0) : (U.newListener !== void 0 && (I.emit("newListener", O, H.listener ? H.listener : H), U = I._events), q = U[O]), q === void 0) q = U[O] = H, ++I._eventsCount;
|
88581
|
+
else if (typeof q == "function" ? q = U[O] = W ? [H, q] : [q, H] : W ? q.unshift(H) : q.push(H), G = u(I), 0 < G && q.length > G && !q.warned) {
|
88582
|
+
q.warned = !0;
|
88583
|
+
var Y = new Error("Possible EventEmitter memory leak detected. " + q.length + " " + (O + " listeners added. Use emitter.setMaxListeners() to increase limit"));
|
88584
|
+
Y.name = "MaxListenersExceededWarning", Y.emitter = I, Y.type = O, Y.count = q.length, a(Y);
|
88585
88585
|
}
|
88586
88586
|
return I;
|
88587
88587
|
}
|
@@ -88589,14 +88589,14 @@ var DK = { exports: {} };
|
|
88589
88589
|
if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
88590
88590
|
}
|
88591
88591
|
function h(I, O, H) {
|
88592
|
-
var
|
88593
|
-
return
|
88592
|
+
var W = { fired: !1, wrapFn: void 0, target: I, type: O, listener: H }, G = d.bind(W);
|
88593
|
+
return G.listener = H, W.wrapFn = G, G;
|
88594
88594
|
}
|
88595
88595
|
function p(I, O, H) {
|
88596
|
-
var
|
88597
|
-
if (
|
88598
|
-
var
|
88599
|
-
return
|
88596
|
+
var W = I._events;
|
88597
|
+
if (W === void 0) return [];
|
88598
|
+
var G = W[O];
|
88599
|
+
return G === void 0 ? [] : typeof G == "function" ? H ? [G.listener || G] : [G] : H ? k(G) : g(G, G.length);
|
88600
88600
|
}
|
88601
88601
|
function m(I) {
|
88602
88602
|
var O = this._events;
|
@@ -88608,7 +88608,7 @@ var DK = { exports: {} };
|
|
88608
88608
|
return 0;
|
88609
88609
|
}
|
88610
88610
|
function g(I, O) {
|
88611
|
-
for (var H = Array(O),
|
88611
|
+
for (var H = Array(O), W = 0; W < O; ++W) H[W] = I[W];
|
88612
88612
|
return H;
|
88613
88613
|
}
|
88614
88614
|
function v(I, O) {
|
@@ -88622,10 +88622,10 @@ var DK = { exports: {} };
|
|
88622
88622
|
function b(I, O, H) {
|
88623
88623
|
typeof I.on == "function" && w(I, "error", O, H);
|
88624
88624
|
}
|
88625
|
-
function w(I, O, H,
|
88626
|
-
if (typeof I.on == "function")
|
88627
|
-
else if (typeof I.addEventListener == "function") I.addEventListener(O, function
|
88628
|
-
|
88625
|
+
function w(I, O, H, W) {
|
88626
|
+
if (typeof I.on == "function") W.once ? I.once(O, H) : I.on(O, H);
|
88627
|
+
else if (typeof I.addEventListener == "function") I.addEventListener(O, function G(U) {
|
88628
|
+
W.once && I.removeEventListener(O, G), H(U);
|
88629
88629
|
});
|
88630
88630
|
else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof I);
|
88631
88631
|
}
|
@@ -88641,14 +88641,14 @@ var DK = { exports: {} };
|
|
88641
88641
|
return I !== I;
|
88642
88642
|
};
|
88643
88643
|
o.exports = l, o.exports.once = function(I, O) {
|
88644
|
-
return new Promise(function(H,
|
88645
|
-
function
|
88646
|
-
I.removeListener(O, U), q
|
88644
|
+
return new Promise(function(H, W) {
|
88645
|
+
function G(q) {
|
88646
|
+
I.removeListener(O, U), W(q);
|
88647
88647
|
}
|
88648
88648
|
function U() {
|
88649
|
-
typeof I.removeListener == "function" && I.removeListener("error",
|
88649
|
+
typeof I.removeListener == "function" && I.removeListener("error", G), H([].slice.call(arguments));
|
88650
88650
|
}
|
88651
|
-
w(I, O, U, { once: !0 }), O !== "error" && b(I,
|
88651
|
+
w(I, O, U, { once: !0 }), O !== "error" && b(I, G, { once: !0 });
|
88652
88652
|
});
|
88653
88653
|
}, l.EventEmitter = l, l.prototype._events = void 0, l.prototype._eventsCount = 0, l.prototype._maxListeners = void 0;
|
88654
88654
|
var D = 10;
|
@@ -88666,16 +88666,16 @@ var DK = { exports: {} };
|
|
88666
88666
|
return u(this);
|
88667
88667
|
}, l.prototype.emit = function(I) {
|
88668
88668
|
for (var O = [], H = 1; H < arguments.length; H++) O.push(arguments[H]);
|
88669
|
-
var
|
88670
|
-
if (
|
88671
|
-
else if (!
|
88672
|
-
if (
|
88669
|
+
var W = I === "error", G = this._events;
|
88670
|
+
if (G !== void 0) W = W && G.error === void 0;
|
88671
|
+
else if (!W) return !1;
|
88672
|
+
if (W) {
|
88673
88673
|
var U;
|
88674
88674
|
if (0 < O.length && (U = O[0]), U instanceof Error) throw U;
|
88675
|
-
var
|
88676
|
-
throw
|
88675
|
+
var q = new Error("Unhandled error." + (U ? " (" + U.message + ")" : ""));
|
88676
|
+
throw q.context = U, q;
|
88677
88677
|
}
|
88678
|
-
var Y =
|
88678
|
+
var Y = G[I];
|
88679
88679
|
if (Y === void 0) return !1;
|
88680
88680
|
if (typeof Y == "function") E(Y, this, O);
|
88681
88681
|
else for (var re = Y.length, Q = g(Y, re), H = 0; H < re; ++H) E(Q[H], this, O);
|
@@ -88689,30 +88689,30 @@ var DK = { exports: {} };
|
|
88689
88689
|
}, l.prototype.prependOnceListener = function(I, O) {
|
88690
88690
|
return c(O), this.prependListener(I, h(this, I, O)), this;
|
88691
88691
|
}, l.prototype.removeListener = function(I, O) {
|
88692
|
-
var H,
|
88693
|
-
if (c(O),
|
88694
|
-
if (H =
|
88695
|
-
if (H === O || H.listener === O) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete
|
88692
|
+
var H, W, G, U, q;
|
88693
|
+
if (c(O), W = this._events, W === void 0) return this;
|
88694
|
+
if (H = W[I], H === void 0) return this;
|
88695
|
+
if (H === O || H.listener === O) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete W[I], W.removeListener && this.emit("removeListener", I, H.listener || O));
|
88696
88696
|
else if (typeof H != "function") {
|
88697
|
-
for (
|
88698
|
-
|
88697
|
+
for (G = -1, U = H.length - 1; 0 <= U; U--) if (H[U] === O || H[U].listener === O) {
|
88698
|
+
q = H[U].listener, G = U;
|
88699
88699
|
break;
|
88700
88700
|
}
|
88701
|
-
if (0 >
|
88702
|
-
|
88701
|
+
if (0 > G) return this;
|
88702
|
+
G === 0 ? H.shift() : v(H, G), H.length === 1 && (W[I] = H[0]), W.removeListener !== void 0 && this.emit("removeListener", I, q || O);
|
88703
88703
|
}
|
88704
88704
|
return this;
|
88705
88705
|
}, l.prototype.off = l.prototype.removeListener, l.prototype.removeAllListeners = function(I) {
|
88706
|
-
var O, H,
|
88706
|
+
var O, H, W;
|
88707
88707
|
if (H = this._events, H === void 0) return this;
|
88708
88708
|
if (H.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : H[I] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete H[I]), this;
|
88709
88709
|
if (arguments.length === 0) {
|
88710
|
-
var
|
88711
|
-
for (
|
88710
|
+
var G, U = Object.keys(H);
|
88711
|
+
for (W = 0; W < U.length; ++W) G = U[W], G !== "removeListener" && this.removeAllListeners(G);
|
88712
88712
|
return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
|
88713
88713
|
}
|
88714
88714
|
if (O = H[I], typeof O == "function") this.removeListener(I, O);
|
88715
|
-
else if (O !== void 0) for (
|
88715
|
+
else if (O !== void 0) for (W = O.length - 1; 0 <= W; W--) this.removeListener(I, O[W]);
|
88716
88716
|
return this;
|
88717
88717
|
}, l.prototype.listeners = function(I) {
|
88718
88718
|
return p(this, I, !0);
|
@@ -89061,7 +89061,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89061
89061
|
}
|
89062
89062
|
function x(V) {
|
89063
89063
|
var M = V._readableState;
|
89064
|
-
Q("emitReadable_", M.destroyed, M.length, M.ended), !M.destroyed && (M.length || M.ended) && (V.emit("readable"), M.emittedReadable = !1), M.needReadable = !M.flowing && !M.ended && M.length <= M.highWaterMark,
|
89064
|
+
Q("emitReadable_", M.destroyed, M.length, M.ended), !M.destroyed && (M.length || M.ended) && (V.emit("readable"), M.emittedReadable = !1), M.needReadable = !M.flowing && !M.ended && M.length <= M.highWaterMark, W(V);
|
89065
89065
|
}
|
89066
89066
|
function S(V, M) {
|
89067
89067
|
M.readingMore || (M.readingMore = !0, a.nextTick(E, V, M));
|
@@ -89076,7 +89076,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89076
89076
|
function L(V) {
|
89077
89077
|
return function() {
|
89078
89078
|
var M = V._readableState;
|
89079
|
-
Q("pipeOnDrain", M.awaitDrain), M.awaitDrain && M.awaitDrain--, M.awaitDrain === 0 && oe(V, "data") && (M.flowing = !0,
|
89079
|
+
Q("pipeOnDrain", M.awaitDrain), M.awaitDrain && M.awaitDrain--, M.awaitDrain === 0 && oe(V, "data") && (M.flowing = !0, W(V));
|
89080
89080
|
};
|
89081
89081
|
}
|
89082
89082
|
function D(V) {
|
@@ -89090,22 +89090,22 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89090
89090
|
M.resumeScheduled || (M.resumeScheduled = !0, a.nextTick(H, V, M));
|
89091
89091
|
}
|
89092
89092
|
function H(V, M) {
|
89093
|
-
Q("resume", M.reading), M.reading || V.read(0), M.resumeScheduled = !1, V.emit("resume"),
|
89093
|
+
Q("resume", M.reading), M.reading || V.read(0), M.resumeScheduled = !1, V.emit("resume"), W(V), M.flowing && !M.reading && V.read(0);
|
89094
89094
|
}
|
89095
|
-
function
|
89095
|
+
function W(V) {
|
89096
89096
|
var M = V._readableState;
|
89097
89097
|
for (Q("flow", M.flowing); M.flowing && V.read() !== null; ) ;
|
89098
89098
|
}
|
89099
|
-
function
|
89099
|
+
function G(V, M) {
|
89100
89100
|
if (M.length === 0) return null;
|
89101
89101
|
var j;
|
89102
89102
|
return M.objectMode ? j = M.buffer.shift() : !V || V >= M.length ? (j = M.decoder ? M.buffer.join("") : M.buffer.length === 1 ? M.buffer.first() : M.buffer.concat(M.length), M.buffer.clear()) : j = M.buffer.consume(V, M.decoder), j;
|
89103
89103
|
}
|
89104
89104
|
function U(V) {
|
89105
89105
|
var M = V._readableState;
|
89106
|
-
Q("endReadable", M.endEmitted), M.endEmitted || (M.ended = !0, a.nextTick(
|
89106
|
+
Q("endReadable", M.endEmitted), M.endEmitted || (M.ended = !0, a.nextTick(q, M, V));
|
89107
89107
|
}
|
89108
|
-
function
|
89108
|
+
function q(V, M) {
|
89109
89109
|
if (Q("endReadableNT", V.endEmitted, V.length), !V.endEmitted && V.length === 0 && (V.endEmitted = !0, M.readable = !1, M.emit("end"), V.autoDestroy)) {
|
89110
89110
|
var j = M._writableState;
|
89111
89111
|
(!j || j.autoDestroy && j.finished) && M.destroy();
|
@@ -89156,7 +89156,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89156
89156
|
var B = M.needReadable;
|
89157
89157
|
Q("need readable", B), (M.length === 0 || M.length - V < M.highWaterMark) && (B = !0, Q("length less than watermark", B)), M.ended || M.reading ? (B = !1, Q("reading or ended", B)) : B && (Q("do read"), M.reading = !0, M.sync = !0, M.length === 0 && (M.needReadable = !0), this._read(M.highWaterMark), M.sync = !1, !M.reading && (V = k(j, M)));
|
89158
89158
|
var te;
|
89159
|
-
return te = 0 < V ?
|
89159
|
+
return te = 0 < V ? G(V, M) : null, te === null ? (M.needReadable = M.length <= M.highWaterMark, V = 0) : (M.length -= V, M.awaitDrain = 0), M.length === 0 && (!M.ended && (M.needReadable = !0), j !== V && M.ended && U(this)), te !== null && this.emit("data", te), te;
|
89160
89160
|
}, h.prototype._read = function() {
|
89161
89161
|
ne(this, new K("_read()"));
|
89162
89162
|
}, h.prototype.pipe = function(V, M) {
|
@@ -89262,7 +89262,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89262
89262
|
return this._readableState.flowing;
|
89263
89263
|
}, set: function(V) {
|
89264
89264
|
this._readableState && (this._readableState.flowing = V);
|
89265
|
-
} }), h._fromList =
|
89265
|
+
} }), h._fromList = G, Object.defineProperty(h.prototype, "readableLength", { enumerable: !1, get: function() {
|
89266
89266
|
return this._readableState.length;
|
89267
89267
|
} }), typeof Symbol == "function" && (h.from = function(V, M) {
|
89268
89268
|
return ke === void 0 && (ke = s("./internal/streams/from")), ke(h, V, M);
|
@@ -89332,15 +89332,15 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89332
89332
|
function d() {
|
89333
89333
|
}
|
89334
89334
|
function h(K, ee, ne) {
|
89335
|
-
|
89335
|
+
q = q || s("./_stream_duplex"), K = K || {}, typeof ne != "boolean" && (ne = ee instanceof q), this.objectMode = !!K.objectMode, ne && (this.objectMode = this.objectMode || !!K.writableObjectMode), this.highWaterMark = pe(this, K, "writableHighWaterMark", ne), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
|
89336
89336
|
var Re = K.decodeStrings === !1;
|
89337
89337
|
this.decodeStrings = !Re, this.defaultEncoding = K.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(V) {
|
89338
89338
|
S(ee, V);
|
89339
89339
|
}, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = K.emitClose !== !1, this.autoDestroy = !!K.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new c(this);
|
89340
89340
|
}
|
89341
89341
|
function p(K) {
|
89342
|
-
|
89343
|
-
var ee = this instanceof
|
89342
|
+
q = q || s("./_stream_duplex");
|
89343
|
+
var ee = this instanceof q;
|
89344
89344
|
return ee || le.call(p, this) ? (this._writableState = new h(K, this, ee), this.writable = !0, K && (typeof K.write == "function" && (this._write = K.write), typeof K.writev == "function" && (this._writev = K.writev), typeof K.destroy == "function" && (this._destroy = K.destroy), typeof K.final == "function" && (this._final = K.final)), void re.call(this)) : new p(K);
|
89345
89345
|
}
|
89346
89346
|
function m(K, ee) {
|
@@ -89372,7 +89372,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89372
89372
|
ee.writelen = Re, ee.writecb = j, ee.writing = !0, ee.sync = !0, ee.destroyed ? ee.onwrite(new Pe("write")) : ne ? K._writev(V, ee.onwrite) : K._write(V, M, ee.onwrite), ee.sync = !1;
|
89373
89373
|
}
|
89374
89374
|
function w(K, ee, ne, Re, V) {
|
89375
|
-
--ee.pendingcb, ne ? (a.nextTick(V, Re), a.nextTick(
|
89375
|
+
--ee.pendingcb, ne ? (a.nextTick(V, Re), a.nextTick(W, K, ee), K._writableState.errorEmitted = !0, Te(K, Re)) : (V(Re), K._writableState.errorEmitted = !0, Te(K, Re), W(K, ee));
|
89376
89376
|
}
|
89377
89377
|
function x(K) {
|
89378
89378
|
K.writing = !1, K.writecb = null, K.length -= K.writelen, K.writelen = 0;
|
@@ -89387,7 +89387,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89387
89387
|
}
|
89388
89388
|
}
|
89389
89389
|
function E(K, ee, ne, Re) {
|
89390
|
-
ne || L(K, ee), ee.pendingcb--, Re(),
|
89390
|
+
ne || L(K, ee), ee.pendingcb--, Re(), W(K, ee);
|
89391
89391
|
}
|
89392
89392
|
function L(K, ee) {
|
89393
89393
|
ee.length === 0 && ee.needDrain && (ee.needDrain = !1, K.emit("drain"));
|
@@ -89414,13 +89414,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89414
89414
|
}
|
89415
89415
|
function O(K, ee) {
|
89416
89416
|
K._final(function(ne) {
|
89417
|
-
ee.pendingcb--, ne && Te(K, ne), ee.prefinished = !0, K.emit("prefinish"),
|
89417
|
+
ee.pendingcb--, ne && Te(K, ne), ee.prefinished = !0, K.emit("prefinish"), W(K, ee);
|
89418
89418
|
});
|
89419
89419
|
}
|
89420
89420
|
function H(K, ee) {
|
89421
89421
|
ee.prefinished || ee.finalCalled || (typeof K._final != "function" || ee.destroyed ? (ee.prefinished = !0, K.emit("prefinish")) : (ee.pendingcb++, ee.finalCalled = !0, a.nextTick(O, K, ee)));
|
89422
89422
|
}
|
89423
|
-
function
|
89423
|
+
function W(K, ee) {
|
89424
89424
|
var ne = I(ee);
|
89425
89425
|
if (ne && (H(K, ee), ee.pendingcb === 0 && (ee.finished = !0, K.emit("finish"), ee.autoDestroy))) {
|
89426
89426
|
var Re = K._readableState;
|
@@ -89428,8 +89428,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89428
89428
|
}
|
89429
89429
|
return ne;
|
89430
89430
|
}
|
89431
|
-
function
|
89432
|
-
ee.ending = !0,
|
89431
|
+
function G(K, ee, ne) {
|
89432
|
+
ee.ending = !0, W(K, ee), ne && (ee.finished ? a.nextTick(ne) : K.once("finish", ne)), ee.ended = !0, K.writable = !1;
|
89433
89433
|
}
|
89434
89434
|
function U(K, ee, ne) {
|
89435
89435
|
var Re = K.entry;
|
@@ -89440,7 +89440,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89440
89440
|
ee.corkedRequestsFree.next = K;
|
89441
89441
|
}
|
89442
89442
|
o.exports = p;
|
89443
|
-
var
|
89443
|
+
var q;
|
89444
89444
|
p.WritableState = h;
|
89445
89445
|
var Y = { deprecate: s("util-deprecate") }, re = s("./internal/streams/stream"), Q = s("buffer").Buffer, oe = l.Uint8Array || function() {
|
89446
89446
|
}, de = s("./internal/streams/destroy"), se = s("./internal/streams/state"), pe = se.getHighWaterMark, be = s("../errors").codes, ge = be.ERR_INVALID_ARG_TYPE, J = be.ERR_METHOD_NOT_IMPLEMENTED, ke = be.ERR_MULTIPLE_CALLBACK, me = be.ERR_STREAM_CANNOT_PIPE, Pe = be.ERR_STREAM_DESTROYED, je = be.ERR_STREAM_NULL_VALUES, Ae = be.ERR_STREAM_WRITE_AFTER_END, Ee = be.ERR_UNKNOWN_ENCODING, Te = de.errorOrDestroy;
|
@@ -89481,7 +89481,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89481
89481
|
ne(new J("_write()"));
|
89482
89482
|
}, p.prototype._writev = null, p.prototype.end = function(K, ee, ne) {
|
89483
89483
|
var Re = this._writableState;
|
89484
|
-
return typeof K == "function" ? (ne = K, K = null, ee = null) : typeof ee == "function" && (ne = ee, ee = null), K != null && this.write(K, ee), Re.corked && (Re.corked = 1, this.uncork()), Re.ending ||
|
89484
|
+
return typeof K == "function" ? (ne = K, K = null, ee = null) : typeof ee == "function" && (ne = ee, ee = null), K != null && this.write(K, ee), Re.corked && (Re.corked = 1, this.uncork()), Re.ending || G(this, Re, ne), this;
|
89485
89485
|
}, Object.defineProperty(p.prototype, "writableLength", { enumerable: !1, get: function() {
|
89486
89486
|
return this._writableState.length;
|
89487
89487
|
} }), Object.defineProperty(p.prototype, "destroyed", { enumerable: !1, get: function() {
|
@@ -89526,9 +89526,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89526
89526
|
var L = this, D = this[v];
|
89527
89527
|
if (D !== null) return Promise.reject(D);
|
89528
89528
|
if (this[k]) return Promise.resolve(c(void 0, !0));
|
89529
|
-
if (this[x].destroyed) return new Promise(function(
|
89529
|
+
if (this[x].destroyed) return new Promise(function(W, G) {
|
89530
89530
|
a.nextTick(function() {
|
89531
|
-
L[v] ?
|
89531
|
+
L[v] ? G(L[v]) : W(c(void 0, !0));
|
89532
89532
|
});
|
89533
89533
|
});
|
89534
89534
|
var I, O = this[b];
|
@@ -89551,16 +89551,16 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
89551
89551
|
}), h), S);
|
89552
89552
|
o.exports = function(L) {
|
89553
89553
|
var D, I = Object.create(E, (D = {}, l(D, x, { value: L, writable: !0 }), l(D, m, { value: null, writable: !0 }), l(D, g, { value: null, writable: !0 }), l(D, v, { value: null, writable: !0 }), l(D, k, { value: L._readableState.endEmitted, writable: !0 }), l(D, w, { value: function(O, H) {
|
89554
|
-
var
|
89555
|
-
|
89554
|
+
var W = I[x].read();
|
89555
|
+
W ? (I[b] = null, I[m] = null, I[g] = null, O(c(W, !1))) : (I[m] = O, I[g] = H);
|
89556
89556
|
}, writable: !0 }), D));
|
89557
89557
|
return I[b] = null, p(L, function(O) {
|
89558
89558
|
if (O && O.code !== "ERR_STREAM_PREMATURE_CLOSE") {
|
89559
89559
|
var H = I[g];
|
89560
89560
|
return H !== null && (I[b] = null, I[m] = null, I[g] = null, H(O)), void (I[v] = O);
|
89561
89561
|
}
|
89562
|
-
var
|
89563
|
-
|
89562
|
+
var W = I[m];
|
89563
|
+
W !== null && (I[b] = null, I[m] = null, I[g] = null, W(c(void 0, !0))), I[k] = !0;
|
89564
89564
|
}), L.on("readable", f.bind(null, I)), I;
|
89565
89565
|
};
|
89566
89566
|
}).call(this);
|
@@ -90282,8 +90282,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
90282
90282
|
D = !0;
|
90283
90283
|
let H = E[O.localCandidateId];
|
90284
90284
|
H && (H.ip || H.address) ? (this.localAddress = H.ip || H.address, this.localPort = +H.port) : H && H.ipAddress ? (this.localAddress = H.ipAddress, this.localPort = +H.portNumber) : typeof O.googLocalAddress == "string" && (H = O.googLocalAddress.split(":"), this.localAddress = H[0], this.localPort = +H[1]), this.localAddress && (this.localFamily = this.localAddress.includes(":") ? "IPv6" : "IPv4");
|
90285
|
-
let
|
90286
|
-
|
90285
|
+
let W = S[O.remoteCandidateId];
|
90286
|
+
W && (W.ip || W.address) ? (this.remoteAddress = W.ip || W.address, this.remotePort = +W.port) : W && W.ipAddress ? (this.remoteAddress = W.ipAddress, this.remotePort = +W.portNumber) : typeof O.googRemoteAddress == "string" && (W = O.googRemoteAddress.split(":"), this.remoteAddress = W[0], this.remotePort = +W[1]), this.remoteAddress && (this.remoteFamily = this.remoteAddress.includes(":") ? "IPv6" : "IPv4"), this._debug("connect local: %s:%s remote: %s:%s", this.localAddress, this.localPort, this.remoteAddress, this.remotePort);
|
90287
90287
|
};
|
90288
90288
|
if (x.forEach((O) => {
|
90289
90289
|
O.type === "transport" && O.selectedCandidatePairId && I(L[O.selectedCandidatePairId]), (O.type === "googCandidatePair" && O.googActiveConnection === "true" || (O.type === "candidatepair" || O.type === "candidate-pair") && O.selected) && I(O);
|
@@ -93945,13 +93945,13 @@ function SXe(t) {
|
|
93945
93945
|
[P5, O5]
|
93946
93946
|
// <>
|
93947
93947
|
];
|
93948
|
-
for (let
|
93949
|
-
const [
|
93950
|
-
Qe(E,
|
93948
|
+
for (let W = 0; W < H.length; W++) {
|
93949
|
+
const [G, U] = H[W], q = Qe(S, G);
|
93950
|
+
Qe(E, G, q), Qe(q, U, S);
|
93951
93951
|
const Y = Fs(Hg);
|
93952
|
-
Wt(
|
93952
|
+
Wt(q, n, Y);
|
93953
93953
|
const re = Fs();
|
93954
|
-
Wt(
|
93954
|
+
Wt(q, r), Wt(Y, n, Y), Wt(Y, r, re), Wt(re, n, Y), Wt(re, r, re), Qe(Y, U, S), Qe(re, U, S);
|
93955
93955
|
}
|
93956
93956
|
return Qe(s, v4, b), Qe(s, CE, AXe), {
|
93957
93957
|
start: s,
|
@@ -94732,9 +94732,9 @@ const cX = ({
|
|
94732
94732
|
setTimeout(() => {
|
94733
94733
|
O(se, Math.abs(de)), Uf = oe;
|
94734
94734
|
});
|
94735
|
-
}, [
|
94735
|
+
}, [W, G] = Ge(), [U, q] = Ge();
|
94736
94736
|
Ue(() => {
|
94737
|
-
s(t.attrs["media-type"]), w(),
|
94737
|
+
s(t.attrs["media-type"]), w(), G(t.attrs.dataFloat), q(t.attrs.dataAlign);
|
94738
94738
|
}, [t.attrs]);
|
94739
94739
|
const Y = (oe) => {
|
94740
94740
|
oe.stopPropagation(), b.current = {
|
@@ -94762,7 +94762,7 @@ const cX = ({
|
|
94762
94762
|
as: "article",
|
94763
94763
|
className: Pt(
|
94764
94764
|
"media-node-view not-prose transition-all ease-in-out w-full",
|
94765
|
-
|
94765
|
+
W && `f-${t.attrs.dataFloat}`,
|
94766
94766
|
U && `justify-${t.attrs.dataAlign}`
|
94767
94767
|
),
|
94768
94768
|
children: /* @__PURE__ */ P.jsxs(
|
@@ -95751,17 +95751,17 @@ const Het = (t) => ({
|
|
95751
95751
|
}, h = RE(i), p = IE(h), m = await o.getDimensions(c), g = h === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
|
95752
95752
|
let E = S ? S[b] : 0;
|
95753
95753
|
(!E || !await (o.isElement == null ? void 0 : o.isElement(S))) && (E = a.floating[b] || s.floating[p]);
|
95754
|
-
const L = w / 2 - x / 2, D = E / 2 - m[p] / 2 - 1, I = Uu(f[v], D), O = Uu(f[k], D), H = I,
|
95754
|
+
const L = w / 2 - x / 2, D = E / 2 - m[p] / 2 - 1, I = Uu(f[v], D), O = Uu(f[k], D), H = I, W = E - m[p] - O, G = E / 2 - m[p] / 2 + L, U = TM(H, G, W), q = !l.arrow && Z2(i) != null && G !== U && s.reference[p] / 2 - (G < H ? I : O) - m[p] / 2 < 0, Y = q ? G < H ? G - H : G - W : 0;
|
95755
95755
|
return {
|
95756
95756
|
[h]: d[h] + Y,
|
95757
95757
|
data: {
|
95758
95758
|
[h]: U,
|
95759
|
-
centerOffset:
|
95760
|
-
...
|
95759
|
+
centerOffset: G - U - Y,
|
95760
|
+
...q && {
|
95761
95761
|
alignmentOffset: Y
|
95762
95762
|
}
|
95763
95763
|
},
|
95764
|
-
reset:
|
95764
|
+
reset: q
|
95765
95765
|
};
|
95766
95766
|
}
|
95767
95767
|
}), Vet = function(t) {
|
@@ -95793,31 +95793,31 @@ const Het = (t) => ({
|
|
95793
95793
|
const E = [a, ...x], L = await w4(e, g), D = [];
|
95794
95794
|
let I = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
95795
95795
|
if (u && D.push(L[v]), f) {
|
95796
|
-
const
|
95797
|
-
D.push(L[
|
95796
|
+
const G = Pet(i, o, w);
|
95797
|
+
D.push(L[G[0]], L[G[1]]);
|
95798
95798
|
}
|
95799
95799
|
if (I = [...I, {
|
95800
95800
|
placement: i,
|
95801
95801
|
overflows: D
|
95802
|
-
}], !D.every((
|
95802
|
+
}], !D.every((G) => G <= 0)) {
|
95803
95803
|
var O, H;
|
95804
|
-
const
|
95804
|
+
const G = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, U = E[G];
|
95805
95805
|
if (U)
|
95806
95806
|
return {
|
95807
95807
|
data: {
|
95808
|
-
index:
|
95808
|
+
index: G,
|
95809
95809
|
overflows: I
|
95810
95810
|
},
|
95811
95811
|
reset: {
|
95812
95812
|
placement: U
|
95813
95813
|
}
|
95814
95814
|
};
|
95815
|
-
let
|
95816
|
-
if (!
|
95815
|
+
let q = (H = I.filter((Y) => Y.overflows[0] <= 0).sort((Y, re) => Y.overflows[1] - re.overflows[1])[0]) == null ? void 0 : H.placement;
|
95816
|
+
if (!q)
|
95817
95817
|
switch (h) {
|
95818
95818
|
case "bestFit": {
|
95819
|
-
var
|
95820
|
-
const Y = (
|
95819
|
+
var W;
|
95820
|
+
const Y = (W = I.filter((re) => {
|
95821
95821
|
if (S) {
|
95822
95822
|
const Q = Gu(re.placement);
|
95823
95823
|
return Q === k || // Create a bias to the `y` side axis due to horizontal
|
@@ -95825,18 +95825,18 @@ const Het = (t) => ({
|
|
95825
95825
|
Q === "y";
|
95826
95826
|
}
|
95827
95827
|
return !0;
|
95828
|
-
}).map((re) => [re.placement, re.overflows.filter((Q) => Q > 0).reduce((Q, oe) => Q + oe, 0)]).sort((re, Q) => re[1] - Q[1])[0]) == null ? void 0 :
|
95829
|
-
Y && (
|
95828
|
+
}).map((re) => [re.placement, re.overflows.filter((Q) => Q > 0).reduce((Q, oe) => Q + oe, 0)]).sort((re, Q) => re[1] - Q[1])[0]) == null ? void 0 : W[0];
|
95829
|
+
Y && (q = Y);
|
95830
95830
|
break;
|
95831
95831
|
}
|
95832
95832
|
case "initialPlacement":
|
95833
|
-
|
95833
|
+
q = a;
|
95834
95834
|
break;
|
95835
95835
|
}
|
95836
|
-
if (i !==
|
95836
|
+
if (i !== q)
|
95837
95837
|
return {
|
95838
95838
|
reset: {
|
95839
|
-
placement:
|
95839
|
+
placement: q
|
95840
95840
|
}
|
95841
95841
|
};
|
95842
95842
|
}
|
@@ -96068,8 +96068,8 @@ const Get = function(t) {
|
|
96068
96068
|
const k = m - u.top - u.bottom, b = p - u.left - u.right, w = Uu(m - u[g], k), x = Uu(p - u[v], b), S = !e.middlewareData.shift;
|
96069
96069
|
let E = w, L = x;
|
96070
96070
|
if ((n = e.middlewareData.shift) != null && n.enabled.x && (L = b), (r = e.middlewareData.shift) != null && r.enabled.y && (E = k), S && !d) {
|
96071
|
-
const I = ks(u.left, 0), O = ks(u.right, 0), H = ks(u.top, 0),
|
96072
|
-
h ? L = p - 2 * (I !== 0 || O !== 0 ? I + O : ks(u.left, u.right)) : E = m - 2 * (H !== 0 ||
|
96071
|
+
const I = ks(u.left, 0), O = ks(u.right, 0), H = ks(u.top, 0), W = ks(u.bottom, 0);
|
96072
|
+
h ? L = p - 2 * (I !== 0 || O !== 0 ? I + O : ks(u.left, u.right)) : E = m - 2 * (H !== 0 || W !== 0 ? H + W : ks(u.top, u.bottom));
|
96073
96073
|
}
|
96074
96074
|
await l({
|
96075
96075
|
...e,
|
@@ -96634,7 +96634,7 @@ function wtt(t) {
|
|
96634
96634
|
re !== S.current && (S.current = re, m(re));
|
96635
96635
|
}, []), b = C.useCallback((re) => {
|
96636
96636
|
re !== E.current && (E.current = re, v(re));
|
96637
|
-
}, []), w = s || p, x = o || g, S = C.useRef(null), E = C.useRef(null), L = C.useRef(u), D = l != null, I = $w(l), O = $w(i), H = $w(c),
|
96637
|
+
}, []), w = s || p, x = o || g, S = C.useRef(null), E = C.useRef(null), L = C.useRef(u), D = l != null, I = $w(l), O = $w(i), H = $w(c), W = C.useCallback(() => {
|
96638
96638
|
if (!S.current || !E.current)
|
96639
96639
|
return;
|
96640
96640
|
const re = {
|
@@ -96651,7 +96651,7 @@ function wtt(t) {
|
|
96651
96651
|
// setting it to `true` when `open === false` (must be specified).
|
96652
96652
|
isPositioned: H.current !== !1
|
96653
96653
|
};
|
96654
|
-
|
96654
|
+
G.current && !tv(L.current, oe) && (L.current = oe, n0.flushSync(() => {
|
96655
96655
|
f(oe);
|
96656
96656
|
}));
|
96657
96657
|
});
|
@@ -96662,22 +96662,22 @@ function wtt(t) {
|
|
96662
96662
|
isPositioned: !1
|
96663
96663
|
})));
|
96664
96664
|
}, [c]);
|
96665
|
-
const
|
96666
|
-
e6(() => (
|
96667
|
-
|
96665
|
+
const G = C.useRef(!1);
|
96666
|
+
e6(() => (G.current = !0, () => {
|
96667
|
+
G.current = !1;
|
96668
96668
|
}), []), e6(() => {
|
96669
96669
|
if (w && (S.current = w), x && (E.current = x), w && x) {
|
96670
96670
|
if (I.current)
|
96671
|
-
return I.current(w, x,
|
96672
|
-
|
96671
|
+
return I.current(w, x, W);
|
96672
|
+
W();
|
96673
96673
|
}
|
96674
|
-
}, [w, x,
|
96674
|
+
}, [w, x, W, I, D]);
|
96675
96675
|
const U = C.useMemo(() => ({
|
96676
96676
|
reference: S,
|
96677
96677
|
floating: E,
|
96678
96678
|
setReference: k,
|
96679
96679
|
setFloating: b
|
96680
|
-
}), [k, b]),
|
96680
|
+
}), [k, b]), q = C.useMemo(() => ({
|
96681
96681
|
reference: w,
|
96682
96682
|
floating: x
|
96683
96683
|
}), [w, x]), Y = C.useMemo(() => {
|
@@ -96686,13 +96686,13 @@ function wtt(t) {
|
|
96686
96686
|
left: 0,
|
96687
96687
|
top: 0
|
96688
96688
|
};
|
96689
|
-
if (!
|
96689
|
+
if (!q.floating)
|
96690
96690
|
return re;
|
96691
|
-
const Q = fO(
|
96691
|
+
const Q = fO(q.floating, u.x), oe = fO(q.floating, u.y);
|
96692
96692
|
return a ? {
|
96693
96693
|
...re,
|
96694
96694
|
transform: "translate(" + Q + "px, " + oe + "px)",
|
96695
|
-
...MX(
|
96695
|
+
...MX(q.floating) >= 1.5 && {
|
96696
96696
|
willChange: "transform"
|
96697
96697
|
}
|
96698
96698
|
} : {
|
@@ -96700,14 +96700,14 @@ function wtt(t) {
|
|
96700
96700
|
left: Q,
|
96701
96701
|
top: oe
|
96702
96702
|
};
|
96703
|
-
}, [n, a,
|
96703
|
+
}, [n, a, q.floating, u.x, u.y]);
|
96704
96704
|
return C.useMemo(() => ({
|
96705
96705
|
...u,
|
96706
|
-
update:
|
96706
|
+
update: W,
|
96707
96707
|
refs: U,
|
96708
|
-
elements:
|
96708
|
+
elements: q,
|
96709
96709
|
floatingStyles: Y
|
96710
|
-
}), [u,
|
96710
|
+
}), [u, W, U, q, Y]);
|
96711
96711
|
}
|
96712
96712
|
const ktt = (t) => {
|
96713
96713
|
function e(n) {
|
@@ -96870,12 +96870,12 @@ var _E = "PopperContent", [Ptt, Ott] = AX(_E), DX = C.forwardRef(
|
|
96870
96870
|
updatePositionStrategy: h = "optimized",
|
96871
96871
|
onPlaced: p,
|
96872
96872
|
...m
|
96873
|
-
} = t, g = LX(_E, n), [v, k] = C.useState(null), b = g0(e, (Te) => k(Te)), [w, x] = C.useState(null), S = Itt(w), E = (S == null ? void 0 : S.width) ?? 0, L = (S == null ? void 0 : S.height) ?? 0, D = r + (s !== "center" ? "-" + s : ""), I = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, O = Array.isArray(c) ? c : [c], H = O.length > 0,
|
96873
|
+
} = t, g = LX(_E, n), [v, k] = C.useState(null), b = g0(e, (Te) => k(Te)), [w, x] = C.useState(null), S = Itt(w), E = (S == null ? void 0 : S.width) ?? 0, L = (S == null ? void 0 : S.height) ?? 0, D = r + (s !== "center" ? "-" + s : ""), I = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, O = Array.isArray(c) ? c : [c], H = O.length > 0, W = {
|
96874
96874
|
padding: I,
|
96875
96875
|
boundary: O.filter(Btt),
|
96876
96876
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
96877
96877
|
altBoundary: H
|
96878
|
-
}, { refs:
|
96878
|
+
}, { refs: G, floatingStyles: U, placement: q, isPositioned: Y, middlewareData: re } = wtt({
|
96879
96879
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
96880
96880
|
strategy: "fixed",
|
96881
96881
|
placement: D,
|
@@ -96891,11 +96891,11 @@ var _E = "PopperContent", [Ptt, Ott] = AX(_E), DX = C.forwardRef(
|
|
96891
96891
|
mainAxis: !0,
|
96892
96892
|
crossAxis: !1,
|
96893
96893
|
limiter: f === "partial" ? Ctt() : void 0,
|
96894
|
-
...
|
96894
|
+
...W
|
96895
96895
|
}),
|
96896
|
-
l && Att({ ...
|
96896
|
+
l && Att({ ...W }),
|
96897
96897
|
Stt({
|
96898
|
-
...
|
96898
|
+
...W,
|
96899
96899
|
apply: ({ elements: Te, rects: le, availableWidth: K, availableHeight: ee }) => {
|
96900
96900
|
const { width: ne, height: Re } = le.reference, V = Te.floating.style;
|
96901
96901
|
V.setProperty("--radix-popper-available-width", `${K}px`), V.setProperty("--radix-popper-available-height", `${ee}px`), V.setProperty("--radix-popper-anchor-width", `${ne}px`), V.setProperty("--radix-popper-anchor-height", `${Re}px`);
|
@@ -96903,9 +96903,9 @@ var _E = "PopperContent", [Ptt, Ott] = AX(_E), DX = C.forwardRef(
|
|
96903
96903
|
}),
|
96904
96904
|
w && Ett({ element: w, padding: a }),
|
96905
96905
|
_tt({ arrowWidth: E, arrowHeight: L }),
|
96906
|
-
d && Ltt({ strategy: "referenceHidden", ...
|
96906
|
+
d && Ltt({ strategy: "referenceHidden", ...W })
|
96907
96907
|
]
|
96908
|
-
}), [Q, oe] = RX(
|
96908
|
+
}), [Q, oe] = RX(q), de = Vu(p);
|
96909
96909
|
s2(() => {
|
96910
96910
|
Y && (de == null || de());
|
96911
96911
|
}, [Y, de]);
|
@@ -96915,7 +96915,7 @@ var _E = "PopperContent", [Ptt, Ott] = AX(_E), DX = C.forwardRef(
|
|
96915
96915
|
}, [v]), /* @__PURE__ */ P.jsx(
|
96916
96916
|
"div",
|
96917
96917
|
{
|
96918
|
-
ref:
|
96918
|
+
ref: G.setFloating,
|
96919
96919
|
"data-radix-popper-content-wrapper": "",
|
96920
96920
|
style: {
|
96921
96921
|
...U,
|
@@ -99461,8 +99461,8 @@ const Jg = ({
|
|
99461
99461
|
}, [e, n.state]), O = (Q) => {
|
99462
99462
|
const oe = e() + t.nodeSize;
|
99463
99463
|
n.commands.insertContentAt(oe - 4, Q);
|
99464
|
-
}, H = Znt(O),
|
99465
|
-
U(!
|
99464
|
+
}, H = Znt(O), W = Ynt(O), [G, U] = Ge(!1), [q, Y] = Ge(2), re = () => {
|
99465
|
+
U(!G), Y(G ? 2 : W.length);
|
99466
99466
|
};
|
99467
99467
|
return /* @__PURE__ */ P.jsxs(
|
99468
99468
|
E2,
|
@@ -99565,10 +99565,10 @@ const Jg = ({
|
|
99565
99565
|
}),
|
99566
99566
|
children: I && !l && Jnt(
|
99567
99567
|
H,
|
99568
|
+
W,
|
99568
99569
|
q,
|
99569
|
-
G,
|
99570
99570
|
re,
|
99571
|
-
|
99571
|
+
G
|
99572
99572
|
)
|
99573
99573
|
}
|
99574
99574
|
)
|
@@ -101410,20 +101410,20 @@ function iit(t) {
|
|
101410
101410
|
}, h, {
|
101411
101411
|
content: D.container
|
101412
101412
|
});
|
101413
|
-
p && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(
|
101414
|
-
I[
|
101413
|
+
p && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(G) {
|
101414
|
+
I[G] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + G + "` prop in", "controlled mode (`visible` prop)"].join(" "));
|
101415
101415
|
}), I.trigger = "manual", I.hideOnClick = !1), m && (u = !0);
|
101416
101416
|
var O = I, H = I.plugins || [];
|
101417
101417
|
a && (O = Object.assign({}, I, {
|
101418
101418
|
plugins: m && o.data != null ? [].concat(H, [{
|
101419
101419
|
fn: function() {
|
101420
101420
|
return {
|
101421
|
-
onTrigger: function(
|
101421
|
+
onTrigger: function(q, Y) {
|
101422
101422
|
var re = o.data.children.find(function(Q) {
|
101423
101423
|
var oe = Q.instance;
|
101424
101424
|
return oe.reference === Y.currentTarget;
|
101425
101425
|
});
|
101426
|
-
|
101426
|
+
q.state.$$activeSingletonInstance = re.instance, L(re.content);
|
101427
101427
|
}
|
101428
101428
|
};
|
101429
101429
|
}
|
@@ -101434,11 +101434,11 @@ function iit(t) {
|
|
101434
101434
|
};
|
101435
101435
|
}
|
101436
101436
|
}));
|
101437
|
-
var
|
101437
|
+
var W = [l].concat(r ? [r.type] : []);
|
101438
101438
|
return r9(function() {
|
101439
|
-
var
|
101440
|
-
l && l.hasOwnProperty("current") && (
|
101441
|
-
var U = t(
|
101439
|
+
var G = l;
|
101440
|
+
l && l.hasOwnProperty("current") && (G = l.current);
|
101441
|
+
var U = t(G || D.ref || DO(), Object.assign({}, O, {
|
101442
101442
|
plugins: [rit].concat(I.plugins || [])
|
101443
101443
|
}));
|
101444
101444
|
return D.instance = U, u && U.disable(), s && U.show(), m && o.hook({
|
@@ -101449,27 +101449,27 @@ function iit(t) {
|
|
101449
101449
|
}), k(!0), function() {
|
101450
101450
|
U.destroy(), o == null || o.cleanup(U);
|
101451
101451
|
};
|
101452
|
-
},
|
101453
|
-
var
|
101452
|
+
}, W), r9(function() {
|
101453
|
+
var G;
|
101454
101454
|
if (D.renders === 1) {
|
101455
101455
|
D.renders++;
|
101456
101456
|
return;
|
101457
101457
|
}
|
101458
101458
|
var U = D.instance;
|
101459
|
-
U.setProps(tit(U.props, O)), (
|
101459
|
+
U.setProps(tit(U.props, O)), (G = U.popperInstance) == null || G.forceUpdate(), u ? U.disable() : U.enable(), p && (s ? U.show() : U.hide()), m && o.hook({
|
101460
101460
|
instance: U,
|
101461
101461
|
content: i,
|
101462
101462
|
props: O,
|
101463
101463
|
setSingletonContent: L
|
101464
101464
|
});
|
101465
101465
|
}), r9(function() {
|
101466
|
-
var
|
101466
|
+
var G;
|
101467
101467
|
if (a) {
|
101468
101468
|
var U = D.instance;
|
101469
101469
|
U.setProps({
|
101470
101470
|
popperOptions: Object.assign({}, U.props.popperOptions, {
|
101471
|
-
modifiers: [].concat((((
|
101472
|
-
var Y =
|
101471
|
+
modifiers: [].concat((((G = U.props.popperOptions) == null ? void 0 : G.modifiers) || []).filter(function(q) {
|
101472
|
+
var Y = q.name;
|
101473
101473
|
return Y !== "$$tippyReact";
|
101474
101474
|
}), [{
|
101475
101475
|
name: "$$tippyReact",
|
@@ -101488,7 +101488,7 @@ function iit(t) {
|
|
101488
101488
|
})
|
101489
101489
|
});
|
101490
101490
|
}
|
101491
|
-
}, [w.placement, w.referenceHidden, w.escaped].concat(
|
101491
|
+
}, [w.placement, w.referenceHidden, w.escaped].concat(W)), /* @__PURE__ */ Me.createElement(Me.Fragment, null, r ? /* @__PURE__ */ A2(r, {
|
101492
101492
|
ref: function(U) {
|
101493
101493
|
D.ref = U, _M(r.ref, U);
|
101494
101494
|
}
|
@@ -103748,16 +103748,16 @@ function Rst(t, e, n, r) {
|
|
103748
103748
|
a = t.push("list_item_open", "li", 1), a.markup = String.fromCharCode(p);
|
103749
103749
|
const D = [l, 0];
|
103750
103750
|
a.map = D, f && (a.info = t.src.slice(o, h - 1));
|
103751
|
-
const I = t.tight, O = t.tShift[l], H = t.sCount[l],
|
103752
|
-
if (t.listIndent = t.blkIndent, t.blkIndent = L, t.tight = !0, t.tShift[l] = S - t.bMarks[l], t.sCount[l] = x, S >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent =
|
103751
|
+
const I = t.tight, O = t.tShift[l], H = t.sCount[l], W = t.listIndent;
|
103752
|
+
if (t.listIndent = t.blkIndent, t.blkIndent = L, t.tight = !0, t.tShift[l] = S - t.bMarks[l], t.sCount[l] = x, S >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = W, t.tShift[l] = O, t.sCount[l] = H, t.tight = I, a = t.push("list_item_close", "li", -1), a.markup = String.fromCharCode(p), l = t.line, D[1] = l, l >= n || t.sCount[l] < t.blkIndent || t.sCount[l] - t.blkIndent >= 4)
|
103753
103753
|
break;
|
103754
|
-
let
|
103755
|
-
for (let U = 0,
|
103754
|
+
let G = !1;
|
103755
|
+
for (let U = 0, q = k.length; U < q; U++)
|
103756
103756
|
if (k[U](t, l, n, !0)) {
|
103757
|
-
|
103757
|
+
G = !0;
|
103758
103758
|
break;
|
103759
103759
|
}
|
103760
|
-
if (
|
103760
|
+
if (G)
|
103761
103761
|
break;
|
103762
103762
|
if (f) {
|
103763
103763
|
if (h = WO(t, l), h < 0)
|
@@ -107021,10 +107021,10 @@ function Kee() {
|
|
107021
107021
|
e.isSupported = typeof Yee == "function" && typeof b == "function" && S && S.createHTMLDocument !== void 0;
|
107022
107022
|
const {
|
107023
107023
|
MUSTACHE_EXPR: H,
|
107024
|
-
ERB_EXPR:
|
107025
|
-
TMPLIT_EXPR:
|
107024
|
+
ERB_EXPR: W,
|
107025
|
+
TMPLIT_EXPR: G,
|
107026
107026
|
DATA_ATTR: U,
|
107027
|
-
ARIA_ATTR:
|
107027
|
+
ARIA_ATTR: q,
|
107028
107028
|
IS_SCRIPT_OR_DATA: Y,
|
107029
107029
|
ATTR_WHITESPACE: re,
|
107030
107030
|
CUSTOM_ELEMENT: Q
|
@@ -107202,7 +107202,7 @@ function Kee() {
|
|
107202
107202
|
}
|
107203
107203
|
return ri(ie), !0;
|
107204
107204
|
}
|
107205
|
-
return ie instanceof l && !oa(ie) || (Oe === "noscript" || Oe === "noembed" || Oe === "noframes") && xi(/<\/no(script|embed|frames)/i, ie.innerHTML) ? (ri(ie), !0) : (Ee && ie.nodeType === Mp.text && (Se = ie.textContent, n3([H,
|
107205
|
+
return ie instanceof l && !oa(ie) || (Oe === "noscript" || Oe === "noembed" || Oe === "noframes") && xi(/<\/no(script|embed|frames)/i, ie.innerHTML) ? (ri(ie), !0) : (Ee && ie.nodeType === Mp.text && (Se = ie.textContent, n3([H, W, G], (Mt) => {
|
107206
107206
|
Se = wp(Se, Mt, " ");
|
107207
107207
|
}), ie.textContent !== Se && (bp(e.removed, {
|
107208
107208
|
element: ie.cloneNode()
|
@@ -107211,7 +107211,7 @@ function Kee() {
|
|
107211
107211
|
if (M && (Se === "id" || Se === "name") && (Oe in n || Oe in gn))
|
107212
107212
|
return !1;
|
107213
107213
|
if (!(Pe && !ke[Se] && xi(U, Se))) {
|
107214
|
-
if (!(me && xi(
|
107214
|
+
if (!(me && xi(q, Se))) {
|
107215
107215
|
if (!pe[Se] || ke[Se]) {
|
107216
107216
|
if (
|
107217
107217
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
@@ -107263,7 +107263,7 @@ function Kee() {
|
|
107263
107263
|
Ac(an, ie);
|
107264
107264
|
continue;
|
107265
107265
|
}
|
107266
|
-
Ee && n3([H,
|
107266
|
+
Ee && n3([H, W, G], (jN) => {
|
107267
107267
|
xr = wp(xr, jN, " ");
|
107268
107268
|
});
|
107269
107269
|
const DN = ct(ie.nodeName);
|
@@ -107338,7 +107338,7 @@ function Kee() {
|
|
107338
107338
|
}
|
107339
107339
|
let zt = le ? Se.outerHTML : Se.innerHTML;
|
107340
107340
|
return le && de["!doctype"] && Se.ownerDocument && Se.ownerDocument.doctype && Se.ownerDocument.doctype.name && xi($ee, Se.ownerDocument.doctype.name) && (zt = "<!DOCTYPE " + Se.ownerDocument.doctype.name + `>
|
107341
|
-
` + zt), Ee && n3([H,
|
107341
|
+
` + zt), Ee && n3([H, W, G], (Tr) => {
|
107342
107342
|
zt = wp(zt, Tr, " ");
|
107343
107343
|
}), w && V ? w.createHTML(zt) : zt;
|
107344
107344
|
}, e.setConfig = function() {
|
@@ -113676,19 +113676,19 @@ var kte = function(e) {
|
|
113676
113676
|
throw new Error(`Correct katexImagesData or update code here to support
|
113677
113677
|
` + E + " children.");
|
113678
113678
|
for (var O = 0; O < E; O++) {
|
113679
|
-
var H = new Ju(b[O]),
|
113679
|
+
var H = new Ju(b[O]), W = new hc([H], {
|
113680
113680
|
width: "400em",
|
113681
113681
|
height: Ze(S),
|
113682
113682
|
viewBox: "0 0 " + a + " " + x,
|
113683
113683
|
preserveAspectRatio: D[O] + " slice"
|
113684
|
-
}),
|
113684
|
+
}), G = ve.makeSvgSpan([L[O]], [W], n);
|
113685
113685
|
if (E === 1)
|
113686
113686
|
return {
|
113687
|
-
span:
|
113687
|
+
span: G,
|
113688
113688
|
minWidth: w,
|
113689
113689
|
height: S
|
113690
113690
|
};
|
113691
|
-
|
113691
|
+
G.style.height = Ze(S), v.push(G);
|
113692
113692
|
}
|
113693
113693
|
return {
|
113694
113694
|
span: ve.makeSpan(["stretchy"], v, n),
|
@@ -114616,12 +114616,12 @@ var Pp = function(e, n, r) {
|
|
114616
114616
|
r && (I *= i.sizeMultiplier);
|
114617
114617
|
var O = D / 2 - I, H = [];
|
114618
114618
|
if (f.length > 0) {
|
114619
|
-
var
|
114619
|
+
var W = D - m - b, G = Math.round(D * 1e3), U = Cut(f, Math.round(W * 1e3)), q = new Ju(f, U), Y = (d / 1e3).toFixed(3) + "em", re = (G / 1e3).toFixed(3) + "em", Q = new hc([q], {
|
114620
114620
|
width: Y,
|
114621
114621
|
height: re,
|
114622
|
-
viewBox: "0 0 " + d + " " +
|
114622
|
+
viewBox: "0 0 " + d + " " + G
|
114623
114623
|
}), oe = ve.makeSvgSpan([], [Q], i);
|
114624
|
-
oe.height =
|
114624
|
+
oe.height = G / 1e3, oe.style.width = Y, oe.style.height = re, H.push({
|
114625
114625
|
type: "elem",
|
114626
114626
|
elem: oe
|
114627
114627
|
});
|
@@ -115352,7 +115352,7 @@ var sl = function(e, n) {
|
|
115352
115352
|
var I = e.rowGaps[r], O = 0;
|
115353
115353
|
I && (O = Gn(I, n), O > 0 && (O += k, E < O && (E = O), O = 0)), e.addJot && (E += m), L.height = S, L.depth = E, b += S, L.pos = b, b += E + O, l[r] = L, w(o[r + 1]);
|
115354
115354
|
}
|
115355
|
-
var H = b / 2 + n.fontMetrics().axisHeight,
|
115355
|
+
var H = b / 2 + n.fontMetrics().axisHeight, W = e.cols || [], G = [], U, q, Y = [];
|
115356
115356
|
if (e.tags && e.tags.some((Re) => Re))
|
115357
115357
|
for (r = 0; r < s; ++r) {
|
115358
115358
|
var re = l[r], Q = re.pos - H, oe = e.tags[r], de = void 0;
|
@@ -115363,25 +115363,25 @@ var sl = function(e, n) {
|
|
115363
115363
|
});
|
115364
115364
|
}
|
115365
115365
|
for (
|
115366
|
-
i = 0,
|
115366
|
+
i = 0, q = 0;
|
115367
115367
|
// Continue while either there are more columns or more column
|
115368
115368
|
// descriptions, so trailing separators don't get lost.
|
115369
|
-
i < a ||
|
115370
|
-
++i, ++
|
115369
|
+
i < a || q < W.length;
|
115370
|
+
++i, ++q
|
115371
115371
|
) {
|
115372
|
-
for (var se = q
|
115373
|
-
if (pe || (U = ve.makeSpan(["arraycolsep"], []), U.style.width = Ze(n.fontMetrics().doubleRuleSep),
|
115372
|
+
for (var se = W[q] || {}, pe = !0; se.type === "separator"; ) {
|
115373
|
+
if (pe || (U = ve.makeSpan(["arraycolsep"], []), U.style.width = Ze(n.fontMetrics().doubleRuleSep), G.push(U)), se.separator === "|" || se.separator === ":") {
|
115374
115374
|
var be = se.separator === "|" ? "solid" : "dashed", ge = ve.makeSpan(["vertical-separator"], [], n);
|
115375
115375
|
ge.style.height = Ze(b), ge.style.borderRightWidth = Ze(u), ge.style.borderRightStyle = be, ge.style.margin = "0 " + Ze(-u / 2);
|
115376
115376
|
var J = b - H;
|
115377
|
-
J && (ge.style.verticalAlign = Ze(-J)),
|
115377
|
+
J && (ge.style.verticalAlign = Ze(-J)), G.push(ge);
|
115378
115378
|
} else
|
115379
115379
|
throw new Ve("Invalid separator type: " + se.separator);
|
115380
|
-
|
115380
|
+
q++, se = W[q] || {}, pe = !1;
|
115381
115381
|
}
|
115382
115382
|
if (!(i >= a)) {
|
115383
115383
|
var ke = void 0;
|
115384
|
-
(i > 0 || e.hskipBeforeAndAfter) && (ke = bt.deflt(se.pregap, d), ke !== 0 && (U = ve.makeSpan(["arraycolsep"], []), U.style.width = Ze(ke),
|
115384
|
+
(i > 0 || e.hskipBeforeAndAfter) && (ke = bt.deflt(se.pregap, d), ke !== 0 && (U = ve.makeSpan(["arraycolsep"], []), U.style.width = Ze(ke), G.push(U)));
|
115385
115385
|
var me = [];
|
115386
115386
|
for (r = 0; r < s; ++r) {
|
115387
115387
|
var Pe = l[r], je = Pe[i];
|
@@ -115397,10 +115397,10 @@ var sl = function(e, n) {
|
|
115397
115397
|
me = ve.makeVList({
|
115398
115398
|
positionType: "individualShift",
|
115399
115399
|
children: me
|
115400
|
-
}, n), me = ve.makeSpan(["col-align-" + (se.align || "c")], [me]),
|
115400
|
+
}, n), me = ve.makeSpan(["col-align-" + (se.align || "c")], [me]), G.push(me), (i < a - 1 || e.hskipBeforeAndAfter) && (ke = bt.deflt(se.postgap, d), ke !== 0 && (U = ve.makeSpan(["arraycolsep"], []), U.style.width = Ze(ke), G.push(U)));
|
115401
115401
|
}
|
115402
115402
|
}
|
115403
|
-
if (l = ve.makeSpan(["mtable"],
|
115403
|
+
if (l = ve.makeSpan(["mtable"], G), c.length > 0) {
|
115404
115404
|
for (var Ee = ve.makeLineSpan("hline", n, u), Te = ve.makeLineSpan("hdashline", n, u), le = [{
|
115405
115405
|
type: "elem",
|
115406
115406
|
elem: l,
|
@@ -123586,15 +123586,15 @@ class idt extends Ene {
|
|
123586
123586
|
for (let b = 0; b < 16; b++, n += 4)
|
123587
123587
|
Rc[b] = e.getUint32(n), Pc[b] = e.getUint32(n += 4);
|
123588
123588
|
for (let b = 16; b < 80; b++) {
|
123589
|
-
const w = Rc[b - 15] | 0, x = Pc[b - 15] | 0, S = Zt.rotrSH(w, x, 1) ^ Zt.rotrSH(w, x, 8) ^ Zt.shrSH(w, x, 7), E = Zt.rotrSL(w, x, 1) ^ Zt.rotrSL(w, x, 8) ^ Zt.shrSL(w, x, 7), L = Rc[b - 2] | 0, D = Pc[b - 2] | 0, I = Zt.rotrSH(L, D, 19) ^ Zt.rotrBH(L, D, 61) ^ Zt.shrSH(L, D, 6), O = Zt.rotrSL(L, D, 19) ^ Zt.rotrBL(L, D, 61) ^ Zt.shrSL(L, D, 6), H = Zt.add4L(E, O, Pc[b - 7], Pc[b - 16]),
|
123590
|
-
Rc[b] =
|
123589
|
+
const w = Rc[b - 15] | 0, x = Pc[b - 15] | 0, S = Zt.rotrSH(w, x, 1) ^ Zt.rotrSH(w, x, 8) ^ Zt.shrSH(w, x, 7), E = Zt.rotrSL(w, x, 1) ^ Zt.rotrSL(w, x, 8) ^ Zt.shrSL(w, x, 7), L = Rc[b - 2] | 0, D = Pc[b - 2] | 0, I = Zt.rotrSH(L, D, 19) ^ Zt.rotrBH(L, D, 61) ^ Zt.shrSH(L, D, 6), O = Zt.rotrSL(L, D, 19) ^ Zt.rotrBL(L, D, 61) ^ Zt.shrSL(L, D, 6), H = Zt.add4L(E, O, Pc[b - 7], Pc[b - 16]), W = Zt.add4H(H, S, I, Rc[b - 7], Rc[b - 16]);
|
123590
|
+
Rc[b] = W | 0, Pc[b] = H | 0;
|
123591
123591
|
}
|
123592
123592
|
let { Ah: r, Al: i, Bh: s, Bl: o, Ch: a, Cl: l, Dh: c, Dl: u, Eh: f, El: d, Fh: h, Fl: p, Gh: m, Gl: g, Hh: v, Hl: k } = this;
|
123593
123593
|
for (let b = 0; b < 80; b++) {
|
123594
|
-
const w = Zt.rotrSH(f, d, 14) ^ Zt.rotrSH(f, d, 18) ^ Zt.rotrBH(f, d, 41), x = Zt.rotrSL(f, d, 14) ^ Zt.rotrSL(f, d, 18) ^ Zt.rotrBL(f, d, 41), S = f & h ^ ~f & m, E = d & p ^ ~d & g, L = Zt.add5L(k, x, E, rdt[b], Pc[b]), D = Zt.add5H(L, v, w, S, ndt[b], Rc[b]), I = L | 0, O = Zt.rotrSH(r, i, 28) ^ Zt.rotrBH(r, i, 34) ^ Zt.rotrBH(r, i, 39), H = Zt.rotrSL(r, i, 28) ^ Zt.rotrBL(r, i, 34) ^ Zt.rotrBL(r, i, 39),
|
123594
|
+
const w = Zt.rotrSH(f, d, 14) ^ Zt.rotrSH(f, d, 18) ^ Zt.rotrBH(f, d, 41), x = Zt.rotrSL(f, d, 14) ^ Zt.rotrSL(f, d, 18) ^ Zt.rotrBL(f, d, 41), S = f & h ^ ~f & m, E = d & p ^ ~d & g, L = Zt.add5L(k, x, E, rdt[b], Pc[b]), D = Zt.add5H(L, v, w, S, ndt[b], Rc[b]), I = L | 0, O = Zt.rotrSH(r, i, 28) ^ Zt.rotrBH(r, i, 34) ^ Zt.rotrBH(r, i, 39), H = Zt.rotrSL(r, i, 28) ^ Zt.rotrBL(r, i, 34) ^ Zt.rotrBL(r, i, 39), W = r & s ^ r & a ^ s & a, G = i & o ^ i & l ^ o & l;
|
123595
123595
|
v = m | 0, k = g | 0, m = h | 0, g = p | 0, h = f | 0, p = d | 0, { h: f, l: d } = Zt.add(c | 0, u | 0, D | 0, I | 0), c = a | 0, u = l | 0, a = s | 0, l = o | 0, s = r | 0, o = i | 0;
|
123596
|
-
const U = Zt.add3L(I, H,
|
123597
|
-
r = Zt.add3H(U, D, O,
|
123596
|
+
const U = Zt.add3L(I, H, G);
|
123597
|
+
r = Zt.add3H(U, D, O, W), i = U | 0;
|
123598
123598
|
}
|
123599
123599
|
({ h: r, l: i } = Zt.add(this.Ah | 0, this.Al | 0, r | 0, i | 0)), { h: s, l: o } = Zt.add(this.Bh | 0, this.Bl | 0, s | 0, o | 0), { h: a, l } = Zt.add(this.Ch | 0, this.Cl | 0, a | 0, l | 0), { h: c, l: u } = Zt.add(this.Dh | 0, this.Dl | 0, c | 0, u | 0), { h: f, l: d } = Zt.add(this.Eh | 0, this.El | 0, f | 0, d | 0), { h, l: p } = Zt.add(this.Fh | 0, this.Fl | 0, h | 0, p | 0), { h: m, l: g } = Zt.add(this.Gh | 0, this.Gl | 0, m | 0, g | 0), { h: v, l: k } = Zt.add(this.Hh | 0, this.Hl | 0, v | 0, k | 0), this.set(r, i, s, o, a, l, c, u, f, d, h, p, m, g, v, k);
|
123600
123600
|
}
|
@@ -124445,10 +124445,10 @@ function Udt(t) {
|
|
124445
124445
|
const { px: g, py: v, pz: k } = this, { px: b, py: w, pz: x } = m;
|
124446
124446
|
let S = n.ZERO, E = n.ZERO, L = n.ZERO;
|
124447
124447
|
const D = e.a, I = n.mul(e.b, wB);
|
124448
|
-
let O = n.mul(g, b), H = n.mul(v, w),
|
124449
|
-
|
124450
|
-
let
|
124451
|
-
return U = n.mul(U,
|
124448
|
+
let O = n.mul(g, b), H = n.mul(v, w), W = n.mul(k, x), G = n.add(g, v), U = n.add(b, w);
|
124449
|
+
G = n.mul(G, U), U = n.add(O, H), G = n.sub(G, U), U = n.add(g, k);
|
124450
|
+
let q = n.add(b, x);
|
124451
|
+
return U = n.mul(U, q), q = n.add(O, W), U = n.sub(U, q), q = n.add(v, k), S = n.add(w, x), q = n.mul(q, S), S = n.add(H, W), q = n.sub(q, S), L = n.mul(D, U), S = n.mul(I, W), L = n.add(S, L), S = n.sub(H, L), L = n.add(H, L), E = n.mul(S, L), H = n.add(O, O), H = n.add(H, O), W = n.mul(D, W), U = n.mul(I, U), H = n.add(H, W), W = n.sub(O, W), W = n.mul(D, W), U = n.add(U, W), O = n.mul(H, U), E = n.add(E, O), O = n.mul(q, U), S = n.mul(G, S), S = n.sub(S, O), O = n.mul(G, H), L = n.mul(q, L), L = n.add(L, O), new f(S, E, L);
|
124452
124452
|
}
|
124453
124453
|
subtract(m) {
|
124454
124454
|
return this.add(m.negate());
|
@@ -124581,13 +124581,13 @@ function Gdt(t) {
|
|
124581
124581
|
}
|
124582
124582
|
const { ProjectivePoint: c, normPrivateKeyToScalar: u, weierstrassEquation: f, isWithinCurveOrder: d } = Udt({
|
124583
124583
|
...e,
|
124584
|
-
toBytes(U,
|
124585
|
-
const re =
|
124586
|
-
return Y ? oe(Uint8Array.from([
|
124584
|
+
toBytes(U, q, Y) {
|
124585
|
+
const re = q.toAffine(), Q = n.toBytes(re.x), oe = T4;
|
124586
|
+
return Y ? oe(Uint8Array.from([q.hasEvenY() ? 2 : 3]), Q) : oe(Uint8Array.from([4]), Q, n.toBytes(re.y));
|
124587
124587
|
},
|
124588
124588
|
fromBytes(U) {
|
124589
|
-
const
|
124590
|
-
if (
|
124589
|
+
const q = U.length, Y = U[0], re = U.subarray(1);
|
124590
|
+
if (q === i && (Y === 2 || Y === 3)) {
|
124591
124591
|
const Q = H1(re);
|
124592
124592
|
if (!o(Q))
|
124593
124593
|
throw new Error("Point is not on curve");
|
@@ -124595,34 +124595,34 @@ function Gdt(t) {
|
|
124595
124595
|
let de = n.sqrt(oe);
|
124596
124596
|
const se = (de & Xs) === Xs;
|
124597
124597
|
return (Y & 1) === 1 !== se && (de = n.neg(de)), { x: Q, y: de };
|
124598
|
-
} else if (
|
124598
|
+
} else if (q === s && Y === 4) {
|
124599
124599
|
const Q = n.fromBytes(re.subarray(0, n.BYTES)), oe = n.fromBytes(re.subarray(n.BYTES, 2 * n.BYTES));
|
124600
124600
|
return { x: Q, y: oe };
|
124601
124601
|
} else
|
124602
|
-
throw new Error(`Point of length ${
|
124602
|
+
throw new Error(`Point of length ${q} was invalid. Expected ${i} compressed bytes or ${s} uncompressed bytes`);
|
124603
124603
|
}
|
124604
124604
|
}), h = (U) => m2(g2(U, e.nByteLength));
|
124605
124605
|
function p(U) {
|
124606
|
-
const
|
124607
|
-
return U >
|
124606
|
+
const q = r >> Xs;
|
124607
|
+
return U > q;
|
124608
124608
|
}
|
124609
124609
|
function m(U) {
|
124610
124610
|
return p(U) ? a(-U) : U;
|
124611
124611
|
}
|
124612
|
-
const g = (U,
|
124612
|
+
const g = (U, q, Y) => H1(U.slice(q, Y));
|
124613
124613
|
class v {
|
124614
|
-
constructor(
|
124615
|
-
this.r =
|
124614
|
+
constructor(q, Y, re) {
|
124615
|
+
this.r = q, this.s = Y, this.recovery = re, this.assertValidity();
|
124616
124616
|
}
|
124617
124617
|
// pair (bytes of r, bytes of s)
|
124618
|
-
static fromCompact(
|
124618
|
+
static fromCompact(q) {
|
124619
124619
|
const Y = e.nByteLength;
|
124620
|
-
return
|
124620
|
+
return q = Ao("compactSignature", q, Y * 2), new v(g(q, 0, Y), g(q, Y, 2 * Y));
|
124621
124621
|
}
|
124622
124622
|
// DER encoded ECDSA signature
|
124623
124623
|
// https://bitcoin.stackexchange.com/questions/57644/what-are-the-parts-of-a-bitcoin-transaction-input-script
|
124624
|
-
static fromDER(
|
124625
|
-
const { r: Y, s: re } = t1.toSig(Ao("DER",
|
124624
|
+
static fromDER(q) {
|
124625
|
+
const { r: Y, s: re } = t1.toSig(Ao("DER", q));
|
124626
124626
|
return new v(Y, re);
|
124627
124627
|
}
|
124628
124628
|
assertValidity() {
|
@@ -124631,11 +124631,11 @@ function Gdt(t) {
|
|
124631
124631
|
if (!d(this.s))
|
124632
124632
|
throw new Error("s must be 0 < s < CURVE.n");
|
124633
124633
|
}
|
124634
|
-
addRecoveryBit(
|
124635
|
-
return new v(this.r, this.s,
|
124634
|
+
addRecoveryBit(q) {
|
124635
|
+
return new v(this.r, this.s, q);
|
124636
124636
|
}
|
124637
|
-
recoverPublicKey(
|
124638
|
-
const { r: Y, s: re, recovery: Q } = this, oe = E(Ao("msgHash",
|
124637
|
+
recoverPublicKey(q) {
|
124638
|
+
const { r: Y, s: re, recovery: Q } = this, oe = E(Ao("msgHash", q));
|
124639
124639
|
if (Q == null || ![0, 1, 2, 3].includes(Q))
|
124640
124640
|
throw new Error("recovery id invalid");
|
124641
124641
|
const de = Q === 2 || Q === 3 ? Y + e.n : Y;
|
@@ -124693,27 +124693,27 @@ function Gdt(t) {
|
|
124693
124693
|
* const fast = utils.precompute(8, ProjectivePoint.fromHex(someonesPubKey));
|
124694
124694
|
* fast.multiply(privKey); // much faster ECDH now
|
124695
124695
|
*/
|
124696
|
-
precompute(U = 8,
|
124697
|
-
return
|
124696
|
+
precompute(U = 8, q = c.BASE) {
|
124697
|
+
return q._setWindowSize(U), q.multiply(BigInt(3)), q;
|
124698
124698
|
}
|
124699
124699
|
};
|
124700
|
-
function b(U,
|
124701
|
-
return c.fromPrivateKey(U).toRawBytes(
|
124700
|
+
function b(U, q = !0) {
|
124701
|
+
return c.fromPrivateKey(U).toRawBytes(q);
|
124702
124702
|
}
|
124703
124703
|
function w(U) {
|
124704
|
-
const
|
124705
|
-
return
|
124704
|
+
const q = U instanceof Uint8Array, Y = typeof U == "string", re = (q || Y) && U.length;
|
124705
|
+
return q ? re === i || re === s : Y ? re === 2 * i || re === 2 * s : U instanceof c;
|
124706
124706
|
}
|
124707
|
-
function x(U,
|
124707
|
+
function x(U, q, Y = !0) {
|
124708
124708
|
if (w(U))
|
124709
124709
|
throw new Error("first arg must be private key");
|
124710
|
-
if (!w(
|
124710
|
+
if (!w(q))
|
124711
124711
|
throw new Error("second arg must be public key");
|
124712
|
-
return c.fromHex(
|
124712
|
+
return c.fromHex(q).multiply(u(U)).toRawBytes(Y);
|
124713
124713
|
}
|
124714
124714
|
const S = e.bits2int || function(U) {
|
124715
|
-
const
|
124716
|
-
return Y > 0 ?
|
124715
|
+
const q = H1(U), Y = U.length * 8 - e.nBitLength;
|
124716
|
+
return Y > 0 ? q >> BigInt(Y) : q;
|
124717
124717
|
}, E = e.bits2int_modN || function(U) {
|
124718
124718
|
return a(S(U));
|
124719
124719
|
}, L = OT(e.nBitLength);
|
@@ -124724,13 +124724,13 @@ function Gdt(t) {
|
|
124724
124724
|
throw new Error(`bigint expected < 2^${e.nBitLength}`);
|
124725
124725
|
return g2(U, e.nByteLength);
|
124726
124726
|
}
|
124727
|
-
function I(U,
|
124727
|
+
function I(U, q, Y = O) {
|
124728
124728
|
if (["recovered", "canonical"].some((Pe) => Pe in Y))
|
124729
124729
|
throw new Error("sign() legacy options not supported");
|
124730
124730
|
const { hash: re, randomBytes: Q } = e;
|
124731
124731
|
let { lowS: oe, prehash: de, extraEntropy: se } = Y;
|
124732
124732
|
oe == null && (oe = !0), U = Ao("msgHash", U), de && (U = Ao("prehashed msgHash", re(U)));
|
124733
|
-
const pe = E(U), be = u(
|
124733
|
+
const pe = E(U), be = u(q), ge = [D(be), D(pe)];
|
124734
124734
|
if (se != null) {
|
124735
124735
|
const Pe = se === !0 ? Q(n.BYTES) : se;
|
124736
124736
|
ge.push(Ao("extraEntropy", Pe));
|
@@ -124752,15 +124752,15 @@ function Gdt(t) {
|
|
124752
124752
|
return { seed: J, k2sig: me };
|
124753
124753
|
}
|
124754
124754
|
const O = { lowS: e.lowS, prehash: !1 }, H = { lowS: e.lowS, prehash: !1 };
|
124755
|
-
function
|
124756
|
-
const { seed: re, k2sig: Q } = I(U,
|
124755
|
+
function W(U, q, Y = O) {
|
124756
|
+
const { seed: re, k2sig: Q } = I(U, q, Y), oe = e;
|
124757
124757
|
return Zne(oe.hash.outputLen, oe.nByteLength, oe.hmac)(re, Q);
|
124758
124758
|
}
|
124759
124759
|
c.BASE._setWindowSize(8);
|
124760
|
-
function
|
124760
|
+
function G(U, q, Y, re = H) {
|
124761
124761
|
var Ee;
|
124762
124762
|
const Q = U;
|
124763
|
-
if (
|
124763
|
+
if (q = Ao("msgHash", q), Y = Ao("publicKey", Y), "strict" in re)
|
124764
124764
|
throw new Error("options.strict was renamed to lowS");
|
124765
124765
|
const { lowS: oe, prehash: de } = re;
|
124766
124766
|
let se, pe;
|
@@ -124786,16 +124786,16 @@ function Gdt(t) {
|
|
124786
124786
|
}
|
124787
124787
|
if (oe && se.hasHighS())
|
124788
124788
|
return !1;
|
124789
|
-
de && (
|
124790
|
-
const { r: be, s: ge } = se, J = E(
|
124789
|
+
de && (q = e.hash(q));
|
124790
|
+
const { r: be, s: ge } = se, J = E(q), ke = l(ge), me = a(J * ke), Pe = a(be * ke), je = (Ee = c.BASE.multiplyAndAddUnsafe(pe, me, Pe)) == null ? void 0 : Ee.toAffine();
|
124791
124791
|
return je ? a(je.x) === be : !1;
|
124792
124792
|
}
|
124793
124793
|
return {
|
124794
124794
|
CURVE: e,
|
124795
124795
|
getPublicKey: b,
|
124796
124796
|
getSharedSecret: x,
|
124797
|
-
sign:
|
124798
|
-
verify:
|
124797
|
+
sign: W,
|
124798
|
+
verify: G,
|
124799
124799
|
ProjectivePoint: c,
|
124800
124800
|
Signature: v,
|
124801
124801
|
utils: k
|
@@ -136161,8 +136161,8 @@ function pmt({ pluginKey: t = hmt, editor: e, char: n = "@", allowSpaces: r = !1
|
|
136161
136161
|
return {
|
136162
136162
|
update: async (g, v) => {
|
136163
136163
|
var k, b, w, x, S, E, L;
|
136164
|
-
const D = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), I = (b = this.key) === null || b === void 0 ? void 0 : b.getState(g.state), O = D.active && I.active && D.range.from !== I.range.from, H = !D.active && I.active,
|
136165
|
-
if (!U && !
|
136164
|
+
const D = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), I = (b = this.key) === null || b === void 0 ? void 0 : b.getState(g.state), O = D.active && I.active && D.range.from !== I.range.from, H = !D.active && I.active, W = D.active && !I.active, G = !H && !W && D.query !== I.query, U = H || O && G, q = G || O, Y = W || O && G;
|
136165
|
+
if (!U && !q && !Y)
|
136166
136166
|
return;
|
136167
136167
|
const re = Y && !U ? D : I, Q = g.dom.querySelector(`[data-decoration-id="${re.decorationId}"]`);
|
136168
136168
|
h = {
|
@@ -136184,10 +136184,10 @@ function pmt({ pluginKey: t = hmt, editor: e, char: n = "@", allowSpaces: r = !1
|
|
136184
136184
|
const { decorationId: de } = (oe = this.key) === null || oe === void 0 ? void 0 : oe.getState(e.state), se = g.dom.querySelector(`[data-decoration-id="${de}"]`);
|
136185
136185
|
return (se == null ? void 0 : se.getBoundingClientRect()) || null;
|
136186
136186
|
} : null
|
136187
|
-
}, U && ((w = p == null ? void 0 : p.onBeforeStart) === null || w === void 0 || w.call(p, h)),
|
136187
|
+
}, U && ((w = p == null ? void 0 : p.onBeforeStart) === null || w === void 0 || w.call(p, h)), q && ((x = p == null ? void 0 : p.onBeforeUpdate) === null || x === void 0 || x.call(p, h)), (q || U) && (h.items = await c({
|
136188
136188
|
editor: e,
|
136189
136189
|
query: re.query
|
136190
|
-
})), Y && ((S = p == null ? void 0 : p.onExit) === null || S === void 0 || S.call(p, h)),
|
136190
|
+
})), Y && ((S = p == null ? void 0 : p.onExit) === null || S === void 0 || S.call(p, h)), q && ((E = p == null ? void 0 : p.onUpdate) === null || E === void 0 || E.call(p, h)), U && ((L = p == null ? void 0 : p.onStart) === null || L === void 0 || L.call(p, h));
|
136191
136191
|
},
|
136192
136192
|
destroy: () => {
|
136193
136193
|
var g;
|
@@ -136960,29 +136960,29 @@ const mmt = on.create({
|
|
136960
136960
|
scrollPosition: p,
|
136961
136961
|
unFocused: m
|
136962
136962
|
}) => {
|
136963
|
-
var
|
136963
|
+
var G, U;
|
136964
136964
|
const [g] = Ge(new Af()), [v, k] = Ge([
|
136965
136965
|
...tft(
|
136966
|
-
(
|
136966
|
+
(q) => u == null ? void 0 : u(q),
|
136967
136967
|
h
|
136968
136968
|
),
|
136969
|
-
wmt((
|
136969
|
+
wmt((q) => u == null ? void 0 : u(q), h),
|
136970
136970
|
kmt,
|
136971
136971
|
Mmt
|
136972
|
-
]), b = nt(!1), [w, x] = Ge(!0), S = (
|
136972
|
+
]), b = nt(!1), [w, x] = Ge(!0), S = (q, Y, re) => {
|
136973
136973
|
let Q = !1;
|
136974
|
-
return
|
136974
|
+
return q.doc.nodesBetween(Y, re, (oe) => {
|
136975
136975
|
oe.marks && oe.marks.some(
|
136976
136976
|
(de) => de.type.name === "highlight" && de.attrs.color === "yellow"
|
136977
136977
|
) && (Q = !0);
|
136978
136978
|
}), Q;
|
136979
|
-
}, E = (
|
136979
|
+
}, E = (q, Y) => {
|
136980
136980
|
var Q;
|
136981
136981
|
const re = Y.target;
|
136982
136982
|
if (re && re.nodeName === "MARK" && re.dataset.color && ((Q = re == null ? void 0 : re.dataset) == null ? void 0 : Q.color) === "yellow") {
|
136983
|
-
const oe = re.textContent, de =
|
136983
|
+
const oe = re.textContent, de = q.posAtCoords({ left: Y.clientX, top: Y.clientY });
|
136984
136984
|
if (de) {
|
136985
|
-
const { state: se } =
|
136985
|
+
const { state: se } = q;
|
136986
136986
|
let pe = de.pos, be = de.pos;
|
136987
136987
|
if (se.doc.nodesBetween(pe, be, (ge, J) => {
|
136988
136988
|
ge.marks && ge.marks.length && ge.marks.forEach((ke) => {
|
@@ -137006,25 +137006,25 @@ const mmt = on.create({
|
|
137006
137006
|
...W$e,
|
137007
137007
|
handleDOMEvents: {
|
137008
137008
|
mouseover: E,
|
137009
|
-
keydown: (
|
137009
|
+
keydown: (q, Y) => {
|
137010
137010
|
if (["ArrowUp", "ArrowDown", "Enter"].includes(Y.key) && document.querySelector("#slash-command"))
|
137011
137011
|
return !0;
|
137012
137012
|
}
|
137013
137013
|
},
|
137014
|
-
handleClick: (
|
137015
|
-
E(
|
137014
|
+
handleClick: (q, Y, re) => {
|
137015
|
+
E(q, re);
|
137016
137016
|
}
|
137017
137017
|
},
|
137018
137018
|
autofocus: m ? !1 : "start",
|
137019
|
-
onTransaction: ({ editor:
|
137020
|
-
|
137019
|
+
onTransaction: ({ editor: q, transaction: Y }) => {
|
137020
|
+
q != null && q.isEmpty || Y.docChanged && (o == null || o(q.getJSON()));
|
137021
137021
|
},
|
137022
137022
|
shouldRerenderOnTransaction: !0,
|
137023
137023
|
immediatelyRender: !1
|
137024
137024
|
},
|
137025
137025
|
[v]
|
137026
137026
|
), I = nt(() => {
|
137027
|
-
}), O = (
|
137027
|
+
}), O = (q, Y = !1) => {
|
137028
137028
|
if (!n || !r)
|
137029
137029
|
throw new Error("docId or username is not provided");
|
137030
137030
|
const re = new G$e(r, g, {
|
@@ -137040,7 +137040,7 @@ const mmt = on.create({
|
|
137040
137040
|
wKe.configure({
|
137041
137041
|
provider: re,
|
137042
137042
|
user: {
|
137043
|
-
name:
|
137043
|
+
name: q && q.length > 20 ? fmt(q, 7, 15) : q,
|
137044
137044
|
color: v_[Math.floor(Math.random() * v_.length)],
|
137045
137045
|
isEns: Y
|
137046
137046
|
},
|
@@ -137057,34 +137057,34 @@ const mmt = on.create({
|
|
137057
137057
|
D.commands.setContent(e), x(!1);
|
137058
137058
|
}), b.current = !0), setTimeout(() => {
|
137059
137059
|
if (H.current && p && D) {
|
137060
|
-
const
|
137060
|
+
const q = D.view.coordsAtPos(p), Y = H.current;
|
137061
137061
|
Y.scrollTo({
|
137062
|
-
top: Y.scrollTop +
|
137062
|
+
top: Y.scrollTop + q.top - 500,
|
137063
137063
|
behavior: "smooth"
|
137064
137064
|
});
|
137065
137065
|
}
|
137066
137066
|
b.current = !1, D && e === void 0 && x(!1);
|
137067
137067
|
});
|
137068
137068
|
}, [e, D]);
|
137069
|
-
const
|
137070
|
-
let
|
137069
|
+
const W = async () => {
|
137070
|
+
let q = s, Y = !1;
|
137071
137071
|
if (i && c) {
|
137072
137072
|
const { name: re, isEns: Q } = await lmt(
|
137073
137073
|
i,
|
137074
137074
|
c
|
137075
137075
|
);
|
137076
|
-
|
137076
|
+
q = re, Y = Q;
|
137077
137077
|
}
|
137078
|
-
if (!
|
137078
|
+
if (!q)
|
137079
137079
|
throw new Error("Cannot start collaboration without a username");
|
137080
|
-
O(
|
137080
|
+
O(q, Y);
|
137081
137081
|
};
|
137082
137082
|
return Ue(() => {
|
137083
|
-
n ?
|
137083
|
+
n ? W() : I.current();
|
137084
137084
|
}, [n]), Ue(() => {
|
137085
|
-
var
|
137086
|
-
a == null || a((Y = (
|
137087
|
-
}, [(U = (
|
137085
|
+
var q, Y;
|
137086
|
+
a == null || a((Y = (q = D == null ? void 0 : D.storage) == null ? void 0 : q.collaborationCursor) == null ? void 0 : Y.users);
|
137087
|
+
}, [(U = (G = D == null ? void 0 : D.storage) == null ? void 0 : G.collaborationCursor) == null ? void 0 : U.users]), Ue(() => {
|
137088
137088
|
f && f(D == null ? void 0 : D.storage.characterCount.characters()), d && d(D == null ? void 0 : D.storage.characterCount.words());
|
137089
137089
|
}, [
|
137090
137090
|
D == null ? void 0 : D.storage.characterCount.characters(),
|
@@ -139032,20 +139032,20 @@ function Lyt(t) {
|
|
139032
139032
|
const I = Array.isArray(b) ? b : [b];
|
139033
139033
|
let O = I.reduce(i(v), {});
|
139034
139034
|
x === !1 && (O = {});
|
139035
|
-
const { prevResolvedValues: H = {} } = k,
|
139035
|
+
const { prevResolvedValues: H = {} } = k, W = {
|
139036
139036
|
...H,
|
139037
139037
|
...O
|
139038
|
-
},
|
139038
|
+
}, G = (Y) => {
|
139039
139039
|
L = !0, d.has(Y) && (D = !0, d.delete(Y)), k.needsAnimating[Y] = !0;
|
139040
139040
|
const re = t.getValue(Y);
|
139041
139041
|
re && (re.liveStyle = !1);
|
139042
139042
|
};
|
139043
|
-
for (const Y in
|
139043
|
+
for (const Y in W) {
|
139044
139044
|
const re = O[Y], Q = H[Y];
|
139045
139045
|
if (h.hasOwnProperty(Y))
|
139046
139046
|
continue;
|
139047
139047
|
let oe = !1;
|
139048
|
-
BC(re) && BC(Q) ? oe = !oie(re, Q) : oe = re !== Q, oe ? re != null ?
|
139048
|
+
BC(re) && BC(Q) ? oe = !oie(re, Q) : oe = re !== Q, oe ? re != null ? G(Y) : d.add(Y) : re !== void 0 && d.has(Y) ? G(Y) : k.protectedKeys[Y] = !0;
|
139049
139049
|
}
|
139050
139050
|
k.prevProp = b, k.prevResolvedValues = O, k.isActive && (h = { ...h, ...O }), r && t.blockInitialAnimation && (L = !1), L && (!(S && E) || D) && f.push(...I.map((Y) => ({
|
139051
139051
|
animation: Y,
|
@@ -141985,9 +141985,11 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
141985
141985
|
setInlineCommentData: L,
|
141986
141986
|
inlineCommentData: D,
|
141987
141987
|
zoomLevel: I,
|
141988
|
-
setZoomLevel: O
|
141989
|
-
|
141990
|
-
|
141988
|
+
setZoomLevel: O,
|
141989
|
+
isNavbarVisible: H,
|
141990
|
+
setIsNavbarVisible: W
|
141991
|
+
}, G) => {
|
141992
|
+
const [U, q] = Ge(!1), Y = nt(null), re = z1("(max-width: 640px)"), Q = z1("(min-width: 1500px)"), oe = z1("(min-width: 3000px)"), de = j3() === "iOS" || j3() === "Android" || j3() === "Windows Phone" || re, se = j3() === "iOS", [pe, be] = Ge(!1), ge = nt(null), J = (w == null ? void 0 : w.slice(0, 4)) || [], ke = w ? Math.max(0, w.length - 4) : 0;
|
141991
141993
|
VL(ge, () => {
|
141992
141994
|
be(!1);
|
141993
141995
|
}), Ue(() => {
|
@@ -142019,10 +142021,12 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142019
142021
|
setInlineCommentData: L,
|
142020
142022
|
inlineCommentData: D,
|
142021
142023
|
zoomLevel: I,
|
142022
|
-
setZoomLevel: O
|
142024
|
+
setZoomLevel: O,
|
142025
|
+
isNavbarVisible: H,
|
142026
|
+
setIsNavbarVisible: W
|
142023
142027
|
});
|
142024
142028
|
_F(
|
142025
|
-
|
142029
|
+
G,
|
142026
142030
|
() => ({
|
142027
142031
|
getEditor: () => me,
|
142028
142032
|
getYdoc: () => Ae
|
@@ -142053,9 +142057,9 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142053
142057
|
Ue(() => {
|
142054
142058
|
if (me && de) {
|
142055
142059
|
const { selection: ee } = me.state, ne = nb(ee), Re = () => {
|
142056
|
-
|
142060
|
+
q(!0);
|
142057
142061
|
}, V = () => {
|
142058
|
-
|
142062
|
+
q(!1);
|
142059
142063
|
};
|
142060
142064
|
return !ne && me.on("focus", Re), ne && me.on("blur", V), () => {
|
142061
142065
|
me.off("focus", Re), me.off("blur", V);
|
@@ -142120,8 +142124,8 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142120
142124
|
className: Pt(
|
142121
142125
|
"h-14 bg-[#ffffff] py-2 px-4 flex gap-[40px] items-center justify-between w-screen fixed left-0 top-0 border-b color-border-default z-50 transition-transform duration-300",
|
142122
142126
|
{
|
142123
|
-
"translate-y-0":
|
142124
|
-
"translate-y-[-100%]": !
|
142127
|
+
"translate-y-0": H,
|
142128
|
+
"translate-y-[-100%]": !H
|
142125
142129
|
}
|
142126
142130
|
),
|
142127
142131
|
children: s == null ? void 0 : s({ editor: me.getJSON() })
|
@@ -142134,8 +142138,8 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142134
142138
|
className: Pt(
|
142135
142139
|
"z-50 hidden xl:flex items-center justify-center w-full h-[52px] fixed left-0 px-1 bg-[#ffffff] border-b color-border-default transition-transform duration-300 top-[3.3rem]",
|
142136
142140
|
{
|
142137
|
-
"translate-y-0":
|
142138
|
-
"translate-y-[-
|
142141
|
+
"translate-y-0": H,
|
142142
|
+
"translate-y-[-108%]": !H
|
142139
142143
|
}
|
142140
142144
|
),
|
142141
142145
|
children: /* @__PURE__ */ P.jsx("div", { className: "justify-center items-center grow relative", children: /* @__PURE__ */ P.jsx(
|
@@ -142145,7 +142149,7 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142145
142149
|
editor: me,
|
142146
142150
|
zoomLevel: I,
|
142147
142151
|
setZoomLevel: O,
|
142148
|
-
isNavbarVisible:
|
142152
|
+
isNavbarVisible: H,
|
142149
142153
|
setIsNavbarVisible: W,
|
142150
142154
|
secureImageUploadUrl: p
|
142151
142155
|
}
|
@@ -142159,8 +142163,8 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142159
142163
|
"bg-white w-full mx-auto rounded",
|
142160
142164
|
{ "mt-0 md:!mt-16": t },
|
142161
142165
|
{ "md:!mt-16": !t },
|
142162
|
-
{ "pt-20 md:!mt-[7.5rem]":
|
142163
|
-
{ "pt-6 md:!mt-16": !
|
142166
|
+
{ "pt-20 md:!mt-[7.5rem]": H && !t },
|
142167
|
+
{ "pt-6 md:!mt-16": !H && !t },
|
142164
142168
|
{
|
142165
142169
|
"max-[1080px]:!mx-auto min-[1081px]:!ml-[18%] min-[1700px]:!mx-auto": S && !de && I !== "0.5" && I !== "0.75" && I !== "1.4" && I !== "1.5" && I !== "2"
|
142166
142170
|
},
|
@@ -142168,8 +142172,8 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142168
142172
|
"!mx-auto": !S || I === "0.5" || I === "0.75" || I === "1.4" || I === "1.5"
|
142169
142173
|
},
|
142170
142174
|
{ "!ml-0": I === "2" && Q && !oe },
|
142171
|
-
{ "min-h-[83vh]":
|
142172
|
-
{ "min-h-[90vh]": !
|
142175
|
+
{ "min-h-[83vh]": H },
|
142176
|
+
{ "min-h-[90vh]": !H },
|
142173
142177
|
{ "w-[700px] md:max-w-[700px] h-[150%]": I === "0.5" },
|
142174
142178
|
{ "w-[800px] md:max-w-[800px] h-[200%]": I === "0.75" },
|
142175
142179
|
{ "w-[850px] md:max-w-[850px] h-[100%]": I === "1" },
|
@@ -142316,7 +142320,7 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142316
142320
|
className: Pt(
|
142317
142321
|
"flex xl:hidden items-center w-full h-[52px] absolute left-0 z-10 px-4 bg-[#ffffff] transition-all duration-300 ease-in-out border-b border-color-default",
|
142318
142322
|
U && "hidden",
|
142319
|
-
{ "top-14":
|
142323
|
+
{ "top-14": H, "top-0": !H }
|
142320
142324
|
),
|
142321
142325
|
children: /* @__PURE__ */ P.jsx(
|
142322
142326
|
J3t,
|
@@ -142324,7 +142328,7 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142324
142328
|
onError: g,
|
142325
142329
|
editor: me,
|
142326
142330
|
isKeyboardVisible: U,
|
142327
|
-
isNavbarVisible:
|
142331
|
+
isNavbarVisible: H,
|
142328
142332
|
setIsNavbarVisible: W,
|
142329
142333
|
secureImageUploadUrl: p
|
142330
142334
|
}
|
@@ -142368,7 +142372,7 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142368
142372
|
editor: I,
|
142369
142373
|
ref: O,
|
142370
142374
|
isContentLoading: H,
|
142371
|
-
ydoc:
|
142375
|
+
ydoc: W
|
142372
142376
|
} = sie({
|
142373
142377
|
isPreviewMode: t,
|
142374
142378
|
initialContent: e,
|
@@ -142391,16 +142395,16 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142391
142395
|
w,
|
142392
142396
|
() => ({
|
142393
142397
|
getEditor: () => I,
|
142394
|
-
getYdoc: () =>
|
142398
|
+
getYdoc: () => W
|
142395
142399
|
}),
|
142396
|
-
[I,
|
142400
|
+
[I, W]
|
142397
142401
|
);
|
142398
|
-
const
|
142399
|
-
const Y =
|
142402
|
+
const G = (q) => {
|
142403
|
+
const Y = q.name.split(",").map((re) => {
|
142400
142404
|
const Q = re.trim();
|
142401
142405
|
return (m == null ? void 0 : m.find(
|
142402
142406
|
(de) => de.name.toLowerCase() === Q.toLowerCase()
|
142403
|
-
)) || { name: Q, color:
|
142407
|
+
)) || { name: Q, color: q.color };
|
142404
142408
|
});
|
142405
142409
|
v == null || v((re) => {
|
142406
142410
|
const Q = [...re];
|
@@ -142410,9 +142414,9 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142410
142414
|
) || Q.push(oe);
|
142411
142415
|
}), Q;
|
142412
142416
|
});
|
142413
|
-
}, U = (
|
142417
|
+
}, U = (q) => {
|
142414
142418
|
v == null || v(
|
142415
|
-
(Y) => Y.filter((re) => re.name !==
|
142419
|
+
(Y) => Y.filter((re) => re.name !== q)
|
142416
142420
|
);
|
142417
142421
|
};
|
142418
142422
|
return !I || H ? /* @__PURE__ */ P.jsxs("div", { className: "w-auto h-auto flex flex-col gap-4 justify-center items-center", children: [
|
@@ -142425,14 +142429,14 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142425
142429
|
ref: E,
|
142426
142430
|
className: "flex flex-wrap px-4 md:px-[80px] lg:!px-[124px] items-center gap-1 mb-4 mt-4 lg:!mt-0",
|
142427
142431
|
children: [
|
142428
|
-
L.map((
|
142432
|
+
L.map((q, Y) => /* @__PURE__ */ P.jsx(
|
142429
142433
|
Um,
|
142430
142434
|
{
|
142431
|
-
style: { backgroundColor:
|
142432
|
-
onRemove: () => U(
|
142435
|
+
style: { backgroundColor: q == null ? void 0 : q.color },
|
142436
|
+
onRemove: () => U(q == null ? void 0 : q.name),
|
142433
142437
|
isRemovable: !t,
|
142434
142438
|
className: "!h-6 rounded",
|
142435
|
-
children:
|
142439
|
+
children: q == null ? void 0 : q.name
|
142436
142440
|
},
|
142437
142441
|
Y
|
142438
142442
|
)),
|
@@ -142456,14 +142460,14 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142456
142460
|
exit: { opacity: 0, height: 0 },
|
142457
142461
|
transition: { duration: 0.3 },
|
142458
142462
|
className: "flex flex-wrap items-center gap-1",
|
142459
|
-
children: g == null ? void 0 : g.slice(4).map((
|
142463
|
+
children: g == null ? void 0 : g.slice(4).map((q, Y) => /* @__PURE__ */ P.jsx(
|
142460
142464
|
Um,
|
142461
142465
|
{
|
142462
|
-
style: { backgroundColor:
|
142463
|
-
onRemove: () => U(
|
142466
|
+
style: { backgroundColor: q == null ? void 0 : q.color },
|
142467
|
+
onRemove: () => U(q == null ? void 0 : q.name),
|
142464
142468
|
isRemovable: !t,
|
142465
142469
|
className: "!h-6 rounded",
|
142466
|
-
children:
|
142470
|
+
children: q == null ? void 0 : q.name
|
142467
142471
|
},
|
142468
142472
|
Y + 4
|
142469
142473
|
))
|
@@ -142474,7 +142478,7 @@ const Rse = ({ children: t, exitBeforeEnter: e, custom: n, initial: r = !0, onEx
|
|
142474
142478
|
{
|
142475
142479
|
tags: m || [],
|
142476
142480
|
selectedTags: g,
|
142477
|
-
onAddTag:
|
142481
|
+
onAddTag: G,
|
142478
142482
|
isPreviewMode: t
|
142479
142483
|
}
|
142480
142484
|
)
|