@ukpc-lib/react 0.10.27 → 0.10.29-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Notification/models/NotiticationDto.d.ts +3 -1
- package/dist/components/index.cjs +19 -19
- package/dist/components/index.js +2409 -2381
- package/dist/{index.esm2017-be698995.js → index.esm2017-3eee8145.js} +201 -202
- package/dist/{index.esm2017-e569f500.cjs → index.esm2017-f3d75692.cjs} +6 -6
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +8 -8
- package/package.json +1 -1
- package/web-components-bundle/favorite-menu/index.js +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-7c8fbf6b.js → index-5ff41ddb.js} +13120 -13090
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
2
|
import { jsxs as Di, Fragment as Jd, jsx as Qe } from "react/jsx-runtime";
|
|
3
3
|
import * as On from "react";
|
|
4
|
-
import pt, { createContext as gr, useState as ln, useContext as nn,
|
|
4
|
+
import pt, { createContext as gr, useState as ln, useContext as nn, useMemo as qn, useEffect as Dt, useRef as hn, createElement as Qd, useSyncExternalStore as VI, useLayoutEffect as Ks, isValidElement as Fc, cloneElement as Ad, useCallback as ty, forwardRef as Bp, memo as HI, useImperativeHandle as UI, useInsertionEffect as WI, useId as zI, PureComponent as YI } from "react";
|
|
5
5
|
import GI from "axios";
|
|
6
6
|
import qI from "moment";
|
|
7
7
|
import { createTheme as XI, ThemeProvider as KI, Grid as ZI, CircularProgress as JI, Tooltip as Md, styled as QI, Switch as eA } from "@mui/material";
|
|
@@ -2851,23 +2851,91 @@ const Y1 = gr({}), EY = () => nn(Y1), kY = (e) => {
|
|
|
2851
2851
|
var o;
|
|
2852
2852
|
const { children: t, brandTheme: n } = e, r = eM(n), i = ((o = e.customTheme) == null ? void 0 : o.call(e, r.colors)) || r.theme;
|
|
2853
2853
|
return /* @__PURE__ */ Qe(Y1.Provider, { value: r, children: /* @__PURE__ */ Qe(KI, { theme: i, children: t }) });
|
|
2854
|
-
}, tM =
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2854
|
+
}, tM = (e) => {
|
|
2855
|
+
const t = M1(), n = qn(
|
|
2856
|
+
() => e.axiosInstance || Ys,
|
|
2857
|
+
[e.axiosInstance]
|
|
2858
|
+
);
|
|
2859
|
+
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
2860
|
+
const r = ny({
|
|
2861
|
+
queryKey: ["user"],
|
|
2862
|
+
refetchOnWindowFocus: !1,
|
|
2863
|
+
retry: !1,
|
|
2864
|
+
queryFn: () => n.get(e.baseUrl + "/user-management/api/v1/users/my-account").then((i) => (window.user = i.data, i.data))
|
|
2865
|
+
});
|
|
2866
|
+
return Dt(() => {
|
|
2867
|
+
window.onpageshow = function(i) {
|
|
2868
|
+
i.persisted && t.invalidateQueries(["user"]);
|
|
2869
|
+
};
|
|
2870
|
+
}, [t]), r;
|
|
2871
|
+
}, nM = (e) => {
|
|
2872
|
+
const t = M1(), n = qn(
|
|
2873
|
+
() => e.axiosInstance || Ys,
|
|
2874
|
+
[e.axiosInstance]
|
|
2875
|
+
);
|
|
2876
|
+
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
2877
|
+
const r = ny({
|
|
2878
|
+
queryKey: ["user-permissions"],
|
|
2879
|
+
refetchOnWindowFocus: !1,
|
|
2880
|
+
retry: !1,
|
|
2881
|
+
queryFn: () => n.get(
|
|
2882
|
+
e.baseUrl + "/user-management/api/v1/users/my-account/permissions"
|
|
2883
|
+
).then((i) => i.data)
|
|
2884
|
+
});
|
|
2885
|
+
return Dt(() => {
|
|
2886
|
+
window.onpageshow = function(i) {
|
|
2887
|
+
i.persisted && t.invalidateQueries(["user-permissions"]);
|
|
2888
|
+
};
|
|
2889
|
+
}, [t]), r;
|
|
2890
|
+
}, G1 = gr({}), OY = (e) => {
|
|
2891
|
+
const { children: t, baseUrl: n, axiosInstance: r } = e, i = new URL(n).origin, o = tM({ axiosInstance: r, baseUrl: n }), s = nM({
|
|
2892
|
+
axiosInstance: r,
|
|
2893
|
+
baseUrl: n
|
|
2894
|
+
});
|
|
2895
|
+
function l() {
|
|
2896
|
+
window.location.href = `${i}/authentication/login`;
|
|
2897
|
+
}
|
|
2898
|
+
function c() {
|
|
2899
|
+
window.location.href = `${i}/authentication/logout`;
|
|
2900
|
+
}
|
|
2901
|
+
return o != null && o.isFetching ? /* @__PURE__ */ Qe(
|
|
2902
|
+
ZI,
|
|
2903
|
+
{
|
|
2904
|
+
container: !0,
|
|
2905
|
+
justifyContent: "center",
|
|
2906
|
+
alignItems: "center",
|
|
2907
|
+
sx: { minHeight: "100vh" },
|
|
2908
|
+
children: /* @__PURE__ */ Qe(JI, {})
|
|
2909
|
+
}
|
|
2910
|
+
) : /* @__PURE__ */ Qe(
|
|
2911
|
+
G1.Provider,
|
|
2912
|
+
{
|
|
2913
|
+
value: {
|
|
2914
|
+
user: o == null ? void 0 : o.data,
|
|
2915
|
+
login: l,
|
|
2916
|
+
logout: c,
|
|
2917
|
+
isFetching: o.isFetching,
|
|
2918
|
+
permissions: s == null ? void 0 : s.data
|
|
2919
|
+
},
|
|
2920
|
+
children: t
|
|
2921
|
+
}
|
|
2922
|
+
);
|
|
2923
|
+
}, _Y = () => nn(G1);
|
|
2924
|
+
function DY(e, t, n) {
|
|
2925
|
+
return n.some((r) => {
|
|
2926
|
+
const i = e[r];
|
|
2927
|
+
return String(i).toLowerCase().includes(t.toLowerCase());
|
|
2928
|
+
});
|
|
2861
2929
|
}
|
|
2862
|
-
var q1 = [],
|
|
2863
|
-
function
|
|
2864
|
-
return
|
|
2930
|
+
var q1 = [], rM = q1.forEach, iM = q1.slice;
|
|
2931
|
+
function oM(e) {
|
|
2932
|
+
return rM.call(iM.call(arguments, 1), function(t) {
|
|
2865
2933
|
if (t)
|
|
2866
2934
|
for (var n in t)
|
|
2867
2935
|
e[n] === void 0 && (e[n] = t[n]);
|
|
2868
2936
|
}), e;
|
|
2869
2937
|
}
|
|
2870
|
-
var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
2938
|
+
var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aM = function(t, n, r) {
|
|
2871
2939
|
var i = r || {};
|
|
2872
2940
|
i.path = i.path || "/";
|
|
2873
2941
|
var o = encodeURIComponent(n), s = "".concat(t, "=").concat(o);
|
|
@@ -2918,7 +2986,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2918
2986
|
path: "/",
|
|
2919
2987
|
sameSite: "strict"
|
|
2920
2988
|
};
|
|
2921
|
-
r && (o.expires = /* @__PURE__ */ new Date(), o.expires.setTime(o.expires.getTime() + r * 60 * 1e3)), i && (o.domain = i), document.cookie =
|
|
2989
|
+
r && (o.expires = /* @__PURE__ */ new Date(), o.expires.setTime(o.expires.getTime() + r * 60 * 1e3)), i && (o.domain = i), document.cookie = aM(t, encodeURIComponent(n), o);
|
|
2922
2990
|
},
|
|
2923
2991
|
read: function(t) {
|
|
2924
2992
|
for (var n = "".concat(t, "="), r = document.cookie.split(";"), i = 0; i < r.length; i++) {
|
|
@@ -2932,7 +3000,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2932
3000
|
remove: function(t) {
|
|
2933
3001
|
this.create(t, "", -1);
|
|
2934
3002
|
}
|
|
2935
|
-
},
|
|
3003
|
+
}, sM = {
|
|
2936
3004
|
name: "cookie",
|
|
2937
3005
|
lookup: function(t) {
|
|
2938
3006
|
var n;
|
|
@@ -2945,7 +3013,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2945
3013
|
cacheUserLanguage: function(t, n) {
|
|
2946
3014
|
n.lookupCookie && typeof document < "u" && Ib.create(n.lookupCookie, t, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
|
|
2947
3015
|
}
|
|
2948
|
-
},
|
|
3016
|
+
}, lM = {
|
|
2949
3017
|
name: "querystring",
|
|
2950
3018
|
lookup: function(t) {
|
|
2951
3019
|
var n;
|
|
@@ -2973,7 +3041,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2973
3041
|
sd = !1;
|
|
2974
3042
|
}
|
|
2975
3043
|
return sd;
|
|
2976
|
-
},
|
|
3044
|
+
}, uM = {
|
|
2977
3045
|
name: "localStorage",
|
|
2978
3046
|
lookup: function(t) {
|
|
2979
3047
|
var n;
|
|
@@ -2997,7 +3065,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2997
3065
|
ld = !1;
|
|
2998
3066
|
}
|
|
2999
3067
|
return ld;
|
|
3000
|
-
},
|
|
3068
|
+
}, cM = {
|
|
3001
3069
|
name: "sessionStorage",
|
|
3002
3070
|
lookup: function(t) {
|
|
3003
3071
|
var n;
|
|
@@ -3010,7 +3078,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
3010
3078
|
cacheUserLanguage: function(t, n) {
|
|
3011
3079
|
n.lookupSessionStorage && Mb() && window.sessionStorage.setItem(n.lookupSessionStorage, t);
|
|
3012
3080
|
}
|
|
3013
|
-
},
|
|
3081
|
+
}, fM = {
|
|
3014
3082
|
name: "navigator",
|
|
3015
3083
|
lookup: function(t) {
|
|
3016
3084
|
var n = [];
|
|
@@ -3022,13 +3090,13 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
3022
3090
|
}
|
|
3023
3091
|
return n.length > 0 ? n : void 0;
|
|
3024
3092
|
}
|
|
3025
|
-
},
|
|
3093
|
+
}, dM = {
|
|
3026
3094
|
name: "htmlTag",
|
|
3027
3095
|
lookup: function(t) {
|
|
3028
3096
|
var n, r = t.htmlTag || (typeof document < "u" ? document.documentElement : null);
|
|
3029
3097
|
return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
|
|
3030
3098
|
}
|
|
3031
|
-
},
|
|
3099
|
+
}, hM = {
|
|
3032
3100
|
name: "path",
|
|
3033
3101
|
lookup: function(t) {
|
|
3034
3102
|
var n;
|
|
@@ -3044,7 +3112,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
3044
3112
|
}
|
|
3045
3113
|
return n;
|
|
3046
3114
|
}
|
|
3047
|
-
},
|
|
3115
|
+
}, pM = {
|
|
3048
3116
|
name: "subdomain",
|
|
3049
3117
|
lookup: function(t) {
|
|
3050
3118
|
var n = typeof t.lookupFromSubdomainIndex == "number" ? t.lookupFromSubdomainIndex + 1 : 1, r = typeof window < "u" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
|
|
@@ -3058,7 +3126,7 @@ try {
|
|
|
3058
3126
|
}
|
|
3059
3127
|
var K1 = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
3060
3128
|
X1 || K1.splice(1, 1);
|
|
3061
|
-
function
|
|
3129
|
+
function gM() {
|
|
3062
3130
|
return {
|
|
3063
3131
|
order: K1,
|
|
3064
3132
|
lookupQuerystring: "lng",
|
|
@@ -3086,9 +3154,9 @@ var Z1 = /* @__PURE__ */ function() {
|
|
|
3086
3154
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3087
3155
|
this.services = n || {
|
|
3088
3156
|
languageUtils: {}
|
|
3089
|
-
}, this.options =
|
|
3157
|
+
}, this.options = oM(r, this.options || {}, gM()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(o) {
|
|
3090
3158
|
return o.replace("-", "_");
|
|
3091
|
-
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = i, this.addDetector(
|
|
3159
|
+
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = i, this.addDetector(sM), this.addDetector(lM), this.addDetector(uM), this.addDetector(cM), this.addDetector(fM), this.addDetector(dM), this.addDetector(hM), this.addDetector(pM);
|
|
3092
3160
|
}
|
|
3093
3161
|
}, {
|
|
3094
3162
|
key: "addDetector",
|
|
@@ -3133,7 +3201,7 @@ function J1(e, t) {
|
|
|
3133
3201
|
}
|
|
3134
3202
|
return n;
|
|
3135
3203
|
}
|
|
3136
|
-
const
|
|
3204
|
+
const PY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3137
3205
|
__proto__: null,
|
|
3138
3206
|
default: J1
|
|
3139
3207
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -3141,7 +3209,7 @@ var zi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3141
3209
|
function Vu(e) {
|
|
3142
3210
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3143
3211
|
}
|
|
3144
|
-
function
|
|
3212
|
+
function RY(e) {
|
|
3145
3213
|
if (e.__esModule)
|
|
3146
3214
|
return e;
|
|
3147
3215
|
var t = e.default;
|
|
@@ -3162,7 +3230,7 @@ function _Y(e) {
|
|
|
3162
3230
|
});
|
|
3163
3231
|
}), n;
|
|
3164
3232
|
}
|
|
3165
|
-
function
|
|
3233
|
+
function vM() {
|
|
3166
3234
|
if (console && console.warn) {
|
|
3167
3235
|
for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
3168
3236
|
n[r] = arguments[r];
|
|
@@ -3173,7 +3241,7 @@ var Lb = {};
|
|
|
3173
3241
|
function Zv() {
|
|
3174
3242
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
3175
3243
|
t[n] = arguments[n];
|
|
3176
|
-
typeof t[0] == "string" && Lb[t[0]] || (typeof t[0] == "string" && (Lb[t[0]] = /* @__PURE__ */ new Date()),
|
|
3244
|
+
typeof t[0] == "string" && Lb[t[0]] || (typeof t[0] == "string" && (Lb[t[0]] = /* @__PURE__ */ new Date()), vM.apply(void 0, t));
|
|
3177
3245
|
}
|
|
3178
3246
|
var Q1 = function(t, n) {
|
|
3179
3247
|
return function() {
|
|
@@ -3197,7 +3265,7 @@ function Nb(e, t, n, r) {
|
|
|
3197
3265
|
e.options.ns.indexOf(i) < 0 && e.options.ns.push(i);
|
|
3198
3266
|
}), e.loadLanguages(t, Q1(e, r));
|
|
3199
3267
|
}
|
|
3200
|
-
function
|
|
3268
|
+
function mM(e, t) {
|
|
3201
3269
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = t.languages[0], i = t.options ? t.options.fallbackLng : !1, o = t.languages[t.languages.length - 1];
|
|
3202
3270
|
if (r.toLowerCase() === "cimode")
|
|
3203
3271
|
return !0;
|
|
@@ -3207,7 +3275,7 @@ function vM(e, t) {
|
|
|
3207
3275
|
};
|
|
3208
3276
|
return n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !s(t.isLanguageChangingTo, e) ? !1 : !!(t.hasResourceBundle(r, e) || !t.services.backendConnector.backend || t.options.resources && !t.options.partialBundledLanguages || s(r, e) && (!i || s(o, e)));
|
|
3209
3277
|
}
|
|
3210
|
-
function
|
|
3278
|
+
function yM(e, t) {
|
|
3211
3279
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3212
3280
|
if (!t.languages || !t.languages.length)
|
|
3213
3281
|
return Zv("i18n.languages were undefined or empty", t.languages), !0;
|
|
@@ -3218,9 +3286,9 @@ function mM(e, t) {
|
|
|
3218
3286
|
if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !s(o.isLanguageChangingTo, e))
|
|
3219
3287
|
return !1;
|
|
3220
3288
|
}
|
|
3221
|
-
}) :
|
|
3289
|
+
}) : mM(e, t, n);
|
|
3222
3290
|
}
|
|
3223
|
-
var
|
|
3291
|
+
var bM = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, wM = {
|
|
3224
3292
|
"&": "&",
|
|
3225
3293
|
"&": "&",
|
|
3226
3294
|
"<": "<",
|
|
@@ -3241,10 +3309,10 @@ var yM = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
3241
3309
|
"…": "…",
|
|
3242
3310
|
"/": "/",
|
|
3243
3311
|
"/": "/"
|
|
3244
|
-
}, wM = function(t) {
|
|
3245
|
-
return bM[t];
|
|
3246
3312
|
}, SM = function(t) {
|
|
3247
|
-
return t
|
|
3313
|
+
return wM[t];
|
|
3314
|
+
}, xM = function(t) {
|
|
3315
|
+
return t.replace(bM, SM);
|
|
3248
3316
|
};
|
|
3249
3317
|
function Bb(e, t) {
|
|
3250
3318
|
var n = Object.keys(e);
|
|
@@ -3275,28 +3343,28 @@ var Jv = {
|
|
|
3275
3343
|
transWrapTextNodes: "",
|
|
3276
3344
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
3277
3345
|
useSuspense: !0,
|
|
3278
|
-
unescape:
|
|
3346
|
+
unescape: xM
|
|
3279
3347
|
};
|
|
3280
|
-
function
|
|
3348
|
+
function TM() {
|
|
3281
3349
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3282
3350
|
Jv = jb(jb({}, Jv), e);
|
|
3283
3351
|
}
|
|
3284
|
-
function
|
|
3352
|
+
function CM() {
|
|
3285
3353
|
return Jv;
|
|
3286
3354
|
}
|
|
3287
3355
|
var eT;
|
|
3288
|
-
function
|
|
3356
|
+
function EM(e) {
|
|
3289
3357
|
eT = e;
|
|
3290
3358
|
}
|
|
3291
|
-
function
|
|
3359
|
+
function kM() {
|
|
3292
3360
|
return eT;
|
|
3293
3361
|
}
|
|
3294
|
-
var
|
|
3362
|
+
var OM = {
|
|
3295
3363
|
type: "3rdParty",
|
|
3296
3364
|
init: function(t) {
|
|
3297
|
-
|
|
3365
|
+
TM(t.options.react), EM(t);
|
|
3298
3366
|
}
|
|
3299
|
-
}, tT = gr(),
|
|
3367
|
+
}, tT = gr(), _M = function() {
|
|
3300
3368
|
function e() {
|
|
3301
3369
|
la(this, e), this.usedNamespaces = {};
|
|
3302
3370
|
}
|
|
@@ -3315,7 +3383,7 @@ var kM = {
|
|
|
3315
3383
|
}
|
|
3316
3384
|
}]), e;
|
|
3317
3385
|
}();
|
|
3318
|
-
function
|
|
3386
|
+
function DM(e, t) {
|
|
3319
3387
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3320
3388
|
if (n != null) {
|
|
3321
3389
|
var r, i, o, s, l = [], c = !0, d = !1;
|
|
@@ -3341,8 +3409,8 @@ function _M(e, t) {
|
|
|
3341
3409
|
return l;
|
|
3342
3410
|
}
|
|
3343
3411
|
}
|
|
3344
|
-
function
|
|
3345
|
-
return B1(e) ||
|
|
3412
|
+
function PM(e, t) {
|
|
3413
|
+
return B1(e) || DM(e, t) || j1(e, t) || $1();
|
|
3346
3414
|
}
|
|
3347
3415
|
function $b(e, t) {
|
|
3348
3416
|
var n = Object.keys(e);
|
|
@@ -3365,15 +3433,15 @@ function Yg(e) {
|
|
|
3365
3433
|
}
|
|
3366
3434
|
return e;
|
|
3367
3435
|
}
|
|
3368
|
-
var
|
|
3436
|
+
var RM = function(t, n) {
|
|
3369
3437
|
var r = hn();
|
|
3370
3438
|
return Dt(function() {
|
|
3371
3439
|
r.current = n ? r.current : t;
|
|
3372
3440
|
}, [t, n]), r.current;
|
|
3373
3441
|
};
|
|
3374
|
-
function
|
|
3375
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.i18n, r = nn(tT) || {}, i = r.i18n, o = r.defaultNS, s = n || i ||
|
|
3376
|
-
if (s && !s.reportNamespaces && (s.reportNamespaces = new
|
|
3442
|
+
function IM(e) {
|
|
3443
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.i18n, r = nn(tT) || {}, i = r.i18n, o = r.defaultNS, s = n || i || kM();
|
|
3444
|
+
if (s && !s.reportNamespaces && (s.reportNamespaces = new _M()), !s) {
|
|
3377
3445
|
Zv("You will need to pass in an i18next instance by using initReactI18next");
|
|
3378
3446
|
var l = function(oe, Fe) {
|
|
3379
3447
|
return typeof Fe == "string" ? Fe : Fe && oa(Fe) === "object" && typeof Fe.defaultValue == "string" ? Fe.defaultValue : Array.isArray(oe) ? oe[oe.length - 1] : oe;
|
|
@@ -3381,17 +3449,17 @@ function RM(e) {
|
|
|
3381
3449
|
return c.t = l, c.i18n = {}, c.ready = !1, c;
|
|
3382
3450
|
}
|
|
3383
3451
|
s.options.react && s.options.react.wait !== void 0 && Zv("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
3384
|
-
var d = Yg(Yg(Yg({},
|
|
3452
|
+
var d = Yg(Yg(Yg({}, CM()), s.options.react), t), v = d.useSuspense, p = d.keyPrefix, S = e || o || s.options && s.options.defaultNS;
|
|
3385
3453
|
S = typeof S == "string" ? [S] : S || ["translation"], s.reportNamespaces.addUsedNamespaces && s.reportNamespaces.addUsedNamespaces(S);
|
|
3386
3454
|
var T = (s.isInitialized || s.initializedStoreOnce) && S.every(function(ue) {
|
|
3387
|
-
return
|
|
3455
|
+
return yM(ue, s, d);
|
|
3388
3456
|
});
|
|
3389
3457
|
function _() {
|
|
3390
3458
|
return s.getFixedT(t.lng || null, d.nsMode === "fallback" ? S : S[0], p);
|
|
3391
3459
|
}
|
|
3392
|
-
var R = ln(_), L =
|
|
3460
|
+
var R = ln(_), L = PM(R, 2), I = L[0], U = L[1], W = S.join();
|
|
3393
3461
|
t.lng && (W = "".concat(t.lng).concat(W));
|
|
3394
|
-
var ee =
|
|
3462
|
+
var ee = RM(W), Z = hn(!0);
|
|
3395
3463
|
Dt(function() {
|
|
3396
3464
|
var ue = d.bindI18n, oe = d.bindI18nStore;
|
|
3397
3465
|
Z.current = !0, !T && !v && (t.lng ? Nb(s, t.lng, S, function() {
|
|
@@ -3425,7 +3493,7 @@ function RM(e) {
|
|
|
3425
3493
|
});
|
|
3426
3494
|
});
|
|
3427
3495
|
}
|
|
3428
|
-
function
|
|
3496
|
+
function AM(e) {
|
|
3429
3497
|
var t = e.i18n, n = e.defaultNS, r = e.children, i = qn(function() {
|
|
3430
3498
|
return {
|
|
3431
3499
|
i18n: t,
|
|
@@ -3436,18 +3504,18 @@ function IM(e) {
|
|
|
3436
3504
|
value: i
|
|
3437
3505
|
}, r);
|
|
3438
3506
|
}
|
|
3439
|
-
var nT = [],
|
|
3440
|
-
function
|
|
3441
|
-
return
|
|
3507
|
+
var nT = [], MM = nT.forEach, LM = nT.slice;
|
|
3508
|
+
function FM(e) {
|
|
3509
|
+
return MM.call(LM.call(arguments, 1), function(t) {
|
|
3442
3510
|
if (t)
|
|
3443
3511
|
for (var n in t)
|
|
3444
3512
|
e[n] === void 0 && (e[n] = t[n]);
|
|
3445
3513
|
}), e;
|
|
3446
3514
|
}
|
|
3447
|
-
function
|
|
3515
|
+
function NM(e) {
|
|
3448
3516
|
return e ? typeof e == "function" ? new e() : e : null;
|
|
3449
3517
|
}
|
|
3450
|
-
function
|
|
3518
|
+
function BM() {
|
|
3451
3519
|
return {
|
|
3452
3520
|
handleEmptyResourcesAsFailed: !0,
|
|
3453
3521
|
cacheHitMode: "none"
|
|
@@ -3479,8 +3547,8 @@ var rT = /* @__PURE__ */ function() {
|
|
|
3479
3547
|
key: "init",
|
|
3480
3548
|
value: function(n) {
|
|
3481
3549
|
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3482
|
-
this.services = n, this.options =
|
|
3483
|
-
r.backends[l] = r.backends[l] ||
|
|
3550
|
+
this.services = n, this.options = FM(i, this.options || {}, BM()), this.allOptions = o, this.options.backends && this.options.backends.forEach(function(s, l) {
|
|
3551
|
+
r.backends[l] = r.backends[l] || NM(s), r.backends[l].init(n, r.options.backendOptions && r.options.backendOptions[l] || {}, o);
|
|
3484
3552
|
}), this.services && this.options.reloadInterval && setInterval(function() {
|
|
3485
3553
|
return r.reload();
|
|
3486
3554
|
}, this.options.reloadInterval);
|
|
@@ -3572,17 +3640,17 @@ function Qv(e) {
|
|
|
3572
3640
|
function iT() {
|
|
3573
3641
|
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Qv(XMLHttpRequest)) === "object";
|
|
3574
3642
|
}
|
|
3575
|
-
function BM(e) {
|
|
3576
|
-
return !!e && typeof e.then == "function";
|
|
3577
|
-
}
|
|
3578
3643
|
function jM(e) {
|
|
3579
|
-
return
|
|
3644
|
+
return !!e && typeof e.then == "function";
|
|
3580
3645
|
}
|
|
3581
3646
|
function $M(e) {
|
|
3647
|
+
return jM(e) ? e : Promise.resolve(e);
|
|
3648
|
+
}
|
|
3649
|
+
function VM(e) {
|
|
3582
3650
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
3583
3651
|
}
|
|
3584
3652
|
var em = { exports: {} }, Eh = { exports: {} }, Hb;
|
|
3585
|
-
function
|
|
3653
|
+
function HM() {
|
|
3586
3654
|
return Hb || (Hb = 1, function(e, t) {
|
|
3587
3655
|
var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof zi < "u" && zi, r = function() {
|
|
3588
3656
|
function o() {
|
|
@@ -3899,8 +3967,8 @@ function VM() {
|
|
|
3899
3967
|
}
|
|
3900
3968
|
(function(e, t) {
|
|
3901
3969
|
var n;
|
|
3902
|
-
if (typeof fetch == "function" && (typeof zi < "u" && zi.fetch ? n = zi.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof
|
|
3903
|
-
var r = n ||
|
|
3970
|
+
if (typeof fetch == "function" && (typeof zi < "u" && zi.fetch ? n = zi.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof VM < "u" && typeof window > "u") {
|
|
3971
|
+
var r = n || HM();
|
|
3904
3972
|
r.default && (r = r.default), t.default = r, e.exports = t.default;
|
|
3905
3973
|
}
|
|
3906
3974
|
})(em, em.exports);
|
|
@@ -3923,21 +3991,21 @@ function zb(e) {
|
|
|
3923
3991
|
for (var t = 1; t < arguments.length; t++) {
|
|
3924
3992
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3925
3993
|
t % 2 ? Wb(Object(n), !0).forEach(function(r) {
|
|
3926
|
-
|
|
3994
|
+
UM(e, r, n[r]);
|
|
3927
3995
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wb(Object(n)).forEach(function(r) {
|
|
3928
3996
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
3929
3997
|
});
|
|
3930
3998
|
}
|
|
3931
3999
|
return e;
|
|
3932
4000
|
}
|
|
3933
|
-
function
|
|
3934
|
-
return (t =
|
|
4001
|
+
function UM(e, t, n) {
|
|
4002
|
+
return (t = WM(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3935
4003
|
}
|
|
3936
|
-
function
|
|
3937
|
-
var t =
|
|
4004
|
+
function WM(e) {
|
|
4005
|
+
var t = zM(e, "string");
|
|
3938
4006
|
return $c(t) == "symbol" ? t : t + "";
|
|
3939
4007
|
}
|
|
3940
|
-
function
|
|
4008
|
+
function zM(e, t) {
|
|
3941
4009
|
if ($c(e) != "object" || !e)
|
|
3942
4010
|
return e;
|
|
3943
4011
|
var n = e[Symbol.toPrimitive];
|
|
@@ -3996,7 +4064,7 @@ var tm = function(t, n) {
|
|
|
3996
4064
|
}
|
|
3997
4065
|
}
|
|
3998
4066
|
typeof fetch == "function" ? fetch(t, n).then(o).catch(r) : Ll(t, n).then(o).catch(r);
|
|
3999
|
-
}, Gb = !1,
|
|
4067
|
+
}, Gb = !1, YM = function(t, n, r, i) {
|
|
4000
4068
|
t.queryStringParams && (n = tm(n, t.queryStringParams));
|
|
4001
4069
|
var o = zb({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders);
|
|
4002
4070
|
typeof window > "u" && typeof global < "u" && typeof global.process < "u" && global.process.versions && global.process.versions.node && (o["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), r && (o["Content-Type"] = "application/json");
|
|
@@ -4018,7 +4086,7 @@ var tm = function(t, n) {
|
|
|
4018
4086
|
i(v);
|
|
4019
4087
|
}
|
|
4020
4088
|
}
|
|
4021
|
-
},
|
|
4089
|
+
}, GM = function(t, n, r, i) {
|
|
4022
4090
|
r && $c(r) === "object" && (r = tm("", r).slice(1)), t.queryStringParams && (n = tm(n, t.queryStringParams));
|
|
4023
4091
|
try {
|
|
4024
4092
|
var o;
|
|
@@ -4036,12 +4104,12 @@ var tm = function(t, n) {
|
|
|
4036
4104
|
} catch (c) {
|
|
4037
4105
|
console && console.log(c);
|
|
4038
4106
|
}
|
|
4039
|
-
},
|
|
4107
|
+
}, qM = function(t, n, r, i) {
|
|
4040
4108
|
if (typeof r == "function" && (i = r, r = void 0), i = i || function() {
|
|
4041
4109
|
}, Ll && n.indexOf("file:") !== 0)
|
|
4042
|
-
return zM(t, n, r, i);
|
|
4043
|
-
if (iT() || typeof ActiveXObject == "function")
|
|
4044
4110
|
return YM(t, n, r, i);
|
|
4111
|
+
if (iT() || typeof ActiveXObject == "function")
|
|
4112
|
+
return GM(t, n, r, i);
|
|
4045
4113
|
i(new Error("No fetch and no xhr implementation found!"));
|
|
4046
4114
|
};
|
|
4047
4115
|
function jf(e) {
|
|
@@ -4073,7 +4141,7 @@ function Gg(e) {
|
|
|
4073
4141
|
}
|
|
4074
4142
|
return e;
|
|
4075
4143
|
}
|
|
4076
|
-
function
|
|
4144
|
+
function XM(e, t) {
|
|
4077
4145
|
if (!(e instanceof t))
|
|
4078
4146
|
throw new TypeError("Cannot call a class as a function");
|
|
4079
4147
|
}
|
|
@@ -4083,17 +4151,17 @@ function Xb(e, t) {
|
|
|
4083
4151
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, lT(r.key), r);
|
|
4084
4152
|
}
|
|
4085
4153
|
}
|
|
4086
|
-
function
|
|
4154
|
+
function KM(e, t, n) {
|
|
4087
4155
|
return t && Xb(e.prototype, t), n && Xb(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
4088
4156
|
}
|
|
4089
4157
|
function sT(e, t, n) {
|
|
4090
4158
|
return (t = lT(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4091
4159
|
}
|
|
4092
4160
|
function lT(e) {
|
|
4093
|
-
var t =
|
|
4161
|
+
var t = ZM(e, "string");
|
|
4094
4162
|
return jf(t) == "symbol" ? t : t + "";
|
|
4095
4163
|
}
|
|
4096
|
-
function
|
|
4164
|
+
function ZM(e, t) {
|
|
4097
4165
|
if (jf(e) != "object" || !e)
|
|
4098
4166
|
return e;
|
|
4099
4167
|
var n = e[Symbol.toPrimitive];
|
|
@@ -4105,7 +4173,7 @@ function KM(e, t) {
|
|
|
4105
4173
|
}
|
|
4106
4174
|
return (t === "string" ? String : Number)(e);
|
|
4107
4175
|
}
|
|
4108
|
-
var
|
|
4176
|
+
var JM = function() {
|
|
4109
4177
|
return {
|
|
4110
4178
|
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
4111
4179
|
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
@@ -4118,7 +4186,7 @@ var ZM = function() {
|
|
|
4118
4186
|
},
|
|
4119
4187
|
parseLoadPayload: function(n, r) {
|
|
4120
4188
|
},
|
|
4121
|
-
request:
|
|
4189
|
+
request: qM,
|
|
4122
4190
|
reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3,
|
|
4123
4191
|
customHeaders: {},
|
|
4124
4192
|
queryStringParams: {},
|
|
@@ -4134,13 +4202,13 @@ var ZM = function() {
|
|
|
4134
4202
|
}, uT = function() {
|
|
4135
4203
|
function e(t) {
|
|
4136
4204
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4137
|
-
|
|
4205
|
+
XM(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r);
|
|
4138
4206
|
}
|
|
4139
|
-
return
|
|
4207
|
+
return KM(e, [{
|
|
4140
4208
|
key: "init",
|
|
4141
4209
|
value: function(n) {
|
|
4142
4210
|
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4143
|
-
if (this.services = n, this.options = Gg(Gg(Gg({},
|
|
4211
|
+
if (this.services = n, this.options = Gg(Gg(Gg({}, JM()), this.options || {}), i), this.allOptions = o, this.services && this.options.reloadInterval) {
|
|
4144
4212
|
var s = setInterval(function() {
|
|
4145
4213
|
return r.reload();
|
|
4146
4214
|
}, this.options.reloadInterval);
|
|
@@ -4161,7 +4229,7 @@ var ZM = function() {
|
|
|
4161
4229
|
key: "_readAny",
|
|
4162
4230
|
value: function(n, r, i, o, s) {
|
|
4163
4231
|
var l = this, c = this.options.loadPath;
|
|
4164
|
-
typeof this.options.loadPath == "function" && (c = this.options.loadPath(n, i)), c =
|
|
4232
|
+
typeof this.options.loadPath == "function" && (c = this.options.loadPath(n, i)), c = $M(c), c.then(function(d) {
|
|
4165
4233
|
if (!d)
|
|
4166
4234
|
return s(null, {});
|
|
4167
4235
|
var v = l.services.interpolator.interpolate(d, {
|
|
@@ -4246,16 +4314,16 @@ var ZM = function() {
|
|
|
4246
4314
|
}();
|
|
4247
4315
|
uT.type = "backend";
|
|
4248
4316
|
var cT = /* @__PURE__ */ ((e) => (e.en = "en", e.de = "de", e))(cT || {});
|
|
4249
|
-
const
|
|
4317
|
+
const QM = {
|
|
4250
4318
|
en: "English",
|
|
4251
4319
|
de: "German"
|
|
4252
4320
|
};
|
|
4253
|
-
hi.use(rT).use(
|
|
4321
|
+
hi.use(rT).use(OM).use(Z1).init({
|
|
4254
4322
|
// defaultNS: "translation",
|
|
4255
4323
|
// resources,
|
|
4256
4324
|
initImmediate: !0,
|
|
4257
4325
|
ns: ["translation"],
|
|
4258
|
-
fallbackLng: Object.keys(
|
|
4326
|
+
fallbackLng: Object.keys(QM),
|
|
4259
4327
|
fallbackNS: "translation",
|
|
4260
4328
|
partialBundledLanguages: !0,
|
|
4261
4329
|
resources: {},
|
|
@@ -4280,83 +4348,7 @@ hi.use(rT).use(kM).use(Z1).init({
|
|
|
4280
4348
|
]
|
|
4281
4349
|
}
|
|
4282
4350
|
});
|
|
4283
|
-
|
|
4284
|
-
const t = M1(), n = qn(
|
|
4285
|
-
() => e.axiosInstance || Ys,
|
|
4286
|
-
[e.axiosInstance]
|
|
4287
|
-
);
|
|
4288
|
-
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
4289
|
-
const r = ny({
|
|
4290
|
-
queryKey: ["user"],
|
|
4291
|
-
refetchOnWindowFocus: !1,
|
|
4292
|
-
retry: !1,
|
|
4293
|
-
queryFn: () => n.get(e.baseUrl + "/user-management/api/v1/users/my-account").then((i) => (window.user = i.data, i.data))
|
|
4294
|
-
});
|
|
4295
|
-
return Dt(() => {
|
|
4296
|
-
window.onpageshow = function(i) {
|
|
4297
|
-
i.persisted && t.invalidateQueries(["user"]);
|
|
4298
|
-
};
|
|
4299
|
-
}, [t]), r;
|
|
4300
|
-
}, eL = (e) => {
|
|
4301
|
-
const t = M1(), n = qn(
|
|
4302
|
-
() => e.axiosInstance || Ys,
|
|
4303
|
-
[e.axiosInstance]
|
|
4304
|
-
);
|
|
4305
|
-
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
4306
|
-
const r = ny({
|
|
4307
|
-
queryKey: ["user-permissions"],
|
|
4308
|
-
refetchOnWindowFocus: !1,
|
|
4309
|
-
retry: !1,
|
|
4310
|
-
queryFn: () => n.get(
|
|
4311
|
-
e.baseUrl + "/user-management/api/v1/users/my-account/permissions"
|
|
4312
|
-
).then((i) => i.data)
|
|
4313
|
-
});
|
|
4314
|
-
return Dt(() => {
|
|
4315
|
-
window.onpageshow = function(i) {
|
|
4316
|
-
i.persisted && t.invalidateQueries(["user-permissions"]);
|
|
4317
|
-
};
|
|
4318
|
-
}, [t]), r;
|
|
4319
|
-
}, fT = gr({}), DY = (e) => {
|
|
4320
|
-
const { children: t, baseUrl: n, axiosInstance: r } = e, i = new URL(n).origin, o = QM({ axiosInstance: r, baseUrl: n }), s = eL({
|
|
4321
|
-
axiosInstance: r,
|
|
4322
|
-
baseUrl: n
|
|
4323
|
-
});
|
|
4324
|
-
function l() {
|
|
4325
|
-
window.location.href = `${i}/authentication/login`;
|
|
4326
|
-
}
|
|
4327
|
-
function c() {
|
|
4328
|
-
window.location.href = `${i}/authentication/logout`;
|
|
4329
|
-
}
|
|
4330
|
-
return o != null && o.isFetching ? /* @__PURE__ */ Qe(
|
|
4331
|
-
ZI,
|
|
4332
|
-
{
|
|
4333
|
-
container: !0,
|
|
4334
|
-
justifyContent: "center",
|
|
4335
|
-
alignItems: "center",
|
|
4336
|
-
sx: { minHeight: "100vh" },
|
|
4337
|
-
children: /* @__PURE__ */ Qe(JI, {})
|
|
4338
|
-
}
|
|
4339
|
-
) : /* @__PURE__ */ Qe(
|
|
4340
|
-
fT.Provider,
|
|
4341
|
-
{
|
|
4342
|
-
value: {
|
|
4343
|
-
user: o == null ? void 0 : o.data,
|
|
4344
|
-
login: l,
|
|
4345
|
-
logout: c,
|
|
4346
|
-
isFetching: o.isFetching,
|
|
4347
|
-
permissions: s == null ? void 0 : s.data
|
|
4348
|
-
},
|
|
4349
|
-
children: t
|
|
4350
|
-
}
|
|
4351
|
-
);
|
|
4352
|
-
}, PY = () => nn(fT);
|
|
4353
|
-
function RY(e, t, n) {
|
|
4354
|
-
return n.some((r) => {
|
|
4355
|
-
const i = e[r];
|
|
4356
|
-
return String(i).toLowerCase().includes(t.toLowerCase());
|
|
4357
|
-
});
|
|
4358
|
-
}
|
|
4359
|
-
function tL() {
|
|
4351
|
+
function eL() {
|
|
4360
4352
|
const [e, t] = ln();
|
|
4361
4353
|
return Dt(() => {
|
|
4362
4354
|
const n = localStorage.getItem("language");
|
|
@@ -4366,10 +4358,17 @@ function tL() {
|
|
|
4366
4358
|
setLanguage: t
|
|
4367
4359
|
};
|
|
4368
4360
|
}
|
|
4369
|
-
const
|
|
4370
|
-
const t =
|
|
4371
|
-
return /* @__PURE__ */ Qe(
|
|
4372
|
-
};
|
|
4361
|
+
const fT = gr({}), IY = () => nn(fT), AY = hi, MY = U1, LY = () => IM(), FY = ({ children: e }) => {
|
|
4362
|
+
const t = eL();
|
|
4363
|
+
return /* @__PURE__ */ Qe(fT.Provider, { value: t, children: /* @__PURE__ */ Qe(AM, { i18n: hi, children: e }) });
|
|
4364
|
+
}, tL = `*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
|
|
4365
|
+
`;
|
|
4366
|
+
function dT({ children: e, styles: t = [], ...n }) {
|
|
4367
|
+
return /* @__PURE__ */ Di("div", { ...n, children: [
|
|
4368
|
+
[tL, ...t].map((r, i) => /* @__PURE__ */ Qe("style", { type: "text/css", children: r }, i)),
|
|
4369
|
+
e
|
|
4370
|
+
] });
|
|
4371
|
+
}
|
|
4373
4372
|
function nL(e) {
|
|
4374
4373
|
var t = typeof e;
|
|
4375
4374
|
return e != null && (t == "object" || t == "function");
|
|
@@ -29015,7 +29014,7 @@ function WY(e) {
|
|
|
29015
29014
|
"div",
|
|
29016
29015
|
{
|
|
29017
29016
|
className: `favorite-bar ${t ? "favorite-bar--visible" : "favorite-bar--hidden"}`,
|
|
29018
|
-
children: /* @__PURE__ */ Qe(EO.div, { children: /* @__PURE__ */ Qe(
|
|
29017
|
+
children: /* @__PURE__ */ Qe(EO.div, { children: /* @__PURE__ */ Qe(dT, { styles: [CT, _4, z4], children: /* @__PURE__ */ Qe(q4, { ...e }) }) })
|
|
29019
29018
|
}
|
|
29020
29019
|
)
|
|
29021
29020
|
] });
|
|
@@ -29579,7 +29578,7 @@ function PO(e) {
|
|
|
29579
29578
|
}
|
|
29580
29579
|
function zY(e) {
|
|
29581
29580
|
return /* @__PURE__ */ Qe(EO.div, { children: /* @__PURE__ */ Qe(
|
|
29582
|
-
|
|
29581
|
+
dT,
|
|
29583
29582
|
{
|
|
29584
29583
|
styles: [CT, t6, r6],
|
|
29585
29584
|
style: { position: "sticky", zIndex: 1300 },
|
|
@@ -40575,58 +40574,58 @@ function JY(e, t) {
|
|
|
40575
40574
|
cY();
|
|
40576
40575
|
export {
|
|
40577
40576
|
QA as $,
|
|
40578
|
-
|
|
40579
|
-
|
|
40577
|
+
JY as A,
|
|
40578
|
+
jY as B,
|
|
40580
40579
|
$A as C,
|
|
40581
40580
|
XY as D,
|
|
40582
|
-
|
|
40583
|
-
|
|
40581
|
+
PT as E,
|
|
40582
|
+
BY as F,
|
|
40584
40583
|
zY as G,
|
|
40585
|
-
|
|
40584
|
+
WY as H,
|
|
40586
40585
|
qY as I,
|
|
40587
|
-
|
|
40588
|
-
|
|
40586
|
+
kO as J,
|
|
40587
|
+
S4 as K,
|
|
40589
40588
|
cT as L,
|
|
40590
|
-
|
|
40591
|
-
|
|
40592
|
-
|
|
40589
|
+
G1 as M,
|
|
40590
|
+
OY as N,
|
|
40591
|
+
FA as O,
|
|
40593
40592
|
ds as P,
|
|
40594
40593
|
NY as Q,
|
|
40595
|
-
|
|
40596
|
-
|
|
40597
|
-
|
|
40598
|
-
|
|
40599
|
-
|
|
40600
|
-
|
|
40594
|
+
NA as R,
|
|
40595
|
+
dT as S,
|
|
40596
|
+
BA as T,
|
|
40597
|
+
jA as U,
|
|
40598
|
+
TY as V,
|
|
40599
|
+
AY as W,
|
|
40601
40600
|
LY as X,
|
|
40602
40601
|
FY as Y,
|
|
40603
40602
|
ZA as Z,
|
|
40604
40603
|
qd as _,
|
|
40605
40604
|
Ys as a,
|
|
40606
40605
|
kY as a0,
|
|
40607
|
-
|
|
40606
|
+
_Y as b,
|
|
40608
40607
|
Pi as c,
|
|
40609
40608
|
CY as d,
|
|
40610
40609
|
rA as e,
|
|
40611
40610
|
zi as f,
|
|
40612
40611
|
EY as g,
|
|
40613
|
-
|
|
40614
|
-
|
|
40612
|
+
IM as h,
|
|
40613
|
+
RY as i,
|
|
40615
40614
|
UY as j,
|
|
40616
40615
|
J1 as k,
|
|
40617
40616
|
Ou as l,
|
|
40618
40617
|
X5 as m,
|
|
40619
40618
|
Pu as n,
|
|
40620
|
-
|
|
40619
|
+
PY as o,
|
|
40621
40620
|
Wp as p,
|
|
40622
40621
|
pO as q,
|
|
40623
40622
|
GY as r,
|
|
40624
40623
|
YY as s,
|
|
40625
|
-
|
|
40624
|
+
MY as t,
|
|
40626
40625
|
IY as u,
|
|
40627
|
-
|
|
40628
|
-
|
|
40629
|
-
|
|
40630
|
-
|
|
40631
|
-
|
|
40626
|
+
DY as v,
|
|
40627
|
+
u6 as w,
|
|
40628
|
+
KY as x,
|
|
40629
|
+
D8 as y,
|
|
40630
|
+
ZY as z
|
|
40632
40631
|
};
|