@apolitical/component-library 6.1.2-ac.0 → 6.1.2-ac.1
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/index.js +19 -19
- package/index.mjs +145 -145
- package/navigation/action-bar/action-bar.d.ts +1 -3
- package/package.json +1 -1
- package/style.css +1 -1
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ne, { memo as nn, useState as le, useEffect as de, useRef as ke, useMemo as Jt, forwardRef as eo, Children as ws, createContext as At, useContext as Me, useCallback as Ne, lazy as vr, useReducer as br, Suspense as Ic, Fragment as Wr, useLayoutEffect as Ch, Component as Eh } from "react";
|
|
2
2
|
import { useIntl as ce, FormattedMessage as mt, IntlProvider as _h, createIntl as kh } from "react-intl";
|
|
3
|
-
import
|
|
3
|
+
import Pn from "lodash.clonedeep";
|
|
4
4
|
import Fh from "lodash.set";
|
|
5
5
|
import Lc from "react-dom";
|
|
6
6
|
import Xt from "markdown-to-jsx";
|
|
@@ -14,7 +14,7 @@ import qc from "lodash.get";
|
|
|
14
14
|
import { ErrorBoundary as Oh } from "react-error-boundary";
|
|
15
15
|
import { ReactMultiEmail as Ph } from "react-multi-email";
|
|
16
16
|
var ia = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
17
|
-
function
|
|
17
|
+
function qn(e) {
|
|
18
18
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
19
19
|
}
|
|
20
20
|
function Uc(e) {
|
|
@@ -75,7 +75,7 @@ var Wc = { exports: {} };
|
|
|
75
75
|
})();
|
|
76
76
|
})(Wc);
|
|
77
77
|
var Nh = Wc.exports;
|
|
78
|
-
const K = /* @__PURE__ */
|
|
78
|
+
const K = /* @__PURE__ */ qn(Nh), Mh = ({
|
|
79
79
|
element: e = "span",
|
|
80
80
|
showOnFocus: t = !0,
|
|
81
81
|
children: n,
|
|
@@ -369,7 +369,7 @@ function Ih() {
|
|
|
369
369
|
} finally {
|
|
370
370
|
Y = !1, S.current = He, L(), Error.prepareStackTrace = $e;
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var Yn = M ? M.displayName || M.name : "", Jo = Yn ? V(Yn) : "";
|
|
373
373
|
return typeof M == "function" && te.set(M, Jo), Jo;
|
|
374
374
|
}
|
|
375
375
|
function ge(M, oe, fe) {
|
|
@@ -565,9 +565,9 @@ function Ih() {
|
|
|
565
565
|
} else
|
|
566
566
|
St.setExtraStackFrame(null);
|
|
567
567
|
}
|
|
568
|
-
var
|
|
569
|
-
|
|
570
|
-
function
|
|
568
|
+
var Kn;
|
|
569
|
+
Kn = !1;
|
|
570
|
+
function Zn(M) {
|
|
571
571
|
return typeof M == "object" && M !== null && M.$$typeof === t;
|
|
572
572
|
}
|
|
573
573
|
function Ko() {
|
|
@@ -626,15 +626,15 @@ Check the top-level render call using <` + fe + ">.");
|
|
|
626
626
|
if (Te(M))
|
|
627
627
|
for (var fe = 0; fe < M.length; fe++) {
|
|
628
628
|
var Ce = M[fe];
|
|
629
|
-
|
|
629
|
+
Zn(Ce) && Yo(Ce, oe);
|
|
630
630
|
}
|
|
631
|
-
else if (
|
|
631
|
+
else if (Zn(M))
|
|
632
632
|
M._store && (M._store.validated = !0);
|
|
633
633
|
else if (M) {
|
|
634
634
|
var $e = b(M);
|
|
635
635
|
if (typeof $e == "function" && $e !== M.entries)
|
|
636
636
|
for (var He = $e.call(M), Pe; !(Pe = He.next()).done; )
|
|
637
|
-
|
|
637
|
+
Zn(Pe.value) && Yo(Pe.value, oe);
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
}
|
|
@@ -655,8 +655,8 @@ Check the top-level render call using <` + fe + ">.");
|
|
|
655
655
|
if (fe) {
|
|
656
656
|
var Ce = k(oe);
|
|
657
657
|
ze(fe, M.props, "prop", Ce, M);
|
|
658
|
-
} else if (oe.PropTypes !== void 0 && !
|
|
659
|
-
|
|
658
|
+
} else if (oe.PropTypes !== void 0 && !Kn) {
|
|
659
|
+
Kn = !0;
|
|
660
660
|
var $e = k(oe);
|
|
661
661
|
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $e || "Unknown");
|
|
662
662
|
}
|
|
@@ -694,8 +694,8 @@ Check the top-level render call using <` + fe + ">.");
|
|
|
694
694
|
if (Mt !== void 0)
|
|
695
695
|
if (Ce)
|
|
696
696
|
if (Te(Mt)) {
|
|
697
|
-
for (var
|
|
698
|
-
Go(Mt[
|
|
697
|
+
for (var Yn = 0; Yn < Mt.length; Yn++)
|
|
698
|
+
Go(Mt[Yn], M);
|
|
699
699
|
Object.freeze && Object.freeze(Mt);
|
|
700
700
|
} else
|
|
701
701
|
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -951,7 +951,7 @@ const tu = {}, xr = eo(
|
|
|
951
951
|
}
|
|
952
952
|
), di = (e, t) => {
|
|
953
953
|
Array.isArray(t) || (t = [t]);
|
|
954
|
-
const n =
|
|
954
|
+
const n = Pn(e);
|
|
955
955
|
return t.forEach(({ type: r, value: a }) => {
|
|
956
956
|
Fh(n, r, a);
|
|
957
957
|
}), n;
|
|
@@ -988,7 +988,7 @@ function G_(e) {
|
|
|
988
988
|
"--icon": `url(${dn}icons/${e}.svg)`
|
|
989
989
|
} : {};
|
|
990
990
|
}
|
|
991
|
-
const
|
|
991
|
+
const jn = {
|
|
992
992
|
milliseconds: {
|
|
993
993
|
inSecond: 1e3,
|
|
994
994
|
inMinute: 6e4,
|
|
@@ -1012,13 +1012,13 @@ const On = {
|
|
|
1012
1012
|
} catch {
|
|
1013
1013
|
return "";
|
|
1014
1014
|
}
|
|
1015
|
-
const a = t /
|
|
1015
|
+
const a = t / jn.milliseconds.inHour, i = Math.floor(t / jn.milliseconds.inDay);
|
|
1016
1016
|
if (i < 1)
|
|
1017
1017
|
return a < 1 ? { path: "now" } : { path: "hours", number: Math.floor(a) };
|
|
1018
1018
|
if (i < 7)
|
|
1019
1019
|
return { path: "days", number: i };
|
|
1020
1020
|
const s = Math.floor(i / 7);
|
|
1021
|
-
return s <=
|
|
1021
|
+
return s <= jn.year.weeks ? { path: "weeks", number: s } : { path: "years", number: Math.floor(i / jn.year.days) };
|
|
1022
1022
|
}, qa = (e) => {
|
|
1023
1023
|
const n = (e || /* @__PURE__ */ new Date()).toUTCString();
|
|
1024
1024
|
return new Date(n);
|
|
@@ -1032,11 +1032,11 @@ const On = {
|
|
|
1032
1032
|
}
|
|
1033
1033
|
switch (n) {
|
|
1034
1034
|
case "seconds":
|
|
1035
|
-
return r /
|
|
1035
|
+
return r / jn.milliseconds.inSecond <= t;
|
|
1036
1036
|
case "minutes":
|
|
1037
|
-
return r /
|
|
1037
|
+
return r / jn.milliseconds.inMinute <= t;
|
|
1038
1038
|
case "hours":
|
|
1039
|
-
return r /
|
|
1039
|
+
return r / jn.milliseconds.inHour <= t;
|
|
1040
1040
|
}
|
|
1041
1041
|
return !1;
|
|
1042
1042
|
}, Yh = (e, t) => {
|
|
@@ -1965,7 +1965,7 @@ const Q_ = ({ image: e, className: t = "", testId: n }) => /* @__PURE__ */ c.jsx
|
|
|
1965
1965
|
"data-testid": n || "image-container",
|
|
1966
1966
|
children: e && /* @__PURE__ */ c.jsx(wr, { image: { ...e }, className: "image" })
|
|
1967
1967
|
}
|
|
1968
|
-
),
|
|
1968
|
+
), Un = ({
|
|
1969
1969
|
href: e,
|
|
1970
1970
|
children: t,
|
|
1971
1971
|
fallbackElement: n,
|
|
@@ -2195,7 +2195,7 @@ const Vt = ({
|
|
|
2195
2195
|
}
|
|
2196
2196
|
);
|
|
2197
2197
|
};
|
|
2198
|
-
const
|
|
2198
|
+
const Wn = ({
|
|
2199
2199
|
variant: e = "empty",
|
|
2200
2200
|
text: t = !1,
|
|
2201
2201
|
button: n = !1,
|
|
@@ -2961,7 +2961,7 @@ const En = ({
|
|
|
2961
2961
|
...p,
|
|
2962
2962
|
children: /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
2963
2963
|
/* @__PURE__ */ c.jsxs(
|
|
2964
|
-
|
|
2964
|
+
Un,
|
|
2965
2965
|
{
|
|
2966
2966
|
href: P,
|
|
2967
2967
|
gtmType: o,
|
|
@@ -3818,7 +3818,7 @@ var ep = Fs.exports;
|
|
|
3818
3818
|
* tabbable 6.2.0
|
|
3819
3819
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
3820
3820
|
*/
|
|
3821
|
-
var dd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Wa = /* @__PURE__ */ dd.join(","), fd = typeof Element > "u",
|
|
3821
|
+
var dd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Wa = /* @__PURE__ */ dd.join(","), fd = typeof Element > "u", $n = fd ? function() {
|
|
3822
3822
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Va = !fd && Element.prototype.getRootNode ? function(e) {
|
|
3823
3823
|
var t;
|
|
3824
3824
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -3836,7 +3836,7 @@ var dd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3836
3836
|
if (Ha(t))
|
|
3837
3837
|
return [];
|
|
3838
3838
|
var a = Array.prototype.slice.apply(t.querySelectorAll(Wa));
|
|
3839
|
-
return n &&
|
|
3839
|
+
return n && $n.call(t, Wa) && a.unshift(t), a = a.filter(r), a;
|
|
3840
3840
|
}, md = function e(t, n, r) {
|
|
3841
3841
|
for (var a = [], i = Array.from(t); i.length; ) {
|
|
3842
3842
|
var s = i.shift();
|
|
@@ -3848,7 +3848,7 @@ var dd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3848
3848
|
candidates: u
|
|
3849
3849
|
});
|
|
3850
3850
|
} else {
|
|
3851
|
-
var d =
|
|
3851
|
+
var d = $n.call(s, Wa);
|
|
3852
3852
|
d && r.filter(s) && (n || !t.includes(s)) && a.push(s);
|
|
3853
3853
|
var h = s.shadowRoot || // check for an undisclosed shadow
|
|
3854
3854
|
typeof r.getShadowRoot == "function" && r.getShadowRoot(s), m = !Ha(h, !1) && (!r.shadowRootFilter || r.shadowRootFilter(s));
|
|
@@ -3924,8 +3924,8 @@ var dd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3924
3924
|
var r = n.displayCheck, a = n.getShadowRoot;
|
|
3925
3925
|
if (getComputedStyle(t).visibility === "hidden")
|
|
3926
3926
|
return !0;
|
|
3927
|
-
var i =
|
|
3928
|
-
if (
|
|
3927
|
+
var i = $n.call(t, "details>summary:first-of-type"), s = i ? t.parentElement : t;
|
|
3928
|
+
if ($n.call(s, "details:not([open]) *"))
|
|
3929
3929
|
return !0;
|
|
3930
3930
|
if (!r || r === "full" || r === "legacy-full") {
|
|
3931
3931
|
if (typeof a == "function") {
|
|
@@ -3951,7 +3951,7 @@ var dd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3951
3951
|
for (var r = 0; r < n.children.length; r++) {
|
|
3952
3952
|
var a = n.children.item(r);
|
|
3953
3953
|
if (a.tagName === "LEGEND")
|
|
3954
|
-
return
|
|
3954
|
+
return $n.call(n, "fieldset[disabled] *") ? !0 : !a.contains(t);
|
|
3955
3955
|
}
|
|
3956
3956
|
return !0;
|
|
3957
3957
|
}
|
|
@@ -4000,21 +4000,21 @@ var dd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4000
4000
|
flatten: !0,
|
|
4001
4001
|
getShadowRoot: n.getShadowRoot
|
|
4002
4002
|
}) : r = hd(t, n.includeContainer, Ka.bind(null, n)), r;
|
|
4003
|
-
},
|
|
4003
|
+
}, Tn = function(t, n) {
|
|
4004
4004
|
if (n = n || {}, !t)
|
|
4005
4005
|
throw new Error("No node provided");
|
|
4006
|
-
return
|
|
4006
|
+
return $n.call(t, Wa) === !1 ? !1 : As(n, t);
|
|
4007
4007
|
}, pp = /* @__PURE__ */ dd.concat("iframe").join(","), ja = function(t, n) {
|
|
4008
4008
|
if (n = n || {}, !t)
|
|
4009
4009
|
throw new Error("No node provided");
|
|
4010
|
-
return
|
|
4010
|
+
return $n.call(t, pp) === !1 ? !1 : Ka(n, t);
|
|
4011
4011
|
};
|
|
4012
4012
|
const gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4013
4013
|
__proto__: null,
|
|
4014
4014
|
focusable: bd,
|
|
4015
4015
|
getTabIndex: Dn,
|
|
4016
4016
|
isFocusable: ja,
|
|
4017
|
-
isTabbable:
|
|
4017
|
+
isTabbable: Tn,
|
|
4018
4018
|
tabbable: vd
|
|
4019
4019
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4020
4020
|
/*!
|
|
@@ -4192,9 +4192,9 @@ var _u = {
|
|
|
4192
4192
|
}, m = function() {
|
|
4193
4193
|
if (s.containerGroups = s.containers.map(function(F) {
|
|
4194
4194
|
var k = vd(F, i.tabbableOptions), O = bd(F, i.tabbableOptions), j = k.length > 0 ? k[0] : void 0, q = k.length > 0 ? k[k.length - 1] : void 0, U = O.find(function(x) {
|
|
4195
|
-
return
|
|
4195
|
+
return Tn(x);
|
|
4196
4196
|
}), ie = O.slice().reverse().find(function(x) {
|
|
4197
|
-
return
|
|
4197
|
+
return Tn(x);
|
|
4198
4198
|
}), ee = !!k.find(function(x) {
|
|
4199
4199
|
return Dn(x) > 0;
|
|
4200
4200
|
});
|
|
@@ -4230,9 +4230,9 @@ var _u = {
|
|
|
4230
4230
|
nextTabbableNode: function(J) {
|
|
4231
4231
|
var re = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, _ = k.indexOf(J);
|
|
4232
4232
|
return _ < 0 ? re ? O.slice(O.indexOf(J) + 1).find(function(B) {
|
|
4233
|
-
return
|
|
4233
|
+
return Tn(B);
|
|
4234
4234
|
}) : O.slice(0, O.indexOf(J)).reverse().find(function(B) {
|
|
4235
|
-
return
|
|
4235
|
+
return Tn(B);
|
|
4236
4236
|
}) : k[_ + (re ? 1 : -1)];
|
|
4237
4237
|
}
|
|
4238
4238
|
};
|
|
@@ -4274,7 +4274,7 @@ var _u = {
|
|
|
4274
4274
|
var N = S.firstTabbableNode;
|
|
4275
4275
|
return k === N;
|
|
4276
4276
|
});
|
|
4277
|
-
if (x < 0 && (ee.container === k || ja(k, i.tabbableOptions) && !
|
|
4277
|
+
if (x < 0 && (ee.container === k || ja(k, i.tabbableOptions) && !Tn(k, i.tabbableOptions) && !ee.nextTabbableNode(k, !1)) && (x = ie), x >= 0) {
|
|
4278
4278
|
var J = x === 0 ? s.tabbableGroups.length - 1 : x - 1, re = s.tabbableGroups[J];
|
|
4279
4279
|
U = Dn(k) >= 0 ? re.lastTabbableNode : re.lastDomTabbableNode;
|
|
4280
4280
|
} else
|
|
@@ -4284,7 +4284,7 @@ var _u = {
|
|
|
4284
4284
|
var N = S.lastTabbableNode;
|
|
4285
4285
|
return k === N;
|
|
4286
4286
|
});
|
|
4287
|
-
if (_ < 0 && (ee.container === k || ja(k, i.tabbableOptions) && !
|
|
4287
|
+
if (_ < 0 && (ee.container === k || ja(k, i.tabbableOptions) && !Tn(k, i.tabbableOptions) && !ee.nextTabbableNode(k)) && (_ = ie), _ >= 0) {
|
|
4288
4288
|
var B = _ === s.tabbableGroups.length - 1 ? 0 : _ + 1, L = s.tabbableGroups[B];
|
|
4289
4289
|
U = Dn(k) >= 0 ? L.firstTabbableNode : L.firstDomTabbableNode;
|
|
4290
4290
|
} else
|
|
@@ -4788,7 +4788,7 @@ fo.defaultProps = {
|
|
|
4788
4788
|
_createFocusTrap: $p
|
|
4789
4789
|
};
|
|
4790
4790
|
var zp = fo;
|
|
4791
|
-
const qp = /* @__PURE__ */
|
|
4791
|
+
const qp = /* @__PURE__ */ qn(zp);
|
|
4792
4792
|
const Fn = ({
|
|
4793
4793
|
id: e = "content-overlay",
|
|
4794
4794
|
isOpen: t = !1,
|
|
@@ -5223,7 +5223,7 @@ const Yp = ({
|
|
|
5223
5223
|
return null;
|
|
5224
5224
|
const j = {};
|
|
5225
5225
|
return D !== O && (j.tabIndex = -1), /* @__PURE__ */ c.jsx("li", { "data-index": O, children: /* @__PURE__ */ c.jsx(
|
|
5226
|
-
|
|
5226
|
+
Un,
|
|
5227
5227
|
{
|
|
5228
5228
|
href: k.id ? `/profiles/${k.id}` : void 0,
|
|
5229
5229
|
gtmContext: "Likes",
|
|
@@ -5953,7 +5953,7 @@ const ak = ({
|
|
|
5953
5953
|
const [F, k] = le(null), O = () => {
|
|
5954
5954
|
k(b.length), w();
|
|
5955
5955
|
};
|
|
5956
|
-
return Fd(), g ? /* @__PURE__ */ c.jsx(
|
|
5956
|
+
return Fd(), g ? /* @__PURE__ */ c.jsx(Wn, { variant: "error", text: g.message }) : /* @__PURE__ */ c.jsxs("section", { children: [
|
|
5957
5957
|
/* @__PURE__ */ c.jsx(
|
|
5958
5958
|
fh,
|
|
5959
5959
|
{
|
|
@@ -7361,7 +7361,7 @@ const Sg = 3e3, jg = ({
|
|
|
7361
7361
|
)
|
|
7362
7362
|
] });
|
|
7363
7363
|
};
|
|
7364
|
-
const
|
|
7364
|
+
const Gn = "discussion_", Og = ({
|
|
7365
7365
|
className: e,
|
|
7366
7366
|
gtmContext: t,
|
|
7367
7367
|
contentType: n,
|
|
@@ -7373,15 +7373,15 @@ const Tn = "discussion_", Og = ({
|
|
|
7373
7373
|
}) => {
|
|
7374
7374
|
const l = ce(), u = [];
|
|
7375
7375
|
return o && o.reportData && u.push({
|
|
7376
|
-
text: l.formatMessage({ id: `${
|
|
7376
|
+
text: l.formatMessage({ id: `${Gn}moreMenu_report` }),
|
|
7377
7377
|
onClick: (d) => {
|
|
7378
7378
|
d.stopPropagation();
|
|
7379
7379
|
},
|
|
7380
7380
|
href: `mailto:community@apolitical.co?subject=${encodeURI(
|
|
7381
|
-
l.formatMessage({ id: `${
|
|
7381
|
+
l.formatMessage({ id: `${Gn}report_subject` })
|
|
7382
7382
|
)}&body=${encodeURI(
|
|
7383
7383
|
l.formatMessage(
|
|
7384
|
-
{ id: `${
|
|
7384
|
+
{ id: `${Gn}report_body` },
|
|
7385
7385
|
{
|
|
7386
7386
|
contentType: n || "",
|
|
7387
7387
|
contentSlug: o && o.reportData && o.contentSlug || "",
|
|
@@ -7427,12 +7427,12 @@ const Tn = "discussion_", Og = ({
|
|
|
7427
7427
|
"data-gtm-event-context": t,
|
|
7428
7428
|
"data-gtm-event-type": `answer-${n}-click`,
|
|
7429
7429
|
screenreaderText: l.formatMessage(
|
|
7430
|
-
{ id: `${
|
|
7430
|
+
{ id: `${Gn}comments_screenReader` },
|
|
7431
7431
|
{ count: a.count }
|
|
7432
7432
|
),
|
|
7433
7433
|
children: l.formatMessage(
|
|
7434
7434
|
{
|
|
7435
|
-
id: a
|
|
7435
|
+
id: `${Gn}comments${a === null ? "_loading" : ""}`
|
|
7436
7436
|
},
|
|
7437
7437
|
{ count: a.count }
|
|
7438
7438
|
)
|
|
@@ -7445,7 +7445,7 @@ const Tn = "discussion_", Og = ({
|
|
|
7445
7445
|
onClick: i.functions.onClick,
|
|
7446
7446
|
icon: { icon: "speech-bubble_square" },
|
|
7447
7447
|
"data-testid": "reply",
|
|
7448
|
-
children: l.formatMessage({ id: `${
|
|
7448
|
+
children: l.formatMessage({ id: `${Gn}reply` })
|
|
7449
7449
|
}
|
|
7450
7450
|
) }) : /* @__PURE__ */ c.jsx(c.Fragment, {}),
|
|
7451
7451
|
s ? /* @__PURE__ */ c.jsx(
|
|
@@ -7491,7 +7491,7 @@ const ok = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
|
|
|
7491
7491
|
children: r.formatMessage({ id: "breadcrumbs_currentPage" })
|
|
7492
7492
|
}
|
|
7493
7493
|
),
|
|
7494
|
-
/* @__PURE__ */ c.jsx(
|
|
7494
|
+
/* @__PURE__ */ c.jsx(Un, { href: s ? void 0 : i, ...l, children: cr(a, t) })
|
|
7495
7495
|
] }, `${window.btoa(a)}_${o}`);
|
|
7496
7496
|
}
|
|
7497
7497
|
) })
|
|
@@ -7642,7 +7642,7 @@ const fa = "languageSwitcher_", uk = ({
|
|
|
7642
7642
|
}
|
|
7643
7643
|
};
|
|
7644
7644
|
}
|
|
7645
|
-
return /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(
|
|
7645
|
+
return /* @__PURE__ */ c.jsx("li", { children: /* @__PURE__ */ c.jsx(Un, { ...w, fallbackElement: "span", children: Ei[b] }) }, b);
|
|
7646
7646
|
}) }),
|
|
7647
7647
|
s !== "short" && !f && /* @__PURE__ */ c.jsx("p", { children: u.formatMessage({
|
|
7648
7648
|
id: `${fa}translation_${t ? "original" : n ? "human" : "machine"}`
|
|
@@ -8772,7 +8772,7 @@ const Jn = {
|
|
|
8772
8772
|
type: o,
|
|
8773
8773
|
required: p,
|
|
8774
8774
|
"aria-required": p,
|
|
8775
|
-
functions:
|
|
8775
|
+
functions: Pn(a),
|
|
8776
8776
|
value: u
|
|
8777
8777
|
};
|
|
8778
8778
|
const E = ($) => {
|
|
@@ -8857,7 +8857,7 @@ const Jn = {
|
|
|
8857
8857
|
] })
|
|
8858
8858
|
) });
|
|
8859
8859
|
}, Xg = (e, t) => {
|
|
8860
|
-
const { type: n, payload: r } = t, a = e.errors ?
|
|
8860
|
+
const { type: n, payload: r } = t, a = e.errors ? Pn(e.errors) : {}, i = e.values ? Pn(e.values) : {};
|
|
8861
8861
|
switch (n) {
|
|
8862
8862
|
case "updateValue":
|
|
8863
8863
|
if (r != null && r.key && a[r == null ? void 0 : r.key] && delete a[r == null ? void 0 : r.key], r != null && r.key) {
|
|
@@ -8888,7 +8888,7 @@ const Jn = {
|
|
|
8888
8888
|
onFailure: u = () => {
|
|
8889
8889
|
},
|
|
8890
8890
|
intl: d
|
|
8891
|
-
} = r, h =
|
|
8891
|
+
} = r, h = Pn(Object.keys(a));
|
|
8892
8892
|
for (const m of s)
|
|
8893
8893
|
if (m.validation)
|
|
8894
8894
|
for (let p = 0; p < m.validation.length; p++) {
|
|
@@ -9113,7 +9113,7 @@ const mn = ({
|
|
|
9113
9113
|
},
|
|
9114
9114
|
/* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
9115
9115
|
O != null && O.general ? /* @__PURE__ */ c.jsx(
|
|
9116
|
-
|
|
9116
|
+
Wn,
|
|
9117
9117
|
{
|
|
9118
9118
|
variant: "error",
|
|
9119
9119
|
text: z.formatMessage({ id: "form_error_generalError" })
|
|
@@ -9357,7 +9357,7 @@ var sv = lv, Md = "֑-߿יִ-﷽ﹰ-ﻼ", Rd = "A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-
|
|
|
9357
9357
|
function lv(e) {
|
|
9358
9358
|
return e = String(e || ""), ov.test(e) ? "rtl" : uv.test(e) ? "ltr" : "neutral";
|
|
9359
9359
|
}
|
|
9360
|
-
const $d = /* @__PURE__ */
|
|
9360
|
+
const $d = /* @__PURE__ */ qn(sv);
|
|
9361
9361
|
function cv(e) {
|
|
9362
9362
|
var t = typeof e;
|
|
9363
9363
|
return e != null && (t == "object" || t == "function");
|
|
@@ -9466,7 +9466,7 @@ function o0(e, t, n) {
|
|
|
9466
9466
|
return D.cancel = C, D.flush = A, D;
|
|
9467
9467
|
}
|
|
9468
9468
|
var qd = o0;
|
|
9469
|
-
const u0 = /* @__PURE__ */
|
|
9469
|
+
const u0 = /* @__PURE__ */ qn(qd);
|
|
9470
9470
|
var l0 = qd, c0 = bo, d0 = "Expected a function";
|
|
9471
9471
|
function f0(e, t, n) {
|
|
9472
9472
|
var r = !0, a = !0;
|
|
@@ -9479,7 +9479,7 @@ function f0(e, t, n) {
|
|
|
9479
9479
|
});
|
|
9480
9480
|
}
|
|
9481
9481
|
var h0 = f0;
|
|
9482
|
-
const m0 = /* @__PURE__ */
|
|
9482
|
+
const m0 = /* @__PURE__ */ qn(h0), zu = (e) => typeof e == "object" && e != null && e.nodeType === 1, qu = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", Ii = (e, t) => {
|
|
9483
9483
|
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
9484
9484
|
const n = getComputedStyle(e, null);
|
|
9485
9485
|
return qu(n.overflowY, t) || qu(n.overflowX, t) || ((r) => {
|
|
@@ -9616,10 +9616,10 @@ function kt(e, ...t) {
|
|
|
9616
9616
|
);
|
|
9617
9617
|
}
|
|
9618
9618
|
var mr = Object.getPrototypeOf;
|
|
9619
|
-
function
|
|
9619
|
+
function In(e) {
|
|
9620
9620
|
return !!e && !!e[Ot];
|
|
9621
9621
|
}
|
|
9622
|
-
function
|
|
9622
|
+
function Ln(e) {
|
|
9623
9623
|
var t;
|
|
9624
9624
|
return e ? Wd(e) || Array.isArray(e) || !!e[Vu] || !!((t = e.constructor) != null && t[Vu]) || mi(e) || pi(e) : !1;
|
|
9625
9625
|
}
|
|
@@ -9658,7 +9658,7 @@ function mi(e) {
|
|
|
9658
9658
|
function pi(e) {
|
|
9659
9659
|
return e instanceof Set;
|
|
9660
9660
|
}
|
|
9661
|
-
function
|
|
9661
|
+
function Sn(e) {
|
|
9662
9662
|
return e.copy_ || e.base_;
|
|
9663
9663
|
}
|
|
9664
9664
|
function Ss(e, t) {
|
|
@@ -9693,7 +9693,7 @@ function Ss(e, t) {
|
|
|
9693
9693
|
}
|
|
9694
9694
|
}
|
|
9695
9695
|
function yo(e, t = !1) {
|
|
9696
|
-
return gi(e) ||
|
|
9696
|
+
return gi(e) || In(e) || !Ln(e) || (hi(e) > 1 && (e.set = e.add = e.clear = e.delete = D0), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => yo(r, !0))), e;
|
|
9697
9697
|
}
|
|
9698
9698
|
function D0() {
|
|
9699
9699
|
kt(2);
|
|
@@ -9702,7 +9702,7 @@ function gi(e) {
|
|
|
9702
9702
|
return Object.isFrozen(e);
|
|
9703
9703
|
}
|
|
9704
9704
|
var w0 = {};
|
|
9705
|
-
function
|
|
9705
|
+
function zn(e) {
|
|
9706
9706
|
const t = w0[e];
|
|
9707
9707
|
return t || kt(0, e), t;
|
|
9708
9708
|
}
|
|
@@ -9722,7 +9722,7 @@ function C0(e, t) {
|
|
|
9722
9722
|
};
|
|
9723
9723
|
}
|
|
9724
9724
|
function Hu(e, t) {
|
|
9725
|
-
t && (
|
|
9725
|
+
t && (zn("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
|
|
9726
9726
|
}
|
|
9727
9727
|
function js(e) {
|
|
9728
9728
|
Os(e), e.drafts_.forEach(E0), e.drafts_ = null;
|
|
@@ -9740,7 +9740,7 @@ function E0(e) {
|
|
|
9740
9740
|
function Zu(e, t) {
|
|
9741
9741
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
9742
9742
|
const n = t.drafts_[0];
|
|
9743
|
-
return e !== void 0 && e !== n ? (n[Ot].modified_ && (js(t), kt(4)),
|
|
9743
|
+
return e !== void 0 && e !== n ? (n[Ot].modified_ && (js(t), kt(4)), Ln(e) && (e = ei(t, e), t.parent_ || ti(t, e)), t.patches_ && zn("Patches").generateReplacementPatches_(
|
|
9744
9744
|
n[Ot].base_,
|
|
9745
9745
|
e,
|
|
9746
9746
|
t.patches_,
|
|
@@ -9767,7 +9767,7 @@ function ei(e, t, n) {
|
|
|
9767
9767
|
r.type_ === 3 && (i = new Set(a), a.clear(), s = !0), Xa(
|
|
9768
9768
|
i,
|
|
9769
9769
|
(o, l) => Yu(e, r, a, o, l, n, s)
|
|
9770
|
-
), ti(e, a, !1), n && e.patches_ &&
|
|
9770
|
+
), ti(e, a, !1), n && e.patches_ && zn("Patches").generatePatches_(
|
|
9771
9771
|
r,
|
|
9772
9772
|
n,
|
|
9773
9773
|
e.patches_,
|
|
@@ -9777,16 +9777,16 @@ function ei(e, t, n) {
|
|
|
9777
9777
|
return r.copy_;
|
|
9778
9778
|
}
|
|
9779
9779
|
function Yu(e, t, n, r, a, i, s) {
|
|
9780
|
-
if (process.env.NODE_ENV !== "production" && a === n && kt(5),
|
|
9780
|
+
if (process.env.NODE_ENV !== "production" && a === n && kt(5), In(a)) {
|
|
9781
9781
|
const o = i && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
|
|
9782
9782
|
!Ts(t.assigned_, r) ? i.concat(r) : void 0, l = ei(e, a, o);
|
|
9783
|
-
if (Vd(n, r, l),
|
|
9783
|
+
if (Vd(n, r, l), In(l))
|
|
9784
9784
|
e.canAutoFreeze_ = !1;
|
|
9785
9785
|
else
|
|
9786
9786
|
return;
|
|
9787
9787
|
} else
|
|
9788
9788
|
s && n.add(a);
|
|
9789
|
-
if (
|
|
9789
|
+
if (Ln(a) && !gi(a)) {
|
|
9790
9790
|
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
|
|
9791
9791
|
return;
|
|
9792
9792
|
ei(e, a), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && ti(e, a);
|
|
@@ -9828,24 +9828,24 @@ var xo = {
|
|
|
9828
9828
|
get(e, t) {
|
|
9829
9829
|
if (t === Ot)
|
|
9830
9830
|
return e;
|
|
9831
|
-
const n =
|
|
9831
|
+
const n = Sn(e);
|
|
9832
9832
|
if (!Ts(n, t))
|
|
9833
9833
|
return k0(e, n, t);
|
|
9834
9834
|
const r = n[t];
|
|
9835
|
-
return e.finalized_ || !
|
|
9835
|
+
return e.finalized_ || !Ln(r) ? r : r === Li(e.base_, t) ? (zi(e), e.copy_[t] = Ns(r, e)) : r;
|
|
9836
9836
|
},
|
|
9837
9837
|
has(e, t) {
|
|
9838
|
-
return t in
|
|
9838
|
+
return t in Sn(e);
|
|
9839
9839
|
},
|
|
9840
9840
|
ownKeys(e) {
|
|
9841
|
-
return Reflect.ownKeys(
|
|
9841
|
+
return Reflect.ownKeys(Sn(e));
|
|
9842
9842
|
},
|
|
9843
9843
|
set(e, t, n) {
|
|
9844
|
-
const r = Kd(
|
|
9844
|
+
const r = Kd(Sn(e), t);
|
|
9845
9845
|
if (r != null && r.set)
|
|
9846
9846
|
return r.set.call(e.draft_, n), !0;
|
|
9847
9847
|
if (!e.modified_) {
|
|
9848
|
-
const a = Li(
|
|
9848
|
+
const a = Li(Sn(e), t), i = a == null ? void 0 : a[Ot];
|
|
9849
9849
|
if (i && i.base_ === n)
|
|
9850
9850
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
9851
9851
|
if (x0(n, a) && (n !== void 0 || Ts(e.base_, t)))
|
|
@@ -9862,7 +9862,7 @@ var xo = {
|
|
|
9862
9862
|
// Note: We never coerce `desc.value` into an Immer draft, because we can't make
|
|
9863
9863
|
// the same guarantee in ES5 mode.
|
|
9864
9864
|
getOwnPropertyDescriptor(e, t) {
|
|
9865
|
-
const n =
|
|
9865
|
+
const n = Sn(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
9866
9866
|
return r && {
|
|
9867
9867
|
writable: !0,
|
|
9868
9868
|
configurable: e.type_ !== 1 || t !== "length",
|
|
@@ -9893,7 +9893,7 @@ Zr.set = function(e, t, n) {
|
|
|
9893
9893
|
};
|
|
9894
9894
|
function Li(e, t) {
|
|
9895
9895
|
const n = e[Ot];
|
|
9896
|
-
return (n ?
|
|
9896
|
+
return (n ? Sn(n) : e)[t];
|
|
9897
9897
|
}
|
|
9898
9898
|
function k0(e, t, n) {
|
|
9899
9899
|
var a;
|
|
@@ -9937,7 +9937,7 @@ var F0 = class {
|
|
|
9937
9937
|
}
|
|
9938
9938
|
typeof n != "function" && kt(6), r !== void 0 && typeof r != "function" && kt(7);
|
|
9939
9939
|
let a;
|
|
9940
|
-
if (
|
|
9940
|
+
if (Ln(t)) {
|
|
9941
9941
|
const i = Ku(this), s = Ns(t, void 0);
|
|
9942
9942
|
let o = !0;
|
|
9943
9943
|
try {
|
|
@@ -9949,7 +9949,7 @@ var F0 = class {
|
|
|
9949
9949
|
} else if (!t || typeof t != "object") {
|
|
9950
9950
|
if (a = n(t), a === void 0 && (a = t), a === Ud && (a = void 0), this.autoFreeze_ && yo(a, !0), r) {
|
|
9951
9951
|
const i = [], s = [];
|
|
9952
|
-
|
|
9952
|
+
zn("Patches").generateReplacementPatches_(t, a, i, s), r(i, s);
|
|
9953
9953
|
}
|
|
9954
9954
|
return a;
|
|
9955
9955
|
} else
|
|
@@ -9964,7 +9964,7 @@ var F0 = class {
|
|
|
9964
9964
|
}, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
|
|
9965
9965
|
}
|
|
9966
9966
|
createDraft(e) {
|
|
9967
|
-
|
|
9967
|
+
Ln(e) || kt(8), In(e) && (e = A0(e));
|
|
9968
9968
|
const t = Ku(this), n = Ns(e, void 0);
|
|
9969
9969
|
return n[Ot].isManual_ = !0, Os(t), n;
|
|
9970
9970
|
}
|
|
@@ -10000,22 +10000,22 @@ var F0 = class {
|
|
|
10000
10000
|
}
|
|
10001
10001
|
}
|
|
10002
10002
|
n > -1 && (t = t.slice(n + 1));
|
|
10003
|
-
const r =
|
|
10004
|
-
return
|
|
10003
|
+
const r = zn("Patches").applyPatches_;
|
|
10004
|
+
return In(e) ? r(e, t) : this.produce(
|
|
10005
10005
|
e,
|
|
10006
10006
|
(a) => r(a, t)
|
|
10007
10007
|
);
|
|
10008
10008
|
}
|
|
10009
10009
|
};
|
|
10010
10010
|
function Ns(e, t) {
|
|
10011
|
-
const n = mi(e) ?
|
|
10011
|
+
const n = mi(e) ? zn("MapSet").proxyMap_(e, t) : pi(e) ? zn("MapSet").proxySet_(e, t) : _0(e, t);
|
|
10012
10012
|
return (t ? t.scope_ : Hd()).drafts_.push(n), n;
|
|
10013
10013
|
}
|
|
10014
10014
|
function A0(e) {
|
|
10015
|
-
return
|
|
10015
|
+
return In(e) || kt(10, e), Zd(e);
|
|
10016
10016
|
}
|
|
10017
10017
|
function Zd(e) {
|
|
10018
|
-
if (!
|
|
10018
|
+
if (!Ln(e) || gi(e))
|
|
10019
10019
|
return e;
|
|
10020
10020
|
const t = e[Ot];
|
|
10021
10021
|
let n;
|
|
@@ -10483,7 +10483,7 @@ var P0 = (e, t, n) => {
|
|
|
10483
10483
|
try {
|
|
10484
10484
|
n = P0(e, n, t);
|
|
10485
10485
|
} finally {
|
|
10486
|
-
e.children = Qu(e.children), n ? e.selection =
|
|
10486
|
+
e.children = Qu(e.children), n ? e.selection = In(n) ? Qu(n) : n : e.selection = null;
|
|
10487
10487
|
}
|
|
10488
10488
|
}
|
|
10489
10489
|
}, M0 = {
|
|
@@ -13974,12 +13974,12 @@ var Ky = function(t, n) {
|
|
|
13974
13974
|
}
|
|
13975
13975
|
};
|
|
13976
13976
|
return e;
|
|
13977
|
-
},
|
|
13978
|
-
return
|
|
13977
|
+
}, Nn = [], Yy = function() {
|
|
13978
|
+
return Nn.some(function(e) {
|
|
13979
13979
|
return e.activeTargets.length > 0;
|
|
13980
13980
|
});
|
|
13981
13981
|
}, Gy = function() {
|
|
13982
|
-
return
|
|
13982
|
+
return Nn.some(function(e) {
|
|
13983
13983
|
return e.skippedTargets.length > 0;
|
|
13984
13984
|
});
|
|
13985
13985
|
}, Bl = "ResizeObserver loop completed with undelivered notifications.", Qy = function() {
|
|
@@ -13991,16 +13991,16 @@ var Ky = function(t, n) {
|
|
|
13991
13991
|
(function(e) {
|
|
13992
13992
|
e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
13993
13993
|
})(Gr || (Gr = {}));
|
|
13994
|
-
var
|
|
13994
|
+
var Mn = function(e) {
|
|
13995
13995
|
return Object.freeze(e);
|
|
13996
13996
|
}, Jy = function() {
|
|
13997
13997
|
function e(t, n) {
|
|
13998
|
-
this.inlineSize = t, this.blockSize = n,
|
|
13998
|
+
this.inlineSize = t, this.blockSize = n, Mn(this);
|
|
13999
13999
|
}
|
|
14000
14000
|
return e;
|
|
14001
14001
|
}(), Xd = function() {
|
|
14002
14002
|
function e(t, n, r, a) {
|
|
14003
|
-
return this.x = t, this.y = n, this.width = r, this.height = a, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width,
|
|
14003
|
+
return this.x = t, this.y = n, this.width = r, this.height = a, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, Mn(this);
|
|
14004
14004
|
}
|
|
14005
14005
|
return e.prototype.toJSON = function() {
|
|
14006
14006
|
var t = this, n = t.x, r = t.y, a = t.top, i = t.right, s = t.bottom, o = t.left, l = t.width, u = t.height;
|
|
@@ -14042,7 +14042,7 @@ var Rn = function(e) {
|
|
|
14042
14042
|
return parseFloat(e || "0");
|
|
14043
14043
|
}, ur = function(e, t, n) {
|
|
14044
14044
|
return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Jy((n ? t : e) || 0, (n ? e : t) || 0);
|
|
14045
|
-
}, jl =
|
|
14045
|
+
}, jl = Mn({
|
|
14046
14046
|
devicePixelContentBoxSize: ur(),
|
|
14047
14047
|
borderBoxSize: ur(),
|
|
14048
14048
|
contentBoxSize: ur(),
|
|
@@ -14052,7 +14052,7 @@ var Rn = function(e) {
|
|
|
14052
14052
|
return ba.get(e);
|
|
14053
14053
|
if (ef(e))
|
|
14054
14054
|
return ba.set(e, jl), jl;
|
|
14055
|
-
var n = getComputedStyle(e), r = _o(e) && e.ownerSVGElement && e.getBBox(), a = !t1 && n.boxSizing === "border-box", i = e1.test(n.writingMode || ""), s = !r && Sl.test(n.overflowY || ""), o = !r && Sl.test(n.overflowX || ""), l = r ? 0 : Zt(n.paddingTop), u = r ? 0 : Zt(n.paddingRight), d = r ? 0 : Zt(n.paddingBottom), h = r ? 0 : Zt(n.paddingLeft), m = r ? 0 : Zt(n.borderTopWidth), p = r ? 0 : Zt(n.borderRightWidth), v = r ? 0 : Zt(n.borderBottomWidth), f = r ? 0 : Zt(n.borderLeftWidth), b = h + u, g = l + d, w = f + p, C = m + v, A = o ? e.offsetHeight - C - e.clientHeight : 0, D = s ? e.offsetWidth - w - e.clientWidth : 0, E = a ? b + w : 0, T = a ? g + C : 0, I = r ? r.width : Zt(n.width) - E - D, P = r ? r.height : Zt(n.height) - T - A, z = I + b + D + w, $ = P + g + A + C, F =
|
|
14055
|
+
var n = getComputedStyle(e), r = _o(e) && e.ownerSVGElement && e.getBBox(), a = !t1 && n.boxSizing === "border-box", i = e1.test(n.writingMode || ""), s = !r && Sl.test(n.overflowY || ""), o = !r && Sl.test(n.overflowX || ""), l = r ? 0 : Zt(n.paddingTop), u = r ? 0 : Zt(n.paddingRight), d = r ? 0 : Zt(n.paddingBottom), h = r ? 0 : Zt(n.paddingLeft), m = r ? 0 : Zt(n.borderTopWidth), p = r ? 0 : Zt(n.borderRightWidth), v = r ? 0 : Zt(n.borderBottomWidth), f = r ? 0 : Zt(n.borderLeftWidth), b = h + u, g = l + d, w = f + p, C = m + v, A = o ? e.offsetHeight - C - e.clientHeight : 0, D = s ? e.offsetWidth - w - e.clientWidth : 0, E = a ? b + w : 0, T = a ? g + C : 0, I = r ? r.width : Zt(n.width) - E - D, P = r ? r.height : Zt(n.height) - T - A, z = I + b + D + w, $ = P + g + A + C, F = Mn({
|
|
14056
14056
|
devicePixelContentBoxSize: ur(Math.round(I * devicePixelRatio), Math.round(P * devicePixelRatio), i),
|
|
14057
14057
|
borderBoxSize: ur(z, $, i),
|
|
14058
14058
|
contentBoxSize: ur(I, P, i),
|
|
@@ -14072,7 +14072,7 @@ var Rn = function(e) {
|
|
|
14072
14072
|
}, n1 = function() {
|
|
14073
14073
|
function e(t) {
|
|
14074
14074
|
var n = tf(t);
|
|
14075
|
-
this.target = t, this.contentRect = n.contentRect, this.borderBoxSize =
|
|
14075
|
+
this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = Mn([n.borderBoxSize]), this.contentBoxSize = Mn([n.contentBoxSize]), this.devicePixelContentBoxSize = Mn([n.devicePixelContentBoxSize]);
|
|
14076
14076
|
}
|
|
14077
14077
|
return e;
|
|
14078
14078
|
}(), rf = function(e) {
|
|
@@ -14083,7 +14083,7 @@ var Rn = function(e) {
|
|
|
14083
14083
|
return t;
|
|
14084
14084
|
}, r1 = function() {
|
|
14085
14085
|
var e = 1 / 0, t = [];
|
|
14086
|
-
|
|
14086
|
+
Nn.forEach(function(s) {
|
|
14087
14087
|
if (s.activeTargets.length !== 0) {
|
|
14088
14088
|
var o = [];
|
|
14089
14089
|
s.activeTargets.forEach(function(u) {
|
|
@@ -14100,7 +14100,7 @@ var Rn = function(e) {
|
|
|
14100
14100
|
}
|
|
14101
14101
|
return e;
|
|
14102
14102
|
}, Ol = function(e) {
|
|
14103
|
-
|
|
14103
|
+
Nn.forEach(function(n) {
|
|
14104
14104
|
n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(a) {
|
|
14105
14105
|
a.isActive() && (rf(a.target) > e ? n.activeTargets.push(a) : n.skippedTargets.push(a));
|
|
14106
14106
|
});
|
|
@@ -14221,10 +14221,10 @@ var Rn = function(e) {
|
|
|
14221
14221
|
ya.set(t, r);
|
|
14222
14222
|
}, e.observe = function(t, n, r) {
|
|
14223
14223
|
var a = ya.get(t), i = a.observationTargets.length === 0;
|
|
14224
|
-
Rl(a.observationTargets, n) < 0 && (i &&
|
|
14224
|
+
Rl(a.observationTargets, n) < 0 && (i && Nn.push(a), a.observationTargets.push(new h1(n, r && r.box)), Ml(1), Ms.schedule());
|
|
14225
14225
|
}, e.unobserve = function(t, n) {
|
|
14226
14226
|
var r = ya.get(t), a = Rl(r.observationTargets, n), i = r.observationTargets.length === 1;
|
|
14227
|
-
a >= 0 && (i &&
|
|
14227
|
+
a >= 0 && (i && Nn.splice(Nn.indexOf(r), 1), r.observationTargets.splice(a, 1), Ml(-1));
|
|
14228
14228
|
}, e.disconnect = function(t) {
|
|
14229
14229
|
var n = this, r = ya.get(t);
|
|
14230
14230
|
r.observationTargets.slice().forEach(function(a) {
|
|
@@ -14451,7 +14451,7 @@ var Ao = /* @__PURE__ */ At(null), An = () => {
|
|
|
14451
14451
|
return e;
|
|
14452
14452
|
}, cf = parseInt(ne.version.split(".")[0], 10), C1 = typeof navigator < "u" && typeof window < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, $l = typeof navigator < "u" && /Mac OS X/.test(navigator.userAgent), xt = typeof navigator < "u" && /Android/.test(navigator.userAgent), ar = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Nr = typeof navigator < "u" && /AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent), E1 = typeof navigator < "u" && /Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent), df = typeof navigator < "u" && /Chrome/i.test(navigator.userAgent), _1 = typeof navigator < "u" && /Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent), k1 = xt && typeof navigator < "u" && /Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent), F1 = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent), A1 = typeof navigator < "u" && /.*UCBrowser/.test(navigator.userAgent), B1 = typeof navigator < "u" && /.*Wechat/.test(navigator.userAgent) && !/.*MacWechat/.test(navigator.userAgent), Na = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", vn = (!_1 || !k1) && !E1 && // globalThis is undefined in older browsers
|
|
14453
14453
|
typeof globalThis < "u" && globalThis.InputEvent && // @ts-ignore The `getTargetRanges` property isn't recognized.
|
|
14454
|
-
typeof globalThis.InputEvent.prototype.getTargetRanges == "function", Bo = /* @__PURE__ */ new WeakMap(), To = /* @__PURE__ */ new WeakMap(), ff = /* @__PURE__ */ new WeakMap(), Ma = /* @__PURE__ */ new WeakMap(), Rs = /* @__PURE__ */ new WeakMap(), Jr = /* @__PURE__ */ new WeakMap(),
|
|
14454
|
+
typeof globalThis.InputEvent.prototype.getTargetRanges == "function", Bo = /* @__PURE__ */ new WeakMap(), To = /* @__PURE__ */ new WeakMap(), ff = /* @__PURE__ */ new WeakMap(), Ma = /* @__PURE__ */ new WeakMap(), Rs = /* @__PURE__ */ new WeakMap(), Jr = /* @__PURE__ */ new WeakMap(), Rn = /* @__PURE__ */ new WeakMap(), ai = /* @__PURE__ */ new WeakMap(), bi = /* @__PURE__ */ new WeakMap(), $s = /* @__PURE__ */ new WeakMap(), Cn = /* @__PURE__ */ new WeakMap(), On = /* @__PURE__ */ new WeakMap(), Lr = /* @__PURE__ */ new WeakMap(), Is = /* @__PURE__ */ new WeakMap(), So = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), ln = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), yn = /* @__PURE__ */ new WeakMap(), xn = /* @__PURE__ */ new WeakMap(), hf = /* @__PURE__ */ new WeakMap(), gr = Symbol("placeholder"), mf = Symbol("mark-placeholder"), T1 = globalThis.Text, jo = (e) => e && e.ownerDocument && e.ownerDocument.defaultView || null, S1 = (e) => _n(e) && e.nodeType === 8, It = (e) => _n(e) && e.nodeType === 1, _n = (e) => {
|
|
14455
14455
|
var t = jo(e);
|
|
14456
14456
|
return !!t && e instanceof t.Node;
|
|
14457
14457
|
}, Ls = (e) => {
|
|
@@ -14679,7 +14679,7 @@ var X = {
|
|
|
14679
14679
|
},
|
|
14680
14680
|
insertFragmentData: (e, t) => e.insertFragmentData(t),
|
|
14681
14681
|
insertTextData: (e, t) => e.insertTextData(t),
|
|
14682
|
-
isComposing: (e) => !!
|
|
14682
|
+
isComposing: (e) => !!On.get(e),
|
|
14683
14683
|
isFocused: (e) => !!Cn.get(e),
|
|
14684
14684
|
isReadOnly: (e) => !!$s.get(e),
|
|
14685
14685
|
isTargetInsideNonReadonlyVoid: (e, t) => {
|
|
@@ -15214,10 +15214,10 @@ function G1(e) {
|
|
|
15214
15214
|
ln.delete(t), x !== void 0 && (t.marks = x, t.onChange());
|
|
15215
15215
|
}, p = (F) => {
|
|
15216
15216
|
i && clearTimeout(i), i = setTimeout(() => {
|
|
15217
|
-
|
|
15217
|
+
On.set(t, !1), m();
|
|
15218
15218
|
}, H1);
|
|
15219
15219
|
}, v = (F) => {
|
|
15220
|
-
|
|
15220
|
+
On.set(t, !0), i && (clearTimeout(i), i = null);
|
|
15221
15221
|
}, f = function() {
|
|
15222
15222
|
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, O = Rs.get(t);
|
|
15223
15223
|
if (O) {
|
|
@@ -15753,7 +15753,7 @@ var hx = (e) => {
|
|
|
15753
15753
|
}
|
|
15754
15754
|
var v = Ne((f) => {
|
|
15755
15755
|
var b = bi.get(o);
|
|
15756
|
-
f ? (b == null || b.set(d, f),
|
|
15756
|
+
f ? (b == null || b.set(d, f), Rn.set(s, f), Jr.set(f, s)) : (b == null || b.delete(d), Rn.delete(s), l.current && Jr.delete(l.current)), l.current = f;
|
|
15757
15757
|
}, [l, o, d, s]);
|
|
15758
15758
|
return /* @__PURE__ */ ne.createElement("span", {
|
|
15759
15759
|
"data-slate-node": "text",
|
|
@@ -15791,7 +15791,7 @@ var vx = (e) => {
|
|
|
15791
15791
|
selection: s
|
|
15792
15792
|
} = e, o = An(), l = wx(), u = o.isInline(n), d = X.findKey(o, n), h = Ne((w) => {
|
|
15793
15793
|
var C = bi.get(o);
|
|
15794
|
-
w ? (C == null || C.set(d, w),
|
|
15794
|
+
w ? (C == null || C.set(d, w), Rn.set(n, w), Jr.set(w, n)) : (C == null || C.delete(d), Rn.delete(n));
|
|
15795
15795
|
}, [o, d, n]), m = Ef({
|
|
15796
15796
|
decorations: t,
|
|
15797
15797
|
node: n,
|
|
@@ -15878,7 +15878,7 @@ var vx = (e) => {
|
|
|
15878
15878
|
})), Bo.set(v, m), To.set(v, n);
|
|
15879
15879
|
}
|
|
15880
15880
|
return d;
|
|
15881
|
-
}, _f = /* @__PURE__ */ At(!1), wx = () => Me(_f), kf = /* @__PURE__ */ At(null),
|
|
15881
|
+
}, _f = /* @__PURE__ */ At(!1), wx = () => Me(_f), kf = /* @__PURE__ */ At(null), Vn = () => {
|
|
15882
15882
|
var e = Me(kf);
|
|
15883
15883
|
if (!e)
|
|
15884
15884
|
throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");
|
|
@@ -16073,7 +16073,7 @@ var Ox = (e) => /* @__PURE__ */ ne.createElement(ne.Fragment, null, Ef(e)), Px =
|
|
|
16073
16073
|
style: h = {},
|
|
16074
16074
|
as: m = "div",
|
|
16075
16075
|
disableDefaultStyles: p = !1
|
|
16076
|
-
} = e, v = pr(e, Sx), f =
|
|
16076
|
+
} = e, v = pr(e, Sx), f = Vn(), [b, g] = le(!1), w = ke(null), C = ke([]), [A, D] = le(), {
|
|
16077
16077
|
onUserInput: E,
|
|
16078
16078
|
receivedUserInput: T
|
|
16079
16079
|
} = Cx(), [, I] = br((B) => B + 1, 0);
|
|
@@ -16115,7 +16115,7 @@ var Ox = (e) => /* @__PURE__ */ ne.createElement(ne.Fragment, null, Ef(e)), Px =
|
|
|
16115
16115
|
scheduleOnDOMSelectionChange: F
|
|
16116
16116
|
}), Xr(() => {
|
|
16117
16117
|
var B, L, S;
|
|
16118
|
-
w.current && (S = jo(w.current)) ? (ff.set(f, S), Ma.set(f, w.current),
|
|
16118
|
+
w.current && (S = jo(w.current)) ? (ff.set(f, S), Ma.set(f, w.current), Rn.set(f, w.current), Jr.set(w.current, f)) : Rn.delete(f);
|
|
16119
16119
|
var {
|
|
16120
16120
|
selection: N
|
|
16121
16121
|
} = f, V = X.findDocumentOrShadowRoot(f), Y = V.getSelection();
|
|
@@ -16316,7 +16316,7 @@ var Ox = (e) => /* @__PURE__ */ ne.createElement(ne.Fragment, null, Ef(e)), Px =
|
|
|
16316
16316
|
case "insertFromYank":
|
|
16317
16317
|
case "insertReplacementText":
|
|
16318
16318
|
case "insertText": {
|
|
16319
|
-
N === "insertFromComposition" && X.isComposing(f) && (g(!1),
|
|
16319
|
+
N === "insertFromComposition" && X.isComposing(f) && (g(!1), On.set(f, !1)), (V == null ? void 0 : V.constructor.name) === "DataTransfer" ? X.insertData(f, V) : typeof V == "string" && (te ? C.current.push(() => y.insertText(f, V)) : y.insertText(f, V));
|
|
16320
16320
|
break;
|
|
16321
16321
|
}
|
|
16322
16322
|
}
|
|
@@ -16324,7 +16324,7 @@ var Ox = (e) => /* @__PURE__ */ ne.createElement(ne.Fragment, null, Ef(e)), Px =
|
|
|
16324
16324
|
Lr.delete(f), W && (!f.selection || !Z.equals(f.selection, W)) && Q.select(f, W);
|
|
16325
16325
|
}
|
|
16326
16326
|
}, [f, $, E, a, s, F]), O = Ne((B) => {
|
|
16327
|
-
B == null ? ($.cancel(), F.cancel(), Ma.delete(f),
|
|
16327
|
+
B == null ? ($.cancel(), F.cancel(), Ma.delete(f), Rn.delete(f), w.current && vn && w.current.removeEventListener("beforeinput", k)) : vn && B.addEventListener("beforeinput", k), w.current = B;
|
|
16328
16328
|
}, [$, F, f, k]);
|
|
16329
16329
|
Xr(() => {
|
|
16330
16330
|
var B = X.getWindow(f);
|
|
@@ -16500,7 +16500,7 @@ var Ox = (e) => /* @__PURE__ */ ne.createElement(ne.Fragment, null, Ef(e)), Px =
|
|
|
16500
16500
|
if (X.hasSelectableTarget(f, B.target)) {
|
|
16501
16501
|
var L;
|
|
16502
16502
|
if (X.isComposing(f) && Promise.resolve().then(() => {
|
|
16503
|
-
g(!1),
|
|
16503
|
+
g(!1), On.set(f, !1);
|
|
16504
16504
|
}), (L = z.current) === null || L === void 0 || L.handleCompositionEnd(B), bt(B, v.onCompositionEnd) || xt)
|
|
16505
16505
|
return;
|
|
16506
16506
|
if (!Nr && !F1 && !C1 && !B1 && !A1 && B.data) {
|
|
@@ -16512,7 +16512,7 @@ var Ox = (e) => /* @__PURE__ */ ne.createElement(ne.Fragment, null, Ef(e)), Px =
|
|
|
16512
16512
|
}
|
|
16513
16513
|
}, [v.onCompositionEnd, f]),
|
|
16514
16514
|
onCompositionUpdate: Ne((B) => {
|
|
16515
|
-
X.hasSelectableTarget(f, B.target) && !bt(B, v.onCompositionUpdate) && (X.isComposing(f) || (g(!0),
|
|
16515
|
+
X.hasSelectableTarget(f, B.target) && !bt(B, v.onCompositionUpdate) && (X.isComposing(f) || (g(!0), On.set(f, !0)));
|
|
16516
16516
|
}, [v.onCompositionUpdate, f]),
|
|
16517
16517
|
onCompositionStart: Ne((B) => {
|
|
16518
16518
|
if (X.hasSelectableTarget(f, B.target)) {
|
|
@@ -16599,7 +16599,7 @@ var Ox = (e) => /* @__PURE__ */ ne.createElement(ne.Fragment, null, Ef(e)), Px =
|
|
|
16599
16599
|
var {
|
|
16600
16600
|
nativeEvent: S
|
|
16601
16601
|
} = B;
|
|
16602
|
-
if (X.isComposing(f) && S.isComposing === !1 && (
|
|
16602
|
+
if (X.isComposing(f) && S.isComposing === !1 && (On.set(f, !1), g(!1)), bt(B, v.onKeyDown) || X.isComposing(f))
|
|
16603
16603
|
return;
|
|
16604
16604
|
var {
|
|
16605
16605
|
selection: N
|
|
@@ -17183,7 +17183,7 @@ var Ra = Object.prototype.hasOwnProperty, Tf = Object.prototype.toString, nc = O
|
|
|
17183
17183
|
r = oc(o, n), a = oc(t, n), o !== a && (d && a && (ic(a) || (i = ac(a))) ? (i ? (i = !1, s = r && ac(r) ? r : []) : s = r && ic(r) ? r : {}, sc(o, { name: n, newValue: e(d, s, a) })) : typeof a < "u" && sc(o, { name: n, newValue: a }));
|
|
17184
17184
|
return o;
|
|
17185
17185
|
};
|
|
17186
|
-
const Zi = /* @__PURE__ */
|
|
17186
|
+
const Zi = /* @__PURE__ */ qn(Kx);
|
|
17187
17187
|
function Vs(e) {
|
|
17188
17188
|
if (typeof e != "object" || e === null)
|
|
17189
17189
|
return !1;
|
|
@@ -21416,7 +21416,7 @@ const xC = function(t) {
|
|
|
21416
21416
|
}, DC = (e, t = (n) => {
|
|
21417
21417
|
}) => {
|
|
21418
21418
|
cD().use(yC).use(xC).process(e).then((n) => {
|
|
21419
|
-
const r =
|
|
21419
|
+
const r = Pn(n.result), a = (s) => {
|
|
21420
21420
|
const o = s;
|
|
21421
21421
|
[H.li, H.blockquote].includes(o.type) && o.children.map((l, u) => {
|
|
21422
21422
|
const d = l;
|
|
@@ -21689,7 +21689,7 @@ const BC = ({
|
|
|
21689
21689
|
onFallbackClick: e = () => {
|
|
21690
21690
|
}
|
|
21691
21691
|
}) => {
|
|
21692
|
-
const t = ce(), n =
|
|
21692
|
+
const t = ce(), n = Vn(), { dispatch: r, isInOverlay: a, mentionPopover: i, id: s, onMention: o } = Me(pn), { show: l, selectedUser: u, possibleUsers: d } = i, h = Bf(n, "mention-popover", `toolbar-${s}`);
|
|
21693
21693
|
if (!l)
|
|
21694
21694
|
return /* @__PURE__ */ c.jsx(c.Fragment, {});
|
|
21695
21695
|
const m = Hf(a);
|
|
@@ -21786,7 +21786,7 @@ const Zf = ({ formID: e, label: t, showLabel: n }) => {
|
|
|
21786
21786
|
"aria-pressed": s,
|
|
21787
21787
|
...o
|
|
21788
21788
|
}) => {
|
|
21789
|
-
const l = ce(), u =
|
|
21789
|
+
const l = ce(), u = Vn(), {
|
|
21790
21790
|
id: d,
|
|
21791
21791
|
tabbableOption: h,
|
|
21792
21792
|
setFocus: m,
|
|
@@ -21949,7 +21949,7 @@ const Zf = ({ formID: e, label: t, showLabel: n }) => {
|
|
|
21949
21949
|
n(`Error toggling block: ${a}`);
|
|
21950
21950
|
}
|
|
21951
21951
|
}, Tc = ({ format: e, hasDivider: t = !1 }) => {
|
|
21952
|
-
const { setFocus: n, reportError: r } = Me(pn), a =
|
|
21952
|
+
const { setFocus: n, reportError: r } = Me(pn), a = Vn(), i = Yf(a, e);
|
|
21953
21953
|
return /* @__PURE__ */ c.jsx(
|
|
21954
21954
|
Io,
|
|
21955
21955
|
{
|
|
@@ -22019,7 +22019,7 @@ const OC = () => {
|
|
|
22019
22019
|
dispatch: s,
|
|
22020
22020
|
getLinkPreview: o,
|
|
22021
22021
|
reportError: l
|
|
22022
|
-
} = Me(pn), u =
|
|
22022
|
+
} = Me(pn), u = Vn(), d = Hx(u), h = (d == null ? void 0 : d.text) || CC(u), m = i !== !1, [p, v] = le(Ur(u)), f = Bf(u, "link-editor", `${n}-link`), b = ke(null);
|
|
22023
22023
|
de(() => {
|
|
22024
22024
|
var D;
|
|
22025
22025
|
!p && r && ((D = b.current) == null || D.focus());
|
|
@@ -22158,7 +22158,7 @@ const OC = () => {
|
|
|
22158
22158
|
}
|
|
22159
22159
|
) });
|
|
22160
22160
|
}, PC = () => {
|
|
22161
|
-
const e =
|
|
22161
|
+
const e = Vn(), { setFocus: t, dispatch: n } = Me(pn), [r, a] = le(!1);
|
|
22162
22162
|
return de(() => {
|
|
22163
22163
|
a(Ur(e));
|
|
22164
22164
|
}, [e.selection]), /* @__PURE__ */ c.jsx(
|
|
@@ -22186,7 +22186,7 @@ const OC = () => {
|
|
|
22186
22186
|
n(`Error toggling mark: ${a}`);
|
|
22187
22187
|
}
|
|
22188
22188
|
}, MC = ({ format: e, hasDivider: t = !1 }) => {
|
|
22189
|
-
const { setFocus: n, reportError: r } = Me(pn), a =
|
|
22189
|
+
const { setFocus: n, reportError: r } = Me(pn), a = Vn(), i = Jf(a, e);
|
|
22190
22190
|
return /* @__PURE__ */ c.jsx(
|
|
22191
22191
|
Io,
|
|
22192
22192
|
{
|
|
@@ -23029,7 +23029,7 @@ function yE(e) {
|
|
|
23029
23029
|
var n = t[1];
|
|
23030
23030
|
return n ? !!(vE.test(n) || bE.test(n)) : !1;
|
|
23031
23031
|
}
|
|
23032
|
-
const xE = /* @__PURE__ */
|
|
23032
|
+
const xE = /* @__PURE__ */ qn(pE), DE = (e, t, n) => {
|
|
23033
23033
|
const { insertText: r, isInline: a } = e;
|
|
23034
23034
|
try {
|
|
23035
23035
|
e.isInline = (i) => {
|
|
@@ -23177,7 +23177,7 @@ const oh = ({
|
|
|
23177
23177
|
}
|
|
23178
23178
|
}, [_.children.length, z]), de(() => {
|
|
23179
23179
|
P && (async () => {
|
|
23180
|
-
let N =
|
|
23180
|
+
let N = Pn(P);
|
|
23181
23181
|
if (N.includes("<")) {
|
|
23182
23182
|
ea.prototype.escape = (Y) => Y;
|
|
23183
23183
|
const V = new ea();
|
|
@@ -23794,7 +23794,7 @@ const kE = ({ emails: e, setEmails: t, setIsDisabled: n }) => {
|
|
|
23794
23794
|
};
|
|
23795
23795
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
23796
23796
|
/* @__PURE__ */ c.jsx(mn, { ...m }),
|
|
23797
|
-
r && /* @__PURE__ */ c.jsx(
|
|
23797
|
+
r && /* @__PURE__ */ c.jsx(Wn, { variant: "error", text: r })
|
|
23798
23798
|
] });
|
|
23799
23799
|
};
|
|
23800
23800
|
const AE = ({
|
|
@@ -24517,7 +24517,7 @@ const NE = {
|
|
|
24517
24517
|
children: [
|
|
24518
24518
|
v.title && /* @__PURE__ */ c.jsx("p", { className: "signup-title", children: /* @__PURE__ */ c.jsx(mt, { id: "signup_title" }) }),
|
|
24519
24519
|
E && /* @__PURE__ */ c.jsx(
|
|
24520
|
-
|
|
24520
|
+
Wn,
|
|
24521
24521
|
{
|
|
24522
24522
|
variant: "error",
|
|
24523
24523
|
text: l.formatMessage({ id: "signup_error" })
|
|
@@ -24583,7 +24583,7 @@ const NE = {
|
|
|
24583
24583
|
}
|
|
24584
24584
|
);
|
|
24585
24585
|
};
|
|
24586
|
-
const
|
|
24586
|
+
const Hn = ({
|
|
24587
24587
|
children: e,
|
|
24588
24588
|
className: t = "",
|
|
24589
24589
|
styling: n = {},
|
|
@@ -24616,7 +24616,7 @@ const gk = ({ text: e, buttons: t, className: n = "" }) => {
|
|
|
24616
24616
|
children: a.text
|
|
24617
24617
|
});
|
|
24618
24618
|
}), /* @__PURE__ */ c.jsx(
|
|
24619
|
-
|
|
24619
|
+
Hn,
|
|
24620
24620
|
{
|
|
24621
24621
|
className: K("download-section", n),
|
|
24622
24622
|
styling: { background: "dark" },
|
|
@@ -24817,7 +24817,7 @@ const hs = "contactFooter_", yk = ({ onSuccess: e = async () => {
|
|
|
24817
24817
|
};
|
|
24818
24818
|
return de(() => (o(), window.addEventListener("resize", l), () => {
|
|
24819
24819
|
clearTimeout(fs), window.removeEventListener("resize", l);
|
|
24820
|
-
}), []), /* @__PURE__ */ c.jsx(
|
|
24820
|
+
}), []), /* @__PURE__ */ c.jsx(Hn, { id: "contactForm", className: "contact-footer", children: /* @__PURE__ */ c.jsxs("div", { className: "inner-wrapper", children: [
|
|
24821
24821
|
/* @__PURE__ */ c.jsx("h2", { children: /* @__PURE__ */ c.jsx(mt, { id: `${hs}title` }) }),
|
|
24822
24822
|
/* @__PURE__ */ c.jsxs(
|
|
24823
24823
|
"div",
|
|
@@ -24829,7 +24829,7 @@ const hs = "contactFooter_", yk = ({ onSuccess: e = async () => {
|
|
|
24829
24829
|
children: [
|
|
24830
24830
|
/* @__PURE__ */ c.jsxs("aside", { children: [
|
|
24831
24831
|
/* @__PURE__ */ c.jsx("p", { children: /* @__PURE__ */ c.jsx(mt, { id: `${hs}text` }) }),
|
|
24832
|
-
/* @__PURE__ */ c.jsx(
|
|
24832
|
+
/* @__PURE__ */ c.jsx(Un, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ c.jsx(mt, { id: `${hs}email` }) })
|
|
24833
24833
|
] }),
|
|
24834
24834
|
/* @__PURE__ */ c.jsx(
|
|
24835
24835
|
_E,
|
|
@@ -24842,7 +24842,7 @@ const hs = "contactFooter_", yk = ({ onSuccess: e = async () => {
|
|
|
24842
24842
|
}
|
|
24843
24843
|
)
|
|
24844
24844
|
] }) });
|
|
24845
|
-
}, xk = ({ activeLink: e, profile: t, ...n }) => /* @__PURE__ */ c.jsx(
|
|
24845
|
+
}, xk = ({ activeLink: e, profile: t, ...n }) => /* @__PURE__ */ c.jsx(Hn, { children: /* @__PURE__ */ c.jsx(Wg, { layout: "1-3", children: /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
24846
24846
|
/* @__PURE__ */ c.jsx(Lg, { activeLink: e, profile: t }),
|
|
24847
24847
|
/* @__PURE__ */ c.jsx(Cm, { ...n })
|
|
24848
24848
|
] }) }) });
|
|
@@ -25708,7 +25708,7 @@ const IE = () => {
|
|
|
25708
25708
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
25709
25709
|
/* @__PURE__ */ c.jsx(ch, {}),
|
|
25710
25710
|
/* @__PURE__ */ c.jsx("div", { id: "content", children: /* @__PURE__ */ c.jsx(
|
|
25711
|
-
|
|
25711
|
+
Wn,
|
|
25712
25712
|
{
|
|
25713
25713
|
variant: "error",
|
|
25714
25714
|
text: e.formatMessage({ id: "pageLayout_error" })
|
|
@@ -25899,7 +25899,7 @@ const qE = 25, UE = ({
|
|
|
25899
25899
|
}
|
|
25900
25900
|
),
|
|
25901
25901
|
/* @__PURE__ */ c.jsx(
|
|
25902
|
-
|
|
25902
|
+
Un,
|
|
25903
25903
|
{
|
|
25904
25904
|
href: "/profiles/me",
|
|
25905
25905
|
className: "text-small",
|
|
@@ -26507,8 +26507,8 @@ const Di = ({
|
|
|
26507
26507
|
Re && Re.id && (v && (De.prepopulateForm = `@{{${Re.id}}}`), De.mentionData = { id: Re.id, name: Re.name }), A.updateConversation(De);
|
|
26508
26508
|
}
|
|
26509
26509
|
setTimeout(() => {
|
|
26510
|
-
var rn,
|
|
26511
|
-
const Re = `reply-form-${(t.type === "answer" ? t.slug : ((rn = t.slugs) == null ? void 0 : rn.reply) || ((
|
|
26510
|
+
var rn, Kn, Zn;
|
|
26511
|
+
const Re = `reply-form-${(t.type === "answer" ? t.slug : ((rn = t.slugs) == null ? void 0 : rn.reply) || ((Kn = t.slugs) == null ? void 0 : Kn.answer) || ((Zn = t.slugs) == null ? void 0 : Zn.question) || "").toLowerCase().slice(-15)}`, gt = document.getElementById(Re), St = document.getElementById(`${Re}-input`);
|
|
26512
26512
|
St && St.focus(), gt && gt.scrollIntoView({ behavior: "smooth" });
|
|
26513
26513
|
}, 0);
|
|
26514
26514
|
}, Ve = async () => {
|
|
@@ -26955,7 +26955,7 @@ const JE = vr(
|
|
|
26955
26955
|
}) => {
|
|
26956
26956
|
if (i && !a)
|
|
26957
26957
|
return /* @__PURE__ */ c.jsx(
|
|
26958
|
-
|
|
26958
|
+
Wn,
|
|
26959
26959
|
{
|
|
26960
26960
|
text: l,
|
|
26961
26961
|
button: {
|
|
@@ -27224,7 +27224,7 @@ const wk = ({
|
|
|
27224
27224
|
return /* @__PURE__ */ c.jsx(Ht, { style: { height: "400px" } });
|
|
27225
27225
|
if (b || !f)
|
|
27226
27226
|
return /* @__PURE__ */ c.jsx(
|
|
27227
|
-
|
|
27227
|
+
Wn,
|
|
27228
27228
|
{
|
|
27229
27229
|
variant: "error",
|
|
27230
27230
|
text: v.formatMessage({ id: "activitySection_notFoundError" })
|
|
@@ -27730,7 +27730,7 @@ const g_ = [
|
|
|
27730
27730
|
const g = document.getElementById(o.link.substring(1));
|
|
27731
27731
|
g && g.scrollIntoView({ behavior: "smooth" });
|
|
27732
27732
|
}), /* @__PURE__ */ c.jsx(
|
|
27733
|
-
|
|
27733
|
+
Hn,
|
|
27734
27734
|
{
|
|
27735
27735
|
className: K("banner-section", r, a, e, {
|
|
27736
27736
|
"has-image": n,
|
|
@@ -27785,7 +27785,7 @@ const Bk = ({
|
|
|
27785
27785
|
}) => {
|
|
27786
27786
|
const a = {};
|
|
27787
27787
|
return e && (a["--image"] = `url(${e})`), /* @__PURE__ */ c.jsx(
|
|
27788
|
-
|
|
27788
|
+
Hn,
|
|
27789
27789
|
{
|
|
27790
27790
|
className: K("custom-content-banner", t, r, {
|
|
27791
27791
|
"has-image": e
|
|
@@ -27802,7 +27802,7 @@ const b_ = ({
|
|
|
27802
27802
|
image: r
|
|
27803
27803
|
}) => {
|
|
27804
27804
|
const a = typeof n == "string" ? /* @__PURE__ */ c.jsx(dr, { children: n }) : n;
|
|
27805
|
-
return /* @__PURE__ */ c.jsxs(
|
|
27805
|
+
return /* @__PURE__ */ c.jsxs(Hn, { className: K("highlight-section", t), children: [
|
|
27806
27806
|
r && /* @__PURE__ */ c.jsx(
|
|
27807
27807
|
"div",
|
|
27808
27808
|
{
|
|
@@ -28702,7 +28702,7 @@ const Nk = ({
|
|
|
28702
28702
|
}),
|
|
28703
28703
|
...z,
|
|
28704
28704
|
children: /* @__PURE__ */ c.jsx(
|
|
28705
|
-
|
|
28705
|
+
Un,
|
|
28706
28706
|
{
|
|
28707
28707
|
href: P ? `/microcourses/en/${o}/${D}` : void 0,
|
|
28708
28708
|
fallbackElement: "span",
|
|
@@ -28828,7 +28828,7 @@ const Ba = "notFoundError_", $k = () => {
|
|
|
28828
28828
|
{
|
|
28829
28829
|
styling: { background: "bold", circle: "small", variant: "alt-2" },
|
|
28830
28830
|
additionalContent: {
|
|
28831
|
-
appended: /* @__PURE__ */ c.jsxs(
|
|
28831
|
+
appended: /* @__PURE__ */ c.jsxs(Hn, { children: [
|
|
28832
28832
|
/* @__PURE__ */ c.jsx(
|
|
28833
28833
|
C_,
|
|
28834
28834
|
{
|
|
@@ -29074,7 +29074,7 @@ export {
|
|
|
29074
29074
|
Or as EMAILS,
|
|
29075
29075
|
vk as EditSection,
|
|
29076
29076
|
Hg as EmailHelperTextBox,
|
|
29077
|
-
|
|
29077
|
+
Wn as EmptyStateBox,
|
|
29078
29078
|
Bd as EnrichedUrl,
|
|
29079
29079
|
Tm as FeatureFlags,
|
|
29080
29080
|
Pg as Filters,
|
|
@@ -29083,7 +29083,7 @@ export {
|
|
|
29083
29083
|
mn as Form,
|
|
29084
29084
|
H as Formatting,
|
|
29085
29085
|
zt as Fragment,
|
|
29086
|
-
|
|
29086
|
+
Hn as FullWidthSection,
|
|
29087
29087
|
nu as GET_STREAM_USER_PREFIX,
|
|
29088
29088
|
nk as GlobalProviders,
|
|
29089
29089
|
ch as Header,
|
|
@@ -29107,7 +29107,7 @@ export {
|
|
|
29107
29107
|
Yp as LikesButton,
|
|
29108
29108
|
Ag as LikesFeed,
|
|
29109
29109
|
Bg as LikesModal,
|
|
29110
|
-
|
|
29110
|
+
Un as Link,
|
|
29111
29111
|
fi as LoadMore,
|
|
29112
29112
|
Lm as LoadingBlock,
|
|
29113
29113
|
Ht as LoadingPlaceholder,
|