@ukpc-lib/react 0.10.5 → 0.10.7
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/assets/icons/search-icon.svg +4 -0
- package/dist/components/Notification/models/NotiticationDto.d.ts +4 -0
- package/dist/components/index.cjs +20 -20
- package/dist/components/index.js +1809 -1786
- package/dist/{index.module-9fbc52eb.cjs → index.module-939d1280.cjs} +6 -6
- package/dist/{index.module-0d16ee2f.js → index.module-aa83269c.js} +202 -203
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +7 -7
- 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-54d2e9b8.js → index-03ce2fda.js} +9504 -9482
- package/dist/components/Topbar/icons/SearchIcon.d.ts +0 -4
|
@@ -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 _n 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";
|
|
@@ -2847,23 +2847,91 @@ const Y1 = gr({}), EY = () => nn(Y1), kY = (e) => {
|
|
|
2847
2847
|
var o;
|
|
2848
2848
|
const { children: t, brandTheme: n } = e, r = eM(n), i = ((o = e.customTheme) == null ? void 0 : o.call(e, r.colors)) || r.theme;
|
|
2849
2849
|
return /* @__PURE__ */ Qe(Y1.Provider, { value: r, children: /* @__PURE__ */ Qe(KI, { theme: i, children: t }) });
|
|
2850
|
-
}, tM =
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2850
|
+
}, tM = (e) => {
|
|
2851
|
+
const t = M1(), n = qn(
|
|
2852
|
+
() => e.axiosInstance || Ys,
|
|
2853
|
+
[e.axiosInstance]
|
|
2854
|
+
);
|
|
2855
|
+
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
2856
|
+
const r = ny({
|
|
2857
|
+
queryKey: ["user"],
|
|
2858
|
+
refetchOnWindowFocus: !1,
|
|
2859
|
+
retry: !1,
|
|
2860
|
+
queryFn: () => n.get(e.baseUrl + "/user-management/api/v1/users/my-account").then((i) => (window.user = i.data, i.data))
|
|
2861
|
+
});
|
|
2862
|
+
return Dt(() => {
|
|
2863
|
+
window.onpageshow = function(i) {
|
|
2864
|
+
i.persisted && t.invalidateQueries(["user"]);
|
|
2865
|
+
};
|
|
2866
|
+
}, [t]), r;
|
|
2867
|
+
}, nM = (e) => {
|
|
2868
|
+
const t = M1(), n = qn(
|
|
2869
|
+
() => e.axiosInstance || Ys,
|
|
2870
|
+
[e.axiosInstance]
|
|
2871
|
+
);
|
|
2872
|
+
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
2873
|
+
const r = ny({
|
|
2874
|
+
queryKey: ["user-permissions"],
|
|
2875
|
+
refetchOnWindowFocus: !1,
|
|
2876
|
+
retry: !1,
|
|
2877
|
+
queryFn: () => n.get(
|
|
2878
|
+
e.baseUrl + "/user-management/api/v1/users/my-account/permissions"
|
|
2879
|
+
).then((i) => i.data)
|
|
2880
|
+
});
|
|
2881
|
+
return Dt(() => {
|
|
2882
|
+
window.onpageshow = function(i) {
|
|
2883
|
+
i.persisted && t.invalidateQueries(["user-permissions"]);
|
|
2884
|
+
};
|
|
2885
|
+
}, [t]), r;
|
|
2886
|
+
}, G1 = gr({}), _Y = (e) => {
|
|
2887
|
+
const { children: t, baseUrl: n, axiosInstance: r } = e, i = new URL(n).origin, o = tM({ axiosInstance: r, baseUrl: n }), s = nM({
|
|
2888
|
+
axiosInstance: r,
|
|
2889
|
+
baseUrl: n
|
|
2890
|
+
});
|
|
2891
|
+
function l() {
|
|
2892
|
+
window.location.href = `${i}/authentication/login`;
|
|
2893
|
+
}
|
|
2894
|
+
function c() {
|
|
2895
|
+
window.location.href = `${i}/authentication/logout`;
|
|
2896
|
+
}
|
|
2897
|
+
return o != null && o.isFetching ? /* @__PURE__ */ Qe(
|
|
2898
|
+
ZI,
|
|
2899
|
+
{
|
|
2900
|
+
container: !0,
|
|
2901
|
+
justifyContent: "center",
|
|
2902
|
+
alignItems: "center",
|
|
2903
|
+
sx: { minHeight: "100vh" },
|
|
2904
|
+
children: /* @__PURE__ */ Qe(JI, {})
|
|
2905
|
+
}
|
|
2906
|
+
) : /* @__PURE__ */ Qe(
|
|
2907
|
+
G1.Provider,
|
|
2908
|
+
{
|
|
2909
|
+
value: {
|
|
2910
|
+
user: o == null ? void 0 : o.data,
|
|
2911
|
+
login: l,
|
|
2912
|
+
logout: c,
|
|
2913
|
+
isFetching: o.isFetching,
|
|
2914
|
+
permissions: s == null ? void 0 : s.data
|
|
2915
|
+
},
|
|
2916
|
+
children: t
|
|
2917
|
+
}
|
|
2918
|
+
);
|
|
2919
|
+
}, OY = () => nn(G1);
|
|
2920
|
+
function DY(e, t, n) {
|
|
2921
|
+
return n.some((r) => {
|
|
2922
|
+
const i = e[r];
|
|
2923
|
+
return String(i).toLowerCase().includes(t.toLowerCase());
|
|
2924
|
+
});
|
|
2857
2925
|
}
|
|
2858
|
-
var q1 = [],
|
|
2859
|
-
function
|
|
2860
|
-
return
|
|
2926
|
+
var q1 = [], rM = q1.forEach, iM = q1.slice;
|
|
2927
|
+
function oM(e) {
|
|
2928
|
+
return rM.call(iM.call(arguments, 1), function(t) {
|
|
2861
2929
|
if (t)
|
|
2862
2930
|
for (var n in t)
|
|
2863
2931
|
e[n] === void 0 && (e[n] = t[n]);
|
|
2864
2932
|
}), e;
|
|
2865
2933
|
}
|
|
2866
|
-
var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
2934
|
+
var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, aM = function(t, n, r) {
|
|
2867
2935
|
var i = r || {};
|
|
2868
2936
|
i.path = i.path || "/";
|
|
2869
2937
|
var o = encodeURIComponent(n), s = "".concat(t, "=").concat(o);
|
|
@@ -2914,7 +2982,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2914
2982
|
path: "/",
|
|
2915
2983
|
sameSite: "strict"
|
|
2916
2984
|
};
|
|
2917
|
-
r && (o.expires = /* @__PURE__ */ new Date(), o.expires.setTime(o.expires.getTime() + r * 60 * 1e3)), i && (o.domain = i), document.cookie =
|
|
2985
|
+
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);
|
|
2918
2986
|
},
|
|
2919
2987
|
read: function(t) {
|
|
2920
2988
|
for (var n = "".concat(t, "="), r = document.cookie.split(";"), i = 0; i < r.length; i++) {
|
|
@@ -2928,7 +2996,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2928
2996
|
remove: function(t) {
|
|
2929
2997
|
this.create(t, "", -1);
|
|
2930
2998
|
}
|
|
2931
|
-
},
|
|
2999
|
+
}, sM = {
|
|
2932
3000
|
name: "cookie",
|
|
2933
3001
|
lookup: function(t) {
|
|
2934
3002
|
var n;
|
|
@@ -2941,7 +3009,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2941
3009
|
cacheUserLanguage: function(t, n) {
|
|
2942
3010
|
n.lookupCookie && typeof document < "u" && Ib.create(n.lookupCookie, t, n.cookieMinutes, n.cookieDomain, n.cookieOptions);
|
|
2943
3011
|
}
|
|
2944
|
-
},
|
|
3012
|
+
}, lM = {
|
|
2945
3013
|
name: "querystring",
|
|
2946
3014
|
lookup: function(t) {
|
|
2947
3015
|
var n;
|
|
@@ -2969,7 +3037,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2969
3037
|
sd = !1;
|
|
2970
3038
|
}
|
|
2971
3039
|
return sd;
|
|
2972
|
-
},
|
|
3040
|
+
}, uM = {
|
|
2973
3041
|
name: "localStorage",
|
|
2974
3042
|
lookup: function(t) {
|
|
2975
3043
|
var n;
|
|
@@ -2993,7 +3061,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
2993
3061
|
ld = !1;
|
|
2994
3062
|
}
|
|
2995
3063
|
return ld;
|
|
2996
|
-
},
|
|
3064
|
+
}, cM = {
|
|
2997
3065
|
name: "sessionStorage",
|
|
2998
3066
|
lookup: function(t) {
|
|
2999
3067
|
var n;
|
|
@@ -3006,7 +3074,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
3006
3074
|
cacheUserLanguage: function(t, n) {
|
|
3007
3075
|
n.lookupSessionStorage && Mb() && window.sessionStorage.setItem(n.lookupSessionStorage, t);
|
|
3008
3076
|
}
|
|
3009
|
-
},
|
|
3077
|
+
}, fM = {
|
|
3010
3078
|
name: "navigator",
|
|
3011
3079
|
lookup: function(t) {
|
|
3012
3080
|
var n = [];
|
|
@@ -3018,13 +3086,13 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
3018
3086
|
}
|
|
3019
3087
|
return n.length > 0 ? n : void 0;
|
|
3020
3088
|
}
|
|
3021
|
-
},
|
|
3089
|
+
}, dM = {
|
|
3022
3090
|
name: "htmlTag",
|
|
3023
3091
|
lookup: function(t) {
|
|
3024
3092
|
var n, r = t.htmlTag || (typeof document < "u" ? document.documentElement : null);
|
|
3025
3093
|
return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
|
|
3026
3094
|
}
|
|
3027
|
-
},
|
|
3095
|
+
}, hM = {
|
|
3028
3096
|
name: "path",
|
|
3029
3097
|
lookup: function(t) {
|
|
3030
3098
|
var n;
|
|
@@ -3040,7 +3108,7 @@ var Rb = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, oM = function(t, n, r) {
|
|
|
3040
3108
|
}
|
|
3041
3109
|
return n;
|
|
3042
3110
|
}
|
|
3043
|
-
},
|
|
3111
|
+
}, pM = {
|
|
3044
3112
|
name: "subdomain",
|
|
3045
3113
|
lookup: function(t) {
|
|
3046
3114
|
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);
|
|
@@ -3054,7 +3122,7 @@ try {
|
|
|
3054
3122
|
}
|
|
3055
3123
|
var K1 = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
3056
3124
|
X1 || K1.splice(1, 1);
|
|
3057
|
-
function
|
|
3125
|
+
function gM() {
|
|
3058
3126
|
return {
|
|
3059
3127
|
order: K1,
|
|
3060
3128
|
lookupQuerystring: "lng",
|
|
@@ -3082,9 +3150,9 @@ var Z1 = /* @__PURE__ */ function() {
|
|
|
3082
3150
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3083
3151
|
this.services = n || {
|
|
3084
3152
|
languageUtils: {}
|
|
3085
|
-
}, this.options =
|
|
3153
|
+
}, this.options = oM(r, this.options || {}, gM()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(o) {
|
|
3086
3154
|
return o.replace("-", "_");
|
|
3087
|
-
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = i, this.addDetector(
|
|
3155
|
+
}), 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);
|
|
3088
3156
|
}
|
|
3089
3157
|
}, {
|
|
3090
3158
|
key: "addDetector",
|
|
@@ -3129,7 +3197,7 @@ function J1(e, t) {
|
|
|
3129
3197
|
}
|
|
3130
3198
|
return n;
|
|
3131
3199
|
}
|
|
3132
|
-
const
|
|
3200
|
+
const PY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3133
3201
|
__proto__: null,
|
|
3134
3202
|
default: J1
|
|
3135
3203
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -3137,7 +3205,7 @@ var zi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3137
3205
|
function Vu(e) {
|
|
3138
3206
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3139
3207
|
}
|
|
3140
|
-
function
|
|
3208
|
+
function RY(e) {
|
|
3141
3209
|
if (e.__esModule)
|
|
3142
3210
|
return e;
|
|
3143
3211
|
var t = e.default;
|
|
@@ -3158,7 +3226,7 @@ function OY(e) {
|
|
|
3158
3226
|
});
|
|
3159
3227
|
}), n;
|
|
3160
3228
|
}
|
|
3161
|
-
function
|
|
3229
|
+
function vM() {
|
|
3162
3230
|
if (console && console.warn) {
|
|
3163
3231
|
for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
3164
3232
|
n[r] = arguments[r];
|
|
@@ -3169,7 +3237,7 @@ var Lb = {};
|
|
|
3169
3237
|
function Zv() {
|
|
3170
3238
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
3171
3239
|
t[n] = arguments[n];
|
|
3172
|
-
typeof t[0] == "string" && Lb[t[0]] || (typeof t[0] == "string" && (Lb[t[0]] = /* @__PURE__ */ new Date()),
|
|
3240
|
+
typeof t[0] == "string" && Lb[t[0]] || (typeof t[0] == "string" && (Lb[t[0]] = /* @__PURE__ */ new Date()), vM.apply(void 0, t));
|
|
3173
3241
|
}
|
|
3174
3242
|
var Q1 = function(t, n) {
|
|
3175
3243
|
return function() {
|
|
@@ -3193,7 +3261,7 @@ function Nb(e, t, n, r) {
|
|
|
3193
3261
|
e.options.ns.indexOf(i) < 0 && e.options.ns.push(i);
|
|
3194
3262
|
}), e.loadLanguages(t, Q1(e, r));
|
|
3195
3263
|
}
|
|
3196
|
-
function
|
|
3264
|
+
function mM(e, t) {
|
|
3197
3265
|
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];
|
|
3198
3266
|
if (r.toLowerCase() === "cimode")
|
|
3199
3267
|
return !0;
|
|
@@ -3203,7 +3271,7 @@ function vM(e, t) {
|
|
|
3203
3271
|
};
|
|
3204
3272
|
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)));
|
|
3205
3273
|
}
|
|
3206
|
-
function
|
|
3274
|
+
function yM(e, t) {
|
|
3207
3275
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3208
3276
|
if (!t.languages || !t.languages.length)
|
|
3209
3277
|
return Zv("i18n.languages were undefined or empty", t.languages), !0;
|
|
@@ -3214,9 +3282,9 @@ function mM(e, t) {
|
|
|
3214
3282
|
if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !s(o.isLanguageChangingTo, e))
|
|
3215
3283
|
return !1;
|
|
3216
3284
|
}
|
|
3217
|
-
}) :
|
|
3285
|
+
}) : mM(e, t, n);
|
|
3218
3286
|
}
|
|
3219
|
-
var
|
|
3287
|
+
var bM = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, wM = {
|
|
3220
3288
|
"&": "&",
|
|
3221
3289
|
"&": "&",
|
|
3222
3290
|
"<": "<",
|
|
@@ -3237,10 +3305,10 @@ var yM = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
3237
3305
|
"…": "…",
|
|
3238
3306
|
"/": "/",
|
|
3239
3307
|
"/": "/"
|
|
3240
|
-
}, wM = function(t) {
|
|
3241
|
-
return bM[t];
|
|
3242
3308
|
}, SM = function(t) {
|
|
3243
|
-
return t
|
|
3309
|
+
return wM[t];
|
|
3310
|
+
}, xM = function(t) {
|
|
3311
|
+
return t.replace(bM, SM);
|
|
3244
3312
|
};
|
|
3245
3313
|
function Bb(e, t) {
|
|
3246
3314
|
var n = Object.keys(e);
|
|
@@ -3271,28 +3339,28 @@ var Jv = {
|
|
|
3271
3339
|
transWrapTextNodes: "",
|
|
3272
3340
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
3273
3341
|
useSuspense: !0,
|
|
3274
|
-
unescape:
|
|
3342
|
+
unescape: xM
|
|
3275
3343
|
};
|
|
3276
|
-
function
|
|
3344
|
+
function TM() {
|
|
3277
3345
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3278
3346
|
Jv = jb(jb({}, Jv), e);
|
|
3279
3347
|
}
|
|
3280
|
-
function
|
|
3348
|
+
function CM() {
|
|
3281
3349
|
return Jv;
|
|
3282
3350
|
}
|
|
3283
3351
|
var eT;
|
|
3284
|
-
function
|
|
3352
|
+
function EM(e) {
|
|
3285
3353
|
eT = e;
|
|
3286
3354
|
}
|
|
3287
|
-
function
|
|
3355
|
+
function kM() {
|
|
3288
3356
|
return eT;
|
|
3289
3357
|
}
|
|
3290
|
-
var
|
|
3358
|
+
var _M = {
|
|
3291
3359
|
type: "3rdParty",
|
|
3292
3360
|
init: function(t) {
|
|
3293
|
-
|
|
3361
|
+
TM(t.options.react), EM(t);
|
|
3294
3362
|
}
|
|
3295
|
-
}, tT = gr(),
|
|
3363
|
+
}, tT = gr(), OM = function() {
|
|
3296
3364
|
function e() {
|
|
3297
3365
|
la(this, e), this.usedNamespaces = {};
|
|
3298
3366
|
}
|
|
@@ -3311,7 +3379,7 @@ var kM = {
|
|
|
3311
3379
|
}
|
|
3312
3380
|
}]), e;
|
|
3313
3381
|
}();
|
|
3314
|
-
function
|
|
3382
|
+
function DM(e, t) {
|
|
3315
3383
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3316
3384
|
if (n != null) {
|
|
3317
3385
|
var r, i, o, s, l = [], c = !0, d = !1;
|
|
@@ -3337,8 +3405,8 @@ function OM(e, t) {
|
|
|
3337
3405
|
return l;
|
|
3338
3406
|
}
|
|
3339
3407
|
}
|
|
3340
|
-
function
|
|
3341
|
-
return B1(e) ||
|
|
3408
|
+
function PM(e, t) {
|
|
3409
|
+
return B1(e) || DM(e, t) || j1(e, t) || $1();
|
|
3342
3410
|
}
|
|
3343
3411
|
function $b(e, t) {
|
|
3344
3412
|
var n = Object.keys(e);
|
|
@@ -3361,15 +3429,15 @@ function Yg(e) {
|
|
|
3361
3429
|
}
|
|
3362
3430
|
return e;
|
|
3363
3431
|
}
|
|
3364
|
-
var
|
|
3432
|
+
var RM = function(t, n) {
|
|
3365
3433
|
var r = hn();
|
|
3366
3434
|
return Dt(function() {
|
|
3367
3435
|
r.current = n ? r.current : t;
|
|
3368
3436
|
}, [t, n]), r.current;
|
|
3369
3437
|
};
|
|
3370
|
-
function
|
|
3371
|
-
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 ||
|
|
3372
|
-
if (s && !s.reportNamespaces && (s.reportNamespaces = new
|
|
3438
|
+
function IM(e) {
|
|
3439
|
+
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();
|
|
3440
|
+
if (s && !s.reportNamespaces && (s.reportNamespaces = new OM()), !s) {
|
|
3373
3441
|
Zv("You will need to pass in an i18next instance by using initReactI18next");
|
|
3374
3442
|
var l = function(oe, Fe) {
|
|
3375
3443
|
return typeof Fe == "string" ? Fe : Fe && oa(Fe) === "object" && typeof Fe.defaultValue == "string" ? Fe.defaultValue : Array.isArray(oe) ? oe[oe.length - 1] : oe;
|
|
@@ -3377,17 +3445,17 @@ function RM(e) {
|
|
|
3377
3445
|
return c.t = l, c.i18n = {}, c.ready = !1, c;
|
|
3378
3446
|
}
|
|
3379
3447
|
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.");
|
|
3380
|
-
var d = Yg(Yg(Yg({},
|
|
3448
|
+
var d = Yg(Yg(Yg({}, CM()), s.options.react), t), v = d.useSuspense, p = d.keyPrefix, S = e || o || s.options && s.options.defaultNS;
|
|
3381
3449
|
S = typeof S == "string" ? [S] : S || ["translation"], s.reportNamespaces.addUsedNamespaces && s.reportNamespaces.addUsedNamespaces(S);
|
|
3382
3450
|
var T = (s.isInitialized || s.initializedStoreOnce) && S.every(function(ue) {
|
|
3383
|
-
return
|
|
3451
|
+
return yM(ue, s, d);
|
|
3384
3452
|
});
|
|
3385
3453
|
function P() {
|
|
3386
3454
|
return s.getFixedT(t.lng || null, d.nsMode === "fallback" ? S : S[0], p);
|
|
3387
3455
|
}
|
|
3388
|
-
var R = ln(P), L =
|
|
3456
|
+
var R = ln(P), L = PM(R, 2), I = L[0], U = L[1], W = S.join();
|
|
3389
3457
|
t.lng && (W = "".concat(t.lng).concat(W));
|
|
3390
|
-
var ee =
|
|
3458
|
+
var ee = RM(W), Z = hn(!0);
|
|
3391
3459
|
Dt(function() {
|
|
3392
3460
|
var ue = d.bindI18n, oe = d.bindI18nStore;
|
|
3393
3461
|
Z.current = !0, !T && !v && (t.lng ? Nb(s, t.lng, S, function() {
|
|
@@ -3421,7 +3489,7 @@ function RM(e) {
|
|
|
3421
3489
|
});
|
|
3422
3490
|
});
|
|
3423
3491
|
}
|
|
3424
|
-
function
|
|
3492
|
+
function AM(e) {
|
|
3425
3493
|
var t = e.i18n, n = e.defaultNS, r = e.children, i = qn(function() {
|
|
3426
3494
|
return {
|
|
3427
3495
|
i18n: t,
|
|
@@ -3432,18 +3500,18 @@ function IM(e) {
|
|
|
3432
3500
|
value: i
|
|
3433
3501
|
}, r);
|
|
3434
3502
|
}
|
|
3435
|
-
var nT = [],
|
|
3436
|
-
function
|
|
3437
|
-
return
|
|
3503
|
+
var nT = [], MM = nT.forEach, LM = nT.slice;
|
|
3504
|
+
function FM(e) {
|
|
3505
|
+
return MM.call(LM.call(arguments, 1), function(t) {
|
|
3438
3506
|
if (t)
|
|
3439
3507
|
for (var n in t)
|
|
3440
3508
|
e[n] === void 0 && (e[n] = t[n]);
|
|
3441
3509
|
}), e;
|
|
3442
3510
|
}
|
|
3443
|
-
function
|
|
3511
|
+
function NM(e) {
|
|
3444
3512
|
return e ? typeof e == "function" ? new e() : e : null;
|
|
3445
3513
|
}
|
|
3446
|
-
function
|
|
3514
|
+
function BM() {
|
|
3447
3515
|
return {
|
|
3448
3516
|
handleEmptyResourcesAsFailed: !0,
|
|
3449
3517
|
cacheHitMode: "none"
|
|
@@ -3475,8 +3543,8 @@ var rT = /* @__PURE__ */ function() {
|
|
|
3475
3543
|
key: "init",
|
|
3476
3544
|
value: function(n) {
|
|
3477
3545
|
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3478
|
-
this.services = n, this.options =
|
|
3479
|
-
r.backends[l] = r.backends[l] ||
|
|
3546
|
+
this.services = n, this.options = FM(i, this.options || {}, BM()), this.allOptions = o, this.options.backends && this.options.backends.forEach(function(s, l) {
|
|
3547
|
+
r.backends[l] = r.backends[l] || NM(s), r.backends[l].init(n, r.options.backendOptions && r.options.backendOptions[l] || {}, o);
|
|
3480
3548
|
}), this.services && this.options.reloadInterval && setInterval(function() {
|
|
3481
3549
|
return r.reload();
|
|
3482
3550
|
}, this.options.reloadInterval);
|
|
@@ -3568,17 +3636,17 @@ function Qv(e) {
|
|
|
3568
3636
|
function iT() {
|
|
3569
3637
|
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Qv(XMLHttpRequest)) === "object";
|
|
3570
3638
|
}
|
|
3571
|
-
function BM(e) {
|
|
3572
|
-
return !!e && typeof e.then == "function";
|
|
3573
|
-
}
|
|
3574
3639
|
function jM(e) {
|
|
3575
|
-
return
|
|
3640
|
+
return !!e && typeof e.then == "function";
|
|
3576
3641
|
}
|
|
3577
3642
|
function $M(e) {
|
|
3643
|
+
return jM(e) ? e : Promise.resolve(e);
|
|
3644
|
+
}
|
|
3645
|
+
function VM(e) {
|
|
3578
3646
|
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.');
|
|
3579
3647
|
}
|
|
3580
3648
|
var em = { exports: {} }, Eh = { exports: {} }, Hb;
|
|
3581
|
-
function
|
|
3649
|
+
function HM() {
|
|
3582
3650
|
return Hb || (Hb = 1, function(e, t) {
|
|
3583
3651
|
var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof zi < "u" && zi, r = function() {
|
|
3584
3652
|
function o() {
|
|
@@ -3895,8 +3963,8 @@ function VM() {
|
|
|
3895
3963
|
}
|
|
3896
3964
|
(function(e, t) {
|
|
3897
3965
|
var n;
|
|
3898
|
-
if (typeof fetch == "function" && (typeof zi < "u" && zi.fetch ? n = zi.fetch : typeof window < "u" && window.fetch ? n = window.fetch : n = fetch), typeof
|
|
3899
|
-
var r = n ||
|
|
3966
|
+
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") {
|
|
3967
|
+
var r = n || HM();
|
|
3900
3968
|
r.default && (r = r.default), t.default = r, e.exports = t.default;
|
|
3901
3969
|
}
|
|
3902
3970
|
})(em, em.exports);
|
|
@@ -3919,21 +3987,21 @@ function zb(e) {
|
|
|
3919
3987
|
for (var t = 1; t < arguments.length; t++) {
|
|
3920
3988
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3921
3989
|
t % 2 ? Wb(Object(n), !0).forEach(function(r) {
|
|
3922
|
-
|
|
3990
|
+
UM(e, r, n[r]);
|
|
3923
3991
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wb(Object(n)).forEach(function(r) {
|
|
3924
3992
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
3925
3993
|
});
|
|
3926
3994
|
}
|
|
3927
3995
|
return e;
|
|
3928
3996
|
}
|
|
3929
|
-
function
|
|
3930
|
-
return (t =
|
|
3997
|
+
function UM(e, t, n) {
|
|
3998
|
+
return (t = WM(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3931
3999
|
}
|
|
3932
|
-
function
|
|
3933
|
-
var t =
|
|
4000
|
+
function WM(e) {
|
|
4001
|
+
var t = zM(e, "string");
|
|
3934
4002
|
return $c(t) == "symbol" ? t : t + "";
|
|
3935
4003
|
}
|
|
3936
|
-
function
|
|
4004
|
+
function zM(e, t) {
|
|
3937
4005
|
if ($c(e) != "object" || !e)
|
|
3938
4006
|
return e;
|
|
3939
4007
|
var n = e[Symbol.toPrimitive];
|
|
@@ -3992,7 +4060,7 @@ var tm = function(t, n) {
|
|
|
3992
4060
|
}
|
|
3993
4061
|
}
|
|
3994
4062
|
typeof fetch == "function" ? fetch(t, n).then(o).catch(r) : Ll(t, n).then(o).catch(r);
|
|
3995
|
-
}, Gb = !1,
|
|
4063
|
+
}, Gb = !1, YM = function(t, n, r, i) {
|
|
3996
4064
|
t.queryStringParams && (n = tm(n, t.queryStringParams));
|
|
3997
4065
|
var o = zb({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders);
|
|
3998
4066
|
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");
|
|
@@ -4014,7 +4082,7 @@ var tm = function(t, n) {
|
|
|
4014
4082
|
i(v);
|
|
4015
4083
|
}
|
|
4016
4084
|
}
|
|
4017
|
-
},
|
|
4085
|
+
}, GM = function(t, n, r, i) {
|
|
4018
4086
|
r && $c(r) === "object" && (r = tm("", r).slice(1)), t.queryStringParams && (n = tm(n, t.queryStringParams));
|
|
4019
4087
|
try {
|
|
4020
4088
|
var o;
|
|
@@ -4032,12 +4100,12 @@ var tm = function(t, n) {
|
|
|
4032
4100
|
} catch (c) {
|
|
4033
4101
|
console && console.log(c);
|
|
4034
4102
|
}
|
|
4035
|
-
},
|
|
4103
|
+
}, qM = function(t, n, r, i) {
|
|
4036
4104
|
if (typeof r == "function" && (i = r, r = void 0), i = i || function() {
|
|
4037
4105
|
}, Ll && n.indexOf("file:") !== 0)
|
|
4038
|
-
return zM(t, n, r, i);
|
|
4039
|
-
if (iT() || typeof ActiveXObject == "function")
|
|
4040
4106
|
return YM(t, n, r, i);
|
|
4107
|
+
if (iT() || typeof ActiveXObject == "function")
|
|
4108
|
+
return GM(t, n, r, i);
|
|
4041
4109
|
i(new Error("No fetch and no xhr implementation found!"));
|
|
4042
4110
|
};
|
|
4043
4111
|
function jf(e) {
|
|
@@ -4069,7 +4137,7 @@ function Gg(e) {
|
|
|
4069
4137
|
}
|
|
4070
4138
|
return e;
|
|
4071
4139
|
}
|
|
4072
|
-
function
|
|
4140
|
+
function XM(e, t) {
|
|
4073
4141
|
if (!(e instanceof t))
|
|
4074
4142
|
throw new TypeError("Cannot call a class as a function");
|
|
4075
4143
|
}
|
|
@@ -4079,17 +4147,17 @@ function Xb(e, t) {
|
|
|
4079
4147
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, lT(r.key), r);
|
|
4080
4148
|
}
|
|
4081
4149
|
}
|
|
4082
|
-
function
|
|
4150
|
+
function KM(e, t, n) {
|
|
4083
4151
|
return t && Xb(e.prototype, t), n && Xb(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
4084
4152
|
}
|
|
4085
4153
|
function sT(e, t, n) {
|
|
4086
4154
|
return (t = lT(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
4087
4155
|
}
|
|
4088
4156
|
function lT(e) {
|
|
4089
|
-
var t =
|
|
4157
|
+
var t = ZM(e, "string");
|
|
4090
4158
|
return jf(t) == "symbol" ? t : t + "";
|
|
4091
4159
|
}
|
|
4092
|
-
function
|
|
4160
|
+
function ZM(e, t) {
|
|
4093
4161
|
if (jf(e) != "object" || !e)
|
|
4094
4162
|
return e;
|
|
4095
4163
|
var n = e[Symbol.toPrimitive];
|
|
@@ -4101,7 +4169,7 @@ function KM(e, t) {
|
|
|
4101
4169
|
}
|
|
4102
4170
|
return (t === "string" ? String : Number)(e);
|
|
4103
4171
|
}
|
|
4104
|
-
var
|
|
4172
|
+
var JM = function() {
|
|
4105
4173
|
return {
|
|
4106
4174
|
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
4107
4175
|
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
@@ -4114,7 +4182,7 @@ var ZM = function() {
|
|
|
4114
4182
|
},
|
|
4115
4183
|
parseLoadPayload: function(n, r) {
|
|
4116
4184
|
},
|
|
4117
|
-
request:
|
|
4185
|
+
request: qM,
|
|
4118
4186
|
reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3,
|
|
4119
4187
|
customHeaders: {},
|
|
4120
4188
|
queryStringParams: {},
|
|
@@ -4130,13 +4198,13 @@ var ZM = function() {
|
|
|
4130
4198
|
}, uT = function() {
|
|
4131
4199
|
function e(t) {
|
|
4132
4200
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4133
|
-
|
|
4201
|
+
XM(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r);
|
|
4134
4202
|
}
|
|
4135
|
-
return
|
|
4203
|
+
return KM(e, [{
|
|
4136
4204
|
key: "init",
|
|
4137
4205
|
value: function(n) {
|
|
4138
4206
|
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4139
|
-
if (this.services = n, this.options = Gg(Gg(Gg({},
|
|
4207
|
+
if (this.services = n, this.options = Gg(Gg(Gg({}, JM()), this.options || {}), i), this.allOptions = o, this.services && this.options.reloadInterval) {
|
|
4140
4208
|
var s = setInterval(function() {
|
|
4141
4209
|
return r.reload();
|
|
4142
4210
|
}, this.options.reloadInterval);
|
|
@@ -4157,7 +4225,7 @@ var ZM = function() {
|
|
|
4157
4225
|
key: "_readAny",
|
|
4158
4226
|
value: function(n, r, i, o, s) {
|
|
4159
4227
|
var l = this, c = this.options.loadPath;
|
|
4160
|
-
typeof this.options.loadPath == "function" && (c = this.options.loadPath(n, i)), c =
|
|
4228
|
+
typeof this.options.loadPath == "function" && (c = this.options.loadPath(n, i)), c = $M(c), c.then(function(d) {
|
|
4161
4229
|
if (!d)
|
|
4162
4230
|
return s(null, {});
|
|
4163
4231
|
var v = l.services.interpolator.interpolate(d, {
|
|
@@ -4242,16 +4310,16 @@ var ZM = function() {
|
|
|
4242
4310
|
}();
|
|
4243
4311
|
uT.type = "backend";
|
|
4244
4312
|
var cT = /* @__PURE__ */ ((e) => (e.en = "en", e.de = "de", e))(cT || {});
|
|
4245
|
-
const
|
|
4313
|
+
const QM = {
|
|
4246
4314
|
en: "English",
|
|
4247
4315
|
de: "German"
|
|
4248
4316
|
};
|
|
4249
|
-
hi.use(rT).use(
|
|
4317
|
+
hi.use(rT).use(_M).use(Z1).init({
|
|
4250
4318
|
// defaultNS: "translation",
|
|
4251
4319
|
// resources,
|
|
4252
4320
|
initImmediate: !0,
|
|
4253
4321
|
ns: ["translation"],
|
|
4254
|
-
fallbackLng: Object.keys(
|
|
4322
|
+
fallbackLng: Object.keys(QM),
|
|
4255
4323
|
fallbackNS: "translation",
|
|
4256
4324
|
partialBundledLanguages: !0,
|
|
4257
4325
|
resources: {},
|
|
@@ -4276,83 +4344,7 @@ hi.use(rT).use(kM).use(Z1).init({
|
|
|
4276
4344
|
]
|
|
4277
4345
|
}
|
|
4278
4346
|
});
|
|
4279
|
-
|
|
4280
|
-
const t = M1(), n = qn(
|
|
4281
|
-
() => e.axiosInstance || Ys,
|
|
4282
|
-
[e.axiosInstance]
|
|
4283
|
-
);
|
|
4284
|
-
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
4285
|
-
const r = ny({
|
|
4286
|
-
queryKey: ["user"],
|
|
4287
|
-
refetchOnWindowFocus: !1,
|
|
4288
|
-
retry: !1,
|
|
4289
|
-
queryFn: () => n.get(e.baseUrl + "/user-management/api/v1/users/my-account").then((i) => (window.user = i.data, i.data))
|
|
4290
|
-
});
|
|
4291
|
-
return Dt(() => {
|
|
4292
|
-
window.onpageshow = function(i) {
|
|
4293
|
-
i.persisted && t.invalidateQueries(["user"]);
|
|
4294
|
-
};
|
|
4295
|
-
}, [t]), r;
|
|
4296
|
-
}, eL = (e) => {
|
|
4297
|
-
const t = M1(), n = qn(
|
|
4298
|
-
() => e.axiosInstance || Ys,
|
|
4299
|
-
[e.axiosInstance]
|
|
4300
|
-
);
|
|
4301
|
-
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
4302
|
-
const r = ny({
|
|
4303
|
-
queryKey: ["user-permissions"],
|
|
4304
|
-
refetchOnWindowFocus: !1,
|
|
4305
|
-
retry: !1,
|
|
4306
|
-
queryFn: () => n.get(
|
|
4307
|
-
e.baseUrl + "/user-management/api/v1/users/my-account/permissions"
|
|
4308
|
-
).then((i) => i.data)
|
|
4309
|
-
});
|
|
4310
|
-
return Dt(() => {
|
|
4311
|
-
window.onpageshow = function(i) {
|
|
4312
|
-
i.persisted && t.invalidateQueries(["user-permissions"]);
|
|
4313
|
-
};
|
|
4314
|
-
}, [t]), r;
|
|
4315
|
-
}, fT = gr({}), DY = (e) => {
|
|
4316
|
-
const { children: t, baseUrl: n, axiosInstance: r } = e, i = new URL(n).origin, o = QM({ axiosInstance: r, baseUrl: n }), s = eL({
|
|
4317
|
-
axiosInstance: r,
|
|
4318
|
-
baseUrl: n
|
|
4319
|
-
});
|
|
4320
|
-
function l() {
|
|
4321
|
-
window.location.href = `${i}/authentication/login`;
|
|
4322
|
-
}
|
|
4323
|
-
function c() {
|
|
4324
|
-
window.location.href = `${i}/authentication/logout`;
|
|
4325
|
-
}
|
|
4326
|
-
return o != null && o.isFetching ? /* @__PURE__ */ Qe(
|
|
4327
|
-
ZI,
|
|
4328
|
-
{
|
|
4329
|
-
container: !0,
|
|
4330
|
-
justifyContent: "center",
|
|
4331
|
-
alignItems: "center",
|
|
4332
|
-
sx: { minHeight: "100vh" },
|
|
4333
|
-
children: /* @__PURE__ */ Qe(JI, {})
|
|
4334
|
-
}
|
|
4335
|
-
) : /* @__PURE__ */ Qe(
|
|
4336
|
-
fT.Provider,
|
|
4337
|
-
{
|
|
4338
|
-
value: {
|
|
4339
|
-
user: o == null ? void 0 : o.data,
|
|
4340
|
-
login: l,
|
|
4341
|
-
logout: c,
|
|
4342
|
-
isFetching: o.isFetching,
|
|
4343
|
-
permissions: s == null ? void 0 : s.data
|
|
4344
|
-
},
|
|
4345
|
-
children: t
|
|
4346
|
-
}
|
|
4347
|
-
);
|
|
4348
|
-
}, PY = () => nn(fT);
|
|
4349
|
-
function RY(e, t, n) {
|
|
4350
|
-
return n.some((r) => {
|
|
4351
|
-
const i = e[r];
|
|
4352
|
-
return String(i).toLowerCase().includes(t.toLowerCase());
|
|
4353
|
-
});
|
|
4354
|
-
}
|
|
4355
|
-
function tL() {
|
|
4347
|
+
function eL() {
|
|
4356
4348
|
const [e, t] = ln();
|
|
4357
4349
|
return Dt(() => {
|
|
4358
4350
|
const n = localStorage.getItem("language");
|
|
@@ -4362,10 +4354,17 @@ function tL() {
|
|
|
4362
4354
|
setLanguage: t
|
|
4363
4355
|
};
|
|
4364
4356
|
}
|
|
4365
|
-
const
|
|
4366
|
-
const t =
|
|
4367
|
-
return /* @__PURE__ */ Qe(
|
|
4368
|
-
};
|
|
4357
|
+
const fT = gr({}), IY = () => nn(fT), AY = hi, MY = U1, LY = () => IM(), FY = ({ children: e }) => {
|
|
4358
|
+
const t = eL();
|
|
4359
|
+
return /* @__PURE__ */ Qe(fT.Provider, { value: t, children: /* @__PURE__ */ Qe(AM, { i18n: hi, children: e }) });
|
|
4360
|
+
}, 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}
|
|
4361
|
+
`;
|
|
4362
|
+
function dT({ children: e, styles: t = [], ...n }) {
|
|
4363
|
+
return /* @__PURE__ */ Di("div", { ...n, children: [
|
|
4364
|
+
[tL, ...t].map((r, i) => /* @__PURE__ */ Qe("style", { type: "text/css", children: r }, i)),
|
|
4365
|
+
e
|
|
4366
|
+
] });
|
|
4367
|
+
}
|
|
4369
4368
|
function nL(e) {
|
|
4370
4369
|
var t = typeof e;
|
|
4371
4370
|
return e != null && (t == "object" || t == "function");
|
|
@@ -29009,7 +29008,7 @@ function WY(e) {
|
|
|
29009
29008
|
"div",
|
|
29010
29009
|
{
|
|
29011
29010
|
className: `favorite-bar ${t ? "favorite-bar--visible" : "favorite-bar--hidden"}`,
|
|
29012
|
-
children: /* @__PURE__ */ Qe(E_.div, { children: /* @__PURE__ */ Qe(
|
|
29011
|
+
children: /* @__PURE__ */ Qe(E_.div, { children: /* @__PURE__ */ Qe(dT, { styles: [CT, O4, z4], children: /* @__PURE__ */ Qe(q4, { ...e }) }) })
|
|
29013
29012
|
}
|
|
29014
29013
|
)
|
|
29015
29014
|
] });
|
|
@@ -29573,7 +29572,7 @@ function P_(e) {
|
|
|
29573
29572
|
}
|
|
29574
29573
|
function zY(e) {
|
|
29575
29574
|
return /* @__PURE__ */ Qe(E_.div, { children: /* @__PURE__ */ Qe(
|
|
29576
|
-
|
|
29575
|
+
dT,
|
|
29577
29576
|
{
|
|
29578
29577
|
styles: [CT, t6, r6],
|
|
29579
29578
|
style: { position: "sticky", zIndex: 1300 },
|
|
@@ -40575,59 +40574,59 @@ const QY = {
|
|
|
40575
40574
|
};
|
|
40576
40575
|
export {
|
|
40577
40576
|
ZA as $,
|
|
40578
|
-
|
|
40579
|
-
|
|
40577
|
+
JY as A,
|
|
40578
|
+
jY as B,
|
|
40580
40579
|
$A as C,
|
|
40581
40580
|
XY as D,
|
|
40582
|
-
|
|
40583
|
-
|
|
40581
|
+
QY as E,
|
|
40582
|
+
PT as F,
|
|
40584
40583
|
zY as G,
|
|
40585
|
-
|
|
40584
|
+
BY as H,
|
|
40586
40585
|
qY as I,
|
|
40587
|
-
|
|
40588
|
-
|
|
40586
|
+
WY as J,
|
|
40587
|
+
k_ as K,
|
|
40589
40588
|
cT as L,
|
|
40590
|
-
|
|
40591
|
-
|
|
40592
|
-
|
|
40589
|
+
S4 as M,
|
|
40590
|
+
G1 as N,
|
|
40591
|
+
_Y as O,
|
|
40593
40592
|
ds as P,
|
|
40594
40593
|
NY as Q,
|
|
40595
|
-
|
|
40596
|
-
|
|
40597
|
-
|
|
40598
|
-
|
|
40599
|
-
|
|
40600
|
-
|
|
40601
|
-
|
|
40594
|
+
FA as R,
|
|
40595
|
+
dT as S,
|
|
40596
|
+
NA as T,
|
|
40597
|
+
BA as U,
|
|
40598
|
+
jA as V,
|
|
40599
|
+
TY as W,
|
|
40600
|
+
AY as X,
|
|
40602
40601
|
LY as Y,
|
|
40603
40602
|
FY as Z,
|
|
40604
40603
|
qd as _,
|
|
40605
40604
|
Ys as a,
|
|
40606
40605
|
QA as a0,
|
|
40607
40606
|
kY as a1,
|
|
40608
|
-
|
|
40607
|
+
OY as b,
|
|
40609
40608
|
Pi as c,
|
|
40610
40609
|
CY as d,
|
|
40611
40610
|
rA as e,
|
|
40612
40611
|
zi as f,
|
|
40613
40612
|
EY as g,
|
|
40614
|
-
|
|
40615
|
-
|
|
40613
|
+
IM as h,
|
|
40614
|
+
RY as i,
|
|
40616
40615
|
UY as j,
|
|
40617
40616
|
J1 as k,
|
|
40618
40617
|
_u as l,
|
|
40619
40618
|
X5 as m,
|
|
40620
40619
|
Pu as n,
|
|
40621
|
-
|
|
40620
|
+
PY as o,
|
|
40622
40621
|
Wp as p,
|
|
40623
40622
|
p_ as q,
|
|
40624
40623
|
GY as r,
|
|
40625
40624
|
YY as s,
|
|
40626
|
-
|
|
40625
|
+
MY as t,
|
|
40627
40626
|
IY as u,
|
|
40628
|
-
|
|
40629
|
-
|
|
40630
|
-
|
|
40631
|
-
|
|
40632
|
-
|
|
40627
|
+
DY as v,
|
|
40628
|
+
u6 as w,
|
|
40629
|
+
KY as x,
|
|
40630
|
+
D8 as y,
|
|
40631
|
+
ZY as z
|
|
40633
40632
|
};
|