@interopio/home-ui-react 1.2.0 → 1.2.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.css +1 -1
- package/index.js +12 -12
- package/index.js.map +1 -1
- package/index.mjs +966 -927
- package/index.mjs.map +1 -1
- package/lib/home-app-workspace/after-tabs.d.ts +3 -0
- package/lib/home-app-workspace/group-header-buttons.d.ts +3 -0
- package/lib/home-app-workspace/useAddWindowButtonVisible.d.ts +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a, jsxs as w, Fragment as Ee } from "react/jsx-runtime";
|
|
2
2
|
import * as Je from "react";
|
|
3
|
-
import be, { forwardRef as lr, useState as
|
|
3
|
+
import be, { forwardRef as lr, useState as z, useContext as ne, useEffect as te, useCallback as he, useMemo as lt, useRef as Le, createContext as Vt, Component as _o, useReducer as jn } from "react";
|
|
4
4
|
import { IOConnectContext as ie, IOConnectProvider as ur } from "@interopio/react-hooks";
|
|
5
|
-
import ji, { getFrameId as Ui,
|
|
6
|
-
import * as
|
|
5
|
+
import ji, { getFrameId as Ui, showAddApplicationPopup as Fi, AddWindowButton as Wi, GroupHeaderButtons as Hi, Logo as Vi } from "@interopio/workspaces-ui-react";
|
|
6
|
+
import * as zi from "react-dom";
|
|
7
7
|
import Gt from "react-dom";
|
|
8
8
|
const Mt = (t) => "items" in t, Be = {
|
|
9
9
|
APPLICATION: "application",
|
|
@@ -61,7 +61,7 @@ const Mt = (t) => "items" in t, Be = {
|
|
|
61
61
|
}, Lo = (t) => t.title || t.name, tn = (t) => {
|
|
62
62
|
const e = Lo(t), n = t.userProperties.folder;
|
|
63
63
|
return n ? `${n}/${e}` : e;
|
|
64
|
-
},
|
|
64
|
+
}, Zi = (t, e) => dn.compare(tn(t), tn(e)), Bi = (t, e) => dn.compare(tn(e), tn(t)), $i = (t, e, n) => {
|
|
65
65
|
const { isSectionCollapsible: r, sortOrder: o = Ut.ASCENDING, ...i } = n;
|
|
66
66
|
return {
|
|
67
67
|
id: "applications-section",
|
|
@@ -69,8 +69,8 @@ const Mt = (t) => "items" in t, Be = {
|
|
|
69
69
|
items: dr({
|
|
70
70
|
items: t,
|
|
71
71
|
sortOrder: o,
|
|
72
|
-
ascendingCompare:
|
|
73
|
-
descendingCompare:
|
|
72
|
+
ascendingCompare: Zi,
|
|
73
|
+
descendingCompare: Bi
|
|
74
74
|
}).reduce((l, u) => {
|
|
75
75
|
const f = {
|
|
76
76
|
id: u.name,
|
|
@@ -87,7 +87,7 @@ const Mt = (t) => "items" in t, Be = {
|
|
|
87
87
|
...i
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
|
-
var
|
|
90
|
+
var Gi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Fn = {}, Ki = {
|
|
91
91
|
get exports() {
|
|
92
92
|
return Fn;
|
|
93
93
|
},
|
|
@@ -129,7 +129,7 @@ var Zi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
129
129
|
}
|
|
130
130
|
t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
|
|
131
131
|
})();
|
|
132
|
-
})(
|
|
132
|
+
})(Ki);
|
|
133
133
|
const G = Fn;
|
|
134
134
|
const Mo = (t) => t.key === "Enter" || t.key === " ", Ct = (t, e) => typeof t > "u" ? {} : {
|
|
135
135
|
tabIndex: 0,
|
|
@@ -201,7 +201,7 @@ function jo(t) {
|
|
|
201
201
|
}
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
const
|
|
204
|
+
const qi = (t) => {
|
|
205
205
|
const {
|
|
206
206
|
className: e,
|
|
207
207
|
iconSrc: n,
|
|
@@ -218,8 +218,8 @@ const $i = (t) => {
|
|
|
218
218
|
o,
|
|
219
219
|
s && /* @__PURE__ */ a(ce, { className: G(!i && "collapsed"), name: "chevron-down", size: 14, "data-testid": "collapse-icon" })
|
|
220
220
|
] });
|
|
221
|
-
},
|
|
222
|
-
const [t, e] =
|
|
221
|
+
}, Yi = () => {
|
|
222
|
+
const [t, e] = z([]), n = ne(ie);
|
|
223
223
|
return te(() => {
|
|
224
224
|
if (!n)
|
|
225
225
|
return;
|
|
@@ -237,8 +237,8 @@ const $i = (t) => {
|
|
|
237
237
|
}), s = [r, i, o];
|
|
238
238
|
return () => s.forEach((c) => c());
|
|
239
239
|
}, [n]), t;
|
|
240
|
-
},
|
|
241
|
-
const [t, e] =
|
|
240
|
+
}, Xi = () => {
|
|
241
|
+
const [t, e] = z({}), n = ne(ie);
|
|
242
242
|
return te(() => {
|
|
243
243
|
if (!n)
|
|
244
244
|
return;
|
|
@@ -260,8 +260,8 @@ const $i = (t) => {
|
|
|
260
260
|
}), i = [r, o];
|
|
261
261
|
return () => i.forEach((s) => s());
|
|
262
262
|
}, [n]), t;
|
|
263
|
-
}, Uo = "interopio_home_ui_selected_layout",
|
|
264
|
-
const [r, o] =
|
|
263
|
+
}, Uo = "interopio_home_ui_selected_layout", Ji = "interopio_home_ui_favorite_entities", Qi = "interopio_home_ui_user", fn = (t, e, n) => {
|
|
264
|
+
const [r, o] = z(() => {
|
|
265
265
|
try {
|
|
266
266
|
const c = window[t].getItem(e);
|
|
267
267
|
return c ? JSON.parse(c) : null;
|
|
@@ -303,21 +303,21 @@ var fe = function(t) {
|
|
|
303
303
|
return { ok: !0, result: t };
|
|
304
304
|
}, ue = function(t) {
|
|
305
305
|
return { ok: !1, error: t };
|
|
306
|
-
},
|
|
306
|
+
}, ea = function(t) {
|
|
307
307
|
return t.ok === !0 ? Promise.resolve(t.result) : Promise.reject(t.error);
|
|
308
|
-
},
|
|
308
|
+
}, ta = function(t, e) {
|
|
309
309
|
return e.ok === !0 ? e.result : t;
|
|
310
|
-
},
|
|
310
|
+
}, na = function(t) {
|
|
311
311
|
if (t.ok === !0)
|
|
312
312
|
return t.result;
|
|
313
313
|
throw t.error;
|
|
314
|
-
},
|
|
314
|
+
}, ra = function(t, e) {
|
|
315
315
|
return e.ok === !0 ? fe(t(e.result)) : e;
|
|
316
316
|
}, Dr = function(t, e, n) {
|
|
317
317
|
return e.ok === !1 ? e : n.ok === !1 ? n : fe(t(e.result, n.result));
|
|
318
318
|
}, xn = function(t, e) {
|
|
319
319
|
return e.ok === !0 ? e : ue(t(e.error));
|
|
320
|
-
},
|
|
320
|
+
}, oa = function(t, e) {
|
|
321
321
|
return e.ok === !0 ? t(e.result) : e;
|
|
322
322
|
};
|
|
323
323
|
/*! *****************************************************************************
|
|
@@ -344,7 +344,7 @@ var Wn = function() {
|
|
|
344
344
|
return e;
|
|
345
345
|
}, Wn.apply(this, arguments);
|
|
346
346
|
};
|
|
347
|
-
function
|
|
347
|
+
function ia(t, e) {
|
|
348
348
|
var n = {};
|
|
349
349
|
for (var r in t)
|
|
350
350
|
Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
|
|
@@ -380,7 +380,7 @@ var Rt = function(t) {
|
|
|
380
380
|
return Array.isArray(t);
|
|
381
381
|
}, Kt = function(t) {
|
|
382
382
|
return typeof t == "object" && t !== null && !Rt(t);
|
|
383
|
-
},
|
|
383
|
+
}, aa = function(t) {
|
|
384
384
|
switch (typeof t) {
|
|
385
385
|
case "string":
|
|
386
386
|
return "a string";
|
|
@@ -395,14 +395,14 @@ var Rt = function(t) {
|
|
|
395
395
|
default:
|
|
396
396
|
return JSON.stringify(t);
|
|
397
397
|
}
|
|
398
|
-
},
|
|
399
|
-
return "expected " + t + ", got " +
|
|
400
|
-
},
|
|
398
|
+
}, ze = function(t, e) {
|
|
399
|
+
return "expected " + t + ", got " + aa(e);
|
|
400
|
+
}, _t = function(t) {
|
|
401
401
|
return t.map(function(e) {
|
|
402
402
|
return typeof e == "string" ? "." + e : "[" + e + "]";
|
|
403
403
|
}).join("");
|
|
404
404
|
}, It = function(t, e) {
|
|
405
|
-
var n = e.at, r =
|
|
405
|
+
var n = e.at, r = ia(e, ["at"]);
|
|
406
406
|
return Wn({ at: t + (n || "") }, r);
|
|
407
407
|
}, de = (
|
|
408
408
|
/** @class */
|
|
@@ -419,16 +419,16 @@ var Rt = function(t) {
|
|
|
419
419
|
};
|
|
420
420
|
}, n.decode(r));
|
|
421
421
|
}, this.runPromise = function(r) {
|
|
422
|
-
return
|
|
422
|
+
return ea(n.run(r));
|
|
423
423
|
}, this.runWithException = function(r) {
|
|
424
|
-
return
|
|
424
|
+
return na(n.run(r));
|
|
425
425
|
}, this.map = function(r) {
|
|
426
426
|
return new t(function(o) {
|
|
427
|
-
return
|
|
427
|
+
return ra(r, n.decode(o));
|
|
428
428
|
});
|
|
429
429
|
}, this.andThen = function(r) {
|
|
430
430
|
return new t(function(o) {
|
|
431
|
-
return
|
|
431
|
+
return oa(function(i) {
|
|
432
432
|
return r(i).decode(o);
|
|
433
433
|
}, n.decode(o));
|
|
434
434
|
});
|
|
@@ -440,15 +440,15 @@ var Rt = function(t) {
|
|
|
440
440
|
}
|
|
441
441
|
return t.string = function() {
|
|
442
442
|
return new t(function(e) {
|
|
443
|
-
return typeof e == "string" ? fe(e) : ue({ message:
|
|
443
|
+
return typeof e == "string" ? fe(e) : ue({ message: ze("a string", e) });
|
|
444
444
|
});
|
|
445
445
|
}, t.number = function() {
|
|
446
446
|
return new t(function(e) {
|
|
447
|
-
return typeof e == "number" ? fe(e) : ue({ message:
|
|
447
|
+
return typeof e == "number" ? fe(e) : ue({ message: ze("a number", e) });
|
|
448
448
|
});
|
|
449
449
|
}, t.boolean = function() {
|
|
450
450
|
return new t(function(e) {
|
|
451
|
-
return typeof e == "boolean" ? fe(e) : ue({ message:
|
|
451
|
+
return typeof e == "boolean" ? fe(e) : ue({ message: ze("a boolean", e) });
|
|
452
452
|
});
|
|
453
453
|
}, t.constant = function(e) {
|
|
454
454
|
return new t(function(n) {
|
|
@@ -468,7 +468,7 @@ var Rt = function(t) {
|
|
|
468
468
|
}
|
|
469
469
|
return fe(r);
|
|
470
470
|
} else
|
|
471
|
-
return Kt(n) ? fe(n) : ue({ message:
|
|
471
|
+
return Kt(n) ? fe(n) : ue({ message: ze("an object", n) });
|
|
472
472
|
});
|
|
473
473
|
}, t.array = function(e) {
|
|
474
474
|
return new t(function(n) {
|
|
@@ -484,7 +484,7 @@ var Rt = function(t) {
|
|
|
484
484
|
}, o, r(i, s));
|
|
485
485
|
}, fe([]));
|
|
486
486
|
} else
|
|
487
|
-
return Rt(n) ? fe(n) : ue({ message:
|
|
487
|
+
return Rt(n) ? fe(n) : ue({ message: ze("an array", n) });
|
|
488
488
|
});
|
|
489
489
|
}, t.tuple = function(e) {
|
|
490
490
|
return new t(function(n) {
|
|
@@ -502,7 +502,7 @@ var Rt = function(t) {
|
|
|
502
502
|
}
|
|
503
503
|
return fe(r);
|
|
504
504
|
} else
|
|
505
|
-
return ue({ message:
|
|
505
|
+
return ue({ message: ze("a tuple of length " + e.length, n) });
|
|
506
506
|
});
|
|
507
507
|
}, t.union = function(e, n) {
|
|
508
508
|
for (var r = [], o = 2; o < arguments.length; o++)
|
|
@@ -538,7 +538,7 @@ var Rt = function(t) {
|
|
|
538
538
|
}
|
|
539
539
|
return fe(r);
|
|
540
540
|
} else
|
|
541
|
-
return ue({ message:
|
|
541
|
+
return ue({ message: ze("an object", n) });
|
|
542
542
|
});
|
|
543
543
|
}, t.optional = function(e) {
|
|
544
544
|
return new t(function(n) {
|
|
@@ -563,30 +563,30 @@ var Rt = function(t) {
|
|
|
563
563
|
});
|
|
564
564
|
}, t.withDefault = function(e, n) {
|
|
565
565
|
return new t(function(r) {
|
|
566
|
-
return fe(
|
|
566
|
+
return fe(ta(e, n.decode(r)));
|
|
567
567
|
});
|
|
568
568
|
}, t.valueAt = function(e, n) {
|
|
569
569
|
return new t(function(r) {
|
|
570
570
|
for (var o = r, i = 0; i < e.length; i++) {
|
|
571
571
|
if (o === void 0)
|
|
572
572
|
return ue({
|
|
573
|
-
at:
|
|
573
|
+
at: _t(e.slice(0, i + 1)),
|
|
574
574
|
message: "path does not exist"
|
|
575
575
|
});
|
|
576
576
|
if (typeof e[i] == "string" && !Kt(o))
|
|
577
577
|
return ue({
|
|
578
|
-
at:
|
|
579
|
-
message:
|
|
578
|
+
at: _t(e.slice(0, i + 1)),
|
|
579
|
+
message: ze("an object", o)
|
|
580
580
|
});
|
|
581
581
|
if (typeof e[i] == "number" && !Rt(o))
|
|
582
582
|
return ue({
|
|
583
|
-
at:
|
|
584
|
-
message:
|
|
583
|
+
at: _t(e.slice(0, i + 1)),
|
|
584
|
+
message: ze("an array", o)
|
|
585
585
|
});
|
|
586
586
|
o = o[e[i]];
|
|
587
587
|
}
|
|
588
588
|
return xn(function(s) {
|
|
589
|
-
return o === void 0 ? { at:
|
|
589
|
+
return o === void 0 ? { at: _t(e), message: "path does not exist" } : It(_t(e), s);
|
|
590
590
|
}, n.decode(o));
|
|
591
591
|
});
|
|
592
592
|
}, t.succeed = function(e) {
|
|
@@ -603,39 +603,39 @@ var Rt = function(t) {
|
|
|
603
603
|
});
|
|
604
604
|
}, t;
|
|
605
605
|
}()
|
|
606
|
-
),
|
|
606
|
+
), Vn = de.string, sa = de.number, Fo = de.boolean, we = de.anyJson;
|
|
607
607
|
de.unknownJson;
|
|
608
608
|
var nn = de.constant, xe = de.object, Wo = de.array;
|
|
609
609
|
de.tuple;
|
|
610
610
|
de.dict;
|
|
611
|
-
var K = de.optional,
|
|
611
|
+
var K = de.optional, zn = de.oneOf;
|
|
612
612
|
de.union;
|
|
613
613
|
de.intersection;
|
|
614
614
|
de.withDefault;
|
|
615
615
|
de.valueAt;
|
|
616
616
|
de.succeed;
|
|
617
|
-
var
|
|
617
|
+
var ca = de.fail;
|
|
618
618
|
de.lazy;
|
|
619
|
-
const ye =
|
|
619
|
+
const ye = Vn().where((t) => t.length > 0, "Expected a non-empty string"), la = sa().where((t) => t >= 0, "Expected a non-negative number"), $e = (t, e) => {
|
|
620
620
|
const n = typeof t;
|
|
621
|
-
return n === "function" ? we() :
|
|
622
|
-
},
|
|
621
|
+
return n === "function" ? we() : ca(`The provided argument as ${e} should be of type function, provided: ${typeof n}`);
|
|
622
|
+
}, ua = xe({
|
|
623
623
|
name: ye,
|
|
624
624
|
displayName: K(ye),
|
|
625
625
|
disabled: K(Fo())
|
|
626
|
-
}),
|
|
626
|
+
}), da = xe({
|
|
627
627
|
id: ye,
|
|
628
628
|
title: ye,
|
|
629
629
|
description: K(ye),
|
|
630
|
-
icon: K(
|
|
631
|
-
iconSrc: K(
|
|
632
|
-
contextMenuActions: K(Wo(
|
|
630
|
+
icon: K(Vn()),
|
|
631
|
+
iconSrc: K(Vn()),
|
|
632
|
+
contextMenuActions: K(Wo(ua)),
|
|
633
633
|
type: ye
|
|
634
|
-
}),
|
|
634
|
+
}), fa = Wo(da), fr = () => {
|
|
635
635
|
const [t, e] = fn(
|
|
636
636
|
"localStorage",
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
Ji,
|
|
638
|
+
fa
|
|
639
639
|
), n = lt(() => t || [], [t]);
|
|
640
640
|
return { favoriteEntities: n, toggleFavorite: ({ isOpen: i, ...s }) => {
|
|
641
641
|
const c = n.find((u) => u.title === s.title && u.type === s.type), l = c ? n.filter((u) => u !== c) : [s, ...n];
|
|
@@ -644,18 +644,18 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
644
644
|
e(n.filter((s) => s.id !== i));
|
|
645
645
|
} };
|
|
646
646
|
}, Ho = () => {
|
|
647
|
-
const [t, e] =
|
|
647
|
+
const [t, e] = z(), n = ne(ie);
|
|
648
648
|
return te(() => {
|
|
649
649
|
if (!n)
|
|
650
650
|
return;
|
|
651
651
|
const r = Ui();
|
|
652
652
|
n.workspaces?.waitForFrame(r).then(e).catch((o) => console.error("Failed to get current frame", { error: o }));
|
|
653
653
|
}, [n]), t;
|
|
654
|
-
},
|
|
654
|
+
}, pa = () => {
|
|
655
655
|
const t = ne(ie);
|
|
656
656
|
return async (e) => t.interop.methods().every((n) => n.name !== e?.method) ? console.error("Interop method not found.") : await t.interop.invoke(e.method, e.params, e.target).catch((n) => console.error({ error: n }));
|
|
657
|
-
},
|
|
658
|
-
const [t, e] =
|
|
657
|
+
}, ha = () => {
|
|
658
|
+
const [t, e] = z([]), n = ne(ie);
|
|
659
659
|
return te(() => {
|
|
660
660
|
if (!n)
|
|
661
661
|
return;
|
|
@@ -672,8 +672,8 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
672
672
|
r = !0, o(), i();
|
|
673
673
|
};
|
|
674
674
|
}, [n]), t;
|
|
675
|
-
},
|
|
676
|
-
const [t, e] =
|
|
675
|
+
}, Vo = () => {
|
|
676
|
+
const [t, e] = z([]), n = ne(ie);
|
|
677
677
|
return te(() => {
|
|
678
678
|
if (!n)
|
|
679
679
|
return;
|
|
@@ -686,7 +686,7 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
686
686
|
r(), o();
|
|
687
687
|
};
|
|
688
688
|
}, [n]), t;
|
|
689
|
-
},
|
|
689
|
+
}, kn = ["None", "Low", "Medium", "High", "Critical"], ma = {
|
|
690
690
|
None: "#616161",
|
|
691
691
|
Low: "#7AC70C",
|
|
692
692
|
Medium: "#E0A900",
|
|
@@ -698,22 +698,22 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
698
698
|
}, jr = {
|
|
699
699
|
key: Zn.TIMESTAMP,
|
|
700
700
|
descending: !0
|
|
701
|
-
},
|
|
702
|
-
const n =
|
|
701
|
+
}, va = (t, e) => [...t].sort((n, r) => (e ? -1 : 1) * ((n.timestamp || 0) - (r.timestamp || 0))), ga = (t, e) => {
|
|
702
|
+
const n = kn[0];
|
|
703
703
|
return [...t].sort((r, o) => {
|
|
704
|
-
const i =
|
|
704
|
+
const i = kn.indexOf(r.severity || n), s = kn.indexOf(o.severity || n);
|
|
705
705
|
return (e ? -1 : 1) * (i - s);
|
|
706
706
|
});
|
|
707
|
-
},
|
|
708
|
-
[Zn.TIMESTAMP]:
|
|
709
|
-
[Zn.SEVERITY]:
|
|
710
|
-
},
|
|
711
|
-
const t =
|
|
707
|
+
}, ya = {
|
|
708
|
+
[Zn.TIMESTAMP]: va,
|
|
709
|
+
[Zn.SEVERITY]: ga
|
|
710
|
+
}, ba = () => {
|
|
711
|
+
const t = Vo(), [e, n] = z(jr), { key: r, descending: o } = e, i = lt(() => ya[r](t, o), [t, r, o]);
|
|
712
712
|
return { onNotificationsSort: he((c) => {
|
|
713
713
|
n((l) => ({ key: c, descending: l.key !== c ? jr.descending : !l.descending }));
|
|
714
714
|
}, []), sortedNotifications: i };
|
|
715
|
-
},
|
|
716
|
-
const [t, e] =
|
|
715
|
+
}, zo = () => {
|
|
716
|
+
const [t, e] = z([]);
|
|
717
717
|
return te(() => {
|
|
718
718
|
const n = ({ key: i }) => {
|
|
719
719
|
e((s) => s.includes(i) ? s : s.concat(i));
|
|
@@ -748,8 +748,8 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
748
748
|
},
|
|
749
749
|
[t]
|
|
750
750
|
);
|
|
751
|
-
},
|
|
752
|
-
const [e, n] =
|
|
751
|
+
}, wa = (t) => {
|
|
752
|
+
const [e, n] = z([]), [r, o] = z(!0), i = Le(null), s = ne(ie);
|
|
753
753
|
return te(() => {
|
|
754
754
|
const c = s?.search;
|
|
755
755
|
if (!c)
|
|
@@ -786,8 +786,8 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
786
786
|
const r = await t.workspaces?.getWorkspace((c) => c.isSelected === !0), o = r?.children[0];
|
|
787
787
|
return n === pn.CONTROL || !r || o?.type === "window" ? await t.appManager.application(e).start() : await (o?.type === "group" ? o : await (o || r).addGroup()).addWindow({ appName: e });
|
|
788
788
|
};
|
|
789
|
-
},
|
|
790
|
-
const [t, e] =
|
|
789
|
+
}, Ca = () => {
|
|
790
|
+
const [t, e] = z([]), n = ne(ie);
|
|
791
791
|
return te(() => {
|
|
792
792
|
if (!n || !n.workspaces)
|
|
793
793
|
return;
|
|
@@ -807,8 +807,8 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
807
807
|
});
|
|
808
808
|
};
|
|
809
809
|
}, [n, t]), t;
|
|
810
|
-
},
|
|
811
|
-
const [t, e] =
|
|
810
|
+
}, Oa = () => {
|
|
811
|
+
const [t, e] = z({}), n = ne(ie);
|
|
812
812
|
return te(() => {
|
|
813
813
|
if (!n)
|
|
814
814
|
return;
|
|
@@ -839,12 +839,12 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
839
839
|
}
|
|
840
840
|
})(), () => r.forEach((o) => o?.());
|
|
841
841
|
}, [n]), t;
|
|
842
|
-
},
|
|
842
|
+
}, Ea = (t) => {
|
|
843
843
|
const { io: e, item: n } = t;
|
|
844
844
|
e.appManager.application(n.id).start().catch((r) => {
|
|
845
845
|
console.error("Failed to start application: ", { error: r });
|
|
846
846
|
});
|
|
847
|
-
},
|
|
847
|
+
}, xa = (t) => {
|
|
848
848
|
const { io: e, item: n, frame: r } = t;
|
|
849
849
|
if (!e.workspaces)
|
|
850
850
|
return;
|
|
@@ -857,20 +857,20 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
857
857
|
i.addGroup().addWindow({ appName: n.id }), i.create().catch((s) => {
|
|
858
858
|
console.error("Failed to create workspace: ", { error: s });
|
|
859
859
|
});
|
|
860
|
-
},
|
|
861
|
-
openInNewWindow:
|
|
862
|
-
openInNewWorkspace:
|
|
860
|
+
}, ka = {
|
|
861
|
+
openInNewWindow: Ea,
|
|
862
|
+
openInNewWorkspace: xa
|
|
863
863
|
}, $o = () => {
|
|
864
864
|
const t = ne(ie), e = Ho();
|
|
865
865
|
return (n, r) => {
|
|
866
|
-
|
|
866
|
+
ka[r]({ io: t, item: n, frame: e });
|
|
867
867
|
};
|
|
868
|
-
},
|
|
868
|
+
}, Sa = (t) => {
|
|
869
869
|
const { io: e, item: n } = t;
|
|
870
870
|
e.workspaces && e.workspaces.restoreWorkspace(n.id, { newFrame: !0 }).catch((r) => {
|
|
871
871
|
console.error("Failed to open workspace in new frame: ", { error: r });
|
|
872
872
|
});
|
|
873
|
-
},
|
|
873
|
+
}, Pa = async (t) => {
|
|
874
874
|
const { io: e, item: n, removeFavorite: r } = t;
|
|
875
875
|
if (e.workspaces)
|
|
876
876
|
try {
|
|
@@ -878,30 +878,30 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
878
878
|
} catch (o) {
|
|
879
879
|
console.error("Failed to delete workspace: ", { error: o });
|
|
880
880
|
}
|
|
881
|
-
},
|
|
882
|
-
openInNewFrame:
|
|
883
|
-
delete:
|
|
881
|
+
}, Ta = {
|
|
882
|
+
openInNewFrame: Sa,
|
|
883
|
+
delete: Pa
|
|
884
884
|
}, Go = () => {
|
|
885
885
|
const t = ne(ie), { removeFavorite: e } = fr();
|
|
886
886
|
return (n, r) => {
|
|
887
|
-
|
|
887
|
+
Ta[r]({ io: t, item: n, removeFavorite: e });
|
|
888
888
|
};
|
|
889
|
-
},
|
|
889
|
+
}, _a = (t) => {
|
|
890
890
|
const { layout: e, setDefaultLayout: n } = t;
|
|
891
891
|
n({ name: e.name });
|
|
892
|
-
},
|
|
892
|
+
}, Ia = (t) => {
|
|
893
893
|
const { io: e, layout: n } = t;
|
|
894
894
|
e.layouts.remove("Global", n.name).catch((r) => {
|
|
895
895
|
console.error("Failed to delete layout: ", { error: r });
|
|
896
896
|
});
|
|
897
|
-
},
|
|
898
|
-
setAsDefault:
|
|
899
|
-
delete:
|
|
900
|
-
},
|
|
897
|
+
}, Na = {
|
|
898
|
+
setAsDefault: _a,
|
|
899
|
+
delete: Ia
|
|
900
|
+
}, Aa = () => {
|
|
901
901
|
const t = ne(ie);
|
|
902
902
|
return he(
|
|
903
903
|
(n, r, o) => {
|
|
904
|
-
|
|
904
|
+
Na[r]({
|
|
905
905
|
io: t,
|
|
906
906
|
layout: n,
|
|
907
907
|
setDefaultLayout: o
|
|
@@ -910,7 +910,7 @@ const ye = zn().where((t) => t.length > 0, "Expected a non-empty string"), aa =
|
|
|
910
910
|
[t]
|
|
911
911
|
);
|
|
912
912
|
};
|
|
913
|
-
var rn = {},
|
|
913
|
+
var rn = {}, Ra = {
|
|
914
914
|
get exports() {
|
|
915
915
|
return rn;
|
|
916
916
|
},
|
|
@@ -920,24 +920,24 @@ var rn = {}, Ia = {
|
|
|
920
920
|
};
|
|
921
921
|
(function(t, e) {
|
|
922
922
|
(function(n, r) {
|
|
923
|
-
var o = "1.0.35", i = "", s = "?", c = "function", l = "undefined", u = "object", f = "string", p = "major", d = "model", h = "name", m = "type", v = "vendor", g = "version", b = "architecture", x = "console", E = "mobile", O = "tablet", y = "smarttv",
|
|
923
|
+
var o = "1.0.35", i = "", s = "?", c = "function", l = "undefined", u = "object", f = "string", p = "major", d = "model", h = "name", m = "type", v = "vendor", g = "version", b = "architecture", x = "console", E = "mobile", O = "tablet", y = "smarttv", P = "wearable", I = "embedded", S = 350, N = "Amazon", L = "Apple", H = "ASUS", ae = "BlackBerry", re = "Browser", le = "Chrome", ke = "Edge", Q = "Firefox", oe = "Google", Pe = "Huawei", ve = "LG", k = "Microsoft", _ = "Motorola", M = "Opera", j = "Samsung", A = "Sharp", D = "Sony", R = "Xiaomi", U = "Zebra", V = "Facebook", $ = "Chromium OS", B = "Mac OS", se = function(Z, q) {
|
|
924
924
|
var F = {};
|
|
925
925
|
for (var ee in Z)
|
|
926
926
|
q[ee] && q[ee].length % 2 === 0 ? F[ee] = q[ee].concat(Z[ee]) : F[ee] = Z[ee];
|
|
927
927
|
return F;
|
|
928
|
-
},
|
|
928
|
+
}, T = function(Z) {
|
|
929
929
|
for (var q = {}, F = 0; F < Z.length; F++)
|
|
930
930
|
q[Z[F].toUpperCase()] = Z[F];
|
|
931
931
|
return q;
|
|
932
932
|
}, me = function(Z, q) {
|
|
933
|
-
return typeof Z === f ?
|
|
934
|
-
},
|
|
933
|
+
return typeof Z === f ? Te(q).indexOf(Te(Z)) !== -1 : !1;
|
|
934
|
+
}, Te = function(Z) {
|
|
935
935
|
return Z.toLowerCase();
|
|
936
936
|
}, dt = function(Z) {
|
|
937
937
|
return typeof Z === f ? Z.replace(/[^\d\.]/g, i).split(".")[0] : r;
|
|
938
938
|
}, ft = function(Z, q) {
|
|
939
939
|
if (typeof Z === f)
|
|
940
|
-
return Z = Z.replace(/^\s\s*/, i), typeof q === l ? Z : Z.substring(0,
|
|
940
|
+
return Z = Z.replace(/^\s\s*/, i), typeof q === l ? Z : Z.substring(0, S);
|
|
941
941
|
}, Ke = function(Z, q) {
|
|
942
942
|
for (var F = 0, ee, Ye, je, Y, W, Ue; F < q.length && !W; ) {
|
|
943
943
|
var En = q[F], Mr = q[F + 1];
|
|
@@ -947,7 +947,7 @@ var rn = {}, Ia = {
|
|
|
947
947
|
Ue = W[++Ye], Y = Mr[je], typeof Y === u && Y.length > 0 ? Y.length === 2 ? typeof Y[1] == c ? this[Y[0]] = Y[1].call(this, Ue) : this[Y[0]] = Y[1] : Y.length === 3 ? typeof Y[1] === c && !(Y[1].exec && Y[1].test) ? this[Y[0]] = Ue ? Y[1].call(this, Ue, Y[2]) : r : this[Y[0]] = Ue ? Ue.replace(Y[1], Y[2]) : r : Y.length === 4 && (this[Y[0]] = Ue ? Y[3].call(this, Ue.replace(Y[1], Y[2])) : r) : this[Y] = Ue || r;
|
|
948
948
|
F += 2;
|
|
949
949
|
}
|
|
950
|
-
},
|
|
950
|
+
}, Tt = function(Z, q) {
|
|
951
951
|
for (var F in q)
|
|
952
952
|
if (typeof q[F] === u && q[F].length > 0) {
|
|
953
953
|
for (var ee = 0; ee < q[F].length; ee++)
|
|
@@ -1140,7 +1140,7 @@ var rn = {}, Ia = {
|
|
|
1140
1140
|
/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i
|
|
1141
1141
|
// Facebook App for iOS & Android
|
|
1142
1142
|
],
|
|
1143
|
-
[[h,
|
|
1143
|
+
[[h, V], g],
|
|
1144
1144
|
[
|
|
1145
1145
|
/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
1146
1146
|
// Kakao App
|
|
@@ -1198,7 +1198,7 @@ var rn = {}, Ia = {
|
|
|
1198
1198
|
/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
|
|
1199
1199
|
// Safari < 3.0
|
|
1200
1200
|
],
|
|
1201
|
-
[h, [g,
|
|
1201
|
+
[h, [g, Tt, On]],
|
|
1202
1202
|
[
|
|
1203
1203
|
/(webkit|khtml)\/([\w\.]+)/i
|
|
1204
1204
|
],
|
|
@@ -1252,7 +1252,7 @@ var rn = {}, Ia = {
|
|
|
1252
1252
|
/(ia32(?=;))/i
|
|
1253
1253
|
// IA32 (quicktime)
|
|
1254
1254
|
],
|
|
1255
|
-
[[b,
|
|
1255
|
+
[[b, Te]],
|
|
1256
1256
|
[
|
|
1257
1257
|
/((?:i[346]|x)86)[;\)]/i
|
|
1258
1258
|
// IA32 (x86)
|
|
@@ -1277,7 +1277,7 @@ var rn = {}, Ia = {
|
|
|
1277
1277
|
/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i
|
|
1278
1278
|
// PowerPC
|
|
1279
1279
|
],
|
|
1280
|
-
[[b, /ower/, i,
|
|
1280
|
+
[[b, /ower/, i, Te]],
|
|
1281
1281
|
[
|
|
1282
1282
|
/(sun4\w)[;\)]/i
|
|
1283
1283
|
// SPARC
|
|
@@ -1287,7 +1287,7 @@ var rn = {}, Ia = {
|
|
|
1287
1287
|
/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i
|
|
1288
1288
|
// IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
|
|
1289
1289
|
],
|
|
1290
|
-
[[b,
|
|
1290
|
+
[[b, Te]]
|
|
1291
1291
|
],
|
|
1292
1292
|
device: [
|
|
1293
1293
|
[
|
|
@@ -1330,12 +1330,12 @@ var rn = {}, Ia = {
|
|
|
1330
1330
|
// Huawei
|
|
1331
1331
|
/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i
|
|
1332
1332
|
],
|
|
1333
|
-
[d, [v,
|
|
1333
|
+
[d, [v, Pe], [m, O]],
|
|
1334
1334
|
[
|
|
1335
1335
|
/(?:huawei|honor)([-\w ]+)[;\)]/i,
|
|
1336
1336
|
/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i
|
|
1337
1337
|
],
|
|
1338
|
-
[d, [v,
|
|
1338
|
+
[d, [v, Pe], [m, E]],
|
|
1339
1339
|
[
|
|
1340
1340
|
// Xiaomi
|
|
1341
1341
|
/\b(poco[\w ]+)(?: bui|\))/i,
|
|
@@ -1378,11 +1378,11 @@ var rn = {}, Ia = {
|
|
|
1378
1378
|
/\bmot(?:orola)?[- ](\w*)/i,
|
|
1379
1379
|
/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
|
|
1380
1380
|
],
|
|
1381
|
-
[d, [v,
|
|
1381
|
+
[d, [v, _], [m, E]],
|
|
1382
1382
|
[
|
|
1383
1383
|
/\b(mz60\d|xoom[2 ]{0,2}) build\//i
|
|
1384
1384
|
],
|
|
1385
|
-
[d, [v,
|
|
1385
|
+
[d, [v, _], [m, O]],
|
|
1386
1386
|
[
|
|
1387
1387
|
// LG
|
|
1388
1388
|
/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
|
|
@@ -1539,7 +1539,7 @@ var rn = {}, Ia = {
|
|
|
1539
1539
|
/(surface duo)/i
|
|
1540
1540
|
// Surface Duo
|
|
1541
1541
|
],
|
|
1542
|
-
[d, [v,
|
|
1542
|
+
[d, [v, k], [m, O]],
|
|
1543
1543
|
[
|
|
1544
1544
|
/droid [\d\.]+; (fp\du?)(?: b|\))/i
|
|
1545
1545
|
// Fairphone
|
|
@@ -1664,7 +1664,7 @@ var rn = {}, Ia = {
|
|
|
1664
1664
|
/(kin\.[onetw]{3})/i
|
|
1665
1665
|
// Microsoft Kin
|
|
1666
1666
|
],
|
|
1667
|
-
[[d, /\./g, " "], [v,
|
|
1667
|
+
[[d, /\./g, " "], [v, k], [m, E]],
|
|
1668
1668
|
[
|
|
1669
1669
|
/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
|
|
1670
1670
|
// Zebra
|
|
@@ -1763,7 +1763,7 @@ var rn = {}, Ia = {
|
|
|
1763
1763
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
1764
1764
|
// Microsoft Xbox
|
|
1765
1765
|
],
|
|
1766
|
-
[d, [v,
|
|
1766
|
+
[d, [v, k], [m, x]],
|
|
1767
1767
|
[
|
|
1768
1768
|
///////////////////
|
|
1769
1769
|
// WEARABLES
|
|
@@ -1771,26 +1771,26 @@ var rn = {}, Ia = {
|
|
|
1771
1771
|
/((pebble))app/i
|
|
1772
1772
|
// Pebble
|
|
1773
1773
|
],
|
|
1774
|
-
[v, d, [m,
|
|
1774
|
+
[v, d, [m, P]],
|
|
1775
1775
|
[
|
|
1776
1776
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1777
1777
|
// Apple Watch
|
|
1778
1778
|
],
|
|
1779
|
-
[d, [v, L], [m,
|
|
1779
|
+
[d, [v, L], [m, P]],
|
|
1780
1780
|
[
|
|
1781
1781
|
/droid.+; (glass) \d/i
|
|
1782
1782
|
// Google Glass
|
|
1783
1783
|
],
|
|
1784
|
-
[d, [v, oe], [m,
|
|
1784
|
+
[d, [v, oe], [m, P]],
|
|
1785
1785
|
[
|
|
1786
1786
|
/droid.+; (wt63?0{2,3})\)/i
|
|
1787
1787
|
],
|
|
1788
|
-
[d, [v, U], [m,
|
|
1788
|
+
[d, [v, U], [m, P]],
|
|
1789
1789
|
[
|
|
1790
1790
|
/(quest( 2| pro)?)/i
|
|
1791
1791
|
// Oculus Quest
|
|
1792
1792
|
],
|
|
1793
|
-
[d, [v,
|
|
1793
|
+
[d, [v, V], [m, P]],
|
|
1794
1794
|
[
|
|
1795
1795
|
///////////////////
|
|
1796
1796
|
// EMBEDDED
|
|
@@ -1838,7 +1838,7 @@ var rn = {}, Ia = {
|
|
|
1838
1838
|
/windows.+ edge\/([\w\.]+)/i
|
|
1839
1839
|
// EdgeHTML
|
|
1840
1840
|
],
|
|
1841
|
-
[g, [h,
|
|
1841
|
+
[g, [h, ke + "HTML"]],
|
|
1842
1842
|
[
|
|
1843
1843
|
/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i
|
|
1844
1844
|
// Blink
|
|
@@ -1878,11 +1878,11 @@ var rn = {}, Ia = {
|
|
|
1878
1878
|
// Windows Phone
|
|
1879
1879
|
/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i
|
|
1880
1880
|
],
|
|
1881
|
-
[h, [g,
|
|
1881
|
+
[h, [g, Tt, De]],
|
|
1882
1882
|
[
|
|
1883
1883
|
/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i
|
|
1884
1884
|
],
|
|
1885
|
-
[[h, "Windows"], [g,
|
|
1885
|
+
[[h, "Windows"], [g, Tt, De]],
|
|
1886
1886
|
[
|
|
1887
1887
|
// iOS/macOS
|
|
1888
1888
|
/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
@@ -2031,35 +2031,35 @@ var rn = {}, Ia = {
|
|
|
2031
2031
|
}, this.getUA = function() {
|
|
2032
2032
|
return ee;
|
|
2033
2033
|
}, this.setUA = function(W) {
|
|
2034
|
-
return ee = typeof W === f && W.length >
|
|
2034
|
+
return ee = typeof W === f && W.length > S ? ft(W, S) : W, this;
|
|
2035
2035
|
}, this.setUA(ee), this;
|
|
2036
2036
|
};
|
|
2037
|
-
ge.VERSION = o, ge.BROWSER =
|
|
2038
|
-
var
|
|
2039
|
-
if (
|
|
2037
|
+
ge.VERSION = o, ge.BROWSER = T([h, g, p]), ge.CPU = T([b]), ge.DEVICE = T([d, v, m, x, E, y, O, P, I]), ge.ENGINE = ge.OS = T([h, g]), t.exports && (e = t.exports = ge), e.UAParser = ge;
|
|
2038
|
+
var Ve = typeof n !== l && (n.jQuery || n.Zepto);
|
|
2039
|
+
if (Ve && !Ve.ua) {
|
|
2040
2040
|
var qe = new ge();
|
|
2041
|
-
|
|
2041
|
+
Ve.ua = qe.getResult(), Ve.ua.get = function() {
|
|
2042
2042
|
return qe.getUA();
|
|
2043
|
-
},
|
|
2043
|
+
}, Ve.ua.set = function(Z) {
|
|
2044
2044
|
qe.setUA(Z);
|
|
2045
2045
|
var q = qe.getResult();
|
|
2046
2046
|
for (var F in q)
|
|
2047
|
-
|
|
2047
|
+
Ve.ua[F] = q[F];
|
|
2048
2048
|
};
|
|
2049
2049
|
}
|
|
2050
|
-
})(typeof window == "object" ? window :
|
|
2051
|
-
})(
|
|
2052
|
-
const
|
|
2050
|
+
})(typeof window == "object" ? window : Gi);
|
|
2051
|
+
})(Ra, rn);
|
|
2052
|
+
const La = new rn.UAParser(), hr = () => Je.useMemo(() => La.getBrowser(), []);
|
|
2053
2053
|
var Ur = function(e) {
|
|
2054
2054
|
return e.reduce(function(n, r) {
|
|
2055
2055
|
var o = r[0], i = r[1];
|
|
2056
2056
|
return n[o] = i, n;
|
|
2057
2057
|
}, {});
|
|
2058
|
-
}, Fr = typeof window < "u" && window.document && window.document.createElement ? Je.useLayoutEffect : Je.useEffect, Ce = "top", Ie = "bottom", Ne = "right", Oe = "left", hn = "auto",
|
|
2058
|
+
}, Fr = typeof window < "u" && window.document && window.document.createElement ? Je.useLayoutEffect : Je.useEffect, Ce = "top", Ie = "bottom", Ne = "right", Oe = "left", hn = "auto", zt = [Ce, Ie, Ne, Oe], Ot = "start", Ft = "end", Ma = "clippingParents", Ko = "viewport", Nt = "popper", Da = "reference", Wr = /* @__PURE__ */ zt.reduce(function(t, e) {
|
|
2059
2059
|
return t.concat([e + "-" + Ot, e + "-" + Ft]);
|
|
2060
|
-
}, []), qo = /* @__PURE__ */ [].concat(
|
|
2060
|
+
}, []), qo = /* @__PURE__ */ [].concat(zt, [hn]).reduce(function(t, e) {
|
|
2061
2061
|
return t.concat([e, e + "-" + Ot, e + "-" + Ft]);
|
|
2062
|
-
}, []),
|
|
2062
|
+
}, []), ja = "beforeRead", Ua = "read", Fa = "afterRead", Wa = "beforeMain", Ha = "main", Va = "afterMain", za = "beforeWrite", Za = "write", Ba = "afterWrite", Bn = [ja, Ua, Fa, Wa, Ha, Va, za, Za, Ba];
|
|
2063
2063
|
function He(t) {
|
|
2064
2064
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
2065
2065
|
}
|
|
@@ -2076,7 +2076,7 @@ function ct(t) {
|
|
|
2076
2076
|
var e = Ae(t).Element;
|
|
2077
2077
|
return t instanceof e || t instanceof Element;
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2079
|
+
function Se(t) {
|
|
2080
2080
|
var e = Ae(t).HTMLElement;
|
|
2081
2081
|
return t instanceof e || t instanceof HTMLElement;
|
|
2082
2082
|
}
|
|
@@ -2086,17 +2086,17 @@ function mr(t) {
|
|
|
2086
2086
|
var e = Ae(t).ShadowRoot;
|
|
2087
2087
|
return t instanceof e || t instanceof ShadowRoot;
|
|
2088
2088
|
}
|
|
2089
|
-
function
|
|
2089
|
+
function $a(t) {
|
|
2090
2090
|
var e = t.state;
|
|
2091
2091
|
Object.keys(e.elements).forEach(function(n) {
|
|
2092
2092
|
var r = e.styles[n] || {}, o = e.attributes[n] || {}, i = e.elements[n];
|
|
2093
|
-
!
|
|
2093
|
+
!Se(i) || !He(i) || (Object.assign(i.style, r), Object.keys(o).forEach(function(s) {
|
|
2094
2094
|
var c = o[s];
|
|
2095
2095
|
c === !1 ? i.removeAttribute(s) : i.setAttribute(s, c === !0 ? "" : c);
|
|
2096
2096
|
}));
|
|
2097
2097
|
});
|
|
2098
2098
|
}
|
|
2099
|
-
function
|
|
2099
|
+
function Ga(t) {
|
|
2100
2100
|
var e = t.state, n = {
|
|
2101
2101
|
popper: {
|
|
2102
2102
|
position: e.options.strategy,
|
|
@@ -2114,18 +2114,18 @@ function Za(t) {
|
|
|
2114
2114
|
var o = e.elements[r], i = e.attributes[r] || {}, s = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : n[r]), c = s.reduce(function(l, u) {
|
|
2115
2115
|
return l[u] = "", l;
|
|
2116
2116
|
}, {});
|
|
2117
|
-
!
|
|
2117
|
+
!Se(o) || !He(o) || (Object.assign(o.style, c), Object.keys(i).forEach(function(l) {
|
|
2118
2118
|
o.removeAttribute(l);
|
|
2119
2119
|
}));
|
|
2120
2120
|
});
|
|
2121
2121
|
};
|
|
2122
2122
|
}
|
|
2123
|
-
const
|
|
2123
|
+
const Ka = {
|
|
2124
2124
|
name: "applyStyles",
|
|
2125
2125
|
enabled: !0,
|
|
2126
2126
|
phase: "write",
|
|
2127
|
-
fn:
|
|
2128
|
-
effect:
|
|
2127
|
+
fn: $a,
|
|
2128
|
+
effect: Ga,
|
|
2129
2129
|
requires: ["computeStyles"]
|
|
2130
2130
|
};
|
|
2131
2131
|
function Re(t) {
|
|
@@ -2144,7 +2144,7 @@ function Yo() {
|
|
|
2144
2144
|
function xt(t, e, n) {
|
|
2145
2145
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
2146
2146
|
var r = t.getBoundingClientRect(), o = 1, i = 1;
|
|
2147
|
-
e &&
|
|
2147
|
+
e && Se(t) && (o = t.offsetWidth > 0 && Et(r.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && Et(r.height) / t.offsetHeight || 1);
|
|
2148
2148
|
var s = ct(t) ? Ae(t) : window, c = s.visualViewport, l = !Yo() && n, u = (r.left + (l && c ? c.offsetLeft : 0)) / o, f = (r.top + (l && c ? c.offsetTop : 0)) / i, p = r.width / o, d = r.height / i;
|
|
2149
2149
|
return {
|
|
2150
2150
|
width: p,
|
|
@@ -2183,7 +2183,7 @@ function Xo(t, e) {
|
|
|
2183
2183
|
function Me(t) {
|
|
2184
2184
|
return Ae(t).getComputedStyle(t);
|
|
2185
2185
|
}
|
|
2186
|
-
function
|
|
2186
|
+
function qa(t) {
|
|
2187
2187
|
return ["table", "td", "th"].indexOf(He(t)) >= 0;
|
|
2188
2188
|
}
|
|
2189
2189
|
function Qe(t) {
|
|
@@ -2205,18 +2205,18 @@ function mn(t) {
|
|
|
2205
2205
|
);
|
|
2206
2206
|
}
|
|
2207
2207
|
function Hr(t) {
|
|
2208
|
-
return !
|
|
2208
|
+
return !Se(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
2209
2209
|
Me(t).position === "fixed" ? null : t.offsetParent;
|
|
2210
2210
|
}
|
|
2211
|
-
function
|
|
2211
|
+
function Ya(t) {
|
|
2212
2212
|
var e = /firefox/i.test($n()), n = /Trident/i.test($n());
|
|
2213
|
-
if (n &&
|
|
2213
|
+
if (n && Se(t)) {
|
|
2214
2214
|
var r = Me(t);
|
|
2215
2215
|
if (r.position === "fixed")
|
|
2216
2216
|
return null;
|
|
2217
2217
|
}
|
|
2218
2218
|
var o = mn(t);
|
|
2219
|
-
for (mr(o) && (o = o.host);
|
|
2219
|
+
for (mr(o) && (o = o.host); Se(o) && ["html", "body"].indexOf(He(o)) < 0; ) {
|
|
2220
2220
|
var i = Me(o);
|
|
2221
2221
|
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
|
|
2222
2222
|
return o;
|
|
@@ -2225,9 +2225,9 @@ function Ga(t) {
|
|
|
2225
2225
|
return null;
|
|
2226
2226
|
}
|
|
2227
2227
|
function Zt(t) {
|
|
2228
|
-
for (var e = Ae(t), n = Hr(t); n &&
|
|
2228
|
+
for (var e = Ae(t), n = Hr(t); n && qa(n) && Me(n).position === "static"; )
|
|
2229
2229
|
n = Hr(n);
|
|
2230
|
-
return n && (He(n) === "html" || He(n) === "body" && Me(n).position === "static") ? e : n ||
|
|
2230
|
+
return n && (He(n) === "html" || He(n) === "body" && Me(n).position === "static") ? e : n || Ya(t) || e;
|
|
2231
2231
|
}
|
|
2232
2232
|
function gr(t) {
|
|
2233
2233
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
@@ -2235,7 +2235,7 @@ function gr(t) {
|
|
|
2235
2235
|
function Dt(t, e, n) {
|
|
2236
2236
|
return st(t, on(e, n));
|
|
2237
2237
|
}
|
|
2238
|
-
function
|
|
2238
|
+
function Xa(t, e, n) {
|
|
2239
2239
|
var r = Dt(t, e, n);
|
|
2240
2240
|
return r > n ? n : r;
|
|
2241
2241
|
}
|
|
@@ -2255,54 +2255,54 @@ function ei(t, e) {
|
|
|
2255
2255
|
return n[r] = t, n;
|
|
2256
2256
|
}, {});
|
|
2257
2257
|
}
|
|
2258
|
-
var
|
|
2258
|
+
var Ja = function(e, n) {
|
|
2259
2259
|
return e = typeof e == "function" ? e(Object.assign({}, n.rects, {
|
|
2260
2260
|
placement: n.placement
|
|
2261
|
-
})) : e, Qo(typeof e != "number" ? e : ei(e,
|
|
2261
|
+
})) : e, Qo(typeof e != "number" ? e : ei(e, zt));
|
|
2262
2262
|
};
|
|
2263
|
-
function
|
|
2263
|
+
function Qa(t) {
|
|
2264
2264
|
var e, n = t.state, r = t.name, o = t.options, i = n.elements.arrow, s = n.modifiersData.popperOffsets, c = Re(n.placement), l = gr(c), u = [Oe, Ne].indexOf(c) >= 0, f = u ? "height" : "width";
|
|
2265
2265
|
if (!(!i || !s)) {
|
|
2266
|
-
var p =
|
|
2267
|
-
n.modifiersData[r] = (e = {}, e[
|
|
2266
|
+
var p = Ja(o.padding, n), d = vr(i), h = l === "y" ? Ce : Oe, m = l === "y" ? Ie : Ne, v = n.rects.reference[f] + n.rects.reference[l] - s[l] - n.rects.popper[f], g = s[l] - n.rects.reference[l], b = Zt(i), x = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, E = v / 2 - g / 2, O = p[h], y = x - d[f] - p[m], P = x / 2 - d[f] / 2 + E, I = Dt(O, P, y), S = l;
|
|
2267
|
+
n.modifiersData[r] = (e = {}, e[S] = I, e.centerOffset = I - P, e);
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
|
-
function
|
|
2270
|
+
function es(t) {
|
|
2271
2271
|
var e = t.state, n = t.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
|
|
2272
2272
|
if (o != null && !(typeof o == "string" && (o = e.elements.popper.querySelector(o), !o))) {
|
|
2273
|
-
if (process.env.NODE_ENV !== "production" && (
|
|
2273
|
+
if (process.env.NODE_ENV !== "production" && (Se(o) || console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', "To use an SVG arrow, wrap it in an HTMLElement that will be used as", "the arrow."].join(" "))), !Xo(e.elements.popper, o)) {
|
|
2274
2274
|
process.env.NODE_ENV !== "production" && console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', "element."].join(" "));
|
|
2275
2275
|
return;
|
|
2276
2276
|
}
|
|
2277
2277
|
e.elements.arrow = o;
|
|
2278
2278
|
}
|
|
2279
2279
|
}
|
|
2280
|
-
const
|
|
2280
|
+
const ts = {
|
|
2281
2281
|
name: "arrow",
|
|
2282
2282
|
enabled: !0,
|
|
2283
2283
|
phase: "main",
|
|
2284
|
-
fn:
|
|
2285
|
-
effect:
|
|
2284
|
+
fn: Qa,
|
|
2285
|
+
effect: es,
|
|
2286
2286
|
requires: ["popperOffsets"],
|
|
2287
2287
|
requiresIfExists: ["preventOverflow"]
|
|
2288
2288
|
};
|
|
2289
|
-
function
|
|
2289
|
+
function kt(t) {
|
|
2290
2290
|
return t.split("-")[1];
|
|
2291
2291
|
}
|
|
2292
|
-
var
|
|
2292
|
+
var ns = {
|
|
2293
2293
|
top: "auto",
|
|
2294
2294
|
right: "auto",
|
|
2295
2295
|
bottom: "auto",
|
|
2296
2296
|
left: "auto"
|
|
2297
2297
|
};
|
|
2298
|
-
function
|
|
2298
|
+
function rs(t) {
|
|
2299
2299
|
var e = t.x, n = t.y, r = window, o = r.devicePixelRatio || 1;
|
|
2300
2300
|
return {
|
|
2301
2301
|
x: Et(e * o) / o || 0,
|
|
2302
2302
|
y: Et(n * o) / o || 0
|
|
2303
2303
|
};
|
|
2304
2304
|
}
|
|
2305
|
-
function
|
|
2305
|
+
function Vr(t) {
|
|
2306
2306
|
var e, n = t.popper, r = t.popperRect, o = t.placement, i = t.variation, s = t.offsets, c = t.position, l = t.gpuAcceleration, u = t.adaptive, f = t.roundOffsets, p = t.isFixed, d = s.x, h = d === void 0 ? 0 : d, m = s.y, v = m === void 0 ? 0 : m, g = typeof f == "function" ? f({
|
|
2307
2307
|
x: h,
|
|
2308
2308
|
y: v
|
|
@@ -2313,27 +2313,27 @@ function zr(t) {
|
|
|
2313
2313
|
h = g.x, v = g.y;
|
|
2314
2314
|
var b = s.hasOwnProperty("x"), x = s.hasOwnProperty("y"), E = Oe, O = Ce, y = window;
|
|
2315
2315
|
if (u) {
|
|
2316
|
-
var
|
|
2317
|
-
if (
|
|
2316
|
+
var P = Zt(n), I = "clientHeight", S = "clientWidth";
|
|
2317
|
+
if (P === Ae(n) && (P = Qe(n), Me(P).position !== "static" && c === "absolute" && (I = "scrollHeight", S = "scrollWidth")), P = P, o === Ce || (o === Oe || o === Ne) && i === Ft) {
|
|
2318
2318
|
O = Ie;
|
|
2319
|
-
var N = p &&
|
|
2319
|
+
var N = p && P === y && y.visualViewport ? y.visualViewport.height : (
|
|
2320
2320
|
// $FlowFixMe[prop-missing]
|
|
2321
|
-
|
|
2321
|
+
P[I]
|
|
2322
2322
|
);
|
|
2323
2323
|
v -= N - r.height, v *= l ? 1 : -1;
|
|
2324
2324
|
}
|
|
2325
2325
|
if (o === Oe || (o === Ce || o === Ie) && i === Ft) {
|
|
2326
2326
|
E = Ne;
|
|
2327
|
-
var L = p &&
|
|
2327
|
+
var L = p && P === y && y.visualViewport ? y.visualViewport.width : (
|
|
2328
2328
|
// $FlowFixMe[prop-missing]
|
|
2329
|
-
|
|
2329
|
+
P[S]
|
|
2330
2330
|
);
|
|
2331
2331
|
h -= L - r.width, h *= l ? 1 : -1;
|
|
2332
2332
|
}
|
|
2333
2333
|
}
|
|
2334
2334
|
var H = Object.assign({
|
|
2335
2335
|
position: c
|
|
2336
|
-
}, u &&
|
|
2336
|
+
}, u && ns), ae = f === !0 ? rs({
|
|
2337
2337
|
x: h,
|
|
2338
2338
|
y: v
|
|
2339
2339
|
}) : {
|
|
@@ -2346,7 +2346,7 @@ function zr(t) {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
return Object.assign({}, H, (e = {}, e[O] = x ? v + "px" : "", e[E] = b ? h + "px" : "", e.transform = "", e));
|
|
2348
2348
|
}
|
|
2349
|
-
function
|
|
2349
|
+
function os(t) {
|
|
2350
2350
|
var e = t.state, n = t.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, i = n.adaptive, s = i === void 0 ? !0 : i, c = n.roundOffsets, l = c === void 0 ? !0 : c;
|
|
2351
2351
|
if (process.env.NODE_ENV !== "production") {
|
|
2352
2352
|
var u = Me(e.elements.popper).transitionProperty || "";
|
|
@@ -2360,18 +2360,18 @@ function ts(t) {
|
|
|
2360
2360
|
}
|
|
2361
2361
|
var f = {
|
|
2362
2362
|
placement: Re(e.placement),
|
|
2363
|
-
variation:
|
|
2363
|
+
variation: kt(e.placement),
|
|
2364
2364
|
popper: e.elements.popper,
|
|
2365
2365
|
popperRect: e.rects.popper,
|
|
2366
2366
|
gpuAcceleration: o,
|
|
2367
2367
|
isFixed: e.options.strategy === "fixed"
|
|
2368
2368
|
};
|
|
2369
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
2369
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Vr(Object.assign({}, f, {
|
|
2370
2370
|
offsets: e.modifiersData.popperOffsets,
|
|
2371
2371
|
position: e.options.strategy,
|
|
2372
2372
|
adaptive: s,
|
|
2373
2373
|
roundOffsets: l
|
|
2374
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
2374
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Vr(Object.assign({}, f, {
|
|
2375
2375
|
offsets: e.modifiersData.arrow,
|
|
2376
2376
|
position: "absolute",
|
|
2377
2377
|
adaptive: !1,
|
|
@@ -2380,17 +2380,17 @@ function ts(t) {
|
|
|
2380
2380
|
"data-popper-placement": e.placement
|
|
2381
2381
|
});
|
|
2382
2382
|
}
|
|
2383
|
-
const
|
|
2383
|
+
const is = {
|
|
2384
2384
|
name: "computeStyles",
|
|
2385
2385
|
enabled: !0,
|
|
2386
2386
|
phase: "beforeWrite",
|
|
2387
|
-
fn:
|
|
2387
|
+
fn: os,
|
|
2388
2388
|
data: {}
|
|
2389
2389
|
};
|
|
2390
2390
|
var qt = {
|
|
2391
2391
|
passive: !0
|
|
2392
2392
|
};
|
|
2393
|
-
function
|
|
2393
|
+
function as(t) {
|
|
2394
2394
|
var e = t.state, n = t.instance, r = t.options, o = r.scroll, i = o === void 0 ? !0 : o, s = r.resize, c = s === void 0 ? !0 : s, l = Ae(e.elements.popper), u = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
2395
2395
|
return i && u.forEach(function(f) {
|
|
2396
2396
|
f.addEventListener("scroll", n.update, qt);
|
|
@@ -2400,16 +2400,16 @@ function rs(t) {
|
|
|
2400
2400
|
}), c && l.removeEventListener("resize", n.update, qt);
|
|
2401
2401
|
};
|
|
2402
2402
|
}
|
|
2403
|
-
const
|
|
2403
|
+
const ss = {
|
|
2404
2404
|
name: "eventListeners",
|
|
2405
2405
|
enabled: !0,
|
|
2406
2406
|
phase: "write",
|
|
2407
2407
|
fn: function() {
|
|
2408
2408
|
},
|
|
2409
|
-
effect:
|
|
2409
|
+
effect: as,
|
|
2410
2410
|
data: {}
|
|
2411
2411
|
};
|
|
2412
|
-
var
|
|
2412
|
+
var cs = {
|
|
2413
2413
|
left: "right",
|
|
2414
2414
|
right: "left",
|
|
2415
2415
|
bottom: "top",
|
|
@@ -2417,16 +2417,16 @@ var is = {
|
|
|
2417
2417
|
};
|
|
2418
2418
|
function Jt(t) {
|
|
2419
2419
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
2420
|
-
return
|
|
2420
|
+
return cs[e];
|
|
2421
2421
|
});
|
|
2422
2422
|
}
|
|
2423
|
-
var
|
|
2423
|
+
var ls = {
|
|
2424
2424
|
start: "end",
|
|
2425
2425
|
end: "start"
|
|
2426
2426
|
};
|
|
2427
|
-
function
|
|
2427
|
+
function zr(t) {
|
|
2428
2428
|
return t.replace(/start|end/g, function(e) {
|
|
2429
|
-
return
|
|
2429
|
+
return ls[e];
|
|
2430
2430
|
});
|
|
2431
2431
|
}
|
|
2432
2432
|
function yr(t) {
|
|
@@ -2439,7 +2439,7 @@ function yr(t) {
|
|
|
2439
2439
|
function br(t) {
|
|
2440
2440
|
return xt(Qe(t)).left + yr(t).scrollLeft;
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2442
|
+
function us(t, e) {
|
|
2443
2443
|
var n = Ae(t), r = Qe(t), o = n.visualViewport, i = r.clientWidth, s = r.clientHeight, c = 0, l = 0;
|
|
2444
2444
|
if (o) {
|
|
2445
2445
|
i = o.width, s = o.height;
|
|
@@ -2453,7 +2453,7 @@ function ss(t, e) {
|
|
|
2453
2453
|
y: l
|
|
2454
2454
|
};
|
|
2455
2455
|
}
|
|
2456
|
-
function
|
|
2456
|
+
function ds(t) {
|
|
2457
2457
|
var e, n = Qe(t), r = yr(t), o = (e = t.ownerDocument) == null ? void 0 : e.body, i = st(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), s = st(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), c = -r.scrollLeft + br(t), l = -r.scrollTop;
|
|
2458
2458
|
return Me(o || n).direction === "rtl" && (c += st(n.clientWidth, o ? o.clientWidth : 0) - i), {
|
|
2459
2459
|
width: i,
|
|
@@ -2467,7 +2467,7 @@ function wr(t) {
|
|
|
2467
2467
|
return /auto|scroll|overlay|hidden/.test(n + o + r);
|
|
2468
2468
|
}
|
|
2469
2469
|
function ti(t) {
|
|
2470
|
-
return ["html", "body", "#document"].indexOf(He(t)) >= 0 ? t.ownerDocument.body :
|
|
2470
|
+
return ["html", "body", "#document"].indexOf(He(t)) >= 0 ? t.ownerDocument.body : Se(t) && wr(t) ? t : ti(mn(t));
|
|
2471
2471
|
}
|
|
2472
2472
|
function jt(t, e) {
|
|
2473
2473
|
var n;
|
|
@@ -2486,28 +2486,28 @@ function Gn(t) {
|
|
|
2486
2486
|
bottom: t.y + t.height
|
|
2487
2487
|
});
|
|
2488
2488
|
}
|
|
2489
|
-
function
|
|
2489
|
+
function fs(t, e) {
|
|
2490
2490
|
var n = xt(t, !1, e === "fixed");
|
|
2491
2491
|
return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
2492
2492
|
}
|
|
2493
2493
|
function Zr(t, e, n) {
|
|
2494
|
-
return e === Ko ? Gn(
|
|
2494
|
+
return e === Ko ? Gn(us(t, n)) : ct(e) ? fs(e, n) : Gn(ds(Qe(t)));
|
|
2495
2495
|
}
|
|
2496
|
-
function
|
|
2497
|
-
var e = jt(mn(t)), n = ["absolute", "fixed"].indexOf(Me(t).position) >= 0, r = n &&
|
|
2496
|
+
function ps(t) {
|
|
2497
|
+
var e = jt(mn(t)), n = ["absolute", "fixed"].indexOf(Me(t).position) >= 0, r = n && Se(t) ? Zt(t) : t;
|
|
2498
2498
|
return ct(r) ? e.filter(function(o) {
|
|
2499
2499
|
return ct(o) && Xo(o, r) && He(o) !== "body";
|
|
2500
2500
|
}) : [];
|
|
2501
2501
|
}
|
|
2502
|
-
function
|
|
2503
|
-
var o = e === "clippingParents" ?
|
|
2502
|
+
function hs(t, e, n, r) {
|
|
2503
|
+
var o = e === "clippingParents" ? ps(t) : [].concat(e), i = [].concat(o, [n]), s = i[0], c = i.reduce(function(l, u) {
|
|
2504
2504
|
var f = Zr(t, u, r);
|
|
2505
2505
|
return l.top = st(f.top, l.top), l.right = on(f.right, l.right), l.bottom = on(f.bottom, l.bottom), l.left = st(f.left, l.left), l;
|
|
2506
2506
|
}, Zr(t, s, r));
|
|
2507
2507
|
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
2508
2508
|
}
|
|
2509
2509
|
function ni(t) {
|
|
2510
|
-
var e = t.reference, n = t.element, r = t.placement, o = r ? Re(r) : null, i = r ?
|
|
2510
|
+
var e = t.reference, n = t.element, r = t.placement, o = r ? Re(r) : null, i = r ? kt(r) : null, s = e.x + e.width / 2 - n.width / 2, c = e.y + e.height / 2 - n.height / 2, l;
|
|
2511
2511
|
switch (o) {
|
|
2512
2512
|
case Ce:
|
|
2513
2513
|
l = {
|
|
@@ -2555,12 +2555,12 @@ function ni(t) {
|
|
|
2555
2555
|
}
|
|
2556
2556
|
function Wt(t, e) {
|
|
2557
2557
|
e === void 0 && (e = {});
|
|
2558
|
-
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, c = n.boundary, l = c === void 0 ?
|
|
2559
|
-
reference:
|
|
2558
|
+
var n = e, r = n.placement, o = r === void 0 ? t.placement : r, i = n.strategy, s = i === void 0 ? t.strategy : i, c = n.boundary, l = c === void 0 ? Ma : c, u = n.rootBoundary, f = u === void 0 ? Ko : u, p = n.elementContext, d = p === void 0 ? Nt : p, h = n.altBoundary, m = h === void 0 ? !1 : h, v = n.padding, g = v === void 0 ? 0 : v, b = Qo(typeof g != "number" ? g : ei(g, zt)), x = d === Nt ? Da : Nt, E = t.rects.popper, O = t.elements[m ? x : d], y = hs(ct(O) ? O : O.contextElement || Qe(t.elements.popper), l, f, s), P = xt(t.elements.reference), I = ni({
|
|
2559
|
+
reference: P,
|
|
2560
2560
|
element: E,
|
|
2561
2561
|
strategy: "absolute",
|
|
2562
2562
|
placement: o
|
|
2563
|
-
}),
|
|
2563
|
+
}), S = Gn(Object.assign({}, E, I)), N = d === Nt ? S : P, L = {
|
|
2564
2564
|
top: y.top - N.top + b.top,
|
|
2565
2565
|
bottom: N.bottom - y.bottom + b.bottom,
|
|
2566
2566
|
left: y.left - N.left + b.left,
|
|
@@ -2569,17 +2569,17 @@ function Wt(t, e) {
|
|
|
2569
2569
|
if (d === Nt && H) {
|
|
2570
2570
|
var ae = H[o];
|
|
2571
2571
|
Object.keys(L).forEach(function(re) {
|
|
2572
|
-
var le = [Ne, Ie].indexOf(re) >= 0 ? 1 : -1,
|
|
2573
|
-
L[re] += ae[
|
|
2572
|
+
var le = [Ne, Ie].indexOf(re) >= 0 ? 1 : -1, ke = [Ce, Ie].indexOf(re) >= 0 ? "y" : "x";
|
|
2573
|
+
L[re] += ae[ke] * le;
|
|
2574
2574
|
});
|
|
2575
2575
|
}
|
|
2576
2576
|
return L;
|
|
2577
2577
|
}
|
|
2578
|
-
function
|
|
2578
|
+
function ms(t, e) {
|
|
2579
2579
|
e === void 0 && (e = {});
|
|
2580
|
-
var n = e, r = n.placement, o = n.boundary, i = n.rootBoundary, s = n.padding, c = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ? qo : l, f =
|
|
2581
|
-
return
|
|
2582
|
-
}) :
|
|
2580
|
+
var n = e, r = n.placement, o = n.boundary, i = n.rootBoundary, s = n.padding, c = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ? qo : l, f = kt(r), p = f ? c ? Wr : Wr.filter(function(m) {
|
|
2581
|
+
return kt(m) === f;
|
|
2582
|
+
}) : zt, d = p.filter(function(m) {
|
|
2583
2583
|
return u.indexOf(m) >= 0;
|
|
2584
2584
|
});
|
|
2585
2585
|
d.length === 0 && (d = p, process.env.NODE_ENV !== "production" && console.error(["Popper: The `allowedAutoPlacements` option did not allow any", "placements. Ensure the `placement` option matches the variation", "of the allowed placements.", 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(" ")));
|
|
@@ -2595,17 +2595,17 @@ function fs(t, e) {
|
|
|
2595
2595
|
return h[m] - h[v];
|
|
2596
2596
|
});
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2598
|
+
function vs(t) {
|
|
2599
2599
|
if (Re(t) === hn)
|
|
2600
2600
|
return [];
|
|
2601
2601
|
var e = Jt(t);
|
|
2602
|
-
return [
|
|
2602
|
+
return [zr(t), e, zr(e)];
|
|
2603
2603
|
}
|
|
2604
|
-
function
|
|
2604
|
+
function gs(t) {
|
|
2605
2605
|
var e = t.state, n = t.options, r = t.name;
|
|
2606
2606
|
if (!e.modifiersData[r]._skip) {
|
|
2607
|
-
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, c = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, f = n.boundary, p = n.rootBoundary, d = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, v = n.allowedAutoPlacements, g = e.options.placement, b = Re(g), x = b === g, E = l || (x || !m ? [Jt(g)] :
|
|
2608
|
-
return A.concat(Re(D) === hn ?
|
|
2607
|
+
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, c = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, f = n.boundary, p = n.rootBoundary, d = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, v = n.allowedAutoPlacements, g = e.options.placement, b = Re(g), x = b === g, E = l || (x || !m ? [Jt(g)] : vs(g)), O = [g].concat(E).reduce(function(A, D) {
|
|
2608
|
+
return A.concat(Re(D) === hn ? ms(e, {
|
|
2609
2609
|
placement: D,
|
|
2610
2610
|
boundary: f,
|
|
2611
2611
|
rootBoundary: p,
|
|
@@ -2613,48 +2613,48 @@ function hs(t) {
|
|
|
2613
2613
|
flipVariations: m,
|
|
2614
2614
|
allowedAutoPlacements: v
|
|
2615
2615
|
}) : D);
|
|
2616
|
-
}, []), y = e.rects.reference,
|
|
2617
|
-
var H = O[L], ae = Re(H), re =
|
|
2616
|
+
}, []), y = e.rects.reference, P = e.rects.popper, I = /* @__PURE__ */ new Map(), S = !0, N = O[0], L = 0; L < O.length; L++) {
|
|
2617
|
+
var H = O[L], ae = Re(H), re = kt(H) === Ot, le = [Ce, Ie].indexOf(ae) >= 0, ke = le ? "width" : "height", Q = Wt(e, {
|
|
2618
2618
|
placement: H,
|
|
2619
2619
|
boundary: f,
|
|
2620
2620
|
rootBoundary: p,
|
|
2621
2621
|
altBoundary: d,
|
|
2622
2622
|
padding: u
|
|
2623
2623
|
}), oe = le ? re ? Ne : Oe : re ? Ie : Ce;
|
|
2624
|
-
y[
|
|
2625
|
-
var
|
|
2626
|
-
if (i && ve.push(Q[ae] <= 0), c && ve.push(Q[oe] <= 0, Q[
|
|
2624
|
+
y[ke] > P[ke] && (oe = Jt(oe));
|
|
2625
|
+
var Pe = Jt(oe), ve = [];
|
|
2626
|
+
if (i && ve.push(Q[ae] <= 0), c && ve.push(Q[oe] <= 0, Q[Pe] <= 0), ve.every(function(A) {
|
|
2627
2627
|
return A;
|
|
2628
2628
|
})) {
|
|
2629
|
-
N = H,
|
|
2629
|
+
N = H, S = !1;
|
|
2630
2630
|
break;
|
|
2631
2631
|
}
|
|
2632
2632
|
I.set(H, ve);
|
|
2633
2633
|
}
|
|
2634
|
-
if (
|
|
2635
|
-
for (var
|
|
2634
|
+
if (S)
|
|
2635
|
+
for (var k = m ? 3 : 1, _ = function(D) {
|
|
2636
2636
|
var R = O.find(function(U) {
|
|
2637
|
-
var
|
|
2638
|
-
if (
|
|
2639
|
-
return
|
|
2637
|
+
var V = I.get(U);
|
|
2638
|
+
if (V)
|
|
2639
|
+
return V.slice(0, D).every(function($) {
|
|
2640
2640
|
return $;
|
|
2641
2641
|
});
|
|
2642
2642
|
});
|
|
2643
2643
|
if (R)
|
|
2644
2644
|
return N = R, "break";
|
|
2645
|
-
}, M =
|
|
2646
|
-
var j =
|
|
2645
|
+
}, M = k; M > 0; M--) {
|
|
2646
|
+
var j = _(M);
|
|
2647
2647
|
if (j === "break")
|
|
2648
2648
|
break;
|
|
2649
2649
|
}
|
|
2650
2650
|
e.placement !== N && (e.modifiersData[r]._skip = !0, e.placement = N, e.reset = !0);
|
|
2651
2651
|
}
|
|
2652
2652
|
}
|
|
2653
|
-
const
|
|
2653
|
+
const ys = {
|
|
2654
2654
|
name: "flip",
|
|
2655
2655
|
enabled: !0,
|
|
2656
2656
|
phase: "main",
|
|
2657
|
-
fn:
|
|
2657
|
+
fn: gs,
|
|
2658
2658
|
requiresIfExists: ["offset"],
|
|
2659
2659
|
data: {
|
|
2660
2660
|
_skip: !1
|
|
@@ -2676,7 +2676,7 @@ function $r(t) {
|
|
|
2676
2676
|
return t[e] >= 0;
|
|
2677
2677
|
});
|
|
2678
2678
|
}
|
|
2679
|
-
function
|
|
2679
|
+
function bs(t) {
|
|
2680
2680
|
var e = t.state, n = t.name, r = e.rects.reference, o = e.rects.popper, i = e.modifiersData.preventOverflow, s = Wt(e, {
|
|
2681
2681
|
elementContext: "reference"
|
|
2682
2682
|
}), c = Wt(e, {
|
|
@@ -2692,14 +2692,14 @@ function vs(t) {
|
|
|
2692
2692
|
"data-popper-escaped": p
|
|
2693
2693
|
});
|
|
2694
2694
|
}
|
|
2695
|
-
const
|
|
2695
|
+
const ws = {
|
|
2696
2696
|
name: "hide",
|
|
2697
2697
|
enabled: !0,
|
|
2698
2698
|
phase: "main",
|
|
2699
2699
|
requiresIfExists: ["preventOverflow"],
|
|
2700
|
-
fn:
|
|
2700
|
+
fn: bs
|
|
2701
2701
|
};
|
|
2702
|
-
function
|
|
2702
|
+
function Cs(t, e, n) {
|
|
2703
2703
|
var r = Re(t), o = [Oe, Ce].indexOf(r) >= 0 ? -1 : 1, i = typeof n == "function" ? n(Object.assign({}, e, {
|
|
2704
2704
|
placement: t
|
|
2705
2705
|
})) : n, s = i[0], c = i[1];
|
|
@@ -2711,20 +2711,20 @@ function ys(t, e, n) {
|
|
|
2711
2711
|
y: c
|
|
2712
2712
|
};
|
|
2713
2713
|
}
|
|
2714
|
-
function
|
|
2714
|
+
function Os(t) {
|
|
2715
2715
|
var e = t.state, n = t.options, r = t.name, o = n.offset, i = o === void 0 ? [0, 0] : o, s = qo.reduce(function(f, p) {
|
|
2716
|
-
return f[p] =
|
|
2716
|
+
return f[p] = Cs(p, e.rects, i), f;
|
|
2717
2717
|
}, {}), c = s[e.placement], l = c.x, u = c.y;
|
|
2718
2718
|
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += u), e.modifiersData[r] = s;
|
|
2719
2719
|
}
|
|
2720
|
-
const
|
|
2720
|
+
const Es = {
|
|
2721
2721
|
name: "offset",
|
|
2722
2722
|
enabled: !0,
|
|
2723
2723
|
phase: "main",
|
|
2724
2724
|
requires: ["popperOffsets"],
|
|
2725
|
-
fn:
|
|
2725
|
+
fn: Os
|
|
2726
2726
|
};
|
|
2727
|
-
function
|
|
2727
|
+
function xs(t) {
|
|
2728
2728
|
var e = t.state, n = t.name;
|
|
2729
2729
|
e.modifiersData[n] = ni({
|
|
2730
2730
|
reference: e.rects.reference,
|
|
@@ -2733,23 +2733,23 @@ function Cs(t) {
|
|
|
2733
2733
|
placement: e.placement
|
|
2734
2734
|
});
|
|
2735
2735
|
}
|
|
2736
|
-
const
|
|
2736
|
+
const ks = {
|
|
2737
2737
|
name: "popperOffsets",
|
|
2738
2738
|
enabled: !0,
|
|
2739
2739
|
phase: "read",
|
|
2740
|
-
fn:
|
|
2740
|
+
fn: xs,
|
|
2741
2741
|
data: {}
|
|
2742
2742
|
};
|
|
2743
|
-
function
|
|
2743
|
+
function Ss(t) {
|
|
2744
2744
|
return t === "x" ? "y" : "x";
|
|
2745
2745
|
}
|
|
2746
|
-
function
|
|
2746
|
+
function Ps(t) {
|
|
2747
2747
|
var e = t.state, n = t.options, r = t.name, o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, c = s === void 0 ? !1 : s, l = n.boundary, u = n.rootBoundary, f = n.altBoundary, p = n.padding, d = n.tether, h = d === void 0 ? !0 : d, m = n.tetherOffset, v = m === void 0 ? 0 : m, g = Wt(e, {
|
|
2748
2748
|
boundary: l,
|
|
2749
2749
|
rootBoundary: u,
|
|
2750
2750
|
padding: p,
|
|
2751
2751
|
altBoundary: f
|
|
2752
|
-
}), b = Re(e.placement), x =
|
|
2752
|
+
}), b = Re(e.placement), x = kt(e.placement), E = !x, O = gr(b), y = Ss(O), P = e.modifiersData.popperOffsets, I = e.rects.reference, S = e.rects.popper, N = typeof v == "function" ? v(Object.assign({}, e.rects, {
|
|
2753
2753
|
placement: e.placement
|
|
2754
2754
|
})) : v, L = typeof N == "number" ? {
|
|
2755
2755
|
mainAxis: N,
|
|
@@ -2761,44 +2761,44 @@ function xs(t) {
|
|
|
2761
2761
|
x: 0,
|
|
2762
2762
|
y: 0
|
|
2763
2763
|
};
|
|
2764
|
-
if (
|
|
2764
|
+
if (P) {
|
|
2765
2765
|
if (i) {
|
|
2766
|
-
var re, le = O === "y" ? Ce : Oe,
|
|
2766
|
+
var re, le = O === "y" ? Ce : Oe, ke = O === "y" ? Ie : Ne, Q = O === "y" ? "height" : "width", oe = P[O], Pe = oe + g[le], ve = oe - g[ke], k = h ? -S[Q] / 2 : 0, _ = x === Ot ? I[Q] : S[Q], M = x === Ot ? -S[Q] : -I[Q], j = e.elements.arrow, A = h && j ? vr(j) : {
|
|
2767
2767
|
width: 0,
|
|
2768
2768
|
height: 0
|
|
2769
|
-
}, D = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Jo(), R = D[le], U = D[
|
|
2770
|
-
|
|
2769
|
+
}, D = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Jo(), R = D[le], U = D[ke], V = Dt(0, I[Q], A[Q]), $ = E ? I[Q] / 2 - k - V - R - L.mainAxis : _ - V - R - L.mainAxis, B = E ? -I[Q] / 2 + k + V + U + L.mainAxis : M + V + U + L.mainAxis, se = e.elements.arrow && Zt(e.elements.arrow), T = se ? O === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, me = (re = H?.[O]) != null ? re : 0, Te = oe + $ - me - T, dt = oe + B - me, ft = Dt(h ? on(Pe, Te) : Pe, oe, h ? st(ve, dt) : ve);
|
|
2770
|
+
P[O] = ft, ae[O] = ft - oe;
|
|
2771
2771
|
}
|
|
2772
2772
|
if (c) {
|
|
2773
|
-
var Ke,
|
|
2774
|
-
|
|
2773
|
+
var Ke, Tt = O === "x" ? Ce : Oe, On = O === "x" ? Ie : Ne, De = P[y], et = y === "y" ? "height" : "width", ge = De + g[Tt], Ve = De - g[On], qe = [Ce, Oe].indexOf(b) !== -1, Z = (Ke = H?.[y]) != null ? Ke : 0, q = qe ? ge : De - I[et] - S[et] - Z + L.altAxis, F = qe ? De + I[et] + S[et] - Z - L.altAxis : Ve, ee = h && qe ? Xa(q, De, F) : Dt(h ? q : ge, De, h ? F : Ve);
|
|
2774
|
+
P[y] = ee, ae[y] = ee - De;
|
|
2775
2775
|
}
|
|
2776
2776
|
e.modifiersData[r] = ae;
|
|
2777
2777
|
}
|
|
2778
2778
|
}
|
|
2779
|
-
const
|
|
2779
|
+
const Ts = {
|
|
2780
2780
|
name: "preventOverflow",
|
|
2781
2781
|
enabled: !0,
|
|
2782
2782
|
phase: "main",
|
|
2783
|
-
fn:
|
|
2783
|
+
fn: Ps,
|
|
2784
2784
|
requiresIfExists: ["offset"]
|
|
2785
2785
|
};
|
|
2786
|
-
function
|
|
2786
|
+
function _s(t) {
|
|
2787
2787
|
return {
|
|
2788
2788
|
scrollLeft: t.scrollLeft,
|
|
2789
2789
|
scrollTop: t.scrollTop
|
|
2790
2790
|
};
|
|
2791
2791
|
}
|
|
2792
|
-
function
|
|
2793
|
-
return t === Ae(t) || !
|
|
2792
|
+
function Is(t) {
|
|
2793
|
+
return t === Ae(t) || !Se(t) ? yr(t) : _s(t);
|
|
2794
2794
|
}
|
|
2795
|
-
function
|
|
2795
|
+
function Ns(t) {
|
|
2796
2796
|
var e = t.getBoundingClientRect(), n = Et(e.width) / t.offsetWidth || 1, r = Et(e.height) / t.offsetHeight || 1;
|
|
2797
2797
|
return n !== 1 || r !== 1;
|
|
2798
2798
|
}
|
|
2799
|
-
function
|
|
2799
|
+
function As(t, e, n) {
|
|
2800
2800
|
n === void 0 && (n = !1);
|
|
2801
|
-
var r =
|
|
2801
|
+
var r = Se(e), o = Se(e) && Ns(e), i = Qe(e), s = xt(t, o, n), c = {
|
|
2802
2802
|
scrollLeft: 0,
|
|
2803
2803
|
scrollTop: 0
|
|
2804
2804
|
}, l = {
|
|
@@ -2806,14 +2806,14 @@ function Ts(t, e, n) {
|
|
|
2806
2806
|
y: 0
|
|
2807
2807
|
};
|
|
2808
2808
|
return (r || !r && !n) && ((He(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
2809
|
-
wr(i)) && (c =
|
|
2809
|
+
wr(i)) && (c = Is(e)), Se(e) ? (l = xt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : i && (l.x = br(i))), {
|
|
2810
2810
|
x: s.left + c.scrollLeft - l.x,
|
|
2811
2811
|
y: s.top + c.scrollTop - l.y,
|
|
2812
2812
|
width: s.width,
|
|
2813
2813
|
height: s.height
|
|
2814
2814
|
};
|
|
2815
2815
|
}
|
|
2816
|
-
function
|
|
2816
|
+
function Rs(t) {
|
|
2817
2817
|
var e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
2818
2818
|
t.forEach(function(i) {
|
|
2819
2819
|
e.set(i.name, i);
|
|
@@ -2832,15 +2832,15 @@ function Is(t) {
|
|
|
2832
2832
|
n.has(i.name) || o(i);
|
|
2833
2833
|
}), r;
|
|
2834
2834
|
}
|
|
2835
|
-
function
|
|
2836
|
-
var e =
|
|
2835
|
+
function Ls(t) {
|
|
2836
|
+
var e = Rs(t);
|
|
2837
2837
|
return Bn.reduce(function(n, r) {
|
|
2838
2838
|
return n.concat(e.filter(function(o) {
|
|
2839
2839
|
return o.phase === r;
|
|
2840
2840
|
}));
|
|
2841
2841
|
}, []);
|
|
2842
2842
|
}
|
|
2843
|
-
function
|
|
2843
|
+
function Ms(t) {
|
|
2844
2844
|
var e;
|
|
2845
2845
|
return function() {
|
|
2846
2846
|
return e || (e = new Promise(function(n) {
|
|
@@ -2857,8 +2857,8 @@ function Xe(t) {
|
|
|
2857
2857
|
return o.replace(/%s/, i);
|
|
2858
2858
|
}, t);
|
|
2859
2859
|
}
|
|
2860
|
-
var tt = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',
|
|
2861
|
-
function
|
|
2860
|
+
var tt = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Ds = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Gr = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
|
|
2861
|
+
function js(t) {
|
|
2862
2862
|
t.forEach(function(e) {
|
|
2863
2863
|
[].concat(Object.keys(e), Gr).filter(function(n, r, o) {
|
|
2864
2864
|
return o.indexOf(n) === r;
|
|
@@ -2896,12 +2896,12 @@ function Ls(t) {
|
|
|
2896
2896
|
e.requires && e.requires.forEach(function(r) {
|
|
2897
2897
|
t.find(function(o) {
|
|
2898
2898
|
return o.name === r;
|
|
2899
|
-
}) == null && console.error(Xe(
|
|
2899
|
+
}) == null && console.error(Xe(Ds, String(e.name), r, r));
|
|
2900
2900
|
});
|
|
2901
2901
|
});
|
|
2902
2902
|
});
|
|
2903
2903
|
}
|
|
2904
|
-
function
|
|
2904
|
+
function Us(t, e) {
|
|
2905
2905
|
var n = /* @__PURE__ */ new Set();
|
|
2906
2906
|
return t.filter(function(r) {
|
|
2907
2907
|
var o = e(r);
|
|
@@ -2909,7 +2909,7 @@ function Ms(t, e) {
|
|
|
2909
2909
|
return n.add(o), !0;
|
|
2910
2910
|
});
|
|
2911
2911
|
}
|
|
2912
|
-
function
|
|
2912
|
+
function Fs(t) {
|
|
2913
2913
|
var e = t.reduce(function(n, r) {
|
|
2914
2914
|
var o = n[r.name];
|
|
2915
2915
|
return n[r.name] = o ? Object.assign({}, o, r, {
|
|
@@ -2921,7 +2921,7 @@ function Ds(t) {
|
|
|
2921
2921
|
return e[n];
|
|
2922
2922
|
});
|
|
2923
2923
|
}
|
|
2924
|
-
var Kr = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",
|
|
2924
|
+
var Kr = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", Ws = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", qr = {
|
|
2925
2925
|
placement: "bottom",
|
|
2926
2926
|
modifiers: [],
|
|
2927
2927
|
strategy: "absolute"
|
|
@@ -2933,7 +2933,7 @@ function Yr() {
|
|
|
2933
2933
|
return !(r && typeof r.getBoundingClientRect == "function");
|
|
2934
2934
|
});
|
|
2935
2935
|
}
|
|
2936
|
-
function
|
|
2936
|
+
function Hs(t) {
|
|
2937
2937
|
t === void 0 && (t = {});
|
|
2938
2938
|
var e = t, n = e.defaultModifiers, r = n === void 0 ? [] : n, o = e.defaultOptions, i = o === void 0 ? qr : o;
|
|
2939
2939
|
return function(c, l, u) {
|
|
@@ -2957,23 +2957,23 @@ function Us(t) {
|
|
|
2957
2957
|
reference: ct(c) ? jt(c) : c.contextElement ? jt(c.contextElement) : [],
|
|
2958
2958
|
popper: jt(l)
|
|
2959
2959
|
};
|
|
2960
|
-
var E =
|
|
2960
|
+
var E = Ls(Fs([].concat(r, f.options.modifiers)));
|
|
2961
2961
|
if (f.orderedModifiers = E.filter(function(H) {
|
|
2962
2962
|
return H.enabled;
|
|
2963
2963
|
}), process.env.NODE_ENV !== "production") {
|
|
2964
|
-
var O =
|
|
2964
|
+
var O = Us([].concat(E, f.options.modifiers), function(H) {
|
|
2965
2965
|
var ae = H.name;
|
|
2966
2966
|
return ae;
|
|
2967
2967
|
});
|
|
2968
|
-
if (
|
|
2968
|
+
if (js(O), Re(f.options.placement) === hn) {
|
|
2969
2969
|
var y = f.orderedModifiers.find(function(H) {
|
|
2970
2970
|
var ae = H.name;
|
|
2971
2971
|
return ae === "flip";
|
|
2972
2972
|
});
|
|
2973
2973
|
y || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
|
|
2974
2974
|
}
|
|
2975
|
-
var
|
|
2976
|
-
[I,
|
|
2975
|
+
var P = Me(l), I = P.marginTop, S = P.marginRight, N = P.marginBottom, L = P.marginLeft;
|
|
2976
|
+
[I, S, N, L].some(function(H) {
|
|
2977
2977
|
return parseFloat(H);
|
|
2978
2978
|
}) && console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" "));
|
|
2979
2979
|
}
|
|
@@ -2992,21 +2992,21 @@ function Us(t) {
|
|
|
2992
2992
|
return;
|
|
2993
2993
|
}
|
|
2994
2994
|
f.rects = {
|
|
2995
|
-
reference:
|
|
2995
|
+
reference: As(x, Zt(E), f.options.strategy === "fixed"),
|
|
2996
2996
|
popper: vr(E)
|
|
2997
2997
|
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(H) {
|
|
2998
2998
|
return f.modifiersData[H.name] = Object.assign({}, H.data);
|
|
2999
2999
|
});
|
|
3000
3000
|
for (var O = 0, y = 0; y < f.orderedModifiers.length; y++) {
|
|
3001
3001
|
if (process.env.NODE_ENV !== "production" && (O += 1, O > 100)) {
|
|
3002
|
-
console.error(
|
|
3002
|
+
console.error(Ws);
|
|
3003
3003
|
break;
|
|
3004
3004
|
}
|
|
3005
3005
|
if (f.reset === !0) {
|
|
3006
3006
|
f.reset = !1, y = -1;
|
|
3007
3007
|
continue;
|
|
3008
3008
|
}
|
|
3009
|
-
var
|
|
3009
|
+
var P = f.orderedModifiers[y], I = P.fn, S = P.options, N = S === void 0 ? {} : S, L = P.name;
|
|
3010
3010
|
typeof I == "function" && (f = I({
|
|
3011
3011
|
state: f,
|
|
3012
3012
|
options: N,
|
|
@@ -3018,7 +3018,7 @@ function Us(t) {
|
|
|
3018
3018
|
},
|
|
3019
3019
|
// Async and optimistically optimized update – it will not be executed if
|
|
3020
3020
|
// not necessary (debounced to run at most once-per-tick)
|
|
3021
|
-
update:
|
|
3021
|
+
update: Ms(function() {
|
|
3022
3022
|
return new Promise(function(g) {
|
|
3023
3023
|
h.forceUpdate(), g(f);
|
|
3024
3024
|
});
|
|
@@ -3041,9 +3041,9 @@ function Us(t) {
|
|
|
3041
3041
|
name: b,
|
|
3042
3042
|
instance: h,
|
|
3043
3043
|
options: E
|
|
3044
|
-
}),
|
|
3044
|
+
}), P = function() {
|
|
3045
3045
|
};
|
|
3046
|
-
p.push(y ||
|
|
3046
|
+
p.push(y || P);
|
|
3047
3047
|
}
|
|
3048
3048
|
});
|
|
3049
3049
|
}
|
|
@@ -3055,9 +3055,9 @@ function Us(t) {
|
|
|
3055
3055
|
return h;
|
|
3056
3056
|
};
|
|
3057
3057
|
}
|
|
3058
|
-
var
|
|
3059
|
-
defaultModifiers:
|
|
3060
|
-
}),
|
|
3058
|
+
var Vs = [ss, ks, is, Ka, Es, ys, Ts, ts, ws], zs = /* @__PURE__ */ Hs({
|
|
3059
|
+
defaultModifiers: Vs
|
|
3060
|
+
}), Zs = typeof Element < "u", Bs = typeof Map == "function", $s = typeof Set == "function", Gs = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
|
|
3061
3061
|
function Qt(t, e) {
|
|
3062
3062
|
if (t === e)
|
|
3063
3063
|
return !0;
|
|
@@ -3074,7 +3074,7 @@ function Qt(t, e) {
|
|
|
3074
3074
|
return !0;
|
|
3075
3075
|
}
|
|
3076
3076
|
var i;
|
|
3077
|
-
if (
|
|
3077
|
+
if (Bs && t instanceof Map && e instanceof Map) {
|
|
3078
3078
|
if (t.size !== e.size)
|
|
3079
3079
|
return !1;
|
|
3080
3080
|
for (i = t.entries(); !(r = i.next()).done; )
|
|
@@ -3085,7 +3085,7 @@ function Qt(t, e) {
|
|
|
3085
3085
|
return !1;
|
|
3086
3086
|
return !0;
|
|
3087
3087
|
}
|
|
3088
|
-
if (
|
|
3088
|
+
if ($s && t instanceof Set && e instanceof Set) {
|
|
3089
3089
|
if (t.size !== e.size)
|
|
3090
3090
|
return !1;
|
|
3091
3091
|
for (i = t.entries(); !(r = i.next()).done; )
|
|
@@ -3093,7 +3093,7 @@ function Qt(t, e) {
|
|
|
3093
3093
|
return !1;
|
|
3094
3094
|
return !0;
|
|
3095
3095
|
}
|
|
3096
|
-
if (
|
|
3096
|
+
if (Gs && ArrayBuffer.isView(t) && ArrayBuffer.isView(e)) {
|
|
3097
3097
|
if (n = t.length, n != e.length)
|
|
3098
3098
|
return !1;
|
|
3099
3099
|
for (r = n; r-- !== 0; )
|
|
@@ -3112,7 +3112,7 @@ function Qt(t, e) {
|
|
|
3112
3112
|
for (r = n; r-- !== 0; )
|
|
3113
3113
|
if (!Object.prototype.hasOwnProperty.call(e, o[r]))
|
|
3114
3114
|
return !1;
|
|
3115
|
-
if (
|
|
3115
|
+
if (Zs && t instanceof Element)
|
|
3116
3116
|
return !1;
|
|
3117
3117
|
for (r = n; r-- !== 0; )
|
|
3118
3118
|
if (!((o[r] === "_owner" || o[r] === "__v" || o[r] === "__o") && t.$$typeof) && !Qt(t[o[r]], e[o[r]]))
|
|
@@ -3121,7 +3121,7 @@ function Qt(t, e) {
|
|
|
3121
3121
|
}
|
|
3122
3122
|
return t !== t && e !== e;
|
|
3123
3123
|
}
|
|
3124
|
-
var
|
|
3124
|
+
var Ks = function(e, n) {
|
|
3125
3125
|
try {
|
|
3126
3126
|
return Qt(e, n);
|
|
3127
3127
|
} catch (r) {
|
|
@@ -3129,13 +3129,13 @@ var Bs = function(e, n) {
|
|
|
3129
3129
|
return console.warn("react-fast-compare cannot handle circular refs"), !1;
|
|
3130
3130
|
throw r;
|
|
3131
3131
|
}
|
|
3132
|
-
},
|
|
3132
|
+
}, qs = [], Ys = function(e, n, r) {
|
|
3133
3133
|
r === void 0 && (r = {});
|
|
3134
3134
|
var o = Je.useRef(null), i = {
|
|
3135
3135
|
onFirstUpdate: r.onFirstUpdate,
|
|
3136
3136
|
placement: r.placement || "bottom",
|
|
3137
3137
|
strategy: r.strategy || "absolute",
|
|
3138
|
-
modifiers: r.modifiers ||
|
|
3138
|
+
modifiers: r.modifiers || qs
|
|
3139
3139
|
}, s = Je.useState({
|
|
3140
3140
|
styles: {
|
|
3141
3141
|
popper: {
|
|
@@ -3155,7 +3155,7 @@ var Bs = function(e, n) {
|
|
|
3155
3155
|
phase: "write",
|
|
3156
3156
|
fn: function(h) {
|
|
3157
3157
|
var m = h.state, v = Object.keys(m.elements);
|
|
3158
|
-
|
|
3158
|
+
zi.flushSync(function() {
|
|
3159
3159
|
l({
|
|
3160
3160
|
styles: Ur(v.map(function(g) {
|
|
3161
3161
|
return [g, m.styles[g] || {}];
|
|
@@ -3178,13 +3178,13 @@ var Bs = function(e, n) {
|
|
|
3178
3178
|
enabled: !1
|
|
3179
3179
|
}])
|
|
3180
3180
|
};
|
|
3181
|
-
return
|
|
3181
|
+
return Ks(o.current, d) ? o.current || d : (o.current = d, d);
|
|
3182
3182
|
}, [i.onFirstUpdate, i.placement, i.strategy, i.modifiers, u]), p = Je.useRef();
|
|
3183
3183
|
return Fr(function() {
|
|
3184
3184
|
p.current && p.current.setOptions(f);
|
|
3185
3185
|
}, [f]), Fr(function() {
|
|
3186
3186
|
if (!(e == null || n == null)) {
|
|
3187
|
-
var d = r.createPopper ||
|
|
3187
|
+
var d = r.createPopper || zs, h = d(e, n, f);
|
|
3188
3188
|
return p.current = h, function() {
|
|
3189
3189
|
h.destroy(), p.current = null;
|
|
3190
3190
|
};
|
|
@@ -3197,8 +3197,8 @@ var Bs = function(e, n) {
|
|
|
3197
3197
|
forceUpdate: p.current ? p.current.forceUpdate : null
|
|
3198
3198
|
};
|
|
3199
3199
|
};
|
|
3200
|
-
const
|
|
3201
|
-
const { actions: n, className: r, onClose: o, onActionItemClick: i, ...s } = t, c = Le({}), [l, u] =
|
|
3200
|
+
const Xs = lr((t, e) => {
|
|
3201
|
+
const { actions: n, className: r, onClose: o, onActionItemClick: i, ...s } = t, c = Le({}), [l, u] = z(0), f = (p) => {
|
|
3202
3202
|
c.current[p]?.focus(), u(p);
|
|
3203
3203
|
};
|
|
3204
3204
|
return te(() => {
|
|
@@ -3234,7 +3234,7 @@ const Ks = lr((t, e) => {
|
|
|
3234
3234
|
);
|
|
3235
3235
|
});
|
|
3236
3236
|
function ri(t) {
|
|
3237
|
-
const { iconName: e, iconSize: n, actions: r, onActionItemClick: o, isTabStop: i } = t, [s, c] =
|
|
3237
|
+
const { iconName: e, iconSize: n, actions: r, onActionItemClick: o, isTabStop: i } = t, [s, c] = z(!1), [l, u] = z(null), [f, p] = z(null), { styles: d, attributes: h } = Ys(l, f, {
|
|
3238
3238
|
placement: "bottom-end"
|
|
3239
3239
|
});
|
|
3240
3240
|
te(() => {
|
|
@@ -3267,7 +3267,7 @@ function ri(t) {
|
|
|
3267
3267
|
}
|
|
3268
3268
|
),
|
|
3269
3269
|
s && /* @__PURE__ */ a(
|
|
3270
|
-
|
|
3270
|
+
Xs,
|
|
3271
3271
|
{
|
|
3272
3272
|
actions: r,
|
|
3273
3273
|
style: d.popper,
|
|
@@ -3281,7 +3281,7 @@ function ri(t) {
|
|
|
3281
3281
|
)
|
|
3282
3282
|
] });
|
|
3283
3283
|
}
|
|
3284
|
-
const
|
|
3284
|
+
const Js = (t) => {
|
|
3285
3285
|
const { className: e, isFavoritismEnabled: n = !0, item: r, onClick: o, onKeyDown: i, focused: s, ...c } = t, { favoriteEntities: l, toggleFavorite: u } = fr(), { description: f, icon: p = "application", iconSrc: d, isOpen: h = !1, title: m, contextMenuActions: v } = r, g = n && l.some((b) => b.type === r.type && b.title === r.title);
|
|
3286
3286
|
return /* @__PURE__ */ w(
|
|
3287
3287
|
"div",
|
|
@@ -3334,8 +3334,8 @@ const qs = (t) => {
|
|
|
3334
3334
|
);
|
|
3335
3335
|
}, oi = xe({
|
|
3336
3336
|
name: ye
|
|
3337
|
-
}), ii = "Welcome",
|
|
3338
|
-
const [t, e] =
|
|
3337
|
+
}), ii = "Welcome", Qs = 5, ec = () => {
|
|
3338
|
+
const [t, e] = z(null), [n, r] = fn(
|
|
3339
3339
|
"sessionStorage",
|
|
3340
3340
|
Uo,
|
|
3341
3341
|
oi
|
|
@@ -3363,13 +3363,13 @@ const qs = (t) => {
|
|
|
3363
3363
|
setDefaultLayout: c,
|
|
3364
3364
|
setSelectedLayout: r
|
|
3365
3365
|
};
|
|
3366
|
-
}, ai =
|
|
3366
|
+
}, ai = Vt(void 0), Pt = () => {
|
|
3367
3367
|
const t = ne(ai);
|
|
3368
3368
|
if (t === void 0)
|
|
3369
3369
|
throw new Error("useLaunchpadAPI must be used within a LaunchpadAPIProvider");
|
|
3370
3370
|
return t;
|
|
3371
|
-
},
|
|
3372
|
-
const { defaultLayout: r, selectedLayout: o, setDefaultLayout: i, setSelectedLayout: s } =
|
|
3371
|
+
}, tc = ({ children: t, setOpen: e, isOpen: n }) => {
|
|
3372
|
+
const { defaultLayout: r, selectedLayout: o, setDefaultLayout: i, setSelectedLayout: s } = ec(), l = {
|
|
3373
3373
|
close: he(() => e(!1), [e]),
|
|
3374
3374
|
isOpen: n,
|
|
3375
3375
|
defaultLayout: r,
|
|
@@ -3386,7 +3386,7 @@ var C = {}, Xr = {
|
|
|
3386
3386
|
set exports(t) {
|
|
3387
3387
|
C = t;
|
|
3388
3388
|
}
|
|
3389
|
-
}, an = {},
|
|
3389
|
+
}, an = {}, nc = {
|
|
3390
3390
|
get exports() {
|
|
3391
3391
|
return an;
|
|
3392
3392
|
},
|
|
@@ -3403,15 +3403,15 @@ var C = {}, Xr = {
|
|
|
3403
3403
|
* LICENSE file in the root directory of this source tree.
|
|
3404
3404
|
*/
|
|
3405
3405
|
var Jr;
|
|
3406
|
-
function
|
|
3406
|
+
function rc() {
|
|
3407
3407
|
if (Jr)
|
|
3408
3408
|
return X;
|
|
3409
3409
|
Jr = 1;
|
|
3410
3410
|
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, d = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, b = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
|
|
3411
3411
|
function E(y) {
|
|
3412
3412
|
if (typeof y == "object" && y !== null) {
|
|
3413
|
-
var
|
|
3414
|
-
switch (
|
|
3413
|
+
var P = y.$$typeof;
|
|
3414
|
+
switch (P) {
|
|
3415
3415
|
case e:
|
|
3416
3416
|
switch (y = y.type, y) {
|
|
3417
3417
|
case l:
|
|
@@ -3430,11 +3430,11 @@ function ec() {
|
|
|
3430
3430
|
case s:
|
|
3431
3431
|
return y;
|
|
3432
3432
|
default:
|
|
3433
|
-
return
|
|
3433
|
+
return P;
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
3436
|
case n:
|
|
3437
|
-
return
|
|
3437
|
+
return P;
|
|
3438
3438
|
}
|
|
3439
3439
|
}
|
|
3440
3440
|
}
|
|
@@ -3479,29 +3479,29 @@ var J = {};
|
|
|
3479
3479
|
* LICENSE file in the root directory of this source tree.
|
|
3480
3480
|
*/
|
|
3481
3481
|
var Qr;
|
|
3482
|
-
function
|
|
3482
|
+
function oc() {
|
|
3483
3483
|
return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3484
3484
|
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, d = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, b = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
|
|
3485
|
-
function E(
|
|
3486
|
-
return typeof
|
|
3487
|
-
|
|
3485
|
+
function E(T) {
|
|
3486
|
+
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
3487
|
+
T === r || T === u || T === i || T === o || T === p || T === d || typeof T == "object" && T !== null && (T.$$typeof === m || T.$$typeof === h || T.$$typeof === s || T.$$typeof === c || T.$$typeof === f || T.$$typeof === g || T.$$typeof === b || T.$$typeof === x || T.$$typeof === v);
|
|
3488
3488
|
}
|
|
3489
|
-
function O(
|
|
3490
|
-
if (typeof
|
|
3491
|
-
var me =
|
|
3489
|
+
function O(T) {
|
|
3490
|
+
if (typeof T == "object" && T !== null) {
|
|
3491
|
+
var me = T.$$typeof;
|
|
3492
3492
|
switch (me) {
|
|
3493
3493
|
case e:
|
|
3494
|
-
var
|
|
3495
|
-
switch (
|
|
3494
|
+
var Te = T.type;
|
|
3495
|
+
switch (Te) {
|
|
3496
3496
|
case l:
|
|
3497
3497
|
case u:
|
|
3498
3498
|
case r:
|
|
3499
3499
|
case i:
|
|
3500
3500
|
case o:
|
|
3501
3501
|
case p:
|
|
3502
|
-
return
|
|
3502
|
+
return Te;
|
|
3503
3503
|
default:
|
|
3504
|
-
var dt =
|
|
3504
|
+
var dt = Te && Te.$$typeof;
|
|
3505
3505
|
switch (dt) {
|
|
3506
3506
|
case c:
|
|
3507
3507
|
case f:
|
|
@@ -3518,64 +3518,64 @@ function tc() {
|
|
|
3518
3518
|
}
|
|
3519
3519
|
}
|
|
3520
3520
|
}
|
|
3521
|
-
var y = l,
|
|
3522
|
-
function ve(
|
|
3523
|
-
return
|
|
3521
|
+
var y = l, P = u, I = c, S = s, N = e, L = f, H = r, ae = m, re = h, le = n, ke = i, Q = o, oe = p, Pe = !1;
|
|
3522
|
+
function ve(T) {
|
|
3523
|
+
return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), k(T) || O(T) === l;
|
|
3524
3524
|
}
|
|
3525
|
-
function
|
|
3526
|
-
return O(
|
|
3525
|
+
function k(T) {
|
|
3526
|
+
return O(T) === u;
|
|
3527
3527
|
}
|
|
3528
|
-
function T
|
|
3529
|
-
return O(
|
|
3528
|
+
function _(T) {
|
|
3529
|
+
return O(T) === c;
|
|
3530
3530
|
}
|
|
3531
|
-
function M(
|
|
3532
|
-
return O(
|
|
3531
|
+
function M(T) {
|
|
3532
|
+
return O(T) === s;
|
|
3533
3533
|
}
|
|
3534
|
-
function j(
|
|
3535
|
-
return typeof
|
|
3534
|
+
function j(T) {
|
|
3535
|
+
return typeof T == "object" && T !== null && T.$$typeof === e;
|
|
3536
3536
|
}
|
|
3537
|
-
function A(
|
|
3538
|
-
return O(
|
|
3537
|
+
function A(T) {
|
|
3538
|
+
return O(T) === f;
|
|
3539
3539
|
}
|
|
3540
|
-
function D(
|
|
3541
|
-
return O(
|
|
3540
|
+
function D(T) {
|
|
3541
|
+
return O(T) === r;
|
|
3542
3542
|
}
|
|
3543
|
-
function R(
|
|
3544
|
-
return O(
|
|
3543
|
+
function R(T) {
|
|
3544
|
+
return O(T) === m;
|
|
3545
3545
|
}
|
|
3546
|
-
function U(
|
|
3547
|
-
return O(
|
|
3546
|
+
function U(T) {
|
|
3547
|
+
return O(T) === h;
|
|
3548
3548
|
}
|
|
3549
|
-
function
|
|
3550
|
-
return O(
|
|
3549
|
+
function V(T) {
|
|
3550
|
+
return O(T) === n;
|
|
3551
3551
|
}
|
|
3552
|
-
function $(
|
|
3553
|
-
return O(
|
|
3552
|
+
function $(T) {
|
|
3553
|
+
return O(T) === i;
|
|
3554
3554
|
}
|
|
3555
|
-
function B(
|
|
3556
|
-
return O(
|
|
3555
|
+
function B(T) {
|
|
3556
|
+
return O(T) === o;
|
|
3557
3557
|
}
|
|
3558
|
-
function se(
|
|
3559
|
-
return O(
|
|
3558
|
+
function se(T) {
|
|
3559
|
+
return O(T) === p;
|
|
3560
3560
|
}
|
|
3561
|
-
J.AsyncMode = y, J.ConcurrentMode =
|
|
3561
|
+
J.AsyncMode = y, J.ConcurrentMode = P, J.ContextConsumer = I, J.ContextProvider = S, J.Element = N, J.ForwardRef = L, J.Fragment = H, J.Lazy = ae, J.Memo = re, J.Portal = le, J.Profiler = ke, J.StrictMode = Q, J.Suspense = oe, J.isAsyncMode = ve, J.isConcurrentMode = k, J.isContextConsumer = _, J.isContextProvider = M, J.isElement = j, J.isForwardRef = A, J.isFragment = D, J.isLazy = R, J.isMemo = U, J.isPortal = V, J.isProfiler = $, J.isStrictMode = B, J.isSuspense = se, J.isValidElementType = E, J.typeOf = O;
|
|
3562
3562
|
}()), J;
|
|
3563
3563
|
}
|
|
3564
3564
|
var eo;
|
|
3565
3565
|
function si() {
|
|
3566
3566
|
return eo || (eo = 1, function(t) {
|
|
3567
|
-
process.env.NODE_ENV === "production" ? t.exports =
|
|
3568
|
-
}(
|
|
3567
|
+
process.env.NODE_ENV === "production" ? t.exports = rc() : t.exports = oc();
|
|
3568
|
+
}(nc)), an;
|
|
3569
3569
|
}
|
|
3570
3570
|
/*
|
|
3571
3571
|
object-assign
|
|
3572
3572
|
(c) Sindre Sorhus
|
|
3573
3573
|
@license MIT
|
|
3574
3574
|
*/
|
|
3575
|
-
var
|
|
3576
|
-
function
|
|
3575
|
+
var Sn, to;
|
|
3576
|
+
function ic() {
|
|
3577
3577
|
if (to)
|
|
3578
|
-
return
|
|
3578
|
+
return Sn;
|
|
3579
3579
|
to = 1;
|
|
3580
3580
|
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
3581
3581
|
function r(i) {
|
|
@@ -3605,7 +3605,7 @@ function nc() {
|
|
|
3605
3605
|
return !1;
|
|
3606
3606
|
}
|
|
3607
3607
|
}
|
|
3608
|
-
return
|
|
3608
|
+
return Sn = o() ? Object.assign : function(i, s) {
|
|
3609
3609
|
for (var c, l = r(i), u, f = 1; f < arguments.length; f++) {
|
|
3610
3610
|
c = Object(arguments[f]);
|
|
3611
3611
|
for (var p in c)
|
|
@@ -3617,24 +3617,24 @@ function nc() {
|
|
|
3617
3617
|
}
|
|
3618
3618
|
}
|
|
3619
3619
|
return l;
|
|
3620
|
-
},
|
|
3620
|
+
}, Sn;
|
|
3621
3621
|
}
|
|
3622
|
-
var
|
|
3622
|
+
var Pn, no;
|
|
3623
3623
|
function Cr() {
|
|
3624
3624
|
if (no)
|
|
3625
|
-
return
|
|
3625
|
+
return Pn;
|
|
3626
3626
|
no = 1;
|
|
3627
3627
|
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
3628
|
-
return
|
|
3628
|
+
return Pn = t, Pn;
|
|
3629
3629
|
}
|
|
3630
|
-
var
|
|
3630
|
+
var Tn, ro;
|
|
3631
3631
|
function ci() {
|
|
3632
|
-
return ro || (ro = 1,
|
|
3632
|
+
return ro || (ro = 1, Tn = Function.call.bind(Object.prototype.hasOwnProperty)), Tn;
|
|
3633
3633
|
}
|
|
3634
|
-
var
|
|
3635
|
-
function
|
|
3634
|
+
var _n, oo;
|
|
3635
|
+
function ac() {
|
|
3636
3636
|
if (oo)
|
|
3637
|
-
return
|
|
3637
|
+
return _n;
|
|
3638
3638
|
oo = 1;
|
|
3639
3639
|
var t = function() {
|
|
3640
3640
|
};
|
|
@@ -3679,14 +3679,14 @@ function rc() {
|
|
|
3679
3679
|
}
|
|
3680
3680
|
return o.resetWarningCache = function() {
|
|
3681
3681
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
3682
|
-
},
|
|
3682
|
+
}, _n = o, _n;
|
|
3683
3683
|
}
|
|
3684
3684
|
var In, io;
|
|
3685
|
-
function
|
|
3685
|
+
function sc() {
|
|
3686
3686
|
if (io)
|
|
3687
3687
|
return In;
|
|
3688
3688
|
io = 1;
|
|
3689
|
-
var t = si(), e =
|
|
3689
|
+
var t = si(), e = ic(), n = Cr(), r = ci(), o = ac(), i = function() {
|
|
3690
3690
|
};
|
|
3691
3691
|
process.env.NODE_ENV !== "production" && (i = function(c) {
|
|
3692
3692
|
var l = "Warning: " + c;
|
|
@@ -3701,10 +3701,10 @@ function oc() {
|
|
|
3701
3701
|
}
|
|
3702
3702
|
return In = function(c, l) {
|
|
3703
3703
|
var u = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
3704
|
-
function p(
|
|
3705
|
-
var
|
|
3706
|
-
if (typeof
|
|
3707
|
-
return
|
|
3704
|
+
function p(k) {
|
|
3705
|
+
var _ = k && (u && k[u] || k[f]);
|
|
3706
|
+
if (typeof _ == "function")
|
|
3707
|
+
return _;
|
|
3708
3708
|
}
|
|
3709
3709
|
var d = "<<anonymous>>", h = {
|
|
3710
3710
|
array: b("array"),
|
|
@@ -3719,185 +3719,185 @@ function oc() {
|
|
|
3719
3719
|
arrayOf: E,
|
|
3720
3720
|
element: O(),
|
|
3721
3721
|
elementType: y(),
|
|
3722
|
-
instanceOf:
|
|
3722
|
+
instanceOf: P,
|
|
3723
3723
|
node: L(),
|
|
3724
|
-
objectOf:
|
|
3724
|
+
objectOf: S,
|
|
3725
3725
|
oneOf: I,
|
|
3726
3726
|
oneOfType: N,
|
|
3727
3727
|
shape: ae,
|
|
3728
3728
|
exact: re
|
|
3729
3729
|
};
|
|
3730
|
-
function m(
|
|
3731
|
-
return
|
|
3730
|
+
function m(k, _) {
|
|
3731
|
+
return k === _ ? k !== 0 || 1 / k === 1 / _ : k !== k && _ !== _;
|
|
3732
3732
|
}
|
|
3733
|
-
function v(
|
|
3734
|
-
this.message =
|
|
3733
|
+
function v(k, _) {
|
|
3734
|
+
this.message = k, this.data = _ && typeof _ == "object" ? _ : {}, this.stack = "";
|
|
3735
3735
|
}
|
|
3736
3736
|
v.prototype = Error.prototype;
|
|
3737
|
-
function g(
|
|
3737
|
+
function g(k) {
|
|
3738
3738
|
if (process.env.NODE_ENV !== "production")
|
|
3739
|
-
var
|
|
3740
|
-
function j(D, R, U,
|
|
3741
|
-
if (
|
|
3739
|
+
var _ = {}, M = 0;
|
|
3740
|
+
function j(D, R, U, V, $, B, se) {
|
|
3741
|
+
if (V = V || d, B = B || U, se !== n) {
|
|
3742
3742
|
if (l) {
|
|
3743
|
-
var
|
|
3743
|
+
var T = new Error(
|
|
3744
3744
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
3745
3745
|
);
|
|
3746
|
-
throw
|
|
3746
|
+
throw T.name = "Invariant Violation", T;
|
|
3747
3747
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
3748
|
-
var me =
|
|
3749
|
-
!
|
|
3748
|
+
var me = V + ":" + U;
|
|
3749
|
+
!_[me] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
3750
3750
|
M < 3 && (i(
|
|
3751
|
-
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" +
|
|
3752
|
-
),
|
|
3751
|
+
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + V + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
3752
|
+
), _[me] = !0, M++);
|
|
3753
3753
|
}
|
|
3754
3754
|
}
|
|
3755
|
-
return R[U] == null ? D ? R[U] === null ? new v("The " + $ + " `" + B + "` is marked as required " + ("in `" +
|
|
3755
|
+
return R[U] == null ? D ? R[U] === null ? new v("The " + $ + " `" + B + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new v("The " + $ + " `" + B + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : k(R, U, V, $, B);
|
|
3756
3756
|
}
|
|
3757
3757
|
var A = j.bind(null, !1);
|
|
3758
3758
|
return A.isRequired = j.bind(null, !0), A;
|
|
3759
3759
|
}
|
|
3760
|
-
function b(
|
|
3761
|
-
function
|
|
3762
|
-
var
|
|
3763
|
-
if ($ !==
|
|
3764
|
-
var B = oe(
|
|
3760
|
+
function b(k) {
|
|
3761
|
+
function _(M, j, A, D, R, U) {
|
|
3762
|
+
var V = M[j], $ = Q(V);
|
|
3763
|
+
if ($ !== k) {
|
|
3764
|
+
var B = oe(V);
|
|
3765
3765
|
return new v(
|
|
3766
|
-
"Invalid " + D + " `" + R + "` of type " + ("`" + B + "` supplied to `" + A + "`, expected ") + ("`" +
|
|
3767
|
-
{ expectedType:
|
|
3766
|
+
"Invalid " + D + " `" + R + "` of type " + ("`" + B + "` supplied to `" + A + "`, expected ") + ("`" + k + "`."),
|
|
3767
|
+
{ expectedType: k }
|
|
3768
3768
|
);
|
|
3769
3769
|
}
|
|
3770
3770
|
return null;
|
|
3771
3771
|
}
|
|
3772
|
-
return g(
|
|
3772
|
+
return g(_);
|
|
3773
3773
|
}
|
|
3774
3774
|
function x() {
|
|
3775
3775
|
return g(s);
|
|
3776
3776
|
}
|
|
3777
|
-
function E(
|
|
3778
|
-
function
|
|
3779
|
-
if (typeof
|
|
3777
|
+
function E(k) {
|
|
3778
|
+
function _(M, j, A, D, R) {
|
|
3779
|
+
if (typeof k != "function")
|
|
3780
3780
|
return new v("Property `" + R + "` of component `" + A + "` has invalid PropType notation inside arrayOf.");
|
|
3781
3781
|
var U = M[j];
|
|
3782
3782
|
if (!Array.isArray(U)) {
|
|
3783
|
-
var
|
|
3784
|
-
return new v("Invalid " + D + " `" + R + "` of type " + ("`" +
|
|
3783
|
+
var V = Q(U);
|
|
3784
|
+
return new v("Invalid " + D + " `" + R + "` of type " + ("`" + V + "` supplied to `" + A + "`, expected an array."));
|
|
3785
3785
|
}
|
|
3786
3786
|
for (var $ = 0; $ < U.length; $++) {
|
|
3787
|
-
var B =
|
|
3787
|
+
var B = k(U, $, A, D, R + "[" + $ + "]", n);
|
|
3788
3788
|
if (B instanceof Error)
|
|
3789
3789
|
return B;
|
|
3790
3790
|
}
|
|
3791
3791
|
return null;
|
|
3792
3792
|
}
|
|
3793
|
-
return g(
|
|
3793
|
+
return g(_);
|
|
3794
3794
|
}
|
|
3795
3795
|
function O() {
|
|
3796
|
-
function
|
|
3797
|
-
var R =
|
|
3796
|
+
function k(_, M, j, A, D) {
|
|
3797
|
+
var R = _[M];
|
|
3798
3798
|
if (!c(R)) {
|
|
3799
3799
|
var U = Q(R);
|
|
3800
3800
|
return new v("Invalid " + A + " `" + D + "` of type " + ("`" + U + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
3801
3801
|
}
|
|
3802
3802
|
return null;
|
|
3803
3803
|
}
|
|
3804
|
-
return g(
|
|
3804
|
+
return g(k);
|
|
3805
3805
|
}
|
|
3806
3806
|
function y() {
|
|
3807
|
-
function
|
|
3808
|
-
var R =
|
|
3807
|
+
function k(_, M, j, A, D) {
|
|
3808
|
+
var R = _[M];
|
|
3809
3809
|
if (!t.isValidElementType(R)) {
|
|
3810
3810
|
var U = Q(R);
|
|
3811
3811
|
return new v("Invalid " + A + " `" + D + "` of type " + ("`" + U + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
3812
3812
|
}
|
|
3813
3813
|
return null;
|
|
3814
3814
|
}
|
|
3815
|
-
return g(
|
|
3815
|
+
return g(k);
|
|
3816
3816
|
}
|
|
3817
|
-
function
|
|
3818
|
-
function
|
|
3819
|
-
if (!(M[j] instanceof
|
|
3820
|
-
var U =
|
|
3821
|
-
return new v("Invalid " + D + " `" + R + "` of type " + ("`" +
|
|
3817
|
+
function P(k) {
|
|
3818
|
+
function _(M, j, A, D, R) {
|
|
3819
|
+
if (!(M[j] instanceof k)) {
|
|
3820
|
+
var U = k.name || d, V = ve(M[j]);
|
|
3821
|
+
return new v("Invalid " + D + " `" + R + "` of type " + ("`" + V + "` supplied to `" + A + "`, expected ") + ("instance of `" + U + "`."));
|
|
3822
3822
|
}
|
|
3823
3823
|
return null;
|
|
3824
3824
|
}
|
|
3825
|
-
return g(
|
|
3825
|
+
return g(_);
|
|
3826
3826
|
}
|
|
3827
|
-
function I(
|
|
3828
|
-
if (!Array.isArray(
|
|
3827
|
+
function I(k) {
|
|
3828
|
+
if (!Array.isArray(k))
|
|
3829
3829
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
3830
3830
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
3831
3831
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
3832
|
-
function
|
|
3833
|
-
for (var U = M[j],
|
|
3834
|
-
if (m(U,
|
|
3832
|
+
function _(M, j, A, D, R) {
|
|
3833
|
+
for (var U = M[j], V = 0; V < k.length; V++)
|
|
3834
|
+
if (m(U, k[V]))
|
|
3835
3835
|
return null;
|
|
3836
|
-
var $ = JSON.stringify(
|
|
3837
|
-
var me = oe(
|
|
3838
|
-
return me === "symbol" ? String(
|
|
3836
|
+
var $ = JSON.stringify(k, function(se, T) {
|
|
3837
|
+
var me = oe(T);
|
|
3838
|
+
return me === "symbol" ? String(T) : T;
|
|
3839
3839
|
});
|
|
3840
3840
|
return new v("Invalid " + D + " `" + R + "` of value `" + String(U) + "` " + ("supplied to `" + A + "`, expected one of " + $ + "."));
|
|
3841
3841
|
}
|
|
3842
|
-
return g(
|
|
3842
|
+
return g(_);
|
|
3843
3843
|
}
|
|
3844
|
-
function k
|
|
3845
|
-
function
|
|
3846
|
-
if (typeof
|
|
3844
|
+
function S(k) {
|
|
3845
|
+
function _(M, j, A, D, R) {
|
|
3846
|
+
if (typeof k != "function")
|
|
3847
3847
|
return new v("Property `" + R + "` of component `" + A + "` has invalid PropType notation inside objectOf.");
|
|
3848
|
-
var U = M[j],
|
|
3849
|
-
if (
|
|
3850
|
-
return new v("Invalid " + D + " `" + R + "` of type " + ("`" +
|
|
3848
|
+
var U = M[j], V = Q(U);
|
|
3849
|
+
if (V !== "object")
|
|
3850
|
+
return new v("Invalid " + D + " `" + R + "` of type " + ("`" + V + "` supplied to `" + A + "`, expected an object."));
|
|
3851
3851
|
for (var $ in U)
|
|
3852
3852
|
if (r(U, $)) {
|
|
3853
|
-
var B =
|
|
3853
|
+
var B = k(U, $, A, D, R + "." + $, n);
|
|
3854
3854
|
if (B instanceof Error)
|
|
3855
3855
|
return B;
|
|
3856
3856
|
}
|
|
3857
3857
|
return null;
|
|
3858
3858
|
}
|
|
3859
|
-
return g(
|
|
3859
|
+
return g(_);
|
|
3860
3860
|
}
|
|
3861
|
-
function N(
|
|
3862
|
-
if (!Array.isArray(
|
|
3861
|
+
function N(k) {
|
|
3862
|
+
if (!Array.isArray(k))
|
|
3863
3863
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
3864
|
-
for (var
|
|
3865
|
-
var M =
|
|
3864
|
+
for (var _ = 0; _ < k.length; _++) {
|
|
3865
|
+
var M = k[_];
|
|
3866
3866
|
if (typeof M != "function")
|
|
3867
3867
|
return i(
|
|
3868
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
3868
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Pe(M) + " at index " + _ + "."
|
|
3869
3869
|
), s;
|
|
3870
3870
|
}
|
|
3871
|
-
function j(A, D, R, U,
|
|
3872
|
-
for (var $ = [], B = 0; B <
|
|
3873
|
-
var se =
|
|
3874
|
-
if (
|
|
3871
|
+
function j(A, D, R, U, V) {
|
|
3872
|
+
for (var $ = [], B = 0; B < k.length; B++) {
|
|
3873
|
+
var se = k[B], T = se(A, D, R, U, V, n);
|
|
3874
|
+
if (T == null)
|
|
3875
3875
|
return null;
|
|
3876
|
-
|
|
3876
|
+
T.data && r(T.data, "expectedType") && $.push(T.data.expectedType);
|
|
3877
3877
|
}
|
|
3878
3878
|
var me = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
|
|
3879
|
-
return new v("Invalid " + U + " `" +
|
|
3879
|
+
return new v("Invalid " + U + " `" + V + "` supplied to " + ("`" + R + "`" + me + "."));
|
|
3880
3880
|
}
|
|
3881
3881
|
return g(j);
|
|
3882
3882
|
}
|
|
3883
3883
|
function L() {
|
|
3884
|
-
function
|
|
3885
|
-
return le(
|
|
3884
|
+
function k(_, M, j, A, D) {
|
|
3885
|
+
return le(_[M]) ? null : new v("Invalid " + A + " `" + D + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
|
|
3886
3886
|
}
|
|
3887
|
-
return g(
|
|
3887
|
+
return g(k);
|
|
3888
3888
|
}
|
|
3889
|
-
function H(
|
|
3889
|
+
function H(k, _, M, j, A) {
|
|
3890
3890
|
return new v(
|
|
3891
|
-
(
|
|
3891
|
+
(k || "React class") + ": " + _ + " type `" + M + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + A + "`."
|
|
3892
3892
|
);
|
|
3893
3893
|
}
|
|
3894
|
-
function ae(
|
|
3895
|
-
function
|
|
3896
|
-
var U = M[j],
|
|
3897
|
-
if (
|
|
3898
|
-
return new v("Invalid " + D + " `" + R + "` of type `" +
|
|
3899
|
-
for (var $ in
|
|
3900
|
-
var B =
|
|
3894
|
+
function ae(k) {
|
|
3895
|
+
function _(M, j, A, D, R) {
|
|
3896
|
+
var U = M[j], V = Q(U);
|
|
3897
|
+
if (V !== "object")
|
|
3898
|
+
return new v("Invalid " + D + " `" + R + "` of type `" + V + "` " + ("supplied to `" + A + "`, expected `object`."));
|
|
3899
|
+
for (var $ in k) {
|
|
3900
|
+
var B = k[$];
|
|
3901
3901
|
if (typeof B != "function")
|
|
3902
3902
|
return H(A, D, R, $, oe(B));
|
|
3903
3903
|
var se = B(U, $, A, D, R + "." + $, n);
|
|
@@ -3906,48 +3906,48 @@ function oc() {
|
|
|
3906
3906
|
}
|
|
3907
3907
|
return null;
|
|
3908
3908
|
}
|
|
3909
|
-
return g(
|
|
3910
|
-
}
|
|
3911
|
-
function re(
|
|
3912
|
-
function
|
|
3913
|
-
var U = M[j],
|
|
3914
|
-
if (
|
|
3915
|
-
return new v("Invalid " + D + " `" + R + "` of type `" +
|
|
3916
|
-
var $ = e({}, M[j],
|
|
3909
|
+
return g(_);
|
|
3910
|
+
}
|
|
3911
|
+
function re(k) {
|
|
3912
|
+
function _(M, j, A, D, R) {
|
|
3913
|
+
var U = M[j], V = Q(U);
|
|
3914
|
+
if (V !== "object")
|
|
3915
|
+
return new v("Invalid " + D + " `" + R + "` of type `" + V + "` " + ("supplied to `" + A + "`, expected `object`."));
|
|
3916
|
+
var $ = e({}, M[j], k);
|
|
3917
3917
|
for (var B in $) {
|
|
3918
|
-
var se =
|
|
3919
|
-
if (r(
|
|
3918
|
+
var se = k[B];
|
|
3919
|
+
if (r(k, B) && typeof se != "function")
|
|
3920
3920
|
return H(A, D, R, B, oe(se));
|
|
3921
3921
|
if (!se)
|
|
3922
3922
|
return new v(
|
|
3923
3923
|
"Invalid " + D + " `" + R + "` key `" + B + "` supplied to `" + A + "`.\nBad object: " + JSON.stringify(M[j], null, " ") + `
|
|
3924
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
3924
|
+
Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
|
|
3925
3925
|
);
|
|
3926
|
-
var
|
|
3927
|
-
if (
|
|
3928
|
-
return
|
|
3926
|
+
var T = se(U, B, A, D, R + "." + B, n);
|
|
3927
|
+
if (T)
|
|
3928
|
+
return T;
|
|
3929
3929
|
}
|
|
3930
3930
|
return null;
|
|
3931
3931
|
}
|
|
3932
|
-
return g(
|
|
3932
|
+
return g(_);
|
|
3933
3933
|
}
|
|
3934
|
-
function le(
|
|
3935
|
-
switch (typeof
|
|
3934
|
+
function le(k) {
|
|
3935
|
+
switch (typeof k) {
|
|
3936
3936
|
case "number":
|
|
3937
3937
|
case "string":
|
|
3938
3938
|
case "undefined":
|
|
3939
3939
|
return !0;
|
|
3940
3940
|
case "boolean":
|
|
3941
|
-
return !
|
|
3941
|
+
return !k;
|
|
3942
3942
|
case "object":
|
|
3943
|
-
if (Array.isArray(
|
|
3944
|
-
return
|
|
3945
|
-
if (
|
|
3943
|
+
if (Array.isArray(k))
|
|
3944
|
+
return k.every(le);
|
|
3945
|
+
if (k === null || c(k))
|
|
3946
3946
|
return !0;
|
|
3947
|
-
var
|
|
3948
|
-
if (
|
|
3949
|
-
var M =
|
|
3950
|
-
if (
|
|
3947
|
+
var _ = p(k);
|
|
3948
|
+
if (_) {
|
|
3949
|
+
var M = _.call(k), j;
|
|
3950
|
+
if (_ !== k.entries) {
|
|
3951
3951
|
for (; !(j = M.next()).done; )
|
|
3952
3952
|
if (!le(j.value))
|
|
3953
3953
|
return !1;
|
|
@@ -3964,47 +3964,47 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
|
|
|
3964
3964
|
return !1;
|
|
3965
3965
|
}
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3968
|
-
return
|
|
3967
|
+
function ke(k, _) {
|
|
3968
|
+
return k === "symbol" ? !0 : _ ? _["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && _ instanceof Symbol : !1;
|
|
3969
3969
|
}
|
|
3970
|
-
function Q(
|
|
3971
|
-
var
|
|
3972
|
-
return Array.isArray(
|
|
3970
|
+
function Q(k) {
|
|
3971
|
+
var _ = typeof k;
|
|
3972
|
+
return Array.isArray(k) ? "array" : k instanceof RegExp ? "object" : ke(_, k) ? "symbol" : _;
|
|
3973
3973
|
}
|
|
3974
|
-
function oe(
|
|
3975
|
-
if (typeof
|
|
3976
|
-
return "" +
|
|
3977
|
-
var
|
|
3978
|
-
if (
|
|
3979
|
-
if (
|
|
3974
|
+
function oe(k) {
|
|
3975
|
+
if (typeof k > "u" || k === null)
|
|
3976
|
+
return "" + k;
|
|
3977
|
+
var _ = Q(k);
|
|
3978
|
+
if (_ === "object") {
|
|
3979
|
+
if (k instanceof Date)
|
|
3980
3980
|
return "date";
|
|
3981
|
-
if (
|
|
3981
|
+
if (k instanceof RegExp)
|
|
3982
3982
|
return "regexp";
|
|
3983
3983
|
}
|
|
3984
|
-
return
|
|
3984
|
+
return _;
|
|
3985
3985
|
}
|
|
3986
|
-
function
|
|
3987
|
-
var
|
|
3988
|
-
switch (
|
|
3986
|
+
function Pe(k) {
|
|
3987
|
+
var _ = oe(k);
|
|
3988
|
+
switch (_) {
|
|
3989
3989
|
case "array":
|
|
3990
3990
|
case "object":
|
|
3991
|
-
return "an " +
|
|
3991
|
+
return "an " + _;
|
|
3992
3992
|
case "boolean":
|
|
3993
3993
|
case "date":
|
|
3994
3994
|
case "regexp":
|
|
3995
|
-
return "a " +
|
|
3995
|
+
return "a " + _;
|
|
3996
3996
|
default:
|
|
3997
|
-
return
|
|
3997
|
+
return _;
|
|
3998
3998
|
}
|
|
3999
3999
|
}
|
|
4000
|
-
function ve(
|
|
4001
|
-
return !
|
|
4000
|
+
function ve(k) {
|
|
4001
|
+
return !k.constructor || !k.constructor.name ? d : k.constructor.name;
|
|
4002
4002
|
}
|
|
4003
4003
|
return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
4004
4004
|
}, In;
|
|
4005
4005
|
}
|
|
4006
4006
|
var Nn, ao;
|
|
4007
|
-
function
|
|
4007
|
+
function cc() {
|
|
4008
4008
|
if (ao)
|
|
4009
4009
|
return Nn;
|
|
4010
4010
|
ao = 1;
|
|
@@ -4053,10 +4053,10 @@ function ic() {
|
|
|
4053
4053
|
}, Nn;
|
|
4054
4054
|
}
|
|
4055
4055
|
if (process.env.NODE_ENV !== "production") {
|
|
4056
|
-
var
|
|
4057
|
-
Xr.exports =
|
|
4056
|
+
var lc = si(), uc = !0;
|
|
4057
|
+
Xr.exports = sc()(lc.isElement, uc);
|
|
4058
4058
|
} else
|
|
4059
|
-
Xr.exports =
|
|
4059
|
+
Xr.exports = cc()();
|
|
4060
4060
|
function Kn(t) {
|
|
4061
4061
|
return Kn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
4062
4062
|
return typeof e;
|
|
@@ -4064,31 +4064,31 @@ function Kn(t) {
|
|
|
4064
4064
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
4065
4065
|
}, Kn(t);
|
|
4066
4066
|
}
|
|
4067
|
-
var
|
|
4067
|
+
var dc;
|
|
4068
4068
|
function Bt() {
|
|
4069
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
4069
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : dc;
|
|
4070
4070
|
return e ? t.split(" ").map(function(n) {
|
|
4071
4071
|
return e[n] || n;
|
|
4072
4072
|
}).join(" ") : t;
|
|
4073
4073
|
}
|
|
4074
|
-
function
|
|
4074
|
+
function fc(t, e) {
|
|
4075
4075
|
var n = {};
|
|
4076
4076
|
return Object.keys(t).forEach(function(r) {
|
|
4077
4077
|
e.indexOf(r) === -1 && (n[r] = t[r]);
|
|
4078
4078
|
}), n;
|
|
4079
4079
|
}
|
|
4080
|
-
function
|
|
4080
|
+
function pc(t, e) {
|
|
4081
4081
|
for (var n = Array.isArray(e) ? e : [e], r = n.length, o, i = {}; r > 0; )
|
|
4082
4082
|
r -= 1, o = n[r], i[o] = t[o];
|
|
4083
4083
|
return i;
|
|
4084
4084
|
}
|
|
4085
|
-
var
|
|
4085
|
+
var hc = (typeof window > "u" ? "undefined" : Kn(window)) === "object" && window.Element || function() {
|
|
4086
4086
|
};
|
|
4087
|
-
function
|
|
4088
|
-
if (!(t[e] instanceof
|
|
4087
|
+
function mc(t, e, n) {
|
|
4088
|
+
if (!(t[e] instanceof hc))
|
|
4089
4089
|
return new Error("Invalid prop `" + e + "` supplied to `" + n + "`. Expected prop to be an instance of Element. Validation failed.");
|
|
4090
4090
|
}
|
|
4091
|
-
C.oneOfType([C.string, C.func,
|
|
4091
|
+
C.oneOfType([C.string, C.func, mc, C.shape({
|
|
4092
4092
|
current: C.any
|
|
4093
4093
|
})]);
|
|
4094
4094
|
var vn = C.oneOfType([C.func, C.string, C.shape({
|
|
@@ -4097,7 +4097,7 @@ var vn = C.oneOfType([C.func, C.string, C.shape({
|
|
|
4097
4097
|
}), C.arrayOf(C.oneOfType([C.func, C.string, C.shape({
|
|
4098
4098
|
$$typeof: C.symbol,
|
|
4099
4099
|
render: C.func
|
|
4100
|
-
})]))]),
|
|
4100
|
+
})]))]), vc = {
|
|
4101
4101
|
Fade: 150,
|
|
4102
4102
|
// $transition-fade
|
|
4103
4103
|
Collapse: 350,
|
|
@@ -4113,7 +4113,7 @@ var vn = C.oneOfType([C.func, C.string, C.shape({
|
|
|
4113
4113
|
ENTERED: "entered",
|
|
4114
4114
|
EXITING: "exiting",
|
|
4115
4115
|
EXITED: "exited"
|
|
4116
|
-
},
|
|
4116
|
+
}, gc = ["className", "cssModule", "variant", "innerRef"];
|
|
4117
4117
|
function qn() {
|
|
4118
4118
|
return qn = Object.assign ? Object.assign.bind() : function(t) {
|
|
4119
4119
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -4134,24 +4134,24 @@ function co(t, e) {
|
|
|
4134
4134
|
}
|
|
4135
4135
|
return n;
|
|
4136
4136
|
}
|
|
4137
|
-
function
|
|
4137
|
+
function yc(t) {
|
|
4138
4138
|
for (var e = 1; e < arguments.length; e++) {
|
|
4139
4139
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
4140
4140
|
e % 2 ? co(Object(n), !0).forEach(function(r) {
|
|
4141
|
-
|
|
4141
|
+
bc(t, r, n[r]);
|
|
4142
4142
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : co(Object(n)).forEach(function(r) {
|
|
4143
4143
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
4144
4144
|
});
|
|
4145
4145
|
}
|
|
4146
4146
|
return t;
|
|
4147
4147
|
}
|
|
4148
|
-
function
|
|
4148
|
+
function bc(t, e, n) {
|
|
4149
4149
|
return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
4150
4150
|
}
|
|
4151
|
-
function
|
|
4151
|
+
function wc(t, e) {
|
|
4152
4152
|
if (t == null)
|
|
4153
4153
|
return {};
|
|
4154
|
-
var n =
|
|
4154
|
+
var n = Cc(t, e), r, o;
|
|
4155
4155
|
if (Object.getOwnPropertySymbols) {
|
|
4156
4156
|
var i = Object.getOwnPropertySymbols(t);
|
|
4157
4157
|
for (o = 0; o < i.length; o++)
|
|
@@ -4159,7 +4159,7 @@ function gc(t, e) {
|
|
|
4159
4159
|
}
|
|
4160
4160
|
return n;
|
|
4161
4161
|
}
|
|
4162
|
-
function
|
|
4162
|
+
function Cc(t, e) {
|
|
4163
4163
|
if (t == null)
|
|
4164
4164
|
return {};
|
|
4165
4165
|
var n = {}, r = Object.keys(t), o, i;
|
|
@@ -4167,7 +4167,7 @@ function yc(t, e) {
|
|
|
4167
4167
|
o = r[i], !(e.indexOf(o) >= 0) && (n[o] = t[o]);
|
|
4168
4168
|
return n;
|
|
4169
4169
|
}
|
|
4170
|
-
var
|
|
4170
|
+
var Oc = {
|
|
4171
4171
|
/** Disable the button if needed */
|
|
4172
4172
|
active: C.bool,
|
|
4173
4173
|
/** Aria label */
|
|
@@ -4183,17 +4183,17 @@ var bc = {
|
|
|
4183
4183
|
function li(t) {
|
|
4184
4184
|
var e = t.className;
|
|
4185
4185
|
t.cssModule;
|
|
4186
|
-
var n = t.variant, r = t.innerRef, o =
|
|
4186
|
+
var n = t.variant, r = t.innerRef, o = wc(t, gc), i = Bt(G(e, "btn-close", n && "btn-close-".concat(n)));
|
|
4187
4187
|
return /* @__PURE__ */ be.createElement("button", qn({
|
|
4188
4188
|
ref: r,
|
|
4189
4189
|
type: "button",
|
|
4190
4190
|
className: i
|
|
4191
|
-
},
|
|
4191
|
+
}, yc({
|
|
4192
4192
|
"aria-label": "close"
|
|
4193
4193
|
}, o)));
|
|
4194
4194
|
}
|
|
4195
|
-
li.propTypes =
|
|
4196
|
-
var
|
|
4195
|
+
li.propTypes = Oc;
|
|
4196
|
+
var Ec = ["active", "aria-label", "block", "className", "close", "cssModule", "color", "outline", "size", "tag", "innerRef"];
|
|
4197
4197
|
function Yn() {
|
|
4198
4198
|
return Yn = Object.assign ? Object.assign.bind() : function(t) {
|
|
4199
4199
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -4204,10 +4204,10 @@ function Yn() {
|
|
|
4204
4204
|
return t;
|
|
4205
4205
|
}, Yn.apply(this, arguments);
|
|
4206
4206
|
}
|
|
4207
|
-
function
|
|
4207
|
+
function xc(t, e) {
|
|
4208
4208
|
if (t == null)
|
|
4209
4209
|
return {};
|
|
4210
|
-
var n =
|
|
4210
|
+
var n = kc(t, e), r, o;
|
|
4211
4211
|
if (Object.getOwnPropertySymbols) {
|
|
4212
4212
|
var i = Object.getOwnPropertySymbols(t);
|
|
4213
4213
|
for (o = 0; o < i.length; o++)
|
|
@@ -4215,7 +4215,7 @@ function Cc(t, e) {
|
|
|
4215
4215
|
}
|
|
4216
4216
|
return n;
|
|
4217
4217
|
}
|
|
4218
|
-
function
|
|
4218
|
+
function kc(t, e) {
|
|
4219
4219
|
if (t == null)
|
|
4220
4220
|
return {};
|
|
4221
4221
|
var n = {}, r = Object.keys(t), o, i;
|
|
@@ -4223,7 +4223,7 @@ function Oc(t, e) {
|
|
|
4223
4223
|
o = r[i], !(e.indexOf(o) >= 0) && (n[o] = t[o]);
|
|
4224
4224
|
return n;
|
|
4225
4225
|
}
|
|
4226
|
-
var
|
|
4226
|
+
var Sc = {
|
|
4227
4227
|
/** Manually set the visual state of the button to active */
|
|
4228
4228
|
active: C.bool,
|
|
4229
4229
|
/** Aria label */
|
|
@@ -4259,7 +4259,7 @@ function gn(t) {
|
|
|
4259
4259
|
}
|
|
4260
4260
|
if (t.onClick)
|
|
4261
4261
|
return t.onClick(x);
|
|
4262
|
-
}, [t.onClick, t.disabled]), n = t.active, r = t["aria-label"], o = t.block, i = t.className, s = t.close, c = t.cssModule, l = t.color, u = l === void 0 ? "secondary" : l, f = t.outline, p = t.size, d = t.tag, h = d === void 0 ? "button" : d, m = t.innerRef, v =
|
|
4262
|
+
}, [t.onClick, t.disabled]), n = t.active, r = t["aria-label"], o = t.block, i = t.className, s = t.close, c = t.cssModule, l = t.color, u = l === void 0 ? "secondary" : l, f = t.outline, p = t.size, d = t.tag, h = d === void 0 ? "button" : d, m = t.innerRef, v = xc(t, Ec);
|
|
4263
4263
|
if (s)
|
|
4264
4264
|
return /* @__PURE__ */ be.createElement(li, v);
|
|
4265
4265
|
var g = "btn".concat(f ? "-outline" : "", "-").concat(u), b = Bt(G(i, "btn", g, p ? "btn-".concat(p) : !1, o ? "d-block w-100" : !1, {
|
|
@@ -4275,8 +4275,8 @@ function gn(t) {
|
|
|
4275
4275
|
"aria-label": r
|
|
4276
4276
|
}));
|
|
4277
4277
|
}
|
|
4278
|
-
gn.propTypes =
|
|
4279
|
-
function
|
|
4278
|
+
gn.propTypes = Sc;
|
|
4279
|
+
function Pc(t, e) {
|
|
4280
4280
|
if (t == null)
|
|
4281
4281
|
return {};
|
|
4282
4282
|
var n = {}, r = Object.keys(t), o, i;
|
|
@@ -4289,13 +4289,13 @@ function Xn(t, e) {
|
|
|
4289
4289
|
return r.__proto__ = o, r;
|
|
4290
4290
|
}, Xn(t, e);
|
|
4291
4291
|
}
|
|
4292
|
-
function
|
|
4292
|
+
function Tc(t, e) {
|
|
4293
4293
|
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Xn(t, e);
|
|
4294
4294
|
}
|
|
4295
4295
|
const lo = {
|
|
4296
4296
|
disabled: !1
|
|
4297
4297
|
};
|
|
4298
|
-
var
|
|
4298
|
+
var _c = process.env.NODE_ENV !== "production" ? C.oneOfType([C.number, C.shape({
|
|
4299
4299
|
enter: C.number,
|
|
4300
4300
|
exit: C.number,
|
|
4301
4301
|
appear: C.number
|
|
@@ -4313,10 +4313,10 @@ process.env.NODE_ENV !== "production" && C.oneOfType([C.string, C.shape({
|
|
|
4313
4313
|
exitActive: C.string
|
|
4314
4314
|
})]);
|
|
4315
4315
|
const ui = be.createContext(null);
|
|
4316
|
-
var
|
|
4316
|
+
var Ic = function(e) {
|
|
4317
4317
|
return e.scrollTop;
|
|
4318
4318
|
}, Lt = "unmounted", nt = "exited", rt = "entering", gt = "entered", Jn = "exiting", Ge = /* @__PURE__ */ function(t) {
|
|
4319
|
-
|
|
4319
|
+
Tc(e, t);
|
|
4320
4320
|
function e(r, o) {
|
|
4321
4321
|
var i;
|
|
4322
4322
|
i = t.call(this, r, o) || this;
|
|
@@ -4355,7 +4355,7 @@ var _c = function(e) {
|
|
|
4355
4355
|
if (this.cancelNextCallback(), i === rt) {
|
|
4356
4356
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
4357
4357
|
var s = this.props.nodeRef ? this.props.nodeRef.current : Gt.findDOMNode(this);
|
|
4358
|
-
s &&
|
|
4358
|
+
s && Ic(s);
|
|
4359
4359
|
}
|
|
4360
4360
|
this.performEnter(o);
|
|
4361
4361
|
} else
|
|
@@ -4435,7 +4435,7 @@ var _c = function(e) {
|
|
|
4435
4435
|
return null;
|
|
4436
4436
|
var i = this.props, s = i.children;
|
|
4437
4437
|
i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef;
|
|
4438
|
-
var c =
|
|
4438
|
+
var c = Pc(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
4439
4439
|
return (
|
|
4440
4440
|
// allows for nested Transitions
|
|
4441
4441
|
/* @__PURE__ */ be.createElement(ui.Provider, {
|
|
@@ -4541,7 +4541,7 @@ Ge.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
4541
4541
|
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
4542
4542
|
*/
|
|
4543
4543
|
timeout: function(e) {
|
|
4544
|
-
var n =
|
|
4544
|
+
var n = _c;
|
|
4545
4545
|
e.addEndListener || (n = n.isRequired);
|
|
4546
4546
|
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
4547
4547
|
o[i - 1] = arguments[i];
|
|
@@ -4643,7 +4643,7 @@ function Qn(t) {
|
|
|
4643
4643
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
4644
4644
|
}, Qn(t);
|
|
4645
4645
|
}
|
|
4646
|
-
var
|
|
4646
|
+
var Nc = ["tag", "horizontal", "isOpen", "className", "navbar", "cssModule", "children", "innerRef"], ht;
|
|
4647
4647
|
function sn() {
|
|
4648
4648
|
return sn = Object.assign ? Object.assign.bind() : function(t) {
|
|
4649
4649
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -4654,10 +4654,10 @@ function sn() {
|
|
|
4654
4654
|
return t;
|
|
4655
4655
|
}, sn.apply(this, arguments);
|
|
4656
4656
|
}
|
|
4657
|
-
function
|
|
4657
|
+
function Ac(t, e) {
|
|
4658
4658
|
if (t == null)
|
|
4659
4659
|
return {};
|
|
4660
|
-
var n =
|
|
4660
|
+
var n = Rc(t, e), r, o;
|
|
4661
4661
|
if (Object.getOwnPropertySymbols) {
|
|
4662
4662
|
var i = Object.getOwnPropertySymbols(t);
|
|
4663
4663
|
for (o = 0; o < i.length; o++)
|
|
@@ -4665,7 +4665,7 @@ function Tc(t, e) {
|
|
|
4665
4665
|
}
|
|
4666
4666
|
return n;
|
|
4667
4667
|
}
|
|
4668
|
-
function
|
|
4668
|
+
function Rc(t, e) {
|
|
4669
4669
|
if (t == null)
|
|
4670
4670
|
return {};
|
|
4671
4671
|
var n = {}, r = Object.keys(t), o, i;
|
|
@@ -4673,7 +4673,7 @@ function Ic(t, e) {
|
|
|
4673
4673
|
o = r[i], !(e.indexOf(o) >= 0) && (n[o] = t[o]);
|
|
4674
4674
|
return n;
|
|
4675
4675
|
}
|
|
4676
|
-
function
|
|
4676
|
+
function Lc(t, e) {
|
|
4677
4677
|
if (!(t instanceof e))
|
|
4678
4678
|
throw new TypeError("Cannot call a class as a function");
|
|
4679
4679
|
}
|
|
@@ -4683,10 +4683,10 @@ function uo(t, e) {
|
|
|
4683
4683
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
4684
4684
|
}
|
|
4685
4685
|
}
|
|
4686
|
-
function
|
|
4686
|
+
function Mc(t, e, n) {
|
|
4687
4687
|
return e && uo(t.prototype, e), n && uo(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
4688
4688
|
}
|
|
4689
|
-
function
|
|
4689
|
+
function Dc(t, e) {
|
|
4690
4690
|
if (typeof e != "function" && e !== null)
|
|
4691
4691
|
throw new TypeError("Super expression must either be null or a function");
|
|
4692
4692
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && er(t, e);
|
|
@@ -4696,8 +4696,8 @@ function er(t, e) {
|
|
|
4696
4696
|
return r.__proto__ = o, r;
|
|
4697
4697
|
}, er(t, e);
|
|
4698
4698
|
}
|
|
4699
|
-
function
|
|
4700
|
-
var e =
|
|
4699
|
+
function jc(t) {
|
|
4700
|
+
var e = Fc();
|
|
4701
4701
|
return function() {
|
|
4702
4702
|
var r = cn(t), o;
|
|
4703
4703
|
if (e) {
|
|
@@ -4705,10 +4705,10 @@ function Lc(t) {
|
|
|
4705
4705
|
o = Reflect.construct(r, arguments, i);
|
|
4706
4706
|
} else
|
|
4707
4707
|
o = r.apply(this, arguments);
|
|
4708
|
-
return
|
|
4708
|
+
return Uc(this, o);
|
|
4709
4709
|
};
|
|
4710
4710
|
}
|
|
4711
|
-
function
|
|
4711
|
+
function Uc(t, e) {
|
|
4712
4712
|
if (e && (Qn(e) === "object" || typeof e == "function"))
|
|
4713
4713
|
return e;
|
|
4714
4714
|
if (e !== void 0)
|
|
@@ -4720,7 +4720,7 @@ function di(t) {
|
|
|
4720
4720
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4721
4721
|
return t;
|
|
4722
4722
|
}
|
|
4723
|
-
function
|
|
4723
|
+
function Fc() {
|
|
4724
4724
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
4725
4725
|
return !1;
|
|
4726
4726
|
if (typeof Proxy == "function")
|
|
@@ -4747,7 +4747,7 @@ function fo(t, e) {
|
|
|
4747
4747
|
}
|
|
4748
4748
|
return n;
|
|
4749
4749
|
}
|
|
4750
|
-
function
|
|
4750
|
+
function St(t) {
|
|
4751
4751
|
for (var e = 1; e < arguments.length; e++) {
|
|
4752
4752
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
4753
4753
|
e % 2 ? fo(Object(n), !0).forEach(function(r) {
|
|
@@ -4761,7 +4761,7 @@ function kt(t) {
|
|
|
4761
4761
|
function bt(t, e, n) {
|
|
4762
4762
|
return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
|
|
4763
4763
|
}
|
|
4764
|
-
var
|
|
4764
|
+
var Wc = St(St({}, Or.propTypes), {}, {
|
|
4765
4765
|
/** Make content animation appear horizontally */
|
|
4766
4766
|
horizontal: C.bool,
|
|
4767
4767
|
/** Set if Collapse is open or closed */
|
|
@@ -4777,30 +4777,30 @@ var jc = kt(kt({}, Or.propTypes), {}, {
|
|
|
4777
4777
|
innerRef: C.shape({
|
|
4778
4778
|
current: C.object
|
|
4779
4779
|
})
|
|
4780
|
-
}),
|
|
4780
|
+
}), Hc = St(St({}, Or.defaultProps), {}, {
|
|
4781
4781
|
horizontal: !1,
|
|
4782
4782
|
isOpen: !1,
|
|
4783
4783
|
appear: !1,
|
|
4784
4784
|
enter: !0,
|
|
4785
4785
|
exit: !0,
|
|
4786
4786
|
tag: "div",
|
|
4787
|
-
timeout:
|
|
4788
|
-
}),
|
|
4789
|
-
function
|
|
4790
|
-
return
|
|
4787
|
+
timeout: vc.Collapse
|
|
4788
|
+
}), Vc = (ht = {}, bt(ht, Yt.ENTERING, "collapsing"), bt(ht, Yt.ENTERED, "collapse show"), bt(ht, Yt.EXITING, "collapsing"), bt(ht, Yt.EXITED, "collapse"), ht);
|
|
4789
|
+
function zc(t) {
|
|
4790
|
+
return Vc[t] || "collapse";
|
|
4791
4791
|
}
|
|
4792
4792
|
var Er = /* @__PURE__ */ function(t) {
|
|
4793
|
-
|
|
4794
|
-
var e =
|
|
4793
|
+
Dc(n, t);
|
|
4794
|
+
var e = jc(n);
|
|
4795
4795
|
function n(r) {
|
|
4796
4796
|
var o;
|
|
4797
|
-
return
|
|
4797
|
+
return Lc(this, n), o = e.call(this, r), o.state = {
|
|
4798
4798
|
dimension: null
|
|
4799
4799
|
}, o.nodeRef = r.innerRef || /* @__PURE__ */ be.createRef(), ["onEntering", "onEntered", "onExit", "onExiting", "onExited"].forEach(function(i) {
|
|
4800
4800
|
o[i] = o[i].bind(di(o));
|
|
4801
4801
|
}), o;
|
|
4802
4802
|
}
|
|
4803
|
-
return
|
|
4803
|
+
return Mc(n, [{
|
|
4804
4804
|
key: "onEntering",
|
|
4805
4805
|
value: function(o, i) {
|
|
4806
4806
|
var s = this.getNode();
|
|
@@ -4855,7 +4855,7 @@ var Er = /* @__PURE__ */ function(t) {
|
|
|
4855
4855
|
value: function() {
|
|
4856
4856
|
var o = this, i = this.props, s = i.tag, c = i.horizontal, l = i.isOpen, u = i.className, f = i.navbar, p = i.cssModule, d = i.children;
|
|
4857
4857
|
i.innerRef;
|
|
4858
|
-
var h =
|
|
4858
|
+
var h = Ac(i, Nc), m = this.state.dimension, v = pc(h, so), g = fc(h, so);
|
|
4859
4859
|
return /* @__PURE__ */ be.createElement(Or, sn({}, v, {
|
|
4860
4860
|
in: l,
|
|
4861
4861
|
nodeRef: this.nodeRef,
|
|
@@ -4865,18 +4865,18 @@ var Er = /* @__PURE__ */ function(t) {
|
|
|
4865
4865
|
onExiting: this.onExiting,
|
|
4866
4866
|
onExited: this.onExited
|
|
4867
4867
|
}), function(b) {
|
|
4868
|
-
var x =
|
|
4868
|
+
var x = zc(b), E = Bt(G(u, c && "collapse-horizontal", x, f && "navbar-collapse"), p), O = m === null ? null : bt({}, c ? "width" : "height", m);
|
|
4869
4869
|
return /* @__PURE__ */ be.createElement(s, sn({}, g, {
|
|
4870
|
-
style:
|
|
4870
|
+
style: St(St({}, g.style), O),
|
|
4871
4871
|
className: E,
|
|
4872
4872
|
ref: o.nodeRef
|
|
4873
4873
|
}), d);
|
|
4874
4874
|
});
|
|
4875
4875
|
}
|
|
4876
4876
|
}]), n;
|
|
4877
|
-
}(
|
|
4878
|
-
Er.propTypes =
|
|
4879
|
-
Er.defaultProps =
|
|
4877
|
+
}(_o);
|
|
4878
|
+
Er.propTypes = Wc;
|
|
4879
|
+
Er.defaultProps = Hc;
|
|
4880
4880
|
const fi = Er;
|
|
4881
4881
|
function tr(t) {
|
|
4882
4882
|
return tr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -4885,7 +4885,7 @@ function tr(t) {
|
|
|
4885
4885
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
4886
4886
|
}, tr(t);
|
|
4887
4887
|
}
|
|
4888
|
-
var
|
|
4888
|
+
var Zc = ["className", "cssModule", "tag", "innerRef"];
|
|
4889
4889
|
function nr() {
|
|
4890
4890
|
return nr = Object.assign ? Object.assign.bind() : function(t) {
|
|
4891
4891
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -4896,10 +4896,10 @@ function nr() {
|
|
|
4896
4896
|
return t;
|
|
4897
4897
|
}, nr.apply(this, arguments);
|
|
4898
4898
|
}
|
|
4899
|
-
function
|
|
4899
|
+
function Bc(t, e) {
|
|
4900
4900
|
if (t == null)
|
|
4901
4901
|
return {};
|
|
4902
|
-
var n =
|
|
4902
|
+
var n = $c(t, e), r, o;
|
|
4903
4903
|
if (Object.getOwnPropertySymbols) {
|
|
4904
4904
|
var i = Object.getOwnPropertySymbols(t);
|
|
4905
4905
|
for (o = 0; o < i.length; o++)
|
|
@@ -4907,7 +4907,7 @@ function zc(t, e) {
|
|
|
4907
4907
|
}
|
|
4908
4908
|
return n;
|
|
4909
4909
|
}
|
|
4910
|
-
function
|
|
4910
|
+
function $c(t, e) {
|
|
4911
4911
|
if (t == null)
|
|
4912
4912
|
return {};
|
|
4913
4913
|
var n = {}, r = Object.keys(t), o, i;
|
|
@@ -4915,7 +4915,7 @@ function Vc(t, e) {
|
|
|
4915
4915
|
o = r[i], !(e.indexOf(o) >= 0) && (n[o] = t[o]);
|
|
4916
4916
|
return n;
|
|
4917
4917
|
}
|
|
4918
|
-
function
|
|
4918
|
+
function Gc(t, e) {
|
|
4919
4919
|
if (!(t instanceof e))
|
|
4920
4920
|
throw new TypeError("Cannot call a class as a function");
|
|
4921
4921
|
}
|
|
@@ -4925,10 +4925,10 @@ function po(t, e) {
|
|
|
4925
4925
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
4926
4926
|
}
|
|
4927
4927
|
}
|
|
4928
|
-
function
|
|
4928
|
+
function Kc(t, e, n) {
|
|
4929
4929
|
return e && po(t.prototype, e), n && po(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
4930
4930
|
}
|
|
4931
|
-
function
|
|
4931
|
+
function qc(t, e) {
|
|
4932
4932
|
if (typeof e != "function" && e !== null)
|
|
4933
4933
|
throw new TypeError("Super expression must either be null or a function");
|
|
4934
4934
|
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && rr(t, e);
|
|
@@ -4938,8 +4938,8 @@ function rr(t, e) {
|
|
|
4938
4938
|
return r.__proto__ = o, r;
|
|
4939
4939
|
}, rr(t, e);
|
|
4940
4940
|
}
|
|
4941
|
-
function
|
|
4942
|
-
var e =
|
|
4941
|
+
function Yc(t) {
|
|
4942
|
+
var e = Jc();
|
|
4943
4943
|
return function() {
|
|
4944
4944
|
var r = ln(t), o;
|
|
4945
4945
|
if (e) {
|
|
@@ -4947,10 +4947,10 @@ function Gc(t) {
|
|
|
4947
4947
|
o = Reflect.construct(r, arguments, i);
|
|
4948
4948
|
} else
|
|
4949
4949
|
o = r.apply(this, arguments);
|
|
4950
|
-
return
|
|
4950
|
+
return Xc(this, o);
|
|
4951
4951
|
};
|
|
4952
4952
|
}
|
|
4953
|
-
function
|
|
4953
|
+
function Xc(t, e) {
|
|
4954
4954
|
if (e && (tr(e) === "object" || typeof e == "function"))
|
|
4955
4955
|
return e;
|
|
4956
4956
|
if (e !== void 0)
|
|
@@ -4962,7 +4962,7 @@ function or(t) {
|
|
|
4962
4962
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4963
4963
|
return t;
|
|
4964
4964
|
}
|
|
4965
|
-
function
|
|
4965
|
+
function Jc() {
|
|
4966
4966
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
4967
4967
|
return !1;
|
|
4968
4968
|
if (typeof Proxy == "function")
|
|
@@ -4979,20 +4979,20 @@ function ln(t) {
|
|
|
4979
4979
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
4980
4980
|
}, ln(t);
|
|
4981
4981
|
}
|
|
4982
|
-
var
|
|
4982
|
+
var Qc = {
|
|
4983
4983
|
children: C.node,
|
|
4984
4984
|
tag: vn,
|
|
4985
4985
|
innerRef: C.oneOfType([C.object, C.func, C.string]),
|
|
4986
4986
|
className: C.string,
|
|
4987
4987
|
cssModule: C.object
|
|
4988
4988
|
}, pi = /* @__PURE__ */ function(t) {
|
|
4989
|
-
|
|
4990
|
-
var e =
|
|
4989
|
+
qc(n, t);
|
|
4990
|
+
var e = Yc(n);
|
|
4991
4991
|
function n(r) {
|
|
4992
4992
|
var o;
|
|
4993
|
-
return
|
|
4993
|
+
return Gc(this, n), o = e.call(this, r), o.getRef = o.getRef.bind(or(o)), o.submit = o.submit.bind(or(o)), o;
|
|
4994
4994
|
}
|
|
4995
|
-
return
|
|
4995
|
+
return Kc(n, [{
|
|
4996
4996
|
key: "getRef",
|
|
4997
4997
|
value: function(o) {
|
|
4998
4998
|
this.props.innerRef && this.props.innerRef(o), this.ref = o;
|
|
@@ -5005,17 +5005,17 @@ var Yc = {
|
|
|
5005
5005
|
}, {
|
|
5006
5006
|
key: "render",
|
|
5007
5007
|
value: function() {
|
|
5008
|
-
var o = this.props, i = o.className, s = o.cssModule, c = o.tag, l = c === void 0 ? "form" : c, u = o.innerRef, f =
|
|
5008
|
+
var o = this.props, i = o.className, s = o.cssModule, c = o.tag, l = c === void 0 ? "form" : c, u = o.innerRef, f = Bc(o, Zc), p = Bt(i, s);
|
|
5009
5009
|
return /* @__PURE__ */ be.createElement(l, nr({}, f, {
|
|
5010
5010
|
ref: u,
|
|
5011
5011
|
className: p
|
|
5012
5012
|
}));
|
|
5013
5013
|
}
|
|
5014
5014
|
}]), n;
|
|
5015
|
-
}(
|
|
5016
|
-
pi.propTypes =
|
|
5015
|
+
}(_o);
|
|
5016
|
+
pi.propTypes = Qc;
|
|
5017
5017
|
const hi = pi;
|
|
5018
|
-
var
|
|
5018
|
+
var el = ["className", "cssModule", "row", "disabled", "check", "inline", "floating", "noMargin", "tag", "switch"];
|
|
5019
5019
|
function ir() {
|
|
5020
5020
|
return ir = Object.assign ? Object.assign.bind() : function(t) {
|
|
5021
5021
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -5026,10 +5026,10 @@ function ir() {
|
|
|
5026
5026
|
return t;
|
|
5027
5027
|
}, ir.apply(this, arguments);
|
|
5028
5028
|
}
|
|
5029
|
-
function
|
|
5029
|
+
function tl(t, e) {
|
|
5030
5030
|
if (t == null)
|
|
5031
5031
|
return {};
|
|
5032
|
-
var n =
|
|
5032
|
+
var n = nl(t, e), r, o;
|
|
5033
5033
|
if (Object.getOwnPropertySymbols) {
|
|
5034
5034
|
var i = Object.getOwnPropertySymbols(t);
|
|
5035
5035
|
for (o = 0; o < i.length; o++)
|
|
@@ -5037,7 +5037,7 @@ function Jc(t, e) {
|
|
|
5037
5037
|
}
|
|
5038
5038
|
return n;
|
|
5039
5039
|
}
|
|
5040
|
-
function
|
|
5040
|
+
function nl(t, e) {
|
|
5041
5041
|
if (t == null)
|
|
5042
5042
|
return {};
|
|
5043
5043
|
var n = {}, r = Object.keys(t), o, i;
|
|
@@ -5045,7 +5045,7 @@ function Qc(t, e) {
|
|
|
5045
5045
|
o = r[i], !(e.indexOf(o) >= 0) && (n[o] = t[o]);
|
|
5046
5046
|
return n;
|
|
5047
5047
|
}
|
|
5048
|
-
var
|
|
5048
|
+
var rl = {
|
|
5049
5049
|
children: C.node,
|
|
5050
5050
|
row: C.bool,
|
|
5051
5051
|
check: C.bool,
|
|
@@ -5059,27 +5059,27 @@ var el = {
|
|
|
5059
5059
|
cssModule: C.object
|
|
5060
5060
|
};
|
|
5061
5061
|
function ar(t) {
|
|
5062
|
-
var e = t.className, n = t.cssModule, r = t.row, o = t.disabled, i = t.check, s = t.inline, c = t.floating, l = t.noMargin, u = t.tag, f = u === void 0 ? "div" : u, p = t.switch, d =
|
|
5062
|
+
var e = t.className, n = t.cssModule, r = t.row, o = t.disabled, i = t.check, s = t.inline, c = t.floating, l = t.noMargin, u = t.tag, f = u === void 0 ? "div" : u, p = t.switch, d = tl(t, el), h = i || p, m = Bt(G(e, r ? "row" : !1, h ? "form-check" : !1, p ? "form-switch" : !1, h || l ? !1 : "mb-3", h && s ? "form-check-inline" : !1, h && o ? "disabled" : !1, c && "form-floating"), n);
|
|
5063
5063
|
return f === "fieldset" && (d.disabled = o), /* @__PURE__ */ be.createElement(f, ir({}, d, {
|
|
5064
5064
|
className: m
|
|
5065
5065
|
}));
|
|
5066
5066
|
}
|
|
5067
|
-
ar.propTypes =
|
|
5067
|
+
ar.propTypes = rl;
|
|
5068
5068
|
const xr = (t) => {
|
|
5069
|
-
const { config: e, isFavoritismEnabled: n, level: r = 1, onItemClick: o } = t, { isCollapsible: i, showAllItems: s, displayCount: c =
|
|
5069
|
+
const { config: e, isFavoritismEnabled: n, level: r = 1, onItemClick: o } = t, { isCollapsible: i, showAllItems: s, displayCount: c = Qs } = e, l = Pt(), u = zo(), [f, p] = z(1), [d, h] = z(0), [m, v] = z(!1), g = Le({}), b = e.items.filter((S) => Mt(S)), x = e.items.filter((S) => !Mt(S)), E = s ? x : x.slice(0, f * c);
|
|
5070
5070
|
te(() => {
|
|
5071
5071
|
l.isOpen || p(1);
|
|
5072
5072
|
}, [l.isOpen]);
|
|
5073
5073
|
const O = () => {
|
|
5074
|
-
p((
|
|
5075
|
-
}, y = [...b, ...E],
|
|
5076
|
-
g.current[
|
|
5074
|
+
p((S) => S + 1);
|
|
5075
|
+
}, y = [...b, ...E], P = (S) => {
|
|
5076
|
+
g.current[S]?.querySelector("[tabIndex]")?.focus(), h(S);
|
|
5077
5077
|
}, I = () => {
|
|
5078
|
-
i && v((
|
|
5078
|
+
i && v((S) => !S);
|
|
5079
5079
|
};
|
|
5080
5080
|
return /* @__PURE__ */ w("li", { className: "section", children: [
|
|
5081
5081
|
/* @__PURE__ */ a(
|
|
5082
|
-
|
|
5082
|
+
qi,
|
|
5083
5083
|
{
|
|
5084
5084
|
iconSrc: e.iconSrc,
|
|
5085
5085
|
iconName: e.iconName,
|
|
@@ -5094,22 +5094,22 @@ const xr = (t) => {
|
|
|
5094
5094
|
}
|
|
5095
5095
|
),
|
|
5096
5096
|
/* @__PURE__ */ w(fi, { isOpen: i ? m : !0, tag: "ul", children: [
|
|
5097
|
-
y.map((
|
|
5097
|
+
y.map((S, N) => Mt(S) ? /* @__PURE__ */ a(
|
|
5098
5098
|
xr,
|
|
5099
5099
|
{
|
|
5100
|
-
config:
|
|
5100
|
+
config: S,
|
|
5101
5101
|
isFavoritismEnabled: n,
|
|
5102
5102
|
level: r + 1,
|
|
5103
5103
|
onItemClick: o
|
|
5104
5104
|
},
|
|
5105
|
-
|
|
5105
|
+
S.id
|
|
5106
5106
|
) : /* @__PURE__ */ a("li", { ref: (L) => g.current[N] = L, children: /* @__PURE__ */ a(
|
|
5107
|
-
|
|
5107
|
+
Js,
|
|
5108
5108
|
{
|
|
5109
5109
|
isFavoritismEnabled: n,
|
|
5110
|
-
item:
|
|
5110
|
+
item: S,
|
|
5111
5111
|
onClick: (L, H) => o?.(L, {
|
|
5112
|
-
item:
|
|
5112
|
+
item: S,
|
|
5113
5113
|
modifier: u,
|
|
5114
5114
|
selectedContextMenuActionName: H?.name
|
|
5115
5115
|
}),
|
|
@@ -5117,7 +5117,7 @@ const xr = (t) => {
|
|
|
5117
5117
|
onKeyDown: (L) => {
|
|
5118
5118
|
Do({
|
|
5119
5119
|
event: L,
|
|
5120
|
-
moveFocus:
|
|
5120
|
+
moveFocus: P,
|
|
5121
5121
|
currentIndex: d,
|
|
5122
5122
|
min: 0,
|
|
5123
5123
|
max: y.length - 1
|
|
@@ -5125,8 +5125,8 @@ const xr = (t) => {
|
|
|
5125
5125
|
},
|
|
5126
5126
|
focused: d === N
|
|
5127
5127
|
},
|
|
5128
|
-
|
|
5129
|
-
) },
|
|
5128
|
+
S.id || N
|
|
5129
|
+
) }, S.id || N)),
|
|
5130
5130
|
!s && e.items.length - b.length > c * f && /* @__PURE__ */ a("li", { "data-testid": "more-li-element", children: /* @__PURE__ */ a(
|
|
5131
5131
|
"div",
|
|
5132
5132
|
{
|
|
@@ -5143,23 +5143,23 @@ const xr = (t) => {
|
|
|
5143
5143
|
) })
|
|
5144
5144
|
] })
|
|
5145
5145
|
] });
|
|
5146
|
-
}, mi = (t) => `${t.type}-${t.id}`,
|
|
5146
|
+
}, mi = (t) => `${t.type}-${t.id}`, ol = (t, e) => vi(t)[e], vi = (t) => t.reduce((e, n) => Mt(n) ? { ...e, ...vi(n.items) } : { ...e, [mi(n)]: n }, {}), gi = Vt(void 0), il = () => {
|
|
5147
5147
|
const t = ne(gi);
|
|
5148
5148
|
if (t === void 0)
|
|
5149
5149
|
throw new Error("useSection must be used within a SectionProvider");
|
|
5150
5150
|
return t;
|
|
5151
|
-
},
|
|
5152
|
-
const [e, n] =
|
|
5151
|
+
}, al = ({ children: t }) => {
|
|
5152
|
+
const [e, n] = z(null);
|
|
5153
5153
|
return /* @__PURE__ */ a(gi.Provider, { value: [e, n], children: t });
|
|
5154
|
-
},
|
|
5155
|
-
const [n, r] =
|
|
5154
|
+
}, kr = ({ config: t, onItemClick: e }) => {
|
|
5155
|
+
const [n, r] = il(), o = Pt(), i = zo(), s = (c, l) => {
|
|
5156
5156
|
const { item: u, selectedContextMenuActionName: f } = l;
|
|
5157
5157
|
r({ itemName: mi(u), selectedContextMenuActionName: f });
|
|
5158
5158
|
};
|
|
5159
5159
|
return te(() => {
|
|
5160
5160
|
if (!e || !n)
|
|
5161
5161
|
return;
|
|
5162
|
-
const { itemName: c, selectedContextMenuActionName: l } = n, u =
|
|
5162
|
+
const { itemName: c, selectedContextMenuActionName: l } = n, u = ol(t.items, c);
|
|
5163
5163
|
u && (e({
|
|
5164
5164
|
item: u,
|
|
5165
5165
|
modifier: i,
|
|
@@ -5167,8 +5167,8 @@ const xr = (t) => {
|
|
|
5167
5167
|
}), r(null), i !== pn.SHIFT && o.close());
|
|
5168
5168
|
}, [n, t.items, o, e, i, r]), /* @__PURE__ */ a(xr, { config: t, onItemClick: s });
|
|
5169
5169
|
};
|
|
5170
|
-
function
|
|
5171
|
-
const { displayCount: e, isFolderCollapsible: n, isSectionCollapsible: r, showAllItems: o, sortOrder: i } = t, s =
|
|
5170
|
+
function sl(t) {
|
|
5171
|
+
const { displayCount: e, isFolderCollapsible: n, isSectionCollapsible: r, showAllItems: o, sortOrder: i } = t, s = Yi(), c = Xi(), l = Bo(), u = $o(), f = lt(() => $i(s, c, {
|
|
5172
5172
|
...{
|
|
5173
5173
|
displayCount: e,
|
|
5174
5174
|
showAllItems: o
|
|
@@ -5177,7 +5177,7 @@ function ol(t) {
|
|
|
5177
5177
|
isSectionCollapsible: r,
|
|
5178
5178
|
sortOrder: i
|
|
5179
5179
|
}), [s, c, e, n, r, o, i]);
|
|
5180
|
-
return /* @__PURE__ */ a(
|
|
5180
|
+
return /* @__PURE__ */ a(kr, { config: f, onItemClick: (d) => {
|
|
5181
5181
|
const { item: h, modifier: m, selectedContextMenuActionName: v } = d;
|
|
5182
5182
|
if (!v)
|
|
5183
5183
|
return l(h.id, m).catch((g) => {
|
|
@@ -5186,18 +5186,18 @@ function ol(t) {
|
|
|
5186
5186
|
u(h, v);
|
|
5187
5187
|
} });
|
|
5188
5188
|
}
|
|
5189
|
-
const
|
|
5189
|
+
const cl = {
|
|
5190
5190
|
value: "data:image/svg+xml,%3Csvg width='5041' height='1232' viewBox='0 0 5041 1232' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_879_362)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M548.6 178H439.6C368.7 178 310 199.5 269.3 244.5C228.6 289.3 206.7 356 206.7 444.3C206.7 532.6 228.6 599.5 269.3 644.2C310.2 689.2 368.7 710.7 439.6 710.7H548.6C619 710.7 677.6 689.2 718.6 644.2C759.5 599.4 781.6 532.6 781.6 444.2C781.6 355.8 759.5 289 718.6 244.2C677.7 199.3 619 177.7 548.6 177.7V178ZM449.5 293.8H538.9C582.2 293.8 611.9 305.2 631.1 328.3C650.5 351.8 660.5 389.2 660.5 444.4C660.5 499.6 650.5 536.7 631.1 560C612 583 582.2 594.1 538.9 594.1H449.5C405.6 594.1 375.9 583 356.9 560C337.6 536.8 327.7 499.7 327.7 444.5C327.7 389.3 337.4 351.9 356.8 328.4C375.9 305.2 405.6 293.8 449.5 293.8Z' fill='white'/%3E%3Cpath d='M0.700195 189.8C0.700195 183.1 6.10017 177.7 12.8002 177.7H108.6C115.3 177.7 120.7 183.1 120.7 189.8V698.6C120.7 705.3 115.3 710.7 108.6 710.7H12.8002C6.10017 710.7 0.700195 705.3 0.700195 698.6V189.8Z' fill='white'/%3E%3Cpath d='M0.700195 11.9002C0.700195 5.7002 5.70018 0.700195 11.9002 0.700195H109.6C115.7 0.700195 120.7 5.7002 120.7 11.9002V109.5C120.7 115.7 115.7 120.7 109.5 120.7H11.9002C5.70018 120.7 0.700195 115.7 0.700195 109.5V11.9002Z' fill='%23007BE5'/%3E%3Cpath d='M827.7 601.9C827.7 595.7 832.7 590.7 838.9 590.7H936.6C942.8 590.7 947.8 595.7 947.8 601.9V699.5C947.8 705.7 942.8 710.7 936.6 710.7H838.9C832.7 710.7 827.7 705.7 827.7 699.5V601.9Z' fill='%23007BE5'/%3E%3Cpath d='M4363.9 293.2C4320.2 293.2 4290.6 304.6 4271.6 327.8C4252.3 351.4 4242.5 388.8 4242.5 444C4242.5 499.2 4252.3 536.4 4271.5 559.7C4290.5 582.6 4320 593.8 4363.8 593.8H4614.7C4622.4 593.8 4628.7 600.1 4628.7 607.8V696.7C4628.7 704.4 4622.4 710.7 4614.7 710.7H4354.1C4283.3 710.7 4224.9 689.1 4184.1 644.1C4143.5 599.3 4121.6 532.4 4121.6 444C4121.6 355.6 4143.5 288.7 4184.1 243.9C4224.8 199 4283.3 177.3 4354.1 177.3H4614.7C4622.4 177.3 4628.7 183.6 4628.7 191.3V279.3C4628.7 287 4622.4 293.3 4614.7 293.3H4363.9V293.2Z' fill='white'/%3E%3Cpath d='M1302.6 165.3C1240.1 165.3 1197 180.9 1169.3 213.3C1141.3 246 1127.4 297.6 1127.4 372.9C1127.4 447.7 1141.1 499 1169 531.6C1196.6 563.9 1239.7 579.5 1302.7 579.5H1552.5C1560.2 579.5 1566.5 585.8 1566.5 593.5V697.1C1566.5 704.8 1560.2 711.1 1552.5 711.1H1302.7C1204.7 711.1 1127.5 683.4 1075 626.4C1022.4 569.7 995.7 484.8 995.7 372.9C995.7 260.5 1022.7 175.4 1075.2 118.4C1127.9 61.3001 1205 33.6001 1302.6 33.6001H1552.4C1560.1 33.6001 1566.4 39.9001 1566.4 47.6001V151.2C1566.4 158.9 1560.1 165.2 1552.4 165.2H1302.6V165.3Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1953.6 177.7H1844.8C1774 177.7 1715.6 199.3 1674.8 244.3C1634.2 289.1 1612.3 356 1612.3 444.4C1612.3 532.8 1634.2 599.7 1674.8 644.5C1715.5 689.4 1774 711.1 1844.8 711.1H1953.6C2023.9 711.1 2082.4 689.5 2123.2 644.5C2163.9 599.7 2186 532.8 2186 444.3C2186 355.8 2163.9 289 2123.2 244.1C2082.3 199.3 2023.9 177.7 1953.6 177.7ZM1854.6 293.7H1943.8C1987 293.7 2016.6 305.1 2035.8 328.3C2055.2 351.9 2065.2 389.3 2065.2 444.5C2065.2 499.7 2055.2 536.8 2035.8 560.2C2016.7 583.2 1987.1 594.3 1943.8 594.3H1854.6C1810.8 594.3 1781.3 583.1 1762.3 560.2C1743 536.9 1733.3 499.8 1733.3 444.5C1733.3 389.3 1743.1 351.9 1762.4 328.3C1781.3 305 1810.9 293.7 1854.6 293.7Z' fill='white'/%3E%3Cpath d='M2679.7 411.6C2679.7 372.5 2668.5 343.5 2645.4 324C2622.1 304.3 2585.3 293.2 2531.9 293.2H2378.4C2375.5 293.2 2374.9 293.9 2374.8 294C2374.5 294.4 2373.6 295.8 2373.6 299.8V696.7C2373.6 704.4 2367.3 710.7 2359.6 710.7H2267.7C2260 710.7 2253.7 704.4 2253.7 696.7V265.6C2253.7 234.7 2258.8 212 2272.6 197.2C2286.5 182.2 2307.5 177.3 2334.2 177.3H2531.8C2620.7 177.3 2688 198.4 2733.3 238.9C2778.7 279.5 2800.5 338.6 2800.5 411.7V696.7C2800.5 704.4 2794.2 710.7 2786.5 710.7H2693.7C2686 710.7 2679.7 704.4 2679.7 696.7V411.6Z' fill='white'/%3E%3Cpath d='M3304.7 411.6C3304.7 372.5 3293.5 343.5 3270.4 324C3247.1 304.3 3210.3 293.2 3156.9 293.2H3003.4C3000.5 293.2 2999.9 293.9 2999.8 294C2999.5 294.4 2998.6 295.8 2998.6 299.8V696.7C2998.6 704.4 2992.3 710.7 2984.6 710.7H2892.7C2885 710.7 2878.7 704.4 2878.7 696.7V265.6C2878.7 234.7 2883.8 212 2897.6 197.2C2911.5 182.2 2932.5 177.3 2959.2 177.3H3156.8C3245.7 177.3 3313 198.4 3358.3 238.9C3403.7 279.5 3425.5 338.6 3425.5 411.7V696.7C3425.5 704.4 3419.2 710.7 3411.5 710.7H3318.7C3311 710.7 3304.7 704.4 3304.7 696.7V411.6Z' fill='white'/%3E%3Cpath d='M4906.1 292.2C4898.4 292.2 4892.1 298.5 4892.1 306.2V529.2C4892.1 557.5 4897.2 574.3 4906.4 584.1C4915.4 593.8 4930 598.6 4953.7 598.6H5019.2C5026.9 598.6 5033.2 604.9 5033.2 612.6V695.7C5033.2 703.4 5026.9 709.7 5019.2 709.7H4932.1C4877.9 709.7 4836.8 698.8 4809.7 668.6C4782.8 638.6 4771.3 591.5 4771.3 523.4V306.2C4771.3 298.5 4765 292.2 4757.3 292.2H4714.7C4707 292.2 4700.7 285.9 4700.7 278.2V190.2C4700.7 182.5 4707 176.2 4714.7 176.2H4757.3C4765 176.2 4771.3 169.9 4771.3 162.2V67.7002C4771.3 60.0002 4777.6 53.7002 4785.3 53.7002H4878.2C4885.9 53.7002 4892.2 60.0002 4892.2 67.7002V162.2C4892.2 169.9 4898.5 176.2 4906.2 176.2H5021.3C5029 176.2 5035.3 182.5 5035.3 190.2V278.2C5035.3 285.9 5029 292.2 5021.3 292.2H4906.1Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4024.4 607.2C4024.4 599.5 4018.1 593.2 4010.4 593.2H3699.9C3672.9 593.2 3655.3 586 3644.6 575.2C3633.8 564.4 3628.6 548.8 3628.6 529.7V514.5C3628.6 506.8 3634.9 500.5 3642.6 500.5H3866.6C3931.2 500.5 3977.4 486.9 4007.5 459.6C4037.7 432.2 4050.1 392.3 4050.1 343.5C4050.1 292.2 4036.8 250.1 4006.4 220.9C3976.1 191.7 3930.1 176.8 3867.7 176.8H3700.1C3633.9 176.8 3586.5 195.4 3555.6 227.8C3524.8 260.1 3511.8 305 3511.8 355.3V531.7C3511.8 582 3524.9 626.9 3555.6 659.2C3586.5 691.6 3633.9 710.2 3700.1 710.2H4010.6C4018.3 710.2 4024.6 703.9 4024.6 696.2V607.2H4024.4ZM3863.5 403.1H3642.5C3634.8 403.1 3628.5 396.8 3628.5 389.1V356.2C3628.5 337.6 3633.7 321.9 3644.6 311C3655.4 300.1 3672.9 292.7 3699.9 292.7H3866.5C3890.7 292.7 3906.9 298.8 3916.9 308.2C3926.9 317.5 3932 331.3 3932 349.4C3932 367.1 3927.3 380 3917.4 388.6C3907.4 397.4 3890.5 403.1 3863.5 403.1Z' fill='white'/%3E%3Cpath d='M2918.9 872.3C3001.9 872.3 3036.9 909.9 3036.9 966.3C3036.9 1012.2 3013.9 1036.8 2973.2 1047.2C3014.4 1058.2 3037.9 1083.7 3037.9 1129.7C3037.9 1186.1 3003.5 1224.7 2920.5 1224.7H2755.6C2741.5 1224.7 2734.2 1217.9 2734.2 1203.8V893.2C2734.2 879.1 2741.5 872.3 2755.6 872.3H2918.9ZM2765.4 1033.1H2918.9C2976.8 1033.1 3005 1014.8 3005 970.5C3005 929.8 2979.4 903.7 2919.4 903.7H2771.2C2767.5 903.7 2765.5 905.3 2765.5 909.4V1033.1H2765.4ZM2765.4 1187.6C2765.4 1191.8 2767.5 1193.3 2771.1 1193.3H2921C2979.5 1193.3 3006.1 1168.2 3006.1 1125.4C3006.1 1081 2976.9 1060.2 2921 1060.2H2765.5V1187.6H2765.4Z' fill='white'/%3E%3Cpath d='M3294 956.9V985.6H3182.8C3148.9 985.6 3135.3 1000.7 3135.3 1033.6V1224.6H3106.1V1029.9C3106.1 979.8 3125.4 956.8 3176.6 956.8H3294V956.9Z' fill='white'/%3E%3Cpath d='M3489.1 956.9C3562.2 956.9 3608.6 1001.3 3608.6 1091C3608.6 1181.3 3562.1 1224.6 3489.1 1224.6H3431.2C3357.6 1224.6 3311.7 1181.3 3311.7 1091C3311.7 1001.2 3357.6 956.9 3431.2 956.9H3489.1ZM3433.3 985.6C3374.3 985.6 3340.9 1019 3340.9 1091C3340.9 1163.5 3374.3 1196.4 3433.3 1196.4H3487.1C3546.1 1196.4 3579.5 1163.5 3579.5 1091C3579.5 1019 3546.1 985.6 3487.1 985.6H3433.3Z' fill='white'/%3E%3Cpath d='M3674.4 956.9L3706.8 1176.6C3709.4 1195.4 3716.2 1204.3 3737.1 1204.3C3758.5 1204.3 3767.4 1195.4 3771.5 1180.3L3821.6 995.5C3829.4 966.8 3849.3 951.7 3884.2 951.7C3919.1 951.7 3937.4 966.8 3945.3 995.5L3994.9 1180.3C3999.1 1195.4 4007.9 1204.3 4029.3 1204.3C4050.2 1204.3 4056.4 1195.4 4059.6 1176.6L4093.5 956.9H4125.3L4089.3 1179.8C4084.6 1210.6 4069.5 1231 4028.2 1231C3992.7 1231 3975 1216.4 3966.6 1185.1L3917 1000.9C3912.8 985.2 3900.8 978.5 3883.6 978.5C3865.9 978.5 3854.9 985.3 3850.7 1000.9L3799.6 1185.1C3790.7 1216.4 3773.5 1231 3737.5 1231C3695.2 1231 3682.2 1210.1 3677.5 1179.8L3643.1 956.9H3674.4Z' fill='white'/%3E%3Cpath d='M4417.6 956.9V985.6H4260C4219.8 985.6 4203.6 1003.3 4203.6 1032.1C4203.6 1057.2 4216.1 1077.5 4263.6 1077.5H4338.8C4410.8 1077.5 4428.6 1110.9 4428.6 1149.5C4428.6 1194.9 4404.6 1224.7 4344 1224.7H4178V1196.5H4344C4384.2 1196.5 4399.8 1178.2 4399.8 1149.5C4399.8 1124.4 4387.8 1103.6 4339.8 1103.6H4264.6C4193.1 1103.6 4174.8 1069.2 4174.8 1030C4174.8 985.1 4198.8 956.9 4259.4 956.9H4417.6Z' fill='white'/%3E%3Cpath d='M4685.4 956.9C4749.1 956.9 4775.7 986.6 4775.7 1036.8C4775.7 1084.8 4751.2 1111.4 4684.9 1111.4H4526.2V1135.9C4526.2 1170.3 4545 1196.4 4593.5 1196.4H4762.1V1224.6H4593.5C4524.6 1224.6 4497.5 1187.5 4497.5 1136.4V1045.1C4497.5 995 4524.6 956.9 4593.5 956.9H4685.4ZM4526.2 1087.4H4684.3C4729.7 1087.4 4746.9 1069.7 4746.9 1037.8C4746.9 1005.4 4728.6 985.6 4685.3 985.6H4593.4C4544.9 985.6 4526.1 1011.2 4526.1 1045.6V1087.4H4526.2Z' fill='white'/%3E%3Cpath d='M5040.3 956.9V985.6H4929.1C4895.2 985.6 4881.6 1000.7 4881.6 1033.6V1224.6H4852.4V1029.9C4852.4 979.8 4871.7 956.8 4922.9 956.8H5040.3V956.9Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_879_362'%3E%3Crect width='5041' height='1231' fill='white' transform='translate(0 0.700195)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A"
|
|
5191
|
-
},
|
|
5192
|
-
loginPageLogo:
|
|
5193
|
-
},
|
|
5191
|
+
}, ll = {
|
|
5192
|
+
loginPageLogo: cl
|
|
5193
|
+
}, ul = "256px", $t = ({ logoSrc: t = ll.loginPageLogo.value, width: e = ul, className: n = "logo" }) => /* @__PURE__ */ a("img", { width: e, src: t, className: n, alt: "Login logo" });
|
|
5194
5194
|
const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) => /* @__PURE__ */ w("div", { className: "info-card", children: [
|
|
5195
5195
|
o && /* @__PURE__ */ a("h1", { className: "info-card-title", children: o }),
|
|
5196
5196
|
r && /* @__PURE__ */ a("div", { className: "info-card-image", children: /* @__PURE__ */ a(r, {}) }),
|
|
5197
5197
|
n && /* @__PURE__ */ a("h3", { className: "info-card-heading", children: n }),
|
|
5198
5198
|
/* @__PURE__ */ a("p", { className: "info-card-description", children: e }),
|
|
5199
5199
|
t
|
|
5200
|
-
] }),
|
|
5200
|
+
] }), dl = (t) => /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", width: 222, height: 130, fill: "none", ...t, children: [
|
|
5201
5201
|
/* @__PURE__ */ a("g", { filter: "url(#a)", children: /* @__PURE__ */ a("path", { fill: "url(#b)", d: "M16 24h190v98a6 6 0 0 1-6 6H22a6 6 0 0 1-6-6V24Z" }) }),
|
|
5202
5202
|
/* @__PURE__ */ a("path", { fill: "#3C3E3F", d: "M16 24h190V7a6 6 0 0 0-6-6H22a6 6 0 0 0-6 6v17Z" }),
|
|
5203
5203
|
/* @__PURE__ */ a("path", { stroke: "url(#c)", d: "M16 23.5h189" }),
|
|
@@ -5251,7 +5251,7 @@ const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) =>
|
|
|
5251
5251
|
/* @__PURE__ */ a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_816_102831", result: "shape" })
|
|
5252
5252
|
] })
|
|
5253
5253
|
] })
|
|
5254
|
-
] }),
|
|
5254
|
+
] }), fl = (t) => /* @__PURE__ */ w(
|
|
5255
5255
|
"svg",
|
|
5256
5256
|
{
|
|
5257
5257
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5311,7 +5311,7 @@ const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) =>
|
|
|
5311
5311
|
)
|
|
5312
5312
|
]
|
|
5313
5313
|
}
|
|
5314
|
-
),
|
|
5314
|
+
), pl = (t) => /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 256 256", ...t, children: [
|
|
5315
5315
|
/* @__PURE__ */ w("defs", { children: [
|
|
5316
5316
|
/* @__PURE__ */ w(
|
|
5317
5317
|
"radialGradient",
|
|
@@ -5477,7 +5477,7 @@ const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) =>
|
|
|
5477
5477
|
transform: "translate(-4.6 -5)"
|
|
5478
5478
|
}
|
|
5479
5479
|
)
|
|
5480
|
-
] }),
|
|
5480
|
+
] }), hl = (t) => /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 75.591 75.591", ...t, children: [
|
|
5481
5481
|
/* @__PURE__ */ w(
|
|
5482
5482
|
"linearGradient",
|
|
5483
5483
|
{
|
|
@@ -5523,7 +5523,7 @@ const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) =>
|
|
|
5523
5523
|
transform: "matrix(1.3333 0 0 -1.3333 0 107.2)"
|
|
5524
5524
|
}
|
|
5525
5525
|
)
|
|
5526
|
-
] }),
|
|
5526
|
+
] }), ml = (t) => /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", width: 182, height: 121, fill: "none", ...t, children: [
|
|
5527
5527
|
/* @__PURE__ */ a("path", { fill: "url(#a)", d: "M114.092 103.689h-46.36v11.541h46.36v-11.541Z" }),
|
|
5528
5528
|
/* @__PURE__ */ a("path", { fill: "#828589", d: "M134.371 115.23H47.446v5.771h86.925v-5.771Z" }),
|
|
5529
5529
|
/* @__PURE__ */ a("rect", { width: 180.555, height: 103.984, x: 0.723, fill: "url(#b)", rx: 8 }),
|
|
@@ -5571,7 +5571,7 @@ const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) =>
|
|
|
5571
5571
|
/* @__PURE__ */ a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_2206_37806", result: "shape" })
|
|
5572
5572
|
] })
|
|
5573
5573
|
] })
|
|
5574
|
-
] }),
|
|
5574
|
+
] }), vl = (t) => /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", width: 196, height: 130, fill: "none", ...t, children: [
|
|
5575
5575
|
/* @__PURE__ */ a("g", { filter: "url(#a)", children: /* @__PURE__ */ a("path", { fill: "url(#b)", d: "M16 52.406h164v70a6 6 0 0 1-6 6H22a6 6 0 0 1-6-6v-70Z" }) }),
|
|
5576
5576
|
/* @__PURE__ */ a("path", { fill: "#3C3E3F", d: "M16 52.406h164v-17a6 6 0 0 0-6-6H22a6 6 0 0 0-6 6v17Z" }),
|
|
5577
5577
|
/* @__PURE__ */ a("path", { stroke: "url(#c)", d: "M16 51.906h163" }),
|
|
@@ -5670,7 +5670,7 @@ const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) =>
|
|
|
5670
5670
|
/* @__PURE__ */ a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_834_102897", result: "shape" })
|
|
5671
5671
|
] })
|
|
5672
5672
|
] })
|
|
5673
|
-
] }),
|
|
5673
|
+
] }), gl = (t) => /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", width: 247, height: 143, fill: "none", ...t, children: [
|
|
5674
5674
|
/* @__PURE__ */ a("path", { fill: "url(#a)", d: "M144.369 125.689h-46.36v11.541h46.36v-11.541Z" }),
|
|
5675
5675
|
/* @__PURE__ */ a("path", { fill: "#828589", d: "M164.648 137.23H77.724v5.771h86.924v-5.771Z" }),
|
|
5676
5676
|
/* @__PURE__ */ a("rect", { width: 180.555, height: 103.984, x: 31, y: 22, fill: "url(#b)", rx: 8 }),
|
|
@@ -5907,15 +5907,15 @@ const yn = ({ children: t, description: e, heading: n, Image: r, title: o }) =>
|
|
|
5907
5907
|
/* @__PURE__ */ a("feBlend", { in: "SourceGraphic", in2: "effect1_dropShadow_807_102718", result: "shape" })
|
|
5908
5908
|
] })
|
|
5909
5909
|
] })
|
|
5910
|
-
] }),
|
|
5911
|
-
{ name: "Google Chrome", Image:
|
|
5912
|
-
{ name: "Microsoft Edge", Image:
|
|
5913
|
-
{ name: "Opera", Image:
|
|
5910
|
+
] }), yl = [
|
|
5911
|
+
{ name: "Google Chrome", Image: fl, url: "https://www.google.com/chrome/" },
|
|
5912
|
+
{ name: "Microsoft Edge", Image: pl, url: "https://www.microsoft.com/en-us/edge/download" },
|
|
5913
|
+
{ name: "Opera", Image: hl, url: "https://www.opera.com/browsers/opera" }
|
|
5914
5914
|
];
|
|
5915
5915
|
const yi = ({ className: t, children: e, Logo: n }) => /* @__PURE__ */ a("div", { className: G("info-page-container", t), children: /* @__PURE__ */ w("div", { className: "info-page-wrapper", children: [
|
|
5916
5916
|
/* @__PURE__ */ a(n, { className: "mb-32" }),
|
|
5917
5917
|
e
|
|
5918
|
-
] }) }),
|
|
5918
|
+
] }) }), bl = ({ supportEmail: t }) => /* @__PURE__ */ w("p", { className: "additional-information", children: [
|
|
5919
5919
|
"For more information, visit the io.Connect Browser",
|
|
5920
5920
|
/* @__PURE__ */ a("br", {}),
|
|
5921
5921
|
/* @__PURE__ */ a(
|
|
@@ -5937,23 +5937,23 @@ const yi = ({ className: t, children: e, Logo: n }) => /* @__PURE__ */ a("div",
|
|
|
5937
5937
|
"."
|
|
5938
5938
|
] })
|
|
5939
5939
|
] });
|
|
5940
|
-
const
|
|
5940
|
+
const wl = ({ components: { Logo: t = $t } = {}, supportEmail: e }) => {
|
|
5941
5941
|
const { name: n, version: r } = hr(), o = "Hmm... It seems that your browser isn’t supported.", i = `We're sorry, but ${n} ${r} isn’t supported.
|
|
5942
5942
|
For best experience, we recommend using the latest version of one of the
|
|
5943
5943
|
following browsers:`;
|
|
5944
5944
|
return /* @__PURE__ */ w(yi, { className: "browser-not-supported", Logo: t, children: [
|
|
5945
5945
|
/* @__PURE__ */ a(yn, { title: o, description: i }),
|
|
5946
|
-
/* @__PURE__ */ a("ul", { className: "browsers-list", children:
|
|
5946
|
+
/* @__PURE__ */ a("ul", { className: "browsers-list", children: yl.map(({ Image: s, name: c, url: l }) => /* @__PURE__ */ w("li", { onClick: () => window.open(l, "_blank", "noopener,noreferrer"), children: [
|
|
5947
5947
|
/* @__PURE__ */ a("div", { className: "browsers-list-image", children: /* @__PURE__ */ a(s, {}) }),
|
|
5948
5948
|
/* @__PURE__ */ a("div", { children: c })
|
|
5949
5949
|
] }, c)) }),
|
|
5950
|
-
/* @__PURE__ */ a(
|
|
5950
|
+
/* @__PURE__ */ a(bl, { supportEmail: e })
|
|
5951
5951
|
] });
|
|
5952
5952
|
};
|
|
5953
5953
|
function bn({ children: t, className: e, color: n, ...r }) {
|
|
5954
5954
|
return /* @__PURE__ */ a("button", { className: G(e, "io-btn", n), ...r, children: t });
|
|
5955
5955
|
}
|
|
5956
|
-
function
|
|
5956
|
+
function Sr(t) {
|
|
5957
5957
|
const { className: e, items: n, onItemClick: r, ...o } = t;
|
|
5958
5958
|
return /* @__PURE__ */ a("div", { className: G("io-btn-group", e), ...o, children: n.map((i, s) => {
|
|
5959
5959
|
const { onClick: c, ...l } = i;
|
|
@@ -5969,7 +5969,7 @@ function kr(t) {
|
|
|
5969
5969
|
);
|
|
5970
5970
|
}) });
|
|
5971
5971
|
}
|
|
5972
|
-
const
|
|
5972
|
+
const Cl = (t, e) => {
|
|
5973
5973
|
const { isSectionCollapsible: n, sortOrder: r = Ut.DISABLED, ...o } = e;
|
|
5974
5974
|
return {
|
|
5975
5975
|
id: "favorites-section",
|
|
@@ -5984,8 +5984,8 @@ const yl = (t, e) => {
|
|
|
5984
5984
|
isCollapsible: n,
|
|
5985
5985
|
...o
|
|
5986
5986
|
};
|
|
5987
|
-
},
|
|
5988
|
-
const { displayCount: e, isSectionCollapsible: n, showAllItems: r, sortOrder: o } = t, { favoriteEntities: i } = fr(), s = lt(() =>
|
|
5987
|
+
}, Ol = (t) => {
|
|
5988
|
+
const { displayCount: e, isSectionCollapsible: n, showAllItems: r, sortOrder: o } = t, { favoriteEntities: i } = fr(), s = lt(() => Cl(i, {
|
|
5989
5989
|
...{
|
|
5990
5990
|
displayCount: e,
|
|
5991
5991
|
showAllItems: r
|
|
@@ -5993,22 +5993,22 @@ const yl = (t, e) => {
|
|
|
5993
5993
|
isSectionCollapsible: n,
|
|
5994
5994
|
sortOrder: o
|
|
5995
5995
|
}), [i, e, n, r, o]);
|
|
5996
|
-
return i.length > 0 ? /* @__PURE__ */ a(
|
|
5996
|
+
return i.length > 0 ? /* @__PURE__ */ a(kr, { config: s }) : null;
|
|
5997
5997
|
}, it = {
|
|
5998
5998
|
WINDOW_MANAGEMENT: "window-management",
|
|
5999
5999
|
NOTIFICATIONS: "notifications"
|
|
6000
|
-
},
|
|
6000
|
+
}, El = () => Promise.all(
|
|
6001
6001
|
Object.values(it).map(async (t) => {
|
|
6002
6002
|
const e = await navigator.permissions.query({ name: t });
|
|
6003
6003
|
return e.stableName = t, e;
|
|
6004
6004
|
})
|
|
6005
|
-
), bi =
|
|
6005
|
+
), bi = Vt(void 0), ut = () => {
|
|
6006
6006
|
const t = ne(bi);
|
|
6007
6007
|
if (t === void 0)
|
|
6008
6008
|
throw new Error("useIOConnectHome must be used within an IOConnectHomeProvider");
|
|
6009
6009
|
return t;
|
|
6010
|
-
},
|
|
6011
|
-
const [e, n] =
|
|
6010
|
+
}, xl = ({ children: t }) => {
|
|
6011
|
+
const [e, n] = z([]), r = e.length === 0, o = {
|
|
6012
6012
|
isDenied: !r && e.some(({ state: s }) => s === "denied"),
|
|
6013
6013
|
isLoading: r,
|
|
6014
6014
|
isSetupCompleted: !r && e.every(({ state: s }) => s === "granted"),
|
|
@@ -6016,7 +6016,7 @@ const yl = (t, e) => {
|
|
|
6016
6016
|
}, i = Le(!1);
|
|
6017
6017
|
return te(() => {
|
|
6018
6018
|
let s = !1;
|
|
6019
|
-
const c =
|
|
6019
|
+
const c = El().then((l) => {
|
|
6020
6020
|
if (s)
|
|
6021
6021
|
return;
|
|
6022
6022
|
n(l);
|
|
@@ -6055,7 +6055,7 @@ var sr = function(t, e) {
|
|
|
6055
6055
|
Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
|
|
6056
6056
|
}, sr(t, e);
|
|
6057
6057
|
};
|
|
6058
|
-
function
|
|
6058
|
+
function kl(t, e) {
|
|
6059
6059
|
if (typeof e != "function" && e !== null)
|
|
6060
6060
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
6061
6061
|
sr(t, e);
|
|
@@ -6074,7 +6074,7 @@ var pe = function() {
|
|
|
6074
6074
|
return e;
|
|
6075
6075
|
}, pe.apply(this, arguments);
|
|
6076
6076
|
};
|
|
6077
|
-
function
|
|
6077
|
+
function Sl(t, e) {
|
|
6078
6078
|
var n = {};
|
|
6079
6079
|
for (var r in t)
|
|
6080
6080
|
Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
|
|
@@ -6187,13 +6187,13 @@ function Fe(t, e) {
|
|
|
6187
6187
|
return n;
|
|
6188
6188
|
}
|
|
6189
6189
|
var wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6190
|
-
function
|
|
6190
|
+
function Pr(t) {
|
|
6191
6191
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
6192
6192
|
}
|
|
6193
|
-
function
|
|
6193
|
+
function Tr(t, e) {
|
|
6194
6194
|
return t(e = { exports: {} }, e.exports), e.exports;
|
|
6195
6195
|
}
|
|
6196
|
-
var ot =
|
|
6196
|
+
var ot = Tr(function(t, e) {
|
|
6197
6197
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
6198
6198
|
var n = function() {
|
|
6199
6199
|
function r() {
|
|
@@ -6224,8 +6224,8 @@ var ot = Pr(function(t, e) {
|
|
|
6224
6224
|
return n.getInstance();
|
|
6225
6225
|
};
|
|
6226
6226
|
});
|
|
6227
|
-
|
|
6228
|
-
var
|
|
6227
|
+
Pr(ot);
|
|
6228
|
+
var Pl = Pr(Tr(function(t, e) {
|
|
6229
6229
|
var n = wt && wt.__awaiter || function(l, u, f, p) {
|
|
6230
6230
|
return new (f || (f = Promise))(function(d, h) {
|
|
6231
6231
|
function m(b) {
|
|
@@ -6444,21 +6444,21 @@ var xl = _r(Pr(function(t, e) {
|
|
|
6444
6444
|
}();
|
|
6445
6445
|
e.default = c;
|
|
6446
6446
|
}));
|
|
6447
|
-
const
|
|
6448
|
-
class
|
|
6447
|
+
const Tl = { timeoutInSeconds: 60 }, wi = { name: "auth0-spa-js", version: "2.0.4" }, Ci = () => Date.now();
|
|
6448
|
+
class _e extends Error {
|
|
6449
6449
|
constructor(e, n) {
|
|
6450
|
-
super(n), this.error = e, this.error_description = n, Object.setPrototypeOf(this,
|
|
6450
|
+
super(n), this.error = e, this.error_description = n, Object.setPrototypeOf(this, _e.prototype);
|
|
6451
6451
|
}
|
|
6452
6452
|
static fromPayload({ error: e, error_description: n }) {
|
|
6453
|
-
return new
|
|
6453
|
+
return new _e(e, n);
|
|
6454
6454
|
}
|
|
6455
6455
|
}
|
|
6456
|
-
class
|
|
6456
|
+
class _r extends _e {
|
|
6457
6457
|
constructor(e, n, r, o = null) {
|
|
6458
|
-
super(e, n), this.state = r, this.appState = o, Object.setPrototypeOf(this,
|
|
6458
|
+
super(e, n), this.state = r, this.appState = o, Object.setPrototypeOf(this, _r.prototype);
|
|
6459
6459
|
}
|
|
6460
6460
|
}
|
|
6461
|
-
class Ht extends
|
|
6461
|
+
class Ht extends _e {
|
|
6462
6462
|
constructor() {
|
|
6463
6463
|
super("timeout", "Timeout"), Object.setPrototypeOf(this, Ht.prototype);
|
|
6464
6464
|
}
|
|
@@ -6468,17 +6468,17 @@ class Ir extends Ht {
|
|
|
6468
6468
|
super(), this.popup = e, Object.setPrototypeOf(this, Ir.prototype);
|
|
6469
6469
|
}
|
|
6470
6470
|
}
|
|
6471
|
-
class Nr extends
|
|
6471
|
+
class Nr extends _e {
|
|
6472
6472
|
constructor(e) {
|
|
6473
6473
|
super("cancelled", "Popup closed"), this.popup = e, Object.setPrototypeOf(this, Nr.prototype);
|
|
6474
6474
|
}
|
|
6475
6475
|
}
|
|
6476
|
-
class Ar extends
|
|
6476
|
+
class Ar extends _e {
|
|
6477
6477
|
constructor(e, n, r) {
|
|
6478
6478
|
super(e, n), this.mfa_token = r, Object.setPrototypeOf(this, Ar.prototype);
|
|
6479
6479
|
}
|
|
6480
6480
|
}
|
|
6481
|
-
class wn extends
|
|
6481
|
+
class wn extends _e {
|
|
6482
6482
|
constructor(e, n) {
|
|
6483
6483
|
super("missing_refresh_token", `Missing Refresh Token (audience: '${ho(e, ["default"])}', scope: '${ho(n)}')`), this.audience = e, this.scope = n, Object.setPrototypeOf(this, wn.prototype);
|
|
6484
6484
|
}
|
|
@@ -6493,20 +6493,20 @@ const en = () => window.crypto, An = () => {
|
|
|
6493
6493
|
}, mo = (t) => btoa(t), cr = (t) => {
|
|
6494
6494
|
var { clientId: e } = t, n = Fe(t, ["clientId"]);
|
|
6495
6495
|
return new URLSearchParams(((r) => Object.keys(r).filter((o) => r[o] !== void 0).reduce((o, i) => Object.assign(Object.assign({}, o), { [i]: r[i] }), {}))(Object.assign({ client_id: e }, n))).toString();
|
|
6496
|
-
}, vo = (t) => ((e) => decodeURIComponent(atob(e).split("").map((n) => "%" + ("00" + n.charCodeAt(0).toString(16)).slice(-2)).join("")))(t.replace(/_/g, "/").replace(/-/g, "+")),
|
|
6496
|
+
}, vo = (t) => ((e) => decodeURIComponent(atob(e).split("").map((n) => "%" + ("00" + n.charCodeAt(0).toString(16)).slice(-2)).join("")))(t.replace(/_/g, "/").replace(/-/g, "+")), _l = async (t, e) => {
|
|
6497
6497
|
const n = await fetch(t, e);
|
|
6498
6498
|
return { ok: n.ok, json: await n.json() };
|
|
6499
|
-
},
|
|
6499
|
+
}, Il = async (t, e, n) => {
|
|
6500
6500
|
const r = new AbortController();
|
|
6501
6501
|
let o;
|
|
6502
|
-
return e.signal = r.signal, Promise.race([
|
|
6502
|
+
return e.signal = r.signal, Promise.race([_l(t, e), new Promise((i, s) => {
|
|
6503
6503
|
o = setTimeout(() => {
|
|
6504
6504
|
r.abort(), s(new Error("Timeout when executing 'fetch'"));
|
|
6505
6505
|
}, n);
|
|
6506
6506
|
})]).finally(() => {
|
|
6507
6507
|
clearTimeout(o);
|
|
6508
6508
|
});
|
|
6509
|
-
},
|
|
6509
|
+
}, Nl = async (t, e, n, r, o, i, s) => {
|
|
6510
6510
|
return c = { auth: { audience: e, scope: n }, timeout: o, fetchUrl: t, fetchOptions: r, useFormData: s }, l = i, new Promise(function(u, f) {
|
|
6511
6511
|
const p = new MessageChannel();
|
|
6512
6512
|
p.port1.onmessage = function(d) {
|
|
@@ -6514,27 +6514,27 @@ const en = () => window.crypto, An = () => {
|
|
|
6514
6514
|
}, l.postMessage(c, [p.port2]);
|
|
6515
6515
|
});
|
|
6516
6516
|
var c, l;
|
|
6517
|
-
},
|
|
6518
|
-
async function
|
|
6517
|
+
}, Al = async (t, e, n, r, o, i, s = 1e4) => o ? Nl(t, e, n, r, s, o, i) : Il(t, r, s);
|
|
6518
|
+
async function Rl(t, e) {
|
|
6519
6519
|
var { baseUrl: n, timeout: r, audience: o, scope: i, auth0Client: s, useFormData: c } = t, l = Fe(t, ["baseUrl", "timeout", "audience", "scope", "auth0Client", "useFormData"]);
|
|
6520
6520
|
const u = c ? cr(l) : JSON.stringify(l);
|
|
6521
6521
|
return await async function(f, p, d, h, m, v, g) {
|
|
6522
6522
|
let b, x = null;
|
|
6523
|
-
for (let
|
|
6523
|
+
for (let S = 0; S < 3; S++)
|
|
6524
6524
|
try {
|
|
6525
|
-
b = await
|
|
6525
|
+
b = await Al(f, d, h, m, v, g, p), x = null;
|
|
6526
6526
|
break;
|
|
6527
6527
|
} catch (N) {
|
|
6528
6528
|
x = N;
|
|
6529
6529
|
}
|
|
6530
6530
|
if (x)
|
|
6531
6531
|
throw x;
|
|
6532
|
-
const E = b.json, { error: O, error_description: y } = E,
|
|
6532
|
+
const E = b.json, { error: O, error_description: y } = E, P = Fe(E, ["error", "error_description"]), { ok: I } = b;
|
|
6533
6533
|
if (!I) {
|
|
6534
|
-
const
|
|
6535
|
-
throw O === "mfa_required" ? new Ar(O,
|
|
6534
|
+
const S = y || `HTTP error. Unable to fetch ${f}`;
|
|
6535
|
+
throw O === "mfa_required" ? new Ar(O, S, P.mfa_token) : O === "missing_refresh_token" ? new wn(d, h) : new _e(O || "request_error", S);
|
|
6536
6536
|
}
|
|
6537
|
-
return
|
|
6537
|
+
return P;
|
|
6538
6538
|
}(`${n}/oauth/token`, r, o || "default", i, { method: "POST", body: u, headers: { "Content-Type": c ? "application/x-www-form-urlencoded" : "application/json", "Auth0-Client": btoa(JSON.stringify(s || wi)) } }, e, c);
|
|
6539
6539
|
}
|
|
6540
6540
|
const Xt = (...t) => {
|
|
@@ -6557,7 +6557,7 @@ class We {
|
|
|
6557
6557
|
return new We({ scope: n, audience: r, clientId: o });
|
|
6558
6558
|
}
|
|
6559
6559
|
}
|
|
6560
|
-
class
|
|
6560
|
+
class Ll {
|
|
6561
6561
|
set(e, n) {
|
|
6562
6562
|
localStorage.setItem(e, JSON.stringify(n));
|
|
6563
6563
|
}
|
|
@@ -6593,7 +6593,7 @@ class Oi {
|
|
|
6593
6593
|
}();
|
|
6594
6594
|
}
|
|
6595
6595
|
}
|
|
6596
|
-
class
|
|
6596
|
+
class Ml {
|
|
6597
6597
|
constructor(e, n, r) {
|
|
6598
6598
|
this.cache = e, this.keyManifest = n, this.nowProvider = r || Ci;
|
|
6599
6599
|
}
|
|
@@ -6657,7 +6657,7 @@ class Al {
|
|
|
6657
6657
|
})[0];
|
|
6658
6658
|
}
|
|
6659
6659
|
}
|
|
6660
|
-
class
|
|
6660
|
+
class Dl {
|
|
6661
6661
|
constructor(e, n) {
|
|
6662
6662
|
this.storage = e, this.clientId = n, this.storageKey = `a0.spajs.txs.${this.clientId}`, this.transaction = this.storage.get(this.storageKey);
|
|
6663
6663
|
}
|
|
@@ -6671,7 +6671,7 @@ class Rl {
|
|
|
6671
6671
|
delete this.transaction, this.storage.remove(this.storageKey);
|
|
6672
6672
|
}
|
|
6673
6673
|
}
|
|
6674
|
-
const At = (t) => typeof t == "number",
|
|
6674
|
+
const At = (t) => typeof t == "number", jl = ["iss", "aud", "exp", "nbf", "iat", "jti", "azp", "nonce", "auth_time", "at_hash", "c_hash", "acr", "amr", "sub_jwk", "cnf", "sip_from_tag", "sip_date", "sip_callid", "sip_cseq_num", "sip_via_branch", "orig", "dest", "mky", "events", "toe", "txn", "rph", "sid", "vot", "vtm"], Ul = (t) => {
|
|
6675
6675
|
if (!t.id_token)
|
|
6676
6676
|
throw new Error("ID token is required but missing");
|
|
6677
6677
|
const e = ((i) => {
|
|
@@ -6680,7 +6680,7 @@ const At = (t) => typeof t == "number", Ll = ["iss", "aud", "exp", "nbf", "iat",
|
|
|
6680
6680
|
throw new Error("ID token could not be decoded");
|
|
6681
6681
|
const f = JSON.parse(vo(l)), p = { __raw: i }, d = {};
|
|
6682
6682
|
return Object.keys(f).forEach((h) => {
|
|
6683
|
-
p[h] = f[h],
|
|
6683
|
+
p[h] = f[h], jl.includes(h) || (d[h] = f[h]);
|
|
6684
6684
|
}), { encoded: { header: c, payload: l, signature: u }, header: JSON.parse(vo(c)), claims: p, user: d };
|
|
6685
6685
|
})(t.id_token);
|
|
6686
6686
|
if (!e.claims.iss)
|
|
@@ -6737,7 +6737,7 @@ const At = (t) => typeof t == "number", Ll = ["iss", "aud", "exp", "nbf", "iat",
|
|
|
6737
6737
|
}
|
|
6738
6738
|
return e;
|
|
6739
6739
|
};
|
|
6740
|
-
var at =
|
|
6740
|
+
var at = Tr(function(t, e) {
|
|
6741
6741
|
var n = wt && wt.__assign || function() {
|
|
6742
6742
|
return n = Object.assign || function(l) {
|
|
6743
6743
|
for (var u, f = 1, p = arguments.length; f < p; f++)
|
|
@@ -6784,10 +6784,10 @@ var at = Pr(function(t, e) {
|
|
|
6784
6784
|
c(l, "", n(n({}, u), { expires: -1 }));
|
|
6785
6785
|
};
|
|
6786
6786
|
});
|
|
6787
|
-
|
|
6788
|
-
var
|
|
6787
|
+
Pr(at), at.encode, at.parse, at.getAll;
|
|
6788
|
+
var Fl = at.get, Ei = at.set, xi = at.remove;
|
|
6789
6789
|
const yt = { get(t) {
|
|
6790
|
-
const e =
|
|
6790
|
+
const e = Fl(t);
|
|
6791
6791
|
if (e !== void 0)
|
|
6792
6792
|
return JSON.parse(e);
|
|
6793
6793
|
}, save(t, e, n) {
|
|
@@ -6796,7 +6796,7 @@ const yt = { get(t) {
|
|
|
6796
6796
|
}, remove(t, e) {
|
|
6797
6797
|
let n = {};
|
|
6798
6798
|
e?.cookieDomain && (n.domain = e.cookieDomain), xi(t, n);
|
|
6799
|
-
} },
|
|
6799
|
+
} }, Wl = { get(t) {
|
|
6800
6800
|
return yt.get(t) || yt.get(`_legacy_${t}`);
|
|
6801
6801
|
}, save(t, e, n) {
|
|
6802
6802
|
let r = {};
|
|
@@ -6804,7 +6804,7 @@ const yt = { get(t) {
|
|
|
6804
6804
|
}, remove(t, e) {
|
|
6805
6805
|
let n = {};
|
|
6806
6806
|
e?.cookieDomain && (n.domain = e.cookieDomain), xi(t, n), yt.remove(t, e), yt.remove(`_legacy_${t}`, e);
|
|
6807
|
-
} },
|
|
6807
|
+
} }, Hl = { get(t) {
|
|
6808
6808
|
if (typeof sessionStorage > "u")
|
|
6809
6809
|
return;
|
|
6810
6810
|
const e = sessionStorage.getItem(t);
|
|
@@ -6814,7 +6814,7 @@ const yt = { get(t) {
|
|
|
6814
6814
|
}, remove(t) {
|
|
6815
6815
|
sessionStorage.removeItem(t);
|
|
6816
6816
|
} };
|
|
6817
|
-
function
|
|
6817
|
+
function Vl(t, e, n) {
|
|
6818
6818
|
var r = e === void 0 ? null : e, o = function(l, u) {
|
|
6819
6819
|
var f = atob(l);
|
|
6820
6820
|
if (u) {
|
|
@@ -6827,11 +6827,11 @@ function Fl(t, e, n) {
|
|
|
6827
6827
|
`, 10) + 1, s = o.substring(i) + (r ? "//# sourceMappingURL=" + r : ""), c = new Blob([s], { type: "application/javascript" });
|
|
6828
6828
|
return URL.createObjectURL(c);
|
|
6829
6829
|
}
|
|
6830
|
-
var go, yo, bo, Rn,
|
|
6831
|
-
return Rn = Rn ||
|
|
6830
|
+
var go, yo, bo, Rn, zl = (go = "Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7Y2xhc3MgZSBleHRlbmRzIEVycm9ye2NvbnN0cnVjdG9yKHQscil7c3VwZXIociksdGhpcy5lcnJvcj10LHRoaXMuZXJyb3JfZGVzY3JpcHRpb249cixPYmplY3Quc2V0UHJvdG90eXBlT2YodGhpcyxlLnByb3RvdHlwZSl9c3RhdGljIGZyb21QYXlsb2FkKHtlcnJvcjp0LGVycm9yX2Rlc2NyaXB0aW9uOnJ9KXtyZXR1cm4gbmV3IGUodCxyKX19Y2xhc3MgdCBleHRlbmRzIGV7Y29uc3RydWN0b3IoZSxzKXtzdXBlcigibWlzc2luZ19yZWZyZXNoX3Rva2VuIixgTWlzc2luZyBSZWZyZXNoIFRva2VuIChhdWRpZW5jZTogJyR7cihlLFsiZGVmYXVsdCJdKX0nLCBzY29wZTogJyR7cihzKX0nKWApLHRoaXMuYXVkaWVuY2U9ZSx0aGlzLnNjb3BlPXMsT2JqZWN0LnNldFByb3RvdHlwZU9mKHRoaXMsdC5wcm90b3R5cGUpfX1mdW5jdGlvbiByKGUsdD1bXSl7cmV0dXJuIGUmJiF0LmluY2x1ZGVzKGUpP2U6IiJ9Y29uc3Qgcz1lPT57dmFye2NsaWVudElkOnR9PWUscj1mdW5jdGlvbihlLHQpe3ZhciByPXt9O2Zvcih2YXIgcyBpbiBlKU9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChlLHMpJiZ0LmluZGV4T2Yocyk8MCYmKHJbc109ZVtzXSk7aWYobnVsbCE9ZSYmImZ1bmN0aW9uIj09dHlwZW9mIE9iamVjdC5nZXRPd25Qcm9wZXJ0eVN5bWJvbHMpe3ZhciBvPTA7Zm9yKHM9T2JqZWN0LmdldE93blByb3BlcnR5U3ltYm9scyhlKTtvPHMubGVuZ3RoO28rKyl0LmluZGV4T2Yoc1tvXSk8MCYmT2JqZWN0LnByb3RvdHlwZS5wcm9wZXJ0eUlzRW51bWVyYWJsZS5jYWxsKGUsc1tvXSkmJihyW3Nbb11dPWVbc1tvXV0pfXJldHVybiByfShlLFsiY2xpZW50SWQiXSk7cmV0dXJuIG5ldyBVUkxTZWFyY2hQYXJhbXMoKGU9Pk9iamVjdC5rZXlzKGUpLmZpbHRlcigodD0+dm9pZCAwIT09ZVt0XSkpLnJlZHVjZSgoKHQscik9Pk9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSx0KSx7W3JdOmVbcl19KSkse30pKShPYmplY3QuYXNzaWduKHtjbGllbnRfaWQ6dH0scikpKS50b1N0cmluZygpfTtsZXQgbz17fTtjb25zdCBuPShlLHQpPT5gJHtlfXwke3R9YDthZGRFdmVudExpc3RlbmVyKCJtZXNzYWdlIiwoYXN5bmMoe2RhdGE6e3RpbWVvdXQ6ZSxhdXRoOnIsZmV0Y2hVcmw6aSxmZXRjaE9wdGlvbnM6Yyx1c2VGb3JtRGF0YTphfSxwb3J0czpbZl19KT0+e2xldCBwO2NvbnN0e2F1ZGllbmNlOmwsc2NvcGU6dX09cnx8e307dHJ5e2NvbnN0IHI9YT8oZT0+e2NvbnN0IHQ9bmV3IFVSTFNlYXJjaFBhcmFtcyhlKSxyPXt9O3JldHVybiB0LmZvckVhY2goKChlLHQpPT57clt0XT1lfSkpLHJ9KShjLmJvZHkpOkpTT04ucGFyc2UoYy5ib2R5KTtpZighci5yZWZyZXNoX3Rva2VuJiYicmVmcmVzaF90b2tlbiI9PT1yLmdyYW50X3R5cGUpe2NvbnN0IGU9KChlLHQpPT5vW24oZSx0KV0pKGwsdSk7aWYoIWUpdGhyb3cgbmV3IHQobCx1KTtjLmJvZHk9YT9zKE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSxyKSx7cmVmcmVzaF90b2tlbjplfSkpOkpTT04uc3RyaW5naWZ5KE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSxyKSx7cmVmcmVzaF90b2tlbjplfSkpfWxldCBkLGc7ImZ1bmN0aW9uIj09dHlwZW9mIEFib3J0Q29udHJvbGxlciYmKGQ9bmV3IEFib3J0Q29udHJvbGxlcixjLnNpZ25hbD1kLnNpZ25hbCk7dHJ5e2c9YXdhaXQgUHJvbWlzZS5yYWNlKFsoaD1lLG5ldyBQcm9taXNlKChlPT5zZXRUaW1lb3V0KGUsaCkpKSksZmV0Y2goaSxPYmplY3QuYXNzaWduKHt9LGMpKV0pfWNhdGNoKGUpe3JldHVybiB2b2lkIGYucG9zdE1lc3NhZ2Uoe2Vycm9yOmUubWVzc2FnZX0pfWlmKCFnKXJldHVybiBkJiZkLmFib3J0KCksdm9pZCBmLnBvc3RNZXNzYWdlKHtlcnJvcjoiVGltZW91dCB3aGVuIGV4ZWN1dGluZyAnZmV0Y2gnIn0pO3A9YXdhaXQgZy5qc29uKCkscC5yZWZyZXNoX3Rva2VuPygoKGUsdCxyKT0+e29bbih0LHIpXT1lfSkocC5yZWZyZXNoX3Rva2VuLGwsdSksZGVsZXRlIHAucmVmcmVzaF90b2tlbik6KChlLHQpPT57ZGVsZXRlIG9bbihlLHQpXX0pKGwsdSksZi5wb3N0TWVzc2FnZSh7b2s6Zy5vayxqc29uOnB9KX1jYXRjaChlKXtmLnBvc3RNZXNzYWdlKHtvazohMSxqc29uOntlcnJvcjplLmVycm9yLGVycm9yX2Rlc2NyaXB0aW9uOmUubWVzc2FnZX19KX12YXIgaH0pKX0oKTsKCg==", yo = null, bo = !1, function(t) {
|
|
6831
|
+
return Rn = Rn || Vl(go, yo, bo), new Worker(Rn, t);
|
|
6832
6832
|
});
|
|
6833
6833
|
const Ln = {};
|
|
6834
|
-
class
|
|
6834
|
+
class Zl {
|
|
6835
6835
|
constructor(e, n) {
|
|
6836
6836
|
this.cache = e, this.clientId = n, this.manifestKey = this.createManifestKeyFrom(this.clientId);
|
|
6837
6837
|
}
|
|
@@ -6857,11 +6857,11 @@ class Hl {
|
|
|
6857
6857
|
return `@@auth0spajs@@::${e}`;
|
|
6858
6858
|
}
|
|
6859
6859
|
}
|
|
6860
|
-
const
|
|
6860
|
+
const Bl = { memory: () => new Oi().enclosedCache, localstorage: () => new Ll() }, wo = (t) => Bl[t], Co = (t) => {
|
|
6861
6861
|
const { openUrl: e, onRedirect: n } = t, r = Fe(t, ["openUrl", "onRedirect"]);
|
|
6862
6862
|
return Object.assign(Object.assign({}, r), { openUrl: e === !1 || e ? e : n });
|
|
6863
|
-
}, Mn = new
|
|
6864
|
-
class
|
|
6863
|
+
}, Mn = new Pl();
|
|
6864
|
+
class $l {
|
|
6865
6865
|
constructor(e) {
|
|
6866
6866
|
let n, r;
|
|
6867
6867
|
if (this.userCache = new Oi().enclosedCache, this.defaultOptions = { authorizationParams: { scope: "openid profile email" }, useRefreshTokensFallback: !1, useFormData: !0 }, this._releaseLockOnPageHide = async () => {
|
|
@@ -6880,10 +6880,10 @@ class Vl {
|
|
|
6880
6880
|
throw new Error(`Invalid cache location "${n}"`);
|
|
6881
6881
|
r = wo(n)();
|
|
6882
6882
|
}
|
|
6883
|
-
this.httpTimeoutMs = e.httpTimeoutInSeconds ? 1e3 * e.httpTimeoutInSeconds : 1e4, this.cookieStorage = e.legacySameSiteCookie === !1 ? yt :
|
|
6884
|
-
const o = e.useCookiesForTransactions ? this.cookieStorage :
|
|
6883
|
+
this.httpTimeoutMs = e.httpTimeoutInSeconds ? 1e3 * e.httpTimeoutInSeconds : 1e4, this.cookieStorage = e.legacySameSiteCookie === !1 ? yt : Wl, this.orgHintCookieName = `auth0.${this.options.clientId}.organization_hint`, this.isAuthenticatedCookieName = ((s) => `auth0.${s}.is.authenticated`)(this.options.clientId), this.sessionCheckExpiryDays = e.sessionCheckExpiryDays || 1;
|
|
6884
|
+
const o = e.useCookiesForTransactions ? this.cookieStorage : Hl;
|
|
6885
6885
|
var i;
|
|
6886
|
-
this.scope = Xt("openid", this.options.authorizationParams.scope, this.options.useRefreshTokens ? "offline_access" : ""), this.transactionManager = new
|
|
6886
|
+
this.scope = Xt("openid", this.options.authorizationParams.scope, this.options.useRefreshTokens ? "offline_access" : ""), this.transactionManager = new Dl(o, this.options.clientId), this.nowProvider = this.options.nowProvider || Ci, this.cacheManager = new Ml(r, r.allKeys ? void 0 : new Zl(r, this.options.clientId), this.nowProvider), this.domainUrl = (i = this.options.domain, /^https?:\/\//.test(i) ? i : `https://${i}`), this.tokenIssuer = ((s, c) => s ? s.startsWith("https://") ? s : `https://${s}/` : `${c}/`)(this.options.issuer, this.domainUrl), typeof window < "u" && window.Worker && this.options.useRefreshTokens && n === "memory" && (this.worker = new zl());
|
|
6887
6887
|
}
|
|
6888
6888
|
_url(e) {
|
|
6889
6889
|
const n = encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client || wi)));
|
|
@@ -6894,7 +6894,7 @@ class Vl {
|
|
|
6894
6894
|
}
|
|
6895
6895
|
async _verifyIdToken(e, n, r) {
|
|
6896
6896
|
const o = await this.nowProvider();
|
|
6897
|
-
return
|
|
6897
|
+
return Ul({ iss: this.tokenIssuer, aud: this.options.clientId, id_token: e, nonce: n, organizationId: r, leeway: this.options.leeway, max_age: (i = this.options.authorizationParams.max_age, typeof i != "string" ? i : parseInt(i, 10) || void 0), now: o });
|
|
6898
6898
|
var i;
|
|
6899
6899
|
}
|
|
6900
6900
|
_processOrgIdHint(e) {
|
|
@@ -6929,7 +6929,7 @@ class Vl {
|
|
|
6929
6929
|
f = function(h) {
|
|
6930
6930
|
if (h.data && h.data.type === "authorization_response") {
|
|
6931
6931
|
if (clearTimeout(d), clearInterval(p), window.removeEventListener("message", f, !1), c.popup.close(), h.data.response.error)
|
|
6932
|
-
return u(
|
|
6932
|
+
return u(_e.fromPayload(h.data.response));
|
|
6933
6933
|
l(h.data.response);
|
|
6934
6934
|
}
|
|
6935
6935
|
}, window.addEventListener("message", f);
|
|
@@ -6968,7 +6968,7 @@ class Vl {
|
|
|
6968
6968
|
if (!c)
|
|
6969
6969
|
throw new Error("Invalid state");
|
|
6970
6970
|
if (this.transactionManager.remove(), i)
|
|
6971
|
-
throw new
|
|
6971
|
+
throw new _r(i, s || i, r, c.appState);
|
|
6972
6972
|
if (!c.code_verifier || c.state && c.state !== r)
|
|
6973
6973
|
throw new Error("Invalid state");
|
|
6974
6974
|
const l = c.organizationId, u = c.nonce, f = c.redirect_uri;
|
|
@@ -7026,7 +7026,7 @@ class Vl {
|
|
|
7026
7026
|
async getTokenWithPopup(e = {}, n = {}) {
|
|
7027
7027
|
var r;
|
|
7028
7028
|
const o = Object.assign(Object.assign({}, e), { authorizationParams: Object.assign(Object.assign(Object.assign({}, this.options.authorizationParams), e.authorizationParams), { scope: Xt(this.scope, (r = e.authorizationParams) === null || r === void 0 ? void 0 : r.scope) }) });
|
|
7029
|
-
return n = Object.assign(Object.assign({},
|
|
7029
|
+
return n = Object.assign(Object.assign({}, Tl), n), await this.loginWithPopup(o, n), (await this.cacheManager.get(new We({ scope: o.authorizationParams.scope, audience: o.authorizationParams.audience || "default", clientId: this.options.clientId }))).access_token;
|
|
7030
7030
|
}
|
|
7031
7031
|
async isAuthenticated() {
|
|
7032
7032
|
return !!await this.getUser();
|
|
@@ -7048,7 +7048,7 @@ class Vl {
|
|
|
7048
7048
|
const { url: o, state: i, nonce: s, code_verifier: c, redirect_uri: l, scope: u, audience: f } = await this._prepareAuthorizeUrl(n, { response_mode: "web_message" }, window.location.origin);
|
|
7049
7049
|
try {
|
|
7050
7050
|
if (window.crossOriginIsolated)
|
|
7051
|
-
throw new
|
|
7051
|
+
throw new _e("login_required", "The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");
|
|
7052
7052
|
const p = e.timeoutInSeconds || this.options.authorizeTimeoutInSeconds, d = await ((m, v, g = 60) => new Promise((b, x) => {
|
|
7053
7053
|
const E = window.document.createElement("iframe");
|
|
7054
7054
|
E.setAttribute("width", "0"), E.setAttribute("height", "0"), E.style.display = "none";
|
|
@@ -7056,14 +7056,14 @@ class Vl {
|
|
|
7056
7056
|
window.document.body.contains(E) && (window.document.body.removeChild(E), window.removeEventListener("message", y, !1));
|
|
7057
7057
|
};
|
|
7058
7058
|
let y;
|
|
7059
|
-
const
|
|
7059
|
+
const P = setTimeout(() => {
|
|
7060
7060
|
x(new Ht()), O();
|
|
7061
7061
|
}, 1e3 * g);
|
|
7062
7062
|
y = function(I) {
|
|
7063
7063
|
if (I.origin != v || !I.data || I.data.type !== "authorization_response")
|
|
7064
7064
|
return;
|
|
7065
|
-
const
|
|
7066
|
-
|
|
7065
|
+
const S = I.source;
|
|
7066
|
+
S && S.close(), I.data.response.error ? x(_e.fromPayload(I.data.response)) : b(I.data.response), clearTimeout(P), window.removeEventListener("message", y, !1), setTimeout(O, 2e3);
|
|
7067
7067
|
}, window.addEventListener("message", y, !1), window.document.body.appendChild(E), E.setAttribute("src", m);
|
|
7068
7068
|
}))(o, this.domainUrl, p);
|
|
7069
7069
|
if (i !== d.state)
|
|
@@ -7107,35 +7107,35 @@ class Vl {
|
|
|
7107
7107
|
}
|
|
7108
7108
|
}
|
|
7109
7109
|
async _requestToken(e, n) {
|
|
7110
|
-
const { nonceIn: r, organizationId: o } = n || {}, i = await
|
|
7110
|
+
const { nonceIn: r, organizationId: o } = n || {}, i = await Rl(Object.assign({ baseUrl: this.domainUrl, client_id: this.options.clientId, auth0Client: this.options.auth0Client, useFormData: this.options.useFormData, timeout: this.httpTimeoutMs }, e), this.worker), s = await this._verifyIdToken(i.id_token, r, o);
|
|
7111
7111
|
return await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({}, i), { decodedToken: s, scope: e.scope, audience: e.audience || "default" }), i.scope ? { oauthTokenScope: i.scope } : null), { client_id: this.options.clientId })), this.cookieStorage.save(this.isAuthenticatedCookieName, !0, { daysUntilExpire: this.sessionCheckExpiryDays, cookieDomain: this.options.cookieDomain }), this._processOrgIdHint(s.claims.org_id), Object.assign(Object.assign({}, i), { decodedToken: s });
|
|
7112
7112
|
}
|
|
7113
7113
|
}
|
|
7114
|
-
var
|
|
7114
|
+
var ki = {
|
|
7115
7115
|
isAuthenticated: !1,
|
|
7116
7116
|
isLoading: !0
|
|
7117
7117
|
}, Ze = function() {
|
|
7118
7118
|
throw new Error("You forgot to wrap your component in <Auth0Provider>.");
|
|
7119
|
-
},
|
|
7119
|
+
}, Gl = pe(pe({}, ki), { buildAuthorizeUrl: Ze, buildLogoutUrl: Ze, getAccessTokenSilently: Ze, getAccessTokenWithPopup: Ze, getIdTokenClaims: Ze, loginWithRedirect: Ze, loginWithPopup: Ze, logout: Ze, handleRedirectCallback: Ze }), Si = Vt(Gl), Kl = (
|
|
7120
7120
|
/** @class */
|
|
7121
7121
|
function(t) {
|
|
7122
|
-
|
|
7122
|
+
kl(e, t);
|
|
7123
7123
|
function e(n, r) {
|
|
7124
7124
|
var o = t.call(this, r || n) || this;
|
|
7125
7125
|
return o.error = n, o.error_description = r, Object.setPrototypeOf(o, e.prototype), o;
|
|
7126
7126
|
}
|
|
7127
7127
|
return e;
|
|
7128
7128
|
}(Error)
|
|
7129
|
-
),
|
|
7130
|
-
return t === void 0 && (t = window.location.search), (
|
|
7131
|
-
},
|
|
7129
|
+
), ql = /[?&]code=[^&]+/, Yl = /[?&]state=[^&]+/, Xl = /[?&]error=[^&]+/, Jl = function(t) {
|
|
7130
|
+
return t === void 0 && (t = window.location.search), (ql.test(t) || Xl.test(t)) && Yl.test(t);
|
|
7131
|
+
}, Pi = function(t) {
|
|
7132
7132
|
return function(e) {
|
|
7133
|
-
return "error" in e ? new
|
|
7133
|
+
return "error" in e ? new Kl(e.error, e.error_description) : e instanceof Error ? e : new Error(t);
|
|
7134
7134
|
};
|
|
7135
|
-
}, Oo =
|
|
7135
|
+
}, Oo = Pi("Login failed"), Dn = Pi("Get access token failed"), Ti = function(t) {
|
|
7136
7136
|
var e;
|
|
7137
7137
|
t?.redirectUri && (console.warn("Using `redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `redirectUri` will be no longer supported in a future version"), t.authorizationParams = t.authorizationParams || {}, t.authorizationParams.redirect_uri = t.redirectUri, delete t.redirectUri), !((e = t?.authorizationParams) === null || e === void 0) && e.redirectUri && (console.warn("Using `authorizationParams.redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `authorizationParams.redirectUri` will be removed in a future version"), t.authorizationParams.redirect_uri = t.authorizationParams.redirectUri, delete t.authorizationParams.redirectUri);
|
|
7138
|
-
},
|
|
7138
|
+
}, Ql = function(t, e) {
|
|
7139
7139
|
switch (e.type) {
|
|
7140
7140
|
case "LOGIN_POPUP_STARTED":
|
|
7141
7141
|
return pe(pe({}, t), { isLoading: !0 });
|
|
@@ -7150,39 +7150,39 @@ var Si = {
|
|
|
7150
7150
|
case "ERROR":
|
|
7151
7151
|
return pe(pe({}, t), { isLoading: !1, error: e.error });
|
|
7152
7152
|
}
|
|
7153
|
-
},
|
|
7154
|
-
return
|
|
7153
|
+
}, eu = function(t) {
|
|
7154
|
+
return Ti(t), pe(pe({}, t), { auth0Client: {
|
|
7155
7155
|
name: "auth0-react",
|
|
7156
7156
|
version: "2.0.1"
|
|
7157
7157
|
} });
|
|
7158
|
-
},
|
|
7158
|
+
}, tu = function(t) {
|
|
7159
7159
|
window.history.replaceState({}, document.title, t?.returnTo || window.location.pathname);
|
|
7160
|
-
},
|
|
7161
|
-
var e = t.children, n = t.skipRedirectCallback, r = t.onRedirectCallback, o = r === void 0 ?
|
|
7162
|
-
return new
|
|
7163
|
-
})[0], u = jn(
|
|
7160
|
+
}, nu = function(t) {
|
|
7161
|
+
var e = t.children, n = t.skipRedirectCallback, r = t.onRedirectCallback, o = r === void 0 ? tu : r, i = t.context, s = i === void 0 ? Si : i, c = Sl(t, ["children", "skipRedirectCallback", "onRedirectCallback", "context"]), l = z(function() {
|
|
7162
|
+
return new $l(eu(c));
|
|
7163
|
+
})[0], u = jn(Ql, ki), f = u[0], p = u[1], d = Le(!1);
|
|
7164
7164
|
te(function() {
|
|
7165
7165
|
d.current || (d.current = !0, function() {
|
|
7166
7166
|
return mt(void 0, void 0, void 0, function() {
|
|
7167
|
-
var y,
|
|
7168
|
-
return vt(this, function(
|
|
7169
|
-
switch (
|
|
7167
|
+
var y, P, I;
|
|
7168
|
+
return vt(this, function(S) {
|
|
7169
|
+
switch (S.label) {
|
|
7170
7170
|
case 0:
|
|
7171
|
-
return
|
|
7171
|
+
return S.trys.push([0, 7, , 8]), y = void 0, Jl() && !n ? [4, l.handleRedirectCallback()] : [3, 3];
|
|
7172
7172
|
case 1:
|
|
7173
|
-
return
|
|
7173
|
+
return P = S.sent().appState, [4, l.getUser()];
|
|
7174
7174
|
case 2:
|
|
7175
|
-
return y =
|
|
7175
|
+
return y = S.sent(), o(P, y), [3, 6];
|
|
7176
7176
|
case 3:
|
|
7177
7177
|
return [4, l.checkSession()];
|
|
7178
7178
|
case 4:
|
|
7179
|
-
return
|
|
7179
|
+
return S.sent(), [4, l.getUser()];
|
|
7180
7180
|
case 5:
|
|
7181
|
-
y =
|
|
7181
|
+
y = S.sent(), S.label = 6;
|
|
7182
7182
|
case 6:
|
|
7183
7183
|
return p({ type: "INITIALISED", user: y }), [3, 8];
|
|
7184
7184
|
case 7:
|
|
7185
|
-
return I =
|
|
7185
|
+
return I = S.sent(), p({ type: "ERROR", error: Oo(I) }), [3, 8];
|
|
7186
7186
|
case 8:
|
|
7187
7187
|
return [
|
|
7188
7188
|
2
|
|
@@ -7194,16 +7194,16 @@ var Si = {
|
|
|
7194
7194
|
}());
|
|
7195
7195
|
}, [l, o, n]);
|
|
7196
7196
|
var h = he(function(y) {
|
|
7197
|
-
return
|
|
7198
|
-
}, [l]), m = he(function(y,
|
|
7197
|
+
return Ti(y), l.loginWithRedirect(y);
|
|
7198
|
+
}, [l]), m = he(function(y, P) {
|
|
7199
7199
|
return mt(void 0, void 0, void 0, function() {
|
|
7200
|
-
var I,
|
|
7200
|
+
var I, S;
|
|
7201
7201
|
return vt(this, function(N) {
|
|
7202
7202
|
switch (N.label) {
|
|
7203
7203
|
case 0:
|
|
7204
7204
|
p({ type: "LOGIN_POPUP_STARTED" }), N.label = 1;
|
|
7205
7205
|
case 1:
|
|
7206
|
-
return N.trys.push([1, 3, , 4]), [4, l.loginWithPopup(y,
|
|
7206
|
+
return N.trys.push([1, 3, , 4]), [4, l.loginWithPopup(y, P)];
|
|
7207
7207
|
case 2:
|
|
7208
7208
|
return N.sent(), [3, 4];
|
|
7209
7209
|
case 3:
|
|
@@ -7214,7 +7214,7 @@ var Si = {
|
|
|
7214
7214
|
case 4:
|
|
7215
7215
|
return [4, l.getUser()];
|
|
7216
7216
|
case 5:
|
|
7217
|
-
return
|
|
7217
|
+
return S = N.sent(), p({ type: "LOGIN_POPUP_COMPLETE", user: S }), [
|
|
7218
7218
|
2
|
|
7219
7219
|
/*return*/
|
|
7220
7220
|
];
|
|
@@ -7223,12 +7223,12 @@ var Si = {
|
|
|
7223
7223
|
});
|
|
7224
7224
|
}, [l]), v = he(function(y) {
|
|
7225
7225
|
return y === void 0 && (y = {}), mt(void 0, void 0, void 0, function() {
|
|
7226
|
-
return vt(this, function(
|
|
7227
|
-
switch (
|
|
7226
|
+
return vt(this, function(P) {
|
|
7227
|
+
switch (P.label) {
|
|
7228
7228
|
case 0:
|
|
7229
7229
|
return [4, l.logout(y)];
|
|
7230
7230
|
case 1:
|
|
7231
|
-
return
|
|
7231
|
+
return P.sent(), (y.openUrl || y.openUrl === !1) && p({ type: "LOGOUT" }), [
|
|
7232
7232
|
2
|
|
7233
7233
|
/*return*/
|
|
7234
7234
|
];
|
|
@@ -7239,42 +7239,42 @@ var Si = {
|
|
|
7239
7239
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7240
7240
|
function(y) {
|
|
7241
7241
|
return mt(void 0, void 0, void 0, function() {
|
|
7242
|
-
var
|
|
7242
|
+
var P, I, S, N;
|
|
7243
7243
|
return vt(this, function(L) {
|
|
7244
7244
|
switch (L.label) {
|
|
7245
7245
|
case 0:
|
|
7246
7246
|
return L.trys.push([0, 2, 3, 5]), [4, l.getTokenSilently(y)];
|
|
7247
7247
|
case 1:
|
|
7248
|
-
return
|
|
7248
|
+
return P = L.sent(), [3, 5];
|
|
7249
7249
|
case 2:
|
|
7250
7250
|
throw I = L.sent(), Dn(I);
|
|
7251
7251
|
case 3:
|
|
7252
|
-
return
|
|
7252
|
+
return S = p, N = {
|
|
7253
7253
|
type: "GET_ACCESS_TOKEN_COMPLETE"
|
|
7254
7254
|
}, [4, l.getUser()];
|
|
7255
7255
|
case 4:
|
|
7256
|
-
return
|
|
7256
|
+
return S.apply(void 0, [(N.user = L.sent(), N)]), [
|
|
7257
7257
|
7
|
|
7258
7258
|
/*endfinally*/
|
|
7259
7259
|
];
|
|
7260
7260
|
case 5:
|
|
7261
|
-
return [2,
|
|
7261
|
+
return [2, P];
|
|
7262
7262
|
}
|
|
7263
7263
|
});
|
|
7264
7264
|
});
|
|
7265
7265
|
},
|
|
7266
7266
|
[l]
|
|
7267
|
-
), b = he(function(y,
|
|
7267
|
+
), b = he(function(y, P) {
|
|
7268
7268
|
return mt(void 0, void 0, void 0, function() {
|
|
7269
|
-
var I,
|
|
7269
|
+
var I, S, N, L;
|
|
7270
7270
|
return vt(this, function(H) {
|
|
7271
7271
|
switch (H.label) {
|
|
7272
7272
|
case 0:
|
|
7273
|
-
return H.trys.push([0, 2, 3, 5]), [4, l.getTokenWithPopup(y,
|
|
7273
|
+
return H.trys.push([0, 2, 3, 5]), [4, l.getTokenWithPopup(y, P)];
|
|
7274
7274
|
case 1:
|
|
7275
7275
|
return I = H.sent(), [3, 5];
|
|
7276
7276
|
case 2:
|
|
7277
|
-
throw
|
|
7277
|
+
throw S = H.sent(), Dn(S);
|
|
7278
7278
|
case 3:
|
|
7279
7279
|
return N = p, L = {
|
|
7280
7280
|
type: "GET_ACCESS_TOKEN_COMPLETE"
|
|
@@ -7293,7 +7293,7 @@ var Si = {
|
|
|
7293
7293
|
return l.getIdTokenClaims();
|
|
7294
7294
|
}, [l]), E = he(function(y) {
|
|
7295
7295
|
return mt(void 0, void 0, void 0, function() {
|
|
7296
|
-
var
|
|
7296
|
+
var P, I, S;
|
|
7297
7297
|
return vt(this, function(N) {
|
|
7298
7298
|
switch (N.label) {
|
|
7299
7299
|
case 0:
|
|
@@ -7301,13 +7301,13 @@ var Si = {
|
|
|
7301
7301
|
case 1:
|
|
7302
7302
|
return [2, N.sent()];
|
|
7303
7303
|
case 2:
|
|
7304
|
-
throw
|
|
7304
|
+
throw P = N.sent(), Dn(P);
|
|
7305
7305
|
case 3:
|
|
7306
|
-
return I = p,
|
|
7306
|
+
return I = p, S = {
|
|
7307
7307
|
type: "HANDLE_REDIRECT_COMPLETE"
|
|
7308
7308
|
}, [4, l.getUser()];
|
|
7309
7309
|
case 4:
|
|
7310
|
-
return I.apply(void 0, [(
|
|
7310
|
+
return I.apply(void 0, [(S.user = N.sent(), S)]), [
|
|
7311
7311
|
7
|
|
7312
7312
|
/*endfinally*/
|
|
7313
7313
|
];
|
|
@@ -7332,8 +7332,8 @@ var Si = {
|
|
|
7332
7332
|
E
|
|
7333
7333
|
]);
|
|
7334
7334
|
return be.createElement(s.Provider, { value: O }, e);
|
|
7335
|
-
},
|
|
7336
|
-
return t === void 0 && (t =
|
|
7335
|
+
}, ru = function(t) {
|
|
7336
|
+
return t === void 0 && (t = Si), ne(t);
|
|
7337
7337
|
};
|
|
7338
7338
|
const un = {
|
|
7339
7339
|
[it.WINDOW_MANAGEMENT]: {
|
|
@@ -7343,7 +7343,7 @@ const un = {
|
|
|
7343
7343
|
default: "To allow window management, click the icon to the left of the address bar."
|
|
7344
7344
|
},
|
|
7345
7345
|
label: "Allow window management",
|
|
7346
|
-
Image:
|
|
7346
|
+
Image: gl,
|
|
7347
7347
|
openPermissionsPrompt: ({ handleDeferredPermission: t, handlePermissionsPromptClose: e }) => {
|
|
7348
7348
|
window.getScreenDetails().catch(async () => {
|
|
7349
7349
|
const { state: n } = await navigator.permissions.query({ name: it.WINDOW_MANAGEMENT });
|
|
@@ -7360,7 +7360,7 @@ const un = {
|
|
|
7360
7360
|
edge: 'To allow browser notifications, click the icon to the left of the address bar, or the "Bell" icon to the right of the address bar.'
|
|
7361
7361
|
},
|
|
7362
7362
|
label: "Allow browser notifications",
|
|
7363
|
-
Image:
|
|
7363
|
+
Image: dl,
|
|
7364
7364
|
openPermissionsPrompt: ({ handleDeferredPermission: t, handlePermissionsPromptClose: e }) => {
|
|
7365
7365
|
Notification.requestPermission().then(async () => {
|
|
7366
7366
|
const { state: n } = await navigator.permissions.query({ name: it.NOTIFICATIONS });
|
|
@@ -7368,10 +7368,10 @@ const un = {
|
|
|
7368
7368
|
}).finally(e);
|
|
7369
7369
|
}
|
|
7370
7370
|
}
|
|
7371
|
-
},
|
|
7371
|
+
}, ou = {
|
|
7372
7372
|
edgeNotificationsPermissionTimeout: 15e3
|
|
7373
7373
|
};
|
|
7374
|
-
const
|
|
7374
|
+
const iu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE__ */ a("ul", { className: "permissions-list", children: Object.entries(un).map(([n, r], o) => {
|
|
7375
7375
|
const i = t(n), s = e.find(({ stableName: c }) => c === n);
|
|
7376
7376
|
return /* @__PURE__ */ w("li", { className: G("permissions-list-item", i && "active"), children: [
|
|
7377
7377
|
/* @__PURE__ */ a("div", { children: s?.state === "granted" ? /* @__PURE__ */ a(ce, { name: "check" }) : /* @__PURE__ */ w(Ee, { children: [
|
|
@@ -7383,7 +7383,7 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7383
7383
|
] }) }),
|
|
7384
7384
|
r.label
|
|
7385
7385
|
] }, n);
|
|
7386
|
-
}) }),
|
|
7386
|
+
}) }), au = ({ onReopenPromptClick: t }) => /* @__PURE__ */ a(yn, { description: /* @__PURE__ */ w(Ee, { children: [
|
|
7387
7387
|
'Please, click "Allow" when the browser prompt appears.',
|
|
7388
7388
|
/* @__PURE__ */ a("br", {}),
|
|
7389
7389
|
/* @__PURE__ */ w("strong", { children: [
|
|
@@ -7391,7 +7391,7 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7391
7391
|
/* @__PURE__ */ a("br", {}),
|
|
7392
7392
|
"address bar to manually grant the permission."
|
|
7393
7393
|
] })
|
|
7394
|
-
] }), Image:
|
|
7394
|
+
] }), Image: ml, title: "Something went wrong!", children: /* @__PURE__ */ a(gn, { className: "io-btn-primary permissions-prompt-button", onClick: t, children: "Reopen the Prompt" }) }), _i = ({ deniedPermissionName: t }) => {
|
|
7395
7395
|
const { permission: e } = ut(), r = hr().name?.toLowerCase() || "", o = Object.values(e.statuses).filter(
|
|
7396
7396
|
(s) => s.stableName === t || s.state === "denied"
|
|
7397
7397
|
);
|
|
@@ -7399,12 +7399,12 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7399
7399
|
"The current browser settings block critical functionalities of io.Connect Browser.",
|
|
7400
7400
|
/* @__PURE__ */ a("br", {}),
|
|
7401
7401
|
"To enable io.Connect Browser to operate properly, you must grant browser permissions manually."
|
|
7402
|
-
] }), Image:
|
|
7403
|
-
},
|
|
7402
|
+
] }), Image: vl, title: "Setup Was Unsuccessful", children: /* @__PURE__ */ a("ul", { className: "permissions-guidelines-list", children: o.map((s, c) => /* @__PURE__ */ a("li", { children: un[s.stableName].guidelines[r] || un[s.stableName].guidelines.default }, c)) }) });
|
|
7403
|
+
}, su = ({
|
|
7404
7404
|
edgeNotificationsPermissionTimeout: t,
|
|
7405
7405
|
isNotificationsPermissionPromptOpen: e
|
|
7406
7406
|
}) => {
|
|
7407
|
-
const { name: n } = hr(), { permission: r } = ut(), [o, i] =
|
|
7407
|
+
const { name: n } = hr(), { permission: r } = ut(), [o, i] = z(!1);
|
|
7408
7408
|
return te(() => {
|
|
7409
7409
|
if (!e || n !== "Edge")
|
|
7410
7410
|
return;
|
|
@@ -7419,8 +7419,8 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7419
7419
|
}, [o, r.statuses]), {
|
|
7420
7420
|
hasEdgeNotificationsPermissionError: o
|
|
7421
7421
|
};
|
|
7422
|
-
}, Cn = () => /* @__PURE__ */ a("span", { className: "loader" }),
|
|
7423
|
-
const { permission: e } = ut(), [n, r] =
|
|
7422
|
+
}, Cn = () => /* @__PURE__ */ a("span", { className: "loader" }), cu = ({ settings: t }) => {
|
|
7423
|
+
const { permission: e } = ut(), [n, r] = z(!1), [o, i] = z(!1), s = e.statuses.find(({ state: p }) => p === "prompt"), { hasEdgeNotificationsPermissionError: c } = su({
|
|
7424
7424
|
edgeNotificationsPermissionTimeout: t.edgeNotificationsPermissionTimeout,
|
|
7425
7425
|
isNotificationsPermissionPromptOpen: o && s?.stableName === it.NOTIFICATIONS
|
|
7426
7426
|
});
|
|
@@ -7429,18 +7429,18 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7429
7429
|
'The "PermissionSteps" component should not be used in case there is no pending permission or there is a denied permission.'
|
|
7430
7430
|
);
|
|
7431
7431
|
if (c)
|
|
7432
|
-
return /* @__PURE__ */ a(
|
|
7432
|
+
return /* @__PURE__ */ a(_i, { deniedPermissionName: "notifications" });
|
|
7433
7433
|
const l = un[s.stableName], u = () => {
|
|
7434
7434
|
i(!0), l.openPermissionsPrompt({
|
|
7435
7435
|
handleDeferredPermission: () => r(!0),
|
|
7436
7436
|
handlePermissionsPromptClose: () => i(!1)
|
|
7437
7437
|
});
|
|
7438
7438
|
};
|
|
7439
|
-
return n ? /* @__PURE__ */ a(
|
|
7439
|
+
return n ? /* @__PURE__ */ a(au, { onReopenPromptClick: () => {
|
|
7440
7440
|
r(!1), u();
|
|
7441
7441
|
} }) : /* @__PURE__ */ w(yn, { description: l.description, heading: l.heading, Image: l.Image, title: "First-Time User Setup", children: [
|
|
7442
7442
|
/* @__PURE__ */ a(
|
|
7443
|
-
|
|
7443
|
+
iu,
|
|
7444
7444
|
{
|
|
7445
7445
|
isActiveItem: (p) => p === s.stableName,
|
|
7446
7446
|
permissionStatuses: e.statuses
|
|
@@ -7458,39 +7458,39 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7458
7458
|
),
|
|
7459
7459
|
o && /* @__PURE__ */ a(Cn, {})
|
|
7460
7460
|
] });
|
|
7461
|
-
},
|
|
7461
|
+
}, lu = ({ settings: t }) => {
|
|
7462
7462
|
const { permission: e } = ut();
|
|
7463
7463
|
return e.isLoading ? /* @__PURE__ */ w(Ee, { children: [
|
|
7464
7464
|
/* @__PURE__ */ a("div", { className: "mb-32", children: "Checking browser permissions ..." }),
|
|
7465
7465
|
/* @__PURE__ */ a(Cn, {})
|
|
7466
|
-
] }) : e.isDenied ? /* @__PURE__ */ a(
|
|
7467
|
-
}, Rr = ({ components: { Logo: t = $t } = {}, settings: e = {} }) => /* @__PURE__ */ a(yi, { Logo: t, children: /* @__PURE__ */ a(
|
|
7466
|
+
] }) : e.isDenied ? /* @__PURE__ */ a(_i, {}) : /* @__PURE__ */ a(cu, { settings: t });
|
|
7467
|
+
}, Rr = ({ components: { Logo: t = $t } = {}, settings: e = {} }) => /* @__PURE__ */ a(yi, { Logo: t, children: /* @__PURE__ */ a(lu, { settings: { ...ou, ...e } }) }), uu = ({ components: t, className: e }) => {
|
|
7468
7468
|
const n = t?.Logo || $t;
|
|
7469
7469
|
return /* @__PURE__ */ a("div", { className: "logout-backdrop", children: /* @__PURE__ */ w("div", { className: G(e, "logout-container flex flex-column ai-center"), children: [
|
|
7470
7470
|
/* @__PURE__ */ a(n, {}),
|
|
7471
7471
|
/* @__PURE__ */ a("h1", { className: "text-center mb-8", children: "Logging out..." }),
|
|
7472
7472
|
/* @__PURE__ */ a(Cn, {})
|
|
7473
7473
|
] }) });
|
|
7474
|
-
},
|
|
7474
|
+
}, du = ({ onLogin: t }) => /* @__PURE__ */ a(hi, { children: /* @__PURE__ */ a(bn, { onClick: t, className: "io-btn-primary", children: "Log In" }) }), Ii = ({ className: t = "text-center mb-3", text: e = "Making Your Work Flow" }) => /* @__PURE__ */ w(Ee, { children: [
|
|
7475
7475
|
/* @__PURE__ */ a("h1", { className: t, children: e }),
|
|
7476
7476
|
/* @__PURE__ */ a("p", { children: "Integrate apps, simplify user experiences and accelerate digital transformation." })
|
|
7477
7477
|
] }), Ni = () => /* @__PURE__ */ w(Ee, { children: [
|
|
7478
7478
|
/* @__PURE__ */ a("h1", { className: "text-center mb-8", children: "Verifying credentials..." }),
|
|
7479
7479
|
/* @__PURE__ */ a(Cn, {})
|
|
7480
|
-
] }),
|
|
7480
|
+
] }), fu = ({ className: t, onLogin: e, isLoading: n, components: r }) => {
|
|
7481
7481
|
const o = r?.Logo || $t, i = r?.Heading || Ii;
|
|
7482
7482
|
return /* @__PURE__ */ w("div", { className: G(t, "login-container flex flex-column ai-center"), children: [
|
|
7483
7483
|
/* @__PURE__ */ a(o, {}),
|
|
7484
7484
|
n ? /* @__PURE__ */ a(Ni, {}) : /* @__PURE__ */ w(Ee, { children: [
|
|
7485
7485
|
/* @__PURE__ */ a(i, {}),
|
|
7486
|
-
/* @__PURE__ */ a(
|
|
7486
|
+
/* @__PURE__ */ a(du, { onLogin: e })
|
|
7487
7487
|
] })
|
|
7488
7488
|
] });
|
|
7489
7489
|
}, Eo = (t, e) => {
|
|
7490
7490
|
const n = e.value, r = n.trim().length > 3;
|
|
7491
7491
|
return { value: n, isValid: r };
|
|
7492
|
-
},
|
|
7493
|
-
const [i, s] = jn(Eo, { value: "", isValid: !1 }), [c, l] = jn(Eo, { value: "", isValid: !1 }), [u, f] =
|
|
7492
|
+
}, pu = ({ onLogin: t, setIsLoading: e, loginError: n, setLoginError: r, userInputName: o }) => {
|
|
7493
|
+
const [i, s] = jn(Eo, { value: "", isValid: !1 }), [c, l] = jn(Eo, { value: "", isValid: !1 }), [u, f] = z(!1), [p, d] = z(!1), { isValid: h } = i, { isValid: m } = c, v = h && m, g = (y) => s({ value: y.target.value }), b = (y) => l({ value: y.target.value }), x = () => {
|
|
7494
7494
|
h || f(!0);
|
|
7495
7495
|
}, E = () => {
|
|
7496
7496
|
m || d(!0);
|
|
@@ -7500,8 +7500,8 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7500
7500
|
e(!0);
|
|
7501
7501
|
try {
|
|
7502
7502
|
await t(i.value, c.value);
|
|
7503
|
-
} catch (
|
|
7504
|
-
r(
|
|
7503
|
+
} catch (P) {
|
|
7504
|
+
r(P);
|
|
7505
7505
|
}
|
|
7506
7506
|
e(!1);
|
|
7507
7507
|
}
|
|
@@ -7552,14 +7552,14 @@ const nu = ({ isActiveItem: t = () => !1, permissionStatuses: e }) => /* @__PURE
|
|
|
7552
7552
|
] })
|
|
7553
7553
|
] });
|
|
7554
7554
|
};
|
|
7555
|
-
const
|
|
7556
|
-
const [o, i] =
|
|
7555
|
+
const hu = ({ className: t, onLogin: e, components: n, userInputName: r }) => {
|
|
7556
|
+
const [o, i] = z(!1), [s, c] = z(null), l = n?.Logo || $t, u = n?.Heading || Ii;
|
|
7557
7557
|
return /* @__PURE__ */ w("div", { className: G(t, "login-container simple-login flex flex-column ai-center"), children: [
|
|
7558
7558
|
/* @__PURE__ */ a(l, {}),
|
|
7559
7559
|
o ? /* @__PURE__ */ a(Ni, {}) : /* @__PURE__ */ w(Ee, { children: [
|
|
7560
7560
|
/* @__PURE__ */ a(u, {}),
|
|
7561
7561
|
/* @__PURE__ */ a(
|
|
7562
|
-
|
|
7562
|
+
pu,
|
|
7563
7563
|
{
|
|
7564
7564
|
onLogin: e,
|
|
7565
7565
|
setIsLoading: i,
|
|
@@ -7570,25 +7570,59 @@ const du = ({ className: t, onLogin: e, components: n, userInputName: r }) => {
|
|
|
7570
7570
|
)
|
|
7571
7571
|
] })
|
|
7572
7572
|
] });
|
|
7573
|
-
},
|
|
7573
|
+
}, mu = xe({
|
|
7574
7574
|
id: ye,
|
|
7575
7575
|
username: K(ye),
|
|
7576
7576
|
email: K(ye),
|
|
7577
7577
|
firstName: K(ye),
|
|
7578
7578
|
lastName: K(ye),
|
|
7579
7579
|
avatarUrl: K(ye)
|
|
7580
|
-
}),
|
|
7580
|
+
}), vu = (t) => {
|
|
7581
7581
|
const { onLogout: e, user: n, launchpad: r, icon: o } = t;
|
|
7582
|
-
return /* @__PURE__ */ a(
|
|
7583
|
-
}, Ai =
|
|
7582
|
+
return /* @__PURE__ */ a(sd, { user: n, onLogout: e, icon: o, components: r?.components });
|
|
7583
|
+
}, Ai = Vt(void 0), gu = () => {
|
|
7584
7584
|
const t = ne(Ai);
|
|
7585
7585
|
if (t === void 0)
|
|
7586
7586
|
throw new Error("useWorkspaceComponentsContext must be used within an WorkspaceComponentsContextProvider");
|
|
7587
7587
|
return t;
|
|
7588
|
-
},
|
|
7589
|
-
const { HeaderLogoArea: t, workspaceLogoProps: e } =
|
|
7590
|
-
return t ? /* @__PURE__ */ a(t, { ...e }) : /* @__PURE__ */ a(
|
|
7591
|
-
}
|
|
7588
|
+
}, yu = () => {
|
|
7589
|
+
const { HeaderLogoArea: t, workspaceLogoProps: e } = gu();
|
|
7590
|
+
return t ? /* @__PURE__ */ a(t, { ...e }) : /* @__PURE__ */ a(vu, { ...e });
|
|
7591
|
+
};
|
|
7592
|
+
function bu(t, e) {
|
|
7593
|
+
const [n, r] = z(!0), o = ne(ie);
|
|
7594
|
+
return te(() => {
|
|
7595
|
+
let i;
|
|
7596
|
+
return (async () => {
|
|
7597
|
+
if (!o.workspaces)
|
|
7598
|
+
return;
|
|
7599
|
+
let s;
|
|
7600
|
+
try {
|
|
7601
|
+
s = await o.workspaces.getWorkspaceById(t);
|
|
7602
|
+
} catch (l) {
|
|
7603
|
+
console.warn(l);
|
|
7604
|
+
return;
|
|
7605
|
+
}
|
|
7606
|
+
const c = s.getAllGroups().find((l) => l.id === e);
|
|
7607
|
+
c && (i = await c.onLockConfigurationChanged(({ showAddWindowButton: l }) => {
|
|
7608
|
+
l !== void 0 && r(l);
|
|
7609
|
+
}), r(!!c.showAddWindowButton));
|
|
7610
|
+
})(), () => i?.();
|
|
7611
|
+
}, [t, e, o.workspaces]), n;
|
|
7612
|
+
}
|
|
7613
|
+
const wu = ({ groupId: t, workspaceId: e }) => {
|
|
7614
|
+
const n = bu(e, t), r = he(
|
|
7615
|
+
(o) => {
|
|
7616
|
+
Fi({
|
|
7617
|
+
bounds: o,
|
|
7618
|
+
groupId: t,
|
|
7619
|
+
workspaceId: e
|
|
7620
|
+
});
|
|
7621
|
+
},
|
|
7622
|
+
[t, e]
|
|
7623
|
+
);
|
|
7624
|
+
return n && /* @__PURE__ */ a(Wi, { title: "Add App", visible: n, showPopup: r });
|
|
7625
|
+
}, Cu = (t) => /* @__PURE__ */ a(Hi, { ...t, addWindow: { visible: !1, showPopup: t.addWindow.showPopup } }), Lr = ({ onLogout: t, user: e, workspaces: n, launchpad: r }) => {
|
|
7592
7626
|
const o = n?.HeaderLogoArea, i = { onLogout: t, user: e, launchpad: r };
|
|
7593
7627
|
return /* @__PURE__ */ a(Ai.Provider, { value: { workspaceLogoProps: i, HeaderLogoArea: o }, children: /* @__PURE__ */ a(
|
|
7594
7628
|
ji,
|
|
@@ -7597,7 +7631,12 @@ const du = ({ className: t, onLogin: e, components: n, userInputName: r }) => {
|
|
|
7597
7631
|
...n?.components,
|
|
7598
7632
|
header: {
|
|
7599
7633
|
...n?.components?.header,
|
|
7600
|
-
LogoComponent:
|
|
7634
|
+
LogoComponent: yu
|
|
7635
|
+
},
|
|
7636
|
+
groupHeader: {
|
|
7637
|
+
AfterTabsComponent: wu,
|
|
7638
|
+
ButtonsComponent: Cu,
|
|
7639
|
+
...n?.components?.groupHeader
|
|
7601
7640
|
}
|
|
7602
7641
|
}
|
|
7603
7642
|
}
|
|
@@ -7611,8 +7650,8 @@ const du = ({ className: t, onLogin: e, components: n, userInputName: r }) => {
|
|
|
7611
7650
|
user: t.browserPlatform?.config?.user ?? { username: e }
|
|
7612
7651
|
}
|
|
7613
7652
|
}
|
|
7614
|
-
}),
|
|
7615
|
-
const { setupFlow: e, ioConnectConfig: n } = t, r = t.login, { permission: o } = ut(), [i, s] = fn("localStorage",
|
|
7653
|
+
}), Ou = ({ config: t }) => {
|
|
7654
|
+
const { setupFlow: e, ioConnectConfig: n } = t, r = t.login, { permission: o } = ut(), [i, s] = fn("localStorage", Qi, mu), [c, l] = z(!1), u = he(
|
|
7616
7655
|
async (p, d) => {
|
|
7617
7656
|
const h = await r.onLogin(p, d);
|
|
7618
7657
|
s(h);
|
|
@@ -7621,85 +7660,85 @@ const du = ({ className: t, onLogin: e, components: n, userInputName: r }) => {
|
|
|
7621
7660
|
), f = he(() => {
|
|
7622
7661
|
l(!0), r.onLogout?.(), s(null);
|
|
7623
7662
|
}, [r, s]);
|
|
7624
|
-
return c ? /* @__PURE__ */ a(
|
|
7625
|
-
},
|
|
7626
|
-
const { setupFlow: e, ioConnectConfig: n } = t, { permission: r } = ut(), o =
|
|
7663
|
+
return c ? /* @__PURE__ */ a(uu, { components: r.components }) : i ? !o.isSetupCompleted && e?.enabled !== !1 ? /* @__PURE__ */ a(Rr, { settings: e?.settings, components: e?.components }) : /* @__PURE__ */ a(ur, { settings: Ri(n, i.id), children: /* @__PURE__ */ a(Lr, { workspaces: t?.workspaces, launchpad: t?.launchpad, onLogout: f, user: i }) }) : /* @__PURE__ */ a(hu, { onLogin: u, components: r.components, userInputName: r.userInputName });
|
|
7664
|
+
}, Eu = ({ config: t }) => {
|
|
7665
|
+
const { setupFlow: e, ioConnectConfig: n } = t, { permission: r } = ut(), o = ru(), i = lt(
|
|
7627
7666
|
() => o.user?.email ? { username: o.user.name, id: o.user.email } : null,
|
|
7628
7667
|
[o.user]
|
|
7629
7668
|
);
|
|
7630
|
-
return i ? !r.isSetupCompleted && e?.enabled !== !1 ? /* @__PURE__ */ a(Rr, { settings: e?.settings, components: e?.components }) : /* @__PURE__ */ a(ur, { settings: Ri(n, i.id), children: /* @__PURE__ */ a(Lr, { workspaces: t.workspaces, launchpad: t.launchpad, onLogout: o.logout, user: i }) }) : /* @__PURE__ */ a(
|
|
7631
|
-
},
|
|
7669
|
+
return i ? !r.isSetupCompleted && e?.enabled !== !1 ? /* @__PURE__ */ a(Rr, { settings: e?.settings, components: e?.components }) : /* @__PURE__ */ a(ur, { settings: Ri(n, i.id), children: /* @__PURE__ */ a(Lr, { workspaces: t.workspaces, launchpad: t.launchpad, onLogout: o.logout, user: i }) }) : /* @__PURE__ */ a(fu, { isLoading: o.isLoading, onLogin: o.loginWithPopup, components: t.login.components });
|
|
7670
|
+
}, xu = ({ config: t }) => {
|
|
7632
7671
|
const { setupFlow: e, ioConnectConfig: n } = t, { permission: r } = ut();
|
|
7633
7672
|
return !r.isSetupCompleted && e?.enabled !== !1 ? /* @__PURE__ */ a(Rr, { settings: e?.settings, components: e?.components }) : /* @__PURE__ */ a(ur, { settings: n, children: /* @__PURE__ */ a(Lr, { workspaces: t.workspaces, launchpad: t.launchpad }) });
|
|
7634
7673
|
}, Li = xe({
|
|
7635
7674
|
Logo: K(we().andThen((t) => $e(t, "Logo"))),
|
|
7636
7675
|
Heading: K(we().andThen((t) => $e(t, "Heading")))
|
|
7637
|
-
}),
|
|
7676
|
+
}), ku = xe({
|
|
7638
7677
|
type: nn("auth0"),
|
|
7639
7678
|
providerOptions: we(),
|
|
7640
7679
|
components: K(Li)
|
|
7641
|
-
}),
|
|
7680
|
+
}), Su = xe({
|
|
7642
7681
|
type: nn("simple"),
|
|
7643
7682
|
onLogin: we().andThen((t) => $e(t, "onLogin")),
|
|
7644
7683
|
onLogout: K(we().andThen((t) => $e(t, "onLogout"))),
|
|
7645
7684
|
userInputName: K(ye),
|
|
7646
7685
|
components: K(Li)
|
|
7647
|
-
}),
|
|
7648
|
-
edgeNotificationsPermissionTimeout: K(
|
|
7649
|
-
}),
|
|
7686
|
+
}), Pu = zn(ku, Su), Tu = xe({
|
|
7687
|
+
edgeNotificationsPermissionTimeout: K(la)
|
|
7688
|
+
}), _u = xe({
|
|
7650
7689
|
Logo: K(we().andThen((t) => $e(t, "Logo")))
|
|
7651
|
-
}),
|
|
7690
|
+
}), Iu = xe({
|
|
7652
7691
|
enabled: K(Fo()),
|
|
7653
|
-
components: K(
|
|
7654
|
-
settings: K(
|
|
7655
|
-
}),
|
|
7692
|
+
components: K(_u),
|
|
7693
|
+
settings: K(Tu)
|
|
7694
|
+
}), Nu = xe({
|
|
7656
7695
|
components: K(we()),
|
|
7657
7696
|
HeaderLogoArea: K(we().andThen((t) => $e(t, "HeaderLogoArea")))
|
|
7658
|
-
}),
|
|
7697
|
+
}), Au = xe({
|
|
7659
7698
|
sections: K(we()),
|
|
7660
7699
|
Sections: K(we().andThen((t) => $e(t, "Sections"))),
|
|
7661
7700
|
NotificationsPanel: K(
|
|
7662
|
-
|
|
7701
|
+
zn(
|
|
7663
7702
|
we().andThen((t) => $e(t, "NotificationsPanel")),
|
|
7664
7703
|
nn(null)
|
|
7665
7704
|
)
|
|
7666
7705
|
),
|
|
7667
7706
|
UserPanel: K(
|
|
7668
|
-
|
|
7707
|
+
zn(
|
|
7669
7708
|
we().andThen((t) => $e(t, "UserPanel")),
|
|
7670
7709
|
nn(null)
|
|
7671
7710
|
)
|
|
7672
7711
|
)
|
|
7673
|
-
}),
|
|
7674
|
-
components: K(
|
|
7675
|
-
}),
|
|
7712
|
+
}), Ru = xe({
|
|
7713
|
+
components: K(Au)
|
|
7714
|
+
}), Lu = xe({
|
|
7676
7715
|
ioConnectConfig: we(),
|
|
7677
|
-
login: K(
|
|
7678
|
-
setupFlow: K(
|
|
7679
|
-
workspaces: K(
|
|
7680
|
-
launchpad: K(
|
|
7681
|
-
}),
|
|
7682
|
-
const e =
|
|
7716
|
+
login: K(Pu),
|
|
7717
|
+
setupFlow: K(Iu),
|
|
7718
|
+
workspaces: K(Nu),
|
|
7719
|
+
launchpad: K(Ru)
|
|
7720
|
+
}), Mu = ({ config: t }) => {
|
|
7721
|
+
const e = Lu.runWithException(t), n = e.login, r = e.launchpad?.components;
|
|
7683
7722
|
if (r?.sections && r?.Sections)
|
|
7684
7723
|
throw new Error("Launchpad sections are overspecified. Please provide either a JSX element or a React component.");
|
|
7685
7724
|
if (n?.type === "simple")
|
|
7686
|
-
return /* @__PURE__ */ a(
|
|
7725
|
+
return /* @__PURE__ */ a(Ou, { config: e });
|
|
7687
7726
|
if (n?.type === "auth0") {
|
|
7688
7727
|
const { providerOptions: o } = n;
|
|
7689
7728
|
return /* @__PURE__ */ a(
|
|
7690
|
-
|
|
7729
|
+
nu,
|
|
7691
7730
|
{
|
|
7692
7731
|
...o,
|
|
7693
7732
|
authorizationParams: {
|
|
7694
7733
|
...o.authorizationParams,
|
|
7695
7734
|
redirect_uri: o.authorizationParams?.redirect_uri ?? window.location.origin
|
|
7696
7735
|
},
|
|
7697
|
-
children: /* @__PURE__ */ a(
|
|
7736
|
+
children: /* @__PURE__ */ a(Eu, { config: e })
|
|
7698
7737
|
}
|
|
7699
7738
|
);
|
|
7700
7739
|
}
|
|
7701
|
-
return /* @__PURE__ */ a(
|
|
7702
|
-
},
|
|
7740
|
+
return /* @__PURE__ */ a(xu, { config: e });
|
|
7741
|
+
}, Du = () => "getScreenDetails" in window, pd = ({ config: t }) => Du() ? /* @__PURE__ */ a(xl, { children: /* @__PURE__ */ a(Mu, { config: t }) }) : /* @__PURE__ */ a(wl, {}), Mi = (t) => t?.split(" ").map((e) => e[0]?.toUpperCase()).join(""), ju = lr((t, e) => {
|
|
7703
7742
|
const { onSearch: n, searchTerm: r, onClear: o } = t, i = ne(ie);
|
|
7704
7743
|
return te(() => {
|
|
7705
7744
|
!i || !i.search || i.search.setDebounceMS(450);
|
|
@@ -7715,7 +7754,7 @@ const du = ({ className: t, onLogin: e, components: n, userInputName: r }) => {
|
|
|
7715
7754
|
}
|
|
7716
7755
|
)
|
|
7717
7756
|
] });
|
|
7718
|
-
}),
|
|
7757
|
+
}), Uu = (t) => t.reduce((e, n) => {
|
|
7719
7758
|
const { type: r } = n, o = n.id || n.displayName;
|
|
7720
7759
|
if (!o || r.name === Be.LAYOUT)
|
|
7721
7760
|
return e;
|
|
@@ -7748,8 +7787,8 @@ const du = ({ className: t, onLogin: e, components: n, userInputName: r }) => {
|
|
|
7748
7787
|
}
|
|
7749
7788
|
];
|
|
7750
7789
|
}, []);
|
|
7751
|
-
function
|
|
7752
|
-
const { resultsToRender: e, isLoading: n } =
|
|
7790
|
+
function Fu(t) {
|
|
7791
|
+
const { resultsToRender: e, isLoading: n } = wa(t.searchTerm), r = Pt(), o = pa(), i = Zo(), s = Bo(), c = Uu(e), l = $o(), u = Go(), f = (d, h) => {
|
|
7753
7792
|
const m = d.type === Be.APPLICATION ? l : d.type === Be.WORKSPACE ? u : null;
|
|
7754
7793
|
m && m(d, h);
|
|
7755
7794
|
}, p = async (d, h) => {
|
|
@@ -7762,7 +7801,7 @@ function Ru(t) {
|
|
|
7762
7801
|
};
|
|
7763
7802
|
return n ? /* @__PURE__ */ a("p", { style: { padding: "12px 24px" }, children: "Loading..." }) : e.length === 0 ? /* @__PURE__ */ a("p", { style: { padding: "12px 24px" }, children: "No results found." }) : /* @__PURE__ */ a("ul", { children: c.map((d, h) => /* @__PURE__ */ a(xr, { config: d, isFavoritismEnabled: !1, onItemClick: p }, d.id || h)) });
|
|
7764
7803
|
}
|
|
7765
|
-
const
|
|
7804
|
+
const Wu = (t, e, n) => {
|
|
7766
7805
|
const { isSectionCollapsible: r, sortOrder: o = Ut.ASCENDING, ...i } = n;
|
|
7767
7806
|
return {
|
|
7768
7807
|
id: "workspaces-section",
|
|
@@ -7781,8 +7820,8 @@ const Lu = (t, e, n) => {
|
|
|
7781
7820
|
isCollapsible: r,
|
|
7782
7821
|
...i
|
|
7783
7822
|
};
|
|
7784
|
-
},
|
|
7785
|
-
const { displayCount: e, isSectionCollapsible: n, showAllItems: r, sortOrder: o } = t, i =
|
|
7823
|
+
}, Hu = (t) => {
|
|
7824
|
+
const { displayCount: e, isSectionCollapsible: n, showAllItems: r, sortOrder: o } = t, i = Ca(), s = Oa(), c = Zo(), l = Go(), u = lt(() => Wu(i, s, {
|
|
7786
7825
|
...{
|
|
7787
7826
|
displayCount: e,
|
|
7788
7827
|
showAllItems: r
|
|
@@ -7790,7 +7829,7 @@ const Lu = (t, e, n) => {
|
|
|
7790
7829
|
isSectionCollapsible: n,
|
|
7791
7830
|
sortOrder: o
|
|
7792
7831
|
}), [i, s, e, n, r, o]);
|
|
7793
|
-
return /* @__PURE__ */ a(
|
|
7832
|
+
return /* @__PURE__ */ a(kr, { config: u, onItemClick: (p) => {
|
|
7794
7833
|
const { item: d, modifier: h, selectedContextMenuActionName: m } = p;
|
|
7795
7834
|
if (!m)
|
|
7796
7835
|
return c(d.id, h).catch((v) => {
|
|
@@ -7798,16 +7837,16 @@ const Lu = (t, e, n) => {
|
|
|
7798
7837
|
});
|
|
7799
7838
|
l(d, m);
|
|
7800
7839
|
} });
|
|
7801
|
-
},
|
|
7802
|
-
/* @__PURE__ */ a(
|
|
7803
|
-
/* @__PURE__ */ a(
|
|
7804
|
-
/* @__PURE__ */ a(
|
|
7805
|
-
] }),
|
|
7840
|
+
}, Vu = () => /* @__PURE__ */ w(Ee, { children: [
|
|
7841
|
+
/* @__PURE__ */ a(Ol, {}),
|
|
7842
|
+
/* @__PURE__ */ a(Hu, {}),
|
|
7843
|
+
/* @__PURE__ */ a(sl, {})
|
|
7844
|
+
] }), zu = {
|
|
7806
7845
|
success: "check"
|
|
7807
7846
|
}, xo = {
|
|
7808
7847
|
SET_AS_DEFAULT: "setAsDefault",
|
|
7809
7848
|
DELETE: "delete"
|
|
7810
|
-
},
|
|
7849
|
+
}, Zu = (t) => [
|
|
7811
7850
|
{
|
|
7812
7851
|
name: xo.SET_AS_DEFAULT,
|
|
7813
7852
|
displayName: "Set as Default",
|
|
@@ -7818,15 +7857,15 @@ const Lu = (t, e, n) => {
|
|
|
7818
7857
|
displayName: "Delete",
|
|
7819
7858
|
disabled: t.name === ii || t.isDefault
|
|
7820
7859
|
}
|
|
7821
|
-
],
|
|
7860
|
+
], ko = (t) => async (e) => {
|
|
7822
7861
|
e.stopPropagation();
|
|
7823
7862
|
try {
|
|
7824
7863
|
await t();
|
|
7825
7864
|
} catch (n) {
|
|
7826
7865
|
console.error("Failed to handle layout action: ", n);
|
|
7827
7866
|
}
|
|
7828
|
-
},
|
|
7829
|
-
const { layouts: e } = t, { setSelectedLayout: n, setDefaultLayout: r } =
|
|
7867
|
+
}, Bu = (t) => {
|
|
7868
|
+
const { layouts: e } = t, { setSelectedLayout: n, setDefaultLayout: r } = Pt(), o = Aa(), i = pr();
|
|
7830
7869
|
return /* @__PURE__ */ w("div", { "data-testid": "available-layouts", children: [
|
|
7831
7870
|
/* @__PURE__ */ a("h6", { children: "Available Layouts" }),
|
|
7832
7871
|
e.map((s) => /* @__PURE__ */ w(
|
|
@@ -7855,7 +7894,7 @@ const Lu = (t, e, n) => {
|
|
|
7855
7894
|
{
|
|
7856
7895
|
iconSize: 16,
|
|
7857
7896
|
iconName: "ellipsis",
|
|
7858
|
-
actions:
|
|
7897
|
+
actions: Zu(s),
|
|
7859
7898
|
onActionItemClick: (c, l) => o(s, l.name, r)
|
|
7860
7899
|
}
|
|
7861
7900
|
)
|
|
@@ -7864,12 +7903,12 @@ const Lu = (t, e, n) => {
|
|
|
7864
7903
|
s.name
|
|
7865
7904
|
))
|
|
7866
7905
|
] });
|
|
7867
|
-
},
|
|
7868
|
-
const { inputValue: e, setNotification: n, className: r = "" } = t, { selectedLayout: o, setSelectedLayout: i } =
|
|
7906
|
+
}, So = (t) => {
|
|
7907
|
+
const { inputValue: e, setNotification: n, className: r = "" } = t, { selectedLayout: o, setSelectedLayout: i } = Pt(), s = pr(), c = ne(ie), l = [
|
|
7869
7908
|
{
|
|
7870
7909
|
label: "Save",
|
|
7871
7910
|
type: "save",
|
|
7872
|
-
onClick:
|
|
7911
|
+
onClick: ko(async () => {
|
|
7873
7912
|
await c.layouts.save({ name: e, type: "Global" }), i({ name: e }), n({ message: "Saved", type: "success" });
|
|
7874
7913
|
}),
|
|
7875
7914
|
testId: "save-button"
|
|
@@ -7877,25 +7916,25 @@ const Lu = (t, e, n) => {
|
|
|
7877
7916
|
{
|
|
7878
7917
|
label: "Restore",
|
|
7879
7918
|
type: "restore",
|
|
7880
|
-
onClick:
|
|
7919
|
+
onClick: ko(() => {
|
|
7881
7920
|
o && s(o.name);
|
|
7882
7921
|
}),
|
|
7883
7922
|
testId: "restore-button"
|
|
7884
7923
|
}
|
|
7885
7924
|
];
|
|
7886
7925
|
return /* @__PURE__ */ a("div", { className: G("layout-actions", r), "data-testid": "layout-actions", children: l.map(({ label: u, type: f, disabled: p, onClick: d, testId: h }) => /* @__PURE__ */ a("button", { onClick: d, disabled: p, className: "io-btn", "data-testid": h, children: u }, f)) });
|
|
7887
|
-
},
|
|
7926
|
+
}, $u = ({ className: t, message: e, type: n }) => /* @__PURE__ */ w(
|
|
7888
7927
|
"div",
|
|
7889
7928
|
{
|
|
7890
7929
|
className: G("layout-notification", `layout-notification-${n}`, t),
|
|
7891
7930
|
"data-testid": "layout-notification",
|
|
7892
7931
|
children: [
|
|
7893
|
-
/* @__PURE__ */ a(ce, { size: 12, name:
|
|
7932
|
+
/* @__PURE__ */ a(ce, { size: 12, name: zu[n] }),
|
|
7894
7933
|
/* @__PURE__ */ a("span", { "data-testid": "layout-notification-message", children: e })
|
|
7895
7934
|
]
|
|
7896
7935
|
}
|
|
7897
|
-
),
|
|
7898
|
-
const t = Le(null), [e, n] =
|
|
7936
|
+
), Gu = () => {
|
|
7937
|
+
const t = Le(null), [e, n] = z(!1), [r, o] = z(null), i = ha(), { defaultLayout: s, selectedLayout: c } = Pt(), [l, u] = z("");
|
|
7899
7938
|
return te(() => {
|
|
7900
7939
|
if (!e)
|
|
7901
7940
|
return;
|
|
@@ -7929,7 +7968,7 @@ const Lu = (t, e, n) => {
|
|
|
7929
7968
|
children: [
|
|
7930
7969
|
/* @__PURE__ */ a("span", { className: G("name", { hidden: e }), "data-testid": "selected-layout-name", children: c?.name || "No selected layout" }),
|
|
7931
7970
|
/* @__PURE__ */ w("div", { className: "flex ai-center", "data-testid": "layout-actions-and-toggle", children: [
|
|
7932
|
-
!e && /* @__PURE__ */ a(
|
|
7971
|
+
!e && /* @__PURE__ */ a(So, { inputValue: l, setNotification: o }),
|
|
7933
7972
|
/* @__PURE__ */ a(
|
|
7934
7973
|
ce,
|
|
7935
7974
|
{
|
|
@@ -7955,10 +7994,10 @@ const Lu = (t, e, n) => {
|
|
|
7955
7994
|
"data-testid": "layout-name-input"
|
|
7956
7995
|
}
|
|
7957
7996
|
),
|
|
7958
|
-
/* @__PURE__ */ a(
|
|
7997
|
+
/* @__PURE__ */ a(So, { className: "group", inputValue: l, setNotification: o })
|
|
7959
7998
|
] }),
|
|
7960
7999
|
/* @__PURE__ */ a(
|
|
7961
|
-
|
|
8000
|
+
Bu,
|
|
7962
8001
|
{
|
|
7963
8002
|
layouts: i.map((p) => ({
|
|
7964
8003
|
...p,
|
|
@@ -7969,7 +8008,7 @@ const Lu = (t, e, n) => {
|
|
|
7969
8008
|
)
|
|
7970
8009
|
] }) }),
|
|
7971
8010
|
r ? /* @__PURE__ */ a(
|
|
7972
|
-
|
|
8011
|
+
$u,
|
|
7973
8012
|
{
|
|
7974
8013
|
className: G({ "ms-8 me-8": e }),
|
|
7975
8014
|
message: r.message,
|
|
@@ -7977,10 +8016,10 @@ const Lu = (t, e, n) => {
|
|
|
7977
8016
|
}
|
|
7978
8017
|
) : /* @__PURE__ */ a("div", { className: "powered-by", children: "Powered by io.Connect Browser" })
|
|
7979
8018
|
] });
|
|
7980
|
-
},
|
|
8019
|
+
}, Ku = (t) => {
|
|
7981
8020
|
const e = new Date(t), n = e.getHours(), r = e.getMinutes().toString().padStart(2, "0"), o = e.getSeconds().toString().padStart(2, "0"), i = n >= 12 ? "PM" : "AM", s = e.getMonth() + 1, c = e.getDate(), l = e.getFullYear();
|
|
7982
8021
|
return `${n % 12}:${r}:${o} ${i} ${s}/${c}/${l}`;
|
|
7983
|
-
},
|
|
8022
|
+
}, qu = (t) => {
|
|
7984
8023
|
const { severity: e = "None", id: n, timestamp: r, title: o, body: i, actions: s } = t.notificationData, c = ne(ie), l = () => {
|
|
7985
8024
|
c && c.notifications.clear(n).catch(console.error);
|
|
7986
8025
|
}, u = async (p) => {
|
|
@@ -8005,7 +8044,7 @@ const Lu = (t, e, n) => {
|
|
|
8005
8044
|
"div",
|
|
8006
8045
|
{
|
|
8007
8046
|
className: "notifications-list-item",
|
|
8008
|
-
style: { borderLeftColor:
|
|
8047
|
+
style: { borderLeftColor: ma[e] },
|
|
8009
8048
|
onClick: u,
|
|
8010
8049
|
"data-testid": "notification-container",
|
|
8011
8050
|
children: [
|
|
@@ -8025,22 +8064,22 @@ const Lu = (t, e, n) => {
|
|
|
8025
8064
|
)
|
|
8026
8065
|
] }),
|
|
8027
8066
|
i && /* @__PURE__ */ a("p", { "data-testid": "notification-body", children: i }),
|
|
8028
|
-
r && /* @__PURE__ */ a("p", { "data-testid": "notification-timestamp", children:
|
|
8029
|
-
f && /* @__PURE__ */ a(
|
|
8067
|
+
r && /* @__PURE__ */ a("p", { "data-testid": "notification-timestamp", children: Ku(r) }),
|
|
8068
|
+
f && /* @__PURE__ */ a(Sr, { className: "notification-actions", "data-testid": "notification-actions", items: f })
|
|
8030
8069
|
]
|
|
8031
8070
|
}
|
|
8032
8071
|
);
|
|
8033
8072
|
}, Di = (t) => {
|
|
8034
|
-
const { className: e } = t, n =
|
|
8073
|
+
const { className: e } = t, n = Vo().length;
|
|
8035
8074
|
return n > 0 ? /* @__PURE__ */ a("span", { className: G("notifications-badge", e), "data-testid": "notifications-badge", children: n < 10 ? n : "9+" }) : null;
|
|
8036
|
-
},
|
|
8075
|
+
}, Yu = (t) => {
|
|
8037
8076
|
const { className: e, iconSize: n = 24, ...r } = t;
|
|
8038
8077
|
return /* @__PURE__ */ w("div", { className: G(e, "notifications-icon"), "data-testid": "notifications-icon", ...r, children: [
|
|
8039
8078
|
/* @__PURE__ */ a(ce, { size: n, name: "bell" }),
|
|
8040
8079
|
/* @__PURE__ */ a(Di, {})
|
|
8041
8080
|
] });
|
|
8042
|
-
},
|
|
8043
|
-
const { onNotificationsSort: t, sortedNotifications: e } =
|
|
8081
|
+
}, Xu = () => {
|
|
8082
|
+
const { onNotificationsSort: t, sortedNotifications: e } = ba(), n = ne(ie), r = he(() => {
|
|
8044
8083
|
n && n.notifications.clearAll().catch(console.error);
|
|
8045
8084
|
}, [n]);
|
|
8046
8085
|
return /* @__PURE__ */ w("div", { className: "notifications-panel", "data-testid": "notifications-panel", children: [
|
|
@@ -8051,7 +8090,7 @@ const Lu = (t, e, n) => {
|
|
|
8051
8090
|
")"
|
|
8052
8091
|
] }) }),
|
|
8053
8092
|
/* @__PURE__ */ a(
|
|
8054
|
-
|
|
8093
|
+
Sr,
|
|
8055
8094
|
{
|
|
8056
8095
|
items: [
|
|
8057
8096
|
{
|
|
@@ -8066,10 +8105,10 @@ const Lu = (t, e, n) => {
|
|
|
8066
8105
|
}
|
|
8067
8106
|
)
|
|
8068
8107
|
] }),
|
|
8069
|
-
e.length ? /* @__PURE__ */ a("div", { className: "notifications-list", "data-testid": "notifications-list", children: e.map((o) => /* @__PURE__ */ a(
|
|
8108
|
+
e.length ? /* @__PURE__ */ a("div", { className: "notifications-list", "data-testid": "notifications-list", children: e.map((o) => /* @__PURE__ */ a(qu, { notificationData: o }, o.id)) }) : /* @__PURE__ */ a("div", { className: "no-notifications", children: "No notifications" }),
|
|
8070
8109
|
/* @__PURE__ */ a("div", { className: "footer", "data-testid": "notifications-panel-footer", children: /* @__PURE__ */ a(bn, { children: "Clear All", onClick: r }) })
|
|
8071
8110
|
] });
|
|
8072
|
-
},
|
|
8111
|
+
}, Ju = ({ user: t }) => {
|
|
8073
8112
|
const e = ne(ie), n = t?.username || "N A";
|
|
8074
8113
|
return /* @__PURE__ */ w("div", { className: "flex info info-top", children: [
|
|
8075
8114
|
/* @__PURE__ */ w("div", { children: [
|
|
@@ -8082,8 +8121,8 @@ const Lu = (t, e, n) => {
|
|
|
8082
8121
|
] }),
|
|
8083
8122
|
/* @__PURE__ */ a("div", { className: "flex badge", children: Mi(n) })
|
|
8084
8123
|
] });
|
|
8085
|
-
},
|
|
8086
|
-
const t = ne(ie), [e, n] =
|
|
8124
|
+
}, Qu = () => {
|
|
8125
|
+
const t = ne(ie), [e, n] = z([]);
|
|
8087
8126
|
return te(() => {
|
|
8088
8127
|
t && t.themes?.list().then((o) => n(o)).catch(console.warn);
|
|
8089
8128
|
}, [t]), /* @__PURE__ */ w("div", { className: "info info-middle", children: [
|
|
@@ -8091,7 +8130,7 @@ const Lu = (t, e, n) => {
|
|
|
8091
8130
|
/* @__PURE__ */ w("div", { className: "flex ai-center", children: [
|
|
8092
8131
|
/* @__PURE__ */ a("label", { style: { textAlign: "right", width: "40%" }, children: "Theme" }),
|
|
8093
8132
|
/* @__PURE__ */ a("div", { style: { width: "60%", marginLeft: "auto" }, children: /* @__PURE__ */ a(
|
|
8094
|
-
|
|
8133
|
+
Sr,
|
|
8095
8134
|
{
|
|
8096
8135
|
onItemClick: async (o, i) => {
|
|
8097
8136
|
i.name && t.themes?.select(i.name).catch(console.warn);
|
|
@@ -8104,7 +8143,7 @@ const Lu = (t, e, n) => {
|
|
|
8104
8143
|
) })
|
|
8105
8144
|
] })
|
|
8106
8145
|
] });
|
|
8107
|
-
},
|
|
8146
|
+
}, ed = ({ title: t, description: e, links: n = [], onLogout: r, user: o }) => {
|
|
8108
8147
|
const [i, s] = fn("sessionStorage", Uo, oi), c = ne(ie), l = async () => {
|
|
8109
8148
|
try {
|
|
8110
8149
|
r?.();
|
|
@@ -8119,14 +8158,14 @@ const Lu = (t, e, n) => {
|
|
|
8119
8158
|
/* @__PURE__ */ a("ul", { children: n.map(({ children: u, ...f }) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a("a", { ...f, children: u }) }, f.href)) }),
|
|
8120
8159
|
o?.id && /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(bn, { onClick: l, children: "Log Out" }) })
|
|
8121
8160
|
] });
|
|
8122
|
-
},
|
|
8123
|
-
/* @__PURE__ */ a(
|
|
8124
|
-
/* @__PURE__ */ a(
|
|
8125
|
-
/* @__PURE__ */ a(
|
|
8126
|
-
] }),
|
|
8161
|
+
}, td = ({ onLogout: t, user: e }) => /* @__PURE__ */ w(Ee, { children: [
|
|
8162
|
+
/* @__PURE__ */ a(Ju, { user: e }),
|
|
8163
|
+
/* @__PURE__ */ a(Qu, {}),
|
|
8164
|
+
/* @__PURE__ */ a(ed, { onLogout: t, user: e })
|
|
8165
|
+
] }), nd = (t) => {
|
|
8127
8166
|
const { initials: e, className: n, ...r } = t;
|
|
8128
8167
|
return /* @__PURE__ */ a("div", { className: G(n, "user-panel-icon"), ...r, children: e });
|
|
8129
|
-
},
|
|
8168
|
+
}, Po = ({ children: t, closeFn: e, open: n = !1, showCloseButton: r = !0 }) => {
|
|
8130
8169
|
const o = Le(null);
|
|
8131
8170
|
return te(() => {
|
|
8132
8171
|
n ? o.current?.showModal() : o.current?.close();
|
|
@@ -8147,8 +8186,8 @@ const Lu = (t, e, n) => {
|
|
|
8147
8186
|
}
|
|
8148
8187
|
);
|
|
8149
8188
|
};
|
|
8150
|
-
function
|
|
8151
|
-
const { open: e, setOpen: n, onLogout: r, className: o, components: i = {}, user: s, ...c } = t, [l, u] =
|
|
8189
|
+
function rd(t) {
|
|
8190
|
+
const { open: e, setOpen: n, onLogout: r, className: o, components: i = {}, user: s, ...c } = t, [l, u] = z(""), [f, p] = z(!1), [d, h] = z(!1), m = Le(null), v = i?.NotificationsPanel !== null, g = i?.UserPanel !== null, b = i?.NotificationsPanel ?? Xu, x = i?.UserPanel ?? td;
|
|
8152
8191
|
te(() => {
|
|
8153
8192
|
if (e) {
|
|
8154
8193
|
m.current?.focus();
|
|
@@ -8160,14 +8199,14 @@ function Xu(t) {
|
|
|
8160
8199
|
u(I.target.value);
|
|
8161
8200
|
}, O = () => {
|
|
8162
8201
|
u("");
|
|
8163
|
-
}, y = i.Sections ? /* @__PURE__ */ a(i.Sections, {}) : i.sections,
|
|
8164
|
-
return /* @__PURE__ */ w(
|
|
8202
|
+
}, y = i.Sections ? /* @__PURE__ */ a(i.Sections, {}) : i.sections, P = /* @__PURE__ */ a(al, { children: /* @__PURE__ */ a("ul", { children: y ?? /* @__PURE__ */ a(Vu, {}) }) });
|
|
8203
|
+
return /* @__PURE__ */ w(tc, { setOpen: n, isOpen: e, children: [
|
|
8165
8204
|
/* @__PURE__ */ w("div", { className: G(o), ...c, children: [
|
|
8166
8205
|
/* @__PURE__ */ w("header", { children: [
|
|
8167
|
-
/* @__PURE__ */ a(
|
|
8206
|
+
/* @__PURE__ */ a(ju, { ref: m, searchTerm: l, onSearch: E, onClear: O }),
|
|
8168
8207
|
/* @__PURE__ */ w("div", { className: "action-area", children: [
|
|
8169
8208
|
v && /* @__PURE__ */ a(
|
|
8170
|
-
|
|
8209
|
+
Yu,
|
|
8171
8210
|
{
|
|
8172
8211
|
"aria-label": "Notifications",
|
|
8173
8212
|
role: "button",
|
|
@@ -8175,7 +8214,7 @@ function Xu(t) {
|
|
|
8175
8214
|
}
|
|
8176
8215
|
),
|
|
8177
8216
|
g && /* @__PURE__ */ a(
|
|
8178
|
-
|
|
8217
|
+
nd,
|
|
8179
8218
|
{
|
|
8180
8219
|
initials: Mi(s?.username || "N A"),
|
|
8181
8220
|
"aria-label": "Profile and Settings",
|
|
@@ -8186,22 +8225,22 @@ function Xu(t) {
|
|
|
8186
8225
|
] }),
|
|
8187
8226
|
/* @__PURE__ */ a(ce, { className: "btn-close io-btn io-btn-icon", size: 16, name: "close", handleClick: () => n(!1) })
|
|
8188
8227
|
] }),
|
|
8189
|
-
/* @__PURE__ */ a("main", { children: l.trim().length < 3 ?
|
|
8190
|
-
/* @__PURE__ */ a(
|
|
8228
|
+
/* @__PURE__ */ a("main", { children: l.trim().length < 3 ? P : /* @__PURE__ */ a(Fu, { searchTerm: l }) }),
|
|
8229
|
+
/* @__PURE__ */ a(Gu, {})
|
|
8191
8230
|
] }),
|
|
8192
|
-
v && /* @__PURE__ */ a(
|
|
8193
|
-
g && /* @__PURE__ */ a(
|
|
8231
|
+
v && /* @__PURE__ */ a(Po, { open: f, closeFn: () => p(!1), children: /* @__PURE__ */ a(b, {}) }),
|
|
8232
|
+
g && /* @__PURE__ */ a(Po, { open: d, closeFn: () => h(!1), children: /* @__PURE__ */ a(x, { onLogout: r, user: s }) })
|
|
8194
8233
|
] });
|
|
8195
8234
|
}
|
|
8196
|
-
const
|
|
8197
|
-
/* @__PURE__ */ a(
|
|
8235
|
+
const od = () => /* @__PURE__ */ w(Ee, { children: [
|
|
8236
|
+
/* @__PURE__ */ a(Vi, { frameId: "" }),
|
|
8198
8237
|
/* @__PURE__ */ a(Di, {})
|
|
8199
|
-
] }),
|
|
8200
|
-
workspaceLogo:
|
|
8238
|
+
] }), id = "_workspaceLogo_t3m7s_1", To = {
|
|
8239
|
+
workspaceLogo: id,
|
|
8201
8240
|
"launchpad-popup": "_launchpad-popup_t3m7s_9",
|
|
8202
8241
|
"slide-in": "_slide-in_t3m7s_32"
|
|
8203
|
-
},
|
|
8204
|
-
const [e, n] =
|
|
8242
|
+
}, ad = (t) => {
|
|
8243
|
+
const [e, n] = z(!1), r = Le(null), o = Le(null), { icon: i, children: s } = t;
|
|
8205
8244
|
return te(() => {
|
|
8206
8245
|
if (!e)
|
|
8207
8246
|
return;
|
|
@@ -8228,56 +8267,56 @@ const Ju = () => /* @__PURE__ */ w(Ee, { children: [
|
|
|
8228
8267
|
/* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
|
|
8229
8268
|
"div",
|
|
8230
8269
|
{
|
|
8231
|
-
className: G(
|
|
8232
|
-
[
|
|
8270
|
+
className: G(To["launchpad-popup"], {
|
|
8271
|
+
[To["slide-in"]]: e
|
|
8233
8272
|
}),
|
|
8234
8273
|
children: s({ open: e, setOpen: n })
|
|
8235
8274
|
}
|
|
8236
8275
|
) })
|
|
8237
8276
|
] });
|
|
8238
|
-
},
|
|
8277
|
+
}, sd = (t) => {
|
|
8239
8278
|
const { icon: e, components: n, user: r, onLogout: o } = t;
|
|
8240
|
-
return /* @__PURE__ */ a(
|
|
8279
|
+
return /* @__PURE__ */ a(ad, { icon: e ?? /* @__PURE__ */ a(od, {}), children: ({ open: i, setOpen: s }) => /* @__PURE__ */ a(rd, { open: i, setOpen: s, components: n, user: r, onLogout: o }) });
|
|
8241
8280
|
};
|
|
8242
8281
|
export {
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8282
|
+
sl as ApplicationsSection,
|
|
8283
|
+
du as Auth0LoginForm,
|
|
8284
|
+
fu as Auth0LoginPage,
|
|
8246
8285
|
xr as BaseSection,
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8286
|
+
qi as BaseSectionHeader,
|
|
8287
|
+
Js as BaseSectionItem,
|
|
8288
|
+
wl as BrowserNotSupported,
|
|
8250
8289
|
bn as Button,
|
|
8251
|
-
|
|
8252
|
-
|
|
8290
|
+
Sr as ButtonGroup,
|
|
8291
|
+
Xs as ContextMenu,
|
|
8253
8292
|
ri as DropdownButton,
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
|
|
8293
|
+
Ol as FavoritesSection,
|
|
8294
|
+
pd as IOConnectHome,
|
|
8295
|
+
xl as IOConnectHomeProvider,
|
|
8257
8296
|
ce as Icon,
|
|
8258
8297
|
jo as ImgIcon,
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8298
|
+
rd as Launchpad,
|
|
8299
|
+
sd as LaunchpadSlidePanel,
|
|
8300
|
+
Gu as LayoutsPanel,
|
|
8301
|
+
od as Logo,
|
|
8302
|
+
uu as LogoutPage,
|
|
8303
|
+
qu as Notification,
|
|
8265
8304
|
Di as NotificationsBadge,
|
|
8266
|
-
|
|
8267
|
-
|
|
8305
|
+
Yu as NotificationsIcon,
|
|
8306
|
+
Xu as NotificationsPanel,
|
|
8268
8307
|
Rr as PermissionsSetup,
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8308
|
+
ju as SearchBar,
|
|
8309
|
+
Fu as SearchResults,
|
|
8310
|
+
kr as Section,
|
|
8311
|
+
Qu as SettingsCard,
|
|
8312
|
+
hu as SimpleLoginPage,
|
|
8313
|
+
ad as SlidePanel,
|
|
8314
|
+
ed as SupportCard,
|
|
8315
|
+
td as UserPanel,
|
|
8316
|
+
nd as UserPanelIcon,
|
|
8317
|
+
Hu as WorkspacesSection,
|
|
8279
8318
|
fr as useFavoriteEntities,
|
|
8280
8319
|
ut as useIOConnectHome,
|
|
8281
|
-
|
|
8320
|
+
Du as useIsBrowserSupported
|
|
8282
8321
|
};
|
|
8283
8322
|
//# sourceMappingURL=index.mjs.map
|