accessibility-react-widget 2.0.8 → 2.0.10
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-DI7pzQXp.js → index-D_YePdyz.js} +751 -743
- package/dist/main.min.js +1 -1
- package/dist/next.js +1 -1
- package/package.json +1 -1
|
@@ -5,9 +5,9 @@ import { createPortal as ds } from "react-dom";
|
|
|
5
5
|
function Vc(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
|
-
var mi, hi, sr = { exports: {} },
|
|
8
|
+
var mi, hi, sr = { exports: {} }, qt = {}, Sn = {};
|
|
9
9
|
process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
10
|
-
if (mi) return
|
|
10
|
+
if (mi) return qt;
|
|
11
11
|
mi = 1;
|
|
12
12
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
13
13
|
function o(n, r, i) {
|
|
@@ -16,22 +16,22 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
16
16
|
else i = r;
|
|
17
17
|
return r = i.ref, { $$typeof: e, type: n, key: a, ref: r !== void 0 ? r : null, props: i };
|
|
18
18
|
}
|
|
19
|
-
return
|
|
19
|
+
return qt.Fragment = t, qt.jsx = o, qt.jsxs = o, qt;
|
|
20
20
|
}() : sr.exports = (hi || (hi = 1, process.env.NODE_ENV !== "production" && function() {
|
|
21
21
|
function e(G) {
|
|
22
22
|
if (G == null) return null;
|
|
23
|
-
if (typeof G == "function") return G.$$typeof ===
|
|
23
|
+
if (typeof G == "function") return G.$$typeof === A ? null : G.displayName || G.name || null;
|
|
24
24
|
if (typeof G == "string") return G;
|
|
25
25
|
switch (G) {
|
|
26
26
|
case d:
|
|
27
27
|
return "Fragment";
|
|
28
|
-
case
|
|
28
|
+
case m:
|
|
29
29
|
return "Profiler";
|
|
30
30
|
case b:
|
|
31
31
|
return "StrictMode";
|
|
32
32
|
case I:
|
|
33
33
|
return "Suspense";
|
|
34
|
-
case
|
|
34
|
+
case h:
|
|
35
35
|
return "SuspenseList";
|
|
36
36
|
case C:
|
|
37
37
|
return "Activity";
|
|
@@ -87,17 +87,17 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
87
87
|
}
|
|
88
88
|
function i() {
|
|
89
89
|
var G = e(this.type);
|
|
90
|
-
return
|
|
90
|
+
return j[G] || (j[G] = !0), (G = this.props.ref) !== void 0 ? G : null;
|
|
91
91
|
}
|
|
92
92
|
function a(G, B, E, k, z, _, se, re) {
|
|
93
93
|
var ge, U = B.children;
|
|
94
94
|
if (U !== void 0) if (k) {
|
|
95
|
-
if (
|
|
95
|
+
if (V(U)) {
|
|
96
96
|
for (k = 0; k < U.length; k++) s(U[k]);
|
|
97
97
|
Object.freeze && Object.freeze(U);
|
|
98
98
|
}
|
|
99
99
|
} else s(U);
|
|
100
|
-
if (
|
|
100
|
+
if (F.call(B, "key")) {
|
|
101
101
|
U = e(G);
|
|
102
102
|
var ie = Object.keys(B).filter(function($) {
|
|
103
103
|
return $ !== "key";
|
|
@@ -105,7 +105,7 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
105
105
|
k = 0 < ie.length ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}", Z[U + k] || (ie = 0 < ie.length ? "{" + ie.join(": ..., ") + ": ...}" : "{}", Z[U + k] = !0);
|
|
106
106
|
}
|
|
107
107
|
if (U = null, E !== void 0 && (o(E), U = "" + E), function($) {
|
|
108
|
-
if (
|
|
108
|
+
if (F.call($, "key")) {
|
|
109
109
|
var Ne = Object.getOwnPropertyDescriptor($, "key").get;
|
|
110
110
|
if (Ne && Ne.isReactWarning) return !1;
|
|
111
111
|
}
|
|
@@ -124,9 +124,9 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
124
124
|
function s(G) {
|
|
125
125
|
typeof G == "object" && G !== null && G.$$typeof === u && G._store && (G._store.validated = 1);
|
|
126
126
|
}
|
|
127
|
-
var c, l = Be, u = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"),
|
|
127
|
+
var c, l = Be, u = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), f = Symbol.for("react.consumer"), v = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), C = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), M = l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, V = Array.isArray, Y = console.createTask ? console.createTask : function() {
|
|
128
128
|
return null;
|
|
129
|
-
},
|
|
129
|
+
}, j = {}, J = (l = { react_stack_bottom_frame: function(G) {
|
|
130
130
|
return G();
|
|
131
131
|
} }).react_stack_bottom_frame.bind(l, r)(), N = Y(n(r)), Z = {};
|
|
132
132
|
Sn.Fragment = d, Sn.jsx = function(G, B, E, k, z) {
|
|
@@ -137,7 +137,7 @@ process.env.NODE_ENV === "production" ? sr.exports = function() {
|
|
|
137
137
|
return a(G, B, E, !0, 0, z, _ ? Error("react-stack-top-frame") : J, _ ? Y(n(G)) : N);
|
|
138
138
|
};
|
|
139
139
|
}()), Sn);
|
|
140
|
-
var
|
|
140
|
+
var w = sr.exports, gs = Symbol.for("immer-nothing"), fi = Symbol.for("immer-draftable"), Qe = Symbol.for("immer-state"), Rc = process.env.NODE_ENV !== "production" ? [function(e) {
|
|
141
141
|
return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
|
|
142
142
|
}, function(e) {
|
|
143
143
|
return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`;
|
|
@@ -155,8 +155,8 @@ function Ze(e, ...t) {
|
|
|
155
155
|
}
|
|
156
156
|
throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
|
|
157
157
|
}
|
|
158
|
-
var
|
|
159
|
-
function
|
|
158
|
+
var Yt = Object.getPrototypeOf;
|
|
159
|
+
function Zt(e) {
|
|
160
160
|
return !!e && !!e[Qe];
|
|
161
161
|
}
|
|
162
162
|
function Et(e) {
|
|
@@ -166,7 +166,7 @@ function Et(e) {
|
|
|
166
166
|
var Tc = Object.prototype.constructor.toString();
|
|
167
167
|
function ps(e) {
|
|
168
168
|
if (!e || typeof e != "object") return !1;
|
|
169
|
-
const t =
|
|
169
|
+
const t = Yt(e);
|
|
170
170
|
if (t === null) return !0;
|
|
171
171
|
const o = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
172
172
|
return o === Object || typeof o == "function" && Function.toString.call(o) === Tc;
|
|
@@ -209,17 +209,17 @@ function lr(e, t) {
|
|
|
209
209
|
const a = r[i], s = n[a];
|
|
210
210
|
s.writable === !1 && (s.writable = !0, s.configurable = !0), (s.get || s.set) && (n[a] = { configurable: !0, writable: !0, enumerable: s.enumerable, value: e[a] });
|
|
211
211
|
}
|
|
212
|
-
return Object.create(
|
|
212
|
+
return Object.create(Yt(e), n);
|
|
213
213
|
}
|
|
214
214
|
{
|
|
215
|
-
const n =
|
|
215
|
+
const n = Yt(e);
|
|
216
216
|
if (n !== null && o) return { ...e };
|
|
217
217
|
const r = Object.create(n);
|
|
218
218
|
return Object.assign(r, e);
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
function Xr(e, t = !1) {
|
|
222
|
-
return ao(e) ||
|
|
222
|
+
return ao(e) || Zt(e) || !Et(e) || (ro(e) > 1 && Object.defineProperties(e, { set: { value: An }, add: { value: An }, clear: { value: An }, delete: { value: An } }), Object.freeze(e), t && Object.values(e).forEach((o) => Xr(o, !0))), e;
|
|
223
223
|
}
|
|
224
224
|
function An() {
|
|
225
225
|
Ze(2);
|
|
@@ -271,9 +271,9 @@ function Yn(e, t, o) {
|
|
|
271
271
|
return n.copy_;
|
|
272
272
|
}
|
|
273
273
|
function Ci(e, t, o, n, r, i, a) {
|
|
274
|
-
if (process.env.NODE_ENV !== "production" && r === o && Ze(5),
|
|
274
|
+
if (process.env.NODE_ENV !== "production" && r === o && Ze(5), Zt(r)) {
|
|
275
275
|
const s = Yn(e, r, i && t && t.type_ !== 3 && !cr(t.assigned_, n) ? i.concat(n) : void 0);
|
|
276
|
-
if (ms(o, n, s), !
|
|
276
|
+
if (ms(o, n, s), !Zt(s)) return;
|
|
277
277
|
e.canAutoFreeze_ = !1;
|
|
278
278
|
} else a && o.add(r);
|
|
279
279
|
if (Et(r) && !ao(r)) {
|
|
@@ -310,20 +310,20 @@ var gr = { get(e, t) {
|
|
|
310
310
|
return n && { writable: !0, configurable: e.type_ !== 1 || t !== "length", enumerable: n.enumerable, value: o[t] };
|
|
311
311
|
}, defineProperty() {
|
|
312
312
|
Ze(11);
|
|
313
|
-
}, getPrototypeOf: (e) =>
|
|
313
|
+
}, getPrototypeOf: (e) => Yt(e.base_), setPrototypeOf() {
|
|
314
314
|
Ze(12);
|
|
315
|
-
} },
|
|
315
|
+
} }, sn = {};
|
|
316
316
|
function Io(e, t) {
|
|
317
317
|
const o = e[Qe];
|
|
318
318
|
return (o ? Lt(o) : e)[t];
|
|
319
319
|
}
|
|
320
320
|
function xi(e, t) {
|
|
321
321
|
if (!(t in e)) return;
|
|
322
|
-
let o =
|
|
322
|
+
let o = Yt(e);
|
|
323
323
|
for (; o; ) {
|
|
324
324
|
const n = Object.getOwnPropertyDescriptor(o, t);
|
|
325
325
|
if (n) return n;
|
|
326
|
-
o =
|
|
326
|
+
o = Yt(o);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
function pr(e) {
|
|
@@ -336,7 +336,7 @@ function mr(e, t) {
|
|
|
336
336
|
const o = fn(e) ? Vt("MapSet").proxyMap_(e, t) : io(e) ? Vt("MapSet").proxySet_(e, t) : function(n, r) {
|
|
337
337
|
const i = Array.isArray(n), a = { type_: i ? 1 : 0, scope_: r ? r.scope_ : bi(), modified_: !1, finalized_: !1, assigned_: {}, parent_: r, base_: n, draft_: null, copy_: null, revoke_: null, isManual_: !1 };
|
|
338
338
|
let s = a, c = gr;
|
|
339
|
-
i && (s = [a], c =
|
|
339
|
+
i && (s = [a], c = sn);
|
|
340
340
|
const { revoke: l, proxy: u } = Proxy.revocable(s, c);
|
|
341
341
|
return a.draft_ = u, a.revoke_ = l, u;
|
|
342
342
|
}(e, t);
|
|
@@ -355,12 +355,12 @@ function hs(e) {
|
|
|
355
355
|
}), t && (t.finalized_ = !1), o;
|
|
356
356
|
}
|
|
357
357
|
Dn(gr, (e, t) => {
|
|
358
|
-
|
|
358
|
+
sn[e] = function() {
|
|
359
359
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
360
360
|
};
|
|
361
|
-
}),
|
|
362
|
-
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ze(13),
|
|
363
|
-
},
|
|
361
|
+
}), sn.deleteProperty = function(e, t) {
|
|
362
|
+
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ze(13), sn.set.call(this, e, t, void 0);
|
|
363
|
+
}, sn.set = function(e, t, o) {
|
|
364
364
|
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ze(14), gr.set.call(this, e[0], t, o, e[0]);
|
|
365
365
|
};
|
|
366
366
|
var Xc = new class {
|
|
@@ -403,7 +403,7 @@ var Xc = new class {
|
|
|
403
403
|
}
|
|
404
404
|
createDraft(e) {
|
|
405
405
|
var t;
|
|
406
|
-
Et(e) || Ze(8),
|
|
406
|
+
Et(e) || Ze(8), Zt(e) && (Zt(t = e) || Ze(10, t), e = hs(t));
|
|
407
407
|
const o = yi(this), n = mr(e, void 0);
|
|
408
408
|
return n[Qe].isManual_ = !0, dr(o), n;
|
|
409
409
|
}
|
|
@@ -430,10 +430,10 @@ var Xc = new class {
|
|
|
430
430
|
}
|
|
431
431
|
o > -1 && (t = t.slice(o + 1));
|
|
432
432
|
const n = Vt("Patches").applyPatches_;
|
|
433
|
-
return
|
|
433
|
+
return Zt(e) ? n(e, t) : this.produce(e, (r) => n(r, t));
|
|
434
434
|
}
|
|
435
435
|
}(), hr = Xc.produce;
|
|
436
|
-
const Hc = {}, Pc = "_showSpinner_w7tb4_16",
|
|
436
|
+
const Hc = {}, Pc = "_showSpinner_w7tb4_16", Fc = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AccessibleIcon", ...e }, x.createElement("circle", { cx: 12, cy: 4, r: 2 }), x.createElement("path", { d: "M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z" }));
|
|
437
437
|
var xo, fs = { exports: {} };
|
|
438
438
|
xo = fs, function() {
|
|
439
439
|
var e = {}.hasOwnProperty;
|
|
@@ -458,7 +458,7 @@ xo = fs, function() {
|
|
|
458
458
|
}
|
|
459
459
|
xo.exports ? (t.default = t, xo.exports = t) : window.classNames = t;
|
|
460
460
|
}();
|
|
461
|
-
const yt = Vc(fs.exports), Si = ({ onShow: e, showSpinner: t }) =>
|
|
461
|
+
const yt = Vc(fs.exports), Si = ({ onShow: e, showSpinner: t }) => w.jsx("a", { onClick: e, role: "button", title: "Open Accessibility Menu", className: yt("_AccessibilityIcon_w7tb4_1", { [Pc]: t }), children: w.jsx(Fc, { title: "AccessibleIcon" }) }), xt = ["h1", "h2", "h3", "h4", "h5", "h6", "span", "p", "a", "label", "i", "button", "img", "ol", "svg"], jt = "accessibilik", Se = `root-${jt}`, jc = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "CloseIcon", ...e }, x.createElement("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })), bs = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RestartAltIcon", ...e }, x.createElement("path", { d: "M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8zm-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91z" }));
|
|
462
462
|
function P() {
|
|
463
463
|
return P = Object.assign ? Object.assign.bind() : function(e) {
|
|
464
464
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -525,42 +525,42 @@ function Hr(e) {
|
|
|
525
525
|
const { i18n: o } = t, { i18n: n, defaultNS: r } = zr(Yc) || {}, i = o || n || ys;
|
|
526
526
|
if (i && !i.reportNamespaces && (i.reportNamespaces = new _c()), !i) {
|
|
527
527
|
So("You will need to pass in an i18next instance by using initReactI18next");
|
|
528
|
-
const
|
|
529
|
-
return y.t =
|
|
528
|
+
const h = (p, C) => typeof C == "string" ? C : C && typeof C == "object" && typeof C.defaultValue == "string" ? C.defaultValue : Array.isArray(p) ? p[p.length - 1] : p, y = [h, {}, !1];
|
|
529
|
+
return y.t = h, y.i18n = {}, y.ready = !1, y;
|
|
530
530
|
}
|
|
531
531
|
i.options.react && i.options.react.wait !== void 0 && So("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
532
532
|
const a = { ...fr, ...i.options.react, ...t }, { useSuspense: s, keyPrefix: c } = a;
|
|
533
533
|
let l = r || i.options && i.options.defaultNS;
|
|
534
534
|
l = typeof l == "string" ? [l] : l || ["translation"], i.reportNamespaces.addUsedNamespaces && i.reportNamespaces.addUsedNamespaces(l);
|
|
535
|
-
const u = (i.isInitialized || i.initializedStoreOnce) && l.every((
|
|
535
|
+
const u = (i.isInitialized || i.initializedStoreOnce) && l.every((h) => function(y, p) {
|
|
536
536
|
let C = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
537
|
-
return p.languages && p.languages.length ? p.options.ignoreJSONStructure !== void 0 ? p.hasLoadedNamespace(y, { lng: C.lng, precheck: (
|
|
538
|
-
if (C.bindI18n && C.bindI18n.indexOf("languageChanging") > -1 &&
|
|
539
|
-
} }) : function(
|
|
540
|
-
let
|
|
541
|
-
const
|
|
542
|
-
if (
|
|
537
|
+
return p.languages && p.languages.length ? p.options.ignoreJSONStructure !== void 0 ? p.hasLoadedNamespace(y, { lng: C.lng, precheck: (A, M) => {
|
|
538
|
+
if (C.bindI18n && C.bindI18n.indexOf("languageChanging") > -1 && A.services.backendConnector.backend && A.isLanguageChangingTo && !M(A.isLanguageChangingTo, y)) return !1;
|
|
539
|
+
} }) : function(A, M) {
|
|
540
|
+
let F = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
541
|
+
const V = M.languages[0], Y = !!M.options && M.options.fallbackLng, j = M.languages[M.languages.length - 1];
|
|
542
|
+
if (V.toLowerCase() === "cimode") return !0;
|
|
543
543
|
const J = (N, Z) => {
|
|
544
544
|
const G = M.services.backendConnector.state[`${N}|${Z}`];
|
|
545
545
|
return G === -1 || G === 2;
|
|
546
546
|
};
|
|
547
|
-
return !(
|
|
547
|
+
return !(F.bindI18n && F.bindI18n.indexOf("languageChanging") > -1 && M.services.backendConnector.backend && M.isLanguageChangingTo && !J(M.isLanguageChangingTo, A) || !M.hasResourceBundle(V, A) && M.services.backendConnector.backend && (!M.options.resources || M.options.partialBundledLanguages) && (!J(V, A) || Y && !J(j, A)));
|
|
548
548
|
}(y, p, C) : (So("i18n.languages were undefined or empty", p.languages), !0);
|
|
549
|
-
}(
|
|
549
|
+
}(h, i, a));
|
|
550
550
|
function g() {
|
|
551
551
|
return i.getFixedT(t.lng || null, a.nsMode === "fallback" ? l : l[0], c);
|
|
552
552
|
}
|
|
553
553
|
const [d, b] = Ie(g);
|
|
554
|
-
let
|
|
555
|
-
t.lng && (
|
|
556
|
-
const f = ((
|
|
554
|
+
let m = l.join();
|
|
555
|
+
t.lng && (m = `${t.lng}${m}`);
|
|
556
|
+
const f = ((h) => {
|
|
557
557
|
const y = Ce();
|
|
558
558
|
return Pe(() => {
|
|
559
|
-
y.current =
|
|
560
|
-
}, [
|
|
561
|
-
})(
|
|
559
|
+
y.current = h;
|
|
560
|
+
}, [h, void 0]), y.current;
|
|
561
|
+
})(m), v = Ce(!0);
|
|
562
562
|
Pe(() => {
|
|
563
|
-
const { bindI18n:
|
|
563
|
+
const { bindI18n: h, bindI18nStore: y } = a;
|
|
564
564
|
function p() {
|
|
565
565
|
v.current && b(g);
|
|
566
566
|
}
|
|
@@ -568,24 +568,24 @@ function Hr(e) {
|
|
|
568
568
|
v.current && b(g);
|
|
569
569
|
}) : wi(i, l, () => {
|
|
570
570
|
v.current && b(g);
|
|
571
|
-
})), u && f && f !==
|
|
572
|
-
v.current = !1,
|
|
571
|
+
})), u && f && f !== m && v.current && b(g), h && i && i.on(h, p), y && i && i.store.on(y, p), () => {
|
|
572
|
+
v.current = !1, h && i && h.split(" ").forEach((C) => i.off(C, p)), y && i && y.split(" ").forEach((C) => i.store.off(C, p));
|
|
573
573
|
};
|
|
574
|
-
}, [i,
|
|
574
|
+
}, [i, m]);
|
|
575
575
|
const S = Ce(!0);
|
|
576
576
|
Pe(() => {
|
|
577
577
|
v.current && !S.current && b(g), S.current = !1;
|
|
578
578
|
}, [i, c]);
|
|
579
579
|
const I = [d, i, u];
|
|
580
580
|
if (I.t = d, I.i18n = i, I.ready = u, u || !u && !s) return I;
|
|
581
|
-
throw new Promise((
|
|
582
|
-
t.lng ? Gi(i, t.lng, l, () =>
|
|
581
|
+
throw new Promise((h) => {
|
|
582
|
+
t.lng ? Gi(i, t.lng, l, () => h()) : wi(i, l, () => h());
|
|
583
583
|
});
|
|
584
584
|
}
|
|
585
585
|
const $c = ({ onInit: e, onShow: t }) => {
|
|
586
586
|
const { t: o } = Hr();
|
|
587
|
-
return
|
|
588
|
-
}, Uc = () =>
|
|
587
|
+
return w.jsxs("header", { className: "_accHeader_edc9t_1", children: [w.jsx("button", { onClick: e, className: "_accHeader__resetBtn_edc9t_1", children: w.jsx(bs, {}) }), w.jsx("h3", { className: "_accHeader__title_edc9t_23", children: o("accessibility-menu") }), w.jsx("button", { onClick: t, className: "_accHeader__closeBtn_edc9t_1", children: w.jsx(jc, {}) })] });
|
|
588
|
+
}, Uc = () => w.jsx("footer", { className: "_accFooter_1pk2r_1", children: w.jsx("a", { target: "_blank", href: "https://www.linkedin.com/in/vladi-iokhim-26505714b/", children: " Developed By Vladi Iokhim ©" }) });
|
|
589
589
|
function bt(e) {
|
|
590
590
|
return bt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
591
591
|
return typeof t;
|
|
@@ -606,7 +606,7 @@ function Is(e) {
|
|
|
606
606
|
}(e, "string");
|
|
607
607
|
return bt(t) == "symbol" ? t : t + "";
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function je(e, t, o) {
|
|
610
610
|
return (t = Is(t)) in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
611
611
|
}
|
|
612
612
|
function Ni(e, t) {
|
|
@@ -623,7 +623,7 @@ function L(e) {
|
|
|
623
623
|
for (var t = 1; t < arguments.length; t++) {
|
|
624
624
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
625
625
|
t % 2 ? Ni(Object(o), !0).forEach(function(n) {
|
|
626
|
-
|
|
626
|
+
je(e, n, o[n]);
|
|
627
627
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Ni(Object(o)).forEach(function(n) {
|
|
628
628
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
629
629
|
});
|
|
@@ -764,7 +764,7 @@ var Kc = function() {
|
|
|
764
764
|
return (n = o.parentNode) == null ? void 0 : n.removeChild(o);
|
|
765
765
|
}), this.tags = [], this.ctr = 0;
|
|
766
766
|
}, e;
|
|
767
|
-
}(), Xe = "-ms-", Bi = "-moz-", Q = "-webkit-", ws = "comm", Pr = "rule",
|
|
767
|
+
}(), Xe = "-ms-", Bi = "-moz-", Q = "-webkit-", ws = "comm", Pr = "rule", Fr = "decl", Gs = "@keyframes", qc = Math.abs, so = String.fromCharCode, el = Object.assign;
|
|
768
768
|
function Ns(e) {
|
|
769
769
|
return e.trim();
|
|
770
770
|
}
|
|
@@ -783,33 +783,33 @@ function gn(e, t, o) {
|
|
|
783
783
|
function mt(e) {
|
|
784
784
|
return e.length;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function jr(e) {
|
|
787
787
|
return e.length;
|
|
788
788
|
}
|
|
789
789
|
function wn(e, t) {
|
|
790
790
|
return t.push(e), e;
|
|
791
791
|
}
|
|
792
|
-
var co = 1,
|
|
792
|
+
var co = 1, _t = 1, ks = 0, Je = 0, Ge = 0, $t = "";
|
|
793
793
|
function lo(e, t, o, n, r, i, a) {
|
|
794
|
-
return { value: e, root: t, parent: o, type: n, props: r, children: i, line: co, column:
|
|
794
|
+
return { value: e, root: t, parent: o, type: n, props: r, children: i, line: co, column: _t, length: a, return: "" };
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function en(e, t) {
|
|
797
797
|
return el(lo("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
798
798
|
}
|
|
799
799
|
function tl() {
|
|
800
|
-
return Ge = Je > 0 ? Re(
|
|
800
|
+
return Ge = Je > 0 ? Re($t, --Je) : 0, _t--, Ge === 10 && (_t = 1, co--), Ge;
|
|
801
801
|
}
|
|
802
802
|
function $e() {
|
|
803
|
-
return Ge = Je < ks ? Re(
|
|
803
|
+
return Ge = Je < ks ? Re($t, Je++) : 0, _t++, Ge === 10 && (_t = 1, co++), Ge;
|
|
804
804
|
}
|
|
805
805
|
function vt() {
|
|
806
|
-
return Re(
|
|
806
|
+
return Re($t, Je);
|
|
807
807
|
}
|
|
808
808
|
function Wn() {
|
|
809
809
|
return Je;
|
|
810
810
|
}
|
|
811
811
|
function bn(e, t) {
|
|
812
|
-
return gn(
|
|
812
|
+
return gn($t, e, t);
|
|
813
813
|
}
|
|
814
814
|
function pn(e) {
|
|
815
815
|
switch (e) {
|
|
@@ -844,10 +844,10 @@ function pn(e) {
|
|
|
844
844
|
return 0;
|
|
845
845
|
}
|
|
846
846
|
function Bs(e) {
|
|
847
|
-
return co =
|
|
847
|
+
return co = _t = 1, ks = mt($t = e), Je = 0, [];
|
|
848
848
|
}
|
|
849
849
|
function Ms(e) {
|
|
850
|
-
return
|
|
850
|
+
return $t = "", e;
|
|
851
851
|
}
|
|
852
852
|
function Zn(e) {
|
|
853
853
|
return Ns(bn(Je - 1, Ir(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
@@ -888,25 +888,25 @@ function al(e) {
|
|
|
888
888
|
return Ms(Jn("", null, null, null, [""], e = Bs(e), 0, [0], e));
|
|
889
889
|
}
|
|
890
890
|
function Jn(e, t, o, n, r, i, a, s, c) {
|
|
891
|
-
for (var l = 0, u = 0, g = a, d = 0, b = 0,
|
|
891
|
+
for (var l = 0, u = 0, g = a, d = 0, b = 0, m = 0, f = 1, v = 1, S = 1, I = 0, h = "", y = r, p = i, C = n, A = h; v; ) switch (m = I, I = $e()) {
|
|
892
892
|
case 40:
|
|
893
|
-
if (
|
|
894
|
-
yr(
|
|
893
|
+
if (m != 108 && Re(A, g - 1) == 58) {
|
|
894
|
+
yr(A += K(Zn(I), "&", "&\f"), "&\f") != -1 && (S = -1);
|
|
895
895
|
break;
|
|
896
896
|
}
|
|
897
897
|
case 34:
|
|
898
898
|
case 39:
|
|
899
899
|
case 91:
|
|
900
|
-
|
|
900
|
+
A += Zn(I);
|
|
901
901
|
break;
|
|
902
902
|
case 9:
|
|
903
903
|
case 10:
|
|
904
904
|
case 13:
|
|
905
905
|
case 32:
|
|
906
|
-
|
|
906
|
+
A += nl(m);
|
|
907
907
|
break;
|
|
908
908
|
case 92:
|
|
909
|
-
|
|
909
|
+
A += ol(Wn() - 1, 7);
|
|
910
910
|
continue;
|
|
911
911
|
case 47:
|
|
912
912
|
switch (vt()) {
|
|
@@ -915,11 +915,11 @@ function Jn(e, t, o, n, r, i, a, s, c) {
|
|
|
915
915
|
wn(sl(rl($e(), Wn()), t, o), c);
|
|
916
916
|
break;
|
|
917
917
|
default:
|
|
918
|
-
|
|
918
|
+
A += "/";
|
|
919
919
|
}
|
|
920
920
|
break;
|
|
921
921
|
case 123 * f:
|
|
922
|
-
s[l++] = mt(
|
|
922
|
+
s[l++] = mt(A) * S;
|
|
923
923
|
case 125 * f:
|
|
924
924
|
case 59:
|
|
925
925
|
case 0:
|
|
@@ -928,60 +928,60 @@ function Jn(e, t, o, n, r, i, a, s, c) {
|
|
|
928
928
|
case 125:
|
|
929
929
|
v = 0;
|
|
930
930
|
case 59 + u:
|
|
931
|
-
S == -1 && (
|
|
931
|
+
S == -1 && (A = K(A, /\f/g, "")), b > 0 && mt(A) - g && wn(b > 32 ? Li(A + ";", n, o, g - 1) : Li(K(A, " ", "") + ";", n, o, g - 2), c);
|
|
932
932
|
break;
|
|
933
933
|
case 59:
|
|
934
|
-
|
|
934
|
+
A += ";";
|
|
935
935
|
default:
|
|
936
|
-
if (wn(C = Mi(
|
|
937
|
-
else switch (d === 99 && Re(
|
|
936
|
+
if (wn(C = Mi(A, t, o, l, u, r, s, h, y = [], p = [], g), i), I === 123) if (u === 0) Jn(A, t, C, C, y, i, g, s, p);
|
|
937
|
+
else switch (d === 99 && Re(A, 3) === 110 ? 100 : d) {
|
|
938
938
|
case 100:
|
|
939
939
|
case 108:
|
|
940
940
|
case 109:
|
|
941
941
|
case 115:
|
|
942
|
-
Jn(e, C, C, n && wn(Mi(e, C, C, 0, 0, r, s,
|
|
942
|
+
Jn(e, C, C, n && wn(Mi(e, C, C, 0, 0, r, s, h, r, y = [], g), p), r, p, g, s, n ? y : p);
|
|
943
943
|
break;
|
|
944
944
|
default:
|
|
945
|
-
Jn(
|
|
945
|
+
Jn(A, C, C, C, [""], p, 0, s, p);
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
|
-
l = u = b = 0, f = S = 1,
|
|
948
|
+
l = u = b = 0, f = S = 1, h = A = "", g = a;
|
|
949
949
|
break;
|
|
950
950
|
case 58:
|
|
951
|
-
g = 1 + mt(
|
|
951
|
+
g = 1 + mt(A), b = m;
|
|
952
952
|
default:
|
|
953
953
|
if (f < 1) {
|
|
954
954
|
if (I == 123) --f;
|
|
955
955
|
else if (I == 125 && f++ == 0 && tl() == 125) continue;
|
|
956
956
|
}
|
|
957
|
-
switch (
|
|
957
|
+
switch (A += so(I), I * f) {
|
|
958
958
|
case 38:
|
|
959
|
-
S = u > 0 ? 1 : (
|
|
959
|
+
S = u > 0 ? 1 : (A += "\f", -1);
|
|
960
960
|
break;
|
|
961
961
|
case 44:
|
|
962
|
-
s[l++] = (mt(
|
|
962
|
+
s[l++] = (mt(A) - 1) * S, S = 1;
|
|
963
963
|
break;
|
|
964
964
|
case 64:
|
|
965
|
-
vt() === 45 && (
|
|
965
|
+
vt() === 45 && (A += Zn($e())), d = vt(), u = g = mt(h = A += il(Wn())), I++;
|
|
966
966
|
break;
|
|
967
967
|
case 45:
|
|
968
|
-
|
|
968
|
+
m === 45 && mt(A) == 2 && (f = 0);
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
971
|
return i;
|
|
972
972
|
}
|
|
973
973
|
function Mi(e, t, o, n, r, i, a, s, c, l, u) {
|
|
974
|
-
for (var g = r - 1, d = r === 0 ? i : [""], b =
|
|
974
|
+
for (var g = r - 1, d = r === 0 ? i : [""], b = jr(d), m = 0, f = 0, v = 0; m < n; ++m) for (var S = 0, I = gn(e, g + 1, g = qc(f = a[m])), h = e; S < b; ++S) (h = Ns(f > 0 ? d[S] + " " + I : K(I, /&\f/g, d[S]))) && (c[v++] = h);
|
|
975
975
|
return lo(e, t, o, r === 0 ? Pr : s, c, l, u);
|
|
976
976
|
}
|
|
977
977
|
function sl(e, t, o) {
|
|
978
978
|
return lo(e, t, o, ws, so(Ge), gn(e, 2, -2), 0);
|
|
979
979
|
}
|
|
980
980
|
function Li(e, t, o, n) {
|
|
981
|
-
return lo(e, t, o,
|
|
981
|
+
return lo(e, t, o, Fr, gn(e, 0, n), gn(e, n + 1, -1), n);
|
|
982
982
|
}
|
|
983
|
-
function
|
|
984
|
-
for (var o = "", n =
|
|
983
|
+
function Jt(e, t) {
|
|
984
|
+
for (var o = "", n = jr(e), r = 0; r < n; r++) o += t(e[r], r, e, t) || "";
|
|
985
985
|
return o;
|
|
986
986
|
}
|
|
987
987
|
function cl(e, t, o, n) {
|
|
@@ -989,16 +989,16 @@ function cl(e, t, o, n) {
|
|
|
989
989
|
case "@layer":
|
|
990
990
|
if (e.children.length) break;
|
|
991
991
|
case "@import":
|
|
992
|
-
case
|
|
992
|
+
case Fr:
|
|
993
993
|
return e.return = e.return || e.value;
|
|
994
994
|
case ws:
|
|
995
995
|
return "";
|
|
996
996
|
case Gs:
|
|
997
|
-
return e.return = e.value + "{" +
|
|
997
|
+
return e.return = e.value + "{" + Jt(e.children, n) + "}";
|
|
998
998
|
case Pr:
|
|
999
999
|
e.value = e.props.join(",");
|
|
1000
1000
|
}
|
|
1001
|
-
return mt(o =
|
|
1001
|
+
return mt(o = Jt(e.children, n)) ? e.return = e.value + "{" + o + "}" : "";
|
|
1002
1002
|
}
|
|
1003
1003
|
function ll(e) {
|
|
1004
1004
|
var t = /* @__PURE__ */ Object.create(null);
|
|
@@ -1016,22 +1016,22 @@ var ul = function(e, t, o) {
|
|
|
1016
1016
|
Ei.set(e, !0);
|
|
1017
1017
|
for (var r = [], i = function(u, g) {
|
|
1018
1018
|
return Ms(function(d, b) {
|
|
1019
|
-
var
|
|
1019
|
+
var m = -1, f = 44;
|
|
1020
1020
|
do
|
|
1021
1021
|
switch (pn(f)) {
|
|
1022
1022
|
case 0:
|
|
1023
|
-
f === 38 && vt() === 12 && (b[
|
|
1023
|
+
f === 38 && vt() === 12 && (b[m] = 1), d[m] += ul(Je - 1, b, m);
|
|
1024
1024
|
break;
|
|
1025
1025
|
case 2:
|
|
1026
|
-
d[
|
|
1026
|
+
d[m] += Zn(f);
|
|
1027
1027
|
break;
|
|
1028
1028
|
case 4:
|
|
1029
1029
|
if (f === 44) {
|
|
1030
|
-
d[++
|
|
1030
|
+
d[++m] = vt() === 58 ? "&\f" : "", b[m] = d[m].length;
|
|
1031
1031
|
break;
|
|
1032
1032
|
}
|
|
1033
1033
|
default:
|
|
1034
|
-
d[
|
|
1034
|
+
d[m] += so(f);
|
|
1035
1035
|
}
|
|
1036
1036
|
while (f = $e());
|
|
1037
1037
|
return d;
|
|
@@ -1160,11 +1160,11 @@ function Ls(e, t) {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
var Vi, Ri, pl = [function(e, t, o, n) {
|
|
1162
1162
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
1163
|
-
case
|
|
1163
|
+
case Fr:
|
|
1164
1164
|
e.return = Ls(e.value, e.length);
|
|
1165
1165
|
break;
|
|
1166
1166
|
case Gs:
|
|
1167
|
-
return
|
|
1167
|
+
return Jt([en(e, { value: K(e.value, "@", "@" + Q) })], n);
|
|
1168
1168
|
case Pr:
|
|
1169
1169
|
if (e.length) return function(r, i) {
|
|
1170
1170
|
return r.map(i).join("");
|
|
@@ -1174,9 +1174,9 @@ var Vi, Ri, pl = [function(e, t, o, n) {
|
|
|
1174
1174
|
}(r)) {
|
|
1175
1175
|
case ":read-only":
|
|
1176
1176
|
case ":read-write":
|
|
1177
|
-
return
|
|
1177
|
+
return Jt([en(e, { props: [K(r, /:(read-\w+)/, ":-moz-$1")] })], n);
|
|
1178
1178
|
case "::placeholder":
|
|
1179
|
-
return
|
|
1179
|
+
return Jt([en(e, { props: [K(r, /:(plac\w+)/, ":" + Q + "input-$1")] }), en(e, { props: [K(r, /:(plac\w+)/, ":-moz-$1")] }), en(e, { props: [K(r, /:(plac\w+)/, Xe + "input-$1")] })], n);
|
|
1180
1180
|
}
|
|
1181
1181
|
return "";
|
|
1182
1182
|
});
|
|
@@ -1191,7 +1191,7 @@ var Vi, Ri, pl = [function(e, t, o, n) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
var n, r, i = e.stylisPlugins || pl, a = {}, s = [];
|
|
1193
1193
|
n = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="' + t + ' "]'), function(b) {
|
|
1194
|
-
for (var
|
|
1194
|
+
for (var m = b.getAttribute("data-emotion").split(" "), f = 1; f < m.length; f++) a[m[f]] = !0;
|
|
1195
1195
|
s.push(b);
|
|
1196
1196
|
});
|
|
1197
1197
|
var c, l, u = [cl, (l = function(b) {
|
|
@@ -1199,14 +1199,14 @@ var Vi, Ri, pl = [function(e, t, o, n) {
|
|
|
1199
1199
|
}, function(b) {
|
|
1200
1200
|
b.root || (b = b.return) && l(b);
|
|
1201
1201
|
})], g = function(b) {
|
|
1202
|
-
var
|
|
1202
|
+
var m = jr(b);
|
|
1203
1203
|
return function(f, v, S, I) {
|
|
1204
|
-
for (var
|
|
1205
|
-
return
|
|
1204
|
+
for (var h = "", y = 0; y < m; y++) h += b[y](f, v, S, I) || "";
|
|
1205
|
+
return h;
|
|
1206
1206
|
};
|
|
1207
1207
|
}([dl, gl].concat(i, u));
|
|
1208
|
-
r = function(b,
|
|
1209
|
-
c = f,
|
|
1208
|
+
r = function(b, m, f, v) {
|
|
1209
|
+
c = f, Jt(al(b ? b + "{" + m.styles + "}" : m.styles), g), v && (d.inserted[m.name] = !0);
|
|
1210
1210
|
};
|
|
1211
1211
|
var d = { key: t, sheet: new Kc({ key: t, container: n, nonce: e.nonce, speedy: e.speedy, prepend: e.prepend, insertionPoint: e.insertionPoint }), nonce: e.nonce, inserted: a, registered: {}, insert: r };
|
|
1212
1212
|
return d.sheet.hydrate(s), d;
|
|
@@ -1214,8 +1214,8 @@ var Vi, Ri, pl = [function(e, t, o, n) {
|
|
|
1214
1214
|
process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
1215
1215
|
if (Vi) return q;
|
|
1216
1216
|
Vi = 1;
|
|
1217
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115,
|
|
1218
|
-
function
|
|
1217
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
1218
|
+
function h(p) {
|
|
1219
1219
|
if (typeof p == "object" && p !== null) {
|
|
1220
1220
|
var C = p.$$typeof;
|
|
1221
1221
|
switch (C) {
|
|
@@ -1232,7 +1232,7 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1232
1232
|
switch (p = p && p.$$typeof) {
|
|
1233
1233
|
case s:
|
|
1234
1234
|
case u:
|
|
1235
|
-
case
|
|
1235
|
+
case m:
|
|
1236
1236
|
case b:
|
|
1237
1237
|
case a:
|
|
1238
1238
|
return p;
|
|
@@ -1246,38 +1246,38 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
}
|
|
1248
1248
|
function y(p) {
|
|
1249
|
-
return
|
|
1249
|
+
return h(p) === l;
|
|
1250
1250
|
}
|
|
1251
|
-
return q.AsyncMode = c, q.ConcurrentMode = l, q.ContextConsumer = s, q.ContextProvider = a, q.Element = t, q.ForwardRef = u, q.Fragment = n, q.Lazy =
|
|
1252
|
-
return y(p) ||
|
|
1251
|
+
return q.AsyncMode = c, q.ConcurrentMode = l, q.ContextConsumer = s, q.ContextProvider = a, q.Element = t, q.ForwardRef = u, q.Fragment = n, q.Lazy = m, q.Memo = b, q.Portal = o, q.Profiler = i, q.StrictMode = r, q.Suspense = g, q.isAsyncMode = function(p) {
|
|
1252
|
+
return y(p) || h(p) === c;
|
|
1253
1253
|
}, q.isConcurrentMode = y, q.isContextConsumer = function(p) {
|
|
1254
|
-
return
|
|
1254
|
+
return h(p) === s;
|
|
1255
1255
|
}, q.isContextProvider = function(p) {
|
|
1256
|
-
return
|
|
1256
|
+
return h(p) === a;
|
|
1257
1257
|
}, q.isElement = function(p) {
|
|
1258
1258
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
1259
1259
|
}, q.isForwardRef = function(p) {
|
|
1260
|
-
return
|
|
1260
|
+
return h(p) === u;
|
|
1261
1261
|
}, q.isFragment = function(p) {
|
|
1262
|
-
return
|
|
1262
|
+
return h(p) === n;
|
|
1263
1263
|
}, q.isLazy = function(p) {
|
|
1264
|
-
return
|
|
1264
|
+
return h(p) === m;
|
|
1265
1265
|
}, q.isMemo = function(p) {
|
|
1266
|
-
return
|
|
1266
|
+
return h(p) === b;
|
|
1267
1267
|
}, q.isPortal = function(p) {
|
|
1268
|
-
return
|
|
1268
|
+
return h(p) === o;
|
|
1269
1269
|
}, q.isProfiler = function(p) {
|
|
1270
|
-
return
|
|
1270
|
+
return h(p) === i;
|
|
1271
1271
|
}, q.isStrictMode = function(p) {
|
|
1272
|
-
return
|
|
1272
|
+
return h(p) === r;
|
|
1273
1273
|
}, q.isSuspense = function(p) {
|
|
1274
|
-
return
|
|
1274
|
+
return h(p) === g;
|
|
1275
1275
|
}, q.isValidElementType = function(p) {
|
|
1276
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === r || p === g || p === d || typeof p == "object" && p !== null && (p.$$typeof ===
|
|
1277
|
-
}, q.typeOf =
|
|
1276
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === r || p === g || p === d || typeof p == "object" && p !== null && (p.$$typeof === m || p.$$typeof === b || p.$$typeof === a || p.$$typeof === s || p.$$typeof === u || p.$$typeof === v || p.$$typeof === S || p.$$typeof === I || p.$$typeof === f);
|
|
1277
|
+
}, q.typeOf = h, q;
|
|
1278
1278
|
}() : Cr.exports = (Ri || (Ri = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1279
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115,
|
|
1280
|
-
function
|
|
1279
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
|
|
1280
|
+
function h(k) {
|
|
1281
1281
|
if (typeof k == "object" && k !== null) {
|
|
1282
1282
|
var z = k.$$typeof;
|
|
1283
1283
|
switch (z) {
|
|
@@ -1296,7 +1296,7 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1296
1296
|
switch (se) {
|
|
1297
1297
|
case s:
|
|
1298
1298
|
case u:
|
|
1299
|
-
case
|
|
1299
|
+
case m:
|
|
1300
1300
|
case b:
|
|
1301
1301
|
case a:
|
|
1302
1302
|
return se;
|
|
@@ -1309,37 +1309,37 @@ process.env.NODE_ENV === "production" ? Cr.exports = function() {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
}
|
|
1311
1311
|
}
|
|
1312
|
-
var y = c, p = l, C = s,
|
|
1312
|
+
var y = c, p = l, C = s, A = a, M = t, F = u, V = n, Y = m, j = b, J = o, N = i, Z = r, G = g, B = !1;
|
|
1313
1313
|
function E(k) {
|
|
1314
|
-
return
|
|
1314
|
+
return h(k) === l;
|
|
1315
1315
|
}
|
|
1316
|
-
ee.AsyncMode = y, ee.ConcurrentMode = p, ee.ContextConsumer = C, ee.ContextProvider =
|
|
1317
|
-
return B || (B = !0), E(k) ||
|
|
1316
|
+
ee.AsyncMode = y, ee.ConcurrentMode = p, ee.ContextConsumer = C, ee.ContextProvider = A, ee.Element = M, ee.ForwardRef = F, ee.Fragment = V, ee.Lazy = Y, ee.Memo = j, ee.Portal = J, ee.Profiler = N, ee.StrictMode = Z, ee.Suspense = G, ee.isAsyncMode = function(k) {
|
|
1317
|
+
return B || (B = !0), E(k) || h(k) === c;
|
|
1318
1318
|
}, ee.isConcurrentMode = E, ee.isContextConsumer = function(k) {
|
|
1319
|
-
return
|
|
1319
|
+
return h(k) === s;
|
|
1320
1320
|
}, ee.isContextProvider = function(k) {
|
|
1321
|
-
return
|
|
1321
|
+
return h(k) === a;
|
|
1322
1322
|
}, ee.isElement = function(k) {
|
|
1323
1323
|
return typeof k == "object" && k !== null && k.$$typeof === t;
|
|
1324
1324
|
}, ee.isForwardRef = function(k) {
|
|
1325
|
-
return
|
|
1325
|
+
return h(k) === u;
|
|
1326
1326
|
}, ee.isFragment = function(k) {
|
|
1327
|
-
return
|
|
1327
|
+
return h(k) === n;
|
|
1328
1328
|
}, ee.isLazy = function(k) {
|
|
1329
|
-
return
|
|
1329
|
+
return h(k) === m;
|
|
1330
1330
|
}, ee.isMemo = function(k) {
|
|
1331
|
-
return
|
|
1331
|
+
return h(k) === b;
|
|
1332
1332
|
}, ee.isPortal = function(k) {
|
|
1333
|
-
return
|
|
1333
|
+
return h(k) === o;
|
|
1334
1334
|
}, ee.isProfiler = function(k) {
|
|
1335
|
-
return
|
|
1335
|
+
return h(k) === i;
|
|
1336
1336
|
}, ee.isStrictMode = function(k) {
|
|
1337
|
-
return
|
|
1337
|
+
return h(k) === r;
|
|
1338
1338
|
}, ee.isSuspense = function(k) {
|
|
1339
|
-
return
|
|
1339
|
+
return h(k) === g;
|
|
1340
1340
|
}, ee.isValidElementType = function(k) {
|
|
1341
|
-
return typeof k == "string" || typeof k == "function" || k === n || k === l || k === i || k === r || k === g || k === d || typeof k == "object" && k !== null && (k.$$typeof ===
|
|
1342
|
-
}, ee.typeOf =
|
|
1341
|
+
return typeof k == "string" || typeof k == "function" || k === n || k === l || k === i || k === r || k === g || k === d || typeof k == "object" && k !== null && (k.$$typeof === m || k.$$typeof === b || k.$$typeof === a || k.$$typeof === s || k.$$typeof === u || k.$$typeof === v || k.$$typeof === S || k.$$typeof === I || k.$$typeof === f);
|
|
1342
|
+
}, ee.typeOf = h;
|
|
1343
1343
|
}()), ee);
|
|
1344
1344
|
var Ti = Cr.exports, Oi = {};
|
|
1345
1345
|
Oi[Ti.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Oi[Ti.Memo] = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 };
|
|
@@ -1381,21 +1381,21 @@ function cn(e, t, o) {
|
|
|
1381
1381
|
return function(l, u, g) {
|
|
1382
1382
|
var d = "";
|
|
1383
1383
|
if (Array.isArray(g)) for (var b = 0; b < g.length; b++) d += cn(l, u, g[b]) + ";";
|
|
1384
|
-
else for (var
|
|
1385
|
-
var f = g[
|
|
1384
|
+
else for (var m in g) {
|
|
1385
|
+
var f = g[m];
|
|
1386
1386
|
if (typeof f != "object") {
|
|
1387
1387
|
var v = f;
|
|
1388
|
-
Xi(v) && (d += Ao(
|
|
1389
|
-
} else if (Array.isArray(f) && typeof f[0] == "string" && u == null) for (var S = 0; S < f.length; S++) Xi(f[S]) && (d += Ao(
|
|
1388
|
+
Xi(v) && (d += Ao(m) + ":" + Hi(m, v) + ";");
|
|
1389
|
+
} else if (Array.isArray(f) && typeof f[0] == "string" && u == null) for (var S = 0; S < f.length; S++) Xi(f[S]) && (d += Ao(m) + ":" + Hi(m, f[S]) + ";");
|
|
1390
1390
|
else {
|
|
1391
1391
|
var I = cn(l, u, f);
|
|
1392
|
-
switch (
|
|
1392
|
+
switch (m) {
|
|
1393
1393
|
case "animation":
|
|
1394
1394
|
case "animationName":
|
|
1395
|
-
d += Ao(
|
|
1395
|
+
d += Ao(m) + ":" + I + ";";
|
|
1396
1396
|
break;
|
|
1397
1397
|
default:
|
|
1398
|
-
d +=
|
|
1398
|
+
d += m + "{" + I + "}";
|
|
1399
1399
|
}
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
@@ -1420,8 +1420,8 @@ function Vs(e, t, o) {
|
|
|
1420
1420
|
Pi.lastIndex = 0;
|
|
1421
1421
|
for (var s, c = ""; (s = Pi.exec(r)) !== null; ) c += "-" + s[1];
|
|
1422
1422
|
var l = function(u) {
|
|
1423
|
-
for (var g, d = 0, b = 0,
|
|
1424
|
-
switch (
|
|
1423
|
+
for (var g, d = 0, b = 0, m = u.length; m >= 4; ++b, m -= 4) g = 1540483477 * (65535 & (g = 255 & u.charCodeAt(b) | (255 & u.charCodeAt(++b)) << 8 | (255 & u.charCodeAt(++b)) << 16 | (255 & u.charCodeAt(++b)) << 24)) + (59797 * (g >>> 16) << 16), d = 1540483477 * (65535 & (g ^= g >>> 24)) + (59797 * (g >>> 16) << 16) ^ 1540483477 * (65535 & d) + (59797 * (d >>> 16) << 16);
|
|
1424
|
+
switch (m) {
|
|
1425
1425
|
case 3:
|
|
1426
1426
|
d ^= (255 & u.charCodeAt(b + 2)) << 16;
|
|
1427
1427
|
case 2:
|
|
@@ -1437,7 +1437,7 @@ var vl = !!x.useInsertionEffect && x.useInsertionEffect || function(e) {
|
|
|
1437
1437
|
return e();
|
|
1438
1438
|
}, Rs = x.createContext(typeof HTMLElement < "u" ? ml({ key: "css" }) : null);
|
|
1439
1439
|
Rs.Provider;
|
|
1440
|
-
var wo,
|
|
1440
|
+
var wo, Fi, yl = function(e) {
|
|
1441
1441
|
return us(function(t, o) {
|
|
1442
1442
|
var n = zr(Rs);
|
|
1443
1443
|
return e(t, n, o);
|
|
@@ -1462,8 +1462,8 @@ var wo, ji, yl = function(e) {
|
|
|
1462
1462
|
var r = e[Sr], i = [n], a = "";
|
|
1463
1463
|
typeof e.className == "string" ? a = function(u, g, d) {
|
|
1464
1464
|
var b = "";
|
|
1465
|
-
return d.split(" ").forEach(function(
|
|
1466
|
-
u[
|
|
1465
|
+
return d.split(" ").forEach(function(m) {
|
|
1466
|
+
u[m] !== void 0 ? g.push(u[m] + ";") : m && (b += m + " ");
|
|
1467
1467
|
}), b;
|
|
1468
1468
|
}(t.registered, i, e.className) : e.className != null && (a = e.className + " ");
|
|
1469
1469
|
var s = Vs(i, void 0, x.useContext(Il));
|
|
@@ -1487,12 +1487,12 @@ function Wr() {
|
|
|
1487
1487
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++) t[o] = arguments[o];
|
|
1488
1488
|
return Vs(t);
|
|
1489
1489
|
}
|
|
1490
|
-
wo = H || (H = {}),
|
|
1490
|
+
wo = H || (H = {}), Fi || (Fi = wo.JSX || (wo.JSX = {}));
|
|
1491
1491
|
const Al = Math.min, wl = Math.max, Gn = Math.round, Nn = Math.floor, Ar = (e) => ({ x: e, y: e });
|
|
1492
1492
|
function uo() {
|
|
1493
1493
|
return typeof window < "u";
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function ji(e) {
|
|
1496
1496
|
return Os(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1497
1497
|
}
|
|
1498
1498
|
function wt(e) {
|
|
@@ -1523,12 +1523,12 @@ function Zr(e) {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
function Xs(e) {
|
|
1525
1525
|
const t = function(o) {
|
|
1526
|
-
if (
|
|
1526
|
+
if (ji(o) === "html") return o;
|
|
1527
1527
|
const n = o.assignedSlot || o.parentNode || Wi(o) && o.host || Ts(o);
|
|
1528
1528
|
return Wi(n) ? n.host : n;
|
|
1529
1529
|
}(e);
|
|
1530
1530
|
return function(o) {
|
|
1531
|
-
return Nl.has(
|
|
1531
|
+
return Nl.has(ji(o));
|
|
1532
1532
|
}(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : wr(t) && zs(t) ? t : Xs(t);
|
|
1533
1533
|
}
|
|
1534
1534
|
function Un(e, t, o) {
|
|
@@ -1554,8 +1554,8 @@ function Zi(e) {
|
|
|
1554
1554
|
const o = t.getBoundingClientRect(), { width: n, height: r, $: i } = function(c) {
|
|
1555
1555
|
const l = Zr(c);
|
|
1556
1556
|
let u = parseFloat(l.width) || 0, g = parseFloat(l.height) || 0;
|
|
1557
|
-
const d = wr(c), b = d ? c.offsetWidth : u,
|
|
1558
|
-
return f && (u = b, g =
|
|
1557
|
+
const d = wr(c), b = d ? c.offsetWidth : u, m = d ? c.offsetHeight : g, f = Gn(u) !== b || Gn(g) !== m;
|
|
1558
|
+
return f && (u = b, g = m), { width: u, height: g, $: f };
|
|
1559
1559
|
}(t);
|
|
1560
1560
|
let a = (i ? Gn(o.width) : o.width) / n, s = (i ? Gn(o.height) : o.height) / r;
|
|
1561
1561
|
return a && Number.isFinite(a) || (a = 1), s && Number.isFinite(s) || (s = 1), { x: a, y: s };
|
|
@@ -1569,15 +1569,15 @@ function Ji(e, t, o, n) {
|
|
|
1569
1569
|
let c = (r.left + s.x) / a.x, l = (r.top + s.y) / a.y, u = r.width / a.x, g = r.height / a.y;
|
|
1570
1570
|
if (i) {
|
|
1571
1571
|
const d = n;
|
|
1572
|
-
let b = wt(i),
|
|
1573
|
-
for (;
|
|
1574
|
-
const f = Zi(
|
|
1575
|
-
c *= f.x, l *= f.y, u *= f.x, g *= f.y, c += I, l +=
|
|
1572
|
+
let b = wt(i), m = Gr(b);
|
|
1573
|
+
for (; m && n && d !== b; ) {
|
|
1574
|
+
const f = Zi(m), v = m.getBoundingClientRect(), S = Zr(m), I = v.left + (m.clientLeft + parseFloat(S.paddingLeft)) * f.x, h = v.top + (m.clientTop + parseFloat(S.paddingTop)) * f.y;
|
|
1575
|
+
c *= f.x, l *= f.y, u *= f.x, g *= f.y, c += I, l += h, b = wt(m), m = Gr(b);
|
|
1576
1576
|
}
|
|
1577
1577
|
}
|
|
1578
1578
|
return function(d) {
|
|
1579
|
-
const { x: b, y:
|
|
1580
|
-
return { width: f, height: v, top:
|
|
1579
|
+
const { x: b, y: m, width: f, height: v } = d;
|
|
1580
|
+
return { width: f, height: v, top: m, left: b, right: b + f, bottom: m + v, x: b, y: m };
|
|
1581
1581
|
}({ width: u, height: g, x: c, y: l });
|
|
1582
1582
|
}
|
|
1583
1583
|
function Di(e, t) {
|
|
@@ -1647,40 +1647,40 @@ function Vl(e) {
|
|
|
1647
1647
|
function Mn(e, t, o) {
|
|
1648
1648
|
return e ? t : o;
|
|
1649
1649
|
}
|
|
1650
|
-
var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No,
|
|
1650
|
+
var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No, Fs = function(e) {
|
|
1651
1651
|
return e === "auto" ? "bottom" : e;
|
|
1652
|
-
},
|
|
1653
|
-
var t = e.children, o = e.minMenuHeight, n = e.maxMenuHeight, r = e.menuPlacement, i = e.menuPosition, a = e.menuShouldScrollIntoView, s = e.theme, c = (zr(
|
|
1652
|
+
}, js = ls(null), Ol = function(e) {
|
|
1653
|
+
var t = e.children, o = e.minMenuHeight, n = e.maxMenuHeight, r = e.menuPlacement, i = e.menuPosition, a = e.menuShouldScrollIntoView, s = e.theme, c = (zr(js) || {}).setPortalPlacement, l = Ce(null), u = fe(Ie(n), 2), g = u[0], d = u[1], b = fe(Ie(null), 2), m = b[0], f = b[1], v = s.spacing.controlHeight;
|
|
1654
1654
|
return Nr(function() {
|
|
1655
1655
|
var S = l.current;
|
|
1656
1656
|
if (S) {
|
|
1657
|
-
var I = i === "fixed",
|
|
1658
|
-
var p = y.maxHeight, C = y.menuEl,
|
|
1657
|
+
var I = i === "fixed", h = function(y) {
|
|
1658
|
+
var p = y.maxHeight, C = y.menuEl, A = y.minHeight, M = y.placement, F = y.shouldScroll, V = y.isFixedPosition, Y = y.controlHeight, j = function(lt) {
|
|
1659
1659
|
var _e = getComputedStyle(lt), ot = _e.position === "absolute", rt = /(auto|scroll)/;
|
|
1660
1660
|
if (_e.position === "fixed") return document.documentElement;
|
|
1661
1661
|
for (var It = lt; It = It.parentElement; ) if (_e = getComputedStyle(It), (!ot || _e.position !== "static") && rt.test(_e.overflow + _e.overflowY + _e.overflowX)) return It;
|
|
1662
1662
|
return document.documentElement;
|
|
1663
1663
|
}(C), J = { placement: "bottom", maxHeight: p };
|
|
1664
1664
|
if (!C || !C.offsetParent) return J;
|
|
1665
|
-
var N, Z =
|
|
1665
|
+
var N, Z = j.getBoundingClientRect().height, G = C.getBoundingClientRect(), B = G.bottom, E = G.height, k = G.top, z = C.offsetParent.getBoundingClientRect().top, _ = V || go(N = j) ? window.innerHeight : N.clientHeight, se = Hs(j), re = parseInt(getComputedStyle(C).marginBottom, 10), ge = parseInt(getComputedStyle(C).marginTop, 10), U = z - ge, ie = _ - k, Me = U + se, $ = Z - se - k, Ne = B - _ + se + re, De = se + k - ge, Ye = 160;
|
|
1666
1666
|
switch (M) {
|
|
1667
1667
|
case "auto":
|
|
1668
1668
|
case "bottom":
|
|
1669
1669
|
if (ie >= E) return { placement: "bottom", maxHeight: p };
|
|
1670
|
-
if ($ >= E && !
|
|
1671
|
-
if (!
|
|
1672
|
-
if (M === "auto" ||
|
|
1673
|
-
var Ke = p, nt =
|
|
1674
|
-
return nt >=
|
|
1670
|
+
if ($ >= E && !V) return F && kn(j, Ne, Ye), { placement: "bottom", maxHeight: p };
|
|
1671
|
+
if (!V && $ >= A || V && ie >= A) return F && kn(j, Ne, Ye), { placement: "bottom", maxHeight: V ? ie - re : $ - re };
|
|
1672
|
+
if (M === "auto" || V) {
|
|
1673
|
+
var Ke = p, nt = V ? U : Me;
|
|
1674
|
+
return nt >= A && (Ke = Math.min(nt - re - Y, p)), { placement: "top", maxHeight: Ke };
|
|
1675
1675
|
}
|
|
1676
|
-
if (M === "bottom") return
|
|
1676
|
+
if (M === "bottom") return F && Kn(j, Ne), { placement: "bottom", maxHeight: p };
|
|
1677
1677
|
break;
|
|
1678
1678
|
case "top":
|
|
1679
1679
|
if (U >= E) return { placement: "top", maxHeight: p };
|
|
1680
|
-
if (Me >= E && !
|
|
1681
|
-
if (!
|
|
1680
|
+
if (Me >= E && !V) return F && kn(j, De, Ye), { placement: "top", maxHeight: p };
|
|
1681
|
+
if (!V && Me >= A || V && U >= A) {
|
|
1682
1682
|
var ct = p;
|
|
1683
|
-
return (!
|
|
1683
|
+
return (!V && Me >= A || V && U >= A) && (ct = V ? U - ge : Me - ge), F && kn(j, De, Ye), { placement: "top", maxHeight: ct };
|
|
1684
1684
|
}
|
|
1685
1685
|
return { placement: "bottom", maxHeight: p };
|
|
1686
1686
|
default:
|
|
@@ -1688,17 +1688,17 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1688
1688
|
}
|
|
1689
1689
|
return J;
|
|
1690
1690
|
}({ maxHeight: n, menuEl: S, minHeight: o, placement: r, shouldScroll: a && !I, isFixedPosition: I, controlHeight: v });
|
|
1691
|
-
d(
|
|
1691
|
+
d(h.maxHeight), f(h.placement), c == null || c(h.placement);
|
|
1692
1692
|
}
|
|
1693
|
-
}, [n, r, i, a, o, c, v]), t({ ref: l, placerProps: L(L({}, e), {}, { placement:
|
|
1693
|
+
}, [n, r, i, a, o, c, v]), t({ ref: l, placerProps: L(L({}, e), {}, { placement: m || Fs(r), maxHeight: g }) });
|
|
1694
1694
|
}, Ws = function(e, t) {
|
|
1695
1695
|
var o = e.theme, n = o.spacing.baseUnit, r = o.colors;
|
|
1696
1696
|
return L({ textAlign: "center" }, t ? {} : { color: r.neutral40, padding: "".concat(2 * n, "px ").concat(3 * n, "px") });
|
|
1697
|
-
}, zl = Ws, Xl = Ws, Hl = ["size"], Pl = ["innerProps", "isRtl", "size"], jl = process.env.NODE_ENV === "production" ? { name: "8mmkcg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0" } : { name: "tj5bde-Svg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;", map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmc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RpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */", toString: function() {
|
|
1697
|
+
}, zl = Ws, Xl = Ws, Hl = ["size"], Pl = ["innerProps", "isRtl", "size"], Fl = process.env.NODE_ENV === "production" ? { name: "8mmkcg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0" } : { name: "tj5bde-Svg", styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;", map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,e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gICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */", toString: function() {
|
|
1698
1698
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1699
1699
|
} }, Zs = function(e) {
|
|
1700
1700
|
var t = e.size, o = st(e, Hl);
|
|
1701
|
-
return H("svg", P({ height: t, width: t, viewBox: "0 0 20 20", "aria-hidden": "true", focusable: "false", css:
|
|
1701
|
+
return H("svg", P({ height: t, width: t, viewBox: "0 0 20 20", "aria-hidden": "true", focusable: "false", css: Fl }, o));
|
|
1702
1702
|
}, ko = function(e) {
|
|
1703
1703
|
return H(Zs, P({ size: 20 }, e), H("path", { d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z" }));
|
|
1704
1704
|
}, Ki = function(e) {
|
|
@@ -1706,7 +1706,7 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1706
1706
|
}, Js = function(e, t) {
|
|
1707
1707
|
var o = e.isFocused, n = e.theme, r = n.spacing.baseUnit, i = n.colors;
|
|
1708
1708
|
return L({ label: "indicatorContainer", display: "flex", transition: "color 150ms" }, t ? {} : { color: o ? i.neutral60 : i.neutral20, padding: 2 * r, ":hover": { color: o ? i.neutral80 : i.neutral40 } });
|
|
1709
|
-
},
|
|
1709
|
+
}, jl = Js, Wl = Js, Zl = function() {
|
|
1710
1710
|
var e = Wr.apply(void 0, arguments), t = "animation-" + e.name;
|
|
1711
1711
|
return { name: t, styles: "@keyframes " + t + "{" + e.styles + "}", anim: 1, toString: function() {
|
|
1712
1712
|
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
@@ -1758,26 +1758,26 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1758
1758
|
var t = e.children, o = e.innerProps, n = e.innerRef, r = e.isMulti;
|
|
1759
1759
|
return H("div", P({}, ve(e, "menuList", { "menu-list": !0, "menu-list--is-multi": r }), { ref: n }, o), t);
|
|
1760
1760
|
}, MenuPortal: function(e) {
|
|
1761
|
-
var t = e.appendTo, o = e.children, n = e.controlElement, r = e.innerProps, i = e.menuPlacement, a = e.menuPosition, s = Ce(null), c = Ce(null), l = fe(Ie(
|
|
1761
|
+
var t = e.appendTo, o = e.children, n = e.controlElement, r = e.innerProps, i = e.menuPlacement, a = e.menuPosition, s = Ce(null), c = Ce(null), l = fe(Ie(Fs(i)), 2), u = l[0], g = l[1], d = St(function() {
|
|
1762
1762
|
return { setPortalPlacement: g };
|
|
1763
|
-
}, []), b = fe(Ie(null), 2),
|
|
1763
|
+
}, []), b = fe(Ie(null), 2), m = b[0], f = b[1], v = He(function() {
|
|
1764
1764
|
if (n) {
|
|
1765
|
-
var y = function(
|
|
1766
|
-
var M =
|
|
1765
|
+
var y = function(A) {
|
|
1766
|
+
var M = A.getBoundingClientRect();
|
|
1767
1767
|
return { bottom: M.bottom, height: M.height, left: M.left, right: M.right, top: M.top, width: M.width };
|
|
1768
1768
|
}(n), p = a === "fixed" ? 0 : window.pageYOffset, C = y[u] + p;
|
|
1769
|
-
C === (
|
|
1769
|
+
C === (m == null ? void 0 : m.offset) && y.left === (m == null ? void 0 : m.rect.left) && y.width === (m == null ? void 0 : m.rect.width) || f({ offset: C, rect: y });
|
|
1770
1770
|
}
|
|
1771
|
-
}, [n, a, u,
|
|
1771
|
+
}, [n, a, u, m == null ? void 0 : m.offset, m == null ? void 0 : m.rect.left, m == null ? void 0 : m.rect.width]);
|
|
1772
1772
|
Nr(function() {
|
|
1773
1773
|
v();
|
|
1774
1774
|
}, [v]);
|
|
1775
1775
|
var S = He(function() {
|
|
1776
|
-
typeof c.current == "function" && (c.current(), c.current = null), n && s.current && (c.current = function(y, p, C,
|
|
1777
|
-
|
|
1778
|
-
const { ancestorScroll: M = !0, ancestorResize:
|
|
1776
|
+
typeof c.current == "function" && (c.current(), c.current = null), n && s.current && (c.current = function(y, p, C, A) {
|
|
1777
|
+
A === void 0 && (A = {});
|
|
1778
|
+
const { ancestorScroll: M = !0, ancestorResize: F = !0, elementResize: V = typeof ResizeObserver == "function", layoutShift: Y = typeof IntersectionObserver == "function", animationFrame: j = !1 } = A, J = Jr(y), N = M || F ? [...J ? Un(J) : [], ...Un(p)] : [];
|
|
1779
1779
|
N.forEach((z) => {
|
|
1780
|
-
M && z.addEventListener("scroll", C, { passive: !0 }),
|
|
1780
|
+
M && z.addEventListener("scroll", C, { passive: !0 }), F && z.addEventListener("resize", C);
|
|
1781
1781
|
});
|
|
1782
1782
|
const Z = J && Y ? function(z, _) {
|
|
1783
1783
|
let se, re = null;
|
|
@@ -1811,22 +1811,22 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1811
1811
|
}(!0), U;
|
|
1812
1812
|
}(J, C) : null;
|
|
1813
1813
|
let G, B = -1, E = null;
|
|
1814
|
-
|
|
1814
|
+
V && (E = new ResizeObserver((z) => {
|
|
1815
1815
|
let [_] = z;
|
|
1816
1816
|
_ && _.target === J && E && (E.unobserve(p), cancelAnimationFrame(B), B = requestAnimationFrame(() => {
|
|
1817
1817
|
var se;
|
|
1818
1818
|
(se = E) == null || se.observe(p);
|
|
1819
1819
|
})), C();
|
|
1820
|
-
}), J && !
|
|
1821
|
-
let k =
|
|
1822
|
-
return
|
|
1820
|
+
}), J && !j && E.observe(J), E.observe(p));
|
|
1821
|
+
let k = j ? Ji(y) : null;
|
|
1822
|
+
return j && function z() {
|
|
1823
1823
|
const _ = Ji(y);
|
|
1824
1824
|
k && !Di(k, _) && C(), k = _, G = requestAnimationFrame(z);
|
|
1825
1825
|
}(), C(), () => {
|
|
1826
1826
|
var z;
|
|
1827
1827
|
N.forEach((_) => {
|
|
1828
|
-
M && _.removeEventListener("scroll", C),
|
|
1829
|
-
}), Z == null || Z(), (z = E) == null || z.disconnect(), E = null,
|
|
1828
|
+
M && _.removeEventListener("scroll", C), F && _.removeEventListener("resize", C);
|
|
1829
|
+
}), Z == null || Z(), (z = E) == null || z.disconnect(), E = null, j && cancelAnimationFrame(G);
|
|
1830
1830
|
};
|
|
1831
1831
|
}(n, s.current, v, { elementResize: "ResizeObserver" in window }));
|
|
1832
1832
|
}, [n, v]);
|
|
@@ -1836,9 +1836,9 @@ var Rl = ["children", "innerProps"], Tl = ["children", "innerProps"], Qi, Go, No
|
|
|
1836
1836
|
var I = He(function(y) {
|
|
1837
1837
|
s.current = y, S();
|
|
1838
1838
|
}, [S]);
|
|
1839
|
-
if (!t && a !== "fixed" || !
|
|
1840
|
-
var
|
|
1841
|
-
return H(
|
|
1839
|
+
if (!t && a !== "fixed" || !m) return null;
|
|
1840
|
+
var h = H("div", P({ ref: I }, ve(L(L({}, e), {}, { offset: m.offset, position: a, rect: m.rect }), "menuPortal", { "menu-portal": !0 }), r), o);
|
|
1841
|
+
return H(js.Provider, { value: d }, t ? ds(h, t) : h);
|
|
1842
1842
|
}, LoadingMessage: function(e) {
|
|
1843
1843
|
var t = e.children, o = t === void 0 ? "Loading..." : t, n = e.innerProps, r = st(e, Tl);
|
|
1844
1844
|
return H("div", P({}, ve(L(L({}, r), {}, { children: o, innerProps: n }), "loadingMessage", { "menu-notice": !0, "menu-notice--loading": !0 }), n), o);
|
|
@@ -1910,8 +1910,8 @@ for (var Kl = process.env.NODE_ENV === "production" ? { name: "7pg0cj-a11yText",
|
|
|
1910
1910
|
return "";
|
|
1911
1911
|
}
|
|
1912
1912
|
}, onFocus: function(e) {
|
|
1913
|
-
var t = e.context, o = e.focused, n = e.options, r = e.label, i = r === void 0 ? "" : r, a = e.selectValue, s = e.isDisabled, c = e.isSelected, l = e.isAppleDevice, u = function(b,
|
|
1914
|
-
return b && b.length ? "".concat(b.indexOf(
|
|
1913
|
+
var t = e.context, o = e.focused, n = e.options, r = e.label, i = r === void 0 ? "" : r, a = e.selectValue, s = e.isDisabled, c = e.isSelected, l = e.isAppleDevice, u = function(b, m) {
|
|
1914
|
+
return b && b.length ? "".concat(b.indexOf(m) + 1, " of ").concat(b.length) : "";
|
|
1915
1915
|
};
|
|
1916
1916
|
if (t === "value" && a) return "value ".concat(i, " focused, ").concat(u(a, o), ".");
|
|
1917
1917
|
if (t === "menu" && l) {
|
|
@@ -1923,37 +1923,37 @@ for (var Kl = process.env.NODE_ENV === "production" ? { name: "7pg0cj-a11yText",
|
|
|
1923
1923
|
var t = e.inputValue, o = e.resultsMessage;
|
|
1924
1924
|
return "".concat(o).concat(t ? " for search term " + t : "", ".");
|
|
1925
1925
|
} }, eu = function(e) {
|
|
1926
|
-
var t = e.ariaSelection, o = e.focusedOption, n = e.focusedValue, r = e.focusableOptions, i = e.isFocused, a = e.selectValue, s = e.selectProps, c = e.id, l = e.isAppleDevice, u = s.ariaLiveMessages, g = s.getOptionLabel, d = s.inputValue, b = s.isMulti,
|
|
1926
|
+
var t = e.ariaSelection, o = e.focusedOption, n = e.focusedValue, r = e.focusableOptions, i = e.isFocused, a = e.selectValue, s = e.selectProps, c = e.id, l = e.isAppleDevice, u = s.ariaLiveMessages, g = s.getOptionLabel, d = s.inputValue, b = s.isMulti, m = s.isOptionDisabled, f = s.isSearchable, v = s.menuIsOpen, S = s.options, I = s.screenReaderStatus, h = s.tabSelectsValue, y = s.isLoading, p = s["aria-label"], C = s["aria-live"], A = St(function() {
|
|
1927
1927
|
return L(L({}, ql), u || {});
|
|
1928
1928
|
}, [u]), M = St(function() {
|
|
1929
1929
|
var N, Z = "";
|
|
1930
|
-
if (t &&
|
|
1931
|
-
var G = t.option, B = t.options, E = t.removedValue, k = t.removedValues, z = t.value, _ = E || G || (N = z, Array.isArray(N) ? null : N), se = _ ? g(_) : "", re = B || k || void 0, ge = re ? re.map(g) : [], U = L({ isDisabled: _ &&
|
|
1932
|
-
Z =
|
|
1930
|
+
if (t && A.onChange) {
|
|
1931
|
+
var G = t.option, B = t.options, E = t.removedValue, k = t.removedValues, z = t.value, _ = E || G || (N = z, Array.isArray(N) ? null : N), se = _ ? g(_) : "", re = B || k || void 0, ge = re ? re.map(g) : [], U = L({ isDisabled: _ && m(_, a), label: se, labels: ge }, t);
|
|
1932
|
+
Z = A.onChange(U);
|
|
1933
1933
|
}
|
|
1934
1934
|
return Z;
|
|
1935
|
-
}, [t,
|
|
1935
|
+
}, [t, A, m, a, g]), F = St(function() {
|
|
1936
1936
|
var N = "", Z = o || n, G = !!(o && a && a.includes(o));
|
|
1937
|
-
if (Z &&
|
|
1938
|
-
var B = { focused: Z, label: g(Z), isDisabled:
|
|
1939
|
-
N =
|
|
1937
|
+
if (Z && A.onFocus) {
|
|
1938
|
+
var B = { focused: Z, label: g(Z), isDisabled: m(Z, a), isSelected: G, options: r, context: Z === o ? "menu" : "value", selectValue: a, isAppleDevice: l };
|
|
1939
|
+
N = A.onFocus(B);
|
|
1940
1940
|
}
|
|
1941
1941
|
return N;
|
|
1942
|
-
}, [o, n, g,
|
|
1942
|
+
}, [o, n, g, m, A, r, a, l]), V = St(function() {
|
|
1943
1943
|
var N = "";
|
|
1944
|
-
if (v && S.length && !y &&
|
|
1944
|
+
if (v && S.length && !y && A.onFilter) {
|
|
1945
1945
|
var Z = I({ count: r.length });
|
|
1946
|
-
N =
|
|
1946
|
+
N = A.onFilter({ inputValue: d, resultsMessage: Z });
|
|
1947
1947
|
}
|
|
1948
1948
|
return N;
|
|
1949
|
-
}, [r, d, v,
|
|
1949
|
+
}, [r, d, v, A, S, I, y]), Y = (t == null ? void 0 : t.action) === "initial-input-focus", j = St(function() {
|
|
1950
1950
|
var N = "";
|
|
1951
|
-
if (
|
|
1951
|
+
if (A.guidance) {
|
|
1952
1952
|
var Z = n ? "value" : v ? "menu" : "input";
|
|
1953
|
-
N =
|
|
1953
|
+
N = A.guidance({ "aria-label": p, context: Z, isDisabled: o && m(o, a), isMulti: b, isSearchable: f, tabSelectsValue: h, isInitialFocus: Y });
|
|
1954
1954
|
}
|
|
1955
1955
|
return N;
|
|
1956
|
-
}, [p, o, n, b,
|
|
1956
|
+
}, [p, o, n, b, m, f, v, A, a, h, Y]), J = H(ar, null, H("span", { id: "aria-selection" }, M), H("span", { id: "aria-focused" }, F), H("span", { id: "aria-results" }, V), H("span", { id: "aria-guidance" }, j));
|
|
1957
1957
|
return H(ar, null, H(ta, { id: c }, Y && J), H(ta, { "aria-live": C, "aria-atomic": "false", "aria-relevant": "additions text", role: "log" }, i && !Y && J));
|
|
1958
1958
|
}, Mo = [{ base: "A", letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ" }, { base: "AA", letters: "Ꜳ" }, { base: "AE", letters: "ÆǼǢ" }, { base: "AO", letters: "Ꜵ" }, { base: "AU", letters: "Ꜷ" }, { base: "AV", letters: "ꜸꜺ" }, { base: "AY", letters: "Ꜽ" }, { base: "B", letters: "BⒷBḂḄḆɃƂƁ" }, { base: "C", letters: "CⒸCĆĈĊČÇḈƇȻꜾ" }, { base: "D", letters: "DⒹDḊĎḌḐḒḎĐƋƊƉꝹ" }, { base: "DZ", letters: "DZDŽ" }, { base: "Dz", letters: "DzDž" }, { base: "E", letters: "EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ" }, { base: "F", letters: "FⒻFḞƑꝻ" }, { base: "G", letters: "GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ" }, { base: "H", letters: "HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ" }, { base: "I", letters: "IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ" }, { base: "J", letters: "JⒿJĴɈ" }, { base: "K", letters: "KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ" }, { base: "L", letters: "LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ" }, { base: "LJ", letters: "LJ" }, { base: "Lj", letters: "Lj" }, { base: "M", letters: "MⓂMḾṀṂⱮƜ" }, { base: "N", letters: "NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ" }, { base: "NJ", letters: "NJ" }, { base: "Nj", letters: "Nj" }, { base: "O", letters: "OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ" }, { base: "OI", letters: "Ƣ" }, { base: "OO", letters: "Ꝏ" }, { base: "OU", letters: "Ȣ" }, { base: "P", letters: "PⓅPṔṖƤⱣꝐꝒꝔ" }, { base: "Q", letters: "QⓆQꝖꝘɊ" }, { base: "R", letters: "RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ" }, { base: "S", letters: "SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ" }, { base: "T", letters: "TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ" }, { base: "TZ", letters: "Ꜩ" }, { base: "U", letters: "UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ" }, { base: "V", letters: "VⓋVṼṾƲꝞɅ" }, { base: "VY", letters: "Ꝡ" }, { base: "W", letters: "WⓌWẀẂŴẆẄẈⱲ" }, { base: "X", letters: "XⓍXẊẌ" }, { base: "Y", letters: "YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ" }, { base: "Z", letters: "ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ" }, { base: "a", letters: "aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ" }, { base: "aa", letters: "ꜳ" }, { base: "ae", letters: "æǽǣ" }, { base: "ao", letters: "ꜵ" }, { base: "au", letters: "ꜷ" }, { base: "av", letters: "ꜹꜻ" }, { base: "ay", letters: "ꜽ" }, { base: "b", letters: "bⓑbḃḅḇƀƃɓ" }, { base: "c", letters: "cⓒcćĉċčçḉƈȼꜿↄ" }, { base: "d", letters: "dⓓdḋďḍḑḓḏđƌɖɗꝺ" }, { base: "dz", letters: "dzdž" }, { base: "e", letters: "eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ" }, { base: "f", letters: "fⓕfḟƒꝼ" }, { base: "g", letters: "gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ" }, { base: "h", letters: "hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ" }, { base: "hv", letters: "ƕ" }, { base: "i", letters: "iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı" }, { base: "j", letters: "jⓙjĵǰɉ" }, { base: "k", letters: "kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ" }, { base: "l", letters: "lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ" }, { base: "lj", letters: "lj" }, { base: "m", letters: "mⓜmḿṁṃɱɯ" }, { base: "n", letters: "nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ" }, { base: "nj", letters: "nj" }, { base: "o", letters: "oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ" }, { base: "oi", letters: "ƣ" }, { base: "ou", letters: "ȣ" }, { base: "oo", letters: "ꝏ" }, { base: "p", letters: "pⓟpṕṗƥᵽꝑꝓꝕ" }, { base: "q", letters: "qⓠqɋꝗꝙ" }, { base: "r", letters: "rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ" }, { base: "s", letters: "sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ" }, { base: "t", letters: "tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ" }, { base: "tz", letters: "ꜩ" }, { base: "u", letters: "uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ" }, { base: "v", letters: "vⓥvṽṿʋꝟʌ" }, { base: "vy", letters: "ꝡ" }, { base: "w", letters: "wⓦwẁẃŵẇẅẘẉⱳ" }, { base: "x", letters: "xⓧxẋẍ" }, { base: "y", letters: "yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ" }, { base: "z", letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ" }], tu = new RegExp("[" + Mo.map(function(e) {
|
|
1959
1959
|
return e.letters;
|
|
@@ -2007,7 +2007,7 @@ function sa() {
|
|
|
2007
2007
|
function ca() {
|
|
2008
2008
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
2009
2009
|
}
|
|
2010
|
-
var la = !(typeof window > "u" || !window.document || !window.document.createElement),
|
|
2010
|
+
var la = !(typeof window > "u" || !window.document || !window.document.createElement), tn = 0, Xt = { capture: !1, passive: !1 }, au = function(e) {
|
|
2011
2011
|
var t = e.target;
|
|
2012
2012
|
return t.ownerDocument.activeElement && t.ownerDocument.activeElement.blur();
|
|
2013
2013
|
}, su = process.env.NODE_ENV === "production" ? { name: "1kfdb0e", styles: "position:fixed;left:0;bottom:0;right:0;top:0" } : { name: "bp8cua-ScrollManager", styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;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VGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */", toString: function() {
|
|
@@ -2015,28 +2015,28 @@ var la = !(typeof window > "u" || !window.document || !window.document.createEle
|
|
|
2015
2015
|
} };
|
|
2016
2016
|
function cu(e) {
|
|
2017
2017
|
var t = e.children, o = e.lockEnabled, n = e.captureEnabled, r = function(a) {
|
|
2018
|
-
var s = a.isEnabled, c = a.onBottomArrive, l = a.onBottomLeave, u = a.onTopArrive, g = a.onTopLeave, d = Ce(!1), b = Ce(!1),
|
|
2018
|
+
var s = a.isEnabled, c = a.onBottomArrive, l = a.onBottomLeave, u = a.onTopArrive, g = a.onTopLeave, d = Ce(!1), b = Ce(!1), m = Ce(0), f = Ce(null), v = He(function(C, A) {
|
|
2019
2019
|
if (f.current !== null) {
|
|
2020
|
-
var M = f.current,
|
|
2021
|
-
N >
|
|
2020
|
+
var M = f.current, F = M.scrollTop, V = M.scrollHeight, Y = M.clientHeight, j = f.current, J = A > 0, N = V - Y - F, Z = !1;
|
|
2021
|
+
N > A && d.current && (l && l(C), d.current = !1), J && b.current && (g && g(C), b.current = !1), J && A > N ? (c && !d.current && c(C), j.scrollTop = V, Z = !0, d.current = !0) : !J && -A > F && (u && !b.current && u(C), j.scrollTop = 0, Z = !0, b.current = !0), Z && function(G) {
|
|
2022
2022
|
G.cancelable && G.preventDefault(), G.stopPropagation();
|
|
2023
2023
|
}(C);
|
|
2024
2024
|
}
|
|
2025
2025
|
}, [c, l, u, g]), S = He(function(C) {
|
|
2026
2026
|
v(C, C.deltaY);
|
|
2027
2027
|
}, [v]), I = He(function(C) {
|
|
2028
|
-
|
|
2029
|
-
}, []),
|
|
2030
|
-
var
|
|
2031
|
-
v(C,
|
|
2028
|
+
m.current = C.changedTouches[0].clientY;
|
|
2029
|
+
}, []), h = He(function(C) {
|
|
2030
|
+
var A = m.current - C.changedTouches[0].clientY;
|
|
2031
|
+
v(C, A);
|
|
2032
2032
|
}, [v]), y = He(function(C) {
|
|
2033
2033
|
if (C) {
|
|
2034
|
-
var
|
|
2035
|
-
C.addEventListener("wheel", S,
|
|
2034
|
+
var A = !!El && { passive: !1 };
|
|
2035
|
+
C.addEventListener("wheel", S, A), C.addEventListener("touchstart", I, A), C.addEventListener("touchmove", h, A);
|
|
2036
2036
|
}
|
|
2037
|
-
}, [
|
|
2038
|
-
C && (C.removeEventListener("wheel", S, !1), C.removeEventListener("touchstart", I, !1), C.removeEventListener("touchmove",
|
|
2039
|
-
}, [
|
|
2037
|
+
}, [h, I, S]), p = He(function(C) {
|
|
2038
|
+
C && (C.removeEventListener("wheel", S, !1), C.removeEventListener("touchstart", I, !1), C.removeEventListener("touchmove", h, !1));
|
|
2039
|
+
}, [h, I, S]);
|
|
2040
2040
|
return Pe(function() {
|
|
2041
2041
|
if (s) {
|
|
2042
2042
|
var C = f.current;
|
|
@@ -2048,39 +2048,39 @@ function cu(e) {
|
|
|
2048
2048
|
f.current = C;
|
|
2049
2049
|
};
|
|
2050
2050
|
}({ isEnabled: n === void 0 || n, onBottomArrive: e.onBottomArrive, onBottomLeave: e.onBottomLeave, onTopArrive: e.onTopArrive, onTopLeave: e.onTopLeave }), i = function(a) {
|
|
2051
|
-
var s = a.isEnabled, c = a.accountForScrollbars, l = c === void 0 || c, u = Ce({}), g = Ce(null), d = He(function(
|
|
2051
|
+
var s = a.isEnabled, c = a.accountForScrollbars, l = c === void 0 || c, u = Ce({}), g = Ce(null), d = He(function(m) {
|
|
2052
2052
|
if (la) {
|
|
2053
2053
|
var f = document.body, v = f && f.style;
|
|
2054
2054
|
if (l && oa.forEach(function(y) {
|
|
2055
2055
|
var p = v && v[y];
|
|
2056
2056
|
u.current[y] = p;
|
|
2057
|
-
}), l &&
|
|
2058
|
-
var S = parseInt(u.current.paddingRight, 10) || 0, I = document.body ? document.body.clientWidth : 0,
|
|
2057
|
+
}), l && tn < 1) {
|
|
2058
|
+
var S = parseInt(u.current.paddingRight, 10) || 0, I = document.body ? document.body.clientWidth : 0, h = window.innerWidth - I + S || 0;
|
|
2059
2059
|
Object.keys(ra).forEach(function(y) {
|
|
2060
2060
|
var p = ra[y];
|
|
2061
2061
|
v && (v[y] = p);
|
|
2062
|
-
}), v && (v.paddingRight = "".concat(
|
|
2062
|
+
}), v && (v.paddingRight = "".concat(h, "px"));
|
|
2063
2063
|
}
|
|
2064
|
-
f && ca() && (f.addEventListener("touchmove", ia, Xt),
|
|
2064
|
+
f && ca() && (f.addEventListener("touchmove", ia, Xt), m && (m.addEventListener("touchstart", sa, Xt), m.addEventListener("touchmove", aa, Xt))), tn += 1;
|
|
2065
2065
|
}
|
|
2066
|
-
}, [l]), b = He(function(
|
|
2066
|
+
}, [l]), b = He(function(m) {
|
|
2067
2067
|
if (la) {
|
|
2068
2068
|
var f = document.body, v = f && f.style;
|
|
2069
|
-
|
|
2069
|
+
tn = Math.max(tn - 1, 0), l && tn < 1 && oa.forEach(function(S) {
|
|
2070
2070
|
var I = u.current[S];
|
|
2071
2071
|
v && (v[S] = I);
|
|
2072
|
-
}), f && ca() && (f.removeEventListener("touchmove", ia, Xt),
|
|
2072
|
+
}), f && ca() && (f.removeEventListener("touchmove", ia, Xt), m && (m.removeEventListener("touchstart", sa, Xt), m.removeEventListener("touchmove", aa, Xt)));
|
|
2073
2073
|
}
|
|
2074
2074
|
}, [l]);
|
|
2075
2075
|
return Pe(function() {
|
|
2076
2076
|
if (s) {
|
|
2077
|
-
var
|
|
2078
|
-
return d(
|
|
2079
|
-
b(
|
|
2077
|
+
var m = g.current;
|
|
2078
|
+
return d(m), function() {
|
|
2079
|
+
b(m);
|
|
2080
2080
|
};
|
|
2081
2081
|
}
|
|
2082
|
-
}, [s, d, b]), function(
|
|
2083
|
-
g.current =
|
|
2082
|
+
}, [s, d, b]), function(m) {
|
|
2083
|
+
g.current = m;
|
|
2084
2084
|
};
|
|
2085
2085
|
}({ isEnabled: o });
|
|
2086
2086
|
return H(ar, null, o && H("div", { onClick: au, css: su }), t(function(a) {
|
|
@@ -2107,7 +2107,7 @@ var du = { clearIndicator: Wl, container: function(e) {
|
|
|
2107
2107
|
}, control: function(e, t) {
|
|
2108
2108
|
var o = e.isDisabled, n = e.isFocused, r = e.theme, i = r.colors, a = r.borderRadius;
|
|
2109
2109
|
return L({ label: "control", alignItems: "center", cursor: "default", display: "flex", flexWrap: "wrap", justifyContent: "space-between", minHeight: r.spacing.controlHeight, outline: "0 !important", position: "relative", transition: "all 100ms" }, t ? {} : { backgroundColor: o ? i.neutral5 : i.neutral0, borderColor: o ? i.neutral10 : n ? i.primary : i.neutral20, borderRadius: a, borderStyle: "solid", borderWidth: 1, boxShadow: n ? "0 0 0 1px ".concat(i.primary) : void 0, "&:hover": { borderColor: n ? i.primary : i.neutral30 } });
|
|
2110
|
-
}, dropdownIndicator:
|
|
2110
|
+
}, dropdownIndicator: jl, group: function(e, t) {
|
|
2111
2111
|
var o = e.theme.spacing;
|
|
2112
2112
|
return t ? {} : { paddingBottom: 2 * o.baseUnit, paddingTop: 2 * o.baseUnit };
|
|
2113
2113
|
}, groupHeading: function(e, t) {
|
|
@@ -2126,9 +2126,9 @@ var du = { clearIndicator: Wl, container: function(e) {
|
|
|
2126
2126
|
return L({ label: "loadingIndicator", display: "flex", transition: "color 150ms", alignSelf: "center", fontSize: n, lineHeight: 1, marginRight: n, textAlign: "center", verticalAlign: "middle" }, t ? {} : { color: o ? i.neutral60 : i.neutral20, padding: 2 * a });
|
|
2127
2127
|
}, loadingMessage: Xl, menu: function(e, t) {
|
|
2128
2128
|
var o, n = e.placement, r = e.theme, i = r.borderRadius, a = r.spacing, s = r.colors;
|
|
2129
|
-
return L((
|
|
2129
|
+
return L((je(o = { label: "menu" }, function(c) {
|
|
2130
2130
|
return c ? { bottom: "top", top: "bottom" }[c] : "bottom";
|
|
2131
|
-
}(n), "100%"),
|
|
2131
|
+
}(n), "100%"), je(o, "position", "absolute"), je(o, "width", "100%"), je(o, "zIndex", 1), o), t ? {} : { backgroundColor: s.neutral0, borderRadius: i, boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)", marginBottom: a.menuGutter, marginTop: a.menuGutter });
|
|
2132
2132
|
}, menuList: function(e, t) {
|
|
2133
2133
|
var o = e.maxHeight, n = e.theme.spacing.baseUnit;
|
|
2134
2134
|
return L({ maxHeight: o, overflowY: "auto", position: "relative", WebkitOverflowScrolling: "touch" }, t ? {} : { paddingBottom: n, paddingTop: n });
|
|
@@ -2284,14 +2284,14 @@ var qs = function(e) {
|
|
|
2284
2284
|
var u = n.props, g = u.closeMenuOnSelect, d = u.isMulti, b = u.inputValue;
|
|
2285
2285
|
n.onInputChange("", { action: "set-value", prevInputValue: b }), g && (n.setState({ inputIsHiddenAfterUpdate: !d }), n.onMenuClose()), n.setState({ clearFocusValueOnUpdate: !0 }), n.onChange(s, { action: c, option: l });
|
|
2286
2286
|
}, n.selectOption = function(s) {
|
|
2287
|
-
var c = n.props, l = c.blurInputOnSelect, u = c.isMulti, g = c.name, d = n.state.selectValue, b = u && n.isOptionSelected(s, d),
|
|
2287
|
+
var c = n.props, l = c.blurInputOnSelect, u = c.isMulti, g = c.name, d = n.state.selectValue, b = u && n.isOptionSelected(s, d), m = n.isOptionDisabled(s, d);
|
|
2288
2288
|
if (b) {
|
|
2289
2289
|
var f = n.getOptionValue(s);
|
|
2290
2290
|
n.setValue(d.filter(function(v) {
|
|
2291
2291
|
return n.getOptionValue(v) !== f;
|
|
2292
2292
|
}), "deselect-option", s);
|
|
2293
2293
|
} else {
|
|
2294
|
-
if (
|
|
2294
|
+
if (m) return void n.ariaOnChange(s, { action: "select-option", option: s, name: g });
|
|
2295
2295
|
u ? n.setValue([].concat(at(d), [s]), "select-option", s) : n.setValue(s, "select-option");
|
|
2296
2296
|
}
|
|
2297
2297
|
l && n.blurInput();
|
|
@@ -2401,8 +2401,8 @@ var qs = function(e) {
|
|
|
2401
2401
|
}, n.onValueInputFocus = function(s) {
|
|
2402
2402
|
s.preventDefault(), s.stopPropagation(), n.focus();
|
|
2403
2403
|
}, n.onKeyDown = function(s) {
|
|
2404
|
-
var c = n.props, l = c.isMulti, u = c.backspaceRemovesValue, g = c.escapeClearsValue, d = c.inputValue, b = c.isClearable,
|
|
2405
|
-
if (!(
|
|
2404
|
+
var c = n.props, l = c.isMulti, u = c.backspaceRemovesValue, g = c.escapeClearsValue, d = c.inputValue, b = c.isClearable, m = c.isDisabled, f = c.menuIsOpen, v = c.onKeyDown, S = c.tabSelectsValue, I = c.openMenuOnFocus, h = n.state, y = h.focusedOption, p = h.focusedValue, C = h.selectValue;
|
|
2405
|
+
if (!(m || typeof v == "function" && (v(s), s.defaultPrevented))) {
|
|
2406
2406
|
switch (n.blockOptionHover = !0, s.key) {
|
|
2407
2407
|
case "ArrowLeft":
|
|
2408
2408
|
if (!l || d) return;
|
|
@@ -2563,19 +2563,19 @@ var qs = function(e) {
|
|
|
2563
2563
|
} }, { key: "stopListeningToTouch", value: function() {
|
|
2564
2564
|
document && document.removeEventListener && (document.removeEventListener("touchstart", this.onTouchStart), document.removeEventListener("touchmove", this.onTouchMove), document.removeEventListener("touchend", this.onTouchEnd));
|
|
2565
2565
|
} }, { key: "renderInput", value: function() {
|
|
2566
|
-
var o = this.props, n = o.isDisabled, r = o.isSearchable, i = o.inputId, a = o.inputValue, s = o.tabIndex, c = o.form, l = o.menuIsOpen, u = o.required, g = this.getComponents().Input, d = this.state, b = d.inputIsHidden,
|
|
2566
|
+
var o = this.props, n = o.isDisabled, r = o.isSearchable, i = o.inputId, a = o.inputValue, s = o.tabIndex, c = o.form, l = o.menuIsOpen, u = o.required, g = this.getComponents().Input, d = this.state, b = d.inputIsHidden, m = d.ariaSelection, f = this.commonProps, v = i || this.getElementId("input"), S = L(L(L({ "aria-autocomplete": "list", "aria-expanded": l, "aria-haspopup": !0, "aria-errormessage": this.props["aria-errormessage"], "aria-invalid": this.props["aria-invalid"], "aria-label": this.props["aria-label"], "aria-labelledby": this.props["aria-labelledby"], "aria-required": u, role: "combobox", "aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || "" }, l && { "aria-controls": this.getElementId("listbox") }), !r && { "aria-readonly": !0 }), this.hasValue() ? (m == null ? void 0 : m.action) === "initial-input-focus" && { "aria-describedby": this.getElementId("live-region") } : { "aria-describedby": this.getElementId("placeholder") });
|
|
2567
2567
|
return r ? x.createElement(g, P({}, f, { autoCapitalize: "none", autoComplete: "off", autoCorrect: "off", id: v, innerRef: this.getInputRef, isDisabled: n, isHidden: b, onBlur: this.onInputBlur, onChange: this.handleInputChange, onFocus: this.onInputFocus, spellCheck: "false", tabIndex: s, form: c, type: "text", value: a }, S)) : x.createElement(iu, P({ id: v, innerRef: this.getInputRef, onBlur: this.onInputBlur, onChange: Qn, onFocus: this.onInputFocus, disabled: n, tabIndex: s, inputMode: "none", form: c, value: "" }, S));
|
|
2568
2568
|
} }, { key: "renderPlaceholderOrValue", value: function() {
|
|
2569
|
-
var o = this, n = this.getComponents(), r = n.MultiValue, i = n.MultiValueContainer, a = n.MultiValueLabel, s = n.MultiValueRemove, c = n.SingleValue, l = n.Placeholder, u = this.commonProps, g = this.props, d = g.controlShouldRenderValue, b = g.isDisabled,
|
|
2569
|
+
var o = this, n = this.getComponents(), r = n.MultiValue, i = n.MultiValueContainer, a = n.MultiValueLabel, s = n.MultiValueRemove, c = n.SingleValue, l = n.Placeholder, u = this.commonProps, g = this.props, d = g.controlShouldRenderValue, b = g.isDisabled, m = g.isMulti, f = g.inputValue, v = g.placeholder, S = this.state, I = S.selectValue, h = S.focusedValue, y = S.isFocused;
|
|
2570
2570
|
if (!this.hasValue() || !d) return f ? null : x.createElement(l, P({}, u, { key: "placeholder", isDisabled: b, isFocused: y, innerProps: { id: this.getElementId("placeholder") } }), v);
|
|
2571
|
-
if (
|
|
2572
|
-
var M = C ===
|
|
2573
|
-
return x.createElement(r, P({}, u, { components: { Container: i, Label: a, Remove: s }, isFocused: M, isDisabled: b, key:
|
|
2571
|
+
if (m) return I.map(function(C, A) {
|
|
2572
|
+
var M = C === h, F = "".concat(o.getOptionLabel(C), "-").concat(o.getOptionValue(C));
|
|
2573
|
+
return x.createElement(r, P({}, u, { components: { Container: i, Label: a, Remove: s }, isFocused: M, isDisabled: b, key: F, index: A, removeProps: { onClick: function() {
|
|
2574
2574
|
return o.removeValue(C);
|
|
2575
2575
|
}, onTouchEnd: function() {
|
|
2576
2576
|
return o.removeValue(C);
|
|
2577
|
-
}, onMouseDown: function(
|
|
2578
|
-
|
|
2577
|
+
}, onMouseDown: function(V) {
|
|
2578
|
+
V.preventDefault();
|
|
2579
2579
|
} }, data: C }), o.formatOptionLabel(C, "value"));
|
|
2580
2580
|
});
|
|
2581
2581
|
if (f) return null;
|
|
@@ -2600,7 +2600,7 @@ var qs = function(e) {
|
|
|
2600
2600
|
var n = this.commonProps, r = this.props.isDisabled, i = this.state.isFocused, a = { onMouseDown: this.onDropdownIndicatorMouseDown, onTouchEnd: this.onDropdownIndicatorTouchEnd, "aria-hidden": "true" };
|
|
2601
2601
|
return x.createElement(o, P({}, n, { innerProps: a, isDisabled: r, isFocused: i }));
|
|
2602
2602
|
} }, { key: "renderMenu", value: function() {
|
|
2603
|
-
var o = this, n = this.getComponents(), r = n.Group, i = n.GroupHeading, a = n.Menu, s = n.MenuList, c = n.MenuPortal, l = n.LoadingMessage, u = n.NoOptionsMessage, g = n.Option, d = this.commonProps, b = this.state.focusedOption,
|
|
2603
|
+
var o = this, n = this.getComponents(), r = n.Group, i = n.GroupHeading, a = n.Menu, s = n.MenuList, c = n.MenuPortal, l = n.LoadingMessage, u = n.NoOptionsMessage, g = n.Option, d = this.commonProps, b = this.state.focusedOption, m = this.props, f = m.captureMenuScroll, v = m.inputValue, S = m.isLoading, I = m.loadingMessage, h = m.minMenuHeight, y = m.maxMenuHeight, p = m.menuIsOpen, C = m.menuPlacement, A = m.menuPosition, M = m.menuPortalTarget, F = m.menuShouldBlockScroll, V = m.menuShouldScrollIntoView, Y = m.noOptionsMessage, j = m.onMenuScrollToTop, J = m.onMenuScrollToBottom;
|
|
2604
2604
|
if (!p) return null;
|
|
2605
2605
|
var N, Z = function(z, _) {
|
|
2606
2606
|
var se = z.type, re = z.data, ge = z.isDisabled, U = z.isSelected, ie = z.label, Me = z.value, $ = b === re, Ne = ge ? void 0 : function() {
|
|
@@ -2628,15 +2628,15 @@ var qs = function(e) {
|
|
|
2628
2628
|
if (B === null) return null;
|
|
2629
2629
|
N = x.createElement(u, d, B);
|
|
2630
2630
|
}
|
|
2631
|
-
var E = { minMenuHeight:
|
|
2631
|
+
var E = { minMenuHeight: h, maxMenuHeight: y, menuPlacement: C, menuPosition: A, menuShouldScrollIntoView: V }, k = x.createElement(Ol, P({}, d, E), function(z) {
|
|
2632
2632
|
var _ = z.ref, se = z.placerProps, re = se.placement, ge = se.maxHeight;
|
|
2633
|
-
return x.createElement(a, P({}, d, E, { innerRef: _, innerProps: { onMouseDown: o.onMenuMouseDown, onMouseMove: o.onMenuMouseMove }, isLoading: S, placement: re }), x.createElement(cu, { captureEnabled: f, onTopArrive:
|
|
2633
|
+
return x.createElement(a, P({}, d, E, { innerRef: _, innerProps: { onMouseDown: o.onMenuMouseDown, onMouseMove: o.onMenuMouseMove }, isLoading: S, placement: re }), x.createElement(cu, { captureEnabled: f, onTopArrive: j, onBottomArrive: J, lockEnabled: F }, function(U) {
|
|
2634
2634
|
return x.createElement(s, P({}, d, { innerRef: function(ie) {
|
|
2635
2635
|
o.getMenuListRef(ie), U(ie);
|
|
2636
2636
|
}, innerProps: { role: "listbox", "aria-multiselectable": d.isMulti, id: o.getElementId("listbox") }, isLoading: S, maxHeight: ge, focusedOption: b }), N);
|
|
2637
2637
|
}));
|
|
2638
2638
|
});
|
|
2639
|
-
return M ||
|
|
2639
|
+
return M || A === "fixed" ? x.createElement(c, P({}, d, { appendTo: M, controlElement: this.controlRef, menuPlacement: C, menuPosition: A }), k) : k;
|
|
2640
2640
|
} }, { key: "renderFormField", value: function() {
|
|
2641
2641
|
var o = this, n = this.props, r = n.delimiter, i = n.isDisabled, a = n.isMulti, s = n.name, c = n.required, l = this.state.selectValue;
|
|
2642
2642
|
if (c && !this.hasValue() && !i) return x.createElement(uu, { name: s, onFocus: this.onValueInputFocus });
|
|
@@ -2648,8 +2648,8 @@ var qs = function(e) {
|
|
|
2648
2648
|
}).join(r);
|
|
2649
2649
|
return x.createElement("input", { name: s, type: "hidden", value: u });
|
|
2650
2650
|
}
|
|
2651
|
-
var g = l.length > 0 ? l.map(function(b,
|
|
2652
|
-
return x.createElement("input", { key: "i-".concat(
|
|
2651
|
+
var g = l.length > 0 ? l.map(function(b, m) {
|
|
2652
|
+
return x.createElement("input", { key: "i-".concat(m), name: s, type: "hidden", value: o.getOptionValue(b) });
|
|
2653
2653
|
}) : x.createElement("input", { name: s, type: "hidden", value: "" });
|
|
2654
2654
|
return x.createElement("div", null, g);
|
|
2655
2655
|
}
|
|
@@ -2663,41 +2663,41 @@ var qs = function(e) {
|
|
|
2663
2663
|
var o = this.getComponents(), n = o.Control, r = o.IndicatorsContainer, i = o.SelectContainer, a = o.ValueContainer, s = this.props, c = s.className, l = s.id, u = s.isDisabled, g = s.menuIsOpen, d = this.state.isFocused, b = this.commonProps = this.getCommonProps();
|
|
2664
2664
|
return x.createElement(i, P({}, b, { className: c, innerProps: { id: l, onKeyDown: this.onKeyDown }, isDisabled: u, isFocused: d }), this.renderLiveRegion(), x.createElement(n, P({}, b, { innerRef: this.getControlRef, innerProps: { onMouseDown: this.onControlMouseDown, onTouchEnd: this.onControlTouchEnd }, isDisabled: u, isFocused: d, menuIsOpen: g }), x.createElement(a, P({}, b, { isDisabled: u }), this.renderPlaceholderOrValue(), this.renderInput()), x.createElement(r, P({}, b, { isDisabled: u }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
2665
2665
|
} }], [{ key: "getDerivedStateFromProps", value: function(o, n) {
|
|
2666
|
-
var r = n.prevProps, i = n.clearFocusValueOnUpdate, a = n.inputIsHiddenAfterUpdate, s = n.ariaSelection, c = n.isFocused, l = n.prevWasFocused, u = n.instancePrefix, g = o.options, d = o.value, b = o.menuIsOpen,
|
|
2667
|
-
if (r && (d !== r.value || g !== r.options || b !== r.menuIsOpen ||
|
|
2668
|
-
var I = b ? function(
|
|
2669
|
-
return ga(Ln(
|
|
2670
|
-
}(o, v) : [],
|
|
2671
|
-
var Y =
|
|
2672
|
-
if (
|
|
2673
|
-
if (
|
|
2674
|
-
if (
|
|
2666
|
+
var r = n.prevProps, i = n.clearFocusValueOnUpdate, a = n.inputIsHiddenAfterUpdate, s = n.ariaSelection, c = n.isFocused, l = n.prevWasFocused, u = n.instancePrefix, g = o.options, d = o.value, b = o.menuIsOpen, m = o.inputValue, f = o.isMulti, v = Yi(d), S = {};
|
|
2667
|
+
if (r && (d !== r.value || g !== r.options || b !== r.menuIsOpen || m !== r.inputValue)) {
|
|
2668
|
+
var I = b ? function(F, V) {
|
|
2669
|
+
return ga(Ln(F, V));
|
|
2670
|
+
}(o, v) : [], h = b ? pa(Ln(o, v), "".concat(u, "-option")) : [], y = i ? function(F, V) {
|
|
2671
|
+
var Y = F.focusedValue, j = F.selectValue.indexOf(Y);
|
|
2672
|
+
if (j > -1) {
|
|
2673
|
+
if (V.indexOf(Y) > -1) return Y;
|
|
2674
|
+
if (j < V.length) return V[j];
|
|
2675
2675
|
}
|
|
2676
2676
|
return null;
|
|
2677
|
-
}(n, v) : null, p = function(
|
|
2678
|
-
var Y =
|
|
2679
|
-
return Y &&
|
|
2677
|
+
}(n, v) : null, p = function(F, V) {
|
|
2678
|
+
var Y = F.focusedOption;
|
|
2679
|
+
return Y && V.indexOf(Y) > -1 ? Y : V[0];
|
|
2680
2680
|
}(n, I);
|
|
2681
|
-
S = { selectValue: v, focusedOption: p, focusedOptionId: To(
|
|
2681
|
+
S = { selectValue: v, focusedOption: p, focusedOptionId: To(h, p), focusableOptionsWithIds: h, focusedValue: y, clearFocusValueOnUpdate: !1 };
|
|
2682
2682
|
}
|
|
2683
|
-
var C = a != null && o !== r ? { inputIsHidden: a, inputIsHiddenAfterUpdate: void 0 } : {},
|
|
2684
|
-
return c && !M && (
|
|
2683
|
+
var C = a != null && o !== r ? { inputIsHidden: a, inputIsHiddenAfterUpdate: void 0 } : {}, A = s, M = c && l;
|
|
2684
|
+
return c && !M && (A = { value: Mn(f, v, v[0] || null), options: v, action: "initial-input-focus" }, M = !l), (s == null ? void 0 : s.action) === "initial-input-focus" && (A = null), L(L(L({}, S), C), {}, { prevProps: o, ariaSelection: A, prevWasFocused: M });
|
|
2685
2685
|
} }]), t;
|
|
2686
2686
|
}();
|
|
2687
2687
|
ec.defaultProps = gu;
|
|
2688
2688
|
var mu = us(function(e, t) {
|
|
2689
2689
|
var o = function(n) {
|
|
2690
|
-
var r = n.defaultInputValue, i = r === void 0 ? "" : r, a = n.defaultMenuIsOpen, s = a !== void 0 && a, c = n.defaultValue, l = c === void 0 ? null : c, u = n.inputValue, g = n.menuIsOpen, d = n.onChange, b = n.onInputChange,
|
|
2691
|
-
typeof d == "function" && d(E, k),
|
|
2692
|
-
}, [d]),
|
|
2690
|
+
var r = n.defaultInputValue, i = r === void 0 ? "" : r, a = n.defaultMenuIsOpen, s = a !== void 0 && a, c = n.defaultValue, l = c === void 0 ? null : c, u = n.inputValue, g = n.menuIsOpen, d = n.onChange, b = n.onInputChange, m = n.onMenuClose, f = n.onMenuOpen, v = n.value, S = st(n, Qc), I = fe(Ie(u !== void 0 ? u : i), 2), h = I[0], y = I[1], p = fe(Ie(g !== void 0 ? g : s), 2), C = p[0], A = p[1], M = fe(Ie(v !== void 0 ? v : l), 2), F = M[0], V = M[1], Y = He(function(E, k) {
|
|
2691
|
+
typeof d == "function" && d(E, k), V(E);
|
|
2692
|
+
}, [d]), j = He(function(E, k) {
|
|
2693
2693
|
var z;
|
|
2694
2694
|
typeof b == "function" && (z = b(E, k)), y(z !== void 0 ? z : E);
|
|
2695
2695
|
}, [b]), J = He(function() {
|
|
2696
|
-
typeof f == "function" && f(),
|
|
2696
|
+
typeof f == "function" && f(), A(!0);
|
|
2697
2697
|
}, [f]), N = He(function() {
|
|
2698
|
-
typeof
|
|
2699
|
-
}, [
|
|
2700
|
-
return L(L({}, S), {}, { inputValue: Z, menuIsOpen: G, onChange: Y, onInputChange:
|
|
2698
|
+
typeof m == "function" && m(), A(!1);
|
|
2699
|
+
}, [m]), Z = u !== void 0 ? u : h, G = g !== void 0 ? g : C, B = v !== void 0 ? v : F;
|
|
2700
|
+
return L(L({}, S), {}, { inputValue: Z, menuIsOpen: G, onChange: Y, onInputChange: j, onMenuClose: N, onMenuOpen: J, value: B });
|
|
2701
2701
|
}(e);
|
|
2702
2702
|
return x.createElement(ec, P({ ref: t }, o));
|
|
2703
2703
|
}), tc = mu;
|
|
@@ -2705,13 +2705,13 @@ const En = { accAccessibilityMenu__overlay: "_accAccessibilityMenu__overlay_1yac
|
|
|
2705
2705
|
const { t: s } = Hr(), c = yt("_accMenuContentBlock_ba9px_1", { [fu]: n, [bu]: a }), l = () => {
|
|
2706
2706
|
o(t);
|
|
2707
2707
|
}, u = n ? void 0 : "button", g = n ? void 0 : 0;
|
|
2708
|
-
return
|
|
2708
|
+
return w.jsxs("div", { onClick: n ? void 0 : l, role: u, className: c, tabIndex: g, children: [n && w.jsx("div", { className: "_accMenuContentBlock__expendButtonContainer_ba9px_46", children: w.jsx("button", { onClick: l, children: w.jsx(hu, {}) }) }), !n && w.jsxs("div", { className: "_accMenuContentBlock__titleContainer_ba9px_28", children: [w.jsx(r, {}), w.jsx("h3", { className: "_accMenuContentBlock__title_ba9px_28", children: s(i) })] }), n && w.jsx("div", { className: "_accMenuContentBlock__content_ba9px_69", children: e })] });
|
|
2709
2709
|
}, vu = "_isToggled_gu4kw_18", yu = "_isActive_gu4kw_26", ha = "_accButton__icon_gu4kw_38", Iu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "QuestionMarkIcon", ...e }, x.createElement("path", { d: "M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z" })), Cu = ({ elementType: e, children: t, ...o }) => {
|
|
2710
2710
|
const n = e === "button" ? "button" : "div", r = e === "div" ? 0 : void 0;
|
|
2711
|
-
return
|
|
2711
|
+
return w.jsx(n, { tabIndex: r, ...o, children: t });
|
|
2712
2712
|
}, be = ({ Icon: e, isToggled: t, isActive: o, children: n, onToggle: r, titleTranslationKey: i, elementType: a = "button", title: s, stats: c, styleIcon: l, styleTitle: u, className: g, tooltipTranslationKey: d }) => {
|
|
2713
|
-
const { t: b } = Hr(),
|
|
2714
|
-
return
|
|
2713
|
+
const { t: b } = Hr(), m = yt(`_accButton_gu4kw_1 ${g}`, { [vu]: t, [yu]: o });
|
|
2714
|
+
return w.jsxs(Cu, { elementType: a, onClick: r, className: m, children: [c && w.jsx("span", { className: "_accButton__stats_gu4kw_61", children: c }), d ? w.jsxs(w.Fragment, { children: [w.jsx(Iu, { title: "Help", className: `${ha} _accButton__icon--help_gu4kw_42` }), w.jsx("span", { "data-tooltip": b(d ?? "") ?? void 0 })] }) : null, w.jsx(e, { style: l, title: s, className: ha }), w.jsx("h2", { style: u, className: "_accButton__title_gu4kw_29", children: b(i) }), w.jsx("div", { className: "_accButton__content_gu4kw_55", children: n })] });
|
|
2715
2715
|
}, xu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "TextIncreaseIcon", ...e }, x.createElement("path", { d: "M.99 19h2.42l1.27-3.58h5.65L11.59 19h2.42L8.75 5h-2.5L.99 19zm4.42-5.61L7.44 7.6h.12l2.03 5.79H5.41zM20 11h3v2h-3v3h-2v-3h-3v-2h3V8h2v3z" })), Su = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AddIcon", ...e }, x.createElement("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" })), Au = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RemoveIcon", ...e }, x.createElement("path", { d: "M19 13H5v-2h14v2z" })), Ue = ({ controlType: e, onClick: t, style: o }) => {
|
|
2716
2716
|
let n;
|
|
2717
2717
|
switch (e) {
|
|
@@ -2724,10 +2724,10 @@ const En = { accAccessibilityMenu__overlay: "_accAccessibilityMenu__overlay_1yac
|
|
|
2724
2724
|
default:
|
|
2725
2725
|
n = bs;
|
|
2726
2726
|
}
|
|
2727
|
-
return
|
|
2728
|
-
},
|
|
2727
|
+
return w.jsx("button", { style: o, onClick: t, className: "_accValueControlButton_1pw3b_1", children: w.jsx(n, {}) });
|
|
2728
|
+
}, Ut = ({ onIncrease: e, onToggle: t, onDescrease: o }) => w.jsxs("div", { className: "_accValueControl_p53sg_1", children: [w.jsx(Ue, { onClick: e, controlType: "increase" }), w.jsx(Ue, { onClick: t, controlType: "init" }), w.jsx(Ue, { onClick: o, controlType: "decrease" })] }), wu = ({ accState: e, onChangeAccState: t }) => {
|
|
2729
2729
|
const { adjustFontSizePercentage: o } = e;
|
|
2730
|
-
return
|
|
2730
|
+
return w.jsx(be, { elementType: "div", Icon: xu, titleTranslationKey: "content.adjustFontSize", title: "Adjust Font Size", stats: `${o}%`, children: w.jsx(Ut, { onIncrease: () => {
|
|
2731
2731
|
t((n) => {
|
|
2732
2732
|
const { adjustFontSizePercentage: r } = n;
|
|
2733
2733
|
r < 200 && (n.adjustFontSizePercentage += 10);
|
|
@@ -2814,21 +2814,21 @@ html.acc-font-weight{
|
|
|
2814
2814
|
}, [e, t]);
|
|
2815
2815
|
}, Nu = ({ accState: e, onChangeAccState: t }) => {
|
|
2816
2816
|
const { isDyslexiaFont: o } = e;
|
|
2817
|
-
return nc(o),
|
|
2817
|
+
return nc(o), w.jsx(be, { Icon: Gu, isToggled: o, onToggle: () => {
|
|
2818
2818
|
t((n) => {
|
|
2819
2819
|
n.isDyslexiaFont = !n.isDyslexiaFont;
|
|
2820
2820
|
});
|
|
2821
2821
|
}, titleTranslationKey: "content.dyslexiaFont", title: "Dyslexia Font" });
|
|
2822
2822
|
}, ku = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "FormatBoldIcon", ...e }, x.createElement("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z" })), Bu = ({ accState: e, onChangeAccState: t }) => {
|
|
2823
2823
|
const { isFontWeightBold: o } = e;
|
|
2824
|
-
return
|
|
2824
|
+
return w.jsx(be, { Icon: ku, isToggled: o, onToggle: () => {
|
|
2825
2825
|
t((n) => {
|
|
2826
2826
|
n.isFontWeightBold = !n.isFontWeightBold;
|
|
2827
2827
|
});
|
|
2828
2828
|
}, titleTranslationKey: "content.fontWeight", title: "Font Weight" });
|
|
2829
2829
|
}, Mu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "FormatAlignCenterIcon", ...e }, x.createElement("path", { d: "M7 15v2h10v-2H7zm-4 6h18v-2H3v2zm0-8h18v-2H3v2zm4-6v2h10V7H7zM3 3v2h18V3H3z" })), zo = Be.memo(({ direction: e, accState: t, onChangeAccState: o, translationKey: n }) => {
|
|
2830
2830
|
const { textAlign: r } = t, i = !!r[e];
|
|
2831
|
-
return
|
|
2831
|
+
return w.jsx(be, { Icon: Mu, isToggled: i, onToggle: () => {
|
|
2832
2832
|
o((a) => {
|
|
2833
2833
|
const s = a.textAlign[e];
|
|
2834
2834
|
a.textAlign[e] = s ? null : e;
|
|
@@ -2836,14 +2836,14 @@ html.acc-font-weight{
|
|
|
2836
2836
|
}, titleTranslationKey: n, title: "Text Align" });
|
|
2837
2837
|
}), Lu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "LinkIcon", ...e }, x.createElement("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z" })), Eu = ({ accState: e, onChangeAccState: t }) => {
|
|
2838
2838
|
const { highlightLinks: o } = e;
|
|
2839
|
-
return
|
|
2839
|
+
return w.jsx(be, { Icon: Lu, isToggled: o, onToggle: () => {
|
|
2840
2840
|
t((n) => {
|
|
2841
2841
|
n.highlightLinks = !n.highlightLinks;
|
|
2842
2842
|
});
|
|
2843
2843
|
}, titleTranslationKey: "content.highlightLinks", title: "Highlight Links" });
|
|
2844
2844
|
}, Vu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "TitleIcon", ...e }, x.createElement("path", { d: "M5 4v3h5.5v12h3V7H19V4z" })), Ru = ({ accState: e, onChangeAccState: t }) => {
|
|
2845
2845
|
const { highlightTitles: o } = e;
|
|
2846
|
-
return
|
|
2846
|
+
return w.jsx(be, { Icon: Vu, isToggled: o, onToggle: () => {
|
|
2847
2847
|
t((n) => {
|
|
2848
2848
|
n.highlightTitles = !n.highlightTitles;
|
|
2849
2849
|
});
|
|
@@ -2855,7 +2855,7 @@ html.acc-font-weight{
|
|
|
2855
2855
|
i.letterSpacing = a ? 0 : 1;
|
|
2856
2856
|
});
|
|
2857
2857
|
};
|
|
2858
|
-
return
|
|
2858
|
+
return w.jsx(be, { Icon: Tu, titleTranslationKey: "content.letterSpacing", title: "Letter Spacing", stats: o ? `${o}px` : void 0, elementType: n ? "div" : "button", isActive: n, onToggle: n ? void 0 : r, children: n ? w.jsx(Ut, { onIncrease: () => {
|
|
2859
2859
|
t((i) => {
|
|
2860
2860
|
i.letterSpacing++;
|
|
2861
2861
|
});
|
|
@@ -2871,7 +2871,7 @@ html.acc-font-weight{
|
|
|
2871
2871
|
i.wordSpacing = a ? 0 : 1;
|
|
2872
2872
|
});
|
|
2873
2873
|
};
|
|
2874
|
-
return
|
|
2874
|
+
return w.jsx(be, { Icon: zu, titleTranslationKey: "content.wordsSpacing", title: "Word Spacing", stats: o ? `${o}px` : void 0, elementType: n ? "div" : "button", isActive: n, onToggle: n ? void 0 : r, children: n ? w.jsx(Ut, { onIncrease: () => {
|
|
2875
2875
|
t((i) => {
|
|
2876
2876
|
i.wordSpacing++;
|
|
2877
2877
|
});
|
|
@@ -2887,33 +2887,33 @@ html.acc-font-weight{
|
|
|
2887
2887
|
i.lineHeight.isLineHeight = a, i.lineHeight.lineHeight = a ? 3 : 0;
|
|
2888
2888
|
});
|
|
2889
2889
|
};
|
|
2890
|
-
return
|
|
2890
|
+
return w.jsx(be, { Icon: Hu, titleTranslationKey: "content.lineHeight", title: "Line Height", elementType: n ? "div" : "button", isActive: n, onToggle: n ? void 0 : r, stats: o ? `${(100 * o).toFixed(0)}%` : void 0, children: n ? w.jsxs("div", { className: "_accLineHeightButton_n1tdk_1", children: [n && w.jsx(Ue, { onClick: () => {
|
|
2891
2891
|
t((i) => {
|
|
2892
2892
|
i.lineHeight.lineHeight += 0.1;
|
|
2893
2893
|
});
|
|
2894
|
-
}, controlType: "increase" }),
|
|
2894
|
+
}, controlType: "increase" }), w.jsx(Ue, { onClick: r, controlType: "init" }), n && w.jsx(Ue, { onClick: () => {
|
|
2895
2895
|
t((i) => {
|
|
2896
2896
|
i.lineHeight.lineHeight > 0.1 && (i.lineHeight.lineHeight -= 0.1);
|
|
2897
2897
|
});
|
|
2898
2898
|
}, controlType: "decrease" })] }) : null });
|
|
2899
|
-
},
|
|
2899
|
+
}, Fu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "ZoomInIcon", ...e }, x.createElement("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }), x.createElement("path", { d: "M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z" })), ju = ({ accState: e, onChangeAccState: t }) => {
|
|
2900
2900
|
const { zoom: o } = e.zoom;
|
|
2901
|
-
return
|
|
2901
|
+
return w.jsx(be, { elementType: "div", Icon: Fu, titleTranslationKey: "content.zoom", title: "Zoom", stats: o ? `${(100 * o).toFixed(0)}%` : void 0, children: w.jsxs("div", { className: "_accZoomButton_1fl6t_1", children: [w.jsx(Ue, { onClick: () => {
|
|
2902
2902
|
t((n) => {
|
|
2903
2903
|
n.zoom.isZoom = !0, n.zoom.zoom += 0.1;
|
|
2904
2904
|
});
|
|
2905
|
-
}, controlType: "increase" }),
|
|
2905
|
+
}, controlType: "increase" }), w.jsx(Ue, { onClick: () => {
|
|
2906
2906
|
t((n) => {
|
|
2907
2907
|
n.zoom.isZoom = !1, n.zoom.zoom = 1;
|
|
2908
2908
|
});
|
|
2909
|
-
}, controlType: "init" }),
|
|
2909
|
+
}, controlType: "init" }), w.jsx(Ue, { onClick: () => {
|
|
2910
2910
|
t((n) => {
|
|
2911
2911
|
n.zoom.zoom > 0.1 && (n.zoom.isZoom = !0, n.zoom.zoom -= 0.1);
|
|
2912
2912
|
});
|
|
2913
2913
|
}, controlType: "decrease" })] }) });
|
|
2914
|
-
}, Wu = ({ accState: e, onChangeAccState: t }) =>
|
|
2914
|
+
}, Wu = ({ accState: e, onChangeAccState: t }) => w.jsxs(w.Fragment, { children: [w.jsx(wu, { accState: e, onChangeAccState: t }), w.jsx(Nu, { accState: e, onChangeAccState: t }), w.jsx(Bu, { accState: e, onChangeAccState: t }), w.jsx(zo, { accState: e, onChangeAccState: t, direction: "left", translationKey: "content.textAlignLeft" }), w.jsx(zo, { accState: e, onChangeAccState: t, direction: "center", translationKey: "content.textAlignCenter" }), w.jsx(zo, { accState: e, onChangeAccState: t, direction: "right", translationKey: "content.textAlignRight" }), w.jsx(Eu, { accState: e, onChangeAccState: t }), w.jsx(Ru, { accState: e, onChangeAccState: t }), w.jsx(Ou, { accState: e, onChangeAccState: t }), w.jsx(Xu, { accState: e, onChangeAccState: t }), w.jsx(Pu, { accState: e, onChangeAccState: t }), w.jsx(ju, { accState: e, onChangeAccState: t })] }), Zu = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "VisibilitySharpIcon", ...e }, x.createElement("path", { d: "M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z" })), Ju = ({ accState: e, onChangeAccState: t }) => {
|
|
2915
2915
|
const { isBlueLightFilter: o } = e;
|
|
2916
|
-
return
|
|
2916
|
+
return w.jsx(be, { Icon: Zu, isToggled: o, onToggle: () => {
|
|
2917
2917
|
t((n) => {
|
|
2918
2918
|
n.isBlueLightFilter = !n.isBlueLightFilter;
|
|
2919
2919
|
});
|
|
@@ -2969,7 +2969,7 @@ function _u(e, t) {
|
|
|
2969
2969
|
function oc(e, t, o) {
|
|
2970
2970
|
t || Br[o] || (e(!1, o), Br[o] = !0);
|
|
2971
2971
|
}
|
|
2972
|
-
function
|
|
2972
|
+
function Dt(e, t) {
|
|
2973
2973
|
oc(Yu, e, t);
|
|
2974
2974
|
}
|
|
2975
2975
|
function Mr(e, t, o) {
|
|
@@ -2992,26 +2992,26 @@ function Yr(e, t, o, n) {
|
|
|
2992
2992
|
}
|
|
2993
2993
|
return i;
|
|
2994
2994
|
}
|
|
2995
|
-
function
|
|
2995
|
+
function Wt(e, t) {
|
|
2996
2996
|
return Array.isArray(e) ? e[t] : e;
|
|
2997
2997
|
}
|
|
2998
|
-
|
|
2998
|
+
Dt.preMessage = function(e) {
|
|
2999
2999
|
Dr.push(e);
|
|
3000
|
-
},
|
|
3000
|
+
}, Dt.resetWarned = function() {
|
|
3001
3001
|
Br = {};
|
|
3002
|
-
},
|
|
3002
|
+
}, Dt.noteOnce = function(e, t) {
|
|
3003
3003
|
oc(_u, e, t);
|
|
3004
3004
|
};
|
|
3005
3005
|
var Rt = x.createContext({ min: 0, max: 0, direction: "ltr", step: 1, includedStart: 0, includedEnd: 0, tabIndex: 0, keyboard: !0, styles: {}, classNames: {} }), $u = ["prefixCls", "value", "valueIndex", "onStartMove", "style", "render", "dragging", "onOffsetChange", "onChangeComplete", "onFocus", "onMouseEnter"], Lr = x.forwardRef(function(e, t) {
|
|
3006
|
-
var o, n = e.prefixCls, r = e.value, i = e.valueIndex, a = e.onStartMove, s = e.style, c = e.render, l = e.dragging, u = e.onOffsetChange, g = e.onChangeComplete, d = e.onFocus, b = e.onMouseEnter,
|
|
3007
|
-
|
|
3006
|
+
var o, n = e.prefixCls, r = e.value, i = e.valueIndex, a = e.onStartMove, s = e.style, c = e.render, l = e.dragging, u = e.onOffsetChange, g = e.onChangeComplete, d = e.onFocus, b = e.onMouseEnter, m = st(e, $u), f = x.useContext(Rt), v = f.min, S = f.max, I = f.direction, h = f.disabled, y = f.keyboard, p = f.range, C = f.tabIndex, A = f.ariaLabelForHandle, M = f.ariaLabelledByForHandle, F = f.ariaValueTextFormatterForHandle, V = f.styles, Y = f.classNames, j = "".concat(n, "-handle"), J = function(B) {
|
|
3007
|
+
h || a(B, i);
|
|
3008
3008
|
}, N = Yr(I, r, v, S), Z = {};
|
|
3009
|
-
i !== null && (Z = { tabIndex:
|
|
3009
|
+
i !== null && (Z = { tabIndex: h ? null : Wt(C, i), role: "slider", "aria-valuemin": v, "aria-valuemax": S, "aria-valuenow": r, "aria-disabled": h, "aria-label": Wt(A, i), "aria-labelledby": Wt(M, i), "aria-valuetext": (o = Wt(F, i)) === null || o === void 0 ? void 0 : o(r), "aria-orientation": I === "ltr" || I === "rtl" ? "horizontal" : "vertical", onMouseDown: J, onTouchStart: J, onFocus: function(B) {
|
|
3010
3010
|
d == null || d(B, i);
|
|
3011
3011
|
}, onMouseEnter: function(B) {
|
|
3012
3012
|
b(B, i);
|
|
3013
3013
|
}, onKeyDown: function(B) {
|
|
3014
|
-
if (!
|
|
3014
|
+
if (!h && y) {
|
|
3015
3015
|
var E = null;
|
|
3016
3016
|
switch (B.which || B.keyCode) {
|
|
3017
3017
|
case 37:
|
|
@@ -3053,7 +3053,7 @@ var Rt = x.createContext({ min: 0, max: 0, direction: "ltr", step: 1, includedSt
|
|
|
3053
3053
|
g == null || g();
|
|
3054
3054
|
}
|
|
3055
3055
|
} });
|
|
3056
|
-
var G = x.createElement("div", P({ ref: t, className: yt(
|
|
3056
|
+
var G = x.createElement("div", P({ ref: t, className: yt(j, je(je({}, "".concat(j, "-").concat(i + 1), i !== null && p), "".concat(j, "-dragging"), l), Y.handle), style: L(L(L({}, N), s), V.handle) }, Z, m));
|
|
3057
3057
|
return c && (G = c(G, { index: i, prefixCls: n, value: r, dragging: l })), G;
|
|
3058
3058
|
});
|
|
3059
3059
|
process.env.NODE_ENV !== "production" && (Lr.displayName = "Handle");
|
|
@@ -3065,21 +3065,21 @@ var Uu = ["prefixCls", "style", "onStartMove", "onOffsetChange", "values", "hand
|
|
|
3065
3065
|
(I = d.current[S]) === null || I === void 0 || I.focus();
|
|
3066
3066
|
} };
|
|
3067
3067
|
});
|
|
3068
|
-
var b = fe(x.useState(-1), 2),
|
|
3068
|
+
var b = fe(x.useState(-1), 2), m = b[0], f = b[1], v = L({ prefixCls: o, onStartMove: r, onOffsetChange: i, render: s, onFocus: function(S, I) {
|
|
3069
3069
|
f(I), u == null || u(S);
|
|
3070
3070
|
}, onMouseEnter: function(S, I) {
|
|
3071
3071
|
f(I);
|
|
3072
3072
|
} }, g);
|
|
3073
3073
|
return x.createElement(x.Fragment, null, a.map(function(S, I) {
|
|
3074
|
-
return x.createElement(Lr, P({ ref: function(
|
|
3075
|
-
|
|
3076
|
-
}, dragging: l === I, style:
|
|
3077
|
-
}), c && x.createElement(Lr, P({ key: "a11y" }, v, { value: a[
|
|
3074
|
+
return x.createElement(Lr, P({ ref: function(h) {
|
|
3075
|
+
h ? d.current[I] = h : delete d.current[I];
|
|
3076
|
+
}, dragging: l === I, style: Wt(n, I), key: I, value: S, valueIndex: I }, v));
|
|
3077
|
+
}), c && x.createElement(Lr, P({ key: "a11y" }, v, { value: a[m], valueIndex: null, dragging: l !== -1, render: c, style: { pointerEvents: "none" }, tabIndex: null, "aria-hidden": !0 })));
|
|
3078
3078
|
});
|
|
3079
3079
|
process.env.NODE_ENV !== "production" && (rc.displayName = "Handles");
|
|
3080
3080
|
var Ca, xa, Qu = function(e) {
|
|
3081
|
-
var t = e.prefixCls, o = e.style, n = e.children, r = e.value, i = e.onClick, a = x.useContext(Rt), s = a.min, c = a.max, l = a.direction, u = a.includedStart, g = a.includedEnd, d = a.included, b = "".concat(t, "-text"),
|
|
3082
|
-
return x.createElement("span", { className: yt(b,
|
|
3081
|
+
var t = e.prefixCls, o = e.style, n = e.children, r = e.value, i = e.onClick, a = x.useContext(Rt), s = a.min, c = a.max, l = a.direction, u = a.includedStart, g = a.includedEnd, d = a.included, b = "".concat(t, "-text"), m = Yr(l, r, s, c);
|
|
3082
|
+
return x.createElement("span", { className: yt(b, je({}, "".concat(b, "-active"), d && u <= r && r <= g)), style: L(L({}, m), o), onMouseDown: function(f) {
|
|
3083
3083
|
f.stopPropagation();
|
|
3084
3084
|
}, onClick: function() {
|
|
3085
3085
|
i(r);
|
|
@@ -3091,8 +3091,8 @@ var Ca, xa, Qu = function(e) {
|
|
|
3091
3091
|
return x.createElement(Qu, { key: a, prefixCls: r, style: s, value: a, onClick: n }, c);
|
|
3092
3092
|
})) : null;
|
|
3093
3093
|
}, qu = function(e) {
|
|
3094
|
-
var t = e.prefixCls, o = e.value, n = e.style, r = e.activeStyle, i = x.useContext(Rt), a = i.min, s = i.max, c = i.direction, l = i.included, u = i.includedStart, g = i.includedEnd, d = "".concat(t, "-dot"), b = l && u <= o && o <= g,
|
|
3095
|
-
return b && (
|
|
3094
|
+
var t = e.prefixCls, o = e.value, n = e.style, r = e.activeStyle, i = x.useContext(Rt), a = i.min, s = i.max, c = i.direction, l = i.included, u = i.includedStart, g = i.includedEnd, d = "".concat(t, "-dot"), b = l && u <= o && o <= g, m = L(L({}, Yr(c, o, a, s)), typeof n == "function" ? n(o) : n);
|
|
3095
|
+
return b && (m = L(L({}, m), typeof r == "function" ? r(o) : r)), x.createElement("span", { className: yt(d, je({}, "".concat(d, "-active"), b)), style: m });
|
|
3096
3096
|
}, ed = function(e) {
|
|
3097
3097
|
var t = e.prefixCls, o = e.marks, n = e.dots, r = e.style, i = e.activeStyle, a = x.useContext(Rt), s = a.min, c = a.max, l = a.step, u = x.useMemo(function() {
|
|
3098
3098
|
var g = /* @__PURE__ */ new Set();
|
|
@@ -3105,39 +3105,39 @@ var Ca, xa, Qu = function(e) {
|
|
|
3105
3105
|
return x.createElement(qu, { prefixCls: t, key: g, value: g, style: r, activeStyle: i });
|
|
3106
3106
|
}));
|
|
3107
3107
|
}, Sa = function(e) {
|
|
3108
|
-
var t = e.prefixCls, o = e.style, n = e.start, r = e.end, i = e.index, a = e.onStartMove, s = e.replaceCls, c = x.useContext(Rt), l = c.direction, u = c.min, g = c.max, d = c.disabled, b = c.range,
|
|
3108
|
+
var t = e.prefixCls, o = e.style, n = e.start, r = e.end, i = e.index, a = e.onStartMove, s = e.replaceCls, c = x.useContext(Rt), l = c.direction, u = c.min, g = c.max, d = c.disabled, b = c.range, m = c.classNames, f = "".concat(t, "-track"), v = Mr(n, u, g), S = Mr(r, u, g), I = function(p) {
|
|
3109
3109
|
!d && a && a(p, -1);
|
|
3110
|
-
},
|
|
3110
|
+
}, h = {};
|
|
3111
3111
|
switch (l) {
|
|
3112
3112
|
case "rtl":
|
|
3113
|
-
|
|
3113
|
+
h.right = "".concat(100 * v, "%"), h.width = "".concat(100 * S - 100 * v, "%");
|
|
3114
3114
|
break;
|
|
3115
3115
|
case "btt":
|
|
3116
|
-
|
|
3116
|
+
h.bottom = "".concat(100 * v, "%"), h.height = "".concat(100 * S - 100 * v, "%");
|
|
3117
3117
|
break;
|
|
3118
3118
|
case "ttb":
|
|
3119
|
-
|
|
3119
|
+
h.top = "".concat(100 * v, "%"), h.height = "".concat(100 * S - 100 * v, "%");
|
|
3120
3120
|
break;
|
|
3121
3121
|
default:
|
|
3122
|
-
|
|
3122
|
+
h.left = "".concat(100 * v, "%"), h.width = "".concat(100 * S - 100 * v, "%");
|
|
3123
3123
|
}
|
|
3124
|
-
var y = s || yt(f,
|
|
3125
|
-
return x.createElement("div", { className: y, style: L(L({},
|
|
3124
|
+
var y = s || yt(f, je(je({}, "".concat(f, "-").concat(i + 1), i !== null && b), "".concat(t, "-track-draggable"), a), m.track);
|
|
3125
|
+
return x.createElement("div", { className: y, style: L(L({}, h), o), onMouseDown: I, onTouchStart: I });
|
|
3126
3126
|
}, td = function(e) {
|
|
3127
3127
|
var t = e.prefixCls, o = e.style, n = e.values, r = e.startPoint, i = e.onStartMove, a = x.useContext(Rt), s = a.included, c = a.range, l = a.min, u = a.styles, g = a.classNames, d = x.useMemo(function() {
|
|
3128
3128
|
if (!c) {
|
|
3129
3129
|
if (n.length === 0) return [];
|
|
3130
|
-
var
|
|
3131
|
-
return [{ start: Math.min(
|
|
3130
|
+
var m = r ?? l, f = n[0];
|
|
3131
|
+
return [{ start: Math.min(m, f), end: Math.max(m, f) }];
|
|
3132
3132
|
}
|
|
3133
3133
|
for (var v = [], S = 0; S < n.length - 1; S += 1) v.push({ start: n[S], end: n[S + 1] });
|
|
3134
3134
|
return v;
|
|
3135
3135
|
}, [n, c, r, l]);
|
|
3136
3136
|
if (!s) return null;
|
|
3137
3137
|
var b = g.tracks || u.tracks ? x.createElement(Sa, { index: null, prefixCls: t, start: d[0].start, end: d[d.length - 1].end, replaceCls: yt(g.tracks, "".concat(t, "-tracks")), style: u.tracks }) : null;
|
|
3138
|
-
return x.createElement(x.Fragment, null, b, d.map(function(
|
|
3139
|
-
var v =
|
|
3140
|
-
return x.createElement(Sa, { index: f, prefixCls: t, style: L(L({},
|
|
3138
|
+
return x.createElement(x.Fragment, null, b, d.map(function(m, f) {
|
|
3139
|
+
var v = m.start, S = m.end;
|
|
3140
|
+
return x.createElement(Sa, { index: f, prefixCls: t, style: L(L({}, Wt(o, f)), u.track), start: v, end: S, key: f, onStartMove: i });
|
|
3141
3141
|
}));
|
|
3142
3142
|
}, te = {}, oe = {};
|
|
3143
3143
|
function Aa(e) {
|
|
@@ -3147,7 +3147,7 @@ function Aa(e) {
|
|
|
3147
3147
|
process.env.NODE_ENV === "production" ? function() {
|
|
3148
3148
|
if (Ca) return te;
|
|
3149
3149
|
Ca = 1;
|
|
3150
|
-
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"),
|
|
3150
|
+
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen");
|
|
3151
3151
|
function f(v) {
|
|
3152
3152
|
if (typeof v == "object" && v !== null) {
|
|
3153
3153
|
var S = v.$$typeof;
|
|
@@ -3207,10 +3207,10 @@ process.env.NODE_ENV === "production" ? function() {
|
|
|
3207
3207
|
}, te.isSuspenseList = function(v) {
|
|
3208
3208
|
return f(v) === g;
|
|
3209
3209
|
}, te.isValidElementType = function(v) {
|
|
3210
|
-
return typeof v == "string" || typeof v == "function" || v === n || v === i || v === r || v === u || v === g || v ===
|
|
3210
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === i || v === r || v === u || v === g || v === m || typeof v == "object" && v !== null && (v.$$typeof === b || v.$$typeof === d || v.$$typeof === a || v.$$typeof === s || v.$$typeof === l || v.$$typeof === e || v.getModuleId !== void 0);
|
|
3211
3211
|
}, te.typeOf = f;
|
|
3212
3212
|
}() : xa || (xa = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3213
|
-
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"),
|
|
3213
|
+
var e, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen");
|
|
3214
3214
|
function f(N) {
|
|
3215
3215
|
if (typeof N == "object" && N !== null) {
|
|
3216
3216
|
var Z = N.$$typeof;
|
|
@@ -3244,9 +3244,9 @@ process.env.NODE_ENV === "production" ? function() {
|
|
|
3244
3244
|
}
|
|
3245
3245
|
}
|
|
3246
3246
|
e = Symbol.for("react.module.reference");
|
|
3247
|
-
var v = s, S = a, I = t,
|
|
3248
|
-
oe.ContextConsumer = v, oe.ContextProvider = S, oe.Element = I, oe.ForwardRef =
|
|
3249
|
-
return
|
|
3247
|
+
var v = s, S = a, I = t, h = l, y = n, p = b, C = d, A = o, M = i, F = r, V = u, Y = g, j = !1, J = !1;
|
|
3248
|
+
oe.ContextConsumer = v, oe.ContextProvider = S, oe.Element = I, oe.ForwardRef = h, oe.Fragment = y, oe.Lazy = p, oe.Memo = C, oe.Portal = A, oe.Profiler = M, oe.StrictMode = F, oe.Suspense = V, oe.SuspenseList = Y, oe.isAsyncMode = function(N) {
|
|
3249
|
+
return j || (j = !0), !1;
|
|
3250
3250
|
}, oe.isConcurrentMode = function(N) {
|
|
3251
3251
|
return J || (J = !0), !1;
|
|
3252
3252
|
}, oe.isContextConsumer = function(N) {
|
|
@@ -3274,11 +3274,11 @@ process.env.NODE_ENV === "production" ? function() {
|
|
|
3274
3274
|
}, oe.isSuspenseList = function(N) {
|
|
3275
3275
|
return f(N) === g;
|
|
3276
3276
|
}, oe.isValidElementType = function(N) {
|
|
3277
|
-
return typeof N == "string" || typeof N == "function" || N === n || N === i || N === r || N === u || N === g || N ===
|
|
3277
|
+
return typeof N == "string" || typeof N == "function" || N === n || N === i || N === r || N === u || N === g || N === m || typeof N == "object" && N !== null && (N.$$typeof === b || N.$$typeof === d || N.$$typeof === a || N.$$typeof === s || N.$$typeof === l || N.$$typeof === e || N.getModuleId !== void 0);
|
|
3278
3278
|
}, oe.typeOf = f;
|
|
3279
3279
|
}()), Number(Ec.split(".")[0]);
|
|
3280
3280
|
var ic = x.forwardRef(function(e, t) {
|
|
3281
|
-
var o = e.prefixCls, n = o === void 0 ? "rc-slider" : o, r = e.className, i = e.style, a = e.classNames, s = e.styles, c = e.disabled, l = c !== void 0 && c, u = e.keyboard, g = u === void 0 || u, d = e.autoFocus, b = e.onFocus,
|
|
3281
|
+
var o = e.prefixCls, n = o === void 0 ? "rc-slider" : o, r = e.className, i = e.style, a = e.classNames, s = e.styles, c = e.disabled, l = c !== void 0 && c, u = e.keyboard, g = u === void 0 || u, d = e.autoFocus, b = e.onFocus, m = e.onBlur, f = e.min, v = f === void 0 ? 0 : f, S = e.max, I = S === void 0 ? 100 : S, h = e.step, y = h === void 0 ? 1 : h, p = e.value, C = e.defaultValue, A = e.range, M = e.count, F = e.onChange, V = e.onBeforeChange, Y = e.onAfterChange, j = e.onChangeComplete, J = e.allowCross, N = J === void 0 || J, Z = e.pushable, G = Z !== void 0 && Z, B = e.draggableTrack, E = e.reverse, k = e.vertical, z = e.included, _ = z === void 0 || z, se = e.startPoint, re = e.trackStyle, ge = e.handleStyle, U = e.railStyle, ie = e.dotStyle, Me = e.activeDotStyle, $ = e.marks, Ne = e.dots, De = e.handleRender, Ye = e.activeHandleRender, Ke = e.tabIndex, nt = Ke === void 0 ? 0 : Ke, ct = e.ariaLabelForHandle, lt = e.ariaLabelledByForHandle, _e = e.ariaValueTextFormatterForHandle, ot = x.useRef(null), rt = x.useRef(null), It = x.useMemo(function() {
|
|
3282
3282
|
return k ? E ? "ttb" : "btt" : E ? "rtl" : "ltr";
|
|
3283
3283
|
}, [E, k]), qe = x.useMemo(function() {
|
|
3284
3284
|
return isFinite(v) ? v : 0;
|
|
@@ -3289,81 +3289,81 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3289
3289
|
}, [y]), Cc = x.useMemo(function() {
|
|
3290
3290
|
return typeof G == "boolean" ? !!G && Gt : G >= 0 && G;
|
|
3291
3291
|
}, [G, Gt]), vn = x.useMemo(function() {
|
|
3292
|
-
return Object.keys($ || {}).map(function(
|
|
3293
|
-
var X = $[
|
|
3292
|
+
return Object.keys($ || {}).map(function(R) {
|
|
3293
|
+
var X = $[R], O = { value: Number(R) };
|
|
3294
3294
|
return X && bt(X) === "object" && !x.isValidElement(X) && ("label" in X || "style" in X) ? (O.style = X.style, O.label = X.label) : O.label = X, O;
|
|
3295
|
-
}).filter(function(
|
|
3296
|
-
var X =
|
|
3295
|
+
}).filter(function(R) {
|
|
3296
|
+
var X = R.label;
|
|
3297
3297
|
return X || typeof X == "number";
|
|
3298
|
-
}).sort(function(
|
|
3299
|
-
return
|
|
3298
|
+
}).sort(function(R, X) {
|
|
3299
|
+
return R.value - X.value;
|
|
3300
3300
|
});
|
|
3301
|
-
}, [$]), xc = function(
|
|
3301
|
+
}, [$]), xc = function(R, X, O, de, ae, me) {
|
|
3302
3302
|
var pe = x.useCallback(function(le) {
|
|
3303
|
-
return Math.max(
|
|
3304
|
-
}, [
|
|
3303
|
+
return Math.max(R, Math.min(X, le));
|
|
3304
|
+
}, [R, X]), ce = x.useCallback(function(le) {
|
|
3305
3305
|
if (O !== null) {
|
|
3306
|
-
var
|
|
3306
|
+
var Ae = R + Math.round((pe(le) - R) / O) * O, W = function(ue) {
|
|
3307
3307
|
return (String(ue).split(".")[1] || "").length;
|
|
3308
|
-
}, Ve = Math.max(W(O), W(X), W(
|
|
3309
|
-
return
|
|
3308
|
+
}, Ve = Math.max(W(O), W(X), W(R)), T = Number(Ae.toFixed(Ve));
|
|
3309
|
+
return R <= T && T <= X ? T : null;
|
|
3310
3310
|
}
|
|
3311
3311
|
return null;
|
|
3312
|
-
}, [O,
|
|
3313
|
-
var
|
|
3312
|
+
}, [O, R, X, pe]), xe = x.useCallback(function(le) {
|
|
3313
|
+
var Ae = pe(le), W = de.map(function(ue) {
|
|
3314
3314
|
return ue.value;
|
|
3315
3315
|
});
|
|
3316
|
-
O !== null && W.push(ce(le)), W.push(
|
|
3317
|
-
var Ve = W[0], T = X -
|
|
3316
|
+
O !== null && W.push(ce(le)), W.push(R, X);
|
|
3317
|
+
var Ve = W[0], T = X - R;
|
|
3318
3318
|
return W.forEach(function(ue) {
|
|
3319
|
-
var
|
|
3320
|
-
|
|
3319
|
+
var Fe = Math.abs(Ae - ue);
|
|
3320
|
+
Fe <= T && (Ve = ue, T = Fe);
|
|
3321
3321
|
}), Ve;
|
|
3322
|
-
}, [
|
|
3322
|
+
}, [R, X, de, O, pe, ce]), Le = function le(Ae, W, Ve) {
|
|
3323
3323
|
var T = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit";
|
|
3324
3324
|
if (typeof W == "number") {
|
|
3325
|
-
var ue,
|
|
3325
|
+
var ue, Fe = Ae[Ve], it = Fe + W, we = [];
|
|
3326
3326
|
de.forEach(function(Oe) {
|
|
3327
|
-
|
|
3328
|
-
}),
|
|
3327
|
+
we.push(Oe.value);
|
|
3328
|
+
}), we.push(R, X), we.push(ce(Fe));
|
|
3329
3329
|
var dt = W > 0 ? 1 : -1;
|
|
3330
|
-
T === "unit" ?
|
|
3330
|
+
T === "unit" ? we.push(ce(Fe + dt * O)) : we.push(ce(it)), we = we.filter(function(Oe) {
|
|
3331
3331
|
return Oe !== null;
|
|
3332
3332
|
}).filter(function(Oe) {
|
|
3333
|
-
return W < 0 ? Oe <=
|
|
3334
|
-
}), T === "unit" && (
|
|
3335
|
-
return Oe !==
|
|
3333
|
+
return W < 0 ? Oe <= Fe : Oe >= Fe;
|
|
3334
|
+
}), T === "unit" && (we = we.filter(function(Oe) {
|
|
3335
|
+
return Oe !== Fe;
|
|
3336
3336
|
}));
|
|
3337
|
-
var gt = T === "unit" ?
|
|
3338
|
-
ue =
|
|
3337
|
+
var gt = T === "unit" ? Fe : it;
|
|
3338
|
+
ue = we[0];
|
|
3339
3339
|
var tt = Math.abs(ue - gt);
|
|
3340
|
-
if (
|
|
3340
|
+
if (we.forEach(function(Oe) {
|
|
3341
3341
|
var he = Math.abs(Oe - gt);
|
|
3342
3342
|
he < tt && (ue = Oe, tt = he);
|
|
3343
|
-
}), ue === void 0) return W < 0 ?
|
|
3343
|
+
}), ue === void 0) return W < 0 ? R : X;
|
|
3344
3344
|
if (T === "dist") return ue;
|
|
3345
3345
|
if (Math.abs(W) > 1) {
|
|
3346
|
-
var kt = at(
|
|
3346
|
+
var kt = at(Ae);
|
|
3347
3347
|
return kt[Ve] = ue, le(kt, W - dt, Ve, T);
|
|
3348
3348
|
}
|
|
3349
3349
|
return ue;
|
|
3350
3350
|
}
|
|
3351
|
-
return W === "min" ?
|
|
3352
|
-
}, Ee = function(le,
|
|
3353
|
-
var Ve = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", T = le[W], ue = Le(le,
|
|
3351
|
+
return W === "min" ? R : W === "max" ? X : void 0;
|
|
3352
|
+
}, Ee = function(le, Ae, W) {
|
|
3353
|
+
var Ve = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", T = le[W], ue = Le(le, Ae, W, Ve);
|
|
3354
3354
|
return { value: ue, changed: ue !== T };
|
|
3355
3355
|
}, et = function(le) {
|
|
3356
3356
|
return me === null && le === 0 || typeof me == "number" && le < me;
|
|
3357
3357
|
};
|
|
3358
|
-
return [xe, function(le,
|
|
3359
|
-
var Ve = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", T = le.map(xe), ue = T[W],
|
|
3360
|
-
if (T[W] =
|
|
3358
|
+
return [xe, function(le, Ae, W) {
|
|
3359
|
+
var Ve = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "unit", T = le.map(xe), ue = T[W], Fe = Le(T, Ae, W, Ve);
|
|
3360
|
+
if (T[W] = Fe, ae === !1) {
|
|
3361
3361
|
var it = me || 0;
|
|
3362
3362
|
W > 0 && T[W - 1] !== ue && (T[W] = Math.max(T[W], T[W - 1] + it)), W < T.length - 1 && T[W + 1] !== ue && (T[W] = Math.min(T[W], T[W + 1] - it));
|
|
3363
3363
|
} else if (typeof me == "number" || me === null) {
|
|
3364
|
-
for (var
|
|
3365
|
-
var gt = Ee(T, 1,
|
|
3366
|
-
T[
|
|
3364
|
+
for (var we = W + 1; we < T.length; we += 1) for (var dt = !0; et(T[we] - T[we - 1]) && dt; ) {
|
|
3365
|
+
var gt = Ee(T, 1, we);
|
|
3366
|
+
T[we] = gt.value, dt = gt.changed;
|
|
3367
3367
|
}
|
|
3368
3368
|
for (var tt = W; tt > 0; tt -= 1) for (var kt = !0; et(T[tt] - T[tt - 1]) && kt; ) {
|
|
3369
3369
|
var Oe = Ee(T, -1, tt - 1);
|
|
@@ -3380,10 +3380,10 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3380
3380
|
}
|
|
3381
3381
|
return { value: T[W], values: T };
|
|
3382
3382
|
}];
|
|
3383
|
-
}(qe, Tt, Gt, vn, N, Cc), $r = fe(xc, 2), yn = $r[0], Ur = $r[1], Sc = function(
|
|
3383
|
+
}(qe, Tt, Gt, vn, N, Cc), $r = fe(xc, 2), yn = $r[0], Ur = $r[1], Sc = function(R, X) {
|
|
3384
3384
|
var O = X || {}, de = O.defaultValue, ae = O.value, me = O.onChange, pe = O.postState, ce = fe(Ia(function() {
|
|
3385
|
-
return Ho(ae) ? ae : Ho(de) ? typeof de == "function" ? de() : de : typeof
|
|
3386
|
-
}), 2), xe = ce[0], Le = ce[1], Ee = ae !== void 0 ? ae : xe, et = pe ? pe(Ee) : Ee, le = Xo(me),
|
|
3385
|
+
return Ho(ae) ? ae : Ho(de) ? typeof de == "function" ? de() : de : typeof R == "function" ? R() : R;
|
|
3386
|
+
}), 2), xe = ce[0], Le = ce[1], Ee = ae !== void 0 ? ae : xe, et = pe ? pe(Ee) : Ee, le = Xo(me), Ae = fe(Ia([Ee]), 2), W = Ae[0], Ve = Ae[1];
|
|
3387
3387
|
return ya(function() {
|
|
3388
3388
|
var T = W[0];
|
|
3389
3389
|
xe !== T && le(xe, T);
|
|
@@ -3393,9 +3393,9 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3393
3393
|
Le(T, ue), Ve([Ee], ue);
|
|
3394
3394
|
})];
|
|
3395
3395
|
}(C, { value: p }), Qr = fe(Sc, 2), Nt = Qr[0], Ac = Qr[1], ut = x.useMemo(function() {
|
|
3396
|
-
var
|
|
3397
|
-
if (
|
|
3398
|
-
if (O = at(
|
|
3396
|
+
var R = Nt == null ? [] : Array.isArray(Nt) ? Nt : [Nt], X = fe(R, 1)[0], O = Nt === null ? [] : [X === void 0 ? qe : X];
|
|
3397
|
+
if (A) {
|
|
3398
|
+
if (O = at(R), M || Nt === void 0) {
|
|
3399
3399
|
var de = M >= 0 ? M + 1 : 2;
|
|
3400
3400
|
for (O = O.slice(0, de); O.length < de; ) {
|
|
3401
3401
|
var ae;
|
|
@@ -3409,19 +3409,19 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3409
3409
|
return O.forEach(function(me, pe) {
|
|
3410
3410
|
O[pe] = yn(me);
|
|
3411
3411
|
}), O;
|
|
3412
|
-
}, [Nt,
|
|
3412
|
+
}, [Nt, A, qe, M, yn]), In = x.useRef(ut);
|
|
3413
3413
|
In.current = ut;
|
|
3414
|
-
var
|
|
3415
|
-
return
|
|
3416
|
-
}, fo = function(
|
|
3417
|
-
var X = at(
|
|
3414
|
+
var Qt = function(R) {
|
|
3415
|
+
return A ? R : R[0];
|
|
3416
|
+
}, fo = function(R) {
|
|
3417
|
+
var X = at(R).sort(function(O, de) {
|
|
3418
3418
|
return O - de;
|
|
3419
3419
|
});
|
|
3420
|
-
|
|
3420
|
+
F && !function(O, de) {
|
|
3421
3421
|
var ae = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], me = /* @__PURE__ */ new Set();
|
|
3422
3422
|
return function pe(ce, xe) {
|
|
3423
3423
|
var Le = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, Ee = me.has(ce);
|
|
3424
|
-
if (
|
|
3424
|
+
if (Dt(!Ee, "Warning: There may be circular references"), Ee) return !1;
|
|
3425
3425
|
if (ce === xe) return !0;
|
|
3426
3426
|
if (ae && Le > 1) return !1;
|
|
3427
3427
|
me.add(ce);
|
|
@@ -3432,22 +3432,22 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3432
3432
|
return !0;
|
|
3433
3433
|
}
|
|
3434
3434
|
if (ce && xe && bt(ce) === "object" && bt(xe) === "object") {
|
|
3435
|
-
var
|
|
3436
|
-
return
|
|
3435
|
+
var Ae = Object.keys(ce);
|
|
3436
|
+
return Ae.length === Object.keys(xe).length && Ae.every(function(W) {
|
|
3437
3437
|
return pe(ce[W], xe[W], et);
|
|
3438
3438
|
});
|
|
3439
3439
|
}
|
|
3440
3440
|
return !1;
|
|
3441
3441
|
}(O, de);
|
|
3442
|
-
}(X, In.current, !0) &&
|
|
3442
|
+
}(X, In.current, !0) && F(Qt(X)), Ac(X);
|
|
3443
3443
|
}, Kr = function() {
|
|
3444
|
-
var
|
|
3445
|
-
Y == null || Y(
|
|
3446
|
-
}, wc = function(
|
|
3447
|
-
var Le = fe(x.useState(null), 2), Ee = Le[0], et = Le[1], le = fe(x.useState(-1), 2),
|
|
3444
|
+
var R = Qt(In.current);
|
|
3445
|
+
Y == null || Y(R), Dt(!Y, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), j == null || j(R);
|
|
3446
|
+
}, wc = function(R, X, O, de, ae, me, pe, ce, xe) {
|
|
3447
|
+
var Le = fe(x.useState(null), 2), Ee = Le[0], et = Le[1], le = fe(x.useState(-1), 2), Ae = le[0], W = le[1], Ve = fe(x.useState(O), 2), T = Ve[0], ue = Ve[1], Fe = fe(x.useState(O), 2), it = Fe[0], we = Fe[1], dt = x.useRef(null), gt = x.useRef(null);
|
|
3448
3448
|
x.useLayoutEffect(function() {
|
|
3449
|
-
|
|
3450
|
-
}, [O,
|
|
3449
|
+
Ae === -1 && ue(O);
|
|
3450
|
+
}, [O, Ae]), x.useEffect(function() {
|
|
3451
3451
|
return function() {
|
|
3452
3452
|
document.removeEventListener("mousemove", dt.current), document.removeEventListener("mouseup", gt.current), document.removeEventListener("touchmove", dt.current), document.removeEventListener("touchend", gt.current);
|
|
3453
3453
|
};
|
|
@@ -3467,9 +3467,9 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3467
3467
|
});
|
|
3468
3468
|
tt(Mt);
|
|
3469
3469
|
} else {
|
|
3470
|
-
var
|
|
3470
|
+
var Kt = (ae - de) * We, At = at(T);
|
|
3471
3471
|
At[he] = it[he];
|
|
3472
|
-
var pt = xe(At,
|
|
3472
|
+
var pt = xe(At, Kt, he, "dist");
|
|
3473
3473
|
tt(pt.values, pt.value);
|
|
3474
3474
|
}
|
|
3475
3475
|
}), Oe = x.useMemo(function() {
|
|
@@ -3482,13 +3482,13 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3482
3482
|
return ze === We[ke];
|
|
3483
3483
|
}) ? T : O;
|
|
3484
3484
|
}, [O, T]);
|
|
3485
|
-
return [
|
|
3485
|
+
return [Ae, Ee, Oe, function(he, We, ze) {
|
|
3486
3486
|
he.stopPropagation();
|
|
3487
3487
|
var ke = ze || O, zt = ke[We];
|
|
3488
|
-
W(We), et(zt),
|
|
3488
|
+
W(We), et(zt), we(ke);
|
|
3489
3489
|
var Bt = Aa(he), Ct = Bt.pageX, yo = Bt.pageY, Mt = function(At) {
|
|
3490
3490
|
At.preventDefault();
|
|
3491
|
-
var pt, xn = Aa(At), Bc = xn.pageX, Mc = xn.pageY, li = Bc - Ct, ui = Mc - yo, di =
|
|
3491
|
+
var pt, xn = Aa(At), Bc = xn.pageX, Mc = xn.pageY, li = Bc - Ct, ui = Mc - yo, di = R.current.getBoundingClientRect(), gi = di.width, pi = di.height;
|
|
3492
3492
|
switch (X) {
|
|
3493
3493
|
case "btt":
|
|
3494
3494
|
pt = -ui / pi;
|
|
@@ -3503,63 +3503,63 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3503
3503
|
pt = li / gi;
|
|
3504
3504
|
}
|
|
3505
3505
|
kt(We, pt);
|
|
3506
|
-
},
|
|
3506
|
+
}, Kt = function At(pt) {
|
|
3507
3507
|
pt.preventDefault(), document.removeEventListener("mouseup", At), document.removeEventListener("mousemove", Mt), document.removeEventListener("touchend", At), document.removeEventListener("touchmove", Mt), dt.current = null, gt.current = null, W(-1), ce();
|
|
3508
3508
|
};
|
|
3509
|
-
document.addEventListener("mouseup",
|
|
3509
|
+
document.addEventListener("mouseup", Kt), document.addEventListener("mousemove", Mt), document.addEventListener("touchend", Kt), document.addEventListener("touchmove", Mt), dt.current = Mt, gt.current = Kt;
|
|
3510
3510
|
}];
|
|
3511
|
-
}(rt, It, ut, qe, Tt, yn, fo, Kr, Ur), Cn = fe(wc, 4), qr = Cn[0], Gc = Cn[1], bo = Cn[2], ei = Cn[3], ti = function(
|
|
3511
|
+
}(rt, It, ut, qe, Tt, yn, fo, Kr, Ur), Cn = fe(wc, 4), qr = Cn[0], Gc = Cn[1], bo = Cn[2], ei = Cn[3], ti = function(R, X) {
|
|
3512
3512
|
if (!l) {
|
|
3513
3513
|
var O = 0, de = Tt - qe;
|
|
3514
3514
|
ut.forEach(function(ce, xe) {
|
|
3515
|
-
var Le = Math.abs(
|
|
3515
|
+
var Le = Math.abs(R - ce);
|
|
3516
3516
|
Le <= de && (de = Le, O = xe);
|
|
3517
3517
|
});
|
|
3518
3518
|
var ae, me, pe = at(ut);
|
|
3519
|
-
pe[O] =
|
|
3519
|
+
pe[O] = R, A && !ut.length && M === void 0 && pe.push(R), V == null || V(Qt(pe)), fo(pe), X && ((ae = document.activeElement) === null || ae === void 0 || (me = ae.blur) === null || me === void 0 || me.call(ae), ot.current.focus(O), ei(X, O, pe));
|
|
3520
3520
|
}
|
|
3521
3521
|
}, ni = fe(x.useState(null), 2), vo = ni[0], oi = ni[1];
|
|
3522
3522
|
x.useEffect(function() {
|
|
3523
3523
|
if (vo !== null) {
|
|
3524
|
-
var
|
|
3525
|
-
|
|
3524
|
+
var R = ut.indexOf(vo);
|
|
3525
|
+
R >= 0 && ot.current.focus(R);
|
|
3526
3526
|
}
|
|
3527
3527
|
oi(null);
|
|
3528
3528
|
}, [vo]);
|
|
3529
3529
|
var Nc = x.useMemo(function() {
|
|
3530
|
-
return B && Gt === null ? (process.env.NODE_ENV !== "production" &&
|
|
3531
|
-
}, [B, Gt]), ri = function(
|
|
3532
|
-
ei(
|
|
3530
|
+
return B && Gt === null ? (process.env.NODE_ENV !== "production" && Dt(!1, "`draggableTrack` is not supported when `step` is `null`."), !1) : B;
|
|
3531
|
+
}, [B, Gt]), ri = function(R, X) {
|
|
3532
|
+
ei(R, X), V == null || V(Qt(In.current));
|
|
3533
3533
|
}, ii = qr !== -1;
|
|
3534
3534
|
x.useEffect(function() {
|
|
3535
3535
|
if (!ii) {
|
|
3536
|
-
var
|
|
3537
|
-
ot.current.focus(
|
|
3536
|
+
var R = ut.lastIndexOf(Gc);
|
|
3537
|
+
ot.current.focus(R);
|
|
3538
3538
|
}
|
|
3539
3539
|
}, [ii]);
|
|
3540
3540
|
var Ot = x.useMemo(function() {
|
|
3541
|
-
return at(bo).sort(function(
|
|
3542
|
-
return
|
|
3541
|
+
return at(bo).sort(function(R, X) {
|
|
3542
|
+
return R - X;
|
|
3543
3543
|
});
|
|
3544
3544
|
}, [bo]), ai = fe(x.useMemo(function() {
|
|
3545
|
-
return
|
|
3546
|
-
}, [Ot,
|
|
3545
|
+
return A ? [Ot[0], Ot[Ot.length - 1]] : [qe, Ot[0]];
|
|
3546
|
+
}, [Ot, A, qe]), 2), si = ai[0], ci = ai[1];
|
|
3547
3547
|
x.useImperativeHandle(t, function() {
|
|
3548
3548
|
return { focus: function() {
|
|
3549
3549
|
ot.current.focus(0);
|
|
3550
3550
|
}, blur: function() {
|
|
3551
|
-
var
|
|
3552
|
-
(
|
|
3551
|
+
var R, X = document.activeElement;
|
|
3552
|
+
(R = rt.current) !== null && R !== void 0 && R.contains(X) && (X == null || X.blur());
|
|
3553
3553
|
} };
|
|
3554
3554
|
}), x.useEffect(function() {
|
|
3555
3555
|
d && ot.current.focus(0);
|
|
3556
3556
|
}, []);
|
|
3557
3557
|
var kc = x.useMemo(function() {
|
|
3558
|
-
return { min: qe, max: Tt, direction: It, disabled: l, keyboard: g, step: Gt, included: _, includedStart: si, includedEnd: ci, range:
|
|
3559
|
-
}, [qe, Tt, It, l, g, Gt, _, si, ci,
|
|
3560
|
-
return x.createElement(Rt.Provider, { value: kc }, x.createElement("div", { ref: rt, className: yt(n, r,
|
|
3561
|
-
|
|
3562
|
-
var X, O = rt.current.getBoundingClientRect(), de = O.width, ae = O.height, me = O.left, pe = O.top, ce = O.bottom, xe = O.right, Le =
|
|
3558
|
+
return { min: qe, max: Tt, direction: It, disabled: l, keyboard: g, step: Gt, included: _, includedStart: si, includedEnd: ci, range: A, tabIndex: nt, ariaLabelForHandle: ct, ariaLabelledByForHandle: lt, ariaValueTextFormatterForHandle: _e, styles: s || {}, classNames: a || {} };
|
|
3559
|
+
}, [qe, Tt, It, l, g, Gt, _, si, ci, A, nt, ct, lt, _e, s, a]);
|
|
3560
|
+
return x.createElement(Rt.Provider, { value: kc }, x.createElement("div", { ref: rt, className: yt(n, r, je(je(je(je({}, "".concat(n, "-disabled"), l), "".concat(n, "-vertical"), k), "".concat(n, "-horizontal"), !k), "".concat(n, "-with-marks"), vn.length)), style: i, onMouseDown: function(R) {
|
|
3561
|
+
R.preventDefault();
|
|
3562
|
+
var X, O = rt.current.getBoundingClientRect(), de = O.width, ae = O.height, me = O.left, pe = O.top, ce = O.bottom, xe = O.right, Le = R.clientX, Ee = R.clientY;
|
|
3563
3563
|
switch (It) {
|
|
3564
3564
|
case "btt":
|
|
3565
3565
|
X = (ce - Ee) / ae;
|
|
@@ -3573,38 +3573,38 @@ var ic = x.forwardRef(function(e, t) {
|
|
|
3573
3573
|
default:
|
|
3574
3574
|
X = (Le - me) / de;
|
|
3575
3575
|
}
|
|
3576
|
-
ti(yn(qe + X * (Tt - qe)),
|
|
3577
|
-
} }, x.createElement("div", { className: yt("".concat(n, "-rail"), a == null ? void 0 : a.rail), style: L(L({}, U), s == null ? void 0 : s.rail) }), x.createElement(td, { prefixCls: n, style: re, values: Ot, startPoint: se, onStartMove: Nc ? ri : void 0 }), x.createElement(ed, { prefixCls: n, marks: vn, dots: Ne, style: ie, activeStyle: Me }), x.createElement(rc, { ref: ot, prefixCls: n, style: ge, values: bo, draggingIndex: qr, onStartMove: ri, onOffsetChange: function(
|
|
3576
|
+
ti(yn(qe + X * (Tt - qe)), R);
|
|
3577
|
+
} }, x.createElement("div", { className: yt("".concat(n, "-rail"), a == null ? void 0 : a.rail), style: L(L({}, U), s == null ? void 0 : s.rail) }), x.createElement(td, { prefixCls: n, style: re, values: Ot, startPoint: se, onStartMove: Nc ? ri : void 0 }), x.createElement(ed, { prefixCls: n, marks: vn, dots: Ne, style: ie, activeStyle: Me }), x.createElement(rc, { ref: ot, prefixCls: n, style: ge, values: bo, draggingIndex: qr, onStartMove: ri, onOffsetChange: function(R, X) {
|
|
3578
3578
|
if (!l) {
|
|
3579
|
-
var O = Ur(ut,
|
|
3580
|
-
|
|
3579
|
+
var O = Ur(ut, R, X);
|
|
3580
|
+
V == null || V(Qt(ut)), fo(O.values), oi(O.value);
|
|
3581
3581
|
}
|
|
3582
|
-
}, onFocus: b, onBlur:
|
|
3582
|
+
}, onFocus: b, onBlur: m, handleRender: De, activeHandleRender: Ye, onChangeComplete: Kr }), x.createElement(Ku, { prefixCls: n, marks: vn, onClick: ti })));
|
|
3583
3583
|
});
|
|
3584
3584
|
process.env.NODE_ENV !== "production" && (ic.displayName = "Slider");
|
|
3585
|
-
const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
3585
|
+
const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) => w.jsx(ic, { className: "_accRcSlider_dhokk_1", range: e, min: t, max: o, value: n, vertical: i, onChange: r }), nd = ({ accState: e, onChangeAccState: t }) => {
|
|
3586
3586
|
const { isBrightness: o, brightness: n } = e.brightness, r = () => {
|
|
3587
3587
|
t((i) => {
|
|
3588
3588
|
const a = !i.brightness.isBrightness;
|
|
3589
3589
|
i.brightness.isBrightness = a, i.brightness.brightness = a ? 150 : 0;
|
|
3590
3590
|
});
|
|
3591
3591
|
};
|
|
3592
|
-
return
|
|
3592
|
+
return w.jsxs(be, { Icon: Du, titleTranslationKey: "colors.brightnessControl", title: "Brightness Control", elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, stats: o ? `${n}%` : void 0, children: [o ? w.jsxs("div", { className: "_accBrightnessControl_16gcc_1", children: [w.jsx(Ue, { onClick: () => {
|
|
3593
3593
|
t((i) => {
|
|
3594
3594
|
const { brightness: a } = i;
|
|
3595
3595
|
a.brightness < 500 && i.brightness.brightness++;
|
|
3596
3596
|
});
|
|
3597
|
-
}, controlType: "increase" }),
|
|
3597
|
+
}, controlType: "increase" }), w.jsx(Ue, { onClick: r, controlType: "init" }), w.jsx(Ue, { onClick: () => {
|
|
3598
3598
|
t((i) => {
|
|
3599
3599
|
const { brightness: a } = i;
|
|
3600
3600
|
a.brightness > 100 && i.brightness.brightness--;
|
|
3601
3601
|
});
|
|
3602
|
-
}, controlType: "decrease" })] }) : null, o &&
|
|
3602
|
+
}, controlType: "decrease" })] }) : null, o && w.jsx(po, { range: !0, min: 150, max: 500, value: n, onChange: (i) => {
|
|
3603
3603
|
t((a) => {
|
|
3604
3604
|
a.brightness.brightness = i;
|
|
3605
3605
|
});
|
|
3606
3606
|
} })] });
|
|
3607
|
-
}, ac = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "Brightness4SharpIcon", ...e }, x.createElement("path", { d: "M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z" })), od = ({ accState: e, onChangeAccState: t }) =>
|
|
3607
|
+
}, ac = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium _accButton__icon_1dz30_31 css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "Brightness4SharpIcon", ...e }, x.createElement("path", { d: "M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z" })), od = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: ac, isToggled: e.isDarkContrast, onToggle: () => {
|
|
3608
3608
|
t((o) => {
|
|
3609
3609
|
o.isDarkContrast = !o.isDarkContrast;
|
|
3610
3610
|
});
|
|
@@ -3615,7 +3615,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3615
3615
|
i.highContrast.isHighContrast = a, i.highContrast.contrast = a ? 125 : 0;
|
|
3616
3616
|
});
|
|
3617
3617
|
};
|
|
3618
|
-
return
|
|
3618
|
+
return w.jsxs(be, { Icon: rd, titleTranslationKey: "colors.highContrast", title: "High Contrast", stats: o ? `${n}%` : void 0, elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, children: [o ? w.jsx(Ut, { onIncrease: () => {
|
|
3619
3619
|
t((i) => {
|
|
3620
3620
|
const { highContrast: a } = i;
|
|
3621
3621
|
a.contrast < 200 && i.highContrast.contrast++;
|
|
@@ -3625,7 +3625,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3625
3625
|
const { highContrast: a } = i;
|
|
3626
3626
|
a.contrast > 100 && i.highContrast.contrast--;
|
|
3627
3627
|
});
|
|
3628
|
-
} }) : null, o &&
|
|
3628
|
+
} }) : null, o && w.jsx(po, { range: !0, min: 125, max: 200, value: n, onChange: (i) => {
|
|
3629
3629
|
t((a) => {
|
|
3630
3630
|
a.highContrast.contrast = i;
|
|
3631
3631
|
});
|
|
@@ -3637,7 +3637,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3637
3637
|
i.highSaturation.isHighSaturation = a, i.highSaturation.saturation = a ? 200 : 0;
|
|
3638
3638
|
});
|
|
3639
3639
|
};
|
|
3640
|
-
return
|
|
3640
|
+
return w.jsxs(be, { Icon: sc, titleTranslationKey: "colors.highSaturation", title: "High Saturation", stats: o ? `${n}%` : void 0, elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, children: [o ? w.jsx(Ut, { onIncrease: () => {
|
|
3641
3641
|
t((i) => {
|
|
3642
3642
|
const { highSaturation: a } = i;
|
|
3643
3643
|
a.saturation < 800 && i.highSaturation.saturation++;
|
|
@@ -3647,12 +3647,12 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3647
3647
|
const { highSaturation: a } = i;
|
|
3648
3648
|
a.saturation > 200 && i.highSaturation.saturation--;
|
|
3649
3649
|
});
|
|
3650
|
-
} }) : null, o &&
|
|
3650
|
+
} }) : null, o && w.jsx(po, { range: !0, min: 200, max: 800, value: n, onChange: (i) => {
|
|
3651
3651
|
t((a) => {
|
|
3652
3652
|
a.highSaturation.saturation = i;
|
|
3653
3653
|
});
|
|
3654
3654
|
} })] });
|
|
3655
|
-
}, sd = ({ accState: e, onChangeAccState: t }) =>
|
|
3655
|
+
}, sd = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: ac, isToggled: e.isLightContrast, onToggle: () => {
|
|
3656
3656
|
t((o) => {
|
|
3657
3657
|
o.isLightContrast = !o.isLightContrast;
|
|
3658
3658
|
});
|
|
@@ -3663,7 +3663,7 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3663
3663
|
i.lowSaturation.isLowSaturation = a, i.lowSaturation.saturation = a ? 50 : 0;
|
|
3664
3664
|
});
|
|
3665
3665
|
};
|
|
3666
|
-
return
|
|
3666
|
+
return w.jsxs(be, { Icon: sc, titleTranslationKey: "colors.lowSaturation", title: "Low Saturation", stats: o ? `${n}%` : void 0, styleIcon: { transform: "rotate(180deg)" }, elementType: o ? "div" : "button", isActive: o, onToggle: o ? void 0 : r, children: [o ? w.jsx(Ut, { onIncrease: () => {
|
|
3667
3667
|
t((i) => {
|
|
3668
3668
|
const { lowSaturation: a } = i;
|
|
3669
3669
|
a.saturation < 199 && i.lowSaturation.saturation++;
|
|
@@ -3673,12 +3673,12 @@ const po = ({ range: e, min: t, max: o, value: n, onChange: r, vertical: i }) =>
|
|
|
3673
3673
|
const { lowSaturation: a } = i;
|
|
3674
3674
|
a.saturation > 50 && i.lowSaturation.saturation--;
|
|
3675
3675
|
});
|
|
3676
|
-
} }) : null, o &&
|
|
3676
|
+
} }) : null, o && w.jsx(po, { range: !0, min: 50, max: 199, value: n, onChange: (i) => {
|
|
3677
3677
|
t((a) => {
|
|
3678
3678
|
a.lowSaturation.saturation = i;
|
|
3679
3679
|
});
|
|
3680
3680
|
} })] });
|
|
3681
|
-
}, ld = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "MonochromePhotosIcon", ...e }, x.createElement("path", { d: "M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3-6c0-2.8-2.2-5-5-5v1.8c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2V18c2.8 0 5-2.2 5-5zm-8.2 0c0 1.8 1.4 3.2 3.2 3.2V9.8c-1.8 0-3.2 1.4-3.2 3.2z" })), ud = ({ accState: e, onChangeAccState: t }) =>
|
|
3681
|
+
}, ld = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "MonochromePhotosIcon", ...e }, x.createElement("path", { d: "M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3-6c0-2.8-2.2-5-5-5v1.8c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2V18c2.8 0 5-2.2 5-5zm-8.2 0c0 1.8 1.4 3.2 3.2 3.2V9.8c-1.8 0-3.2 1.4-3.2 3.2z" })), ud = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: ld, isToggled: e.isMonochrome, onToggle: () => {
|
|
3682
3682
|
t((o) => {
|
|
3683
3683
|
o.isMonochrome = !o.isMonochrome;
|
|
3684
3684
|
});
|
|
@@ -3722,12 +3722,12 @@ var mn = function(e, t, o) {
|
|
|
3722
3722
|
var t = e.onMove, o = e.onKey, n = cc(e, ["onMove", "onKey"]), r = Ce(null), i = Er(t), a = Er(o), s = Ce(null), c = Ce(!1), l = St(function() {
|
|
3723
3723
|
var b = function(v) {
|
|
3724
3724
|
Ga(v), (ln(v) ? v.touches.length > 0 : v.buttons > 0) && r.current ? i(wa(r.current, v, s.current)) : f(!1);
|
|
3725
|
-
},
|
|
3725
|
+
}, m = function() {
|
|
3726
3726
|
return f(!1);
|
|
3727
3727
|
};
|
|
3728
3728
|
function f(v) {
|
|
3729
|
-
var S = c.current, I = Vr(r.current),
|
|
3730
|
-
|
|
3729
|
+
var S = c.current, I = Vr(r.current), h = v ? I.addEventListener : I.removeEventListener;
|
|
3730
|
+
h(S ? "touchmove" : "mousemove", b), h(S ? "touchend" : "mouseup", m);
|
|
3731
3731
|
}
|
|
3732
3732
|
return [function(v) {
|
|
3733
3733
|
var S = v.nativeEvent, I = r.current;
|
|
@@ -3736,8 +3736,8 @@ var mn = function(e, t, o) {
|
|
|
3736
3736
|
}(S, c.current) && I)) {
|
|
3737
3737
|
if (ln(S)) {
|
|
3738
3738
|
c.current = !0;
|
|
3739
|
-
var
|
|
3740
|
-
|
|
3739
|
+
var h = S.changedTouches || [];
|
|
3740
|
+
h.length && (s.current = h[0].identifier);
|
|
3741
3741
|
}
|
|
3742
3742
|
I.focus(), i(wa(I, S, s.current)), f(!0);
|
|
3743
3743
|
}
|
|
@@ -3812,10 +3812,10 @@ var md = typeof window < "u" ? ne : Pe, Na = /* @__PURE__ */ new Map(), hd = fun
|
|
|
3812
3812
|
md(function() {
|
|
3813
3813
|
var b = d.current ? d.current.ownerDocument : document;
|
|
3814
3814
|
if (b !== void 0 && !Na.has(b)) {
|
|
3815
|
-
var
|
|
3816
|
-
|
|
3815
|
+
var m = b.createElement("style");
|
|
3816
|
+
m.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`, Na.set(b, m);
|
|
3817
3817
|
var f = typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0;
|
|
3818
|
-
f &&
|
|
3818
|
+
f && m.setAttribute("nonce", f), b.head.appendChild(m);
|
|
3819
3819
|
}
|
|
3820
3820
|
}, []);
|
|
3821
3821
|
})(s);
|
|
@@ -3849,14 +3849,14 @@ const gc = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIco
|
|
|
3849
3849
|
i.color = r;
|
|
3850
3850
|
});
|
|
3851
3851
|
};
|
|
3852
|
-
return
|
|
3852
|
+
return w.jsx(be, { Icon: gc, titleTranslationKey: "colors.textColorPicker", elementType: "div", title: "Text Color Picker", className: "_accButtonTextColorPicker_dw9mu_1", children: w.jsxs("div", { className: "_accTextColorPicker_dw9mu_16", children: [w.jsxs("div", { className: "_accTextColorPicker__topContainer_dw9mu_22", children: [w.jsx(Ue, { onClick: () => {
|
|
3853
3853
|
n("");
|
|
3854
|
-
}, controlType: "init" }),
|
|
3855
|
-
}, yd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "BlindIcon", ...e }, x.createElement("circle", { cx: 11.5, cy: 3.5, r: 2 }), x.createElement("path", { d: "M12.13 7.12c-.17-.35-.44-.65-.8-.85-.61-.36-1.34-.34-1.93-.03v-.01L4 9.3V14h2v-3.54l1.5-.85C7.18 10.71 7 11.85 7 13v5.33L4.4 21.8 6 23l3-4 .22-3.54L11 18v5h2v-6.5l-1.97-2.81c-.04-.52-.14-1.76.45-3.4.75 1.14 1.88 1.98 3.2 2.41L20.63 23l.87-.5-5.48-9.5H17v-2c-.49 0-2.88.17-4.08-2.21" })), Id = ({ accState: e, onChangeAccState: t }) =>
|
|
3854
|
+
}, controlType: "init" }), w.jsx("input", { placeholder: "#000000", type: "text", value: o, className: "_accTextColorPicker__inputText_dw9mu_30", onChange: (r) => n(r.target.value) })] }), w.jsx(bd, { className: "_accTextColorPicker__hexColorPicker_dw9mu_35", color: o, onChange: n })] }) });
|
|
3855
|
+
}, yd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "BlindIcon", ...e }, x.createElement("circle", { cx: 11.5, cy: 3.5, r: 2 }), x.createElement("path", { d: "M12.13 7.12c-.17-.35-.44-.65-.8-.85-.61-.36-1.34-.34-1.93-.03v-.01L4 9.3V14h2v-3.54l1.5-.85C7.18 10.71 7 11.85 7 13v5.33L4.4 21.8 6 23l3-4 .22-3.54L11 18v5h2v-6.5l-1.97-2.81c-.04-.52-.14-1.76.45-3.4.75 1.14 1.88 1.98 3.2 2.41L20.63 23l.87-.5-5.48-9.5H17v-2c-.49 0-2.88.17-4.08-2.21" })), Id = ({ accState: e, onChangeAccState: t }) => w.jsx(be, { Icon: yd, isToggled: e.isVisualImpairment, onToggle: () => {
|
|
3856
3856
|
t((o) => {
|
|
3857
3857
|
o.isVisualImpairment = !o.isVisualImpairment;
|
|
3858
3858
|
});
|
|
3859
|
-
}, titleTranslationKey: "colors.visualImpairment", title: "Visual Impairment" }), Cd = ({ accState: e, onChangeAccState: t }) =>
|
|
3859
|
+
}, titleTranslationKey: "colors.visualImpairment", title: "Visual Impairment" }), Cd = ({ accState: e, onChangeAccState: t }) => w.jsxs(w.Fragment, { children: [w.jsx(Ju, { accState: e, onChangeAccState: t }), w.jsx(sd, { accState: e, onChangeAccState: t }), w.jsx(od, { accState: e, onChangeAccState: t }), w.jsx(id, { accState: e, onChangeAccState: t }), w.jsx(nd, { accState: e, onChangeAccState: t }), w.jsx(ad, { accState: e, onChangeAccState: t }), w.jsx(cd, { accState: e, onChangeAccState: t }), w.jsx(ud, { accState: e, onChangeAccState: t }), w.jsx(Id, { accState: e, onChangeAccState: t }), w.jsx(vd, { accState: e, onChangeAccState: t })] }), xd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AdsClickIcon", ...e }, x.createElement("path", { d: "M11.71 17.99C8.53 17.84 6 15.22 6 12c0-3.31 2.69-6 6-6 3.22 0 5.84 2.53 5.99 5.71l-2.1-.63C15.48 9.31 13.89 8 12 8c-2.21 0-4 1.79-4 4 0 1.89 1.31 3.48 3.08 3.89l.63 2.1zM22 12c0 .3-.01.6-.04.9l-1.97-.59c.01-.1.01-.21.01-.31 0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8c.1 0 .21 0 .31-.01l.59 1.97c-.3.03-.6.04-.9.04-5.52 0-10-4.48-10-10S6.48 2 12 2s10 4.48 10 10zm-3.77 4.26L22 15l-10-3 3 10 1.26-3.77 4.27 4.27 1.98-1.98-4.28-4.26z" })), D = (e) => typeof e == "string", nn = () => {
|
|
3860
3860
|
let e, t;
|
|
3861
3861
|
const o = new Promise((n, r) => {
|
|
3862
3862
|
e = n, t = r;
|
|
@@ -4072,13 +4072,13 @@ class oo extends ho {
|
|
|
4072
4072
|
let i = o.ns || this.options.defaultNS || [];
|
|
4073
4073
|
const a = n && t.indexOf(n) > -1, s = !(this.options.userDefinedKeySeparator || o.keySeparator || this.options.userDefinedNsSeparator || o.nsSeparator || ((c, l, u) => {
|
|
4074
4074
|
l = l || "", u = u || "";
|
|
4075
|
-
const g = Gd.filter((
|
|
4075
|
+
const g = Gd.filter((m) => l.indexOf(m) < 0 && u.indexOf(m) < 0);
|
|
4076
4076
|
if (g.length === 0) return !0;
|
|
4077
|
-
const d = Nd.getRegExp(`(${g.map((
|
|
4077
|
+
const d = Nd.getRegExp(`(${g.map((m) => m === "?" ? "\\?" : m).join("|")})`);
|
|
4078
4078
|
let b = !d.test(c);
|
|
4079
4079
|
if (!b) {
|
|
4080
|
-
const
|
|
4081
|
-
|
|
4080
|
+
const m = c.indexOf(u);
|
|
4081
|
+
m > 0 && !d.test(c.substring(0, m)) && (b = !0);
|
|
4082
4082
|
}
|
|
4083
4083
|
return b;
|
|
4084
4084
|
})(t, n, r));
|
|
@@ -4096,22 +4096,22 @@ class oo extends ho {
|
|
|
4096
4096
|
const r = o.returnDetails !== void 0 ? o.returnDetails : this.options.returnDetails, i = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, { key: a, namespaces: s } = this.extractFromKey(t[t.length - 1], o), c = s[s.length - 1], l = o.lng || this.language, u = o.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
4097
4097
|
if (l && l.toLowerCase() === "cimode") {
|
|
4098
4098
|
if (u) {
|
|
4099
|
-
const
|
|
4100
|
-
return r ? { res: `${c}${
|
|
4099
|
+
const h = o.nsSeparator || this.options.nsSeparator;
|
|
4100
|
+
return r ? { res: `${c}${h}${a}`, usedKey: a, exactUsedKey: a, usedLng: l, usedNS: c, usedParams: this.getUsedParamsDetails(o) } : `${c}${h}${a}`;
|
|
4101
4101
|
}
|
|
4102
4102
|
return r ? { res: a, usedKey: a, exactUsedKey: a, usedLng: l, usedNS: c, usedParams: this.getUsedParamsDetails(o) } : a;
|
|
4103
4103
|
}
|
|
4104
4104
|
const g = this.resolve(t, o);
|
|
4105
4105
|
let d = g && g.res;
|
|
4106
|
-
const b = g && g.usedKey || a,
|
|
4106
|
+
const b = g && g.usedKey || a, m = g && g.exactUsedKey || a, f = Object.prototype.toString.apply(d), v = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, I = !D(d) && typeof d != "boolean" && typeof d != "number";
|
|
4107
4107
|
if (!(S && d && I && ["[object Number]", "[object Function]", "[object RegExp]"].indexOf(f) < 0) || D(v) && Array.isArray(d)) if (S && D(v) && Array.isArray(d)) d = d.join(v), d && (d = this.extendTranslation(d, t, o, n));
|
|
4108
4108
|
else {
|
|
4109
|
-
let
|
|
4110
|
-
const p = o.count !== void 0 && !D(o.count), C = oo.hasDefaultValue(o),
|
|
4111
|
-
!this.isValidLookup(d) && C && (
|
|
4112
|
-
const Y = (o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : d,
|
|
4113
|
-
if (y ||
|
|
4114
|
-
if (this.logger.log(
|
|
4109
|
+
let h = !1, y = !1;
|
|
4110
|
+
const p = o.count !== void 0 && !D(o.count), C = oo.hasDefaultValue(o), A = p ? this.pluralResolver.getSuffix(l, o.count, o) : "", M = o.ordinal && p ? this.pluralResolver.getSuffix(l, o.count, { ordinal: !1 }) : "", F = p && !o.ordinal && o.count === 0 && this.pluralResolver.shouldUseIntlApi(), V = F && o[`defaultValue${this.options.pluralSeparator}zero`] || o[`defaultValue${A}`] || o[`defaultValue${M}`] || o.defaultValue;
|
|
4111
|
+
!this.isValidLookup(d) && C && (h = !0, d = V), this.isValidLookup(d) || (y = !0, d = a);
|
|
4112
|
+
const Y = (o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : d, j = C && V !== d && this.options.updateMissing;
|
|
4113
|
+
if (y || h || j) {
|
|
4114
|
+
if (this.logger.log(j ? "updateKey" : "missingKey", l, c, a, j ? V : d), i) {
|
|
4115
4115
|
const G = this.resolve(a, { ...o, keySeparator: !1 });
|
|
4116
4116
|
G && G.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
4117
4117
|
}
|
|
@@ -4121,28 +4121,28 @@ class oo extends ho {
|
|
|
4121
4121
|
else this.options.saveMissingTo === "all" ? J = this.languageUtils.toResolveHierarchy(o.lng || this.language) : J.push(o.lng || this.language);
|
|
4122
4122
|
const Z = (G, B, E) => {
|
|
4123
4123
|
const k = C && E !== d ? E : Y;
|
|
4124
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, c, B, k,
|
|
4124
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, c, B, k, j, o) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(G, c, B, k, j, o), this.emit("missingKey", G, c, B, d);
|
|
4125
4125
|
};
|
|
4126
4126
|
this.options.saveMissing && (this.options.saveMissingPlurals && p ? J.forEach((G) => {
|
|
4127
4127
|
const B = this.pluralResolver.getSuffixes(G, o);
|
|
4128
|
-
|
|
4129
|
-
Z([G], a + E, o[`defaultValue${E}`] ||
|
|
4128
|
+
F && o[`defaultValue${this.options.pluralSeparator}zero`] && B.indexOf(`${this.options.pluralSeparator}zero`) < 0 && B.push(`${this.options.pluralSeparator}zero`), B.forEach((E) => {
|
|
4129
|
+
Z([G], a + E, o[`defaultValue${E}`] || V);
|
|
4130
4130
|
});
|
|
4131
|
-
}) : Z(J, a,
|
|
4131
|
+
}) : Z(J, a, V));
|
|
4132
4132
|
}
|
|
4133
|
-
d = this.extendTranslation(d, t, o, g, n), y && d === a && this.options.appendNamespaceToMissingKey && (d = `${c}:${a}`), (y ||
|
|
4133
|
+
d = this.extendTranslation(d, t, o, g, n), y && d === a && this.options.appendNamespaceToMissingKey && (d = `${c}:${a}`), (y || h) && this.options.parseMissingKeyHandler && (d = this.options.compatibilityAPI !== "v1" ? this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}:${a}` : a, h ? d : void 0) : this.options.parseMissingKeyHandler(d));
|
|
4134
4134
|
}
|
|
4135
4135
|
else {
|
|
4136
4136
|
if (!o.returnObjects && !this.options.returnObjects) {
|
|
4137
4137
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
4138
|
-
const
|
|
4139
|
-
return r ? (g.res =
|
|
4138
|
+
const h = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, d, { ...o, ns: s }) : `key '${a} (${this.language})' returned an object instead of string.`;
|
|
4139
|
+
return r ? (g.res = h, g.usedParams = this.getUsedParamsDetails(o), g) : h;
|
|
4140
4140
|
}
|
|
4141
4141
|
if (i) {
|
|
4142
|
-
const
|
|
4142
|
+
const h = Array.isArray(d), y = h ? [] : {}, p = h ? m : b;
|
|
4143
4143
|
for (const C in d) if (Object.prototype.hasOwnProperty.call(d, C)) {
|
|
4144
|
-
const
|
|
4145
|
-
y[C] = this.translate(
|
|
4144
|
+
const A = `${p}${i}${C}`;
|
|
4145
|
+
y[C] = this.translate(A, { ...o, joinArrays: !1, ns: s }), y[C] === A && (y[C] = d[C]);
|
|
4146
4146
|
}
|
|
4147
4147
|
d = y;
|
|
4148
4148
|
}
|
|
@@ -4166,7 +4166,7 @@ class oo extends ho {
|
|
|
4166
4166
|
u < (d && d.length) && (n.nest = !1);
|
|
4167
4167
|
}
|
|
4168
4168
|
!n.lng && this.options.compatibilityAPI !== "v1" && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (t = this.interpolator.nest(t, function() {
|
|
4169
|
-
for (var d = arguments.length, b = new Array(d),
|
|
4169
|
+
for (var d = arguments.length, b = new Array(d), m = 0; m < d; m++) b[m] = arguments[m];
|
|
4170
4170
|
return i && i[0] === b[0] && !n.context ? (a.logger.warn(`It seems you are nesting recursively key: ${b[0]} in key: ${o[0]}`), null) : a.translate(...b, o);
|
|
4171
4171
|
}, n)), n.interpolation && this.interpolator.reset();
|
|
4172
4172
|
}
|
|
@@ -4181,7 +4181,7 @@ class oo extends ho {
|
|
|
4181
4181
|
n = u;
|
|
4182
4182
|
let g = l.namespaces;
|
|
4183
4183
|
this.options.fallbackNS && (g = g.concat(this.options.fallbackNS));
|
|
4184
|
-
const d = s.count !== void 0 && !D(s.count), b = d && !s.ordinal && s.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
4184
|
+
const d = s.count !== void 0 && !D(s.count), b = d && !s.ordinal && s.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = s.context !== void 0 && (D(s.context) || typeof s.context == "number") && s.context !== "", f = s.lngs ? s.lngs : this.languageUtils.toResolveHierarchy(s.lng || this.language, s.fallbackLng);
|
|
4185
4185
|
g.forEach((v) => {
|
|
4186
4186
|
this.isValidLookup(o) || (a = v, !Va[`${f[0]}-${v}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (Va[`${f[0]}-${v}`] = !0, this.logger.warn(`key "${n}" for languages "${f.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), f.forEach((S) => {
|
|
4187
4187
|
if (this.isValidLookup(o)) return;
|
|
@@ -4192,13 +4192,13 @@ class oo extends ho {
|
|
|
4192
4192
|
let y;
|
|
4193
4193
|
d && (y = this.pluralResolver.getSuffix(S, s.count, s));
|
|
4194
4194
|
const p = `${this.options.pluralSeparator}zero`, C = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
4195
|
-
if (d && (I.push(u + y), s.ordinal && y.indexOf(C) === 0 && I.push(u + y.replace(C, this.options.pluralSeparator)), b && I.push(u + p)),
|
|
4196
|
-
const
|
|
4197
|
-
I.push(
|
|
4195
|
+
if (d && (I.push(u + y), s.ordinal && y.indexOf(C) === 0 && I.push(u + y.replace(C, this.options.pluralSeparator)), b && I.push(u + p)), m) {
|
|
4196
|
+
const A = `${u}${this.options.contextSeparator}${s.context}`;
|
|
4197
|
+
I.push(A), d && (I.push(A + y), s.ordinal && y.indexOf(C) === 0 && I.push(A + y.replace(C, this.options.pluralSeparator)), b && I.push(A + p));
|
|
4198
4198
|
}
|
|
4199
4199
|
}
|
|
4200
|
-
let
|
|
4201
|
-
for (;
|
|
4200
|
+
let h;
|
|
4201
|
+
for (; h = I.pop(); ) this.isValidLookup(o) || (r = h, o = this.getResource(S, v, h, s));
|
|
4202
4202
|
}));
|
|
4203
4203
|
});
|
|
4204
4204
|
}), { res: o, usedKey: n, exactUsedKey: r, usedLng: i, usedNS: a };
|
|
@@ -4225,7 +4225,7 @@ class oo extends ho {
|
|
|
4225
4225
|
return !1;
|
|
4226
4226
|
}
|
|
4227
4227
|
}
|
|
4228
|
-
const
|
|
4228
|
+
const Fo = (e) => e.charAt(0).toUpperCase() + e.slice(1);
|
|
4229
4229
|
class Ra {
|
|
4230
4230
|
constructor(t) {
|
|
4231
4231
|
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ft.create("languageUtils");
|
|
@@ -4249,7 +4249,7 @@ class Ra {
|
|
|
4249
4249
|
}
|
|
4250
4250
|
const o = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
4251
4251
|
let n = t.split("-");
|
|
4252
|
-
return this.options.lowerCaseLng ? n = n.map((r) => r.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), o.indexOf(n[1].toLowerCase()) > -1 && (n[1] =
|
|
4252
|
+
return this.options.lowerCaseLng ? n = n.map((r) => r.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), o.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Fo(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), o.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Fo(n[1].toLowerCase())), o.indexOf(n[2].toLowerCase()) > -1 && (n[2] = Fo(n[2].toLowerCase()))), n.join("-");
|
|
4253
4253
|
}
|
|
4254
4254
|
return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
|
|
4255
4255
|
}
|
|
@@ -4359,7 +4359,7 @@ const Oa = function(e, t, o) {
|
|
|
4359
4359
|
return l !== void 0 ? l : eo(s, c);
|
|
4360
4360
|
})(e, t, o);
|
|
4361
4361
|
return !i && r && D(o) && (i = Tr(e, o, n), i === void 0 && (i = Tr(t, o, n))), i;
|
|
4362
|
-
},
|
|
4362
|
+
}, jo = (e) => e.replace(/\$/g, "$$$$");
|
|
4363
4363
|
class Rd {
|
|
4364
4364
|
constructor() {
|
|
4365
4365
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -4368,8 +4368,8 @@ class Rd {
|
|
|
4368
4368
|
init() {
|
|
4369
4369
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4370
4370
|
t.interpolation || (t.interpolation = { escapeValue: !0 });
|
|
4371
|
-
const { escape: o, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: s, suffixEscaped: c, formatSeparator: l, unescapeSuffix: u, unescapePrefix: g, nestingPrefix: d, nestingPrefixEscaped: b, nestingSuffix:
|
|
4372
|
-
this.escape = o !== void 0 ? o : wd, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Ht(i) : a || "{{", this.suffix = s ? Ht(s) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : g || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? Ht(d) : b || Ht("$t("), this.nestingSuffix =
|
|
4371
|
+
const { escape: o, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: s, suffixEscaped: c, formatSeparator: l, unescapeSuffix: u, unescapePrefix: g, nestingPrefix: d, nestingPrefixEscaped: b, nestingSuffix: m, nestingSuffixEscaped: f, nestingOptionsSeparator: v, maxReplaces: S, alwaysFormat: I } = t.interpolation;
|
|
4372
|
+
this.escape = o !== void 0 ? o : wd, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Ht(i) : a || "{{", this.suffix = s ? Ht(s) : c || "}}", this.formatSeparator = l || ",", this.unescapePrefix = u ? "" : g || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = d ? Ht(d) : b || Ht("$t("), this.nestingSuffix = m ? Ht(m) : f || Ht(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = I !== void 0 && I, this.resetRegExp();
|
|
4373
4373
|
}
|
|
4374
4374
|
reset() {
|
|
4375
4375
|
this.options && this.init(this.options);
|
|
@@ -4385,12 +4385,12 @@ class Rd {
|
|
|
4385
4385
|
const v = Oa(o, c, d, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
4386
4386
|
return this.alwaysFormat ? this.format(v, void 0, n, { ...r, ...o, interpolationkey: d }) : v;
|
|
4387
4387
|
}
|
|
4388
|
-
const b = d.split(this.formatSeparator),
|
|
4389
|
-
return this.format(Oa(o, c,
|
|
4388
|
+
const b = d.split(this.formatSeparator), m = b.shift().trim(), f = b.join(this.formatSeparator).trim();
|
|
4389
|
+
return this.format(Oa(o, c, m, this.options.keySeparator, this.options.ignoreJSONStructure), f, n, { ...r, ...o, interpolationkey: m });
|
|
4390
4390
|
};
|
|
4391
4391
|
this.resetRegExp();
|
|
4392
4392
|
const u = r && r.missingInterpolationHandler || this.options.missingInterpolationHandler, g = r && r.interpolation && r.interpolation.skipOnVariables !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
4393
|
-
return [{ regex: this.regexpUnescape, safeValue: (d) =>
|
|
4393
|
+
return [{ regex: this.regexpUnescape, safeValue: (d) => jo(d) }, { regex: this.regexp, safeValue: (d) => this.escapeValue ? jo(this.escape(d)) : jo(d) }].forEach((d) => {
|
|
4394
4394
|
for (s = 0; i = d.regex.exec(t); ) {
|
|
4395
4395
|
const b = i[1].trim();
|
|
4396
4396
|
if (a = l(b), a === void 0) if (typeof u == "function") {
|
|
@@ -4405,8 +4405,8 @@ class Rd {
|
|
|
4405
4405
|
this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`), a = "";
|
|
4406
4406
|
}
|
|
4407
4407
|
else D(a) || this.useRawValueToEscape || (a = ka(a));
|
|
4408
|
-
const
|
|
4409
|
-
if (t = t.replace(i[0],
|
|
4408
|
+
const m = d.safeValue(a);
|
|
4409
|
+
if (t = t.replace(i[0], m), g ? (d.regex.lastIndex += a.length, d.regex.lastIndex -= i[0].length) : d.regex.lastIndex = 0, s++, s >= this.maxReplaces) break;
|
|
4410
4410
|
}
|
|
4411
4411
|
}), t;
|
|
4412
4412
|
}
|
|
@@ -4418,8 +4418,8 @@ class Rd {
|
|
|
4418
4418
|
const g = c.split(new RegExp(`${u}[ ]*{`));
|
|
4419
4419
|
let d = `{${g[1]}`;
|
|
4420
4420
|
c = g[0], d = this.interpolate(d, i);
|
|
4421
|
-
const b = d.match(/'/g),
|
|
4422
|
-
(b && b.length % 2 == 0 && !
|
|
4421
|
+
const b = d.match(/'/g), m = d.match(/"/g);
|
|
4422
|
+
(b && b.length % 2 == 0 && !m || m.length % 2 != 0) && (d = d.replace(/'/g, '"'));
|
|
4423
4423
|
try {
|
|
4424
4424
|
i = JSON.parse(d), l && (i = { ...l, ...i });
|
|
4425
4425
|
} catch (f) {
|
|
@@ -4493,13 +4493,13 @@ class Td {
|
|
|
4493
4493
|
let d = g.toLowerCase().trim();
|
|
4494
4494
|
const b = {};
|
|
4495
4495
|
if (g.indexOf("(") > -1) {
|
|
4496
|
-
const
|
|
4497
|
-
d =
|
|
4498
|
-
const f =
|
|
4496
|
+
const m = g.split("(");
|
|
4497
|
+
d = m[0].toLowerCase().trim();
|
|
4498
|
+
const f = m[1].substring(0, m[1].length - 1);
|
|
4499
4499
|
d === "currency" && f.indexOf(":") < 0 ? b.currency || (b.currency = f.trim()) : d === "relativetime" && f.indexOf(":") < 0 ? b.range || (b.range = f.trim()) : f.split(";").forEach((v) => {
|
|
4500
4500
|
if (v) {
|
|
4501
|
-
const [S, ...I] = v.split(":"),
|
|
4502
|
-
b[y] || (b[y] =
|
|
4501
|
+
const [S, ...I] = v.split(":"), h = I.join(":").trim().replace(/^'+|'+$/g, ""), y = S.trim();
|
|
4502
|
+
b[y] || (b[y] = h), h === "false" && (b[y] = !1), h === "true" && (b[y] = !0), isNaN(h) || (b[y] = parseInt(h, 10));
|
|
4503
4503
|
}
|
|
4504
4504
|
});
|
|
4505
4505
|
}
|
|
@@ -4655,10 +4655,10 @@ class hn extends ho {
|
|
|
4655
4655
|
this.store = new Ea(this.options.resources, this.options);
|
|
4656
4656
|
const u = this.services;
|
|
4657
4657
|
u.logger = ft, u.resourceStore = this.store, u.languageUtils = l, u.pluralResolver = new Vd(l, { prepend: this.options.pluralSeparator, compatibilityJSON: this.options.compatibilityJSON, simplifyPluralSuffix: this.options.simplifyPluralSuffix }), !c || this.options.interpolation.format && this.options.interpolation.format !== r.interpolation.format || (u.formatter = i(c), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Rd(this.options), u.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, u.backendConnector = new Od(i(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(g) {
|
|
4658
|
-
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0),
|
|
4658
|
+
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), m = 1; m < d; m++) b[m - 1] = arguments[m];
|
|
4659
4659
|
t.emit(g, ...b);
|
|
4660
4660
|
}), this.modules.languageDetector && (u.languageDetector = i(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = i(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new oo(this.services, this.options), this.translator.on("*", function(g) {
|
|
4661
|
-
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0),
|
|
4661
|
+
for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), m = 1; m < d; m++) b[m - 1] = arguments[m];
|
|
4662
4662
|
t.emit(g, ...b);
|
|
4663
4663
|
}), this.modules.external.forEach((g) => {
|
|
4664
4664
|
g.init && g.init(this);
|
|
@@ -4677,7 +4677,7 @@ class hn extends ho {
|
|
|
4677
4677
|
return t.store[c](...arguments), t;
|
|
4678
4678
|
};
|
|
4679
4679
|
});
|
|
4680
|
-
const a =
|
|
4680
|
+
const a = nn(), s = () => {
|
|
4681
4681
|
const c = (l, u) => {
|
|
4682
4682
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), a.resolve(u), n(l, u);
|
|
4683
4683
|
};
|
|
@@ -4702,7 +4702,7 @@ class hn extends ho {
|
|
|
4702
4702
|
} else o(null);
|
|
4703
4703
|
}
|
|
4704
4704
|
reloadResources(t, o, n) {
|
|
4705
|
-
const r =
|
|
4705
|
+
const r = nn();
|
|
4706
4706
|
return typeof t == "function" && (n = t, t = void 0), typeof o == "function" && (n = o, o = void 0), t || (t = this.languages), o || (o = this.options.ns), n || (n = Rn), this.services.backendConnector.reload(t, o, (i) => {
|
|
4707
4707
|
r.resolve(), n(i);
|
|
4708
4708
|
}), r;
|
|
@@ -4724,7 +4724,7 @@ class hn extends ho {
|
|
|
4724
4724
|
changeLanguage(t, o) {
|
|
4725
4725
|
var n = this;
|
|
4726
4726
|
this.isLanguageChangingTo = t;
|
|
4727
|
-
const r =
|
|
4727
|
+
const r = nn();
|
|
4728
4728
|
this.emit("languageChanging", t);
|
|
4729
4729
|
const i = (c) => {
|
|
4730
4730
|
this.language = c, this.languages = this.services.languageUtils.toResolveHierarchy(c), this.resolvedLanguage = void 0, this.setResolvedLanguage(c);
|
|
@@ -4754,7 +4754,7 @@ class hn extends ho {
|
|
|
4754
4754
|
c.lng = c.lng || i.lng, c.lngs = c.lngs || i.lngs, c.ns = c.ns || i.ns, c.keyPrefix !== "" && (c.keyPrefix = c.keyPrefix || n || i.keyPrefix);
|
|
4755
4755
|
const d = r.options.keySeparator || ".";
|
|
4756
4756
|
let b;
|
|
4757
|
-
return b = c.keyPrefix && Array.isArray(a) ? a.map((
|
|
4757
|
+
return b = c.keyPrefix && Array.isArray(a) ? a.map((m) => `${c.keyPrefix}${d}${m}`) : c.keyPrefix ? `${c.keyPrefix}${d}${a}` : a, r.t(b, c);
|
|
4758
4758
|
};
|
|
4759
4759
|
return D(t) ? i.lng = t : i.lngs = t, i.ns = o, i.keyPrefix = n, i;
|
|
4760
4760
|
}
|
|
@@ -4784,7 +4784,7 @@ class hn extends ho {
|
|
|
4784
4784
|
return !(!this.hasResourceBundle(n, t) && this.services.backendConnector.backend && (!this.options.resources || this.options.partialBundledLanguages) && (!a(n, t) || r && !a(i, t)));
|
|
4785
4785
|
}
|
|
4786
4786
|
loadNamespaces(t, o) {
|
|
4787
|
-
const n =
|
|
4787
|
+
const n = nn();
|
|
4788
4788
|
return this.options.ns ? (D(t) && (t = [t]), t.forEach((r) => {
|
|
4789
4789
|
this.options.ns.indexOf(r) < 0 && this.options.ns.push(r);
|
|
4790
4790
|
}), this.loadResources((r) => {
|
|
@@ -4792,7 +4792,7 @@ class hn extends ho {
|
|
|
4792
4792
|
}), n) : (o && o(), Promise.resolve());
|
|
4793
4793
|
}
|
|
4794
4794
|
loadLanguages(t, o) {
|
|
4795
|
-
const n =
|
|
4795
|
+
const n = nn();
|
|
4796
4796
|
D(t) && (t = [t]);
|
|
4797
4797
|
const r = this.options.preload || [], i = t.filter((a) => r.indexOf(a) < 0 && this.services.languageUtils.isSupportedCode(a));
|
|
4798
4798
|
return i.length ? (this.options.preload = r.concat(i), this.loadResources((a) => {
|
|
@@ -4828,7 +4828,7 @@ ye.createInstance = hn.createInstance, ye.createInstance, ye.dir, ye.init, ye.lo
|
|
|
4828
4828
|
const Ha = (e, t) => {
|
|
4829
4829
|
const o = document.querySelectorAll(t.selectorText);
|
|
4830
4830
|
return Array.from(o).includes(e);
|
|
4831
|
-
},
|
|
4831
|
+
}, Ft = (e) => {
|
|
4832
4832
|
const { fontSize: t } = window.getComputedStyle(e);
|
|
4833
4833
|
e.dataset.accOrgfontsize = parseFloat(t).toString(), e.style.fontSize = t;
|
|
4834
4834
|
}, Pa = () => ({ language: typeof window < "u" ? localStorage.getItem("i18nextLng") ?? ye.language : ye.language, isBlueLightFilter: !1, brightness: { isBrightness: !1, brightness: 150 }, isDarkContrast: !1, isLightContrast: !1, highContrast: { isHighContrast: !1, contrast: 125 }, highSaturation: { isHighSaturation: !1, saturation: 200 }, lowSaturation: { isLowSaturation: !1, saturation: 50 }, isMonochrome: !1, color: "", isVisualImpairment: !1, adjustFontSizePercentage: 100, textAlign: { left: null, center: null, right: null }, isDyslexiaFont: !1, isFontWeightBold: !1, highlightLinks: !1, highlightTitles: !1, letterSpacing: 0, lineHeight: { isLineHeight: !1, lineHeight: 0 }, wordSpacing: 0, zoom: { isZoom: !1, zoom: 1 }, isBigCursor: !1, showReadingGuide: !1, activateTextToSpeech: !1 }), Wo = "acc-big-cursor-style", Zo = "acc-big-cursor", hc = (e, t) => {
|
|
@@ -4855,12 +4855,12 @@ const Ha = (e, t) => {
|
|
|
4855
4855
|
}, [e, t]);
|
|
4856
4856
|
}, zd = ({ accState: e, onChangeAccState: t }) => {
|
|
4857
4857
|
const { isBigCursor: o } = e;
|
|
4858
|
-
return hc(o),
|
|
4858
|
+
return hc(o), w.jsx(be, { Icon: xd, isToggled: o, onToggle: () => {
|
|
4859
4859
|
t((n) => {
|
|
4860
4860
|
n.isBigCursor = !n.isBigCursor;
|
|
4861
4861
|
});
|
|
4862
4862
|
}, titleTranslationKey: "tools.bigCursor", title: "Big Cursor" });
|
|
4863
|
-
}, Xd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AutoStoriesIcon", ...e }, x.createElement("path", { d: "m19 1-5 5v11l5-4.5V1zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6zm22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5v-1.1z" })),
|
|
4863
|
+
}, Xd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "AutoStoriesIcon", ...e }, x.createElement("path", { d: "m19 1-5 5v11l5-4.5V1zM1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5V6c-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6zm22 13.5V6c-.6-.45-1.25-.75-2-1v13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5v2c1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5v-1.1z" })), Fa = "acc-portal-[readingGuide-container]", fc = (e, t, o) => {
|
|
4864
4864
|
const [n, r] = Ie(0), i = St(() => n > 0 ? `calc(100vh - ${n}px - ${t}px)` : 0, [n, t]);
|
|
4865
4865
|
Pe(() => {
|
|
4866
4866
|
if (!o) {
|
|
@@ -4869,7 +4869,7 @@ const Ha = (e, t) => {
|
|
|
4869
4869
|
r(s.clientY);
|
|
4870
4870
|
};
|
|
4871
4871
|
return ((s, c) => {
|
|
4872
|
-
const l = document.getElementById(
|
|
4872
|
+
const l = document.getElementById(Fa);
|
|
4873
4873
|
l.style.display = "block";
|
|
4874
4874
|
let u = document.getElementById("acc-readingGuide-top");
|
|
4875
4875
|
u || (u = document.createElement("div"), u.id = "acc-readingGuide-top", u.className = "acc-readingGuide", u.style.height = `${s}px`, l.appendChild(u)), u.style.height = `${s}px`;
|
|
@@ -4881,7 +4881,7 @@ const Ha = (e, t) => {
|
|
|
4881
4881
|
}
|
|
4882
4882
|
{
|
|
4883
4883
|
const a = document.getElementById("acc-readingGuide-top");
|
|
4884
|
-
document.getElementById(
|
|
4884
|
+
document.getElementById(Fa).style.display = "none", a && a.remove();
|
|
4885
4885
|
const s = document.getElementById("acc-readingGuide-bottom");
|
|
4886
4886
|
s && s.remove();
|
|
4887
4887
|
}
|
|
@@ -4889,19 +4889,19 @@ const Ha = (e, t) => {
|
|
|
4889
4889
|
}, [e, o, n, i]);
|
|
4890
4890
|
}, Hd = ({ rgGap: e = 100, accState: t, onChangeAccState: o }) => {
|
|
4891
4891
|
const { showReadingGuide: n } = t;
|
|
4892
|
-
return fc(n, e),
|
|
4892
|
+
return fc(n, e), w.jsx(be, { Icon: Xd, isToggled: n, onToggle: () => {
|
|
4893
4893
|
o((r) => {
|
|
4894
4894
|
r.showReadingGuide = !r.showReadingGuide;
|
|
4895
4895
|
});
|
|
4896
4896
|
}, titleTranslationKey: "tools.readingGuide", title: "Reading Guide" });
|
|
4897
|
-
}, Pd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RecordVoiceOverIcon", ...e }, x.createElement("circle", { cx: 9, cy: 9, r: 4 }), x.createElement("path", { d: "M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z" })),
|
|
4897
|
+
}, Pd = (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "RecordVoiceOverIcon", ...e }, x.createElement("circle", { cx: 9, cy: 9, r: 4 }), x.createElement("path", { d: "M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z" })), ja = "Sorry, your browser does not support text-to-speech!", Fd = ({ accState: e, onChangeAccState: t }) => {
|
|
4898
4898
|
const { activateTextToSpeech: o, language: n } = e, [r, i] = Ie(!1), [a, s] = Ie(!0), [c, l] = Ie(null), u = Ce(null);
|
|
4899
4899
|
return Pe(() => {
|
|
4900
4900
|
if (!o) return;
|
|
4901
|
-
if (!window.speechSynthesis) return void alert(
|
|
4901
|
+
if (!window.speechSynthesis) return void alert(ja);
|
|
4902
4902
|
const g = setTimeout(() => {
|
|
4903
4903
|
if (!u.current) {
|
|
4904
|
-
const b = window.speechSynthesis.getVoices().reduce((
|
|
4904
|
+
const b = window.speechSynthesis.getVoices().reduce((m, f) => (m[f.lang] = f, m), {});
|
|
4905
4905
|
u.current = Object.values(b);
|
|
4906
4906
|
}
|
|
4907
4907
|
const d = u.current.find((b) => b.lang.includes(n)) ?? u.current[0];
|
|
@@ -4915,39 +4915,39 @@ const Ha = (e, t) => {
|
|
|
4915
4915
|
const g = () => {
|
|
4916
4916
|
const b = window.getSelection();
|
|
4917
4917
|
if (b) {
|
|
4918
|
-
const
|
|
4919
|
-
|
|
4918
|
+
const m = b.toString();
|
|
4919
|
+
m && d(m);
|
|
4920
4920
|
}
|
|
4921
4921
|
}, d = (b) => {
|
|
4922
|
-
const
|
|
4923
|
-
c && (
|
|
4922
|
+
const m = new SpeechSynthesisUtterance(b);
|
|
4923
|
+
c && (m.voice = c), window.speechSynthesis.speak(m);
|
|
4924
4924
|
};
|
|
4925
4925
|
return document.addEventListener("mouseup", g), () => {
|
|
4926
4926
|
document.removeEventListener("mouseup", g);
|
|
4927
4927
|
};
|
|
4928
4928
|
}
|
|
4929
|
-
}, [o, r, a, c]),
|
|
4929
|
+
}, [o, r, a, c]), w.jsx(be, { Icon: Pd, isToggled: o, onToggle: () => {
|
|
4930
4930
|
t((g) => {
|
|
4931
4931
|
g.activateTextToSpeech = !g.activateTextToSpeech;
|
|
4932
4932
|
});
|
|
4933
|
-
}, titleTranslationKey: "tools.textToSpeach", title: "Text To Speach", tooltipTranslationKey: "tools.textToSpeachTooltip", children: o ? a ?
|
|
4933
|
+
}, titleTranslationKey: "tools.textToSpeach", title: "Text To Speach", tooltipTranslationKey: "tools.textToSpeachTooltip", children: o ? a ? w.jsx("p", { style: { color: "red" }, children: "...lading" }) : r && u.current ? w.jsx("div", { onClick: (g) => {
|
|
4934
4934
|
g.stopPropagation();
|
|
4935
|
-
}, children:
|
|
4935
|
+
}, children: w.jsx(tc, { className: "_accSelectVoicesContainer_1d5zn_1", classNamePrefix: "accSelectVoices", options: u.current, value: c, onChange: (g) => {
|
|
4936
4936
|
l(g);
|
|
4937
|
-
}, getOptionLabel: (g) => g.lang, getOptionValue: (g) => g.lang }) }) :
|
|
4938
|
-
},
|
|
4937
|
+
}, getOptionLabel: (g) => g.lang, getOptionValue: (g) => g.lang }) }) : w.jsx("p", { style: { color: "red" }, children: ja }) : null });
|
|
4938
|
+
}, jd = ({ accState: e, onChangeAccState: t }) => w.jsxs(w.Fragment, { children: [w.jsx(zd, { accState: e, onChangeAccState: t }), w.jsx(Hd, { accState: e, onChangeAccState: t }), w.jsx(Fd, { accState: e, onChangeAccState: t })] }), Wd = ({ accState: e, onChangeAccState: t, onCollapse: o, collapsedState: n }) => {
|
|
4939
4939
|
const r = Object.values(n).every(({ isExpanded: i }) => !i);
|
|
4940
|
-
return
|
|
4940
|
+
return w.jsxs("div", { className: "_accMenuContent_1v82o_1", children: [w.jsx(Oo, { isAccMenuContentActive: !r, onCollapse: o, isExpanded: n.content.isExpanded, name: n.content.name, Icon: n.content.icon, tKey: "content.title", children: w.jsx(Wu, { accState: e, onChangeAccState: t }) }), w.jsx(Oo, { isAccMenuContentActive: !r, onCollapse: o, isExpanded: n.colors.isExpanded, name: n.colors.name, Icon: n.colors.icon, tKey: "colors.title", children: w.jsx(Cd, { accState: e, onChangeAccState: t }) }), w.jsx(Oo, { isAccMenuContentActive: !r, onCollapse: o, isExpanded: n.tools.isExpanded, name: n.tools.name, Icon: n.tools.icon, tKey: "tools.title", children: w.jsx(jd, { accState: e, onChangeAccState: t }) })] });
|
|
4941
4941
|
}, Or = [{ label: "English", value: "en-US" }, { label: "עברית", value: "he-IL" }, { label: "Русский", value: "ru" }, { label: "普通话", value: "zhzn" }, { label: "Español", value: "es" }, { label: "العربية", value: "ar" }, { label: "বাংলা", value: "bn" }, { label: "हिन्दी", value: "hi" }, { label: "Português", value: "ptpt" }, { label: "日本語", value: "ja" }, { label: "Deutsch", value: "de" }, { label: "简体中文", value: "wuu" }, { label: "한국어", value: "ko" }, { label: "Français", value: "fr" }, { label: "Türkçe", value: "tr" }, { label: "Tiếng Việt", value: "vi" }, { label: "తెలుగు", value: "te" }, { label: "मराठी", value: "mr" }, { label: "தமிழ்", value: "ta" }, { label: "Italiano", value: "it" }, { label: "اردو", value: "ur" }, { label: "ગુજરાતી", value: "gu" }, { label: "Polski", value: "pl" }, { label: "Українська", value: "uk" }, { label: "فارسی", value: "fa" }, { label: "മലയാളം", value: "ml" }, { label: "ಕನ್ನಡ", value: "kn" }, { label: "ଓଡ଼ିଆ", value: "or" }, { label: "Română", value: "ro" }, { label: "Azərbaycan", value: "az" }, { label: "هَوْسَ", value: "ha" }, { label: "ဗမာစာ", value: "my" }, { label: "српскохрватски", value: "sh" }, { label: "ไทย", value: "th" }, { label: "Nederlands", value: "nl" }, { label: "Yorùbá", value: "yo" }, { label: "سنڌي", value: "sd" }, { label: "Latviešu", value: "lv" }], Zd = Or.reduce((e, t) => (e[t.value] = t, e), {}), Wa = { content: { name: "content", isExpanded: !1, icon: (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "ContentCopyIcon", ...e }, x.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" })) }, colors: { name: "colors", isExpanded: !1, icon: gc }, tools: { name: "tools", isExpanded: !1, icon: (e) => x.createElement("svg", { className: "MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root", focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", "data-testid": "HandymanIcon", ...e }, x.createElement("path", { d: "m21.67 18.17-5.3-5.3h-.99l-2.54 2.54v.99l5.3 5.3c.39.39 1.02.39 1.41 0l2.12-2.12c.39-.38.39-1.02 0-1.41z" }), x.createElement("path", { d: "m17.34 10.19 1.41-1.41 2.12 2.12c1.17-1.17 1.17-3.07 0-4.24l-3.54-3.54-1.41 1.41V1.71l-.7-.71-3.54 3.54.71.71h2.83l-1.41 1.41 1.06 1.06-2.89 2.89-4.13-4.13V5.06L4.83 2.04 2 4.87 5.03 7.9h1.41l4.13 4.13-.85.85H7.6l-5.3 5.3c-.39.39-.39 1.02 0 1.41l2.12 2.12c.39.39 1.02.39 1.41 0l5.3-5.3v-2.12l5.15-5.15 1.06 1.05z" })) } }, Jd = ({ accState: e, display: t, onInit: o, onLangChange: n, onChangeAccState: r, onShow: i, showAcc: a, hasLanguages: s }) => {
|
|
4942
4942
|
const [c, l] = Ie(Wa), { language: u } = e, g = Ce(null);
|
|
4943
4943
|
return Pe(() => {
|
|
4944
4944
|
g.current && g.current.focus();
|
|
4945
|
-
}, []),
|
|
4946
|
-
l((b) => hr(Wa, (
|
|
4945
|
+
}, []), w.jsxs("div", { id: "acc-accessibility-menu", className: En.accAccessibilityMenu, children: [w.jsxs("div", { style: { display: t }, className: En.accMenu, children: [w.jsx($c, { onShow: i, onInit: o }), w.jsx(tc, { className: En["acc-lang-select-container"], options: s ? Or : [Or[0]], value: Zd[u], onChange: (d) => d && n(d.value), ref: g }), w.jsx(Wd, { onCollapse: (d) => {
|
|
4946
|
+
l((b) => hr(Wa, (m) => {
|
|
4947
4947
|
const f = b[d].isExpanded;
|
|
4948
|
-
|
|
4948
|
+
m[d].isExpanded = !f;
|
|
4949
4949
|
}));
|
|
4950
|
-
}, accState: e, onChangeAccState: r, collapsedState: c }),
|
|
4950
|
+
}, accState: e, onChangeAccState: r, collapsedState: c }), w.jsx(Uc, {})] }), a && w.jsx("div", { className: En.accAccessibilityMenu__overlay })] });
|
|
4951
4951
|
};
|
|
4952
4952
|
var bc = [], Dd = bc.forEach, Yd = bc.slice, Za = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, _d = { name: "cookie", lookup: function(e) {
|
|
4953
4953
|
var t;
|
|
@@ -5016,16 +5016,16 @@ var bc = [], Dd = bc.forEach, Yd = bc.slice, Za = /^[\u0009\u0020-\u007e\u0080-\
|
|
|
5016
5016
|
}
|
|
5017
5017
|
}
|
|
5018
5018
|
return t;
|
|
5019
|
-
} },
|
|
5020
|
-
if (
|
|
5019
|
+
} }, on = null, Ja = function() {
|
|
5020
|
+
if (on !== null) return on;
|
|
5021
5021
|
try {
|
|
5022
|
-
|
|
5022
|
+
on = window !== "undefined" && window.localStorage !== null;
|
|
5023
5023
|
var e = "i18next.translate.boo";
|
|
5024
5024
|
window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
|
|
5025
5025
|
} catch {
|
|
5026
|
-
|
|
5026
|
+
on = !1;
|
|
5027
5027
|
}
|
|
5028
|
-
return
|
|
5028
|
+
return on;
|
|
5029
5029
|
}, Ud = { name: "localStorage", lookup: function(e) {
|
|
5030
5030
|
var t;
|
|
5031
5031
|
if (e.lookupLocalStorage && Ja()) {
|
|
@@ -5035,16 +5035,16 @@ var bc = [], Dd = bc.forEach, Yd = bc.slice, Za = /^[\u0009\u0020-\u007e\u0080-\
|
|
|
5035
5035
|
return t;
|
|
5036
5036
|
}, cacheUserLanguage: function(e, t) {
|
|
5037
5037
|
t.lookupLocalStorage && Ja() && window.localStorage.setItem(t.lookupLocalStorage, e);
|
|
5038
|
-
} },
|
|
5039
|
-
if (
|
|
5038
|
+
} }, rn = null, Da = function() {
|
|
5039
|
+
if (rn !== null) return rn;
|
|
5040
5040
|
try {
|
|
5041
|
-
|
|
5041
|
+
rn = window !== "undefined" && window.sessionStorage !== null;
|
|
5042
5042
|
var e = "i18next.translate.boo";
|
|
5043
5043
|
window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
|
|
5044
5044
|
} catch {
|
|
5045
|
-
|
|
5045
|
+
rn = !1;
|
|
5046
5046
|
}
|
|
5047
|
-
return
|
|
5047
|
+
return rn;
|
|
5048
5048
|
}, Qd = { name: "sessionStorage", lookup: function(e) {
|
|
5049
5049
|
var t;
|
|
5050
5050
|
if (e.lookupSessionStorage && Da()) {
|
|
@@ -5139,55 +5139,63 @@ const Ya = "portal", _a = ({ children: e, wrapperElementId: t }) => {
|
|
|
5139
5139
|
o.style.fontSize = `${n}px`;
|
|
5140
5140
|
}
|
|
5141
5141
|
});
|
|
5142
|
-
},
|
|
5142
|
+
}, an = "acc-align-text", Do = "acc-highlight-links-style", Yo = "acc-highlight-links", _o = "acc-highlight-titles-style", $o = "acc-highlight-titles", Uo = "acc-letter-spacing-style", Tn = "acc-letter-spacing", Qo = "acc-line-height-style", On = "acc-line-height", Ko = "acc-word-spacing-style", zn = "acc-word-spacing", qo = "acc-zoom-style", Xn = "acc-zoom", Ka = "acc-blueLight-filter-style", er = "acc-blue-light-filter", qa = "acc-dark-contrast-style", tr = "acc-dark-contrast", es = "acc-light-contrast-style", nr = "acc-light-contrast", ts = "acc-visual-impairment-style", or = "acc-visual-impairment", ns = "acc-monochrome-style", rr = "acc-monochrome", os = "acc-high-contrast-style", Hn = "acc-high-contrast", rs = "acc-brightness-control-style", Pn = "acc-brightness-control", is = "acc-high-saturation-style", Fn = "acc-high-saturation", as = "acc-low-saturation-style", jn = "acc-low-saturation", ss = "acc-text-color-picker-style", ir = "acc-text-color-picker", cs = "accessibilik";
|
|
5143
5143
|
ye.use(Ic).use(Dc);
|
|
5144
5144
|
const cg = () => {
|
|
5145
5145
|
const [e, t] = Ie(!0), [o, n] = Ie(!1), [r, i] = Ie(!1), a = ((f) => {
|
|
5146
5146
|
const [v, S] = Ie(!0);
|
|
5147
5147
|
return ne(() => {
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5148
|
+
if (!f) return;
|
|
5149
|
+
const I = requestAnimationFrame(() => {
|
|
5150
|
+
document.querySelectorAll("*").forEach((h) => {
|
|
5151
|
+
const y = h;
|
|
5152
|
+
if (y.style.fontSize && Ft(y), Array.from(document.styleSheets).forEach((p) => {
|
|
5153
|
+
try {
|
|
5154
|
+
Array.from(p.cssRules || []).forEach((C) => {
|
|
5155
|
+
const A = C;
|
|
5156
|
+
A.style.fontSize && Ha(y, A) && Ft(y);
|
|
5157
|
+
});
|
|
5158
|
+
} catch {
|
|
5159
|
+
}
|
|
5160
|
+
}), y) {
|
|
5161
|
+
const p = y.tagName.toLowerCase();
|
|
5162
|
+
xt.includes(p) && Ft(y);
|
|
5157
5163
|
}
|
|
5158
|
-
}),
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
}
|
|
5162
|
-
}), S(!1));
|
|
5164
|
+
}), S(!1);
|
|
5165
|
+
});
|
|
5166
|
+
return () => cancelAnimationFrame(I);
|
|
5163
5167
|
}, [f]), v;
|
|
5164
5168
|
})(r), s = ((f) => {
|
|
5165
5169
|
const [v, S] = Ie(0);
|
|
5166
5170
|
return ne(() => {
|
|
5167
5171
|
if (!f) return;
|
|
5168
|
-
const I =
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5172
|
+
const I = (p) => {
|
|
5173
|
+
if (p.id === Se || p.id === jt) return;
|
|
5174
|
+
p.style.fontSize && (Ft(p), p.dataset.accMutation = "true", S((A) => ++A)), Array.from(document.styleSheets).forEach((A) => {
|
|
5175
|
+
try {
|
|
5176
|
+
Array.from(A.cssRules || []).forEach((M) => {
|
|
5177
|
+
const F = M;
|
|
5178
|
+
F.style.fontSize && Ha(p, F) && (Ft(p), p.dataset.accMutation = "true", S((V) => ++V));
|
|
5179
|
+
});
|
|
5180
|
+
} catch {
|
|
5181
|
+
}
|
|
5182
|
+
});
|
|
5183
|
+
const C = p.tagName.toLowerCase();
|
|
5184
|
+
xt.includes(C) && (Ft(p), p.dataset.accMutation = "true", S((A) => ++A));
|
|
5185
|
+
}, h = new MutationObserver((p) => {
|
|
5186
|
+
p.forEach((C) => {
|
|
5187
|
+
C.type === "childList" && C.addedNodes.length > 0 && C.addedNodes.forEach((A) => {
|
|
5188
|
+
if (A instanceof HTMLElement) {
|
|
5189
|
+
if (A.id === Se || A.id === jt) return;
|
|
5190
|
+
[A, ...Array.from(A.querySelectorAll("*"))].filter((M) => M instanceof HTMLElement).forEach(I);
|
|
5185
5191
|
}
|
|
5186
5192
|
});
|
|
5187
5193
|
});
|
|
5194
|
+
}), y = requestAnimationFrame(() => {
|
|
5195
|
+
typeof document < "u" && document.body && h.observe(document.body, { childList: !0, subtree: !0 });
|
|
5188
5196
|
});
|
|
5189
|
-
return
|
|
5190
|
-
S(0),
|
|
5197
|
+
return () => {
|
|
5198
|
+
cancelAnimationFrame(y), S(0), h.disconnect();
|
|
5191
5199
|
};
|
|
5192
5200
|
}, [f]), v;
|
|
5193
5201
|
})(r), [c, l] = function() {
|
|
@@ -5197,8 +5205,8 @@ const cg = () => {
|
|
|
5197
5205
|
try {
|
|
5198
5206
|
const I = sessionStorage.getItem(cs);
|
|
5199
5207
|
if (I) {
|
|
5200
|
-
const
|
|
5201
|
-
v(
|
|
5208
|
+
const h = JSON.parse(I);
|
|
5209
|
+
v(h);
|
|
5202
5210
|
}
|
|
5203
5211
|
} catch {
|
|
5204
5212
|
}
|
|
@@ -5214,9 +5222,9 @@ const cg = () => {
|
|
|
5214
5222
|
Pe(() => {
|
|
5215
5223
|
i(!0);
|
|
5216
5224
|
}, []), (({ accState: f, isGettingReady: v, nodeListUpdated: S }) => {
|
|
5217
|
-
((I,
|
|
5225
|
+
((I, h) => {
|
|
5218
5226
|
ne(() => {
|
|
5219
|
-
if (!
|
|
5227
|
+
if (!h) {
|
|
5220
5228
|
const y = document.getElementById(Ua);
|
|
5221
5229
|
if (I && !y) {
|
|
5222
5230
|
document.documentElement.classList.add(Jo);
|
|
@@ -5228,44 +5236,44 @@ const cg = () => {
|
|
|
5228
5236
|
`, document.head.appendChild(p);
|
|
5229
5237
|
} else !I && y && (document.documentElement.classList.remove(Jo), y == null || y.remove());
|
|
5230
5238
|
}
|
|
5231
|
-
}, [I,
|
|
5232
|
-
})(f.isFontWeightBold, v), ((I,
|
|
5239
|
+
}, [I, h]);
|
|
5240
|
+
})(f.isFontWeightBold, v), ((I, h, y) => {
|
|
5233
5241
|
ne(() => {
|
|
5234
|
-
y ||
|
|
5235
|
-
}, [I,
|
|
5242
|
+
y || h > 0 && Qa("data-acc-mutation", I);
|
|
5243
|
+
}, [I, h, y]), ne(() => {
|
|
5236
5244
|
y || Qa("data-acc-orgfontsize", I);
|
|
5237
5245
|
}, [I, y]);
|
|
5238
|
-
})(f.adjustFontSizePercentage, S, v), ((I,
|
|
5246
|
+
})(f.adjustFontSizePercentage, S, v), ((I, h) => {
|
|
5239
5247
|
const y = Object.values(I).find((p) => p);
|
|
5240
5248
|
ne(() => {
|
|
5241
|
-
if (!
|
|
5242
|
-
document.documentElement.classList.add(
|
|
5249
|
+
if (!h && y && !document.getElementById(`acc-align-text-style-${y}`)) {
|
|
5250
|
+
document.documentElement.classList.add(an);
|
|
5243
5251
|
const p = document.createElement("style");
|
|
5244
5252
|
p.id = `acc-align-text-style-${y}`, p.innerHTML = `
|
|
5245
|
-
html.${
|
|
5253
|
+
html.${an} *:not(#${Se} *), *:not(#${Se} *) {
|
|
5246
5254
|
text-align:${y} !important
|
|
5247
5255
|
}
|
|
5248
5256
|
`, document.head.appendChild(p);
|
|
5249
5257
|
}
|
|
5250
|
-
}, [y,
|
|
5251
|
-
if (!
|
|
5258
|
+
}, [y, h, I]), ne(() => {
|
|
5259
|
+
if (!h) {
|
|
5252
5260
|
if (!I.left) {
|
|
5253
5261
|
const p = document.getElementById("acc-align-text-style-left");
|
|
5254
|
-
p && (p.remove(), document.documentElement.classList.remove(
|
|
5262
|
+
p && (p.remove(), document.documentElement.classList.remove(an));
|
|
5255
5263
|
}
|
|
5256
5264
|
if (!I.right) {
|
|
5257
5265
|
const p = document.getElementById("acc-align-text-style-right");
|
|
5258
|
-
p && (p.remove(), document.documentElement.classList.remove(
|
|
5266
|
+
p && (p.remove(), document.documentElement.classList.remove(an));
|
|
5259
5267
|
}
|
|
5260
5268
|
if (!I.center) {
|
|
5261
5269
|
const p = document.getElementById("acc-align-text-style-center");
|
|
5262
|
-
p && (p.remove(), document.documentElement.classList.remove(
|
|
5270
|
+
p && (p.remove(), document.documentElement.classList.remove(an));
|
|
5263
5271
|
}
|
|
5264
5272
|
}
|
|
5265
5273
|
}, [I]);
|
|
5266
|
-
})(f.textAlign, v), nc(f.isDyslexiaFont, v), ((I,
|
|
5274
|
+
})(f.textAlign, v), nc(f.isDyslexiaFont, v), ((I, h) => {
|
|
5267
5275
|
ne(() => {
|
|
5268
|
-
if (
|
|
5276
|
+
if (h) return;
|
|
5269
5277
|
const y = document.getElementById(Do);
|
|
5270
5278
|
if (I && !y) {
|
|
5271
5279
|
document.documentElement.classList.add(Yo);
|
|
@@ -5280,10 +5288,10 @@ const cg = () => {
|
|
|
5280
5288
|
const p = document.getElementById(Do);
|
|
5281
5289
|
document.documentElement.classList.remove(Yo), p == null || p.remove();
|
|
5282
5290
|
}
|
|
5283
|
-
}, [I,
|
|
5284
|
-
})(f.highlightLinks, v), ((I,
|
|
5291
|
+
}, [I, h]);
|
|
5292
|
+
})(f.highlightLinks, v), ((I, h) => {
|
|
5285
5293
|
ne(() => {
|
|
5286
|
-
if (
|
|
5294
|
+
if (h) return;
|
|
5287
5295
|
const y = document.getElementById(_o);
|
|
5288
5296
|
if (I && !y) {
|
|
5289
5297
|
document.documentElement.classList.add($o);
|
|
@@ -5298,22 +5306,22 @@ const cg = () => {
|
|
|
5298
5306
|
const p = document.getElementById(_o);
|
|
5299
5307
|
document.documentElement.classList.remove($o), p == null || p.remove();
|
|
5300
5308
|
}
|
|
5301
|
-
}, [I,
|
|
5302
|
-
})(f.highlightTitles, v), ((I,
|
|
5309
|
+
}, [I, h]);
|
|
5310
|
+
})(f.highlightTitles, v), ((I, h) => {
|
|
5303
5311
|
const y = !!I;
|
|
5304
5312
|
ne(() => {
|
|
5305
|
-
if (
|
|
5313
|
+
if (h) return;
|
|
5306
5314
|
const p = document.getElementById(Uo);
|
|
5307
5315
|
if (y && !p) {
|
|
5308
5316
|
document.documentElement.classList.add(Tn);
|
|
5309
5317
|
const C = document.createElement("style");
|
|
5310
5318
|
C.id = Uo, C.innerHTML = `
|
|
5311
|
-
html.${Tn} *:not(#${
|
|
5319
|
+
html.${Tn} *:not(#${Se} *), *:not(#${Se} *) {
|
|
5312
5320
|
letter-spacing:${I}px !important;
|
|
5313
5321
|
}
|
|
5314
5322
|
`, document.head.appendChild(C);
|
|
5315
5323
|
} else if (y && p) p.innerHTML = `
|
|
5316
|
-
html.${Tn} *:not(#${
|
|
5324
|
+
html.${Tn} *:not(#${Se} *), *:not(#${Se} *) {
|
|
5317
5325
|
letter-spacing:${I}px !important;
|
|
5318
5326
|
}
|
|
5319
5327
|
`;
|
|
@@ -5321,45 +5329,45 @@ const cg = () => {
|
|
|
5321
5329
|
const C = document.getElementById(Uo);
|
|
5322
5330
|
document.documentElement.classList.remove(Tn), C == null || C.remove();
|
|
5323
5331
|
}
|
|
5324
|
-
}, [I, y,
|
|
5325
|
-
})(f.letterSpacing, v), ((I,
|
|
5332
|
+
}, [I, y, h]);
|
|
5333
|
+
})(f.letterSpacing, v), ((I, h) => {
|
|
5326
5334
|
const { lineHeight: y, isLineHeight: p } = I;
|
|
5327
5335
|
ne(() => {
|
|
5328
|
-
if (
|
|
5336
|
+
if (h) return;
|
|
5329
5337
|
const C = document.getElementById(Qo);
|
|
5330
5338
|
if (p && !C) {
|
|
5331
5339
|
document.documentElement.classList.add(On);
|
|
5332
|
-
const
|
|
5333
|
-
|
|
5334
|
-
html.${On} *:not(#${
|
|
5340
|
+
const A = document.createElement("style");
|
|
5341
|
+
A.id = Qo, A.innerHTML = `
|
|
5342
|
+
html.${On} *:not(#${Se} *), *:not(#${Se} *) {
|
|
5335
5343
|
line-height:${y.toFixed(1)} !important
|
|
5336
5344
|
}
|
|
5337
|
-
`, document.head.appendChild(
|
|
5345
|
+
`, document.head.appendChild(A);
|
|
5338
5346
|
} else if (p && C) C.innerHTML = `
|
|
5339
|
-
html.${On} *:not(#${
|
|
5347
|
+
html.${On} *:not(#${Se} *), *:not(#${Se} *) {
|
|
5340
5348
|
line-height:${y.toFixed(1)} !important
|
|
5341
5349
|
}
|
|
5342
5350
|
`;
|
|
5343
5351
|
else if (!p && C) {
|
|
5344
|
-
const
|
|
5345
|
-
document.documentElement.classList.remove(On),
|
|
5352
|
+
const A = document.getElementById(Qo);
|
|
5353
|
+
document.documentElement.classList.remove(On), A == null || A.remove();
|
|
5346
5354
|
}
|
|
5347
|
-
}, [y, p,
|
|
5348
|
-
})(f.lineHeight, v), ((I,
|
|
5355
|
+
}, [y, p, h]);
|
|
5356
|
+
})(f.lineHeight, v), ((I, h) => {
|
|
5349
5357
|
const y = !!I;
|
|
5350
5358
|
ne(() => {
|
|
5351
|
-
if (
|
|
5359
|
+
if (h) return;
|
|
5352
5360
|
const p = document.getElementById(Ko);
|
|
5353
5361
|
if (y && !p) {
|
|
5354
5362
|
document.documentElement.classList.add(zn);
|
|
5355
5363
|
const C = document.createElement("style");
|
|
5356
5364
|
C.id = Ko, C.innerHTML = `
|
|
5357
|
-
html.${zn} *:not(#${
|
|
5365
|
+
html.${zn} *:not(#${Se} *), *:not(#${jt} *) {
|
|
5358
5366
|
word-spacing:${I}px !important;
|
|
5359
5367
|
}
|
|
5360
5368
|
`, document.head.appendChild(C);
|
|
5361
5369
|
} else if (y && p) p.innerHTML = `
|
|
5362
|
-
html.${zn} *:not(#${
|
|
5370
|
+
html.${zn} *:not(#${Se} *), *:not(#${jt} *) {
|
|
5363
5371
|
word-spacing:${I}px !important;
|
|
5364
5372
|
}
|
|
5365
5373
|
`;
|
|
@@ -5367,35 +5375,35 @@ const cg = () => {
|
|
|
5367
5375
|
const C = document.getElementById(Ko);
|
|
5368
5376
|
document.documentElement.classList.remove(zn), C == null || C.remove();
|
|
5369
5377
|
}
|
|
5370
|
-
}, [I, y,
|
|
5371
|
-
})(f.wordSpacing, v), ((I,
|
|
5378
|
+
}, [I, y, h]);
|
|
5379
|
+
})(f.wordSpacing, v), ((I, h) => {
|
|
5372
5380
|
const { zoom: y, isZoom: p } = I;
|
|
5373
5381
|
ne(() => {
|
|
5374
|
-
if (
|
|
5382
|
+
if (h) return;
|
|
5375
5383
|
const C = document.getElementById(qo);
|
|
5376
5384
|
if (p && !C) {
|
|
5377
5385
|
document.documentElement.classList.add(Xn);
|
|
5378
|
-
const
|
|
5379
|
-
|
|
5380
|
-
html.${Xn} body *:not(#${
|
|
5386
|
+
const A = document.createElement("style");
|
|
5387
|
+
A.id = qo, A.innerHTML = `
|
|
5388
|
+
html.${Xn} body *:not(#${Se}, #${Se} *) {
|
|
5381
5389
|
zoom: ${y.toFixed(1)} !important;
|
|
5382
5390
|
}
|
|
5383
5391
|
}
|
|
5384
|
-
`, document.head.appendChild(
|
|
5392
|
+
`, document.head.appendChild(A);
|
|
5385
5393
|
} else if (p && C) C.innerHTML = `
|
|
5386
|
-
html.${Xn} body *:not(#${
|
|
5394
|
+
html.${Xn} body *:not(#${Se}, #${Se} *) {
|
|
5387
5395
|
zoom: ${y.toFixed(1)} !important;
|
|
5388
5396
|
}
|
|
5389
5397
|
}
|
|
5390
5398
|
`;
|
|
5391
5399
|
else if (!p && C) {
|
|
5392
|
-
const
|
|
5393
|
-
document.documentElement.classList.remove(Xn),
|
|
5400
|
+
const A = document.getElementById(qo);
|
|
5401
|
+
document.documentElement.classList.remove(Xn), A == null || A.remove();
|
|
5394
5402
|
}
|
|
5395
|
-
}, [y, p,
|
|
5396
|
-
})(f.zoom, v), hc(f.isBigCursor, v), fc(f.showReadingGuide, 100, v), ((I,
|
|
5403
|
+
}, [y, p, h]);
|
|
5404
|
+
})(f.zoom, v), hc(f.isBigCursor, v), fc(f.showReadingGuide, 100, v), ((I, h) => {
|
|
5397
5405
|
ne(() => {
|
|
5398
|
-
if (!
|
|
5406
|
+
if (!h) {
|
|
5399
5407
|
const y = document.getElementById(Ka);
|
|
5400
5408
|
if (I && !y) {
|
|
5401
5409
|
document.documentElement.classList.add(er);
|
|
@@ -5411,10 +5419,10 @@ const cg = () => {
|
|
|
5411
5419
|
`, document.head.appendChild(p);
|
|
5412
5420
|
} else !I && y && (document.documentElement.classList.remove(er), y == null || y.remove());
|
|
5413
5421
|
}
|
|
5414
|
-
}, [I,
|
|
5415
|
-
})(f.isBlueLightFilter, v), ((I,
|
|
5422
|
+
}, [I, h]);
|
|
5423
|
+
})(f.isBlueLightFilter, v), ((I, h) => {
|
|
5416
5424
|
ne(() => {
|
|
5417
|
-
if (!
|
|
5425
|
+
if (!h) {
|
|
5418
5426
|
if (I) {
|
|
5419
5427
|
document.documentElement.classList.add(tr);
|
|
5420
5428
|
const y = document.createElement("style");
|
|
@@ -5433,10 +5441,10 @@ const cg = () => {
|
|
|
5433
5441
|
document.documentElement.classList.remove(tr), y == null || y.remove();
|
|
5434
5442
|
};
|
|
5435
5443
|
}
|
|
5436
|
-
}, [I,
|
|
5437
|
-
})(f.isDarkContrast, v), ((I,
|
|
5444
|
+
}, [I, h]);
|
|
5445
|
+
})(f.isDarkContrast, v), ((I, h) => {
|
|
5438
5446
|
ne(() => {
|
|
5439
|
-
if (!
|
|
5447
|
+
if (!h) {
|
|
5440
5448
|
if (I) {
|
|
5441
5449
|
document.documentElement.classList.add(nr);
|
|
5442
5450
|
const y = document.createElement("style");
|
|
@@ -5455,10 +5463,10 @@ const cg = () => {
|
|
|
5455
5463
|
document.documentElement.classList.remove(nr), y == null || y.remove();
|
|
5456
5464
|
};
|
|
5457
5465
|
}
|
|
5458
|
-
}, [I,
|
|
5459
|
-
})(f.isLightContrast, v), ((I,
|
|
5466
|
+
}, [I, h]);
|
|
5467
|
+
})(f.isLightContrast, v), ((I, h) => {
|
|
5460
5468
|
ne(() => {
|
|
5461
|
-
if (!
|
|
5469
|
+
if (!h) {
|
|
5462
5470
|
if (I) {
|
|
5463
5471
|
document.documentElement.classList.add(or);
|
|
5464
5472
|
const y = document.createElement("style");
|
|
@@ -5477,10 +5485,10 @@ const cg = () => {
|
|
|
5477
5485
|
document.documentElement.classList.remove(or), y == null || y.remove();
|
|
5478
5486
|
};
|
|
5479
5487
|
}
|
|
5480
|
-
}, [I,
|
|
5481
|
-
})(f.isVisualImpairment, v), ((I,
|
|
5488
|
+
}, [I, h]);
|
|
5489
|
+
})(f.isVisualImpairment, v), ((I, h) => {
|
|
5482
5490
|
ne(() => {
|
|
5483
|
-
if (!
|
|
5491
|
+
if (!h) {
|
|
5484
5492
|
if (I) {
|
|
5485
5493
|
document.documentElement.classList.add(rr);
|
|
5486
5494
|
const y = document.createElement("style");
|
|
@@ -5499,8 +5507,8 @@ const cg = () => {
|
|
|
5499
5507
|
document.documentElement.classList.remove(rr), y == null || y.remove();
|
|
5500
5508
|
};
|
|
5501
5509
|
}
|
|
5502
|
-
}, [I,
|
|
5503
|
-
})(f.isMonochrome, v), ((I,
|
|
5510
|
+
}, [I, h]);
|
|
5511
|
+
})(f.isMonochrome, v), ((I, h, y) => {
|
|
5504
5512
|
ne(() => {
|
|
5505
5513
|
if (y) return;
|
|
5506
5514
|
const p = document.getElementById(os);
|
|
@@ -5509,24 +5517,24 @@ const cg = () => {
|
|
|
5509
5517
|
const C = document.createElement("style");
|
|
5510
5518
|
C.id = os, C.innerHTML = `
|
|
5511
5519
|
html.${Hn} {
|
|
5512
|
-
-o-filter: contrast(${
|
|
5513
|
-
-ms-filter: contrast(${
|
|
5514
|
-
-moz-filter: contrast(${
|
|
5515
|
-
-webkit-filter: contrast(${
|
|
5516
|
-
filter: contrast(${
|
|
5520
|
+
-o-filter: contrast(${h}%) !important;
|
|
5521
|
+
-ms-filter: contrast(${h}%) !important;
|
|
5522
|
+
-moz-filter: contrast(${h}%) !important;
|
|
5523
|
+
-webkit-filter: contrast(${h}%) !important;
|
|
5524
|
+
filter: contrast(${h}%) !important;
|
|
5517
5525
|
}
|
|
5518
5526
|
`, document.head.appendChild(C);
|
|
5519
5527
|
} else I && p ? p.innerHTML = `
|
|
5520
5528
|
html.${Hn} {
|
|
5521
|
-
-o-filter: contrast(${
|
|
5522
|
-
-ms-filter: contrast(${
|
|
5523
|
-
-moz-filter: contrast(${
|
|
5524
|
-
-webkit-filter: contrast(${
|
|
5525
|
-
filter: contrast(${
|
|
5529
|
+
-o-filter: contrast(${h}%) !important;
|
|
5530
|
+
-ms-filter: contrast(${h}%) !important;
|
|
5531
|
+
-moz-filter: contrast(${h}%) !important;
|
|
5532
|
+
-webkit-filter: contrast(${h}%) !important;
|
|
5533
|
+
filter: contrast(${h}%) !important;
|
|
5526
5534
|
}
|
|
5527
5535
|
` : !I && p && (document.documentElement.classList.remove(Hn), p == null || p.remove());
|
|
5528
|
-
}, [I,
|
|
5529
|
-
})(f.highContrast.isHighContrast, f.highContrast.contrast, v), ((I,
|
|
5536
|
+
}, [I, h, y]);
|
|
5537
|
+
})(f.highContrast.isHighContrast, f.highContrast.contrast, v), ((I, h, y) => {
|
|
5530
5538
|
ne(() => {
|
|
5531
5539
|
if (y) return;
|
|
5532
5540
|
const p = document.getElementById(rs);
|
|
@@ -5535,107 +5543,107 @@ const cg = () => {
|
|
|
5535
5543
|
const C = document.createElement("style");
|
|
5536
5544
|
C.id = rs, C.innerHTML = `
|
|
5537
5545
|
html.${Pn} {
|
|
5538
|
-
-o-filter: brightness(${
|
|
5539
|
-
-ms-filter: brightness(${
|
|
5540
|
-
-moz-filter: brightness(${
|
|
5541
|
-
-webkit-filter: brightness(${
|
|
5542
|
-
filter: brightness(${
|
|
5546
|
+
-o-filter: brightness(${h}%) !important;
|
|
5547
|
+
-ms-filter: brightness(${h}%) !important;
|
|
5548
|
+
-moz-filter: brightness(${h}%) !important;
|
|
5549
|
+
-webkit-filter: brightness(${h}%) !important;
|
|
5550
|
+
filter: brightness(${h}%) !important;
|
|
5543
5551
|
}
|
|
5544
5552
|
`, document.head.appendChild(C);
|
|
5545
5553
|
} else I && p ? p.innerHTML = `
|
|
5546
5554
|
html.${Pn} {
|
|
5547
|
-
-o-filter: brightness(${
|
|
5548
|
-
-ms-filter: brightness(${
|
|
5549
|
-
-moz-filter: brightness(${
|
|
5550
|
-
-webkit-filter: brightness(${
|
|
5551
|
-
filter: brightness(${
|
|
5555
|
+
-o-filter: brightness(${h}%) !important;
|
|
5556
|
+
-ms-filter: brightness(${h}%) !important;
|
|
5557
|
+
-moz-filter: brightness(${h}%) !important;
|
|
5558
|
+
-webkit-filter: brightness(${h}%) !important;
|
|
5559
|
+
filter: brightness(${h}%) !important;
|
|
5552
5560
|
}
|
|
5553
5561
|
` : !I && p && (document.documentElement.classList.remove(Pn), p == null || p.remove());
|
|
5554
|
-
}, [I,
|
|
5555
|
-
})(f.brightness.isBrightness, f.brightness.brightness, v), ((I,
|
|
5562
|
+
}, [I, h, y]);
|
|
5563
|
+
})(f.brightness.isBrightness, f.brightness.brightness, v), ((I, h, y) => {
|
|
5556
5564
|
ne(() => {
|
|
5557
5565
|
if (y) return;
|
|
5558
5566
|
const p = document.getElementById(is);
|
|
5559
5567
|
if (I && !p) {
|
|
5560
|
-
document.documentElement.classList.add(
|
|
5568
|
+
document.documentElement.classList.add(Fn);
|
|
5561
5569
|
const C = document.createElement("style");
|
|
5562
5570
|
C.id = is, C.innerHTML = `
|
|
5563
|
-
html.${
|
|
5564
|
-
-o-filter: saturate(${
|
|
5565
|
-
-ms-filter: saturate(${
|
|
5566
|
-
-moz-filter: saturate(${
|
|
5567
|
-
-webkit-filter: saturate(${
|
|
5568
|
-
filter: saturate(${
|
|
5571
|
+
html.${Fn} {
|
|
5572
|
+
-o-filter: saturate(${h}%) !important;
|
|
5573
|
+
-ms-filter: saturate(${h}%) !important;
|
|
5574
|
+
-moz-filter: saturate(${h}%) !important;
|
|
5575
|
+
-webkit-filter: saturate(${h}%) !important;
|
|
5576
|
+
filter: saturate(${h}%) !important;
|
|
5569
5577
|
}
|
|
5570
5578
|
`, document.head.appendChild(C);
|
|
5571
5579
|
} else I && p ? p.innerHTML = `
|
|
5572
|
-
html.${
|
|
5573
|
-
-o-filter: saturate(${
|
|
5574
|
-
-ms-filter: saturate(${
|
|
5575
|
-
-moz-filter: saturate(${
|
|
5576
|
-
-webkit-filter: saturate(${
|
|
5577
|
-
filter: saturate(${
|
|
5580
|
+
html.${Fn} {
|
|
5581
|
+
-o-filter: saturate(${h}%) !important;
|
|
5582
|
+
-ms-filter: saturate(${h}%) !important;
|
|
5583
|
+
-moz-filter: saturate(${h}%) !important;
|
|
5584
|
+
-webkit-filter: saturate(${h}%) !important;
|
|
5585
|
+
filter: saturate(${h}%) !important;
|
|
5578
5586
|
}
|
|
5579
|
-
` : !I && p && (document.documentElement.classList.remove(
|
|
5580
|
-
}, [I,
|
|
5581
|
-
})(f.highSaturation.isHighSaturation, f.highSaturation.saturation, v), ((I,
|
|
5587
|
+
` : !I && p && (document.documentElement.classList.remove(Fn), p == null || p.remove());
|
|
5588
|
+
}, [I, h, y]);
|
|
5589
|
+
})(f.highSaturation.isHighSaturation, f.highSaturation.saturation, v), ((I, h, y) => {
|
|
5582
5590
|
ne(() => {
|
|
5583
5591
|
if (y) return;
|
|
5584
5592
|
const p = document.getElementById(as);
|
|
5585
5593
|
if (I && !p) {
|
|
5586
|
-
document.documentElement.classList.add(
|
|
5594
|
+
document.documentElement.classList.add(jn);
|
|
5587
5595
|
const C = document.createElement("style");
|
|
5588
5596
|
C.id = as, C.innerHTML = `
|
|
5589
|
-
html.${
|
|
5590
|
-
-o-filter: saturate(${
|
|
5591
|
-
-ms-filter: saturate(${
|
|
5592
|
-
-moz-filter: saturate(${
|
|
5593
|
-
-webkit-filter: saturate(${
|
|
5594
|
-
filter: saturate(${
|
|
5597
|
+
html.${jn} {
|
|
5598
|
+
-o-filter: saturate(${h}%) !important;
|
|
5599
|
+
-ms-filter: saturate(${h}%) !important;
|
|
5600
|
+
-moz-filter: saturate(${h}%) !important;
|
|
5601
|
+
-webkit-filter: saturate(${h}%) !important;
|
|
5602
|
+
filter: saturate(${h}%) !important;
|
|
5595
5603
|
}
|
|
5596
5604
|
`, document.head.appendChild(C);
|
|
5597
5605
|
} else I && p ? p.innerHTML = `
|
|
5598
|
-
html.${
|
|
5599
|
-
-o-filter: saturate(${
|
|
5600
|
-
-ms-filter: saturate(${
|
|
5601
|
-
-moz-filter: saturate(${
|
|
5602
|
-
-webkit-filter: saturate(${
|
|
5603
|
-
filter: saturate(${
|
|
5606
|
+
html.${jn} {
|
|
5607
|
+
-o-filter: saturate(${h}%) !important;
|
|
5608
|
+
-ms-filter: saturate(${h}%) !important;
|
|
5609
|
+
-moz-filter: saturate(${h}%) !important;
|
|
5610
|
+
-webkit-filter: saturate(${h}%) !important;
|
|
5611
|
+
filter: saturate(${h}%) !important;
|
|
5604
5612
|
}
|
|
5605
|
-
` : !I && p && (document.documentElement.classList.remove(
|
|
5606
|
-
}, [I,
|
|
5607
|
-
})(f.lowSaturation.isLowSaturation, f.lowSaturation.saturation, v), ((I,
|
|
5608
|
-
const y = St(() => xt.reduce((C,
|
|
5609
|
-
const
|
|
5610
|
-
return C + `html.${ir} ${
|
|
5611
|
-
}, ""), []), p = xt.map((C) => `${C}:not(#${
|
|
5613
|
+
` : !I && p && (document.documentElement.classList.remove(jn), p == null || p.remove());
|
|
5614
|
+
}, [I, h, y]);
|
|
5615
|
+
})(f.lowSaturation.isLowSaturation, f.lowSaturation.saturation, v), ((I, h) => {
|
|
5616
|
+
const y = St(() => xt.reduce((C, A, M) => {
|
|
5617
|
+
const F = xt.length - 1;
|
|
5618
|
+
return C + `html.${ir} ${A}:not(#${Se} *)${M === F ? "" : ","}`;
|
|
5619
|
+
}, ""), []), p = xt.map((C) => `${C}:not(#${Se} *)`).join(",");
|
|
5612
5620
|
ne(() => {
|
|
5613
|
-
if (
|
|
5621
|
+
if (h) return;
|
|
5614
5622
|
const C = document.getElementById(ss);
|
|
5615
5623
|
if (I && !C) {
|
|
5616
5624
|
document.documentElement.classList.add(ir);
|
|
5617
|
-
const
|
|
5618
|
-
|
|
5625
|
+
const A = document.createElement("style");
|
|
5626
|
+
A.id = ss, A.innerHTML = `
|
|
5619
5627
|
${y},${p} {
|
|
5620
5628
|
color: ${I} !important;
|
|
5621
5629
|
}
|
|
5622
|
-
`, document.head.appendChild(
|
|
5630
|
+
`, document.head.appendChild(A);
|
|
5623
5631
|
} else I && C ? C.innerHTML = `
|
|
5624
5632
|
${y},${p} {
|
|
5625
5633
|
color: ${I} !important;
|
|
5626
5634
|
}
|
|
5627
5635
|
` : !I && C && (document.documentElement.classList.remove(ir), C == null || C.remove());
|
|
5628
|
-
}, [I, p, y,
|
|
5636
|
+
}, [I, p, y, h]);
|
|
5629
5637
|
})(f.color, v);
|
|
5630
5638
|
})({ accState: c, isGettingReady: d, nodeListUpdated: s });
|
|
5631
|
-
const b = og.includes(c.language) ? "rtl" : "ltr",
|
|
5639
|
+
const b = og.includes(c.language) ? "rtl" : "ltr", m = () => {
|
|
5632
5640
|
g((f) => !f);
|
|
5633
5641
|
};
|
|
5634
5642
|
return Pe(() => {
|
|
5635
5643
|
const f = $a.map((S) => (async (I) => (await fetch(I)).json())(`https://rosengray.github.io/static/locale/${S.name}.json`)), v = {};
|
|
5636
5644
|
Promise.all(f).then((S) => {
|
|
5637
|
-
$a.forEach((I,
|
|
5638
|
-
v[I.lang] = { translation: S[
|
|
5645
|
+
$a.forEach((I, h) => {
|
|
5646
|
+
v[I.lang] = { translation: S[h] };
|
|
5639
5647
|
}), ye.init({ fallbackLng: "he-IL", resources: v }), ye.languages = ng, n(!0);
|
|
5640
5648
|
}).catch(() => {
|
|
5641
5649
|
ye.init({ fallbackLng: "en", resources: { en: { translation: rg } } });
|
|
@@ -5648,7 +5656,7 @@ const cg = () => {
|
|
|
5648
5656
|
}
|
|
5649
5657
|
})();
|
|
5650
5658
|
});
|
|
5651
|
-
}, []), d ?
|
|
5659
|
+
}, []), d ? w.jsx(Si, { showSpinner: d }) : w.jsxs(w.Fragment, { children: [w.jsx(_a, { wrapperElementId: "acc-portal-[readingGuide-container]", children: "." }), w.jsx(_a, { wrapperElementId: Se, children: w.jsxs("div", { id: jt, style: { direction: b, fontSize: 50 }, className: Hc.Accessibilik, "data-acc-language": c.language, children: [w.jsx(Si, { onShow: m }), w.jsx(Jd, { display: u ? "block" : "none", showAcc: u, accState: c, onLangChange: (f) => {
|
|
5652
5660
|
ye.changeLanguage(f, () => {
|
|
5653
5661
|
l((v) => hr(v, (S) => {
|
|
5654
5662
|
S.language = f;
|
|
@@ -5658,7 +5666,7 @@ const cg = () => {
|
|
|
5658
5666
|
l((v) => hr(v, f));
|
|
5659
5667
|
}, onInit: () => {
|
|
5660
5668
|
l(Pa());
|
|
5661
|
-
}, onShow:
|
|
5669
|
+
}, onShow: m, hasLanguages: o })] }) })] });
|
|
5662
5670
|
};
|
|
5663
5671
|
export {
|
|
5664
5672
|
cg as A
|