@apolitical/component-library 1.11.0-beta.1 → 1.11.0-beta.2
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 +12 -12
- package/index.mjs +168 -168
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -113,8 +113,8 @@ function vr() {
|
|
|
113
113
|
{
|
|
114
114
|
var S = E.ReactDebugCurrentFrame, R = S.getStackAddendum();
|
|
115
115
|
R !== "" && (x += "%s", w = w.concat([R]));
|
|
116
|
-
var H = w.map(function(
|
|
117
|
-
return String(
|
|
116
|
+
var H = w.map(function(N) {
|
|
117
|
+
return String(N);
|
|
118
118
|
});
|
|
119
119
|
H.unshift("Warning: " + x), Function.prototype.apply.call(console[c], console, H);
|
|
120
120
|
}
|
|
@@ -138,7 +138,7 @@ function vr() {
|
|
|
138
138
|
function V(c) {
|
|
139
139
|
return c.displayName || "Context";
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function P(c) {
|
|
142
142
|
if (c == null)
|
|
143
143
|
return null;
|
|
144
144
|
if (typeof c.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
|
|
@@ -171,11 +171,11 @@ function vr() {
|
|
|
171
171
|
return O(c, c.render, "ForwardRef");
|
|
172
172
|
case f:
|
|
173
173
|
var S = c.displayName || null;
|
|
174
|
-
return S !== null ? S :
|
|
174
|
+
return S !== null ? S : P(c.type) || "Memo";
|
|
175
175
|
case p: {
|
|
176
|
-
var R = c, H = R._payload,
|
|
176
|
+
var R = c, H = R._payload, N = R._init;
|
|
177
177
|
try {
|
|
178
|
-
return N(
|
|
178
|
+
return P(N(H));
|
|
179
179
|
} catch {
|
|
180
180
|
return null;
|
|
181
181
|
}
|
|
@@ -187,7 +187,7 @@ function vr() {
|
|
|
187
187
|
function xe() {
|
|
188
188
|
}
|
|
189
189
|
xe.__reactDisabledLog = !0;
|
|
190
|
-
function
|
|
190
|
+
function Ne() {
|
|
191
191
|
{
|
|
192
192
|
if (Y === 0) {
|
|
193
193
|
X = console.log, re = console.info, K = console.warn, se = console.error, ie = console.group, L = console.groupCollapsed, oe = console.groupEnd;
|
|
@@ -210,7 +210,7 @@ function vr() {
|
|
|
210
210
|
Y++;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Nn() {
|
|
214
214
|
{
|
|
215
215
|
if (Y--, Y === 0) {
|
|
216
216
|
var c = {
|
|
@@ -259,16 +259,16 @@ function vr() {
|
|
|
259
259
|
` + et + c;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
-
var tt = !1,
|
|
262
|
+
var tt = !1, Pe;
|
|
263
263
|
{
|
|
264
264
|
var An = typeof WeakMap == "function" ? WeakMap : Map;
|
|
265
|
-
|
|
265
|
+
Pe = new An();
|
|
266
266
|
}
|
|
267
267
|
function Rt(c, x) {
|
|
268
268
|
if (!c || tt)
|
|
269
269
|
return "";
|
|
270
270
|
{
|
|
271
|
-
var w =
|
|
271
|
+
var w = Pe.get(c);
|
|
272
272
|
if (w !== void 0)
|
|
273
273
|
return w;
|
|
274
274
|
}
|
|
@@ -277,30 +277,30 @@ function vr() {
|
|
|
277
277
|
var R = Error.prepareStackTrace;
|
|
278
278
|
Error.prepareStackTrace = void 0;
|
|
279
279
|
var H;
|
|
280
|
-
H = Ke.current, Ke.current = null,
|
|
280
|
+
H = Ke.current, Ke.current = null, Ne();
|
|
281
281
|
try {
|
|
282
282
|
if (x) {
|
|
283
|
-
var
|
|
283
|
+
var N = function() {
|
|
284
284
|
throw Error();
|
|
285
285
|
};
|
|
286
|
-
if (Object.defineProperty(
|
|
286
|
+
if (Object.defineProperty(N.prototype, "props", {
|
|
287
287
|
set: function() {
|
|
288
288
|
throw Error();
|
|
289
289
|
}
|
|
290
290
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
291
291
|
try {
|
|
292
|
-
Reflect.construct(
|
|
292
|
+
Reflect.construct(N, []);
|
|
293
293
|
} catch (ce) {
|
|
294
294
|
S = ce;
|
|
295
295
|
}
|
|
296
|
-
Reflect.construct(c, [],
|
|
296
|
+
Reflect.construct(c, [], N);
|
|
297
297
|
} else {
|
|
298
298
|
try {
|
|
299
|
-
|
|
299
|
+
N.call();
|
|
300
300
|
} catch (ce) {
|
|
301
301
|
S = ce;
|
|
302
302
|
}
|
|
303
|
-
c.call(
|
|
303
|
+
c.call(N.prototype);
|
|
304
304
|
}
|
|
305
305
|
} else {
|
|
306
306
|
try {
|
|
@@ -323,19 +323,19 @@ function vr() {
|
|
|
323
323
|
if (G--, J--, J < 0 || T[G] !== te[J]) {
|
|
324
324
|
var ae = `
|
|
325
325
|
` + T[G].replace(" at new ", " at ");
|
|
326
|
-
return c.displayName && ae.includes("<anonymous>") && (ae = ae.replace("<anonymous>", c.displayName)), typeof c == "function" &&
|
|
326
|
+
return c.displayName && ae.includes("<anonymous>") && (ae = ae.replace("<anonymous>", c.displayName)), typeof c == "function" && Pe.set(c, ae), ae;
|
|
327
327
|
}
|
|
328
328
|
while (G >= 1 && J >= 0);
|
|
329
329
|
break;
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
} finally {
|
|
333
|
-
tt = !1, Ke.current = H,
|
|
333
|
+
tt = !1, Ke.current = H, Nn(), Error.prepareStackTrace = R;
|
|
334
334
|
}
|
|
335
335
|
var ye = c ? c.displayName || c.name : "", Gt = ye ? Ae(ye) : "";
|
|
336
|
-
return typeof c == "function" &&
|
|
336
|
+
return typeof c == "function" && Pe.set(c, Gt), Gt;
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function Pn(c, x, w) {
|
|
339
339
|
return Rt(c, !1);
|
|
340
340
|
}
|
|
341
341
|
function Dn(c) {
|
|
@@ -358,7 +358,7 @@ function vr() {
|
|
|
358
358
|
if (typeof c == "object")
|
|
359
359
|
switch (c.$$typeof) {
|
|
360
360
|
case i:
|
|
361
|
-
return
|
|
361
|
+
return Pn(c.render);
|
|
362
362
|
case f:
|
|
363
363
|
return De(c.type, x, w);
|
|
364
364
|
case p: {
|
|
@@ -382,19 +382,19 @@ function vr() {
|
|
|
382
382
|
function Rn(c, x, w, S, R) {
|
|
383
383
|
{
|
|
384
384
|
var H = Function.call.bind(Re);
|
|
385
|
-
for (var
|
|
386
|
-
if (H(c,
|
|
385
|
+
for (var N in c)
|
|
386
|
+
if (H(c, N)) {
|
|
387
387
|
var T = void 0;
|
|
388
388
|
try {
|
|
389
|
-
if (typeof c[
|
|
390
|
-
var te = Error((S || "React class") + ": " + w + " type `" +
|
|
389
|
+
if (typeof c[N] != "function") {
|
|
390
|
+
var te = Error((S || "React class") + ": " + w + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
391
391
|
throw te.name = "Invariant Violation", te;
|
|
392
392
|
}
|
|
393
|
-
T = c[
|
|
393
|
+
T = c[N](x, N, S, w, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
394
394
|
} catch (G) {
|
|
395
395
|
T = G;
|
|
396
396
|
}
|
|
397
|
-
T && !(T instanceof Error) && (Fe(R), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", w,
|
|
397
|
+
T && !(T instanceof Error) && (Fe(R), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", w, N, typeof T), Fe(null)), T instanceof Error && !(T.message in Ft) && (Ft[T.message] = !0, Fe(R), _("Failed %s type: %s", w, T.message), Fe(null));
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
}
|
|
@@ -447,8 +447,8 @@ function vr() {
|
|
|
447
447
|
}
|
|
448
448
|
function Un(c, x) {
|
|
449
449
|
if (typeof c.ref == "string" && Ee.current && x && Ee.current.stateNode !== x) {
|
|
450
|
-
var w =
|
|
451
|
-
rt[w] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
450
|
+
var w = P(Ee.current.type);
|
|
451
|
+
rt[w] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(Ee.current.type), c.ref), rt[w] = !0);
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
function Wn(c, x) {
|
|
@@ -473,7 +473,7 @@ function vr() {
|
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
var zn = function(c, x, w, S, R, H,
|
|
476
|
+
var zn = function(c, x, w, S, R, H, N) {
|
|
477
477
|
var T = {
|
|
478
478
|
// This tag allows us to uniquely identify this as a React Element
|
|
479
479
|
$$typeof: t,
|
|
@@ -481,7 +481,7 @@ function vr() {
|
|
|
481
481
|
type: c,
|
|
482
482
|
key: x,
|
|
483
483
|
ref: w,
|
|
484
|
-
props:
|
|
484
|
+
props: N,
|
|
485
485
|
// Record the component responsible for creating this element.
|
|
486
486
|
_owner: H
|
|
487
487
|
};
|
|
@@ -504,20 +504,20 @@ function vr() {
|
|
|
504
504
|
};
|
|
505
505
|
function Vn(c, x, w, S, R) {
|
|
506
506
|
{
|
|
507
|
-
var H,
|
|
507
|
+
var H, N = {}, T = null, te = null;
|
|
508
508
|
w !== void 0 && (Lt(w), T = "" + w), Hn(x) && (Lt(x.key), T = "" + x.key), In(x) && (te = x.ref, Un(x, R));
|
|
509
509
|
for (H in x)
|
|
510
|
-
Re.call(x, H) && !Ln.hasOwnProperty(H) && (
|
|
510
|
+
Re.call(x, H) && !Ln.hasOwnProperty(H) && (N[H] = x[H]);
|
|
511
511
|
if (c && c.defaultProps) {
|
|
512
512
|
var G = c.defaultProps;
|
|
513
513
|
for (H in G)
|
|
514
|
-
|
|
514
|
+
N[H] === void 0 && (N[H] = G[H]);
|
|
515
515
|
}
|
|
516
516
|
if (T || te) {
|
|
517
517
|
var J = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
518
|
-
T && Wn(
|
|
518
|
+
T && Wn(N, J), te && Qn(N, J);
|
|
519
519
|
}
|
|
520
|
-
return zn(c, T, te, R, S, Ee.current,
|
|
520
|
+
return zn(c, T, te, R, S, Ee.current, N);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
var st = E.ReactCurrentOwner, Ut = E.ReactDebugCurrentFrame;
|
|
@@ -536,7 +536,7 @@ function vr() {
|
|
|
536
536
|
function Wt() {
|
|
537
537
|
{
|
|
538
538
|
if (st.current) {
|
|
539
|
-
var c =
|
|
539
|
+
var c = P(st.current.type);
|
|
540
540
|
if (c)
|
|
541
541
|
return `
|
|
542
542
|
|
|
@@ -579,7 +579,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
579
579
|
return;
|
|
580
580
|
Qt[w] = !0;
|
|
581
581
|
var S = "";
|
|
582
|
-
c && c._owner && c._owner !== st.current && (S = " It was passed a child from " +
|
|
582
|
+
c && c._owner && c._owner !== st.current && (S = " It was passed a child from " + P(c._owner.type) + "."), ve(c), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, S), ve(null);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
function Vt(c, x) {
|
|
@@ -596,8 +596,8 @@ Check the top-level render call using <` + w + ">.");
|
|
|
596
596
|
else if (c) {
|
|
597
597
|
var R = j(c);
|
|
598
598
|
if (typeof R == "function" && R !== c.entries)
|
|
599
|
-
for (var H = R.call(c),
|
|
600
|
-
at(
|
|
599
|
+
for (var H = R.call(c), N; !(N = H.next()).done; )
|
|
600
|
+
at(N.value) && zt(N.value, x);
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
603
|
}
|
|
@@ -616,11 +616,11 @@ Check the top-level render call using <` + w + ">.");
|
|
|
616
616
|
else
|
|
617
617
|
return;
|
|
618
618
|
if (w) {
|
|
619
|
-
var S =
|
|
619
|
+
var S = P(x);
|
|
620
620
|
Rn(w, c.props, "prop", S, c);
|
|
621
621
|
} else if (x.PropTypes !== void 0 && !ot) {
|
|
622
622
|
ot = !0;
|
|
623
|
-
var R =
|
|
623
|
+
var R = P(x);
|
|
624
624
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
|
|
625
625
|
}
|
|
626
626
|
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -640,19 +640,19 @@ Check the top-level render call using <` + w + ">.");
|
|
|
640
640
|
}
|
|
641
641
|
function Yt(c, x, w, S, R, H) {
|
|
642
642
|
{
|
|
643
|
-
var
|
|
644
|
-
if (!
|
|
643
|
+
var N = z(c);
|
|
644
|
+
if (!N) {
|
|
645
645
|
var T = "";
|
|
646
646
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
647
647
|
var te = Yn(R);
|
|
648
648
|
te ? T += te : T += Wt();
|
|
649
649
|
var G;
|
|
650
|
-
c === null ? G = "null" : nt(c) ? G = "array" : c !== void 0 && c.$$typeof === t ? (G = "<" + (
|
|
650
|
+
c === null ? G = "null" : nt(c) ? G = "array" : c !== void 0 && c.$$typeof === t ? (G = "<" + (P(c.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : G = typeof c, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, T);
|
|
651
651
|
}
|
|
652
652
|
var J = Vn(c, x, w, R, H);
|
|
653
653
|
if (J == null)
|
|
654
654
|
return J;
|
|
655
|
-
if (
|
|
655
|
+
if (N) {
|
|
656
656
|
var ae = x.children;
|
|
657
657
|
if (ae !== void 0)
|
|
658
658
|
if (S)
|
|
@@ -803,7 +803,7 @@ const Je = (e = !0, t = !1) => {
|
|
|
803
803
|
i();
|
|
804
804
|
}, 250);
|
|
805
805
|
return o;
|
|
806
|
-
},
|
|
806
|
+
}, Xs = (e = [], t = !0) => {
|
|
807
807
|
e = Array.isArray(e) ? e : [e];
|
|
808
808
|
const n = Z(!1);
|
|
809
809
|
ke(() => {
|
|
@@ -855,7 +855,7 @@ const Je = (e = !0, t = !1) => {
|
|
|
855
855
|
return { path: "days", number: a };
|
|
856
856
|
const i = Math.floor(a / 7);
|
|
857
857
|
return i <= 52 ? { path: "weeks", number: i } : { path: "years", number: Math.floor(a / 365) };
|
|
858
|
-
}, $r = (e) => new Promise((t) => setTimeout(t, e)),
|
|
858
|
+
}, $r = (e) => new Promise((t) => setTimeout(t, e)), Nt = {
|
|
859
859
|
apolitical: "Apolitical",
|
|
860
860
|
breadcrumbs_label: "Go back to:",
|
|
861
861
|
breadcrumbs_currentPage: "Current page:",
|
|
@@ -1147,15 +1147,15 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1147
1147
|
languageSwitcher_translation_human: "traduzido por um humano",
|
|
1148
1148
|
languageSwitcher_translation_machine: "traduzido por máquina",
|
|
1149
1149
|
languageSwitcher_disclaimer: "Este conteúdo foi traduzido automaticamente e, ocasionalmente, poderão ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos tentando resolver isso, porém se perceber algo errado por favor nos avise em <link>{email}</link>"
|
|
1150
|
-
},
|
|
1150
|
+
}, Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1151
1151
|
__proto__: null,
|
|
1152
|
-
en:
|
|
1152
|
+
en: Nt,
|
|
1153
1153
|
es: Tr,
|
|
1154
1154
|
fr: Mr,
|
|
1155
1155
|
pt: Cr
|
|
1156
1156
|
}, Symbol.toStringTag, { value: "Module" })), le = (e, t, n, s, o = {}) => {
|
|
1157
1157
|
let l = "";
|
|
1158
|
-
return `${t}_${n}` in
|
|
1158
|
+
return `${t}_${n}` in Nt ? l = e({ id: `${t}_${n}` }, o) : l = e({ id: t }, { [s]: n, ...o }), l;
|
|
1159
1159
|
}, Ar = (e, t, n) => {
|
|
1160
1160
|
if (!e || e === 0)
|
|
1161
1161
|
return "0";
|
|
@@ -1172,7 +1172,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1172
1172
|
return s;
|
|
1173
1173
|
}, pn = (e, t) => C.Children.map(e, (n) => C.cloneElement(n, {
|
|
1174
1174
|
...t
|
|
1175
|
-
})),
|
|
1175
|
+
})), Pr = (e) => e.replace(/\s+/g, "").length > 0, q = ({
|
|
1176
1176
|
variant: e = "primary",
|
|
1177
1177
|
size: t = "medium",
|
|
1178
1178
|
styling: n = { muted: !1, fullWidth: !1 },
|
|
@@ -1429,7 +1429,7 @@ const Or = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
|
|
|
1429
1429
|
}, [e]), /* @__PURE__ */ r.jsx("aside", { ref: o, className: k("tooltip text-medium", l, { loading: t }), hidden: l === "hidden", children: t ? /* @__PURE__ */ r.jsx("p", { children: s.formatMessage({ id: "tooltip_loading" }) }) : typeof n == "string" ? /* @__PURE__ */ r.jsx("p", { children: n }) : n });
|
|
1430
1430
|
};
|
|
1431
1431
|
const hn = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ r.jsx("section", { className: k("full-width-section", t), ...n, children: e });
|
|
1432
|
-
const
|
|
1432
|
+
const Zs = ({ text: e, buttons: t, className: n = "" }) => {
|
|
1433
1433
|
const s = [];
|
|
1434
1434
|
return t.forEach((o) => {
|
|
1435
1435
|
s.push({
|
|
@@ -1447,7 +1447,7 @@ const Xs = ({ text: e, buttons: t, className: n = "" }) => {
|
|
|
1447
1447
|
/* @__PURE__ */ r.jsx(qe, { buttons: s })
|
|
1448
1448
|
] }) });
|
|
1449
1449
|
};
|
|
1450
|
-
const
|
|
1450
|
+
const Ks = ({ title: e = !1, logos: t = [], className: n = "" }) => {
|
|
1451
1451
|
const s = t.length;
|
|
1452
1452
|
if (s === 0)
|
|
1453
1453
|
return null;
|
|
@@ -1556,8 +1556,8 @@ const Br = [
|
|
|
1556
1556
|
] }),
|
|
1557
1557
|
t && /* @__PURE__ */ r.jsx(Fr, { image: { ...t, aspect: "banner" } })
|
|
1558
1558
|
] }) });
|
|
1559
|
-
},
|
|
1560
|
-
const
|
|
1559
|
+
}, eo = je(Lr);
|
|
1560
|
+
const to = ({
|
|
1561
1561
|
variant: e = "primary",
|
|
1562
1562
|
button: t = null,
|
|
1563
1563
|
title: n,
|
|
@@ -1574,7 +1574,7 @@ const eo = ({
|
|
|
1574
1574
|
default: "dpo@apolitical.co",
|
|
1575
1575
|
eu: "dpo.agl@apolitical.foundation"
|
|
1576
1576
|
}
|
|
1577
|
-
},
|
|
1577
|
+
}, no = "200,000+";
|
|
1578
1578
|
const gn = ({ label: e = !1, className: t = "", children: n }) => {
|
|
1579
1579
|
const s = A();
|
|
1580
1580
|
return /* @__PURE__ */ r.jsxs("details", { className: k("collapsible-section", t), children: [
|
|
@@ -1620,7 +1620,7 @@ const Ir = ({ type: e = "default", className: t = "", heading: n = !1, children:
|
|
|
1620
1620
|
}
|
|
1621
1621
|
) : /* @__PURE__ */ r.jsx("p", { children: s })
|
|
1622
1622
|
] });
|
|
1623
|
-
const
|
|
1623
|
+
const ro = ({ className: e = "", show: t = !1, hide: n = !1, text: s, children: o }) => {
|
|
1624
1624
|
const l = A(), m = Z(null), [a, i] = F(""), [u, d] = F("closed");
|
|
1625
1625
|
W(() => {
|
|
1626
1626
|
const g = m.current;
|
|
@@ -1788,7 +1788,7 @@ const ct = "loadingBlock_", Zr = ({ progress: e = 0, steps: t = !1, className: n
|
|
|
1788
1788
|
]
|
|
1789
1789
|
}
|
|
1790
1790
|
);
|
|
1791
|
-
},
|
|
1791
|
+
}, so = je(Zr);
|
|
1792
1792
|
const me = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ r.jsx(un, { element: e, className: k("loading-placeholder", t), ...n });
|
|
1793
1793
|
const $t = {
|
|
1794
1794
|
header: ["logo", "link", "link", "search"],
|
|
@@ -1857,7 +1857,7 @@ const tn = 256, At = ({ className: e = "", src: t = "", name: n, alt: s, width:
|
|
|
1857
1857
|
let i = `${a}${(o || l) && m ? `, ${n}` : n}`;
|
|
1858
1858
|
return i.length > s && (i = a), i.length > s && (i = Mt(i, s)), i;
|
|
1859
1859
|
};
|
|
1860
|
-
const
|
|
1860
|
+
const Pt = ({
|
|
1861
1861
|
element: e = "div",
|
|
1862
1862
|
member: t = "community",
|
|
1863
1863
|
additionalContent: n = !1,
|
|
@@ -1945,32 +1945,32 @@ function os(e) {
|
|
|
1945
1945
|
}, [n, s]);
|
|
1946
1946
|
return C.createElement(ss.Provider, { value: { client: l } }, t);
|
|
1947
1947
|
}
|
|
1948
|
-
const
|
|
1948
|
+
const as = ({ children: e, user: t }) => /* @__PURE__ */ r.jsx(
|
|
1949
1949
|
os,
|
|
1950
1950
|
{
|
|
1951
1951
|
apiKey: process.env.REACT_APP_PUBLIC_POSTHOG_KEY,
|
|
1952
1952
|
options: {
|
|
1953
|
-
api_host:
|
|
1953
|
+
api_host: "https://eu.posthog.com",
|
|
1954
1954
|
autocapture: !1,
|
|
1955
1955
|
secure_cookie: !0,
|
|
1956
1956
|
bootstrap: {
|
|
1957
|
-
distinctID:
|
|
1958
|
-
|
|
1957
|
+
...(t == null ? void 0 : t.id) && { distinctID: t == null ? void 0 : t.id },
|
|
1958
|
+
...(t == null ? void 0 : t.id) && { isIdentifiedID: !0 }
|
|
1959
1959
|
}
|
|
1960
1960
|
},
|
|
1961
1961
|
children: e
|
|
1962
1962
|
}
|
|
1963
|
-
),
|
|
1963
|
+
), is = ({ children: e, locale: t, messages: n }) => {
|
|
1964
1964
|
const s = t || "en", o = {
|
|
1965
|
-
...
|
|
1965
|
+
...Nr[s],
|
|
1966
1966
|
...n || {}
|
|
1967
1967
|
};
|
|
1968
1968
|
return /* @__PURE__ */ r.jsx(or, { locale: s, messages: o, children: e });
|
|
1969
|
-
}, _e = Tt(null),
|
|
1969
|
+
}, _e = Tt(null), ls = ({ children: e, user: t }) => /* @__PURE__ */ r.jsx(_e.Provider, { value: t, children: e }), oo = ({ bootstrap: e, children: t, intl: n }) => {
|
|
1970
1970
|
const [s, o] = F({ isLoading: !0 });
|
|
1971
1971
|
return W(() => {
|
|
1972
1972
|
e().then((l) => o({ ...l, isLoading: !1 })).catch(() => o({ isLoading: !1 }));
|
|
1973
|
-
}, []), /* @__PURE__ */ r.jsx(
|
|
1973
|
+
}, []), /* @__PURE__ */ r.jsx(is, { locale: n == null ? void 0 : n.locale, messages: n == null ? void 0 : n.messages, children: /* @__PURE__ */ r.jsx(ls, { user: s, children: /* @__PURE__ */ r.jsx(rs, { children: /* @__PURE__ */ r.jsx(as, { user: s, children: t }) }) }) });
|
|
1974
1974
|
};
|
|
1975
1975
|
const ut = "joinCommunityButton", yn = ({ isMember: e = !1, isShort: t = !1, functions: { join: n, leave: s } = { join: () => {
|
|
1976
1976
|
}, leave: () => {
|
|
@@ -2056,7 +2056,7 @@ const lo = ({
|
|
|
2056
2056
|
}
|
|
2057
2057
|
) }, d);
|
|
2058
2058
|
}) });
|
|
2059
|
-
},
|
|
2059
|
+
}, cs = (e, t) => {
|
|
2060
2060
|
const n = String(e);
|
|
2061
2061
|
if (!t || !t.length)
|
|
2062
2062
|
return `/${n}`;
|
|
@@ -2092,7 +2092,7 @@ const mt = { en: "English", es: "Español", fr: "Français", pt: "Português" },
|
|
|
2092
2092
|
let j = { className: v };
|
|
2093
2093
|
return d === v ? j["aria-label"] = u.formatMessage({ id: `${Be}selected` }, { language: mt[v] }) : j = {
|
|
2094
2094
|
...j,
|
|
2095
|
-
href:
|
|
2095
|
+
href: cs(v, l),
|
|
2096
2096
|
onClick: (E) => {
|
|
2097
2097
|
E.preventDefault(), E.stopPropagation(), f(v), o(v);
|
|
2098
2098
|
}
|
|
@@ -2114,7 +2114,7 @@ const mt = { en: "English", es: "Español", fr: "Français", pt: "Português" },
|
|
|
2114
2114
|
})
|
|
2115
2115
|
] });
|
|
2116
2116
|
};
|
|
2117
|
-
const ft = ar({ locale: "en", messages:
|
|
2117
|
+
const ft = ar({ locale: "en", messages: Nt }), us = ({
|
|
2118
2118
|
page: e = 1,
|
|
2119
2119
|
length: t = 0,
|
|
2120
2120
|
limit: n = 10,
|
|
@@ -2157,7 +2157,7 @@ const ft = ar({ locale: "en", messages: Pt }), cs = ({
|
|
|
2157
2157
|
] });
|
|
2158
2158
|
};
|
|
2159
2159
|
let Le = !1;
|
|
2160
|
-
const
|
|
2160
|
+
const ds = ({ element: e = "div", id: t = "more-menu", options: n, className: s = "" }) => {
|
|
2161
2161
|
const o = A(), l = Z(null), [m, a] = F(!1), i = (u) => {
|
|
2162
2162
|
l.current && u.target instanceof HTMLElement && !l.current.contains(u.target) && a(!1);
|
|
2163
2163
|
};
|
|
@@ -2210,14 +2210,14 @@ const us = ({ element: e = "div", id: t = "more-menu", options: n, className: s
|
|
|
2210
2210
|
});
|
|
2211
2211
|
};
|
|
2212
2212
|
const wn = ({ variant: e = "default", version: t = "default", className: n = "", ...s }) => /* @__PURE__ */ r.jsx("p", { className: "logo-wrapper", children: /* @__PURE__ */ r.jsx("a", { href: "/home/", className: k("logo", e, t, n), ...s, children: /* @__PURE__ */ r.jsx(ee, { children: /* @__PURE__ */ r.jsx(fe, { id: "apolitical" }) }) }) });
|
|
2213
|
-
const
|
|
2213
|
+
const ms = {
|
|
2214
2214
|
"2-1": 901
|
|
2215
2215
|
}, uo = ({ layout: e = "2-1", hideOnMobile: t = !1, className: n = "", children: s }) => {
|
|
2216
2216
|
const o = Je(!0);
|
|
2217
2217
|
let l = s;
|
|
2218
|
-
return C.Children.count(s) === 1 && (l = C.Children.toArray(s)[0], l.props && (l = l.props.children)), /* @__PURE__ */ r.jsx("section", { className: k("columns", `layout-${e}`, n), children: C.Children.map(l, (m, a) => t !== !1 && a === t && o && o <
|
|
2218
|
+
return C.Children.count(s) === 1 && (l = C.Children.toArray(s)[0], l.props && (l = l.props.children)), /* @__PURE__ */ r.jsx("section", { className: k("columns", `layout-${e}`, n), children: C.Children.map(l, (m, a) => t !== !1 && a === t && o && o < ms[e] ? null : m) });
|
|
2219
2219
|
};
|
|
2220
|
-
const pt = "cookieBanner_", ht = ["apol-cookie-banner", "apolitical-performance-cookie-consent", "functional-cookie-consent"], gt = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3),
|
|
2220
|
+
const pt = "cookieBanner_", ht = ["apol-cookie-banner", "apolitical-performance-cookie-consent", "functional-cookie-consent"], gt = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), fs = () => {
|
|
2221
2221
|
const e = A(), [t, n, s] = ur(ht), [o, l] = F(!t["apol-cookie-banner"]), m = () => {
|
|
2222
2222
|
ht.forEach((d) => {
|
|
2223
2223
|
n(d, !0, {
|
|
@@ -2553,11 +2553,11 @@ const Ie = "emailHelperTextBox_", mo = ({ type: e, email: t, redirectPath: n, re
|
|
|
2553
2553
|
)
|
|
2554
2554
|
) });
|
|
2555
2555
|
};
|
|
2556
|
-
const He = "passwordRules_", jn = "isMoreThanEightCharacters", En = "includesNumberAndSymbol", Sn = "includesLowerAndUppercase",
|
|
2556
|
+
const He = "passwordRules_", jn = "isMoreThanEightCharacters", En = "includesNumberAndSymbol", Sn = "includesLowerAndUppercase", ps = {
|
|
2557
2557
|
[jn]: "8Characters",
|
|
2558
2558
|
[En]: "numberSymbol",
|
|
2559
2559
|
[Sn]: "lowercaseUppercase"
|
|
2560
|
-
},
|
|
2560
|
+
}, hs = ({ matchingRules: e = { isMoreThanEightCharacters: !1, includesNumberAndSymbol: !1, includesLowerAndUppercase: !1 }, className: t = "" }) => {
|
|
2561
2561
|
const n = A();
|
|
2562
2562
|
return /* @__PURE__ */ r.jsxs("aside", { className: k("password-rules", t), children: [
|
|
2563
2563
|
/* @__PURE__ */ r.jsx("small", { children: n.formatMessage({ id: `${He}intro` }) }),
|
|
@@ -2566,7 +2566,7 @@ const He = "passwordRules_", jn = "isMoreThanEightCharacters", En = "includesNum
|
|
|
2566
2566
|
n.formatMessage({ id: `${He}rule_label` }),
|
|
2567
2567
|
" "
|
|
2568
2568
|
] }),
|
|
2569
|
-
/* @__PURE__ */ r.jsx("span", { children: n.formatMessage({ id: `${He}rule_${
|
|
2569
|
+
/* @__PURE__ */ r.jsx("span", { children: n.formatMessage({ id: `${He}rule_${ps[s]}` }) }),
|
|
2570
2570
|
!e[s] && /* @__PURE__ */ r.jsxs(ee, { element: "strong", children: [
|
|
2571
2571
|
" ",
|
|
2572
2572
|
" ",
|
|
@@ -2574,7 +2574,7 @@ const He = "passwordRules_", jn = "isMoreThanEightCharacters", En = "includesNum
|
|
|
2574
2574
|
] })
|
|
2575
2575
|
] }, `rule-${s}`)) })
|
|
2576
2576
|
] });
|
|
2577
|
-
}, fo = je(
|
|
2577
|
+
}, fo = je(hs);
|
|
2578
2578
|
const po = ({
|
|
2579
2579
|
text: e = {},
|
|
2580
2580
|
topRating: t = 5,
|
|
@@ -2635,7 +2635,7 @@ const po = ({
|
|
|
2635
2635
|
}) })
|
|
2636
2636
|
] });
|
|
2637
2637
|
};
|
|
2638
|
-
const
|
|
2638
|
+
const gs = ({
|
|
2639
2639
|
id: e = "search",
|
|
2640
2640
|
className: t = "",
|
|
2641
2641
|
handleToggle: n = !1,
|
|
@@ -2944,7 +2944,7 @@ const hs = ({
|
|
|
2944
2944
|
}) })
|
|
2945
2945
|
] }, e);
|
|
2946
2946
|
};
|
|
2947
|
-
const
|
|
2947
|
+
const _s = { height: 67, height_desktop: 83 }, $n = () => {
|
|
2948
2948
|
const e = A(), t = ge(_e), n = Je(!0, !0), s = t && typeof t.id == "string", o = Ye(
|
|
2949
2949
|
() => I.getIsDesktopVersion(s, n),
|
|
2950
2950
|
[s, n]
|
|
@@ -2957,7 +2957,7 @@ const gs = { height: 67, height_desktop: 83 }, $n = () => {
|
|
|
2957
2957
|
}
|
|
2958
2958
|
}), { headerIsVisible: a, menus: i, focusElements: u } = l;
|
|
2959
2959
|
kr({
|
|
2960
|
-
scrollPosition:
|
|
2960
|
+
scrollPosition: _s[`height${o.navigation ? "_desktop" : ""}`],
|
|
2961
2961
|
callbacks: {
|
|
2962
2962
|
scrollUp: () => {
|
|
2963
2963
|
!o && i.navigation || I.shouldChangeHeaderIsVisible(!0, i, m);
|
|
@@ -3040,7 +3040,7 @@ const gs = { height: 67, height_desktop: 83 }, $n = () => {
|
|
|
3040
3040
|
}
|
|
3041
3041
|
),
|
|
3042
3042
|
/* @__PURE__ */ r.jsx(
|
|
3043
|
-
|
|
3043
|
+
gs,
|
|
3044
3044
|
{
|
|
3045
3045
|
id: "global-search",
|
|
3046
3046
|
handleToggle: { searchIsOpen: i.search, isDesktopVersion: o.search },
|
|
@@ -3074,7 +3074,7 @@ const gs = { height: 67, height_desktop: 83 }, $n = () => {
|
|
|
3074
3074
|
)
|
|
3075
3075
|
] });
|
|
3076
3076
|
};
|
|
3077
|
-
const
|
|
3077
|
+
const xs = () => {
|
|
3078
3078
|
const e = A();
|
|
3079
3079
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
3080
3080
|
/* @__PURE__ */ r.jsx($n, {}),
|
|
@@ -3087,11 +3087,11 @@ const _s = () => {
|
|
|
3087
3087
|
window.scrollTo(0, 0);
|
|
3088
3088
|
}, [m]);
|
|
3089
3089
|
const a = pn(e, { locale: l });
|
|
3090
|
-
return /* @__PURE__ */ r.jsx(mr, { onError: t, fallback: /* @__PURE__ */ r.jsx(
|
|
3090
|
+
return /* @__PURE__ */ r.jsx(mr, { onError: t, fallback: /* @__PURE__ */ r.jsx(xs, {}), children: /* @__PURE__ */ r.jsx(nr, { fallback: /* @__PURE__ */ r.jsx(Kr, { layout: "overview-page" }), children: /* @__PURE__ */ r.jsx("div", { id: "wrapper", className: k(o, { [s]: s !== "default" }), children: /* @__PURE__ */ r.jsxs(dr, { children: [
|
|
3091
3091
|
/* @__PURE__ */ r.jsx($n, {}),
|
|
3092
3092
|
/* @__PURE__ */ r.jsx("div", { className: "content", children: a }),
|
|
3093
3093
|
n && /* @__PURE__ */ r.jsx(kn, {}),
|
|
3094
|
-
/* @__PURE__ */ r.jsx(
|
|
3094
|
+
/* @__PURE__ */ r.jsx(fs, {})
|
|
3095
3095
|
] }) }) }) });
|
|
3096
3096
|
}, sn = {
|
|
3097
3097
|
default: "tags_",
|
|
@@ -3112,7 +3112,7 @@ const _s = () => {
|
|
|
3112
3112
|
WorkAndTheEconomy: "work-and-the-economy"
|
|
3113
3113
|
},
|
|
3114
3114
|
"from the community": "community"
|
|
3115
|
-
},
|
|
3115
|
+
}, bs = {
|
|
3116
3116
|
getTagDetails: (e) => {
|
|
3117
3117
|
if (e.includes("topic_")) {
|
|
3118
3118
|
if (e = _t.topic[e.replace("topic_", "")], e) {
|
|
@@ -3140,7 +3140,7 @@ const go = ({
|
|
|
3140
3140
|
return e.forEach((u) => {
|
|
3141
3141
|
if (!u)
|
|
3142
3142
|
return;
|
|
3143
|
-
const d =
|
|
3143
|
+
const d = bs.getTagDetails(u);
|
|
3144
3144
|
d && i.push(d);
|
|
3145
3145
|
}), i.length < 1 ? null : /* @__PURE__ */ r.jsx("ul", { className: k("tags text-small", t, o, { "one-line": n }), children: i.map((u) => {
|
|
3146
3146
|
const d = a.formatMessage({ id: u.text });
|
|
@@ -3170,11 +3170,11 @@ const _o = ({
|
|
|
3170
3170
|
/* @__PURE__ */ r.jsx("span", { className: "count", children: e })
|
|
3171
3171
|
] }),
|
|
3172
3172
|
/* @__PURE__ */ r.jsx("ul", { children: t.map((a, i) => /* @__PURE__ */ r.jsxs("li", { children: [
|
|
3173
|
-
/* @__PURE__ */ r.jsx(
|
|
3173
|
+
/* @__PURE__ */ r.jsx(Pt, { member: a, gtmContext: s, gtmType: o }),
|
|
3174
3174
|
a.isAdmin && /* @__PURE__ */ r.jsx(Jr, { children: m.formatMessage({ id: "membersList_admin" }) })
|
|
3175
3175
|
] }, i)) }),
|
|
3176
3176
|
n && /* @__PURE__ */ r.jsx(
|
|
3177
|
-
|
|
3177
|
+
us,
|
|
3178
3178
|
{
|
|
3179
3179
|
...n,
|
|
3180
3180
|
icon: { icon: "arrow-down", position: "right" },
|
|
@@ -3222,8 +3222,8 @@ const ne = "discussion_form_", Tn = ({
|
|
|
3222
3222
|
const _ = (O) => {
|
|
3223
3223
|
const V = O.target.value;
|
|
3224
3224
|
p(V);
|
|
3225
|
-
let
|
|
3226
|
-
!d || !d.id ?
|
|
3225
|
+
let P;
|
|
3226
|
+
!d || !d.id ? P = le(u.formatMessage, `${ne}error_loggedOut`, e.type, "action") : t ? V.length >= o && (P = `${ne}error_tooLong`) : P = le(u.formatMessage, `${ne}error_noPermission`, e.type, "action"), P ? h(P) : g && h(!1);
|
|
3227
3227
|
};
|
|
3228
3228
|
let $ = `${e.type}-form`;
|
|
3229
3229
|
if (e.type === "response" || e.type === "reply") {
|
|
@@ -3231,7 +3231,7 @@ const ne = "discussion_form_", Tn = ({
|
|
|
3231
3231
|
O && ($ = `${$}-${O.slice(-15)}`);
|
|
3232
3232
|
}
|
|
3233
3233
|
const B = async (O) => {
|
|
3234
|
-
var
|
|
3234
|
+
var P;
|
|
3235
3235
|
if (O.preventDefault(), O.stopPropagation(), !d || !d.id || !t || U)
|
|
3236
3236
|
return;
|
|
3237
3237
|
Ue && clearTimeout(Ue), j("submitting");
|
|
@@ -3243,7 +3243,7 @@ const ne = "discussion_form_", Tn = ({
|
|
|
3243
3243
|
D = await a.create({ content: f });
|
|
3244
3244
|
break;
|
|
3245
3245
|
case "question":
|
|
3246
|
-
D = await a.create({ title: f, authorId: d && d.id, ...(
|
|
3246
|
+
D = await a.create({ title: f, authorId: d && d.id, ...(P = a.props) == null ? void 0 : P.create });
|
|
3247
3247
|
break;
|
|
3248
3248
|
case "response":
|
|
3249
3249
|
D = await a.create(
|
|
@@ -3272,7 +3272,7 @@ const ne = "discussion_form_", Tn = ({
|
|
|
3272
3272
|
Ue = setTimeout(() => {
|
|
3273
3273
|
h(!1), j(!1);
|
|
3274
3274
|
}, 5e3);
|
|
3275
|
-
}, U = !f || !
|
|
3275
|
+
}, U = !f || !Pr(f), Q = v === "submitting", b = [];
|
|
3276
3276
|
return (n.isEditing && !Q || m.cancel) && b.push({
|
|
3277
3277
|
variant: "secondary",
|
|
3278
3278
|
size: { mobile: "small", 600: "medium" },
|
|
@@ -3306,7 +3306,7 @@ const ne = "discussion_form_", Tn = ({
|
|
|
3306
3306
|
"data-testid": `discussion-${e.type}-form`,
|
|
3307
3307
|
children: [
|
|
3308
3308
|
(n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(e.type) && /* @__PURE__ */ r.jsx("h2", { children: le(u.formatMessage, `${ne}title`, e.type, "action") }),
|
|
3309
|
-
/* @__PURE__ */ r.jsx(
|
|
3309
|
+
/* @__PURE__ */ r.jsx(Pt, { member: d || "community", gtmContext: i, gtmType: "profile-click" }),
|
|
3310
3310
|
/* @__PURE__ */ r.jsx(ee, { element: "label", showOnFocus: !1, htmlFor: `${$}-input`, children: le(u.formatMessage, `${ne}label`, e.type, "action") }),
|
|
3311
3311
|
/* @__PURE__ */ r.jsx(
|
|
3312
3312
|
fr,
|
|
@@ -3363,16 +3363,16 @@ const ne = "discussion_form_", Tn = ({
|
|
|
3363
3363
|
create: t
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
|
-
),
|
|
3366
|
+
), vs = {
|
|
3367
3367
|
showThread: !1,
|
|
3368
3368
|
showForm: !1
|
|
3369
|
-
}, Cn = Tt(
|
|
3369
|
+
}, Cn = Tt(vs), xo = ({ children: e }) => {
|
|
3370
3370
|
const [t, n] = F({
|
|
3371
3371
|
showThread: !1,
|
|
3372
3372
|
showForm: !1
|
|
3373
3373
|
});
|
|
3374
3374
|
return /* @__PURE__ */ r.jsx(Cn.Provider, { value: { ...t, updateConversation: n }, children: e });
|
|
3375
|
-
},
|
|
3375
|
+
}, ys = ({
|
|
3376
3376
|
question: e,
|
|
3377
3377
|
answer: t,
|
|
3378
3378
|
reply: n
|
|
@@ -3380,11 +3380,11 @@ const ne = "discussion_form_", Tn = ({
|
|
|
3380
3380
|
...e && { questionSlug: e },
|
|
3381
3381
|
...t && { answerSlug: t },
|
|
3382
3382
|
...n && { replySlug: n }
|
|
3383
|
-
}),
|
|
3383
|
+
}), ws = (e, t = 10) => !e || e.length === 0 ? [] : e.slice(0, t);
|
|
3384
3384
|
let Ce = !1;
|
|
3385
3385
|
const xt = () => {
|
|
3386
3386
|
Ce !== !1 && (clearTimeout(Ce), Ce = !1);
|
|
3387
|
-
}, bt = 10,
|
|
3387
|
+
}, bt = 10, ks = ({
|
|
3388
3388
|
element: e = "div",
|
|
3389
3389
|
likes: t = 0,
|
|
3390
3390
|
peopleWhoLiked: n = !1,
|
|
@@ -3400,7 +3400,7 @@ const xt = () => {
|
|
|
3400
3400
|
W(() => {
|
|
3401
3401
|
g(o);
|
|
3402
3402
|
}, [o]);
|
|
3403
|
-
const [d, f] = F(t), [p, g] = F(o), [h, v] = F(!1), [j, E] = F(!1), _ = Ye(() =>
|
|
3403
|
+
const [d, f] = F(t), [p, g] = F(o), [h, v] = F(!1), [j, E] = F(!1), _ = Ye(() => ws(n, bt), [n]), $ = (y) => {
|
|
3404
3404
|
if (y.preventDefault(), y.stopPropagation(), E(!1), Ce)
|
|
3405
3405
|
return xt(), !1;
|
|
3406
3406
|
if (xt(), h || !m)
|
|
@@ -3413,7 +3413,7 @@ const xt = () => {
|
|
|
3413
3413
|
y < 0 && (y = 0), v(!0), f(y), g(!p);
|
|
3414
3414
|
try {
|
|
3415
3415
|
if (l && l.slugs) {
|
|
3416
|
-
const U =
|
|
3416
|
+
const U = ys(l.slugs);
|
|
3417
3417
|
p ? await i(U) : await a(U, { contentPath: window.location.pathname });
|
|
3418
3418
|
}
|
|
3419
3419
|
} catch {
|
|
@@ -3467,7 +3467,7 @@ const xt = () => {
|
|
|
3467
3467
|
}
|
|
3468
3468
|
);
|
|
3469
3469
|
};
|
|
3470
|
-
const
|
|
3470
|
+
const js = ({ element: e = "section", children: t, className: n, ...s }) => C.createElement(
|
|
3471
3471
|
e,
|
|
3472
3472
|
{
|
|
3473
3473
|
className: k("modal", n),
|
|
@@ -3475,7 +3475,7 @@ const ks = ({ element: e = "section", children: t, className: n, ...s }) => C.cr
|
|
|
3475
3475
|
...s
|
|
3476
3476
|
}
|
|
3477
3477
|
);
|
|
3478
|
-
const
|
|
3478
|
+
const Es = ({
|
|
3479
3479
|
id: e = "content-overlay",
|
|
3480
3480
|
isOpen: t = !1,
|
|
3481
3481
|
maxWidth: n,
|
|
@@ -3497,7 +3497,7 @@ const js = ({
|
|
|
3497
3497
|
}, [t]);
|
|
3498
3498
|
const v = n ? { "--max-width": `${n / 16}rem` } : {};
|
|
3499
3499
|
return /* @__PURE__ */ r.jsx("div", { className: k("overlay", { open: p }), children: /* @__PURE__ */ r.jsx(
|
|
3500
|
-
|
|
3500
|
+
js,
|
|
3501
3501
|
{
|
|
3502
3502
|
id: e,
|
|
3503
3503
|
className: k("overlay-modal", u, { "has-max-width": n }),
|
|
@@ -3530,7 +3530,7 @@ const js = ({
|
|
|
3530
3530
|
] })
|
|
3531
3531
|
}
|
|
3532
3532
|
) });
|
|
3533
|
-
},
|
|
3533
|
+
}, Ss = (e, t) => ({
|
|
3534
3534
|
"aria-haspopup": !0,
|
|
3535
3535
|
"aria-expanded": t,
|
|
3536
3536
|
"aria-controls": e
|
|
@@ -3575,7 +3575,7 @@ const ue = "discussion_", Dt = ({
|
|
|
3575
3575
|
});
|
|
3576
3576
|
}, [t.isEdited]), s || !t || t.type === "answer" && (!t.slugs || !t.slugs.question))
|
|
3577
3577
|
return /* @__PURE__ */ r.jsx(me, { className: "discussion-card discussion-post" });
|
|
3578
|
-
const { author: b, canLike: M, createdAt: z, id: O, likes: V = 0, userLiked:
|
|
3578
|
+
const { author: b, canLike: M, createdAt: z, id: O, likes: V = 0, userLiked: P, comments: D = 0 } = t, Y = j && j.id && typeof b != "string" && b.id && b.id === j.id || !1, X = typeof M == "boolean" ? M : n ? !Y : !1, re = async (L) => {
|
|
3579
3579
|
L || (L = ""), Q("");
|
|
3580
3580
|
try {
|
|
3581
3581
|
if (!pr(L, _.body)) {
|
|
@@ -3588,8 +3588,8 @@ const ue = "discussion_", Dt = ({
|
|
|
3588
3588
|
}
|
|
3589
3589
|
}, K = () => {
|
|
3590
3590
|
E && E.updateConversation && E.updateConversation({ showThread: !0, showForm: !0 }), setTimeout(() => {
|
|
3591
|
-
const oe = `reply-form-${(t.type === "answer" ? t.slug : t.slugs.answer || "").toLowerCase().slice(-15)}`, xe = document.getElementById(oe),
|
|
3592
|
-
|
|
3591
|
+
const oe = `reply-form-${(t.type === "answer" ? t.slug : t.slugs.answer || "").toLowerCase().slice(-15)}`, xe = document.getElementById(oe), Ne = document.getElementById(`${oe}-input`);
|
|
3592
|
+
Ne && Ne.focus(), xe && xe.scrollIntoView({ behavior: "smooth" });
|
|
3593
3593
|
}, 0);
|
|
3594
3594
|
}, se = () => {
|
|
3595
3595
|
try {
|
|
@@ -3629,7 +3629,7 @@ const ue = "discussion_", Dt = ({
|
|
|
3629
3629
|
className: "gtm-trackable",
|
|
3630
3630
|
"data-gtm-event-context": g,
|
|
3631
3631
|
"data-gtm-event-type": `delete-${t.type}-click`,
|
|
3632
|
-
...
|
|
3632
|
+
...Ss(`delete-${t.slug}-modal`, B)
|
|
3633
3633
|
}
|
|
3634
3634
|
), C.createElement(e, {
|
|
3635
3635
|
className: k("discussion-post", p),
|
|
@@ -3645,7 +3645,7 @@ const ue = "discussion_", Dt = ({
|
|
|
3645
3645
|
},
|
|
3646
3646
|
children: [
|
|
3647
3647
|
!_.isEditing && /* @__PURE__ */ r.jsx(
|
|
3648
|
-
|
|
3648
|
+
Pt,
|
|
3649
3649
|
{
|
|
3650
3650
|
member: b,
|
|
3651
3651
|
additionalContent: { createdAt: z, didEdit: _.didEdit },
|
|
@@ -3678,12 +3678,12 @@ const ue = "discussion_", Dt = ({
|
|
|
3678
3678
|
) : f.post ? /* @__PURE__ */ r.jsx("a", { href: f.post, className: "gtm-trackable", "data-gtm-event-context": g, "data-gtm-event-type": "title-click", children: /* @__PURE__ */ r.jsx(en, { options: { overrides: { a: Gr } }, children: _.body }) }) : /* @__PURE__ */ r.jsx(en, { options: { wrapper: t.type === "question" ? "h1" : C.Fragment, forceWrapper: t.type === "question", forceInline: t.type === "question", forceBlock: t.type !== "question" }, children: _.body }),
|
|
3679
3679
|
!_.isEditing && /* @__PURE__ */ r.jsxs("ul", { className: k("actions text-medium", t.type), "data-testid": `${t.type}-actions`, children: [
|
|
3680
3680
|
/* @__PURE__ */ r.jsx(
|
|
3681
|
-
|
|
3681
|
+
ks,
|
|
3682
3682
|
{
|
|
3683
3683
|
element: "li",
|
|
3684
3684
|
likes: V,
|
|
3685
3685
|
isShort: !1,
|
|
3686
|
-
userLiked:
|
|
3686
|
+
userLiked: P,
|
|
3687
3687
|
content: { type: t.type, slugs: t.slugs },
|
|
3688
3688
|
canLike: X,
|
|
3689
3689
|
functions: {
|
|
@@ -3722,14 +3722,14 @@ const ue = "discussion_", Dt = ({
|
|
|
3722
3722
|
children: v.formatMessage({ id: `${ue}reply` })
|
|
3723
3723
|
}
|
|
3724
3724
|
) }),
|
|
3725
|
-
/* @__PURE__ */ r.jsx(
|
|
3725
|
+
/* @__PURE__ */ r.jsx(ds, { element: "li", id: `more-${t.slug}`, options: ie })
|
|
3726
3726
|
] })
|
|
3727
3727
|
]
|
|
3728
3728
|
}
|
|
3729
3729
|
),
|
|
3730
3730
|
h,
|
|
3731
3731
|
/* @__PURE__ */ r.jsx(
|
|
3732
|
-
|
|
3732
|
+
Es,
|
|
3733
3733
|
{
|
|
3734
3734
|
id: `delete-${t.slug}-modal`,
|
|
3735
3735
|
isOpen: B,
|
|
@@ -3805,7 +3805,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3805
3805
|
),
|
|
3806
3806
|
/* @__PURE__ */ r.jsx("ul", { ref: o, className: k("thread", a), hidden: !l, children: f })
|
|
3807
3807
|
] });
|
|
3808
|
-
},
|
|
3808
|
+
}, $s = ({
|
|
3809
3809
|
user: e,
|
|
3810
3810
|
content: t,
|
|
3811
3811
|
verb: n = "post"
|
|
@@ -3826,7 +3826,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3826
3826
|
like: 0
|
|
3827
3827
|
},
|
|
3828
3828
|
verb: n
|
|
3829
|
-
}),
|
|
3829
|
+
}), Ts = ({
|
|
3830
3830
|
queryClient: e,
|
|
3831
3831
|
queryKey: t,
|
|
3832
3832
|
user: n,
|
|
@@ -3834,7 +3834,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3834
3834
|
}) => ({ mutationFn: s, onMutate: async ({ content: a }) => {
|
|
3835
3835
|
if (!n)
|
|
3836
3836
|
return;
|
|
3837
|
-
const i =
|
|
3837
|
+
const i = $s({ user: n, content: a, verb: "post" });
|
|
3838
3838
|
await e.cancelQueries({ queryKey: t });
|
|
3839
3839
|
const u = e.getQueryData(t);
|
|
3840
3840
|
return e.setQueryData(t, (d) => [...d, i]), { previousActivities: u };
|
|
@@ -3842,7 +3842,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3842
3842
|
e.setQueryData(t, u.previousActivities);
|
|
3843
3843
|
}, onSettled: () => {
|
|
3844
3844
|
e.invalidateQueries({ queryKey: t });
|
|
3845
|
-
} }),
|
|
3845
|
+
} }), Ms = ({
|
|
3846
3846
|
queryClient: e,
|
|
3847
3847
|
queryKey: t,
|
|
3848
3848
|
mutationFn: n
|
|
@@ -3862,7 +3862,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3862
3862
|
e.invalidateQueries({
|
|
3863
3863
|
queryKey: [...t, u.activityId]
|
|
3864
3864
|
});
|
|
3865
|
-
} }),
|
|
3865
|
+
} }), Cs = ({
|
|
3866
3866
|
queryClient: e,
|
|
3867
3867
|
queryKey: t,
|
|
3868
3868
|
user: n,
|
|
@@ -3908,28 +3908,28 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3908
3908
|
} = an({
|
|
3909
3909
|
queryKey: [e, t],
|
|
3910
3910
|
queryFn: s
|
|
3911
|
-
}), j =
|
|
3911
|
+
}), j = Ts({
|
|
3912
3912
|
queryClient: d,
|
|
3913
3913
|
queryKey: [e, t],
|
|
3914
3914
|
user: f,
|
|
3915
3915
|
mutationFn: o
|
|
3916
|
-
}), { mutate: E } = pe(j), _ =
|
|
3916
|
+
}), { mutate: E } = pe(j), _ = Ms({
|
|
3917
3917
|
queryClient: d,
|
|
3918
3918
|
queryKey: [e, t],
|
|
3919
3919
|
mutationFn: l
|
|
3920
3920
|
}), {
|
|
3921
3921
|
mutate: $
|
|
3922
|
-
} = pe(_), B =
|
|
3922
|
+
} = pe(_), B = Cs({
|
|
3923
3923
|
queryClient: d,
|
|
3924
3924
|
queryKey: [e, t],
|
|
3925
3925
|
user: f,
|
|
3926
3926
|
mutationFn: async ({ activityId: b }) => {
|
|
3927
|
-
var O, V,
|
|
3927
|
+
var O, V, P;
|
|
3928
3928
|
const M = p && (p == null ? void 0 : p.find(
|
|
3929
3929
|
(D) => D.id === b
|
|
3930
|
-
)), z = (
|
|
3930
|
+
)), z = (P = (V = (O = M == null ? void 0 : M.latest_reactions) == null ? void 0 : O.like) == null ? void 0 : V.find(
|
|
3931
3931
|
(D) => D.user_id === (f == null ? void 0 : f.id)
|
|
3932
|
-
)) == null ? void 0 :
|
|
3932
|
+
)) == null ? void 0 : P.id;
|
|
3933
3933
|
await m({ reactionId: z || "", activityId: b });
|
|
3934
3934
|
}
|
|
3935
3935
|
}), {
|
|
@@ -3957,7 +3957,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3957
3957
|
}
|
|
3958
3958
|
),
|
|
3959
3959
|
!v && Array.isArray(p) && (p == null ? void 0 : p.map((b) => {
|
|
3960
|
-
var M, z, O, V,
|
|
3960
|
+
var M, z, O, V, P, D, Y, X, re, K, se;
|
|
3961
3961
|
return /* @__PURE__ */ r.jsx(
|
|
3962
3962
|
Dt,
|
|
3963
3963
|
{
|
|
@@ -3970,7 +3970,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
3970
3970
|
author: {
|
|
3971
3971
|
id: (M = b == null ? void 0 : b.actor) == null ? void 0 : M.id,
|
|
3972
3972
|
name: (O = (z = b == null ? void 0 : b.actor) == null ? void 0 : z.data) == null ? void 0 : O.name,
|
|
3973
|
-
organization: (
|
|
3973
|
+
organization: (P = (V = b == null ? void 0 : b.actor) == null ? void 0 : V.data) == null ? void 0 : P.organization,
|
|
3974
3974
|
jobTitle: (Y = (D = b == null ? void 0 : b.actor) == null ? void 0 : D.data) == null ? void 0 : Y.jobTitle,
|
|
3975
3975
|
image: {
|
|
3976
3976
|
thumbnail: ((re = (X = b == null ? void 0 : b.actor) == null ? void 0 : X.data) == null ? void 0 : re.thumbnail) || void 0
|
|
@@ -4007,7 +4007,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4007
4007
|
);
|
|
4008
4008
|
}))
|
|
4009
4009
|
] });
|
|
4010
|
-
},
|
|
4010
|
+
}, Ns = ({
|
|
4011
4011
|
queryClient: e,
|
|
4012
4012
|
queryKey: t,
|
|
4013
4013
|
mutationFn: n
|
|
@@ -4026,7 +4026,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4026
4026
|
})), { previousActivity: i };
|
|
4027
4027
|
}, onSettled: () => {
|
|
4028
4028
|
e.invalidateQueries({ queryKey: t });
|
|
4029
|
-
} }),
|
|
4029
|
+
} }), As = ({
|
|
4030
4030
|
queryClient: e,
|
|
4031
4031
|
queryKey: t,
|
|
4032
4032
|
mutationFn: n
|
|
@@ -4050,7 +4050,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4050
4050
|
...a,
|
|
4051
4051
|
latest_reactions: { reply: i }
|
|
4052
4052
|
})), { previousActivity: a };
|
|
4053
|
-
} }),
|
|
4053
|
+
} }), Ps = ({
|
|
4054
4054
|
queryClient: e,
|
|
4055
4055
|
queryKey: t,
|
|
4056
4056
|
user: n,
|
|
@@ -4083,7 +4083,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4083
4083
|
...u,
|
|
4084
4084
|
latest_reactions: { reply: d }
|
|
4085
4085
|
})), { previousActivity: u };
|
|
4086
|
-
} }),
|
|
4086
|
+
} }), Ds = ({
|
|
4087
4087
|
basePath: e,
|
|
4088
4088
|
parentId: t,
|
|
4089
4089
|
activityId: n,
|
|
@@ -4091,17 +4091,17 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4091
4091
|
isMember: o,
|
|
4092
4092
|
functions: { createReply: l, like: m, unlike: a, join: i, leave: u }
|
|
4093
4093
|
}) => {
|
|
4094
|
-
const d = A(), f = Ct(), p = ge(_e), g =
|
|
4094
|
+
const d = A(), f = Ct(), p = ge(_e), g = Ns({
|
|
4095
4095
|
queryClient: f,
|
|
4096
4096
|
queryKey: [e, t, n],
|
|
4097
4097
|
mutationFn: l
|
|
4098
|
-
}), { mutate: h } = pe(g), v =
|
|
4098
|
+
}), { mutate: h } = pe(g), v = As({
|
|
4099
4099
|
queryClient: f,
|
|
4100
4100
|
queryKey: [e, t, n],
|
|
4101
4101
|
mutationFn: m
|
|
4102
4102
|
}), {
|
|
4103
4103
|
mutate: j
|
|
4104
|
-
} = pe(v), E =
|
|
4104
|
+
} = pe(v), E = Ps({
|
|
4105
4105
|
queryClient: f,
|
|
4106
4106
|
queryKey: [e, t, n],
|
|
4107
4107
|
user: p,
|
|
@@ -4131,7 +4131,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4131
4131
|
}
|
|
4132
4132
|
),
|
|
4133
4133
|
(s == null ? void 0 : s.length) === 0 || (s == null ? void 0 : s.map((y) => {
|
|
4134
|
-
var Q, b, M, z, O, V,
|
|
4134
|
+
var Q, b, M, z, O, V, P, D, Y, X, re, K, se, ie, L, oe;
|
|
4135
4135
|
const U = ((Q = y == null ? void 0 : y.latest_children) == null ? void 0 : Q.like) && ((b = y == null ? void 0 : y.latest_children) == null ? void 0 : b.like.filter(
|
|
4136
4136
|
(xe) => xe.user_id === (p == null ? void 0 : p.id)
|
|
4137
4137
|
));
|
|
@@ -4149,7 +4149,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4149
4149
|
slug: `${e}/${t}/${n}#${y == null ? void 0 : y.id}`,
|
|
4150
4150
|
author: {
|
|
4151
4151
|
id: (V = y == null ? void 0 : y.user) == null ? void 0 : V.id,
|
|
4152
|
-
name: (D = (
|
|
4152
|
+
name: (D = (P = y == null ? void 0 : y.user) == null ? void 0 : P.data) == null ? void 0 : D.name,
|
|
4153
4153
|
organization: (X = (Y = y == null ? void 0 : y.user) == null ? void 0 : Y.data) == null ? void 0 : X.organization,
|
|
4154
4154
|
jobTitle: (K = (re = y == null ? void 0 : y.user) == null ? void 0 : re.data) == null ? void 0 : K.jobTitle,
|
|
4155
4155
|
image: {
|
|
@@ -4180,7 +4180,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4180
4180
|
);
|
|
4181
4181
|
}))
|
|
4182
4182
|
] });
|
|
4183
|
-
},
|
|
4183
|
+
}, Rs = ({
|
|
4184
4184
|
queryClient: e,
|
|
4185
4185
|
queryKey: t,
|
|
4186
4186
|
mutationFn: n
|
|
@@ -4200,7 +4200,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4200
4200
|
})), { previousActivity: i };
|
|
4201
4201
|
}, onSettled: () => {
|
|
4202
4202
|
e.invalidateQueries({ queryKey: t });
|
|
4203
|
-
} }),
|
|
4203
|
+
} }), Fs = ({
|
|
4204
4204
|
queryClient: e,
|
|
4205
4205
|
queryKey: t,
|
|
4206
4206
|
user: n,
|
|
@@ -4246,7 +4246,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4246
4246
|
leave: f
|
|
4247
4247
|
}
|
|
4248
4248
|
}) => {
|
|
4249
|
-
var b, M, z, O, V,
|
|
4249
|
+
var b, M, z, O, V, P, D, Y, X, re;
|
|
4250
4250
|
const p = ge(_e), g = Ct(), {
|
|
4251
4251
|
data: h,
|
|
4252
4252
|
error: v,
|
|
@@ -4255,13 +4255,13 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4255
4255
|
} = an({
|
|
4256
4256
|
queryKey: [e, t, n],
|
|
4257
4257
|
queryFn: o
|
|
4258
|
-
}), _ =
|
|
4258
|
+
}), _ = Rs({
|
|
4259
4259
|
queryClient: g,
|
|
4260
4260
|
queryKey: [e, t, n],
|
|
4261
4261
|
mutationFn: l
|
|
4262
4262
|
}), {
|
|
4263
4263
|
mutate: $
|
|
4264
|
-
} = pe(_), B =
|
|
4264
|
+
} = pe(_), B = Fs({
|
|
4265
4265
|
queryClient: g,
|
|
4266
4266
|
queryKey: [e, t, n],
|
|
4267
4267
|
user: p,
|
|
@@ -4300,7 +4300,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4300
4300
|
thumbnail: ((V = h == null ? void 0 : h.actor) == null ? void 0 : V.data.thumbnail) || void 0
|
|
4301
4301
|
}
|
|
4302
4302
|
},
|
|
4303
|
-
userLiked: ((
|
|
4303
|
+
userLiked: ((P = h == null ? void 0 : h.own_reactions) == null ? void 0 : P.like) && ((D = h == null ? void 0 : h.own_reactions) == null ? void 0 : D.like.length) > 0,
|
|
4304
4304
|
likes: h && (h == null ? void 0 : h.reaction_counts.like),
|
|
4305
4305
|
comments: h && (h == null ? void 0 : h.reaction_counts.reply)
|
|
4306
4306
|
},
|
|
@@ -4327,7 +4327,7 @@ const vo = ({ isOpen: e = !1, count: t = 0, children: n }) => {
|
|
|
4327
4327
|
")"
|
|
4328
4328
|
] }),
|
|
4329
4329
|
/* @__PURE__ */ r.jsx(
|
|
4330
|
-
|
|
4330
|
+
Ds,
|
|
4331
4331
|
{
|
|
4332
4332
|
basePath: e,
|
|
4333
4333
|
parentId: t,
|
|
@@ -4359,7 +4359,7 @@ export {
|
|
|
4359
4359
|
yo as ActivitiesFeed,
|
|
4360
4360
|
wo as ActivitySection,
|
|
4361
4361
|
Mn as AddPost,
|
|
4362
|
-
|
|
4362
|
+
eo as BannerSection,
|
|
4363
4363
|
io as Breadcrumbs,
|
|
4364
4364
|
q as Button,
|
|
4365
4365
|
qe as ButtonWrapper,
|
|
@@ -4369,63 +4369,63 @@ export {
|
|
|
4369
4369
|
ao as CommunityDetails,
|
|
4370
4370
|
ns as Contributors,
|
|
4371
4371
|
Cn as ConversationContext,
|
|
4372
|
-
|
|
4372
|
+
fs as CookieBanner,
|
|
4373
4373
|
xo as DiscussionConversation,
|
|
4374
4374
|
Tn as DiscussionForm,
|
|
4375
|
-
|
|
4375
|
+
ks as DiscussionLikes,
|
|
4376
4376
|
Dt as DiscussionPost,
|
|
4377
4377
|
vo as DiscussionThread,
|
|
4378
4378
|
kt as Divider,
|
|
4379
|
-
|
|
4379
|
+
Zs as DownloadSection,
|
|
4380
4380
|
Me as EMAILS,
|
|
4381
4381
|
mo as EmailHelperTextBox,
|
|
4382
4382
|
Ze as EmptyStateBox,
|
|
4383
4383
|
lo as Filters,
|
|
4384
|
-
|
|
4384
|
+
as as FlagsProvider,
|
|
4385
4385
|
kn as Footer,
|
|
4386
4386
|
hn as FullWidthSection,
|
|
4387
4387
|
oo as GlobalProviders,
|
|
4388
4388
|
$n as Header,
|
|
4389
4389
|
Ir as HelperTextBox,
|
|
4390
4390
|
un as HiddenFromScreenReaders,
|
|
4391
|
-
|
|
4391
|
+
ro as HideShowTextBox,
|
|
4392
4392
|
he as HighlightedTextBox,
|
|
4393
|
-
|
|
4393
|
+
is as IntlProvider,
|
|
4394
4394
|
yn as JoinButton,
|
|
4395
4395
|
co as LanguageSwitcher,
|
|
4396
4396
|
Xe as Link,
|
|
4397
|
-
|
|
4398
|
-
|
|
4397
|
+
us as LoadMore,
|
|
4398
|
+
so as LoadingBlock,
|
|
4399
4399
|
me as LoadingPlaceholder,
|
|
4400
4400
|
Kr as LoadingState,
|
|
4401
4401
|
wn as Logo,
|
|
4402
|
-
|
|
4402
|
+
Ks as LogoSection,
|
|
4403
4403
|
en as MarkdownText,
|
|
4404
|
-
|
|
4405
|
-
|
|
4404
|
+
to as MarketingBox,
|
|
4405
|
+
Pt as Member,
|
|
4406
4406
|
_o as MembersList,
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4407
|
+
js as Modal,
|
|
4408
|
+
ds as MoreMenu,
|
|
4409
|
+
no as NUMBER_OF_USERS,
|
|
4410
|
+
Es as Overlay,
|
|
4411
4411
|
ho as PageLayout,
|
|
4412
4412
|
fo as PasswordRules,
|
|
4413
4413
|
Jr as Pill,
|
|
4414
4414
|
At as ProfilePicture,
|
|
4415
4415
|
Xr as ProgressBar,
|
|
4416
4416
|
po as Rating,
|
|
4417
|
-
|
|
4417
|
+
Ds as RepliesFeed,
|
|
4418
4418
|
bo as ResponsesHeading,
|
|
4419
4419
|
Fr as ResponsiveImage,
|
|
4420
|
-
|
|
4420
|
+
gs as SearchForm,
|
|
4421
4421
|
Gr as Span,
|
|
4422
4422
|
St as StatusBanner,
|
|
4423
4423
|
go as Tags,
|
|
4424
4424
|
Or as Tooltip,
|
|
4425
4425
|
_e as UserContext,
|
|
4426
|
-
|
|
4426
|
+
ls as UserProvider,
|
|
4427
4427
|
ee as VisuallyHidden,
|
|
4428
|
-
|
|
4428
|
+
Ss as addAriaProps,
|
|
4429
4429
|
vn as getMember,
|
|
4430
4430
|
ze as headerData,
|
|
4431
4431
|
ko as mapGetStreamData,
|
|
@@ -4433,5 +4433,5 @@ export {
|
|
|
4433
4433
|
ke as useEffectAfterMount,
|
|
4434
4434
|
Je as useScreenWidth,
|
|
4435
4435
|
kr as useScrollListener,
|
|
4436
|
-
|
|
4436
|
+
Xs as useScrollToHash
|
|
4437
4437
|
};
|