eidotter 0.37.2 → 0.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -8530,7 +8530,7 @@ var qu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8530
8530
|
window.sessionStorage.setItem(e, Xu);
|
|
8531
8531
|
} catch {}
|
|
8532
8532
|
}, $u = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, powered: i = !0, boot: a = !1, bootOnce: o = !1, bootStorageKey: c = Yu, intensity: l = 1, className: u, onPowerStateChange: d, onPowerOn: m, onPowerOff: h, onBootComplete: g }) => {
|
|
8533
|
-
let _ = f(i), [v, S] = p(i ? "on" : "off"), [C, w] = p(a
|
|
8533
|
+
let _ = f(i), [v, S] = p(i ? "on" : "off"), [C, w] = p(a), T = f(!1), E = f(c), D = f(g);
|
|
8534
8534
|
s(() => {
|
|
8535
8535
|
D.current = g;
|
|
8536
8536
|
});
|
|
@@ -8540,15 +8540,12 @@ var qu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8540
8540
|
w(!1), o && Qu(E.current), O();
|
|
8541
8541
|
};
|
|
8542
8542
|
s(() => {
|
|
8543
|
-
if (!(!a || !o)) {
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
return;
|
|
8547
|
-
}
|
|
8548
|
-
w(!0);
|
|
8543
|
+
if (!(!a || !o) && Zu(E.current)) {
|
|
8544
|
+
w(!1), O();
|
|
8545
|
+
return;
|
|
8549
8546
|
}
|
|
8550
8547
|
}, []), s(() => {
|
|
8551
|
-
if (!C) return;
|
|
8548
|
+
if (!C || T.current) return;
|
|
8552
8549
|
if (Ql()) {
|
|
8553
8550
|
k();
|
|
8554
8551
|
return;
|